rem stringlengths 1 53.3k | add stringlengths 0 80.5k | context stringlengths 6 326k | meta stringlengths 141 403 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|---|
if (sj.getSplitter().getType()!=SIRSplitType.DUPLICATE && rep.splitter!=0) { pipe.add(makeFilter(pipe, "Pre_" + sj.getIdent(), makeSplitFilterBody(sj.getSplitter(), rep, sj.getInputType()), rate.pop, rate.pop, rate.pop, sj.getInputType())); } int index = sj.getParent().indexOf(sj); assert index>-1: | if (sj.getSplitter().getType()!=SIRSplitType.DUPLICATE && rep.splitter!=0) { pipe.add(makeFilter(pipe, "Pre_" + sj.getIdent(), makeSplitFilterBody(sj.getSplitter(), rep, sj.getInputType()), rate.pop, rate.pop, rate.pop, sj.getInputType())); } int index = sj.getParent().indexOf(sj); assert index>-1: | private static SIRPipeline makeFusedPipe(SIRSplitJoin sj, SRepInfo rep, SRate rate, SIRFilter newFilter) { SIRPipeline pipe = new SIRPipeline(sj.getParent(), newFilter.getName() + "_Wrap"); // make a dummy init function pipe.setInit(SIRStream.makeEmptyInit()); // make a splitFilter only ... | 47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/03ef03e314c1f2eb8688316cfd664d255ee4592c/FuseSimpleSplit.java/buggy/streams/src/at/dms/kjc/sir/lowering/fusion/FuseSimpleSplit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
5705,
54,
8798,
1221,
42,
3668,
11546,
12,
2320,
54,
5521,
4572,
30252,
16,
9944,
377,
348,
18933,
966,
2071,
16,
25083,
377,
348,
4727,
4993,
16,
25083,
377,
5705,
54,
1586,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5705,
54,
8798,
1221,
42,
3668,
11546,
12,
2320,
54,
5521,
4572,
30252,
16,
9944,
377,
348,
18933,
966,
2071,
16,
25083,
377,
348,
4727,
4993,
16,
25083,
377,
5705,
54,
1586,
... |
n.config.store(); | private boolean processLine(BufferedReader reader, OutputStream out) throws IOException { String line; StringBuffer outsb = new StringBuffer(); try { line = reader.readLine(); } catch (IOException e) { outsb.append("Bye... ("+e+")"); System.err.println("B... | 50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/53d62fcf9107325580908435fbbedb36fbfaf9d2/TextModeClientInterface.java/buggy/src/freenet/node/TextModeClientInterface.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
1207,
1670,
12,
17947,
2514,
2949,
16,
8962,
596,
13,
1216,
1860,
288,
3639,
514,
980,
31,
3639,
6674,
596,
18366,
273,
394,
6674,
5621,
3639,
775,
288,
5411,
980,
273,
2949,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
1207,
1670,
12,
17947,
2514,
2949,
16,
8962,
596,
13,
1216,
1860,
288,
3639,
514,
980,
31,
3639,
6674,
596,
18366,
273,
394,
6674,
5621,
3639,
775,
288,
5411,
980,
273,
2949,
... | |
protected int parseSortDirection(String direction) { if ("asc".equals(direction)) | protected int parseSortDirection( String direction ) { if ( "asc".equals( direction ) ) | protected int parseSortDirection(String direction) { if ("asc".equals(direction)) // $NON-NLS-1$ return ISortDefinition.SORT_ASC; if ("desc".equals(direction)) // $NON-NLS-1$ return ISortDefinition.SORT_DESC; assert false; return 0; } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/457851dcc056d96f2ec05106ceba68d3c8f9162c/ReportQueryBuilder.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/ReportQueryBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1117,
509,
1109,
4416,
8212,
12,
780,
4068,
13,
288,
1082,
202,
430,
7566,
3691,
9654,
14963,
12,
9855,
3719,
368,
271,
3993,
17,
5106,
17,
21,
8,
9506,
202,
2463,
467,
4416,
1852... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
1109,
4416,
8212,
12,
780,
4068,
13,
288,
1082,
202,
430,
7566,
3691,
9654,
14963,
12,
9855,
3719,
368,
271,
3993,
17,
5106,
17,
21,
8,
9506,
202,
2463,
467,
4416,
1852... |
byte[] tmp = new byte[1024]; | byte[] tmp = new byte[4096]; | public void writeResponse(final HttpResponse response) throws IOException { if (response == null) { return; } setKeepAlive(response.isKeepAlive()); ResponseWriter writer = new ResponseWriter(this.out, encoding); OutputStream outsream = this.out; writer.println(re... | 2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/830f14d690359c87b5d2a106a753cc5435fb3a76/HttpServerConnection.java/buggy/providers/http/src/java/org/mule/providers/http/HttpServerConnection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1045,
1064,
12,
6385,
9476,
766,
13,
1216,
1860,
288,
3639,
309,
261,
2740,
422,
446,
13,
288,
5411,
327,
31,
3639,
289,
3639,
444,
24456,
12,
2740,
18,
291,
24456,
10663,
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,
918,
1045,
1064,
12,
6385,
9476,
766,
13,
1216,
1860,
288,
3639,
309,
261,
2740,
422,
446,
13,
288,
5411,
327,
31,
3639,
289,
3639,
444,
24456,
12,
2740,
18,
291,
24456,
10663,
36... |
backoffLength = backoffLength * BACKOFF_MULTIPLIER; if(backoffLength > MAX_BACKOFF_LENGTH) backoffLength = MAX_BACKOFF_LENGTH; backedOffUntil = System.currentTimeMillis() + node.random.nextInt(backoffLength); | long now = System.currentTimeMillis(); if(now > backedOffUntil) { backoffLength = backoffLength * BACKOFF_MULTIPLIER; if(backoffLength > MAX_BACKOFF_LENGTH) backoffLength = MAX_BACKOFF_LENGTH; backedOffUntil = now + node.random.nextInt(backoffLength); } | public void localRejectedOverload() { synchronized(backoffSync) { backoffLength = backoffLength * BACKOFF_MULTIPLIER; if(backoffLength > MAX_BACKOFF_LENGTH) backoffLength = MAX_BACKOFF_LENGTH; backedOffUntil = System.currentTimeMillis() + node.random.nextInt(backoffLength); } } | 56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/0323f7d94a52efaba8ee266e43f63eb9b89e44b7/PeerNode.java/buggy/src/freenet/node/PeerNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1191,
19902,
4851,
945,
1435,
288,
202,
202,
22043,
12,
823,
3674,
4047,
13,
288,
1082,
202,
823,
3674,
1782,
273,
12260,
1782,
380,
15842,
8797,
67,
24683,
2053,
654,
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,
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,
1191,
19902,
4851,
945,
1435,
288,
202,
202,
22043,
12,
823,
3674,
4047,
13,
288,
1082,
202,
823,
3674,
1782,
273,
12260,
1782,
380,
15842,
8797,
67,
24683,
2053,
654,
31,
... |
public void addStreamConstruction(InstructionHandle streamConstruction, boolean isByteArray) { | public void addStreamConstruction(InstructionHandle streamConstruction, boolean isUninteresting) { if (DEBUG) System.out.println("Stream construction at " + streamConstruction.getPosition()); | public void addStreamConstruction(InstructionHandle streamConstruction, boolean isByteArray) { streamConstructionSet.set(streamConstruction.getPosition()); if (isByteArray) byteArrayStreamEscapeSet.set(streamConstruction.getPosition()); } | 7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/f06e1778b48ec5b3c9b4dcf6221a18bebef42e8e/FindOpenStream.java/clean/findbugs/src/java/edu/umd/cs/findbugs/detect/FindOpenStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
527,
1228,
25485,
12,
11983,
3259,
1407,
25485,
16,
1250,
353,
8826,
13,
288,
1082,
202,
3256,
25485,
694,
18,
542,
12,
3256,
25485,
18,
588,
2555,
10663,
1082,
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,
3196,
202,
482,
918,
527,
1228,
25485,
12,
11983,
3259,
1407,
25485,
16,
1250,
353,
8826,
13,
288,
1082,
202,
3256,
25485,
694,
18,
542,
12,
3256,
25485,
18,
588,
2555,
10663,
1082,
202,
430,
... |
String head = buildFromTermListElement(elementType, "(aterm.ATerm) children.get(0)"); println(" " + elementTypeName + " head = " + head + ";"); | String head = buildFromTermListElement(elementType, "(aterm.ATerm) children.get(0)"); println(" " + elementTypeName + " head = " + head + ";"); | private void genSeparatedListFromTermMethod(SeparatedListType type) { JavaGenerationParameters params = getJavaGenerationParameters(); String returnTypeName = TypeGenerator.qualifiedClassName(params, type); String className = TypeGenerator.className(type); String makeClassName = "make" + className; String manyPat... | 3664 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3664/76875cdfe2af0d6de4ab58a245cce8bd703a86ab/FactoryGenerator.java/buggy/apigen/src/apigen/gen/java/FactoryGenerator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3157,
28174,
682,
1265,
4065,
1305,
12,
28174,
19366,
618,
13,
288,
202,
202,
5852,
13842,
2402,
859,
273,
18911,
13842,
2402,
5621,
202,
202,
780,
327,
7947,
273,
1412,
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,
225,
202,
1152,
918,
3157,
28174,
682,
1265,
4065,
1305,
12,
28174,
19366,
618,
13,
288,
202,
202,
5852,
13842,
2402,
859,
273,
18911,
13842,
2402,
5621,
202,
202,
780,
327,
7947,
273,
1412,
3... |
AST tmp1944_AST_in = (AST)_t; | AST tmp1943_AST_in = (AST)_t; | public final void io_phrase(AST _t) throws RecognitionException { AST io_phrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case OSDIR: { AST __t1516 = _t; AST tmp1941_AST_in = (AST)_t; match(_t,OSDIR); _t = _t.getFirstChild(); AST tmp1942_AST_in ... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/041a16c78289f1c3ae5e575d3edc5e893a658e50/JPTreeParser.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
2527,
67,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
2527,
67,
9429,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2527,
67,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
2527,
67,
9429,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
... |
addChildren(newNode, oldChildren); | addChildren(newNode, oldChildren, texFile); | private void replaceInput(OutlineNode parent, List insertList) { // An input node should never have any children // We need to raise the level depending on the type of the 1st node in the new outline if (insertList.size() == 0) { return; } OutlineNode firstNode = (Outli... | 48893 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48893/9c4e1c7bf597d31da4d8bf1a289dcdf5f1207b5b/TexProjectOutline.java/clean/source/net/sourceforge/texlipse/outline/TexProjectOutline.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1453,
1210,
12,
21805,
907,
982,
16,
987,
2243,
682,
13,
288,
3639,
368,
1922,
810,
756,
1410,
5903,
1240,
1281,
2325,
3639,
368,
1660,
1608,
358,
1002,
326,
1801,
8353,
603,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1453,
1210,
12,
21805,
907,
982,
16,
987,
2243,
682,
13,
288,
3639,
368,
1922,
810,
756,
1410,
5903,
1240,
1281,
2325,
3639,
368,
1660,
1608,
358,
1002,
326,
1801,
8353,
603,
... |
if (result.length == 0) { result = ids; continue; } | public static Object[] getPropertyIds(Scriptable obj) { if (obj == null) { return ScriptRuntime.emptyArgs; } Object[] result = obj.getIds(); ObjToIntMap map = null; for (;;) { obj = obj.getPrototype(); if (obj == null) { break; ... | 47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/ca1cb7b63a606ad9ebce026afb7bf82dce396958/ScriptableObject.java/clean/src/org/mozilla/javascript/ScriptableObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
8526,
3911,
2673,
12,
3651,
429,
1081,
13,
565,
288,
3639,
309,
261,
2603,
422,
446,
13,
288,
5411,
327,
7739,
5576,
18,
5531,
2615,
31,
3639,
289,
3639,
1033,
8526,
56... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8526,
3911,
2673,
12,
3651,
429,
1081,
13,
565,
288,
3639,
309,
261,
2603,
422,
446,
13,
288,
5411,
327,
7739,
5576,
18,
5531,
2615,
31,
3639,
289,
3639,
1033,
8526,
56... | |
protected boolean addValueListObj (ValueListInterface valueListObj) | protected boolean addValueListObj (ValueList valueListObj) | protected boolean addValueListObj (ValueListInterface valueListObj) { if (valueListObj == null) return false; valueListObjects.add(valueListObj); hasValueListCompactDescription = true; return true; } | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/e92f58e5a11bd766546510f1fd24a8e2eb2b17a7/BaseObjectWithValueList.java/buggy/src/gov/nasa/gsfc/adc/xdf/BaseObjectWithValueList.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
4750,
1250,
17663,
682,
2675,
261,
24999,
460,
682,
2675,
13,
565,
288,
1377,
309,
261,
1132,
682,
2675,
422,
446,
13,
327,
629,
31,
1377,
460,
682,
4710,
18,
1289,
12,
1132,
682,
2675,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
565,
4750,
1250,
17663,
682,
2675,
261,
24999,
460,
682,
2675,
13,
565,
288,
1377,
309,
261,
1132,
682,
2675,
422,
446,
13,
327,
629,
31,
1377,
460,
682,
4710,
18,
1289,
12,
1132,
682,
2675,... |
if ( StringUtil.isBlank( theLocation ) ) return null; List libraries = getLibraries( ); for ( int i = 0; i < libraries.size( ); i++ ) { Library library = (Library) libraries.get( i ); if ( theLocation.equalsIgnoreCase( library.getLocation( ) ) ) return library; } return null; | return getLibraryByLocation( theLocation, IAccessControl.DIRECTLY_INCLUDED_LEVEL ); | public Library getLibraryByLocation( String theLocation ) { // if the location path is null or empty, return null if ( StringUtil.isBlank( theLocation ) ) return null; // look up the library with the location path in the included library // list List libraries = getLibraries( ); for ( int i = 0; i < libraries.... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/793ccf8b38eea384d9e69adb1fd0b2eefda2ad53/Module.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/Module.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
18694,
336,
9313,
858,
2735,
12,
514,
326,
2735,
262,
202,
95,
202,
202,
759,
309,
326,
2117,
589,
353,
446,
578,
1008,
16,
327,
446,
202,
202,
430,
261,
14205,
18,
291,
779... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18694,
336,
9313,
858,
2735,
12,
514,
326,
2735,
262,
202,
95,
202,
202,
759,
309,
326,
2117,
589,
353,
446,
578,
1008,
16,
327,
446,
202,
202,
430,
261,
14205,
18,
291,
779... |
public AbstractJdbc1ResultSet(org.postgresql.PGConnection conn, Statement statement, Field[] fields, Vector tuples, String status, int updateCount, long insertOID, boolean binaryCursor) | public AbstractJdbc1ResultSet(Statement statement, Field[] fields, Vector tuples, String status, int updateCount, long insertOID, boolean binaryCursor) | public AbstractJdbc1ResultSet(org.postgresql.PGConnection conn, Statement statement, Field[] fields, Vector tuples, String status, int updateCount, long insertOID, boolean binaryCursor) { this.connection = conn; this.statement = statement; this.fields = fields; this.rows = tuples; this.status = status; this.upda... | 49504 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49504/16a30346c86590fbdcd83cacd2a0a9dbd2cd00dc/AbstractJdbc1ResultSet.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4115,
25316,
21,
13198,
12,
3341,
18,
2767,
24330,
18,
18679,
1952,
1487,
16,
8056,
3021,
16,
2286,
8526,
1466,
16,
5589,
10384,
16,
514,
1267,
16,
509,
1089,
1380,
16,
1525,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4115,
25316,
21,
13198,
12,
3341,
18,
2767,
24330,
18,
18679,
1952,
1487,
16,
8056,
3021,
16,
2286,
8526,
1466,
16,
5589,
10384,
16,
514,
1267,
16,
509,
1089,
1380,
16,
1525,
... |
this.setTitleImage(TaskListImages.getImage(BugzillaImages.TASK_BUGZILLA)); | this.setTitleImage(TaskListImages.getImage(TaskListImages.TASK_REPOSITORY)); | public void init(IEditorSite site, IEditorInput editorInput) throws PartInitException { if (!(editorInput instanceof BugzillaTaskEditorInput)) throw new PartInitException("Invalid Input: Must be BugzillaTaskEditorInput"); super.init(site, (IEditorInput) new TaskEditorInput(((BugzillaTaskEditorInput) editorInput).g... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/58587634f519ad06cca1d48a81b99f2e4cf9285a/BugzillaTaskEditor.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaTaskEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1208,
12,
45,
6946,
4956,
2834,
16,
467,
6946,
1210,
4858,
1210,
13,
1216,
6393,
2570,
503,
288,
202,
202,
430,
16051,
12,
9177,
1210,
1276,
16907,
15990,
2174,
6946,
1210,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1208,
12,
45,
6946,
4956,
2834,
16,
467,
6946,
1210,
4858,
1210,
13,
1216,
6393,
2570,
503,
288,
202,
202,
430,
16051,
12,
9177,
1210,
1276,
16907,
15990,
2174,
6946,
1210,... |
getGrouping().setGroupingUnit(cmbUnit.getText()); | getGrouping().setGroupingUnit(GroupingUnitType.get(cmbUnit.getText())); | public void widgetSelected(SelectionEvent e) { Object oSource = e.getSource(); if (oSource.equals(cmbType)) { getGrouping().setGroupType(cmbType.getText()); boolean bEnableUI = btnEnabled.getSelection(); boolean bDate = cmbType.getText().equals("Date/Time"); ... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/869b9dc91ef4dd13d07f589c6394484a744642f0/SeriesGroupingComposite.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/SeriesGroupingComposite.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3604,
7416,
12,
6233,
1133,
425,
13,
565,
288,
3639,
1033,
320,
1830,
273,
425,
18,
588,
1830,
5621,
3639,
309,
261,
83,
1830,
18,
14963,
12,
71,
1627,
559,
3719,
3639,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3604,
7416,
12,
6233,
1133,
425,
13,
565,
288,
3639,
1033,
320,
1830,
273,
425,
18,
588,
1830,
5621,
3639,
309,
261,
83,
1830,
18,
14963,
12,
71,
1627,
559,
3719,
3639,
288,
... |
getLabelPosition( axaOverlayOrthogonal[i].getLabelPosition( ) ) ), | getLabelPosition( switchPosition( axaOverlayOrthogonal[i].getLabelPosition( ) ) ) ), | final void buildAxes( ) throws IllegalArgumentException, ChartException { final Axis[] axa = cwa.getPrimaryBaseAxes( ); final Axis axPrimaryBase = axa[0]; // NOTE: FOR REL 1 AXIS RENDERS, WE // SUPPORT A SINGLE PRIMARY BASE AXIS // ONLY if ( !axPrimaryBase.isSetOrientation( ) ) { axPrimaryBase.setOrientation( ... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/536b54a46b25aa99e427a2fbd8217e09108c905a/PlotWith2DAxes.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/PlotWith2DAxes.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6385,
918,
1361,
26494,
12,
262,
1216,
2754,
16,
14804,
503,
202,
95,
202,
202,
6385,
15509,
8526,
1740,
69,
273,
14098,
69,
18,
588,
6793,
2171,
26494,
12,
11272,
202,
202,
6385,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6385,
918,
1361,
26494,
12,
262,
1216,
2754,
16,
14804,
503,
202,
95,
202,
202,
6385,
15509,
8526,
1740,
69,
273,
14098,
69,
18,
588,
6793,
2171,
26494,
12,
11272,
202,
202,
6385,
... |
new AssignmentVisitor(runtime, self).assign(node.getArgsNode(), RubyArray.newArray(runtime, newList), pcall); | new AssignmentVisitor(runtime, self).assign(node.getArgsNode(), runtime.newArray(newList), pcall); | public IRubyObject mAssign(IRubyObject self, MultipleAsgnNode node, RubyArray value, boolean pcall) { // Assign the values. int valueLen = value.getLength(); int varLen = ListNodeUtil.getLength(node.getHeadNode()); Iterator iter = node.getHeadNode() != null ? node.getHeadNode().i... | 47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/870e1da9b41bfdbae259e1fc5f18fc8b76686998/ThreadContext.java/clean/src/org/jruby/runtime/ThreadContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
312,
4910,
12,
7937,
10340,
921,
365,
16,
13531,
37,
1055,
82,
907,
756,
16,
19817,
1076,
460,
16,
1250,
293,
1991,
13,
288,
3639,
368,
12093,
326,
924,
18,
363... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15908,
10340,
921,
312,
4910,
12,
7937,
10340,
921,
365,
16,
13531,
37,
1055,
82,
907,
756,
16,
19817,
1076,
460,
16,
1250,
293,
1991,
13,
288,
3639,
368,
12093,
326,
924,
18,
363... |
case ts.NAME: | case TokenStream.NAME: | private Object primaryExpr(TokenStream ts, Source source) throws IOException, JavaScriptException { int tt; Object pn; ts.flags |= ts.TSF_REGEXP; tt = ts.getToken(); ts.flags &= ~ts.TSF_REGEXP; switch(tt) { case ts.FUNCTION: return function(ts, s... | 7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/40ff06028a06e98171197c83b9b067a0c12f72ae/Parser.java/clean/js/rhino/src/org/mozilla/javascript/Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
3354,
4742,
12,
1345,
1228,
3742,
16,
4998,
1084,
13,
3639,
1216,
1860,
16,
11905,
503,
565,
288,
3639,
509,
3574,
31,
3639,
1033,
11059,
31,
3639,
3742,
18,
7133,
5626,
3742,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
3354,
4742,
12,
1345,
1228,
3742,
16,
4998,
1084,
13,
3639,
1216,
1860,
16,
11905,
503,
565,
288,
3639,
509,
3574,
31,
3639,
1033,
11059,
31,
3639,
3742,
18,
7133,
5626,
3742,... |
int head = (bytes[0] & 0xff) | ((bytes[1] << 8) & 0xff00); if (GZIPInputStream.GZIP_MAGIC == head) { ByteArrayInputStream bais = null; GZIPInputStream gzis = null; ByteArrayOutputStream baos = null; byte[] buffer = new byte[2048]; int length = 0; | if (sbiCrop == EQUALS_SIGN) break; } | public static byte[] decode(String s) { byte[] bytes; try { bytes = s.getBytes(PREFERRED_ENCODING); } // end try catch (UnsupportedEncodingException uee) { bytes = s.getBytes(); } // end catch // </change> // Decode bytes = decode(byte... | 2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/3ee92e7c91238513e92ad1541326dc4e521c5eeb/Base64.java/buggy/mule/src/java/org/mule/util/Base64.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1160,
8526,
2495,
12,
780,
272,
13,
565,
288,
3639,
1160,
8526,
1731,
31,
3639,
775,
288,
5411,
1731,
273,
272,
18,
588,
2160,
12,
3670,
17356,
67,
14672,
1769,
3639,
289,
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,
760,
1160,
8526,
2495,
12,
780,
272,
13,
565,
288,
3639,
1160,
8526,
1731,
31,
3639,
775,
288,
5411,
1731,
273,
272,
18,
588,
2160,
12,
3670,
17356,
67,
14672,
1769,
3639,
289,
36... |
if ((testAD.getOptions().length == 0 || testAD.getOptions()[0].getField() == null) && (testAD.getInternalName() == null || testAD.getInternalName().equals("") || | if ((testAD.getFilterList() == null || testAD.getFilterList().equals("")) && (testAD.getOptions().length == 0 || testAD.getOptions()[0].getField() == null) && (testAD.getInternalName() == null || testAD.getInternalName().equals("") || | public void validateAll() { try { if (ds == null) { JOptionPane.showMessageDialog(this, "Connect to database first", "ERROR", 0); return; } try { disableCursor(); String duplicationString = ""; String filterDuplicationString = ""; String brokenString = ""; String spaceErrors = ""; String ... | 2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/96a22e88a722b9a4a4101df8e283c8645a894542/MartEditor.java/buggy/src/java/org/ensembl/mart/editor/MartEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1954,
1595,
1435,
288,
202,
225,
775,
288,
202,
202,
430,
261,
2377,
422,
446,
13,
288,
1082,
225,
804,
1895,
8485,
18,
4500,
1079,
6353,
12,
2211,
16,
315,
5215,
358,
2063,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1954,
1595,
1435,
288,
202,
225,
775,
288,
202,
202,
430,
261,
2377,
422,
446,
13,
288,
1082,
225,
804,
1895,
8485,
18,
4500,
1079,
6353,
12,
2211,
16,
315,
5215,
358,
2063,
... |
private Composite createBasicInfoGroup(Composite parent, IResource resource) { Font font = parent.getFont(); Composite basicInfoComposite = new Composite(parent, SWT.NULL); GridLayout layout = new GridLayout(); layout.numColumns = 2; layout.marginWidth = 0; layout.marginHeight = 0; basicInfoComposite.setLayout(... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/820aee33b225e81a07684ae6a63aaf5e5ccf8e20/ResourceInfoPage.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ResourceInfoPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
14728,
752,
8252,
966,
1114,
12,
9400,
982,
16,
467,
1420,
1058,
13,
288,
202,
202,
5711,
3512,
273,
982,
18,
588,
5711,
5621,
202,
202,
9400,
5337,
966,
9400,
273,
394,
1472... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14728,
752,
8252,
966,
1114,
12,
9400,
982,
16,
467,
1420,
1058,
13,
288,
202,
202,
5711,
3512,
273,
982,
18,
588,
5711,
5621,
202,
202,
9400,
5337,
966,
9400,
273,
394,
1472... | ||
((SelectionState)sel).setIncomingButtonEnabled(false); Collection outs = ((MStateVertex)getOwner()).getOutgoings(); ((SelectionState)sel). | ((SelectionState) sel).setIncomingButtonEnabled(false); Collection outs = ((MStateVertex) getOwner()).getOutgoings(); ((SelectionState) sel). | public Selection makeSelection() { MPseudostate pstate = null; Selection sel = null; if (getOwner() != null) { pstate = (MPseudostate)getOwner(); if (pstate == null) return sel; if (pstate.getContainer().getStateMachine() instanceof MActivityGrap... | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/FigInitialState.java/buggy/src_new/org/argouml/uml/diagram/state/ui/FigInitialState.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
12977,
1221,
6233,
1435,
288,
3639,
13480,
23715,
669,
340,
293,
2019,
273,
446,
31,
3639,
12977,
357,
273,
446,
31,
3639,
309,
261,
588,
5541,
1435,
480,
446,
13,
288,
5411,
293,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12977,
1221,
6233,
1435,
288,
3639,
13480,
23715,
669,
340,
293,
2019,
273,
446,
31,
3639,
12977,
357,
273,
446,
31,
3639,
309,
261,
588,
5541,
1435,
480,
446,
13,
288,
5411,
293,
... |
public void updateSourceText(final Main.SourceInfo sourceInfo) | public void updateSourceText(final Dim.SourceInfo sourceInfo) | public void updateSourceText(final Main.SourceInfo sourceInfo) { SwingUtilities.invokeLater(new Runnable() { public void run() { String fileName = sourceInfo.url(); FileWindow w = getFileWindow(fileName); if (w != null) { ... | 13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/402fd02406157693f66b2c8e6819e17c0b5b3e8a/DebugGui.java/clean/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/DebugGui.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1089,
1830,
1528,
12,
6385,
463,
381,
18,
1830,
966,
1084,
966,
13,
565,
288,
3639,
26145,
11864,
18,
14407,
20607,
12,
2704,
10254,
1435,
288,
5411,
1071,
918,
1086,
1435,
541... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1089,
1830,
1528,
12,
6385,
463,
381,
18,
1830,
966,
1084,
966,
13,
565,
288,
3639,
26145,
11864,
18,
14407,
20607,
12,
2704,
10254,
1435,
288,
5411,
1071,
918,
1086,
1435,
541... |
if (x < 0) { throw new ArgumentError(recv.getRuntime(), "square root for negative number"); } | if (x < 0) { throw new ArgumentError(recv.getRuntime(), "square root for negative number"); } | public static RubyFloat sqrt(IRubyObject recv, IRubyObject other) { double x = RubyNumeric.numericValue(other).getDoubleValue(); if (x < 0) { throw new ArgumentError(recv.getRuntime(), "square root for negative number"); } return RubyFloat.newFloat(recv.getRuntime(), Math.sqrt(x)); } | 45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/1c602493a83e2050f401fa6925ec7e9269b45e4e/RubyMath.java/buggy/src/org/jruby/RubyMath.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
4723,
5700,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
1308,
13,
288,
202,
9056,
619,
273,
19817,
9902,
18,
5246,
620,
12,
3011,
2934,
588,
5265,
620,
5621,
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,
377,
1071,
760,
19817,
4723,
5700,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
1308,
13,
288,
202,
9056,
619,
273,
19817,
9902,
18,
5246,
620,
12,
3011,
2934,
588,
5265,
620,
5621,
202... |
String sortMode = ctx.pref(PREF_SORTMODE, PREF_SORTMODE_DEFAULT); CLDRFile cf = getUserFile(ctx, ctx.session.user, ctx.locale); CLDRDBSource ourSrc = (CLDRDBSource)ctx.getByLocale(USER_FILE + CLDRDBSRC); CheckCLDR checkCldr = (CheckCLDR)ctx.getByLocale(USER_FILE + CHECKCLDR); XPathParts pathParts = new XPathParts(nul... | public void showPathList(WebContext ctx, String xpath, String lastElement) { int count = 0; int dispCount = 0; int total = 0; int skip = 0; String fullThing = xpath + "/" + lastElement; boolean isTz = xpath.equals("timeZoneNames"); if(lastElement == null) { ... | 27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/10ccfe126293a4e5e988763ac1f087943beb73b4/SurveyMain.java/clean/tools/java/org/unicode/cldr/web/SurveyMain.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2405,
743,
682,
12,
4079,
1042,
1103,
16,
514,
6748,
16,
514,
1142,
1046,
13,
288,
3639,
509,
1056,
273,
374,
31,
3639,
509,
16232,
1380,
273,
374,
31,
3639,
509,
2078,
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,
377,
1071,
918,
2405,
743,
682,
12,
4079,
1042,
1103,
16,
514,
6748,
16,
514,
1142,
1046,
13,
288,
3639,
509,
1056,
273,
374,
31,
3639,
509,
16232,
1380,
273,
374,
31,
3639,
509,
2078,
273,
... | |
_logger.log(FQCN, Priority.DEBUG, message, null); | _logger.log(FQCN, Priority.DEBUG, _logPrefix + message, null); | public void debug(Object message) { _logger.log(FQCN, Priority.DEBUG, message, null); } | 45757 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45757/dd5371b261e79833cc61afa60cb0e5c539103a57/CallContext.java/buggy/src/java-server-framework/org/xins/server/CallContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1198,
12,
921,
883,
13,
288,
1377,
389,
4901,
18,
1330,
12,
23032,
12821,
16,
13354,
18,
9394,
16,
389,
1330,
2244,
397,
883,
16,
446,
1769,
282,
289,
2,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1198,
12,
921,
883,
13,
288,
1377,
389,
4901,
18,
1330,
12,
23032,
12821,
16,
13354,
18,
9394,
16,
389,
1330,
2244,
397,
883,
16,
446,
1769,
282,
289,
2,
-100,
-100,
-100,
... |
copyLine(zCLine); | readLine(zCLine); | protected static boolean readLine(TCPChunkEvent zEvent, XMSEnv zEnv, Pattern zEOLPattern) throws ReadException { /* by default, * when line is returned, * line position is set to 0 and * line limit indicates location of end of data */ ByteBuffer zLine = zEvent.chunk(... | 49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/86a2dd0f36f375f9bcbee1237fb2c565c37a9eba/MLHandler.java/buggy/tran/email/main/com/metavize/tran/email/MLHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
760,
1250,
12273,
12,
13891,
5579,
1133,
998,
1133,
16,
1139,
3537,
3491,
998,
3491,
16,
6830,
998,
5842,
3234,
13,
1216,
2720,
503,
565,
288,
3639,
1748,
635,
805,
16,
540,
380,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
1250,
12273,
12,
13891,
5579,
1133,
998,
1133,
16,
1139,
3537,
3491,
998,
3491,
16,
6830,
998,
5842,
3234,
13,
1216,
2720,
503,
565,
288,
3639,
1748,
635,
805,
16,
540,
380,
... |
/* * NB. * When we calculating the total time taken from first send to last receive, there is some * error involved due to the differences in network latency and other remoting overhead * when sending the jobs to be executed on potentially different remote machines. * We make the assumption that this this difference is... | long totalTimeTaken = results[1].endTime - results[0].startTime; | public void testQueue10() { log.info("Running test Queue10"); SenderJob sender = createDefaultSenderJob(queueName); sender.setNumMessages(numMessages); sender.setMsgSize(standardMessageSize); sender.setMf(new BytesMessageMessageFactory()); sender.setTransacted(false); sende... | 3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/854a630fe1e9177482e054121f2fd66ee7f5e035/PerfRunner.java/buggy/src/main/org/jboss/jms/perf/framework/PerfRunner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
3183,
2163,
1435,
282,
288,
1377,
613,
18,
1376,
2932,
7051,
1842,
7530,
2163,
8863,
5411,
15044,
2278,
5793,
273,
27346,
12021,
2278,
12,
4000,
461,
1769,
1377,
5793,
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,
565,
1071,
918,
1842,
3183,
2163,
1435,
282,
288,
1377,
613,
18,
1376,
2932,
7051,
1842,
7530,
2163,
8863,
5411,
15044,
2278,
5793,
273,
27346,
12021,
2278,
12,
4000,
461,
1769,
1377,
5793,
18,
... |
Number n = ts.getNumber(); | double n = ts.getNumber(); | private Object primaryExpr(TokenStream ts, Source source) throws IOException, JavaScriptException { int tt; Object pn; ts.flags |= ts.TSF_REGEXP; tt = ts.getToken(); ts.flags &= ~ts.TSF_REGEXP; switch(tt) { case TokenStream.FUNCTION: return funct... | 11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/7ccac99fc4afd0cd5469bd44ae3946000b375b68/Parser.java/clean/js/rhino/src/org/mozilla/javascript/Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
3354,
4742,
12,
1345,
1228,
3742,
16,
4998,
1084,
13,
3639,
1216,
1860,
16,
11905,
503,
565,
288,
3639,
509,
3574,
31,
3639,
1033,
11059,
31,
3639,
3742,
18,
7133,
5626,
3742,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
3354,
4742,
12,
1345,
1228,
3742,
16,
4998,
1084,
13,
3639,
1216,
1860,
16,
11905,
503,
565,
288,
3639,
509,
3574,
31,
3639,
1033,
11059,
31,
3639,
3742,
18,
7133,
5626,
3742,... |
public SpecificInstanceTracker(String base, String instances) { this(SnmpObjId.get(base), instances); | public SpecificInstanceTracker(SnmpObjId base, String instances) { m_base = base; StringTokenizer tokenizer = new StringTokenizer(instances, ","); m_instances = new SnmpInstId[tokenizer.countTokens()]; int index = 0; while (tokenizer.hasMoreTokens()) { String token = tokenizer.nextToken(); SnmpInstId inst = new SnmpIns... | public SpecificInstanceTracker(String base, String instances) { this(SnmpObjId.get(base), instances); } | 25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/1023376c2927fb28c1107842c8cb0ced3e02f3d2/SpecificInstanceTracker.java/buggy/src/services/org/opennms/netmgt/collectd/SpecificInstanceTracker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
23043,
1442,
8135,
12,
780,
1026,
16,
514,
3884,
13,
288,
3639,
333,
12,
10461,
1291,
2675,
548,
18,
588,
12,
1969,
3631,
3884,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
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,
23043,
1442,
8135,
12,
780,
1026,
16,
514,
3884,
13,
288,
3639,
333,
12,
10461,
1291,
2675,
548,
18,
588,
12,
1969,
3631,
3884,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-1... |
txtMultiplier = new Text( this, SWT.BORDER | SWT.SINGLE ); | txtMultiplier = new LocalizedNumberEditorComposite( this, SWT.BORDER | SWT.SINGLE ); | private void placeComponents( ) { GridLayout glNumberStandard = new GridLayout( ); glNumberStandard.verticalSpacing = 5; glNumberStandard.numColumns = 4; glNumberStandard.marginHeight = 2; glNumberStandard.marginWidth = 2; GridData gdGRPNumberStandard = new GridData( GridData.FILL_BOTH ); this.setLayou... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/b4af538a965cb0e1f8d2bb2eae5ded0b03c86f83/FormatSpecifierComposite.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/FormatSpecifierComposite.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1152,
918,
3166,
7171,
12,
262,
202,
202,
95,
1082,
202,
6313,
3744,
5118,
1854,
8336,
273,
394,
7145,
3744,
12,
11272,
1082,
202,
7043,
1854,
8336,
18,
17824,
18006,
273,
1381,
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,
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,
1152,
918,
3166,
7171,
12,
262,
202,
202,
95,
1082,
202,
6313,
3744,
5118,
1854,
8336,
273,
394,
7145,
3744,
12,
11272,
1082,
202,
7043,
1854,
8336,
18,
17824,
18006,
273,
1381,
31,... |
else if (tag.equals(HTML.Tag.LI) || tag.equals(HTML.Tag.DL) || tag.equals(HTML.Tag.DD) || tag.equals(HTML.Tag.BODY) || tag.equals(HTML.Tag.HTML) || tag.equals(HTML.Tag.CENTER) || tag.equals(HTML.Tag.DIV) || tag.equals(HTML.Tag.BLOCKQUOTE) || tag.equals(HTML.Tag.PRE)) | else if (tag == HTML.Tag.LI || tag == HTML.Tag.DL || tag == HTML.Tag.DD || tag == HTML.Tag.BODY || tag == HTML.Tag.HTML || tag == HTML.Tag.CENTER || tag == HTML.Tag.DIV || tag == HTML.Tag.BLOCKQUOTE || tag == HTML.Tag.PRE || tag == HTML.Tag.FORM || tag == HTML.Tag.TD || tag == HTML.Tag.TH) | public View create(Element element) { View view = null; Object attr = element.getAttributes().getAttribute(StyleConstants.NameAttribute); if (attr instanceof HTML.Tag) { HTML.Tag tag = (HTML.Tag) attr; if (tag.equals(HTML.Tag.IMPLIED) || tag.equals(HTML.Tag.P) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a3e083d3100ebabbd539297b5cb2118701b9674e/HTMLEditorKit.java/clean/core/src/classpath/javax/javax/swing/text/html/HTMLEditorKit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4441,
752,
12,
1046,
930,
13,
565,
288,
1377,
4441,
1476,
273,
446,
31,
1377,
1033,
1604,
273,
3639,
930,
18,
588,
2498,
7675,
588,
1499,
12,
2885,
2918,
18,
461,
1499,
1769,
1377... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4441,
752,
12,
1046,
930,
13,
565,
288,
1377,
4441,
1476,
273,
446,
31,
1377,
1033,
1604,
273,
3639,
930,
18,
588,
2498,
7675,
588,
1499,
12,
2885,
2918,
18,
461,
1499,
1769,
1377... |
String result = super.computeContentDescription(); if (result.equals("")) { String title = getRawTitle(); String partName = computePartName(); | if (part instanceof IWorkbenchPart2) { return super.computeContentDescription(); } else { String rawTitle = getRawTitle(); | protected String computeContentDescription() { String result = super.computeContentDescription(); if (result.equals("")) { //$NON-NLS-1$ String title = getRawTitle(); String partName = computePartName(); if (!Util.equals(title, partName)) { result = title; } } return result; } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/28f4ed5e8dfb04b7279f48de337c3c6c1a8836af/ViewFactory.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ViewFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1117,
514,
3671,
1350,
3291,
1435,
288,
1082,
202,
780,
563,
273,
2240,
18,
9200,
1350,
3291,
5621,
25083,
202,
430,
261,
2088,
18,
14963,
2932,
6,
3719,
288,
4329,
3993,
17,
5106,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
3671,
1350,
3291,
1435,
288,
1082,
202,
780,
563,
273,
2240,
18,
9200,
1350,
3291,
5621,
25083,
202,
430,
261,
2088,
18,
14963,
2932,
6,
3719,
288,
4329,
3993,
17,
5106,
... |
public MuInteger(int i) { value = i; } | public MuInteger() {} | public MuInteger(int i) { value = i; } | 12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/138f20229c83cf2d3cf5a3d4dedd714f183d58c6/MuInteger.java/buggy/modules/common/src/java/org/apache/geronimo/common/mutable/MuInteger.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
490,
89,
4522,
12,
474,
277,
13,
288,
3639,
460,
273,
277,
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,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
490,
89,
4522,
12,
474,
277,
13,
288,
3639,
460,
273,
277,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
public VALUE nd_lit() { return (VALUE)u1; } | public RubyObject nd_lit() { return (RubyObject)u1; } | public VALUE nd_lit() { return (VALUE)u1; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/NODE.java/clean/org/jruby/original/NODE.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5848,
5346,
67,
24235,
1435,
288,
327,
261,
4051,
13,
89,
21,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5848,
5346,
67,
24235,
1435,
288,
327,
261,
4051,
13,
89,
21,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
if ( this.checkboxes != null ) { for ( int loop = 0; loop < this.checkboxes.length; loop++ ) { if ( this.checkboxes[loop].getState() == true ) { retval = loop; break; } } | int[] choices = super.getChoices(); if ( null != choices && choices.length > 0 ) { retval = choices[0]; | public int getChoice() { int retval = -1; // Which checkbox was selected? // Handle choiceless dialogs. if ( this.checkboxes != null ) { for ( int loop = 0; loop < this.checkboxes.length; loop++ ) { if ( this.checkboxes[loop].getState() == true ) { ... | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/eaf4e0dbb0100e4bc279f36d58f100c6589a80ae/SingleChoiceDialog.java/buggy/megamek/src/megamek/client/ui/AWT/SingleChoiceDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
336,
10538,
1435,
288,
3639,
509,
5221,
273,
300,
21,
31,
3639,
368,
21918,
11832,
1703,
3170,
35,
3639,
368,
5004,
5011,
335,
12617,
7609,
14072,
18,
3639,
309,
261,
333,
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,
1071,
509,
336,
10538,
1435,
288,
3639,
509,
5221,
273,
300,
21,
31,
3639,
368,
21918,
11832,
1703,
3170,
35,
3639,
368,
5004,
5011,
335,
12617,
7609,
14072,
18,
3639,
309,
261,
333,
18,
... |
case 10 : | case 11 : | final void MoreLexicalActions(){ jjimageLen += (lengthOfMatch = jjmatchedPos + 1); switch(jjmatchedKind) { case 8 : if (image == null) image = new StringBuffer(new String(input_stream.GetSuffix(jjimageLen))); else image.append(new String(input_stream.GetSuffix(jjimageL... | 55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/983675edbbab0e381643fec9c2a3e765c2f88830/ParserTokenManager.java/buggy/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
727,
918,
16053,
14756,
1706,
6100,
1435,
95,
282,
10684,
2730,
2891,
1011,
261,
2469,
951,
2060,
273,
10684,
11073,
1616,
397,
404,
1769,
282,
1620,
12,
78,
78,
11073,
5677,
13,
282,
288,
137... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
918,
16053,
14756,
1706,
6100,
1435,
95,
282,
10684,
2730,
2891,
1011,
261,
2469,
951,
2060,
273,
10684,
11073,
1616,
397,
404,
1769,
282,
1620,
12,
78,
78,
11073,
5677,
13,
282,
288,
137... |
throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR); | throw new DomDOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR); | public void deleteData(int offset, int count) { if (isReadonly()) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR); } char[] raw = text.toCharArray(); if (offset < 0 || count < 0 || offset > raw.length) { throw new DomEx(DomEx.INDEX_SIZE_ERR); } if ((offset + count) ... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomCharacterData.java/clean/core/src/classpath/gnu/gnu/xml/dom/DomCharacterData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1430,
751,
12,
474,
1384,
16,
509,
1056,
13,
225,
288,
565,
309,
261,
291,
1994,
3700,
10756,
1377,
288,
3639,
604,
394,
12965,
8168,
503,
12,
8168,
503,
18,
3417,
67,
6720,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1430,
751,
12,
474,
1384,
16,
509,
1056,
13,
225,
288,
565,
309,
261,
291,
1994,
3700,
10756,
1377,
288,
3639,
604,
394,
12965,
8168,
503,
12,
8168,
503,
18,
3417,
67,
6720,
... |
if ( date[utc]!=0 ) { | if ( date.utc!=0 ) { | protected int[] parse(String str) throws SchemaDateTimeException{ int len = str.length(); int[] date = new int[TOTAL_SIZE]; int[] timeZone = new int[2]; // time // initialize to default values date[CY]=YEAR; date[M]=MONTH; date[D]=DAY; getTime(str, 0, l... | 4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/7569f1e56b929395f70c2717a33b9ea5e6583d7a/TimeDV.java/buggy/src/org/apache/xerces/impl/dv/xs/TimeDV.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
8526,
1109,
12,
780,
609,
13,
1216,
4611,
5096,
503,
95,
3639,
509,
562,
273,
609,
18,
2469,
5621,
3639,
509,
8526,
1509,
273,
394,
509,
63,
28624,
67,
4574,
15533,
3639,
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,
4750,
509,
8526,
1109,
12,
780,
609,
13,
1216,
4611,
5096,
503,
95,
3639,
509,
562,
273,
609,
18,
2469,
5621,
3639,
509,
8526,
1509,
273,
394,
509,
63,
28624,
67,
4574,
15533,
3639,
509... |
mol.addBond(0, 1, 2); mol.addBond(1, 2, 1); mol.addBond(2, 3, 1); mol.addBond(3, 4, 1); mol.addBond(4, 5, 1); mol.addBond(5, 0, 1); mol.addBond(0, 6, 1); mol.addBond(3, 7, 1); mol.addBond(5, 7, 1); mol.addBond(7, 8, 1); mol.addBond(7, 9, 1); | mol.addBond(0, 1, 2.0); mol.addBond(1, 2, 1.0); mol.addBond(2, 3, 1.0); mol.addBond(3, 4, 1.0); mol.addBond(4, 5, 1.0); mol.addBond(5, 0, 1.0); mol.addBond(0, 6, 1.0); mol.addBond(3, 7, 1.0); mol.addBond(5, 7, 1.0); mol.addBond(7, 8, 1.0); mol.addBond(7, 9, 1.0); | public static Molecule makeAlphaPinene() { Molecule mol = new Molecule(); mol.addAtom(new Atom("C")); // 1 mol.addAtom(new Atom("C")); // 2 mol.addAtom(new Atom("C")); // 3 mol.addAtom(new Atom("C")); // 4 mol.addAtom(new Atom("C")); // 5 mol.addAtom(new Atom("C")); // 6 mol.addAtom(new Atom("C")); // 7 mol.a... | 45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/da8866755e9369bf3d50a09256d25117f5e93c64/MoleculeFactory.java/buggy/src/org/openscience/cdk/templates/MoleculeFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
490,
10545,
1221,
9690,
12178,
4009,
1435,
288,
202,
202,
29669,
12629,
273,
394,
490,
10545,
5621,
202,
202,
21260,
18,
1289,
3641,
12,
2704,
7149,
2932,
39,
7923,
1769,
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,
225,
202,
482,
760,
490,
10545,
1221,
9690,
12178,
4009,
1435,
288,
202,
202,
29669,
12629,
273,
394,
490,
10545,
5621,
202,
202,
21260,
18,
1289,
3641,
12,
2704,
7149,
2932,
39,
7923,
1769,
3... |
form.getBody().setBackground(parent.getBackground()); | protected final Control createDialogArea(final Composite parent) { // parent.setData(FormToolkit.KEY_DRAW_BORDER, FormToolkit.TEXT_BORDER); GridLayout parentLayout = new GridLayout(); parentLayout.marginHeight = 0; parentLayout.marginWidth = 0; parent.setLayout(parentLayout); toolkit = new FormToolkit(parent.get... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/e4745d47452016e0b48c8ec8b433b027f7491a12/TaskListNotificationPopup.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/TaskListNotificationPopup.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
727,
8888,
752,
6353,
5484,
12,
6385,
14728,
982,
13,
288,
202,
202,
759,
982,
18,
542,
751,
12,
1204,
6364,
8691,
18,
3297,
67,
40,
10821,
67,
38,
7954,
16,
2748,
6364,
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,
1117,
727,
8888,
752,
6353,
5484,
12,
6385,
14728,
982,
13,
288,
202,
202,
759,
982,
18,
542,
751,
12,
1204,
6364,
8691,
18,
3297,
67,
40,
10821,
67,
38,
7954,
16,
2748,
6364,
86... | |
private BufferType ( long offset, ByteBuffer buffer ) { if ( offset < 0 ) throw new IllegalArgumentException ( "offset < 0" ); | private BufferType(long offset, ByteBuffer buffer) { if (offset < 0) throw new IllegalArgumentException ("offset < 0"); | private BufferType ( long offset, ByteBuffer buffer ) { if ( offset < 0 ) throw new IllegalArgumentException ( "offset < 0" ); this.buffer = buffer; this.offset = offset; this.length = buffer.remaining(); this.ofsR = (int)(offset % alignment); this.lst = offset + length; thi... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/63b8a00eb4a060a1688070c40c709ac44fefbeac/BlockAlignmentSupport.java/buggy/fs/src/driver/org/jnode/driver/block/BlockAlignmentSupport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
3525,
559,
261,
1525,
1384,
16,
7400,
1613,
262,
288,
202,
565,
309,
261,
1384,
411,
374,
262,
202,
202,
12849,
394,
2754,
1082,
565,
261,
315,
3348,
411,
374,
6,
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,
1152,
3525,
559,
261,
1525,
1384,
16,
7400,
1613,
262,
288,
202,
565,
309,
261,
1384,
411,
374,
262,
202,
202,
12849,
394,
2754,
1082,
565,
261,
315,
3348,
411,
374,
6,
11272,
202,... |
StringBuffer result = new StringBuffer(); Object[] srcData = new Object[1]; decompile_r(f, version, indent, true, justbody, srcData, result); return result.toString(); | StringBuffer result = new StringBuffer(); Object[] srcData = new Object[1]; int type = f.fromFunctionConstructor ? CONSTRUCTED_FUNCTION : TOP_LEVEL_SCRIPT_OR_FUNCTION; Object fdata; if (f instanceof InterpretedFunction) { fdata = ((InterpretedFunction)f).itsData; } else if (f instanceof InterpretedScript) { fdata =... | static String decompile(NativeFunction f, int version, int indent, boolean justbody) { StringBuffer result = new StringBuffer(); Object[] srcData = new Object[1]; decompile_r(f, version, indent, true, justbody, srcData, result); return result.toS... | 13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/784105585e3419e7ef2146454d92ee945f966e99/Parser.java/clean/js/rhino/src/org/mozilla/javascript/Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
514,
443,
11100,
12,
9220,
2083,
284,
16,
509,
1177,
16,
18701,
509,
3504,
16,
1250,
2537,
3432,
13,
565,
288,
6647,
6674,
563,
273,
394,
6674,
5621,
6647,
1033,
8526,
1705,
751,
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,
377,
760,
514,
443,
11100,
12,
9220,
2083,
284,
16,
509,
1177,
16,
18701,
509,
3504,
16,
1250,
2537,
3432,
13,
565,
288,
6647,
6674,
563,
273,
394,
6674,
5621,
6647,
1033,
8526,
1705,
751,
2... |
else if (leaf.uri == element.uri && | else if (fElemMapType[elemIndex] == fLeafListType[leafIndex] && leaf.uri == element.uri && | private void buildDFA(CMNode syntaxTree) throws CMException { // // The first step we need to take is to rewrite the content model // using our CMNode objects, and in the process get rid of any // repetition short cuts, converting them into '*' style repetitions // or getti... | 4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/c54b68add9b5f2eaf16816be257f2f98ab7a93a0/DFAContentModel.java/clean/src/org/apache/xerces/validators/common/DFAContentModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1361,
40,
2046,
12,
9611,
907,
6279,
2471,
13,
1216,
15871,
503,
565,
288,
3639,
368,
3639,
368,
225,
1021,
1122,
2235,
732,
1608,
358,
4862,
353,
358,
10738,
326,
913,
938,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1361,
40,
2046,
12,
9611,
907,
6279,
2471,
13,
1216,
15871,
503,
565,
288,
3639,
368,
3639,
368,
225,
1021,
1122,
2235,
732,
1608,
358,
4862,
353,
358,
10738,
326,
913,
938,
... |
alignStr = "right"; | alignStr = "right"; | public String toString() { /* The format is based on 1.5 release behavior * which can be revealed by the following code: * System.out.println(new FlowLayout()); */ toolkit.lockAWT(); try { String alignStr; switch (alignment) { case LEFT:... | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/3b500ee5922bc7890c276ddee76f1520b369f2fd/FlowLayout.java/buggy/modules/awt/src/main/java/common/java/awt/FlowLayout.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
1435,
288,
3639,
1748,
1021,
740,
353,
2511,
603,
404,
18,
25,
3992,
6885,
1850,
380,
1492,
848,
506,
283,
537,
18931,
635,
326,
3751,
981,
30,
540,
380,
2332,
18,
659,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
288,
3639,
1748,
1021,
740,
353,
2511,
603,
404,
18,
25,
3992,
6885,
1850,
380,
1492,
848,
506,
283,
537,
18931,
635,
326,
3751,
981,
30,
540,
380,
2332,
18,
659,... |
public static WeaponType createAC2() { WeaponType weapon = new WeaponType(); weapon.name = "Auto Cannon/2"; weapon.internalName = weapon.name; weapon.mepName = "IS Auto Cannon/2"; weapon.mtfName = "ISAC2"; weapon.heat = 1; weapon.damage = 2; weapon.rac... | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/19768fb3c0b30b271bc193aa54683c8592962b26/WeaponType.java/clean/megamek/src/megamek/common/WeaponType.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1660,
28629,
559,
752,
2226,
22,
1435,
288,
3639,
1660,
28629,
559,
732,
28629,
273,
394,
1660,
28629,
559,
5621,
7734,
732,
28629,
18,
529,
273,
315,
4965,
385,
1072,
265,
19,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1660,
28629,
559,
752,
2226,
22,
1435,
288,
3639,
1660,
28629,
559,
732,
28629,
273,
394,
1660,
28629,
559,
5621,
7734,
732,
28629,
18,
529,
273,
315,
4965,
385,
1072,
265,
19,... | ||
public MessageExchangeDAOImpl(char direction, BPELDAOConnectionImpl connection){ _direction = direction; _connection = connection; } | public MessageExchangeDAOImpl() {} | public MessageExchangeDAOImpl(char direction, BPELDAOConnectionImpl connection){ _direction = direction; _connection = connection; } | 45373 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45373/a87f9dfec1206450be7fc112ac3df5924922ffd2/MessageExchangeDAOImpl.java/clean/dao-jpa/src/main/java/org/apache/ode/dao/jpa/MessageExchangeDAOImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2350,
11688,
18485,
2828,
12,
3001,
4068,
16,
605,
1423,
48,
18485,
1952,
2828,
1459,
15329,
202,
202,
67,
9855,
273,
4068,
31,
202,
202,
67,
4071,
273,
1459,
31,
202,
97,
2,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2350,
11688,
18485,
2828,
12,
3001,
4068,
16,
605,
1423,
48,
18485,
1952,
2828,
1459,
15329,
202,
202,
67,
9855,
273,
4068,
31,
202,
202,
67,
4071,
273,
1459,
31,
202,
97,
2,
... |
OpenLogDialog openDialog = new OpenLogDialog(tableTreeViewer.getControl().getShell(), inputFile); openDialog.create(); openDialog.open(); | Program p = Program.findProgram (".txt"); if (p != null) p.execute (inputFile.getAbsolutePath()); else { OpenLogDialog openDialog = new OpenLogDialog(tableTreeViewer.getControl().getShell(), inputFile); openDialog.create(); openDialog.open(); } | public void run(){ if (inputFile.exists()){ boolean canLaunch = Program.launch(inputFile.getAbsolutePath()); if (!canLaunch){ OpenLogDialog openDialog = new OpenLogDialog(tableTreeViewer.getControl().getShell(), inputFile); openDialog.create(); openDialog.open(); } } } | 14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/354eea02384616eb56d408daad77d1325ab9a1f7/LogView.java/buggy/ui/org.eclipse.pde.runtime/src/org/eclipse/pde/internal/runtime/logview/LogView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1086,
1435,
95,
6862,
9506,
202,
430,
261,
2630,
812,
18,
1808,
10756,
95,
6862,
202,
6494,
848,
9569,
273,
13586,
18,
20738,
12,
2630,
812,
18,
588,
10368,
743,
10663,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1875,
202,
482,
918,
1086,
1435,
95,
6862,
9506,
202,
430,
261,
2630,
812,
18,
1808,
10756,
95,
6862,
202,
6494,
848,
9569,
273,
13586,
18,
20738,
12,
2630,
812,
18,
588,
10368,
743,
10663,
... |
toSort = new ArrayList(Arrays.asList(new Object[] {md[1], md[2], md[0]})); | toSort = new ArrayList(Arrays.asList(new Object[] {md[1], md[2], md[0], md[3]})); | public void testSort() { ModuleRevisionId mrid1 = ModuleRevisionId.newInstance("org", "md1", "rev1"); ModuleRevisionId mrid2 = ModuleRevisionId.newInstance("org", "md2", "rev2"); ModuleRevisionId mrid3 = ModuleRevisionId.newInstance("org", "md3", "rev3"); DefaultModuleDescriptor[] md = new DefaultModul... | 2718 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2718/65c0bcdd0672a0c82f431bd7d64f8c4dc232a236/SortTest.java/buggy/test/java/fr/jayasoft/ivy/SortTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
4416,
1435,
288,
202,
565,
5924,
7939,
548,
312,
1691,
21,
273,
5924,
7939,
548,
18,
2704,
1442,
2932,
3341,
3113,
315,
1264,
21,
3113,
315,
9083,
21,
8863,
202,
56... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1842,
4416,
1435,
288,
202,
565,
5924,
7939,
548,
312,
1691,
21,
273,
5924,
7939,
548,
18,
2704,
1442,
2932,
3341,
3113,
315,
1264,
21,
3113,
315,
9083,
21,
8863,
202,
56... |
if(finalAttr != null) | if(finalAttr != null) | private int traverseSimpleTypeDecl( Element simpleTypeDecl ) throws Exception { String nameProperty = simpleTypeDecl.getAttribute( SchemaSymbols.ATT_NAME ); String qualifiedName = nameProperty; if (fTargetNSURIString.length () != 0) { qualifiedName = fTarget... | 1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/87731f2b2070ba79da173a5e6be82410b096d7c5/TraverseSchema.java/buggy/src/org/apache/xerces/validators/schema/TraverseSchema.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
10080,
5784,
559,
3456,
12,
3010,
4143,
559,
3456,
262,
1216,
1185,
288,
13491,
514,
508,
1396,
1850,
273,
225,
4143,
559,
3456,
18,
588,
1499,
12,
4611,
14821,
18,
789,
56,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10080,
5784,
559,
3456,
12,
3010,
4143,
559,
3456,
262,
1216,
1185,
288,
13491,
514,
508,
1396,
1850,
273,
225,
4143,
559,
3456,
18,
588,
1499,
12,
4611,
14821,
18,
789,
56,
... |
String simpleId; String namespaceName; | private void parseExtensionAttributes(Attributes attributes) { Extension currentExtension = registry.getElementFactory().createExtension(contribution.shouldPersist()); objectStack.push(currentExtension); // Process Attributes int len = (attributes != null) ? attributes.getLength() : 0; for (int i = 0; i < len; i+... | 13530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13530/b551ea940581859ec1058c5109d0bb28e0729501/ExtensionsParser.java/buggy/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionsParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1109,
3625,
2498,
12,
2498,
1677,
13,
288,
202,
202,
3625,
783,
3625,
273,
4023,
18,
21336,
1733,
7675,
2640,
3625,
12,
591,
4027,
18,
13139,
12771,
10663,
202,
202,
1612,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1109,
3625,
2498,
12,
2498,
1677,
13,
288,
202,
202,
3625,
783,
3625,
273,
4023,
18,
21336,
1733,
7675,
2640,
3625,
12,
591,
4027,
18,
13139,
12771,
10663,
202,
202,
1612,... | |
public Properties getSessionProperties(SessionID sessionID) throws ConfigError { Properties p = (Properties) sections.get(sessionID); if (p == null) { throw new ConfigError("Session not found"); } return p; } | public Properties getSessionProperties(SessionID sessionID) throws ConfigError { Properties p = (Properties) sections.get(sessionID); if (p == null) { throw new ConfigError("Session not found"); } return p; } | public Properties getSessionProperties(SessionID sessionID) throws ConfigError { Properties p = (Properties) sections.get(sessionID); if (p == null) { throw new ConfigError("Session not found"); } return p; } | 52526 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52526/0b50faa81abcbc6bac1464260bb0863ee46fc5a2/SessionSettings.java/buggy/src/quickfix/SessionSettings.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6183,
7183,
2297,
12,
2157,
734,
13737,
13,
1216,
1903,
668,
288,
3639,
6183,
293,
273,
261,
2297,
13,
7178,
18,
588,
12,
17255,
1769,
3639,
309,
261,
84,
422,
446,
13,
288,
5411,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6183,
7183,
2297,
12,
2157,
734,
13737,
13,
1216,
1903,
668,
288,
3639,
6183,
293,
273,
261,
2297,
13,
7178,
18,
588,
12,
17255,
1769,
3639,
309,
261,
84,
422,
446,
13,
288,
5411,... |
assertTrue("Deleted incorrect char", testBuffer.toString().equals( "Thi is a test buffer")); | assertEquals("Deleted incorrect char", "Thi is a test buffer", testBuffer.toString()); | public void test_deleteCharAtI() { // Test for method java.lang.StringBuffer // java.lang.StringBuffer.deleteCharAt(int) testBuffer.deleteCharAt(3); assertTrue("Deleted incorrect char", testBuffer.toString().equals( "Thi is a test buffer")); } | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/181e940cd92dfff67639d98e991206d375a987ea/StringBufferTest.java/buggy/modules/luni/src/test/java/tests/api/java/lang/StringBufferTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
67,
3733,
2156,
861,
45,
1435,
288,
202,
202,
759,
7766,
364,
707,
2252,
18,
4936,
18,
780,
1892,
202,
202,
759,
2252,
18,
4936,
18,
780,
1892,
18,
3733,
2156,
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,
1842,
67,
3733,
2156,
861,
45,
1435,
288,
202,
202,
759,
7766,
364,
707,
2252,
18,
4936,
18,
780,
1892,
202,
202,
759,
2252,
18,
4936,
18,
780,
1892,
18,
3733,
2156,
86... |
this.writePermanentRedirect(ctx, "Not enough meta-strings", "/" + URLEncoder.encode(key.toString(false)) + "/"); | this.writePermanentRedirect(ctx, "Not enough meta-strings", '/' + URLEncoder.encode(key.toString(false)) + '/'); | public void handleGet(URI uri, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { //String ks = uri.toString(); String ks = uri.getPath(); HTTPRequest httprequest = new HTTPRequest(uri); if (ks.equals("/")) { if (httprequest.isParameterSet("key")) { MultiValueTab... | 46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/62fd59041864b4ed1f43adc676de6bfb5ea977f3/FProxyToadlet.java/buggy/src/freenet/clients/http/FProxyToadlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1875,
202,
15069,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
202,
202,
759,
780,
1165... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1875,
202,
15069,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
202,
202,
759,
780,
1165... |
System.out.println( "maven.home = /path/to/m2/installtion" ); | System.out.println( "maven.home = /path/to/m2/installation" ); | public void run( String[] args ) throws Exception { File mavenPropertiesFile = new File( System.getProperty( "user.home" ), "maven.properties" ); if ( !mavenPropertiesFile.exists() ) { System.out.println( "You must have a ~/maven.properties file and must contain the followi... | 1315 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1315/1dfc502e05b8e992ad9206a542fe414ac2ef1b66/MBoot.java/clean/maven-mboot2/src/main/java/MBoot.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
12,
514,
8526,
833,
262,
3639,
1216,
1185,
565,
288,
3639,
1387,
20499,
2297,
812,
273,
394,
1387,
12,
2332,
18,
588,
1396,
12,
315,
1355,
18,
8712,
6,
262,
16,
315,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
12,
514,
8526,
833,
262,
3639,
1216,
1185,
565,
288,
3639,
1387,
20499,
2297,
812,
273,
394,
1387,
12,
2332,
18,
588,
1396,
12,
315,
1355,
18,
8712,
6,
262,
16,
315,
... |
match(LITERAL_intersect); if ( inputState.guessing==0 ) { name = "intersect"; } reservedKeywords_AST = (AST)currentAST.root; break; } case LITERAL_except: | match(LITERAL_else); if ( inputState.guessing==0 ) { name= "else"; } reservedKeywords_AST = (AST)currentAST.root; break; } case LITERAL_for: | public final String reservedKeywords() throws RecognitionException, TokenStreamException { String name; returnAST = null; ASTPair currentAST = new ASTPair(); AST reservedKeywords_AST = null; name= null; switch ( LA(1)) { case LITERAL_div: { AST tmp310_AST = null; tmp310_AST = astFactory.create(LT(1));... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/722cca774247887cf67fef993c71f848a05e075f/XPathParser2.java/clean/src/org/exist/parser/XPathParser2.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
514,
225,
8735,
14149,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
202,
202,
780,
508,
31,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
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,
727,
514,
225,
8735,
14149,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
202,
202,
780,
508,
31,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,... |
super(position); | super(position, NodeTypes.GLOBALVARNODE); | public GlobalVarNode(ISourcePosition position, String name) { super(position); this.name = name.intern(); } | 47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/6e15491217631472c05c6928672f9c7064a978b3/GlobalVarNode.java/buggy/src/org/jruby/ast/GlobalVarNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8510,
1537,
907,
12,
45,
1830,
2555,
1754,
16,
514,
508,
13,
288,
3639,
2240,
12,
3276,
16,
2029,
2016,
18,
20402,
58,
4391,
2712,
1769,
3639,
333,
18,
529,
273,
508,
18,
267,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8510,
1537,
907,
12,
45,
1830,
2555,
1754,
16,
514,
508,
13,
288,
3639,
2240,
12,
3276,
16,
2029,
2016,
18,
20402,
58,
4391,
2712,
1769,
3639,
333,
18,
529,
273,
508,
18,
267,
7... |
if (theDataThing.getDataObject() instanceof String) { String summaryText = (String)theDataThing.getDataObject(); if (summaryText.length() > 30) { | if (userObject instanceof String) { String summaryText = (String)userObject; if (summaryText.length() > 100) { | public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) { super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, row, hasFocus); DataThingTreeNode theNode = (DataThingTreeNode)value; Object userObject = theNode.get... | 7616 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7616/731671a4cc2c789d0eeba3e609e9170a28c84f31/DataThingTreeNodeRenderer.java/buggy/trunk/taverna1.0/src/org/embl/ebi/escience/baclava/factory/DataThingTreeNodeRenderer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5435,
15867,
4020,
6747,
1841,
12,
46,
2471,
2151,
16,
1033,
460,
16,
1250,
357,
16,
1250,
8406,
16,
1250,
7839,
16,
509,
1027,
16,
1250,
711,
9233,
13,
288,
202,
9565,
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,
377,
1071,
5435,
15867,
4020,
6747,
1841,
12,
46,
2471,
2151,
16,
1033,
460,
16,
1250,
357,
16,
1250,
8406,
16,
1250,
7839,
16,
509,
1027,
16,
1250,
711,
9233,
13,
288,
202,
9565,
18,
588,
... |
Toolkit.getDefaultToolkit().createDragSourceContextPeer(trigger); | Toolkit.getDefaultToolkit().createDragSourceContextPeer(trigger); | public void startDrag(DragGestureEvent trigger, Cursor dragCursor, Image dragImage, Point imageOffset, Transferable transferable, DragSourceListener dsl, FlavorMap flavorMap) throws InvalidDnDOperationException { if (curContext != null) { throw new InvalidDnDOperationExcep... | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/9b00f971bab2256d913aec1b141462a929f6e182/DragSource.java/clean/modules/awt/src/main/java/common/java/awt/dnd/DragSource.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
787,
11728,
12,
11728,
43,
16704,
1133,
3080,
16,
13949,
8823,
6688,
16,
3421,
8823,
2040,
16,
5411,
4686,
1316,
2335,
16,
12279,
429,
7412,
429,
16,
28425,
1830,
2223,
23244,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
787,
11728,
12,
11728,
43,
16704,
1133,
3080,
16,
13949,
8823,
6688,
16,
3421,
8823,
2040,
16,
5411,
4686,
1316,
2335,
16,
12279,
429,
7412,
429,
16,
28425,
1830,
2223,
23244,
... |
Item gene = createItem(tgtNs + "Gene", ""); | Item gene = createItem(tgtNs + "Gene"); | protected Collection translateItem(Item srcItem) throws ObjectStoreException, InterMineException { // This Item should be an EntryType and only have proteins associated with one organism. if (!(SRC_NS + "Entry").equals(srcItem.getClassName())) { throw new IllegalArgumentException("At... | 29158 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29158/3ba5486943d54bad69875b107ee00a0ef0563ef7/UniprotDataTranslator.java/buggy/bio/sources/uniprot/main/src/org/intermine/bio/dataconversion/UniprotDataTranslator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
2200,
4204,
1180,
12,
1180,
1705,
1180,
13,
3639,
1216,
1033,
21151,
16,
5294,
49,
558,
503,
288,
3639,
368,
1220,
4342,
1410,
506,
392,
3841,
559,
471,
1338,
1240,
450,
31856,
3627... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2200,
4204,
1180,
12,
1180,
1705,
1180,
13,
3639,
1216,
1033,
21151,
16,
5294,
49,
558,
503,
288,
3639,
368,
1220,
4342,
1410,
506,
392,
3841,
559,
471,
1338,
1240,
450,
31856,
3627... |
test.assertEquals("142709.0", result); | test.assertEquals("142277.07", result); | public void testMin(FoodMartTestCase test) { String result = test.executeExpr( "MIN({[Store].[All Stores].[USA].children},[Measures].[Store Sales])"); test.assertEquals("142709.0", result); } | 37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/c21deb386508d7167ce687258606bf6b3147693d/BuiltinFunTable.java/clean/src/main/mondrian/olap/fun/BuiltinFunTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4697,
202,
482,
918,
1842,
2930,
12,
42,
4773,
49,
485,
4709,
2449,
1842,
13,
288,
6862,
202,
780,
563,
273,
1842,
18,
8837,
4742,
12,
6862,
1082,
202,
6,
6236,
12590,
63,
2257,
8009,
63,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4697,
202,
482,
918,
1842,
2930,
12,
42,
4773,
49,
485,
4709,
2449,
1842,
13,
288,
6862,
202,
780,
563,
273,
1842,
18,
8837,
4742,
12,
6862,
1082,
202,
6,
6236,
12590,
63,
2257,
8009,
63,
... |
public NativeJavaClass(Scriptable scope, Class cl) { this.parent = scope; this.javaObject = cl; initMembers(); | public NativeJavaClass() { | public NativeJavaClass(Scriptable scope, Class cl) { this.parent = scope; this.javaObject = cl; initMembers(); } | 19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/1b620bbe9ad9c387f8202d7df9e1281bbd4ef637/NativeJavaClass.java/buggy/src/org/mozilla/javascript/NativeJavaClass.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
16717,
5852,
797,
12,
3651,
429,
2146,
16,
1659,
927,
13,
288,
3639,
333,
18,
2938,
273,
2146,
31,
3639,
333,
18,
6290,
921,
273,
927,
31,
3639,
1208,
6918,
5621,
565,
289,
2,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16717,
5852,
797,
12,
3651,
429,
2146,
16,
1659,
927,
13,
288,
3639,
333,
18,
2938,
273,
2146,
31,
3639,
333,
18,
6290,
921,
273,
927,
31,
3639,
1208,
6918,
5621,
565,
289,
2,
-... |
soapMethod = (SoapMethod)callParameters.get(method); | soapMethod = (SoapMethod)callParameters.get(method.getLocalPart()); | private void setCallParams(Call call, UMOEvent event, QName method) throws ClassNotFoundException { if(callParameters==null) { loadCallParams(event, method.getNamespaceURI()); } SoapMethod soapMethod; soapMethod = (SoapMethod)event.removeProperty(MuleProperties.MULE_SOAP_METHO... | 28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/fb0f7f84e84bd7437bc5e3cc737d8b661adb97e6/AxisMessageDispatcher.java/clean/providers/soap/src/java/org/mule/providers/soap/axis/AxisMessageDispatcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
444,
1477,
1370,
12,
1477,
745,
16,
587,
5980,
1133,
871,
16,
16723,
707,
13,
1216,
10403,
288,
3639,
309,
12,
1991,
2402,
631,
2011,
13,
288,
5411,
1262,
1477,
1370,
12,
257... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
444,
1477,
1370,
12,
1477,
745,
16,
587,
5980,
1133,
871,
16,
16723,
707,
13,
1216,
10403,
288,
3639,
309,
12,
1991,
2402,
631,
2011,
13,
288,
5411,
1262,
1477,
1370,
12,
257... |
buffer.getIdent(init)), | bufferName), | public void addDRAMCommand(boolean read, boolean init, boolean primepump, int bytes, OffChipBuffer buffer, boolean presynched) { parent.setComputes(); String functName = "raw_streaming_dram_request_" + (read ? "read" : "write") + (presynched ? "_presynched" : ""); //the args for the streaming dram ... | 5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/164c9056ab40fc12002d601fba92927499156ad7/ComputeCodeStore.java/buggy/streams/src/at/dms/kjc/spacetime/ComputeCodeStore.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
6331,
2192,
2189,
12,
6494,
855,
16,
1250,
1208,
16,
1250,
17014,
84,
2801,
16,
9506,
4202,
509,
1731,
16,
15837,
782,
625,
1892,
1613,
16,
1250,
4075,
878,
2049,
13,
37... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
527,
6331,
2192,
2189,
12,
6494,
855,
16,
1250,
1208,
16,
1250,
17014,
84,
2801,
16,
9506,
4202,
509,
1731,
16,
15837,
782,
625,
1892,
1613,
16,
1250,
4075,
878,
2049,
13,
37... |
for(int i=packStart; i < packEnd && count < dst_length; i++) | for(int i=packStart; i <= packEnd && count < dst_length; i++) | public char[] getCharSubSequence(int start, int end) { char[] this_dst = null; if(end-start > 1000) this_dst = dst; int dst_length = 0; if(this_dst != null) dst_length = this_dst.length; if(this_dst == null || dst_length < end-start+1 || end >= length()) { if(end-start > 1000) ... | 10874 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10874/0b84ee473f56125240b2b5b7e07cee2df28f38cb/StreamSequence.java/buggy/uk/ac/sanger/artemis/io/StreamSequence.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1149,
8526,
23577,
1676,
4021,
12,
474,
787,
16,
509,
679,
13,
282,
288,
565,
1149,
8526,
333,
67,
11057,
273,
446,
31,
565,
309,
12,
409,
17,
1937,
405,
4336,
13,
1377,
333,
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,
282,
1071,
1149,
8526,
23577,
1676,
4021,
12,
474,
787,
16,
509,
679,
13,
282,
288,
565,
1149,
8526,
333,
67,
11057,
273,
446,
31,
565,
309,
12,
409,
17,
1937,
405,
4336,
13,
1377,
333,
67... |
(offset + len - 1) + "]"; | (offset + len - 1) + ']'; | public String getName() { return file.getAbsolutePath() + " [" + offset + ", " + (offset + len - 1) + "]"; } | 8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/62fd59041864b4ed1f43adc676de6bfb5ea977f3/RandomAccessFileBucket.java/buggy/src/freenet/support/io/RandomAccessFileBucket.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1723,
1435,
288,
3639,
327,
585,
18,
588,
10368,
743,
1435,
397,
315,
8247,
397,
1384,
397,
3104,
315,
397,
2398,
261,
3348,
397,
562,
300,
404,
13,
397,
8641,
31,
565,
289,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1723,
1435,
288,
3639,
327,
585,
18,
588,
10368,
743,
1435,
397,
315,
8247,
397,
1384,
397,
3104,
315,
397,
2398,
261,
3348,
397,
562,
300,
404,
13,
397,
8641,
31,
565,
289,
... |
VariableResolver resolver = VariableResolverFactory.getResolver(expr, getManager()); | PreparedVariableResolver resolver = new PreparedVariableResolver(expr, getManager()); | public void testColonBeginningTextContent() throws PatternException { String expr = ":colon-starts-this"; InvokeContext context = new InvokeContext(true); context.enableLogging(getLogger()); Map sitemapElements; sitemapElements = new HashMap(); context.pushMap("labe... | 46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/eb667f91e18f5b2701c87cfae88160bc823e97de/PreparedVariableResolverTestCase.java/buggy/src/test/org/apache/cocoon/components/treeprocessor/variables/PreparedVariableResolverTestCase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
19636,
8149,
2093,
1528,
1350,
1435,
1216,
6830,
503,
288,
3639,
514,
3065,
273,
6398,
22667,
17,
17514,
17,
2211,
14432,
7734,
14373,
1042,
819,
273,
394,
14373,
1042,
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,
377,
1071,
918,
1842,
19636,
8149,
2093,
1528,
1350,
1435,
1216,
6830,
503,
288,
3639,
514,
3065,
273,
6398,
22667,
17,
17514,
17,
2211,
14432,
7734,
14373,
1042,
819,
273,
394,
14373,
1042,
12,... |
for (int ci = 0, cc = main.toolBar.getComponentCount(); ci < cc; ci++) { main.toolBar.getComponent(ci).setEnabled(b); | for (int ci = 0, cc = debugGui.toolBar.getComponentCount(); ci < cc; ci++) { debugGui.toolBar.getComponent(ci).setEnabled(b); | public void run() { String lastFrameUrl = lastFrame.getUrl(); int line = lastFrame.getLineNumber(); main.statusBar.setText("Thread: " + threadTitle); if (lastFrameUrl != null && !lastFrameUrl.equals("<stdin>")) { FileWindow w = main.getFileWindow(lastFrameUrl); i... | 19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/9f6ca8f9a1c065e5181a0679595b48269838c038/Main.java/clean/toolsrc/org/mozilla/javascript/tools/debugger/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
565,
288,
3639,
514,
1142,
3219,
1489,
273,
1142,
3219,
18,
588,
1489,
5621,
3639,
509,
980,
273,
1142,
3219,
18,
588,
31063,
5621,
3639,
2774,
18,
2327,
5190,
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,
1071,
918,
1086,
1435,
565,
288,
3639,
514,
1142,
3219,
1489,
273,
1142,
3219,
18,
588,
1489,
5621,
3639,
509,
980,
273,
1142,
3219,
18,
588,
31063,
5621,
3639,
2774,
18,
2327,
5190,
18,
... |
final int colon = element.indexOf(':'); | final int colon = element.lastIndexOf(':'); | public WhitespaceRule(int action, String element, int precedence) { // Determine the action (strip or preserve) for this rule _action = action; // Get the namespace and element name for this rule final int colon = element.indexOf(':'); if (colon >= 0) { _namespace = element.substring(0,colon); _... | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/787c5fac4d810a9fb25c601e2fc27df9de2893d0/Whitespace.java/clean/src/org/apache/xalan/xsltc/compiler/Whitespace.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3497,
5211,
2175,
12,
474,
1301,
16,
514,
930,
16,
509,
14172,
13,
288,
3196,
565,
368,
10229,
326,
1301,
261,
6406,
578,
9420,
13,
364,
333,
1720,
202,
565,
389,
1128,
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,
225,
202,
482,
3497,
5211,
2175,
12,
474,
1301,
16,
514,
930,
16,
509,
14172,
13,
288,
3196,
565,
368,
10229,
326,
1301,
261,
6406,
578,
9420,
13,
364,
333,
1720,
202,
565,
389,
1128,
273,
... |
xsqlvar.sqldata = new java.sql.Date(0); db.out.writeInt(encodeDate((java.sql.Date) xsqlvar.sqldata)); | xsqlvar.sqldata = XSQLVAR.encodeDate(new java.sql.Date(0)); db.out.write(xsqlvar.sqldata); | private void writeSQLData(isc_db_handle_impl db, XSQLDA xsqlda) throws GDSException { // This only works if not (port->port_flags & PORT_symmetric) for (int i = 0; i < xsqlda.sqld; i++) { XSQLVAR xsqlvar = xsqlda.sqlvar[i]; if (log != null) { ... | 6960 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6960/6d280b185bdd30f8356c739f865606941fcf330e/GDS_Impl.java/buggy/src/main/org/firebirdsql/jgds/GDS_Impl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1045,
3997,
751,
12,
291,
71,
67,
1966,
67,
4110,
67,
11299,
1319,
16,
4766,
1139,
3997,
9793,
619,
4669,
2414,
13,
1216,
611,
3948,
503,
288,
3639,
368,
1220,
1338,
6330,
30... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1045,
3997,
751,
12,
291,
71,
67,
1966,
67,
4110,
67,
11299,
1319,
16,
4766,
1139,
3997,
9793,
619,
4669,
2414,
13,
1216,
611,
3948,
503,
288,
3639,
368,
1220,
1338,
6330,
30... |
if (t != LexicalUnits.S) { throw fatalError("space", null); | char[] space = {}; if (t == LexicalUnits.S) { space = scanner.currentValue(); t = scanner.next(); | protected void printPI() throws TranscoderException, LexicalException, IOException { char[] target = scanner.currentValue(); int t = scanner.next(); if (t != LexicalUnits.S) { throw fatalError("space", null); } char[] space = scanner.c... | 45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/d9e08d771da690e35d6929ed011c48c9af7cae97/PrettyPrinter.java/buggy/sources/org/apache/batik/transcoder/svg2svg/PrettyPrinter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1172,
1102,
1435,
3639,
1216,
2604,
3396,
503,
16,
9079,
15123,
1706,
503,
16,
9079,
1860,
288,
3639,
1149,
8526,
1018,
273,
7683,
18,
2972,
620,
5621,
3639,
509,
268,
273,
768... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1172,
1102,
1435,
3639,
1216,
2604,
3396,
503,
16,
9079,
15123,
1706,
503,
16,
9079,
1860,
288,
3639,
1149,
8526,
1018,
273,
7683,
18,
2972,
620,
5621,
3639,
509,
268,
273,
768... |
public boolean isPrimitive () { return getValue() instanceof PrimitiveValue; } | public boolean isPrimitive() { return myValue instanceof PrimitiveValue; } | public boolean isPrimitive () { return getValue() instanceof PrimitiveValue; } | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/153769f68e9bcb7188e6e0289d821933d4d9a7df/ValueDescriptorImpl.java/buggy/source/com/intellij/debugger/ui/impl/watch/ValueDescriptorImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
19598,
6647,
1832,
288,
327,
2366,
1435,
1276,
14488,
620,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
19598,
6647,
1832,
288,
327,
2366,
1435,
1276,
14488,
620,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
RubyObject r = eval(self, node.nd_recv()); RubyObject l = eval(self, node.nd_value()); if (l instanceof RubyString) { } else { return l.funcall(ruby.intern("=~"), r); } | public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/clean/org/jruby/interpreter/RubyInterpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
5302,
12,
54,
10340,
921,
365,
16,
11922,
290,
13,
288,
54,
10340,
921,
436,
273,
5302,
12,
2890,
16,
756,
18,
4880,
67,
18334,
10663,
19817,
921,
328,
273,
5302,
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,
377,
1071,
19817,
921,
5302,
12,
54,
10340,
921,
365,
16,
11922,
290,
13,
288,
54,
10340,
921,
436,
273,
5302,
12,
2890,
16,
756,
18,
4880,
67,
18334,
10663,
19817,
921,
328,
273,
5302,
12,
... | |
void sendData(SGSUUID uuid, ByteBuffer data) throws IOException { | public synchronized void sendData(SGSUUID uuid, ByteBuffer data) throws IOException { | void sendData(SGSUUID uuid, ByteBuffer data) throws IOException { data.flip(); int sz = data.remaining() + uuid.ioByteSize() + 1; ByteBuffer outbuff = ByteBuffer.allocate(sz); outbuff.put(OP_DATA); uuid.write(outbuff); outbuff.put(data); cmgr.send(new DatagramPacket(... | 55380 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55380/f7d3ec2c7e61be2c403e426e82dbc65e62995f75/LRMPTransportManager.java/buggy/src/com/sun/gi/framework/interconnect/impl/LRMPTransportManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
1366,
751,
12,
55,
16113,
5562,
3822,
16,
7400,
501,
13,
1216,
1860,
288,
3639,
501,
18,
12357,
5621,
3639,
509,
11262,
273,
501,
18,
17956,
1435,
397,
3822,
18,
1594,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3852,
918,
1366,
751,
12,
55,
16113,
5562,
3822,
16,
7400,
501,
13,
1216,
1860,
288,
3639,
501,
18,
12357,
5621,
3639,
509,
11262,
273,
501,
18,
17956,
1435,
397,
3822,
18,
1594,
... |
public void drawPolygon(Polygon polygon) { drawPolygon(polygon.xpoints, polygon.ypoints, polygon.npoints); } | public abstract void drawPolygon(int xPoints[], int yPoints[], int npoints); | public void drawPolygon(Polygon polygon) { drawPolygon(polygon.xpoints, polygon.ypoints, polygon.npoints); } | 45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/3878be593002f301580025b16c264e41f364beae/Graphics.java/buggy/libraries/javalib/external/classpath/java/awt/Graphics.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3724,
11787,
12,
11787,
7154,
13,
225,
288,
565,
3724,
11787,
12,
20917,
18,
92,
4139,
16,
7154,
18,
879,
763,
87,
16,
7154,
18,
82,
4139,
1769,
225,
289,
2,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3724,
11787,
12,
11787,
7154,
13,
225,
288,
565,
3724,
11787,
12,
20917,
18,
92,
4139,
16,
7154,
18,
879,
763,
87,
16,
7154,
18,
82,
4139,
1769,
225,
289,
2,
-100,
-100,
-1... |
return new String(digestBits, 0, digestBits.length, 0); | if (digestBits == null) digestBits = engineDigest(); return new String(digestBits, 0, 0, digestBits.length); | public String digest() { return new String(digestBits, 0, digestBits.length, 0); } | 6527 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6527/81f0b22ce69de01b3eaf0a1b1081a55b97cb370a/SHA1.java/clean/org/python/modules/SHA1.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
5403,
1435,
288,
3639,
309,
261,
10171,
6495,
422,
446,
13,
5403,
6495,
273,
4073,
9568,
5621,
327,
394,
514,
12,
10171,
6495,
16,
374,
16,
374,
16,
5403,
6495,
18,
2469,
176... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
5403,
1435,
288,
3639,
309,
261,
10171,
6495,
422,
446,
13,
5403,
6495,
273,
4073,
9568,
5621,
327,
394,
514,
12,
10171,
6495,
16,
374,
16,
374,
16,
5403,
6495,
18,
2469,
176... |
sb.append("\t\t"+indent+"for( int "+idx_variable+"=0; "+idx_variable+"<"+var_name+".length;"+idx_variable+"++)\n\t\t"+indent+"{\n"); sb.append("\t\t\t"+indent+ elementTypeSpec().printWriteStatement(var_name + "["+idx_variable+"]",streamname) + "\n"); | sb.append("\t\t"+indent+"for( int "+idx_variable+"=0; " + idx_variable+"<"+var_name+".length;" + idx_variable+"++)\n\t\t"+indent+"{\n"); sb.append("\t\t\t"+indent+ elementTypeSpec().printWriteStatement(var_name + "["+idx_variable+"]", streamname) + "\n"); | public String printWriteStatement(String var_name,String streamname) { StringBuffer sb = new StringBuffer(); String type = typeName(); if( length != 0 ) { sb.append("if( "+var_name+".length > " + length + ")\n"); sb.append("\t\t\tthrow new org.omg.CORBA.MARSHAL(\"Incorrect sequence length\");"); } sb.app... | 46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/fa3b8e26e6de9c849c34b37aa222f4c5b1e31e09/SequenceType.java/clean/src/org/jacorb/idl/SequenceType.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1172,
3067,
3406,
12,
780,
569,
67,
529,
16,
780,
1407,
529,
13,
565,
288,
202,
780,
1892,
2393,
273,
394,
6674,
5621,
202,
780,
618,
273,
8173,
5621,
202,
430,
12,
769,
48... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1172,
3067,
3406,
12,
780,
569,
67,
529,
16,
780,
1407,
529,
13,
565,
288,
202,
780,
1892,
2393,
273,
394,
6674,
5621,
202,
780,
618,
273,
8173,
5621,
202,
430,
12,
769,
48... |
String key = file.getPath(); | String key = file.getParent(); | private String loadDefaultPage() { IEditorInput input = getEditorInput(); if (input instanceof IFileEditorInput) { // load the setting from the resource IFile file = ((IFileEditorInput) input).getFile(); try { return file .getPersistentProperty(IPDEUIConstants.DEFAULT_EDITOR_PAGE_KEY_NEW); } catch (C... | 8783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8783/f05ab7833f64029c0ae936c412e7d86960291167/PDEFormEditor.java/clean/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/PDEFormEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
1262,
1868,
1964,
1435,
288,
202,
202,
45,
6946,
1210,
810,
273,
336,
6946,
1210,
5621,
202,
202,
430,
261,
2630,
1276,
467,
812,
6946,
1210,
13,
288,
1082,
202,
759,
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,
225,
202,
1152,
514,
1262,
1868,
1964,
1435,
288,
202,
202,
45,
6946,
1210,
810,
273,
336,
6946,
1210,
5621,
202,
202,
430,
261,
2630,
1276,
467,
812,
6946,
1210,
13,
288,
1082,
202,
759,
12... |
vOffset -= BYTES_IN_STACKSLOT; | vOffset = vOffset.sub(BYTES_IN_STACKSLOT); | private static void getVariableValue(byte[] stack, int offset, byte[] types, VM_BaselineCompiledMethod compiledMethod, VM_CodeArray instructions, ... | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/3a9aeeb7f964774e6adc285d6526603ac1570e14/OSR_BaselineExecStateExtractor.java/buggy/rvm/src/vm/arch/powerPC/executionState/OSR_BaselineExecStateExtractor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
918,
13522,
620,
12,
7229,
8526,
2110,
16,
4766,
4202,
509,
282,
1384,
16,
4766,
4202,
1160,
8526,
1953,
16,
4766,
4202,
8251,
67,
16635,
20733,
1305,
7743,
1305,
16,
4766,
420... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
918,
13522,
620,
12,
7229,
8526,
2110,
16,
4766,
4202,
509,
282,
1384,
16,
4766,
4202,
1160,
8526,
1953,
16,
4766,
4202,
8251,
67,
16635,
20733,
1305,
7743,
1305,
16,
4766,
420... |
if (ex) { if (getRuby().getActMethodScope() == Constants.SCOPE_PRIVATE) { noex = Constants.NOEX_PRIVATE; } else if (getRuby().getActMethodScope() == Constants.SCOPE_PROTECTED) { noex = Constants.NOEX_PROTECTED; } else { noex = Constants.NOEX_PUBLIC; } } | if (ex) { if (getRuby().getActMethodScope() == Constants.SCOPE_PRIVATE) { noex = Constants.NOEX_PRIVATE; } else if (getRuby().getActMethodScope() == Constants.SCOPE_PROTECTED) { noex = Constants.NOEX_PROTECTED; } else { noex = Constants.NOEX_PUBLIC; } } | public void addAttribute(RubyId id, boolean read, boolean write, boolean ex) { // RubyInterpreter intrprtr = getRuby().getInterpreter(); int noex = Constants.NOEX_PUBLIC; if (ex) { if (getRuby().getActMethodScope() == Constants.SCOPE_PRIVATE) { noex = Constants.NOEX_PRIVATE; } else if (getRuby().getActMethod... | 49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/buggy/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
10759,
12,
54,
10340,
548,
612,
16,
1250,
855,
16,
1250,
1045,
16,
1250,
431,
13,
288,
202,
202,
759,
19817,
30010,
28600,
683,
313,
273,
4170,
10340,
7675,
588,
30010,
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,
225,
202,
482,
918,
10759,
12,
54,
10340,
548,
612,
16,
1250,
855,
16,
1250,
1045,
16,
1250,
431,
13,
288,
202,
202,
759,
19817,
30010,
28600,
683,
313,
273,
4170,
10340,
7675,
588,
30010,
5... |
return RubyFixnum.newFixnum(runtime, getTimeInMillis() / 1000); | return getRuntime().newFixnum(getTimeInMillis() / 1000); | public RubyInteger to_i() { return RubyFixnum.newFixnum(runtime, getTimeInMillis() / 1000); } | 45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyTime.java/buggy/src/org/jruby/RubyTime.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
4522,
358,
67,
77,
1435,
288,
3639,
327,
18814,
7675,
2704,
8585,
2107,
12,
588,
950,
16620,
1435,
342,
4336,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
4522,
358,
67,
77,
1435,
288,
3639,
327,
18814,
7675,
2704,
8585,
2107,
12,
588,
950,
16620,
1435,
342,
4336,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
obj.setPrototype(getObjectPrototype(this)); | public Object get(String s, Scriptable start) { Object result = super.get(s, start); if (result != NOT_FOUND) return result; if (s.equals("prototype")) { NativeObject obj = new NativeObject(); obj.setPrototype(getObjectPrototype(this)); final int attr... | 47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/d8559be163f27f1bd37e16494392ed2134ec01bb/NativeFunction.java/clean/js/rhino/src/org/mozilla/javascript/NativeFunction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
336,
12,
780,
272,
16,
22780,
787,
13,
288,
3639,
1033,
563,
273,
2240,
18,
588,
12,
87,
16,
787,
1769,
3639,
309,
261,
2088,
480,
4269,
67,
9294,
13,
5411,
327,
563,
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,
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,
336,
12,
780,
272,
16,
22780,
787,
13,
288,
3639,
1033,
563,
273,
2240,
18,
588,
12,
87,
16,
787,
1769,
3639,
309,
261,
2088,
480,
4269,
67,
9294,
13,
5411,
327,
563,
31,
... | |
n.putProp(Node.ISNUMBER_PROP, new Integer(Node.BOTH)); | n.putIntProp(Node.ISNUMBER_PROP, Node.BOTH); | int rewriteForNumberVariables(Node n) { switch (n.getType()) { case TokenStream.POP : { Node child = n.getFirstChild(); int type = rewriteForNumberVariables(child); if (type == TypeEvent.NumberType) n.putProp(Node.I... | 12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/f6c346cc7699c007b0b9b27d9c3cdb5446052c64/Optimizer.java/buggy/js/rhino/src/org/mozilla/javascript/optimizer/Optimizer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
509,
10738,
1290,
1854,
6158,
12,
907,
290,
13,
565,
288,
3639,
1620,
261,
82,
18,
588,
559,
10756,
288,
5411,
648,
3155,
1228,
18,
30374,
294,
288,
10792,
2029,
1151,
273,
290,
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,
377,
509,
10738,
1290,
1854,
6158,
12,
907,
290,
13,
565,
288,
3639,
1620,
261,
82,
18,
588,
559,
10756,
288,
5411,
648,
3155,
1228,
18,
30374,
294,
288,
10792,
2029,
1151,
273,
290,
18,
588... |
String identifier = definition.getChildTextTrim( "identifier"); if (identifier == null) { | String identifierStr = definition.getChildTextTrim( "identifier"); if (identifierStr == null) { | private void loadDevices( VendorManager vendorManager, DeviceGroupManager groupManager, File devicesFile ) throws JDOMException, IOException, InvalidComponentException { SAXBuilder builder = new SAXBuilder( false ); Document document = builder.build( devicesFile ); ArrayList devicesList = new ArrayList(); List x... | 9804 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9804/cc3373647c2c76f390de934ba7fa672fc3408451/DeviceManager.java/clean/build/source/src/de/enough/polish/DeviceManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1262,
10053,
12,
776,
5227,
1318,
8556,
1318,
16,
6077,
1114,
1318,
1041,
1318,
16,
1387,
7166,
812,
262,
225,
202,
15069,
804,
8168,
503,
16,
1860,
16,
1962,
1841,
503,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1262,
10053,
12,
776,
5227,
1318,
8556,
1318,
16,
6077,
1114,
1318,
1041,
1318,
16,
1387,
7166,
812,
262,
225,
202,
15069,
804,
8168,
503,
16,
1860,
16,
1962,
1841,
503,
... |
public void setPosition() | public void setPosition(int level, int x,int y) | public void setPosition() { this.interior=true; } | 4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/0000adf83e20b5d3d59efbec100a291bf6690726/StendhalRPZone.java/buggy/src/games/stendhal/server/StendhalRPZone.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
19776,
12,
474,
1801,
16,
509,
619,
16,
474,
677,
13,
565,
288,
565,
333,
18,
2761,
9659,
33,
3767,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
19776,
12,
474,
1801,
16,
509,
619,
16,
474,
677,
13,
565,
288,
565,
333,
18,
2761,
9659,
33,
3767,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
} else { | }else { | protected String getTemplateClassName(String elementName, CmsXmlTemplateFile doc, Hashtable parameters) throws CmsException { String result = null; if(parameters.containsKey(elementName + "._CLASS_")) { result = (String)parameters.get(elementName + "._CLASS_"); } else { ... | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/df4fdf4ee58e0e41628cfe061e8068e4009950ae/CmsXmlTemplate.java/buggy/src/com/opencms/template/CmsXmlTemplate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
10646,
3834,
12,
780,
14453,
16,
16084,
2283,
812,
997,
16,
18559,
1472,
13,
1216,
11228,
288,
3639,
514,
563,
273,
446,
31,
3639,
309,
12,
3977,
18,
12298,
653,
12,
2956,
46... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
10646,
3834,
12,
780,
14453,
16,
16084,
2283,
812,
997,
16,
18559,
1472,
13,
1216,
11228,
288,
3639,
514,
563,
273,
446,
31,
3639,
309,
12,
3977,
18,
12298,
653,
12,
2956,
46... |
fireItemsInserted(new int[] { 0 }); | public void add(Object obj) { displays.add(0, obj);// fireItemInserted(0, obj); } | 49828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49828/cec894f1081b31eceef0a3c2d05bdea2406bc1fc/SimDisplayPane.java/buggy/modules/vrjuggler/vrjconfig/org/vrjuggler/vrjconfig/wizard/SimDisplayPane.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4452,
3126,
27329,
12,
2704,
509,
8526,
288,
374,
15549,
4452,
3126,
27329,
12,
2704,
509,
8526,
288,
374,
15549,
4452,
3126,
27329,
12,
2704,
509,
8526,
288,
374,
15549,
1071,
12179,
3126,
2732... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4452,
3126,
27329,
12,
2704,
509,
8526,
288,
374,
15549,
4452,
3126,
27329,
12,
2704,
509,
8526,
288,
374,
15549,
4452,
3126,
27329,
12,
2704,
509,
8526,
288,
374,
15549,
1071,
12179,
3126,
2732... | |
SOAPConstants.SOAP_DEFAULT_NAMESPACE_PREFIX); | SOAP12Constants.SOAP_DEFAULT_NAMESPACE_PREFIX); | public SOAPEnvelope getDefaultEnvelope() throws SOAPProcessingException { OMNamespace ns = new OMNamespaceImpl(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI, SOAPConstants.SOAP_DEFAULT_NAMESPACE_PREFIX); SOAPEnvelopeImpl env = new SOAPEnvelopeImpl(ns); SOAPBo... | 49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/f86cd1127e92f0ae6c87997683ec0471f1808219/SOAP12Factory.java/clean/modules/xml/src/org/apache/axis/soap/impl/llom/soap12/SOAP12Factory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
16434,
10862,
4829,
10862,
1435,
1216,
16434,
23684,
288,
3639,
28839,
3402,
3153,
273,
7734,
394,
28839,
3402,
2828,
12,
27952,
2138,
2918,
18,
27952,
67,
1157,
24397,
1423,
67,
11368,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
16434,
10862,
4829,
10862,
1435,
1216,
16434,
23684,
288,
3639,
28839,
3402,
3153,
273,
7734,
394,
28839,
3402,
2828,
12,
27952,
2138,
2918,
18,
27952,
67,
1157,
24397,
1423,
67,
11368,... |
if (contentList == null) { return box; | if (contentList != null && contentList.size() > 0) { c.pushParentContent(content); if (ContentUtil.hasBlockContent(contentList)) { BlockBoxing.layoutContent(c, box, contentList, box); } else { InlineBoxing.layoutContent(c, box, contentList); } c.popParentContent(); | public static Box layoutChildren(Context c, Box box, Content content) { List contentList = content.getChildContent(c); box.setState(Box.CHILDREN_FLUX); if (contentList == null) { return box; } if (contentList.size() == 0) { return box; }//we can do thi... | 8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/2486e0a7d32e8bf7a5ba0aa3c3626b52ad12da3c/Boxing.java/clean/src/java/org/xhtmlrenderer/layout/Boxing.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
8549,
3511,
4212,
12,
1042,
276,
16,
8549,
3919,
16,
3697,
913,
13,
288,
3639,
987,
913,
682,
273,
913,
18,
588,
1763,
1350,
12,
71,
1769,
3639,
3919,
18,
542,
1119,
12,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8549,
3511,
4212,
12,
1042,
276,
16,
8549,
3919,
16,
3697,
913,
13,
288,
3639,
987,
913,
682,
273,
913,
18,
588,
1763,
1350,
12,
71,
1769,
3639,
3919,
18,
542,
1119,
12,
35... |
else { if (subWithParent) | } else { if (subWithParent) { | private Object[] getRoots(Object[] elements, boolean subWithParent) { if (elements.length == 0) return elements; HashSet roots = new HashSet(); for (int i = 0; i < elements.length; i++) { JobTreeElement element = (JobTreeElement) elements[i]; if (element.isJobInfo()) { GroupInfo group = ((JobInfo) element)... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/ProgressViewerContentProvider.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressViewerContentProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1033,
8526,
7656,
87,
12,
921,
8526,
2186,
16,
1250,
720,
1190,
3054,
13,
288,
202,
202,
430,
261,
6274,
18,
2469,
422,
374,
13,
1082,
202,
2463,
2186,
31,
202,
202,
13482,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
8526,
7656,
87,
12,
921,
8526,
2186,
16,
1250,
720,
1190,
3054,
13,
288,
202,
202,
430,
261,
6274,
18,
2469,
422,
374,
13,
1082,
202,
2463,
2186,
31,
202,
202,
13482,
... |
bCodeStream[classFileOffset++] = OPC_ldc; | bCodeStream[classFileOffset++] = Opcodes.OPC_ldc; | final public void ldc(float constant) { countLabels = 0; int index = constantPool.literalIndex(constant); stackDepth++; if (stackDepth > stackMax) stackMax = stackDepth; if (index > 255) { if (DEBUG) System.out.println(position + "\t\tldc_w:"+constant); //$NON-NLS-1$ // Generate a ldc_w if (classFileOffset + 2 >= b... | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/5a485cb39d1ee33622141cf426fac71c4bf93ded/CodeStream.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
727,
1071,
918,
328,
7201,
12,
5659,
5381,
13,
288,
202,
1883,
5888,
273,
374,
31,
202,
474,
770,
273,
5381,
2864,
18,
13107,
1016,
12,
14384,
1769,
202,
3772,
6148,
9904,
31,
202,
430,
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,
727,
1071,
918,
328,
7201,
12,
5659,
5381,
13,
288,
202,
1883,
5888,
273,
374,
31,
202,
474,
770,
273,
5381,
2864,
18,
13107,
1016,
12,
14384,
1769,
202,
3772,
6148,
9904,
31,
202,
430,
261,... |
protected void prepareForUIUninstall() throws NotImplementedException { // TODO: Implement this properly. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
2911,
1290,
5370,
31103,
1435,
225,
1216,
10051,
503,
225,
288,
565,
368,
2660,
30,
10886,
333,
8214,
18,
225,
289,
2,
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,
4750,
918,
2911,
1290,
5370,
31103,
1435,
225,
1216,
10051,
503,
225,
288,
565,
368,
2660,
30,
10886,
333,
8214,
18,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... | ||
for (i=0;i<numFold;i++) { | for (i=0;i<numFold;i++) { | double classifyFoldCV(Instances fold, int [] fs) throws Exception { int i; int ruleCount = 0; int numFold = fold.numInstances(); int numCl = m_theInstances.classAttribute().numValues(); double [][] class_distribs = new double [numFold][numCl]; double [] instA = new double [fs.length]; double [] ... | 4773 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4773/9e72041e2204a61830b9cccfa8173a6ed2c39eb5/DecisionTable.java/clean/weka/classifiers/rules/DecisionTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1645,
19974,
15592,
22007,
12,
5361,
11590,
16,
509,
5378,
2662,
13,
1216,
1185,
225,
288,
565,
509,
277,
31,
565,
509,
1720,
1380,
273,
374,
31,
565,
509,
818,
15592,
273,
11590,
18,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1645,
19974,
15592,
22007,
12,
5361,
11590,
16,
509,
5378,
2662,
13,
1216,
1185,
225,
288,
565,
509,
277,
31,
565,
509,
1720,
1380,
273,
374,
31,
565,
509,
818,
15592,
273,
11590,
18,
2... |
StringBuffer spec = null; | public Map listSets() throws NoSetHierarchyException, OAIInternalServerError { log.info(LogManager.getHeader(null, "oai_request", "verb=listSets")); Context context = null; // List to put results in List sets = new LinkedList(); try { context = new ... | 51882 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51882/7b6402cb38de255c75120cefca38d680d9f4193b/DSpaceOAICatalog.java/buggy/dspace/src/org/dspace/app/oai/DSpaceOAICatalog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
6674,
857,
273,
446,
31,
6674,
857,
273,
446,
31,
6674,
857,
273,
446,
31,
6674,
857,
273,
446,
31,
1071,
780,
1892,
857,
273,
446,
31,
1635,
780,
1892,
857,
273,
446,
31,
666,
2785,
1435,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6674,
857,
273,
446,
31,
6674,
857,
273,
446,
31,
6674,
857,
273,
446,
31,
6674,
857,
273,
446,
31,
1071,
780,
1892,
857,
273,
446,
31,
1635,
780,
1892,
857,
273,
446,
31,
666,
2785,
1435,... | |
if ( parameter.isHidden( ) ) { | if (parameter.isHidden()) { | public boolean isMissingParameter( ) { boolean missingParameter = false; ModuleHandle model = SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ); HashMap params = (HashMap) this.getConfigVars( ); List parameters = model.getFlattenParameters( ); if ( parameters != null ) { for ( int i = 0; i < par... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/464f907d246180ca04c84336398722e6d5245566/ReportPreviewFormPage.java/buggy/UI/org.eclipse.birt.report.designer.ui.preview/src/org/eclipse/birt/report/designer/ui/preview/editors/ReportPreviewFormPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
4841,
1662,
12,
262,
202,
95,
202,
202,
6494,
3315,
1662,
273,
629,
31,
202,
202,
3120,
3259,
938,
273,
3877,
3259,
4216,
18,
588,
1442,
12,
262,
9506,
202,
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,
225,
202,
482,
1250,
353,
4841,
1662,
12,
262,
202,
95,
202,
202,
6494,
3315,
1662,
273,
629,
31,
202,
202,
3120,
3259,
938,
273,
3877,
3259,
4216,
18,
588,
1442,
12,
262,
9506,
202,
18,
5... |
int getServerType() { | public int getServerType() { | int getServerType() { return this.serverType; } | 5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/a7013967f309892a96bc9dc9726faf4f4708f077/ConnectionJDBC2.java/buggy/src/main/net/sourceforge/jtds/jdbc/ConnectionJDBC2.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
11543,
559,
1435,
288,
3639,
327,
333,
18,
3567,
559,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
11543,
559,
1435,
288,
3639,
327,
333,
18,
3567,
559,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
ds.write(cpu.getBytes().length); ds.write(cpu.getBytes()); ds.write(os.getBytes().length); ds.write(os.getBytes()); | ds.writeString(cpu); ds.writeString(os); | byte[] rrToWire() throws IOException { if (cpu == null || os == null) return null; ByteArrayOutputStream bs = new ByteArrayOutputStream(); DataOutputStream ds = new DataOutputStream(bs); ds.write(cpu.getBytes().length); ds.write(cpu.getBytes()); ds.write(os.getBytes().length); ds.write(os.getBytes()); return bs.toByte... | 4227 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4227/eab19ae1a2d6b028d8d0c3a26d740a5520f4fec6/HINFORecord.java/clean/org/xbill/DNS/HINFORecord.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1160,
8526,
8354,
774,
15249,
1435,
1216,
1860,
288,
202,
430,
261,
11447,
422,
446,
747,
1140,
422,
446,
13,
202,
202,
2463,
446,
31,
202,
8826,
4632,
7081,
273,
394,
11559,
5621,
202,
751,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1160,
8526,
8354,
774,
15249,
1435,
1216,
1860,
288,
202,
430,
261,
11447,
422,
446,
747,
1140,
422,
446,
13,
202,
202,
2463,
446,
31,
202,
8826,
4632,
7081,
273,
394,
11559,
5621,
202,
751,
... |
while(input.size()==0) | while (input.size() == 0) | public int Read() { while(input.size()==0) try { Thread.sleep(100); } catch (InterruptedException e) { e.printStackTrace(); } String line = (String) input.removeFirst(); char returnChar = line.charAt(0); line = line.substring... | 47073 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47073/51a359526ddf154c11219d8fd2e2deb0f1d3cc7a/Adventure.java/buggy/src/goat/module/Adventure.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
2720,
1435,
288,
3639,
1323,
261,
2630,
18,
1467,
1435,
422,
374,
13,
5411,
775,
288,
7734,
4884,
18,
19607,
12,
6625,
1769,
5411,
289,
1044,
261,
24485,
503,
425,
13,
288,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
2720,
1435,
288,
3639,
1323,
261,
2630,
18,
1467,
1435,
422,
374,
13,
5411,
775,
288,
7734,
4884,
18,
19607,
12,
6625,
1769,
5411,
289,
1044,
261,
24485,
503,
425,
13,
288,
7... |
out.println(" " + pre("actions") + "("+parser_class_name+" parser) {"); | /* TUM changes; proposed by Henning Niss 20050628: added typeArgument */ out.println(" " + pre("actions") + "("+parser_class_name+typeArgument()+" parser) {"); | protected static void emit_action_code(PrintWriter out, production start_prod) throws internal_error { production prod; long start_time = System.currentTimeMillis(); /* class header */ out.println(); out.println( "/** Cup generated class to encapsulate user supplied action code.*/... | 2691 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2691/d3f577a9b689487b5eebd831f44350669fc226ad/emit.java/buggy/src/java_cup/emit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
760,
918,
3626,
67,
1128,
67,
710,
12,
5108,
2289,
596,
16,
12449,
787,
67,
17672,
13,
565,
1216,
2713,
67,
1636,
565,
288,
1377,
12449,
10791,
31,
1377,
1525,
787,
67,
957,
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,
4750,
760,
918,
3626,
67,
1128,
67,
710,
12,
5108,
2289,
596,
16,
12449,
787,
67,
17672,
13,
565,
1216,
2713,
67,
1636,
565,
288,
1377,
12449,
10791,
31,
1377,
1525,
787,
67,
957,
273,
... |
VM_Magic.setCharAtOffset(VM_Magic.addressAsObject(dstPtr), -6, VM_Magic.getCharAtOffset(VM_Magic.addressAsObject(srcPtr), -6)); | VM_Magic.setCharAtOffset(VM_Magic.addressAsObject(dstPtr), Offset.fromIntSignExtend(-6), VM_Magic.getCharAtOffset(VM_Magic.addressAsObject(srcPtr), Offset.fromIntSignExtend(-6))); | public static void arraycopy16Bit(Object src, int srcPos, Object dst, int dstPos, int len) throws InlinePragma { if (USE_NATIVE && len > (NATIVE_THRESHOLD >> LOG_BYTES_IN_SHORT)) { memcopy(VM_Magic.objectAsAddress(dst).add(dstPos<<LOG_BYTES_IN_SHORT), VM_Magic.objectAsAddress(src).add(srcPos<<LO... | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/3a9aeeb7f964774e6adc285d6526603ac1570e14/VM_Memory.java/buggy/rvm/src/vm/runtime/VM_Memory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
8817,
2313,
5775,
12,
921,
1705,
16,
509,
1705,
1616,
16,
1033,
3046,
16,
509,
3046,
1616,
16,
509,
562,
13,
1216,
16355,
2050,
9454,
288,
565,
309,
261,
8001,
67,
50,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
918,
8817,
2313,
5775,
12,
921,
1705,
16,
509,
1705,
1616,
16,
1033,
3046,
16,
509,
3046,
1616,
16,
509,
562,
13,
1216,
16355,
2050,
9454,
288,
565,
309,
261,
8001,
67,
50,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.