rem
stringlengths 1
226k
| add
stringlengths 0
227k
| context
stringlengths 6
326k
| meta
stringlengths 143
403
| input_ids
listlengths 256
256
| attention_mask
listlengths 256
256
| labels
listlengths 128
128
|
|---|---|---|---|---|---|---|
&& (mname.equals(name) || mname.equals(nameV));
|
&& (mname.equals(name) || mname.equals(nameV));
|
public boolean select(Object value) { gnu.bytecode.Method method = (gnu.bytecode.Method) value; String mname = method.getName(); return ((method.getModifiers() & modmask) == modifiers) && (mname.equals(name) || mname.equals(nameV)); }
|
36870 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36870/199ba666b00f766c5fc703bba6aaa080393b93ba/ClassMethods.java/buggy/gnu/kawa/reflect/ClassMethods.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
2027,
12,
921,
460,
13,
225,
288,
565,
314,
13053,
18,
1637,
16651,
18,
1305,
707,
273,
261,
1600,
89,
18,
1637,
16651,
18,
1305,
13,
460,
31,
565,
514,
312,
529,
273,
707,
18,
17994,
5621,
565,
327,
14015,
2039,
18,
588,
11948,
1435,
473,
681,
4455,
13,
422,
10429,
13,
1377,
597,
261,
81,
529,
18,
14963,
12,
529,
13,
747,
312,
529,
18,
14963,
12,
529,
58,
10019,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
2027,
12,
921,
460,
13,
225,
288,
565,
314,
13053,
18,
1637,
16651,
18,
1305,
707,
273,
261,
1600,
89,
18,
1637,
16651,
18,
1305,
13,
460,
31,
565,
514,
312,
529,
273,
707,
18,
17994,
5621,
565,
327,
14015,
2039,
18,
588,
11948,
1435,
473,
681,
4455,
13,
422,
10429,
13,
1377,
597,
261,
81,
529,
18,
14963,
12,
529,
13,
747,
312,
529,
18,
14963,
12,
529,
58,
10019,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
confirm.show();
|
confirm.setVisible(true);
|
public void notifyOfBot() { if (GUIPreferences.getInstance().getNagForBotReadme() && !WarningShown) { WarningShown = true; String title = Messages.getString("BotGUI.notifyOfBot.title"); //$NON-NLS-1$ String body = Messages.getString("BotGUI.notifyOfBot.message"); //$NON-NLS-1$ Dimension screenSize = frame.getToolkit().getScreenSize(); frame.pack(); frame.setLocation( screenSize.width / 2 - frame.getSize().width / 2, screenSize.height / 2 - frame.getSize().height / 2); ConfirmDialog confirm = new ConfirmDialog(frame, title, body, true); confirm.show(); if (!confirm.getShowAgain()) { GUIPreferences.getInstance().setNagForBotReadme(false); } if (confirm.getAnswer()) { File helpfile = new File("docs/ai-readme.txt"); //$NON-NLS-1$ new CommonHelpDialog(frame, helpfile).show(); } } }
|
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/26d049695b50784ad795b53718db83368ca9a6fb/BotGUI.java/buggy/megamek/src/megamek/client/bot/ui/AWT/BotGUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
5066,
951,
6522,
1435,
288,
3639,
309,
261,
43,
5370,
12377,
18,
588,
1442,
7675,
588,
50,
346,
1290,
6522,
1994,
3501,
1435,
597,
401,
6210,
27042,
13,
288,
5411,
9728,
27042,
273,
638,
31,
5411,
514,
2077,
273,
4838,
18,
588,
780,
2932,
6522,
43,
5370,
18,
12336,
951,
6522,
18,
2649,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
5411,
514,
1417,
273,
4838,
18,
588,
780,
2932,
6522,
43,
5370,
18,
12336,
951,
6522,
18,
2150,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
5411,
13037,
5518,
1225,
273,
2623,
18,
588,
6364,
8691,
7675,
588,
7956,
1225,
5621,
5411,
2623,
18,
2920,
5621,
5411,
2623,
18,
542,
2735,
12,
7734,
5518,
1225,
18,
2819,
342,
576,
300,
2623,
18,
588,
1225,
7675,
2819,
342,
576,
16,
7734,
5518,
1225,
18,
4210,
342,
576,
300,
2623,
18,
588,
1225,
7675,
4210,
342,
576,
1769,
5411,
17580,
6353,
6932,
273,
394,
17580,
6353,
12,
3789,
16,
2077,
16,
1417,
16,
638,
1769,
5411,
6932,
18,
542,
6207,
12,
3767,
1769,
5411,
309,
16051,
10927,
18,
588,
5706,
23530,
10756,
288,
7734,
10978,
12377,
18,
588,
1442,
7675,
542,
50,
346,
1290,
6522,
1994,
3501,
12,
5743,
1769,
5411,
289,
5411,
309,
261,
10927,
18,
588,
13203,
10756,
288,
7734,
1387,
2809,
768,
273,
394,
1387,
2932,
8532,
19,
10658,
17,
896,
3501,
18,
5830,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
7734,
394,
5658,
6696,
6353,
12,
3789,
16,
2809,
768,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
5066,
951,
6522,
1435,
288,
3639,
309,
261,
43,
5370,
12377,
18,
588,
1442,
7675,
588,
50,
346,
1290,
6522,
1994,
3501,
1435,
597,
401,
6210,
27042,
13,
288,
5411,
9728,
27042,
273,
638,
31,
5411,
514,
2077,
273,
4838,
18,
588,
780,
2932,
6522,
43,
5370,
18,
12336,
951,
6522,
18,
2649,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
5411,
514,
1417,
273,
4838,
18,
588,
780,
2932,
6522,
43,
5370,
18,
12336,
951,
6522,
18,
2150,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
5411,
13037,
5518,
1225,
273,
2623,
18,
588,
6364,
8691,
7675,
588,
7956,
1225,
5621,
5411,
2623,
18,
2920,
5621,
5411,
2623,
18,
542,
2735,
12,
7734,
5518,
1225,
2
] |
ctx.archiveManager.extractToCache(thisKey, ah.getArchiveType(), result.asBucket(), actx, ah);
|
ah.extractToCache(result.asBucket(), actx);
|
public void onSuccess(FetchResult result, ClientGetState state) { try { ctx.archiveManager.extractToCache(thisKey, ah.getArchiveType(), result.asBucket(), actx, ah); } catch (ArchiveFailureException e) { SingleFileFetcher.this.onFailure(new FetchException(e)); } catch (ArchiveRestartException e) { SingleFileFetcher.this.onFailure(new FetchException(e)); } try { handleMetadata(); } catch (MetadataParseException e) { SingleFileFetcher.this.onFailure(new FetchException(e)); } catch (FetchException e) { SingleFileFetcher.this.onFailure(e); } catch (ArchiveFailureException e) { SingleFileFetcher.this.onFailure(new FetchException(e)); } catch (ArchiveRestartException e) { SingleFileFetcher.this.onFailure(new FetchException(e)); } }
|
56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/a8dac0519d374c8e66f483db5910bffb9c35fb5e/SingleFileFetcher.java/clean/src/freenet/client/async/SingleFileFetcher.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
20613,
12,
5005,
1253,
563,
16,
2445,
967,
1119,
919,
13,
288,
1082,
202,
698,
288,
9506,
202,
5900,
18,
10686,
1318,
18,
8004,
774,
1649,
12,
2211,
653,
16,
279,
76,
18,
588,
7465,
559,
9334,
563,
18,
345,
4103,
9334,
1328,
92,
16,
279,
76,
1769,
1082,
202,
97,
1044,
261,
7465,
14389,
425,
13,
288,
9506,
202,
5281,
812,
16855,
18,
2211,
18,
265,
5247,
12,
2704,
8065,
503,
12,
73,
10019,
1082,
202,
97,
1044,
261,
7465,
15057,
503,
425,
13,
288,
9506,
202,
5281,
812,
16855,
18,
2211,
18,
265,
5247,
12,
2704,
8065,
503,
12,
73,
10019,
1082,
202,
97,
1082,
202,
698,
288,
9506,
202,
4110,
2277,
5621,
1082,
202,
97,
1044,
261,
2277,
13047,
425,
13,
288,
9506,
202,
5281,
812,
16855,
18,
2211,
18,
265,
5247,
12,
2704,
8065,
503,
12,
73,
10019,
1082,
202,
97,
1044,
261,
5005,
503,
425,
13,
288,
9506,
202,
5281,
812,
16855,
18,
2211,
18,
265,
5247,
12,
73,
1769,
1082,
202,
97,
1044,
261,
7465,
14389,
425,
13,
288,
9506,
202,
5281,
812,
16855,
18,
2211,
18,
265,
5247,
12,
2704,
8065,
503,
12,
73,
10019,
1082,
202,
97,
1044,
261,
7465,
15057,
503,
425,
13,
288,
9506,
202,
5281,
812,
16855,
18,
2211,
18,
265,
5247,
12,
2704,
8065,
503,
12,
73,
10019,
1082,
202,
97,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
20613,
12,
5005,
1253,
563,
16,
2445,
967,
1119,
919,
13,
288,
1082,
202,
698,
288,
9506,
202,
5900,
18,
10686,
1318,
18,
8004,
774,
1649,
12,
2211,
653,
16,
279,
76,
18,
588,
7465,
559,
9334,
563,
18,
345,
4103,
9334,
1328,
92,
16,
279,
76,
1769,
1082,
202,
97,
1044,
261,
7465,
14389,
425,
13,
288,
9506,
202,
5281,
812,
16855,
18,
2211,
18,
265,
5247,
12,
2704,
8065,
503,
12,
73,
10019,
1082,
202,
97,
1044,
261,
7465,
15057,
503,
425,
13,
288,
9506,
202,
5281,
812,
16855,
18,
2211,
18,
265,
5247,
12,
2704,
8065,
503,
12,
73,
10019,
1082,
202,
97,
1082,
202,
698,
288,
9506,
202,
4110,
2277,
5621,
2
] |
containerBuilder.buildContainer(containerRef, null, assembler, "application");
|
containerBuilder.buildContainer(containerRef, null, assembler, context);
|
public void contextInitialized(ServletContextEvent event) { ServletContext context = event.getServletContext(); ContainerAssembler assembler = loadAssembler(context); ObjectReference containerRef = new ApplicationScopeObjectReference(context, APPLICATION_CONTAINER); ObjectReference builderRef = new ApplicationScopeObjectReference(context, BUILDER); containerBuilder = new DefaultLifecycleContainerBuilder(); builderRef.set(containerBuilder); containerBuilder.buildContainer(containerRef, null, assembler, "application"); }
|
9344 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9344/e9de5c19c1cfd046b6960536d66863571a831674/ServletContainerListener.java/clean/trunk/java/servlet/src/java/org/nanocontainer/servlet/ServletContainerListener.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
819,
11459,
12,
4745,
1042,
1133,
871,
13,
288,
3639,
22717,
819,
273,
871,
18,
588,
4745,
1042,
5621,
3639,
4039,
1463,
5747,
749,
20489,
749,
273,
1262,
1463,
5747,
749,
12,
2472,
1769,
3639,
31321,
1478,
1957,
273,
394,
4257,
3876,
22101,
12,
2472,
16,
14148,
67,
21395,
1769,
3639,
31321,
2089,
1957,
273,
394,
4257,
3876,
22101,
12,
2472,
16,
10937,
2627,
4179,
1769,
3639,
1478,
1263,
273,
394,
2989,
9977,
2170,
1263,
5621,
3639,
2089,
1957,
18,
542,
12,
3782,
1263,
1769,
3639,
1478,
1263,
18,
3510,
2170,
12,
3782,
1957,
16,
446,
16,
20489,
749,
16,
819,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
819,
11459,
12,
4745,
1042,
1133,
871,
13,
288,
3639,
22717,
819,
273,
871,
18,
588,
4745,
1042,
5621,
3639,
4039,
1463,
5747,
749,
20489,
749,
273,
1262,
1463,
5747,
749,
12,
2472,
1769,
3639,
31321,
1478,
1957,
273,
394,
4257,
3876,
22101,
12,
2472,
16,
14148,
67,
21395,
1769,
3639,
31321,
2089,
1957,
273,
394,
4257,
3876,
22101,
12,
2472,
16,
10937,
2627,
4179,
1769,
3639,
1478,
1263,
273,
394,
2989,
9977,
2170,
1263,
5621,
3639,
2089,
1957,
18,
542,
12,
3782,
1263,
1769,
3639,
1478,
1263,
18,
3510,
2170,
12,
3782,
1957,
16,
446,
16,
20489,
749,
16,
819,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
result = frame.result;
|
ContinuationJump cjump = (ContinuationJump)throwable; if (cjump == null) { result = frame.result; } else { result = cjump.result; }
|
private static void exitFrame(Context cx, CallFrame frame, Object throwable) { if (frame.idata.itsNeedsActivation) { ScriptRuntime.exitActivationFunction(cx); } if (frame.debuggerFrame != null) { try { if (throwable instanceof Throwable) { frame.debuggerFrame.onExit(cx, true, (Throwable)throwable); } else { Object result; result = frame.result; if (result == UniqueTag.DOUBLE_MARK) { result = ScriptRuntime.wrapNumber(frame.resultDbl); } frame.debuggerFrame.onExit(cx, false, result); } } catch (Throwable ex) { System.err.println("RHINO USAGE WARNING: onExit terminated with exception"); ex.printStackTrace(System.err); } } }
|
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/c4916822f7b034e789467ec296eed5d756c58a06/Interpreter.java/clean/js/rhino/src/org/mozilla/javascript/Interpreter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
2427,
3219,
12,
1042,
9494,
16,
3049,
3219,
2623,
16,
21394,
1033,
10132,
13,
565,
288,
3639,
309,
261,
3789,
18,
350,
396,
18,
1282,
26419,
14857,
13,
288,
5411,
7739,
5576,
18,
8593,
14857,
2083,
12,
71,
92,
1769,
3639,
289,
3639,
309,
261,
3789,
18,
4148,
693,
3219,
480,
446,
13,
288,
5411,
775,
288,
7734,
309,
261,
12849,
429,
1276,
4206,
13,
288,
10792,
2623,
18,
4148,
693,
3219,
18,
265,
6767,
12,
71,
92,
16,
638,
16,
261,
15155,
13,
12849,
429,
1769,
7734,
289,
469,
288,
10792,
1033,
563,
31,
10792,
1816,
23946,
26743,
18896,
2801,
273,
261,
660,
23946,
26743,
13,
12849,
429,
31,
309,
261,
71,
24574,
422,
446,
13,
288,
563,
273,
2623,
18,
2088,
31,
289,
469,
288,
563,
273,
18896,
2801,
18,
2088,
31,
289,
10792,
309,
261,
2088,
422,
14584,
1805,
18,
17088,
67,
12693,
13,
288,
13491,
563,
273,
7739,
5576,
18,
4113,
1854,
12,
3789,
18,
2088,
40,
3083,
1769,
10792,
289,
10792,
2623,
18,
4148,
693,
3219,
18,
265,
6767,
12,
71,
92,
16,
629,
16,
563,
1769,
7734,
289,
5411,
289,
1044,
261,
15155,
431,
13,
288,
7734,
2332,
18,
370,
18,
8222,
2932,
54,
44,
706,
51,
11836,
2833,
9744,
30,
603,
6767,
14127,
598,
1520,
8863,
7734,
431,
18,
1188,
6332,
12,
3163,
18,
370,
1769,
5411,
289,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
2427,
3219,
12,
1042,
9494,
16,
3049,
3219,
2623,
16,
21394,
1033,
10132,
13,
565,
288,
3639,
309,
261,
3789,
18,
350,
396,
18,
1282,
26419,
14857,
13,
288,
5411,
7739,
5576,
18,
8593,
14857,
2083,
12,
71,
92,
1769,
3639,
289,
3639,
309,
261,
3789,
18,
4148,
693,
3219,
480,
446,
13,
288,
5411,
775,
288,
7734,
309,
261,
12849,
429,
1276,
4206,
13,
288,
10792,
2623,
18,
4148,
693,
3219,
18,
265,
6767,
12,
71,
92,
16,
638,
16,
261,
15155,
13,
12849,
429,
1769,
7734,
289,
469,
288,
10792,
1033,
563,
31,
10792,
1816,
23946,
26743,
18896,
2801,
273,
261,
660,
23946,
26743,
13,
12849,
429,
31,
309,
261,
71,
24574,
422,
2
] |
childrenList.add( new LibDirectoryNodeModel( ( (File) children[i] ).getAbsolutePath( ) ) );
|
childrenList.add( new LibDirectoryNodeModel( ( (File) children[i] ).getAbsolutePath( ) ) );
|
public Object[] getChildren( ) { if ( childrenList.size( ) > 0 ) { return childrenList.toArray( ); } File file = new File( directoryPath ); if ( !file.exists( ) ) { return new Object[]{Messages .getString( "LibraryExplorerProvider.FolderNotExist" ) //$NON-NLS-1$ }; } if ( file.isDirectory( ) ) { File[] children = file.listFiles( filter ); for ( int i = 0; i < children.length; i++ ) { if ( children[i].isDirectory( ) ) { childrenList.add( new LibDirectoryNodeModel( ( (File) children[i] ).getAbsolutePath( ) ) ); } else { LibraryHandle library; try { library = SessionHandleAdapter.getInstance( ) .getSessionHandle( ).openLibrary( ( (File) children[i] ) .getAbsolutePath( ) ); if ( resourceListener != null ) { library .addResourceChangeListener( resourceListener ); } childrenList.add( library ); } catch ( DesignFileException e ) { } } } return childrenList.toArray( ); } return null; }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/f06fb5699fc635c9c62b83fb721c2da353cf68a6/LibDirectoryNodeModel.java/buggy/UI/org.eclipse.birt.report.designer.ui.lib.explorer/src/org/eclipse/birt/report/designer/internal/ui/lib/explorer/model/LibDirectoryNodeModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
8526,
10268,
12,
262,
202,
95,
202,
202,
430,
261,
2325,
682,
18,
1467,
12,
262,
405,
374,
262,
202,
202,
95,
1082,
202,
2463,
2325,
682,
18,
31447,
12,
11272,
202,
202,
97,
202,
202,
812,
585,
273,
394,
1387,
12,
1867,
743,
11272,
202,
202,
430,
261,
401,
768,
18,
1808,
12,
262,
262,
202,
202,
95,
1082,
202,
2463,
394,
1033,
63,
7073,
5058,
6862,
202,
18,
588,
780,
12,
315,
9313,
20938,
2249,
18,
3899,
8418,
6,
262,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
20451,
202,
202,
97,
202,
202,
430,
261,
585,
18,
291,
2853,
12,
262,
262,
202,
202,
95,
1082,
202,
812,
8526,
2325,
273,
585,
18,
1098,
2697,
12,
1034,
11272,
1082,
202,
1884,
261,
509,
277,
273,
374,
31,
277,
411,
2325,
18,
2469,
31,
277,
9904,
262,
1082,
202,
95,
9506,
202,
430,
261,
2325,
63,
77,
8009,
291,
2853,
12,
262,
262,
9506,
202,
95,
6862,
202,
5906,
682,
18,
1289,
12,
394,
10560,
2853,
907,
1488,
12,
6862,
1082,
202,
12,
261,
812,
13,
2325,
63,
77,
65,
262,
18,
588,
10368,
743,
12,
262,
262,
11272,
9506,
202,
97,
9506,
202,
12107,
9506,
202,
95,
6862,
202,
9313,
3259,
5313,
31,
6862,
202,
698,
6862,
202,
95,
25083,
202,
12083,
273,
3877,
3259,
4216,
18,
588,
1442,
12,
262,
6862,
9506,
202,
18,
588,
2157,
3259,
12,
262,
18,
3190,
9313,
12,
6862,
25083,
202,
12,
261,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
8526,
10268,
12,
262,
202,
95,
202,
202,
430,
261,
2325,
682,
18,
1467,
12,
262,
405,
374,
262,
202,
202,
95,
1082,
202,
2463,
2325,
682,
18,
31447,
12,
11272,
202,
202,
97,
202,
202,
812,
585,
273,
394,
1387,
12,
1867,
743,
11272,
202,
202,
430,
261,
401,
768,
18,
1808,
12,
262,
262,
202,
202,
95,
1082,
202,
2463,
394,
1033,
63,
7073,
5058,
6862,
202,
18,
588,
780,
12,
315,
9313,
20938,
2249,
18,
3899,
8418,
6,
262,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
20451,
202,
202,
97,
202,
202,
430,
261,
585,
18,
291,
2853,
12,
262,
262,
202,
202,
95,
1082,
202,
812,
8526,
2325,
273,
2
] |
if (TaskListView.getDefault() != null) TaskListView.getDefault().notifyTaskDataChanged();
|
if (TaskListView.getDefault() != null) TaskListView.getDefault().notifyTaskDataChanged(task);
|
public void run() { if (TaskListView.getDefault() != null) TaskListView.getDefault().notifyTaskDataChanged(); }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/04e28e82233b51ec5dbc77caf8f19bd94749d98b/Task.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/Task.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
1086,
1435,
288,
7734,
309,
261,
2174,
682,
1767,
18,
588,
1868,
1435,
480,
446,
13,
3837,
682,
1767,
18,
588,
1868,
7675,
12336,
2174,
751,
5033,
12,
4146,
1769,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
1086,
1435,
288,
7734,
309,
261,
2174,
682,
1767,
18,
588,
1868,
1435,
480,
446,
13,
3837,
682,
1767,
18,
588,
1868,
7675,
12336,
2174,
751,
5033,
12,
4146,
1769,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (contains(offset))
|
if (offset >= context_directive_start && offset <= context_ends)
|
public _Context findContextContainingOffset(int offset) { if (!hasSubContexts()) { if (contains(offset)) return this; return null; } _Context[] l = getSubContexts(); for (int i = 0; i < l.length; ++i) { _Context c = l[i]; if (c.contains(offset)) { if (c instanceof _CompositeContext) { _Context trial = ((_CompositeContext) c) .findContextContainingOffset(offset); if (trial == null) return c; return trial; } return c; } } if (contains(offset)) return this; return null; }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/5553a5da68de1095a4ba4535e1731ccb6c9b9d77/LocationMap.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner2/LocationMap.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
389,
1042,
1104,
1042,
24344,
2335,
12,
474,
1384,
13,
288,
5411,
309,
16051,
5332,
1676,
15518,
10756,
288,
7734,
309,
261,
3348,
1545,
819,
67,
22347,
67,
1937,
597,
1384,
1648,
819,
67,
5839,
13,
10792,
327,
333,
31,
7734,
327,
446,
31,
5411,
289,
5411,
389,
1042,
8526,
328,
273,
7040,
15518,
5621,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
328,
18,
2469,
31,
965,
77,
13,
288,
7734,
389,
1042,
276,
273,
328,
63,
77,
15533,
7734,
309,
261,
71,
18,
12298,
12,
3348,
3719,
288,
10792,
309,
261,
71,
1276,
389,
9400,
1042,
13,
288,
13491,
389,
1042,
12950,
273,
14015,
67,
9400,
1042,
13,
276,
13,
27573,
263,
4720,
1042,
24344,
2335,
12,
3348,
1769,
13491,
309,
261,
17493,
422,
446,
13,
18701,
327,
276,
31,
13491,
327,
12950,
31,
10792,
289,
10792,
327,
276,
31,
7734,
289,
5411,
289,
5411,
309,
261,
3348,
1545,
819,
67,
22347,
67,
1937,
597,
1384,
1648,
819,
67,
5839,
13,
7734,
327,
333,
31,
5411,
327,
446,
31,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
389,
1042,
1104,
1042,
24344,
2335,
12,
474,
1384,
13,
288,
5411,
309,
16051,
5332,
1676,
15518,
10756,
288,
7734,
309,
261,
3348,
1545,
819,
67,
22347,
67,
1937,
597,
1384,
1648,
819,
67,
5839,
13,
10792,
327,
333,
31,
7734,
327,
446,
31,
5411,
289,
5411,
389,
1042,
8526,
328,
273,
7040,
15518,
5621,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
328,
18,
2469,
31,
965,
77,
13,
288,
7734,
389,
1042,
276,
273,
328,
63,
77,
15533,
7734,
309,
261,
71,
18,
12298,
12,
3348,
3719,
288,
10792,
309,
261,
71,
1276,
389,
9400,
1042,
13,
288,
13491,
389,
1042,
12950,
273,
14015,
67,
9400,
1042,
13,
276,
13,
27573,
263,
4720,
2
] |
LoggingTool logger = new LoggingTool(true);
|
LoggingTool logger = new LoggingTool(); LoggingTool.configureLog4j(); logger.dumpSystemProperties();
|
public static void main(String[] args) { if (args.length < 2) { System.err.println("syntax: SubstructureFinder <SMARTS> <file> <file2> ..."); System.exit(0); } // to make sure the CDK LoggingTool is configured LoggingTool logger = new LoggingTool(true); QueryAtomContainer substructure = null; String smarts = args[0]; try { substructure = SMARTSParser.parse(smarts); } catch (Exception exc) { System.err.println("Problem parsing SMARTS: " + smarts); System.err.println("Error: " + exc.toString()); System.exit(-1); } if (substructure != null) { // loop over all files for (int i=1; i<args.length; i++) { String ifilename = args[i]; try { File input = new File(ifilename); if (!input.isDirectory()) { ChemObjectReader reader = new ReaderFactory().createReader(new FileReader(input)); if (reader.accepts(new Molecule())) { Molecule molecule = (Molecule)reader.read(new Molecule()); if (molecule != null) { boolean matches = UniversalIsomorphismTester.isSubgraph(molecule, substructure); if (matches) { System.out.println(ifilename + ": matches!"); } } } } } catch (Exception exception) { System.err.println(ifilename + ": error="); exception.printStackTrace(); } } } else { System.err.println("No SMARTS given!"); System.exit(-1); } }
|
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/4da80abce4622cd2a94df73cb82668b6648bbea8/SubstructureFinder.java/buggy/src/org/openscience/cdk/applications/SubstructureFinder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
309,
261,
1968,
18,
2469,
411,
576,
13,
288,
5411,
2332,
18,
370,
18,
8222,
2932,
14308,
30,
2592,
7627,
8441,
411,
7303,
4928,
55,
34,
411,
768,
34,
411,
768,
22,
34,
1372,
8863,
5411,
2332,
18,
8593,
12,
20,
1769,
3639,
289,
3639,
368,
358,
1221,
3071,
326,
15257,
10253,
6364,
353,
4351,
3639,
10253,
6364,
1194,
273,
394,
10253,
6364,
5621,
10253,
6364,
18,
14895,
1343,
24,
78,
5621,
1194,
18,
8481,
3163,
2297,
5621,
3639,
2770,
3641,
2170,
720,
7627,
273,
446,
31,
3639,
514,
13706,
87,
273,
833,
63,
20,
15533,
3639,
775,
288,
5411,
720,
7627,
273,
12014,
4928,
55,
2678,
18,
2670,
12,
26416,
87,
1769,
3639,
289,
1044,
261,
503,
3533,
13,
288,
5411,
2332,
18,
370,
18,
8222,
2932,
13719,
5811,
12014,
4928,
55,
30,
315,
397,
13706,
87,
1769,
2398,
2332,
18,
370,
18,
8222,
2932,
668,
30,
315,
397,
3533,
18,
10492,
10663,
5411,
2332,
18,
8593,
19236,
21,
1769,
3639,
289,
3639,
309,
261,
1717,
7627,
480,
446,
13,
288,
10792,
368,
2798,
1879,
777,
1390,
5411,
364,
261,
474,
277,
33,
21,
31,
277,
32,
1968,
18,
2469,
31,
277,
27245,
288,
7734,
514,
309,
2550,
273,
833,
63,
77,
15533,
7734,
775,
288,
10792,
1387,
810,
273,
394,
1387,
12,
430,
2550,
1769,
10792,
309,
16051,
2630,
18,
291,
2853,
10756,
288,
13491,
26542,
921,
2514,
2949,
273,
394,
5393,
1733,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
309,
261,
1968,
18,
2469,
411,
576,
13,
288,
5411,
2332,
18,
370,
18,
8222,
2932,
14308,
30,
2592,
7627,
8441,
411,
7303,
4928,
55,
34,
411,
768,
34,
411,
768,
22,
34,
1372,
8863,
5411,
2332,
18,
8593,
12,
20,
1769,
3639,
289,
3639,
368,
358,
1221,
3071,
326,
15257,
10253,
6364,
353,
4351,
3639,
10253,
6364,
1194,
273,
394,
10253,
6364,
5621,
10253,
6364,
18,
14895,
1343,
24,
78,
5621,
1194,
18,
8481,
3163,
2297,
5621,
3639,
2770,
3641,
2170,
720,
7627,
273,
446,
31,
3639,
514,
13706,
87,
273,
833,
63,
20,
15533,
3639,
775,
288,
5411,
720,
7627,
273,
12014,
4928,
55,
2678,
2
] |
return ReflectionSupport.getDeclaredFields(this); }
|
return ReflectionSupport.getDeclaredFields(this); }
|
public Field[] getDeclaredFields() throws SecurityException { return ReflectionSupport.getDeclaredFields(this); }
|
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/df3191f698ef40a339ada630131c294b42a11705/Class.java/buggy/rvm/src/vm/GNUClasspathSupport/java/lang/Class.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2286,
8526,
31202,
1435,
1216,
17780,
288,
202,
2463,
5685,
6289,
18,
588,
18888,
2314,
12,
2211,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2286,
8526,
31202,
1435,
1216,
17780,
288,
202,
2463,
5685,
6289,
18,
588,
18888,
2314,
12,
2211,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return (Function) compile(scope, in, sourceName, lineno,
|
return (Function) compile(scope, null, source, sourceName, lineno,
|
public Function compileFunction(Scriptable scope, String source, String sourceName, int lineno, Object securityDomain) { Reader in = new StringReader(source); try { return (Function) compile(scope, in, sourceName, lineno, securityDomain, true); } catch (IOException ioe) { // Should never happen because we just made the reader // from a String throw new RuntimeException(); } }
|
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/8d78476dde863807579dcd20202decfcfcc9f7f1/Context.java/clean/js/rhino/src/org/mozilla/javascript/Context.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4284,
4074,
2083,
12,
3651,
429,
2146,
16,
514,
1084,
16,
4766,
565,
514,
28337,
16,
509,
7586,
16,
4766,
565,
1033,
4373,
3748,
13,
565,
288,
3639,
5393,
316,
273,
394,
26227,
12,
3168,
1769,
3639,
775,
288,
5411,
327,
261,
2083,
13,
4074,
12,
4887,
16,
446,
16,
1084,
16,
28337,
16,
7586,
16,
4766,
1377,
4373,
3748,
16,
638,
1769,
3639,
289,
3639,
1044,
261,
14106,
10847,
13,
288,
5411,
368,
9363,
5903,
5865,
2724,
732,
2537,
7165,
326,
2949,
5411,
368,
628,
279,
514,
5411,
604,
394,
3235,
5621,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4284,
4074,
2083,
12,
3651,
429,
2146,
16,
514,
1084,
16,
4766,
565,
514,
28337,
16,
509,
7586,
16,
4766,
565,
1033,
4373,
3748,
13,
565,
288,
3639,
5393,
316,
273,
394,
26227,
12,
3168,
1769,
3639,
775,
288,
5411,
327,
261,
2083,
13,
4074,
12,
4887,
16,
446,
16,
1084,
16,
28337,
16,
7586,
16,
4766,
1377,
4373,
3748,
16,
638,
1769,
3639,
289,
3639,
1044,
261,
14106,
10847,
13,
288,
5411,
368,
9363,
5903,
5865,
2724,
732,
2537,
7165,
326,
2949,
5411,
368,
628,
279,
514,
5411,
604,
394,
3235,
5621,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public String exportUsersToString() throws IOException { StringWriter stringWriter = new StringWriter(); XMLWriter writer = null; try { writer = new XMLWriter(stringWriter, OutputFormat.createPrettyPrint()); writer.write(exportUsers()); } catch (IOException ioe) { Log.error(ioe); throw ioe; } finally { if (writer != null) { writer.close(); } } return stringWriter.toString(); }
|
51636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51636/3e474ee50b4c07e7a7ef66309bd590c4b956cfd1/ImportExportPlugin.java/clean/src/plugins/userImportExport/src/java/org/jivesoftware/messenger/plugin/ImportExportPlugin.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
3359,
6588,
5808,
1435,
1216,
1860,
288,
377,
202,
780,
2289,
533,
2289,
273,
394,
17436,
5621,
377,
202,
4201,
2289,
2633,
273,
446,
31,
3639,
775,
288,
202,
3639,
2633,
273,
394,
3167,
2289,
12,
1080,
2289,
16,
3633,
1630,
18,
2640,
20491,
5108,
10663,
202,
3639,
2633,
18,
2626,
12,
6530,
6588,
10663,
3639,
289,
1044,
261,
14106,
10847,
13,
288,
540,
202,
1343,
18,
1636,
12,
1594,
73,
1769,
540,
202,
12849,
10847,
31,
3639,
289,
3095,
288,
1171,
202,
430,
261,
6299,
480,
446,
13,
288,
540,
202,
202,
6299,
18,
4412,
5621,
540,
202,
97,
3639,
289,
7734,
327,
533,
2289,
18,
10492,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
3359,
6588,
5808,
1435,
1216,
1860,
288,
377,
202,
780,
2289,
533,
2289,
273,
394,
17436,
5621,
377,
202,
4201,
2289,
2633,
273,
446,
31,
3639,
775,
288,
202,
3639,
2633,
273,
394,
3167,
2289,
12,
1080,
2289,
16,
3633,
1630,
18,
2640,
20491,
5108,
10663,
202,
3639,
2633,
18,
2626,
12,
6530,
6588,
10663,
3639,
289,
1044,
261,
14106,
10847,
13,
288,
540,
202,
1343,
18,
1636,
12,
1594,
73,
1769,
540,
202,
12849,
10847,
31,
3639,
289,
3095,
288,
1171,
202,
430,
261,
6299,
480,
446,
13,
288,
540,
202,
202,
6299,
18,
4412,
5621,
540,
202,
97,
3639,
289,
7734,
327,
533,
2289,
18,
10492,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100
] |
||
String foundName = build(name, appletDir.getPath());
|
String foundName = build(appletDir.getPath(), name);
|
public boolean exportApplet(boolean replaceHtml) throws Exception { //File appletDir, String exportSketchName, File dataDir) { //String program = textarea.getText(); // create the project directory // pass null for datapath because the files shouldn't be // copied to the build dir.. that's only for the temp stuff File appletDir = new File(folder, "applet"); boolean writeHtml = true; if (appletDir.exists()) { File htmlFile = new File(appletDir, "index.html"); if (htmlFile.exists() && !replaceHtml) { writeHtml = false; } } else { appletDir.mkdirs(); } // build the sketch String foundName = build(name, appletDir.getPath()); // (already reported) error during export, exit this function if (foundName == null) return false; // if name != exportSketchName, then that's weirdness // BUG unfortunately, that can also be a bug in the preproc :( if (!name.equals(foundName)) { PdeBase.showWarning("Error during export", "Sketch name is " + name + " but the sketch\n" + "name in the code was " + foundName, null); return false; } if (writeHtml) { int wide = BApplet.DEFAULT_WIDTH; int high = BApplet.DEFAULT_HEIGHT; //try { PatternMatcher matcher = new Perl5Matcher(); PatternCompiler compiler = new Perl5Compiler(); // this matches against any uses of the size() function, // whether they contain numbers of variables or whatever. // this way, no warning is shown if size() isn't actually // used in the applet, which is the case especially for // beginners that are cutting/pasting from the reference. String sizing = "[\\s\\;]size\\s*\\(\\s*(\\S+)\\s*,\\s*(\\S+)\\s*\\);"; Pattern pattern = compiler.compile(sizing); // adds a space at the beginning, in case size() is the very // first thing in the program (very common), since the regexp // needs to check for things in front of it. PatternMatcherInput input = new PatternMatcherInput(" " + code[0].program); if (matcher.contains(input, pattern)) { MatchResult result = matcher.getMatch(); try { wide = Integer.parseInt(result.group(1).toString()); high = Integer.parseInt(result.group(2).toString()); } catch (NumberFormatException e) { // found a reference to size, but it didn't // seem to contain numbers final String message = "The size of this applet could not automatically be\n" + "determined from your code. You'll have to edit the\n" + "HTML file to set the size of the applet."; PdeBase.showWarning("Could not find applet size", message, null); } } // else no size() command found // handle this in editor instead, rare or nonexistant //} catch (MalformedPatternException e) { //PdeBase.showWarning("Internal Problem", // "An internal error occurred while trying\n" + // "to export the sketch. Please report this.", e); //return false; //} StringBuffer sources = new StringBuffer(); for (int i = 0; i < codeCount; i++) { sources.append("<a href=\'" + code[i].file.getName() + "\">" + code[i].name + "</a> "); } File htmlOutputFile = new File(appletDir, "index.html"); FileOutputStream fos = new FileOutputStream(htmlOutputFile); PrintStream ps = new PrintStream(fos); // @@sketch@@, @@width@@, @@height@@, @@archive@@, @@source@@ InputStream is = PdeBase.getStream("applet.html"); BufferedReader reader = new BufferedReader(new InputStreamReader(is)); String line = null; while ((line = reader.readLine()) != null) { if (line.indexOf("@@") != -1) { StringBuffer sb = new StringBuffer(line); int index = 0; while ((index = sb.indexOf("@@sketch@@")) != -1) { sb.replace(index, index + "@@sketch@@".length(), name); } while ((index = sb.indexOf("@@source@@")) != -1) { sb.replace(index, index + "@@source@@".length(), sources.toString()); } while ((index = sb.indexOf("@@archive@@")) != -1) { sb.replace(index, index + "@@archive@@".length(), name + ".jar"); } while ((index = sb.indexOf("@@width@@")) != -1) { sb.replace(index, index + "@@width@@".length(), String.valueOf(wide)); } while ((index = sb.indexOf("@@height@@")) != -1) { sb.replace(index, index + "@@height@@".length(), String.valueOf(wide)); } line = sb.toString(); } ps.println(line); } reader.close(); ps.flush(); ps.close(); } // copy the source files to the target, since we like // to encourage people to share their code for (int i = 0; i < codeCount; i++) { try { PdeBase.copyFile(code[i].file, new File(appletDir, code[i].file.getName())); } catch (IOException e) { } } // create new .jar file FileOutputStream zipOutputFile = new FileOutputStream(new File(appletDir, name + ".jar")); ZipOutputStream zos = new ZipOutputStream(zipOutputFile); ZipEntry entry; // add the contents of the code folder to the jar // unpacks all jar files //File codeFolder = new File(folder, "code"); if (codeFolder.exists()) { String includes = PdeCompiler.contentsToClassPath(codeFolder); packClassPathIntoZipFile(includes, zos); } // add the appropriate bagel to the classpath String jdkVersion = PdePreferences.get("compiler.jdk_version"); String bagelJar = "lib/export11.jar"; // default if (jdkVersion.equals("1.3") || jdkVersion.equals("1.4")) { bagelJar = "lib/export13.jar"; } //if (jdkVersionStr.equals("1.3")) { bagelJar = "export13.jar" }; //if (jdkVersionStr.equals("1.4")) { bagelJar = "export14.jar" }; packClassPathIntoZipFile(bagelJar, zos); /* // add the contents of lib/export to the jar file // these are the jdk11-only bagel classes String exportDir = ("lib" + File.separator + "export" + File.separator); String bagelClasses[] = new File(exportDir).list(); for (int i = 0; i < bagelClasses.length; i++) { if (!bagelClasses[i].endsWith(".class")) continue; entry = new ZipEntry(bagelClasses[i]); zos.putNextEntry(entry); zos.write(PdeBase.grabFile(new File(exportDir + bagelClasses[i]))); zos.closeEntry(); } */ // TODO these two loops are insufficient. // should instead recursively add entire contents of build folder // the data folder will already be a subdirectory // and the classes may be buried in subfolders if a package name was used // files to include from data directory //if ((dataDir != null) && (dataDir.exists())) { if (dataFolder.exists()) { String dataFiles[] = dataFolder.list(); for (int i = 0; i < dataFiles.length; i++) { // don't export hidden files // skipping dot prefix removes all: . .. .DS_Store if (dataFiles[i].charAt(0) == '.') continue; entry = new ZipEntry(dataFiles[i]); zos.putNextEntry(entry); zos.write(PdeBase.grabFile(new File(dataFolder, dataFiles[i]))); zos.closeEntry(); } } // add the project's .class files to the jar // just grabs everything from the build directory // since there may be some inner classes // (add any .class files from the applet dir, then delete them) String classfiles[] = appletDir.list(); for (int i = 0; i < classfiles.length; i++) { if (classfiles[i].endsWith(".class")) { entry = new ZipEntry(classfiles[i]); zos.putNextEntry(entry); zos.write(PdeBase.grabFile(new File(appletDir, classfiles[i]))); zos.closeEntry(); } } // remove the .class files from the applet folder. if they're not // removed, the msjvm will complain about an illegal access error, // since the classes are outside the jar file. for (int i = 0; i < classfiles.length; i++) { if (classfiles[i].endsWith(".class")) { File deadguy = new File(appletDir, classfiles[i]); if (!deadguy.delete()) { PdeBase.showWarning("Could not delete", classfiles[i] + " could not \n" + "be deleted from the applet folder. \n" + "You'll need to remove it by hand.", null); } } } // close up the jar file zos.flush(); zos.close(); PdeBase.openFolder(appletDir); //} catch (Exception e) { //e.printStackTrace(); //} return true; }
|
8833 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8833/7f5a2857064f54f5ccec93f9588d51554f8d0820/PdeSketch.java/clean/app/PdeSketch.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
3359,
23696,
12,
6494,
1453,
4353,
13,
1216,
1185,
288,
565,
368,
812,
21853,
1621,
16,
514,
3359,
22900,
461,
16,
1387,
24905,
13,
288,
565,
368,
780,
5402,
273,
19691,
18,
588,
1528,
5621,
565,
368,
752,
326,
1984,
1867,
565,
368,
1342,
446,
364,
27807,
2724,
326,
1390,
12044,
1404,
506,
377,
368,
9268,
358,
326,
1361,
1577,
838,
716,
1807,
1338,
364,
326,
1906,
10769,
565,
1387,
21853,
1621,
273,
394,
1387,
12,
5609,
16,
315,
438,
1469,
8863,
565,
1250,
1045,
4353,
273,
638,
31,
565,
309,
261,
438,
1469,
1621,
18,
1808,
10756,
288,
1377,
1387,
1729,
812,
273,
394,
1387,
12,
438,
1469,
1621,
16,
315,
1615,
18,
2620,
8863,
1377,
309,
261,
2620,
812,
18,
1808,
1435,
597,
401,
2079,
4353,
13,
288,
3639,
1045,
4353,
273,
629,
31,
1377,
289,
565,
289,
469,
288,
1377,
21853,
1621,
18,
24816,
8291,
5621,
565,
289,
565,
368,
1361,
326,
18534,
377,
514,
1392,
461,
273,
1361,
12,
438,
1469,
1621,
18,
588,
743,
9334,
508,
1769,
565,
368,
261,
17583,
14010,
13,
555,
4982,
3359,
16,
2427,
333,
445,
565,
309,
261,
7015,
461,
422,
446,
13,
327,
629,
31,
565,
368,
309,
508,
480,
3359,
22900,
461,
16,
1508,
716,
1807,
20843,
4496,
565,
368,
10937,
43,
640,
24233,
16,
716,
848,
2546,
506,
279,
7934,
316,
326,
675,
9381,
294,
12,
565,
309,
16051,
529,
18,
14963,
12,
7015,
461,
3719,
288,
1377,
453,
323,
2171,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
3359,
23696,
12,
6494,
1453,
4353,
13,
1216,
1185,
288,
565,
368,
812,
21853,
1621,
16,
514,
3359,
22900,
461,
16,
1387,
24905,
13,
288,
565,
368,
780,
5402,
273,
19691,
18,
588,
1528,
5621,
565,
368,
752,
326,
1984,
1867,
565,
368,
1342,
446,
364,
27807,
2724,
326,
1390,
12044,
1404,
506,
377,
368,
9268,
358,
326,
1361,
1577,
838,
716,
1807,
1338,
364,
326,
1906,
10769,
565,
1387,
21853,
1621,
273,
394,
1387,
12,
5609,
16,
315,
438,
1469,
8863,
565,
1250,
1045,
4353,
273,
638,
31,
565,
309,
261,
438,
1469,
1621,
18,
1808,
10756,
288,
1377,
1387,
1729,
812,
273,
394,
1387,
12,
438,
1469,
1621,
16,
315,
1615,
18,
2620,
8863,
2
] |
protected void appendToIndexFile(File errorFile, Throwable t) throws IOException {
|
protected void appendToIndexFile(File errorFile, Throwable t) throws IOException {
|
protected void appendToIndexFile(File errorFile, Throwable t) throws IOException { File index = new File(directory, "index.html"); BufferedWriter out = new BufferedWriter(new FileWriter(index, true)); writeln(out, new MicroSecondDate()+" <a href="+'"'+errorFile.getName()+'"'+">"+t.getClass().getName()+"</a><br/>"); out.close(); }
|
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/31ea5ced6a7560c0a16e053aed85edd01c369190/HTMLReporter.java/buggy/src/edu/sc/seis/fissuresUtil/exceptionHandler/HTMLReporter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
16022,
1016,
812,
12,
812,
555,
812,
16,
4206,
268,
13,
1216,
1860,
288,
3639,
1387,
770,
273,
394,
1387,
12,
5149,
16,
315,
1615,
18,
2620,
8863,
3639,
22490,
596,
273,
394,
22490,
12,
2704,
24639,
12,
1615,
16,
638,
10019,
3639,
6136,
12,
659,
16,
394,
18284,
8211,
1626,
1435,
9078,
411,
69,
3897,
1546,
15,
4970,
11,
15,
1636,
812,
18,
17994,
1435,
15,
4970,
11,
9078,
2984,
15,
88,
18,
588,
797,
7675,
17994,
1435,
9078,
1757,
69,
4438,
2848,
26293,
1769,
3639,
596,
18,
4412,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
16022,
1016,
812,
12,
812,
555,
812,
16,
4206,
268,
13,
1216,
1860,
288,
3639,
1387,
770,
273,
394,
1387,
12,
5149,
16,
315,
1615,
18,
2620,
8863,
3639,
22490,
596,
273,
394,
22490,
12,
2704,
24639,
12,
1615,
16,
638,
10019,
3639,
6136,
12,
659,
16,
394,
18284,
8211,
1626,
1435,
9078,
411,
69,
3897,
1546,
15,
4970,
11,
15,
1636,
812,
18,
17994,
1435,
15,
4970,
11,
9078,
2984,
15,
88,
18,
588,
797,
7675,
17994,
1435,
9078,
1757,
69,
4438,
2848,
26293,
1769,
3639,
596,
18,
4412,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return "success";
|
return "success"; } catch (CalFacadeException cfe) { if (CalFacadeException.duplicateGuid.equals(cfe.getMessage())) { form.getErr().emit("org.bedework.client.error.duplicate.guid"); return "duplicate"; } throw cfe; }
|
public String doAction(HttpServletRequest request, BwActionForm form) throws Throwable { if (form.getGuest()) { return "doNothing"; } CalSvcI svci = form.fetchSvci(); EventInfo ei = findEvent(request, form); if (ei == null) { // Do nothing return "doNothing"; } /* Create an event to act as a reference to the targeted event and copy * the appropriate fields from the target */ BwEventProxy proxy = BwEventProxy.makeAnnotation(ei.getEvent(), ei.getEvent().getOwner()); BwCalendar cal = svci.getPreferredCalendar(); proxy.setOwner(svci.getUser()); svci.addEvent(cal, proxy, null); form.getMsg().emit("org.bedework.client.message.added.eventrefs", 1); BwGoToAction.gotoDateView(this, form, proxy.getDtstart().getDate().substring(0, 8), BedeworkDefs.dayView, debug); form.refreshIsNeeded(); return "success"; }
|
50848 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50848/95925f26afe3eed9b07ba8b5139e0f624cf14c2d/BwAddEventRefAction.java/buggy/calendar3/webclient/src/org/bedework/webclient/BwAddEventRefAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
741,
1803,
12,
2940,
18572,
590,
16,
7682,
605,
91,
1803,
1204,
646,
13,
1216,
4206,
288,
565,
309,
261,
687,
18,
588,
12978,
10756,
288,
1377,
327,
315,
2896,
23814,
14432,
565,
289,
565,
3596,
17444,
45,
7538,
77,
273,
646,
18,
5754,
17444,
77,
5621,
565,
2587,
966,
13247,
273,
1104,
1133,
12,
2293,
16,
646,
1769,
565,
309,
261,
73,
77,
422,
446,
13,
288,
1377,
368,
2256,
5083,
1377,
327,
315,
2896,
23814,
14432,
565,
289,
565,
1748,
1788,
392,
871,
358,
1328,
487,
279,
2114,
358,
326,
20715,
871,
471,
1610,
377,
380,
326,
5505,
1466,
628,
326,
1018,
377,
1195,
565,
605,
91,
1133,
3886,
2889,
273,
605,
91,
1133,
3886,
18,
6540,
3257,
12,
73,
77,
18,
588,
1133,
9334,
4766,
7734,
13247,
18,
588,
1133,
7675,
588,
5541,
10663,
565,
605,
91,
7335,
1443,
273,
7538,
77,
18,
588,
16028,
7335,
5621,
565,
2889,
18,
542,
5541,
12,
30992,
77,
18,
588,
1299,
10663,
565,
7538,
77,
18,
1289,
1133,
12,
771,
16,
2889,
16,
446,
1769,
565,
646,
18,
588,
3332,
7675,
18356,
2932,
3341,
18,
2196,
323,
1252,
18,
2625,
18,
2150,
18,
9665,
18,
2575,
9316,
3113,
404,
1769,
565,
605,
91,
5741,
774,
1803,
18,
75,
6302,
1626,
1767,
12,
2211,
16,
646,
16,
5375,
2889,
18,
588,
19739,
1937,
7675,
588,
1626,
7675,
28023,
12,
20,
16,
1725,
3631,
5375,
4823,
323,
1252,
14554,
18,
2881,
1767,
16,
5375,
1198,
1769,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
741,
1803,
12,
2940,
18572,
590,
16,
7682,
605,
91,
1803,
1204,
646,
13,
1216,
4206,
288,
565,
309,
261,
687,
18,
588,
12978,
10756,
288,
1377,
327,
315,
2896,
23814,
14432,
565,
289,
565,
3596,
17444,
45,
7538,
77,
273,
646,
18,
5754,
17444,
77,
5621,
565,
2587,
966,
13247,
273,
1104,
1133,
12,
2293,
16,
646,
1769,
565,
309,
261,
73,
77,
422,
446,
13,
288,
1377,
368,
2256,
5083,
1377,
327,
315,
2896,
23814,
14432,
565,
289,
565,
1748,
1788,
392,
871,
358,
1328,
487,
279,
2114,
358,
326,
20715,
871,
471,
1610,
377,
380,
326,
5505,
1466,
628,
326,
1018,
377,
1195,
565,
605,
91,
1133,
3886,
2889,
273,
605,
91,
1133,
2
] |
public static void registerVirtualNode(VirtualNode virtualNode, String registrationProtocol, boolean replacePreviousBinding) throws ProActiveException, AlreadyBoundException { if (!(virtualNode instanceof VirtualNodeImpl)) { throw new ProActiveException( "Cannot register such virtualNode since it results from a lookup!"); } if (registrationProtocol == null) { registrationProtocol = System.getProperty( "proactive.communication.protocol"); } String virtualnodeName = virtualNode.getName(); ProActiveRuntime part = RuntimeFactory.getProtocolSpecificRuntime(registrationProtocol); VirtualNode vn = part.getVirtualNode(virtualnodeName); if (vn == null) { throw new ProActiveException("VirtualNode " + virtualnodeName + " has not been yet activated or does not exist! Try to activate it first !"); } part.registerVirtualNode(UrlBuilder.appendVnSuffix(virtualnodeName), replacePreviousBinding); }
|
14315 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14315/a5e5e535dec443ddf23a4fb2e4ab651cd70b575d/ProActive.java/buggy/src/org/objectweb/proactive/ProActive.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3845,
6459,
4861,
6466,
907,
12,
6466,
907,
12384,
907,
16,
780,
14170,
5752,
16,
6494,
2079,
8351,
5250,
13,
15069,
626,
3896,
503,
16,
9430,
3499,
503,
95,
430,
12,
5,
12,
12384,
907,
1336,
792,
6466,
907,
2828,
3719,
95,
12849,
2704,
626,
3896,
503,
2932,
4515,
22559,
2648,
12384,
3205,
2410,
305,
4717,
2080,
287,
4909,
4442,
1769,
97,
430,
12,
14170,
5752,
631,
2011,
15329,
14170,
5752,
33,
3163,
18,
588,
1396,
2932,
685,
3535,
18,
5702,
17261,
18,
8373,
8863,
97,
780,
12384,
2159,
461,
33,
12384,
907,
18,
17994,
5621,
626,
3896,
5576,
2680,
33,
5576,
1733,
18,
588,
5752,
9969,
5576,
12,
14170,
5752,
1769,
6466,
907,
25031,
33,
2680,
18,
588,
6466,
907,
12,
12384,
2159,
461,
1769,
430,
12,
25031,
631,
2011,
15329,
12849,
2704,
626,
3896,
503,
2932,
6466,
907,
6,
15,
12384,
2159,
461,
9078,
5332,
902,
2196,
275,
24404,
18836,
517,
83,
281,
902,
7398,
5,
7833,
869,
10014,
305,
3645,
4442,
1769,
97,
2680,
18,
4861,
6466,
907,
12,
1489,
1263,
18,
6923,
58,
82,
5791,
12,
12384,
2159,
461,
3631,
2079,
8351,
5250,
1769,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3845,
6459,
4861,
6466,
907,
12,
6466,
907,
12384,
907,
16,
780,
14170,
5752,
16,
6494,
2079,
8351,
5250,
13,
15069,
626,
3896,
503,
16,
9430,
3499,
503,
95,
430,
12,
5,
12,
12384,
907,
1336,
792,
6466,
907,
2828,
3719,
95,
12849,
2704,
626,
3896,
503,
2932,
4515,
22559,
2648,
12384,
3205,
2410,
305,
4717,
2080,
287,
4909,
4442,
1769,
97,
430,
12,
14170,
5752,
631,
2011,
15329,
14170,
5752,
33,
3163,
18,
588,
1396,
2932,
685,
3535,
18,
5702,
17261,
18,
8373,
8863,
97,
780,
12384,
2159,
461,
33,
12384,
907,
18,
17994,
5621,
626,
3896,
5576,
2680,
33,
5576,
1733,
18,
588,
5752,
9969,
5576,
12,
14170,
5752,
1769,
6466,
907,
25031,
33,
2680,
18,
2
] |
||
public Component getTreeCellRendererComponent(JTree tree,
|
Component getTreeCellRendererComponent(JTree tree,
|
public Component getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus);
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f03053e30bf23122f89e48e88064677b27fdd7c/TreeCellRenderer.java/buggy/core/src/classpath/javax/javax/swing/tree/TreeCellRenderer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5435,
15867,
4020,
6747,
1841,
12,
46,
2471,
2151,
16,
1082,
202,
921,
460,
16,
1250,
3170,
16,
1250,
8406,
16,
1082,
202,
6494,
7839,
16,
509,
1027,
16,
1250,
711,
9233,
1769,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5435,
15867,
4020,
6747,
1841,
12,
46,
2471,
2151,
16,
1082,
202,
921,
460,
16,
1250,
3170,
16,
1250,
8406,
16,
1082,
202,
6494,
7839,
16,
509,
1027,
16,
1250,
711,
9233,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
{ mBOOL(); if (failed) return ;
|
{ mEND(); if (failed) return ;
|
public void mTokens() throws RecognitionException { // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:10: ( T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | T38 | T39 | T40 | T41 | T42 | T43 | T44 | T45 | T46 | T47 | T48 | T49 | T50 | T51 | T52 | T53 | T54 | T55 | T56 | T57 | T58 | T59 | T60 | T61 | T62 | T63 | T64 | T65 | T66 | T67 | T68 | T69 | T70 | T71 | T72 | T73 | RHS | WS | INT | FLOAT | STRING | BOOL | ID | SH_STYLE_SINGLE_LINE_COMMENT | C_STYLE_SINGLE_LINE_COMMENT | CURLY_CHUNK | LEFT_PAREN | RIGHT_PAREN | LEFT_SQUARE | RIGHT_SQUARE | MULTI_LINE_COMMENT | MISC ) int alt21=64; alt21 = dfa21.predict(input); switch (alt21) { case 1 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:10: T26 { mT26(); if (failed) return ; } break; case 2 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:14: T27 { mT27(); if (failed) return ; } break; case 3 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:18: T28 { mT28(); if (failed) return ; } break; case 4 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:22: T29 { mT29(); if (failed) return ; } break; case 5 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:26: T30 { mT30(); if (failed) return ; } break; case 6 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:30: T31 { mT31(); if (failed) return ; } break; case 7 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:34: T32 { mT32(); if (failed) return ; } break; case 8 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:38: T33 { mT33(); if (failed) return ; } break; case 9 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:42: T34 { mT34(); if (failed) return ; } break; case 10 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:46: T35 { mT35(); if (failed) return ; } break; case 11 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:50: T36 { mT36(); if (failed) return ; } break; case 12 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:54: T37 { mT37(); if (failed) return ; } break; case 13 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:58: T38 { mT38(); if (failed) return ; } break; case 14 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:62: T39 { mT39(); if (failed) return ; } break; case 15 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:66: T40 { mT40(); if (failed) return ; } break; case 16 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:70: T41 { mT41(); if (failed) return ; } break; case 17 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:74: T42 { mT42(); if (failed) return ; } break; case 18 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:78: T43 { mT43(); if (failed) return ; } break; case 19 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:82: T44 { mT44(); if (failed) return ; } break; case 20 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:86: T45 { mT45(); if (failed) return ; } break; case 21 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:90: T46 { mT46(); if (failed) return ; } break; case 22 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:94: T47 { mT47(); if (failed) return ; } break; case 23 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:98: T48 { mT48(); if (failed) return ; } break; case 24 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:102: T49 { mT49(); if (failed) return ; } break; case 25 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:106: T50 { mT50(); if (failed) return ; } break; case 26 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:110: T51 { mT51(); if (failed) return ; } break; case 27 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:114: T52 { mT52(); if (failed) return ; } break; case 28 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:118: T53 { mT53(); if (failed) return ; } break; case 29 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:122: T54 { mT54(); if (failed) return ; } break; case 30 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:126: T55 { mT55(); if (failed) return ; } break; case 31 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:130: T56 { mT56(); if (failed) return ; } break; case 32 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:134: T57 { mT57(); if (failed) return ; } break; case 33 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:138: T58 { mT58(); if (failed) return ; } break; case 34 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:142: T59 { mT59(); if (failed) return ; } break; case 35 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:146: T60 { mT60(); if (failed) return ; } break; case 36 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:150: T61 { mT61(); if (failed) return ; } break; case 37 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:154: T62 { mT62(); if (failed) return ; } break; case 38 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:158: T63 { mT63(); if (failed) return ; } break; case 39 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:162: T64 { mT64(); if (failed) return ; } break; case 40 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:166: T65 { mT65(); if (failed) return ; } break; case 41 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:170: T66 { mT66(); if (failed) return ; } break; case 42 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:174: T67 { mT67(); if (failed) return ; } break; case 43 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:178: T68 { mT68(); if (failed) return ; } break; case 44 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:182: T69 { mT69(); if (failed) return ; } break; case 45 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:186: T70 { mT70(); if (failed) return ; } break; case 46 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:190: T71 { mT71(); if (failed) return ; } break; case 47 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:194: T72 { mT72(); if (failed) return ; } break; case 48 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:198: T73 { mT73(); if (failed) return ; } break; case 49 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:202: RHS { mRHS(); if (failed) return ; } break; case 50 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:206: WS { mWS(); if (failed) return ; } break; case 51 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:209: INT { mINT(); if (failed) return ; } break; case 52 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:213: FLOAT { mFLOAT(); if (failed) return ; } break; case 53 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:219: STRING { mSTRING(); if (failed) return ; } break; case 54 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:226: BOOL { mBOOL(); if (failed) return ; } break; case 55 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:231: ID { mID(); if (failed) return ; } break; case 56 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:234: SH_STYLE_SINGLE_LINE_COMMENT { mSH_STYLE_SINGLE_LINE_COMMENT(); if (failed) return ; } break; case 57 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:263: C_STYLE_SINGLE_LINE_COMMENT { mC_STYLE_SINGLE_LINE_COMMENT(); if (failed) return ; } break; case 58 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:291: CURLY_CHUNK { mCURLY_CHUNK(); if (failed) return ; } break; case 59 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:303: LEFT_PAREN { mLEFT_PAREN(); if (failed) return ; } break; case 60 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:314: RIGHT_PAREN { mRIGHT_PAREN(); if (failed) return ; } break; case 61 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:326: LEFT_SQUARE { mLEFT_SQUARE(); if (failed) return ; } break; case 62 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:338: RIGHT_SQUARE { mRIGHT_SQUARE(); if (failed) return ; } break; case 63 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:351: MULTI_LINE_COMMENT { mMULTI_LINE_COMMENT(); if (failed) return ; } break; case 64 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:370: MISC { mMISC(); if (failed) return ; } break; } }
|
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/63bc7036e62ae854cec463d59712c173f74e984c/DRLLexer.java/clean/drools-compiler/src/main/java/org/drools/lang/DRLLexer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
5157,
1435,
1216,
9539,
288,
3639,
368,
463,
31027,
14915,
1695,
10649,
8464,
1695,
10649,
8464,
7482,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
21,
30,
2163,
30,
261,
399,
5558,
571,
399,
5324,
571,
399,
6030,
571,
399,
5540,
571,
399,
5082,
571,
399,
6938,
571,
399,
1578,
571,
399,
3707,
571,
399,
5026,
571,
399,
4763,
571,
399,
5718,
571,
399,
6418,
571,
399,
7414,
571,
399,
5520,
571,
399,
7132,
571,
399,
9803,
571,
399,
9452,
571,
399,
8942,
571,
399,
6334,
571,
399,
7950,
571,
399,
8749,
571,
399,
9462,
571,
399,
8875,
571,
399,
7616,
571,
399,
3361,
571,
399,
10593,
571,
399,
9401,
571,
399,
8643,
571,
399,
6564,
571,
399,
2539,
571,
399,
4313,
571,
399,
10321,
571,
399,
8204,
571,
399,
6162,
571,
399,
4848,
571,
399,
9498,
571,
399,
8898,
571,
399,
4449,
571,
399,
1105,
571,
399,
9222,
571,
399,
6028,
571,
399,
9599,
571,
399,
9470,
571,
399,
8148,
571,
399,
7301,
571,
399,
11212,
571,
399,
9060,
571,
399,
9036,
571,
534,
13173,
571,
7649,
571,
6137,
571,
15483,
571,
9469,
571,
9784,
1741,
571,
1599,
571,
6122,
67,
15066,
67,
20184,
67,
5997,
67,
12200,
571,
385,
67,
15066,
67,
20184,
67,
5997,
67,
12200,
571,
16161,
61,
67,
26464,
571,
9686,
67,
15111,
571,
13135,
67,
15111,
571,
9686,
67,
19716,
571,
13135,
67,
19716,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
5157,
1435,
1216,
9539,
288,
3639,
368,
463,
31027,
14915,
1695,
10649,
8464,
1695,
10649,
8464,
7482,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
21,
30,
2163,
30,
261,
399,
5558,
571,
399,
5324,
571,
399,
6030,
571,
399,
5540,
571,
399,
5082,
571,
399,
6938,
571,
399,
1578,
571,
399,
3707,
571,
399,
5026,
571,
399,
4763,
571,
399,
5718,
571,
399,
6418,
571,
399,
7414,
571,
399,
5520,
571,
399,
7132,
571,
399,
9803,
571,
399,
9452,
571,
399,
8942,
571,
399,
6334,
571,
399,
7950,
571,
399,
8749,
571,
399,
9462,
571,
399,
8875,
571,
399,
7616,
571,
2
] |
public void setDateHeader(final String name, final long l) { DateFormat df = DateFormat.getDateInstance(DateFormat.FULL); setHeader(name, df.format(new Date(l))); }
|
public void setDateHeader(final String name, final long l) { DateFormat df = DateFormat.getDateInstance(DateFormat.FULL); setHeader(name, df.format(new Date(l))); }
|
public void setDateHeader(final String name, final long l) { DateFormat df = DateFormat.getDateInstance(DateFormat.FULL); setHeader(name, df.format(new Date(l))); }
|
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/9a4b9b48d844a9fd7e8882aa552fcfb06d718660/MockHttpServletResponse.java/clean/wicket/src/java/wicket/protocol/http/MockHttpServletResponse.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
17604,
1864,
12,
6385,
514,
508,
16,
727,
1525,
328,
13,
288,
3639,
18371,
3013,
273,
18371,
18,
588,
1626,
1442,
12,
11878,
18,
18111,
1769,
3639,
10859,
12,
529,
16,
3013,
18,
2139,
12,
2704,
2167,
12,
80,
3719,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
17604,
1864,
12,
6385,
514,
508,
16,
727,
1525,
328,
13,
288,
3639,
18371,
3013,
273,
18371,
18,
588,
1626,
1442,
12,
11878,
18,
18111,
1769,
3639,
10859,
12,
529,
16,
3013,
18,
2139,
12,
2704,
2167,
12,
80,
3719,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public long getRoutingBackedOffUntil() { synchronized(routingBackoffSync) { return routingBackedOffUntil; }
|
public synchronized long getRoutingBackedOffUntil() { return routingBackedOffUntil;
|
public long getRoutingBackedOffUntil() { synchronized(routingBackoffSync) { return routingBackedOffUntil; } }
|
51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/3ac0497dbb550960741cb074f5ce371a7942ad8f/PeerNode.java/clean/src/freenet/node/PeerNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1525,
24740,
310,
2711,
329,
7210,
9716,
1435,
288,
3639,
3852,
12,
16529,
16757,
4047,
13,
288,
1082,
202,
2463,
7502,
2711,
329,
7210,
9716,
31,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1525,
24740,
310,
2711,
329,
7210,
9716,
1435,
288,
3639,
3852,
12,
16529,
16757,
4047,
13,
288,
1082,
202,
2463,
7502,
2711,
329,
7210,
9716,
31,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
} else if(patt.extGState != null) {
|
} else if (patt.extGState != null) {
|
public boolean equals(Object obj) { if(obj == null) { return false; } if(obj == this) { return true; } if(!(obj instanceof PDFPattern)) { return false; } PDFPattern patt = (PDFPattern)obj; if(patternType != patt.patternType) { return false; } if(paintType != patt.paintType) { return false; } if(tilingType != patt.tilingType) { return false; } if(xStep != patt.xStep) { return false; } if(yStep != patt.yStep) { return false; } if(bBox != null) { if(!bBox.equals(patt.bBox)) { return false; } } else if(patt.bBox != null) { return false; } if(bBox != null) { if(!bBox.equals(patt.bBox)) { return false; } } else if(patt.bBox != null) { return false; } if(xUID != null) { if(!xUID.equals(patt.xUID)) { return false; } } else if(patt.xUID != null) { return false; } if(extGState != null) { if(!extGState.equals(patt.extGState)) { return false; } } else if(patt.extGState != null) { return false; } if(matrix != null) { if(!matrix.equals(patt.matrix)) { return false; } } else if(patt.matrix != null) { return false; } if(resources != null) { if(!resources.equals(patt.resources)) { return false; } } else if(patt.resources != null) { return false; } if(shading != null) { if(!shading.equals(patt.shading)) { return false; } } else if(patt.shading != null) { return false; } if(patternDataStream != null) { if(!patternDataStream.equals(patt.patternDataStream)) { return false; } } else if(patt.patternDataStream != null) { return false; } return true; }
|
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/392781f30969e4da0b510da16b96099a320089ba/PDFPattern.java/clean/src/org/apache/fop/pdf/PDFPattern.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1606,
12,
921,
1081,
13,
288,
3639,
309,
12,
2603,
422,
446,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
309,
12,
2603,
422,
333,
13,
288,
5411,
327,
638,
31,
3639,
289,
3639,
309,
12,
5,
12,
2603,
1276,
12667,
3234,
3719,
288,
5411,
327,
629,
31,
3639,
289,
3639,
12667,
3234,
28560,
273,
261,
17508,
3234,
13,
2603,
31,
3639,
309,
12,
4951,
559,
480,
28560,
18,
4951,
559,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
309,
12,
84,
1598,
559,
480,
28560,
18,
84,
1598,
559,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
309,
12,
1025,
310,
559,
480,
28560,
18,
1025,
310,
559,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
309,
12,
92,
4160,
480,
28560,
18,
92,
4160,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
309,
12,
93,
4160,
480,
28560,
18,
93,
4160,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
309,
12,
70,
3514,
480,
446,
13,
288,
5411,
309,
12,
5,
70,
3514,
18,
14963,
12,
84,
4558,
18,
70,
3514,
3719,
288,
7734,
327,
629,
31,
5411,
289,
3639,
289,
469,
309,
12,
84,
4558,
18,
70,
3514,
480,
446,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
309,
12,
70,
3514,
480,
446,
13,
288,
5411,
309,
12,
5,
70,
3514,
18,
14963,
12,
84,
4558,
18,
70,
3514,
3719,
288,
7734,
327,
629,
31,
5411,
289,
3639,
289,
469,
309,
12,
84,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1606,
12,
921,
1081,
13,
288,
3639,
309,
12,
2603,
422,
446,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
309,
12,
2603,
422,
333,
13,
288,
5411,
327,
638,
31,
3639,
289,
3639,
309,
12,
5,
12,
2603,
1276,
12667,
3234,
3719,
288,
5411,
327,
629,
31,
3639,
289,
3639,
12667,
3234,
28560,
273,
261,
17508,
3234,
13,
2603,
31,
3639,
309,
12,
4951,
559,
480,
28560,
18,
4951,
559,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
309,
12,
84,
1598,
559,
480,
28560,
18,
84,
1598,
559,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
309,
12,
1025,
310,
559,
480,
28560,
18,
1025,
310,
559,
13,
288,
5411,
327,
2
] |
if (innerUpdatableValue!=null) innerUpdatableValue.setValue(value);
|
if (innerUpdatableValue!=null) { innerUpdatableValue.setValue(value); }
|
public void setValue(Object value) { if (innerUpdatableValue!=null) innerUpdatableValue.setValue(value); }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/9d125503204eb791fd5d7ba10d10960ac0bbffba/NestedUpdatableValue.java/clean/bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/internal/databinding/NestedUpdatableValue.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
5524,
12,
921,
460,
13,
288,
202,
202,
430,
261,
7872,
1211,
3404,
429,
620,
5,
33,
2011,
13,
1082,
282,
3443,
1211,
3404,
429,
620,
18,
542,
620,
12,
1132,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
5524,
12,
921,
460,
13,
288,
202,
202,
430,
261,
7872,
1211,
3404,
429,
620,
5,
33,
2011,
13,
1082,
282,
3443,
1211,
3404,
429,
620,
18,
542,
620,
12,
1132,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public void setOwner(Territory territory, PlayerID id) { if(territory.isWater()) return; String name = territory.getName(); String fileName = "countries/" + name.replace(' ', '_')+ ".png"; Image country = loadImage(fileName); BufferedImage newImage = new BufferedImage(country.getWidth(s_observer), country.getHeight(s_observer), BufferedImage.TYPE_INT_ARGB); newImage.getGraphics().drawImage(country, 0,0, s_observer); LookupOp filter = getLookupOp(id); filter.filter(newImage, newImage); Point p = (Point) m_topCorners.get(name); if(p == null) throw new IllegalStateException("No top corner could be found for:" + name); m_largeMapImage.getGraphics().drawImage(newImage, p.x, p.y, s_observer); if (!territory.isWater()) { TerritoryAttatchment ta = TerritoryAttatchment.get(territory); Graphics g = m_largeMapImage.getGraphics(); FontMetrics fm = g.getFontMetrics(); int x = p.x; int y = p.y; // if (ta.getProduction() > 0) // name += " (" + ta.getProduction() + ")"; x += country.getWidth(s_observer) >> 1; y += country.getHeight(s_observer) >> 1; x -= fm.stringWidth(name) >> 1; y += fm.getAscent() >> 1; g.drawString(name, x, y); if (ta.getProduction() > 0) { String prod = new Integer(ta.getProduction()).toString(); x = p.x + ((country.getWidth(s_observer) - fm.stringWidth(prod))>> 1); y += fm.getLeading() + fm.getAscent(); g.drawString(prod, x, y); } } int smallHeight = (int) (newImage.getHeight() / m_smallLargeRatio) + 3; int smallWidth = (int) (newImage.getWidth() / m_smallLargeRatio) + 3; Image small = newImage.getScaledInstance(smallWidth, smallHeight , Image.SCALE_FAST); Point smallPoint = new Point( (int)( p.x / m_smallLargeRatio), (int) (p.y / m_smallLargeRatio)); m_smallMapImage.getGraphics().drawImage(small, smallPoint.x, smallPoint.y, s_observer); }
|
8339 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8339/65dc97c8bd1d73da6a21d79d5ad468e6bb971a9b/MapImage.java/buggy/src/games/strategy/triplea/image/MapImage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
31309,
12,
56,
25313,
268,
25313,
16,
19185,
734,
612,
13,
202,
95,
202,
202,
430,
12,
88,
25313,
18,
291,
24064,
10756,
1082,
202,
2463,
31,
9506,
202,
780,
508,
273,
268,
25313,
18,
17994,
5621,
9506,
202,
780,
3968,
273,
315,
22904,
4898,
397,
508,
18,
2079,
2668,
2265,
4427,
27921,
225,
3552,
6446,
14432,
202,
202,
2040,
5251,
273,
1262,
2040,
12,
17812,
1769,
9506,
202,
17947,
2040,
394,
2040,
273,
394,
12362,
12,
9082,
18,
588,
2384,
12,
87,
67,
30971,
3631,
5251,
18,
588,
2686,
12,
87,
67,
30971,
3631,
12362,
18,
2399,
67,
3217,
67,
985,
5887,
1769,
202,
202,
2704,
2040,
18,
588,
17558,
7675,
9446,
2040,
12,
9082,
16,
374,
16,
20,
16,
272,
67,
30971,
1769,
9506,
202,
6609,
3817,
1034,
273,
336,
6609,
3817,
12,
350,
1769,
202,
202,
2188,
18,
2188,
12,
2704,
2040,
16,
394,
2040,
1769,
9506,
202,
2148,
293,
273,
261,
2148,
13,
312,
67,
3669,
6217,
9646,
18,
588,
12,
529,
1769,
202,
202,
430,
12,
84,
422,
446,
13,
1082,
202,
12849,
394,
5477,
2932,
2279,
1760,
11055,
3377,
506,
1392,
364,
2773,
397,
508,
1769,
9506,
202,
81,
67,
14095,
863,
2040,
18,
588,
17558,
7675,
9446,
2040,
12,
2704,
2040,
16,
293,
18,
92,
16,
293,
18,
93,
16,
272,
67,
30971,
1769,
9506,
202,
430,
16051,
88,
25313,
18,
291,
24064,
10756,
3196,
202,
95,
1082,
202,
56,
25313,
3075,
505,
475,
13561,
273,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
31309,
12,
56,
25313,
268,
25313,
16,
19185,
734,
612,
13,
202,
95,
202,
202,
430,
12,
88,
25313,
18,
291,
24064,
10756,
1082,
202,
2463,
31,
9506,
202,
780,
508,
273,
268,
25313,
18,
17994,
5621,
9506,
202,
780,
3968,
273,
315,
22904,
4898,
397,
508,
18,
2079,
2668,
2265,
4427,
27921,
225,
3552,
6446,
14432,
202,
202,
2040,
5251,
273,
1262,
2040,
12,
17812,
1769,
9506,
202,
17947,
2040,
394,
2040,
273,
394,
12362,
12,
9082,
18,
588,
2384,
12,
87,
67,
30971,
3631,
5251,
18,
588,
2686,
12,
87,
67,
30971,
3631,
12362,
18,
2399,
67,
3217,
67,
985,
5887,
1769,
202,
202,
2704,
2040,
18,
588,
17558,
7675,
9446,
2040,
12,
2
] |
||
}
|
} NavigationHistoryEntry e= createEntry(page, part, location);
|
private void addEntry(IEditorPart part, boolean markLocation) { if (ignoreEntries > 0 || part == null) return; INavigationLocation location = null; if(markLocation && part instanceof INavigationLocationProvider) location = ((INavigationLocationProvider)part).createNavigationLocation(); NavigationHistoryEntry e= createEntry(page, part, location); NavigationHistoryEntry current= getEntry(activeEntry); if (current != null && current.editorInfo.memento != null) { current.editorInfo.restoreEditor(); checkDuplicates(current.editorInfo); } if (current == null) { add(e); } else { if(e.mergeInto(current)) { disposeEntry(e); removeForwardEntries(); } else { add(e); } } printEntries("added entry"); //$NON-NLS-1$ updateActions();}
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/30fa537d8b22de3c203d919a2f112b7bc5bc1fc1/NavigationHistory.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/NavigationHistory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
918,
527,
1622,
12,
45,
6946,
1988,
1087,
16,
1250,
2267,
2735,
13,
288,
202,
430,
261,
6185,
5400,
405,
374,
747,
1087,
422,
446,
13,
202,
202,
2463,
31,
202,
202,
706,
6417,
2735,
2117,
273,
446,
31,
202,
202,
430,
12,
3355,
2735,
597,
1087,
1276,
2120,
6417,
2735,
2249,
13,
202,
202,
3562,
273,
14015,
706,
6417,
2735,
2249,
13,
2680,
2934,
2640,
14301,
2735,
5621,
1082,
202,
14301,
5623,
1622,
425,
33,
752,
1622,
12,
2433,
16,
1087,
16,
2117,
1769,
202,
14301,
5623,
1622,
783,
33,
15428,
12,
3535,
1622,
1769,
202,
430,
261,
2972,
480,
446,
597,
783,
18,
9177,
966,
18,
81,
820,
83,
480,
446,
13,
288,
202,
202,
2972,
18,
9177,
966,
18,
13991,
6946,
5621,
3196,
202,
1893,
23897,
12,
2972,
18,
9177,
966,
1769,
202,
97,
202,
430,
261,
2972,
422,
446,
13,
288,
202,
202,
1289,
12,
73,
1769,
202,
97,
22924,
5623,
1622,
425,
33,
752,
1622,
12,
2433,
16,
1087,
16,
2117,
1769,
469,
288,
202,
202,
430,
12,
73,
18,
2702,
5952,
12,
2972,
3719,
288,
1082,
202,
2251,
4150,
1622,
12,
73,
1769,
1082,
202,
4479,
8514,
5400,
5621,
202,
202,
97,
22924,
5623,
1622,
425,
33,
752,
1622,
12,
2433,
16,
1087,
16,
2117,
1769,
469,
288,
1082,
202,
1289,
12,
73,
1769,
202,
202,
97,
202,
97,
202,
1188,
5400,
2932,
9665,
1241,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
2725,
6100,
5621,
97,
2,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
918,
527,
1622,
12,
45,
6946,
1988,
1087,
16,
1250,
2267,
2735,
13,
288,
202,
430,
261,
6185,
5400,
405,
374,
747,
1087,
422,
446,
13,
202,
202,
2463,
31,
202,
202,
706,
6417,
2735,
2117,
273,
446,
31,
202,
202,
430,
12,
3355,
2735,
597,
1087,
1276,
2120,
6417,
2735,
2249,
13,
202,
202,
3562,
273,
14015,
706,
6417,
2735,
2249,
13,
2680,
2934,
2640,
14301,
2735,
5621,
1082,
202,
14301,
5623,
1622,
425,
33,
752,
1622,
12,
2433,
16,
1087,
16,
2117,
1769,
202,
14301,
5623,
1622,
783,
33,
15428,
12,
3535,
1622,
1769,
202,
430,
261,
2972,
480,
446,
597,
783,
18,
9177,
966,
18,
81,
820,
83,
480,
446,
13,
288,
202,
202,
2972,
2
] |
if (controller == ANY_CONTROLLER) { for (int i=0;i<controllers.size();i++) { if (isControllerUp(i)) { return true; } return false; } }
|
public boolean isControllerUp(int controller) { if (controller >= getControllerCount()) { return false; } return ((Controller) controllers.get(controller)).getYAxisValue() < -0.5f; }
|
47738 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47738/007054e5d45d6f573a8202b570aaef64884b612d/Input.java/buggy/src/org/newdawn/slick/Input.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
309,
261,
5723,
422,
16743,
67,
6067,
25353,
13,
288,
364,
261,
474,
277,
33,
20,
31,
77,
32,
20171,
18,
1467,
5621,
77,
27245,
288,
309,
261,
291,
2933,
1211,
12,
77,
3719,
288,
327,
638,
31,
289,
225,
327,
629,
31,
289,
289,
1250,
309,
261,
5723,
422,
16743,
67,
6067,
25353,
13,
288,
364,
261,
474,
277,
33,
20,
31,
77,
32,
20171,
18,
1467,
5621,
77,
27245,
288,
309,
261,
291,
2933,
1211,
12,
77,
3719,
288,
327,
638,
31,
289,
225,
327,
629,
31,
289,
289,
353,
2933,
1211,
12,
474,
309,
261,
5723,
422,
16743,
67,
6067,
25353,
13,
288,
364,
261,
474,
277,
33,
20,
31,
77,
32,
20171,
18,
1467,
5621,
77,
27245,
288,
309,
261,
291,
2933,
1211,
12,
77,
3719,
288,
327,
638,
31,
289,
225,
327,
629,
31,
289,
289,
2596,
13,
309,
261,
5723,
422,
16743,
67,
6067,
25353,
13,
288,
364,
261,
474,
277,
33,
20,
31,
77,
32,
20171,
18,
1467,
5621,
77,
27245,
288,
309,
261,
291,
2933,
1211,
12,
77,
3719,
288,
327,
638,
31,
289,
225,
327,
629,
31,
289,
289,
288,
202,
202,
430,
309,
261,
5723,
422,
16743,
67,
6067,
25353,
13,
288,
364,
261,
474,
277,
33,
20,
31,
77,
32,
20171,
18,
1467,
5621,
77,
27245,
288,
309,
261,
291,
2933,
1211,
12,
77,
3719,
288,
327,
638,
31,
289,
225,
327,
629,
31,
289,
289,
261,
5723,
309,
261,
5723,
422,
16743,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
309,
261,
5723,
422,
16743,
67,
6067,
25353,
13,
288,
364,
261,
474,
277,
33,
20,
31,
77,
32,
20171,
18,
1467,
5621,
77,
27245,
288,
309,
261,
291,
2933,
1211,
12,
77,
3719,
288,
327,
638,
31,
289,
225,
327,
629,
31,
289,
289,
1250,
309,
261,
5723,
422,
16743,
67,
6067,
25353,
13,
288,
364,
261,
474,
277,
33,
20,
31,
77,
32,
20171,
18,
1467,
5621,
77,
27245,
288,
309,
261,
291,
2933,
1211,
12,
77,
3719,
288,
327,
638,
31,
289,
225,
327,
629,
31,
289,
289,
353,
2933,
1211,
12,
474,
309,
261,
5723,
422,
16743,
67,
6067,
25353,
13,
288,
364,
261,
474,
277,
33,
20,
31,
77,
32,
20171,
2
] |
|
assertEqual(result, expecting);
|
assertEquals(result, expecting);
|
public void testEmptyStringAndEmptyAnonTemplateAsParameterUsingAngleBracketLexer() throws Exception { String templates = "group test;" +newline+ "top() ::= <<<x(a=\"\", b={})\\>>>"+newline+ "x(a,b) ::= \"a=<a>, b=<b>\""+newline; ; StringTemplateGroup group = new StringTemplateGroup(new StringReader(templates)); StringTemplate a = group.getInstanceOf("top"); String expecting = "a=, b="; String result = a.toString(); assertEqual(result, expecting); }
|
52527 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52527/158b0f9c5220709dc9d801ee911d1605a906ccaf/TestStringTemplate.java/clean/src/org/antlr/stringtemplate/test/TestStringTemplate.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
1921,
780,
1876,
1921,
979,
265,
2283,
1463,
1662,
7736,
8467,
11450,
13356,
1435,
1216,
1185,
288,
202,
202,
780,
5539,
273,
9506,
202,
6,
1655,
1842,
4868,
397,
22861,
15,
9506,
202,
6,
3669,
1435,
493,
33,
14360,
92,
12,
69,
5189,
22564,
324,
12938,
13,
1695,
9778,
2984,
15,
22861,
15,
9506,
202,
6,
92,
12,
69,
16,
70,
13,
493,
33,
1239,
69,
27127,
69,
20401,
324,
27127,
70,
34,
8530,
15,
22861,
31,
9506,
202,
31,
202,
202,
780,
2283,
1114,
1041,
273,
9506,
202,
2704,
514,
2283,
1114,
12,
2704,
26227,
12,
8502,
10019,
202,
202,
780,
2283,
279,
273,
1041,
18,
588,
1442,
951,
2932,
3669,
8863,
202,
202,
780,
17012,
273,
315,
69,
33,
16,
324,
1546,
31,
202,
202,
780,
563,
273,
279,
18,
10492,
5621,
202,
202,
11231,
5812,
12,
2088,
16,
17012,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
1921,
780,
1876,
1921,
979,
265,
2283,
1463,
1662,
7736,
8467,
11450,
13356,
1435,
1216,
1185,
288,
202,
202,
780,
5539,
273,
9506,
202,
6,
1655,
1842,
4868,
397,
22861,
15,
9506,
202,
6,
3669,
1435,
493,
33,
14360,
92,
12,
69,
5189,
22564,
324,
12938,
13,
1695,
9778,
2984,
15,
22861,
15,
9506,
202,
6,
92,
12,
69,
16,
70,
13,
493,
33,
1239,
69,
27127,
69,
20401,
324,
27127,
70,
34,
8530,
15,
22861,
31,
9506,
202,
31,
202,
202,
780,
2283,
1114,
1041,
273,
9506,
202,
2704,
514,
2283,
1114,
12,
2704,
26227,
12,
8502,
10019,
202,
202,
780,
2283,
279,
273,
1041,
18,
588,
1442,
951,
2932,
3669,
8863,
202,
2
] |
if (isImage) {
|
if (isImageMediatype) {
|
public void end(String uri, String localname, String qName) throws SAXException { final ContentHandler contentHandler = handlerContext.getController().getOutput(); final String effectiveId = handlerContext.getEffectiveId(elementAttributes); final XFormsOutputControl xformsOutputControl = handlerContext.isGenerateTemplate() ? null : (XFormsOutputControl) containingDocument.getObjectById(pipelineContext, effectiveId); // The "control" is allowed to be null when xforms:output is in // xforms:label|xforms:hint|xforms:alert|xforms:help, because in that case currently we don't put the control in // the regular hierarchy of controls if (xformsOutputControl == null && !handlerContext.isGenerateTemplate()) return; // xforms:label handleLabelHintHelpAlert(effectiveId, "label", xformsOutputControl); final AttributesImpl newAttributes; final boolean isDateOrTime; final StringBuffer classes = getInitialClasses(localname, elementAttributes, xformsOutputControl); final String mediatypeValue = elementAttributes.getValue("mediatype"); final boolean isImage = mediatypeValue != null && mediatypeValue.startsWith("image/"); final boolean isHTML = (mediatypeValue != null && mediatypeValue.equals("text/html")) || XFormsConstants.XXFORMS_HTML_APPEARANCE_QNAME.equals(getAppearance(elementAttributes)); if (isHTML) { classes.append(" xforms-initially-hidden"); } if (!handlerContext.isGenerateTemplate()) { // Find classes to add isDateOrTime = isDateOrTime(xformsOutputControl.getType()); handleMIPClasses(classes, xformsOutputControl); newAttributes = getAttributes(elementAttributes, classes.toString(), effectiveId); } else { isDateOrTime = false; // Find classes to add newAttributes = getAttributes(elementAttributes, classes.toString(), effectiveId); } // Create xhtml:span or xhtml:div final String xhtmlPrefix = handlerContext.findXHTMLPrefix(); // For IE we need to generate a div here for IE, which doesn't support working with innterHTML on spans. final String enclosingElementLocalname = isHTML ? "div" : "span"; final String enclosingElementQName = XMLUtils.buildQName(xhtmlPrefix, enclosingElementLocalname); contentHandler.startElement(XMLConstants.XHTML_NAMESPACE_URI, enclosingElementLocalname, enclosingElementQName, newAttributes); if (!handlerContext.isGenerateTemplate()) { if (isImage) { // Case of image media type with URI final String imgQName = XMLUtils.buildQName(xhtmlPrefix, "img"); final AttributesImpl imgAttributes = new AttributesImpl(); // @src="..." imgAttributes.addAttribute("", "src", "src", ContentHandlerHelper.CDATA, xformsOutputControl.getValue()); // @f:url-norewrite="true" final String formattingPrefix; final boolean isNewPrefix; { final String existingFormattingPrefix = handlerContext.findFormattingPrefix(); if (existingFormattingPrefix == null || "".equals(existingFormattingPrefix)) { // No prefix is currently mapped formattingPrefix = handlerContext.findNewPrefix(); isNewPrefix = true; } else { formattingPrefix = existingFormattingPrefix; isNewPrefix = false; } imgAttributes.addAttribute(XMLConstants.OPS_FORMATTING_URI, "url-norewrite", XMLUtils.buildQName(formattingPrefix, "url-norewrite"), ContentHandlerHelper.CDATA, "true"); } if (isNewPrefix) contentHandler.startPrefixMapping(formattingPrefix, XMLConstants.OPS_FORMATTING_URI); contentHandler.startElement(XMLConstants.XHTML_NAMESPACE_URI, "img", imgQName, imgAttributes); contentHandler.endElement(XMLConstants.XHTML_NAMESPACE_URI, "img", imgQName); if (isNewPrefix) contentHandler.endPrefixMapping(formattingPrefix); } else if (isDateOrTime) { // Display formatted value for dates final String displayValue = xformsOutputControl.getDisplayValueOrValue(); if (displayValue != null) contentHandler.characters(displayValue.toCharArray(), 0, displayValue.length()); } else { // Regular text case final String displayValue = xformsOutputControl.getDisplayValueOrValue(); if (displayValue != null) contentHandler.characters(displayValue.toCharArray(), 0, displayValue.length()); } } contentHandler.endElement(XMLConstants.XHTML_NAMESPACE_URI, enclosingElementLocalname, enclosingElementQName); // xforms:help handleLabelHintHelpAlert(effectiveId, "help", xformsOutputControl); // xforms:alert if (elementAttributes.getValue("value") == null) handleLabelHintHelpAlert(effectiveId, "alert", xformsOutputControl); // xforms:hint handleLabelHintHelpAlert(effectiveId, "hint", xformsOutputControl); }
|
10097 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10097/a10fad44989ac8a78ccfb7b575e76b4409cf8d68/XFormsOutputHandler.java/clean/src/java/org/orbeon/oxf/xforms/processor/handlers/XFormsOutputHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
679,
12,
780,
2003,
16,
514,
1191,
529,
16,
514,
22914,
13,
1216,
14366,
288,
3639,
727,
3697,
1503,
913,
1503,
273,
1838,
1042,
18,
588,
2933,
7675,
588,
1447,
5621,
3639,
727,
514,
11448,
548,
273,
1838,
1042,
18,
588,
28531,
548,
12,
2956,
2498,
1769,
3639,
727,
1139,
18529,
1447,
3367,
619,
9741,
1447,
3367,
273,
1838,
1042,
18,
291,
4625,
2283,
1435,
7734,
692,
446,
294,
261,
60,
18529,
1447,
3367,
13,
4191,
2519,
18,
588,
921,
5132,
12,
14511,
1042,
16,
11448,
548,
1769,
3639,
368,
1021,
315,
7098,
6,
353,
2935,
358,
506,
446,
1347,
619,
9741,
30,
2844,
353,
316,
3639,
368,
619,
9741,
30,
1925,
96,
92,
9741,
30,
11317,
96,
92,
9741,
30,
11798,
96,
92,
9741,
30,
5201,
16,
2724,
316,
716,
648,
4551,
732,
2727,
1404,
1378,
326,
3325,
316,
3639,
368,
326,
6736,
9360,
434,
11022,
3639,
309,
261,
92,
9741,
1447,
3367,
422,
446,
597,
401,
4176,
1042,
18,
291,
4625,
2283,
10756,
5411,
327,
31,
3639,
368,
619,
9741,
30,
1925,
3639,
1640,
2224,
7002,
6696,
13298,
12,
28894,
548,
16,
315,
1925,
3113,
619,
9741,
1447,
3367,
1769,
3639,
727,
9055,
2828,
394,
2498,
31,
3639,
727,
1250,
28931,
1162,
950,
31,
3639,
727,
6674,
3318,
273,
24044,
4818,
12,
3729,
529,
16,
930,
2498,
16,
619,
9741,
1447,
3367,
1769,
3639,
727,
514,
25381,
620,
273,
930,
2498,
18,
24805,
2932,
5660,
6361,
8863,
3639,
727,
1250,
353,
2040,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
679,
12,
780,
2003,
16,
514,
1191,
529,
16,
514,
22914,
13,
1216,
14366,
288,
3639,
727,
3697,
1503,
913,
1503,
273,
1838,
1042,
18,
588,
2933,
7675,
588,
1447,
5621,
3639,
727,
514,
11448,
548,
273,
1838,
1042,
18,
588,
28531,
548,
12,
2956,
2498,
1769,
3639,
727,
1139,
18529,
1447,
3367,
619,
9741,
1447,
3367,
273,
1838,
1042,
18,
291,
4625,
2283,
1435,
7734,
692,
446,
294,
261,
60,
18529,
1447,
3367,
13,
4191,
2519,
18,
588,
921,
5132,
12,
14511,
1042,
16,
11448,
548,
1769,
3639,
368,
1021,
315,
7098,
6,
353,
2935,
358,
506,
446,
1347,
619,
9741,
30,
2844,
353,
316,
3639,
368,
619,
9741,
30,
1925,
96,
92,
9741,
30,
2
] |
}
|
}
|
public Avail getDisabledAvail() throws IOException,FileNotFoundException { Properties props = new Properties(); props.load(new FileInputStream(MapPropertiesFactory.mapPropertiesFile)); String disableAvailId = props.getProperty("avail.enable.false.id"); if(disableAvailId ==null){ throw new IllegalStateException("Required Default Status not found."); } Iterator ite = availsMap.values().iterator(); while (ite.hasNext()) { Avail av = (Avail) ite.next(); if (av.getId() == Integer.parseInt(disableAvailId)) return av; } return null; }
|
48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/069d0e7b3a96289b7c94aecc6c8a14fee3498895/MapPropertiesFactory.java/buggy/opennms-webapp/src/main/java/org/opennms/web/map/config/MapPropertiesFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8789,
671,
336,
8853,
3769,
671,
1435,
1216,
1860,
16,
812,
3990,
288,
3639,
6183,
3458,
273,
394,
6183,
5621,
3639,
3458,
18,
945,
12,
2704,
11907,
12,
863,
2297,
1733,
18,
1458,
2297,
812,
10019,
3639,
514,
4056,
3769,
671,
548,
273,
3458,
18,
588,
1396,
2932,
842,
671,
18,
7589,
18,
5743,
18,
350,
8863,
3639,
309,
12,
8394,
3769,
671,
548,
422,
2011,
15329,
540,
202,
12849,
394,
5477,
2932,
3705,
2989,
2685,
486,
1392,
1199,
1769,
3639,
289,
2398,
202,
3198,
518,
73,
273,
1712,
15208,
863,
18,
2372,
7675,
9838,
5621,
377,
202,
17523,
261,
1137,
18,
5332,
2134,
10756,
288,
377,
202,
202,
3769,
671,
1712,
273,
261,
3769,
671,
13,
518,
73,
18,
4285,
5621,
377,
202,
202,
430,
261,
842,
18,
26321,
1435,
422,
2144,
18,
2670,
1702,
12,
8394,
3769,
671,
548,
3719,
327,
1712,
31,
377,
202,
97,
377,
202,
2463,
446,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8789,
671,
336,
8853,
3769,
671,
1435,
1216,
1860,
16,
812,
3990,
288,
3639,
6183,
3458,
273,
394,
6183,
5621,
3639,
3458,
18,
945,
12,
2704,
11907,
12,
863,
2297,
1733,
18,
1458,
2297,
812,
10019,
3639,
514,
4056,
3769,
671,
548,
273,
3458,
18,
588,
1396,
2932,
842,
671,
18,
7589,
18,
5743,
18,
350,
8863,
3639,
309,
12,
8394,
3769,
671,
548,
422,
2011,
15329,
540,
202,
12849,
394,
5477,
2932,
3705,
2989,
2685,
486,
1392,
1199,
1769,
3639,
289,
2398,
202,
3198,
518,
73,
273,
1712,
15208,
863,
18,
2372,
7675,
9838,
5621,
377,
202,
17523,
261,
1137,
18,
5332,
2134,
10756,
288,
377,
202,
202,
3769,
671,
1712,
273,
261,
3769,
671,
13,
2
] |
if(log.isInfoEnabled()) log.info("[VIEW_CHANGE] removed " + mbr + " from fragmentation table");
|
if(log.isDebugEnabled()) log.debug("[VIEW_CHANGE] removed " + mbr + " from fragmentation table");
|
public void down(Event evt) { switch(evt.getType()) { case Event.MSG: Message msg=(Message)evt.getArg(); long size=msg.size(); if(size > frag_size) { if(log.isInfoEnabled()) log.info("message size is " + size + ", will fragment " + "(frag_size == " + frag_size + ")"); fragment(msg); // Fragment and pass down return; } break; case Event.VIEW_CHANGE: //don't do anything if this dude is sending out the view change //we are receiving a view change, //in here we check for the View view=(View)evt.getArg(); Vector new_mbrs=view.getMembers(), left_mbrs; Address mbr; left_mbrs=Util.determineLeftMembers(members, new_mbrs); members.clear(); members.addAll(new_mbrs); for(int i=0; i < left_mbrs.size(); i++) { mbr=(Address)left_mbrs.elementAt(i); //the new view doesn't contain the sender, he must have left, //hence we will clear all his fragmentation tables fragment_list.remove(mbr); if(log.isInfoEnabled()) log.info("[VIEW_CHANGE] removed " + mbr + " from fragmentation table"); } break; case Event.CONFIG: passDown(evt); if(log.isInfoEnabled()) log.info("received CONFIG event: " + evt.getArg()); handleConfigEvent((HashMap)evt.getArg()); return; } passDown(evt); // Pass on to the layer below us }
|
51463 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51463/85b7a7c351493f88f1d6a3045b9cbd0b817f95cd/FRAG.java/clean/src/org/jgroups/protocols/FRAG.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2588,
12,
1133,
6324,
13,
288,
3639,
1620,
12,
73,
11734,
18,
588,
559,
10756,
288,
5411,
648,
2587,
18,
11210,
30,
7734,
2350,
1234,
28657,
1079,
13,
73,
11734,
18,
588,
4117,
5621,
7734,
1525,
963,
33,
3576,
18,
1467,
5621,
7734,
309,
12,
1467,
405,
10111,
67,
1467,
13,
288,
13491,
309,
12,
1330,
18,
291,
966,
1526,
10756,
613,
18,
1376,
2932,
2150,
963,
353,
315,
397,
963,
397,
3104,
903,
5481,
315,
397,
27573,
7751,
17073,
67,
1467,
422,
315,
397,
10111,
67,
1467,
397,
7310,
1769,
10792,
5481,
12,
3576,
1769,
225,
368,
18009,
471,
1342,
2588,
10792,
327,
31,
7734,
289,
7734,
898,
31,
5411,
648,
2587,
18,
12145,
67,
14473,
30,
7734,
368,
19752,
1404,
741,
6967,
309,
333,
302,
1317,
353,
5431,
596,
326,
1476,
2549,
7734,
368,
1814,
854,
15847,
279,
1476,
2549,
16,
7734,
368,
267,
2674,
732,
866,
364,
326,
7734,
4441,
1476,
28657,
1767,
13,
73,
11734,
18,
588,
4117,
5621,
7734,
5589,
394,
67,
1627,
5453,
33,
1945,
18,
588,
6918,
9334,
2002,
67,
1627,
5453,
31,
7734,
5267,
312,
2848,
31,
7734,
2002,
67,
1627,
5453,
33,
1304,
18,
24661,
3910,
6918,
12,
7640,
16,
394,
67,
1627,
5453,
1769,
7734,
4833,
18,
8507,
5621,
7734,
4833,
18,
1289,
1595,
12,
2704,
67,
1627,
5453,
1769,
7734,
364,
12,
474,
277,
33,
20,
31,
277,
411,
2002,
67,
1627,
5453,
18,
1467,
5621,
277,
27245,
288,
10792,
312,
2848,
28657,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2588,
12,
1133,
6324,
13,
288,
3639,
1620,
12,
73,
11734,
18,
588,
559,
10756,
288,
5411,
648,
2587,
18,
11210,
30,
7734,
2350,
1234,
28657,
1079,
13,
73,
11734,
18,
588,
4117,
5621,
7734,
1525,
963,
33,
3576,
18,
1467,
5621,
7734,
309,
12,
1467,
405,
10111,
67,
1467,
13,
288,
13491,
309,
12,
1330,
18,
291,
966,
1526,
10756,
613,
18,
1376,
2932,
2150,
963,
353,
315,
397,
963,
397,
3104,
903,
5481,
315,
397,
27573,
7751,
17073,
67,
1467,
422,
315,
397,
10111,
67,
1467,
397,
7310,
1769,
10792,
5481,
12,
3576,
1769,
225,
368,
18009,
471,
1342,
2588,
10792,
327,
31,
7734,
289,
7734,
898,
31,
5411,
648,
2587,
18,
12145,
67,
2
] |
public void testContextSensitiveNamedSet() { // For reference. runQueryCheckResult("SELECT {[Measures].[Unit Sales]} ON COLUMNS," + nl + "Order([Promotion Media].Children, [Measures].[Unit Sales], DESC) ON ROWS" + nl + "FROM [Sales]" + nl + "WHERE [Time].[1997]", "Axis #0:" + nl + "{[Time].[1997]}" + nl + "Axis #1:" + nl + "{[Measures].[Unit Sales]}" + nl + "Axis #2:" + nl + "{[Promotion Media].[All Media].[No Media]}" + nl + "{[Promotion Media].[All Media].[Daily Paper, Radio, TV]}" + nl + "{[Promotion Media].[All Media].[Daily Paper]}" + nl + "{[Promotion Media].[All Media].[Product Attachment]}" + nl + "{[Promotion Media].[All Media].[Daily Paper, Radio]}" + nl + "{[Promotion Media].[All Media].[Cash Register Handout]}" + nl + "{[Promotion Media].[All Media].[Sunday Paper, Radio]}" + nl + "{[Promotion Media].[All Media].[Street Handout]}" + nl + "{[Promotion Media].[All Media].[Sunday Paper]}" + nl + "{[Promotion Media].[All Media].[Bulk Mail]}" + nl + "{[Promotion Media].[All Media].[In-Store Coupon]}" + nl + "{[Promotion Media].[All Media].[TV]}" + nl + "{[Promotion Media].[All Media].[Sunday Paper, Radio, TV]}" + nl + "{[Promotion Media].[All Media].[Radio]}" + nl + "Row #0: 195,448" + nl + "Row #1: 9,513" + nl + "Row #2: 7,738" + nl + "Row #3: 7,544" + nl + "Row #4: 6,891" + nl + "Row #5: 6,697" + nl + "Row #6: 5,945" + nl + "Row #7: 5,753" + nl + "Row #8: 4,339" + nl + "Row #9: 4,320" + nl + "Row #10: 3,798" + nl + "Row #11: 3,607" + nl + "Row #12: 2,726" + nl + "Row #13: 2,454" + nl); // For reference. runQueryCheckResult("SELECT {[Measures].[Unit Sales]} ON COLUMNS," + nl + "Order([Promotion Media].Children, [Measures].[Unit Sales], DESC) ON ROWS" + nl + "FROM [Sales]" + nl + "WHERE [Time].[1997].[Q2]", "Axis #0:" + nl + "{[Time].[1997].[Q2]}" + nl + "Axis #1:" + nl + "{[Measures].[Unit Sales]}" + nl + "Axis #2:" + nl + "{[Promotion Media].[All Media].[No Media]}" + nl + "{[Promotion Media].[All Media].[Daily Paper, Radio, TV]}" + nl + "{[Promotion Media].[All Media].[Daily Paper, Radio]}" + nl + "{[Promotion Media].[All Media].[Sunday Paper, Radio]}" + nl + "{[Promotion Media].[All Media].[TV]}" + nl + "{[Promotion Media].[All Media].[Cash Register Handout]}" + nl + "{[Promotion Media].[All Media].[Sunday Paper, Radio, TV]}" + nl + "{[Promotion Media].[All Media].[Product Attachment]}" + nl + "{[Promotion Media].[All Media].[Sunday Paper]}" + nl + "{[Promotion Media].[All Media].[Bulk Mail]}" + nl + "{[Promotion Media].[All Media].[Daily Paper]}" + nl + "{[Promotion Media].[All Media].[Street Handout]}" + nl + "{[Promotion Media].[All Media].[Radio]}" + nl + "{[Promotion Media].[All Media].[In-Store Coupon]}" + nl + "Row #0: 46,582" + nl + "Row #1: 3,490" + nl + "Row #2: 2,704" + nl + "Row #3: 2,327" + nl + "Row #4: 1,344" + nl + "Row #5: 1,254" + nl + "Row #6: 1,108" + nl + "Row #7: 1,085" + nl + "Row #8: 784" + nl + "Row #9: 733" + nl + "Row #10: 651" + nl + "Row #11: 473" + nl + "Row #12: 40" + nl + "Row #13: 35" + nl); // The bottom medium in 1997 is Radio, with $2454 in sales. // The bottom medium in 1997.Q2 is In-Store Coupon, with $35 in sales. runQueryCheckResult( "WITH" + nl + " SET [Bottom Media] AS 'BottomCount([Promotion Media].children, 1, [Measures].[Store Sales])' " + nl + " MEMBER [Measures].[Store Sales for Bottom Media] AS 'Sum([Bottom Media], [Measures].[Store Sales])'" + nl + "SELECT {[Measures].[Store Sales for Bottom Media]} ON COLUMNS," + nl + " {[Time].[1997], [Time].[1997].[Q2]} ON ROWS" + nl + "FROM [Sales]", // MSAS gives different result for Q2 ($86.52) because it uses // the bottom product for the year (Radio) rather than for Q2 // ([In-Store Coupon]). MSAS is probably the correct behavior. "Axis #0:" + nl + "{}" + nl + "Axis #1:" + nl + "{[Measures].[Store Sales for Bottom Media]}" + nl + "Axis #2:" + nl + "{[Time].[1997]}" + nl + "{[Time].[1997].[Q2]}" + nl + "Row #0: 5,213.61" + nl + "Row #1: 83.96" + nl); runQueryCheckResult( "WITH" + nl + " SET [TopMedia] AS 'TopCount([Promotion Media].children, 3, [Measures].[Store Sales])' " + nl + " MEMBER [Measures].[California sales for Top Media] AS 'Sum([TopMedia], [Measures].[Store Sales])'" + nl + "SELECT " + nl + " CrossJoin({[Store], [Store].[USA].[CA]}," + nl + " {[Time].[1997].[Q1], [Time].[1997].[Q2]}) ON COLUMNS," + nl + " {[Product], [Product].children} ON ROWS" + nl + "FROM [Sales]" + nl + "WHERE [Measures].[California sales for Top Media]", // MSAS output differs, because it evaluates named sets with // only the context in the slicer. "Axis #0:" + nl + "{[Measures].[California sales for Top Media]}" + nl + "Axis #1:" + nl + "{[Store].[All Stores], [Time].[1997].[Q1]}" + nl + "{[Store].[All Stores], [Time].[1997].[Q2]}" + nl + "{[Store].[All Stores].[USA].[CA], [Time].[1997].[Q1]}" + nl + "{[Store].[All Stores].[USA].[CA], [Time].[1997].[Q2]}" + nl + "Axis #2:" + nl + "{[Product].[All Products]}" + nl + "{[Product].[All Products].[Drink]}" + nl + "{[Product].[All Products].[Food]}" + nl + "{[Product].[All Products].[Non-Consumable]}" + nl + "Row #0: 111,874.50" + nl + "Row #0: 111,876.59" + nl + "Row #0: 29,482.53" + nl + "Row #0: 33,976.80" + nl + "Row #1: 9,182.00" + nl + "Row #1: 10,018.55" + nl + "Row #1: 2,721.23" + nl + "Row #1: 2,924.44" + nl + "Row #2: 81,218.33" + nl + "Row #2: 80,273.35" + nl + "Row #2: 21,165.50" + nl + "Row #2: 24,642.38" + nl + "Row #3: 21,822.34" + nl + "Row #3: 21,584.69" + nl + "Row #3: 5,595.80" + nl + "Row #3: 6,409.98" + nl); }
|
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/04e646f31dd5b7942980cee630c94f49bdab0e26/NamedSetTest.java/buggy/testsrc/main/mondrian/test/NamedSetTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
1042,
14220,
7604,
694,
1435,
288,
565,
368,
2457,
2114,
18,
565,
1086,
1138,
1564,
1253,
2932,
4803,
288,
63,
23177,
1823,
8009,
63,
2802,
25996,
18322,
6229,
5597,
19639,
10837,
397,
7741,
397,
3639,
315,
2448,
3816,
13224,
8240,
6128,
8009,
4212,
16,
306,
23177,
1823,
8009,
63,
2802,
25996,
6487,
14326,
13,
6229,
6525,
2651,
6,
397,
7741,
397,
3639,
315,
11249,
306,
23729,
4279,
397,
7741,
397,
3639,
315,
12299,
306,
950,
8009,
63,
19818,
27,
65,
3113,
3639,
315,
6558,
468,
20,
2773,
397,
7741,
397,
3639,
4144,
63,
950,
8009,
63,
19818,
27,
20817,
397,
7741,
397,
3639,
315,
6558,
468,
21,
2773,
397,
7741,
397,
3639,
4144,
63,
23177,
1823,
8009,
63,
2802,
25996,
20817,
397,
7741,
397,
3639,
315,
6558,
468,
22,
2773,
397,
7741,
397,
3639,
4144,
63,
13224,
8240,
6128,
8009,
63,
1595,
6128,
8009,
63,
2279,
6128,
20817,
397,
7741,
397,
3639,
4144,
63,
13224,
8240,
6128,
8009,
63,
1595,
6128,
8009,
63,
40,
12857,
20971,
16,
31552,
16,
399,
58,
20817,
397,
7741,
397,
3639,
4144,
63,
13224,
8240,
6128,
8009,
63,
1595,
6128,
8009,
63,
40,
12857,
20971,
20817,
397,
7741,
397,
3639,
4144,
63,
13224,
8240,
6128,
8009,
63,
1595,
6128,
8009,
63,
4133,
15939,
20817,
397,
7741,
397,
3639,
4144,
63,
13224,
8240,
6128,
8009,
63,
1595,
6128,
8009,
63,
40,
12857,
20971,
16,
31552,
20817,
397,
7741,
397,
3639,
4144,
63,
13224,
8240,
6128,
8009,
63,
1595,
6128,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
1042,
14220,
7604,
694,
1435,
288,
565,
368,
2457,
2114,
18,
565,
1086,
1138,
1564,
1253,
2932,
4803,
288,
63,
23177,
1823,
8009,
63,
2802,
25996,
18322,
6229,
5597,
19639,
10837,
397,
7741,
397,
3639,
315,
2448,
3816,
13224,
8240,
6128,
8009,
4212,
16,
306,
23177,
1823,
8009,
63,
2802,
25996,
6487,
14326,
13,
6229,
6525,
2651,
6,
397,
7741,
397,
3639,
315,
11249,
306,
23729,
4279,
397,
7741,
397,
3639,
315,
12299,
306,
950,
8009,
63,
19818,
27,
65,
3113,
3639,
315,
6558,
468,
20,
2773,
397,
7741,
397,
3639,
4144,
63,
950,
8009,
63,
19818,
27,
20817,
397,
7741,
397,
3639,
315,
6558,
468,
21,
2773,
397,
7741,
397,
3639,
4144,
63,
23177,
2
] |
||
protected void notifyFolderListeners(int type, Folder folder) {
|
protected void notifyFolderListeners(int type) {
|
protected void notifyFolderListeners(int type, Folder folder) { Iterator it = _folderListeners.iterator(); FolderEvent event = new FolderEvent(this, folder, type); while (it.hasNext()) { FolderListener listener = (FolderListener) it.next(); event.dispatch(listener); } }
|
6764 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6764/6cb08879b7bab85bd63c251e85695eefb6285f45/Folder.java/clean/javamail/src/java/javax/mail/Folder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
5066,
3899,
5583,
12,
474,
618,
13,
288,
3639,
4498,
518,
273,
389,
5609,
5583,
18,
9838,
5621,
3639,
12623,
1133,
871,
273,
394,
12623,
1133,
12,
2211,
16,
3009,
16,
618,
1769,
3639,
1323,
261,
305,
18,
5332,
2134,
10756,
288,
5411,
12623,
2223,
2991,
273,
261,
3899,
2223,
13,
518,
18,
4285,
5621,
5411,
871,
18,
10739,
12,
12757,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
5066,
3899,
5583,
12,
474,
618,
13,
288,
3639,
4498,
518,
273,
389,
5609,
5583,
18,
9838,
5621,
3639,
12623,
1133,
871,
273,
394,
12623,
1133,
12,
2211,
16,
3009,
16,
618,
1769,
3639,
1323,
261,
305,
18,
5332,
2134,
10756,
288,
5411,
12623,
2223,
2991,
273,
261,
3899,
2223,
13,
518,
18,
4285,
5621,
5411,
871,
18,
10739,
12,
12757,
1769,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
LayoutPackageImpl theLayoutPackage = (LayoutPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof LayoutPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new LayoutPackageImpl());
|
LayoutPackageImpl theLayoutPackage = (LayoutPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof LayoutPackageImpl ? EPackage.Registry.INSTANCE .getEPackage(eNS_URI) : new LayoutPackageImpl());
|
public static LayoutPackage init() { if (isInited) return (LayoutPackage)EPackage.Registry.INSTANCE.getEPackage(LayoutPackage.eNS_URI); // Obtain or create and register package LayoutPackageImpl theLayoutPackage = (LayoutPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof LayoutPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new LayoutPackageImpl()); isInited = true; // Initialize simple dependencies XMLTypePackageImpl.init(); // Obtain or create and register interdependencies AttributePackageImpl theAttributePackage = (AttributePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AttributePackage.eNS_URI) instanceof AttributePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AttributePackage.eNS_URI) : AttributePackageImpl.eINSTANCE); ComponentPackageImpl theComponentPackage = (ComponentPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ComponentPackage.eNS_URI) instanceof ComponentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ComponentPackage.eNS_URI) : ComponentPackageImpl.eINSTANCE); TypePackageImpl theTypePackage = (TypePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TypePackage.eNS_URI) instanceof TypePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TypePackage.eNS_URI) : TypePackageImpl.eINSTANCE); DataPackageImpl theDataPackage = (DataPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DataPackage.eNS_URI) instanceof DataPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DataPackage.eNS_URI) : DataPackageImpl.eINSTANCE); ModelPackageImpl theModelPackage = (ModelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelPackage.eNS_URI) instanceof ModelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelPackage.eNS_URI) : ModelPackageImpl.eINSTANCE); // Create package meta-data objects theLayoutPackage.createPackageContents(); theAttributePackage.createPackageContents(); theComponentPackage.createPackageContents(); theTypePackage.createPackageContents(); theDataPackage.createPackageContents(); theModelPackage.createPackageContents(); // Initialize created meta-data theLayoutPackage.initializePackageContents(); theAttributePackage.initializePackageContents(); theComponentPackage.initializePackageContents(); theTypePackage.initializePackageContents(); theDataPackage.initializePackageContents(); theModelPackage.initializePackageContents(); // Mark meta-data to indicate it can't be changed theLayoutPackage.freeze(); return theLayoutPackage; }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/LayoutPackageImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/impl/LayoutPackageImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
9995,
2261,
1208,
1435,
565,
288,
3639,
309,
261,
291,
2570,
329,
13,
327,
261,
3744,
2261,
13,
41,
2261,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
3744,
2261,
18,
73,
3156,
67,
3098,
1769,
3639,
368,
24850,
578,
752,
471,
1744,
2181,
3639,
9995,
2261,
2828,
326,
3744,
2261,
273,
261,
3744,
2261,
2828,
13,
261,
41,
2261,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
73,
3156,
67,
3098,
13,
1276,
9995,
2261,
2828,
692,
10682,
18,
4243,
18,
13341,
263,
588,
41,
2261,
12,
73,
3156,
67,
3098,
13,
294,
394,
9995,
2261,
2828,
10663,
3639,
353,
2570,
329,
273,
638,
31,
3639,
368,
9190,
4143,
5030,
3639,
3167,
559,
2261,
2828,
18,
2738,
5621,
3639,
368,
24850,
578,
752,
471,
1744,
1554,
11037,
3639,
3601,
2261,
2828,
326,
1499,
2261,
273,
261,
1499,
2261,
2828,
21433,
41,
2261,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
1499,
2261,
18,
73,
3156,
67,
3098,
13,
1276,
3601,
2261,
2828,
692,
10682,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
1499,
2261,
18,
73,
3156,
67,
3098,
13,
294,
3601,
2261,
2828,
18,
73,
13341,
1769,
3639,
5435,
2261,
2828,
326,
1841,
2261,
273,
261,
1841,
2261,
2828,
21433,
41,
2261,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
1841,
2261,
18,
73,
3156,
67,
3098,
13,
1276,
5435,
2261,
2828,
692,
10682,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
1841,
2261,
18,
73,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
9995,
2261,
1208,
1435,
565,
288,
3639,
309,
261,
291,
2570,
329,
13,
327,
261,
3744,
2261,
13,
41,
2261,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
3744,
2261,
18,
73,
3156,
67,
3098,
1769,
3639,
368,
24850,
578,
752,
471,
1744,
2181,
3639,
9995,
2261,
2828,
326,
3744,
2261,
273,
261,
3744,
2261,
2828,
13,
261,
41,
2261,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
73,
3156,
67,
3098,
13,
1276,
9995,
2261,
2828,
692,
10682,
18,
4243,
18,
13341,
263,
588,
41,
2261,
12,
73,
3156,
67,
3098,
13,
294,
394,
9995,
2261,
2828,
10663,
3639,
353,
2570,
329,
273,
638,
31,
3639,
368,
9190,
4143,
5030,
3639,
3167,
559,
2
] |
public Object[] getProposals() { return this.proposals;
|
public IContentProposal [] getProposals(String contents, int position) { if (contentProposals == null) { contentProposals = new IContentProposal[proposals.length]; for (int i=0; i<proposals.length; i++) { final String proposal = proposals[i]; contentProposals[i] = new IContentProposal() { public String getContent() { return proposal; } public String getDescription() { return null; } public String getLabel() { return null; } public int getCursorPosition() { return proposal.length(); } }; } } return contentProposals;
|
public Object[] getProposals() { return this.proposals; }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/54f5816382677a87ac1d149868af2370808e4f06/SimpleContentProposalProvider.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/fieldassist/SimpleContentProposalProvider.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
8526,
3570,
22536,
1435,
288,
202,
202,
2463,
333,
18,
685,
22536,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
8526,
3570,
22536,
1435,
288,
202,
202,
2463,
333,
18,
685,
22536,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
taskHistoryTreeLabelProvider.setCategoryBackgroundColor(themeManager.getCurrentTheme().getColorRegistry().get(TaskListColorsAndFonts.THEME_COLOR_ID_TASKLIST_CATEGORY));
|
taskHistoryTreeLabelProvider.setCategoryBackgroundColor(themeManager.getCurrentTheme() .getColorRegistry().get(TaskListColorsAndFonts.THEME_COLOR_ID_TASKLIST_CATEGORY));
|
public void propertyChange(PropertyChangeEvent event) { if (event.getProperty().equals(IThemeManager.CHANGE_CURRENT_THEME) || event.getProperty().equals(TaskListColorsAndFonts.THEME_COLOR_ID_TASKLIST_CATEGORY)) { taskHistoryTreeLabelProvider.setCategoryBackgroundColor(themeManager.getCurrentTheme().getColorRegistry().get(TaskListColorsAndFonts.THEME_COLOR_ID_TASKLIST_CATEGORY)); refresh(); } }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/57b925d86fd44a7384ad1e5ec70ce829303127f5/TaskActivityView.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/views/TaskActivityView.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1272,
3043,
12,
1396,
20930,
871,
13,
288,
1082,
202,
430,
261,
2575,
18,
588,
1396,
7675,
14963,
12,
1285,
76,
4698,
1318,
18,
14473,
67,
15487,
67,
24644,
958,
13,
6862,
202,
20081,
871,
18,
588,
1396,
7675,
14963,
12,
2174,
682,
12570,
1876,
5711,
87,
18,
24644,
958,
67,
10989,
67,
734,
67,
15580,
7085,
67,
24847,
3719,
288,
9506,
202,
4146,
5623,
2471,
2224,
2249,
18,
542,
4457,
21699,
12,
7997,
1318,
18,
588,
3935,
8335,
7675,
588,
2957,
4243,
7675,
588,
12,
2174,
682,
12570,
1876,
5711,
87,
18,
24644,
958,
67,
10989,
67,
734,
67,
15580,
7085,
67,
24847,
10019,
9506,
202,
9144,
5621,
1082,
202,
97,
3196,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1272,
3043,
12,
1396,
20930,
871,
13,
288,
1082,
202,
430,
261,
2575,
18,
588,
1396,
7675,
14963,
12,
1285,
76,
4698,
1318,
18,
14473,
67,
15487,
67,
24644,
958,
13,
6862,
202,
20081,
871,
18,
588,
1396,
7675,
14963,
12,
2174,
682,
12570,
1876,
5711,
87,
18,
24644,
958,
67,
10989,
67,
734,
67,
15580,
7085,
67,
24847,
3719,
288,
9506,
202,
4146,
5623,
2471,
2224,
2249,
18,
542,
4457,
21699,
12,
7997,
1318,
18,
588,
3935,
8335,
7675,
588,
2957,
4243,
7675,
588,
12,
2174,
682,
12570,
1876,
5711,
87,
18,
24644,
958,
67,
10989,
67,
734,
67,
15580,
7085,
67,
24847,
10019,
9506,
202,
9144,
5621,
1082,
202,
97,
3196,
202,
97,
2
] |
if (b.isContentAreaFilled() && (UIManager.get(getPropertyPrefix() + "gradient") != null) && b.isEnabled() && (b.getBackground() instanceof UIResource)) updateWidthGradient(g, b, b.getParent()); else super.update(g, c);
|
if ((b.getBackground() instanceof UIResource) && b.isContentAreaFilled() && b.isEnabled()) { ButtonModel m = b.getModel(); String uiKey = "Button.gradient"; if (! isToolbarButton(b)) { if (! m.isArmed() && ! m.isPressed() && isDrawingGradient(uiKey)) { MetalUtils.paintGradient(g, 0, 0, b.getWidth(), b.getHeight(), SwingConstants.VERTICAL, uiKey); paint(g, c); return; } } else if (m.isRollover() && isDrawingGradient(uiKey)) { MetalUtils.paintGradient(g, 0, 0, b.getWidth(), b.getHeight(), SwingConstants.VERTICAL, uiKey); paint(g, c); return; } } super.update(g, c);
|
public void update(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; if (b.isContentAreaFilled() && (UIManager.get(getPropertyPrefix() + "gradient") != null) && b.isEnabled() && (b.getBackground() instanceof UIResource)) updateWidthGradient(g, b, b.getParent()); else super.update(g, c); }
|
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/485023bfad3bd45acdb1b2e0f53aad54af5e98af/MetalButtonUI.java/clean/javax/swing/plaf/metal/MetalButtonUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1089,
12,
17558,
314,
16,
29058,
276,
13,
225,
288,
565,
4115,
3616,
324,
273,
261,
7469,
3616,
13,
276,
31,
565,
309,
261,
70,
18,
291,
1350,
5484,
29754,
1435,
3639,
597,
261,
5370,
1318,
18,
588,
12,
588,
1396,
2244,
1435,
397,
315,
20219,
7923,
480,
446,
13,
3639,
597,
324,
18,
291,
1526,
1435,
3639,
597,
261,
70,
18,
588,
8199,
1435,
1276,
6484,
1420,
3719,
1377,
1089,
2384,
15651,
12,
75,
16,
324,
16,
324,
18,
588,
3054,
10663,
565,
469,
1377,
2240,
18,
2725,
12,
75,
16,
276,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1089,
12,
17558,
314,
16,
29058,
276,
13,
225,
288,
565,
4115,
3616,
324,
273,
261,
7469,
3616,
13,
276,
31,
565,
309,
261,
70,
18,
291,
1350,
5484,
29754,
1435,
3639,
597,
261,
5370,
1318,
18,
588,
12,
588,
1396,
2244,
1435,
397,
315,
20219,
7923,
480,
446,
13,
3639,
597,
324,
18,
291,
1526,
1435,
3639,
597,
261,
70,
18,
588,
8199,
1435,
1276,
6484,
1420,
3719,
1377,
1089,
2384,
15651,
12,
75,
16,
324,
16,
324,
18,
588,
3054,
10663,
565,
469,
1377,
2240,
18,
2725,
12,
75,
16,
276,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if( i < array.length ){ System.arraycopy( array, 0, array, 1, array.length - i ); array[0] = obj; } else {
|
else {
|
public static Object[] prepend(Class c, Object[] array, Object obj) { if( obj == null ) return array; if( array == null || array.length == 0){ array = (Object[]) Array.newInstance( c, DEFAULT_LENGTH ); array[0] = obj; return array; } int i = 0; for( ; i < array.length; i++ ){ if( array[i] == null ){ array[i] = obj; return array; } } if( i < array.length ){ System.arraycopy( array, 0, array, 1, array.length - i ); array[0] = obj; } else { Object [] temp = (Object[]) Array.newInstance( c, array.length * 2 ); System.arraycopy( array, 0, temp, 1, array.length ); temp[0] = obj; array = temp; } return array; }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/6ac289f8203885031a79a3324dc4b14f52460aef/ArrayUtil.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/parser/util/ArrayUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1033,
8526,
8254,
12,
797,
276,
16,
1033,
8526,
526,
16,
1033,
1081,
13,
288,
202,
202,
430,
12,
1081,
422,
446,
262,
377,
202,
202,
2463,
526,
31,
3639,
309,
12,
526,
422,
446,
747,
526,
18,
2469,
422,
374,
15329,
5411,
526,
273,
261,
921,
63,
5717,
1510,
18,
2704,
1442,
12,
276,
16,
3331,
67,
7096,
11272,
5411,
526,
63,
20,
65,
273,
1081,
31,
5411,
327,
526,
31,
3639,
289,
7734,
509,
277,
273,
374,
31,
3639,
364,
12,
274,
277,
411,
526,
18,
2469,
31,
277,
9904,
262,
95,
5411,
309,
12,
526,
63,
77,
65,
422,
446,
262,
95,
7734,
526,
63,
77,
65,
273,
1081,
31,
7734,
327,
526,
31,
5411,
289,
3639,
289,
202,
202,
430,
12,
277,
411,
526,
18,
2469,
262,
95,
1082,
202,
3163,
18,
1126,
3530,
12,
526,
16,
374,
16,
526,
16,
404,
16,
526,
18,
2469,
300,
277,
11272,
1082,
202,
1126,
63,
20,
65,
273,
1081,
31,
202,
202,
97,
469,
288,
1082,
202,
921,
5378,
1906,
273,
261,
921,
63,
5717,
1510,
18,
2704,
1442,
12,
276,
16,
526,
18,
2469,
380,
576,
11272,
202,
3639,
2332,
18,
1126,
3530,
12,
526,
16,
374,
16,
1906,
16,
404,
16,
526,
18,
2469,
11272,
202,
3639,
1906,
63,
20,
65,
273,
1081,
31,
202,
3639,
526,
273,
1906,
31,
1082,
202,
97,
7734,
327,
526,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1033,
8526,
8254,
12,
797,
276,
16,
1033,
8526,
526,
16,
1033,
1081,
13,
288,
202,
202,
430,
12,
1081,
422,
446,
262,
377,
202,
202,
2463,
526,
31,
3639,
309,
12,
526,
422,
446,
747,
526,
18,
2469,
422,
374,
15329,
5411,
526,
273,
261,
921,
63,
5717,
1510,
18,
2704,
1442,
12,
276,
16,
3331,
67,
7096,
11272,
5411,
526,
63,
20,
65,
273,
1081,
31,
5411,
327,
526,
31,
3639,
289,
7734,
509,
277,
273,
374,
31,
3639,
364,
12,
274,
277,
411,
526,
18,
2469,
31,
277,
9904,
262,
95,
5411,
309,
12,
526,
63,
77,
65,
422,
446,
262,
95,
7734,
526,
63,
77,
65,
273,
1081,
31,
7734,
327,
2
] |
State state2 = this.process.addState( "state.1",
|
State state1 = this.process.addState( "state.1",
|
public void testAddState_Duplicate() throws Exception { try { State state2 = this.process.addState( "state.1", "state one" ); fail( "Should have thrown DuplicateStateException" ); } catch (DuplicateStateException e) { // expected and correct } }
|
4520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4520/241b689c021c6a6b32b0bdbc6386a96ae685fa13/ProcessTest.java/clean/blissed/src/java/test/com/werken/blissed/ProcessTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
986,
1119,
67,
11826,
1435,
1216,
1185,
565,
288,
3639,
775,
3639,
288,
5411,
3287,
919,
21,
273,
333,
18,
2567,
18,
1289,
1119,
12,
315,
2019,
18,
21,
3113,
4766,
5375,
315,
2019,
1245,
6,
11272,
13491,
2321,
12,
315,
14309,
1240,
6718,
19072,
5060,
6,
11272,
3639,
289,
3639,
1044,
261,
11826,
5060,
425,
13,
3639,
288,
5411,
368,
2665,
471,
3434,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1842,
986,
1119,
67,
11826,
1435,
1216,
1185,
565,
288,
3639,
775,
3639,
288,
5411,
3287,
919,
21,
273,
333,
18,
2567,
18,
1289,
1119,
12,
315,
2019,
18,
21,
3113,
4766,
5375,
315,
2019,
1245,
6,
11272,
13491,
2321,
12,
315,
14309,
1240,
6718,
19072,
5060,
6,
11272,
3639,
289,
3639,
1044,
261,
11826,
5060,
425,
13,
3639,
288,
5411,
368,
2665,
471,
3434,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Set compositeSenoneSet = new HashSet();
|
Set<Senone> compositeSenoneSet = new HashSet<Senone>();
|
public SenoneSequence getCompositeSenoneSequence(Unit unit, HMMPosition position) { Context context = unit.getContext(); SenoneSequence compositeSenoneSequence = null; compositeSenoneSequence = (SenoneSequence) compositeSenoneSequenceCache.get(unit.toString()); if (logger.isLoggable(Level.FINE)) { logger.fine("getCompositeSenoneSequence: " + unit.toString() + ((compositeSenoneSequence != null) ? "Cached" : "")); } if (compositeSenoneSequence != null) { return compositeSenoneSequence; } // Iterate through all HMMs looking for // a) An hmm with a unit that has the proper base // b) matches the non-null context List senoneSequenceList = new ArrayList(); // collect all senone sequences that match the pattern for (Iterator i = getHMMIterator(); i.hasNext(); ) { SenoneHMM hmm = (SenoneHMM) i.next(); if (hmm.getPosition() == position) { Unit hmmUnit = hmm.getUnit(); if (hmmUnit.isPartialMatch(unit.getName(), context)) { if (logger.isLoggable(Level.FINE)) { logger.fine("collected: " + hmm.getUnit().toString()); } senoneSequenceList.add(hmm.getSenoneSequence()); } } } // couldn't find any matches, so at least include the CI unit if (senoneSequenceList.size() == 0) { Unit ciUnit = unitManager.getUnit(unit.getName(), unit.isFiller()); SenoneHMM baseHMM = lookupHMM(ciUnit, HMMPosition.UNDEFINED); senoneSequenceList.add(baseHMM.getSenoneSequence()); } // Add this point we have all of the senone sequences that // match the base/context pattern collected into the list. // Next we build a CompositeSenone consisting of all of the // senones in each position of the list. // First find the longest senone sequence int longestSequence = 0; for (int i = 0; i < senoneSequenceList.size(); i++) { SenoneSequence ss = (SenoneSequence) senoneSequenceList.get(i); if (ss.getSenones().length > longestSequence) { longestSequence = ss.getSenones().length; } } // now collect all of the senones at each position into // arrays so we can create CompositeSenones from them // QUESTION: is is possible to have different size senone // sequences. For now lets assume the worst case. List compositeSenones = new ArrayList(); float logWeight = 0.0f; for (int i = 0; i < longestSequence; i++) { Set compositeSenoneSet = new HashSet(); for (int j = 0; j < senoneSequenceList.size(); j++) { SenoneSequence senoneSequence = (SenoneSequence) senoneSequenceList.get(j); if (i < senoneSequence.getSenones().length) { Senone senone = senoneSequence.getSenones()[i]; compositeSenoneSet.add(senone); } } compositeSenones.add(CompositeSenone.create( compositeSenoneSet, logWeight)); } compositeSenoneSequence = SenoneSequence.create(compositeSenones); compositeSenoneSequenceCache.put(unit.toString(), compositeSenoneSequence); if (logger.isLoggable(Level.FINE)) { logger.fine(unit.toString() + " consists of " + compositeSenones.size() + " composite senones"); if (logger.isLoggable(Level.FINEST)) { compositeSenoneSequence.dump("am"); } } return compositeSenoneSequence; }
|
48839 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48839/3ce9c1d085d2ee5c6670ae82a1d0258a1e0f3582/TiedStateAcousticModel.java/clean/sphinx4/src/sphinx4/edu/cmu/sphinx/linguist/acoustic/tiedstate/TiedStateAcousticModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
1071,
348,
275,
476,
4021,
336,
9400,
55,
275,
476,
4021,
12,
2802,
2836,
16,
2398,
670,
8206,
2555,
1754,
13,
288,
202,
1772,
819,
273,
2836,
18,
29120,
5621,
202,
348,
275,
476,
4021,
9635,
55,
275,
476,
4021,
273,
446,
31,
202,
9635,
55,
275,
476,
4021,
273,
261,
55,
275,
476,
4021,
13,
202,
377,
9635,
55,
275,
476,
4021,
1649,
18,
588,
12,
4873,
18,
10492,
10663,
202,
309,
261,
4901,
18,
291,
1343,
8455,
12,
2355,
18,
42,
3740,
3719,
288,
202,
565,
1194,
18,
74,
558,
2932,
588,
9400,
55,
275,
476,
4021,
30,
315,
397,
2836,
18,
10492,
1435,
1875,
565,
397,
14015,
27676,
55,
275,
476,
4021,
480,
446,
13,
692,
315,
9839,
6,
294,
1408,
10019,
202,
289,
202,
309,
261,
27676,
55,
275,
476,
4021,
480,
446,
13,
288,
202,
377,
327,
9635,
55,
275,
476,
4021,
31,
202,
289,
202,
368,
11436,
3059,
777,
670,
49,
6947,
7849,
364,
202,
368,
279,
13,
1922,
366,
7020,
598,
279,
2836,
716,
711,
326,
5338,
1026,
202,
368,
324,
13,
1885,
326,
1661,
17,
2011,
819,
202,
987,
28901,
476,
4021,
682,
273,
394,
2407,
5621,
202,
759,
3274,
777,
28901,
476,
8463,
716,
845,
326,
1936,
202,
364,
261,
3198,
277,
273,
7628,
8206,
3198,
5621,
277,
18,
5332,
2134,
5621,
262,
288,
202,
377,
348,
275,
476,
44,
8206,
366,
7020,
273,
261,
55,
275,
476,
44,
8206,
13,
277,
18,
4285,
5621,
2398,
309,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
1071,
348,
275,
476,
4021,
336,
9400,
55,
275,
476,
4021,
12,
2802,
2836,
16,
2398,
670,
8206,
2555,
1754,
13,
288,
202,
1772,
819,
273,
2836,
18,
29120,
5621,
202,
348,
275,
476,
4021,
9635,
55,
275,
476,
4021,
273,
446,
31,
202,
9635,
55,
275,
476,
4021,
273,
261,
55,
275,
476,
4021,
13,
202,
377,
9635,
55,
275,
476,
4021,
1649,
18,
588,
12,
4873,
18,
10492,
10663,
202,
309,
261,
4901,
18,
291,
1343,
8455,
12,
2355,
18,
42,
3740,
3719,
288,
202,
565,
1194,
18,
74,
558,
2932,
588,
9400,
55,
275,
476,
4021,
30,
315,
397,
2836,
18,
10492,
1435,
1875,
565,
397,
14015,
27676,
55,
275,
476,
4021,
480,
446,
13,
2
] |
ThisValueFrame frame = getFrame(handle, basicBlock);
|
ValueNumberFrame frame = getFrame(handle, basicBlock);
|
public void transferInstruction(InstructionHandle handle, BasicBlock basicBlock, LockCount fact) throws DataflowAnalysisException { Instruction ins = handle.getInstruction(); // Optimization: don't even bother with instructions // other than MONITORENTER and MONITOREXIT if (!(ins instanceof MONITORENTER || ins instanceof MONITOREXIT)) return; // Determine where the "this" reference values are in the frame. // (Note that null is returned if we are analyzing a static method.) ThisValueFrame frame = getFrame(handle, basicBlock); // Get the lock count delta for the instruction int delta = getDelta(ins, frame); int count = fact.getCount() + delta; if (count < 0) throw new DataflowAnalysisException("lock count going negative! " + ins); fact.setCount(count); }
|
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/332385cd5928e7e2a4830ebfaf938f34e6f2c5c2/LockCountAnalysis.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/LockCountAnalysis.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
7412,
11983,
12,
11983,
3259,
1640,
16,
7651,
1768,
5337,
1768,
16,
3488,
1380,
5410,
13,
1216,
1910,
2426,
9418,
503,
288,
202,
202,
11983,
2763,
273,
1640,
18,
588,
11983,
5621,
202,
202,
759,
19615,
1588,
30,
2727,
1404,
5456,
23440,
598,
12509,
202,
202,
759,
1308,
2353,
30215,
1285,
51,
7480,
654,
471,
30215,
1285,
8607,
60,
1285,
202,
202,
430,
16051,
12,
2679,
1276,
30215,
1285,
51,
7480,
654,
747,
2763,
1276,
30215,
1285,
8607,
60,
1285,
3719,
1082,
202,
2463,
31,
202,
202,
759,
10229,
1625,
326,
315,
2211,
6,
2114,
924,
854,
316,
326,
2623,
18,
202,
202,
759,
261,
8067,
716,
446,
353,
2106,
309,
732,
854,
392,
4647,
310,
279,
760,
707,
12998,
202,
202,
2503,
620,
3219,
2623,
273,
25396,
12,
4110,
16,
5337,
1768,
1769,
202,
202,
759,
968,
326,
2176,
1056,
3622,
364,
326,
7592,
202,
202,
474,
3622,
273,
2343,
8967,
12,
2679,
16,
2623,
1769,
202,
202,
474,
1056,
273,
5410,
18,
588,
1380,
1435,
397,
3622,
31,
202,
202,
430,
261,
1883,
411,
374,
13,
1082,
202,
12849,
394,
1910,
2426,
9418,
503,
2932,
739,
1056,
8554,
6092,
5,
315,
397,
2763,
1769,
202,
202,
3493,
18,
542,
1380,
12,
1883,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
7412,
11983,
12,
11983,
3259,
1640,
16,
7651,
1768,
5337,
1768,
16,
3488,
1380,
5410,
13,
1216,
1910,
2426,
9418,
503,
288,
202,
202,
11983,
2763,
273,
1640,
18,
588,
11983,
5621,
202,
202,
759,
19615,
1588,
30,
2727,
1404,
5456,
23440,
598,
12509,
202,
202,
759,
1308,
2353,
30215,
1285,
51,
7480,
654,
471,
30215,
1285,
8607,
60,
1285,
202,
202,
430,
16051,
12,
2679,
1276,
30215,
1285,
51,
7480,
654,
747,
2763,
1276,
30215,
1285,
8607,
60,
1285,
3719,
1082,
202,
2463,
31,
202,
202,
759,
10229,
1625,
326,
315,
2211,
6,
2114,
924,
854,
316,
326,
2623,
18,
202,
202,
759,
261,
8067,
716,
446,
353,
2106,
309,
732,
854,
392,
4647,
2
] |
_t = __t476;
|
_t = __t477;
|
public final void defineframestate(AST _t) throws RecognitionException { AST defineframestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST def = null; AST id = null; AST __t463 = _t; def = _t==ASTNULL ? null :(AST)_t; match(_t,DEFINE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NEW: case SHARED: { def_shared(_t); _t = _retTree; break; } case FRAME: case PRIVATE: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case PRIVATE: { AST tmp1077_AST_in = (AST)_t; match(_t,PRIVATE); _t = _t.getNextSibling(); break; } case FRAME: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp1078_AST_in = (AST)_t; match(_t,FRAME); _t = _t.getNextSibling(); id = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); if ( inputState.guessing==0 ) { action.frameDef(def, id); } { _loop467: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==Form_item)) { form_item(_t,CQ.SYMBOL); _t = _retTree; } else { break _loop467; } } while (true); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case HEADER: { AST __t469 = _t; AST tmp1079_AST_in = (AST)_t; match(_t,HEADER); _t = _t.getFirstChild(); { int _cnt471=0; _loop471: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==Form_item)) { display_item(_t); _t = _retTree; } else { if ( _cnt471>=1 ) { break _loop471; } else {throw new NoViableAltException(_t);} } _cnt471++; } while (true); } _t = __t469; _t = _t.getNextSibling(); break; } case BACKGROUND: { AST __t472 = _t; AST tmp1080_AST_in = (AST)_t; match(_t,BACKGROUND); _t = _t.getFirstChild(); { int _cnt474=0; _loop474: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==Form_item)) { display_item(_t); _t = _retTree; } else { if ( _cnt474>=1 ) { break _loop474; } else {throw new NoViableAltException(_t);} } _cnt474++; } while (true); } _t = __t472; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case EXCEPT: case WITH: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EXCEPT: { AST __t476 = _t; AST tmp1081_AST_in = (AST)_t; match(_t,EXCEPT); _t = _t.getFirstChild(); { _loop478: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==Field_ref)) { fld1(_t,CQ.SYMBOL); _t = _retTree; } else { break _loop478; } } while (true); } _t = __t476; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case WITH: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case WITH: { framephrase(_t); _t = _retTree; break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; if ( inputState.guessing==0 ) { action.frameStatementEnd(); } _t = __t463; _t = _t.getNextSibling(); _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
4426,
74,
1940,
395,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
4426,
74,
1940,
395,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
202,
202,
9053,
1652,
273,
446,
31,
202,
202,
9053,
612,
273,
446,
31,
9506,
202,
9053,
1001,
88,
24,
4449,
273,
389,
88,
31,
202,
202,
536,
273,
389,
88,
631,
9053,
8560,
692,
446,
294,
12,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
12904,
3740,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
12887,
30,
202,
202,
3593,
9777,
5879,
30,
202,
202,
95,
1082,
202,
536,
67,
11574,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
20183,
30,
202,
202,
3593,
23685,
30,
202,
202,
95,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
1886,
30,
202,
202,
95,
1082,
202,
12849,
394,
17114,
24899,
88,
1769,
202,
202,
97,
202,
202,
97,
202,
202,
97,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
4426,
74,
1940,
395,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
4426,
74,
1940,
395,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
202,
202,
9053,
1652,
273,
446,
31,
202,
202,
9053,
612,
273,
446,
31,
9506,
202,
9053,
1001,
88,
24,
4449,
273,
389,
88,
31,
202,
202,
536,
273,
389,
88,
631,
9053,
8560,
692,
446,
294,
12,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
12904,
3740,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
95,
202,
202,
430,
261,
67,
2
] |
public org.quickfix.field.LegProduct getLegProduct() throws FieldNotFound { org.quickfix.field.LegProduct value = new org.quickfix.field.LegProduct();
|
public quickfix.field.LegProduct getLegProduct() throws FieldNotFound { quickfix.field.LegProduct value = new quickfix.field.LegProduct();
|
public org.quickfix.field.LegProduct getLegProduct() throws FieldNotFound { org.quickfix.field.LegProduct value = new org.quickfix.field.LegProduct(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/PositionMaintenanceRequest.java/buggy/src/java/src/quickfix/fix44/PositionMaintenanceRequest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
4133,
336,
8329,
4133,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
4133,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
4133,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
4133,
336,
8329,
4133,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
4133,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
4133,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return source.getAdapter(NoteEditPart.class) != null || target.getAdapter(NoteEditPart.class) != null ? getConnectorTypes() : Collections.EMPTY_LIST;
|
if (source.getAdapter(NoteEditPart.class) != null) { INotableEditPart noteable = (INotableEditPart) target .getAdapter(INotableEditPart.class); if (noteable != null && noteable.canAttachNote()) { return getConnectorTypes(); } } else if (target.getAdapter(NoteEditPart.class) != null) { INotableEditPart noteable = (INotableEditPart) source .getAdapter(INotableEditPart.class); if (noteable != null && noteable.canAttachNote()) { return getConnectorTypes(); } } return Collections.EMPTY_LIST;
|
public List getRelTypesOnSourceAndTarget(IAdaptable source, IAdaptable target) { return source.getAdapter(NoteEditPart.class) != null || target.getAdapter(NoteEditPart.class) != null ? getConnectorTypes() : Collections.EMPTY_LIST; }
|
1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/2a87663872986e05466f2a6444f75fe9f3b78283/DiagramModelingAssistantProvider.java/buggy/org.eclipse.gmf.runtime/plugins/org.eclipse.gmf.runtime.diagram.ui.providers/src/org/eclipse/gmf/runtime/diagram/ui/providers/internal/DiagramModelingAssistantProvider.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
987,
336,
1971,
2016,
1398,
1830,
1876,
2326,
12,
45,
13716,
429,
1084,
16,
1082,
202,
45,
13716,
429,
1018,
13,
288,
9506,
202,
2463,
1084,
18,
588,
4216,
12,
8067,
4666,
1988,
18,
1106,
13,
480,
446,
747,
1018,
18,
588,
4216,
12,
8067,
4666,
1988,
18,
1106,
13,
480,
446,
1082,
202,
35,
336,
7487,
2016,
1435,
294,
5737,
18,
13625,
67,
7085,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
987,
336,
1971,
2016,
1398,
1830,
1876,
2326,
12,
45,
13716,
429,
1084,
16,
1082,
202,
45,
13716,
429,
1018,
13,
288,
9506,
202,
2463,
1084,
18,
588,
4216,
12,
8067,
4666,
1988,
18,
1106,
13,
480,
446,
747,
1018,
18,
588,
4216,
12,
8067,
4666,
1988,
18,
1106,
13,
480,
446,
1082,
202,
35,
336,
7487,
2016,
1435,
294,
5737,
18,
13625,
67,
7085,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
synchronized(getImplLock()) { getImpl().extendInvitation(extendTo); }
|
synchronized (getImplLock()) { getImpl().extendInvitation(extendTo); }
|
public void extendInvitation(final EMail extendTo) { synchronized(getImplLock()) { getImpl().extendInvitation(extendTo); } }
|
53635 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53635/b0c359e8d5f8463c94b80f6fa24548691d18566b/InternalSessionModel.java/buggy/client-model/src/main/java/com/thinkparity/ophelia/model/session/InternalSessionModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2133,
19896,
12,
6385,
512,
6759,
2133,
774,
13,
288,
3639,
3852,
261,
588,
2828,
2531,
10756,
288,
336,
2828,
7675,
14313,
19896,
12,
14313,
774,
1769,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2133,
19896,
12,
6385,
512,
6759,
2133,
774,
13,
288,
3639,
3852,
261,
588,
2828,
2531,
10756,
288,
336,
2828,
7675,
14313,
19896,
12,
14313,
774,
1769,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
IProblemBinding blah = (IProblemBinding) col.getName(0).resolveBinding();
|
ICPPClassType blah = (ICPPClassType) col.getName(0).resolveBinding();
|
public void testBug56516() throws Exception { IASTTranslationUnit tu = parse( "typedef struct blah sb;"); //$NON-NLS-1$ CPPNameCollector col = new CPPNameCollector(); CPPVisitor.visitTranslationUnit( tu, col ); assertEquals( col.size(), 2 ); IProblemBinding blah = (IProblemBinding) col.getName(0).resolveBinding(); ITypedef sb = (ITypedef) col.getName(1).resolveBinding(); assertSame( sb.getType(), blah ); }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/ec6276d5ddefd30b4dbabf01a8ec9d3407ce53c1/CompleteParser2Tests.java/clean/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/CompleteParser2Tests.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
19865,
4313,
25,
2313,
1435,
1216,
1185,
202,
95,
202,
202,
45,
9053,
6717,
2802,
28325,
273,
1109,
12,
315,
723,
536,
1958,
2811,
9795,
2393,
4868,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
4258,
52,
461,
7134,
645,
273,
394,
5181,
52,
461,
7134,
5621,
202,
202,
4258,
52,
7413,
18,
11658,
6717,
2802,
12,
28325,
16,
645,
11272,
9506,
202,
11231,
8867,
12,
645,
18,
1467,
9334,
576,
11272,
9506,
202,
45,
13719,
5250,
2811,
9795,
273,
261,
45,
13719,
5250,
13,
645,
18,
17994,
12,
20,
2934,
10828,
5250,
5621,
202,
202,
45,
559,
536,
2393,
273,
261,
45,
559,
536,
13,
645,
18,
17994,
12,
21,
2934,
10828,
5250,
5621,
202,
202,
11231,
8650,
12,
2393,
18,
588,
559,
9334,
2811,
9795,
11272,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
19865,
4313,
25,
2313,
1435,
1216,
1185,
202,
95,
202,
202,
45,
9053,
6717,
2802,
28325,
273,
1109,
12,
315,
723,
536,
1958,
2811,
9795,
2393,
4868,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
4258,
52,
461,
7134,
645,
273,
394,
5181,
52,
461,
7134,
5621,
202,
202,
4258,
52,
7413,
18,
11658,
6717,
2802,
12,
28325,
16,
645,
11272,
9506,
202,
11231,
8867,
12,
645,
18,
1467,
9334,
576,
11272,
9506,
202,
45,
13719,
5250,
2811,
9795,
273,
261,
45,
13719,
5250,
13,
645,
18,
17994,
12,
20,
2934,
10828,
5250,
5621,
202,
202,
45,
559,
536,
2393,
273,
261,
45,
559,
536,
13,
645,
18,
17994,
12,
21,
2934,
2
] |
} else { IStatus locationStatus = existingProject.getWorkspace() .validateProjectLocationURI(existingProject, newPath); if (!locationStatus.isOK()) { return locationStatus.getMessage(); }
|
if (!locationStatus.isOK()) { return locationStatus.getMessage(); } if (existingProject != null) {
|
public String checkValidLocation() { if (isDefault()) { return null; } String locationFieldContents = locationPathField.getText(); if (locationFieldContents.length() == 0) { return (IDEWorkbenchMessages.WizardNewProjectCreationPage_projectLocationEmpty); } URI newPath = getProjectLocationURI(); if (newPath == null) { return IDEWorkbenchMessages.ProjectLocationSelectionDialog_locationError; } if (existingProject == null) { IPath projectPath = new Path(locationFieldContents); if (Platform.getLocation().isPrefixOf(projectPath)) { return IDEWorkbenchMessages.WizardNewProjectCreationPage_defaultLocationError; } } else { IStatus locationStatus = existingProject.getWorkspace() .validateProjectLocationURI(existingProject, newPath); if (!locationStatus.isOK()) { return locationStatus.getMessage(); } URI projectPath = existingProject.getLocationURI(); if (projectPath != null && URIUtil.equals(projectPath, newPath)) { return IDEWorkbenchMessages.ProjectLocationSelectionDialog_locationError; } } return null; }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/46c75528e9c8343690cf18a0f566f88a14cafe27/ProjectContentsLocationArea.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ProjectContentsLocationArea.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
29969,
2735,
1435,
288,
202,
202,
430,
261,
291,
1868,
10756,
288,
1082,
202,
2463,
446,
31,
202,
202,
97,
202,
202,
780,
2117,
974,
6323,
273,
2117,
743,
974,
18,
588,
1528,
5621,
202,
202,
430,
261,
3562,
974,
6323,
18,
2469,
1435,
422,
374,
13,
288,
1082,
202,
2463,
261,
10385,
2421,
22144,
5058,
18,
27130,
1908,
4109,
9906,
1964,
67,
4406,
2735,
1921,
1769,
202,
202,
97,
202,
202,
3098,
14954,
273,
11080,
2735,
3098,
5621,
202,
202,
430,
261,
2704,
743,
422,
446,
13,
288,
1082,
202,
2463,
1599,
41,
2421,
22144,
5058,
18,
4109,
2735,
6233,
6353,
67,
3562,
668,
31,
202,
202,
97,
202,
202,
430,
261,
11711,
4109,
422,
446,
13,
288,
1082,
202,
45,
743,
1984,
743,
273,
394,
2666,
12,
3562,
974,
6323,
1769,
1082,
202,
430,
261,
8201,
18,
588,
2735,
7675,
291,
2244,
951,
12,
4406,
743,
3719,
288,
9506,
202,
2463,
1599,
41,
2421,
22144,
5058,
18,
27130,
1908,
4109,
9906,
1964,
67,
1886,
2735,
668,
31,
1082,
202,
97,
202,
202,
97,
469,
288,
1082,
202,
45,
1482,
2117,
1482,
273,
2062,
4109,
18,
588,
8241,
1435,
6862,
202,
18,
5662,
4109,
2735,
3098,
12,
11711,
4109,
16,
14954,
1769,
1082,
202,
430,
16051,
3562,
1482,
18,
291,
3141,
10756,
288,
9506,
202,
2463,
2117,
1482,
18,
24906,
5621,
1082,
202,
97,
1082,
202,
3098,
1984,
743,
273,
2062,
4109,
18,
588,
2735,
3098,
5621,
1082,
202,
430,
261,
4406,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
29969,
2735,
1435,
288,
202,
202,
430,
261,
291,
1868,
10756,
288,
1082,
202,
2463,
446,
31,
202,
202,
97,
202,
202,
780,
2117,
974,
6323,
273,
2117,
743,
974,
18,
588,
1528,
5621,
202,
202,
430,
261,
3562,
974,
6323,
18,
2469,
1435,
422,
374,
13,
288,
1082,
202,
2463,
261,
10385,
2421,
22144,
5058,
18,
27130,
1908,
4109,
9906,
1964,
67,
4406,
2735,
1921,
1769,
202,
202,
97,
202,
202,
3098,
14954,
273,
11080,
2735,
3098,
5621,
202,
202,
430,
261,
2704,
743,
422,
446,
13,
288,
1082,
202,
2463,
1599,
41,
2421,
22144,
5058,
18,
4109,
2735,
6233,
6353,
67,
3562,
668,
31,
202,
202,
97,
202,
202,
430,
261,
11711,
4109,
2
] |
return "assignable-from(" + myType + ")";
|
return "assignable-from(" + (myType != null ? myType : myClassName) + ")";
|
public String toString(){ return "assignable-from(" + myType + ")"; }
|
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/e0e53b60df991e657cdb3f509f498b265bbb9884/AssignableFromFilter.java/clean/source/com/intellij/psi/filters/types/AssignableFromFilter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
1762,
1435,
95,
565,
327,
315,
6145,
429,
17,
2080,
2932,
397,
261,
4811,
559,
480,
446,
692,
3399,
559,
294,
3399,
3834,
13,
397,
7310,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
1762,
1435,
95,
565,
327,
315,
6145,
429,
17,
2080,
2932,
397,
261,
4811,
559,
480,
446,
692,
3399,
559,
294,
3399,
3834,
13,
397,
7310,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
System.err.println("AJP13 SSL SECURE "+secure);
|
public void parsedSslSecure(boolean secure) throws IOException { System.err.println("AJP13 SSL SECURE "+secure); _sslSecure=secure; }
|
13242 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13242/2b5e8737f3577d829f822e585435bfe3d7f6cd29/Ajp13Connection.java/clean/trunk/extras/ajp/src/main/java/org/mortbay/jetty/ajp/Ajp13Connection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
2707,
15840,
12834,
12,
6494,
8177,
13,
1216,
1860,
3639,
288,
8227,
389,
8157,
12834,
33,
8869,
31,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
2707,
15840,
12834,
12,
6494,
8177,
13,
1216,
1860,
3639,
288,
8227,
389,
8157,
12834,
33,
8869,
31,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
out.append("r\n");
|
out.append(NEWLINE);
|
private void writeElementComment(StringBuffer out, Element ee, int common) { if (ee.comment != null) { indent(common, out); out.append("<!--"); out.append(ee.comment); out.append("r\n"); indent(common, out); out.append("-->\r\n"); } }
|
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/6bc578f078e96e734184556dab09979e658632c1/GenerateSidewaysView.java/buggy/tools/java/org/unicode/cldr/icu/GenerateSidewaysView.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1152,
918,
28085,
4469,
12,
780,
1892,
596,
16,
3010,
14657,
16,
509,
2975,
13,
288,
1082,
202,
430,
261,
1340,
18,
3469,
480,
446,
13,
288,
7734,
3504,
12,
6054,
16,
596,
1769,
9506,
565,
596,
18,
6923,
2932,
5586,
413,
8863,
9506,
565,
596,
18,
6923,
12,
1340,
18,
3469,
1769,
7734,
596,
18,
6923,
12,
12917,
5997,
1769,
7734,
3504,
12,
6054,
16,
596,
1769,
9506,
565,
596,
18,
6923,
2932,
413,
5333,
86,
64,
82,
8863,
1082,
202,
97,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1152,
918,
28085,
4469,
12,
780,
1892,
596,
16,
3010,
14657,
16,
509,
2975,
13,
288,
1082,
202,
430,
261,
1340,
18,
3469,
480,
446,
13,
288,
7734,
3504,
12,
6054,
16,
596,
1769,
9506,
565,
596,
18,
6923,
2932,
5586,
413,
8863,
9506,
565,
596,
18,
6923,
12,
1340,
18,
3469,
1769,
7734,
596,
18,
6923,
12,
12917,
5997,
1769,
7734,
3504,
12,
6054,
16,
596,
1769,
9506,
565,
596,
18,
6923,
2932,
413,
5333,
86,
64,
82,
8863,
1082,
202,
97,
202,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
finally { PhoneManagerFactory.close(phoneManager); }
|
public void handleForward(IQ iq) { Element phoneElement = iq.getChildElement(); PhoneManager phoneManager = null; try { phoneManager = PhoneManagerFactory.getPhoneManager(); String callSessionID = phoneElement.attributeValue("id"); if(callSessionID == null || "".equals(callSessionID)) { throw new PhoneException("a call 'id' is a required attribute for type FORWARD"); } String extension = phoneElement.elementText("extension"); if(extension != null && !"".equals(extension)) { phoneManager.forward(callSessionID, iq.getFrom().getNode(), extension); } // try dialing by jid else { String targetJID = phoneElement.elementText("jid"); if(targetJID == null) { throw new PhoneException("No extension or jid was specified"); } iq.getFrom().getNode(); phoneManager.forward(callSessionID, iq.getFrom().getNode(), new JID(targetJID)); } //send reply IQ reply = IQ.createResultIQ(iq); reply.setType(IQ.Type.result); PhoneAction phoneAction = new PhoneAction(PhoneAction.Type.FORWARD); reply.setChildElement(phoneAction); send(reply); } catch (PhoneException e) { Log.debug(e); IQ reply = IQ.createResultIQ(iq); reply.setType(IQ.Type.error); PacketError error = new PacketError(PacketError.Condition.undefined_condition, PacketError.Type.cancel, e.getMessage()); reply.setError(error); send(reply); } finally { PhoneManagerFactory.close(phoneManager); } }
|
11898 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11898/6a2d2c568bc9d7e3a1549e2e67014b2a794b323f/PacketHandler.java/buggy/server/src/java/org/jivesoftware/phone/PacketHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1640,
8514,
12,
45,
53,
24288,
13,
288,
3639,
3010,
7353,
1046,
273,
24288,
18,
588,
1763,
1046,
5621,
3639,
12895,
1318,
7353,
1318,
273,
446,
31,
3639,
775,
288,
5411,
7353,
1318,
273,
12895,
20012,
18,
588,
9451,
1318,
5621,
5411,
514,
745,
2157,
734,
273,
7353,
1046,
18,
4589,
620,
2932,
350,
8863,
5411,
309,
12,
1991,
2157,
734,
422,
446,
747,
1408,
18,
14963,
12,
1991,
2157,
734,
3719,
288,
7734,
604,
394,
12895,
503,
2932,
69,
745,
296,
350,
11,
353,
279,
1931,
1566,
364,
618,
12108,
21343,
8863,
5411,
289,
5411,
514,
2710,
273,
7353,
1046,
18,
2956,
1528,
2932,
6447,
8863,
5411,
309,
12,
6447,
480,
446,
597,
401,
3660,
18,
14963,
12,
6447,
3719,
288,
7734,
7353,
1318,
18,
11565,
12,
1991,
2157,
734,
16,
24288,
18,
588,
1265,
7675,
588,
907,
9334,
2710,
1769,
5411,
289,
5411,
368,
775,
7609,
310,
635,
14201,
5411,
469,
288,
7734,
514,
1018,
46,
734,
273,
7353,
1046,
18,
2956,
1528,
2932,
18252,
8863,
7734,
309,
12,
3299,
46,
734,
422,
446,
13,
288,
10792,
604,
394,
12895,
503,
2932,
2279,
2710,
578,
14201,
1703,
1269,
8863,
7734,
289,
7734,
24288,
18,
588,
1265,
7675,
588,
907,
5621,
7734,
7353,
1318,
18,
11565,
12,
1991,
2157,
734,
16,
24288,
18,
588,
1265,
7675,
588,
907,
9334,
394,
804,
734,
12,
3299,
46,
734,
10019,
5411,
289,
5411,
368,
4661,
4332,
5411,
26950,
4332,
273,
26950,
18,
2640,
1253,
45,
53,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1640,
8514,
12,
45,
53,
24288,
13,
288,
3639,
3010,
7353,
1046,
273,
24288,
18,
588,
1763,
1046,
5621,
3639,
12895,
1318,
7353,
1318,
273,
446,
31,
3639,
775,
288,
5411,
7353,
1318,
273,
12895,
20012,
18,
588,
9451,
1318,
5621,
5411,
514,
745,
2157,
734,
273,
7353,
1046,
18,
4589,
620,
2932,
350,
8863,
5411,
309,
12,
1991,
2157,
734,
422,
446,
747,
1408,
18,
14963,
12,
1991,
2157,
734,
3719,
288,
7734,
604,
394,
12895,
503,
2932,
69,
745,
296,
350,
11,
353,
279,
1931,
1566,
364,
618,
12108,
21343,
8863,
5411,
289,
5411,
514,
2710,
273,
7353,
1046,
18,
2956,
1528,
2932,
6447,
8863,
5411,
309,
12,
6447,
480,
446,
597,
401,
3660,
2
] |
|
SynchronizeAction action1 = new SynchronizeAction(false);
|
SynchronizeAction action1 = new SynchronizeAction();
|
protected DefaultActionGroup createActionGroup() { DefaultActionGroup group = new DefaultActionGroup(); group.add(new GotoHomeAction(myFileSystemTree)); group.add(new GotoProjectDirectory(myFileSystemTree)); group.addSeparator(); group.add(new NewFolderAction(myFileSystemTree)); group.add(new FileDeleteAction(myFileSystemTree)); group.addSeparator(); SynchronizeAction action1 = new SynchronizeAction(false); AnAction original = ActionManager.getInstance().getAction(IdeActions.ACTION_SYNCHRONIZE); action1.copyFrom(original); action1.registerCustomShortcutSet(original.getShortcutSet(), myFileSystemTree.getTree()); group.add(action1); group.addSeparator(); group.add(new MyShowHiddensAction()); return group; }
|
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/54dc3dac5f475bb7fd62a982d7c0ef8ec0a7ddc6/FileChooserDialogImpl.java/buggy/source/com/intellij/openapi/fileChooser/ex/FileChooserDialogImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
2989,
1803,
1114,
752,
1803,
1114,
1435,
288,
565,
2989,
1803,
1114,
1041,
273,
394,
2989,
1803,
1114,
5621,
565,
1041,
18,
1289,
12,
2704,
611,
6302,
8684,
1803,
12,
4811,
11785,
2471,
10019,
565,
1041,
18,
1289,
12,
2704,
611,
6302,
4109,
2853,
12,
4811,
11785,
2471,
10019,
565,
1041,
18,
1289,
6581,
5621,
565,
1041,
18,
1289,
12,
2704,
1166,
3899,
1803,
12,
4811,
11785,
2471,
10019,
565,
1041,
18,
1289,
12,
2704,
1387,
2613,
1803,
12,
4811,
11785,
2471,
10019,
565,
1041,
18,
1289,
6581,
5621,
565,
26535,
554,
1803,
1301,
21,
273,
394,
26535,
554,
1803,
5621,
565,
1922,
1803,
2282,
273,
4382,
1318,
18,
588,
1442,
7675,
588,
1803,
12,
45,
323,
6100,
18,
12249,
67,
7474,
50,
1792,
19359,
15641,
1769,
565,
1301,
21,
18,
3530,
1265,
12,
8830,
1769,
565,
1301,
21,
18,
4861,
3802,
15576,
694,
12,
8830,
18,
588,
15576,
694,
9334,
3399,
11785,
2471,
18,
588,
2471,
10663,
565,
1041,
18,
1289,
12,
1128,
21,
1769,
565,
1041,
18,
1289,
6581,
5621,
565,
1041,
18,
1289,
12,
2704,
8005,
5706,
44,
1873,
773,
1803,
10663,
565,
327,
1041,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
2989,
1803,
1114,
752,
1803,
1114,
1435,
288,
565,
2989,
1803,
1114,
1041,
273,
394,
2989,
1803,
1114,
5621,
565,
1041,
18,
1289,
12,
2704,
611,
6302,
8684,
1803,
12,
4811,
11785,
2471,
10019,
565,
1041,
18,
1289,
12,
2704,
611,
6302,
4109,
2853,
12,
4811,
11785,
2471,
10019,
565,
1041,
18,
1289,
6581,
5621,
565,
1041,
18,
1289,
12,
2704,
1166,
3899,
1803,
12,
4811,
11785,
2471,
10019,
565,
1041,
18,
1289,
12,
2704,
1387,
2613,
1803,
12,
4811,
11785,
2471,
10019,
565,
1041,
18,
1289,
6581,
5621,
565,
26535,
554,
1803,
1301,
21,
273,
394,
26535,
554,
1803,
5621,
565,
1922,
1803,
2282,
273,
4382,
1318,
18,
588,
1442,
7675,
588,
1803,
12,
45,
323,
2
] |
FieldInfo fieldInfo = memberFactory.createFieldInfo(attr);
|
FieldInfo fieldInfo = memberFactory.createFieldInfo(attr, state);
|
private void processArchetype (Archetype archetype, FactoryState state) { String typeName = archetype.getName(); ClassInfo classInfo = state.classInfo; classInfo.setSchemaType(new XSClass(state.jClass, typeName)); Schema schema = archetype.getSchema(); classInfo.setNamespaceURI(schema.getTargetNamespace()); //- Handle derived types if (archetype.getSource() != null) { String sourceName = archetype.getSource(); Archetype source = schema.getArchetype(sourceName); if (source != null) { String className = null; ClassInfo cInfo = state.resolve(source); if (cInfo == null) { String packageName = state.jClass.getPackageName(); JClass jClass = createSourceCode(source, state, packageName); cInfo = state.resolve(source); className = jClass.getName(); } else className = cInfo.getJClass().getName(); state.jClass.setSuperClass(className); //-- copy members from super class classInfo.addFieldInfo(cInfo.getAttributeFields()); classInfo.addFieldInfo(cInfo.getElementFields()); classInfo.addFieldInfo(cInfo.getTextField()); } else { //-- will this ever be null, if we have a valid Schema? //-- ignore for now...but add comment in case we //-- ever see it. System.out.print("ClassInfo#init: "); System.out.print("A referenced archetype is null: "); System.out.println(sourceName); } } //---------------------/ //- handle attributes -/ //---------------------/ //-- loop throug each attribute Enumeration enum = archetype.getAttributeDecls(); while (enum.hasMoreElements()) { AttributeDecl attr = (AttributeDecl)enum.nextElement(); FieldInfo fieldInfo = memberFactory.createFieldInfo(attr); handleField(fieldInfo, state); }
|
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/6f93661f299605a5dd3fe16282fc6992b3f3c0af/SourceFactory.java/clean/trunk/castor-2002/castor/src/main/org/exolab/castor/builder/SourceFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
12269,
5872,
3639,
261,
12269,
5872,
6637,
5872,
16,
7822,
1119,
919,
13,
377,
288,
7734,
514,
8173,
273,
6637,
5872,
18,
17994,
5621,
7734,
19010,
23566,
273,
919,
18,
1106,
966,
31,
3639,
23566,
18,
542,
3078,
559,
12,
2704,
1139,
55,
797,
12,
2019,
18,
78,
797,
16,
8173,
10019,
7734,
4611,
1963,
273,
6637,
5872,
18,
588,
3078,
5621,
3639,
23566,
18,
542,
3402,
3098,
12,
4821,
18,
588,
2326,
3402,
10663,
27573,
368,
17,
5004,
10379,
1953,
3639,
309,
261,
991,
5872,
18,
588,
1830,
1435,
480,
446,
13,
288,
10792,
514,
28337,
273,
6637,
5872,
18,
588,
1830,
5621,
5411,
16959,
5872,
1084,
273,
1963,
18,
588,
12269,
5872,
12,
3168,
461,
1769,
5411,
309,
261,
3168,
480,
446,
13,
288,
27573,
514,
2658,
273,
446,
31,
27573,
19010,
276,
966,
273,
919,
18,
10828,
12,
3168,
1769,
7734,
309,
261,
71,
966,
422,
446,
13,
288,
4766,
3639,
514,
9929,
273,
919,
18,
78,
797,
18,
588,
18308,
5621,
10792,
804,
797,
525,
797,
273,
752,
1830,
1085,
12,
3168,
16,
4766,
8227,
919,
16,
4766,
5397,
9929,
1769,
10792,
276,
966,
273,
919,
18,
10828,
12,
3168,
1769,
10792,
2658,
273,
525,
797,
18,
17994,
5621,
7734,
289,
7734,
469,
2658,
273,
276,
966,
18,
588,
46,
797,
7675,
17994,
5621,
4766,
10792,
919,
18,
78,
797,
18,
542,
8051,
797,
12,
12434,
1769,
27573,
368,
413,
1610,
4833,
628,
2240,
667,
7734,
23566,
18,
1289,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
12269,
5872,
3639,
261,
12269,
5872,
6637,
5872,
16,
7822,
1119,
919,
13,
377,
288,
7734,
514,
8173,
273,
6637,
5872,
18,
17994,
5621,
7734,
19010,
23566,
273,
919,
18,
1106,
966,
31,
3639,
23566,
18,
542,
3078,
559,
12,
2704,
1139,
55,
797,
12,
2019,
18,
78,
797,
16,
8173,
10019,
7734,
4611,
1963,
273,
6637,
5872,
18,
588,
3078,
5621,
3639,
23566,
18,
542,
3402,
3098,
12,
4821,
18,
588,
2326,
3402,
10663,
27573,
368,
17,
5004,
10379,
1953,
3639,
309,
261,
991,
5872,
18,
588,
1830,
1435,
480,
446,
13,
288,
10792,
514,
28337,
273,
6637,
5872,
18,
588,
1830,
5621,
5411,
16959,
5872,
1084,
273,
1963,
18,
588,
12269,
5872,
12,
2
] |
if(targetFile.exists()) {
|
if(this.targetFile.exists()) {
|
public void update() { targetFile = new java.io.File(toString()+".xml"); if (transfer != null) { Logger.notice(this, "A transfer is already running"); return; } if(modifiable) { FCPClientPut clientPut; Logger.info(this, "Generating index ..."); generateXML(targetFile); if(targetFile.exists()) { Logger.info(this, "Inserting new version"); revision++; clientPut = new FCPClientPut(targetFile, 2, revision, toString(), privateKey, 2, false, 0); transfer = clientPut; clientPut.addObserver(this); queueManager.addQueryToThePendingQueue(clientPut); save(); } else { Logger.warning(this, "Index not generated !"); } setChanged(); notifyObservers(); } else { updateFromFreenet(-1); } }
|
47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/88402a3bc59123261d50a7cfed0ac20de2b772f6/Index.java/buggy/src/thaw/plugins/index/Index.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1089,
1435,
288,
202,
202,
3299,
812,
273,
394,
2252,
18,
1594,
18,
812,
12,
10492,
1435,
9078,
18,
2902,
8863,
202,
202,
430,
261,
13866,
480,
446,
13,
288,
1082,
202,
3328,
18,
20392,
12,
2211,
16,
315,
37,
7412,
353,
1818,
3549,
8863,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
430,
12,
13388,
13,
288,
1082,
202,
42,
4258,
1227,
6426,
1004,
6426,
31,
1082,
202,
3328,
18,
1376,
12,
2211,
16,
315,
21755,
770,
1372,
8863,
1082,
202,
7163,
4201,
12,
3299,
812,
1769,
1082,
202,
430,
12,
3299,
812,
18,
1808,
10756,
288,
9506,
202,
3328,
18,
1376,
12,
2211,
16,
315,
4600,
310,
394,
1177,
8863,
6862,
9506,
202,
13057,
9904,
31,
9506,
202,
2625,
6426,
273,
394,
478,
4258,
1227,
6426,
12,
3299,
812,
16,
576,
16,
6350,
16,
1762,
9334,
11896,
16,
576,
16,
629,
16,
374,
1769,
9506,
202,
13866,
273,
1004,
6426,
31,
9506,
202,
2625,
6426,
18,
1289,
11048,
12,
2211,
1769,
9506,
202,
4000,
1318,
18,
1289,
1138,
774,
1986,
8579,
3183,
12,
2625,
6426,
1769,
9506,
202,
5688,
5621,
1082,
202,
97,
469,
288,
9506,
202,
3328,
18,
8551,
12,
2211,
16,
315,
1016,
486,
4374,
401,
8863,
1082,
202,
97,
1082,
202,
542,
5033,
5621,
1082,
202,
12336,
29393,
5621,
202,
202,
97,
469,
288,
1082,
202,
2725,
1265,
42,
2842,
278,
19236,
21,
1769,
202,
202,
97,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1089,
1435,
288,
202,
202,
3299,
812,
273,
394,
2252,
18,
1594,
18,
812,
12,
10492,
1435,
9078,
18,
2902,
8863,
202,
202,
430,
261,
13866,
480,
446,
13,
288,
1082,
202,
3328,
18,
20392,
12,
2211,
16,
315,
37,
7412,
353,
1818,
3549,
8863,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
430,
12,
13388,
13,
288,
1082,
202,
42,
4258,
1227,
6426,
1004,
6426,
31,
1082,
202,
3328,
18,
1376,
12,
2211,
16,
315,
21755,
770,
1372,
8863,
1082,
202,
7163,
4201,
12,
3299,
812,
1769,
1082,
202,
430,
12,
3299,
812,
18,
1808,
10756,
288,
9506,
202,
3328,
18,
1376,
12,
2211,
16,
315,
4600,
310,
394,
1177,
8863,
6862,
9506,
2
] |
else if ( ((LA17_0>='\u0000' && LA17_0<='\t')||(LA17_0>='\u000B' && LA17_0<='\f')||(LA17_0>='\u000E' && LA17_0<='\uFFFE')) ) { alt17=1;
|
else if ( ((LA15_0>='\u0000' && LA15_0<='\t')||(LA15_0>='\u000B' && LA15_0<='\f')||(LA15_0>='\u000E' && LA15_0<='\uFFFE')) ) { alt15=1;
|
public void mSH_STYLE_SINGLE_LINE_COMMENT() throws RecognitionException { try { ruleNestingLevel++; int _type = SH_STYLE_SINGLE_LINE_COMMENT; int _start = getCharIndex(); int _line = getLine(); int _charPosition = getCharPositionInLine(); int _channel = Token.DEFAULT_CHANNEL; // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1373:4: ( '#' ( options {greedy=false; } : . )* EOL ) // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1373:4: '#' ( options {greedy=false; } : . )* EOL { match('#'); if (failed) return ; // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1373:8: ( options {greedy=false; } : . )* loop17: do { int alt17=2; int LA17_0 = input.LA(1); if ( (LA17_0=='\r') ) { alt17=2; } else if ( (LA17_0=='\n') ) { alt17=2; } else if ( ((LA17_0>='\u0000' && LA17_0<='\t')||(LA17_0>='\u000B' && LA17_0<='\f')||(LA17_0>='\u000E' && LA17_0<='\uFFFE')) ) { alt17=1; } switch (alt17) { case 1 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1373:35: . { matchAny(); if (failed) return ; } break; default : break loop17; } } while (true); mEOL(); if (failed) return ; if ( backtracking==0 ) { _channel=HIDDEN; } } if ( backtracking==0 ) { if ( token==null && ruleNestingLevel==1 ) { emit(_type,_line,_charPosition,_channel,_start,getCharIndex()-1); } } } finally { ruleNestingLevel--; } }
|
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/63bc7036e62ae854cec463d59712c173f74e984c/DRLLexer.java/clean/drools-compiler/src/main/java/org/drools/lang/DRLLexer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
2664,
67,
15066,
67,
20184,
67,
5997,
67,
12200,
1435,
1216,
9539,
288,
3639,
775,
288,
5411,
1720,
50,
10100,
2355,
9904,
31,
5411,
509,
389,
723,
273,
6122,
67,
15066,
67,
20184,
67,
5997,
67,
12200,
31,
5411,
509,
389,
1937,
273,
23577,
1016,
5621,
5411,
509,
389,
1369,
273,
9851,
5621,
5411,
509,
389,
3001,
2555,
273,
23577,
2555,
382,
1670,
5621,
5411,
509,
389,
4327,
273,
3155,
18,
5280,
67,
15814,
31,
5411,
368,
463,
31027,
14915,
1695,
10649,
8464,
1695,
10649,
8464,
7482,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
3437,
9036,
30,
24,
30,
261,
6501,
261,
702,
288,
11556,
24009,
33,
5743,
31,
289,
294,
263,
8618,
19995,
262,
5411,
368,
463,
31027,
14915,
1695,
10649,
8464,
1695,
10649,
8464,
7482,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
3437,
9036,
30,
24,
30,
6501,
261,
702,
288,
11556,
24009,
33,
5743,
31,
289,
294,
263,
8618,
19995,
5411,
288,
5411,
845,
2668,
7,
8284,
309,
261,
7307,
13,
327,
274,
5411,
368,
463,
31027,
14915,
1695,
10649,
8464,
1695,
10649,
8464,
7482,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
3437,
9036,
30,
28,
30,
261,
702,
288,
11556,
24009,
33,
5743,
31,
289,
294,
263,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
2664,
67,
15066,
67,
20184,
67,
5997,
67,
12200,
1435,
1216,
9539,
288,
3639,
775,
288,
5411,
1720,
50,
10100,
2355,
9904,
31,
5411,
509,
389,
723,
273,
6122,
67,
15066,
67,
20184,
67,
5997,
67,
12200,
31,
5411,
509,
389,
1937,
273,
23577,
1016,
5621,
5411,
509,
389,
1369,
273,
9851,
5621,
5411,
509,
389,
3001,
2555,
273,
23577,
2555,
382,
1670,
5621,
5411,
509,
389,
4327,
273,
3155,
18,
5280,
67,
15814,
31,
5411,
368,
463,
31027,
14915,
1695,
10649,
8464,
1695,
10649,
8464,
7482,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
3437,
9036,
30,
24,
30,
261,
6501,
2
] |
return ( (ReportElementEditPart) part ).createGuideHandle( );
|
return ( (ReportElementEditPart) part ).getGuideHandle( );
|
protected AbstractGuideHandle createGuideHandle( ) { EditPart part = getParent( ); if ( part instanceof ReportElementEditPart ) { return ( (ReportElementEditPart) part ).createGuideHandle( ); } return null; }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/c093e9754641d62e23c69f2ba4187e5b60ae0585/ReportElementEditPart.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/editparts/ReportElementEditPart.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
4115,
17424,
3259,
752,
17424,
3259,
12,
262,
202,
95,
202,
202,
4666,
1988,
1087,
273,
5089,
12,
11272,
202,
202,
430,
261,
1087,
1276,
8706,
1046,
4666,
1988,
262,
202,
202,
95,
1082,
202,
2463,
261,
261,
4820,
1046,
4666,
1988,
13,
1087,
262,
18,
2640,
17424,
3259,
12,
11272,
202,
202,
97,
202,
202,
2463,
446,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
4115,
17424,
3259,
752,
17424,
3259,
12,
262,
202,
95,
202,
202,
4666,
1988,
1087,
273,
5089,
12,
11272,
202,
202,
430,
261,
1087,
1276,
8706,
1046,
4666,
1988,
262,
202,
202,
95,
1082,
202,
2463,
261,
261,
4820,
1046,
4666,
1988,
13,
1087,
262,
18,
2640,
17424,
3259,
12,
11272,
202,
202,
97,
202,
202,
2463,
446,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
args.set(args.size() - 1, val);
|
args.add(val);
|
public RubyObject eval(Ruby ruby, RubyObject self) { // TMP_PROTECT; RubyObject recv = getRecvNode().eval(ruby, self); Node rval = getArgsNode().getHeadNode(); RubyPointer args = ArgsUtil.setupArgs(ruby, self, getArgsNode().getNextNode()); args.remove(args.size() - 1); RubyObject val = recv.funcall("[]", args); if (getMId().equals("||")) { if (val.isTrue()) { return val; } else { val = rval.eval(ruby, self); } } else if (getMId().equals("&&")) { if (val.isFalse()) { return val; } else { val = rval.eval(ruby, self); } } else { val = val.funcall(getMId(), rval.eval(ruby, self)); } args.set(args.size() - 1, val); return recv.funcall("[]=", args); }
|
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/8ee00a248d314b571140a548e14f624cbd1eeae9/OpAsgn1Node.java/clean/org/jruby/nodes/OpAsgn1Node.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
5302,
12,
54,
10340,
22155,
16,
19817,
921,
365,
13,
288,
3639,
368,
399,
4566,
67,
3373,
1448,
1268,
31,
3639,
19817,
921,
10665,
273,
5561,
19774,
907,
7675,
8622,
12,
27768,
16,
365,
1769,
3639,
2029,
14267,
273,
30169,
907,
7675,
588,
1414,
907,
5621,
3639,
19817,
4926,
833,
273,
6634,
1304,
18,
8401,
2615,
12,
27768,
16,
365,
16,
30169,
907,
7675,
588,
2134,
907,
10663,
3639,
833,
18,
4479,
12,
1968,
18,
1467,
1435,
300,
404,
1769,
3639,
19817,
921,
1244,
273,
10665,
18,
644,
454,
2932,
8526,
3113,
833,
1769,
3639,
309,
261,
588,
49,
548,
7675,
14963,
2932,
20081,
6,
3719,
288,
5411,
309,
261,
1125,
18,
291,
5510,
10756,
288,
7734,
327,
1244,
31,
5411,
289,
469,
288,
7734,
1244,
273,
14267,
18,
8622,
12,
27768,
16,
365,
1769,
5411,
289,
3639,
289,
469,
309,
261,
588,
49,
548,
7675,
14963,
2932,
10,
10,
6,
3719,
288,
5411,
309,
261,
1125,
18,
291,
8381,
10756,
288,
7734,
327,
1244,
31,
5411,
289,
469,
288,
7734,
1244,
273,
14267,
18,
8622,
12,
27768,
16,
365,
1769,
5411,
289,
3639,
289,
469,
288,
5411,
1244,
273,
1244,
18,
644,
454,
12,
588,
49,
548,
9334,
14267,
18,
8622,
12,
27768,
16,
365,
10019,
3639,
289,
3639,
833,
18,
1289,
12,
1125,
1769,
3639,
327,
10665,
18,
644,
454,
2932,
8526,
1546,
16,
833,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
5302,
12,
54,
10340,
22155,
16,
19817,
921,
365,
13,
288,
3639,
368,
399,
4566,
67,
3373,
1448,
1268,
31,
3639,
19817,
921,
10665,
273,
5561,
19774,
907,
7675,
8622,
12,
27768,
16,
365,
1769,
3639,
2029,
14267,
273,
30169,
907,
7675,
588,
1414,
907,
5621,
3639,
19817,
4926,
833,
273,
6634,
1304,
18,
8401,
2615,
12,
27768,
16,
365,
16,
30169,
907,
7675,
588,
2134,
907,
10663,
3639,
833,
18,
4479,
12,
1968,
18,
1467,
1435,
300,
404,
1769,
3639,
19817,
921,
1244,
273,
10665,
18,
644,
454,
2932,
8526,
3113,
833,
1769,
3639,
309,
261,
588,
49,
548,
7675,
14963,
2932,
20081,
6,
3719,
288,
5411,
309,
261,
1125,
18,
291,
5510,
10756,
2
] |
public Task getTask() {
|
public Task getTask() throws Exception { if ( task == null ) { task = (Task) taskType.newInstance(); task.setProject(project); task.setTaskName(taskName); task.init(); setDynaBean( new ConvertingWrapDynaBean(task) ); }
|
public Task getTask() { return task; }
|
51800 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51800/3cadede6ec1c9c447827ac93c3b6a4cd9b79e9a9/TaskTag.java/buggy/src/java/org/apache/commons/jelly/tags/ant/TaskTag.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3837,
11478,
1435,
1216,
1185,
288,
309,
261,
1562,
422,
446,
262,
288,
1562,
273,
261,
2174,
13,
1562,
559,
18,
2704,
1442,
5621,
1562,
18,
542,
4109,
12,
4406,
1769,
1562,
18,
542,
2174,
461,
12,
4146,
461,
1769,
1562,
18,
2738,
5621,
444,
10419,
69,
3381,
12,
394,
4037,
310,
2964,
10419,
69,
3381,
12,
4146,
13,
11272,
289,
3639,
327,
1562,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3837,
11478,
1435,
1216,
1185,
288,
309,
261,
1562,
422,
446,
262,
288,
1562,
273,
261,
2174,
13,
1562,
559,
18,
2704,
1442,
5621,
1562,
18,
542,
4109,
12,
4406,
1769,
1562,
18,
542,
2174,
461,
12,
4146,
461,
1769,
1562,
18,
2738,
5621,
444,
10419,
69,
3381,
12,
394,
4037,
310,
2964,
10419,
69,
3381,
12,
4146,
13,
11272,
289,
3639,
327,
1562,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
MethodPattern methodPattern = Pattern.compileMethodPattern("* meth*()");
|
MethodPattern methodPattern = Pattern.compileMethodPattern("* meth*(..)");
|
public void testMatchMethodName2() { MethodPattern methodPattern = Pattern.compileMethodPattern("* meth*()"); assertTrue(methodPattern.matchMethodName("method")); assertTrue(methodPattern.matchMethodName("methods")); assertFalse(methodPattern.matchMethodName("m")); assertFalse(methodPattern.matchMethodName("")); }
|
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/a4954bc086440ee1724b840d06c4279c27d6d1c7/MethodPatternTest.java/clean/aspectwerkz/src/test/test/xmldef/MethodPatternTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2060,
11666,
22,
1435,
288,
3639,
2985,
3234,
707,
3234,
273,
6830,
18,
11100,
1305,
3234,
2932,
14,
7917,
21556,
838,
2225,
1769,
3639,
1815,
5510,
12,
2039,
3234,
18,
1916,
11666,
2932,
2039,
7923,
1769,
3639,
1815,
5510,
12,
2039,
3234,
18,
1916,
11666,
2932,
5163,
7923,
1769,
3639,
1815,
8381,
12,
2039,
3234,
18,
1916,
11666,
2932,
81,
7923,
1769,
3639,
1815,
8381,
12,
2039,
3234,
18,
1916,
11666,
2932,
7923,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2060,
11666,
22,
1435,
288,
3639,
2985,
3234,
707,
3234,
273,
6830,
18,
11100,
1305,
3234,
2932,
14,
7917,
21556,
838,
2225,
1769,
3639,
1815,
5510,
12,
2039,
3234,
18,
1916,
11666,
2932,
2039,
7923,
1769,
3639,
1815,
5510,
12,
2039,
3234,
18,
1916,
11666,
2932,
5163,
7923,
1769,
3639,
1815,
8381,
12,
2039,
3234,
18,
1916,
11666,
2932,
81,
7923,
1769,
3639,
1815,
8381,
12,
2039,
3234,
18,
1916,
11666,
2932,
7923,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
new ErrorDialog( Messages.getString( "WizardBase.error.ExceptionEncountered" ), Messages.getString( "WizardBase.error.FollowingExceptionEncountered" ),
|
new ErrorDialog( Messages.getString( "WizardBase.error.ErrorsEncountered" ), Messages.getString( "WizardBase.error.FollowingErrorEncountered" ),
|
public void displayException( Throwable t ) { // TODO: Implement linkage with the ErrorDialog new ErrorDialog( Messages.getString( "WizardBase.error.ExceptionEncountered" ), //$NON-NLS-1$ Messages.getString( "WizardBase.error.FollowingExceptionEncountered" ), //$NON-NLS-1$ t ); }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/3cae224982a492f4523572d47f04851fefb08dbe/WizardBase.java/buggy/core/org.eclipse.birt.core.ui/src/org/eclipse/birt/core/ui/frameworks/taskwizard/WizardBase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2562,
503,
12,
4206,
268,
262,
202,
95,
202,
202,
759,
2660,
30,
10886,
1692,
410,
598,
326,
1068,
6353,
202,
202,
2704,
1068,
6353,
12,
4838,
18,
588,
780,
12,
315,
27130,
2171,
18,
1636,
18,
503,
4280,
29625,
6,
262,
16,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
5058,
18,
588,
780,
12,
315,
27130,
2171,
18,
1636,
18,
8328,
21546,
4280,
29625,
6,
262,
16,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
88,
11272,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2562,
503,
12,
4206,
268,
262,
202,
95,
202,
202,
759,
2660,
30,
10886,
1692,
410,
598,
326,
1068,
6353,
202,
202,
2704,
1068,
6353,
12,
4838,
18,
588,
780,
12,
315,
27130,
2171,
18,
1636,
18,
503,
4280,
29625,
6,
262,
16,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
5058,
18,
588,
780,
12,
315,
27130,
2171,
18,
1636,
18,
8328,
21546,
4280,
29625,
6,
262,
16,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
88,
11272,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
model.addRow();
|
int row = rulesTable.getSelectedRow(); model.addNewRow(row);
|
void addButton_actionPerformed(ActionEvent e) { CrawlRuleModel model = (CrawlRuleModel) rulesTable.getModel(); model.addRow(); }
|
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/2c5003c8d83554a179e56fc6e7a07c055c35b3ba/CrawlRuleEditor.java/buggy/test/src/org/lockss/devtools/plugindef/CrawlRuleEditor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
527,
3616,
67,
1128,
13889,
12,
1803,
1133,
425,
13,
288,
565,
385,
15161,
2175,
1488,
938,
273,
261,
39,
15161,
2175,
1488,
13,
2931,
1388,
18,
588,
1488,
5621,
565,
509,
1027,
273,
2931,
1388,
18,
588,
7416,
1999,
5621,
938,
18,
1289,
1908,
1999,
12,
492,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
918,
527,
3616,
67,
1128,
13889,
12,
1803,
1133,
425,
13,
288,
565,
385,
15161,
2175,
1488,
938,
273,
261,
39,
15161,
2175,
1488,
13,
2931,
1388,
18,
588,
1488,
5621,
565,
509,
1027,
273,
2931,
1388,
18,
588,
7416,
1999,
5621,
938,
18,
1289,
1908,
1999,
12,
492,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
changeListeners.remove(listener);
|
changeSupport.removeChangeListener(listener);
|
public synchronized void removeChangeListener(IChangeListener listener) { changeListeners.remove(listener); }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/6aecdb31231a8602dbf72944625703c440949c78/AbstractObservableMap.java/clean/bundles/org.eclipse.core.databinding/src/org/eclipse/core/databinding/observable/map/AbstractObservableMap.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
918,
1206,
15744,
12,
45,
15744,
2991,
13,
288,
202,
202,
3427,
5583,
18,
4479,
12,
12757,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3852,
918,
1206,
15744,
12,
45,
15744,
2991,
13,
288,
202,
202,
3427,
5583,
18,
4479,
12,
12757,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
noex = Constants.NOEX_PRIVATE;
|
noex = Visibility.PRIVATE;
|
public void visitDefnNode(DefnNode iVisited) { RubyModule rubyClass = ruby.getRubyClass(); if (rubyClass == null) { throw new TypeError(ruby, "No class to add method."); } //if (ruby_class == getRuby().getObjectClass() && node.nd_mid() == init) { // warn("redefining Object#initialize may cause infinite loop"); //} //if (node.nd_mid() == __id__ || node.nd_mid() == __send__) { // warn("redefining `%s' may cause serious problem", ((RubyId)node.nd_mid()).toName()); //} // ruby_class.setFrozen(true); ICallable method = rubyClass.searchMethod(iVisited.getName()); // RubyObject origin = body.getOrigin(); // if (body != null){ // if (ruby_verbose.isTrue() && ruby_class == origin && body.nd_cnt() == 0) { // rom.rb_warning("discarding old %s", ((RubyId)node.nd_mid()).toName()); // } // if (node.nd_noex() != 0) { /* toplevel */ /* should upgrade to rb_warn() if no super was called inside? */ // rom.rb_warning("overriding global function `%s'", ((RubyId)node.nd_mid()).toName()); // } // } int noex; if (ruby.isScope(Constants.SCOPE_PRIVATE) || iVisited.getName().equals("initialize")) { noex = Constants.NOEX_PRIVATE; } else if (ruby.isScope(Constants.SCOPE_PROTECTED)) { noex = Constants.NOEX_PROTECTED; } else if (rubyClass == ruby.getClasses().getObjectClass()) { noex = iVisited.getNoex(); } else { noex = Constants.NOEX_PUBLIC; } if (method != null && method.getImplementationClass() == rubyClass && (method.getNoex() & Constants.NOEX_UNDEF) != 0) { noex |= Constants.NOEX_UNDEF; } // FIXME Create new method store class. // ScopeNode body = copyNodeScope((ScopeNode)iVisited.getBodyNode(), ruby.getNamespace()); DefaultMethod newMethod = new DefaultMethod(iVisited.getBodyNode(), (ArgsNode) iVisited.getArgsNode(), ruby.getNamespace()); rubyClass.addMethod(iVisited.getName(), newMethod, noex); if (ruby.getCurrentMethodScope() == Constants.SCOPE_MODFUNC) { rubyClass.getSingletonClass().addMethod(iVisited.getName(), newMethod, Constants.NOEX_PUBLIC); rubyClass.callMethod("singleton_method_added", builtins.toSymbol(iVisited.getName())); } if (rubyClass.isSingleton()) { rubyClass.getInstanceVariable("__attached__").callMethod("singleton_method_added", builtins.toSymbol(iVisited.getName())); } else { rubyClass.callMethod("method_added", builtins.toSymbol(iVisited.getName())); } }
|
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f05423516c2d1bfe54c4363eedb9654f7cfb6898/EvaluateVisitor.java/buggy/org/jruby/evaluator/EvaluateVisitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
3262,
82,
907,
12,
3262,
82,
907,
277,
30019,
13,
288,
3639,
19817,
3120,
22155,
797,
273,
22155,
18,
588,
54,
10340,
797,
5621,
3639,
309,
261,
27768,
797,
422,
446,
13,
288,
5411,
604,
394,
3580,
12,
27768,
16,
315,
2279,
667,
358,
527,
707,
1199,
1769,
3639,
289,
3639,
368,
430,
261,
27768,
67,
1106,
422,
4170,
10340,
7675,
588,
921,
797,
1435,
597,
756,
18,
4880,
67,
13138,
1435,
422,
1208,
13,
288,
3639,
368,
1894,
2932,
266,
5649,
310,
1033,
7,
11160,
2026,
4620,
14853,
2798,
8863,
3639,
19363,
3639,
368,
430,
261,
2159,
18,
4880,
67,
13138,
1435,
422,
1001,
350,
972,
747,
756,
18,
4880,
67,
13138,
1435,
422,
1001,
4661,
972,
13,
288,
3639,
368,
1894,
2932,
266,
5649,
310,
12430,
87,
11,
2026,
4620,
703,
22774,
6199,
3113,
14015,
54,
10340,
548,
13,
2159,
18,
4880,
67,
13138,
1435,
2934,
869,
461,
10663,
3639,
19363,
3639,
368,
22155,
67,
1106,
18,
542,
42,
9808,
12,
3767,
1769,
3639,
467,
11452,
707,
273,
22155,
797,
18,
3072,
1305,
12,
77,
30019,
18,
17994,
10663,
3639,
368,
19817,
921,
4026,
273,
1417,
18,
588,
7571,
5621,
3639,
368,
309,
261,
3432,
480,
446,
15329,
3639,
368,
309,
261,
27768,
67,
11369,
18,
291,
5510,
1435,
597,
22155,
67,
1106,
422,
4026,
597,
1417,
18,
4880,
67,
13085,
1435,
422,
374,
13,
288,
3639,
368,
377,
24137,
18,
6731,
67,
8551,
2932,
31992,
310,
1592,
738,
87,
3113,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
3262,
82,
907,
12,
3262,
82,
907,
277,
30019,
13,
288,
3639,
19817,
3120,
22155,
797,
273,
22155,
18,
588,
54,
10340,
797,
5621,
3639,
309,
261,
27768,
797,
422,
446,
13,
288,
5411,
604,
394,
3580,
12,
27768,
16,
315,
2279,
667,
358,
527,
707,
1199,
1769,
3639,
289,
3639,
368,
430,
261,
27768,
67,
1106,
422,
4170,
10340,
7675,
588,
921,
797,
1435,
597,
756,
18,
4880,
67,
13138,
1435,
422,
1208,
13,
288,
3639,
368,
1894,
2932,
266,
5649,
310,
1033,
7,
11160,
2026,
4620,
14853,
2798,
8863,
3639,
19363,
3639,
368,
430,
261,
2159,
18,
4880,
67,
13138,
1435,
422,
1001,
350,
972,
747,
756,
18,
4880,
67,
13138,
1435,
422,
2
] |
return context.declaration.getExtractor().getFloatValue( left ) > ((DoubleVariableContextEntry) context).right;
|
return context.getVariableDeclaration().getExtractor().getFloatValue( left ) > ((DoubleVariableContextEntry) context).right;
|
public boolean evaluateCachedRight(final VariableContextEntry context, final Object left) { // TODO: we are not handling delta right now... maybe we should return context.declaration.getExtractor().getFloatValue( left ) > ((DoubleVariableContextEntry) context).right; }
|
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/b6d27b51773c616f04e39b7d6c5e3cd95aeab255/FloatFactory.java/buggy/drools-core/src/main/java/org/drools/base/evaluators/FloatFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1250,
5956,
9839,
4726,
12,
6385,
7110,
1042,
1622,
819,
16,
4766,
6647,
727,
1033,
2002,
13,
288,
5411,
368,
2660,
30,
732,
854,
486,
5057,
3622,
2145,
2037,
2777,
6944,
732,
1410,
5411,
327,
819,
18,
588,
26547,
7675,
588,
10958,
7675,
588,
4723,
620,
12,
2002,
262,
405,
14015,
5265,
3092,
1042,
1622,
13,
819,
2934,
4083,
31,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1250,
5956,
9839,
4726,
12,
6385,
7110,
1042,
1622,
819,
16,
4766,
6647,
727,
1033,
2002,
13,
288,
5411,
368,
2660,
30,
732,
854,
486,
5057,
3622,
2145,
2037,
2777,
6944,
732,
1410,
5411,
327,
819,
18,
588,
26547,
7675,
588,
10958,
7675,
588,
4723,
620,
12,
2002,
262,
405,
14015,
5265,
3092,
1042,
1622,
13,
819,
2934,
4083,
31,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return longDiv(s);
|
result = longDiv(s); break;
|
public static byte simplify(OPT_AbstractRegisterPool regpool, OPT_Instruction s) { switch (s.getOpcode()) { //////////////////// // GUARD operations //////////////////// case GUARD_COMBINE_opcode: return guardCombine(s); //////////////////// // TRAP operations //////////////////// case TRAP_IF_opcode: return trapIf(s); case NULL_CHECK_opcode: return nullCheck(s); case INT_ZERO_CHECK_opcode: return intZeroCheck(s); case LONG_ZERO_CHECK_opcode: return longZeroCheck(s); case CHECKCAST_opcode: return checkcast(regpool, s); case CHECKCAST_UNRESOLVED_opcode: return checkcast(regpool, s); case CHECKCAST_NOTNULL_opcode: return checkcastNotNull(s); case INSTANCEOF_opcode: return instanceOf(regpool, s); case INSTANCEOF_NOTNULL_opcode: return instanceOfNotNull(s); case OBJARRAY_STORE_CHECK_opcode: return objarrayStoreCheck(s); case OBJARRAY_STORE_CHECK_NOTNULL_opcode: return objarrayStoreCheckNotNull(s); case MUST_IMPLEMENT_INTERFACE_opcode: return mustImplementInterface(s); //////////////////// // Conditional moves //////////////////// case INT_COND_MOVE_opcode: return intCondMove(s); case LONG_COND_MOVE_opcode: return longCondMove(s); case FLOAT_COND_MOVE_opcode: return floatCondMove(s); case DOUBLE_COND_MOVE_opcode: return doubleCondMove(s); case REF_COND_MOVE_opcode: return refCondMove(s); case GUARD_COND_MOVE_opcode: return guardCondMove(s); //////////////////// // INT ALU operations //////////////////// case BOOLEAN_NOT_opcode: return booleanNot(s); case BOOLEAN_CMP_INT_opcode: return booleanCmpInt(s); case BOOLEAN_CMP_ADDR_opcode: return booleanCmpAddr(s); case INT_ADD_opcode: return intAdd(s); case INT_AND_opcode: return intAnd(s); case INT_DIV_opcode: return intDiv(s); case INT_MUL_opcode: return intMul(regpool, s); case INT_NEG_opcode: return intNeg(s); case INT_NOT_opcode: return intNot(s); case INT_OR_opcode: return intOr(s); case INT_REM_opcode: return intRem(s); case INT_SHL_opcode: return intShl(s); case INT_SHR_opcode: return intShr(s); case INT_SUB_opcode: return intSub(s); case INT_USHR_opcode: return intUshr(s); case INT_XOR_opcode: return intXor(s); //////////////////// // WORD ALU operations //////////////////// case REF_ADD_opcode: return refAdd(s); case REF_AND_opcode: return refAnd(s); case REF_SHL_opcode: return refShl(s); case REF_SHR_opcode: return refShr(s); case REF_NOT_opcode: return refNot(s); case REF_OR_opcode: return refOr(s); case REF_SUB_opcode: return refSub(s); case REF_USHR_opcode: return regUshr(s); case REF_XOR_opcode: return refXor(s); //////////////////// // LONG ALU operations //////////////////// case LONG_ADD_opcode: return longAdd(s); case LONG_AND_opcode: return longAnd(s); case LONG_CMP_opcode: return longCmp(s); case LONG_DIV_opcode: return longDiv(s); case LONG_MUL_opcode: return longMul(s); case LONG_NEG_opcode: return longNeg(s); case LONG_NOT_opcode: return longNot(s); case LONG_OR_opcode: return longOr(s); case LONG_REM_opcode: return longRem(s); case LONG_SHL_opcode: return longShl(s); case LONG_SHR_opcode: return longShr(s); case LONG_SUB_opcode: return longSub(s); case LONG_USHR_opcode: return longUshr(s); case LONG_XOR_opcode: return longXor(s); //////////////////// // FLOAT ALU operations //////////////////// case FLOAT_ADD_opcode: return floatAdd(s); case FLOAT_CMPG_opcode: return floatCmpg(s); case FLOAT_CMPL_opcode: return floatCmpl(s); case FLOAT_DIV_opcode: return floatDiv(s); case FLOAT_MUL_opcode: return floatMul(s); case FLOAT_NEG_opcode: return floatNeg(s); case FLOAT_REM_opcode: return floatRem(s); case FLOAT_SUB_opcode: return floatSub(s); //////////////////// // DOUBLE ALU operations //////////////////// case DOUBLE_ADD_opcode: return doubleAdd(s); case DOUBLE_CMPG_opcode: return doubleCmpg(s); case DOUBLE_CMPL_opcode: return doubleCmpl(s); case DOUBLE_DIV_opcode: return doubleDiv(s); case DOUBLE_MUL_opcode: return doubleMul(s); case DOUBLE_NEG_opcode: return doubleNeg(s); case DOUBLE_REM_opcode: return doubleRem(s); case DOUBLE_SUB_opcode: return doubleSub(s); //////////////////// // CONVERSION operations //////////////////// case DOUBLE_2FLOAT_opcode: return double2Float(s); case DOUBLE_2INT_opcode: return double2Int(s); case DOUBLE_2LONG_opcode: return double2Long(s); case DOUBLE_AS_LONG_BITS_opcode: return doubleAsLongBits(s); case INT_2DOUBLE_opcode: return int2Double(s); case INT_2BYTE_opcode: return int2Byte(s); case INT_2USHORT_opcode: return int2UShort(s); case INT_2FLOAT_opcode: return int2Float(s); case INT_2LONG_opcode: return int2Long(s); case INT_2ADDRSigExt_opcode: return int2AddrSigExt(s); case INT_2ADDRZerExt_opcode: return int2AddrZerExt(s); //-#if RVM_FOR_64_ADDR case LONG_2ADDR_opcode: return long2Addr(s); //-#endif case INT_2SHORT_opcode: return int2Short(s); case INT_BITS_AS_FLOAT_opcode: return intBitsAsFloat(s); case ADDR_2INT_opcode: return addr2Int(s); case ADDR_2LONG_opcode: return addr2Long(s); case FLOAT_2DOUBLE_opcode: return float2Double(s); case FLOAT_2INT_opcode: return float2Int(s); case FLOAT_2LONG_opcode: return float2Long(s); case FLOAT_AS_INT_BITS_opcode: return floatAsIntBits(s); case LONG_2FLOAT_opcode: return long2Float(s); case LONG_2INT_opcode: return long2Int(s); case LONG_2DOUBLE_opcode: return long2Double(s); case LONG_BITS_AS_DOUBLE_opcode: return longBitsAsDouble(s); //////////////////// // Field operations //////////////////// case ARRAYLENGTH_opcode: return arrayLength(s); case BOUNDS_CHECK_opcode: return boundsCheck(s); case CALL_opcode: return call(s); case GETFIELD_opcode: return getField(s); case GET_OBJ_TIB_opcode: return getObjTib(s); case GET_CLASS_TIB_opcode: return getClassTib(s); case GET_TYPE_FROM_TIB_opcode: return getTypeFromTib(s); case GET_ARRAY_ELEMENT_TIB_FROM_TIB_opcode: return getArrayElementTibFromTib(s); case GET_SUPERCLASS_IDS_FROM_TIB_opcode: return getSuperclassIdsFromTib(s); case GET_DOES_IMPLEMENT_FROM_TIB_opcode: return getDoesImplementFromTib(s); case REF_LOAD_opcode: return refLoad(s); default: return UNCHANGED; } }
|
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/eb4369b6f8fdd0cd15c56bc3cbfa8673171db226/OPT_Simplifier.java/buggy/rvm/src/com/ibm/jikesrvm/opt/OPT_Simplifier.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
1160,
16499,
12,
15620,
67,
7469,
3996,
2864,
960,
6011,
16,
16456,
67,
11983,
272,
13,
288,
565,
1620,
261,
87,
18,
588,
22808,
10756,
288,
1377,
368,
3517,
759,
1377,
368,
611,
57,
8085,
5295,
1377,
368,
3517,
759,
565,
648,
611,
57,
8085,
67,
4208,
38,
3740,
67,
556,
710,
30,
1377,
327,
11026,
21720,
12,
87,
1769,
1377,
368,
3517,
759,
1377,
368,
4235,
2203,
5295,
1377,
368,
3517,
759,
565,
648,
4235,
2203,
67,
5501,
67,
556,
710,
30,
1377,
327,
23034,
2047,
12,
87,
1769,
565,
648,
3206,
67,
10687,
67,
556,
710,
30,
1377,
327,
446,
1564,
12,
87,
1769,
565,
648,
6137,
67,
24968,
67,
10687,
67,
556,
710,
30,
1377,
327,
509,
7170,
1564,
12,
87,
1769,
565,
648,
14011,
67,
24968,
67,
10687,
67,
556,
710,
30,
1377,
327,
1525,
7170,
1564,
12,
87,
1769,
565,
648,
14565,
21871,
67,
556,
710,
30,
1377,
327,
866,
4155,
12,
1574,
6011,
16,
272,
1769,
565,
648,
14565,
21871,
67,
2124,
17978,
12135,
67,
556,
710,
30,
1377,
327,
866,
4155,
12,
1574,
6011,
16,
272,
1769,
565,
648,
14565,
21871,
67,
4400,
8560,
67,
556,
710,
30,
1377,
327,
866,
4155,
5962,
12,
87,
1769,
565,
648,
6937,
3932,
67,
556,
710,
30,
1377,
327,
28397,
12,
1574,
6011,
16,
272,
1769,
565,
648,
6937,
3932,
67,
4400,
8560,
67,
556,
710,
30,
1377,
327,
28397,
5962,
12,
87,
1769,
565,
648,
9730,
46,
8552,
67,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
1160,
16499,
12,
15620,
67,
7469,
3996,
2864,
960,
6011,
16,
16456,
67,
11983,
272,
13,
288,
565,
1620,
261,
87,
18,
588,
22808,
10756,
288,
1377,
368,
3517,
759,
1377,
368,
611,
57,
8085,
5295,
1377,
368,
3517,
759,
565,
648,
611,
57,
8085,
67,
4208,
38,
3740,
67,
556,
710,
30,
1377,
327,
11026,
21720,
12,
87,
1769,
1377,
368,
3517,
759,
1377,
368,
4235,
2203,
5295,
1377,
368,
3517,
759,
565,
648,
4235,
2203,
67,
5501,
67,
556,
710,
30,
1377,
327,
23034,
2047,
12,
87,
1769,
565,
648,
3206,
67,
10687,
67,
556,
710,
30,
1377,
327,
446,
1564,
12,
87,
1769,
565,
648,
6137,
67,
24968,
67,
10687,
67,
556,
710,
2
] |
int value1; int value2;
|
int res1 = 0, res2 = 0; char buf1[] = new char[1024], buf2[] = new char[1024];
|
public void compareReaders(Reader r1, Reader r2) throws IOException { try { if (r1 == null && r2 == null) { return; } else if (r1 == null) { assertTrue("r1 == null && r2 != null", false); return; } else if (r2 == null) { assertTrue("r1 != null && r2 == null", false); return; } long count = 0; int value1; int value2; while ((value1 = r1.read()) != -1) { value2 = r2.read(); if (value2 == -1) { assertTrue("reader 2 EOF at: " + count, false); } assertTrue("reader 1 value [" + value1 + "] differs from reader 2 value [" + value2 + "] at: " + count, (value1 == value2)); count++; } if (r2.read() != -1) { assertTrue("reader 1 EOF at: " + count, false); } } finally { if (r1 != null) { r1.close(); } if (r2 != null) { r2.close(); } } }
|
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/d4e620b37705bad32b9be345d92f0be6e602bb1b/TestBase.java/clean/trunk/jtds/src/test/net/sourceforge/jtds/test/TestBase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3400,
30301,
12,
2514,
436,
21,
16,
5393,
436,
22,
13,
1216,
1860,
288,
3639,
775,
288,
5411,
309,
261,
86,
21,
422,
446,
597,
436,
22,
422,
446,
13,
288,
7734,
327,
31,
5411,
289,
469,
309,
261,
86,
21,
422,
446,
13,
288,
7734,
1815,
5510,
2932,
86,
21,
422,
446,
597,
436,
22,
480,
446,
3113,
629,
1769,
7734,
327,
31,
5411,
289,
469,
309,
261,
86,
22,
422,
446,
13,
288,
7734,
1815,
5510,
2932,
86,
21,
480,
446,
597,
436,
22,
422,
446,
3113,
629,
1769,
7734,
327,
31,
5411,
289,
5411,
1525,
1056,
273,
374,
31,
5411,
509,
460,
21,
31,
5411,
509,
460,
22,
31,
5411,
1323,
14015,
1132,
21,
273,
436,
21,
18,
896,
10756,
480,
300,
21,
13,
288,
7734,
460,
22,
273,
436,
22,
18,
896,
5621,
7734,
309,
261,
1132,
22,
422,
300,
21,
13,
288,
10792,
1815,
5510,
2932,
10530,
576,
6431,
622,
30,
315,
397,
1056,
16,
629,
1769,
7734,
289,
7734,
1815,
5510,
2932,
10530,
404,
460,
8247,
397,
460,
21,
13491,
397,
9850,
21944,
628,
2949,
576,
460,
8247,
13491,
397,
460,
22,
397,
9850,
622,
30,
315,
397,
1056,
16,
13491,
261,
1132,
21,
422,
460,
22,
10019,
7734,
1056,
9904,
31,
5411,
289,
5411,
309,
261,
86,
22,
18,
896,
1435,
480,
300,
21,
13,
288,
7734,
1815,
5510,
2932,
10530,
404,
6431,
622,
30,
315,
397,
1056,
16,
629,
1769,
5411,
289,
3639,
289,
3095,
288,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3400,
30301,
12,
2514,
436,
21,
16,
5393,
436,
22,
13,
1216,
1860,
288,
3639,
775,
288,
5411,
309,
261,
86,
21,
422,
446,
597,
436,
22,
422,
446,
13,
288,
7734,
327,
31,
5411,
289,
469,
309,
261,
86,
21,
422,
446,
13,
288,
7734,
1815,
5510,
2932,
86,
21,
422,
446,
597,
436,
22,
480,
446,
3113,
629,
1769,
7734,
327,
31,
5411,
289,
469,
309,
261,
86,
22,
422,
446,
13,
288,
7734,
1815,
5510,
2932,
86,
21,
480,
446,
597,
436,
22,
422,
446,
3113,
629,
1769,
7734,
327,
31,
5411,
289,
5411,
1525,
1056,
273,
374,
31,
5411,
509,
460,
21,
31,
5411,
509,
460,
22,
31,
5411,
1323,
14015,
1132,
2
] |
encoded = true;
|
void encode() { try { splitfileAlgo.encode(dataBlocks, checkBlocks, CHKBlock.DATA_LENGTH, blockInsertContext.persistentBucketFactory); // Start the inserts for(int i=0;i<checkBlockInserters.length;i++) { if(checkBlocks[i] != null) { // else already finished on creation checkBlockInserters[i] = new SingleBlockInserter(parent.parent, checkBlocks[i], (short)-1, FreenetURI.EMPTY_CHK_URI, blockInsertContext, this, false, CHKBlock.DATA_LENGTH, i + dataBlocks.length, getCHKOnly, false, false, parent.token); checkBlockInserters[i].schedule(); } else { parent.parent.completedBlock(true); } } // Tell parent only after have started the inserts. // Because of the counting. encoded = true; parent.encodedSegment(this); onEncodedSegment(); } catch (IOException e) { InserterException ex = new InserterException(InserterException.BUCKET_ERROR, e, null); finish(ex); } catch (Throwable t) { Logger.error(this, "Caught "+t+" while encoding "+this, t); InserterException ex = new InserterException(InserterException.INTERNAL_ERROR, t, null); finish(ex); } }
|
51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/e6accf6fde724c33588e68c749fd47456ab50691/SplitFileInserterSegment.java/clean/src/freenet/client/async/SplitFileInserterSegment.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
2017,
1435,
288,
202,
202,
698,
288,
1082,
202,
4939,
768,
22430,
18,
3015,
12,
892,
6450,
16,
866,
6450,
16,
6469,
47,
1768,
18,
4883,
67,
7096,
16,
1203,
4600,
1042,
18,
19393,
4103,
1733,
1769,
1082,
202,
759,
3603,
326,
15607,
1082,
202,
1884,
12,
474,
277,
33,
20,
31,
77,
32,
1893,
1768,
382,
550,
5432,
18,
2469,
31,
77,
27245,
288,
9506,
202,
430,
12,
1893,
6450,
63,
77,
65,
480,
446,
13,
288,
368,
469,
1818,
6708,
603,
6710,
6862,
202,
1893,
1768,
382,
550,
5432,
63,
77,
65,
273,
9944,
202,
2704,
10326,
1768,
382,
550,
387,
12,
2938,
18,
2938,
16,
866,
6450,
63,
77,
6487,
261,
6620,
24950,
21,
16,
478,
2842,
278,
3098,
18,
13625,
67,
1792,
47,
67,
3098,
16,
1203,
4600,
1042,
16,
333,
16,
629,
16,
6469,
47,
1768,
18,
4883,
67,
7096,
16,
277,
397,
501,
6450,
18,
2469,
16,
336,
1792,
47,
3386,
16,
629,
16,
629,
16,
982,
18,
2316,
1769,
6862,
202,
1893,
1768,
382,
550,
5432,
63,
77,
8009,
10676,
5621,
9506,
202,
97,
469,
288,
6862,
202,
2938,
18,
2938,
18,
13615,
1768,
12,
3767,
1769,
9506,
202,
97,
1082,
202,
97,
1082,
202,
759,
29860,
982,
1338,
1839,
1240,
5746,
326,
15607,
18,
1082,
202,
759,
15191,
434,
326,
22075,
18,
1082,
202,
10787,
273,
638,
31,
1082,
202,
2938,
18,
10787,
4131,
12,
2211,
1769,
1082,
202,
265,
10397,
4131,
5621,
202,
202,
97,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
2017,
1435,
288,
202,
202,
698,
288,
1082,
202,
4939,
768,
22430,
18,
3015,
12,
892,
6450,
16,
866,
6450,
16,
6469,
47,
1768,
18,
4883,
67,
7096,
16,
1203,
4600,
1042,
18,
19393,
4103,
1733,
1769,
1082,
202,
759,
3603,
326,
15607,
1082,
202,
1884,
12,
474,
277,
33,
20,
31,
77,
32,
1893,
1768,
382,
550,
5432,
18,
2469,
31,
77,
27245,
288,
9506,
202,
430,
12,
1893,
6450,
63,
77,
65,
480,
446,
13,
288,
368,
469,
1818,
6708,
603,
6710,
6862,
202,
1893,
1768,
382,
550,
5432,
63,
77,
65,
273,
9944,
202,
2704,
10326,
1768,
382,
550,
387,
12,
2938,
18,
2938,
16,
866,
6450,
63,
77,
6487,
261,
6620,
24950,
2
] |
|
for(IDSRule rule : (List<IDSRule>) settings.getRules()) { engine.updateRule(rule); }*/
|
protected void initializeSettings() { log.info("Loading Rules..."); //IDSSettings settings = new IDSSettings(getTid()); //settings = queryDBForSettings(); queryDBForSettings(); if(settings == null || settings.getRules() == null) { settings = new IDSSettings(getTid()); settings.setVariables(IDSRuleManager.defaultVariables); settings.setImmutableVariables(IDSRuleManager.immutableVariables); log.info("Settings was null, loading from file"); String path = System.getProperty("bunnicula.home"); File file = new File(path+"/idsrules"); visitAllFiles(file); settings.setMaxChunks(engine.getMaxChunks()); settings.setRules(ruleList); setIDSSettings(settings); } else log.info("Settings was loaded from DB: " + settings); //setIDSSettings(settings); log.info(ruleList.size() + " rules loaded"); //} IDSStatisticManager.instance().stop(); }
|
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/f81e1f4a7d2db5658724f732284e0ce7d755c59a/IDSTransformImpl.java/clean/tran/ids/main/com/metavize/tran/ids/IDSTransformImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
364,
12,
19516,
2175,
1720,
294,
261,
682,
32,
19516,
2175,
23429,
1947,
18,
588,
4478,
10756,
288,
4073,
18,
2725,
2175,
12,
5345,
1769,
289,
5549,
225,
364,
12,
19516,
2175,
1720,
294,
261,
682,
32,
19516,
2175,
23429,
1947,
18,
588,
4478,
10756,
288,
4073,
18,
2725,
2175,
12,
5345,
1769,
289,
5549,
225,
4750,
918,
4046,
2628,
1435,
288,
1884,
12,
19516,
2175,
1720,
294,
261,
682,
32,
19516,
2175,
23429,
1947,
18,
588,
4478,
10756,
288,
4073,
18,
2725,
2175,
12,
5345,
1769,
289,
5549,
225,
364,
12,
19516,
2175,
1720,
294,
261,
682,
32,
19516,
2175,
23429,
1947,
18,
588,
4478,
10756,
288,
4073,
18,
2725,
2175,
12,
5345,
1769,
289,
5549,
225,
364,
12,
19516,
2175,
1720,
294,
261,
682,
32,
19516,
2175,
23429,
1947,
18,
588,
4478,
10756,
288,
4073,
18,
2725,
2175,
12,
5345,
1769,
289,
5549,
225,
364,
12,
19516,
2175,
1720,
294,
261,
682,
32,
19516,
2175,
23429,
1947,
18,
588,
4478,
10756,
288,
4073,
18,
2725,
2175,
12,
5345,
1769,
289,
5549,
225,
613,
18,
1376,
2932,
10515,
15718,
7070,
1769,
1884,
12,
19516,
2175,
1720,
294,
261,
682,
32,
19516,
2175,
23429,
1947,
18,
588,
4478,
10756,
288,
4073,
18,
2725,
2175,
12,
5345,
1769,
289,
5549,
225,
364,
12,
19516,
2175,
1720,
294,
261,
682,
32,
19516,
2175,
23429,
1947,
18,
588,
4478,
10756,
288,
4073,
18,
2725,
2175,
12,
5345,
1769,
289,
5549,
225,
364,
12,
19516,
2175,
1720,
294,
261,
682,
32,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
364,
12,
19516,
2175,
1720,
294,
261,
682,
32,
19516,
2175,
23429,
1947,
18,
588,
4478,
10756,
288,
4073,
18,
2725,
2175,
12,
5345,
1769,
289,
5549,
225,
364,
12,
19516,
2175,
1720,
294,
261,
682,
32,
19516,
2175,
23429,
1947,
18,
588,
4478,
10756,
288,
4073,
18,
2725,
2175,
12,
5345,
1769,
289,
5549,
225,
4750,
918,
4046,
2628,
1435,
288,
1884,
12,
19516,
2175,
1720,
294,
261,
682,
32,
19516,
2175,
23429,
1947,
18,
588,
4478,
10756,
288,
4073,
18,
2725,
2175,
12,
5345,
1769,
289,
5549,
225,
364,
12,
19516,
2175,
1720,
294,
261,
682,
32,
19516,
2175,
23429,
1947,
18,
588,
4478,
10756,
288,
4073,
18,
2725,
2175,
12,
5345,
1769,
289,
5549,
225,
364,
2
] |
|
downloader.doDownload(false);
|
downloader.doDownload(false,null);
|
private static void testOverlapCheckSpeed(int rate) { RemoteFileDesc rfd=newRFD(6346, 100); System.out.println("-Measuring time for download at rate "+rate+"..."); uploader1.setRate(rate); long start1=System.currentTimeMillis(); try { HTTPDownloader downloader=new HTTPDownloader( rfd, file, 0, TestFile.length()); downloader.connect(); downloader.doDownload(true); } catch (IOException e) { Assert.that(false, "Unexpected exception: "+e); } catch (OverlapMismatchException e) { Assert.that(false, "Unexpected mismatch"); } long elapsed1=System.currentTimeMillis()-start1; // try{// RandomAccessFile raf = new RandomAccessFile(file,"rw");// raf.seek(300);// raf.write(65);// } catch (IOException io) {// Assert.that(false, "Error programing a spook");// } long start2=System.currentTimeMillis(); try { HTTPDownloader downloader=new HTTPDownloader( rfd, file, 0, TestFile.length()); downloader.connect(); downloader.doDownload(false); } catch (IOException e) { Assert.that(false, "Unexpected exception: "+e); } catch (OverlapMismatchException e) { Assert.that(false, "Unexpected mismatch"); } long elapsed2=System.currentTimeMillis()-start2; System.out.println(" No check="+elapsed2+", check="+elapsed1); }
|
5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/aa7722a500c952772fb40e6c20753404a974c9d3/DownloadTester.java/clean/components/gnutella-core/src/main/java/com/limegroup/gnutella/tests/downloader/DownloadTester.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
1842,
17411,
1564,
16562,
12,
474,
4993,
13,
288,
3639,
6304,
812,
4217,
436,
8313,
33,
2704,
12918,
40,
12,
4449,
8749,
16,
2130,
1769,
3639,
2332,
18,
659,
18,
8222,
2932,
17,
23177,
4017,
813,
364,
4224,
622,
4993,
13773,
5141,
9078,
7070,
1769,
3639,
25062,
21,
18,
542,
4727,
12,
5141,
1769,
3639,
1525,
787,
21,
33,
3163,
18,
2972,
28512,
5621,
3639,
775,
288,
5411,
2239,
4164,
6714,
28122,
33,
2704,
2239,
4164,
6714,
12,
7734,
436,
8313,
16,
585,
16,
374,
16,
7766,
812,
18,
2469,
10663,
5411,
28122,
18,
3612,
5621,
5411,
28122,
18,
2896,
7109,
12,
3767,
1769,
7734,
289,
1044,
261,
14106,
425,
13,
288,
5411,
5452,
18,
19056,
12,
5743,
16,
315,
7762,
1520,
30,
13773,
73,
1769,
3639,
289,
1044,
261,
17411,
16901,
503,
425,
13,
288,
5411,
5452,
18,
19056,
12,
5743,
16,
315,
7762,
13484,
8863,
3639,
289,
3639,
1525,
9613,
21,
33,
3163,
18,
2972,
28512,
1435,
17,
1937,
21,
31,
3639,
368,
540,
775,
95,
759,
2398,
8072,
26933,
24671,
273,
394,
8072,
26933,
12,
768,
10837,
21878,
8863,
759,
2398,
24671,
18,
16508,
12,
19249,
1769,
759,
2398,
24671,
18,
2626,
12,
9222,
1769,
759,
540,
289,
1044,
261,
14106,
2527,
13,
288,
759,
2398,
5452,
18,
19056,
12,
5743,
16,
315,
668,
5402,
310,
279,
1694,
1184,
8863,
759,
540,
289,
7734,
1525,
787,
22,
33,
3163,
18,
2972,
28512,
5621,
3639,
775,
288,
5411,
2239,
4164,
6714,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
1842,
17411,
1564,
16562,
12,
474,
4993,
13,
288,
3639,
6304,
812,
4217,
436,
8313,
33,
2704,
12918,
40,
12,
4449,
8749,
16,
2130,
1769,
3639,
2332,
18,
659,
18,
8222,
2932,
17,
23177,
4017,
813,
364,
4224,
622,
4993,
13773,
5141,
9078,
7070,
1769,
3639,
25062,
21,
18,
542,
4727,
12,
5141,
1769,
3639,
1525,
787,
21,
33,
3163,
18,
2972,
28512,
5621,
3639,
775,
288,
5411,
2239,
4164,
6714,
28122,
33,
2704,
2239,
4164,
6714,
12,
7734,
436,
8313,
16,
585,
16,
374,
16,
7766,
812,
18,
2469,
10663,
5411,
28122,
18,
3612,
5621,
5411,
28122,
18,
2896,
7109,
12,
3767,
1769,
7734,
289,
1044,
261,
14106,
425,
13,
288,
5411,
5452,
18,
2
] |
c = new CommandlineParser(new String[] { "--version" });
|
c = new CommandlineParser(new String[] { "--version" }, outStream);
|
public void testParsing() { CommandlineParser c = new CommandlineParser(new String[] { "-e", "hello", "-e", "world" }); assertEquals("hello\nworld\n", c.inlineScript()); assertNull(c.getScriptFileName()); assertEquals("-e", c.displayedFileName()); c = new CommandlineParser(new String[] { "--version" }); assertTrue(c.isShowVersion()); c = new CommandlineParser(new String[] { "-n", "myfile.rb" }); assertTrue(c.isAssumeLoop()); assertEquals("myfile.rb", c.getScriptFileName()); assertEquals("myfile.rb", c.displayedFileName()); c = new CommandlineParser(new String[0]); assertEquals("-", c.displayedFileName()); }
|
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/f321a7dc6c9f0229cc5266d9c2923a04a755be60/TestCommandlineParser.java/clean/test/org/jruby/test/TestCommandlineParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
13963,
1435,
288,
3639,
3498,
1369,
2678,
276,
273,
394,
3498,
1369,
2678,
12,
2704,
514,
8526,
288,
3701,
73,
3113,
315,
23711,
3113,
3701,
73,
3113,
315,
18179,
6,
15549,
3639,
1815,
8867,
2932,
23711,
64,
82,
18179,
64,
82,
3113,
276,
18,
10047,
3651,
10663,
3639,
1815,
2041,
12,
71,
18,
588,
3651,
4771,
10663,
3639,
1815,
8867,
2932,
17,
73,
3113,
276,
18,
5417,
329,
4771,
10663,
3639,
276,
273,
394,
3498,
1369,
2678,
12,
2704,
514,
8526,
288,
5238,
1589,
6,
19879,
28997,
1769,
3639,
1815,
5510,
12,
71,
18,
291,
5706,
1444,
10663,
3639,
276,
273,
394,
3498,
1369,
2678,
12,
2704,
514,
8526,
288,
3701,
82,
3113,
315,
4811,
768,
18,
6731,
6,
15549,
3639,
1815,
5510,
12,
71,
18,
291,
2610,
2066,
6452,
10663,
3639,
1815,
8867,
2932,
4811,
768,
18,
6731,
3113,
276,
18,
588,
3651,
4771,
10663,
3639,
1815,
8867,
2932,
4811,
768,
18,
6731,
3113,
276,
18,
5417,
329,
4771,
10663,
3639,
276,
273,
394,
3498,
1369,
2678,
12,
2704,
514,
63,
20,
19226,
3639,
1815,
8867,
2932,
17,
3113,
276,
18,
5417,
329,
4771,
10663,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
13963,
1435,
288,
3639,
3498,
1369,
2678,
276,
273,
394,
3498,
1369,
2678,
12,
2704,
514,
8526,
288,
3701,
73,
3113,
315,
23711,
3113,
3701,
73,
3113,
315,
18179,
6,
15549,
3639,
1815,
8867,
2932,
23711,
64,
82,
18179,
64,
82,
3113,
276,
18,
10047,
3651,
10663,
3639,
1815,
2041,
12,
71,
18,
588,
3651,
4771,
10663,
3639,
1815,
8867,
2932,
17,
73,
3113,
276,
18,
5417,
329,
4771,
10663,
3639,
276,
273,
394,
3498,
1369,
2678,
12,
2704,
514,
8526,
288,
5238,
1589,
6,
19879,
28997,
1769,
3639,
1815,
5510,
12,
71,
18,
291,
5706,
1444,
10663,
3639,
276,
273,
394,
3498,
1369,
2678,
12,
2704,
514,
8526,
288,
3701,
82,
3113,
315,
4811,
2
] |
DEBUG ("(POP) XMLValidator.copyAtts: " + param("fromElementType",fromElementType) + param("toElementType",toElementType) + "\n");
|
if (DEBUG) print("(POP) XMLValidator.copyAtts: " + param("fromElementType",fromElementType) + param("toElementType",toElementType) + "\n");
|
public void copyAtts(int fromElementType, int toElementType) { //****DEBUG**** DEBUG ("(POP) XMLValidator.copyAtts: " + param("fromElementType",fromElementType) + param("toElementType",toElementType) + "\n"); //****DEBUG**** int fromElement = fStringPool.getDeclaration(fromElementType); int toElement = fStringPool.getDeclaration(toElementType); if (fromElement == -1) return; int chunk = fromElement >> CHUNK_SHIFT; int index = fromElement & CHUNK_MASK; int attDefIndex = fAttlistHead[chunk][index]; while (attDefIndex != -1) { chunk = attDefIndex >> CHUNK_SHIFT; index = attDefIndex & CHUNK_MASK; try { addAttDef(toElement, fAttName[chunk][index], fAttType[chunk][index], fEnumeration[chunk][index], fAttDefaultType[chunk][index], fAttValue[chunk][index], fAttDefIsExternal[chunk][index] != 0); } catch (Exception ex) { } attDefIndex = fNextAttDef[chunk][index]; } }
|
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/3aa2926e7035395f8d1b5e35cb25d4e6aad6a281/XMLValidator.java/clean/src/org/apache/xerces/validators/common/XMLValidator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1610,
3075,
87,
12,
474,
628,
17481,
16,
509,
358,
17481,
13,
288,
202,
202,
759,
1007,
9394,
1007,
202,
202,
9394,
7566,
12,
30374,
13,
3167,
5126,
18,
3530,
3075,
87,
30,
315,
397,
579,
2932,
2080,
17481,
3113,
2080,
17481,
13,
397,
579,
2932,
869,
17481,
3113,
869,
17481,
13,
397,
1548,
82,
8863,
202,
202,
759,
1007,
9394,
1007,
3639,
509,
628,
1046,
273,
284,
780,
2864,
18,
588,
6094,
12,
2080,
17481,
1769,
3639,
509,
358,
1046,
273,
284,
780,
2864,
18,
588,
6094,
12,
869,
17481,
1769,
3639,
309,
261,
2080,
1046,
422,
300,
21,
13,
5411,
327,
31,
3639,
509,
2441,
273,
628,
1046,
1671,
28096,
67,
23191,
31,
3639,
509,
770,
273,
628,
1046,
473,
28096,
67,
11704,
31,
3639,
509,
2403,
3262,
1016,
273,
284,
3075,
1098,
1414,
63,
6551,
6362,
1615,
15533,
3639,
1323,
261,
4558,
3262,
1016,
480,
300,
21,
13,
288,
5411,
2441,
273,
2403,
3262,
1016,
1671,
28096,
67,
23191,
31,
5411,
770,
273,
2403,
3262,
1016,
473,
28096,
67,
11704,
31,
5411,
775,
288,
7734,
527,
3075,
3262,
12,
869,
1046,
16,
21821,
284,
3075,
461,
63,
6551,
6362,
1615,
6487,
21821,
284,
3075,
559,
63,
6551,
6362,
1615,
6487,
21821,
284,
21847,
63,
6551,
6362,
1615,
6487,
21821,
284,
3075,
1868,
559,
63,
6551,
6362,
1615,
6487,
21821,
284,
3075,
620,
63,
6551,
6362,
1615,
6487,
21821,
284,
3075,
3262,
2520,
6841,
63,
6551,
6362,
1615,
65,
480,
374,
1769,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1610,
3075,
87,
12,
474,
628,
17481,
16,
509,
358,
17481,
13,
288,
202,
202,
759,
1007,
9394,
1007,
202,
202,
9394,
7566,
12,
30374,
13,
3167,
5126,
18,
3530,
3075,
87,
30,
315,
397,
579,
2932,
2080,
17481,
3113,
2080,
17481,
13,
397,
579,
2932,
869,
17481,
3113,
869,
17481,
13,
397,
1548,
82,
8863,
202,
202,
759,
1007,
9394,
1007,
3639,
509,
628,
1046,
273,
284,
780,
2864,
18,
588,
6094,
12,
2080,
17481,
1769,
3639,
509,
358,
1046,
273,
284,
780,
2864,
18,
588,
6094,
12,
869,
17481,
1769,
3639,
309,
261,
2080,
1046,
422,
300,
21,
13,
5411,
327,
31,
3639,
509,
2441,
273,
628,
1046,
1671,
28096,
67,
23191,
31,
3639,
2
] |
f = f.resolve();
|
f = resolve(f);
|
public void visitAPUTFIELD(jq_InstanceField f) { super.visitAPUTFIELD(f); f = f.resolve(); Object v = state.pop_A(); vm.putfield_A(state.pop_A(), f, v); }
|
3029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3029/d12f1e1bc9744829efc71c43906f1f511c2f07d2/Interpreter.java/clean/joeq_native/joeq/Interpreter/Interpreter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3757,
2203,
1693,
6776,
12,
78,
85,
67,
1442,
974,
284,
13,
288,
5411,
2240,
18,
11658,
2203,
1693,
6776,
12,
74,
1769,
5411,
284,
273,
2245,
12,
74,
1769,
5411,
1033,
331,
273,
919,
18,
5120,
67,
37,
5621,
5411,
4268,
18,
458,
1518,
67,
37,
12,
2019,
18,
5120,
67,
37,
9334,
284,
16,
331,
1769,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3757,
2203,
1693,
6776,
12,
78,
85,
67,
1442,
974,
284,
13,
288,
5411,
2240,
18,
11658,
2203,
1693,
6776,
12,
74,
1769,
5411,
284,
273,
2245,
12,
74,
1769,
5411,
1033,
331,
273,
919,
18,
5120,
67,
37,
5621,
5411,
4268,
18,
458,
1518,
67,
37,
12,
2019,
18,
5120,
67,
37,
9334,
284,
16,
331,
1769,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
final PsiExpression expression = expressionStatement.getExpression();
|
final PsiExpression expression = expressionStatement .getExpression();
|
private boolean statementMustAssignVariable(PsiVariable field, PsiStatement statement, Set<MethodSignature> checkedMethods){ if(statement == null){ return false; } if(statement instanceof PsiBreakStatement || statement instanceof PsiContinueStatement || statement instanceof PsiAssertStatement || statement instanceof PsiEmptyStatement){ return false; } else if(statement instanceof PsiReturnStatement){ final PsiReturnStatement returnStatement = (PsiReturnStatement) statement; final PsiExpression returnValue = returnStatement.getReturnValue(); return expressionMustAssignVariable(field, returnValue, checkedMethods); } else if(statement instanceof PsiThrowStatement){ final PsiThrowStatement throwStatement = (PsiThrowStatement) statement; final PsiExpression exception = throwStatement.getException(); return expressionMustAssignVariable(field, exception, checkedMethods); } else if(statement instanceof PsiExpressionListStatement){ final PsiExpressionListStatement list = (PsiExpressionListStatement) statement; final PsiExpressionList expressionList = list.getExpressionList(); final PsiExpression[] expressions = expressionList.getExpressions(); for(final PsiExpression expression : expressions){ if(expressionMustAssignVariable(field, expression, checkedMethods)){ return true; } } return false; } else if(statement instanceof PsiExpressionStatement){ final PsiExpressionStatement expressionStatement = (PsiExpressionStatement) statement; final PsiExpression expression = expressionStatement.getExpression(); return expressionMustAssignVariable(field, expression, checkedMethods); } else if(statement instanceof PsiDeclarationStatement){ return declarationStatementMustAssignVariable(field, (PsiDeclarationStatement) statement, checkedMethods); } else if(statement instanceof PsiForStatement){ return forStatementMustAssignVariable(field, (PsiForStatement) statement, checkedMethods); } else if(statement instanceof PsiForeachStatement){ return foreachStatementMustAssignVariable(field, (PsiForeachStatement) statement); } else if(statement instanceof PsiWhileStatement){ return whileStatementMustAssignVariable(field, (PsiWhileStatement) statement, checkedMethods); } else if(statement instanceof PsiDoWhileStatement){ return doWhileMustAssignVariable(field, (PsiDoWhileStatement) statement, checkedMethods); } else if(statement instanceof PsiSynchronizedStatement){ final PsiCodeBlock body = ((PsiSynchronizedStatement) statement).getBody(); return cachingBlockMustAssignVariable(field, body, checkedMethods); } else if(statement instanceof PsiBlockStatement){ final PsiCodeBlock codeBlock = ((PsiBlockStatement) statement).getCodeBlock(); return cachingBlockMustAssignVariable(field, codeBlock, checkedMethods); } else if(statement instanceof PsiLabeledStatement){ final PsiLabeledStatement labeledStatement = (PsiLabeledStatement) statement; final PsiStatement statementLabeled = labeledStatement.getStatement(); return statementMustAssignVariable(field, statementLabeled, checkedMethods); } else if(statement instanceof PsiIfStatement){ return ifStatementMustAssignVariable(field, (PsiIfStatement) statement, checkedMethods); } else if(statement instanceof PsiTryStatement){ return tryStatementMustAssignVariable(field, (PsiTryStatement) statement, checkedMethods); } else if(statement instanceof PsiSwitchStatement){ return false; } else // unknown statement type { return false; } }
|
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/fc3fc1341db4aa6d26930bf45116ec44c28fc569/InitializationReadUtils.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/psiutils/InitializationReadUtils.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
3021,
10136,
4910,
3092,
12,
52,
7722,
3092,
652,
16,
4766,
7734,
453,
7722,
3406,
3021,
16,
4766,
7734,
1000,
32,
1305,
5374,
34,
5950,
4712,
15329,
3639,
309,
12,
11516,
422,
446,
15329,
5411,
327,
629,
31,
3639,
289,
3639,
309,
12,
11516,
1276,
453,
7722,
7634,
3406,
747,
7734,
3021,
1276,
453,
7722,
12378,
3406,
747,
7734,
3021,
1276,
453,
7722,
8213,
3406,
747,
7734,
3021,
1276,
453,
7722,
1921,
3406,
15329,
5411,
327,
629,
31,
3639,
289,
469,
309,
12,
11516,
1276,
453,
7722,
990,
3406,
15329,
5411,
727,
453,
7722,
990,
3406,
327,
3406,
273,
261,
52,
7722,
990,
3406,
13,
3021,
31,
5411,
727,
453,
7722,
2300,
7750,
273,
327,
3406,
18,
588,
19092,
5621,
5411,
327,
2652,
10136,
4910,
3092,
12,
1518,
16,
7750,
16,
4766,
7734,
5950,
4712,
1769,
3639,
289,
469,
309,
12,
11516,
1276,
453,
7722,
8282,
3406,
15329,
5411,
727,
453,
7722,
8282,
3406,
604,
3406,
273,
261,
52,
7722,
8282,
3406,
13,
3021,
31,
5411,
727,
453,
7722,
2300,
1520,
273,
604,
3406,
18,
588,
503,
5621,
5411,
327,
2652,
10136,
4910,
3092,
12,
1518,
16,
1520,
16,
4766,
7734,
5950,
4712,
1769,
3639,
289,
469,
309,
12,
11516,
1276,
453,
7722,
2300,
682,
3406,
15329,
5411,
727,
453,
7722,
2300,
682,
3406,
666,
273,
261,
52,
7722,
2300,
682,
3406,
13,
3021,
31,
5411,
727,
453,
7722,
2300,
682,
2652,
682,
273,
666,
18,
588,
2300,
682,
5621,
5411,
727,
453,
7722,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
3021,
10136,
4910,
3092,
12,
52,
7722,
3092,
652,
16,
4766,
7734,
453,
7722,
3406,
3021,
16,
4766,
7734,
1000,
32,
1305,
5374,
34,
5950,
4712,
15329,
3639,
309,
12,
11516,
422,
446,
15329,
5411,
327,
629,
31,
3639,
289,
3639,
309,
12,
11516,
1276,
453,
7722,
7634,
3406,
747,
7734,
3021,
1276,
453,
7722,
12378,
3406,
747,
7734,
3021,
1276,
453,
7722,
8213,
3406,
747,
7734,
3021,
1276,
453,
7722,
1921,
3406,
15329,
5411,
327,
629,
31,
3639,
289,
469,
309,
12,
11516,
1276,
453,
7722,
990,
3406,
15329,
5411,
727,
453,
7722,
990,
3406,
327,
3406,
273,
261,
52,
7722,
990,
3406,
13,
3021,
31,
5411,
727,
453,
7722,
2300,
7750,
273,
327,
3406,
2
] |
throw new UnsupportedOperationException(); }
|
throw new UnsupportedOperationException(); }
|
public Time getTime(int arg0) throws OLAPException { throw new UnsupportedOperationException(); }
|
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/b5b5168edc3af09cb74945a80b0c36e6630ed502/CursorSupport.java/buggy/src/main/mondrian/jolap/CursorSupport.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2647,
6135,
12,
474,
1501,
20,
13,
1216,
531,
48,
2203,
503,
288,
202,
202,
12849,
394,
13172,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2647,
6135,
12,
474,
1501,
20,
13,
1216,
531,
48,
2203,
503,
288,
202,
202,
12849,
394,
13172,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
ChemFile chemFile = new ChemFile(); try { ChemObjectReader reader; logger.info("Loading: " + inFile); if (inFile.endsWith(".xyz")) { reader = new XYZReader(new FileReader(inFile)); logger.info("Expecting XYZ format..."); } else if (inFile.endsWith(".cml")) { String url = "file:" + System.getProperty("user.dir") + "/" + inFile; reader = new CMLReader(url); logger.info("Expecting CML format..."); } else if (inFile.endsWith(".pdb")) { reader = new PDBReader(new FileReader(inFile)); logger.info("Expecting PDB format..."); } else { reader = new MDLReader(new FileInputStream(inFile)); logger.info("Expecting MDL MolFile format...");
|
try { sdg.setMolecule((Molecule)mol.clone()); sdg.generateCoordinates(new Vector2d(0,1)); mv.setAtomContainer(sdg.getMolecule()); mv.display(); } catch(Exception exc) { System.out.println("*** Exit due to an unexpected error during coordinate generation ***"); exc.printStackTrace();
|
public Viewer(String inFile, boolean useJava3D, boolean use3D) { this.useJava3D = useJava3D; this.use3D = use3D; logger = new org.openscience.cdk.tools.LoggingTool(this.getClass().getName()); logger.dumpSystemProperties(); logger.dumpClasspath(); ChemFile chemFile = new ChemFile(); try { ChemObjectReader reader; logger.info("Loading: " + inFile); if (inFile.endsWith(".xyz")) { reader = new XYZReader(new FileReader(inFile)); logger.info("Expecting XYZ format..."); } else if (inFile.endsWith(".cml")) { String url = "file:" + System.getProperty("user.dir") + "/" + inFile; reader = new CMLReader(url); logger.info("Expecting CML format..."); } else if (inFile.endsWith(".pdb")) { reader = new PDBReader(new FileReader(inFile)); logger.info("Expecting PDB format..."); } else { reader = new MDLReader(new FileInputStream(inFile)); logger.info("Expecting MDL MolFile format..."); } chemFile = (ChemFile)reader.read((ChemObject)new ChemFile()); } catch(Exception exc) { logger.error("Error while reading file"); logger.error(exc.toString()); exc.printStackTrace(); System.exit(1); } ChemSequence chemSequence; ChemModel chemModel; SetOfMolecules setOfMolecules; logger.info(" number of sequences: " + chemFile.getChemSequenceCount()); for (int sequence = 0; sequence < chemFile.getChemSequenceCount(); sequence++) { chemSequence = chemFile.getChemSequence(sequence); logger.info(" number of models in sequence " + sequence + ": " + chemSequence.getChemModelCount()); for (int model = 0; model < chemSequence.getChemModelCount(); model++) { chemModel = chemSequence.getChemModel(model); setOfMolecules = chemModel.getSetOfMolecules(); logger.info(" number of molecules in model " + model + ": " + setOfMolecules.getMoleculeCount()); for (int i = 0; i < setOfMolecules.getMoleculeCount(); i++) { Molecule m = setOfMolecules.getMolecule(i); // use Accelerated viewer if 3D coords are available if (GeometryTools.has3DCoordinates(m) && use3D) { logger.info("Viewing with 3D viewer"); boolean viewed = false; if (useJava3D) { logger.debug(".. trying Java3D viewer"); try { JFrame frame = new JFrame("AcceleratedRenderer3DTest"); frame.getContentPane().setLayout(new BorderLayout()); AtomContainer atomContainer = chemModel.getAllInOneContainer(); AcceleratedRenderer3D renderer = new AcceleratedRenderer3D( new AcceleratedRenderer3DModel(atomContainer)); frame.getContentPane().add(renderer, BorderLayout.CENTER); frame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE); frame.setSize(500,500); frame.setVisible(true); logger.debug(".. done"); viewed = true; } catch (Exception e) { logger.error("Viewing did not succeed!"); logger.error(e.toString()); } } // try to view it without Java3D if (!viewed) { logger.debug(".. trying non-Java3D viewer"); MoleculeViewer3D mv = new MoleculeViewer3D(m); mv.display(); logger.debug(".. done"); } } else if (GeometryTools.has2DCoordinates(m)) { logger.info("Viewing with 2D viewer"); MoleculeViewer2D mv = new MoleculeViewer2D(m); mv.display(); } else { System.out.println("Molecule has no coordinates."); } } } } }
|
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/0a06919741801d4e191547f8003d99a1b2ce6242/Viewer.java/clean/src/org/openscience/cdk/applications/Viewer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4441,
264,
12,
780,
316,
812,
16,
1250,
999,
5852,
23,
40,
16,
1250,
999,
23,
40,
13,
288,
3639,
333,
18,
1202,
5852,
23,
40,
273,
999,
5852,
23,
40,
31,
3639,
333,
18,
1202,
23,
40,
273,
999,
23,
40,
31,
3639,
1194,
273,
394,
2358,
18,
20346,
71,
6254,
18,
71,
2883,
18,
6642,
18,
7735,
6364,
12,
2211,
18,
588,
797,
7675,
17994,
10663,
3639,
1194,
18,
8481,
3163,
2297,
5621,
3639,
1194,
18,
8481,
17461,
5621,
3639,
26542,
812,
19028,
812,
273,
394,
26542,
812,
5621,
3639,
775,
288,
5411,
26542,
921,
2514,
2949,
31,
5411,
1194,
18,
1376,
2932,
10515,
30,
315,
397,
316,
812,
1769,
5411,
309,
261,
267,
812,
18,
5839,
1190,
2932,
18,
17177,
6,
3719,
288,
9079,
2949,
273,
394,
30742,
2514,
12,
2704,
23010,
12,
267,
812,
10019,
9079,
1194,
18,
1376,
2932,
24439,
30742,
740,
7070,
1769,
5411,
289,
469,
309,
261,
267,
812,
18,
5839,
1190,
2932,
18,
71,
781,
6,
3719,
288,
7734,
514,
880,
273,
315,
768,
2773,
397,
2332,
18,
588,
1396,
2932,
1355,
18,
1214,
7923,
397,
4016,
397,
316,
812,
31,
7734,
2949,
273,
394,
385,
1495,
2514,
12,
718,
1769,
7734,
1194,
18,
1376,
2932,
24439,
385,
1495,
740,
7070,
1769,
5411,
289,
469,
309,
261,
267,
812,
18,
5839,
1190,
2932,
18,
17414,
6,
3719,
288,
7734,
2949,
273,
394,
21601,
2514,
12,
2704,
23010,
12,
267,
812,
10019,
7734,
1194,
18,
1376,
2932,
24439,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4441,
264,
12,
780,
316,
812,
16,
1250,
999,
5852,
23,
40,
16,
1250,
999,
23,
40,
13,
288,
3639,
333,
18,
1202,
5852,
23,
40,
273,
999,
5852,
23,
40,
31,
3639,
333,
18,
1202,
23,
40,
273,
999,
23,
40,
31,
3639,
1194,
273,
394,
2358,
18,
20346,
71,
6254,
18,
71,
2883,
18,
6642,
18,
7735,
6364,
12,
2211,
18,
588,
797,
7675,
17994,
10663,
3639,
1194,
18,
8481,
3163,
2297,
5621,
3639,
1194,
18,
8481,
17461,
5621,
3639,
26542,
812,
19028,
812,
273,
394,
26542,
812,
5621,
3639,
775,
288,
5411,
26542,
921,
2514,
2949,
31,
5411,
1194,
18,
1376,
2932,
10515,
30,
315,
397,
316,
812,
1769,
5411,
309,
261,
267,
812,
2
] |
org.exist.xquery.parser.XQueryAST tmp182_AST = null; tmp182_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp182_AST);
|
org.exist.xquery.parser.XQueryAST tmp181_AST = null; tmp181_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp181_AST);
|
public final void rangeExpr() throws RecognitionException, TokenStreamException, XPathException { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST rangeExpr_AST = null; additiveExpr(); astFactory.addASTChild(currentAST, returnAST); { switch ( LA(1)) { case LITERAL_to: { org.exist.xquery.parser.XQueryAST tmp182_AST = null; tmp182_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp182_AST); match(LITERAL_to); additiveExpr(); astFactory.addASTChild(currentAST, returnAST); break; } case EOF: case RPAREN: case EQ: case LITERAL_default: case LITERAL_collation: case RCURLY: case COMMA: case LITERAL_empty: case LITERAL_for: case LITERAL_let: case LITERAL_where: case LITERAL_return: case LITERAL_order: case LITERAL_ascending: case LITERAL_descending: case LITERAL_satisfies: case LITERAL_case: case LITERAL_else: case LITERAL_or: case LITERAL_and: case LITERAL_instance: case LITERAL_castable: case LITERAL_cast: case LT: case GT: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GTEQ: case LTEQ: case LITERAL_is: case LITERAL_isnot: case ANDEQ: case OREQ: case RPPAREN: { break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } rangeExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; returnAST = rangeExpr_AST; }
|
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/00430aa4dd6963441696c4ac7250593b74a38b39/XQueryParser.java/clean/src/org/exist/xquery/parser/XQueryParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1048,
4742,
1435,
1216,
9539,
16,
3155,
1228,
503,
16,
10172,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
1048,
4742,
67,
9053,
273,
446,
31,
9506,
202,
1289,
3720,
4742,
5621,
202,
202,
689,
1733,
18,
1289,
9053,
1763,
12,
2972,
9053,
16,
327,
9053,
1769,
202,
202,
95,
202,
202,
9610,
261,
2928,
12,
21,
3719,
288,
202,
202,
3593,
511,
18454,
67,
869,
30,
202,
202,
95,
1082,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
1853,
28246,
67,
9053,
273,
446,
31,
1082,
202,
5645,
28246,
67,
9053,
273,
261,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
13,
689,
1733,
18,
2640,
12,
12050,
12,
21,
10019,
1082,
202,
689,
1733,
18,
6540,
9053,
2375,
12,
2972,
9053,
16,
1853,
28246,
67,
9053,
1769,
1082,
202,
1916,
12,
23225,
67,
869,
1769,
1082,
202,
1289,
3720,
4742,
5621,
1082,
202,
689,
1733,
18,
1289,
9053,
1763,
12,
2972,
9053,
16,
327,
9053,
1769,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
6431,
30,
202,
202,
3593,
534,
15111,
30,
202,
202,
3593,
22426,
30,
202,
202,
3593,
511,
18454,
67,
1886,
30,
202,
202,
3593,
511,
18454,
67,
29992,
30,
202,
202,
3593,
534,
26314,
30,
202,
202,
3593,
17373,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1048,
4742,
1435,
1216,
9539,
16,
3155,
1228,
503,
16,
10172,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
1048,
4742,
67,
9053,
273,
446,
31,
9506,
202,
1289,
3720,
4742,
5621,
202,
202,
689,
1733,
18,
1289,
9053,
1763,
12,
2972,
9053,
16,
327,
9053,
1769,
202,
202,
95,
202,
202,
9610,
261,
2928,
12,
21,
3719,
288,
202,
202,
3593,
511,
18454,
67,
869,
30,
202,
202,
95,
1082,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
1853,
28246,
67,
9053,
2
] |
if (match.getElement() != null && ((IJavaElement)match.getElement()).getElementType() != IJavaElement.PACKAGE_FRAGMENT && ((IJavaElement)match.getElement()).getElementType() != IJavaElement.PACKAGE_FRAGMENT_ROOT) { Object result = createSearchResult(match); if(result != null){ results.add(result);
|
if (match.getElement() != null){ int elementType = ((IJavaElement)match.getElement()).getElementType(); if (elementType != IJavaElement.PACKAGE_FRAGMENT && elementType != IJavaElement.PACKAGE_FRAGMENT_ROOT) { Object result = createSearchResult(match); if(result != null){ results.add(result); }
|
public Object executeSearch (CommandLine _commandLine) throws IOException { List results = new ArrayList(); try{ int context = -1; if(_commandLine.hasOption(Options.CONTEXT_OPTION)){ context = getContext(_commandLine.getValue(Options.CONTEXT_OPTION)); } String project = _commandLine.getValue(Options.NAME_OPTION); String scope = _commandLine.getValue(Options.SCOPE_OPTION); String file = _commandLine.getValue(Options.FILE_OPTION); String offset = _commandLine.getValue(Options.OFFSET_OPTION); String length = _commandLine.getValue(Options.LENGTH_OPTION); String pat = _commandLine.getValue(Options.PATTERN_OPTION); SearchPattern pattern = null; // element search if(file != null && offset != null && length != null){ Position position = new Position( file, Integer.parseInt(offset), Integer.parseInt(length)); IJavaElement element = getElement(position); if(element != null){ // user requested a contextual search. if(context == -1){ context = getElementContextualContext(element); } pattern = SearchPattern.createPattern(element, context); } // pattern search }else if(pat != null){ int type = getType(_commandLine.getValue(Options.TYPE_OPTION)); int matchType = (pat.indexOf('*') != -1 || pat.indexOf('?') != -1) ? SearchPattern.R_PATTERN_MATCH : SearchPattern.R_FULL_MATCH; pattern = SearchPattern.createPattern(pat, type, context, matchType); // bad search request }else{ throw new IllegalArgumentException( Services.getMessage("java_search.indeterminate")); } if(pattern != null){ IJavaProject javaProject = JavaUtils.getJavaProject(project); IType type = null; if(file.endsWith(".java")){ type = JavaUtils.getCompilationUnit(project, file).findPrimaryType(); } List matches = search(pattern, getScope(scope, javaProject, type)); for(Iterator ii = matches.iterator(); ii.hasNext();){ SearchMatch match = (SearchMatch)ii.next(); if (match.getElement() != null && ((IJavaElement)match.getElement()).getElementType() != IJavaElement.PACKAGE_FRAGMENT && ((IJavaElement)match.getElement()).getElementType() != IJavaElement.PACKAGE_FRAGMENT_ROOT) { Object result = createSearchResult(match); if(result != null){ results.add(result); } } } } }catch(Exception e){ return e; } return results; }
|
46034 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46034/9a1f3891caf8cfde0b620fc1c1ee63304a6891e0/SearchCommand.java/clean/src/java/org/eclim/plugin/jdt/command/search/SearchCommand.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
1836,
2979,
261,
21391,
389,
3076,
1670,
13,
565,
1216,
1860,
225,
288,
565,
987,
1686,
273,
394,
2407,
5621,
565,
775,
95,
1377,
509,
819,
273,
300,
21,
31,
1377,
309,
24899,
3076,
1670,
18,
5332,
1895,
12,
1320,
18,
13181,
67,
7425,
3719,
95,
3639,
819,
273,
6474,
24899,
3076,
1670,
18,
24805,
12,
1320,
18,
13181,
67,
7425,
10019,
1377,
289,
1377,
514,
1984,
273,
389,
3076,
1670,
18,
24805,
12,
1320,
18,
1985,
67,
7425,
1769,
1377,
514,
2146,
273,
389,
3076,
1670,
18,
24805,
12,
1320,
18,
19444,
67,
7425,
1769,
1377,
514,
585,
273,
389,
3076,
1670,
18,
24805,
12,
1320,
18,
3776,
67,
7425,
1769,
1377,
514,
1384,
273,
389,
3076,
1670,
18,
24805,
12,
1320,
18,
11271,
67,
7425,
1769,
1377,
514,
769,
273,
389,
3076,
1670,
18,
24805,
12,
1320,
18,
7096,
67,
7425,
1769,
1377,
514,
9670,
273,
389,
3076,
1670,
18,
24805,
12,
1320,
18,
10831,
67,
7425,
1769,
1377,
5167,
3234,
1936,
273,
446,
31,
1377,
368,
930,
1623,
1377,
309,
12,
768,
480,
446,
597,
1384,
480,
446,
597,
769,
480,
446,
15329,
3639,
11010,
1754,
273,
394,
11010,
12,
5411,
585,
16,
2144,
18,
2670,
1702,
12,
3348,
3631,
2144,
18,
2670,
1702,
12,
2469,
10019,
3639,
467,
5852,
1046,
930,
273,
7426,
12,
3276,
1769,
3639,
309,
12,
2956,
480,
446,
15329,
1850,
368,
729,
3764,
279,
22724,
1623,
18,
1850,
309,
12,
2472,
422,
300,
21,
15329,
5411,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
1836,
2979,
261,
21391,
389,
3076,
1670,
13,
565,
1216,
1860,
225,
288,
565,
987,
1686,
273,
394,
2407,
5621,
565,
775,
95,
1377,
509,
819,
273,
300,
21,
31,
1377,
309,
24899,
3076,
1670,
18,
5332,
1895,
12,
1320,
18,
13181,
67,
7425,
3719,
95,
3639,
819,
273,
6474,
24899,
3076,
1670,
18,
24805,
12,
1320,
18,
13181,
67,
7425,
10019,
1377,
289,
1377,
514,
1984,
273,
389,
3076,
1670,
18,
24805,
12,
1320,
18,
1985,
67,
7425,
1769,
1377,
514,
2146,
273,
389,
3076,
1670,
18,
24805,
12,
1320,
18,
19444,
67,
7425,
1769,
1377,
514,
585,
273,
389,
3076,
1670,
18,
24805,
12,
1320,
18,
3776,
67,
7425,
1769,
1377,
514,
1384,
273,
2
] |
it = pop(); it2 = pop();
|
if (DEBUG) System.out.println("Long math: " + this); it = pop(); it2 = pop(); try {
|
public void sawOpcode(DismantleBytecode dbc, int seen) { int register, intConstant; JavaClass cls; String signature; Item it, it2, it3; Constant cons; if (dbc.getPC() == jumpTarget) { jumpTarget = -1; if (!jumpStack.empty()) { List<Item> stackToMerge = jumpStack.pop(); // merge stacks if (stack.size() != stackToMerge.size()) { if (DEBUG) { System.out.println("Bad merging stacks"); System.out.println("current stack: " + stack); System.out.println("jump stack: " + stackToMerge); } } else { if (DEBUG) { System.out.println("Merging stacks"); System.out.println("current stack: " + stack); System.out.println("jump stack: " + stackToMerge); } for(int i = 0; i < stack.size(); i++) stack.set(i, Item.merge(stack.get(i), stackToMerge.get(i))); if (DEBUG) { System.out.println("merged stack: " + stack); } } } } try { switch (seen) { case ALOAD: pushByLocalObjectLoad(dbc, dbc.getRegisterOperand()); break; case ALOAD_0: case ALOAD_1: case ALOAD_2: case ALOAD_3: pushByLocalObjectLoad(dbc, seen - ALOAD_0); break; case DLOAD: pushByLocalLoad("D", dbc.getRegisterOperand()); break; case DLOAD_0: case DLOAD_1: case DLOAD_2: case DLOAD_3: pushByLocalLoad("D", seen - DLOAD_0); break; case FLOAD: pushByLocalLoad("F", dbc.getRegisterOperand()); break; case FLOAD_0: case FLOAD_1: case FLOAD_2: case FLOAD_3: pushByLocalLoad("F", seen - FLOAD_0); break; case ILOAD: pushByLocalLoad("I", dbc.getRegisterOperand()); break; case ILOAD_0: case ILOAD_1: case ILOAD_2: case ILOAD_3: pushByLocalLoad("I", seen - ILOAD_0); break; case LLOAD: pushByLocalLoad("J", dbc.getRegisterOperand()); break; case LLOAD_0: case LLOAD_1: case LLOAD_2: case LLOAD_3: pushByLocalLoad("J", seen - LLOAD_0); break; case GETSTATIC: { Item i = new Item(dbc.getSigConstantOperand(), FieldAnnotation.fromReferencedField(dbc)); push(i); break; } case LDC: case LDC_W: case LDC2_W: cons = dbc.getConstantRefOperand(); pushByConstant(dbc, cons); break; case INSTANCEOF: pop(); push(new Item("I")); break; case ARETURN: case DRETURN: case FRETURN: case IFEQ: case IFNE: case IFLT: case IFLE: case IFGT: case IFGE: case IFNONNULL: case IFNULL: case IRETURN: case LOOKUPSWITCH: case LRETURN: case TABLESWITCH: seenTransferOfControl = true; pop(); break; case MONITORENTER: case MONITOREXIT: case POP: case PUTSTATIC: pop(); break; case IF_ACMPEQ: case IF_ACMPNE: case IF_ICMPEQ: case IF_ICMPNE: case IF_ICMPLT: case IF_ICMPLE: case IF_ICMPGT: case IF_ICMPGE: seenTransferOfControl = true; pop(2); break; case POP2: case PUTFIELD: pop(2); break; case IALOAD: case SALOAD: pop(2); push(new Item("I")); break; case DUP: it = pop(); push(it); push(it); break; case DUP2: it = pop(); it2 = pop(); push(it2); push(it); push(it2); push(it); break; case DUP_X1: it = pop(); it2 = pop(); push(it); push(it2); push(it); break; case DUP_X2: it = pop(); it2 = pop(); signature = it2.getSignature(); if (signature.equals("J") || signature.equals("D")) { push(it); push(it2); push(it); } else { it3 = pop(); push(it); push(it3); push(it2); push(it); } break; case DUP2_X1: it = pop(); it2 = pop(); signature = it.getSignature(); if (signature.equals("J") || signature.equals("D")) { push(it); push(it2); push(it); } else { it3 = pop(); push(it2); push(it); push(it3); push(it2); push(it); } break; case IINC: register = dbc.getRegisterOperand(); it = getLVValue( register ); it2 = new Item("I", new Integer(dbc.getIntConstant())); pushByIntMath( IADD, it, it2); pushByLocalStore(register); break; case ATHROW: pop(); break; case CHECKCAST: case NOP: break; case RET: case RETURN: seenTransferOfControl = true; break; case GOTO: case GOTO_W: //It is assumed that no stack items are present when seenTransferOfControl = true; if (getStackDepth() > 0) { jumpStack.push(new ArrayList<Item>(stack)); pop(); jumpTarget = dbc.getBranchTarget(); } break; case SWAP: Item i1 = pop(); Item i2 = pop(); push(i1); push(i2); break; case ICONST_M1: case ICONST_0: case ICONST_1: case ICONST_2: case ICONST_3: case ICONST_4: case ICONST_5: push(new Item("I", new Integer(seen-ICONST_0))); break; case LCONST_0: case LCONST_1: push(new Item("J", new Long(seen-LCONST_0))); break; case DCONST_0: case DCONST_1: push(new Item("D", new Double(seen-DCONST_0))); break; case FCONST_0: case FCONST_1: case FCONST_2: push(new Item("F", new Float(seen-FCONST_0))); break; case ACONST_NULL: push(new Item()); break; case ASTORE: case DSTORE: case FSTORE: case ISTORE: case LSTORE: pushByLocalStore(dbc.getRegisterOperand()); break; case ASTORE_0: case ASTORE_1: case ASTORE_2: case ASTORE_3: pushByLocalStore(seen - ASTORE_0); break; case DSTORE_0: case DSTORE_1: case DSTORE_2: case DSTORE_3: pushByLocalStore(seen - DSTORE_0); break; case FSTORE_0: case FSTORE_1: case FSTORE_2: case FSTORE_3: pushByLocalStore(seen - FSTORE_0); break; case ISTORE_0: case ISTORE_1: case ISTORE_2: case ISTORE_3: pushByLocalStore(seen - ISTORE_0); break; case LSTORE_0: case LSTORE_1: case LSTORE_2: case LSTORE_3: pushByLocalStore(seen - LSTORE_0); break; case GETFIELD: pop(); push(new Item(dbc.getSigConstantOperand(), FieldAnnotation.fromReferencedField(dbc))); break; case ARRAYLENGTH: pop(); push(new Item("I")); break; case BALOAD: { pop(2); Item v = new Item("I"); v.setSpecialKind(Item.BYTE_ARRAY_LOAD); push(v); break; } case CALOAD: pop(2); push(new Item("I")); break; case DALOAD: pop(2); push(new Item("D")); break; case FALOAD: pop(2); push(new Item("F")); break; case LALOAD: pop(2); push(new Item("J")); break; case AASTORE: case BASTORE: case CASTORE: case DASTORE: case FASTORE: case IASTORE: case LASTORE: case SASTORE: pop(3); break; case BIPUSH: case SIPUSH: push(new Item("I", new Integer((int)dbc.getIntConstant()))); break; case IADD: case ISUB: case IMUL: case IDIV: case IAND: case IOR: case IXOR: case ISHL: case ISHR: case IREM: case IUSHR: it = pop(); it2 = pop(); pushByIntMath(seen, it, it2); break; case INEG: it = pop(); if (it.getConstant() != null) { push(new Item("I", new Integer(-((Integer)it.getConstant()).intValue()))); } else { push(new Item("I")); } break; case LNEG: it = pop(); if (it.getConstant() != null) { push(new Item("J", new Long(-((Long)it.getConstant()).longValue()))); } else { push(new Item("J")); } break; case DNEG: it = pop(); if (it.getConstant() != null) { push(new Item("D", new Double(-((Double)it.getConstant()).doubleValue()))); } else { push(new Item("D")); } break; case LADD: case LSUB: case LMUL: case LDIV: case LAND: case LOR: case LXOR: case LSHL: case LSHR: case LREM: case LUSHR: it = pop(); it2 = pop(); pushByLongMath(seen, it, it2); break; case LCMP: it = pop(); it2 = pop(); if ((it.getConstant() != null) && it2.getConstant() != null) { long l = ((Long)it.getConstant()).longValue(); long l2 = ((Long)it.getConstant()).longValue(); if (l2 < l) push(new Item("I", new Integer(-1))); else if (l2 > l) push(new Item("I", new Integer(1))); else push(new Item("I", new Integer(0))); } else { push(new Item("I")); } break; case FCMPG: case FCMPL: it = pop(); it2 = pop(); if ((it.getConstant() != null) && it2.getConstant() != null) { float f = ((Float)it.getConstant()).floatValue(); float f2 = ((Float)it.getConstant()).floatValue(); if (f2 < f) push(new Item("I", new Integer(-1))); else if (f2 > f) push(new Item("I", new Integer(1))); else push(new Item("I", new Integer(0))); } else { push(new Item("I")); } break; case DCMPG: case DCMPL: it = pop(); it2 = pop(); if ((it.getConstant() != null) && it2.getConstant() != null) { double d = ((Double)it.getConstant()).doubleValue(); double d2 = ((Double)it.getConstant()).doubleValue(); if (d2 < d) push(new Item("I", new Integer(-1))); else if (d2 > d) push(new Item("I", new Integer(1))); else push(new Item("I", new Integer(0))); } else { push(new Item("I")); } break; case FADD: case FSUB: case FMUL: case FDIV: it = pop(); it2 = pop(); pushByFloatMath(seen, it, it2); break; case DADD: case DSUB: case DMUL: case DDIV: case DREM: it = pop(); it2 = pop(); pushByDoubleMath(seen, it, it2); break; case I2B: it = pop(); if (it.getConstant() != null) { push(new Item("I", new Integer((int)((byte)((Integer)it.getConstant()).intValue())))); } else { push(new Item("I")); } break; case I2C: it = pop(); if (it.getConstant() != null) { push(new Item("I", new Integer((int)((char)((Integer)it.getConstant()).intValue())))); } else { push(new Item("I")); } break; case I2D: it = pop(); if (it.getConstant() != null) { push(new Item("D", new Double((double)((Integer)it.getConstant()).intValue()))); } else { push(new Item("D")); } break; case I2F: it = pop(); if (it.getConstant() != null) { push(new Item("F", new Float((float)((Integer)it.getConstant()).intValue()))); } else { push(new Item("F")); } break; case I2L: it = pop(); if (it.getConstant() != null) { push(new Item("J", new Long((long)((Integer)it.getConstant()).intValue()))); } else { push(new Item("J")); } break; case I2S: it = pop(); if (it.getConstant() != null) { push(new Item("I", new Integer((int)((short)((Integer)it.getConstant()).intValue())))); } else { push(new Item("I")); } break; case D2I: it = pop(); if (it.getConstant() != null) { push(new Item("I", new Integer((int)((Integer)it.getConstant()).intValue()))); } else { push(new Item("I")); } break; case D2F: it = pop(); if (it.getConstant() != null) { push(new Item("F", new Float((float)((Double)it.getConstant()).doubleValue()))); } else { push(new Item("F")); } break; case D2L: it = pop(); if (it.getConstant() != null) { push(new Item("J", new Long((long)((Double)it.getConstant()).doubleValue()))); } else { push(new Item("J")); } break; case L2I: it = pop(); if (it.getConstant() != null) { push(new Item("I", new Integer((int)((Long)it.getConstant()).longValue()))); } else { push(new Item("I")); } break; case L2D: it = pop(); if (it.getConstant() != null) { push(new Item("D", new Double((double)((Long)it.getConstant()).longValue()))); } else { push(new Item("D")); } break; case L2F: it = pop(); if (it.getConstant() != null) { push(new Item("F", new Float((float)((Long)it.getConstant()).longValue()))); } else { push(new Item("F")); } break; case F2I: it = pop(); if (it.getConstant() != null) { push(new Item("I", new Integer((int)((Float)it.getConstant()).floatValue()))); } else { push(new Item("I")); } break; case F2D: it = pop(); if (it.getConstant() != null) { push(new Item("D", new Double((double)((Float)it.getConstant()).floatValue()))); } else { push(new Item("D")); } break; case NEW: pushBySignature(dbc.getClassConstantOperand()); break; case NEWARRAY: pop(); signature = BasicType.getType((byte)dbc.getIntConstant()).getSignature(); pushBySignature(signature); break; // According to the VM Spec 4.4.1, anewarray and multianewarray // can refer to normal class/interface types (encoded in // "internal form"), or array classes (encoded as signatures // beginning with "["). case ANEWARRAY: pop(); signature = dbc.getClassConstantOperand(); if (!signature.startsWith("[")) { signature = "L" + signature + ";"; } pushBySignature(signature); break; case MULTIANEWARRAY: int dims = dbc.getIntConstant(); while ((dims--) > 0) { pop(); } signature = dbc.getClassConstantOperand(); if (!signature.startsWith("[")) { signature = "L" + signature + ";"; } pushBySignature(signature); break; case AALOAD: pop(); it = pop(); pushBySignature(it.getElementSignature()); break; case JSR: push(new Item("")); //? break; case INVOKEINTERFACE: case INVOKESPECIAL: case INVOKESTATIC: case INVOKEVIRTUAL: pushByInvoke(dbc, seen != INVOKESTATIC); if (dbc.getNameConstantOperand().equals("nextInt")) { Item i = pop(); i.setSpecialKind(Item.RANDOM_INT); push(i); } break; default: throw new UnsupportedOperationException("OpCode not supported yet" ); } }/* // FIXME: This class currently relies on catching runtime exceptions. // This should be fixed so they don't occur. catch (RuntimeException e) { throw e; }*/ catch (Exception e) { //If an error occurs, we clear the stack and locals. one of two things will occur. //Either the client will expect more stack items than really exist, and so they're condition check will fail, //or the stack will resync with the code. But hopefully not false positives clear(); } finally { if (DEBUG) System.out.println(OPCODE_NAMES[seen] + " stack depth: " + getStackDepth()); } }
|
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/0c7b74e6fac05d8abbdd2fb0e26efa97899fa189/OpcodeStack.java/clean/findbugs/src/java/edu/umd/cs/findbugs/OpcodeStack.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
202,
482,
918,
19821,
22808,
12,
1669,
81,
970,
298,
858,
16651,
9881,
16,
509,
5881,
13,
288,
3196,
202,
474,
1744,
16,
509,
6902,
31,
3196,
202,
5852,
797,
2028,
31,
3196,
202,
780,
3372,
31,
3196,
202,
1180,
518,
16,
518,
22,
16,
518,
23,
31,
3196,
202,
6902,
1959,
31,
202,
202,
430,
261,
9137,
18,
588,
3513,
1435,
422,
11833,
2326,
13,
288,
1082,
202,
24574,
2326,
273,
300,
21,
31,
1082,
202,
430,
16051,
24574,
2624,
18,
5531,
10756,
288,
1082,
202,
682,
32,
1180,
34,
2110,
774,
6786,
273,
11833,
2624,
18,
5120,
5621,
25083,
202,
759,
2691,
19838,
1082,
202,
430,
261,
3772,
18,
1467,
1435,
480,
2110,
774,
6786,
18,
1467,
10756,
288,
9506,
202,
430,
261,
9394,
13,
225,
288,
9506,
202,
3163,
18,
659,
18,
8222,
2932,
6434,
17256,
19838,
8863,
9506,
202,
3163,
18,
659,
18,
8222,
2932,
2972,
2110,
30,
315,
397,
2110,
1769,
9506,
202,
3163,
18,
659,
18,
8222,
2932,
24574,
2110,
30,
315,
397,
2110,
774,
6786,
1769,
9506,
202,
97,
1082,
202,
97,
469,
288,
9506,
202,
430,
261,
9394,
13,
225,
288,
9506,
202,
3163,
18,
659,
18,
8222,
2932,
8478,
1998,
19838,
8863,
9506,
202,
3163,
18,
659,
18,
8222,
2932,
2972,
2110,
30,
315,
397,
2110,
1769,
9506,
202,
3163,
18,
659,
18,
8222,
2932,
24574,
2110,
30,
315,
397,
2110,
774,
6786,
1769,
9506,
202,
97,
6862,
9506,
202,
1884,
12,
474,
277,
273,
374,
31,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
202,
482,
918,
19821,
22808,
12,
1669,
81,
970,
298,
858,
16651,
9881,
16,
509,
5881,
13,
288,
3196,
202,
474,
1744,
16,
509,
6902,
31,
3196,
202,
5852,
797,
2028,
31,
3196,
202,
780,
3372,
31,
3196,
202,
1180,
518,
16,
518,
22,
16,
518,
23,
31,
3196,
202,
6902,
1959,
31,
202,
202,
430,
261,
9137,
18,
588,
3513,
1435,
422,
11833,
2326,
13,
288,
1082,
202,
24574,
2326,
273,
300,
21,
31,
1082,
202,
430,
16051,
24574,
2624,
18,
5531,
10756,
288,
1082,
202,
682,
32,
1180,
34,
2110,
774,
6786,
273,
11833,
2624,
18,
5120,
5621,
25083,
202,
759,
2691,
19838,
1082,
202,
430,
261,
3772,
18,
1467,
1435,
480,
2110,
774,
6786,
18,
2
] |
30, context.smartFormatDate(info.getLastlogin()));
|
LABEL_LENGTH, context.smartFormatDate(info.getLastlogin()));
|
protected void printUserStatus(Context context, UserInfo info) throws ObjectNotFoundException, UnexpectedException { PrintWriter out = context.getOut(); MessageFormatter formatter = context.getMessageFormatter(); PrintUtils.printLabelled(out, formatter.format("status.user.userid"), 30, info.getUserid()); PrintUtils.printLabelled(out, formatter.format("status.user.id"), 30, Long.toString(info.getId())); PrintUtils.printLabelled(out, formatter.format("status.user.name"), 30, info.getName()); PrintUtils.printLabelledIfDefined(out, formatter.format("status.user.address1"), 30, info.getAddress1()); PrintUtils.printLabelledIfDefined(out, formatter.format("status.user.address2"), 30, info.getAddress2()); PrintUtils.printLabelledIfDefined(out, formatter.format("status.user.address3"), 30, info.getAddress3()); PrintUtils.printLabelledIfDefined(out, formatter.format("status.user.address4"), 30, info.getAddress4()); PrintUtils.printLabelledIfDefined(out, formatter.format("status.user.phone1"), 30, info.getPhoneno1()); PrintUtils.printLabelledIfDefined(out, formatter.format("status.user.phone2"), 30, info.getPhoneno2()); PrintUtils.printLabelledIfDefined(out, formatter.format("status.user.email1"), 30, info.getEmail1()); PrintUtils.printLabelledIfDefined(out, formatter.format("status.user.email2"), 30, info.getEmail2()); PrintUtils.printLabelledIfDefined(out, formatter.format("status.user.url"), 30, info.getUrl()); PrintUtils.printLabelledIfDefined(out, formatter.format("status.user.locale"), 30, info.getLocale().toString()); PrintUtils.printLabelledIfDefined(out, formatter.format("status.user.time.zone"), 30, info.getTimeZone().getID()); PrintUtils.printLabelledIfDefined(out, formatter.format("status.user.created"), 30, context.smartFormatDate(info.getCreated())); PrintUtils.printLabelledIfDefined(out, formatter.format("status.user.lastlogin"), 30, context.smartFormatDate(info.getLastlogin())); out.println(); // Has the user left a note? // try { out.print(context.getSession().readMagicMessage(MessageManager.ATTR_NOTE, info.getId()).getMessage().getBody()); out.println(); } catch (UnexpectedException e) { // } // List memberships // out.println(); out.println(formatter.format("status.user.memberof")); NameAssociation[] memberships = context.getSession().listMemberships(info.getId()); int top = memberships.length; for(int idx = 0; idx < top; ++idx) out.println(memberships[idx].getName()); }
|
3907 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3907/5d6559a6f0b4a8181d31aeec4b1b3a6d16ac7415/Status.java/clean/kom/java/nu/rydin/kom/frontend/text/commands/Status.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1172,
1299,
1482,
12,
1042,
819,
16,
25003,
1123,
13,
202,
15069,
1033,
3990,
16,
9649,
503,
202,
95,
202,
202,
5108,
2289,
596,
273,
819,
18,
588,
1182,
5621,
202,
202,
1079,
5074,
4453,
273,
819,
18,
24906,
5074,
5621,
202,
202,
5108,
1989,
18,
1188,
2224,
1259,
12,
659,
16,
4453,
18,
2139,
2932,
2327,
18,
1355,
18,
8339,
6,
3631,
5196,
16,
1123,
18,
588,
1299,
350,
10663,
202,
202,
5108,
1989,
18,
1188,
2224,
1259,
12,
659,
16,
4453,
18,
2139,
2932,
2327,
18,
1355,
18,
350,
6,
3631,
5196,
16,
3407,
18,
10492,
12,
1376,
18,
26321,
1435,
10019,
202,
202,
5108,
1989,
18,
1188,
2224,
1259,
12,
659,
16,
4453,
18,
2139,
2932,
2327,
18,
1355,
18,
529,
6,
3631,
5196,
16,
1123,
18,
17994,
10663,
202,
202,
5108,
1989,
18,
1188,
2224,
1259,
2047,
8116,
12,
659,
16,
4453,
18,
2139,
2932,
2327,
18,
1355,
18,
2867,
21,
6,
3631,
1875,
202,
5082,
16,
1123,
18,
588,
1887,
21,
10663,
202,
202,
5108,
1989,
18,
1188,
2224,
1259,
2047,
8116,
12,
659,
16,
4453,
18,
2139,
2932,
2327,
18,
1355,
18,
2867,
22,
6,
3631,
1875,
202,
5082,
16,
1123,
18,
588,
1887,
22,
10663,
202,
202,
5108,
1989,
18,
1188,
2224,
1259,
2047,
8116,
12,
659,
16,
4453,
18,
2139,
2932,
2327,
18,
1355,
18,
2867,
23,
6,
3631,
1875,
202,
5082,
16,
1123,
18,
588,
1887,
23,
10663,
202,
202,
5108,
1989,
18,
1188,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1172,
1299,
1482,
12,
1042,
819,
16,
25003,
1123,
13,
202,
15069,
1033,
3990,
16,
9649,
503,
202,
95,
202,
202,
5108,
2289,
596,
273,
819,
18,
588,
1182,
5621,
202,
202,
1079,
5074,
4453,
273,
819,
18,
24906,
5074,
5621,
202,
202,
5108,
1989,
18,
1188,
2224,
1259,
12,
659,
16,
4453,
18,
2139,
2932,
2327,
18,
1355,
18,
8339,
6,
3631,
5196,
16,
1123,
18,
588,
1299,
350,
10663,
202,
202,
5108,
1989,
18,
1188,
2224,
1259,
12,
659,
16,
4453,
18,
2139,
2932,
2327,
18,
1355,
18,
350,
6,
3631,
5196,
16,
3407,
18,
10492,
12,
1376,
18,
26321,
1435,
10019,
202,
202,
5108,
1989,
18,
1188,
2224,
1259,
12,
659,
16,
2
] |
else
|
else if (treeNode.atom != null && treeNode.atom.flags[CDKConstants.VISITED])
|
private String getSphereCode(Vector sphereNodes) throws org.openscience.cdk.exception.CDKException { if (sphereNodes == null || sphereNodes.size() < 1) { return ""; } Atom node = null; TreeNode treeNode = null; StringBuffer code = new StringBuffer(); /* * append the tree node code to the HOSECode in * their now determined order, using commas to * separate nodes from different branches */ Atom branch = ((TreeNode) (((TreeNode) sphereNodes.elementAt(0)).source)).atom; Atom nextBranch; int start = 0; StringBuffer tempCode = null; nextBranch = null; for (int i = 0; i < sphereNodes.size(); i++) { treeNode = (TreeNode) sphereNodes.elementAt(i); tempCode = new StringBuffer(); if (!treeNode.source.stopper && treeNode.source.atom != branch) { branch = treeNode.source.atom; code.append(","); } if (!treeNode.source.stopper && treeNode.source.atom == branch) { if (treeNode.bondType <= 4) { tempCode.append(bondSymbols[(int) treeNode.bondType]); } else { throw new CDKException("Unknown bond type"); } if (!treeNode.atom.flags[CDKConstants.VISITED]) { tempCode.append(getElementSymbol(treeNode.symbol)); } else { tempCode.append("&"); treeNode.stopper = true; } code.append(tempCode); treeNode.hSymbol = tempCode.toString(); } treeNode.atom.flags[CDKConstants.VISITED] = true; if (treeNode.source.stopper) treeNode.stopper = true; } code.append(sphereDelimiters[sphere - 1]); return code.toString(); }
|
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/f6fc53e674e96ec3662e440cd18f84a80e53121f/HOSECodeGenerator.java/clean/src/org/openscience/cdk/tools/HOSECodeGenerator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
1322,
9346,
1085,
12,
5018,
20041,
3205,
13,
1216,
2358,
18,
20346,
71,
6254,
18,
71,
2883,
18,
4064,
18,
39,
3398,
503,
202,
95,
202,
202,
430,
261,
87,
9346,
3205,
422,
446,
747,
20041,
3205,
18,
1467,
1435,
411,
404,
13,
202,
202,
95,
1082,
202,
2463,
1408,
31,
202,
202,
97,
202,
202,
3641,
756,
273,
446,
31,
202,
202,
12513,
29733,
273,
446,
31,
202,
202,
780,
1892,
981,
273,
394,
6674,
5621,
202,
202,
20308,
1082,
380,
225,
714,
326,
2151,
756,
981,
358,
326,
11705,
1090,
1085,
316,
1082,
380,
225,
3675,
2037,
11383,
1353,
16,
1450,
23528,
358,
1082,
380,
225,
9004,
2199,
628,
3775,
11483,
1082,
1195,
202,
202,
3641,
3803,
273,
14015,
12513,
13,
261,
12443,
12513,
13,
20041,
3205,
18,
2956,
861,
12,
20,
13,
2934,
3168,
13,
2934,
7466,
31,
202,
202,
3641,
1024,
7108,
31,
202,
202,
474,
787,
273,
374,
31,
202,
202,
780,
1892,
1906,
1085,
273,
446,
31,
202,
202,
4285,
7108,
273,
446,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
20041,
3205,
18,
1467,
5621,
277,
27245,
202,
202,
95,
1082,
202,
3413,
907,
273,
261,
12513,
13,
20041,
3205,
18,
2956,
861,
12,
77,
1769,
1082,
202,
5814,
1085,
273,
394,
6674,
5621,
1082,
202,
430,
16051,
3413,
907,
18,
3168,
18,
5681,
457,
597,
29733,
18,
3168,
18,
7466,
480,
3803,
13,
1082,
202,
95,
9506,
202,
7500,
273,
29733,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
1322,
9346,
1085,
12,
5018,
20041,
3205,
13,
1216,
2358,
18,
20346,
71,
6254,
18,
71,
2883,
18,
4064,
18,
39,
3398,
503,
202,
95,
202,
202,
430,
261,
87,
9346,
3205,
422,
446,
747,
20041,
3205,
18,
1467,
1435,
411,
404,
13,
202,
202,
95,
1082,
202,
2463,
1408,
31,
202,
202,
97,
202,
202,
3641,
756,
273,
446,
31,
202,
202,
12513,
29733,
273,
446,
31,
202,
202,
780,
1892,
981,
273,
394,
6674,
5621,
202,
202,
20308,
1082,
380,
225,
714,
326,
2151,
756,
981,
358,
326,
11705,
1090,
1085,
316,
1082,
380,
225,
3675,
2037,
11383,
1353,
16,
1450,
23528,
358,
1082,
380,
225,
9004,
2199,
628,
3775,
11483,
1082,
1195,
2
] |
logger = new org.openscience.cdk.tools.LoggingTool( this.getClass().getName());
|
logger = new org.openscience.cdk.tools.LoggingTool(this);
|
public CMLHandler(CDOInterface cdo) { logger = new org.openscience.cdk.tools.LoggingTool( this.getClass().getName()); conv = new CMLCoreModule(cdo); userConventions = new Hashtable(); xpath = new CMLStack(); conventionStack = new CMLStack(); }
|
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/bbeef9e56c9fda56c154c99294fb490aaa5557cb/CMLHandler.java/clean/src/org/openscience/cdk/io/cml/CMLHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
385,
1495,
1503,
12,
39,
3191,
1358,
276,
2896,
13,
288,
3639,
1194,
273,
394,
2358,
18,
20346,
71,
6254,
18,
71,
2883,
18,
6642,
18,
7735,
6364,
12,
15604,
333,
18,
588,
797,
7675,
17994,
10663,
3639,
6292,
273,
394,
385,
1495,
4670,
3120,
12,
71,
2896,
1769,
3639,
729,
442,
24862,
273,
394,
18559,
5621,
3639,
6748,
273,
394,
385,
1495,
2624,
5621,
3639,
15797,
2624,
273,
394,
385,
1495,
2624,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
385,
1495,
1503,
12,
39,
3191,
1358,
276,
2896,
13,
288,
3639,
1194,
273,
394,
2358,
18,
20346,
71,
6254,
18,
71,
2883,
18,
6642,
18,
7735,
6364,
12,
15604,
333,
18,
588,
797,
7675,
17994,
10663,
3639,
6292,
273,
394,
385,
1495,
4670,
3120,
12,
71,
2896,
1769,
3639,
729,
442,
24862,
273,
394,
18559,
5621,
3639,
6748,
273,
394,
385,
1495,
2624,
5621,
3639,
15797,
2624,
273,
394,
385,
1495,
2624,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public Map<IFile, Boolean> getGeneratedFiles() { return _generatedFiles; }
|
public Map<IFile, Boolean> getGeneratedFiles(){ return _generatedFiles; }
|
public Map<IFile, Boolean> getGeneratedFiles() { return _generatedFiles; }
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/baf433f0226e8b9036b18a28d560e5a42cb8b949/ProcessorEnvImpl.java/buggy/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/env/ProcessorEnvImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1635,
32,
45,
812,
16,
3411,
34,
4202,
336,
7823,
2697,
1435,
3639,
288,
327,
389,
11168,
2697,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1635,
32,
45,
812,
16,
3411,
34,
4202,
336,
7823,
2697,
1435,
3639,
288,
327,
389,
11168,
2697,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (bond.getAtomAt(0).getPoint2d() == null || bond.getAtomAt(1).getPoint2d() == null)
|
if (r2dm.getRenderingCoordinate(bond.getAtomAt(0)) == null || r2dm.getRenderingCoordinate(bond.getAtomAt(1)) == null)
|
public void paintBond(org.openscience.cdk.interfaces.IBond bond, Color bondColor, Graphics2D graphics) { if (bond.getAtomAt(0).getPoint2d() == null || bond.getAtomAt(1).getPoint2d() == null) { return; } if (bond.getStereo() != CDKConstants.STEREO_BOND_NONE && bond.getStereo() != CDKConstants.STEREO_BOND_UNDEFINED) { // Draw stero information if available if (bond.getStereo() >= CDKConstants.STEREO_BOND_UP) { paintWedgeBond(bond, bondColor, graphics); } else { paintDashedWedgeBond(bond, bondColor, graphics); } } else { // Draw bond order when no stereo info is available if (bond.getOrder() == CDKConstants.BONDORDER_SINGLE) { paintSingleBond(bond, bondColor, graphics); } else if (bond.getOrder() == CDKConstants.BONDORDER_DOUBLE) { paintDoubleBond(bond, bondColor, graphics); } else if (bond.getOrder() == CDKConstants.BONDORDER_TRIPLE) { paintTripleBond(bond, bondColor, graphics); } else { // paint all other bonds as single bonds paintSingleBond(bond, bondColor, graphics); } } }
|
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/948cfaa939b42d113ae5ceb65b72ea94d1b4e017/AbstractRenderer2D.java/buggy/src/org/openscience/cdk/renderer/AbstractRenderer2D.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
12574,
9807,
12,
3341,
18,
20346,
71,
6254,
18,
71,
2883,
18,
15898,
18,
45,
9807,
8427,
16,
5563,
8427,
2957,
16,
16830,
22,
40,
17313,
13,
202,
95,
202,
202,
430,
261,
26425,
18,
588,
3641,
861,
12,
20,
2934,
588,
2148,
22,
72,
1435,
422,
446,
747,
9506,
202,
26425,
18,
588,
3641,
861,
12,
21,
2934,
588,
2148,
22,
72,
1435,
422,
446,
13,
202,
202,
95,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
430,
261,
26425,
18,
588,
55,
22854,
1435,
480,
27030,
18,
22857,
41,
51,
67,
38,
673,
40,
67,
9826,
597,
8427,
18,
588,
55,
22854,
1435,
480,
27030,
18,
22857,
41,
51,
67,
38,
673,
40,
67,
2124,
15544,
13,
202,
202,
95,
1082,
202,
759,
10184,
384,
2439,
1779,
309,
2319,
1082,
202,
430,
261,
26425,
18,
588,
55,
22854,
1435,
1545,
27030,
18,
22857,
41,
51,
67,
38,
673,
40,
67,
3079,
13,
1082,
202,
95,
9506,
202,
84,
1598,
59,
7126,
9807,
12,
26425,
16,
8427,
2957,
16,
17313,
1769,
1082,
202,
97,
469,
1082,
202,
95,
9506,
202,
84,
1598,
40,
13912,
59,
7126,
9807,
12,
26425,
16,
8427,
2957,
16,
17313,
1769,
1082,
202,
97,
202,
202,
97,
469,
202,
202,
95,
1082,
202,
759,
10184,
8427,
1353,
1347,
1158,
29558,
1123,
353,
2319,
1082,
202,
430,
261,
26425,
18,
588,
2448,
1435,
422,
27030,
18,
38,
673,
40,
7954,
67,
20184,
13,
1082,
202,
95,
9506,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
12574,
9807,
12,
3341,
18,
20346,
71,
6254,
18,
71,
2883,
18,
15898,
18,
45,
9807,
8427,
16,
5563,
8427,
2957,
16,
16830,
22,
40,
17313,
13,
202,
95,
202,
202,
430,
261,
26425,
18,
588,
3641,
861,
12,
20,
2934,
588,
2148,
22,
72,
1435,
422,
446,
747,
9506,
202,
26425,
18,
588,
3641,
861,
12,
21,
2934,
588,
2148,
22,
72,
1435,
422,
446,
13,
202,
202,
95,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
430,
261,
26425,
18,
588,
55,
22854,
1435,
480,
27030,
18,
22857,
41,
51,
67,
38,
673,
40,
67,
9826,
597,
8427,
18,
588,
55,
22854,
1435,
480,
27030,
18,
22857,
41,
51,
67,
38,
673,
2
] |
if (ext == null) return null;
|
if (ext == null) { return null; }
|
private FileEditorMapping getMappingFor(String ext) { if (ext == null) return null; String key = mappingKeyFor(ext); return typeEditorMappings.get(key); }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/EditorRegistry.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/EditorRegistry.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1387,
6946,
3233,
22575,
1290,
12,
780,
1110,
13,
288,
3639,
309,
261,
408,
422,
446,
13,
5411,
327,
446,
31,
3639,
514,
498,
273,
2874,
653,
1290,
12,
408,
1769,
3639,
327,
618,
6946,
7742,
18,
588,
12,
856,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1387,
6946,
3233,
22575,
1290,
12,
780,
1110,
13,
288,
3639,
309,
261,
408,
422,
446,
13,
5411,
327,
446,
31,
3639,
514,
498,
273,
2874,
653,
1290,
12,
408,
1769,
3639,
327,
618,
6946,
7742,
18,
588,
12,
856,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public BaseInspectionVisitor buildVisitor() {
|
public BaseInspectionVisitor buildVisitor(){
|
public BaseInspectionVisitor buildVisitor() { return new CStyleArrayDeclarationVisitor(); }
|
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/bd57f07c33c419f20715b114b71a7e93425b34c9/CStyleArrayDeclarationInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/style/CStyleArrayDeclarationInspection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3360,
14985,
7413,
1361,
7413,
1435,
95,
3639,
327,
394,
385,
2885,
1076,
6094,
7413,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3360,
14985,
7413,
1361,
7413,
1435,
95,
3639,
327,
394,
385,
2885,
1076,
6094,
7413,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
assertEquals( 1, databaseService.sproc_AddUserRole( USER_TEST_ID, ROLE_TEST_ID ) );
|
public void test_deleteUserRole() { for( int i = 0; i < databaseServices.length; i++ ) { DatabaseService databaseService = databaseServices[i]; assertEquals( 0, databaseService.sproc_DelUserRoles( USER_NEXT_FREE_ID, ROLE_NEXT_FREE_ID ) ); assertEquals( 1, databaseService.sproc_AddUserRole( USER_TEST_ID, ROLE_TEST_ID ) ); assertEquals( 1, databaseService.sproc_DelUserRoles( USER_TEST_ID, ROLE_TEST_ID ) ); } }
|
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/960c2d76a39d3cdba8f4288371993c8dc37ed4e8/TestDatabaseService.java/clean/server/src/imcode/server/db/TestDatabaseService.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
67,
3733,
1299,
2996,
1435,
288,
3639,
364,
12,
509,
277,
273,
374,
31,
277,
411,
2063,
5676,
18,
2469,
31,
277,
9904,
262,
288,
5411,
5130,
1179,
2063,
1179,
273,
2063,
5676,
63,
77,
15533,
5411,
1815,
8867,
12,
374,
16,
2063,
1179,
18,
87,
9381,
67,
2837,
1299,
6898,
12,
7443,
67,
25539,
67,
28104,
67,
734,
16,
22005,
67,
25539,
67,
28104,
67,
734,
262,
11272,
15604,
1815,
8867,
12,
404,
16,
2063,
1179,
18,
87,
9381,
67,
2837,
1299,
6898,
12,
7443,
67,
16961,
67,
734,
16,
22005,
67,
16961,
67,
734,
262,
11272,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1842,
67,
3733,
1299,
2996,
1435,
288,
3639,
364,
12,
509,
277,
273,
374,
31,
277,
411,
2063,
5676,
18,
2469,
31,
277,
9904,
262,
288,
5411,
5130,
1179,
2063,
1179,
273,
2063,
5676,
63,
77,
15533,
5411,
1815,
8867,
12,
374,
16,
2063,
1179,
18,
87,
9381,
67,
2837,
1299,
6898,
12,
7443,
67,
25539,
67,
28104,
67,
734,
16,
22005,
67,
25539,
67,
28104,
67,
734,
262,
11272,
15604,
1815,
8867,
12,
404,
16,
2063,
1179,
18,
87,
9381,
67,
2837,
1299,
6898,
12,
7443,
67,
16961,
67,
734,
16,
22005,
67,
16961,
67,
734,
262,
11272,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
} LinkedList list = leftTuple.getLinkedTuples(); if( list != null ) {
|
} else { LinkedList list = leftTuple.getLinkedTuples();
|
public void retractTuple(final ReteTuple leftTuple, final PropagationContext context, final InternalWorkingMemory workingMemory) { final BetaMemory memory = (BetaMemory) workingMemory.getNodeMemory( this ); memory.remove( workingMemory, leftTuple ); final Map matches = leftTuple.getTupleMatches(); if ( !matches.isEmpty() ) { for ( final Iterator it = matches.values().iterator(); it.hasNext(); ) { final TupleMatch tupleMatch = (TupleMatch) it.next(); tupleMatch.getObjectMatches().remove( tupleMatch ); } } LinkedList list = leftTuple.getLinkedTuples(); if( list != null ) { for ( LinkedListNode node = list.getFirst(); node != null; node = node.getNext() ) { ReteTuple tuple = (ReteTuple) ((LinkedListObjectWrapper) node).getObject(); tuple.retractTuple( context, workingMemory ); } } }
|
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/c5dd3fac90b69731f45ea30ace07fcf3cc995ba5/NotNode.java/buggy/drools-core/src/main/java/org/drools/reteoo/NotNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
283,
1575,
9038,
12,
6385,
534,
12865,
9038,
2002,
9038,
16,
11794,
727,
1186,
9095,
367,
1042,
819,
16,
11794,
727,
3186,
14836,
6031,
5960,
6031,
13,
288,
3639,
727,
16393,
6031,
3778,
273,
261,
38,
1066,
6031,
13,
5960,
6031,
18,
588,
907,
6031,
12,
333,
11272,
3639,
3778,
18,
4479,
12,
5960,
6031,
16,
15604,
2002,
9038,
11272,
3639,
727,
1635,
1885,
273,
2002,
9038,
18,
588,
9038,
6869,
5621,
3639,
309,
261,
401,
8436,
18,
291,
1921,
1435,
262,
288,
5411,
364,
261,
727,
4498,
518,
273,
1885,
18,
2372,
7675,
9838,
5621,
518,
18,
5332,
2134,
5621,
262,
288,
7734,
727,
7257,
2060,
3193,
2060,
273,
261,
9038,
2060,
13,
518,
18,
4285,
5621,
7734,
3193,
2060,
18,
588,
921,
6869,
7675,
4479,
12,
3193,
2060,
11272,
5411,
289,
3639,
289,
3639,
10688,
666,
273,
2002,
9038,
18,
588,
13174,
25813,
5621,
3639,
309,
12,
666,
480,
446,
262,
288,
5411,
364,
261,
10688,
907,
756,
273,
666,
18,
588,
3759,
5621,
756,
480,
446,
31,
756,
273,
756,
18,
588,
2134,
1435,
262,
288,
7734,
534,
12865,
9038,
3193,
273,
261,
7055,
73,
9038,
13,
14015,
13174,
682,
921,
3611,
13,
756,
2934,
588,
921,
5621,
7734,
3193,
18,
266,
1575,
9038,
12,
819,
16,
4766,
565,
5960,
6031,
11272,
5411,
289,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
283,
1575,
9038,
12,
6385,
534,
12865,
9038,
2002,
9038,
16,
11794,
727,
1186,
9095,
367,
1042,
819,
16,
11794,
727,
3186,
14836,
6031,
5960,
6031,
13,
288,
3639,
727,
16393,
6031,
3778,
273,
261,
38,
1066,
6031,
13,
5960,
6031,
18,
588,
907,
6031,
12,
333,
11272,
3639,
3778,
18,
4479,
12,
5960,
6031,
16,
15604,
2002,
9038,
11272,
3639,
727,
1635,
1885,
273,
2002,
9038,
18,
588,
9038,
6869,
5621,
3639,
309,
261,
401,
8436,
18,
291,
1921,
1435,
262,
288,
5411,
364,
261,
727,
4498,
518,
273,
1885,
18,
2372,
7675,
9838,
5621,
518,
18,
5332,
2134,
5621,
262,
288,
7734,
727,
7257,
2060,
3193,
2060,
273,
261,
9038,
2060,
13,
518,
18,
2
] |
replace(cv, desc);
|
replace(cv, desc); break; case Constants.PUTFIELD: pop(cv, desc); cv.visitInsn(Constants.POP); break; case Constants.GETSTATIC: replace(cv, desc); break; case Constants.PUTSTATIC: pop(cv, desc); break; }
|
public void visitFieldInsn(int opcode, String owner, String name, String desc) { if (checkName(owner) || checkDesc(desc)) { // System.err.println("visitFieldInsn " + owner + ", " + desc); if (opcode == Constants.GETFIELD || opcode == Constants.PUTFIELD) cv.visitInsn(Constants.POP); replace(cv, desc); } else { cv.visitFieldInsn(opcode, owner, name, desc); } }
|
4182 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4182/3be40de22d3f9ab4149687671e71ebfd64448b65/DepKillTransformer.java/buggy/jarjar/src/main/com/tonicsystems/jarjar/DepKillTransformer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3757,
974,
11796,
12,
474,
11396,
16,
514,
3410,
16,
514,
508,
16,
514,
3044,
13,
3639,
288,
5411,
309,
261,
1893,
461,
12,
8443,
13,
747,
866,
4217,
12,
5569,
3719,
288,
7734,
368,
2332,
18,
370,
18,
8222,
2932,
11658,
974,
11796,
315,
397,
3410,
397,
3104,
315,
397,
3044,
1769,
7734,
309,
261,
556,
710,
422,
5245,
18,
3264,
6776,
747,
11396,
422,
5245,
18,
4762,
6776,
13,
10792,
8951,
18,
11658,
11796,
12,
2918,
18,
30374,
1769,
7734,
1453,
12,
19774,
16,
3044,
1769,
898,
31,
648,
5245,
18,
4762,
6776,
30,
1843,
12,
19774,
16,
3044,
1769,
8951,
18,
11658,
11796,
12,
2918,
18,
30374,
1769,
898,
31,
648,
5245,
18,
3264,
22741,
30,
1453,
12,
19774,
16,
3044,
1769,
898,
31,
648,
5245,
18,
4762,
22741,
30,
1843,
12,
19774,
16,
3044,
1769,
898,
31,
289,
5411,
289,
469,
288,
7734,
8951,
18,
11658,
974,
11796,
12,
556,
710,
16,
3410,
16,
508,
16,
3044,
1769,
5411,
289,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3757,
974,
11796,
12,
474,
11396,
16,
514,
3410,
16,
514,
508,
16,
514,
3044,
13,
3639,
288,
5411,
309,
261,
1893,
461,
12,
8443,
13,
747,
866,
4217,
12,
5569,
3719,
288,
7734,
368,
2332,
18,
370,
18,
8222,
2932,
11658,
974,
11796,
315,
397,
3410,
397,
3104,
315,
397,
3044,
1769,
7734,
309,
261,
556,
710,
422,
5245,
18,
3264,
6776,
747,
11396,
422,
5245,
18,
4762,
6776,
13,
10792,
8951,
18,
11658,
11796,
12,
2918,
18,
30374,
1769,
7734,
1453,
12,
19774,
16,
3044,
1769,
898,
31,
648,
5245,
18,
4762,
6776,
30,
1843,
12,
19774,
16,
3044,
1769,
8951,
18,
11658,
11796,
12,
2918,
18,
30374,
1769,
898,
31,
648,
5245,
18,
2
] |
if (event.getProperty().equals(PartPane.PROP_ZOOMED)) { boolean standby = !((Boolean)event.getNewValue()).booleanValue(); setStandby(standby); }
|
if (handleZoomEvents) { if (event.getProperty().equals(PartPane.PROP_ZOOMED)) { boolean standby = !((Boolean)event.getNewValue()).booleanValue(); setStandby(standby); } }
|
private void addPaneListener() { ((PartSite)getSite()).getPane().addPropertyChangeListener(new IPropertyChangeListener() { public void propertyChange(PropertyChangeEvent event) { if (event.getProperty().equals(PartPane.PROP_ZOOMED)) { boolean standby = !((Boolean)event.getNewValue()).booleanValue(); setStandby(standby); } } }); }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/68f2ee9d1740c8308c8e11f0722f7902a7326582/ViewIntroAdapterPart.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ViewIntroAdapterPart.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
527,
8485,
2223,
1435,
288,
1082,
202,
12443,
1988,
4956,
13,
588,
4956,
1435,
2934,
588,
8485,
7675,
1289,
1396,
15744,
12,
2704,
467,
1396,
15744,
1435,
288,
1082,
202,
482,
918,
1272,
3043,
12,
1396,
20930,
871,
13,
288,
9506,
202,
430,
261,
2575,
18,
588,
1396,
7675,
14963,
12,
1988,
8485,
18,
15811,
67,
62,
25148,
25773,
3719,
288,
6862,
202,
6494,
12842,
1637,
273,
401,
12443,
5507,
13,
2575,
18,
588,
1908,
620,
1435,
2934,
6494,
620,
5621,
6862,
202,
542,
20612,
1637,
12,
10145,
1637,
1769,
9506,
202,
97,
1082,
202,
97,
202,
202,
22938,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
527,
8485,
2223,
1435,
288,
1082,
202,
12443,
1988,
4956,
13,
588,
4956,
1435,
2934,
588,
8485,
7675,
1289,
1396,
15744,
12,
2704,
467,
1396,
15744,
1435,
288,
1082,
202,
482,
918,
1272,
3043,
12,
1396,
20930,
871,
13,
288,
9506,
202,
430,
261,
2575,
18,
588,
1396,
7675,
14963,
12,
1988,
8485,
18,
15811,
67,
62,
25148,
25773,
3719,
288,
6862,
202,
6494,
12842,
1637,
273,
401,
12443,
5507,
13,
2575,
18,
588,
1908,
620,
1435,
2934,
6494,
620,
5621,
6862,
202,
542,
20612,
1637,
12,
10145,
1637,
1769,
9506,
202,
97,
1082,
202,
97,
202,
202,
22938,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
removeEdge();
|
DataMapTree dmt = (DataMapTree)contextMenu.getInvoker(); dmt.validateEntry();
|
public void actionPerformed(ActionEvent e) { removeEdge(); }
|
47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/3469b900d739ba4b8f2ee21abb6fd2b075ff395c/DataMapTree.java/buggy/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/datamap/DataMapTree.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
5397,
288,
13491,
1910,
863,
2471,
302,
1010,
273,
261,
31982,
2471,
13,
2472,
4599,
18,
588,
24455,
5621,
302,
1010,
18,
5662,
1622,
5621,
10792,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
5397,
288,
13491,
1910,
863,
2471,
302,
1010,
273,
261,
31982,
2471,
13,
2472,
4599,
18,
588,
24455,
5621,
302,
1010,
18,
5662,
1622,
5621,
10792,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (charset == null) charset = "";
|
if (charset == null) { charset = ""; }
|
private void createCharset(Composite parent) { Composite composite = new Composite(parent, SWT.NONE); GridLayout layout = new GridLayout(3, false); layout.marginHeight = layout.marginWidth = 0; composite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); composite.setLayout(layout); Label label = new Label(composite, SWT.NONE); label.setFont(parent.getFont()); label.setText(WorkbenchMessages.ContentTypes_characterSetLabel); charsetField = new Text(composite, SWT.SINGLE | SWT.BORDER); charsetField.setFont(parent.getFont()); charsetField.setEnabled(false); GridData data = new GridData(GridData.FILL_HORIZONTAL); charsetField.setLayoutData(data); setButton = new Button(composite, SWT.PUSH); setButton.setFont(parent.getFont()); setButton .setText(WorkbenchMessages.ContentTypes_characterSetUpdateLabel); setButton.setEnabled(false); setButton.addSelectionListener(new SelectionAdapter() { /* * (non-Javadoc) * * @see org.eclipse.swt.events.SelectionAdapter#widgetSelected(org.eclipse.swt.events.SelectionEvent) */ public void widgetSelected(SelectionEvent e) { try { String text = charsetField.getText().trim(); if (text.length() == 0) text = null; getSelectedContentType().setDefaultCharset(text); setButton.setEnabled(false); } catch (CoreException e1) { ErrorDialog.openError(e.widget.getDisplay() .getActiveShell(), null, null, e1.getStatus()); } } }); charsetField.addKeyListener(new KeyAdapter() { /* * (non-Javadoc) * * @see org.eclipse.swt.events.KeyAdapter#keyReleased(org.eclipse.swt.events.KeyEvent) */ public void keyReleased(KeyEvent e) { IContentType contentType = getSelectedContentType(); String charset = contentType.getDefaultCharset(); if (charset == null) charset = ""; //$NON-NLS-1$ setButton.setEnabled(!charset.equals(charsetField.getText())); } }); }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/ContentTypesPreferencePage.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ContentTypesPreferencePage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
752,
9652,
12,
9400,
982,
13,
288,
3639,
14728,
9635,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
3639,
7145,
3744,
3511,
273,
394,
7145,
3744,
12,
23,
16,
629,
1769,
3639,
3511,
18,
10107,
2686,
273,
3511,
18,
10107,
2384,
273,
374,
31,
3639,
9635,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
10019,
3639,
9635,
18,
542,
3744,
12,
6741,
1769,
3639,
5287,
1433,
273,
394,
5287,
12,
27676,
16,
348,
8588,
18,
9826,
1769,
3639,
1433,
18,
542,
5711,
12,
2938,
18,
588,
5711,
10663,
3639,
1433,
18,
542,
1528,
12,
2421,
22144,
5058,
18,
27446,
67,
11560,
694,
2224,
1769,
3639,
4856,
974,
273,
394,
3867,
12,
27676,
16,
348,
8588,
18,
20184,
571,
348,
8588,
18,
38,
7954,
1769,
3639,
4856,
974,
18,
542,
5711,
12,
2938,
18,
588,
5711,
10663,
3639,
4856,
974,
18,
542,
1526,
12,
5743,
1769,
3639,
7145,
751,
501,
273,
394,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
1769,
3639,
4856,
974,
18,
542,
3744,
751,
12,
892,
1769,
3639,
444,
3616,
273,
394,
12569,
12,
27676,
16,
348,
8588,
18,
30348,
1769,
3639,
444,
3616,
18,
542,
5711,
12,
2938,
18,
588,
5711,
10663,
3639,
444,
3616,
7734,
263,
542,
1528,
12,
2421,
22144,
5058,
18,
27446,
67,
11560,
694,
1891,
2224,
1769,
3639,
444,
3616,
18,
542,
1526,
12,
5743,
1769,
3639,
444,
3616,
18,
1289,
6233,
2223,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
752,
9652,
12,
9400,
982,
13,
288,
3639,
14728,
9635,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
3639,
7145,
3744,
3511,
273,
394,
7145,
3744,
12,
23,
16,
629,
1769,
3639,
3511,
18,
10107,
2686,
273,
3511,
18,
10107,
2384,
273,
374,
31,
3639,
9635,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
10019,
3639,
9635,
18,
542,
3744,
12,
6741,
1769,
3639,
5287,
1433,
273,
394,
5287,
12,
27676,
16,
348,
8588,
18,
9826,
1769,
3639,
1433,
18,
542,
5711,
12,
2938,
18,
588,
5711,
10663,
3639,
1433,
18,
542,
1528,
12,
2421,
22144,
5058,
18,
27446,
67,
11560,
694,
2224,
1769,
3639,
2
] |
if (startOnLoad == null || (Boolean.getBoolean(startOnLoad))) {
|
if (startOnLoad == null || (Boolean.valueOf(startOnLoad).booleanValue())) {
|
public void init(ServletConfig cfg) throws javax.servlet.ServletException { super.init(cfg); log("Quartz Initializer Servlet loaded, initializing Scheduler..."); StdSchedulerFactory factory; try { String configFile = cfg.getInitParameter("config-file"); String shutdownPref = cfg.getInitParameter("shutdown-on-unload"); if (shutdownPref != null) performShutdown = Boolean.valueOf(shutdownPref).booleanValue(); // get Properties if (configFile != null) { factory = new StdSchedulerFactory(configFile); } else { factory = new StdSchedulerFactory(); } // Should the Scheduler being started now or later String startOnLoad = cfg .getInitParameter("start-scheduler-on-load"); /* * If the "start-scheduler-on-load" init-parameter is not specified, * the scheduler will be started. This is to maintain backwards * compatability. */ if (startOnLoad == null || (Boolean.getBoolean(startOnLoad))) { // Start now scheduler = factory.getScheduler(); scheduler.start(); log("Scheduler has been started..."); } else { log("Scheduler has not been started. Use scheduler.start()"); } log("Storing the Quartz Scheduler Factory in the servlet context at key: " + QUARTZ_FACTORY_KEY); cfg.getServletContext().setAttribute(QUARTZ_FACTORY_KEY, factory); } catch (Exception e) { log("Quartz Scheduler failed to initialize: " + e.toString()); throw new ServletException(e); } }
|
15562 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15562/a3f8a5f3c572aa3f7c40b9bf7b2496c98387d1f5/QuartzInitializerServlet.java/buggy/src/java/org/quartz/ee/servlet/QuartzInitializerServlet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1208,
12,
4745,
809,
2776,
13,
1216,
6863,
18,
23231,
18,
4745,
503,
288,
202,
202,
9565,
18,
2738,
12,
7066,
1769,
202,
202,
1330,
2932,
12099,
94,
4378,
3926,
7971,
4203,
16,
22584,
12620,
7070,
1769,
202,
202,
10436,
11870,
1733,
3272,
31,
202,
202,
698,
288,
1082,
202,
780,
12247,
273,
2776,
18,
588,
2570,
1662,
2932,
1425,
17,
768,
8863,
1082,
202,
780,
5731,
23218,
273,
2776,
18,
588,
2570,
1662,
2932,
15132,
17,
265,
17,
318,
945,
8863,
1082,
202,
430,
261,
15132,
23218,
480,
446,
13,
9506,
202,
16092,
10961,
273,
3411,
18,
1132,
951,
12,
15132,
23218,
2934,
6494,
620,
5621,
1082,
202,
759,
336,
6183,
1082,
202,
430,
261,
1425,
812,
480,
446,
13,
288,
9506,
202,
6848,
273,
394,
6276,
11870,
1733,
12,
1425,
812,
1769,
1082,
202,
97,
469,
288,
9506,
202,
6848,
273,
394,
6276,
11870,
1733,
5621,
1082,
202,
97,
1082,
202,
759,
9363,
326,
12620,
3832,
5746,
2037,
578,
5137,
1082,
202,
780,
787,
1398,
2563,
273,
2776,
6862,
202,
18,
588,
2570,
1662,
2932,
1937,
17,
19972,
17,
265,
17,
945,
8863,
1082,
202,
20308,
9506,
380,
971,
326,
315,
1937,
17,
19972,
17,
265,
17,
945,
6,
1208,
17,
6775,
353,
486,
1269,
16,
9506,
380,
326,
8129,
903,
506,
5746,
18,
1220,
353,
358,
17505,
12727,
9506,
380,
4796,
2967,
18,
9506,
1195,
1082,
202,
430,
261,
1937,
1398,
2563,
422,
446,
747,
261,
5507,
18,
588,
5507,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1208,
12,
4745,
809,
2776,
13,
1216,
6863,
18,
23231,
18,
4745,
503,
288,
202,
202,
9565,
18,
2738,
12,
7066,
1769,
202,
202,
1330,
2932,
12099,
94,
4378,
3926,
7971,
4203,
16,
22584,
12620,
7070,
1769,
202,
202,
10436,
11870,
1733,
3272,
31,
202,
202,
698,
288,
1082,
202,
780,
12247,
273,
2776,
18,
588,
2570,
1662,
2932,
1425,
17,
768,
8863,
1082,
202,
780,
5731,
23218,
273,
2776,
18,
588,
2570,
1662,
2932,
15132,
17,
265,
17,
318,
945,
8863,
1082,
202,
430,
261,
15132,
23218,
480,
446,
13,
9506,
202,
16092,
10961,
273,
3411,
18,
1132,
951,
12,
15132,
23218,
2934,
6494,
620,
5621,
1082,
202,
759,
336,
6183,
1082,
202,
430,
2
] |
boolean multiple = items.length > 1 || list.getSelectedValue() instanceof GroupFactory;
|
boolean multiple = items.length > 1 || list.getSelectedValue() instanceof GroupWrapper;
|
public void mouseReleased(MouseEvent evt) { if (evt.getClickCount() == 1 && evt.isPopupTrigger()) { int index = list.locationToIndex(evt.getPoint()); if (!list.isSelectedIndex(index)) { list.setSelectedIndex(index); } } if (evt.isPopupTrigger() && list.getSelectedIndex() > -1) { // show menus final Object[] items = list.getSelectedValues(); boolean multiple = items.length > 1 || list.getSelectedValue() instanceof GroupFactory; final JPopupMenu menu = new JPopupMenu(); JMenuItem item = new JMenuItem(multiple?"Message all...":"Message");// item.setEnabled(multiple); item.addActionListener(new ActionListener() { /** * Invoked when an action occurs. */ public void actionPerformed(ActionEvent e) { // do the do List <ContactWrapper> allContacts = new ArrayList<ContactWrapper>(items.length); for (Object selected : items) { if (selected instanceof ContactWrapper) { allContacts.add((ContactWrapper) selected); } else if (selected instanceof GroupFactory) { GroupWrapper group = (GroupWrapper) selected; for (int j = 0; j < group.size(); j++) { if (group.get(j) instanceof ContactWrapper) allContacts.add((ContactWrapper) group.get(j)); } } else { System.out.println("This is weird: " + selected.getClass() + ": " + selected); } } if (allContacts.size() == 1) { MessageWindow.openWindow(allContacts.get(0), false); } else MessageGroupWindow.openWindow(allContacts.toArray(new ContactWrapper[allContacts.size()])); } }); menu.add(item); if (list.getSelectedValue() instanceof ContactWrapper) { final JMenuItem itemHide = new JMenuItem("Hide/Unhide (Keep Offline)"); final boolean hide = !((ContactWrapper)list.getSelectedValue()).getPreferences().isHideFromList(); itemHide.addActionListener(new ActionListener() { /** * Invoked when an action occurs. */ public void actionPerformed(ActionEvent e) { // do the do for (Object selected : items) { if (selected instanceof ContactWrapper) { ((ContactWrapper)selected).getPreferences().setHideFromList(hide); ((ContactWrapper)selected).updateDisplayComponent(); } } list.repaint(); } }); menu.add(itemHide); menu.add(ActionAdapter.createMenuItem(MenuManager.COMMAND_BUDDY_REMOVE, new MenuManager.MenuHandler(), 'r')); menu.add(ActionAdapter.createMenuItem(MenuManager.COMMAND_BUDDY_MOVE, new MenuManager.MenuHandler(), 'm')); } // if contact wrapper menu.show(evt.getComponent(), evt.getX(), evt.getY()); } // if more than one selected } // mouseReleased
|
50053 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50053/7c4d8a61b9ac259be39d27f05e5c2c4687836f2e/PeopleScreen.java/clean/java/ui/com/itbs/aimcer/gui/PeopleScreen.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
7644,
26363,
12,
9186,
1133,
6324,
13,
288,
7734,
309,
261,
73,
11734,
18,
588,
6563,
1380,
1435,
422,
404,
597,
6324,
18,
291,
13770,
6518,
10756,
288,
10792,
509,
770,
273,
666,
18,
3562,
19418,
12,
73,
11734,
18,
588,
2148,
10663,
10792,
309,
16051,
1098,
18,
291,
7416,
1016,
12,
1615,
3719,
288,
13491,
666,
18,
542,
7416,
1016,
12,
1615,
1769,
10792,
289,
7734,
289,
7734,
309,
261,
73,
11734,
18,
291,
13770,
6518,
1435,
597,
666,
18,
588,
7416,
1016,
1435,
405,
300,
21,
13,
288,
368,
2405,
21374,
10792,
727,
1033,
8526,
1516,
273,
666,
18,
588,
7416,
1972,
5621,
10792,
1250,
3229,
273,
1516,
18,
2469,
405,
404,
747,
666,
18,
588,
7416,
620,
1435,
1276,
3756,
3611,
31,
10792,
727,
804,
13770,
4599,
3824,
273,
394,
804,
13770,
4599,
5621,
10792,
804,
12958,
761,
273,
394,
804,
12958,
12,
9622,
7225,
1079,
777,
7070,
2773,
1079,
8863,
759,
13491,
761,
18,
542,
1526,
12,
9622,
1769,
10792,
761,
18,
1289,
1803,
2223,
12,
2704,
25962,
1435,
288,
13491,
1783,
7682,
380,
5454,
14276,
1347,
392,
1301,
9938,
18,
7682,
1195,
13491,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
18701,
368,
741,
326,
741,
18701,
987,
411,
6567,
3611,
34,
777,
20017,
273,
394,
2407,
32,
6567,
3611,
34,
12,
3319,
18,
2469,
1769,
18701,
364,
261,
921,
3170,
294,
1516,
13,
288,
27573,
309,
261,
8109,
1276,
13329,
3611,
13,
288,
4766,
565,
777,
20017,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
7644,
26363,
12,
9186,
1133,
6324,
13,
288,
7734,
309,
261,
73,
11734,
18,
588,
6563,
1380,
1435,
422,
404,
597,
6324,
18,
291,
13770,
6518,
10756,
288,
10792,
509,
770,
273,
666,
18,
3562,
19418,
12,
73,
11734,
18,
588,
2148,
10663,
10792,
309,
16051,
1098,
18,
291,
7416,
1016,
12,
1615,
3719,
288,
13491,
666,
18,
542,
7416,
1016,
12,
1615,
1769,
10792,
289,
7734,
289,
7734,
309,
261,
73,
11734,
18,
291,
13770,
6518,
1435,
597,
666,
18,
588,
7416,
1016,
1435,
405,
300,
21,
13,
288,
368,
2405,
21374,
10792,
727,
1033,
8526,
1516,
273,
666,
18,
588,
7416,
1972,
5621,
10792,
1250,
3229,
273,
1516,
18,
2469,
405,
404,
747,
666,
2
] |
connect(uri); try { getWorkManager().scheduleWork(this, WorkManager.INDEFINITE, null, null); } catch (WorkException e) { throw new InitialisationException(new Message(Messages.FAILED_TO_SCHEDULE_WORK), e, this); }
|
public UdpMessageReceiver(AbstractConnector connector, UMOComponent component, UMOEndpoint endpoint) throws InitialisationException { create(connector, component, endpoint); bufferSize = ((UdpConnector) connector).getBufferSize(); uri = endpoint.getEndpointURI().getUri(); try { inetAddress = InetAddress.getByName(uri.getHost()); } catch (UnknownHostException e) { throw new InitialisationException(new Message("udp", 2, uri), e, this); } connect(uri); try { getWorkManager().scheduleWork(this, WorkManager.INDEFINITE, null, null); } catch (WorkException e) { throw new InitialisationException(new Message(Messages.FAILED_TO_SCHEDULE_WORK), e, this); } }
|
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/5469dd005aa4f69700fdbd3782117cce20e16533/UdpMessageReceiver.java/clean/providers/udp/src/java/org/mule/providers/udp/UdpMessageReceiver.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
587,
9295,
1079,
12952,
12,
7469,
7487,
8703,
16,
17311,
587,
5980,
1841,
1794,
16,
17311,
587,
5980,
3293,
2494,
13,
1216,
10188,
10742,
503,
565,
288,
3639,
752,
12,
23159,
16,
1794,
16,
2494,
1769,
3639,
16939,
273,
14015,
57,
9295,
7487,
13,
8703,
2934,
588,
15384,
5621,
3639,
2003,
273,
2494,
18,
588,
3293,
3098,
7675,
588,
3006,
5621,
3639,
775,
3639,
288,
5411,
17661,
1887,
273,
14218,
18,
588,
5911,
12,
1650,
18,
588,
2594,
10663,
3639,
289,
1044,
261,
4874,
29776,
425,
13,
3639,
288,
5411,
604,
394,
10188,
10742,
503,
12,
2704,
2350,
2932,
26029,
3113,
576,
16,
2003,
3631,
425,
16,
333,
1769,
3639,
289,
3639,
3077,
12,
1650,
1769,
3639,
775,
288,
5411,
29026,
1318,
7675,
10676,
2421,
12,
2211,
16,
4147,
1318,
18,
706,
12348,
5398,
16,
446,
16,
446,
1769,
3639,
289,
1044,
261,
2421,
503,
425,
13,
288,
5411,
604,
394,
10188,
10742,
503,
12,
2704,
2350,
12,
5058,
18,
11965,
67,
4296,
67,
55,
27395,
67,
10566,
3631,
425,
16,
333,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
587,
9295,
1079,
12952,
12,
7469,
7487,
8703,
16,
17311,
587,
5980,
1841,
1794,
16,
17311,
587,
5980,
3293,
2494,
13,
1216,
10188,
10742,
503,
565,
288,
3639,
752,
12,
23159,
16,
1794,
16,
2494,
1769,
3639,
16939,
273,
14015,
57,
9295,
7487,
13,
8703,
2934,
588,
15384,
5621,
3639,
2003,
273,
2494,
18,
588,
3293,
3098,
7675,
588,
3006,
5621,
3639,
775,
3639,
288,
5411,
17661,
1887,
273,
14218,
18,
588,
5911,
12,
1650,
18,
588,
2594,
10663,
3639,
289,
1044,
261,
4874,
29776,
425,
13,
3639,
288,
5411,
604,
394,
10188,
10742,
503,
12,
2704,
2350,
2932,
26029,
3113,
576,
16,
2003,
3631,
425,
16,
333,
1769,
3639,
289,
3639,
3077,
12,
1650,
1769,
3639,
2
] |
|
} else if (theClass.isPrimitive()) {
|
} else if (declaredClass.isPrimitive()) {
|
private static void writeObject(DataOutput out, Object instance, Class theClass) throws IOException { if (instance == null) { // null instance = new NullInstance(theClass); theClass = NullInstance.class; } UTF8.writeString(out, theClass.getName()); if (theClass.isArray()) { // array int length = Array.getLength(instance); out.writeInt(length); for (int i = 0; i < length; i++) { writeObject(out, Array.get(instance, i), theClass.getComponentType()); } } else if (theClass == String.class) { // String UTF8.writeString(out, (String)instance); } else if (theClass.isPrimitive()) { // primitive type if (theClass == Boolean.TYPE) { // boolean out.writeBoolean(((Boolean)instance).booleanValue()); } else if (theClass == Character.TYPE) { // char out.writeChar(((Character)instance).charValue()); } else if (theClass == Byte.TYPE) { // byte out.writeByte(((Byte)instance).byteValue()); } else if (theClass == Short.TYPE) { // short out.writeShort(((Short)instance).shortValue()); } else if (theClass == Integer.TYPE) { // int out.writeInt(((Integer)instance).intValue()); } else if (theClass == Long.TYPE) { // long out.writeLong(((Long)instance).longValue()); } else if (theClass == Float.TYPE) { // float out.writeFloat(((Float)instance).floatValue()); } else if (theClass == Double.TYPE) { // double out.writeDouble(((Double)instance).doubleValue()); } else if (theClass == Void.TYPE) { // void } else { throw new IllegalArgumentException("Not a known primitive: "+theClass); } } else if (instance instanceof Writable) { // Writable ((Writable)instance).write(out); } else { throw new IOException("Can't write: " + instance + " as " + theClass); } }
|
50818 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50818/1e027c52d3746fdda27eb01324ca3994c20e6293/RPC.java/clean/src/java/org/apache/nutch/ipc/RPC.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
918,
16306,
12,
751,
1447,
596,
16,
1033,
791,
16,
21394,
1659,
326,
797,
13,
1216,
1860,
288,
565,
309,
261,
1336,
422,
446,
13,
288,
15604,
368,
446,
1377,
791,
273,
394,
4112,
1442,
12,
5787,
797,
1769,
1377,
326,
797,
273,
4112,
1442,
18,
1106,
31,
565,
289,
565,
6380,
28,
18,
2626,
780,
12,
659,
16,
326,
797,
18,
17994,
10663,
565,
309,
261,
5787,
797,
18,
291,
1076,
10756,
288,
5397,
368,
526,
1377,
509,
769,
273,
1510,
18,
588,
1782,
12,
1336,
1769,
1377,
596,
18,
2626,
1702,
12,
2469,
1769,
1377,
364,
261,
474,
277,
273,
374,
31,
277,
411,
769,
31,
277,
27245,
288,
3639,
16306,
12,
659,
16,
1510,
18,
588,
12,
1336,
16,
277,
3631,
326,
797,
18,
588,
28116,
10663,
1377,
289,
1850,
289,
469,
309,
261,
5787,
797,
422,
514,
18,
1106,
13,
288,
3639,
368,
514,
1377,
6380,
28,
18,
2626,
780,
12,
659,
16,
261,
780,
13,
1336,
1769,
1850,
289,
469,
309,
261,
16571,
797,
18,
291,
9840,
10756,
288,
1850,
368,
8225,
618,
1377,
309,
261,
5787,
797,
422,
3411,
18,
2399,
13,
288,
5411,
368,
1250,
3639,
596,
18,
2626,
5507,
12443,
12,
5507,
13,
1336,
2934,
6494,
620,
10663,
1377,
289,
469,
309,
261,
5787,
797,
422,
6577,
18,
2399,
13,
288,
565,
368,
1149,
3639,
596,
18,
2626,
2156,
12443,
12,
7069,
13,
1336,
2934,
3001,
620,
10663,
1377,
289,
469,
309,
261,
5787,
797,
422,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
918,
16306,
12,
751,
1447,
596,
16,
1033,
791,
16,
21394,
1659,
326,
797,
13,
1216,
1860,
288,
565,
309,
261,
1336,
422,
446,
13,
288,
15604,
368,
446,
1377,
791,
273,
394,
4112,
1442,
12,
5787,
797,
1769,
1377,
326,
797,
273,
4112,
1442,
18,
1106,
31,
565,
289,
565,
6380,
28,
18,
2626,
780,
12,
659,
16,
326,
797,
18,
17994,
10663,
565,
309,
261,
5787,
797,
18,
291,
1076,
10756,
288,
5397,
368,
526,
1377,
509,
769,
273,
1510,
18,
588,
1782,
12,
1336,
1769,
1377,
596,
18,
2626,
1702,
12,
2469,
1769,
1377,
364,
261,
474,
277,
273,
374,
31,
277,
411,
769,
31,
277,
27245,
288,
3639,
16306,
12,
659,
16,
2
] |
return CONTINUE; }
|
return CONTINUE; }
|
public int execute(Object key, Object value, Object arg) { return CONTINUE; }
|
46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/addcb75d5d86d9b1fd628d84d22b74cfc41f078e/RubyObject.java/buggy/org/jruby/RubyObject.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
509,
1836,
12,
921,
498,
16,
1033,
460,
16,
1033,
1501,
13,
288,
10792,
327,
8020,
26725,
31,
7734,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
509,
1836,
12,
921,
498,
16,
1033,
460,
16,
1033,
1501,
13,
288,
10792,
327,
8020,
26725,
31,
7734,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (bEnableStyles) { lblStyle = new Label(cmpContent, SWT.NONE); GridData gdLStyle = new GridData( GridData.HORIZONTAL_ALIGN_BEGINNING); lblStyle.setLayoutData(gdLStyle); lblStyle.setText(Messages .getString("LineAttributesComposite.Lbl.Style")); lblStyle.setEnabled(bEnableUI);
|
if ( bEnableStyles ) { lblStyle = new Label( cmpContent, SWT.NONE ); GridData gdLStyle = new GridData( GridData.HORIZONTAL_ALIGN_BEGINNING ); lblStyle.setLayoutData( gdLStyle ); lblStyle.setText( Messages.getString( "LineAttributesComposite.Lbl.Style" ) ); lblStyle.setEnabled( bEnableUI );
|
private void placeComponents() { FillLayout flMain = new FillLayout(); flMain.marginHeight = 0; flMain.marginWidth = 0; GridLayout glContent = new GridLayout(); glContent.verticalSpacing = 5; glContent.horizontalSpacing = 5; glContent.marginHeight = 4; glContent.marginWidth = 4; glContent.numColumns = 6; this.setLayout(flMain); cmpContent = new Composite(this, SWT.NONE); cmpContent.setLayout(glContent); bEnabled = laCurrent.isVisible(); boolean bEnableUI = bEnabled; if (bEnableVisibility) { cbVisible = new Button(cmpContent, SWT.CHECK); GridData gdCBVisible = new GridData(GridData.FILL_HORIZONTAL); gdCBVisible.horizontalSpan = 6; cbVisible.setLayoutData(gdCBVisible); cbVisible.setText(Messages .getString("LineAttributesComposite.Lbl.IsVisible")); //$NON-NLS-1$ cbVisible.setSelection(laCurrent.isVisible()); cbVisible.addSelectionListener(this); if (bEnabled) { bEnableUI = cbVisible.getSelection(); } } if (bEnableStyles) { lblStyle = new Label(cmpContent, SWT.NONE); GridData gdLStyle = new GridData( GridData.HORIZONTAL_ALIGN_BEGINNING); lblStyle.setLayoutData(gdLStyle); lblStyle.setText(Messages .getString("LineAttributesComposite.Lbl.Style")); //$NON-NLS-1$ lblStyle.setEnabled(bEnableUI); cmbStyle = new LineStyleChooserComposite(cmpContent, SWT.DROP_DOWN | SWT.READ_ONLY, getSWTLineStyle(laCurrent.getStyle())); GridData gdCBStyle = new GridData(GridData.FILL_HORIZONTAL); gdCBStyle.horizontalSpan = 5; cmbStyle.setLayoutData(gdCBStyle); cmbStyle.addListener(this); cmbStyle.setEnabled(bEnableUI); } if (bEnableWidths) { lblWidth = new Label(cmpContent, SWT.NONE); GridData gdLWidth = new GridData( GridData.HORIZONTAL_ALIGN_BEGINNING); lblWidth.setLayoutData(gdLWidth); lblWidth.setText(Messages .getString("LineAttributesComposite.Lbl.Width")); //$NON-NLS-1$ lblWidth.setEnabled(bEnableUI); cmbWidth = new LineWidthChooserComposite(cmpContent, SWT.DROP_DOWN | SWT.READ_ONLY, laCurrent.getThickness()); GridData gdCBWidth = new GridData(GridData.FILL_HORIZONTAL); gdCBWidth.horizontalSpan = 5; cmbWidth.setLayoutData(gdCBWidth); cmbWidth.addListener(this); cmbWidth.setEnabled(bEnableUI); } if (bEnableColor) { lblColor = new Label(cmpContent, SWT.NONE); GridData gdLColor = new GridData( GridData.HORIZONTAL_ALIGN_BEGINNING); lblColor.setLayoutData(gdLColor); lblColor.setText(Messages .getString("LineAttributesComposite.Lbl.Color")); //$NON-NLS-1$ lblColor.setEnabled(bEnableUI); cmbColor = new FillChooserComposite(cmpContent, SWT.DROP_DOWN | SWT.READ_ONLY, this.laCurrent.getColor(), false, false); GridData gdCBColor = new GridData(GridData.FILL_HORIZONTAL); gdCBColor.horizontalSpan = 5; cmbColor.setLayoutData(gdCBColor); cmbColor.addListener(this); cmbColor.setEnabled(bEnableUI); } }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/c60a4815037b62e9358af2625eb6236e7c979d0f/LineAttributesComposite.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/LineAttributesComposite.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3166,
7171,
1435,
288,
202,
202,
8026,
3744,
1183,
6376,
273,
394,
14192,
3744,
5621,
202,
202,
2242,
6376,
18,
10107,
2686,
273,
374,
31,
202,
202,
2242,
6376,
18,
10107,
2384,
273,
374,
31,
202,
202,
6313,
3744,
5118,
1350,
273,
394,
7145,
3744,
5621,
202,
202,
7043,
1350,
18,
17824,
18006,
273,
1381,
31,
202,
202,
7043,
1350,
18,
18396,
18006,
273,
1381,
31,
202,
202,
7043,
1350,
18,
10107,
2686,
273,
1059,
31,
202,
202,
7043,
1350,
18,
10107,
2384,
273,
1059,
31,
202,
202,
7043,
1350,
18,
2107,
3380,
273,
1666,
31,
202,
202,
2211,
18,
542,
3744,
12,
2242,
6376,
1769,
202,
202,
9625,
1350,
273,
394,
14728,
12,
2211,
16,
348,
8588,
18,
9826,
1769,
202,
202,
9625,
1350,
18,
542,
3744,
12,
7043,
1350,
1769,
202,
202,
70,
1526,
273,
7125,
3935,
18,
291,
6207,
5621,
202,
202,
6494,
324,
8317,
5370,
273,
324,
1526,
31,
202,
202,
430,
261,
70,
8317,
10135,
13,
288,
1082,
202,
7358,
6207,
273,
394,
12569,
12,
9625,
1350,
16,
348,
8588,
18,
10687,
1769,
1082,
202,
6313,
751,
15551,
8876,
6207,
273,
394,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
1769,
1082,
202,
19016,
8876,
6207,
18,
18396,
6952,
273,
1666,
31,
1082,
202,
7358,
6207,
18,
542,
3744,
751,
12,
19016,
8876,
6207,
1769,
1082,
202,
7358,
6207,
18,
542,
1528,
12,
5058,
6862,
202,
18,
588,
780,
2932,
1670,
2498,
9400,
18,
48,
3083,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3166,
7171,
1435,
288,
202,
202,
8026,
3744,
1183,
6376,
273,
394,
14192,
3744,
5621,
202,
202,
2242,
6376,
18,
10107,
2686,
273,
374,
31,
202,
202,
2242,
6376,
18,
10107,
2384,
273,
374,
31,
202,
202,
6313,
3744,
5118,
1350,
273,
394,
7145,
3744,
5621,
202,
202,
7043,
1350,
18,
17824,
18006,
273,
1381,
31,
202,
202,
7043,
1350,
18,
18396,
18006,
273,
1381,
31,
202,
202,
7043,
1350,
18,
10107,
2686,
273,
1059,
31,
202,
202,
7043,
1350,
18,
10107,
2384,
273,
1059,
31,
202,
202,
7043,
1350,
18,
2107,
3380,
273,
1666,
31,
202,
202,
2211,
18,
542,
3744,
12,
2242,
6376,
1769,
202,
202,
9625,
1350,
273,
394,
14728,
12,
2211,
2
] |
} else {
|
} else {
|
private void setupRandPartC() { if (j2 < (int) z) { currentChar = ch2; mCrc.updateCRC(ch2); j2++; } else { currentState = RAND_PART_A_STATE; i2++; count = 0; setupRandPartA(); } }
|
10884 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10884/8348e0b29d34f62b8f140a99598373fb0cbf7fcb/CBZip2InputStream.java/clean/src/main/java/org/codehaus/plexus/archiver/bzip2/CBZip2InputStream.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3875,
54,
464,
1988,
39,
1435,
288,
3639,
309,
261,
78,
22,
411,
261,
474,
13,
998,
13,
288,
5411,
29445,
273,
462,
22,
31,
5411,
312,
39,
1310,
18,
2725,
26803,
12,
343,
22,
1769,
5411,
525,
22,
9904,
31,
3639,
289,
469,
288,
5411,
17773,
273,
534,
4307,
67,
15055,
67,
37,
67,
7998,
31,
5411,
277,
22,
9904,
31,
5411,
1056,
273,
374,
31,
5411,
3875,
54,
464,
1988,
37,
5621,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3875,
54,
464,
1988,
39,
1435,
288,
3639,
309,
261,
78,
22,
411,
261,
474,
13,
998,
13,
288,
5411,
29445,
273,
462,
22,
31,
5411,
312,
39,
1310,
18,
2725,
26803,
12,
343,
22,
1769,
5411,
525,
22,
9904,
31,
3639,
289,
469,
288,
5411,
17773,
273,
534,
4307,
67,
15055,
67,
37,
67,
7998,
31,
5411,
277,
22,
9904,
31,
5411,
1056,
273,
374,
31,
5411,
3875,
54,
464,
1988,
37,
5621,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public org.quickfix.field.RegistID getRegistID() throws FieldNotFound { org.quickfix.field.RegistID value = new org.quickfix.field.RegistID();
|
public quickfix.field.RegistID getRegistID() throws FieldNotFound { quickfix.field.RegistID value = new quickfix.field.RegistID();
|
public org.quickfix.field.RegistID getRegistID() throws FieldNotFound { org.quickfix.field.RegistID value = new org.quickfix.field.RegistID(); getField(value); return value; }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/ExecutionReport.java/buggy/src/java/src/quickfix/fix43/ExecutionReport.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
1617,
376,
734,
336,
1617,
376,
734,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
1617,
376,
734,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
1617,
376,
734,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
1617,
376,
734,
336,
1617,
376,
734,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
1617,
376,
734,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
1617,
376,
734,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return x.getExpression();
|
return x.getQualifier();
|
public ASTNode get() { return x.getExpression(); }
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/f7bc2ee5d62baf64b6f044f322b40cdaa75e5dcc/ASTTest.java/clean/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/dom/ASTTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
9183,
907,
336,
1435,
288,
9506,
202,
2463,
619,
18,
588,
2300,
5621,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
9183,
907,
336,
1435,
288,
9506,
202,
2463,
619,
18,
588,
2300,
5621,
1082,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
root = getLocalApiDocRoot(className);
|
root = apiDocRoot;
|
private String mapApiDocRoot(String className) { String root = null; if (specifiedPackages.isEmpty() || isSpecifiedPackage(className)) root = getLocalApiDocRoot(className); else root = getExternalApiDocRoot(className); if (root == null) root = ""; return root; }
|
47201 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47201/79a8c001740f08d96264606e9d548d69f12a9fbf/ClassInfo.java/clean/src/org/umlgraph/doclet/ClassInfo.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
852,
3064,
1759,
2375,
12,
780,
2658,
13,
288,
202,
202,
780,
1365,
273,
446,
31,
202,
202,
430,
261,
13827,
11425,
18,
291,
1921,
1435,
747,
353,
17068,
2261,
12,
12434,
3719,
1082,
202,
3085,
273,
6993,
3064,
1759,
2375,
12,
12434,
1769,
202,
202,
12107,
1082,
202,
3085,
273,
22319,
3064,
1759,
2375,
12,
12434,
1769,
202,
202,
430,
261,
3085,
422,
446,
13,
1082,
202,
3085,
273,
1408,
31,
202,
202,
2463,
1365,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
852,
3064,
1759,
2375,
12,
780,
2658,
13,
288,
202,
202,
780,
1365,
273,
446,
31,
202,
202,
430,
261,
13827,
11425,
18,
291,
1921,
1435,
747,
353,
17068,
2261,
12,
12434,
3719,
1082,
202,
3085,
273,
6993,
3064,
1759,
2375,
12,
12434,
1769,
202,
202,
12107,
1082,
202,
3085,
273,
22319,
3064,
1759,
2375,
12,
12434,
1769,
202,
202,
430,
261,
3085,
422,
446,
13,
1082,
202,
3085,
273,
1408,
31,
202,
202,
2463,
1365,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public List getResultFiles() { return resultFiles; }
|
public List getResultFiles() { return resultFiles; }
|
public List getResultFiles() { return resultFiles; }
|
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/82f517dadfef099f4d5dcbaf1f1676a345fa6d79/BaseStep.java/buggy/src/be/ibridge/kettle/trans/step/BaseStep.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
987,
8601,
2697,
1435,
288,
202,
202,
2463,
563,
2697,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
987,
8601,
2697,
1435,
288,
202,
202,
2463,
563,
2697,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.