rem stringlengths 1 226k | add stringlengths 0 227k | context stringlengths 6 326k | meta stringlengths 143 403 | input_ids listlengths 256 256 | attention_mask listlengths 256 256 | labels listlengths 128 128 |
|---|---|---|---|---|---|---|
throws sgf.Reader.Error | throws sgf.Reader.SgfError | private static void convert(InputStream in, OutputStream out, String title, boolean usePass) throws sgf.Reader.Error { sgf.Reader reader = new sgf.Reader(new InputStreamReader(in), null); new latex.Writer(title, out, reader.getGameTree(), usePass); } | 48906 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48906/c8e6d2f7acf6ece95b8b15e0b5ea3feb5831dffb/SgfToTex.java/clean/src/sgftotex/SgfToTex.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
1765,
12,
4348,
316,
16,
8962,
596,
16,
27573,
514,
2077,
16,
1250,
999,
6433,
13,
3639,
1216,
11150,
74,
18,
2514,
18,
55,
75,
74,
668,
565,
288,
3639,
11150,
74,
18,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
918,
1765,
12,
4348,
316,
16,
8962,
596,
16,
27573,
514,
2077,
16,
1250,
999,
6433,
13,
3639,
1216,
11150,
74,
18,
2514,
18,
55,
75,
74,
668,
565,
288,
3639,
11150,
74,
18,... |
return null; | return -1; } catch (IOException e) { throw new IOError(getRuntime(), e.getMessage()); | public String read(int number) { try { if (ungotc >= 0) { String buf2 = sysread(number - 1); int c = ungotc; ungotc = -1; return c + buf2; } return sysread(number); } catch (SystemCallError e) { ... | 45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/870e1da9b41bfdbae259e1fc5f18fc8b76686998/IOHandler.java/buggy/src/org/jruby/util/IOHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
855,
12,
474,
1300,
13,
288,
3639,
775,
288,
13491,
309,
261,
318,
13212,
71,
1545,
374,
13,
288,
7734,
514,
1681,
22,
273,
2589,
896,
12,
2696,
300,
404,
1769,
7734,
509,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
855,
12,
474,
1300,
13,
288,
3639,
775,
288,
13491,
309,
261,
318,
13212,
71,
1545,
374,
13,
288,
7734,
514,
1681,
22,
273,
2589,
896,
12,
2696,
300,
404,
1769,
7734,
509,
... |
"1\tfirstEF\tpromoter\t5\t100\t1000\t+\t.\tname1=value1,value2;ID=id%3Btest;name2=value2"; | "1\tfirstEF\tpromoter\t5\t100\t1000\t+\t.\tname1=value1,value2;ID=id%3Btest;name2=value2;name3=%26ggr%3B"; | public void testParse() throws Exception { String gff = "1\tfirstEF\tpromoter\t5\t100\t1000\t+\t.\tname1=value1,value2;ID=id%3Btest;name2=value2"; GFF3Record gff3Record = new GFF3Record(gff); assertEquals("1", gff3Record.getSequenceID()); assertEquals("firstEF", gff3Record.get... | 7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/8214ed6fd0fe0a647f1b2213b29a0e84a6387d4a/GFF3RecordTest.java/buggy/flymine/model/genomic/src/test/org/flymine/dataconversion/GFF3RecordTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
3201,
1435,
1216,
1185,
288,
3639,
514,
26534,
273,
5411,
315,
21,
64,
88,
3645,
26897,
64,
6834,
520,
20005,
64,
88,
25,
64,
88,
6625,
64,
88,
18088,
64,
88,
16971,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3201,
1435,
1216,
1185,
288,
3639,
514,
26534,
273,
5411,
315,
21,
64,
88,
3645,
26897,
64,
6834,
520,
20005,
64,
88,
25,
64,
88,
6625,
64,
88,
18088,
64,
88,
16971,
... |
sbNewRepresentation.append( String.valueOf( value - 2) ); | sbNewRepresentation.append( String.valueOf( value - 2 ) ); | private String getConvertedOrthogonalSampleDataRepresentation( String sOldRepresentation ) { StringTokenizer strtok = new StringTokenizer( sOldRepresentation, "," ); //$NON-NLS-1$ NumberFormat nf = NumberFormat.getNumberInstance( ); StringBuffer sbNewRepresentation = new StringBuffer( "" ); //$NON-NLS-1$ int iVa... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/182827fe6ad4e223adc4bf4bcf44d469847b773d/StockChart.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/StockChart.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
336,
22063,
1162,
451,
28396,
8504,
751,
13742,
12,
1082,
202,
780,
272,
7617,
13742,
262,
202,
95,
202,
202,
780,
10524,
609,
17692,
273,
394,
16370,
12,
272,
7617,
13742... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
336,
22063,
1162,
451,
28396,
8504,
751,
13742,
12,
1082,
202,
780,
272,
7617,
13742,
262,
202,
95,
202,
202,
780,
10524,
609,
17692,
273,
394,
16370,
12,
272,
7617,
13742... |
if (useHash && hashField!=null && hashField.length()>0) { Value vhashfield = new Value(hashField, Value.VALUE_TYPE_INTEGER); | Value vhashfield = null; if (useHash && hashField != null && hashField.length()>0) { vhashfield = new Value(hashField, Value.VALUE_TYPE_INTEGER); | public SQLStatement getSQLStatements(TransMeta transMeta, StepMeta stepMeta, Row prev) { SQLStatement retval = new SQLStatement(stepMeta.getName(), database, null); // default: nothing to do! if (database!=null) { if (prev!=null && prev.size()>0) { if (tablename!=null && tablename.length()>0) { Datab... | 58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/e76efd6e9392ea1c11d8c3e17389017033b36e46/CombinationLookupMeta.java/buggy/kettle/src/be/ibridge/kettle/trans/step/combinationlookup/CombinationLookupMeta.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3063,
3406,
21708,
14663,
12,
1429,
2781,
906,
2781,
16,
8693,
2781,
2235,
2781,
16,
6556,
2807,
13,
202,
95,
202,
202,
3997,
3406,
5221,
273,
394,
3063,
3406,
12,
4119,
2781,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3063,
3406,
21708,
14663,
12,
1429,
2781,
906,
2781,
16,
8693,
2781,
2235,
2781,
16,
6556,
2807,
13,
202,
95,
202,
202,
3997,
3406,
5221,
273,
394,
3063,
3406,
12,
4119,
2781,
... |
case 621 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name EQUAL_EQUAL..."); } | case 622 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name EQUAL_EQUAL..."); } | protected void consumeRule(int act) { switch ( act ) { case 29 : if (DEBUG) { System.out.println("Type ::= PrimitiveType"); } //$NON-NLS-1$ consumePrimitiveType(); break; case 43 : if (DEBUG) { System.out.println("ReferenceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeReferenceType(); ... | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/c5e4a396e5f97d1050138e25a4f2f263849bffc7/Parser.java/clean/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
7865,
2175,
12,
474,
1328,
13,
288,
225,
1620,
261,
1328,
262,
288,
565,
648,
12899,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
559,
493,
33,
14488,
559,
8863,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4750,
918,
7865,
2175,
12,
474,
1328,
13,
288,
225,
1620,
261,
1328,
262,
288,
565,
648,
12899,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
559,
493,
33,
14488,
559,
8863,
... |
public Object execute(URIResolver uriResolver, Object context, VariableContextImpl variableContext) { Boolean success = (Boolean) Utils.evaluate(uriResolver, context, variableContext, getLocationData(), "boolean(" + test + ")", namespaceContext); | public Object execute(URIResolver uriResolver, Object context, VariableContextImpl variableContext, DocumentContext documentContext) { Boolean success = (Boolean) Utils.evaluate(uriResolver, context, variableContext, documentContext, getLocationData(), "boolean(" + test + ")", namespaceContext); | public Object execute(URIResolver uriResolver, Object context, VariableContextImpl variableContext) { Boolean success = (Boolean) Utils.evaluate(uriResolver, context, variableContext, getLocationData(), "boolean(" + test + ")", namespaceContext); if (success.booleanValue()) { ... | 52783 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52783/d806a39459dae4e0952f05860297e8edce1d2b2f/If.java/clean/src/java/org/orbeon/oxf/transformer/xupdate/statement/If.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1836,
12,
3098,
4301,
2003,
4301,
16,
1033,
819,
16,
7110,
1042,
2828,
2190,
1042,
13,
288,
3639,
3411,
2216,
273,
261,
5507,
13,
6091,
18,
21024,
12,
1650,
4301,
16,
819,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
1836,
12,
3098,
4301,
2003,
4301,
16,
1033,
819,
16,
7110,
1042,
2828,
2190,
1042,
13,
288,
3639,
3411,
2216,
273,
261,
5507,
13,
6091,
18,
21024,
12,
1650,
4301,
16,
819,
1... |
double d = stackDbl[i]; | double d = state.sDbl[i]; | private static boolean stack_boolean(Object[] stack, double[] stackDbl, int i) { Object x = stack[i]; if (x == Boolean.TRUE) { return true; } else if (x == Boolean.FALSE) { return false; } else if (x == DBL_MRK) { ... | 54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/199b043221701f9744538a048390c041bd370c5f/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1250,
2110,
67,
6494,
12,
921,
8526,
2110,
16,
1645,
8526,
2110,
40,
3083,
16,
29159,
509,
277,
13,
565,
288,
3639,
1033,
619,
273,
2110,
63,
77,
15533,
3639,
309,
261,
92,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
1250,
2110,
67,
6494,
12,
921,
8526,
2110,
16,
1645,
8526,
2110,
40,
3083,
16,
29159,
509,
277,
13,
565,
288,
3639,
1033,
619,
273,
2110,
63,
77,
15533,
3639,
309,
261,
92,
... |
public void ruleAction(int ruleNumber) { switch (ruleNumber) { // // Rule 1: TypeName ::= TypeName . ErrorId // case 1: { //#line 6 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name TypeName = (Name) getRhsSym(... | 1832 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1832/56cdb14fdb9589988a93eb9a76aae3872ab98272/X10Parser.java/buggy/x10.compiler/src/x10/parser/X10Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1720,
1803,
12,
474,
1720,
1854,
13,
565,
288,
3639,
1620,
261,
5345,
1854,
13,
3639,
288,
2398,
368,
5411,
368,
6781,
404,
30,
225,
21036,
493,
33,
21036,
263,
1068,
548,
54... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1720,
1803,
12,
474,
1720,
1854,
13,
565,
288,
3639,
1620,
261,
5345,
1854,
13,
3639,
288,
2398,
368,
5411,
368,
6781,
404,
30,
225,
21036,
493,
33,
21036,
263,
1068,
548,
54... | ||
_t = __t1349; | _t = __t1353; | public final void framephrase(AST _t) throws RecognitionException { AST framephrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1347 = _t; AST tmp154_AST_in = (AST)_t; match(_t,WITH); _t = _t.getFirstChild(); { _loop1377: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ACCUMULATE: ... | 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,
2623,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
2623,
9429,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2623,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
2623,
9429,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053... |
final PsiElement containerParent = currentContainer.getParent(); if (exitedStatement.equals(containerParent)) { return; | if (exitedStatement.equals(currentContainer)) { registerStatementError(statement); | public void visitBreakStatement(PsiBreakStatement statement) { super.visitBreakStatement(statement); final PsiIdentifier labelIdentifier = statement.getLabelIdentifier(); if (labelIdentifier == null) { return; } final PsiIdentifier identifier... | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/48368e6169604f49edd14f38e67fe08d9e685a63/UnnecessaryLabelOnBreakStatementInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/verbose/UnnecessaryLabelOnBreakStatementInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3757,
7634,
3406,
12,
52,
7722,
7634,
3406,
3021,
13,
288,
5411,
2240,
18,
11658,
7634,
3406,
12,
11516,
1769,
5411,
727,
453,
7722,
3004,
1433,
3004,
273,
3021,
18,
588,
2224,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
540,
1071,
918,
3757,
7634,
3406,
12,
52,
7722,
7634,
3406,
3021,
13,
288,
5411,
2240,
18,
11658,
7634,
3406,
12,
11516,
1769,
5411,
727,
453,
7722,
3004,
1433,
3004,
273,
3021,
18,
588,
2224,... |
hash.aset(key.toRubyObject(), eval((INode) iterator.next()).toRubyObject()); | hash.aset(key, eval((INode) iterator.next())); | public void visitHashNode(HashNode iVisited) { RubyHash hash = RubyHash.newHash(ruby); if (iVisited.getListNode() != null) { Iterator iterator = iVisited.getListNode().iterator(); while (iterator.hasNext()) { IRubyObject key = eval((INode) iterator.next()); ... | 45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/f235ab756f32ea9496f8f880066b46ad95ebb692/EvaluateVisitor.java/clean/org/jruby/evaluator/EvaluateVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
2310,
907,
12,
2310,
907,
277,
30019,
13,
288,
3639,
19817,
2310,
1651,
273,
19817,
2310,
18,
2704,
2310,
12,
27768,
1769,
3639,
309,
261,
77,
30019,
18,
588,
682,
907,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3757,
2310,
907,
12,
2310,
907,
277,
30019,
13,
288,
3639,
19817,
2310,
1651,
273,
19817,
2310,
18,
2704,
2310,
12,
27768,
1769,
3639,
309,
261,
77,
30019,
18,
588,
682,
907,
... |
if (m_statementName != null) { connection.execSQL("DEALLOCATE " + m_statementName); m_statementName = null; m_origSqlFragments = null; m_executeSqlFragments = null; } | public int executeUpdate(String p_sql) throws SQLException { String l_sql = replaceProcessing(p_sql); m_sqlFragments = new String[] {l_sql}; m_binds = new Object[0]; //If we have already created a server prepared statement, we need //to deallocate the existing one if (m_statementName != null) { connection.exec... | 47293 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47293/7ecb6ede284fdf9f138028cc9db042c316e2f65e/AbstractJdbc1Statement.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
17521,
12,
780,
293,
67,
4669,
13,
1216,
6483,
202,
95,
202,
202,
780,
328,
67,
4669,
273,
1453,
7798,
12,
84,
67,
4669,
1769,
202,
202,
81,
67,
4669,
27588,
273,
394,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
17521,
12,
780,
293,
67,
4669,
13,
1216,
6483,
202,
95,
202,
202,
780,
328,
67,
4669,
273,
1453,
7798,
12,
84,
67,
4669,
1769,
202,
202,
81,
67,
4669,
27588,
273,
394,
... | |
s += (( s == null ) ? "" : " & " ) + IntfConstants.VPN; | s = (( s == null ) ? "" : s + " & " ) + IntfConstants.VPN; | public String toString() { /* XXX This function is horrendous XXX */ if ( this.userRepresentation == null ) { if ( this.interfaceBitSet == BITSET_ALL ) this.userRepresentation = "any"; else { String s = null; if ( isMatch( IntfConstants.EXTERNAL_I... | 49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/33eecbe99539569cdbc5f49b8a0f2a85ca056bf5/IntfMatcher.java/clean/mvvm/main/com/metavize/mvvm/tran/firewall/IntfMatcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
1435,
565,
288,
3639,
1748,
11329,
1220,
445,
353,
29404,
20262,
1481,
11329,
1195,
3639,
309,
261,
333,
18,
1355,
13742,
422,
446,
262,
288,
5411,
309,
261,
333,
18,
583... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
1762,
1435,
565,
288,
3639,
1748,
11329,
1220,
445,
353,
29404,
20262,
1481,
11329,
1195,
3639,
309,
261,
333,
18,
1355,
13742,
422,
446,
262,
288,
5411,
309,
261,
333,
18,
583... |
public void update(Delta d) { deltas.add(d); | public void update(MatcherEvent event) { deltas.add(event.getDelta()); | public void update(Delta d) { deltas.add(d); } | 964 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/964/bf6794f2fe20539c6ad99b318920770e903ed128/Matcher.java/clean/source/org/metastatic/rsync/Matcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
1089,
12,
9242,
302,
13,
288,
540,
20113,
18,
1289,
12,
72,
1769,
1377,
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,
... | [
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
1089,
12,
9242,
302,
13,
288,
540,
20113,
18,
1289,
12,
72,
1769,
1377,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
else return returnArray; | return returnArray; | public BioMatter[] takeBioMatterMass(float pMass) { if (pMass <= 0) return new BioMatter[0]; List<BioMatter> itemsToReturn = new Vector<BioMatter>(); List<BioMatter> itemsToRemove = new Vector<BioMatter>(); float collectedMass = 0f; for (Iterator iter = currentBiomassIt... | 5015 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5015/6925431c436dac1dff1860acb5e82373e91f018d/BiomassStoreImpl.java/buggy/BIOSIM/src/com/traclabs/biosim/server/simulation/food/BiomassStoreImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
21209,
49,
9293,
8526,
4862,
38,
1594,
49,
9293,
18060,
12,
5659,
293,
18060,
13,
288,
3639,
309,
261,
84,
18060,
1648,
374,
13,
5411,
327,
394,
21209,
49,
9293,
63,
20,
15533,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21209,
49,
9293,
8526,
4862,
38,
1594,
49,
9293,
18060,
12,
5659,
293,
18060,
13,
288,
3639,
309,
261,
84,
18060,
1648,
374,
13,
5411,
327,
394,
21209,
49,
9293,
63,
20,
15533,
36... |
pushShouldStripWhitespace(getShouldStripWhitespace()); | m_shouldStripWhitespaceStack.push(m_shouldStripWS); | public void startElement (String ns, String localName, String name, Attributes atts) throws SAXException { synchronized (getSynchObject()) { pushShouldStripWhitespace(getShouldStripWhitespace()); m_sourceTreeHandler.startElement(ns, localName, name, atts); } notify... | 2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/0e2298c0c460e281c6e54e92ac95421ec5eca2e4/SourceTreeHandler.java/buggy/src/org/apache/xalan/stree/SourceTreeHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
13591,
261,
780,
3153,
16,
514,
11927,
16,
18701,
514,
508,
16,
9055,
15687,
13,
565,
1216,
14366,
225,
288,
565,
3852,
261,
588,
55,
2515,
921,
10756,
565,
288,
1377,
312,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13591,
261,
780,
3153,
16,
514,
11927,
16,
18701,
514,
508,
16,
9055,
15687,
13,
565,
1216,
14366,
225,
288,
565,
3852,
261,
588,
55,
2515,
921,
10756,
565,
288,
1377,
312,
6... |
ze.setPlatform((versionMadeBy.getValue() >> 8) & 0x0F); | ze.setPlatform( ( versionMadeBy.getValue() >> 8 ) & 0x0F ); | private void populateFromCentralDirectory() throws IOException { positionAtCentralDirectory(); byte[] cfh = new byte[CFH_LEN]; byte[] signatureBytes = new byte[4]; archive.readFully(signatureBytes); ZipLong sig = new ZipLong(signatureBytes); while (sig.equals(ZipOutp... | 55907 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55907/4da7a225ba9c01ca94805923e06e3fb2d46bf201/ZipFile.java/buggy/plexus-archiver/src/main/java/org/codehaus/plexus/archiver/zip/ZipFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
6490,
1265,
39,
12839,
2853,
1435,
3639,
1216,
1860,
288,
3639,
1754,
861,
39,
12839,
2853,
5621,
3639,
1160,
8526,
6080,
76,
273,
394,
1160,
63,
8955,
44,
67,
13017,
15533,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6490,
1265,
39,
12839,
2853,
1435,
3639,
1216,
1860,
288,
3639,
1754,
861,
39,
12839,
2853,
5621,
3639,
1160,
8526,
6080,
76,
273,
394,
1160,
63,
8955,
44,
67,
13017,
15533,
36... |
static DbIpInterfaceEntry get(Connection db, int nid, InetAddress addr, int ifIndex) | static DbIpInterfaceEntry get(int nid, InetAddress addr) | static DbIpInterfaceEntry get(Connection db, int nid, InetAddress addr, int ifIndex) throws SQLException { DbIpInterfaceEntry entry = new DbIpInterfaceEntry(nid, addr, ifIndex); if(!entry.load(db)) entry = null; return entry; } | 47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/9da3d5c7363e7cc3dfe19429df2098a1822e3320/DbIpInterfaceEntry.java/buggy/src/services/org/opennms/netmgt/capsd/DbIpInterfaceEntry.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
8408,
5273,
1358,
1622,
336,
12,
1952,
1319,
16,
509,
19416,
16,
14218,
3091,
16,
509,
309,
1016,
13,
202,
202,
15069,
6483,
202,
95,
202,
202,
4331,
5273,
1358,
1622,
1241,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3845,
8408,
5273,
1358,
1622,
336,
12,
1952,
1319,
16,
509,
19416,
16,
14218,
3091,
16,
509,
309,
1016,
13,
202,
202,
15069,
6483,
202,
95,
202,
202,
4331,
5273,
1358,
1622,
1241,
... |
if ( inputParameter.getDisplayName( ) != null ) | if ( !StringUtil.isBlank( inputParameter.getPromptText( ) ) ) | protected boolean initDialog( ) { Assert.isNotNull( inputParameter ); nameEditor.setText( inputParameter.getName( ) ); if ( inputParameter.getDisplayName( ) != null ) { promptTextEditor.setText( inputParameter.getDisplayName( ) ); } helpTextEditor.setText( UIUtil.convertToGUIString( inputParameter.getHelpText(... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/6fb13bbf69174d2503824b9dbe1439147b493bfa/ParameterDialog.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1250,
1208,
6353,
12,
262,
202,
95,
202,
202,
8213,
18,
291,
5962,
12,
810,
1662,
11272,
202,
202,
529,
6946,
18,
542,
1528,
12,
810,
1662,
18,
17994,
12,
262,
11272,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1208,
6353,
12,
262,
202,
95,
202,
202,
8213,
18,
291,
5962,
12,
810,
1662,
11272,
202,
202,
529,
6946,
18,
542,
1528,
12,
810,
1662,
18,
17994,
12,
262,
11272,
202,
... |
index = indexFromString(s); if (index != NO_INDEX) | long indexTest = indexFromString(s); if (indexTest >= 0) { index = (int)indexTest; | public static Object setElem(Object obj, Object id, Object value, Scriptable scope) { int index; String s; if (id instanceof Number) { double d = ((Number) id).doubleValue(); index = (int) d; s = ((double) index) == d ? null : ... | 13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/5e0b2ebaed49fc9dc92fb0127fd9256424173c6e/ScriptRuntime.java/clean/js/rhino/src/org/mozilla/javascript/ScriptRuntime.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
444,
7498,
12,
921,
1081,
16,
1033,
612,
16,
1033,
460,
16,
4766,
22780,
2146,
13,
565,
288,
3639,
509,
770,
31,
3639,
514,
272,
31,
3639,
309,
261,
350,
1276,
3588,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
444,
7498,
12,
921,
1081,
16,
1033,
612,
16,
1033,
460,
16,
4766,
22780,
2146,
13,
565,
288,
3639,
509,
770,
31,
3639,
514,
272,
31,
3639,
309,
261,
350,
1276,
3588,
... |
public boolean saveFile(FileSaveSelector com) throws IOException { FileSaveSelector realCommand; final File file; if (!isModifiedSinceSave() && !isUntitled()) { // Don't need to save. // Return true, since the save wasn't "canceled" return true; } try { if (isUn... | 11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/c59eaaa7c161cda0abd771e7c4bc4857c1a0ee82/DefaultGlobalModel.java/buggy/drjava/src/edu/rice/cs/drjava/model/DefaultGlobalModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1923,
812,
12,
812,
4755,
4320,
532,
13,
1216,
1860,
288,
1377,
1387,
4755,
4320,
2863,
2189,
31,
1377,
727,
1387,
585,
31,
1377,
309,
16051,
291,
29943,
4755,
1435,
597,
401,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
1923,
812,
12,
812,
4755,
4320,
532,
13,
1216,
1860,
288,
1377,
1387,
4755,
4320,
2863,
2189,
31,
1377,
727,
1387,
585,
31,
1377,
309,
16051,
291,
29943,
4755,
1435,
597,
401,... | ||
public String getValue() { return value; } | public Object getValue() { return value; } | public String getValue() { return value; } | 54578 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54578/46cb53a5c275e1621f93eedcb952b2ad923f49bd/AttributeTypeAndValue.java/buggy/ldap/src/main/java/org/apache/directory/shared/ldap/name/AttributeTypeAndValue.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2366,
1435,
565,
288,
3639,
327,
460,
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... | [
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2366,
1435,
565,
288,
3639,
327,
460,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
case 276: break; | case 278: break; | public Symbol next_token() throws java.io.IOException { int yyFlexInput; int yyFlexAction; int [] yyFlexTransL = YY_TRANS; int [] yyFlexRowMapL = YY_ROWMAP; int [] yyFlexAttrL = YY_ATTRIBUTE; int yyFlexPushbackPos_l = yyFlexPushbackPos = -1; boolean yy_was_pushback; while (true) { // cach... | 45285 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45285/9b61944465740d14ca2a4b7d70253b3cd65d7570/LexScan.java/clean/jflex/src/JFlex/LexScan.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
8565,
1024,
67,
2316,
1435,
1216,
2252,
18,
1594,
18,
14106,
288,
565,
509,
9016,
19667,
1210,
31,
565,
509,
9016,
19667,
1803,
31,
565,
509,
5378,
9016,
19667,
1429,
48,
273,
1624,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8565,
1024,
67,
2316,
1435,
1216,
2252,
18,
1594,
18,
14106,
288,
565,
509,
9016,
19667,
1210,
31,
565,
509,
9016,
19667,
1803,
31,
565,
509,
5378,
9016,
19667,
1429,
48,
273,
1624,... |
int iBP = borderProps.getPadding(BorderAndPadding.START, | int iBP = borderProps.getPadding(CommonBorderAndPadding.START, | private MinOptMax getExtraIPD(boolean bNotFirst, boolean bNotLast) { int iBP = borderProps.getPadding(BorderAndPadding.START, bNotFirst); iBP += borderProps.getBorderWidth(BorderAndPadding.START, bNotFirst); iB... | 5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/f9bee020b38c9c2a4f4b989ee875b677c56780ac/InlineStackingLayoutManager.java/buggy/src/java/org/apache/fop/layoutmgr/InlineStackingLayoutManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
5444,
6179,
2747,
24973,
2579,
40,
12,
6494,
324,
1248,
3759,
16,
1250,
324,
1248,
3024,
13,
288,
3639,
509,
277,
30573,
273,
5795,
5047,
18,
588,
9485,
12,
6517,
8107,
1876,
9485,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5444,
6179,
2747,
24973,
2579,
40,
12,
6494,
324,
1248,
3759,
16,
1250,
324,
1248,
3024,
13,
288,
3639,
509,
277,
30573,
273,
5795,
5047,
18,
588,
9485,
12,
6517,
8107,
1876,
9485,
... |
out.print(in); if(StringUtils.isBlank(var)) { out.println(".each {"); } else { out.print(".each { "); out.print(var.substring(1,var.length() -1)); out.println(" ->"); } | doEachMethod(in); | public void doStartTag() { String in = (String) attributes.get(ATTRIBUTE_IN); String var = (String) attributes.get(ATTRIBUTE_VAR); if(StringUtils.isBlank(in)) throw new GrailsTagException("Tag ["+TAG_NAME+"] missing required attribute ["+ATTRIBUTE_IN+"]"); out.print(in); ... | 28089 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28089/5d98dcb14a70c2b165105d6fe046441c2cf6fbb8/GroovyEachTag.java/buggy/src/web/org/codehaus/groovy/grails/web/taglib/GroovyEachTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
30512,
1435,
288,
3639,
514,
316,
273,
261,
780,
13,
1677,
18,
588,
12,
11616,
67,
706,
1769,
3639,
514,
569,
273,
261,
780,
13,
1677,
18,
588,
12,
11616,
67,
7716,
17... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
30512,
1435,
288,
3639,
514,
316,
273,
261,
780,
13,
1677,
18,
588,
12,
11616,
67,
706,
1769,
3639,
514,
569,
273,
261,
780,
13,
1677,
18,
588,
12,
11616,
67,
7716,
17... |
int lead = (len - strLen) / 2; int pos = 0; while (pos < len) { if (pos == lead) { sbuf.append(getValue()); pos += strLen; } else { sbuf.append(' '); pos++; } } | int lead = (len - strLen) / 2; for (int i = 0; i < lead; i++) { sbuf.append(pad.charAt(i % padLen)); } sbuf.append(getValue()); int remaining = len - (lead + strLen); for (int i = 0; i < remaining; i++) { sbuf.append(pad.charAt(i % padLen)); } | public IRubyObject center(IRubyObject arg) { int len = RubyNumeric.fix2int(arg); int strLen = getValue().length(); if (len <= strLen) { return dup(); } StringBuffer sbuf = new StringBuffer(len); int lead = (len - strLen) / 2; int pos = 0; while (pos < len) { if (pos == lead) { sbuf.append(getValue()); ... | 47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/9f2efc63a858fa0507245b207025eab027840a04/RubyString.java/buggy/src/org/jruby/RubyString.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
15908,
10340,
921,
4617,
12,
7937,
10340,
921,
1501,
13,
288,
202,
202,
474,
562,
273,
19817,
9902,
18,
904,
22,
474,
12,
3175,
1769,
202,
202,
474,
609,
2891,
273,
2366,
7675... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15908,
10340,
921,
4617,
12,
7937,
10340,
921,
1501,
13,
288,
202,
202,
474,
562,
273,
19817,
9902,
18,
904,
22,
474,
12,
3175,
1769,
202,
202,
474,
609,
2891,
273,
2366,
7675... |
if (userHasAdminRights(imcref, metaId, user)) { | DocumentMapper documentMapper = imcref.getDocumentMapper(); DocumentDomainObject document = documentMapper.getDocument(metaId); if (user.canEdit( document )) { | public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { // Lets get all parameters for this servlet Properties params = this.getParameters(req); log("tyest"); UserDomainObject user = Utility.getLoggedOnUser(req); if (is... | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/962b9fbccc20a9dc1f7559965c2b0b91e0712a46/ConfHelp.java/clean/server/src/com/imcode/imcms/servlet/conference/ConfHelp.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
3349,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
5411,
1216,
16517,
16,
1860,
288,
3639,
368,
511,
2413,
336,
777,
1472,
364,
333,
8100,
3639,
6183,
859,
273,
333,
18,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
3349,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
5411,
1216,
16517,
16,
1860,
288,
3639,
368,
511,
2413,
336,
777,
1472,
364,
333,
8100,
3639,
6183,
859,
273,
333,
18,
5... |
job.setPriority(Job.DECORATE); | job.setPriority(Job.DECORATE-10); | private void runJob(final IMylarContextNode node, final IJavaElement javaElement, final int degreeOfSeparation, final String kind) { // get the fully qualified name and if it is null, don't search String fullyQualifiedName = getFullyQualifiedName(javaElement); if(fullyQualifiedName... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/8fce6b320b2bb9efd57721ef45d10c915cfe8e38/XmlReferencesProvider.java/buggy/org.eclipse.mylyn.resources.ui/src/org/eclipse/mylyn/xml/XmlReferencesProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1086,
2278,
12,
6385,
6246,
93,
7901,
1042,
907,
756,
16,
727,
467,
5852,
1046,
2252,
1046,
16,
727,
509,
10782,
951,
5097,
4302,
16,
727,
514,
3846,
13,
288,
7734,
368,
336,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1086,
2278,
12,
6385,
6246,
93,
7901,
1042,
907,
756,
16,
727,
467,
5852,
1046,
2252,
1046,
16,
727,
509,
10782,
951,
5097,
4302,
16,
727,
514,
3846,
13,
288,
7734,
368,
336,... |
file.generateDelta(editor); editor.closeFile(null); | file.generateDelta(root.getPath(), editor); editor.closeFile(root.getPath(), null); | private void doCommit(ISVNEntry root, ISVNEditor editor) throws SVNException { if (!isModified(root)) { return; } long revision = -1; String revStr = root.getPropertyValue("svn:entry:committed-rev"); // previous revision! if (revStr != null) { revision... | 5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/6c2a9b21ad94c8ea1ae6d43c84b3c1225fe4e460/TestSVNFSEntries.java/clean/javasvn-test/src/org/tmatesoft/svn/core/test/TestSVNFSEntries.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
741,
5580,
12,
5127,
58,
50,
1622,
1365,
16,
4437,
58,
50,
6946,
4858,
13,
1216,
29537,
50,
503,
288,
3639,
309,
16051,
291,
4575,
12,
3085,
3719,
288,
5411,
327,
31,
3639,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
5580,
12,
5127,
58,
50,
1622,
1365,
16,
4437,
58,
50,
6946,
4858,
13,
1216,
29537,
50,
503,
288,
3639,
309,
16051,
291,
4575,
12,
3085,
3719,
288,
5411,
327,
31,
3639,
... |
return "Node To Node Text Message "+fileNumber+" from "+sourcePeerNode.getName()+" ("+sourcePeerNode.getPeer()+")"; | return "Node To Node Text Message "+fileNumber+" from "+sourcePeerNode.getName()+" ("+sourcePeerNode.getPeer()+ ')'; | public String getTitle() { return "Node To Node Text Message "+fileNumber+" from "+sourcePeerNode.getName()+" ("+sourcePeerNode.getPeer()+")"; } | 46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/62fd59041864b4ed1f43adc676de6bfb5ea977f3/N2NTMUserAlert.java/clean/src/freenet/node/useralerts/N2NTMUserAlert.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
10786,
1435,
288,
202,
202,
2463,
315,
907,
2974,
2029,
3867,
2350,
13773,
768,
1854,
9078,
628,
13773,
3168,
6813,
907,
18,
17994,
1435,
9078,
7566,
15,
3168,
6813,
907,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
482,
514,
10786,
1435,
288,
202,
202,
2463,
315,
907,
2974,
2029,
3867,
2350,
13773,
768,
1854,
9078,
628,
13773,
3168,
6813,
907,
18,
17994,
1435,
9078,
7566,
15,
3168,
6813,
907,
1... |
if(sorter == null){ | if(comparator == null){ | private void createAddedElements(Widget widget, Object[] elements) { if(elements.length == 1){ if (equals(elements[0], widget.getData())) { return; } } ViewerSorter sorter = getSorter (); TreePath parentPath = internalGetSorterParentPath(widget, sorter); Item[] items = getChildren(widget); //As the... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/d65c8bc5c0d3aafead5b1e576e57c11cb279f2ca/AbstractTreeViewer.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
752,
8602,
3471,
12,
4609,
3604,
16,
1033,
8526,
2186,
13,
288,
202,
202,
430,
12,
6274,
18,
2469,
422,
404,
15329,
1082,
202,
430,
261,
14963,
12,
6274,
63,
20,
6487,
3604,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
752,
8602,
3471,
12,
4609,
3604,
16,
1033,
8526,
2186,
13,
288,
202,
202,
430,
12,
6274,
18,
2469,
422,
404,
15329,
1082,
202,
430,
261,
14963,
12,
6274,
63,
20,
6487,
3604,
... |
public boolean isSet(org.quickfix.field.SecurityAltID field) | public boolean isSet(quickfix.field.SecurityAltID field) | public boolean isSet(org.quickfix.field.SecurityAltID field) { return isSetField(field); } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/CollateralAssignment.java/buggy/src/java/src/quickfix/fix44/CollateralAssignment.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
13532,
12,
19525,
904,
18,
1518,
18,
4368,
10655,
734,
652,
13,
225,
288,
327,
13532,
974,
12,
1518,
1769,
289,
2,
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,
0,
0,
0,
0,
0,
0,
0,
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,
1250,
13532,
12,
19525,
904,
18,
1518,
18,
4368,
10655,
734,
652,
13,
225,
288,
327,
13532,
974,
12,
1518,
1769,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
System.out.println("queryString => " + request.getQueryString()); | public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException { this.request=request; this.response=response; String servletPath=request.getServletPath(); String contextPath=getServletContext().getRealPath(servletPath);... | 5148 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5148/a4016620bfeb8ffccb8f66c90c555dc4a8c4b601/servlet.java/clean/sapi/servlet/servlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1156,
12,
2940,
18572,
590,
16,
13491,
12446,
766,
13,
3639,
1216,
16517,
565,
288,
4202,
333,
18,
2293,
33,
2293,
31,
4202,
333,
18,
2740,
33,
2740,
31,
4202,
514,
8100,
743... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1156,
12,
2940,
18572,
590,
16,
13491,
12446,
766,
13,
3639,
1216,
16517,
565,
288,
4202,
333,
18,
2293,
33,
2293,
31,
4202,
333,
18,
2740,
33,
2740,
31,
4202,
514,
8100,
743... | |
repository.setProperty(TaskRepository.AUTH_HTTP_USERNAME, getHttpAuthUserId()); repository.setProperty(TaskRepository.AUTH_HTTP_PASSWORD, getHttpAuthPassword()); | if(getHttpAuthUserId().length()>0 && getHttpAuthPassword().length()>0) { repository.setHttpAuthenticationCredentials(getHttpAuthUserId(), getHttpAuthPassword()); } | public TaskRepository createTaskRepository() { // TaskRepository repository = new // TaskRepository(connector.getRepositoryType(), getServerUrl(), // getVersion(), // getCharacterEncoding(), getTimeZoneId()); TaskRepository repository = new TaskRepository(connector.getRepositoryType(), getServerUrl(), getVersion(... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/2c2d8f403c6bb88a99265ea4ef11c8cc41ac0c00/AbstractRepositorySettingsPage.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractRepositorySettingsPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3837,
3305,
752,
2174,
3305,
1435,
288,
202,
202,
759,
3837,
3305,
3352,
273,
394,
202,
202,
759,
3837,
3305,
12,
23159,
18,
588,
3305,
559,
9334,
11543,
1489,
9334,
202,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3837,
3305,
752,
2174,
3305,
1435,
288,
202,
202,
759,
3837,
3305,
3352,
273,
394,
202,
202,
759,
3837,
3305,
12,
23159,
18,
588,
3305,
559,
9334,
11543,
1489,
9334,
202,
202,
... |
props.put(Context.OBJECT_FACTORIES, DriverConnectionPoolDataSource.class.getName()); | props.put(Context.OBJECT_FACTORIES, ClassFactory.get(ClassFactory.DriverConnectionPoolDataSource).getName()); | public void testJNDI() throws Exception { String JNDI_FACTORY = "com.sun.jndi.fscontext.RefFSContextFactory"; Properties props = new Properties(); props.put(Context.INITIAL_CONTEXT_FACTORY, JNDI_FACTORY); props.put(Context.OBJECT_FACTORIES, DriverConnectionPoolDataSource.class.getName())... | 6960 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6960/400d6261413dfc9cd6c3c5e0013eac1d364a3c5d/TestDriverConnectionPoolDataSource.java/clean/src/test/org/firebirdsql/pool/TestDriverConnectionPoolDataSource.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
46,
24513,
1435,
1216,
1185,
288,
3639,
514,
804,
24513,
67,
16193,
273,
315,
832,
18,
16924,
18,
78,
16564,
18,
2556,
2472,
18,
1957,
4931,
29871,
14432,
3639,
6183,
345... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
46,
24513,
1435,
1216,
1185,
288,
3639,
514,
804,
24513,
67,
16193,
273,
315,
832,
18,
16924,
18,
78,
16564,
18,
2556,
2472,
18,
1957,
4931,
29871,
14432,
3639,
6183,
345... |
throw new NotYetImplementedException(); | if(null == buf){ throw new NullPointerException(); } if(offset < 0 || offset + SHORT_LENGTH > buf.length){ throw new ArrayIndexOutOfBoundsException(); } short result = 0; for (int i = offset; i < offset + SHORT_LENGTH; i++) { result = (short)((result << 8) | (buf[i] & 0xff)); } return result; | protected static short getShort(byte[] buf, int offset) { throw new NotYetImplementedException(); } | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/24b5bbbe874aa07b9a181edaa7c7b4cc712726b7/BreakIterator.java/clean/modules/text/src/main/java/java/text/BreakIterator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
760,
3025,
13157,
12,
7229,
8526,
1681,
16,
509,
1384,
13,
288,
202,
202,
12849,
394,
2288,
61,
278,
8644,
503,
5621,
202,
97,
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,
0,
0,
0,
0,
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,
760,
3025,
13157,
12,
7229,
8526,
1681,
16,
509,
1384,
13,
288,
202,
202,
12849,
394,
2288,
61,
278,
8644,
503,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
writeWarning(getClass()+": fillAndDraw(Shape, Color) not implemented."); | writeWarning(getClass() + ": fillAndDraw(Shape, Color) not implemented."); | public void fillAndDraw(Shape shape, Color fillColor) { writeWarning(getClass()+": fillAndDraw(Shape, Color) not implemented."); // Write out the fill with fillColor and stroke of the shape in getColor(). } | 57341 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57341/f1a2e8bd347e294e5391728379b76d4500a7093d/DummyGraphics2D.java/clean/freehep-graphicsio/src/main/java/org/freehep/graphicsio/DummyGraphics2D.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3636,
1876,
6493,
12,
8500,
2179,
16,
5563,
3636,
2957,
13,
288,
3639,
1045,
6210,
12,
588,
797,
1435,
397,
6398,
3636,
1876,
6493,
12,
8500,
16,
5563,
13,
486,
8249,
1199,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3636,
1876,
6493,
12,
8500,
2179,
16,
5563,
3636,
2957,
13,
288,
3639,
1045,
6210,
12,
588,
797,
1435,
397,
6398,
3636,
1876,
6493,
12,
8500,
16,
5563,
13,
486,
8249,
1199,
1... |
ModelAndView mv = helper.handleURI(uri,request,response); | ModelAndView mv = helper.handleURI(uri,request,new GrailsHttpServletResponse(response)); | public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception { // Step 1: determine the correct URI of the request. String uri = this.urlPathHelper.getPathWithinApplication(request); if(LOG.isDebugEnabled()) { ... | 52280 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52280/3afaa6d2bd300ddf0fa9f8f8cbff50e1f3676464/SimpleGrailsController.java/buggy/src/web/org/codehaus/groovy/grails/web/servlet/mvc/SimpleGrailsController.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3164,
1876,
1767,
15713,
12,
2940,
18572,
590,
16,
4766,
1377,
12446,
766,
13,
1216,
1185,
288,
3639,
368,
8693,
404,
30,
4199,
326,
3434,
3699,
434,
326,
590,
18,
3639,
514,
2003,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3164,
1876,
1767,
15713,
12,
2940,
18572,
590,
16,
4766,
1377,
12446,
766,
13,
1216,
1185,
288,
3639,
368,
8693,
404,
30,
4199,
326,
3434,
3699,
434,
326,
590,
18,
3639,
514,
2003,
... |
return jjMoveStringLiteralDfa1_2(0x4000000L); | return jjMoveStringLiteralDfa1_2(0x20000000L); | private final int jjMoveStringLiteralDfa0_2(){ switch(curChar) { case 35: jjmatchedKind = 15; return jjMoveStringLiteralDfa1_2(0x5000L); case 40: return jjStopAtPos(0, 5); case 102: return jjMoveStringLiteralDfa1_2(0x4000000L); case 116: return jjMoveStrin... | 55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/e128e4125429834f73621c8aa67036ca877e731e/ParserTokenManager.java/clean/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
28565,
40,
507,
20,
67,
22,
1435,
95,
282,
1620,
12,
1397,
2156,
13,
282,
288,
1377,
648,
13191,
30,
540,
10684,
11073,
5677,
273,
4711,
31,
540,
327,
10684,
760... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3238,
727,
509,
10684,
7607,
28565,
40,
507,
20,
67,
22,
1435,
95,
282,
1620,
12,
1397,
2156,
13,
282,
288,
1377,
648,
13191,
30,
540,
10684,
11073,
5677,
273,
4711,
31,
540,
327,
10684,
760... |
e.printStackTrace(); | throw new RuntimeException("Interrupted while trying to add connection to pool"); | public void put(ManagerConnection connection) { try { connections.put(connection); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } } | 25582 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25582/bc775586138e4f88e52b7ab5068feb494e4f5644/ManagerConnectionPool.java/buggy/src/main/java/org/asteriskjava/live/internal/ManagerConnectionPool.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1378,
12,
1318,
1952,
1459,
13,
565,
288,
3639,
775,
3639,
288,
5411,
5921,
18,
458,
12,
4071,
1769,
3639,
289,
3639,
1044,
261,
24485,
503,
425,
13,
3639,
288,
5411,
368,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1378,
12,
1318,
1952,
1459,
13,
565,
288,
3639,
775,
3639,
288,
5411,
5921,
18,
458,
12,
4071,
1769,
3639,
289,
3639,
1044,
261,
24485,
503,
425,
13,
3639,
288,
5411,
368,
26... |
if(props.size() > 0) { System.err.println("NAKACK.setProperties(): these properties are not recognized:"); props.list(System.out); return false; } return true; | if(props.size() > 0) { System.err.println("NAKACK.setProperties(): these properties are not recognized:"); props.list(System.out); return false; } return true; | public boolean setProperties(Properties props) { String str; long[] tmp; str=props.getProperty("retransmit_timeout"); if(str != null) { tmp=Util.parseCommaDelimitedLongs(str); props.remove("retransmit_timeout"); if(tmp != null && tmp.length > 0) retransmit_timeout=tmp; } str=props.getProperty("... | 48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/3a7a5d6ef9a8f574da3e45b696950d0b4bb12acc/NAKACK.java/clean/src/org/jgroups/protocols/NAKACK.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
23126,
12,
2297,
3458,
13,
288,
202,
780,
377,
609,
31,
202,
5748,
8526,
377,
1853,
31,
202,
701,
33,
9693,
18,
588,
1396,
2932,
266,
2338,
1938,
67,
4538,
8863,
202,
430,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
23126,
12,
2297,
3458,
13,
288,
202,
780,
377,
609,
31,
202,
5748,
8526,
377,
1853,
31,
202,
701,
33,
9693,
18,
588,
1396,
2932,
266,
2338,
1938,
67,
4538,
8863,
202,
430,
... |
out.append("-"); | out.append('-'); | public String getPreferredFilename() { boolean logMINOR = Logger.shouldLog(Logger.MINOR, this); Logger.minor(this, "Getting preferred filename for "+this); Vector names = new Vector(); if(keyType.equals("KSK") || keyType.equals("SSK")) { if(logMINOR) Logger.minor(this, "Adding docName: "+docName); names.add(do... | 49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/62fd59041864b4ed1f43adc676de6bfb5ea977f3/FreenetURI.java/clean/src/freenet/keys/FreenetURI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
12822,
4193,
5359,
1435,
288,
202,
202,
6494,
613,
6236,
916,
273,
4242,
18,
13139,
1343,
12,
3328,
18,
6236,
916,
16,
333,
1769,
202,
202,
3328,
18,
17364,
12,
2211,
16,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
12822,
4193,
5359,
1435,
288,
202,
202,
6494,
613,
6236,
916,
273,
4242,
18,
13139,
1343,
12,
3328,
18,
6236,
916,
16,
333,
1769,
202,
202,
3328,
18,
17364,
12,
2211,
16,... |
DebugLog.log("validating: " + name + "=" + value); | private static String validatePropertyValue(String name, String value, boolean force) throws SVNException { DebugLog.log("validating: " + name + "=" + value); if (value == null) { return value; } if (!force && SVNProperty.EOL_STYLE.equals(name)) { value =... | 5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/48b673a4eeae723c90a2ec8a9e48e886212b2109/SVNWCClient.java/buggy/javasvn/src/org/tmatesoft/svn/core/wc/SVNWCClient.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
514,
1954,
16107,
12,
780,
508,
16,
514,
460,
16,
5411,
1250,
2944,
13,
1216,
29537,
50,
503,
288,
9079,
309,
261,
1132,
422,
446,
13,
288,
5411,
327,
460,
31,
3639,
289,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
514,
1954,
16107,
12,
780,
508,
16,
514,
460,
16,
5411,
1250,
2944,
13,
1216,
29537,
50,
503,
288,
9079,
309,
261,
1132,
422,
446,
13,
288,
5411,
327,
460,
31,
3639,
289,
3... | |
Object selectedObject = ((IStructuredSelection) TaskListView.getDefault().getViewer().getSelection()) .getFirstElement(); if (selectedObject instanceof ITask) { contentProvider.addTask((ITask) selectedObject); updateEstimatedHours(contentProvider); tableViewer.refresh(); return true; } else if (selectedObject instanceo... | IStructuredSelection selection = ((IStructuredSelection) TaskListView .getDefault().getViewer().getSelection()); for (Iterator iter = selection.iterator(); iter.hasNext();) { Object selectedObject = iter.next(); if (selectedObject instanceof ITask) { contentProvider.addTask((ITask) selectedObject); updateEstimatedHou... | private void initDrop(final TableViewer tableViewer, final TaskPlanContentProvider contentProvider) { Transfer[] types = new Transfer[] { TextTransfer.getInstance() }; tableViewer.addDropSupport(DND.DROP_MOVE, types, new ViewerDropAdapter(tableViewer) { { setFeedbackEnabled(false); } @Override public bool... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/ae82c4d267b795c4d27ac0f1071aea51b6f02374/TaskPlannerEditorPart.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/internal/planner/ui/TaskPlannerEditorPart.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1208,
7544,
12,
6385,
3555,
18415,
1014,
18415,
16,
727,
3837,
5365,
1350,
2249,
913,
2249,
13,
288,
202,
202,
5912,
8526,
1953,
273,
394,
12279,
8526,
288,
3867,
5912,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1208,
7544,
12,
6385,
3555,
18415,
1014,
18415,
16,
727,
3837,
5365,
1350,
2249,
913,
2249,
13,
288,
202,
202,
5912,
8526,
1953,
273,
394,
12279,
8526,
288,
3867,
5912,
18... |
if (!viewer.getTable().isDisposed()) viewer.refresh(true); } | if (!viewer.getTable().isDisposed()) viewer.refresh(true); } | public void run() { // refresh all labels since text commands change dynamically if (!viewer.getTable().isDisposed()) viewer.refresh(true); } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/50b0f4b798ee84ccffa054a9faa539415a2fbef7/UndoHistoryView.java/clean/examples/org.eclipse.ui.examples.undo/Eclipse UI Examples Undo/org/eclipse/ui/examples/undo/views/UndoHistoryView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
15106,
202,
482,
918,
1086,
1435,
288,
9506,
1171,
202,
759,
4460,
777,
3249,
3241,
977,
4364,
2549,
18373,
9506,
1171,
202,
430,
16051,
25256,
18,
588,
1388,
7675,
291,
1669,
7423,
10756,
9506,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
15106,
202,
482,
918,
1086,
1435,
288,
9506,
1171,
202,
759,
4460,
777,
3249,
3241,
977,
4364,
2549,
18373,
9506,
1171,
202,
430,
16051,
25256,
18,
588,
1388,
7675,
291,
1669,
7423,
10756,
9506,... |
if (Util.equals(activePart, variable)) { | if (equals(activePart, variable)) { | public final EvaluationResult evaluate(final IEvaluationContext context) { final Object variable = context.getVariable(ISources.ACTIVE_PART_NAME); if (Util.equals(activePart, variable)) { return EvaluationResult.TRUE; } return EvaluationResult.FALSE; } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/ba8772da3d063410cc9112f7f53da28a447f2704/ActivePartExpression.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/expressions/ActivePartExpression.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
17340,
1253,
5956,
12,
6385,
467,
13468,
1042,
819,
13,
288,
202,
202,
6385,
1033,
2190,
273,
819,
18,
588,
3092,
12,
5127,
1418,
18,
13301,
67,
15055,
67,
1985,
1769,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17340,
1253,
5956,
12,
6385,
467,
13468,
1042,
819,
13,
288,
202,
202,
6385,
1033,
2190,
273,
819,
18,
588,
3092,
12,
5127,
1418,
18,
13301,
67,
15055,
67,
1985,
1769,
20... |
m_chWeightClass.addItem("Light"); m_chWeightClass.addItem("Medium"); m_chWeightClass.addItem("Heavy"); m_chWeightClass.addItem("Assault"); m_chWeightClass.addItem("All"); | m_chWeightClass.addItem(Messages.getString("MechSelectorDialog.Light")); m_chWeightClass.addItem(Messages.getString("MechSelectorDialog.Medium")); m_chWeightClass.addItem(Messages.getString("MechSelectorDialog.Heavy")); m_chWeightClass.addItem(Messages.getString("MechSelectorDialog.Assault")); m_chWeightClass.addItem(M... | private void populateChoices() { /* If you change any of the strings below, be sure to check * the filterMechs method below as some strings may need to * be changed there as well. */ m_chWeightClass.addItem("Light"); m_chWeightClass.addItem("Medium"); m_chWeightCl... | 3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/18ec0036f3c5df3d8fbef60e9dd53cc153fc889e/MechSelectorDialog.java/clean/megamek/src/megamek/client/ui/AWT/MechSelectorDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
6490,
17442,
1435,
288,
3639,
1748,
971,
1846,
2549,
1281,
434,
326,
2064,
5712,
16,
506,
3071,
358,
866,
540,
380,
326,
1034,
4667,
343,
87,
707,
5712,
487,
2690,
2064,
2026,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6490,
17442,
1435,
288,
3639,
1748,
971,
1846,
2549,
1281,
434,
326,
2064,
5712,
16,
506,
3071,
358,
866,
540,
380,
326,
1034,
4667,
343,
87,
707,
5712,
487,
2690,
2064,
2026,
... |
decrementNestingDepth(); close(); | finishedRun(); | protected void createButtonsForButtonBar(Composite parent) { Button runInWorkspace = createButton( parent, IDialogConstants.CLOSE_ID, ProgressMessages .getString("ProgressMonitorFocusJobDialog.RunInBackgroundButton"), //$NON-NLS-1$ true); runInWorkspace.addSelectionListener(new SelectionAdapter() { ... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/b540c906180094b023a4d91f22cc579596eca773/ProgressMonitorFocusJobDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressMonitorFocusJobDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
752,
14388,
1290,
3616,
5190,
12,
9400,
982,
13,
288,
202,
202,
3616,
1086,
382,
8241,
273,
752,
3616,
12,
9506,
202,
2938,
16,
9506,
202,
734,
3529,
2918,
18,
13384,
67... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
752,
14388,
1290,
3616,
5190,
12,
9400,
982,
13,
288,
202,
202,
3616,
1086,
382,
8241,
273,
752,
3616,
12,
9506,
202,
2938,
16,
9506,
202,
734,
3529,
2918,
18,
13384,
67... |
/* System.setOut(consoleOut); System.setErr(consoleErr); */ | if (PdeBase.getBoolean("editor.console.enabled", true)) { System.setOut(consoleOut); System.setErr(consoleErr); } | public PdeEditorConsole(PdeEditor editor) { this.editor = editor; lineCount = PdeBase.getInteger("editor.console.lines", 6); maxLineCount = 1000; lines = new String[maxLineCount]; isError = new boolean[maxLineCount]; for (int i = 0; i < maxLineCount; i++) { lines[i] = ""; isError[i] = fals... | 8833 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8833/df97780d8cd68ab478975c2fd51dc1c885503e29/PdeEditorConsole.java/buggy/app/PdeEditorConsole.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
453,
323,
6946,
10215,
12,
52,
323,
6946,
4858,
13,
288,
565,
333,
18,
9177,
273,
4858,
31,
565,
980,
1380,
273,
453,
323,
2171,
18,
588,
4522,
2932,
9177,
18,
8698,
18,
3548,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
453,
323,
6946,
10215,
12,
52,
323,
6946,
4858,
13,
288,
565,
333,
18,
9177,
273,
4858,
31,
565,
980,
1380,
273,
453,
323,
2171,
18,
588,
4522,
2932,
9177,
18,
8698,
18,
3548,
3... |
public org.quickfix.field.ContAmtType get(org.quickfix.field.ContAmtType value) | public quickfix.field.ContAmtType get(quickfix.field.ContAmtType value) | public org.quickfix.field.ContAmtType get(org.quickfix.field.ContAmtType value) throws FieldNotFound { getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/ExecutionReport.java/buggy/src/java/src/quickfix/fix44/ExecutionReport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9549,
904,
18,
1518,
18,
660,
31787,
559,
336,
12,
19525,
904,
18,
1518,
18,
660,
31787,
559,
225,
460,
13,
565,
1216,
2286,
2768,
225,
288,
5031,
12,
1132,
1769,
327,
460,
31,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9549,
904,
18,
1518,
18,
660,
31787,
559,
336,
12,
19525,
904,
18,
1518,
18,
660,
31787,
559,
225,
460,
13,
565,
1216,
2286,
2768,
225,
288,
5031,
12,
1132,
1769,
327,
460,
31,
... |
} | (bookComponent.curPage()).curTextRect().setTextRectProp(left, top, width, height); } | public void setTextRectProp(int left,int top, int width,int height) { (bookComponent.curPage()).curTextRect().setTextRectProp(left,top,width,height); } | 5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/cd264ba6a67a155375a4ba85cdb6dc35503ef593/MIFDocument.java/buggy/src/org/apache/fop/mif/MIFDocument.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
7883,
6120,
4658,
12,
474,
2002,
16,
474,
1760,
16,
509,
1835,
16,
474,
2072,
13,
288,
1082,
202,
12,
3618,
1841,
18,
1397,
1964,
1435,
2934,
1397,
1528,
6120,
7675,
542,
152... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7883,
6120,
4658,
12,
474,
2002,
16,
474,
1760,
16,
509,
1835,
16,
474,
2072,
13,
288,
1082,
202,
12,
3618,
1841,
18,
1397,
1964,
1435,
2934,
1397,
1528,
6120,
7675,
542,
152... |
public void handleFiles(List files) { try { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); Document doc = db.newDocument(); Element overviewRoot = Util.addChildElement(doc, "overview-frame", null); Iterator iter = files.iterator(); whil... | 8610 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8610/6c6a574b8da6a8f7989e99ea78e4db5cb63abe6b/TaglibReport.java/buggy/tag-doc/src/java/org/apache/struts/taskdefs/TaglibReport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6459,
4110,
2697,
12,
682,
2354,
15329,
202,
202,
698,
95,
1082,
202,
2519,
20692,
1966,
74,
33,
2519,
20692,
18,
2704,
1442,
5621,
1082,
202,
2519,
1263,
1966,
33,
1966,
74,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6459,
4110,
2697,
12,
682,
2354,
15329,
202,
202,
698,
95,
1082,
202,
2519,
20692,
1966,
74,
33,
2519,
20692,
18,
2704,
1442,
5621,
1082,
202,
2519,
1263,
1966,
33,
1966,
74,
... | ||
mLog.info("Stage 1 Verification complete for Mailbox "+this.mMailboxId); | mLog.info("Stage 1 Verification complete for Mailbox "+this.mMailboxId); | synchronized void chkIndex(boolean repair) throws ServiceException { flush(); Connection conn = null; conn = DbPool.getConnection(); Mailbox mbox = MailboxManager.getInstance().getMailboxById(mMailboxId); /////////////////////////////// // // Stage 1 -- look for ... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/9f6861227b0f9808a28547edf4255cb279354a1d/MailboxIndex.java/buggy/ZimbraServer/src/java/com/zimbra/cs/index/MailboxIndex.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3852,
918,
15000,
1016,
12,
6494,
20994,
13,
1216,
16489,
377,
288,
3639,
3663,
5621,
3639,
4050,
1487,
273,
446,
31,
3639,
1487,
273,
8408,
2864,
18,
588,
1952,
5621,
3639,
11542,
2147,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3852,
918,
15000,
1016,
12,
6494,
20994,
13,
1216,
16489,
377,
288,
3639,
3663,
5621,
3639,
4050,
1487,
273,
446,
31,
3639,
1487,
273,
8408,
2864,
18,
588,
1952,
5621,
3639,
11542,
2147,
... |
return new TechResultsMessage(random, techHits, advancesAsString); | return new TechResultsMessage(random, techHits, advancesAsString, m_player); | private Message rollTech(IntegerMessage msg) { int techRolls = msg.getMessage(); boolean canPay = checkEnoughMoney(techRolls); if(!canPay) return new StringMessage("Not enough money to pay for that many tech rolls", true); chargeForTechRolls(techRolls); int[] random = m_bridge.getRandom(Constants... | 8909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8909/b3fb323fecca90d9af33f93d1783622dd920dd8e/TechnologyDelegate.java/clean/triplea/src/games/strategy/triplea/delegate/TechnologyDelegate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
2350,
5824,
56,
8987,
12,
4522,
1079,
1234,
13,
225,
288,
565,
509,
13878,
4984,
3251,
273,
1234,
18,
24906,
5621,
565,
1250,
848,
9148,
273,
866,
664,
4966,
23091,
12,
28012,
4984,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2350,
5824,
56,
8987,
12,
4522,
1079,
1234,
13,
225,
288,
565,
509,
13878,
4984,
3251,
273,
1234,
18,
24906,
5621,
565,
1250,
848,
9148,
273,
866,
664,
4966,
23091,
12,
28012,
4984,... |
case 15: | case F8COLUMN: | public Object getValueAt(int row, int col) { int slotNum; if (_allSlots) { // will show the entire set slotNum = row; } else { slotNum = ithActiveSlot(row); } LocoNetSlot s = SlotManager.instance().slot(slotNum); if (s == null) log.error("sl... | 213 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/213/483c65800b670b9b9b5a9eb7a97cc8f30608cc62/SlotMonDataModel.java/buggy/jmri/jmrix/loconet/slotmon/SlotMonDataModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
2366,
861,
12,
474,
1027,
16,
509,
645,
13,
288,
3639,
509,
4694,
2578,
31,
3639,
309,
261,
67,
454,
16266,
13,
288,
5411,
368,
903,
2405,
326,
7278,
444,
5411,
4694,
2578,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
2366,
861,
12,
474,
1027,
16,
509,
645,
13,
288,
3639,
509,
4694,
2578,
31,
3639,
309,
261,
67,
454,
16266,
13,
288,
5411,
368,
903,
2405,
326,
7278,
444,
5411,
4694,
2578,
... |
result.addFatalError(computeErrorMessage(method, "RenameMethodRefactoring.not_in_mode")); | result.addFatalError(computeErrorMessage(method, "RenameMethodRefactoring.not_in_model")); | private RefactoringStatus checkRelatedMethods(IProgressMonitor pm) throws JavaModelException{ RefactoringStatus result= new RefactoringStatus(); Iterator methods = getMethodsToRename(getMethod(), pm).iterator(); while (methods.hasNext()){ IMethod method= (IMethod)methods.next(); result.merge(checkIfConstruct... | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/cd78a62e4449e771959f43a6e4236d8497ddb7b6/RenameMethodRefactoring.java/buggy/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/core/refactoring/methods/RenameMethodRefactoring.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
868,
3493,
6053,
1482,
866,
8017,
4712,
12,
45,
5491,
7187,
7430,
13,
1216,
5110,
1488,
503,
95,
202,
202,
426,
3493,
6053,
1482,
563,
33,
394,
868,
3493,
6053,
1482,
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,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
868,
3493,
6053,
1482,
866,
8017,
4712,
12,
45,
5491,
7187,
7430,
13,
1216,
5110,
1488,
503,
95,
202,
202,
426,
3493,
6053,
1482,
563,
33,
394,
868,
3493,
6053,
1482,
5621,
2... |
return (AtomContainer)ac.clone(); | AtomContainer clone = null; try { clone = (AtomContainer)ac.clone(); } catch (CloneNotSupportedException e) { e.printStackTrace(); } return clone; | AtomContainer makeResult() { Bond[] bonds = new Bond[objects.length]; for (int f = 0; f < objects.length; f++) { bonds[f] = ((Bond)objects[f]); } AtomContainer ac = new org.openscience.cdk.AtomContainer(atomContainer); ac.setElectronContainers(bonds); return (AtomContainer)ac.clone(); } | 45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/2b55a607674535cd8492e3539d8f3dce16fc3b92/AtomContainerBondPermutor.java/buggy/src/org/openscience/cdk/graph/AtomContainerBondPermutor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3641,
2170,
1221,
1253,
1435,
202,
95,
202,
202,
9807,
8526,
15692,
273,
394,
605,
1434,
63,
6911,
18,
2469,
15533,
202,
202,
1884,
261,
474,
284,
273,
374,
31,
284,
411,
2184,
18,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3641,
2170,
1221,
1253,
1435,
202,
95,
202,
202,
9807,
8526,
15692,
273,
394,
605,
1434,
63,
6911,
18,
2469,
15533,
202,
202,
1884,
261,
474,
284,
273,
374,
31,
284,
411,
2184,
18,... |
final Object insertSpaceBeforeOpeningParenInForOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_FOR); if (insertSpaceBeforeOpeningParenInForOption != null) { this.insert_space_before_opening_paren_in_for = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInForOpti... | public void set(Map settings) { final Object alignmentForArgumentsInAllocationExpressionOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_ALLOCATION_EXPRESSION); if (alignmentForArgumentsInAllocationExpressionOption != null) { try { this.alignment_for_arguments_in_allocati... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/12f3dd59c579048e11942c9768bb3f6c6a45e156/DefaultCodeFormatterOptions.java/clean/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/formatter/DefaultCodeFormatterOptions.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
12,
863,
1947,
13,
288,
202,
202,
6385,
1033,
8710,
1290,
4628,
382,
17353,
2300,
1895,
273,
1947,
18,
588,
12,
1868,
1085,
5074,
2918,
18,
7254,
2560,
67,
26439,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
444,
12,
863,
1947,
13,
288,
202,
202,
6385,
1033,
8710,
1290,
4628,
382,
17353,
2300,
1895,
273,
1947,
18,
588,
12,
1868,
1085,
5074,
2918,
18,
7254,
2560,
67,
26439,
32... | |
public java.util.List get(int position, int noOfObjects) throws HibernateSearchException | public java.util.List get(int position, int noOfObjects) throws HibernateSearchException | public java.util.List get(int position, int noOfObjects) throws HibernateSearchException { java.util.List returnList = new java.util.ArrayList(); java.util.List list = new java.util.ArrayList(); Session session = null; try { session=getSession(); Query q... | 45468 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45468/a2a86f9a1a863775511eeb8b1f97d5c210146a39/QueryResultsMainSearchImpl.java/clean/mifos/src/org/mifos/framework/hibernate/helper/QueryResultsMainSearchImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
1071,
2252,
18,
1367,
18,
682,
336,
12,
474,
1754,
16,
509,
1158,
951,
4710,
13,
1216,
670,
24360,
2979,
503,
202,
565,
288,
202,
4697,
3196,
202,
6290,
18,
1367,
18,
682,
327,
682,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3196,
1071,
2252,
18,
1367,
18,
682,
336,
12,
474,
1754,
16,
509,
1158,
951,
4710,
13,
1216,
670,
24360,
2979,
503,
202,
565,
288,
202,
4697,
3196,
202,
6290,
18,
1367,
18,
682,
327,
682,
... |
fail(); | fail("NPE expected"); | public void testWriteStatement_Null() { MockEncoder enc = new MockEncoder(); try { enc.writeStatement(null); fail(); } catch (NullPointerException e) { // expected } } | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/bdaa0ab7892902df02c31cf7e4bbe4e8f5f0b280/EncoderTest.java/buggy/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/EncoderTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
3067,
3406,
67,
2041,
1435,
288,
3639,
7867,
7204,
2446,
273,
394,
7867,
7204,
5621,
3639,
775,
288,
5411,
2446,
18,
2626,
3406,
12,
2011,
1769,
5411,
2321,
2932,
50,
142... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
3067,
3406,
67,
2041,
1435,
288,
3639,
7867,
7204,
2446,
273,
394,
7867,
7204,
5621,
3639,
775,
288,
5411,
2446,
18,
2626,
3406,
12,
2011,
1769,
5411,
2321,
2932,
50,
142... |
+ "," + restartCount + ")"); | + ',' + restartCount + ')'); | protected HookedFileBucketOutputStream( String s, long restartCount) throws IOException { super(s, restartCount); streams.addElement(this); if (Logger.shouldLog(Logger.DEBUG, this)) Logger.debug( this, "Created HookedFileBucketOutputStream(" + s + "," + restartCount + ")"); ... | 51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/62fd59041864b4ed1f43adc676de6bfb5ea977f3/TempFileBucket.java/buggy/src/freenet/support/io/TempFileBucket.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1117,
13725,
329,
812,
4103,
4632,
12,
1082,
202,
780,
272,
16,
1082,
202,
5748,
7870,
1380,
13,
1082,
202,
15069,
1860,
288,
1082,
202,
9565,
12,
87,
16,
7870,
1380,
1769,
1082,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3196,
202,
1117,
13725,
329,
812,
4103,
4632,
12,
1082,
202,
780,
272,
16,
1082,
202,
5748,
7870,
1380,
13,
1082,
202,
15069,
1860,
288,
1082,
202,
9565,
12,
87,
16,
7870,
1380,
1769,
1082,
... |
int xpos = 0; int ypos = 0; | public void stateChanged(ChangeEvent event) { int xpos = 0; int ypos = 0; JScrollBar vsb = JScrollPane.this.getVerticalScrollBar(); JScrollBar hsb = JScrollPane.this.getHorizontalScrollBar(); if (vsb != null) { BoundedRangeMod... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/49e488b8530051383b90b1357fa767c87c9ff7f5/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
919,
5033,
12,
20930,
871,
13,
3639,
288,
1850,
509,
30031,
273,
374,
31,
1850,
509,
30968,
273,
374,
31,
1850,
804,
6806,
5190,
6195,
70,
273,
804,
26360,
18,
2211,
18,
588,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
540,
1071,
918,
919,
5033,
12,
20930,
871,
13,
3639,
288,
1850,
509,
30031,
273,
374,
31,
1850,
509,
30968,
273,
374,
31,
1850,
804,
6806,
5190,
6195,
70,
273,
804,
26360,
18,
2211,
18,
588,... | |
} | } System.err.println("WTF? Restart returned!?"); | void innerUpdate(){ Logger.minor(this, "Update() called"); synchronized(this) { if((result == null) || hasBeenBlown) { Logger.minor(this, "Returning: result="+result+", isAutoUpdateAllowed="+isAutoUpdateAllowed+", hasBeenBlown="+hasBeenBlown); return; } this.revocationDNFCounter = 0; this.finalCheck... | 48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/d296236f0c3888b3327dcc9ff86ef0475d1d33dd/NodeUpdater.java/buggy/src/freenet/node/updater/NodeUpdater.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
3443,
1891,
1435,
95,
202,
202,
3328,
18,
17364,
12,
2211,
16,
315,
1891,
1435,
2566,
8863,
202,
202,
22043,
12,
2211,
13,
288,
1082,
202,
430,
12443,
2088,
422,
446,
13,
747... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6459,
3443,
1891,
1435,
95,
202,
202,
3328,
18,
17364,
12,
2211,
16,
315,
1891,
1435,
2566,
8863,
202,
202,
22043,
12,
2211,
13,
288,
1082,
202,
430,
12443,
2088,
422,
446,
13,
747... |
weapons = deployed_ent.getWeaponList(); for (Enumeration i = weapons.elements(); i.hasMoreElements();) { Mounted mounted = (Mounted)i.nextElement(); | for(Mounted mounted : deployed_ent.getWeaponList()) { | protected Coords[] getStartingCoordsArray() { int test_x, test_y, highest_elev, lowest_elev; int counter, valid_arr_index, arr_x_index; int weapon_count; double av_range, best_fitness, ideal_elev; double[] fitness; double adjusted_damage, max_damage, total_damage; Co... | 3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/c2a90fca192b338ebf5162499c52b535aed6382b/BotClient.java/clean/megamek/src/megamek/client/bot/BotClient.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
10320,
87,
8526,
8635,
310,
13089,
1076,
1435,
288,
3639,
509,
1842,
67,
92,
16,
1842,
67,
93,
16,
9742,
67,
6516,
90,
16,
11981,
67,
6516,
90,
31,
3639,
509,
3895,
16,
923,
67,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10320,
87,
8526,
8635,
310,
13089,
1076,
1435,
288,
3639,
509,
1842,
67,
92,
16,
1842,
67,
93,
16,
9742,
67,
6516,
90,
16,
11981,
67,
6516,
90,
31,
3639,
509,
3895,
16,
923,
67,... |
return null; | checkIndex (parameterIndex, Types.VARCHAR, "String"); return (String)result; | public String getString(int parameterIndex) throws SQLException { return null; } | 2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/00ccc8e9b4c809d4a9e0fcd57f6e850f307d9224/CallableStatement.java/clean/org/postgresql/jdbc2/CallableStatement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
4997,
12,
474,
25412,
13,
1216,
6483,
202,
95,
202,
202,
2463,
446,
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,
... | [
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
4997,
12,
474,
25412,
13,
1216,
6483,
202,
95,
202,
202,
2463,
446,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
public NLSHint(NLSLine[] nlsLines, ICompilationUnit cu) { | public NLSHint(NLSSubstitution[] nlsSubstitution, ICompilationUnit cu) { | public NLSHint(NLSLine[] nlsLines, ICompilationUnit cu) { IPackageFragment defaultPackage = (IPackageFragment) cu.getAncestor(IJavaElement.PACKAGE_FRAGMENT); fPackage = defaultPackage; fResourceBundlePackage = defaultPackage; findMessageClassHint(nlsLines, cu); findPropert... | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/eb6f0619842c7f0cb11df4bd9684e3bf0c5c49ab/NLSHint.java/clean/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/NLSHint.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
18520,
2664,
474,
12,
24924,
1260,
373,
14278,
8526,
19668,
23798,
16,
467,
19184,
2802,
15985,
13,
288,
3639,
467,
2261,
7456,
805,
2261,
273,
261,
45,
2261,
7456,
13,
15985,
18,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18520,
2664,
474,
12,
24924,
1260,
373,
14278,
8526,
19668,
23798,
16,
467,
19184,
2802,
15985,
13,
288,
3639,
467,
2261,
7456,
805,
2261,
273,
261,
45,
2261,
7456,
13,
15985,
18,
5... |
Query query = session.createQuery(queryString); return query.uniqueResult(); } | Query query = session.createQuery(queryString); for (int i = 0; i < queryArgs.length; i++) { query.setParameter(i, queryArgs[i]); } return query.uniqueResult(); } | public Object doInHibernate(Session session) throws HibernateException, SQLException { Query query = session.createQuery(queryString); return query.uniqueResult(); } | 50831 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50831/4fccc86f70758d328337f970eedd7c2fbcfc0fdc/GetPersistentMethod.java/clean/src/persistence/org/codehaus/groovy/grails/orm/hibernate/metaclass/GetPersistentMethod.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4697,
202,
482,
1033,
741,
382,
44,
24360,
12,
2157,
1339,
13,
1216,
670,
24360,
503,
16,
6483,
288,
6862,
202,
1138,
843,
273,
1339,
18,
2640,
1138,
12,
2271,
780,
1769,
6862,
202,
2463,
84... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4697,
202,
482,
1033,
741,
382,
44,
24360,
12,
2157,
1339,
13,
1216,
670,
24360,
503,
16,
6483,
288,
6862,
202,
1138,
843,
273,
1339,
18,
2640,
1138,
12,
2271,
780,
1769,
6862,
202,
2463,
84... |
pw.println("# IP: " + WebContext.userIP()); | pw.println("# IP: " + ctx.userIP()); | private synchronized void write(User u, String requester) { try { OutputStream file = new FileOutputStream(filename, true); // Append PrintWriter pw = new PrintWriter(file); if(lines == 0) { // write the prologue pw.println("## cldr survey registry file."); pw... | 27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/c7db68582d289d059bc19765e48412fc1a6df2a0/UserRegistry.java/buggy/tools/java/org/unicode/cldr/web/UserRegistry.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3852,
918,
1045,
12,
1299,
582,
16,
514,
19961,
13,
288,
3639,
775,
288,
1850,
8962,
585,
273,
394,
12942,
12,
3459,
16,
638,
1769,
368,
6181,
1850,
14071,
8772,
273,
394,
14071,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3852,
918,
1045,
12,
1299,
582,
16,
514,
19961,
13,
288,
3639,
775,
288,
1850,
8962,
585,
273,
394,
12942,
12,
3459,
16,
638,
1769,
368,
6181,
1850,
14071,
8772,
273,
394,
14071,
... |
io.inStream = new RubyInputStream(ruby.getRuntime().getInputStream()); | io.inStream = new RubyInputStream(inStream); | public static RubyObject stdin(Ruby ruby, RubyClass rubyClass) { RubyIO io = new RubyIO(ruby, rubyClass); io.inStream = new RubyInputStream(ruby.getRuntime().getInputStream()); io.readable = true; return io; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/RubyIO.java/buggy/org/jruby/RubyIO.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
921,
8801,
12,
54,
10340,
22155,
16,
19817,
797,
22155,
797,
13,
288,
3639,
19817,
4294,
2527,
273,
394,
19817,
4294,
12,
27768,
16,
22155,
797,
1769,
3639,
2527,
18,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19817,
921,
8801,
12,
54,
10340,
22155,
16,
19817,
797,
22155,
797,
13,
288,
3639,
19817,
4294,
2527,
273,
394,
19817,
4294,
12,
27768,
16,
22155,
797,
1769,
3639,
2527,
18,
26... |
else return d; | else return d; | public java.awt.Dimension getMinimumSize() { if (childs.isEmpty()) { java.awt.Dimension d = getMinimumSizeInternal(); if (d == null) return super.getMinimumSize(); else return d; } else { return super.getMinimumSize(); } } | 58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/a2cd9b6d05be6ee9dc798dfafe5692ec64040fb8/AbstractDataObjectPanel.java/buggy/src/org/objectweb/proactive/ic2d/gui/data/AbstractDataObjectPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2252,
18,
2219,
88,
18,
8611,
30665,
1225,
1435,
288,
565,
309,
261,
3624,
87,
18,
291,
1921,
10756,
288,
1377,
2252,
18,
2219,
88,
18,
8611,
302,
273,
30665,
1225,
3061,
5621,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2252,
18,
2219,
88,
18,
8611,
30665,
1225,
1435,
288,
565,
309,
261,
3624,
87,
18,
291,
1921,
10756,
288,
1377,
2252,
18,
2219,
88,
18,
8611,
302,
273,
30665,
1225,
3061,
5621,
13... |
reportDOMError("DOM Level 1 node: "+element.getNodeName(), DOMError.SEVERITY_ERROR, element, null); | String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "NullLocalElementName", new Object[]{element.getNodeName()}); reportDOMError(msg, DOMError.SEVERITY_ERROR, null, "NullLocalElementName"); | protected final void namespaceFixUp (ElementImpl element, AttributeMap attributes){ if (DEBUG) { System.out.println("[ns-fixup] element:" +element.getNodeName()+ " uri: "+element.getNamespaceURI()); } // ------------------------------------ // pic... | 4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/bc01e3dcf7f13f63a95b83801153271a48e0b07f/DOMNormalizer.java/buggy/src/org/apache/xerces/dom/DOMNormalizer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
727,
918,
1981,
8585,
1211,
261,
1046,
2828,
930,
16,
3601,
863,
1677,
15329,
3639,
309,
261,
9394,
13,
288,
5411,
2332,
18,
659,
18,
8222,
2932,
63,
2387,
17,
904,
416,
65,
930,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
918,
1981,
8585,
1211,
261,
1046,
2828,
930,
16,
3601,
863,
1677,
15329,
3639,
309,
261,
9394,
13,
288,
5411,
2332,
18,
659,
18,
8222,
2932,
63,
2387,
17,
904,
416,
65,
930,
... |
public org.quickfix.field.CPProgram getCPProgram() throws FieldNotFound { org.quickfix.field.CPProgram value = new org.quickfix.field.CPProgram(); | public quickfix.field.CPProgram getCPProgram() throws FieldNotFound { quickfix.field.CPProgram value = new quickfix.field.CPProgram(); | public org.quickfix.field.CPProgram getCPProgram() throws FieldNotFound { org.quickfix.field.CPProgram value = new org.quickfix.field.CPProgram(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/MarketDataRequest.java/clean/src/java/src/quickfix/fix44/MarketDataRequest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
4258,
9459,
1927,
52,
9459,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
4258,
9459,
460,
273,
394,
2358,
18,
19525,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
4258,
9459,
1927,
52,
9459,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
4258,
9459,
460,
273,
394,
2358,
18,
19525,
9... |
edit.setEmail(edit.getId() + "@" + m_domain); | edit.setEmail(edit.getEid() + "@" + m_domain); | public boolean getUser(UserEdit edit) { if (!userExists(edit.getId())) return false; edit.setEmail(edit.getId() + "@" + m_domain); edit.setType("kerberos"); return true; } // getUser | 9615 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9615/1566e3af520ecf449232665fb81dc37e4e5ec041/KerberosUserDirectoryProvider.java/buggy/kerberos/src/java/org/sakaiproject/component/kerberos/user/KerberosUserDirectoryProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
4735,
12,
1299,
4666,
3874,
13,
202,
95,
202,
202,
430,
16051,
1355,
4002,
12,
4619,
18,
26321,
1435,
3719,
327,
629,
31,
202,
202,
4619,
18,
542,
4134,
12,
4619,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
4735,
12,
1299,
4666,
3874,
13,
202,
95,
202,
202,
430,
16051,
1355,
4002,
12,
4619,
18,
26321,
1435,
3719,
327,
629,
31,
202,
202,
4619,
18,
542,
4134,
12,
4619,
18,
... |
g.drawImage(image, x, y, observer); | Image tmpImage; if ( zoomIndex == BASE_ZOOM_INDEX ){ tmpImage = image; } else { tmpImage = getScaledImage( image, scale ); } g.drawImage(tmpImage, x, y, observer); | public void drawOnto(Graphics g, int x, int y, ImageObserver observer) { if (isReady()) { g.drawImage(image, x, y, observer); } else { // grrr... well be ready next time! prepare(); } } | 3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/a9ed297cb5081fb025a01868efe86e5f185402e3/BoardView1.java/buggy/megamek/src/megamek/client/ui/AWT/BoardView1.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3724,
51,
496,
83,
12,
17558,
314,
16,
509,
619,
16,
509,
677,
16,
3421,
11048,
9655,
13,
288,
5411,
309,
261,
291,
8367,
10756,
288,
7734,
3421,
1853,
2040,
31,
309,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
540,
1071,
918,
3724,
51,
496,
83,
12,
17558,
314,
16,
509,
619,
16,
509,
677,
16,
3421,
11048,
9655,
13,
288,
5411,
309,
261,
291,
8367,
10756,
288,
7734,
3421,
1853,
2040,
31,
309,
261,
... |
UIAccess.getDisplay().asyncExec(new Runnable() { | UIAccess.getDisplay().syncExec(new Runnable() { | public void createPartControl(Composite parent) { fTableViewer = new TableViewer(parent, SWT.MULTI | SWT.V_SCROLL | SWT.FULL_SELECTION); fTableViewer.getTable().setLinesVisible(false); fTableViewer.getTable().setHeaderVisible(false); new TableColumn(fTableViewer.getTable(), SWT.DEFAULT); fTableViewer.getTable()... | 48482 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48482/d3bba4266f35b585495a603d2b7a2630e87ff6c4/HistoryView.java/clean/de.walware.statet.nico.ui/src/de/walware/statet/nico/ui/views/HistoryView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
752,
1988,
3367,
12,
9400,
982,
13,
288,
9506,
202,
74,
1388,
18415,
273,
394,
3555,
18415,
12,
2938,
16,
348,
8588,
18,
26588,
571,
348,
8588,
18,
58,
67,
2312,
14555,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
752,
1988,
3367,
12,
9400,
982,
13,
288,
9506,
202,
74,
1388,
18415,
273,
394,
3555,
18415,
12,
2938,
16,
348,
8588,
18,
26588,
571,
348,
8588,
18,
58,
67,
2312,
14555,
... |
throw new DynaSqlException("Could not create a new dyna bean for table "+table.getName(), ex); | throw new SqlDynaException("Could not create a new dyna bean for table "+table.getName(), ex); | public DynaBean createNewInstance(Table table) throws DynaSqlException { try { return getDynaClass(table).newInstance(); } catch (InstantiationException ex) { throw new DynaSqlException("Could not create a new dyna bean for table "+table.getName(), ex); ... | 3517 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3517/dc09857257388c7ca25cc8225d9bb7d060a13ff3/DynaClassCache.java/clean/src/java/org/apache/ddlutils/dynabean/DynaClassCache.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
463,
23041,
3381,
15291,
1442,
12,
1388,
1014,
13,
1216,
463,
23041,
5101,
503,
565,
288,
3639,
775,
3639,
288,
5411,
327,
2343,
23041,
797,
12,
2121,
2934,
2704,
1442,
5621,
3639,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
463,
23041,
3381,
15291,
1442,
12,
1388,
1014,
13,
1216,
463,
23041,
5101,
503,
565,
288,
3639,
775,
3639,
288,
5411,
327,
2343,
23041,
797,
12,
2121,
2934,
2704,
1442,
5621,
3639,
... |
Assert.notNull(key, "Key cannot be null"); | Assert.notNull(key, "Key cannot be null"); | public float getFloat(String key) { Assert.notNull(key, "Key cannot be null"); String value = internalGet(key); if (!StringUtils.hasText(value)) { return getDefaultFloat(key); } return Float.parseFloat(value); } | 55916 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55916/1ca92818155f3e0a4aed29e15c396b3c749e2b10/AbstractSettings.java/buggy/sandbox/src/org/springframework/richclient/settings/AbstractSettings.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1431,
28276,
12,
780,
498,
13,
288,
3639,
5452,
18,
902,
2041,
12,
856,
16,
315,
653,
2780,
506,
446,
8863,
3639,
514,
460,
273,
2713,
967,
12,
856,
1769,
3639,
309,
16051,
780,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1431,
28276,
12,
780,
498,
13,
288,
3639,
5452,
18,
902,
2041,
12,
856,
16,
315,
653,
2780,
506,
446,
8863,
3639,
514,
460,
273,
2713,
967,
12,
856,
1769,
3639,
309,
16051,
780,
... |
bestFitTypes = paramTypes; | bestFitTypes = argTypes; | static int findFunction(Member[] methodsOrCtors, Class[][] memberTypes, Object[] args) { if (methodsOrCtors.length == 0) { return -1; } else if (methodsOrCtors.length == 1) { Member member = methodsOrCtors[0]; Class paramTypes[] = memberTy... | 47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/004397fe5ef540e453f60552849d0320b106ace4/NativeJavaMethod.java/buggy/js/rhino/src/org/mozilla/javascript/NativeJavaMethod.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
509,
1104,
2083,
12,
4419,
8526,
2590,
1162,
39,
88,
1383,
16,
1659,
63,
6362,
65,
3140,
2016,
16,
18701,
1033,
8526,
833,
13,
565,
288,
3639,
309,
261,
5163,
1162,
39,
88,
1383,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
509,
1104,
2083,
12,
4419,
8526,
2590,
1162,
39,
88,
1383,
16,
1659,
63,
6362,
65,
3140,
2016,
16,
18701,
1033,
8526,
833,
13,
565,
288,
3639,
309,
261,
5163,
1162,
39,
88,
1383,
... |
FileInputStream stream = null; | RandomAccessFile dataFile = null; | synchronized Object loadFieldValue(int offset) throws IOException, ClassNotFoundException { checkValid(); FileInputStream stream = null; try { stream = new FileInputStream(mFile); ObjectInputStream objIn = new ObjectInputStream(stream); stream.skip(offset); Object value = objIn.readOb... | 9266 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9266/4e1714770f6e91554bd6f978b71cbb83fd5e5ead/OnDemandDayProgramFile.java/clean/tvbrowser/src/tvbrowser/core/data/OnDemandDayProgramFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3852,
1033,
1262,
13559,
12,
474,
1384,
13,
1216,
1860,
16,
10403,
288,
565,
29969,
5621,
3639,
8072,
26933,
501,
812,
273,
446,
31,
565,
775,
288,
1377,
1407,
273,
394,
11907,
12,
81,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3852,
1033,
1262,
13559,
12,
474,
1384,
13,
1216,
1860,
16,
10403,
288,
565,
29969,
5621,
3639,
8072,
26933,
501,
812,
273,
446,
31,
565,
775,
288,
1377,
1407,
273,
394,
11907,
12,
81,
... |
{ | { | public void repaint(long tm, int x, int y, int width, int height) { Rectangle dirty = new Rectangle(x, y, width, height); Rectangle vis = getVisibleRect(); dirty = dirty.intersection(vis); RepaintManager.currentManager(this).addDirtyRegion(this, dirty.x, dirty.y, ... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JComponent.java/buggy/core/src/classpath/javax/javax/swing/JComponent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
24962,
12,
5748,
6118,
16,
509,
619,
16,
509,
677,
16,
509,
1835,
16,
509,
2072,
13,
202,
95,
565,
13264,
9603,
273,
394,
13264,
12,
92,
16,
677,
16,
1835,
16,
2072,
1769,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24962,
12,
5748,
6118,
16,
509,
619,
16,
509,
677,
16,
509,
1835,
16,
509,
2072,
13,
202,
95,
565,
13264,
9603,
273,
394,
13264,
12,
92,
16,
677,
16,
1835,
16,
2072,
1769,
... |
public ArrayList getHistory(Date lastBuild, Date now, long quietPeriod) { // Clean out the modifications list. // Otherwise we get duplicate entries when this function is called more than once in a quiet period breach // We normally would need to clean out the email list as well, except... | 52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/05a09f95c873b19abccfd57c85fb3409716070ee/StarTeamElement.java/buggy/main/src/net/sourceforge/cruisecontrol/StarTeamElement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2407,
336,
5623,
12,
1626,
1142,
3116,
16,
2167,
2037,
16,
1525,
10902,
5027,
13,
288,
7734,
368,
9645,
596,
326,
17953,
666,
18,
3639,
368,
5272,
732,
336,
6751,
3222,
1347,
333,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2407,
336,
5623,
12,
1626,
1142,
3116,
16,
2167,
2037,
16,
1525,
10902,
5027,
13,
288,
7734,
368,
9645,
596,
326,
17953,
666,
18,
3639,
368,
5272,
732,
336,
6751,
3222,
1347,
333,
... | ||
int index = str.lastIndexOf(">"); if (index != -1) { receivedText.append(str.substring(0, index + 1)); receivedText.append(NEWLINE); if (str.length() > index) { receivedText.append(str.substring(index + 1)); | int index = str.lastIndexOf(">"); if (index != -1) { if (receivedText.getLineCount() >= EnhancedDebuggerWindow.MAX_TABLE_ROWS) { try { receivedText.replaceRange("", 0, receivedText.getLineEndOffset(0)); } catch (BadLocationException e) { e.printStackTrace(); } } receivedText.append(str.substring(0, index + 1)); receive... | public void read(String str) { if (EnhancedDebuggerWindow.PERSISTED_DEBUGGER && !EnhancedDebuggerWindow.getInstance().isVisible()) { // Do not add content if the parent is not visible return; } int inde... | 45655 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45655/9acdd912d95d1f972f6668737fad4b74d9cd9393/EnhancedDebugger.java/buggy/source/org/jivesoftware/smackx/debugger/EnhancedDebugger.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
855,
12,
780,
609,
13,
288,
7734,
309,
261,
664,
17221,
24113,
3829,
18,
3194,
18732,
2056,
67,
9394,
3101,
597,
13491,
401,
664,
17221,
24113,
3829,
18,
588,
1442,
7675,
291,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2398,
1071,
918,
855,
12,
780,
609,
13,
288,
7734,
309,
261,
664,
17221,
24113,
3829,
18,
3194,
18732,
2056,
67,
9394,
3101,
597,
13491,
401,
664,
17221,
24113,
3829,
18,
588,
1442,
7675,
291,... |
ExtendedItemDesign extendedItem = new ExtendedItemDesign(); setupReportItem(extendedItem, obj); | ExtendedItemDesign extendedItem = new ExtendedItemDesign( ); setupReportItem( extendedItem, obj ); | protected void visitExtendedItem( ExtendedItemHandle obj ) { ExtendedItemDesign extendedItem = new ExtendedItemDesign(); setupReportItem(extendedItem, obj); currentElement = extendedItem; } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/cf03a7fc4ecb4dccf8765f8db6da7417d043ca05/EngineIRVisitor.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
3757,
11456,
1180,
12,
14094,
1180,
3259,
1081,
262,
202,
95,
202,
202,
11456,
1180,
15478,
7021,
1180,
273,
394,
14094,
1180,
15478,
5621,
202,
202,
8401,
4820,
1180,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
3757,
11456,
1180,
12,
14094,
1180,
3259,
1081,
262,
202,
95,
202,
202,
11456,
1180,
15478,
7021,
1180,
273,
394,
14094,
1180,
15478,
5621,
202,
202,
8401,
4820,
1180,
12,
... |
return (Vector) clientXML.execute("Systeme.listerPermissions", params); | return (Vector) clientXML.execute("Systeme.listerPermission", params); | public Vector listerPermissions(String login) { // Si l'utilisateur est connect au seveur //if (etatConnecte) { System.err.println("INFO: Liste des permissions..."); try { // Cration de la requte Vector params = new Vector(); params.addElement(login); // Adresse la requte et affiche les rsultats r... | 55998 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55998/acc245dc2d9abf6207417def50c3bf290d896cda/XMLClient.java/buggy/NetJukeBox/src/proto/client/XMLClient.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5589,
666,
264,
6521,
12,
780,
3925,
13,
288,
202,
202,
759,
27834,
328,
11,
1367,
24954,
4387,
3077,
20309,
695,
537,
295,
202,
202,
759,
430,
261,
278,
270,
5215,
73,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5589,
666,
264,
6521,
12,
780,
3925,
13,
288,
202,
202,
759,
27834,
328,
11,
1367,
24954,
4387,
3077,
20309,
695,
537,
295,
202,
202,
759,
430,
261,
278,
270,
5215,
73,
13,
... |
public String open() { Shell parent = getParent(); Display display = parent.getDisplay(); shell = new Shell(parent, SWT.DIALOG_TRIM | SWT.RESIZE | SWT.MAX | SWT.MIN); props.setLook(shell); lsMod = new ModifyListener() { public void modifyText(ModifyEvent e) { input.setChanged(); } }; changed ... | 9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/e1fac432cc56bbc2ac07761e81d693a957cbef82/GetFileNamesDialog.java/clean/src/be/ibridge/kettle/trans/step/getfilenames/GetFileNamesDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1696,
1435,
202,
95,
202,
202,
13220,
982,
273,
5089,
5621,
202,
202,
4236,
2562,
273,
982,
18,
588,
4236,
5621,
202,
202,
10304,
273,
394,
19433,
12,
2938,
16,
348,
8588... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
1696,
1435,
202,
95,
202,
202,
13220,
982,
273,
5089,
5621,
202,
202,
4236,
2562,
273,
982,
18,
588,
4236,
5621,
202,
202,
10304,
273,
394,
19433,
12,
2938,
16,
348,
8588... | ||
mNSConnectButton.setMaximumSize(new Dimension(60, 18)); mNSConnectButton.setMinimumSize(new Dimension(60, 18)); | mNSConnectButton.setMaximumSize(new Dimension(91, 26)); mNSConnectButton.setMinimumSize(new Dimension(91, 26)); mNSConnectButton.setPreferredSize(new Dimension(91, 26)); | private void jbInit() throws Exception { mNSConnectBorder = new TitledBorder(new EtchedBorder(EtchedBorder.RAISED,Color.white,new Color(142, 142, 142)),"Naming Service Connection"); mSubjectMgrBorder = new TitledBorder(new EtchedBorder(EtchedBorder.RAISED,Color.white,new Color(142, 142, 142)),"Subject Ma... | 49828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49828/47790a2d724f0f4094ad5ebaae4b3e7c91ba99ce/ConnectionDialog.java/clean/modules/tweek/java/org/vrjuggler/tweek/gui/ConnectionDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
918,
20515,
2570,
1435,
1216,
1185,
282,
288,
1377,
312,
3156,
5215,
8107,
273,
394,
399,
305,
1259,
8107,
12,
2704,
512,
88,
2049,
8107,
12,
41,
88,
2049,
8107,
18,
2849,
45,
182... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3238,
918,
20515,
2570,
1435,
1216,
1185,
282,
288,
1377,
312,
3156,
5215,
8107,
273,
394,
399,
305,
1259,
8107,
12,
2704,
512,
88,
2049,
8107,
12,
41,
88,
2049,
8107,
18,
2849,
45,
182... |
System.err.println("Shrinking from "+chkBlocksInStore+" to "+maxChkBlocks); | long realSize = countCHKBlocksFromFile(); System.err.println("Shrinking from "+chkBlocksInStore+" to "+maxChkBlocks+" (from db "+countCHKBlocksFromDatabase()+" from file "+countCHKBlocksFromFile()+")"); | private void maybeSlowShrink(boolean dontCheck, boolean inStartUp) throws DatabaseException, IOException { Vector wantedKeep = new Vector(); // keep; content is wanted, and is in the right place Vector unwantedIgnore = new Vector(); // ignore; content is not wanted, and is not in the right place Vector wantedMove =... | 51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/6627b28789c87121ba2b2847c9c58d6dd6f19439/BerkeleyDBFreenetStore.java/clean/src/freenet/store/BerkeleyDBFreenetStore.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
6944,
28733,
28747,
12,
6494,
14046,
1564,
16,
1250,
316,
1685,
1211,
13,
1216,
27215,
16,
1860,
288,
202,
202,
5018,
15504,
11523,
273,
394,
5589,
5621,
368,
3455,
31,
91... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6944,
28733,
28747,
12,
6494,
14046,
1564,
16,
1250,
316,
1685,
1211,
13,
1216,
27215,
16,
1860,
288,
202,
202,
5018,
15504,
11523,
273,
394,
5589,
5621,
368,
3455,
31,
91... |
for (int i = 0; i < fields.length; i++) { final PsiField field = fields[i]; if (!(field.hasModifierProperty(PsiModifier.STATIC) | for(final PsiField field : fields){ if(!(field.hasModifierProperty(PsiModifier.STATIC) | private static boolean allFieldsPublicStaticFinal(PsiClass aClass) { boolean allFieldsStaticFinal = true; final PsiField[] fields = aClass.getFields(); for (int i = 0; i < fields.length; i++) { final PsiField field = fields[i]; if (!(field.hasModifi... | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/2d46d291193579a7564649b4881c7ea8e02eda5b/ClassMayBeInterfaceInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/classlayout/ClassMayBeInterfaceInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
760,
1250,
777,
2314,
4782,
5788,
7951,
12,
52,
7722,
797,
20148,
13,
288,
5411,
1250,
777,
2314,
5788,
7951,
273,
638,
31,
5411,
727,
453,
7722,
974,
8526,
1466,
273,
20148,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
540,
3238,
760,
1250,
777,
2314,
4782,
5788,
7951,
12,
52,
7722,
797,
20148,
13,
288,
5411,
1250,
777,
2314,
5788,
7951,
273,
638,
31,
5411,
727,
453,
7722,
974,
8526,
1466,
273,
20148,
18,
... |
BpelC bpelc = BpelC.newBpelCompiler(); bpelc.setOutputDirectory(_duDirectory); bpelc.setWsdlFinder(new DUWsdlFinder(_duDirectory)); bpelc.setXsltFinder(new DUXsltFinder(_duDirectory)); try { bpelc.compile(bpelFile.toURL()); } catch (IOException e) { __log.error("Couldn't compile process file!", e); | BpelC bpelc = BpelC.newBpelCompiler(); bpelc.setOutputDirectory(_duDirectory); bpelc.setWsdlFinder(new DUWsdlFinder(_duDirectory)); bpelc.setXsltFinder(new DUXsltFinder(_duDirectory)); try { bpelc.compile(bpelFile.toURL()); } catch (IOException e) { __log.error("Couldn't compile process file!", e); } | private void compile(File bpelFile) { BpelC bpelc = BpelC.newBpelCompiler(); bpelc.setOutputDirectory(_duDirectory); bpelc.setWsdlFinder(new DUWsdlFinder(_duDirectory)); bpelc.setXsltFinder(new DUXsltFinder(_duDirectory)); try { bpelc.compile(bpelFile.toURL()); } catch (IOException e) { __... | 45373 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45373/7622ffd0b40d0eb70799f28fc221a2dfc101f427/DeploymentUnitImpl.java/clean/bpel-runtime/src/main/java/org/apache/ode/bpel/deploy/DeploymentUnitImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
4074,
12,
812,
9107,
292,
812,
13,
288,
565,
605,
84,
292,
39,
9107,
292,
71,
273,
605,
84,
292,
39,
18,
2704,
38,
84,
292,
9213,
5621,
565,
9107,
292,
71,
18,
542,
1447,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4074,
12,
812,
9107,
292,
812,
13,
288,
565,
605,
84,
292,
39,
9107,
292,
71,
273,
605,
84,
292,
39,
18,
2704,
38,
84,
292,
9213,
5621,
565,
9107,
292,
71,
18,
542,
1447,... |
int col = G.getStone (x, y, z); if (col != Colour.EMPTY) { Stone stone = new Stone (col); TransformGroup objTranslate = translate (x, y, z); objTranslate.addChild (stone); BranchGroup b = new BranchGroup (); b.addChild (objTranslate); p.addChild (b); setCursor (x, y, z); | int col = G.getStone (x, y, z); if (col != Colour.EMPTY) { Stone stone = new Stone (col); TransformGroup objTranslate = translate (x, y, z); objTranslate.addChild (stone); BranchGroup b = new BranchGroup (); b.addChild (objTranslate); p.addChild (b); setCursor (x, y, z); } | void drawStone (int x, int y, int z, BranchGroup p) { int col = G.getStone (x, y, z); if (col != Colour.EMPTY) { Stone stone = new Stone (col); // stone.setPickable (false); // stone.clearCapability (Geometry.ALLOW_INTERSECT); // PickTool.setCapabilities(stone, PickTool.INTERSECT_FULL); ... | 388 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/388/518270cc649a5de8c58d13774d50e35a03f1e61a/J3DApp.java/buggy/go-3/J3DApp.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
3724,
510,
476,
261,
474,
619,
16,
509,
677,
16,
509,
998,
16,
15449,
1114,
293,
13,
288,
202,
474,
645,
273,
611,
18,
588,
510,
476,
261,
92,
16,
677,
16,
998,
1769,
202,
430,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
3724,
510,
476,
261,
474,
619,
16,
509,
677,
16,
509,
998,
16,
15449,
1114,
293,
13,
288,
202,
474,
645,
273,
611,
18,
588,
510,
476,
261,
92,
16,
677,
16,
998,
1769,
202,
430,... |
private boolean isEqualParameters( List params1, List params2 ) { if ( params1 == params2 ) return true; if ( isEqualBasicCol( params1, params2 ) == false ) return false; Iterator it = params1.iterator( ); Iterator it2 = params2.iterator( ); while ( it.hasNext( ) ) { IParameterDefinition pd = (IParameterDe... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/b30656e40bc3ada71d2c01a41e40c0ea1b450c55/DataSourceAndDataSet.java/clean/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/DataSourceAndDataSet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
21614,
2402,
12,
987,
859,
21,
16,
987,
859,
22,
262,
202,
95,
202,
202,
430,
261,
859,
21,
422,
859,
22,
262,
1082,
202,
2463,
638,
31,
202,
202,
430,
261,
21614,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21614,
2402,
12,
987,
859,
21,
16,
987,
859,
22,
262,
202,
95,
202,
202,
430,
261,
859,
21,
422,
859,
22,
262,
1082,
202,
2463,
638,
31,
202,
202,
430,
261,
21614,
... | ||
public void setFeature(String name, boolean value) throws TransformerConfigurationException { // feature name cannot be null if (name == null) { throw new NullPointerException( "Trying to set a feature with a null name: " + CLASS_NAME + "#setFeature(null, " + value + ")" ); } // secure processing? i... | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/f22658e0d69f8550b3494a8593653ad91e44410c/SmartTransformerFactoryImpl.java/clean/src/org/apache/xalan/xsltc/trax/SmartTransformerFactoryImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
542,
4595,
12,
780,
529,
16,
6494,
1132,
13,
15069,
8319,
10737,
95,
202,
759,
7238,
529,
12892,
19425,
420,
202,
430,
12,
529,
631,
2011,
15329,
202,
12849,
2704,
2041,
9992,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1071,
6459,
542,
4595,
12,
780,
529,
16,
6494,
1132,
13,
15069,
8319,
10737,
95,
202,
759,
7238,
529,
12892,
19425,
420,
202,
430,
12,
529,
631,
2011,
15329,
202,
12849,
2704,
2041,
9992,
12,
... | ||
addNamedColor("black", getColorNumber (0, 0, 0)); addNamedColor("white", getColorNumber (255, 255, 255)); addNamedColor("red", getColorNumber (255, 0, 0)); addNamedColor("green", getColorNumber (0, 255, 0)); addNamedColor("blue", getColorNumber (0, 0, 255)); addNamedColor("cyan", getColorNumber (0, 255, 255)); addNamed... | addNamedColor("black", getColorNumber (0, 0, 0).intValue()); addNamedColor("white", getColorNumber (255, 255, 255).intValue()); addNamedColor("red", getColorNumber (255, 0, 0).intValue()); addNamedColor("green", getColorNumber (0, 255, 0).intValue()); addNamedColor("blue", getColorNumber (0, 0, 255).intValue()); addNam... | private void init () { addNamedColor("black", getColorNumber (0, 0, 0)); addNamedColor("white", getColorNumber (255, 255, 255)); addNamedColor("red", getColorNumber (255, 0, 0)); addNamedColor("green", getColorNumber (0, 255, 0)); addNamedColor("blue", getColorNumber (0, 0, 255));... | 5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/28f6b5b9db31862cbc5aa858b6d098f32f8a792a/RtfColorTable.java/clean/src/java/org/apache/fop/rtf/rtflib/rtfdoc/RtfColorTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
1832,
288,
3639,
527,
7604,
2957,
2932,
11223,
3113,
15672,
1854,
261,
20,
16,
374,
16,
374,
10019,
3639,
527,
7604,
2957,
2932,
14739,
3113,
15672,
1854,
261,
10395,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1208,
1832,
288,
3639,
527,
7604,
2957,
2932,
11223,
3113,
15672,
1854,
261,
20,
16,
374,
16,
374,
10019,
3639,
527,
7604,
2957,
2932,
14739,
3113,
15672,
1854,
261,
10395,
16,
... |
rolesRightsToBeCopied.meta_id = nexFreeMetaId.intValue(); | rolesRightsToBeCopied.meta_id = nextFreeMetaId.intValue(); | private int copyDocument( final Integer meta_id ) { final SQLTransaction transaction = sqlProcessor.startTransaction(); transaction.executeAndCommit( new TransactionContent() { public void execute() throws SQLException { Integer nexFreeMetaId = getMaxIntValuePlusOne( transact... | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/92985c71b38c159d3e33b0a6189f7037c00bd8c7/DatabaseService.java/buggy/server/src/imcode/server/db/DatabaseService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
1610,
2519,
12,
727,
2144,
2191,
67,
350,
262,
288,
3639,
727,
3063,
3342,
2492,
273,
1847,
5164,
18,
1937,
3342,
5621,
3639,
2492,
18,
8837,
1876,
5580,
12,
394,
5947,
1350,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
1610,
2519,
12,
727,
2144,
2191,
67,
350,
262,
288,
3639,
727,
3063,
3342,
2492,
273,
1847,
5164,
18,
1937,
3342,
5621,
3639,
2492,
18,
8837,
1876,
5580,
12,
394,
5947,
1350,
... |
log.error("Unrecognised trigger object presented to index builder " + sbi); | log .error("Unrecognised trigger object presented to index builder " + sbi); | public void processToDoListTransaction(SearchIndexBuilderWorker worker) { Connection connection = null; try { connection = dataSource.getConnection(); long startTime = System.currentTimeMillis(); int totalDocs = 0; IndexWriter indexWrite = null; // Load the list List runtimeToDo = findPending(indexBatch... | 2021 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2021/20ccf8886abe7d3c214de2a86a0f559bd200b82f/SearchIndexBuilderWorkerDaoJdbcImpl.java/clean/search/search-impl/impl/src/java/org/sakaiproject/search/component/dao/impl/SearchIndexBuilderWorkerDaoJdbcImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1207,
774,
3244,
682,
3342,
12,
2979,
1016,
1263,
6671,
4322,
13,
202,
95,
202,
202,
1952,
1459,
273,
446,
31,
202,
202,
698,
202,
202,
95,
1082,
202,
4071,
273,
10233,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1207,
774,
3244,
682,
3342,
12,
2979,
1016,
1263,
6671,
4322,
13,
202,
95,
202,
202,
1952,
1459,
273,
446,
31,
202,
202,
698,
202,
202,
95,
1082,
202,
4071,
273,
10233,
... |
writeFileHeader(project,(CmsFile)resource); | public void chown(A_CmsProject project, String filename, A_CmsUser newOwner) throws CmsException { CmsResource resource = null; // check if its a file or a folder if (filename.endsWith("/")) { //read the folder resource = readFolder(project,filename); ... | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/95a9c02f06acd3100278d024929b4b0d15ba4341/CmsRbFile.java/buggy/src/com/opencms/file/CmsRbFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
462,
995,
12,
37,
67,
4747,
4109,
1984,
16,
514,
1544,
16,
432,
67,
4747,
1299,
394,
5541,
13,
202,
202,
15069,
11228,
288,
540,
7630,
1058,
273,
446,
31,
7734,
368,
86... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
462,
995,
12,
37,
67,
4747,
4109,
1984,
16,
514,
1544,
16,
432,
67,
4747,
1299,
394,
5541,
13,
202,
202,
15069,
11228,
288,
540,
7630,
1058,
273,
446,
31,
7734,
368,
86... | |
synchronized (familyKey) { Collection currentListeners; if (familyListeners.containsKey(family)) { | synchronized (familyKey) { Collection currentListeners; if (familyListeners.containsKey(family)) { | void addListenerToFamily(Object family, IJobBusyListener listener) { synchronized (familyKey) { Collection currentListeners; if (familyListeners.containsKey(family)) { currentListeners = (Collection) familyListeners.get(family); } else { currentListeners = new HashSet(); } ... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/0e7fbc26f7d1b7769a0721c71fd17572c8432fd5/ProgressManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
12087,
774,
9203,
12,
921,
6755,
16,
467,
2278,
29289,
2223,
2991,
13,
288,
3639,
3852,
261,
9309,
653,
13,
288,
5411,
2200,
783,
5583,
31,
5411,
309,
261,
9309,
5583,
18,
12298,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
12087,
774,
9203,
12,
921,
6755,
16,
467,
2278,
29289,
2223,
2991,
13,
288,
3639,
3852,
261,
9309,
653,
13,
288,
5411,
2200,
783,
5583,
31,
5411,
309,
261,
9309,
5583,
18,
12298,
6... |
else | } else { | public void down(Event evt) { byte[] state; Address target, requester; StateTransferInfo info; StateHeader hdr; switch(evt.getType()) { case Event.TMP_VIEW: case Event.VIEW_CHANGE: handleViewChange((View)evt.getArg()); break; ... | 48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/61313a9e0df23feb018c54e39a23629fbea9461d/STATE_TRANSFER.java/buggy/src/org/jgroups/protocols/pbcast/STATE_TRANSFER.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2588,
12,
1133,
6324,
13,
288,
3639,
1160,
8526,
919,
31,
3639,
5267,
1018,
16,
19961,
31,
3639,
3287,
5912,
966,
1123,
31,
3639,
3287,
1864,
7723,
31,
3639,
1620,
12,
73,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2588,
12,
1133,
6324,
13,
288,
3639,
1160,
8526,
919,
31,
3639,
5267,
1018,
16,
19961,
31,
3639,
3287,
5912,
966,
1123,
31,
3639,
3287,
1864,
7723,
31,
3639,
1620,
12,
73,
11... |
Iterator iter = qControllers.iterator(); | Iterator iter = master.getControllers().iterator(); | public void cueChange(Collection qControllers) { // get all the current and pending cues String text = "<html><body>"; Iterator iter = qControllers.iterator(); boolean init = true; while (iter.hasNext()) { if (!init) text +="<br>"; init = false; QController qc = (QController)iter.next();... | 48962 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48962/7fde50a75c70ce36124c66b933acf38c05569440/DisplayCueChange.java/buggy/plugins/DisplayCueChange.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
276,
344,
3043,
12,
2532,
1043,
13745,
13,
288,
565,
368,
336,
777,
326,
783,
471,
4634,
276,
3610,
565,
514,
977,
273,
3532,
2620,
4438,
3432,
2984,
31,
565,
4498,
1400,
273... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
276,
344,
3043,
12,
2532,
1043,
13745,
13,
288,
565,
368,
336,
777,
326,
783,
471,
4634,
276,
3610,
565,
514,
977,
273,
3532,
2620,
4438,
3432,
2984,
31,
565,
4498,
1400,
273... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.