rem
stringlengths 1
53.3k
| add
stringlengths 0
80.5k
| context
stringlengths 6
326k
| meta
stringlengths 141
403
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
setAllElements(((MAssociationEnd)_target).getSpecifications());
|
setAllElements(((MAssociationEnd) _target).getSpecifications());
|
protected void buildModelList() { if (_target != null) setAllElements(((MAssociationEnd)_target).getSpecifications()); }
|
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/UMLAssociationEndSpecificationListModel.java/buggy/src_new/org/argouml/uml/ui/foundation/core/UMLAssociationEndSpecificationListModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1361,
1488,
682,
1435,
288,
3639,
309,
261,
67,
3299,
480,
446,
13,
2398,
30213,
3471,
12443,
12,
49,
7174,
1638,
13,
389,
3299,
2934,
588,
27044,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
}
|
}
|
private void fillContextMenu(IMenuManager manager) { updateDrillDownActions(); ITaskListElement element = null; final Object firstSelectedObject = ((IStructuredSelection) getViewer().getSelection()).getFirstElement(); if (firstSelectedObject instanceof ITaskListElement) { element = (ITaskListElement) firstSelectedObject; } List<ITaskListElement> selectedElements = new ArrayList<ITaskListElement>(); for (Iterator i = ((IStructuredSelection) getViewer().getSelection()).iterator(); i.hasNext();) { Object object = i.next(); if (object instanceof ITaskListElement) { selectedElements.add((ITaskListElement) object); } } openWithBrowser.selectionChanged((StructuredSelection) getViewer().getSelection()); manager.add(new Separator(ID_SEPARATOR_NEW)); manager.add(new Separator()); Map<String, List<IDynamicSubMenuContributor>> dynamicMenuMap = TasksUiPlugin.getDefault() .getDynamicMenuMap(); ITask task = null; if ((element instanceof ITask) || (element instanceof AbstractQueryHit)) { if (element instanceof AbstractQueryHit) { task = ((AbstractQueryHit) element).getCorrespondingTask(); } else { task = (ITask) element; } } addAction(openAction, manager, element); addAction(openWithBrowser, manager, element); manager.add(new Separator()); for (String menuPath : dynamicMenuMap.keySet()) { if (!ID_SEPARATOR_CONTEXT.equals(menuPath)) { for (IDynamicSubMenuContributor contributor : dynamicMenuMap.get(menuPath)) { MenuManager subMenuManager = contributor.getSubMenuManager(selectedElements); if (subMenuManager != null) { addMenuManager(subMenuManager, manager, element); } } } } manager.add(new Separator()); addAction(copyDetailsAction, manager, element); if (task != null) { addAction(removeFromCategoryAction, manager, element); } addAction(deleteAction, manager, element); if (!(element instanceof AbstractRepositoryTask) || element instanceof AbstractTaskContainer) { addAction(renameAction, manager, element); } if (element instanceof AbstractTaskContainer) { manager.add(goIntoAction); } if (drilledIntoCategory != null) { manager.add(goUpAction); } manager.add(new Separator(ID_SEPARATOR_REPOSITORY)); manager.add(new Separator(ID_SEPARATOR_CONTEXT)); if (task != null) { if (task.isActive()) { manager.add(deactivateAction); } else { manager.add(activateAction); } } else if (element instanceof AbstractQueryHit) { manager.add(activateAction); } if (element instanceof ITask || element instanceof AbstractQueryHit) { for (String menuPath : dynamicMenuMap.keySet()) { if (ID_SEPARATOR_CONTEXT.equals(menuPath)) { for (IDynamicSubMenuContributor contributor : dynamicMenuMap.get(menuPath)) { MenuManager subMenuManager = contributor.getSubMenuManager(selectedElements); if (subMenuManager != null) { addMenuManager(subMenuManager, manager, element); } } } } } if (element instanceof AbstractRepositoryQuery || element instanceof TaskCategory) { manager.add(new Separator()); addAction(propertiesAction, manager, element); } manager.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS)); }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/348bc53a142b03a9c067784d6b31d60076a30b9e/TaskListView.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListView.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3636,
27315,
12,
3445,
2104,
1318,
3301,
13,
288,
202,
202,
2725,
8956,
737,
4164,
6100,
5621,
202,
202,
1285,
835,
682,
1046,
930,
273,
446,
31,
202,
202,
6385,
1033,
1122,
7416,
921,
273,
14015,
45,
30733,
6233,
13,
8893,
264,
7675,
588,
6233,
1435,
2934,
588,
3759,
1046,
5621,
202,
202,
430,
261,
3645,
7416,
921,
1276,
467,
2174,
682,
1046,
13,
288,
1082,
202,
2956,
273,
261,
1285,
835,
682,
1046,
13,
1122,
7416,
921,
31,
202,
202,
97,
202,
202,
682,
32,
1285,
835,
682,
1046,
34,
3170,
3471,
273,
394,
2407,
32,
1285,
835,
682,
1046,
34,
5621,
202,
202,
1884,
261,
3198,
277,
273,
14015,
45,
30733,
6233,
13,
8893,
264,
7675,
588,
6233,
1435,
2934,
9838,
5621,
277,
18,
5332,
2134,
5621,
13,
288,
1082,
202,
921,
733,
273,
277,
18,
4285,
5621,
1082,
202,
430,
261,
1612,
1276,
467,
2174,
682,
1046,
13,
288,
9506,
202,
8109,
3471,
18,
1289,
12443,
1285,
835,
682,
1046,
13,
733,
1769,
1082,
202,
97,
202,
202,
97,
1082,
202,
3190,
1190,
9132,
18,
10705,
5033,
12443,
30733,
6233,
13,
8893,
264,
7675,
588,
6233,
10663,
202,
202,
4181,
18,
1289,
12,
2704,
27519,
12,
734,
67,
4550,
67,
12917,
10019,
202,
202,
4181,
18,
1289,
12,
2704,
27519,
10663,
540,
202,
202,
863,
32,
780,
16,
987,
32,
734,
3920,
1676,
4599,
442,
19293,
9778,
5976,
4599,
863,
273,
20350,
13943,
3773,
18,
588,
1868,
1435,
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,
1152,
918,
3636,
27315,
12,
3445,
2104,
1318,
3301,
13,
288,
202,
202,
2725,
8956,
737,
4164,
6100,
5621,
202,
202,
1285,
835,
682,
1046,
930,
273,
446,
31,
202,
202,
6385,
1033,
1122,
7416,
921,
273,
14015,
45,
30733,
6233,
13,
8893,
264,
7675,
588,
6233,
1435,
2934,
588,
3759,
1046,
5621,
202,
202,
430,
261,
3645,
7416,
921,
1276,
467,
2174,
682,
1046,
13,
288,
1082,
202,
2956,
273,
261,
1285,
835,
682,
1046,
13,
1122,
7416,
921,
31,
202,
202,
97,
202,
202,
682,
32,
1285,
835,
682,
1046,
34,
3170,
3471,
273,
394,
2407,
32,
1285,
835,
682,
1046,
34,
5621,
202,
202,
1884,
261,
3198,
277,
273,
14015,
45,
30733,
6233,
13,
2
] |
public void junit(OpenDefinitionsDocument doc) throws ClassNotFoundException, IOException {// new ScrollableDialog(null, "junit(" + doc + ") called in DefaultJunitModel", "", "").show(); try { // try to get the file, to make sure it's not untitled. if it is, it'll throw an IllegalStateException File testFile = doc.getFile(); LinkedList<OpenDefinitionsDocument> lod = new LinkedList<OpenDefinitionsDocument>(); lod.add(doc); junitOpenDefDocs(lod, false); } catch (IllegalStateException e) { // No file exists, don't try to compile and test nonTestCase(false); return; } catch (NoClassDefFoundError e) { // Method getTest in junit.framework.BaseTestRunner can throw a // NoClassDefFoundError (via reflection). _notifier.junitEnded(); // balances junitStarted() synchronized(_testLock) { _testInProgress = false; } throw e; } catch (ExitingNotAllowedException enae) { // test attempted to call System.exit _notifier.junitEnded(); // balances junitStarted() synchronized(_testLock) { _testInProgress = false; } throw enae; } }
|
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/5096aaab648cea3686054749f4edbb0813185db1/DefaultJUnitModel.java/buggy/drjava/src/edu/rice/cs/drjava/model/junit/DefaultJUnitModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
1071,
918,
525,
4873,
12,
3678,
7130,
2519,
997,
13,
1216,
10403,
16,
1860,
288,
759,
225,
394,
23134,
429,
6353,
12,
2011,
16,
315,
78,
4873,
2932,
397,
997,
397,
9369,
2566,
316,
2989,
46,
4873,
1488,
3113,
23453,
1408,
2934,
4500,
5621,
225,
775,
288,
282,
368,
775,
358,
336,
326,
585,
16,
358,
1221,
3071,
518,
1807,
486,
640,
88,
305,
1259,
18,
309,
518,
353,
16,
518,
5614,
604,
392,
5477,
282,
1387,
1842,
812,
273,
997,
18,
29925,
5621,
282,
10688,
32,
3678,
7130,
2519,
34,
328,
369,
273,
394,
10688,
32,
3678,
7130,
2519,
34,
5621,
282,
328,
369,
18,
1289,
12,
2434,
1769,
282,
525,
4873,
3678,
3262,
12656,
12,
80,
369,
16,
629,
1769,
225,
289,
225,
1044,
261,
12195,
5060,
425,
13,
288,
282,
368,
2631,
585,
1704,
16,
2727,
1404,
775,
358,
4074,
471,
1842,
282,
1661,
4709,
2449,
12,
5743,
1769,
282,
327,
31,
225,
289,
225,
1044,
261,
2279,
797,
3262,
2043,
668,
425,
13,
288,
282,
368,
2985,
29384,
316,
525,
4873,
18,
12303,
18,
2171,
4709,
9709,
848,
604,
279,
282,
368,
2631,
797,
3262,
2043,
668,
261,
21985,
5463,
2934,
565,
389,
902,
1251,
18,
78,
4873,
28362,
5621,
368,
324,
26488,
525,
4873,
9217,
1435,
565,
3852,
24899,
3813,
2531,
13,
288,
389,
3813,
13434,
273,
629,
31,
289,
565,
604,
425,
31,
225,
289,
225,
1044,
261,
6767,
310,
19354,
503,
570,
8906,
13,
288,
368,
1842,
18121,
358,
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,
1071,
918,
525,
4873,
12,
3678,
7130,
2519,
997,
13,
1216,
10403,
16,
1860,
288,
759,
225,
394,
23134,
429,
6353,
12,
2011,
16,
315,
78,
4873,
2932,
397,
997,
397,
9369,
2566,
316,
2989,
46,
4873,
1488,
3113,
23453,
1408,
2934,
4500,
5621,
225,
775,
288,
282,
368,
775,
358,
336,
326,
585,
16,
358,
1221,
3071,
518,
1807,
486,
640,
88,
305,
1259,
18,
309,
518,
353,
16,
518,
5614,
604,
392,
5477,
282,
1387,
1842,
812,
273,
997,
18,
29925,
5621,
282,
10688,
32,
3678,
7130,
2519,
34,
328,
369,
273,
394,
10688,
32,
3678,
7130,
2519,
34,
5621,
282,
328,
369,
18,
1289,
12,
2434,
1769,
282,
525,
4873,
3678,
3262,
12656,
12,
80,
2
] |
||
public static boolean sendToTarget(Message message) throws SessionNotFoundException {
|
public static boolean sendToTarget(Message message) throws SessionNotFound {
|
public static boolean sendToTarget(Message message) throws SessionNotFoundException { return sendToTarget(message, ""); }
|
6791 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6791/295741cd23c8b9a5b237be01f6f60074b7e78c2a/Session.java/buggy/src/quickfix/Session.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
29091,
2326,
12,
1079,
883,
13,
1216,
3877,
2768,
288,
3639,
327,
29091,
2326,
12,
2150,
16,
1408,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
29091,
2326,
12,
1079,
883,
13,
1216,
3877,
2768,
288,
3639,
327,
29091,
2326,
12,
2150,
16,
1408,
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
] |
if ( fValue != null ) { synchronized( this ) { if ( fType == null ) { fType = ((AbstractCValue)fValue).getType(); }
|
synchronized( this ) { if ( fType == null ) { fType = ((AbstractCValue)fValue).getType();
|
public ICType getType() throws DebugException { if ( fType == null ) { if ( fValue != null ) { synchronized( this ) { if ( fType == null ) { fType = ((AbstractCValue)fValue).getType(); } } } } return fType; }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/22f8c9984c0ea0995bd9e83013954d12ff907b38/CExpression.java/buggy/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CExpression.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
26899,
559,
3130,
1435,
1216,
4015,
503,
288,
202,
202,
430,
261,
284,
559,
422,
446,
262,
288,
1082,
202,
430,
261,
284,
620,
480,
446,
262,
288,
9506,
202,
22043,
12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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
26899,
559,
3130,
1435,
1216,
4015,
503,
288,
202,
202,
430,
261,
284,
559,
422,
446,
262,
288,
1082,
202,
430,
261,
284,
620,
480,
446,
262,
288,
9506,
202,
22043,
12,
333,
262,
288,
6862,
202,
430,
261,
284,
559,
422,
446,
262,
288,
25083,
202,
74,
559,
273,
14015,
7469,
39,
620,
13,
74,
620,
2934,
588,
559,
5621,
6862,
202,
97,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
284,
559,
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
] |
vPhaseReport.addElement(r);
|
addReport(r);
|
private void resolveProtoAttack(PhysicalResult pr, int lastEntityId) { final ProtomechPhysicalAttackAction ppaa = (ProtomechPhysicalAttackAction)pr.aaa; final Entity ae = game.getEntity(ppaa.getEntityId()); // get damage, ToHitData and roll from the PhysicalResult int damage = pr.damage; final ToHitData toHit = pr.toHit; int roll = pr.roll; final Targetable target = game.getTarget(ppaa.getTargetType(), ppaa.getTargetId()); Entity te = null; if (target.getTargetType() == Targetable.TYPE_ENTITY) { te = (Entity)target; } boolean throughFront = true; if (te!=null) { throughFront = Compute.isThroughFrontHex(game, ppaa.getEntityId(), te); } final boolean targetInBuilding = Compute.isInBuilding( game, te ); final boolean glancing = (game.getOptions().booleanOption("maxtech_glancing_blows") && (roll == toHit.getValue())); Report r; // Which building takes the damage? Building bldg = game.getBoard().getBuildingAt( target.getPosition() ); if (lastEntityId != ae.getId()) { //who is making the attacks r = new Report(4005); r.subject = ae.getId(); r.addDesc(ae); vPhaseReport.addElement(r); } r = new Report(4070); r.subject = ae.getId(); r.indent(); r.add(target.getDisplayName()); r.newlines = 0; vPhaseReport.addElement(r); if (toHit.getValue() == ToHitData.IMPOSSIBLE) { r = new Report(4075); r.subject = ae.getId(); r.add(toHit.getDesc()); vPhaseReport.addElement(r); return; } else if (toHit.getValue() == ToHitData.AUTOMATIC_SUCCESS) { r = new Report(4080); r.subject = ae.getId(); r.add(toHit.getDesc()); r.newlines = 0; vPhaseReport.addElement(r); roll = Integer.MAX_VALUE; } else { // report the roll r = new Report(4025); r.subject = ae.getId(); r.add(toHit.getValue()); r.add(roll); r.newlines = 0; vPhaseReport.addElement(r); if (glancing) { r = new Report(4030); r.subject = ae.getId(); r.newlines = 0; vPhaseReport.addElement(r); } } // do we hit? if (roll < toHit.getValue()) { // miss r = new Report(4035); r.subject = ae.getId(); vPhaseReport.addElement(r); // If the target is in a building, the building absorbs the damage. if ( targetInBuilding && bldg != null ) { // Only report if damage was done to the building. if ( damage > 0 ) { Report buildingReport = damageBuilding( bldg, damage ); buildingReport.indent(); buildingReport.subject = ae.getId(); vPhaseReport.addElement(buildingReport); } } return; } // Targeting a building. if ( target.getTargetType() == Targetable.TYPE_BUILDING ) { // The building takes the full brunt of the attack. r = new Report(4040); r.subject = ae.getId(); vPhaseReport.addElement(r); Report buildingReport = damageBuilding( bldg, damage ); buildingReport.indent(); buildingReport.subject = ae.getId(); vPhaseReport.addElement(buildingReport); // Damage any infantry in the hex. this.damageInfantryIn( bldg, damage ); // And we're done! return; } HitData hit = te.rollHitLocation(toHit.getHitTable(), toHit.getSideTable()); r = new Report(4045); r.subject = ae.getId(); r.add(toHit.getTableDesc()); r.add(te.getLocationAbbr(hit)); r.newlines = 0; vPhaseReport.addElement(r); // The building shields all units from a certain amount of damage. // The amount is based upon the building's CF at the phase's start. if ( targetInBuilding && bldg != null ) { int bldgAbsorbs = (int) Math.ceil( bldg.getPhaseCF() / 10.0 ); int toBldg = Math.min( bldgAbsorbs, damage ); damage -= toBldg; Report.addNewline(vPhaseReport); Report buildingReport = damageBuilding( bldg, toBldg ); buildingReport.indent(); buildingReport.subject = ae.getId(); vPhaseReport.addElement(buildingReport); } // A building may absorb the entire shot. if ( damage == 0 ) { r = new Report(4050); r.subject = ae.getId(); r.add(te.getShortName()); r.add(te.getOwner().getName()); r.newlines = 0; vPhaseReport.addElement(r); } else { if (glancing) { damage = (int)Math.floor(damage/2.0); } vPhaseReport.addAll(damageEntity(te, hit, damage)); } Report.addNewline(vPhaseReport); }
|
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/393a9905cc0201927e4535bd40befa92f4014c31/Server.java/buggy/megamek/src/megamek/server/Server.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2245,
6262,
3075,
484,
12,
18136,
1253,
846,
16,
509,
1142,
18029,
13,
288,
3639,
727,
1186,
88,
1742,
343,
18136,
3075,
484,
1803,
8228,
7598,
273,
261,
21189,
1742,
343,
18136,
3075,
484,
1803,
13,
683,
18,
26676,
31,
3639,
727,
3887,
14221,
273,
7920,
18,
588,
1943,
12,
11858,
7598,
18,
588,
18029,
10663,
3639,
368,
336,
302,
301,
410,
16,
2974,
13616,
751,
471,
5824,
628,
326,
19712,
1253,
3639,
509,
302,
301,
410,
273,
846,
18,
72,
301,
410,
31,
3639,
727,
2974,
13616,
751,
358,
13616,
273,
846,
18,
869,
13616,
31,
3639,
509,
5824,
273,
846,
18,
2693,
31,
3639,
727,
5916,
429,
1018,
273,
7920,
18,
588,
2326,
12,
11858,
7598,
18,
588,
2326,
559,
9334,
8228,
7598,
18,
588,
2326,
548,
10663,
3639,
3887,
6489,
273,
446,
31,
3639,
309,
261,
3299,
18,
588,
2326,
559,
1435,
422,
5916,
429,
18,
2399,
67,
11101,
13,
288,
5411,
6489,
273,
261,
1943,
13,
3299,
31,
3639,
289,
3639,
1250,
3059,
9580,
273,
638,
31,
3639,
309,
261,
736,
5,
33,
2011,
13,
288,
5411,
3059,
9580,
273,
8155,
18,
291,
14287,
9580,
7037,
12,
13957,
16,
8228,
7598,
18,
588,
18029,
9334,
6489,
1769,
3639,
289,
3639,
727,
1250,
1018,
382,
16713,
273,
8155,
18,
291,
382,
16713,
12,
7920,
16,
6489,
11272,
3639,
727,
1250,
5118,
304,
2822,
273,
261,
13957,
18,
588,
1320,
7675,
6494,
1895,
2932,
1896,
28012,
67,
75,
6115,
2822,
67,
70,
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,
2245,
6262,
3075,
484,
12,
18136,
1253,
846,
16,
509,
1142,
18029,
13,
288,
3639,
727,
1186,
88,
1742,
343,
18136,
3075,
484,
1803,
8228,
7598,
273,
261,
21189,
1742,
343,
18136,
3075,
484,
1803,
13,
683,
18,
26676,
31,
3639,
727,
3887,
14221,
273,
7920,
18,
588,
1943,
12,
11858,
7598,
18,
588,
18029,
10663,
3639,
368,
336,
302,
301,
410,
16,
2974,
13616,
751,
471,
5824,
628,
326,
19712,
1253,
3639,
509,
302,
301,
410,
273,
846,
18,
72,
301,
410,
31,
3639,
727,
2974,
13616,
751,
358,
13616,
273,
846,
18,
869,
13616,
31,
3639,
509,
5824,
273,
846,
18,
2693,
31,
3639,
727,
5916,
429,
1018,
273,
7920,
18,
588,
2326,
12,
2
] |
if (lastFrameUrl != null && !lastFrameUrl.equals("<stdin>")) { FileWindow w = main.getFileWindow(lastFrameUrl); if (w != null) { new SetFilePosition(main, w, line).run(); } else { SourceInfo si = lastFrame.sourceInfo(); CreateFileWindow.action(main, si, line).run(); } } else { if (main.console.isVisible()) { main.console.show(); } }
|
debugGui.showStackFrame(lastFrame);
|
public void run() { String lastFrameUrl = lastFrame.getUrl(); int line = lastFrame.getLineNumber(); main.statusBar.setText("Thread: " + threadTitle); if (lastFrameUrl != null && !lastFrameUrl.equals("<stdin>")) { FileWindow w = main.getFileWindow(lastFrameUrl); if (w != null) { new SetFilePosition(main, w, line).run(); } else { SourceInfo si = lastFrame.sourceInfo(); CreateFileWindow.action(main, si, line).run(); } } else { if (main.console.isVisible()) { main.console.show(); } } if (alertMessage != null) { MessageDialogWrapper.showMessageDialog(main, alertMessage, "Exception in Script", JOptionPane.ERROR_MESSAGE); } JMenu menu = main.getJMenuBar().getMenu(0); //menu.getItem(0).setEnabled(false); // File->Load menu = main.getJMenuBar().getMenu(2); menu.getItem(0).setEnabled(false); // Debug->Break int count = menu.getItemCount(); for (int i = 1; i < count; ++i) { menu.getItem(i).setEnabled(true); } boolean b = false; for (int ci = 0, cc = main.toolBar.getComponentCount(); ci < cc; ci++) { main.toolBar.getComponent(ci).setEnabled(b); b = true; } main.toolBar.setEnabled(true); // raise the debugger window main.toFront(); ContextData contextData = lastFrame.contextData(); main.context.enable(); JComboBox ctx = main.context.context; Vector toolTips = main.context.toolTips; main.context.disableUpdate(); int frameCount = contextData.frameCount(); ctx.removeAllItems(); // workaround for JDK 1.4 bug that caches selected value even after // removeAllItems() is called ctx.setSelectedItem(null); toolTips.removeAllElements(); for (int i = 0; i < frameCount; i++) { StackFrame frame = contextData.getFrame(i); String url = frame.getUrl(); int lineNumber = frame.getLineNumber(); String shortName = url; if (url.length() > 20) { shortName = "..." + url.substring(url.length() - 17); } String location = "\"" + shortName + "\", line " + lineNumber; ctx.insertItemAt(location, i); location = "\"" + url + "\", line " + lineNumber; toolTips.addElement(location); } main.context.enableUpdate(); ctx.setSelectedIndex(0); ctx.setMinimumSize(new Dimension(50, ctx.getMinimumSize().height)); }
|
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/9f6ca8f9a1c065e5181a0679595b48269838c038/Main.java/clean/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
565,
288,
3639,
514,
1142,
3219,
1489,
273,
1142,
3219,
18,
588,
1489,
5621,
3639,
509,
980,
273,
1142,
3219,
18,
588,
31063,
5621,
3639,
2774,
18,
2327,
5190,
18,
542,
1528,
2932,
3830,
30,
315,
397,
2650,
4247,
1769,
3639,
309,
261,
2722,
3219,
1489,
480,
446,
597,
401,
2722,
3219,
1489,
18,
14963,
2932,
32,
21772,
2984,
3719,
288,
5411,
1387,
3829,
341,
273,
2774,
18,
29925,
3829,
12,
2722,
3219,
1489,
1769,
5411,
309,
261,
91,
480,
446,
13,
288,
7734,
394,
1000,
812,
2555,
12,
5254,
16,
341,
16,
980,
2934,
2681,
5621,
5411,
289,
469,
288,
7734,
4998,
966,
7533,
273,
1142,
3219,
18,
3168,
966,
5621,
7734,
1788,
812,
3829,
18,
1128,
12,
5254,
16,
7533,
16,
980,
2934,
2681,
5621,
5411,
289,
3639,
289,
469,
288,
5411,
309,
261,
5254,
18,
8698,
18,
291,
6207,
10756,
288,
7734,
2774,
18,
8698,
18,
4500,
5621,
5411,
289,
3639,
289,
3639,
309,
261,
11798,
1079,
480,
446,
13,
288,
5411,
2350,
6353,
3611,
18,
4500,
1079,
6353,
12,
5254,
16,
4766,
10402,
6881,
1079,
16,
4766,
10402,
315,
503,
316,
7739,
3113,
4766,
10402,
804,
1895,
8485,
18,
3589,
67,
8723,
1769,
3639,
289,
3639,
804,
4599,
3824,
273,
2774,
18,
588,
46,
4599,
5190,
7675,
588,
4599,
12,
20,
1769,
3639,
368,
5414,
18,
588,
1180,
12,
20,
2934,
542,
1526,
12,
5743,
1769,
368,
1387,
2122,
2563,
3639,
3824,
273,
2774,
18,
588,
46,
4599,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
565,
288,
3639,
514,
1142,
3219,
1489,
273,
1142,
3219,
18,
588,
1489,
5621,
3639,
509,
980,
273,
1142,
3219,
18,
588,
31063,
5621,
3639,
2774,
18,
2327,
5190,
18,
542,
1528,
2932,
3830,
30,
315,
397,
2650,
4247,
1769,
3639,
309,
261,
2722,
3219,
1489,
480,
446,
597,
401,
2722,
3219,
1489,
18,
14963,
2932,
32,
21772,
2984,
3719,
288,
5411,
1387,
3829,
341,
273,
2774,
18,
29925,
3829,
12,
2722,
3219,
1489,
1769,
5411,
309,
261,
91,
480,
446,
13,
288,
7734,
394,
1000,
812,
2555,
12,
5254,
16,
341,
16,
980,
2934,
2681,
5621,
5411,
289,
469,
288,
7734,
4998,
966,
7533,
273,
1142,
3219,
18,
3168,
966,
5621,
7734,
1788,
2
] |
if(checkBounds(deltaX, deltaY, deltaW, deltaH))
|
if (checkBounds(deltaX, deltaY, deltaW, deltaH))
|
void lensMouseDrag(int x, int y, boolean isShiftDown) { if (borderDrag) { int deltaX = 0; int deltaY = 0; int deltaW = 0; int deltaH = 0; switch(resizeDir) { case LensUI.NORTH: if (y-offsetY < 0) { deltaY = (y-offsetY); deltaH = Math.abs(y-offsetY); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) startY = startY+(y-offsetY); } else { deltaY = (y-offsetY); deltaH = -Math.abs(y-offsetY); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) startY = startY+(y-offsetY); } break; case LensUI.SOUTH: if (y-offsetY > 0) { deltaH = Math.abs(y-offsetY); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) offsetY = y; } else { deltaH = -Math.abs(y-offsetY); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) offsetY = y; } break; case LensUI.EAST: if (x-offsetX > 0) { deltaW = Math.abs(x-offsetX); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) offsetX = x; } else { deltaW = -Math.abs(x-offsetX); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) offsetX = x; } break; case LensUI.WEST: if (x-offsetX > 0) { deltaX = (x-offsetX); deltaW = -Math.abs(x-offsetX); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) startX = startX+(x-offsetX); } else { deltaX = -Math.abs(x-offsetX); deltaW = Math.abs(x-offsetX); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) startX = startX+(x-offsetX); } break; case LensUI.NORTH_EAST: if(y-offsetY < 0) { deltaY = (y-offsetY); deltaH = Math.abs(y-offsetY); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) startY = startY+(y-offsetY); } else { deltaY = (y-offsetY); deltaH = -Math.abs(y-offsetY); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) startY = startY+(y-offsetY); } if(x-offsetX > 0) { deltaW = Math.abs(x-offsetX); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) offsetX = x; } else { deltaW = -Math.abs(x-offsetX); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) offsetX = x; } break; case LensUI.NORTH_WEST: if(y-offsetY < 0) { deltaY = (y-offsetY); deltaH = Math.abs(y-offsetY); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) startY = startY+(y-offsetY); } else { deltaY = (y-offsetY); deltaH = -Math.abs(y-offsetY); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) startY = startY+(y-offsetY); } if(x-offsetX > 0) { deltaX = (x-offsetX); deltaW = -Math.abs(x-offsetX); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) startX = startX+(x-offsetX); } else { deltaX = -Math.abs(x-offsetX); deltaW = Math.abs(x-offsetX); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) startX = startX+(x-offsetX); } case LensUI.SOUTH_EAST: if(y-offsetY > 0) { deltaH = Math.abs(y-offsetY); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) offsetY = y; } else { deltaH = -Math.abs(y-offsetY); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) offsetY = y; } if(x-offsetX > 0) { deltaW = Math.abs(x-offsetX); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) offsetX = x; } else { deltaW = -Math.abs(x-offsetX); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) offsetX = x; } break; case LensUI.SOUTH_WEST: if(y-offsetY > 0) { deltaH = Math.abs(y-offsetY); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) offsetY = y; } else { deltaH = -Math.abs(y-offsetY); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) offsetY = y; } if(x-offsetX > 0) { deltaX = (x-offsetX); deltaW = -Math.abs(x-offsetX); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) startX = startX+(x-offsetX); } else { deltaX = -Math.abs(x-offsetX); deltaW = Math.abs(x-offsetX); if(checkBounds(deltaX, deltaY, deltaW, deltaH)) startX = startX+(x-offsetX); } break; } setLensBounds(deltaX, deltaY, deltaW, deltaH, isShiftDown); } if(lensDrag) { boolean moveX = true; boolean moveY = true; if(startX+(x-offsetX) < 0 ) { moveX = false; startX = 0; } if((startX+(x-offsetX))/lensModel.getImageZoomFactor()+lensModel.getWidth() > lensModel.getImageWidth()) { moveX = false; startX = lensModel.getImageScaledWidth()-lensModel.getScaledWidth(); } if(startY+(y-offsetY) < 0 ) { moveY = false; startY = 0; } if(startY+(y-offsetY)+lens.getHeight() > lensModel.getImageScaledHeight()) { moveY = false; startY = lensModel.getImageScaledHeight()-lensModel.getScaledHeight(); } if(moveX) startX = startX+(x-offsetX); if(moveY) startY = startY+(y-offsetY); setLensLocation((int)(startX/lensModel.getImageZoomFactor()), (int)(startY/lensModel.getImageZoomFactor())); } }
|
55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/54a6dc1cc81e06c2190546075a6c5a04f18d9bb5/LensController.java/buggy/SRC/org/openmicroscopy/shoola/util/ui/lens/LensController.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
26882,
9186,
11728,
12,
474,
619,
16,
509,
677,
16,
1250,
353,
10544,
4164,
13,
202,
95,
202,
202,
430,
261,
8815,
11728,
13,
202,
202,
95,
1082,
202,
474,
31329,
273,
374,
31,
1082,
202,
474,
29697,
273,
374,
31,
1082,
202,
474,
3622,
59,
273,
374,
31,
1082,
202,
474,
3622,
44,
273,
374,
31,
25083,
202,
9610,
12,
15169,
1621,
13,
1082,
202,
95,
9506,
202,
3593,
511,
773,
5370,
18,
50,
28212,
30,
6862,
202,
430,
261,
93,
17,
3348,
61,
411,
374,
13,
6862,
202,
95,
25083,
202,
9878,
61,
273,
261,
93,
17,
3348,
61,
1769,
25083,
202,
9878,
44,
273,
2361,
18,
5113,
12,
93,
17,
3348,
61,
1769,
25083,
202,
430,
12,
1893,
5694,
12,
9878,
60,
16,
29697,
16,
3622,
59,
16,
3622,
44,
3719,
6862,
1082,
202,
1937,
61,
273,
787,
61,
15,
12,
93,
17,
3348,
61,
1769,
6862,
202,
97,
6862,
202,
12107,
6862,
202,
95,
25083,
202,
9878,
61,
273,
261,
93,
17,
3348,
61,
1769,
25083,
202,
9878,
44,
273,
300,
10477,
18,
5113,
12,
93,
17,
3348,
61,
1769,
25083,
202,
430,
12,
1893,
5694,
12,
9878,
60,
16,
29697,
16,
3622,
59,
16,
3622,
44,
3719,
6862,
1082,
202,
1937,
61,
273,
787,
61,
15,
12,
93,
17,
3348,
61,
1769,
6862,
202,
97,
9506,
202,
8820,
31,
9506,
202,
3593,
511,
773,
5370,
18,
3584,
5844,
30,
6862,
202,
430,
261,
93,
17,
3348,
61,
405,
374,
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,
26882,
9186,
11728,
12,
474,
619,
16,
509,
677,
16,
1250,
353,
10544,
4164,
13,
202,
95,
202,
202,
430,
261,
8815,
11728,
13,
202,
202,
95,
1082,
202,
474,
31329,
273,
374,
31,
1082,
202,
474,
29697,
273,
374,
31,
1082,
202,
474,
3622,
59,
273,
374,
31,
1082,
202,
474,
3622,
44,
273,
374,
31,
25083,
202,
9610,
12,
15169,
1621,
13,
1082,
202,
95,
9506,
202,
3593,
511,
773,
5370,
18,
50,
28212,
30,
6862,
202,
430,
261,
93,
17,
3348,
61,
411,
374,
13,
6862,
202,
95,
25083,
202,
9878,
61,
273,
261,
93,
17,
3348,
61,
1769,
25083,
202,
9878,
44,
273,
2361,
18,
5113,
12,
93,
17,
3348,
61,
1769,
2
] |
String name = strings[getShort(iCode, pc + 1)];
|
String name = strings[getIndex(iCode, pc + 1)];
|
static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, double[] argsDbl, int argShift, int argCount, NativeFunction fnOrScript, InterpreterData idata) throws JavaScriptException { if (cx.interpreterSecurityDomain != idata.securityDomain) { return execWithNewDomain(cx, scope, thisObj, args, argsDbl, argShift, argCount, fnOrScript, idata); } final Object DBL_MRK = Interpreter.DBL_MRK; final Scriptable undefined = Undefined.instance; final int VAR_SHFT = 0; final int maxVars = idata.itsMaxVars; final int LOCAL_SHFT = VAR_SHFT + maxVars; final int TRY_STACK_SHFT = LOCAL_SHFT + idata.itsMaxLocals; final int STACK_SHFT = TRY_STACK_SHFT + idata.itsMaxTryDepth;// stack[VAR_SHFT <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_STACK_SHFT]: used for newtemp/usetemp// stack[TRY_STACK_SHFT <= i < STACK_SHFT]: stack of try scopes// stack[STACK_SHFT <= i < STACK_SHFT + idata.itsMaxStack]: stack data// sDbl[TRY_STACK_SHFT <= i < STACK_SHFT]: stack of try block pc, stored as doubles// sDbl[any other i]: if stack[i] is DBL_MRK, sDbl[i] holds the number value int maxFrameArray = idata.itsMaxFrameArray; if (maxFrameArray != STACK_SHFT + idata.itsMaxStack) Context.codeBug(); Object[] stack = new Object[maxFrameArray]; double[] sDbl = new double[maxFrameArray]; int stackTop = STACK_SHFT - 1; int tryStackTop = 0; // add TRY_STACK_SHFT to get real index int definedArgs = fnOrScript.argCount; if (definedArgs > argCount) { definedArgs = argCount; } for (int i = 0; i != definedArgs; ++i) { Object arg = args[argShift + i]; stack[VAR_SHFT + i] = arg; if (arg == DBL_MRK) { sDbl[VAR_SHFT + i] = argsDbl[argShift + i]; } } for (int i = definedArgs; i != maxVars; ++i) { stack[VAR_SHFT + i] = undefined; } DebugFrame debuggerFrame = null; if (cx.debugger != null) { DebuggableScript dscript = (DebuggableScript)fnOrScript; debuggerFrame = cx.debugger.getFrame(cx, dscript); } if (idata.itsFunctionType != 0) { if (fnOrScript.itsClosure != null) { scope = fnOrScript.itsClosure; } else if (!idata.itsUseDynamicScope) { scope = fnOrScript.getParentScope(); } if (idata.itsCheckThis) { thisObj = ScriptRuntime.getThis(thisObj); } if (idata.itsNeedsActivation) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } } else { scope = ScriptRuntime.initScript(cx, scope, fnOrScript, thisObj, idata.itsFromEvalCode); } if (idata.itsNestedFunctions != null) { if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) Context.codeBug(); for (int i = 0; i < idata.itsNestedFunctions.length; i++) { createFunctionObject(idata.itsNestedFunctions[i], scope, idata.itsFromEvalCode); } } boolean useActivationVars = false; if (debuggerFrame != null) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) { useActivationVars = true; scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } debuggerFrame.onEnter(cx, scope, thisObj, args); } Object result = undefined; byte[] iCode = idata.itsICode; String[] strings = idata.itsStringTable; int pc = 0; int pcPrevBranch = pc; final int instructionThreshold = cx.instructionThreshold; // During function call this will be set to -1 so catch can properly // adjust it int instructionCount = cx.instructionCount; // arbitrary number to add to instructionCount when calling // other functions final int INVOCATION_COST = 100; Loop: while (true) { try { switch (iCode[pc] & 0xff) { // Back indent to ease imlementation reading case TokenStream.ENDTRY : tryStackTop--; break; case TokenStream.TRY : stack[TRY_STACK_SHFT + tryStackTop] = scope; sDbl[TRY_STACK_SHFT + tryStackTop] = (double)pc; ++tryStackTop; // Skip starting pc of catch/finally blocks pc += 4; break; case TokenStream.GE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && rDbl <= lDbl); } else { valBln = (1 == ScriptRuntime.cmp_LE(rhs, lhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.LE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && lDbl <= rDbl); } else { valBln = (1 == ScriptRuntime.cmp_LE(lhs, rhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.GT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && rDbl < lDbl); } else { valBln = (1 == ScriptRuntime.cmp_LT(rhs, lhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.LT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && lDbl < rDbl); } else { valBln = (1 == ScriptRuntime.cmp_LT(lhs, rhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.IN : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.in(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.INSTANCEOF : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.instanceOf(scope, lhs, rhs); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.EQ : { --stackTop; boolean valBln = do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.NE : { --stackTop; boolean valBln = !do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.SHEQ : { --stackTop; boolean valBln = do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.SHNE : { --stackTop; boolean valBln = !do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.IFNE : { Object val = stack[stackTop]; boolean valBln; if (val != DBL_MRK) { valBln = !ScriptRuntime.toBoolean(val); } else { double valDbl = sDbl[stackTop]; valBln = !(valDbl == valDbl && valDbl != 0.0); } --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; } case TokenStream.IFEQ : { boolean valBln; Object val = stack[stackTop]; if (val != DBL_MRK) { valBln = ScriptRuntime.toBoolean(val); } else { double valDbl = sDbl[stackTop]; valBln = (valDbl == valDbl && valDbl != 0.0); } --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; } case TokenStream.GOTO : if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; case TokenStream.GOSUB : sDbl[++stackTop] = pc + 3; if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; case TokenStream.RETSUB : { int slot = (iCode[pc + 1] & 0xFF); if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = (int)sDbl[LOCAL_SHFT + slot]; continue; } case TokenStream.POP : stackTop--; break; case TokenStream.DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; break; case TokenStream.POPV : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break; case TokenStream.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break Loop; case RETURN_UNDEF_ICODE : result = undefined; break Loop; case END_ICODE: break Loop; case TokenStream.BITNOT : { int rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; break; } case TokenStream.BITAND : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue & rIntValue; break; } case TokenStream.BITOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue | rIntValue; break; } case TokenStream.BITXOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue ^ rIntValue; break; } case TokenStream.LSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue << rIntValue; break; } case TokenStream.RSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue >> rIntValue; break; } case TokenStream.URSH : { int rIntValue = stack_int32(stack, sDbl, stackTop) & 0x1F; --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ScriptRuntime.toUint32(lDbl) >>> rIntValue; break; } case TokenStream.ADD : --stackTop; do_add(stack, sDbl, stackTop); break; case TokenStream.SUB : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl - rDbl; break; } case TokenStream.NEG : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; break; } case TokenStream.POS : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; break; } case TokenStream.MUL : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl * rDbl; break; } case TokenStream.DIV : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; // Detect the divide by zero or let Java do it ? sDbl[stackTop] = lDbl / rDbl; break; } case TokenStream.MOD : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl % rDbl; break; } case TokenStream.BINDNAME : { String name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.bind(scope, name); pc += 2; break; } case TokenStream.GETBASE : { String name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.getBase(scope, name); pc += 2; break; } case TokenStream.SETNAME : { String name = strings[getShort(iCode, pc + 1)]; Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; // what about class cast exception here for lhs? Scriptable lhs = (Scriptable)stack[stackTop]; stack[stackTop] = ScriptRuntime.setName(lhs, rhs, scope, name); pc += 2; break; } case TokenStream.DELPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(lhs, rhs); break; } case TokenStream.GETPROP : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProp(lhs, name, scope); break; } case TokenStream.SETPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProp(lhs, name, rhs, scope); break; } case TokenStream.GETELEM : do_getElem(cx, stack, sDbl, stackTop, scope); --stackTop; break; case TokenStream.SETELEM : do_setElem(cx, stack, sDbl, stackTop, scope); stackTop -= 2; break; case TokenStream.PROPINC : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrement(lhs, name, scope); break; } case TokenStream.PROPDEC : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postDecrement(lhs, name, scope); break; } case TokenStream.ELEMINC : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrementElem(lhs, rhs, scope); break; } case TokenStream.ELEMDEC : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postDecrementElem(lhs, rhs, scope); break; } case TokenStream.GETTHIS : { Scriptable lhs = (Scriptable)stack[stackTop]; stack[stackTop] = ScriptRuntime.getThis(lhs); break; } case TokenStream.NEWTEMP : { int slot = (iCode[++pc] & 0xFF); stack[LOCAL_SHFT + slot] = stack[stackTop]; sDbl[LOCAL_SHFT + slot] = sDbl[stackTop]; break; } case TokenStream.USETEMP : { int slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + slot]; sDbl[stackTop] = sDbl[LOCAL_SHFT + slot]; break; } case TokenStream.CALLSPECIAL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int lineNum = getShort(iCode, pc + 1); String name = strings[getShort(iCode, pc + 3)]; int count = getShort(iCode, pc + 5); stackTop -= count; Object[] outArgs = getArgsArray(stack, sDbl, stackTop + 1, count); Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.callSpecial( cx, lhs, rhs, outArgs, thisObj, scope, name, lineNum); pc += 6; instructionCount = cx.instructionCount; break; } case TokenStream.CALL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } cx.instructionCount = instructionCount; int count = getShort(iCode, pc + 3); stackTop -= count; int calleeArgShft = stackTop + 1; Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; Scriptable calleeScope = scope; if (idata.itsNeedsActivation) { calleeScope = ScriptableObject.getTopLevelScope(scope); } Scriptable calleeThis; if (rhs instanceof Scriptable || rhs == null) { calleeThis = (Scriptable)rhs; } else { calleeThis = ScriptRuntime.toObject(cx, calleeScope, rhs); } if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.call not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; stack[stackTop] = interpret(cx, calleeScope, calleeThis, stack, sDbl, calleeArgShft, count, f, f.itsData); } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, count); stack[stackTop] = f.call(cx, calleeScope, calleeThis, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined int i = getShort(iCode, pc + 1); if (i != -1) lhs = strings[i]; } throw NativeGlobal.typeError1 ("msg.isnt.function", ScriptRuntime.toString(lhs), calleeScope); } pc += 4; instructionCount = cx.instructionCount; break; } case TokenStream.NEW : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int count = getShort(iCode, pc + 3); stackTop -= count; int calleeArgShft = stackTop + 1; Object lhs = stack[stackTop]; if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.construct not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; Scriptable newInstance = f.createObject(cx, scope); Object callResult = interpret(cx, scope, newInstance, stack, sDbl, calleeArgShft, count, f, f.itsData); if (callResult instanceof Scriptable && callResult != undefined) { stack[stackTop] = callResult; } else { stack[stackTop] = newInstance; } } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, count); stack[stackTop] = f.construct(cx, scope, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined int i = getShort(iCode, pc + 1); if (i != -1) lhs = strings[i]; } throw NativeGlobal.typeError1 ("msg.isnt.function", ScriptRuntime.toString(lhs), scope); } pc += 4; instructionCount = cx.instructionCount; break; } case TokenStream.TYPEOF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); break; } case TokenStream.TYPEOFNAME : { String name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.typeofName(scope, name); pc += 2; break; } case TokenStream.STRING : stack[++stackTop] = strings[getShort(iCode, pc + 1)]; pc += 2; break; case SHORTNUMBER_ICODE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, pc + 1); pc += 2; break; case INTNUMBER_ICODE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, pc + 1); pc += 4; break; case TokenStream.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = idata.itsDoubleTable[getShort(iCode, pc + 1)]; pc += 2; break; case TokenStream.NAME : { String name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.name(scope, name); pc += 2; break; } case TokenStream.NAMEINC : { String name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.postIncrement(scope, name); pc += 2; break; } case TokenStream.NAMEDEC : { String name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.postDecrement(scope, name); pc += 2; break; } case TokenStream.SETVAR : { int slot = (iCode[++pc] & 0xFF); if (!useActivationVars) { stack[VAR_SHFT + slot] = stack[stackTop]; sDbl[VAR_SHFT + slot] = sDbl[stackTop]; } else { Object val = stack[stackTop]; if (val == DBL_MRK) val = doubleWrap(sDbl[stackTop]); activationPut(fnOrScript, scope, slot, val); } break; } case TokenStream.GETVAR : { int slot = (iCode[++pc] & 0xFF); ++stackTop; if (!useActivationVars) { stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; } else { stack[stackTop] = activationGet(fnOrScript, scope, slot); } break; } case TokenStream.VARINC : { int slot = (iCode[++pc] & 0xFF); ++stackTop; if (!useActivationVars) { stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = stack_double(stack, sDbl, stackTop) + 1.0; } else { Object val = activationGet(fnOrScript, scope, slot); stack[stackTop] = val; val = doubleWrap(ScriptRuntime.toNumber(val) + 1.0); activationPut(fnOrScript, scope, slot, val); } break; } case TokenStream.VARDEC : { int slot = (iCode[++pc] & 0xFF); ++stackTop; if (!useActivationVars) { stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = stack_double(stack, sDbl, stackTop) - 1.0; } else { Object val = activationGet(fnOrScript, scope, slot); stack[stackTop] = val; val = doubleWrap(ScriptRuntime.toNumber(val) - 1.0); activationPut(fnOrScript, scope, slot, val); } break; } case TokenStream.ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; break; case TokenStream.ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; break; case TokenStream.NULL : stack[++stackTop] = null; break; case TokenStream.THIS : stack[++stackTop] = thisObj; break; case TokenStream.THISFN : stack[++stackTop] = fnOrScript; break; case TokenStream.FALSE : stack[++stackTop] = Boolean.FALSE; break; case TokenStream.TRUE : stack[++stackTop] = Boolean.TRUE; break; case TokenStream.UNDEFINED : stack[++stackTop] = Undefined.instance; break; case TokenStream.THROW : { Object exception = stack[stackTop]; if (exception == DBL_MRK) exception = doubleWrap(sDbl[stackTop]); --stackTop; throw new JavaScriptException(exception); } case TokenStream.JTHROW : { Object exception = stack[stackTop]; // No need to check for DBL_MRK: exception must be Exception --stackTop; if (exception instanceof JavaScriptException) throw (JavaScriptException)exception; else throw (RuntimeException)exception; } case TokenStream.ENTERWITH : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); break; } case TokenStream.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); break; case TokenStream.NEWSCOPE : stack[++stackTop] = ScriptRuntime.newScope(); break; case TokenStream.ENUMINIT : { int slot = (iCode[++pc] & 0xFF); Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + slot] = ScriptRuntime.initEnum(lhs, scope); break; } case TokenStream.ENUMNEXT : { int slot = (iCode[++pc] & 0xFF); Object val = stack[LOCAL_SHFT + slot]; ++stackTop; stack[stackTop] = ScriptRuntime.nextEnum(val); break; } case TokenStream.GETPROTO : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProto(lhs, scope); break; } case TokenStream.GETPARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getParent(lhs); break; } case TokenStream.GETSCOPEPARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getParent(lhs, scope); break; } case TokenStream.SETPROTO : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProto(lhs, rhs, scope); break; } case TokenStream.SETPARENT : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setParent(lhs, rhs, scope); break; } case TokenStream.SCOPE : stack[++stackTop] = scope; break; case TokenStream.CLOSURE : { int i = getShort(iCode, pc + 1); InterpretedFunction f = idata.itsNestedFunctions[i]; InterpretedFunction closure = new InterpretedFunction(f, scope, cx); createFunctionObject(closure, scope, idata.itsFromEvalCode); stack[++stackTop] = closure; pc += 2; break; } case TokenStream.REGEXP : { int i = getShort(iCode, pc + 1); stack[++stackTop] = idata.itsRegExpLiterals[i]; pc += 2; break; } case SOURCEFILE_ICODE : cx.interpreterSourceFile = idata.itsSourceFile; break; case LINE_ICODE : { int line = getShort(iCode, pc + 1); cx.interpreterLine = line; if (debuggerFrame != null) { debuggerFrame.onLineChange(cx, line); } pc += 2; break; } default : { dumpICode(idata); throw new RuntimeException ("Unknown icode : "+(iCode[pc] & 0xff)+" @ pc : "+pc); } // end of interpreter switch } pc++; } catch (Throwable ex) { if (instructionThreshold != 0) { if (instructionCount < 0) { // throw during function call instructionCount = cx.instructionCount; } else { // throw during any other operation instructionCount += pc - pcPrevBranch; cx.instructionCount = instructionCount; } } final int SCRIPT_THROW = 0, ECMA = 1, RUNTIME = 2, OTHER = 3; int exType; Object catchObj = ex; // Object seen by script catch for (;;) { if (catchObj instanceof JavaScriptException) { catchObj = ScriptRuntime.unwrapJavaScriptException ((JavaScriptException)catchObj); exType = SCRIPT_THROW; } else if (catchObj instanceof EcmaError) { // an offical ECMA error object, catchObj = ((EcmaError)catchObj).getErrorObject(); exType = ECMA; } else if (catchObj instanceof RuntimeException) { if (catchObj instanceof WrappedException) { Object w = ((WrappedException) catchObj).unwrap(); if (w instanceof Throwable) { catchObj = ex = (Throwable) w; continue; } } catchObj = null; // script can not catch this exType = RUNTIME; } else { // Error instance catchObj = null; // script can not catch this exType = OTHER; } break; } if (exType != OTHER && debuggerFrame != null) { debuggerFrame.onExceptionThrown(cx, ex); } boolean rethrow = true; if (exType != OTHER && tryStackTop > 0) { // Do not allow for JS to interfere with Error instances // (exType == OTHER), as they can be used to terminate // long running script --tryStackTop; int try_pc = (int)sDbl[TRY_STACK_SHFT + tryStackTop]; if (exType == SCRIPT_THROW || exType == ECMA) { // Allow JS to catch only JavaScriptException and // EcmaError int catch_offset = getShort(iCode, try_pc + 1); if (catch_offset != 0) { // Has catch block rethrow = false; pc = try_pc + catch_offset; stackTop = STACK_SHFT; stack[stackTop] = catchObj; } } if (rethrow) { int finally_offset = getShort(iCode, try_pc + 3); if (finally_offset != 0) { // has finally block rethrow = false; pc = try_pc + finally_offset; stackTop = STACK_SHFT; stack[stackTop] = ex; } } } if (rethrow) { if (debuggerFrame != null) { debuggerFrame.onExit(cx, true, ex); } if (idata.itsNeedsActivation) { ScriptRuntime.popActivation(cx); } if (exType == SCRIPT_THROW) throw (JavaScriptException)ex; if (exType == ECMA || exType == RUNTIME) throw (RuntimeException)ex; throw (Error)ex; } // We caught an exception, // Notify instruction observer if necessary // and point pcPrevBranch to start of catch/finally block if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { // Note: this can throw Error cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc; // restore scope at try point scope = (Scriptable)stack[TRY_STACK_SHFT + tryStackTop]; } } if (debuggerFrame != null) { debuggerFrame.onExit(cx, false, result); } if (idata.itsNeedsActivation) { ScriptRuntime.popActivation(cx); } if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } cx.instructionCount = instructionCount; } return result; }
|
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/2e16b18d0d24c5129e654d820e6c7f2155b1b7e0/Interpreter.java/buggy/src/org/mozilla/javascript/Interpreter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
18701,
1033,
8526,
833,
16,
1645,
8526,
833,
40,
3083,
16,
18701,
509,
1501,
10544,
16,
509,
1501,
1380,
16,
18701,
16717,
2083,
2295,
1162,
3651,
16,
18701,
5294,
11599,
751,
612,
396,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
261,
71,
92,
18,
2761,
11599,
4368,
3748,
480,
612,
396,
18,
7462,
3748,
13,
288,
5411,
327,
1196,
1190,
1908,
3748,
12,
71,
92,
16,
2146,
16,
15261,
16,
19694,
833,
16,
833,
40,
3083,
16,
1501,
10544,
16,
1501,
1380,
16,
19694,
2295,
1162,
3651,
16,
612,
396,
1769,
3639,
289,
3639,
727,
1033,
2383,
48,
67,
23464,
47,
273,
5294,
11599,
18,
2290,
48,
67,
23464,
47,
31,
3639,
727,
22780,
3109,
273,
22243,
18,
1336,
31,
3639,
727,
509,
8350,
67,
2664,
4464,
273,
374,
31,
3639,
727,
509,
943,
5555,
273,
612,
396,
18,
1282,
2747,
5555,
31,
3639,
727,
509,
15234,
67,
2664,
4464,
273,
8350,
67,
2664,
4464,
397,
943,
5555,
31,
3639,
727,
509,
4235,
61,
67,
21971,
67,
2664,
4464,
273,
15234,
67,
2664,
4464,
397,
612,
396,
18,
1282,
2747,
1333,
1031,
31,
3639,
727,
509,
11464,
67,
2664,
4464,
273,
4235,
61,
67,
21971,
67,
2664,
4464,
397,
612,
396,
18,
1282,
2747,
7833,
6148,
31,
759,
2110,
63,
7716,
67,
2664,
4464,
1648,
277,
411,
15234,
67,
2664,
4464,
14542,
3152,
759,
2110,
63,
14922,
67,
2664,
4464,
1648,
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,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
18701,
1033,
8526,
833,
16,
1645,
8526,
833,
40,
3083,
16,
18701,
509,
1501,
10544,
16,
509,
1501,
1380,
16,
18701,
16717,
2083,
2295,
1162,
3651,
16,
18701,
5294,
11599,
751,
612,
396,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
261,
71,
92,
18,
2761,
11599,
4368,
3748,
480,
612,
396,
18,
7462,
3748,
13,
288,
5411,
327,
1196,
1190,
1908,
3748,
12,
71,
92,
16,
2146,
16,
15261,
16,
19694,
833,
16,
833,
40,
3083,
16,
1501,
10544,
16,
1501,
1380,
16,
19694,
2295,
1162,
3651,
16,
612,
396,
1769,
3639,
289,
3639,
727,
1033,
2383,
48,
67,
23464,
47,
273,
5294,
2
] |
/*boolean [] bs = new boolean[distributions.length]; int z = 0; for (int i = 0; i < inst.numClasses(); i++) { double prob = 1.0; for (int j = 0; j < distributions.length; j++) { prob *= distributions[j][(bs[j] == true) ? 1 : 0]; } if (z < distributions.length) { bs[z] = true; } probs[z++] = prob; }*/
|
public double [] distributionForInstance(Instance inst) throws Exception { if (m_Classifiers.length == 1) { return ((DistributionClassifier)m_Classifiers[0]) .distributionForInstance(inst); } double [] probs = new double[inst.numClasses()]; double [][] distributions = new double[m_ClassFilters.length][0]; for(int i = 0; i < m_ClassFilters.length; i++) { m_ClassFilters[i].input(inst); m_ClassFilters[i].batchFinished(); distributions[i] = ((DistributionClassifier)m_Classifiers[i]) .distributionForInstance(m_ClassFilters[i].output()); } int z = 0; for (int i = 0; i < inst.numClasses(); i++) { double prob = 1.0; if (i == 0) { prob *= distributions[0][0]; } else if (i == inst.numClasses() - 1) { prob *= distributions[z][1]; } else { prob *= distributions[z][1]; prob *= distributions[z+1][0]; z++; } probs[i] = prob; } // calculate the probability of each vector /*boolean [] bs = new boolean[distributions.length]; int z = 0; for (int i = 0; i < inst.numClasses(); i++) { double prob = 1.0; for (int j = 0; j < distributions.length; j++) { prob *= distributions[j][(bs[j] == true) ? 1 : 0]; } if (z < distributions.length) { bs[z] = true; } probs[z++] = prob; }*/ if (Utils.gr(Utils.sum(probs), 0)) { Utils.normalize(probs); return probs; } else { return m_ZeroR.distributionForInstance(inst); } }
|
4773 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4773/4a859497568491a49044b08f953d7223117183d5/OrdinalClassClassifier.java/buggy/weka/classifiers/OrdinalClassClassifier.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1645,
5378,
7006,
1290,
1442,
12,
1442,
1804,
13,
1216,
1185,
288,
3639,
309,
261,
81,
67,
10469,
18,
2469,
422,
404,
13,
288,
1377,
327,
14015,
9003,
13860,
13,
81,
67,
10469,
63,
20,
5717,
3639,
263,
16279,
1290,
1442,
12,
8591,
1769,
565,
289,
565,
1645,
5378,
18989,
273,
394,
1645,
63,
8591,
18,
2107,
4818,
1435,
15533,
3639,
1645,
5378,
8526,
23296,
273,
394,
1645,
63,
81,
67,
797,
5422,
18,
2469,
6362,
20,
15533,
565,
364,
12,
474,
277,
273,
374,
31,
277,
411,
312,
67,
797,
5422,
18,
2469,
31,
277,
27245,
288,
1377,
312,
67,
797,
5422,
63,
77,
8009,
2630,
12,
8591,
1769,
1377,
312,
67,
797,
5422,
63,
77,
8009,
5303,
10577,
5621,
5411,
23296,
63,
77,
65,
273,
14015,
9003,
13860,
13,
81,
67,
10469,
63,
77,
5717,
202,
18,
16279,
1290,
1442,
12,
81,
67,
797,
5422,
63,
77,
8009,
2844,
10663,
1850,
289,
565,
509,
998,
273,
374,
31,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1804,
18,
2107,
4818,
5621,
277,
27245,
288,
1377,
1645,
3137,
273,
404,
18,
20,
31,
1377,
309,
261,
77,
422,
374,
13,
288,
202,
7748,
6413,
23296,
63,
20,
6362,
20,
15533,
1377,
289,
469,
309,
261,
77,
422,
1804,
18,
2107,
4818,
1435,
300,
404,
13,
288,
202,
7748,
6413,
23296,
63,
94,
6362,
21,
15533,
1377,
289,
469,
288,
202,
7748,
6413,
23296,
63,
94,
6362,
21,
15533,
202,
7748,
6413,
23296,
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,
1645,
5378,
7006,
1290,
1442,
12,
1442,
1804,
13,
1216,
1185,
288,
3639,
309,
261,
81,
67,
10469,
18,
2469,
422,
404,
13,
288,
1377,
327,
14015,
9003,
13860,
13,
81,
67,
10469,
63,
20,
5717,
3639,
263,
16279,
1290,
1442,
12,
8591,
1769,
565,
289,
565,
1645,
5378,
18989,
273,
394,
1645,
63,
8591,
18,
2107,
4818,
1435,
15533,
3639,
1645,
5378,
8526,
23296,
273,
394,
1645,
63,
81,
67,
797,
5422,
18,
2469,
6362,
20,
15533,
565,
364,
12,
474,
277,
273,
374,
31,
277,
411,
312,
67,
797,
5422,
18,
2469,
31,
277,
27245,
288,
1377,
312,
67,
797,
5422,
63,
77,
8009,
2630,
12,
8591,
1769,
1377,
312,
67,
797,
5422,
63,
77,
2
] |
|
result.append(RubyString.newString(getRuntime(), interfaces[i].getName()));
|
result.append(getRuntime().newString(interfaces[i].getName()));
|
public RubyArray interfaces() { Class[] interfaces = javaClass.getInterfaces(); RubyArray result = RubyArray.newArray(getRuntime(), interfaces.length); for (int i = 0; i < interfaces.length; i++) { result.append(RubyString.newString(getRuntime(), interfaces[i].getName())); } return result; }
|
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/870e1da9b41bfdbae259e1fc5f18fc8b76686998/JavaClass.java/clean/src/org/jruby/javasupport/JavaClass.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
1076,
7349,
1435,
288,
3639,
1659,
8526,
7349,
273,
2252,
797,
18,
588,
10273,
5621,
3639,
19817,
1076,
563,
273,
19817,
1076,
18,
2704,
1076,
12,
588,
5576,
9334,
7349,
18,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
1076,
7349,
1435,
288,
3639,
1659,
8526,
7349,
273,
2252,
797,
18,
588,
10273,
5621,
3639,
19817,
1076,
563,
273,
19817,
1076,
18,
2704,
1076,
12,
588,
5576,
9334,
7349,
18,
2469,
1769,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
7349,
18,
2469,
31,
277,
27245,
288,
5411,
563,
18,
6923,
12,
588,
5576,
7675,
2704,
780,
12,
15898,
63,
77,
8009,
17994,
1435,
10019,
3639,
289,
3639,
327,
563,
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
] |
if (style != InvokeStyle.Dynamic) print("<" + style + ">").space();
|
if (style != AInvokeStyle.Dynamic) print("<" +style+ ">").space();
|
public ATreePrinter printFunction(AFunction function) { switch (function) { case Method(Void, Symbol method, InvokeStyle.New): return print("new").space().printSymbol(method); case Method(Void, Symbol method, InvokeStyle.Static): return printSymbol(method.owner()).print('.').printSymbol(method); case Method(This(Symbol clasz), Symbol method, InvokeStyle.Static): printSymbol(clasz).print('.').print("super").print('.'); return printSymbol(method); case Method(ACode object, Symbol method, InvokeStyle style): printCode(object).print('.'); if (style != InvokeStyle.Dynamic) print("<" + style + ">").space(); return printSymbol(method); case Primitive(APrimitive primitive): return printPrimitive(primitive); default: throw Debug.abort("unknown case", function); } }
|
32355 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/32355/c2d445c46a817d266ef54478c1694d6e8a1fe2e7/ATreePrinter.java/buggy/sources/scalac/atree/ATreePrinter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
432,
2471,
12149,
1172,
2083,
12,
37,
2083,
445,
13,
288,
3639,
1620,
261,
915,
13,
288,
3639,
648,
2985,
12,
19038,
16,
8565,
707,
16,
14373,
2885,
18,
1908,
4672,
5411,
327,
1172,
2932,
2704,
20387,
2981,
7675,
1188,
5335,
12,
2039,
1769,
3639,
648,
2985,
12,
19038,
16,
8565,
707,
16,
14373,
2885,
18,
5788,
4672,
5411,
327,
1172,
5335,
12,
2039,
18,
8443,
1435,
2934,
1188,
2668,
1093,
2934,
1188,
5335,
12,
2039,
1769,
3639,
648,
2985,
12,
2503,
12,
5335,
23268,
94,
3631,
8565,
707,
16,
14373,
2885,
18,
5788,
4672,
5411,
1172,
5335,
12,
830,
345,
94,
2934,
1188,
2668,
1093,
2934,
1188,
2932,
9565,
20387,
1188,
2668,
1093,
1769,
5411,
327,
1172,
5335,
12,
2039,
1769,
3639,
648,
2985,
12,
37,
1085,
733,
16,
8565,
707,
16,
14373,
2885,
2154,
4672,
5411,
1172,
1085,
12,
1612,
2934,
1188,
2668,
1093,
1769,
5411,
309,
261,
4060,
480,
432,
10969,
2885,
18,
9791,
13,
1172,
2932,
32,
6,
397,
4060,
15,
14675,
2934,
2981,
5621,
5411,
327,
1172,
5335,
12,
2039,
1769,
3639,
648,
14488,
12,
37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,
2471,
12149,
1172,
2083,
12,
37,
2083,
445,
13,
288,
3639,
1620,
261,
915,
13,
288,
3639,
648,
2985,
12,
19038,
16,
8565,
707,
16,
14373,
2885,
18,
1908,
4672,
5411,
327,
1172,
2932,
2704,
20387,
2981,
7675,
1188,
5335,
12,
2039,
1769,
3639,
648,
2985,
12,
19038,
16,
8565,
707,
16,
14373,
2885,
18,
5788,
4672,
5411,
327,
1172,
5335,
12,
2039,
18,
8443,
1435,
2934,
1188,
2668,
1093,
2934,
1188,
5335,
12,
2039,
1769,
3639,
648,
2985,
12,
2503,
12,
5335,
23268,
94,
3631,
8565,
707,
16,
14373,
2885,
18,
5788,
4672,
5411,
1172,
5335,
12,
830,
345,
94,
2934,
1188,
2668,
1093,
2934,
1188,
2932,
9565,
20387,
1188,
2668,
1093,
1769,
5411,
327,
2
] |
buffer.append(arguments.get(IProblem.A_PREPROC_INCLUDE_FILENAME));
|
arg = (String) arguments.get(IProblem.A_PREPROC_INCLUDE_FILENAME);
|
public String createMessage(int id, Map arguments, int lineNumber, char[] fileName) { StringBuffer buffer = new StringBuffer(); buffer.append(PROBLEM); buffer.append(errorMessages.get(new Integer(id))); switch (id) { case IProblem.PREPROCESSOR_POUND_ERROR : buffer.append(arguments.get(IProblem.A_PREPROC_POUND_ERROR)); break; case IProblem.PREPROCESSOR_INCLUSION_NOT_FOUND : buffer.append(arguments.get(IProblem.A_PREPROC_INCLUDE_FILENAME)); break; case IProblem.PREPROCESSOR_DEFINITION_NOT_FOUND : buffer.append(arguments.get(IProblem.A_PREPROC_MACRO_NAME)); break; case IProblem.PREPROCESSOR_UNBALANCE_CONDITION : buffer.append(arguments.get(IProblem.A_PREPROC_CONDITIONAL_MISMATCH)); break; case IProblem.PREPROCESSOR_INVALID_MACRO_DEFN : buffer.append(arguments.get(IProblem.A_PREPROC_MACRO_NAME)); break; case IProblem.PREPROCESSOR_INVALID_DIRECTIVE : buffer.append(arguments.get(IProblem.A_PREPROC_UNKNOWN_DIRECTIVE)); break; case IProblem.PREPROCESSOR_INVALID_MACRO_REDEFN : buffer.append(arguments.get(IProblem.A_PREPROC_MACRO_NAME)); break; case IProblem.PREPROCESSOR_CONDITIONAL_EVAL_ERROR : buffer.append(arguments.get(IProblem.A_PREPROC_CONDITION)); break; case IProblem.PREPROCESSOR_MACRO_USAGE_ERROR : buffer.append(arguments.get(IProblem.A_PREPROC_MACRO_NAME)); break; case IProblem.PREPROCESSOR_MACRO_PASTING_ERROR : buffer.append(arguments.get(IProblem.A_PREPROC_MACRO_NAME)); break; case IProblem.PREPROCESSOR_CIRCULAR_INCLUSION : buffer.append(arguments.get(IProblem.A_PREPROC_INCLUDE_FILENAME)); break; case IProblem.SCANNER_BAD_CHARACTER : buffer.append( arguments.get(IProblem.A_SCANNER_BADCHAR)); break; case IProblem.SCANNER_UNBOUNDED_STRING : case IProblem.SCANNER_INVALID_ESCAPECHAR : case IProblem.SCANNER_BAD_FLOATING_POINT : case IProblem.SCANNER_BAD_HEX_FORMAT : case IProblem.SCANNER_UNEXPECTED_EOF : break; default : return null; } buffer.append( IN_FILE ); buffer.append(fileName); buffer.append( ON_LINE ); buffer.append(lineNumber); return buffer.toString(); }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/71de5821df404e1b0f440c5ac586d3c3934a187b/ScannerProblemFactory.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/ScannerProblemFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
23836,
12,
474,
612,
16,
1635,
1775,
16,
509,
13629,
16,
1149,
8526,
3968,
13,
202,
95,
202,
202,
780,
1892,
1613,
273,
394,
6674,
5621,
202,
202,
4106,
18,
6923,
12,
3373,
38,
26817,
1769,
202,
202,
4106,
18,
6923,
12,
1636,
5058,
18,
588,
12,
2704,
2144,
12,
350,
3719,
1769,
202,
202,
9610,
261,
350,
13,
202,
202,
95,
1082,
202,
3593,
467,
13719,
18,
3670,
16560,
916,
67,
2419,
5240,
67,
3589,
294,
9506,
202,
4106,
18,
6923,
12,
7099,
18,
588,
12,
45,
13719,
18,
37,
67,
3670,
3373,
39,
67,
2419,
5240,
67,
3589,
10019,
9506,
202,
8820,
31,
1082,
202,
3593,
467,
13719,
18,
3670,
16560,
916,
67,
706,
5017,
3378,
1146,
67,
4400,
67,
9294,
294,
9506,
202,
4106,
18,
6923,
12,
7099,
18,
588,
12,
45,
13719,
18,
37,
67,
3670,
3373,
39,
67,
26003,
67,
16080,
10019,
9506,
202,
8820,
31,
1082,
202,
3593,
467,
13719,
18,
3670,
16560,
916,
67,
25312,
67,
4400,
67,
9294,
294,
9506,
202,
4106,
18,
6923,
12,
7099,
18,
588,
12,
45,
13719,
18,
37,
67,
3670,
3373,
39,
67,
10875,
1457,
67,
1985,
10019,
9506,
202,
8820,
31,
1082,
202,
3593,
467,
13719,
18,
3670,
16560,
916,
67,
2124,
38,
1013,
4722,
67,
22017,
294,
9506,
202,
4106,
18,
6923,
12,
7099,
18,
588,
12,
45,
13719,
18,
37,
67,
3670,
3373,
39,
67,
22017,
1013,
67,
30062,
11793,
10019,
9506,
202,
8820,
31,
1082,
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,
514,
23836,
12,
474,
612,
16,
1635,
1775,
16,
509,
13629,
16,
1149,
8526,
3968,
13,
202,
95,
202,
202,
780,
1892,
1613,
273,
394,
6674,
5621,
202,
202,
4106,
18,
6923,
12,
3373,
38,
26817,
1769,
202,
202,
4106,
18,
6923,
12,
1636,
5058,
18,
588,
12,
2704,
2144,
12,
350,
3719,
1769,
202,
202,
9610,
261,
350,
13,
202,
202,
95,
1082,
202,
3593,
467,
13719,
18,
3670,
16560,
916,
67,
2419,
5240,
67,
3589,
294,
9506,
202,
4106,
18,
6923,
12,
7099,
18,
588,
12,
45,
13719,
18,
37,
67,
3670,
3373,
39,
67,
2419,
5240,
67,
3589,
10019,
9506,
202,
8820,
31,
1082,
202,
3593,
467,
13719,
18,
3670,
16560,
916,
67,
2
] |
m_observer = observer;
|
this.observer = observer;
|
public void setObserver(StatisticsObserver observer) { m_observer = observer; }
|
48500 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48500/f8bdbb2dab0d67be139dd05d6110e466306c8868/FtpStatisticsImpl.java/buggy/src/java/org/apache/ftpserver/FtpStatisticsImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
11048,
12,
8569,
11048,
9655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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
11048,
12,
8569,
11048,
9655,
13,
288,
3639,
333,
18,
30971,
273,
9655,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (response.startsWith("250") || response.startsWith("500"))
|
if (response.startsWith("230") || response.startsWith("250") || response.startsWith("500"))
|
private void handleResponse(String response) throws IOException, Exception { // XXX PAGE should be sent AFTER LEVE, ALER, HOLD, COVE switch (state) { case STATE_CONN: if (response.startsWith("220")) if (level >= 2) sendLOGICommand(); else sendPAGECommand(); else errorOut(response); break; case STATE_LOGI: if (response.startsWith("250") || response.startsWith("500")) sendCOVECommand(); else errorOut(response); break; case STATE_COVE: if (response.startsWith("250") || response.startsWith("500")) sendLEVECommand(); else errorOut(response); break; case STATE_LEVE: if (response.startsWith("250") || response.startsWith("500")) sendHOLDCommand(); else errorOut(response); break; case STATE_HOLD: if (response.startsWith("250") || response.startsWith("500")) sendALERCommand(); else errorOut(response); break; case STATE_ALER: if (response.startsWith("250") || response.startsWith("500")) sendPAGECommand(); else errorOut(response); break; case STATE_PAGE: if (response.startsWith("250")) { if (level >= 2) sendCALLCommand(); else sendMESSCommand(); } else errorOut(response); break; case STATE_CALL: if (response.startsWith("250") || response.startsWith("500")) sendSUBJCommand(); else errorOut(response); break; case STATE_SUBJ: if (response.startsWith("250") || response.startsWith("500")) sendMESSCommand(); else errorOut(response); break; case STATE_MESS: if (response.startsWith("250")) sendSENDCommand(); else errorOut(response); break; case STATE_DATA: if (response.startsWith("354")) sendDATAData(); else if (response.startsWith("250")) sendSENDCommand(); else errorOut(response); break; case STATE_SEND: // Accept level 1-3 success messages sendResponse = response; if (response.startsWith("250") || response.startsWith("860") || response.startsWith("960")) sendQUITCommand(); else errorOut(response); break; case STATE_QUIT: if (response.startsWith("221")) conn.close(); else errorOut(response); break; } }
|
2902 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2902/077550253c26c6c5cebc156f610bf9fd06aea4ec/Message.java/clean/src/jsnpp/Message.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1640,
1064,
12,
780,
766,
13,
1216,
1860,
16,
1185,
288,
202,
202,
759,
11329,
11549,
1410,
506,
3271,
18651,
5380,
3412,
16,
7981,
654,
16,
670,
11846,
16,
7910,
3412,
9506,
202,
9610,
261,
2019,
13,
288,
1082,
202,
3593,
7442,
67,
27733,
30,
9506,
202,
430,
261,
2740,
18,
17514,
1190,
2932,
27246,
6,
3719,
6862,
202,
430,
261,
2815,
1545,
576,
13,
25083,
202,
4661,
4842,
45,
2189,
5621,
6862,
202,
12107,
25083,
202,
4661,
11219,
2189,
5621,
9506,
202,
12107,
6862,
202,
1636,
1182,
12,
2740,
1769,
9506,
202,
8820,
31,
6862,
6862,
1082,
202,
3593,
7442,
67,
4842,
45,
30,
9506,
202,
430,
261,
2740,
18,
17514,
1190,
2932,
26520,
7923,
747,
766,
18,
17514,
1190,
2932,
12483,
6,
3719,
6862,
202,
4661,
3865,
3412,
2189,
5621,
9506,
202,
12107,
6862,
202,
1636,
1182,
12,
2740,
1769,
9506,
202,
8820,
31,
6862,
6862,
1082,
202,
3593,
7442,
67,
3865,
3412,
30,
9506,
202,
430,
261,
2740,
18,
17514,
1190,
2932,
26520,
7923,
747,
766,
18,
17514,
1190,
2932,
12483,
6,
3719,
6862,
202,
4661,
900,
3412,
2189,
5621,
9506,
202,
12107,
6862,
202,
1636,
1182,
12,
2740,
1769,
9506,
202,
8820,
31,
6862,
6862,
1082,
202,
3593,
7442,
67,
900,
3412,
30,
9506,
202,
430,
261,
2740,
18,
17514,
1190,
2932,
26520,
7923,
747,
766,
18,
17514,
1190,
2932,
12483,
6,
3719,
6862,
202,
4661,
44,
11846,
2189,
5621,
9506,
202,
12107,
6862,
202,
1636,
1182,
12,
2740,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1640,
1064,
12,
780,
766,
13,
1216,
1860,
16,
1185,
288,
202,
202,
759,
11329,
11549,
1410,
506,
3271,
18651,
5380,
3412,
16,
7981,
654,
16,
670,
11846,
16,
7910,
3412,
9506,
202,
9610,
261,
2019,
13,
288,
1082,
202,
3593,
7442,
67,
27733,
30,
9506,
202,
430,
261,
2740,
18,
17514,
1190,
2932,
27246,
6,
3719,
6862,
202,
430,
261,
2815,
1545,
576,
13,
25083,
202,
4661,
4842,
45,
2189,
5621,
6862,
202,
12107,
25083,
202,
4661,
11219,
2189,
5621,
9506,
202,
12107,
6862,
202,
1636,
1182,
12,
2740,
1769,
9506,
202,
8820,
31,
6862,
6862,
1082,
202,
3593,
7442,
67,
4842,
45,
30,
9506,
202,
430,
261,
2740,
18,
17514,
1190,
2932,
26520,
2
] |
MANIFEST_UID_ATTR,manifestUID,
|
MANIFEST_UID_ATTR,manifestUID.toString(),
|
public void toXML(XMLWriter w) throws IOException{ w.sitagln(NAME_TAG, UID_ATTR,UID, ITEM_NOMEN_ATTR,itemNomen, AGGREGATE_ATTR,Long.toString(aggregateNumber), PROTOTYPE_UID_ATTR,prototypeUID, OWNER_ID_ATTR, ownerID, MANIFEST_UID_ATTR,manifestUID, NAME_ATTR,name); }
|
11319 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11319/64b8101b1422e9520cd63940ecf60396dbbe8b58/Instance.java/buggy/datagrabber/src/org/cougaar/mlm/ui/psp/transit/data/instances/Instance.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
30028,
12,
4201,
2289,
341,
13,
1216,
1860,
95,
565,
341,
18,
25404,
346,
2370,
12,
1985,
67,
7927,
16,
3196,
1377,
10034,
67,
12043,
16,
3060,
16,
202,
1377,
25504,
67,
3417,
16196,
67,
12043,
16,
1726,
26685,
275,
16,
202,
1377,
432,
19491,
5937,
1777,
67,
12043,
16,
3708,
18,
10492,
12,
18573,
1854,
3631,
202,
1377,
4629,
56,
1974,
1738,
67,
3060,
67,
12043,
16,
18541,
3060,
16,
202,
1377,
531,
22527,
67,
734,
67,
12043,
16,
3410,
734,
16,
202,
1377,
20972,
30050,
67,
3060,
67,
12043,
16,
14357,
3060,
16,
202,
1377,
6048,
67,
12043,
16,
529,
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,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
16196,
67,
12043,
16,
1726,
26685,
275,
16,
202,
1377,
432,
19491,
5937,
1777,
67,
12043,
16,
3708,
18,
10492,
12,
18573,
1854,
3631,
202,
1377,
4629,
56,
1974,
1738,
67,
3060,
67,
12043,
16,
18541,
3060,
16,
202,
1377,
531,
22527,
67,
734,
67,
12043,
16,
3410,
734,
16,
202,
1377,
20972,
30050,
67,
3060,
67,
12043,
16,
14357,
3060,
16,
202,
1377,
6048,
67,
12043,
16,
529,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (! alloc.getTask().getVerb().equals (Verb.getVerb ("VACATION")))
|
if (! alloc.getTask().getVerb().equals (Verb.get("VACATION")))
|
private void validateSchedule(ProgrammerAsset asset) { System.out.println ("Validating schedule of " + asset.getItemIdentificationPG().getItemIdentification()); // if not a vacation, then remove it RoleSchedule sched = asset.getRoleSchedule(); Enumeration enum = sched.getRoleScheduleElements(); while (enum.hasMoreElements()) { Allocation alloc = (Allocation) enum.nextElement(); if (! alloc.getTask().getVerb().equals (Verb.getVerb ("VACATION"))) blackboard.publishRemove (alloc); }
|
11320 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11320/2631aa09325d4743e992355e68d50bdeb0c82d21/DevelopmentAssessorPlugin.java/buggy/tutorial/exercises/org/cougaar/tutorial/exercise11/DevelopmentAssessorPlugin.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1954,
6061,
12,
9459,
6592,
6672,
3310,
13,
288,
565,
2332,
18,
659,
18,
8222,
7566,
31496,
4788,
434,
315,
397,
1082,
202,
9406,
18,
588,
1180,
24371,
18679,
7675,
588,
1180,
24371,
10663,
565,
368,
309,
486,
279,
30602,
367,
16,
1508,
1206,
518,
565,
6204,
6061,
23964,
273,
3310,
18,
588,
2996,
6061,
5621,
565,
13864,
2792,
273,
23964,
18,
588,
2996,
6061,
3471,
5621,
565,
1323,
261,
7924,
18,
5332,
7417,
3471,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1954,
6061,
12,
9459,
6592,
6672,
3310,
13,
288,
565,
2332,
18,
659,
18,
8222,
7566,
31496,
4788,
434,
315,
397,
1082,
202,
9406,
18,
588,
1180,
24371,
18679,
7675,
588,
1180,
24371,
10663,
565,
368,
309,
486,
279,
30602,
367,
16,
1508,
1206,
518,
565,
6204,
6061,
23964,
273,
3310,
18,
588,
2996,
6061,
5621,
565,
13864,
2792,
273,
23964,
18,
588,
2996,
6061,
3471,
5621,
565,
1323,
261,
7924,
18,
5332,
7417,
3471,
10756,
288,
1377,
24242,
4767,
273,
261,
17353,
13,
2792,
18,
4285,
1046,
5621,
1377,
309,
16051,
4767,
18,
588,
2174,
7675,
588,
16281,
7675,
14963,
261,
16281,
18,
588,
16281,
7566,
58,
2226,
2689,
6,
20349,
202,
11223,
3752,
18,
2
] |
.run(OMChildrenWithSpecificAttributeIteratorTest.class);
|
.run(OMChildrenWithSpecificAttributeIteratorTest.class);
|
public static void main(String[] args) { junit.textui.TestRunner .run(OMChildrenWithSpecificAttributeIteratorTest.class); }
|
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/af7717d39bf334b9910718812650d5561f1cbe1c/OMChildrenWithSpecificAttributeIteratorTest.java/buggy/modules/om/src/test/org/apache/axis/om/impl/traverse/OMChildrenWithSpecificAttributeIteratorTest.java
|
[
1,
8585,
326,
22398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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
525,
4873,
18,
955,
4881,
18,
4709,
9709,
7734,
263,
2681,
12,
1872,
4212,
1190,
9969,
1499,
3198,
4709,
18,
1106,
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
] |
setOnmouseover((String) evalAttr("onmouseover", getOnmouseover(),
|
setOnmouseover((String) evalAttr("onmouseover", getOnmouseoverExpr(),
|
private void evaluateExpressions() throws JspException { try { setAccesskey((String) evalAttr("accessKey", getAccesskey(), String.class)); } catch (NullAttributeException ex) { setAccesskey(null); } try { setAlt((String) evalAttr("alt", getAlt(), String.class)); } catch (NullAttributeException ex) { setAlt(null); } try { setAltKey((String) evalAttr("altKey", getAltKey(), String.class)); } catch (NullAttributeException ex) { setAltKey(null); } try { setDisabled(((Boolean) evalAttr("disabled", getDisabledExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setDisabled(false); } try { setOnblur((String) evalAttr("onblur", getOnblur(), String.class)); } catch (NullAttributeException ex) { setOnblur(null); } try { setOnchange((String) evalAttr("onchange", getOnchange(), String.class)); } catch (NullAttributeException ex) { setOnchange(null); } try { setOnclick((String) evalAttr("onclick", getOnclick(), String.class)); } catch (NullAttributeException ex) { setOnclick(null); } try { setOndblclick((String) evalAttr("ondblclick", getOndblclick(), String.class)); } catch (NullAttributeException ex) { setOndblclick(null); } try { setOnfocus((String) evalAttr("onfocus", getOnfocus(), String.class)); } catch (NullAttributeException ex) { setOnfocus(null); } try { setOnkeydown((String) evalAttr("onkeydown", getOnkeydown(), String.class)); } catch (NullAttributeException ex) { setOnkeydown(null); } try { setOnkeypress((String) evalAttr("onkeypress", getOnkeypress(), String.class)); } catch (NullAttributeException ex) { setOnkeypress(null); } try { setOnkeyup((String) evalAttr("onkeyup", getOnkeyup(), String.class)); } catch (NullAttributeException ex) { setOnkeyup(null); } try { setOnmousedown((String) evalAttr("onmousedown", getOnmousedown(), String.class)); } catch (NullAttributeException ex) { setOnmousedown(null); } try { setOnmousemove((String) evalAttr("onmousemove", getOnmousemove(), String.class)); } catch (NullAttributeException ex) { setOnmousemove(null); } try { setOnmouseout((String) evalAttr("onmouseout", getOnmouseout(), String.class)); } catch (NullAttributeException ex) { setOnmouseout(null); } try { setOnmouseover((String) evalAttr("onmouseover", getOnmouseover(), String.class)); } catch (NullAttributeException ex) { setOnmouseover(null); } try { setOnmouseup((String) evalAttr("onmouseup", getOnmouseup(), String.class)); } catch (NullAttributeException ex) { setOnmouseup(null); } try { setProperty((String) evalAttr("property", getProperty(), String.class)); } catch (NullAttributeException ex) { setProperty(null); } try { setStyle((String) evalAttr("style", getStyle(), String.class)); } catch (NullAttributeException ex) { setStyle(null); } try { setStyleClass((String) evalAttr("styleClass", getStyleClass(), String.class)); } catch (NullAttributeException ex) { setStyleClass(null); } try { setStyleId((String) evalAttr("styleId", getStyleId(), String.class)); } catch (NullAttributeException ex) { setStyleId(null); } try { setTabindex((String) evalAttr("tabindex", getTabindex(), String.class)); } catch (NullAttributeException ex) { setTabindex(null); } try { setTitle((String) evalAttr("title", getTitle(), String.class)); } catch (NullAttributeException ex) { setTitle(null); } try { setTitleKey((String) evalAttr("titleKey", getTitleKey(), String.class)); } catch (NullAttributeException ex) { setTitleKey(null); } try { setValue((String) evalAttr("value", getValue(), String.class)); } catch (NullAttributeException ex) { setValue(null); } }
|
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/db064e19656421b94aaf753550935d95f44bd5f9/ELCancelTag.java/clean/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELCancelTag.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
1862,
856,
12443,
780,
13,
5302,
3843,
2932,
3860,
653,
3113,
21909,
856,
9334,
4766,
6647,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
1862,
856,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
12443,
780,
13,
5302,
3843,
2932,
2390,
3113,
336,
10655,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
10655,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
653,
12443,
780,
13,
5302,
3843,
2932,
2390,
653,
3113,
336,
10655,
653,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
10655,
653,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
8853,
12443,
12,
5507,
13,
5302,
3843,
2932,
9278,
3113,
336,
8853,
4742,
9334,
4766,
5411,
3411,
18,
1106,
13,
2934,
13491,
16708,
10663,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
8853,
12,
5743,
1769,
3639,
289,
3639,
775,
288,
5411,
22131,
27065,
12443,
780,
13,
5302,
3843,
2932,
265,
27065,
3113,
30070,
27065,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
22131,
27065,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
22131,
3427,
12443,
780,
13,
5302,
3843,
2932,
265,
3427,
3113,
30070,
3427,
9334,
4766,
1850,
514,
18,
1106,
10019,
3639,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
1862,
856,
12443,
780,
13,
5302,
3843,
2932,
3860,
653,
3113,
21909,
856,
9334,
4766,
6647,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
1862,
856,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
12443,
780,
13,
5302,
3843,
2932,
2390,
3113,
336,
10655,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
10655,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
653,
12443,
780,
13,
5302,
3843,
2932,
2390,
653,
3113,
336,
10655,
653,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
2
] |
String dependency = (String)depEnum.nextElement();
|
String dependency = (String) depEnum.nextElement();
|
protected void determineDependencies(Vector files, Vector classes) { // we get the root classes and build up a set of // classes upon which they depend Hashtable dependencies = new Hashtable(); Hashtable containers = new Hashtable(); Hashtable toAnalyze = new Hashtable(); for (Enumeration e = getRootClasses(); e.hasMoreElements(); ) { String classname = (String)e.nextElement(); toAnalyze.put(classname, classname); } int count = 0; int maxCount = isClosureRequired() ? MAX_LOOPS : 2; while (toAnalyze.size() != 0 && count++ < maxCount) { Hashtable analyzedDeps = new Hashtable(); for (Enumeration e = toAnalyze.keys(); e.hasMoreElements(); ) { String classname = (String)e.nextElement(); dependencies.put(classname, classname); try { File container = getClassContainer(classname); if (container == null) { continue; } containers.put(container, container); ZipFile zipFile = null; InputStream inStream = null; try { if (container.getName().endsWith(".class")) { inStream = new FileInputStream(container.getPath()); } else { zipFile = new ZipFile(container.getPath()); String entryName = classname.replace('.', '/') + ".class"; ZipEntry entry = new ZipEntry(entryName); inStream = zipFile.getInputStream(entry); } ClassFile classFile = new ClassFile(); classFile.read(inStream); Vector dependencyList = classFile.getClassRefs(); Enumeration depEnum = dependencyList.elements(); while (depEnum.hasMoreElements()) { String dependency = (String)depEnum.nextElement(); analyzedDeps.put(dependency, dependency); } } finally { if (inStream != null) { inStream.close(); } if (zipFile != null) { zipFile.close(); } } } catch (IOException ioe) { // ignore } } toAnalyze.clear(); // now recover all the dependencies collected and add to the list. Enumeration depsEnum = analyzedDeps.elements(); while (depsEnum.hasMoreElements()) { String className = (String)depsEnum.nextElement(); if (!dependencies.containsKey(className)) { toAnalyze.put(className, className); } } } files.removeAllElements(); for (Enumeration e = containers.keys(); e.hasMoreElements(); ) { files.addElement((File)e.nextElement()); } classes.removeAllElements(); for (Enumeration e = dependencies.keys(); e.hasMoreElements(); ) { classes.addElement((String)e.nextElement()); } }
|
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/c6c232893c39257745a8f7a618bcdb5c59791cae/AntAnalyzer.java/clean/src/main/org/apache/tools/ant/taskdefs/optional/depend/AntAnalyzer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
4199,
8053,
12,
5018,
1390,
16,
5589,
3318,
13,
288,
3639,
368,
732,
336,
326,
1365,
3318,
471,
1361,
731,
279,
444,
434,
3639,
368,
3318,
12318,
1492,
2898,
2447,
3639,
18559,
5030,
273,
394,
18559,
5621,
3639,
18559,
8475,
273,
394,
18559,
5621,
3639,
18559,
358,
31984,
273,
394,
18559,
5621,
3639,
364,
261,
21847,
425,
273,
7656,
4818,
5621,
425,
18,
5332,
7417,
3471,
5621,
262,
288,
5411,
514,
7479,
273,
261,
780,
13,
73,
18,
4285,
1046,
5621,
5411,
358,
31984,
18,
458,
12,
18340,
16,
7479,
1769,
3639,
289,
3639,
509,
1056,
273,
374,
31,
3639,
509,
943,
1380,
273,
353,
10573,
3705,
1435,
692,
4552,
67,
28677,
55,
294,
576,
31,
3639,
1323,
261,
869,
31984,
18,
1467,
1435,
480,
374,
597,
1056,
9904,
411,
943,
1380,
13,
288,
5411,
18559,
27465,
14430,
273,
394,
18559,
5621,
5411,
364,
261,
21847,
425,
273,
358,
31984,
18,
2452,
5621,
425,
18,
5332,
7417,
3471,
5621,
262,
288,
7734,
514,
7479,
273,
261,
780,
13,
73,
18,
4285,
1046,
5621,
7734,
5030,
18,
458,
12,
18340,
16,
7479,
1769,
7734,
775,
288,
10792,
1387,
1478,
273,
2900,
2170,
12,
18340,
1769,
10792,
309,
261,
3782,
422,
446,
13,
288,
13491,
1324,
31,
10792,
289,
10792,
8475,
18,
458,
12,
3782,
16,
1478,
1769,
10792,
18364,
19450,
273,
446,
31,
10792,
5037,
28987,
273,
446,
31,
10792,
775,
288,
13491,
309,
261,
3782,
18,
17994,
7675,
5839,
1190,
2932,
18,
1106,
6,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
4199,
8053,
12,
5018,
1390,
16,
5589,
3318,
13,
288,
3639,
368,
732,
336,
326,
1365,
3318,
471,
1361,
731,
279,
444,
434,
3639,
368,
3318,
12318,
1492,
2898,
2447,
3639,
18559,
5030,
273,
394,
18559,
5621,
3639,
18559,
8475,
273,
394,
18559,
5621,
3639,
18559,
358,
31984,
273,
394,
18559,
5621,
3639,
364,
261,
21847,
425,
273,
7656,
4818,
5621,
425,
18,
5332,
7417,
3471,
5621,
262,
288,
5411,
514,
7479,
273,
261,
780,
13,
73,
18,
4285,
1046,
5621,
5411,
358,
31984,
18,
458,
12,
18340,
16,
7479,
1769,
3639,
289,
3639,
509,
1056,
273,
374,
31,
3639,
509,
943,
1380,
273,
353,
10573,
3705,
1435,
692,
4552,
67,
28677,
55,
294,
576,
31,
2
] |
public void visitAttributeEvent(SModelAttributeEvent event) { }
|
public void modelChangedInCommand(final List<SModelEvent> events) { getTree().rebuildTree(new Runnable() { public void run() { SModelEventVisitor visitor = new SModelEventVisitor() { public void visitRootEvent(SModelRootEvent event) { SModelTreeNode.this.update(); updateTreeWithRoot(event.getRoot()); } public void visitChildEvent(SModelChildEvent event) { updateTreeWithRoot(event.getParent()); } public void visitPropertyEvent(SModelPropertyEvent event) { if (event.getNode().isRoot() && needChangeRootNodePosition(event)) { SModelTreeNode.this.update(); updateTreeWithRoot(event.getNode()); return; } DefaultTreeModel treeModel = (DefaultTreeModel) getTree().getModel(); //i tried to use nodeChange but it didn't work treeModel.nodeStructureChanged(findDescendantWith(event.getNode())); } public void visitReferenceEvent(SModelReferenceEvent event) { } public void visitAttributeEvent(SModelAttributeEvent event) { } }; for (SModelEvent event : events) { event.accept(visitor); } } }, EventUtil.isDramaticalChange(events) || EventUtil.isRootNameChange(events)); }
|
14939 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14939/64550d3cfe0ed54faa3c5463839c677241791d7e/SModelTreeNode.java/clean/source/jetbrains/mps/ide/ui/smodel/SModelTreeNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
938,
5033,
382,
2189,
12,
6385,
987,
32,
55,
1488,
1133,
34,
2641,
13,
288,
1377,
15867,
7675,
266,
3510,
2471,
12,
2704,
10254,
1435,
288,
3639,
1071,
918,
1086,
1435,
288,
1850,
348,
1488,
1133,
7413,
8000,
273,
394,
348,
1488,
1133,
7413,
1435,
288,
5411,
1071,
918,
3757,
2375,
1133,
12,
55,
1488,
2375,
1133,
871,
13,
288,
2868,
348,
1488,
12513,
18,
2211,
18,
2725,
5621,
2868,
1089,
2471,
1190,
2375,
12,
2575,
18,
588,
2375,
10663,
5411,
289,
5411,
1071,
918,
3757,
1763,
1133,
12,
55,
1488,
1763,
1133,
871,
13,
288,
2868,
1089,
2471,
1190,
2375,
12,
2575,
18,
588,
3054,
10663,
5411,
289,
5411,
1071,
918,
3757,
1396,
1133,
12,
55,
1488,
1396,
1133,
871,
13,
288,
2868,
309,
261,
2575,
18,
588,
907,
7675,
291,
2375,
1435,
597,
1608,
3043,
29658,
2555,
12,
2575,
3719,
288,
7734,
348,
1488,
12513,
18,
2211,
18,
2725,
5621,
7734,
1089,
2471,
1190,
2375,
12,
2575,
18,
588,
907,
10663,
7734,
327,
31,
2868,
289,
2868,
2989,
2471,
1488,
2151,
1488,
273,
261,
1868,
2471,
1488,
13,
15867,
7675,
588,
1488,
5621,
2868,
368,
77,
12928,
358,
999,
756,
3043,
1496,
518,
10242,
1404,
1440,
2868,
2151,
1488,
18,
2159,
6999,
5033,
12,
4720,
29014,
1190,
12,
2575,
18,
588,
907,
1435,
10019,
5411,
289,
5411,
1071,
918,
3757,
2404,
1133,
12,
55,
1488,
2404,
1133,
871,
13,
288,
5411,
289,
5411,
1071,
918,
3757,
1499,
1133,
12,
55,
1488,
1499,
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,
938,
5033,
382,
2189,
12,
6385,
987,
32,
55,
1488,
1133,
34,
2641,
13,
288,
1377,
15867,
7675,
266,
3510,
2471,
12,
2704,
10254,
1435,
288,
3639,
1071,
918,
1086,
1435,
288,
1850,
348,
1488,
1133,
7413,
8000,
273,
394,
348,
1488,
1133,
7413,
1435,
288,
5411,
1071,
918,
3757,
2375,
1133,
12,
55,
1488,
2375,
1133,
871,
13,
288,
2868,
348,
1488,
12513,
18,
2211,
18,
2725,
5621,
2868,
1089,
2471,
1190,
2375,
12,
2575,
18,
588,
2375,
10663,
5411,
289,
5411,
1071,
918,
3757,
1763,
1133,
12,
55,
1488,
1763,
1133,
871,
13,
288,
2868,
1089,
2471,
1190,
2375,
12,
2575,
18,
588,
3054,
10663,
5411,
289,
5411,
1071,
918,
3757,
1396,
1133,
12,
2
] |
|
PDOMNode node = PDOMLinkage.getLinkage(this, record).getNode(record);
|
PDOMNode node = PDOMNode.getLinkage(this, record).getNode(record);
|
public PDOMBinding getBinding(int record) throws CoreException { if (record == 0) return null; else { PDOMNode node = PDOMLinkage.getLinkage(this, record).getNode(record); return node instanceof PDOMBinding ? (PDOMBinding)node : null; } }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/75cbff035e927043ff1116bbd1e33e89ab93b9cb/PDOM.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/PDOM.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
453,
8168,
5250,
29471,
12,
474,
1409,
13,
1216,
30015,
288,
202,
202,
430,
261,
3366,
422,
374,
13,
1082,
202,
2463,
446,
31,
202,
202,
12107,
288,
1082,
202,
52,
8168,
907,
756,
273,
5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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
453,
8168,
5250,
29471,
12,
474,
1409,
13,
1216,
30015,
288,
202,
202,
430,
261,
3366,
422,
374,
13,
1082,
202,
2463,
446,
31,
202,
202,
12107,
288,
1082,
202,
52,
8168,
907,
756,
273,
5739,
1495,
754,
410,
18,
588,
2098,
410,
12,
2211,
16,
1409,
2934,
588,
907,
12,
3366,
1769,
1082,
202,
2463,
756,
1276,
453,
8168,
5250,
692,
261,
52,
8168,
5250,
13,
2159,
294,
446,
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
] |
MockObject mo = new MockObject(false); Object[] arguments = new Object[] { new int[] { 1 } }; Statement t = new Statement(mo, "integerArrayMethod", arguments); try { t.execute(); fail("Should throw NoSuchMethodException!"); } catch (NoSuchMethodException ex) { } }
|
MockObject mo = new MockObject(false); Object[] arguments = new Object[] { new int[] { 1 } }; Statement t = new Statement(mo, "integerArrayMethod", arguments); try { t.execute(); fail("Should throw NoSuchMethodException!"); } catch (NoSuchMethodException ex) { } }
|
public void testExecute_IntegerArrayMethod() throws Exception { MockObject mo = new MockObject(false); Object[] arguments = new Object[] { new int[] { 1 } }; Statement t = new Statement(mo, "integerArrayMethod", arguments); try { t.execute(); fail("Should throw NoSuchMethodException!"); } catch (NoSuchMethodException ex) { // expected } }
|
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/4ba82e89cbb65af88b46abff0c64256a68ee0d33/StatementTest.java/buggy/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/StatementTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
5289,
67,
4522,
1076,
1305,
1435,
1216,
1185,
288,
202,
202,
9865,
921,
7344,
273,
394,
7867,
921,
12,
5743,
1769,
202,
202,
921,
8526,
1775,
273,
394,
1033,
8526,
288,
394,
509,
8526,
288,
404,
289,
289,
31,
202,
202,
3406,
268,
273,
394,
8056,
12,
8683,
16,
315,
7745,
1076,
1305,
3113,
1775,
1769,
202,
202,
698,
288,
1082,
202,
88,
18,
8837,
5621,
1082,
202,
6870,
2932,
14309,
604,
15959,
4442,
1769,
202,
202,
97,
1044,
261,
28341,
14513,
431,
13,
288,
1082,
202,
759,
2665,
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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,
273,
394,
1033,
8526,
288,
394,
509,
8526,
288,
404,
289,
289,
31,
202,
202,
3406,
268,
273,
394,
8056,
12,
8683,
16,
315,
7745,
1076,
1305,
3113,
1775,
1769,
202,
202,
698,
288,
1082,
202,
88,
18,
8837,
5621,
1082,
202,
6870,
2932,
14309,
604,
15959,
4442,
1769,
202,
202,
97,
1044,
261,
28341,
14513,
431,
13,
288,
1082,
202,
759,
2665,
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
] |
} delayedUpdate = false;
|
} */
|
public void transactionComplete(Buffer buffer) { if(textArea.getDisplayManager() == DisplayManager.this) { if(delayedUpdate) { // must be before the below call // so that the chunk cache is not // updated with an invisible first // line (see above) _notifyScreenLineChanges(); if(delayedMultilineUpdate) { textArea.invalidateScreenLineRange( textArea.chunkCache .getScreenLineOfOffset( delayedUpdateStart,0), textArea.getVisibleLines()); delayedMultilineUpdate = false; } else { textArea.invalidateLineRange( delayedUpdateStart, delayedUpdateEnd); } int _firstLine = textArea.getFirstPhysicalLine(); int _lastLine = textArea.getLastPhysicalLine(); int line = delayedUpdateStart; if(!isLineVisible(line)) line = getNextVisibleLine(line); while(line != -1 && line <= delayedUpdateEnd) { if(line < _firstLine || line > _lastLine) { getScreenLineCount(line); } line = getNextVisibleLine(line); } // update visible lines int visibleLines = textArea .getVisibleLines(); if(visibleLines != 0) { textArea.chunkCache.getLineInfo( visibleLines - 1); } // force the fold levels to be // updated. // when painting the last line of // a buffer, Buffer.isFoldStart() // doesn't call getFoldLevel(), // hence the foldLevelChanged() // event might not be sent for the // previous line. buffer.getFoldLevel(delayedUpdateEnd); } textArea._finishCaretUpdate(); } //{{{ Debug code if(Debug.SCROLL_VERIFY) { int scrollLineCount = 0; for(int i = 0; i < textArea.getLineCount(); i++) { if(isLineVisible(i)) { scrollLineCount += getScreenLineCount(i); } } if(scrollLineCount != getScrollLineCount()) { throw new InternalError(scrollLineCount + " != " + getScrollLineCount()); } } //}}} delayedUpdate = false; } //}}}
|
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/f0c51016b6231ecd5484cf6addf71d4c75906363/DisplayManager.java/clean/org/gjt/sp/jedit/textarea/DisplayManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
2492,
6322,
12,
1892,
1613,
13,
202,
202,
95,
1082,
202,
430,
12,
955,
5484,
18,
588,
4236,
1318,
1435,
422,
9311,
1318,
18,
2211,
13,
1082,
202,
95,
9506,
202,
430,
12,
10790,
329,
1891,
13,
9506,
202,
95,
6862,
202,
759,
1297,
506,
1865,
326,
5712,
745,
6862,
202,
759,
1427,
716,
326,
2441,
1247,
353,
486,
6862,
202,
759,
3526,
598,
392,
24697,
1122,
6862,
202,
759,
980,
261,
5946,
5721,
13,
6862,
202,
67,
12336,
7956,
1670,
7173,
5621,
6862,
202,
430,
12,
10790,
329,
5049,
12554,
1891,
13,
6862,
202,
95,
25083,
202,
955,
5484,
18,
5387,
340,
7956,
1670,
2655,
12,
6862,
1082,
202,
955,
5484,
18,
6551,
1649,
6862,
1082,
202,
18,
588,
7956,
1670,
951,
2335,
12,
6862,
1082,
202,
10790,
329,
1891,
1685,
16,
20,
3631,
6862,
1082,
202,
955,
5484,
18,
588,
6207,
5763,
10663,
25083,
202,
10790,
329,
5049,
12554,
1891,
273,
629,
31,
6862,
202,
97,
6862,
202,
12107,
6862,
202,
95,
25083,
202,
955,
5484,
18,
5387,
340,
1670,
2655,
12,
6862,
1082,
202,
10790,
329,
1891,
1685,
16,
6862,
1082,
202,
10790,
329,
1891,
1638,
1769,
6862,
202,
97,
6862,
202,
474,
389,
3645,
1670,
273,
977,
5484,
18,
588,
3759,
18136,
1670,
5621,
6862,
202,
474,
389,
2722,
1670,
273,
977,
5484,
18,
588,
3024,
18136,
1670,
5621,
6862,
202,
474,
980,
273,
15278,
1891,
1685,
31,
6862,
202,
430,
12,
5,
291,
1670,
6207,
12,
1369,
3719,
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,
3196,
202,
482,
918,
2492,
6322,
12,
1892,
1613,
13,
202,
202,
95,
1082,
202,
430,
12,
955,
5484,
18,
588,
4236,
1318,
1435,
422,
9311,
1318,
18,
2211,
13,
1082,
202,
95,
9506,
202,
430,
12,
10790,
329,
1891,
13,
9506,
202,
95,
6862,
202,
759,
1297,
506,
1865,
326,
5712,
745,
6862,
202,
759,
1427,
716,
326,
2441,
1247,
353,
486,
6862,
202,
759,
3526,
598,
392,
24697,
1122,
6862,
202,
759,
980,
261,
5946,
5721,
13,
6862,
202,
67,
12336,
7956,
1670,
7173,
5621,
6862,
202,
430,
12,
10790,
329,
5049,
12554,
1891,
13,
6862,
202,
95,
25083,
202,
955,
5484,
18,
5387,
340,
7956,
1670,
2655,
12,
6862,
1082,
202,
955,
5484,
18,
6551,
1649,
2
] |
wagonManager.getRepositoryMetadata( metadata, remote, tempMetadataFile ); if ( !metadataFile.exists() || ( metadataFile.lastModified() <= tempMetadataFile.lastModified() ) ) { if ( !tempMetadataFile.renameTo( metadataFile ) ) { FileUtils.copyFile( tempMetadataFile, metadataFile ); tempMetadataFile.delete(); } }
|
wagonManager.getRepositoryMetadata( metadata, remote, metadataFile );
|
public void resolve( RepositoryMetadata metadata, ArtifactRepository remote, ArtifactRepository local ) throws RepositoryMetadataManagementException { File metadataFile = (File) cachedMetadata.get( metadata.getRepositoryPath() ); if ( metadataFile == null ) { metadataFile = constructLocalRepositoryFile( metadata, local ); if ( !metadataFile.exists() && remote != null ) { try { File tempMetadataFile = File.createTempFile( "plugins.xml", null ); try { wagonManager.getRepositoryMetadata( metadata, remote, tempMetadataFile ); if ( !metadataFile.exists() || ( metadataFile.lastModified() <= tempMetadataFile.lastModified() ) ) { if ( !tempMetadataFile.renameTo( metadataFile ) ) { FileUtils.copyFile( tempMetadataFile, metadataFile ); tempMetadataFile.delete(); } } } catch ( ResourceDoesNotExistException e ) { if ( !metadataFile.exists() ) { throw new RepositoryMetadataManagementException( metadata, "Remote repository metadata not found.", e ); } else { String message = "Cannot find " + metadata + " in remote repository - Using local copy."; getLogger().info( message ); getLogger().debug( message, e ); } } } catch ( TransferFailedException e ) { throw new RepositoryMetadataManagementException( metadata, "Failed to download repository metadata.", e ); } catch ( IOException e ) { throw new RepositoryMetadataManagementException( metadata, "Error constructing temporary metadata download file.", e ); } } else { getLogger().info( "Using local copy of " + metadata + " from: " + metadataFile ); } metadata.setFile( metadataFile ); } }
|
48791 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48791/11082da5f4fafc00e6a133efa683b636ff92951e/DefaultRepositoryMetadataManager.java/clean/maven-artifact-manager/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2245,
12,
6281,
2277,
1982,
16,
14022,
3305,
2632,
16,
14022,
3305,
1191,
262,
3639,
1216,
6281,
2277,
10998,
503,
565,
288,
3639,
1387,
1982,
812,
273,
261,
812,
13,
3472,
2277,
18,
588,
12,
1982,
18,
588,
3305,
743,
1435,
11272,
3639,
309,
261,
1982,
812,
422,
446,
262,
3639,
288,
5411,
1982,
812,
273,
4872,
2042,
3305,
812,
12,
1982,
16,
1191,
11272,
5411,
309,
261,
401,
4165,
812,
18,
1808,
1435,
597,
2632,
480,
446,
262,
5411,
288,
7734,
775,
7734,
288,
10792,
1387,
1906,
2277,
812,
273,
1387,
18,
2640,
20181,
12,
315,
8057,
18,
2902,
3113,
446,
11272,
10792,
775,
10792,
288,
13491,
341,
346,
265,
1318,
18,
588,
3305,
2277,
12,
1982,
16,
2632,
16,
1906,
2277,
812,
11272,
13491,
309,
261,
401,
4165,
812,
18,
1808,
1435,
18701,
747,
261,
1982,
812,
18,
2722,
4575,
1435,
1648,
1906,
2277,
812,
18,
2722,
4575,
1435,
262,
262,
13491,
288,
18701,
309,
261,
401,
5814,
2277,
812,
18,
18539,
774,
12,
1982,
812,
262,
262,
18701,
288,
27573,
13779,
18,
3530,
812,
12,
1906,
2277,
812,
16,
1982,
812,
11272,
27573,
1906,
2277,
812,
18,
3733,
5621,
18701,
289,
13491,
289,
10792,
289,
10792,
1044,
261,
2591,
26621,
425,
262,
10792,
288,
13491,
309,
261,
401,
4165,
812,
18,
1808,
1435,
262,
13491,
288,
18701,
604,
394,
6281,
2277,
10998,
503,
12,
1982,
16,
28524,
2398,
315,
5169,
3352,
1982,
486,
1392,
1199,
16,
425,
11272,
13491,
289,
13491,
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,
2245,
12,
6281,
2277,
1982,
16,
14022,
3305,
2632,
16,
14022,
3305,
1191,
262,
3639,
1216,
6281,
2277,
10998,
503,
565,
288,
3639,
1387,
1982,
812,
273,
261,
812,
13,
3472,
2277,
18,
588,
12,
1982,
18,
588,
3305,
743,
1435,
11272,
3639,
309,
261,
1982,
812,
422,
446,
262,
3639,
288,
5411,
1982,
812,
273,
4872,
2042,
3305,
812,
12,
1982,
16,
1191,
11272,
5411,
309,
261,
401,
4165,
812,
18,
1808,
1435,
597,
2632,
480,
446,
262,
5411,
288,
7734,
775,
7734,
288,
10792,
1387,
1906,
2277,
812,
273,
1387,
18,
2640,
20181,
12,
315,
8057,
18,
2902,
3113,
446,
11272,
10792,
775,
10792,
288,
13491,
341,
346,
265,
1318,
18,
588,
3305,
2277,
2
] |
public void propertySet(final MElementEvent event) { if (_property.isAffected(event)) { // // check the possibility that this is a promiscuous event Object eventSource = event.getSource(); Object target = _container.getTarget(); // // if event source is unknown or // the event source is the container's target // then update the field if (eventSource == null || eventSource == target) { update(); } } }
|
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/UMLTextArea.java/buggy/src_new/org/argouml/uml/ui/UMLTextArea.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
4468,
694,
12,
6385,
12310,
1133,
2575,
15329,
430,
24899,
4468,
18,
291,
23775,
12,
2575,
3719,
95,
1307,
1893,
451,
881,
8464,
3628,
19056,
2211,
291,
438,
520,
291,
6319,
3793,
616,
921,
2575,
1830,
33,
2575,
18,
588,
1830,
5621,
921,
3299,
33,
67,
3782,
18,
588,
2326,
5621,
1307,
430,
2575,
3168,
291,
8172,
280,
759,
451,
1340,
616,
3168,
376,
76,
31313,
1521,
1807,
3299,
759,
15991,
416,
3404,
546,
73,
1518,
430,
12,
2575,
1830,
631,
2011,
20081,
2575,
1830,
631,
3299,
15329,
2725,
5621,
9090,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
4468,
694,
12,
6385,
12310,
1133,
2575,
15329,
430,
24899,
4468,
18,
291,
23775,
12,
2575,
3719,
95,
1307,
1893,
451,
881,
8464,
3628,
19056,
2211,
291,
438,
520,
291,
6319,
3793,
616,
921,
2575,
1830,
33,
2575,
18,
588,
1830,
5621,
921,
3299,
33,
67,
3782,
18,
588,
2326,
5621,
1307,
430,
2575,
3168,
291,
8172,
280,
759,
451,
1340,
616,
3168,
376,
76,
31313,
1521,
1807,
3299,
759,
15991,
416,
3404,
546,
73,
1518,
430,
12,
2575,
1830,
631,
2011,
20081,
2575,
1830,
631,
3299,
15329,
2725,
5621,
9090,
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
] |
||
for( int j = 0; j < numParams; j++ ){
|
for( int j = 0; j < numSourceParams; j++ ){
|
static protected IParameterizedSymbol resolveFunction( LookupData data, List functions ) throws ParserSymbolTableException{ if( functions == null ){ return null; } reduceToViable( data, functions ); int numSourceParams = ( data.parameters == null ) ? 0 : data.parameters.size(); int numFns = functions.size(); if( numSourceParams == 0 ){ //no parameters //if there is only 1 viable function, return it, if more than one, its ambiguous if( numFns == 0 ){ return null; } else if ( numFns == 1 ){ return (IParameterizedSymbol)functions.iterator().next(); } else if ( numFns == 2 ){ Iterator iter = functions.iterator(); while( iter.hasNext() ){ IParameterizedSymbol fn = (IParameterizedSymbol) iter.next(); if( fn.getTypeInfo().isForwardDeclaration() && fn.getTypeSymbol() != null ){ if( functions.contains( fn.getTypeSymbol() ) ){ return (IParameterizedSymbol) fn.getTypeSymbol(); } } } throw new ParserSymbolTableException( ParserSymbolTableException.r_Ambiguous ); }else{ throw new ParserSymbolTableException( ParserSymbolTableException.r_Ambiguous ); } } IParameterizedSymbol bestFn = null; //the best function IParameterizedSymbol currFn = null; //the function currently under consideration Cost [] bestFnCost = null; //the cost of the best function Cost [] currFnCost = null; //the cost for the current function Iterator iterFns = functions.iterator(); Iterator sourceParams = null; Iterator targetParams = null; int numTargetParams = 0; int numParams = 0; int comparison; Cost cost = null; Cost temp = null; TypeInfo source = null; TypeInfo target = null; boolean hasWorse = false; boolean hasBetter = false; boolean ambiguous = false; boolean currHasAmbiguousParam = false; boolean bestHasAmbiguousParam = false; for( int i = numFns; i > 0; i-- ){ currFn = (IParameterizedSymbol) iterFns.next(); if( bestFn != null ){ if( bestFn.isForwardDeclaration() && bestFn.getTypeSymbol() == currFn ){ bestFn = currFn; continue; } else if( currFn.isForwardDeclaration() && currFn.getTypeSymbol() == bestFn ){ continue; } } sourceParams = data.parameters.iterator(); List parameterList = null; if( currFn.getParameterList().isEmpty() ){ //the only way we get here and have no parameters, is if we are looking //for a function that takes void parameters ie f( void ) parameterList = new LinkedList(); parameterList.add( currFn.getSymbolTable().newSymbol( "", TypeInfo.t_void ) ); targetParams = parameterList.iterator(); } else { parameterList = currFn.getParameterList(); } targetParams = parameterList.iterator(); numTargetParams = parameterList.size(); //we only need to look at the smaller number of parameters //(a larger number in the Target means default parameters, a larger //number in the source means ellipses.) numParams = ( numTargetParams < numSourceParams ) ? numTargetParams : numSourceParams; if( currFnCost == null ){ currFnCost = new Cost [ numParams ]; } comparison = 0; for( int j = 0; j < numParams; j++ ){ source = (TypeInfo) sourceParams.next(); target = ((ISymbol)targetParams.next()).getTypeInfo(); if( source.equals( target ) ){ cost = new Cost( source, target ); cost.rank = Cost.IDENTITY_RANK; //exact match, no cost } else { cost = checkStandardConversionSequence( source, target ); //12.3-4 At most one user-defined conversion is implicitly applied to //a single value. (also prevents infinite loop) if( cost.rank == Cost.NO_MATCH_RANK && !data.forUserDefinedConversion ){ temp = checkUserDefinedConversionSequence( source, target ); if( temp != null ){ cost = temp; } } } currFnCost[ j ] = cost; } hasWorse = false; hasBetter = false; //In order for this function to be better than the previous best, it must //have at least one parameter match that is better that the corresponding //match for the other function, and none that are worse. for( int j = 0; j < numParams; j++ ){ if( currFnCost[ j ].rank < 0 ){ hasWorse = true; hasBetter = false; break; } //an ambiguity in the user defined conversion sequence is only a problem //if this function turns out to be the best. currHasAmbiguousParam = ( currFnCost[ j ].userDefined == 1 ); if( bestFnCost != null ){ comparison = currFnCost[ j ].compare( bestFnCost[ j ] ); hasWorse |= ( comparison < 0 ); hasBetter |= ( comparison > 0 ); } else { hasBetter = true; } } //If function has a parameter match that is better than the current best, //and another that is worse (or everything was just as good, neither better nor worse). //then this is an ambiguity (unless we find something better than both later) ambiguous |= ( hasWorse && hasBetter ) || ( !hasWorse && !hasBetter ); if( !hasWorse ){ if( hasBetter ){ //the new best function. ambiguous = false; bestFnCost = currFnCost; bestHasAmbiguousParam = currHasAmbiguousParam; currFnCost = null; bestFn = currFn; } } } if( ambiguous || bestHasAmbiguousParam ){ throw new ParserSymbolTableException( ParserSymbolTableException.r_Ambiguous ); } return bestFn; }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/51fc347c92c8f68750c5ddddce0fc46565ac8ea7/ParserSymbolTable.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/pst/ParserSymbolTable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
4750,
467,
15696,
5335,
2245,
2083,
12,
8834,
751,
501,
16,
987,
4186,
262,
1216,
6783,
5335,
1388,
503,
95,
202,
202,
430,
12,
4186,
422,
446,
262,
95,
1082,
202,
2463,
446,
31,
202,
202,
97,
9506,
202,
12498,
774,
16895,
12,
501,
16,
4186,
11272,
9506,
202,
474,
818,
1830,
1370,
273,
261,
501,
18,
3977,
422,
446,
262,
692,
374,
294,
501,
18,
3977,
18,
1467,
5621,
202,
202,
474,
818,
31126,
273,
4186,
18,
1467,
5621,
9506,
202,
430,
12,
818,
1830,
1370,
422,
374,
262,
95,
1082,
202,
759,
2135,
1472,
1082,
202,
759,
430,
1915,
353,
1338,
404,
331,
2214,
445,
16,
327,
518,
16,
309,
1898,
2353,
1245,
16,
2097,
20399,
1082,
202,
430,
12,
818,
31126,
422,
374,
262,
95,
9506,
202,
2463,
446,
31,
1082,
202,
97,
469,
309,
261,
818,
31126,
422,
404,
262,
95,
9506,
202,
2463,
261,
45,
15696,
5335,
13,
10722,
18,
9838,
7675,
4285,
5621,
1082,
202,
97,
469,
309,
261,
818,
31126,
422,
576,
262,
95,
9506,
202,
3198,
1400,
273,
4186,
18,
9838,
5621,
9506,
202,
17523,
12,
1400,
18,
5332,
2134,
1435,
262,
95,
6862,
202,
45,
15696,
5335,
2295,
273,
261,
45,
15696,
5335,
13,
1400,
18,
4285,
5621,
6862,
202,
430,
12,
2295,
18,
588,
17305,
7675,
291,
8514,
6094,
1435,
597,
2295,
18,
588,
559,
5335,
1435,
480,
446,
262,
95,
25083,
202,
430,
12,
4186,
18,
12298,
12,
2295,
18,
588,
559,
5335,
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,
3845,
4750,
467,
15696,
5335,
2245,
2083,
12,
8834,
751,
501,
16,
987,
4186,
262,
1216,
6783,
5335,
1388,
503,
95,
202,
202,
430,
12,
4186,
422,
446,
262,
95,
1082,
202,
2463,
446,
31,
202,
202,
97,
9506,
202,
12498,
774,
16895,
12,
501,
16,
4186,
11272,
9506,
202,
474,
818,
1830,
1370,
273,
261,
501,
18,
3977,
422,
446,
262,
692,
374,
294,
501,
18,
3977,
18,
1467,
5621,
202,
202,
474,
818,
31126,
273,
4186,
18,
1467,
5621,
9506,
202,
430,
12,
818,
1830,
1370,
422,
374,
262,
95,
1082,
202,
759,
2135,
1472,
1082,
202,
759,
430,
1915,
353,
1338,
404,
331,
2214,
445,
16,
327,
518,
16,
309,
1898,
2353,
1245,
16,
2
] |
return fatal; }
|
return fatal; }
|
public RubyClass getFatal() { return fatal; }
|
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyExceptions.java/clean/org/jruby/runtime/RubyExceptions.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
797,
2812,
3145,
1435,
288,
202,
202,
2463,
10081,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
797,
2812,
3145,
1435,
288,
202,
202,
2463,
10081,
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
] |
assertEquals( thirdX.getInitializerClause().getAssigmentExpression().getLiteralString(), "2");
|
assertEquals( thirdX.getInitializerClause().getAssigmentExpression().getLiteralString(), "2");
|
public void testScoping() throws Exception { Iterator i = parse( "void foo() { int x = 3; if( x == 1 ) { int x = 4; } else int x = 2; }").getDeclarations(); IASTFunction f = (IASTFunction)i.next(); Iterator subDeclarations = getDeclarations(f); IASTVariable topX = (IASTVariable)subDeclarations.next(); assertEquals( topX.getInitializerClause().getAssigmentExpression().getLiteralString(), "3"); assertEquals( topX.getName(), "x"); assertFalse( subDeclarations.hasNext() ); assertFalse( i.hasNext() ); assertEquals( callback.getReferences().size(), 1 ); assertEquals( ((IASTReference)callback.getReferences().get(0)).getReferencedElement(), topX ); Iterator level1 = getNestedScopes( f ); IASTCodeScope codeScope = (IASTCodeScope)level1.next(); Iterator subSubDeclarations = getDeclarations(codeScope); IASTVariable secondX = (IASTVariable)subSubDeclarations.next(); assertEquals( secondX.getInitializerClause().getAssigmentExpression().getLiteralString(), "4"); codeScope = (IASTCodeScope)level1.next(); assertFalse( level1.hasNext() ); subSubDeclarations = getDeclarations(codeScope); IASTVariable thirdX = (IASTVariable)subSubDeclarations.next(); assertEquals( thirdX.getInitializerClause().getAssigmentExpression().getLiteralString(), "2"); }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/3a6ffef8f855652606f74a14d4b15478c81e5db4/CompleteParseASTTest.java/clean/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/CompleteParseASTTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
1541,
22384,
1435,
1216,
1185,
202,
95,
202,
202,
3198,
277,
273,
1109,
12,
315,
6459,
8431,
1435,
288,
509,
619,
273,
890,
31,
309,
12,
619,
422,
404,
262,
288,
509,
619,
273,
1059,
31,
289,
469,
509,
619,
273,
576,
31,
289,
20387,
588,
21408,
5621,
3196,
202,
45,
9053,
2083,
284,
273,
261,
45,
9053,
2083,
13,
77,
18,
4285,
5621,
3196,
202,
3198,
720,
21408,
273,
9072,
9642,
12,
74,
1769,
202,
202,
45,
9053,
3092,
1760,
60,
273,
261,
45,
9053,
3092,
13,
1717,
21408,
18,
4285,
5621,
202,
202,
11231,
8867,
12,
1760,
60,
18,
588,
14729,
7044,
7675,
588,
2610,
360,
475,
2300,
7675,
588,
6177,
780,
9334,
315,
23,
8863,
202,
202,
11231,
8867,
12,
1760,
60,
18,
17994,
9334,
315,
92,
8863,
202,
202,
11231,
8381,
12,
720,
21408,
18,
5332,
2134,
1435,
11272,
202,
202,
11231,
8381,
12,
277,
18,
5332,
2134,
1435,
11272,
202,
202,
11231,
8867,
12,
1348,
18,
588,
8221,
7675,
1467,
9334,
404,
11272,
202,
202,
11231,
8867,
12,
14015,
45,
9053,
2404,
13,
3394,
18,
588,
8221,
7675,
588,
12,
20,
13,
2934,
588,
22344,
1046,
9334,
1760,
60,
11272,
4697,
202,
3198,
1801,
21,
273,
336,
8649,
12668,
12,
284,
11272,
202,
202,
45,
9053,
1085,
3876,
981,
3876,
273,
261,
45,
9053,
1085,
3876,
13,
2815,
21,
18,
4285,
5621,
202,
202,
3198,
720,
1676,
21408,
273,
9072,
9642,
12,
710,
3876,
1769,
202,
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,
1842,
1541,
22384,
1435,
1216,
1185,
202,
95,
202,
202,
3198,
277,
273,
1109,
12,
315,
6459,
8431,
1435,
288,
509,
619,
273,
890,
31,
309,
12,
619,
422,
404,
262,
288,
509,
619,
273,
1059,
31,
289,
469,
509,
619,
273,
576,
31,
289,
20387,
588,
21408,
5621,
3196,
202,
45,
9053,
2083,
284,
273,
261,
45,
9053,
2083,
13,
77,
18,
4285,
5621,
3196,
202,
3198,
720,
21408,
273,
9072,
9642,
12,
74,
1769,
202,
202,
45,
9053,
3092,
1760,
60,
273,
261,
45,
9053,
3092,
13,
1717,
21408,
18,
4285,
5621,
202,
202,
11231,
8867,
12,
1760,
60,
18,
588,
14729,
7044,
7675,
588,
2610,
360,
475,
2300,
7675,
588,
6177,
780,
2
] |
public static ContainerIndex getInstance(){
|
public static ContainerIndex getInstance() {
|
public static ContainerIndex getInstance(){ return containerIndex; }
|
47052 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47052/fdd24d3598f254c4c069625269d4c994d49d16ac/ContainerIndex.java/clean/openejb2/modules/core/src/java/org/openejb/ContainerIndex.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
4039,
1016,
3694,
1435,
288,
3639,
327,
1478,
1016,
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,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
4039,
1016,
3694,
1435,
288,
3639,
327,
1478,
1016,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public org.quickfix.field.UnderlyingSecurityID getUnderlyingSecurityID() throws FieldNotFound { org.quickfix.field.UnderlyingSecurityID value = new org.quickfix.field.UnderlyingSecurityID();
|
public quickfix.field.UnderlyingSecurityID getUnderlyingSecurityID() throws FieldNotFound { quickfix.field.UnderlyingSecurityID value = new quickfix.field.UnderlyingSecurityID();
|
public org.quickfix.field.UnderlyingSecurityID getUnderlyingSecurityID() throws FieldNotFound { org.quickfix.field.UnderlyingSecurityID value = new org.quickfix.field.UnderlyingSecurityID(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/PositionReport.java/buggy/src/java/src/quickfix/fix44/PositionReport.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4368,
734,
10833,
765,
6291,
4368,
734,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4368,
734,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4368,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4368,
734,
10833,
765,
6291,
4368,
734,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4368,
734,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4368,
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
] |
else
|
} else {
|
public int executeInVM(CommandlineJava commandline) throws BuildException { jdepend.textui.JDepend jdepend; if("xml".equals(format)) jdepend = new jdepend.xmlui.JDepend(); else jdepend = new jdepend.textui.JDepend(); if (getOutputFile() != null) { FileWriter fw; try { fw = new FileWriter(getOutputFile().getPath()); } catch (IOException e) { String msg = "JDepend Failed when creating the output file: " + e.getMessage(); log(msg); throw new BuildException(msg); } jdepend.setWriter(new PrintWriter(fw)); log("Output to be stored in " + getOutputFile().getPath()); } PathTokenizer sourcesPath = new PathTokenizer(getSourcespath().toString()); while (sourcesPath.hasMoreTokens()) { File f = new File(sourcesPath.nextToken()); // not necessary as JDepend would fail, but why loose some time? if (! f.exists() || !f.isDirectory()) { String msg = "\""+ f.getPath() + "\" does not represent a valid directory. JDepend would fail."; log(msg); throw new BuildException(msg); } try { jdepend.addDirectory(f.getPath()); } catch (IOException e) { String msg = "JDepend Failed when adding a source directory: " + e.getMessage(); log(msg); throw new BuildException(msg); } } jdepend.analyze(); return SUCCESS; }
|
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/e3b6d1fe768d87352d3d0348638911045fc4668e/JDependTask.java/buggy/src/main/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
1836,
382,
7397,
12,
2189,
1369,
5852,
28305,
13,
1216,
18463,
288,
3639,
525,
5817,
18,
955,
4881,
18,
46,
4584,
525,
5817,
31,
3639,
309,
2932,
2902,
9654,
14963,
12,
2139,
3719,
5411,
525,
5817,
273,
394,
525,
5817,
18,
2902,
4881,
18,
46,
4584,
5621,
3639,
289,
469,
288,
5411,
525,
5817,
273,
394,
525,
5817,
18,
955,
4881,
18,
46,
4584,
5621,
3639,
309,
261,
588,
1447,
812,
1435,
480,
446,
13,
288,
5411,
24639,
7600,
31,
5411,
775,
288,
7734,
7600,
273,
394,
24639,
12,
588,
1447,
812,
7675,
588,
743,
10663,
5411,
289,
5411,
1044,
261,
14106,
425,
13,
288,
7734,
514,
1234,
273,
315,
46,
4584,
11175,
1347,
4979,
326,
876,
585,
30,
315,
397,
425,
18,
24906,
5621,
7734,
613,
12,
3576,
1769,
7734,
604,
394,
18463,
12,
3576,
1769,
5411,
289,
5411,
525,
5817,
18,
542,
2289,
12,
2704,
14071,
12,
11966,
10019,
5411,
613,
2932,
1447,
358,
506,
4041,
316,
315,
397,
11062,
812,
7675,
588,
743,
10663,
3639,
289,
3639,
2666,
10524,
5550,
743,
273,
394,
2666,
10524,
12,
588,
8628,
803,
7675,
10492,
10663,
3639,
1323,
261,
10141,
743,
18,
5332,
7417,
5157,
10756,
288,
5411,
1387,
284,
273,
394,
1387,
12,
10141,
743,
18,
4285,
1345,
10663,
5411,
368,
486,
4573,
487,
804,
4584,
4102,
2321,
16,
1496,
11598,
28393,
2690,
813,
35,
5411,
309,
16051,
284,
18,
1808,
1435,
747,
401,
74,
18,
291,
2853,
10756,
288,
7734,
514,
1234,
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,
377,
1071,
509,
1836,
382,
7397,
12,
2189,
1369,
5852,
28305,
13,
1216,
18463,
288,
3639,
525,
5817,
18,
955,
4881,
18,
46,
4584,
525,
5817,
31,
3639,
309,
2932,
2902,
9654,
14963,
12,
2139,
3719,
5411,
525,
5817,
273,
394,
525,
5817,
18,
2902,
4881,
18,
46,
4584,
5621,
3639,
289,
469,
288,
5411,
525,
5817,
273,
394,
525,
5817,
18,
955,
4881,
18,
46,
4584,
5621,
3639,
309,
261,
588,
1447,
812,
1435,
480,
446,
13,
288,
5411,
24639,
7600,
31,
5411,
775,
288,
7734,
7600,
273,
394,
24639,
12,
588,
1447,
812,
7675,
588,
743,
10663,
5411,
289,
5411,
1044,
261,
14106,
425,
13,
288,
7734,
514,
1234,
273,
315,
46,
4584,
11175,
1347,
4979,
326,
2
] |
addMethod( getRuby().intern(name), new NodeFactory(getRuby()).newCFunc(method), Constants.NOEX_PRIVATE | Constants.NOEX_CFUNC); }
|
addMethod( getRuby().intern(name), new NodeFactory(getRuby()).newCFunc(method), Constants.NOEX_PRIVATE | Constants.NOEX_CFUNC); }
|
public void definePrivateMethod(String name, RubyCallbackMethod method) { addMethod( getRuby().intern(name), new NodeFactory(getRuby()).newCFunc(method), Constants.NOEX_PRIVATE | Constants.NOEX_CFUNC); }
|
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/buggy/org/jruby/RubyModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
4426,
6014,
1305,
12,
780,
508,
16,
19817,
2428,
1305,
707,
13,
288,
202,
202,
1289,
1305,
12,
1082,
202,
588,
54,
10340,
7675,
267,
798,
12,
529,
3631,
1082,
202,
2704,
2029,
1733,
12,
588,
54,
10340,
1435,
2934,
2704,
39,
2622,
12,
2039,
3631,
1082,
202,
2918,
18,
3417,
2294,
67,
20055,
571,
5245,
18,
3417,
2294,
67,
8955,
21163,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
482,
918,
4426,
6014,
1305,
12,
780,
508,
16,
19817,
2428,
1305,
707,
13,
288,
202,
202,
1289,
1305,
12,
1082,
202,
588,
54,
10340,
7675,
267,
798,
12,
529,
3631,
1082,
202,
2704,
2029,
1733,
12,
588,
54,
10340,
1435,
2934,
2704,
39,
2622,
12,
2039,
3631,
1082,
202,
2918,
18,
3417,
2294,
67,
20055,
571,
5245,
18,
3417,
2294,
67,
8955,
21163,
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
] |
tightMarshalString2(info.getValue(), dataOut, bs);
|
tightMarshalString2(info.getValue(), dataOut, bs);
|
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutputStream dataOut, BooleanStream bs) throws IOException { super.tightMarshal2(wireFormat, o, dataOut, bs); ConnectionId info = (ConnectionId)o; tightMarshalString2(info.getValue(), dataOut, bs); }
|
11783 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11783/cd0fb615deb6accf8dfdc07fbe58b53cf6b972a2/ConnectionIdMarshaller.java/clean/activemq-core/src/main/java/org/apache/activemq/openwire/v1/ConnectionIdMarshaller.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26066,
8105,
22,
12,
3678,
15249,
1630,
6636,
1630,
16,
1033,
320,
16,
28680,
501,
1182,
16,
3411,
1228,
7081,
13,
1216,
1860,
288,
3639,
2240,
18,
88,
750,
8105,
22,
12,
14538,
1630,
16,
320,
16,
501,
1182,
16,
7081,
1769,
3639,
4050,
548,
1123,
273,
261,
1952,
548,
13,
83,
31,
565,
26066,
8105,
780,
22,
12,
1376,
18,
24805,
9334,
501,
1182,
16,
7081,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26066,
8105,
22,
12,
3678,
15249,
1630,
6636,
1630,
16,
1033,
320,
16,
28680,
501,
1182,
16,
3411,
1228,
7081,
13,
1216,
1860,
288,
3639,
2240,
18,
88,
750,
8105,
22,
12,
14538,
1630,
16,
320,
16,
501,
1182,
16,
7081,
1769,
3639,
4050,
548,
1123,
273,
261,
1952,
548,
13,
83,
31,
565,
26066,
8105,
780,
22,
12,
1376,
18,
24805,
9334,
501,
1182,
16,
7081,
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
] |
public org.quickfix.field.RoundingDirection getRoundingDirection() throws FieldNotFound { org.quickfix.field.RoundingDirection value = new org.quickfix.field.RoundingDirection();
|
public quickfix.field.RoundingDirection getRoundingDirection() throws FieldNotFound { quickfix.field.RoundingDirection value = new quickfix.field.RoundingDirection();
|
public org.quickfix.field.RoundingDirection getRoundingDirection() throws FieldNotFound { org.quickfix.field.RoundingDirection value = new org.quickfix.field.RoundingDirection(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/QuoteResponse.java/buggy/src/java/src/quickfix/fix44/QuoteResponse.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
11066,
310,
8212,
4170,
772,
310,
8212,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
11066,
310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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
11066,
310,
8212,
4170,
772,
310,
8212,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
11066,
310,
8212,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
11066,
310,
8212,
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
] |
String name = _name.getLocalPart(); name = name.replace('.', '_'); name = name.replace('-', '_');
|
final String name = getVariable();
|
public void translate(ClassGenerator classGen, MethodGenerator methodGen) { final ConstantPoolGen cpg = classGen.getConstantPool(); final InstructionList il = methodGen.getInstructionList(); String name = _name.getLocalPart(); name = name.replace('.', '_'); name = name.replace('-', '_'); // Make sure that a variable instance is only compiled once if (_compiled) return; _compiled = true; if (isLocal()) { // Push args to call addVariable() if (_escapes) { il.append(classGen.loadTranslet()); il.append(new PUSH(cpg, _stackIndex)); } // Compile variable value computation translateValue(classGen, methodGen); // Dup value only when needed if (_escapes) { il.append(_type.DUP()); } // Add a new local variable and store value if (_refs.isEmpty()) { // Remove it if nobody uses the value il.append(_type.POP()); _local = null; } else { // Store in local var slot if referenced if (_local == null) mapRegister(methodGen); il.append(_type.STORE(_local.getIndex())); } // Store boxed value into the template's variable stack if (_escapes) { _type.translateBox(classGen, methodGen); il.append(new INVOKEVIRTUAL(cpg.addMethodref(TRANSLET_CLASS, ADD_VARIABLE, ADD_VARIABLE_SIG))); } } else { String signature = _type.toSignature(); // Global variables are store in class fields if (classGen.containsField(name) == null) { classGen.addField(new Field(ACC_PUBLIC, cpg.addUtf8(name), cpg.addUtf8(signature), null, cpg.getConstantPool())); // Push a reference to "this" for putfield il.append(classGen.loadTranslet()); // Compile variable value computation translateValue(classGen, methodGen); // Store the variable in the allocated field il.append(new PUTFIELD(cpg.addFieldref(classGen.getClassName(), name, signature))); } } }
|
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/61af9c5713955e954f02a5c7c93ce30b66c3713b/Variable.java/buggy/src/org/apache/xalan/xsltc/compiler/Variable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4204,
12,
797,
3908,
667,
7642,
16,
2985,
3908,
707,
7642,
13,
288,
202,
6385,
10551,
2864,
7642,
3283,
75,
273,
667,
7642,
18,
588,
6902,
2864,
5621,
202,
6385,
24605,
682,
14254,
273,
707,
7642,
18,
588,
11983,
682,
5621,
202,
780,
508,
273,
389,
529,
18,
588,
2042,
1988,
5621,
202,
529,
273,
508,
18,
2079,
2668,
1093,
16,
4427,
1769,
3639,
508,
273,
508,
18,
2079,
2668,
17,
2187,
4427,
1769,
202,
759,
4344,
3071,
716,
279,
2190,
791,
353,
1338,
7743,
3647,
202,
430,
261,
67,
19397,
13,
327,
31,
202,
67,
19397,
273,
638,
31,
202,
430,
261,
291,
2042,
10756,
288,
202,
565,
368,
8547,
833,
358,
745,
527,
3092,
1435,
202,
565,
309,
261,
67,
742,
7315,
13,
288,
202,
202,
330,
18,
6923,
12,
1106,
7642,
18,
945,
1429,
1810,
10663,
202,
202,
330,
18,
6923,
12,
2704,
28591,
12,
4057,
75,
16,
389,
3772,
1016,
10019,
202,
565,
289,
202,
565,
368,
16143,
2190,
460,
16039,
202,
565,
4204,
620,
12,
1106,
7642,
16,
707,
7642,
1769,
202,
565,
368,
463,
416,
460,
1338,
1347,
3577,
202,
565,
309,
261,
67,
742,
7315,
13,
288,
202,
202,
330,
18,
6923,
24899,
723,
18,
30387,
10663,
202,
565,
289,
202,
565,
368,
1436,
279,
394,
1191,
2190,
471,
1707,
460,
202,
565,
309,
261,
67,
9316,
18,
291,
1921,
10756,
288,
368,
3581,
518,
309,
290,
947,
973,
4692,
326,
460,
202,
202,
330,
18,
6923,
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,
4204,
12,
797,
3908,
667,
7642,
16,
2985,
3908,
707,
7642,
13,
288,
202,
6385,
10551,
2864,
7642,
3283,
75,
273,
667,
7642,
18,
588,
6902,
2864,
5621,
202,
6385,
24605,
682,
14254,
273,
707,
7642,
18,
588,
11983,
682,
5621,
202,
780,
508,
273,
389,
529,
18,
588,
2042,
1988,
5621,
202,
529,
273,
508,
18,
2079,
2668,
1093,
16,
4427,
1769,
3639,
508,
273,
508,
18,
2079,
2668,
17,
2187,
4427,
1769,
202,
759,
4344,
3071,
716,
279,
2190,
791,
353,
1338,
7743,
3647,
202,
430,
261,
67,
19397,
13,
327,
31,
202,
67,
19397,
273,
638,
31,
202,
430,
261,
291,
2042,
10756,
288,
202,
565,
368,
8547,
833,
358,
745,
527,
3092,
2
] |
public void renderStatusHTML(OutputStream out) throws IOException {
|
public void renderStatusHTML(Writer out) throws IOException {
|
public void renderStatusHTML(OutputStream out) throws IOException { StringBuffer buf = new StringBuffer(8192); buf.append("<h2>Pending messages</h2>\n"); Map msgs = null; synchronized (_pendingMessages) { msgs = (Map)_pendingMessages.clone(); } buf.append("<ul>"); for (Iterator iter = msgs.keySet().iterator(); iter.hasNext();) { Long exp = (Long)iter.next(); OutNetMessage msg = (OutNetMessage)msgs.get(exp); buf.append("<li>").append(msg.getMessageType()); buf.append(": expiring on ").append(new Date(exp.longValue())); if (msg.getReplySelector() != null) buf.append(" with reply selector ").append(msg.getReplySelector().toString()); else buf.append(" with NO reply selector? WTF!"); buf.append("</li>\n"); } buf.append("</ul>"); out.write(buf.toString().getBytes()); }
|
45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/62ed6c6a58f9adaa081ae5a6cb591d18c6ad4f85/OutboundMessageRegistry.java/clean/router/java/src/net/i2p/router/transport/OutboundMessageRegistry.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1743,
1482,
4870,
12,
2289,
596,
13,
1216,
1860,
288,
3639,
6674,
1681,
273,
394,
6674,
12,
28,
15561,
1769,
3639,
1681,
18,
6923,
2932,
32,
76,
22,
34,
8579,
2743,
1757,
76,
22,
5333,
82,
8863,
3639,
1635,
8733,
273,
446,
31,
3639,
3852,
261,
67,
9561,
5058,
13,
288,
5411,
8733,
273,
261,
863,
13,
67,
9561,
5058,
18,
14056,
5621,
3639,
289,
3639,
1681,
18,
6923,
2932,
32,
332,
2984,
1769,
3639,
364,
261,
3198,
1400,
273,
8733,
18,
856,
694,
7675,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
5411,
3407,
1329,
273,
261,
3708,
13,
2165,
18,
4285,
5621,
5411,
2976,
7308,
1079,
1234,
273,
261,
1182,
7308,
1079,
13,
27439,
18,
588,
12,
2749,
1769,
5411,
1681,
18,
6923,
2932,
32,
549,
2984,
2934,
6923,
12,
3576,
18,
588,
24563,
10663,
5411,
1681,
18,
6923,
2932,
30,
1329,
11256,
603,
315,
2934,
6923,
12,
2704,
2167,
12,
2749,
18,
5748,
620,
1435,
10019,
5411,
309,
261,
3576,
18,
588,
7817,
4320,
1435,
480,
446,
13,
7734,
1681,
18,
6923,
2932,
598,
4332,
3451,
315,
2934,
6923,
12,
3576,
18,
588,
7817,
4320,
7675,
10492,
10663,
5411,
469,
7734,
1681,
18,
6923,
2932,
598,
3741,
4332,
3451,
35,
225,
678,
17963,
4442,
1769,
5411,
1681,
18,
6923,
2932,
1757,
549,
5333,
82,
8863,
3639,
289,
3639,
1681,
18,
6923,
2932,
1757,
332,
2984,
1769,
3639,
596,
18,
2626,
12,
4385,
18,
10492,
7675,
588,
2160,
10663,
565,
289,
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,
1743,
1482,
4870,
12,
2289,
596,
13,
1216,
1860,
288,
3639,
6674,
1681,
273,
394,
6674,
12,
28,
15561,
1769,
3639,
1681,
18,
6923,
2932,
32,
76,
22,
34,
8579,
2743,
1757,
76,
22,
5333,
82,
8863,
3639,
1635,
8733,
273,
446,
31,
3639,
3852,
261,
67,
9561,
5058,
13,
288,
5411,
8733,
273,
261,
863,
13,
67,
9561,
5058,
18,
14056,
5621,
3639,
289,
3639,
1681,
18,
6923,
2932,
32,
332,
2984,
1769,
3639,
364,
261,
3198,
1400,
273,
8733,
18,
856,
694,
7675,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
5411,
3407,
1329,
273,
261,
3708,
13,
2165,
18,
4285,
5621,
5411,
2976,
7308,
1079,
1234,
273,
261,
1182,
7308,
1079,
13,
2
] |
x = (methodId == Id_acos) ? Math.acos(x) : Math.asin(x);
|
x = (f.methodId == Id_acos) ? Math.acos(x) : Math.asin(x);
|
public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { double x; switch (methodId) { case Id_toSource: return "Math"; case Id_abs: x = ScriptRuntime.toNumber(args, 0); // abs(-0.0) should be 0.0, but -0.0 < 0.0 == false x = (x == 0.0) ? 0.0 : (x < 0.0) ? -x : x; break; case Id_acos: case Id_asin: x = ScriptRuntime.toNumber(args, 0); if (x == x && -1.0 <= x && x <= 1.0) { x = (methodId == Id_acos) ? Math.acos(x) : Math.asin(x); } else { x = Double.NaN; } break; case Id_atan: x = ScriptRuntime.toNumber(args, 0); x = Math.atan(x); break; case Id_atan2: x = ScriptRuntime.toNumber(args, 0); x = Math.atan2(x, ScriptRuntime.toNumber(args, 1)); break; case Id_ceil: x = ScriptRuntime.toNumber(args, 0); x = Math.ceil(x); break; case Id_cos: x = ScriptRuntime.toNumber(args, 0); x = (x == Double.POSITIVE_INFINITY || x == Double.NEGATIVE_INFINITY) ? Double.NaN : Math.cos(x); break; case Id_exp: x = ScriptRuntime.toNumber(args, 0); x = (x == Double.POSITIVE_INFINITY) ? x : (x == Double.NEGATIVE_INFINITY) ? 0.0 : Math.exp(x); break; case Id_floor: x = ScriptRuntime.toNumber(args, 0); x = Math.floor(x); break; case Id_log: x = ScriptRuntime.toNumber(args, 0); // Java's log(<0) = -Infinity; we need NaN x = (x < 0) ? Double.NaN : Math.log(x); break; case Id_max: case Id_min: x = (methodId == Id_max) ? Double.NEGATIVE_INFINITY : Double.POSITIVE_INFINITY; for (int i = 0; i != args.length; ++i) { double d = ScriptRuntime.toNumber(args[i]); if (d != d) { x = d; // NaN break; } if (methodId == Id_max) { // if (x < d) x = d; does not work due to -0.0 >= +0.0 x = Math.max(x, d); } else { x = Math.min(x, d); } } break; case Id_pow: x = ScriptRuntime.toNumber(args, 0); x = js_pow(x, ScriptRuntime.toNumber(args, 1)); break; case Id_random: x = Math.random(); break; case Id_round: x = ScriptRuntime.toNumber(args, 0); if (x == x && x != Double.POSITIVE_INFINITY && x != Double.NEGATIVE_INFINITY) { // Round only finite x long l = Math.round(x); if (l != 0) { x = (double)l; } else { // We must propagate the sign of d into the result if (x < 0.0) { x = ScriptRuntime.negativeZero; } else if (x != 0.0) { x = 0.0; } } } break; case Id_sin: x = ScriptRuntime.toNumber(args, 0); x = (x == Double.POSITIVE_INFINITY || x == Double.NEGATIVE_INFINITY) ? Double.NaN : Math.sin(x); break; case Id_sqrt: x = ScriptRuntime.toNumber(args, 0); x = Math.sqrt(x); break; case Id_tan: x = ScriptRuntime.toNumber(args, 0); x = Math.tan(x); break; default: return super.execMethod(methodId, f, cx, scope, thisObj, args); } return wrap_double(x); }
|
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/3526c0f6981dc6716171a07605c6bcc7b6b20cb3/NativeMath.java/buggy/src/org/mozilla/javascript/NativeMath.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
1645,
619,
31,
3639,
1620,
261,
2039,
548,
13,
288,
5411,
648,
3124,
67,
869,
1830,
30,
7734,
327,
315,
10477,
14432,
5411,
648,
3124,
67,
5113,
30,
7734,
619,
273,
7739,
5576,
18,
869,
1854,
12,
1968,
16,
374,
1769,
7734,
368,
2417,
19236,
20,
18,
20,
13,
1410,
506,
374,
18,
20,
16,
1496,
300,
20,
18,
20,
411,
374,
18,
20,
422,
629,
7734,
619,
273,
261,
92,
422,
374,
18,
20,
13,
692,
374,
18,
20,
294,
261,
92,
411,
374,
18,
20,
13,
692,
300,
92,
294,
619,
31,
7734,
898,
31,
5411,
648,
3124,
67,
1077,
538,
30,
5411,
648,
3124,
67,
345,
267,
30,
7734,
619,
273,
7739,
5576,
18,
869,
1854,
12,
1968,
16,
374,
1769,
7734,
309,
261,
92,
422,
619,
597,
300,
21,
18,
20,
1648,
619,
597,
619,
1648,
404,
18,
20,
13,
288,
10792,
619,
273,
261,
74,
18,
2039,
548,
422,
3124,
67,
1077,
538,
13,
692,
2361,
18,
1077,
538,
12,
92,
13,
294,
2361,
18,
345,
267,
12,
92,
1769,
7734,
289,
469,
288,
10792,
619,
273,
3698,
18,
21172,
31,
7734,
289,
7734,
898,
31,
5411,
648,
3124,
67,
270,
304,
30,
7734,
619,
273,
7739,
5576,
18,
869,
1854,
12,
1968,
16,
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,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
1645,
619,
31,
3639,
1620,
261,
2039,
548,
13,
288,
5411,
648,
3124,
67,
869,
1830,
30,
7734,
327,
315,
10477,
14432,
5411,
648,
3124,
67,
5113,
30,
7734,
619,
273,
7739,
5576,
18,
869,
1854,
12,
1968,
16,
374,
1769,
7734,
368,
2417,
19236,
20,
18,
20,
13,
1410,
506,
374,
18,
20,
16,
1496,
300,
20,
18,
20,
411,
374,
18,
20,
422,
629,
7734,
619,
273,
261,
92,
422,
374,
18,
20,
13,
692,
374,
18,
20,
294,
261,
92,
2
] |
public void treeStructureChanged(TreeModelEvent ev) { // set state of new path TreePath path = ev.getTreePath(); setExpandedState(path, isExpanded(path)); }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2151,
6999,
5033,
12,
2471,
1488,
1133,
2113,
13,
565,
288,
1377,
368,
444,
919,
434,
394,
589,
1377,
4902,
743,
589,
273,
2113,
18,
588,
2471,
743,
5621,
1377,
444,
17957,
1119,
12,
803,
16,
353,
17957,
12,
803,
10019,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2151,
6999,
5033,
12,
2471,
1488,
1133,
2113,
13,
565,
288,
1377,
368,
444,
919,
434,
394,
589,
1377,
4902,
743,
589,
273,
2113,
18,
588,
2471,
743,
5621,
1377,
444,
17957,
1119,
12,
803,
16,
353,
17957,
12,
803,
10019,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
throw Context.reportRuntimeError(Context.getMessage ("msg.arraylength.bad", null));
|
throw Context.reportRuntimeError0("msg.arraylength.bad");
|
public static Object jsConstructor(Context cx, Object[] args, Function ctorObj, boolean inNewExpr) throws JavaScriptException { if (!inNewExpr) { // FunctionObject.construct will set up parent, proto return ctorObj.construct(cx, ctorObj.getParentScope(), args); } if (args.length == 0) return new NativeArray(); // Only use 1 arg as first element for version 1.2; for // any other version (including 1.3) follow ECMA and use it as // a length. if (cx.getLanguageVersion() == cx.VERSION_1_2) { return new NativeArray(args); } else { if ((args.length > 1) || (!(args[0] instanceof Number))) return new NativeArray(args); else { long len = ScriptRuntime.toUint32(args[0]); if (len != (((Number)(args[0])).doubleValue())) throw Context.reportRuntimeError(Context.getMessage ("msg.arraylength.bad", null)); return new NativeArray(len); } } }
|
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/e737c6d867e82d4ba7fd00e7e388c9c8da824ff0/NativeArray.java/buggy/js/rhino/org/mozilla/javascript/NativeArray.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
3828,
6293,
12,
1042,
9494,
16,
1033,
8526,
833,
16,
4766,
3639,
4284,
15120,
2675,
16,
1250,
316,
1908,
4742,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
16051,
267,
1908,
4742,
13,
288,
5411,
368,
4284,
921,
18,
10062,
903,
444,
731,
982,
16,
3760,
5411,
327,
15120,
2675,
18,
10062,
12,
71,
92,
16,
15120,
2675,
18,
588,
3054,
3876,
9334,
833,
1769,
3639,
289,
3639,
309,
261,
1968,
18,
2469,
422,
374,
13,
5411,
327,
394,
16717,
1076,
5621,
3639,
368,
5098,
999,
404,
1501,
487,
1122,
930,
364,
1177,
404,
18,
22,
31,
364,
3639,
368,
1281,
1308,
1177,
261,
31348,
404,
18,
23,
13,
2805,
7773,
5535,
471,
999,
518,
487,
3639,
368,
279,
769,
18,
3639,
309,
261,
71,
92,
18,
588,
3779,
1444,
1435,
422,
9494,
18,
5757,
67,
21,
67,
22,
13,
288,
5411,
327,
394,
16717,
1076,
12,
1968,
1769,
3639,
289,
3639,
469,
288,
5411,
309,
14015,
1968,
18,
2469,
405,
404,
13,
747,
16051,
12,
1968,
63,
20,
65,
1276,
3588,
20349,
7734,
327,
394,
16717,
1076,
12,
1968,
1769,
5411,
469,
288,
7734,
1525,
562,
273,
7739,
5576,
18,
869,
5487,
1578,
12,
1968,
63,
20,
19226,
7734,
309,
261,
1897,
480,
261,
12443,
1854,
21433,
1968,
63,
20,
5717,
2934,
9056,
620,
1435,
3719,
10792,
604,
1772,
18,
6006,
5576,
668,
12,
1042,
18,
24906,
19694,
7566,
3576,
18,
1126,
2469,
18,
8759,
3113,
446,
10019,
7734,
327,
394,
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,
1033,
3828,
6293,
12,
1042,
9494,
16,
1033,
8526,
833,
16,
4766,
3639,
4284,
15120,
2675,
16,
1250,
316,
1908,
4742,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
16051,
267,
1908,
4742,
13,
288,
5411,
368,
4284,
921,
18,
10062,
903,
444,
731,
982,
16,
3760,
5411,
327,
15120,
2675,
18,
10062,
12,
71,
92,
16,
15120,
2675,
18,
588,
3054,
3876,
9334,
833,
1769,
3639,
289,
3639,
309,
261,
1968,
18,
2469,
422,
374,
13,
5411,
327,
394,
16717,
1076,
5621,
3639,
368,
5098,
999,
404,
1501,
487,
1122,
930,
364,
1177,
404,
18,
22,
31,
364,
3639,
368,
1281,
1308,
1177,
261,
31348,
404,
18,
23,
13,
2805,
7773,
5535,
471,
999,
2
] |
Asserts.isTrue(minimum >= 0);
|
assert minimum >= 0;
|
public static Arity required(int minimum) { Asserts.isTrue(minimum >= 0); return createArity(-(1 + minimum)); }
|
45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/b72a2862ae5b2f01f9a767ef2ce248fd785857c4/Arity.java/clean/src/org/jruby/runtime/Arity.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1201,
560,
1931,
12,
474,
5224,
13,
288,
3639,
1815,
5224,
1545,
374,
31,
3639,
327,
752,
686,
560,
19236,
12,
21,
397,
5224,
10019,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1201,
560,
1931,
12,
474,
5224,
13,
288,
3639,
1815,
5224,
1545,
374,
31,
3639,
327,
752,
686,
560,
19236,
12,
21,
397,
5224,
10019,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 connect(SocketAddress address) throws IOException { if (isClosed()) throw new SocketException("Socket is closed"); if (address == null) throw new IllegalArgumentException(); if (address instanceof InetSocketAddress) { InetSocketAddress inetaddress = (InetSocketAddress)address; connect(inetaddress.getAddress(), inetaddress.getPort(), true, null, 0, -1); } else throw new IllegalArgumentException(); }
|
public void connect (SocketAddress endpoint) throws IOException { connect (endpoint, 0); }
|
public void connect(SocketAddress address) throws IOException { if (isClosed()) throw new SocketException("Socket is closed"); if (address == null) throw new IllegalArgumentException(); if (address instanceof InetSocketAddress) { InetSocketAddress inetaddress = (InetSocketAddress)address; connect(inetaddress.getAddress(), inetaddress.getPort(), true, null, 0, -1); } else throw new IllegalArgumentException();}
|
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/af503bb72418d994f4439910bc3989d556fcdbd5/Socket.java/clean/libraries/javalib/java/net/Socket.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
3077,
12,
15520,
1758,
13,
1216,
1860,
288,
565,
309,
261,
291,
7395,
10756,
202,
12849,
394,
8758,
503,
2932,
4534,
353,
4375,
8863,
565,
309,
261,
2867,
422,
446,
13,
202,
12849,
394,
2754,
5621,
565,
309,
261,
2867,
1276,
17943,
13,
288,
202,
382,
278,
15520,
316,
1167,
72,
663,
273,
261,
382,
278,
15520,
13,
2867,
31,
202,
3612,
12,
267,
1167,
72,
663,
18,
588,
1887,
9334,
316,
1167,
72,
663,
18,
588,
2617,
9334,
638,
16,
202,
202,
2011,
16,
374,
16,
300,
21,
1769,
565,
289,
469,
202,
12849,
394,
2754,
5621,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
3077,
12,
15520,
1758,
13,
1216,
1860,
288,
565,
309,
261,
291,
7395,
10756,
202,
12849,
394,
8758,
503,
2932,
4534,
353,
4375,
8863,
565,
309,
261,
2867,
422,
446,
13,
202,
12849,
394,
2754,
5621,
565,
309,
261,
2867,
1276,
17943,
13,
288,
202,
382,
278,
15520,
316,
1167,
72,
663,
273,
261,
382,
278,
15520,
13,
2867,
31,
202,
3612,
12,
267,
1167,
72,
663,
18,
588,
1887,
9334,
316,
1167,
72,
663,
18,
588,
2617,
9334,
638,
16,
202,
202,
2011,
16,
374,
16,
300,
21,
1769,
565,
289,
469,
202,
12849,
394,
2754,
5621,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return match.getParentName();
|
return match.getParentName() + "::" + match.getName() + " - " + match.getLocation();
|
public Object computeGroupByKey(IMarker marker) { if( marker == null ){ return null; } IMatch match = null; try { match = (IMatch) marker.getAttribute(CSearchResultCollector.IMATCH); } catch (CoreException e) { } return match.getParentName(); }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/ceca2f6558f0b31f31ddb1c7b7bc36bef7f161a8/GroupByKeyComputer.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/search/GroupByKeyComputer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
3671,
1114,
14560,
12,
3445,
1313,
264,
5373,
13,
288,
202,
202,
430,
12,
5373,
422,
446,
262,
95,
1082,
202,
2463,
446,
31,
202,
202,
97,
9506,
202,
45,
2060,
845,
273,
446,
31,
9506,
202,
698,
288,
1082,
202,
1916,
273,
261,
45,
2060,
13,
5373,
18,
588,
1499,
12,
39,
24916,
7134,
18,
3445,
5858,
1769,
202,
202,
97,
1044,
261,
25341,
425,
13,
288,
202,
202,
97,
9506,
202,
2463,
845,
18,
588,
3054,
461,
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,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
3671,
1114,
14560,
12,
3445,
1313,
264,
5373,
13,
288,
202,
202,
430,
12,
5373,
422,
446,
262,
95,
1082,
202,
2463,
446,
31,
202,
202,
97,
9506,
202,
45,
2060,
845,
273,
446,
31,
9506,
202,
698,
288,
1082,
202,
1916,
273,
261,
45,
2060,
13,
5373,
18,
588,
1499,
12,
39,
24916,
7134,
18,
3445,
5858,
1769,
202,
202,
97,
1044,
261,
25341,
425,
13,
288,
202,
202,
97,
9506,
202,
2463,
845,
18,
588,
3054,
461,
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
] |
public int gcHeaderBits() { return CopySpace.LOCAL_GC_BITS_REQUIRED; }
|
public int gcHeaderBits() { return CopySpace.LOCAL_GC_BITS_REQUIRED; }
|
public int gcHeaderBits() { return CopySpace.LOCAL_GC_BITS_REQUIRED; }
|
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/4c66aa27cec27f8dd5902baec018ff86d7f49ee2/SSConstraints.java/buggy/MMTk/src/org/mmtk/plan/semispace/SSConstraints.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
8859,
1864,
6495,
1435,
288,
327,
5631,
3819,
18,
14922,
67,
15396,
67,
25171,
67,
14977,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
509,
8859,
1864,
6495,
1435,
288,
327,
5631,
3819,
18,
14922,
67,
15396,
67,
25171,
67,
14977,
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,
-100
] |
lineCounter++;
|
void showCacheData() throws IOException { writeStyleSheet(); PrintWriter out = null; String lastChainName = ""; int lineCounter = 1; for (Iterator it = contextCache.keySet().iterator(); it.hasNext();) { ElementChain stack = (ElementChain) it.next(); String chainName = getChainName(stack); if (!chainName.equals(lastChainName)) { if (out != null) { out.println("</table>"); writeFooterAndClose(out); } allTypes.add(chainName); // add to the list out = openAndDoHeader(chainName); lastChainName = chainName; lineCounter = 1; } String key = stack.toString(true, 1); // strip /ldml@version="1.2"/; out.println("<tr><td colspan='2' class='head'>" + "<a href='#" + lineCounter + "' name='" + lineCounter + "'>" + lineCounter + "</a> " + BagFormatter.toHTML.transliterate(key) + "</td></tr>"); lineCounter++; Map dataToFile = (Map) contextCache.get(stack); // walk through once, and gather all the filenames Set remainingFiles = new TreeSet(fileNames); for (Iterator it2 = dataToFile.keySet().iterator(); it2.hasNext();) { Object data = it2.next(); remainingFiles.removeAll((Set) dataToFile.get(data)); } // hack for zh_Hant if (!remainingFiles.contains("zh")) remainingFiles.remove("zh_Hant"); // now display for (Iterator it2 = dataToFile.keySet().iterator(); it2.hasNext();) { EndNode data = (EndNode) it2.next(); String dataStyle = ""; Set files = (Set) dataToFile.get(data); if (files.contains("root")) { files.addAll(remainingFiles); dataStyle = " class='nodata'"; } out.print("<tr><th" + dataStyle + ">\"" + data + "\"</th><td>"); boolean first = true; for (Iterator it3 = files.iterator(); it3.hasNext();) { if (first) first = false; else out.print(" "); String localeID = (String)it3.next(); boolean emphasize = localeID.equals("root") || localeID.indexOf('_') >= 0; if (emphasize) out.print("<b>"); out.print("\u00B7" + localeID + "\u00B7"); if (emphasize) out.print("</b>"); } out.println("</td></tr>"); } } if(out==null) { System.err.println("Out = null?"); } else { out.println("</table>"); writeFooterAndClose(out); out.close(); } writeIndex(); tripleData.writeData(); }
|
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/0a3710fa7a2f36b8fabfad37f7c25e6054e186d8/GenerateSidewaysView.java/clean/icu4j/src/com/ibm/icu/dev/tool/cldr/GenerateSidewaysView.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
918,
2405,
1649,
751,
1435,
1216,
1860,
288,
5411,
1045,
2885,
8229,
5621,
5411,
14071,
596,
273,
446,
31,
5411,
514,
1142,
3893,
461,
273,
1408,
31,
5411,
509,
980,
4789,
273,
404,
31,
5411,
364,
261,
3198,
518,
273,
819,
1649,
18,
856,
694,
7675,
9838,
5621,
518,
18,
5332,
2134,
5621,
13,
288,
7734,
3010,
3893,
2110,
273,
261,
1046,
3893,
13,
518,
18,
4285,
5621,
7734,
514,
2687,
461,
273,
30170,
461,
12,
3772,
1769,
7734,
309,
16051,
5639,
461,
18,
14963,
12,
2722,
3893,
461,
3719,
288,
10792,
309,
261,
659,
480,
446,
13,
288,
13491,
596,
18,
8222,
2932,
1757,
2121,
2984,
1769,
13491,
1045,
13787,
1876,
4605,
12,
659,
1769,
10792,
289,
10792,
777,
2016,
18,
1289,
12,
5639,
461,
1769,
368,
527,
358,
326,
666,
1171,
202,
659,
273,
1696,
1876,
3244,
1864,
12,
5639,
461,
1769,
10792,
1142,
3893,
461,
273,
2687,
461,
31,
10792,
980,
4789,
273,
404,
31,
7734,
289,
7734,
514,
498,
273,
2110,
18,
10492,
12,
3767,
16,
404,
1769,
7734,
368,
2569,
565,
342,
1236,
781,
36,
1589,
1546,
21,
18,
22,
6,
19,
31,
27573,
596,
18,
8222,
2932,
32,
313,
4438,
4465,
20856,
2218,
22,
11,
667,
2218,
1978,
28533,
397,
7682,
3532,
69,
3897,
2218,
17133,
397,
980,
4789,
397,
2491,
508,
13396,
397,
980,
4789,
397,
2491,
2984,
7682,
397,
980,
4789,
397,
6823,
69,
22393,
10600,
4868,
397,
7682,
31711,
5074,
18,
869,
4870,
18,
5379,
18793,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
918,
2405,
1649,
751,
1435,
1216,
1860,
288,
5411,
1045,
2885,
8229,
5621,
5411,
14071,
596,
273,
446,
31,
5411,
514,
1142,
3893,
461,
273,
1408,
31,
5411,
509,
980,
4789,
273,
404,
31,
5411,
364,
261,
3198,
518,
273,
819,
1649,
18,
856,
694,
7675,
9838,
5621,
518,
18,
5332,
2134,
5621,
13,
288,
7734,
3010,
3893,
2110,
273,
261,
1046,
3893,
13,
518,
18,
4285,
5621,
7734,
514,
2687,
461,
273,
30170,
461,
12,
3772,
1769,
7734,
309,
16051,
5639,
461,
18,
14963,
12,
2722,
3893,
461,
3719,
288,
10792,
309,
261,
659,
480,
446,
13,
288,
13491,
596,
18,
8222,
2932,
1757,
2121,
2984,
1769,
13491,
1045,
13787,
1876,
4605,
12,
659,
1769,
10792,
289,
2
] |
|
if(channelid==null || channelid.trim().equals("")){ channelid="-1"; } if(resourceid==null || resourceid.trim().equals("")){ resourceid="-1";
|
if(channelId==null || channelId.trim().equals("")){ channelId="-1"; } if(resourceId==null || resourceId.trim().equals("")){ resourceId=nullUUIDStr;
|
public byte[] getContentEdit(CmsObject cms, CmsXmlWpTemplateFile template, String elementName, Hashtable parameters, String templateSelector) throws CmsException { //get the Languagedata CmsXmlLanguageFile lang = new CmsXmlLanguageFile(cms); //create appropriate class name with underscores for labels String moduleName = ""; moduleName = (String) getClass().toString(); //get name moduleName = moduleName.substring(5); //remove 'class' substring at the beginning moduleName = moduleName.trim(); moduleName = moduleName.replace('.', '_'); //replace dots with underscores //session I_CmsSession session = cms.getRequestContext().getSession(true); //default error String error=""; //get values of all fields //gets the parameter action from the hashtable. String action = (String) parameters.get("action"); if (action == null){ action=""; } else if (action.equals("exit")){ clearSession(session); templateSelector= "done"; return startProcessing(cms, template, "", parameters, templateSelector); } // Get the parameter values //get value of id String id = (String) parameters.get("id"); String channelid = (String) parameters.get("channelId"); String resourceid = (String) parameters.get("resourceid"); //get value of parentId String parentName = (String) parameters.get("parentName"); if(parentName == null || parentName.equals("")){ parentName="/"; } //channelname String channelname = (String) parameters.get("channelName"); if(channelname == null){ channelname = ""; } //plausibility check if(!action.equals("") && channelname.trim().equals("")){ error = lang.getLanguageValue(moduleName+".error.message2"); } //title of channel String title = (String) parameters.get("title"); String owner=(String) parameters.get("owner"); owner=(owner!=null?owner.trim():""); String group=(String) parameters.get("groupId"); group=(group!=null?group.trim():""); int accessFlags = this.getAccessValue(parameters); //new channel if (id == null || id.equals("")){ id = "new"; } if(channelid==null || channelid.trim().equals("")){ channelid="-1"; } if(resourceid==null || resourceid.trim().equals("")){ resourceid="-1"; } if(id.equals("new")){ if(resourceid.equals("-1")){ cd=null; }else{ id=resourceid; } } // for the first call check if the id exist, i.e. if the category is to edit // and it is not created new one then read the information of category if (action.equals("") && !id.equals("new")) { try { Integer.parseInt(id); } catch (Exception err) { throw new CmsException(err.getMessage()); } // gets the already existing ouputchannel's content definition. cd = new CmsChannelContent(cms,new CmsUUID(id)); parentName=cd.getParentName(); idvalue=cd.getChannelId(); resid=""+cd.getId(); channelname=cd.getChannelName(); title=cd.getTitle(); owner=cd.getOwner().toString(); group=cd.getGroupId().toString(); accessFlags=cd.getAccessFlags(); }else if(cd==null){ //create a new ouputchannels content definition. cd = new CmsChannelContent(cms); idvalue=C_UNKNOWN_ID+""; resid=C_UNKNOWN_ID+""; } //put parentId in session for user method session.putValue("parentName",parentName); session.putValue("id",resid+""); //set data in CD when data is correct if(error.equals("") && !action.equals("")) { cd.setChannelId(idvalue); cd.setParentName(parentName); cd.setChannelName(channelname); cd.setTitle(title); cd.setGroup(new CmsUUID(group)); cd.setOwner(new CmsUUID(owner)); cd.setAccessFlags(accessFlags); } //get values of the user for new entry String defaultGroup=cms.getRequestContext().currentGroup().getName(); String defaultUser=cms.getRequestContext().currentUser().getName(); //get all groups Vector cmsGroups=cms.getGroups(); // select box of group String groupOptions=""; for (int i=0; i<cmsGroups.size(); i++) { String groupName=((CmsGroup)cmsGroups.elementAt(i)).getName(); CmsUUID groupId=((CmsGroup)cmsGroups.elementAt(i)).getId(); template.setData("name",groupName); template.setData("value",groupId.toString()); if (!group.equals("") && (cms.readGroup(new CmsUUID(group)).getName()).equals(groupName)) { template.setData("check","selected"); }else if(idvalue.equals(C_UNKNOWN_ID+"") && groupName.equals(defaultGroup)){ template.setData("check","selected"); }else{ template.setData("check",""); } groupOptions=groupOptions+template.getProcessedDataValue("selectoption",this); } template.setData("groups",groupOptions); // select box of owner String userOptions=""; Vector cmsUsers=cms.getUsers(); for (int i=0;i<cmsUsers.size();i++) { String userName=((CmsUser)cmsUsers.elementAt(i)).getName(); CmsUUID userId=((CmsUser)cmsUsers.elementAt(i)).getId(); template.setData("name",userName); template.setData("value",userId.toString()); if (!owner.equals("") && (cms.readUser(new CmsUUID(owner)).getName()).equals(userName)) { template.setData("check","selected"); }else if(idvalue.equals(C_UNKNOWN_ID+"") && userName.equals(defaultUser)){ template.setData("check","selected"); }else{ template.setData("check",""); } userOptions=userOptions+template.getProcessedDataValue("selectoption",this); } template.setData("users",userOptions); // set the access flags this.setAccessValue(template, cd.getAccessFlags()); //set data in template template.setData("channelId", ""+cd.getChannelId()); template.setData("resourceid", ""+cd.getId()); template.setData("channelName", cd.getChannelName()); template.setData("title", Encoder.escape(cd.getTitle(), cms.getRequestContext().getEncoding())); template.setData("parentName", cd.getParentName()); template.setData("error", error); //if the saveexit-button has been clicked. if(action.equals("saveexit") && error.equals("")){ try{ cd.setChannelId(channelid); //write/save cd.write(cms); //exit clearSession(session); templateSelector = "done"; return startProcessing(cms, template, "", parameters, templateSelector); }catch (CmsException exc){ template.setData("channelId", channelid); template.setData("resourceid", ""+cd.getId()); template.setData("channelName", channelname); template.setData("title", Encoder.escape(title, cms.getRequestContext().getEncoding())); template.setData("parentName", parentName); error = lang.getLanguageValue(moduleName+".error.message3")+" "+exc.getShortException(); template.setData("error", error); //log exc.printStackTrace(System.err); }catch (Exception e){ template.setData("channelId", channelid); template.setData("resourceid", ""+cd.getId()); template.setData("channelName", channelname); template.setData("title", Encoder.escape(title, cms.getRequestContext().getEncoding())); template.setData("parentName", parentName); error = lang.getLanguageValue(moduleName+".error.message3")+" "+e.getMessage(); template.setData("error", error); //log e.printStackTrace(System.err); } } //if the "save"-button has been clicked. if(action.equals("save") && error.equals("")){ try{ cd.setChannelId(channelid); //write cd.write(cms); idvalue=cd.getChannelId(); template.setData("channelId", channelid); template.setData("resourceid", ""+cd.getId()); //indicator for saved new entrys - the new id template.setData("newChannelId", idvalue); }catch (CmsException exc){ template.setData("channelId", channelid); template.setData("resourceid", ""+cd.getId()); template.setData("channelName", channelname); template.setData("title", Encoder.escape(title, cms.getRequestContext().getEncoding())); template.setData("parentName", parentName); error = lang.getLanguageValue(moduleName+".error.message3")+" "+exc.getShortException(); template.setData("error", error); //log exc.printStackTrace(System.err); }catch (Exception e){ e.printStackTrace(System.err); template.setData("channelId", channelid); template.setData("resourceid", ""+cd.getId()); template.setData("channelName", channelname); template.setData("title", Encoder.escape(title, cms.getRequestContext().getEncoding())); template.setData("parentName", parentName); error = lang.getLanguageValue(moduleName+".error.message3")+" "+e.getMessage(); template.setData("error", error); } } //finally start the processing return startProcessing(cms, template, elementName, parameters, templateSelector); }
|
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/02e8d5ae9a306d7ef68522073d5b20f3d55d68f5/CmsChannelBackoffice.java/buggy/src/com/opencms/defaults/master/CmsChannelBackoffice.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1160,
8526,
5154,
4666,
12,
4747,
921,
6166,
16,
16084,
59,
84,
2283,
812,
1542,
16,
514,
14453,
16,
11794,
18559,
1472,
16,
514,
1542,
4320,
13,
1216,
11228,
288,
3639,
368,
588,
326,
511,
1563,
11349,
396,
3639,
16084,
3779,
812,
3303,
273,
394,
16084,
3779,
812,
12,
6851,
1769,
3639,
368,
2640,
5505,
667,
508,
598,
24714,
364,
3249,
3639,
514,
9780,
273,
1408,
31,
3639,
9780,
273,
261,
780,
13,
2900,
7675,
10492,
5621,
368,
588,
508,
3639,
9780,
273,
9780,
18,
28023,
12,
25,
1769,
368,
4479,
296,
1106,
11,
3019,
622,
326,
8435,
3639,
9780,
273,
9780,
18,
5290,
5621,
3639,
9780,
273,
9780,
18,
2079,
2668,
1093,
16,
4427,
1769,
368,
2079,
19522,
598,
24714,
3639,
368,
3184,
3639,
467,
67,
4747,
2157,
1339,
273,
6166,
18,
588,
21426,
7675,
588,
2157,
12,
3767,
1769,
3639,
368,
1886,
555,
3639,
514,
555,
1546,
14432,
3639,
368,
588,
924,
434,
777,
1466,
3639,
368,
14665,
326,
1569,
1301,
628,
326,
711,
14544,
18,
3639,
514,
1301,
273,
261,
780,
13,
1472,
18,
588,
2932,
1128,
8863,
3639,
309,
261,
1128,
422,
446,
15329,
5411,
1301,
1546,
14432,
3639,
289,
469,
309,
261,
1128,
18,
14963,
2932,
8593,
6,
3719,
95,
5411,
2424,
2157,
12,
3184,
1769,
5411,
1542,
4320,
33,
315,
8734,
14432,
5411,
327,
787,
7798,
12,
6851,
16,
1542,
16,
23453,
1472,
16,
1542,
4320,
1769,
3639,
289,
3639,
368,
968,
326,
1569,
924,
3639,
368,
588,
460,
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,
1160,
8526,
5154,
4666,
12,
4747,
921,
6166,
16,
16084,
59,
84,
2283,
812,
1542,
16,
514,
14453,
16,
11794,
18559,
1472,
16,
514,
1542,
4320,
13,
1216,
11228,
288,
3639,
368,
588,
326,
511,
1563,
11349,
396,
3639,
16084,
3779,
812,
3303,
273,
394,
16084,
3779,
812,
12,
6851,
1769,
3639,
368,
2640,
5505,
667,
508,
598,
24714,
364,
3249,
3639,
514,
9780,
273,
1408,
31,
3639,
9780,
273,
261,
780,
13,
2900,
7675,
10492,
5621,
368,
588,
508,
3639,
9780,
273,
9780,
18,
28023,
12,
25,
1769,
368,
4479,
296,
1106,
11,
3019,
622,
326,
8435,
3639,
9780,
273,
9780,
18,
5290,
5621,
3639,
9780,
273,
9780,
18,
2079,
2668,
1093,
16,
4427,
1769,
368,
2
] |
while (parent != null) { if (parent.exists()) { return resource.getWorkspace().getRuleFactory().createRule(resource);
|
while (parent != null) { if (parent.exists()) { return resource.getWorkspace().getRuleFactory().createRule( resource);
|
protected ISchedulingRule createRule(IResource resource) { IResource parent = resource.getParent(); while (parent != null) { if (parent.exists()) { return resource.getWorkspace().getRuleFactory().createRule(resource); } resource = parent; parent = parent.getParent(); } return resource.getWorkspace().getRoot(); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/6acf364392177fabaa2905c86fa45a3dac0a3db3/WizardNewFileCreationPage.java/buggy/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardNewFileCreationPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
4437,
13252,
2175,
752,
2175,
12,
45,
1420,
1058,
13,
288,
202,
202,
45,
1420,
982,
273,
1058,
18,
588,
3054,
5621,
377,
202,
17523,
261,
2938,
480,
446,
13,
288,
377,
202,
202,
430,
261,
2938,
18,
1808,
10756,
288,
9506,
202,
2463,
1058,
18,
588,
8241,
7675,
588,
2175,
1733,
7675,
2640,
2175,
12,
3146,
1769,
1082,
202,
97,
377,
202,
202,
3146,
273,
982,
31,
377,
202,
202,
2938,
273,
982,
18,
588,
3054,
5621,
377,
202,
97,
202,
202,
2463,
1058,
18,
588,
8241,
7675,
588,
2375,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
4437,
13252,
2175,
752,
2175,
12,
45,
1420,
1058,
13,
288,
202,
202,
45,
1420,
982,
273,
1058,
18,
588,
3054,
5621,
377,
202,
17523,
261,
2938,
480,
446,
13,
288,
377,
202,
202,
430,
261,
2938,
18,
1808,
10756,
288,
9506,
202,
2463,
1058,
18,
588,
8241,
7675,
588,
2175,
1733,
7675,
2640,
2175,
12,
3146,
1769,
1082,
202,
97,
377,
202,
202,
3146,
273,
982,
31,
377,
202,
202,
2938,
273,
982,
18,
588,
3054,
5621,
377,
202,
97,
202,
202,
2463,
1058,
18,
588,
8241,
7675,
588,
2375,
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
] |
int[] cellIndex = new int[1]; Element row = elem("row", parent); buildCells(row, cellIndex, false); }
|
int[] cellIndex = new int[1]; Element row = elem("row", parent); buildCells(row, cellIndex, false); }
|
private void buildRows1Dim(Element parent) { int[] cellIndex = new int[1]; Element row = elem("row", parent); buildCells(row, cellIndex, false); }
|
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/b5b5168edc3af09cb74945a80b0c36e6630ed502/DOMBuilder.java/buggy/src/main/mondrian/web/taglib/DOMBuilder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1361,
4300,
21,
5225,
12,
1046,
982,
13,
288,
202,
202,
474,
8526,
2484,
1016,
273,
394,
509,
63,
21,
15533,
202,
202,
1046,
1027,
273,
3659,
2932,
492,
3113,
982,
1769,
202,
202,
3510,
10505,
12,
492,
16,
2484,
1016,
16,
629,
1769,
202,
97,
2,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1361,
4300,
21,
5225,
12,
1046,
982,
13,
288,
202,
202,
474,
8526,
2484,
1016,
273,
394,
509,
63,
21,
15533,
202,
202,
1046,
1027,
273,
3659,
2932,
492,
3113,
982,
1769,
202,
202,
3510,
10505,
12,
492,
16,
2484,
1016,
16,
629,
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
] |
if (fDTDEventHandler != null) { int mapping = fDTDEventHandler.addContentSpecNode(nodeType, nodeValue); int chunk = contentSpecIndex >> CHUNK_SHIFT; int index = contentSpecIndex & CHUNK_MASK; ensureContentSpecCapacity(chunk); fContentSpecMap[chunk][index] = mapping; }
|
public int addContentSpecNode(int nodeType, int nodeValue) throws Exception { // create content spec node int contentSpecIndex = createContentSpec(); // set content spec node values fContentSpec.setValues(nodeType, nodeValue, -1); setContentSpec(contentSpecIndex, fContentSpec); // pass-through, saving mapping if (fDTDEventHandler != null) { int mapping = fDTDEventHandler.addContentSpecNode(nodeType, nodeValue); int chunk = contentSpecIndex >> CHUNK_SHIFT; int index = contentSpecIndex & CHUNK_MASK; ensureContentSpecCapacity(chunk); fContentSpecMap[chunk][index] = mapping; } // return index return contentSpecIndex; } // addContentSpecNode(int,int):int
|
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/3bbd83a7bcddbc34357f71fe08eace8d74b9bc8f/DTDGrammar.java/clean/src/org/apache/xerces/validators/dtd/DTDGrammar.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
11170,
1990,
907,
12,
474,
9507,
16,
4766,
282,
509,
13814,
13,
1216,
1185,
288,
3639,
368,
752,
913,
857,
756,
3639,
509,
29617,
1016,
273,
752,
1350,
1990,
5621,
3639,
368,
444,
913,
857,
756,
924,
3639,
284,
1350,
1990,
18,
542,
1972,
12,
2159,
559,
16,
13814,
16,
300,
21,
1769,
3639,
10651,
1990,
12,
1745,
1990,
1016,
16,
284,
1350,
1990,
1769,
3639,
368,
1342,
17,
10064,
16,
12392,
2874,
3639,
309,
261,
74,
25728,
16402,
480,
446,
13,
288,
5411,
509,
2874,
273,
284,
25728,
16402,
18,
1289,
1350,
1990,
907,
12,
2159,
559,
16,
4766,
1171,
9079,
13814,
1769,
5411,
509,
2441,
273,
29617,
1016,
1671,
28096,
67,
23191,
31,
5411,
509,
770,
273,
29617,
1016,
473,
28096,
67,
11704,
31,
5411,
3387,
1350,
1990,
7437,
12,
6551,
1769,
5411,
284,
1350,
1990,
863,
63,
6551,
6362,
1615,
65,
273,
2874,
31,
3639,
289,
3639,
368,
327,
770,
540,
327,
29617,
1016,
31,
565,
289,
368,
11170,
1990,
907,
12,
474,
16,
474,
4672,
474,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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639,
368,
752,
913,
857,
756,
3639,
509,
29617,
1016,
273,
752,
1350,
1990,
5621,
3639,
368,
444,
913,
857,
756,
924,
3639,
284,
1350,
1990,
18,
542,
1972,
12,
2159,
559,
16,
13814,
16,
300,
21,
1769,
3639,
10651,
1990,
12,
1745,
1990,
1016,
16,
284,
1350,
1990,
1769,
3639,
368,
1342,
17,
10064,
16,
12392,
2874,
3639,
309,
261,
74,
25728,
16402,
480,
446,
13,
288,
5411,
509,
2874,
273,
284,
25728,
16402,
18,
1289,
1350,
1990,
907,
12,
2159,
559,
16,
4766,
1171,
9079,
13814,
1769,
5411,
509,
2441,
273,
29617,
1016,
1671,
28096,
67,
23191,
31,
5411,
2
] |
|
getOverlayStore().setValue(item.getItalicKey(), fItalicCheckBox.getSelection());
|
getOverlayStore().setValue(item.getBoldKey(), fBoldCheckBox.getSelection());
|
public void widgetSelected(SelectionEvent e) { HighlightingColorListItem item= getHighlightingColorListItem(); getOverlayStore().setValue(item.getItalicKey(), fItalicCheckBox.getSelection()); }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/24a7dbbeb8d73c48ef62ee9174a823bb3774f5e9/MakefileEditorPreferencePage.java/clean/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/preferences/MakefileEditorPreferencePage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
3604,
7416,
12,
6233,
1133,
425,
13,
288,
9506,
202,
16205,
310,
2957,
13575,
761,
33,
7628,
2031,
5099,
310,
2957,
13575,
5621,
9506,
202,
588,
11627,
2257,
7675,
542,
620,
12,
1726,
18,
588,
7193,
21466,
653,
9334,
284,
7193,
21466,
19174,
18,
588,
6233,
10663,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
3604,
7416,
12,
6233,
1133,
425,
13,
288,
9506,
202,
16205,
310,
2957,
13575,
761,
33,
7628,
2031,
5099,
310,
2957,
13575,
5621,
9506,
202,
588,
11627,
2257,
7675,
542,
620,
12,
1726,
18,
588,
7193,
21466,
653,
9334,
284,
7193,
21466,
19174,
18,
588,
6233,
10663,
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
] |
DebugLog.log(result.toString());
|
public void handleStatus(SVNStatus status) { if (status == null || (mySkipUnrecognized && status.getURL() == null) || (status.getContentsStatus() == SVNStatusType.STATUS_NONE && status.getRemoteContentsStatus() == SVNStatusType.STATUS_NONE)) { return; } StringBuffer result = new StringBuffer(); if (!myDetailed) { result.append(getStatusChar(status.getContentsStatus())); result.append(getStatusChar(status.getPropertiesStatus())); result.append(status.isLocked() ? 'L' : ' '); result.append(status.isCopied() ? '+' : ' '); result.append(status.isSwitched() ? 'S' : ' '); result.append(status.getLocalLock() != null ? 'K' : ' '); result.append(" "); result.append(SVNUtil.getPath(status.getFile())); } else { String wcRevision; char remoteStatus; if (status.getURL() == null) { wcRevision = ""; } else if (!status.getRevision().isValid()) { wcRevision = " ? "; } else if (status.isCopied()) { wcRevision = "-"; } else { wcRevision = Long.toString(status.getRevision().getNumber()); if (status.getKind() == SVNNodeKind.DIR && status.getContentsStatus() == SVNStatusType.STATUS_MISSING) { wcRevision = " ? "; } } if (status.getRemotePropertiesStatus() != SVNStatusType.STATUS_NONE || status.getRemoteContentsStatus() != SVNStatusType.STATUS_NONE) { remoteStatus = '*'; } else { remoteStatus = ' '; } char lockStatus; if (myShowReposLocks) { if (status.getRemoteLock() != null) { if (status.getLocalLock() != null) { lockStatus = status.getLocalLock().getID().equals(status.getRemoteLock().getID()) ? 'K' : 'T'; } else { lockStatus = 'O'; } } else if (status.getLocalLock() != null) { lockStatus = 'B'; } else { lockStatus = ' '; } } else { lockStatus = status.getLocalLock() != null ? 'K' : ' '; } if (myShowLastCommitted) { String commitRevision = ""; String commitAuthor = ""; if (status.getURL() != null && status.getCommittedRevision().isValid()) { commitRevision = status.getCommittedRevision().toString(); } else if (status.getURL() != null) { commitRevision = " ? "; } if (status.getURL() != null && status.getAuthor() != null) { commitAuthor = status.getAuthor(); } else if (status.getURL() != null) { commitAuthor = " ? "; } result.append(getStatusChar(status.getContentsStatus())); result.append(getStatusChar(status.getPropertiesStatus())); result.append(status.isLocked() ? 'L' : ' '); result.append(status.isCopied() ? '+' : ' '); result.append(status.isSwitched() ? 'S' : ' '); result.append(lockStatus); result.append(" "); result.append(remoteStatus); result.append(" "); result.append(formatString(wcRevision, 6, false)); // 6 chars result.append(" "); result.append(formatString(commitRevision, 6, false)); // 6 chars result.append(" "); result.append(formatString(commitAuthor, 12, true)); // 12 chars result.append(" "); result.append(SVNUtil.getPath(status.getFile())); } else { result.append(getStatusChar(status.getContentsStatus())); result.append(getStatusChar(status.getPropertiesStatus())); result.append(status.isLocked() ? 'L' : ' '); result.append(status.isCopied() ? '+' : ' '); result.append(status.isSwitched() ? 'S' : ' '); result.append(lockStatus); result.append(" "); result.append(remoteStatus); result.append(" "); result.append(formatString(wcRevision, 6, false)); // 6 chars result.append(" "); result.append(SVNUtil.getPath(status.getFile())); } } DebugLog.log(result.toString()); myOut.println(result.toString()); }
|
5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/48b673a4eeae723c90a2ec8a9e48e886212b2109/SVNCommandStatusHandler.java/buggy/javasvn/src/org/tmatesoft/svn/cli/SVNCommandStatusHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1640,
1482,
12,
23927,
50,
1482,
1267,
13,
288,
3639,
309,
261,
2327,
422,
446,
747,
261,
4811,
6368,
19648,
597,
1267,
18,
588,
1785,
1435,
422,
446,
13,
747,
5411,
261,
2327,
18,
588,
6323,
1482,
1435,
422,
29537,
50,
1482,
559,
18,
8608,
67,
9826,
597,
1267,
18,
588,
5169,
6323,
1482,
1435,
422,
29537,
50,
1482,
559,
18,
8608,
67,
9826,
3719,
288,
7734,
327,
31,
3639,
289,
3639,
6674,
563,
273,
394,
6674,
5621,
3639,
309,
16051,
4811,
40,
6372,
13,
288,
5411,
563,
18,
6923,
12,
588,
1482,
2156,
12,
2327,
18,
588,
6323,
1482,
1435,
10019,
5411,
563,
18,
6923,
12,
588,
1482,
2156,
12,
2327,
18,
588,
2297,
1482,
1435,
10019,
5411,
563,
18,
6923,
12,
2327,
18,
291,
8966,
1435,
692,
296,
48,
11,
294,
296,
28005,
5411,
563,
18,
6923,
12,
2327,
18,
291,
28127,
1435,
692,
10058,
294,
296,
28005,
5411,
563,
18,
6923,
12,
2327,
18,
291,
10200,
329,
1435,
692,
296,
55,
11,
294,
296,
28005,
5411,
563,
18,
6923,
12,
2327,
18,
588,
2042,
2531,
1435,
480,
446,
692,
296,
47,
11,
294,
296,
28005,
5411,
563,
18,
6923,
2932,
315,
1769,
5411,
563,
18,
6923,
12,
23927,
50,
1304,
18,
588,
743,
12,
2327,
18,
29925,
1435,
10019,
3639,
289,
469,
288,
5411,
514,
14310,
7939,
31,
5411,
1149,
2632,
1482,
31,
5411,
309,
261,
2327,
18,
588,
1785,
1435,
422,
446,
13,
288,
7734,
14310,
7939,
273,
1408,
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,
377,
1071,
918,
1640,
1482,
12,
23927,
50,
1482,
1267,
13,
288,
3639,
309,
261,
2327,
422,
446,
747,
261,
4811,
6368,
19648,
597,
1267,
18,
588,
1785,
1435,
422,
446,
13,
747,
5411,
261,
2327,
18,
588,
6323,
1482,
1435,
422,
29537,
50,
1482,
559,
18,
8608,
67,
9826,
597,
1267,
18,
588,
5169,
6323,
1482,
1435,
422,
29537,
50,
1482,
559,
18,
8608,
67,
9826,
3719,
288,
7734,
327,
31,
3639,
289,
3639,
6674,
563,
273,
394,
6674,
5621,
3639,
309,
16051,
4811,
40,
6372,
13,
288,
5411,
563,
18,
6923,
12,
588,
1482,
2156,
12,
2327,
18,
588,
6323,
1482,
1435,
10019,
5411,
563,
18,
6923,
12,
588,
1482,
2156,
12,
2327,
18,
588,
2297,
1482,
2
] |
|
this.output.addRef(encodeEntry( enumeratorFullName, ENUMTOR_DECL, ENUMTOR_DECL_LENGTH ));
|
this.output.addRef(encodeEntry( enumeratorFullName, ENUMTOR_DECL, ENUMTOR_DECL_LENGTH ),indexFlag);
|
public void addEnumerationSpecifier(IASTEnumerationSpecifier enumeration) { this.output.addRef(encodeTypeEntry(enumeration.getFullyQualifiedNameCharArrays(), ENUM, ICSearchConstants.DECLARATIONS)); Iterator i = enumeration.getEnumerators(); while (i.hasNext()) { IASTEnumerator en = (IASTEnumerator) i.next(); char[][] enumeratorFullName = createEnumeratorFullyQualifiedName(en); this.output.addRef(encodeEntry( enumeratorFullName, ENUMTOR_DECL, ENUMTOR_DECL_LENGTH )); } }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/2473fc9bad9772bea7e830611534fa1d7df713b5/AbstractIndexer.java/buggy/core/org.eclipse.cdt.core/index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
527,
21847,
21416,
12,
45,
9053,
21847,
21416,
16836,
13,
288,
202,
202,
2211,
18,
2844,
18,
1289,
1957,
12,
3015,
559,
1622,
12,
7924,
7067,
18,
588,
16999,
12345,
2156,
12726,
9334,
24776,
16,
26899,
2979,
2918,
18,
23956,
985,
15297,
10019,
9506,
202,
3198,
277,
273,
16836,
18,
588,
3572,
264,
3062,
5621,
202,
202,
17523,
261,
77,
18,
5332,
2134,
10756,
202,
202,
95,
1082,
202,
45,
9053,
3572,
7385,
570,
273,
261,
45,
9053,
3572,
7385,
13,
277,
18,
4285,
5621,
4697,
202,
3001,
63,
6362,
65,
24679,
19223,
273,
9506,
202,
2640,
3572,
7385,
16999,
12345,
12,
275,
1769,
25083,
202,
2211,
18,
2844,
18,
1289,
1957,
12,
3015,
1622,
12,
24679,
19223,
16,
24776,
56,
916,
67,
23956,
16,
24776,
56,
916,
67,
23956,
67,
7096,
262,
1769,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
527,
21847,
21416,
12,
45,
9053,
21847,
21416,
16836,
13,
288,
202,
202,
2211,
18,
2844,
18,
1289,
1957,
12,
3015,
559,
1622,
12,
7924,
7067,
18,
588,
16999,
12345,
2156,
12726,
9334,
24776,
16,
26899,
2979,
2918,
18,
23956,
985,
15297,
10019,
9506,
202,
3198,
277,
273,
16836,
18,
588,
3572,
264,
3062,
5621,
202,
202,
17523,
261,
77,
18,
5332,
2134,
10756,
202,
202,
95,
1082,
202,
45,
9053,
3572,
7385,
570,
273,
261,
45,
9053,
3572,
7385,
13,
277,
18,
4285,
5621,
4697,
202,
3001,
63,
6362,
65,
24679,
19223,
273,
9506,
202,
2640,
3572,
7385,
16999,
12345,
12,
275,
1769,
25083,
202,
2211,
18,
2844,
18,
1289,
1957,
12,
3015,
1622,
2
] |
aProcess = Runtime.getRuntime().exec(argArray);
|
aProcess = Runtime.getRuntime().exec(argArray, new String[]{}, pwd);
|
public static int runInShell(IRuby runtime, IRubyObject[] rawArgs, OutputStream output) { try { // startup scripts set jruby.shell to /bin/sh for Unix, cmd.exe for Windows String shell = System.getProperty("jruby.shell"); rawArgs[0] = runtime.newString(repairDirSeps(rawArgs[0].toString())); Process aProcess = null; InProcessScript ipScript = null; if (isRubyCommand(rawArgs[0].toString())) { List args = parseCommandLine(rawArgs); PrintStream redirect = new PrintStream(output); String command = (String)args.get(0); String[] argArray = new String[args.size()-1]; // snip off ruby or jruby command from list of arguments // leave alone if the command is the name of a script int startIndex = command.endsWith(".rb") ? 0 : 1; args.subList(startIndex,args.size()).toArray(argArray); // FIXME: Where should we get in and err from? ipScript = new InProcessScript(argArray, System.in, redirect, redirect); // execute ruby command in-process ipScript.start(); ipScript.join(); } else if (shell != null && rawArgs.length == 1) { // execute command with sh -c or cmd.exe /c // this does shell expansion of wildcards String shellSwitch = shell.endsWith("sh") ? "-c" : "/c"; String[] argArray = new String[3]; argArray[0] = shell; argArray[1] = shellSwitch; argArray[2] = rawArgs[0].toString(); aProcess = Runtime.getRuntime().exec(argArray); } else { // execute command directly, no wildcard expansion if (rawArgs.length > 1) { String[] argArray = new String[rawArgs.length]; for (int i=0;i<rawArgs.length;i++) { argArray[i] = rawArgs[i].toString(); } aProcess = Runtime.getRuntime().exec(argArray); } else { aProcess = Runtime.getRuntime().exec(rawArgs[0].toString()); } } if (aProcess != null) { InputStream processOutput = aProcess.getInputStream(); // Fairly innefficient impl, but readLine is unable to tell // whether the last line in a process ended with a newline or not. int b; boolean crSeen = false; while ((b = processOutput.read()) != -1) { if (b == '\r') { crSeen = true; } else { if (crSeen) { if (b != '\n') { output.write('\r'); } crSeen = false; } output.write(b); } } if (crSeen) { output.write('\r'); } aProcess.getErrorStream().close(); aProcess.getOutputStream().close(); processOutput.close(); return aProcess.waitFor(); } else if (ipScript != null) { return ipScript.getResult(); } else { return 0; } } catch (IOException e) { throw runtime.newIOErrorFromException(e); } catch (InterruptedException e) { throw runtime.newThreadError("unexpected interrupt"); } }
|
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/c30da196a486853692150e8be1d9d034f60e00b3/RubyKernel.java/clean/src/org/jruby/RubyKernel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
509,
1086,
382,
13220,
12,
7937,
10340,
3099,
16,
15908,
10340,
921,
8526,
1831,
2615,
16,
8962,
876,
13,
288,
3639,
775,
288,
5411,
368,
11850,
8873,
444,
525,
27768,
18,
10304,
358,
342,
4757,
19,
674,
364,
9480,
16,
1797,
18,
14880,
364,
8202,
5411,
514,
5972,
273,
2332,
18,
588,
1396,
2932,
78,
27768,
18,
10304,
8863,
5411,
1831,
2615,
63,
20,
65,
273,
3099,
18,
2704,
780,
12,
266,
6017,
1621,
5097,
87,
12,
1899,
2615,
63,
20,
8009,
10492,
1435,
10019,
5411,
4389,
279,
2227,
273,
446,
31,
5411,
657,
2227,
3651,
2359,
3651,
273,
446,
31,
13491,
309,
261,
291,
54,
10340,
2189,
12,
1899,
2615,
63,
20,
8009,
10492,
1435,
3719,
288,
7734,
987,
833,
273,
1109,
21391,
12,
1899,
2615,
1769,
7734,
21677,
3136,
273,
394,
21677,
12,
2844,
1769,
7734,
514,
1296,
273,
261,
780,
13,
1968,
18,
588,
12,
20,
1769,
7734,
514,
8526,
1501,
1076,
273,
394,
514,
63,
1968,
18,
1467,
1435,
17,
21,
15533,
7734,
368,
4556,
625,
3397,
22155,
578,
525,
27768,
1296,
628,
666,
434,
1775,
7734,
368,
8851,
24068,
309,
326,
1296,
353,
326,
508,
434,
279,
2728,
7734,
509,
10588,
273,
1296,
18,
5839,
1190,
2932,
18,
6731,
7923,
692,
374,
294,
404,
31,
7734,
833,
18,
1717,
682,
12,
1937,
1016,
16,
1968,
18,
1467,
1435,
2934,
31447,
12,
3175,
1076,
1769,
7734,
368,
9852,
30,
12177,
1410,
732,
336,
316,
471,
393,
628,
35,
7734,
2359,
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,
509,
1086,
382,
13220,
12,
7937,
10340,
3099,
16,
15908,
10340,
921,
8526,
1831,
2615,
16,
8962,
876,
13,
288,
3639,
775,
288,
5411,
368,
11850,
8873,
444,
525,
27768,
18,
10304,
358,
342,
4757,
19,
674,
364,
9480,
16,
1797,
18,
14880,
364,
8202,
5411,
514,
5972,
273,
2332,
18,
588,
1396,
2932,
78,
27768,
18,
10304,
8863,
5411,
1831,
2615,
63,
20,
65,
273,
3099,
18,
2704,
780,
12,
266,
6017,
1621,
5097,
87,
12,
1899,
2615,
63,
20,
8009,
10492,
1435,
10019,
5411,
4389,
279,
2227,
273,
446,
31,
5411,
657,
2227,
3651,
2359,
3651,
273,
446,
31,
13491,
309,
261,
291,
54,
10340,
2189,
12,
1899,
2615,
63,
20,
8009,
10492,
1435,
2
] |
if(log.isInfoEnabled()) log.info(local_addr + " became coordinator");
|
if(log.isDebugEnabled()) log.debug(local_addr + " became coordinator");
|
public void becomeCoordinator() { CoordGmsImpl tmp=(CoordGmsImpl)impls.get(COORD); if(tmp == null) { tmp=new CoordGmsImpl(this); impls.put(COORD, tmp); } tmp.leaving=false; setImpl(tmp); if(log.isInfoEnabled()) log.info(local_addr + " became coordinator"); }
|
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/85b7a7c351493f88f1d6a3045b9cbd0b817f95cd/GMS.java/buggy/src/org/jgroups/protocols/pbcast/GMS.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12561,
25307,
1435,
288,
3639,
10320,
43,
959,
2828,
1853,
28657,
5401,
43,
959,
2828,
13,
11299,
87,
18,
588,
12,
27237,
40,
1769,
3639,
309,
12,
5645,
422,
446,
13,
288,
5411,
1853,
33,
2704,
10320,
43,
959,
2828,
12,
2211,
1769,
5411,
9380,
87,
18,
458,
12,
27237,
40,
16,
1853,
1769,
3639,
289,
3639,
1853,
18,
298,
5339,
33,
5743,
31,
3639,
444,
2828,
12,
5645,
1769,
540,
309,
12,
1330,
18,
291,
2829,
1526,
10756,
613,
18,
4148,
12,
3729,
67,
4793,
397,
315,
506,
71,
339,
24794,
8863,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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588,
12,
27237,
40,
1769,
3639,
309,
12,
5645,
422,
446,
13,
288,
5411,
1853,
33,
2704,
10320,
43,
959,
2828,
12,
2211,
1769,
5411,
9380,
87,
18,
458,
12,
27237,
40,
16,
1853,
1769,
3639,
289,
3639,
1853,
18,
298,
5339,
33,
5743,
31,
3639,
444,
2828,
12,
5645,
1769,
540,
309,
12,
1330,
18,
291,
2829,
1526,
10756,
613,
18,
4148,
12,
3729,
67,
4793,
397,
315,
506,
71,
339,
24794,
8863,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
assertNotSame(-1, CDKConstants.ISAROMATIC);
|
assertFalse(CDKConstants.ISAROMATIC == -1);
|
public void testCDKConstants() { assertNotSame(-1, CDKConstants.ISAROMATIC); }
|
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/b987191b1e46d6b82dce6ac347c8f0f781d0ee7a/CDKConstantsTest.java/buggy/src/org/openscience/cdk/test/CDKConstantsTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
39,
3398,
2918,
1435,
288,
3639,
1815,
8381,
12,
39,
3398,
2918,
18,
5127,
985,
1872,
11781,
422,
300,
21,
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,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
39,
3398,
2918,
1435,
288,
3639,
1815,
8381,
12,
39,
3398,
2918,
18,
5127,
985,
1872,
11781,
422,
300,
21,
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
] |
if (isExtension()) {
|
if (isExtension()) {
|
public Type typeCheck(SymbolTable stable) throws TypeCheckError { if (_type != null) return _type; final String namespace = _fname.getNamespace(); String local = _fname.getLocalPart(); if (isExtension()) { _fname = new QName(null, null, local); return typeCheckStandard(stable); } else if (isStandard()) { return typeCheckStandard(stable); } // Handle extension functions (they all have a namespace) else { try { _className = getClassNameFromUri(namespace); final int pos = local.lastIndexOf('.'); if (pos > 0) { _isStatic = true; if (_className != null && _className.length() > 0) { _namespace_format = NAMESPACE_FORMAT_PACKAGE; _className = _className + "." + local.substring(0, pos); } else { _namespace_format = NAMESPACE_FORMAT_JAVA; _className = local.substring(0, pos); } _fname = new QName(namespace, null, local.substring(pos + 1)); } else { if (_className != null && _className.length() > 0) { try { TransletLoader loader = new TransletLoader(); _clazz = loader.loadClass(_className); _namespace_format = NAMESPACE_FORMAT_CLASS; } catch (ClassNotFoundException e) { _namespace_format = NAMESPACE_FORMAT_PACKAGE; } } else _namespace_format = NAMESPACE_FORMAT_JAVA; if (local.indexOf('-') > 0) { local = replaceDash(local); } String extFunction = (String)_extensionFunctionTable.get(namespace + ":" + local); if (extFunction != null) { _fname = new QName(null, null, extFunction); return typeCheckStandard(stable); } else _fname = new QName(namespace, null, local); } return typeCheckExternal(stable); } catch (TypeCheckError e) { ErrorMsg errorMsg = e.getErrorMsg(); if (errorMsg == null) { final String name = _fname.getLocalPart(); errorMsg = new ErrorMsg(ErrorMsg.METHOD_NOT_FOUND_ERR, name); } getParser().reportError(ERROR, errorMsg); return _type = Type.Void; } } }
|
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/f2269251d2d2151ef6399c06a210c39e047c7fe0/FunctionCall.java/buggy/src/org/apache/xalan/xsltc/compiler/FunctionCall.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1412,
618,
1564,
12,
5335,
1388,
14114,
13,
225,
202,
15069,
1412,
1564,
668,
377,
288,
202,
225,
309,
261,
67,
723,
480,
446,
13,
327,
389,
723,
31,
202,
225,
727,
514,
1981,
273,
389,
12749,
18,
588,
3402,
5621,
202,
225,
514,
1191,
273,
389,
12749,
18,
588,
2042,
1988,
5621,
202,
225,
309,
261,
291,
3625,
10756,
288,
202,
565,
389,
12749,
273,
394,
16723,
12,
2011,
16,
446,
16,
1191,
1769,
202,
565,
327,
618,
1564,
8336,
12,
15021,
1769,
202,
225,
289,
202,
225,
469,
309,
261,
291,
8336,
10756,
288,
202,
565,
327,
618,
1564,
8336,
12,
15021,
1769,
202,
225,
289,
202,
225,
368,
5004,
2710,
4186,
261,
451,
402,
777,
1240,
279,
1981,
13,
202,
225,
469,
3196,
225,
288,
202,
565,
775,
2398,
288,
202,
3639,
389,
12434,
273,
11819,
1265,
3006,
12,
4937,
1769,
1082,
5375,
727,
509,
949,
273,
1191,
18,
2722,
31985,
2668,
1093,
1769,
202,
202,
430,
261,
917,
405,
374,
13,
1171,
288,
1082,
225,
389,
291,
5788,
273,
638,
31,
1082,
225,
309,
261,
67,
12434,
480,
446,
597,
389,
12434,
18,
2469,
1435,
405,
374,
13,
1082,
225,
288,
1082,
377,
389,
4937,
67,
2139,
273,
18494,
67,
7254,
67,
19077,
31,
1082,
377,
389,
12434,
273,
389,
12434,
397,
4585,
397,
1191,
18,
28023,
12,
20,
16,
949,
1769,
1082,
225,
289,
1082,
225,
469,
1082,
225,
288,
1082,
377,
389,
4937,
67,
2139,
273,
18494,
67,
7254,
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,
1412,
618,
1564,
12,
5335,
1388,
14114,
13,
225,
202,
15069,
1412,
1564,
668,
377,
288,
202,
225,
309,
261,
67,
723,
480,
446,
13,
327,
389,
723,
31,
202,
225,
727,
514,
1981,
273,
389,
12749,
18,
588,
3402,
5621,
202,
225,
514,
1191,
273,
389,
12749,
18,
588,
2042,
1988,
5621,
202,
225,
309,
261,
291,
3625,
10756,
288,
202,
565,
389,
12749,
273,
394,
16723,
12,
2011,
16,
446,
16,
1191,
1769,
202,
565,
327,
618,
1564,
8336,
12,
15021,
1769,
202,
225,
289,
202,
225,
469,
309,
261,
291,
8336,
10756,
288,
202,
565,
327,
618,
1564,
8336,
12,
15021,
1769,
202,
225,
289,
202,
225,
368,
5004,
2710,
4186,
261,
451,
402,
2
] |
throw new StubNotFoundException( "Stub " + stubName + " not found.", cnfe);
|
throw new StubNotFoundException(Messages.getString("rmi.68", stubName), cnfe);
|
protected Class loadStubClass(Class c, boolean throwException) throws StubNotFoundException { String stubName = c.getName() + "_Stub"; ClassLoader cl = c.getClassLoader(); try { if (cl != null) { return cl.loadClass(stubName); } else { return Class.forName(stubName); } } catch (ClassNotFoundException cnfe) { if (throwException) { throw new StubNotFoundException( "Stub " + stubName + " not found.", cnfe); } } return null; }
|
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/b348e06c6dac9b88f66841b025d00af43b5afac0/UnicastServerRef.java/clean/modules/rmi/src/main/java/org/apache/harmony/rmi/remoteref/UnicastServerRef.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1659,
1262,
11974,
797,
12,
797,
276,
16,
1250,
18084,
13,
5411,
1216,
26483,
3990,
288,
3639,
514,
7168,
461,
273,
276,
18,
17994,
1435,
397,
4192,
11974,
14432,
3639,
9403,
927,
273,
276,
18,
588,
7805,
5621,
3639,
775,
288,
5411,
309,
261,
830,
480,
446,
13,
288,
7734,
327,
927,
18,
945,
797,
12,
12847,
461,
1769,
5411,
289,
469,
288,
7734,
327,
1659,
18,
1884,
461,
12,
12847,
461,
1769,
5411,
289,
3639,
289,
1044,
261,
797,
3990,
6227,
3030,
13,
288,
5411,
309,
261,
12849,
503,
13,
288,
7734,
604,
394,
26483,
3990,
12,
13491,
315,
11974,
315,
397,
7168,
461,
397,
315,
486,
1392,
1199,
16,
6227,
3030,
1769,
5411,
289,
3639,
289,
3639,
327,
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,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1659,
1262,
11974,
797,
12,
797,
276,
16,
1250,
18084,
13,
5411,
1216,
26483,
3990,
288,
3639,
514,
7168,
461,
273,
276,
18,
17994,
1435,
397,
4192,
11974,
14432,
3639,
9403,
927,
273,
276,
18,
588,
7805,
5621,
3639,
775,
288,
5411,
309,
261,
830,
480,
446,
13,
288,
7734,
327,
927,
18,
945,
797,
12,
12847,
461,
1769,
5411,
289,
469,
288,
7734,
327,
1659,
18,
1884,
461,
12,
12847,
461,
1769,
5411,
289,
3639,
289,
1044,
261,
797,
3990,
6227,
3030,
13,
288,
5411,
309,
261,
12849,
503,
13,
288,
7734,
604,
394,
26483,
3990,
12,
13491,
315,
11974,
315,
397,
7168,
461,
397,
315,
486,
1392,
1199,
16,
6227,
3030,
1769,
5411,
289,
3639,
2
] |
public org.quickfix.field.UnderlyingSecurityIDSource getUnderlyingSecurityIDSource() throws FieldNotFound { org.quickfix.field.UnderlyingSecurityIDSource value = new org.quickfix.field.UnderlyingSecurityIDSource();
|
public quickfix.field.UnderlyingSecurityIDSource getUnderlyingSecurityIDSource() throws FieldNotFound { quickfix.field.UnderlyingSecurityIDSource value = new quickfix.field.UnderlyingSecurityIDSource();
|
public org.quickfix.field.UnderlyingSecurityIDSource getUnderlyingSecurityIDSource() throws FieldNotFound { org.quickfix.field.UnderlyingSecurityIDSource value = new org.quickfix.field.UnderlyingSecurityIDSource(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderMassStatusRequest.java/clean/src/java/src/quickfix/fix44/OrderMassStatusRequest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4368,
734,
1830,
10833,
765,
6291,
4368,
734,
1830,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4368,
734,
1830,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4368,
734,
1830,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4368,
734,
1830,
10833,
765,
6291,
4368,
734,
1830,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4368,
734,
1830,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4368,
734,
1830,
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
] |
expandEntity(ref);
|
expandEntity(ref, false);
|
public int next() throws XMLStreamException { if (lookahead) { lookahead = false; return event; } if (event == XMLStreamConstants.END_ELEMENT) { // Pop namespace context if (namespaceAware) namespaces.removeFirst(); // Pop base context if (baseAware) bases.removeFirst(); } if (!startEntityStack.isEmpty()) { String entityName = (String) startEntityStack.removeFirst(); buf.setLength(0); buf.append(entityName); event = XMLStreamConstants.START_ENTITY; return event; } else if (!endEntityStack.isEmpty()) { String entityName = (String) endEntityStack.removeFirst(); if (entityName == null) return next(); buf.setLength(0); buf.append(entityName); event = XMLStreamConstants.END_ENTITY; return event; } try { if (!input.initialized) { input.init(); if (inputStack.size() > 1) { if (tryRead(TEST_XML_DECL)) readTextDecl(); } } //System.out.println("input="+input.name+" "+input.inputEncoding); switch (state) { case CONTENT: if (tryRead(TEST_END_ELEMENT)) { readEndElement(); if (stack.isEmpty()) state = MISC; event = XMLStreamConstants.END_ELEMENT; } else if (tryRead(TEST_COMMENT)) { readComment(); event = XMLStreamConstants.COMMENT; } else if (tryRead(TEST_PI)) { readPI(); event = XMLStreamConstants.PROCESSING_INSTRUCTION; } else if (tryRead(TEST_CDATA)) { readCDSect(); event = XMLStreamConstants.CDATA; } else if (tryRead(TEST_START_ELEMENT)) { state = readStartElement(); event = XMLStreamConstants.START_ELEMENT; } else { // Check for character reference or predefined entity mark(8); char c = readCh(); if (c == '&') { c = readCh(); if (c == '#') { reset(); event = readCharData(null); } else { // entity reference reset(); readCh(); // & readReference(); String ref = buf.toString(); String text = (String) PREDEFINED_ENTITIES.get(ref); if (text != null) { event = readCharData(text); } else if (replaceERefs) { expandEntity(ref); //report start-entity event = next(); } else { event = XMLStreamConstants.ENTITY_REFERENCE; } } } else { reset(); event = readCharData(null); } } break; case EMPTY_ELEMENT: state = stack.isEmpty() ? MISC : CONTENT; event = XMLStreamConstants.END_ELEMENT; break; case INIT: // XMLDecl? if (tryRead(TEST_XML_DECL)) readXMLDecl(); event = XMLStreamConstants.START_DOCUMENT; state = PROLOG; break; case PROLOG: // Misc* (doctypedecl Misc*)? skipWhitespace(); if (doctype == null && tryRead(TEST_DOCTYPE_DECL)) { readDoctypeDecl(); event = XMLStreamConstants.DTD; } else if (tryRead(TEST_COMMENT)) { readComment(); event = XMLStreamConstants.COMMENT; } else if (tryRead(TEST_PI)) { readPI(); event = XMLStreamConstants.PROCESSING_INSTRUCTION; } else if (tryRead(TEST_START_ELEMENT)) { state = readStartElement(); event = XMLStreamConstants.START_ELEMENT; } else { char c = readCh(); error("no root element: +U"+Integer.toHexString(c)); } break; case MISC: // Comment | PI | S skipWhitespace(); if (tryRead(TEST_COMMENT)) { readComment(); event = XMLStreamConstants.COMMENT; } else if (tryRead(TEST_PI)) { readPI(); event = XMLStreamConstants.PROCESSING_INSTRUCTION; } else { if (event == XMLStreamConstants.END_DOCUMENT) throw new NoSuchElementException(); event = XMLStreamConstants.END_DOCUMENT; } break; default: event = -1; } return event; } catch (IOException e) { XMLStreamException e2 = new XMLStreamException(); e2.initCause(e); throw e2; } }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/0194d0bf7a4335231f8ce3fab46cefa8a9a70bb0/XMLParser.java/buggy/core/src/classpath/gnu/gnu/xml/stream/XMLParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
1024,
1435,
565,
1216,
21526,
225,
288,
565,
309,
261,
7330,
11617,
13,
1377,
288,
3639,
16029,
273,
629,
31,
3639,
327,
871,
31,
1377,
289,
565,
309,
261,
2575,
422,
15595,
2918,
18,
4415,
67,
10976,
13,
1377,
288,
3639,
368,
10264,
1981,
819,
3639,
309,
261,
4937,
10155,
13,
1850,
7728,
18,
4479,
3759,
5621,
3639,
368,
10264,
1026,
819,
3639,
309,
261,
1969,
10155,
13,
1850,
8337,
18,
4479,
3759,
5621,
1377,
289,
565,
309,
16051,
1937,
1943,
2624,
18,
291,
1921,
10756,
1377,
288,
3639,
514,
14868,
273,
261,
780,
13,
787,
1943,
2624,
18,
4479,
3759,
5621,
3639,
1681,
18,
542,
1782,
12,
20,
1769,
3639,
1681,
18,
6923,
12,
1096,
461,
1769,
3639,
871,
273,
15595,
2918,
18,
7570,
67,
11101,
31,
3639,
327,
871,
31,
1377,
289,
565,
469,
309,
16051,
409,
1943,
2624,
18,
291,
1921,
10756,
1377,
288,
3639,
514,
14868,
273,
261,
780,
13,
679,
1943,
2624,
18,
4479,
3759,
5621,
3639,
309,
261,
1096,
461,
422,
446,
13,
1850,
327,
1024,
5621,
3639,
1681,
18,
542,
1782,
12,
20,
1769,
3639,
1681,
18,
6923,
12,
1096,
461,
1769,
3639,
871,
273,
15595,
2918,
18,
4415,
67,
11101,
31,
3639,
327,
871,
31,
1377,
289,
565,
775,
1377,
288,
3639,
309,
16051,
2630,
18,
13227,
13,
1850,
288,
5411,
810,
18,
2738,
5621,
5411,
309,
261,
2630,
2624,
18,
1467,
1435,
405,
404,
13,
2868,
288,
7734,
309,
261,
698,
1994,
12,
16961,
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,
509,
1024,
1435,
565,
1216,
21526,
225,
288,
565,
309,
261,
7330,
11617,
13,
1377,
288,
3639,
16029,
273,
629,
31,
3639,
327,
871,
31,
1377,
289,
565,
309,
261,
2575,
422,
15595,
2918,
18,
4415,
67,
10976,
13,
1377,
288,
3639,
368,
10264,
1981,
819,
3639,
309,
261,
4937,
10155,
13,
1850,
7728,
18,
4479,
3759,
5621,
3639,
368,
10264,
1026,
819,
3639,
309,
261,
1969,
10155,
13,
1850,
8337,
18,
4479,
3759,
5621,
1377,
289,
565,
309,
16051,
1937,
1943,
2624,
18,
291,
1921,
10756,
1377,
288,
3639,
514,
14868,
273,
261,
780,
13,
787,
1943,
2624,
18,
4479,
3759,
5621,
3639,
1681,
18,
542,
1782,
12,
20,
1769,
3639,
1681,
18,
6923,
12,
1096,
2
] |
411, 411, 319, 319, 411, 411, 411, 319, 0, 411,
|
411, 411, 0, 0, 411, 411, 411, 0, 319, 411,
|
private static final short[] yyTable2() { return new short[] { 0, 473, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 473, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 0, 472, 472, 472, 472, 0, 0, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 0, 473, 473, 473, 473, 0, 0, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 476, 0, 0, 0, 0, 0, 0, 0, 0, 0, 476, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 476, 0, 0, 77, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 476, 0, 85, 0, 476, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 476, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 476, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 79, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 87, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 472, 472, 0, 472, 476, 476, 476, 472, 472, 0, 476, 476, 472, 476, 472, 472, 472, 472, 472, 472, 472, 0, 476, 0, 0, 472, 472, 472, 472, 472, 472, 472, 476, 476, 0, 476, 476, 476, 476, 476, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 0, 0, 472, 472, 472, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 0, 0, 476, 476, 476, 472, 0, 0, 472, 472, 472, 472, 472, 0, 472, 476, 472, 476, 472, 476, 476, 476, 476, 476, 476, 476, 472, 476, 476, 472, 472, 472, 472, 472, 472, 473, 473, 473, 0, 473, 278, 278, 278, 473, 473, 0, 278, 278, 473, 278, 473, 473, 473, 473, 473, 473, 473, 0, 0, 0, 0, 473, 473, 473, 473, 473, 473, 473, 278, 278, 0, 278, 278, 278, 278, 278, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 0, 0, 473, 473, 473, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 0, 0, 278, 278, 278, 473, 0, 0, 473, 473, 473, 473, 473, 0, 473, 278, 473, 278, 473, 278, 278, 278, 278, 278, 278, 278, 473, 278, 492, 473, 473, 473, 473, 473, 473, 0, 0, 0, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 492, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 77, 0, 0, 77, 0, 0, 75, 0, 0, 75, 0, 0, 0, 6, 0, 0, 0, 0, 350, 0, 77, 0, 0, 0, 0, 0, 75, 0, 350, 0, 0, 6, 0, 0, 0, 0, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 476, 0, 0, 0, 0, 0, 280, 0, 0, 350, 0, 0, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 350, 0, 0, 0, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 0, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 251, 251, 251, 0, 251, 492, 492, 492, 251, 251, 492, 492, 492, 251, 492, 251, 251, 251, 251, 251, 251, 251, 0, 0, 492, 0, 251, 251, 251, 251, 251, 251, 251, 492, 492, 0, 492, 492, 492, 492, 492, 0, 251, 494, 0, 251, 251, 251, 251, 251, 251, 251, 251, 494, 251, 251, 251, 251, 0, 0, 251, 251, 251, 0, 0, 0, 6, 6, 6, 0, 77, 476, 6, 6, 492, 6, 75, 0, 0, 0, 0, 492, 251, 0, 494, 251, 0, 251, 251, 251, 0, 251, 0, 251, 0, 251, 0, 0, 0, 0, 0, 494, 494, 251, 0, 0, 251, 251, 251, 251, 251, 251, 350, 350, 350, 0, 0, 350, 350, 350, 0, 350, 476, 0, 0, 0, 0, 0, 280, 476, 350, 350, 350, 0, 472, 280, 494, 0, 0, 0, 350, 350, 0, 350, 350, 350, 350, 350, 0, 0, 77, 8, 0, 476, 0, 0, 75, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 494, 0, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 492, 0, 350, 350, 350, 0, 0, 350, 8, 0, 492, 0, 0, 350, 0, 350, 0, 350, 0, 350, 350, 350, 350, 350, 350, 350, 8, 350, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 492, 0, 0, 492, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 492, 492, 0, 0, 0, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 8, 492, 0, 0, 0, 0, 0, 7, 0, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 494, 494, 494, 0, 492, 494, 494, 494, 0, 494, 0, 0, 0, 0, 0, 0, 0, 0, 0, 494, 494, 423, 0, 0, 423, 0, 0, 0, 494, 494, 0, 494, 494, 494, 494, 494, 0, 0, 423, 423, 0, 82, 0, 423, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 0, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 494, 0, 0, 0, 0, 0, 0, 0, 273, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 0, 423, 0, 0, 8, 8, 8, 0, 0, 0, 8, 8, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 0, 0, 273, 0, 0, 0, 492, 492, 492, 0, 0, 492, 492, 492, 0, 492, 273, 273, 0, 89, 0, 273, 0, 0, 492, 492, 492, 0, 0, 0, 0, 0, 0, 0, 492, 492, 0, 492, 492, 492, 492, 492, 0, 0, 0, 0, 7, 7, 7, 273, 0, 273, 7, 7, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 0, 0, 492, 492, 492, 273, 0, 492, 0, 0, 0, 0, 0, 492, 0, 492, 0, 492, 0, 492, 492, 492, 492, 492, 492, 492, 0, 492, 492, 423, 423, 423, 0, 0, 423, 423, 423, 0, 423, 0, 0, 0, 0, 40, 0, 0, 0, 0, 423, 423, 0, 0, 0, 40, 0, 0, 0, 423, 423, 0, 423, 423, 423, 423, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 0, 0, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 40, 40, 423, 423, 423, 0, 424, 423, 0, 0, 0, 0, 0, 423, 0, 423, 0, 423, 32, 423, 423, 423, 423, 423, 423, 423, 0, 423, 32, 0, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34, 273, 273, 273, 0, 0, 273, 273, 273, 0, 273, 0, 0, 0, 0, 0, 0, 0, 0, 32, 273, 273, 261, 0, 0, 0, 0, 40, 0, 273, 273, 34, 273, 273, 273, 273, 273, 32, 0, 0, 0, 0, 0, 279, 0, 0, 0, 0, 0, 34, 0, 0, 0, 279, 0, 0, 0, 0, 0, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 0, 0, 273, 273, 273, 0, 0, 273, 0, 0, 0, 279, 0, 273, 279, 273, 0, 273, 0, 273, 273, 273, 273, 273, 273, 273, 0, 273, 279, 279, 32, 88, 0, 279, 0, 0, 0, 0, 0, 0, 0, 0, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 0, 279, 0, 0, 0, 0, 0, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 40, 40, 0, 279, 40, 40, 40, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 280, 0, 0, 280, 0, 0, 0, 0, 40, 40, 0, 40, 40, 40, 40, 40, 0, 280, 280, 0, 83, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 0, 280, 0, 0, 0, 32, 32, 32, 0, 0, 0, 32, 32, 0, 32, 0, 0, 34, 34, 34, 0, 0, 373, 34, 34, 0, 34, 0, 0, 0, 0, 0, 373, 280, 0, 0, 32, 32, 32, 32, 32, 0, 0, 0, 0, 0, 0, 0, 34, 34, 34, 34, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 373, 0, 0, 373, 0, 0, 0, 279, 279, 279, 0, 0, 279, 279, 279, 0, 279, 373, 373, 0, 0, 0, 373, 0, 0, 0, 279, 279, 0, 0, 0, 0, 0, 0, 0, 279, 279, 0, 279, 279, 279, 279, 279, 0, 0, 0, 0, 0, 0, 0, 373, 0, 373, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 0, 0, 279, 279, 279, 373, 0, 279, 0, 0, 0, 0, 0, 279, 0, 279, 0, 279, 0, 279, 279, 279, 279, 279, 279, 279, 0, 279, 280, 280, 280, 0, 0, 280, 280, 280, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 280, 0, 0, 0, 0, 0, 0, 0, 280, 280, 0, 280, 280, 280, 280, 280, 0, 0, 0, 0, 0, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 0, 182, 0, 0, 0, 0, 0, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 0, 0, 280, 280, 280, 0, 0, 280, 0, 0, 0, 182, 0, 280, 182, 280, 0, 280, 0, 280, 280, 280, 280, 280, 280, 280, 14, 280, 182, 182, 0, 0, 0, 182, 0, 0, 14, 0, 0, 0, 0, 0, 373, 373, 373, 0, 0, 373, 373, 373, 0, 373, 0, 0, 0, 0, 0, 0, 0, 0, 0, 373, 373, 182, 0, 0, 0, 14, 0, 0, 373, 373, 0, 373, 373, 373, 373, 373, 0, 0, 0, 0, 0, 0, 216, 14, 0, 0, 0, 0, 0, 0, 0, 0, 216, 182, 0, 0, 0, 0, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 0, 0, 373, 373, 373, 0, 0, 373, 0, 0, 0, 216, 0, 373, 216, 373, 0, 373, 0, 373, 373, 373, 373, 373, 373, 373, 0, 373, 216, 216, 0, 0, 0, 216, 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 322, 0, 216, 0, 0, 0, 0, 0, 0, 290, 0, 0, 0, 0, 0, 0, 0, 0, 0, 290, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 216, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 290, 0, 0, 290, 0, 0, 0, 182, 182, 182, 0, 0, 182, 182, 182, 0, 182, 290, 290, 0, 0, 0, 290, 0, 0, 0, 182, 182, 0, 0, 0, 0, 0, 0, 0, 182, 182, 0, 182, 182, 182, 182, 182, 0, 0, 0, 0, 0, 0, 0, 290, 0, 290, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 14, 14, 0, 0, 0, 14, 14, 0, 14, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 290, 0, 182, 0, 0, 0, 0, 0, 182, 0, 14, 14, 14, 14, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 0, 0, 286, 0, 0, 0, 216, 216, 216, 0, 0, 216, 216, 216, 0, 216, 286, 286, 0, 0, 0, 286, 0, 0, 0, 216, 216, 0, 0, 0, 0, 0, 0, 0, 216, 216, 0, 216, 216, 216, 216, 216, 0, 0, 0, 0, 0, 0, 0, 286, 0, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 322, 216, 216, 0, 0, 216, 216, 322, 286, 0, 216, 0, 0, 0, 0, 0, 216, 0, 216, 0, 216, 0, 216, 216, 216, 216, 216, 216, 216, 0, 216, 290, 290, 290, 0, 0, 290, 290, 290, 0, 290, 0, 0, 0, 0, 0, 0, 0, 0, 0, 290, 290, 0, 0, 0, 0, 0, 0, 0, 290, 290, 0, 290, 290, 290, 290, 290, 0, 0, 0, 0, 0, 0, 183, 0, 0, 0, 0, 0, 0, 0, 0, 0, 183, 0, 0, 0, 0, 0, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 0, 0, 290, 290, 290, 0, 0, 290, 0, 0, 0, 183, 0, 290, 183, 290, 0, 290, 0, 290, 290, 290, 290, 290, 290, 290, 0, 290, 183, 183, 0, 0, 0, 183, 0, 0, 0, 0, 0, 0, 0, 0, 286, 286, 286, 0, 0, 286, 286, 286, 0, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 286, 183, 0, 0, 0, 0, 0, 0, 286, 286, 0, 286, 286, 286, 286, 286, 0, 0, 0, 0, 0, 0, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 183, 0, 0, 0, 0, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 0, 0, 286, 286, 286, 0, 0, 286, 0, 0, 0, 410, 0, 286, 410, 286, 0, 286, 0, 286, 286, 286, 286, 286, 286, 286, 0, 286, 410, 410, 0, 0, 0, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 0, 410, 0, 0, 0, 0, 0, 0, 411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 411, 0, 0, 411, 0, 0, 0, 183, 183, 183, 0, 0, 183, 183, 183, 0, 183, 411, 411, 0, 0, 0, 411, 0, 0, 0, 183, 183, 0, 0, 0, 0, 0, 0, 0, 183, 183, 0, 183, 183, 183, 183, 183, 0, 0, 0, 0, 0, 0, 0, 411, 0, 411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 318, 0, 0, 0, 0, 0, 0, 0, 0, 0, 318, 411, 0, 183, 0, 0, 0, 0, 0, 183, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 318, 0, 0, 318, 0, 0, 0, 410, 410, 410, 0, 0, 410, 410, 410, 0, 410, 318, 318, 0, 0, 0, 318, 0, 0, 0, 410, 410, 0, 0, 0, 0, 0, 0, 0, 410, 410, 0, 410, 410, 410, 410, 410, 0, 0, 0, 0, 0, 0, 0, 318, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 0, 0, 410, 410, 410, 318, 0, 410, 0, 0, 0, 0, 0, 410, 0, 410, 0, 410, 0, 410, 410, 410, 410, 410, 410, 410, 0, 410, 411, 411, 411, 0, 0, 411, 411, 411, 0, 411, 0, 0, 0, 0, 319, 0, 0, 0, 0, 411, 411, 0, 0, 0, 319, 0, 0, 0, 411, 411, 0, 411, 411, 411, 411, 411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 319, 0, 0, 319, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 319, 319, 411, 411, 411, 319, 0, 411, 0, 0, 0, 0, 0, 411, 0, 411, 0, 411, 0, 411, 411, 411, 411, 411, 411, 411, 0, 411, 0, 0, 0, 0, 0, 319, 0, 0, 0, 0, 0, 0, 0, 0, 318, 318, 318, 0, 0, 318, 318, 318, 0, 318, 0, 0, 0, 0, 0, 0, 0, 0, 0, 318, 0, 0, 0, 0, 0, 319, 0, 0, 318, 318, 0, 318, 318, 318, 318, 318, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 0, 0, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 0, 0, 318, 318, 318, 0, 0, 318, 0, 0, 0, 0, 0, 0, 52, 318, 283, 318, 0, 318, 318, 318, 318, 318, 318, 318, 283, 318, 0, 0, 0, 52, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 283, 0, 0, 283, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 283, 283, 0, 0, 0, 283, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 319, 319, 319, 0, 0, 319, 319, 319, 52, 319, 0, 0, 0, 0, 0, 0, 0, 283, 0, 319, 0, 0, 0, 0, 0, 0, 0, 0, 319, 319, 0, 319, 319, 319, 319, 319, 0, 0, 0, 0, 0, 0, 193, 0, 0, 0, 0, 0, 0, 0, 0, 283, 193, 0, 0, 0, 0, 0, 319, 319, 319, 319, 319, 319, 319, 319, 319, 319, 319, 319, 319, 319, 0, 0, 319, 319, 319, 0, 0, 319, 0, 0, 0, 193, 0, 0, 193, 319, 0, 319, 0, 319, 319, 319, 319, 319, 319, 319, 0, 319, 193, 193, 0, 0, 0, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 0, 0, 0, 0, 0, 0, 0, 189, 0, 52, 52, 52, 0, 0, 52, 52, 52, 189, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 52, 0, 193, 0, 0, 0, 0, 0, 52, 52, 0, 52, 52, 52, 52, 52, 0, 0, 0, 189, 0, 0, 189, 283, 283, 283, 0, 0, 283, 283, 283, 0, 283, 0, 0, 0, 189, 189, 0, 0, 0, 189, 283, 0, 0, 0, 0, 0, 0, 0, 0, 283, 283, 0, 283, 283, 283, 283, 283, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 0, 0, 283, 283, 283, 0, 0, 283, 189, 0, 0, 0, 0, 0, 0, 283, 0, 283, 0, 283, 283, 283, 283, 283, 283, 283, 0, 283, 0, 0, 263, 0, 0, 0, 0, 0, 0, 0, 0, 0, 263, 0, 172, 0, 193, 193, 193, 0, 0, 193, 193, 193, 172, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 193, 0, 0, 0, 0, 0, 0, 263, 193, 193, 262, 193, 193, 193, 193, 193, 0, 0, 0, 172, 0, 0, 217, 0, 263, 263, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 172, 0, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 0, 193, 193, 0, 0, 193, 193, 0, 0, 0, 193, 0, 0, 0, 0, 0, 193, 0, 193, 0, 193, 0, 193, 193, 193, 193, 193, 193, 193, 0, 193, 0, 189, 189, 189, 0, 0, 189, 189, 189, 0, 189, 263, 0, 0, 0, 186, 0, 0, 0, 0, 189, 189, 0, 172, 0, 186, 0, 0, 0, 189, 189, 0, 189, 189, 189, 189, 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 186, 0, 0, 186, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 0, 189, 189, 186, 186, 189, 189, 0, 186, 0, 189, 0, 0, 0, 0, 0, 189, 0, 189, 0, 189, 0, 189, 189, 189, 189, 189, 189, 189, 0, 189, 0, 0, 0, 0, 0, 0, 0, 186, 0, 0, 0, 0, 0, 0, 188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 186, 0, 0, 0, 0, 0, 0, 0, 263, 263, 263, 0, 0, 263, 263, 263, 188, 263, 0, 188, 172, 172, 172, 0, 0, 0, 172, 172, 0, 172, 0, 0, 0, 188, 188, 0, 0, 0, 188, 263, 263, 263, 263, 263, 0, 0, 0, 0, 172, 172, 0, 172, 172, 172, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 263, 0, 187, 0, 0, 0, 0, 0, 0, 0, 0, 0, 187, 188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 187, 0, 0, 187, 0, 0, 0, 186, 186, 186, 0, 0, 186, 186, 186, 0, 186, 187, 187, 0, 0, 0, 187, 0, 0, 0, 186, 186, 0, 0, 0, 0, 0, 0, 0, 186, 186, 0, 186, 186, 186, 186, 186, 0, 0, 0, 0, 0, 0, 0, 0, 0, 187, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 0, 186, 186, 0, 0, 186, 186, 0, 187, 0, 186, 190, 0, 0, 0, 0, 186, 0, 186, 0, 186, 190, 186, 186, 186, 186, 186, 186, 186, 0, 186, 188, 188, 188, 0, 0, 188, 188, 188, 0, 188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 188, 188, 190, 0, 0, 190, 0, 0, 0, 188, 188, 0, 188, 188, 188, 188, 188, 0, 0, 190, 190, 0, 0, 0, 190, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 0, 188, 188, 0, 190, 188, 188, 0, 0, 0, 188, 0, 0, 0, 0, 0, 188, 0, 188, 0, 188, 0, 188, 188, 188, 188, 188, 188, 188, 0, 188, 0, 0, 0, 0, 0, 190, 0, 0, 0, 0, 0, 0, 0, 0, 187, 187, 187, 0, 0, 187, 187, 187, 0, 187, 0, 0, 0, 0, 191, 0, 0, 0, 0, 187, 187, 0, 0, 0, 191, 0, 0, 0, 187, 187, 0, 187, 187, 187, 187, 187, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 191, 0, 0, 191, 187, 187, 187, 187, 187, 187, 187, 187, 187, 187, 0, 187, 187, 191, 191, 187, 187, 0, 191, 0, 187, 0, 0, 0, 0, 0, 187, 0, 187, 0, 187, 0, 187, 187, 187, 187, 187, 187, 187, 0, 187, 0, 0, 0, 0, 0, 0, 0, 191, 0, 0, 0, 0, 0, 0, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 0, 0, 0, 190, 190, 190, 0, 0, 190, 190, 190, 0, 190, 0, 191, 0, 0, 0, 0, 0, 0, 0, 190, 190, 0, 0, 0, 0, 0, 0, 423, 190, 190, 74, 190, 190, 190, 190, 190, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 0, 82, 0, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 0, 190, 190, 0, 0, 190, 190, 0, 423, 0, 190, 0, 0, 0, 0, 0, 190, 0, 190, 0, 190, 0, 190, 190, 190, 190, 190, 190, 190, 0, 190, 273, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 0, 0, 81, 0, 0, 0, 191, 191, 191, 0, 0, 191, 191, 191, 0, 191, 0, 273, 0, 89, 0, 273, 0, 0, 0, 191, 191, 0, 0, 0, 0, 0, 0, 0, 191, 191, 0, 191, 191, 191, 191, 191, 0, 0, 0, 0, 0, 0, 0, 273, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 0, 191, 191, 0, 0, 191, 191, 0, 273, 42, 191, 0, 0, 0, 0, 0, 191, 0, 191, 42, 191, 0, 191, 191, 191, 191, 191, 191, 191, 0, 191, 423, 423, 423, 0, 0, 0, 423, 423, 0, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 0, 423, 423, 0, 423, 423, 423, 423, 423, 42, 42, 0, 279, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 0, 0, 0, 0, 0, 0, 0, 0, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 0, 0, 423, 423, 423, 0, 424, 0, 279, 0, 0, 80, 0, 0, 0, 423, 0, 423, 0, 423, 423, 423, 423, 423, 423, 423, 279, 423, 88, 0, 279, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 273, 273, 0, 0, 0, 273, 273, 0, 273, 0, }; }
|
49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/a404cb04ade8bbc527b55cf473199686102428e1/YyTables.java/buggy/src/org/jruby/parser/YyTables.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1388,
22,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
5411,
374,
16,
225,
1059,
9036,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
225,
1059,
9036,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
565,
374,
16,
225,
1059,
9060,
16,
6647,
1059,
9060,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
565,
374,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
6647,
1059,
9060,
16,
225,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1388,
22,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
5411,
374,
16,
225,
1059,
9036,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
2
] |
if(rTPos == 512)
|
if(rTPos == 512) {
|
private void setupRandPartA() { if(i2 <= last) { chPrev = ch2; ch2 = ll8[tPos]; tPos = tt[tPos]; if (rNToGo == 0) { rNToGo = rNums[rTPos]; rTPos++; if(rTPos == 512) rTPos = 0; } rNToGo--; ch2 ^= (int)((rNToGo == 1) ? 1 : 0); i2++; currentChar = ch2; currentState = RAND_PART_B_STATE; mCrc.updateCRC(ch2); } else { endBlock(); initBlock(); setupBlock(); } }
|
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/e3b6d1fe768d87352d3d0348638911045fc4668e/CBZip2InputStream.java/clean/src/main/org/apache/tools/bzip2/CBZip2InputStream.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3875,
54,
464,
1988,
37,
1435,
288,
3639,
309,
12,
77,
22,
1648,
1142,
13,
288,
5411,
462,
9958,
273,
462,
22,
31,
5411,
462,
22,
273,
6579,
28,
63,
88,
1616,
15533,
5411,
268,
1616,
273,
3574,
63,
88,
1616,
15533,
5411,
309,
261,
86,
50,
28302,
422,
374,
13,
288,
7734,
436,
50,
28302,
273,
436,
25532,
63,
86,
56,
1616,
15533,
7734,
436,
56,
1616,
9904,
31,
7734,
309,
12,
86,
56,
1616,
422,
13908,
13,
288,
10792,
436,
56,
1616,
273,
374,
31,
5411,
289,
5411,
436,
50,
28302,
413,
31,
5411,
462,
22,
10352,
261,
474,
13,
12443,
86,
50,
28302,
422,
404,
13,
692,
404,
294,
374,
1769,
5411,
277,
22,
9904,
31,
5411,
29445,
273,
462,
22,
31,
5411,
17773,
273,
534,
4307,
67,
15055,
67,
38,
67,
7998,
31,
5411,
312,
39,
1310,
18,
2725,
26803,
12,
343,
22,
1769,
3639,
289,
469,
288,
5411,
679,
1768,
5621,
5411,
1208,
1768,
5621,
5411,
3875,
1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
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3875,
54,
464,
1988,
37,
1435,
288,
3639,
309,
12,
77,
22,
1648,
1142,
13,
288,
5411,
462,
9958,
273,
462,
22,
31,
5411,
462,
22,
273,
6579,
28,
63,
88,
1616,
15533,
5411,
268,
1616,
273,
3574,
63,
88,
1616,
15533,
5411,
309,
261,
86,
50,
28302,
422,
374,
13,
288,
7734,
436,
50,
28302,
273,
436,
25532,
63,
86,
56,
1616,
15533,
7734,
436,
56,
1616,
9904,
31,
7734,
309,
12,
86,
56,
1616,
422,
13908,
13,
288,
10792,
436,
56,
1616,
273,
374,
31,
5411,
289,
5411,
436,
50,
28302,
413,
31,
5411,
462,
22,
10352,
261,
474,
13,
12443,
86,
50,
28302,
422,
404,
13,
692,
404,
294,
374,
1769,
5411,
277,
2
] |
if( lengthData == 0 || lengthData % 2 != 0)
|
if (lengthData % 2 != 0)
|
static public byte[] decode ( byte[] binaryData ) { int lengthData = binaryData.length; if( lengthData == 0 || lengthData % 2 != 0) return null; int lengthDecode = lengthData / 2; byte[] decodedData = new byte[lengthDecode]; for( int i = 0; i<lengthDecode; i++ ){ decodedData[i] = (byte)((hexNumberTable[binaryData[i*2]] << 4) | hexNumberTable[binaryData[i*2+1]]); } return decodedData; }
|
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/45e22dff1ad897916568881983b72f7b21d75377/HexBin.java/buggy/src/org/apache/xerces/utils/HexBin.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1071,
225,
1160,
8526,
2495,
261,
1160,
8526,
225,
3112,
751,
262,
288,
3639,
509,
769,
751,
282,
273,
3112,
751,
18,
2469,
31,
3639,
309,
261,
2469,
751,
738,
576,
480,
374,
13,
5411,
327,
446,
31,
3639,
509,
769,
6615,
273,
769,
751,
342,
576,
31,
3639,
1160,
8526,
6383,
751,
273,
394,
1160,
63,
2469,
6615,
15533,
3639,
364,
12,
509,
277,
273,
374,
31,
277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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1071,
225,
1160,
8526,
2495,
261,
1160,
8526,
225,
3112,
751,
262,
288,
3639,
509,
769,
751,
282,
273,
3112,
751,
18,
2469,
31,
3639,
309,
261,
2469,
751,
738,
576,
480,
374,
13,
5411,
327,
446,
31,
3639,
509,
769,
6615,
273,
769,
751,
342,
576,
31,
3639,
1160,
8526,
6383,
751,
273,
394,
1160,
63,
2469,
6615,
15533,
3639,
364,
12,
509,
277,
273,
374,
31,
277,
32,
2469,
6615,
31,
277,
9904,
262,
95,
5411,
6383,
751,
63,
77,
65,
273,
261,
7229,
13,
12443,
7118,
1854,
1388,
63,
8578,
751,
63,
77,
14,
22,
13563,
2296,
1059,
13,
571,
3827,
1854,
1388,
63,
8578,
751,
63,
77,
14,
22,
15,
21,
13563,
1769,
2
] |
* iItemHeight - ( iViewY % iItemHeight );
|
* iItemHeight - ( iViewY % iItemHeight );
|
private final void scrollToView( int iIndex ) { if ( iIndex == -1 ) { return; } int iStartIndex = iViewY / iItemHeight; if ( iStartIndex < 0 ) { iStartIndex = 0; } if ( iIndex > iStartIndex && iIndex < iStartIndex + iVisibleCount - 1 ) { iViewY = ( iIndex * iItemHeight ) - iViewHeight + iItemHeight; if ( iViewY < 0 ) iViewY = 0; } else if ( iIndex <= iStartIndex ) { int iMoveUpTo = iIndex - iVisibleCount; if ( iMoveUpTo < 0 ) { iMoveUpTo = 0; } iViewY = iMoveUpTo * iItemHeight; } else { // ADJUST LOWER END IF WE GO BEYOND int iY = ( iIndex - iStartIndex ) * iItemHeight - ( iViewY % iItemHeight ); if ( iY + iItemHeight > iViewHeight ) // BELOW THE LOWER EDGE { iViewY += iY + iItemHeight - iViewHeight; } } updateScrollBar( ); }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/c60a4815037b62e9358af2625eb6236e7c979d0f/PaletteEditorComposite.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/PaletteEditorComposite.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
727,
918,
5532,
774,
1767,
12,
509,
22696,
262,
202,
95,
202,
202,
430,
261,
22696,
422,
300,
21,
262,
202,
202,
95,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
474,
277,
16792,
273,
277,
1767,
61,
342,
277,
1180,
2686,
31,
202,
202,
430,
261,
277,
16792,
411,
374,
262,
202,
202,
95,
1082,
202,
77,
16792,
273,
374,
31,
202,
202,
97,
202,
202,
430,
261,
22696,
405,
277,
16792,
597,
22696,
411,
277,
16792,
397,
277,
6207,
1380,
300,
404,
262,
202,
202,
95,
1082,
202,
77,
1767,
61,
273,
261,
22696,
380,
277,
1180,
2686,
262,
300,
277,
1767,
2686,
397,
277,
1180,
2686,
31,
1082,
202,
430,
261,
277,
1767,
61,
411,
374,
262,
9506,
202,
77,
1767,
61,
273,
374,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
22696,
1648,
277,
16792,
262,
202,
202,
95,
1082,
202,
474,
277,
7607,
1211,
774,
273,
22696,
300,
277,
6207,
1380,
31,
1082,
202,
430,
261,
277,
7607,
1211,
774,
411,
374,
262,
1082,
202,
95,
9506,
202,
77,
7607,
1211,
774,
273,
374,
31,
1082,
202,
97,
1082,
202,
77,
1767,
61,
273,
277,
7607,
1211,
774,
380,
277,
1180,
2686,
31,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
759,
11738,
46,
5996,
29819,
7273,
11083,
13880,
12389,
605,
2602,
673,
40,
1082,
202,
474,
277,
61,
273,
261,
22696,
300,
277,
16792,
262,
6862,
202,
14,
277,
1180,
2686,
6862,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
727,
918,
5532,
774,
1767,
12,
509,
22696,
262,
202,
95,
202,
202,
430,
261,
22696,
422,
300,
21,
262,
202,
202,
95,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
474,
277,
16792,
273,
277,
1767,
61,
342,
277,
1180,
2686,
31,
202,
202,
430,
261,
277,
16792,
411,
374,
262,
202,
202,
95,
1082,
202,
77,
16792,
273,
374,
31,
202,
202,
97,
202,
202,
430,
261,
22696,
405,
277,
16792,
597,
22696,
411,
277,
16792,
397,
277,
6207,
1380,
300,
404,
262,
202,
202,
95,
1082,
202,
77,
1767,
61,
273,
261,
22696,
380,
277,
1180,
2686,
262,
300,
277,
1767,
2686,
397,
277,
1180,
2686,
31,
1082,
202,
430,
261,
277,
2
] |
public void setCreated(Date createdAt, String createdBy) {
|
public void setCreated(final Date createdAt, final String createdBy) {
|
public void setCreated(Date createdAt, String createdBy) { _createdAt = createdAt; _createdBy = createdBy; }
|
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/dd1523da0d80afe68cbe531453f26c85802eb5e5/Supplier.java/clean/trunk/castor/src/tests/ptf/jdo/rel1toN/Supplier.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
6119,
12,
6385,
2167,
26083,
16,
727,
514,
2522,
858,
13,
288,
3639,
389,
4824,
861,
273,
26083,
31,
3639,
389,
4824,
858,
273,
2522,
858,
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,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
6119,
12,
6385,
2167,
26083,
16,
727,
514,
2522,
858,
13,
288,
3639,
389,
4824,
861,
273,
26083,
31,
3639,
389,
4824,
858,
273,
2522,
858,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
final Map.Entry<String, Component> entry = it.next(); final Component component = entry.getValue(); final String markupId = entry.getKey(); respondHeaderContribution(response, component); respondComponent(response, markupId, component); }
|
CharSequence url = RequestCycle.get().urlFor(requestTarget);
|
public final void respond(final RequestCycle requestCycle) { try { final Application app = Application.get(); // disable component use check since we want to ignore header // contribs final boolean oldUseCheck = app.getDebugSettings().getComponentUseCheck(); app.getDebugSettings().setComponentUseCheck(false); // Determine encoding final String encoding = app.getRequestCycleSettings().getResponseRequestEncoding(); // Set content type based on markup type for page WebResponse response = (WebResponse)requestCycle.getResponse(); response.setCharacterEncoding(encoding); response.setContentType("text/xml; charset=" + encoding); // Make sure it is not cached by a response.setHeader("Expires", "Mon, 26 Jul 1997 05:00:00 GMT"); response.setHeader("Cache-Control", "no-cache, must-revalidate"); response.setHeader("Pragma", "no-cache"); response.write("<?xml version=\"1.0\" encoding=\""); response.write(encoding); response.write("\"?>"); response.write("<ajax-response>"); for (String js : prependJavascripts) { respondInvocation(response, js); } Iterator<Entry<String, Component>> it = markupIdToComponent.entrySet().iterator(); while (it.hasNext()) { final Map.Entry<String, Component> entry = it.next(); final Component component = entry.getValue(); final String markupId = entry.getKey(); respondHeaderContribution(response, component); respondComponent(response, markupId, component); } for (String js : appendJavascripts) { respondInvocation(response, js); } response.write("</ajax-response>"); // restore component use check app.getDebugSettings().setComponentUseCheck(oldUseCheck); } catch (RuntimeException ex) { // log the error but output nothing in the response, parse failure // of response will cause any javascript failureHandler to be // invoked LOG.error("Error while responding to an AJAX request: " + toString(), ex); System.out.println(ex.getMessage()); ex.printStackTrace(); } }
|
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/e7696d211583f9d4d9d698b6894d519a74a28e45/AjaxRequestTarget.java/clean/wicket/src/java/wicket/ajax/AjaxRequestTarget.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
6846,
12,
6385,
1567,
13279,
590,
13279,
13,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
6385,
4257,
595,
273,
4257,
18,
588,
5621,
1082,
202,
759,
4056,
1794,
999,
866,
3241,
732,
2545,
358,
2305,
1446,
1082,
202,
759,
13608,
87,
1082,
202,
6385,
1250,
1592,
3727,
1564,
273,
595,
18,
588,
2829,
2628,
7675,
588,
1841,
3727,
1564,
5621,
1082,
202,
2910,
18,
588,
2829,
2628,
7675,
542,
1841,
3727,
1564,
12,
5743,
1769,
1082,
202,
759,
10229,
2688,
1082,
202,
6385,
514,
2688,
273,
595,
18,
588,
691,
13279,
2628,
7675,
588,
1064,
691,
4705,
5621,
1082,
202,
759,
1000,
913,
618,
2511,
603,
9813,
618,
364,
1363,
1082,
202,
4079,
1064,
766,
273,
261,
4079,
1064,
13,
2293,
13279,
18,
588,
1064,
5621,
1082,
202,
2740,
18,
542,
7069,
4705,
12,
5999,
1769,
1082,
202,
2740,
18,
542,
8046,
2932,
955,
19,
2902,
31,
4856,
1546,
397,
2688,
1769,
1082,
202,
759,
4344,
3071,
518,
353,
486,
3472,
635,
279,
1082,
202,
2740,
18,
542,
1864,
2932,
14449,
3113,
315,
11415,
16,
10659,
804,
332,
23673,
27,
15331,
30,
713,
30,
713,
21706,
8863,
1082,
202,
2740,
18,
542,
1864,
2932,
1649,
17,
3367,
3113,
315,
2135,
17,
2493,
16,
1297,
17,
266,
5662,
8863,
1082,
202,
2740,
18,
542,
1864,
2932,
2050,
9454,
3113,
315,
2135,
17,
2493,
8863,
1082,
202,
2740,
18,
2626,
2932,
12880,
2902,
1177,
5189,
21,
18,
20,
2412,
2688,
5189,
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,
6846,
12,
6385,
1567,
13279,
590,
13279,
13,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
6385,
4257,
595,
273,
4257,
18,
588,
5621,
1082,
202,
759,
4056,
1794,
999,
866,
3241,
732,
2545,
358,
2305,
1446,
1082,
202,
759,
13608,
87,
1082,
202,
6385,
1250,
1592,
3727,
1564,
273,
595,
18,
588,
2829,
2628,
7675,
588,
1841,
3727,
1564,
5621,
1082,
202,
2910,
18,
588,
2829,
2628,
7675,
542,
1841,
3727,
1564,
12,
5743,
1769,
1082,
202,
759,
10229,
2688,
1082,
202,
6385,
514,
2688,
273,
595,
18,
588,
691,
13279,
2628,
7675,
588,
1064,
691,
4705,
5621,
1082,
202,
759,
1000,
913,
618,
2511,
603,
9813,
618,
364,
1363,
1082,
2
] |
public void fill3DRect(int x, int y, int w, int h, boolean raised)
|
public void fill3DRect(int x, int y, int width, int height, boolean raised)
|
public void fill3DRect(int x, int y, int w, int h, boolean raised) { // TODO }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/3606b7996ab5dbdf4a0195418025163510897b5d/DebugGraphics.java/buggy/core/src/classpath/javax/javax/swing/DebugGraphics.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3636,
23,
40,
6120,
12,
474,
619,
16,
509,
677,
16,
509,
1835,
16,
509,
2072,
16,
1250,
11531,
13,
225,
288,
202,
202,
759,
2660,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3636,
23,
40,
6120,
12,
474,
619,
16,
509,
677,
16,
509,
1835,
16,
509,
2072,
16,
1250,
11531,
13,
225,
288,
202,
202,
759,
2660,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Item myItem = i.next(); filterItem(c, myItem); c.commit();
|
applyFiltersItem(c, i.next());
|
public static void applyFiltersAllItems(Context c) throws Exception { ItemIterator i = Item.findAll(c); while (i.hasNext()) { Item myItem = i.next(); filterItem(c, myItem); // commit changes after each filtered item c.commit(); } }
|
1868 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1868/023d79e6144ffc2d11960ed6775770e4300da5e6/MediaFilterManager.java/buggy/dspace/src/org/dspace/app/mediafilter/MediaFilterManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2230,
5422,
1595,
3126,
12,
1042,
276,
13,
1216,
1185,
565,
288,
3639,
4342,
3198,
277,
273,
4342,
18,
4720,
1595,
12,
71,
1769,
3639,
1323,
261,
77,
18,
5332,
2134,
10756,
3639,
288,
5411,
4342,
3399,
1180,
273,
277,
18,
4285,
5621,
5411,
1034,
1180,
12,
71,
16,
3399,
1180,
1769,
5411,
368,
3294,
3478,
1839,
1517,
5105,
761,
5411,
276,
18,
7371,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
760,
918,
2230,
5422,
1595,
3126,
12,
1042,
276,
13,
1216,
1185,
565,
288,
3639,
4342,
3198,
277,
273,
4342,
18,
4720,
1595,
12,
71,
1769,
3639,
1323,
261,
77,
18,
5332,
2134,
10756,
3639,
288,
5411,
4342,
3399,
1180,
273,
277,
18,
4285,
5621,
5411,
1034,
1180,
12,
71,
16,
3399,
1180,
1769,
5411,
368,
3294,
3478,
1839,
1517,
5105,
761,
5411,
276,
18,
7371,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
PsiField field = ((PsiField)variable);
|
PsiField field = (PsiField)variable;
|
static HighlightInfo checkVariableAlreadyDefined(PsiVariable variable) { boolean isIncorrect = false; PsiIdentifier identifier = variable.getNameIdentifier(); String name = identifier.getText(); if (variable instanceof PsiLocalVariable || variable instanceof PsiParameter && ((PsiParameter)variable).getDeclarationScope() instanceof PsiCatchSection || variable instanceof PsiParameter && ((PsiParameter)variable).getDeclarationScope() instanceof PsiForeachStatement) { PsiElement scope = PsiTreeUtil.getParentOfType(variable, PsiFile.class, PsiMethod.class, PsiClassInitializer.class); VariablesNotProcessor proc = new VariablesNotProcessor(variable, false); PsiScopesUtil.treeWalkUp(proc, identifier, scope); if (proc.size() > 0) { isIncorrect = true; } } else if (variable instanceof PsiField) { PsiField field = ((PsiField)variable); PsiClass aClass = field.getContainingClass(); if (aClass == null) return null; PsiField fieldByName = aClass.findFieldByName(name, false); if (fieldByName != null && fieldByName != field) { isIncorrect = true; } } else { PsiElement scope = variable.getParent(); PsiElement[] children = scope.getChildren(); for (PsiElement child : children) { if (child instanceof PsiVariable) { if (child.equals(variable)) continue; if (name.equals(((PsiVariable)child).getName())) { isIncorrect = true; break; } } } } if (isIncorrect) { String description = JavaErrorMessages.message("variable.already.defined", name); HighlightInfo highlightInfo = HighlightInfo.createHighlightInfo(HighlightInfoType.ERROR, identifier, description); QuickFixAction.registerQuickFixAction(highlightInfo, new ReuseVariableDeclarationFix(variable, identifier), null); return highlightInfo; } return null; }
|
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/6b6540525343bb6bca65c54c0979dafbbd698ae3/HighlightUtil.java/buggy/codeInsight/impl/com/intellij/codeInsight/daemon/impl/analysis/HighlightUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
31386,
966,
866,
3092,
9430,
8116,
12,
52,
7722,
3092,
2190,
13,
288,
565,
1250,
8048,
6746,
273,
629,
31,
565,
453,
7722,
3004,
2756,
273,
2190,
18,
17994,
3004,
5621,
565,
514,
508,
273,
2756,
18,
588,
1528,
5621,
565,
309,
261,
6105,
1276,
453,
7722,
2042,
3092,
3639,
747,
2190,
1276,
453,
7722,
1662,
597,
14015,
52,
7722,
1662,
13,
6105,
2934,
588,
6094,
3876,
1435,
1276,
453,
7722,
14842,
5285,
3639,
747,
2190,
1276,
453,
7722,
1662,
597,
14015,
52,
7722,
1662,
13,
6105,
2934,
588,
6094,
3876,
1435,
1276,
453,
7722,
13573,
497,
3406,
13,
288,
1377,
453,
7722,
1046,
2146,
273,
453,
7722,
2471,
1304,
18,
588,
3054,
18859,
12,
6105,
16,
453,
7722,
812,
18,
1106,
16,
453,
7722,
1305,
18,
1106,
16,
453,
7722,
797,
14729,
18,
1106,
1769,
1377,
23536,
1248,
5164,
5418,
273,
394,
23536,
1248,
5164,
12,
6105,
16,
629,
1769,
1377,
453,
7722,
12668,
1304,
18,
3413,
9463,
1211,
12,
9381,
16,
2756,
16,
2146,
1769,
1377,
309,
261,
9381,
18,
1467,
1435,
405,
374,
13,
288,
3639,
8048,
6746,
273,
638,
31,
1377,
289,
565,
289,
565,
469,
309,
261,
6105,
1276,
453,
7722,
974,
13,
288,
1377,
453,
7722,
974,
652,
273,
261,
52,
7722,
974,
13,
6105,
31,
1377,
453,
7722,
797,
20148,
273,
652,
18,
588,
24344,
797,
5621,
1377,
309,
261,
69,
797,
422,
446,
13,
327,
446,
31,
1377,
453,
7722,
974,
652,
5911,
273,
20148,
18,
4720,
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,
760,
31386,
966,
866,
3092,
9430,
8116,
12,
52,
7722,
3092,
2190,
13,
288,
565,
1250,
8048,
6746,
273,
629,
31,
565,
453,
7722,
3004,
2756,
273,
2190,
18,
17994,
3004,
5621,
565,
514,
508,
273,
2756,
18,
588,
1528,
5621,
565,
309,
261,
6105,
1276,
453,
7722,
2042,
3092,
3639,
747,
2190,
1276,
453,
7722,
1662,
597,
14015,
52,
7722,
1662,
13,
6105,
2934,
588,
6094,
3876,
1435,
1276,
453,
7722,
14842,
5285,
3639,
747,
2190,
1276,
453,
7722,
1662,
597,
14015,
52,
7722,
1662,
13,
6105,
2934,
588,
6094,
3876,
1435,
1276,
453,
7722,
13573,
497,
3406,
13,
288,
1377,
453,
7722,
1046,
2146,
273,
453,
7722,
2471,
1304,
18,
588,
3054,
18859,
12,
6105,
16,
2
] |
if (shouldUseQuotes && (defaultValue != null))
|
if (shouldUseQuotes)
|
protected void printDefaultValue(Object defaultValue, int typeCode) throws IOException { if (defaultValue != null) { boolean shouldUseQuotes = !TypeMap.isNumericType(typeCode); if (shouldUseQuotes && (defaultValue != null)) { // characters are only escaped when within a string literal print(getPlatformInfo().getValueQuoteToken()); print(escapeStringValue(defaultValue.toString())); print(getPlatformInfo().getValueQuoteToken()); } else { print(defaultValue.toString()); } } }
|
3517 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3517/4c8a7b56c9ede3ed062428054e9191a5e665ad2a/SqlBuilder.java/clean/src/java/org/apache/ddlutils/platform/SqlBuilder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1172,
15646,
12,
921,
4593,
16,
509,
618,
1085,
13,
1216,
1860,
565,
288,
3639,
309,
261,
27652,
480,
446,
13,
3639,
288,
5411,
1250,
1410,
3727,
14292,
273,
401,
23968,
18,
291,
9902,
559,
12,
723,
1085,
1769,
7734,
309,
261,
13139,
3727,
14292,
13,
5411,
288,
7734,
368,
3949,
854,
1338,
8345,
1347,
3470,
279,
533,
7158,
1171,
1172,
12,
588,
8201,
966,
7675,
24805,
10257,
1345,
10663,
7734,
1172,
12,
6939,
19733,
12,
27652,
18,
10492,
1435,
10019,
7734,
1172,
12,
588,
8201,
966,
7675,
24805,
10257,
1345,
10663,
5411,
289,
5411,
469,
5411,
288,
7734,
1172,
12,
27652,
18,
10492,
10663,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4750,
918,
1172,
15646,
12,
921,
4593,
16,
509,
618,
1085,
13,
1216,
1860,
565,
288,
3639,
309,
261,
27652,
480,
446,
13,
3639,
288,
5411,
1250,
1410,
3727,
14292,
273,
401,
23968,
18,
291,
9902,
559,
12,
723,
1085,
1769,
7734,
309,
261,
13139,
3727,
14292,
13,
5411,
288,
7734,
368,
3949,
854,
1338,
8345,
1347,
3470,
279,
533,
7158,
1171,
1172,
12,
588,
8201,
966,
7675,
24805,
10257,
1345,
10663,
7734,
1172,
12,
6939,
19733,
12,
27652,
18,
10492,
1435,
10019,
7734,
1172,
12,
588,
8201,
966,
7675,
24805,
10257,
1345,
10663,
5411,
289,
5411,
469,
5411,
288,
7734,
1172,
12,
27652,
18,
10492,
10663,
5411,
289,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100
] |
RubyClass newClass = new RubyClass(getRuntime(), getRuntime().getClasses().getClassClass(), this, parentModule, name);
|
Ruby runtime = getRuntime(); RubyClass newClass = new RubyClass(runtime, runtime.getClasses().getClassClass(), this, parentModule, name);
|
public RubyClass newSubClass(String name, RubyModule parentModule) { RubyClass newClass = new RubyClass(getRuntime(), getRuntime().getClasses().getClassClass(), this, parentModule, name); newClass.makeMetaClass(getMetaClass()); newClass.inheritedBy(this); getRuntime().getClasses().putClass(name, newClass); return newClass; }
|
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/750e66982e97bcb72545a39ceacf6ee32a52a135/RubyClass.java/buggy/src/org/jruby/RubyClass.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
797,
394,
1676,
797,
12,
780,
508,
16,
19817,
3120,
982,
3120,
13,
288,
3639,
19817,
3099,
273,
18814,
5621,
19817,
797,
394,
797,
273,
394,
19817,
797,
12,
9448,
16,
3099,
18,
588,
4818,
7675,
588,
797,
797,
9334,
333,
16,
982,
3120,
16,
508,
1769,
3639,
394,
797,
18,
6540,
2781,
797,
12,
588,
2781,
797,
10663,
3639,
394,
797,
18,
6018,
18696,
12,
2211,
1769,
3639,
18814,
7675,
588,
4818,
7675,
458,
797,
12,
529,
16,
394,
797,
1769,
3639,
327,
394,
797,
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,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
797,
394,
1676,
797,
12,
780,
508,
16,
19817,
3120,
982,
3120,
13,
288,
3639,
19817,
3099,
273,
18814,
5621,
19817,
797,
394,
797,
273,
394,
19817,
797,
12,
9448,
16,
3099,
18,
588,
4818,
7675,
588,
797,
797,
9334,
333,
16,
982,
3120,
16,
508,
1769,
3639,
394,
797,
18,
6540,
2781,
797,
12,
588,
2781,
797,
10663,
3639,
394,
797,
18,
6018,
18696,
12,
2211,
1769,
3639,
18814,
7675,
588,
4818,
7675,
458,
797,
12,
529,
16,
394,
797,
1769,
3639,
327,
394,
797,
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
] |
verifyDef(qd); QuantumStrategy strg = null; QuantumMap qMap = null; switch (qd.family) { case LINEAR: case POLYNOMIAL: qMap = new PolynomialMap(); break; case LOGARITHMIC: qMap = new LogarithmicMap(); break; case EXPONENTIAL: qMap = new ExponentialMap(); break; default: } strg = getQuantization(qd); strg.setMap(qMap); return strg;
|
verifyDef(qd); QuantumStrategy strg = null; strg = getQuantization(qd); if (strg == null) throw new IllegalArgumentException("Unsupported strategy"); return strg;
|
public static QuantumStrategy getStrategy(QuantumDef qd) { verifyDef(qd); QuantumStrategy strg = null; QuantumMap qMap = null; switch (qd.family) { case LINEAR: case POLYNOMIAL: qMap = new PolynomialMap(); break; case LOGARITHMIC: qMap = new LogarithmicMap(); break; case EXPONENTIAL: qMap = new ExponentialMap(); break; default: //Never reached, verifyDef throws exception if wrong family. } strg = getQuantization(qd); strg.setMap(qMap); return strg; }
|
55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/de5b83ecccd54946c2125525e83cea40c4c4dd36/QuantumFactory.java/clean/SRC/org/openmicroscopy/shoola/env/rnd/quantum/QuantumFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
4783,
970,
379,
4525,
24017,
3131,
12,
19471,
379,
3262,
1043,
72,
13,
202,
95,
202,
202,
8705,
3262,
12,
31886,
1769,
202,
202,
19471,
379,
4525,
609,
75,
273,
446,
31,
202,
202,
19471,
379,
863,
1043,
863,
273,
446,
31,
202,
202,
9610,
261,
31886,
18,
9309,
13,
288,
1082,
202,
3593,
14340,
985,
30,
1082,
202,
3593,
19383,
17317,
1872,
6365,
30,
9506,
202,
85,
863,
273,
394,
6730,
13602,
863,
5621,
9506,
202,
8820,
31,
1082,
202,
3593,
2018,
985,
6379,
22972,
30,
9506,
202,
85,
863,
273,
394,
1827,
31249,
335,
863,
5621,
9506,
202,
8820,
31,
1082,
202,
3593,
22615,
15624,
6365,
30,
9506,
202,
85,
863,
273,
394,
29770,
649,
863,
5621,
4697,
202,
8820,
31,
1082,
202,
1886,
30,
4697,
202,
759,
50,
6084,
8675,
16,
3929,
3262,
1216,
1520,
309,
7194,
6755,
18,
1082,
202,
97,
202,
202,
701,
75,
273,
336,
19471,
1588,
12,
31886,
1769,
202,
202,
701,
75,
18,
542,
863,
12,
85,
863,
1769,
202,
202,
2463,
609,
75,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
482,
760,
4783,
970,
379,
4525,
24017,
3131,
12,
19471,
379,
3262,
1043,
72,
13,
202,
95,
202,
202,
8705,
3262,
12,
31886,
1769,
202,
202,
19471,
379,
4525,
609,
75,
273,
446,
31,
202,
202,
19471,
379,
863,
1043,
863,
273,
446,
31,
202,
202,
9610,
261,
31886,
18,
9309,
13,
288,
1082,
202,
3593,
14340,
985,
30,
1082,
202,
3593,
19383,
17317,
1872,
6365,
30,
9506,
202,
85,
863,
273,
394,
6730,
13602,
863,
5621,
9506,
202,
8820,
31,
1082,
202,
3593,
2018,
985,
6379,
22972,
30,
9506,
202,
85,
863,
273,
394,
1827,
31249,
335,
863,
5621,
9506,
202,
8820,
31,
1082,
202,
3593,
22615,
15624,
6365,
30,
9506,
202,
85,
863,
273,
394,
2
] |
res = parseAliasResource(node, xpath);
|
res = parseAliasResource(node,xpath); if(res!=null){ res.name =table.name; }
|
private ICUResourceWriter.Resource parseZone(Node root, StringBuffer xpath){ ICUResourceWriter.ResourceArray array = new ICUResourceWriter.ResourceArray(); //ICUResourceWriter.Resource current = null; if(isDraft(root, xpath)&& !writeDraft){ return null; } if(isAlternate(root)){ return null; } int savedLength = xpath.length(); getXPath(root, xpath); int oldLength = xpath.length(); ICUResourceWriter.ResourceString type = new ICUResourceWriter.ResourceString(); ICUResourceWriter.ResourceString ss = new ICUResourceWriter.ResourceString(); ICUResourceWriter.ResourceString sd = new ICUResourceWriter.ResourceString(); ICUResourceWriter.ResourceString sg = new ICUResourceWriter.ResourceString(); ICUResourceWriter.ResourceString ls = new ICUResourceWriter.ResourceString(); ICUResourceWriter.ResourceString ld = new ICUResourceWriter.ResourceString(); ICUResourceWriter.ResourceString lg = new ICUResourceWriter.ResourceString(); ICUResourceWriter.ResourceString exemplarCity = new ICUResourceWriter.ResourceString(); for(Node node=root.getFirstChild(); node!=null; node=node.getNextSibling()){ if(node.getNodeType()!=Node.ELEMENT_NODE){ continue; } String name = node.getNodeName(); ICUResourceWriter.Resource res = null; getXPath(node, xpath); if(name.equals(LDMLConstants.ALIAS)){ res = parseAliasResource(node, xpath); return res; }else if(name.equals(LDMLConstants.DEFAULT)){ ICUResourceWriter.ResourceString str = new ICUResourceWriter.ResourceString(); str.name = name; str.val = LDMLUtilities.getAttributeValue(node,LDMLConstants.TYPE); res = str; }else if(name.equals(LDMLConstants.SHORT)){ /* get information about long */ Node ssn = getVettedNode(node, LDMLConstants.STANDARD, xpath); Node sdn = getVettedNode(node, LDMLConstants.DAYLIGHT, xpath); Node sgn = getVettedNode(node, LDMLConstants.GENERIC, xpath); if(locName.equals("root")){ sg.val = ""; ss.val = ""; sd.val = ""; }else if((ssn==null||sdn==null) && !writeDraft){ System.err.println("WARNING: Could not get timeZone string for " + xpath.toString()+" not producing the resource."); //System.exit(-1); } if(ssn!=null && sdn!=null) { ss.val = LDMLUtilities.getNodeValue(ssn); sd.val = LDMLUtilities.getNodeValue(sdn); if (sgn != null) { sg.val = LDMLUtilities.getNodeValue(sgn); if(sg.val==null){ sg.val = ""; } } // ok the nodes are availble but // the values are null .. so just set the values to empty strings if(ss.val==null){ ss.val = ""; } if(sd.val==null){ sd.val = ""; } } }else if(name.equals(LDMLConstants.LONG)){ /* get information about long */ Node lsn = getVettedNode(node, LDMLConstants.STANDARD, xpath); Node ldn = getVettedNode(node, LDMLConstants.DAYLIGHT, xpath); Node lgn = getVettedNode(node, LDMLConstants.GENERIC, xpath); if(locName.equals("root")){ lg.val = ""; ls.val = ""; ld.val = ""; }else if((lsn==null||ldn==null) && !writeDraft ){ System.err.println("WARNING: Could not get timeZone string for " + xpath.toString()+" not producing the resource."); //System.exit(-1); } if(lsn != null && ldn !=null ){ ls.val = LDMLUtilities.getNodeValue(lsn); ld.val = LDMLUtilities.getNodeValue(ldn); if (lgn != null) { lg.val = LDMLUtilities.getNodeValue(lgn); if (lg.val==null){ lg.val = ""; } } // ok the nodes are availble but // the values are null .. so just set the values to empty strings if(ls.val==null){ ls.val = ""; } if(ld.val==null){ ld.val = ""; } } }else if(name.equals(LDMLConstants.EXEMPLAR_CITY)){ if(isDraft(node, xpath)&& !writeDraft){ return null; } if(isAlternate(node)){ return null; } exemplarCity.val = LDMLUtilities.getNodeValue(node); if(exemplarCity.val==null){ exemplarCity.val = ""; } }else{ System.err.println("Encountered unknown <"+root.getNodeName()+"> subelement: "+name); System.exit(-1); } xpath.delete(oldLength, xpath.length()); } type.val = LDMLUtilities.getAttributeValue(root, LDMLConstants.TYPE); if(type.val==null){ type.val=""; } if(exemplarCity.val==null){ Node ecn = LDMLUtilities.getNode(root, LDMLConstants.EXEMPLAR_CITY, fullyResolvedDoc, xpath.toString()); //TODO: Fix this when zoneStrings format c if(ecn!=null){ exemplarCity.val = LDMLUtilities.getNodeValue(ecn); }else{ exemplarCity.val = type.val.replaceAll(".*?/(.*)", "$1").replaceAll("_"," "); } } /* assemble the array */ if(type.val!=null ){ if(ls.val==null){ ls.val =""; } if(ss.val==null){ ss.val =""; } if(ld.val==null){ ld.val =""; } if(sd.val==null){ sd.val =""; } // array is length // 4 if no exemplar and no generic // 5 if exemplar and no generic // 6 if no exemplar and generic // 7 if exemplar and generic // so length of array defines what optional data we have array.first = type; /* [0] == type */ type.next = ls; /* [1] == long name for Standard */ ls.next = ss; /* [2] == short name for standard */ ss.next = ld; /* [3] == long name for daylight */ ld.next = sd; /* [4] == short name for standard */ if(exemplarCity.val!=null){ sd.next = exemplarCity; /* [5] == exemplarCity */ if (lg.val != null && sg.val != null) { exemplarCity.next = lg; /* [6] == long name for Generic */ lg.next = sg; /* [7] == short name for Generic */ } } else { if (lg.val != null && sg.val != null) { sd.next = lg; /* [5] == long name for Generic */ lg.next = sg; /* [6] == short name for Generic */ } } } xpath.delete(savedLength, xpath.length()); if(array.first!=null){ return array; } return null; }
|
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/230eae8c0e8af1ce1a52a039b11b51d1007827f5/LDML2ICUConverter.java/buggy/tools/java/org/unicode/cldr/icu/LDML2ICUConverter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
28009,
1420,
2289,
18,
1420,
1109,
4226,
12,
907,
1365,
16,
6674,
6748,
15329,
3639,
28009,
1420,
2289,
18,
1420,
1076,
526,
273,
394,
28009,
1420,
2289,
18,
1420,
1076,
5621,
3639,
368,
2871,
57,
1420,
2289,
18,
1420,
783,
273,
446,
31,
3639,
309,
12,
291,
12714,
12,
3085,
16,
6748,
13,
10,
10,
401,
2626,
12714,
15329,
5411,
327,
446,
31,
3639,
289,
3639,
309,
12,
291,
25265,
12,
3085,
3719,
95,
5411,
327,
446,
31,
3639,
289,
3639,
509,
5198,
1782,
273,
6748,
18,
2469,
5621,
3639,
6538,
743,
12,
3085,
16,
6748,
1769,
3639,
509,
1592,
1782,
273,
6748,
18,
2469,
5621,
3639,
28009,
1420,
2289,
18,
1420,
780,
618,
273,
394,
28009,
1420,
2289,
18,
1420,
780,
5621,
3639,
28009,
1420,
2289,
18,
1420,
780,
5202,
273,
394,
28009,
1420,
2289,
18,
1420,
780,
5621,
3639,
28009,
1420,
2289,
18,
1420,
780,
8349,
273,
394,
28009,
1420,
2289,
18,
1420,
780,
5621,
3639,
28009,
1420,
2289,
18,
1420,
780,
11150,
273,
394,
28009,
1420,
2289,
18,
1420,
780,
5621,
3639,
28009,
1420,
2289,
18,
1420,
780,
7180,
273,
394,
28009,
1420,
2289,
18,
1420,
780,
5621,
3639,
28009,
1420,
2289,
18,
1420,
780,
16916,
273,
394,
28009,
1420,
2289,
18,
1420,
780,
5621,
3639,
28009,
1420,
2289,
18,
1420,
780,
15266,
273,
394,
28009,
1420,
2289,
18,
1420,
780,
5621,
3639,
28009,
1420,
2289,
18,
1420,
780,
431,
351,
412,
297,
22236,
273,
394,
28009,
1420,
2289,
18,
1420,
780,
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,
28009,
1420,
2289,
18,
1420,
1109,
4226,
12,
907,
1365,
16,
6674,
6748,
15329,
3639,
28009,
1420,
2289,
18,
1420,
1076,
526,
273,
394,
28009,
1420,
2289,
18,
1420,
1076,
5621,
3639,
368,
2871,
57,
1420,
2289,
18,
1420,
783,
273,
446,
31,
3639,
309,
12,
291,
12714,
12,
3085,
16,
6748,
13,
10,
10,
401,
2626,
12714,
15329,
5411,
327,
446,
31,
3639,
289,
3639,
309,
12,
291,
25265,
12,
3085,
3719,
95,
5411,
327,
446,
31,
3639,
289,
3639,
509,
5198,
1782,
273,
6748,
18,
2469,
5621,
3639,
6538,
743,
12,
3085,
16,
6748,
1769,
3639,
509,
1592,
1782,
273,
6748,
18,
2469,
5621,
3639,
28009,
1420,
2289,
18,
1420,
780,
618,
273,
394,
28009,
2
] |
SVNProviderPlugin.getPlugin().getStatusCacheManager().refreshStatus(container, IResource.DEPTH_ONE);
|
IResource[] refreshed = SVNProviderPlugin.getPlugin().getStatusCacheManager().refreshStatus(container, IResource.DEPTH_ONE);
|
public void resourceChanged(IResourceChangeEvent event) { try { final Set changedContainers = new HashSet(); event.getDelta().accept(new IResourceDeltaVisitor() { public boolean visit(IResourceDelta delta) { IResource resource = delta.getResource(); if(resource.getType()==IResource.ROOT) { // continue with the delta return true; } if (resource.getType() == IResource.PROJECT) { // If the project is not accessible, don't process it if (!resource.isAccessible()) return false; } String name = resource.getName(); int kind = delta.getKind(); // if the file has changed but not in a way that we care // then ignore the change (e.g. marker changes to files). if(kind == IResourceDelta.CHANGED && (delta.getFlags() & INTERESTING_CHANGES) == 0) { return true; } IResource toBeNotified = null; if(name.equals(SVNConstants.SVN_DIRNAME)) { handleSVNDir((IContainer)resource, kind); } if(isEntries(resource)) { toBeNotified = handleChangedEntries(resource, kind); } else if(isDirProps(resource)) { toBeNotified = handleChangedDirProps(resource, kind); } else if(isPropFile(resource)) { toBeNotified = handleChangedPropFile(resource, kind); } if(toBeNotified != null) { changedContainers.add(toBeNotified); if(Policy.DEBUG_METAFILE_CHANGES) { System.out.println("[svn] metafile changed : " + resource.getFullPath()); //$NON-NLS-1$ } return false; /*don't visit any children we have all the information we need*/ } else { return true; } } }, IContainer.INCLUDE_TEAM_PRIVATE_MEMBERS); if(!changedContainers.isEmpty()) { for (Iterator it = changedContainers.iterator(); it.hasNext();){ IContainer container = ((IContainer) it.next()).getParent(); // the resources that have potentially changed are the members of the folder // and the folder itself IResource[] members = container.members(true); IResource[] resources = new IResource[members.length+1]; resources[0] = container; System.arraycopy(members,0,resources,1,members.length); // we update the members. Refresh can be useful in case of revert etc ... container.refreshLocal(IResource.DEPTH_ONE, new NullProgressMonitor()); //ISVNLocalFolder svnContainer = (ISVNLocalFolder)SVNWorkspaceRoot.getSVNResourceFor(container); //svnContainer.refreshStatus(IResource.DEPTH_ONE); SVNProviderPlugin.getPlugin().getStatusCacheManager().refreshStatus(container, IResource.DEPTH_ONE); SVNProviderPlugin.broadcastSyncInfoChanges(resources); } } } catch(CoreException e) { SVNProviderPlugin.log(e.getStatus()); } }
|
6016 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6016/11793221cd41a4eae344c6874d7e29868404e4a0/SyncFileChangeListener.java/buggy/subclipse/core/src/org/tigris/subversion/subclipse/core/resourcesListeners/SyncFileChangeListener.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1058,
5033,
12,
45,
1420,
20930,
871,
13,
288,
202,
202,
698,
288,
1082,
202,
6385,
1000,
3550,
11177,
273,
394,
6847,
5621,
25083,
202,
2575,
18,
588,
9242,
7675,
9436,
12,
2704,
467,
1420,
9242,
7413,
1435,
288,
9506,
202,
482,
1250,
3757,
12,
45,
1420,
9242,
3622,
13,
288,
6862,
202,
45,
1420,
1058,
273,
3622,
18,
588,
1420,
5621,
6862,
25083,
202,
430,
12,
3146,
18,
588,
559,
1435,
631,
45,
1420,
18,
9185,
13,
288,
25083,
202,
759,
1324,
598,
326,
3622,
25083,
202,
2463,
638,
31,
6862,
202,
97,
6862,
25083,
202,
430,
261,
3146,
18,
588,
559,
1435,
422,
467,
1420,
18,
17147,
13,
288,
25083,
202,
759,
971,
326,
1984,
353,
486,
12718,
16,
2727,
1404,
1207,
518,
25083,
202,
430,
16051,
3146,
18,
291,
10451,
10756,
327,
629,
31,
6862,
202,
97,
6862,
6862,
6862,
6862,
9506,
202,
780,
508,
273,
1058,
18,
17994,
5621,
6862,
202,
474,
3846,
273,
3622,
18,
588,
5677,
5621,
6862,
25083,
202,
759,
309,
326,
585,
711,
3550,
1496,
486,
316,
279,
4031,
716,
732,
7671,
6862,
202,
759,
1508,
2305,
326,
2549,
261,
73,
18,
75,
18,
5373,
3478,
358,
1390,
2934,
6862,
202,
430,
12,
9224,
422,
467,
1420,
9242,
18,
24435,
597,
9944,
202,
12,
9878,
18,
588,
5094,
1435,
473,
11391,
11027,
1360,
67,
1792,
3388,
3991,
13,
422,
374,
13,
288,
6862,
1082,
202,
2463,
638,
31,
6862,
202,
97,
6862,
25083,
202,
45,
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,
1058,
5033,
12,
45,
1420,
20930,
871,
13,
288,
202,
202,
698,
288,
1082,
202,
6385,
1000,
3550,
11177,
273,
394,
6847,
5621,
25083,
202,
2575,
18,
588,
9242,
7675,
9436,
12,
2704,
467,
1420,
9242,
7413,
1435,
288,
9506,
202,
482,
1250,
3757,
12,
45,
1420,
9242,
3622,
13,
288,
6862,
202,
45,
1420,
1058,
273,
3622,
18,
588,
1420,
5621,
6862,
25083,
202,
430,
12,
3146,
18,
588,
559,
1435,
631,
45,
1420,
18,
9185,
13,
288,
25083,
202,
759,
1324,
598,
326,
3622,
25083,
202,
2463,
638,
31,
6862,
202,
97,
6862,
25083,
202,
430,
261,
3146,
18,
588,
559,
1435,
422,
467,
1420,
18,
17147,
13,
288,
25083,
202,
759,
971,
2
] |
} catch (Exception x) {
|
} catch (Exception x) {
|
private void parse(final URL url) throws IOException { final StreamTokenizer in = new StreamTokenizer(new InputStreamReader( url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); in.wordChars('A', 'Z'); in.wordChars('a', 'z'); in.wordChars('0', '9'); in.wordChars('.', '.'); in.wordChars('_', '_'); in.wordChars('$', '$'); in.whitespaceChars(' ', ' '); in.whitespaceChars('\t', '\t'); in.whitespaceChars('\f', '\f'); in.whitespaceChars('\n', '\n'); in.whitespaceChars('\r', '\r'); in.quoteChar('\''); in.quoteChar('"'); int tok; int state = STATE_BEGIN; List keystores = new LinkedList(); URL currentBase = null; List currentCerts = new LinkedList(); Permissions currentPerms = new Permissions(); while ((tok = in.nextToken()) != StreamTokenizer.TT_EOF) { switch (tok) { case '{': if (state != STATE_GRANT) error(url, in, "spurious '{'"); state = STATE_PERMS; tok = in.nextToken(); break; case '}': if (state != STATE_PERMS) error(url, in, "spurious '}'"); state = STATE_BEGIN; currentPerms.setReadOnly(); Certificate[] c = null; if (!currentCerts.isEmpty()) c = (Certificate[]) currentCerts .toArray(new Certificate[ currentCerts.size()]); cs2pc.put(new CodeSource(currentBase, c), currentPerms); currentCerts.clear(); currentPerms = new Permissions(); currentBase = null; tok = in.nextToken(); if (tok != ';') in.pushBack(); continue; } if (tok != StreamTokenizer.TT_WORD) { error(url, in, "expecting word token"); } // keystore "<keystore-path>" [',' "<keystore-type>"] ';' if (in.sval.equalsIgnoreCase("keystore")) { String alg = KeyStore.getDefaultType(); tok = in.nextToken(); if (tok != '"' && tok != '\'') error(url, in, "expecting key store URL"); String store = in.sval; tok = in.nextToken(); if (tok == ',') { tok = in.nextToken(); if (tok != '"' && tok != '\'') error(url, in, "expecting key store type"); alg = in.sval; tok = in.nextToken(); } if (tok != ';') error(url, in, "expecting semicolon"); try { KeyStore keystore = KeyStore.getInstance(alg); keystore.load(new URL(url, store).openStream(), null); keystores.add(keystore); } catch (Exception x) { error(url, in, x.toString()); } } else if (in.sval.equalsIgnoreCase("grant")) { if (state != STATE_BEGIN) error(url, in, "extraneous grant keyword"); state = STATE_GRANT; } else if (in.sval.equalsIgnoreCase("signedBy")) { if (state != STATE_GRANT && state != STATE_PERMS) error(url, in, "spurious 'signedBy'"); if (keystores.isEmpty()) error(url, in, "'signedBy' with no keystores"); tok = in.nextToken(); if (tok != '"' && tok != '\'') error(url, in, "expecting signedBy name"); StringTokenizer st = new StringTokenizer(in.sval, ","); while (st.hasMoreTokens()) { String alias = st.nextToken(); for (Iterator it = keystores.iterator(); it.hasNext();) { KeyStore keystore = (KeyStore) it.next(); try { if (keystore.isCertificateEntry(alias)) currentCerts.add(keystore .getCertificate(alias)); } catch (KeyStoreException kse) { error(url, in, kse.toString()); } } } tok = in.nextToken(); if (tok != ',') { if (state != STATE_GRANT) error(url, in, "spurious ','"); in.pushBack(); } } else if (in.sval.equalsIgnoreCase("codeBase")) { if (state != STATE_GRANT) error(url, in, "spurious 'codeBase'"); tok = in.nextToken(); if (tok != '"' && tok != '\'') error(url, in, "expecting code base URL"); String base = expand(in.sval); if (File.separatorChar != '/') base = base.replace(File.separatorChar, '/'); try { currentBase = new URL(base); } catch (MalformedURLException mue) { error(url, in, mue.toString()); } tok = in.nextToken(); if (tok != ',') in.pushBack(); } else if (in.sval.equalsIgnoreCase("principal")) { if (state != STATE_GRANT) error(url, in, "spurious 'principal'"); tok = in.nextToken(); if (tok == StreamTokenizer.TT_WORD) { tok = in.nextToken(); if (tok != '"' && tok != '\'') error(url, in, "expecting principal name"); String name = in.sval; Principal p = null; try { Class pclass = Class.forName(in.sval); Constructor c = pclass .getConstructor(new Class[] { String.class}); p = (Principal) c.newInstance(new Object[] { name}); } catch (Exception x) { error(url, in, x.toString()); } for (Iterator it = keystores.iterator(); it.hasNext();) { KeyStore ks = (KeyStore) it.next(); try { for (Enumeration e = ks.aliases(); e .hasMoreElements();) { String alias = (String) e.nextElement(); if (ks.isCertificateEntry(alias)) { Certificate cert = ks.getCertificate(alias); if (!(cert instanceof X509Certificate)) continue; if (p.equals(((X509Certificate) cert) .getSubjectDN()) || p .equals(((X509Certificate) cert) .getSubjectX500Principal())) currentCerts.add(cert); } } } catch (KeyStoreException kse) { error(url, in, kse.toString()); } } } else if (tok == '"' || tok == '\'') { String alias = in.sval; for (Iterator it = keystores.iterator(); it.hasNext();) { KeyStore ks = (KeyStore) it.next(); try { if (ks.isCertificateEntry(alias)) currentCerts.add(ks.getCertificate(alias)); } catch (KeyStoreException kse) { error(url, in, kse.toString()); } } } else error(url, in, "expecting principal"); tok = in.nextToken(); if (tok != ',') in.pushBack(); } else if (in.sval.equalsIgnoreCase("permission")) { if (state != STATE_PERMS) error(url, in, "spurious 'permission'"); tok = in.nextToken(); if (tok != StreamTokenizer.TT_WORD) error(url, in, "expecting permission class name"); String className = in.sval; Class clazz = null; try { clazz = Class.forName(className); } catch (ClassNotFoundException cnfe) { } tok = in.nextToken(); if (tok == ';') { if (clazz == null) { currentPerms.add(new UnresolvedPermission(className, null, null, (Certificate[]) currentCerts .toArray(new Certificate[ 0]))); continue; } try { currentPerms.add((Permission) clazz.newInstance()); } catch (Exception x) { error(url, in, x.toString()); } continue; } if (tok != '"' && tok != '\'') error(url, in, "expecting permission target"); String target = expand(in.sval); tok = in.nextToken(); if (tok == ';') { if (clazz == null) { currentPerms.add(new UnresolvedPermission(className, target, null, (Certificate[]) currentCerts .toArray(new Certificate[ 0]))); continue; } try { Constructor c = clazz .getConstructor(new Class[] { String.class}); currentPerms.add((Permission) c .newInstance(new Object[] { target})); } catch (Exception x) { error(url, in, x.toString()); } continue; } if (tok != ',') error(url, in, "expecting ','"); tok = in.nextToken(); if (tok == StreamTokenizer.TT_WORD) { if (!in.sval.equalsIgnoreCase("signedBy")) error(url, in, "expecting 'signedBy'"); try { Constructor c = clazz .getConstructor(new Class[] { String.class}); currentPerms.add((Permission) c .newInstance(new Object[] { target})); } catch (Exception x) { error(url, in, x.toString()); } in.pushBack(); continue; } if (tok != '"' && tok != '\'') error(url, in, "expecting permission action"); String action = in.sval; if (clazz == null) { currentPerms.add(new UnresolvedPermission(className, target, action, (Certificate[]) currentCerts .toArray(new Certificate[ 0]))); continue; } else { try { Constructor c = clazz.getConstructor(new Class[] { String.class, String.class}); currentPerms.add((Permission) c .newInstance(new Object[] { target, action})); } catch (Exception x) { error(url, in, x.toString()); } } tok = in.nextToken(); if (tok != ';' && tok != ',') error(url, in, "expecting ';' or ','"); } } }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ebc5ff4942beb7f0eda4abe3e16ca60092e4db1d/PolicyFile.java/buggy/core/src/classpath/gnu/gnu/java/security/PolicyFile.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1109,
12,
6385,
1976,
880,
13,
1216,
1860,
288,
3639,
727,
3961,
10524,
316,
273,
394,
3961,
10524,
12,
2704,
15322,
12,
7734,
880,
18,
3190,
1228,
1435,
10019,
3639,
316,
18,
6208,
8070,
5621,
3639,
316,
18,
12877,
11033,
9051,
12,
3767,
1769,
3639,
316,
18,
12877,
18379,
9051,
12,
3767,
1769,
3639,
316,
18,
1095,
7803,
2668,
37,
2187,
296,
62,
8284,
3639,
316,
18,
1095,
7803,
2668,
69,
2187,
296,
94,
8284,
3639,
316,
18,
1095,
7803,
2668,
20,
2187,
296,
29,
8284,
3639,
316,
18,
1095,
7803,
2668,
1093,
16,
2611,
1769,
3639,
316,
18,
1095,
7803,
2668,
67,
2187,
4427,
1769,
3639,
316,
18,
1095,
7803,
2668,
8,
2187,
3365,
8284,
3639,
316,
18,
18777,
7803,
2668,
2265,
296,
28005,
3639,
316,
18,
18777,
7803,
2668,
64,
88,
2187,
2337,
88,
8284,
3639,
316,
18,
18777,
7803,
2668,
64,
74,
2187,
2337,
74,
8284,
3639,
316,
18,
18777,
7803,
2668,
64,
82,
2187,
2337,
82,
8284,
3639,
316,
18,
18777,
7803,
2668,
64,
86,
2187,
2337,
86,
8284,
3639,
316,
18,
6889,
2156,
2668,
3730,
8284,
3639,
316,
18,
6889,
2156,
2668,
5187,
1769,
3639,
509,
946,
31,
3639,
509,
919,
273,
7442,
67,
16061,
31,
3639,
987,
498,
19632,
273,
394,
10688,
5621,
3639,
1976,
783,
2171,
273,
446,
31,
3639,
987,
783,
16273,
273,
394,
10688,
5621,
3639,
15684,
783,
27256,
273,
394,
15684,
5621,
3639,
1323,
14015,
17692,
273,
316,
18,
4285,
1345,
10756,
480,
3961,
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,
1109,
12,
6385,
1976,
880,
13,
1216,
1860,
288,
3639,
727,
3961,
10524,
316,
273,
394,
3961,
10524,
12,
2704,
15322,
12,
7734,
880,
18,
3190,
1228,
1435,
10019,
3639,
316,
18,
6208,
8070,
5621,
3639,
316,
18,
12877,
11033,
9051,
12,
3767,
1769,
3639,
316,
18,
12877,
18379,
9051,
12,
3767,
1769,
3639,
316,
18,
1095,
7803,
2668,
37,
2187,
296,
62,
8284,
3639,
316,
18,
1095,
7803,
2668,
69,
2187,
296,
94,
8284,
3639,
316,
18,
1095,
7803,
2668,
20,
2187,
296,
29,
8284,
3639,
316,
18,
1095,
7803,
2668,
1093,
16,
2611,
1769,
3639,
316,
18,
1095,
7803,
2668,
67,
2187,
4427,
1769,
3639,
316,
18,
1095,
7803,
2668,
8,
2187,
3365,
8284,
2
] |
_start = _context.clock().now();
|
_start = getContext().clock().now();
|
public OutboundClientMessageStatus(ClientMessage msg) { _msg = msg; _clove = null; _leaseSet = null; _sent = new HashSet(4); _success = false; _failure = false; _numLookups = 0; _previousSent = 0; _start = _context.clock().now(); }
|
27433 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27433/e737e5c9507ed0d463dc9e45a8f63657f466b177/OutboundClientMessageJob.java/buggy/router/java/src/net/i2p/router/message/OutboundClientMessageJob.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
2976,
3653,
1227,
1079,
1482,
12,
1227,
1079,
1234,
13,
288,
5411,
389,
3576,
273,
1234,
31,
5411,
389,
7550,
537,
273,
446,
31,
5411,
389,
2508,
694,
273,
446,
31,
5411,
389,
7569,
273,
394,
6847,
12,
24,
1769,
5411,
389,
4768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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
2976,
3653,
1227,
1079,
1482,
12,
1227,
1079,
1234,
13,
288,
5411,
389,
3576,
273,
1234,
31,
5411,
389,
7550,
537,
273,
446,
31,
5411,
389,
2508,
694,
273,
446,
31,
5411,
389,
7569,
273,
394,
6847,
12,
24,
1769,
5411,
389,
4768,
273,
629,
31,
5411,
389,
12251,
273,
629,
31,
5411,
389,
2107,
6609,
87,
273,
374,
31,
5411,
389,
11515,
7828,
273,
374,
31,
5411,
389,
1937,
273,
6474,
7675,
18517,
7675,
3338,
5621,
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
] |
if (ChainBuilderAgent.DEBUG)
|
if (ChainBuilderAgent.DEBUG > 3)
|
private void finishModuleTargetLink(ModuleLinkTarget n) { //first, if input and output are the same, barf. if (n.getModuleView() == moduleLinkOriginTarget.getModuleView()) { showSelfLinkError(); cancelModuleTargetLink(); return; } else if (n.isInputLinkTarget() && moduleLinkOriginTarget.isInputLinkTarget()) { canvas.setStatusLabel(NO_INPUT_INPUT_LINKS); cancelModuleTargetLink(); return; } else if (n.isOutputLinkTarget() && moduleLinkOriginTarget.isOutputLinkTarget()) { canvas.setStatusLabel(NO_OUTPUT_OUTPUT_LINKS); cancelModuleTargetLink(); return; } else if (linkLayer. findModuleLink(n.getModuleView(), moduleLinkOriginTarget.getModuleView()) != null) { canvas.setStatusLabel(NO_MULTIPLE_MODULE_LINKS); cancelModuleTargetLink(); return; } if (ChainBuilderAgent.DEBUG) System.err.println("finishing module target link"); // ok. now, create links and make sure we have no cycles. // get inputs & get outputs Collection params1 = moduleLinkOriginTarget.getParameters(); Collection params2 = n.getParameters(); // set other end point of link. moduleLink.setTarget(n); if (finishModuleTargetLink(params1,params2) == false) { showNoLegalLinksBetwenModulesError(); cancelModuleTargetLink(); return; } if (foundCycle() == true) { canvas.setStatusLabel(NO_CYCLES); cancelModuleTargetLink(); } else { moduleLink.setPickable(true); cleanUpModuleTargetLink(); } moduleLinkOriginTarget = null; if (ChainBuilderAgent.DEBUG) System.err.println("ending finsihModuleTargetLink ModuleLinkTarget. NOT_LINKING"); linkState = NOT_LINKING; }
|
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/630a53d68f5d29c53d2485557b18599785befb83/ChainCreationEventHandler.java/clean/SRC/org/openmicroscopy/shoola/agents/chainbuilder/piccolo/ChainCreationEventHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
4076,
3120,
2326,
2098,
12,
3120,
2098,
2326,
290,
13,
288,
202,
202,
759,
3645,
16,
309,
810,
471,
876,
854,
326,
1967,
16,
4653,
74,
18,
202,
202,
430,
261,
82,
18,
588,
3120,
1767,
1435,
422,
1605,
2098,
7571,
2326,
18,
588,
3120,
1767,
10756,
288,
1082,
202,
4500,
10084,
2098,
668,
5621,
1082,
202,
10996,
3120,
2326,
2098,
5621,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
82,
18,
291,
1210,
2098,
2326,
1435,
597,
4405,
202,
2978,
2098,
7571,
2326,
18,
291,
1210,
2098,
2326,
10756,
288,
1082,
202,
15424,
18,
542,
1482,
2224,
12,
3417,
67,
15934,
67,
15934,
67,
10554,
55,
1769,
1082,
202,
10996,
3120,
2326,
2098,
5621,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
82,
18,
291,
1447,
2098,
2326,
1435,
597,
4405,
202,
2978,
2098,
7571,
2326,
18,
291,
1447,
2098,
2326,
10756,
288,
1082,
565,
5953,
18,
542,
1482,
2224,
12,
3417,
67,
15527,
67,
15527,
67,
10554,
55,
1769,
1082,
202,
10996,
3120,
2326,
2098,
5621,
1082,
565,
327,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
1232,
4576,
18,
9506,
202,
4720,
3120,
2098,
12,
82,
18,
588,
3120,
1767,
9334,
25083,
202,
2978,
2098,
7571,
2326,
18,
588,
3120,
1767,
10756,
480,
446,
13,
288,
1082,
202,
15424,
18,
542,
1482,
2224,
12,
3417,
67,
24683,
900,
67,
12194,
67,
10554,
55,
1769,
1082,
202,
10996,
3120,
2326,
2098,
5621,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
4076,
3120,
2326,
2098,
12,
3120,
2098,
2326,
290,
13,
288,
202,
202,
759,
3645,
16,
309,
810,
471,
876,
854,
326,
1967,
16,
4653,
74,
18,
202,
202,
430,
261,
82,
18,
588,
3120,
1767,
1435,
422,
1605,
2098,
7571,
2326,
18,
588,
3120,
1767,
10756,
288,
1082,
202,
4500,
10084,
2098,
668,
5621,
1082,
202,
10996,
3120,
2326,
2098,
5621,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
82,
18,
291,
1210,
2098,
2326,
1435,
597,
4405,
202,
2978,
2098,
7571,
2326,
18,
291,
1210,
2098,
2326,
10756,
288,
1082,
202,
15424,
18,
542,
1482,
2224,
12,
3417,
67,
15934,
67,
15934,
67,
10554,
55,
1769,
1082,
202,
10996,
2
] |
throw new Error( "Couldn't initialize AgentManager Binders"+
|
throw new Error("Couldn't initialize AgentManager Binders" +
|
private List getAgentBinderDescriptions(String nodeName) { ServiceBroker csb = getChildServiceBroker(); ComponentDescriptions cds; try { ComponentInitializerService cis = (ComponentInitializerService) csb.getService(this, ComponentInitializerService.class, null); Logger logger = Logging.getLogger(AgentManager.class); if (logger.isInfoEnabled()) { logger.info( nodeName + " AgentManager.load about to look for CompDesc's"+ " of Agent Binders."); } // Get all items _below_ given insertion point. // To get just binders, must use extract method later.... cds = new ComponentDescriptions( cis.getComponentDescriptions(nodeName, INSERTION_POINT)); csb.releaseService(this, ComponentInitializerService.class, cis); } catch (Exception e) { throw new Error( "Couldn't initialize AgentManager Binders"+ " with ComponentInitializerService ", e); } return ComponentDescriptions.sort( cds.extractInsertionPointComponent( INSERTION_POINT + ".Binder")); }
|
7981 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7981/d0e958a245c90ccb9b06443e6dbcd00d5817be35/AgentManager.java/clean/core/src/org/cougaar/core/agent/AgentManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
987,
336,
3630,
17700,
16844,
12,
780,
7553,
13,
288,
565,
1956,
11194,
2873,
70,
273,
8154,
1179,
11194,
5621,
565,
5435,
16844,
19697,
31,
565,
775,
288,
1377,
5435,
14729,
1179,
276,
291,
273,
261,
1841,
14729,
1179,
13,
540,
2873,
70,
18,
588,
1179,
12,
2211,
16,
5435,
14729,
1179,
18,
1106,
16,
446,
1769,
1377,
4242,
1194,
273,
10253,
18,
588,
3328,
12,
3630,
1318,
18,
1106,
1769,
1377,
309,
261,
4901,
18,
291,
966,
1526,
10756,
288,
3639,
1194,
18,
1376,
12,
1850,
7553,
397,
6647,
315,
8669,
1318,
18,
945,
2973,
358,
2324,
364,
5427,
4217,
1807,
6,
15,
1850,
315,
434,
8669,
6936,
414,
1199,
1769,
1377,
289,
1377,
368,
968,
777,
1516,
389,
27916,
67,
864,
12626,
1634,
18,
1377,
368,
2974,
336,
2537,
1993,
414,
16,
1297,
999,
2608,
707,
5137,
6265,
1377,
19697,
273,
394,
5435,
16844,
12,
1850,
276,
291,
18,
588,
1841,
16844,
12,
2159,
461,
16,
14834,
1146,
67,
8941,
10019,
1377,
2873,
70,
18,
9340,
1179,
12,
2211,
16,
5435,
14729,
1179,
18,
1106,
16,
276,
291,
1769,
565,
289,
1044,
261,
503,
425,
13,
288,
1377,
604,
394,
1068,
12,
1850,
315,
16342,
1404,
4046,
8669,
1318,
6936,
414,
6,
15,
1850,
315,
225,
598,
5435,
14729,
1179,
3104,
425,
1769,
565,
289,
565,
327,
4202,
5435,
16844,
18,
3804,
12,
1850,
19697,
18,
8004,
29739,
2148,
1841,
12,
5411,
14834,
1146,
67,
8941,
397,
3552,
17700,
7923,
1769,
225,
289,
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,
987,
336,
3630,
17700,
16844,
12,
780,
7553,
13,
288,
565,
1956,
11194,
2873,
70,
273,
8154,
1179,
11194,
5621,
565,
5435,
16844,
19697,
31,
565,
775,
288,
1377,
5435,
14729,
1179,
276,
291,
273,
261,
1841,
14729,
1179,
13,
540,
2873,
70,
18,
588,
1179,
12,
2211,
16,
5435,
14729,
1179,
18,
1106,
16,
446,
1769,
1377,
4242,
1194,
273,
10253,
18,
588,
3328,
12,
3630,
1318,
18,
1106,
1769,
1377,
309,
261,
4901,
18,
291,
966,
1526,
10756,
288,
3639,
1194,
18,
1376,
12,
1850,
7553,
397,
6647,
315,
8669,
1318,
18,
945,
2973,
358,
2324,
364,
5427,
4217,
1807,
6,
15,
1850,
315,
434,
8669,
6936,
414,
1199,
1769,
1377,
289,
1377,
368,
968,
2
] |
throw new IllegalArgumentException( "The argument 'startingRow' must not"
|
throw new IllegalArgumentException("The argument 'startingRow' must not"
|
public TreePath getNextMatch(String prefix, int startingRow, Position.Bias bias) { if (prefix == null) throw new IllegalArgumentException( "The argument 'prefix' must not be" + " null."); if (startingRow < 0) throw new IllegalArgumentException( "The argument 'startingRow' must not" + " be less than zero."); int size = getRowCount(); if (startingRow > size) throw new IllegalArgumentException( "The argument 'startingRow' must not" + " be greater than the number of" + " elements in the TreeModel."); TreePath foundPath = null; if (bias == Position.Bias.Forward) { for (int i = startingRow; i < size; i++) { TreePath path = getPathForRow(i); Object o = path.getLastPathComponent(); // FIXME: in the following call to convertValueToText the // last argument (hasFocus) should be done right. String item = convertValueToText(o, isRowSelected(i), isExpanded(i), treeModel.isLeaf(o), i, false); if (item.startsWith(prefix)) { foundPath = path; break; } } } else { for (int i = startingRow; i >= 0; i--) { TreePath path = getPathForRow(i); Object o = path.getLastPathComponent(); // FIXME: in the following call to convertValueToText the // last argument (hasFocus) should be done right. String item = convertValueToText(o, isRowSelected(i), isExpanded(i), treeModel.isLeaf(o), i, false); if (item.startsWith(prefix)) { foundPath = path; break; } } } return foundPath; }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/buggy/core/src/classpath/javax/javax/swing/JTree.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
4902,
743,
6927,
2060,
12,
780,
1633,
16,
509,
5023,
1999,
16,
1171,
9079,
11010,
18,
31645,
12005,
13,
225,
288,
565,
309,
261,
3239,
422,
446,
13,
1082,
202,
12849,
394,
2754,
12,
6862,
202,
6,
1986,
1237,
296,
3239,
11,
1297,
486,
506,
6,
397,
315,
446,
1199,
1769,
565,
309,
261,
18526,
1999,
411,
374,
13,
1082,
202,
12849,
394,
2754,
12,
6862,
202,
6,
1986,
1237,
296,
18526,
1999,
11,
1297,
486,
6,
29159,
397,
315,
506,
5242,
2353,
3634,
1199,
1769,
565,
509,
963,
273,
11835,
1380,
5621,
565,
309,
261,
18526,
1999,
405,
963,
13,
1082,
202,
12849,
394,
2754,
12,
6862,
202,
6,
1986,
1237,
296,
18526,
1999,
11,
1297,
486,
6,
29159,
397,
315,
506,
6802,
2353,
326,
1300,
434,
6,
29159,
397,
315,
2186,
316,
326,
4902,
1488,
1199,
1769,
565,
4902,
743,
1392,
743,
273,
446,
31,
565,
309,
261,
13931,
422,
11010,
18,
31645,
18,
8514,
13,
1377,
288,
3639,
364,
261,
474,
277,
273,
5023,
1999,
31,
277,
411,
963,
31,
277,
27245,
1850,
288,
5411,
4902,
743,
589,
273,
4339,
1290,
1999,
12,
77,
1769,
5411,
1033,
320,
273,
589,
18,
588,
3024,
743,
1841,
5621,
5411,
368,
9852,
30,
316,
326,
3751,
745,
358,
1765,
620,
774,
1528,
326,
5411,
368,
1142,
1237,
261,
5332,
9233,
13,
1410,
506,
2731,
2145,
18,
5411,
514,
761,
273,
1765,
620,
774,
1528,
12,
83,
16,
353,
1999,
7416,
12,
77,
3631,
25083,
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,
282,
1071,
4902,
743,
6927,
2060,
12,
780,
1633,
16,
509,
5023,
1999,
16,
1171,
9079,
11010,
18,
31645,
12005,
13,
225,
288,
565,
309,
261,
3239,
422,
446,
13,
1082,
202,
12849,
394,
2754,
12,
6862,
202,
6,
1986,
1237,
296,
3239,
11,
1297,
486,
506,
6,
397,
315,
446,
1199,
1769,
565,
309,
261,
18526,
1999,
411,
374,
13,
1082,
202,
12849,
394,
2754,
12,
6862,
202,
6,
1986,
1237,
296,
18526,
1999,
11,
1297,
486,
6,
29159,
397,
315,
506,
5242,
2353,
3634,
1199,
1769,
565,
509,
963,
273,
11835,
1380,
5621,
565,
309,
261,
18526,
1999,
405,
963,
13,
1082,
202,
12849,
394,
2754,
12,
6862,
202,
6,
1986,
1237,
296,
18526,
1999,
11,
1297,
2
] |
label.setText( Messages .getString( "HighlightRuleBuilderDialog.text.Title" ) );
|
label.setText( Messages.getString( "HighlightRuleBuilderDialog.text.Title" ) );
|
private Composite createTitleArea( Composite parent ) { int margins = 2; final Composite titleArea = new Composite( parent, SWT.NONE ); FormLayout layout = new FormLayout( ); layout.marginHeight = margins; layout.marginWidth = margins; titleArea.setLayout( layout ); Display display = parent.getDisplay( ); Color background = JFaceColors.getBannerBackground( display ); GridData layoutData = new GridData( GridData.FILL_HORIZONTAL ); layoutData.heightHint = 20 + ( margins * 3 ); titleArea.setLayoutData( layoutData ); titleArea.setBackground( background ); titleArea.addPaintListener( new PaintListener( ) { public void paintControl( PaintEvent e ) { e.gc.setForeground( titleArea.getDisplay( ).getSystemColor( SWT.COLOR_WIDGET_NORMAL_SHADOW ) ); Rectangle bounds = titleArea.getClientArea( ); bounds.height = bounds.height - 2; bounds.width = bounds.width - 1; e.gc.drawRectangle( bounds ); } } ); Label label = new Label( titleArea, SWT.NONE ); label.setBackground( background ); label.setFont( FontManager.getFont( label.getFont( ).toString( ), 10, SWT.BOLD ) ); label.setText( Messages .getString( "HighlightRuleBuilderDialog.text.Title" ) ); //$NON-NLS-1$ return titleArea; }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/79315b368296e47fc6aa276a9db24d8570b2b6c9/HighlightRuleBuilder.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HighlightRuleBuilder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
14728,
752,
4247,
5484,
12,
14728,
982,
262,
202,
95,
202,
202,
474,
24889,
273,
576,
31,
202,
202,
6385,
14728,
2077,
5484,
273,
394,
14728,
12,
982,
16,
348,
8588,
18,
9826,
11272,
202,
202,
1204,
3744,
3511,
273,
394,
2748,
3744,
12,
11272,
202,
202,
6741,
18,
10107,
2686,
273,
24889,
31,
202,
202,
6741,
18,
10107,
2384,
273,
24889,
31,
202,
202,
2649,
5484,
18,
542,
3744,
12,
3511,
11272,
202,
202,
4236,
2562,
273,
982,
18,
588,
4236,
12,
11272,
202,
202,
2957,
5412,
273,
804,
11824,
12570,
18,
588,
27398,
8199,
12,
2562,
11272,
202,
202,
6313,
751,
3511,
751,
273,
394,
7145,
751,
12,
7145,
751,
18,
29818,
67,
44,
20344,
11272,
202,
202,
6741,
751,
18,
4210,
7002,
273,
4200,
397,
261,
24889,
380,
890,
11272,
202,
202,
2649,
5484,
18,
542,
3744,
751,
12,
3511,
751,
11272,
202,
202,
2649,
5484,
18,
542,
8199,
12,
5412,
11272,
202,
202,
2649,
5484,
18,
1289,
12699,
2223,
12,
394,
30001,
2223,
12,
262,
288,
1082,
202,
482,
918,
12574,
3367,
12,
30001,
1133,
425,
262,
1082,
202,
95,
9506,
202,
73,
18,
13241,
18,
542,
23206,
12,
2077,
5484,
18,
588,
4236,
12,
262,
18,
588,
3163,
2957,
12,
25083,
202,
55,
8588,
18,
10989,
67,
59,
734,
3264,
67,
15480,
67,
2664,
1880,
7306,
262,
11272,
9506,
202,
19463,
4972,
273,
2077,
5484,
18,
588,
1227,
5484,
12,
11272,
9506,
202,
10576,
18,
4210,
273,
4972,
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,
1152,
14728,
752,
4247,
5484,
12,
14728,
982,
262,
202,
95,
202,
202,
474,
24889,
273,
576,
31,
202,
202,
6385,
14728,
2077,
5484,
273,
394,
14728,
12,
982,
16,
348,
8588,
18,
9826,
11272,
202,
202,
1204,
3744,
3511,
273,
394,
2748,
3744,
12,
11272,
202,
202,
6741,
18,
10107,
2686,
273,
24889,
31,
202,
202,
6741,
18,
10107,
2384,
273,
24889,
31,
202,
202,
2649,
5484,
18,
542,
3744,
12,
3511,
11272,
202,
202,
4236,
2562,
273,
982,
18,
588,
4236,
12,
11272,
202,
202,
2957,
5412,
273,
804,
11824,
12570,
18,
588,
27398,
8199,
12,
2562,
11272,
202,
202,
6313,
751,
3511,
751,
273,
394,
7145,
751,
12,
7145,
751,
18,
29818,
67,
44,
2
] |
++curPos; if ((i = jjnewStateCnt) == (startsAt = 5 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch (java.io.IOException e) { return curPos;
|
} while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { default : break;
|
private final int jjMoveNfa_0(int startState, int curPos) { int[] nextStates; int startsAt = 0; jjnewStateCnt = 5; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (; ;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch (jjstateSet[--i]) { case 0: if (curChar == 45) jjAddStates(0, 1); break; case 1: if (curChar == 45) jjCheckNAddTwoStates(2, 3); break; case 2: if (curChar == 32) jjCheckNAddTwoStates(2, 3); break; case 3: case 4: if (curChar == 62 && kind > 75) kind = 75; break; default : break; } } while (i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch (jjstateSet[--i]) { default : break; } } while (i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch (jjstateSet[--i]) { default : break; } } while (i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 5 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch (java.io.IOException e) { return curPos; } } }
|
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/bad9201cffeb6c6da295101be65bfa4924caa39e/JspParserTokenManager.java/buggy/pmd/src/net/sourceforge/pmd/jsp/ast/JspParserTokenManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
727,
509,
10684,
7607,
50,
507,
67,
20,
12,
474,
787,
1119,
16,
509,
662,
1616,
13,
288,
3639,
509,
8526,
1024,
7629,
31,
3639,
509,
2542,
861,
273,
374,
31,
3639,
10684,
2704,
1119,
11750,
273,
1381,
31,
3639,
509,
277,
273,
404,
31,
3639,
10684,
2019,
694,
63,
20,
65,
273,
787,
1119,
31,
3639,
509,
525,
16,
3846,
273,
374,
92,
27,
18217,
74,
31,
3639,
364,
261,
31,
274,
13,
288,
5411,
309,
261,
9904,
78,
78,
2260,
422,
374,
92,
27,
18217,
74,
13,
7734,
868,
2570,
54,
9284,
5621,
5411,
309,
261,
1397,
2156,
411,
5178,
13,
288,
7734,
1525,
328,
273,
404,
48,
2296,
662,
2156,
31,
7734,
4639,
6452,
30,
741,
288,
10792,
1620,
261,
78,
78,
2019,
694,
63,
413,
77,
5717,
288,
13491,
648,
374,
30,
18701,
309,
261,
1397,
2156,
422,
12292,
13,
27573,
10684,
986,
7629,
12,
20,
16,
404,
1769,
18701,
898,
31,
13491,
648,
404,
30,
18701,
309,
261,
1397,
2156,
422,
12292,
13,
27573,
10684,
1564,
50,
986,
11710,
7629,
12,
22,
16,
890,
1769,
18701,
898,
31,
13491,
648,
576,
30,
18701,
309,
261,
1397,
2156,
422,
3847,
13,
27573,
10684,
1564,
50,
986,
11710,
7629,
12,
22,
16,
890,
1769,
18701,
898,
31,
13491,
648,
890,
30,
13491,
648,
1059,
30,
18701,
309,
261,
1397,
2156,
422,
22684,
597,
3846,
405,
18821,
13,
27573,
3846,
273,
18821,
31,
18701,
898,
31,
13491,
805,
294,
18701,
898,
31,
10792,
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,
727,
509,
10684,
7607,
50,
507,
67,
20,
12,
474,
787,
1119,
16,
509,
662,
1616,
13,
288,
3639,
509,
8526,
1024,
7629,
31,
3639,
509,
2542,
861,
273,
374,
31,
3639,
10684,
2704,
1119,
11750,
273,
1381,
31,
3639,
509,
277,
273,
404,
31,
3639,
10684,
2019,
694,
63,
20,
65,
273,
787,
1119,
31,
3639,
509,
525,
16,
3846,
273,
374,
92,
27,
18217,
74,
31,
3639,
364,
261,
31,
274,
13,
288,
5411,
309,
261,
9904,
78,
78,
2260,
422,
374,
92,
27,
18217,
74,
13,
7734,
868,
2570,
54,
9284,
5621,
5411,
309,
261,
1397,
2156,
411,
5178,
13,
288,
7734,
1525,
328,
273,
404,
48,
2296,
662,
2156,
31,
7734,
4639,
6452,
2
] |
this.issuesByStatus = GlazedListsSwing.swingThreadProxyList(new GroupingList<Issue>(issues, new IssueStatusComparator())); this.issuesByStatus.addListEventListener(this);
|
issuesByStatus = new GroupingList<Issue>(issues, new IssueStatusComparator()); this.issuesByStatusSwingThread = GlazedListsSwing.swingThreadProxyList(issuesByStatus); this.issuesByStatusSwingThread.addListEventListener(this);
|
public StatusMatcherEditor(EventList<Issue> issues) { // group the issues according to their status this.issuesByStatus = GlazedListsSwing.swingThreadProxyList(new GroupingList<Issue>(issues, new IssueStatusComparator())); this.issuesByStatus.addListEventListener(this); this.statusCheckBoxes.put("NEW", buildCheckBox("New")); this.statusCheckBoxes.put("UNCONFIRMED", buildCheckBox("Unconfirmed")); this.statusCheckBoxes.put("STARTED", buildCheckBox("Started")); this.statusCheckBoxes.put("REOPENED", buildCheckBox("Reopened")); this.statusCheckBoxes.put("CLOSED", buildCheckBox("Closed")); this.statusCheckBoxes.put("VERIFIED", buildCheckBox("Verified")); this.statusCheckBoxes.put("RESOLVED", buildCheckBox("Resolved")); this.checkBoxPanel.setOpaque(false); // add each checkbox to the panel and start listening to selections for (Iterator<JCheckBox> iter = statusCheckBoxes.values().iterator(); iter.hasNext();) { JCheckBox checkBox = iter.next(); checkBox.addActionListener(this); this.checkBoxPanel.add(checkBox); } }
|
10062 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10062/1d2712d68c815d19e901a833b96948b0afb9a1bc/StatusMatcherEditor.java/buggy/extensions/issuesbrowser/source/com/publicobject/issuesbrowser/swing/StatusMatcherEditor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2685,
6286,
6946,
12,
1133,
682,
32,
12956,
34,
8296,
13,
288,
3639,
368,
1041,
326,
8296,
4888,
358,
3675,
1267,
3639,
333,
18,
9618,
858,
1482,
273,
15157,
1561,
329,
7432,
6050,
310,
18,
5328,
310,
3830,
3886,
682,
12,
2704,
3756,
310,
682,
32,
12956,
34,
12,
9618,
16,
394,
11820,
1482,
5559,
1435,
10019,
3639,
333,
18,
9618,
858,
1482,
18,
1289,
682,
7375,
12,
2211,
1769,
3639,
333,
18,
2327,
19174,
281,
18,
458,
2932,
12917,
3113,
1361,
19174,
2932,
1908,
7923,
1769,
3639,
333,
18,
2327,
19174,
281,
18,
458,
2932,
2124,
2248,
1653,
54,
25773,
3113,
1361,
19174,
2932,
984,
21606,
7923,
1769,
3639,
333,
18,
2327,
19174,
281,
18,
458,
2932,
20943,
6404,
3113,
1361,
19174,
2932,
9217,
7923,
1769,
3639,
333,
18,
2327,
19174,
281,
18,
458,
2932,
862,
11437,
2056,
3113,
1361,
19174,
2932,
426,
25304,
7923,
1769,
3639,
333,
18,
2327,
19174,
281,
18,
458,
2932,
28475,
3113,
1361,
19174,
2932,
7395,
7923,
1769,
3639,
333,
18,
2327,
19174,
281,
18,
458,
2932,
2204,
13519,
3113,
1361,
19174,
2932,
24369,
7923,
1769,
3639,
333,
18,
2327,
19174,
281,
18,
458,
2932,
17978,
12135,
3113,
1361,
19174,
2932,
12793,
7923,
1769,
3639,
333,
18,
1893,
3514,
5537,
18,
542,
3817,
14886,
12,
5743,
1769,
3639,
368,
527,
1517,
11832,
358,
326,
6594,
471,
787,
13895,
358,
21738,
3639,
364,
261,
3198,
32,
46,
19174,
34,
1400,
273,
1267,
19174,
281,
18,
2372,
7675,
9838,
5621,
1400,
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,
2685,
6286,
6946,
12,
1133,
682,
32,
12956,
34,
8296,
13,
288,
3639,
368,
1041,
326,
8296,
4888,
358,
3675,
1267,
3639,
333,
18,
9618,
858,
1482,
273,
15157,
1561,
329,
7432,
6050,
310,
18,
5328,
310,
3830,
3886,
682,
12,
2704,
3756,
310,
682,
32,
12956,
34,
12,
9618,
16,
394,
11820,
1482,
5559,
1435,
10019,
3639,
333,
18,
9618,
858,
1482,
18,
1289,
682,
7375,
12,
2211,
1769,
3639,
333,
18,
2327,
19174,
281,
18,
458,
2932,
12917,
3113,
1361,
19174,
2932,
1908,
7923,
1769,
3639,
333,
18,
2327,
19174,
281,
18,
458,
2932,
2124,
2248,
1653,
54,
25773,
3113,
1361,
19174,
2932,
984,
21606,
7923,
1769,
3639,
333,
18,
2327,
19174,
281,
18,
458,
2
] |
elements.add(taskDefinition) ; elements.add(taskDescriptor) ; } else if(breakdownElement instanceof RoleDescriptor){ RoleDescriptor roleDescriptor = (RoleDescriptor) breakdownElement ; elements.add(roleDescriptor.getRoleDefinition()) ; elements.add(roleDescriptor) ;
|
elements.add(taskDescriptor); elementAdded++; logger.debug("### SaveProcessService ### elements -> add taskDescriptor ="+taskDescriptor); } else if (breakdownElement instanceof RoleDescriptor) { logger.debug("### SaveProcessService ### breakdownElement iof RoleDescriptor ="+breakdownElement); RoleDescriptor roleDescriptor = (RoleDescriptor) breakdownElement; logger.debug("### SaveProcessService ### RoleDescriptor ="+roleDescriptor); elements.add(roleDescriptor.getRoleDefinition()); logger.debug("### SaveProcessService ### elements -> add roleDescriptor.getRoleDefinition() ="+roleDescriptor.getRoleDefinition()); elementAdded++; elements.add(roleDescriptor); logger.debug("### SaveProcessService ### elements -> add roleDescriptor ="+roleDescriptor); elementAdded++;
|
public void SaveProcessService(Process _process) { List<Element> elements = new ArrayList<Element>() ; Set<BreakdownElement> bdes = _process.getBreakDownElements() ; // add element of process in elements for(BreakdownElement breakdownElement : bdes){ if(breakdownElement instanceof TaskDescriptor){ TaskDescriptor taskDescriptor = (TaskDescriptor) breakdownElement ; TaskDefinition taskDefinition = taskDescriptor.getTaskDefinition() ; for(Step step : taskDefinition.getSteps()){ elements.add(step) ; } elements.add(taskDefinition) ; elements.add(taskDescriptor) ; } else if(breakdownElement instanceof RoleDescriptor){ RoleDescriptor roleDescriptor = (RoleDescriptor) breakdownElement ; elements.add(roleDescriptor.getRoleDefinition()) ; elements.add(roleDescriptor) ; } } elements.add(_process) ; // save in the database for(Element element : elements){ if(element instanceof Step){ this.stepDao.saveOrUpdateStep((Step) element) ; } else if(element instanceof TaskDefinition){ this.taskDefinitionDao.saveOrUpdateTaskDefinition((TaskDefinition) element) ; } else if(element instanceof TaskDescriptor){ this.taskDescriptorDao.saveOrUpdateTaskDescriptor((TaskDescriptor) element) ; } else if(element instanceof TaskDescriptor){ this.roleDescriptorDao.saveOrUpdateRoleDescriptor((RoleDescriptor) element) ; } else if(element instanceof RoleDefinition){ this.roleDefinitionDao.saveOrUpdateRole((RoleDefinition) element) ; } else if(element instanceof Process){ this.processDao.saveOrUpdateProcess((Process) element) ; } } }
|
55530 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55530/1dcb39923984a9d2a9662da208710e54ecb0bf16/ProcessService.java/buggy/woops2/trunk/src/woops2/business/process/ProcessService.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
7074,
2227,
1179,
12,
2227,
389,
2567,
13,
288,
202,
202,
682,
32,
1046,
34,
2186,
273,
394,
2407,
32,
1046,
34,
1435,
274,
202,
202,
694,
32,
7634,
2378,
1046,
34,
324,
5489,
273,
389,
2567,
18,
588,
7634,
4164,
3471,
1435,
274,
202,
202,
759,
527,
930,
434,
1207,
316,
2186,
202,
202,
1884,
12,
7634,
2378,
1046,
898,
2378,
1046,
294,
324,
5489,
15329,
1082,
202,
430,
12,
8820,
2378,
1046,
1276,
3837,
3187,
15329,
9506,
202,
2174,
3187,
1562,
3187,
273,
261,
2174,
3187,
13,
898,
2378,
1046,
274,
9506,
202,
2174,
1852,
1562,
1852,
273,
1562,
3187,
18,
588,
2174,
1852,
1435,
274,
9506,
202,
1884,
12,
4160,
2235,
294,
1562,
1852,
18,
588,
11811,
10756,
95,
6862,
202,
6274,
18,
1289,
12,
4119,
13,
274,
9506,
202,
97,
9506,
202,
6274,
18,
1289,
12,
4146,
1852,
13,
274,
9506,
202,
6274,
18,
1289,
12,
4146,
3187,
13,
274,
1082,
202,
97,
1082,
202,
12107,
309,
12,
8820,
2378,
1046,
1276,
6204,
3187,
15329,
9506,
202,
2996,
3187,
2478,
3187,
273,
261,
2996,
3187,
13,
898,
2378,
1046,
274,
9506,
202,
6274,
18,
1289,
12,
4615,
3187,
18,
588,
2996,
1852,
10756,
274,
9506,
202,
6274,
18,
1289,
12,
4615,
3187,
13,
274,
1082,
202,
97,
202,
202,
97,
202,
202,
6274,
18,
1289,
24899,
2567,
13,
274,
202,
202,
759,
1923,
316,
326,
2063,
202,
202,
1884,
12,
1046,
930,
294,
2186,
15329,
1082,
202,
430,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
7074,
2227,
1179,
12,
2227,
389,
2567,
13,
288,
202,
202,
682,
32,
1046,
34,
2186,
273,
394,
2407,
32,
1046,
34,
1435,
274,
202,
202,
694,
32,
7634,
2378,
1046,
34,
324,
5489,
273,
389,
2567,
18,
588,
7634,
4164,
3471,
1435,
274,
202,
202,
759,
527,
930,
434,
1207,
316,
2186,
202,
202,
1884,
12,
7634,
2378,
1046,
898,
2378,
1046,
294,
324,
5489,
15329,
1082,
202,
430,
12,
8820,
2378,
1046,
1276,
3837,
3187,
15329,
9506,
202,
2174,
3187,
1562,
3187,
273,
261,
2174,
3187,
13,
898,
2378,
1046,
274,
9506,
202,
2174,
1852,
1562,
1852,
273,
1562,
3187,
18,
588,
2174,
1852,
1435,
274,
9506,
202,
1884,
12,
4160,
2235,
294,
2
] |
protected CacheEntry getMethodBody(String name, int noex) {
|
protected CacheEntry getMethodBody(String name) {
|
protected CacheEntry getMethodBody(String name, int noex) { ICallable method = searchMethod(name); if (method == null) { // System.out.println("Cant find method \"" + name + "\" in class " + toName()); getRuntime().getMethodCache().saveUndefinedEntry(this, name); return null; } CacheEntry result = new CacheEntry(this, method.getNoex()); if (method instanceof AliasMethod) { result.setName(name); result.setOrigin(((AliasMethod) method).getOrigin()); result.setOriginalName(((AliasMethod) method).getOldName()); result.setMethod(((AliasMethod) method).getOldMethod()); result.setRecvClass(((AliasMethod) method).getOrigin()); } else { result.setName(name); result.setOrigin(method.getImplementationClass()); result.setOriginalName(name); result.setMethod(method); result.setRecvClass(method.getImplementationClass()); } getRuntime().getMethodCache().saveEntry(this, name, result); return result; }
|
46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/f05423516c2d1bfe54c4363eedb9654f7cfb6898/RubyModule.java/clean/org/jruby/RubyModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
27657,
6272,
2250,
12,
780,
508,
13,
288,
3639,
467,
11452,
707,
273,
1623,
1305,
12,
529,
1769,
3639,
309,
261,
2039,
422,
446,
13,
288,
5411,
368,
2332,
18,
659,
18,
8222,
2932,
39,
970,
1104,
707,
11843,
397,
508,
397,
7023,
316,
667,
315,
397,
358,
461,
10663,
5411,
18814,
7675,
588,
1305,
1649,
7675,
5688,
10317,
1622,
12,
2211,
16,
508,
1769,
5411,
327,
446,
31,
3639,
289,
3639,
27657,
563,
273,
394,
27657,
12,
2211,
16,
707,
18,
588,
2279,
338,
10663,
3639,
309,
261,
2039,
1276,
11873,
1305,
13,
288,
5411,
563,
18,
542,
461,
12,
529,
1769,
5411,
563,
18,
542,
7571,
12443,
12,
2936,
1305,
13,
707,
2934,
588,
7571,
10663,
5411,
563,
18,
542,
8176,
461,
12443,
12,
2936,
1305,
13,
707,
2934,
588,
7617,
461,
10663,
5411,
563,
18,
542,
1305,
12443,
12,
2936,
1305,
13,
707,
2934,
588,
7617,
1305,
10663,
5411,
563,
18,
542,
28470,
797,
12443,
12,
2936,
1305,
13,
707,
2934,
588,
7571,
10663,
3639,
289,
469,
288,
5411,
563,
18,
542,
461,
12,
529,
1769,
5411,
563,
18,
542,
7571,
12,
2039,
18,
588,
13621,
797,
10663,
5411,
563,
18,
542,
8176,
461,
12,
529,
1769,
5411,
563,
18,
542,
1305,
12,
2039,
1769,
5411,
563,
18,
542,
28470,
797,
12,
2039,
18,
588,
13621,
797,
10663,
3639,
289,
3639,
18814,
7675,
588,
1305,
1649,
7675,
5688,
1622,
12,
2211,
16,
508,
16,
563,
1769,
3639,
327,
563,
31,
565,
289,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
27657,
6272,
2250,
12,
780,
508,
13,
288,
3639,
467,
11452,
707,
273,
1623,
1305,
12,
529,
1769,
3639,
309,
261,
2039,
422,
446,
13,
288,
5411,
368,
2332,
18,
659,
18,
8222,
2932,
39,
970,
1104,
707,
11843,
397,
508,
397,
7023,
316,
667,
315,
397,
358,
461,
10663,
5411,
18814,
7675,
588,
1305,
1649,
7675,
5688,
10317,
1622,
12,
2211,
16,
508,
1769,
5411,
327,
446,
31,
3639,
289,
3639,
27657,
563,
273,
394,
27657,
12,
2211,
16,
707,
18,
588,
2279,
338,
10663,
3639,
309,
261,
2039,
1276,
11873,
1305,
13,
288,
5411,
563,
18,
542,
461,
12,
529,
1769,
5411,
563,
18,
542,
7571,
12443,
12,
2936,
1305,
13,
707,
2934,
588,
7571,
2
] |
boolean isInSameGroup( Object currentGroupKey, Object previousGroupKey,
|
public boolean isInSameGroup( Object currentGroupKey, Object previousGroupKey,
|
boolean isInSameGroup( Object currentGroupKey, Object previousGroupKey, Object groupStartValue, int currRowPos ) throws DataException { return isInSameGroup( currentGroupKey, previousGroupKey ); }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/00244bb436ab578cc2a1fa2282a283e816d4c3d0/GroupBy.java/buggy/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/transform/group/GroupBy.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6494,
8048,
8650,
1114,
12,
1033,
783,
1114,
653,
16,
1033,
2416,
1114,
653,
16,
1082,
202,
921,
1041,
1685,
620,
16,
509,
4306,
1999,
1616,
262,
1216,
1910,
503,
202,
95,
202,
202,
2463,
8048,
8650,
1114,
12,
783,
1114,
653,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6494,
8048,
8650,
1114,
12,
1033,
783,
1114,
653,
16,
1033,
2416,
1114,
653,
16,
1082,
202,
921,
1041,
1685,
620,
16,
509,
4306,
1999,
1616,
262,
1216,
1910,
503,
202,
95,
202,
202,
2463,
8048,
8650,
1114,
12,
783,
1114,
653,
16,
2416,
1114,
653,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Display.getDefault().asyncExec(new Runnable() {
|
Display display= Display.getDefault(); if (display.isDisposed()) { return; } display.asyncExec(new Runnable() {
|
public void evaluationComplete(final IJavaEvaluationResult result) { final IJavaValue value= result.getValue(); if (result.hasProblems() || value != null) { Display.getDefault().asyncExec(new Runnable() { public void run() { if (result.hasProblems()) reportProblems(result); if (value != null) insertResult(value); } }); } }
|
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/e0485d327e317da27f9cfaad10a9d2f5929028e6/DisplayAction.java/buggy/org.eclipse.jdt.ui/ui debug/org/eclipse/jdt/internal/debug/ui/display/DisplayAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
9873,
6322,
12,
6385,
467,
5852,
13468,
1253,
563,
13,
288,
9506,
202,
6385,
467,
5852,
620,
460,
33,
563,
18,
24805,
5621,
9506,
202,
430,
261,
2088,
18,
5332,
626,
19122,
1435,
747,
460,
480,
446,
13,
288,
1082,
202,
4236,
18,
588,
1868,
7675,
3810,
1905,
12,
2704,
10254,
1435,
288,
9506,
202,
482,
918,
1086,
1435,
288,
6862,
202,
430,
261,
2088,
18,
5332,
626,
19122,
10756,
25083,
202,
6006,
626,
19122,
12,
2088,
1769,
6862,
202,
430,
261,
1132,
480,
446,
13,
25083,
202,
6387,
1253,
12,
1132,
1769,
9506,
202,
97,
1082,
202,
22938,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
9873,
6322,
12,
6385,
467,
5852,
13468,
1253,
563,
13,
288,
9506,
202,
6385,
467,
5852,
620,
460,
33,
563,
18,
24805,
5621,
9506,
202,
430,
261,
2088,
18,
5332,
626,
19122,
1435,
747,
460,
480,
446,
13,
288,
1082,
202,
4236,
18,
588,
1868,
7675,
3810,
1905,
12,
2704,
10254,
1435,
288,
9506,
202,
482,
918,
1086,
1435,
288,
6862,
202,
430,
261,
2088,
18,
5332,
626,
19122,
10756,
25083,
202,
6006,
626,
19122,
12,
2088,
1769,
6862,
202,
430,
261,
1132,
480,
446,
13,
25083,
202,
6387,
1253,
12,
1132,
1769,
9506,
202,
97,
1082,
202,
22938,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
bestDist[j][0] = m_Distribution[j][0] / sumOfWeights[j];
|
if (!Utils.eq(sumOfWeights[j], 0)) { bestDist[j][0] = m_Distribution[j][0] / sumOfWeights[j]; } else { bestDist[j][0] = totalSum / totalSumOfWeights; }
|
private double findSplitNumericNumeric(int index) throws Exception { double bestVal = Double.MAX_VALUE, currVal, currCutPoint; int numMissing = 0; double[] sumsSquares = new double[3], sumOfWeights = new double[3]; double[][] bestDist = new double[3][1]; double meanNoMissing; // Compute counts for all the values for (int i = 0; i < theInstances.numInstances(); i++) { Instance inst = theInstances.instance(i); if (!inst.isMissing(index)) { m_Distribution[1][0] += inst.classValue() * inst.weight(); sumsSquares[1] += inst.classValue() * inst.classValue() * inst.weight(); sumOfWeights[1] += inst.weight(); } else { m_Distribution[2][0] += inst.classValue() * inst.weight(); sumsSquares[2] += inst.classValue() * inst.classValue() * inst.weight(); sumOfWeights[2] += inst.weight(); numMissing++; } } meanNoMissing = m_Distribution[1][0] / sumOfWeights[1]; // Sort instances theInstances.sort(index); // Make split counts for each possible split and evaluate for (int i = 0; i < theInstances.numInstances() - (numMissing + 1); i++) { Instance inst = theInstances.instance(i); Instance instPlusOne = theInstances.instance(i + 1); m_Distribution[0][0] += inst.classValue() * inst.weight(); sumsSquares[0] += inst.classValue() * inst.classValue() * inst.weight(); sumOfWeights[0] += inst.weight(); m_Distribution[1][0] -= inst.classValue() * inst.weight(); sumsSquares[1] -= inst.classValue() * inst.classValue() * inst.weight(); sumOfWeights[1] -= inst.weight(); if (Utils.sm(inst.value(index), instPlusOne.value(index))) { currCutPoint = (inst.value(index) + instPlusOne.value(index)) / 2.0; currVal = variance(m_Distribution, sumsSquares, sumOfWeights); if (Utils.sm(currVal, bestVal)) { m_SplitPoint = currCutPoint; bestVal = currVal; for (int j = 0; j < 3; j++) { bestDist[j][0] = m_Distribution[j][0] / sumOfWeights[j]; } } } } // No missing values in training data if (numMissing == 0) { bestDist[2][0] = meanNoMissing; } m_Distribution = bestDist; return bestVal; }
|
4179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4179/d5cc76d6236d14e5bc66eba682a7567d0fb4ecb0/DecisionStump.java/buggy/trunk/weka/classifiers/trees/DecisionStump.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
1645,
1104,
5521,
9902,
9902,
12,
474,
770,
13,
1216,
1185,
288,
565,
1645,
3796,
3053,
273,
3698,
18,
6694,
67,
4051,
16,
4306,
3053,
16,
4306,
15812,
2148,
31,
565,
509,
818,
4841,
273,
374,
31,
565,
1645,
8526,
26608,
55,
29405,
273,
394,
1645,
63,
23,
6487,
2142,
951,
16595,
273,
394,
1645,
63,
23,
15533,
565,
1645,
63,
6362,
65,
3796,
5133,
273,
394,
1645,
63,
23,
6362,
21,
15533,
565,
1645,
3722,
2279,
4841,
31,
565,
368,
8155,
6880,
364,
777,
326,
924,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
326,
5361,
18,
2107,
5361,
5621,
277,
27245,
288,
1377,
5180,
1804,
273,
326,
5361,
18,
1336,
12,
77,
1769,
1377,
309,
16051,
8591,
18,
291,
4841,
12,
1615,
3719,
288,
202,
81,
67,
9003,
63,
21,
6362,
20,
65,
1011,
1804,
18,
1106,
620,
1435,
380,
1804,
18,
4865,
5621,
202,
1364,
87,
55,
29405,
63,
21,
65,
1011,
1804,
18,
1106,
620,
1435,
380,
1804,
18,
1106,
620,
1435,
3196,
225,
380,
1804,
18,
4865,
5621,
202,
1364,
951,
16595,
63,
21,
65,
1011,
1804,
18,
4865,
5621,
1377,
289,
469,
288,
202,
81,
67,
9003,
63,
22,
6362,
20,
65,
1011,
1804,
18,
1106,
620,
1435,
380,
1804,
18,
4865,
5621,
202,
1364,
87,
55,
29405,
63,
22,
65,
1011,
1804,
18,
1106,
620,
1435,
380,
1804,
18,
1106,
620,
1435,
3196,
225,
380,
1804,
18,
4865,
5621,
202,
1364,
951,
16595,
63,
22,
65,
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,
1645,
1104,
5521,
9902,
9902,
12,
474,
770,
13,
1216,
1185,
288,
565,
1645,
3796,
3053,
273,
3698,
18,
6694,
67,
4051,
16,
4306,
3053,
16,
4306,
15812,
2148,
31,
565,
509,
818,
4841,
273,
374,
31,
565,
1645,
8526,
26608,
55,
29405,
273,
394,
1645,
63,
23,
6487,
2142,
951,
16595,
273,
394,
1645,
63,
23,
15533,
565,
1645,
63,
6362,
65,
3796,
5133,
273,
394,
1645,
63,
23,
6362,
21,
15533,
565,
1645,
3722,
2279,
4841,
31,
565,
368,
8155,
6880,
364,
777,
326,
924,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
326,
5361,
18,
2107,
5361,
5621,
277,
27245,
288,
1377,
5180,
1804,
273,
326,
5361,
18,
1336,
12,
77,
1769,
2
] |
if (jj_scan_token(ABSTRACT)) return true;
|
if (jj_3R_47()) return true;
|
final private boolean jj_3R_134() { if (jj_scan_token(ABSTRACT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
|
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/83d81b076b32acdf3f82077c7f4c2a2e160aa32f/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
25213,
1435,
288,
565,
309,
261,
78,
78,
67,
23,
54,
67,
9462,
10756,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
327,
629,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
25213,
1435,
288,
565,
309,
261,
78,
78,
67,
23,
54,
67,
9462,
10756,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
327,
629,
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
] |
this.extensionFactory = extensionFactory;
|
public QuickParseASTFactory( IASTExtensionFactory extensionFactory ) { super(); this.extensionFactory = extensionFactory; }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/b8154fb0fc2f322c7797146022726822d206bd93/QuickParseASTFactory.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ast/quick/QuickParseASTFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19884,
3201,
9053,
1733,
12,
467,
9053,
3625,
1733,
2710,
1733,
262,
202,
95,
202,
202,
9565,
5621,
202,
202,
2211,
18,
6447,
1733,
273,
2710,
1733,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19884,
3201,
9053,
1733,
12,
467,
9053,
3625,
1733,
2710,
1733,
262,
202,
95,
202,
202,
9565,
5621,
202,
202,
2211,
18,
6447,
1733,
273,
2710,
1733,
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
] |
|
g.drawLine(x + w, y, x + w, y + h);
|
g.drawLine(x + w - 1, y, x + w - 1, y + h - 2);
|
protected void paintContentBorderRightEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h) { Color saved = g.getColor(); int startgap = rects[selectedIndex].y; int endgap = rects[selectedIndex].y + rects[selectedIndex].height; int diff = 0; if (tabPlacement == SwingConstants.RIGHT) { if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { Point p = findPointForIndex(currentScrollLocation); diff = p.y; } g.setColor(shadow); g.drawLine(x + w - 1, y + 1, x + w - 1, startgap - diff); g.drawLine(x + w - 1, endgap - diff, x + w - 1, y + h - 1); g.setColor(darkShadow); g.drawLine(x + w, y, x + w, startgap - diff); g.drawLine(x + w, endgap - diff, x + w, y + h); } else { g.setColor(shadow); g.drawLine(x + w - 1, y + 1, x + w - 1, y + h - 1); g.setColor(darkShadow); g.drawLine(x + w, y, x + w, y + h); } g.setColor(saved); }
|
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/c3578ff8df212cfd845d637bc8e129d627f9d68f/BasicTabbedPaneUI.java/clean/javax/swing/plaf/basic/BasicTabbedPaneUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
12574,
1350,
8107,
4726,
6098,
12,
17558,
314,
16,
509,
3246,
12420,
16,
4766,
2398,
509,
29244,
16,
509,
619,
16,
509,
677,
16,
4766,
2398,
509,
341,
16,
509,
366,
13,
225,
288,
565,
5563,
5198,
273,
314,
18,
588,
2957,
5621,
565,
509,
787,
14048,
273,
4917,
87,
63,
8109,
1016,
8009,
93,
31,
565,
509,
679,
14048,
273,
4917,
87,
63,
8109,
1016,
8009,
93,
397,
4917,
87,
63,
8109,
1016,
8009,
4210,
31,
565,
509,
3122,
273,
374,
31,
565,
309,
261,
7032,
12420,
422,
26145,
2918,
18,
11847,
13,
1377,
288,
3639,
309,
261,
7032,
8485,
18,
588,
5661,
3744,
2582,
1435,
422,
804,
5661,
2992,
8485,
18,
2312,
14555,
67,
28899,
67,
7868,
5069,
13,
1850,
288,
5411,
4686,
293,
273,
1104,
2148,
1290,
1016,
12,
2972,
6806,
2735,
1769,
5411,
3122,
273,
293,
18,
93,
31,
1850,
289,
3639,
314,
18,
542,
2957,
12,
19119,
1769,
3639,
314,
18,
9446,
1670,
12,
92,
397,
341,
300,
404,
16,
677,
397,
404,
16,
619,
397,
341,
300,
404,
16,
787,
14048,
300,
3122,
1769,
3639,
314,
18,
9446,
1670,
12,
92,
397,
341,
300,
404,
16,
679,
14048,
300,
3122,
16,
619,
397,
341,
300,
404,
16,
677,
397,
366,
300,
404,
1769,
3639,
314,
18,
542,
2957,
12,
25045,
12957,
1769,
3639,
314,
18,
9446,
1670,
12,
92,
397,
341,
16,
677,
16,
619,
397,
341,
16,
787,
14048,
300,
3122,
1769,
3639,
314,
18,
9446,
1670,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
12574,
1350,
8107,
4726,
6098,
12,
17558,
314,
16,
509,
3246,
12420,
16,
4766,
2398,
509,
29244,
16,
509,
619,
16,
509,
677,
16,
4766,
2398,
509,
341,
16,
509,
366,
13,
225,
288,
565,
5563,
5198,
273,
314,
18,
588,
2957,
5621,
565,
509,
787,
14048,
273,
4917,
87,
63,
8109,
1016,
8009,
93,
31,
565,
509,
679,
14048,
273,
4917,
87,
63,
8109,
1016,
8009,
93,
397,
4917,
87,
63,
8109,
1016,
8009,
4210,
31,
565,
509,
3122,
273,
374,
31,
565,
309,
261,
7032,
12420,
422,
26145,
2918,
18,
11847,
13,
1377,
288,
3639,
309,
261,
7032,
8485,
18,
588,
5661,
3744,
2582,
1435,
422,
804,
5661,
2992,
8485,
18,
2312,
14555,
67,
2
] |
if (isNonDisplayableJob(info.getJob()))
|
if (isUpdateJob(info.getJob()))
|
public void refresh(JobInfo info) { if (isNonDisplayableJob(info.getJob())) return; synchronized (updateLock) { //If we never displayed this job then add it instead. if (isFiltered(info.getJob())) { add(info); removeFromFiltered(info.getJob()); } else currentInfo.refresh(info); } //Add in a 100ms delay so as to keep priority low ProgressViewUpdater.getSingleton().scheduleUpdate(); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/d3b4b31ecabe1d86134fe8862237288d7938f95b/ProgressViewUpdater.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressViewUpdater.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
4460,
12,
2278,
966,
1123,
13,
288,
202,
202,
430,
261,
291,
3989,
4236,
429,
2278,
12,
1376,
18,
588,
2278,
1435,
3719,
1082,
202,
2463,
31,
202,
202,
22043,
261,
2725,
2531,
13,
288,
1082,
202,
759,
2047,
732,
5903,
10453,
333,
1719,
1508,
527,
518,
3560,
18,
1082,
202,
430,
261,
291,
14478,
12,
1376,
18,
588,
2278,
1435,
3719,
288,
9506,
202,
1289,
12,
1376,
1769,
9506,
202,
4479,
1265,
14478,
12,
1376,
18,
588,
2278,
10663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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
4460,
12,
2278,
966,
1123,
13,
288,
202,
202,
430,
261,
291,
3989,
4236,
429,
2278,
12,
1376,
18,
588,
2278,
1435,
3719,
1082,
202,
2463,
31,
202,
202,
22043,
261,
2725,
2531,
13,
288,
1082,
202,
759,
2047,
732,
5903,
10453,
333,
1719,
1508,
527,
518,
3560,
18,
1082,
202,
430,
261,
291,
14478,
12,
1376,
18,
588,
2278,
1435,
3719,
288,
9506,
202,
1289,
12,
1376,
1769,
9506,
202,
4479,
1265,
14478,
12,
1376,
18,
588,
2278,
10663,
1082,
202,
97,
469,
9506,
202,
2972,
966,
18,
9144,
12,
1376,
1769,
202,
202,
97,
202,
202,
759,
986,
316,
279,
2130,
959,
4624,
1427,
487,
358,
3455,
4394,
4587,
202,
202,
5491,
1767,
2
] |
public void eSet( EStructuralFeature eFeature, Object newValue )
|
public void eSet( int featureID, Object newValue )
|
public void eSet( EStructuralFeature eFeature, Object newValue ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case AttributePackage.SERIES_VALUE__NAME : setName( (String) newValue ); return; } eDynamicSet( eFeature, newValue ); }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/036e8c78765730b146e5854b9d6c397a296fed86/SeriesValueImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/SeriesValueImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
20199,
12,
512,
14372,
4595,
425,
4595,
16,
1033,
6129,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
3601,
2261,
18,
2123,
8805,
67,
4051,
972,
1985,
294,
9506,
202,
542,
461,
12,
261,
780,
13,
6129,
11272,
9506,
202,
2463,
31,
202,
202,
97,
202,
202,
73,
9791,
694,
12,
425,
4595,
16,
6129,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
20199,
12,
512,
14372,
4595,
425,
4595,
16,
1033,
6129,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
3601,
2261,
18,
2123,
8805,
67,
4051,
972,
1985,
294,
9506,
202,
542,
461,
12,
261,
780,
13,
6129,
11272,
9506,
202,
2463,
31,
202,
202,
97,
202,
202,
73,
9791,
694,
12,
425,
4595,
16,
6129,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
int vis = getVisibleRowCount(); int nrows = getModel() == null ? 0 : getModel().getSize(); Dimension single = new Dimension(10, 10);; Rectangle bounds = null;
|
public Dimension getPreferredScrollableViewportSize() { int vis = getVisibleRowCount(); int nrows = getModel() == null ? 0 : getModel().getSize(); // FIXME: this is a somewhat arbitrary default, but.. ? Dimension single = new Dimension(10, 10);; Rectangle bounds = null; if (vis > nrows) { if (fixedCellWidth != -1 && fixedCellHeight != -1) { single = new Dimension(fixedCellWidth, fixedCellHeight); } else if (nrows != 0 && getUI() != null) { Rectangle tmp = getUI().getCellBounds(this, 0, 0); if (tmp != null) single = tmp.getSize(); } } else if (getUI() != null) { return getUI().getCellBounds(this, 0, vis - 1).getSize(); } return new Dimension(single.width, single.height * vis); }
|
56365 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56365/7878167de36c868f3f4b0f507094bb155efbb199/JList.java/buggy/libjava/javax/swing/JList.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
13037,
12822,
4193,
6806,
429,
22743,
1225,
1435,
225,
288,
565,
509,
2281,
273,
31564,
26359,
5621,
565,
509,
18871,
273,
7454,
1435,
422,
446,
692,
374,
294,
7454,
7675,
588,
1225,
5621,
565,
368,
9852,
30,
333,
353,
279,
18016,
11304,
11078,
805,
16,
1496,
838,
692,
565,
13037,
2202,
273,
394,
13037,
12,
2163,
16,
1728,
1769,
31,
565,
13264,
4972,
273,
446,
31,
565,
309,
261,
3516,
405,
18871,
13,
1377,
288,
3639,
309,
261,
12429,
4020,
2384,
480,
300,
21,
597,
2398,
5499,
4020,
2686,
480,
300,
21,
13,
1850,
288,
5411,
2202,
273,
394,
13037,
12,
12429,
4020,
2384,
16,
5499,
4020,
2686,
1769,
1850,
289,
3639,
469,
309,
261,
82,
3870,
480,
374,
597,
336,
5370,
1435,
480,
446,
13,
1850,
288,
5411,
13264,
1853,
273,
336,
5370,
7675,
588,
4020,
5694,
12,
2211,
16,
374,
16,
374,
1769,
5411,
309,
261,
5645,
480,
446,
13,
2868,
2202,
273,
1853,
18,
588,
1225,
5621,
1850,
289,
1377,
289,
565,
469,
309,
261,
588,
5370,
1435,
480,
446,
13,
1377,
288,
3639,
327,
336,
5370,
7675,
588,
4020,
5694,
12,
2211,
16,
374,
16,
2281,
300,
404,
2934,
588,
1225,
5621,
1377,
289,
565,
327,
394,
13037,
12,
7526,
18,
2819,
16,
2202,
18,
4210,
380,
2281,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
13037,
12822,
4193,
6806,
429,
22743,
1225,
1435,
225,
288,
565,
509,
2281,
273,
31564,
26359,
5621,
565,
509,
18871,
273,
7454,
1435,
422,
446,
692,
374,
294,
7454,
7675,
588,
1225,
5621,
565,
368,
9852,
30,
333,
353,
279,
18016,
11304,
11078,
805,
16,
1496,
838,
692,
565,
13037,
2202,
273,
394,
13037,
12,
2163,
16,
1728,
1769,
31,
565,
13264,
4972,
273,
446,
31,
565,
309,
261,
3516,
405,
18871,
13,
1377,
288,
3639,
309,
261,
12429,
4020,
2384,
480,
300,
21,
597,
2398,
5499,
4020,
2686,
480,
300,
21,
13,
1850,
288,
5411,
2202,
273,
394,
13037,
12,
12429,
4020,
2384,
16,
5499,
4020,
2686,
1769,
1850,
289,
3639,
469,
309,
261,
82,
3870,
2
] |
|
public void setProperty(String name, String value) { if (value == null) { return; } name = Introspector.decapitalize(name); PropertyDescriptor prop = getPropertyDescriptor(name); //LogLog.debug("---------Key: "+name+", type="+prop.getPropertyType()); if (prop == null) { addWarn( "No such property [" + name + "] in " + objClass.getName() + "."); } else { try { setProperty(prop, name, value); } catch (PropertySetterException ex) { addWarn( "Failed to set property [" + name + "] to value \"" + value + "\". ", ex); } } }
|
47402 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47402/d3806b8259a72fed9836fbf64e5ec69286d504ac/PropertySetter.java/clean/logback-core/src/main/java/ch/qos/logback/core/util/PropertySetter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
7486,
12,
780,
508,
16,
514,
460,
13,
288,
565,
309,
261,
1132,
422,
446,
13,
288,
1377,
327,
31,
565,
289,
565,
508,
273,
3094,
26170,
280,
18,
4924,
438,
7053,
554,
12,
529,
1769,
565,
26761,
2270,
273,
3911,
3187,
12,
529,
1769,
565,
368,
1343,
1343,
18,
4148,
2932,
8567,
653,
30,
13773,
529,
15,
3113,
618,
1546,
15,
5986,
18,
588,
22802,
10663,
565,
309,
261,
5986,
422,
446,
13,
288,
1377,
527,
3160,
12,
3639,
315,
2279,
4123,
1272,
8247,
397,
508,
397,
9850,
316,
315,
397,
1081,
797,
18,
17994,
1435,
397,
4585,
1769,
565,
289,
469,
288,
1377,
775,
288,
3639,
7486,
12,
5986,
16,
508,
16,
460,
1769,
1377,
289,
1044,
261,
1396,
8465,
503,
431,
13,
288,
3639,
527,
3160,
12,
1850,
315,
2925,
358,
444,
1272,
8247,
397,
508,
397,
9850,
358,
460,
11843,
397,
460,
397,
7023,
18,
3104,
431,
1769,
1377,
289,
565,
289,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
7486,
12,
780,
508,
16,
514,
460,
13,
288,
565,
309,
261,
1132,
422,
446,
13,
288,
1377,
327,
31,
565,
289,
565,
508,
273,
3094,
26170,
280,
18,
4924,
438,
7053,
554,
12,
529,
1769,
565,
26761,
2270,
273,
3911,
3187,
12,
529,
1769,
565,
368,
1343,
1343,
18,
4148,
2932,
8567,
653,
30,
13773,
529,
15,
3113,
618,
1546,
15,
5986,
18,
588,
22802,
10663,
565,
309,
261,
5986,
422,
446,
13,
288,
1377,
527,
3160,
12,
3639,
315,
2279,
4123,
1272,
8247,
397,
508,
397,
9850,
316,
315,
397,
1081,
797,
18,
17994,
1435,
397,
4585,
1769,
565,
289,
469,
288,
1377,
775,
288,
3639,
7486,
12,
5986,
16,
508,
16,
460,
1769,
2
] |
||
return new MemberExpressionNode(base,name);
|
return new MemberExpressionNode(base,name,in.positionOfMark());
|
static MemberExpressionNode MemberExpression( Node base, Node name ) { return new MemberExpressionNode(base,name); }
|
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/c8f0271f30beb85814bc53c3804d1ad914028ad4/NodeFactory.java/buggy/js2/jsc/src/java/parser/NodeFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
8596,
2300,
907,
8596,
2300,
12,
2029,
1026,
16,
2029,
508,
262,
288,
3639,
327,
394,
8596,
2300,
907,
12,
1969,
16,
529,
16,
267,
18,
3276,
951,
3882,
10663,
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
] |
try { this.fValID.validate( null, this.fResetID ); this.fValIDRef.validate(null, this.fResetIDRef ); this.fValIDRefs.validate(null, this.fResetIDRef ); } catch ( InvalidDatatypeValueException ex ) { System.err.println("Error re-Initializing: ID,IDRef,IDRefs pools" ); } }
|
try { this.fValID.validate( null, this.fResetID ); this.fValIDRef.validate(null, this.fResetIDRef ); this.fValIDRefs.validate(null, this.fResetIDRef ); } catch ( InvalidDatatypeValueException ex ) { System.err.println("Error re-Initializing: ID,IDRef,IDRefs pools" ); } }
|
private void poolReset() { try { //System.out.println("We reset" ); this.fValID.validate( null, this.fResetID ); this.fValIDRef.validate(null, this.fResetIDRef ); this.fValIDRefs.validate(null, this.fResetIDRef ); } catch ( InvalidDatatypeValueException ex ) { System.err.println("Error re-Initializing: ID,IDRef,IDRefs pools" ); } } // poolReset()
|
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/b36768aae85d6d13bc8c8289ca78efb212c8fb8f/XMLValidator.java/clean/src/org/apache/xerces/validators/common/XMLValidator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2845,
7013,
1435,
288,
3639,
775,
288,
5411,
368,
3163,
18,
659,
18,
8222,
2932,
3218,
2715,
6,
11272,
5411,
333,
18,
74,
3053,
734,
18,
5662,
12,
446,
16,
333,
18,
74,
7013,
734,
11272,
5411,
333,
18,
74,
3053,
734,
1957,
18,
5662,
12,
2011,
16,
333,
18,
74,
7013,
734,
1957,
11272,
5411,
333,
18,
74,
3053,
734,
9837,
18,
5662,
12,
2011,
16,
333,
18,
74,
7013,
734,
1957,
11272,
3639,
289,
1044,
261,
1962,
20228,
9738,
431,
262,
288,
5411,
2332,
18,
370,
18,
8222,
2932,
668,
283,
17,
29782,
30,
1599,
16,
734,
1957,
16,
734,
9837,
16000,
6,
11272,
3639,
289,
565,
289,
368,
2845,
7013,
1435,
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,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
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,
2845,
7013,
1435,
288,
3639,
775,
288,
5411,
368,
3163,
18,
659,
18,
8222,
2932,
3218,
2715,
6,
11272,
5411,
333,
18,
74,
3053,
734,
18,
5662,
12,
446,
16,
333,
18,
74,
7013,
734,
11272,
5411,
333,
18,
74,
3053,
734,
1957,
18,
5662,
12,
2011,
16,
333,
18,
74,
7013,
734,
1957,
11272,
5411,
333,
18,
74,
3053,
734,
9837,
18,
5662,
12,
2011,
16,
333,
18,
74,
7013,
734,
1957,
11272,
3639,
289,
1044,
261,
1962,
20228,
9738,
431,
262,
288,
5411,
2332,
18,
370,
18,
8222,
2932,
668,
283,
17,
29782,
30,
1599,
16,
734,
1957,
16,
734,
9837,
16000,
6,
11272,
3639,
289,
565,
289,
368,
2845,
7013,
1435,
2,
-100,
-100
] |
String getUniqueReportName( )
|
String getUniqueReportName( String prefix, String ext )
|
String getUniqueReportName( ) { IProject[] pjs = ResourcesPlugin.getWorkspace( ) .getRoot( ) .getProjects( ); resetUniqueCount( ); boolean goon = true; while ( goon ) { goon = false; for ( int i = 0; i < pjs.length; i++ ) { if ( pjs[i].isAccessible( ) ) { if ( !validDuplicate( NEW_REPORT_FILE_NAME_PREFIX, NEW_REPORT_FILE_EXTENSION, UNIQUE_COUNTER, pjs[i] ) ) { UNIQUE_COUNTER++; goon = true; break; } } } } if ( UNIQUE_COUNTER == 0 ) { return NEW_REPORT_FILE_NAME; } return NEW_REPORT_FILE_NAME_PREFIX + "_" //$NON-NLS-1$ + UNIQUE_COUNTER; //$NON-NLS-1$ }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/f714d7eaed30b0b844c3069afe39af2394e43d4a/NewReportWizard.java/buggy/UI/org.eclipse.birt.report.designer.ui.ide/src/org/eclipse/birt/report/designer/ui/ide/wizards/NewReportWizard.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
780,
16076,
4820,
461,
12,
262,
202,
95,
202,
202,
45,
4109,
8526,
293,
2924,
273,
8128,
3773,
18,
588,
8241,
12,
262,
9506,
202,
18,
588,
2375,
12,
262,
9506,
202,
18,
588,
15298,
12,
11272,
202,
202,
6208,
6303,
1380,
12,
11272,
202,
202,
6494,
1960,
265,
273,
638,
31,
202,
202,
17523,
261,
1960,
265,
262,
202,
202,
95,
1082,
202,
3240,
265,
273,
629,
31,
1082,
202,
1884,
261,
509,
277,
273,
374,
31,
277,
411,
293,
2924,
18,
2469,
31,
277,
9904,
262,
1082,
202,
95,
9506,
202,
430,
261,
293,
2924,
63,
77,
8009,
291,
10451,
12,
262,
262,
9506,
202,
95,
6862,
202,
430,
261,
401,
877,
11826,
12,
12887,
67,
22710,
67,
3776,
67,
1985,
67,
6307,
16,
6862,
1082,
202,
12917,
67,
22710,
67,
3776,
67,
12796,
16,
6862,
1082,
202,
16879,
67,
7240,
654,
16,
6862,
1082,
202,
84,
2924,
63,
77,
65,
262,
262,
6862,
202,
95,
25083,
202,
16879,
67,
7240,
654,
9904,
31,
25083,
202,
3240,
265,
273,
638,
31,
25083,
202,
8820,
31,
6862,
202,
97,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
202,
202,
430,
261,
26623,
67,
7240,
654,
422,
374,
262,
202,
202,
95,
1082,
202,
2463,
12887,
67,
22710,
67,
3776,
67,
1985,
31,
202,
202,
97,
202,
202,
2463,
12887,
67,
22710,
67,
3776,
67,
1985,
67,
6307,
397,
8802,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
15,
26623,
67,
7240,
654,
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,
780,
16076,
4820,
461,
12,
262,
202,
95,
202,
202,
45,
4109,
8526,
293,
2924,
273,
8128,
3773,
18,
588,
8241,
12,
262,
9506,
202,
18,
588,
2375,
12,
262,
9506,
202,
18,
588,
15298,
12,
11272,
202,
202,
6208,
6303,
1380,
12,
11272,
202,
202,
6494,
1960,
265,
273,
638,
31,
202,
202,
17523,
261,
1960,
265,
262,
202,
202,
95,
1082,
202,
3240,
265,
273,
629,
31,
1082,
202,
1884,
261,
509,
277,
273,
374,
31,
277,
411,
293,
2924,
18,
2469,
31,
277,
9904,
262,
1082,
202,
95,
9506,
202,
430,
261,
293,
2924,
63,
77,
8009,
291,
10451,
12,
262,
262,
9506,
202,
95,
6862,
202,
430,
261,
401,
877,
11826,
12,
12887,
2
] |
protected void printEscaped( char ch )
|
protected void printEscaped(int ch)
|
protected void printEscaped( char ch ) { String charRef; // If there is a suitable entity reference for this // character, print it. The list of available entity // references is almost but not identical between // XML and HTML. charRef = getEntityRef( ch ); if ( charRef != null ) { _printer.printText( '&' ); _printer.printText( charRef ); _printer.printText( ';' ); } else if ( ( ch >= ' ' && ch <= _lastPrintable && ch != 0xF7 ) || ch == '\n' || ch == '\r' || ch == '\t' ) { // If the character is not printable, print as character reference. // Non printables are below ASCII space but not tab or line // terminator, ASCII delete, or above a certain Unicode threshold. _printer.printText( ch ); } else { _printer.printText( "&#" ); _printer.printText( Integer.toString( ch ) ); _printer.printText( ';' ); } }
|
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/9d0ad85c5d377c5cabaef090a1a582065d7f52d9/BaseMarkupSerializer.java/clean/src/org/apache/xml/serialize/BaseMarkupSerializer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1172,
17208,
12,
474,
462,
13,
565,
288,
3639,
514,
1149,
1957,
31,
3639,
368,
971,
1915,
353,
279,
10631,
1522,
2114,
364,
333,
3639,
368,
3351,
16,
1172,
518,
18,
1021,
666,
434,
2319,
1522,
3639,
368,
5351,
353,
23889,
1496,
486,
12529,
3086,
3639,
368,
3167,
471,
3982,
18,
3639,
1149,
1957,
273,
6352,
1957,
12,
462,
11272,
3639,
309,
261,
1149,
1957,
480,
446,
262,
288,
5411,
389,
30439,
18,
1188,
1528,
12,
9824,
11272,
5411,
389,
30439,
18,
1188,
1528,
12,
1149,
1957,
11272,
5411,
389,
30439,
18,
1188,
1528,
12,
7554,
11272,
3639,
289,
469,
309,
261,
261,
462,
1545,
296,
296,
597,
462,
1648,
389,
2722,
5108,
429,
597,
462,
480,
374,
16275,
27,
262,
747,
10792,
462,
422,
2337,
82,
11,
747,
462,
422,
2337,
86,
11,
747,
462,
422,
2337,
88,
11,
262,
288,
5411,
368,
971,
326,
3351,
353,
486,
23474,
16,
1172,
487,
3351,
2114,
18,
5411,
368,
3858,
1172,
1538,
854,
5712,
11768,
3476,
1496,
486,
3246,
578,
980,
5411,
368,
24965,
16,
11768,
1430,
16,
578,
5721,
279,
8626,
9633,
5573,
18,
5411,
389,
30439,
18,
1188,
1528,
12,
462,
11272,
3639,
289,
469,
288,
5411,
389,
30439,
18,
1188,
1528,
12,
7830,
17133,
11272,
5411,
389,
30439,
18,
1188,
1528,
12,
2144,
18,
10492,
12,
462,
262,
11272,
5411,
389,
30439,
18,
1188,
1528,
12,
7554,
11272,
3639,
289,
565,
289,
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,
377,
4750,
918,
1172,
17208,
12,
474,
462,
13,
565,
288,
3639,
514,
1149,
1957,
31,
3639,
368,
971,
1915,
353,
279,
10631,
1522,
2114,
364,
333,
3639,
368,
3351,
16,
1172,
518,
18,
1021,
666,
434,
2319,
1522,
3639,
368,
5351,
353,
23889,
1496,
486,
12529,
3086,
3639,
368,
3167,
471,
3982,
18,
3639,
1149,
1957,
273,
6352,
1957,
12,
462,
11272,
3639,
309,
261,
1149,
1957,
480,
446,
262,
288,
5411,
389,
30439,
18,
1188,
1528,
12,
9824,
11272,
5411,
389,
30439,
18,
1188,
1528,
12,
1149,
1957,
11272,
5411,
389,
30439,
18,
1188,
1528,
12,
7554,
11272,
3639,
289,
469,
309,
261,
261,
462,
1545,
296,
296,
597,
462,
1648,
389,
2722,
5108,
429,
597,
462,
2
] |
public GenericArray_c( distribution d, Parameter1 c, boolean safe ) { this(d, c, safe, true); }
|
protected GenericArray_c(Distribution_c d, boolean safe) { this(d, (Operator.Pointwise) null, safe); }
|
public GenericArray_c( distribution d, Parameter1 c, boolean safe ) { this(d, c, safe, true);}
|
1769 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1769/2680de30adb60ccb1201e7e9f854bdccf9e9ca9e/GenericArray_c.java/buggy/x10.runtime/src/x10/array/sharedmemory/GenericArray_c.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
7928,
1076,
67,
71,
12,
7006,
302,
16,
5498,
21,
276,
16,
1250,
4183,
262,
288,
377,
202,
2211,
12,
72,
16,
276,
16,
4183,
16,
638,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
7928,
1076,
67,
71,
12,
7006,
302,
16,
5498,
21,
276,
16,
1250,
4183,
262,
288,
377,
202,
2211,
12,
72,
16,
276,
16,
4183,
16,
638,
1769,
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
] |
public static IRubyObject exit(IRubyObject recv, IRubyObject args[]) { int status = 0; if (args.length > 0) { status = RubyNumeric.fix2int(args[0]); } System.exit(status); return recv.getRuntime().getNil(); }
|
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/d9317e0eeee3391f47aa759e650cc97132b1f4f7/KernelModule.java/clean/org/jruby/KernelModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3845,
7937,
10340,
921,
8593,
12,
7937,
10340,
921,
18334,
16,
7937,
10340,
921,
1968,
63,
5717,
95,
474,
2327,
33,
20,
31,
430,
12,
1968,
18,
2469,
34,
20,
15329,
2327,
33,
54,
10340,
9902,
18,
904,
22,
474,
12,
1968,
63,
20,
19226,
97,
3163,
18,
8593,
12,
2327,
1769,
2463,
18334,
18,
588,
5576,
7675,
588,
12616,
5621,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1071,
3845,
7937,
10340,
921,
8593,
12,
7937,
10340,
921,
18334,
16,
7937,
10340,
921,
1968,
63,
5717,
95,
474,
2327,
33,
20,
31,
430,
12,
1968,
18,
2469,
34,
20,
15329,
2327,
33,
54,
10340,
9902,
18,
904,
22,
474,
12,
1968,
63,
20,
19226,
97,
3163,
18,
8593,
12,
2327,
1769,
2463,
18334,
18,
588,
5576,
7675,
588,
12616,
5621,
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
] |
||
protected Object clone() throws CloneNotSupportedException { return null; }
|
protected Object clone() throws CloneNotSupportedException { AbstractAction copy = (AbstractAction) super.clone(); copy.store = (HashMap) store.clone(); return copy; }
|
protected Object clone() throws CloneNotSupportedException { // What to do?? return null; } // clone()
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractAction.java/clean/core/src/classpath/javax/javax/swing/AbstractAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1033,
3236,
1435,
1216,
12758,
25482,
288,
202,
202,
759,
18734,
358,
741,
14646,
202,
202,
2463,
446,
31,
202,
97,
368,
3236,
1435,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1033,
3236,
1435,
1216,
12758,
25482,
288,
202,
202,
759,
18734,
358,
741,
14646,
202,
202,
2463,
446,
31,
202,
97,
368,
3236,
1435,
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
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.