rem
stringlengths 1
53.3k
| add
stringlengths 0
80.5k
| context
stringlengths 6
326k
| meta
stringlengths 141
403
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
public org.quickfix.field.LegStateOrProvinceOfIssue getLegStateOrProvinceOfIssue() throws FieldNotFound { org.quickfix.field.LegStateOrProvinceOfIssue value = new org.quickfix.field.LegStateOrProvinceOfIssue();
|
public quickfix.field.LegStateOrProvinceOfIssue getLegStateOrProvinceOfIssue() throws FieldNotFound { quickfix.field.LegStateOrProvinceOfIssue value = new quickfix.field.LegStateOrProvinceOfIssue();
|
public org.quickfix.field.LegStateOrProvinceOfIssue getLegStateOrProvinceOfIssue() throws FieldNotFound { org.quickfix.field.LegStateOrProvinceOfIssue value = new org.quickfix.field.LegStateOrProvinceOfIssue(); getField(value); return value; }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/PositionMaintenanceReport.java/buggy/src/java/src/quickfix/fix44/PositionMaintenanceReport.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
1119,
1162,
626,
90,
2410,
951,
12956,
336,
8329,
1119,
1162,
626,
90,
2410,
951,
12956,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
1119,
1162,
626,
90,
2410,
951,
12956,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
1119,
1162,
626,
90,
2410,
951,
12956,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
1119,
1162,
626,
90,
2410,
951,
12956,
336,
8329,
1119,
1162,
626,
90,
2410,
951,
12956,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
1119,
1162,
626,
90,
2410,
951,
12956,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
1119,
1162,
626,
90,
2410,
951,
12956,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
int n=0;
|
int n=0;
|
public int numberOfEstablishedLinks() { int n=0; for(int i=0; i < links.size(); i++) { if(((Link)links.elementAt(i)).established()) n++; } return n; }
|
48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/5ad015d9a78e1da3350d9b398b46b2f5d4508564/LogicalLink.java/buggy/src/org/jgroups/blocks/LogicalLink.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
7922,
9122,
9237,
5992,
7100,
1435,
288,
202,
474,
290,
33,
20,
31,
202,
1884,
12,
474,
277,
33,
20,
31,
277,
411,
4716,
18,
1467,
5621,
277,
27245,
288,
202,
565,
309,
12443,
12,
2098,
13,
7135,
18,
2956,
861,
12,
77,
13,
2934,
395,
9237,
5992,
10756,
202,
202,
82,
9904,
31,
202,
97,
202,
2463,
290,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
7922,
9122,
9237,
5992,
7100,
1435,
288,
202,
474,
290,
33,
20,
31,
202,
1884,
12,
474,
277,
33,
20,
31,
277,
411,
4716,
18,
1467,
5621,
277,
27245,
288,
202,
565,
309,
12443,
12,
2098,
13,
7135,
18,
2956,
861,
12,
77,
13,
2934,
395,
9237,
5992,
10756,
202,
202,
82,
9904,
31,
202,
97,
202,
2463,
290,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
OPT_Operand offset = ALoad.getClearIndex(s);
|
OPT_Operand index = ALoad.getClearIndex(s); OPT_Operand offset;
|
public static void doArrayLoad (OPT_Instruction s, OPT_IR ir, OPT_Operator op, int logwidth) { if (LOWER_ARRAY_ACCESS) { OPT_RegisterOperand result = ALoad.getClearResult(s); OPT_Operand array = ALoad.getClearArray(s); OPT_Operand offset = ALoad.getClearIndex(s); OPT_LocationOperand loc = ALoad.getClearLocation(s); if (logwidth != 0) { if (offset instanceof OPT_IntConstantOperand) // constant propagation offset = IC(((OPT_IntConstantOperand)offset).value << logwidth); else offset = InsertBinary(s, ir, INT_SHL, VM_TypeReference.Int, offset, IC(logwidth)); } Load.mutate(s, op, result, array, offset, loc, ALoad.getClearGuard(s)); } }
|
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/3a1409586ed0fc007c4120f3a96d6f7a1ae3593c/OPT_ConvertToLowLevelIR.java/buggy/rvm/src/vm/compilers/optimizing/ir/conversions/hir2lir/OPT_ConvertToLowLevelIR.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
741,
1076,
2563,
261,
15620,
67,
11983,
272,
16,
16456,
67,
7937,
9482,
16,
18701,
16456,
67,
5592,
1061,
16,
18701,
509,
613,
2819,
13,
288,
565,
309,
261,
23085,
67,
8552,
67,
13204,
13,
288,
1377,
16456,
67,
3996,
10265,
563,
273,
432,
2563,
18,
588,
9094,
1253,
12,
87,
1769,
1377,
16456,
67,
10265,
526,
273,
432,
2563,
18,
588,
9094,
1076,
12,
87,
1769,
1377,
16456,
67,
10265,
770,
273,
432,
2563,
18,
588,
9094,
1016,
12,
87,
1769,
16456,
67,
10265,
1384,
31,
1377,
16456,
67,
2735,
10265,
1515,
273,
432,
2563,
18,
588,
9094,
2735,
12,
87,
1769,
1377,
309,
261,
1330,
2819,
480,
374,
13,
288,
3639,
309,
261,
3348,
1276,
16456,
67,
1702,
6902,
10265,
13,
225,
368,
5381,
25686,
1850,
1384,
273,
26899,
12443,
12,
15620,
67,
1702,
6902,
10265,
13,
3348,
2934,
1132,
2296,
613,
2819,
1769,
540,
469,
6647,
1384,
273,
8040,
5905,
12,
87,
16,
9482,
16,
6137,
67,
2664,
48,
16,
8251,
67,
7534,
18,
1702,
16,
1384,
16,
4766,
26899,
12,
1330,
2819,
10019,
1377,
289,
1377,
4444,
18,
10735,
340,
12,
87,
16,
1061,
16,
563,
16,
526,
16,
1384,
16,
1515,
16,
432,
2563,
18,
588,
9094,
16709,
12,
87,
10019,
565,
289,
225,
289,
2,
0,
0,
0,
0,
0,
0,
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16456,
67,
3996,
10265,
563,
273,
432,
2563,
18,
588,
9094,
1253,
12,
87,
1769,
1377,
16456,
67,
10265,
526,
273,
432,
2563,
18,
588,
9094,
1076,
12,
87,
1769,
1377,
16456,
67,
10265,
770,
273,
432,
2563,
18,
588,
9094,
1016,
12,
87,
1769,
16456,
67,
10265,
1384,
31,
1377,
16456,
67,
2735,
10265,
1515,
273,
432,
2563,
18,
588,
9094,
2735,
12,
87,
1769,
1377,
309,
261,
1330,
2819,
480,
374,
13,
288,
3639,
309,
261,
2
] |
setOnmouseout((String) evalAttr("onmouseout", getOnmouseout(),
|
setOnmouseout((String) evalAttr("onmouseout", getOnmouseoutExpr(),
|
private void evaluateExpressions() throws JspException { try { setAccesskey((String) evalAttr("accessKey", getAccesskey(), String.class)); } catch (NullAttributeException ex) { setAccesskey(null); } try { setAlt((String) evalAttr("alt", getAlt(), String.class)); } catch (NullAttributeException ex) { setAlt(null); } try { setAltKey((String) evalAttr("altKey", getAltKey(), String.class)); } catch (NullAttributeException ex) { setAltKey(null); } try { setCols((String) evalAttr("cols", getCols(), String.class)); } catch (NullAttributeException ex) { setCols(null); } try { setDisabled(((Boolean) evalAttr("disabled", getDisabledExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setDisabled(false); } try { setIndexed(((Boolean) evalAttr("indexed", getIndexedExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setIndexed(false); } try { setName((String) evalAttr("name", getName(), String.class)); } catch (NullAttributeException ex) { setName(null); } try { setOnblur((String) evalAttr("onblur", getOnblur(), String.class)); } catch (NullAttributeException ex) { setOnblur(null); } try { setOnchange((String) evalAttr("onchange", getOnchange(), String.class)); } catch (NullAttributeException ex) { setOnchange(null); } try { setOnclick((String) evalAttr("onclick", getOnclick(), String.class)); } catch (NullAttributeException ex) { setOnclick(null); } try { setOndblclick((String) evalAttr("ondblclick", getOndblclick(), String.class)); } catch (NullAttributeException ex) { setOndblclick(null); } try { setOnfocus((String) evalAttr("onfocus", getOnfocus(), String.class)); } catch (NullAttributeException ex) { setOnfocus(null); } try { setOnkeydown((String) evalAttr("onkeydown", getOnkeydown(), String.class)); } catch (NullAttributeException ex) { setOnkeydown(null); } try { setOnkeypress((String) evalAttr("onkeypress", getOnkeypress(), String.class)); } catch (NullAttributeException ex) { setOnkeypress(null); } try { setOnkeyup((String) evalAttr("onkeyup", getOnkeyup(), String.class)); } catch (NullAttributeException ex) { setOnkeyup(null); } try { setOnmousedown((String) evalAttr("onmousedown", getOnmousedown(), String.class)); } catch (NullAttributeException ex) { setOnmousedown(null); } try { setOnmousemove((String) evalAttr("onmousemove", getOnmousemove(), String.class)); } catch (NullAttributeException ex) { setOnmousemove(null); } try { setOnmouseout((String) evalAttr("onmouseout", getOnmouseout(), String.class)); } catch (NullAttributeException ex) { setOnmouseout(null); } try { setOnmouseover((String) evalAttr("onmouseover", getOnmouseover(), String.class)); } catch (NullAttributeException ex) { setOnmouseover(null); } try { setOnmouseup((String) evalAttr("onmouseup", getOnmouseup(), String.class)); } catch (NullAttributeException ex) { setOnmouseup(null); } try { setProperty((String) evalAttr("property", getProperty(), String.class)); } catch (NullAttributeException ex) { setProperty(null); } try { setReadonly(((Boolean) evalAttr("readonly", getReadonlyExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setReadonly(false); } try { setRows((String) evalAttr("rows", getRows(), String.class)); } catch (NullAttributeException ex) { setRows(null); } try { setStyle((String) evalAttr("style", getStyle(), String.class)); } catch (NullAttributeException ex) { setStyle(null); } try { setSize((String) evalAttr("size", getSize(), String.class)); } catch (NullAttributeException ex) { setSize(null); } try { setStyleClass((String) evalAttr("styleClass", getStyleClass(), String.class)); } catch (NullAttributeException ex) { setStyleClass(null); } try { setStyleId((String) evalAttr("styleId", getStyleId(), String.class)); } catch (NullAttributeException ex) { setStyleId(null); } try { setTabindex((String) evalAttr("tabindex", getTabindex(), String.class)); } catch (NullAttributeException ex) { setTabindex(null); } try { setTitle((String) evalAttr("title", getTitle(), String.class)); } catch (NullAttributeException ex) { setTitle(null); } try { setTitleKey((String) evalAttr("titleKey", getTitleKey(), String.class)); } catch (NullAttributeException ex) { setTitleKey(null); } try { setValue((String) evalAttr("value", getValue(), String.class)); } catch (NullAttributeException ex) { setValue(null); } }
|
8610 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8610/2dbb705eab3659c5c2ceb6398f2eec56e1f6994d/ELTextareaTag.java/clean/struts-el/src/share/org/apache/strutsel/taglib/html/ELTextareaTag.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
1862,
856,
12443,
780,
13,
5302,
3843,
2932,
3860,
653,
3113,
21909,
856,
9334,
4766,
6647,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
1862,
856,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
12443,
780,
13,
5302,
3843,
2932,
2390,
3113,
336,
10655,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
10655,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
653,
12443,
780,
13,
5302,
3843,
2932,
2390,
653,
3113,
336,
10655,
653,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
10655,
653,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
8011,
12443,
780,
13,
5302,
3843,
2932,
6842,
3113,
336,
8011,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
8011,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
8853,
12443,
12,
5507,
13,
5302,
3843,
2932,
9278,
3113,
336,
8853,
4742,
9334,
4766,
5411,
3411,
18,
1106,
13,
2934,
13491,
16708,
10663,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
8853,
12,
5743,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
15034,
12443,
12,
5507,
13,
5302,
3843,
2932,
19626,
3113,
8088,
329,
4742,
9334,
4766,
6647,
3411,
18,
1106,
13,
2934,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
1862,
856,
12443,
780,
13,
5302,
3843,
2932,
3860,
653,
3113,
21909,
856,
9334,
4766,
6647,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
1862,
856,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
12443,
780,
13,
5302,
3843,
2932,
2390,
3113,
336,
10655,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
10655,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
653,
12443,
780,
13,
5302,
3843,
2932,
2390,
653,
3113,
336,
10655,
653,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
2
] |
.getDataSetSchemaName() : action.getSourceTableSchema() .getName();
|
.getDataSetSchemaName() : ((JDBCSchema) action .getSourceTableSchema()).getDatabaseSchema();
|
public void doConcat(Concat action, List statements) { String srcSchemaName = action.getSourceTableSchema() == null ? action .getDataSetSchemaName() : action.getSourceTableSchema() .getName(); String srcTableName = action.getSourceTableName(); List srcTableKeyCols = action.getSourceTableKeyColumns(); String trgtSchemaName = action.getTargetTableSchema() == null ? action .getDataSetSchemaName() : action.getTargetTableSchema() .getName(); String trgtTableName = action.getTargetTableName(); String trgtColName = action.getTargetConcatColumnName(); String concatSchemaName = action.getConcatTableSchema() == null ? action .getDataSetSchemaName() : action.getConcatTableSchema().getName(); String concatTableName = action.getConcatTableName(); ConcatRelationType crType = action.getConcatRelationType(); DataSetRelationRestriction relRestriction = action .getRelationRestriction(); DataSetTableRestriction tblRestriction = action .getTargetTableRestriction(); boolean firstIsSource = action.isFirstTableSourceTable(); StringBuffer sb = new StringBuffer(); sb.append("create table " + concatSchemaName + "." + concatTableName + " as select a.*, array_to_string(array(select "); for (Iterator i = action.getTargetTableConcatColumns().iterator(); i .hasNext();) { Column col = (Column) i.next(); sb.append("b."); sb.append(col.getName()); if (i.hasNext()) { sb.append("||'"); sb.append(crType.getValueSeparator()); sb.append("'||"); } } sb.append(" from "); sb.append(trgtSchemaName + "." + trgtTableName); sb.append(" as b where "); for (int i = 0; i < action.getTargetTableKeyColumns().size(); i++) { if (i > 0) sb.append(" and "); String pkColName = ((Column) action.getSourceTableKeyColumns().get( i)).getName(); String fkColName = ((Column) action.getTargetTableKeyColumns().get( i)).getName(); sb.append("a." + pkColName + "=b." + fkColName); } // Do restrictions. if (relRestriction != null) { sb.append(" and "); sb.append(relRestriction.getSubstitutedExpression( firstIsSource ? "a" : "b", firstIsSource ? "b" : "a")); } if (tblRestriction != null) { sb.append(" and "); sb.append(tblRestriction.getSubstitutedExpression("b")); } sb.append("),'"); sb.append(crType.getRecordSeparator()); sb.append("') as "); sb.append(trgtColName); sb.append(" from " + srcSchemaName + "." + srcTableName + " as a "); // Do group-by. sb.append(" group by "); for (Iterator i = srcTableKeyCols.iterator(); i.hasNext();) { Column srcKeyCol = (Column) i.next(); sb.append("a."); sb.append(srcKeyCol.getName()); if (i.hasNext()) sb.append(','); } statements.add(sb.toString()); }
|
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/c99f5719792c1057e153fcfd6a0e8076addad103/PostgreSQLDialect.java/clean/src/java/org/biomart/builder/controller/dialects/PostgreSQLDialect.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
741,
15113,
12,
15113,
1301,
16,
987,
6317,
13,
288,
202,
202,
780,
1705,
3078,
461,
273,
1301,
18,
588,
1830,
1388,
3078,
1435,
422,
446,
692,
1301,
9506,
202,
18,
588,
13676,
3078,
461,
1435,
294,
1301,
18,
588,
1830,
1388,
3078,
1435,
9506,
202,
18,
17994,
5621,
202,
202,
780,
1705,
7147,
273,
1301,
18,
588,
1830,
7147,
5621,
202,
202,
682,
1705,
1388,
653,
8011,
273,
1301,
18,
588,
1830,
1388,
653,
3380,
5621,
202,
202,
780,
433,
4521,
3078,
461,
273,
1301,
18,
588,
2326,
1388,
3078,
1435,
422,
446,
692,
1301,
9506,
202,
18,
588,
13676,
3078,
461,
1435,
294,
1301,
18,
588,
2326,
1388,
3078,
1435,
9506,
202,
18,
17994,
5621,
202,
202,
780,
433,
4521,
7147,
273,
1301,
18,
588,
2326,
7147,
5621,
202,
202,
780,
433,
4521,
31187,
273,
1301,
18,
588,
2326,
15113,
8516,
5621,
202,
202,
780,
3835,
3078,
461,
273,
1301,
18,
588,
15113,
1388,
3078,
1435,
422,
446,
692,
1301,
9506,
202,
18,
588,
13676,
3078,
461,
1435,
9506,
202,
30,
1301,
18,
588,
15113,
1388,
3078,
7675,
17994,
5621,
202,
202,
780,
3835,
7147,
273,
1301,
18,
588,
15113,
7147,
5621,
202,
202,
15113,
3963,
559,
4422,
559,
273,
1301,
18,
588,
15113,
3963,
559,
5621,
202,
202,
13676,
3963,
11670,
1279,
11670,
273,
1301,
9506,
202,
18,
588,
3963,
11670,
5621,
202,
202,
13676,
1388,
11670,
10142,
11670,
273,
1301,
9506,
202,
18,
588,
2326,
1388,
11670,
5621,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
741,
15113,
12,
15113,
1301,
16,
987,
6317,
13,
288,
202,
202,
780,
1705,
3078,
461,
273,
1301,
18,
588,
1830,
1388,
3078,
1435,
422,
446,
692,
1301,
9506,
202,
18,
588,
13676,
3078,
461,
1435,
294,
1301,
18,
588,
1830,
1388,
3078,
1435,
9506,
202,
18,
17994,
5621,
202,
202,
780,
1705,
7147,
273,
1301,
18,
588,
1830,
7147,
5621,
202,
202,
682,
1705,
1388,
653,
8011,
273,
1301,
18,
588,
1830,
1388,
653,
3380,
5621,
202,
202,
780,
433,
4521,
3078,
461,
273,
1301,
18,
588,
2326,
1388,
3078,
1435,
422,
446,
692,
1301,
9506,
202,
18,
588,
13676,
3078,
461,
1435,
294,
1301,
18,
588,
2326,
1388,
3078,
1435,
9506,
202,
18,
2
] |
return this.singleton; }
|
return this.singleton; }
|
public boolean isSingleton() { return this.singleton; }
|
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/buggy/org/jruby/RubyModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
11604,
12551,
1435,
288,
202,
202,
2463,
333,
18,
24487,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
11604,
12551,
1435,
288,
202,
202,
2463,
333,
18,
24487,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
private void analyzeShortcutSpec () { if (!haveShortcutSpec) { shortcutsToCreate = false; return; } XMLElement skipper = spec.getFirstChildNamed(SPEC_KEY_SKIP_IFNOT_SUPPORTED); skipIfNotSupported = (skipper != null); // ---------------------------------------------------- // find out if we should simulate a not supported // scenario // ---------------------------------------------------- XMLElement support = spec.getFirstChildNamed (SPEC_KEY_NOT_SUPPORTED); if (support != null) { simulteNotSupported = true; } // ---------------------------------------------------- // find out in which program group the shortcuts should // be placed and where this program group should be // located // ---------------------------------------------------- XMLElement group = spec.getFirstChildNamed (SPEC_KEY_PROGRAM_GROUP); String location = null; hasDesktopShortcuts = false; if (group != null) { suggestedProgramGroup = group.getAttribute (SPEC_ATTRIBUTE_DEFAULT_GROUP, ""); location = group.getAttribute (SPEC_ATTRIBUTE_LOCATION, SPEC_VALUE_APPLICATIONS); } else { suggestedProgramGroup = ""; location = SPEC_VALUE_APPLICATIONS; } if (location.equals (SPEC_VALUE_APPLICATIONS)) { groupLocation = Shortcut.APPLICATIONS; } else if (location.equals (SPEC_VALUE_START_MENU)) { groupLocation = Shortcut.START_MENU; } // ---------------------------------------------------- // create a list of all shortcuts that need to be // created, containing all details about each shortcut // ---------------------------------------------------- VariableSubstitutor substitutor = new VariableSubstitutor (idata.getVariables()); String temp; Vector shortcutSpecs = spec.getChildrenNamed (SPEC_KEY_SHORTCUT); XMLElement shortcutSpec; ShortcutData data; for (int i = 0; i < shortcutSpecs.size (); i++) { shortcutSpec = (XMLElement)shortcutSpecs.elementAt (i); data = new ShortcutData (); data.name = shortcutSpec.getAttribute( SPEC_ATTRIBUTE_NAME ); data.subgroup = shortcutSpec.getAttribute( SPEC_ATTRIBUTE_SUBGROUP ); data.description = shortcutSpec.getAttribute( SPEC_ATTRIBUTE_DESCRIPTION, "" ); //** Linux **// data.deskTopEntryLinux_Encoding = shortcutSpec.getAttribute( SPEC_ATTRIBUTE_ENCODING, "" ); data.deskTopEntryLinux_MimeType = shortcutSpec.getAttribute( SPEC_ATTRIBUTE_MIMETYPE, "" ); data.deskTopEntryLinux_Terminal = shortcutSpec.getAttribute( SPEC_ATTRIBUTE_TERMINAL, "" ); data.deskTopEntryLinux_TerminalOptions = shortcutSpec.getAttribute( SPEC_ATTRIBUTE_TERMINAL_OPTIONS, "" ); data.deskTopEntryLinux_Type = shortcutSpec.getAttribute( SPEC_ATTRIBUTE_TYPE, "" ); data.deskTopEntryLinux_URL = substitutor.substitute( shortcutSpec.getAttribute( SPEC_ATTRIBUTE_URL, "" ), null ); data.deskTopEntryLinux_X_KDE_SubstituteUID = shortcutSpec.getAttribute( SPEC_ATTRIBUTE_KDE_SUBST_UID, "" ); //** EndOf LINUX **// temp = fixSeparatorChar( shortcutSpec.getAttribute( SPEC_ATTRIBUTE_TARGET, "" ) ); data.target = substitutor.substitute( temp, null ); temp = shortcutSpec.getAttribute( SPEC_ATTRIBUTE_COMMAND, "" ); data.commandLine = substitutor.substitute( temp, null ); temp = fixSeparatorChar( shortcutSpec.getAttribute( SPEC_ATTRIBUTE_ICON, "" ) ); data.iconFile = substitutor.substitute( temp, null ); data.iconIndex = Integer.parseInt( shortcutSpec.getAttribute( SPEC_ATTRIBUTE_ICON_INDEX, "0" ) ); temp = fixSeparatorChar( shortcutSpec.getAttribute( SPEC_ATTRIBUTE_WORKING_DIR, "" ) ); data.workingDirectory = substitutor.substitute( temp, null ); String initialState = shortcutSpec.getAttribute (SPEC_ATTRIBUTE_INITIAL_STATE, ""); if (initialState.equals (SPEC_VALUE_NO_SHOW)) { data.initialState = Shortcut.HIDE; } else if (initialState.equals (SPEC_VALUE_NORMAL)) { data.initialState = Shortcut.NORMAL; } else if (initialState.equals (SPEC_VALUE_MAXIMIZED)) { data.initialState = Shortcut.MAXIMIZED; } else if (initialState.equals (SPEC_VALUE_MINIMIZED)) { data.initialState = Shortcut.MINIMIZED; } else { data.initialState = Shortcut.NORMAL; } // -------------------------------------------------- // if the minimal data requirements are met to create // the shortcut, create one entry each for each of // the requested types. // Eventually this will cause the creation of one // shortcut in each of the associated locations. // -------------------------------------------------- // without a name we can not create a shortcut if (data.name == null) { continue; } //1. Elmar: "Without a target we can not create a shortcut." //2. Marc: "No, Even on Linux a Link can be an URL and has no target." if( data.target == null ) { continue; } // the shortcut is not actually required for any of the selected packs Vector forPacks = shortcutSpec.getChildrenNamed (SPEC_KEY_PACKS); if (!shortcutRequiredFor (forPacks)) { continue; } // -------------------------------------------------- // This section is executed if we don't skip. // -------------------------------------------------- // For each of the categories set the type and if // the link should be placed in the program group, // then clone the data set to obtain an independent // instance and add this to the list of shortcuts // to be created. In this way, we will set up an // identical copy for each of the locations at which // a shortcut should be placed. Therefore you must // not use 'else if' statements! // -------------------------------------------------- { if (attributeIsTrue (shortcutSpec, SPEC_ATTRIBUTE_DESKTOP)) { hasDesktopShortcuts = true; data.addToGroup = false; data.type = Shortcut.DESKTOP; shortcuts.add (data.clone ()); } if (attributeIsTrue (shortcutSpec, SPEC_ATTRIBUTE_APPLICATIONS)) { data.addToGroup = false; data.type = Shortcut.APPLICATIONS; shortcuts.add (data.clone ()); } if (attributeIsTrue (shortcutSpec, SPEC_ATTRIBUTE_START_MENU)) { data.addToGroup = false; data.type = Shortcut.START_MENU; shortcuts.add (data.clone ()); } if (attributeIsTrue (shortcutSpec, SPEC_ATTRIBUTE_STARTUP)) { data.addToGroup = false; data.type = Shortcut.START_UP; shortcuts.add (data.clone ()); } if (attributeIsTrue (shortcutSpec, SPEC_ATTRIBUTE_PROGRAM_GROUP)) { data.addToGroup = true; data.type = Shortcut.APPLICATIONS; shortcuts.add (data.clone ()); } } } // ---------------------------------------------------- // signal if there are any shortcuts to create // ---------------------------------------------------- if (shortcuts.size () > 0) { shortcutsToCreate = true; } }
|
28044 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28044/df53b17757bee3d8fd6a9cb585cb425bb91e3213/ShortcutPanel.java/clean/src/lib/com/izforge/izpack/panels/ShortcutPanel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
12375,
15576,
1990,
1832,
225,
288,
565,
309,
16051,
21516,
15576,
1990,
13,
565,
288,
1377,
10995,
11634,
1684,
273,
629,
31,
1377,
327,
31,
565,
289,
3639,
1139,
11155,
2488,
457,
273,
857,
18,
588,
3759,
1763,
7604,
12,
13847,
67,
3297,
67,
22589,
67,
5501,
4400,
67,
21134,
1769,
565,
2488,
10288,
7223,
273,
261,
7457,
457,
480,
446,
1769,
3639,
368,
13420,
6062,
565,
368,
1104,
596,
309,
732,
1410,
20089,
279,
486,
3260,
565,
368,
10766,
565,
368,
13420,
6062,
565,
1139,
11155,
2865,
273,
857,
18,
588,
3759,
1763,
7604,
261,
13847,
67,
3297,
67,
4400,
67,
21134,
1769,
565,
309,
261,
13261,
480,
446,
13,
565,
288,
1377,
3142,
406,
73,
16106,
273,
638,
31,
565,
289,
565,
368,
13420,
6062,
565,
368,
1104,
596,
316,
1492,
5402,
1041,
326,
25641,
1410,
565,
368,
506,
15235,
471,
1625,
333,
5402,
1041,
1410,
506,
565,
368,
13801,
565,
368,
13420,
6062,
565,
1139,
11155,
225,
1041,
377,
273,
857,
18,
588,
3759,
1763,
7604,
261,
13847,
67,
3297,
67,
21418,
67,
8468,
1769,
565,
514,
1377,
2117,
225,
273,
446,
31,
565,
711,
27583,
15576,
87,
282,
273,
629,
31,
3639,
309,
261,
1655,
480,
446,
13,
565,
288,
1377,
22168,
9459,
1114,
273,
1041,
18,
588,
1499,
261,
13847,
67,
11616,
67,
5280,
67,
8468,
16,
1408,
1769,
1377,
2117,
2868,
273,
1041,
18,
588,
1499,
261,
13847,
67,
11616,
67,
15277,
16,
22872,
67,
4051,
67,
25039,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
12375,
15576,
1990,
1832,
225,
288,
565,
309,
16051,
21516,
15576,
1990,
13,
565,
288,
1377,
10995,
11634,
1684,
273,
629,
31,
1377,
327,
31,
565,
289,
3639,
1139,
11155,
2488,
457,
273,
857,
18,
588,
3759,
1763,
7604,
12,
13847,
67,
3297,
67,
22589,
67,
5501,
4400,
67,
21134,
1769,
565,
2488,
10288,
7223,
273,
261,
7457,
457,
480,
446,
1769,
3639,
368,
13420,
6062,
565,
368,
1104,
596,
309,
732,
1410,
20089,
279,
486,
3260,
565,
368,
10766,
565,
368,
13420,
6062,
565,
1139,
11155,
2865,
273,
857,
18,
588,
3759,
1763,
7604,
261,
13847,
67,
3297,
67,
4400,
67,
21134,
1769,
565,
309,
261,
13261,
480,
446,
13,
565,
288,
1377,
3142,
406,
2
] |
||
else
|
if ( inPredifinedTemplateFolder( sourceFileName ) )
|
private void doFinish( IPath containerName, String fileName, InputStream stream, IProgressMonitor monitor ) throws CoreException { // create a sample file monitor.beginTask( CREATING + fileName, 2 ); IResource resource = (IContainer) ResourcesPlugin.getWorkspace( ) .getRoot( ).findMember( containerName ); IContainer container = null; if ( resource == null || !resource.exists( ) || !( resource instanceof IContainer ) ) { // create folder if not exist IFolder folder = createFolderHandle( containerName ); UIUtil.createFolder( folder, monitor ); container = folder; } else { container = (IContainer) resource; } final IFile file = container.getFile( new Path( fileName ) ); try { if ( file.exists( ) ) { file.setContents( stream, true, true, monitor ); } else { file.create( stream, true, monitor ); } stream.close( ); } catch ( Exception e ) { } monitor.worked( 1 ); monitor.setTaskName( OPENING_FILE_FOR_EDITING ); getShell( ).getDisplay( ).asyncExec( new Runnable( ) { public void run( ) { IWorkbench workbench = PlatformUI.getWorkbench( ); IWorkbenchWindow window = workbench.getActiveWorkbenchWindow( ); IWorkbenchPage page = window.getActivePage( ); try { IEditorPart editorPart = IDE.openEditor( page, file, true ); ModuleHandle model = SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ); if ( ReportPlugin.getDefault( ) .getEnableCommentPreference( ) ) { model.setStringProperty( ModuleHandle.COMMENTS_PROP, ReportPlugin.getDefault( ) .getCommentPreference( ) ); model.save( ); editorPart.doSave( null ); } // page.openEditor( new FileEditorInput( file ), // LibraryReportEditor.EDITOR_ID, // true ); } catch ( Exception e ) { ExceptionHandler.handle( e ); } } } ); monitor.worked( 1 ); fireLibraryChanged( fileName ); }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/76ebe408a984f02b49cbaf1597c0c7a0213901fe/NewLibraryWizardAdapterFactory.java/buggy/UI/org.eclipse.birt.report.designer.ui.ide/src/org/eclipse/birt/report/designer/internal/ui/ide/adapters/NewLibraryWizardAdapterFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
741,
11641,
12,
467,
743,
20408,
16,
514,
3968,
16,
1082,
202,
4348,
1407,
16,
467,
5491,
7187,
6438,
262,
1216,
30015,
202,
95,
202,
202,
759,
752,
279,
3296,
585,
202,
202,
10259,
18,
10086,
2174,
12,
9666,
28054,
397,
3968,
16,
576,
11272,
202,
202,
45,
1420,
1058,
273,
261,
45,
2170,
13,
8128,
3773,
18,
588,
8241,
12,
262,
9506,
202,
18,
588,
2375,
12,
262,
18,
4720,
4419,
12,
20408,
11272,
202,
202,
45,
2170,
1478,
273,
446,
31,
202,
202,
430,
261,
1058,
422,
446,
747,
401,
3146,
18,
1808,
12,
262,
9506,
202,
20081,
401,
12,
1058,
1276,
467,
2170,
262,
262,
202,
202,
95,
1082,
202,
759,
752,
3009,
309,
486,
1005,
1082,
202,
45,
3899,
3009,
273,
752,
3899,
3259,
12,
20408,
11272,
1082,
202,
5370,
1304,
18,
2640,
3899,
12,
3009,
16,
6438,
11272,
1082,
202,
3782,
273,
3009,
31,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
3782,
273,
261,
45,
2170,
13,
1058,
31,
202,
202,
97,
202,
202,
6385,
467,
812,
585,
273,
1478,
18,
29925,
12,
394,
2666,
12,
3968,
262,
11272,
202,
202,
698,
202,
202,
95,
1082,
202,
430,
261,
585,
18,
1808,
12,
262,
262,
1082,
202,
95,
9506,
202,
768,
18,
542,
6323,
12,
1407,
16,
638,
16,
638,
16,
6438,
11272,
1082,
202,
97,
1082,
202,
12107,
1082,
202,
95,
9506,
202,
768,
18,
2640,
12,
1407,
16,
638,
16,
6438,
11272,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
741,
11641,
12,
467,
743,
20408,
16,
514,
3968,
16,
1082,
202,
4348,
1407,
16,
467,
5491,
7187,
6438,
262,
1216,
30015,
202,
95,
202,
202,
759,
752,
279,
3296,
585,
202,
202,
10259,
18,
10086,
2174,
12,
9666,
28054,
397,
3968,
16,
576,
11272,
202,
202,
45,
1420,
1058,
273,
261,
45,
2170,
13,
8128,
3773,
18,
588,
8241,
12,
262,
9506,
202,
18,
588,
2375,
12,
262,
18,
4720,
4419,
12,
20408,
11272,
202,
202,
45,
2170,
1478,
273,
446,
31,
202,
202,
430,
261,
1058,
422,
446,
747,
401,
3146,
18,
1808,
12,
262,
9506,
202,
20081,
401,
12,
1058,
1276,
467,
2170,
262,
262,
202,
202,
95,
1082,
202,
759,
752,
2
] |
OPT_Operator op = OPT_IRTools.getMoveOp(tempVal1.type, false);
|
OPT_Operator op = OPT_IRTools.getMoveOp(tempVal1.type, ir.IRStage == OPT_IR.LIR);
|
private void doCondMove(OPT_IR ir, OPT_Diamond diamond, OPT_Instruction cb) { OPT_BasicBlock taken = diamond.getTaken(); OPT_BasicBlock notTaken = diamond.getNotTaken(); // for each non-branch instruction s in the diamond, // copy s to a new instruction s' // and store a mapping from s to s' HashMap takenInstructions = new HashMap(); OPT_Instruction[] takenInstructionList = copyAndMapInstructions (taken, takenInstructions); HashMap notTakenInstructions = new HashMap(); OPT_Instruction[] notTakenInstructionList = copyAndMapInstructions(notTaken, notTakenInstructions); // Extract the values and condition from the conditional branch. OPT_Operand val1 = IfCmp.getVal1(cb); OPT_Operand val2 = IfCmp.getVal2(cb); OPT_ConditionOperand cond = IfCmp.getCond(cb); // Copy val1 and val2 to temporaries, just in case they're defined in // the diamond. If they're not defined in the diamond, copy prop // should clean these moves up. OPT_RegisterOperand tempVal1 = ir.regpool.makeTemp(val1); OPT_Operator op = OPT_IRTools.getMoveOp(tempVal1.type, false); cb.insertBefore(Move.create(op,tempVal1.copyRO(),val1.copy())); OPT_RegisterOperand tempVal2 = ir.regpool.makeTemp(val2); op = OPT_IRTools.getMoveOp(tempVal2.type, false); cb.insertBefore(Move.create(op,tempVal2.copyRO(),val2.copy())); // For each instruction in each temporary set, rewrite it to def a new // temporary, and insert it before the branch. rewriteWithTemporaries(takenInstructionList,ir); rewriteWithTemporaries(notTakenInstructionList,ir); insertBefore(takenInstructionList,cb); insertBefore(notTakenInstructionList,cb); // For each register defined in the TAKEN branch, save a mapping to // the corresponding conditional move. HashMap takenMap = new HashMap(); // Now insert conditional moves to replace each instruction in the diamond. // First handle the taken branch. if (taken != null) { for (Enumeration e = taken.forwardRealInstrEnumerator(); e.hasMoreElements();) { OPT_Instruction s = (OPT_Instruction)e.nextElement(); if (s.isBranch()) continue; OPT_Operand def = (OPT_Operand)s.getDefs().nextElement(); // if the register does not span a basic block, it is a temporary // that will now be dead if (def.asRegister().register.spansBasicBlock()) { OPT_Instruction tempS = (OPT_Instruction)takenInstructions.get(s); OPT_RegisterOperand temp = (OPT_RegisterOperand) tempS.getDefs().nextElement(); op = OPT_IRTools.getCondMoveOp(def.asRegister().type, false); OPT_Instruction cmov = CondMove.create(op,def.asRegister() , tempVal1.copy(), tempVal2.copy(), cond.copy().asCondition(), temp.copy(), def.copy()); takenMap.put(def.asRegister().register,cmov); cb.insertBefore(cmov); } s.remove(); } } // For each register defined in the NOT-TAKEN branch, save a mapping to // the corresponding conditional move. HashMap notTakenMap = new HashMap(); // Next handle the not taken branch. if (notTaken != null) { for (Enumeration e = notTaken.forwardRealInstrEnumerator(); e.hasMoreElements();) { OPT_Instruction s = (OPT_Instruction)e.nextElement(); if (s.isBranch()) continue; OPT_Operand def = (OPT_Operand)s.getDefs().nextElement(); // if the register does not span a basic block, it is a temporary // that will now be dead if (def.asRegister().register.spansBasicBlock()) { OPT_Instruction tempS = (OPT_Instruction)notTakenInstructions.get(s); OPT_RegisterOperand temp = (OPT_RegisterOperand) tempS.getDefs().nextElement(); OPT_Instruction prevCmov = (OPT_Instruction)takenMap.get(def.asRegister ().register); if (prevCmov != null) { // if this register was also defined in the taken branch, change // the previous cmov with a different 'False' Value CondMove.setFalseValue(prevCmov, temp.copy()); notTakenMap.put(def.asRegister().register,prevCmov); } else { // create a new cmov instruction op = OPT_IRTools.getCondMoveOp(def.asRegister().type, false); OPT_Instruction cmov = CondMove.create(op,def.asRegister(), tempVal1.copy(), tempVal2.copy(), cond.copy().asCondition(), def.copy(), temp.copy()); cb.insertBefore(cmov); notTakenMap.put(def.asRegister().register,cmov); } } s.remove(); } } // Mutate the conditional branch into a GOTO. OPT_BranchOperand target = diamond.getBottom().makeJumpTarget(); Goto.mutate(cb,GOTO,target); // Delete a potential GOTO after cb. OPT_Instruction next = cb.getNext(); if (next.operator != BBEND) { next.remove(); } // Recompute the CFG. diamond.getTop().recomputeNormalOut(ir); // fix the CFG }
|
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/5cca142ffd897ff85ad5b501a296c9a5f0fe6099/OPT_BranchOptimizations.java/buggy/rvm/src/vm/compilers/optimizing/optimizations/control/OPT_BranchOptimizations.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
741,
12441,
7607,
12,
15620,
67,
7937,
9482,
16,
16456,
67,
14521,
301,
1434,
4314,
301,
1434,
16,
16456,
67,
11983,
2875,
13,
288,
565,
16456,
67,
8252,
1768,
9830,
273,
4314,
301,
1434,
18,
588,
27486,
5621,
565,
16456,
67,
8252,
1768,
486,
27486,
273,
4314,
301,
1434,
18,
588,
1248,
27486,
5621,
565,
368,
364,
1517,
1661,
17,
7500,
7592,
272,
316,
326,
4314,
301,
1434,
16,
377,
368,
1610,
272,
358,
279,
394,
7592,
272,
11,
565,
368,
471,
1707,
279,
2874,
628,
272,
358,
272,
11,
565,
4317,
9830,
26712,
273,
394,
4317,
5621,
565,
16456,
67,
11983,
8526,
9830,
11983,
682,
273,
1610,
1876,
863,
26712,
1377,
261,
29113,
16,
9830,
26712,
1769,
565,
4317,
486,
27486,
26712,
273,
394,
4317,
5621,
565,
16456,
67,
11983,
8526,
486,
27486,
11983,
682,
273,
1377,
1610,
1876,
863,
26712,
12,
902,
27486,
16,
486,
27486,
26712,
1769,
3639,
368,
8152,
326,
924,
471,
2269,
628,
326,
11139,
3803,
18,
565,
16456,
67,
10265,
1244,
21,
273,
971,
31832,
18,
588,
3053,
21,
12,
7358,
1769,
565,
16456,
67,
10265,
1244,
22,
273,
971,
31832,
18,
588,
3053,
22,
12,
7358,
1769,
565,
16456,
67,
3418,
10265,
6941,
273,
971,
31832,
18,
588,
12441,
12,
7358,
1769,
565,
368,
5631,
1244,
21,
471,
1244,
22,
358,
5144,
5646,
16,
2537,
316,
648,
2898,
4565,
2553,
316,
565,
368,
326,
4314,
301,
1434,
18,
225,
971,
2898,
4565,
486,
2553,
316,
326,
4314,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
741,
12441,
7607,
12,
15620,
67,
7937,
9482,
16,
16456,
67,
14521,
301,
1434,
4314,
301,
1434,
16,
16456,
67,
11983,
2875,
13,
288,
565,
16456,
67,
8252,
1768,
9830,
273,
4314,
301,
1434,
18,
588,
27486,
5621,
565,
16456,
67,
8252,
1768,
486,
27486,
273,
4314,
301,
1434,
18,
588,
1248,
27486,
5621,
565,
368,
364,
1517,
1661,
17,
7500,
7592,
272,
316,
326,
4314,
301,
1434,
16,
377,
368,
1610,
272,
358,
279,
394,
7592,
272,
11,
565,
368,
471,
1707,
279,
2874,
628,
272,
358,
272,
11,
565,
4317,
9830,
26712,
273,
394,
4317,
5621,
565,
16456,
67,
11983,
8526,
9830,
11983,
682,
273,
1610,
1876,
863,
26712,
1377,
261,
29113,
16,
9830,
2
] |
public void testTrimStart() throws Exception { TextScript script = new TextScript( " foo " ); script.trimStartWhitespace(); assertEquals( "foo ", script.getText() ); script = new TextScript( " foo " ); script.trimStartWhitespace(); assertEquals( "foo ", script.getText() ); script = new TextScript( "foo" ); script.trimStartWhitespace(); assertEquals( "foo", script.getText() ); }
|
51800 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51800/cbaa8d2430c2bf467e589a423fee7c83e3f0eb2f/TestTrim.java/clean/src/test/org/apache/commons/jelly/TestTrim.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
14795,
1685,
1435,
1216,
1185,
288,
3639,
3867,
3651,
2728,
273,
394,
3867,
3651,
12,
315,
282,
8431,
565,
315,
11272,
3639,
2728,
18,
5290,
1685,
9431,
5621,
7734,
1815,
8867,
12,
315,
11351,
565,
3104,
2728,
18,
588,
1528,
1435,
11272,
3639,
2728,
273,
394,
3867,
3651,
12,
315,
8431,
315,
11272,
3639,
2728,
18,
5290,
1685,
9431,
5621,
7734,
1815,
8867,
12,
315,
11351,
3104,
2728,
18,
588,
1528,
1435,
11272,
7734,
2728,
273,
394,
3867,
3651,
12,
315,
11351,
6,
11272,
3639,
2728,
18,
5290,
1685,
9431,
5621,
7734,
1815,
8867,
12,
315,
11351,
3113,
2728,
18,
588,
1528,
1435,
11272,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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315,
11351,
565,
3104,
2728,
18,
588,
1528,
1435,
11272,
3639,
2728,
273,
394,
3867,
3651,
12,
315,
8431,
315,
11272,
3639,
2728,
18,
5290,
1685,
9431,
5621,
7734,
1815,
8867,
12,
315,
11351,
3104,
2728,
18,
588,
1528,
1435,
11272,
7734,
2728,
273,
394,
3867,
3651,
12,
315,
11351,
6,
11272,
3639,
2728,
18,
5290,
1685,
9431,
5621,
7734,
1815,
8867,
12,
315,
11351,
3113,
2728,
18,
588,
1528,
1435,
11272,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
return eDynamicIsSet( eFeature );
|
return super.eIsSet( featureID );
|
public boolean eIsSet( EStructuralFeature eFeature ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case DataPackage.TRIGGER__CONDITION : return isSetCondition( ); case DataPackage.TRIGGER__ACTION : return action != null; case DataPackage.TRIGGER__TRIGGER_FLOW : return isSetTriggerFlow( ); } return eDynamicIsSet( eFeature ); }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/036e8c78765730b146e5854b9d6c397a296fed86/TriggerImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/data/impl/TriggerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
20372,
12,
512,
14372,
4595,
425,
4595,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
1910,
2261,
18,
6566,
27399,
972,
22017,
294,
9506,
202,
2463,
13532,
3418,
12,
11272,
1082,
202,
3593,
1910,
2261,
18,
6566,
27399,
972,
12249,
294,
9506,
202,
2463,
1301,
480,
446,
31,
1082,
202,
3593,
1910,
2261,
18,
6566,
27399,
972,
6566,
27399,
67,
17430,
294,
9506,
202,
2463,
13532,
6518,
5249,
12,
11272,
202,
202,
97,
202,
202,
2463,
425,
9791,
15737,
12,
425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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
20372,
12,
512,
14372,
4595,
425,
4595,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
1910,
2261,
18,
6566,
27399,
972,
22017,
294,
9506,
202,
2463,
13532,
3418,
12,
11272,
1082,
202,
3593,
1910,
2261,
18,
6566,
27399,
972,
12249,
294,
9506,
202,
2463,
1301,
480,
446,
31,
1082,
202,
3593,
1910,
2261,
18,
6566,
27399,
972,
6566,
27399,
67,
17430,
294,
9506,
202,
2463,
13532,
6518,
5249,
12,
11272,
202,
202,
97,
202,
202,
2463,
425,
9791,
15737,
12,
425,
4595,
11272,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if(users.add(a)) rcp.add(new InternetAddress(a.getProperty(UserProperty.class).getAddress()));
|
if(users.add(a)) { String adrs = a.getProperty(UserProperty.class).getAddress(); if(adrs!=null) rcp.add(new InternetAddress(adrs)); }
|
private MimeMessage createEmptyMail(Build build) throws MessagingException { MimeMessage msg = new MimeMessage(DESCRIPTOR.createSession()); // TODO: I'd like to put the URL to the page in here, // but how do I obtain that? msg.setContent("","text/plain"); msg.setFrom(new InternetAddress(DESCRIPTOR.getAdminAddress())); msg.setSentDate(new Date()); List<InternetAddress> rcp = new ArrayList<InternetAddress>(); StringTokenizer tokens = new StringTokenizer(recipients); while(tokens.hasMoreTokens()) rcp.add(new InternetAddress(tokens.nextToken())); if(sendToIndividuals) { Set<User> users = new HashSet<User>(); for (Entry change : build.getChangeSet()) { User a = change.getAuthor(); if(users.add(a)) rcp.add(new InternetAddress(a.getProperty(UserProperty.class).getAddress())); } } msg.setRecipients(Message.RecipientType.TO, rcp.toArray(new InternetAddress[rcp.size()])); return msg; }
|
33411 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/33411/1d408ae31e10fc42b838e7bb583c2d517ca01155/Mailer.java/buggy/core/src/main/java/hudson/tasks/Mailer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
22059,
1079,
752,
1921,
6759,
12,
3116,
1361,
13,
1216,
23794,
503,
288,
3639,
22059,
1079,
1234,
273,
394,
22059,
1079,
12,
1639,
27689,
18,
2640,
2157,
10663,
3639,
368,
2660,
30,
467,
14271,
3007,
358,
1378,
326,
1976,
358,
326,
1363,
316,
2674,
16,
3639,
368,
1496,
3661,
741,
467,
7161,
716,
35,
3639,
1234,
18,
542,
1350,
2932,
15937,
955,
19,
7446,
8863,
3639,
1234,
18,
542,
1265,
12,
2704,
21352,
1887,
12,
1639,
27689,
18,
588,
4446,
1887,
1435,
10019,
3639,
1234,
18,
542,
7828,
1626,
12,
2704,
2167,
10663,
3639,
987,
32,
26562,
1887,
34,
436,
4057,
273,
394,
2407,
32,
26562,
1887,
34,
5621,
3639,
16370,
2430,
273,
394,
16370,
12,
27925,
1769,
3639,
1323,
12,
7860,
18,
5332,
7417,
5157,
10756,
5411,
436,
4057,
18,
1289,
12,
2704,
21352,
1887,
12,
7860,
18,
4285,
1345,
1435,
10019,
3639,
309,
12,
4661,
774,
382,
2892,
30910,
13,
288,
5411,
1000,
32,
1299,
34,
3677,
273,
394,
6847,
32,
1299,
34,
5621,
5411,
364,
261,
1622,
2549,
294,
1361,
18,
588,
21565,
10756,
288,
7734,
2177,
279,
273,
2549,
18,
588,
3594,
5621,
7734,
309,
12,
5577,
18,
1289,
12,
69,
3719,
10792,
436,
4057,
18,
1289,
12,
2704,
21352,
1887,
12,
69,
18,
588,
1396,
12,
1299,
1396,
18,
1106,
2934,
588,
1887,
1435,
10019,
5411,
289,
3639,
289,
3639,
1234,
18,
542,
22740,
12,
1079,
18,
18241,
559,
18,
4296,
16,
436,
4057,
18,
31447,
12,
2704,
21352,
1887,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
22059,
1079,
752,
1921,
6759,
12,
3116,
1361,
13,
1216,
23794,
503,
288,
3639,
22059,
1079,
1234,
273,
394,
22059,
1079,
12,
1639,
27689,
18,
2640,
2157,
10663,
3639,
368,
2660,
30,
467,
14271,
3007,
358,
1378,
326,
1976,
358,
326,
1363,
316,
2674,
16,
3639,
368,
1496,
3661,
741,
467,
7161,
716,
35,
3639,
1234,
18,
542,
1350,
2932,
15937,
955,
19,
7446,
8863,
3639,
1234,
18,
542,
1265,
12,
2704,
21352,
1887,
12,
1639,
27689,
18,
588,
4446,
1887,
1435,
10019,
3639,
1234,
18,
542,
7828,
1626,
12,
2704,
2167,
10663,
3639,
987,
32,
26562,
1887,
34,
436,
4057,
273,
394,
2407,
32,
26562,
1887,
34,
5621,
3639,
16370,
2430,
273,
394,
16370,
12,
27925,
2
] |
private void postLoadInit(Entity ent) throws EntityLoadingException { // Walk through the list of equipment. for (Enumeration e = ent.getMisc(); e.hasMoreElements(); ) { Mounted m = (Mounted)e.nextElement(); // Link Artemis IV fire-control systems to their missle racks. if (m.getType().hasFlag(MiscType.F_ARTEMIS) && m.getLinked() == null) { // link up to a weapon in the same location for (Enumeration e2 = ent.getWeapons(); e2.hasMoreElements(); ) { Mounted mWeapon = (Mounted)e2.nextElement(); WeaponType wtype = (WeaponType)mWeapon.getType(); // only srm and lrm are valid for artemis if (wtype.getAmmoType() != AmmoType.T_LRM && wtype.getAmmoType() != AmmoType.T_SRM) { continue; } // already linked? if (mWeapon.getLinkedBy() != null) { continue; } // check location if (mWeapon.getLocation() == m.getLocation()) { m.setLinked(mWeapon); break; } // also, mechs have a special location rule else if (ent instanceof Mech && m.getLocation() == Mech.LOC_HEAD && mWeapon.getLocation() == Mech.LOC_CT) { m.setLinked(mWeapon); break; } } if (m.getLinked() == null) { // huh. this shouldn't happen throw new EntityLoadingException("Unable to match Artemis to launcher"); } } // End link-Artemis else if ( Mech.STEALTH.equals(m.getType().getInternalName()) && m.getLinked() == null ) { // Find an ECM suite to link to the stealth system. // Stop looking after we find the first ECM suite. for ( Enumeration equips = ent.getMisc(); equips.hasMoreElements(); ) { Mounted mEquip = (Mounted) equips.nextElement(); MiscType mtype = (MiscType) mEquip.getType(); if ( mtype.hasFlag(MiscType.F_ECM) ) { m.setLinked( mEquip ); break; } } } // End link-Stealth } // Check the next piece of equipment. // Add BattleArmorHandles to OmniMechs. if ( ent.isOmni() && ent instanceof Mech ) { ent.addTransporter( new BattleArmorHandles() ); } } // End private void postLoadInit(Entity) throws EntityLoadingException
|
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/359f7976ea7b886c35ce9187dadb639fb01ebfca/MechFileParser.java/buggy/megamek/src/megamek/common/MechFileParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1603,
2563,
2570,
12,
1943,
3281,
13,
1216,
3887,
10515,
503,
288,
3639,
368,
7564,
3059,
326,
666,
434,
1298,
11568,
18,
3639,
364,
261,
21847,
425,
273,
3281,
18,
588,
11729,
71,
5621,
425,
18,
5332,
7417,
3471,
5621,
262,
288,
5411,
13076,
329,
312,
273,
261,
8725,
329,
13,
73,
18,
4285,
1046,
5621,
5411,
368,
4048,
1201,
874,
291,
21602,
4452,
17,
7098,
14908,
358,
3675,
12543,
298,
19495,
87,
18,
5411,
309,
261,
81,
18,
588,
559,
7675,
5332,
4678,
12,
11729,
71,
559,
18,
42,
67,
985,
16988,
5127,
13,
597,
312,
18,
588,
13174,
1435,
422,
446,
13,
288,
27573,
368,
1692,
731,
358,
279,
732,
28629,
316,
326,
1967,
2117,
7734,
364,
261,
21847,
425,
22,
273,
3281,
18,
588,
3218,
438,
7008,
5621,
425,
22,
18,
5332,
7417,
3471,
5621,
262,
288,
10792,
13076,
329,
312,
3218,
28629,
273,
261,
8725,
329,
13,
73,
22,
18,
4285,
1046,
5621,
10792,
1660,
28629,
559,
341,
723,
273,
261,
3218,
28629,
559,
13,
81,
3218,
28629,
18,
588,
559,
5621,
4766,
3639,
368,
1338,
272,
8864,
471,
328,
8864,
854,
923,
364,
419,
874,
291,
10792,
309,
261,
91,
723,
18,
588,
37,
7020,
83,
559,
1435,
480,
3986,
8683,
559,
18,
56,
67,
48,
8717,
597,
341,
723,
18,
588,
37,
7020,
83,
559,
1435,
480,
3986,
8683,
559,
18,
56,
67,
55,
8717,
13,
288,
13491,
1324,
31,
10792,
289,
4766,
3639,
368,
1818,
8459,
35,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1603,
2563,
2570,
12,
1943,
3281,
13,
1216,
3887,
10515,
503,
288,
3639,
368,
7564,
3059,
326,
666,
434,
1298,
11568,
18,
3639,
364,
261,
21847,
425,
273,
3281,
18,
588,
11729,
71,
5621,
425,
18,
5332,
7417,
3471,
5621,
262,
288,
5411,
13076,
329,
312,
273,
261,
8725,
329,
13,
73,
18,
4285,
1046,
5621,
5411,
368,
4048,
1201,
874,
291,
21602,
4452,
17,
7098,
14908,
358,
3675,
12543,
298,
19495,
87,
18,
5411,
309,
261,
81,
18,
588,
559,
7675,
5332,
4678,
12,
11729,
71,
559,
18,
42,
67,
985,
16988,
5127,
13,
597,
312,
18,
588,
13174,
1435,
422,
446,
13,
288,
27573,
368,
1692,
731,
358,
279,
732,
28629,
316,
326,
1967,
2
] |
||
this.cu = cu;
|
this.url = cu.getUrl();
|
public HashBlock(CachedUrl cu) { this.cu = cu; }
|
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/e399a07e4496e3a7d2104358c7b0a7241b1aedb1/HashBlock.java/clean/src/org/lockss/hasher/HashBlock.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2474,
1768,
12,
9839,
1489,
15985,
13,
288,
565,
333,
18,
718,
273,
15985,
18,
588,
1489,
5621,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2474,
1768,
12,
9839,
1489,
15985,
13,
288,
565,
333,
18,
718,
273,
15985,
18,
588,
1489,
5621,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (displayable != null) { display.setCurrent(displayable); } }
|
if (displayable != null) { display.setCurrent(displayable); } }
|
public void commandAction(Command c, Displayable d) { Display display = Sim.getDisplay(); Displayable displayable = null; if (c == CMD_CANCEL) { displayable = Sim.getMainScreen(); } else if (c == CMD_NEWGAME) { displayable = new Zeichenblatt(single); } if (displayable != null) { display.setCurrent(displayable); } }
|
11724 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11724/88851a568bf6e36dae1ff1675239771210a329e5/Zeichenblatt.java/clean/trunk/simme/src/at/einspiel/simme/client/ui/Zeichenblatt.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1296,
1803,
12,
2189,
276,
16,
9311,
429,
302,
13,
288,
3639,
9311,
2562,
273,
9587,
18,
588,
4236,
5621,
3639,
9311,
429,
2562,
429,
273,
446,
31,
3639,
309,
261,
71,
422,
18052,
67,
25268,
13,
288,
5411,
2562,
429,
273,
9587,
18,
588,
6376,
7956,
5621,
3639,
289,
469,
309,
261,
71,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1296,
1803,
12,
2189,
276,
16,
9311,
429,
302,
13,
288,
3639,
9311,
2562,
273,
9587,
18,
588,
4236,
5621,
3639,
9311,
429,
2562,
429,
273,
446,
31,
3639,
309,
261,
71,
422,
18052,
67,
25268,
13,
288,
5411,
2562,
429,
273,
9587,
18,
588,
6376,
7956,
5621,
3639,
289,
469,
309,
261,
71,
422,
18052,
67,
12917,
43,
1642,
13,
288,
5411,
2562,
429,
273,
394,
23587,
1354,
275,
3083,
4558,
12,
7526,
1769,
3639,
289,
3639,
309,
261,
5417,
429,
480,
446,
13,
288,
5411,
2562,
18,
542,
3935,
12,
5417,
429,
1769,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
retVecVec.addElement (thisRow); } } catch (Exception e) { } System.out.println ("Done."); return retVecVec; }
|
System.out.println ("Done."); return retVecVec; }
|
public Vector queryLDAP (String aServerName, int aPort, String aSearchString) { Vector retVecVec = new Vector(); //return vector of vectors.// try { //open a connection to the LDAP serverSystem.out.println ("Opening server " + aServerName); ICardSource Four11AddressBook = new LDAP_Server (aServerName); //create the query ITerm query = new TermEqual (new AC_Attribute ("sn", aSearchString)); String[] attributes = {"sn", "cn", "o", "mail", "city"}; //query the LDAP server.System.out.println ("Send query" + query); ICardSet cardSet = Four11AddressBook.getCardSet (query, attributes); //Sort the list. String[] sortOrder = {"sn", "cn"}; cardSet.sort (sortOrder); //hack. I've put the for loop in a try block to catch the exception //thrown when cardEnum.hasMoreElements() incorrectly returns true. try { //enumerate thru the cards. for (Enumeration cardEnum = cardSet.getEnumeration(); cardEnum.hasMoreElements(); ) {System.out.println ("got card"); ICard card = (ICard) cardEnum.nextElement(); //get the addres card IAttributeSet attrSet = card.getAttributeSet (); //get the attributes for this card Vector thisRow = new Vector(6); //create a simple vector to hold the attributes values for this card. String commonName = ""; String organization = ""; String mail = ""; String phone = ""; String city = ""; String nickName = ""; // enumerate thru the card attributes. for (Enumeration attEnum = attrSet.getEnumeration(); attEnum.hasMoreElements(); ) { IAttribute attr = (IAttribute) attEnum.nextElement(); String attrName = attr.getName(); if (attrName.equals ("cn")) { commonName = attr.getValue(); } else if (attrName.equals ("o")) { organization = attr.getValue(); } else if (attrName.equals ("mail")) { mail = attr.getValue(); } else if (attrName.equals ("sn")) { phone = attr.getValue(); } else if (attrName.equals ("city")) { city = attr.getValue(); } } //create this row for the table. thisRow.addElement (commonName); thisRow.addElement (mail); thisRow.addElement (organization); thisRow.addElement (phone); thisRow.addElement (city); thisRow.addElement (nickName); //add this row to the table retVecVec.addElement (thisRow); } } catch (Exception e) { }// }// catch( LDAPException e ) {// System.out.println( "Error: " + e.toString() );// }System.out.println ("Done."); return retVecVec; }
|
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/b0fa2f56cd2dcc90452b768e6b38187cfb8c30eb/AddressBook.java/clean/grendel/addressbook/AddressBook.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5589,
843,
15496,
261,
780,
279,
28434,
16,
509,
279,
2617,
16,
514,
279,
2979,
780,
13,
288,
3639,
5589,
325,
12991,
12991,
273,
394,
5589,
5621,
282,
368,
2463,
3806,
434,
10046,
18,
759,
2868,
775,
288,
5411,
368,
3190,
279,
1459,
358,
326,
11916,
1438,
3163,
18,
659,
18,
8222,
7566,
21378,
1438,
315,
397,
279,
28434,
1769,
5411,
467,
6415,
1830,
478,
477,
2499,
31374,
273,
394,
11916,
67,
2081,
261,
69,
28434,
1769,
5411,
368,
2640,
326,
843,
5411,
467,
4065,
843,
273,
394,
6820,
5812,
261,
2704,
12048,
67,
1499,
7566,
8134,
3113,
279,
2979,
780,
10019,
5411,
514,
8526,
1677,
273,
12528,
8134,
3113,
315,
10305,
3113,
315,
83,
3113,
315,
4408,
3113,
315,
14240,
6,
20451,
5411,
368,
2271,
326,
11916,
1438,
18,
3163,
18,
659,
18,
8222,
7566,
3826,
843,
6,
397,
843,
1769,
5411,
467,
6415,
694,
5270,
694,
273,
478,
477,
2499,
31374,
18,
588,
6415,
694,
261,
2271,
16,
1677,
1769,
5411,
368,
4416,
326,
666,
18,
5411,
514,
8526,
19050,
273,
12528,
8134,
3113,
315,
10305,
6,
20451,
5411,
5270,
694,
18,
3804,
261,
3804,
2448,
1769,
5411,
368,
76,
484,
18,
467,
8081,
1378,
326,
364,
2798,
316,
279,
775,
1203,
358,
1044,
326,
1520,
5411,
368,
12849,
82,
1347,
5270,
3572,
18,
5332,
7417,
3471,
1435,
25621,
1135,
638,
18,
5411,
775,
288,
7734,
368,
7924,
12600,
286,
8653,
326,
18122,
18,
7734,
364,
261,
21847,
5270,
3572,
273,
5270,
694,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5589,
843,
15496,
261,
780,
279,
28434,
16,
509,
279,
2617,
16,
514,
279,
2979,
780,
13,
288,
3639,
5589,
325,
12991,
12991,
273,
394,
5589,
5621,
282,
368,
2463,
3806,
434,
10046,
18,
759,
2868,
775,
288,
5411,
368,
3190,
279,
1459,
358,
326,
11916,
1438,
3163,
18,
659,
18,
8222,
7566,
21378,
1438,
315,
397,
279,
28434,
1769,
5411,
467,
6415,
1830,
478,
477,
2499,
31374,
273,
394,
11916,
67,
2081,
261,
69,
28434,
1769,
5411,
368,
2640,
326,
843,
5411,
467,
4065,
843,
273,
394,
6820,
5812,
261,
2704,
12048,
67,
1499,
7566,
8134,
3113,
279,
2979,
780,
10019,
5411,
514,
8526,
1677,
273,
12528,
8134,
3113,
315,
10305,
3113,
315,
83,
3113,
315,
2
] |
if (item != null) { getSite().selectPart(item); } }
|
if (item != null) { getSite().selectPart(item); } }
|
public void handleEvent(Event e) { IPresentablePart item = getPartForTab((CTabItem) e.item); if (item != null) { getSite().selectPart(item); } }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/38085a8072ad4fd21bad0983f8bc31ac736c9f72/R21BasicStackPresentation.java/clean/bundles/org.eclipse.ui.presentations.r21/src/org/eclipse/ui/internal/presentations/R21BasicStackPresentation.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1640,
1133,
12,
1133,
425,
13,
288,
5411,
2971,
1581,
429,
1988,
761,
273,
13657,
1290,
5661,
12443,
1268,
378,
1180,
13,
425,
18,
1726,
1769,
5411,
309,
261,
1726,
480,
446,
13,
288,
7734,
11021,
7675,
4025,
1988,
12,
1726,
1769,
5411,
289,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1640,
1133,
12,
1133,
425,
13,
288,
5411,
2971,
1581,
429,
1988,
761,
273,
13657,
1290,
5661,
12443,
1268,
378,
1180,
13,
425,
18,
1726,
1769,
5411,
309,
261,
1726,
480,
446,
13,
288,
7734,
11021,
7675,
4025,
1988,
12,
1726,
1769,
5411,
289,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public void setShortDescription(String shortDescription) { this.shortDescription = shortDescription; }
|
public void setShortDescription(String shortDescription) { this.shortDescription = shortDescription; }
|
public void setShortDescription(String shortDescription) { this.shortDescription = shortDescription; }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/FeatureDescriptor.java/clean/core/src/classpath/java/java/beans/FeatureDescriptor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
4897,
3291,
12,
780,
3025,
3291,
13,
288,
202,
202,
2211,
18,
6620,
3291,
273,
3025,
3291,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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620,
3291,
273,
3025,
3291,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
listener.messageReceived(msg); }
|
listener.messageReceived(msg); }
|
void decipherMessage(String msg) { listener.log(msg); String nick; String host; String recipient; StringTokenizer tok = new StringTokenizer(msg, " "); String buf = tok.nextToken(); if (buf.indexOf("!") != -1) { nick = buf.substring(1, buf.indexOf("!")); host = buf.substring(buf.indexOf("!")+1); } else { host = buf; nick = ""; } buf = tok.nextToken(); try { int command = Integer.parseInt(buf); switch (command) { case 353://:Extremity.CA.US.GamesNET.net 353 Robyn = #1973 :Robyn Max\DAd @Tempyst LittleMe @MechanicalGhost Mez` @Vino sada^game GOaT @Weine|Away @ChanServ shinobiwan @Yukie WillSchnevel +Feixeno String channel = msg.substring(msg.indexOf("=") + 2, msg.indexOf(" ", msg.indexOf("=") + 2)); String list = msg.substring(msg.indexOf(":", 1)+1); listener.messageChanList(channel, list); return; default: } } catch (NumberFormatException nfe) { } if (buf.equals("PRIVMSG")) { recipient = tok.nextToken(); String chat = tok.nextToken(""); chat = chat.substring(2); listener.messagePrivMsg(nick, host, recipient, chat); return; } else if (buf.equals("NICK")) { String newname = tok.nextToken(""); newname = newname.substring(2); listener.messageNickChange(nick, host, newname); return; } else if (buf.equals("MODE")) { recipient = tok.nextToken(); String mode = tok.nextToken().trim(); String victim; if (tok.hasMoreElements()) { victim = tok.nextToken("").trim(); } else { victim = null; } if (mode.startsWith(":")) { mode = mode.substring(1); } listener.messageModeChange(nick, host, recipient, mode, victim); return; } else if (buf.equals("JOIN")) { String channel = tok.nextToken(""); channel = channel.substring(1); listener.messageChannelJoin(nick, host, channel); return; } else if (buf.equals("PART")) { String channel = tok.nextToken(); String message; if (tok.hasMoreTokens()) { message = tok.nextToken(""); message = message.substring(2); } else { message = null; } listener.messageChannelPart(nick, host, channel, message); return; } else if (buf.equals("QUIT")) { String message = tok.nextToken(""); message = message.substring(2); listener.messageQuit(nick, host, message); return; } //Still can't figure out what it is. listener.messageReceived(msg); }
|
4867 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4867/13a5492f5df8208250f437a98b833f050ed86976/SephiaBot.java/clean/SephiaBot.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
2109,
4337,
1079,
12,
780,
1234,
13,
288,
565,
2991,
18,
1330,
12,
3576,
1769,
565,
514,
10909,
31,
565,
514,
1479,
31,
565,
514,
8027,
31,
565,
16370,
946,
273,
394,
16370,
12,
3576,
16,
315,
315,
1769,
565,
514,
1681,
273,
946,
18,
4285,
1345,
5621,
565,
309,
261,
4385,
18,
31806,
2932,
4442,
13,
480,
300,
21,
13,
288,
1377,
10909,
273,
1681,
18,
28023,
12,
21,
16,
1681,
18,
31806,
2932,
4442,
10019,
1377,
1479,
273,
1681,
18,
28023,
12,
4385,
18,
31806,
2932,
4442,
27921,
21,
1769,
565,
289,
469,
288,
1377,
1479,
273,
1681,
31,
1377,
10909,
273,
1408,
31,
565,
289,
565,
1681,
273,
946,
18,
4285,
1345,
5621,
565,
775,
288,
1377,
509,
1296,
273,
2144,
18,
2670,
1702,
12,
4385,
1769,
1377,
1620,
261,
3076,
13,
288,
1377,
648,
890,
8643,
2207,
30,
2482,
2764,
560,
18,
3587,
18,
3378,
18,
43,
753,
14843,
18,
2758,
890,
8643,
19686,
878,
273,
468,
3657,
9036,
294,
14444,
878,
4238,
64,
40,
1871,
632,
7185,
1094,
511,
7188,
4667,
632,
4667,
7472,
1706,
43,
2564,
490,
6664,
68,
632,
58,
15020,
272,
16524,
66,
13957,
12389,
69,
56,
632,
3218,
558,
96,
37,
1888,
632,
6255,
827,
90,
699,
267,
947,
22315,
304,
632,
61,
19445,
1385,
9980,
55,
343,
4644,
941,
397,
2954,
697,
5764,
3639,
514,
1904,
273,
1234,
18,
28023,
12,
3576,
18,
31806,
2932,
1546,
13,
397,
576,
16,
1234,
18,
31806,
2932,
3104,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
2109,
4337,
1079,
12,
780,
1234,
13,
288,
565,
2991,
18,
1330,
12,
3576,
1769,
565,
514,
10909,
31,
565,
514,
1479,
31,
565,
514,
8027,
31,
565,
16370,
946,
273,
394,
16370,
12,
3576,
16,
315,
315,
1769,
565,
514,
1681,
273,
946,
18,
4285,
1345,
5621,
565,
309,
261,
4385,
18,
31806,
2932,
4442,
13,
480,
300,
21,
13,
288,
1377,
10909,
273,
1681,
18,
28023,
12,
21,
16,
1681,
18,
31806,
2932,
4442,
10019,
1377,
1479,
273,
1681,
18,
28023,
12,
4385,
18,
31806,
2932,
4442,
27921,
21,
1769,
565,
289,
469,
288,
1377,
1479,
273,
1681,
31,
1377,
10909,
273,
1408,
31,
565,
289,
565,
1681,
273,
946,
18,
4285,
1345,
5621,
565,
2
] |
String wsname = workingSetFilter.getWorkingSetName(); if(wsname != null) { memento.putString(TAG_WORKINGSET, wsname);
|
if(workingSetFilter.getWorkingSet() != null) { String wsname = workingSetFilter.getWorkingSet().getName(); if(wsname != null) { memento.putString(TAG_WORKINGSET, wsname); }
|
public void saveState(IMemento memento) { if (viewer == null) { if (this.memento != null) { //Keep the old state; memento.putMemento(this.memento); } return; } //save expanded elements Tree tree = viewer.getTree(); Object expandedElements[] = viewer.getExpandedElements(); if (expandedElements.length > 0) { IMemento expandedMem = memento.createChild(TAG_EXPANDED); for (int i = 0; i < expandedElements.length; i++) { Object o = expandedElements[i]; // Do not save expanded binary files are libraries. if (o instanceof IParent && ! (o instanceof IArchiveContainer || o instanceof IBinaryContainer || o instanceof IBinary || o instanceof IArchive)) { IMemento elementMem = expandedMem.createChild(TAG_ELEMENT); ICElement e = (ICElement)o; IResource res = e.getResource(); if (res != null) { elementMem.putString(TAG_PATH, res.getLocation().toOSString()); } } } } //save selection Object elements[] = ((IStructuredSelection)viewer.getSelection()).toArray(); if(elements.length > 0) { IMemento selectionMem = memento.createChild(TAG_SELECTION); for (int i = 0; i < elements.length; i++) { if (elements[i] instanceof ICElement) { ICElement e = (ICElement)elements[i]; IResource r = e.getResource(); if (r != null) { IMemento elementMem = selectionMem.createChild(TAG_ELEMENT); elementMem.putString(TAG_PATH,r.getLocation().toString()); } } } } //save vertical position ScrollBar bar = tree.getVerticalBar(); int position = bar != null ? bar.getSelection():0; memento.putString(TAG_VERTICAL_POSITION,String.valueOf(position)); //save horizontal position bar = tree.getHorizontalBar(); position = bar != null ? bar.getSelection():0; memento.putString(TAG_HORIZONTAL_POSITION,String.valueOf(position)); //save filters String filters[] = getPatternFilter().getPatterns(); if(filters.length > 0) { IMemento filtersMem = memento.createChild(TAG_FILTERS); for (int i = 0; i < filters.length; i++){ IMemento child = filtersMem.createChild(TAG_FILTER); child.putString(TAG_ELEMENT,filters[i]); } } //save library filter boolean showLibraries= getLibraryFilter().getShowLibraries(); String show= "true"; //$NON-NLS-1$ if (!showLibraries) show= "false"; //$NON-NLS-1$ memento.putString(TAG_SHOWLIBRARIES, show); String wsname = workingSetFilter.getWorkingSetName(); if(wsname != null) { memento.putString(TAG_WORKINGSET, wsname); } }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/ed9940f5ac9acab7f5730aa9c650d3ea1eb64ff0/CView.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/CView.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1923,
1119,
12,
3445,
820,
83,
312,
820,
83,
13,
288,
202,
202,
430,
261,
25256,
422,
446,
13,
288,
1082,
202,
430,
261,
2211,
18,
81,
820,
83,
480,
446,
13,
288,
368,
11523,
326,
1592,
919,
31,
9506,
202,
81,
820,
83,
18,
458,
49,
820,
83,
12,
2211,
18,
81,
820,
83,
1769,
1082,
202,
97,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
759,
5688,
8406,
2186,
3196,
202,
2471,
2151,
273,
14157,
18,
588,
2471,
5621,
202,
202,
921,
8406,
3471,
8526,
273,
14157,
18,
588,
17957,
3471,
5621,
202,
202,
430,
261,
17336,
3471,
18,
2469,
405,
374,
13,
288,
1082,
202,
3445,
820,
83,
8406,
3545,
273,
312,
820,
83,
18,
2640,
1763,
12,
7927,
67,
16109,
1258,
7660,
1769,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
8406,
3471,
18,
2469,
31,
277,
27245,
288,
9506,
202,
921,
320,
273,
8406,
3471,
63,
77,
15533,
9506,
202,
759,
2256,
486,
1923,
8406,
3112,
1390,
854,
14732,
18,
9506,
202,
430,
261,
83,
1276,
2971,
817,
6862,
202,
10,
10,
401,
261,
83,
1276,
467,
7465,
2170,
747,
320,
1276,
467,
5905,
2170,
25083,
202,
20081,
320,
1276,
467,
5905,
747,
320,
1276,
467,
7465,
3719,
288,
6862,
202,
3445,
820,
83,
930,
3545,
273,
8406,
3545,
18,
2640,
1763,
12,
7927,
67,
10976,
1769,
6862,
202,
2871,
1046,
425,
273,
261,
2871,
1046,
13,
83,
31,
6862,
202,
45,
1420,
400,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1923,
1119,
12,
3445,
820,
83,
312,
820,
83,
13,
288,
202,
202,
430,
261,
25256,
422,
446,
13,
288,
1082,
202,
430,
261,
2211,
18,
81,
820,
83,
480,
446,
13,
288,
368,
11523,
326,
1592,
919,
31,
9506,
202,
81,
820,
83,
18,
458,
49,
820,
83,
12,
2211,
18,
81,
820,
83,
1769,
1082,
202,
97,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
759,
5688,
8406,
2186,
3196,
202,
2471,
2151,
273,
14157,
18,
588,
2471,
5621,
202,
202,
921,
8406,
3471,
8526,
273,
14157,
18,
588,
17957,
3471,
5621,
202,
202,
430,
261,
17336,
3471,
18,
2469,
405,
374,
13,
288,
1082,
202,
3445,
820,
83,
8406,
3545,
273,
2
] |
return filter;
|
return filter;
|
private static OpenCmsTestResourceConfigurableFilter getFilterChacc() { OpenCmsTestResourceConfigurableFilter filter = new OpenCmsTestResourceConfigurableFilter(); filter.disableStateTest(); filter.disableProjectLastModifiedTest(); filter.disableAclTest(); filter.disableAceTest(); return filter; }
|
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/0a325deda5c054061b5c35a9c0aa5deed3c6eaad/OpenCmsTestResourceFilter.java/buggy/test/org/opencms/test/OpenCmsTestResourceFilter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
10319,
4709,
1420,
31660,
1586,
12267,
782,
8981,
1435,
288,
3639,
10319,
4709,
1420,
31660,
1586,
1034,
273,
394,
10319,
4709,
1420,
31660,
1586,
5621,
3639,
1034,
18,
8394,
1119,
4709,
5621,
3639,
1034,
18,
8394,
4109,
14747,
4709,
5621,
3639,
1034,
18,
8394,
13538,
4709,
5621,
3639,
1034,
18,
8394,
37,
311,
4709,
5621,
3639,
327,
1034,
31,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
10319,
4709,
1420,
31660,
1586,
12267,
782,
8981,
1435,
288,
3639,
10319,
4709,
1420,
31660,
1586,
1034,
273,
394,
10319,
4709,
1420,
31660,
1586,
5621,
3639,
1034,
18,
8394,
1119,
4709,
5621,
3639,
1034,
18,
8394,
4109,
14747,
4709,
5621,
3639,
1034,
18,
8394,
13538,
4709,
5621,
3639,
1034,
18,
8394,
37,
311,
4709,
5621,
3639,
327,
1034,
31,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
validateSettings(); }
|
setHttpAuth(httpAuthButton.getSelection()); }
|
public void widgetSelected(SelectionEvent e) { validateSettings(); }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/fc5f7c9fb68f9ce217976cd7477a47d3a7cdaf92/AbstractRepositorySettingsPage.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/AbstractRepositorySettingsPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
3604,
7416,
12,
6233,
1133,
425,
13,
288,
9506,
202,
5662,
2628,
5621,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
3604,
7416,
12,
6233,
1133,
425,
13,
288,
9506,
202,
5662,
2628,
5621,
1082,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
reqEnv.declareNamespace("http:
|
reqEnv.declareNamespace("http:
|
public SOAPEnvelope getEchoSoapEnvelope() { SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory(); SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope(); reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv"); reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd"); reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi"); reqEnv.declareNamespace("http://soapinterop.org/xsd", "s"); reqEnv.declareNamespace("http://soapinterop.org/", "m"); SOAPHeader header = omfactory.createSOAPHeader(reqEnv); OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/ SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns); block1.addAttribute("xsi:type", "xsd:string", null); block1.addChild(omfactory.createText("string")); // header.addChild(headerChild); header.addChild(block1); SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns); block2.addAttribute("xsi:type", "s:SOAPStruct", null); OMElement h2Val1 = omfactory.createOMElement("varString", null); h2Val1.addAttribute("xsi:type", "xsd:string", null); h2Val1.addChild(omfactory.createText("string")); OMElement h2Val2 = omfactory.createOMElement("varInt", null); h2Val2.addAttribute("xsi:type", "xsd:int", null); h2Val2.addChild(omfactory.createText("150")); OMElement h2Val3 = omfactory.createOMElement("varFloat", null); h2Val3.addAttribute("xsi:type", "xsd:float", null); h2Val3.addChild(omfactory.createText("456.321")); block2.addChild(h2Val1); block2.addChild(h2Val2); block2.addChild(h2Val3); OMElement operation = omfactory.createOMElement("echoIntegerArray", "http://soapinterop.org/", null); SOAPBody body = omfactory.createSOAPBody(reqEnv); body.addChild(operation); operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null); OMElement part = omfactory.createOMElement("inputIntegerArray", "", null); part.addAttribute("xsi:type", "SOAP-ENC:Array", null); part.addAttribute("SOAP-ENC:arrayType", "xsd:int[3]", null); OMElement value0 = omfactory.createOMElement("varString", "", null); value0.addAttribute("xsi:type", "xsd:int", null); value0.addChild(omfactory.createText("451")); OMElement value1 = omfactory.createOMElement("varString", "", null); value1.addAttribute("xsi:type", "xsd:int", null); value1.addChild(omfactory.createText("425")); OMElement value2 = omfactory.createOMElement("varString", "", null); value2.addAttribute("xsi:type", "xsd:int", null); value2.addChild(omfactory.createText("2523")); part.addChild(value0); part.addChild(value1); part.addChild(value2); operation.addChild(part); //reqEnv.getBody().addChild(method); return reqEnv; }
|
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/95f09abc768fee06d65b12836e31273ac0e15eb3/GroupcIntegerArrayUtil.java/clean/modules/integration/src/test/interop/whitemesa/round2/util/GroupcIntegerArrayUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
16434,
10862,
4774,
2599,
20601,
10862,
1435,
288,
3639,
16434,
1733,
8068,
6848,
273,
531,
5535,
3336,
1733,
18,
588,
27952,
2499,
1733,
5621,
3639,
16434,
10862,
1111,
3491,
273,
8068,
6848,
18,
2640,
27952,
10862,
5621,
3639,
1111,
3491,
18,
29554,
3402,
2932,
2505,
2207,
17928,
18,
2902,
19215,
18,
3341,
19,
19215,
19,
30290,
19,
3113,
315,
19215,
3074,
8863,
3639,
1111,
3491,
18,
29554,
3402,
2932,
2505,
2207,
5591,
18,
91,
23,
18,
3341,
19,
6976,
21,
19,
4201,
3078,
3113,
315,
19144,
8863,
3639,
1111,
3491,
18,
29554,
3402,
2932,
2505,
2207,
17928,
18,
2902,
19215,
18,
3341,
19,
19215,
19,
5999,
19,
3113,
315,
27952,
17,
30445,
8863,
368,
16741,
30,
27952,
17,
30445,
1546,
2505,
2207,
17928,
18,
2902,
19215,
18,
3341,
19,
19215,
19,
5999,
4898,
3639,
1111,
3491,
18,
29554,
3402,
2932,
2505,
2207,
5591,
18,
91,
23,
18,
3341,
19,
6976,
21,
19,
4201,
3078,
17,
1336,
3113,
315,
29262,
8863,
3639,
1111,
3491,
18,
29554,
3402,
2932,
2505,
2207,
19215,
30376,
18,
3341,
19,
19144,
3113,
315,
87,
8863,
3639,
1111,
3491,
18,
29554,
3402,
2932,
2505,
2207,
19215,
30376,
18,
3341,
19,
3113,
315,
81,
8863,
3639,
16434,
1864,
1446,
273,
8068,
6848,
18,
2640,
27952,
1864,
12,
3658,
3491,
1769,
3639,
28839,
3402,
366,
2387,
273,
1111,
3491,
18,
29554,
3402,
2932,
2505,
2207,
19215,
30376,
18,
3341,
19,
12946,
3374,
19,
3113,
315,
76,
2387,
8863,
368,
16741,
30,
81,
20,
1546,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
16434,
10862,
4774,
2599,
20601,
10862,
1435,
288,
3639,
16434,
1733,
8068,
6848,
273,
531,
5535,
3336,
1733,
18,
588,
27952,
2499,
1733,
5621,
3639,
16434,
10862,
1111,
3491,
273,
8068,
6848,
18,
2640,
27952,
10862,
5621,
3639,
1111,
3491,
18,
29554,
3402,
2932,
2505,
2207,
17928,
18,
2902,
19215,
18,
3341,
19,
19215,
19,
30290,
19,
3113,
315,
19215,
3074,
8863,
3639,
1111,
3491,
18,
29554,
3402,
2932,
2505,
2207,
5591,
18,
91,
23,
18,
3341,
19,
6976,
21,
19,
4201,
3078,
3113,
315,
19144,
8863,
3639,
1111,
3491,
18,
29554,
3402,
2932,
2505,
2207,
17928,
18,
2902,
19215,
18,
3341,
19,
19215,
19,
5999,
19,
3113,
315,
27952,
17,
30445,
8863,
368,
16741,
30,
27952,
2
] |
Instances outputFormat = new Instances(instanceInfo, 0);
|
FastVector newAtts = new FastVector();
|
public boolean inputFormat(Instances instanceInfo) throws Exception { super.inputFormat(instanceInfo); m_DeltaCols.setUpper(getInputFormat().numAttributes() - 1); for (int i = getInputFormat().numAttributes() - 1; i >= 0; i--) { if (m_DeltaCols.isInRange(i) && (getInputFormat().attribute(i).type() != Attribute.NUMERIC)) { throw new Exception("Selected attributes must be all numeric"); } } // Create the output buffer Instances outputFormat = new Instances(instanceInfo, 0); boolean inRange = false; for (int i = getInputFormat().numAttributes() - 1; i >= 0; i--) { if (m_DeltaCols.isInRange(i)) { // If they want the class column modified, unassign it if (i == outputFormat.classIndex()) { outputFormat.setClassIndex(-1); } String foName = outputFormat.attribute(i).name(); foName = "'FO " + foName.replace('\'', ' ').trim() + '\''; outputFormat.deleteAttributeAt(i); // Create the new attribute if (inRange) { Attribute newAttrib = new Attribute(foName); outputFormat.insertAttributeAt(newAttrib, i); } inRange = true; } } setOutputFormat(outputFormat); return true; }
|
48918 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48918/fb891c455db25aa9a4e68b3ef791f809326559d0/FirstOrderFilter.java/buggy/weka/filters/FirstOrderFilter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
810,
1630,
12,
5361,
791,
966,
13,
1216,
1185,
288,
565,
2240,
18,
2630,
1630,
12,
1336,
966,
1769,
565,
312,
67,
9242,
8011,
18,
542,
5988,
12,
588,
1210,
1630,
7675,
2107,
2498,
1435,
300,
404,
1769,
565,
364,
261,
474,
277,
273,
12353,
1630,
7675,
2107,
2498,
1435,
300,
404,
31,
277,
1545,
374,
31,
277,
413,
13,
288,
1377,
309,
261,
81,
67,
9242,
8011,
18,
291,
25277,
12,
77,
13,
3196,
225,
597,
261,
588,
1210,
1630,
7675,
4589,
12,
77,
2934,
723,
1435,
480,
3601,
18,
22998,
3719,
288,
202,
12849,
394,
1185,
2932,
7416,
1677,
1297,
506,
777,
6389,
8863,
1377,
289,
565,
289,
565,
368,
1788,
326,
876,
1613,
565,
9545,
5018,
394,
3075,
87,
273,
394,
9545,
5018,
5621,
565,
1250,
316,
2655,
273,
629,
31,
565,
364,
261,
474,
277,
273,
12353,
1630,
7675,
2107,
2498,
1435,
300,
404,
31,
277,
1545,
374,
31,
277,
413,
13,
288,
1377,
309,
261,
81,
67,
9242,
8011,
18,
291,
25277,
12,
77,
3719,
288,
202,
759,
971,
2898,
2545,
326,
667,
1057,
4358,
16,
640,
6145,
518,
202,
430,
261,
77,
422,
27205,
18,
1106,
1016,
10756,
288,
202,
225,
27205,
18,
542,
797,
1016,
19236,
21,
1769,
202,
97,
202,
202,
780,
18261,
461,
273,
27205,
18,
4589,
12,
77,
2934,
529,
5621,
202,
617,
461,
273,
2491,
3313,
315,
397,
18261,
461,
18,
2079,
2668,
3730,
2187,
296,
296,
2934,
5290,
1435,
397,
15053,
31,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
810,
1630,
12,
5361,
791,
966,
13,
1216,
1185,
288,
565,
2240,
18,
2630,
1630,
12,
1336,
966,
1769,
565,
312,
67,
9242,
8011,
18,
542,
5988,
12,
588,
1210,
1630,
7675,
2107,
2498,
1435,
300,
404,
1769,
565,
364,
261,
474,
277,
273,
12353,
1630,
7675,
2107,
2498,
1435,
300,
404,
31,
277,
1545,
374,
31,
277,
413,
13,
288,
1377,
309,
261,
81,
67,
9242,
8011,
18,
291,
25277,
12,
77,
13,
3196,
225,
597,
261,
588,
1210,
1630,
7675,
4589,
12,
77,
2934,
723,
1435,
480,
3601,
18,
22998,
3719,
288,
202,
12849,
394,
1185,
2932,
7416,
1677,
1297,
506,
777,
6389,
8863,
1377,
289,
565,
289,
565,
368,
1788,
326,
876,
1613,
2
] |
currentPage.getSourceBytes(viewMode);
|
public void actionPerformed (ActionEvent evt) { String command = evt.getActionCommand(); try { Navigation navigation = (Navigation) browserControl.queryInterface(BrowserControl.NAVIGATION_NAME); CurrentPage currentPage = (CurrentPage) browserControl.queryInterface(BrowserControl.CURRENT_PAGE_NAME); History history = (History) browserControl.queryInterface(BrowserControl.HISTORY_NAME); if (evt.getSource() instanceof MenuItem) { if (command.equals("New Window")) { creator.CreateEMWindow(); } else if (command.equals("Close")) { System.out.println("Got windowClosing"); System.out.println("destroying the BrowserControl"); EMWindow.this.delete(); // should close the BrowserControlCanvas creator.DestroyEMWindow(winNum); } else if (command.equals("Find")) { if (null == findDialog) { Frame f = new Frame(); f.setSize(350,150); findDialog = new FindDialog(this, this, "Find in Page", "Find ", "", 20, false); findDialog.setModal(false); } findDialog.setVisible(true); // currentPage.findInPage("Sun", true, true); } else if (command.equals("Find Next")) { currentPage.findNextInPage(false); } else if (command.equals("View Page Source")) { // currentPage.getSourceBytes(viewMode); viewMode = !viewMode; } } else if(command.equals("Stop")) { navigation.stop(); } else if (command.equals("Refresh")) { navigation.refresh(Navigation.LOAD_NORMAL); } else if (command.equals("Bookmarks")) { if (null == bookmarksTree) { bookmarksTree = bookmarks.getBookmarks(); } if (null == bookmarksFrame) { bookmarksFrame = new BookmarksFrame(bookmarksTree); bookmarksFrame.setSize(new Dimension(320,480)); } bookmarksFrame.setVisible(true); } else if (command.equals("Back")) { if (history.canBack()) { history.back(); } } else if (command.equals("Forward")) { if (history.canForward()) { history.forward(); } } else { navigation.loadURL(urlField.getText()); } } catch (Exception e) { System.out.println(e.getMessage()); } } // actionPerformed()
|
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/55f6239e80344caf55de082692e4e69177c326dc/EMWindow.java/clean/java/webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
15117,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
1071,
2972,
1964,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
918,
2972,
1964,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
26100,
2972,
1964,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
261,
1803,
1133,
2972,
1964,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
6324,
13,
2972,
1964,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
288,
2972,
1964,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
15117,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
15117,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
15117,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
225,
202,
780,
2972,
1964,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
1296,
2972,
1964,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
273,
2972,
1964,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
6324,
18,
588,
1803,
2189,
5621,
202,
2972,
1964,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
15117,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
15117,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
15117,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
15117,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
15117,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
15117,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
15117,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
775,
2972,
1964,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
288,
2972,
1964,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
15117,
18,
588,
1830,
2160,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
15117,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
1071,
2972,
1964,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
918,
2972,
1964,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
26100,
2972,
1964,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
261,
1803,
1133,
2972,
1964,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
6324,
13,
2972,
1964,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
288,
2972,
1964,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
15117,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
15117,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
15117,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
225,
202,
780,
2972,
1964,
18,
588,
1830,
2160,
12,
1945,
2309,
1769,
1296,
2
] |
|
System.out.println("rebuilding editor header");
|
public void rebuild() { System.out.println("rebuilding editor header"); rebuildMenu(); repaint(); }
|
8833 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8833/377b009d8ad57f3c7591da68693cb54166023190/PdeEditorHeader.java/clean/app/PdeEditorHeader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
13419,
1435,
288,
3639,
13419,
4599,
5621,
377,
24962,
5621,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
13419,
1435,
288,
3639,
13419,
4599,
5621,
377,
24962,
5621,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
if ((kind == IASTExpression.Kind.POSTFIX_DOT_IDEXPRESSION) || (kind == IASTExpression.Kind.POSTFIX_ARROW_IDEXPRESSION)){
|
if((kind == IASTExpression.Kind.POSTFIX_DOT_IDEXPRESSION) || (kind == IASTExpression.Kind.POSTFIX_ARROW_IDEXPRESSION) || (kind == IASTExpression.Kind.POSTFIX_DOT_TEMPL_IDEXPRESS) || (kind == IASTExpression.Kind.POSTFIX_ARROW_TEMPL_IDEXP) || (kind == IASTExpression.Kind.PM_DOTSTAR) || (kind == IASTExpression.Kind.PM_ARROWSTAR) ){
|
public IASTExpression createExpression( IASTScope scope, Kind kind, IASTExpression lhs, IASTExpression rhs, IASTExpression thirdExpression, ITokenDuple typeId, String literal, IASTNewExpressionDescriptor newDescriptor) throws ASTSemanticException { List references = new ArrayList(); getExpressionReferences(lhs, references); getExpressionReferences(rhs, references); getExpressionReferences(thirdExpression,references); // add newDescriptor's references & add to references // if there is a newDescriptor, check related expressions if(newDescriptor != null){ Iterator i = newDescriptor.getNewPlacementExpressions(); while (i.hasNext()){ getExpressionReferences((IASTExpression)i.next(), references); } i = newDescriptor.getNewTypeIdExpressions(); while (i.hasNext()){ getExpressionReferences((IASTExpression)i.next(), references); } i = newDescriptor.getNewInitializerExpressions(); while (i.hasNext()){ getExpressionReferences((IASTExpression)i.next(), references); } } //look up id & add to references IContainerSymbol startingScope = scopeToSymbol( scope ); //look up typeId & add to references ISymbol symbol = null; if( typeId != null ){ symbol = lookupQualifiedName( startingScope, typeId, references, false ); } // "a.m" or "a->m : lookup m in the scope of the declaration of a if ((kind == IASTExpression.Kind.POSTFIX_DOT_IDEXPRESSION) || (kind == IASTExpression.Kind.POSTFIX_ARROW_IDEXPRESSION)){ TypeInfo lhsInfo = (TypeInfo) ((ASTExpression)lhs).getResultType().iterator().next(); ISymbol containingScope = (ISymbol) lhsInfo.getTypeSymbol().getTypeSymbol(); if(containingScope != null){ symbol = lookupQualifiedName((IContainerSymbol)containingScope, ((ASTExpression)rhs).getTypeId() , references, false); } } // go up the scope until you hit a class if (kind == IASTExpression.Kind.PRIMARY_THIS){ ASTScope parentScope = (ASTScope)scope; while (!(parentScope instanceof IASTClassSpecifier) ) { parentScope = (ASTScope)((ASTScope)parentScope).getOwnerScope(); } if(parentScope instanceof IASTClassSpecifier) symbol = parentScope.getSymbol(); } if (kind == IASTExpression.Kind.POSTFIX_FUNCTIONCALL){ ITokenDuple functionId = ((ASTExpression)lhs).getTypeId(); List parameters = ((ASTExpression)rhs).getResultType(); symbol = lookupQualifiedName(startingScope, functionId, TypeInfo.t_function, parameters, references, false); } ASTExpression expression = new ASTExpression( kind, lhs, rhs, thirdExpression, typeId, literal, newDescriptor, references); expression.setResultType (getExpressionResultType(expression, symbol)); return expression; }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/43d8ca642dcf39008a1037335b67f7d151dcf5e7/CompleteParseASTFactory.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ast/complete/CompleteParseASTFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
467,
9053,
2300,
752,
2300,
12,
3639,
467,
9053,
3876,
2146,
16,
3639,
5851,
3846,
16,
3639,
467,
9053,
2300,
8499,
16,
3639,
467,
9053,
2300,
7711,
16,
3639,
467,
9053,
2300,
12126,
2300,
16,
3639,
467,
1345,
40,
2268,
24361,
16,
3639,
514,
7158,
16,
467,
9053,
1908,
2300,
3187,
394,
3187,
13,
1216,
9183,
13185,
9941,
503,
565,
288,
377,
202,
682,
5351,
273,
394,
2407,
5621,
1377,
202,
3639,
16183,
8221,
12,
80,
4487,
16,
5351,
1769,
3639,
16183,
8221,
12,
86,
4487,
16,
5351,
1769,
3639,
16183,
8221,
12,
451,
6909,
2300,
16,
14353,
1769,
377,
1082,
202,
759,
527,
394,
3187,
1807,
5351,
473,
527,
358,
5351,
377,
202,
759,
309,
1915,
353,
279,
394,
3187,
16,
866,
3746,
8041,
377,
202,
430,
12,
2704,
3187,
480,
446,
15329,
377,
202,
202,
3198,
277,
225,
273,
394,
3187,
18,
588,
1908,
12420,
8927,
5621,
1082,
202,
17523,
261,
77,
18,
5332,
2134,
10756,
95,
9506,
202,
588,
2300,
8221,
12443,
45,
9053,
2300,
13,
77,
18,
4285,
9334,
5351,
1769,
377,
9506,
377,
202,
202,
97,
1082,
202,
77,
225,
273,
394,
3187,
18,
588,
1908,
11731,
8927,
5621,
1082,
202,
17523,
261,
77,
18,
5332,
2134,
10756,
95,
9506,
202,
588,
2300,
8221,
12443,
45,
9053,
2300,
13,
77,
18,
4285,
9334,
5351,
1769,
377,
25083,
202,
97,
1082,
202,
77,
225,
273,
394,
3187,
18,
588,
1908,
14729,
8927,
5621,
1082,
202,
17523,
261,
77,
18,
5332,
2134,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
467,
9053,
2300,
752,
2300,
12,
3639,
467,
9053,
3876,
2146,
16,
3639,
5851,
3846,
16,
3639,
467,
9053,
2300,
8499,
16,
3639,
467,
9053,
2300,
7711,
16,
3639,
467,
9053,
2300,
12126,
2300,
16,
3639,
467,
1345,
40,
2268,
24361,
16,
3639,
514,
7158,
16,
467,
9053,
1908,
2300,
3187,
394,
3187,
13,
1216,
9183,
13185,
9941,
503,
565,
288,
377,
202,
682,
5351,
273,
394,
2407,
5621,
1377,
202,
3639,
16183,
8221,
12,
80,
4487,
16,
5351,
1769,
3639,
16183,
8221,
12,
86,
4487,
16,
5351,
1769,
3639,
16183,
8221,
12,
451,
6909,
2300,
16,
14353,
1769,
377,
1082,
202,
759,
527,
394,
3187,
1807,
5351,
473,
527,
358,
5351,
377,
202,
759,
309,
1915,
2
] |
if( dso != null && dso.getType() != Constants.ITEM )
|
if( dso != null && dso.getType() == Constants.ITEM )
|
protected void doDSPost(Context c, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException, AuthorizeException { String button = UIUtil.getSubmitButton(request, "submit"); if( button.equals("submit_collection") ) { // select a collection to work on Collection [] collections = Collection.findAll(c); request.setAttribute("collections", collections); JSPManager.showJSP(request, response, "/admin/collection-select.jsp" ); } else if( button.equals("submit_community") ) { // select a community to work on Community [] communities = Community.findAll(c); request.setAttribute("communities", communities); JSPManager.showJSP(request, response, "/admin/community-select.jsp" ); } else if( button.equals("submit_advanced") ) { // select a collections to work on Collection [] collections = Collection.findAll(c); Group [] groups = Group.findAll(c, Group.NAME); request.setAttribute("collections", collections); request.setAttribute("groups", groups ); JSPManager.showJSP(request, response, "/admin/authorize-advanced.jsp" ); } else if( button.equals("submit_item") ) { // select an item to work on JSPManager.showJSP(request, response, "/admin/item-select.jsp" ); } // ITEMS //////////////////////////////////////////////////// else if( button.equals("submit_item_select") ) { Item item = null; int item_id = UIUtil.getIntParameter ( request, "item_id"); String handle = request.getParameter ( "handle" ); // if id is set, use it if( item_id > 0 ) { item = Item.find(c, item_id); } else if(handle != null && !handle.equals("")) { // otherwise, attempt to resolve handle DSpaceObject dso = HandleManager.resolveToObject(c, handle); // make sure it's an item if( dso != null && dso.getType() != Constants.ITEM ) { item = (Item) dso; } } // no item set yet, failed ID & handle, ask user to try again if( item == null ) { request.setAttribute("invalid.id", new Boolean(true)); JSPManager.showJSP(request, response, "/admin/item-select.jsp"); } else { // show edit form! List item_policies = AuthorizeManager.getPolicies(c, item); request.setAttribute("item", item); request.setAttribute("item_policies", item_policies ); JSPManager.showJSP(request, response, "/admin/authorize-item-edit.jsp" ); } } else if( button.equals( "submit_item_add_policy") ) { // want to add a policy, create an empty one and invoke editor Item item = Item.find(c, UIUtil.getIntParameter(request, "item_id")); ResourcePolicy policy = ResourcePolicy.create(c); policy.setResource( item ); policy.update(); Group [] groups = Group.findAll (c, Group.NAME ); EPerson [] epeople = EPerson.findAll(c, EPerson.EMAIL); // return to item permission page request.setAttribute( "edit_title", "Item " + item.getID() ); request.setAttribute( "policy", policy ); request.setAttribute( "groups", groups ); request.setAttribute( "epeople", epeople ); request.setAttribute( "id_name", "item_id" ); request.setAttribute( "id", "" + item.getID() ); JSPManager.showJSP(request, response, "/admin/authorize-policy-edit.jsp" ); } else if( button.equals("submit_item_delete_policy") ) { // delete a permission from an item Item item = Item.find(c, UIUtil.getIntParameter(request, "item_id")); ResourcePolicy policy = ResourcePolicy.find(c, UIUtil.getIntParameter(request, "policy_id")); // do the remove policy.delete(); // return to collection permission page request.setAttribute("item", item ); List item_policies = AuthorizeManager.getPolicies(c, item); request.setAttribute("item_policies", item_policies); JSPManager.showJSP(request, response, "/admin/authorize-item-edit.jsp" ); } // COLLECTIONS //////////////////////////////////////////////////////// else if( button.equals( "submit_collection_add_policy") ) { // want to add a policy, create an empty one and invoke editor Collection collection = Collection.find(c, UIUtil.getIntParameter(request, "collection_id")); ResourcePolicy policy = ResourcePolicy.create(c); policy.setResource( collection ); policy.update(); Group [] groups = Group.findAll (c, Group.NAME ); EPerson [] epeople = EPerson.findAll(c, EPerson.EMAIL); // return to collection permission page request.setAttribute( "edit_title", "Collection " + collection.getID() ); request.setAttribute( "policy", policy ); request.setAttribute( "groups", groups ); request.setAttribute( "epeople", epeople ); request.setAttribute( "id_name", "collection_id" ); request.setAttribute( "id", "" + collection.getID() ); JSPManager.showJSP(request, response, "/admin/authorize-policy-edit.jsp" ); } else if( button.equals("submit_community_select") ) { // edit the collection's permissions Community target = Community.find(c, UIUtil.getIntParameter(request, "community_id")); List policies = AuthorizeManager.getPolicies(c, target); request.setAttribute("community", target ); request.setAttribute("policies", policies ); JSPManager.showJSP(request, response, "/admin/authorize-community-edit.jsp" ); } else if( button.equals("submit_collection_delete_policy") ) { // delete a permission from a collection Collection collection = Collection.find(c, UIUtil.getIntParameter(request, "collection_id")); ResourcePolicy policy = ResourcePolicy.find(c, UIUtil.getIntParameter(request, "policy_id")); // do the remove policy.delete(); // return to collection permission page request.setAttribute("collection", collection ); List policies = AuthorizeManager.getPolicies(c, collection); request.setAttribute("policies", policies); JSPManager.showJSP(request, response, "/admin/authorize-collection-edit.jsp" ); } else if( button.equals("submit_community_delete_policy") ) { // delete a permission from a community Community community = Community.find(c, UIUtil.getIntParameter(request, "community_id")); ResourcePolicy policy = ResourcePolicy.find(c, UIUtil.getIntParameter(request, "policy_id")); // do the remove policy.delete(); // return to collection permission page request.setAttribute("community", community ); List policies = AuthorizeManager.getPolicies(c, community); request.setAttribute("policies", policies); JSPManager.showJSP(request, response, "/admin/authorize-community-edit.jsp" ); } else if( button.equals("submit_collection_edit_policy") ) { // edit a collection's policy - set up and call policy editor Collection collection = Collection.find(c, UIUtil.getIntParameter(request, "collection_id")); int policy_id = UIUtil.getIntParameter(request, "policy_id"); ResourcePolicy policy = null; if( policy_id == -1 ) { // create new policy policy = ResourcePolicy.create(c); policy.setResource( collection ); policy.update(); } else { policy = ResourcePolicy.find(c, policy_id); } Group [] groups = Group.findAll(c, Group.NAME); EPerson [] epeople = EPerson.findAll(c, EPerson.EMAIL); // return to collection permission page request.setAttribute( "edit_title", "Collection " + collection.getID() ); request.setAttribute( "policy", policy ); request.setAttribute( "groups", groups ); request.setAttribute( "epeople", epeople ); request.setAttribute( "id_name", "collection_id" ); request.setAttribute( "id", "" + collection.getID() ); JSPManager.showJSP(request, response, "/admin/authorize-policy-edit.jsp" ); } else if( button.equals("submit_community_edit_policy") ) { // edit a community's policy - set up and call policy editor Community community = Community.find(c, UIUtil.getIntParameter(request, "community_id")); int policy_id = UIUtil.getIntParameter(request, "policy_id"); ResourcePolicy policy = null; if( policy_id == -1 ) { // create new policy policy = ResourcePolicy.create(c); policy.setResource( community ); policy.update(); } else { policy = ResourcePolicy.find(c, policy_id); } Group [] groups = Group.findAll (c, Group.NAME ); EPerson [] epeople = EPerson.findAll(c, EPerson.EMAIL); // return to collection permission page request.setAttribute( "edit_title", "Community " + community.getID() ); request.setAttribute( "policy", policy ); request.setAttribute( "groups", groups ); request.setAttribute( "epeople", epeople ); request.setAttribute( "id_name", "community_id" ); request.setAttribute( "id", "" + community.getID() ); JSPManager.showJSP(request, response, "/admin/authorize-policy-edit.jsp" ); } else if( button.equals( "submit_collection_add_policy") ) { // want to add a policy, create an empty one and invoke editor Collection collection = Collection.find(c, UIUtil.getIntParameter(request, "collection_id")); ResourcePolicy policy = ResourcePolicy.create(c); policy.setResource( collection ); policy.update(); Group [] groups = Group.findAll (c, Group.NAME ); EPerson [] epeople = EPerson.findAll(c, EPerson.EMAIL); // return to collection permission page request.setAttribute( "edit_title", "Collection " + collection.getID() ); request.setAttribute( "policy", policy ); request.setAttribute( "groups", groups ); request.setAttribute( "epeople", epeople ); request.setAttribute( "id_name", "collection_id" ); request.setAttribute( "id", "" + collection.getID() ); JSPManager.showJSP(request, response, "/admin/authorize-policy-edit.jsp" ); } else if( button.equals( "submit_community_add_policy") ) { // want to add a policy, create an empty one and invoke editor Community community = Community.find(c, UIUtil.getIntParameter(request, "community_id")); ResourcePolicy policy = ResourcePolicy.create(c); policy.setResource( community ); policy.update(); Group [] groups = Group.findAll (c, Group.NAME ); EPerson [] epeople = EPerson.findAll(c, EPerson.EMAIL); // return to collection permission page request.setAttribute( "edit_title", "Community " + community.getID() ); request.setAttribute( "policy", policy ); request.setAttribute( "groups", groups ); request.setAttribute( "epeople", epeople ); request.setAttribute( "id_name", "community_id" ); request.setAttribute( "id", "" + community.getID() ); JSPManager.showJSP(request, response, "/admin/authorize-policy-edit.jsp" ); } else if( button.equals( "submit_save_policy" ) ) { int policy_id = UIUtil.getIntParameter(request, "policy_id" ); int action_id = UIUtil.getIntParameter(request, "action_id" ); int group_id = UIUtil.getIntParameter(request, "group_id" ); int collection_id = UIUtil.getIntParameter(request, "collection_id"); int community_id = UIUtil.getIntParameter(request, "community_id" ); int item_id = UIUtil.getIntParameter(request, "item_id" ); Item item = null; Collection collection = null; Community community = null; String display_page = null; ResourcePolicy policy = ResourcePolicy.find(c, policy_id); Group group = Group.find(c, group_id); if( collection_id != -1 ) { collection = Collection.find( c, collection_id ); // modify the policy policy.setAction ( action_id ); policy.setGroup ( group ); policy.update(); // if it is a read, policy, modify the logo policy to match if( action_id == Constants.READ ) { // first get a list of READ policies from collection List rps = AuthorizeManager.getPoliciesActionFilter(c, collection, Constants.READ); // remove all bitstream policies, then add READs Bitstream bs = collection.getLogo(); if( bs != null ) { AuthorizeManager.removeAllPolicies(c, bs); AuthorizeManager.addPolicies(c, rps, bs); } } // set up page attributes request.setAttribute("collection", collection ); request.setAttribute("policies", AuthorizeManager.getPolicies( c, collection ) ); display_page = "/admin/authorize-collection-edit.jsp"; } else if( community_id != -1 ) { community = Community.find( c, community_id ); // modify the policy policy.setAction ( action_id ); policy.setGroup ( group ); policy.update(); // if it is a read, policy, modify the logo policy to match if( action_id == Constants.READ ) { // first get a list of READ policies from collection List rps = AuthorizeManager.getPoliciesActionFilter(c, community, Constants.READ); // remove all bitstream policies, then add READs Bitstream bs = community.getLogo(); if( bs != null ) { AuthorizeManager.removeAllPolicies(c, bs); AuthorizeManager.addPolicies(c, rps, bs); } } // set up page attributes request.setAttribute("community", community ); request.setAttribute("policies", AuthorizeManager.getPolicies( c, community ) ); display_page = "/admin/authorize-community-edit.jsp"; } else if( item_id != -1 ) { item = Item.find( c, item_id ); // modify the policy policy.setAction ( action_id ); policy.setGroup ( group ); policy.update(); // set up page attributes request.setAttribute("item", item ); request.setAttribute("item_policies", AuthorizeManager.getPolicies( c, item ) ); display_page = "/admin/authorize-item-edit.jsp"; } // now return to previous state JSPManager.showJSP( request, response, display_page ); } else if( button.equals("submit_cancel_policy") ) { // return to the previous page int collection_id =UIUtil.getIntParameter (request, "collection_id"); int community_id =UIUtil.getIntParameter (request, "community_id" ); String display_page = null; if( collection_id != -1 ) { // set up for return to collection edit page Collection t = Collection.find( c, collection_id ); request.setAttribute("collection", t ); request.setAttribute("policies", AuthorizeManager.getPolicies( c, t ) ); display_page = "/admin/authorize-collection-edit.jsp"; } else if( community_id != -1 ) { // set up for return to community edit page Community t = Community.find( c, community_id ); request.setAttribute("community", t ); request.setAttribute("policies", AuthorizeManager.getPolicies( c, t ) ); display_page = "/admin/authorize-community-edit.jsp"; } JSPManager.showJSP(request, response, display_page ); } else if (button.equals("submit_advanced_clear")) { // remove all policies for a set of objects int collection_id = UIUtil.getIntParameter (request, "collection_id"); int resource_type = UIUtil.getIntParameter (request, "resource_type"); // if it's to bitstreams, do it to bundles too PolicySet.setPolicies(c, Constants.COLLECTION, collection_id, resource_type, 0, 0, false, true); if( resource_type == Constants.BITSTREAM ) { PolicySet.setPolicies(c, Constants.COLLECTION, collection_id, Constants.BUNDLE, 0, 0, false, true); } // return to the main page showMainPage(c, request, response); } else if (button.equals("submit_advanced_add")) { // add a policy to a set of objects int collection_id = UIUtil.getIntParameter (request, "collection_id"); int resource_type = UIUtil.getIntParameter (request, "resource_type"); int action_id = UIUtil.getIntParameter (request, "action_id" ); int group_id = UIUtil.getIntParameter (request, "group_id" ); PolicySet.setPolicies(c, Constants.COLLECTION, collection_id, resource_type, action_id, group_id, false, false); // if it's a bitstream, do it to the bundle too if( resource_type == Constants.BITSTREAM ) { PolicySet.setPolicies(c, Constants.COLLECTION, collection_id, Constants.BUNDLE, action_id, group_id, false, false); } // return to the main page showMainPage(c, request, response); } else if( button.equals("submit_collection_select") ) { // edit the collection's permissions Collection collection = Collection.find(c, UIUtil.getIntParameter(request, "collection_id")); List policies = AuthorizeManager.getPolicies(c, collection); request.setAttribute("collection", collection ); request.setAttribute("policies", policies ); JSPManager.showJSP(request, response, "/admin/authorize-collection-edit.jsp" ); } else { // return to the main page showMainPage(c, request, response); } c.complete(); }
|
25205 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25205/211e026eb6ab77436e4b61da324cbd1836bbe05a/AuthorizeAdminServlet.java/clean/dspace/src/org/dspace/app/webui/servlet/admin/AuthorizeAdminServlet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
741,
40,
3118,
669,
12,
1042,
276,
16,
10792,
9984,
590,
16,
12446,
766,
13,
3639,
1216,
16517,
16,
1860,
16,
6483,
16,
23859,
503,
565,
288,
3639,
514,
3568,
273,
6484,
1304,
18,
588,
11620,
3616,
12,
2293,
16,
315,
9297,
8863,
3639,
309,
12,
3568,
18,
14963,
2932,
9297,
67,
5548,
7923,
262,
3639,
288,
5411,
368,
2027,
279,
1849,
358,
1440,
603,
5411,
2200,
5378,
6980,
273,
2200,
18,
4720,
1595,
12,
71,
1769,
10792,
590,
18,
542,
1499,
2932,
19246,
3113,
6980,
1769,
5411,
804,
3118,
1318,
18,
4500,
46,
3118,
12,
2293,
16,
766,
16,
2206,
3666,
19,
5548,
17,
4025,
18,
24926,
6,
11272,
3639,
289,
3639,
469,
309,
12,
3568,
18,
14963,
2932,
9297,
67,
20859,
7923,
262,
3639,
288,
5411,
368,
2027,
279,
19833,
358,
1440,
603,
5411,
16854,
13352,
5378,
8391,
1961,
273,
16854,
13352,
18,
4720,
1595,
12,
71,
1769,
13491,
590,
18,
542,
1499,
2932,
5702,
318,
1961,
3113,
8391,
1961,
1769,
5411,
804,
3118,
1318,
18,
4500,
46,
3118,
12,
2293,
16,
766,
16,
2206,
3666,
19,
20859,
17,
4025,
18,
24926,
6,
11272,
10792,
289,
3639,
469,
309,
12,
3568,
18,
14963,
2932,
9297,
67,
27080,
7923,
262,
3639,
288,
5411,
368,
2027,
279,
6980,
358,
1440,
603,
5411,
2200,
5378,
6980,
273,
2200,
18,
4720,
1595,
12,
71,
1769,
5411,
3756,
1377,
5378,
3252,
1377,
273,
3756,
18,
4720,
1595,
12,
71,
16,
3756,
18,
1985,
1769,
13491,
590,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
741,
40,
3118,
669,
12,
1042,
276,
16,
10792,
9984,
590,
16,
12446,
766,
13,
3639,
1216,
16517,
16,
1860,
16,
6483,
16,
23859,
503,
565,
288,
3639,
514,
3568,
273,
6484,
1304,
18,
588,
11620,
3616,
12,
2293,
16,
315,
9297,
8863,
3639,
309,
12,
3568,
18,
14963,
2932,
9297,
67,
5548,
7923,
262,
3639,
288,
5411,
368,
2027,
279,
1849,
358,
1440,
603,
5411,
2200,
5378,
6980,
273,
2200,
18,
4720,
1595,
12,
71,
1769,
10792,
590,
18,
542,
1499,
2932,
19246,
3113,
6980,
1769,
5411,
804,
3118,
1318,
18,
4500,
46,
3118,
12,
2293,
16,
766,
16,
2206,
3666,
19,
5548,
17,
4025,
18,
24926,
6,
11272,
3639,
289,
3639,
469,
309,
12,
2
] |
return RubyFixnum.newFixnum(getRuntime(),
|
return getRuntime().newFixnum(
|
public RubyFixnum op_cmp(IRubyObject obj) { if (this == obj) { return RubyFixnum.newFixnum(getRuntime(), 0); } if (!(obj instanceof RubyModule)) { throw new TypeError( getRuntime(), "<=> requires Class or Module (" + getMetaClass().getName() + " given)"); } return RubyFixnum.newFixnum(getRuntime(), op_le(obj).isTrue() ? -1 : 1); }
|
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyModule.java/buggy/src/org/jruby/RubyModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
8585,
2107,
1061,
67,
9625,
12,
7937,
10340,
921,
1081,
13,
288,
3639,
309,
261,
2211,
422,
1081,
13,
288,
5411,
327,
18814,
7675,
2704,
8585,
2107,
12,
374,
1769,
3639,
289,
3639,
309,
16051,
12,
2603,
1276,
19817,
3120,
3719,
288,
5411,
604,
394,
3580,
12,
7734,
18814,
9334,
7734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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
8585,
2107,
1061,
67,
9625,
12,
7937,
10340,
921,
1081,
13,
288,
3639,
309,
261,
2211,
422,
1081,
13,
288,
5411,
327,
18814,
7675,
2704,
8585,
2107,
12,
374,
1769,
3639,
289,
3639,
309,
16051,
12,
2603,
1276,
19817,
3120,
3719,
288,
5411,
604,
394,
3580,
12,
7734,
18814,
9334,
7734,
3532,
9207,
4991,
1659,
578,
5924,
7566,
397,
11312,
797,
7675,
17994,
1435,
397,
315,
864,
2225,
1769,
3639,
289,
3639,
327,
18814,
7675,
2704,
8585,
2107,
12,
1171,
1061,
67,
298,
12,
2603,
2934,
291,
5510,
1435,
692,
300,
21,
294,
404,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public abstract BeanInfo[] getAdditionalBeanInfo();
|
BeanInfo[] getAdditionalBeanInfo();
|
public abstract BeanInfo[] getAdditionalBeanInfo();
|
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/b37b39a8e8ee762cc74efa7e8d06368d13147150/BeanInfo.java/buggy/libraries/javalib/java/beans/BeanInfo.java
|
[
1,
8585,
326,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
8770,
7704,
966,
8526,
26660,
3381,
966,
5621,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
} else if (left.getInternalClass().isMethodBound(iVisited.getName(), 1)) {
|
} else if (left.getInternalClass().isMethodBound(iVisited.getName(), true)) {
|
public void visitColon2Node(Colon2Node iVisited) { try { IRubyObject left = EvaluateVisitor.createVisitor(self).eval(iVisited.getLeftNode()); if (left instanceof RubyModule) { if (((RubyModule)left).isConstantDefinedAt(iVisited.getName())) { definition = "constant"; } } else if (left.getInternalClass().isMethodBound(iVisited.getName(), 1)) { definition = "method"; } } catch (JumpException excptn) { } }
|
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/f05423516c2d1bfe54c4363eedb9654f7cfb6898/DefinedVisitor.java/buggy/org/jruby/evaluator/DefinedVisitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
19636,
22,
907,
12,
19636,
22,
907,
277,
30019,
13,
288,
3639,
775,
288,
5411,
15908,
10340,
921,
2002,
273,
18176,
7413,
18,
2640,
7413,
12,
2890,
2934,
8622,
12,
77,
30019,
18,
588,
3910,
907,
10663,
5411,
309,
261,
4482,
1276,
19817,
3120,
13,
288,
7734,
309,
261,
12443,
54,
10340,
3120,
13,
4482,
2934,
291,
6902,
8116,
861,
12,
77,
30019,
18,
17994,
1435,
3719,
288,
10792,
2379,
273,
315,
14384,
14432,
7734,
289,
5411,
289,
469,
309,
261,
4482,
18,
588,
3061,
797,
7675,
291,
1305,
3499,
12,
77,
30019,
18,
17994,
9334,
638,
3719,
288,
7734,
2379,
273,
315,
2039,
14432,
5411,
289,
3639,
289,
1044,
261,
26743,
503,
3533,
337,
82,
13,
288,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
775,
288,
5411,
15908,
10340,
921,
2002,
273,
18176,
7413,
18,
2640,
7413,
12,
2890,
2934,
8622,
12,
77,
30019,
18,
588,
3910,
907,
10663,
5411,
309,
261,
4482,
1276,
19817,
3120,
13,
288,
7734,
309,
261,
12443,
54,
10340,
3120,
13,
4482,
2934,
291,
6902,
8116,
861,
12,
77,
30019,
18,
17994,
1435,
3719,
288,
10792,
2379,
273,
315,
14384,
14432,
7734,
289,
5411,
289,
469,
309,
261,
4482,
18,
588,
3061,
797,
7675,
291,
1305,
3499,
12,
77,
30019,
18,
17994,
9334,
638,
3719,
288,
7734,
2379,
273,
315,
2039,
14432,
5411,
289,
3639,
289,
1044,
261,
26743,
503,
3533,
337,
2
] |
return request;
|
Log.log(Log.DEBUG,this,"getNextAWTRequest() returning " + request); StringBuffer buf = new StringBuffer("AWT request queue is now: "); Request _request = request.next; while(_request != null) { buf.append(_request.id); if(_request.next != null) buf.append(","); _request = _request.next; } Log.log(Log.DEBUG,this,buf.toString()); return request; }
|
private Request getNextAWTRequest() { // no need to sync on lock since our only caller already // does it Request request = firstAWTRequest; firstAWTRequest = firstAWTRequest.next; if(firstAWTRequest == null) lastAWTRequest = null; if(request.alreadyRun) throw new InternalError("AIEE!!! Request run twice!!! " + request.run); request.alreadyRun = true; return request; }
|
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/0641755239ebbd402c45cc9facc53e63fc9e1c41/WorkThread.java/buggy/org/gjt/sp/util/WorkThread.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1567,
6927,
37,
8588,
691,
1435,
202,
95,
202,
202,
759,
1158,
1608,
358,
3792,
603,
2176,
3241,
3134,
1338,
4894,
1818,
202,
202,
759,
1552,
518,
202,
202,
691,
590,
273,
1122,
37,
8588,
691,
31,
202,
202,
3645,
37,
8588,
691,
273,
1122,
37,
8588,
691,
18,
4285,
31,
202,
202,
430,
12,
3645,
37,
8588,
691,
422,
446,
13,
1082,
202,
2722,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1567,
6927,
37,
8588,
691,
1435,
202,
95,
202,
202,
759,
1158,
1608,
358,
3792,
603,
2176,
3241,
3134,
1338,
4894,
1818,
202,
202,
759,
1552,
518,
202,
202,
691,
590,
273,
1122,
37,
8588,
691,
31,
202,
202,
3645,
37,
8588,
691,
273,
1122,
37,
8588,
691,
18,
4285,
31,
202,
202,
430,
12,
3645,
37,
8588,
691,
422,
446,
13,
1082,
202,
2722,
37,
8588,
691,
273,
446,
31,
202,
202,
430,
12,
2293,
18,
17583,
1997,
13,
9506,
202,
12849,
394,
3186,
668,
2932,
37,
8732,
41,
25885,
1567,
1086,
13605,
25885,
315,
397,
590,
18,
2681,
1769,
1082,
202,
2293,
18,
17583,
1997,
273,
638,
31,
202,
202,
2463,
590,
31,
202,
2
] |
OpenCms.getLog(CmsLog.CHANNEL_INIT).info(". Properties on struct : " + (m_defaultPropertiesOnStructure?"true":"false")); }
|
OpenCms.getLog(CmsLog.CHANNEL_INIT).info( ". Properties on struct : " + (m_defaultPropertiesOnStructure ? "true" : "false")); }
|
public void setDefaultPropertiesOnStructure(String defaultPropertiesOnStructure) { m_defaultPropertiesOnStructure = Boolean.valueOf(defaultPropertiesOnStructure).booleanValue(); if (OpenCms.getLog(CmsLog.CHANNEL_INIT).isInfoEnabled()) { OpenCms.getLog(CmsLog.CHANNEL_INIT).info(". Properties on struct : " + (m_defaultPropertiesOnStructure?"true":"false")); } }
|
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/09bcb6a947e23be7c0069d1828218e012fe628ab/CmsWorkplaceManager.java/buggy/src/org/opencms/workplace/CmsWorkplaceManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
9277,
2297,
1398,
6999,
12,
780,
805,
2297,
1398,
6999,
13,
288,
3639,
312,
67,
1886,
2297,
1398,
6999,
273,
3411,
18,
1132,
951,
12,
1886,
2297,
1398,
6999,
2934,
6494,
620,
5621,
3639,
309,
261,
3678,
4747,
18,
588,
1343,
12,
4747,
1343,
18,
15814,
67,
12919,
2934,
291,
966,
1526,
10756,
288,
5411,
10319,
18,
588,
1343,
12,
4747,
1343,
18,
15814,
67,
12919,
2934,
1376,
2932,
18,
6183,
603,
1958,
294,
315,
397,
261,
81,
67,
1886,
2297,
1398,
6999,
7225,
3767,
15563,
5743,
7923,
1769,
3639,
289,
6647,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
9277,
2297,
1398,
6999,
12,
780,
805,
2297,
1398,
6999,
13,
288,
3639,
312,
67,
1886,
2297,
1398,
6999,
273,
3411,
18,
1132,
951,
12,
1886,
2297,
1398,
6999,
2934,
6494,
620,
5621,
3639,
309,
261,
3678,
4747,
18,
588,
1343,
12,
4747,
1343,
18,
15814,
67,
12919,
2934,
291,
966,
1526,
10756,
288,
5411,
10319,
18,
588,
1343,
12,
4747,
1343,
18,
15814,
67,
12919,
2934,
1376,
2932,
18,
6183,
603,
1958,
294,
315,
397,
261,
81,
67,
1886,
2297,
1398,
6999,
7225,
3767,
15563,
5743,
7923,
1769,
3639,
289,
6647,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public NewWizardMenu(IMenuManager innerMgr, IWorkbenchWindow window, boolean register) { this(window); registerListeners(); fillMenu(innerMgr);
|
public NewWizardMenu(IWorkbenchWindow window) { this(window, null);
|
public NewWizardMenu(IMenuManager innerMgr, IWorkbenchWindow window, boolean register) { this(window); registerListeners(); fillMenu(innerMgr); // Must be done after constructor to ensure field initialization. }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/4d666e237f4c0a747a465687415f6e680755827f/NewWizardMenu.java/buggy/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/NewWizardMenu.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1166,
27130,
4599,
12,
3445,
2104,
1318,
3443,
9455,
16,
467,
2421,
22144,
3829,
2742,
16,
5411,
1250,
1744,
13,
288,
3639,
333,
12,
5668,
1769,
3639,
1744,
5583,
5621,
3639,
3636,
4599,
12,
7872,
9455,
1769,
3639,
368,
6753,
506,
2731,
1839,
3885,
358,
3387,
652,
10313,
18,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1166,
27130,
4599,
12,
3445,
2104,
1318,
3443,
9455,
16,
467,
2421,
22144,
3829,
2742,
16,
5411,
1250,
1744,
13,
288,
3639,
333,
12,
5668,
1769,
3639,
1744,
5583,
5621,
3639,
3636,
4599,
12,
7872,
9455,
1769,
3639,
368,
6753,
506,
2731,
1839,
3885,
358,
3387,
652,
10313,
18,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
private void createTaskDirectoryControl(Composite parent) { Group taskDirComposite= new Group(parent, SWT.SHADOW_ETCHED_IN); taskDirComposite.setText("Task Directory"); taskDirComposite.setLayout(new GridLayout(2, false)); taskDirComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); String taskDirectory = getPreferenceStore().getString(MylarPlugin.MYLAR_DIR); taskDirectory = taskDirectory.replaceAll("\\\\", "/"); taskDirectoryText = new Text(taskDirComposite, SWT.BORDER); taskDirectoryText.setText(taskDirectory); taskDirectoryText.setEditable(false); taskDirectoryText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); browse = createButton(taskDirComposite, "Browse..."); if (!MylarPlugin.getContextManager().hasActiveContext()) { browse.setEnabled(true); } else { browse.setEnabled(false); createLabel(taskDirComposite, "NOTE: if you have a task active, deactivate it before changing directories"); } browse.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { DirectoryDialog dialog = new DirectoryDialog(getShell()); dialog.setText("Folder Selection"); dialog.setMessage("Specify the folder for tasks"); String dir = taskDirectoryText.getText(); dir = dir.replaceAll("\\\\", "/"); dialog.setFilterPath(dir); dir = dialog.open(); if(dir == null || dir.equals("")) return; taskDirectoryText.setText(dir); } }); }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/21fb434eb8c4fd086a2dc9bc57a053aa6bcfc5c9/MylarTasklistPreferencePage.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/preferences/MylarTasklistPreferencePage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
6459,
2640,
2174,
2853,
3367,
12,
799,
1724,
881,
817,
15329,
202,
202,
43,
303,
3648,
835,
1621,
9400,
33,
2704,
1114,
12,
2938,
16,
55,
8588,
18,
2664,
1880,
7306,
67,
9235,
2056,
67,
706,
1769,
202,
202,
4146,
1621,
9400,
18,
542,
1528,
2932,
2174,
2853,
8863,
202,
202,
4146,
1621,
9400,
18,
542,
3744,
12,
2704,
6313,
3744,
12,
22,
16,
5743,
10019,
202,
202,
4146,
1621,
9400,
18,
542,
3744,
751,
12,
2704,
6313,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
10019,
202,
202,
780,
4146,
2853,
33,
588,
9624,
2257,
7675,
588,
780,
12,
12062,
7901,
3773,
18,
22114,
48,
985,
67,
4537,
1769,
202,
202,
4146,
2853,
33,
4146,
2853,
18,
2079,
1595,
2932,
13011,
15937,
4898,
1769,
202,
202,
4146,
2853,
1528,
33,
2704,
1528,
12,
4146,
1621,
9400,
16,
55,
8588,
18,
38,
7954,
1769,
9506,
202,
4146,
2853,
1528,
18,
542,
1528,
12,
4146,
2853,
1769,
202,
202,
4146,
2853,
1528,
18,
542,
15470,
12,
5743,
1769,
202,
202,
4146,
2853,
1528,
18,
542,
3744,
751,
12,
2704,
6313,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
10019,
25083,
202,
25731,
33,
2640,
3616,
12,
4146,
1621,
9400,
10837,
27304,
7070,
1769,
202,
202,
430,
12,
5,
12062,
7901,
3773,
18,
29120,
1318,
7675,
5332,
3896,
1042,
10756,
95,
1082,
202,
25731,
18,
542,
1526,
12,
3767,
1769,
202,
202,
97,
12107,
95,
1082,
202,
25731,
18,
542,
1526,
12,
5743,
1769,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
6459,
2640,
2174,
2853,
3367,
12,
799,
1724,
881,
817,
15329,
202,
202,
43,
303,
3648,
835,
1621,
9400,
33,
2704,
1114,
12,
2938,
16,
55,
8588,
18,
2664,
1880,
7306,
67,
9235,
2056,
67,
706,
1769,
202,
202,
4146,
1621,
9400,
18,
542,
1528,
2932,
2174,
2853,
8863,
202,
202,
4146,
1621,
9400,
18,
542,
3744,
12,
2704,
6313,
3744,
12,
22,
16,
5743,
10019,
202,
202,
4146,
1621,
9400,
18,
542,
3744,
751,
12,
2704,
6313,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
10019,
202,
202,
780,
4146,
2853,
33,
588,
9624,
2257,
7675,
588,
780,
12,
12062,
7901,
3773,
18,
22114,
48,
985,
67,
4537,
1769,
202,
202,
4146,
2853,
33,
2
] |
||
public String getFunctionName() { return this.functionName; }
|
5646 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5646/35dc200a52e3e2c26eade982e310f6c48668714d/DefaultFunctionCallExpr.java/buggy/src/java/main/org/jaxen/expr/DefaultFunctionCallExpr.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
780,
588,
25258,
1435,
95,
2463,
2211,
18,
915,
461,
31,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
780,
588,
25258,
1435,
95,
2463,
2211,
18,
915,
461,
31,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
if (featureId.regionMatches(prefixLength, Constants.SCHEMA_NORMALIZED_VALUE, 0, Constants.SCHEMA_NORMALIZED_VALUE.length())) {
|
if (suffixLength == Constants.SCHEMA_NORMALIZED_VALUE.length() && featureId.endsWith(Constants.SCHEMA_NORMALIZED_VALUE)) {
|
protected void checkFeature(String featureId) throws XMLConfigurationException { // // Xerces Features // if (featureId.startsWith(Constants.XERCES_FEATURE_PREFIX)) { final int prefixLength = Constants.XERCES_FEATURE_PREFIX.length(); // // http://apache.org/xml/features/validation/schema // Lets the user turn Schema validation support on/off. // if (featureId.regionMatches(prefixLength, Constants.SCHEMA_VALIDATION_FEATURE, 0, Constants.SCHEMA_VALIDATION_FEATURE.length())) { return; } // activate full schema checking if (featureId.regionMatches(prefixLength, Constants.SCHEMA_FULL_CHECKING, 0, Constants.SCHEMA_FULL_CHECKING.length())) { return; } // Feature identifier: expose schema normalized value // http://apache.org/xml/features/validation/schema/normalized-value if (featureId.regionMatches(prefixLength, Constants.SCHEMA_NORMALIZED_VALUE, 0, Constants.SCHEMA_NORMALIZED_VALUE.length())) { return; } // Feature identifier: send element default value via characters() // http://apache.org/xml/features/validation/schema/element-default if (featureId.regionMatches(prefixLength, Constants.SCHEMA_ELEMENT_DEFAULT, 0, Constants.SCHEMA_ELEMENT_DEFAULT.length())) { return; } } // // Not recognized // super.checkFeature(featureId); } // checkFeature(String)
|
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/aacbba39f5dbd01c43b10abf75b70f9b42cac473/StandardParserConfiguration.java/clean/src/org/apache/xerces/parsers/StandardParserConfiguration.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
866,
4595,
12,
780,
2572,
548,
13,
3639,
1216,
3167,
10737,
288,
3639,
368,
3639,
368,
1139,
264,
764,
28920,
3639,
368,
3639,
309,
261,
7238,
548,
18,
17514,
1190,
12,
2918,
18,
60,
654,
1441,
55,
67,
18257,
67,
6307,
3719,
288,
5411,
727,
509,
31106,
273,
5245,
18,
60,
654,
1441,
55,
67,
18257,
67,
6307,
18,
2469,
5621,
540,
202,
5411,
368,
5411,
368,
1062,
2207,
19211,
18,
3341,
19,
2902,
19,
7139,
19,
8685,
19,
4821,
5411,
368,
282,
511,
2413,
326,
729,
7005,
4611,
3379,
2865,
603,
19,
3674,
18,
5411,
368,
5411,
309,
261,
7238,
548,
18,
6858,
6869,
12,
3239,
1782,
16,
5245,
18,
14233,
67,
5063,
2689,
67,
18257,
16,
7734,
374,
16,
5245,
18,
14233,
67,
5063,
2689,
67,
18257,
18,
2469,
1435,
3719,
288,
7734,
327,
31,
5411,
289,
5411,
368,
10235,
1983,
1963,
6728,
5411,
309,
261,
7238,
548,
18,
6858,
6869,
12,
3239,
1782,
16,
5245,
18,
14233,
67,
18111,
67,
10687,
1360,
16,
7734,
374,
16,
5245,
18,
14233,
67,
18111,
67,
10687,
1360,
18,
2469,
1435,
3719,
288,
7734,
327,
31,
5411,
289,
5411,
368,
7881,
2756,
30,
15722,
1963,
5640,
460,
2398,
368,
225,
1062,
2207,
19211,
18,
3341,
19,
2902,
19,
7139,
19,
8685,
19,
4821,
19,
17762,
17,
1132,
5411,
309,
261,
7238,
548,
18,
6858,
6869,
12,
3239,
1782,
16,
5245,
18,
14233,
67,
15480,
24131,
67,
4051,
16,
7734,
374,
16,
5245,
18,
14233,
67,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
866,
4595,
12,
780,
2572,
548,
13,
3639,
1216,
3167,
10737,
288,
3639,
368,
3639,
368,
1139,
264,
764,
28920,
3639,
368,
3639,
309,
261,
7238,
548,
18,
17514,
1190,
12,
2918,
18,
60,
654,
1441,
55,
67,
18257,
67,
6307,
3719,
288,
5411,
727,
509,
31106,
273,
5245,
18,
60,
654,
1441,
55,
67,
18257,
67,
6307,
18,
2469,
5621,
540,
202,
5411,
368,
5411,
368,
1062,
2207,
19211,
18,
3341,
19,
2902,
19,
7139,
19,
8685,
19,
4821,
5411,
368,
282,
511,
2413,
326,
729,
7005,
4611,
3379,
2865,
603,
19,
3674,
18,
5411,
368,
5411,
309,
261,
7238,
548,
18,
6858,
6869,
12,
3239,
1782,
16,
5245,
18,
14233,
67,
5063,
2689,
67,
2
] |
public void perspectiveActivated(IWorkbenchPage page, IPerspectiveDescriptor perspective) { update(true); }
|
public void perspectiveActivated(IWorkbenchPage page, IPerspectiveDescriptor perspective) { update(true); }
|
public void perspectiveActivated(IWorkbenchPage page, IPerspectiveDescriptor perspective) { update(true); }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/e8349333e515e524ed2b1b345139540fef128774/FastViewBar.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/FastViewBar.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
26651,
28724,
12,
45,
2421,
22144,
1964,
1363,
16,
10792,
2971,
414,
16772,
3187,
26651,
13,
288,
7734,
1089,
12,
3767,
1769,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
26651,
28724,
12,
45,
2421,
22144,
1964,
1363,
16,
10792,
2971,
414,
16772,
3187,
26651,
13,
288,
7734,
1089,
12,
3767,
1769,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
}});
|
}});
|
public void connected(final NIOTCPConnection connection) { protocol.setTransmitter(new TransportProtocolTransmitter(){ public void sendBuffers(ByteBuffer[] buffs) { try { connection.send(buffs); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } public void closeConnection() { try { connection.disconnect(); } catch (IOException e) { e.printStackTrace(); } } }); connection.addListener(new NIOTCPConnectionListener(){ public void packetReceived(NIOTCPConnection conn, ByteBuffer inputBuffer) { protocol.packetReceived(inputBuffer); } public void disconnected(NIOTCPConnection nIOTCPConnection) { connectionDropped(); }}); listener.connected(); }
|
55380 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55380/c0670d8004807b9ebdaca085e6ddcd13359b7156/TCPIPUserManagerClient.java/buggy/src/com/sun/gi/comm/users/client/impl/TCPIPUserManagerClient.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
5840,
12,
6385,
423,
45,
1974,
4258,
1952,
1459,
13,
288,
202,
202,
8373,
18,
542,
1429,
1938,
387,
12,
2704,
9514,
5752,
1429,
1938,
387,
1435,
95,
1082,
202,
482,
918,
1366,
13699,
12,
12242,
8526,
1681,
2556,
13,
288,
9506,
202,
698,
288,
6862,
202,
4071,
18,
4661,
12,
4385,
2556,
1769,
9506,
202,
97,
1044,
261,
14106,
425,
13,
288,
6862,
202,
759,
2660,
8064,
17,
11168,
1044,
1203,
6862,
202,
73,
18,
1188,
6332,
5621,
9506,
202,
97,
6862,
1082,
202,
97,
1082,
202,
482,
918,
1746,
1952,
1435,
288,
9506,
202,
698,
288,
6862,
202,
4071,
18,
20177,
5621,
9506,
202,
97,
1044,
261,
14106,
425,
13,
288,
6862,
25083,
202,
73,
18,
1188,
6332,
5621,
9506,
202,
97,
6862,
1082,
202,
97,
202,
202,
22938,
1082,
202,
4071,
18,
1289,
2223,
12,
2704,
423,
45,
1974,
4258,
1952,
2223,
1435,
95,
1082,
202,
482,
918,
4414,
8872,
12,
50,
45,
1974,
4258,
1952,
1487,
16,
7400,
810,
1892,
13,
288,
9506,
202,
8373,
18,
11482,
8872,
12,
2630,
1892,
1769,
6862,
1082,
202,
97,
1082,
202,
482,
918,
17853,
12,
50,
45,
1974,
4258,
1952,
290,
45,
1974,
4258,
1952,
13,
288,
9506,
202,
4071,
23683,
5621,
6862,
1082,
202,
9090,
1769,
202,
202,
12757,
18,
8537,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
5840,
12,
6385,
423,
45,
1974,
4258,
1952,
1459,
13,
288,
202,
202,
8373,
18,
542,
1429,
1938,
387,
12,
2704,
9514,
5752,
1429,
1938,
387,
1435,
95,
1082,
202,
482,
918,
1366,
13699,
12,
12242,
8526,
1681,
2556,
13,
288,
9506,
202,
698,
288,
6862,
202,
4071,
18,
4661,
12,
4385,
2556,
1769,
9506,
202,
97,
1044,
261,
14106,
425,
13,
288,
6862,
202,
759,
2660,
8064,
17,
11168,
1044,
1203,
6862,
202,
73,
18,
1188,
6332,
5621,
9506,
202,
97,
6862,
1082,
202,
97,
1082,
202,
482,
918,
1746,
1952,
1435,
288,
9506,
202,
698,
288,
6862,
202,
4071,
18,
20177,
5621,
9506,
202,
97,
1044,
261,
14106,
425,
13,
288,
6862,
25083,
2
] |
pattern = null;
|
workingPattern = null;
|
private short determineSearchType( String pattern ) { if ( pattern.charAt( 0 ) == '+' ){ /* strip first caracter: */ pattern = pattern.substring( 1 ); return AND; } else if ( pattern.charAt( 0 ) == '-' ){ /* strip first caracter: */ pattern = pattern.substring( 1 ); return ANDNOT; } else if ( pattern.equals( "OR" ) ){ /* set pattern to "null", take this as sign to use the following pattern */ pattern = null; return OR; } else if ( pattern.equals( "AND" ) ){ /* set pattern to "null", take this as sign to use the following pattern */ pattern = null; return AND; } else if ( pattern.equals( "ANDNOT" ) ){ /* set pattern to "null", take this as sign to use the following pattern */ pattern = null; return ANDNOT; } else return AND; }
|
11075 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11075/90444793e98747779f659192dc3f3c497d9af24c/SearchQuery.java/buggy/g2gui/src/net/mldonkey/g2gui/model/SearchQuery.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
3025,
4199,
2979,
559,
12,
514,
1936,
262,
288,
202,
202,
430,
261,
1936,
18,
3001,
861,
12,
374,
262,
422,
10058,
262,
95,
1082,
202,
20308,
2569,
1122,
5926,
3946,
30,
1195,
1082,
202,
4951,
273,
1936,
18,
28023,
12,
404,
11272,
25083,
202,
2463,
4116,
31,
6862,
202,
97,
6862,
202,
12107,
309,
261,
1936,
18,
3001,
861,
12,
374,
262,
422,
4014,
262,
95,
1082,
202,
20308,
2569,
1122,
5926,
3946,
30,
1195,
1082,
202,
4951,
273,
1936,
18,
28023,
12,
404,
11272,
1082,
202,
2463,
4116,
4400,
31,
6862,
202,
97,
202,
202,
12107,
309,
261,
1936,
18,
14963,
12,
315,
916,
6,
262,
262,
95,
1082,
202,
20308,
444,
1936,
358,
315,
2011,
3113,
4862,
333,
487,
1573,
358,
999,
326,
3751,
1936,
1195,
1082,
202,
4951,
273,
446,
31,
1082,
202,
2463,
4869,
31,
6862,
202,
97,
202,
202,
12107,
309,
261,
1936,
18,
14963,
12,
315,
4307,
6,
262,
262,
95,
1082,
202,
20308,
444,
1936,
358,
315,
2011,
3113,
4862,
333,
487,
1573,
358,
999,
326,
3751,
1936,
1195,
1082,
202,
4951,
273,
446,
31,
1082,
202,
2463,
4116,
31,
6862,
202,
97,
202,
202,
12107,
309,
261,
1936,
18,
14963,
12,
315,
4307,
4400,
6,
262,
262,
95,
1082,
202,
20308,
444,
1936,
358,
315,
2011,
3113,
4862,
333,
487,
1573,
358,
999,
326,
3751,
1936,
1195,
1082,
202,
4951,
273,
446,
31,
1082,
202,
2463,
4116,
4400,
31,
6862,
202,
97,
6862,
6862,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
3025,
4199,
2979,
559,
12,
514,
1936,
262,
288,
202,
202,
430,
261,
1936,
18,
3001,
861,
12,
374,
262,
422,
10058,
262,
95,
1082,
202,
20308,
2569,
1122,
5926,
3946,
30,
1195,
1082,
202,
4951,
273,
1936,
18,
28023,
12,
404,
11272,
25083,
202,
2463,
4116,
31,
6862,
202,
97,
6862,
202,
12107,
309,
261,
1936,
18,
3001,
861,
12,
374,
262,
422,
4014,
262,
95,
1082,
202,
20308,
2569,
1122,
5926,
3946,
30,
1195,
1082,
202,
4951,
273,
1936,
18,
28023,
12,
404,
11272,
1082,
202,
2463,
4116,
4400,
31,
6862,
202,
97,
202,
202,
12107,
309,
261,
1936,
18,
14963,
12,
315,
916,
6,
262,
262,
95,
1082,
202,
20308,
444,
1936,
358,
2
] |
AST tmp2255_AST_in = (AST)_t;
|
AST tmp2259_AST_in = (AST)_t;
|
public final void fieldoption(AST _t) throws RecognitionException { AST fieldoption_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case AS: { AST __t1276 = _t; AST tmp2249_AST_in = (AST)_t; match(_t,AS); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case CLASS: { AST tmp2250_AST_in = (AST)_t; match(_t,CLASS); _t = _t.getNextSibling(); AST tmp2251_AST_in = (AST)_t; match(_t,TYPE_NAME); _t = _t.getNextSibling(); break; } case CHARACTER: case COMHANDLE: case DATE: case DECIMAL: case HANDLE: case INTEGER: case LOGICAL: case MEMPTR: case RAW: case RECID: case ROWID: case WIDGETHANDLE: case BLOB: case CLOB: case DATETIME: case DATETIMETZ: case LONGCHAR: case TYPE_NAME: { datatype_field(_t); _t = _retTree; break; } default: { throw new NoViableAltException(_t); } } } _t = __t1276; _t = _t.getNextSibling(); break; } case CASESENSITIVE: case Not_casesens: { casesens_or_not(_t); _t = _retTree; break; } case BGCOLOR: case DCOLOR: case FGCOLOR: case PFCOLOR: { color_expr(_t); _t = _retTree; break; } case COLUMNCODEPAGE: { AST __t1278 = _t; AST tmp2252_AST_in = (AST)_t; match(_t,COLUMNCODEPAGE); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1278; _t = _t.getNextSibling(); break; } case CONTEXTHELPID: { AST __t1279 = _t; AST tmp2253_AST_in = (AST)_t; match(_t,CONTEXTHELPID); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1279; _t = _t.getNextSibling(); break; } case DECIMALS: { AST __t1280 = _t; AST tmp2254_AST_in = (AST)_t; match(_t,DECIMALS); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1280; _t = _t.getNextSibling(); break; } case DROPTARGET: { AST tmp2255_AST_in = (AST)_t; match(_t,DROPTARGET); _t = _t.getNextSibling(); break; } case EXTENT: { extentphrase(_t); _t = _retTree; break; } case FONT: { AST __t1281 = _t; AST tmp2256_AST_in = (AST)_t; match(_t,FONT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1281; _t = _t.getNextSibling(); break; } case FORMAT: { AST __t1282 = _t; AST tmp2257_AST_in = (AST)_t; match(_t,FORMAT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1282; _t = _t.getNextSibling(); break; } case HELP: { AST __t1283 = _t; AST tmp2258_AST_in = (AST)_t; match(_t,HELP); _t = _t.getFirstChild(); constant(_t); _t = _retTree; _t = __t1283; _t = _t.getNextSibling(); break; } case INITIAL: { initial_constant(_t); _t = _retTree; break; } case COLUMNLABEL: case LABEL: { label_constant(_t); _t = _retTree; break; } case LIKE: { AST __t1284 = _t; AST tmp2259_AST_in = (AST)_t; match(_t,LIKE); _t = _t.getFirstChild(); field(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case VALIDATE: { AST tmp2260_AST_in = (AST)_t; match(_t,VALIDATE); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1284; _t = _t.getNextSibling(); break; } case MOUSEPOINTER: { AST __t1286 = _t; AST tmp2261_AST_in = (AST)_t; match(_t,MOUSEPOINTER); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1286; _t = _t.getNextSibling(); break; } case NOUNDO: { AST tmp2262_AST_in = (AST)_t; match(_t,NOUNDO); _t = _t.getNextSibling(); break; } case VIEWAS: { viewasphrase(_t); _t = _retTree; break; } case TTCODEPAGE: { AST tmp2263_AST_in = (AST)_t; match(_t,TTCODEPAGE); _t = _t.getNextSibling(); break; } case XMLDATATYPE: { xml_data_type(_t); _t = _retTree; break; } case XMLNODETYPE: { xml_node_type(_t); _t = _retTree; break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
652,
3482,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
652,
3482,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
5355,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
2138,
6669,
273,
389,
88,
31,
1082,
202,
9053,
1853,
23622,
29,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
3033,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
1082,
202,
95,
1082,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
1082,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
1082,
202,
3593,
7383,
30,
1082,
202,
95,
9506,
202,
9053,
1853,
22,
26520,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
9506,
202,
1916,
24899,
88,
16,
5237,
1769,
9506,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
9506,
202,
9053,
1853,
22,
2947,
21,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
9506,
202,
1916,
24899,
88,
16,
2399,
67,
1985,
1769,
9506,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
9506,
202,
8820,
31,
1082,
202,
97,
1082,
202,
3593,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
652,
3482,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
652,
3482,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
5355,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
2138,
6669,
273,
389,
88,
31,
1082,
202,
9053,
1853,
23622,
29,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
3033,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
2
] |
System.arraycopy(ranges, 0, new_ranges, 0, ranges.length);
|
System.arraycopy (ranges, 0, new_ranges, 0, ranges.length);
|
protected void append(AttributedCharacterIterator iterator) { char c = iterator.first(); Vector more_ranges = new Vector(); Vector more_attributes = new Vector(); do { formattedString = formattedString + String.valueOf(c); // TODO: Reduce the size of the output array. more_attributes.add (iterator.getAttributes()); more_ranges.add(new Integer(formattedString.length())); // END TOOD c = iterator.next(); } while (c != DONE); HashMap[] new_attributes = new HashMap[attributes.length + more_attributes.size()]; int[] new_ranges = new int[ranges.length + more_ranges.size()]; System.arraycopy(attributes, 0, new_attributes, 0, attributes.length); System.arraycopy(more_attributes.toArray(), 0, new_attributes, attributes.length, more_attributes.size()); System.arraycopy(ranges, 0, new_ranges, 0, ranges.length); Object[] new_ranges_array = more_ranges.toArray(); for (int i=0;i<more_ranges.size();i++) new_ranges[i+ranges.length] = ((Integer)new_ranges_array[i]).intValue(); attributes = new_attributes; ranges = new_ranges; }
|
13625 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13625/905252cb2827a39c9de9ec6f60a2dd0fb655254d/FormatCharacterIterator.java/buggy/libjava/java/text/FormatCharacterIterator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
714,
12,
861,
11050,
7069,
3198,
2775,
13,
225,
288,
565,
1149,
276,
273,
2775,
18,
3645,
5621,
565,
5589,
1898,
67,
14530,
273,
394,
5589,
5621,
565,
5589,
1898,
67,
4350,
273,
394,
5589,
5621,
565,
741,
1377,
288,
202,
14897,
780,
273,
4955,
780,
397,
514,
18,
1132,
951,
12,
71,
1769,
202,
759,
2660,
30,
24614,
326,
963,
434,
326,
876,
526,
18,
202,
10161,
67,
4350,
18,
1289,
261,
9838,
18,
588,
2498,
10663,
202,
10161,
67,
14530,
18,
1289,
12,
2704,
2144,
12,
14897,
780,
18,
2469,
1435,
10019,
202,
759,
7273,
8493,
1212,
202,
71,
273,
2775,
18,
4285,
5621,
1377,
289,
377,
1323,
261,
71,
480,
26346,
1769,
565,
4317,
8526,
394,
67,
4350,
273,
394,
4317,
63,
4350,
18,
2469,
25083,
282,
397,
1898,
67,
4350,
18,
1467,
1435,
15533,
565,
509,
8526,
394,
67,
14530,
273,
394,
509,
63,
14530,
18,
2469,
397,
1898,
67,
14530,
18,
1467,
1435,
15533,
3639,
2332,
18,
1126,
3530,
12,
4350,
16,
374,
16,
394,
67,
4350,
16,
374,
16,
1677,
18,
2469,
1769,
565,
2332,
18,
1126,
3530,
12,
10161,
67,
4350,
18,
31447,
9334,
374,
16,
394,
67,
4350,
16,
1082,
377,
1677,
18,
2469,
16,
1898,
67,
4350,
18,
1467,
10663,
565,
2332,
18,
1126,
3530,
261,
14530,
16,
374,
16,
394,
67,
14530,
16,
374,
16,
7322,
18,
2469,
1769,
565,
1033,
8526,
394,
67,
14530,
67,
1126,
273,
1898,
67,
14530,
18,
31447,
5621,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
714,
12,
861,
11050,
7069,
3198,
2775,
13,
225,
288,
565,
1149,
276,
273,
2775,
18,
3645,
5621,
565,
5589,
1898,
67,
14530,
273,
394,
5589,
5621,
565,
5589,
1898,
67,
4350,
273,
394,
5589,
5621,
565,
741,
1377,
288,
202,
14897,
780,
273,
4955,
780,
397,
514,
18,
1132,
951,
12,
71,
1769,
202,
759,
2660,
30,
24614,
326,
963,
434,
326,
876,
526,
18,
202,
10161,
67,
4350,
18,
1289,
261,
9838,
18,
588,
2498,
10663,
202,
10161,
67,
14530,
18,
1289,
12,
2704,
2144,
12,
14897,
780,
18,
2469,
1435,
10019,
202,
759,
7273,
8493,
1212,
202,
71,
273,
2775,
18,
4285,
5621,
1377,
289,
377,
1323,
261,
71,
480,
26346,
1769,
565,
2
] |
public void setDescription( String desc ) { description=desc;
|
public void setDescription(String desc) { description = desc;
|
public void setDescription( String desc ) { description=desc; }
|
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/0dab862ee09d706c3f373fc18bedbf17caf427b9/DataType.java/buggy/src/main/org/apache/tools/ant/types/DataType.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
13812,
12,
514,
3044,
262,
288,
3639,
2477,
33,
5569,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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22398,
316,
326,
981,
30,
377,
1071,
918,
13812,
12,
514,
3044,
262,
288,
3639,
2477,
33,
5569,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return isInRanges(javaOffset, fJava2JspIndirectMap);
|
return isInRanges(javaOffset, fJava2JspIndirectMap, false);
|
protected boolean isIndirect(int javaOffset) { return isInRanges(javaOffset, fJava2JspIndirectMap); }
|
13989 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13989/28bcc97d8742bd7020ed2122e1570f50682aec6d/JSPTranslation.java/buggy/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/java/JSPTranslation.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1250,
353,
24943,
12,
474,
2252,
2335,
13,
288,
202,
202,
2463,
8048,
9932,
12,
6290,
2335,
16,
284,
5852,
22,
21796,
24943,
863,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1250,
353,
24943,
12,
474,
2252,
2335,
13,
288,
202,
202,
2463,
8048,
9932,
12,
6290,
2335,
16,
284,
5852,
22,
21796,
24943,
863,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
sideEffectURI_ = new URI(sideEffectPathFinal_ + makeUniqueFileSuffix());
|
finalOutputURI = new URI(sideEffectPathFinal_.toString());
|
public void configure(JobConf job) { try { String argv = getPipeCommand(job); keyCols_ = getKeyColsFromPipeCommand(argv); debug_ = (job.get("stream.debug") != null); if (debug_) { System.out.println("PipeMapRed: stream.debug=true"); } joinDelay_ = job.getLong("stream.joindelay.milli", 0); job_ = job; fs_ = FileSystem.get(job_); if (job_.getBoolean("stream.sideoutput.localfs", false)) { //sideFs_ = new LocalFileSystem(job_); sideFs_ = FileSystem.getNamed("local", job_); } else { sideFs_ = fs_; } if (debug_) { System.out.println("kind :" + this.getClass()); System.out.println("split :" + StreamUtil.getCurrentSplit(job_)); System.out.println("fs :" + fs_.toString()); System.out.println("sideFs :" + sideFs_.toString()); } doPipe_ = getDoPipe(); if (!doPipe_) return; setStreamJobDetails(job); setStreamProperties(); if (debugFailEarly_) { throw new RuntimeException("debugFailEarly_"); } String[] argvSplit = splitArgs(argv); String prog = argvSplit[0]; String userdir = System.getProperty("user.dir"); if (new File(prog).isAbsolute()) { // we don't own it. Hope it is executable } else { new MustangFile(prog).setExecutable(true, true); } if (job_.getInputValueClass().equals(BytesWritable.class)) { // TODO expose as separate config: // job or semistandard inputformat property optUseKey_ = false; } optSideEffect_ = getUseSideEffect(); if (optSideEffect_) { // during work: use a completely unique filename to avoid HDFS namespace conflicts // after work: rename to a filename that depends only on the workload (the FileSplit) // it's a friendly name and in case of reexecution it will clobber. // reexecution can be due to: other job, failed task and speculative task // See StreamJob.setOutputSpec(): if reducerNone_ aka optSideEffect then: // client has renamed outputPath and saved the argv's original output path as: if (useSingleSideOutputURI_) { sideEffectURI_ = new URI(sideOutputURI_); sideEffectPathFinal_ = null; // in-place, no renaming to final } else { String sideOutputPath = job_.get("stream.sideoutput.dir"); // was: job_.getOutputPath() String fileName = getSideEffectFileName(); // see HADOOP-444 for rationale sideEffectPathFinal_ = new Path(sideOutputPath, fileName); sideEffectURI_ = new URI(sideEffectPathFinal_ + makeUniqueFileSuffix()); // implicit dfs: } // apply default scheme if(sideEffectURI_.getScheme() == null) { sideEffectURI_ = new URI("file", sideEffectURI_.getSchemeSpecificPart(), null); } boolean allowSocket = useSingleSideOutputURI_; sideEffectOut_ = getURIOutputStream(sideEffectURI_, allowSocket); } // // argvSplit[0]: // An absolute path should be a preexisting valid path on all TaskTrackers // A relative path is converted into an absolute pathname by looking // up the PATH env variable. If it still fails, look it up in the // tasktracker's local working directory // if (!new File(argvSplit[0]).isAbsolute()) { PathFinder finder = new PathFinder("PATH"); finder.prependPathComponent("."); File f = finder.getAbsolutePath(argvSplit[0]); if (f != null) { argvSplit[0] = f.getAbsolutePath(); } f = null; } logprintln("PipeMapRed exec " + Arrays.asList(argvSplit)); logprintln("sideEffectURI_=" + sideEffectURI_); Environment childEnv = (Environment) StreamUtil.env().clone(); addJobConfToEnvironment(job_, childEnv); addEnvironment(childEnv, job_.get("stream.addenvironment")); sim = Runtime.getRuntime().exec(argvSplit, childEnv.toArray()); /* // This way required jdk1.5 Builder processBuilder = new ProcessBuilder(argvSplit); Map<String, String> env = processBuilder.environment(); addEnvironment(env, job_.get("stream.addenvironment")); sim = processBuilder.start(); */ clientOut_ = new DataOutputStream(new BufferedOutputStream(sim.getOutputStream())); clientIn_ = new DataInputStream(new BufferedInputStream(sim.getInputStream())); clientErr_ = new DataInputStream(new BufferedInputStream(sim.getErrorStream())); startTime_ = System.currentTimeMillis(); } catch (Exception e) { logStackTrace(e); } }
|
50370 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50370/9720bb8d357706bdee97a5c5d8321f72c3e07cbb/PipeMapRed.java/clean/src/contrib/streaming/src/java/org/apache/hadoop/streaming/PipeMapRed.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
5068,
12,
2278,
3976,
1719,
13,
288,
565,
775,
288,
1377,
514,
5261,
273,
1689,
3151,
2189,
12,
4688,
1769,
1377,
498,
8011,
67,
273,
3579,
8011,
1265,
11546,
2189,
12,
19485,
1769,
1377,
1198,
67,
273,
261,
4688,
18,
588,
2932,
3256,
18,
4148,
7923,
480,
446,
1769,
1377,
309,
261,
4148,
67,
13,
288,
3639,
2332,
18,
659,
18,
8222,
2932,
11546,
863,
3715,
30,
1407,
18,
4148,
33,
3767,
8863,
1377,
289,
1377,
1233,
6763,
67,
273,
1719,
18,
588,
3708,
2932,
3256,
18,
30952,
728,
292,
528,
18,
81,
16607,
3113,
374,
1769,
1377,
1719,
67,
273,
1719,
31,
1377,
2662,
67,
273,
10931,
18,
588,
12,
4688,
67,
1769,
1377,
309,
261,
4688,
27799,
588,
5507,
2932,
3256,
18,
5564,
2844,
18,
3729,
2556,
3113,
629,
3719,
288,
3639,
368,
5564,
12432,
67,
273,
394,
3566,
11785,
12,
4688,
67,
1769,
3639,
4889,
12432,
67,
273,
10931,
18,
588,
7604,
2932,
3729,
3113,
1719,
67,
1769,
1377,
289,
469,
288,
3639,
4889,
12432,
67,
273,
2662,
67,
31,
1377,
289,
1377,
309,
261,
4148,
67,
13,
288,
3639,
2332,
18,
659,
18,
8222,
2932,
9224,
282,
20514,
397,
333,
18,
588,
797,
10663,
3639,
2332,
18,
659,
18,
8222,
2932,
4939,
225,
20514,
397,
3961,
1304,
18,
588,
3935,
5521,
12,
4688,
67,
10019,
3639,
2332,
18,
659,
18,
8222,
2932,
2556,
377,
20514,
397,
2662,
27799,
10492,
10663,
3639,
2332,
18,
659,
18,
8222,
2932,
5564,
12432,
20514,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
5068,
12,
2278,
3976,
1719,
13,
288,
565,
775,
288,
1377,
514,
5261,
273,
1689,
3151,
2189,
12,
4688,
1769,
1377,
498,
8011,
67,
273,
3579,
8011,
1265,
11546,
2189,
12,
19485,
1769,
1377,
1198,
67,
273,
261,
4688,
18,
588,
2932,
3256,
18,
4148,
7923,
480,
446,
1769,
1377,
309,
261,
4148,
67,
13,
288,
3639,
2332,
18,
659,
18,
8222,
2932,
11546,
863,
3715,
30,
1407,
18,
4148,
33,
3767,
8863,
1377,
289,
1377,
1233,
6763,
67,
273,
1719,
18,
588,
3708,
2932,
3256,
18,
30952,
728,
292,
528,
18,
81,
16607,
3113,
374,
1769,
1377,
1719,
67,
273,
1719,
31,
1377,
2662,
67,
273,
10931,
18,
588,
12,
4688,
67,
1769,
1377,
309,
2
] |
public PatchGridModel (IPatch p,BankDriver d) {
|
public PatchGridModel (IPatch p,IBankDriver d) {
|
public PatchGridModel (IPatch p,BankDriver d) { super(); ErrorMsg.reportStatus("PatchGridModel"); bankData=p; bankDriver=d; }
|
7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/af6640fd9aa925c4d7044770be761a3432d7c66e/BankEditorFrame.java/clean/JSynthLib/core/BankEditorFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
12042,
6313,
1488,
261,
2579,
505,
293,
16,
16040,
4668,
302,
13,
288,
202,
565,
2240,
5621,
202,
565,
1068,
3332,
18,
6006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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
12042,
6313,
1488,
261,
2579,
505,
293,
16,
16040,
4668,
302,
13,
288,
202,
565,
2240,
5621,
202,
565,
1068,
3332,
18,
6006,
1482,
2932,
7332,
6313,
1488,
8863,
202,
565,
11218,
751,
33,
84,
31,
202,
565,
11218,
4668,
33,
72,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
EclipseSourceDir[] sourceDirs, ArtifactRepository localRepository )
|
EclipseSourceDir[] sourceDirs, ArtifactRepository localRepository, ArtifactResolver artifactResolver, List remoteArtifactRepositories )
|
protected void write( File basedir, MavenProject project, List referencedReactorArtifacts, EclipseSourceDir[] sourceDirs, ArtifactRepository localRepository ) throws MojoExecutionException { FileWriter w; try { w = new FileWriter( new File( basedir, ".wtpmodules" ) ); //$NON-NLS-1$ } catch ( IOException ex ) { throw new MojoExecutionException( Messages.getString( "EclipsePlugin.erroropeningfile" ), ex ); //$NON-NLS-1$ } XMLWriter writer = new PrettyPrintXMLWriter( w ); writer.startElement( "project-modules" ); //$NON-NLS-1$ writer.addAttribute( "id", "moduleCoreId" ); //$NON-NLS-1$ //$NON-NLS-2$ writer.startElement( "wb-module" ); //$NON-NLS-1$ writer.addAttribute( "deploy-name", project.getArtifactId() ); //$NON-NLS-1$ writer.startElement( "module-type" ); //$NON-NLS-1$ if ( "war".equals( project.getPackaging() ) ) //$NON-NLS-1$ { // <module-type module-type-id="jst.web"> // <version>2.4</version> // <property name="context-root" value="magnolia"> // </property> // </module-type> writer.addAttribute( "module-type-id", "jst.web" ); //$NON-NLS-1$ //$NON-NLS-2$ writer.startElement( "version" ); //$NON-NLS-1$ // defaults to 2.4, try to detect real version from dependencies String servletVersion = "2.4"; //$NON-NLS-1$ for ( Iterator it = project.getArtifacts().iterator(); it.hasNext(); ) { Artifact artifact = (Artifact) it.next(); if ( "servletapi".equals( artifact.getArtifactId() ) //$NON-NLS-1$ || "geronimo-spec-servlet".equals( artifact.getArtifactId() ) ) //$NON-NLS-1$ { servletVersion = StringUtils.substring( artifact.getVersion(), 0, 3 ); } } writer.writeText( servletVersion ); writer.endElement(); writer.startElement( "property" ); //$NON-NLS-1$ writer.addAttribute( "name", "context-root" ); //$NON-NLS-1$ //$NON-NLS-2$ writer.addAttribute( "value", project.getArtifactId() ); //$NON-NLS-1$ writer.endElement(); } else if ( "ejb".equals( project.getPackaging() ) ) //$NON-NLS-1$ { // <module-type module-type-id="jst.ejb"> // <version>2.1</version> // <property name="java-output-path" value="/bin/"/> // </module-type> writer.addAttribute( "module-type-id", "jst.ejb" ); //$NON-NLS-1$ //$NON-NLS-2$ writer.startElement( "version" ); //$NON-NLS-1$ writer.writeText( "2.1" ); //$NON-NLS-1$ // @todo this is the default, find real ejb version from dependencies writer.endElement(); writer.startElement( "property" ); //$NON-NLS-1$ writer.addAttribute( "name", "java-output-path" ); //$NON-NLS-1$ //$NON-NLS-2$ writer.addAttribute( "value", "/" + //$NON-NLS-1$ //$NON-NLS-2$ EclipseUtils.toRelativeAndFixSeparator( project.getBasedir(), project.getBuild().getOutputDirectory(), false ) ); writer.endElement(); } else { // <module-type module-type-id="jst.utility"> // <property name="java-output-path" value="/bin/"/> // </module-type> writer.addAttribute( "module-type-id", "jst.utility" ); //$NON-NLS-1$ //$NON-NLS-2$ writer.startElement( "property" ); //$NON-NLS-1$ writer.addAttribute( "name", "java-output-path" ); //$NON-NLS-1$ //$NON-NLS-2$ writer.addAttribute( "value", "/" + //$NON-NLS-1$ //$NON-NLS-2$ EclipseUtils.toRelativeAndFixSeparator( project.getBasedir(), project.getBuild().getOutputDirectory(), false ) ); writer.endElement(); } writer.endElement(); // module-type // source and resource paths. // deploy-path is "/" for utility and ejb projects, "/WEB-INF/classes" for webapps String target = "/"; //$NON-NLS-1$ if ( "war".equals( project.getPackaging() ) ) //$NON-NLS-1$ { writeWarSpecificResources( writer, basedir, project, referencedReactorArtifacts, localRepository ); target = "/WEB-INF/classes"; //$NON-NLS-1$ } for ( int j = 0; j < sourceDirs.length; j++ ) { EclipseSourceDir dir = sourceDirs[j]; // test src/resources are not added to wtpmodules if ( !dir.isTest() ) { // <wb-resource deploy-path="/" source-path="/src/java" /> writer.startElement( "wb-resource" ); //$NON-NLS-1$ writer.addAttribute( "deploy-path", target ); //$NON-NLS-1$ writer.addAttribute( "source-path", dir.getPath() ); //$NON-NLS-1$ writer.endElement(); } } writer.endElement(); // wb-module writer.endElement(); // project-modules IOUtil.close( w ); }
|
7444 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7444/eac4ca45d70990815e5d0899018e4033104a343b/EclipseWtpmodulesWriter.java/buggy/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseWtpmodulesWriter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1045,
12,
1387,
15573,
16,
17176,
4109,
1984,
16,
987,
8042,
426,
3362,
16981,
16,
7682,
20840,
10472,
1830,
1621,
8526,
1084,
9872,
16,
14022,
3305,
1191,
3305,
16,
14022,
4301,
6462,
4301,
16,
987,
2632,
7581,
18429,
262,
3639,
1216,
18780,
565,
288,
3639,
24639,
341,
31,
3639,
775,
3639,
288,
5411,
341,
273,
394,
24639,
12,
394,
1387,
12,
15573,
16,
3552,
6046,
84,
6400,
6,
262,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
289,
3639,
1044,
261,
1860,
431,
262,
3639,
288,
5411,
604,
394,
18780,
12,
4838,
18,
588,
780,
12,
315,
23057,
10472,
3773,
18,
1636,
3190,
310,
768,
6,
262,
16,
431,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
289,
3639,
3167,
2289,
2633,
273,
394,
22328,
5108,
4201,
2289,
12,
341,
11272,
3639,
2633,
18,
1937,
1046,
12,
315,
4406,
17,
6400,
6,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
2633,
18,
1289,
1499,
12,
315,
350,
3113,
315,
2978,
4670,
548,
6,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
3639,
2633,
18,
1937,
1046,
12,
315,
9464,
17,
2978,
6,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
2633,
18,
1289,
1499,
12,
315,
12411,
17,
529,
3113,
1984,
18,
588,
7581,
548,
1435,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
2633,
18,
1937,
1046,
12,
315,
2978,
17,
723,
6,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1045,
12,
1387,
15573,
16,
17176,
4109,
1984,
16,
987,
8042,
426,
3362,
16981,
16,
7682,
20840,
10472,
1830,
1621,
8526,
1084,
9872,
16,
14022,
3305,
1191,
3305,
16,
14022,
4301,
6462,
4301,
16,
987,
2632,
7581,
18429,
262,
3639,
1216,
18780,
565,
288,
3639,
24639,
341,
31,
3639,
775,
3639,
288,
5411,
341,
273,
394,
24639,
12,
394,
1387,
12,
15573,
16,
3552,
6046,
84,
6400,
6,
262,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
289,
3639,
1044,
261,
1860,
431,
262,
3639,
288,
5411,
604,
394,
18780,
12,
4838,
18,
588,
780,
12,
315,
23057,
10472,
3773,
18,
1636,
3190,
310,
768,
6,
262,
16,
431,
11272,
4329,
3993,
17,
5106,
17,
2
] |
if(peers == 0 || conns == 0 || (peers - conns) > MAX_DISCONN_PEER_ALERT_THRESHOLD || conns > MAX_CONN_ALERT_THRESHOLD || peers > MAX_PEER_ALERT_THRESHOLD || (n.bwlimitDelayAlertRelevant && bwlimitDelayTime > Node.MAX_BWLIMIT_DELAY_TIME_ALERT_THRESHOLD) || (n.nodeAveragePingAlertRelevant && nodeAveragePingTime > Node.MAX_NODE_AVERAGE_PING_TIME_ALERT_THRESHOLD))
|
if((peers == 0) || (conns == 0) || ((peers - conns) > MAX_DISCONN_PEER_ALERT_THRESHOLD) || (conns > MAX_CONN_ALERT_THRESHOLD) || (peers > MAX_PEER_ALERT_THRESHOLD) || (n.bwlimitDelayAlertRelevant && (bwlimitDelayTime > Node.MAX_BWLIMIT_DELAY_TIME_ALERT_THRESHOLD)) || (n.nodeAveragePingAlertRelevant && (nodeAveragePingTime > Node.MAX_NODE_AVERAGE_PING_TIME_ALERT_THRESHOLD)))
|
public short getPriorityClass() { if(peers == 0 || conns == 0 || (peers - conns) > MAX_DISCONN_PEER_ALERT_THRESHOLD || conns > MAX_CONN_ALERT_THRESHOLD || peers > MAX_PEER_ALERT_THRESHOLD || (n.bwlimitDelayAlertRelevant && bwlimitDelayTime > Node.MAX_BWLIMIT_DELAY_TIME_ALERT_THRESHOLD) || (n.nodeAveragePingAlertRelevant && nodeAveragePingTime > Node.MAX_NODE_AVERAGE_PING_TIME_ALERT_THRESHOLD)) return UserAlert.CRITICAL_ERROR; return UserAlert.ERROR; }
|
50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/PeerManagerUserAlert.java/clean/src/freenet/node/useralerts/PeerManagerUserAlert.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3025,
25332,
797,
1435,
288,
202,
202,
430,
12,
30502,
422,
374,
747,
9506,
202,
591,
2387,
422,
374,
747,
9506,
202,
12,
30502,
300,
18976,
13,
405,
4552,
67,
13498,
27733,
67,
1423,
654,
67,
1013,
11539,
67,
23840,
747,
9506,
202,
591,
2387,
405,
4552,
67,
27733,
67,
1013,
11539,
67,
23840,
747,
9506,
202,
30502,
405,
4552,
67,
1423,
654,
67,
1013,
11539,
67,
23840,
747,
9506,
202,
12,
82,
18,
70,
91,
3595,
6763,
13298,
17018,
7445,
597,
12986,
3595,
6763,
950,
405,
2029,
18,
6694,
67,
38,
59,
8283,
67,
26101,
67,
4684,
67,
1013,
11539,
67,
23840,
13,
747,
9506,
202,
12,
82,
18,
2159,
17115,
17223,
13298,
17018,
7445,
597,
756,
17115,
17223,
950,
405,
2029,
18,
6694,
67,
8744,
67,
37,
2204,
2833,
67,
20002,
67,
4684,
67,
1013,
11539,
67,
23840,
3719,
1082,
202,
2463,
2177,
13298,
18,
5093,
21377,
67,
3589,
31,
202,
202,
2463,
2177,
13298,
18,
3589,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3025,
25332,
797,
1435,
288,
202,
202,
430,
12,
30502,
422,
374,
747,
9506,
202,
591,
2387,
422,
374,
747,
9506,
202,
12,
30502,
300,
18976,
13,
405,
4552,
67,
13498,
27733,
67,
1423,
654,
67,
1013,
11539,
67,
23840,
747,
9506,
202,
591,
2387,
405,
4552,
67,
27733,
67,
1013,
11539,
67,
23840,
747,
9506,
202,
30502,
405,
4552,
67,
1423,
654,
67,
1013,
11539,
67,
23840,
747,
9506,
202,
12,
82,
18,
70,
91,
3595,
6763,
13298,
17018,
7445,
597,
12986,
3595,
6763,
950,
405,
2029,
18,
6694,
67,
38,
59,
8283,
67,
26101,
67,
4684,
67,
1013,
11539,
67,
23840,
13,
747,
9506,
202,
12,
82,
18,
2159,
17115,
17223,
13298,
17018,
7445,
2
] |
this.bold = bold; super.setBold(bold); updateFont(); }
|
this.bold = bold; super.setBold(bold); updateFont(); }
|
public void setBold(boolean bold) { this.bold = bold; super.setBold(bold); updateFont(); }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/b8ac10faab55d0a01aff2cfd407ac509d16d6ab8/DefaultTabItem.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/defaultpresentation/DefaultTabItem.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
15268,
1673,
12,
6494,
13068,
13,
288,
3639,
333,
18,
16390,
273,
13068,
31,
3639,
2240,
18,
542,
38,
1673,
12,
16390,
1769,
3639,
1089,
5711,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
15268,
1673,
12,
6494,
13068,
13,
288,
3639,
333,
18,
16390,
273,
13068,
31,
3639,
2240,
18,
542,
38,
1673,
12,
16390,
1769,
3639,
1089,
5711,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
}
|
public void run() { // clear the flag processingDone = false; // counters int x = 0; // counts int total_count_sequences = 0; // the count of *all* the sequences int valid_sequences = 0; int best_match_correct = 0; int best_match_ambiguous = 0; int best_match_incorrect = 0; int best_match_noallo = 0; int best_close_match_noallo = 0; int best_close_match_correct = 0; int best_close_match_ambiguous = 0; int best_close_match_incorrect = 0; int best_close_match_nomatch = 0; // sequence listing StringBuffer str_listings = new StringBuffer("Query\tClosest conspecific match\tDistance\tOverlap\tClosest allospecific match\tDistance\tOverlap\t\tBest match\t\tBest close match\n"); // get the new threshold double threshold = Double.parseDouble(text_threshold.getText()); text_threshold.setText(String.valueOf(threshold)); threshold /= 100; // get the sequence set, and figure out its stats SequenceList set = taxonDNA.lockSequenceList(); SortedSequenceList sset = new SortedSequenceList(set); total_count_sequences = set.count(); /* // We need to know what the species summary is. SpeciesDetails sd = null; try { sd = set.getSpeciesDetails( new ProgressDialog( taxonDNA.getFrame(), "Please wait, calculating the species details ...", "I'm calculating the species details for this sequence set. This might take a while. Sorry!" ) ); } catch(DelayAbortedException e) { taxonDNA.unlockSequenceList(); return; } */ // set up us the ProgressDialog ProgressDialog pd = new ProgressDialog( taxonDNA.getFrame(), "Please wait, doing best match analysis ...", "The best match analysis is being performed. Sorry for the wait!", 0 ); pd.begin(); Iterator i = set.iterator(); while(i.hasNext()) { Sequence query = (Sequence) i.next(); String name_query = query.getSpeciesName(); // notify user int count_sequences = set.count(); int interval = (count_sequences / 100); if(interval == 0) interval = 1; if(x % interval == 0) { try { pd.delay(x, count_sequences); } catch(DelayAbortedException e) { dataChanged(); taxonDNA.unlockSequenceList(); return; } } // for each query, we run a SortedSequenceSet. try { sset.sortAgainst(query, null); } catch(DelayAbortedException e) { // no DelayCallback } // begin processing count_sequences = sset.count(); Sequence first_con = null; Sequence first_allo = null; boolean conspecific_no_overlap = false; // true -> there is no conspecific within overlap boolean allospecific_no_overlap = false; // true -> there is no allospecific within overlap for(int y = 1; y < count_sequences; y++) { Sequence match = sset.get(y); String name_species = match.getSpeciesName(); double distance = match.getPairwise(query); // if we don't have a conspecific, and this is a conspecific -> we have a first_con! if(conspecific_no_overlap == false && first_con == null && name_species.equals(name_query)) { if(distance < 0) conspecific_no_overlap = true; else first_con = match; } // if we don't have an allospecific, and this is an allospecific -> we have a first_allo! if(allospecific_no_overlap == false && first_allo == null && !name_species.equals(name_query)) { if(distance < 0) allospecific_no_overlap = true; else first_allo = match; } // if we've got everything, GET ON WITH LIFE! if( // conspecifics done? ( (conspecific_no_overlap == true) || (first_con != null) ) && ( (allospecific_no_overlap == true) || (first_allo != null) ) ) break; } double dist_con = -1; if(first_con != null) { dist_con = first_con.getPairwise(query); valid_sequences++; } double dist_allo = -1; if(first_allo != null) dist_allo = first_allo.getPairwise(query); // explain to the user what's happening with distances // conspecifics str_listings.append(query.getName() + "\t"); if(first_con == null) { if(conspecific_no_overlap) str_listings.append("Inadequate overlap\t-1.0\t0\t"); else str_listings.append("No conspecifics in database\t-1.0\t0\t"); } else { double distance = query.getPairwise(first_con); int overlap = query.getSharedLength(first_con); str_listings.append(first_con.getName() + "\t" + percentage(distance, 1) + "\t" + overlap + "\t"); } // allospecifics if(first_allo == null) { if(allospecific_no_overlap) str_listings.append("Inadequate overlap\t-1.0\t0\t"); else str_listings.append("No allospecifics in database\t-1.0\t0\t"); } else { double distance = query.getPairwise(first_allo); int overlap = query.getSharedLength(first_allo); str_listings.append(first_allo.getName() + "\t" + percentage(distance, 1) + "\t" + overlap + "\t"); } // best match and best close match if(dist_allo == -1) { best_match_noallo++; str_listings.append("\tno_allospecific_match\t"); best_close_match_noallo++; str_listings.append("\tno_allospecific_match\t"); } else if(dist_con == -1) { best_match_incorrect++; str_listings.append("\tincorrect_no_con\t"); if(dist_allo <= threshold) { best_close_match_incorrect++; str_listings.append("\tincorrect_no_con\t"); } else { best_close_match_nomatch++; str_listings.append("\tno_match\t"); } } else if(com.ggvaidya.TaxonDNA.DNA.Settings.identical(dist_con, dist_allo)) { best_match_ambiguous++; str_listings.append("\tambiguous\t"); if(dist_con <= threshold && dist_allo <= threshold) { best_close_match_ambiguous++; str_listings.append("\tambiguous\t"); } else { best_close_match_nomatch++; str_listings.append("\tno_match\t"); } } else if(dist_con < dist_allo) { best_match_correct++; str_listings.append("\tcorrect\t"); if(dist_con > threshold) { best_close_match_nomatch++; str_listings.append("\tno_match\t"); } else { best_close_match_correct++; str_listings.append("\tcorrect\t"); } } else if(dist_allo < dist_con) { best_match_incorrect++; str_listings.append("\tincorrect\t"); if(dist_allo > threshold) { best_close_match_nomatch++; str_listings.append("\tno_match\t"); } else { best_close_match_incorrect++; str_listings.append("\tincorrect\t"); } } else { throw new RuntimeException("Hit an unexpected program situation! Contact the programmer!"); } str_listings.append("\n"); // increment counter x++; } // Now, since we are NOT counting sequences which matched against NOTHING // (i.e. best_match_noallo), we calculate percentages based on count_sequences_with_match; int count_sequences_with_match = total_count_sequences - best_match_noallo; text_main.setText( "Sequences:\t" + total_count_sequences + "\nSequences with atleast one matching conspecific sequence in the data set:\t" + valid_sequences + "\nSequences with atleast one matching sequence in the data set:\t" + count_sequences_with_match + "\n\nCorrect identifications according to \"Best Match\":\t" + best_match_correct + " (" + percentage(best_match_correct, count_sequences_with_match) + "%)" + "\nAmbiguous according to \"Best Match\":\t" + best_match_ambiguous + " (" + percentage(best_match_ambiguous, count_sequences_with_match) + "%)" + "\nIncorrect identifications according to \"Best Match\":\t" + best_match_incorrect + " (" + percentage(best_match_incorrect, count_sequences_with_match) + "%)" +// "\nSequences without any match with adequate overlap:\t" + best_match_noallo + " (" + percentage(best_match_noallo, total_count_sequences) + "%)" + "\n\nCorrect identifications according to \"Best Close Match\":\t" + best_close_match_correct + " (" + percentage(best_close_match_correct, count_sequences_with_match) + "%)" + "\nAmbiguous according to \"Best Close Match\":\t" + best_close_match_ambiguous + " (" + percentage(best_close_match_ambiguous, count_sequences_with_match) + "%)" + "\nIncorrect identifications according to \"Best Close Match\":\t" + best_close_match_incorrect + " (" + percentage(best_close_match_incorrect, count_sequences_with_match) + "%)" + "\nSequences without any match closer than " + percentage(threshold, 1) + "%:\t" + best_close_match_nomatch + " (" + percentage(best_close_match_nomatch, count_sequences_with_match) + "%)" + "\n\n" + str_listings.toString()); pd.end(); taxonDNA.unlockSequenceList(); processingDone = true; }
|
47892 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47892/29416647357e6107da0e7f5031b9b040fa2d8434/BestMatch.java/clean/TaxonDNA/com/ggvaidya/TaxonDNA/Modules/BestMatch.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
1435,
288,
202,
202,
759,
2424,
326,
2982,
202,
202,
10632,
7387,
273,
629,
31,
9506,
202,
759,
13199,
202,
202,
474,
619,
273,
374,
31,
202,
202,
759,
6880,
202,
202,
474,
2078,
67,
1883,
67,
17190,
273,
374,
31,
202,
759,
326,
1056,
434,
380,
454,
14,
326,
8463,
3196,
202,
474,
923,
67,
17190,
273,
374,
31,
9506,
202,
474,
3796,
67,
1916,
67,
6746,
273,
374,
31,
202,
202,
474,
3796,
67,
1916,
67,
2536,
10623,
273,
374,
31,
202,
202,
474,
3796,
67,
1916,
67,
267,
6746,
273,
374,
31,
202,
202,
474,
3796,
67,
1916,
67,
2135,
287,
383,
273,
374,
31,
202,
202,
474,
3796,
67,
4412,
67,
1916,
67,
2135,
287,
383,
273,
374,
31,
202,
202,
474,
3796,
67,
4412,
67,
1916,
67,
6746,
273,
374,
31,
202,
202,
474,
3796,
67,
4412,
67,
1916,
67,
2536,
10623,
273,
374,
31,
202,
202,
474,
3796,
67,
4412,
67,
1916,
67,
267,
6746,
273,
374,
31,
202,
202,
474,
3796,
67,
4412,
67,
1916,
67,
12306,
505,
273,
374,
31,
202,
202,
759,
3102,
11591,
202,
202,
780,
1892,
609,
67,
1098,
899,
273,
394,
6674,
2932,
1138,
64,
88,
4082,
7781,
1959,
705,
1507,
845,
64,
88,
7200,
64,
88,
17411,
64,
88,
4082,
7781,
524,
383,
12524,
845,
64,
88,
7200,
64,
88,
17411,
64,
88,
64,
88,
14173,
845,
64,
88,
64,
88,
14173,
1746,
845,
64,
82,
8863,
9506,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
1435,
288,
202,
202,
759,
2424,
326,
2982,
202,
202,
10632,
7387,
273,
629,
31,
9506,
202,
759,
13199,
202,
202,
474,
619,
273,
374,
31,
202,
202,
759,
6880,
202,
202,
474,
2078,
67,
1883,
67,
17190,
273,
374,
31,
202,
759,
326,
1056,
434,
380,
454,
14,
326,
8463,
3196,
202,
474,
923,
67,
17190,
273,
374,
31,
9506,
202,
474,
3796,
67,
1916,
67,
6746,
273,
374,
31,
202,
202,
474,
3796,
67,
1916,
67,
2536,
10623,
273,
374,
31,
202,
202,
474,
3796,
67,
1916,
67,
267,
6746,
273,
374,
31,
202,
202,
474,
3796,
67,
1916,
67,
2135,
287,
383,
273,
374,
31,
202,
202,
474,
3796,
67,
4412,
2
] |
|
if (linkedResourceComposite != null) { linkedResourceComposite.dispose(); linkedResourceComposite = null; composite.layout(); shell.setSize(shellSize.x, basicShellHeight); advancedButton.setText(IDEWorkbenchMessages.showAdvanced); } else { if (basicShellHeight == -1) { basicShellHeight = shell.computeSize(SWT.DEFAULT, SWT.DEFAULT, true).y; } linkedResourceComposite = linkedResourceGroup .createContents(linkedResourceParent); shellSize = shell.computeSize(SWT.DEFAULT, SWT.DEFAULT, true); shell.setSize(shellSize); composite.layout(); advancedButton.setText(IDEWorkbenchMessages.hideAdvanced); } }
|
if (linkedResourceComposite != null) { linkedResourceComposite.dispose(); linkedResourceComposite = null; composite.layout(); shell.setSize(shellSize.x, basicShellHeight); advancedButton.setText(IDEWorkbenchMessages.showAdvanced); } else { if (basicShellHeight == -1) { basicShellHeight = shell.computeSize(SWT.DEFAULT, SWT.DEFAULT, true).y; } linkedResourceComposite = linkedResourceGroup .createContents(linkedResourceParent); shellSize = shell.computeSize(SWT.DEFAULT, SWT.DEFAULT, true); shell.setSize(shellSize); composite.layout(); advancedButton.setText(IDEWorkbenchMessages.hideAdvanced); } }
|
protected void handleAdvancedButtonSelect() { Shell shell = getShell(); Point shellSize = shell.getSize(); Composite composite = (Composite) getDialogArea(); if (linkedResourceComposite != null) { linkedResourceComposite.dispose(); linkedResourceComposite = null; composite.layout(); shell.setSize(shellSize.x, basicShellHeight); advancedButton.setText(IDEWorkbenchMessages.showAdvanced); } else { if (basicShellHeight == -1) { basicShellHeight = shell.computeSize(SWT.DEFAULT, SWT.DEFAULT, true).y; } linkedResourceComposite = linkedResourceGroup .createContents(linkedResourceParent); shellSize = shell.computeSize(SWT.DEFAULT, SWT.DEFAULT, true); shell.setSize(shellSize); composite.layout(); advancedButton.setText(IDEWorkbenchMessages.hideAdvanced); } }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/f21a158e540a7a992bc7c1d5732d5d6926ff4f2c/NewFolderDialog.java/clean/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/NewFolderDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1640,
23618,
3616,
3391,
1435,
288,
3639,
19433,
5972,
273,
7932,
1165,
5621,
3639,
4686,
5972,
1225,
273,
5972,
18,
588,
1225,
5621,
3639,
14728,
9635,
273,
261,
9400,
13,
31774,
5484,
5621,
3639,
309,
261,
17738,
1420,
9400,
480,
446,
13,
288,
5411,
8459,
1420,
9400,
18,
2251,
4150,
5621,
5411,
8459,
1420,
9400,
273,
446,
31,
5411,
9635,
18,
6741,
5621,
5411,
5972,
18,
542,
1225,
12,
10304,
1225,
18,
92,
16,
5337,
13220,
2686,
1769,
5411,
16111,
3616,
18,
542,
1528,
12,
10385,
2421,
22144,
5058,
18,
4500,
23618,
1769,
3639,
289,
469,
288,
5411,
309,
261,
13240,
13220,
2686,
422,
300,
21,
13,
288,
7734,
5337,
13220,
2686,
273,
5972,
18,
9200,
1225,
12,
55,
8588,
18,
5280,
16,
348,
8588,
18,
5280,
16,
13491,
638,
2934,
93,
31,
5411,
289,
5411,
8459,
1420,
9400,
273,
8459,
18860,
10792,
263,
2640,
6323,
12,
17738,
1420,
3054,
1769,
5411,
5972,
1225,
273,
5972,
18,
9200,
1225,
12,
55,
8588,
18,
5280,
16,
348,
8588,
18,
5280,
16,
638,
1769,
5411,
5972,
18,
542,
1225,
12,
10304,
1225,
1769,
5411,
9635,
18,
6741,
5621,
5411,
16111,
3616,
18,
542,
1528,
12,
10385,
2421,
22144,
5058,
18,
11248,
23618,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1640,
23618,
3616,
3391,
1435,
288,
3639,
19433,
5972,
273,
7932,
1165,
5621,
3639,
4686,
5972,
1225,
273,
5972,
18,
588,
1225,
5621,
3639,
14728,
9635,
273,
261,
9400,
13,
31774,
5484,
5621,
3639,
309,
261,
17738,
1420,
9400,
480,
446,
13,
288,
5411,
8459,
1420,
9400,
18,
2251,
4150,
5621,
5411,
8459,
1420,
9400,
273,
446,
31,
5411,
9635,
18,
6741,
5621,
5411,
5972,
18,
542,
1225,
12,
10304,
1225,
18,
92,
16,
5337,
13220,
2686,
1769,
5411,
16111,
3616,
18,
542,
1528,
12,
10385,
2421,
22144,
5058,
18,
4500,
23618,
1769,
3639,
289,
469,
288,
5411,
309,
261,
13240,
13220,
2686,
422,
300,
21,
13,
288,
7734,
5337,
13220,
2686,
273,
5972,
18,
9200,
2
] |
myLocation = location;
|
myLocation = repository.getLocation(); myRepositoryRoot = repository.getRepositoryRoot();
|
public DAVCommitEditor(SVNRepositoryLocation location, DAVConnection connection, String message, ISVNWorkspaceMediator mediator, Runnable closeCallback) { myConnection = connection; myLogMessage = message; myLocation = location; myCloseCallback = closeCallback; myCommitMediator = mediator; myDirsStack = new Stack(); myPathsMap = new HashMap(); }
|
2776 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2776/886ec5d6350829d0d90eb51cbcbcb468c0253367/DAVCommitEditor.java/buggy/javasvn/src/org/tmatesoft/svn/core/internal/io/dav/DAVCommitEditor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
463,
5856,
5580,
6946,
12,
23927,
50,
3305,
2735,
2117,
16,
463,
5856,
1952,
1459,
16,
514,
883,
16,
4437,
58,
50,
8241,
13265,
10620,
6735,
10620,
16,
10254,
1746,
2428,
13,
288,
3639,
3399,
1952,
273,
1459,
31,
3639,
3399,
1343,
1079,
273,
883,
31,
540,
3399,
2735,
273,
3352,
18,
588,
2735,
5621,
3399,
3305,
2375,
273,
3352,
18,
588,
3305,
2375,
5621,
3639,
3399,
4605,
2428,
273,
1746,
2428,
31,
3639,
3399,
5580,
13265,
10620,
273,
6735,
10620,
31,
7734,
3399,
9872,
2624,
273,
394,
7283,
5621,
3639,
3399,
4466,
863,
273,
394,
4317,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
463,
5856,
5580,
6946,
12,
23927,
50,
3305,
2735,
2117,
16,
463,
5856,
1952,
1459,
16,
514,
883,
16,
4437,
58,
50,
8241,
13265,
10620,
6735,
10620,
16,
10254,
1746,
2428,
13,
288,
3639,
3399,
1952,
273,
1459,
31,
3639,
3399,
1343,
1079,
273,
883,
31,
540,
3399,
2735,
273,
3352,
18,
588,
2735,
5621,
3399,
3305,
2375,
273,
3352,
18,
588,
3305,
2375,
5621,
3639,
3399,
4605,
2428,
273,
1746,
2428,
31,
3639,
3399,
5580,
13265,
10620,
273,
6735,
10620,
31,
7734,
3399,
9872,
2624,
273,
394,
7283,
5621,
3639,
3399,
4466,
863,
273,
394,
4317,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
= StringUtils.splitArguments(programResponse.toString());
|
= StringUtil.splitArguments(programResponse.toString());
|
private boolean checkResign(GoColor color, StringBuffer response) { if (! m_resign) return false; StringBuffer programResponse = new StringBuffer(); try { send("estimate_score", programResponse); } catch (GtpError e) { return false; } boolean isValid = false; double score = 0; String[] args = StringUtils.splitArguments(programResponse.toString()); if (args.length > 0) { String s = args[0]; try { if (! s.equals("?")) { if (s.indexOf("B+") >= 0) score = Double.parseDouble(s.substring(2)); else if (s.indexOf("W+") >= 0) score = - Double.parseDouble(s.substring(2)); isValid = true; } } catch (NumberFormatException e) { } } if (isValid) { boolean isBlack = (color == GoColor.BLACK); if ((isBlack && score < - m_resignScore) || (! isBlack && score > m_resignScore)) { response.append("resign"); return true; } } return false; }
|
51310 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51310/1f50ffb219183ddaf94720a4aba453e11f412425/GtpAdapter.java/buggy/src/net/sf/gogui/gtpadapter/GtpAdapter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
866,
607,
724,
12,
5741,
2957,
2036,
16,
6674,
766,
13,
565,
288,
3639,
309,
16051,
312,
67,
455,
724,
13,
5411,
327,
629,
31,
3639,
6674,
5402,
1064,
273,
394,
6674,
5621,
3639,
775,
3639,
288,
5411,
1366,
2932,
23562,
67,
6355,
3113,
5402,
1064,
1769,
3639,
289,
3639,
1044,
261,
43,
6834,
668,
425,
13,
3639,
288,
5411,
327,
629,
31,
3639,
289,
3639,
1250,
4908,
273,
629,
31,
3639,
1645,
4462,
273,
374,
31,
3639,
514,
8526,
833,
5411,
273,
14205,
18,
4939,
4628,
12,
12890,
1064,
18,
10492,
10663,
3639,
309,
261,
1968,
18,
2469,
405,
374,
13,
3639,
288,
5411,
514,
272,
273,
833,
63,
20,
15533,
5411,
775,
5411,
288,
7734,
309,
16051,
272,
18,
14963,
2932,
7225,
3719,
7734,
288,
10792,
309,
261,
87,
18,
31806,
2932,
38,
15,
7923,
1545,
374,
13,
13491,
4462,
273,
3698,
18,
2670,
5265,
12,
87,
18,
28023,
12,
22,
10019,
10792,
469,
309,
261,
87,
18,
31806,
2932,
59,
15,
7923,
1545,
374,
13,
13491,
4462,
273,
300,
3698,
18,
2670,
5265,
12,
87,
18,
28023,
12,
22,
10019,
10792,
4908,
273,
638,
31,
7734,
289,
5411,
289,
5411,
1044,
261,
1854,
9291,
425,
13,
5411,
288,
5411,
289,
3639,
289,
3639,
309,
261,
26810,
13,
3639,
288,
5411,
1250,
353,
13155,
273,
261,
3266,
422,
4220,
2957,
18,
14618,
3649,
1769,
5411,
309,
14015,
291,
13155,
597,
4462,
411,
300,
312,
67,
455,
724,
7295,
13,
7734,
747,
16051,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
866,
607,
724,
12,
5741,
2957,
2036,
16,
6674,
766,
13,
565,
288,
3639,
309,
16051,
312,
67,
455,
724,
13,
5411,
327,
629,
31,
3639,
6674,
5402,
1064,
273,
394,
6674,
5621,
3639,
775,
3639,
288,
5411,
1366,
2932,
23562,
67,
6355,
3113,
5402,
1064,
1769,
3639,
289,
3639,
1044,
261,
43,
6834,
668,
425,
13,
3639,
288,
5411,
327,
629,
31,
3639,
289,
3639,
1250,
4908,
273,
629,
31,
3639,
1645,
4462,
273,
374,
31,
3639,
514,
8526,
833,
5411,
273,
14205,
18,
4939,
4628,
12,
12890,
1064,
18,
10492,
10663,
3639,
309,
261,
1968,
18,
2469,
405,
374,
13,
3639,
288,
5411,
514,
272,
273,
833,
63,
20,
15533,
5411,
775,
5411,
288,
2
] |
ResultSet rs = st.executeQuery("select a, b from basic");
|
ResultSet rs = st.executeQuery("select a, b from basic1");
|
public void run() { try { System.out.println("Thread 1 running..."); // First we need a table to store data in st.executeUpdate("create table basic (a int2, b int2)"); // Now insert some data, using the Statement st.executeUpdate("insert into basic values (1,1)"); st.executeUpdate("insert into basic values (2,1)"); st.executeUpdate("insert into basic values (3,1)"); // For large inserts, a PreparedStatement is more efficient, because it // supports the idea of precompiling the SQL statement, and to store // directly, a Java object into any column. PostgreSQL doesnt support // precompiling, but does support setting a column to the value of a // Java object (like Date, String, etc). // // Also, this is the only way of writing dates in a datestyle independent // manner. (DateStyles are PostgreSQL's way of handling different methods // of representing dates in the Date data type.) PreparedStatement ps = db.prepareStatement("insert into basic values (?,?)"); for(int i=2;i<200;i++) { ps.setInt(1,4); // "column a" = 5 ps.setInt(2,i); // "column b" = i ps.executeUpdate(); // executeUpdate because insert returns no data if((i%50)==0) DriverManager.println("Thread 1 done "+i+" inserts"); } ps.close(); // Always close when we are done with it // Finally perform a query on the table DriverManager.println("Thread 1 performing a query"); ResultSet rs = st.executeQuery("select a, b from basic"); int cnt=0; if(rs!=null) { // Now we run through the result set, printing out the result. // Note, we must call .next() before attempting to read any results while(rs.next()) { int a = rs.getInt("a"); // This shows how to get the value by name int b = rs.getInt(2); // This shows how to get the value by column //System.out.println(" a="+a+" b="+b); cnt++; } rs.close(); // again, you must close the result when done } DriverManager.println("Thread 1 read "+cnt+" rows"); // The last thing to do is to drop the table. This is done in the // cleanup() method. System.out.println("Thread 1 finished"); } catch(SQLException se) { System.err.println("Thread 1: "+se.toString()); se.printStackTrace(); System.exit(1); } }
|
2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/bad926aad8ed9e3802d8c6668ff0b1684aab67dc/threadsafe.java/clean/example/threadsafe.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
1377,
775,
288,
202,
3163,
18,
659,
18,
8222,
2932,
3830,
404,
3549,
7070,
1769,
202,
202,
759,
5783,
732,
1608,
279,
1014,
358,
1707,
501,
316,
202,
334,
18,
8837,
1891,
2932,
2640,
1014,
5337,
261,
69,
509,
22,
16,
324,
509,
22,
2225,
1769,
202,
202,
759,
4494,
2243,
2690,
501,
16,
1450,
326,
8056,
202,
334,
18,
8837,
1891,
2932,
6387,
1368,
5337,
924,
261,
21,
16,
21,
2225,
1769,
202,
334,
18,
8837,
1891,
2932,
6387,
1368,
5337,
924,
261,
22,
16,
21,
2225,
1769,
202,
334,
18,
8837,
1891,
2932,
6387,
1368,
5337,
924,
261,
23,
16,
21,
2225,
1769,
202,
202,
759,
2457,
7876,
15607,
16,
279,
16913,
353,
1898,
14382,
16,
2724,
518,
202,
759,
6146,
326,
21463,
434,
675,
2919,
4973,
326,
3063,
3021,
16,
471,
358,
1707,
202,
759,
5122,
16,
279,
5110,
733,
1368,
1281,
1057,
18,
26447,
31272,
2865,
202,
759,
675,
2919,
4973,
16,
1496,
1552,
2865,
3637,
279,
1057,
358,
326,
460,
434,
279,
202,
759,
5110,
733,
261,
5625,
2167,
16,
514,
16,
5527,
2934,
202,
759,
202,
759,
8080,
16,
333,
353,
326,
1338,
4031,
434,
7410,
7811,
316,
279,
1150,
19706,
14807,
202,
759,
21296,
18,
261,
1626,
9725,
854,
26447,
1807,
4031,
434,
5057,
3775,
2590,
202,
759,
434,
5123,
7811,
316,
326,
2167,
501,
618,
12998,
202,
29325,
4250,
273,
1319,
18,
9366,
3406,
2932,
6387,
1368,
5337,
924,
13590,
27166,
2225,
1769,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
1377,
775,
288,
202,
3163,
18,
659,
18,
8222,
2932,
3830,
404,
3549,
7070,
1769,
202,
202,
759,
5783,
732,
1608,
279,
1014,
358,
1707,
501,
316,
202,
334,
18,
8837,
1891,
2932,
2640,
1014,
5337,
261,
69,
509,
22,
16,
324,
509,
22,
2225,
1769,
202,
202,
759,
4494,
2243,
2690,
501,
16,
1450,
326,
8056,
202,
334,
18,
8837,
1891,
2932,
6387,
1368,
5337,
924,
261,
21,
16,
21,
2225,
1769,
202,
334,
18,
8837,
1891,
2932,
6387,
1368,
5337,
924,
261,
22,
16,
21,
2225,
1769,
202,
334,
18,
8837,
1891,
2932,
6387,
1368,
5337,
924,
261,
23,
16,
21,
2225,
1769,
202,
202,
759,
2457,
7876,
15607,
16,
279,
2
] |
gc.set(Calendar.MONTH, nums[2]);
|
gc.set(Calendar.MONTH, nums[2]-1);
|
public void findOldLogFiles() { int slashIndex = baseFilename.lastIndexOf(File.separatorChar); File dir; String prefix; if(slashIndex == -1) { dir = new File(System.getProperty("user.dir")); prefix = baseFilename.toLowerCase(); } else { dir = new File(baseFilename.substring(0, slashIndex)); prefix = baseFilename.substring(slashIndex+1).toLowerCase(); } File[] files = dir.listFiles(); java.util.Arrays.sort(files); long lastStartTime = -1; File oldFile = null; for(int i=0;i<files.length;i++) { File f = files[i]; String name = f.getName(); if(name.toLowerCase().startsWith(prefix)) { if(name.equals(previousFilename)) { Logger.minor(this, "Deleting "+previousFilename); f.delete(); continue; } else if(name.equals(latestFilename)) { Logger.minor(this, "Renaming latest to previous"); f.renameTo(previousFilename); continue; } if(!name.endsWith(".log.gz")) { Logger.minor(this, "Does not end in .log.gz: "+name); f.delete(); continue; } else { name = name.substring(0, name.length()-".log.gz".length()); } name = name.substring(prefix.length()); if(name.length() == 0 || name.charAt(0) != '-') { Logger.minor(this, "Deleting unrecognized: "+name+" ("+f.getPath()+")"); f.delete(); continue; } else name = name.substring(1); String[] tokens = name.split("-"); int[] nums = new int[tokens.length]; for(int j=0;j<tokens.length;j++) { try { nums[j] = Integer.parseInt(tokens[j]); } catch (NumberFormatException e) { Logger.normal(this, "Could not parse: "+tokens[j]+" into number from "+name); // Broken f.delete(); continue; } } // First field: version if(nums[0] != Version.buildNumber) { Logger.minor(this, "Deleting old log from build "+nums[0]+", current="+Version.buildNumber); // Logs that old are useless f.delete(); continue; } GregorianCalendar gc = new GregorianCalendar(); if(nums.length > 1) gc.set(Calendar.YEAR, nums[1]); if(nums.length > 2) gc.set(Calendar.MONTH, nums[2]); if(nums.length > 3) gc.set(Calendar.DAY_OF_MONTH, nums[3]); if(nums.length > 4) gc.set(Calendar.HOUR_OF_DAY, nums[4]); if(nums.length > 5) gc.set(Calendar.MINUTE, nums[5]); long startTime = gc.getTimeInMillis(); if(oldFile != null) { long l = oldFile.length(); OldLogFile olf = new OldLogFile(oldFile, lastStartTime, startTime, l); logFiles.addLast(olf); oldLogFilesDiskSpaceUsage += l; } lastStartTime = -1; oldFile = f; } else { // Nothing to do with us Logger.normal(this, "Unknown file: "+name+" in our log directory"); } } if(oldFile != null) { long l = oldFile.length(); OldLogFile olf = new OldLogFile(oldFile, lastStartTime, System.currentTimeMillis(), l); logFiles.addLast(olf); oldLogFilesDiskSpaceUsage += l; } trimOldLogFiles(); }
|
52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/a4fbc0503efa638a45b13ca5767c814868fc6f8f/FileLoggerHook.java/buggy/src/freenet/support/FileLoggerHook.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1104,
7617,
1343,
2697,
1435,
288,
202,
202,
474,
9026,
1016,
273,
1026,
5359,
18,
2722,
31985,
12,
812,
18,
11287,
2156,
1769,
202,
202,
812,
1577,
31,
202,
202,
780,
1633,
31,
202,
202,
430,
12,
12877,
1016,
422,
300,
21,
13,
288,
1082,
202,
1214,
273,
394,
1387,
12,
3163,
18,
588,
1396,
2932,
1355,
18,
1214,
7923,
1769,
1082,
202,
3239,
273,
1026,
5359,
18,
869,
5630,
5621,
202,
202,
97,
469,
288,
1082,
202,
1214,
273,
394,
1387,
12,
1969,
5359,
18,
28023,
12,
20,
16,
9026,
1016,
10019,
1082,
202,
3239,
273,
1026,
5359,
18,
28023,
12,
12877,
1016,
15,
21,
2934,
869,
5630,
5621,
202,
202,
97,
202,
202,
812,
8526,
1390,
273,
1577,
18,
1098,
2697,
5621,
202,
202,
6290,
18,
1367,
18,
12726,
18,
3804,
12,
2354,
1769,
202,
202,
5748,
1142,
13649,
273,
300,
21,
31,
202,
202,
812,
1592,
812,
273,
446,
31,
202,
202,
1884,
12,
474,
277,
33,
20,
31,
77,
32,
2354,
18,
2469,
31,
77,
27245,
288,
1082,
202,
812,
284,
273,
1390,
63,
77,
15533,
1082,
202,
780,
508,
273,
284,
18,
17994,
5621,
1082,
202,
430,
12,
529,
18,
869,
5630,
7675,
17514,
1190,
12,
3239,
3719,
288,
9506,
202,
430,
12,
529,
18,
14963,
12,
11515,
5359,
3719,
288,
6862,
202,
3328,
18,
17364,
12,
2211,
16,
315,
20433,
13773,
11515,
5359,
1769,
6862,
202,
74,
18,
3733,
5621,
6862,
202,
17143,
31,
9506,
202,
97,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1104,
7617,
1343,
2697,
1435,
288,
202,
202,
474,
9026,
1016,
273,
1026,
5359,
18,
2722,
31985,
12,
812,
18,
11287,
2156,
1769,
202,
202,
812,
1577,
31,
202,
202,
780,
1633,
31,
202,
202,
430,
12,
12877,
1016,
422,
300,
21,
13,
288,
1082,
202,
1214,
273,
394,
1387,
12,
3163,
18,
588,
1396,
2932,
1355,
18,
1214,
7923,
1769,
1082,
202,
3239,
273,
1026,
5359,
18,
869,
5630,
5621,
202,
202,
97,
469,
288,
1082,
202,
1214,
273,
394,
1387,
12,
1969,
5359,
18,
28023,
12,
20,
16,
9026,
1016,
10019,
1082,
202,
3239,
273,
1026,
5359,
18,
28023,
12,
12877,
1016,
15,
21,
2934,
869,
5630,
5621,
202,
202,
97,
202,
202,
2
] |
new NoViableAltException("384:28: ( IDENT )?", 38, 0, input);
|
new NoViableAltException("484:28: ( IDENT )?", 38, 0, input);
|
public void statement() throws RecognitionException { try { // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:336:17: ( compoundStatement | declaration SEMI | expression SEMI | modifiers classDefinition | IDENT COLON statement | 'if' LPAREN expression RPAREN statement ( 'else' statement )? | 'for' LPAREN forInit SEMI forCond SEMI forIter RPAREN statement | 'while' LPAREN expression RPAREN statement | 'do' statement 'while' LPAREN expression RPAREN SEMI | 'break' ( IDENT )? SEMI | 'continue' ( IDENT )? SEMI | 'return' ( expression )? SEMI | 'switch' LPAREN expression RPAREN LCURLY ( casesGroup )* RCURLY | tryBlock | 'throw' expression SEMI | 'synchronized' LPAREN expression RPAREN compoundStatement | SEMI ) int alt41=17; alt41 = dfa41.predict(input); switch (alt41) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:336:17: compoundStatement { following.push(FOLLOW_compoundStatement_in_statement1216); compoundStatement(); following.pop(); } break; case 2 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:343:17: declaration SEMI { following.push(FOLLOW_declaration_in_statement1232); declaration(); following.pop(); match(input,SEMI,FOLLOW_SEMI_in_statement1234); } break; case 3 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:348:17: expression SEMI { following.push(FOLLOW_expression_in_statement1246); expression(); following.pop(); match(input,SEMI,FOLLOW_SEMI_in_statement1248); } break; case 4 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:351:17: modifiers classDefinition { following.push(FOLLOW_modifiers_in_statement1256); modifiers(); following.pop(); following.push(FOLLOW_classDefinition_in_statement1258); classDefinition(); following.pop(); } break; case 5 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:354:17: IDENT COLON statement { match(input,IDENT,FOLLOW_IDENT_in_statement1266); match(input,COLON,FOLLOW_COLON_in_statement1268); following.push(FOLLOW_statement_in_statement1271); statement(); following.pop(); } break; case 6 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:357:17: 'if' LPAREN expression RPAREN statement ( 'else' statement )? { match(input,96,FOLLOW_96_in_statement1279); match(input,LPAREN,FOLLOW_LPAREN_in_statement1281); following.push(FOLLOW_expression_in_statement1283); expression(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_statement1285); following.push(FOLLOW_statement_in_statement1287); statement(); following.pop(); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:358:17: ( 'else' statement )? int alt36=2; int LA36_0 = input.LA(1); if ( LA36_0==97 ) { alt36=1; } else if ( LA36_0==IDENT||(LA36_0>=LCURLY && LA36_0<=RCURLY)||LA36_0==LPAREN||(LA36_0>=PLUS && LA36_0<=MINUS)||(LA36_0>=INC && LA36_0<=NUM_FLOAT)||(LA36_0>=68 && LA36_0<=89)||(LA36_0>=93 && LA36_0<=94)||LA36_0==96||(LA36_0>=98 && LA36_0<=108)||(LA36_0>=112 && LA36_0<=115) ) { alt36=2; } else { NoViableAltException nvae = new NoViableAltException("358:17: ( \'else\' statement )?", 36, 0, input); throw nvae; } switch (alt36) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:362:25: 'else' statement { match(input,97,FOLLOW_97_in_statement1308); following.push(FOLLOW_statement_in_statement1310); statement(); following.pop(); } break; } } break; case 7 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:366:17: 'for' LPAREN forInit SEMI forCond SEMI forIter RPAREN statement { match(input,98,FOLLOW_98_in_statement1323); match(input,LPAREN,FOLLOW_LPAREN_in_statement1328); following.push(FOLLOW_forInit_in_statement1334); forInit(); following.pop(); match(input,SEMI,FOLLOW_SEMI_in_statement1336); following.push(FOLLOW_forCond_in_statement1345); forCond(); following.pop(); match(input,SEMI,FOLLOW_SEMI_in_statement1347); following.push(FOLLOW_forIter_in_statement1356); forIter(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_statement1370); following.push(FOLLOW_statement_in_statement1375); statement(); following.pop(); } break; case 8 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:375:17: 'while' LPAREN expression RPAREN statement { match(input,99,FOLLOW_99_in_statement1404); match(input,LPAREN,FOLLOW_LPAREN_in_statement1406); following.push(FOLLOW_expression_in_statement1408); expression(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_statement1410); following.push(FOLLOW_statement_in_statement1412); statement(); following.pop(); } break; case 9 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:378:17: 'do' statement 'while' LPAREN expression RPAREN SEMI { match(input,100,FOLLOW_100_in_statement1420); following.push(FOLLOW_statement_in_statement1422); statement(); following.pop(); match(input,99,FOLLOW_99_in_statement1424); match(input,LPAREN,FOLLOW_LPAREN_in_statement1426); following.push(FOLLOW_expression_in_statement1428); expression(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_statement1430); match(input,SEMI,FOLLOW_SEMI_in_statement1432); } break; case 10 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:381:17: 'break' ( IDENT )? SEMI { match(input,101,FOLLOW_101_in_statement1440); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:381:25: ( IDENT )? int alt37=2; int LA37_0 = input.LA(1); if ( LA37_0==IDENT ) { alt37=1; } else if ( LA37_0==SEMI ) { alt37=2; } else { NoViableAltException nvae = new NoViableAltException("381:25: ( IDENT )?", 37, 0, input); throw nvae; } switch (alt37) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:381:26: IDENT { match(input,IDENT,FOLLOW_IDENT_in_statement1443); } break; } match(input,SEMI,FOLLOW_SEMI_in_statement1447); } break; case 11 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:384:17: 'continue' ( IDENT )? SEMI { match(input,102,FOLLOW_102_in_statement1455); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:384:28: ( IDENT )? int alt38=2; int LA38_0 = input.LA(1); if ( LA38_0==IDENT ) { alt38=1; } else if ( LA38_0==SEMI ) { alt38=2; } else { NoViableAltException nvae = new NoViableAltException("384:28: ( IDENT )?", 38, 0, input); throw nvae; } switch (alt38) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:384:29: IDENT { match(input,IDENT,FOLLOW_IDENT_in_statement1458); } break; } match(input,SEMI,FOLLOW_SEMI_in_statement1462); } break; case 12 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:387:17: 'return' ( expression )? SEMI { match(input,103,FOLLOW_103_in_statement1470); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:387:26: ( expression )? int alt39=2; int LA39_0 = input.LA(1); if ( LA39_0==IDENT||LA39_0==LPAREN||(LA39_0>=PLUS && LA39_0<=MINUS)||(LA39_0>=INC && LA39_0<=NUM_FLOAT)||(LA39_0>=68 && LA39_0<=76)||(LA39_0>=93 && LA39_0<=94)||(LA39_0>=112 && LA39_0<=115) ) { alt39=1; } else if ( LA39_0==SEMI ) { alt39=2; } else { NoViableAltException nvae = new NoViableAltException("387:26: ( expression )?", 39, 0, input); throw nvae; } switch (alt39) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:387:27: expression { following.push(FOLLOW_expression_in_statement1473); expression(); following.pop(); } break; } match(input,SEMI,FOLLOW_SEMI_in_statement1477); } break; case 13 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:390:17: 'switch' LPAREN expression RPAREN LCURLY ( casesGroup )* RCURLY { match(input,104,FOLLOW_104_in_statement1485); match(input,LPAREN,FOLLOW_LPAREN_in_statement1487); following.push(FOLLOW_expression_in_statement1489); expression(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_statement1491); match(input,LCURLY,FOLLOW_LCURLY_in_statement1493); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:391:25: ( casesGroup )* loop40: do { int alt40=2; int LA40_0 = input.LA(1); if ( (LA40_0>=106 && LA40_0<=107) ) { alt40=1; } switch (alt40) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:391:27: casesGroup { following.push(FOLLOW_casesGroup_in_statement1500); casesGroup(); following.pop(); } break; default : break loop40; } } while (true); match(input,RCURLY,FOLLOW_RCURLY_in_statement1507); } break; case 14 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:395:17: tryBlock { following.push(FOLLOW_tryBlock_in_statement1515); tryBlock(); following.pop(); } break; case 15 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:398:17: 'throw' expression SEMI { match(input,105,FOLLOW_105_in_statement1523); following.push(FOLLOW_expression_in_statement1525); expression(); following.pop(); match(input,SEMI,FOLLOW_SEMI_in_statement1527); } break; case 16 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:401:17: 'synchronized' LPAREN expression RPAREN compoundStatement { match(input,86,FOLLOW_86_in_statement1535); match(input,LPAREN,FOLLOW_LPAREN_in_statement1537); following.push(FOLLOW_expression_in_statement1539); expression(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_statement1541); following.push(FOLLOW_compoundStatement_in_statement1543); compoundStatement(); following.pop(); } break; case 17 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:407:17: SEMI { match(input,SEMI,FOLLOW_SEMI_in_statement1556); } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } }
|
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/024138fd0e08f5f4cd91a30959fe962d30fec435/JavaParser.java/clean/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3021,
1435,
1216,
9539,
288,
6647,
775,
288,
5411,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
6290,
19,
3341,
19,
12215,
19,
18756,
19,
6290,
19,
4288,
19,
6290,
18,
75,
30,
3707,
26,
30,
4033,
30,
261,
11360,
3406,
571,
8266,
3174,
7492,
571,
2652,
3174,
7492,
571,
10429,
27494,
571,
19768,
27856,
3021,
571,
296,
430,
11,
511,
15111,
2652,
534,
15111,
3021,
261,
296,
12107,
11,
3021,
7851,
571,
296,
1884,
11,
511,
15111,
364,
2570,
3174,
7492,
364,
12441,
3174,
7492,
364,
2360,
534,
15111,
3021,
571,
296,
17523,
11,
511,
15111,
2652,
534,
15111,
3021,
571,
296,
2896,
11,
3021,
296,
17523,
11,
511,
15111,
2652,
534,
15111,
3174,
7492,
571,
296,
8820,
11,
261,
19768,
7851,
3174,
7492,
571,
296,
17143,
11,
261,
19768,
7851,
3174,
7492,
571,
296,
2463,
11,
261,
2652,
7851,
3174,
7492,
571,
296,
9610,
11,
511,
15111,
2652,
534,
15111,
511,
26314,
261,
6088,
1114,
8618,
534,
26314,
571,
775,
1768,
571,
296,
12849,
11,
2652,
3174,
7492,
571,
296,
22043,
11,
511,
15111,
2652,
534,
15111,
11360,
3406,
571,
3174,
7492,
262,
5411,
509,
3770,
9803,
33,
4033,
31,
5411,
3770,
9803,
273,
23074,
9803,
18,
14491,
12,
2630,
1769,
5411,
1620,
261,
2390,
9803,
13,
288,
7734,
648,
404,
294,
10792,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3021,
1435,
1216,
9539,
288,
6647,
775,
288,
5411,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
6290,
19,
3341,
19,
12215,
19,
18756,
19,
6290,
19,
4288,
19,
6290,
18,
75,
30,
3707,
26,
30,
4033,
30,
261,
11360,
3406,
571,
8266,
3174,
7492,
571,
2652,
3174,
7492,
571,
10429,
27494,
571,
19768,
27856,
3021,
571,
296,
430,
11,
511,
15111,
2652,
534,
15111,
3021,
261,
296,
12107,
11,
3021,
7851,
571,
296,
1884,
11,
511,
15111,
364,
2570,
3174,
7492,
364,
12441,
3174,
7492,
364,
2360,
534,
15111,
3021,
571,
296,
17523,
11,
511,
15111,
2652,
534,
15111,
3021,
2
] |
public String getDisplayName() {
|
public String getDisplayName(){
|
public String getDisplayName() { return "Method overrides private method of superclass"; }
|
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/d6e7604c0e820eb6080db33dc4f7b731664f07e9/MethodOverridesPrivateMethodInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/visibility/MethodOverridesPrivateMethodInspection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
22055,
1435,
95,
3639,
327,
315,
1305,
9515,
3238,
707,
434,
12098,
14432,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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326,
981,
30,
377,
1071,
514,
22055,
1435,
95,
3639,
327,
315,
1305,
9515,
3238,
707,
434,
12098,
14432,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
for (int i = 0; i < newBody.length - 1; i ++) newBody[i] = transform(newBody[i]);
|
return gen.ClassDef(treeSym, transform(newBody));
|
public Tree transform(Tree tree) { final Symbol treeSym = tree.symbol(); switch (tree) { case ClassDef(_, _, _, _, _, Template impl): if (treeSym.isInterface()) return super.transform(tree); // expressions that go before the call to the super constructor final ArrayList constrBody = new ArrayList(); // expressions that go after the call to the super constructor final ArrayList constrBody2 = new ArrayList(); // the body of the class after the transformation final ArrayList classBody = new ArrayList(); // the Symbol of the new primary constructor final Symbol constrSym = getConstructor(treeSym.primaryConstructor()); assert constrSym.owner() == treeSym : "Wrong owner of the constructor: \n\tfound: " + Debug.show(constrSym.owner()) + "\n\texpected: " + Debug.show(treeSym); for (int i = 0; i < impl.body.length; i++) { Tree t = impl.body[i]; if (t.definesSymbol()) { Symbol sym = t.symbol(); switch (t) { // for ValDefs move the initialization code to the constructor case ValDef(_, _, _, Tree rhs): if (rhs != Tree.Empty) { Tree lhs = gen.Select(gen.This(t.pos, treeSym), sym); Tree assign = gen.Assign(t.pos, lhs, transform(rhs)); t = gen.ValDef(sym, Tree.Empty); if (rhs.hasSymbol() && rhs.symbol().isParameter()) { constrBody.add(assign); } else { constrBody2.add(assign); } } break; // assign new symbols to the alternative constructors case DefDef(_, _, _, _, _, Tree rhs): if (sym.isConstructor()) { // add result expression consistent with the // result type of the constructor Tree result = forINT ? gen.This(t.pos, treeSym) : gen.mkUnitLit(t.pos); rhs = gen.mkBlock(new Tree[] { rhs, result }); t = gen.DefDef(getConstructor(sym), rhs); } break; } // do not transform(t). It will be done at the end classBody.add(t); } else { // move class-level expressions into the constructor constrBody2.add(transform(impl.body[i])); } } // inline the call to the super constructor if ( !forINT || !treeSym.parents()[0].symbol().isJava()) { switch (impl.parents[0]) { case Apply(TypeApply(Tree fun, Tree[] targs), Tree[] args): int pos = impl.parents[0].pos; Tree superConstr = gen.Select (gen.Super(pos, treeSym), getConstructor(fun.symbol())); constrBody.add(gen.mkApplyTV(superConstr, transform(targs), transform(args))); break; case Apply(Tree fun, Tree[] args): int pos = impl.parents[0].pos; Tree superConstr = gen.Select (gen.Super(pos, treeSym), getConstructor(fun.symbol())); constrBody.add(gen.mkApply_V(superConstr, transform(args))); break; default: throw Debug.abort("illegal case", impl.parents[0]); } } // inline initialization of module values if (forINT && treeSym.isModuleClass()) { Symbol module = treeSym.module(); if (module.isGlobalModule()) { constrBody.add( gen.Assign( gen.mkRef(tree.pos, module), gen.This(tree.pos, treeSym))); } else { Symbol owner = module.owner(); Name module_eqname = module.name.append(Names._EQ); Symbol module_eq = owner.lookup(module_eqname); assert module != Symbol.NONE :Debug.show(treeSym.module()); if (owner.isModuleClass() && owner.module().isStable()) { constrBody.add( gen.mkApply_V( gen.mkRef(tree.pos, module_eq), new Tree[] {gen.This(tree.pos, treeSym)})); } else { // !!! module_eq must be accessed via some outer field } } } // add valdefs and class-level expression to the constructorr body constrBody.addAll(constrBody2); // add result expression consistent with the // result type of the constructor constrBody.add(forINT ? gen.This(tree.pos, treeSym) : gen.mkUnitLit(tree.pos)); Tree constrTree = constrBody.size() > 1 ? gen.Block((Tree[])constrBody. toArray(new Tree[constrBody.size()])): (Tree) constrBody.get(0); classBody.add(gen.DefDef(constrSym, constrTree)); Tree[] newBody = (Tree[]) classBody.toArray(Tree.EMPTY_ARRAY); // transform the bodies of all members in order to substitute // the constructor references with the new ones for (int i = 0; i < newBody.length - 1; i ++) newBody[i] = transform(newBody[i]); return gen.ClassDef(treeSym, newBody); // Substitute the constructor into the 'new' expressions case New(Template(Tree[] baseClasses, _)): Tree base = baseClasses[0]; switch (base) { case Apply(TypeApply(Tree fun, Tree[] targs), Tree[] args): return gen.New( tree.pos, gen.mkApplyTV( base.pos, gen.Ident(fun.pos, getConstructor(fun.symbol())), transform(targs), transform(args))); case Apply(Tree fun, Tree[] args): return gen.New( tree.pos, gen.mkApply_V( base.pos, gen.Ident(fun.pos, getConstructor(fun.symbol())), transform(args))); default: assert false; } break; // Substitute the constructor aplication; // this only occurs within constructors that terminate // by a call to another constructor of the same class case Apply(TypeApply(Tree fun, Tree[] targs), Tree[] args): Symbol constr = (Symbol)constructors.get(fun.symbol()); if (constr != null) return gen.mkApplyTV( tree.pos, gen.Select(fun.pos, gen.This(fun.pos, constr.owner()), constr), transform(targs), transform(args)); break; case Apply(Tree fun, Tree[] args): Symbol constr = (Symbol)constructors.get(fun.symbol()); if (constr != null) return gen.mkApply_V( tree.pos, gen.Select(fun.pos, gen.This(fun.pos, constr.owner()), constr), transform(args)); break; } // switch(tree) return super.transform(tree); } // transform()
|
49529 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49529/21d687907728be727a72f21cf26ad5a6c0a66729/AddConstructors.java/clean/sources/scalac/transformer/AddConstructors.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4902,
2510,
12,
2471,
2151,
13,
288,
202,
6385,
8565,
2151,
11901,
273,
2151,
18,
7175,
5621,
202,
9610,
261,
3413,
13,
288,
202,
3593,
1659,
3262,
24899,
16,
389,
16,
389,
16,
389,
16,
389,
16,
5035,
9380,
4672,
202,
565,
309,
261,
3413,
11901,
18,
291,
1358,
10756,
202,
202,
2463,
2240,
18,
6547,
12,
3413,
1769,
202,
565,
368,
8041,
716,
1960,
1865,
326,
745,
358,
326,
2240,
3885,
202,
565,
727,
2407,
14472,
2250,
273,
394,
2407,
5621,
202,
565,
368,
8041,
716,
1960,
1839,
326,
745,
358,
326,
2240,
3885,
202,
565,
727,
2407,
14472,
2250,
22,
273,
394,
2407,
5621,
202,
565,
368,
326,
1417,
434,
326,
667,
1839,
326,
8620,
202,
565,
727,
2407,
667,
2250,
273,
394,
2407,
5621,
202,
565,
368,
326,
8565,
434,
326,
394,
3354,
3885,
202,
565,
727,
8565,
14472,
11901,
273,
202,
202,
588,
6293,
12,
3413,
11901,
18,
8258,
6293,
10663,
202,
565,
1815,
14472,
11901,
18,
8443,
1435,
422,
2151,
11901,
294,
202,
202,
6,
13634,
3410,
434,
326,
3885,
30,
521,
82,
64,
6632,
772,
30,
315,
397,
202,
202,
2829,
18,
4500,
12,
591,
701,
11901,
18,
8443,
10756,
397,
1548,
82,
64,
88,
3825,
30,
315,
397,
202,
202,
2829,
18,
4500,
12,
3413,
11901,
1769,
202,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
9380,
18,
3432,
18,
2469,
31,
277,
27245,
288,
202,
202,
2471,
268,
273,
9380,
18,
3432,
63,
77,
15533,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4902,
2510,
12,
2471,
2151,
13,
288,
202,
6385,
8565,
2151,
11901,
273,
2151,
18,
7175,
5621,
202,
9610,
261,
3413,
13,
288,
202,
3593,
1659,
3262,
24899,
16,
389,
16,
389,
16,
389,
16,
389,
16,
5035,
9380,
4672,
202,
565,
309,
261,
3413,
11901,
18,
291,
1358,
10756,
202,
202,
2463,
2240,
18,
6547,
12,
3413,
1769,
202,
565,
368,
8041,
716,
1960,
1865,
326,
745,
358,
326,
2240,
3885,
202,
565,
727,
2407,
14472,
2250,
273,
394,
2407,
5621,
202,
565,
368,
8041,
716,
1960,
1839,
326,
745,
358,
326,
2240,
3885,
202,
565,
727,
2407,
14472,
2250,
22,
273,
394,
2407,
5621,
202,
565,
368,
326,
1417,
434,
326,
667,
1839,
326,
8620,
2
] |
} finally { monitor.done();
|
private boolean performCopyWithAutoRename(IResource[] resources, IPath destination, IProgressMonitor monitor) { IWorkspace workspace = resources[0].getWorkspace(); try { ContainerGenerator generator = new ContainerGenerator(destination); generator.generateContainer(new SubProgressMonitor(monitor, 10)); IProgressMonitor subMonitor = new SubProgressMonitor(monitor, 75); subMonitor.beginTask(getOperationTitle(), resources.length); for (int i = 0; i < resources.length; i++) { IResource source = resources[i]; IPath destinationPath = destination.append(source.getName()); if (workspace.getRoot().exists(destinationPath)) { destinationPath = getNewNameFor(destinationPath, workspace); } if (destinationPath != null) { try { source.copy(destinationPath, IResource.SHALLOW, new SubProgressMonitor(subMonitor, 0)); } catch (CoreException e) { recordError(e); // log error return false; } } subMonitor.worked(1); if (subMonitor.isCanceled()) { throw new OperationCanceledException(); } } } catch (CoreException e) { recordError(e); // log error return false; } finally { monitor.done(); } return true; }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/53cada7d6d0463cdcb3aed320ea380f4aae64087/CopyFilesAndFoldersOperation.java/buggy/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
3073,
2951,
1190,
4965,
16019,
12,
45,
1420,
8526,
2703,
16,
1082,
202,
45,
743,
2929,
16,
467,
5491,
7187,
6438,
13,
288,
202,
202,
45,
8241,
6003,
273,
2703,
63,
20,
8009,
588,
8241,
5621,
202,
202,
698,
288,
1082,
202,
2170,
3908,
4456,
273,
394,
4039,
3908,
12,
10590,
1769,
1082,
202,
8812,
18,
7163,
2170,
12,
2704,
2592,
5491,
7187,
12,
10259,
16,
1728,
10019,
1082,
202,
45,
5491,
7187,
720,
7187,
273,
394,
2592,
5491,
7187,
12,
10259,
16,
18821,
1769,
1082,
202,
1717,
7187,
18,
10086,
2174,
12,
588,
2988,
4247,
9334,
2703,
18,
2469,
1769,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
2703,
18,
2469,
31,
277,
27245,
288,
9506,
202,
45,
1420,
1084,
273,
2703,
63,
77,
15533,
9506,
202,
45,
743,
30617,
273,
2929,
18,
6923,
12,
3168,
18,
17994,
10663,
9506,
202,
430,
261,
14915,
18,
588,
2375,
7675,
1808,
12,
10590,
743,
3719,
288,
6862,
202,
10590,
743,
273,
12654,
461,
1290,
12,
10590,
743,
16,
6003,
1769,
9506,
202,
97,
9506,
202,
430,
261,
10590,
743,
480,
446,
13,
288,
6862,
202,
698,
288,
25083,
202,
3168,
18,
3530,
12,
10590,
743,
16,
467,
1420,
18,
2664,
13511,
16,
6862,
9506,
202,
2704,
2592,
5491,
7187,
12,
1717,
7187,
16,
374,
10019,
6862,
202,
97,
1044,
261,
25341,
425,
13,
288,
25083,
202,
3366,
668,
12,
73,
1769,
368,
613,
555,
25083,
202,
2463,
629,
31,
6862,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
3073,
2951,
1190,
4965,
16019,
12,
45,
1420,
8526,
2703,
16,
1082,
202,
45,
743,
2929,
16,
467,
5491,
7187,
6438,
13,
288,
202,
202,
45,
8241,
6003,
273,
2703,
63,
20,
8009,
588,
8241,
5621,
202,
202,
698,
288,
1082,
202,
2170,
3908,
4456,
273,
394,
4039,
3908,
12,
10590,
1769,
1082,
202,
8812,
18,
7163,
2170,
12,
2704,
2592,
5491,
7187,
12,
10259,
16,
1728,
10019,
1082,
202,
45,
5491,
7187,
720,
7187,
273,
394,
2592,
5491,
7187,
12,
10259,
16,
18821,
1769,
1082,
202,
1717,
7187,
18,
10086,
2174,
12,
588,
2988,
4247,
9334,
2703,
18,
2469,
1769,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
2703,
18,
2469,
2
] |
|
public ArticleCreateDateComparator(boolean asc) { _asc = asc;
|
public ArticleCreateDateComparator() { this(false);
|
public ArticleCreateDateComparator(boolean asc) { _asc = asc; }
|
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/0f4675cccf5487b482133977e732e847e320f104/ArticleCreateDateComparator.java/buggy/portal-ejb/src/com/liferay/portlet/journal/util/comparator/ArticleCreateDateComparator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
17889,
1684,
1626,
5559,
12,
6494,
6972,
13,
288,
202,
202,
67,
3691,
273,
6972,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
17889,
1684,
1626,
5559,
12,
6494,
6972,
13,
288,
202,
202,
67,
3691,
273,
6972,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
ClassName.NoPutResultSet, 8);
|
ClassName.NoPutResultSet, 7);
|
public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { if (SanityManager.DEBUG) SanityManager.ASSERT(resultColumns != null, "Tree structure bad"); /* Get the next ResultSet #, so that we can number this ResultSetNode, its * ResultColumnList and ResultSet. */ assignResultSetNumber(); // build up the tree. // Generate the child ResultSet // Get the cost estimate for the child costEstimate = childResult.getFinalCostEstimate(); int erdNumber = acb.addItem(makeResultDescription()); acb.pushGetResultSetFactoryExpression(mb); childResult.generate(acb, mb); acb.pushThisAsActivation(mb); mb.push(resultSetNumber); mb.push(resultColumns.size()); mb.pushThis(); mb.callMethod(VMOpcode.INVOKEVIRTUAL, ClassName.BaseActivation, "getScrollable", "boolean", 0); mb.push(costEstimate.rowCount()); mb.push(costEstimate.getEstimatedCost()); closeMethodArgument(acb, mb); mb.callMethod(VMOpcode.INVOKEINTERFACE, (String) null, "getScrollInsensitiveResultSet", ClassName.NoPutResultSet, 8); }
|
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/9e6e461e8a18e9d7ada381c5ec3e7568559831b5/ScrollInsensitiveResultSetNode.java/buggy/java/engine/org/apache/derby/impl/sql/compile/ScrollInsensitiveResultSetNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2103,
12,
14857,
797,
1263,
1721,
70,
16,
6862,
9506,
202,
1305,
1263,
4903,
13,
6862,
1082,
202,
15069,
8263,
503,
202,
95,
202,
202,
430,
261,
55,
10417,
1318,
18,
9394,
13,
3639,
23123,
1318,
18,
8423,
11539,
12,
2088,
3380,
480,
446,
16,
315,
2471,
3695,
5570,
8863,
202,
202,
20308,
968,
326,
1024,
10842,
468,
16,
1427,
716,
732,
848,
1300,
333,
10842,
907,
16,
2097,
1082,
380,
3438,
1494,
682,
471,
10842,
18,
1082,
1195,
202,
202,
6145,
13198,
1854,
5621,
202,
202,
759,
1361,
731,
326,
2151,
18,
202,
202,
759,
6654,
326,
1151,
10842,
202,
202,
759,
968,
326,
6991,
11108,
364,
326,
1151,
202,
202,
12398,
13638,
273,
1151,
1253,
18,
588,
7951,
8018,
13638,
5621,
202,
202,
474,
6445,
72,
1854,
273,
1721,
70,
18,
1289,
1180,
12,
6540,
1253,
3291,
10663,
202,
202,
1077,
70,
18,
6206,
967,
13198,
1733,
2300,
12,
1627,
1769,
202,
202,
3624,
1253,
18,
7163,
12,
1077,
70,
16,
4903,
1769,
202,
202,
1077,
70,
18,
6206,
2503,
1463,
14857,
12,
1627,
1769,
202,
202,
1627,
18,
6206,
12,
2088,
694,
1854,
1769,
202,
202,
1627,
18,
6206,
12,
2088,
3380,
18,
1467,
10663,
202,
202,
1627,
18,
6206,
2503,
5621,
202,
202,
1627,
18,
1991,
1305,
12,
7397,
22808,
18,
706,
17691,
41,
26854,
16,
19811,
18,
2171,
14857,
16,
315,
588,
6806,
429,
3113,
25083,
202,
6,
6494,
3113,
374,
1769,
202,
202,
1627,
18,
6206,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2103,
12,
14857,
797,
1263,
1721,
70,
16,
6862,
9506,
202,
1305,
1263,
4903,
13,
6862,
1082,
202,
15069,
8263,
503,
202,
95,
202,
202,
430,
261,
55,
10417,
1318,
18,
9394,
13,
3639,
23123,
1318,
18,
8423,
11539,
12,
2088,
3380,
480,
446,
16,
315,
2471,
3695,
5570,
8863,
202,
202,
20308,
968,
326,
1024,
10842,
468,
16,
1427,
716,
732,
848,
1300,
333,
10842,
907,
16,
2097,
1082,
380,
3438,
1494,
682,
471,
10842,
18,
1082,
1195,
202,
202,
6145,
13198,
1854,
5621,
202,
202,
759,
1361,
731,
326,
2151,
18,
202,
202,
759,
6654,
326,
1151,
10842,
202,
202,
759,
968,
326,
6991,
11108,
364,
326,
1151,
202,
202,
12398,
13638,
273,
2
] |
notifyProgListenerEnd(-1, 0);
|
int delay = 100; javax.swing.Timer timer = new javax.swing.Timer(delay, new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { notifyProgListenerEnd(-1, 0); } }); timer.stop(); timer.setInitialDelay(delay); timer.setRepeats(false); timer.start();
|
public int findSlotFromMessage(LocoNetMessage m) { int i = -1; // find the slot index in the message and store here // decode the specific message type and hence slot number switch (m.getOpCode()) { case LnConstants.OPC_WR_SL_DATA: case LnConstants.OPC_SL_RD_DATA: i = m.getElement(2); break; case LnConstants.OPC_LOCO_DIRF: case LnConstants.OPC_LOCO_SND: case LnConstants.OPC_LOCO_SPD: case LnConstants.OPC_SLOT_STAT1: i = m.getElement(1); break; case LnConstants.OPC_MOVE_SLOTS: // handle the follow-on message when it comes return i; // need to cope with that!! case LnConstants.OPC_LONG_ACK: // handle if reply to slot. There's no slot number in the LACK, unfortunately. // If this is a LACK to a Slot op, and progState is command pending, // assume its for us... if (log.isDebugEnabled()) log.debug("LACK in state "+progState+" message: "+m.toString()); if (m.getElement(1) == 0x6F && progState == 1 ) { // in programming state // check status byte if ((m.getElement(2) == 1) // task accepted || (m.getElement(2) == 0x7F)) { // 'not implemented' (op on main) // but BDL16 and other devices can eventually reply, so // move to commandExecuting state if (_progRead || _progConfirm) startLongTimer(); else startShortTimer(); progState = 2; return i; } else if (m.getElement(2) == 0) { // task aborted as busy // move to not programming state progState = 0; // notify user ProgListener stopTimer(); notifyProgListenerLack(jmri.ProgListener.ProgrammerBusy); return i; } else if (m.getElement(2) == 0x40) { // task accepted blind // move to not programming state progState = 0; // notify user ProgListener stopTimer(); notifyProgListenerEnd(-1, 0); // no value (e.g. -1), no error status (e.g.0) return i; } else { // not sure how to cope, so complain log.warn("unexpected LACK reply code "+m.getElement(2)); // move to not programming state progState = 0; // notify user ProgListener stopTimer(); notifyProgListenerLack(jmri.ProgListener.UnknownError); return i; } } else return i; default: // nothing here for us return i; } // break gets to here return i; }
|
2652 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2652/8efc8b5e233643c030f631da04f0f2aa9f64842e/SlotManager.java/buggy/jmri/jmrix/loconet/SlotManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
1104,
8764,
1265,
1079,
12,
1333,
83,
7308,
1079,
312,
13,
288,
3639,
509,
277,
273,
300,
21,
31,
225,
368,
1104,
326,
4694,
770,
316,
326,
883,
471,
1707,
2674,
3639,
368,
2495,
326,
2923,
883,
618,
471,
20356,
4694,
1300,
3639,
1620,
261,
81,
18,
588,
3817,
1085,
10756,
288,
3639,
648,
511,
82,
2918,
18,
51,
3513,
67,
7181,
67,
4559,
67,
4883,
30,
3639,
648,
511,
82,
2918,
18,
51,
3513,
67,
4559,
67,
20403,
67,
4883,
30,
5411,
277,
273,
312,
18,
21336,
12,
22,
1769,
5411,
898,
31,
3639,
648,
511,
82,
2918,
18,
51,
3513,
67,
1502,
3865,
67,
4537,
42,
30,
3639,
648,
511,
82,
2918,
18,
51,
3513,
67,
1502,
3865,
67,
55,
2908,
30,
3639,
648,
511,
82,
2918,
18,
51,
3513,
67,
1502,
3865,
67,
3118,
40,
30,
3639,
648,
511,
82,
2918,
18,
51,
3513,
67,
55,
1502,
56,
67,
28549,
21,
30,
5411,
277,
273,
312,
18,
21336,
12,
21,
1769,
5411,
898,
31,
3639,
648,
511,
82,
2918,
18,
51,
3513,
67,
16537,
67,
55,
1502,
8047,
30,
225,
368,
1640,
326,
2805,
17,
265,
883,
1347,
518,
14535,
5411,
327,
277,
31,
368,
1608,
358,
276,
1306,
598,
716,
8548,
3639,
648,
511,
82,
2918,
18,
51,
3513,
67,
14639,
67,
3649,
30,
5411,
368,
1640,
309,
4332,
358,
4694,
18,
6149,
1807,
1158,
4694,
1300,
316,
326,
511,
3649,
16,
640,
24233,
18,
5411,
368,
971,
333,
353,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
1104,
8764,
1265,
1079,
12,
1333,
83,
7308,
1079,
312,
13,
288,
3639,
509,
277,
273,
300,
21,
31,
225,
368,
1104,
326,
4694,
770,
316,
326,
883,
471,
1707,
2674,
3639,
368,
2495,
326,
2923,
883,
618,
471,
20356,
4694,
1300,
3639,
1620,
261,
81,
18,
588,
3817,
1085,
10756,
288,
3639,
648,
511,
82,
2918,
18,
51,
3513,
67,
7181,
67,
4559,
67,
4883,
30,
3639,
648,
511,
82,
2918,
18,
51,
3513,
67,
4559,
67,
20403,
67,
4883,
30,
5411,
277,
273,
312,
18,
21336,
12,
22,
1769,
5411,
898,
31,
3639,
648,
511,
82,
2918,
18,
51,
3513,
67,
1502,
3865,
67,
4537,
42,
30,
3639,
648,
511,
82,
2918,
18,
51,
2
] |
public DocumentImpl(String text) { this(); LOG.assertTrue(text.indexOf("\r") < 0, "Wrong line separators in Document"); setChars(text);
|
private DocumentImpl() { setCyclicBufferSize(0);
|
public DocumentImpl(String text) { this(); LOG.assertTrue(text.indexOf("\r") < 0, "Wrong line separators in Document"); setChars(text); setModificationStamp(LocalTimeCounter.currentTime()); }
|
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/3fc1c0fe56160dfec20851560bac95edc44daf84/DocumentImpl.java/buggy/source/com/intellij/openapi/editor/impl/DocumentImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
4319,
2828,
12,
780,
977,
13,
288,
565,
333,
5621,
565,
2018,
18,
11231,
5510,
12,
955,
18,
31806,
31458,
86,
7923,
411,
374,
16,
315,
13634,
980,
14815,
316,
4319,
8863,
565,
444,
7803,
12,
955,
1769,
565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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
4319,
2828,
12,
780,
977,
13,
288,
565,
333,
5621,
565,
2018,
18,
11231,
5510,
12,
955,
18,
31806,
31458,
86,
7923,
411,
374,
16,
315,
13634,
980,
14815,
316,
4319,
8863,
565,
444,
7803,
12,
955,
1769,
565,
444,
13467,
8860,
12,
2042,
950,
4789,
18,
2972,
950,
10663,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return Dispatcher.ERROR;
|
return Status.ERROR;
|
public int execute(ProcessingContext<? extends S, ? extends T> processingContext, Object handler) { try { return ((Controller<S, T>) handler).execute(processingContext); } catch(Exception e) { LOGGER.warn("Controller [" + handler + "]failure.", e); } return Dispatcher.ERROR; }
|
11074 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11074/7c69baf7747c8136ae8366ea04b63bf87a2033c7/ControllerHandlerAdapter.java/buggy/branches/0.3/src/main/java/org/iterx/miru/dispatcher/adapter/handler/ControllerHandlerAdapter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
1836,
12,
7798,
1042,
12880,
3231,
348,
16,
692,
3231,
399,
34,
4929,
1042,
16,
1033,
1838,
13,
288,
3639,
775,
288,
5411,
327,
14015,
2933,
32,
55,
16,
399,
23429,
1838,
2934,
8837,
12,
10632,
1042,
1769,
3639,
289,
3639,
1044,
12,
503,
425,
13,
288,
5411,
4145,
18,
8935,
2932,
2933,
8247,
397,
1838,
397,
9850,
12251,
1199,
16,
425,
1769,
3639,
289,
3639,
327,
2685,
18,
3589,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
1836,
12,
7798,
1042,
12880,
3231,
348,
16,
692,
3231,
399,
34,
4929,
1042,
16,
1033,
1838,
13,
288,
3639,
775,
288,
5411,
327,
14015,
2933,
32,
55,
16,
399,
23429,
1838,
2934,
8837,
12,
10632,
1042,
1769,
3639,
289,
3639,
1044,
12,
503,
425,
13,
288,
5411,
4145,
18,
8935,
2932,
2933,
8247,
397,
1838,
397,
9850,
12251,
1199,
16,
425,
1769,
3639,
289,
3639,
327,
2685,
18,
3589,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
context.pushClass(getClasses().getObjectClass());
|
oldParent = context.setRubyClass(getClasses().getObjectClass());
|
public void loadNode(String scriptName, Node node, boolean wrap) { IRubyObject self = getTopSelf(); ThreadContext context = getCurrentContext(); context.pushDynamicVars(); RubyModule wrapper = context.getWrapper(); if (!wrap) { secure(4); /* should alter global state */ context.pushClass(getClasses().getObjectClass()); context.setWrapper(null); } else { /* load in anonymous module as toplevel */ context.setWrapper(RubyModule.newModule(this, null)); context.pushClass(context.getWrapper()); self = getTopSelf().rbClone(); self.extendObject(context.getRubyClass()); } String last_func = getCurrentFrame().getLastFunc(); context.getFrameStack().push(); context.getCurrentFrame().setLastFunc(null); context.getCurrentFrame().setLastClass(null); context.getCurrentFrame().setSelf(self); context.getScopeStack().push(); /* default visibility is private at loading toplevel */ setCurrentVisibility(Visibility.PRIVATE); try { self.eval(node); } finally { context.getCurrentFrame().setLastFunc(last_func); context.getScopeStack().pop(); context.getFrameStack().pop(); context.popClass(); context.popDynamicVars(); context.setWrapper(wrapper); } }
|
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/abfe85d15f992ecf4447b155d177050fe2239c3b/Ruby.java/clean/src/org/jruby/Ruby.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1262,
907,
12,
780,
31008,
16,
2029,
756,
16,
1250,
2193,
13,
288,
3639,
15908,
10340,
921,
365,
273,
13729,
10084,
5621,
3639,
4884,
1042,
819,
273,
5175,
1042,
5621,
3639,
819,
18,
6206,
9791,
5555,
5621,
3639,
19817,
3120,
4053,
273,
819,
18,
588,
3611,
5621,
3639,
309,
16051,
4113,
13,
288,
5411,
8177,
12,
24,
1769,
1748,
1410,
10182,
2552,
919,
1195,
5411,
1592,
3054,
273,
819,
18,
542,
54,
10340,
797,
12,
588,
4818,
7675,
588,
921,
797,
10663,
5411,
819,
18,
542,
3611,
12,
2011,
1769,
3639,
289,
469,
288,
5411,
1748,
1262,
316,
13236,
1605,
487,
28999,
1195,
5411,
819,
18,
542,
3611,
12,
54,
10340,
3120,
18,
2704,
3120,
12,
2211,
16,
446,
10019,
5411,
819,
18,
6206,
797,
12,
2472,
18,
588,
3611,
10663,
5411,
365,
273,
13729,
10084,
7675,
6731,
10930,
5621,
5411,
365,
18,
14313,
921,
12,
2472,
18,
588,
54,
10340,
797,
10663,
3639,
289,
3639,
514,
1142,
67,
644,
273,
5175,
3219,
7675,
588,
3024,
2622,
5621,
3639,
819,
18,
588,
3219,
2624,
7675,
6206,
5621,
3639,
819,
18,
588,
3935,
3219,
7675,
542,
3024,
2622,
12,
2011,
1769,
3639,
819,
18,
588,
3935,
3219,
7675,
542,
3024,
797,
12,
2011,
1769,
3639,
819,
18,
588,
3935,
3219,
7675,
542,
10084,
12,
2890,
1769,
3639,
819,
18,
588,
3876,
2624,
7675,
6206,
5621,
3639,
1748,
805,
9478,
353,
3238,
622,
7153,
28999,
1195,
3639,
12589,
10135,
12,
10135,
18,
20055,
1769,
3639,
775,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1262,
907,
12,
780,
31008,
16,
2029,
756,
16,
1250,
2193,
13,
288,
3639,
15908,
10340,
921,
365,
273,
13729,
10084,
5621,
3639,
4884,
1042,
819,
273,
5175,
1042,
5621,
3639,
819,
18,
6206,
9791,
5555,
5621,
3639,
19817,
3120,
4053,
273,
819,
18,
588,
3611,
5621,
3639,
309,
16051,
4113,
13,
288,
5411,
8177,
12,
24,
1769,
1748,
1410,
10182,
2552,
919,
1195,
5411,
1592,
3054,
273,
819,
18,
542,
54,
10340,
797,
12,
588,
4818,
7675,
588,
921,
797,
10663,
5411,
819,
18,
542,
3611,
12,
2011,
1769,
3639,
289,
469,
288,
5411,
1748,
1262,
316,
13236,
1605,
487,
28999,
1195,
5411,
819,
18,
542,
3611,
12,
54,
10340,
3120,
18,
2704,
3120,
12,
2
] |
Element propElem = (Element) statusMap.get(key); if (propElem != null) {
|
Object mapEntry = statusMap.get(key); if (mapEntry != null) { Element propElem = (Element) mapEntry;
|
public DavPropertySet getProperties(int status) { DavPropertySet set = new DavPropertySet(); Integer key = new Integer(status); if (statusMap.containsKey(key)) { Element propElem = (Element) statusMap.get(key); if (propElem != null) { Iterator it = propElem.getChildren().iterator(); while (it.hasNext()) { Element propEntry = (Element) it.next(); DavProperty prop = DefaultDavProperty.createFromXml(propEntry); set.add(prop); } } } return set; }
|
48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/4fdade8a8a0ca260371a4274ff24ee70c758a80e/MultiStatusResponse.java/clean/contrib/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/MultiStatusResponse.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
463,
842,
1396,
694,
9392,
12,
474,
1267,
13,
288,
3639,
463,
842,
1396,
694,
444,
273,
394,
463,
842,
1396,
694,
5621,
3639,
2144,
498,
273,
394,
2144,
12,
2327,
1769,
3639,
309,
261,
2327,
863,
18,
12298,
653,
12,
856,
3719,
288,
5411,
3010,
2270,
7498,
273,
261,
1046,
13,
1267,
863,
18,
588,
12,
856,
1769,
5411,
309,
261,
5986,
7498,
480,
446,
13,
288,
7734,
4498,
518,
273,
2270,
7498,
18,
588,
4212,
7675,
9838,
5621,
7734,
1323,
261,
305,
18,
5332,
2134,
10756,
288,
10792,
3010,
2270,
1622,
273,
261,
1046,
13,
518,
18,
4285,
5621,
10792,
463,
842,
1396,
2270,
273,
2989,
40,
842,
1396,
18,
2640,
1265,
4432,
12,
5986,
1622,
1769,
10792,
444,
18,
1289,
12,
5986,
1769,
7734,
289,
5411,
289,
3639,
289,
3639,
327,
444,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
463,
842,
1396,
694,
9392,
12,
474,
1267,
13,
288,
3639,
463,
842,
1396,
694,
444,
273,
394,
463,
842,
1396,
694,
5621,
3639,
2144,
498,
273,
394,
2144,
12,
2327,
1769,
3639,
309,
261,
2327,
863,
18,
12298,
653,
12,
856,
3719,
288,
5411,
3010,
2270,
7498,
273,
261,
1046,
13,
1267,
863,
18,
588,
12,
856,
1769,
5411,
309,
261,
5986,
7498,
480,
446,
13,
288,
7734,
4498,
518,
273,
2270,
7498,
18,
588,
4212,
7675,
9838,
5621,
7734,
1323,
261,
305,
18,
5332,
2134,
10756,
288,
10792,
3010,
2270,
1622,
273,
261,
1046,
13,
518,
18,
4285,
5621,
10792,
463,
842,
1396,
2270,
273,
2989,
40,
842,
1396,
18,
2640,
1265,
4432,
12,
5986,
2
] |
infobox.addChild("div", "class", "infobox-content", "Your browser sent a request that Freenet could not understand.");
|
infobox.addChild("div", "class", "infobox-content", "Your browser sent a request that Freenet ("+getClass().getName()+") could not understand.");
|
private void handleUnhandledRequest(URI uri, Bucket data, ToadletContext toadletContext) throws ToadletContextClosedException, IOException, RedirectException { HTMLNode pageNode = toadletContext.getPageMaker().getPageNode("Not supported"); HTMLNode contentNode = toadletContext.getPageMaker().getContentNode(pageNode); HTMLNode infobox = contentNode.addChild("div", "class", "infobox infobox-error"); infobox.addChild("div", "class", "infobox-header", "Not supported"); infobox.addChild("div", "class", "infobox-content", "Your browser sent a request that Freenet could not understand."); MultiValueTable hdrtbl = new MultiValueTable(); hdrtbl.put("Allow", this.supportedMethods()); StringBuffer pageBuffer = new StringBuffer(); pageNode.generate(pageBuffer); toadletContext.sendReplyHeaders(405, "Operation not Supported", hdrtbl, "text/html; charset=utf-8", pageBuffer.length()); toadletContext.writeData(pageBuffer.toString().getBytes()); }
|
51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/38f8d1fcb37427cee0f076dc77c022abe970c68f/Toadlet.java/buggy/src/freenet/clients/http/Toadlet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1640,
26952,
691,
12,
3098,
2003,
16,
7408,
501,
16,
2974,
361,
1810,
1042,
358,
361,
1810,
1042,
13,
1216,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
202,
202,
4870,
907,
1363,
907,
273,
358,
361,
1810,
1042,
18,
588,
1964,
12373,
7675,
588,
1964,
907,
2932,
1248,
3260,
8863,
202,
202,
4870,
907,
913,
907,
273,
358,
361,
1810,
1042,
18,
588,
1964,
12373,
7675,
588,
1350,
907,
12,
2433,
907,
1769,
202,
202,
4870,
907,
1123,
2147,
273,
913,
907,
18,
1289,
1763,
2932,
2892,
3113,
315,
1106,
3113,
315,
1376,
2147,
1123,
2147,
17,
1636,
8863,
202,
202,
1376,
2147,
18,
1289,
1763,
2932,
2892,
3113,
315,
1106,
3113,
315,
1376,
2147,
17,
3374,
3113,
315,
1248,
3260,
8863,
202,
202,
1376,
2147,
18,
1289,
1763,
2932,
2892,
3113,
315,
1106,
3113,
315,
1376,
2147,
17,
1745,
3113,
315,
15446,
4748,
3271,
279,
590,
716,
478,
2842,
278,
3377,
486,
22413,
1199,
1769,
202,
202,
5002,
620,
1388,
7723,
16187,
273,
394,
5991,
620,
1388,
5621,
202,
202,
16587,
16187,
18,
458,
2932,
7009,
3113,
333,
18,
4127,
4712,
10663,
202,
202,
780,
1892,
1363,
1892,
273,
394,
6674,
5621,
202,
202,
2433,
907,
18,
7163,
12,
2433,
1892,
1769,
202,
202,
869,
361,
1810,
1042,
18,
4661,
7817,
3121,
12,
24,
6260,
16,
315,
2988,
486,
19503,
3113,
7723,
16187,
16,
315,
955,
19,
2620,
31,
4856,
33,
3158,
17,
28,
3113,
1363,
1892,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1640,
26952,
691,
12,
3098,
2003,
16,
7408,
501,
16,
2974,
361,
1810,
1042,
358,
361,
1810,
1042,
13,
1216,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
202,
202,
4870,
907,
1363,
907,
273,
358,
361,
1810,
1042,
18,
588,
1964,
12373,
7675,
588,
1964,
907,
2932,
1248,
3260,
8863,
202,
202,
4870,
907,
913,
907,
273,
358,
361,
1810,
1042,
18,
588,
1964,
12373,
7675,
588,
1350,
907,
12,
2433,
907,
1769,
202,
202,
4870,
907,
1123,
2147,
273,
913,
907,
18,
1289,
1763,
2932,
2892,
3113,
315,
1106,
3113,
315,
1376,
2147,
1123,
2147,
17,
1636,
8863,
202,
202,
1376,
2147,
18,
1289,
1763,
2932,
2892,
3113,
315,
2
] |
case UNARYOP: return "unaryop";
|
public static String name(int token) { if (printNames) { switch (token) { case ERROR: return "error"; case EOF: return "eof"; case EOL: return "eol"; case POPV: return "popv"; case ENTERWITH: return "enterwith"; case LEAVEWITH: return "leavewith"; case RETURN: return "return"; case GOTO: return "goto"; case IFEQ: return "ifeq"; case IFNE: return "ifne"; case SETNAME: return "setname"; case BITOR: return "bitor"; case BITXOR: return "bitxor"; case BITAND: return "bitand"; case EQ: return "eq"; case NE: return "ne"; case LT: return "lt"; case LE: return "le"; case GT: return "gt"; case GE: return "ge"; case LSH: return "lsh"; case RSH: return "rsh"; case URSH: return "ursh"; case ADD: return "add"; case SUB: return "sub"; case MUL: return "mul"; case DIV: return "div"; case MOD: return "mod"; case NOT: return "not"; case BITNOT: return "bitnot"; case POS: return "pos"; case NEG: return "neg"; case NEW: return "new"; case DELPROP: return "delprop"; case TYPEOF: return "typeof"; case GETPROP: return "getprop"; case SETPROP: return "setprop"; case GETELEM: return "getelem"; case SETELEM: return "setelem"; case CALL: return "call"; case NAME: return "name"; case NUMBER: return "number"; case STRING: return "string"; case ZERO: return "zero"; case ONE: return "one"; case NULL: return "null"; case THIS: return "this"; case FALSE: return "false"; case TRUE: return "true"; case SHEQ: return "sheq"; case SHNE: return "shne"; case REGEXP: return "object"; case POP: return "pop"; case BINDNAME: return "bindname"; case THROW: return "throw"; case IN: return "in"; case INSTANCEOF: return "instanceof"; case GETTHIS: return "getthis"; case NEWTEMP: return "newtemp"; case USETEMP: return "usetemp"; case GETBASE: return "getbase"; case GETVAR: return "getvar"; case SETVAR: return "setvar"; case UNDEFINED: return "undefined"; case TRY: return "try"; case NEWSCOPE: return "newscope"; case ENUMINIT: return "enuminit"; case ENUMNEXT: return "enumnext"; case THISFN: return "thisfn"; case SEMI: return "semi"; case LB: return "lb"; case RB: return "rb"; case LC: return "lc"; case RC: return "rc"; case LP: return "lp"; case RP: return "rp"; case COMMA: return "comma"; case ASSIGN: return "assign"; case HOOK: return "hook"; case COLON: return "colon"; case OR: return "or"; case AND: return "and"; case EQOP: return "eqop"; case RELOP: return "relop"; case UNARYOP: return "unaryop"; case INC: return "inc"; case DEC: return "dec"; case DOT: return "dot"; case FUNCTION: return "function"; case EXPORT: return "export"; case IMPORT: return "import"; case IF: return "if"; case ELSE: return "else"; case SWITCH: return "switch"; case CASE: return "case"; case DEFAULT: return "default"; case WHILE: return "while"; case DO: return "do"; case FOR: return "for"; case BREAK: return "break"; case CONTINUE: return "continue"; case VAR: return "var"; case WITH: return "with"; case CATCH: return "catch"; case FINALLY: return "finally"; case RESERVED: return "reserved"; case NOP: return "nop"; case PRE: return "pre"; case POST: return "post"; case VOID: return "void"; case BLOCK: return "block"; case ARRAYLIT: return "arraylit"; case OBJLIT: return "objlit"; case LABEL: return "label"; case TARGET: return "target"; case LOOP: return "loop"; case ENUMDONE: return "enumdone"; case EXPRSTMT: return "exprstmt"; case PARENT: return "parent"; case JSR: return "jsr"; case NEWLOCAL: return "newlocal"; case USELOCAL: return "uselocal"; case SCRIPT: return "script"; } return "<unknown="+token+">"; } return null; }
|
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/9fce703481e10b63f4a6c2a5b81c29dc4fac9dca/Token.java/clean/js/rhino/src/org/mozilla/javascript/Token.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
508,
12,
474,
1147,
13,
565,
288,
3639,
309,
261,
1188,
1557,
13,
288,
5411,
1620,
261,
2316,
13,
288,
7734,
648,
5475,
30,
6647,
327,
315,
1636,
14432,
7734,
648,
6431,
30,
2398,
327,
315,
9339,
14432,
7734,
648,
19995,
30,
2398,
327,
315,
30951,
14432,
7734,
648,
26839,
58,
30,
5411,
327,
315,
5120,
90,
14432,
7734,
648,
20018,
9147,
30,
4202,
327,
315,
2328,
1918,
14432,
7734,
648,
5380,
26714,
9147,
30,
4202,
327,
315,
298,
842,
359,
483,
14432,
7734,
648,
14780,
30,
1850,
327,
315,
2463,
14432,
7734,
648,
611,
27019,
30,
5411,
327,
315,
75,
6302,
14432,
7734,
648,
467,
8090,
53,
30,
5411,
327,
315,
430,
11253,
14432,
7734,
648,
11083,
5407,
30,
5411,
327,
315,
430,
4644,
14432,
7734,
648,
7855,
1985,
30,
540,
327,
315,
542,
529,
14432,
7734,
648,
20469,
916,
30,
6647,
327,
315,
70,
1811,
14432,
7734,
648,
20469,
60,
916,
30,
1850,
327,
315,
3682,
31346,
14432,
7734,
648,
20469,
4307,
30,
1850,
327,
315,
3682,
464,
14432,
7734,
648,
22426,
30,
2868,
327,
315,
11253,
14432,
7734,
648,
12901,
30,
2868,
327,
315,
4644,
14432,
7734,
648,
11807,
30,
2868,
327,
315,
5618,
14432,
7734,
648,
5380,
30,
2868,
327,
315,
298,
14432,
7734,
648,
19688,
30,
2868,
327,
315,
4521,
14432,
7734,
648,
17788,
30,
2868,
327,
315,
908,
14432,
7734,
648,
511,
2664,
30,
2398,
327,
315,
80,
674,
14432,
7734,
648,
534,
2664,
30,
2398,
327,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
508,
12,
474,
1147,
13,
565,
288,
3639,
309,
261,
1188,
1557,
13,
288,
5411,
1620,
261,
2316,
13,
288,
7734,
648,
5475,
30,
6647,
327,
315,
1636,
14432,
7734,
648,
6431,
30,
2398,
327,
315,
9339,
14432,
7734,
648,
19995,
30,
2398,
327,
315,
30951,
14432,
7734,
648,
26839,
58,
30,
5411,
327,
315,
5120,
90,
14432,
7734,
648,
20018,
9147,
30,
4202,
327,
315,
2328,
1918,
14432,
7734,
648,
5380,
26714,
9147,
30,
4202,
327,
315,
298,
842,
359,
483,
14432,
7734,
648,
14780,
30,
1850,
327,
315,
2463,
14432,
7734,
648,
611,
27019,
30,
5411,
327,
315,
75,
6302,
14432,
7734,
648,
467,
8090,
53,
30,
5411,
327,
315,
430,
11253,
14432,
2
] |
|
default: BuffBotHome.update( BuffBotHome.NONBUFFCOLOR, "Ignoring non-buff message from [" + message.getSenderName() + "]" );
|
default: BuffBotHome.update( BuffBotHome.NONBUFFCOLOR, "Ignoring non-buff message from [" + message.getSenderName() + "]" );
|
private static void processMessage( KoLMailMessage message ) throws Exception { // Now that you're guaranteed to be above the threshold, // go ahead and process the message. BuffBotHome.update( BuffBotHome.NONBUFFCOLOR, "Received message from [" + message.getSenderName() + "]" ); if ( containsDonation( message ) ) { sendThankYou( message.getSenderName(), message.getMessageHTML() ); queueIncomingMessage( message, false ); return; } Matcher meatMatcher = MEAT_PATTERN.matcher( message.getMessageHTML() ); int meatSent = meatMatcher.find() ? parseInt( meatMatcher.group(1) ) : 0; List castList = (List) buffCostMap.get( new Integer( meatSent ) ); // If what is sent does not match anything in the buff table, // handle it. Once it gets beyond this point, it is known to // be a valid buff request. if ( castList == null || castList.isEmpty() ) { if ( meatSent >= 100000 ) { // If the amount of meat sent is extremely large, // and no buff matches that value, assume that it's // a donation and send a thank you note. sendThankYou( message.getSenderName(), message.getMessageHTML() ); queueIncomingMessage( message, false ); return; } else if ( meatSent != 0 ) { // If the cast list is empty, and the meat sent was // not a donation, then the user is not receiving // any buffs. Therefore, reset the variable. queueIncomingMessage( message, true ); BuffBotHome.update( BuffBotHome.NONBUFFCOLOR, "Invalid amount (" + meatSent + " meat) received from " + message.getSenderName() ); sendRefund( message.getSenderName(), COMMA_FORMAT.format( meatSent ) + " meat is not a valid buff price. " + refundMessage, meatSent ); return; } // If it gets this far, then it's an empty message. // Based on the user's settings, do something with // the message (save, delete, etc.) switch ( messageDisposalSetting ) { case SAVEBOX: queueIncomingMessage( message, message.getMessageHTML().trim().length() == 0 ); BuffBotHome.update( BuffBotHome.NONBUFFCOLOR, "Saving non-buff message from [" + message.getSenderName() + "]" ); break; case DISPOSE: queueIncomingMessage( message, true ); BuffBotHome.update( BuffBotHome.NONBUFFCOLOR, "Deleting non-buff message from [" + message.getSenderName() + "]" ); break; default: BuffBotHome.update( BuffBotHome.NONBUFFCOLOR, "Ignoring non-buff message from [" + message.getSenderName() + "]" ); } return; } // Ensure that every buff is handled. In the event // that a buff was partially completed, pretend that // all buffs were completed. queueIncomingMessage( message, true ); BuffBotCaster currentBuff; boolean receivedBuffs = false; boolean gavePhilanthropicBuff = false; int failureCount = BuffBotHome.getInstanceCount( 0, message.getSenderName() ); if ( failureCount < REFUND_THRESHOLD ) { boolean lastBuffSuccessful = false; for ( int i = 0; KoLmafia.permitsContinue() && i < castList.size(); ++i ) { if ( !lastBuffSuccessful && receivedBuffs ) break; currentBuff = (BuffBotCaster) castList.get(i); lastBuffSuccessful = executeBuff( currentBuff, message, meatSent ); receivedBuffs |= lastBuffSuccessful; gavePhilanthropicBuff |= currentBuff.philanthropic; } if ( receivedBuffs && gavePhilanthropicBuff ) BuffBotHome.addToRecipientList( meatSent, message.getSenderName() ); if ( !receivedBuffs ) { ++failureCount; BuffBotHome.addToRecipientList( 0, message.getSenderName() ); // Record the inability to buff inside of a separate // file which stores how many refunds were sent that day. if ( failureCount == REFUND_THRESHOLD ) { // Nine refunds in a single day is pretty bad. So, // send a notification that they will no longer be // refunded for buffs cast today. sendRefund( message.getSenderName(), "This is a message to notify you that you have sent " + REFUND_THRESHOLD + " requests which were refunded. " + "To prevent the possibility of intentional sabatoge, any buff requests received over the next 24 hours will be treated as donations. " + "Thanks for understanding.", meatSent ); } else if ( failureCount < REFUND_THRESHOLD ) { // If the person sent something and received no buffs, // then make sure they're refunded. sendRefund( message.getSenderName(), "This buffbot was unable to process your request. " + UseSkillRequest.lastUpdate + " Please try again later." + LINE_BREAK + LINE_BREAK + refundMessage, meatSent ); } } } }
|
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/eb8203b0add11024f00f9d7ed2ad7b2b63269aab/BuffBotManager.java/clean/src/net/sourceforge/kolmafia/BuffBotManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
1207,
1079,
12,
1475,
83,
48,
6759,
1079,
883,
262,
1216,
1185,
202,
95,
202,
202,
759,
4494,
716,
1846,
4565,
15403,
358,
506,
5721,
326,
5573,
16,
202,
202,
759,
1960,
17510,
471,
1207,
326,
883,
18,
202,
202,
10642,
6522,
8684,
18,
2725,
12,
605,
3809,
6522,
8684,
18,
3993,
3000,
2246,
10989,
16,
315,
8872,
883,
628,
8247,
397,
883,
18,
588,
12021,
461,
1435,
397,
9870,
11272,
202,
202,
430,
261,
1914,
22293,
367,
12,
883,
262,
262,
202,
202,
95,
1082,
202,
4661,
1315,
2304,
6225,
12,
883,
18,
588,
12021,
461,
9334,
883,
18,
24906,
4870,
1435,
11272,
1082,
202,
4000,
20370,
1079,
12,
883,
16,
629,
11272,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
6286,
1791,
270,
6286,
273,
7733,
789,
67,
10831,
18,
22761,
12,
883,
18,
24906,
4870,
1435,
11272,
202,
202,
474,
1791,
270,
7828,
273,
1791,
270,
6286,
18,
4720,
1435,
692,
5395,
12,
1791,
270,
6286,
18,
1655,
12,
21,
13,
262,
294,
374,
31,
202,
202,
682,
4812,
682,
273,
261,
682,
13,
6139,
8018,
863,
18,
588,
12,
394,
2144,
12,
1791,
270,
7828,
262,
11272,
202,
202,
759,
971,
4121,
353,
3271,
1552,
486,
845,
6967,
316,
326,
6139,
1014,
16,
202,
202,
759,
1640,
518,
18,
225,
12419,
518,
5571,
17940,
333,
1634,
16,
518,
353,
4846,
358,
202,
202,
759,
506,
279,
923,
6139,
590,
18,
202,
202,
430,
261,
4812,
682,
422,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
1207,
1079,
12,
1475,
83,
48,
6759,
1079,
883,
262,
1216,
1185,
202,
95,
202,
202,
759,
4494,
716,
1846,
4565,
15403,
358,
506,
5721,
326,
5573,
16,
202,
202,
759,
1960,
17510,
471,
1207,
326,
883,
18,
202,
202,
10642,
6522,
8684,
18,
2725,
12,
605,
3809,
6522,
8684,
18,
3993,
3000,
2246,
10989,
16,
315,
8872,
883,
628,
8247,
397,
883,
18,
588,
12021,
461,
1435,
397,
9870,
11272,
202,
202,
430,
261,
1914,
22293,
367,
12,
883,
262,
262,
202,
202,
95,
1082,
202,
4661,
1315,
2304,
6225,
12,
883,
18,
588,
12021,
461,
9334,
883,
18,
24906,
4870,
1435,
11272,
1082,
202,
4000,
20370,
1079,
12,
883,
16,
629,
11272,
2
] |
public BugzillaTask(String id, String label, boolean noDownload) { super(id, label); isDirty = false; if (!noDownload) { GetBugReportJob job = new GetBugReportJob("Downloading from Bugzilla server..."); job.schedule(); } }
|
public BugzillaTask(String id, String label) { super(id, label); isDirty = false; GetBugReportJob job = new GetBugReportJob("Downloading from Bugzilla server..."); job.schedule(); }
|
public BugzillaTask(String id, String label, boolean noDownload) { super(id, label); isDirty = false; if (!noDownload) { GetBugReportJob job = new GetBugReportJob("Downloading from Bugzilla server..."); job.schedule(); } }
|
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/28cd3239ff0e182c6b8596d7ddd2a18879adcf98/BugzillaTask.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/BugzillaTask.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
16907,
15990,
2174,
12,
780,
612,
16,
514,
1433,
16,
1250,
1158,
7109,
13,
288,
3639,
2240,
12,
350,
16,
1433,
1769,
3639,
25206,
273,
629,
31,
3639,
309,
16051,
2135,
7109,
13,
288,
5411,
968,
19865,
4820,
2278,
1719,
273,
394,
968,
19865,
4820,
2278,
2932,
27217,
628,
16907,
15990,
1438,
7070,
1769,
5411,
1719,
18,
10676,
5621,
3639,
289,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
16907,
15990,
2174,
12,
780,
612,
16,
514,
1433,
16,
1250,
1158,
7109,
13,
288,
3639,
2240,
12,
350,
16,
1433,
1769,
3639,
25206,
273,
629,
31,
3639,
309,
16051,
2135,
7109,
13,
288,
5411,
968,
19865,
4820,
2278,
1719,
273,
394,
968,
19865,
4820,
2278,
2932,
27217,
628,
16907,
15990,
1438,
7070,
1769,
5411,
1719,
18,
10676,
5621,
3639,
289,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public SVGRendererImpl( ) { if ( System.getProperty( "STANDALONE" ) == null ) //$NON-NLS-1$ { final PluginSettings ps = PluginSettings.instance( ); try { _ids = ps.getDisplayServer( "ds.SVG" ); //$NON-NLS-1$ } catch ( ChartException pex ) { logger.log( pex ); } } else _ids = new SVGDisplayServer( ); ivRenderer = new SVGInteractiveRenderer( getULocale( ) ); }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/1cb055a94d0be6592f772701e9d73d66322c6253/SVGRendererImpl.java/buggy/chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGRendererImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
11281,
6747,
2828,
12,
262,
202,
95,
202,
202,
430,
261,
2332,
18,
588,
1396,
12,
315,
882,
4307,
1013,
5998,
6,
262,
422,
446,
262,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
95,
1082,
202,
6385,
6258,
2628,
4250,
273,
6258,
2628,
18,
1336,
12,
11272,
1082,
202,
698,
1082,
202,
95,
9506,
202,
67,
2232,
273,
4250,
18,
588,
4236,
2081,
12,
315,
2377,
18,
26531,
6,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
97,
1082,
202,
14683,
261,
14804,
503,
293,
338,
262,
1082,
202,
95,
9506,
202,
4901,
18,
1330,
12,
293,
338,
11272,
1082,
202,
97,
202,
202,
97,
202,
202,
12107,
1082,
202,
67,
2232,
273,
394,
11281,
4236,
2081,
12,
11272,
9506,
202,
427,
6747,
273,
394,
11281,
26442,
6747,
12,
23037,
3916,
12,
262,
11272,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
6258,
2628,
4250,
273,
6258,
2628,
18,
1336,
12,
11272,
1082,
202,
698,
1082,
202,
95,
9506,
202,
67,
2232,
273,
4250,
18,
588,
4236,
2081,
12,
315,
2377,
18,
26531,
6,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
97,
1082,
202,
14683,
261,
14804,
503,
293,
338,
262,
1082,
202,
95,
9506,
202,
4901,
18,
1330,
12,
293,
338,
11272,
1082,
202,
97,
202,
202,
97,
202,
202,
12107,
1082,
202,
67,
2232,
2
] |
||
boolean ok = false;
|
boolean ok = false;
|
private static byte[] getMACAddress(String macString) { byte[] mac = new byte[6]; boolean ok = false; if (macString != null && macString.length() == 12) { try { for (int i = 0, j = 0; i < 6; i++, j += 2) { mac[i] = (byte) Integer.parseInt( macString.substring(j, j + 2), 16); } ok = true; } catch (Exception ex) { // Ignore it. ok will be false. } } if (!ok) { Arrays.fill(mac, (byte) 0); } return mac; }
|
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/615bb8ddd9a032088274db44deb9600de14ae57e/TdsCore.java/clean/src/main/net/sourceforge/jtds/jdbc/TdsCore.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1160,
8526,
2108,
2226,
1887,
12,
780,
5318,
780,
13,
288,
3639,
1160,
8526,
5318,
273,
394,
1160,
63,
26,
15533,
3639,
1250,
1529,
273,
629,
31,
540,
309,
261,
5821,
780,
480,
446,
597,
5318,
780,
18,
2469,
1435,
422,
2593,
13,
288,
5411,
775,
288,
7734,
364,
261,
474,
277,
273,
374,
16,
525,
273,
374,
31,
277,
411,
1666,
31,
277,
9904,
16,
525,
1011,
576,
13,
288,
10792,
5318,
63,
77,
65,
273,
261,
7229,
13,
2144,
18,
2670,
1702,
12,
18701,
5318,
780,
18,
28023,
12,
78,
16,
525,
397,
576,
3631,
2872,
1769,
7734,
289,
7734,
1529,
273,
638,
31,
5411,
289,
1044,
261,
503,
431,
13,
288,
7734,
368,
8049,
518,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1160,
8526,
2108,
2226,
1887,
12,
780,
5318,
780,
13,
288,
3639,
1160,
8526,
5318,
273,
394,
1160,
63,
26,
15533,
3639,
1250,
1529,
273,
629,
31,
540,
309,
261,
5821,
780,
480,
446,
597,
5318,
780,
18,
2469,
1435,
422,
2593,
13,
288,
5411,
775,
288,
7734,
364,
261,
474,
277,
273,
374,
16,
525,
273,
374,
31,
277,
411,
1666,
31,
277,
9904,
16,
525,
1011,
576,
13,
288,
10792,
5318,
63,
77,
65,
273,
261,
7229,
13,
2144,
18,
2670,
1702,
12,
18701,
5318,
780,
18,
28023,
12,
78,
16,
525,
397,
576,
3631,
2872,
1769,
7734,
289,
7734,
1529,
273,
638,
31,
5411,
289,
1044,
261,
503,
431,
13,
288,
7734,
368,
2
] |
.equals(editorDescriptor.getId())) return true;
|
.equals(editorDescriptor.getId())) { return true; }
|
private boolean contains(List editorsArray, IEditorDescriptor editorDescriptor) { IEditorDescriptor currentEditorDescriptor = null; Iterator i = editorsArray.iterator(); while (i.hasNext()) { currentEditorDescriptor = (IEditorDescriptor) i.next(); if (currentEditorDescriptor.getId() .equals(editorDescriptor.getId())) return true; } return false; }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/EditorRegistry.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/EditorRegistry.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
1914,
12,
682,
29431,
1076,
16,
5411,
467,
6946,
3187,
4858,
3187,
13,
288,
3639,
467,
6946,
3187,
783,
6946,
3187,
273,
446,
31,
3639,
4498,
277,
273,
29431,
1076,
18,
9838,
5621,
3639,
1323,
261,
77,
18,
5332,
2134,
10756,
288,
5411,
783,
6946,
3187,
273,
261,
45,
6946,
3187,
13,
277,
18,
4285,
5621,
5411,
309,
261,
2972,
6946,
3187,
18,
26321,
1435,
10792,
263,
14963,
12,
9177,
3187,
18,
26321,
1435,
3719,
7734,
327,
638,
31,
3639,
289,
3639,
327,
629,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
1914,
12,
682,
29431,
1076,
16,
5411,
467,
6946,
3187,
4858,
3187,
13,
288,
3639,
467,
6946,
3187,
783,
6946,
3187,
273,
446,
31,
3639,
4498,
277,
273,
29431,
1076,
18,
9838,
5621,
3639,
1323,
261,
77,
18,
5332,
2134,
10756,
288,
5411,
783,
6946,
3187,
273,
261,
45,
6946,
3187,
13,
277,
18,
4285,
5621,
5411,
309,
261,
2972,
6946,
3187,
18,
26321,
1435,
10792,
263,
14963,
12,
9177,
3187,
18,
26321,
1435,
3719,
7734,
327,
638,
31,
3639,
289,
3639,
327,
629,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
assert fieldName == "input" || fieldName == "output";
|
assert fieldName == "inputChannel" || fieldName == "outputChannel";
|
void setIOField (String fieldName, int fieldIndex, Channel newChannel) { assert fieldName == "input" || fieldName == "output"; Channel fieldsInstance []; try { Class thisClass = this.getClass (); assert thisClass != null; Field ioField; ioField = thisClass.getField (fieldName); if (ioField.getType () == newChannel.getClass ()) { assert fieldIndex == 0; ioField.set (this, newChannel); } else { fieldsInstance = (Channel []) ioField.get (this); assert fieldsInstance != null; assert fieldsInstance.length > fieldIndex; fieldsInstance [fieldIndex] = newChannel; } } catch (Throwable error) { // this is all the other errors: assert false : error.toString (); } }
|
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/792880add0aca0ccd986cf1c6b0ba24bdc9e436b/Operator.java/buggy/streams/src/streamit/library/Operator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
444,
4294,
974,
261,
780,
4289,
16,
509,
31762,
16,
5307,
394,
2909,
13,
565,
288,
3639,
1815,
4289,
422,
315,
2630,
2909,
6,
747,
4289,
422,
315,
2844,
2909,
14432,
3639,
5307,
1466,
1442,
5378,
31,
3639,
775,
5411,
288,
7734,
1659,
333,
797,
273,
333,
18,
588,
797,
261,
1769,
7734,
1815,
333,
797,
480,
446,
31,
7734,
2286,
2527,
974,
31,
7734,
2527,
974,
225,
273,
333,
797,
18,
588,
974,
261,
16163,
1769,
7734,
309,
261,
1594,
974,
18,
588,
559,
1832,
422,
394,
2909,
18,
588,
797,
1832,
13,
10792,
288,
13491,
1815,
31762,
422,
374,
31,
13491,
2527,
974,
18,
542,
261,
2211,
16,
394,
2909,
1769,
10792,
289,
469,
288,
13491,
1466,
1442,
273,
261,
2909,
5378,
13,
2527,
974,
18,
588,
261,
2211,
1769,
13491,
1815,
1466,
1442,
480,
446,
31,
13491,
1815,
1466,
1442,
18,
2469,
405,
31762,
31,
13491,
1466,
1442,
306,
1518,
1016,
65,
273,
394,
2909,
31,
10792,
289,
5411,
289,
3639,
1044,
261,
15155,
555,
13,
5411,
288,
7734,
368,
333,
353,
777,
326,
1308,
1334,
30,
7734,
1815,
629,
294,
555,
18,
10492,
261,
1769,
5411,
289,
565,
289,
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1815,
4289,
422,
315,
2630,
2909,
6,
747,
4289,
422,
315,
2844,
2909,
14432,
3639,
5307,
1466,
1442,
5378,
31,
3639,
775,
5411,
288,
7734,
1659,
333,
797,
273,
333,
18,
588,
797,
261,
1769,
7734,
1815,
333,
797,
480,
446,
31,
7734,
2286,
2527,
974,
31,
7734,
2527,
974,
225,
273,
333,
797,
18,
588,
974,
261,
16163,
1769,
7734,
309,
261,
1594,
974,
18,
588,
559,
1832,
422,
394,
2909,
18,
588,
797,
1832,
13,
10792,
288,
13491,
1815,
31762,
422,
374,
31,
13491,
2527,
974,
18,
542,
261,
2211,
16,
394,
2909,
1769,
10792,
289,
469,
288,
2
] |
server = prov.getServerById(name);
|
server = prov.get(ServerBy.ID, name);
|
public Element handle(Element request, Map<String, Object> context) throws ServiceException { ZimbraSoapContext lc = getZimbraSoapContext(context); Provisioning prov = Provisioning.getInstance(); boolean applyConfig = request.getAttributeBool(AdminService.A_APPLY_CONFIG, true); Element d = request.getElement(AdminService.E_SERVER); String method = d.getAttribute(AdminService.A_BY); String name = d.getText(); Server server = null; if (name == null || name.equals("")) throw ServiceException.INVALID_REQUEST("must specify a value for a server", null); if (method.equals(BY_NAME)) { server = prov.getServerByName(name); } else if (method.equals(BY_ID)) { server = prov.getServerById(name); } else if (method.equals(BY_SERVICE_HOSTNAME)) { List servers = prov.getAllServers(); for (Iterator it = servers.iterator(); it.hasNext(); ) { Server s = (Server) it.next(); // when replication is enabled, should return server representing current master if (name.equalsIgnoreCase(s.getAttr(Provisioning.A_zimbraServiceHostname, ""))) { server = s; break; } } } else { throw ServiceException.INVALID_REQUEST("unknown value for by: "+method, null); } if (server == null) throw AccountServiceException.NO_SUCH_SERVER(name); else prov.reload(server); Element response = lc.createElement(AdminService.GET_SERVER_RESPONSE); doServer(response, server, applyConfig); return response; }
|
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/87b1f0362680ce1747caf43e2d80ec3cfdcc3718/GetServer.java/clean/ZimbraServer/src/java/com/zimbra/cs/service/admin/GetServer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3010,
1640,
12,
1046,
590,
16,
1635,
32,
780,
16,
1033,
34,
819,
13,
1216,
16489,
288,
202,
5411,
2285,
381,
15397,
20601,
1042,
9109,
273,
23448,
381,
15397,
20601,
1042,
12,
2472,
1769,
202,
565,
26423,
17197,
273,
26423,
18,
588,
1442,
5621,
3639,
1250,
2230,
809,
273,
590,
18,
588,
1499,
7464,
12,
4446,
1179,
18,
37,
67,
2203,
23893,
67,
7203,
16,
638,
1769,
3639,
3010,
302,
273,
590,
18,
21336,
12,
4446,
1179,
18,
41,
67,
4370,
1769,
202,
565,
514,
707,
273,
302,
18,
588,
1499,
12,
4446,
1179,
18,
37,
67,
6486,
1769,
3639,
514,
508,
273,
302,
18,
588,
1528,
5621,
202,
565,
3224,
1438,
273,
446,
31,
3639,
309,
261,
529,
422,
446,
747,
508,
18,
14963,
2932,
6,
3719,
5411,
604,
16489,
18,
9347,
67,
5519,
2932,
11926,
4800,
279,
460,
364,
279,
1438,
3113,
446,
1769,
3639,
309,
261,
2039,
18,
14963,
12,
6486,
67,
1985,
3719,
288,
5411,
1438,
273,
17197,
18,
588,
2081,
5911,
12,
529,
1769,
3639,
289,
469,
309,
261,
2039,
18,
14963,
12,
6486,
67,
734,
3719,
288,
5411,
1438,
273,
17197,
18,
588,
12,
2081,
858,
18,
734,
16,
508,
1769,
3639,
289,
469,
309,
261,
2039,
18,
14963,
12,
6486,
67,
12426,
67,
8908,
1985,
3719,
288,
5411,
987,
7084,
273,
17197,
18,
588,
1595,
11913,
5621,
5411,
364,
261,
3198,
518,
273,
7084,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
262,
288,
7734,
3224,
272,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3010,
1640,
12,
1046,
590,
16,
1635,
32,
780,
16,
1033,
34,
819,
13,
1216,
16489,
288,
202,
5411,
2285,
381,
15397,
20601,
1042,
9109,
273,
23448,
381,
15397,
20601,
1042,
12,
2472,
1769,
202,
565,
26423,
17197,
273,
26423,
18,
588,
1442,
5621,
3639,
1250,
2230,
809,
273,
590,
18,
588,
1499,
7464,
12,
4446,
1179,
18,
37,
67,
2203,
23893,
67,
7203,
16,
638,
1769,
3639,
3010,
302,
273,
590,
18,
21336,
12,
4446,
1179,
18,
41,
67,
4370,
1769,
202,
565,
514,
707,
273,
302,
18,
588,
1499,
12,
4446,
1179,
18,
37,
67,
6486,
1769,
3639,
514,
508,
273,
302,
18,
588,
1528,
5621,
202,
565,
3224,
1438,
273,
446,
31,
3639,
2
] |
setProperty(WebModuleCreationDataModel.WEB_CONTENT, webContentName);
|
setProperty(WebModuleCreationDataModelOld.WEB_CONTENT, webContentName);
|
protected boolean doSetProperty(String propertyName, Object propertyValue) { boolean returnVal = super.doSetProperty(propertyName, propertyValue); if (propertyName.equals(PRESERVE_PROJECT_METADATA) || ((propertyName.equals(FILE) || propertyName.equals(FILE_NAME)) && getBooleanProperty(PRESERVE_PROJECT_METADATA))) { String webContentName = null; if (getBooleanProperty(PRESERVE_PROJECT_METADATA)) { WARFileImpl warFile = (WARFileImpl) getArchiveFile(); if (null != warFile) { if (warFile.containsFile(".j2ee")) { //$NON-NLS-1$ //To do: Needs work here, no web content exists now// try {// //webContentName = WebSettings.getWebContentDirectory(warFile.getInputStream(".j2ee")); //$NON-NLS-1$// ArtifactEdit artifact = null;// WebArtifactEdit webEdit = null;// try{// artifact = ModuleCore.getFirstArtifactEditForRead( project );// webEdit = ( WebArtifactEdit )artifact;// if(webEdit != null) {// // } // }catch (Exception e) {// e.printStackTrace();// }finally{// if( webEdit != null )// webEdit.dispose();// } // // } catch (FileNotFoundException e) {// //Do nothing// } catch (IOException e) {// //Do nothing// } } } } setProperty(WebModuleCreationDataModel.WEB_CONTENT, webContentName); } return returnVal; }
|
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/3031f53be0adbf835f39609909ba56af3402ccaf/WebModuleImportDataModel.java/clean/plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/archive/operations/WebModuleImportDataModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1250,
741,
694,
1396,
12,
780,
5470,
16,
1033,
12337,
13,
288,
202,
202,
6494,
28702,
273,
2240,
18,
2896,
694,
1396,
12,
4468,
461,
16,
12337,
1769,
202,
202,
430,
261,
4468,
461,
18,
14963,
12,
3670,
2123,
3412,
67,
17147,
67,
22746,
13,
747,
14015,
4468,
461,
18,
14963,
12,
3776,
13,
747,
5470,
18,
14963,
12,
3776,
67,
1985,
3719,
597,
12835,
1396,
12,
3670,
2123,
3412,
67,
17147,
67,
22746,
20349,
288,
1082,
202,
780,
3311,
1350,
461,
273,
446,
31,
1082,
202,
430,
261,
588,
5507,
1396,
12,
3670,
2123,
3412,
67,
17147,
67,
22746,
3719,
288,
9506,
202,
16777,
812,
2828,
21983,
812,
273,
261,
16777,
812,
2828,
13,
336,
7465,
812,
5621,
9506,
202,
430,
261,
2011,
480,
21983,
812,
13,
288,
6862,
202,
430,
261,
905,
812,
18,
12298,
812,
2932,
18,
78,
22,
1340,
6,
3719,
288,
4329,
3993,
17,
5106,
17,
21,
8,
25083,
202,
759,
774,
741,
30,
225,
29164,
1440,
2674,
16,
1158,
3311,
913,
1704,
2037,
759,
25083,
202,
698,
288,
759,
6862,
1082,
202,
759,
4875,
1350,
461,
273,
2999,
2628,
18,
588,
4079,
1350,
2853,
12,
905,
812,
18,
588,
4348,
2932,
18,
78,
22,
1340,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
759,
6862,
1082,
202,
7581,
4666,
6462,
273,
446,
31,
759,
6862,
1082,
202,
4079,
7581,
4666,
3311,
4666,
273,
446,
31,
759,
6862,
1082,
202,
698,
95,
759,
6862,
9506,
202,
17706,
273,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1250,
741,
694,
1396,
12,
780,
5470,
16,
1033,
12337,
13,
288,
202,
202,
6494,
28702,
273,
2240,
18,
2896,
694,
1396,
12,
4468,
461,
16,
12337,
1769,
202,
202,
430,
261,
4468,
461,
18,
14963,
12,
3670,
2123,
3412,
67,
17147,
67,
22746,
13,
747,
14015,
4468,
461,
18,
14963,
12,
3776,
13,
747,
5470,
18,
14963,
12,
3776,
67,
1985,
3719,
597,
12835,
1396,
12,
3670,
2123,
3412,
67,
17147,
67,
22746,
20349,
288,
1082,
202,
780,
3311,
1350,
461,
273,
446,
31,
1082,
202,
430,
261,
588,
5507,
1396,
12,
3670,
2123,
3412,
67,
17147,
67,
22746,
3719,
288,
9506,
202,
16777,
812,
2828,
21983,
812,
273,
261,
16777,
812,
2828,
13,
336,
2
] |
checkUserName("epugh", modifications);
|
checkSingleModif(modifications, "epugh", calender1600.getTime());
|
public void testTimesDifferentDays() { Calendar calender2000Previousday = Calendar.getInstance(); calender2000Previousday.set(2002, Calendar.DECEMBER, 22, 20, 00, 00); Calendar calender1400 = Calendar.getInstance(); calender1400.set(2002, Calendar.DECEMBER, 23, 14, 00, 00); Calendar calender1600 = Calendar.getInstance(); calender1600.set(2002, Calendar.DECEMBER, 23, 16, 00, 00); Calendar calender1601 = Calendar.getInstance(); calender1601.set(2002, Calendar.DECEMBER, 23, 16, 01, 00); Calendar calender1603 = Calendar.getInstance(); calender1603.set(2002, Calendar.DECEMBER, 23, 16, 03, 00); TimeBuild timeBuild = new TimeBuild(); timeBuild.setTime("1600"); timeBuild.setUserName("epugh"); List modifications = timeBuild.getModifications(calender2000Previousday.getTime(), calender1400.getTime()); assertEquals(0, modifications.size()); modifications = timeBuild.getModifications(calender2000Previousday.getTime(), calender1600.getTime()); assertEquals(0, modifications.size()); modifications = timeBuild.getModifications(calender2000Previousday.getTime(), calender1601.getTime()); assertEquals(1, modifications.size()); checkUserName("epugh", modifications); modifications = timeBuild.getModifications(calender1601.getTime(), calender1603.getTime()); assertEquals(0, modifications.size()); }
|
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/08191fe482ae68db136b83af078e455b0ee1a525/TimeBuildTest.java/clean/main/test/net/sourceforge/cruisecontrol/sourcecontrols/TimeBuildTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
10694,
26270,
9384,
1435,
288,
3639,
5542,
1443,
2345,
17172,
8351,
2881,
273,
5542,
18,
588,
1442,
5621,
3639,
1443,
2345,
17172,
8351,
2881,
18,
542,
12,
6976,
22,
16,
5542,
18,
1639,
1441,
49,
6271,
16,
11201,
16,
4200,
16,
9631,
16,
9631,
1769,
3639,
5542,
1443,
2345,
3461,
713,
273,
5542,
18,
588,
1442,
5621,
3639,
1443,
2345,
3461,
713,
18,
542,
12,
6976,
22,
16,
5542,
18,
1639,
1441,
49,
6271,
16,
10213,
16,
5045,
16,
9631,
16,
9631,
1769,
3639,
5542,
1443,
2345,
2313,
713,
273,
5542,
18,
588,
1442,
5621,
3639,
1443,
2345,
2313,
713,
18,
542,
12,
6976,
22,
16,
5542,
18,
1639,
1441,
49,
6271,
16,
10213,
16,
2872,
16,
9631,
16,
9631,
1769,
3639,
5542,
1443,
2345,
2313,
1611,
273,
5542,
18,
588,
1442,
5621,
3639,
1443,
2345,
2313,
1611,
18,
542,
12,
6976,
22,
16,
5542,
18,
1639,
1441,
49,
6271,
16,
10213,
16,
2872,
16,
8743,
16,
9631,
1769,
3639,
5542,
1443,
2345,
2313,
4630,
273,
5542,
18,
588,
1442,
5621,
3639,
1443,
2345,
2313,
4630,
18,
542,
12,
6976,
22,
16,
5542,
18,
1639,
1441,
49,
6271,
16,
10213,
16,
2872,
16,
17107,
16,
9631,
1769,
3639,
2647,
3116,
813,
3116,
273,
394,
2647,
3116,
5621,
3639,
813,
3116,
18,
542,
950,
2932,
2313,
713,
8863,
3639,
813,
3116,
18,
542,
15296,
2932,
881,
2127,
8863,
3639,
987,
17953,
273,
813,
3116,
18,
588,
28340,
12,
771,
2345,
17172,
8351,
2881,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
10694,
26270,
9384,
1435,
288,
3639,
5542,
1443,
2345,
17172,
8351,
2881,
273,
5542,
18,
588,
1442,
5621,
3639,
1443,
2345,
17172,
8351,
2881,
18,
542,
12,
6976,
22,
16,
5542,
18,
1639,
1441,
49,
6271,
16,
11201,
16,
4200,
16,
9631,
16,
9631,
1769,
3639,
5542,
1443,
2345,
3461,
713,
273,
5542,
18,
588,
1442,
5621,
3639,
1443,
2345,
3461,
713,
18,
542,
12,
6976,
22,
16,
5542,
18,
1639,
1441,
49,
6271,
16,
10213,
16,
5045,
16,
9631,
16,
9631,
1769,
3639,
5542,
1443,
2345,
2313,
713,
273,
5542,
18,
588,
1442,
5621,
3639,
1443,
2345,
2313,
713,
18,
542,
12,
6976,
22,
16,
5542,
18,
1639,
1441,
49,
6271,
16,
10213,
16,
2
] |
cp.applyConstraint( ConstrainedProperty.MIN_SIZE_CONSTRAINT, Integer.valueOf(0));
|
cp.applyConstraint( ConstrainedProperty.MIN_SIZE_CONSTRAINT, new Integer(0));
|
public void testApplyConstraint() { // test validate email // --------------------------------------------------------------------- ConstrainedProperty cp = new ConstrainedProperty(ConstrainedPropertyTests.class,"testEmail", String.class); cp.applyConstraint( ConstrainedProperty.EMAIL_CONSTRAINT, new Boolean(true) ); assertTrue(cp.getAppliedConstraints().size() == 1); Errors errors = new BindException(this,"testObject"); Constraint c = null; for (Iterator i = cp.getAppliedConstraints().iterator(); i.hasNext();) { c = (Constraint) i.next(); c.validate(this, this.testEmail, errors); } assertTrue(errors.hasErrors()); FieldError error = errors.getFieldError("testEmail"); assertNotNull(error); assertEquals("rubbish_email",error.getRejectedValue()); this.testEmail = "avalidemail@hotmail.com"; errors = new BindException(this,"testObject"); c.validate(this, this.testEmail,errors); assertFalse(errors.hasErrors()); // test validate url // --------------------------------------------------------------------- cp = new ConstrainedProperty(ConstrainedPropertyTests.class,"testURL", String.class); cp.applyConstraint( ConstrainedProperty.URL_CONSTRAINT, new Boolean(true) ); assertTrue(cp.getAppliedConstraints().size() == 1); errors = new BindException(this,"testObject"); for (Iterator i = cp.getAppliedConstraints().iterator(); i.hasNext();) { c = (Constraint) i.next(); c.validate(this, this.testURL, errors); } // validate that an invalid URL value yields an error assertTrue(errors.hasErrors()); error = errors.getFieldError("testURL"); assertNotNull(error); assertEquals(this.testURL,error.getRejectedValue()); // validate that a valid URL value does *not* yield an error this.testURL = "http://www.google.com"; errors = new BindException(this,"testObject"); c.validate(this, this.testURL,errors); assertFalse(errors.hasErrors()); // validate that a null URL value yields an error this.testURL = null; errors = new BindException(this,"testObject"); c.validate(this, this.testURL,errors); assertTrue(errors.hasErrors()); error = errors.getFieldError("testURL"); assertNotNull(error); // test blank constraint // --------------------------------------------------------------------- cp.applyConstraint( ConstrainedProperty.URL_CONSTRAINT, null ); cp.applyConstraint( ConstrainedProperty.BLANK_CONSTRAINT, new Boolean(false) ); assertTrue(cp.getAppliedConstraints().size() == 1); errors = new BindException(this,"testObject"); this.testURL = ""; for (Iterator i = cp.getAppliedConstraints().iterator(); i.hasNext();) { c = (Constraint) i.next(); c.validate(this, this.testURL, errors); } assertTrue(errors.hasErrors()); error = errors.getFieldError("testURL"); System.out.println(error); assertNotNull(error); // test nullable constraint // --------------------------------------------------------------------- cp.applyConstraint( ConstrainedProperty.BLANK_CONSTRAINT, new Boolean(true) ); cp.applyConstraint( ConstrainedProperty.NULLABLE_CONSTRAINT, new Boolean(false) ); errors = new BindException(this,"testObject"); this.testURL = null; for (Iterator i = cp.getAppliedConstraints().iterator(); i.hasNext();) { c = (Constraint) i.next(); c.validate(this, this.testURL, errors); } assertTrue(errors.hasErrors()); error = errors.getFieldError("testURL"); System.out.println(error); assertNotNull(error); // test inList constraint // --------------------------------------------------------------------- cp.applyConstraint( ConstrainedProperty.NULLABLE_CONSTRAINT, new Boolean(true) ); List list = new ArrayList(); list.add("one"); list.add("two"); list.add("three"); this.testURL = "something"; cp.applyConstraint( ConstrainedProperty.IN_LIST_CONSTRAINT, list ); errors = new BindException(this,"testObject"); for (Iterator i = cp.getAppliedConstraints().iterator(); i.hasNext();) { c = (Constraint) i.next(); c.validate(this, this.testURL, errors); } assertTrue(errors.hasErrors()); error = errors.getFieldError("testURL"); System.out.println(error); assertNotNull(error); // Validate that the error includes the correct error code assertTrue(Arrays.asList(error.getCodes()).contains("constrainedPropertyTests.testURL.not.inList")); this.testURL = "two"; errors = new BindException(this,"testObject"); c.validate(this, this.testURL,errors); assertFalse(errors.hasErrors()); // test length constraint // --------------------------------------------------------------------- cp = new ConstrainedProperty(ConstrainedPropertyTests.class,"testURL", String.class); cp.applyConstraint( ConstrainedProperty.LENGTH_CONSTRAINT, new IntRange(5,15) ); errors = new BindException(this,"testObject"); for (Iterator i = cp.getAppliedConstraints().iterator(); i.hasNext();) { c = (Constraint) i.next(); c.validate(this, this.testURL, errors); } assertTrue(errors.hasErrors()); error = errors.getFieldError("testURL"); System.out.println(error); assertNotNull(error); this.testURL = "absolutelytotallytoolong"; errors = new BindException(this,"testObject"); c.validate(this, this.testURL,errors); assertTrue(errors.hasErrors()); // test min constraint // --------------------------------------------------------------------- final Date BEGINNING_OF_TIME = new Date(0); final Date NOW = new Date(); final Date ONE_DAY_FROM_NOW = new Date(System.currentTimeMillis() + 86400000); this.testDate = BEGINNING_OF_TIME; cp = new ConstrainedProperty(ConstrainedPropertyTests.class,"testDate", String.class); cp.applyConstraint( ConstrainedProperty.MIN_CONSTRAINT, NOW); errors = new BindException(this,"testObject"); for (Iterator i = cp.getAppliedConstraints().iterator(); i.hasNext();) { c = (Constraint) i.next(); c.validate(this, this.testDate, errors); } // validate that a value *less than* the minimum value yields an error assertTrue(errors.hasErrors()); error = errors.getFieldError("testDate"); System.out.println(error); assertNotNull(error); // validate that a value *equal to* the minimum value does *not* yield an error this.testDate = NOW; errors = new BindException(this,"testObject"); c.validate(this, this.testDate,errors); assertFalse(errors.hasErrors()); // validate that a value *greater than* the minimum value does *not* yield an error this.testDate = ONE_DAY_FROM_NOW; errors = new BindException(this,"testObject"); c.validate(this, this.testDate,errors); assertFalse(errors.hasErrors()); // validate that a null value yields an error this.testDate = null; errors = new BindException(this,"testObject"); c.validate(this, this.testDate,errors); assertTrue(errors.hasErrors()); error = errors.getFieldError("testDate"); System.out.println(error); assertNotNull(error); // test max constraint // --------------------------------------------------------------------- this.testDate = BEGINNING_OF_TIME; cp = new ConstrainedProperty(ConstrainedPropertyTests.class,"testDate", String.class); cp.applyConstraint( ConstrainedProperty.MAX_CONSTRAINT, NOW); errors = new BindException(this,"testObject"); for (Iterator i = cp.getAppliedConstraints().iterator(); i.hasNext();) { c = (Constraint) i.next(); c.validate(this, this.testDate, errors); } // validate that a value *less than* the maximum value does *not* yield an error assertFalse(errors.hasErrors()); // validate that a value *equal to* the maximum value does *not* yield an error this.testDate = NOW; errors = new BindException(this,"testObject"); c.validate(this, this.testDate,errors); assertFalse(errors.hasErrors()); // validate that a value *greater than* the maximum value yields an error this.testDate = ONE_DAY_FROM_NOW; errors = new BindException(this,"testObject"); c.validate(this, this.testDate,errors); assertTrue(errors.hasErrors()); error = errors.getFieldError("testDate"); System.out.println(error); assertNotNull(error); // validate that a null value yields an error this.testDate = null; errors = new BindException(this,"testObject"); c.validate(this, this.testDate,errors); assertTrue(errors.hasErrors()); error = errors.getFieldError("testDate"); System.out.println(error); assertNotNull(error); // test maxSize constraint // --------------------------------------------------------------------- this.testInteger = Integer.valueOf(Integer.MIN_VALUE); cp = new ConstrainedProperty(ConstrainedPropertyTests.class,"testInteger", String.class); cp.applyConstraint( ConstrainedProperty.MAX_SIZE_CONSTRAINT, Integer.valueOf(0)); errors = new BindException(this,"testObject"); for (Iterator i = cp.getAppliedConstraints().iterator(); i.hasNext();) { c = (Constraint) i.next(); c.validate(this, this.testInteger, errors); } // validate that a value *less than* the maximum value does *not* yield an error assertFalse(errors.hasErrors()); // validate that a value *equal to* the maximum value does *not* yield an error this.testInteger = Integer.valueOf(0); errors = new BindException(this,"testObject"); c.validate(this, this.testInteger,errors); assertFalse(errors.hasErrors()); // validate that a value *greater than* the maximum value yields an error this.testInteger = Integer.valueOf(Integer.MAX_VALUE); errors = new BindException(this,"testObject"); c.validate(this, this.testInteger,errors); assertTrue(errors.hasErrors()); error = errors.getFieldError("testInteger"); assertNotNull(error); // test minSize constraint // --------------------------------------------------------------------- this.testInteger = Integer.valueOf(Integer.MAX_VALUE); cp = new ConstrainedProperty(ConstrainedPropertyTests.class,"testInteger", String.class); cp.applyConstraint( ConstrainedProperty.MIN_SIZE_CONSTRAINT, Integer.valueOf(0)); errors = new BindException(this,"testObject"); for (Iterator i = cp.getAppliedConstraints().iterator(); i.hasNext();) { c = (Constraint) i.next(); c.validate(this, this.testInteger, errors); } // validate that a value *greater than* the minimum value does *not* yield an error assertFalse(errors.hasErrors()); // validate that a value *equal to* the minimum value does *not* yield an error this.testInteger = Integer.valueOf(0); errors = new BindException(this,"testObject"); c.validate(this, this.testInteger,errors); assertFalse(errors.hasErrors()); // validate that a value *less than* the minimum value yields an error this.testInteger = Integer.valueOf(Integer.MIN_VALUE); errors = new BindException(this,"testObject"); c.validate(this, this.testInteger,errors); assertTrue(errors.hasErrors()); error = errors.getFieldError("testInteger"); assertNotNull(error); // test validate matches (regex) // --------------------------------------------------------------------- cp = new ConstrainedProperty(ConstrainedPropertyTests.class,"testURL", String.class); cp.applyConstraint( ConstrainedProperty.MATCHES_CONSTRAINT, "[a-zA-Z]" ); assertTrue(cp.getAppliedConstraints().size() == 1); errors = new BindException(this,"testObject"); for (Iterator i = cp.getAppliedConstraints().iterator(); i.hasNext();) { c = (Constraint) i.next(); c.validate(this, this.testURL, errors); } // validate that a value *not* matching the regex yields an error this.testURL = "$"; assertTrue(errors.hasErrors()); error = errors.getFieldError("testURL"); assertNotNull(error); // validate that a value matching the regex does *not* yield an error this.testURL = "j"; errors = new BindException(this,"testObject"); c.validate(this, this.testURL,errors); assertFalse(errors.hasErrors()); // validate that a null value yields an error this.testURL = null; errors = new BindException(this,"testObject"); c.validate(this, this.testURL,errors); assertTrue(errors.hasErrors()); error = errors.getFieldError("testURL"); assertNotNull(error); }
|
47932 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47932/5bd86b84946488e8d90a8db0ec5296775a9e6147/ConstrainedPropertyTests.java/buggy/grails/test/commons/org/codehaus/groovy/grails/validation/ConstrainedPropertyTests.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
7001,
5806,
1435,
288,
3639,
368,
1842,
1954,
2699,
3639,
368,
8879,
553,
3639,
735,
31142,
1396,
3283,
273,
394,
735,
31142,
1396,
12,
442,
31142,
1396,
14650,
18,
1106,
10837,
3813,
4134,
3113,
514,
18,
1106,
1769,
3639,
3283,
18,
9010,
5806,
12,
735,
31142,
1396,
18,
14686,
67,
15199,
16,
394,
3411,
12,
3767,
13,
11272,
3639,
1815,
5510,
12,
4057,
18,
588,
16203,
4878,
7675,
1467,
1435,
422,
404,
1769,
3639,
9372,
1334,
273,
394,
6936,
503,
12,
2211,
10837,
3813,
921,
8863,
3639,
10770,
276,
273,
446,
31,
3639,
364,
261,
3198,
277,
273,
3283,
18,
588,
16203,
4878,
7675,
9838,
5621,
277,
18,
5332,
2134,
5621,
13,
288,
5411,
276,
273,
261,
5806,
13,
277,
18,
4285,
5621,
5411,
276,
18,
5662,
12,
2211,
16,
333,
18,
3813,
4134,
16,
1334,
1769,
3639,
289,
3639,
1815,
5510,
12,
4324,
18,
5332,
4229,
10663,
3639,
2286,
668,
555,
273,
1334,
18,
588,
974,
668,
2932,
3813,
4134,
8863,
3639,
25395,
12,
1636,
1769,
3639,
1815,
8867,
2932,
18271,
70,
1468,
67,
3652,
3113,
1636,
18,
588,
19902,
620,
10663,
3639,
333,
18,
3813,
4134,
273,
315,
842,
287,
831,
4408,
36,
15224,
4408,
18,
832,
14432,
3639,
1334,
273,
394,
6936,
503,
12,
2211,
10837,
3813,
921,
8863,
3639,
276,
18,
5662,
12,
2211,
16,
333,
18,
3813,
4134,
16,
4324,
1769,
3639,
1815,
8381,
12,
4324,
18,
5332,
4229,
10663,
3639,
368,
1842,
1954,
880,
3639,
368,
8879,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
7001,
5806,
1435,
288,
3639,
368,
1842,
1954,
2699,
3639,
368,
8879,
553,
3639,
735,
31142,
1396,
3283,
273,
394,
735,
31142,
1396,
12,
442,
31142,
1396,
14650,
18,
1106,
10837,
3813,
4134,
3113,
514,
18,
1106,
1769,
3639,
3283,
18,
9010,
5806,
12,
735,
31142,
1396,
18,
14686,
67,
15199,
16,
394,
3411,
12,
3767,
13,
11272,
3639,
1815,
5510,
12,
4057,
18,
588,
16203,
4878,
7675,
1467,
1435,
422,
404,
1769,
3639,
9372,
1334,
273,
394,
6936,
503,
12,
2211,
10837,
3813,
921,
8863,
3639,
10770,
276,
273,
446,
31,
3639,
364,
261,
3198,
277,
273,
3283,
18,
588,
16203,
4878,
7675,
9838,
5621,
277,
18,
5332,
2134,
5621,
13,
288,
5411,
276,
2
] |
private void processElementDecl(ElementDecl eDecl, boolean isCollection) throws Exception { String path = eDecl.getName(); if (!paths.empty()) { path = (String) paths.peek() + "/" + path; } if (path.length() > 1000) { // TODO: Infinite recursion return; } LOG.debug("pushing path: " + path); paths.push(path); String clsName = null; XMLType xmlType = eDecl.getType(); // Record those elements that are actually references if (xmlType != null && xmlType.isComplexType()) { Enumeration e1 = ((ComplexType) xmlType).getAttributeDecls(); AttributeDecl attrib = null; if (e1.hasMoreElements() && ((attrib = (AttributeDecl) e1.nextElement()) != null) && !e1.hasMoreElements() /*&& xmlInfo.isReferenceField(path, attrib.getName())*/) { // Add as candidate, these are checked at the end of the parse referenceElements.put(path, attrib.getName()); } } isCollection = isCollection || (eDecl.getMaxOccurs() < 0) || (eDecl.getMaxOccurs() > 1); LOG.debug("Processing path: " + path + ", isCollection = " + isCollection + (xmlType == null ? "" : ", isComplexType = " + xmlType.isComplexType() + ", isSimpleType = " + xmlType.isSimpleType() + ", xmlType.getName() = " + xmlType.getName()) + ", isReference = " + eDecl.isReference()); if (eDecl.isReference()) { // nothing needs to be done to name clsName = eDecl.getReference().getName(); } else if ((xmlType != null) && xmlType.isSimpleType() && isCollection) { clsName = eDecl.getName() + "_" + ((String) clsNameMap.get(path.substring(0, path.lastIndexOf('/')))); } else if ((xmlType != null) && (xmlType.getName() != null)) { // named complex type clsName = xmlType.getName(); } else if (xmlType != null && xmlType.isComplexType() && (xmlType.getName() != null)) { LOG.debug("named complex type"); clsName = xmlType.getName(); } else if (xmlType != null && (xmlType.isComplexType() || (xmlType.isSimpleType() && isCollection))) { LOG.debug("anon complex type"); // anon complex type String encPath = null; if (path.indexOf('/') >= 0) { encPath = path.substring(0, path.lastIndexOf('/')); clsName = eDecl.getName() + "_" + (String) clsNameMap.get(encPath); } else { clsName = eDecl.getName(); } } if (clsName != null) { LOG.debug("clsName = " + clsName); clsNameMap.put(path, StringUtil.capitalise(clsName)); } findRefs(eDecl); if (eDecl.getType().isComplexType()) { ComplexType complexType = (ComplexType) eDecl.getType(); LOG.debug("processContentModel"); processContentModelGroup(complexType, false); if (complexType.getBaseType() != null && complexType.getBaseType().isComplexType()) { LOG.error("processContentModel(parent)"); processContentModelGroup((ComplexType) complexType.getBaseType(), false); } } path = (String) paths.pop(); LOG.debug("popped path: " + path); }
|
7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/a018d9baef87f674d1450545c35564436f929268/XmlMetaData.java/buggy/intermine/src/java/org/intermine/dataconversion/XmlMetaData.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
1046,
3456,
12,
1046,
3456,
425,
3456,
16,
1250,
26506,
13,
1216,
1185,
288,
3639,
514,
589,
273,
425,
3456,
18,
17994,
5621,
3639,
309,
16051,
4481,
18,
5531,
10756,
288,
5411,
589,
273,
261,
780,
13,
2953,
18,
347,
3839,
1435,
397,
4016,
397,
589,
31,
3639,
289,
3639,
309,
261,
803,
18,
2469,
1435,
405,
4336,
13,
288,
5411,
368,
2660,
30,
657,
9551,
13917,
5411,
327,
31,
3639,
289,
3639,
2018,
18,
4148,
2932,
6206,
310,
589,
30,
315,
397,
589,
1769,
3639,
2953,
18,
6206,
12,
803,
1769,
3639,
514,
2028,
461,
273,
446,
31,
3639,
3167,
559,
2025,
559,
273,
425,
3456,
18,
588,
559,
5621,
7734,
368,
5059,
5348,
2186,
716,
854,
6013,
5351,
3639,
309,
261,
2902,
559,
480,
446,
597,
2025,
559,
18,
291,
12795,
559,
10756,
288,
5411,
13864,
425,
21,
273,
14015,
12795,
559,
13,
2025,
559,
2934,
588,
1499,
1799,
3251,
5621,
5411,
3601,
3456,
5885,
273,
446,
31,
5411,
309,
261,
73,
21,
18,
5332,
7417,
3471,
1435,
597,
14015,
14588,
273,
261,
1499,
3456,
13,
425,
21,
18,
4285,
1046,
10756,
480,
446,
13,
7734,
597,
401,
73,
21,
18,
5332,
7417,
3471,
1435,
7734,
1748,
10,
10,
2025,
966,
18,
291,
2404,
974,
12,
803,
16,
5885,
18,
17994,
10756,
5549,
13,
288,
7734,
368,
1436,
487,
5500,
16,
4259,
854,
5950,
622,
326,
679,
434,
326,
1109,
7734,
2114,
3471,
18,
458,
12,
803,
16,
5885,
18,
17994,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
1046,
3456,
12,
1046,
3456,
425,
3456,
16,
1250,
26506,
13,
1216,
1185,
288,
3639,
514,
589,
273,
425,
3456,
18,
17994,
5621,
3639,
309,
16051,
4481,
18,
5531,
10756,
288,
5411,
589,
273,
261,
780,
13,
2953,
18,
347,
3839,
1435,
397,
4016,
397,
589,
31,
3639,
289,
3639,
309,
261,
803,
18,
2469,
1435,
405,
4336,
13,
288,
5411,
368,
2660,
30,
657,
9551,
13917,
5411,
327,
31,
3639,
289,
3639,
2018,
18,
4148,
2932,
6206,
310,
589,
30,
315,
397,
589,
1769,
3639,
2953,
18,
6206,
12,
803,
1769,
3639,
514,
2028,
461,
273,
446,
31,
3639,
3167,
559,
2025,
559,
273,
425,
3456,
18,
588,
559,
5621,
7734,
368,
5059,
5348,
2
] |
||
if (localFiles == null){ return this; }
|
UnmatchedFileMap init(java.io.File localFolder, Folder remoteFolder) { if (!localFolder.exists()) { return this; } String[] localFiles = localFolder.list(); for (int i = 0; i < localFiles.length; i++) { java.io.File localFile = new java.io.File(localFolder, localFiles[i]).getAbsoluteFile(); log("adding " + localFile + " to UnmatchedFileMap", Project.MSG_DEBUG); if (localFile.isDirectory()) { this.put(localFile, ""); } else { this.put(localFile, ""); } } return this; }
|
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/9f4bad1e4ad7d1e5db1bb793f9cf16d74be9e6f4/StarTeamCheckout.java/clean/src/main/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamCheckout.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
225,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
225,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
225,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
225,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
225,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
225,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
225,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
1351,
11073,
812,
863,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
1208,
12,
6290,
18,
1594,
18,
812,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
1191,
3899,
16,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
12623,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
2632,
3899,
13,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
288,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
225,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
225,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
225,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
225,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
225,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
225,
309,
261,
3729,
2697,
422,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
225,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
225,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
225,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
225,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
225,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
225,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
225,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
1351,
11073,
812,
863,
309,
261,
3729,
2697,
422,
446,
15329,
327,
333,
31,
289,
1208,
12,
6290,
18,
1594,
18,
812,
309,
2
] |
|
catch(IllegalAccessException x)
|
catch (IllegalArgumentException _)
|
final void setBooleanField(Object obj, boolean val) { try { field.setBoolean(obj, val); } catch(IllegalAccessException x) { throw new InternalError(x.getMessage()); } }
|
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/7175146abf61d5302002eac9791f35b481c4eb26/ObjectStreamField.java/clean/libraries/javalib/java/io/ObjectStreamField.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
918,
444,
5507,
974,
12,
921,
1081,
16,
1250,
1244,
13,
225,
288,
1377,
775,
1377,
288,
202,
225,
652,
18,
542,
5507,
12,
2603,
16,
1244,
1769,
1377,
289,
1377,
1044,
261,
31237,
389,
13,
1377,
288,
202,
225,
604,
394,
3186,
668,
12,
92,
18,
24906,
10663,
1377,
289,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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1081,
16,
1250,
1244,
13,
225,
288,
1377,
775,
1377,
288,
202,
225,
652,
18,
542,
5507,
12,
2603,
16,
1244,
1769,
1377,
289,
1377,
1044,
261,
31237,
389,
13,
1377,
288,
202,
225,
604,
394,
3186,
668,
12,
92,
18,
24906,
10663,
1377,
289,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
static DbIpRouteInterfaceEntry get(Connection db, int nid, String routedest)
|
static DbIpRouteInterfaceEntry get(int nid, String routedest)
|
static DbIpRouteInterfaceEntry get(Connection db, int nid, String routedest) throws SQLException { DbIpRouteInterfaceEntry entry = new DbIpRouteInterfaceEntry(nid, routedest,true); if (!entry.load(db)) entry = null; return entry; }
|
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/9f67b74b8b5fc73f44cbf97888982011d0971263/DbIpRouteInterfaceEntry.java/buggy/opennms-services/src/main/java/org/opennms/netmgt/linkd/DbIpRouteInterfaceEntry.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
8408,
5273,
3255,
1358,
1622,
336,
12,
1952,
1319,
16,
509,
19416,
16,
514,
3237,
329,
395,
13,
1082,
202,
15069,
6483,
288,
202,
202,
4331,
5273,
3255,
1358,
1622,
1241,
273,
394,
8408,
5273,
3255,
1358,
1622,
12,
31030,
16,
9506,
202,
303,
4817,
395,
16,
3767,
1769,
202,
202,
430,
16051,
4099,
18,
945,
12,
1966,
3719,
1082,
202,
4099,
273,
446,
31,
202,
202,
2463,
1241,
31,
202,
97,
2,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
8408,
5273,
3255,
1358,
1622,
336,
12,
1952,
1319,
16,
509,
19416,
16,
514,
3237,
329,
395,
13,
1082,
202,
15069,
6483,
288,
202,
202,
4331,
5273,
3255,
1358,
1622,
1241,
273,
394,
8408,
5273,
3255,
1358,
1622,
12,
31030,
16,
9506,
202,
303,
4817,
395,
16,
3767,
1769,
202,
202,
430,
16051,
4099,
18,
945,
12,
1966,
3719,
1082,
202,
4099,
273,
446,
31,
202,
202,
2463,
1241,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return new String(Base64.decode(HttpConfigurable.getInstance().PROXY_PASSWORD_CRYPT.getBytes()));
|
return new String(new Base64().decode(HttpConfigurable.getInstance().PROXY_PASSWORD_CRYPT.getBytes()));
|
public String getPlainProxyPassword () { return new String(Base64.decode(HttpConfigurable.getInstance().PROXY_PASSWORD_CRYPT.getBytes())); }
|
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/e7eb2745c03b4a3bbb2b2de3a18a5c43e8e9006d/HttpConfigurable.java/buggy/openapi/src/com/intellij/util/net/HttpConfigurable.java
|
[
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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
9774,
530,
3886,
3913,
1832,
288,
565,
327,
394,
514,
12,
2704,
3360,
1105,
7675,
3922,
12,
2940,
31660,
18,
588,
1442,
7675,
16085,
67,
13784,
67,
14306,
18,
588,
2160,
1435,
10019,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
double scale = sp.getScale();
|
double scale = src.getScale();
|
public void paint( Graphics2D g, SequenceRenderContext sp, RangeLocation pos ) { SymbolList seq = sp.getSequence(); int direction = sp.getDirection(); g.setFont(sp.getFont()); Rectangle2D oldClip = g.getClipBounds(); AffineTransform oldTrans = g.getTransform(); g.setColor(Color.black); double scale = sp.getScale(); Rectangle2D maxBounds = g.getFont().getMaxCharBounds(g.getFontRenderContext()); if( sp.getScale() >= maxBounds.getWidth()*0.3 && sp.getScale() >= maxBounds.getHeight()*0.3 ) { double fudgeAcross = 0.0; double fudgeDown = 0.0; if (direction == sp.HORIZONTAL) { fudgeAcross = 0.0 /*- maxBounds.getCenterX()*/; fudgeDown = depth * 0.5 - maxBounds.getCenterY(); } else { fudgeAcross = depth * 0.5 - maxBounds.getCenterX(); fudgeDown = scale * 0.5 - maxBounds.getCenterY(); } int leading; int trailing; int symOffset = pos.getMin(); double graphOffset = sp.graphicsToSequence(symOffset); if(sp.getDirection() == sp.HORIZONTAL) { leading = sp.graphicsToSequence(oldClip.getMinX()); trailing = sp.graphicsToSequence(oldClip.getMaxX()); g.translate(-graphOffset, 0.0); g.setClip(AffineTransform.getTranslateInstance(-graphOffset, 0.0) .createTransformedShape(oldClip)); } else { leading = sp.graphicsToSequence(oldClip.getMinY()); trailing = sp.graphicsToSequence(oldClip.getMaxY()); g.translate(0.0, -graphOffset); g.setClip(AffineTransform.getTranslateInstance(0.0, -graphOffset) .createTransformedShape(oldClip)); } Rectangle2D clip = g.getClipBounds(); int min = Math.max(pos.getMin(), leading); int max = Math.min(pos.getMax(), trailing+1); System.out.println("oldTrans: " + oldTrans); System.out.println("pos: " + pos); System.out.println("symOffset: " + symOffset); System.out.println("leading: " + leading); System.out.println("trailing: " + trailing); System.out.println("min: " + min); System.out.println("max: " + max); System.out.println("-"); for (int sPos = min; sPos <= max; ++sPos) { double gPos = sp.sequenceToGraphics(sPos - symOffset); char c = seq.symbolAt(sPos).getToken(); if (direction == SequencePanel.HORIZONTAL) { //charBox.x = gPos; //g.drawString( // String.valueOf(c), // (int) (gPos + fudgeAcross), (int) fudgeDown //); g.drawString( String.valueOf(sPos).substring(0, 1), (int) (gPos + fudgeAcross), (int) fudgeDown ); } else { //charBox.y = gPos; g.drawString( String.valueOf(c), (int) fudgeAcross, (int) (gPos + fudgeDown) ); } //g.draw(charBox); } } g.setTransform(oldTrans); g.setClip(oldClip); }
|
50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/aa60230c580f0ba904cac723e56c916b9b3a1a19/SymbolSequenceRenderer.java/clean/src/org/biojava/bio/gui/sequence/SymbolSequenceRenderer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12574,
12,
1377,
16830,
22,
40,
314,
16,
8370,
3420,
1042,
1694,
16,
1377,
8086,
2735,
949,
565,
262,
288,
1377,
8565,
682,
3833,
273,
1694,
18,
588,
4021,
5621,
1377,
509,
4068,
273,
1694,
18,
588,
8212,
5621,
5411,
314,
18,
542,
5711,
12,
1752,
18,
588,
5711,
10663,
1377,
13264,
22,
40,
1592,
15339,
273,
314,
18,
588,
15339,
5694,
5621,
1377,
23906,
558,
4059,
1592,
1429,
273,
314,
18,
588,
4059,
5621,
5411,
314,
18,
542,
2957,
12,
2957,
18,
11223,
1769,
5411,
1645,
3159,
273,
1705,
18,
588,
5587,
5621,
1377,
13264,
22,
40,
943,
5694,
273,
3639,
314,
18,
588,
5711,
7675,
588,
2747,
2156,
5694,
12,
75,
18,
588,
5711,
3420,
1042,
10663,
1377,
309,
12,
3639,
1694,
18,
588,
5587,
1435,
1545,
943,
5694,
18,
588,
2384,
1435,
14,
20,
18,
23,
597,
3639,
1694,
18,
588,
5587,
1435,
1545,
943,
5694,
18,
588,
2686,
1435,
14,
20,
18,
23,
1377,
262,
288,
3639,
1645,
284,
27110,
9988,
3984,
273,
374,
18,
20,
31,
3639,
1645,
284,
27110,
4164,
273,
374,
18,
20,
31,
3639,
309,
261,
9855,
422,
1694,
18,
44,
20344,
13,
288,
1850,
284,
27110,
9988,
3984,
273,
374,
18,
20,
1748,
17,
943,
5694,
18,
588,
8449,
60,
1435,
5549,
31,
1850,
284,
27110,
4164,
273,
3598,
380,
374,
18,
25,
300,
943,
5694,
18,
588,
8449,
61,
5621,
3639,
289,
469,
288,
1850,
284,
27110,
9988,
3984,
273,
3598,
380,
374,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12574,
12,
1377,
16830,
22,
40,
314,
16,
8370,
3420,
1042,
1694,
16,
1377,
8086,
2735,
949,
565,
262,
288,
1377,
8565,
682,
3833,
273,
1694,
18,
588,
4021,
5621,
1377,
509,
4068,
273,
1694,
18,
588,
8212,
5621,
5411,
314,
18,
542,
5711,
12,
1752,
18,
588,
5711,
10663,
1377,
13264,
22,
40,
1592,
15339,
273,
314,
18,
588,
15339,
5694,
5621,
1377,
23906,
558,
4059,
1592,
1429,
273,
314,
18,
588,
4059,
5621,
5411,
314,
18,
542,
2957,
12,
2957,
18,
11223,
1769,
5411,
1645,
3159,
273,
1705,
18,
588,
5587,
5621,
1377,
13264,
22,
40,
943,
5694,
273,
3639,
314,
18,
588,
5711,
7675,
588,
2747,
2156,
5694,
12,
75,
18,
588,
5711,
2
] |
webConnection.setResponse( URL_FIRST, firstContent, 200, "OK", "text/html", Collections.EMPTY_LIST );
|
webConnection.setResponse(URL_FIRST, firstContent);
|
public void testSubmit_javascriptAction_javascriptDisabled() throws Exception { final String firstContent = "<html><head><title>First</title></head><body>" + "<form method='get' action='javascript:alert(\"clicked\")'>" + "<input name='button' type='submit' value='PushMe' id='button'/></form>" + "</body></html>"; final WebClient client = new WebClient(); client.setJavaScriptEnabled(false); final List collectedAlerts = new ArrayList(); client.setAlertHandler( new CollectingAlertHandler(collectedAlerts) ); final MockWebConnection webConnection = new MockWebConnection( client ); webConnection.setResponse( URL_FIRST, firstContent, 200, "OK", "text/html", Collections.EMPTY_LIST ); client.setWebConnection( webConnection ); final HtmlPage firstPage = ( HtmlPage )client.getPage(URL_FIRST); final HtmlSubmitInput button = (HtmlSubmitInput)firstPage.getHtmlElementById("button"); assertEquals( Collections.EMPTY_LIST, collectedAlerts ); final HtmlPage secondPage = (HtmlPage)button.click(); assertSame( firstPage, secondPage ); }
|
47843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47843/6e6351681eb3d013087d9071aa535ac5c47de378/HtmlFormTest.java/clean/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlFormTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
11620,
67,
11242,
1803,
67,
11242,
8853,
1435,
1216,
1185,
288,
3639,
727,
514,
1122,
1350,
5411,
273,
3532,
2620,
4438,
1978,
4438,
2649,
34,
3759,
1757,
2649,
4695,
1978,
4438,
3432,
2984,
5411,
397,
3532,
687,
707,
2218,
588,
11,
1301,
2218,
11242,
30,
11798,
23031,
7475,
329,
2412,
2506,
2984,
5411,
397,
3532,
2630,
508,
2218,
5391,
11,
618,
2218,
9297,
11,
460,
2218,
7621,
4667,
11,
612,
2218,
5391,
11,
19,
4695,
687,
2984,
5411,
397,
6823,
3432,
4695,
2620,
2984,
31,
3639,
727,
2999,
1227,
1004,
273,
394,
2999,
1227,
5621,
3639,
1004,
18,
542,
16634,
1526,
12,
5743,
1769,
3639,
727,
987,
12230,
37,
29729,
273,
394,
2407,
5621,
3639,
1004,
18,
542,
13298,
1503,
12,
394,
9302,
310,
13298,
1503,
12,
14676,
329,
37,
29729,
13,
11272,
3639,
727,
7867,
4079,
1952,
3311,
1952,
273,
394,
7867,
4079,
1952,
12,
1004,
11272,
3639,
3311,
1952,
18,
542,
1064,
12,
5411,
1976,
67,
15354,
16,
1122,
1350,
16,
4044,
16,
315,
3141,
3113,
315,
955,
19,
2620,
3113,
5737,
18,
13625,
67,
7085,
11272,
3639,
1004,
18,
542,
4079,
1952,
12,
3311,
1952,
11272,
3639,
727,
5430,
1964,
1122,
1964,
273,
261,
5430,
1964,
262,
2625,
18,
588,
1964,
12,
1785,
67,
15354,
1769,
3639,
727,
5430,
11620,
1210,
3568,
273,
261,
4353,
11620,
1210,
13,
3645,
1964,
18,
588,
4353,
1046,
5132,
2932,
5391,
8863,
3639,
1815,
8867,
12,
5737,
18,
13625,
67,
7085,
16,
12230,
37,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
11620,
67,
11242,
1803,
67,
11242,
8853,
1435,
1216,
1185,
288,
3639,
727,
514,
1122,
1350,
5411,
273,
3532,
2620,
4438,
1978,
4438,
2649,
34,
3759,
1757,
2649,
4695,
1978,
4438,
3432,
2984,
5411,
397,
3532,
687,
707,
2218,
588,
11,
1301,
2218,
11242,
30,
11798,
23031,
7475,
329,
2412,
2506,
2984,
5411,
397,
3532,
2630,
508,
2218,
5391,
11,
618,
2218,
9297,
11,
460,
2218,
7621,
4667,
11,
612,
2218,
5391,
11,
19,
4695,
687,
2984,
5411,
397,
6823,
3432,
4695,
2620,
2984,
31,
3639,
727,
2999,
1227,
1004,
273,
394,
2999,
1227,
5621,
3639,
1004,
18,
542,
16634,
1526,
12,
5743,
1769,
3639,
727,
987,
12230,
37,
29729,
273,
394,
2407,
5621,
3639,
2
] |
rootPathFrags = (Constants.XPATH_SLASH+rootPath).split(Constants.XPATH_SLASH);
|
rootPathFrags = (UtilConstants.XPATH_SLASH+rootPath).split(UtilConstants.XPATH_SLASH);
|
private static String getXPathExpression( String rootPath, String columnPath ) { String[] rootPathFrags = rootPath.replaceAll(Constants.XPATH_ELEM_INDEX_PATTERN,"").split(Constants.XPATH_SLASH); String[] columnPathFrags = columnPath.replaceAll(Constants.XPATH_ELEM_INDEX_PATTERN,"").split(Constants.XPATH_SLASH); //The length of rootPathFrags and columnPathFrags should larger than 2, //for the simplest path would be /elementName, which, if being splitted by "/", //would produces a 2 element string array. if( rootPathFrags.length < 2 || columnPathFrags.length < 2 ) return null; //The position which starting the common part of root path and column path in columnPathFrags array. int startingIndex = 0; //The position which ending the common part of root path and column path in columnPathFrags array int endingIndex = 0; //If rootPath starting with "//", then mean the rootPath is a relative path, else, //the rootPath is an absolute path if( !rootPath.startsWith(Constants.XPATH_DOUBLE_SLASH)) { //If rootPath is absolute path, then the startingIndex must be 1.If not then //the rootPath and columnPath has nothing in common. if( !is2FragmentsEqual(columnPathFrags[1],rootPathFrags[1])) return null; else { rootPathFrags = (Constants.XPATH_SLASH+rootPath).split(Constants.XPATH_SLASH); } } assert rootPathFrags.length >= 3; String commonRoot = rootPathFrags[2]; startingIndex = getStartingIndex( columnPathFrags, commonRoot ); //If startingIndex == 0, that means the given column path do not have common if( columnPathFrags.length < startingIndex+1 || startingIndex == 0) return null; endingIndex = getEndingIndex( rootPathFrags, columnPathFrags, startingIndex ); return populateXpathExpression( columnPath, rootPathFrags, startingIndex, endingIndex ); }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/14ebd25d60158712e98274eae10182535e95f3a3/XPathPopulationUtil.java/clean/data/org.eclipse.birt.report.data.oda.xml/src/org/eclipse/birt/report/data/oda/xml/util/ui/XPathPopulationUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
514,
6538,
743,
2300,
12,
514,
13959,
16,
514,
1057,
743,
262,
202,
95,
202,
202,
780,
8526,
13959,
7167,
1341,
273,
13959,
18,
2079,
1595,
12,
2918,
18,
60,
4211,
67,
41,
26817,
67,
9199,
67,
10831,
16,
3660,
2934,
4939,
12,
2918,
18,
60,
4211,
67,
24079,
1769,
202,
202,
780,
8526,
1057,
743,
7167,
1341,
273,
1057,
743,
18,
2079,
1595,
12,
2918,
18,
60,
4211,
67,
41,
26817,
67,
9199,
67,
10831,
16,
3660,
2934,
4939,
12,
2918,
18,
60,
4211,
67,
24079,
1769,
9506,
202,
759,
1986,
769,
434,
13959,
7167,
1341,
471,
1057,
743,
7167,
1341,
1410,
10974,
2353,
576,
16,
202,
202,
759,
1884,
326,
9330,
395,
589,
4102,
506,
342,
2956,
461,
16,
1492,
16,
309,
3832,
17687,
635,
2206,
3113,
202,
202,
759,
91,
1006,
15505,
279,
576,
930,
533,
526,
18,
202,
202,
430,
12,
13959,
7167,
1341,
18,
2469,
411,
576,
747,
1057,
743,
7167,
1341,
18,
2469,
411,
576,
262,
1082,
202,
2463,
446,
31,
9506,
202,
759,
1986,
1754,
1492,
5023,
326,
2975,
1087,
434,
1365,
589,
471,
1057,
589,
316,
1057,
743,
7167,
1341,
526,
18,
202,
202,
474,
5023,
1016,
273,
374,
31,
9506,
202,
759,
1986,
1754,
1492,
11463,
326,
2975,
1087,
434,
1365,
589,
471,
1057,
589,
316,
1057,
743,
7167,
1341,
526,
3196,
202,
474,
11463,
1016,
273,
374,
31,
9506,
202,
759,
2047,
13959,
5023,
598,
16177,
3113,
1508,
3722,
326,
13959,
353,
279,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
514,
6538,
743,
2300,
12,
514,
13959,
16,
514,
1057,
743,
262,
202,
95,
202,
202,
780,
8526,
13959,
7167,
1341,
273,
13959,
18,
2079,
1595,
12,
2918,
18,
60,
4211,
67,
41,
26817,
67,
9199,
67,
10831,
16,
3660,
2934,
4939,
12,
2918,
18,
60,
4211,
67,
24079,
1769,
202,
202,
780,
8526,
1057,
743,
7167,
1341,
273,
1057,
743,
18,
2079,
1595,
12,
2918,
18,
60,
4211,
67,
41,
26817,
67,
9199,
67,
10831,
16,
3660,
2934,
4939,
12,
2918,
18,
60,
4211,
67,
24079,
1769,
9506,
202,
759,
1986,
769,
434,
13959,
7167,
1341,
471,
1057,
743,
7167,
1341,
1410,
10974,
2353,
576,
16,
202,
202,
759,
1884,
326,
9330,
395,
589,
2
] |
catch (Exception e) {
|
catch (Throwable e) {
|
public void test() throws Throwable { selenium.setContext("Test Failing Verifications", "info"); /* Test Failing Verifications */ // open|./tests/html/test_verifications.html| selenium.open("./tests/html/test_verifications.html"); boolean sawThrow4 = false; try { selenium.assertLocation("/tests/html/not_test_verifications.html"); } catch (Exception e) { sawThrow4 = true; } verifyTrue(sawThrow4); boolean sawThrow6 = false; try { // assertValue|theText|not the text value assertEquals("not the text value", selenium.getValue("theText")); } catch (Exception e) { sawThrow6 = true; } verifyTrue(sawThrow6); boolean sawThrow8 = false; try { // assertNotValue|theText|the text value assertNotEquals("the text value", selenium.getValue("theText")); } catch (Exception e) { sawThrow8 = true; } verifyTrue(sawThrow8); boolean sawThrow10 = false; try { // assertValue|theHidden|not the hidden value assertEquals("not the hidden value", selenium.getValue("theHidden")); } catch (Exception e) { sawThrow10 = true; } verifyTrue(sawThrow10); boolean sawThrow12 = false; try { // assertText|theSpan|this is not the span assertEquals("this is not the span", selenium.getText("theSpan")); } catch (Exception e) { sawThrow12 = true; } verifyTrue(sawThrow12); boolean sawThrow14 = false; try { // assertTextPresent|this is not the span| assertTrue(this.getText().indexOf("this is not the span")!=-1); } catch (Exception e) { sawThrow14 = true; } verifyTrue(sawThrow14); boolean sawThrow16 = false; try { // assertTextNotPresent|this is the span| assertFalse(this.getText().indexOf("this is the span")!=-1); } catch (Exception e) { sawThrow16 = true; } verifyTrue(sawThrow16); boolean sawThrow18 = false; try { selenium.assertElementPresent("notTheSpan"); } catch (Exception e) { sawThrow18 = true; } verifyTrue(sawThrow18); boolean sawThrow20 = false; try { selenium.assertElementNotPresent("theSpan"); } catch (Exception e) { sawThrow20 = true; } verifyTrue(sawThrow20); boolean sawThrow22 = false; try { // assertTable|theTable.1.0|a assertEquals("a", selenium.getTable("theTable.1.0")); } catch (Exception e) { sawThrow22 = true; } verifyTrue(sawThrow22); boolean sawThrow24 = false; try { selenium.assertSelected("theSelect", "index=2"); } catch (Exception e) { sawThrow24 = true; } verifyTrue(sawThrow24); boolean sawThrow26 = false; try { selenium.assertSelected("theSelect", "value=opt*3"); } catch (Exception e) { sawThrow26 = true; } verifyTrue(sawThrow26); boolean sawThrow28 = false; try { selenium.assertSelected("theSelect", "third option"); } catch (Exception e) { sawThrow28 = true; } verifyTrue(sawThrow28); boolean sawThrow30 = false; try { String[] tmp2 = {"first\\\\,option", "second option"}; // assertSelectOptions|theSelect|first\\\\,option,second option assertEquals(tmp2, selenium.getSelectOptions("theSelect")); } catch (Exception e) { sawThrow30 = true; } verifyTrue(sawThrow30); boolean sawThrow32 = false; try { // assertAttribute|theText@class|bar assertEquals("bar", selenium.getAttribute("theText@class")); } catch (Exception e) { sawThrow32 = true; } verifyTrue(sawThrow32); boolean sawThrow34 = false; try { // assertNotAttribute|theText@class|foo assertNotEquals("foo", selenium.getAttribute("theText@class")); } catch (Exception e) { sawThrow34 = true; } verifyTrue(sawThrow34); checkForVerificationErrors(); }
|
50930 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50930/15660ffa40e3fe9cdf6de2752e79d93831571a27/TestFailingVerifications.java/clean/clients/java/src/test/java/com/thoughtworks/selenium/generated/TestFailingVerifications.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
1435,
1216,
4206,
288,
202,
202,
1786,
17327,
18,
542,
1042,
2932,
4709,
8911,
310,
6160,
6640,
3113,
315,
1376,
8863,
225,
1748,
7766,
8911,
310,
6160,
6640,
1195,
1082,
202,
759,
1696,
96,
18,
19,
16341,
19,
2620,
19,
3813,
67,
502,
6640,
18,
2620,
96,
1082,
202,
1786,
17327,
18,
3190,
2932,
18,
19,
16341,
19,
2620,
19,
3813,
67,
502,
6640,
18,
2620,
8863,
202,
202,
6494,
19821,
8282,
24,
273,
629,
31,
202,
202,
698,
288,
1082,
202,
1786,
17327,
18,
11231,
2735,
2932,
19,
16341,
19,
2620,
19,
902,
67,
3813,
67,
502,
6640,
18,
2620,
8863,
202,
202,
97,
202,
202,
14683,
261,
503,
425,
13,
288,
1082,
202,
87,
2219,
8282,
24,
273,
638,
31,
202,
202,
97,
202,
202,
8705,
5510,
12,
87,
2219,
8282,
24,
1769,
9506,
202,
6494,
19821,
8282,
26,
273,
629,
31,
202,
202,
698,
288,
25083,
202,
759,
1815,
620,
96,
5787,
1528,
96,
902,
326,
977,
460,
1082,
202,
11231,
8867,
2932,
902,
326,
977,
460,
3113,
29480,
18,
24805,
2932,
5787,
1528,
7923,
1769,
202,
202,
97,
202,
202,
14683,
261,
503,
425,
13,
288,
1082,
202,
87,
2219,
8282,
26,
273,
638,
31,
202,
202,
97,
202,
202,
8705,
5510,
12,
87,
2219,
8282,
26,
1769,
9506,
202,
6494,
19821,
8282,
28,
273,
629,
31,
202,
202,
698,
288,
25083,
202,
759,
1815,
1248,
620,
96,
5787,
1528,
96,
5787,
977,
460,
1082,
202,
11231,
1248,
8867,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
1435,
1216,
4206,
288,
202,
202,
1786,
17327,
18,
542,
1042,
2932,
4709,
8911,
310,
6160,
6640,
3113,
315,
1376,
8863,
225,
1748,
7766,
8911,
310,
6160,
6640,
1195,
1082,
202,
759,
1696,
96,
18,
19,
16341,
19,
2620,
19,
3813,
67,
502,
6640,
18,
2620,
96,
1082,
202,
1786,
17327,
18,
3190,
2932,
18,
19,
16341,
19,
2620,
19,
3813,
67,
502,
6640,
18,
2620,
8863,
202,
202,
6494,
19821,
8282,
24,
273,
629,
31,
202,
202,
698,
288,
1082,
202,
1786,
17327,
18,
11231,
2735,
2932,
19,
16341,
19,
2620,
19,
902,
67,
3813,
67,
502,
6640,
18,
2620,
8863,
202,
202,
97,
202,
202,
14683,
261,
503,
425,
13,
288,
1082,
202,
2
] |
Assert.fail( de.getMessage() );
|
fail( de.getMessage() );
|
public void testDecodeSearchRequestSubstringInitialAny() { Asn1Decoder ldapDecoder = new LdapDecoder(); ByteBuffer stream = ByteBuffer.allocate( 0x64 ); stream.put( new byte[] { 0x30, 0x62, // LDAPMessage ::=SEQUENCE { 0x02, 0x01, 0x01, // messageID MessageID 0x63, 0x5D, // CHOICE { ..., searchRequest SearchRequest, ... // SearchRequest ::= APPLICATION[3] SEQUENCE { 0x04, 0x1F, // baseObject LDAPDN, 'u', 'i', 'd', '=', 'a', 'k', 'a', 'r', 'a', 's', 'u', 'l', 'u', ',', 'd', 'c', '=', 'e', 'x', 'a', 'm', 'p', 'l', 'e', ',', 'd', 'c', '=', 'c', 'o', 'm', 0x0A, 0x01, 0x01, // scope ENUMERATED { // baseObject (0), // singleLevel (1), // wholeSubtree (2) }, 0x0A, 0x01, 0x03, // derefAliases ENUMERATED { // neverDerefAliases (0), // derefInSearching (1), // derefFindingBaseObj (2), // derefAlways (3) }, // sizeLimit INTEGER (0 .. maxInt), (1000) 0x02, 0x02, 0x03, (byte)0xE8, // timeLimit INTEGER (0 .. maxInt), (1000) 0x02, 0x02, 0x03, (byte)0xE8, 0x01, 0x01, (byte)0xFF, // typesOnly BOOLEAN, (TRUE) // filter Filter, (byte)0xA4, 0x12, // Filter ::= CHOICE { // substrings [4] SubstringFilter // } // SubstringFilter ::= SEQUENCE { 0x04, 0x0B, // type AttributeDescription, 'o', 'b', 'j', 'e', 'c', 't', 'c', 'l', 'a', 's', 's', 0x30, 0x03, (byte)0x80, 0x01, 't', // 0x30, 0x15, // AttributeDescriptionList ::= SEQUENCE OF AttributeDescription 0x04, 0x05, 'a', 't', 't', 'r', '0', // AttributeDescription ::= LDAPString 0x04, 0x05, 'a', 't', 't', 'r', '1', // AttributeDescription ::= LDAPString 0x04, 0x05, 'a', 't', 't', 'r', '2' // AttributeDescription ::= LDAPString } ); String decodedPdu = StringTools.dumpBytes( stream.array() ); stream.flip(); // Allocate a BindRequest Container IAsn1Container ldapMessageContainer = new LdapMessageContainer(); try { ldapDecoder.decode( stream, ldapMessageContainer ); } catch ( DecoderException de ) { de.printStackTrace(); Assert.fail( de.getMessage() ); } LdapMessage message = ( ( LdapMessageContainer ) ldapMessageContainer ).getLdapMessage(); SearchRequest sr = message.getSearchRequest(); Assert.assertEquals( 1, message.getMessageId() ); Assert.assertEquals( "uid=akarasulu,dc=example,dc=com", sr.getBaseObject().toString() ); Assert.assertEquals( LdapConstants.SCOPE_SINGLE_LEVEL, sr.getScope() ); Assert.assertEquals( LdapConstants.DEREF_ALWAYS, sr.getDerefAliases() ); Assert.assertEquals( 1000, sr.getSizeLimit() ); Assert.assertEquals( 1000, sr.getTimeLimit() ); Assert.assertEquals( true, sr.isTypesOnly() ); // (objectclass=t*) SubstringFilter substringFilter = (SubstringFilter)sr.getFilter(); Assert.assertNotNull(substringFilter); Assert.assertEquals("objectclass", substringFilter.getType().toString()); Assert.assertEquals("t", substringFilter.getInitialSubstrings().toString()); // The attributes Attributes attributes = sr.getAttributes(); for (int i = 0; i < attributes.size(); i++) { Assert.assertNotNull( attributes.get( "attr" + i ) ); } // Check the length Assert.assertEquals(0x64, message.computeLength()); // Check the encoding // We won't check the whole PDU, as it may differs because // attributes may have been reordered try { ByteBuffer bb = message.encode( null ); String encodedPdu = StringTools.dumpBytes( bb.array() ); Assert.assertEquals(encodedPdu.substring( 0, 0x53 ), decodedPdu.substring( 0, 0x53 ) ); } catch ( EncoderException ee ) { ee.printStackTrace(); Assert.fail( ee.getMessage() ); } }
|
54578 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54578/3561f4cdd29c534a78cee8464a6bc4c88d5b1783/SearchRequestTest.java/buggy/ldap/src/test/java/org/apache/ldap/common/codec/search/SearchRequestTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
6615,
2979,
691,
1676,
1080,
4435,
2961,
1435,
565,
288,
3639,
31277,
21,
7975,
8079,
7975,
273,
394,
18053,
7975,
5621,
3639,
7400,
225,
1407,
1377,
273,
7400,
18,
16247,
12,
374,
92,
1105,
11272,
3639,
1407,
18,
458,
12,
5411,
394,
1160,
8526,
5411,
288,
7734,
374,
92,
5082,
16,
374,
92,
8898,
16,
10402,
368,
11916,
1079,
493,
33,
25330,
288,
9506,
202,
20,
92,
3103,
16,
374,
92,
1611,
16,
374,
92,
1611,
16,
3196,
1850,
368,
3639,
883,
734,
2350,
734,
9506,
202,
20,
92,
4449,
16,
374,
92,
25,
40,
16,
10402,
368,
202,
1377,
6469,
51,
11774,
288,
1372,
16,
1623,
691,
5167,
691,
16,
1372,
7682,
9506,
1377,
202,
225,
368,
5167,
691,
493,
33,
14148,
63,
23,
65,
27118,
288,
9506,
202,
20,
92,
3028,
16,
374,
92,
21,
42,
16,
1875,
1377,
202,
225,
368,
565,
1026,
921,
11916,
8609,
16,
9506,
202,
11,
89,
2187,
296,
77,
2187,
296,
72,
2187,
15196,
2187,
296,
69,
2187,
296,
79,
2187,
296,
69,
2187,
296,
86,
2187,
296,
69,
2187,
296,
87,
2187,
296,
89,
2187,
296,
80,
2187,
296,
89,
2187,
2265,
2187,
296,
72,
2187,
296,
71,
2187,
15196,
2187,
7734,
296,
73,
2187,
296,
92,
2187,
296,
69,
2187,
296,
81,
2187,
296,
84,
2187,
296,
80,
2187,
296,
73,
2187,
2265,
2187,
296,
72,
2187,
296,
71,
2187,
15196,
2187,
296,
71,
2187,
296,
83,
2187,
296,
81,
2187,
9506,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
6615,
2979,
691,
1676,
1080,
4435,
2961,
1435,
565,
288,
3639,
31277,
21,
7975,
8079,
7975,
273,
394,
18053,
7975,
5621,
3639,
7400,
225,
1407,
1377,
273,
7400,
18,
16247,
12,
374,
92,
1105,
11272,
3639,
1407,
18,
458,
12,
5411,
394,
1160,
8526,
5411,
288,
7734,
374,
92,
5082,
16,
374,
92,
8898,
16,
10402,
368,
11916,
1079,
493,
33,
25330,
288,
9506,
202,
20,
92,
3103,
16,
374,
92,
1611,
16,
374,
92,
1611,
16,
3196,
1850,
368,
3639,
883,
734,
2350,
734,
9506,
202,
20,
92,
4449,
16,
374,
92,
25,
40,
16,
10402,
368,
202,
1377,
6469,
51,
11774,
288,
1372,
16,
1623,
691,
5167,
691,
16,
1372,
7682,
9506,
1377,
2
] |
int LA15_87 = input.LA(1); if ( LA15_87=='e' ) {return s194;} return s51;
|
switch ( input.LA(1) ) { case 'h': return s85;
|
public DFA.State transition(IntStream input) throws RecognitionException { int LA15_87 = input.LA(1); if ( LA15_87=='e' ) {return s194;} return s51; }
|
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/9c6423b7a31fdc4a1317e71a6d2850c94e2140e0/RuleParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
463,
2046,
18,
1119,
6007,
12,
1702,
1228,
810,
13,
1216,
9539,
288,
7734,
509,
2928,
3600,
67,
11035,
273,
810,
18,
2534,
12,
21,
1769,
7734,
309,
261,
2928,
3600,
67,
11035,
18920,
73,
11,
262,
288,
2463,
272,
15613,
31,
97,
7734,
327,
272,
10593,
31,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Node.Target breakTarget = new Node.Target();
|
Node breakTarget = Node.newTarget();
|
Node createLabeledStatement(Node labelArg, Node statement) { Node.Jump label = (Node.Jump)labelArg; // Make a target and put it _after_ the statement // node. And in the LABEL node, so breaks get the // right target. Node.Target breakTarget = new Node.Target(); Node block = new Node(Token.BLOCK, label, statement, breakTarget); label.target = breakTarget; return block; }
|
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/00c3a706bf401545154202d57d1edaa0e2f9b8b8/IRFactory.java/buggy/src/org/mozilla/javascript/IRFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
2029,
752,
2224,
329,
3406,
12,
907,
1433,
4117,
16,
2029,
3021,
13,
565,
288,
3639,
2029,
18,
26743,
1433,
273,
261,
907,
18,
26743,
13,
1925,
4117,
31,
3639,
368,
4344,
279,
1018,
471,
1378,
518,
389,
5205,
67,
326,
3021,
3639,
368,
756,
18,
225,
7835,
316,
326,
18210,
756,
16,
1427,
16217,
336,
326,
3639,
368,
2145,
1018,
18,
3639,
2029,
898,
2326,
273,
2029,
18,
2704,
2326,
5621,
3639,
2029,
1203,
273,
394,
2029,
12,
1345,
18,
11403,
16,
1433,
16,
3021,
16,
898,
2326,
1769,
3639,
1433,
18,
3299,
273,
898,
2326,
31,
3639,
327,
1203,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
2029,
752,
2224,
329,
3406,
12,
907,
1433,
4117,
16,
2029,
3021,
13,
565,
288,
3639,
2029,
18,
26743,
1433,
273,
261,
907,
18,
26743,
13,
1925,
4117,
31,
3639,
368,
4344,
279,
1018,
471,
1378,
518,
389,
5205,
67,
326,
3021,
3639,
368,
756,
18,
225,
7835,
316,
326,
18210,
756,
16,
1427,
16217,
336,
326,
3639,
368,
2145,
1018,
18,
3639,
2029,
898,
2326,
273,
2029,
18,
2704,
2326,
5621,
3639,
2029,
1203,
273,
394,
2029,
12,
1345,
18,
11403,
16,
1433,
16,
3021,
16,
898,
2326,
1769,
3639,
1433,
18,
3299,
273,
898,
2326,
31,
3639,
327,
1203,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
out.write( this.masterRecordSetIdsByName.size() );
|
out.writeInt( this.masterRecordSetIdsByName.size() );
|
private void registerRecordSetId( int id, String name ) throws IOException, RecordStoreException { this.masterRecordSetIdsByName.put( name, new Integer( id ) ); Object[] keys = this.masterRecordSetIdsByName.keys(); ByteArrayOutputStream byteOut = new ByteArrayOutputStream(); DataOutputStream out = new DataOutputStream( byteOut ); out.write( this.masterRecordSetIdsByName.size() ); for (int i = 0; i < keys.length; i++) { String key = (String)keys[i]; Integer idInt = (Integer) this.masterRecordSetIdsByName.get( key ); out.writeUTF(name); out.writeInt( idInt.intValue() ); } byte[] data = byteOut.toByteArray(); this.masterRecordStore.setRecord( this.indexRecordId, data, 0, data.length ); out.close(); byteOut.close(); }
|
9804 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9804/b13f925c5aba8fca90bb2517f89fa5fa2fd2f7ba/RmsStorage.java/clean/j2me/source/src/de/enough/polish/io/RmsStorage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1744,
2115,
18523,
12,
509,
612,
16,
514,
508,
262,
202,
15069,
1860,
16,
5059,
21151,
202,
95,
202,
202,
2211,
18,
7525,
2115,
694,
2673,
5911,
18,
458,
12,
508,
16,
394,
2144,
12,
612,
262,
11272,
202,
202,
921,
8526,
1311,
273,
333,
18,
7525,
2115,
694,
2673,
5911,
18,
2452,
5621,
202,
202,
8826,
4632,
1160,
1182,
273,
394,
11559,
5621,
202,
202,
751,
4632,
596,
273,
394,
28680,
12,
1160,
1182,
11272,
202,
202,
659,
18,
2626,
12,
333,
18,
7525,
2115,
694,
2673,
5911,
18,
1467,
1435,
11272,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1311,
18,
2469,
31,
277,
27245,
288,
1082,
202,
780,
498,
273,
261,
780,
13,
2452,
63,
77,
15533,
1082,
202,
4522,
612,
1702,
273,
261,
4522,
13,
333,
18,
7525,
2115,
694,
2673,
5911,
18,
588,
12,
498,
11272,
1082,
202,
659,
18,
2626,
5159,
12,
529,
1769,
1082,
202,
659,
18,
2626,
1702,
12,
612,
1702,
18,
474,
620,
1435,
11272,
202,
202,
97,
202,
202,
7229,
8526,
501,
273,
1160,
1182,
18,
869,
8826,
5621,
202,
202,
2211,
18,
7525,
2115,
2257,
18,
542,
2115,
12,
333,
18,
1615,
2115,
548,
16,
501,
16,
374,
16,
501,
18,
2469,
11272,
202,
202,
659,
18,
4412,
5621,
202,
202,
7229,
1182,
18,
4412,
5621,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1744,
2115,
18523,
12,
509,
612,
16,
514,
508,
262,
202,
15069,
1860,
16,
5059,
21151,
202,
95,
202,
202,
2211,
18,
7525,
2115,
694,
2673,
5911,
18,
458,
12,
508,
16,
394,
2144,
12,
612,
262,
11272,
202,
202,
921,
8526,
1311,
273,
333,
18,
7525,
2115,
694,
2673,
5911,
18,
2452,
5621,
202,
202,
8826,
4632,
1160,
1182,
273,
394,
11559,
5621,
202,
202,
751,
4632,
596,
273,
394,
28680,
12,
1160,
1182,
11272,
202,
202,
659,
18,
2626,
12,
333,
18,
7525,
2115,
694,
2673,
5911,
18,
1467,
1435,
11272,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1311,
18,
2469,
31,
277,
27245,
288,
1082,
202,
780,
498,
2
] |
return !(c == null || now - c.lastUsedTime() > Node.HANDSHAKE_TIMEOUT);
|
return !((c == null) || (now - c.lastUsedTime() > Node.HANDSHAKE_TIMEOUT));
|
public boolean hasLiveHandshake(long now) { DiffieHellmanContext c = ctx; if(c != null) Logger.minor(this, "Last used: "+(now - c.lastUsedTime())); return !(c == null || now - c.lastUsedTime() > Node.HANDSHAKE_TIMEOUT); }
|
50915 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50915/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/PeerNode.java/clean/src/freenet/node/PeerNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
711,
12328,
14545,
12,
5748,
2037,
13,
288,
3639,
13008,
1385,
44,
1165,
4728,
1042,
276,
273,
1103,
31,
3639,
309,
12,
71,
480,
446,
13,
5411,
4242,
18,
17364,
12,
2211,
16,
315,
3024,
1399,
30,
13773,
12,
3338,
300,
276,
18,
2722,
6668,
950,
1435,
10019,
3639,
327,
401,
12443,
71,
422,
446,
13,
747,
261,
3338,
300,
276,
18,
2722,
6668,
950,
1435,
405,
2029,
18,
12346,
8325,
6859,
67,
9503,
10019,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
711,
12328,
14545,
12,
5748,
2037,
13,
288,
3639,
13008,
1385,
44,
1165,
4728,
1042,
276,
273,
1103,
31,
3639,
309,
12,
71,
480,
446,
13,
5411,
4242,
18,
17364,
12,
2211,
16,
315,
3024,
1399,
30,
13773,
12,
3338,
300,
276,
18,
2722,
6668,
950,
1435,
10019,
3639,
327,
401,
12443,
71,
422,
446,
13,
747,
261,
3338,
300,
276,
18,
2722,
6668,
950,
1435,
405,
2029,
18,
12346,
8325,
6859,
67,
9503,
10019,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public String getServletContextName() { return application.getName(); }
|
public String getServletContextName() { return application.getName(); }
|
public String getServletContextName() { return application.getName(); }
|
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/9a4b9b48d844a9fd7e8882aa552fcfb06d718660/MockServletContext.java/buggy/wicket/src/java/wicket/protocol/http/MockServletContext.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
29015,
461,
1435,
288,
3639,
327,
2521,
18,
17994,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
29015,
461,
1435,
288,
3639,
327,
2521,
18,
17994,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
generateRegExpLiterals(cx, scope); itsData.itsNeedsActivation = theFunction.requiresActivation(); generateICodeFromTree(theFunction.getLastChild()); itsData.itsName = theFunction.getFunctionName(); itsData.itsSource = theFunction.getEncodedSource(); if (Token.printICode) dumpICode(itsData); if (cx.debugger != null) { cx.debugger.handleCompilationDone(cx, itsData, debugSource); } debugSource = savedSource;
|
generateICodeFromTree(cx, scope, theFunction.getLastChild());
|
private void generateFunctionICode(Context cx, Scriptable scope) { FunctionNode theFunction = (FunctionNode)scriptOrFn; itsData.itsFunctionType = theFunction.getFunctionType(); // check if function has own source, which is the case // with Function(...) String savedSource = debugSource; debugSource = theFunction.getOriginalSource(); if (debugSource == null) { debugSource = savedSource; } generateNestedFunctions(cx, scope); generateRegExpLiterals(cx, scope); itsData.itsNeedsActivation = theFunction.requiresActivation(); generateICodeFromTree(theFunction.getLastChild()); itsData.itsName = theFunction.getFunctionName(); itsData.itsSource = theFunction.getEncodedSource(); if (Token.printICode) dumpICode(itsData); if (cx.debugger != null) { cx.debugger.handleCompilationDone(cx, itsData, debugSource); } debugSource = savedSource; }
|
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/5997aaa966c8979f429588d1e5099f085d98eed1/Interpreter.java/buggy/src/org/mozilla/javascript/Interpreter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
2083,
45,
1085,
12,
1042,
9494,
16,
22780,
2146,
13,
565,
288,
3639,
4284,
907,
326,
2083,
273,
261,
2083,
907,
13,
4263,
1162,
5372,
31,
3639,
2097,
751,
18,
1282,
2083,
559,
273,
326,
2083,
18,
588,
2083,
559,
5621,
3639,
368,
866,
309,
445,
711,
4953,
1084,
16,
1492,
353,
326,
648,
3639,
368,
598,
4284,
5825,
13,
3639,
514,
5198,
1830,
273,
1198,
1830,
31,
3639,
1198,
1830,
273,
326,
2083,
18,
588,
8176,
1830,
5621,
3639,
309,
261,
4148,
1830,
422,
446,
13,
288,
5411,
1198,
1830,
273,
5198,
1830,
31,
3639,
289,
3639,
2103,
8649,
7503,
12,
71,
92,
16,
2146,
1769,
3639,
2103,
13673,
48,
11235,
12,
71,
92,
16,
2146,
1769,
3639,
2097,
751,
18,
1282,
26419,
14857,
273,
326,
2083,
18,
18942,
14857,
5621,
3639,
2103,
45,
1085,
1265,
2471,
12,
5787,
2083,
18,
588,
3024,
1763,
10663,
3639,
2097,
751,
18,
1282,
461,
273,
326,
2083,
18,
588,
25258,
5621,
3639,
2097,
751,
18,
1282,
1830,
273,
326,
2083,
18,
588,
10397,
1830,
5621,
3639,
309,
261,
1345,
18,
1188,
45,
1085,
13,
4657,
45,
1085,
12,
1282,
751,
1769,
3639,
309,
261,
71,
92,
18,
4148,
693,
480,
446,
13,
288,
5411,
9494,
18,
4148,
693,
18,
4110,
19184,
7387,
12,
71,
92,
16,
2097,
751,
16,
1198,
1830,
1769,
3639,
289,
3639,
1198,
1830,
273,
5198,
1830,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
2083,
45,
1085,
12,
1042,
9494,
16,
22780,
2146,
13,
565,
288,
3639,
4284,
907,
326,
2083,
273,
261,
2083,
907,
13,
4263,
1162,
5372,
31,
3639,
2097,
751,
18,
1282,
2083,
559,
273,
326,
2083,
18,
588,
2083,
559,
5621,
3639,
368,
866,
309,
445,
711,
4953,
1084,
16,
1492,
353,
326,
648,
3639,
368,
598,
4284,
5825,
13,
3639,
514,
5198,
1830,
273,
1198,
1830,
31,
3639,
1198,
1830,
273,
326,
2083,
18,
588,
8176,
1830,
5621,
3639,
309,
261,
4148,
1830,
422,
446,
13,
288,
5411,
1198,
1830,
273,
5198,
1830,
31,
3639,
289,
3639,
2103,
8649,
7503,
12,
71,
92,
16,
2146,
1769,
3639,
2103,
13673,
48,
11235,
12,
71,
92,
2
] |
StringTokenizer pkgPrefix = new StringTokenizer(propVal, "|");
|
private ContentHandler setContentHandler(String contentType) { ContentHandler handler; // No content type so just handle it as the default. if (contentType == null || contentType.equals("")) return null; // See if a handler has been cached for this content type. // For efficiency, if a content type has been searched for but not // found, it will be in the hash table but as the contentType String // instead of a ContentHandler. if ((handler = (ContentHandler) handlers.get(contentType)) != null) if (handler instanceof ContentHandler) return handler; else return null; // If a non-default factory has been set, use it to find the content type. if (factory != null) handler = factory.createContentHandler(contentType); // Non-default factory may have returned null or a factory wasn't set. // Use the default search algorithm to find a handler for this content type. if (handler == null) { // Get the list of packages to check and append our default handler // to it, along with the JDK specified default as a last resort. // Except in very unusual environments the JDK specified one shouldn't // ever be needed (or available). String propVal = System.getProperty("java.content.handler.pkgs"); propVal = (propVal == null) ? "" : (propVal + "|"); propVal = propVal + "gnu.gcj.content|sun.net.www.content"; // Replace the '/' character in the content type with '.' and // all other non-alphabetic, non-numeric characters with '_'. StringTokenizer pkgPrefix = new StringTokenizer(propVal, "|"); char[] cArray = contentType.toCharArray(); for (int i = 0; i < cArray.length; i++) { if (cArray[i] == '/') cArray[i] = '.'; else if (! ((cArray[i] >= 'A' && cArray[i] <= 'Z') || (cArray[i] >= 'a' && cArray[i] <= 'z') || (cArray[i] >= '0' && cArray[i] <= '9'))) cArray[i] = '_'; } String contentClass = new String(cArray); // See if a class of this content type exists in any of the packages. do { String facName = pkgPrefix.nextToken() + "." + contentClass; try { handler = (ContentHandler) Class.forName(facName).newInstance(); } catch (Exception e) { // Can't instantiate; handler still null, go on to next element. } } while ((handler == null || ! (handler instanceof ContentHandler)) && pkgPrefix.hasMoreTokens()); } // Update the hashtable with the new content handler. if (handler != null && handler instanceof ContentHandler) { handlers.put(contentType, handler); return handler; } // For efficiency on subsequent searches, put a dummy entry in the hash // table for content types that don't have a non-default ContentHandler. handlers.put(contentType, contentType); return null; }
|
1023 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1023/2a81deb9769ceea4775c22641c27bc9bc5399c18/URLConnection.java/clean/libjava/java/net/URLConnection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
3697,
1503,
10651,
1503,
12,
780,
5064,
13,
225,
288,
565,
3697,
1503,
1838,
31,
565,
368,
2631,
913,
618,
1427,
2537,
1640,
518,
487,
326,
805,
18,
565,
309,
261,
22194,
422,
446,
747,
5064,
18,
14963,
2932,
6,
3719,
1377,
327,
446,
31,
565,
368,
2164,
309,
279,
1838,
711,
2118,
3472,
364,
333,
913,
618,
18,
565,
368,
2457,
30325,
16,
309,
279,
913,
618,
711,
2118,
19242,
364,
1496,
486,
565,
368,
1392,
16,
518,
903,
506,
316,
326,
1651,
1014,
1496,
487,
326,
5064,
514,
565,
368,
3560,
434,
279,
3697,
1503,
18,
565,
309,
14015,
4176,
273,
261,
1350,
1503,
13,
4919,
18,
588,
12,
22194,
3719,
480,
446,
13,
1377,
309,
261,
4176,
1276,
3697,
1503,
13,
202,
2463,
1838,
31,
1377,
469,
202,
2463,
446,
31,
565,
368,
971,
279,
1661,
17,
1886,
3272,
711,
2118,
444,
16,
999,
518,
358,
1104,
326,
913,
618,
18,
565,
309,
261,
6848,
480,
446,
13,
1377,
1838,
273,
3272,
18,
2640,
1350,
1503,
12,
22194,
1769,
565,
368,
3858,
17,
1886,
3272,
2026,
1240,
2106,
446,
578,
279,
3272,
14487,
1404,
444,
18,
565,
368,
2672,
326,
805,
1623,
4886,
358,
1104,
279,
1838,
364,
333,
913,
618,
18,
565,
309,
261,
4176,
422,
446,
13,
1377,
288,
202,
759,
968,
326,
666,
434,
5907,
358,
866,
471,
714,
3134,
805,
1838,
202,
759,
358,
518,
16,
7563,
598,
326,
24387,
1269,
805,
487,
279,
1142,
400,
499,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
3697,
1503,
10651,
1503,
12,
780,
5064,
13,
225,
288,
565,
3697,
1503,
1838,
31,
565,
368,
2631,
913,
618,
1427,
2537,
1640,
518,
487,
326,
805,
18,
565,
309,
261,
22194,
422,
446,
747,
5064,
18,
14963,
2932,
6,
3719,
1377,
327,
446,
31,
565,
368,
2164,
309,
279,
1838,
711,
2118,
3472,
364,
333,
913,
618,
18,
565,
368,
2457,
30325,
16,
309,
279,
913,
618,
711,
2118,
19242,
364,
1496,
486,
565,
368,
1392,
16,
518,
903,
506,
316,
326,
1651,
1014,
1496,
487,
326,
5064,
514,
565,
368,
3560,
434,
279,
3697,
1503,
18,
565,
309,
14015,
4176,
273,
261,
1350,
1503,
13,
4919,
18,
588,
12,
22194,
3719,
480,
446,
13,
1377,
2
] |
|
{ return readOnly; }
|
{ return readOnly; }
|
public boolean isReadOnly() throws SQLException { return readOnly; }
|
46409 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46409/6a061da272f04e1463864065f87f1f3fd61d6162/Connection.java/buggy/src/interfaces/jdbc/postgresql/Connection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
26249,
1435,
1216,
6483,
202,
95,
202,
202,
2463,
15075,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
26249,
1435,
1216,
6483,
202,
95,
202,
202,
2463,
15075,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public int getColumnCount() { return (columnIdentifiers == null ? 0 : columnIdentifiers.size());
|
public int getColumnCount() { return columnIdentifiers == null ? 0 : columnIdentifiers.size();
|
public int getColumnCount() { return (columnIdentifiers == null ? 0 : columnIdentifiers.size()); }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/eef19a6fbc70451186d53b7669077748b8b7c136/DefaultTableModel.java/clean/core/src/classpath/javax/javax/swing/table/DefaultTableModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
6716,
1380,
1435,
288,
565,
327,
261,
2827,
12745,
422,
446,
692,
374,
294,
1057,
12745,
18,
1467,
10663,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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745,
18,
1467,
10663,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
returnval = new HardTokenIssuerData(htih.getId().intValue(), htih.getAlias(), htih.getCertSN() ,htih.getCertIssuerDN(), htih.getHardTokenIssuer());
|
returnval = new HardTokenIssuerData(htih.getId().intValue(), htih.getAlias(), htih.getAdminGroupId(), htih.getHardTokenIssuer());
|
public HardTokenIssuerData getHardTokenIssuerData(Admin admin, String alias){ debug(">getHardTokenIssuerData(alias: " + alias + ")"); HardTokenIssuerData returnval = null; HardTokenIssuerDataLocal htih = null; try{ htih = hardtokenissuerhome.findByAlias(alias); if(htih != null){ returnval = new HardTokenIssuerData(htih.getId().intValue(), htih.getAlias(), htih.getCertSN() ,htih.getCertIssuerDN(), htih.getHardTokenIssuer()); } }catch(Exception e){} debug("<getHardTokenIssuerData()"); return returnval; } // getHardTokenIssuerData
|
4109 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4109/7734ca14478c03822c95e1fe85ba81ec3f718dc9/LocalHardTokenSessionBean.java/buggy/src/java/se/anatom/ejbca/hardtoken/LocalHardTokenSessionBean.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
670,
1060,
1345,
16667,
751,
7628,
1060,
1345,
16667,
751,
12,
4446,
3981,
16,
514,
2308,
15329,
1377,
1198,
2932,
34,
588,
29601,
1345,
16667,
751,
12,
4930,
30,
315,
397,
2308,
397,
7310,
1769,
1377,
670,
1060,
1345,
16667,
751,
327,
1125,
273,
446,
31,
1377,
670,
1060,
1345,
16667,
751,
2042,
14049,
7392,
273,
446,
31,
1377,
775,
95,
3639,
14049,
7392,
273,
7877,
2316,
17567,
8712,
18,
4720,
858,
2936,
12,
4930,
1769,
3639,
309,
12,
647,
7392,
480,
446,
15329,
1850,
327,
1125,
273,
394,
670,
1060,
1345,
16667,
751,
12,
647,
7392,
18,
26321,
7675,
474,
620,
9334,
14049,
7392,
18,
588,
2936,
9334,
14049,
7392,
18,
588,
4446,
8722,
9334,
14049,
7392,
18,
588,
29601,
1345,
16667,
10663,
3639,
289,
1377,
289,
14683,
12,
503,
425,
13,
2916,
1377,
1198,
2932,
32,
588,
29601,
1345,
16667,
751,
1435,
8863,
1377,
327,
327,
1125,
31,
565,
289,
368,
7628,
1060,
1345,
16667,
751,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
670,
1060,
1345,
16667,
751,
7628,
1060,
1345,
16667,
751,
12,
4446,
3981,
16,
514,
2308,
15329,
1377,
1198,
2932,
34,
588,
29601,
1345,
16667,
751,
12,
4930,
30,
315,
397,
2308,
397,
7310,
1769,
1377,
670,
1060,
1345,
16667,
751,
327,
1125,
273,
446,
31,
1377,
670,
1060,
1345,
16667,
751,
2042,
14049,
7392,
273,
446,
31,
1377,
775,
95,
3639,
14049,
7392,
273,
7877,
2316,
17567,
8712,
18,
4720,
858,
2936,
12,
4930,
1769,
3639,
309,
12,
647,
7392,
480,
446,
15329,
1850,
327,
1125,
273,
394,
670,
1060,
1345,
16667,
751,
12,
647,
7392,
18,
26321,
7675,
474,
620,
9334,
14049,
7392,
18,
588,
2936,
9334,
14049,
7392,
18,
588,
4446,
8722,
9334,
14049,
2
] |
containAABB(points); correctCorners = false; }
|
containAABB(points); correctCorners = false; }
|
public void computeFromPoints(Vector3f[] points) { containAABB(points); // computeCorners(); correctCorners = false; }
|
19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/6aaba14bb39fd6af9aea6f599180d9ac7dbd923d/OrientedBoundingBox.java/buggy/src/com/jme/bounding/OrientedBoundingBox.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3671,
1265,
5636,
12,
5018,
23,
74,
8526,
3143,
13,
288,
202,
202,
28744,
37,
2090,
38,
12,
4139,
1769,
202,
202,
759,
3639,
3671,
6217,
9646,
5621,
202,
202,
6746,
6217,
9646,
273,
629,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3671,
1265,
5636,
12,
5018,
23,
74,
8526,
3143,
13,
288,
202,
202,
28744,
37,
2090,
38,
12,
4139,
1769,
202,
202,
759,
3639,
3671,
6217,
9646,
5621,
202,
202,
6746,
6217,
9646,
273,
629,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
dbAccess.copyFile(currentProject, currentUser.getId(), source, destination); fileSystemChanged(false);
|
if(accessWrite(currentUser, currentProject, source)){ dbAccess.copyFile(currentProject, currentUser.getId(), source, destination); fileSystemChanged(false); } else { throw new CmsException("[" + this.getClass().getName() + "] " + source, CmsException.C_NO_ACCESS); }
|
public void copyFile(CmsUser currentUser, CmsProject currentProject, String source, String destination) throws CmsException { com.opencms.file.oracleplsql.CmsDbAccess dbAccess = (com.opencms.file.oracleplsql.CmsDbAccess) m_dbAccess; // checks, if the destinateion is valid, if not it throws a exception validFilename(destination.replace('/', 'a')); try { dbAccess.copyFile(currentProject, currentUser.getId(), source, destination); // inform about the file-system-change fileSystemChanged(false); } catch (CmsException e) { throw e; }}
|
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/0d135d5bb039a764e628fe3f4da431e14a1481fc/CmsResourceBroker.java/clean/src/com/opencms/file/oracleplsql/CmsResourceBroker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
26955,
12,
4747,
1299,
13970,
16,
2149,
4109,
783,
4109,
16,
514,
1084,
16,
514,
2929,
13,
1216,
11228,
288,
202,
832,
18,
556,
14645,
18,
768,
18,
280,
16066,
412,
4669,
18,
4747,
4331,
1862,
1319,
1862,
273,
261,
832,
18,
556,
14645,
18,
768,
18,
280,
16066,
412,
4669,
18,
4747,
4331,
1862,
13,
312,
67,
1966,
1862,
31,
202,
759,
4271,
16,
309,
326,
1570,
3322,
285,
353,
923,
16,
309,
486,
518,
1216,
279,
1520,
202,
877,
5359,
12,
10590,
18,
2079,
2668,
19,
2187,
296,
69,
6134,
1769,
202,
698,
288,
202,
202,
1966,
1862,
18,
3530,
812,
12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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
26955,
12,
4747,
1299,
13970,
16,
2149,
4109,
783,
4109,
16,
514,
1084,
16,
514,
2929,
13,
1216,
11228,
288,
202,
832,
18,
556,
14645,
18,
768,
18,
280,
16066,
412,
4669,
18,
4747,
4331,
1862,
1319,
1862,
273,
261,
832,
18,
556,
14645,
18,
768,
18,
280,
16066,
412,
4669,
18,
4747,
4331,
1862,
13,
312,
67,
1966,
1862,
31,
202,
759,
4271,
16,
309,
326,
1570,
3322,
285,
353,
923,
16,
309,
486,
518,
1216,
279,
1520,
202,
877,
5359,
12,
10590,
18,
2079,
2668,
19,
2187,
296,
69,
6134,
1769,
202,
698,
288,
202,
202,
1966,
1862,
18,
3530,
812,
12,
2972,
4109,
16,
13970,
18,
26321,
9334,
1084,
16,
2929,
1769,
202,
202,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.