rem
stringlengths 1
53.3k
| add
stringlengths 0
80.5k
| context
stringlengths 6
326k
| meta
stringlengths 141
403
| input_ids
sequence | attention_mask
sequence | labels
sequence |
---|---|---|---|---|---|---|
Item[] items = getChildren(widget); for (int i = 0; i < items.length; i++) { if (items[i].getData().equals(element)) { refresh(element); return; } | if (getSorter () == null) { Item[] items = getChildren(widget); for (int i = 0; i < items.length; i++) { if (items[i].getData().equals(element)) { refresh(element); return; } } | private void createAddedElement(Widget widget, Object element) { if (equals(element, widget.getData())) return; Item[] items = getChildren(widget); for (int i = 0; i < items.length; i++) { if (items[i].getData().equals(element)) { //refresh the element in case it has new children refresh(element); return; } } int index = indexForElement(widget, element); createTreeItem(widget, element, index); } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/d94e309c616b79ca7e205fa94a5f9687ffcbe4f8/AbstractTreeViewer.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
752,
8602,
1046,
12,
4609,
3604,
16,
1033,
930,
13,
288,
3639,
309,
261,
14963,
12,
2956,
16,
3604,
18,
588,
751,
1435,
3719,
5411,
327,
31,
3639,
4342,
8526,
1516,
273,
10268,
12,
6587,
1769,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1516,
18,
2469,
31,
277,
27245,
288,
5411,
309,
261,
3319,
63,
77,
8009,
588,
751,
7675,
14963,
12,
2956,
3719,
288,
2398,
202,
759,
9144,
326,
930,
316,
648,
518,
711,
394,
2325,
2398,
202,
9144,
12,
2956,
1769,
7734,
327,
31,
5411,
289,
3639,
289,
3639,
509,
770,
273,
770,
1290,
1046,
12,
6587,
16,
930,
1769,
3639,
752,
2471,
1180,
12,
6587,
16,
930,
16,
770,
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,
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,
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,
752,
8602,
1046,
12,
4609,
3604,
16,
1033,
930,
13,
288,
3639,
309,
261,
14963,
12,
2956,
16,
3604,
18,
588,
751,
1435,
3719,
5411,
327,
31,
3639,
4342,
8526,
1516,
273,
10268,
12,
6587,
1769,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1516,
18,
2469,
31,
277,
27245,
288,
5411,
309,
261,
3319,
63,
77,
8009,
588,
751,
7675,
14963,
12,
2956,
3719,
288,
2398,
202,
759,
9144,
326,
930,
316,
648,
518,
711,
394,
2325,
2398,
202,
9144,
12,
2956,
1769,
7734,
327,
31,
5411,
289,
3639,
289,
3639,
509,
770,
273,
770,
1290,
1046,
12,
6587,
16,
930,
1769,
3639,
752,
2471,
1180,
12,
6587,
16,
930,
16,
770,
1769,
2
] |
public void DeleteSelectedPatch() { if (table.getSelectedRowCount()==0) { ErrorMsg.reportError("Error", "No Patch Selected."); return; } myModel.PatchList.remove(table.getSelectedRow()); myModel.fireTableDataChanged();// statusBar.setText(myModel.PatchList.size()+" Patches"); } | 7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/c8c2f2d41919d6587858edc131d215f4eebaeb4b/LibraryFrame.java/buggy/JSynthLib/core/LibraryFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2504,
7416,
7332,
1435,
565,
288,
3639,
309,
261,
2121,
18,
588,
7416,
26359,
1435,
631,
20,
13,
3639,
288,
3639,
1068,
3332,
18,
6006,
668,
2932,
668,
3113,
315,
2279,
12042,
4352,
828,
1199,
1769,
3639,
327,
31,
3639,
289,
3639,
3399,
1488,
18,
7332,
682,
18,
4479,
12,
2121,
18,
588,
7416,
1999,
10663,
3639,
3399,
1488,
18,
12179,
1388,
751,
5033,
5621,
759,
3639,
1267,
5190,
18,
542,
1528,
12,
4811,
1488,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2504,
7416,
7332,
1435,
565,
288,
3639,
309,
261,
2121,
18,
588,
7416,
26359,
1435,
631,
20,
13,
3639,
288,
3639,
1068,
3332,
18,
6006,
668,
2932,
668,
3113,
315,
2279,
12042,
4352,
828,
1199,
1769,
3639,
327,
31,
3639,
289,
3639,
3399,
1488,
18,
7332,
682,
18,
4479,
12,
2121,
18,
588,
7416,
1999,
10663,
3639,
3399,
1488,
18,
12179,
1388,
751,
5033,
5621,
759,
3639,
1267,
5190,
18,
542,
1528,
12,
4811,
1488,
18,
7332,
682,
18,
1467,
1435,
9078,
12042,
281,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
this.setElementLabelInsideUpdate(task, decomposition.getLabel()); | if (task.getLabel() == null) { setElementLabelInsideUpdate(task, decomposition.getLabel()); } | public void setTaskDecomposition(YAWLTask task, Decomposition decomposition) { Decomposition oldDecomposition = task.getDecomposition(); if (decomposition.equals(oldDecomposition)) { return; } task.setDecomposition(decomposition); task.getParameterLists().reset(); getNetModel().beginUpdate(); this.setElementLabelInsideUpdate(task, decomposition.getLabel()); getNetModel().postEdit( new UndoableTaskDecompositionChange( task, oldDecomposition, task.getDecomposition() ) ); getNetModel().endUpdate(); } | 53104 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53104/9fb291ac97d25f3b64217739db9efc0e4c82bf38/NetGraph.java/buggy/trunk/source/au/edu/qut/yawl/editor/net/NetGraph.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
2174,
17731,
3276,
12,
61,
12999,
48,
2174,
1562,
16,
26824,
3276,
26288,
13,
288,
565,
26824,
3276,
1592,
17731,
3276,
273,
1562,
18,
588,
17731,
3276,
5621,
565,
309,
261,
323,
24388,
18,
14963,
12,
1673,
17731,
3276,
3719,
288,
1377,
327,
31,
565,
289,
565,
1562,
18,
542,
17731,
3276,
12,
323,
24388,
1769,
565,
1562,
18,
588,
1662,
7432,
7675,
6208,
5621,
565,
336,
7308,
1488,
7675,
10086,
1891,
5621,
3639,
309,
261,
4146,
18,
588,
2224,
1435,
422,
446,
13,
288,
26692,
2224,
18619,
1891,
12,
4146,
16,
26288,
18,
588,
2224,
10663,
289,
377,
336,
7308,
1488,
7675,
2767,
4666,
12,
3639,
394,
1351,
2896,
429,
2174,
17731,
3276,
3043,
12,
2868,
1562,
16,
9079,
1592,
17731,
3276,
16,
9079,
1562,
18,
588,
17731,
3276,
1435,
3639,
262,
1377,
11272,
5411,
336,
7308,
1488,
7675,
409,
1891,
5621,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
444,
2174,
17731,
3276,
12,
61,
12999,
48,
2174,
1562,
16,
26824,
3276,
26288,
13,
288,
565,
26824,
3276,
1592,
17731,
3276,
273,
1562,
18,
588,
17731,
3276,
5621,
565,
309,
261,
323,
24388,
18,
14963,
12,
1673,
17731,
3276,
3719,
288,
1377,
327,
31,
565,
289,
565,
1562,
18,
542,
17731,
3276,
12,
323,
24388,
1769,
565,
1562,
18,
588,
1662,
7432,
7675,
6208,
5621,
565,
336,
7308,
1488,
7675,
10086,
1891,
5621,
3639,
309,
261,
4146,
18,
588,
2224,
1435,
422,
446,
13,
288,
26692,
2224,
18619,
1891,
12,
4146,
16,
26288,
18,
588,
2224,
10663,
289,
377,
336,
7308,
1488,
7675,
2767,
4666,
12,
3639,
394,
1351,
2896,
429,
2174,
17731,
3276,
3043,
2
] |
public static String jsFunction_concat(Context cx, Scriptable thisObj, Object[] args, Function funObj) { | private static String jsFunction_concat(String target, Object[] args) { int N = args.length; if (N == 0) { return target; } | public static String jsFunction_concat(Context cx, Scriptable thisObj, Object[] args, Function funObj) { StringBuffer result = new StringBuffer(); result.append(ScriptRuntime.toString(thisObj)); for (int i = 0; i < args.length; i++) result.append(ScriptRuntime.toString(args[i])); return result.toString(); } | 47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/b631b3e8574543a4d24a0048cc710f305deb8ff5/NativeString.java/buggy/org/mozilla/javascript/NativeString.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
3828,
2083,
67,
16426,
12,
1042,
9494,
16,
22780,
15261,
16,
4766,
6647,
1033,
8526,
833,
16,
4284,
9831,
2675,
13,
565,
288,
3639,
6674,
563,
273,
394,
6674,
5621,
3639,
563,
18,
6923,
12,
3651,
5576,
18,
10492,
12,
2211,
2675,
10019,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
833,
18,
2469,
31,
277,
27245,
5411,
563,
18,
6923,
12,
3651,
5576,
18,
10492,
12,
1968,
63,
77,
5717,
1769,
3639,
327,
563,
18,
10492,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
3828,
2083,
67,
16426,
12,
1042,
9494,
16,
22780,
15261,
16,
4766,
6647,
1033,
8526,
833,
16,
4284,
9831,
2675,
13,
565,
288,
3639,
6674,
563,
273,
394,
6674,
5621,
3639,
563,
18,
6923,
12,
3651,
5576,
18,
10492,
12,
2211,
2675,
10019,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
833,
18,
2469,
31,
277,
27245,
5411,
563,
18,
6923,
12,
3651,
5576,
18,
10492,
12,
1968,
63,
77,
5717,
1769,
3639,
327,
563,
18,
10492,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public TabbedPaneUI getUI() { return (TabbedPaneUI)ui; } | public TabbedPaneUI getUI() { return (TabbedPaneUI) ui; } | public TabbedPaneUI getUI() { return (TabbedPaneUI)ui; } | 25352 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25352/14511e3ad21013e92c6399b2bd2ec09a8263e33a/JTabbedPane.java/clean/libjava/javax/swing/JTabbedPane.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
9483,
2992,
8485,
5370,
336,
5370,
1435,
288,
3639,
327,
261,
5661,
2992,
8485,
5370,
13,
4881,
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,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
9483,
2992,
8485,
5370,
336,
5370,
1435,
288,
3639,
327,
261,
5661,
2992,
8485,
5370,
13,
4881,
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
] |
exception.reject(null, ex.getMessage()); | errors.reject(null, ex.getMessage()); | public ModelAndView handle(final HttpServletRequest request, final HttpServletResponse response, Object command, final BindException exception) { final SVNBaseCommand svnCommand = (SVNBaseCommand) command; // If application config is not ok - redirect to config.jsp if (!configuration.isConfigured()) { logger.debug("sventon not configured, redirecting to 'config.svn'"); return new ModelAndView(new RedirectView("config.svn")); } if (!configuration.getInstanceNames().contains(svnCommand.getName())) { logger.debug("InstanceName [" + svnCommand.getName() + "] does not exist, redirecting to 'listinstances.svn'"); return new ModelAndView(new RedirectView("listinstances.svn")); } if (exception.hasErrors()) { return prepareExceptionModelAndView(exception, svnCommand); } try { final InstanceConfiguration instanceConfiguration = configuration.getInstanceConfiguration(svnCommand.getName()); final SVNRepository repository = RepositoryFactory.INSTANCE.getRepository(instanceConfiguration); final boolean showLatestRevInfo = ServletRequestUtils.getBooleanParameter(request, "showlatestrevinfo", false); final SVNRevision requestedRevision = convertAndUpdateRevision(svnCommand); final long headRevision = repositoryService.getLatestRevision(repository); final UserContext userContext = getUserContext(request); parseAndUpdateSortParameters(request, userContext); parseAndUpdateLatestRevisionsDisplayCount(request, userContext); parseAndUpdateCharsetParameter(request, userContext); final ModelAndView modelAndView = svnHandle(repository, svnCommand, requestedRevision, userContext, request, response, exception); // It's ok for svnHandle to return null in cases like GetController. // If the view is a RedirectView it's model has already been populated if (modelAndView != null && !(modelAndView.getView() instanceof RedirectView)) { final Map<String, Object> model = new HashMap<String, Object>(); logger.debug("'command' set to: " + svnCommand); model.put("command", svnCommand); // This is for the form to work model.put("url", instanceConfiguration.getUrl()); model.put("numrevision", (requestedRevision == HEAD ? Long.toString(headRevision) : null)); model.put("isHead", requestedRevision == HEAD); model.put("isUpdating", revisionObservable.isUpdating()); model.put("useCache", instanceConfiguration.isCacheUsed()); model.put("isZipDownloadsAllowed", instanceConfiguration.isZippedDownloadsAllowed()); model.put("instanceNames", configuration.getInstanceNames()); model.put("maxRevisionsCount", getMaxRevisionsCount()); model.put("headRevision", headRevision); model.put("charsets", availableCharsets.getCharsets()); if (showLatestRevInfo) { logger.debug("Fetching [" + userContext.getLatestRevisionsDisplayCount() + "] latest revisions for display"); model.put("revisions", repositoryService.getLatestRevisions(repository, userContext.getLatestRevisionsDisplayCount())); } modelAndView.addAllObjects(model); } return modelAndView; } catch (SVNAuthenticationException svnae) { return forwardToAuthenticationFailureView(svnae); } catch (Exception ex) { logger.error("Exception", ex); Throwable cause = ex.getCause(); if (cause instanceof NoRouteToHostException || cause instanceof ConnectException) { exception.reject("error.message.no-route-to-host"); } else { exception.reject(null, ex.getMessage()); } return prepareExceptionModelAndView(exception, svnCommand); } } | 50734 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50734/33ec330f69d36699fc489c44227e80f827077f42/AbstractSVNTemplateController.java/buggy/sventon/dev/java/src/de/berlios/sventon/web/ctrl/AbstractSVNTemplateController.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3164,
1876,
1767,
1640,
12,
6385,
9984,
590,
16,
727,
12446,
766,
16,
1033,
1296,
16,
11794,
727,
6936,
503,
1520,
13,
288,
565,
727,
29537,
50,
2171,
2189,
5893,
82,
2189,
273,
261,
23927,
50,
2171,
2189,
13,
1296,
31,
565,
368,
971,
2521,
642,
353,
486,
1529,
300,
3136,
358,
642,
18,
24926,
565,
309,
16051,
7025,
18,
291,
15334,
10756,
288,
1377,
1194,
18,
4148,
2932,
87,
616,
265,
486,
4351,
16,
3136,
310,
358,
296,
1425,
18,
31505,
4970,
1769,
1377,
327,
394,
3164,
1876,
1767,
12,
2704,
9942,
1767,
2932,
1425,
18,
31505,
7923,
1769,
565,
289,
565,
309,
16051,
7025,
18,
588,
1442,
1557,
7675,
12298,
12,
31505,
2189,
18,
17994,
1435,
3719,
288,
1377,
1194,
18,
4148,
2932,
22520,
8247,
397,
5893,
82,
2189,
18,
17994,
1435,
397,
9850,
1552,
486,
1005,
16,
3136,
310,
358,
296,
1098,
10162,
18,
31505,
4970,
1769,
1377,
327,
394,
3164,
1876,
1767,
12,
2704,
9942,
1767,
2932,
1098,
10162,
18,
31505,
7923,
1769,
565,
289,
565,
309,
261,
4064,
18,
5332,
4229,
10756,
288,
1377,
327,
2911,
503,
1488,
1876,
1767,
12,
4064,
16,
5893,
82,
2189,
1769,
565,
289,
565,
775,
288,
1377,
727,
5180,
1750,
791,
1750,
273,
1664,
18,
588,
1442,
1750,
12,
31505,
2189,
18,
17994,
10663,
1377,
727,
29537,
50,
3305,
3352,
273,
6281,
1733,
18,
13341,
18,
588,
3305,
12,
1336,
1750,
1769,
1377,
727,
1250,
2405,
18650,
10070,
966,
273,
26470,
1989,
18,
588,
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,
3164,
1876,
1767,
1640,
12,
6385,
9984,
590,
16,
727,
12446,
766,
16,
1033,
1296,
16,
11794,
727,
6936,
503,
1520,
13,
288,
565,
727,
29537,
50,
2171,
2189,
5893,
82,
2189,
273,
261,
23927,
50,
2171,
2189,
13,
1296,
31,
565,
368,
971,
2521,
642,
353,
486,
1529,
300,
3136,
358,
642,
18,
24926,
565,
309,
16051,
7025,
18,
291,
15334,
10756,
288,
1377,
1194,
18,
4148,
2932,
87,
616,
265,
486,
4351,
16,
3136,
310,
358,
296,
1425,
18,
31505,
4970,
1769,
1377,
327,
394,
3164,
1876,
1767,
12,
2704,
9942,
1767,
2932,
1425,
18,
31505,
7923,
1769,
565,
289,
565,
309,
16051,
7025,
18,
588,
1442,
1557,
7675,
12298,
12,
31505,
2189,
18,
17994,
2
] |
paths.put(key, idSet); | ids.put(key, idSet); | private void put(String subscriptionId, SubscriptionImpl subscription) { subscriptions.put(subscriptionId, subscription); DavResourceLocator key = subscription.getLocator(); Set idSet; if (paths.containsKey(key)) { idSet = (Set) paths.get(key); } else { idSet = new HashSet(); paths.put(key, idSet); } if (!idSet.contains(subscriptionId)) { idSet.add(subscriptionId); } } | 48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/4fdade8a8a0ca260371a4274ff24ee70c758a80e/SubscriptionManagerImpl.java/buggy/contrib/jcr-server/server/src/java/org/apache/jackrabbit/webdav/jcr/observation/SubscriptionManagerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
918,
1378,
12,
780,
15107,
16,
12132,
2828,
4915,
13,
288,
5411,
11912,
18,
458,
12,
25218,
16,
4915,
1769,
5411,
463,
842,
1420,
5786,
498,
273,
4915,
18,
588,
5786,
5621,
5411,
1000,
612,
694,
31,
5411,
309,
261,
4481,
18,
12298,
653,
12,
856,
3719,
288,
7734,
612,
694,
273,
261,
694,
13,
2953,
18,
588,
12,
856,
1769,
5411,
289,
469,
288,
7734,
612,
694,
273,
394,
6847,
5621,
7734,
3258,
18,
458,
12,
856,
16,
612,
694,
1769,
5411,
289,
5411,
309,
16051,
350,
694,
18,
12298,
12,
25218,
3719,
288,
7734,
612,
694,
18,
1289,
12,
25218,
1769,
5411,
289,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
918,
1378,
12,
780,
15107,
16,
12132,
2828,
4915,
13,
288,
5411,
11912,
18,
458,
12,
25218,
16,
4915,
1769,
5411,
463,
842,
1420,
5786,
498,
273,
4915,
18,
588,
5786,
5621,
5411,
1000,
612,
694,
31,
5411,
309,
261,
4481,
18,
12298,
653,
12,
856,
3719,
288,
7734,
612,
694,
273,
261,
694,
13,
2953,
18,
588,
12,
856,
1769,
5411,
289,
469,
288,
7734,
612,
694,
273,
394,
6847,
5621,
7734,
3258,
18,
458,
12,
856,
16,
612,
694,
1769,
5411,
289,
5411,
309,
16051,
350,
694,
18,
12298,
12,
25218,
3719,
288,
7734,
612,
694,
18,
1289,
12,
25218,
1769,
5411,
289,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
int offsetType = Integer.valueOf(String.valueOf(offsets[i][j]).substring(0,1)).intValue(); if (offsetType==IIndex.LINE){ match.setLocatable(new LineLocatable(Integer.valueOf(String.valueOf(offsets[i][j]).substring(1)).intValue(),0)); }else if (offsetType==IIndex.OFFSET){ int startOffset=Integer.valueOf(String.valueOf(offsets[i][j]).substring(1)).intValue(); int endOffset= startOffset + offsetLengths[i][j]; match.setLocatable(new OffsetLocatable(startOffset, endOffset)); } | match.setLocatable(getMatchLocatable(offsets[i][j],offsetLengths[i][j])); | public void feedIndexRequestor(IIndexSearchRequestor requestor, int detailLevel, int[] fileRefs, int[][] offsets, int[][] offsetLengths, IndexInput input, ICSearchScope scope) throws IOException { for (int i = 0, max = fileRefs.length; i < max; i++) { IndexedFileEntry file = input.getIndexedFile(fileRefs[i]); String path=null; if (file != null && scope.encloses(path =file.getPath())) { for (int j=0; j<offsets[i].length; j++){ BasicSearchMatch match = new BasicSearchMatch(); match.setName(new String(this.decodedSimpleName)); //Don't forget that offsets are encoded ICIndexStorageConstants //Offsets can either be LINE or OFFSET int offsetType = Integer.valueOf(String.valueOf(offsets[i][j]).substring(0,1)).intValue(); if (offsetType==IIndex.LINE){ match.setLocatable(new LineLocatable(Integer.valueOf(String.valueOf(offsets[i][j]).substring(1)).intValue(),0)); }else if (offsetType==IIndex.OFFSET){ int startOffset=Integer.valueOf(String.valueOf(offsets[i][j]).substring(1)).intValue(); int endOffset= startOffset + offsetLengths[i][j]; match.setLocatable(new OffsetLocatable(startOffset, endOffset)); } match.setParentName(""); //$NON-NLS-1$ match.setType(ICElement.C_NAMESPACE); IFile tempFile = ResourcesPlugin.getWorkspace().getRoot().getFile(new Path(path)); if (tempFile != null && tempFile.exists()) match.setResource(tempFile); else { IPath tempPath = PathUtil.getWorkspaceRelativePath(file.getPath()); match.setPath(tempPath); match.setReferringElement(tempPath); } requestor.acceptSearchMatch(match); } } } } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/08eb1c00e5d68fec992c04778388ad6b957a62ee/NamespaceDeclarationPattern.java/clean/core/org.eclipse.cdt.core/search/org/eclipse/cdt/internal/core/search/matching/NamespaceDeclarationPattern.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
4746,
1016,
691,
280,
12,
45,
1016,
2979,
691,
280,
590,
280,
16,
509,
7664,
2355,
16,
509,
8526,
585,
9837,
16,
509,
63,
6362,
65,
8738,
16,
509,
63,
6362,
65,
1384,
22406,
16,
3340,
1210,
810,
16,
26899,
2979,
3876,
2146,
13,
1216,
1860,
288,
202,
202,
1884,
261,
474,
277,
273,
374,
16,
943,
273,
585,
9837,
18,
2469,
31,
277,
411,
943,
31,
277,
27245,
288,
1082,
202,
15034,
20110,
585,
273,
810,
18,
588,
15034,
812,
12,
768,
9837,
63,
77,
19226,
1082,
202,
780,
589,
33,
2011,
31,
1082,
202,
430,
261,
768,
480,
446,
597,
2146,
18,
1331,
383,
2420,
12,
803,
273,
768,
18,
588,
743,
1435,
3719,
288,
9506,
202,
1884,
261,
474,
525,
33,
20,
31,
525,
32,
16542,
63,
77,
8009,
2469,
31,
525,
27245,
95,
6862,
202,
8252,
2979,
2060,
845,
273,
394,
7651,
2979,
2060,
5621,
6862,
202,
1916,
18,
542,
461,
12,
2704,
514,
12,
2211,
18,
26646,
5784,
461,
10019,
6862,
202,
759,
22293,
1404,
13776,
716,
8738,
854,
3749,
26899,
1016,
3245,
2918,
6862,
202,
759,
13830,
848,
3344,
506,
14340,
578,
26019,
4405,
202,
474,
1384,
559,
273,
2144,
18,
1132,
951,
12,
780,
18,
1132,
951,
12,
16542,
63,
77,
6362,
78,
65,
2934,
28023,
12,
20,
16,
21,
13,
2934,
474,
620,
5621,
6862,
202,
430,
261,
3348,
559,
631,
45,
1016,
18,
5997,
15329,
25083,
202,
1916,
18,
542,
1333,
8163,
12,
2704,
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,
4746,
1016,
691,
280,
12,
45,
1016,
2979,
691,
280,
590,
280,
16,
509,
7664,
2355,
16,
509,
8526,
585,
9837,
16,
509,
63,
6362,
65,
8738,
16,
509,
63,
6362,
65,
1384,
22406,
16,
3340,
1210,
810,
16,
26899,
2979,
3876,
2146,
13,
1216,
1860,
288,
202,
202,
1884,
261,
474,
277,
273,
374,
16,
943,
273,
585,
9837,
18,
2469,
31,
277,
411,
943,
31,
277,
27245,
288,
1082,
202,
15034,
20110,
585,
273,
810,
18,
588,
15034,
812,
12,
768,
9837,
63,
77,
19226,
1082,
202,
780,
589,
33,
2011,
31,
1082,
202,
430,
261,
768,
480,
446,
597,
2146,
18,
1331,
383,
2420,
12,
803,
273,
768,
18,
588,
743,
1435,
2
] |
super.mousePressed(me); Editor ce = Globals.curEditor(); Selection sel = ce.getSelectionManager().findSelectionFor(this); if (sel instanceof SelectionSeqObject) ((SelectionSeqObject)sel).hideButtons(); | super.mousePressed(me); Editor ce = Globals.curEditor(); Selection sel = ce.getSelectionManager().findSelectionFor(this); if (sel instanceof SelectionSeqObject) ((SelectionSeqObject) sel).hideButtons(); | public void mousePressed(MouseEvent me) { super.mousePressed(me); Editor ce = Globals.curEditor(); Selection sel = ce.getSelectionManager().findSelectionFor(this); if (sel instanceof SelectionSeqObject) ((SelectionSeqObject)sel).hideButtons(); } | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/FigSeqObject.java/buggy/src_new/org/argouml/uml/diagram/sequence/ui/FigSeqObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
7644,
24624,
12,
9186,
1133,
1791,
13,
288,
3639,
2240,
18,
11697,
24624,
12,
3501,
1769,
565,
18451,
5898,
273,
18901,
1031,
18,
1397,
6946,
5621,
565,
12977,
357,
273,
5898,
18,
588,
6233,
1318,
7675,
4720,
6233,
1290,
12,
2211,
1769,
565,
309,
261,
1786,
1276,
12977,
6926,
921,
13,
1377,
14015,
6233,
6926,
921,
13,
1786,
2934,
11248,
14388,
5621,
4202,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
7644,
24624,
12,
9186,
1133,
1791,
13,
288,
3639,
2240,
18,
11697,
24624,
12,
3501,
1769,
565,
18451,
5898,
273,
18901,
1031,
18,
1397,
6946,
5621,
565,
12977,
357,
273,
5898,
18,
588,
6233,
1318,
7675,
4720,
6233,
1290,
12,
2211,
1769,
565,
309,
261,
1786,
1276,
12977,
6926,
921,
13,
1377,
14015,
6233,
6926,
921,
13,
1786,
2934,
11248,
14388,
5621,
4202,
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
] |
if ( part instanceof IEditorPart ) { IEditorPart editorPart = (IEditorPart)part; IEditorInput input = editorPart.getEditorInput(); | if ( part instanceof ITextEditor ) { ITextEditor textEditor = (ITextEditor)part; IEditorInput input = textEditor.getEditorInput(); | public void toggleLineBreakpoints( IWorkbenchPart part, ISelection selection ) throws CoreException { String errorMessage = null; if ( part instanceof IEditorPart ) { IEditorPart editorPart = (IEditorPart)part; IEditorInput input = editorPart.getEditorInput(); if ( input == null ) { errorMessage = ActionMessages.getString( "ToggleBreakpointAdapter.Empty_editor_1" ); //$NON-NLS-1$ } else { ITextEditor textEditor = (ITextEditor)editorPart; IDocument document = textEditor.getDocumentProvider().getDocument( input ); if ( document == null ) { errorMessage = ActionMessages.getString( "ToggleBreakpointAdapter.Missing_document_1" ); //$NON-NLS-1$ } else { IResource resource = getResource( textEditor ); if ( resource == null ) { errorMessage = ActionMessages.getString( "ToggleBreakpointAdapter.Missing_resource_1" ); //$NON-NLS-1$ } else { BreakpointLocationVerifier bv = new BreakpointLocationVerifier(); int lineNumber = bv.getValidLineBreakpointLocation( document, ((ITextSelection)selection).getStartLine() ); if ( lineNumber == -1 ) { errorMessage = ActionMessages.getString( "ToggleBreakpointAdapter.Invalid_line_1" ); //$NON-NLS-1$ } else { String sourceHandle = getSourceHandle( input ); ICLineBreakpoint breakpoint = CDIDebugModel.lineBreakpointExists( sourceHandle, resource, lineNumber ); if ( breakpoint != null ) { DebugPlugin.getDefault().getBreakpointManager().removeBreakpoint( breakpoint, true ); } else { CDIDebugModel.createLineBreakpoint( sourceHandle, resource, lineNumber, true, 0, "", //$NON-NLS-1$ true ); } return; } } } } } else if ( part instanceof DisassemblyView ) { IEditorInput input = ((DisassemblyView)part).getInput(); if ( !(input instanceof DisassemblyEditorInput) ) { errorMessage = ActionMessages.getString( "ToggleBreakpointAdapter.Empty_editor_1" ); //$NON-NLS-1$ } else { BreakpointLocationVerifier bv = new BreakpointLocationVerifier(); int lineNumber = bv.getValidAddressBreakpointLocation( null, ((ITextSelection)selection).getStartLine() ); if ( lineNumber == -1 ) { errorMessage = ActionMessages.getString( "ToggleBreakpointAdapter.Invalid_line_1" ); //$NON-NLS-1$ } else { IAddress address = ((DisassemblyEditorInput)input).getAddress( lineNumber ); if ( address == null ) { errorMessage = ActionMessages.getString( "ToggleBreakpointAdapter.Invalid_line_1" ); //$NON-NLS-1$ } else { ICLineBreakpoint breakpoint = ((DisassemblyEditorInput)input).breakpointExists( address ); if ( breakpoint != null ) { DebugPlugin.getDefault().getBreakpointManager().removeBreakpoint( breakpoint, true ); } else { IResource resource = ResourcesPlugin.getWorkspace().getRoot(); String sourceHandle = getSourceHandle( input ); CDIDebugModel.createAddressBreakpoint( sourceHandle, resource, address, true, 0, "", //$NON-NLS-1$ true ); } return; } } } } else { errorMessage = ActionMessages.getString( "RunToLineAdapter.Operation_is_not_supported_1" ); //$NON-NLS-1$ } throw new CoreException( new Status( IStatus.ERROR, CDebugUIPlugin.getUniqueIdentifier(), ICDebugUIConstants.INTERNAL_ERROR, errorMessage, null ) ); } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/f172ffa642921cde09cb44774551020ec862943b/ToggleBreakpointAdapter.java/buggy/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ToggleBreakpointAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
10486,
1670,
7634,
4139,
12,
467,
2421,
22144,
1988,
1087,
16,
467,
6233,
4421,
262,
1216,
30015,
288,
202,
202,
780,
9324,
273,
446,
31,
202,
202,
430,
261,
1087,
1276,
467,
6946,
1988,
262,
288,
1082,
202,
45,
6946,
1988,
4858,
1988,
273,
261,
45,
6946,
1988,
13,
2680,
31,
1082,
202,
45,
6946,
1210,
810,
273,
4858,
1988,
18,
588,
6946,
1210,
5621,
1082,
202,
430,
261,
810,
422,
446,
262,
288,
9506,
202,
1636,
1079,
273,
4382,
5058,
18,
588,
780,
12,
315,
17986,
20552,
4216,
18,
1921,
67,
9177,
67,
21,
6,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
97,
1082,
202,
12107,
288,
9506,
202,
1285,
408,
6946,
977,
6946,
273,
261,
1285,
408,
6946,
13,
9177,
1988,
31,
9506,
202,
734,
504,
650,
1668,
273,
977,
6946,
18,
588,
2519,
2249,
7675,
588,
2519,
12,
810,
11272,
9506,
202,
430,
261,
1668,
422,
446,
262,
288,
6862,
202,
1636,
1079,
273,
4382,
5058,
18,
588,
780,
12,
315,
17986,
20552,
4216,
18,
4841,
67,
5457,
67,
21,
6,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
97,
9506,
202,
12107,
288,
6862,
202,
45,
1420,
1058,
273,
5070,
12,
977,
6946,
11272,
6862,
202,
430,
261,
1058,
422,
446,
262,
288,
25083,
202,
1636,
1079,
273,
4382,
5058,
18,
588,
780,
12,
315,
17986,
20552,
4216,
18,
4841,
67,
3146,
67,
21,
6,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
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,
10486,
1670,
7634,
4139,
12,
467,
2421,
22144,
1988,
1087,
16,
467,
6233,
4421,
262,
1216,
30015,
288,
202,
202,
780,
9324,
273,
446,
31,
202,
202,
430,
261,
1087,
1276,
467,
6946,
1988,
262,
288,
1082,
202,
45,
6946,
1988,
4858,
1988,
273,
261,
45,
6946,
1988,
13,
2680,
31,
1082,
202,
45,
6946,
1210,
810,
273,
4858,
1988,
18,
588,
6946,
1210,
5621,
1082,
202,
430,
261,
810,
422,
446,
262,
288,
9506,
202,
1636,
1079,
273,
4382,
5058,
18,
588,
780,
12,
315,
17986,
20552,
4216,
18,
1921,
67,
9177,
67,
21,
6,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
97,
1082,
202,
12107,
288,
9506,
202,
1285,
408,
2
] |
/* * The execution for this node is not done until all the child nodes * are done. Use the tracker to wait for all children to complete. */ final DoneCollector doneCollector = new DoneCollector(getExecutor()) { public void run() { if (propagateError(getExecutor(), done, "Failed to generate child deltas.")) return; done.setData(rootDelta); getExecutor().execute(done); } }; for (final IVMLayoutNode childNode : childNodes) { childNode.buildDelta(event, rootDelta, doneCollector.addNoActionDone()); } | callChildNodesToBuildDelta( childNodeDeltas, rootDelta, event, new Done() { public void run() { if (isDisposed()) return; if (propagateError(getExecutor(), done, "Failed to create delta.")); done.setData(rootDelta); getExecutor().execute(done); } }); | public void createDelta(Object event, final GetDataDone<IModelDelta> done) { final VMDelta rootDelta = new VMDelta(getRootVMC().getInputObject(), getRootVMC()); final IVMLayoutNode[] childNodes = getChildNodesWithDeltas(event); if (childNodes.length == 0) { done.setData(rootDelta); getExecutor().execute(done); return; } /* * The execution for this node is not done until all the child nodes * are done. Use the tracker to wait for all children to complete. */ final DoneCollector doneCollector = new DoneCollector(getExecutor()) { public void run() { if (propagateError(getExecutor(), done, "Failed to generate child deltas.")) return; //$NON-NLS-1$ done.setData(rootDelta); getExecutor().execute(done); } }; for (final IVMLayoutNode childNode : childNodes) { childNode.buildDelta(event, rootDelta, doneCollector.addNoActionDone()); } } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/b191075ec4d85f4cc588e7556be42d8f15e4745e/AbstractVMRootLayoutNode.java/buggy/plugins/org.eclipse.dd.dsf.ui/src/org/eclipse/dd/dsf/ui/viewmodel/AbstractVMRootLayoutNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
752,
9242,
12,
921,
871,
16,
727,
30837,
7387,
32,
45,
1488,
9242,
34,
2731,
13,
288,
3639,
727,
8251,
9242,
1365,
9242,
273,
394,
8251,
9242,
12,
588,
2375,
7397,
39,
7675,
588,
1210,
921,
9334,
7656,
7397,
39,
10663,
3639,
727,
21602,
1495,
2012,
907,
8526,
10582,
273,
23895,
1190,
2837,
9158,
12,
2575,
1769,
3639,
309,
261,
3624,
3205,
18,
2469,
422,
374,
13,
288,
5411,
2731,
18,
542,
751,
12,
3085,
9242,
1769,
5411,
336,
6325,
7675,
8837,
12,
8734,
1769,
5411,
327,
31,
3639,
289,
10792,
1748,
1850,
380,
1021,
4588,
364,
333,
756,
353,
486,
2731,
3180,
777,
326,
1151,
2199,
540,
380,
854,
2731,
18,
225,
2672,
326,
9745,
358,
2529,
364,
777,
2325,
358,
3912,
18,
1850,
1195,
3639,
727,
8677,
7134,
2731,
7134,
273,
394,
8677,
7134,
12,
588,
6325,
10756,
288,
2398,
1071,
918,
1086,
1435,
288,
7734,
309,
261,
5986,
346,
340,
668,
12,
588,
6325,
9334,
2731,
16,
315,
2925,
358,
2103,
1151,
20113,
1199,
3719,
327,
31,
4329,
3993,
17,
5106,
17,
21,
8,
7734,
2731,
18,
542,
751,
12,
3085,
9242,
1769,
18701,
336,
6325,
7675,
8837,
12,
8734,
1769,
4766,
5411,
289,
3639,
289,
31,
3639,
364,
261,
6385,
21602,
1495,
2012,
907,
9465,
294,
10582,
13,
288,
5411,
9465,
18,
3510,
9242,
12,
2575,
16,
1365,
9242,
16,
2731,
7134,
18,
1289,
2279,
1803,
7387,
10663,
3639,
289,
565,
289,
2,
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,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
752,
9242,
12,
921,
871,
16,
727,
30837,
7387,
32,
45,
1488,
9242,
34,
2731,
13,
288,
3639,
727,
8251,
9242,
1365,
9242,
273,
394,
8251,
9242,
12,
588,
2375,
7397,
39,
7675,
588,
1210,
921,
9334,
7656,
7397,
39,
10663,
3639,
727,
21602,
1495,
2012,
907,
8526,
10582,
273,
23895,
1190,
2837,
9158,
12,
2575,
1769,
3639,
309,
261,
3624,
3205,
18,
2469,
422,
374,
13,
288,
5411,
2731,
18,
542,
751,
12,
3085,
9242,
1769,
5411,
336,
6325,
7675,
8837,
12,
8734,
1769,
5411,
327,
31,
3639,
289,
10792,
1748,
1850,
380,
1021,
4588,
364,
333,
756,
353,
486,
2731,
3180,
777,
326,
1151,
2199,
540,
380,
854,
2731,
18,
225,
2672,
326,
9745,
2
] |
if (fUndo.contains(operation)) { fUndo.remove(operation); | if (undoList.contains(operation)) { undoList.remove(operation); | public void remove(IUndoableOperation operation) { if (fUndo.contains(operation)) { fUndo.remove(operation); internalRemove(operation); } else if (fRedo.contains(operation)) { fRedo.remove(operation); internalRemove(operation); } } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/c24712ce346ce29a0831c2b0fa927c9b540a7987/DefaultOperationHistory.java/clean/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/DefaultOperationHistory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1206,
12,
45,
31224,
429,
2988,
1674,
13,
288,
202,
202,
430,
261,
74,
31224,
18,
12298,
12,
7624,
3719,
288,
1082,
202,
74,
31224,
18,
4479,
12,
7624,
1769,
1082,
202,
7236,
3288,
12,
7624,
1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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1206,
12,
45,
31224,
429,
2988,
1674,
13,
288,
202,
202,
430,
261,
74,
31224,
18,
12298,
12,
7624,
3719,
288,
1082,
202,
74,
31224,
18,
4479,
12,
7624,
1769,
1082,
202,
7236,
3288,
12,
7624,
1769,
202,
202,
97,
469,
309,
261,
74,
3715,
83,
18,
12298,
12,
7624,
3719,
288,
1082,
202,
74,
3715,
83,
18,
4479,
12,
7624,
1769,
1082,
202,
7236,
3288,
12,
7624,
1769,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
ExecuteStatement(statement); | executeStatement(statement); | private void executeSql(String databaseKey, String sqlScript, Map replacers) { String statement = ""; LineNumberReader reader = null; String filename = null; String line = null; /* get and parse the setup script */ try { filename = m_basePath + "setup" + File.separator + "database" + File.separator + databaseKey + File.separator + sqlScript; reader = new LineNumberReader(new FileReader(filename)); line = null; while (true) { line = reader.readLine(); if (line == null) { break; } StringTokenizer st = new StringTokenizer(line); while (st.hasMoreTokens()) { String currentToken = st.nextToken(); /* comment! Skip rest of the line */ if (currentToken.startsWith("#")) { break; } /* not to be executed */ if (currentToken.startsWith("prompt")) { break; } /* add token to query */ statement += " " + currentToken; /* query complete (terminated by ';') */ if (currentToken.endsWith(";")) { /* cut of ';' at the end */ statement = statement.substring(0, (statement.length() - 1)); /* normal statement. Execute it */ if (replacers != null) { ExecuteStatement(replaceValues(statement, replacers)); } else { ExecuteStatement(statement); } //reset statement = ""; } } statement += " \n"; } } catch (FileNotFoundException e) { if (m_errorLogging) { m_errors.addElement("Database setup SQL script not found: " + filename); m_errors.addElement(e.toString()); } } catch (SQLException e) { if (m_errorLogging) { m_errors.addElement("Error executing SQL statement: " + statement); m_errors.addElement(e.toString()); } } catch (Exception e) { if (m_errorLogging) { m_errors.addElement("Error parsing database setup SQL script in line: " + line); m_errors.addElement(e.toString()); } } finally { try { if (reader != null) { reader.close(); } } catch (Exception e) { // noop } } } | 51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/1ffe3a976759e95ac588bdcb0f090e687122056f/CmsSetupDb.java/clean/src/org/opencms/setup/CmsSetupDb.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1836,
5101,
12,
780,
2063,
653,
16,
514,
1847,
3651,
16,
1635,
6831,
1077,
414,
13,
288,
3639,
514,
3021,
273,
1408,
31,
3639,
5377,
1854,
2514,
2949,
273,
446,
31,
3639,
514,
1544,
273,
446,
31,
3639,
514,
980,
273,
446,
31,
3639,
1748,
336,
471,
1109,
326,
3875,
2728,
1195,
3639,
775,
288,
5411,
1544,
273,
312,
67,
27605,
397,
315,
8401,
6,
397,
1387,
18,
11287,
397,
315,
6231,
6,
397,
1387,
18,
11287,
397,
2063,
653,
397,
1387,
18,
11287,
397,
1847,
3651,
31,
5411,
2949,
273,
394,
5377,
1854,
2514,
12,
2704,
23010,
12,
3459,
10019,
5411,
980,
273,
446,
31,
5411,
1323,
261,
3767,
13,
288,
7734,
980,
273,
2949,
18,
896,
1670,
5621,
7734,
309,
261,
1369,
422,
446,
13,
288,
10792,
898,
31,
7734,
289,
7734,
16370,
384,
273,
394,
16370,
12,
1369,
1769,
7734,
1323,
261,
334,
18,
5332,
7417,
5157,
10756,
288,
10792,
514,
23719,
273,
384,
18,
4285,
1345,
5621,
10792,
1748,
2879,
5,
6611,
3127,
434,
326,
980,
1195,
10792,
309,
261,
2972,
1345,
18,
17514,
1190,
2932,
17133,
3719,
288,
13491,
898,
31,
10792,
289,
10792,
1748,
486,
358,
506,
7120,
1195,
10792,
309,
261,
2972,
1345,
18,
17514,
1190,
2932,
13325,
6,
3719,
288,
13491,
898,
31,
10792,
289,
10792,
1748,
527,
1147,
358,
843,
1195,
10792,
3021,
1011,
315,
315,
397,
23719,
31,
10792,
1748,
843,
3912,
261,
29133,
635,
7554,
13,
1195,
10792,
309,
261,
2972,
1345,
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,
377,
3238,
918,
1836,
5101,
12,
780,
2063,
653,
16,
514,
1847,
3651,
16,
1635,
6831,
1077,
414,
13,
288,
3639,
514,
3021,
273,
1408,
31,
3639,
5377,
1854,
2514,
2949,
273,
446,
31,
3639,
514,
1544,
273,
446,
31,
3639,
514,
980,
273,
446,
31,
3639,
1748,
336,
471,
1109,
326,
3875,
2728,
1195,
3639,
775,
288,
5411,
1544,
273,
312,
67,
27605,
397,
315,
8401,
6,
397,
1387,
18,
11287,
397,
315,
6231,
6,
397,
1387,
18,
11287,
397,
2063,
653,
397,
1387,
18,
11287,
397,
1847,
3651,
31,
5411,
2949,
273,
394,
5377,
1854,
2514,
12,
2704,
23010,
12,
3459,
10019,
5411,
980,
273,
446,
31,
5411,
1323,
261,
3767,
13,
288,
7734,
980,
273,
2949,
2
] |
IDialogSettings filtersSection = mainSettings.getSection(OLD_FILTER_SECTION); if(filtersSection != null){ | IDialogSettings filtersSection = mainSettings .getSection(OLD_FILTER_SECTION); if (filtersSection != null) { | private void restoreFilters() { IDialogSettings settings = getFiltersSection(false); if (settings == null){ //Check if we have an old filter setting around IDialogSettings mainSettings = getDialogSettings(); IDialogSettings filtersSection = mainSettings.getSection(OLD_FILTER_SECTION); if(filtersSection != null){ MarkerFilter markerFilter = createFilter(MarkerMessages.MarkerFilter_defaultFilterName); markerFilter.restoreState(filtersSection); setFilters(new MarkerFilter[] {markerFilter}); } } else{ IDialogSettings[] sections = settings.getSections(); MarkerFilter[] newFilters = new MarkerFilter[sections.length]; for (int i = 0; i < sections.length; i++) { newFilters[i] = createFilter(sections[i].getName()); newFilters[i].restoreState(sections[i]); } setFilters(newFilters); } if (markerFilters.length == 0){// Make sure there is at least a default MarkerFilter filter = createFilter( MarkerMessages.MarkerFilter_defaultFilterName); filter.resetState(); setFilters(new MarkerFilter[] { filter }); } } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/09a4c864bb83fb62a685d497a2df9ce5451376bd/MarkerView.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
5217,
5422,
1435,
288,
202,
202,
734,
3529,
2628,
1947,
273,
25175,
5285,
12,
5743,
1769,
202,
202,
430,
261,
4272,
422,
446,
15329,
1082,
202,
759,
1564,
309,
732,
1240,
392,
1592,
1034,
3637,
6740,
1082,
202,
734,
3529,
2628,
2774,
2628,
273,
31774,
2628,
5621,
1082,
202,
734,
3529,
2628,
3415,
5285,
273,
2774,
2628,
18,
588,
5285,
12,
11846,
67,
11126,
67,
19082,
1769,
1082,
202,
430,
12,
6348,
5285,
480,
446,
15329,
9506,
202,
7078,
1586,
5373,
1586,
273,
752,
1586,
12,
7078,
5058,
18,
7078,
1586,
67,
1886,
1586,
461,
1769,
9506,
202,
11145,
1586,
18,
13991,
1119,
12,
6348,
5285,
1769,
9506,
202,
542,
5422,
12,
2704,
14742,
1586,
8526,
288,
11145,
1586,
22938,
1082,
202,
97,
25083,
202,
97,
202,
202,
12107,
95,
1082,
202,
734,
3529,
2628,
8526,
7178,
273,
1947,
18,
588,
15965,
5621,
1082,
202,
7078,
1586,
8526,
394,
5422,
273,
394,
14742,
1586,
63,
11657,
18,
2469,
15533,
25083,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
7178,
18,
2469,
31,
277,
27245,
288,
9506,
202,
2704,
5422,
63,
77,
65,
273,
752,
1586,
12,
11657,
63,
77,
8009,
17994,
10663,
9506,
202,
2704,
5422,
63,
77,
8009,
13991,
1119,
12,
11657,
63,
77,
19226,
1082,
202,
97,
1082,
202,
542,
5422,
12,
2704,
5422,
1769,
202,
202,
97,
9506,
202,
430,
261,
11145,
5422,
18,
2469,
422,
374,
15329,
759,
4344,
3071,
1915,
353,
622,
4520,
279,
805,
1082,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5217,
5422,
1435,
288,
202,
202,
734,
3529,
2628,
1947,
273,
25175,
5285,
12,
5743,
1769,
202,
202,
430,
261,
4272,
422,
446,
15329,
1082,
202,
759,
1564,
309,
732,
1240,
392,
1592,
1034,
3637,
6740,
1082,
202,
734,
3529,
2628,
2774,
2628,
273,
31774,
2628,
5621,
1082,
202,
734,
3529,
2628,
3415,
5285,
273,
2774,
2628,
18,
588,
5285,
12,
11846,
67,
11126,
67,
19082,
1769,
1082,
202,
430,
12,
6348,
5285,
480,
446,
15329,
9506,
202,
7078,
1586,
5373,
1586,
273,
752,
1586,
12,
7078,
5058,
18,
7078,
1586,
67,
1886,
1586,
461,
1769,
9506,
202,
11145,
1586,
18,
13991,
1119,
12,
6348,
5285,
1769,
9506,
202,
542,
5422,
12,
2704,
14742,
1586,
2
] |
void parseABNUOWRM(ConnectionCallbackInterface connection) throws DisconnectException { | void parseABNUOWRM() throws DisconnectException { | void parseABNUOWRM(ConnectionCallbackInterface connection) throws DisconnectException { boolean svrcodReceived = false; int svrcod = CodePoint.SVRCOD_INFO; boolean rdbnamReceived = false; String rdbnam = null; parseLengthAndMatchCodePoint(CodePoint.ABNUOWRM); pushLengthOnCollectionStack(); int peekCP = peekCodePoint(); while (peekCP != Reply.END_OF_COLLECTION) { boolean foundInPass = false; if (peekCP == CodePoint.SVRCOD) { foundInPass = true; svrcodReceived = checkAndGetReceivedFlag(svrcodReceived); svrcod = parseSVRCOD(CodePoint.SVRCOD_ERROR, CodePoint.SVRCOD_ERROR); peekCP = peekCodePoint(); } if (peekCP == CodePoint.RDBNAM) { // skip the rbbnam since it doesn't tell us anything new. // there is no way to return it to the application anyway. // not having to convert this to a string is a time saver also. foundInPass = true; rdbnamReceived = checkAndGetReceivedFlag(rdbnamReceived); rdbnam = parseRDBNAM(true); peekCP = peekCodePoint(); } if (!foundInPass) { doPrmnsprmSemantics(peekCP); } } popCollectionStack(); checkRequiredObjects(svrcodReceived, rdbnamReceived); // the abnuowrm has been received, do whatever state changes are necessary netAgent_.setSvrcod(svrcod); connection.completeAbnormalUnitOfWork(); } | 56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/ad94e28dc0acce4d52718138ead8f8f56f454cf3/NetConnectionReply.java/buggy/java/client/org/apache/derby/client/net/NetConnectionReply.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1109,
2090,
50,
57,
51,
7181,
49,
1435,
1216,
23957,
503,
288,
3639,
1250,
5893,
1310,
369,
8872,
273,
629,
31,
3639,
509,
5893,
1310,
369,
273,
3356,
2148,
18,
55,
10986,
9086,
67,
5923,
31,
3639,
1250,
436,
1966,
17808,
8872,
273,
629,
31,
3639,
514,
436,
1966,
17808,
273,
446,
31,
3639,
1109,
1782,
1876,
2060,
31536,
12,
31536,
18,
2090,
50,
57,
51,
7181,
49,
1769,
3639,
1817,
1782,
1398,
2532,
2624,
5621,
3639,
509,
8032,
4258,
273,
8032,
31536,
5621,
3639,
1323,
261,
347,
3839,
4258,
480,
16202,
18,
4415,
67,
3932,
67,
25964,
13,
288,
5411,
1250,
1392,
382,
6433,
273,
629,
31,
5411,
309,
261,
347,
3839,
4258,
422,
3356,
2148,
18,
55,
10986,
9086,
13,
288,
7734,
1392,
382,
6433,
273,
638,
31,
7734,
5893,
1310,
369,
8872,
273,
866,
14042,
8872,
4678,
12,
5751,
1310,
369,
8872,
1769,
7734,
5893,
1310,
369,
273,
1109,
55,
10986,
9086,
12,
31536,
18,
55,
10986,
9086,
67,
3589,
16,
3356,
2148,
18,
55,
10986,
9086,
67,
3589,
1769,
7734,
8032,
4258,
273,
8032,
31536,
5621,
5411,
289,
5411,
309,
261,
347,
3839,
4258,
422,
3356,
2148,
18,
54,
2290,
50,
2192,
13,
288,
7734,
368,
2488,
326,
7138,
13392,
301,
3241,
518,
3302,
1404,
9276,
584,
6967,
394,
18,
7734,
368,
1915,
353,
1158,
4031,
358,
327,
518,
358,
326,
2521,
13466,
18,
7734,
368,
486,
7999,
358,
1765,
333,
358,
279,
533,
353,
279,
813,
7864,
502,
2546,
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,
377,
918,
1109,
2090,
50,
57,
51,
7181,
49,
1435,
1216,
23957,
503,
288,
3639,
1250,
5893,
1310,
369,
8872,
273,
629,
31,
3639,
509,
5893,
1310,
369,
273,
3356,
2148,
18,
55,
10986,
9086,
67,
5923,
31,
3639,
1250,
436,
1966,
17808,
8872,
273,
629,
31,
3639,
514,
436,
1966,
17808,
273,
446,
31,
3639,
1109,
1782,
1876,
2060,
31536,
12,
31536,
18,
2090,
50,
57,
51,
7181,
49,
1769,
3639,
1817,
1782,
1398,
2532,
2624,
5621,
3639,
509,
8032,
4258,
273,
8032,
31536,
5621,
3639,
1323,
261,
347,
3839,
4258,
480,
16202,
18,
4415,
67,
3932,
67,
25964,
13,
288,
5411,
1250,
1392,
382,
6433,
273,
629,
31,
5411,
309,
261,
347,
3839,
4258,
422,
3356,
2148,
2
] |
if (disallowLocalCommitRollback_()) { | if (! allowLocalCommitRollback_()) { | public boolean getAutoCommit() throws SqlException { checkForClosedConnection(); if (agent_.loggingEnabled()) { agent_.logWriter_.traceExit(this, "getAutoCommit", autoCommit_); } if (disallowLocalCommitRollback_()) { // autoCommit is always false between xars.start() and xars.end() return false; } return autoCommit_; } | 56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/38083d6823d48f5b6cc5a8590edf922b06737042/Connection.java/clean/java/client/org/apache/derby/client/am/Connection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
26707,
5580,
1435,
1216,
8855,
503,
288,
3639,
13855,
7395,
1952,
5621,
3639,
309,
261,
5629,
27799,
11167,
1526,
10756,
288,
5411,
4040,
27799,
1330,
2289,
27799,
5129,
6767,
12,
2211,
16,
315,
588,
4965,
5580,
3113,
3656,
5580,
67,
1769,
3639,
289,
3639,
309,
16051,
1699,
2042,
5580,
12703,
67,
10756,
288,
368,
3656,
5580,
353,
3712,
629,
3086,
619,
5913,
18,
1937,
1435,
471,
619,
5913,
18,
409,
1435,
5411,
327,
629,
31,
3639,
289,
3639,
327,
3656,
5580,
67,
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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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
26707,
5580,
1435,
1216,
8855,
503,
288,
3639,
13855,
7395,
1952,
5621,
3639,
309,
261,
5629,
27799,
11167,
1526,
10756,
288,
5411,
4040,
27799,
1330,
2289,
27799,
5129,
6767,
12,
2211,
16,
315,
588,
4965,
5580,
3113,
3656,
5580,
67,
1769,
3639,
289,
3639,
309,
16051,
1699,
2042,
5580,
12703,
67,
10756,
288,
368,
3656,
5580,
353,
3712,
629,
3086,
619,
5913,
18,
1937,
1435,
471,
619,
5913,
18,
409,
1435,
5411,
327,
629,
31,
3639,
289,
3639,
327,
3656,
5580,
67,
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
] |
Messages.getString( "PublishLibraryAction.wizard.notvalidfolder" ) ); | Messages.getString( "PublishLibraryAction.wizard.notvalidfolder" ) ); | private boolean publishiLibrary() { // copy to library folder File targetFolder = new File( folderName ); if ( !targetFolder.isDirectory( ) ) { ExceptionHandler.openErrorMessageBox( Messages.getString( "PublishLibraryAction.wizard.errorTitle" ), //$NON-NLS-1$ Messages.getString( "PublishLibraryAction.wizard.notvalidfolder" ) ); //$NON-NLS-1$ return true; } if ( !targetFolder.exists( ) ) { targetFolder.mkdirs( ); } File targetFile = new File( targetFolder, fileName ); if ( new File( filePath ).compareTo( targetFile ) == 0 ) { ExceptionHandler.openErrorMessageBox( Messages.getString( "PublishLibraryAction.wizard.errorTitle" ), //$NON-NLS-1$ Messages.getString( "PublishLibraryAction.wizard.message" ) ); //$NON-NLS-1$ return false; } int overwrite = Window.OK; try { if ( targetFile.exists( ) ) { String[] buttons = new String[]{ IDialogConstants.YES_LABEL, IDialogConstants.NO_LABEL, IDialogConstants.CANCEL_LABEL }; String question = Messages.getFormattedString( "SaveAsDialog.overwriteQuestion", //$NON-NLS-1$ new Object[]{ targetFile.getAbsolutePath( ) } ); MessageDialog d = new MessageDialog(UIUtil.getDefaultShell( ), Messages.getString( "SaveAsDialog.Question" ), //$NON-NLS-1$ null, question, MessageDialog.QUESTION, buttons, 0 ); overwrite = d.open( ); } if ( overwrite == Window.OK && ( targetFile.exists( ) || ( !targetFile.exists( ) && targetFile.createNewFile( ) ) ) ) { copyFile( filePath, targetFile ); } } catch ( IOException e ) { ExceptionHandler.handle( e ); } return overwrite != 1; } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/4c119a1050d684d55ed1b33be4933a9564966b7c/PublishLibraryWizard.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/wizards/PublishLibraryWizard.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
3808,
77,
9313,
1435,
202,
95,
202,
202,
759,
1610,
358,
5313,
3009,
9506,
202,
812,
1018,
3899,
273,
394,
1387,
12,
31814,
11272,
202,
202,
430,
261,
401,
3299,
3899,
18,
291,
2853,
12,
262,
262,
202,
202,
95,
1082,
202,
18894,
18,
3190,
14935,
3514,
12,
4838,
18,
588,
780,
12,
315,
6024,
9313,
1803,
18,
31837,
18,
1636,
4247,
6,
262,
16,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
202,
5058,
18,
588,
780,
12,
315,
6024,
9313,
1803,
18,
31837,
18,
902,
877,
5609,
6,
262,
11272,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
2463,
638,
31,
202,
202,
97,
202,
202,
430,
261,
401,
3299,
3899,
18,
1808,
12,
262,
262,
202,
202,
95,
1082,
202,
3299,
3899,
18,
24816,
8291,
12,
11272,
202,
202,
97,
202,
202,
812,
21254,
273,
394,
1387,
12,
1018,
3899,
16,
3968,
11272,
202,
202,
430,
261,
394,
1387,
12,
4612,
262,
18,
9877,
774,
12,
21254,
262,
422,
374,
262,
202,
202,
95,
1082,
202,
18894,
18,
3190,
14935,
3514,
12,
4838,
18,
588,
780,
12,
315,
6024,
9313,
1803,
18,
31837,
18,
1636,
4247,
6,
262,
16,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
202,
5058,
18,
588,
780,
12,
315,
6024,
9313,
1803,
18,
31837,
18,
2150,
6,
262,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
2463,
629,
31,
202,
202,
97,
202,
202,
474,
6156,
273,
6076,
18,
3141,
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,
225,
202,
1152,
1250,
3808,
77,
9313,
1435,
202,
95,
202,
202,
759,
1610,
358,
5313,
3009,
9506,
202,
812,
1018,
3899,
273,
394,
1387,
12,
31814,
11272,
202,
202,
430,
261,
401,
3299,
3899,
18,
291,
2853,
12,
262,
262,
202,
202,
95,
1082,
202,
18894,
18,
3190,
14935,
3514,
12,
4838,
18,
588,
780,
12,
315,
6024,
9313,
1803,
18,
31837,
18,
1636,
4247,
6,
262,
16,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
202,
5058,
18,
588,
780,
12,
315,
6024,
9313,
1803,
18,
31837,
18,
902,
877,
5609,
6,
262,
11272,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
2463,
638,
31,
202,
202,
97,
202,
202,
430,
261,
401,
3299,
3899,
2
] |
localModel().setDistribution(new Distribution((Instances)data, localModel())); | localModel().resetDistribution(data); | private void newDistribution(Instances data) throws Exception { Instances [] localInstances; int i; localModel().setDistribution(new Distribution((Instances)data, localModel())); m_train = data; if (!m_isLeaf){ localInstances = (Instances [])localModel().split(data); for (i=0;i<m_sons.length;i++) son(i).newDistribution(localInstances[i]); } } | 4179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4179/d7580c34a8aa6e5e81e2045e66c2aa35debdbaaf/C45PruneableClassifierTree.java/clean/trunk/weka/classifiers/trees/j48/C45PruneableClassifierTree.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
394,
9003,
12,
5361,
501,
13,
1216,
1185,
288,
565,
18357,
5378,
1191,
5361,
31,
565,
509,
277,
31,
565,
1191,
1488,
7675,
542,
9003,
12,
2704,
17547,
12443,
5361,
13,
892,
16,
6862,
1082,
225,
1191,
1488,
1435,
10019,
565,
312,
67,
9754,
273,
501,
31,
565,
309,
16051,
81,
67,
291,
9858,
15329,
1377,
1191,
5361,
273,
225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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,
282,
3238,
918,
394,
9003,
12,
5361,
501,
13,
1216,
1185,
288,
565,
18357,
5378,
1191,
5361,
31,
565,
509,
277,
31,
565,
1191,
1488,
7675,
542,
9003,
12,
2704,
17547,
12443,
5361,
13,
892,
16,
6862,
1082,
225,
1191,
1488,
1435,
10019,
565,
312,
67,
9754,
273,
501,
31,
565,
309,
16051,
81,
67,
291,
9858,
15329,
1377,
1191,
5361,
273,
225,
202,
12,
5361,
5378,
13,
3729,
1488,
7675,
4939,
12,
892,
1769,
1377,
364,
261,
77,
33,
20,
31,
77,
32,
81,
67,
816,
87,
18,
2469,
31,
77,
27245,
202,
816,
12,
77,
2934,
2704,
9003,
12,
3729,
5361,
63,
77,
19226,
565,
289,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
getXPath(node, xpath); if(current==null){ current = table.first = new ICUResourceWriter.ResourceString(); }else{ current.next = new ICUResourceWriter.ResourceString(); current = current.next; | if(prohibit==true && deprecatedTerritories.get(res.name)!=null){ res = null; | private ICUResourceWriter.Resource parseList(Node root, StringBuffer xpath){ ICUResourceWriter.ResourceTable table = new ICUResourceWriter.ResourceTable(); table.name=(String) keyNameMap.get(root.getNodeName()); ICUResourceWriter.Resource current = null; int savedLength = xpath.length(); // if the whole list is marked draft // then donot output it. if(isDraft(root, xpath)&& !writeDraft){ return null; } if(isAlternate(root)){ return null; } getXPath(root, xpath); int oldLength = xpath.length(); Node alias = LDMLUtilities.getNode(root,"alias", null, null); if(alias!=null){ ICUResourceWriter.Resource res = parseAliasResource(alias,xpath); res.name = table.name; return res; } for(Node node = root.getFirstChild(); node!=null; node=node.getNextSibling()){ if(node.getNodeType()!=Node.ELEMENT_NODE){ continue; } // a ceratain element of the list // is marked draft .. just dont // output that item if(isDraft(node, xpath)&& !writeDraft){ continue; } //the alt atrribute is set .. so ignore the resource if(isAlternate(node)){ continue; } getXPath(node, xpath); if(current==null){ current = table.first = new ICUResourceWriter.ResourceString(); }else{ current.next = new ICUResourceWriter.ResourceString(); current = current.next; } current.name = LDMLUtilities.getAttributeValue(node, LDMLConstants.TYPE); ((ICUResourceWriter.ResourceString)current).val = LDMLUtilities.getNodeValue(node); xpath.delete(oldLength, xpath.length()); } xpath.delete(savedLength, xpath.length()); if(table.first!=null){ return table; } return null; } | 27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/c0724f8f81bb0a92281ae55fd3d8078ff52ea1b3/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,
682,
12,
907,
1365,
16,
6674,
6748,
15329,
3639,
28009,
1420,
2289,
18,
1420,
1388,
1014,
273,
394,
28009,
1420,
2289,
18,
1420,
1388,
5621,
3639,
1014,
18,
529,
28657,
780,
13,
13564,
863,
18,
588,
12,
3085,
18,
588,
18948,
10663,
3639,
28009,
1420,
2289,
18,
1420,
783,
273,
446,
31,
3639,
509,
5198,
1782,
273,
6748,
18,
2469,
5621,
3639,
368,
309,
326,
7339,
666,
353,
9350,
12246,
3639,
368,
1508,
2727,
352,
876,
518,
18,
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,
6538,
743,
12,
3085,
16,
6748,
1769,
3639,
509,
1592,
1782,
273,
6748,
18,
2469,
5621,
3639,
2029,
2308,
273,
28083,
1495,
11864,
18,
588,
907,
12,
3085,
10837,
4930,
3113,
446,
16,
446,
1769,
3639,
309,
12,
4930,
5,
33,
2011,
15329,
5411,
28009,
1420,
2289,
18,
1420,
400,
273,
225,
1109,
2936,
1420,
12,
4930,
16,
18644,
1769,
5411,
400,
18,
529,
273,
1014,
18,
529,
31,
5411,
327,
400,
31,
3639,
289,
3639,
364,
12,
907,
756,
273,
1365,
18,
588,
3759,
1763,
5621,
756,
5,
33,
2011,
31,
756,
33,
2159,
18,
588,
2134,
10291,
10756,
95,
5411,
309,
12,
2159,
18,
588,
15101,
1435,
5,
33,
907,
18,
10976,
67,
8744,
15329,
7734,
1324,
31,
5411,
289,
5411,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
28009,
1420,
2289,
18,
1420,
1109,
682,
12,
907,
1365,
16,
6674,
6748,
15329,
3639,
28009,
1420,
2289,
18,
1420,
1388,
1014,
273,
394,
28009,
1420,
2289,
18,
1420,
1388,
5621,
3639,
1014,
18,
529,
28657,
780,
13,
13564,
863,
18,
588,
12,
3085,
18,
588,
18948,
10663,
3639,
28009,
1420,
2289,
18,
1420,
783,
273,
446,
31,
3639,
509,
5198,
1782,
273,
6748,
18,
2469,
5621,
3639,
368,
309,
326,
7339,
666,
353,
9350,
12246,
3639,
368,
1508,
2727,
352,
876,
518,
18,
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,
2
] |
throw new IndexError(getRuntime(), "index " + (index - getLength()) + " out of array"); | throw getRuntime().newIndexError("index " + (index - getLength()) + " out of array"); | private void store(long index, IRubyObject value) { modify(); if (index < 0) { index += getLength(); if (index < 0) { throw new IndexError(getRuntime(), "index " + (index - getLength()) + " out of array"); } } autoExpand(index + 1); list.set((int) index, value); } | 1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyArray.java/buggy/src/org/jruby/RubyArray.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1707,
12,
5748,
770,
16,
15908,
10340,
921,
460,
13,
288,
3639,
5612,
5621,
3639,
309,
261,
1615,
411,
374,
13,
288,
5411,
770,
1011,
9888,
5621,
5411,
309,
261,
1615,
411,
374,
13,
288,
7734,
604,
18814,
7675,
2704,
1016,
668,
2932,
1615,
315,
397,
261,
1615,
300,
9888,
10756,
397,
315,
596,
434,
526,
8863,
5411,
289,
3639,
289,
3639,
3656,
12271,
12,
1615,
397,
404,
1769,
3639,
666,
18,
542,
12443,
474,
13,
770,
16,
460,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1707,
12,
5748,
770,
16,
15908,
10340,
921,
460,
13,
288,
3639,
5612,
5621,
3639,
309,
261,
1615,
411,
374,
13,
288,
5411,
770,
1011,
9888,
5621,
5411,
309,
261,
1615,
411,
374,
13,
288,
7734,
604,
18814,
7675,
2704,
1016,
668,
2932,
1615,
315,
397,
261,
1615,
300,
9888,
10756,
397,
315,
596,
434,
526,
8863,
5411,
289,
3639,
289,
3639,
3656,
12271,
12,
1615,
397,
404,
1769,
3639,
666,
18,
542,
12443,
474,
13,
770,
16,
460,
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
] |
IToken token= (IToken) fWords.get(":"); | IToken token= (IToken) fWords.get(":"); | public IToken evaluate(ICharacterScanner scanner) { int c= scanner.read(); if (fDetector.isWordStart((char) c)) { if (fColumn == UNDEFINED || (fColumn == scanner.getColumn() - 1)) { fBuffer.setLength(0); do { fBuffer.append((char) c); c= scanner.read(); } while (fDetector.isWordPart((char) c)); if(c != ':') { unreadBuffer(scanner); return fDefaultToken; } else { fBuffer.append((char) c); IToken token= (IToken) fWords.get(":"); if (token != null) return token; } return fDefaultToken; } } scanner.unread(); return Token.UNDEFINED; } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/1738ff26440cb838b4d42f49cb8d29c4cc9babdf/AsmCodeScanner.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/asm/AsmCodeScanner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
467,
1345,
5956,
12,
45,
7069,
11338,
7683,
13,
288,
9506,
202,
474,
276,
33,
7683,
18,
896,
5621,
9506,
202,
430,
261,
74,
12594,
18,
291,
3944,
1685,
12443,
3001,
13,
276,
3719,
288,
6862,
202,
430,
261,
74,
1494,
422,
21919,
747,
261,
74,
1494,
422,
7683,
18,
588,
1494,
1435,
300,
404,
3719,
288,
6862,
6862,
9506,
202,
74,
1892,
18,
542,
1782,
12,
20,
1769,
25083,
202,
2896,
288,
6862,
1082,
202,
74,
1892,
18,
6923,
12443,
3001,
13,
276,
1769,
6862,
1082,
202,
71,
33,
7683,
18,
896,
5621,
25083,
202,
97,
1323,
261,
74,
12594,
18,
291,
3944,
1988,
12443,
3001,
13,
276,
10019,
25083,
202,
430,
12,
71,
480,
3921,
13,
288,
6862,
1082,
202,
318,
896,
1892,
12,
26842,
1769,
6862,
1082,
202,
2463,
284,
1868,
1345,
31,
25083,
202,
97,
469,
288,
6862,
1082,
202,
74,
1892,
18,
6923,
12443,
3001,
13,
276,
1769,
6862,
1082,
202,
1285,
969,
1147,
33,
261,
1285,
969,
13,
284,
7363,
18,
588,
2932,
2773,
1769,
6862,
1082,
202,
430,
261,
2316,
480,
446,
13,
6862,
9506,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1345,
5956,
12,
45,
7069,
11338,
7683,
13,
288,
9506,
202,
474,
276,
33,
7683,
18,
896,
5621,
9506,
202,
430,
261,
74,
12594,
18,
291,
3944,
1685,
12443,
3001,
13,
276,
3719,
288,
6862,
202,
430,
261,
74,
1494,
422,
21919,
747,
261,
74,
1494,
422,
7683,
18,
588,
1494,
1435,
300,
404,
3719,
288,
6862,
6862,
9506,
202,
74,
1892,
18,
542,
1782,
12,
20,
1769,
25083,
202,
2896,
288,
6862,
1082,
202,
74,
1892,
18,
6923,
12443,
3001,
13,
276,
1769,
6862,
1082,
202,
71,
33,
7683,
18,
896,
5621,
25083,
202,
97,
1323,
261,
74,
12594,
18,
291,
3944,
1988,
12443,
3001,
13,
276,
10019,
25083,
202,
430,
12,
71,
480,
2
] |
public static void setProgressReporter(ProgressReporter reporter) { | public void setProgressReporter(ProgressReporter reporter) { | public static void setProgressReporter(ProgressReporter reporter) { REPORTERS.set(reporter); } | 50818 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50818/329ff64e9d7295aff108f85e9a8103f5e5f8f398/MapOutputFile.java/buggy/src/java/org/apache/nutch/mapred/MapOutputFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
5491,
13289,
12,
5491,
13289,
11528,
13,
288,
565,
2438,
52,
916,
2560,
55,
18,
542,
12,
266,
7988,
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,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
5491,
13289,
12,
5491,
13289,
11528,
13,
288,
565,
2438,
52,
916,
2560,
55,
18,
542,
12,
266,
7988,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 (file.endsWith(".jar")) { return false; } else { if (!file.endsWith(".rb")) { file += ".rb"; } runtime.getRuntime().loadFile(findFile(file), false); | if (!file.endsWith(".rb")) { file += ".rb"; | public boolean load(String file) { if (file.endsWith(".jar")) { // FIXME return false; } else { if (!file.endsWith(".rb")) { file += ".rb"; } runtime.getRuntime().loadFile(findFile(file), false); } return true; } | 45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/ba3690bf7000d9d0f7aa1e0a81b4fd959794da8f/LoadService.java/clean/org/jruby/internal/runtime/load/LoadService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1262,
12,
780,
585,
13,
288,
3639,
309,
261,
768,
18,
5839,
1190,
2932,
18,
11930,
6,
3719,
288,
5411,
368,
9852,
5411,
327,
629,
31,
3639,
289,
469,
288,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1262,
12,
780,
585,
13,
288,
3639,
309,
261,
768,
18,
5839,
1190,
2932,
18,
11930,
6,
3719,
288,
5411,
368,
9852,
5411,
327,
629,
31,
3639,
289,
469,
288,
5411,
309,
16051,
768,
18,
5839,
1190,
2932,
18,
6731,
6,
3719,
288,
7734,
585,
1011,
3552,
6731,
14432,
5411,
289,
5411,
3099,
18,
588,
5576,
7675,
945,
812,
12,
4720,
812,
12,
768,
3631,
629,
1769,
3639,
289,
3639,
327,
638,
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
] |
if((!dontCompress) || alreadyCompressedCodec >= 0) { | if((!dontCompress) || (alreadyCompressedCodec >= 0)) { | static Compressed compress(Bucket sourceData, boolean dontCompress, short alreadyCompressedCodec, long sourceLength, long MAX_LENGTH_BEFORE_COMPRESSION, long MAX_COMPRESSED_DATA_LENGTH, boolean shortLength) throws KeyEncodeException, IOException { byte[] finalData = null; short compressionAlgorithm = -1; // Try to compress it - even if it fits into the block, // because compressing it improves its entropy. if(sourceData.size() > MAX_LENGTH_BEFORE_COMPRESSION) throw new KeyEncodeException("Too big"); if((!dontCompress) || alreadyCompressedCodec >= 0) { byte[] cbuf = null; if(alreadyCompressedCodec >= 0) { if(sourceData.size() > MAX_COMPRESSED_DATA_LENGTH) throw new KeyEncodeException("Too big (precompressed)"); compressionAlgorithm = alreadyCompressedCodec; cbuf = BucketTools.toByteArray(sourceData); if(sourceLength > MAX_LENGTH_BEFORE_COMPRESSION) throw new CHKEncodeException("Too big"); } else { if (sourceData.size() > NodeCHK.BLOCK_SIZE) { // Determine the best algorithm for (int i = 0; i < Compressor.countCompressAlgorithms(); i++) { Compressor comp = Compressor .getCompressionAlgorithmByDifficulty(i); ArrayBucket compressedData; try { compressedData = (ArrayBucket) comp.compress( sourceData, new ArrayBucketFactory(), NodeCHK.BLOCK_SIZE); } catch (IOException e) { throw new Error(e); } catch (CompressionOutputSizeException e) { continue; } if (compressedData.size() <= MAX_COMPRESSED_DATA_LENGTH) { compressionAlgorithm = comp .codecNumberForMetadata(); sourceLength = sourceData.size(); try { cbuf = BucketTools.toByteArray(compressedData); // FIXME provide a method in ArrayBucket } catch (IOException e) { throw new Error(e); } break; } } } } if(cbuf != null) { // Use it int compressedLength = cbuf.length; finalData = new byte[compressedLength+(shortLength?2:4)]; System.arraycopy(cbuf, 0, finalData, shortLength?2:4, compressedLength); if(!shortLength) { finalData[0] = (byte) ((sourceLength >> 24) & 0xff); finalData[1] = (byte) ((sourceLength >> 16) & 0xff); finalData[2] = (byte) ((sourceLength >> 8) & 0xff); finalData[3] = (byte) ((sourceLength) & 0xff); } else { finalData[0] = (byte) ((sourceLength >> 8) & 0xff); finalData[1] = (byte) ((sourceLength) & 0xff); } } } if(finalData == null) { if(sourceData.size() > NodeCHK.BLOCK_SIZE) { throw new CHKEncodeException("Too big"); } finalData = BucketTools.toByteArray(sourceData); } return new Compressed(finalData, compressionAlgorithm); } | 50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/Key.java/clean/src/freenet/keys/Key.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
5427,
4638,
8099,
12,
4103,
1084,
751,
16,
1250,
14046,
16552,
16,
3025,
1818,
16841,
11008,
16,
1525,
27406,
16,
1525,
4552,
67,
7096,
67,
19152,
67,
4208,
14227,
16,
1525,
4552,
67,
4208,
27388,
67,
4883,
67,
7096,
16,
1250,
3025,
1782,
13,
1216,
1929,
5509,
503,
16,
1860,
288,
377,
202,
7229,
8526,
727,
751,
273,
446,
31,
3639,
3025,
9154,
6801,
273,
300,
21,
31,
3639,
368,
6161,
358,
8099,
518,
300,
5456,
309,
518,
13351,
1368,
326,
1203,
16,
3639,
368,
2724,
8099,
310,
518,
13069,
3324,
2097,
15943,
18,
3639,
309,
12,
3168,
751,
18,
1467,
1435,
405,
4552,
67,
7096,
67,
19152,
67,
4208,
14227,
13,
5411,
604,
394,
1929,
5509,
503,
2932,
10703,
5446,
8863,
3639,
309,
12443,
5,
72,
1580,
16552,
13,
747,
261,
17583,
16841,
11008,
1545,
374,
3719,
288,
540,
202,
7229,
8526,
2875,
696,
273,
446,
31,
540,
202,
430,
12,
17583,
16841,
11008,
1545,
374,
13,
288,
5411,
202,
202,
430,
12,
3168,
751,
18,
1467,
1435,
405,
4552,
67,
4208,
27388,
67,
4883,
67,
7096,
13,
540,
1082,
202,
12849,
394,
1929,
5509,
503,
2932,
10703,
5446,
261,
1484,
15385,
2225,
1769,
540,
202,
202,
23766,
6801,
273,
1818,
16841,
11008,
31,
540,
202,
202,
71,
4385,
273,
7408,
10348,
18,
869,
8826,
12,
3168,
751,
1769,
540,
202,
202,
430,
12,
3168,
1782,
405,
4552,
67,
7096,
67,
19152,
67,
4208,
14227,
13,
540,
1082,
202,
12849,
394,
6469,
47,
5509,
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,
5427,
4638,
8099,
12,
4103,
1084,
751,
16,
1250,
14046,
16552,
16,
3025,
1818,
16841,
11008,
16,
1525,
27406,
16,
1525,
4552,
67,
7096,
67,
19152,
67,
4208,
14227,
16,
1525,
4552,
67,
4208,
27388,
67,
4883,
67,
7096,
16,
1250,
3025,
1782,
13,
1216,
1929,
5509,
503,
16,
1860,
288,
377,
202,
7229,
8526,
727,
751,
273,
446,
31,
3639,
3025,
9154,
6801,
273,
300,
21,
31,
3639,
368,
6161,
358,
8099,
518,
300,
5456,
309,
518,
13351,
1368,
326,
1203,
16,
3639,
368,
2724,
8099,
310,
518,
13069,
3324,
2097,
15943,
18,
3639,
309,
12,
3168,
751,
18,
1467,
1435,
405,
4552,
67,
7096,
67,
19152,
67,
4208,
14227,
13,
5411,
604,
394,
1929,
5509,
2
] |
aload(contextLocal); | cfw.addALoad(contextLocal); | private void visitRegularCall(Node node, int type, Node child, boolean firstArgDone) { /* * Generate code for call. * * push <arity> * anewarray Ljava/lang/Object; * // "initCount" instances of code from here... * dup * push <i> * <gen code for child> * aastore * //...to here * invokestatic call */ OptFunctionNode target = (OptFunctionNode)node.getProp(Node.DIRECTCALL_PROP); Node chelsea = child; int childCount = 0; int argSkipCount = (type == Token.NEW) ? 1 : 2; while (child != null) { childCount++; child = child.getNext(); } child = chelsea; // re-start the iterator from the first child, // REMIND - too bad we couldn't just back-patch the count ? int argIndex = -argSkipCount; if (firstArgDone && (child != null)) { child = child.getNext(); argIndex++; aload(contextLocal); addByteCode(ByteCode.SWAP); } else aload(contextLocal); if (firstArgDone && (type == Token.NEW)) constructArgArray(childCount - argSkipCount); int callType = node.getIntProp(Node.SPECIALCALL_PROP, Node.NON_SPECIALCALL); boolean isSimpleCall = false; if (!firstArgDone && type != Token.NEW) { String simpleCallName = getSimpleCallName(node); if (simpleCallName != null && callType == Node.NON_SPECIALCALL) { isSimpleCall = true; push(simpleCallName); aload(variableObjectLocal); child = child.getNext().getNext(); argIndex = 0; constructArgArray(childCount - argSkipCount); } } while (child != null) { if (argIndex < 0) // not moving these arguments to the array generateCodeFromNode(child, node); else { addByteCode(ByteCode.DUP); push(argIndex); if (target != null) {/* If this has also been a directCall sequence, the Number flag will have remained set for any parameter so that the values could be copied directly into the outgoing args. Here we want to force it to be treated as not in a Number context, so we set the flag off.*/ boolean handled = false; if ((child.getType() == Token.GETVAR) && inDirectCallFunction) { OptLocalVariable lVar = (OptLocalVariable)(child.getProp(Node.VARIABLE_PROP)); if (lVar != null && lVar.isParameter()) { child.removeProp(Node.ISNUMBER_PROP); generateCodeFromNode(child, node); handled = true; } } if (!handled) { int childNumberFlag = child.getIntProp(Node.ISNUMBER_PROP, -1); if (childNumberFlag == Node.BOTH) { addByteCode(ByteCode.NEW,"java/lang/Double"); addByteCode(ByteCode.DUP); generateCodeFromNode(child, node); addDoubleConstructor(); } else generateCodeFromNode(child, node); } } else generateCodeFromNode(child, node); addByteCode(ByteCode.AASTORE); } argIndex++; if (argIndex == 0) { constructArgArray(childCount - argSkipCount); } child = child.getNext(); } String className; String methodName; String callSignature; if (callType != Node.NON_SPECIALCALL) { className = "org/mozilla/javascript/optimizer/OptRuntime"; if (type == Token.NEW) { methodName = "newObjectSpecial"; callSignature = "(Lorg/mozilla/javascript/Context;" +"Ljava/lang/Object;" +"[Ljava/lang/Object;" +"Lorg/mozilla/javascript/Scriptable;" +"Lorg/mozilla/javascript/Scriptable;" +"I" // call type +")Ljava/lang/Object;"; aload(variableObjectLocal); aload(thisObjLocal); push(callType); } else { methodName = "callSpecial"; callSignature = "(Lorg/mozilla/javascript/Context;" +"Ljava/lang/Object;" +"Ljava/lang/Object;" +"[Ljava/lang/Object;" +"Lorg/mozilla/javascript/Scriptable;" +"Lorg/mozilla/javascript/Scriptable;" +"I" // call type +"Ljava/lang/String;I" // filename, linenumber +")Ljava/lang/Object;"; aload(variableObjectLocal); aload(thisObjLocal); push(callType); push(itsSourceFile == null ? "" : itsSourceFile); push(itsLineNumber); } } else if (isSimpleCall) { className = "org/mozilla/javascript/optimizer/OptRuntime"; methodName = "callSimple"; callSignature = "(Lorg/mozilla/javascript/Context;" +"Ljava/lang/String;" +"Lorg/mozilla/javascript/Scriptable;" +"[Ljava/lang/Object;" +")Ljava/lang/Object;"; } else { className = "org/mozilla/javascript/ScriptRuntime"; aload(variableObjectLocal); if (type == Token.NEW) { methodName = "newObject"; callSignature = "(Lorg/mozilla/javascript/Context;" +"Ljava/lang/Object;" +"[Ljava/lang/Object;" +"Lorg/mozilla/javascript/Scriptable;" +")Lorg/mozilla/javascript/Scriptable;"; } else { methodName = "call"; callSignature = "(Lorg/mozilla/javascript/Context;" +"Ljava/lang/Object;" +"Ljava/lang/Object;" +"[Ljava/lang/Object;" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;"; } } addStaticInvoke(className, methodName, callSignature); } | 12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/bd2594e6ebd6d8099b587934641c8f7650d87761/Codegen.java/clean/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3757,
17974,
1477,
12,
907,
756,
16,
509,
618,
16,
21394,
2029,
1151,
16,
1250,
1122,
4117,
7387,
13,
565,
288,
3639,
1748,
540,
380,
6654,
981,
364,
745,
18,
540,
380,
540,
380,
1817,
411,
20498,
34,
540,
380,
392,
359,
1126,
511,
6290,
19,
4936,
19,
921,
31,
540,
380,
368,
315,
2738,
1380,
6,
3884,
434,
981,
628,
2674,
2777,
540,
380,
9417,
540,
380,
1817,
411,
77,
34,
540,
380,
411,
4507,
981,
364,
1151,
34,
540,
380,
279,
689,
479,
540,
380,
368,
2777,
869,
2674,
540,
380,
5770,
395,
2126,
745,
540,
1195,
3639,
12056,
2083,
907,
1018,
273,
261,
6179,
2083,
907,
13,
2159,
18,
588,
4658,
12,
907,
18,
17541,
13730,
67,
15811,
1769,
3639,
2029,
462,
12107,
69,
273,
1151,
31,
3639,
509,
31492,
273,
374,
31,
3639,
509,
1501,
6368,
1380,
273,
261,
723,
422,
3155,
18,
12917,
13,
692,
404,
294,
576,
31,
3639,
1323,
261,
3624,
480,
446,
13,
288,
5411,
31492,
9904,
31,
5411,
1151,
273,
1151,
18,
588,
2134,
5621,
3639,
289,
3639,
1151,
273,
462,
12107,
69,
31,
565,
368,
283,
17,
1937,
326,
2775,
628,
326,
1122,
1151,
16,
10792,
368,
2438,
49,
2356,
300,
4885,
5570,
732,
17991,
1404,
2537,
1473,
17,
2272,
326,
1056,
692,
3639,
509,
1501,
1016,
273,
300,
3175,
6368,
1380,
31,
3639,
309,
261,
3645,
4117,
7387,
597,
261,
3624,
480,
446,
3719,
288,
5411,
1151,
273,
1151,
18,
588,
2134,
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,
377,
3238,
918,
3757,
17974,
1477,
12,
907,
756,
16,
509,
618,
16,
21394,
2029,
1151,
16,
1250,
1122,
4117,
7387,
13,
565,
288,
3639,
1748,
540,
380,
6654,
981,
364,
745,
18,
540,
380,
540,
380,
1817,
411,
20498,
34,
540,
380,
392,
359,
1126,
511,
6290,
19,
4936,
19,
921,
31,
540,
380,
368,
315,
2738,
1380,
6,
3884,
434,
981,
628,
2674,
2777,
540,
380,
9417,
540,
380,
1817,
411,
77,
34,
540,
380,
411,
4507,
981,
364,
1151,
34,
540,
380,
279,
689,
479,
540,
380,
368,
2777,
869,
2674,
540,
380,
5770,
395,
2126,
745,
540,
1195,
3639,
12056,
2083,
907,
1018,
273,
261,
6179,
2083,
907,
13,
2159,
18,
588,
4658,
12,
907,
2
] |
} else if (accessibility == ProgramElementNode.Accessibility.PRIVATE) { | } else if (accessibility == IProgramElement.Accessibility.PRIVATE) { | public Icon getAccessibilitySwingIcon(ProgramElementNode.Accessibility accessibility) { if (accessibility == ProgramElementNode.Accessibility.PUBLIC) { return ACCESSIBILITY_PUBLIC; } else if (accessibility == ProgramElementNode.Accessibility.PACKAGE) { return ACCESSIBILITY_PACKAGE; } else if (accessibility == ProgramElementNode.Accessibility.PROTECTED) { return ACCESSIBILITY_PROTECTED; } else if (accessibility == ProgramElementNode.Accessibility.PRIVATE) { return ACCESSIBILITY_PRIVATE; } else if (accessibility == ProgramElementNode.Accessibility.PRIVILEGED) { return ACCESSIBILITY_PRIVILEGED; } else { return null; } } | 53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/f1deb9c11024ecebab2e0aa17a260821375c25bd/IconRegistry.java/buggy/ajde/src/org/aspectj/ajde/ui/swing/IconRegistry.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
16011,
21909,
3628,
6050,
310,
5554,
12,
9459,
1046,
907,
18,
1862,
3628,
2006,
3628,
13,
288,
202,
202,
430,
261,
3860,
3628,
422,
13586,
1046,
907,
18,
1862,
3628,
18,
14939,
13,
288,
1082,
202,
2463,
13255,
13450,
14674,
67,
14939,
31,
202,
202,
97,
469,
309,
261,
3860,
3628,
422,
13586,
1046,
907,
18,
1862,
3628,
18,
19077,
13,
288,
1082,
202,
2463,
13255,
13450,
14674,
67,
19077,
31,
202,
202,
97,
469,
309,
261,
3860,
3628,
422,
13586,
1046,
907,
18,
1862,
3628,
18,
3373,
26729,
13,
288,
1082,
202,
2463,
13255,
13450,
14674,
67,
3373,
26729,
31,
202,
202,
97,
469,
309,
261,
3860,
3628,
422,
13586,
1046,
907,
18,
1862,
3628,
18,
20055,
13,
288,
1082,
202,
2463,
13255,
13450,
14674,
67,
20055,
31,
202,
202,
97,
469,
309,
261,
3860,
3628,
422,
13586,
1046,
907,
18,
1862,
3628,
18,
7698,
4136,
19384,
2056,
13,
288,
1082,
202,
2463,
13255,
13450,
14674,
67,
7698,
4136,
19384,
2056,
31,
202,
202,
97,
469,
288,
1082,
202,
2463,
446,
31,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
16011,
21909,
3628,
6050,
310,
5554,
12,
9459,
1046,
907,
18,
1862,
3628,
2006,
3628,
13,
288,
202,
202,
430,
261,
3860,
3628,
422,
13586,
1046,
907,
18,
1862,
3628,
18,
14939,
13,
288,
1082,
202,
2463,
13255,
13450,
14674,
67,
14939,
31,
202,
202,
97,
469,
309,
261,
3860,
3628,
422,
13586,
1046,
907,
18,
1862,
3628,
18,
19077,
13,
288,
1082,
202,
2463,
13255,
13450,
14674,
67,
19077,
31,
202,
202,
97,
469,
309,
261,
3860,
3628,
422,
13586,
1046,
907,
18,
1862,
3628,
18,
3373,
26729,
13,
288,
1082,
202,
2463,
13255,
13450,
14674,
67,
3373,
26729,
31,
202,
202,
97,
469,
309,
261,
3860,
3628,
422,
13586,
1046,
907,
18,
1862,
3628,
2
] |
panelRootNo = ((Integer)this.panelInstanceCount.get (panelClassName)).intValue (); | panelRootNo = ((Integer) this.panelInstanceCount.get(panelClassName)).intValue(); | private void doInstall(AutomatedInstallData installdata) throws Exception { // TODO: i18n System.out.println("[ Starting automated installation ]"); // walk the panels in order Iterator panelsIterator = installdata.panelsOrder.iterator(); while(panelsIterator.hasNext()) { Panel p = (Panel)panelsIterator.next(); if (!OsConstraint.oneMatchesCurrentSystem(p.osConstraints)) continue; String panelClassName = p.className; String automationHelperClassName = "com.izforge.izpack.panels."+panelClassName+"AutomationHelper"; Class automationHelperClass = null; // determine if the panel supports automated install try { automationHelperClass = Class.forName(automationHelperClassName); } catch(ClassNotFoundException e) { // this is OK - not all panels have/need automation support. continue; } // instantiate the automation logic for the panel PanelAutomation automationHelperInstance = null; if(automationHelperClass != null) { try { automationHelperInstance = (PanelAutomation)automationHelperClass.newInstance(); } catch(Exception e) { System.err.println("ERROR: no default constructor for "+automationHelperClassName+", skipping..."); continue; } } // We get the panels root xml markup Vector panelRoots = installdata.xmlData.getChildrenNamed (panelClassName); int panelRootNo = 0; if (this.panelInstanceCount.containsKey (panelClassName)) { // get number of panel instance to process panelRootNo = ((Integer)this.panelInstanceCount.get (panelClassName)).intValue (); } XMLElement panelRoot = (XMLElement)panelRoots.elementAt (panelRootNo); this.panelInstanceCount.put (panelClassName, new Integer (panelRootNo+1)); // execute the installation logic for the current panel, if it has any: if(automationHelperInstance != null) { try { automationHelperInstance.runAutomated(installdata, panelRoot); } catch(Exception e) { System.err.println ("ERROR: automated installation failed for panel " + panelClassName); e.printStackTrace (); continue; } } } System.out.println("[ Automated installation done ]"); // Bye Housekeeper.getInstance().shutDown(0); } | 46579 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46579/6629f6e7b4d88c756f0670c257942fdabc2ec0f1/AutomatedInstaller.java/buggy/src/lib/com/izforge/izpack/installer/AutomatedInstaller.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
741,
6410,
12,
22932,
690,
6410,
751,
3799,
892,
13,
377,
1216,
1185,
225,
288,
565,
368,
2660,
30,
277,
2643,
82,
565,
2332,
18,
659,
18,
8222,
2932,
63,
24591,
18472,
690,
13193,
308,
8863,
565,
368,
5442,
326,
20582,
316,
1353,
565,
4498,
20582,
3198,
273,
3799,
892,
18,
7355,
10558,
2448,
18,
9838,
5621,
565,
1323,
12,
7355,
10558,
3198,
18,
5332,
2134,
10756,
565,
288,
1377,
23641,
293,
273,
261,
5537,
13,
7355,
10558,
3198,
18,
4285,
5621,
202,
21114,
225,
309,
16051,
15112,
5806,
18,
476,
6869,
3935,
3163,
12,
84,
18,
538,
4878,
3719,
1324,
31,
202,
3639,
514,
6594,
3834,
273,
293,
18,
12434,
31,
1377,
514,
17539,
2276,
3834,
273,
315,
832,
18,
452,
1884,
908,
18,
452,
2920,
18,
7355,
10558,
1199,
15,
13916,
3834,
9078,
28589,
2276,
14432,
1377,
1659,
17539,
2276,
797,
273,
446,
31,
1377,
368,
4199,
309,
326,
6594,
6146,
18472,
690,
3799,
1377,
775,
4202,
288,
3639,
17539,
2276,
797,
273,
1659,
18,
1884,
461,
12,
5854,
11978,
2276,
3834,
1769,
1377,
289,
4202,
1044,
12,
797,
3990,
425,
13,
4202,
288,
3639,
368,
333,
353,
7791,
300,
486,
777,
20582,
1240,
19,
14891,
17539,
2865,
18,
3639,
1324,
31,
1377,
289,
1377,
368,
10275,
326,
17539,
4058,
364,
326,
6594,
1377,
23641,
28589,
17539,
2276,
1442,
273,
446,
31,
1377,
309,
12,
5854,
11978,
2276,
797,
480,
446,
13,
4202,
288,
3639,
775,
540,
288,
1850,
17539,
2276,
1442,
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,
918,
741,
6410,
12,
22932,
690,
6410,
751,
3799,
892,
13,
377,
1216,
1185,
225,
288,
565,
368,
2660,
30,
277,
2643,
82,
565,
2332,
18,
659,
18,
8222,
2932,
63,
24591,
18472,
690,
13193,
308,
8863,
565,
368,
5442,
326,
20582,
316,
1353,
565,
4498,
20582,
3198,
273,
3799,
892,
18,
7355,
10558,
2448,
18,
9838,
5621,
565,
1323,
12,
7355,
10558,
3198,
18,
5332,
2134,
10756,
565,
288,
1377,
23641,
293,
273,
261,
5537,
13,
7355,
10558,
3198,
18,
4285,
5621,
202,
21114,
225,
309,
16051,
15112,
5806,
18,
476,
6869,
3935,
3163,
12,
84,
18,
538,
4878,
3719,
1324,
31,
202,
3639,
514,
6594,
3834,
273,
293,
18,
12434,
31,
1377,
514,
17539,
2276,
2
] |
passDown( new Event( Event.MSG, resend_msg ) ); log.error( "TOTAL_OLD.handleResendRequest() - responded to resend request for message " + seq ); | passDown(new Event(Event.MSG, resend_msg)); log.error("TOTAL_OLD.handleResendRequest() - responded to resend request for message " + seq); | private synchronized void handleResendRequest( Message msg, long seq ) { log.error( "TOTAL_OLD.handleRequestMessage() - received resend request for message " + seq ); /* just rebroadcast for now because i can't get the source - this is bad (TODO: fix this) Object requester = msg.makeReply().getSrc(); // Address? of requester - test (debug) /* Object temp_obj = msg.getSrc(); if ( temp_obj instanceof Address ) { Address requester = (Address) temp_obj; } else { log.error( "Error: TOTAL_OLD.handleResendRequest() - could not cast source of message to an Address" ); return; } * / if ( requester == null ) { // don't know who to send this back to log.error( "TOTAL_OLD.handleResendRequest() - do not know who requested this resend request for sequence " + seq ); return; } */ Address requester = null;// log.error( "TOTAL_OLD: got here - 1" ); Message resend_msg = ack_history.getMessage( seq );// log.error( "TOTAL_OLD: got here - 2" ); if ( resend_msg == null ) { // couldn't find this message in the history log.error( "TOTAL_OLD.handleResendRequest() - could not find the message " + seq + " in the history to resend" ); return; } resend_msg.setDest( requester ); // note: do not need to add a TotalHeader because it should already be a // TOTAL_BCAST message // begin debug { Object header = resend_msg.getHeader(getName()); if ( header instanceof TotalHeader ) { //log.error( "TOTAL_OLD: resend msg GOOD (header is TotalHeader) - " + seq ); } else { log.error( "TOTAL_OLD: resend msg BAD (header is NOT a TotalHeader) - " + seq ); } } // // end debug passDown( new Event( Event.MSG, resend_msg ) ); log.error( "TOTAL_OLD.handleResendRequest() - responded to resend request for message " + seq ); } | 47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/13de68466e3cf7fde6ee0bde0cee09a33e837e89/TOTAL_OLD.java/buggy/src/org/jgroups/protocols/TOTAL_OLD.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3852,
918,
1640,
607,
409,
691,
12,
2350,
1234,
16,
1525,
3833,
262,
288,
202,
613,
18,
1636,
12,
315,
28624,
67,
11846,
18,
4110,
691,
1079,
1435,
300,
5079,
31972,
590,
364,
883,
315,
397,
3833,
11272,
202,
20308,
2537,
283,
19805,
364,
2037,
2724,
277,
848,
1404,
336,
326,
1084,
300,
333,
353,
5570,
261,
6241,
30,
2917,
333,
13,
225,
202,
921,
19961,
273,
1234,
18,
6540,
7817,
7675,
588,
7740,
5621,
225,
368,
5267,
35,
434,
19961,
300,
1842,
261,
4148,
13,
202,
20308,
202,
921,
1906,
67,
2603,
273,
1234,
18,
588,
7740,
5621,
202,
430,
261,
1906,
67,
2603,
1276,
5267,
262,
288,
202,
565,
5267,
19961,
273,
261,
1887,
13,
1906,
67,
2603,
31,
202,
97,
469,
288,
202,
565,
613,
18,
1636,
12,
315,
668,
30,
399,
19851,
67,
11846,
18,
4110,
607,
409,
691,
1435,
300,
3377,
486,
4812,
1084,
434,
883,
358,
392,
5267,
6,
11272,
202,
565,
327,
31,
202,
97,
202,
14,
342,
202,
430,
261,
19961,
422,
446,
262,
288,
202,
565,
368,
2727,
1404,
5055,
10354,
358,
1366,
333,
1473,
358,
202,
565,
613,
18,
1636,
12,
315,
28624,
67,
11846,
18,
4110,
607,
409,
691,
1435,
300,
741,
486,
5055,
10354,
3764,
333,
31972,
590,
364,
3102,
315,
397,
3833,
11272,
202,
565,
327,
31,
202,
97,
202,
5549,
202,
1887,
19961,
273,
446,
31,
759,
613,
18,
1636,
12,
315,
28624,
67,
11846,
30,
2363,
2674,
300,
404,
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,
3238,
3852,
918,
1640,
607,
409,
691,
12,
2350,
1234,
16,
1525,
3833,
262,
288,
202,
613,
18,
1636,
12,
315,
28624,
67,
11846,
18,
4110,
691,
1079,
1435,
300,
5079,
31972,
590,
364,
883,
315,
397,
3833,
11272,
202,
20308,
2537,
283,
19805,
364,
2037,
2724,
277,
848,
1404,
336,
326,
1084,
300,
333,
353,
5570,
261,
6241,
30,
2917,
333,
13,
225,
202,
921,
19961,
273,
1234,
18,
6540,
7817,
7675,
588,
7740,
5621,
225,
368,
5267,
35,
434,
19961,
300,
1842,
261,
4148,
13,
202,
20308,
202,
921,
1906,
67,
2603,
273,
1234,
18,
588,
7740,
5621,
202,
430,
261,
1906,
67,
2603,
1276,
5267,
262,
288,
202,
565,
5267,
19961,
273,
261,
1887,
13,
2
] |
} else { | } else if (tr.isDataFlavorSupported(PictureSelection.flavors[0])) { | public synchronized void drop(DropTargetDropEvent dropTargetDropEvent) { Log.log(Log.LEVEL_TRACE, MODULE, "drop - dtde"); if (!isDragOK(dropTargetDropEvent)) { Log.log(Log.LEVEL_TRACE, MODULE, "Refusing drop"); dropTargetDropEvent.rejectDrop(); return; } Log.log(Log.LEVEL_TRACE, MODULE, "Accepting drop"); try { Transferable tr = dropTargetDropEvent.getTransferable(); dropTargetDropEvent.acceptDrop( DnDConstants.ACTION_COPY_OR_MOVE | DnDConstants.ACTION_REFERENCE); //thanks John Zukowski Point dropLocation = dropTargetDropEvent.getLocation(); int listIndex = snapIndex((int) dropLocation.getY()); //Log.log(Log.LEVEL_TRACE, MODULE, "listIndex: " + listIndex + " size: " + getModel().getSize()); boolean endOfList = (listIndex >= getModel().getSize()); if (tr.isDataFlavorSupported(DataFlavor.javaFileListFlavor)) { List fileList = (List) tr.getTransferData(DataFlavor.javaFileListFlavor); /* recursively add contents of directories */ try { fileList = ImageUtils.expandDirectories(fileList); } catch (IOException ioe) { Log.log(Log.LEVEL_ERROR, MODULE, "i/o exception listing dirs in a drop"); Log.logStack(Log.LEVEL_ERROR, MODULE); JOptionPane.showMessageDialog( null, GRI18n.getString(MODULE, "imgError"), GRI18n.getString(MODULE, "dragError"), JOptionPane.ERROR_MESSAGE); } Log.log(Log.LEVEL_TRACE, MODULE, "Adding " + fileList.size() + " new files(s) to list at index " + listIndex); GalleryRemote._().getCore().addPictures((File[]) fileList.toArray(new File[0]), listIndex, false); } else { List pictureList = (List) tr.getTransferData(PictureSelection.flavors[0]); Log.log(Log.LEVEL_TRACE, MODULE, "Adding " + pictureList.size() + " new pictures(s) to list at index " + listIndex); GalleryRemote._().getCore().addPictures((Picture[]) pictureList.toArray(new Picture[0]), listIndex, true); } dropTargetDropEvent.getDropTargetContext().dropComplete(true); if (endOfList && getModel().getSize() > 0) { ensureIndexIsVisible(getModel().getSize() - 1); } } catch (IOException io) { Log.logException(Log.LEVEL_ERROR, MODULE, io); dropTargetDropEvent.getDropTargetContext().dropComplete(false); } catch (UnsupportedFlavorException ufe) { Log.logException(Log.LEVEL_ERROR, MODULE, ufe); dropTargetDropEvent.getDropTargetContext().dropComplete(false); } } | 5431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5431/259bfa9094f56f9f28d3d1555843f095d826d880/DroppableList.java/clean/gallery_remote/com/gallery/GalleryRemote/DroppableList.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
918,
3640,
12,
7544,
2326,
7544,
1133,
3640,
2326,
7544,
1133,
13,
288,
202,
202,
1343,
18,
1330,
12,
1343,
18,
10398,
67,
23827,
16,
14057,
16,
315,
7285,
300,
3681,
323,
8863,
202,
202,
430,
16051,
291,
11728,
3141,
12,
7285,
2326,
7544,
1133,
3719,
288,
1082,
202,
1343,
18,
1330,
12,
1343,
18,
10398,
67,
23827,
16,
14057,
16,
315,
1957,
9940,
3640,
8863,
1082,
202,
7285,
2326,
7544,
1133,
18,
24163,
7544,
5621,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
1343,
18,
1330,
12,
1343,
18,
10398,
67,
23827,
16,
14057,
16,
315,
5933,
310,
3640,
8863,
202,
202,
698,
288,
1082,
202,
5912,
429,
433,
273,
3640,
2326,
7544,
1133,
18,
588,
5912,
429,
5621,
1082,
202,
7285,
2326,
7544,
1133,
18,
9436,
7544,
12,
6862,
202,
19053,
40,
2918,
18,
12249,
67,
24875,
67,
916,
67,
16537,
571,
463,
82,
40,
2918,
18,
12249,
67,
14617,
1769,
1082,
202,
759,
451,
19965,
804,
22223,
2285,
19445,
543,
7771,
77,
1082,
202,
2148,
3640,
2735,
273,
3640,
2326,
7544,
1133,
18,
588,
2735,
5621,
1082,
202,
474,
666,
1016,
273,
10915,
1016,
12443,
474,
13,
3640,
2735,
18,
588,
61,
10663,
1082,
202,
759,
1343,
18,
1330,
12,
1343,
18,
10398,
67,
23827,
16,
14057,
16,
315,
1098,
1016,
30,
315,
397,
666,
1016,
397,
315,
963,
30,
315,
397,
7454,
7675,
588,
1225,
10663,
1082,
202,
6494,
20706,
682,
273,
261,
1098,
1016,
1545,
7454,
7675,
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,
3852,
918,
3640,
12,
7544,
2326,
7544,
1133,
3640,
2326,
7544,
1133,
13,
288,
202,
202,
1343,
18,
1330,
12,
1343,
18,
10398,
67,
23827,
16,
14057,
16,
315,
7285,
300,
3681,
323,
8863,
202,
202,
430,
16051,
291,
11728,
3141,
12,
7285,
2326,
7544,
1133,
3719,
288,
1082,
202,
1343,
18,
1330,
12,
1343,
18,
10398,
67,
23827,
16,
14057,
16,
315,
1957,
9940,
3640,
8863,
1082,
202,
7285,
2326,
7544,
1133,
18,
24163,
7544,
5621,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
1343,
18,
1330,
12,
1343,
18,
10398,
67,
23827,
16,
14057,
16,
315,
5933,
310,
3640,
8863,
202,
202,
698,
288,
1082,
202,
5912,
429,
433,
273,
3640,
2326,
7544,
2
] |
if(order.getOriginalID() != null) | if (order.getOriginalID() != null) | private void cancelReject(Message message, SessionID sessionID) throws FieldNotFound { String id = message.getField(new ClOrdID()).getValue(); Order order = orderTableModel.getOrder(id); if(order == null) return; if(order.getOriginalID() != null) order = orderTableModel.getOrder(order.getOriginalID()); try { order.setMessage(message.getField(new Text()).getValue()); } catch(FieldNotFound e) {} orderTableModel.updateOrder(order, order.getID()); } | 6257 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6257/b1369a27979caf97c3e3b66213e8103f210c0b86/BanzaiApplication.java/buggy/examples/quickfix/examples/banzai/BanzaiApplication.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3755,
21705,
12,
1079,
883,
16,
3877,
734,
13737,
13,
565,
1216,
2286,
2768,
288,
3639,
514,
612,
273,
883,
18,
588,
974,
12,
2704,
3905,
15383,
734,
1435,
2934,
24805,
5621,
3639,
4347,
1353,
273,
1353,
1388,
1488,
18,
588,
2448,
12,
350,
1769,
3639,
309,
12,
1019,
422,
446,
13,
5411,
327,
31,
3639,
309,
261,
1019,
18,
588,
8176,
734,
1435,
480,
446,
13,
5411,
1353,
273,
1353,
1388,
1488,
18,
588,
2448,
12,
1019,
18,
588,
8176,
734,
10663,
3639,
775,
288,
5411,
1353,
18,
542,
1079,
12,
2150,
18,
588,
974,
12,
2704,
3867,
1435,
2934,
24805,
10663,
3639,
289,
1044,
12,
974,
2768,
425,
13,
2618,
3639,
1353,
1388,
1488,
18,
2725,
2448,
12,
1019,
16,
1353,
18,
588,
734,
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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316,
326,
981,
30,
377,
3238,
918,
3755,
21705,
12,
1079,
883,
16,
3877,
734,
13737,
13,
565,
1216,
2286,
2768,
288,
3639,
514,
612,
273,
883,
18,
588,
974,
12,
2704,
3905,
15383,
734,
1435,
2934,
24805,
5621,
3639,
4347,
1353,
273,
1353,
1388,
1488,
18,
588,
2448,
12,
350,
1769,
3639,
309,
12,
1019,
422,
446,
13,
5411,
327,
31,
3639,
309,
261,
1019,
18,
588,
8176,
734,
1435,
480,
446,
13,
5411,
1353,
273,
1353,
1388,
1488,
18,
588,
2448,
12,
1019,
18,
588,
8176,
734,
10663,
3639,
775,
288,
5411,
1353,
18,
542,
1079,
12,
2150,
18,
588,
974,
12,
2704,
3867,
1435,
2934,
24805,
10663,
3639,
289,
1044,
12,
974,
2768,
425,
13,
2618,
3639,
1353,
1388,
1488,
2
] |
this.blockStream = null; this.blockReplyStream = null; this.blockStreamWorking = false; | public DFSOutputStream(UTF8 src, boolean overwrite) throws IOException { this.src = src; this.overwrite = overwrite; this.blockStream = null; this.blockReplyStream = null; this.blockStreamWorking = false; this.backupFile = newBackupFile(); this.backupStream = new BufferedOutputStream(new FileOutputStream(backupFile)); nextBlockOutputStream(true); } | 53958 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53958/68dd484efed41e0eb2b418a5b6303af6701c6fdd/DFSClient.java/clean/src/java/org/apache/hadoop/dfs/DFSClient.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
23872,
4632,
12,
5159,
28,
1705,
16,
1250,
6156,
13,
1216,
1860,
288,
5411,
333,
18,
4816,
273,
1705,
31,
5411,
333,
18,
19274,
273,
6156,
31,
5411,
333,
18,
2629,
1228,
273,
446,
31,
5411,
333,
18,
2629,
7817,
1228,
273,
446,
31,
5411,
333,
18,
2629,
1228,
14836,
273,
629,
31,
5411,
333,
18,
9572,
812,
273,
394,
6248,
812,
5621,
5411,
333,
18,
9572,
1228,
273,
394,
28649,
12,
2704,
12942,
12,
9572,
812,
10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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,
540,
1071,
23872,
4632,
12,
5159,
28,
1705,
16,
1250,
6156,
13,
1216,
1860,
288,
5411,
333,
18,
4816,
273,
1705,
31,
5411,
333,
18,
19274,
273,
6156,
31,
5411,
333,
18,
2629,
1228,
273,
446,
31,
5411,
333,
18,
2629,
7817,
1228,
273,
446,
31,
5411,
333,
18,
2629,
1228,
14836,
273,
629,
31,
5411,
333,
18,
9572,
812,
273,
394,
6248,
812,
5621,
5411,
333,
18,
9572,
1228,
273,
394,
28649,
12,
2704,
12942,
12,
9572,
812,
10019,
5411,
1024,
1768,
4632,
12,
3767,
1769,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
if (session != null) { config.setProperty("emailTo", getToTokens(config.getStringProperty("emailTo"), toAddress)); config.saveSessionProps(); setToCombo(config.getStringProperty("emailTo"),toAddress); } } } catch (IOException ioe) { System.out.println(ioe.getMessage()); } catch (Exception ex) { System.out.println(ex.getMessage()); } } | if (session != null) { config.setProperty( "emailTo", getToTokens( config.getStringProperty("emailTo"), toAddress)); config.saveSessionProps(); setToCombo(config.getStringProperty("emailTo"), toAddress); } } } catch (IOException ioe) { System.out.println(ioe.getMessage()); } catch (Exception ex) { System.out.println(ex.getMessage()); } } | private void sendIt (Frame parent, SendEMail sem) { if (parent == null) parent = new JFrame(); try { if (sem.send()) { JOptionPane.showMessageDialog(parent, LangTool.getString("em.confirmationMessage") + " " + (String)toAddress.getSelectedItem(), LangTool.getString("em.titleConfirmation"), JOptionPane.INFORMATION_MESSAGE); if (session != null) { config.setProperty("emailTo", getToTokens(config.getStringProperty("emailTo"), toAddress)); config.saveSessionProps(); setToCombo(config.getStringProperty("emailTo"),toAddress); } } } catch (IOException ioe) { System.out.println(ioe.getMessage()); } catch (Exception ex) { System.out.println(ex.getMessage()); } } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/587af9e9ad98a6fc095602838327da784630b619/SendEMailDialog.java/clean/tn5250j/src/org/tn5250j/mailtools/SendEMailDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
918,
1366,
7193,
261,
3219,
982,
16,
2479,
3375,
671,
6111,
13,
288,
1377,
309,
261,
2938,
422,
446,
13,
540,
982,
273,
394,
804,
3219,
5621,
1377,
775,
288,
540,
309,
261,
12000,
18,
4661,
10756,
288,
5411,
804,
1895,
8485,
18,
4500,
1079,
6353,
12,
2938,
16,
4766,
2398,
13346,
6364,
18,
588,
780,
2932,
351,
18,
22275,
1079,
7923,
397,
4766,
2398,
315,
315,
397,
261,
780,
13,
869,
1887,
18,
588,
7416,
1180,
9334,
4766,
2398,
13346,
6364,
18,
588,
780,
2932,
351,
18,
2649,
17597,
6,
3631,
4766,
2398,
804,
1895,
8485,
18,
706,
23805,
67,
8723,
1769,
5411,
309,
261,
3184,
480,
446,
13,
288,
9079,
642,
18,
542,
1396,
2932,
3652,
774,
3113,
5397,
19478,
5157,
12,
1425,
18,
588,
780,
1396,
2932,
3652,
774,
6,
3631,
4766,
565,
358,
1887,
10019,
9079,
642,
18,
5688,
2157,
5047,
5621,
9079,
19892,
16156,
12,
1425,
18,
588,
780,
1396,
2932,
3652,
774,
6,
3631,
869,
1887,
1769,
5411,
289,
540,
289,
1377,
289,
1377,
1044,
261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398,
316,
326,
981,
30,
565,
3238,
918,
1366,
7193,
261,
3219,
982,
16,
2479,
3375,
671,
6111,
13,
288,
1377,
309,
261,
2938,
422,
446,
13,
540,
982,
273,
394,
804,
3219,
5621,
1377,
775,
288,
540,
309,
261,
12000,
18,
4661,
10756,
288,
5411,
804,
1895,
8485,
18,
4500,
1079,
6353,
12,
2938,
16,
4766,
2398,
13346,
6364,
18,
588,
780,
2932,
351,
18,
22275,
1079,
7923,
397,
4766,
2398,
315,
315,
397,
261,
780,
13,
869,
1887,
18,
588,
7416,
1180,
9334,
4766,
2398,
13346,
6364,
18,
588,
780,
2932,
351,
18,
2649,
17597,
6,
3631,
4766,
2398,
804,
1895,
8485,
18,
706,
23805,
67,
8723,
1769,
5411,
309,
261,
3184,
480,
446,
13,
288,
9079,
642,
18,
542,
1396,
2932,
2
] |
throw new UnsupportedOperationException("This method is not " + "supported by this ColorModel"); | throw new UnsupportedOperationException("This method is not " + "supported by this ColorModel"); | public WritableRaster createCompatibleWritableRaster(int w, int h) { throw new UnsupportedOperationException("This method is not " + "supported by this ColorModel"); } | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/1380f0b7d7529273757b8c60cba9603d41c15f4d/ColorModel.java/buggy/modules/awt/src/main/java/common/java/awt/image/ColorModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
14505,
18637,
752,
14599,
12061,
18637,
12,
474,
341,
16,
509,
366,
13,
288,
3639,
604,
394,
13172,
2932,
2503,
707,
353,
486,
315,
397,
7734,
315,
4127,
635,
333,
5563,
1488,
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,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
14505,
18637,
752,
14599,
12061,
18637,
12,
474,
341,
16,
509,
366,
13,
288,
3639,
604,
394,
13172,
2932,
2503,
707,
353,
486,
315,
397,
7734,
315,
4127,
635,
333,
5563,
1488,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 new IOException( message ); | throw new IOException(message); | public static void copyFile( final File source, final File destination ) throws IOException { //check source exists if( !source.exists() ) { final String message = "File " + source + " does not exist"; throw new IOException( message ); } //does destinations directory exist ? if( destination.getParentFile() != null && !destination.getParentFile().exists() ) { destination.getParentFile().mkdirs(); } //make sure we can write to destination if( destination.exists() && !destination.canWrite() ) { final String message = "Unable to open file " + destination + " for writing."; throw new IOException( message ); } final FileInputStream input = new FileInputStream( source ); final FileOutputStream output = new FileOutputStream( destination ); IOUtils.copy( input, output ); IOUtils.shutdownStream( input ); IOUtils.shutdownStream( output ); if( source.length() != destination.length() ) { final String message = "Failed to copy full contents from " + source + " to " + destination; throw new IOException( message ); } } | 49302 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49302/6a1bb4d53562a50bbaad48ee2c94971649e24cf5/FileUtils.java/clean/src/java/org/apache/commons/io/FileUtils.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
26955,
12,
727,
1387,
1084,
16,
727,
1387,
2929,
262,
3639,
1216,
1860,
565,
288,
3639,
368,
1893,
1084,
1704,
3639,
309,
12,
401,
3168,
18,
1808,
1435,
262,
3639,
288,
5411,
727,
514,
883,
273,
315,
812,
315,
397,
1084,
397,
315,
1552,
486,
1005,
14432,
5411,
604,
394,
1860,
12,
2150,
1769,
3639,
289,
3639,
368,
20657,
20456,
1867,
1005,
692,
3639,
309,
12,
2929,
18,
588,
3054,
812,
1435,
480,
446,
597,
5411,
401,
10590,
18,
588,
3054,
812,
7675,
1808,
1435,
262,
3639,
288,
5411,
2929,
18,
588,
3054,
812,
7675,
24816,
8291,
5621,
3639,
289,
3639,
368,
6540,
3071,
732,
848,
1045,
358,
2929,
3639,
309,
12,
2929,
18,
1808,
1435,
597,
401,
10590,
18,
4169,
3067,
1435,
262,
3639,
288,
5411,
727,
514,
883,
273,
315,
3370,
358,
1696,
585,
315,
397,
7734,
2929,
397,
315,
364,
7410,
1199,
31,
5411,
604,
394,
1860,
12,
2150,
1769,
3639,
289,
3639,
727,
11907,
810,
273,
394,
11907,
12,
1084,
11272,
3639,
727,
12942,
876,
273,
394,
12942,
12,
2929,
11272,
3639,
18044,
18,
3530,
12,
810,
16,
876,
11272,
3639,
18044,
18,
15132,
1228,
12,
810,
11272,
3639,
18044,
18,
15132,
1228,
12,
876,
11272,
3639,
309,
12,
1084,
18,
2469,
1435,
480,
2929,
18,
2469,
1435,
262,
3639,
288,
5411,
727,
514,
883,
273,
315,
2925,
358,
1610,
1983,
2939,
628,
315,
397,
1084,
397,
7734,
315,
358,
315,
397,
2929,
31,
5411,
604,
394,
1860,
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,
377,
1071,
760,
918,
26955,
12,
727,
1387,
1084,
16,
727,
1387,
2929,
262,
3639,
1216,
1860,
565,
288,
3639,
368,
1893,
1084,
1704,
3639,
309,
12,
401,
3168,
18,
1808,
1435,
262,
3639,
288,
5411,
727,
514,
883,
273,
315,
812,
315,
397,
1084,
397,
315,
1552,
486,
1005,
14432,
5411,
604,
394,
1860,
12,
2150,
1769,
3639,
289,
3639,
368,
20657,
20456,
1867,
1005,
692,
3639,
309,
12,
2929,
18,
588,
3054,
812,
1435,
480,
446,
597,
5411,
401,
10590,
18,
588,
3054,
812,
7675,
1808,
1435,
262,
3639,
288,
5411,
2929,
18,
588,
3054,
812,
7675,
24816,
8291,
5621,
3639,
289,
3639,
368,
6540,
3071,
732,
848,
1045,
358,
2929,
3639,
309,
12,
2929,
18,
1808,
2
] |
public LengthViolationException(final StringAttribute stringAttribute, final Item item, final String value, final boolean isTooShort) | public LengthViolationException(final StringAttribute stringAttribute, final Item item, final String value, final boolean isTooShort, final int border) | public LengthViolationException(final StringAttribute stringAttribute, final Item item, final String value, final boolean isTooShort) { super(stringAttribute, item, null); this.stringAttribute = stringAttribute; this.value = value; this.isTooShort = isTooShort; } | 50290 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50290/c0f10f3ce191620c3bf188c7762aee538326905d/LengthViolationException.java/buggy/runtime/src/com/exedio/cope/LengthViolationException.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
11311,
27052,
12,
6385,
514,
1499,
533,
1499,
16,
727,
4342,
761,
16,
727,
514,
460,
16,
727,
1250,
353,
10703,
4897,
13,
202,
95,
202,
202,
9565,
12,
1080,
1499,
16,
761,
16,
446,
1769,
202,
202,
2211,
18,
1080,
1499,
273,
533,
1499,
31,
202,
202,
2211,
18,
1132,
273,
460,
31,
202,
202,
2211,
18,
291,
10703,
4897,
273,
353,
10703,
4897,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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30,
225,
202,
482,
11311,
27052,
12,
6385,
514,
1499,
533,
1499,
16,
727,
4342,
761,
16,
727,
514,
460,
16,
727,
1250,
353,
10703,
4897,
13,
202,
95,
202,
202,
9565,
12,
1080,
1499,
16,
761,
16,
446,
1769,
202,
202,
2211,
18,
1080,
1499,
273,
533,
1499,
31,
202,
202,
2211,
18,
1132,
273,
460,
31,
202,
202,
2211,
18,
291,
10703,
4897,
273,
353,
10703,
4897,
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
] |
m_timeControl = new TimeControl(); m_board = new Board(m_boardSize); m_board.setListener(this); | GoGui(String program, Preferences prefs, String file, int move, boolean gtpShell, String time, boolean verbose, boolean fillPasses, boolean computerNone, boolean autoplay, String gtpFile) throws Gtp.Error, AnalyzeCommand.Error { m_prefs = prefs; m_boardSize = prefs.getBoardSize(); m_file = file; m_fillPasses = fillPasses; m_gtpFile = gtpFile; m_move = move; m_computerNoneOption = computerNone; m_autoplay = autoplay; m_verbose = verbose; Container contentPane = getContentPane(); m_toolBar = new ToolBar(this, prefs, this); contentPane.add(m_toolBar, BorderLayout.NORTH); m_timeControl = new TimeControl(); m_board = new Board(m_boardSize); m_board.setListener(this); if (program != null && ! program.equals("")) { // Must be created after board (initAnalyzeCommand uses m_board) m_gtpShell = new GtpShell(null, "GoGui", this, prefs); Gtp gtp = new Gtp(program, verbose, m_gtpShell); m_gtpShell.setProgramCommand(gtp.getProgramCommand()); m_commandThread = new CommandThread(gtp, m_gtpShell); m_commandThread.start(); } JPanel boardPanel = new JPanel(); boardPanel.setLayout(new SquareLayout()); boardPanel.setBorder(BorderFactory.createLoweredBevelBorder()); boardPanel.add(m_board); contentPane.add(boardPanel, BorderLayout.CENTER); JPanel infoPanel = new JPanel(); infoPanel.setLayout(new BoxLayout(infoPanel, BoxLayout.Y_AXIS)); infoPanel.setBorder(utils.GuiUtils.createSmallEmptyBorder()); Dimension pad = new Dimension(0, utils.GuiUtils.PAD); m_gameInfo = new GameInfo(m_board, m_timeControl); infoPanel.add(m_gameInfo); infoPanel.add(Box.createRigidArea(pad)); infoPanel.add(createStatusBar()); contentPane.add(infoPanel, BorderLayout.SOUTH); addWindowListener(this); setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE); setIconImage(new GoIcon()); m_menuBars = new MenuBars(this); m_menuBars.selectBoardSizeItem(m_boardSize); setJMenuBar(m_menuBars.getNormalMenu()); if (program == null || program.equals("")) m_toolBar.disableComputerButtons(); pack(); setVisible(true); ++m_instanceCount; if (m_gtpShell != null) DialogUtils.center(m_gtpShell, this); if (gtpShell && m_gtpShell != null) { m_gtpShell.toTop(); } try { if (time != null) m_timeControl.setTime(time); } catch (TimeControl.Error e) { showWarning(e.getMessage()); } Runnable callback = new Runnable() { public void run() { initialize(); } }; SwingUtilities.invokeLater(callback); } | 48906 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48906/6c6873b13243136d4869c86bd8328c322c2fe36f/GoGui.java/buggy/src/gui/GoGui.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4220,
18070,
12,
780,
5402,
16,
28310,
15503,
16,
514,
585,
16,
509,
3635,
16,
1850,
1250,
314,
6834,
13220,
16,
514,
813,
16,
1250,
3988,
16,
1250,
3636,
6433,
281,
16,
1850,
1250,
26579,
7036,
16,
1250,
3656,
1601,
16,
514,
314,
6834,
812,
13,
3639,
1216,
611,
6834,
18,
668,
16,
1922,
9508,
2189,
18,
668,
565,
288,
3639,
312,
67,
1484,
2556,
273,
15503,
31,
3639,
312,
67,
3752,
1225,
273,
15503,
18,
588,
22233,
1225,
5621,
3639,
312,
67,
768,
273,
585,
31,
3639,
312,
67,
5935,
6433,
281,
273,
3636,
6433,
281,
31,
3639,
312,
67,
4521,
84,
812,
273,
314,
6834,
812,
31,
3639,
312,
67,
8501,
273,
3635,
31,
3639,
312,
67,
13406,
264,
7036,
1895,
273,
26579,
7036,
31,
3639,
312,
67,
6079,
1601,
273,
3656,
1601,
31,
3639,
312,
67,
11369,
273,
3988,
31,
3639,
4039,
913,
8485,
273,
5154,
8485,
5621,
7734,
312,
67,
6738,
5190,
273,
394,
13288,
5190,
12,
2211,
16,
15503,
16,
333,
1769,
3639,
913,
8485,
18,
1289,
12,
81,
67,
6738,
5190,
16,
30814,
18,
50,
28212,
1769,
3639,
312,
67,
957,
3367,
273,
394,
2647,
3367,
5621,
3639,
312,
67,
3752,
273,
394,
17980,
1060,
12,
81,
67,
3752,
1225,
1769,
3639,
312,
67,
3752,
18,
542,
2223,
12,
2211,
1769,
3639,
309,
261,
12890,
480,
446,
597,
401,
5402,
18,
14963,
2932,
6,
3719,
3639,
288,
5411,
368,
6753,
506,
2522,
1839,
11094,
261,
2738,
31984,
2189,
4692,
312,
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,
4220,
18070,
12,
780,
5402,
16,
28310,
15503,
16,
514,
585,
16,
509,
3635,
16,
1850,
1250,
314,
6834,
13220,
16,
514,
813,
16,
1250,
3988,
16,
1250,
3636,
6433,
281,
16,
1850,
1250,
26579,
7036,
16,
1250,
3656,
1601,
16,
514,
314,
6834,
812,
13,
3639,
1216,
611,
6834,
18,
668,
16,
1922,
9508,
2189,
18,
668,
565,
288,
3639,
312,
67,
1484,
2556,
273,
15503,
31,
3639,
312,
67,
3752,
1225,
273,
15503,
18,
588,
22233,
1225,
5621,
3639,
312,
67,
768,
273,
585,
31,
3639,
312,
67,
5935,
6433,
281,
273,
3636,
6433,
281,
31,
3639,
312,
67,
4521,
84,
812,
273,
314,
6834,
812,
31,
3639,
312,
67,
8501,
273,
3635,
31,
3639,
312,
2
] |
|
reportGenericSchemaError("ComplexType " + typeName + ": " + | reportGenericSchemaError("ComplexType " + typeName + ": " + | private void mergeAttributes(XSAttributeGroupDecl fromAttrGrp, XSAttributeGroupDecl toAttrGrp, String typeName, boolean extension) throws ComplexTypeRecoverableError { XSAttributeUse[] attrUseS = fromAttrGrp.getAttributeUses(); XSAttributeUse existingAttrUse, duplicateAttrUse = null; for (int i=0; i<attrUseS.length; i++) { existingAttrUse = toAttrGrp.getAttributeUse(attrUseS[i].fAttrDecl.fTargetNamespace, attrUseS[i].fAttrDecl.fName); if (existingAttrUse == null) { toAttrGrp.addAttributeUse(attrUseS[i]); } else { if (extension) { //REVISIT - should create a msg in properties file reportGenericSchemaError("ComplexType " + typeName + ": " + "Duplicate attribute use " + existingAttrUse.fAttrDecl.fName ); throw new ComplexTypeRecoverableError(); } } } // For extension, the wildcard must be formed by doing a union of the wildcards if (extension) { if (toAttrGrp.fAttributeWC==null) { toAttrGrp.fAttributeWC = fromAttrGrp.fAttributeWC; } else { toAttrGrp.fAttributeWC.performUnionWith(fromAttrGrp.fAttributeWC); } } } | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/7d23b0f822620b832b611e0946e73bb880886a98/XSDComplexTypeTraverser.java/buggy/src/org/apache/xerces/impl/v2/XSDComplexTypeTraverser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2691,
2498,
12,
60,
55,
1499,
1114,
3456,
628,
3843,
43,
13832,
16,
21394,
1139,
55,
1499,
1114,
3456,
358,
3843,
43,
13832,
16,
4766,
514,
8173,
16,
4766,
1250,
2710,
13,
4766,
282,
1216,
16060,
559,
426,
17399,
668,
288,
4202,
1139,
55,
1499,
3727,
8526,
1604,
3727,
55,
273,
628,
3843,
43,
13832,
18,
588,
1499,
15128,
5621,
4202,
1139,
55,
1499,
3727,
2062,
3843,
3727,
16,
6751,
3843,
3727,
273,
225,
446,
31,
4202,
364,
261,
474,
277,
33,
20,
31,
277,
32,
1747,
3727,
55,
18,
2469,
31,
277,
27245,
288,
3639,
202,
2062,
3843,
3727,
273,
358,
3843,
43,
13832,
18,
588,
1499,
3727,
12,
1747,
3727,
55,
63,
77,
8009,
74,
3843,
3456,
18,
74,
2326,
3402,
16,
5411,
202,
4766,
282,
1604,
3727,
55,
63,
77,
8009,
74,
3843,
3456,
18,
74,
461,
1769,
540,
309,
261,
11711,
3843,
3727,
422,
446,
13,
288,
377,
202,
282,
358,
3843,
43,
13832,
18,
1289,
1499,
3727,
12,
1747,
3727,
55,
63,
77,
19226,
202,
289,
540,
469,
288,
6647,
309,
261,
6447,
13,
288,
2868,
368,
862,
26780,
1285,
300,
1410,
752,
279,
1234,
316,
1790,
585,
9079,
2605,
7014,
3078,
668,
2932,
12795,
559,
315,
397,
8173,
397,
6398,
315,
397,
1171,
315,
11826,
1566,
999,
315,
397,
2062,
3843,
3727,
18,
74,
3843,
3456,
18,
74,
461,
11272,
2868,
604,
394,
16060,
559,
426,
17399,
668,
5621,
2868,
289,
540,
289,
4202,
289,
4202,
368,
2457,
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,
2691,
2498,
12,
60,
55,
1499,
1114,
3456,
628,
3843,
43,
13832,
16,
21394,
1139,
55,
1499,
1114,
3456,
358,
3843,
43,
13832,
16,
4766,
514,
8173,
16,
4766,
1250,
2710,
13,
4766,
282,
1216,
16060,
559,
426,
17399,
668,
288,
4202,
1139,
55,
1499,
3727,
8526,
1604,
3727,
55,
273,
628,
3843,
43,
13832,
18,
588,
1499,
15128,
5621,
4202,
1139,
55,
1499,
3727,
2062,
3843,
3727,
16,
6751,
3843,
3727,
273,
225,
446,
31,
4202,
364,
261,
474,
277,
33,
20,
31,
277,
32,
1747,
3727,
55,
18,
2469,
31,
277,
27245,
288,
3639,
202,
2062,
3843,
3727,
273,
358,
3843,
43,
13832,
18,
588,
1499,
3727,
12,
1747,
3727,
55,
63,
77,
8009,
2
] |
if ( resource != null && resource.getProject( ) != null | if ( resource != null && resource.getProject( ) != null | public static IProject getDefaultProject( ) { IWorkbenchWindow benchWindow = PlatformUI.getWorkbench( ) .getActiveWorkbenchWindow( ); IWorkbenchPart part = benchWindow.getPartService( ).getActivePart( ); Object selection = null; if ( part instanceof IEditorPart ) { selection = ( (IEditorPart) part ).getEditorInput( ); } else { ISelection sel = benchWindow.getSelectionService( ).getSelection( ); if ( ( sel != null ) && ( sel instanceof IStructuredSelection ) ) { selection = ( (IStructuredSelection) sel ).getFirstElement( ); } } if ( selection instanceof IAdaptable ) { IResource resource = (IResource) ( (IAdaptable) selection ) .getAdapter( IResource.class ); if ( resource != null && resource.getProject( ) != null && resource.getProject( ).isAccessible( ) ) { return resource.getProject( ); } } IProject[] pjs = ResourcesPlugin.getWorkspace( ).getRoot( ) .getProjects( ); for ( int i = 0; i < pjs.length; i++ ) { if ( pjs[i].isAccessible( ) ) { return pjs[i]; } } return null; } | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/c01c8a33ec213bfa042060f4786e95042c1d530d/UIUtil.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/util/UIUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
467,
4109,
4829,
4109,
12,
262,
202,
95,
202,
202,
45,
2421,
22144,
3829,
22499,
3829,
273,
11810,
5370,
18,
588,
2421,
22144,
12,
262,
9506,
202,
18,
588,
3896,
2421,
22144,
3829,
12,
11272,
202,
202,
45,
2421,
22144,
1988,
1087,
273,
22499,
3829,
18,
588,
1988,
1179,
12,
262,
18,
588,
3896,
1988,
12,
11272,
202,
202,
921,
4421,
273,
446,
31,
202,
202,
430,
261,
1087,
1276,
467,
6946,
1988,
262,
202,
202,
95,
1082,
202,
10705,
273,
261,
261,
45,
6946,
1988,
13,
1087,
262,
18,
588,
6946,
1210,
12,
11272,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
45,
6233,
357,
273,
22499,
3829,
18,
588,
6233,
1179,
12,
262,
18,
588,
6233,
12,
11272,
1082,
202,
430,
261,
261,
357,
480,
446,
262,
597,
261,
357,
1276,
467,
30733,
6233,
262,
262,
1082,
202,
95,
9506,
202,
10705,
273,
261,
261,
45,
30733,
6233,
13,
357,
262,
18,
588,
3759,
1046,
12,
11272,
1082,
202,
97,
202,
202,
97,
202,
202,
430,
261,
4421,
1276,
467,
13716,
429,
262,
202,
202,
95,
1082,
202,
45,
1420,
1058,
273,
261,
45,
1420,
13,
261,
261,
45,
13716,
429,
13,
4421,
262,
6862,
202,
18,
588,
4216,
12,
467,
1420,
18,
1106,
11272,
1082,
202,
430,
261,
1058,
480,
446,
597,
1058,
18,
588,
4109,
12,
262,
480,
446,
6862,
202,
10,
10,
1058,
18,
588,
4109,
12,
262,
18,
291,
10451,
12,
262,
262,
1082,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
467,
4109,
4829,
4109,
12,
262,
202,
95,
202,
202,
45,
2421,
22144,
3829,
22499,
3829,
273,
11810,
5370,
18,
588,
2421,
22144,
12,
262,
9506,
202,
18,
588,
3896,
2421,
22144,
3829,
12,
11272,
202,
202,
45,
2421,
22144,
1988,
1087,
273,
22499,
3829,
18,
588,
1988,
1179,
12,
262,
18,
588,
3896,
1988,
12,
11272,
202,
202,
921,
4421,
273,
446,
31,
202,
202,
430,
261,
1087,
1276,
467,
6946,
1988,
262,
202,
202,
95,
1082,
202,
10705,
273,
261,
261,
45,
6946,
1988,
13,
1087,
262,
18,
588,
6946,
1210,
12,
11272,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
45,
6233,
357,
273,
22499,
3829,
18,
588,
6233,
2
] |
public SoarIdentifierVertex getTopstate() { return (SoarIdentifierVertex)getProperty("TOPSTATE"); } | public SoarIdentifierVertex getTopstate() { return (SoarIdentifierVertex)getProperty("TOPSTATE"); } | public SoarIdentifierVertex getTopstate() { return (SoarIdentifierVertex)getProperty("TOPSTATE"); } | 47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/d9311230f82f4404a6caf7a2cb902c26b0b86646/SoarWorkingMemoryModel.java/clean/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/datamap/SoarWorkingMemoryModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6155,
297,
3004,
6475,
13729,
2019,
1435,
288,
202,
202,
2463,
261,
10225,
297,
3004,
6475,
13,
588,
1396,
2932,
10462,
7998,
8863,
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,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,
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
] |
case TypePackage.STOCK_SERIES__LABEL : setLabel( (Label) null ); | case TypePackage.STOCK_SERIES__LABEL: setLabel((Label)null); | public void eUnset( EStructuralFeature eFeature ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case TypePackage.STOCK_SERIES__VISIBLE : unsetVisible( ); return; case TypePackage.STOCK_SERIES__LABEL : setLabel( (Label) null ); return; case TypePackage.STOCK_SERIES__DATA_DEFINITION : getDataDefinition( ).clear( ); return; case TypePackage.STOCK_SERIES__SERIES_IDENTIFIER : setSeriesIdentifier( SERIES_IDENTIFIER_EDEFAULT ); return; case TypePackage.STOCK_SERIES__DATA_POINT : setDataPoint( (DataPoint) null ); return; case TypePackage.STOCK_SERIES__DATA_SET : setDataSet( (DataSet) null ); return; case TypePackage.STOCK_SERIES__LABEL_POSITION : unsetLabelPosition( ); return; case TypePackage.STOCK_SERIES__STACKED : unsetStacked( ); return; case TypePackage.STOCK_SERIES__TRIGGERS : getTriggers( ).clear( ); return; case TypePackage.STOCK_SERIES__TRANSLUCENT : unsetTranslucent( ); return; case TypePackage.STOCK_SERIES__FILL : setFill( (Fill) null ); return; case TypePackage.STOCK_SERIES__LINE_ATTRIBUTES : setLineAttributes( (LineAttributes) null ); return; } eDynamicUnset( eFeature ); } | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/bdab78403751f288b76844a99f50b999c34fb491/StockSeriesImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/impl/StockSeriesImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
19698,
12,
512,
14372,
4595,
425,
4595,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
1412,
2261,
18,
31487,
3507,
67,
2123,
8805,
972,
29588,
294,
9506,
202,
18579,
6207,
12,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
1412,
2261,
18,
31487,
3507,
67,
2123,
8805,
972,
13545,
294,
9506,
202,
542,
2224,
12,
261,
2224,
13,
446,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
1412,
2261,
18,
31487,
3507,
67,
2123,
8805,
972,
4883,
67,
25312,
294,
9506,
202,
588,
751,
1852,
12,
262,
18,
8507,
12,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
1412,
2261,
18,
31487,
3507,
67,
2123,
8805,
972,
2123,
8805,
67,
16606,
294,
9506,
202,
542,
6485,
3004,
12,
7758,
8805,
67,
16606,
67,
11236,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
1412,
2261,
18,
31487,
3507,
67,
2123,
8805,
972,
4883,
67,
8941,
294,
9506,
202,
542,
751,
2148,
12,
261,
751,
2148,
13,
446,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
1412,
2261,
18,
31487,
3507,
67,
2123,
8805,
972,
4883,
67,
4043,
294,
9506,
202,
542,
13676,
12,
261,
13676,
13,
446,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
1412,
2261,
18,
31487,
3507,
67,
2123,
8805,
972,
13545,
67,
15258,
294,
9506,
202,
18579,
2224,
2555,
12,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
1412,
2261,
18,
31487,
3507,
67,
2123,
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,
19698,
12,
512,
14372,
4595,
425,
4595,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
1412,
2261,
18,
31487,
3507,
67,
2123,
8805,
972,
29588,
294,
9506,
202,
18579,
6207,
12,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
1412,
2261,
18,
31487,
3507,
67,
2123,
8805,
972,
13545,
294,
9506,
202,
542,
2224,
12,
261,
2224,
13,
446,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
1412,
2261,
18,
31487,
3507,
67,
2123,
8805,
972,
4883,
67,
25312,
294,
9506,
202,
588,
751,
1852,
12,
262,
18,
8507,
12,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
1412,
2261,
2
] |
public String toString() { return String.valueOf(xs); } | public String toString() { return String.valueOf(value); } | public String toString() { return String.valueOf(xs); } | 49529 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49529/b5127bbfea6df39af5db3dc45bb9f7e698acb3f1/RunTime.java/clean/sources/scala/runtime/RunTime.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
1435,
288,
327,
514,
18,
1132,
951,
12,
13713,
1769,
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,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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,
-100,
-100,
-100
] |
protected CommandResult executeAsCompositeCommand(String actionName, List commands) { if (true == bIsCommandInProgress) return null; bIsCommandInProgress = true; CompositeCommand command = new CompositeCommand(actionName, commands); IOperationHistory history = OperationHistoryFactory.getOperationHistory(); try { IStatus status = history.execute(command, new NullProgressMonitor(), null); if (status.getCode() == DiagramPropertiesStatusCodes.CANCELLED) { refresh(); } } catch (ExecutionException e) { Trace.catching(DiagramPropertiesPlugin.getDefault(), DiagramPropertiesDebugOptions.EXCEPTIONS_CATCHING, getClass(), "executeAsCompositeCommand", e); //$NON-NLS-1$ Log.error(DiagramPropertiesPlugin.getDefault(), DiagramPropertiesStatusCodes.IGNORED_EXCEPTION_WARNING, e .getLocalizedMessage(), e); } bIsCommandInProgress = false; return command.getCommandResult(); } | 1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/b4c938d5d97221f8736d44de85b5ab8ff289c7cc/AbstractModelerPropertySection.java/clean/org.eclipse.gmf.runtime/plugins/org.eclipse.gmf.runtime.diagram.ui.properties/src/org/eclipse/gmf/runtime/diagram/ui/properties/sections/AbstractModelerPropertySection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
3498,
1253,
1836,
1463,
9400,
2189,
12,
780,
15451,
16,
1082,
202,
682,
4364,
13,
288,
9506,
202,
430,
261,
3767,
422,
24236,
2189,
13434,
13,
1082,
202,
2463,
446,
31,
202,
202,
70,
2520,
2189,
13434,
273,
638,
31,
7734,
14728,
2189,
1296,
273,
394,
14728,
2189,
12,
1128,
461,
16,
4364,
1769,
3639,
1665,
1193,
5623,
4927,
273,
4189,
5623,
1733,
18,
588,
2988,
5623,
5621,
9079,
775,
288,
5411,
467,
1482,
1267,
273,
4927,
18,
8837,
12,
3076,
16,
7734,
394,
4112,
5491,
7187,
9334,
446,
1769,
5411,
309,
261,
2327,
18,
588,
1085,
1435,
422,
14539,
1940,
2297,
1482,
6295,
18,
25268,
6687,
13,
288,
7734,
4460,
5621,
5411,
289,
3639,
289,
1044,
261,
14576,
425,
13,
288,
5411,
2677,
18,
14683,
310,
12,
14058,
1940,
2297,
3773,
18,
588,
1868,
9334,
7734,
14539,
1940,
2297,
2829,
1320,
18,
12658,
55,
67,
39,
5858,
1360,
16,
2900,
9334,
7734,
315,
8837,
1463,
9400,
2189,
3113,
425,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
5411,
1827,
18,
1636,
12,
14058,
1940,
2297,
3773,
18,
588,
1868,
9334,
7734,
14539,
1940,
2297,
1482,
6295,
18,
3047,
3417,
5879,
67,
12658,
67,
9511,
16,
425,
10792,
263,
588,
2042,
1235,
1079,
9334,
425,
1769,
3639,
289,
202,
202,
70,
2520,
2189,
13434,
273,
629,
31,
202,
202,
2463,
1296,
18,
588,
2189,
1253,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
3498,
1253,
1836,
1463,
9400,
2189,
12,
780,
15451,
16,
1082,
202,
682,
4364,
13,
288,
9506,
202,
430,
261,
3767,
422,
24236,
2189,
13434,
13,
1082,
202,
2463,
446,
31,
202,
202,
70,
2520,
2189,
13434,
273,
638,
31,
7734,
14728,
2189,
1296,
273,
394,
14728,
2189,
12,
1128,
461,
16,
4364,
1769,
3639,
1665,
1193,
5623,
4927,
273,
4189,
5623,
1733,
18,
588,
2988,
5623,
5621,
9079,
775,
288,
5411,
467,
1482,
1267,
273,
4927,
18,
8837,
12,
3076,
16,
7734,
394,
4112,
5491,
7187,
9334,
446,
1769,
5411,
309,
261,
2327,
18,
588,
1085,
1435,
422,
14539,
1940,
2297,
1482,
6295,
18,
25268,
6687,
13,
288,
7734,
4460,
5621,
5411,
289,
3639,
289,
2
] |
||
Map state = new HashMap(10); if (currentPage != null) { state.put("oldPage", ControlEnableState.disable(oldPage.getControl())); } | ControlEnableState state = ControlEnableState.disable(oldPage.getControl()); | private void updateForPage(IWizardPage page) { // ensure this page belongs to the current wizard if (wizard != page.getWizard()) { setWizard(page.getWizard()); } // ensure that page control has been created // (this allows lazy page control creation) if (page.getControl() == null) { page.createControl(pageContainer); // the page is responsible for ensuring the created control is accessable // via getControl. Assert.isNotNull(page.getControl()); // ensure the dialog is large enough for this page updateSize(page); } IWizardPage oldPage = currentPage; currentPage = page; // Disable state of oldPage in case setVisible code has a runnable // which causes a delay in showing the currentPage Map state = new HashMap(10); if (currentPage != null) { state.put("oldPage", ControlEnableState.disable(oldPage.getControl())); //$NON-NLS-1$ } // make the new page visible currentPage.setVisible(true); if (oldPage != null) { oldPage.setVisible(false); } // Now that it is not visible, restore the original state of oldPage Object pageValue = state.get("oldPage"); //$NON-NLS-1$ if (pageValue != null) { ((ControlEnableState) pageValue).restore(); } // update the dialog controls update(); } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/dd3ae4ebb3c49d826d9780a47973b564e285374b/WizardDialog.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/wizard/WizardDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1089,
1290,
1964,
12,
45,
27130,
1964,
1363,
13,
288,
3639,
368,
3387,
333,
1363,
11081,
358,
326,
783,
24204,
3639,
309,
261,
31837,
480,
1363,
18,
588,
27130,
10756,
288,
1082,
202,
542,
27130,
12,
2433,
18,
588,
27130,
10663,
202,
202,
97,
3639,
368,
3387,
716,
1363,
3325,
711,
2118,
2522,
3639,
368,
261,
2211,
5360,
7962,
1363,
3325,
6710,
13,
3639,
309,
261,
2433,
18,
588,
3367,
1435,
422,
446,
13,
288,
5411,
1363,
18,
2640,
3367,
12,
2433,
2170,
1769,
5411,
368,
326,
1363,
353,
14549,
364,
24831,
326,
2522,
3325,
353,
2006,
429,
5411,
368,
3970,
27174,
18,
5411,
5452,
18,
291,
5962,
12,
2433,
18,
588,
3367,
10663,
5411,
368,
3387,
326,
6176,
353,
7876,
7304,
364,
333,
1363,
5411,
1089,
1225,
12,
2433,
1769,
3639,
289,
7734,
467,
27130,
1964,
1592,
1964,
273,
15117,
31,
3639,
15117,
273,
1363,
31,
3639,
368,
10639,
919,
434,
1592,
1964,
316,
648,
16697,
981,
711,
279,
14685,
3639,
368,
1492,
14119,
279,
4624,
316,
17253,
326,
15117,
3639,
1635,
919,
273,
394,
4317,
12,
2163,
1769,
3639,
309,
261,
2972,
1964,
480,
446,
13,
288,
1082,
202,
2019,
18,
458,
2932,
1673,
1964,
3113,
8888,
8317,
1119,
18,
8394,
12,
1673,
1964,
18,
588,
3367,
1435,
10019,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
97,
3639,
368,
1221,
326,
394,
1363,
6021,
3639,
15117,
18,
542,
6207,
12,
3767,
1769,
3639,
309,
261,
1673,
1964,
480,
446,
13,
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,
1089,
1290,
1964,
12,
45,
27130,
1964,
1363,
13,
288,
3639,
368,
3387,
333,
1363,
11081,
358,
326,
783,
24204,
3639,
309,
261,
31837,
480,
1363,
18,
588,
27130,
10756,
288,
1082,
202,
542,
27130,
12,
2433,
18,
588,
27130,
10663,
202,
202,
97,
3639,
368,
3387,
716,
1363,
3325,
711,
2118,
2522,
3639,
368,
261,
2211,
5360,
7962,
1363,
3325,
6710,
13,
3639,
309,
261,
2433,
18,
588,
3367,
1435,
422,
446,
13,
288,
5411,
1363,
18,
2640,
3367,
12,
2433,
2170,
1769,
5411,
368,
326,
1363,
353,
14549,
364,
24831,
326,
2522,
3325,
353,
2006,
429,
5411,
368,
3970,
27174,
18,
5411,
5452,
18,
291,
5962,
12,
2433,
18,
588,
3367,
10663,
5411,
368,
2
] |
1, 1, 0, 0, 0 | 1, 1, 0, 0, 0,0 | public void testRefreshBorderData( ) { // Source: solid, 1px, black, x=0, y=0. data = new int[]{ 1, 1, 0, 0, 0 }; // New: none, 0px, black, x=0, y=0; TableBorderCollisionArbiter.refreshBorderData( data, 0, 0, 0, 0, 0 ); assertEquals( data[0], 1 ); assertEquals( data[1], 1 ); assertEquals( data[2], 0 ); assertEquals( data[3], 0 ); assertEquals( data[4], 0 ); // Source: solid, 1px, black, x=0, y=0. data = new int[]{ 1, 1, 0, 0, 0 }; // New: none, 3px, black, x=0, y=0; TableBorderCollisionArbiter.refreshBorderData( data, 0, 3, 0, 0, 0 ); assertEquals( data[0], 1 ); assertEquals( data[1], 1 ); assertEquals( data[2], 0 ); assertEquals( data[3], 0 ); assertEquals( data[4], 0 ); // Source: solid, 1px, black, x=0, y=0. data = new int[]{ 1, 1, 0, 0, 0 }; // New: solid, 1px, blue, x=1, y=1; TableBorderCollisionArbiter.refreshBorderData( data, 1, 1, 255, 1, 1 ); assertEquals( data[0], 1 ); assertEquals( data[1], 1 ); assertEquals( data[2], 0 ); assertEquals( data[3], 0 ); assertEquals( data[4], 0 ); // Source: solid, 1px, black, x=0, y=0. data = new int[]{ 1, 1, 0, 0, 0 }; // New: solid, 3px, blue, x=1, y=1; TableBorderCollisionArbiter.refreshBorderData( data, 1, 3, 255, 1, 1 ); assertEquals( data[0], 1 ); assertEquals( data[1], 3 ); assertEquals( data[2], 255 ); assertEquals( data[3], 1 ); assertEquals( data[4], 1 ); // Source: solid, 1px, black, x=0, y=0. data = new int[]{ 1, 1, 0, 0, 0 }; // New: double, 1px, blue, x=1, y=1; TableBorderCollisionArbiter.refreshBorderData( data, -2, 1, 255, 1, 1 ); assertEquals( data[0], -2 ); assertEquals( data[1], 1 ); assertEquals( data[2], 255 ); assertEquals( data[3], 1 ); assertEquals( data[4], 1 ); // Source: solid, 1px, black, x=0, y=0. data = new int[]{ 1, 1, 0, 0, 0 }; // New: double, 4px, blue, x=1, y=1; TableBorderCollisionArbiter.refreshBorderData( data, -2, 4, 255, 1, 1 ); assertEquals( data[0], -2 ); assertEquals( data[1], 4 ); assertEquals( data[2], 255 ); assertEquals( data[3], 1 ); assertEquals( data[4], 1 ); // Source: solid, 1px, black, x=0, y=0. data = new int[]{ 1, 1, 0, 0, 0 }; // New: dashed, 1px, blue, x=1, y=1; TableBorderCollisionArbiter.refreshBorderData( data, 2, 1, 255, 1, 1 ); assertEquals( data[0], 1 ); assertEquals( data[1], 1 ); assertEquals( data[2], 0 ); assertEquals( data[3], 0 ); assertEquals( data[4], 0 ); // Source: solid, 1px, black, x=0, y=0. data = new int[]{ 1, 1, 0, 0, 0 }; // New: dashed, 2px, blue, x=1, y=1; TableBorderCollisionArbiter.refreshBorderData( data, 2, 2, 255, 1, 1 ); assertEquals( data[0], 2 ); assertEquals( data[1], 2 ); assertEquals( data[2], 255 ); assertEquals( data[3], 1 ); assertEquals( data[4], 1 ); // Source: solid, 1px, black, x=0, y=0. data = new int[]{ 1, 1, 0, 0, 0 }; // New: dotted, 1px, blue, x=1, y=1; TableBorderCollisionArbiter.refreshBorderData( data, 3, 1, 255, 1, 1 ); assertEquals( data[0], 1 ); assertEquals( data[1], 1 ); assertEquals( data[2], 0 ); assertEquals( data[3], 0 ); assertEquals( data[4], 0 ); // Source: solid, 1px, black, x=0, y=0. data = new int[]{ 1, 1, 0, 0, 0 }; // New: dotted, 2px, blue, x=1, y=1; TableBorderCollisionArbiter.refreshBorderData( data, 3, 2, 255, 1, 1 ); assertEquals( data[0], 3 ); assertEquals( data[1], 2 ); assertEquals( data[2], 255 ); assertEquals( data[3], 1 ); assertEquals( data[4], 1 ); // Source: none, 0px, black, x=0, y=0. data = new int[]{ 0, 0, 0, 0, 0 }; // New: dotted, 2px, blue, x=1, y=1; TableBorderCollisionArbiter.refreshBorderData( data, 3, 2, 255, 1, 1 ); assertEquals( data[0], 3 ); assertEquals( data[1], 2 ); assertEquals( data[2], 255 ); assertEquals( data[3], 1 ); assertEquals( data[4], 1 ); // Source: none, 6px, black, x=0, y=0. data = new int[]{ 0, 6, 0, 0, 0 }; // New: dotted, 2px, blue, x=1, y=1; TableBorderCollisionArbiter.refreshBorderData( data, 3, 2, 255, 1, 1 ); assertEquals( data[0], 3 ); assertEquals( data[1], 2 ); assertEquals( data[2], 255 ); assertEquals( data[3], 1 ); assertEquals( data[4], 1 ); // Source: none, 0px, black, x=0, y=0. data = new int[]{ 0, 0, 0, 0, 0 }; // New: none, 2px, blue, x=1, y=1; TableBorderCollisionArbiter.refreshBorderData( data, 0, 2, 255, 1, 1 ); assertEquals( data[0], 0 ); assertEquals( data[1], 1 ); assertEquals( data[2], 0 ); assertEquals( data[3], 0 ); assertEquals( data[4], 0 ); // Source: none, 0px, black, x=0, y=0. data = new int[]{ 0, 0, 0, 0, 0 }; // New: none, 0px, blue, x=1, y=1; TableBorderCollisionArbiter.refreshBorderData( data, 0, 0, 255, 1, 1 ); assertEquals( data[0], 0 ); assertEquals( data[1], 1 ); assertEquals( data[2], 0 ); assertEquals( data[3], 0 ); assertEquals( data[4], 0 ); } | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/1fbc3dcf792d91a6e413f6c639e61d893fac6983/TableBorderCollisionArbiterTest.java/buggy/UI/org.eclipse.birt.report.designer.tests/test/org/eclipse/birt/report/designer/util/TableBorderCollisionArbiterTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
8323,
8107,
751,
12,
262,
202,
95,
202,
202,
759,
4998,
30,
18035,
16,
404,
4430,
16,
7721,
16,
619,
33,
20,
16,
677,
33,
20,
18,
202,
202,
892,
273,
394,
509,
63,
7073,
9506,
202,
21,
16,
404,
16,
374,
16,
374,
16,
374,
202,
202,
20451,
202,
202,
759,
1166,
30,
6555,
16,
374,
4430,
16,
7721,
16,
619,
33,
20,
16,
677,
33,
20,
31,
202,
202,
1388,
8107,
13535,
1951,
686,
70,
2165,
18,
9144,
8107,
751,
12,
501,
16,
374,
16,
374,
16,
374,
16,
374,
16,
374,
11272,
202,
202,
11231,
8867,
12,
501,
63,
20,
6487,
404,
11272,
202,
202,
11231,
8867,
12,
501,
63,
21,
6487,
404,
11272,
202,
202,
11231,
8867,
12,
501,
63,
22,
6487,
374,
11272,
202,
202,
11231,
8867,
12,
501,
63,
23,
6487,
374,
11272,
202,
202,
11231,
8867,
12,
501,
63,
24,
6487,
374,
11272,
202,
202,
759,
4998,
30,
18035,
16,
404,
4430,
16,
7721,
16,
619,
33,
20,
16,
677,
33,
20,
18,
202,
202,
892,
273,
394,
509,
63,
7073,
9506,
202,
21,
16,
404,
16,
374,
16,
374,
16,
374,
202,
202,
20451,
202,
202,
759,
1166,
30,
6555,
16,
890,
4430,
16,
7721,
16,
619,
33,
20,
16,
677,
33,
20,
31,
202,
202,
1388,
8107,
13535,
1951,
686,
70,
2165,
18,
9144,
8107,
751,
12,
501,
16,
374,
16,
890,
16,
374,
16,
374,
16,
374,
11272,
202,
202,
11231,
8867,
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,
8323,
8107,
751,
12,
262,
202,
95,
202,
202,
759,
4998,
30,
18035,
16,
404,
4430,
16,
7721,
16,
619,
33,
20,
16,
677,
33,
20,
18,
202,
202,
892,
273,
394,
509,
63,
7073,
9506,
202,
21,
16,
404,
16,
374,
16,
374,
16,
374,
202,
202,
20451,
202,
202,
759,
1166,
30,
6555,
16,
374,
4430,
16,
7721,
16,
619,
33,
20,
16,
677,
33,
20,
31,
202,
202,
1388,
8107,
13535,
1951,
686,
70,
2165,
18,
9144,
8107,
751,
12,
501,
16,
374,
16,
374,
16,
374,
16,
374,
16,
374,
11272,
202,
202,
11231,
8867,
12,
501,
63,
20,
6487,
404,
11272,
202,
202,
11231,
8867,
12,
501,
63,
21,
2
] |
if (reg == null) reg = PlatformUI.getWorkbench().getPerspectiveRegistry(); | reg = window.getWorkbench().getPerspectiveRegistry(); | public PerspectiveMenu(IWorkbenchWindow window, String id) { super(id); this.window = window; if (reg == null) reg = PlatformUI.getWorkbench().getPerspectiveRegistry(); } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/0b575d3fd8a606ede9fefedd40c7d4e72d4f2a84/PerspectiveMenu.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/actions/PerspectiveMenu.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
453,
414,
16772,
4599,
12,
45,
2421,
22144,
3829,
2742,
16,
514,
612,
13,
288,
3639,
2240,
12,
350,
1769,
3639,
333,
18,
5668,
273,
2742,
31,
3639,
309,
261,
1574,
422,
446,
13,
5411,
960,
273,
11810,
5370,
18,
588,
2421,
22144,
7675,
588,
14781,
16772,
4243,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
453,
414,
16772,
4599,
12,
45,
2421,
22144,
3829,
2742,
16,
514,
612,
13,
288,
3639,
2240,
12,
350,
1769,
3639,
333,
18,
5668,
273,
2742,
31,
3639,
309,
261,
1574,
422,
446,
13,
5411,
960,
273,
11810,
5370,
18,
588,
2421,
22144,
7675,
588,
14781,
16772,
4243,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Iterator itr = xme.getErrors().iterator(); XmlError eacherr = (XmlError) itr.next(); System.out.println("Err:" + eacherr.getMessage() + "," + eacherr.getErrorCode()); assertNotNull(eacherr.getErrorCode()); assertEquals(XmlErrorCodes.COMPLEX_TYPE_EXTENSION$FINAL, eacherr.getErrorCode()); | assertEquals(2, errors.size()); | public void testFinalRestrExt() { String inputXsd = " <xsd:schema xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\n" + " <xsd:complexType name=\"BaseProductTypeFinalAll\" final=\"restriction extension\">\n" + " <xsd:sequence>\n" + " <xsd:element name=\"number\" type=\"xsd:integer\" />\n" + " <xsd:element name=\"name\" type=\"xsd:string\" minOccurs=\"0\" />\n" + " </xsd:sequence>\n" + " </xsd:complexType>\n" + "\n" + " <xsd:complexType name=\"ProductTypeExtension\">\n" + " <xsd:complexContent>\n" + " <xsd:extension base=\"BaseProductTypeFinalAll\">\n" + " <xsd:sequence>\n" + " <xsd:element name=\"subcategory\" type=\"xsd:string\"/>\n" + " </xsd:sequence>\n" + " </xsd:extension>\n" + " </xsd:complexContent>\n" + " </xsd:complexType> \n" + "\n" + " <xsd:complexType name=\"ProductTypeRestriction\">\n" + " <xsd:complexContent>\n" + " <xsd:restriction base=\"BaseProductTypeFinalAll\">\n" + " <xsd:sequence>\n" + " <xsd:element name=\"number\" type=\"xsd:integer\"/>\n" + " </xsd:sequence>\n" + " </xsd:restriction>\n" + " </xsd:complexContent>\n" + " </xsd:complexType> \n" + "\n" + " </xsd:schema>"; try { XmlObject xobj = XmlObject.Factory.parse(inputXsd); XmlObject[] compInput = new XmlObject[]{xobj}; XmlBeans.compileXmlBeans(null, null, compInput, null, XmlBeans.getBuiltinTypeSystem(), null, null); } catch (XmlException xme) { assertEquals(2, xme.getErrors().size()); Iterator itr = xme.getErrors().iterator(); XmlError eacherr = (XmlError) itr.next(); System.out.println("Err:" + eacherr.getMessage() + "," + eacherr.getErrorCode()); assertNotNull(eacherr.getErrorCode()); assertEquals(XmlErrorCodes.COMPLEX_TYPE_EXTENSION$FINAL, eacherr.getErrorCode()); eacherr = (XmlError) itr.next(); System.out.println("Err:" + eacherr.getMessage()); assertNotNull(eacherr.getErrorCode()); assertEquals(XmlErrorCodes.COMPLEX_TYPE_RESTRICTION$FINAL, eacherr.getErrorCode()); } } | 3520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3520/a6ca321dfee389e004f4284f4c6d23840b50d277/ComplexContentExtensionTest.java/buggy/test/src/scomp/derivation/extension/detailed/ComplexContentExtensionTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
7951,
607,
313,
2482,
1435,
288,
3639,
514,
810,
60,
6427,
273,
315,
565,
411,
19144,
30,
4821,
12302,
30,
19144,
5189,
2505,
2207,
5591,
18,
91,
23,
18,
3341,
19,
6976,
21,
19,
4201,
3078,
28219,
82,
6,
397,
7734,
315,
565,
411,
19144,
30,
14259,
559,
508,
5189,
2171,
4133,
559,
7951,
1595,
2412,
727,
5189,
23954,
2710,
28219,
82,
6,
397,
7734,
315,
3639,
411,
19144,
30,
6178,
5333,
82,
6,
397,
7734,
315,
5411,
411,
19144,
30,
2956,
508,
5189,
2696,
2412,
618,
5189,
19144,
30,
7745,
2412,
342,
5333,
82,
6,
397,
7734,
315,
5411,
411,
19144,
30,
2956,
508,
5189,
529,
2412,
618,
5189,
19144,
30,
1080,
2412,
1131,
31084,
5189,
20,
2412,
342,
5333,
82,
6,
397,
7734,
315,
3639,
7765,
19144,
30,
6178,
5333,
82,
6,
397,
7734,
315,
565,
7765,
19144,
30,
14259,
559,
5333,
82,
6,
397,
7734,
1548,
82,
6,
397,
7734,
315,
565,
411,
19144,
30,
14259,
559,
508,
5189,
4133,
559,
3625,
28219,
82,
6,
397,
7734,
315,
3639,
411,
19144,
30,
14259,
1350,
5333,
82,
6,
397,
7734,
315,
5411,
411,
19144,
30,
6447,
1026,
5189,
2171,
4133,
559,
7951,
1595,
28219,
82,
6,
397,
7734,
315,
7734,
411,
19144,
30,
6178,
5333,
82,
6,
397,
7734,
315,
10792,
411,
19144,
30,
2956,
508,
5189,
1717,
4743,
2412,
618,
5189,
19144,
30,
1080,
2412,
19,
5333,
82,
6,
397,
7734,
315,
7734,
7765,
19144,
30,
6178,
5333,
82,
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,
1071,
918,
1842,
7951,
607,
313,
2482,
1435,
288,
3639,
514,
810,
60,
6427,
273,
315,
565,
411,
19144,
30,
4821,
12302,
30,
19144,
5189,
2505,
2207,
5591,
18,
91,
23,
18,
3341,
19,
6976,
21,
19,
4201,
3078,
28219,
82,
6,
397,
7734,
315,
565,
411,
19144,
30,
14259,
559,
508,
5189,
2171,
4133,
559,
7951,
1595,
2412,
727,
5189,
23954,
2710,
28219,
82,
6,
397,
7734,
315,
3639,
411,
19144,
30,
6178,
5333,
82,
6,
397,
7734,
315,
5411,
411,
19144,
30,
2956,
508,
5189,
2696,
2412,
618,
5189,
19144,
30,
7745,
2412,
342,
5333,
82,
6,
397,
7734,
315,
5411,
411,
19144,
30,
2956,
508,
5189,
529,
2412,
618,
5189,
19144,
30,
1080,
2412,
1131,
2
] |
for (int i = 0; i < fields.length; i++) { String typeName = pg_stream.ReceiveString(connection.getEncoding()); int typeOid = pg_stream.ReceiveIntegerR(4); int typeLength = pg_stream.ReceiveIntegerR(2); int typeModifier = pg_stream.ReceiveIntegerR(4); fields[i] = new Field(connection, typeName, typeOid, typeLength, typeModifier); } | for (int i = 0; i < fields.length; i++) { String typeName = pg_stream.ReceiveString(connection.getEncoding()); int typeOid = pg_stream.ReceiveIntegerR(4); int typeLength = pg_stream.ReceiveIntegerR(2); int typeModifier = pg_stream.ReceiveIntegerR(4); fields[i] = new Field(connection, typeName, typeOid, typeLength, typeModifier); } | private void receiveFields() throws SQLException { if (fields != null) throw new PSQLException("postgresql.con.multres"); int size = pg_stream.ReceiveIntegerR(2); fields = new Field[size]; for (int i = 0; i < fields.length; i++) { String typeName = pg_stream.ReceiveString(connection.getEncoding()); int typeOid = pg_stream.ReceiveIntegerR(4); int typeLength = pg_stream.ReceiveIntegerR(2); int typeModifier = pg_stream.ReceiveIntegerR(4); fields[i] = new Field(connection, typeName, typeOid, typeLength, typeModifier); } } | 45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/839b9bc0117946afd62ee385a4c8a36c01b3053b/QueryExecutor.java/clean/src/interfaces/jdbc/org/postgresql/core/QueryExecutor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
6798,
2314,
1435,
1216,
6483,
288,
202,
430,
261,
2821,
480,
446,
13,
202,
565,
604,
394,
453,
23116,
2932,
2767,
24330,
18,
591,
18,
5421,
455,
8863,
202,
474,
963,
273,
7184,
67,
3256,
18,
11323,
4522,
54,
12,
22,
1769,
202,
2821,
273,
394,
2286,
63,
1467,
15533,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1466,
18,
2469,
31,
277,
27245,
288,
202,
565,
514,
8173,
273,
7184,
67,
3256,
18,
11323,
780,
12,
4071,
18,
588,
4705,
10663,
202,
565,
509,
618,
19105,
273,
7184,
67,
3256,
18,
11323,
4522,
54,
12,
24,
1769,
202,
565,
509,
618,
1782,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
6798,
2314,
1435,
1216,
6483,
288,
202,
430,
261,
2821,
480,
446,
13,
202,
565,
604,
394,
453,
23116,
2932,
2767,
24330,
18,
591,
18,
5421,
455,
8863,
202,
474,
963,
273,
7184,
67,
3256,
18,
11323,
4522,
54,
12,
22,
1769,
202,
2821,
273,
394,
2286,
63,
1467,
15533,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1466,
18,
2469,
31,
277,
27245,
288,
202,
565,
514,
8173,
273,
7184,
67,
3256,
18,
11323,
780,
12,
4071,
18,
588,
4705,
10663,
202,
565,
509,
618,
19105,
273,
7184,
67,
3256,
18,
11323,
4522,
54,
12,
24,
1769,
202,
565,
509,
618,
1782,
273,
7184,
67,
3256,
18,
11323,
4522,
54,
12,
22,
1769,
2
] |
asm.emitLIntoffset (sro0, sri0, fieldOffset); | asm.emitLIntOffset (sro0, sri0, fieldOffset); | protected final void emit_resolved_getfield(VM_FieldReference fieldRef) { if (unreachableBytecode) return; byte javaStackType = VM_BuildBB.getJavaStackType(fieldRef.getFieldContentsType()); Offset fieldOffset = fieldRef.peekResolvedField().getOffset(); assignRegisters(1, javaStackType); switch (javaStackType) { case FLOAT_TYPE: asm.emitLFS (sro0, fieldOffset, sri0); break; case DOUBLE_TYPE: asm.emitLFD (sro0, fieldOffset, sri0); break; case LONG_TYPE: asm.emitLIntoffset(sro0+1, sri0, fieldOffset.add(4)); asm.emitLIntoffset(sro0, sri0, fieldOffset); break; default: asm.emitLIntoffset (sro0, sri0, fieldOffset); break; } cleanupRegisters(); } | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/166979949c0d3f29af1ee0c37758a68ff618ab74/VM_QuickCompiler.java/buggy/rvm/src/vm/arch/powerPC/compilers/quick/VM_QuickCompiler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
727,
918,
3626,
67,
11792,
67,
588,
1518,
12,
7397,
67,
974,
2404,
652,
1957,
13,
288,
565,
309,
261,
318,
17246,
858,
16651,
13,
327,
31,
565,
1160,
2252,
2624,
559,
273,
225,
8251,
67,
3116,
9676,
18,
588,
5852,
2624,
559,
12,
1518,
1957,
18,
588,
974,
6323,
559,
10663,
565,
9874,
652,
2335,
273,
652,
1957,
18,
347,
3839,
12793,
974,
7675,
588,
2335,
5621,
565,
2683,
10277,
12,
21,
16,
2252,
2624,
559,
1769,
565,
1620,
261,
6290,
2624,
559,
13,
288,
565,
648,
15483,
67,
2399,
30,
1377,
20415,
18,
18356,
48,
4931,
261,
87,
303,
20,
16,
652,
2335,
16,
272,
566,
20,
1769,
1377,
898,
31,
565,
648,
14918,
67,
2399,
30,
1377,
20415,
18,
18356,
9105,
40,
261,
87,
303,
20,
16,
652,
2335,
16,
272,
566,
20,
1769,
1377,
898,
31,
565,
648,
14011,
67,
2399,
30,
1377,
20415,
18,
18356,
48,
1702,
3348,
12,
87,
303,
20,
15,
21,
16,
272,
566,
20,
16,
652,
2335,
18,
1289,
12,
24,
10019,
1377,
20415,
18,
18356,
48,
1702,
3348,
12,
87,
303,
20,
16,
272,
566,
20,
16,
652,
2335,
1769,
1377,
898,
31,
565,
805,
30,
1377,
20415,
18,
18356,
48,
1702,
2335,
261,
87,
303,
20,
16,
272,
566,
20,
16,
652,
2335,
1769,
1377,
898,
31,
565,
289,
565,
6686,
10277,
5621,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
727,
918,
3626,
67,
11792,
67,
588,
1518,
12,
7397,
67,
974,
2404,
652,
1957,
13,
288,
565,
309,
261,
318,
17246,
858,
16651,
13,
327,
31,
565,
1160,
2252,
2624,
559,
273,
225,
8251,
67,
3116,
9676,
18,
588,
5852,
2624,
559,
12,
1518,
1957,
18,
588,
974,
6323,
559,
10663,
565,
9874,
652,
2335,
273,
652,
1957,
18,
347,
3839,
12793,
974,
7675,
588,
2335,
5621,
565,
2683,
10277,
12,
21,
16,
2252,
2624,
559,
1769,
565,
1620,
261,
6290,
2624,
559,
13,
288,
565,
648,
15483,
67,
2399,
30,
1377,
20415,
18,
18356,
48,
4931,
261,
87,
303,
20,
16,
652,
2335,
16,
272,
566,
20,
1769,
1377,
898,
31,
565,
648,
14918,
67,
2
] |
WorkbenchPlugin.log(message, status); | WorkbenchPlugin.log(status); | private static final void readHandlersFromHandlersExtensionPoint( final IConfigurationElement[] configurationElements, final int configurationElementCount, final IHandlerService handlerService) { /* * If necessary, this list of status items will be constructed. It will * only contains instances of <code>IStatus</code>. */ List warningsToLog = null; for (int i = 0; i < configurationElementCount; i++) { final IConfigurationElement configurationElement = configurationElements[i]; // Read out the command identifier. final String commandId = configurationElement .getAttribute(ATTRIBUTE_COMMAND_ID); if ((commandId == null) || (commandId.length() == 0)) { // The id should never be null. This is invalid. final String message = "Handlers need a command id: plug-in='" //$NON-NLS-1$ + configurationElement.getNamespace() + "'."; //$NON-NLS-1$ final IStatus status = new Status(IStatus.WARNING, WorkbenchPlugin.PI_WORKBENCH, 0, message, null); if (warningsToLog == null) { warningsToLog = new ArrayList(); } warningsToLog.add(status); continue; } // Check to see if we have a handler class. if ((configurationElement.getAttribute(ATTRIBUTE_CLASS) == null) && (configurationElement.getChildren(ELEMENT_CLASS).length == 0)) { // The id should never be null. This is invalid. final String message = "Handlers need a class: plug-in='" //$NON-NLS-1$ + configurationElement.getNamespace() + "', commandId=" //$NON-NLS-1$ + commandId + "'."; //$NON-NLS-1$ final IStatus status = new Status(IStatus.WARNING, WorkbenchPlugin.PI_WORKBENCH, 0, message, null); if (warningsToLog == null) { warningsToLog = new ArrayList(); } warningsToLog.add(status); continue; } // Check to see if we have an activeWhen expression. final IConfigurationElement[] activeWhenElements = configurationElement .getChildren(ELEMENT_ACTIVE_WHEN); Expression activeWhenExpression = null; if (activeWhenElements.length > 0) { // Check if we have too many active when elements. if (activeWhenElements.length > 1) { // There should only be one activeWhen element final String message = "Handlers should only have one activeWhen element: plug-in='" //$NON-NLS-1$ + configurationElement.getNamespace() + "', commandId=" //$NON-NLS-1$ + commandId + "'."; //$NON-NLS-1$ final IStatus status = new Status(IStatus.WARNING, WorkbenchPlugin.PI_WORKBENCH, 0, message, null); if (warningsToLog == null) { warningsToLog = new ArrayList(); } warningsToLog.add(status); continue; } // Convert the activeWhen element into an expression. final ElementHandler elementHandler = ElementHandler .getDefault(); final ExpressionConverter converter = ExpressionConverter .getDefault(); try { activeWhenExpression = elementHandler.create(converter, activeWhenElements[0]); } catch (final CoreException e) { // There activeWhen expression could not be created. final String message = "Problem creating activeWhen element: plug-in='" //$NON-NLS-1$ + configurationElement.getNamespace() + "', commandId=" //$NON-NLS-1$ + commandId + "'."; //$NON-NLS-1$ final IStatus status = new Status(IStatus.WARNING, WorkbenchPlugin.PI_WORKBENCH, 0, message, null); if (warningsToLog == null) { warningsToLog = new ArrayList(); } warningsToLog.add(status); } } // Check to see if we have an enabledWhen expression. final IConfigurationElement[] enabledWhenElements = configurationElement .getChildren(ELEMENT_ENABLED_WHEN); Expression enabledWhenExpression = null; if (enabledWhenElements.length > 0) { // Check if we have too many enabled when elements. if (enabledWhenElements.length > 1) { // There should only be one enabledWhen element final String message = "Handlers should only have one enabledWhen element: plug-in='" //$NON-NLS-1$ + configurationElement.getNamespace() + "', commandId=" //$NON-NLS-1$ + commandId + "'."; //$NON-NLS-1$ final IStatus status = new Status(IStatus.WARNING, WorkbenchPlugin.PI_WORKBENCH, 0, message, null); if (warningsToLog == null) { warningsToLog = new ArrayList(); } warningsToLog.add(status); continue; } // Convert the enabledWhen element into an expression. final ElementHandler elementHandler = ElementHandler .getDefault(); final ExpressionConverter converter = ExpressionConverter .getDefault(); try { enabledWhenExpression = elementHandler.create(converter, enabledWhenElements[0]); } catch (final CoreException e) { // There enabledWhen expression could not be created. final String message = "Problem creating enabledWhen element: plug-in='" //$NON-NLS-1$ + configurationElement.getNamespace() + "', commandId=" //$NON-NLS-1$ + commandId + "'."; //$NON-NLS-1$ final IStatus status = new Status(IStatus.WARNING, WorkbenchPlugin.PI_WORKBENCH, 0, message, null); if (warningsToLog == null) { warningsToLog = new ArrayList(); } warningsToLog.add(status); } } if (activeWhenExpression != null) { handlerService .activateHandler(commandId, new HandlerProxy( configurationElement, ATTRIBUTE_CLASS, enabledWhenExpression, handlerService), activeWhenExpression, ISources.ACTIVE_CONTEXT | ISources.ACTIVE_CURRENT_SELECTION | ISources.ACTIVE_EDITOR | ISources.ACTIVE_PART); } else { handlerService.activateHandler(commandId, new HandlerProxy( configurationElement, ATTRIBUTE_CLASS, enabledWhenExpression, handlerService)); } } // If there were any warnings, then log them now. if (warningsToLog != null) { final String message = "Warnings while parsing the handlers from the 'org.eclipse.ui.handlers' extension point."; //$NON-NLS-1$ final IStatus status = new MultiStatus( WorkbenchPlugin.PI_WORKBENCH, 0, (IStatus[]) warningsToLog .toArray(new IStatus[warningsToLog.size()]), message, null); WorkbenchPlugin.log(message, status); } } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/76138394b5dcce2989ac90e3a09be877d32daa66/HandlerPersistence.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/handlers/HandlerPersistence.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
727,
918,
855,
6919,
1265,
6919,
3625,
2148,
12,
1082,
202,
6385,
467,
1750,
1046,
8526,
1664,
3471,
16,
1082,
202,
6385,
509,
1664,
1046,
1380,
16,
1082,
202,
6385,
467,
1503,
1179,
1838,
1179,
13,
288,
202,
202,
20308,
1082,
380,
971,
4573,
16,
333,
666,
434,
1267,
1516,
903,
506,
15688,
18,
2597,
903,
1082,
380,
1338,
1914,
3884,
434,
411,
710,
34,
45,
1482,
1757,
710,
18652,
1082,
1195,
202,
202,
682,
5599,
774,
1343,
273,
446,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1664,
1046,
1380,
31,
277,
27245,
288,
1082,
202,
6385,
467,
1750,
1046,
1664,
1046,
273,
1664,
3471,
63,
77,
15533,
1082,
202,
759,
2720,
596,
326,
1296,
2756,
18,
1082,
202,
6385,
514,
1296,
548,
273,
1664,
1046,
6862,
202,
18,
588,
1499,
12,
11616,
67,
19104,
67,
734,
1769,
1082,
202,
430,
14015,
3076,
548,
422,
446,
13,
747,
261,
3076,
548,
18,
2469,
1435,
422,
374,
3719,
288,
9506,
202,
759,
1021,
612,
1410,
5903,
506,
446,
18,
1220,
353,
2057,
18,
9506,
202,
6385,
514,
883,
273,
315,
6919,
1608,
279,
1296,
612,
30,
15852,
17,
267,
13396,
4329,
3993,
17,
5106,
17,
21,
8,
25083,
202,
15,
1664,
1046,
18,
588,
3402,
1435,
397,
30156,
31,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
6385,
467,
1482,
1267,
273,
394,
2685,
12,
45,
1482,
18,
9511,
16,
25083,
202,
2421,
22144,
3773,
18,
1102,
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,
225,
202,
1152,
760,
727,
918,
855,
6919,
1265,
6919,
3625,
2148,
12,
1082,
202,
6385,
467,
1750,
1046,
8526,
1664,
3471,
16,
1082,
202,
6385,
509,
1664,
1046,
1380,
16,
1082,
202,
6385,
467,
1503,
1179,
1838,
1179,
13,
288,
202,
202,
20308,
1082,
380,
971,
4573,
16,
333,
666,
434,
1267,
1516,
903,
506,
15688,
18,
2597,
903,
1082,
380,
1338,
1914,
3884,
434,
411,
710,
34,
45,
1482,
1757,
710,
18652,
1082,
1195,
202,
202,
682,
5599,
774,
1343,
273,
446,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1664,
1046,
1380,
31,
277,
27245,
288,
1082,
202,
6385,
467,
1750,
1046,
1664,
1046,
273,
1664,
3471,
63,
77,
15533,
1082,
202,
2
] |
("Unexpected IllegalAccessException", e); | ("Unexpected IllegalAccessException", e); | protected static ClassLoader getContextClassLoader() throws LogConfigurationException { ClassLoader classLoader = null; try { // Are we running on a JDK 1.2 or later system? Method method = Thread.class.getMethod("getContextClassLoader", null); // Get the thread context class loader (if there is one) try { classLoader = (ClassLoader)method.invoke(Thread.currentThread(), null); } catch (IllegalAccessException e) { throw new LogConfigurationException ("Unexpected IllegalAccessException", e); } catch (InvocationTargetException e) { /** * InvocationTargetException is thrown by 'invoke' when * the method being invoked (getContextClassLoader) throws * an exception. * * getContextClassLoader() throws SecurityException when * the context class loader isn't an ancestor of the * calling class's class loader, or if security * permissions are restricted. * * In the first case (not related), we want to ignore and * keep going. We cannot help but also ignore the second * with the logic below, but other calls elsewhere (to * obtain a class loader) will trigger this exception where * we can make a distinction. */ if (e.getTargetException() instanceof SecurityException) { ; // ignore } else { // Capture 'e.getTargetException()' exception for details // alternate: log 'e.getTargetException()', and pass back 'e'. throw new LogConfigurationException ("Unexpected InvocationTargetException", e.getTargetException()); } } } catch (NoSuchMethodException e) { // Assume we are running on JDK 1.1 classLoader = LogFactory.class.getClassLoader(); } // Return the selected class loader return classLoader; } | 4082 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4082/62d71000b6d84642b07f67c825f685d42190715c/LogFactory.java/buggy/src/java/org/logicalcobwebs/logging/LogFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
760,
9403,
23384,
1435,
3639,
1216,
1827,
10737,
565,
288,
3639,
9403,
11138,
273,
446,
31,
3639,
775,
288,
5411,
368,
12520,
732,
3549,
603,
279,
24387,
404,
18,
22,
578,
5137,
2619,
35,
5411,
2985,
707,
273,
4884,
18,
1106,
18,
588,
1305,
2932,
29120,
7805,
3113,
446,
1769,
5411,
368,
968,
326,
2650,
819,
667,
4088,
261,
430,
1915,
353,
1245,
13,
5411,
775,
288,
7734,
11138,
273,
261,
7805,
13,
2039,
18,
14407,
12,
3830,
18,
2972,
3830,
9334,
446,
1769,
5411,
289,
1044,
261,
12195,
9773,
425,
13,
288,
7734,
604,
394,
1827,
10737,
10792,
7566,
7762,
11900,
3113,
425,
1769,
5411,
289,
1044,
261,
9267,
14950,
425,
13,
288,
7734,
1783,
1171,
380,
15342,
353,
6718,
635,
296,
14407,
11,
1347,
1171,
380,
326,
707,
3832,
8187,
261,
29120,
7805,
13,
1216,
1171,
380,
392,
1520,
18,
1171,
380,
5375,
380,
23384,
1435,
1216,
17780,
1347,
1171,
380,
326,
819,
667,
4088,
5177,
1404,
392,
9731,
434,
326,
1171,
380,
4440,
667,
1807,
667,
4088,
16,
578,
309,
4373,
1171,
380,
4371,
854,
15693,
18,
1171,
380,
5375,
380,
657,
326,
1122,
648,
261,
902,
3746,
3631,
732,
2545,
358,
2305,
471,
1171,
380,
3455,
8554,
18,
225,
1660,
2780,
2809,
1496,
2546,
2305,
326,
2205,
1171,
380,
598,
326,
4058,
5712,
16,
1496,
1308,
4097,
25795,
261,
869,
1171,
380,
7161,
279,
667,
4088,
13,
903,
3080,
333,
1520,
1625,
1171,
380,
732,
848,
1221,
279,
2411,
267,
349,
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,
760,
9403,
23384,
1435,
3639,
1216,
1827,
10737,
565,
288,
3639,
9403,
11138,
273,
446,
31,
3639,
775,
288,
5411,
368,
12520,
732,
3549,
603,
279,
24387,
404,
18,
22,
578,
5137,
2619,
35,
5411,
2985,
707,
273,
4884,
18,
1106,
18,
588,
1305,
2932,
29120,
7805,
3113,
446,
1769,
5411,
368,
968,
326,
2650,
819,
667,
4088,
261,
430,
1915,
353,
1245,
13,
5411,
775,
288,
7734,
11138,
273,
261,
7805,
13,
2039,
18,
14407,
12,
3830,
18,
2972,
3830,
9334,
446,
1769,
5411,
289,
1044,
261,
12195,
9773,
425,
13,
288,
7734,
604,
394,
1827,
10737,
10792,
7566,
7762,
11900,
3113,
425,
1769,
5411,
289,
1044,
261,
9267,
14950,
425,
13,
288,
7734,
1783,
1171,
2
] |
if (clazz.getName().equals(type)) | if (clazz.getName().equals(type)) { | private static final boolean isSubtype(final Class clazz, final String type) { if (clazz.getName().equals(type)) return true; final Class superClass = clazz.getSuperclass(); if (superClass != null && isSubtype(superClass, type)) return true; final Class[] interfaces = clazz.getInterfaces(); for (int i = 0; i < interfaces.length; i++) { if (isSubtype(interfaces[i], type)) return true; } return false; } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/89b4a849cd34ceb44f4bc6468518cca6c64845a5/ParameterType.java/buggy/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/ParameterType.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
727,
1250,
16523,
723,
12,
6385,
1659,
4003,
16,
727,
514,
618,
13,
288,
202,
202,
430,
261,
830,
3638,
18,
17994,
7675,
14963,
12,
723,
3719,
1082,
202,
2463,
638,
31,
202,
202,
6385,
1659,
18846,
273,
4003,
18,
588,
28471,
5621,
202,
202,
430,
261,
9565,
797,
480,
446,
597,
16523,
723,
12,
9565,
797,
16,
618,
3719,
1082,
202,
2463,
638,
31,
202,
202,
6385,
1659,
8526,
7349,
273,
4003,
18,
588,
10273,
5621,
202,
202,
1884,
261,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
727,
1250,
16523,
723,
12,
6385,
1659,
4003,
16,
727,
514,
618,
13,
288,
202,
202,
430,
261,
830,
3638,
18,
17994,
7675,
14963,
12,
723,
3719,
1082,
202,
2463,
638,
31,
202,
202,
6385,
1659,
18846,
273,
4003,
18,
588,
28471,
5621,
202,
202,
430,
261,
9565,
797,
480,
446,
597,
16523,
723,
12,
9565,
797,
16,
618,
3719,
1082,
202,
2463,
638,
31,
202,
202,
6385,
1659,
8526,
7349,
273,
4003,
18,
588,
10273,
5621,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
7349,
18,
2469,
31,
277,
27245,
288,
1082,
202,
430,
261,
291,
1676,
723,
12,
15898,
63,
77,
6487,
618,
3719,
9506,
202,
2463,
638,
31,
202,
2
] |
this.status = status; this.errorMessage = errorMessage; this.committed = true; | this.status = newStatus; this.errorMessage = newErrorMessage; committed = true; | public void sendError(int status, String errorMessage) throws IOException { if (this.committed) { throw new IllegalStateException("Cannot set error status - response is already committed"); } this.status = status; this.errorMessage = errorMessage; this.committed = true; } | 45384 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45384/7d51110e3a23c7ea6a62853eb41e45568ca1408d/FakeHttpServletResponse.java/buggy/java/org/directwebremoting/util/FakeHttpServletResponse.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
17538,
12,
474,
1267,
16,
514,
9324,
13,
1216,
1860,
565,
288,
3639,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
17538,
12,
474,
1267,
16,
514,
9324,
13,
1216,
1860,
565,
288,
3639,
309,
261,
2211,
18,
7371,
2344,
13,
3639,
288,
5411,
604,
394,
5477,
2932,
4515,
444,
555,
1267,
300,
766,
353,
1818,
16015,
8863,
3639,
289,
3639,
333,
18,
2327,
273,
1267,
31,
3639,
333,
18,
1636,
1079,
273,
9324,
31,
3639,
333,
18,
7371,
2344,
273,
638,
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
] |
public void testContentEquals() throws Exception { // Non-existent files final File file = new File(getTestDirectory(), getName()); assertTrue(FileUtils.contentEquals(file, file)); // TODO Should comparing 2 directories throw an Exception instead of returning false? // Directories assertTrue( !FileUtils.contentEquals(getTestDirectory(), getTestDirectory())); // Different files final File objFile1 = new File(getTestDirectory(), getName() + ".object"); objFile1.deleteOnExit(); FileUtils.copyURLToFile( getClass().getResource("/java/lang/Object.class"), objFile1); final File objFile2 = new File(getTestDirectory(), getName() + ".collection"); objFile2.deleteOnExit(); FileUtils.copyURLToFile( getClass().getResource("/java/util/Collection.class"), objFile2); assertTrue( "Files should not be equal.", !FileUtils.contentEquals(objFile1, objFile2)); // Equal files file.createNewFile(); assertTrue(FileUtils.contentEquals(file, file)); } | 49302 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49302/c594f49b9ee462420e1b26fc8e69f04a60d78f83/FileUtilsTestCase.java/buggy/src/test/org/apache/commons/io/FileUtilsTestCase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
3813,
1350,
8867,
1435,
15069,
503,
95,
759,
3989,
17,
19041,
2354,
6385,
812,
768,
33,
2704,
812,
12,
588,
4709,
2853,
9334,
17994,
10663,
11231,
5510,
12,
812,
1989,
18,
1745,
8867,
12,
768,
16,
768,
10019,
759,
6241,
14309,
832,
12583,
22,
7205,
280,
77,
395,
76,
492,
304,
503,
8591,
684,
792,
2463,
310,
5743,
35,
759,
13071,
11231,
5510,
12,
5,
812,
1989,
18,
1745,
8867,
12,
588,
4709,
2853,
9334,
588,
4709,
2853,
1435,
10019,
759,
26270,
2354,
6385,
812,
2603,
812,
21,
33,
2704,
812,
12,
588,
4709,
2853,
9334,
17994,
1435,
9078,
18,
1612,
8863,
2603,
812,
21,
18,
3733,
1398,
6767,
5621,
812,
1989,
18,
3530,
1785,
15450,
12,
588,
797,
7675,
588,
1420,
2932,
19,
6290,
19,
4936,
19,
921,
18,
1106,
6,
3631,
2603,
812,
21,
1769,
6385,
812,
2603,
812,
22,
33,
2704,
812,
12,
588,
4709,
2853,
9334,
17994,
1435,
9078,
18,
5548,
8863,
2603,
812,
22,
18,
3733,
1398,
6767,
5621,
812,
1989,
18,
3530,
1785,
15450,
12,
588,
797,
7675,
588,
1420,
2932,
19,
6290,
19,
1367,
19,
2532,
18,
1106,
6,
3631,
2603,
812,
22,
1769,
11231,
5510,
2932,
25579,
403,
76,
1006,
902,
70,
1340,
3369,
1199,
16,
5,
812,
1989,
18,
1745,
8867,
12,
2603,
812,
21,
16,
2603,
812,
22,
10019,
759,
5812,
2354,
768,
18,
2640,
1908,
812,
5621,
11231,
5510,
12,
812,
1989,
18,
1745,
8867,
12,
768,
16,
768,
10019,
97,
2,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
3813,
1350,
8867,
1435,
15069,
503,
95,
759,
3989,
17,
19041,
2354,
6385,
812,
768,
33,
2704,
812,
12,
588,
4709,
2853,
9334,
17994,
10663,
11231,
5510,
12,
812,
1989,
18,
1745,
8867,
12,
768,
16,
768,
10019,
759,
6241,
14309,
832,
12583,
22,
7205,
280,
77,
395,
76,
492,
304,
503,
8591,
684,
792,
2463,
310,
5743,
35,
759,
13071,
11231,
5510,
12,
5,
812,
1989,
18,
1745,
8867,
12,
588,
4709,
2853,
9334,
588,
4709,
2853,
1435,
10019,
759,
26270,
2354,
6385,
812,
2603,
812,
21,
33,
2704,
812,
12,
588,
4709,
2853,
9334,
17994,
1435,
9078,
18,
1612,
8863,
2603,
812,
21,
18,
3733,
1398,
6767,
5621,
812,
1989,
18,
3530,
1785,
15450,
12,
2
] |
||
public boolean isDuplicate(){ | public boolean isDuplicate() { | public boolean isDuplicate(){ return this.duplicate; } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/f9c466e731a3fcd6b27ded21559cc21bf6d87935/AbstractSearchItem.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/dialogs/AbstractSearchItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
11826,
1435,
95,
202,
202,
2463,
333,
18,
17342,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
11826,
1435,
95,
202,
202,
2463,
333,
18,
17342,
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
] |
(new com.ibm.math.DiagBigDecimal.Test("cbi001")).ok=((new com.ibm.math.BigDecimal(bip)).toString()).equals(bip.toString()); (new com.ibm.math.DiagBigDecimal.Test("cbi002")).ok=((new com.ibm.math.BigDecimal(biz)).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("cbi003")).ok=((new com.ibm.math.BigDecimal(bin)).toString()).equals(bin.toString()); | (new Test("cbi001")).ok=((new com.ibm.math.BigDecimal(bip)).toString()).equals(bip.toString()); (new Test("cbi002")).ok=((new com.ibm.math.BigDecimal(biz)).toString()).equals("0"); (new Test("cbi003")).ok=((new com.ibm.math.BigDecimal(bin)).toString()).equals(bin.toString()); | public void diagconstructors(){ boolean flag=false; java.lang.String num; java.math.BigInteger bip; java.math.BigInteger biz; java.math.BigInteger bin; com.ibm.math.BigDecimal bda; com.ibm.math.BigDecimal bdb; com.ibm.math.BigDecimal bmc; com.ibm.math.BigDecimal bmd; com.ibm.math.BigDecimal bme; java.lang.RuntimeException e=null; char ca[]; double dzer; double dpos; double dneg; double dpos5; double dneg5; double dmin; double dmax; double d; java.lang.String badstrings[]; int i=0; // constants [statically-called constructors] (new com.ibm.math.DiagBigDecimal.Test("con001")).ok=(com.ibm.math.BigDecimal.ZERO.toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("con002")).ok=(com.ibm.math.BigDecimal.ONE.toString()).equals("1"); (new com.ibm.math.DiagBigDecimal.Test("con003")).ok=(com.ibm.math.BigDecimal.TEN.toString()).equals("10"); (new com.ibm.math.DiagBigDecimal.Test("con004")).ok=(com.ibm.math.BigDecimal.ZERO.intValueExact())==0; (new com.ibm.math.DiagBigDecimal.Test("con005")).ok=(com.ibm.math.BigDecimal.ONE.intValueExact())==1; (new com.ibm.math.DiagBigDecimal.Test("con006")).ok=(com.ibm.math.BigDecimal.TEN.intValueExact())==10; // [java.math.] BigDecimal (new com.ibm.math.DiagBigDecimal.Test("cbd001")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal("0"))).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("cbd002")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal("1"))).toString()).equals("1"); (new com.ibm.math.DiagBigDecimal.Test("cbd003")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal("10"))).toString()).equals("10"); (new com.ibm.math.DiagBigDecimal.Test("cbd004")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal("1000"))).toString()).equals("1000"); (new com.ibm.math.DiagBigDecimal.Test("cbd005")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal("10.0"))).toString()).equals("10.0"); (new com.ibm.math.DiagBigDecimal.Test("cbd006")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal("10.1"))).toString()).equals("10.1"); (new com.ibm.math.DiagBigDecimal.Test("cbd007")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal("-1.1"))).toString()).equals("-1.1"); (new com.ibm.math.DiagBigDecimal.Test("cbd008")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal("-9.0"))).toString()).equals("-9.0"); (new com.ibm.math.DiagBigDecimal.Test("cbd009")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal("0.9"))).toString()).equals("0.9"); num="123456789.123456789"; (new com.ibm.math.DiagBigDecimal.Test("cbd010")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal(num))).toString()).equals(num); num="123456789.000000000"; (new com.ibm.math.DiagBigDecimal.Test("cbd011")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal(num))).toString()).equals(num); num="123456789000000000"; (new com.ibm.math.DiagBigDecimal.Test("cbd012")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal(num))).toString()).equals(num); num="0.00000123456789"; (new com.ibm.math.DiagBigDecimal.Test("cbd013")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal(num))).toString()).equals(num); num="0.000000123456789"; (new com.ibm.math.DiagBigDecimal.Test("cbd014")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal(num))).toString()).equals(num); try{checknull:do{ new com.ibm.math.BigDecimal((java.math.BigDecimal)null); flag=false; }while(false);} catch (java.lang.NullPointerException $3){ flag=true; }/*checknull*/ (new com.ibm.math.DiagBigDecimal.Test("cbi015")).ok=flag; // BigInteger bip=new BigInteger("987654321987654321987654321"); // biggie +ve biz=new BigInteger("0"); // biggie 0 bin=new BigInteger("-12345678998765432112345678"); // biggie -ve (new com.ibm.math.DiagBigDecimal.Test("cbi001")).ok=((new com.ibm.math.BigDecimal(bip)).toString()).equals(bip.toString()); (new com.ibm.math.DiagBigDecimal.Test("cbi002")).ok=((new com.ibm.math.BigDecimal(biz)).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("cbi003")).ok=((new com.ibm.math.BigDecimal(bin)).toString()).equals(bin.toString()); try{checknull:do{ new com.ibm.math.BigDecimal((java.math.BigInteger)null); flag=false; }while(false);} catch (java.lang.NullPointerException $4){ flag=true; }/*checknull*/ (new com.ibm.math.DiagBigDecimal.Test("cbi004")).ok=flag; // BigInteger with scale bip=new BigInteger("123456789"); // bigish bda=new com.ibm.math.BigDecimal(bip); bdb=new com.ibm.math.BigDecimal(bip,5); bmc=new com.ibm.math.BigDecimal(bip,15); (new com.ibm.math.DiagBigDecimal.Test("cbs001")).ok=(bda.toString()).equals("123456789"); (new com.ibm.math.DiagBigDecimal.Test("cbs002")).ok=(bdb.toString()).equals("1234.56789"); (new com.ibm.math.DiagBigDecimal.Test("cbs003")).ok=(bmc.toString()).equals("0.000000123456789"); bip=new BigInteger("123456789123456789123456789"); // biggie bda=new com.ibm.math.BigDecimal(bip); bdb=new com.ibm.math.BigDecimal(bip,7); bmc=new com.ibm.math.BigDecimal(bip,13); bmd=new com.ibm.math.BigDecimal(bip,19); bme=new com.ibm.math.BigDecimal(bip,29); (new com.ibm.math.DiagBigDecimal.Test("cbs011")).ok=(bda.toString()).equals("123456789123456789123456789"); (new com.ibm.math.DiagBigDecimal.Test("cbs012")).ok=(bdb.toString()).equals("12345678912345678912.3456789"); (new com.ibm.math.DiagBigDecimal.Test("cbs013")).ok=(bmc.toString()).equals("12345678912345.6789123456789"); (new com.ibm.math.DiagBigDecimal.Test("cbs014")).ok=(bmd.toString()).equals("12345678.9123456789123456789"); (new com.ibm.math.DiagBigDecimal.Test("cbs015")).ok=(bme.toString()).equals("0.00123456789123456789123456789"); try{checknull:do{ new com.ibm.math.BigDecimal((java.math.BigInteger)null,1); flag=false; }while(false);} catch (java.lang.NullPointerException $5){ flag=true; }/*checknull*/ (new com.ibm.math.DiagBigDecimal.Test("cbs004")).ok=flag; try{checkscale:do{ new com.ibm.math.BigDecimal(bip,-8); flag=false; }while(false);} catch (java.lang.RuntimeException $6){e=$6; flag=(e.getMessage()).equals("Negative scale: -8"); }/*checkscale*/ (new com.ibm.math.DiagBigDecimal.Test("cbs005")).ok=flag; // char[] // We just test it's there // Functionality is tested by BigDecimal(String). ca=("123.45").toCharArray(); (new com.ibm.math.DiagBigDecimal.Test("cca001")).ok=((new com.ibm.math.BigDecimal(ca)).toString()).equals("123.45"); try{checknull:do{ new com.ibm.math.BigDecimal((char[])null); flag=false; }while(false);} catch (java.lang.NullPointerException $7){ flag=true; }/*checknull*/ (new com.ibm.math.DiagBigDecimal.Test("cca010")).ok=flag; // char[],int,int // We just test it's there, and that offsets work. // Functionality is tested by BigDecimal(String). ca=("123.45").toCharArray(); (new com.ibm.math.DiagBigDecimal.Test("cca101")).ok=((new com.ibm.math.BigDecimal(ca,0,6)).toString()).equals("123.45"); (new com.ibm.math.DiagBigDecimal.Test("cca102")).ok=((new com.ibm.math.BigDecimal(ca,1,5)).toString()).equals("23.45"); (new com.ibm.math.DiagBigDecimal.Test("cca103")).ok=((new com.ibm.math.BigDecimal(ca,2,4)).toString()).equals("3.45"); (new com.ibm.math.DiagBigDecimal.Test("cca104")).ok=((new com.ibm.math.BigDecimal(ca,3,3)).toString()).equals("0.45"); (new com.ibm.math.DiagBigDecimal.Test("cca105")).ok=((new com.ibm.math.BigDecimal(ca,4,2)).toString()).equals("45"); (new com.ibm.math.DiagBigDecimal.Test("cca106")).ok=((new com.ibm.math.BigDecimal(ca,5,1)).toString()).equals("5"); (new com.ibm.math.DiagBigDecimal.Test("cca110")).ok=((new com.ibm.math.BigDecimal(ca,0,1)).toString()).equals("1"); (new com.ibm.math.DiagBigDecimal.Test("cca111")).ok=((new com.ibm.math.BigDecimal(ca,1,1)).toString()).equals("2"); (new com.ibm.math.DiagBigDecimal.Test("cca112")).ok=((new com.ibm.math.BigDecimal(ca,2,1)).toString()).equals("3"); (new com.ibm.math.DiagBigDecimal.Test("cca113")).ok=((new com.ibm.math.BigDecimal(ca,4,1)).toString()).equals("4"); (new com.ibm.math.DiagBigDecimal.Test("cca120")).ok=((new com.ibm.math.BigDecimal(ca,0,2)).toString()).equals("12"); (new com.ibm.math.DiagBigDecimal.Test("cca121")).ok=((new com.ibm.math.BigDecimal(ca,1,2)).toString()).equals("23"); (new com.ibm.math.DiagBigDecimal.Test("cca122")).ok=((new com.ibm.math.BigDecimal(ca,2,2)).toString()).equals("3"); (new com.ibm.math.DiagBigDecimal.Test("cca123")).ok=((new com.ibm.math.BigDecimal(ca,3,2)).toString()).equals("0.4"); (new com.ibm.math.DiagBigDecimal.Test("cca130")).ok=((new com.ibm.math.BigDecimal(ca,0,3)).toString()).equals("123"); (new com.ibm.math.DiagBigDecimal.Test("cca131")).ok=((new com.ibm.math.BigDecimal(ca,1,3)).toString()).equals("23"); (new com.ibm.math.DiagBigDecimal.Test("cca132")).ok=((new com.ibm.math.BigDecimal(ca,2,3)).toString()).equals("3.4"); (new com.ibm.math.DiagBigDecimal.Test("cca140")).ok=((new com.ibm.math.BigDecimal(ca,0,4)).toString()).equals("123"); (new com.ibm.math.DiagBigDecimal.Test("cca141")).ok=((new com.ibm.math.BigDecimal(ca,1,4)).toString()).equals("23.4"); (new com.ibm.math.DiagBigDecimal.Test("cca150")).ok=((new com.ibm.math.BigDecimal(ca,0,5)).toString()).equals("123.4"); // a couple of oddies ca=("x23.4x").toCharArray(); (new com.ibm.math.DiagBigDecimal.Test("cca160")).ok=((new com.ibm.math.BigDecimal(ca,1,4)).toString()).equals("23.4"); (new com.ibm.math.DiagBigDecimal.Test("cca161")).ok=((new com.ibm.math.BigDecimal(ca,1,1)).toString()).equals("2"); (new com.ibm.math.DiagBigDecimal.Test("cca162")).ok=((new com.ibm.math.BigDecimal(ca,4,1)).toString()).equals("4"); ca=("0123456789.9876543210").toCharArray(); (new com.ibm.math.DiagBigDecimal.Test("cca163")).ok=((new com.ibm.math.BigDecimal(ca,0,21)).toString()).equals("123456789.9876543210"); (new com.ibm.math.DiagBigDecimal.Test("cca164")).ok=((new com.ibm.math.BigDecimal(ca,1,20)).toString()).equals("123456789.9876543210"); (new com.ibm.math.DiagBigDecimal.Test("cca165")).ok=((new com.ibm.math.BigDecimal(ca,2,19)).toString()).equals("23456789.9876543210"); (new com.ibm.math.DiagBigDecimal.Test("cca166")).ok=((new com.ibm.math.BigDecimal(ca,2,18)).toString()).equals("23456789.987654321"); (new com.ibm.math.DiagBigDecimal.Test("cca167")).ok=((new com.ibm.math.BigDecimal(ca,2,17)).toString()).equals("23456789.98765432"); (new com.ibm.math.DiagBigDecimal.Test("cca168")).ok=((new com.ibm.math.BigDecimal(ca,2,16)).toString()).equals("23456789.9876543"); try{checknull:do{ new com.ibm.math.BigDecimal((char[])null,0,1); flag=false; }while(false);} catch (java.lang.NullPointerException $8){ flag=true; }/*checknull*/ (new com.ibm.math.DiagBigDecimal.Test("cca200")).ok=flag; try{checklen:do{ new com.ibm.math.BigDecimal("123".toCharArray(),0,0); flag=false; }while(false);} catch (java.lang.NumberFormatException $9){ flag=true; }/*checklen*/ (new com.ibm.math.DiagBigDecimal.Test("cca201")).ok=flag; try{checkbound:do{ new com.ibm.math.BigDecimal("123".toCharArray(),2,4); flag=false; }while(false);} catch (java.lang.RuntimeException $10){ // anything OK flag=true; }/*checkbound*/ (new com.ibm.math.DiagBigDecimal.Test("cca202")).ok=flag; try{checkbound2:do{ new com.ibm.math.BigDecimal("123".toCharArray(),-1,2); flag=false; }while(false);} catch (java.lang.RuntimeException $11){ // anything OK flag=true; }/*checkbound2*/ (new com.ibm.math.DiagBigDecimal.Test("cca203")).ok=flag; try{checkbound3:do{ new com.ibm.math.BigDecimal("123".toCharArray(),1,-2); flag=false; }while(false);} catch (java.lang.RuntimeException $12){ // anything OK flag=true; }/*checkbound3*/ (new com.ibm.math.DiagBigDecimal.Test("cca204")).ok=flag; // double [deprecated] // Note that many of these differ from the valueOf(double) results. dzer=(double)0; dpos=(double)1; dpos=dpos/((double)10); dneg=(double)-dpos; (new com.ibm.math.DiagBigDecimal.Test("cdo001")).ok=((new com.ibm.math.BigDecimal(dneg)).toString()).equals("-0.1000000000000000055511151231257827021181583404541015625"); (new com.ibm.math.DiagBigDecimal.Test("cdo002")).ok=((new com.ibm.math.BigDecimal(dzer)).toString()).equals("0"); // NB, not '0.0' (new com.ibm.math.DiagBigDecimal.Test("cdo003")).ok=((new com.ibm.math.BigDecimal(dpos)).toString()).equals("0.1000000000000000055511151231257827021181583404541015625"); dpos5=(double)0.5D; dneg5=(double)-dpos5; (new com.ibm.math.DiagBigDecimal.Test("cdo004")).ok=((new com.ibm.math.BigDecimal(dneg5)).toString()).equals("-0.5"); (new com.ibm.math.DiagBigDecimal.Test("cdo005")).ok=((new com.ibm.math.BigDecimal(dpos5)).toString()).equals("0.5"); dmin=java.lang.Double.MIN_VALUE; dmax=java.lang.Double.MAX_VALUE; (new com.ibm.math.DiagBigDecimal.Test("cdo006")).ok=((new com.ibm.math.BigDecimal(dmin)).toString()).equals("0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004940656458412465441765687928682213723650598026143247644255856825006755072702087518652998363616359923797965646954457177309266567103559397963987747960107818781263007131903114045278458171678489821036887186360569987307230500063874091535649843873124733972731696151400317153853980741262385655911710266585566867681870395603106249319452715914924553293054565444011274801297099995419319894090804165633245247571478690147267801593552386115501348035264934720193790268107107491703332226844753335720832431936092382893458368060106011506169809753078342277318329247904982524730776375927247874656084778203734469699533647017972677717585125660551199131504891101451037862738167250955837389733598993664809941164205702637090279242767544565229087538682506419718265533447265625"); (new com.ibm.math.DiagBigDecimal.Test("cdo007")).ok=((new com.ibm.math.BigDecimal(dmax)).toString()).equals("179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368"); // nasties d=(double)9; d=d/((double)10); (new com.ibm.math.DiagBigDecimal.Test("cdo010")).ok=((new com.ibm.math.BigDecimal(d)).toString()).equals("0.90000000000000002220446049250313080847263336181640625"); d=d/((double)10); (new com.ibm.math.DiagBigDecimal.Test("cdo011")).ok=((new com.ibm.math.BigDecimal(d)).toString()).equals("0.0899999999999999966693309261245303787291049957275390625"); d=d/((double)10); (new com.ibm.math.DiagBigDecimal.Test("cdo012")).ok=((new com.ibm.math.BigDecimal(d)).toString()).equals("0.00899999999999999931998839741709161899052560329437255859375"); d=d/((double)10); (new com.ibm.math.DiagBigDecimal.Test("cdo013")).ok=((new com.ibm.math.BigDecimal(d)).toString()).equals("0.00089999999999999997536692664112933925935067236423492431640625"); d=d/((double)10); (new com.ibm.math.DiagBigDecimal.Test("cdo014")).ok=((new com.ibm.math.BigDecimal(d)).toString()).equals("0.00008999999999999999211568180168541175589780323207378387451171875"); d=d/((double)10); (new com.ibm.math.DiagBigDecimal.Test("cdo015")).ok=((new com.ibm.math.BigDecimal(d)).toString()).equals("0.00000899999999999999853394182236510090433512232266366481781005859375"); d=d/((double)10); (new com.ibm.math.DiagBigDecimal.Test("cdo016")).ok=((new com.ibm.math.BigDecimal(d)).toString()).equals("0.000000899999999999999853394182236510090433512232266366481781005859375"); d=d/((double)10); (new com.ibm.math.DiagBigDecimal.Test("cdo017")).ok=((new com.ibm.math.BigDecimal(d)).toString()).equals("0.0000000899999999999999853394182236510090433512232266366481781005859375"); d=d/((double)10); (new com.ibm.math.DiagBigDecimal.Test("cdo018")).ok=((new com.ibm.math.BigDecimal(d)).toString()).equals("0.000000008999999999999997872197332322678764437995369007694534957408905029296875"); try{checkpin:do{ new com.ibm.math.BigDecimal(java.lang.Double.POSITIVE_INFINITY); flag=false; }while(false);} catch (java.lang.NumberFormatException $13){ flag=true; }/*checkpin*/ (new com.ibm.math.DiagBigDecimal.Test("cdo101")).ok=flag; try{checknin:do{ new com.ibm.math.BigDecimal(java.lang.Double.NEGATIVE_INFINITY); flag=false; }while(false);} catch (java.lang.NumberFormatException $14){ flag=true; }/*checknin*/ (new com.ibm.math.DiagBigDecimal.Test("cdo102")).ok=flag; try{checknan:do{ new com.ibm.math.BigDecimal(java.lang.Double.NaN); flag=false; }while(false);} catch (java.lang.NumberFormatException $15){ flag=true; }/*checknan*/ (new com.ibm.math.DiagBigDecimal.Test("cdo103")).ok=flag; // int (new com.ibm.math.DiagBigDecimal.Test("cin001")).ok=((new com.ibm.math.BigDecimal(imin)).toString()).equals("-2147483648"); (new com.ibm.math.DiagBigDecimal.Test("cin002")).ok=((new com.ibm.math.BigDecimal(imax)).toString()).equals("2147483647"); (new com.ibm.math.DiagBigDecimal.Test("cin003")).ok=((new com.ibm.math.BigDecimal(ineg)).toString()).equals("-1"); (new com.ibm.math.DiagBigDecimal.Test("cin004")).ok=((new com.ibm.math.BigDecimal(izer)).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("cin005")).ok=((new com.ibm.math.BigDecimal(ipos)).toString()).equals("1"); (new com.ibm.math.DiagBigDecimal.Test("cin006")).ok=((new com.ibm.math.BigDecimal(10)).toString()).equals("10"); (new com.ibm.math.DiagBigDecimal.Test("cin007")).ok=((new com.ibm.math.BigDecimal(9)).toString()).equals("9"); (new com.ibm.math.DiagBigDecimal.Test("cin008")).ok=((new com.ibm.math.BigDecimal(5)).toString()).equals("5"); (new com.ibm.math.DiagBigDecimal.Test("cin009")).ok=((new com.ibm.math.BigDecimal(2)).toString()).equals("2"); (new com.ibm.math.DiagBigDecimal.Test("cin010")).ok=((new com.ibm.math.BigDecimal(-2)).toString()).equals("-2"); (new com.ibm.math.DiagBigDecimal.Test("cin011")).ok=((new com.ibm.math.BigDecimal(-5)).toString()).equals("-5"); (new com.ibm.math.DiagBigDecimal.Test("cin012")).ok=((new com.ibm.math.BigDecimal(-9)).toString()).equals("-9"); (new com.ibm.math.DiagBigDecimal.Test("cin013")).ok=((new com.ibm.math.BigDecimal(-10)).toString()).equals("-10"); (new com.ibm.math.DiagBigDecimal.Test("cin014")).ok=((new com.ibm.math.BigDecimal(-11)).toString()).equals("-11"); (new com.ibm.math.DiagBigDecimal.Test("cin015")).ok=((new com.ibm.math.BigDecimal(-99)).toString()).equals("-99"); (new com.ibm.math.DiagBigDecimal.Test("cin016")).ok=((new com.ibm.math.BigDecimal(-100)).toString()).equals("-100"); (new com.ibm.math.DiagBigDecimal.Test("cin017")).ok=((new com.ibm.math.BigDecimal(-999)).toString()).equals("-999"); (new com.ibm.math.DiagBigDecimal.Test("cin018")).ok=((new com.ibm.math.BigDecimal(-1000)).toString()).equals("-1000"); (new com.ibm.math.DiagBigDecimal.Test("cin019")).ok=((new com.ibm.math.BigDecimal(11)).toString()).equals("11"); (new com.ibm.math.DiagBigDecimal.Test("cin020")).ok=((new com.ibm.math.BigDecimal(99)).toString()).equals("99"); (new com.ibm.math.DiagBigDecimal.Test("cin021")).ok=((new com.ibm.math.BigDecimal(100)).toString()).equals("100"); (new com.ibm.math.DiagBigDecimal.Test("cin022")).ok=((new com.ibm.math.BigDecimal(999)).toString()).equals("999"); (new com.ibm.math.DiagBigDecimal.Test("cin023")).ok=((new com.ibm.math.BigDecimal(1000)).toString()).equals("1000"); // long (new com.ibm.math.DiagBigDecimal.Test("clo001")).ok=((new com.ibm.math.BigDecimal(lmin)).toString()).equals("-9223372036854775808"); (new com.ibm.math.DiagBigDecimal.Test("clo002")).ok=((new com.ibm.math.BigDecimal(lmax)).toString()).equals("9223372036854775807"); (new com.ibm.math.DiagBigDecimal.Test("clo003")).ok=((new com.ibm.math.BigDecimal(lneg)).toString()).equals("-1"); (new com.ibm.math.DiagBigDecimal.Test("clo004")).ok=((new com.ibm.math.BigDecimal(lzer)).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("clo005")).ok=((new com.ibm.math.BigDecimal(lpos)).toString()).equals("1"); // String [many more examples are elsewhere] // strings without E cannot generate E in result (new com.ibm.math.DiagBigDecimal.Test("cst001")).ok=((new com.ibm.math.BigDecimal("12")).toString()).equals("12"); (new com.ibm.math.DiagBigDecimal.Test("cst002")).ok=((new com.ibm.math.BigDecimal("-76")).toString()).equals("-76"); (new com.ibm.math.DiagBigDecimal.Test("cst003")).ok=((new com.ibm.math.BigDecimal("12.76")).toString()).equals("12.76"); (new com.ibm.math.DiagBigDecimal.Test("cst004")).ok=((new com.ibm.math.BigDecimal("+12.76")).toString()).equals("12.76"); (new com.ibm.math.DiagBigDecimal.Test("cst005")).ok=((new com.ibm.math.BigDecimal("012.76")).toString()).equals("12.76"); (new com.ibm.math.DiagBigDecimal.Test("cst006")).ok=((new com.ibm.math.BigDecimal("+0.003")).toString()).equals("0.003"); (new com.ibm.math.DiagBigDecimal.Test("cst007")).ok=((new com.ibm.math.BigDecimal("17.")).toString()).equals("17"); (new com.ibm.math.DiagBigDecimal.Test("cst008")).ok=((new com.ibm.math.BigDecimal(".5")).toString()).equals("0.5"); (new com.ibm.math.DiagBigDecimal.Test("cst009")).ok=((new com.ibm.math.BigDecimal("044")).toString()).equals("44"); (new com.ibm.math.DiagBigDecimal.Test("cst010")).ok=((new com.ibm.math.BigDecimal("0044")).toString()).equals("44"); (new com.ibm.math.DiagBigDecimal.Test("cst011")).ok=((new com.ibm.math.BigDecimal("0.0005")).toString()).equals("0.0005"); (new com.ibm.math.DiagBigDecimal.Test("cst012")).ok=((new com.ibm.math.BigDecimal("00.00005")).toString()).equals("0.00005"); (new com.ibm.math.DiagBigDecimal.Test("cst013")).ok=((new com.ibm.math.BigDecimal("0.000005")).toString()).equals("0.000005"); (new com.ibm.math.DiagBigDecimal.Test("cst014")).ok=((new com.ibm.math.BigDecimal("0.0000005")).toString()).equals("0.0000005"); // \NR (new com.ibm.math.DiagBigDecimal.Test("cst015")).ok=((new com.ibm.math.BigDecimal("0.00000005")).toString()).equals("0.00000005"); // \NR (new com.ibm.math.DiagBigDecimal.Test("cst016")).ok=((new com.ibm.math.BigDecimal("12345678.876543210")).toString()).equals("12345678.876543210"); (new com.ibm.math.DiagBigDecimal.Test("cst017")).ok=((new com.ibm.math.BigDecimal("2345678.876543210")).toString()).equals("2345678.876543210"); (new com.ibm.math.DiagBigDecimal.Test("cst018")).ok=((new com.ibm.math.BigDecimal("345678.876543210")).toString()).equals("345678.876543210"); (new com.ibm.math.DiagBigDecimal.Test("cst019")).ok=((new com.ibm.math.BigDecimal("0345678.87654321")).toString()).equals("345678.87654321"); (new com.ibm.math.DiagBigDecimal.Test("cst020")).ok=((new com.ibm.math.BigDecimal("345678.8765432")).toString()).equals("345678.8765432"); (new com.ibm.math.DiagBigDecimal.Test("cst021")).ok=((new com.ibm.math.BigDecimal("+345678.8765432")).toString()).equals("345678.8765432"); (new com.ibm.math.DiagBigDecimal.Test("cst022")).ok=((new com.ibm.math.BigDecimal("+0345678.8765432")).toString()).equals("345678.8765432"); (new com.ibm.math.DiagBigDecimal.Test("cst023")).ok=((new com.ibm.math.BigDecimal("+00345678.8765432")).toString()).equals("345678.8765432"); (new com.ibm.math.DiagBigDecimal.Test("cst024")).ok=((new com.ibm.math.BigDecimal("-345678.8765432")).toString()).equals("-345678.8765432"); (new com.ibm.math.DiagBigDecimal.Test("cst025")).ok=((new com.ibm.math.BigDecimal("-0345678.8765432")).toString()).equals("-345678.8765432"); (new com.ibm.math.DiagBigDecimal.Test("cst026")).ok=((new com.ibm.math.BigDecimal("-00345678.8765432")).toString()).equals("-345678.8765432"); // exotics -- (new com.ibm.math.DiagBigDecimal.Test("cst035")).ok=((new com.ibm.math.BigDecimal("\u0e57.\u0e50")).toString()).equals("7.0"); (new com.ibm.math.DiagBigDecimal.Test("cst036")).ok=((new com.ibm.math.BigDecimal("\u0b66.\u0b67")).toString()).equals("0.1"); (new com.ibm.math.DiagBigDecimal.Test("cst037")).ok=((new com.ibm.math.BigDecimal("\u0b66\u0b66")).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("cst038")).ok=((new com.ibm.math.BigDecimal("\u0b6a\u0b66")).toString()).equals("40"); // strings with E (new com.ibm.math.DiagBigDecimal.Test("cst040")).ok=((new com.ibm.math.BigDecimal("1E+9")).toString()).equals("1E+9"); (new com.ibm.math.DiagBigDecimal.Test("cst041")).ok=((new com.ibm.math.BigDecimal("1e+09")).toString()).equals("1E+9"); (new com.ibm.math.DiagBigDecimal.Test("cst042")).ok=((new com.ibm.math.BigDecimal("1E+90")).toString()).equals("1E+90"); (new com.ibm.math.DiagBigDecimal.Test("cst043")).ok=((new com.ibm.math.BigDecimal("+1E+009")).toString()).equals("1E+9"); (new com.ibm.math.DiagBigDecimal.Test("cst044")).ok=((new com.ibm.math.BigDecimal("0E+9")).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("cst045")).ok=((new com.ibm.math.BigDecimal("1E+9")).toString()).equals("1E+9"); (new com.ibm.math.DiagBigDecimal.Test("cst046")).ok=((new com.ibm.math.BigDecimal("1E+09")).toString()).equals("1E+9"); (new com.ibm.math.DiagBigDecimal.Test("cst047")).ok=((new com.ibm.math.BigDecimal("1e+90")).toString()).equals("1E+90"); (new com.ibm.math.DiagBigDecimal.Test("cst048")).ok=((new com.ibm.math.BigDecimal("1E+009")).toString()).equals("1E+9"); (new com.ibm.math.DiagBigDecimal.Test("cst049")).ok=((new com.ibm.math.BigDecimal("0E+9")).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("cst050")).ok=((new com.ibm.math.BigDecimal("1E9")).toString()).equals("1E+9"); (new com.ibm.math.DiagBigDecimal.Test("cst051")).ok=((new com.ibm.math.BigDecimal("1e09")).toString()).equals("1E+9"); (new com.ibm.math.DiagBigDecimal.Test("cst052")).ok=((new com.ibm.math.BigDecimal("1E90")).toString()).equals("1E+90"); (new com.ibm.math.DiagBigDecimal.Test("cst053")).ok=((new com.ibm.math.BigDecimal("1E009")).toString()).equals("1E+9"); (new com.ibm.math.DiagBigDecimal.Test("cst054")).ok=((new com.ibm.math.BigDecimal("0E9")).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("cst055")).ok=((new com.ibm.math.BigDecimal("0.000e+0")).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("cst056")).ok=((new com.ibm.math.BigDecimal("0.000E-1")).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("cst057")).ok=((new com.ibm.math.BigDecimal("4E+9")).toString()).equals("4E+9"); (new com.ibm.math.DiagBigDecimal.Test("cst058")).ok=((new com.ibm.math.BigDecimal("44E+9")).toString()).equals("4.4E+10"); (new com.ibm.math.DiagBigDecimal.Test("cst059")).ok=((new com.ibm.math.BigDecimal("0.73e-7")).toString()).equals("7.3E-8"); (new com.ibm.math.DiagBigDecimal.Test("cst060")).ok=((new com.ibm.math.BigDecimal("00E+9")).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("cst061")).ok=((new com.ibm.math.BigDecimal("00E-9")).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("cst062")).ok=((new com.ibm.math.BigDecimal("10E+9")).toString()).equals("1.0E+10"); (new com.ibm.math.DiagBigDecimal.Test("cst063")).ok=((new com.ibm.math.BigDecimal("10E+09")).toString()).equals("1.0E+10"); (new com.ibm.math.DiagBigDecimal.Test("cst064")).ok=((new com.ibm.math.BigDecimal("10e+90")).toString()).equals("1.0E+91"); (new com.ibm.math.DiagBigDecimal.Test("cst065")).ok=((new com.ibm.math.BigDecimal("10E+009")).toString()).equals("1.0E+10"); (new com.ibm.math.DiagBigDecimal.Test("cst066")).ok=((new com.ibm.math.BigDecimal("100e+9")).toString()).equals("1.00E+11"); (new com.ibm.math.DiagBigDecimal.Test("cst067")).ok=((new com.ibm.math.BigDecimal("100e+09")).toString()).equals("1.00E+11"); (new com.ibm.math.DiagBigDecimal.Test("cst068")).ok=((new com.ibm.math.BigDecimal("100E+90")).toString()).equals("1.00E+92"); (new com.ibm.math.DiagBigDecimal.Test("cst069")).ok=((new com.ibm.math.BigDecimal("100e+009")).toString()).equals("1.00E+11"); (new com.ibm.math.DiagBigDecimal.Test("cst070")).ok=((new com.ibm.math.BigDecimal("1.265")).toString()).equals("1.265"); (new com.ibm.math.DiagBigDecimal.Test("cst071")).ok=((new com.ibm.math.BigDecimal("1.265E-20")).toString()).equals("1.265E-20"); (new com.ibm.math.DiagBigDecimal.Test("cst072")).ok=((new com.ibm.math.BigDecimal("1.265E-8")).toString()).equals("1.265E-8"); (new com.ibm.math.DiagBigDecimal.Test("cst073")).ok=((new com.ibm.math.BigDecimal("1.265E-4")).toString()).equals("1.265E-4"); (new com.ibm.math.DiagBigDecimal.Test("cst074")).ok=((new com.ibm.math.BigDecimal("1.265E-3")).toString()).equals("1.265E-3"); (new com.ibm.math.DiagBigDecimal.Test("cst075")).ok=((new com.ibm.math.BigDecimal("1.265E-2")).toString()).equals("1.265E-2"); (new com.ibm.math.DiagBigDecimal.Test("cst076")).ok=((new com.ibm.math.BigDecimal("1.265E-1")).toString()).equals("1.265E-1"); (new com.ibm.math.DiagBigDecimal.Test("cst077")).ok=((new com.ibm.math.BigDecimal("1.265E-0")).toString()).equals("1.265"); (new com.ibm.math.DiagBigDecimal.Test("cst078")).ok=((new com.ibm.math.BigDecimal("1.265E+1")).toString()).equals("1.265E+1"); (new com.ibm.math.DiagBigDecimal.Test("cst079")).ok=((new com.ibm.math.BigDecimal("1.265E+2")).toString()).equals("1.265E+2"); (new com.ibm.math.DiagBigDecimal.Test("cst080")).ok=((new com.ibm.math.BigDecimal("1.265E+3")).toString()).equals("1.265E+3"); (new com.ibm.math.DiagBigDecimal.Test("cst081")).ok=((new com.ibm.math.BigDecimal("1.265E+4")).toString()).equals("1.265E+4"); (new com.ibm.math.DiagBigDecimal.Test("cst082")).ok=((new com.ibm.math.BigDecimal("1.265E+8")).toString()).equals("1.265E+8"); (new com.ibm.math.DiagBigDecimal.Test("cst083")).ok=((new com.ibm.math.BigDecimal("1.265E+20")).toString()).equals("1.265E+20"); (new com.ibm.math.DiagBigDecimal.Test("cst090")).ok=((new com.ibm.math.BigDecimal("12.65")).toString()).equals("12.65"); (new com.ibm.math.DiagBigDecimal.Test("cst091")).ok=((new com.ibm.math.BigDecimal("12.65E-20")).toString()).equals("1.265E-19"); (new com.ibm.math.DiagBigDecimal.Test("cst092")).ok=((new com.ibm.math.BigDecimal("12.65E-8")).toString()).equals("1.265E-7"); (new com.ibm.math.DiagBigDecimal.Test("cst093")).ok=((new com.ibm.math.BigDecimal("12.65E-4")).toString()).equals("1.265E-3"); (new com.ibm.math.DiagBigDecimal.Test("cst094")).ok=((new com.ibm.math.BigDecimal("12.65E-3")).toString()).equals("1.265E-2"); (new com.ibm.math.DiagBigDecimal.Test("cst095")).ok=((new com.ibm.math.BigDecimal("12.65E-2")).toString()).equals("1.265E-1"); (new com.ibm.math.DiagBigDecimal.Test("cst096")).ok=((new com.ibm.math.BigDecimal("12.65E-1")).toString()).equals("1.265"); (new com.ibm.math.DiagBigDecimal.Test("cst097")).ok=((new com.ibm.math.BigDecimal("12.65E-0")).toString()).equals("1.265E+1"); (new com.ibm.math.DiagBigDecimal.Test("cst098")).ok=((new com.ibm.math.BigDecimal("12.65E+1")).toString()).equals("1.265E+2"); (new com.ibm.math.DiagBigDecimal.Test("cst099")).ok=((new com.ibm.math.BigDecimal("12.65E+2")).toString()).equals("1.265E+3"); (new com.ibm.math.DiagBigDecimal.Test("cst100")).ok=((new com.ibm.math.BigDecimal("12.65E+3")).toString()).equals("1.265E+4"); (new com.ibm.math.DiagBigDecimal.Test("cst101")).ok=((new com.ibm.math.BigDecimal("12.65E+4")).toString()).equals("1.265E+5"); (new com.ibm.math.DiagBigDecimal.Test("cst102")).ok=((new com.ibm.math.BigDecimal("12.65E+8")).toString()).equals("1.265E+9"); (new com.ibm.math.DiagBigDecimal.Test("cst103")).ok=((new com.ibm.math.BigDecimal("12.65E+20")).toString()).equals("1.265E+21"); (new com.ibm.math.DiagBigDecimal.Test("cst110")).ok=((new com.ibm.math.BigDecimal("126.5")).toString()).equals("126.5"); (new com.ibm.math.DiagBigDecimal.Test("cst111")).ok=((new com.ibm.math.BigDecimal("126.5E-20")).toString()).equals("1.265E-18"); (new com.ibm.math.DiagBigDecimal.Test("cst112")).ok=((new com.ibm.math.BigDecimal("126.5E-8")).toString()).equals("1.265E-6"); (new com.ibm.math.DiagBigDecimal.Test("cst113")).ok=((new com.ibm.math.BigDecimal("126.5E-4")).toString()).equals("1.265E-2"); (new com.ibm.math.DiagBigDecimal.Test("cst114")).ok=((new com.ibm.math.BigDecimal("126.5E-3")).toString()).equals("1.265E-1"); (new com.ibm.math.DiagBigDecimal.Test("cst115")).ok=((new com.ibm.math.BigDecimal("126.5E-2")).toString()).equals("1.265"); (new com.ibm.math.DiagBigDecimal.Test("cst116")).ok=((new com.ibm.math.BigDecimal("126.5E-1")).toString()).equals("1.265E+1"); (new com.ibm.math.DiagBigDecimal.Test("cst117")).ok=((new com.ibm.math.BigDecimal("126.5E-0")).toString()).equals("1.265E+2"); (new com.ibm.math.DiagBigDecimal.Test("cst118")).ok=((new com.ibm.math.BigDecimal("126.5E+1")).toString()).equals("1.265E+3"); (new com.ibm.math.DiagBigDecimal.Test("cst119")).ok=((new com.ibm.math.BigDecimal("126.5E+2")).toString()).equals("1.265E+4"); (new com.ibm.math.DiagBigDecimal.Test("cst120")).ok=((new com.ibm.math.BigDecimal("126.5E+3")).toString()).equals("1.265E+5"); (new com.ibm.math.DiagBigDecimal.Test("cst121")).ok=((new com.ibm.math.BigDecimal("126.5E+4")).toString()).equals("1.265E+6"); (new com.ibm.math.DiagBigDecimal.Test("cst122")).ok=((new com.ibm.math.BigDecimal("126.5E+8")).toString()).equals("1.265E+10"); (new com.ibm.math.DiagBigDecimal.Test("cst123")).ok=((new com.ibm.math.BigDecimal("126.5E+20")).toString()).equals("1.265E+22"); (new com.ibm.math.DiagBigDecimal.Test("cst130")).ok=((new com.ibm.math.BigDecimal("1265")).toString()).equals("1265"); (new com.ibm.math.DiagBigDecimal.Test("cst131")).ok=((new com.ibm.math.BigDecimal("1265E-20")).toString()).equals("1.265E-17"); (new com.ibm.math.DiagBigDecimal.Test("cst132")).ok=((new com.ibm.math.BigDecimal("1265E-8")).toString()).equals("1.265E-5"); (new com.ibm.math.DiagBigDecimal.Test("cst133")).ok=((new com.ibm.math.BigDecimal("1265E-4")).toString()).equals("1.265E-1"); (new com.ibm.math.DiagBigDecimal.Test("cst134")).ok=((new com.ibm.math.BigDecimal("1265E-3")).toString()).equals("1.265"); (new com.ibm.math.DiagBigDecimal.Test("cst135")).ok=((new com.ibm.math.BigDecimal("1265E-2")).toString()).equals("1.265E+1"); (new com.ibm.math.DiagBigDecimal.Test("cst136")).ok=((new com.ibm.math.BigDecimal("1265E-1")).toString()).equals("1.265E+2"); (new com.ibm.math.DiagBigDecimal.Test("cst137")).ok=((new com.ibm.math.BigDecimal("1265E-0")).toString()).equals("1.265E+3"); (new com.ibm.math.DiagBigDecimal.Test("cst138")).ok=((new com.ibm.math.BigDecimal("1265E+1")).toString()).equals("1.265E+4"); (new com.ibm.math.DiagBigDecimal.Test("cst139")).ok=((new com.ibm.math.BigDecimal("1265E+2")).toString()).equals("1.265E+5"); (new com.ibm.math.DiagBigDecimal.Test("cst140")).ok=((new com.ibm.math.BigDecimal("1265E+3")).toString()).equals("1.265E+6"); (new com.ibm.math.DiagBigDecimal.Test("cst141")).ok=((new com.ibm.math.BigDecimal("1265E+4")).toString()).equals("1.265E+7"); (new com.ibm.math.DiagBigDecimal.Test("cst142")).ok=((new com.ibm.math.BigDecimal("1265E+8")).toString()).equals("1.265E+11"); (new com.ibm.math.DiagBigDecimal.Test("cst143")).ok=((new com.ibm.math.BigDecimal("1265E+20")).toString()).equals("1.265E+23"); (new com.ibm.math.DiagBigDecimal.Test("cst150")).ok=((new com.ibm.math.BigDecimal("0.1265")).toString()).equals("0.1265"); (new com.ibm.math.DiagBigDecimal.Test("cst151")).ok=((new com.ibm.math.BigDecimal("0.1265E-20")).toString()).equals("1.265E-21"); (new com.ibm.math.DiagBigDecimal.Test("cst152")).ok=((new com.ibm.math.BigDecimal("0.1265E-8")).toString()).equals("1.265E-9"); (new com.ibm.math.DiagBigDecimal.Test("cst153")).ok=((new com.ibm.math.BigDecimal("0.1265E-4")).toString()).equals("1.265E-5"); (new com.ibm.math.DiagBigDecimal.Test("cst154")).ok=((new com.ibm.math.BigDecimal("0.1265E-3")).toString()).equals("1.265E-4"); (new com.ibm.math.DiagBigDecimal.Test("cst155")).ok=((new com.ibm.math.BigDecimal("0.1265E-2")).toString()).equals("1.265E-3"); (new com.ibm.math.DiagBigDecimal.Test("cst156")).ok=((new com.ibm.math.BigDecimal("0.1265E-1")).toString()).equals("1.265E-2"); (new com.ibm.math.DiagBigDecimal.Test("cst157")).ok=((new com.ibm.math.BigDecimal("0.1265E-0")).toString()).equals("1.265E-1"); (new com.ibm.math.DiagBigDecimal.Test("cst158")).ok=((new com.ibm.math.BigDecimal("0.1265E+1")).toString()).equals("1.265"); (new com.ibm.math.DiagBigDecimal.Test("cst159")).ok=((new com.ibm.math.BigDecimal("0.1265E+2")).toString()).equals("1.265E+1"); (new com.ibm.math.DiagBigDecimal.Test("cst160")).ok=((new com.ibm.math.BigDecimal("0.1265E+3")).toString()).equals("1.265E+2"); (new com.ibm.math.DiagBigDecimal.Test("cst161")).ok=((new com.ibm.math.BigDecimal("0.1265E+4")).toString()).equals("1.265E+3"); (new com.ibm.math.DiagBigDecimal.Test("cst162")).ok=((new com.ibm.math.BigDecimal("0.1265E+8")).toString()).equals("1.265E+7"); (new com.ibm.math.DiagBigDecimal.Test("cst163")).ok=((new com.ibm.math.BigDecimal("0.1265E+20")).toString()).equals("1.265E+19"); (new com.ibm.math.DiagBigDecimal.Test("cst170")).ok=((new com.ibm.math.BigDecimal("0.09e999999999")).toString()).equals("9E+999999997"); (new com.ibm.math.DiagBigDecimal.Test("cst171")).ok=((new com.ibm.math.BigDecimal("0.9e999999999")).toString()).equals("9E+999999998"); (new com.ibm.math.DiagBigDecimal.Test("cst172")).ok=((new com.ibm.math.BigDecimal("9e999999999")).toString()).equals("9E+999999999"); (new com.ibm.math.DiagBigDecimal.Test("cst173")).ok=((new com.ibm.math.BigDecimal("9.9e999999999")).toString()).equals("9.9E+999999999"); (new com.ibm.math.DiagBigDecimal.Test("cst174")).ok=((new com.ibm.math.BigDecimal("9.99e999999999")).toString()).equals("9.99E+999999999"); (new com.ibm.math.DiagBigDecimal.Test("cst175")).ok=((new com.ibm.math.BigDecimal("9.99e-999999999")).toString()).equals("9.99E-999999999"); (new com.ibm.math.DiagBigDecimal.Test("cst176")).ok=((new com.ibm.math.BigDecimal("9.9e-999999999")).toString()).equals("9.9E-999999999"); (new com.ibm.math.DiagBigDecimal.Test("cst177")).ok=((new com.ibm.math.BigDecimal("9e-999999999")).toString()).equals("9E-999999999"); (new com.ibm.math.DiagBigDecimal.Test("cst179")).ok=((new com.ibm.math.BigDecimal("99e-999999999")).toString()).equals("9.9E-999999998"); (new com.ibm.math.DiagBigDecimal.Test("cst180")).ok=((new com.ibm.math.BigDecimal("999e-999999999")).toString()).equals("9.99E-999999997"); // baddies -- badstrings=new java.lang.String[]{"1..2",".","..","++1","--1","-+1","+-1","12e","12e++","12f4"," +1","+ 1","12 "," + 1"," - 1 ","x","-1-","12-","3+","","1e-","7e1000000000","","e100","\u0e5a","\u0b65","99e999999999","999e999999999","0.9e-999999999","0.09e-999999999","0.1e1000000000","10e-1000000000","0.9e9999999999","99e-9999999999","111e9999999999","1111e-9999999999"+" "+"111e*123","111e123-","111e+12+","111e1-3-","111e1*23","111e1e+3","1e1.0","1e123e","ten","ONE","1e.1","1e1.","1ee","e+1"}; // 200-203 // 204-207 // 208-211 // 211-214 // 215-219 // 220-222 // 223-224 // 225-226 // 227-228 // 229-230 // 231-232 // 233-234 // 235-237 // 238-240 // 241-244 // 245-248 // watch out for commas on continuation lines {int $16=badstrings.length;i=0;i:for(;$16>0;$16--,i++){ try{ new com.ibm.math.BigDecimal(badstrings[i]); say(">>> cst"+(200+i)+":"+" "+badstrings[i]+" "+(new com.ibm.math.BigDecimal(badstrings[i])).toString()); flag=false; } catch (java.lang.NumberFormatException $17){ flag=true; } (new com.ibm.math.DiagBigDecimal.Test("cst"+(200+i))).ok=flag; } }/*i*/ try{checknull:do{ new com.ibm.math.BigDecimal((java.lang.String)null); flag=false; }while(false);} catch (java.lang.NullPointerException $18){ flag=true; }/*checknull*/ (new com.ibm.math.DiagBigDecimal.Test("cst301")).ok=flag; summary("Constructors"); return; } | 5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/9d7cfece10981dede4d5303274403593abc1a92d/DiagBigDecimal.java/clean/icu4j/src/com/ibm/icu/dev/test/bigdec/DiagBigDecimal.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
1071,
918,
6643,
10062,
1383,
1435,
95,
225,
1250,
2982,
33,
5743,
31,
225,
2252,
18,
4936,
18,
780,
818,
31,
225,
2252,
18,
15949,
18,
24198,
324,
625,
31,
225,
2252,
18,
15949,
18,
24198,
324,
452,
31,
225,
2252,
18,
15949,
18,
24198,
4158,
31,
225,
532,
18,
10827,
18,
15949,
18,
29436,
324,
2414,
31,
225,
532,
18,
10827,
18,
15949,
18,
29436,
324,
1966,
31,
225,
532,
18,
10827,
18,
15949,
18,
29436,
324,
13952,
31,
225,
532,
18,
10827,
18,
15949,
18,
29436,
13817,
31,
225,
532,
18,
10827,
18,
15949,
18,
29436,
324,
3501,
31,
225,
2252,
18,
4936,
18,
11949,
425,
33,
2011,
31,
225,
1149,
3474,
8526,
31,
225,
1645,
302,
24355,
31,
225,
1645,
302,
917,
31,
225,
1645,
8800,
1332,
31,
225,
1645,
302,
917,
25,
31,
225,
1645,
8800,
1332,
25,
31,
225,
1645,
302,
1154,
31,
225,
1645,
302,
1896,
31,
225,
1645,
302,
31,
225,
2252,
18,
4936,
18,
780,
5570,
10219,
8526,
31,
225,
509,
277,
33,
20,
31,
565,
368,
6810,
306,
3845,
1230,
17,
11777,
19874,
65,
225,
261,
2704,
532,
18,
10827,
18,
15949,
18,
14058,
29436,
18,
4709,
2932,
591,
11664,
7923,
2934,
601,
28657,
832,
18,
10827,
18,
15949,
18,
29436,
18,
24968,
18,
10492,
1435,
2934,
14963,
2932,
20,
8863,
225,
261,
2704,
532,
18,
10827,
18,
15949,
18,
14058,
29436,
18,
4709,
2932,
591,
24908,
7923,
2934,
601,
28657,
832,
18,
10827,
18,
15949,
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,
1071,
918,
6643,
10062,
1383,
1435,
95,
225,
1250,
2982,
33,
5743,
31,
225,
2252,
18,
4936,
18,
780,
818,
31,
225,
2252,
18,
15949,
18,
24198,
324,
625,
31,
225,
2252,
18,
15949,
18,
24198,
324,
452,
31,
225,
2252,
18,
15949,
18,
24198,
4158,
31,
225,
532,
18,
10827,
18,
15949,
18,
29436,
324,
2414,
31,
225,
532,
18,
10827,
18,
15949,
18,
29436,
324,
1966,
31,
225,
532,
18,
10827,
18,
15949,
18,
29436,
324,
13952,
31,
225,
532,
18,
10827,
18,
15949,
18,
29436,
13817,
31,
225,
532,
18,
10827,
18,
15949,
18,
29436,
324,
3501,
31,
225,
2252,
18,
4936,
18,
11949,
425,
33,
2011,
31,
225,
1149,
3474,
8526,
31,
225,
1645,
2
] |
eq.setText("="); | private void applyChanges() { Vector identifiersContainingEqualSigns = new Vector(); Vector identifiersStarred = new Vector(); for (int i = 0; i < tokenStream.size(); i++) { Token t = (Token)tokenStream.elementAt(i); if (canBeIdentifier(t) && !retainAsKeyword[i]) { t.setTerminal(Terminal.T_IDENT); if (endsWithEquals(t)) identifiersContainingEqualSigns.add(new Integer(i)); } else if (isStarredType(t) && !retainAsKeyword[i]) { t.setTerminal(Terminal.T_IDENT); identifiersStarred.add(new Integer(i)); } } // If, say, "len=" was changed into an identifier, split it into // two tokens: the identifier "len" and the equals token for (int j = 0; j < identifiersContainingEqualSigns.size(); j++) { // i is the position of the "xyz=" token in tokenStream int i = ((Integer)identifiersContainingEqualSigns.elementAt(j)).intValue(); // t is the "xyz=" token: split it Token t = (Token)tokenStream.elementAt(i); Token afterT = (i < tokenStream.size()-1 ? (Token)tokenStream.elementAt(i+1) : null); String textWithoutEquals = t.getText().substring(0, t.getText().length()-1); String tokenText = textWithoutEquals.trim(); String whiteAfter = textWithoutEquals.substring(tokenText.length()); //int numCharsRemoved = t.getTokenText().length() - textWithoutEquals.length(); //if (afterT != null && afterT.getTerminal() == Terminal.T_EQUALS && afterT.getStartCol() == t.getEndCol()+1) if (afterT != null && afterT.getTerminal() == Terminal.T_EQUALS && t.getWhiteAfter().equals("") && afterT.getWhiteBefore().equals("")) { // split "xyz=" "=" into "xyz" "==" afterT.setTerminal(Terminal.T_EQEQ); //afterT.setStartCol(afterT.getStartCol()-1); //afterT.setOffset(afterT.getOffset()-1); //afterT.setLength(afterT.getLength()+1); afterT.setText("=="); t.setText(tokenText); t.setWhiteAfter(whiteAfter); //t.setEndCol(t.getEndCol() - numCharsRemoved); //t.setLength(t.getLength() - numCharsRemoved); } else { // split "xyz=" into "xyz" "=" Token eq = new Token(); eq.setTerminal(Terminal.T_EQUALS); //eq.setFilename(t.getFilename()); //eq.setStartLine(t.getEndLine()); //eq.setStartCol(t.getEndCol()); //eq.setEndLine(t.getEndLine()); //eq.setEndCol(t.getEndCol()); //eq.setOffset(t.getOffset() + t.getLength() - 1); //eq.setLength(1); eq.setText("="); t.setText(tokenText); t.setWhiteAfter(whiteAfter); //t.setEndCol(t.getEndCol() - numCharsRemoved); //t.setLength(t.getLength() - numCharsRemoved); lengths.setElementAt(new Integer(tokenText.length()), i+j); // i+j since we might have inserted some equal signs earlier, 1 to insert after tokenStream.insertElementAt(eq, i+j+1); lineNumbers.insertElementAt(lineNumbers.get(i+j), i+j+1); colNumbers.insertElementAt(new Integer(((Integer)colNumbers.get(i+j)).intValue()+textWithoutEquals.length()), i+j+1); offsets.insertElementAt(new Integer(((Integer)offsets.get(i+j)).intValue()+textWithoutEquals.length()), i+j+1); lengths.insertElementAt(new Integer(1), i+j+1); } } // If, say, "integer*3" was changed into an identifier, split it into // three tokens: the identifier "integer", the asterisk, and the number 3 for (int j = 0; j < identifiersStarred.size(); j++) { // i is the position of the "integer*3" token in tokenStream int i = ((Integer)identifiersStarred.elementAt(j)).intValue(); // t is the "integer*3" token: split it Token t = (Token)tokenStream.elementAt(i); int starPos = t.getText().indexOf("*"); String textBeforeStar = t.getText().substring(0, starPos); String textAfterStar = t.getText().substring(starPos+1, t.getText().length()); //int numCharsRemoved = t.getTokenText().length() - textAfterStar.length() - 1; // split "integer*3" into "integer" "*" "3" Token star = new Token(); star.setTerminal(Terminal.T_ASTERISK); //star.setFilename(t.getFilename()); //star.setStartLine(t.getEndLine()); //star.setEndLine(t.getEndLine()); //star.setStartCol(t.getEndCol() - textAfterStar.length()); //star.setEndCol(t.getEndCol() - textAfterStar.length()); //star.setOffset(t.getOffset() + textBeforeStar.length()); //star.setLength(1); star.setText("*"); Token num = new Token(); num.setTerminal(Terminal.T_ICON); //num.setFilename(t.getFilename()); //num.setStartLine(star.getEndLine()); //num.setStartCol(star.getEndCol() + 1); //num.setEndLine(num.getStartLine()); //num.setEndCol(num.getStartCol() + textAfterStar.length() - 1); //num.setOffset(star.getOffset() + 1); //num.setLength(textAfterStar.length()); num.setText(textAfterStar); t.setText(textBeforeStar); //t.setEndCol(t.getEndCol() - numCharsRemoved); //t.setLength(t.getLength() - numCharsRemoved); lengths.setElementAt(new Integer(textBeforeStar.length()), i+(2*j)); // i+(2*j) since we might have inserted some asterisks and integers earlier, 1 to insert after tokenStream.insertElementAt(star, i+(2*j)+1); lineNumbers.insertElementAt(lineNumbers.get(i+(2*j)), i+(2*j)+1); colNumbers.insertElementAt(new Integer(((Integer)colNumbers.get(i+(2*j))).intValue()+textBeforeStar.length()), i+(2*j)+1); offsets.insertElementAt(new Integer(((Integer)offsets.get(i+(2*j))).intValue()+textBeforeStar.length()), i+(2*j)+1); lengths.insertElementAt(new Integer(1), i+(2*j)+1); tokenStream.insertElementAt(num, i+(2*j)+2); lineNumbers.insertElementAt(lineNumbers.get(i+(2*j)+1), i+(2*j)+2); colNumbers.insertElementAt(new Integer(((Integer)colNumbers.get(i+(2*j)+1)).intValue()+textBeforeStar.length()+1), i+(2*j)+2); offsets.insertElementAt(new Integer(((Integer)offsets.get(i+(2*j)+1)).intValue()+textBeforeStar.length()+1), i+(2*j)+2); lengths.insertElementAt(new Integer(1), i+(2*j)+2); } } | 2979 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2979/4418cdf6c5f7778c374fff1dc81b5c223e5d39c4/FreeFormLexerPhase2.java/buggy/org.eclipse.photran.core/parser/org/eclipse/photran/internal/core/lexer/FreeFormLexerPhase2.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2230,
7173,
1435,
565,
288,
3639,
5589,
9863,
24344,
5812,
2766,
87,
273,
394,
5589,
5621,
3639,
5589,
9863,
18379,
1118,
273,
394,
5589,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1147,
1228,
18,
1467,
5621,
277,
27245,
3639,
288,
5411,
3155,
268,
273,
261,
1345,
13,
2316,
1228,
18,
2956,
861,
12,
77,
1769,
5411,
309,
261,
4169,
1919,
3004,
12,
88,
13,
597,
401,
1349,
530,
1463,
8736,
63,
77,
5717,
5411,
288,
7734,
268,
18,
542,
11336,
12,
11336,
18,
56,
67,
13355,
1769,
7734,
309,
261,
5839,
1190,
8867,
12,
88,
3719,
10792,
9863,
24344,
5812,
2766,
87,
18,
1289,
12,
2704,
2144,
12,
77,
10019,
5411,
289,
5411,
469,
309,
261,
291,
18379,
1118,
559,
12,
88,
13,
597,
401,
1349,
530,
1463,
8736,
63,
77,
5717,
5411,
288,
7734,
268,
18,
542,
11336,
12,
11336,
18,
56,
67,
13355,
1769,
7734,
9863,
18379,
1118,
18,
1289,
12,
2704,
2144,
12,
77,
10019,
5411,
289,
3639,
289,
3639,
368,
971,
16,
12532,
16,
315,
1897,
1546,
1703,
3550,
1368,
392,
2756,
16,
1416,
518,
1368,
3639,
368,
2795,
2430,
30,
326,
2756,
315,
1897,
6,
471,
326,
1606,
1147,
3639,
364,
261,
474,
525,
273,
374,
31,
525,
411,
9863,
24344,
5812,
2766,
87,
18,
1467,
5621,
525,
27245,
3639,
288,
5411,
368,
277,
353,
326,
1754,
434,
326,
315,
17177,
1546,
1147,
316,
1147,
1228,
5411,
509,
277,
273,
14015,
4522,
13,
20218,
24344,
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,
2230,
7173,
1435,
565,
288,
3639,
5589,
9863,
24344,
5812,
2766,
87,
273,
394,
5589,
5621,
3639,
5589,
9863,
18379,
1118,
273,
394,
5589,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1147,
1228,
18,
1467,
5621,
277,
27245,
3639,
288,
5411,
3155,
268,
273,
261,
1345,
13,
2316,
1228,
18,
2956,
861,
12,
77,
1769,
5411,
309,
261,
4169,
1919,
3004,
12,
88,
13,
597,
401,
1349,
530,
1463,
8736,
63,
77,
5717,
5411,
288,
7734,
268,
18,
542,
11336,
12,
11336,
18,
56,
67,
13355,
1769,
7734,
309,
261,
5839,
1190,
8867,
12,
88,
3719,
10792,
9863,
24344,
5812,
2766,
87,
18,
1289,
12,
2704,
2144,
12,
77,
10019,
5411,
289,
2
] |
|
public static /*@pure@*/ int[] sort(/*@non_null@*/ double [] array) { | public static /*@pure@*/ int[] sort(int [] array) { | public static /*@pure@*/ int[] sort(/*@non_null@*/ double [] array) { int [] index = new int[array.length]; array = (double [])array.clone(); for (int i = 0; i < index.length; i++) { index[i] = i; if (Double.isNaN(array[i])) { array[i] = Double.MAX_VALUE; } } quickSort(array, index, 0, array.length - 1); return index; } | 6866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6866/2ad1f67baf6f30d300e18ce48f324c56c71c3c37/Utils.java/buggy/core/Utils.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
1748,
36,
84,
594,
36,
5549,
509,
8526,
1524,
12,
474,
5378,
526,
13,
288,
565,
509,
5378,
770,
273,
394,
509,
63,
1126,
18,
2469,
15533,
565,
526,
273,
261,
9056,
5378,
13,
1126,
18,
14056,
5621,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
770,
18,
2469,
31,
277,
27245,
288,
1377,
770,
63,
77,
65,
273,
277,
31,
1377,
309,
261,
5265,
18,
291,
21172,
12,
1126,
63,
77,
22643,
288,
3639,
526,
63,
77,
65,
273,
3698,
18,
6694,
67,
4051,
31,
1377,
289,
565,
289,
565,
9549,
4416,
12,
1126,
16,
770,
16,
374,
16,
526,
18,
2469,
300,
404,
1769,
565,
327,
770,
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,
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
13,
288,
565,
509,
5378,
770,
273,
394,
509,
63,
1126,
18,
2469,
15533,
565,
526,
273,
261,
9056,
5378,
13,
1126,
18,
14056,
5621,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
770,
18,
2469,
31,
277,
27245,
288,
1377,
770,
63,
77,
65,
273,
277,
31,
1377,
309,
261,
5265,
18,
291,
21172,
12,
1126,
63,
77,
22643,
288,
3639,
526,
63,
77,
65,
273,
3698,
18,
6694,
67,
4051,
31,
1377,
289,
565,
289,
565,
9549,
4416,
12,
1126,
16,
770,
16,
374,
16,
526,
18,
2469,
300,
404,
1769,
565,
327,
770,
31,
225,
289,
2,
-100,
-100
] |
return this.getSession().createQuery(queryString); | return this.getDelegatedSession().createQuery(queryString); | public Query createQuery(String queryString) throws HibernateException { try { return this.getSession().createQuery(queryString); } catch (HibernateException ex) { this.invalidateSession(); throw this.handleException(ex); } } | 9344 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9344/8a6aedd245de4f4ab4eb9c668d2f41d33c4c057a/SessionDelegator.java/buggy/trunk/java/hibernate3/src/java/org/nanocontainer/hibernate3/SessionDelegator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2770,
17698,
12,
780,
11337,
13,
1216,
670,
24360,
503,
288,
3639,
775,
288,
5411,
327,
333,
18,
588,
15608,
690,
2157,
7675,
2640,
1138,
12,
2271,
780,
1769,
3639,
289,
1044,
261,
44,
24360,
503,
431,
13,
288,
5411,
333,
18,
5387,
340,
2157,
5621,
5411,
604,
333,
18,
4110,
503,
12,
338,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2770,
17698,
12,
780,
11337,
13,
1216,
670,
24360,
503,
288,
3639,
775,
288,
5411,
327,
333,
18,
588,
15608,
690,
2157,
7675,
2640,
1138,
12,
2271,
780,
1769,
3639,
289,
1044,
261,
44,
24360,
503,
431,
13,
288,
5411,
333,
18,
5387,
340,
2157,
5621,
5411,
604,
333,
18,
4110,
503,
12,
338,
1769,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
} else { | } else if (obj != null) { | public Long getLong(final int _index) { Long ret = null; Object obj = getObject(_index); if (obj instanceof Number) { ret = ((Number) obj).longValue(); } else { ret = Long.parseLong(obj.toString()); } return ret; } | 50266 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50266/19d0d01f4076902f3da0b154d63f99ce284cc3e7/CachedResult.java/clean/kernel/src/main/java/org/efaps/db/query/CachedResult.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3407,
11105,
12,
6385,
509,
389,
1615,
13,
225,
288,
565,
3407,
325,
273,
446,
31,
565,
1033,
1081,
273,
6455,
24899,
1615,
1769,
565,
309,
261,
2603,
1276,
3588,
13,
225,
288,
1377,
325,
273,
14015,
1854,
13,
1081,
2934,
5748,
620,
5621,
565,
289,
469,
309,
261,
2603,
480,
446,
13,
225,
288,
1377,
325,
273,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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,
282,
1071,
3407,
11105,
12,
6385,
509,
389,
1615,
13,
225,
288,
565,
3407,
325,
273,
446,
31,
565,
1033,
1081,
273,
6455,
24899,
1615,
1769,
565,
309,
261,
2603,
1276,
3588,
13,
225,
288,
1377,
325,
273,
14015,
1854,
13,
1081,
2934,
5748,
620,
5621,
565,
289,
469,
309,
261,
2603,
480,
446,
13,
225,
288,
1377,
325,
273,
3407,
18,
2670,
3708,
12,
2603,
18,
10492,
10663,
565,
289,
565,
327,
325,
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
] |
&& (getBufferCount() == 0 || jEdit.getBooleanProperty("restore.cli")); | && (getBufferCount() == 0 || jEdit.getBooleanProperty("restore.cli")); | private static void finishStartup(final boolean gui, final boolean restore, final String userDir, final String[] args) { SwingUtilities.invokeLater(new Runnable() { public void run() { Buffer buffer = openFiles(null,userDir,args); View view = null; boolean restoreFiles = restore && jEdit.getBooleanProperty("restore") && (getBufferCount() == 0 || jEdit.getBooleanProperty("restore.cli")); if(gui || getBufferCount() != 0) { view = PerspectiveManager.loadPerspective(restoreFiles); if(getBufferCount() == 0) buffer = newFile(null); if(view == null) view = newView(null,buffer); else if(buffer != null) view.setBuffer(buffer); } // Start I/O threads EditBus.send(new EditorStarted(null)); VFSManager.start(); // Start edit server if(server != null) server.start(); GUIUtilities.hideSplashScreen(); Log.log(Log.MESSAGE,jEdit.class,"Startup " + "complete"); //{{{ Report any plugin errors if(pluginErrors != null) { showPluginErrorDialog(); } //}}} startupDone = true; // in one case not a single AWT class will // have been touched (splash screen off + // -nogui -nobackground switches on command // line) Toolkit.getDefaultToolkit(); } }); } //}}} | 8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/6028db306a1e52b22690da6fb3892ee9f8dee3ea/jEdit.java/buggy/org/gjt/sp/jedit/jEdit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
4076,
22178,
12,
6385,
1250,
13238,
16,
727,
1250,
5217,
16,
202,
202,
6385,
514,
729,
1621,
16,
727,
514,
8526,
833,
13,
202,
95,
202,
202,
6050,
310,
11864,
18,
14407,
20607,
12,
2704,
10254,
1435,
288,
1082,
202,
482,
918,
1086,
1435,
1082,
202,
95,
9506,
202,
1892,
1613,
273,
1696,
2697,
12,
2011,
16,
1355,
1621,
16,
1968,
1769,
9506,
202,
1767,
1476,
273,
446,
31,
9506,
202,
6494,
5217,
2697,
273,
5217,
6862,
202,
10,
10,
525,
4666,
18,
588,
5507,
1396,
2932,
13991,
7923,
6862,
202,
10,
10,
261,
588,
1892,
1380,
1435,
422,
374,
6862,
202,
20081,
525,
4666,
18,
588,
5507,
1396,
2932,
13991,
18,
4857,
7923,
1769,
9506,
202,
430,
12,
20292,
747,
22238,
1380,
1435,
480,
374,
13,
9506,
202,
95,
6862,
202,
1945,
273,
453,
414,
16772,
1318,
18,
945,
14781,
16772,
12,
13991,
2697,
1769,
6862,
202,
430,
12,
588,
1892,
1380,
1435,
422,
374,
13,
25083,
202,
4106,
273,
20592,
12,
2011,
1769,
6862,
202,
430,
12,
1945,
422,
446,
13,
25083,
202,
1945,
273,
394,
1767,
12,
2011,
16,
4106,
1769,
6862,
202,
12107,
309,
12,
4106,
480,
446,
13,
25083,
202,
1945,
18,
542,
1892,
12,
4106,
1769,
9506,
202,
97,
9506,
202,
759,
3603,
467,
19,
51,
7403,
9506,
202,
4666,
7086,
18,
4661,
12,
2704,
18451,
9217,
12,
2011,
10019,
9506,
202,
58,
4931,
1318,
18,
1937,
5621,
9506,
202,
759,
3603,
3874,
1438,
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,
760,
918,
4076,
22178,
12,
6385,
1250,
13238,
16,
727,
1250,
5217,
16,
202,
202,
6385,
514,
729,
1621,
16,
727,
514,
8526,
833,
13,
202,
95,
202,
202,
6050,
310,
11864,
18,
14407,
20607,
12,
2704,
10254,
1435,
288,
1082,
202,
482,
918,
1086,
1435,
1082,
202,
95,
9506,
202,
1892,
1613,
273,
1696,
2697,
12,
2011,
16,
1355,
1621,
16,
1968,
1769,
9506,
202,
1767,
1476,
273,
446,
31,
9506,
202,
6494,
5217,
2697,
273,
5217,
6862,
202,
10,
10,
525,
4666,
18,
588,
5507,
1396,
2932,
13991,
7923,
6862,
202,
10,
10,
261,
588,
1892,
1380,
1435,
422,
374,
6862,
202,
20081,
525,
4666,
18,
588,
5507,
1396,
2932,
13991,
18,
4857,
7923,
2
] |
public abstract void put (String name, int value); | public abstract void put (String name, boolean value); | public abstract void put (String name, int value); | 45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/02b8175ac4316ed7d6d5043de356955872dd3172/ObjectOutputStream.java/buggy/libraries/javalib/java/io/ObjectOutputStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8770,
918,
1378,
261,
780,
508,
16,
509,
460,
1769,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8770,
918,
1378,
261,
780,
508,
16,
509,
460,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return tagify("TT", null, null); | return tagify("tt", null, null); | private String jsFunction_fixed() { return tagify("TT", null, null); } | 12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/e4c32e2c7bcbcebcd19b29115abbd924e9039485/NativeString.java/buggy/js/rhino/src/org/mozilla/javascript/NativeString.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
3828,
2083,
67,
12429,
1435,
288,
3639,
327,
1047,
1164,
2932,
748,
3113,
446,
16,
446,
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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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
3828,
2083,
67,
12429,
1435,
288,
3639,
327,
1047,
1164,
2932,
748,
3113,
446,
16,
446,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
} | } | public void writeFile(String filename, String exportpoint, byte[] content) { File discFile = new File(absoluteName(filename, exportpoint)); try { OutputStream s = new FileOutputStream(discFile); s.write(content); s.close(); } catch (Exception e) { if (OpenCms.getLog(this).isErrorEnabled()) { OpenCms.getLog(this).error("Couldn't write to export point file " + discFile.getAbsolutePath(), e); } } } | 51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/a7ffa3c192d7068f584b0a3a844b88bdb2d3145a/CmsExportPointDriver.java/clean/src/org/opencms/db/CmsExportPointDriver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
13286,
12,
780,
1544,
16,
514,
3359,
1153,
16,
1160,
8526,
913,
13,
288,
3639,
1387,
19169,
812,
273,
394,
1387,
12,
12547,
461,
12,
3459,
16,
3359,
1153,
10019,
3639,
775,
288,
5411,
8962,
272,
273,
394,
12942,
12,
2251,
71,
812,
1769,
5411,
272,
18,
2626,
12,
1745,
1769,
5411,
272,
18,
4412,
5621,
3639,
289,
1044,
261,
503,
425,
13,
288,
5411,
309,
261,
3678,
4747,
18,
588,
1343,
12,
2211,
2934,
291,
668,
1526,
10756,
288,
7734,
10319,
18,
588,
1343,
12,
2211,
2934,
1636,
2932,
16342,
1404,
1045,
358,
3359,
1634,
585,
315,
397,
19169,
812,
18,
588,
10368,
743,
9334,
425,
1769,
5411,
289,
6647,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
13286,
12,
780,
1544,
16,
514,
3359,
1153,
16,
1160,
8526,
913,
13,
288,
3639,
1387,
19169,
812,
273,
394,
1387,
12,
12547,
461,
12,
3459,
16,
3359,
1153,
10019,
3639,
775,
288,
5411,
8962,
272,
273,
394,
12942,
12,
2251,
71,
812,
1769,
5411,
272,
18,
2626,
12,
1745,
1769,
5411,
272,
18,
4412,
5621,
3639,
289,
1044,
261,
503,
425,
13,
288,
5411,
309,
261,
3678,
4747,
18,
588,
1343,
12,
2211,
2934,
291,
668,
1526,
10756,
288,
7734,
10319,
18,
588,
1343,
12,
2211,
2934,
1636,
2932,
16342,
1404,
1045,
358,
3359,
1634,
585,
315,
397,
19169,
812,
18,
588,
10368,
743,
9334,
425,
1769,
5411,
289,
6647,
289,
565,
289,
2,
-100,
-100
] |
if (hasStaticInitializer(field)) { | if(hasStaticInitializer(field)){ | private SerialVersionUIDBuilder(PsiClass clazz) { this.clazz = clazz; nonPrivateMethods = new HashSet(); final PsiMethod[] methods = clazz.getMethods(); for (int i = 0; i < methods.length; i++) { final PsiMethod method = methods[i]; if (!method.isConstructor() && !method.hasModifierProperty(PsiModifier.PRIVATE)) { final MemberSignature methodSignature = new MemberSignature(method); nonPrivateMethods.add(methodSignature); } } nonPrivateFields = new HashSet(); final PsiField[] fields = clazz.getFields(); for (int i = 0; i < fields.length; i++) { final PsiField field = fields[i]; if (!field.hasModifierProperty(PsiModifier.PRIVATE) || !(field.hasModifierProperty(PsiModifier.STATIC) | field.hasModifierProperty(PsiModifier.TRANSIENT))) { final MemberSignature fieldSignature = new MemberSignature(field); nonPrivateFields.add(fieldSignature); } } staticInitializers = new ArrayList(); final PsiClassInitializer[] initializers = clazz.getInitializers(); if (initializers.length > 0) { for (int i = 0; i < initializers.length; i++) { final PsiClassInitializer initializer = initializers[i]; final PsiModifierList modifierList = initializer.getModifierList(); if (modifierList.hasModifierProperty(PsiModifier.STATIC)) { final MemberSignature initializerSignature = MemberSignature.getStaticInitializerMemberSignature(); staticInitializers.add(initializerSignature); break; } } } if (staticInitializers.isEmpty()) { final PsiField[] psiFields = clazz.getFields(); for (int i = 0; i < psiFields.length; i++) { final PsiField field = psiFields[i]; if (hasStaticInitializer(field)) { final MemberSignature initializerSignature = MemberSignature.getStaticInitializerMemberSignature(); staticInitializers.add(initializerSignature); break; } } } nonPrivateConstructors = new HashSet(); final PsiMethod[] constructors = clazz.getConstructors(); if (constructors.length == 0 && !clazz.isInterface()) { // generated empty constructor if no constructor is defined in the source final MemberSignature constructorSignature; if (clazz.hasModifierProperty(PsiModifier.PUBLIC)) { constructorSignature = MemberSignature.getPublicConstructor(); } else { constructorSignature = MemberSignature.getPackagePrivateConstructor(); } nonPrivateConstructors.add(constructorSignature); } for (int i = 0; i < constructors.length; i++) { final PsiMethod constructor = constructors[i]; if (!constructor.hasModifierProperty(PsiModifier.PRIVATE)) { final MemberSignature constructorSignature = new MemberSignature(constructor); nonPrivateConstructors.add(constructorSignature); } } } | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/dba8b183fc1b08e7ad664812bfc0c64d1e4abd3c/SerialVersionUIDBuilder.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/fixes/SerialVersionUIDBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
7366,
1444,
3060,
1263,
12,
52,
7722,
797,
4003,
13,
565,
288,
3639,
333,
18,
830,
3638,
273,
4003,
31,
3639,
1661,
6014,
4712,
273,
394,
6847,
5621,
3639,
727,
453,
7722,
1305,
8526,
2590,
273,
4003,
18,
588,
4712,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
2590,
18,
2469,
31,
277,
27245,
3639,
288,
5411,
727,
453,
7722,
1305,
707,
273,
2590,
63,
77,
15533,
5411,
309,
16051,
2039,
18,
291,
6293,
1435,
597,
401,
2039,
18,
5332,
9829,
1396,
12,
52,
7722,
9829,
18,
20055,
3719,
5411,
288,
7734,
727,
8596,
5374,
707,
5374,
273,
394,
8596,
5374,
12,
2039,
1769,
7734,
1661,
6014,
4712,
18,
1289,
12,
2039,
5374,
1769,
5411,
289,
3639,
289,
3639,
1661,
6014,
2314,
273,
394,
6847,
5621,
3639,
727,
453,
7722,
974,
8526,
1466,
273,
4003,
18,
588,
2314,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1466,
18,
2469,
31,
277,
27245,
3639,
288,
5411,
727,
453,
7722,
974,
652,
273,
1466,
63,
77,
15533,
5411,
309,
16051,
1518,
18,
5332,
9829,
1396,
12,
52,
7722,
9829,
18,
20055,
13,
747,
7734,
401,
12,
1518,
18,
5332,
9829,
1396,
12,
52,
7722,
9829,
18,
22741,
13,
571,
5375,
652,
18,
5332,
9829,
1396,
12,
52,
7722,
9829,
18,
28412,
20349,
5411,
288,
7734,
727,
8596,
5374,
652,
5374,
273,
394,
8596,
5374,
12,
1518,
1769,
7734,
1661,
6014,
2314,
18,
1289,
12,
1518,
5374,
1769,
5411,
289,
3639,
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,
3238,
7366,
1444,
3060,
1263,
12,
52,
7722,
797,
4003,
13,
565,
288,
3639,
333,
18,
830,
3638,
273,
4003,
31,
3639,
1661,
6014,
4712,
273,
394,
6847,
5621,
3639,
727,
453,
7722,
1305,
8526,
2590,
273,
4003,
18,
588,
4712,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
2590,
18,
2469,
31,
277,
27245,
3639,
288,
5411,
727,
453,
7722,
1305,
707,
273,
2590,
63,
77,
15533,
5411,
309,
16051,
2039,
18,
291,
6293,
1435,
597,
401,
2039,
18,
5332,
9829,
1396,
12,
52,
7722,
9829,
18,
20055,
3719,
5411,
288,
7734,
727,
8596,
5374,
707,
5374,
273,
394,
8596,
5374,
12,
2039,
1769,
7734,
1661,
6014,
4712,
18,
1289,
12,
2039,
5374,
1769,
2
] |
event.doit= false; | event.doit = false; | public void verifyKey(VerifyEvent event) { // early pruning to slow down normal typing as little as possible if (!event.doit) return; switch (event.character) { case '(': case '{': case '[': case '$': case '"': break; default: return; } IDocument document = sourceViewer.getDocument(); final Point selection = sourceViewer.getSelectedRange(); final int offset = selection.x; final int length = selection.y; final char character = event.character; try { char next = ' '; char last = ' '; try { next = document.getChar(offset); last = document.getChar(offset-1); } catch (BadLocationException e) { } if (last == '\\') return; if (character == '"'){ //Replace quotation marks if (!TexlipsePlugin.getDefault().getPreferenceStore() .getBoolean(TexlipseProperties.TEX_REPLACE_QUOTES)) return; String mark; if (Character.isWhitespace(last)) mark = getQuotes(true); else if (Character.isWhitespace(next)) mark = getQuotes(false); else return; document.replace(offset, length, mark); sourceViewer.setSelectedRange(offset+mark.length(), 0); event.doit = false; return; } if (!TexlipsePlugin.getDefault().getPreferenceStore() .getBoolean(TexlipseProperties.TEX_BRACKET_COMLETION)) return; if (Character.isWhitespace(next) || isBracket(next)){ //For a dollar sign we need a whitespace before and after the letter if (character == '$' && !Character.isWhitespace(last)) return; } else return; final char closingCharacter= getPeerCharacter(character); final StringBuffer buffer= new StringBuffer(); buffer.append(character); buffer.append(closingCharacter); document.replace(offset, length, buffer.toString()); BracketLevel level= new BracketLevel(); fBracketLevelStack.push(level); LinkedPositionGroup group= new LinkedPositionGroup(); group.addPosition(new LinkedPosition(document, offset + 1, 0, LinkedPositionGroup.NO_STOP)); LinkedModeModel model= new LinkedModeModel(); model.addLinkingListener(this); model.addGroup(group); model.forceInstall(); level.fOffset= offset; level.fLength= 2; // set up position tracking for our magic peers if (fBracketLevelStack.size() == 1) { document.addPositionCategory(CATEGORY); document.addPositionUpdater(fUpdater); } level.fFirstPosition= new Position(offset, 1); level.fSecondPosition= new Position(offset + 1, 1); document.addPosition(CATEGORY, level.fFirstPosition); document.addPosition(CATEGORY, level.fSecondPosition); level.fUI= new EditorLinkedModeUI(model, sourceViewer); level.fUI.setSimpleMode(true); level.fUI.setExitPolicy(new ExitPolicy(closingCharacter, (char)0, fBracketLevelStack, sourceViewer)); level.fUI.setExitPosition(sourceViewer, offset + 2, 0, Integer.MAX_VALUE); level.fUI.setCyclingMode(LinkedModeUI.CYCLE_NEVER); level.fUI.enter(); IRegion newSelection= level.fUI.getSelectedRegion(); sourceViewer.setSelectedRange(newSelection.getOffset(), newSelection.getLength()); event.doit= false; } catch (BadLocationException e) { } catch (BadPositionCategoryException e) { } } | 9028 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9028/1c7c79e15150bceef6e3353d6c87c8bc905669be/BracketInserter.java/buggy/source/net/sourceforge/texlipse/editor/BracketInserter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3929,
653,
12,
8097,
1133,
871,
13,
288,
202,
202,
759,
11646,
846,
13036,
358,
11816,
2588,
2212,
13408,
487,
12720,
487,
3323,
202,
202,
430,
16051,
2575,
18,
2896,
305,
13,
327,
31,
202,
202,
9610,
261,
2575,
18,
11560,
13,
288,
1082,
202,
3593,
7321,
30,
1082,
202,
3593,
2292,
4278,
1082,
202,
3593,
8375,
30,
1082,
202,
3593,
3365,
4278,
1082,
202,
3593,
2119,
4278,
9506,
202,
8820,
31,
1082,
202,
1886,
30,
9506,
202,
2463,
31,
202,
202,
97,
202,
202,
734,
504,
650,
1668,
273,
1084,
18415,
18,
588,
2519,
5621,
202,
202,
6385,
4686,
4421,
273,
1084,
18415,
18,
588,
7416,
2655,
5621,
202,
202,
6385,
509,
1384,
273,
4421,
18,
92,
31,
202,
202,
6385,
509,
769,
273,
4421,
18,
93,
31,
25083,
202,
6385,
1149,
3351,
273,
871,
18,
11560,
31,
202,
202,
698,
288,
1082,
202,
3001,
1024,
273,
296,
12386,
1082,
202,
3001,
1142,
273,
296,
12386,
1082,
202,
698,
288,
9506,
202,
4285,
273,
1668,
18,
588,
2156,
12,
3348,
1769,
9506,
202,
2722,
273,
1668,
18,
588,
2156,
12,
3348,
17,
21,
1769,
1082,
202,
97,
1044,
261,
6434,
2735,
503,
425,
13,
288,
1082,
202,
97,
1082,
202,
430,
261,
2722,
422,
5282,
13,
327,
31,
1082,
202,
430,
261,
11560,
422,
4754,
15329,
9506,
202,
759,
5729,
4914,
367,
13999,
9506,
202,
430,
16051,
16733,
10472,
3773,
18,
588,
1868,
7675,
588,
9624,
2257,
1435,
1082,
3639,
263,
588,
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,
3929,
653,
12,
8097,
1133,
871,
13,
288,
202,
202,
759,
11646,
846,
13036,
358,
11816,
2588,
2212,
13408,
487,
12720,
487,
3323,
202,
202,
430,
16051,
2575,
18,
2896,
305,
13,
327,
31,
202,
202,
9610,
261,
2575,
18,
11560,
13,
288,
1082,
202,
3593,
7321,
30,
1082,
202,
3593,
2292,
4278,
1082,
202,
3593,
8375,
30,
1082,
202,
3593,
3365,
4278,
1082,
202,
3593,
2119,
4278,
9506,
202,
8820,
31,
1082,
202,
1886,
30,
9506,
202,
2463,
31,
202,
202,
97,
202,
202,
734,
504,
650,
1668,
273,
1084,
18415,
18,
588,
2519,
5621,
202,
202,
6385,
4686,
4421,
273,
1084,
18415,
18,
588,
7416,
2655,
5621,
202,
202,
6385,
509,
1384,
273,
2
] |
new TableLayoutConstraints(0, 8, 0, 8, | new TableLayoutConstraints(0, 9, 0, 9, | private void jbInit() throws Exception { mButtonPanel.setLayout(mButtonPanelLayout); mOkButton.setEnabled(false); mOkButton.setText("OK"); mOkButton.addActionListener(new WallEditorDialog_mOkButton_actionAdapter(this)); mCancelButton.setText("Cancel"); mCancelButton.addActionListener(new WallEditorDialog_mCancelButton_actionAdapter(this)); mHelpButton.setEnabled(false); mHelpButton.setDoubleBuffered(false); mHelpButton.setText("Help"); mHelpButton.addActionListener(new WallEditorDialog_mHelpButton_actionAdapter(this)); mMainPanel.setLayout(mMainPanelLayout); mCornerPanel.setLayout(mCornerPanelLayout); mUnitsLabel.setLabelFor(mUnitsComboBox); mUnitsLabel.setText("Physical Units"); mPlaneLabel.setLabelFor(mPlanePanel); mPlaneLabel.setText("Plane of the Surface"); mCustomPlaneXLabel.setEnabled(false); mCustomPlaneXLabel.setLabelFor(mCustomPlaneXField); mCustomPlaneXLabel.setText("X"); mCustomPlaneXField.setEnabled(false); mCustomPlaneXField.setMinimumSize(new Dimension(40, 19)); mCustomPlaneXField.setPreferredSize(new Dimension(45, 19)); mCustomPlaneXField.setToolTipText("Rotation about the X-axis in degrees"); mCustomPlaneXField.setHorizontalAlignment(SwingConstants.TRAILING); mCustomPlaneYLabel.setEnabled(false); mCustomPlaneYLabel.setLabelFor(mCustomPlaneYField); mCustomPlaneYLabel.setText("Y"); mCustomPlaneYField.setEnabled(false); mCustomPlaneYField.setMinimumSize(new Dimension(40, 19)); mCustomPlaneYField.setPreferredSize(new Dimension(45, 19)); mCustomPlaneYField.setToolTipText("Rotation about the Y-axis in degrees"); mCustomPlaneYField.setHorizontalAlignment(SwingConstants.TRAILING); mCustomPlaneZLabel.setEnabled(false); mCustomPlaneZLabel.setLabelFor(mCustomPlaneZField); mCustomPlaneZLabel.setText("Z"); mCustomPlaneZField.setEnabled(false); mCustomPlaneZField.setMinimumSize(new Dimension(40, 19)); mCustomPlaneZField.setPreferredSize(new Dimension(45, 19)); mCustomPlaneZField.setToolTipText("Rotation about the Z-axis in degrees"); mCustomPlaneZField.setHorizontalAlignment(SwingConstants.TRAILING); jLabel1.setText("("); mCornerXField.setMinimumSize(new Dimension(35, 19)); mCornerXField.setPreferredSize(new Dimension(60, 19)); mCornerXField.setToolTipText("X-coordinate for the surface corner"); mCornerXField.setHorizontalAlignment(SwingConstants.TRAILING); jLabel2.setText(","); mCornerYField.setMinimumSize(new Dimension(35, 19)); mCornerYField.setPreferredSize(new Dimension(60, 19)); mCornerYField.setToolTipText("Y-coordinate for the surface corner"); mCornerYField.setHorizontalAlignment(SwingConstants.TRAILING); jLabel3.setText(","); mCornerZField.setMinimumSize(new Dimension(35, 19)); mCornerZField.setPreferredSize(new Dimension(60, 19)); mCornerZField.setToolTipText("Z-coordinate for the surface corner"); mCornerZField.setHorizontalAlignment(SwingConstants.TRAILING); jLabel4.setText(")"); mDimensionsLabel.setLabelFor(mDimensionsPanel); mDimensionsLabel.setText("Surface Dimensions"); mWallWidthField.setMinimumSize(new Dimension(40, 19)); mWallWidthField.setPreferredSize(new Dimension(60, 19)); mWallWidthField.addPropertyChangeListener(new WallEditorDialog_mWallWidthField_propertyChangeAdapter(this)); mWallWidthField.setHorizontalAlignment(SwingConstants.TRAILING); mDimensionsXLabel.setText("\u00d7"); mWallHeightField.setMinimumSize(new Dimension(40, 19)); mWallHeightField.setPreferredSize(new Dimension(60, 19)); mWallHeightField.addPropertyChangeListener(new WallEditorDialog_mWallHeightField_propertyChangeAdapter(this)); mCornerIconLabel.setText(""); mCornerLabel.setHorizontalAlignment(SwingConstants.CENTER); mCornerLabel.setHorizontalTextPosition(SwingConstants.LEADING); mCornerLabel.setLabelFor(mCornerPanel); mCornerLabel.setText("Set Single Corner"); mCornerLabel.setVerticalAlignment(javax.swing.SwingConstants.TOP); mCornerLabel.setVerticalTextPosition(javax.swing.SwingConstants.CENTER); mUnitsComboBox.addActionListener(new WallEditorDialog_mUnitsComboBox_actionAdapter(this)); mPlaneChooser.addActionListener(new WallEditorDialog_mPlaneChooser_actionAdapter(this)); mUnitsComboBox.setToolTipText("The units of measurement used for physical locations to be entered below"); mPlaneChooser.setToolTipText("The physical plane along which the surface is aligned"); mSurfaceTypeLabel.setLabelFor(mSurfaceTypeChooser); mSurfaceTypeLabel.setText("Surface Type"); mSurfaceTypeChooser.addActionListener(new WallEditorDialog_mSurfaceTypeChooser_actionAdapter(this)); mTrackerProxyLabel.setEnabled(false); mTrackerProxyLabel.setLabelFor(mTrackerProxyEditor); mTrackerProxyLabel.setText("Surface Tracker Proxy"); mTrackerProxyEditor.setEnabled(false); mUserLabel.setLabelFor(mUserEditor); mUserLabel.setText("User"); mCornerChooser.addActionListener(new WallEditorDialog_mCornerChooser_actionAdapter(this)); mMainPanel.add(mSurfaceTypeLabel, new TableLayoutConstraints(0, 0, 0, 0, TableLayout.LEFT, TableLayout.FULL)); mMainPanel.add(mSurfaceTypeChooser, new TableLayoutConstraints(2, 0, 2, 0, TableLayout.FULL, TableLayout.FULL)); mMainPanel.add(mTrackerProxyLabel, new TableLayoutConstraints(0, 2, 0, 2, TableLayout.LEFT, TableLayout.FULL)); mMainPanel.add(mTrackerProxyEditor, new TableLayoutConstraints(2, 2, 2, 2, TableLayout.FULL, TableLayout.FULL)); mMainPanel.add(mUnitsLabel, new TableLayoutConstraints(0, 4, 0, 4, TableLayout.LEFT, TableLayout.FULL)); mMainPanel.add(mUnitsComboBox, new TableLayoutConstraints(2, 4, 2, 4, TableLayout.FULL, TableLayout.FULL)); mMainPanel.add(mPlaneLabel, new TableLayoutConstraints(0, 5, 0, 5, TableLayout.LEFT, TableLayout.FULL)); mMainPanel.add(mPlanePanel, new TableLayoutConstraints(2, 5, 2, 5, TableLayout.FULL, TableLayout.FULL)); mMainPanel.add(mCustomPlanePanel, new TableLayoutConstraints(2, 6, 2, 6, TableLayout.FULL, TableLayout.FULL)); mMainPanel.add(mCornerLabel, new TableLayoutConstraints(0, 7, 0, 7, TableLayout.LEFT, TableLayout.FULL)); mMainPanel.add(mCornerPanel, new TableLayoutConstraints(2, 7, 2, 8, TableLayout.FULL, TableLayout.FULL)); mMainPanel.add(mCornerIconLabel, new TableLayoutConstraints(0, 8, 0, 8, TableLayout.LEFT, TableLayout.FULL)); mMainPanel.add(mDimensionsLabel, new TableLayoutConstraints(0, 9, 0, 9, TableLayout.LEFT, TableLayout.FULL)); mMainPanel.add(mDimensionsPanel, new TableLayoutConstraints(2, 9, 2, 9, TableLayout.FULL, TableLayout.FULL)); mMainPanel.add(mUserLabel, new TableLayoutConstraints(0, 10, 0, 10, TableLayout.LEFT, TableLayout.FULL)); mMainPanel.add(mUserEditor, new TableLayoutConstraints(2, 10, 2, 10, TableLayout.FULL, TableLayout.FULL)); mCornerPanel.add(mCornerChooser, new TableLayoutConstraints(0, 0, 0, 0, TableLayout.FULL, TableLayout.FULL)); mCornerPanel.add(mCustomCornerPanel, new TableLayoutConstraints(0, 2, 0, 2, TableLayout.FULL, TableLayout.FULL)); mPlanePanel.add(mPlaneChooser, null); mCustomPlanePanel.add(mCustomPlaneXLabel, null); mCustomPlanePanel.add(mCustomPlaneXField, null); mCustomPlanePanel.add(mCustomPlaneYLabel, null); mCustomPlanePanel.add(mCustomPlaneYField, null); mCustomPlanePanel.add(mCustomPlaneZLabel, null); mCustomPlanePanel.add(mCustomPlaneZField, null); mCustomCornerPanel.add(jLabel1, null); mCustomCornerPanel.add(mCornerXField, null); mCustomCornerPanel.add(jLabel2, null); mCustomCornerPanel.add(mCornerYField, null); mCustomCornerPanel.add(jLabel3, null); mCustomCornerPanel.add(mCornerZField, null); mCustomCornerPanel.add(jLabel4, null); mDimensionsPanel.add(mWallWidthField, null); mDimensionsPanel.add(mDimensionsXLabel, null); mDimensionsPanel.add(mWallHeightField, null); } | 49828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49828/59df81b6824e8fbe5274b992270f96e9797a38fe/WallEditorDialog.java/buggy/modules/vrjuggler/vrjconfig/customeditors/cave/org/vrjuggler/vrjconfig/customeditors/cave/WallEditorDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
918,
20515,
2570,
1435,
1216,
1185,
282,
288,
1377,
312,
3616,
5537,
18,
542,
3744,
12,
81,
3616,
5537,
3744,
1769,
1377,
312,
8809,
3616,
18,
542,
1526,
12,
5743,
1769,
1377,
312,
8809,
3616,
18,
542,
1528,
2932,
3141,
8863,
1377,
312,
8809,
3616,
18,
1289,
1803,
2223,
12,
2704,
678,
454,
6946,
6353,
67,
81,
8809,
3616,
67,
1128,
4216,
12,
2211,
10019,
1377,
312,
6691,
3616,
18,
542,
1528,
2932,
6691,
8863,
1377,
312,
6691,
3616,
18,
1289,
1803,
2223,
12,
2704,
678,
454,
6946,
6353,
67,
81,
6691,
3616,
67,
1128,
4216,
12,
2211,
10019,
1377,
312,
6696,
3616,
18,
542,
1526,
12,
5743,
1769,
1377,
312,
6696,
3616,
18,
542,
5265,
17947,
12,
5743,
1769,
1377,
312,
6696,
3616,
18,
542,
1528,
2932,
6696,
8863,
1377,
312,
6696,
3616,
18,
1289,
1803,
2223,
12,
2704,
678,
454,
6946,
6353,
67,
81,
6696,
3616,
67,
1128,
4216,
12,
2211,
10019,
1377,
312,
6376,
5537,
18,
542,
3744,
12,
81,
6376,
5537,
3744,
1769,
1377,
312,
23145,
5537,
18,
542,
3744,
12,
81,
23145,
5537,
3744,
1769,
1377,
312,
7537,
2224,
18,
542,
2224,
1290,
12,
81,
7537,
22199,
1769,
1377,
312,
7537,
2224,
18,
542,
1528,
2932,
18136,
27845,
8863,
1377,
312,
19505,
2224,
18,
542,
2224,
1290,
12,
81,
19505,
5537,
1769,
1377,
312,
19505,
2224,
18,
542,
1528,
2932,
19505,
434,
326,
24354,
8863,
1377,
312,
3802,
19505,
60,
2224,
18,
542,
1526,
12,
5743,
1769,
1377,
312,
3802,
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,
918,
20515,
2570,
1435,
1216,
1185,
282,
288,
1377,
312,
3616,
5537,
18,
542,
3744,
12,
81,
3616,
5537,
3744,
1769,
1377,
312,
8809,
3616,
18,
542,
1526,
12,
5743,
1769,
1377,
312,
8809,
3616,
18,
542,
1528,
2932,
3141,
8863,
1377,
312,
8809,
3616,
18,
1289,
1803,
2223,
12,
2704,
678,
454,
6946,
6353,
67,
81,
8809,
3616,
67,
1128,
4216,
12,
2211,
10019,
1377,
312,
6691,
3616,
18,
542,
1528,
2932,
6691,
8863,
1377,
312,
6691,
3616,
18,
1289,
1803,
2223,
12,
2704,
678,
454,
6946,
6353,
67,
81,
6691,
3616,
67,
1128,
4216,
12,
2211,
10019,
1377,
312,
6696,
3616,
18,
542,
1526,
12,
5743,
1769,
1377,
312,
6696,
3616,
18,
542,
5265,
17947,
2
] |
public void dumpJniRefsStack () { | public void dumpJniRefsStack () throws VM_PragmaUninterruptible { | public void dumpJniRefsStack () { int jniRefOffset = JNIRefsTop; VM.sysWrite("\n* * dump of JNIEnvironment JniRefs Stack * *\n"); VM.sysWrite("* JNIRefs = "); VM.sysWrite(VM_Magic.objectAsAddress(JNIRefs)); VM.sysWrite(" * JNIRefsTop = "); VM.sysWrite(JNIRefsTop,false); VM.sysWrite(" * JNIRefsSavedFP = "); VM.sysWrite(JNIRefsSavedFP); VM.sysWrite(".\n*\n"); while ( jniRefOffset >= 0 ) { VM.sysWrite(jniRefOffset,false); VM.sysWrite(" "); VM.sysWrite(VM_Magic.objectAsAddress(JNIRefs).add(jniRefOffset)); VM.sysWrite(" "); VM_Interface.dumpRef(VM_Address.fromInt(JNIRefs[jniRefOffset >> 2])); jniRefOffset -= 4; } VM.sysWrite("\n* * end of dump * *\n"); } | 4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/6868d22dac2624c828acfc4444ba812a9908f598/VM_JNIEnvironment.java/clean/rvm/src/vm/arch/powerPC/jni/VM_JNIEnvironment.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
4657,
46,
15834,
9837,
2624,
1832,
1216,
8251,
67,
2050,
9454,
984,
31847,
1523,
288,
565,
509,
525,
15834,
1957,
2335,
273,
804,
50,
45,
9837,
3401,
31,
565,
8251,
18,
9499,
3067,
31458,
82,
14,
380,
4657,
434,
804,
50,
45,
5494,
804,
15834,
9837,
7283,
380,
380,
64,
82,
8863,
565,
8251,
18,
9499,
3067,
2932,
14,
804,
50,
45,
9837,
273,
315,
1769,
565,
8251,
18,
9499,
3067,
12,
7397,
67,
19289,
18,
1612,
1463,
1887,
12,
46,
50,
45,
9837,
10019,
565,
8251,
18,
9499,
3067,
2932,
380,
804,
50,
45,
9837,
3401,
273,
315,
1769,
565,
8251,
18,
9499,
3067,
12,
46,
50,
45,
9837,
3401,
16,
5743,
1769,
565,
8251,
18,
9499,
3067,
2932,
380,
804,
50,
45,
9837,
16776,
30246,
273,
315,
1769,
565,
8251,
18,
9499,
3067,
12,
46,
50,
45,
9837,
16776,
30246,
1769,
565,
8251,
18,
9499,
3067,
2932,
8403,
82,
12174,
82,
8863,
565,
1323,
261,
525,
15834,
1957,
2335,
1545,
374,
262,
288,
1377,
8251,
18,
9499,
3067,
12,
78,
15834,
1957,
2335,
16,
5743,
1769,
1377,
8251,
18,
9499,
3067,
2932,
315,
1769,
1377,
8251,
18,
9499,
3067,
12,
7397,
67,
19289,
18,
1612,
1463,
1887,
12,
46,
50,
45,
9837,
2934,
1289,
12,
78,
15834,
1957,
2335,
10019,
1377,
8251,
18,
9499,
3067,
2932,
315,
1769,
1377,
8251,
67,
1358,
18,
8481,
1957,
12,
7397,
67,
1887,
18,
2080,
1702,
12,
46,
50,
45,
9837,
63,
78,
15834,
1957,
2335,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
4657,
46,
15834,
9837,
2624,
1832,
1216,
8251,
67,
2050,
9454,
984,
31847,
1523,
288,
565,
509,
525,
15834,
1957,
2335,
273,
804,
50,
45,
9837,
3401,
31,
565,
8251,
18,
9499,
3067,
31458,
82,
14,
380,
4657,
434,
804,
50,
45,
5494,
804,
15834,
9837,
7283,
380,
380,
64,
82,
8863,
565,
8251,
18,
9499,
3067,
2932,
14,
804,
50,
45,
9837,
273,
315,
1769,
565,
8251,
18,
9499,
3067,
12,
7397,
67,
19289,
18,
1612,
1463,
1887,
12,
46,
50,
45,
9837,
10019,
565,
8251,
18,
9499,
3067,
2932,
380,
804,
50,
45,
9837,
3401,
273,
315,
1769,
565,
8251,
18,
9499,
3067,
12,
46,
50,
45,
9837,
3401,
16,
5743,
1769,
565,
8251,
2
] |
if (type == null) throw new ParseException("type is missing"); short t = VolumeUtil.getTypeId(type); if (t < 0) throw new IllegalArgumentException("invalid volume type: " + type); | public static void main(String[] args) { Zimbra.toolSetup(); VolumeUtil util = null; try { util = new VolumeUtil(); CommandLine cl = util.getCommandLine(args); if (cl == null) return; String id = cl.getOptionValue(O_ID); String type = cl.getOptionValue(O_T); String name = cl.getOptionValue(O_N); String path = cl.getOptionValue(O_P);// String fileBits = cl.getOptionValue(O_FB);// String fileGroupBits = cl.getOptionValue(O_FGB);// String mailboxBits = cl.getOptionValue(O_MB);// String mailboxGroupBits = cl.getOptionValue(O_MGB); String compress = cl.getOptionValue(O_C); String compressThreshold = cl.getOptionValue(O_CT); if (cl.hasOption(O_A)) { if (id != null) throw new IllegalArgumentException("id cannot be specified when adding a volume");// util.addVolume(name, type, path, fileBits, fileGroupBits, mailboxBits, mailboxGroupBits, compress, compressThreshold); util.addVolume(name, type, path, null, null, null, null, compress, compressThreshold); } else if (cl.hasOption(O_D)) { if (id == null) throw new ParseException("volume id is missing"); util.deleteVolume(id); } else if (cl.hasOption(O_L)) { util.listVolumes(id, true); } else if (cl.hasOption(O_E)) { if (id == null) throw new ParseException("volume id is missing");// util.editVolume(id, name, type, path, fileBits, fileGroupBits, mailboxBits, mailboxGroupBits, compress, compressThreshold); util.editVolume(id, name, type, path, null, null, null, null, compress, compressThreshold); } else if (cl.hasOption(O_DC)) { util.displayCurrentVolumes(); } else if (cl.hasOption(O_SC)) { if (id == null) throw new ParseException("volume id is missing"); if (type == null) throw new ParseException("type is missing"); short t = VolumeUtil.getTypeId(type); if (t < 0) throw new IllegalArgumentException("invalid volume type: " + type); short shortId = Short.parseShort(id); if (shortId < 0) throw new IllegalArgumentException("id cannot be less than 0"); util.setCurrentVolume(shortId, t); } else if (cl.hasOption(O_TS)) { util.setCurrentVolume(Volume.ID_NONE, Volume.TYPE_MESSAGE_SECONDARY); } else { throw new ParseException("No action (-a,-d,-l,-e,-dc,-sc,-ts) is specified"); } System.exit(0); } catch (ParseException e) { util.usage(e); } catch (Exception e) { System.err.println("Error occurred: " + e.getMessage()); } System.exit(1); } | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/2e348c30ac6acdb6dc5c517a1a9c0ad86e4a4ec4/VolumeUtil.java/clean/ZimbraServer/src/java/com/zimbra/cs/store/VolumeUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
2285,
381,
15397,
18,
6738,
7365,
5621,
3639,
7404,
1304,
1709,
273,
446,
31,
3639,
775,
288,
5411,
1709,
273,
394,
7404,
1304,
5621,
5411,
15893,
927,
273,
1709,
18,
588,
21391,
12,
1968,
1769,
5411,
309,
261,
830,
422,
446,
13,
7734,
327,
31,
5411,
514,
612,
273,
927,
18,
588,
13366,
12,
51,
67,
734,
1769,
5411,
514,
618,
273,
927,
18,
588,
13366,
12,
51,
67,
56,
1769,
5411,
514,
508,
273,
927,
18,
588,
13366,
12,
51,
67,
50,
1769,
5411,
514,
589,
273,
927,
18,
588,
13366,
12,
51,
67,
52,
1769,
759,
5411,
514,
585,
6495,
273,
927,
18,
588,
13366,
12,
51,
67,
22201,
1769,
759,
5411,
514,
585,
1114,
6495,
273,
927,
18,
588,
13366,
12,
51,
67,
42,
5887,
1769,
759,
5411,
514,
14187,
6495,
273,
927,
18,
588,
13366,
12,
51,
67,
7969,
1769,
759,
5411,
514,
14187,
1114,
6495,
273,
927,
18,
588,
13366,
12,
51,
67,
49,
5887,
1769,
5411,
514,
8099,
273,
927,
18,
588,
13366,
12,
51,
67,
39,
1769,
5411,
514,
8099,
7614,
273,
927,
18,
588,
13366,
12,
51,
67,
1268,
1769,
13491,
309,
261,
830,
18,
5332,
1895,
12,
51,
67,
37,
3719,
288,
7734,
309,
261,
350,
480,
446,
13,
10792,
604,
394,
2754,
2932,
350,
2780,
506,
1269,
1347,
6534,
279,
3940,
8863,
759,
7734,
1709,
18,
1289,
4545,
12,
529,
16,
618,
16,
589,
16,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
2285,
381,
15397,
18,
6738,
7365,
5621,
3639,
7404,
1304,
1709,
273,
446,
31,
3639,
775,
288,
5411,
1709,
273,
394,
7404,
1304,
5621,
5411,
15893,
927,
273,
1709,
18,
588,
21391,
12,
1968,
1769,
5411,
309,
261,
830,
422,
446,
13,
7734,
327,
31,
5411,
514,
612,
273,
927,
18,
588,
13366,
12,
51,
67,
734,
1769,
5411,
514,
618,
273,
927,
18,
588,
13366,
12,
51,
67,
56,
1769,
5411,
514,
508,
273,
927,
18,
588,
13366,
12,
51,
67,
50,
1769,
5411,
514,
589,
273,
927,
18,
588,
13366,
12,
51,
67,
52,
1769,
759,
5411,
514,
585,
6495,
273,
927,
18,
588,
13366,
2
] |
|
} if (adapter.equals(IUndoContext.class)) { return undoContext; } if (adapter.equals(IProgressMonitor.class)) { if (progressDialog != null) return progressDialog.getProgressMonitor(); | IWorkbenchPart part = site.getPart(); if (part != null) return part.getAdapter(adapter); | public Object getAdapter(Class adapter) { if (site != null) { if (adapter.equals(Shell.class)) { return getWorkbenchWindow().getShell(); } if (adapter.equals(IWorkbenchWindow.class)) { return getWorkbenchWindow(); } if (adapter.equals(IWorkbenchPart.class)) { return site.getPart(); } } if (adapter.equals(IUndoContext.class)) { return undoContext; } if (adapter.equals(IProgressMonitor.class)) { if (progressDialog != null) return progressDialog.getProgressMonitor(); } return null; } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/6e874ed575c444055f39cce002e998fe3b456de4/OperationHistoryActionHandler.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/operations/OperationHistoryActionHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
16679,
12,
797,
4516,
13,
288,
202,
202,
430,
261,
4256,
480,
446,
13,
288,
1082,
202,
430,
261,
10204,
18,
14963,
12,
13220,
18,
1106,
3719,
288,
9506,
202,
2463,
29026,
22144,
3829,
7675,
588,
13220,
5621,
1082,
202,
97,
1082,
202,
430,
261,
10204,
18,
14963,
12,
45,
2421,
22144,
3829,
18,
1106,
3719,
288,
9506,
202,
2463,
29026,
22144,
3829,
5621,
1082,
202,
97,
1082,
202,
430,
261,
10204,
18,
14963,
12,
45,
2421,
22144,
1988,
18,
1106,
3719,
288,
9506,
202,
2463,
2834,
18,
588,
1988,
5621,
1082,
202,
97,
202,
202,
97,
202,
202,
430,
261,
10204,
18,
14963,
12,
45,
31224,
1042,
18,
1106,
3719,
288,
1082,
202,
2463,
15436,
1042,
31,
202,
202,
97,
202,
202,
430,
261,
10204,
18,
14963,
12,
45,
5491,
7187,
18,
1106,
3719,
288,
1082,
202,
430,
261,
8298,
6353,
480,
446,
13,
9506,
202,
2463,
4007,
6353,
18,
588,
5491,
7187,
5621,
202,
202,
97,
202,
202,
2463,
446,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
16679,
12,
797,
4516,
13,
288,
202,
202,
430,
261,
4256,
480,
446,
13,
288,
1082,
202,
430,
261,
10204,
18,
14963,
12,
13220,
18,
1106,
3719,
288,
9506,
202,
2463,
29026,
22144,
3829,
7675,
588,
13220,
5621,
1082,
202,
97,
1082,
202,
430,
261,
10204,
18,
14963,
12,
45,
2421,
22144,
3829,
18,
1106,
3719,
288,
9506,
202,
2463,
29026,
22144,
3829,
5621,
1082,
202,
97,
1082,
202,
430,
261,
10204,
18,
14963,
12,
45,
2421,
22144,
1988,
18,
1106,
3719,
288,
9506,
202,
2463,
2834,
18,
588,
1988,
5621,
1082,
202,
97,
202,
202,
97,
202,
202,
430,
261,
10204,
18,
14963,
12,
45,
31224,
1042,
18,
1106,
3719,
288,
1082,
202,
2463,
2
] |
jjCheckNAddTwoStates(12, 13); | jjCheckNAddTwoStates(7, 8); | private final int jjMoveNfa_1(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 19; 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 == 46) jjstateSet[jjnewStateCnt++] = 17; else if (curChar == 34) jjCheckNAddTwoStates(12, 13); else if (curChar == 35) { if (kind > 19) kind = 19; } else if (curChar == 36) { if (kind > 14) kind = 14; } else if (curChar == 41) { if (kind > 5) kind = 5; jjCheckNAddStates(0, 2); } if (curChar == 35) jjstateSet[jjnewStateCnt++] = 8; break; case 1: if (curChar != 32) break; if (kind > 5) kind = 5; jjCheckNAddStates(0, 2); break; case 2: if ((0x2400L & l) != 0L && kind > 5) kind = 5; break; case 3: if (curChar == 10 && kind > 5) kind = 5; break; case 4: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 3; break; case 5: if (curChar == 36 && kind > 14) kind = 14; break; case 6: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 7; break; case 7: if ((0xfffffff7ffffffffL & l) != 0L && kind > 17) kind = 17; break; case 8: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 6; break; case 9: if (curChar == 35) jjstateSet[jjnewStateCnt++] = 8; break; case 10: if (curChar == 35 && kind > 19) kind = 19; break; case 11: if (curChar == 34) jjCheckNAddTwoStates(12, 13); break; case 12: if ((0xfffffffbffffdbffL & l) != 0L) jjCheckNAddTwoStates(12, 13); break; case 13: if (curChar == 34 && kind > 28) kind = 28; break; case 15: if ((0x3ff200000000000L & l) == 0L) break; if (kind > 61) kind = 61; jjstateSet[jjnewStateCnt++] = 15; break; case 16: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 17; break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 61) kind = 61; jjCheckNAdd(15); } else if (curChar == 92) jjAddStates(3, 4); break; case 7: if (kind > 17) kind = 17; break; case 12: jjAddStates(5, 6); break; case 14: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 61) kind = 61; jjCheckNAdd(15); break; case 15: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 61) kind = 61; jjCheckNAdd(15); break; case 17: if ((0x7fffffe07fffffeL & l) != 0L && kind > 62) kind = 62; break; case 18: if (curChar == 92) jjAddStates(3, 4); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 7: if ((jjbitVec0[i2] & l2) != 0L && kind > 17) kind = 17; break; case 12: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(5, 6); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 19 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }} | 55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/65bb22ee318c85d66cafbb1a948ac2aa22008ee7/ParserTokenManager.java/buggy/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
50,
507,
67,
21,
12,
474,
787,
1119,
16,
509,
662,
1616,
15329,
282,
509,
8526,
1024,
7629,
31,
282,
509,
2542,
861,
273,
374,
31,
282,
10684,
2704,
1119,
11750,
273,
5342,
31,
282,
509,
277,
273,
404,
31,
282,
10684,
2019,
694,
63,
20,
65,
273,
787,
1119,
31,
282,
509,
525,
16,
3846,
273,
374,
92,
27,
18217,
74,
31,
282,
364,
261,
25708,
13,
282,
288,
1377,
309,
261,
9904,
78,
78,
2260,
422,
374,
92,
27,
18217,
74,
13,
540,
868,
2570,
54,
9284,
5621,
1377,
309,
261,
1397,
2156,
411,
5178,
13,
1377,
288,
540,
1525,
328,
273,
404,
48,
2296,
662,
2156,
31,
540,
4639,
6452,
30,
741,
540,
288,
5411,
1620,
12,
78,
78,
2019,
694,
63,
413,
77,
5717,
5411,
288,
9079,
648,
374,
30,
5375,
309,
261,
1397,
2156,
422,
17077,
13,
5397,
10684,
2019,
694,
63,
78,
78,
2704,
1119,
11750,
9904,
65,
273,
8043,
31,
5375,
469,
309,
261,
1397,
2156,
422,
13438,
13,
5397,
10684,
1564,
50,
986,
11710,
7629,
12,
27,
16,
1725,
1769,
5375,
469,
309,
261,
1397,
2156,
422,
13191,
13,
5375,
288,
5397,
309,
261,
9224,
405,
5342,
13,
13491,
3846,
273,
5342,
31,
5375,
289,
5375,
469,
309,
261,
1397,
2156,
422,
6580,
13,
5375,
288,
5397,
309,
261,
9224,
405,
5045,
13,
13491,
3846,
273,
5045,
31,
5375,
289,
5375,
469,
309,
261,
1397,
2156,
422,
20170,
13,
5375,
288,
5397,
309,
261,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
50,
507,
67,
21,
12,
474,
787,
1119,
16,
509,
662,
1616,
15329,
282,
509,
8526,
1024,
7629,
31,
282,
509,
2542,
861,
273,
374,
31,
282,
10684,
2704,
1119,
11750,
273,
5342,
31,
282,
509,
277,
273,
404,
31,
282,
10684,
2019,
694,
63,
20,
65,
273,
787,
1119,
31,
282,
509,
525,
16,
3846,
273,
374,
92,
27,
18217,
74,
31,
282,
364,
261,
25708,
13,
282,
288,
1377,
309,
261,
9904,
78,
78,
2260,
422,
374,
92,
27,
18217,
74,
13,
540,
868,
2570,
54,
9284,
5621,
1377,
309,
261,
1397,
2156,
411,
5178,
13,
1377,
288,
540,
1525,
328,
273,
404,
48,
2296,
662,
2156,
31,
540,
4639,
6452,
30,
2
] |
if (checkIfUsernameExists(newUsername, this)) { | if (Login.checkIfUsernameExists(newUsername, this.getLoginIdentification())) { | public void changeUsername(String newUsername) { if (newUsername == null || newUsername.equals("")) { throw new DomainException("error.person.nullOrEmptyUsername"); } if (getUser() == null) { throw new DomainException("error.person.unExistingUser"); } if (checkIfUsernameExists(newUsername, this)) { throw new DomainException("error.person.existingUsername"); } setUsername(newUsername); } | 2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/5cf399332d8408f1931065e274acf34fd43b7af8/Person.java/clean/src/net/sourceforge/fenixedu/domain/Person.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2549,
8575,
12,
780,
394,
8575,
13,
288,
3639,
309,
261,
2704,
8575,
422,
446,
747,
394,
8575,
18,
14963,
2932,
6,
3719,
288,
5411,
604,
394,
24569,
2932,
1636,
18,
12479,
18,
2011,
12763,
8575,
8863,
3639,
289,
3639,
309,
261,
588,
1299,
1435,
422,
446,
13,
288,
5411,
604,
394,
24569,
2932,
1636,
18,
12479,
18,
318,
9895,
1299,
8863,
3639,
289,
3639,
309,
261,
5358,
18,
1893,
2047,
8575,
4002,
12,
2704,
8575,
16,
333,
18,
588,
5358,
24371,
1435,
3719,
288,
5411,
604,
394,
24569,
2932,
1636,
18,
12479,
18,
11711,
8575,
8863,
3639,
289,
3639,
444,
8575,
12,
2704,
8575,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2549,
8575,
12,
780,
394,
8575,
13,
288,
3639,
309,
261,
2704,
8575,
422,
446,
747,
394,
8575,
18,
14963,
2932,
6,
3719,
288,
5411,
604,
394,
24569,
2932,
1636,
18,
12479,
18,
2011,
12763,
8575,
8863,
3639,
289,
3639,
309,
261,
588,
1299,
1435,
422,
446,
13,
288,
5411,
604,
394,
24569,
2932,
1636,
18,
12479,
18,
318,
9895,
1299,
8863,
3639,
289,
3639,
309,
261,
5358,
18,
1893,
2047,
8575,
4002,
12,
2704,
8575,
16,
333,
18,
588,
5358,
24371,
1435,
3719,
288,
5411,
604,
394,
24569,
2932,
1636,
18,
12479,
18,
11711,
8575,
8863,
3639,
289,
3639,
444,
8575,
12,
2704,
8575,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
yearToUse = thisYear + (monthToUse / MAX) - 1; | yearToUse = thisYear + (monthToUse / iMax) - 1; | public long add(long instant, int months) { if (months == 0) { return instant; // the easy case } // // Save time part first. // long timePart = iChronology.getMillisOfDay(instant); // // // Get this year and month. // int thisYear = iChronology.getYear(instant); int thisMonth = iChronology.getMonthOfYear(instant, thisYear); // ---------------------------------------------------------- // // Do not refactor without careful consideration. // Order of calculation is important. // int yearToUse; // Initially, monthToUse is zero-based int monthToUse = thisMonth - 1 + months; if (monthToUse >= 0) { yearToUse = thisYear + (monthToUse / MAX); monthToUse = (monthToUse % MAX) + 1; } else { yearToUse = thisYear + (monthToUse / MAX) - 1; monthToUse = Math.abs(monthToUse); int remMonthToUse = monthToUse % MAX; // Take care of the boundary condition if (remMonthToUse == 0) { remMonthToUse = MAX; } monthToUse = MAX - remMonthToUse + 1; // Take care of the boundary condition if (monthToUse == 1) { yearToUse += 1; } } // End of do not refactor. // ---------------------------------------------------------- // // Quietly force DOM to nearest sane value. // int dayToUse = iChronology.getDayOfMonth(instant, thisYear, thisMonth); int maxDay = iChronology.getDaysInYearMonth(yearToUse, monthToUse); if (dayToUse > maxDay) { dayToUse = maxDay; } // // get proper date part, and return result // long datePart = iChronology.getYearMonthDayMillis(yearToUse, monthToUse, dayToUse); return datePart + timePart; } | 52681 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52681/638abee397a254ce348b8500f089a781395f3349/BasicMonthOfYearDateTimeField.java/clean/JodaTime/src/java/org/joda/time/chrono/BasicMonthOfYearDateTimeField.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1525,
527,
12,
5748,
5934,
16,
509,
8846,
13,
288,
3639,
309,
261,
27584,
422,
374,
13,
288,
5411,
327,
5934,
31,
368,
326,
12779,
648,
3639,
289,
3639,
368,
3639,
368,
7074,
813,
1087,
1122,
18,
3639,
368,
3639,
1525,
813,
1988,
273,
277,
23809,
18,
588,
4814,
17263,
12,
24628,
1769,
3639,
368,
3639,
368,
3639,
368,
968,
333,
3286,
471,
3138,
18,
3639,
368,
3639,
509,
333,
5593,
273,
277,
23809,
18,
588,
5593,
12,
24628,
1769,
3639,
509,
333,
5445,
273,
277,
23809,
18,
588,
5445,
19091,
12,
24628,
16,
333,
5593,
1769,
3639,
368,
13420,
8567,
3639,
368,
3639,
368,
2256,
486,
26627,
2887,
26850,
5260,
367,
18,
3639,
368,
4347,
434,
11096,
353,
10802,
18,
3639,
368,
3639,
509,
3286,
18762,
31,
3639,
368,
4378,
6261,
16,
3138,
18762,
353,
3634,
17,
12261,
3639,
509,
3138,
18762,
273,
333,
5445,
300,
404,
397,
8846,
31,
3639,
309,
261,
7496,
18762,
1545,
374,
13,
288,
5411,
3286,
18762,
273,
333,
5593,
397,
261,
7496,
18762,
342,
4552,
1769,
5411,
3138,
18762,
273,
261,
7496,
18762,
738,
4552,
13,
397,
404,
31,
3639,
289,
469,
288,
5411,
3286,
18762,
273,
333,
5593,
397,
261,
7496,
18762,
342,
277,
2747,
13,
300,
404,
31,
5411,
3138,
18762,
273,
2361,
18,
5113,
12,
7496,
18762,
1769,
5411,
509,
849,
5445,
18762,
273,
3138,
18762,
738,
4552,
31,
5411,
368,
17129,
7671,
434,
326,
7679,
2269,
5411,
309,
261,
2764,
5445,
18762,
422,
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,
377,
1071,
1525,
527,
12,
5748,
5934,
16,
509,
8846,
13,
288,
3639,
309,
261,
27584,
422,
374,
13,
288,
5411,
327,
5934,
31,
368,
326,
12779,
648,
3639,
289,
3639,
368,
3639,
368,
7074,
813,
1087,
1122,
18,
3639,
368,
3639,
1525,
813,
1988,
273,
277,
23809,
18,
588,
4814,
17263,
12,
24628,
1769,
3639,
368,
3639,
368,
3639,
368,
968,
333,
3286,
471,
3138,
18,
3639,
368,
3639,
509,
333,
5593,
273,
277,
23809,
18,
588,
5593,
12,
24628,
1769,
3639,
509,
333,
5445,
273,
277,
23809,
18,
588,
5445,
19091,
12,
24628,
16,
333,
5593,
1769,
3639,
368,
13420,
8567,
3639,
368,
3639,
368,
2256,
486,
26627,
2887,
26850,
5260,
367,
18,
3639,
368,
4347,
434,
2
] |
public org.quickfix.field.CreditRating getCreditRating() throws FieldNotFound { org.quickfix.field.CreditRating value = new org.quickfix.field.CreditRating(); | public quickfix.field.CreditRating getCreditRating() throws FieldNotFound { quickfix.field.CreditRating value = new quickfix.field.CreditRating(); | public org.quickfix.field.CreditRating getCreditRating() throws FieldNotFound { org.quickfix.field.CreditRating value = new org.quickfix.field.CreditRating(); getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/QuoteCancel.java/buggy/src/java/src/quickfix/fix44/QuoteCancel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
16520,
20388,
1927,
10430,
20388,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
16520,
20388,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
16520,
20388,
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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1518,
18,
16520,
20388,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
16520,
20388,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public void setLogicalChannel(int channelIdx, String name, float ndFilter, int emWave, int exWave, String photometricInterpretation, String mode, Integer i) { | public void setLogicalChannel(int channelIdx, String name, Float ndFilter, Integer emWave, Integer exWave, String photometricInterpretation, String mode, Integer i) { | public void setLogicalChannel(int channelIdx, String name, float ndFilter, int emWave, int exWave, String photometricInterpretation, String mode, Integer i) { for (Iterator iter = delegates.iterator(); iter.hasNext();) { MetadataStore s = (MetadataStore) iter.next(); s.setLogicalChannel(channelIdx, name, ndFilter, emWave, exWave, photometricInterpretation, mode, i); } } | 11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/12782552838eb820d49e5e12924a7e8e9046b5ba/AggregateMetadataStore.java/clean/loci/formats/AggregateMetadataStore.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
17955,
2909,
12,
474,
1904,
4223,
16,
514,
508,
16,
1431,
5346,
1586,
16,
1377,
509,
801,
22368,
16,
509,
431,
22368,
16,
514,
24542,
362,
1591,
2465,
15089,
367,
16,
514,
1965,
16,
1377,
2144,
277,
13,
288,
565,
364,
261,
3198,
1400,
273,
22310,
18,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
1377,
6912,
2257,
272,
273,
261,
2277,
2257,
13,
1400,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
17955,
2909,
12,
474,
1904,
4223,
16,
514,
508,
16,
1431,
5346,
1586,
16,
1377,
509,
801,
22368,
16,
509,
431,
22368,
16,
514,
24542,
362,
1591,
2465,
15089,
367,
16,
514,
1965,
16,
1377,
2144,
277,
13,
288,
565,
364,
261,
3198,
1400,
273,
22310,
18,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
1377,
6912,
2257,
272,
273,
261,
2277,
2257,
13,
1400,
18,
4285,
5621,
1377,
272,
18,
542,
17955,
2909,
12,
4327,
4223,
16,
508,
16,
5346,
1586,
16,
801,
22368,
16,
431,
22368,
16,
12900,
24542,
362,
1591,
2465,
15089,
367,
16,
1965,
16,
277,
1769,
565,
289,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public void callInit(IRubyObject[] args) { ThreadContext tc = getRuntime().getCurrentContext(); tc.setIfBlockAvailable(); try { callMethod(getRuntime().getCurrentContext(), "initialize", args); } finally { tc.clearIfBlockAvailable(); } } | 46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/c8b66db475de1dc66f347884891dd70d9943689b/RubyObject.java/buggy/src/org/jruby/RubyObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
745,
2570,
12,
7937,
10340,
921,
8526,
833,
13,
288,
3639,
4884,
1042,
1715,
273,
18814,
7675,
588,
3935,
1042,
5621,
7734,
1715,
18,
542,
2047,
1768,
5268,
5621,
3639,
775,
288,
5411,
745,
1305,
12,
588,
5576,
7675,
588,
3935,
1042,
9334,
315,
11160,
3113,
833,
1769,
3639,
289,
3095,
288,
5411,
1715,
18,
8507,
2047,
1768,
5268,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
745,
2570,
12,
7937,
10340,
921,
8526,
833,
13,
288,
3639,
4884,
1042,
1715,
273,
18814,
7675,
588,
3935,
1042,
5621,
7734,
1715,
18,
542,
2047,
1768,
5268,
5621,
3639,
775,
288,
5411,
745,
1305,
12,
588,
5576,
7675,
588,
3935,
1042,
9334,
315,
11160,
3113,
833,
1769,
3639,
289,
3095,
288,
5411,
1715,
18,
8507,
2047,
1768,
5268,
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,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
remote_str=remote != null ? Util.shortName(local.getHostName()) : "<null>"; | remote_str=remote != null ? Util.shortName(remote.getHostName()) : "<null>"; | public String toString() { StringBuffer ret=new StringBuffer(); InetAddress local=null, remote=null; String local_str, remote_str; if(sock == null) ret.append("<null socket>"); else { //since the sock variable gets set to null we want to make //make sure we make it through here without a nullpointer exception Socket tmp_sock=sock; local=tmp_sock.getLocalAddress(); remote=tmp_sock.getInetAddress(); local_str=local != null ? Util.shortName(local.getHostName()) : "<null>"; remote_str=remote != null ? Util.shortName(local.getHostName()) : "<null>"; ret.append('<' + local_str + ':' + tmp_sock.getLocalPort() + " --> " + remote_str + ':' + tmp_sock.getPort() + "> (" + ((System.currentTimeMillis() - last_access) / 1000) + " secs old)"); tmp_sock=null; } return ret.toString(); } | 50160 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50160/3239d54501a61a05eb6b45df50b0144eb7970a31/ConnectionTable.java/buggy/src/org/jgroups/blocks/ConnectionTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
514,
1762,
1435,
288,
5411,
6674,
325,
33,
2704,
6674,
5621,
5411,
14218,
1191,
33,
2011,
16,
2632,
33,
2011,
31,
5411,
514,
1191,
67,
701,
16,
2632,
67,
701,
31,
5411,
309,
12,
15031,
422,
446,
13,
7734,
325,
18,
6923,
2932,
32,
2011,
2987,
2984,
1769,
5411,
469,
288,
7734,
368,
9256,
326,
7313,
2190,
5571,
444,
358,
446,
732,
2545,
358,
1221,
7734,
368,
6540,
3071,
732,
1221,
518,
3059,
2674,
2887,
279,
446,
10437,
1520,
7734,
8758,
1853,
67,
15031,
33,
15031,
31,
7734,
1191,
33,
5645,
67,
15031,
18,
588,
2042,
1887,
5621,
7734,
2632,
33,
5645,
67,
15031,
18,
588,
382,
278,
1887,
5621,
7734,
1191,
67,
701,
33,
3729,
480,
446,
692,
3564,
18,
6620,
461,
12,
3729,
18,
588,
20946,
10756,
294,
3532,
2011,
2984,
31,
7734,
2632,
67,
701,
33,
7222,
480,
446,
692,
3564,
18,
6620,
461,
12,
7222,
18,
588,
20946,
10756,
294,
3532,
2011,
2984,
31,
7734,
325,
18,
6923,
2668,
32,
11,
397,
1191,
67,
701,
397,
3921,
397,
1853,
67,
15031,
18,
588,
2042,
2617,
1435,
397,
21821,
315,
15431,
315,
397,
2632,
67,
701,
397,
3921,
397,
1853,
67,
15031,
18,
588,
2617,
1435,
397,
14402,
7566,
397,
21821,
14015,
3163,
18,
2972,
28512,
1435,
300,
1142,
67,
3860,
13,
342,
4336,
13,
397,
315,
18043,
1592,
2225,
1769,
7734,
1853,
67,
15031,
33,
2011,
31,
5411,
289,
5411,
327,
325,
18,
10492,
5621,
3639,
289,
2,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
514,
1762,
1435,
288,
5411,
6674,
325,
33,
2704,
6674,
5621,
5411,
14218,
1191,
33,
2011,
16,
2632,
33,
2011,
31,
5411,
514,
1191,
67,
701,
16,
2632,
67,
701,
31,
5411,
309,
12,
15031,
422,
446,
13,
7734,
325,
18,
6923,
2932,
32,
2011,
2987,
2984,
1769,
5411,
469,
288,
7734,
368,
9256,
326,
7313,
2190,
5571,
444,
358,
446,
732,
2545,
358,
1221,
7734,
368,
6540,
3071,
732,
1221,
518,
3059,
2674,
2887,
279,
446,
10437,
1520,
7734,
8758,
1853,
67,
15031,
33,
15031,
31,
7734,
1191,
33,
5645,
67,
15031,
18,
588,
2042,
1887,
5621,
7734,
2632,
33,
5645,
67,
15031,
18,
588,
382,
278,
1887,
5621,
7734,
1191,
67,
701,
33,
3729,
480,
2
] |
public void set(org.quickfix.field.SecurityAltID value) | public void set(quickfix.field.SecurityAltID value) | public void set(org.quickfix.field.SecurityAltID value) { setField(value); } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/CrossOrderCancelRequest.java/clean/src/java/src/quickfix/fix43/CrossOrderCancelRequest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
12,
19525,
904,
18,
1518,
18,
4368,
10655,
734,
460,
13,
225,
288,
16331,
12,
1132,
1769,
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,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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,
444,
12,
19525,
904,
18,
1518,
18,
4368,
10655,
734,
460,
13,
225,
288,
16331,
12,
1132,
1769,
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
] |
IValidator columnValidator = column.getValidator(); if(columnValidator != null){ String errorMessage = columnValidator.isValid(value); if(errorMessage != null){ dataBindingContext.updateValidationError(new IChangeListener(){ public void handleChange(ChangeEvent changeEvent) { } },errorMessage); return; } | else { setterSig = property; target = element; | public void modify(Object element, String property, Object value) { Column column = findColumn(property); if (column == null) { return; } if (element instanceof Item) { element = ((Item) element).getData(); } IValidator columnValidator = column.getValidator(); if(columnValidator != null){ String errorMessage = columnValidator.isValid(value); if(errorMessage != null){ dataBindingContext.updateValidationError(new IChangeListener(){ public void handleChange(ChangeEvent changeEvent) { } },errorMessage); return; } } try { List getters = getNestedPorperties(property); String setterSig; Object target; if (getters.size()>1) { setterSig = (String) getters.get(getters.size()-1); getters.remove(getters.size()-1); target=getGetterValue(element,getters); } else { setterSig = property; target = element; } Method setter = target .getClass() .getMethod( "set" + setterSig.substring(0, 1).toUpperCase(Locale.ENGLISH) + setterSig.substring(1), new Class[] { column.getConverter().getModelType() }); //$NON-NLS-1$ setter.invoke(target, new Object[] { value }); return; } catch (SecurityException e) { // TODO log } catch (NoSuchMethodException e) { // TODO log } catch (IllegalArgumentException e) { // TODO log } catch (IllegalAccessException e) { // TODO log } catch (InvocationTargetException e) { // TODO log } } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/d8caa98900b185f0cfc43233bd835d291fa0a501/TableViewerUpdatableCollectionExtended.java/buggy/bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/databinding/internal/viewers/TableViewerUpdatableCollectionExtended.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4697,
202,
482,
918,
5612,
12,
921,
930,
16,
514,
1272,
16,
1033,
460,
13,
288,
6862,
202,
1494,
1057,
273,
1104,
1494,
12,
4468,
1769,
6862,
202,
430,
261,
2827,
422,
446,
13,
288,
25083,
202,
2463,
31,
6862,
202,
97,
6862,
202,
430,
261,
2956,
1276,
4342,
13,
288,
25083,
202,
2956,
273,
14015,
1180,
13,
930,
2934,
588,
751,
5621,
6862,
202,
97,
6862,
202,
45,
5126,
1057,
5126,
273,
1057,
18,
588,
5126,
5621,
6862,
202,
430,
12,
2827,
5126,
480,
446,
15329,
25083,
202,
780,
9324,
273,
1057,
5126,
18,
26810,
12,
1132,
1769,
25083,
202,
430,
12,
1636,
1079,
480,
446,
15329,
6862,
1082,
202,
892,
5250,
1042,
18,
2725,
12101,
12,
2704,
467,
15744,
1435,
95,
6862,
9506,
202,
482,
918,
1640,
3043,
12,
20930,
2549,
1133,
13,
288,
6862,
6862,
6862,
6862,
202,
97,
6862,
6862,
6862,
1082,
202,
5779,
1636,
1079,
1769,
6862,
1082,
202,
2463,
31,
25083,
202,
97,
6862,
202,
97,
6862,
202,
698,
288,
25083,
202,
682,
23849,
273,
336,
8649,
52,
280,
1148,
12,
4468,
1769,
25083,
202,
780,
7794,
8267,
31,
25083,
202,
921,
1018,
31,
25083,
202,
430,
261,
588,
5432,
18,
1467,
1435,
34,
21,
13,
288,
6862,
1082,
202,
18062,
8267,
273,
261,
780,
13,
23849,
18,
588,
12,
588,
5432,
18,
1467,
1435,
17,
21,
1769,
6862,
1082,
202,
588,
5432,
18,
4479,
12,
588,
5432,
18,
1467,
1435,
17,
21,
1769,
6862,
1082,
202,
3299,
33,
588,
8461,
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,
4697,
202,
482,
918,
5612,
12,
921,
930,
16,
514,
1272,
16,
1033,
460,
13,
288,
6862,
202,
1494,
1057,
273,
1104,
1494,
12,
4468,
1769,
6862,
202,
430,
261,
2827,
422,
446,
13,
288,
25083,
202,
2463,
31,
6862,
202,
97,
6862,
202,
430,
261,
2956,
1276,
4342,
13,
288,
25083,
202,
2956,
273,
14015,
1180,
13,
930,
2934,
588,
751,
5621,
6862,
202,
97,
6862,
202,
45,
5126,
1057,
5126,
273,
1057,
18,
588,
5126,
5621,
6862,
202,
430,
12,
2827,
5126,
480,
446,
15329,
25083,
202,
780,
9324,
273,
1057,
5126,
18,
26810,
12,
1132,
1769,
25083,
202,
430,
12,
1636,
1079,
480,
446,
15329,
6862,
1082,
202,
892,
5250,
1042,
18,
2725,
12101,
12,
2704,
2
] |
new MessageSender(messgeCtx.getEngineContext()); | new MessageSender(messgeCtx.getOperationContext().getServiceContext().getEngineContext()); | public void handleResult(MessageContext result)throws AxisFault { MessageSender sender = new MessageSender(messgeCtx.getEngineContext()); sender.send(messgeCtx); } | 49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/300f5888904c5abbc97474bfee7c9727b7c7451a/AbstractInOutAsyncMessageReceiver.java/clean/modules/core/src/org/apache/axis/receivers/AbstractInOutAsyncMessageReceiver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
1640,
1253,
12,
1079,
1042,
563,
13,
15069,
15509,
7083,
288,
7734,
2350,
12021,
5793,
273,
10792,
394,
2350,
12021,
12,
81,
403,
908,
6442,
18,
588,
2988,
1042,
7675,
588,
1179,
1042,
7675,
588,
4410,
1042,
10663,
7734,
5793,
18,
4661,
12,
81,
403,
908,
6442,
1769,
5411,
289,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
1640,
1253,
12,
1079,
1042,
563,
13,
15069,
15509,
7083,
288,
7734,
2350,
12021,
5793,
273,
10792,
394,
2350,
12021,
12,
81,
403,
908,
6442,
18,
588,
2988,
1042,
7675,
588,
1179,
1042,
7675,
588,
4410,
1042,
10663,
7734,
5793,
18,
4661,
12,
81,
403,
908,
6442,
1769,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return get(0); | return "B.get_first"; | public String get_first() { return get(0); } | 3989 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3989/4cff0988871fe31f56ac37e866fbd2200ef8758c/director_string_runme.java/clean/Examples/test-suite/java/director_string_runme.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
336,
67,
3645,
1435,
288,
1377,
327,
315,
38,
18,
588,
67,
3645,
14432,
565,
289,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
336,
67,
3645,
1435,
288,
1377,
327,
315,
38,
18,
588,
67,
3645,
14432,
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
] |
fireValueChange(Diffs.createValueDiff(new Boolean(oldSelectionValue), new Boolean(selectionValue))); | fireValueChange(Diffs.createValueDiff(oldSelectionValue ? Boolean.TRUE : Boolean.FALSE, selectionValue ? Boolean.TRUE : Boolean.FALSE)); | public void setValue(final Object value) { boolean oldSelectionValue = selectionValue; selectionValue = value == null ? false : ((Boolean) value) .booleanValue(); button.setSelection(selectionValue); fireValueChange(Diffs.createValueDiff(new Boolean(oldSelectionValue), new Boolean(selectionValue))); } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/76b7dc48ae1702a3ea63819ba80522fa8d7b9494/ButtonObservableValue.java/clean/bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/internal/databinding/internal/swt/ButtonObservableValue.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
5524,
12,
6385,
1033,
460,
13,
288,
202,
202,
6494,
1592,
6233,
620,
273,
4421,
620,
31,
202,
202,
10705,
620,
273,
460,
422,
446,
692,
629,
294,
14015,
5507,
13,
460,
13,
9506,
202,
18,
6494,
620,
5621,
202,
202,
5391,
18,
542,
6233,
12,
10705,
620,
1769,
202,
202,
12179,
620,
3043,
12,
10428,
2556,
18,
2640,
620,
5938,
12,
2704,
3411,
12,
1673,
6233,
620,
3631,
9506,
202,
2704,
3411,
12,
10705,
620,
3719,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
5524,
12,
6385,
1033,
460,
13,
288,
202,
202,
6494,
1592,
6233,
620,
273,
4421,
620,
31,
202,
202,
10705,
620,
273,
460,
422,
446,
692,
629,
294,
14015,
5507,
13,
460,
13,
9506,
202,
18,
6494,
620,
5621,
202,
202,
5391,
18,
542,
6233,
12,
10705,
620,
1769,
202,
202,
12179,
620,
3043,
12,
10428,
2556,
18,
2640,
620,
5938,
12,
2704,
3411,
12,
1673,
6233,
620,
3631,
9506,
202,
2704,
3411,
12,
10705,
620,
3719,
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
] |
mainPage = new NewWizardSelectionPage(this.workbench, this.selection, wizards, primary); | mainPage = new NewWizardSelectionPage(workbench, selection, root, primary, projectsOnly); | public void addPages() { NewWizardsRegistryReader rdr = new NewWizardsRegistryReader( projectsOnly); WizardCollectionElement wizards = rdr.getWizardElements(); WorkbenchWizardElement[] primary = rdr.getPrimaryWizards(); if (categoryId != null) { WizardCollectionElement categories = wizards; StringTokenizer familyTokenizer = new StringTokenizer(categoryId, CATEGORY_SEPARATOR); while (familyTokenizer.hasMoreElements()) { categories = getChildWithID(categories, familyTokenizer .nextToken()); if (categories == null) break; } if (categories != null) wizards = categories; } mainPage = new NewWizardSelectionPage(this.workbench, this.selection, wizards, primary); addPage(mainPage); } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/3d694fa5580f66413fa910c2e54a03aaef1cec34/NewWizard.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/NewWizard.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
5716,
1435,
288,
3639,
1166,
27130,
87,
4243,
2514,
436,
3069,
273,
394,
1166,
27130,
87,
4243,
2514,
12,
7734,
10137,
3386,
1769,
3639,
678,
13412,
2532,
1046,
24204,
87,
273,
436,
3069,
18,
588,
27130,
3471,
5621,
3639,
4147,
22144,
27130,
1046,
8526,
3354,
273,
436,
3069,
18,
588,
6793,
27130,
87,
5621,
3639,
309,
261,
4743,
548,
480,
446,
13,
288,
5411,
678,
13412,
2532,
1046,
6477,
273,
24204,
87,
31,
5411,
16370,
6755,
10524,
273,
394,
16370,
12,
4743,
548,
16,
10792,
31524,
19281,
67,
4550,
1769,
5411,
1323,
261,
9309,
10524,
18,
5332,
7417,
3471,
10756,
288,
7734,
6477,
273,
8154,
1190,
734,
12,
8995,
16,
6755,
10524,
13491,
263,
4285,
1345,
10663,
7734,
309,
261,
8995,
422,
446,
13,
10792,
898,
31,
5411,
289,
5411,
309,
261,
8995,
480,
446,
13,
7734,
24204,
87,
273,
6477,
31,
3639,
289,
3639,
2774,
1964,
273,
394,
1166,
27130,
6233,
1964,
12,
2211,
18,
1252,
22144,
16,
333,
18,
10705,
16,
7734,
24204,
87,
16,
3354,
1769,
3639,
527,
1964,
12,
5254,
1964,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
5716,
1435,
288,
3639,
1166,
27130,
87,
4243,
2514,
436,
3069,
273,
394,
1166,
27130,
87,
4243,
2514,
12,
7734,
10137,
3386,
1769,
3639,
678,
13412,
2532,
1046,
24204,
87,
273,
436,
3069,
18,
588,
27130,
3471,
5621,
3639,
4147,
22144,
27130,
1046,
8526,
3354,
273,
436,
3069,
18,
588,
6793,
27130,
87,
5621,
3639,
309,
261,
4743,
548,
480,
446,
13,
288,
5411,
678,
13412,
2532,
1046,
6477,
273,
24204,
87,
31,
5411,
16370,
6755,
10524,
273,
394,
16370,
12,
4743,
548,
16,
10792,
31524,
19281,
67,
4550,
1769,
5411,
1323,
261,
9309,
10524,
18,
5332,
7417,
3471,
10756,
288,
7734,
6477,
273,
8154,
1190,
734,
12,
8995,
16,
6755,
10524,
13491,
263,
4285,
2
] |
{ | { | protected JFrame createFloatingFrame(JToolBar toolbar) { // FIXME: Though deprecated, this should still work. return null; } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java | [
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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,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
804,
3219,
752,
28344,
3219,
12,
46,
6364,
5190,
12748,
13,
565,
288,
565,
368,
9852,
30,
935,
4966,
6849,
16,
333,
1410,
4859,
1440,
18,
1377,
327,
446,
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
] |
public void reloadData (String aServerName, int aPort, String aSearchString) { mVecVec = queryLDAP (aServerName, aPort, aSearchString); } | public void reloadData (String aServerName, int aPort, String aSearchString) { mVecVec = queryLDAP (aServerName, aPort, aSearchString); } | public void reloadData (String aServerName, int aPort, String aSearchString) { //reload the data from LDAP. mVecVec = queryLDAP (aServerName, aPort, aSearchString); } | 47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/b0fa2f56cd2dcc90452b768e6b38187cfb8c30eb/AddressBook.java/buggy/grendel/addressbook/AddressBook.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
7749,
751,
261,
780,
279,
28434,
16,
509,
279,
2617,
16,
514,
279,
2979,
780,
13,
288,
5411,
368,
17517,
326,
501,
628,
11916,
18,
5411,
312,
12991,
12991,
273,
843,
15496,
261,
69,
28434,
16,
279,
2617,
16,
279,
2979,
780,
1769,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
7749,
751,
261,
780,
279,
28434,
16,
509,
279,
2617,
16,
514,
279,
2979,
780,
13,
288,
5411,
368,
17517,
326,
501,
628,
11916,
18,
5411,
312,
12991,
12991,
273,
843,
15496,
261,
69,
28434,
16,
279,
2617,
16,
279,
2979,
780,
1769,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return (int) b & 0xFF; | return b & 0xFF; | public static int unsignedByteToInt(byte b) { return (int) b & 0xFF; } | 50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/BitArray.java/buggy/src/freenet/support/BitArray.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
509,
9088,
3216,
17864,
12,
7229,
324,
13,
288,
202,
202,
2463,
261,
474,
13,
324,
473,
374,
6356,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
261,
474,
13,
324,
473,
374,
6356,
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
] |
public ListDataListener[] getListDataListeners () | public ListDataListener[] getListDataListeners() | public ListDataListener[] getListDataListeners () { return (ListDataListener[]) getListeners (ListDataListener.class); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0788b89b7368770a1157f825d60dd8c5a9df183e/AbstractListModel.java/clean/core/src/classpath/javax/javax/swing/AbstractListModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
987,
751,
2223,
8526,
10033,
751,
5583,
1435,
225,
288,
565,
327,
261,
682,
751,
2223,
63,
5717,
336,
5583,
261,
682,
751,
2223,
18,
1106,
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,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
987,
751,
2223,
8526,
10033,
751,
5583,
1435,
225,
288,
565,
327,
261,
682,
751,
2223,
63,
5717,
336,
5583,
261,
682,
751,
2223,
18,
1106,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
List selectedList = new ArrayList(); | List<String> selectedList = new ArrayList<String>(); | int getChoice(final int pool, final Equipment parent, final boolean bAdd) { String choiceString = getChoiceString(); if (choiceString.length() == 0) { return 1; } final boolean forEqBuilder = choiceString.startsWith("EQBUILDER."); if (bAdd && forEqBuilder) { return 1; } List selectedList = new ArrayList(); // selected list of choices final ChooserInterface chooser = ChooserFactory.getChooserInstance(); chooser.setPoolFlag(false); chooser.setVisible(false); addAssociatedTo(selectedList); final EquipmentChoice equipChoice = buildEquipmentChoice( pool, parent, bAdd, forEqBuilder, selectedList.size()); if (!equipChoice.isBAdd()) { chooser.setPool(0); } else { chooser.setPool(equipChoice.getPool()); } chooser.setAllowsDups(equipChoice.isAllowDuplicates()); chooser.setSelectedListTerminator("|"); chooser.setTitle("Select " + equipChoice.getTitle() + " (" + getDisplayName() + ")"); Globals.sortChooserLists(equipChoice.getAvailableList(), selectedList); chooser.setAvailableList(equipChoice.getAvailableList()); chooser.setSelectedList(selectedList); chooser.setVisible(true); selectedList = chooser.getSelectedList(); setChoice(selectedList, equipChoice); return getAssociatedCount(); } | 48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/746f9fbe7d3bb98c609b2f38fbc5ffad4e685726/EquipmentModifier.java/clean/code/src/java/pcgen/core/EquipmentModifier.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
474,
336,
10538,
12,
6385,
509,
2845,
16,
727,
19008,
11568,
982,
16,
727,
1250,
324,
986,
13,
202,
95,
202,
202,
780,
6023,
780,
273,
336,
10538,
780,
5621,
202,
202,
430,
261,
11569,
780,
18,
2469,
1435,
422,
374,
13,
202,
202,
95,
1082,
202,
2463,
404,
31,
202,
202,
97,
202,
202,
6385,
1250,
364,
19508,
1263,
273,
6023,
780,
18,
17514,
1190,
2932,
27247,
3000,
2627,
4179,
1199,
1769,
202,
202,
430,
261,
70,
986,
597,
364,
19508,
1263,
13,
202,
202,
95,
1082,
202,
2463,
404,
31,
202,
202,
97,
202,
202,
682,
32,
780,
34,
3170,
682,
273,
394,
2407,
32,
780,
34,
5621,
368,
3170,
666,
434,
7246,
202,
202,
6385,
1680,
83,
13164,
1358,
5011,
13164,
273,
1680,
83,
13164,
1733,
18,
588,
17324,
1442,
5621,
202,
202,
2599,
13164,
18,
542,
2864,
4678,
12,
5743,
1769,
202,
202,
2599,
13164,
18,
542,
6207,
12,
5743,
1769,
202,
202,
1289,
19233,
774,
12,
8109,
682,
1769,
202,
202,
6385,
19008,
11568,
10538,
1298,
625,
10538,
273,
1361,
13142,
11568,
10538,
12,
9506,
202,
6011,
16,
9506,
202,
2938,
16,
9506,
202,
70,
986,
16,
9506,
202,
1884,
19508,
1263,
16,
9506,
202,
8109,
682,
18,
1467,
10663,
202,
202,
430,
16051,
14298,
625,
10538,
18,
291,
38,
986,
10756,
202,
202,
95,
1082,
202,
2599,
13164,
18,
542,
2864,
12,
20,
1769,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
2599,
13164,
18,
542,
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,
474,
336,
10538,
12,
6385,
509,
2845,
16,
727,
19008,
11568,
982,
16,
727,
1250,
324,
986,
13,
202,
95,
202,
202,
780,
6023,
780,
273,
336,
10538,
780,
5621,
202,
202,
430,
261,
11569,
780,
18,
2469,
1435,
422,
374,
13,
202,
202,
95,
1082,
202,
2463,
404,
31,
202,
202,
97,
202,
202,
6385,
1250,
364,
19508,
1263,
273,
6023,
780,
18,
17514,
1190,
2932,
27247,
3000,
2627,
4179,
1199,
1769,
202,
202,
430,
261,
70,
986,
597,
364,
19508,
1263,
13,
202,
202,
95,
1082,
202,
2463,
404,
31,
202,
202,
97,
202,
202,
682,
32,
780,
34,
3170,
682,
273,
394,
2407,
32,
780,
34,
5621,
368,
3170,
666,
434,
7246,
202,
202,
2
] |
viewBugDetailsItemActionPerformed(evt); } | viewBugDetailsItemActionPerformed(evt); } | public void actionPerformed(java.awt.event.ActionEvent evt) { viewBugDetailsItemActionPerformed(evt); } | 7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/444dcab7d7fab88a099b7d5cc0faacb83ebedc36/FindBugsFrame.java/clean/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
26100,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
6324,
13,
288,
7734,
1476,
19865,
3790,
1180,
19449,
12,
73,
11734,
1769,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
22398,
316,
326,
981,
30,
2398,
1071,
918,
26100,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
6324,
13,
288,
7734,
1476,
19865,
3790,
1180,
19449,
12,
73,
11734,
1769,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public void modifyNotification(ZModifySearchFolderEvent e, ZMailbox mbox) throws ServiceException { mQuery = e.getQuery(mQuery); mTypes = e.getTypes(mTypes); mSortBy = e.getSortBy(mSortBy); super.modifyNotification(e, mbox); | public void modifyNotification(ZModifyEvent e) throws ServiceException { if (e instanceof ZModifySearchFolderEvent) { ZModifySearchFolderEvent sfe = (ZModifySearchFolderEvent) e; mQuery = sfe.getQuery(mQuery); mTypes = sfe.getTypes(mTypes); mSortBy = sfe.getSortBy(mSortBy); super.modifyNotification(e); } | public void modifyNotification(ZModifySearchFolderEvent e, ZMailbox mbox) throws ServiceException { mQuery = e.getQuery(mQuery); mTypes = e.getTypes(mTypes); mSortBy = e.getSortBy(mSortBy); super.modifyNotification(e, mbox); } | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/48b730f3e08ad2d422ab52e47c895d1a5b1a2344/ZSearchFolder.java/buggy/ZimbraServer/src/java/com/zimbra/cs/zclient/ZSearchFolder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
5612,
4386,
12,
62,
11047,
2979,
3899,
1133,
425,
16,
2285,
30239,
312,
2147,
13,
1216,
16489,
288,
3639,
312,
1138,
273,
425,
18,
588,
1138,
12,
81,
1138,
1769,
3639,
312,
2016,
273,
425,
18,
588,
2016,
12,
81,
2016,
1769,
3639,
312,
4416,
858,
273,
425,
18,
588,
4416,
858,
12,
81,
4416,
858,
1769,
3639,
2240,
18,
17042,
4386,
12,
73,
16,
312,
2147,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
5612,
4386,
12,
62,
11047,
2979,
3899,
1133,
425,
16,
2285,
30239,
312,
2147,
13,
1216,
16489,
288,
3639,
312,
1138,
273,
425,
18,
588,
1138,
12,
81,
1138,
1769,
3639,
312,
2016,
273,
425,
18,
588,
2016,
12,
81,
2016,
1769,
3639,
312,
4416,
858,
273,
425,
18,
588,
4416,
858,
12,
81,
4416,
858,
1769,
3639,
2240,
18,
17042,
4386,
12,
73,
16,
312,
2147,
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 void testFileName() throws MojoExecutionException | public void testFileName() throws MojoExecutionException | public void testFileName() throws MojoExecutionException { DefaultArtifact artifact = (DefaultArtifact)artifacts.get(0); String name = DependencyUtil.getFormattedFileName(artifact,false); String expectedResult = "1-1.1.jar"; assertTrue(expectedResult.equalsIgnoreCase(name)); name = DependencyUtil.getFormattedFileName(artifact,true); expectedResult = "1.jar"; assertTrue(expectedResult.equalsIgnoreCase(name)); artifact = (DefaultArtifact)artifacts.get(1); name = DependencyUtil.getFormattedFileName(artifact,false); expectedResult = "2-sources-1.1-SNAPSHOT.war"; assertTrue(expectedResult.equalsIgnoreCase(name)); name = DependencyUtil.getFormattedFileName(artifact,true); expectedResult = "2-sources.war"; assertTrue(expectedResult.equalsIgnoreCase(name)); } | 7444 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7444/cc3a01ab903ce7a1610784db39e6913daeb39597/TestDependencyUtil.java/buggy/maven-dependency-plugin/src/test/java/org/apache/maven/plugin/dependency/utils/TestDependencyUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
4771,
1435,
1216,
18780,
565,
288,
3639,
2989,
7581,
6462,
273,
261,
1868,
7581,
13,
30347,
18,
588,
12,
20,
1769,
7734,
514,
508,
273,
11993,
1304,
18,
588,
18298,
4771,
12,
17706,
16,
5743,
1769,
3639,
514,
2665,
1253,
273,
315,
21,
17,
21,
18,
21,
18,
11930,
14432,
3639,
1815,
5510,
12,
3825,
1253,
18,
14963,
5556,
12,
529,
10019,
7734,
508,
273,
11993,
1304,
18,
588,
18298,
4771,
12,
17706,
16,
3767,
1769,
3639,
2665,
1253,
273,
315,
21,
18,
11930,
14432,
3639,
1815,
5510,
12,
3825,
1253,
18,
14963,
5556,
12,
529,
10019,
7734,
6462,
273,
261,
1868,
7581,
13,
30347,
18,
588,
12,
21,
1769,
7734,
508,
273,
11993,
1304,
18,
588,
18298,
4771,
12,
17706,
16,
5743,
1769,
3639,
2665,
1253,
273,
315,
22,
17,
10141,
17,
21,
18,
21,
17,
13653,
31667,
18,
905,
14432,
3639,
1815,
5510,
12,
3825,
1253,
18,
14963,
5556,
12,
529,
10019,
7734,
508,
273,
11993,
1304,
18,
588,
18298,
4771,
12,
17706,
16,
3767,
1769,
3639,
2665,
1253,
273,
315,
22,
17,
10141,
18,
905,
14432,
3639,
1815,
5510,
12,
3825,
1253,
18,
14963,
5556,
12,
529,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
4771,
1435,
1216,
18780,
565,
288,
3639,
2989,
7581,
6462,
273,
261,
1868,
7581,
13,
30347,
18,
588,
12,
20,
1769,
7734,
514,
508,
273,
11993,
1304,
18,
588,
18298,
4771,
12,
17706,
16,
5743,
1769,
3639,
514,
2665,
1253,
273,
315,
21,
17,
21,
18,
21,
18,
11930,
14432,
3639,
1815,
5510,
12,
3825,
1253,
18,
14963,
5556,
12,
529,
10019,
7734,
508,
273,
11993,
1304,
18,
588,
18298,
4771,
12,
17706,
16,
3767,
1769,
3639,
2665,
1253,
273,
315,
21,
18,
11930,
14432,
3639,
1815,
5510,
12,
3825,
1253,
18,
14963,
5556,
12,
529,
10019,
7734,
6462,
273,
261,
1868,
7581,
13,
30347,
18,
588,
12,
21,
1769,
7734,
508,
273,
11993,
1304,
2
] |
public int getFetchSize() throws SQLException; | public int getFetchSize(); | public int getFetchSize() throws SQLException; | 46597 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46597/7ecb6ede284fdf9f138028cc9db042c316e2f65e/BaseStatement.java/clean/src/interfaces/jdbc/org/postgresql/core/BaseStatement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
2812,
1593,
1225,
1435,
1216,
6483,
31,
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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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
2812,
1593,
1225,
1435,
1216,
6483,
31,
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,
-100,
-100,
-100,
-100
] |
} else { | } else { | private int checkContent(int elementIndex, QName[] children, int childOffset, int childCount) throws XNIException { fDTDGrammar.getElementDecl(elementIndex, fTempElementDecl); // Get the element name index from the element final String elementType = fCurrentElement.rawname; // Get out the content spec for this element final int contentType = fCurrentContentSpecType; // // Deal with the possible types of content. We try to optimized here // by dealing specially with content models that don't require the // full DFA treatment. // if (contentType == XMLElementDecl.TYPE_EMPTY) { // // If the child count is greater than zero, then this is // an error right off the bat at index 0. // if (childCount != 0) { return 0; } } else if (contentType == XMLElementDecl.TYPE_ANY) { // // This one is open game so we don't pass any judgement on it // at all. Its assumed to fine since it can hold anything. // } else if (contentType == XMLElementDecl.TYPE_MIXED || contentType == XMLElementDecl.TYPE_CHILDREN) { // Get the content model for this element, faulting it in if needed ContentModelValidator cmElem = null; cmElem = fTempElementDecl.contentModelValidator; int result = cmElem.validate(children, childOffset, childCount); return result; } else if (contentType == -1) { //REVISIT /**** reportRecoverableXMLError(XMLMessages.MSG_ELEMENT_NOT_DECLARED, XMLMessages.VC_ELEMENT_VALID, elementType); /****/ } else if (contentType == XMLElementDecl.TYPE_SIMPLE) { //REVISIT // this should never be reached in the case of DTD validation. } else { //REVISIT /**** fErrorReporter.reportError(fErrorReporter.getLocator(), ImplementationMessages.XERCES_IMPLEMENTATION_DOMAIN, ImplementationMessages.VAL_CST, 0, null, XMLErrorReporter.ERRORTYPE_FATAL_ERROR); /****/ } // We succeeded return -1; } // checkContent(int,int,QName[]):int | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/1281996de10d3af1b51f0b4d78cfcd75d8ade6fe/XMLDTDValidator.java/clean/src/org/apache/xerces/impl/dtd/XMLDTDValidator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
866,
1350,
12,
474,
930,
1016,
16,
17311,
16723,
8526,
2325,
16,
11794,
509,
1151,
2335,
16,
17311,
509,
31492,
13,
1216,
1139,
50,
45,
503,
288,
3639,
284,
25728,
18576,
18,
21336,
3456,
12,
2956,
1016,
16,
284,
7185,
1046,
3456,
1769,
3639,
368,
968,
326,
930,
508,
770,
628,
326,
930,
3639,
727,
514,
21427,
273,
284,
3935,
1046,
18,
1899,
529,
31,
3639,
368,
968,
596,
326,
913,
857,
364,
333,
930,
3639,
727,
509,
5064,
273,
284,
3935,
1350,
1990,
559,
31,
3639,
368,
3639,
368,
225,
28998,
598,
326,
3323,
1953,
434,
913,
18,
1660,
775,
358,
15411,
2674,
3639,
368,
225,
635,
21964,
857,
6261,
598,
913,
3679,
716,
2727,
1404,
2583,
326,
3639,
368,
225,
1983,
463,
2046,
24266,
18,
3639,
368,
3639,
309,
261,
22194,
422,
1139,
11155,
3456,
18,
2399,
67,
13625,
13,
288,
5411,
368,
5411,
368,
225,
971,
326,
1151,
1056,
353,
6802,
2353,
3634,
16,
1508,
333,
353,
5411,
368,
225,
392,
555,
2145,
3397,
326,
27464,
622,
770,
374,
18,
5411,
368,
5411,
309,
261,
3624,
1380,
480,
374,
13,
288,
7734,
327,
374,
31,
5411,
289,
3639,
289,
469,
309,
261,
22194,
422,
1139,
11155,
3456,
18,
2399,
67,
15409,
13,
288,
5411,
368,
5411,
368,
225,
1220,
1245,
353,
1696,
7920,
1427,
732,
2727,
1404,
1342,
1281,
525,
1100,
75,
820,
603,
518,
5411,
368,
225,
622,
777,
18,
29517,
12034,
358,
11079,
3241,
518,
848,
6887,
6967,
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,
377,
3238,
509,
866,
1350,
12,
474,
930,
1016,
16,
17311,
16723,
8526,
2325,
16,
11794,
509,
1151,
2335,
16,
17311,
509,
31492,
13,
1216,
1139,
50,
45,
503,
288,
3639,
284,
25728,
18576,
18,
21336,
3456,
12,
2956,
1016,
16,
284,
7185,
1046,
3456,
1769,
3639,
368,
968,
326,
930,
508,
770,
628,
326,
930,
3639,
727,
514,
21427,
273,
284,
3935,
1046,
18,
1899,
529,
31,
3639,
368,
968,
596,
326,
913,
857,
364,
333,
930,
3639,
727,
509,
5064,
273,
284,
3935,
1350,
1990,
559,
31,
3639,
368,
3639,
368,
225,
28998,
598,
326,
3323,
1953,
434,
913,
18,
1660,
775,
358,
15411,
2674,
3639,
368,
225,
635,
21964,
857,
6261,
598,
913,
3679,
716,
2727,
2
] |
columnChooser.setEnabled( true ); | ArrayList columnList = new ArrayList( ); | private void refreshColumns( ) { columns = DataSetManager.getCurrentInstance( ) .getColumns( currentDataSetName, false ); columnChooser.removeAll( ); if ( columns.length == 0 ) { columnChooser.setEnabled( false ); columnChooser.setItems( new String[0] ); selectedColumnIndex = -1; } else { columnChooser.setEnabled( true ); for ( int i = 0; i < columns.length; i++ ) { columnChooser.add( columns[i].getDataSetColumnName( ) ); } columnChooser.select( 0 ); selectedColumnIndex = 0; } refreshValues( ); } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/a037c90be1076dbd56aea4fca2068d72d718af1c/ImportValueDialog.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/ImportValueDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
4460,
3380,
12,
262,
202,
95,
202,
202,
5112,
273,
14065,
1318,
18,
588,
3935,
1442,
12,
262,
9506,
202,
18,
588,
3380,
12,
30685,
11924,
16,
629,
11272,
202,
202,
2827,
17324,
18,
4479,
1595,
12,
11272,
202,
202,
430,
261,
2168,
18,
2469,
422,
374,
262,
202,
202,
95,
1082,
202,
2827,
17324,
18,
542,
1526,
12,
629,
11272,
1082,
202,
2827,
17324,
18,
542,
3126,
12,
394,
514,
63,
20,
65,
11272,
1082,
202,
8109,
21689,
273,
300,
21,
31,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
2827,
17324,
18,
542,
1526,
12,
638,
11272,
1082,
202,
1884,
261,
509,
277,
273,
374,
31,
277,
411,
2168,
18,
2469,
31,
277,
9904,
262,
1082,
202,
95,
9506,
202,
2827,
17324,
18,
1289,
12,
2168,
63,
77,
8009,
588,
13676,
8516,
12,
262,
11272,
1082,
202,
97,
1082,
202,
2827,
17324,
18,
4025,
12,
374,
11272,
1082,
202,
8109,
21689,
273,
374,
31,
202,
202,
97,
202,
202,
9144,
1972,
12,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
4460,
3380,
12,
262,
202,
95,
202,
202,
5112,
273,
14065,
1318,
18,
588,
3935,
1442,
12,
262,
9506,
202,
18,
588,
3380,
12,
30685,
11924,
16,
629,
11272,
202,
202,
2827,
17324,
18,
4479,
1595,
12,
11272,
202,
202,
430,
261,
2168,
18,
2469,
422,
374,
262,
202,
202,
95,
1082,
202,
2827,
17324,
18,
542,
1526,
12,
629,
11272,
1082,
202,
2827,
17324,
18,
542,
3126,
12,
394,
514,
63,
20,
65,
11272,
1082,
202,
8109,
21689,
273,
300,
21,
31,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
2827,
17324,
18,
542,
1526,
12,
638,
11272,
1082,
202,
1884,
261,
509,
277,
273,
374,
31,
277,
411,
2168,
18,
2
] |
&& !opt.matchesHideExpression(tags[i].text())) { | && !opt.matchesHideExpression(tags[i].text())) { | public void print(Options iopt, ClassDoc c) { opt = (Options)iopt.clone(); // Process class-local options (through @opt tags) opt.setOptions(c); String cs = name(c); // Print generalization (through the Java superclass) ClassDoc s = c.superclass(); if (s != null && !s.toString().equals("java.lang.Object")) { if (!opt.matchesHideExpression(c.toString()) && !opt.matchesHideExpression(s.toString()) && !hidden(c) && !hidden(s)) { opt.w.println("\t//" + c + " extends " + s); opt.w.println("\t" + name(s) + " -> " + cs + " [dir=back,arrowtail=empty];"); } } // Print generalizations (through @extends tags) Tag tags[] = c.tags("extends"); for (int i = 0; i < tags.length; i++) { if (!opt.matchesHideExpression(c.toString()) && !opt.matchesHideExpression(tags[i].text())) { opt.w.println("\t//" + c + " extends " + tags[i].text()); opt.w.println("\t" + name(tags[i].text()) + " -> " + cs + " [dir=back,arrowtail=empty];"); } } // Print realizations (Java interfaces) ClassDoc ifs[] = c.interfaces(); for (int i = 0; i < ifs.length; i++) { if (!opt.matchesHideExpression(c.toString()) && !opt.matchesHideExpression(ifs[i].toString()) && !hidden(c) && !hidden(ifs[i])) { opt.w.print("\t" + name(ifs[i]) + " -> " + cs + " [dir=back,arrowtail=empty,style=dashed];"); opt.w.println("\t//" + c + " implements " + ifs[i]); } } // Print other associations relation("assoc", c, cs, "arrowhead=none"); relation("navassoc", c, cs, "arrowhead=open"); relation("has", c, cs, "arrowhead=none, arrowtail=ediamond"); relation("composed", c, cs, "arrowhead=none, arrowtail=diamond"); relation("depend", c, cs, "arrowhead=open, style=dashed"); } | 47201 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47201/01b5ee673e70f9ae7ebf822a9eb42a9566990d57/Options.java/buggy/src/org/umlgraph/doclet/Options.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1172,
12,
1320,
2527,
337,
16,
27785,
276,
13,
288,
202,
202,
3838,
273,
261,
1320,
13,
1594,
337,
18,
14056,
5621,
202,
202,
759,
4389,
667,
17,
3729,
702,
261,
10064,
632,
3838,
2342,
13,
202,
202,
3838,
18,
542,
1320,
12,
71,
1769,
202,
202,
780,
2873,
273,
508,
12,
71,
1769,
202,
202,
759,
3038,
7470,
1588,
261,
10064,
326,
5110,
12098,
13,
202,
202,
797,
1759,
272,
273,
276,
18,
9565,
1106,
5621,
202,
202,
430,
261,
87,
480,
446,
597,
401,
87,
18,
10492,
7675,
14963,
2932,
6290,
18,
4936,
18,
921,
6,
3719,
202,
202,
95,
1082,
202,
430,
16051,
3838,
18,
8436,
15690,
2300,
12,
71,
18,
10492,
10756,
9506,
202,
10,
10,
401,
3838,
18,
8436,
15690,
2300,
12,
87,
18,
10492,
10756,
9506,
202,
10,
10,
401,
6345,
12,
71,
13,
597,
401,
6345,
12,
87,
3719,
1082,
202,
95,
9506,
202,
3838,
18,
91,
18,
8222,
31458,
88,
759,
6,
397,
276,
397,
315,
3231,
315,
397,
272,
1769,
9506,
202,
3838,
18,
91,
18,
8222,
31458,
88,
6,
397,
508,
12,
87,
13,
397,
315,
317,
315,
397,
2873,
397,
315,
306,
1214,
33,
823,
16,
7815,
13101,
33,
5531,
65,
4868,
1769,
1082,
202,
97,
202,
202,
97,
202,
202,
759,
3038,
7470,
7089,
261,
10064,
632,
13020,
2342,
13,
202,
202,
1805,
2342,
8526,
273,
276,
18,
4156,
2932,
13020,
8863,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1172,
12,
1320,
2527,
337,
16,
27785,
276,
13,
288,
202,
202,
3838,
273,
261,
1320,
13,
1594,
337,
18,
14056,
5621,
202,
202,
759,
4389,
667,
17,
3729,
702,
261,
10064,
632,
3838,
2342,
13,
202,
202,
3838,
18,
542,
1320,
12,
71,
1769,
202,
202,
780,
2873,
273,
508,
12,
71,
1769,
202,
202,
759,
3038,
7470,
1588,
261,
10064,
326,
5110,
12098,
13,
202,
202,
797,
1759,
272,
273,
276,
18,
9565,
1106,
5621,
202,
202,
430,
261,
87,
480,
446,
597,
401,
87,
18,
10492,
7675,
14963,
2932,
6290,
18,
4936,
18,
921,
6,
3719,
202,
202,
95,
1082,
202,
430,
16051,
3838,
18,
8436,
15690,
2300,
12,
71,
18,
10492,
2
] |
logger.debug("image creation thread is finished"); | logger.debug("image total " + imageTotals + " plot total " + plottingTotals); | public void run(){ PlotInfo currentRequirements; BasicSeismogramDisplay.ImagePainter currentPatron; int numLeft; Graphics2D graphic; Image currentImage = null; BufferedImage buffCurrentImage = null; Dimension size; HashMap plotters; numLeft = requests.size(); while(numLeft > 0){ logger.debug("creating an image with " + numLeft + " in the queue"); synchronized(this){ currentPatron = ((BasicSeismogramDisplay.ImagePainter)requests.getFirst()); currentRequirements = ((PlotInfo)patrons.get(currentPatron)); size = currentRequirements.getSize(); plotters = ((HashMap)currentRequirements.getPlotters().clone()); if(requests.contains(currentPatron) && size.width > 0){ if(bufferedImage){ buffCurrentImage = new BufferedImage(size.width, size.height, BufferedImage.TYPE_BYTE_INDEXED); graphic = buffCurrentImage.createGraphics(); }else{ currentImage = currentPatron.createImage(size.width, size.height); graphic = (Graphics2D)currentImage.getGraphics(); } } else{ numLeft = requests.size(); break; } } Iterator e = plotters.keySet().iterator(); LinkedList afterSeismograms = new LinkedList(); if(bufferedImage){ graphic.setColor(Color.white); graphic.fill(new Rectangle(0, 0, size.width, size.height)); } while(e.hasNext()){ Plotter current = ((Plotter)e.next()); if(current instanceof SeismogramPlotter){ graphic.setColor((Color)plotters.get(current)); graphic.draw(current.draw(size)); }else{ afterSeismograms.add(current); } } e = afterSeismograms.iterator(); while(e.hasNext()){ Plotter current = ((Plotter)e.next()); graphic.setColor((Color)plotters.get(current)); graphic.draw(current.draw(size)); } synchronized(this){ if(currentRequirements.getDisplayInterval().getValue() == currentPatron.getTimeConfig().getTimeRange().getInterval().getValue() && requests.contains(currentPatron)){ requests.removeFirst(); if(bufferedImage) currentPatron.setImage(buffCurrentImage); else currentPatron.setImage(currentImage); } numLeft = requests.size(); } } logger.debug("image creation thread is finished"); } | 52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/7c5594fda532a974a5c1834ca1fbcca302661955/ImageMaker.java/clean/src/edu/sc/seis/fissuresUtil/display/ImageMaker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
95,
202,
11532,
966,
783,
15465,
31,
202,
8252,
1761,
6228,
5553,
4236,
18,
2040,
15775,
783,
22834,
1949,
31,
202,
474,
818,
3910,
31,
202,
17558,
22,
40,
19548,
31,
202,
2040,
783,
2040,
273,
446,
31,
202,
17947,
2040,
6139,
3935,
2040,
273,
446,
31,
202,
8611,
963,
31,
225,
202,
8658,
3207,
5432,
31,
202,
565,
818,
3910,
273,
3285,
18,
1467,
5621,
202,
17523,
12,
2107,
3910,
405,
374,
15329,
202,
565,
1194,
18,
4148,
2932,
23799,
392,
1316,
598,
315,
397,
818,
3910,
397,
315,
316,
326,
2389,
8863,
202,
565,
3852,
12,
2211,
15329,
3196,
202,
2972,
22834,
1949,
273,
14015,
8252,
1761,
6228,
5553,
4236,
18,
2040,
15775,
13,
11420,
18,
588,
3759,
10663,
3196,
202,
2972,
15465,
273,
14015,
11532,
966,
13,
16330,
1949,
87,
18,
588,
12,
2972,
22834,
1949,
10019,
3196,
202,
1467,
273,
783,
15465,
18,
588,
1225,
5621,
202,
202,
4032,
5432,
273,
14015,
8658,
13,
2972,
15465,
18,
588,
11532,
5432,
7675,
14056,
10663,
202,
377,
202,
430,
12,
11420,
18,
12298,
12,
2972,
22834,
1949,
13,
597,
963,
18,
2819,
405,
374,
15329,
1082,
565,
309,
12,
26385,
2040,
15329,
1082,
202,
20664,
3935,
2040,
273,
394,
12362,
12,
1467,
18,
2819,
16,
963,
18,
4210,
16,
12362,
18,
2399,
67,
15377,
67,
9199,
2056,
1769,
1082,
202,
4660,
335,
273,
6139,
3935,
2040,
18,
2640,
17558,
5621,
1082,
565,
289,
12107,
95,
1082,
202,
2972,
2040,
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,
918,
1086,
1435,
95,
202,
11532,
966,
783,
15465,
31,
202,
8252,
1761,
6228,
5553,
4236,
18,
2040,
15775,
783,
22834,
1949,
31,
202,
474,
818,
3910,
31,
202,
17558,
22,
40,
19548,
31,
202,
2040,
783,
2040,
273,
446,
31,
202,
17947,
2040,
6139,
3935,
2040,
273,
446,
31,
202,
8611,
963,
31,
225,
202,
8658,
3207,
5432,
31,
202,
565,
818,
3910,
273,
3285,
18,
1467,
5621,
202,
17523,
12,
2107,
3910,
405,
374,
15329,
202,
565,
1194,
18,
4148,
2932,
23799,
392,
1316,
598,
315,
397,
818,
3910,
397,
315,
316,
326,
2389,
8863,
202,
565,
3852,
12,
2211,
15329,
3196,
202,
2972,
22834,
1949,
273,
14015,
8252,
1761,
6228,
5553,
4236,
18,
2040,
2
] |
int LA25_344 = input.LA(1); if ( LA25_344=='r' ) {return s466;} | int LA25_466 = input.LA(1); if ( LA25_466=='n' ) {return s564;} | public DFA.State transition(IntStream input) throws RecognitionException { int LA25_344 = input.LA(1); if ( LA25_344=='r' ) {return s466;} return s45; } | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/7e425814ce563fcc662b266adb2a4dc8e1a95d19/JavaParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParserLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
463,
2046,
18,
1119,
6007,
12,
1702,
1228,
810,
13,
1216,
9539,
288,
7734,
509,
2928,
2947,
67,
5026,
24,
273,
810,
18,
2534,
12,
21,
1769,
7734,
309,
261,
2928,
2947,
67,
5026,
24,
18920,
86,
11,
262,
288,
2463,
272,
24,
6028,
31,
97,
7734,
327,
272,
7950,
31,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
463,
2046,
18,
1119,
6007,
12,
1702,
1228,
810,
13,
1216,
9539,
288,
7734,
509,
2928,
2947,
67,
5026,
24,
273,
810,
18,
2534,
12,
21,
1769,
7734,
309,
261,
2928,
2947,
67,
5026,
24,
18920,
86,
11,
262,
288,
2463,
272,
24,
6028,
31,
97,
7734,
327,
272,
7950,
31,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
/* if(currentGrailsProp.isManyToOne() && currentGrailsProp.isBidirectional() ) { GrailsDomainClassProperty otherSide = currentGrailsProp.getOtherSide(); if(otherSide.isOneToMany()) table = null; }*/ | protected static void createClassProperties(GrailsDomainClass domainClass, PersistentClass persistentClass, Mappings mappings) { GrailsDomainClassProperty[] persistantProperties = domainClass.getPersistantProperties(); Table table = persistentClass.getTable(); for(int i = 0; i < persistantProperties.length;i++) { GrailsDomainClassProperty currentGrailsProp = persistantProperties[i]; // if its inherited skip if(currentGrailsProp.isInherited()) continue; /* if(currentGrailsProp.isManyToOne() && currentGrailsProp.isBidirectional() ) { GrailsDomainClassProperty otherSide = currentGrailsProp.getOtherSide(); if(otherSide.isOneToMany()) table = null; }*/ if(LOG.isDebugEnabled()) LOG.debug("[GrailsDomainBinder] Binding persistent property [" + currentGrailsProp.getName() + "]"); Value value = null; // see if its a collection type CollectionType collectionType = CollectionType.collectionTypeForClass( currentGrailsProp.getType() ); if(collectionType != null) { // create collection Collection collection = collectionType.create( currentGrailsProp, persistentClass, mappings ); mappings.addCollection(collection); value = collection; } // work out what type of relationship it is and bind value else if ( currentGrailsProp.isManyToOne() ) { if(LOG.isDebugEnabled()) LOG.debug("[GrailsDomainBinder] Binding property [" + currentGrailsProp.getName() + "] as ManyToOne"); value = new ManyToOne( table ); bindManyToOne( currentGrailsProp, (ManyToOne) value, mappings ); } else if ( currentGrailsProp.isOneToOne()) { if(LOG.isDebugEnabled()) LOG.debug("[GrailsDomainBinder] Binding property [" + currentGrailsProp.getName() + "] as OneToOne"); //value = new OneToOne( table, persistentClass ); //bindOneToOne( currentGrailsProp, (OneToOne)value, mappings ); value = new ManyToOne( table ); bindManyToOne( currentGrailsProp, (ManyToOne) value, mappings ); } else { if(LOG.isDebugEnabled()) LOG.debug("[GrailsDomainBinder] Binding property [" + currentGrailsProp.getName() + "] as SimpleValue"); value = new SimpleValue( table ); bindSimpleValue( persistantProperties[i], (SimpleValue) value, mappings ); } if(value != null) { Property property = createProperty( value, persistentClass, persistantProperties[i], mappings ); persistentClass.addProperty( property ); } } } | 51576 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51576/fe351f9f0f376d45dd59d502c6d56321bf14f907/GrailsDomainBinder.java/clean/src/persistence/org/codehaus/groovy/grails/orm/hibernate/cfg/GrailsDomainBinder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
760,
918,
752,
797,
2297,
12,
14571,
14573,
3748,
797,
2461,
797,
16,
11049,
797,
9195,
797,
16,
1635,
4675,
7990,
13,
288,
9506,
202,
14571,
14573,
3748,
797,
1396,
8526,
3898,
970,
2297,
273,
2461,
797,
18,
588,
12771,
970,
2297,
5621,
202,
202,
1388,
1014,
273,
9195,
797,
18,
588,
1388,
5621,
9506,
202,
1884,
12,
474,
277,
273,
374,
31,
277,
411,
3898,
970,
2297,
18,
2469,
31,
77,
27245,
288,
25083,
202,
14571,
14573,
3748,
797,
1396,
783,
14571,
14573,
4658,
273,
3898,
970,
2297,
63,
77,
15533,
1082,
202,
759,
309,
2097,
12078,
2488,
1082,
202,
430,
12,
2972,
14571,
14573,
4658,
18,
291,
29078,
10756,
9506,
202,
17143,
31,
25083,
202,
20308,
1082,
202,
430,
12,
2972,
14571,
14573,
4658,
18,
291,
5594,
16027,
1435,
597,
783,
14571,
14573,
4658,
18,
291,
17763,
24699,
1435,
262,
288,
9506,
202,
14571,
14573,
3748,
797,
1396,
1308,
8895,
273,
783,
14571,
14573,
4658,
18,
588,
8290,
8895,
5621,
9506,
202,
430,
12,
3011,
8895,
18,
291,
3335,
12601,
10756,
6862,
202,
2121,
273,
446,
31,
1082,
202,
97,
5549,
25083,
202,
430,
12,
4842,
18,
291,
2829,
1526,
10756,
4697,
202,
4842,
18,
4148,
2932,
63,
14571,
14573,
3748,
17700,
65,
15689,
9195,
1272,
8247,
397,
783,
14571,
14573,
4658,
18,
17994,
1435,
397,
9870,
1769,
25083,
202,
620,
460,
273,
446,
31,
25083,
202,
759,
2621,
309,
2097,
279,
1849,
618,
1082,
202,
2532,
559,
1849,
559,
273,
2200,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
760,
918,
752,
797,
2297,
12,
14571,
14573,
3748,
797,
2461,
797,
16,
11049,
797,
9195,
797,
16,
1635,
4675,
7990,
13,
288,
9506,
202,
14571,
14573,
3748,
797,
1396,
8526,
3898,
970,
2297,
273,
2461,
797,
18,
588,
12771,
970,
2297,
5621,
202,
202,
1388,
1014,
273,
9195,
797,
18,
588,
1388,
5621,
9506,
202,
1884,
12,
474,
277,
273,
374,
31,
277,
411,
3898,
970,
2297,
18,
2469,
31,
77,
27245,
288,
25083,
202,
14571,
14573,
3748,
797,
1396,
783,
14571,
14573,
4658,
273,
3898,
970,
2297,
63,
77,
15533,
1082,
202,
759,
309,
2097,
12078,
2488,
1082,
202,
430,
12,
2972,
14571,
14573,
4658,
18,
291,
29078,
10756,
9506,
202,
17143,
31,
25083,
2
] |
|
opt.w.println("\t | opt.w.println("\t | public void print(Options iopt, ClassDoc c) { opt = (Options)iopt.clone(); // Process class-local options (through @opt tags) opt.setOptions(c); String cs = name(c); // Print generalization (through the Java superclass) ClassDoc s = c.superclass(); if (s != null && !s.toString().equals("java.lang.Object")) { opt.w.println("\t//" + c + " extends " + s); opt.w.println("\t" + name(s) + " -> " + cs + " [dir=back,arrowtail=empty];"); } // Print generalizations (through @extends tags) Tag tags[] = c.tags("extends"); for (int i = 0; i < tags.length; i++) { opt.w.println("\t//" + c + " extends " + tags[i].text()); opt.w.println("\t" + name(tags[i].text()) + " -> " + cs + " [dir=back,arrowtail=empty];"); } // Print realizations (Java interfaces) ClassDoc ifs[] = c.interfaces(); for (int i = 0; i < ifs.length; i++) { opt.w.print("\t" + name(ifs[i]) + " -> " + cs + " [dir=back,arrowtail=empty,style=dashed];"); opt.w.println("\t//" + c + " implements " + s); } // Print other associations relation("assoc", c, cs, "arrowhead=none"); relation("navassoc", c, cs, "arrowhead=open"); relation("has", c, cs, "arrowhead=none, arrowtail=ediamond"); relation("composed", c, cs, "arrowhead=none, arrowtail=diamond"); relation("depend", c, cs, "arrowhead=open, style=dashed"); } | 47201 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47201/09aed1fee62778448ed951eba0e36f86d0166df4/UmlGraph.java/buggy/src/gr/spinellis/umlgraph/doclet/UmlGraph.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1172,
12,
1320,
2527,
337,
16,
27785,
276,
13,
288,
202,
202,
3838,
273,
261,
1320,
13,
1594,
337,
18,
14056,
5621,
202,
202,
759,
4389,
667,
17,
3729,
702,
261,
10064,
632,
3838,
2342,
13,
202,
202,
3838,
18,
542,
1320,
12,
71,
1769,
202,
202,
780,
2873,
273,
508,
12,
71,
1769,
202,
202,
759,
3038,
7470,
1588,
261,
10064,
326,
5110,
12098,
13,
202,
202,
797,
1759,
272,
273,
276,
18,
9565,
1106,
5621,
202,
202,
430,
261,
87,
480,
446,
597,
401,
87,
18,
10492,
7675,
14963,
2932,
6290,
18,
4936,
18,
921,
6,
3719,
288,
1082,
202,
3838,
18,
91,
18,
8222,
31458,
88,
759,
6,
397,
276,
397,
315,
3231,
315,
397,
272,
1769,
1082,
202,
3838,
18,
91,
18,
8222,
31458,
88,
6,
397,
508,
12,
87,
13,
397,
315,
317,
315,
397,
2873,
397,
315,
306,
1214,
33,
823,
16,
7815,
13101,
33,
5531,
65,
4868,
1769,
202,
202,
97,
202,
202,
759,
3038,
7470,
7089,
261,
10064,
632,
13020,
2342,
13,
202,
202,
1805,
2342,
8526,
273,
276,
18,
4156,
2932,
13020,
8863,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
2342,
18,
2469,
31,
277,
27245,
288,
1082,
202,
3838,
18,
91,
18,
8222,
31458,
88,
759,
6,
397,
276,
397,
315,
3231,
315,
397,
2342,
63,
77,
8009,
955,
10663,
1082,
202,
3838,
18,
91,
18,
8222,
31458,
88,
6,
397,
508,
12,
4156,
63,
77,
8009,
955,
10756,
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,
1172,
12,
1320,
2527,
337,
16,
27785,
276,
13,
288,
202,
202,
3838,
273,
261,
1320,
13,
1594,
337,
18,
14056,
5621,
202,
202,
759,
4389,
667,
17,
3729,
702,
261,
10064,
632,
3838,
2342,
13,
202,
202,
3838,
18,
542,
1320,
12,
71,
1769,
202,
202,
780,
2873,
273,
508,
12,
71,
1769,
202,
202,
759,
3038,
7470,
1588,
261,
10064,
326,
5110,
12098,
13,
202,
202,
797,
1759,
272,
273,
276,
18,
9565,
1106,
5621,
202,
202,
430,
261,
87,
480,
446,
597,
401,
87,
18,
10492,
7675,
14963,
2932,
6290,
18,
4936,
18,
921,
6,
3719,
288,
1082,
202,
3838,
18,
91,
18,
8222,
31458,
88,
759,
6,
397,
276,
397,
315,
2
] |
if (uri != null && uri.equals(XSLT_URI) || prefix != null && prefix.equals(XMLNS_STRING)) { | if (prefix != null && prefix.equals(XMLNS_PREFIX) || prefix == null && qname.getLocalPart().equals("xmlns") || uri != null && uri.equals(XSLT_URI)) { | public void parseContents(Parser parser) { final SymbolTable stable = parser.getSymbolTable(); stable.setCurrentNode(this); // Find the closest literal element ancestor (if there is one) SyntaxTreeNode _literalElemParent = getParent(); while (_literalElemParent != null && !(_literalElemParent instanceof LiteralElement)) { _literalElemParent = _literalElemParent.getParent(); } if (!(_literalElemParent instanceof LiteralElement)) { _literalElemParent = null; } _name = translateQName(_qname, stable); // Process all attributes and register all namespaces they use final int count = _attributes.getLength(); for (int i = 0; i < count; i++) { final QName qname = parser.getQName(_attributes.getQName(i)); final String uri = qname.getNamespace(); final String val = _attributes.getValue(i); // Handle xsl:use-attribute-sets. Attribute sets are placed first // in the vector or attributes to make sure that later local // attributes can override an attributes in the set. if (qname == parser.getUseAttributeSets()) { setFirstAttribute(new UseAttributeSets(val, parser)); } // Handle xsl:extension-element-prefixes else if (qname == parser.getExtensionElementPrefixes()) { stable.excludeNamespaces(val); } // Handle xsl:exclude-result-prefixes else if (qname == parser.getExcludeResultPrefixes()) { stable.excludeNamespaces(val); } else { // Ignore special attributes final String prefix = qname.getPrefix(); if (uri != null && uri.equals(XSLT_URI) || prefix != null && prefix.equals(XMLNS_STRING)) { continue; } // Handle all other literal attributes final String name = translateQName(qname, stable); LiteralAttribute attr = new LiteralAttribute(name, val, parser); addAttribute(attr); attr.setParent(this); attr.parseContents(parser); } } // Register all namespaces that are in scope, except for those that // are listed in the xsl:stylesheet element's *-prefixes attributes final Enumeration include = getNamespaceScope(this); while (include.hasMoreElements()) { final String prefix = (String)include.nextElement(); if (!prefix.equals("xml")) { final String uri = lookupNamespace(prefix); if (uri != null && !stable.isExcludedNamespace(uri)) { registerNamespace(prefix, uri, stable, true); } } } parseChildren(parser); // Process all attributes and register all namespaces they use for (int i = 0; i < count; i++) { final QName qname = parser.getQName(_attributes.getQName(i)); final String val = _attributes.getValue(i); // Handle xsl:extension-element-prefixes if (qname == parser.getExtensionElementPrefixes()) { stable.unExcludeNamespaces(val); } // Handle xsl:exclude-result-prefixes else if (qname == parser.getExcludeResultPrefixes()) { stable.unExcludeNamespaces(val); } } } | 2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/c182aaab554bb87686974c81c803a41313917745/LiteralElement.java/buggy/src/org/apache/xalan/xsltc/compiler/LiteralElement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1109,
6323,
12,
2678,
2082,
13,
288,
202,
6385,
8565,
1388,
14114,
273,
2082,
18,
588,
5335,
1388,
5621,
202,
15021,
18,
542,
3935,
907,
12,
2211,
1769,
202,
759,
4163,
326,
9219,
7158,
930,
9731,
261,
430,
1915,
353,
1245,
13,
202,
8070,
12513,
389,
13107,
7498,
3054,
273,
5089,
5621,
202,
17523,
261,
67,
13107,
7498,
3054,
480,
446,
597,
401,
24899,
13107,
7498,
3054,
1276,
14392,
1046,
3719,
288,
202,
565,
389,
13107,
7498,
3054,
273,
389,
13107,
7498,
3054,
18,
588,
3054,
5621,
202,
97,
202,
430,
16051,
24899,
13107,
7498,
3054,
1276,
14392,
1046,
3719,
288,
202,
565,
389,
13107,
7498,
3054,
273,
446,
31,
202,
97,
202,
67,
529,
273,
4204,
13688,
24899,
85,
529,
16,
14114,
1769,
202,
759,
4389,
777,
1677,
471,
1744,
777,
7728,
2898,
999,
202,
6385,
509,
1056,
273,
389,
4350,
18,
588,
1782,
5621,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1056,
31,
277,
27245,
288,
202,
565,
727,
16723,
12621,
273,
2082,
18,
588,
13688,
24899,
4350,
18,
588,
13688,
12,
77,
10019,
202,
565,
727,
514,
2003,
273,
12621,
18,
588,
3402,
5621,
202,
565,
727,
514,
1244,
273,
389,
4350,
18,
24805,
12,
77,
1769,
202,
565,
368,
5004,
20791,
30,
1202,
17,
4589,
17,
4424,
18,
3601,
1678,
854,
15235,
1122,
202,
565,
368,
316,
326,
3806,
578,
1677,
358,
1221,
3071,
716,
5137,
1191,
202,
565,
368,
1677,
848,
3849,
392,
1677,
316,
326,
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,
1109,
6323,
12,
2678,
2082,
13,
288,
202,
6385,
8565,
1388,
14114,
273,
2082,
18,
588,
5335,
1388,
5621,
202,
15021,
18,
542,
3935,
907,
12,
2211,
1769,
202,
759,
4163,
326,
9219,
7158,
930,
9731,
261,
430,
1915,
353,
1245,
13,
202,
8070,
12513,
389,
13107,
7498,
3054,
273,
5089,
5621,
202,
17523,
261,
67,
13107,
7498,
3054,
480,
446,
597,
401,
24899,
13107,
7498,
3054,
1276,
14392,
1046,
3719,
288,
202,
565,
389,
13107,
7498,
3054,
273,
389,
13107,
7498,
3054,
18,
588,
3054,
5621,
202,
97,
202,
430,
16051,
24899,
13107,
7498,
3054,
1276,
14392,
1046,
3719,
288,
202,
565,
389,
13107,
7498,
3054,
273,
446,
31,
202,
97,
202,
67,
529,
273,
2
] |
setProperties(props); | setProperties(props, FrontEnd.ACOUSTIC_PROP_PREFIX); | public SpectrumAnalyzer(String name, String context, SphinxProperties props, AudioSource predecessor) throws IOException { super(name, context); setProperties(props); this.predecessor = predecessor; computeLogBase2(this.numberFftPoints); createWeightFft(numberFftPoints, false); initComplexArrays(); weightFftTimesFrom2 = new Complex(); tempComplex = new Complex(); } | 8321 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8321/456afc27f898f9c2b17d0db359806b2c07550aad/SpectrumAnalyzer.java/buggy/sphinx4/edu/cmu/sphinx/frontend/SpectrumAnalyzer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
348,
13324,
12803,
12,
780,
508,
16,
514,
819,
16,
4697,
565,
348,
15922,
2297,
3458,
16,
18701,
15045,
1830,
24282,
13,
1216,
1860,
288,
3639,
2240,
12,
529,
16,
819,
1769,
202,
542,
2297,
12,
9693,
16,
16465,
1638,
18,
2226,
51,
5996,
2871,
67,
15811,
67,
6307,
1769,
3639,
333,
18,
1484,
14258,
280,
273,
24282,
31,
202,
9200,
1343,
2171,
22,
12,
2211,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
348,
13324,
12803,
12,
780,
508,
16,
514,
819,
16,
4697,
565,
348,
15922,
2297,
3458,
16,
18701,
15045,
1830,
24282,
13,
1216,
1860,
288,
3639,
2240,
12,
529,
16,
819,
1769,
202,
542,
2297,
12,
9693,
16,
16465,
1638,
18,
2226,
51,
5996,
2871,
67,
15811,
67,
6307,
1769,
3639,
333,
18,
1484,
14258,
280,
273,
24282,
31,
202,
9200,
1343,
2171,
22,
12,
2211,
18,
2696,
42,
1222,
5636,
1769,
202,
2640,
6544,
42,
1222,
12,
2696,
42,
1222,
5636,
16,
629,
1769,
3639,
1208,
12795,
12726,
5621,
3639,
3119,
42,
1222,
10694,
1265,
22,
273,
394,
16060,
5621,
202,
5814,
12795,
273,
394,
16060,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Subsets and Splits