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 |
|---|---|---|---|---|---|---|
BlockAllocator.setPrevBlock(head, tail); | BlockAllocator.setPrevBlock(head, tail); | private final Address addToFreeBlockList(int sizeClass, Address head, int bucket) throws InlinePragma { Address tail = blockBucketTail.get(bucket); if (!tail.isZero()) { if (head.isZero()) lastBlock.set(sizeClass, tail); else BlockAllocator.setPrevBlock(head, tail); BlockAllocator.setNex... | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/9232c996b259f69154b495f6df0a9c0d44e630e0/SegregatedFreeList.java/clean/MMTk/src/org/mmtk/utility/alloc/SegregatedFreeList.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
727,
5267,
9604,
9194,
1768,
682,
12,
474,
963,
797,
16,
5267,
910,
16,
9944,
282,
509,
2783,
13,
1216,
16355,
2050,
9454,
288,
565,
5267,
5798,
273,
1203,
4103,
12363,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
727,
5267,
9604,
9194,
1768,
682,
12,
474,
963,
797,
16,
5267,
910,
16,
9944,
282,
509,
2783,
13,
1216,
16355,
2050,
9454,
288,
565,
5267,
5798,
273,
1203,
4103,
12363,
18,
588,
1... |
if (x == null) { Serialize ser = new Serialize(this, type); objectTypes.put(type, ser); return ser.storeObject(o); } | if (x == null) { Serialize ser = new Serialize(this, type); objectTypes.put(type, ser); return ser.storeObject(o); } | public long storeObject(Object o) throws SQLException { try { String type = o.getClass().getName(); Object x = objectTypes.get(type); // If x is null, then the type is unknown, so check to see if type // is an actual table name. If it does, see if a Class is known that // can handle it if (x == null) {... | 47288 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47288/e25c93c7eb4a9a1a50b771cc33448b9d3519f403/Connection.java/clean/src/interfaces/jdbc/org/postgresql/Connection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1525,
1707,
921,
12,
921,
320,
13,
1216,
6483,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
780,
618,
273,
320,
18,
588,
797,
7675,
17994,
5621,
1082,
202,
921,
619,
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,
1525,
1707,
921,
12,
921,
320,
13,
1216,
6483,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
780,
618,
273,
320,
18,
588,
797,
7675,
17994,
5621,
1082,
202,
921,
619,
273... |
e.printStackTrace(); | private static void ExceptionDescribe(int envJREF) { if (traceJNI) VM.sysWrite("JNI called: ExceptionDescribe \n"); VM_JNIEnvironment env = VM_Thread.getCurrentThread().getJNIEnv(); try { Throwable e = env.getException(); if (e != null) { e.printStackTrace(); env.recordException(null... | 5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/0b1dbfa3636f5884c9bd935a94234eed2e2659a4/VM_JNIFunctions.java/clean/rvm/src/vm/jni/VM_JNIFunctions.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
918,
1185,
8782,
12,
474,
1550,
46,
10771,
13,
288,
565,
309,
261,
5129,
46,
50,
45,
13,
8251,
18,
9499,
3067,
2932,
46,
50,
45,
2566,
30,
1185,
8782,
225,
521,
82,
8863,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
918,
1185,
8782,
12,
474,
1550,
46,
10771,
13,
288,
565,
309,
261,
5129,
46,
50,
45,
13,
8251,
18,
9499,
3067,
2932,
46,
50,
45,
2566,
30,
1185,
8782,
225,
521,
82,
8863,
... | |
} | } | public void putAll(Map m) { int msize = m.size(); Iterator itr = m.entrySet().iterator(); for (int i=0; i < msize; i++) { Map.Entry e = (Map.Entry) itr.next(); // Optimize in case the Entry is one of our own. if (e instanceof BasicMapEntry) { BasicMapEntry entry = (BasicMapEntry) e; ... | 47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/456fb97639814d1602467619ffb9f412b5a8adc7/HashMap.java/clean/java/util/HashMap.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
13497,
12,
863,
312,
13,
225,
288,
565,
509,
312,
1467,
273,
312,
18,
1467,
5621,
565,
4498,
11176,
273,
312,
18,
4099,
694,
7675,
9838,
5621,
3639,
364,
261,
474,
277,
33,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13497,
12,
863,
312,
13,
225,
288,
565,
509,
312,
1467,
273,
312,
18,
1467,
5621,
565,
4498,
11176,
273,
312,
18,
4099,
694,
7675,
9838,
5621,
3639,
364,
261,
474,
277,
33,
... |
else { takeGuard_.wait(waitTime); waitTime = msecs - (System.currentTimeMillis() - start); } } | public Object poll(long msecs) throws InterruptedException { if (Thread.interrupted()) throw new InterruptedException(); Object x = extract(); if (x != null) return x; else { synchronized(takeGuard_) { try { long waitTime = msecs; long start = (msecs <= 0)? 0: System.cu... | 4082 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4082/a6a25004fd5e24a1bc5f053aa539d01dc2553fbf/BoundedLinkedQueue.java/buggy/src/java/org/logicalcobwebs/concurrent/BoundedLinkedQueue.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
7672,
12,
5748,
18689,
2143,
13,
1216,
7558,
288,
565,
309,
261,
3830,
18,
474,
5954,
10756,
604,
394,
7558,
5621,
565,
1033,
619,
273,
2608,
5621,
565,
309,
261,
92,
480,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
7672,
12,
5748,
18689,
2143,
13,
1216,
7558,
288,
565,
309,
261,
3830,
18,
474,
5954,
10756,
604,
394,
7558,
5621,
565,
1033,
619,
273,
2608,
5621,
565,
309,
261,
92,
480,
4... | |
this.sendErrorPage(ctx, 200, "Failed to remove request", "Failed to remove "+HTMLEncoder.encode(identifier)+" : "+HTMLEncoder.encode(e.getMessage())); | this.sendErrorPage(ctx, 200, "Failed to remove request", "Failed to remove " + identifier + ": " + e.getMessage()); | public void handlePost(URI uri, Bucket data, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { HTTPRequest request = new HTTPRequest(uri, data, ctx); try { if ((data.size() > 1024 * 1024) && (request.getPartAsString("insert", 128).length() == 0)) { this.writeReply(ctx, 4... | 8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/144c6fa8b4af3023cb6f0c50203b29af750a73e7/QueueToadlet.java/buggy/src/freenet/clients/http/QueueToadlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
3349,
12,
3098,
2003,
16,
7408,
501,
16,
2974,
361,
1810,
1042,
1103,
13,
1216,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
202,
202,
23891,
590... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3349,
12,
3098,
2003,
16,
7408,
501,
16,
2974,
361,
1810,
1042,
1103,
13,
1216,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
202,
202,
23891,
590... |
System.out.println("File " + filename + " does not exist!"); | if (new File(filename).canRead()) { new Viewer(filename, useJava3D, use3D); } else { System.out.println("File " + filename + " does not exist!"); } | public static void main(String[] args) { boolean useJava3D = true; boolean use3D = true; String filename = ""; if (args.length == 1) { filename = args[0]; } else if (args.length > 1) { // parse options for (int i=1; i<args.length; i++) { ... | 46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/0a06919741801d4e191547f8003d99a1b2ce6242/Viewer.java/clean/src/org/openscience/cdk/applications/Viewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
1250,
999,
5852,
23,
40,
273,
638,
31,
3639,
1250,
999,
23,
40,
273,
638,
31,
3639,
514,
1544,
273,
1408,
31,
3639,
309,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
1250,
999,
5852,
23,
40,
273,
638,
31,
3639,
1250,
999,
23,
40,
273,
638,
31,
3639,
514,
1544,
273,
1408,
31,
3639,
309,
261,
... |
if (registerMax > 0 && registerNumber > registerMax) { | if (registerMax >= 0 && registerNumber > registerMax) { | public String scanRegisterName(final Context context, final String primitive) throws InterpreterException { skipSpaces = true; Token token = getToken(context); if (token == null) { throw new MissingNumberException(); } if (registerMax < 0 && token.isa(Catcode... | 9123 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9123/1d6269cb361373cdc5302a24dec98d7ff12007d2/Moritz.java/buggy/ExTeX/src/java/de/dante/extex/interpreter/max/Moritz.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
4135,
3996,
461,
12,
6385,
1772,
819,
16,
727,
514,
8225,
13,
5411,
1216,
5294,
11599,
503,
288,
3639,
2488,
12077,
273,
638,
31,
3639,
3155,
1147,
273,
9162,
12,
2472,
1769,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
4135,
3996,
461,
12,
6385,
1772,
819,
16,
727,
514,
8225,
13,
5411,
1216,
5294,
11599,
503,
288,
3639,
2488,
12077,
273,
638,
31,
3639,
3155,
1147,
273,
9162,
12,
2472,
1769,
... |
public void actionPerformed(ActionEvent e) { if (getMessageUI() != null) getMessageUI().setBusy(true); FolderDisplayUI fw = getFolderDisplayUI(); if (fw != null) fw.setBusy(true);; printMessage(e.getSource()); if (fw != null) fw.setBusy(false); if (getMessageUI() != null) getMess... | 967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/55c2ef8139608f0f93fb72272ca8300eb9ac663e/MessageProxy.java/buggy/src/net/suberic/pooka/gui/MessageProxy.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
1377,
309,
261,
24906,
5370,
1435,
480,
446,
13,
202,
24906,
5370,
7675,
542,
29289,
12,
3767,
1769,
1377,
12623,
4236,
5370,
7600,
273,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26100,
12,
1803,
1133,
425,
13,
288,
1377,
309,
261,
24906,
5370,
1435,
480,
446,
13,
202,
24906,
5370,
7675,
542,
29289,
12,
3767,
1769,
1377,
12623,
4236,
5370,
7600,
273,
29... | ||
public MavenProject buildStandaloneSuperProject( ArtifactRepository localRepository ) throws ProjectBuildingException { Model superModel = getSuperModel(); superModel.setGroupId( STANDALONE_SUPERPOM_GROUPID ); superModel.setArtifactId( STANDALONE_SUPERPOM_ARTIFACTID ); superMod... | 47050 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47050/d466205274b1a04edc89551db56aa32049ee2b39/DefaultMavenProjectBuilder.java/clean/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
17176,
4109,
1361,
20612,
12451,
8051,
4109,
12,
14022,
3305,
1191,
3305,
262,
3639,
1216,
5420,
16713,
503,
565,
288,
3639,
3164,
2240,
1488,
273,
15172,
1488,
5621,
3639,
2240,
1488,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17176,
4109,
1361,
20612,
12451,
8051,
4109,
12,
14022,
3305,
1191,
3305,
262,
3639,
1216,
5420,
16713,
503,
565,
288,
3639,
3164,
2240,
1488,
273,
15172,
1488,
5621,
3639,
2240,
1488,
... | ||
private static JStatement makePeekBackup(FilterInfo filterInfo, PhaseInfo phaseInfo) { // make a statement that will copy unpopped items into the // peek buffer, assuming the counter will count from 0 to // (peek-pop) [exclusive upper bound] // the lhs of the destination of the assignment JExpression destL... | 5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/93480af330229866357477c303c45aa718891ace/FusePipe.java/clean/streams/src/at/dms/kjc/sir/lowering/fusion/FusePipe.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
804,
3406,
1221,
30950,
6248,
12,
1586,
966,
1034,
966,
16,
25083,
282,
19459,
966,
6855,
966,
13,
288,
202,
759,
1221,
279,
3021,
716,
903,
1610,
640,
5120,
1845,
1516,
1368,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
804,
3406,
1221,
30950,
6248,
12,
1586,
966,
1034,
966,
16,
25083,
282,
19459,
966,
6855,
966,
13,
288,
202,
759,
1221,
279,
3021,
716,
903,
1610,
640,
5120,
1845,
1516,
1368,
... | ||
File tempFile = new File(DATA_DIR, name+suffix); | Path tempFile = new Path(DATA_DIR, name+suffix); | public void map(WritableComparable key, Writable value, OutputCollector collector, Reporter reporter) throws IOException { String name = ((UTF8)key).toString(); long size = ((LongWritable)value).get(); long seed = Long.parseLong(name); random.setSeed(seed); reporter.... | 49935 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49935/ee01fef4b4fb82c7492a4a747793839a4d14cd39/TestFileSystem.java/buggy/src/test/org/apache/hadoop/fs/TestFileSystem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
852,
12,
12061,
799,
10207,
498,
16,
14505,
460,
16,
10792,
3633,
7134,
8543,
16,
25585,
11528,
13,
1377,
1216,
1860,
288,
1377,
514,
508,
273,
14015,
5159,
28,
13,
856,
2934,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
852,
12,
12061,
799,
10207,
498,
16,
14505,
460,
16,
10792,
3633,
7134,
8543,
16,
25585,
11528,
13,
1377,
1216,
1860,
288,
1377,
514,
508,
273,
14015,
5159,
28,
13,
856,
2934,
... |
DefaultLoggerImpl.instance().log(ILogger.FATAL, Messages.getString( "error.stdenv.cannot.find.device", new Object[] { sName }, Locale.getDefault() ) ); | DefaultLoggerImpl.instance().log(ILogger.FATAL, Messages.getString("error.stdenv.cannot.find.device", new Object[] { sName }, Locale.getDefault() )); | public final IDeviceRenderer getDevice(String sName) throws PluginException { if (inEclipseEnv()) { final Object oDeviceRenderer = getPluginXmlObject("devicerenderers", "deviceRenderer", "name", "device", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ sName); ... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/4c3f1cb28dd9925df77890697e8cb172fe5ebfe8/PluginSettings.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/util/PluginSettings.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
467,
3654,
6747,
19512,
12,
780,
14933,
13,
1216,
6258,
503,
565,
288,
3639,
309,
261,
267,
23057,
10472,
3491,
10756,
3639,
288,
5411,
727,
1033,
320,
3654,
6747,
273,
16319,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
467,
3654,
6747,
19512,
12,
780,
14933,
13,
1216,
6258,
503,
565,
288,
3639,
309,
261,
267,
23057,
10472,
3491,
10756,
3639,
288,
5411,
727,
1033,
320,
3654,
6747,
273,
16319,
... |
setDirty(false); | protected void setValues() { IResourceConfiguration resConfig; String[] buildInputsPaths; String[] buildOutputsPaths; boolean foundRcbsTool = false; int idx; /* * Examine the tools defined for the resource configuration. * There should be at most one tool defined for a custom build step which was no... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/ca2e8c288e0d3b7b382d3418afbe110662fcfed4/ResourceCustomBuildStepBlock.java/buggy/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/internal/ui/ResourceCustomBuildStepBlock.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1117,
918,
27466,
1435,
288,
1082,
202,
45,
1420,
1750,
400,
809,
31,
1082,
202,
780,
8526,
1361,
10059,
4466,
31,
1082,
202,
780,
8526,
1361,
13856,
4466,
31,
1082,
202,
6494,
1392... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
27466,
1435,
288,
1082,
202,
45,
1420,
1750,
400,
809,
31,
1082,
202,
780,
8526,
1361,
10059,
4466,
31,
1082,
202,
780,
8526,
1361,
13856,
4466,
31,
1082,
202,
6494,
1392... | |
int limit = 0; RubyRegexp pat = null; RubyString str = null; int argc = argCount(args, 0, 2); if (argc == 2) { limit = RubyNumeric.fix2int(args[1]); if (limit == 1) { return RubyArray.newArray(getRuntime(), dup()); } } RubyArray result = RubyArray.newArray(getRuntime(), 0); int pos = 0; int beg = 0; int hits = 0; int l... | return new Split(runtime, this, args).results(); | public RubyArray split(IRubyObject[] args) { int limit = 0; RubyRegexp pat = null; RubyString str = null; int argc = argCount(args, 0, 2); if (argc == 2) { limit = RubyNumeric.fix2int(args[1]); if (limit == 1) { return RubyArray.newArray(getRuntime(), dup()); } } RubyArray result = RubyArray.newArray(g... | 49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/43d3b9f60acade22a82aa5f01a640c076e8bc30b/RubyString.java/clean/org/jruby/RubyString.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
1076,
1416,
12,
7937,
10340,
921,
8526,
833,
13,
288,
202,
202,
474,
1800,
273,
374,
31,
202,
202,
54,
10340,
14621,
9670,
273,
446,
31,
202,
202,
54,
10340,
780,
609,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19817,
1076,
1416,
12,
7937,
10340,
921,
8526,
833,
13,
288,
202,
202,
474,
1800,
273,
374,
31,
202,
202,
54,
10340,
14621,
9670,
273,
446,
31,
202,
202,
54,
10340,
780,
609,
... |
public void removeFromBothSidesOfPriority(er.bugtracker.Priority object) { | public void removeFromBothSidesOfPriority(Priority object) { | public void removeFromBothSidesOfPriority(er.bugtracker.Priority object) { removeObjectFromBothSidesOfRelationshipWithKey(object, "priority"); } | 46145 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46145/e2f6d086a1ca4f9bae07e93767b99fcb6f6fa2ac/_Bug.java/clean/Common/Applications/BugTracker/Frameworks/BTBusinessLogic/Sources/er/bugtracker/_Bug.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
22386,
20240,
55,
4369,
951,
8183,
12,
8183,
733,
13,
288,
3639,
1206,
921,
1265,
20240,
55,
4369,
951,
8180,
1190,
653,
12,
1612,
16,
315,
8457,
8863,
565,
289,
2,
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,
377,
1071,
918,
22386,
20240,
55,
4369,
951,
8183,
12,
8183,
733,
13,
288,
3639,
1206,
921,
1265,
20240,
55,
4369,
951,
8180,
1190,
653,
12,
1612,
16,
315,
8457,
8863,
565,
289,
2,
-100,
-10... |
fValue = null; | fValue = CValueFactory.NULL_VALUE; | public void dispose() { if ( fCDIExpression != null ) { try { fCDIExpression.dispose(); fCDIExpression = null; } catch( CDIException e ) { } } if ( fValue instanceof AbstractCValue ) { ((AbstractCValue)fValue).dispose(); fValue = null; } internalDispose( true ); } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/22f8c9984c0ea0995bd9e83013954d12ff907b38/CExpression.java/buggy/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CExpression.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
15825,
1435,
288,
202,
202,
430,
261,
284,
39,
2565,
2300,
480,
446,
262,
288,
1082,
202,
698,
288,
9506,
202,
74,
39,
2565,
2300,
18,
2251,
4150,
5621,
9506,
202,
74,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
15825,
1435,
288,
202,
202,
430,
261,
284,
39,
2565,
2300,
480,
446,
262,
288,
1082,
202,
698,
288,
9506,
202,
74,
39,
2565,
2300,
18,
2251,
4150,
5621,
9506,
202,
74,
... |
assertFalse( bt.poundif( false ) ); assertFalse( bt.poundif( true ) ); assertFalse( bt.poundelif( true ) ); assertFalse( bt.poundelse() ); assertFalse( bt.poundendif() ); assertTrue( bt.poundelse() ); assertTrue( bt.poundendif() ); | assertFalse( bt.poundIf( false ) ); assertFalse( bt.poundIf( true ) ); assertFalse( bt.poundElif( true ) ); assertFalse( bt.poundElse() ); assertFalse( bt.poundEndif() ); assertTrue( bt.poundElse() ); assertTrue( bt.poundEndif() ); | public void testIgnore() { BranchTracker bt = new BranchTracker(); try { /* * #if 0 * # if 1 * # elif 1 * # else * # endif * #else * #endif */ assertFalse( bt.poundif( false ) ); assertFalse( bt.poundif( true ) ); assertFalse( bt.poundelif( true ) ); assertFalse( ... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/b5d5e34e25b54097ee253a657f02cf777d3fe103/BranchTrackerTest.java/clean/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/BranchTrackerTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
3777,
1435,
202,
95,
1082,
1875,
15449,
8135,
10921,
273,
394,
15449,
8135,
5621,
1875,
775,
1082,
288,
1082,
202,
20308,
9506,
380,
468,
430,
374,
6862,
380,
468,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
3777,
1435,
202,
95,
1082,
1875,
15449,
8135,
10921,
273,
394,
15449,
8135,
5621,
1875,
775,
1082,
288,
1082,
202,
20308,
9506,
380,
468,
430,
374,
6862,
380,
468,
20... |
byte[] timeBytes = (new String(timeChars)).getBytes(); | byte[] timeBytes = (new String(timeChars)).getBytes(Typdef.UTF8ENCODING); | public static final int timestampToTimeBytes(byte[] buffer, int offset, java.sql.Timestamp timestamp) { int hour = timestamp.getHours(); int minute = timestamp.getMinutes(); int second = timestamp.ge... | 56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/6eb9730e99c6155b82acc5a6564733f4afd65f20/DateTime.java/clean/java/client/org/apache/derby/client/am/DateTime.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
727,
509,
2858,
774,
950,
2160,
12,
7229,
8526,
1613,
16,
4766,
1171,
509,
1384,
16,
4766,
1171,
2252,
18,
4669,
18,
4921,
2858,
13,
288,
3639,
509,
6126,
273,
2858,
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,
760,
727,
509,
2858,
774,
950,
2160,
12,
7229,
8526,
1613,
16,
4766,
1171,
509,
1384,
16,
4766,
1171,
2252,
18,
4669,
18,
4921,
2858,
13,
288,
3639,
509,
6126,
273,
2858,
18,
588,... |
mainLayout.add(part); | LayoutPart relative = mainLayout.findBottomRight(); if(relative != null && !(relative instanceof EditorArea)) { stack(part,relative); } else { mainLayout.add(part); } | public void addPart(LayoutPart part) { // If part added / removed always zoom out. if (isZoomed()) zoomOut(); // Look for a placeholder. PartPlaceholder placeholder = null; LayoutPart testPart = findPart(part.getID()); if (testPart != null && testPart instanceof PartPlaceholder) placeholder = (PartPlaceholder)testP... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/106fa76699263fef6358428b892e0ba387109831/PerspectivePresentation.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/PerspectivePresentation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
527,
1988,
12,
3744,
1988,
1087,
13,
288,
202,
759,
971,
1087,
3096,
342,
3723,
3712,
7182,
596,
18,
202,
430,
261,
291,
11497,
329,
10756,
202,
202,
14932,
1182,
5621,
1082,
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,
1071,
918,
527,
1988,
12,
3744,
1988,
1087,
13,
288,
202,
759,
971,
1087,
3096,
342,
3723,
3712,
7182,
596,
18,
202,
430,
261,
291,
11497,
329,
10756,
202,
202,
14932,
1182,
5621,
1082,
202,
... |
vPhaseReport.addElement(r); vPhaseReport.addAll( damageCrew(entity, 1)); | addReport(r); addReport( damageCrew(entity, 1)); | private void doEntityFall(Entity entity, Coords fallPos, int height, int facing, PilotingRollData roll) { Report r; IHex fallHex = game.getBoard().getHex(fallPos); // we don't need to deal damage yet, if the entity is doing DFA if (entity.isMakingDfa()) { r = new Report(2305);... | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/393a9905cc0201927e4535bd40befa92f4014c31/Server.java/buggy/megamek/src/megamek/server/Server.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
741,
1943,
42,
454,
12,
1943,
1522,
16,
10320,
87,
4159,
1616,
16,
509,
2072,
16,
509,
284,
5330,
16,
453,
330,
17128,
24194,
751,
5824,
13,
288,
3639,
8706,
436,
31,
3639,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
741,
1943,
42,
454,
12,
1943,
1522,
16,
10320,
87,
4159,
1616,
16,
509,
2072,
16,
509,
284,
5330,
16,
453,
330,
17128,
24194,
751,
5824,
13,
288,
3639,
8706,
436,
31,
3639,
... |
synchronized (inserter) { onFailure(e, inserter); } | onFailure(e, inserter); | private void startInserter() { Logger.minor(this, "starting inserter"); SimpleFieldSet fs = exportPublicFieldSet(); // Remove some unnecessary fields that only cause collisions. // Delete entire ark.* field for now. Changing this and automatically moving to the new may be supported in future. fs.re... | 49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/cbc8d02e7f68958d17b1b62385b39f3b1675daf1/Node.java/clean/src/freenet/node/Node.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1152,
918,
787,
382,
550,
387,
1435,
288,
1082,
202,
3328,
18,
17364,
12,
2211,
16,
315,
18526,
316,
550,
387,
8863,
25083,
202,
5784,
974,
694,
2662,
273,
3359,
4782,
974,
694,
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,
3196,
202,
1152,
918,
787,
382,
550,
387,
1435,
288,
1082,
202,
3328,
18,
17364,
12,
2211,
16,
315,
18526,
316,
550,
387,
8863,
25083,
202,
5784,
974,
694,
2662,
273,
3359,
4782,
974,
694,
5... |
public void close() throws IOException { super.close(); } | public synchronized void close() throws IOException { super.close(); } | public void close() throws IOException { super.close(); } | 9279 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9279/01d75cf2000ffbe9d8a22b16221afa14e5f24d86/SaslInputStream.java/clean/java/CyrusSasl/SaslInputStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1746,
1435,
1216,
1860,
225,
288,
1377,
2240,
18,
4412,
5621,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
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,
282,
1071,
918,
1746,
1435,
1216,
1860,
225,
288,
1377,
2240,
18,
4412,
5621,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
if (logStatic.isDebugEnabled()) { logStatic.debug("CA: Unknown directory service type: " + serverType); | if (log.isDebugEnabled()) { log.debug("CA: Unknown directory service type: " + serverType); | public static CertDirectoryServiceCA getCertDirectoryServiceCAInstance( int serverType, String serverUrl, ServiceBroker sb) { CertDirectoryServiceCA instance = null; LoggingService logStatic = (LoggingService) sb.getService(null, LoggingService.class, null); switch (serverType)... | 12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/d4e47362039c7c798bc93902ad05faecb8f7bed0/CertDirectoryServiceFactory.java/buggy/securityservices/src/org/cougaar/core/security/crypto/ldap/CertDirectoryServiceFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
11921,
2853,
1179,
3587,
1927,
1051,
2853,
1179,
3587,
1442,
12,
25083,
1377,
509,
1438,
559,
16,
514,
1438,
1489,
16,
25083,
1377,
1956,
11194,
2393,
13,
225,
288,
565,
11921,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11921,
2853,
1179,
3587,
1927,
1051,
2853,
1179,
3587,
1442,
12,
25083,
1377,
509,
1438,
559,
16,
514,
1438,
1489,
16,
25083,
1377,
1956,
11194,
2393,
13,
225,
288,
565,
11921,
... |
remoteStatus.updateFromInfo(fetchInfo(client, remoteStatus)); | remoteStatus.updateFromInfo(fetchInfo(client, remoteStatus, monitor)); | private RemoteResourceStatus[] collectRemoteStatuses(ISVNStatus[] statuses, ISVNClientAdapter client) { RemoteResourceStatus[] result = new RemoteResourceStatus[statuses.length]; Arrays.sort(statuses, new Comparator() { public int compare(Object o1, Object o2) { return ((ISVNStatus) o1).getPath()... | 6016 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6016/f19497b6cb60174f7e9992c588cab7207ecdd889/StatusAndInfoCommand.java/clean/subclipse/core/src/org/tigris/subversion/subclipse/core/client/StatusAndInfoCommand.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
6304,
1420,
1482,
8526,
3274,
5169,
15220,
12,
5127,
58,
50,
1482,
8526,
13516,
16,
4437,
58,
50,
1227,
4216,
1004,
13,
565,
288,
377,
202,
5169,
1420,
1482,
8526,
563,
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,
377,
3238,
6304,
1420,
1482,
8526,
3274,
5169,
15220,
12,
5127,
58,
50,
1482,
8526,
13516,
16,
4437,
58,
50,
1227,
4216,
1004,
13,
565,
288,
377,
202,
5169,
1420,
1482,
8526,
563,
273,
394,
... |
("msg.incompat.call", names[0], scope); | ("msg.incompat.call", functionName, scope); | public Object call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { if (parmsLength < 0) { // Ugly: allow variable-arg constructors that need access to the // scope to get it from the Context. Cleanest solutio... | 12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/49ee5104a9201354fbd63b6b9e1e0ea314785d03/FunctionObject.java/clean/js/rhino/src/org/mozilla/javascript/FunctionObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
745,
12,
1042,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
15604,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
261,
29927,
1782,
411,
374,
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,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
745,
12,
1042,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
15604,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
261,
29927,
1782,
411,
374,
13,
288,
5411,... |
RetargetAction action = new RetargetAction(getId(), WorkbenchMessages.getString("Workbench.move")); action.setToolTipText(WorkbenchMessages.getString("Workbench.moveToolTip")); window.getPartService().addPartListener(action); action.setActionDefinitionId("org.eclipse.ui.edit.move"); | IWorkbenchAction action = new NewWizardAction(window); action.setId(getId()); ((WorkbenchWindow) window).addSubmenu(WorkbenchWindow.NEW_WIZARD_SUBMENU); | public IWorkbenchAction create(IWorkbenchWindow window) { if (window == null) { throw new IllegalArgumentException(); } RetargetAction action = new RetargetAction(getId(), WorkbenchMessages.getString("Workbench.move")); //$NON-NLS-1$ //$NON-NLS-2$ action.setToolTipText(WorkbenchMessages.getString("Workben... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/017e0fe431ea8766e86884278f647e2f5227f395/ActionFactory.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/actions/ActionFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
467,
2421,
22144,
1803,
752,
12,
45,
2421,
22144,
3829,
2742,
13,
288,
1082,
202,
430,
261,
5668,
422,
446,
13,
288,
9506,
202,
12849,
394,
2754,
5621,
1082,
202,
97,
1082,
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,
3196,
202,
482,
467,
2421,
22144,
1803,
752,
12,
45,
2421,
22144,
3829,
2742,
13,
288,
1082,
202,
430,
261,
5668,
422,
446,
13,
288,
9506,
202,
12849,
394,
2754,
5621,
1082,
202,
97,
1082,
2... |
today++; } } while (today <= endIdx) { tempValue1 = inReal[today++]; tempValue2 = tempValue1 - prevValue; prevValue = tempValue1; | unstablePeriod = (this.unstablePeriod[TA_FuncUnstId.TA_FUNC_UNST_CMO.ordinal()]) ; if( (unstablePeriod == 0) && ( (this.compatibility) == TA_Compatibility. TA_COMPATIBILITY_METASTOCK)) { savePrevValue = prevValue; prevGain = 0.0; prevLoss = 0.0; for( i=optInTimePeriod; i > 0; i-- ) { tempValue1 = inReal[today++]; te... | public TA_RetCode CMO(int startIdx, int endIdx, double inReal[], int optInTimePeriod, MInteger outBegIdx, MInteger outNbElement, double outReal[]) { int outIdx; int today, lookbackTotal, unstablePeriod, i; double prevGain, prevLoss, prevValue, savePrevValue; double tempValue1, tempValue2, tempValue3, tempValue... | 7231 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7231/5df8081f2a7211016256c0f481213a987e02947a/Core.java/clean/ta-lib/java/src/TA/Lib/Core.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
399,
37,
67,
7055,
1085,
385,
5980,
12,
474,
27108,
16,
509,
679,
4223,
16,
1645,
316,
6955,
63,
6487,
1082,
202,
474,
2153,
382,
26540,
16,
490,
4522,
596,
24059,
4223,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
399,
37,
67,
7055,
1085,
385,
5980,
12,
474,
27108,
16,
509,
679,
4223,
16,
1645,
316,
6955,
63,
6487,
1082,
202,
474,
2153,
382,
26540,
16,
490,
4522,
596,
24059,
4223,
16,
... |
backedOffPercent.report((double)(routingBackedOffUntil-lastSampleTime)/(double)(now-lastSampleTime)); | backedOffPercent.report((double)(localRoutingBackedOffUntil - lastSampleTime)/(double)(now - lastSampleTime)); | private void reportBackoffStatus(long now) { if(now > lastSampleTime) { if (now > routingBackedOffUntil) { if (lastSampleTime > routingBackedOffUntil) { backedOffPercent.report(0.0); } else { backedOffPercent.report((double)(routingBackedOffUntil-lastSampleTime)/(double)(now-lastSampleTime)); } }... | 56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/7575bc3fb32360236cef62f655076b5de182f7d4/PeerNode.java/buggy/src/freenet/node/PeerNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
2605,
16757,
1482,
12,
5748,
2037,
13,
288,
202,
202,
430,
12,
3338,
405,
1142,
8504,
950,
13,
288,
1082,
202,
430,
261,
3338,
405,
7502,
2711,
329,
7210,
9716,
13,
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,
225,
202,
1152,
918,
2605,
16757,
1482,
12,
5748,
2037,
13,
288,
202,
202,
430,
12,
3338,
405,
1142,
8504,
950,
13,
288,
1082,
202,
430,
261,
3338,
405,
7502,
2711,
329,
7210,
9716,
13,
288,... |
System.out.println( "" ); String zipStr = baos.toString(); for ( loop = 0; loop < zipStr.length(); loop++ ) { System.out.print( zipStr.charAt(loop) ); } System.out.println( "" ); zipStr = base64.toString(); for ( loop = 0; loop < zipStr.length(); loop++ ) { System.out.print( zipStr.charAt(loop) ); } System.out.println(... | public static void encode( Packet packet, Writer out ) throws IOException { // First, validate our input. if ( null == packet ) { throw new IllegalArgumentException( "The packet is null." ); } if ( null == out ) { throw new IllegalArgumentException( "The w... | 3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/5f077104f6d702810b2c4490ff78502719c53f73/PacketEncoder.java/buggy/megamek/src/megamek/common/xml/PacketEncoder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2017,
12,
11114,
4414,
16,
5497,
596,
262,
3639,
1216,
1860,
565,
288,
3639,
368,
5783,
16,
1954,
3134,
810,
18,
3639,
309,
261,
446,
422,
4414,
262,
288,
5411,
604,
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,
377,
1071,
760,
918,
2017,
12,
11114,
4414,
16,
5497,
596,
262,
3639,
1216,
1860,
565,
288,
3639,
368,
5783,
16,
1954,
3134,
810,
18,
3639,
309,
261,
446,
422,
4414,
262,
288,
5411,
604,
394... | |
pc = finallyStack[tryStackTop]; | pc = finallyStack[tryStackTop - 1]; | public static Object interpret(InterpreterData theData) throws JavaScriptException { Object lhs; Object[] stack = new Object[theData.itsMaxStack]; int stackTop = -1; byte[] iCode = theData.itsICode; int pc = 0; int iCodeLength = theData.itsICodeTop; ... | 13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/32feff141e5ccc7b1b5e5423d181b6baf24616a0/Interpreter.java/clean/js/rhino/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
10634,
12,
30010,
751,
326,
751,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
1033,
8499,
31,
3639,
1033,
8526,
2110,
273,
394,
1033,
63,
5787,
751,
18,
1282,
2747,
2624,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10634,
12,
30010,
751,
326,
751,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
1033,
8499,
31,
3639,
1033,
8526,
2110,
273,
394,
1033,
63,
5787,
751,
18,
1282,
2747,
2624,
... |
img[i] = ImageTools.padImage(img[i], myReader.getSizeX(id), myReader.getSizeY(id)); | public void open(String id) { wait(true); try { File f = new File(id); id = f.getAbsolutePath(); int num = myReader.getImageCount(id); ProgressMonitor progress = new ProgressMonitor(this, "Reading " + id, null, 0, num + 1); sizeZ = myReader.getSizeZ(id); sizeT = myReader.get... | 46826 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46826/1dad97109502ab50b64961f815c92dd7b4bd7854/ImageViewer.java/clean/loci/formats/ImageViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1696,
12,
780,
612,
13,
288,
565,
2529,
12,
3767,
1769,
565,
775,
288,
1377,
1387,
284,
273,
394,
1387,
12,
350,
1769,
1377,
612,
273,
284,
18,
588,
10368,
743,
5621,
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,
282,
1071,
918,
1696,
12,
780,
612,
13,
288,
565,
2529,
12,
3767,
1769,
565,
775,
288,
1377,
1387,
284,
273,
394,
1387,
12,
350,
1769,
1377,
612,
273,
284,
18,
588,
10368,
743,
5621,
1377,
... | |
public void parse(Reader input) | public void parse(String file) | public void parse(Reader input) throws IOException { int ldrLength = 24; if (! input.ready()) reportFatalError("Unable to read input"); if (mh != null) mh.startCollection(); while(true) { Leader leader = null; char[] ldr = new char[24]; if (input.read(ldr) == -1) break; try { leade... | 5019 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5019/7659624d52811e7f9b3996de3c5f53b8bdb2730b/MarcReader.java/clean/src/org/marc4j/MarcReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1109,
12,
780,
585,
13,
225,
202,
15069,
1860,
288,
202,
474,
328,
3069,
1782,
273,
4248,
31,
202,
430,
16051,
810,
18,
1672,
10756,
202,
565,
2605,
19593,
668,
2932,
3370,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1109,
12,
780,
585,
13,
225,
202,
15069,
1860,
288,
202,
474,
328,
3069,
1782,
273,
4248,
31,
202,
430,
16051,
810,
18,
1672,
10756,
202,
565,
2605,
19593,
668,
2932,
3370,
3... |
{ inventory.clear(); | protected void processResults() { super.processResults(); // Fetch updated equipment if ( requestType == CLOSET ) { parseCloset(); // If the person has meat paste, or is able to create // meat paste, then do so and then parse the combines // page. Otherwise, go to the equipment pages. boolean hasMeatPas... | 50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/cca8ef1fa74c245b1d81bb139782c2c2dfb0a9a1/EquipmentRequest.java/clean/src/net/sourceforge/kolmafia/EquipmentRequest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1207,
3447,
1435,
202,
95,
202,
202,
9565,
18,
2567,
3447,
5621,
202,
202,
759,
8065,
3526,
1298,
11568,
202,
202,
430,
261,
27179,
422,
27775,
4043,
262,
202,
202,
95,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1207,
3447,
1435,
202,
95,
202,
202,
9565,
18,
2567,
3447,
5621,
202,
202,
759,
8065,
3526,
1298,
11568,
202,
202,
430,
261,
27179,
422,
27775,
4043,
262,
202,
202,
95,
... | |
final ReteTuple child = new ReteTuple( leftTuple ); leftTuple.addLinkedTuple( child ); ((TupleSink) getTupleSinks().get( getTupleSinks().size() - 1 )).assertTuple( child, context, workingMemory ); | this.sink.propagateNewTupleSink( (ReteTuple) leftTuple.getChildEntries().getFirst(), context, workingMemory ); | public void updateNewNode(InternalWorkingMemory workingMemory, PropagationContext context) { this.attachingNewNode = true; final BetaMemory memory = (BetaMemory) workingMemory.getNodeMemory( this ); for ( final Iterator it = memory.getLeftTupleMemory().iterator(); i... | 5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/2bb6195a5ef32d74cc0c1c27fcd14cc3db2a27b6/AccumulateNode.java/buggy/drools-core/src/main/java/org/drools/reteoo/AccumulateNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1089,
1908,
907,
12,
3061,
14836,
6031,
5960,
6031,
16,
17311,
1186,
9095,
367,
1042,
819,
13,
288,
3639,
333,
18,
7331,
310,
1908,
907,
273,
638,
31,
3639,
727,
16393,
6031,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1908,
907,
12,
3061,
14836,
6031,
5960,
6031,
16,
17311,
1186,
9095,
367,
1042,
819,
13,
288,
3639,
333,
18,
7331,
310,
1908,
907,
273,
638,
31,
3639,
727,
16393,
6031,
... |
result = EditorManager.saveAll(dirtyEditorList, true, window); | result = EditorManager.saveAll(dirtyEditorList, true, true, window); | public void run() { TableItem[] items = editorsTable.getSelection(); Adapter[] editorRef = new Adapter[items.length]; List dirtyEditorList = new ArrayList(); // store the editor references as editorsTable will // be disposed when focus is lost. f... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/11d256633aba9ab0e433113f97b9916e67ec0742/EditorList.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/EditorList.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
5411,
3555,
1180,
8526,
1516,
273,
29431,
1388,
18,
588,
6233,
5621,
5411,
14238,
8526,
4858,
1957,
273,
394,
14238,
63,
3319,
18,
2469,
15533,
5411,
987,
9603,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
5411,
3555,
1180,
8526,
1516,
273,
29431,
1388,
18,
588,
6233,
5621,
5411,
14238,
8526,
4858,
1957,
273,
394,
14238,
63,
3319,
18,
2469,
15533,
5411,
987,
9603,
... |
public Connection connect(String url, java.util.Properties info) throws SQLException { if (url == null || !url.startsWith(FIREBIRD_PROTOCOL)) { return null; } // end of if () try { FBConnectionRequestInfo conCri = FBConnectionHelpe... | 6960 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6960/9cf27406d17b25f7d34d0bda4d11841de282d260/FBDriver.java/buggy/src/org/firebirdsql/jdbc/FBDriver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4050,
3077,
12,
780,
880,
16,
2252,
18,
1367,
18,
2297,
1123,
13,
3639,
1216,
6483,
565,
288,
3639,
309,
261,
718,
422,
446,
747,
401,
718,
18,
17514,
1190,
12,
1653,
862,
38,
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,
4050,
3077,
12,
780,
880,
16,
2252,
18,
1367,
18,
2297,
1123,
13,
3639,
1216,
6483,
565,
288,
3639,
309,
261,
718,
422,
446,
747,
401,
718,
18,
17514,
1190,
12,
1653,
862,
38,
7... | ||
public synchronized void returnObject(Object obj) throws Exception { | public void returnObject(Object obj) throws Exception { | public synchronized void returnObject(Object obj) throws Exception { if (config != null && config.getRemoveAbandoned()) { trace.remove(obj); } super.returnObject(obj); } | 50976 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50976/2c6f62fcb0d6e42f78c02e7f9adc52f727c3912a/AbandonedObjectPool.java/clean/src/java/org/apache/commons/dbcp/AbandonedObjectPool.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
327,
921,
12,
921,
1081,
13,
1216,
1185,
288,
3639,
309,
261,
1425,
480,
446,
597,
642,
18,
588,
3288,
5895,
29807,
10756,
288,
5411,
2606,
18,
4479,
12,
2603,
1769,
3639,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
327,
921,
12,
921,
1081,
13,
1216,
1185,
288,
3639,
309,
261,
1425,
480,
446,
597,
642,
18,
588,
3288,
5895,
29807,
10756,
288,
5411,
2606,
18,
4479,
12,
2603,
1769,
3639,
28... |
MylarStatusHandler.log(t, "interest filter failed on viewer: " + viewer.getClass()); | MylarStatusHandler.fail(t, "interest filter failed on viewer: " + viewer.getClass(), false); | public boolean select(Viewer viewer, Object parent, Object element) { try { if (!(viewer instanceof StructuredViewer)) return true; if (!containsMylarInterestFilter((StructuredViewer) viewer)) return true; if (temporarilyUnfiltered != null && temporarilyUnfiltered.equals(parent)) return true; IMylarE... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/493d4943b68ff82183673436879f7d594418fd76/InterestFilter.java/buggy/org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/provisional/ui/InterestFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
2027,
12,
18415,
14157,
16,
1033,
982,
16,
1033,
930,
13,
288,
202,
202,
698,
288,
1082,
202,
430,
16051,
12,
25256,
1276,
7362,
2862,
18415,
3719,
9506,
202,
2463,
638,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2027,
12,
18415,
14157,
16,
1033,
982,
16,
1033,
930,
13,
288,
202,
202,
698,
288,
1082,
202,
430,
16051,
12,
25256,
1276,
7362,
2862,
18415,
3719,
9506,
202,
2463,
638,
... |
Bundle bundle = Platform.getBundle(JFACE_TEXT_PLUG_IN); if (bundle == null || bundle.getState() == Bundle.UNINSTALLED) { textSelectionPossible = false; return null; } | Bundle bundle = Platform.getBundle(JFACE_TEXT_PLUG_IN); if (bundle == null || bundle.getState() == Bundle.UNINSTALLED) { textSelectionPossible = false; return null; } | private static Class getTextSelectionClass() { if (iTextSelectionClass != null) { // tried before and succeeded return iTextSelectionClass; } if (!textSelectionPossible) { // tried before and failed return null; } // JFace text plug-in i... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/5cfb5f88a049bbc9efcf0fade7d5687d0ec50ed3/SelectionEnabler.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/SelectionEnabler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1659,
6701,
6233,
797,
1435,
288,
3639,
309,
261,
77,
1528,
6233,
797,
480,
446,
13,
288,
5411,
368,
12928,
1865,
471,
15784,
5411,
327,
277,
1528,
6233,
797,
31,
3639,
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,
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,
1659,
6701,
6233,
797,
1435,
288,
3639,
309,
261,
77,
1528,
6233,
797,
480,
446,
13,
288,
5411,
368,
12928,
1865,
471,
15784,
5411,
327,
277,
1528,
6233,
797,
31,
3639,
289,
... |
return value_; } | return value_; } | public synchronized Object peek() { return value_; } | 4082 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4082/a6a25004fd5e24a1bc5f053aa539d01dc2553fbf/FutureResult.java/clean/src/java/org/logicalcobwebs/concurrent/FutureResult.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3852,
1033,
8032,
1435,
288,
565,
327,
460,
67,
31,
282,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3852,
1033,
8032,
1435,
288,
565,
327,
460,
67,
31,
282,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
StreamConsumer(InputStream in, OutputStream out) { this.bin = new LineNumberReader( new BufferedReader(new InputStreamReader(in))); if(out != null) { | StreamConsumer(InputStream in, OutputStream out) { this.bin = new LineNumberReader(new BufferedReader(new InputStreamReader(in))); if (out != null) { | StreamConsumer(InputStream in, OutputStream out) { this.bin = new LineNumberReader( new BufferedReader(new InputStreamReader(in))); if(out != null) { this.bout = new DataOutputStream(out); } } | 53958 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53958/e10b40e8014547113799b2653164e8c990d41209/StreamUtil.java/buggy/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3961,
5869,
12,
4348,
316,
16,
8962,
596,
13,
565,
288,
1377,
333,
18,
4757,
273,
394,
5377,
1854,
2514,
12,
3639,
394,
10633,
12,
2704,
15322,
12,
267,
3719,
1769,
1377,
309,
12,
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,
3961,
5869,
12,
4348,
316,
16,
8962,
596,
13,
565,
288,
1377,
333,
18,
4757,
273,
394,
5377,
1854,
2514,
12,
3639,
394,
10633,
12,
2704,
15322,
12,
267,
3719,
1769,
1377,
309,
12,
659,
... |
tableViewerImpl.setColumnProperties(columnProperties); } | tableEditorImpl.setColumnProperties(columnProperties); } | public void setColumnProperties(String[] columnProperties) { tableViewerImpl.setColumnProperties(columnProperties); } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/98f48f47b2fd4c2b264a8e2e689bcbe9c594c5d2/TableTreeViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TableTreeViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
25918,
2297,
12,
780,
8526,
1057,
2297,
13,
288,
3639,
1014,
18415,
2828,
18,
542,
1494,
2297,
12,
2827,
2297,
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,
918,
25918,
2297,
12,
780,
8526,
1057,
2297,
13,
288,
3639,
1014,
18415,
2828,
18,
542,
1494,
2297,
12,
2827,
2297,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
final int MIN_NO_EXP = -6; final int MAX_NO_EXP = 20; String s = Double.toString(d); char[] chars = s.toCharArray(); int decimal = -1; int e = -1; boolean negative = false; boolean negativeExponent = false; for (int i=0; i < chars.length; i++) { switch (chars[i]) { case '-': if (e == -1) negative = true; else... | if ((base < 2) || (base > 36)) { Object[] args = { Integer.toString(base) }; throw Context.reportRuntimeError(getMessage ("msg.bad.radix", args)); | public static String numberToString(double d) { if (d != d) return "NaN"; if (d == Double.POSITIVE_INFINITY) return "Infinity"; if (d == Double.NEGATIVE_INFINITY) return "-Infinity"; if (d == 0.0) return "0"; // Okay, this is gross. But ... | 13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/4bf675b98aeb91f7b1aa93aa6af7bc7944745bed/ScriptRuntime.java/clean/js/rhino/src/org/mozilla/javascript/ScriptRuntime.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
1300,
5808,
12,
9056,
302,
13,
288,
3639,
309,
261,
72,
480,
302,
13,
5411,
327,
315,
21172,
14432,
3639,
309,
261,
72,
422,
3698,
18,
7057,
16325,
67,
17716,
13,
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,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
1300,
5808,
12,
9056,
302,
13,
288,
3639,
309,
261,
72,
480,
302,
13,
5411,
327,
315,
21172,
14432,
3639,
309,
261,
72,
422,
3698,
18,
7057,
16325,
67,
17716,
13,
5411,
... |
newChildDescriptors.add (createChildParameter (NotationPackage.eINSTANCE.getView_Styles(), NotationFactory.eINSTANCE.createGuideStyle())); | newChildDescriptors.add (createChildParameter (NotationPackage.Literals.VIEW__STYLES, NotationFactory.eINSTANCE.createGuideStyle())); | protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { super.collectNewChildDescriptors(newChildDescriptors, object); newChildDescriptors.add (createChildParameter (NotationPackage.eINSTANCE.getView_PersistedChildren(), NotationFactory.eINSTANCE.createNode())); newChildD... | 1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/1d1e28c0f7853dd16bd3fe819770773ed4e61d20/ViewItemProvider.java/buggy/org.eclipse.gmf.notation/plugins/org.eclipse.gmf.runtime.notation.edit/src/org/eclipse/gmf/runtime/notation/provider/ViewItemProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
3274,
1908,
1763,
12705,
12,
2532,
19783,
12705,
16,
1033,
733,
13,
288,
202,
202,
9565,
18,
14676,
1908,
1763,
12705,
12,
2704,
1763,
12705,
16,
733,
1769,
202,
202,
2704... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
3274,
1908,
1763,
12705,
12,
2532,
19783,
12705,
16,
1033,
733,
13,
288,
202,
202,
9565,
18,
14676,
1908,
1763,
12705,
12,
2704,
1763,
12705,
16,
733,
1769,
202,
202,
2704... |
return ((Number)getValue()).intValue(); } | return ((Number)getValue()).intValue(); } | public int getIntValue() { return ((Number)getValue()).intValue(); } | 57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/ReturnValue.java/clean/jmock/core/src/org/jmock/expectation/ReturnValue.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
8145,
620,
1435,
288,
202,
202,
2463,
14015,
1854,
13,
24805,
1435,
2934,
474,
620,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
8145,
620,
1435,
288,
202,
202,
2463,
14015,
1854,
13,
24805,
1435,
2934,
474,
620,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
synchronized (_successfulPeers) { return (Set)_successfulPeers.clone(); } } | synchronized (_successfulPeers) { return (Set)_successfulPeers.clone(); } } | public Set getSuccessful() { synchronized (_successfulPeers) { return (Set)_successfulPeers.clone(); } } | 27437 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27437/86759d2f9c63d203488c7e8b34e64be162a16ce9/StoreJob.java/buggy/router/java/src/net/i2p/router/networkdb/kademlia/StoreJob.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1000,
1322,
2825,
2706,
1435,
288,
3196,
565,
3852,
261,
67,
18418,
14858,
13,
288,
202,
202,
2463,
261,
694,
13,
67,
18418,
14858,
18,
14056,
5621,
3196,
565,
289,
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,
1000,
1322,
2825,
2706,
1435,
288,
3196,
565,
3852,
261,
67,
18418,
14858,
13,
288,
202,
202,
2463,
261,
694,
13,
67,
18418,
14858,
18,
14056,
5621,
3196,
565,
289,
202,
97,
2... |
case Id_setUTCDate: return wrap_double(realThis(thisObj, f, false). jsFunction_setUTCDate(args)); | case Id_setUTCDate: return wrap_double(realThis(thisObj, f, false). jsFunction_setUTCDate(args)); | public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { switch (methodId) { case ConstructorId_UTC: return wrap_double (jsStaticFunction_UTC(args)); case ConstructorId... | 51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/35caf7c2bb93872680ae16e34746d94fe1e533e3/NativeDate.java/clean/js/rhino/src/org/mozilla/javascript/NativeDate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
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,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
... |
body = fbody.getBodyNode(); | body = fbody.getHeadNode(); | public GetMethodBodyResult getMethodBody(RubyId id, int noex) { GetMethodBodyResult result = new GetMethodBodyResult(this, id, noex); MethodNode methodNode = searchMethod(id); if (methodNode == null || methodNode.getBodyNode() == null) { System.out.println( "Cant find method \"" + id.toName() + "\" in class " ... | 52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/c7f13fd014f31b83985a27d44855459fd7abe0c5/RubyModule.java/buggy/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
968,
1305,
2250,
1253,
6272,
2250,
12,
54,
10340,
548,
612,
16,
509,
1158,
338,
13,
288,
202,
202,
967,
1305,
2250,
1253,
563,
273,
394,
968,
1305,
2250,
1253,
12,
2211,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
968,
1305,
2250,
1253,
6272,
2250,
12,
54,
10340,
548,
612,
16,
509,
1158,
338,
13,
288,
202,
202,
967,
1305,
2250,
1253,
563,
273,
394,
968,
1305,
2250,
1253,
12,
2211,
16,
... |
public void setMethodVisibility(IRubyObject[] methods, int noex) { | public void setMethodVisibility(IRubyObject[] methods, Visibility noex) { | public void setMethodVisibility(IRubyObject[] methods, int noex) { if (getRuntime().getSafeLevel() >= 4 && !isTaint()) { throw new RubySecurityException(getRuntime(), "Insecure: can't change method visibility"); } for (int i = 0; i < methods.length; i++) { exportMethod(met... | 46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/f05423516c2d1bfe54c4363eedb9654f7cfb6898/RubyModule.java/buggy/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
19539,
10135,
12,
7937,
10340,
921,
8526,
2590,
16,
27791,
1158,
338,
13,
288,
3639,
309,
261,
588,
5576,
7675,
588,
9890,
2355,
1435,
1545,
1059,
597,
401,
291,
29048,
10756,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19539,
10135,
12,
7937,
10340,
921,
8526,
2590,
16,
27791,
1158,
338,
13,
288,
3639,
309,
261,
588,
5576,
7675,
588,
9890,
2355,
1435,
1545,
1059,
597,
401,
291,
29048,
10756,
... |
public void down(Event evt) { Message msg; //System.out.println("DOWN: " + evt); switch( evt.getType() ) { case Event.VIEW_CHANGE: // this will probably never happen log.error( "NOTE: VIEW_CHANGE Event going down through " + PROTOCOL_NAME ); Vector new_members=((View)e... | 50160 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50160/13de68466e3cf7fde6ee0bde0cee09a33e837e89/TOTAL_OLD.java/clean/src/org/jgroups/protocols/TOTAL_OLD.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2588,
12,
1133,
6324,
13,
288,
3639,
2350,
1234,
31,
3639,
368,
3163,
18,
659,
18,
8222,
2932,
12711,
30,
315,
397,
6324,
1769,
3639,
1620,
12,
6324,
18,
588,
559,
1435,
262,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2588,
12,
1133,
6324,
13,
288,
3639,
2350,
1234,
31,
3639,
368,
3163,
18,
659,
18,
8222,
2932,
12711,
30,
315,
397,
6324,
1769,
3639,
1620,
12,
6324,
18,
588,
559,
1435,
262,... | ||
PsiTreeUtil.isAncestor(pair.getSecond().getChangeScope(), transaction.getChangeScope(), false) | PsiTreeUtil.isAncestor(pair.getSecond().getChangeScope(), transaction.getChangeScope(), false) && getContainingFileByTree(pair.getSecond().getChangeScope()) != null | private Pair<PomModelAspect,PomTransaction> getBlockingTransaction(final PomModelAspect aspect, PomTransaction transaction) { final List<PomModelAspect> allDependants = getAllDependants(aspect); final Iterator<PomModelAspect> iterator = allDependants.iterator(); while (iterator.hasNext()) { final PomMod... | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/b47a37d963f4e542a65ce977fd3e4bc153f91b85/PomModelImpl.java/buggy/source/com/intellij/pom/core/impl/PomModelImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
8599,
32,
52,
362,
1488,
17468,
16,
52,
362,
3342,
34,
336,
8728,
3342,
12,
6385,
453,
362,
1488,
17468,
9648,
16,
453,
362,
3342,
2492,
13,
288,
565,
727,
987,
32,
52,
362,
148... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8599,
32,
52,
362,
1488,
17468,
16,
52,
362,
3342,
34,
336,
8728,
3342,
12,
6385,
453,
362,
1488,
17468,
9648,
16,
453,
362,
3342,
2492,
13,
288,
565,
727,
987,
32,
52,
362,
148... |
}catch(CharacterCodingException e) { LOG.info( e ); | public void testCoding() throws Exception { for (int i = 0; i < NUM_ITERATIONS; i++) { try { // generate a random string String before; if(i == 0 ) before = getLongString(); else before = getTestString(); // test string to utf8 ... | 51718 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51718/ade1478723edce95f407a038027d26b7e05459d5/TestText.java/buggy/src/test/org/apache/hadoop/io/TestText.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
30315,
1435,
1216,
1185,
288,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
9443,
67,
11844,
15297,
31,
277,
27245,
288,
1377,
775,
288,
1850,
368,
2103,
279,
2744,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1842,
30315,
1435,
1216,
1185,
288,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
9443,
67,
11844,
15297,
31,
277,
27245,
288,
1377,
775,
288,
1850,
368,
2103,
279,
2744,
... | |
} else { | } else{ | public String buildErrorString(PsiElement location) { final PsiVariable variable = (PsiVariable) location.getParent(); final PsiElement context; if (variable instanceof PsiField) { context = ((PsiMember) variable).getContainingClass(); } else { context = PsiTreeUtil... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/90cc9c6d223234a5bc900d3332b6ba90fc334cc2/MismatchedArrayReadWriteInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/bugs/MismatchedArrayReadWriteInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1361,
668,
780,
12,
52,
7722,
1046,
2117,
13,
288,
3639,
727,
453,
7722,
3092,
2190,
273,
261,
52,
7722,
3092,
13,
2117,
18,
588,
3054,
5621,
3639,
727,
453,
7722,
1046,
819,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1361,
668,
780,
12,
52,
7722,
1046,
2117,
13,
288,
3639,
727,
453,
7722,
3092,
2190,
273,
261,
52,
7722,
3092,
13,
2117,
18,
588,
3054,
5621,
3639,
727,
453,
7722,
1046,
819,... |
case LnConstants.DEC_MODE_128A: return "128 step advanced"; case LnConstants.DEC_MODE_28A: return "28 step advanced"; case LnConstants.DEC_MODE_128: return "128 step"; case LnConstants.DEC_MODE_14: return "14 step"; | case LnConstants.DEC_MODE_128A: return "128 step advanced"; case LnConstants.DEC_MODE_28A: return "28 step advanced"; case LnConstants.DEC_MODE_128: return "128 step"; case LnConstants.DEC_MODE_14: return "14 step"; | public Object getValueAt(int row, int col) { int slotNum; if (_allSlots) { // will show the entire set slotNum = row; } else { slotNum = ithActiveSlot(row); } LocoNetSlot s = SlotManager.instance().slot(slotNum); if (s == null) log.error("sl... | 213 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/213/483c65800b670b9b9b5a9eb7a97cc8f30608cc62/SlotMonDataModel.java/buggy/jmri/jmrix/loconet/slotmon/SlotMonDataModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
2366,
861,
12,
474,
1027,
16,
509,
645,
13,
288,
3639,
509,
4694,
2578,
31,
3639,
309,
261,
67,
454,
16266,
13,
288,
5411,
368,
903,
2405,
326,
7278,
444,
5411,
4694,
2578,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
2366,
861,
12,
474,
1027,
16,
509,
645,
13,
288,
3639,
509,
4694,
2578,
31,
3639,
309,
261,
67,
454,
16266,
13,
288,
5411,
368,
903,
2405,
326,
7278,
444,
5411,
4694,
2578,
... |
String res; if( mIsCommandRunning ) { startSubCommand(mCommandEvaluateCode, fText, false); } else { startCommand(mCommandEvaluateCode, fText, false, fThread); } res = mDebugOutput; int index_n = res.lastIndexOf("\n"); int index_r = res.lastIndexOf("\r"); if ( res == null || ( (index_n <= 0) && (index_r<=0)) ) { ret... | return evaluateStatement(fThread, fText,true); | public String evaluateStatement(Object fThread, String fText) { String res; if( mIsCommandRunning ) { startSubCommand(mCommandEvaluateCode, fText, false); } else { startCommand(mCommandEvaluateCode, fText, false, fThread); } res = mDebugOutput; int index_n = res.lastIndexOf("\n"); int index_r = res... | 48756 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48756/6ddba15fc8496d0818a1a3e2f6a771c7d36dd1f8/PerlDB.java/clean/org.epic.debug/src/org/epic/debug/PerlDB.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
5956,
3406,
12,
921,
284,
3830,
16,
514,
284,
1528,
13,
202,
95,
9506,
202,
780,
400,
31,
9506,
202,
430,
12,
312,
2520,
2189,
7051,
262,
202,
202,
95,
1082,
202,
1937,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
5956,
3406,
12,
921,
284,
3830,
16,
514,
284,
1528,
13,
202,
95,
9506,
202,
780,
400,
31,
9506,
202,
430,
12,
312,
2520,
2189,
7051,
262,
202,
202,
95,
1082,
202,
1937,... |
} catch (BundleException ex) { bundle.framework.publishFrameworkEvent(FrameworkEvent.ERROR, bundle, ex); | protected String[] matchClassPath(ManifestElement[] classpath, Properties props) { if (classpath == null) { if (Debug.DEBUG && Debug.DEBUG_LOADER) Debug.println(" no classpath"); /* create default BundleClassPath */ return new String[] {"."}; } ArrayList result = new ArrayList(classpath.length); for (int... | 2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/e4c5d10f8c326988cb38fc4445946f037be3828e/BundleLoader.java/clean/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/BundleLoader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
8526,
845,
22158,
12,
9121,
1046,
8526,
10006,
16,
6183,
3458,
13,
288,
202,
202,
430,
261,
26302,
422,
446,
13,
288,
1082,
202,
430,
261,
2829,
18,
9394,
597,
4015,
18,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
8526,
845,
22158,
12,
9121,
1046,
8526,
10006,
16,
6183,
3458,
13,
288,
202,
202,
430,
261,
26302,
422,
446,
13,
288,
1082,
202,
430,
261,
2829,
18,
9394,
597,
4015,
18,... | |
} else if (key.equals("op_sys")) { | } else if (key.equals("op_sys")) { | protected void createAttributeLayout() { String title = getTitleString(); String keywords = ""; String url = ""; Section section = toolkit.createSection(form.getBody(), ExpandableComposite.TITLE_BAR | Section.TWISTIE); section.setText(LABEL_SECTION_ATTRIBUTES); section.setExpanded(true); section.setLayout(n... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/b6fdf4c39d4d5c70a709abf29c786ecdd72915f1/AbstractBugEditor.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/AbstractBugEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
752,
1499,
3744,
1435,
288,
202,
202,
780,
2077,
273,
10786,
780,
5621,
202,
202,
780,
7093,
273,
1408,
31,
202,
202,
780,
880,
273,
1408,
31,
25083,
202,
5285,
2442,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
752,
1499,
3744,
1435,
288,
202,
202,
780,
2077,
273,
10786,
780,
5621,
202,
202,
780,
7093,
273,
1408,
31,
202,
202,
780,
880,
273,
1408,
31,
25083,
202,
5285,
2442,
27... |
if (job.getStatus().getRunState() != JobStatus.RUNNING && (job.getFinishTime() + RETIRE_JOB_INTERVAL < System.currentTimeMillis())) { it.remove(); jobsByArrival.remove(job); | if (job.getStatus().getRunState() != JobStatus.RUNNING && job.getStatus().getRunState() != JobStatus.PREP && (job.getFinishTime() + RETIRE_JOB_INTERVAL < System.currentTimeMillis())) { it.remove(); jobInitQueue.remove(job); jobsByArrival.remove(job); } } | public void run() { while (shouldRun) { try { Thread.sleep(RETIRE_JOB_CHECK_INTERVAL); } catch (InterruptedException ie) { } synchronized (jobs) { for (Iterator it = jobs.keySet().iterato... | 49935 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49935/b6fb13699445bb8fc24b8351b5603c045fb2c6d4/JobTracker.java/clean/src/java/org/apache/hadoop/mapred/JobTracker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
5411,
1323,
261,
13139,
1997,
13,
288,
7734,
775,
288,
10792,
4884,
18,
19607,
12,
10238,
45,
862,
67,
18321,
67,
10687,
67,
16435,
1769,
7734,
289,
1044,
261,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
5411,
1323,
261,
13139,
1997,
13,
288,
7734,
775,
288,
10792,
4884,
18,
19607,
12,
10238,
45,
862,
67,
18321,
67,
10687,
67,
16435,
1769,
7734,
289,
1044,
261,... |
insets.top = top; insets.left = left; insets.bottom = bottom; insets.right = right; | else { int frame_x = x - insets.left; int frame_y = y - insets.top; int frame_width = width + insets.left + insets.right; int frame_height = height + insets.top + insets.bottom; | protected void postConfigureEvent (int x, int y, int width, int height, int top, int left, int bottom, int right) { /* If our borders change (which often happens when we opaque resize), we need to make sure that a new layout will happen, since Sun forgets to handle this case. */ i... | 13625 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13625/0f843d89c21e86f6950f46b3c08173b3d30b9f3e/GtkWindowPeer.java/buggy/libjava/gnu/java/awt/peer/gtk/GtkWindowPeer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1603,
11207,
1133,
261,
474,
619,
16,
509,
677,
16,
509,
1835,
16,
509,
2072,
16,
6862,
377,
509,
1760,
16,
509,
2002,
16,
509,
5469,
16,
509,
2145,
13,
225,
288,
565,
1748... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1603,
11207,
1133,
261,
474,
619,
16,
509,
677,
16,
509,
1835,
16,
509,
2072,
16,
6862,
377,
509,
1760,
16,
509,
2002,
16,
509,
5469,
16,
509,
2145,
13,
225,
288,
565,
1748... |
private static void positionRowsOnPage(LayoutContext c, TableBox table) { int lastMoved = -1; for (int i = 0; i < table.getChildCount(); i++) { RowBox row = (RowBox)table.getChild(i); if (row.crossesPageBreak(c) && i != lastMoved) { int runStart = findS... | 52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/c503dd5c043db2513f5773aa55dcb4b694e3fe84/TableBoxing.java/clean/src/java/org/xhtmlrenderer/table/TableBoxing.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
1754,
4300,
1398,
1964,
12,
3744,
1042,
276,
16,
3555,
3514,
1014,
13,
288,
3639,
509,
1142,
25317,
273,
300,
21,
31,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
1754,
4300,
1398,
1964,
12,
3744,
1042,
276,
16,
3555,
3514,
1014,
13,
288,
3639,
509,
1142,
25317,
273,
300,
21,
31,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
... | ||
} else { label.setText(player.get_name()); } SeatType seat_type = player.get_seat_type(); switch (seat_num) { case 0: label.setVerticalAlignment(SwingConstants.TOP); break; case 1: label.setIcon(getPlayerIcon(seat_type)); label.setVerticalTextPosition(SwingConstants.BOTTOM); label.setHorizontalTextPosition(SwingConst... | }); | public void alert_player(int seat_num, SeatType old_type, String old_name) { JLabel label = player_labels[seat_num]; CardSeat player = card_client.get_nth_player(seat_num); if (label == null) { label = new JLabel(player.get_name()); label.setForeground(Color.WHITE); ... | 45800 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45800/212d52f63e654cbed92d45f72438f2c39373b1f5/GamePanel.java/clean/playground/ggz-java5/src/ggz/cards/GamePanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
6881,
67,
14872,
12,
474,
695,
270,
67,
2107,
16,
3265,
270,
559,
1592,
67,
723,
16,
514,
1592,
67,
529,
13,
288,
3639,
21403,
1433,
273,
7291,
67,
5336,
63,
307,
270,
67,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
6881,
67,
14872,
12,
474,
695,
270,
67,
2107,
16,
3265,
270,
559,
1592,
67,
723,
16,
514,
1592,
67,
529,
13,
288,
3639,
21403,
1433,
273,
7291,
67,
5336,
63,
307,
270,
67,
... |
Vault.releaseDbConnection(dbConn); | if(m_dbConnection!=dbConn && dbConn!=null) Vault.releaseDbConnection(dbConn); | public static Element[] getElementsOfMap(int mapid) throws SQLException, MapsException { final String sqlQuery = "SELECT * FROM element WHERE mapid = ?"; Connection dbConn = Vault.getDbConnection(); PreparedStatement statement = dbConn.prepareStatement(sqlQuery); statement.setInt(1, mapid); R... | 25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/069d0e7b3a96289b7c94aecc6c8a14fee3498895/Factory.java/buggy/opennms-webapp/src/main/java/org/opennms/web/map/db/Factory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
3010,
8526,
8886,
951,
863,
12,
474,
852,
350,
13,
1216,
6483,
16,
19837,
503,
288,
1377,
727,
514,
24451,
273,
315,
4803,
380,
4571,
930,
4852,
852,
350,
273,
692,
14432,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
3010,
8526,
8886,
951,
863,
12,
474,
852,
350,
13,
1216,
6483,
16,
19837,
503,
288,
1377,
727,
514,
24451,
273,
315,
4803,
380,
4571,
930,
4852,
852,
350,
273,
692,
14432,
13... |
return DateTime.parse(StringValue.stringValue(value), DateTime.DATE_MASK|DateTime.TIME_MASK); | return XTimeType.parseDateTime(StringValue.stringValue(value), DateTime.DATE_MASK|DateTime.TIME_MASK); | static DateTime coerceToDateTime (String fun, Object value) { if (XTimeType.dateTimeType.isInstance(value)) return (DateTime) value; if (value instanceof KNode || value instanceof UntypedAtomic) return DateTime.parse(StringValue.stringValue(value), DateTime.DATE_MASK|DateTi... | 40769 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/40769/17d1e907057b7ea9cf7fd39cddb89988d433bca5/TimeUtils.java/buggy/gnu/xquery/util/TimeUtils.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
3716,
12270,
774,
5096,
261,
780,
9831,
16,
1033,
460,
13,
225,
288,
565,
309,
261,
60,
950,
559,
18,
712,
950,
559,
18,
291,
1442,
12,
1132,
3719,
1377,
327,
261,
5096,
13,
460,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
3716,
12270,
774,
5096,
261,
780,
9831,
16,
1033,
460,
13,
225,
288,
565,
309,
261,
60,
950,
559,
18,
712,
950,
559,
18,
291,
1442,
12,
1132,
3719,
1377,
327,
261,
5096,
13,
460,... |
ResultSet rs = conn.ExecSQL("select typname from pg_type,pg_class where typname=relname and typname='"+type+"'"); | ResultSet rs = conn.ExecSQL(null, "select typname from pg_type,pg_class where typname=relname and typname='"+type+"'"); | public Serialize(org.postgresql.Connection c,String type) throws SQLException { try { conn = c; tableName = type.toLowerCase(); className = toClassName(type); ourClass = Class.forName(className); } catch(ClassNotFoundException cnfe) { throw new PSQLException("postgresql.serial.noclass"... | 49504 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49504/5383b5d8ed6da5c90bcbdb63401b7d1d75db563d/Serialize.java/clean/src/interfaces/jdbc/org/postgresql/util/Serialize.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
14293,
12,
3341,
18,
2767,
24330,
18,
1952,
276,
16,
780,
618,
13,
1216,
6483,
225,
288,
565,
775,
288,
1377,
1487,
273,
276,
31,
1377,
4775,
273,
618,
18,
869,
5630,
5621,
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,
282,
1071,
14293,
12,
3341,
18,
2767,
24330,
18,
1952,
276,
16,
780,
618,
13,
1216,
6483,
225,
288,
565,
775,
288,
1377,
1487,
273,
276,
31,
1377,
4775,
273,
618,
18,
869,
5630,
5621,
1377,
... |
public PersistencePreference(PersistenceManagerRdbms pm) { | public PersistencePreference() { | public PersistencePreference(PersistenceManagerRdbms pm) { super(); this.pm = pm; } | 49343 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49343/6a19cc994dd65303b3b6209e9064f56a3fc80ef9/PersistencePreference.java/buggy/src/org/gridlab/gridsphere/portlet/jsrimpl/PersistencePreference.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
13381,
9624,
1435,
288,
3639,
2240,
5621,
3639,
333,
18,
7755,
273,
7430,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
13381,
9624,
1435,
288,
3639,
2240,
5621,
3639,
333,
18,
7755,
273,
7430,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
protected void visit(Node iVisited) { visit(iVisited, true); } | protected void visit(Node iVisited) { visit(iVisited, true); } | protected void visit(Node iVisited) { visit(iVisited, true); } | 45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
3757,
12,
907,
277,
30019,
13,
202,
95,
202,
202,
11658,
12,
77,
30019,
16,
638,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
3757,
12,
907,
277,
30019,
13,
202,
95,
202,
202,
11658,
12,
77,
30019,
16,
638,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
if (log.isDebugEnabled()) { log.debug("pass " + pass + " on service " + name + " will invoke method \"" + todo[k].getMethod() + "\""); | if (invokerLog.isDebugEnabled()) { invokerLog.debug("pass " + pass + " on service " + name + " will invoke method \"" + todo[k].getMethod() + "\""); | private static List invokeMethods(MBeanServer server, InvokerService[] invokerServices, InvokeAtType at, boolean reverse, boolean failFast) { Category log = ThreadCategory.getInstance(Manager.class)... | 48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/ecd62ed236d13ba5e40cad90759a671d988ac804/Manager.java/clean/src/services/org/opennms/netmgt/vmmgr/Manager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
987,
4356,
4712,
12,
18089,
2081,
1438,
16,
4766,
1377,
17602,
264,
1179,
8526,
24920,
5676,
16,
4766,
1377,
14373,
861,
559,
622,
16,
1250,
4219,
16,
4766,
1377,
1250,
2321,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
987,
4356,
4712,
12,
18089,
2081,
1438,
16,
4766,
1377,
17602,
264,
1179,
8526,
24920,
5676,
16,
4766,
1377,
14373,
861,
559,
622,
16,
1250,
4219,
16,
4766,
1377,
1250,
2321,
1... |
boolean routingBackedOffNow = (now < routingBackedOffUntil); | public void handleGet(URI uri, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { String path = uri.getPath(); if(path.endsWith("myref.txt")) { SimpleFieldSet fs = node.exportPublicFieldSet(); StringWriter sw = new StringWriter(); fs.writeTo(sw); this.writeReply(ctx,... | 50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/a742c7e613e032e408b0845c7f2ddc5edbddba64/DarknetConnectionsToadlet.java/buggy/src/freenet/clients/http/DarknetConnectionsToadlet.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,
1216,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
9506,
202,
780,
589,
273,
2003,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1216,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
9506,
202,
780,
589,
273,
2003,
18,
... | |
GridLayout gridLayout = new GridLayout( 4, false ); | GridLayout gridLayout = new GridLayout( 3, false ); | private void createDataSetArea( Composite parent ) { Composite cmpDataSet = new Composite( parent, SWT.NONE ); { GridLayout gridLayout = new GridLayout( 4, false ); gridLayout.marginWidth = 0; gridLayout.marginHeight = 0; cmpDataSet.setLayout( gridLayout ); cmpDataSet.setLayoutData( new GridData( GridData.... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/ac26365eb54b9a10e69498a213cb6f605f15760b/TaskSelectData.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/TaskSelectData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
13676,
5484,
12,
14728,
982,
262,
202,
95,
202,
202,
9400,
9411,
13676,
273,
394,
14728,
12,
982,
16,
348,
8588,
18,
9826,
11272,
202,
202,
95,
1082,
202,
6313,
374... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
752,
13676,
5484,
12,
14728,
982,
262,
202,
95,
202,
202,
9400,
9411,
13676,
273,
394,
14728,
12,
982,
16,
348,
8588,
18,
9826,
11272,
202,
202,
95,
1082,
202,
6313,
374... |
public void onApplicationEvent(ApplicationEvent orderEvent) { super.onApplicationEvent(orderEvent); //Get the order Order order = (Order) orderEvent.getSource(); String result = processOrder(order); //Cast the event to a Mule event, we'll use this to get the AppContext M... | 28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/8cc09178adb8b0a3803c08f7b3cf0b6cf566d2b0/OrderManagerBean.java/buggy/tests/integration/src/test/java/org/mule/test/integration/spring/events/OrderManagerBean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
603,
3208,
1133,
12,
3208,
1133,
1353,
1133,
13,
565,
288,
3639,
2240,
18,
265,
3208,
1133,
12,
1019,
1133,
1769,
3639,
368,
967,
326,
1353,
3639,
4347,
1353,
273,
261,
2448,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
603,
3208,
1133,
12,
3208,
1133,
1353,
1133,
13,
565,
288,
3639,
2240,
18,
265,
3208,
1133,
12,
1019,
1133,
1769,
3639,
368,
967,
326,
1353,
3639,
4347,
1353,
273,
261,
2448,
... | ||
"edu.cmu.sphinx.search.StaticLinguist")).newInstance(); | "edu.cmu.sphinx.decoder.linguist.StaticLinguist")).newInstance(); | private Linguist getLinguist(LanguageModel languageModel, Grammar grammar, AcousticModel[] models) { try { Linguist newLinguist = (Linguist) Class.forName(props.getString(PROP_LINGUIST, "edu.cmu.sphinx.search.StaticLinguist")).newInstance(); newLing... | 48839 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48839/c3908026face527b93cadc822bf806925add985d/Recognizer.java/buggy/sphinx4/edu/cmu/sphinx/decoder/Recognizer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
511,
14344,
376,
9014,
14344,
376,
12,
3779,
1488,
2653,
1488,
16,
6862,
27809,
6473,
16,
6862,
432,
2894,
641,
335,
1488,
8526,
3679,
13,
288,
3639,
775,
288,
5411,
511,
14344,
376... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
511,
14344,
376,
9014,
14344,
376,
12,
3779,
1488,
2653,
1488,
16,
6862,
27809,
6473,
16,
6862,
432,
2894,
641,
335,
1488,
8526,
3679,
13,
288,
3639,
775,
288,
5411,
511,
14344,
376... |
anticipateAndSend(false, | anticipateAndSend(false, true, | public void testV2EnterpriseIdAndGenericAndSpecificMatchWithZero() throws Exception { anticipateAndSend(false, "uei.opennms.org/IETF/BGP/traps/bgpEstablished", "v2c", ".1.3.6.1.2.1.15.7.0", 6, 1); } | 47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/babd69f99b2c34d418f92b79c80dc38b03680037/TrapHandlerTest.java/clean/opennms-services/src/test/java/org/opennms/netmgt/trapd/TrapHandlerTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
58,
22,
30699,
548,
1876,
7014,
1876,
9969,
2060,
1190,
7170,
1435,
3639,
1216,
1185,
288,
3639,
17841,
24629,
340,
1876,
3826,
12,
5743,
16,
638,
16,
12900,
315,
344,
77... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
58,
22,
30699,
548,
1876,
7014,
1876,
9969,
2060,
1190,
7170,
1435,
3639,
1216,
1185,
288,
3639,
17841,
24629,
340,
1876,
3826,
12,
5743,
16,
638,
16,
12900,
315,
344,
77... |
return selectedService != null; } | return selectedService != null; } | public boolean isShowingAnalysisService() { return selectedService != null; } | 57344 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57344/1e320783a6357fb0477446de87b88ff8654fcd41/AnalysisServiceDisplay.java/buggy/clients/JavaGE/src/org/genepattern/gpge/ui/tasks/AnalysisServiceDisplay.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
5706,
310,
9418,
1179,
1435,
288,
202,
202,
2463,
3170,
1179,
480,
446,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
5706,
310,
9418,
1179,
1435,
288,
202,
202,
2463,
3170,
1179,
480,
446,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
jj_la1[21] = jj_gen; | jj_la1[17] = jj_gen; | static final public void ArgParameter() throws ParseException { /*@bgen(jjtree) ArgParameter */ ASTArgParameter jjtn000 = new ASTArgParameter(JJTARGPARAMETER); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000);Token t; try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ARG_PATTERN: t ... | 7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/726c24ef410f918a103c7ce911931e76cc280894/ExpressionParser.java/clean/aspectwerkz4/src/main/org/codehaus/aspectwerkz/expression/ast/ExpressionParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
727,
1071,
918,
14448,
1662,
1435,
1216,
10616,
288,
1748,
36,
70,
4507,
12,
78,
78,
3413,
13,
14448,
1662,
1195,
565,
9183,
4117,
1662,
10684,
5088,
3784,
273,
394,
9183,
4117,
1662... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
727,
1071,
918,
14448,
1662,
1435,
1216,
10616,
288,
1748,
36,
70,
4507,
12,
78,
78,
3413,
13,
14448,
1662,
1195,
565,
9183,
4117,
1662,
10684,
5088,
3784,
273,
394,
9183,
4117,
1662... |
IdeaReader reader = factory.read(new File(absPath)); | Idea idea = factory.read(new File(absPath)); | public void openDocument() throws IOException, ReaderException { FileDialog chooser = new FileDialog(mainframe, "Open OPML file", FileDialog.LOAD); chooser.setVisible(true); String filename = chooser.getFile(); if (filename != null) { Str... | 51106 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51106/5167c6f6aefa5bb89706715710383b52c4963baa/MainframeController.java/clean/src/dg/hipster/controller/MainframeController.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1696,
2519,
1435,
1216,
1860,
16,
5393,
503,
288,
3639,
1387,
6353,
5011,
13164,
273,
394,
1387,
6353,
12,
5254,
3789,
16,
315,
3678,
7247,
1495,
585,
3113,
7734,
1387,
6353,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1696,
2519,
1435,
1216,
1860,
16,
5393,
503,
288,
3639,
1387,
6353,
5011,
13164,
273,
394,
1387,
6353,
12,
5254,
3789,
16,
315,
3678,
7247,
1495,
585,
3113,
7734,
1387,
6353,
1... |
|| IStyledElementModel.STYLE_PROP.equalsIgnoreCase( propDefn .getName( ) ) ) | || IStyledElementModel.STYLE_PROP .equalsIgnoreCase( propDefn.getName( ) ) ) | private void adjustReferredClients( DesignElement element ) { List propDefns = element.getPropertyDefns( ); for ( Iterator iter = propDefns.iterator( ); iter.hasNext( ); ) { PropertyDefn propDefn = (PropertyDefn) iter.next( ); // DO NOT consider extends and style property since this has been // handled in rem... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/ea8579767860fdbd7a7a0a2620da046a1b8f1a3c/ContentCommand.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/ContentCommand.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
5765,
426,
4193,
12300,
12,
29703,
1046,
930,
262,
202,
95,
202,
202,
682,
2270,
3262,
2387,
273,
930,
18,
588,
1396,
3262,
2387,
12,
11272,
202,
202,
1884,
261,
4498,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5765,
426,
4193,
12300,
12,
29703,
1046,
930,
262,
202,
95,
202,
202,
682,
2270,
3262,
2387,
273,
930,
18,
588,
1396,
3262,
2387,
12,
11272,
202,
202,
1884,
261,
4498,
1... |
private StringBuffer readSearchClause(StringBuffer search, TreeMap insertions, String charset, boolean single) | private StringBuffer readSearchClause(StringBuffer search, TreeMap<Integer, Object> insertions, String charset, boolean single) | private StringBuffer readSearchClause(StringBuffer search, TreeMap insertions, String charset, boolean single) throws IOException, ImapException { boolean first = true; int nots = 0; do { if (!first) { skipSpace(); } int c = peekChar(); // key will be "" iff... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/19a2f8be25ea9c084f79aec00d4af6eb392ee181/OzImapRequest.java/clean/ZimbraServer/src/java/com/zimbra/cs/imap/OzImapRequest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
6674,
855,
2979,
7044,
12,
780,
1892,
1623,
16,
16381,
32,
4522,
16,
1033,
34,
2243,
1115,
16,
514,
4856,
16,
1250,
2202,
13,
565,
1216,
1860,
16,
467,
1458,
503,
288,
3639,
1250,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6674,
855,
2979,
7044,
12,
780,
1892,
1623,
16,
16381,
32,
4522,
16,
1033,
34,
2243,
1115,
16,
514,
4856,
16,
1250,
2202,
13,
565,
1216,
1860,
16,
467,
1458,
503,
288,
3639,
1250,... |
browser.setDirectory(FileRootsVFS.PROTOCOL + ":"); | browser.rootDirectory(); | public void actionPerformed(ActionEvent evt) { View view = browser.getView(); String actionCommand = evt.getActionCommand(); if(actionCommand.startsWith("open@")) { // a bit of a hack to support 'Open With Encoding' menu Hashtable props = new Hashtable(); props.put(Buffer.ENCODING,actionCommand.subs... | 8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/4f1d14bf0fe9bfa61afed62492faeffaece2b8f8/BrowserCommandsMenu.java/clean/org/gjt/sp/jedit/browser/BrowserCommandsMenu.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
26100,
12,
1803,
1133,
6324,
13,
202,
202,
95,
1082,
202,
1767,
1476,
273,
4748,
18,
588,
1767,
5621,
1082,
202,
780,
1301,
2189,
273,
6324,
18,
588,
1803,
2189,
5621,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26100,
12,
1803,
1133,
6324,
13,
202,
202,
95,
1082,
202,
1767,
1476,
273,
4748,
18,
588,
1767,
5621,
1082,
202,
780,
1301,
2189,
273,
6324,
18,
588,
1803,
2189,
5621,
1... |
for (int i = 0; i < visibleActionSets.size(); i++) { IActionSetDescriptor desc = (IActionSetDescriptor) visibleActionSets | for (int i = 0; i < alwaysOnActionSets.size(); i++) { IActionSetDescriptor desc = (IActionSetDescriptor) alwaysOnActionSets | /* package */void addActionSet(IActionSetDescriptor newDesc) { for (int i = 0; i < visibleActionSets.size(); i++) { IActionSetDescriptor desc = (IActionSetDescriptor) visibleActionSets .get(i); if (desc.getId().equals(newDesc.getId())) { visibleActionSe... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/56f8e6c4b867931001b9607e02b459fe3346470b/Perspective.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Perspective.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1748,
2181,
1195,
6459,
14745,
694,
12,
45,
1803,
694,
3187,
394,
4217,
13,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
6021,
1803,
2785,
18,
1467,
5621,
277,
27245,
288,
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,
1748,
2181,
1195,
6459,
14745,
694,
12,
45,
1803,
694,
3187,
394,
4217,
13,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
6021,
1803,
2785,
18,
1467,
5621,
277,
27245,
288,
541... |
setRolloverIcon(im.getIcon(IconManager.PIN_SMALL_OVER)); | PinButton(ImageNode node) { if (node == null) throw new IllegalArgumentException("No node"); parentNode = node; setBorder(BorderFactory.createEmptyBorder()); //No border around icon. setMargin(new Insets(0, 0, 0, 0));//Just to make sure button sz=icon sz. setOpaque(false); //B/c... | 55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/58be91fb535c971d0bef1fde12344382b140273b/PinButton.java/clean/SRC/org/openmicroscopy/shoola/agents/hiviewer/browser/PinButton.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
14999,
3616,
12,
2040,
907,
756,
13,
565,
288,
377,
202,
430,
261,
2159,
422,
446,
13,
604,
394,
2754,
2932,
2279,
756,
8863,
3639,
7234,
273,
756,
31,
3639,
25715,
12,
8107,
1733,
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,
14999,
3616,
12,
2040,
907,
756,
13,
565,
288,
377,
202,
430,
261,
2159,
422,
446,
13,
604,
394,
2754,
2932,
2279,
756,
8863,
3639,
7234,
273,
756,
31,
3639,
25715,
12,
8107,
1733,
18,
... | |
MessageDialog.openError( getShell( ), Messages .getString( "NewReportWizard.title.Error" ), | MessageDialog.openError( getShell( ), Messages.getString( "NewReportWizard.title.Error" ), | public void init( IWorkbench workbench, IStructuredSelection selection ) { // check existing open project IWorkspaceRoot root = ResourcesPlugin.getWorkspace( ).getRoot( ); IProject projects[] = root.getProjects( ); boolean foundOpenProject = false; for ( int i = 0; i < projects.length; i++ ) { if ( projects[i]... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/9508ad902ce38297514198adde76c0cc21ff3b29/NewReportWizard.java/buggy/UI/org.eclipse.birt.report.designer.ui.ide/src/org/eclipse/birt/report/designer/ui/ide/wizards/NewReportWizard.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1208,
12,
467,
2421,
22144,
1440,
22144,
16,
467,
30733,
6233,
4421,
262,
202,
95,
202,
202,
759,
866,
2062,
1696,
1984,
202,
202,
45,
8241,
2375,
1365,
273,
8128,
3773,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
467,
2421,
22144,
1440,
22144,
16,
467,
30733,
6233,
4421,
262,
202,
95,
202,
202,
759,
866,
2062,
1696,
1984,
202,
202,
45,
8241,
2375,
1365,
273,
8128,
3773,
... |
origBlock.getNumber())); | _origBlock.getNumber())); | OPT_BasicBlock upto(OPT_Instruction earlyPos, OPT_BasicBlock lateBlock, OPT_Instruction inst) { OPT_BasicBlock origBlock = getOrigBlock(inst); OPT_BasicBlock actBlock = lateBlock; OPT_BasicBlock bestBlock = lateBlock; OPT_BasicBlock earlyBlock = getBlock(earlyPos); if (VM.Verif... | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/cb4d5807180265c43e09e55a868066d05d56274a/OPT_LICM.java/clean/rvm/src/vm/compilers/optimizing/optimizations/global/ssa/codePlacement/OPT_LICM.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
16456,
67,
8252,
1768,
582,
21910,
12,
15620,
67,
11983,
11646,
1616,
16,
16456,
67,
8252,
1768,
26374,
1768,
16,
8227,
16456,
67,
11983,
1804,
13,
288,
3639,
16456,
67,
8252,
1768,
1647,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16456,
67,
8252,
1768,
582,
21910,
12,
15620,
67,
11983,
11646,
1616,
16,
16456,
67,
8252,
1768,
26374,
1768,
16,
8227,
16456,
67,
11983,
1804,
13,
288,
3639,
16456,
67,
8252,
1768,
1647,
... |
if(log.isInfoEnabled()) log.info("I (" + leader + ") will be the leader. Starting the merge task"); | if(log.isDebugEnabled()) log.debug("I (" + leader + ") will be the leader. Starting the merge task"); | public void merge(Vector other_coords) { Membership tmp; Address leader=null; if(merging) { if(log.isWarnEnabled()) log.warn("merge already in progress, discarded MERGE event"); return; } if(other_coords == null) { if(log.isWarnEnabled()) log.w... | 47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/85b7a7c351493f88f1d6a3045b9cbd0b817f95cd/CoordGmsImpl.java/buggy/src/org/jgroups/protocols/pbcast/CoordGmsImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2691,
12,
5018,
1308,
67,
9076,
13,
288,
3639,
28100,
1853,
31,
3639,
5267,
10302,
33,
2011,
31,
3639,
309,
12,
6592,
1998,
13,
288,
7734,
309,
12,
1330,
18,
291,
3160,
1526,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2691,
12,
5018,
1308,
67,
9076,
13,
288,
3639,
28100,
1853,
31,
3639,
5267,
10302,
33,
2011,
31,
3639,
309,
12,
6592,
1998,
13,
288,
7734,
309,
12,
1330,
18,
291,
3160,
1526,... |
if (currentResource.isAccessible()) selections.add(currentResource); | if (currentResource.isAccessible()) { selections.add(currentResource); } | protected void setupBasedOnInitialSelections() { if (initialExportFieldValue != null) { // a source resource has been programatically specified, which overrides // the current workbench resource selection IResource specifiedSourceResource = getSourceResource(); if ... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/WizardExportPage.java/buggy/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardExportPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
3875,
9802,
1398,
4435,
29913,
1435,
288,
3639,
309,
261,
6769,
6144,
13559,
480,
446,
13,
288,
5411,
368,
279,
1084,
1058,
711,
2118,
5402,
2126,
1230,
1269,
16,
1492,
9515,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
3875,
9802,
1398,
4435,
29913,
1435,
288,
3639,
309,
261,
6769,
6144,
13559,
480,
446,
13,
288,
5411,
368,
279,
1084,
1058,
711,
2118,
5402,
2126,
1230,
1269,
16,
1492,
9515,
5... |
case Id_anchor: return realThis(thisObj, f). jsFunction_anchor(ScriptRuntime.toString(args, 0)); | case Id_equals: return wrap_boolean(jsFunction_equals (ScriptRuntime.toString(thisObj), ScriptRuntime.toString(args, 0))); | public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { switch (methodId) { case ConstructorId_fromCharCode: return jsStaticFunction_fromCharCode(args); case Id_constr... | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/3db7f50283cb2dd0859494c7e36c278004f2f6a8/NativeString.java/buggy/src/org/mozilla/javascript/NativeString.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
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,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
... |
int matchSingleStep(XPathContext context, int pc, int stop) { int axis = AXIS_CHILD; //Node node = context.getCurrentNode(); for (;;) { if (pc == stop) { return pc; } short opcode = code[pc]; pc++; /* if (opcode >= OP_AXIS_FIRST && opcode < OP_AXIS_FIRST + COUNT_OP_AXIS) { axis = ... | 36870 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36870/a605f3abd7d7884e2a5005090d962a0e78e1543a/XPath.java/clean/gnu/xml/XPath.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
509,
1916,
5281,
4160,
12,
14124,
1042,
2472,
16,
474,
2436,
16,
474,
5681,
15329,
474,
4890,
33,
25614,
67,
27043,
31,
759,
50,
369,
20680,
33,
2472,
18,
588,
3935,
907,
5621,
1884,
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,
509,
1916,
5281,
4160,
12,
14124,
1042,
2472,
16,
474,
2436,
16,
474,
5681,
15329,
474,
4890,
33,
25614,
67,
27043,
31,
759,
50,
369,
20680,
33,
2472,
18,
588,
3935,
907,
5621,
1884,
12,
257... | ||
+ propName.substring(1); | + propName.substring(1); | private static String calcPropertyName(String queryParameter, String clause) { String propName; if(clause != null && !clause.equals( EQUAL )) { int i = queryParameter.indexOf(clause); propName = queryParameter.substring(0,i); } else { propName = queryParameter; } if(propName.endsWith(NOT)) { i... | 47932 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47932/85846d755f8d115c415513d372c187f2bc2973ec/AbstractClausedStaticPersistentMethod.java/buggy/grails/src/persistence/org/codehaus/groovy/grails/orm/hibernate/metaclass/AbstractClausedStaticPersistentMethod.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1152,
760,
514,
7029,
13073,
12,
780,
843,
1662,
16,
514,
6591,
13,
288,
1082,
202,
780,
9994,
31,
1082,
202,
430,
12,
18128,
480,
446,
597,
401,
18128,
18,
14963,
12,
18231,
8623... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
514,
7029,
13073,
12,
780,
843,
1662,
16,
514,
6591,
13,
288,
1082,
202,
780,
9994,
31,
1082,
202,
430,
12,
18128,
480,
446,
597,
401,
18128,
18,
14963,
12,
18231,
8623... |
if (top >=0 && left >=0) { deselectAll(); for (int row = 0; row<lines.length; row++) for (int column = 0; column < lines[row]; column++){ selectCell(column + left, row + top); } | if (lines.length == numRowsTotal + 1){ for (int column = 0; column < lines[0]; column++) selectColumn(column + left); if (lines[0] == numColumnsTotal + 1) for (int row = 0; row < lines.length; row++) selectRow(row + top); | public void setSelectionToShape(int[] lines, CommandRecord commandRec){ if (lines == null) return; if (anyColumnSelected() || anyRowSelected() || anyCellSelected()){ int firstRow = firstRowSelected(); int firstColumn = firstColumnSelected(); int top = -1; int left = -1; boolean found = false; for (int ... | 57538 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57538/ac644248c5238a5035bef8db2b1667e34db27ff9/MesquiteTable.java/clean/trunk/Mesquite Project/Source/mesquite/lib/table/MesquiteTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
6233,
774,
8500,
12,
474,
8526,
2362,
16,
3498,
2115,
1296,
5650,
15329,
202,
202,
430,
261,
3548,
422,
446,
13,
1082,
202,
2463,
31,
202,
202,
430,
261,
2273,
1494,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
6233,
774,
8500,
12,
474,
8526,
2362,
16,
3498,
2115,
1296,
5650,
15329,
202,
202,
430,
261,
3548,
422,
446,
13,
1082,
202,
2463,
31,
202,
202,
430,
261,
2273,
1494,... |
vPhaseReport.addElement(new Report(7020, Report.PUBLIC)); | addReport(new Report(7020, Report.PUBLIC)); | private void prepareVictoryReport() { Report r; vPhaseReport.addElement(new Report(7000, Report.PUBLIC)); //Declare the victor r = new Report(1210); r.type = Report.PUBLIC; if (game.getVictoryTeam() == Player.TEAM_NONE) { Player player = getPlayer( game.getVictor... | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/393a9905cc0201927e4535bd40befa92f4014c31/Server.java/buggy/megamek/src/megamek/server/Server.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2911,
58,
933,
630,
4820,
1435,
288,
3639,
8706,
436,
31,
3639,
331,
11406,
4820,
18,
1289,
1046,
12,
2704,
8706,
12,
27,
3784,
16,
8706,
18,
14939,
10019,
3639,
368,
3456,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2911,
58,
933,
630,
4820,
1435,
288,
3639,
8706,
436,
31,
3639,
331,
11406,
4820,
18,
1289,
1046,
12,
2704,
8706,
12,
27,
3784,
16,
8706,
18,
14939,
10019,
3639,
368,
3456,
8... |
try { | try { | public IWizardPage getNextPage() { // save the product information to the model saveDataToModel(); NewBugWizard wizard = (NewBugWizard) getWizard(); NewBugModel model = wizard.model; // try to get the attributes from the bugzilla server try { if (!model.hasParsedAttributes() || !prevProduct.equals(model.getPro... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/f1213ea5e2cf811886d1cddc204b0d844e76584d/WizardProductPage.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/wizard/WizardProductPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
27130,
1964,
6927,
1964,
1435,
288,
202,
202,
759,
1923,
326,
3017,
1779,
358,
326,
938,
202,
202,
5688,
751,
774,
1488,
5621,
202,
202,
1908,
19865,
27130,
24204,
273,
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,
225,
202,
482,
467,
27130,
1964,
6927,
1964,
1435,
288,
202,
202,
759,
1923,
326,
3017,
1779,
358,
326,
938,
202,
202,
5688,
751,
774,
1488,
5621,
202,
202,
1908,
19865,
27130,
24204,
273,
261... |
prop = "element(*, " + JcrConstants.NT_CALDAV_EVENT_RESOURCE + ")"; | prop = "element(*, " + JcrConstants.NT_CALDAV_EVENT_RESOURCE + ")"; | public String toXPath() { // iCalendar properties are represented in JCR as nodes so // we need an XPath that tests the node in the // appropriate fashion for the type of comparison being done // TODO Not sure about X-props right now String statement = null... | 47226 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47226/145f0ab5de3ac56e09fd5f3c725e84fb703cf8eb/QueryFilter.java/buggy/src/main/java/org/osaf/cosmo/dav/report/caldav/QueryFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
514,
358,
14124,
1435,
288,
5411,
368,
277,
7335,
1790,
854,
10584,
316,
17573,
487,
2199,
1427,
5411,
368,
732,
1608,
392,
10172,
716,
7434,
326,
756,
316,
326,
5411,
368,
5505,
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,
540,
1071,
514,
358,
14124,
1435,
288,
5411,
368,
277,
7335,
1790,
854,
10584,
316,
17573,
487,
2199,
1427,
5411,
368,
732,
1608,
392,
10172,
716,
7434,
326,
756,
316,
326,
5411,
368,
5505,
30... |
return man; } | return man; } | public IUserLayoutManager getOriginalLayoutManager() throws PortalException { return man; } | 24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/948a50c00c52659556ab3183d5ea2e316077d789/TransientUserLayoutManagerWrapper.java/buggy/source/org/jasig/portal/layout/TransientUserLayoutManagerWrapper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
1299,
3744,
1318,
18354,
3744,
1318,
1435,
1216,
25478,
503,
288,
1082,
282,
327,
3161,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
1299,
3744,
1318,
18354,
3744,
1318,
1435,
1216,
25478,
503,
288,
1082,
282,
327,
3161,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
int repetition = 0; if(!inHandler) { Integer count = (Integer)((MessageContext)msgContext).getProperty(WSSHandlerConstants.CURRENT_REPETITON); if(count != null) { repetition = count.intValue(); } } return repetition; } | int repetition = 0; if (!inHandler) { Integer count = (Integer) ((MessageContext) msgContext).getProperty(WSSHandlerConstants.CURRENT_REPETITON); if (count != null) { repetition = count.intValue(); } } return repetition; } | protected int getCurrentRepetition(Object msgContext) { //get the repetition from the message context int repetition = 0; if(!inHandler) {//We only need to repete the out handler Integer count = (Integer)((MessageContext)msgContext).getProperty(WSSHandlerConstants.CURRENT_REPETITON); if(count != nul... | 49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/bf48280bb2cc17e59a92ab2d54f54ddd09c486e7/WSDoAllHandler.java/clean/modules/security/src/org/apache/rampart/handler/WSDoAllHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
509,
5175,
426,
6951,
608,
12,
921,
1234,
1042,
13,
288,
202,
202,
759,
588,
326,
31239,
628,
326,
883,
819,
377,
202,
474,
31239,
273,
374,
31,
377,
202,
430,
12,
5,
267,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
5175,
426,
6951,
608,
12,
921,
1234,
1042,
13,
288,
202,
202,
759,
588,
326,
31239,
628,
326,
883,
819,
377,
202,
474,
31239,
273,
374,
31,
377,
202,
430,
12,
5,
267,
... |
public void saveSize(Window window, String name, int boardSize) | public void saveSize(Window window, String name, int boardSize) | public void saveSize(Window window, String name, int boardSize) { if (isFrameSpecialMode(window)) return; Preferences prefs = getNode(name, boardSize); if (prefs == null) return; Point location = window.getLocation(); prefs.p... | 48906 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48906/c5013cb06e2c39f3e4b1660ca9cbdfa9fca285d4/Session.java/clean/src/net/sf/gogui/gui/Session.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1923,
1225,
12,
3829,
2742,
16,
514,
508,
16,
27573,
509,
11094,
1225,
13,
565,
288,
3639,
309,
261,
291,
3219,
12193,
2309,
12,
5668,
3719,
5411,
327,
31,
3639,
28310,
15503,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1923,
1225,
12,
3829,
2742,
16,
514,
508,
16,
27573,
509,
11094,
1225,
13,
565,
288,
3639,
309,
261,
291,
3219,
12193,
2309,
12,
5668,
3719,
5411,
327,
31,
3639,
28310,
15503,
... |
localSourceToNotify().supply((T)objectSmokeSignal.newValue()); | T newValue = (T)objectSmokeSignal.newValue(); if (sameValue(newValue)) return; localSourceToNotify().supply(newValue); | public void receive(SmokeSignal smokeSignal) { ObjectSmokeSignal objectSmokeSignal = (ObjectSmokeSignal) smokeSignal; localSourceToNotify().supply((T)objectSmokeSignal.newValue()); } | 28035 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28035/cda94336e79353d68b425f4cad5ff0e99dd94bb2/IndianForObject.java/buggy/sneer/src/main/sneer/remote/IndianForObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
6798,
12,
9552,
3056,
11208,
3029,
3056,
11208,
13,
288,
202,
202,
921,
9552,
3056,
11208,
733,
9552,
3056,
11208,
273,
261,
921,
9552,
3056,
11208,
13,
3029,
3056,
11208,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6798,
12,
9552,
3056,
11208,
3029,
3056,
11208,
13,
288,
202,
202,
921,
9552,
3056,
11208,
733,
9552,
3056,
11208,
273,
261,
921,
9552,
3056,
11208,
13,
3029,
3056,
11208,
... |
Dataflow<ValueNumberFrame> vnaDataflow = new Dataflow<ValueNumberFrame>(cfg, new ValueNumberAnalysis(methodGen)); | ValueNumberDataflow vnaDataflow = new ValueNumberDataflow(cfg, new ValueNumberAnalysis(methodGen)); | public AbstractDataflowAnalysis<LockCount> createAnalysis(MethodGen methodGen, CFG cfg) throws DataflowAnalysisException { Dataflow<ValueNumberFrame> vnaDataflow = new Dataflow<ValueNumberFrame>(cfg, new ValueNumberAnalysis(methodGen)); vnaDataflow.execute(); return new OtherLockCountAnalysis(methodGen,... | 7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/662ec59edd6613ff361a507edeae8d9c358b5286/OtherLockCountAnalysis.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/OtherLockCountAnalysis.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4697,
202,
482,
4115,
751,
2426,
9418,
32,
2531,
1380,
34,
752,
9418,
12,
1305,
7642,
707,
7642,
16,
7577,
2776,
13,
1216,
1910,
2426,
9418,
503,
288,
6862,
202,
751,
2426,
32,
620,
1854,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4697,
202,
482,
4115,
751,
2426,
9418,
32,
2531,
1380,
34,
752,
9418,
12,
1305,
7642,
707,
7642,
16,
7577,
2776,
13,
1216,
1910,
2426,
9418,
503,
288,
6862,
202,
751,
2426,
32,
620,
1854,
32... |
return map; | private HashMap unwrap(Object obj) { HashMap map = new HashMap(); if (obj instanceof IdentityListBean) { // JAVA5: Use foreach Iterator beanIter = ((IdentityListBean)obj).getIdBeans().iterator(); while (beanIter.hasNext()) { IdentityBean bean = (IdentityBean)beanIter.next(); String ... | 8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/322ef92ed296394c2702ea09f9138469fd1c85c1/IdentityManagerImpl.java/buggy/src/org/lockss/protocol/IdentityManagerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
4317,
11014,
12,
921,
1081,
13,
288,
565,
4317,
852,
273,
394,
4317,
5621,
565,
309,
261,
2603,
1276,
7808,
682,
3381,
13,
288,
1377,
368,
21227,
25,
30,
2672,
936,
1377,
4498,
39... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4317,
11014,
12,
921,
1081,
13,
288,
565,
4317,
852,
273,
394,
4317,
5621,
565,
309,
261,
2603,
1276,
7808,
682,
3381,
13,
288,
1377,
368,
21227,
25,
30,
2672,
936,
1377,
4498,
39... | |
StringField bodyLength = extractField(dd); | StringField bodyLength = extractField(dd, header); | private void parseHeader(DataDictionary dd) throws InvalidMessage { boolean invalidHeaderFieldOrder = false; StringField beginString = extractField(dd); if (beginString == null || beginString.getField() != BeginString.FIELD) { invalidHeaderFieldOrder = true; } if (begin... | 6791 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6791/f32abf94bf719c43213b4e48229208c2a5e6a5af/Message.java/clean/core/src/main/java/quickfix/Message.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1109,
1864,
12,
751,
10905,
6957,
13,
1216,
1962,
1079,
288,
3639,
1250,
2057,
1864,
974,
2448,
273,
629,
31,
3639,
30916,
2376,
780,
273,
2608,
974,
12,
449,
1769,
3639,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1109,
1864,
12,
751,
10905,
6957,
13,
1216,
1962,
1079,
288,
3639,
1250,
2057,
1864,
974,
2448,
273,
629,
31,
3639,
30916,
2376,
780,
273,
2608,
974,
12,
449,
1769,
3639,
309,
... |
parentModule.setConstant(name, newModule); | ((RubyModule)parentCRef.getValue()).setConstant(name, newModule); | public RubyModule defineModuleUnder(String name, RubyModule parentModule) { RubyModule newModule = RubyModule.newModule(this, name, parentModule); parentModule.setConstant(name, newModule); return newModule; } | 49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/a1b8fc1d456e3d5c6e01579b88773383068aa85c/Ruby.java/clean/src/org/jruby/Ruby.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
3120,
4426,
3120,
14655,
12,
780,
508,
16,
19817,
3120,
982,
3120,
13,
288,
3639,
19817,
3120,
394,
3120,
273,
19817,
3120,
18,
2704,
3120,
12,
2211,
16,
508,
16,
982,
3120,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3120,
4426,
3120,
14655,
12,
780,
508,
16,
19817,
3120,
982,
3120,
13,
288,
3639,
19817,
3120,
394,
3120,
273,
19817,
3120,
18,
2704,
3120,
12,
2211,
16,
508,
16,
982,
3120,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.