rem
stringlengths 1
226k
| add
stringlengths 0
227k
| context
stringlengths 6
326k
| meta
stringlengths 143
403
| input_ids
listlengths 256
256
| attention_mask
listlengths 256
256
| labels
listlengths 128
128
|
|---|---|---|---|---|---|---|
data.keyNrs = new int[meta.getKeyFields().length]; data.keyAsc = new boolean[meta.getKeyFields().length]; for (int i=0;i<data.keyNrs.length;i++)
|
if (data.one!=null)
|
public boolean processRow(StepMetaInterface smi, StepDataInterface sdi) throws KettleException { meta=(MergeRowsMeta)smi; data=(MergeRowsData)sdi; if (first) { first = false; data.one=getRowFrom(meta.getReferenceStepName()); data.two=getRowFrom(meta.getCompareStepName()); // Find the key indexes: data.keyNrs = new int[meta.getKeyFields().length]; data.keyAsc = new boolean[meta.getKeyFields().length]; for (int i=0;i<data.keyNrs.length;i++) { data.keyNrs[i] = data.one.searchValueIndex(meta.getKeyFields()[i]); if (data.keyNrs[i]<0) { String message = Messages.getString("MergeRows.Exception.UnableToFindFieldInReferenceStream",meta.getKeyFields()[i]); //$NON-NLS-1$ //$NON-NLS-2$ logError(message); throw new KettleStepException(message); } data.keyAsc[i] = true; } data.valueNrs = new int[meta.getValueFields().length]; data.valueAsc = new boolean[meta.getValueFields().length]; for (int i=0;i<data.valueNrs.length;i++) { data.valueNrs[i] = data.one.searchValueIndex(meta.getValueFields()[i]); if (data.valueNrs[i]<0) { String message = Messages.getString("MergeRows.Exception.UnableToFindFieldInReferenceStream",meta.getValueFields()[i]); //$NON-NLS-1$ //$NON-NLS-2$ logError(message); throw new KettleStepException(message); } data.valueAsc[i] = true; } } if (log.isRowLevel()) logRowlevel(Messages.getString("MergeRows.Log.DataInfo",data.one+"")+data.two); //$NON-NLS-1$ //$NON-NLS-2$ if (data.one==null && data.two==null) { setOutputDone(); return false; } if (data.one==null && data.two!=null) // Record 2 is flagged as new! { data.two.addValue(VALUE_NEW); putRow(data.two); // Also get a next row from compare rowset... data.two=getRowFrom(meta.getCompareStepName()); } else if (data.one!=null && data.two==null) // Record 1 is flagged as deleted! { data.one.addValue(VALUE_DELETED); putRow(data.one); // Also get a next row from reference rowset... data.one=getRowFrom(meta.getReferenceStepName()); } else // OK, Here is the real start of the compare code! { int compare = data.one.compare(data.two, data.keyNrs, data.keyAsc); if (compare==0) // The Key matches, we CAN compare the two rows... { int compareValues = data.one.compare(data.two, data.valueNrs, data.valueAsc); if (compareValues==0) { data.one.addValue(VALUE_IDENTICAL); putRow(data.one); } else { data.two.addValue(VALUE_CHANGED); putRow(data.two); } // Get a new row from both streams... data.one=getRowFrom(meta.getReferenceStepName()); data.two=getRowFrom(meta.getCompareStepName()); } else { if (compare<0) // one < two { data.one.addValue(VALUE_DELETED); putRow(data.one); data.one=getRowFrom(meta.getReferenceStepName()); } else { data.two.addValue(VALUE_NEW); putRow(data.two); data.two=getRowFrom(meta.getCompareStepName()); } } } if ((linesRead>0) && (linesRead%Const.ROWS_UPDATE)==0) logBasic(Messages.getString("MergeRows.LineNumber")+linesRead); //$NON-NLS-1$ return true; }
|
58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/6636be22b1bf2307449c69ab02d980b8fb3def36/MergeRows.java/buggy/kettle/src/be/ibridge/kettle/trans/step/mergerows/MergeRows.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1207,
1999,
12,
4160,
2781,
1358,
3029,
77,
16,
8693,
751,
1358,
272,
3211,
13,
1216,
1475,
278,
5929,
503,
202,
95,
202,
202,
3901,
28657,
6786,
4300,
2781,
13,
4808,
77,
31,
202,
202,
892,
28657,
6786,
4300,
751,
13,
87,
3211,
31,
3639,
309,
261,
3645,
13,
3639,
288,
5411,
1122,
273,
629,
31,
377,
202,
202,
892,
18,
476,
33,
588,
1999,
1265,
12,
3901,
18,
588,
2404,
4160,
461,
10663,
5411,
501,
18,
15415,
33,
588,
1999,
1265,
12,
3901,
18,
588,
8583,
4160,
461,
10663,
13491,
368,
4163,
326,
498,
5596,
30,
5411,
501,
18,
856,
50,
5453,
273,
394,
509,
63,
3901,
18,
588,
653,
2314,
7675,
2469,
15533,
5411,
501,
18,
856,
13665,
273,
394,
1250,
63,
3901,
18,
588,
653,
2314,
7675,
2469,
15533,
5411,
364,
261,
474,
277,
33,
20,
31,
77,
32,
892,
18,
856,
50,
5453,
18,
2469,
31,
77,
27245,
5411,
288,
7734,
501,
18,
856,
50,
5453,
63,
77,
65,
273,
501,
18,
476,
18,
3072,
620,
1016,
12,
3901,
18,
588,
653,
2314,
1435,
63,
77,
19226,
7734,
309,
261,
892,
18,
856,
50,
5453,
63,
77,
65,
32,
20,
13,
7734,
288,
10792,
514,
883,
273,
4838,
18,
588,
780,
2932,
6786,
4300,
18,
503,
18,
3370,
774,
3125,
974,
382,
2404,
1228,
3113,
3901,
18,
588,
653,
2314,
1435,
63,
77,
19226,
225,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
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,
1250,
1207,
1999,
12,
4160,
2781,
1358,
3029,
77,
16,
8693,
751,
1358,
272,
3211,
13,
1216,
1475,
278,
5929,
503,
202,
95,
202,
202,
3901,
28657,
6786,
4300,
2781,
13,
4808,
77,
31,
202,
202,
892,
28657,
6786,
4300,
751,
13,
87,
3211,
31,
3639,
309,
261,
3645,
13,
3639,
288,
5411,
1122,
273,
629,
31,
377,
202,
202,
892,
18,
476,
33,
588,
1999,
1265,
12,
3901,
18,
588,
2404,
4160,
461,
10663,
5411,
501,
18,
15415,
33,
588,
1999,
1265,
12,
3901,
18,
588,
8583,
4160,
461,
10663,
13491,
368,
4163,
326,
498,
5596,
30,
5411,
501,
18,
856,
50,
5453,
273,
394,
509,
63,
3901,
18,
588,
653,
2314,
7675,
2469,
15533,
2
] |
} catch (EvaluatorException ee) { exitCode = EXITCODE_RUNTIME_ERROR;
|
public static Object evaluateScript(Context cx, Scriptable scope, Reader in, String script, String sourceName, int lineno, Object securityDomain) { if (!global.initialized) { global.init(cx); } Object result = cx.getUndefinedValue(); try { if (in != null) { try { try { result = cx.evaluateReader(scope, in, sourceName, lineno, securityDomain); } finally { in.close(); } } catch (IOException ioe) { global.getErr().println(ioe.toString()); } } else { result = cx.evaluateString(scope, script, sourceName, lineno, securityDomain); } } catch (WrappedException we) { global.getErr().println(we.getWrappedException().toString()); we.printStackTrace(); } catch (EvaluatorException ee) { // Already printed message. exitCode = EXITCODE_RUNTIME_ERROR; } catch (RhinoException rex) { errorReporter.reportException(rex); exitCode = EXITCODE_RUNTIME_ERROR; } catch (VirtualMachineError ex) { // Treat StackOverflow and OutOfMemory as runtime errors ex.printStackTrace(); String msg = ToolErrorReporter.getMessage( "msg.uncaughtJSException", ex.toString()); exitCode = EXITCODE_RUNTIME_ERROR; Context.reportError(msg); } return result; }
|
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/aaf94996c9c9e8b31c1f33325bd87d08e06d1881/Main.java/clean/toolsrc/org/mozilla/javascript/tools/shell/Main.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
5956,
3651,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
3639,
5393,
316,
16,
514,
2728,
16,
4766,
3639,
514,
28337,
16,
4766,
3639,
509,
7586,
16,
1033,
4373,
3748,
13,
565,
288,
3639,
309,
16051,
6347,
18,
13227,
13,
288,
5411,
2552,
18,
2738,
12,
71,
92,
1769,
3639,
289,
3639,
1033,
563,
273,
9494,
18,
588,
10317,
620,
5621,
3639,
775,
288,
5411,
309,
261,
267,
480,
446,
13,
288,
7734,
775,
288,
10792,
775,
288,
13491,
563,
273,
9494,
18,
21024,
2514,
12,
4887,
16,
316,
16,
4766,
10402,
28337,
16,
7586,
16,
4766,
10402,
4373,
3748,
1769,
10792,
289,
3095,
288,
13491,
316,
18,
4412,
5621,
10792,
289,
7734,
289,
1044,
261,
14106,
10847,
13,
288,
10792,
2552,
18,
588,
2524,
7675,
8222,
12,
1594,
73,
18,
10492,
10663,
7734,
289,
5411,
289,
469,
288,
7734,
563,
273,
9494,
18,
21024,
780,
12,
4887,
16,
2728,
16,
28337,
16,
7586,
16,
4766,
6647,
4373,
3748,
1769,
5411,
289,
3639,
289,
1044,
261,
17665,
503,
732,
13,
288,
5411,
2552,
18,
588,
2524,
7675,
8222,
12,
1814,
18,
588,
17665,
503,
7675,
10492,
10663,
5411,
732,
18,
1188,
6332,
5621,
3639,
289,
1044,
261,
15876,
503,
14657,
13,
288,
5411,
368,
17009,
14099,
883,
18,
5411,
16067,
273,
28407,
5572,
67,
54,
25375,
67,
3589,
31,
3639,
289,
1044,
261,
54,
76,
15020,
503,
28929,
13,
288,
5411,
555,
13289,
18,
6006,
503,
12,
266,
92,
1769,
5411,
16067,
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,
760,
1033,
5956,
3651,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
3639,
5393,
316,
16,
514,
2728,
16,
4766,
3639,
514,
28337,
16,
4766,
3639,
509,
7586,
16,
1033,
4373,
3748,
13,
565,
288,
3639,
309,
16051,
6347,
18,
13227,
13,
288,
5411,
2552,
18,
2738,
12,
71,
92,
1769,
3639,
289,
3639,
1033,
563,
273,
9494,
18,
588,
10317,
620,
5621,
3639,
775,
288,
5411,
309,
261,
267,
480,
446,
13,
288,
7734,
775,
288,
10792,
775,
288,
13491,
563,
273,
9494,
18,
21024,
2514,
12,
4887,
16,
316,
16,
4766,
10402,
28337,
16,
7586,
16,
4766,
10402,
4373,
3748,
1769,
10792,
289,
3095,
288,
13491,
316,
18,
4412,
5621,
10792,
289,
7734,
289,
1044,
2
] |
|
}
|
}
|
public void windowOpened(IWorkbenchWindow window) { // Do nothing. }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/52bdedcde9b5aecaf3408ceb20ea4ef30f487849/WorkbenchKeyboard.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/keys/WorkbenchKeyboard.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
2742,
23115,
12,
45,
2421,
22144,
3829,
2742,
13,
288,
1082,
202,
759,
2256,
5083,
18,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
2742,
23115,
12,
45,
2421,
22144,
3829,
2742,
13,
288,
1082,
202,
759,
2256,
5083,
18,
202,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 Binding getBinding(HttpServletRequest request, HttpServletResponse response, Writer out) throws IOException { // Set up the script context Binding binding = new Binding(); GroovyObject controller = (GroovyObject)request.getAttribute(GrailsApplicationAttributes.CONTROLLER); if(controller!=null) { binding.setVariable(GroovyPage.REQUEST, controller.getProperty(ControllerDynamicMethods.REQUEST_PROPERTY)); binding.setVariable(GroovyPage.RESPONSE, controller.getProperty(ControllerDynamicMethods.RESPONSE_PROPERTY)); binding.setVariable(GroovyPage.FLASH, controller.getProperty(ControllerDynamicMethods.FLASH_SCOPE_PROPERTY)); binding.setVariable(GroovyPage.SERVLET_CONTEXT, context); ApplicationContext appContext = (ApplicationContext)context.getAttribute(GrailsApplicationAttributes.APPLICATION_CONTEXT); binding.setVariable(GroovyPage.APPLICATION_CONTEXT, appContext); binding.setVariable(GrailsApplication.APPLICATION_ID, appContext.getBean(GrailsApplication.APPLICATION_ID)); binding.setVariable(GrailsApplicationAttributes.CONTROLLER, controller); binding.setVariable(GroovyPage.SESSION, controller.getProperty(GetSessionDynamicProperty.PROPERTY_NAME)); binding.setVariable(GroovyPage.PARAMS, controller.getProperty(GetParamsDynamicProperty.PROPERTY_NAME)); binding.setVariable(GroovyPage.OUT, out); } else { // if there is no controller in the request configure using existing attributes, creating objects where necessary GrailsApplicationAttributes attrs = (GrailsApplicationAttributes)request.getAttribute(GrailsApplicationAttributes.REQUEST_SCOPE_ID); binding.setVariable(GroovyPage.REQUEST, request); binding.setVariable(GroovyPage.RESPONSE, response); binding.setVariable(GroovyPage.FLASH, attrs.getFlashScope(request)); binding.setVariable(GroovyPage.SERVLET_CONTEXT, context); ApplicationContext appContext = (ApplicationContext)context.getAttribute(GrailsApplicationAttributes.APPLICATION_CONTEXT); binding.setVariable(GroovyPage.APPLICATION_CONTEXT, appContext); binding.setVariable(GrailsApplication.APPLICATION_ID, appContext.getBean(GrailsApplication.APPLICATION_ID)); binding.setVariable(GroovyPage.SESSION, request.getSession()); binding.setVariable(GroovyPage.PARAMS, new GrailsParameterMap(request)); binding.setVariable(GroovyPage.OUT, out); } // Go through request attributes and add them to the binding as the model for (Enumeration attributeEnum = request.getAttributeNames(); attributeEnum.hasMoreElements();) { String key = (String) attributeEnum.nextElement(); if(!binding.getVariables().containsKey(key)) { binding.setVariable( key, request.getAttribute(key) ); } } for (Iterator i = additionalBinding.keySet().iterator(); i.hasNext();) { String key = (String)i.next(); binding.setVariable(key, additionalBinding.get(key)); } return binding; } // getBinding()
|
50831 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50831/8f437ade5e2fd07aeb51b071528e08fc29c1a205/GroovyPagesTemplateEngine.java/clean/src/web/org/codehaus/groovy/grails/web/pages/GroovyPagesTemplateEngine.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
4750,
15689,
29471,
12,
2940,
18572,
590,
16,
12446,
766,
16,
5497,
596,
13,
7734,
1216,
1860,
288,
5411,
368,
1000,
731,
326,
2728,
819,
5411,
15689,
5085,
273,
394,
15689,
5621,
13491,
20841,
921,
2596,
273,
261,
43,
12859,
921,
13,
2293,
18,
588,
1499,
12,
14571,
14573,
3208,
2498,
18,
6067,
25353,
1769,
5411,
309,
12,
5723,
5,
33,
2011,
13,
288,
202,
5411,
5085,
18,
542,
3092,
12,
43,
12859,
1964,
18,
5519,
16,
2596,
18,
588,
1396,
12,
2933,
9791,
4712,
18,
5519,
67,
9900,
10019,
202,
5411,
5085,
18,
542,
3092,
12,
43,
12859,
1964,
18,
14508,
16,
2596,
18,
588,
1396,
12,
2933,
9791,
4712,
18,
14508,
67,
9900,
10019,
202,
5411,
5085,
18,
542,
3092,
12,
43,
12859,
1964,
18,
42,
16504,
16,
2596,
18,
588,
1396,
12,
2933,
9791,
4712,
18,
42,
16504,
67,
19444,
67,
9900,
10019,
202,
5411,
5085,
18,
542,
3092,
12,
43,
12859,
1964,
18,
31066,
15146,
67,
13181,
16,
819,
1769,
202,
5411,
4257,
1042,
595,
1042,
273,
261,
28278,
13,
2472,
18,
588,
1499,
12,
14571,
14573,
3208,
2498,
18,
25039,
67,
13181,
1769,
202,
5411,
5085,
18,
542,
3092,
12,
43,
12859,
1964,
18,
25039,
67,
13181,
16,
595,
1042,
1769,
202,
5411,
5085,
18,
542,
3092,
12,
14571,
14573,
3208,
18,
25039,
67,
734,
16,
595,
1042,
18,
588,
3381,
12,
14571,
14573,
3208,
18,
25039,
67,
734,
10019,
202,
5411,
5085,
18,
542,
3092,
12,
14571,
14573,
3208,
2498,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
4750,
15689,
29471,
12,
2940,
18572,
590,
16,
12446,
766,
16,
5497,
596,
13,
7734,
1216,
1860,
288,
5411,
368,
1000,
731,
326,
2728,
819,
5411,
15689,
5085,
273,
394,
15689,
5621,
13491,
20841,
921,
2596,
273,
261,
43,
12859,
921,
13,
2293,
18,
588,
1499,
12,
14571,
14573,
3208,
2498,
18,
6067,
25353,
1769,
5411,
309,
12,
5723,
5,
33,
2011,
13,
288,
202,
5411,
5085,
18,
542,
3092,
12,
43,
12859,
1964,
18,
5519,
16,
2596,
18,
588,
1396,
12,
2933,
9791,
4712,
18,
5519,
67,
9900,
10019,
202,
5411,
5085,
18,
542,
3092,
12,
43,
12859,
1964,
18,
14508,
16,
2596,
18,
588,
1396,
12,
2933,
9791,
4712,
18,
14508,
67,
9900,
10019,
202,
5411,
2
] |
||
source.append((char)ts.ASSIGN); source.append((char)ts.getOp());
|
sourceAdd((char)ts.ASSIGN); sourceAdd((char)ts.getOp());
|
private Object assignExpr(TokenStream ts, Source source, boolean inForInit) throws IOException, JavaScriptException { Object pn = condExpr(ts, source, inForInit); if (ts.matchToken(ts.ASSIGN)) { // omitted: "invalid assignment left-hand side" check. source.append((char)ts.ASSIGN); source.append((char)ts.getOp()); pn = nf.createBinary(ts.ASSIGN, ts.getOp(), pn, assignExpr(ts, source, inForInit)); } return pn; }
|
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/3d2e81a014b22cf4d1eb8921bd4229c2ca7ff017/Parser.java/buggy/js/rhino/src/org/mozilla/javascript/Parser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
2683,
4742,
12,
1345,
1228,
3742,
16,
4998,
1084,
16,
1250,
316,
1290,
2570,
13,
3639,
1216,
1860,
16,
11905,
503,
565,
288,
3639,
1033,
11059,
273,
6941,
4742,
12,
3428,
16,
1084,
16,
316,
1290,
2570,
1769,
3639,
309,
261,
3428,
18,
1916,
1345,
12,
3428,
18,
23289,
3719,
288,
5411,
368,
16195,
30,
315,
5387,
6661,
2002,
17,
2349,
4889,
6,
866,
18,
5411,
1084,
18,
6923,
12443,
3001,
13,
3428,
18,
23289,
1769,
5411,
1084,
18,
6923,
12443,
3001,
13,
3428,
18,
588,
3817,
10663,
5411,
11059,
273,
13958,
18,
2640,
5905,
12,
3428,
18,
23289,
16,
3742,
18,
588,
3817,
9334,
11059,
16,
4766,
2683,
4742,
12,
3428,
16,
1084,
16,
316,
1290,
2570,
10019,
3639,
289,
3639,
327,
11059,
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,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
11905,
503,
565,
288,
3639,
1033,
11059,
273,
6941,
4742,
12,
3428,
16,
1084,
16,
316,
1290,
2570,
1769,
3639,
309,
261,
3428,
18,
1916,
1345,
12,
3428,
18,
23289,
3719,
288,
5411,
368,
16195,
30,
315,
5387,
6661,
2002,
17,
2349,
4889,
6,
866,
18,
5411,
1084,
18,
6923,
12443,
3001,
13,
3428,
18,
23289,
1769,
5411,
1084,
18,
6923,
12443,
3001,
13,
3428,
18,
588,
3817,
10663,
5411,
11059,
273,
13958,
18,
2640,
5905,
12,
3428,
18,
23289,
16,
3742,
18,
588,
3817,
9334,
11059,
16,
4766,
2683,
4742,
12,
3428,
16,
1084,
16,
316,
2
] |
bo = (Bounds) oValue; img = new BufferedImage((int) bo.getWidth(), (int) bo.getHeight(), getImageType()); super.setProperty(IDeviceRenderer.GRAPHICS_CONTEXT, img.getGraphics());
|
_bo = (Bounds) oValue; } else if (sProperty.equals(IDeviceRenderer.CACHED_IMAGE)) { _img = (Image) oValue;
|
public void setProperty(String sProperty, Object oValue) { super.setProperty(sProperty, oValue); if (sProperty.equals(IDeviceRenderer.EXPECTED_BOUNDS)) { bo = (Bounds) oValue; img = new BufferedImage((int) bo.getWidth(), (int) bo.getHeight(), getImageType()); super.setProperty(IDeviceRenderer.GRAPHICS_CONTEXT, img.getGraphics()); } else if (sProperty.equals(IDeviceRenderer.FILE_IDENTIFIER)) { oOutputIdentifier = oValue; } }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/33beeddc227788afba30169ba3caf62900be93f8/JavaxImageIOWriter.java/buggy/chart/org.eclipse.birt.chart.device.extension/src/org/eclipse/birt/chart/device/image/JavaxImageIOWriter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
7486,
12,
780,
272,
1396,
16,
1033,
320,
620,
13,
565,
288,
3639,
2240,
18,
542,
1396,
12,
87,
1396,
16,
320,
620,
1769,
3639,
309,
261,
87,
1396,
18,
14963,
12,
734,
73,
633,
6747,
18,
27409,
67,
5315,
2124,
3948,
3719,
3639,
288,
5411,
800,
273,
261,
5694,
13,
320,
620,
31,
5411,
3774,
273,
394,
12362,
12443,
474,
13,
800,
18,
588,
2384,
9334,
261,
474,
13,
800,
18,
588,
2686,
9334,
10567,
559,
10663,
5411,
2240,
18,
542,
1396,
12,
734,
73,
633,
6747,
18,
24372,
28919,
67,
13181,
16,
3774,
18,
588,
17558,
10663,
3639,
289,
3639,
469,
309,
261,
87,
1396,
18,
14963,
12,
734,
73,
633,
6747,
18,
3776,
67,
16606,
3719,
3639,
288,
5411,
320,
1447,
3004,
273,
320,
620,
31,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
7486,
12,
780,
272,
1396,
16,
1033,
320,
620,
13,
565,
288,
3639,
2240,
18,
542,
1396,
12,
87,
1396,
16,
320,
620,
1769,
3639,
309,
261,
87,
1396,
18,
14963,
12,
734,
73,
633,
6747,
18,
27409,
67,
5315,
2124,
3948,
3719,
3639,
288,
5411,
800,
273,
261,
5694,
13,
320,
620,
31,
5411,
3774,
273,
394,
12362,
12443,
474,
13,
800,
18,
588,
2384,
9334,
261,
474,
13,
800,
18,
588,
2686,
9334,
10567,
559,
10663,
5411,
2240,
18,
542,
1396,
12,
734,
73,
633,
6747,
18,
24372,
28919,
67,
13181,
16,
3774,
18,
588,
17558,
10663,
3639,
289,
3639,
469,
309,
261,
87,
1396,
18,
14963,
12,
734,
73,
633,
6747,
18,
3776,
2
] |
currentElement = null;
|
public ICElementDelta[] processResourceDelta(IResourceDelta changes) { try { ICElement root = (ICModel)CModelManager.getDefault().getCModel(); currentElement = null; /* try { changes.accept(new IResourceDeltaVisitor() { public boolean visit(IResourceDelta delta) { switch (delta.getKind()) { case IResourceDelta.ADDED : // handle added resource System.out.print("ADDED "); break; case IResourceDelta.REMOVED : // handle removed resource System.out.print("REMOVED "); break; case IResourceDelta.CHANGED : // handle changed resource System.out.print("CHANGED "); break; } System.out.println(delta.getResource()); return true; } }); } catch (CoreException e) { }*/ // get the workspace delta, and start processing there. IResourceDelta[] deltas = changes.getAffectedChildren(); ICElementDelta[] translatedDeltas = new CElementDelta[deltas.length]; for (int i = 0; i < deltas.length; i++) { IResourceDelta delta = deltas[i]; fCurrentDelta = new CElementDelta(root); traverseDelta(delta); // traverse delta translatedDeltas[i] = fCurrentDelta; } return filterRealDeltas(translatedDeltas); } finally { } }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/61799d7c742601047122ff1a0234425a3e5316fd/DeltaProcessor.java/buggy/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
26899,
1046,
9242,
8526,
1207,
1420,
9242,
12,
45,
1420,
9242,
3478,
13,
288,
202,
202,
698,
288,
1082,
202,
2871,
1046,
1365,
273,
261,
2871,
1488,
13,
39,
1488,
1318,
18,
588,
1868,
7675,
588,
39,
1488,
5621,
1082,
202,
2972,
1046,
273,
446,
31,
1082,
202,
20308,
1082,
202,
698,
288,
9506,
202,
6329,
18,
9436,
12,
2704,
467,
1420,
9242,
7413,
1435,
288,
6862,
202,
482,
1250,
3757,
12,
45,
1420,
9242,
3622,
13,
288,
25083,
202,
9610,
261,
9878,
18,
588,
5677,
10756,
288,
6862,
1082,
202,
3593,
467,
1420,
9242,
18,
1880,
7660,
294,
6862,
1082,
202,
759,
1640,
3096,
1058,
6862,
1082,
202,
3163,
18,
659,
18,
1188,
2932,
1880,
7660,
315,
1769,
6862,
1082,
202,
8820,
31,
6862,
1082,
202,
3593,
467,
1420,
9242,
18,
11122,
12135,
294,
6862,
1082,
202,
759,
1640,
3723,
1058,
6862,
1082,
202,
3163,
18,
659,
18,
1188,
2932,
11122,
12135,
315,
1769,
6862,
1082,
202,
8820,
31,
6862,
1082,
202,
3593,
467,
1420,
9242,
18,
24435,
294,
6862,
1082,
202,
759,
1640,
3550,
1058,
6862,
1082,
202,
3163,
18,
659,
18,
1188,
2932,
24435,
315,
1769,
6862,
1082,
202,
8820,
31,
25083,
202,
97,
25083,
202,
3163,
18,
659,
18,
8222,
12,
9878,
18,
588,
1420,
10663,
25083,
202,
2463,
638,
31,
6862,
202,
97,
9506,
202,
22938,
1082,
202,
97,
1044,
261,
25341,
425,
13,
288,
1082,
202,
97,
5549,
1082,
202,
759,
336,
326,
6003,
3622,
16,
471,
787,
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,
26899,
1046,
9242,
8526,
1207,
1420,
9242,
12,
45,
1420,
9242,
3478,
13,
288,
202,
202,
698,
288,
1082,
202,
2871,
1046,
1365,
273,
261,
2871,
1488,
13,
39,
1488,
1318,
18,
588,
1868,
7675,
588,
39,
1488,
5621,
1082,
202,
2972,
1046,
273,
446,
31,
1082,
202,
20308,
1082,
202,
698,
288,
9506,
202,
6329,
18,
9436,
12,
2704,
467,
1420,
9242,
7413,
1435,
288,
6862,
202,
482,
1250,
3757,
12,
45,
1420,
9242,
3622,
13,
288,
25083,
202,
9610,
261,
9878,
18,
588,
5677,
10756,
288,
6862,
1082,
202,
3593,
467,
1420,
9242,
18,
1880,
7660,
294,
6862,
1082,
202,
759,
1640,
3096,
1058,
6862,
1082,
202,
3163,
18,
659,
18,
1188,
2932,
1880,
2
] |
|
for(int i = 0; i < constants.length; i++) { Constant co = constants[i]; if (co instanceof ConstantDouble || co instanceof ConstantLong) i++; if (co instanceof ConstantClass) { String name = ((ConstantClass)co).getBytes(cp); while (name.charAt(0) == '[') name = name.substring(1); if (referenced.add(name)) try { JavaClass clazz = Repository.lookupClass(name); result.add(clazz); } catch (ClassNotFoundException e) { }
|
for (int i = 0; i < constants.length; i++) { Constant co = constants[i]; if (co instanceof ConstantDouble || co instanceof ConstantLong) i++; if (co instanceof ConstantClass) { String name = ((ConstantClass) co).getBytes(cp); name = extractClassName(name); if (referenced.add(name)) try { JavaClass clazz = Repository.lookupClass(name); result.add(clazz); } catch (ClassNotFoundException e) { } } else if (co instanceof ConstantCP) { ConstantCP co2 = (ConstantCP) co; String className = ConstantNameAndType nt = (ConstantNameAndType) cp .getConstant(co2.getNameAndTypeIndex()); String ref = getMemberName(c, co2.getClassIndex(), nt .getNameIndex(), nt.getSignatureIndex());
|
public Set<JavaClass> getReferencedClasses(JavaClass c) { Set<JavaClass> result = new HashSet<JavaClass>(); ConstantPool cp = c.getConstantPool(); Constant[] constants = cp.getConstantPool(); for(int i = 0; i < constants.length; i++) { Constant co = constants[i]; if (co instanceof ConstantDouble || co instanceof ConstantLong) i++; if (co instanceof ConstantClass) { String name = ((ConstantClass)co).getBytes(cp); while (name.charAt(0) == '[') name = name.substring(1); if (referenced.add(name)) try { JavaClass clazz = Repository.lookupClass(name); result.add(clazz); } catch (ClassNotFoundException e) { } } } return result; }
|
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/499ef3d3d6c4fae5f8f9b06620d9d29851d0a0a0/Subtypes.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/ch/Subtypes.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1000,
32,
5852,
797,
34,
13223,
72,
4818,
12,
5852,
797,
276,
13,
288,
202,
202,
694,
32,
5852,
797,
34,
563,
273,
394,
6847,
32,
5852,
797,
34,
5621,
202,
202,
6902,
2864,
3283,
273,
276,
18,
588,
6902,
2864,
5621,
202,
202,
6902,
8526,
6810,
273,
3283,
18,
588,
6902,
2864,
5621,
202,
202,
1884,
12,
474,
277,
273,
374,
31,
277,
411,
6810,
18,
2469,
31,
277,
27245,
288,
1082,
565,
10551,
1825,
273,
6810,
63,
77,
15533,
1082,
565,
309,
261,
2894,
1276,
10551,
5265,
4697,
202,
20081,
1825,
1276,
10551,
3708,
13,
1082,
202,
77,
9904,
31,
1082,
565,
309,
261,
2894,
1276,
10551,
797,
13,
288,
1082,
202,
780,
508,
273,
14015,
6902,
797,
13,
2894,
2934,
588,
2160,
12,
4057,
1769,
1082,
202,
17523,
261,
529,
18,
3001,
861,
12,
20,
13,
422,
8375,
13,
508,
273,
508,
18,
28023,
12,
21,
1769,
1082,
202,
430,
261,
20883,
18,
1289,
12,
529,
3719,
1082,
202,
698,
288,
1082,
202,
5852,
797,
4003,
273,
6281,
18,
8664,
797,
12,
529,
1769,
1082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1000,
32,
5852,
797,
34,
13223,
72,
4818,
12,
5852,
797,
276,
13,
288,
202,
202,
694,
32,
5852,
797,
34,
563,
273,
394,
6847,
32,
5852,
797,
34,
5621,
202,
202,
6902,
2864,
3283,
273,
276,
18,
588,
6902,
2864,
5621,
202,
202,
6902,
8526,
6810,
273,
3283,
18,
588,
6902,
2864,
5621,
202,
202,
1884,
12,
474,
277,
273,
374,
31,
277,
411,
6810,
18,
2469,
31,
277,
27245,
288,
1082,
565,
10551,
1825,
273,
6810,
63,
77,
15533,
1082,
565,
309,
261,
2894,
1276,
10551,
5265,
4697,
202,
20081,
1825,
1276,
10551,
3708,
13,
1082,
202,
77,
9904,
31,
1082,
565,
309,
261,
2894,
1276,
10551,
797,
13,
288,
1082,
202,
780,
508,
2
] |
Document doc2 = builder.createDocument();
|
Document doc2 = XmlDomBuilder.createDocument();
|
public void testCopyDocument() throws Exception { Document doc2 = builder.createDocument(); Element root2 = builder.createRoot(doc2, "root2"); assertNull(root2.getFirstChild()); builder.copyDocument(document, doc2); assertEquals(rootElem.getNodeName(), root2.getFirstChild().getNodeName()); }
|
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/937506240c6421d72c6e4ac39165aafc20c8c427/TestXmlDomBuilder.java/buggy/test/src/org/lockss/util/TestXmlDomBuilder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
2951,
2519,
1435,
1216,
1185,
288,
565,
4319,
997,
22,
273,
5714,
8832,
1263,
18,
2640,
2519,
5621,
565,
3010,
1365,
22,
273,
2089,
18,
2640,
2375,
12,
2434,
22,
16,
315,
3085,
22,
8863,
565,
1815,
2041,
12,
3085,
22,
18,
588,
3759,
1763,
10663,
565,
2089,
18,
3530,
2519,
12,
5457,
16,
997,
22,
1769,
565,
1815,
8867,
12,
3085,
7498,
18,
588,
18948,
9334,
1365,
22,
18,
588,
3759,
1763,
7675,
588,
18948,
10663,
225,
289,
2,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
2951,
2519,
1435,
1216,
1185,
288,
565,
4319,
997,
22,
273,
5714,
8832,
1263,
18,
2640,
2519,
5621,
565,
3010,
1365,
22,
273,
2089,
18,
2640,
2375,
12,
2434,
22,
16,
315,
3085,
22,
8863,
565,
1815,
2041,
12,
3085,
22,
18,
588,
3759,
1763,
10663,
565,
2089,
18,
3530,
2519,
12,
5457,
16,
997,
22,
1769,
565,
1815,
8867,
12,
3085,
7498,
18,
588,
18948,
9334,
1365,
22,
18,
588,
3759,
1763,
7675,
588,
18948,
10663,
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
] |
if (state.getThreadContext().isBlockGiven()) {
|
if (runtime.getCurrentContext().isBlockGiven()) {
|
public Instruction visitYieldNode(YieldNode iVisited) { if (state.getThreadContext().isBlockGiven()) { definition = "yield"; } return null; }
|
46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/6e15491217631472c05c6928672f9c7064a978b3/DefinedVisitor.java/clean/src/org/jruby/evaluator/DefinedVisitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
24605,
3757,
16348,
907,
12,
16348,
907,
277,
30019,
13,
288,
202,
202,
430,
261,
2019,
18,
588,
3830,
1042,
7675,
291,
1768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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
24605,
3757,
16348,
907,
12,
16348,
907,
277,
30019,
13,
288,
202,
202,
430,
261,
2019,
18,
588,
3830,
1042,
7675,
291,
1768,
6083,
10756,
288,
1082,
202,
6907,
273,
315,
23604,
14432,
202,
202,
97,
202,
202,
2463,
446,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public int getSample(int x, int y, int b, DataBuffer data) {
|
public int getSample(int x, int y, int b, DataBuffer data) {
|
public int getSample(int x, int y, int b, DataBuffer data) { return data.getElem(bankIndices[b], getOffset(x, y, b)); }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ComponentSampleModel.java/buggy/core/src/classpath/java/java/awt/image/ComponentSampleModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
26078,
12,
474,
619,
16,
509,
677,
16,
509,
324,
16,
1910,
1892,
501,
13,
288,
202,
202,
2463,
501,
18,
588,
7498,
12,
10546,
8776,
63,
70,
6487,
13386,
12,
92,
16,
677,
16,
324,
10019,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
26078,
12,
474,
619,
16,
509,
677,
16,
509,
324,
16,
1910,
1892,
501,
13,
288,
202,
202,
2463,
501,
18,
588,
7498,
12,
10546,
8776,
63,
70,
6487,
13386,
12,
92,
16,
677,
16,
324,
10019,
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
] |
super(document, element, locale, type); m_stringValue = element.getText();
|
super();
|
protected A_CmsXmlValueTextBase(I_CmsXmlDocument document, Element element, Locale locale, I_CmsXmlSchemaType type) { super(document, element, locale, type); m_stringValue = element.getText(); }
|
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/3490d71abdd2f86b3a1412c7e7311ab55b31ba53/A_CmsXmlValueTextBase.java/buggy/src/org/opencms/xml/types/A_CmsXmlValueTextBase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
432,
67,
4747,
4432,
620,
1528,
2171,
12,
45,
67,
4747,
4432,
2519,
1668,
16,
3010,
930,
16,
6458,
2573,
16,
467,
67,
4747,
4432,
3078,
559,
618,
13,
288,
3639,
2240,
12,
5457,
16,
930,
16,
2573,
16,
618,
1769,
3639,
312,
67,
1080,
620,
273,
930,
18,
588,
1528,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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5457,
16,
930,
16,
2573,
16,
618,
1769,
3639,
312,
67,
1080,
620,
273,
930,
18,
588,
1528,
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
] |
if(peerExponential != null) throw new IllegalStateException("Assigned other side exponential twice");
|
if(peerExponential != null) { if(!peerExponential.equals(a)) throw new IllegalStateException("Assigned other side exponential twice"); else return; }
|
public synchronized void setOtherSideExponential(NativeBigInteger a) { lastUsedTime = System.currentTimeMillis(); if(peerExponential != null) throw new IllegalStateException("Assigned other side exponential twice"); if(a == null) throw new NullPointerException(); peerExponential = a; }
|
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/b4ecaa4055b5835413830d4125c72de27d68e306/DiffieHellmanContext.java/buggy/src/freenet/crypt/DiffieHellmanContext.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
444,
8290,
8895,
17972,
649,
12,
9220,
24198,
279,
13,
288,
3639,
1142,
6668,
950,
273,
2332,
18,
2972,
28512,
5621,
3639,
309,
12,
12210,
17972,
649,
480,
446,
13,
288,
309,
12,
5,
12210,
17972,
649,
18,
14963,
12,
69,
3719,
604,
394,
5477,
2932,
20363,
1308,
4889,
21774,
13605,
8863,
469,
327,
31,
289,
3639,
309,
12,
69,
422,
446,
13,
604,
394,
10108,
5621,
3639,
4261,
17972,
649,
273,
279,
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,
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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,
3852,
918,
444,
8290,
8895,
17972,
649,
12,
9220,
24198,
279,
13,
288,
3639,
1142,
6668,
950,
273,
2332,
18,
2972,
28512,
5621,
3639,
309,
12,
12210,
17972,
649,
480,
446,
13,
288,
309,
12,
5,
12210,
17972,
649,
18,
14963,
12,
69,
3719,
604,
394,
5477,
2932,
20363,
1308,
4889,
21774,
13605,
8863,
469,
327,
31,
289,
3639,
309,
12,
69,
422,
446,
13,
604,
394,
10108,
5621,
3639,
4261,
17972,
649,
273,
279,
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
] |
return newString(getValue()).infectBy(this);
|
return newString(toString()).infectBy(this);
|
public IRubyObject dup() { return newString(getValue()).infectBy(this); }
|
46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/9f2efc63a858fa0507245b207025eab027840a04/RubyString.java/buggy/src/org/jruby/RubyString.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
15908,
10340,
921,
9417,
1435,
288,
202,
202,
2463,
394,
780,
12,
24805,
1435,
2934,
10625,
386,
858,
12,
2211,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
15908,
10340,
921,
9417,
1435,
288,
202,
202,
2463,
394,
780,
12,
24805,
1435,
2934,
10625,
386,
858,
12,
2211,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
System.out.println("Moving blocks: "+(i*100/wantedMove.size())+ "% ( "+i+"/"+wantedMove.size()+")");
|
System.out.println("Moving blocks: "+(i*100/wantedMove.size())+ "% ( "+i+ '/' +wantedMove.size()+ ')');
|
private void maybeSlowShrink(boolean dontCheck, boolean inStartUp) throws DatabaseException, IOException { Vector wantedKeep = new Vector(); // keep; content is wanted, and is in the right place Vector unwantedIgnore = new Vector(); // ignore; content is not wanted, and is not in the right place Vector wantedMove = new Vector(); // content is wanted, but is in the wrong part of the store Vector unwantedMove = new Vector(); // content is not wanted, but is in the part of the store we will keep Vector alreadyDropped = new Vector(); // any blocks past the end which have already been truncated, but which there are still database blocks pointing to Cursor c = null; Transaction t = null; long newSize = maxChkBlocks; if(chkBlocksInStore < maxChkBlocks) return; checkForHoles(maxChkBlocks, true); WrapperManager.signalStarting((int)chkBlocksInStore * 100); // 10 per second long realSize = countCHKBlocksFromFile(); System.err.println("Shrinking from "+chkBlocksInStore+" to "+maxChkBlocks+" (from db "+countCHKBlocksFromDatabase()+" from file "+countCHKBlocksFromFile()+")"); try { c = chkDB_accessTime.openCursor(null,null); DatabaseEntry keyDBE = new DatabaseEntry(); DatabaseEntry blockDBE = new DatabaseEntry(); OperationStatus opStat; opStat = c.getLast(keyDBE, blockDBE, LockMode.RMW); if(opStat == OperationStatus.NOTFOUND) { System.err.println("Database is empty (shrinking)."); c.close(); c = null; return; } //Logger.minor(this, "Found first key"); int x = 0; while(true) { StoreBlock storeBlock = (StoreBlock) storeBlockTupleBinding.entryToObject(blockDBE); long block = storeBlock.offset; if(storeBlock.offset > Integer.MAX_VALUE) { // 2^31 * blockSize; ~ 70TB for CHKs, 2TB for the others System.err.println("Store too big, doing quick shrink"); // memory usage would be insane c.close(); c = null; maybeQuickShrink(false, false); return; } Integer blockNum = new Integer((int)storeBlock.offset); //Long seqNum = new Long(storeBlock.recentlyUsed); //System.out.println("#"+x+" seq "+seqNum+": block "+blockNum); if(blockNum.longValue() >= realSize) { // Truncated already? Logger.minor(this, "Truncated already? "+blockNum.longValue()); alreadyDropped.add(blockNum); } else { if(x < newSize) { // Wanted if(block < newSize) { //System.out.println("Keep where it is: block "+blockNum+" seq # "+x+" / "+newSize); wantedKeep.add(blockNum); } else { //System.out.println("Move to where it should go: "+blockNum+" seq # "+x+" / "+newSize); wantedMove.add(blockNum); } } else { // Unwanted if(block < newSize) { //System.out.println("Overwrite: "+blockNum+" seq # "+x+" / "+newSize); unwantedMove.add(blockNum); } else { //System.out.println("Ignore, will be wiped: block "+blockNum+" seq # "+x+" / "+newSize); unwantedIgnore.add(blockNum); } } x++; if(x % 1024 == 0) { System.out.println("Reading store prior to shrink: "+(x*100/realSize)+ "% ( "+x+"/"+realSize+")"); } if(x == Integer.MAX_VALUE) { System.err.println("Key number "+x+" - ignoring store after "+(x*(dataBlockSize+headerBlockSize)+" bytes")); break; } } opStat = c.getPrev(keyDBE, blockDBE, LockMode.RMW); if(opStat == OperationStatus.NOTFOUND) { System.out.println("Read store: "+x+" keys."); break; } } } finally { if(c != null) c.close(); } Integer[] wantedKeepNums = (Integer[]) wantedKeep.toArray(new Integer[wantedKeep.size()]); Integer[] unwantedIgnoreNums = (Integer[]) unwantedIgnore.toArray(new Integer[unwantedIgnore.size()]); Integer[] wantedMoveNums = (Integer[]) wantedMove.toArray(new Integer[wantedMove.size()]); Integer[] unwantedMoveNums = (Integer[]) unwantedMove.toArray(new Integer[unwantedMove.size()]); long[] freeEarlySlots = freeBlocks.toArray(); Arrays.sort(wantedKeepNums); Arrays.sort(unwantedIgnoreNums); Arrays.sort(wantedMoveNums); Arrays.sort(unwantedMoveNums); for(int i=0;i<realSize;i++) { Integer ii = new Integer(i); if(Arrays.binarySearch(wantedKeepNums, ii) >= 0) continue; if(Arrays.binarySearch(unwantedIgnoreNums, ii) >= 0) continue; if(Arrays.binarySearch(wantedMoveNums, ii) >= 0) continue; if(Arrays.binarySearch(unwantedMoveNums, ii) >= 0) continue; unwantedMove.add(ii); } unwantedMoveNums = (Integer[]) unwantedMove.toArray(new Integer[unwantedMove.size()]); System.err.println("Keys to keep where they are: "+wantedKeepNums.length); System.err.println("Keys which will be wiped anyway: "+unwantedIgnoreNums.length); System.err.println("Keys to move: "+wantedMoveNums.length); System.err.println("Keys to be moved over: "+unwantedMoveNums.length); System.err.println("Free slots to be moved over: "+freeEarlySlots.length); // Now move all the wantedMove blocks onto the corresponding unwantedMove's. WrapperManager.signalStarting(wantedMoveNums.length*1000); // 1 per second byte[] buf = new byte[headerBlockSize + dataBlockSize]; t = null; try { t = environment.beginTransaction(null,null); if(alreadyDropped.size() > 0) { System.err.println("Deleting "+alreadyDropped.size()+" blocks beyond the length of the file"); for(int i=0;i<alreadyDropped.size();i++) { Integer unwantedBlock = (Integer) alreadyDropped.get(i); DatabaseEntry unwantedBlockEntry = new DatabaseEntry(); longTupleBinding.objectToEntry(unwantedBlock, unwantedBlockEntry); chkDB_blockNum.delete(t, unwantedBlockEntry); if(i % 1024 == 0) { t.commit(); t = environment.beginTransaction(null,null); } } if(alreadyDropped.size() % 1024 != 0) { t.commit(); t = environment.beginTransaction(null,null); } } for(int i=0;i<wantedMoveNums.length;i++) { Integer wantedBlock = wantedMoveNums[i]; Integer unwantedBlock; // Can we move over an empty slot? if(i < freeEarlySlots.length) { // Don't need to delete old block unwantedBlock = new Integer((int) freeEarlySlots[i]); // will fit in an int } else if(unwantedMoveNums.length + freeEarlySlots.length > i) { unwantedBlock = unwantedMoveNums[i-freeEarlySlots.length]; // Delete unwantedBlock from the store DatabaseEntry unwantedBlockEntry = new DatabaseEntry(); longTupleBinding.objectToEntry(unwantedBlock, unwantedBlockEntry); // Delete the old block from the database. chkDB_blockNum.delete(t, unwantedBlockEntry); } else { System.err.println("Keys to move but no keys to move over! Moved "+i); t.commit(); t = null; return; } // Move old data to new location DatabaseEntry wantedBlockEntry = new DatabaseEntry(); longTupleBinding.objectToEntry(wantedBlock, wantedBlockEntry); long seekTo = wantedBlock.longValue() * (headerBlockSize + dataBlockSize); try { chkStore.seek(seekTo); chkStore.readFully(buf); } catch (EOFException e) { System.err.println("Was reading "+wantedBlock+" to write to "+unwantedBlock); System.err.println(e); e.printStackTrace(); throw e; } seekTo = unwantedBlock.longValue() * (headerBlockSize + dataBlockSize); chkStore.seek(seekTo); chkStore.write(buf); // Update the database w.r.t. the old block. DatabaseEntry routingKeyDBE = new DatabaseEntry(); DatabaseEntry blockDBE = new DatabaseEntry(); chkDB_blockNum.get(t, wantedBlockEntry, routingKeyDBE, blockDBE, LockMode.RMW); StoreBlock block = (StoreBlock) storeBlockTupleBinding.entryToObject(blockDBE); block.offset = unwantedBlock.longValue(); storeBlockTupleBinding.objectToEntry(block, blockDBE); chkDB.put(t, routingKeyDBE, blockDBE); // Think about committing the transaction. if((i+1) % 2048 == 0) { t.commit(); t = environment.beginTransaction(null,null); System.out.println("Moving blocks: "+(i*100/wantedMove.size())+ "% ( "+i+"/"+wantedMove.size()+")"); } //System.err.println("Moved "+wantedBlock+" to "+unwantedBlock); } System.out.println("Moved all "+wantedMove.size()+" blocks"); if(t != null) { t.commit(); t = null; } } finally { if(t != null) t.abort(); } // If there are any slots left over, they must be free. freeBlocks.clear(); for(int i=wantedMoveNums.length;i<unwantedMoveNums.length+freeEarlySlots.length;i++) { if(i < freeEarlySlots.length) { addFreeBlock(freeEarlySlots[i], false, "early slot "+i); } else { addFreeBlock(unwantedMoveNums[i-freeEarlySlots.length].longValue(), false, "unwanted "+(i-freeEarlySlots.length)); } } maybeQuickShrink(false, true); }
|
46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/62fd59041864b4ed1f43adc676de6bfb5ea977f3/BerkeleyDBFreenetStore.java/clean/src/freenet/store/BerkeleyDBFreenetStore.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
6944,
28733,
28747,
12,
6494,
14046,
1564,
16,
1250,
316,
1685,
1211,
13,
1216,
27215,
16,
1860,
288,
202,
202,
5018,
15504,
11523,
273,
394,
5589,
5621,
368,
3455,
31,
913,
353,
15504,
16,
471,
353,
316,
326,
2145,
3166,
202,
202,
5018,
30264,
3777,
273,
394,
5589,
5621,
368,
2305,
31,
913,
353,
486,
15504,
16,
471,
353,
486,
316,
326,
2145,
3166,
202,
202,
5018,
15504,
7607,
273,
394,
5589,
5621,
368,
913,
353,
15504,
16,
1496,
353,
316,
326,
7194,
1087,
434,
326,
1707,
202,
202,
5018,
30264,
7607,
273,
394,
5589,
5621,
368,
913,
353,
486,
15504,
16,
1496,
353,
316,
326,
1087,
434,
326,
1707,
732,
903,
3455,
202,
202,
5018,
1818,
23683,
273,
394,
5589,
5621,
368,
1281,
4398,
8854,
326,
679,
1492,
1240,
1818,
2118,
15282,
16,
1496,
1492,
1915,
854,
4859,
2063,
4398,
17022,
358,
1082,
377,
202,
6688,
276,
273,
446,
31,
377,
202,
3342,
268,
273,
446,
31,
377,
202,
5748,
21402,
273,
943,
782,
79,
6450,
31,
377,
202,
430,
12,
27038,
6450,
382,
2257,
411,
943,
782,
79,
6450,
13,
327,
31,
377,
202,
377,
202,
1893,
1290,
44,
9112,
12,
1896,
782,
79,
6450,
16,
638,
1769,
377,
202,
377,
202,
3611,
1318,
18,
10420,
11715,
12443,
474,
13,
27038,
6450,
382,
2257,
380,
2130,
1769,
368,
1728,
1534,
2205,
377,
202,
377,
202,
5748,
2863,
1225,
273,
1056,
1792,
47,
6450,
13087,
5621,
377,
202,
377,
202,
3163,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
6944,
28733,
28747,
12,
6494,
14046,
1564,
16,
1250,
316,
1685,
1211,
13,
1216,
27215,
16,
1860,
288,
202,
202,
5018,
15504,
11523,
273,
394,
5589,
5621,
368,
3455,
31,
913,
353,
15504,
16,
471,
353,
316,
326,
2145,
3166,
202,
202,
5018,
30264,
3777,
273,
394,
5589,
5621,
368,
2305,
31,
913,
353,
486,
15504,
16,
471,
353,
486,
316,
326,
2145,
3166,
202,
202,
5018,
15504,
7607,
273,
394,
5589,
5621,
368,
913,
353,
15504,
16,
1496,
353,
316,
326,
7194,
1087,
434,
326,
1707,
202,
202,
5018,
30264,
7607,
273,
394,
5589,
5621,
368,
913,
353,
486,
15504,
16,
1496,
353,
316,
326,
1087,
434,
326,
1707,
732,
903,
3455,
202,
202,
2
] |
if ( synPredMatched75 ) {
|
if ( synPredMatched81 ) {
|
public final void exprSingle() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST exprSingle_AST = null; boolean synPredMatched70 = false; if (((LA(1)==LITERAL_for||LA(1)==LITERAL_let))) { int _m70 = mark(); synPredMatched70 = true; inputState.guessing++; try { { { switch ( LA(1)) { case LITERAL_for: { match(LITERAL_for); break; } case LITERAL_let: { match(LITERAL_let); break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } match(DOLLAR); } } catch (RecognitionException pe) { synPredMatched70 = false; } rewind(_m70); inputState.guessing--; } if ( synPredMatched70 ) { flworExpr(); astFactory.addASTChild(currentAST, returnAST); exprSingle_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else { boolean synPredMatched73 = false; if (((LA(1)==LITERAL_some||LA(1)==LITERAL_every))) { int _m73 = mark(); synPredMatched73 = true; inputState.guessing++; try { { { switch ( LA(1)) { case LITERAL_some: { match(LITERAL_some); break; } case LITERAL_every: { match(LITERAL_every); break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } match(DOLLAR); } } catch (RecognitionException pe) { synPredMatched73 = false; } rewind(_m73); inputState.guessing--; } if ( synPredMatched73 ) { quantifiedExpr(); astFactory.addASTChild(currentAST, returnAST); exprSingle_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else { boolean synPredMatched75 = false; if (((LA(1)==LITERAL_if))) { int _m75 = mark(); synPredMatched75 = true; inputState.guessing++; try { { match(LITERAL_if); match(LPAREN); } } catch (RecognitionException pe) { synPredMatched75 = false; } rewind(_m75); inputState.guessing--; } if ( synPredMatched75 ) { ifExpr(); astFactory.addASTChild(currentAST, returnAST); exprSingle_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else if ((_tokenSet_0.member(LA(1)))) { orExpr(); astFactory.addASTChild(currentAST, returnAST); exprSingle_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else { throw new NoViableAltException(LT(1), getFilename()); } }} returnAST = exprSingle_AST; }
|
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/942d71ceffee004821cc1b2e75c2538951c04027/XQueryParser.java/clean/src/org/exist/xquery/parser/XQueryParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
3065,
5281,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
3065,
5281,
67,
9053,
273,
446,
31,
9506,
202,
6494,
6194,
10391,
15400,
7301,
273,
629,
31,
202,
202,
430,
261,
12443,
2534,
12,
21,
13,
631,
23225,
67,
1884,
20081,
2534,
12,
21,
13,
631,
23225,
67,
1810,
20349,
288,
1082,
202,
474,
389,
81,
7301,
273,
2267,
5621,
1082,
202,
11982,
10391,
15400,
7301,
273,
638,
31,
1082,
202,
2630,
1119,
18,
20885,
310,
9904,
31,
1082,
202,
698,
288,
9506,
202,
95,
9506,
202,
95,
9506,
202,
9610,
261,
2928,
12,
21,
3719,
288,
9506,
202,
3593,
511,
18454,
67,
1884,
30,
9506,
202,
95,
6862,
202,
1916,
12,
23225,
67,
1884,
1769,
6862,
202,
8820,
31,
9506,
202,
97,
9506,
202,
3593,
511,
18454,
67,
1810,
30,
9506,
202,
95,
6862,
202,
1916,
12,
23225,
67,
1810,
1769,
6862,
202,
8820,
31,
9506,
202,
97,
9506,
202,
1886,
30,
9506,
202,
95,
6862,
202,
12849,
394,
17114,
12,
12050,
12,
21,
3631,
14632,
10663,
9506,
202,
97,
9506,
202,
97,
9506,
202,
97,
9506,
202,
1916,
12,
40,
30922,
985,
1769,
9506,
202,
97,
1082,
202,
97,
1082,
202,
14683,
261,
5650,
7909,
503,
2804,
13,
288,
9506,
202,
11982,
10391,
15400,
7301,
273,
629,
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,
727,
918,
3065,
5281,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
3065,
5281,
67,
9053,
273,
446,
31,
9506,
202,
6494,
6194,
10391,
15400,
7301,
273,
629,
31,
202,
202,
430,
261,
12443,
2534,
12,
21,
13,
631,
23225,
67,
1884,
20081,
2534,
12,
21,
13,
631,
23225,
67,
1810,
20349,
288,
1082,
202,
474,
389,
81,
7301,
273,
2267,
5621,
1082,
202,
11982,
10391,
15400,
7301,
273,
638,
31,
1082,
202,
2630,
1119,
18,
20885,
310,
9904,
31,
1082,
202,
698,
288,
2
] |
return value; } } public boolean containsKey(Object key) { if (key.equals("this") || key.equals("continuation")) { return true; } if (handler != null) { String[] result = handler.getPropertyNames(bean); for (int i = 0; i < result.length; i++) { if (key.equals(result[i])) { return true;
|
public Object[] getKeys() { Object[] result = null; if (handler != null) { result = handler.getPropertyNames(bean); } else { result = new Object[props.length]; for (int i = 0; i < props.length; i++) { result[i] = props[i].getName(); } } Set set = new HashSet(); for (int i = 0; i < result.length; i++) { set.add(result[i]); } set.add("flowContext"); set.add("continuation"); result = new Object[set.size()]; set.toArray(result); return result; } public Object get(String key) { if (key.equals("flowContext")) { return bean; } if (key.equals("continuation")) { return kont; } if (handler != null) { return handler.getProperty(bean, key.toString()); } else { for (int i = 0; i < props.length; i++) { if (props[i].getName().equals(key)) { try { return props[i].getReadMethod().invoke(bean, null); } catch (Exception ignored) { break; } } } return null;
|
public void setup(SourceResolver resolver, Map objectModel, String src, Parameters params) throws ProcessingException, SAXException, IOException { if (activeFlag) { throw new IllegalStateException("setup called on recyclable sitemap component before properly recycling previous state"); } super.setup(resolver, objectModel, src, params); // Pass along the SourceResolver to the Velocity resource loader this.resolverContext.put(CONTEXT_RESOLVER_KEY, resolver); this.resolverContext.put(CONTEXT_SOURCE_CACHE_KEY, new HashMap()); // FIXME: Initialize the Velocity context. Use objectModel to pass these final Object bean = ((Environment) resolver).getAttribute("bean-dict"); final WebContinuation kont = (WebContinuation) ((Environment) resolver).getAttribute("kont"); // This velocity context provides two variables: "this" which represents the // bean object passed to sendPage*() and "continuation" which is the // current continuation. The immediate properties of the bean object are // also available in the context. // // Hack? I use JXPath to determine the properties of the bean object final JXPathBeanInfo bi = JXPathIntrospector.getBeanInfo(bean.getClass()); DynamicPropertyHandler h = null; final PropertyDescriptor[] props; if (bi.isDynamic()) { Class cl = bi.getDynamicPropertyHandlerClass(); try { h = (DynamicPropertyHandler) cl.newInstance(); } catch (Exception exc) { exc.printStackTrace(); h = null; } props = null; } else { h = null; props = bi.getPropertyDescriptors(); } final DynamicPropertyHandler handler = h; this.velocityContext = new Context() { public Object put(String key, Object value) { if (key.equals("this") || key.equals("continuation")) { return value; } if (handler != null) { handler.setProperty(bean, key, value); return value; } else { for (int i = 0; i < props.length; i++) { if (props[i].getName().equals(key)) { try { return props[i].getWriteMethod().invoke(bean, new Object[]{value}); } catch (Exception ignored) { break; } } } return value; } } public boolean containsKey(Object key) { if (key.equals("this") || key.equals("continuation")) { return true; } if (handler != null) { String[] result = handler.getPropertyNames(bean); for (int i = 0; i < result.length; i++) { if (key.equals(result[i])) { return true; } } } else { for (int i = 0; i < props.length; i++) { if (key.equals(props[i].getName())) { return true; } } } return false; } public Object[] getKeys() { Object[] result = null; if (handler != null) { result = handler.getPropertyNames(bean); } else { result = new Object[props.length]; for (int i = 0; i < props.length; i++) { result[i] = props[i].getName(); } } Set set = new HashSet(); for (int i = 0; i < result.length; i++) { set.add(result[i]); } set.add("this"); set.add("continuation"); result = new Object[set.size()]; set.toArray(result); return result; } public Object get(String key) { if (key.equals("this")) { return bean; } if (key.equals("continuation")) { return kont; } if (handler != null) { return handler.getProperty(bean, key.toString()); } else { for (int i = 0; i < props.length; i++) { if (props[i].getName().equals(key)) { try { return props[i].getReadMethod().invoke(bean, null); } catch (Exception ignored) { break; } } } return null; } } public Object remove(Object key) { // not implemented return key; } }; this.activeFlag = true; }
|
46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/d3867896e161c3f6e54283518321881a1a4bd27d/FlowVelocityGenerator.java/clean/src/scratchpad/src/org/apache/cocoon/generation/FlowVelocityGenerator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3875,
12,
1830,
4301,
5039,
16,
1635,
733,
1488,
16,
514,
1705,
16,
7012,
859,
13,
5411,
1216,
19652,
503,
16,
14366,
16,
1860,
288,
3639,
309,
261,
3535,
4678,
13,
288,
5411,
604,
394,
5477,
2932,
8401,
2566,
603,
25745,
830,
429,
14628,
1794,
1865,
8214,
25745,
830,
310,
2416,
919,
8863,
3639,
289,
3639,
2240,
18,
8401,
12,
14122,
16,
733,
1488,
16,
1705,
16,
859,
1769,
3639,
368,
10311,
7563,
326,
4998,
4301,
358,
326,
24561,
1058,
4088,
3639,
333,
18,
14122,
1042,
18,
458,
12,
13181,
67,
17978,
2204,
67,
3297,
16,
5039,
1769,
3639,
333,
18,
14122,
1042,
18,
458,
12,
13181,
67,
6537,
67,
8495,
67,
3297,
16,
394,
4317,
10663,
3639,
368,
9852,
30,
9190,
326,
24561,
819,
18,
2672,
733,
1488,
358,
1342,
4259,
3639,
727,
1033,
3931,
273,
14015,
5494,
13,
5039,
2934,
588,
1499,
2932,
14496,
17,
1576,
8863,
3639,
727,
2999,
660,
23946,
417,
1580,
273,
7734,
261,
4079,
660,
23946,
13,
14015,
5494,
13,
5039,
2934,
588,
1499,
2932,
79,
1580,
8863,
3639,
368,
1220,
14767,
819,
8121,
2795,
3152,
30,
315,
2211,
6,
1492,
8686,
326,
3639,
368,
3931,
733,
2275,
358,
1366,
1964,
14,
1435,
471,
315,
1213,
23946,
6,
1492,
353,
326,
3639,
368,
783,
17378,
18,
1021,
14483,
1790,
434,
326,
3931,
733,
854,
3639,
368,
2546,
2319,
316,
326,
819,
18,
3639,
368,
3639,
368,
670,
484,
35,
467,
999,
804,
14124,
358,
4199,
326,
1790,
434,
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,
3875,
12,
1830,
4301,
5039,
16,
1635,
733,
1488,
16,
514,
1705,
16,
7012,
859,
13,
5411,
1216,
19652,
503,
16,
14366,
16,
1860,
288,
3639,
309,
261,
3535,
4678,
13,
288,
5411,
604,
394,
5477,
2932,
8401,
2566,
603,
25745,
830,
429,
14628,
1794,
1865,
8214,
25745,
830,
310,
2416,
919,
8863,
3639,
289,
3639,
2240,
18,
8401,
12,
14122,
16,
733,
1488,
16,
1705,
16,
859,
1769,
3639,
368,
10311,
7563,
326,
4998,
4301,
358,
326,
24561,
1058,
4088,
3639,
333,
18,
14122,
1042,
18,
458,
12,
13181,
67,
17978,
2204,
67,
3297,
16,
5039,
1769,
3639,
333,
18,
14122,
1042,
18,
458,
12,
13181,
67,
6537,
67,
8495,
67,
3297,
16,
394,
4317,
2
] |
gain=.5f;
|
gain = .5f;
|
public void comb_filter(final float[] exc, final int esi, final float[] new_exc, final int nsi, final int nsf, final int pitch, final float[] pitch_gain, float comb_gain) { int i, j; float exc_energy=0.0f, new_exc_energy=0.0f; float gain, step, fact, g=0.0f; /*Compute excitation energy prior to enhancement*/ for (i=esi; i<esi+nsf; i++) { exc_energy+=exc[i]*exc[i]; } /* Some gain adjustment if pitch is too high or if unvoiced */ g = .5f*Math.abs(pitch_gain[0] + pitch_gain[1] + pitch_gain[2] + last_pitch_gain[0] + last_pitch_gain[1] + last_pitch_gain[2]); if (g>1.3f) comb_gain*=1.3f/g; if (g<.5f) comb_gain*=2.0f*g; step = 1.0f/nsf; fact=0; /* Apply pitch comb-filter (filter out noise between pitch harmonics)*/ for (i=0, j=esi; i<nsf; i++, j++) { fact += step; new_exc[nsi+i] = exc[j] + comb_gain * fact * (pitch_gain[0]*exc[j-pitch+1] + pitch_gain[1]*exc[j-pitch] + pitch_gain[2]*exc[j-pitch-1]) + comb_gain * (1.0f-fact) * (last_pitch_gain[0]*exc[j-last_pitch+1] + last_pitch_gain[1]*exc[j-last_pitch] + last_pitch_gain[2]*exc[j-last_pitch-1]); } last_pitch_gain[0] = pitch_gain[0]; last_pitch_gain[1] = pitch_gain[1]; last_pitch_gain[2] = pitch_gain[2]; last_pitch = pitch; /* Gain after enhancement*/ for (i=nsi;i<nsi+nsf;i++) new_exc_energy+=new_exc[i]*new_exc[i]; /* Compute scaling factor and normalize energy*/ gain = (float) (Math.sqrt(exc_energy/(.1f+new_exc_energy))); if (gain < .5f) { gain=.5f; } if (gain>1.0f) { gain=1.0f; } for (i=nsi;i<nsi+nsf;i++) { smooth_gain = .96f*smooth_gain + .04f*gain; new_exc[i] *= smooth_gain; } }
|
6022 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6022/68640e768b66e83c5637a95cc8f41b712d9fea61/Filters.java/clean/main/trunk/codec/src/main/java/org/xiph/speex/Filters.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3894,
67,
2188,
12,
6385,
1431,
8526,
3533,
16,
12900,
727,
509,
27453,
16,
12900,
727,
1431,
8526,
394,
67,
10075,
16,
12900,
727,
509,
3153,
77,
16,
12900,
727,
509,
3153,
74,
16,
12900,
727,
509,
14486,
16,
12900,
727,
1431,
8526,
14486,
67,
25540,
16,
12900,
1431,
3894,
67,
25540,
13,
225,
288,
565,
509,
277,
16,
525,
31,
565,
1431,
3533,
67,
15358,
33,
20,
18,
20,
74,
16,
394,
67,
10075,
67,
15358,
33,
20,
18,
20,
74,
31,
565,
1431,
17527,
16,
2235,
16,
5410,
16,
314,
33,
20,
18,
20,
74,
31,
565,
1748,
7018,
3533,
8773,
12929,
6432,
358,
29119,
475,
5549,
565,
364,
261,
77,
33,
281,
77,
31,
277,
32,
281,
77,
15,
2387,
74,
31,
277,
27245,
288,
1377,
3533,
67,
15358,
15,
33,
10075,
63,
77,
5772,
10075,
63,
77,
15533,
565,
289,
565,
1748,
10548,
17527,
18335,
309,
14486,
353,
4885,
3551,
578,
309,
640,
25993,
72,
1195,
565,
314,
273,
263,
25,
74,
14,
10477,
18,
5113,
12,
25910,
67,
25540,
63,
20,
65,
397,
14486,
67,
25540,
63,
21,
65,
397,
14486,
67,
25540,
63,
22,
65,
397,
5397,
1142,
67,
25910,
67,
25540,
63,
20,
65,
397,
1142,
67,
25910,
67,
25540,
63,
21,
65,
397,
1142,
67,
25910,
67,
25540,
63,
22,
19226,
565,
309,
261,
75,
34,
21,
18,
23,
74,
13,
1377,
3894,
67,
25540,
14,
33,
21,
18,
23,
74,
19,
75,
31,
565,
309,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3894,
67,
2188,
12,
6385,
1431,
8526,
3533,
16,
12900,
727,
509,
27453,
16,
12900,
727,
1431,
8526,
394,
67,
10075,
16,
12900,
727,
509,
3153,
77,
16,
12900,
727,
509,
3153,
74,
16,
12900,
727,
509,
14486,
16,
12900,
727,
1431,
8526,
14486,
67,
25540,
16,
12900,
1431,
3894,
67,
25540,
13,
225,
288,
565,
509,
277,
16,
525,
31,
565,
1431,
3533,
67,
15358,
33,
20,
18,
20,
74,
16,
394,
67,
10075,
67,
15358,
33,
20,
18,
20,
74,
31,
565,
1431,
17527,
16,
2235,
16,
5410,
16,
314,
33,
20,
18,
20,
74,
31,
565,
1748,
7018,
3533,
8773,
12929,
6432,
358,
29119,
475,
5549,
565,
364,
261,
77,
33,
281,
77,
2
] |
;
|
public void testGetNestedUnknown() { try { PropertyUtils.getNestedProperty(bean, "nested.unknown"); fail("Should have thrown NoSuchMethodException"); } catch (IllegalAccessException e) { fail("IllegalAccessException"); } catch (IllegalArgumentException e) { fail("IllegalArgumentException"); } catch (InvocationTargetException e) { fail("InvocationTargetException"); } catch (NoSuchMethodException e) { ; // Correct result for this test } }
|
54521 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54521/815a48d2428d1c7bfed1d81f2df07fb9e042c1d8/PropertyUtilsTestCase.java/clean/src/test/org/apache/commons/beanutils/PropertyUtilsTestCase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
967,
8649,
4874,
1435,
288,
3639,
775,
288,
5411,
4276,
1989,
18,
588,
8649,
1396,
12,
14496,
16,
315,
12985,
18,
8172,
7923,
5411,
2321,
2932,
14309,
1240,
6718,
15959,
7923,
3639,
289,
1044,
261,
12195,
9773,
425,
13,
288,
5411,
2321,
2932,
12195,
9773,
7923,
3639,
289,
1044,
261,
31237,
425,
13,
288,
5411,
2321,
2932,
31237,
7923,
3639,
289,
1044,
261,
9267,
14950,
425,
13,
288,
5411,
2321,
2932,
9267,
14950,
7923,
3639,
289,
1044,
261,
28341,
14513,
425,
13,
288,
2398,
368,
30626,
563,
364,
333,
1842,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
967,
8649,
4874,
1435,
288,
3639,
775,
288,
5411,
4276,
1989,
18,
588,
8649,
1396,
12,
14496,
16,
315,
12985,
18,
8172,
7923,
5411,
2321,
2932,
14309,
1240,
6718,
15959,
7923,
3639,
289,
1044,
261,
12195,
9773,
425,
13,
288,
5411,
2321,
2932,
12195,
9773,
7923,
3639,
289,
1044,
261,
31237,
425,
13,
288,
5411,
2321,
2932,
31237,
7923,
3639,
289,
1044,
261,
9267,
14950,
425,
13,
288,
5411,
2321,
2932,
9267,
14950,
7923,
3639,
289,
1044,
261,
28341,
14513,
425,
13,
288,
2398,
368,
30626,
563,
364,
333,
1842,
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
] |
|
public String getToolTipText(MouseEvent event)
|
public String getToolTipText()
|
public String getToolTipText(MouseEvent event) { return tool_tip_text; }
|
13625 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13625/14511e3ad21013e92c6399b2bd2ec09a8263e33a/JComponent.java/clean/libjava/javax/swing/JComponent.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
336,
29250,
1528,
12,
9186,
1133,
871,
13,
202,
95,
202,
2463,
5226,
67,
14587,
67,
955,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
336,
29250,
1528,
12,
9186,
1133,
871,
13,
202,
95,
202,
2463,
5226,
67,
14587,
67,
955,
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
] |
try { URL testIt = new URL(systemId); InputSource s = new InputSource(testIt.openStream()); return s; } catch (Exception e) { cat.info("NOTE: Could not open DTD " + systemId + " due to exception");
|
try { URL testIt = new URL(systemId); InputSource s = new InputSource(testIt.openStream()); return s; } catch (Exception e) { cat.info("NOTE: Could not open DTD " + systemId + " due to exception");
|
public InputSource resolveEntity (String publicId, String systemId) { try { URL testIt = new URL(systemId); InputSource s = new InputSource(testIt.openStream()); return s; } catch (Exception e) { cat.info("NOTE: Could not open DTD " + systemId + " due to exception"); String dtdName = systemId.substring(systemId.lastIndexOf('/')+1); String dtdPath = "/org/argouml/xml/dtd/" + dtdName; InputStream is = SAXParserBase.class.getResourceAsStream(dtdPath); if(is == null) { try { is = new FileInputStream(dtdPath.substring(1)); } catch(Exception ex) { } } return new InputSource(is); } }
|
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/SAXParserBase.java/clean/src_new/org/argouml/xml/SAXParserBase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
23699,
2245,
1943,
261,
780,
1071,
548,
16,
514,
30083,
13,
288,
565,
775,
288,
1377,
1976,
1842,
7193,
273,
394,
1976,
12,
4299,
548,
1769,
1377,
23699,
272,
273,
394,
23699,
12,
3813,
7193,
18,
3190,
1228,
10663,
1377,
327,
272,
31,
565,
289,
1044,
261,
503,
425,
13,
288,
1377,
6573,
18,
1376,
2932,
17857,
30,
14312,
486,
1696,
10696,
40,
315,
397,
30083,
397,
315,
6541,
358,
1520,
8863,
6647,
514,
3681,
72,
461,
273,
30083,
18,
28023,
12,
4299,
548,
18,
2722,
31985,
2668,
2473,
27921,
21,
1769,
1377,
514,
3681,
72,
743,
273,
2206,
3341,
19,
26999,
22192,
19,
2902,
19,
31834,
4898,
397,
3681,
72,
461,
31,
1377,
5037,
353,
273,
10168,
2678,
2171,
18,
1106,
18,
588,
1420,
17052,
12,
31834,
743,
1769,
1377,
309,
12,
291,
422,
446,
13,
288,
3639,
775,
288,
5411,
353,
273,
394,
11907,
12,
31834,
743,
18,
28023,
12,
21,
10019,
3639,
289,
3639,
1044,
12,
503,
431,
13,
288,
3639,
289,
1377,
289,
1377,
327,
394,
23699,
12,
291,
1769,
565,
289,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
23699,
2245,
1943,
261,
780,
1071,
548,
16,
514,
30083,
13,
288,
565,
775,
288,
1377,
1976,
1842,
7193,
273,
394,
1976,
12,
4299,
548,
1769,
1377,
23699,
272,
273,
394,
23699,
12,
3813,
7193,
18,
3190,
1228,
10663,
1377,
327,
272,
31,
565,
289,
1044,
261,
503,
425,
13,
288,
1377,
6573,
18,
1376,
2932,
17857,
30,
14312,
486,
1696,
10696,
40,
315,
397,
30083,
397,
315,
6541,
358,
1520,
8863,
6647,
514,
3681,
72,
461,
273,
30083,
18,
28023,
12,
4299,
548,
18,
2722,
31985,
2668,
2473,
27921,
21,
1769,
1377,
514,
3681,
72,
743,
273,
2206,
3341,
19,
26999,
22192,
19,
2902,
19,
31834,
4898,
397,
3681,
72,
461,
31,
1377,
5037,
353,
273,
2
] |
if ( la() == '\r')
|
eol(); break CONSUME_LOOP; } default: { consume(); } } } token = null; break ROOT_SWITCH; } case ( '/' ): { mark(); consume(); c = la(); MULTICHAR_SWITCH: switch ( c ) { case ( '=' ): { consume(); token = Token.divideEqual( getStartLine(), getStartColumn() ); break MULTICHAR_SWITCH; } case ( '/' ): { consume(); CONSUME_LOOP: while ( true ) { switch ( la() ) { case ( '\r' ): { consume(); if ( la() == '\n' ) { consume(); } eol(); break CONSUME_LOOP; } case ( '\n' ): { consume(); eol(); break CONSUME_LOOP; } default: { consume(); } } } token = null; break MULTICHAR_SWITCH; } case ( '*' ): { CONSUME_LOOP: while ( true ) { CONSUME_SWITCH: switch ( la() ) { case ( '*' ): { consume(); if ( la() == '/' ) { consume(); break CONSUME_LOOP; } break CONSUME_SWITCH; } case ( '\r' ): { consume(); if ( la() == '\n' ) { consume(); } eol(); break CONSUME_SWITCH; } case ( '\n' ):
|
public Token nextToken() throws IOException, LexerException { Token token = null; OUTER_LOOP: while ( token == null ) { char c = la(); ROOT_SWITCH: switch ( c ) { case ( CharStream.EOS ): { break OUTER_LOOP; } case ( ' ' ): case ( '\t' ): { consume(); token = null; break ROOT_SWITCH; } case ( '\r' ): { consume(); if ( la() == '\n' ) { consume(); token = Token.newline( getStartLine(), getStartColumn() ); } else { token = null; } eol(); break ROOT_SWITCH; } case ( '\n' ): { consume(); if ( la() == '\r') { consume(); } eol(); token = Token.newline( getStartLine(), getStartColumn() ); break ROOT_SWITCH; } case ( '{' ): { mark(); consume(); token = Token.leftCurlyBrace( getStartLine(), getStartColumn() ); break ROOT_SWITCH; } case ( '}' ): { mark(); consume(); token = Token.rightCurlyBrace( getStartLine(), getStartColumn() ); break ROOT_SWITCH; } case ( '[' ): { mark(); consume(); token = Token.leftSquareBracket( getStartLine(), getStartColumn() ); break ROOT_SWITCH; } case ( ']' ): { mark(); consume(); token = Token.rightSquareBracket( getStartLine(), getStartColumn() ); break ROOT_SWITCH; } case ( '(' ): { mark(); consume(); token = Token.leftParenthesis( getStartLine(), getStartColumn() ); break ROOT_SWITCH; } case ( ')' ): { mark(); consume(); token = Token.rightParenthesis( getStartLine(), getStartColumn() ); break ROOT_SWITCH; } case ( '.' ): { mark(); consume(); if ( la() == '.' ) { consume(); token = Token.dotDot( getStartLine(), getStartColumn() ); } else { token = Token.dot( getStartLine(), getStartColumn() ); } break ROOT_SWITCH; } case ( '#' ): { consume(); CONSUME_LOOP: while ( true ) { switch ( la() ) { case ( '\r' ): { consume(); if ( la() == '\n' ) { consume(); } eol(); break CONSUME_LOOP; } case ( '\n' ): { consume(); eol(); break CONSUME_LOOP; } default: { consume(); } } } token = null; break ROOT_SWITCH; } case ( '/' ): { mark(); consume(); c = la(); MULTICHAR_SWITCH: switch ( c ) { case ( '=' ): { consume(); token = Token.divideEqual( getStartLine(), getStartColumn() ); break MULTICHAR_SWITCH; } case ( '/' ): { consume(); CONSUME_LOOP: while ( true ) { switch ( la() ) { case ( '\r' ): { consume(); if ( la() == '\n' ) { consume(); } eol(); break CONSUME_LOOP; } case ( '\n' ): { consume(); eol(); break CONSUME_LOOP; } default: { consume(); } } } token = null; break MULTICHAR_SWITCH; } case ( '*' ): { CONSUME_LOOP: while ( true ) { CONSUME_SWITCH: switch ( la() ) { case ( '*' ): { consume(); if ( la() == '/' ) { consume(); break CONSUME_LOOP; } break CONSUME_SWITCH; } case ( '\r' ): { consume(); if ( la() == '\n' ) { consume(); } eol(); break CONSUME_SWITCH; } case ( '\n' ): { eol(); consume(); break CONSUME_SWITCH; } default: { consume(); } } } token = null; break MULTICHAR_SWITCH; } default: { token = Token.divide( getStartLine(), getStartColumn() ); break MULTICHAR_SWITCH; } } break ROOT_SWITCH; } case ( '%' ): { mark(); consume(); c = la(); MULTICHAR_SWITCH: switch ( c ) { case ( '=' ): { consume(); token = Token.modEqual( getStartLine(), getStartColumn() ); break MULTICHAR_SWITCH; } default: { token = Token.mod( getStartLine(), getStartColumn() ); break MULTICHAR_SWITCH; } } break ROOT_SWITCH; } case ( '~' ): { mark(); consume(); // Support ~<double quoted string> token = Token.patternRegex( getStartLine(), getStartColumn() ); break ROOT_SWITCH; } case ( '!' ): { mark(); consume(); c = la(); MULTICHAR_SWITCH: switch ( c ) { case ( '=' ): { consume(); token = Token.compareNotEqual( getStartLine(), getStartColumn() ); break MULTICHAR_SWITCH; } default: { token = Token.not( getStartLine(), getStartColumn() ); break MULTICHAR_SWITCH; } } break ROOT_SWITCH; } case ( '=' ): { mark(); consume(); c = la(); MULTICHAR_SWITCH: switch ( c ) { case ( '=' ): { consume(); c = la(); switch ( c ) { case '=': { consume(); token = Token.compareIdentical( getStartLine(), getStartColumn() ); break; } case '~': { consume(); token = Token.matchRegex( getStartLine(), getStartColumn()); break; } default: { token = Token.compareEqual( getStartLine(), getStartColumn() ); } } break MULTICHAR_SWITCH; } case '~': { consume(); token = Token.findRegex( getStartLine(), getStartColumn() ); break MULTICHAR_SWITCH; } default: { token = Token.equal( getStartLine(), getStartColumn() ); break MULTICHAR_SWITCH; } } break ROOT_SWITCH; } case ( '&' ): { mark(); consume(); c = la(); MULTICHAR_SWITCH: switch ( c ) { case ( '&' ): { consume(); token = Token.logicalAnd( getStartLine(), getStartColumn() ); break MULTICHAR_SWITCH; } default: { throw new UnexpectedCharacterException( getStartLine(), getStartColumn()+1, c, new char[] { '&' } ); } } break ROOT_SWITCH; } case ( '|' ): { mark(); consume(); c = la(); MULTICHAR_SWITCH: switch ( c ) { case ( '|' ): { consume(); token = Token.logicalOr( getStartLine(), getStartColumn() ); break MULTICHAR_SWITCH; } default: { token = Token.pipe( getStartLine(), getStartColumn() ); break MULTICHAR_SWITCH; } } break ROOT_SWITCH; } case ( '+' ): { mark(); consume(); c = la(); MULTICHAR_SWITCH: switch ( c ) { case ( '+' ): { consume(); token = Token.plusPlus( getStartLine(), getStartColumn() ); break MULTICHAR_SWITCH; } case ( '=' ): { consume(); token = Token.plusEqual( getStartLine(), getStartColumn() ); break MULTICHAR_SWITCH; } default: { token = Token.plus( getStartLine(), getStartColumn() ); break MULTICHAR_SWITCH; } } break ROOT_SWITCH; } case ( '-' ): { mark(); consume(); c = la(); MULTICHAR_SWITCH: switch ( c ) { case ( '-' ): { consume(); token = Token.minusMinus( getStartLine(), getStartColumn() ); break MULTICHAR_SWITCH; } case ( '=' ): { consume(); token = Token.minusEqual( getStartLine(), getStartColumn() ); break MULTICHAR_SWITCH; } case ( '>' ): { consume(); token = Token.navigate( getStartLine(), getStartColumn() ); break MULTICHAR_SWITCH; } default: { token = Token.minus( getStartLine(), getStartColumn() ); break MULTICHAR_SWITCH; } } break ROOT_SWITCH; } case ( '*' ): { mark(); consume(); c = la(); MULTICHAR_SWITCH: switch( c ) { case ( '=' ): { consume(); token = Token.multiplyEqual( getStartLine(), getStartColumn() ); break MULTICHAR_SWITCH; } default: { token = Token.multiply( getStartLine(), getStartColumn() ); break MULTICHAR_SWITCH; } } break ROOT_SWITCH; } case ( ':' ): { mark(); consume(); token = Token.colon( getStartLine(), getStartColumn() ); break ROOT_SWITCH; } case ( ',' ): { mark(); consume(); token = Token.comma( getStartLine(), getStartColumn() ); break ROOT_SWITCH; } case ( ';' ): { mark(); consume(); token = Token.semicolon( getStartLine(), getStartColumn() ); break ROOT_SWITCH; } case ( '?' ): { mark(); consume(); token = Token.question( getStartLine(), getStartColumn() ); break ROOT_SWITCH; } case ( '<' ): { mark(); consume(); c = la(); MULTICHAR_SWITCH: switch ( c ) { case ( '=' ): { consume(); c = la(); if ( c == '>' ) { consume(); token = Token.compareTo( getStartLine(), getStartColumn() ); } else { token = Token.compareLessThanEqual( getStartLine(), getStartColumn() ); } break MULTICHAR_SWITCH; } case ( '<' ): { consume(); c = la(); // Long strings can be created by using <<<TOK ... \nTOK // They are exactly like double quoted strings except you don't need to escape anything if ( c == '<' ) { consume(); // The marker consists of everything from the end of the <<< to the end of the line. StringBuffer marker = new StringBuffer(); while((c = la()) != '\n') { marker.append(c); consume(); } consume(); // consume the nextline eol(); // next line mark(); // this is the start of the string StringBuffer stringLiteral = new StringBuffer(); LITERAL_LOOP: while ( true ) { c = la(); LITERAL_SWITCH: switch ( c ) { case ( '\n' ): { eol(); // bump the line number StringBuffer markerBuffer = new StringBuffer(); markerBuffer.append(consume()); for (int i = 0; i < marker.length(); i++) { if (la() != marker.charAt(i)) { stringLiteral.append(markerBuffer); continue LITERAL_LOOP; } c = consume(); markerBuffer.append(c); } break LITERAL_LOOP; } case ( CharStream.EOS ): { throw new UnterminatedStringLiteralException( getStartLine(), getStartColumn() ); } } stringLiteral.append( consume() ); } // Fortunately they have the same semantics as a double quoted string once lexed token = Token.doubleQuoteString( getStartLine(), getStartColumn(), stringLiteral.toString() ); break ROOT_SWITCH; } else { throw new UnexpectedCharacterException( getStartLine(), getStartColumn()+1, c, new char[] { } ); } } default: { token = Token.compareLessThan( getStartLine(), getStartColumn() ); break MULTICHAR_SWITCH; } } break ROOT_SWITCH; } case ( '>' ): { mark(); consume(); c = la(); MULTICHAR_SWITCH: switch ( c ) { case ( '=' ): { consume(); token = Token.compareGreaterThanEqual( getStartLine(), getStartColumn() ); break MULTICHAR_SWITCH; } default: { token = Token.compareGreaterThan( getStartLine(), getStartColumn() ); break MULTICHAR_SWITCH; } } break ROOT_SWITCH; } case ( '\'') : { mark(); consume(); StringBuffer stringLiteral = new StringBuffer(); LITERAL_LOOP: while ( true ) { c = la(); LITERAL_SWITCH: switch ( c ) { case ( '\\' ): { consume(); c = la(); ESCAPE_SWITCH: switch ( c ) { case ( 't' ): { consume(); stringLiteral.append( '\t' ); break ESCAPE_SWITCH; } case ( 'n' ): { consume(); stringLiteral.append( '\n' ); break ESCAPE_SWITCH; } case ( 'r' ): { consume(); stringLiteral.append( '\r' ); break ESCAPE_SWITCH; } default: { stringLiteral.append( consume() ); break ESCAPE_SWITCH; } } break LITERAL_SWITCH; } case ( '\r' ): case ( '\n' ): case ( CharStream.EOS ): { throw new UnterminatedStringLiteralException( getStartLine(), getStartColumn() ); } case ( '\'' ): { consume(); break LITERAL_LOOP; } default: { stringLiteral.append( consume() ); break LITERAL_SWITCH; } } } token = Token.singleQuoteString( getStartLine(), getStartColumn(), stringLiteral.toString() ); break ROOT_SWITCH; } case ( '"' ): { mark(); consume(); StringBuffer stringLiteral = new StringBuffer(); LITERAL_LOOP: while ( true ) { c = la(); LITERAL_SWITCH: switch ( c ) { case ( '\\' ): { consume(); c = la(); ESCAPE_SWITCH: switch ( c ) { case ( 't' ): { consume(); stringLiteral.append( '\t' ); break ESCAPE_SWITCH; } case ( 'n' ): { consume(); stringLiteral.append( '\n' ); break ESCAPE_SWITCH; } case ( 'r' ): { consume(); stringLiteral.append( '\r' ); break ESCAPE_SWITCH; } default: { stringLiteral.append( consume() ); break ESCAPE_SWITCH; } } break LITERAL_SWITCH; } case ( '"' ): { consume(); break LITERAL_LOOP; } case ( '\r' ): case ( '\n' ): case ( CharStream.EOS ): { throw new UnterminatedStringLiteralException( getStartLine(), getStartColumn() ); } default: { stringLiteral.append( consume() ); break LITERAL_SWITCH; } } } token = Token.doubleQuoteString( getStartLine(), getStartColumn(), stringLiteral.toString() ); break ROOT_SWITCH; } case ( '0' ): case ( '1' ): case ( '2' ): case ( '3' ): case ( '4' ): case ( '5' ): case ( '6' ): case ( '7' ): case ( '8' ): case ( '9' ): { mark(); StringBuffer numericLiteral = new StringBuffer(); boolean isFloat = false; while ( c == '0' || c == '1' || c == '2' || c == '3' || c == '4' || c == '5' || c == '6' || c == '7' || c == '8' || c == '9' ) { numericLiteral.append( consume() ); c = la(); } if ( c == '.' ) { if ( ( c = la( 2 ) ) == '.' ) { // int followed by range op, break out. } else { while ( c == '0' || c == '1' || c == '2' || c == '3' || c == '4' || c == '5' || c == '6' || c == '7' || c == '8' || c == '9' ) { if ( !isFloat ) numericLiteral.append( consume() ); isFloat = true; numericLiteral.append( consume() ); c = la(); } } } if ( isFloat ) { token = Token.floatNumber( getStartLine(), getStartColumn(), numericLiteral.toString() ); } else { token = Token.integerNumber( getStartLine(), getStartColumn(), numericLiteral.toString() ); } break ROOT_SWITCH; } default: { mark(); if ( Character.isJavaIdentifierStart( c ) ) { StringBuffer identifier = new StringBuffer(); identifier.append( consume() ); IDENTIFIER_LOOP: while ( true ) { c = la(); if ( Character.isJavaIdentifierPart( c ) ) { identifier.append( consume() ); } else { break IDENTIFIER_LOOP; } } token = Token.keyword( getStartLine(), getStartColumn(), identifier.toString() ); if ( token == null ) { token = Token.identifier( getStartLine(), getStartColumn(), identifier.toString() ); } } else { throw new UnexpectedCharacterException( getStartLine(), getStartColumn()+1, c, new char[] { } ); } break ROOT_SWITCH; } } } return token; }
|
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/b5e2e640b10d4bda5b22982cc3c2b75732c0a439/Lexer.java/clean/src/main/org/codehaus/groovy/syntax/lexer/Lexer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3155,
9617,
1435,
3639,
1216,
1860,
16,
14234,
503,
565,
288,
3639,
3155,
1147,
273,
446,
31,
1377,
28759,
67,
28677,
30,
3639,
1323,
261,
1147,
422,
446,
262,
3639,
288,
5411,
1149,
276,
273,
7125,
5621,
1850,
11011,
67,
18746,
25588,
30,
5411,
1620,
261,
276,
262,
5411,
288,
7734,
648,
261,
3703,
1228,
18,
41,
4618,
262,
30,
7734,
288,
10792,
898,
28759,
67,
28677,
31,
7734,
289,
7734,
648,
261,
296,
296,
262,
30,
7734,
648,
261,
2337,
88,
11,
262,
30,
7734,
288,
10792,
7865,
5621,
10792,
1147,
273,
446,
31,
10792,
898,
11011,
67,
18746,
25588,
31,
7734,
289,
7734,
648,
261,
2337,
86,
11,
262,
30,
7734,
288,
10792,
7865,
5621,
10792,
309,
261,
7125,
1435,
422,
2337,
82,
11,
262,
10792,
288,
13491,
7865,
5621,
13491,
1147,
273,
3155,
18,
22861,
12,
8635,
1670,
9334,
4766,
2868,
8635,
1494,
1435,
11272,
10792,
289,
10792,
469,
10792,
288,
13491,
1147,
273,
446,
31,
10792,
289,
10792,
14775,
5621,
10792,
898,
11011,
67,
18746,
25588,
31,
7734,
289,
7734,
648,
261,
2337,
82,
11,
262,
30,
7734,
288,
10792,
7865,
5621,
10792,
14775,
5621,
898,
3492,
30590,
67,
28677,
31,
289,
805,
30,
288,
7865,
5621,
289,
289,
289,
1147,
273,
446,
31,
898,
11011,
67,
18746,
25588,
31,
289,
648,
261,
2023,
262,
30,
288,
2267,
5621,
7865,
5621,
225,
276,
273,
7125,
5621,
225,
27125,
7305,
67,
18746,
25588,
30,
1620,
261,
276,
262,
288,
648,
261,
5214,
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,
3155,
9617,
1435,
3639,
1216,
1860,
16,
14234,
503,
565,
288,
3639,
3155,
1147,
273,
446,
31,
1377,
28759,
67,
28677,
30,
3639,
1323,
261,
1147,
422,
446,
262,
3639,
288,
5411,
1149,
276,
273,
7125,
5621,
1850,
11011,
67,
18746,
25588,
30,
5411,
1620,
261,
276,
262,
5411,
288,
7734,
648,
261,
3703,
1228,
18,
41,
4618,
262,
30,
7734,
288,
10792,
898,
28759,
67,
28677,
31,
7734,
289,
7734,
648,
261,
296,
296,
262,
30,
7734,
648,
261,
2337,
88,
11,
262,
30,
7734,
288,
10792,
7865,
5621,
10792,
1147,
273,
446,
31,
10792,
898,
11011,
67,
18746,
25588,
31,
7734,
289,
7734,
648,
261,
2337,
86,
11,
262,
30,
7734,
288,
10792,
7865,
5621,
2
] |
if (max_items != null && "none".equals(maxItems)) {
|
if (max_items != null && "none".equals(max_items)) {
|
public void execute(SessionData data, Element command) { String max_items = data.getData().get("max_items").get(0); int maxItems = -1; if (max_items != null && "none".equals(maxItems)) { try { maxItems = Integer.parseInt(max_items); } catch (NumberFormatException e) { // Do nothing. Assume that all users are being requested } } DataForm form = new DataForm(DataForm.Type.result); FormField field = form.addField(); field.setType(FormField.Type.hidden); field.setVariable("FORM_TYPE"); field.addValue("http://jabber.org/protocol/admin"); field = form.addField(); field.setType(FormField.Type.jid_single); field.setLabel("The list of active users"); field.setVariable("activeuserjids"); // Get list of users (i.e. bareJIDs) that are connected to the server Collection<ClientSession> sessions = SessionManager.getInstance().getSessions(); Set<String> users = new HashSet<String>(sessions.size()); for (ClientSession session : sessions) { if (session.getPresence().isAvailable()) { users.add(session.getAddress().toBareJID()); } if (maxItems > 0 && users.size() >= maxItems) { break; } } // Add users to the result for (String user : users) { field.addValue(user); } command.add(form.getElement()); }
|
51636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51636/5ad49feea0da188ba912d46c04a96de72d613bab/GetListActiveUsers.java/buggy/src/java/org/jivesoftware/wildfire/commands/admin/GetListActiveUsers.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
12,
2157,
751,
501,
16,
3010,
1296,
13,
288,
3639,
514,
943,
67,
3319,
273,
501,
18,
588,
751,
7675,
588,
2932,
1896,
67,
3319,
20387,
588,
12,
20,
1769,
3639,
509,
943,
3126,
273,
300,
21,
31,
3639,
309,
261,
1896,
67,
3319,
480,
446,
597,
315,
6102,
9654,
14963,
12,
1896,
67,
3319,
3719,
288,
5411,
775,
288,
7734,
943,
3126,
273,
2144,
18,
2670,
1702,
12,
1896,
67,
3319,
1769,
5411,
289,
5411,
1044,
261,
1854,
9291,
425,
13,
288,
7734,
368,
2256,
5083,
18,
15983,
716,
777,
3677,
854,
3832,
3764,
5411,
289,
3639,
289,
3639,
1910,
1204,
646,
273,
394,
1910,
1204,
12,
751,
1204,
18,
559,
18,
2088,
1769,
3639,
2748,
974,
652,
273,
646,
18,
1289,
974,
5621,
3639,
652,
18,
542,
559,
12,
27317,
18,
559,
18,
6345,
1769,
3639,
652,
18,
542,
3092,
2932,
4983,
67,
2399,
8863,
3639,
652,
18,
1289,
620,
2932,
2505,
2207,
78,
378,
744,
18,
3341,
19,
8373,
19,
3666,
8863,
3639,
652,
273,
646,
18,
1289,
974,
5621,
3639,
652,
18,
542,
559,
12,
27317,
18,
559,
18,
18252,
67,
7526,
1769,
3639,
652,
18,
542,
2224,
2932,
1986,
666,
434,
2695,
3677,
8863,
3639,
652,
18,
542,
3092,
2932,
3535,
1355,
78,
2232,
8863,
3639,
368,
968,
666,
434,
3677,
261,
77,
18,
73,
18,
18208,
46,
5103,
13,
716,
854,
5840,
358,
326,
1438,
3639,
2200,
32,
1227,
2157,
34,
8856,
273,
3877,
1318,
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,
377,
1071,
918,
1836,
12,
2157,
751,
501,
16,
3010,
1296,
13,
288,
3639,
514,
943,
67,
3319,
273,
501,
18,
588,
751,
7675,
588,
2932,
1896,
67,
3319,
20387,
588,
12,
20,
1769,
3639,
509,
943,
3126,
273,
300,
21,
31,
3639,
309,
261,
1896,
67,
3319,
480,
446,
597,
315,
6102,
9654,
14963,
12,
1896,
67,
3319,
3719,
288,
5411,
775,
288,
7734,
943,
3126,
273,
2144,
18,
2670,
1702,
12,
1896,
67,
3319,
1769,
5411,
289,
5411,
1044,
261,
1854,
9291,
425,
13,
288,
7734,
368,
2256,
5083,
18,
15983,
716,
777,
3677,
854,
3832,
3764,
5411,
289,
3639,
289,
3639,
1910,
1204,
646,
273,
394,
1910,
1204,
12,
751,
1204,
18,
559,
18,
2088,
1769,
2
] |
il.insert(ih, factory.createInvoke( joinPointClass, "<init>", Type.VOID, new Type[]{Type.STRING, Type.OBJECT, Type.STRING}, Constants.INVOKESPECIAL));
|
il.insert(ih, factory.createFieldAccess( cg.getClassName(), joinPoint.toString(), joinPointType, Constants.PUTFIELD));
|
private Method createJoinPointMemberField(final ConstantPoolGen cp, final ClassGen cg, final Method init, final InstructionFactory factory, final String fieldName, final String signature, final Type joinPointType, final String uuid) { final String joinPointPrefix = getJoinPointPrefix(joinPointType); final String joinPointClass = getJoinPointClass(joinPointType); final MethodGen mg = new MethodGen(init, cg.getClassName(), cp); final InstructionList il = mg.getInstructionList(); final InstructionHandle[] ihs = il.getInstructionHandles(); for (int i = 0; i < ihs.length; i++) { // inserts field instantiation into the constructor final InstructionHandle ih = ihs[i]; if (!(ih.getInstruction() instanceof ReturnInstruction)) continue; // build the right join point member field name final StringBuffer joinPoint = getJoinPointName(joinPointPrefix, fieldName); // create an new join point final InstructionHandle ihPost = il.insert( ih, factory.createLoad(Type.OBJECT, 0)); il.insert(ih, factory.createNew(joinPointClass)); // load the parameters (uuid, this, field signature) il.insert(ih, InstructionConstants.DUP); il.insert(ih, new PUSH(cp, uuid)); il.insert(ih, factory.createLoad(Type.OBJECT, 0)); il.insert(ih, new PUSH(cp, signature)); // invokes the constructor il.insert(ih, factory.createInvoke( joinPointClass, "<init>", Type.VOID, new Type[]{Type.STRING, Type.OBJECT, Type.STRING}, Constants.INVOKESPECIAL)); // set the join point to the member field specified il.insert(ih, factory.createFieldAccess( cg.getClassName(), joinPoint.toString(), joinPointType, Constants.PUTFIELD)); il.redirectBranches(ih, ihPost); } mg.setMaxStack(); mg.setMaxLocals(); return mg.getMethod(); }
|
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/e884a254b640ac9f7d6c0e9119eca456a2ed76ac/AdviseMemberFieldTransformer.java/clean/aspectwerkz/src/main/org/codehaus/aspectwerkz/transform/AdviseMemberFieldTransformer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
2985,
752,
4572,
2148,
4419,
974,
12,
6385,
10551,
2864,
7642,
3283,
16,
4766,
2868,
727,
1659,
7642,
14947,
16,
4766,
2868,
727,
2985,
1208,
16,
4766,
2868,
727,
24605,
1733,
3272,
16,
4766,
2868,
727,
514,
4289,
16,
4766,
2868,
727,
514,
3372,
16,
4766,
2868,
727,
1412,
1233,
2148,
559,
16,
4766,
2868,
727,
514,
3822,
13,
288,
3639,
727,
514,
1233,
2148,
2244,
273,
25762,
2148,
2244,
12,
5701,
2148,
559,
1769,
3639,
727,
514,
1233,
2148,
797,
273,
25762,
2148,
797,
12,
5701,
2148,
559,
1769,
3639,
727,
2985,
7642,
11174,
273,
394,
2985,
7642,
12,
2738,
16,
14947,
18,
588,
3834,
9334,
3283,
1769,
3639,
727,
24605,
682,
14254,
273,
11174,
18,
588,
11983,
682,
5621,
3639,
727,
24605,
3259,
8526,
277,
4487,
273,
14254,
18,
588,
11983,
8788,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
277,
4487,
18,
2469,
31,
277,
27245,
288,
5411,
368,
15607,
652,
28380,
1368,
326,
3885,
5411,
727,
24605,
3259,
18456,
273,
277,
4487,
63,
77,
15533,
5411,
309,
16051,
12,
7392,
18,
588,
11983,
1435,
1276,
2000,
11983,
3719,
1324,
31,
5411,
368,
1361,
326,
2145,
1233,
1634,
3140,
652,
508,
5411,
727,
6674,
1233,
2148,
273,
10792,
25762,
2148,
461,
12,
5701,
2148,
2244,
16,
4289,
1769,
5411,
368,
752,
392,
394,
1233,
1634,
5411,
727,
24605,
3259,
18456,
3349,
273,
14254,
18,
6387,
12,
10792,
18456,
16,
3272,
18,
2640,
2563,
12,
559,
18,
9422,
16,
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,
3238,
2985,
752,
4572,
2148,
4419,
974,
12,
6385,
10551,
2864,
7642,
3283,
16,
4766,
2868,
727,
1659,
7642,
14947,
16,
4766,
2868,
727,
2985,
1208,
16,
4766,
2868,
727,
24605,
1733,
3272,
16,
4766,
2868,
727,
514,
4289,
16,
4766,
2868,
727,
514,
3372,
16,
4766,
2868,
727,
1412,
1233,
2148,
559,
16,
4766,
2868,
727,
514,
3822,
13,
288,
3639,
727,
514,
1233,
2148,
2244,
273,
25762,
2148,
2244,
12,
5701,
2148,
559,
1769,
3639,
727,
514,
1233,
2148,
797,
273,
25762,
2148,
797,
12,
5701,
2148,
559,
1769,
3639,
727,
2985,
7642,
11174,
273,
394,
2985,
7642,
12,
2738,
16,
14947,
18,
588,
3834,
9334,
3283,
1769,
3639,
727,
24605,
682,
14254,
273,
11174,
18,
2
] |
public String[] getCalendarNames(SchedulingContext ctxt) throws JobPersistenceException;
|
String[] getCalendarNames(SchedulingContext ctxt) throws JobPersistenceException;
|
public String[] getCalendarNames(SchedulingContext ctxt) throws JobPersistenceException;
|
3431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3431/0ca5d7d851637eb8695746dba9608de14253a225/JobStore.java/buggy/src/java/org/quartz/spi/JobStore.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
8526,
28623,
1557,
12,
25401,
1042,
14286,
13,
5411,
1216,
3956,
13182,
503,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
8526,
28623,
1557,
12,
25401,
1042,
14286,
13,
5411,
1216,
3956,
13182,
503,
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
] |
reset(w,h); }
|
reset(w,h); }
|
public void render(int w, int h, Graphics2D g2) { //System.out.println("SassiAnimatedSurface.render w="+w+" h="+h); Dimension d = getSize(); if (oldSize.width != d.width || oldSize.height != d.height) reset(w,h); }
|
7173 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7173/284798c12a4cc040d0cc40304bb2842bedad0b0e/AnimatedCanvas.java/buggy/qos/src/org/cougaar/core/qos/frame/visualizer/AnimatedCanvas.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1743,
12,
474,
341,
16,
509,
366,
16,
16830,
22,
40,
314,
22,
13,
288,
3639,
368,
3163,
18,
659,
18,
8222,
2932,
55,
428,
77,
979,
17275,
11508,
18,
5902,
341,
1546,
15,
91,
9078,
366,
1546,
15,
76,
1769,
3639,
13037,
302,
273,
9950,
5621,
3639,
309,
261,
1673,
1225,
18,
2819,
480,
302,
18,
2819,
747,
1592,
1225,
18,
4210,
480,
302,
18,
4210,
13,
6647,
2715,
12,
91,
16,
76,
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,
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,
366,
16,
16830,
22,
40,
314,
22,
13,
288,
3639,
368,
3163,
18,
659,
18,
8222,
2932,
55,
428,
77,
979,
17275,
11508,
18,
5902,
341,
1546,
15,
91,
9078,
366,
1546,
15,
76,
1769,
3639,
13037,
302,
273,
9950,
5621,
3639,
309,
261,
1673,
1225,
18,
2819,
480,
302,
18,
2819,
747,
1592,
1225,
18,
4210,
480,
302,
18,
4210,
13,
6647,
2715,
12,
91,
16,
76,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
.debug( "initialize: snmpifindex = " + index + ", snmpifname = " + name + ", snmpifdescr = " + descr + ", snmpphysaddr = -" + physAddr + "-");
|
.debug( "initialize: snmpifindex = " + index + ", snmpifname = " + name + ", snmpifdescr = " + descr + ", snmpphysaddr = -" + physAddr + "-");
|
private void getSnmpInfoForInterfaces() { { PreparedStatement stmt = null; try { stmt = m_dsConn.prepareStatement(SnmpCollector.SQL_GET_SNMP_INFO); stmt.setInt(1, m_nodeID); ResultSet rs = stmt.executeQuery(); addIfaceToSnmpPrimaryMap(); while (rs.next()) { // Extract retrieved database values from the result set int index = rs.getInt(1); int type = rs.getInt(2); String name = rs.getString(3); String descr = rs.getString(4); String physAddr = rs.getString(5); if (m_collector.log().isDebugEnabled()) { m_collector.log() .debug( "initialize: snmpifindex = " + index + ", snmpifname = " + name + ", snmpifdescr = " + descr + ", snmpphysaddr = -" + physAddr + "-"); } /* * Determine the label for this interface. The label will be * used to create the RRD file name which holds SNMP data * retreived from the remote agent. If available ifName is * used to generate the label since it is guaranteed to be * unique. Otherwise ifDescr is used. In either case, all * non alpha numeric characters are converted to underscores * to ensure that the resuling string will make a decent * file name and that RRD won't have any problems using it */ String label = null; if (name != null) { label = AlphaNumeric.parseAndReplace(name, SnmpCollector.nonAnRepl); } else if (descr != null) { label = AlphaNumeric.parseAndReplace(descr, SnmpCollector.nonAnRepl); } else { m_collector.log() .warn( "Interface (ifIndex/nodeId=" + index + "/" + m_nodeID + ") has no ifName and no " + "ifDescr...setting to label to 'no_ifLabel'."); label = "no_ifLabel"; } /* * In order to assure the uniqueness of the RRD file names * we now append the MAC/physical address to the end of * label if it is available. */ if (physAddr != null) { physAddr = AlphaNumeric.parseAndTrim(physAddr); if (physAddr.length() == 12) { label = label + "-" + physAddr; } else { if (m_collector.log().isDebugEnabled()) { m_collector.log().debug( "initialize: physical address len " + "is NOT 12, physAddr=" + physAddr); } } } if (m_collector.log().isDebugEnabled()) { m_collector.log().debug("initialize: ifLabel = '" + label + "'"); } // Create new IfInfo object String collType = (String) m_snmppriMap.get(rs.getString(1)); IfInfo ifInfo = new IfInfo(index, type, label, collType); if (index == m_primaryIfIndex) { ifInfo.setIsPrimary(true); } else { ifInfo.setIsPrimary(false); } /* * Retrieve list of mib objects to be collected from the * remote agent for this interface. */ m_oidList = DataCollectionConfigFactory.getInstance() .getMibObjectList(m_collectionName, m_sysoid, m_ipAddr.getHostAddress(), type); /* * Now build a list of RRD data source objects from the list * of mib objects */ m_dsList = m_collector.buildDataSourceList(m_collectionName, m_oidList); // Set MIB object and data source lists in IfInfo object ifInfo.setOidList(m_oidList); ifInfo.setDsList(m_dsList); /* * Add the new IfInfo object to the interface map keyed by * interface index */ m_ifMap.put(new Integer(index), ifInfo); } rs.close(); } catch (SQLException e) { m_collector.log().debug("initialize: SQL exception!!", e); throw new RuntimeException("SQL exception while attempting " + "to retrieve snmp interface info", e); } catch (NullPointerException e) { /* * Thrown by ResultSet.getString() if database query did not * return anything */ m_collector.log().debug("initialize: NullPointerException", e); throw new RuntimeException("NullPointerException while " + "attempting to retrieve snmp interface info", e); } finally { try { stmt.close(); } catch (Exception e) { m_collector.log().info( "initialize: an error occured trying to close " + "an SQL statement", e); } } } /* * Verify that we did find at least one eligible interface for the * node. */ if (m_ifMap.size() < 1) { throw new RuntimeException("Failed to retrieve any eligible " + "interfaces for node " + m_nodeID + " from the database."); } // Add the ifMap object as an attribute of the interface m_iface.setAttribute(SnmpCollector.IF_MAP_KEY, m_ifMap); }
|
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/cc54dfb75188d14438ebe4380c4700c499516431/Initializer.java/clean/src/services/org/opennms/netmgt/collectd/Initializer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1322,
82,
1291,
966,
1290,
10273,
1435,
288,
202,
202,
95,
25083,
202,
29325,
3480,
273,
446,
31,
202,
202,
698,
288,
1082,
202,
10589,
273,
312,
67,
2377,
3543,
18,
9366,
3406,
12,
10461,
1291,
7134,
18,
3997,
67,
3264,
67,
13653,
4566,
67,
5923,
1769,
1082,
202,
10589,
18,
542,
1702,
12,
21,
16,
312,
67,
2159,
734,
1769,
1082,
202,
13198,
3597,
273,
3480,
18,
8837,
1138,
5621,
25083,
202,
1289,
45,
865,
774,
10461,
1291,
6793,
863,
5621,
1082,
202,
17523,
261,
5453,
18,
4285,
10756,
288,
9506,
202,
759,
8152,
10295,
2063,
924,
628,
326,
563,
444,
9506,
202,
474,
770,
273,
3597,
18,
588,
1702,
12,
21,
1769,
9506,
202,
474,
618,
273,
3597,
18,
588,
1702,
12,
22,
1769,
9506,
202,
780,
508,
273,
3597,
18,
588,
780,
12,
23,
1769,
9506,
202,
780,
18426,
273,
3597,
18,
588,
780,
12,
24,
1769,
9506,
202,
780,
24758,
3178,
273,
3597,
18,
588,
780,
12,
25,
1769,
9506,
202,
430,
261,
81,
67,
21356,
18,
1330,
7675,
291,
2829,
1526,
10756,
288,
6862,
202,
81,
67,
21356,
18,
1330,
1435,
6862,
1082,
202,
18,
4148,
12,
6862,
6862,
202,
6,
11160,
30,
15366,
430,
1615,
273,
315,
397,
770,
6862,
6862,
1082,
202,
15,
3104,
15366,
430,
529,
273,
315,
397,
508,
6862,
6862,
1082,
202,
15,
3104,
15366,
430,
28313,
273,
315,
397,
18426,
6862,
6862,
1082,
202,
15,
3104,
15366,
844,
1900,
4793,
273,
300,
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,
1322,
82,
1291,
966,
1290,
10273,
1435,
288,
202,
202,
95,
25083,
202,
29325,
3480,
273,
446,
31,
202,
202,
698,
288,
1082,
202,
10589,
273,
312,
67,
2377,
3543,
18,
9366,
3406,
12,
10461,
1291,
7134,
18,
3997,
67,
3264,
67,
13653,
4566,
67,
5923,
1769,
1082,
202,
10589,
18,
542,
1702,
12,
21,
16,
312,
67,
2159,
734,
1769,
1082,
202,
13198,
3597,
273,
3480,
18,
8837,
1138,
5621,
25083,
202,
1289,
45,
865,
774,
10461,
1291,
6793,
863,
5621,
1082,
202,
17523,
261,
5453,
18,
4285,
10756,
288,
9506,
202,
759,
8152,
10295,
2063,
924,
628,
326,
563,
444,
9506,
202,
474,
770,
273,
3597,
18,
588,
1702,
12,
21,
1769,
9506,
2
] |
clone._isRestartable = false;
|
public NodeIterator cloneIterator() { try { final FilteredStepIterator clone = (FilteredStepIterator)super.clone(); clone._isRestartable = false; clone._source = _source.cloneIterator(); clone._iterator = _iterator.cloneIterator() .setStartNode(_source.next()); return clone.resetPosition(); } catch (CloneNotSupportedException e) { BasisLibrary.runTimeError(BasisLibrary.ITERATOR_CLONE_ERR, e.toString()); return null; } }
|
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/61ddaf85858b506ab9b862333d4c02da77dc8ce7/FilteredStepIterator.java/clean/src/org/apache/xalan/xsltc/dom/FilteredStepIterator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2029,
3198,
3236,
3198,
1435,
288,
202,
698,
288,
202,
565,
727,
4008,
329,
4160,
3198,
3236,
273,
202,
202,
12,
14478,
4160,
3198,
13,
9565,
18,
14056,
5621,
202,
565,
3236,
6315,
291,
15057,
429,
273,
629,
31,
202,
565,
3236,
6315,
3168,
273,
389,
3168,
18,
14056,
3198,
5621,
202,
565,
3236,
6315,
9838,
273,
389,
9838,
18,
14056,
3198,
1435,
202,
202,
18,
542,
1685,
907,
24899,
3168,
18,
4285,
10663,
202,
565,
327,
3236,
18,
6208,
2555,
5621,
202,
97,
202,
14683,
261,
10930,
25482,
425,
13,
288,
202,
565,
605,
17247,
9313,
18,
2681,
950,
668,
12,
11494,
291,
9313,
18,
11844,
3575,
67,
5017,
5998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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,
2029,
3198,
3236,
3198,
1435,
288,
202,
698,
288,
202,
565,
727,
4008,
329,
4160,
3198,
3236,
273,
202,
202,
12,
14478,
4160,
3198,
13,
9565,
18,
14056,
5621,
202,
565,
3236,
6315,
291,
15057,
429,
273,
629,
31,
202,
565,
3236,
6315,
3168,
273,
389,
3168,
18,
14056,
3198,
5621,
202,
565,
3236,
6315,
9838,
273,
389,
9838,
18,
14056,
3198,
1435,
202,
202,
18,
542,
1685,
907,
24899,
3168,
18,
4285,
10663,
202,
565,
327,
3236,
18,
6208,
2555,
5621,
202,
97,
202,
14683,
261,
10930,
25482,
425,
13,
288,
202,
565,
605,
17247,
9313,
18,
2681,
950,
668,
12,
11494,
291,
9313,
18,
11844,
3575,
67,
5017,
5998,
67,
9712,
16,
6862,
1377,
425,
2
] |
|
following.push(FOLLOW_paren_chunk_in_lhs_eval2571); c=paren_chunk(); following.pop(); match(input,23,FOLLOW_23_in_lhs_eval2573);
|
System.err.println( "END EVAL" ); match(input,23,FOLLOW_23_in_lhs_eval2664); System.err.println( "END 2" );
|
public PatternDescr lhs_eval() throws RecognitionException { PatternDescr d; Token loc=null; String c = null; d = null; String text = ""; try { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:904:17: ( 'eval' loc= '(' opt_eol c= paren_chunk ')' ) // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:904:17: 'eval' loc= '(' opt_eol c= paren_chunk ')' { match(input,56,FOLLOW_56_in_lhs_eval2561); loc=(Token)input.LT(1); match(input,21,FOLLOW_21_in_lhs_eval2565); following.push(FOLLOW_opt_eol_in_lhs_eval2567); opt_eol(); following.pop(); following.push(FOLLOW_paren_chunk_in_lhs_eval2571); c=paren_chunk(); following.pop(); match(input,23,FOLLOW_23_in_lhs_eval2573); checkTrailingSemicolon( c, loc.getLine() ); d = new EvalDescr( c ); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return d; }
|
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/506adcf4556609ba2040aab4c53c1e38dbf7c80e/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6830,
16198,
8499,
67,
8622,
1435,
1216,
9539,
288,
6647,
6830,
16198,
302,
31,
3639,
3155,
1515,
33,
2011,
31,
3639,
514,
276,
273,
446,
31,
540,
202,
202,
72,
273,
446,
31,
540,
202,
202,
780,
977,
273,
1408,
31,
540,
202,
3639,
775,
288,
5411,
368,
342,
6588,
19,
70,
947,
19,
17300,
87,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
29,
3028,
30,
4033,
30,
261,
296,
8622,
11,
1515,
33,
7321,
2153,
67,
30951,
276,
33,
22146,
67,
6551,
5777,
262,
5411,
368,
342,
6588,
19,
70,
947,
19,
17300,
87,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
29,
3028,
30,
4033,
30,
296,
8622,
11,
1515,
33,
7321,
2153,
67,
30951,
276,
33,
22146,
67,
6551,
5777,
5411,
288,
5411,
845,
12,
2630,
16,
4313,
16,
29890,
67,
4313,
67,
267,
67,
80,
4487,
67,
8622,
5034,
21,
1769,
2398,
1515,
28657,
1345,
13,
2630,
18,
12050,
12,
21,
1769,
5411,
845,
12,
2630,
16,
5340,
16,
29890,
67,
5340,
67,
267,
67,
80,
4487,
67,
8622,
5034,
25,
1769,
2398,
3751,
18,
6206,
12,
29890,
67,
3838,
67,
30951,
67,
267,
67,
80,
4487,
67,
8622,
5034,
27,
1769,
5411,
2153,
67,
30951,
5621,
5411,
3751,
18,
5120,
5621,
5411,
3751,
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,
6830,
16198,
8499,
67,
8622,
1435,
1216,
9539,
288,
6647,
6830,
16198,
302,
31,
3639,
3155,
1515,
33,
2011,
31,
3639,
514,
276,
273,
446,
31,
540,
202,
202,
72,
273,
446,
31,
540,
202,
202,
780,
977,
273,
1408,
31,
540,
202,
3639,
775,
288,
5411,
368,
342,
6588,
19,
70,
947,
19,
17300,
87,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
29,
3028,
30,
4033,
30,
261,
296,
8622,
11,
1515,
33,
7321,
2153,
67,
30951,
276,
33,
22146,
67,
6551,
5777,
262,
5411,
368,
342,
6588,
19,
70,
947,
19,
17300,
87,
19,
10649,
8464,
2
] |
static void initOptions() {
|
public static void initOptions() {
|
static void initOptions() { options = new VM_BaselineOptions(); }
|
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/3244bbe4a4a879b815f1721d3b48595e84349cc5/VM_BaselineCompiler.java/clean/rvm/src/com/ibm/jikesrvm/VM_BaselineCompiler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
1208,
1320,
1435,
288,
565,
702,
273,
394,
8251,
67,
16635,
1320,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
1208,
1320,
1435,
288,
565,
702,
273,
394,
8251,
67,
16635,
1320,
5621,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
format.setLineSeparator( System.getProperty( "line.separator" ) );
|
format.setLineSeparator( lineSeparator );
|
public static String serializeDocument( Document doc) throws IOException { ByteArrayOutputStream s = new ByteArrayOutputStream(); OutputFormat format = new OutputFormat(); format.setIndenting( true ); format.setLineSeparator( System.getProperty( "line.separator" ) ); //$NON-NLS-1$ Serializer serializer = SerializerFactory.getSerializerFactory( Method.XML ).makeSerializer( new OutputStreamWriter( s, "UTF8" ), format ); serializer.asDOMSerializer().serialize( doc ); return s.toString( "UTF8" ); //$NON-NLS-1$ }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/022ba9b78918302caa276ee1003a5ede4485861a/CDebugUtils.java/buggy/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDebugUtils.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
4472,
2519,
12,
4319,
997,
13,
1216,
1860,
202,
95,
202,
202,
8826,
4632,
272,
273,
394,
11559,
5621,
202,
202,
1447,
1630,
740,
273,
394,
3633,
1630,
5621,
202,
202,
2139,
18,
542,
7790,
310,
12,
638,
11272,
202,
202,
2139,
18,
542,
1670,
6581,
12,
31053,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
6306,
6340,
273,
15348,
1733,
18,
588,
6306,
1733,
12,
2985,
18,
4201,
262,
18,
6540,
6306,
12,
394,
24248,
12,
272,
16,
315,
5159,
28,
6,
262,
16,
740,
11272,
202,
202,
15663,
18,
345,
8168,
6306,
7675,
6288,
12,
997,
11272,
202,
202,
2463,
272,
18,
10492,
12,
315,
5159,
28,
6,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
4472,
2519,
12,
4319,
997,
13,
1216,
1860,
202,
95,
202,
202,
8826,
4632,
272,
273,
394,
11559,
5621,
202,
202,
1447,
1630,
740,
273,
394,
3633,
1630,
5621,
202,
202,
2139,
18,
542,
7790,
310,
12,
638,
11272,
202,
202,
2139,
18,
542,
1670,
6581,
12,
31053,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
6306,
6340,
273,
15348,
1733,
18,
588,
6306,
1733,
12,
2985,
18,
4201,
262,
18,
6540,
6306,
12,
394,
24248,
12,
272,
16,
315,
5159,
28,
6,
262,
16,
740,
11272,
202,
202,
15663,
18,
345,
8168,
6306,
7675,
6288,
12,
997,
11272,
202,
202,
2463,
272,
18,
10492,
12,
315,
5159,
28,
6,
11272,
4329,
2
] |
ClassLoader loader = getClass().getClassLoader(); if (loader != null) { Class clazz = ClassManager.defineClass(loader, name, data); if (clazz != null) return clazz; }
|
public Class defineClass(String name, byte data[]) { ClassLoader loader = getClass().getClassLoader(); if (loader != null) { Class clazz = ClassManager.defineClass(loader, name, data); if (clazz != null) return clazz; } return super.defineClass(name, data, 0, data.length); }
|
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/f7417f7060c11be1359953bdaadcaebd072b36c6/DefiningClassLoader.java/clean/js/rhino/src/org/mozilla/classfile/DefiningClassLoader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1659,
4426,
797,
12,
780,
508,
16,
1160,
501,
63,
5717,
288,
3639,
9403,
4088,
273,
2900,
7675,
588,
7805,
5621,
3639,
309,
261,
6714,
480,
446,
13,
288,
5411,
1659,
4003,
273,
1659,
1318,
18,
11255,
797,
12,
6714,
16,
508,
16,
501,
1769,
5411,
309,
261,
830,
3638,
480,
446,
13,
7734,
327,
4003,
31,
3639,
289,
3639,
327,
2240,
18,
11255,
797,
12,
529,
16,
501,
16,
374,
16,
501,
18,
2469,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1659,
4426,
797,
12,
780,
508,
16,
1160,
501,
63,
5717,
288,
3639,
9403,
4088,
273,
2900,
7675,
588,
7805,
5621,
3639,
309,
261,
6714,
480,
446,
13,
288,
5411,
1659,
4003,
273,
1659,
1318,
18,
11255,
797,
12,
6714,
16,
508,
16,
501,
1769,
5411,
309,
261,
830,
3638,
480,
446,
13,
7734,
327,
4003,
31,
3639,
289,
3639,
327,
2240,
18,
11255,
797,
12,
529,
16,
501,
16,
374,
16,
501,
18,
2469,
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
] |
|
public org.quickfix.field.ContractMultiplier getContractMultiplier() throws FieldNotFound { org.quickfix.field.ContractMultiplier value = new org.quickfix.field.ContractMultiplier();
|
public quickfix.field.ContractMultiplier getContractMultiplier() throws FieldNotFound { quickfix.field.ContractMultiplier value = new quickfix.field.ContractMultiplier();
|
public org.quickfix.field.ContractMultiplier getContractMultiplier() throws FieldNotFound { org.quickfix.field.ContractMultiplier value = new org.quickfix.field.ContractMultiplier(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/Email.java/clean/src/java/src/quickfix/fix44/Email.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8924,
23365,
336,
8924,
23365,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8924,
23365,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
8924,
23365,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8924,
23365,
336,
8924,
23365,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8924,
23365,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
8924,
23365,
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
] |
_loop1756:
|
_loop1760:
|
public final void promptforstate(AST _t) throws RecognitionException { AST promptforstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1747 = _t; AST tmp1120_AST_in = (AST)_t; match(_t,PROMPTFOR); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case STREAM: { stream_name(_t); _t = _retTree; break; } case EOF: case PERIOD: case EXCEPT: case GOON: case IN_KW: case UNLESSHIDDEN: case WITH: case Editing_phrase: case Form_item: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case UNLESSHIDDEN: { AST tmp1121_AST_in = (AST)_t; match(_t,UNLESSHIDDEN); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case EXCEPT: case GOON: case IN_KW: case WITH: case Editing_phrase: case Form_item: { break; } default: { throw new NoViableAltException(_t); } } } { _loop1751: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==Form_item)) { form_item(_t); _t = _retTree; } else { break _loop1751; } } while (true); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case GOON: { goonphrase(_t); _t = _retTree; break; } case EOF: case PERIOD: case EXCEPT: case IN_KW: case WITH: case Editing_phrase: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EXCEPT: { AST __t1754 = _t; AST tmp1122_AST_in = (AST)_t; match(_t,EXCEPT); _t = _t.getFirstChild(); { _loop1756: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==Field_ref)) { field(_t); _t = _retTree; } else { break _loop1756; } } while (true); } _t = __t1754; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case IN_KW: case WITH: case Editing_phrase: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case IN_KW: { AST __t1758 = _t; AST tmp1123_AST_in = (AST)_t; match(_t,IN_KW); _t = _t.getFirstChild(); AST tmp1124_AST_in = (AST)_t; match(_t,WINDOW); _t = _t.getNextSibling(); expression(_t); _t = _retTree; _t = __t1758; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case WITH: case Editing_phrase: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case WITH: { framephrase(_t); _t = _retTree; break; } case EOF: case PERIOD: case Editing_phrase: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Editing_phrase: { editingphrase(_t); _t = _retTree; break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; _t = __t1747; _t = _t.getNextSibling(); _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
6866,
1884,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
6866,
1884,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
4033,
9462,
273,
389,
88,
31,
202,
202,
9053,
1853,
17666,
20,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
3373,
49,
1856,
7473,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
19917,
30,
202,
202,
95,
1082,
202,
3256,
67,
529,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
6431,
30,
202,
202,
3593,
10950,
21054,
30,
202,
202,
3593,
5675,
14514,
30,
202,
202,
3593,
12389,
673,
30,
202,
202,
3593,
2120,
67,
30134,
30,
202,
202,
3593,
5019,
900,
12559,
18216,
30,
202,
202,
3593,
13601,
30,
202,
202,
3593,
15328,
310,
67,
9429,
30,
202,
202,
3593,
2748,
67,
1726,
30,
202,
202,
95,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
1886,
30,
202,
202,
95,
1082,
202,
12849,
394,
17114,
24899,
88,
1769,
202,
202,
97,
202,
202,
97,
202,
202,
97,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
6866,
1884,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
6866,
1884,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
4033,
9462,
273,
389,
88,
31,
202,
202,
9053,
1853,
17666,
20,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
3373,
49,
1856,
7473,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
2
] |
public NavigatorContentService(String aViewerId, StructuredViewer aViewer) { this(aViewerId); structuredViewerManager = new StructuredViewerManager(aViewer);
|
public NavigatorContentService(String aViewerId) { super(); aViewerId = aViewerId != null ? aViewerId : ""; viewerDescriptor = VIEWER_DESCRIPTOR_REGISTRY .getNavigatorViewerDescriptor(aViewerId); assistant = new VisibilityAssistant(viewerDescriptor, getActivationService()); getActivationService().addExtensionActivationListener(this);
|
public NavigatorContentService(String aViewerId, StructuredViewer aViewer) { this(aViewerId); structuredViewerManager = new StructuredViewerManager(aViewer); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/3883d6eab90d253e293e4fad9070385b5e31e028/NavigatorContentService.java/buggy/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/NavigatorContentService.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
423,
13061,
1350,
1179,
12,
780,
279,
18415,
548,
16,
7362,
2862,
18415,
279,
18415,
13,
288,
202,
202,
2211,
12,
69,
18415,
548,
1769,
202,
202,
17233,
18415,
1318,
273,
394,
7362,
2862,
18415,
1318,
12,
69,
18415,
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,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202,
202,
2211,
12,
69,
18415,
548,
1769,
202,
202,
17233,
18415,
1318,
273,
394,
7362,
2862,
18415,
1318,
12,
69,
18415,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Value exemplarValue = desiredLocaleFile.getValue(prefix + "exemplarCity");
|
String exemplarValue = desiredLocaleFile.getStringValue(prefix + "exemplarCity");
|
public String getFormattedZone(String zoneid, int length, int type) { String result;/*<long><generic>Alaska Time</generic><standard>Alaska Standard Time</standard><daylight>Alaska Daylight Time</daylight></long><short><generic>AKT</generic><standard>AKST</standard><daylight>AKDT</daylight></short>*/ String prefix = "/ldml/dates/timeZoneNames/zone[@type=\"" + zoneid + "\"]/"; // 1. If non-GMT format, and we have an explicit translation, use it if (length != GMT) { Value formatValue = desiredLocaleFile.getValue(prefix + LENGTH.get(length) + "/" + TYPE.get(type)); if (formatValue != null) return formatValue.getStringValue(); } String country = (String) zone_countries.get(zoneid); // 2. if GMT format or no country, use it if (length == GMT || country.equals(StandardCodes.NO_COUNTRY)) { TimeZone tz = TimeZone.getTimeZone(zoneid); long gmtOffset1 = tz.getOffset(D2005_01_02); tz = TimeZone.getTimeZone(zoneid); long gmtOffset2 = tz.getOffset(D2005_06_02); DateFormat format = hourFormat[gmtOffset1 >= 0 ? 0 : 1]; if (type == GENERIC && gmtOffset1 != gmtOffset2) { calendar.setTimeInMillis(Math.abs(gmtOffset1)); String first = format.format(calendar); calendar.setTimeInMillis(Math.abs(gmtOffset2)); String second = format.format(calendar); result = hoursFormat.format(new Object[]{first, second}); } else { gmtOffset1 = type == STANDARD ? Math.min(gmtOffset1, gmtOffset2) : Math.max(gmtOffset1, gmtOffset2); calendar.setTimeInMillis(Math.abs(gmtOffset1)); result = format.format(calendar); } return gmtFormat.format(new Object[]{result}); } // 3. Else for non-wall-time, use GMT format // America/Los_Angeles => "GMT-08:00" // 4. *Else if there is an exemplar city, use it with the region format. The exemplar city may not be the same as the Olson ID city, if another city is much more recognizable for whatever reason. // However, it is very strongly recommended that the same city be used. // America/Los_Angeles => "Tampo de San Fransisko" // 5. *Else if there is a country for the time zone, and a translation in the locale for the country name, and the country only has one (modern) timezone, use it with the region format : // Africa/Monrovia => LR => "Tampo de Liberja" Set s = (Set) countries_zoneSet.get(country); if (s != null && s.size() == 1) { result = desiredLocaleFile.getName(CLDRFile.TERRITORY_NAME, country, false); if (result != null) return regionFormat.format(new Object[]{result}); } // 6. Else if it is a perpetual alias for a "real" ID, and if there is an exact translation for that, try #1..#4 with that alias. // Europe/San_Marino => Europe/Rome => ... => "Tampo de Roma" // TODO // 7. Else fall back to the raw Olson ID (stripping off the prefix, and turning _ into space), using the fallback format. // America/Goose_Bay => "Tampo de Goose Bay" Value exemplarValue = desiredLocaleFile.getValue(prefix + "exemplarCity"); if (exemplarValue != null) { result = exemplarValue.getStringValue(); } else { result = getFallbackName(zoneid); } String countryTranslation = desiredLocaleFile.getName(CLDRFile.TERRITORY_NAME, country, false); if (countryTranslation == null) countryTranslation = country; return fallbackFormat.format(new Object[]{result, countryTranslation}); // 8. Else use the (possibly multi-offset) GMT format // America/Nome => "GMT-0900/-0800" // TODO }
|
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/b2661290265a41e441c15e96aa15d2931bd8722d/TimezoneFormatter.java/buggy/tools/java/org/unicode/cldr/util/TimezoneFormatter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
15562,
4226,
12,
780,
4157,
350,
16,
509,
769,
16,
509,
618,
13,
288,
202,
202,
780,
563,
31,
20308,
32,
5748,
4438,
13540,
34,
1067,
835,
69,
2647,
1757,
13540,
4438,
10005,
34,
1067,
835,
69,
8263,
2647,
1757,
10005,
4438,
2881,
5099,
34,
1067,
835,
69,
13735,
5099,
2647,
1757,
2881,
5099,
4695,
5748,
4438,
6620,
4438,
13540,
34,
14607,
56,
1757,
13540,
4438,
10005,
34,
14607,
882,
1757,
10005,
4438,
2881,
5099,
34,
14607,
9081,
1757,
2881,
5099,
4695,
6620,
34,
5549,
202,
202,
780,
1633,
273,
2206,
1236,
781,
19,
9683,
19,
957,
4226,
1557,
19,
3486,
14782,
723,
13186,
397,
4157,
350,
397,
7023,
65,
4898,
31,
202,
202,
759,
404,
18,
971,
1661,
17,
25315,
740,
16,
471,
732,
1240,
392,
5515,
4794,
16,
999,
518,
202,
202,
430,
261,
2469,
480,
21706,
13,
288,
1082,
202,
620,
740,
620,
273,
6049,
3916,
812,
18,
24805,
12,
3239,
397,
24967,
18,
588,
12,
2469,
13,
397,
4016,
397,
3463,
18,
588,
12,
723,
10019,
1082,
202,
430,
261,
2139,
620,
480,
446,
13,
327,
740,
620,
18,
588,
19733,
5621,
202,
202,
97,
9506,
202,
780,
5251,
273,
261,
780,
13,
4157,
67,
22904,
18,
588,
12,
3486,
350,
1769,
202,
202,
759,
576,
18,
309,
21706,
740,
578,
1158,
5251,
16,
999,
518,
202,
202,
430,
261,
2469,
422,
21706,
747,
5251,
18,
14963,
12,
8336,
6295,
18,
3417,
67,
7240,
9590,
3719,
288,
1082,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
15562,
4226,
12,
780,
4157,
350,
16,
509,
769,
16,
509,
618,
13,
288,
202,
202,
780,
563,
31,
20308,
32,
5748,
4438,
13540,
34,
1067,
835,
69,
2647,
1757,
13540,
4438,
10005,
34,
1067,
835,
69,
8263,
2647,
1757,
10005,
4438,
2881,
5099,
34,
1067,
835,
69,
13735,
5099,
2647,
1757,
2881,
5099,
4695,
5748,
4438,
6620,
4438,
13540,
34,
14607,
56,
1757,
13540,
4438,
10005,
34,
14607,
882,
1757,
10005,
4438,
2881,
5099,
34,
14607,
9081,
1757,
2881,
5099,
4695,
6620,
34,
5549,
202,
202,
780,
1633,
273,
2206,
1236,
781,
19,
9683,
19,
957,
4226,
1557,
19,
3486,
14782,
723,
13186,
397,
4157,
350,
397,
7023,
65,
4898,
31,
202,
202,
759,
2
] |
label= CorrectionMessages.getFormattedString("UnresolvedElementsSubProcessor.createconst.other.description", new Object[] { name, getTypeSignature(senderDeclBinding) } );
|
label= CorrectionMessages.getFormattedString("UnresolvedElementsSubProcessor.createconst.other.description", new Object[] { name, ASTResolving.getTypeSignature(senderDeclBinding) } );
|
private static void addNewFieldProposals(ICompilationUnit cu, CompilationUnit astRoot, ITypeBinding binding, ITypeBinding declaringTypeBinding, SimpleName simpleName, boolean isWriteAccess, Collection proposals) throws JavaModelException { // new variables ICompilationUnit targetCU; ITypeBinding senderDeclBinding; if (binding != null) { senderDeclBinding= binding.getTypeDeclaration(); targetCU= ASTResolving.findCompilationUnitForBinding(cu, astRoot, binding); } else { // binding is null for accesses without qualifier senderDeclBinding= declaringTypeBinding; targetCU= cu; } if (!senderDeclBinding.isFromSource() || targetCU == null || !JavaModelUtil.isEditable(targetCU)) { return; } ITypeBinding outsideAnonymous= null; if (binding == null && senderDeclBinding.isAnonymous()) { ASTNode anonymDecl= astRoot.findDeclaringNode(senderDeclBinding); if (anonymDecl != null) { ITypeBinding bind= Bindings.getBindingOfParentType(anonymDecl.getParent()); if (!bind.isAnonymous()) { outsideAnonymous= bind; } } } String name= simpleName.getIdentifier(); int relevance= StubUtility.hasFieldName(cu.getJavaProject(), name) ? 9 : 6; String label; Image image; if (binding == null) { label= CorrectionMessages.getFormattedString("UnresolvedElementsSubProcessor.createfield.description", name); //$NON-NLS-1$ image= JavaPluginImages.get(JavaPluginImages.IMG_FIELD_PRIVATE); } else { label= CorrectionMessages.getFormattedString("UnresolvedElementsSubProcessor.createfield.other.description", new Object[] { name, getTypeSignature(senderDeclBinding) } ); //$NON-NLS-1$ image= JavaPluginImages.get(JavaPluginImages.IMG_FIELD_PUBLIC); } proposals.add(new NewVariableCompletionProposal(label, targetCU, NewVariableCompletionProposal.FIELD, simpleName, senderDeclBinding, relevance, image)); // create field in outer class (if inside anonymous) if (outsideAnonymous != null) { label= CorrectionMessages.getFormattedString("UnresolvedElementsSubProcessor.createfield.other.description", new Object[] { name, getTypeSignature(outsideAnonymous) } ); //$NON-NLS-1$ image= JavaPluginImages.get(JavaPluginImages.IMG_FIELD_PUBLIC); proposals.add(new NewVariableCompletionProposal(label, targetCU, NewVariableCompletionProposal.FIELD, simpleName, outsideAnonymous, relevance + 1, image)); } // create constant if (!isWriteAccess) { relevance= StubUtility.hasConstantName(name) ? 9 : 4; ITypeBinding target= (outsideAnonymous != null) ? outsideAnonymous : senderDeclBinding; if (binding == null) { label= CorrectionMessages.getFormattedString("UnresolvedElementsSubProcessor.createconst.description", name); //$NON-NLS-1$ image= JavaPluginImages.get(JavaPluginImages.IMG_FIELD_PRIVATE); } else { label= CorrectionMessages.getFormattedString("UnresolvedElementsSubProcessor.createconst.other.description", new Object[] { name, getTypeSignature(senderDeclBinding) } ); //$NON-NLS-1$ image= JavaPluginImages.get(JavaPluginImages.IMG_FIELD_PUBLIC); } proposals.add(new NewVariableCompletionProposal(label, targetCU, NewVariableCompletionProposal.CONST_FIELD, simpleName, target, relevance, image)); } }
|
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/c7f8aedf7566dd612e073464aa4a4fac273df0d0/UnresolvedElementsSubProcessor.java/buggy/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
20973,
974,
626,
22536,
12,
45,
19184,
2802,
15985,
16,
22416,
2802,
3364,
2375,
16,
467,
559,
5250,
5085,
16,
467,
559,
5250,
20845,
559,
5250,
16,
4477,
461,
4143,
461,
16,
1250,
353,
3067,
1862,
16,
2200,
450,
22536,
13,
1216,
5110,
1488,
503,
288,
202,
202,
759,
394,
3152,
202,
202,
45,
19184,
2802,
1018,
16001,
31,
202,
202,
45,
559,
5250,
5793,
3456,
5250,
31,
202,
202,
430,
261,
7374,
480,
446,
13,
288,
1082,
202,
15330,
3456,
5250,
33,
5085,
18,
588,
559,
6094,
5621,
1082,
202,
3299,
16001,
33,
9183,
2903,
6282,
18,
4720,
19184,
2802,
1290,
5250,
12,
6319,
16,
3364,
2375,
16,
5085,
1769,
202,
202,
97,
469,
288,
368,
5085,
353,
446,
364,
2006,
281,
2887,
12327,
1082,
202,
15330,
3456,
5250,
33,
20845,
559,
5250,
31,
1082,
202,
3299,
16001,
33,
15985,
31,
202,
202,
97,
9506,
202,
430,
16051,
15330,
3456,
5250,
18,
291,
1265,
1830,
1435,
747,
1018,
16001,
422,
446,
747,
401,
5852,
1488,
1304,
18,
291,
15470,
12,
3299,
16001,
3719,
288,
1082,
202,
2463,
31,
202,
202,
97,
6862,
202,
45,
559,
5250,
8220,
18792,
33,
446,
31,
202,
202,
430,
261,
7374,
422,
446,
597,
5793,
3456,
5250,
18,
291,
18792,
10756,
288,
1082,
202,
9053,
907,
392,
6435,
3456,
33,
3364,
2375,
18,
4720,
3456,
5968,
907,
12,
15330,
3456,
5250,
1769,
1082,
202,
430,
261,
304,
6435,
3456,
480,
446,
13,
288,
9506,
202,
45,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
20973,
974,
626,
22536,
12,
45,
19184,
2802,
15985,
16,
22416,
2802,
3364,
2375,
16,
467,
559,
5250,
5085,
16,
467,
559,
5250,
20845,
559,
5250,
16,
4477,
461,
4143,
461,
16,
1250,
353,
3067,
1862,
16,
2200,
450,
22536,
13,
1216,
5110,
1488,
503,
288,
202,
202,
759,
394,
3152,
202,
202,
45,
19184,
2802,
1018,
16001,
31,
202,
202,
45,
559,
5250,
5793,
3456,
5250,
31,
202,
202,
430,
261,
7374,
480,
446,
13,
288,
1082,
202,
15330,
3456,
5250,
33,
5085,
18,
588,
559,
6094,
5621,
1082,
202,
3299,
16001,
33,
9183,
2903,
6282,
18,
4720,
19184,
2802,
1290,
5250,
12,
6319,
16,
3364,
2375,
16,
5085,
1769,
202,
202,
97,
2
] |
public Object execMethod (int methodId, IdFunction function, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { switch (methodId) { case Id_abs: return wrap_double (js_abs(ScriptRuntime.toNumber(args, 0))); case Id_acos: return wrap_double (js_acos(ScriptRuntime.toNumber(args, 0))); case Id_asin: return wrap_double (js_asin(ScriptRuntime.toNumber(args, 0))); case Id_atan: return wrap_double (js_atan(ScriptRuntime.toNumber(args, 0))); case Id_atan2: return wrap_double (js_atan2(ScriptRuntime.toNumber(args, 0), ScriptRuntime.toNumber(args, 1))); case Id_ceil: return wrap_double (js_ceil(ScriptRuntime.toNumber(args, 0))); case Id_cos: return wrap_double (js_cos(ScriptRuntime.toNumber(args, 0))); case Id_exp: return wrap_double (js_exp(ScriptRuntime.toNumber(args, 0))); case Id_floor: return wrap_double (js_floor(ScriptRuntime.toNumber(args, 0))); case Id_log: return wrap_double (js_log(ScriptRuntime.toNumber(args, 0))); case Id_max: return wrap_double (js_max(args)); case Id_min: return wrap_double (js_min(args)); case Id_pow: return wrap_double (js_pow(ScriptRuntime.toNumber(args, 0), ScriptRuntime.toNumber(args, 1))); case Id_random: return wrap_double (js_random()); case Id_round: return wrap_double (js_round(ScriptRuntime.toNumber(args, 0))); case Id_sin: return wrap_double (js_sin(ScriptRuntime.toNumber(args, 0))); case Id_sqrt: return wrap_double (js_sqrt(ScriptRuntime.toNumber(args, 0))); case Id_tan: return wrap_double (js_tan(ScriptRuntime.toNumber(args, 0))); } return null; }
|
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/b6331020dcf96bb85dae57ee2a2ce947b6b0477a/NativeMath.java/clean/js/rhino/org/mozilla/javascript/NativeMath.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
445,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
1620,
261,
2039,
548,
13,
288,
10792,
648,
3124,
67,
5113,
30,
327,
2193,
67,
9056,
7734,
261,
2924,
67,
5113,
12,
3651,
5576,
18,
869,
1854,
12,
1968,
16,
374,
3719,
1769,
13491,
648,
3124,
67,
1077,
538,
30,
327,
2193,
67,
9056,
7734,
261,
2924,
67,
1077,
538,
12,
3651,
5576,
18,
869,
1854,
12,
1968,
16,
374,
3719,
1769,
13491,
648,
3124,
67,
345,
267,
30,
327,
2193,
67,
9056,
7734,
261,
2924,
67,
345,
267,
12,
3651,
5576,
18,
869,
1854,
12,
1968,
16,
374,
3719,
1769,
13491,
648,
3124,
67,
270,
304,
30,
327,
2193,
67,
9056,
7734,
261,
2924,
67,
270,
304,
12,
3651,
5576,
18,
869,
1854,
12,
1968,
16,
374,
3719,
1769,
13491,
648,
3124,
67,
270,
304,
22,
30,
327,
2193,
67,
9056,
7734,
261,
2924,
67,
270,
304,
22,
12,
3651,
5576,
18,
869,
1854,
12,
1968,
16,
374,
3631,
12900,
7739,
5576,
18,
869,
1854,
12,
1968,
16,
404,
3719,
1769,
13491,
648,
3124,
67,
311,
330,
30,
327,
2193,
67,
9056,
7734,
261,
2924,
67,
311,
330,
12,
3651,
5576,
18,
869,
1854,
12,
1968,
16,
374,
3719,
1769,
13491,
648,
3124,
67,
14445,
30,
327,
2193,
67,
9056,
7734,
261,
2924,
67,
14445,
12,
3651,
5576,
18,
869,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
445,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
1620,
261,
2039,
548,
13,
288,
10792,
648,
3124,
67,
5113,
30,
327,
2193,
67,
9056,
7734,
261,
2924,
67,
5113,
12,
3651,
5576,
18,
869,
1854,
12,
1968,
16,
374,
3719,
1769,
13491,
648,
3124,
67,
1077,
538,
30,
327,
2193,
67,
9056,
7734,
261,
2924,
67,
1077,
538,
12,
3651,
5576,
18,
869,
1854,
12,
1968,
16,
374,
3719,
1769,
13491,
648,
3124,
67,
345,
267,
30,
327,
2193,
67,
9056,
7734,
261,
2924,
67,
345,
267,
12,
3651,
5576,
18,
2
] |
||
throw Py.AttributeError("__abs__");
|
throw Py.AttributeError("__abs__");
|
public PyObject __abs__() { throw Py.AttributeError("__abs__"); }
|
6527 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6527/7578bed5e736ab8559f331661b6296572b52d1eb/PyObject.java/buggy/org/python/core/PyObject.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4707,
921,
1001,
5113,
972,
1435,
288,
202,
12849,
4707,
18,
1499,
668,
2932,
972,
5113,
972,
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,
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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,
377,
1071,
4707,
921,
1001,
5113,
972,
1435,
288,
202,
12849,
4707,
18,
1499,
668,
2932,
972,
5113,
972,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
try
|
Object [] params = new Object[paramCount]; try
|
public Object execute(Object o, InternalContextAdapter context) throws MethodInvocationException { /* * new strategy (strategery!) for introspection. Since we want * to be thread- as well as context-safe, we *must* do it now, * at execution time. There can be no in-node caching, * but if we are careful, we can do it in the context. */ VelMethod method = null; try { /* * check the cache */ IntrospectionCacheData icd = context.icacheGet( this ); Class c = o.getClass(); /* * like ASTIdentifier, if we have cache information, and the * Class of Object o is the same as that in the cache, we are * safe. */ if ( icd != null && icd.contextData == c ) { /* * sadly, we do need recalc the values of the args, as this can * change from visit to visit */ for (int j = 0; j < paramCount; j++) params[j] = jjtGetChild(j + 1).value(context); /* * and get the method from the cache */ method = (VelMethod) icd.thingy; } else { /* * otherwise, do the introspection, and then * cache it */ for (int j = 0; j < paramCount; j++) params[j] = jjtGetChild(j + 1).value(context); method = rsvc.getUberspect().getMethod(o, methodName, params, new Info("",1,1)); if (method != null) { icd = new IntrospectionCacheData(); icd.contextData = c; icd.thingy = method; context.icachePut( this, icd ); } } /* * if we still haven't gotten the method, either we are calling * a method that doesn't exist (which is fine...) or I screwed * it up. */ if (method == null) return null; } catch( MethodInvocationException mie ) { /* * this can come from the doIntrospection(), as the arg values * are evaluated to find the right method signature. We just * want to propogate it here, not do anything fancy */ throw mie; } catch( Exception e ) { /* * can come from the doIntropection() also, from Introspector */ rsvc.error("ASTMethod.execute() : exception from introspection : " + e); return null; } try { /* * get the returned object. It may be null, and that is * valid for something declared with a void return type. * Since the caller is expecting something to be returned, * as long as things are peachy, we can return an empty * String so ASTReference() correctly figures out that * all is well. */ Object obj = method.invoke(o, params); if (obj == null) { if( method.getReturnType() == Void.TYPE) return new String(""); } return obj; } catch( InvocationTargetException ite ) { /* * In the event that the invocation of the method * itself throws an exception, we want to catch that * wrap it, and throw. We don't log here as we want to figure * out which reference threw the exception, so do that * above */ EventCartridge ec = context.getEventCartridge(); /* * if we have an event cartridge, see if it wants to veto * also, let non-Exception Throwables go... */ if ( ec != null && ite.getTargetException() instanceof java.lang.Exception) { try { return ec.methodException( o.getClass(), methodName, (Exception)ite.getTargetException() ); } catch( Exception e ) { throw new MethodInvocationException( "Invocation of method '" + methodName + "' in " + o.getClass() + " threw exception " + e.getClass() + " : " + e.getMessage(), e, methodName ); } } else { /* * no event cartridge to override. Just throw */ throw new MethodInvocationException( "Invocation of method '" + methodName + "' in " + o.getClass() + " threw exception " + ite.getTargetException().getClass() + " : " + ite.getTargetException().getMessage(), ite.getTargetException(), methodName ); } } catch( Exception e ) { rsvc.error("ASTMethod.execute() : exception invoking method '" + methodName + "' in " + o.getClass() + " : " + e ); return null; } }
|
55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/612e7eb2a5998f114dc6fa8e3278ef18f107e8d9/ASTMethod.java/buggy/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1836,
12,
921,
320,
16,
3186,
1042,
4216,
819,
13,
3639,
1216,
2985,
9267,
503,
565,
288,
3639,
1748,
540,
380,
225,
394,
6252,
261,
701,
1287,
627,
24949,
364,
18446,
7017,
18,
7897,
732,
2545,
1850,
380,
225,
358,
506,
2650,
17,
487,
5492,
487,
819,
17,
4626,
16,
732,
380,
11926,
14,
741,
518,
2037,
16,
540,
380,
225,
622,
4588,
813,
18,
225,
6149,
848,
506,
1158,
316,
17,
2159,
11393,
16,
540,
380,
225,
1496,
309,
732,
854,
26850,
16,
732,
848,
741,
518,
316,
326,
819,
18,
540,
1195,
3639,
776,
292,
1305,
707,
273,
446,
31,
3639,
1033,
5378,
859,
273,
394,
1033,
63,
891,
1380,
15533,
225,
775,
540,
288,
5411,
1748,
2398,
380,
282,
866,
326,
1247,
2868,
1195,
5411,
3094,
26362,
1649,
751,
277,
4315,
273,
225,
819,
18,
335,
807,
967,
12,
333,
11272,
5411,
1659,
276,
273,
320,
18,
588,
797,
5621,
5411,
1748,
2398,
380,
225,
3007,
9183,
3004,
16,
309,
732,
1240,
1247,
1779,
16,
471,
326,
2398,
380,
225,
1659,
434,
1033,
320,
353,
326,
1967,
487,
716,
316,
326,
1247,
16,
732,
854,
2398,
380,
225,
4183,
18,
2398,
1195,
5411,
309,
261,
277,
4315,
480,
446,
597,
277,
4315,
18,
2472,
751,
422,
276,
262,
5411,
288,
7734,
1748,
1171,
380,
272,
361,
715,
16,
732,
741,
1608,
283,
12448,
326,
924,
434,
326,
833,
16,
487,
333,
848,
5375,
380,
2549,
628,
3757,
358,
3757,
1171,
1195,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1836,
12,
921,
320,
16,
3186,
1042,
4216,
819,
13,
3639,
1216,
2985,
9267,
503,
565,
288,
3639,
1748,
540,
380,
225,
394,
6252,
261,
701,
1287,
627,
24949,
364,
18446,
7017,
18,
7897,
732,
2545,
1850,
380,
225,
358,
506,
2650,
17,
487,
5492,
487,
819,
17,
4626,
16,
732,
380,
11926,
14,
741,
518,
2037,
16,
540,
380,
225,
622,
4588,
813,
18,
225,
6149,
848,
506,
1158,
316,
17,
2159,
11393,
16,
540,
380,
225,
1496,
309,
732,
854,
26850,
16,
732,
848,
741,
518,
316,
326,
819,
18,
540,
1195,
3639,
776,
292,
1305,
707,
273,
446,
31,
3639,
1033,
5378,
859,
273,
394,
1033,
63,
891,
1380,
15533,
225,
775,
540,
2
] |
Container.class.isAssignableFrom((Class) type)) {
|
Struct.class.isAssignableFrom((Class) type)) {
|
static Object deSerializeParameter(Object parameter, Type type) throws Exception { if (null == parameter) return null; // it's a TypeSignature, turn it into a Type[] if (parameter instanceof TypeSignature) { Vector<Type> ts = new Vector<Type>(); getJavaType(((TypeSignature) parameter).sig, ts, -1); parameter = ts.toArray(new Type[0]); } // its a wrapped variant, unwrap it if (type instanceof TypeVariable && parameter instanceof Variant) { parameter = ((Variant)parameter).getValue(); } // recurse on these if (parameter instanceof Variant) { parameter = new Variant(deSerializeParameter(((Variant) parameter).getValue(), ((Variant) parameter).getType()), ((Variant) parameter).getType()); } // its a wrapped map, unwrap it if (parameter instanceof MapContainer) parameter = ((MapContainer) parameter).getMap(type); // its a wrapped list, unwrap it if (parameter instanceof ListContainer) { parameter = ((ListContainer) parameter).getList(type); } // its an object path, get/create the proxy if (parameter instanceof ObjectPath) { parameter = ((ObjectPath) parameter).conn.getExportedObject( ((ObjectPath) parameter).source, ((ObjectPath) parameter).path); } // it should be a struct. create it if (parameter instanceof Object[] && type instanceof Class && Container.class.isAssignableFrom((Class) type)) { Type[] ts = Container.getTypeCache(type); if (null == ts) { Field[] fs = ((Class) type).getDeclaredFields(); ts = new Type[fs.length]; for (Field f : fs) { Position p = f.getAnnotation(Position.class); if (null == p) continue; ts[p.value()] = f.getGenericType(); } Container.putTypeCache(type, ts); } // recurse over struct contents parameter = deSerializeParameters((Object[]) parameter, ts); for (Constructor con: ((Class) type).getDeclaredConstructors()) { try { parameter = con.newInstance((Object[]) parameter); break; } catch (IllegalArgumentException IAe) {} } } // recurse over arrays if (parameter instanceof Object[]) { Type[] ts = new Type[((Object[]) parameter).length]; Arrays.fill(ts, parameter.getClass().getComponentType()); parameter = deSerializeParameters((Object[]) parameter, ts); } // make sure arrays are in the correct format if (parameter instanceof Object[] || parameter instanceof List || parameter.getClass().isArray()) { if (type instanceof ParameterizedType) parameter = ArrayFrob.convert(parameter, (Class<? extends Object>) ((ParameterizedType) type).getRawType()); else if (type instanceof GenericArrayType) { Type ct = ((GenericArrayType) type).getGenericComponentType(); Class cc = null; if (ct instanceof Class) cc = (Class) ct; if (ct instanceof ParameterizedType) cc = (Class) ((ParameterizedType) ct).getRawType(); Object o = Array.newInstance(cc, 0); parameter = ArrayFrob.convert(parameter, o.getClass()); } else if (type instanceof Class && ((Class) type).isArray()) { Class cc = ((Class) type).getComponentType(); Object o = Array.newInstance(cc, 0); parameter = ArrayFrob.convert(parameter, o.getClass()); } } return parameter; }
|
5401 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5401/852b4ace9cde76f14b7630c07d3d462739665f9b/DBusConnection.java/clean/org/freedesktop/dbus/DBusConnection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
760,
1033,
443,
10343,
1662,
12,
921,
1569,
16,
1412,
618,
13,
1216,
1185,
282,
288,
1377,
309,
261,
2011,
422,
1569,
13,
1850,
327,
446,
31,
1377,
368,
518,
1807,
279,
1412,
5374,
16,
7005,
518,
1368,
279,
1412,
8526,
1377,
309,
261,
6775,
1276,
1412,
5374,
13,
288,
540,
5589,
32,
559,
34,
3742,
273,
394,
5589,
32,
559,
34,
5621,
540,
18911,
559,
12443,
12,
559,
5374,
13,
1569,
2934,
7340,
16,
3742,
16,
300,
21,
1769,
540,
1569,
273,
3742,
18,
31447,
12,
2704,
1412,
63,
20,
19226,
1377,
289,
1377,
368,
2097,
279,
5805,
5437,
16,
11014,
518,
1377,
309,
261,
723,
1276,
23614,
2398,
597,
1569,
1276,
17122,
13,
288,
540,
1569,
273,
14015,
9356,
13,
6775,
2934,
24805,
5621,
1377,
289,
1377,
368,
11502,
603,
4259,
1377,
309,
261,
6775,
1276,
17122,
13,
288,
540,
1569,
273,
394,
17122,
12,
323,
10343,
1662,
12443,
12,
9356,
13,
1569,
2934,
24805,
9334,
4766,
8227,
14015,
9356,
13,
1569,
2934,
588,
559,
1435,
3631,
4766,
14015,
9356,
13,
1569,
2934,
588,
559,
10663,
1377,
289,
1377,
368,
2097,
279,
5805,
852,
16,
11014,
518,
1377,
309,
261,
6775,
1276,
1635,
2170,
13,
540,
1569,
273,
14015,
863,
2170,
13,
1569,
2934,
588,
863,
12,
723,
1769,
1377,
368,
2097,
279,
5805,
666,
16,
11014,
518,
1377,
309,
261,
6775,
1276,
987,
2170,
13,
288,
540,
1569,
273,
14015,
682,
2170,
13,
1569,
2934,
588,
682,
12,
723,
1769,
1377,
289,
1377,
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,
760,
1033,
443,
10343,
1662,
12,
921,
1569,
16,
1412,
618,
13,
1216,
1185,
282,
288,
1377,
309,
261,
2011,
422,
1569,
13,
1850,
327,
446,
31,
1377,
368,
518,
1807,
279,
1412,
5374,
16,
7005,
518,
1368,
279,
1412,
8526,
1377,
309,
261,
6775,
1276,
1412,
5374,
13,
288,
540,
5589,
32,
559,
34,
3742,
273,
394,
5589,
32,
559,
34,
5621,
540,
18911,
559,
12443,
12,
559,
5374,
13,
1569,
2934,
7340,
16,
3742,
16,
300,
21,
1769,
540,
1569,
273,
3742,
18,
31447,
12,
2704,
1412,
63,
20,
19226,
1377,
289,
1377,
368,
2097,
279,
5805,
5437,
16,
11014,
518,
1377,
309,
261,
723,
1276,
23614,
2398,
597,
1569,
1276,
17122,
13,
288,
540,
1569,
2
] |
if ((_doResponse[option] == 0 && _stateIsDo(option)) || _requestedDo(option))
|
if ((_doResponse[option] == 0 && _stateIsDo(option)) || _requestedDo(option)) {
|
final synchronized void _requestDo(int option) throws IOException { if ((_doResponse[option] == 0 && _stateIsDo(option)) || _requestedDo(option)) return ; _setWantDo(option); ++_doResponse[option]; _sendDo(option); }
|
50121 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50121/9cdfe8b631f8520c9bcf72b76cc6a9e9a5392222/Telnet.java/clean/src/java/org/apache/commons/net/telnet/Telnet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
727,
3852,
918,
389,
2293,
3244,
12,
474,
1456,
13,
565,
1216,
1860,
565,
288,
3639,
309,
14015,
67,
2896,
1064,
63,
3482,
65,
422,
374,
597,
389,
2019,
2520,
3244,
12,
3482,
3719,
747,
7734,
389,
19065,
3244,
12,
3482,
3719,
5411,
327,
274,
3639,
389,
542,
59,
970,
3244,
12,
3482,
1769,
3639,
965,
67,
2896,
1064,
63,
3482,
15533,
3639,
389,
4661,
3244,
12,
3482,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
727,
3852,
918,
389,
2293,
3244,
12,
474,
1456,
13,
565,
1216,
1860,
565,
288,
3639,
309,
14015,
67,
2896,
1064,
63,
3482,
65,
422,
374,
597,
389,
2019,
2520,
3244,
12,
3482,
3719,
747,
7734,
389,
19065,
3244,
12,
3482,
3719,
5411,
327,
274,
3639,
389,
542,
59,
970,
3244,
12,
3482,
1769,
3639,
965,
67,
2896,
1064,
63,
3482,
15533,
3639,
389,
4661,
3244,
12,
3482,
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
] |
for (byte b : conn.getSourceData()) out.write(Integer.toHexString((int) b).getBytes());
|
for (byte b : conn.getSourceData()) { String hexString = Integer.toHexString((int) b); if (hexString.length() == 1) hexString = "0" + hexString; out.write(hexString.getBytes()); }
|
public void logConnection(RadioConnection conn) { if (myType == LOG_TO_LOG4J || myType == LOG_TO_FILE_AND_LOG4J) { if (conn.getDestinationPositons() != null && conn.getDestinationPositons().length > 0) for (Position destPos : conn.getDestinationPositons()) { logger.info("RADIODATA from " + conn.getSourcePosition() + " to " + destPos + "\tsize:" + conn.getSourceData().length); } else logger.info("RADIODATA from " + conn.getSourcePosition() + " to " + "[NOWHERE]" + "\tsize:" + conn.getSourceData().length); } if (myType == LOG_TO_FILE || myType == LOG_TO_FILE_AND_LOG4J) { try { FileOutputStream out = new FileOutputStream(myFile, true); if (conn.getDestinationPositons() != null && conn.getDestinationPositons().length > 0) { for (int i = 0; i < conn.getDestinationPositons().length; i++) { // Source pos out.write("SRC_POS\t".getBytes()); Position pos = conn.getSourcePosition(); out.write(Double.toString(pos.getXCoordinate()).getBytes()); out.write("\t".getBytes()); out.write(Double.toString(pos.getYCoordinate()).getBytes()); out.write("\t".getBytes()); out.write(Double.toString(pos.getZCoordinate()).getBytes()); out.write("\t".getBytes()); // Source data out.write("SRC_DATA\t".getBytes()); for (byte b : conn.getSourceData()) out.write(Integer.toHexString((int) b).getBytes()); out.write("\t".getBytes()); // Destination pos out.write("DEST_POS\t".getBytes()); pos = conn.getDestinationPositons()[i]; out.write(Double.toString(pos.getXCoordinate()).getBytes()); out.write("\t".getBytes()); out.write(Double.toString(pos.getYCoordinate()).getBytes()); out.write("\t".getBytes()); out.write(Double.toString(pos.getZCoordinate()).getBytes()); out.write("\t".getBytes()); // Source data out.write("DEST_DATA\t".getBytes()); for (byte b : conn.getDestinationData()[i]) out.write(Integer.toHexString((int) b).getBytes()); out.write("\t".getBytes()); out.write("\n".getBytes()); } } else { // Source pos out.write("SRC_POS\t".getBytes()); Position pos = conn.getSourcePosition(); out.write(Double.toString(pos.getXCoordinate()).getBytes()); out.write("\t".getBytes()); out.write(Double.toString(pos.getYCoordinate()).getBytes()); out.write("\t".getBytes()); out.write(Double.toString(pos.getZCoordinate()).getBytes()); out.write("\t".getBytes()); // Source data out.write("SRC_DATA\t".getBytes()); for (byte b : conn.getSourceData()) out.write(Integer.toHexString((int) b).getBytes()); out.write("\n".getBytes()); } out.close(); } catch (Exception e) { logger.fatal("Exception while logging to file: " + e); myType = LOG_TO_LOG4J; return; } } }
|
43320 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/43320/8e0150d44b09fd49163c682ecc1444d91f29bc40/ConnectionLogger.java/buggy/tools/cooja/java/se/sics/cooja/ConnectionLogger.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
613,
1952,
12,
19984,
1952,
1487,
13,
288,
565,
309,
261,
4811,
559,
422,
2018,
67,
4296,
67,
4842,
24,
46,
747,
3399,
559,
422,
2018,
67,
4296,
67,
3776,
67,
4307,
67,
4842,
24,
46,
13,
288,
1377,
309,
261,
4646,
18,
588,
5683,
1616,
305,
7008,
1435,
480,
446,
1850,
597,
1487,
18,
588,
5683,
1616,
305,
7008,
7675,
2469,
405,
374,
13,
3639,
364,
261,
2555,
1570,
1616,
294,
1487,
18,
588,
5683,
1616,
305,
7008,
10756,
288,
1850,
1194,
18,
1376,
2932,
54,
17708,
1212,
3706,
628,
315,
397,
1487,
18,
588,
1830,
2555,
1435,
397,
315,
358,
315,
2868,
397,
1570,
1616,
397,
1548,
88,
1467,
2773,
397,
1487,
18,
588,
1830,
751,
7675,
2469,
1769,
3639,
289,
1377,
469,
3639,
1194,
18,
1376,
2932,
54,
17708,
1212,
3706,
628,
315,
397,
1487,
18,
588,
1830,
2555,
1435,
397,
315,
358,
315,
5411,
397,
5158,
3417,
12299,
4279,
397,
1548,
88,
1467,
2773,
397,
1487,
18,
588,
1830,
751,
7675,
2469,
1769,
565,
289,
565,
309,
261,
4811,
559,
422,
2018,
67,
4296,
67,
3776,
747,
3399,
559,
422,
2018,
67,
4296,
67,
3776,
67,
4307,
67,
4842,
24,
46,
13,
288,
1377,
775,
288,
3639,
12942,
596,
273,
394,
12942,
12,
4811,
812,
16,
638,
1769,
3639,
309,
261,
4646,
18,
588,
5683,
1616,
305,
7008,
1435,
480,
446,
5411,
597,
1487,
18,
588,
5683,
1616,
305,
7008,
7675,
2469,
405,
374,
13,
288,
1850,
364,
261,
474,
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,
613,
1952,
12,
19984,
1952,
1487,
13,
288,
565,
309,
261,
4811,
559,
422,
2018,
67,
4296,
67,
4842,
24,
46,
747,
3399,
559,
422,
2018,
67,
4296,
67,
3776,
67,
4307,
67,
4842,
24,
46,
13,
288,
1377,
309,
261,
4646,
18,
588,
5683,
1616,
305,
7008,
1435,
480,
446,
1850,
597,
1487,
18,
588,
5683,
1616,
305,
7008,
7675,
2469,
405,
374,
13,
3639,
364,
261,
2555,
1570,
1616,
294,
1487,
18,
588,
5683,
1616,
305,
7008,
10756,
288,
1850,
1194,
18,
1376,
2932,
54,
17708,
1212,
3706,
628,
315,
397,
1487,
18,
588,
1830,
2555,
1435,
397,
315,
358,
315,
2868,
397,
1570,
1616,
397,
1548,
88,
1467,
2773,
397,
1487,
18,
588,
2
] |
}
|
}
|
public void drawArc(int x, int y, int w, int h, int startAngle, int arcAngle) { // TODO } // drawArc()
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/50dc6879c9be89f646fdff68c58f785e3dc0b90e/DebugGraphics.java/clean/core/src/classpath/javax/javax/swing/DebugGraphics.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3724,
14598,
12,
474,
619,
16,
509,
677,
16,
509,
341,
16,
509,
366,
16,
1875,
202,
474,
787,
8467,
16,
509,
8028,
8467,
13,
288,
202,
202,
759,
2660,
202,
97,
368,
3724,
14598,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3724,
14598,
12,
474,
619,
16,
509,
677,
16,
509,
341,
16,
509,
366,
16,
1875,
202,
474,
787,
8467,
16,
509,
8028,
8467,
13,
288,
202,
202,
759,
2660,
202,
97,
368,
3724,
14598,
1435,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
String value = "";
|
String value = "";
|
private List lookupMacros(String prefix){ Set keySet = new TreeSet(macroMap.keySet()); Iterator i = keySet.iterator(); List resultSet = new ArrayList(); while( i.hasNext() ) { String key = (String) i.next(); String value = ""; if(key.length() > prefix.length()) { value = key.substring(0, prefix.length()); }else { value = key; } if( value.equalsIgnoreCase( prefix ) ) { IMacroDescriptor macroD = (IMacroDescriptor)macroMap.get(key); if (macroD.getMacroType() == IMacroDescriptor.MacroType.FUNCTION_LIKE ) resultSet.add( macroD.getCompleteSignature() ); else resultSet.add( macroD.getName() ); } else if( value.compareToIgnoreCase( prefix ) > 0 ) break; } return resultSet; }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/1738ff26440cb838b4d42f49cb8d29c4cc9babdf/CompletionEngine.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/contentassist/CompletionEngine.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
987,
3689,
9990,
6973,
12,
780,
1633,
15329,
1082,
202,
694,
7685,
273,
394,
19461,
12,
26448,
863,
18,
856,
694,
10663,
202,
202,
3198,
277,
273,
7685,
18,
9838,
5621,
9506,
202,
682,
12168,
273,
394,
2407,
5621,
3196,
202,
17523,
12,
277,
18,
5332,
2134,
1435,
262,
202,
202,
95,
1082,
202,
780,
498,
273,
261,
780,
13,
277,
18,
4285,
5621,
1082,
202,
780,
460,
273,
1408,
31,
1082,
202,
430,
12,
856,
18,
2469,
1435,
405,
1633,
18,
2469,
10756,
288,
9506,
202,
1132,
273,
498,
18,
28023,
12,
20,
16,
1633,
18,
2469,
10663,
1082,
202,
97,
12107,
288,
9506,
202,
1132,
273,
498,
31,
1082,
202,
97,
1082,
202,
430,
12,
460,
18,
14963,
5556,
12,
1633,
262,
262,
288,
9506,
202,
3445,
1077,
303,
3187,
11522,
40,
273,
261,
3445,
1077,
303,
3187,
13,
26448,
863,
18,
588,
12,
856,
1769,
9506,
202,
430,
261,
26448,
40,
18,
588,
17392,
559,
1435,
422,
6246,
1077,
303,
3187,
18,
17392,
559,
18,
7788,
67,
21538,
262,
6862,
202,
2088,
694,
18,
1289,
12,
11522,
40,
18,
588,
6322,
5374,
1435,
11272,
9506,
202,
12107,
4405,
202,
2088,
694,
18,
1289,
12,
11522,
40,
18,
17994,
1435,
11272,
1082,
202,
97,
1082,
202,
12107,
309,
12,
460,
18,
9877,
774,
5556,
12,
1633,
262,
405,
374,
262,
4697,
202,
8820,
31,
202,
202,
97,
202,
202,
2463,
12168,
31,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
987,
3689,
9990,
6973,
12,
780,
1633,
15329,
1082,
202,
694,
7685,
273,
394,
19461,
12,
26448,
863,
18,
856,
694,
10663,
202,
202,
3198,
277,
273,
7685,
18,
9838,
5621,
9506,
202,
682,
12168,
273,
394,
2407,
5621,
3196,
202,
17523,
12,
277,
18,
5332,
2134,
1435,
262,
202,
202,
95,
1082,
202,
780,
498,
273,
261,
780,
13,
277,
18,
4285,
5621,
1082,
202,
780,
460,
273,
1408,
31,
1082,
202,
430,
12,
856,
18,
2469,
1435,
405,
1633,
18,
2469,
10756,
288,
9506,
202,
1132,
273,
498,
18,
28023,
12,
20,
16,
1633,
18,
2469,
10663,
1082,
202,
97,
12107,
288,
9506,
202,
1132,
273,
498,
31,
1082,
202,
97,
1082,
202,
430,
2
] |
c = _consolePane;
|
newC = _consolePane;
|
private void _switchToPane(Component c) { if (c == _interactionsScroll) { c = _interactionsPane; } if (c == _consoleScroll) { c = _consolePane; } showTab(c); c.requestFocus(); }
|
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/6df23b9d947a754084cff460e34d203b0d81fd48/MainFrame.java/buggy/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
389,
9610,
774,
8485,
12,
1841,
276,
13,
288,
565,
309,
261,
71,
422,
389,
2761,
4905,
6806,
13,
288,
1377,
276,
273,
389,
2761,
4905,
8485,
31,
565,
289,
565,
309,
261,
71,
422,
389,
8698,
6806,
13,
288,
1377,
394,
39,
273,
389,
8698,
8485,
31,
565,
289,
565,
2405,
5661,
12,
71,
1769,
565,
276,
18,
2293,
9233,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3238,
918,
389,
9610,
774,
8485,
12,
1841,
276,
13,
288,
565,
309,
261,
71,
422,
389,
2761,
4905,
6806,
13,
288,
1377,
276,
273,
389,
2761,
4905,
8485,
31,
565,
289,
565,
309,
261,
71,
422,
389,
8698,
6806,
13,
288,
1377,
394,
39,
273,
389,
8698,
8485,
31,
565,
289,
565,
2405,
5661,
12,
71,
1769,
565,
276,
18,
2293,
9233,
5621,
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
] |
Drawing d = createDrawing(); d.setTitle(getDefaultDrawingTitle()); DrawingView dv = new ZoomDrawingView(this); dv.setDrawing(d); return dv;
|
return new ZoomDrawingView(this);
|
protected DrawingView createDrawingView() { Drawing d = createDrawing(); d.setTitle(getDefaultDrawingTitle()); DrawingView dv = new ZoomDrawingView(this); dv.setDrawing(d); return dv; }
|
5626 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5626/fd6141583eb286d7a0c6fb88b32b06eb519af75e/JavaDrawApp.java/clean/JHotDraw/src/CH/ifa/draw/samples/javadraw/JavaDrawApp.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
10184,
310,
1767,
752,
26885,
1767,
1435,
288,
202,
202,
26885,
302,
273,
752,
26885,
5621,
202,
202,
72,
18,
542,
4247,
12,
588,
1868,
26885,
4247,
10663,
202,
202,
26885,
1767,
12494,
273,
394,
2285,
4252,
26885,
1767,
12,
2211,
1769,
202,
202,
15679,
18,
542,
26885,
12,
72,
1769,
202,
202,
2463,
225,
12494,
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,
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0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
10184,
310,
1767,
752,
26885,
1767,
1435,
288,
202,
202,
26885,
302,
273,
752,
26885,
5621,
202,
202,
72,
18,
542,
4247,
12,
588,
1868,
26885,
4247,
10663,
202,
202,
26885,
1767,
12494,
273,
394,
2285,
4252,
26885,
1767,
12,
2211,
1769,
202,
202,
15679,
18,
542,
26885,
12,
72,
1769,
202,
202,
2463,
225,
12494,
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
] |
if (jj_3_26()) { jj_scanpos = xsp; break; }
|
if (jj_3_19()) { jj_scanpos = xsp; break; }
|
final private boolean jj_3R_20() { if (jj_scan_token(LBRACE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; if (jj_3_26()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; while (true) { xsp = jj_scanpos; if (jj_3_26()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } if (jj_scan_token(RBRACE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
|
47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/d1775300ef3c91eaadbc0bf2706207627b5dc993/SoarParser.java/clean/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/parser/SoarParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
3462,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
12995,
9254,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
3155,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
67,
5558,
10756,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
1323,
261,
3767,
13,
288,
1377,
619,
1752,
273,
10684,
67,
9871,
917,
31,
1377,
309,
261,
78,
78,
67,
23,
67,
3657,
10756,
288,
10684,
67,
9871,
917,
273,
619,
1752,
31,
898,
31,
289,
1377,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
289,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
19437,
9254,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
327,
629,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
3462,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
12995,
9254,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
3155,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
67,
5558,
10756,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
1323,
261,
3767,
13,
288,
1377,
619,
1752,
273,
10684,
67,
9871,
917,
31,
1377,
309,
261,
78,
78,
67,
23,
67,
3657,
10756,
288,
10684,
2
] |
throw new AssertionError(Messages.getString("prefs.5"));
|
throw new NullPointerException(Messages.getString("prefs.5"));
|
public void exportNode(OutputStream ostream) throws IOException, BackingStoreException { if(ostream == null) { // prefs.5=Stream is null throw new AssertionError(Messages.getString("prefs.5")); //$NON-NLS-1$ } checkState(); XMLParser.exportPrefs(this, ostream, false); }
|
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/54c9c40471b5ff1eb74b1549b6896720222c420d/AbstractPreferences.java/buggy/modules/prefs/src/main/java/java/util/prefs/AbstractPreferences.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3359,
907,
12,
4632,
320,
3256,
13,
1216,
1860,
16,
5411,
4297,
310,
21151,
288,
3639,
309,
12,
669,
793,
422,
446,
13,
288,
5411,
368,
15503,
18,
25,
33,
1228,
353,
446,
5411,
604,
394,
10108,
12,
5058,
18,
588,
780,
2932,
1484,
2556,
18,
25,
7923,
1769,
225,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
289,
3639,
13632,
5621,
3639,
3167,
2678,
18,
6530,
1386,
2556,
12,
2211,
16,
320,
3256,
16,
629,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3359,
907,
12,
4632,
320,
3256,
13,
1216,
1860,
16,
5411,
4297,
310,
21151,
288,
3639,
309,
12,
669,
793,
422,
446,
13,
288,
5411,
368,
15503,
18,
25,
33,
1228,
353,
446,
5411,
604,
394,
10108,
12,
5058,
18,
588,
780,
2932,
1484,
2556,
18,
25,
7923,
1769,
225,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
289,
3639,
13632,
5621,
3639,
3167,
2678,
18,
6530,
1386,
2556,
12,
2211,
16,
320,
3256,
16,
629,
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
] |
frame.Release();
|
public OleControlSite(Composite parent, int style, String progId) { super(parent, style); createCOMInterfaces(); // check for licensing appClsid = getClassID(progId); if (appClsid == null) OLE.error(OLE.ERROR_INVALID_CLASSID); int licinfo = getLicenseInfo(appClsid); if (licinfo == 0) { // Open a storage object tempStorage = createTempStorage(); // Create ole object with storage object int[] address = new int[1]; int result = COM.OleCreate(appClsid, COM.IIDIUnknown, COM.OLERENDER_DRAW, null, 0, tempStorage.getAddress(), address); if (result != COM.S_OK) OLE.error(OLE.ERROR_CANNOT_CREATE_OBJECT, result); objIUnknown = new IUnknown(address[0]); } else { // Prepare the ClassFactory int[] ppvObject = new int[1]; try { int result = COM.CoGetClassObject(appClsid, COM.CLSCTX_INPROC_HANDLER | COM.CLSCTX_INPROC_SERVER, 0, COM.IIDIClassFactory2, ppvObject); if (result != COM.S_OK) { OLE.error(OLE.ERROR_CANNOT_ACCESS_CLASSFACTORY, result); } IClassFactory2 classFactory = new IClassFactory2(ppvObject[0]); // Create Com Object ppvObject = new int[1]; result = classFactory.CreateInstanceLic(0, 0, COM.IIDIUnknown, licinfo, ppvObject); classFactory.Release(); if (result != COM.S_OK) OLE.error(OLE.ERROR_CANNOT_CREATE_LICENSED_OBJECT, result); } finally { COM.SysFreeString(licinfo); } objIUnknown = new IUnknown(ppvObject[0]); // Prepare a storage medium ppvObject = new int[1]; if (objIUnknown.QueryInterface(COM.IIDIPersistStorage, ppvObject) == COM.S_OK) { IPersistStorage persist = new IPersistStorage(ppvObject[0]); tempStorage = createTempStorage(); persist.InitNew(tempStorage.getAddress()); persist.Release(); } } // Init sinks try { addObjectReferences(); } catch (SWTError e) { disposeCOMInterfaces(); frame.Release(); throw e; } if (COM.OleRun(objIUnknown.getAddress()) == OLE.S_OK) state= STATE_RUNNING;}
|
12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/44d04241b701a3760bfc388747d6cea8273f6b21/OleControlSite.java/clean/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleControlSite.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
531,
298,
3367,
4956,
12,
9400,
982,
16,
509,
2154,
16,
514,
11243,
548,
13,
288,
202,
9565,
12,
2938,
16,
2154,
1769,
202,
2640,
4208,
10273,
5621,
202,
759,
866,
364,
328,
335,
773,
310,
202,
2910,
2009,
7453,
273,
2900,
734,
12,
14654,
548,
1769,
202,
430,
261,
2910,
2009,
7453,
422,
446,
13,
531,
900,
18,
1636,
12,
51,
900,
18,
3589,
67,
9347,
67,
5237,
734,
1769,
202,
474,
328,
335,
1376,
273,
9014,
5142,
966,
12,
2910,
2009,
7453,
1769,
202,
430,
261,
80,
335,
1376,
422,
374,
13,
288,
9506,
202,
759,
3502,
279,
2502,
733,
202,
202,
5814,
3245,
273,
752,
7185,
3245,
5621,
202,
202,
759,
1788,
320,
298,
733,
598,
2502,
733,
202,
202,
474,
8526,
1758,
273,
394,
509,
63,
21,
15533,
202,
202,
474,
563,
273,
5423,
18,
51,
298,
1684,
12,
2910,
2009,
7453,
16,
5423,
18,
45,
30218,
4874,
16,
5423,
18,
1741,
654,
22457,
67,
40,
10821,
16,
446,
16,
374,
16,
1906,
3245,
18,
588,
1887,
9334,
1758,
1769,
202,
202,
430,
261,
2088,
480,
5423,
18,
55,
67,
3141,
13,
1082,
202,
51,
900,
18,
1636,
12,
51,
900,
18,
3589,
67,
39,
16791,
67,
9344,
67,
9422,
16,
563,
1769,
202,
202,
2603,
45,
4874,
273,
394,
467,
4874,
12,
2867,
63,
20,
19226,
1082,
202,
97,
469,
288,
202,
202,
759,
7730,
326,
1659,
1733,
202,
202,
474,
8526,
8228,
90,
921,
273,
394,
509,
63,
21,
15533,
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,
1071,
531,
298,
3367,
4956,
12,
9400,
982,
16,
509,
2154,
16,
514,
11243,
548,
13,
288,
202,
9565,
12,
2938,
16,
2154,
1769,
202,
2640,
4208,
10273,
5621,
202,
759,
866,
364,
328,
335,
773,
310,
202,
2910,
2009,
7453,
273,
2900,
734,
12,
14654,
548,
1769,
202,
430,
261,
2910,
2009,
7453,
422,
446,
13,
531,
900,
18,
1636,
12,
51,
900,
18,
3589,
67,
9347,
67,
5237,
734,
1769,
202,
474,
328,
335,
1376,
273,
9014,
5142,
966,
12,
2910,
2009,
7453,
1769,
202,
430,
261,
80,
335,
1376,
422,
374,
13,
288,
9506,
202,
759,
3502,
279,
2502,
733,
202,
202,
5814,
3245,
273,
752,
7185,
3245,
5621,
202,
202,
759,
1788,
320,
298,
733,
2
] |
|
mfi.getWidth(0), mfi.getHeight(0), Transparency.BITMASK);
|
WIDTH, HEIGHT, Transparency.BITMASK);
|
public void setAvatar (int[] avatar) { CharacterDescriptor cdesc = _ctx.getAvatarMetrics().decodeAvatar(avatar); ActionFrames af; try { af = _ctx.getCharacterManager().getActionFrames(cdesc, "default"); } catch (Exception e) { log.log(Level.WARNING, "Unable to load action frames " + "[cdesc=" + cdesc + "].", e); return; } MultiFrameImage mfi = af.getFrames(0); BufferedImage image = _ctx.getImageManager().createImage( mfi.getWidth(0), mfi.getHeight(0), Transparency.BITMASK); Graphics2D gfx = (Graphics2D)image.createGraphics(); try { mfi.paintFrame(gfx, 0, 0, 0); } finally { gfx.dispose(); } setIcon(new ImageIcon((BufferedImage)image.getScaledInstance( 234, 300, BufferedImage.SCALE_SMOOTH))); }
|
8059 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8059/3b9a833dfc65ce063202e4852d926fdc733a16a0/AvatarView.java/clean/src/java/com/threerings/bang/avatar/client/AvatarView.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
23999,
261,
474,
8526,
16910,
13,
565,
288,
3639,
6577,
3187,
276,
5569,
273,
389,
5900,
18,
588,
23999,
5653,
7675,
3922,
23999,
12,
19660,
1769,
3639,
4382,
15162,
10073,
31,
3639,
775,
288,
5411,
10073,
273,
389,
5900,
18,
588,
7069,
1318,
7675,
588,
1803,
15162,
12,
4315,
742,
16,
315,
1886,
8863,
3639,
289,
1044,
261,
503,
425,
13,
288,
5411,
613,
18,
1330,
12,
2355,
18,
9511,
16,
315,
3370,
358,
1262,
1301,
7793,
315,
397,
10792,
5158,
4315,
742,
1546,
397,
276,
5569,
397,
9850,
1199,
16,
425,
1769,
5411,
327,
31,
3639,
289,
3639,
5991,
3219,
2040,
14749,
77,
273,
10073,
18,
588,
15162,
12,
20,
1769,
3639,
12362,
1316,
273,
389,
5900,
18,
588,
2040,
1318,
7675,
2640,
2040,
12,
5411,
22631,
16,
4194,
7700,
16,
2604,
18258,
18,
15650,
11704,
1769,
3639,
16830,
22,
40,
30940,
273,
261,
17558,
22,
40,
13,
2730,
18,
2640,
17558,
5621,
3639,
775,
288,
5411,
14749,
77,
18,
84,
1598,
3219,
12,
75,
19595,
16,
374,
16,
374,
16,
374,
1769,
3639,
289,
3095,
288,
5411,
30940,
18,
2251,
4150,
5621,
3639,
289,
3639,
21481,
12,
2704,
3421,
5554,
12443,
17947,
2040,
13,
2730,
18,
588,
55,
12825,
1442,
12,
21394,
576,
5026,
16,
11631,
16,
12362,
18,
19378,
67,
55,
5980,
18307,
3719,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
23999,
261,
474,
8526,
16910,
13,
565,
288,
3639,
6577,
3187,
276,
5569,
273,
389,
5900,
18,
588,
23999,
5653,
7675,
3922,
23999,
12,
19660,
1769,
3639,
4382,
15162,
10073,
31,
3639,
775,
288,
5411,
10073,
273,
389,
5900,
18,
588,
7069,
1318,
7675,
588,
1803,
15162,
12,
4315,
742,
16,
315,
1886,
8863,
3639,
289,
1044,
261,
503,
425,
13,
288,
5411,
613,
18,
1330,
12,
2355,
18,
9511,
16,
315,
3370,
358,
1262,
1301,
7793,
315,
397,
10792,
5158,
4315,
742,
1546,
397,
276,
5569,
397,
9850,
1199,
16,
425,
1769,
5411,
327,
31,
3639,
289,
3639,
5991,
3219,
2040,
14749,
77,
273,
10073,
18,
588,
15162,
12,
20,
1769,
3639,
12362,
1316,
2
] |
public int getPercentUsed() { return percentUsed; }
|
public int getPercentUsed() throws IOException { doDF(); return percentUsed; }
|
public int getPercentUsed() { return percentUsed; }
|
50370 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50370/fa8ed1c0ee625b2f259787749309594d6792971c/DF.java/clean/src/java/org/apache/hadoop/fs/DF.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
22612,
2998,
6668,
1435,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
22612,
2998,
6668,
1435,
288,
327,
5551,
6668,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
CDebugUtils.error( e1.getStatus(), CDebugTarget.this );
|
failed( CoreModelMessages.getString( "CDebugTarget.4" ), e1 );
|
public void suspend() throws DebugException { if ( !canSuspend() ) return; final CDebugElementState oldState = getState(); setState( CDebugElementState.SUSPENDING ); DebugPlugin.getDefault().asyncExec( new Runnable() { public void run() { try { getCDITarget().suspend(); } catch( CDIException e ) { setState( oldState ); try { targetRequestFailed( e.getMessage(), e ); } catch( DebugException e1 ) { CDebugUtils.error( e1.getStatus(), CDebugTarget.this ); } } } } ); }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/28b6334ebe9d80ffd8955d6fcc63107f6e6ce125/CDebugTarget.java/buggy/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CDebugTarget.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
20413,
1435,
1216,
4015,
503,
288,
202,
202,
430,
261,
401,
4169,
55,
18815,
1435,
262,
1082,
202,
2463,
31,
202,
202,
6385,
385,
2829,
1046,
1119,
26440,
273,
8997,
5621,
202,
202,
542,
1119,
12,
385,
2829,
1046,
1119,
18,
6639,
3118,
12280,
11272,
202,
202,
2829,
3773,
18,
588,
1868,
7675,
3810,
1905,
12,
394,
10254,
1435,
288,
1082,
202,
482,
918,
1086,
1435,
288,
9506,
202,
698,
288,
6862,
202,
588,
10160,
1285,
826,
7675,
87,
18815,
5621,
9506,
202,
97,
9506,
202,
14683,
12,
385,
2565,
503,
425,
262,
288,
6862,
202,
542,
1119,
12,
26440,
11272,
6862,
202,
698,
288,
25083,
202,
3299,
691,
2925,
12,
425,
18,
24906,
9334,
425,
11272,
6862,
202,
97,
6862,
202,
14683,
12,
4015,
503,
425,
21,
262,
288,
25083,
202,
39,
2829,
1989,
18,
1636,
12,
425,
21,
18,
588,
1482,
9334,
385,
2829,
2326,
18,
2211,
11272,
6862,
202,
97,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
11272,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
430,
261,
401,
4169,
55,
18815,
1435,
262,
1082,
202,
2463,
31,
202,
202,
6385,
385,
2829,
1046,
1119,
26440,
273,
8997,
5621,
202,
202,
542,
1119,
12,
385,
2829,
1046,
1119,
18,
6639,
3118,
12280,
11272,
202,
202,
2829,
3773,
18,
588,
1868,
7675,
3810,
1905,
12,
394,
10254,
1435,
288,
1082,
202,
482,
918,
1086,
1435,
288,
9506,
202,
698,
288,
6862,
202,
588,
10160,
1285,
826,
7675,
87,
18815,
5621,
9506,
202,
97,
9506,
202,
14683,
12,
385,
2565,
503,
425,
262,
288,
6862,
202,
542,
1119,
12,
26440,
11272,
6862,
202,
698,
288,
25083,
202,
3299,
691,
2925,
12,
425,
18,
24906,
9334,
2
] |
public org.quickfix.field.NotifyBrokerOfCredit getNotifyBrokerOfCredit() throws FieldNotFound { org.quickfix.field.NotifyBrokerOfCredit value = new org.quickfix.field.NotifyBrokerOfCredit();
|
public quickfix.field.NotifyBrokerOfCredit getNotifyBrokerOfCredit() throws FieldNotFound { quickfix.field.NotifyBrokerOfCredit value = new quickfix.field.NotifyBrokerOfCredit();
|
public org.quickfix.field.NotifyBrokerOfCredit getNotifyBrokerOfCredit() throws FieldNotFound { org.quickfix.field.NotifyBrokerOfCredit value = new org.quickfix.field.NotifyBrokerOfCredit(); getField(value); return value; }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/Allocation.java/clean/src/java/src/quickfix/fix41/Allocation.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
9168,
11194,
951,
16520,
336,
9168,
11194,
951,
16520,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
9168,
11194,
951,
16520,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
9168,
11194,
951,
16520,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
9168,
11194,
951,
16520,
336,
9168,
11194,
951,
16520,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
9168,
11194,
951,
16520,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
9168,
11194,
951,
16520,
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
] |
doModifyDistributionList(args);
|
mProv.modifyAttrs(lookupDistributionList(args[1]), getMap(args, 2), true);
|
private boolean execute(String args[]) throws ServiceException, ArgException, IOException { mCommand = lookupCommand(args[0]); if (mCommand == null) return false; switch(mCommand) { case ADD_ACCOUNT_ALIAS: doAddAccountAlias(args); break; case AUTO_COMPLETE_GAL: doAutoCompleteGal(args); break; case CREATE_ACCOUNT: doCreateAccount(args); break; case CREATE_COS: doCreateCos(args); break; case CREATE_DOMAIN: doCreateDomain(args); break; case CREATE_SERVER: doCreateServer(args); break; case EXIT: System.exit(0); break; case GENERATE_DOMAIN_PRE_AUTH_KEY: doGenerateDomainPreAuthKey(args); break; case GENERATE_DOMAIN_PRE_AUTH: doGenerateDomainPreAuth(args); break; case GET_ACCOUNT: doGetAccount(args); break; case GET_ACCOUNT_MEMBERSHIP: doGetAccountMembership(args); break; case GET_ALL_ACCOUNTS: doGetAllAccounts(args); break; case GET_ALL_ADMIN_ACCOUNTS: doGetAllAdminAccounts(args); break; case GET_ALL_CONFIG: doGetAllConfig(args); break; case GET_ALL_COS: doGetAllCos(args); break; case GET_ALL_DOMAINS: doGetAllDomains(args); break; case GET_ALL_SERVERS: doGetAllServers(args); break; case GET_CONFIG: doGetConfig(args); break; case GET_COS: doGetCos(args); break; case GET_DISTRIBUTION_LIST_MEMBERSHIP: doGetDistributionListMembership(args); break; case GET_DOMAIN: doGetDomain(args); break; case GET_SERVER: doGetServer(args); break; case HELP: doHelp(args); break; case MODIFY_ACCOUNT: doModifyAccount(args); break; case MODIFY_COS: doModifyCos(args); break; case MODIFY_CONFIG: doModifyConfig(args); break; case MODIFY_DOMAIN: doModifyDomain(args); break; case MODIFY_SERVER: doModifyServer(args); break; case DELETE_ACCOUNT: doDeleteAccount(args); break; case DELETE_COS: doDeleteCos(args); break; case DELETE_DOMAIN: doDeleteDomain(args); break; case DELETE_SERVER: doDeleteServer(args); break; case REMOVE_ACCOUNT_ALIAS: doRemoveAccountAlias(args); break; case RENAME_ACCOUNT: doRenameAccount(args); break; case RENAME_COS: doRenameCos(args); break; case SET_ACCOUNT_COS: doSetAccountCos(args); break; case SEARCH_ACCOUNTS: doSearchAccounts(args); break; case SEARCH_GAL: doSearchGal(args); break; case SYNC_GAL: doSyncGal(args); break; case SET_PASSWORD: doSetPassword(args); break; case CREATE_DISTRIBUTION_LIST: doCreateDistributionList(args); break; case CREATE_DISTRIBUTION_LISTS_BULK: doCreateDistributionListsBulk(args); break; case GET_ALL_DISTRIBUTION_LISTS: doGetAllDistributionLists(args); break; case GET_DISTRIBUTION_LIST: doGetDistributionList(args); break; case MODIFY_DISTRIBUTION_LIST: doModifyDistributionList(args); break; case DELETE_DISTRIBUTION_LIST: doDeleteDistributionList(args); break; case ADD_DISTRIBUTION_LIST_MEMBER: doAddDistributionListMember(args); break; case REMOVE_DISTRIBUTION_LIST_MEMBER: doRemoveDistributionListMember(args); break; case CREATE_BULK_ACCOUNTS: doCreateAccountsBulk(args); break; case ADD_DISTRIBUTION_LIST_ALIAS: doAddDistributionListAlias(args); break; case REMOVE_DISTRIBUTION_LIST_ALIAS: doRemoveDistributionListAlias(args); break; case RENAME_DISTRIBUTION_LIST: doRenameDistributionList(args); break; case CREATE_CALENDAR_RESOURCE: doCreateCalendarResource(args); break; case DELETE_CALENDAR_RESOURCE: doDeleteCalendarResource(args); break; case MODIFY_CALENDAR_RESOURCE: doModifyCalendarResource(args); break; case RENAME_CALENDAR_RESOURCE: doRenameCalendarResource(args); break; case GET_CALENDAR_RESOURCE: doGetCalendarResource(args); break; case GET_ALL_CALENDAR_RESOURCES: doGetAllCalendarResources(args); break; case SEARCH_CALENDAR_RESOURCES: doSearchCalendarResources(args); break; case INIT_NOTEBOOK: importNotebook(args, true); break; case IMPORT_NOTEBOOK: importNotebook(args, false); break; case SOAP: // HACK FOR NOW SoapProvisioning sp = new SoapProvisioning(); sp.soapSetURI("https://localhost:7071"+ZimbraServlet.ADMIN_SERVICE_URI); sp.soapZimbraAdminAuthenticate(); mProv = sp; break; case LDAP: // HACK FOR NOW mProv = Provisioning.getInstance(); break; default: return false; } return true; }
|
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/9c508145dbd57cc91e6cd9ddad783a1ae1bf751d/ProvUtil.java/buggy/ZimbraServer/src/java/com/zimbra/cs/account/ProvUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
1836,
12,
780,
833,
63,
5717,
1216,
16489,
16,
14448,
503,
16,
1860,
288,
3639,
312,
2189,
273,
3689,
2189,
12,
1968,
63,
20,
19226,
7734,
309,
261,
81,
2189,
422,
446,
13,
5411,
327,
629,
31,
7734,
1620,
12,
81,
2189,
13,
288,
3639,
648,
11689,
67,
21690,
67,
23784,
30,
5411,
741,
986,
3032,
2936,
12,
1968,
1769,
2398,
898,
31,
3639,
648,
17191,
67,
15795,
67,
43,
1013,
30,
5411,
741,
4965,
6322,
43,
287,
12,
1968,
1769,
2398,
898,
31,
10792,
648,
13278,
67,
21690,
30,
5411,
741,
1684,
3032,
12,
1968,
1769,
2398,
898,
31,
27573,
648,
13278,
67,
3865,
55,
30,
5411,
741,
1684,
39,
538,
12,
1968,
1769,
5411,
898,
31,
7734,
648,
13278,
67,
18192,
30,
5411,
741,
1684,
3748,
12,
1968,
1769,
5411,
898,
31,
3639,
648,
13278,
67,
4370,
30,
5411,
741,
1684,
2081,
12,
1968,
1769,
5411,
898,
31,
10792,
648,
28407,
30,
5411,
2332,
18,
8593,
12,
20,
1769,
5411,
898,
31,
3639,
648,
13679,
1777,
67,
18192,
67,
3670,
67,
7131,
67,
3297,
30,
5411,
741,
4625,
3748,
1386,
1730,
653,
12,
1968,
1769,
5411,
898,
31,
3639,
648,
13679,
1777,
67,
18192,
67,
3670,
67,
7131,
30,
5411,
741,
4625,
3748,
1386,
1730,
12,
1968,
1769,
5411,
898,
31,
10792,
648,
4978,
67,
21690,
30,
5411,
23611,
3032,
12,
1968,
1769,
2398,
898,
31,
3639,
648,
4978,
67,
21690,
67,
19630,
20101,
30,
5411,
23611,
3032,
13447,
12,
1968,
1769,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
1836,
12,
780,
833,
63,
5717,
1216,
16489,
16,
14448,
503,
16,
1860,
288,
3639,
312,
2189,
273,
3689,
2189,
12,
1968,
63,
20,
19226,
7734,
309,
261,
81,
2189,
422,
446,
13,
5411,
327,
629,
31,
7734,
1620,
12,
81,
2189,
13,
288,
3639,
648,
11689,
67,
21690,
67,
23784,
30,
5411,
741,
986,
3032,
2936,
12,
1968,
1769,
2398,
898,
31,
3639,
648,
17191,
67,
15795,
67,
43,
1013,
30,
5411,
741,
4965,
6322,
43,
287,
12,
1968,
1769,
2398,
898,
31,
10792,
648,
13278,
67,
21690,
30,
5411,
741,
1684,
3032,
12,
1968,
1769,
2398,
898,
31,
27573,
648,
13278,
67,
3865,
55,
30,
5411,
741,
1684,
39,
538,
12,
1968,
1769,
5411,
2
] |
protected void webConnectorRemoval(WebConnector connector) {
|
protected void webConnectorRemoval(WebConnector connector) {
|
protected void webConnectorRemoval(WebConnector connector) { }
|
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/322dc8fc66270e633f79cfd74ebcb21c5def0b49/AbstractWebContainer.java/clean/modules/web/src/java/org/apache/geronimo/web/AbstractWebContainer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
3311,
7487,
24543,
12,
4079,
7487,
8703,
13,
565,
288,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
3311,
7487,
24543,
12,
4079,
7487,
8703,
13,
565,
288,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
ignoreEscape = false;
|
ignoreEscape = true;
|
public ExtendedPatternRule(String startSequence, String endSequence, IToken token, char escapeCharacter, boolean breaksOnEOL, int noMaxChar, String rejectDelimWithFirstChar, String[] groupContent, boolean bracketMatch, int noMultipleEndTag, boolean requireEndTag, boolean CaseInSensitive, boolean isDynamicTagging, String countDelimterChars, String beforeTag, String afterTag, boolean requireBeforeWhitespace, boolean requireAfterWhitespace, String optinalModifiers, IWhitespaceDetector whiteSpace) { //the last parameter makes a default handling, //i.e. if the End-Tag is missing => mark till the end of File super (startSequence, endSequence, token, escapeCharacter, breaksOnEOL,true); this.isBracketMatch=bracketMatch; if (isBracketMatch) { if (endSequence.indexOf("}") >= 0) { closingBracket = '}'; openingBracket = '{'; }else if (endSequence.indexOf(")") >= 0) { closingBracket = ')'; openingBracket = '('; }else if (endSequence.indexOf("]") >= 0) { closingBracket = ']'; openingBracket = '['; }else if (endSequence.indexOf(">") >= 0) { closingBracket = '>'; openingBracket = '<'; } } this.groupContent = groupContent; if (groupContent == null) { isExistingGroup = false; } else { isExistingGroup = true; } this.requireEndTag = requireEndTag; this.noDynamicDelimiterChars = noMaxChar; isCaseInSensitive = CaseInSensitive; //TODO check if it really required, i.e. lowercase = uppercase dynamicEndTerminate = endSequence; this.isDynamicTagging = isDynamicTagging; if (isDynamicTagging) { isCaseInSensitive = false; //case-sensitive is nonsense with dynamic Tags } if (countDelimterChars.length() == 0) { ignoreDelimAsLetterOrDigit = false; rquDelimAsNonInteger = false; rquDelimNonEscape = false; transformEmptyDelimiter = false; acceptWhiteSpaceBefore = true; ignoreEscape = false; } else { //works if (countDelimterChars.indexOf(":NONINTEGER:") >= 0) { rquDelimAsNonInteger = true; } else { rquDelimAsNonInteger = false; } //should work if (countDelimterChars.indexOf(":NO_LETTER_OR_DIGITS:") >= 0) { ignoreDelimAsLetterOrDigit = true; } else { ignoreDelimAsLetterOrDigit = false; } //works if (countDelimterChars.indexOf(":ESCAPE_AND_DELIM_AS_ONE:") >= 0) { rquDelimNonEscape = true; ignoreEscape = false; } else { rquDelimNonEscape = false; ignoreEscape = false; } //works if (countDelimterChars.indexOf(":EMPTY_AS_LINEFEED:") >= 0) { transformEmptyDelimiter = true; } else { transformEmptyDelimiter = false; } //works if (countDelimterChars.indexOf(":NO_WHITESPACE_BEFORE_DELIM:") >= 0) { acceptWhiteSpaceBefore = false; } else { acceptWhiteSpaceBefore = true; } } this.requireBeforeTag = beforeTag; this.requireAfterTag = afterTag; this.requireBeforeWhitespace = requireBeforeWhitespace ; this.requireAfterWhitespace = requireAfterWhitespace; this.optinalModifiers = optinalModifiers; this.rejectDelimWithFirstChar = rejectDelimWithFirstChar; if (isCaseInSensitive) { //rewrite the values for caseInSensitive!!! fStartSequence= startSequence.toLowerCase().toCharArray(); fEndSequence= (endSequence == null ? new char[0] : endSequence.toLowerCase().toCharArray()); } this.noMultipleEndTag = noMultipleEndTag; if (noMultipleEndTag > 1 || isDynamicTagging) { isMultiple = true; } this.whiteSpace= whiteSpace; }
|
48756 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48756/6a72a5a6b98d78f1102ab0b65322da07b67e324f/ExtendedPatternRule.java/buggy/org.epic.ext.cbg.editor/src/cbg/editor/rules/ExtendedPatternRule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
14094,
3234,
2175,
12,
780,
787,
4021,
16,
514,
679,
4021,
16,
467,
1345,
1147,
16,
3196,
4202,
1149,
4114,
7069,
16,
1250,
16217,
1398,
5842,
16,
509,
1158,
2747,
2156,
16,
514,
4925,
21445,
1190,
3759,
2156,
16,
3196,
4202,
514,
8526,
1041,
1350,
16,
3196,
4202,
1250,
9843,
2060,
16,
509,
1158,
8438,
25633,
16,
1250,
2583,
25633,
16,
3196,
4202,
1250,
12605,
382,
14220,
16,
1250,
353,
9791,
1805,
1998,
16,
202,
4202,
514,
1056,
21445,
387,
7803,
16,
514,
1865,
1805,
16,
514,
1839,
1805,
16,
202,
4202,
1250,
225,
2583,
4649,
9431,
16,
1250,
2583,
4436,
9431,
16,
3196,
565,
202,
202,
780,
2153,
1490,
11948,
16,
202,
4202,
467,
9431,
12594,
9578,
3819,
13,
288,
202,
225,
368,
5787,
1142,
1569,
7297,
279,
805,
5057,
16,
3196,
225,
368,
77,
18,
73,
18,
309,
326,
4403,
17,
1805,
353,
3315,
516,
2267,
21364,
326,
679,
434,
1387,
202,
225,
2240,
261,
1937,
4021,
16,
679,
4021,
16,
1147,
16,
4114,
7069,
16,
16217,
1398,
5842,
16,
3767,
1769,
202,
21114,
202,
2211,
18,
291,
11450,
2060,
33,
21025,
2060,
31,
202,
202,
430,
261,
291,
11450,
2060,
13,
288,
1082,
225,
309,
261,
409,
4021,
18,
31806,
2932,
1532,
13,
1545,
374,
13,
288,
1082,
565,
7647,
11450,
273,
9571,
31,
1082,
565,
10890,
11450,
273,
9790,
31,
1082,
225,
289,
12107,
309,
261,
409,
4021,
18,
31806,
2932,
2225,
13,
1545,
374,
13,
288,
1082,
565,
7647,
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,
14094,
3234,
2175,
12,
780,
787,
4021,
16,
514,
679,
4021,
16,
467,
1345,
1147,
16,
3196,
4202,
1149,
4114,
7069,
16,
1250,
16217,
1398,
5842,
16,
509,
1158,
2747,
2156,
16,
514,
4925,
21445,
1190,
3759,
2156,
16,
3196,
4202,
514,
8526,
1041,
1350,
16,
3196,
4202,
1250,
9843,
2060,
16,
509,
1158,
8438,
25633,
16,
1250,
2583,
25633,
16,
3196,
4202,
1250,
12605,
382,
14220,
16,
1250,
353,
9791,
1805,
1998,
16,
202,
4202,
514,
1056,
21445,
387,
7803,
16,
514,
1865,
1805,
16,
514,
1839,
1805,
16,
202,
4202,
1250,
225,
2583,
4649,
9431,
16,
1250,
2583,
4436,
9431,
16,
3196,
565,
202,
202,
780,
2153,
1490,
11948,
16,
202,
4202,
467,
9431,
2
] |
jjCheckNAddStates(68, 70);
|
jjCheckNAddStates(62, 64);
|
private final int jjMoveNfa_1(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 36; 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 3: if ((0x3ff000000000000L & l) != 0L) { if (kind > 52) kind = 52; jjCheckNAdd(23); } else if ((0x100002600L & l) != 0L) { if (kind > 26) kind = 26; jjCheckNAdd(4); } else if (curChar == 36) { if (kind > 13) kind = 13; jjCheckNAddTwoStates(33, 34); } else if (curChar == 46) jjstateSet[jjnewStateCnt++] = 27; else if (curChar == 45) jjCheckNAdd(23); else if (curChar == 39) jjCheckNAddStates(68, 70); else if (curChar == 34) jjCheckNAddStates(71, 73); else if (curChar == 35) jjstateSet[jjnewStateCnt++] = 2; break; case 0: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 1; break; case 1: if ((0xfffffff7ffffffffL & l) != 0L && kind > 16) kind = 16; break; case 2: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 0; break; case 4: if ((0x100002600L & l) == 0L) break; if (kind > 26) kind = 26; jjCheckNAdd(4); break; case 5: if (curChar == 34) jjCheckNAddStates(71, 73); break; case 6: if ((0xfffffffbffffffffL & l) != 0L) jjCheckNAddStates(71, 73); break; case 7: if (curChar == 34 && kind > 27) kind = 27; break; case 9: if ((0x8400000000L & l) != 0L) jjCheckNAddStates(71, 73); break; case 10: if ((0xff000000000000L & l) != 0L) jjCheckNAddStates(74, 77); break; case 11: if ((0xff000000000000L & l) != 0L) jjCheckNAddStates(71, 73); break; case 12: if ((0xf000000000000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 13; break; case 13: if ((0xff000000000000L & l) != 0L) jjCheckNAdd(11); break; case 14: if (curChar == 32) jjAddStates(78, 79); break; case 15: if (curChar == 10) jjCheckNAddStates(71, 73); break; case 16: if (curChar == 39) jjCheckNAddStates(68, 70); break; case 17: if ((0xffffff7fffffffffL & l) != 0L) jjCheckNAddStates(68, 70); break; case 19: if (curChar == 32) jjAddStates(13, 14); break; case 20: if (curChar == 10) jjCheckNAddStates(68, 70); break; case 21: if (curChar == 39 && kind > 27) kind = 27; break; case 22: if (curChar == 45) jjCheckNAdd(23); break; case 23: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 52) kind = 52; jjCheckNAdd(23); break; case 25: if ((0x3ff200000000000L & l) == 0L) break; if (kind > 59) kind = 59; jjstateSet[jjnewStateCnt++] = 25; break; case 26: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 27; break; case 30: if (curChar == 36 && kind > 13) kind = 13; break; case 32: if (curChar == 36) jjCheckNAddTwoStates(33, 34); break; case 34: if (curChar == 33 && kind > 14) kind = 14; break; case 35: if (curChar != 36) break; if (kind > 13) kind = 13; jjCheckNAddTwoStates(33, 34); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 3: if ((0x7fffffe87fffffeL & l) != 0L) { if (kind > 59) kind = 59; jjCheckNAdd(25); } else if (curChar == 92) jjCheckNAddStates(80, 83); break; case 1: if (kind > 16) kind = 16; break; case 6: if ((0xffffffffefffffffL & l) != 0L) jjCheckNAddStates(71, 73); break; case 8: if (curChar == 92) jjAddStates(84, 88); break; case 9: if ((0x14404410000000L & l) != 0L) jjCheckNAddStates(71, 73); break; case 17: jjAddStates(68, 70); break; case 18: if (curChar == 92) jjAddStates(13, 14); break; case 24: case 25: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 59) kind = 59; jjCheckNAdd(25); break; case 27: if ((0x7fffffe07fffffeL & l) != 0L && kind > 60) kind = 60; break; case 28: if (curChar == 92) jjCheckNAddStates(80, 83); break; case 29: if (curChar == 92) jjCheckNAddTwoStates(29, 30); break; case 31: if (curChar == 92) jjCheckNAddTwoStates(31, 32); break; case 33: if (curChar == 92) jjAddStates(89, 90); break; default : break; } } while(i != startsAt); } else { int hiByte = (int)(curChar >> 8); int i1 = hiByte >> 6; long l1 = 1L << (hiByte & 077); int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 1: if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 16) kind = 16; break; case 6: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(71, 73); break; case 17: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(68, 70); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 36 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
|
9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/89173502837b4d67a69cd30d0b93cf47ed84c8cc/ParserTokenManager.java/clean/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,
6580,
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,
890,
30,
5375,
309,
14015,
20,
92,
23,
1403,
12648,
2787,
48,
473,
328,
13,
480,
374,
48,
13,
5375,
288,
5397,
309,
261,
9224,
405,
18106,
13,
13491,
3846,
273,
18106,
31,
5397,
10684,
1564,
50,
986,
12,
4366,
1769,
5375,
289,
5375,
469,
309,
14015,
20,
92,
23899,
5558,
713,
48,
473,
328,
13,
480,
374,
48,
13,
5375,
288,
5397,
309,
261,
9224,
405,
10659,
13,
13491,
3846,
273,
10659,
31,
5397,
10684,
1564,
50,
986,
12,
24,
1769,
5375,
289,
5375,
469,
309,
261,
1397,
2156,
422,
6580,
13,
5375,
288,
5397,
309,
261,
9224,
405,
5958,
13,
13491,
3846,
273,
5958,
31,
5397,
10684,
1564,
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,
6580,
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
] |
{
|
{
|
public int write (ByteBuffer src) throws IOException { int w = 0; if (buf == null) { throw new EOFException ("file not mapped"); } while (src.hasRemaining ()) { buf.put (src.get ()); w++; } return w; }
|
27835 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27835/8cef25e737d97238751152631de70237a2aabaa4/FileChannelImpl.java/buggy/libjava/gnu/java/nio/FileChannelImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
1045,
261,
12242,
1705,
13,
1216,
1860,
225,
288,
565,
509,
341,
273,
374,
31,
565,
309,
261,
4385,
422,
446,
13,
202,
565,
288,
3639,
604,
394,
30051,
7566,
768,
486,
5525,
8863,
202,
565,
289,
565,
1323,
261,
4816,
18,
5332,
11429,
1832,
13,
202,
565,
288,
3639,
1681,
18,
458,
261,
4816,
18,
588,
1832,
1769,
3639,
341,
9904,
31,
202,
565,
289,
565,
327,
341,
31,
225,
289,
2,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
1045,
261,
12242,
1705,
13,
1216,
1860,
225,
288,
565,
509,
341,
273,
374,
31,
565,
309,
261,
4385,
422,
446,
13,
202,
565,
288,
3639,
604,
394,
30051,
7566,
768,
486,
5525,
8863,
202,
565,
289,
565,
1323,
261,
4816,
18,
5332,
11429,
1832,
13,
202,
565,
288,
3639,
1681,
18,
458,
261,
4816,
18,
588,
1832,
1769,
3639,
341,
9904,
31,
202,
565,
289,
565,
327,
341,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public void setExtensionProperty(String name, String value) { dataSet.setExtensionProperty( name, value );
|
public void setExtensionProperty(String name, String value) { dataSet.setExtensionProperty(name, value);
|
public void setExtensionProperty(String name, String value) { dataSet.setExtensionProperty( name, value ); }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/1f65f0b94ecbb94bb9445ab80ed750dc00b51917/DataSetInstance.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/instance/DataSetInstance.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
3625,
1396,
12,
780,
508,
16,
514,
460,
13,
202,
95,
202,
202,
892,
694,
18,
542,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
3625,
1396,
12,
780,
508,
16,
514,
460,
13,
202,
95,
202,
202,
892,
694,
18,
542,
3625,
1396,
12,
508,
16,
460,
11272,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
StaticEntity.getClient().processResult( new AdventureResult( itemID, 0 - quantity ) );
|
StaticEntity.getClient().processResult( new AdventureResult( itemId, 0 - quantity ) );
|
public static boolean processRequest( String urlString ) { // First, delegate subclasses, if it's a subclass request. if ( urlString.indexOf( "starchart.php" ) != -1 ) return StarChartRequest.processRequest( urlString ); if ( urlString.indexOf( "action=makepixel" ) != -1 ) return PixelRequest.processRequest( urlString ); if ( urlString.indexOf( "action=tinksomething" ) != -1 ) return TinkerRequest.processRequest( urlString ); if ( urlString.indexOf( "action=makepaste" ) != -1 ) return CombineMeatRequest.processRequest( urlString ); // Now that we know it's not a special subclass instance, // all we do is parse out the ingredients which were used // and then print the attempt to the screen. boolean usesTurns = false; boolean isCreationURL = false; StringBuffer command = new StringBuffer(); Matcher itemMatcher = ITEMID_PATTERN.matcher( urlString ); Matcher quantityMatcher = QUANTITY_PATTERN.matcher( urlString ); if ( urlString.indexOf( "combine.php" ) != -1 ) { isCreationURL = true; command.append( "Combine " ); } else if ( urlString.indexOf( "cocktail.php" ) != -1 ) { isCreationURL = true; command.append( "Mix " ); usesTurns = !KoLCharacter.hasBartender(); } else if ( urlString.indexOf( "cook.php" ) != -1 ) { isCreationURL = true; command.append( "Cook " ); usesTurns = !KoLCharacter.hasChef(); } else if ( urlString.indexOf( "smith.php" ) != -1 ) { isCreationURL = urlString.indexOf( "action=pulverize" ) == -1; command.append( "Smith " ); usesTurns = urlString.indexOf( "action=pulverize" ) == -1; } else if ( urlString.indexOf( "jewelry.php" ) != -1 ) { isCreationURL = true; command.append( "Ply " ); usesTurns = true; } else if ( urlString.indexOf( "action=stillbooze" ) != -1 || urlString.indexOf( "action=stillfruit" ) != -1 ) { isCreationURL = true; command.append( "Distill " ); usesTurns = false; } else if ( urlString.indexOf( "action=wokcook" ) != -1 ) { isCreationURL = true; command.append( "Wok " ); usesTurns = true; } else if ( urlString.indexOf( "action=malussmash" ) != -1 ) { isCreationURL = true; command.append( "Pulverize " ); usesTurns = false; } if ( !isCreationURL ) return false; boolean needsPlus = false; int quantity = quantityMatcher.find() ? StaticEntity.parseInt( quantityMatcher.group(1) ) : 1; while ( isCreationURL && itemMatcher.find() ) { if ( needsPlus ) command.append( " + " ); int itemID = StaticEntity.parseInt( itemMatcher.group(1) ); command.append( quantity ); command.append( ' ' ); command.append( TradeableItemDatabase.getItemName( itemID ) ); StaticEntity.getClient().processResult( new AdventureResult( itemID, 0 - quantity ) ); needsPlus = true; } if ( urlString.indexOf( "combine.php" ) != -1 ) StaticEntity.getClient().processResult( new AdventureResult( MEAT_PASTE, 0 - quantity ) ); if ( usesTurns ) command.insert( 0, "[" + KoLCharacter.getTotalTurnsUsed() + "] " ); KoLmafia.getSessionStream().println( command.toString() ); return true; }
|
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/db652071b06715a4456f702f081fbe5b47aa5a70/ItemCreationRequest.java/clean/src/net/sourceforge/kolmafia/ItemCreationRequest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1250,
1207,
691,
12,
514,
29374,
262,
202,
95,
202,
202,
759,
5783,
16,
7152,
15320,
16,
309,
518,
1807,
279,
10177,
590,
18,
202,
202,
430,
261,
29374,
18,
31806,
12,
315,
334,
991,
485,
18,
2684,
6,
262,
480,
300,
21,
262,
1082,
202,
2463,
934,
297,
7984,
691,
18,
2567,
691,
12,
29374,
11272,
202,
202,
430,
261,
29374,
18,
31806,
12,
315,
1128,
33,
81,
581,
881,
3556,
6,
262,
480,
300,
21,
262,
1082,
202,
2463,
26070,
691,
18,
2567,
691,
12,
29374,
11272,
202,
202,
430,
261,
29374,
18,
31806,
12,
315,
1128,
33,
88,
754,
30289,
6,
262,
480,
300,
21,
262,
1082,
202,
2463,
399,
754,
264,
691,
18,
2567,
691,
12,
29374,
11272,
202,
202,
430,
261,
29374,
18,
31806,
12,
315,
1128,
33,
81,
581,
881,
14725,
6,
262,
480,
300,
21,
262,
1082,
202,
2463,
23949,
4667,
270,
691,
18,
2567,
691,
12,
29374,
11272,
202,
202,
759,
4494,
716,
732,
5055,
518,
1807,
486,
279,
4582,
10177,
791,
16,
202,
202,
759,
777,
732,
741,
353,
1109,
596,
326,
12152,
1118,
5828,
1492,
4591,
1399,
202,
202,
759,
471,
1508,
1172,
326,
4395,
358,
326,
5518,
18,
202,
202,
6494,
4692,
31873,
273,
629,
31,
202,
202,
6494,
353,
9906,
1785,
273,
629,
31,
202,
202,
780,
1892,
1296,
273,
394,
6674,
5621,
202,
202,
6286,
761,
6286,
273,
25504,
734,
67,
10831,
18,
22761,
12,
29374,
11272,
202,
202,
6286,
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,
1250,
1207,
691,
12,
514,
29374,
262,
202,
95,
202,
202,
759,
5783,
16,
7152,
15320,
16,
309,
518,
1807,
279,
10177,
590,
18,
202,
202,
430,
261,
29374,
18,
31806,
12,
315,
334,
991,
485,
18,
2684,
6,
262,
480,
300,
21,
262,
1082,
202,
2463,
934,
297,
7984,
691,
18,
2567,
691,
12,
29374,
11272,
202,
202,
430,
261,
29374,
18,
31806,
12,
315,
1128,
33,
81,
581,
881,
3556,
6,
262,
480,
300,
21,
262,
1082,
202,
2463,
26070,
691,
18,
2567,
691,
12,
29374,
11272,
202,
202,
430,
261,
29374,
18,
31806,
12,
315,
1128,
33,
88,
754,
30289,
6,
262,
480,
300,
21,
262,
1082,
202,
2463,
399,
754,
264,
2
] |
private void genConcat(String typeName) { String decl = typeName + " " + prefix + "concat" + typeName + "(" + typeName + " arg0, " + typeName + " arg1)";
|
private void genConcat(String typeId, String typeName) { String decl = typeName + " " + prefix + "concat" + typeId + "(" + typeName + " arg0, " + typeName + " arg1)";
|
private void genConcat(String typeName) { String decl = typeName + " " + prefix + "concat" + typeName + "(" + typeName + " arg0, " + typeName + " arg1)"; hprintln(decl + ";"); println(decl + " {"); println(" return (" + typeName + ") ATconcat((ATermList) arg0, (ATermList) arg1);"); println("}"); }
|
3664 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3664/d20d05536ebcf61c8c082073d1885d0fe9736ee5/APIGenerator.java/buggy/apigen/src/apigen/gen/c/APIGenerator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3157,
15113,
12,
780,
8173,
13,
288,
202,
282,
514,
3496,
273,
8173,
397,
315,
315,
397,
1633,
397,
315,
16426,
6,
397,
8173,
397,
12452,
397,
8173,
397,
315,
1501,
20,
16,
315,
397,
8173,
397,
315,
1501,
21,
2225,
31,
202,
282,
366,
8222,
12,
8840,
397,
11430,
1769,
202,
282,
3785,
12,
8840,
397,
315,
288,
8863,
202,
282,
3785,
2932,
225,
327,
7566,
397,
8173,
397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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3157,
15113,
12,
780,
8173,
13,
288,
202,
282,
514,
3496,
273,
8173,
397,
315,
315,
397,
1633,
397,
315,
16426,
6,
397,
8173,
397,
12452,
397,
8173,
397,
315,
1501,
20,
16,
315,
397,
8173,
397,
315,
1501,
21,
2225,
31,
202,
282,
366,
8222,
12,
8840,
397,
11430,
1769,
202,
282,
3785,
12,
8840,
397,
315,
288,
8863,
202,
282,
3785,
2932,
225,
327,
7566,
397,
8173,
397,
9369,
14464,
16426,
12443,
789,
1035,
682,
13,
1501,
20,
16,
261,
789,
1035,
682,
13,
1501,
21,
1769,
8863,
202,
282,
3785,
2932,
1532,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
rule.setProperty( HighlightRule.COLOR_MEMBER, new Integer( colorValue ) );
|
rule.setProperty( HighlightRule.COLOR_MEMBER, new Integer( colorValue ) );
|
protected void okPressed( ) { try { String familyValue = getRawFontFamily( ); String sizeValue = getRawFontSize( ); int colorValue = DEUtil.getRGBInt( color.getRGB( ) ); int backColorValue = DEUtil.getRGBInt( backColor.getRGB( ) ); String italicValue = italic.getSelection( ) ? DesignChoiceConstants.FONT_STYLE_ITALIC : DesignChoiceConstants.FONT_STYLE_NORMAL; String weightValue = bold.getSelection( ) ? DesignChoiceConstants.FONT_WEIGHT_BOLD : DesignChoiceConstants.FONT_WEIGHT_NORMAL; String underlineValue = underline.getSelection( ) ? DesignChoiceConstants.TEXT_UNDERLINE_UNDERLINE : DesignChoiceConstants.TEXT_UNDERLINE_NONE; String lingthroughValue = linethrough.getSelection( ) ? DesignChoiceConstants.TEXT_LINE_THROUGH_LINE_THROUGH : DesignChoiceConstants.TEXT_LINE_THROUGH_NONE; // provider.setTestExpression( DEUtil.resolveNull( // expression.getText( ) ) ); if ( handle == null ) { HighlightRule rule = StructureFactory.createHighlightRule( ); rule.setProperty( HighlightRule.OPERATOR_MEMBER, DEUtil.resolveNull( getValueForOperator( operator.getText( ) ) ) ); rule.setProperty( HighlightRule.VALUE1_MEMBER, DEUtil.resolveNull( value1.getText( ) ) ); rule.setProperty( HighlightRule.VALUE2_MEMBER, DEUtil.resolveNull( value2.getText( ) ) ); /** * Sets our necessary style properties. */ if ( color.getRGB( ) != null ) { rule.setProperty( HighlightRule.COLOR_MEMBER, new Integer( colorValue ) ); } if ( backColor.getRGB( ) != null ) { rule.setProperty( HighlightRule.BACKGROUND_COLOR_MEMBER, new Integer( backColorValue ) ); } if ( familyValue != null ) { rule.setProperty( HighlightRule.FONT_FAMILY_MEMBER, familyValue ); } if ( sizeValue != null ) { rule.setProperty( HighlightRule.FONT_SIZE_MEMBER, sizeValue ); } if ( isItalicChanged ) { rule.setProperty( HighlightRule.FONT_STYLE_MEMBER, italicValue ); } if ( isBoldChanged ) { rule.setProperty( HighlightRule.FONT_WEIGHT_MEMBER, weightValue ); } if ( isLinethroughChanged ) { rule.setProperty( HighlightRule.TEXT_LINE_THROUGH_MEMBER, lingthroughValue ); } if ( isUnderlineChanged ) { rule.setProperty( HighlightRule.TEXT_UNDERLINE_MEMBER, underlineValue ); } // set test expression into highlight rule. rule.setTestExpression( DEUtil.resolveNull( expression.getText( ) ) ); handle = provider.doAddItem( rule, handleCount ); } else { handle.setOperator( DEUtil.resolveNull( getValueForOperator( operator.getText( ) ) ) ); handle.setValue1( DEUtil.resolveNull( value1.getText( ) ) ); if ( handle.getOperator( ) .equals( DesignChoiceConstants.MAP_OPERATOR_BETWEEN ) || handle.getOperator( ) .equals( DesignChoiceConstants.MAP_OPERATOR_NOT_BETWEEN ) ) { handle.setValue2( DEUtil.resolveNull( value2.getText( ) ) ); } handle.getFontFamilyHandle( ) .setStringValue( DEUtil.resolveNull( familyValue ) ); handle.getFontSize( ) .setStringValue( DEUtil.resolveNull( sizeValue ) ); if ( color.getRGB( ) != null ) { handle.getColor( ).setRGB( colorValue ); } else { handle.getColor( ).setValue( null ); } if ( backColor.getRGB( ) != null ) { handle.getBackgroundColor( ).setRGB( backColorValue ); } else { handle.getBackgroundColor( ).setValue( null ); } if ( isItalicChanged ) { handle.setFontStyle( italicValue ); } if ( isBoldChanged ) { handle.setFontWeight( weightValue ); } if ( isUnderlineChanged ) { handle.setTextUnderline( underlineValue ); } if ( isLinethroughChanged ) { handle.setTextLineThrough( lingthroughValue ); } // set test expression into highlight rule. handle.setTestExpression( DEUtil.resolveNull( expression.getText( ) ) ); } } catch ( Exception e ) { WidgetUtil.processError( getShell( ), e ); } super.okPressed( ); }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/e2b6eafcb11806e8cec2333182f81de479004998/HighlightRuleBuilder.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HighlightRuleBuilder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1529,
24624,
12,
262,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
780,
6755,
620,
273,
10547,
5711,
9203,
12,
11272,
1082,
202,
780,
963,
620,
273,
10547,
22688,
12,
11272,
1082,
202,
474,
2036,
620,
273,
2030,
1304,
18,
588,
11343,
1702,
12,
2036,
18,
588,
11343,
12,
262,
11272,
1082,
202,
474,
1473,
2957,
620,
273,
2030,
1304,
18,
588,
11343,
1702,
12,
1473,
2957,
18,
588,
11343,
12,
262,
11272,
1082,
202,
780,
31709,
620,
273,
31709,
18,
588,
6233,
12,
262,
692,
29703,
10538,
2918,
18,
25221,
67,
15066,
67,
1285,
1013,
2871,
6862,
202,
30,
29703,
10538,
2918,
18,
25221,
67,
15066,
67,
15480,
31,
1082,
202,
780,
3119,
620,
273,
13068,
18,
588,
6233,
12,
262,
692,
29703,
10538,
2918,
18,
25221,
67,
29988,
67,
38,
11846,
6862,
202,
30,
29703,
10538,
2918,
18,
25221,
67,
29988,
67,
15480,
31,
1082,
202,
780,
25985,
620,
273,
25985,
18,
588,
6233,
12,
262,
692,
29703,
10538,
2918,
18,
5151,
67,
31625,
5997,
67,
31625,
5997,
6862,
202,
30,
29703,
10538,
2918,
18,
5151,
67,
31625,
5997,
67,
9826,
31,
1082,
202,
780,
328,
310,
10064,
620,
273,
4739,
546,
2642,
18,
588,
6233,
12,
262,
692,
29703,
10538,
2918,
18,
5151,
67,
5997,
67,
2455,
1457,
57,
16715,
67,
5997,
67,
2455,
1457,
57,
16715,
6862,
202,
30,
29703,
10538,
2918,
18,
5151,
67,
5997,
67,
2455,
1457,
57,
16715,
67,
9826,
31,
1082,
202,
759,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1529,
24624,
12,
262,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
780,
6755,
620,
273,
10547,
5711,
9203,
12,
11272,
1082,
202,
780,
963,
620,
273,
10547,
22688,
12,
11272,
1082,
202,
474,
2036,
620,
273,
2030,
1304,
18,
588,
11343,
1702,
12,
2036,
18,
588,
11343,
12,
262,
11272,
1082,
202,
474,
1473,
2957,
620,
273,
2030,
1304,
18,
588,
11343,
1702,
12,
1473,
2957,
18,
588,
11343,
12,
262,
11272,
1082,
202,
780,
31709,
620,
273,
31709,
18,
588,
6233,
12,
262,
692,
29703,
10538,
2918,
18,
25221,
67,
15066,
67,
1285,
1013,
2871,
6862,
202,
30,
29703,
10538,
2918,
18,
25221,
67,
15066,
67,
15480,
31,
1082,
202,
780,
2
] |
this(parent, id, (IModel)null, type);
|
this(parent, id, (IModel<T>)null);
|
public AutoCompleteTextField(MarkupContainer parent, String id, Class type) { this(parent, id, (IModel)null, type); }
|
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/16ffd3a5c25047e43afdef2542e8e2c59c0d6f42/AutoCompleteTextField.java/buggy/wicket-extensions/src/java/wicket/extensions/ajax/markup/html/autocomplete/AutoCompleteTextField.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,
225,
202,
482,
8064,
6322,
16157,
12,
13111,
2170,
982,
16,
514,
612,
16,
1659,
618,
13,
202,
95,
202,
202,
2211,
12,
2938,
16,
612,
16,
261,
45,
1488,
13,
2011,
16,
618,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
BufferedReader inbound = null; BufferedOutputStream outbound = null;
|
InputStream inbound = client.getInputStream(); OutputStream outbound = client.getOutputStream();
|
public void serviceClient(Socket client) throws IllegalArgumentException, IOException { // Check argument MandatoryArgumentChecker.check("client", client); BufferedReader inbound = null; BufferedOutputStream outbound = null; try { // Acquire the streams for IO/* TODO inbound = new BufferedReader(new InputStreamReader(client.getInputStream())); outbound = new BufferedOutputStream(client.getOutputStream()); httpQuery(inbound, outbound);*/ httpQuery(client.getInputStream(), client.getOutputStream()); } finally{ // Clean up if (inbound != null) { try { inbound.close(); } catch (Throwable exception) { // ignore } } if (outbound != null) { try { outbound.close(); } catch (Throwable exception) { // ignore } } } }
|
45757 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45757/d4ac72dd47bc809cfde567471e5967b8059dc162/HTTPServletHandler.java/buggy/src/java-common/org/xins/common/servlet/container/HTTPServletHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1156,
1227,
12,
4534,
1004,
13,
282,
1216,
2754,
16,
1860,
288,
1377,
368,
2073,
1237,
1377,
490,
10018,
1379,
8847,
18,
1893,
2932,
2625,
3113,
1004,
1769,
1377,
10633,
4202,
13357,
225,
273,
446,
31,
1377,
28649,
11663,
273,
446,
31,
1377,
775,
288,
540,
368,
28822,
326,
8205,
364,
1665,
20308,
2660,
540,
13357,
225,
273,
394,
10633,
12,
2704,
15322,
12,
2625,
18,
588,
4348,
1435,
10019,
540,
11663,
273,
394,
28649,
12,
2625,
18,
588,
4632,
10663,
540,
1062,
1138,
12,
267,
3653,
16,
11663,
1769,
5549,
540,
1062,
1138,
12,
2625,
18,
588,
4348,
9334,
1004,
18,
588,
4632,
10663,
1377,
289,
3095,
95,
540,
368,
9645,
731,
540,
309,
261,
267,
3653,
480,
446,
13,
288,
5411,
775,
288,
9079,
13357,
18,
4412,
5621,
5411,
289,
1044,
261,
15155,
1520,
13,
288,
9079,
368,
2305,
5411,
289,
540,
289,
540,
309,
261,
659,
3653,
480,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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,
565,
1071,
918,
1156,
1227,
12,
4534,
1004,
13,
282,
1216,
2754,
16,
1860,
288,
1377,
368,
2073,
1237,
1377,
490,
10018,
1379,
8847,
18,
1893,
2932,
2625,
3113,
1004,
1769,
1377,
10633,
4202,
13357,
225,
273,
446,
31,
1377,
28649,
11663,
273,
446,
31,
1377,
775,
288,
540,
368,
28822,
326,
8205,
364,
1665,
20308,
2660,
540,
13357,
225,
273,
394,
10633,
12,
2704,
15322,
12,
2625,
18,
588,
4348,
1435,
10019,
540,
11663,
273,
394,
28649,
12,
2625,
18,
588,
4632,
10663,
540,
1062,
1138,
12,
267,
3653,
16,
11663,
1769,
5549,
540,
1062,
1138,
12,
2625,
18,
588,
4348,
9334,
1004,
18,
588,
4632,
10663,
1377,
289,
3095,
95,
540,
368,
9645,
731,
540,
309,
261,
2
] |
updateMetrics(); JTextComponent textComponent = (JTextComponent) getContainer(); g.setFont(textComponent.getFont()); selectedColor = textComponent.getSelectedTextColor(); unselectedColor = textComponent.getForeground(); disabledColor = textComponent.getDisabledTextColor(); selectedColor = Color.WHITE; Rectangle rect = s.getBounds(); int lineHeight = metrics.getHeight(); int end = getEndOffset(); int currStart = getStartOffset(); int currEnd; while (currStart < end) { currEnd = calculateBreakPosition(currStart, end); drawLine(currStart, currEnd, g, rect.x, rect.y); rect.y += lineHeight; if (currEnd == currStart) currStart ++; else currStart = currEnd; }
|
public void paint(Graphics g, Shape s) { // TODO Auto-generated method stub }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/74171de2560e91a8fc81940ffc40e047ca41f4a0/WrappedPlainView.java/buggy/core/src/classpath/javax/javax/swing/text/WrappedPlainView.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
1089,
5653,
5621,
804,
1528,
1841,
977,
1841,
273,
261,
46,
1528,
1841,
13,
9272,
5621,
225,
314,
18,
542,
5711,
12,
955,
1841,
18,
588,
5711,
10663,
3170,
2957,
273,
977,
1841,
18,
588,
7416,
31061,
5621,
640,
8109,
2957,
273,
977,
1841,
18,
588,
23206,
5621,
5673,
2957,
273,
977,
1841,
18,
588,
8853,
31061,
5621,
565,
3170,
2957,
273,
5563,
18,
16861,
31,
225,
13264,
4917,
273,
272,
18,
588,
5694,
5621,
509,
980,
2686,
273,
4309,
18,
588,
2686,
5621,
225,
509,
679,
273,
9968,
2335,
5621,
509,
4306,
1685,
273,
8635,
2335,
5621,
509,
4306,
1638,
31,
1323,
261,
17016,
1685,
411,
679,
13,
288,
4306,
1638,
273,
4604,
7634,
2555,
12,
17016,
1685,
16,
679,
1769,
30732,
12,
17016,
1685,
16,
4306,
1638,
16,
314,
16,
4917,
18,
92,
16,
4917,
18,
93,
1769,
4917,
18,
93,
1011,
980,
2686,
31,
309,
261,
17016,
1638,
422,
4306,
1685,
13,
4306,
1685,
965,
31,
469,
4306,
1685,
273,
4306,
1638,
31,
289,
225,
1089,
5653,
5621,
804,
1528,
1841,
977,
1841,
273,
261,
46,
1528,
1841,
13,
9272,
5621,
225,
314,
18,
542,
5711,
12,
955,
1841,
18,
588,
5711,
10663,
3170,
2957,
273,
977,
1841,
18,
588,
7416,
31061,
5621,
640,
8109,
2957,
273,
977,
1841,
18,
588,
23206,
5621,
5673,
2957,
273,
977,
1841,
18,
588,
8853,
31061,
5621,
565,
3170,
2957,
273,
5563,
18,
16861,
31,
225,
13264,
4917,
273,
272,
18,
588,
5694,
5621,
509,
980,
2686,
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,
1089,
5653,
5621,
804,
1528,
1841,
977,
1841,
273,
261,
46,
1528,
1841,
13,
9272,
5621,
225,
314,
18,
542,
5711,
12,
955,
1841,
18,
588,
5711,
10663,
3170,
2957,
273,
977,
1841,
18,
588,
7416,
31061,
5621,
640,
8109,
2957,
273,
977,
1841,
18,
588,
23206,
5621,
5673,
2957,
273,
977,
1841,
18,
588,
8853,
31061,
5621,
565,
3170,
2957,
273,
5563,
18,
16861,
31,
225,
13264,
4917,
273,
272,
18,
588,
5694,
5621,
509,
980,
2686,
273,
4309,
18,
588,
2686,
5621,
225,
509,
679,
273,
9968,
2335,
5621,
509,
4306,
1685,
273,
8635,
2335,
5621,
509,
4306,
1638,
31,
1323,
261,
17016,
1685,
411,
679,
13,
288,
4306,
1638,
273,
4604,
7634,
2555,
12,
17016,
2
] |
|
Iterator itr = perspList.iterator(); while (itr.hasNext()) { Perspective perspective = (Perspective) itr.next(); window.removePerspectiveShortcut(perspective.getDesc(), this); }
|
protected void onDeactivate() { if (activePart != null) { deactivatePart(activePart); actionSwitcher.updateActivePart(null); firePartDeactivated(activePart); } actionSwitcher.updateTopEditor(null); lastActiveEditor = null; if (getActivePerspective() != null) getActivePerspective().onDeactivate(); composite.setVisible(false); Iterator itr = perspList.iterator(); while (itr.hasNext()) { Perspective perspective = (Perspective) itr.next(); window.removePerspectiveShortcut(perspective.getDesc(), this); } }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/7492b2d89e421d819724566c58a91d81b97ce989/WorkbenchPage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
603,
758,
10014,
1435,
288,
3639,
309,
261,
3535,
1988,
480,
446,
13,
288,
5411,
18790,
1988,
12,
3535,
1988,
1769,
5411,
1301,
10200,
264,
18,
2725,
3896,
1988,
12,
2011,
1769,
5411,
4452,
1988,
758,
18836,
12,
3535,
1988,
1769,
3639,
289,
3639,
1301,
10200,
264,
18,
2725,
3401,
6946,
12,
2011,
1769,
3639,
1142,
3896,
6946,
273,
446,
31,
3639,
309,
261,
588,
3896,
14781,
16772,
1435,
480,
446,
13,
5411,
11960,
14781,
16772,
7675,
265,
758,
10014,
5621,
3639,
9635,
18,
542,
6207,
12,
5743,
1769,
3639,
4498,
11176,
273,
13508,
84,
682,
18,
9838,
5621,
3639,
1323,
261,
305,
86,
18,
5332,
2134,
10756,
288,
5411,
453,
414,
16772,
26651,
273,
261,
14781,
16772,
13,
11176,
18,
4285,
5621,
5411,
2742,
18,
4479,
14781,
16772,
15576,
12,
10422,
16772,
18,
588,
4217,
9334,
333,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
22398,
316,
326,
981,
30,
377,
4750,
918,
603,
758,
10014,
1435,
288,
3639,
309,
261,
3535,
1988,
480,
446,
13,
288,
5411,
18790,
1988,
12,
3535,
1988,
1769,
5411,
1301,
10200,
264,
18,
2725,
3896,
1988,
12,
2011,
1769,
5411,
4452,
1988,
758,
18836,
12,
3535,
1988,
1769,
3639,
289,
3639,
1301,
10200,
264,
18,
2725,
3401,
6946,
12,
2011,
1769,
3639,
1142,
3896,
6946,
273,
446,
31,
3639,
309,
261,
588,
3896,
14781,
16772,
1435,
480,
446,
13,
5411,
11960,
14781,
16772,
7675,
265,
758,
10014,
5621,
3639,
9635,
18,
542,
6207,
12,
5743,
1769,
3639,
4498,
11176,
273,
13508,
84,
682,
18,
9838,
5621,
3639,
1323,
261,
305,
86,
18,
5332,
2134,
10756,
288,
5411,
453,
414,
16772,
26651,
273,
261,
2
] |
|
if ( field == null && componentClass.getSuperclass() != Object.class )
|
if ( fields.size() == 1 )
|
protected Field getFieldByTypeIncludingSuperclasses( Class componentClass, Class type, ComponentDescriptor componentDescriptor ) throws CompositionException { Field field = null; Class arrayType = Array.newInstance( type, 0 ).getClass(); Field[] fields = componentClass.getDeclaredFields(); for ( int i = 0; i < fields.length; i++ ) { Class fieldType = fields[i].getType(); if ( fieldType.isAssignableFrom( type ) || fieldType.isAssignableFrom( arrayType ) ) { field = fields[i]; break; } } if ( field == null && componentClass.getSuperclass() != Object.class ) { field = getFieldByTypeIncludingSuperclasses( componentClass.getSuperclass(), type, componentDescriptor ); } return field; }
|
55908 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55908/e47e9b16b40acaadbd1219c33918ca40312bacd9/FieldComponentComposer.java/buggy/plexus-container-default.old/src/java/org/codehaus/plexus/component/composition/FieldComponentComposer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
2286,
5031,
14145,
382,
18596,
8051,
4701,
12,
1659,
1794,
797,
16,
4766,
7682,
1659,
618,
16,
4766,
7682,
5435,
3187,
1794,
3187,
262,
3639,
1216,
1286,
3276,
503,
565,
288,
3639,
2286,
652,
273,
446,
31,
3639,
1659,
526,
559,
273,
1510,
18,
2704,
1442,
12,
618,
16,
374,
262,
18,
588,
797,
5621,
3639,
2286,
8526,
1466,
273,
1794,
797,
18,
588,
18888,
2314,
5621,
3639,
364,
261,
509,
277,
273,
374,
31,
277,
411,
1466,
18,
2469,
31,
277,
9904,
262,
3639,
288,
5411,
1659,
9596,
273,
1466,
63,
77,
8009,
588,
559,
5621,
5411,
309,
261,
9596,
18,
291,
7961,
1265,
12,
618,
262,
747,
9596,
18,
291,
7961,
1265,
12,
526,
559,
262,
262,
5411,
288,
7734,
652,
273,
1466,
63,
77,
15533,
7734,
898,
31,
5411,
289,
3639,
289,
3639,
309,
261,
1466,
18,
1467,
1435,
422,
404,
262,
3639,
288,
5411,
652,
273,
5031,
14145,
382,
18596,
8051,
4701,
12,
1794,
797,
18,
588,
28471,
9334,
618,
16,
1794,
3187,
11272,
3639,
289,
3639,
327,
652,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
2286,
5031,
14145,
382,
18596,
8051,
4701,
12,
1659,
1794,
797,
16,
4766,
7682,
1659,
618,
16,
4766,
7682,
5435,
3187,
1794,
3187,
262,
3639,
1216,
1286,
3276,
503,
565,
288,
3639,
2286,
652,
273,
446,
31,
3639,
1659,
526,
559,
273,
1510,
18,
2704,
1442,
12,
618,
16,
374,
262,
18,
588,
797,
5621,
3639,
2286,
8526,
1466,
273,
1794,
797,
18,
588,
18888,
2314,
5621,
3639,
364,
261,
509,
277,
273,
374,
31,
277,
411,
1466,
18,
2469,
31,
277,
9904,
262,
3639,
288,
5411,
1659,
9596,
273,
1466,
63,
77,
8009,
588,
559,
5621,
5411,
309,
261,
9596,
18,
291,
7961,
1265,
12,
618,
262,
747,
9596,
18,
291,
7961,
1265,
12,
526,
559,
2
] |
public HTTPConnection(URL url) throws ProtocolNotSuppException
|
public HTTPConnection(Applet applet) throws ProtocolNotSuppException
|
public HTTPConnection(URL url) throws ProtocolNotSuppException { this(url.getProtocol(), url.getHost(), url.getPort()); }
|
9402 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9402/7f665ef90c2c1ed8c2c675e697d41447e89ef17f/HTTPConnection.java/buggy/HTTPClient/HTTPConnection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2239,
1952,
12,
23696,
21853,
13,
225,
1216,
4547,
1248,
3088,
84,
503,
565,
288,
202,
2211,
12,
718,
18,
588,
5752,
9334,
880,
18,
588,
2594,
9334,
880,
18,
588,
2617,
10663,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2239,
1952,
12,
23696,
21853,
13,
225,
1216,
4547,
1248,
3088,
84,
503,
565,
288,
202,
2211,
12,
718,
18,
588,
5752,
9334,
880,
18,
588,
2594,
9334,
880,
18,
588,
2617,
10663,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return m_currentInterface.addService(svcName, serviceId);
|
return getInterface(nodeId, ipAddr).addService(svcName, serviceId);
|
public MockService addService(String svcName) { int serviceId = getServiceId(svcName); return m_currentInterface.addService(svcName, serviceId); }
|
48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/d8a6e8e3b2b216405ee55674bae0dbc50149fe3f/MockNetwork.java/buggy/src/services/org/opennms/netmgt/mock/MockNetwork.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
7867,
1179,
527,
1179,
12,
780,
7538,
461,
13,
288,
3639,
509,
17130,
273,
6373,
548,
12,
30992,
461,
1769,
3639,
327,
336,
1358,
12,
2159,
548,
16,
2359,
3178,
2934,
1289,
1179,
12,
30992,
461,
16,
17130,
1769,
282,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
548,
16,
2359,
3178,
2934,
1289,
1179,
12,
30992,
461,
16,
17130,
1769,
282,
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
] |
if (keyCode == e.VK_UNDEFINED || keyCode == e.VK_CAPS_LOCK || keyCode == e.VK_SHIFT || keyCode == e.VK_ALT || keyCode == e.VK_ALT_GRAPH || keyCode == e.VK_CONTROL
|
if (keyCode == KeyEvent.VK_UNDEFINED || keyCode == KeyEvent.VK_CAPS_LOCK || keyCode == KeyEvent.VK_SHIFT || keyCode == KeyEvent.VK_ALT || keyCode == KeyEvent.VK_ALT_GRAPH || keyCode == KeyEvent.VK_CONTROL
|
void processVTKeyPressed(KeyEvent e){ displayInfo(e); int keyCode = e.getKeyCode(); if (isLinux && keyCode == e.VK_ALT_GRAPH) { isAltGr = true; } // be careful with the control key if (keyCode == e.VK_UNDEFINED || keyCode == e.VK_CAPS_LOCK || keyCode == e.VK_SHIFT || keyCode == e.VK_ALT || keyCode == e.VK_ALT_GRAPH || keyCode == e.VK_CONTROL ) { return; } // be careful with the control key !!!!!! if (!e.isAltDown() || !e.isShiftDown() || !e.isControlDown() || keyCode != KeyEvent.VK_CONTROL && // be careful about removing this line !e.isActionKey()) {// if (keyCode == KeyEvent.VK_ESCAPE ||// keyCode == KeyEvent.VK_CONTROL ||// keyCode == KeyEvent.VK_BACK_SPACE) {// displayInfo(e,"Pressed added"); keyevent = e; dialog.setVisible(false); dialog.dispose();// } } }
|
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/07bb3e36537d736453880eae077a576d2dd55fe2/KeyGetter13.java/clean/tn5250j/src/org/tn5250j/keyboard/configure/KeyGetter13.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
918,
1207,
58,
56,
653,
24624,
12,
653,
1133,
425,
15329,
1377,
2562,
966,
12,
73,
1769,
1377,
509,
16369,
273,
425,
18,
588,
653,
1085,
5621,
1377,
309,
261,
291,
19475,
597,
16369,
422,
425,
18,
58,
47,
67,
18255,
67,
24372,
13,
288,
540,
353,
10655,
20799,
273,
638,
31,
1377,
289,
1377,
368,
506,
26850,
598,
326,
3325,
498,
1377,
309,
261,
856,
1085,
422,
425,
18,
58,
47,
67,
2124,
15544,
747,
5411,
16369,
422,
425,
18,
58,
47,
67,
17296,
55,
67,
6589,
747,
5411,
16369,
422,
425,
18,
58,
47,
67,
23191,
747,
5411,
16369,
422,
425,
18,
58,
47,
67,
18255,
747,
5411,
16369,
422,
425,
18,
58,
47,
67,
18255,
67,
24372,
747,
5411,
16369,
422,
425,
18,
58,
47,
67,
18248,
540,
262,
288,
540,
327,
31,
1377,
289,
1377,
368,
506,
26850,
598,
326,
3325,
498,
401,
23045,
5,
1377,
309,
16051,
73,
18,
291,
10655,
4164,
1435,
747,
540,
401,
73,
18,
291,
10544,
4164,
1435,
747,
540,
401,
73,
18,
291,
3367,
4164,
1435,
747,
540,
16369,
480,
23737,
18,
58,
47,
67,
18248,
597,
225,
368,
506,
26850,
2973,
9427,
333,
980,
540,
401,
73,
18,
291,
1803,
653,
10756,
288,
759,
5411,
309,
261,
856,
1085,
422,
23737,
18,
58,
47,
67,
24849,
747,
759,
9079,
16369,
422,
23737,
18,
58,
47,
67,
18248,
747,
759,
9079,
16369,
422,
23737,
18,
58,
47,
67,
8720,
67,
6616,
13,
288,
759,
9079,
2562,
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,
918,
1207,
58,
56,
653,
24624,
12,
653,
1133,
425,
15329,
1377,
2562,
966,
12,
73,
1769,
1377,
509,
16369,
273,
425,
18,
588,
653,
1085,
5621,
1377,
309,
261,
291,
19475,
597,
16369,
422,
425,
18,
58,
47,
67,
18255,
67,
24372,
13,
288,
540,
353,
10655,
20799,
273,
638,
31,
1377,
289,
1377,
368,
506,
26850,
598,
326,
3325,
498,
1377,
309,
261,
856,
1085,
422,
425,
18,
58,
47,
67,
2124,
15544,
747,
5411,
16369,
422,
425,
18,
58,
47,
67,
17296,
55,
67,
6589,
747,
5411,
16369,
422,
425,
18,
58,
47,
67,
23191,
747,
5411,
16369,
422,
425,
18,
58,
47,
67,
18255,
747,
5411,
16369,
422,
425,
18,
58,
47,
67,
18255,
2
] |
String id = element.getAttribute(CAT_ATT_ID); String name = element.getAttribute(CAT_ATT_NAME); if (id==null) { logMissingAttribute(element, CAT_ATT_ID);
|
try { Category category = new Category(element); capabilityRegistry.addCategory(category); } catch (WorkbenchException e) { WorkbenchPlugin.log("Unable to create capability category. ", e.getStatus());
|
private boolean readCategory(IConfigurationElement element) { String id = element.getAttribute(CAT_ATT_ID); String name = element.getAttribute(CAT_ATT_NAME); if (id==null) { logMissingAttribute(element, CAT_ATT_ID); } if (name==null) { logMissingAttribute(element, CAT_ATT_NAME); } CapabilityCategory category = new CapabilityCategory(id, name); capabilityRegistry.addCategory(category); return true; }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/440f5144e9ac626abee93b29d254622715027c3c/CapabilityRegistryReader.java/clean/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/registry/CapabilityRegistryReader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
855,
4457,
12,
45,
1750,
1046,
930,
13,
288,
202,
202,
780,
612,
273,
930,
18,
588,
1499,
12,
14130,
67,
789,
56,
67,
734,
1769,
202,
202,
780,
508,
273,
930,
18,
588,
1499,
12,
14130,
67,
789,
56,
67,
1985,
1769,
6862,
202,
430,
261,
350,
631,
2011,
13,
288,
1082,
202,
1330,
4841,
1499,
12,
2956,
16,
30210,
67,
789,
56,
67,
734,
1769,
202,
202,
97,
202,
202,
430,
261,
529,
631,
2011,
13,
288,
1082,
202,
1330,
4841,
1499,
12,
2956,
16,
30210,
67,
789,
56,
67,
1985,
1769,
202,
202,
97,
202,
202,
17035,
4457,
3150,
273,
394,
28075,
4457,
12,
350,
16,
508,
1769,
202,
202,
13568,
4243,
18,
1289,
4457,
12,
4743,
1769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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
855,
4457,
12,
45,
1750,
1046,
930,
13,
288,
202,
202,
780,
612,
273,
930,
18,
588,
1499,
12,
14130,
67,
789,
56,
67,
734,
1769,
202,
202,
780,
508,
273,
930,
18,
588,
1499,
12,
14130,
67,
789,
56,
67,
1985,
1769,
6862,
202,
430,
261,
350,
631,
2011,
13,
288,
1082,
202,
1330,
4841,
1499,
12,
2956,
16,
30210,
67,
789,
56,
67,
734,
1769,
202,
202,
97,
202,
202,
430,
261,
529,
631,
2011,
13,
288,
1082,
202,
1330,
4841,
1499,
12,
2956,
16,
30210,
67,
789,
56,
67,
1985,
1769,
202,
202,
97,
202,
202,
17035,
4457,
3150,
273,
394,
28075,
4457,
12,
350,
16,
508,
1769,
202,
202,
13568,
4243,
2
] |
inputSource = new InputSource( context.getServletContext().getResourceAsStream(resourcePath));
|
InputStream stream = context.getServletContext().getResourceAsStream(resourcePath); if (stream == null) { throw new IllegalArgumentException (sm.getString("contextConfig.tldResourcePath", resourcePath)); } inputSource = new InputSource(stream);
|
private void tldScanTld(String resourcePath) throws Exception { if (log.isDebugEnabled()) { log.debug(" Scanning TLD at resource path '" + resourcePath + "'"); } InputSource inputSource = null; try { inputSource = new InputSource( context.getServletContext().getResourceAsStream(resourcePath)); if (inputSource == null) { throw new IllegalArgumentException (sm.getString("contextConfig.tldResourcePath", resourcePath)); } tldScanStream(inputSource); } catch (Exception e) { throw new ServletException (sm.getString("contextConfig.tldFileException", resourcePath, context.getPath()), e); } }
|
46196 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46196/a072883bc59691a1efd78e9863bb7ef9b90b81e9/TldConfig.java/buggy/java/org/apache/catalina/startup/TldConfig.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
23373,
7972,
56,
1236,
12,
780,
15467,
13,
1216,
1185,
288,
3639,
309,
261,
1330,
18,
291,
2829,
1526,
10756,
288,
5411,
613,
18,
4148,
2932,
2850,
10903,
399,
12069,
622,
1058,
589,
2119,
397,
15467,
397,
5862,
1769,
3639,
289,
3639,
23699,
810,
1830,
273,
446,
31,
3639,
775,
288,
5411,
810,
1830,
273,
7734,
394,
23699,
12,
10792,
819,
18,
588,
4745,
1042,
7675,
588,
1420,
17052,
12,
3146,
743,
10019,
5411,
309,
261,
2630,
1830,
422,
446,
13,
288,
7734,
604,
394,
2754,
10792,
261,
4808,
18,
588,
780,
2932,
2472,
809,
18,
88,
1236,
29906,
3113,
21394,
15467,
10019,
5411,
289,
5411,
23373,
7972,
1228,
12,
2630,
1830,
1769,
3639,
289,
1044,
261,
503,
425,
13,
288,
2398,
604,
394,
16517,
1171,
261,
4808,
18,
588,
780,
2932,
2472,
809,
18,
88,
1236,
812,
503,
3113,
15467,
16,
1171,
9079,
819,
18,
588,
743,
1435,
3631,
5375,
425,
1769,
3639,
289,
377,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
23373,
7972,
56,
1236,
12,
780,
15467,
13,
1216,
1185,
288,
3639,
309,
261,
1330,
18,
291,
2829,
1526,
10756,
288,
5411,
613,
18,
4148,
2932,
2850,
10903,
399,
12069,
622,
1058,
589,
2119,
397,
15467,
397,
5862,
1769,
3639,
289,
3639,
23699,
810,
1830,
273,
446,
31,
3639,
775,
288,
5411,
810,
1830,
273,
7734,
394,
23699,
12,
10792,
819,
18,
588,
4745,
1042,
7675,
588,
1420,
17052,
12,
3146,
743,
10019,
5411,
309,
261,
2630,
1830,
422,
446,
13,
288,
7734,
604,
394,
2754,
10792,
261,
4808,
18,
588,
780,
2932,
2472,
809,
18,
88,
1236,
29906,
3113,
21394,
15467,
10019,
5411,
289,
5411,
23373,
7972,
1228,
12,
2630,
1830,
1769,
3639,
289,
1044,
2
] |
public boolean isSet(org.quickfix.field.AllocAccount field)
|
public boolean isSet(quickfix.field.AllocAccount field)
|
public boolean isSet(org.quickfix.field.AllocAccount field) { return isSetField(field); }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderCancelReplaceRequest.java/clean/src/java/src/quickfix/fix43/OrderCancelReplaceRequest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
13532,
12,
19525,
904,
18,
1518,
18,
8763,
3032,
652,
13,
225,
288,
327,
13532,
974,
12,
1518,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
13532,
12,
19525,
904,
18,
1518,
18,
8763,
3032,
652,
13,
225,
288,
327,
13532,
974,
12,
1518,
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
] |
}
|
}
|
protected void processElse(int startPos, int endPos, boolean taken) { }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/1e8393f7a2cd5d5de7919712722d6a1202f825c5/Scanner2.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner2/Scanner2.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
4750,
918,
1207,
12427,
12,
474,
16013,
16,
509,
19809,
16,
1250,
9830,
13,
288,
282,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
288,
282,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
}
|
public synchronized void readExternal(java.io.ObjectInput in) throws java.io.IOException, ClassNotFoundException { int size = in.readInt(); for (int i=0; i<size; i++) { UniqueID id = (UniqueID) in.readObject(); UniversalBody remoteBody = (UniversalBody) in.readObject(); idToBodyMap.put(id, remoteBody); } }
|
58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/72186abc6d443a4d713da92efc5079c9b125d539/BodyMap.java/clean/src/org/objectweb/proactive/core/body/BodyMap.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3852,
918,
855,
6841,
12,
6290,
18,
1594,
18,
921,
1210,
316,
13,
1216,
2252,
18,
1594,
18,
14106,
16,
10403,
288,
565,
509,
963,
273,
316,
18,
896,
1702,
5621,
565,
364,
261,
474,
277,
33,
20,
31,
277,
32,
1467,
31,
277,
27245,
288,
1377,
14584,
734,
612,
273,
261,
31118,
13,
316,
18,
896,
921,
5621,
1377,
27705,
2250,
2632,
2250,
273,
261,
984,
14651,
2250,
13,
316,
18,
896,
921,
5621,
1377,
612,
774,
2250,
863,
18,
458,
12,
350,
16,
2632,
2250,
1769,
377,
289,
2,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3852,
918,
855,
6841,
12,
6290,
18,
1594,
18,
921,
1210,
316,
13,
1216,
2252,
18,
1594,
18,
14106,
16,
10403,
288,
565,
509,
963,
273,
316,
18,
896,
1702,
5621,
565,
364,
261,
474,
277,
33,
20,
31,
277,
32,
1467,
31,
277,
27245,
288,
1377,
14584,
734,
612,
273,
261,
31118,
13,
316,
18,
896,
921,
5621,
1377,
27705,
2250,
2632,
2250,
273,
261,
984,
14651,
2250,
13,
316,
18,
896,
921,
5621,
1377,
612,
774,
2250,
863,
18,
458,
12,
350,
16,
2632,
2250,
1769,
377,
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
] |
|
getPreferenceStore().setValue(TaskListPreferenceConstants.ARCHIVE_FOLDER, archiveFolderText.getText()); TaskListAutoArchiveManager.archiveNow(); setLastArchived();
|
getPreferenceStore().setValue(TaskListPreferenceConstants.BACKUP_FOLDER, backupFolderText.getText()); TaskListBackupManager.backupNow(); setLastBackup();
|
public void widgetSelected(SelectionEvent e) { try { getPreferenceStore().setValue(TaskListPreferenceConstants.ARCHIVE_FOLDER, archiveFolderText.getText()); TaskListAutoArchiveManager.archiveNow(); setLastArchived(); } catch (InvocationTargetException ex) { MessageDialog.openError(getShell(), "Archive Error", TaskListAutoArchiveManager.ARCHIVE_FAILURE_MESSAGE + ex.getCause().getMessage()); } }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/2eb55d3a34f210fa2491f05411dbbf10988f7182/MylarTaskListPreferencePage.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/preferences/MylarTaskListPreferencePage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
3604,
7416,
12,
6233,
1133,
425,
13,
288,
9506,
202,
698,
288,
6862,
202,
588,
9624,
2257,
7675,
542,
620,
12,
2174,
682,
9624,
2918,
18,
10586,
5354,
67,
17357,
16,
6862,
1082,
202,
10686,
3899,
1528,
18,
588,
1528,
10663,
6862,
202,
2174,
682,
4965,
7465,
1318,
18,
10686,
8674,
5621,
6862,
202,
542,
3024,
12269,
2950,
5621,
9506,
202,
97,
1044,
261,
9267,
14950,
431,
13,
288,
6862,
202,
1079,
6353,
18,
3190,
668,
12,
588,
13220,
9334,
315,
7465,
1068,
3113,
6862,
1082,
202,
2174,
682,
4965,
7465,
1318,
18,
10586,
5354,
67,
17623,
67,
8723,
397,
431,
18,
588,
10683,
7675,
24906,
10663,
9506,
202,
97,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1875,
202,
482,
918,
3604,
7416,
12,
6233,
1133,
425,
13,
288,
9506,
202,
698,
288,
6862,
202,
588,
9624,
2257,
7675,
542,
620,
12,
2174,
682,
9624,
2918,
18,
10586,
5354,
67,
17357,
16,
6862,
1082,
202,
10686,
3899,
1528,
18,
588,
1528,
10663,
6862,
202,
2174,
682,
4965,
7465,
1318,
18,
10686,
8674,
5621,
6862,
202,
542,
3024,
12269,
2950,
5621,
9506,
202,
97,
1044,
261,
9267,
14950,
431,
13,
288,
6862,
202,
1079,
6353,
18,
3190,
668,
12,
588,
13220,
9334,
315,
7465,
1068,
3113,
6862,
1082,
202,
2174,
682,
4965,
7465,
1318,
18,
10586,
5354,
67,
17623,
67,
8723,
397,
431,
18,
588,
10683,
7675,
24906,
10663,
9506,
202,
97,
1082,
202,
97,
2,
-100,
-100
] |
if (image != null) imagesToDispose.add(image);
|
if (image != null) { imagesToDispose.add(image); }
|
protected TableItem newResourceTableItem(IFileEditorMapping mapping, int index, boolean selected) { Image image = mapping.getImageDescriptor().createImage(false); if (image != null) imagesToDispose.add(image); TableItem item = new TableItem(resourceTypeTable, SWT.NULL, index); if (image != null) { item.setImage(image); } item.setText(mapping.getLabel()); item.setData(mapping); if (selected) { resourceTypeTable.setSelection(index); } return item; }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/FileEditorsPreferencePage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/FileEditorsPreferencePage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
3555,
1180,
31757,
1388,
1180,
12,
45,
812,
6946,
3233,
2874,
16,
5411,
509,
770,
16,
1250,
3170,
13,
288,
3639,
3421,
1316,
273,
2874,
18,
588,
2040,
3187,
7675,
2640,
2040,
12,
5743,
1769,
3639,
309,
261,
2730,
480,
446,
13,
5411,
4602,
774,
1669,
4150,
18,
1289,
12,
2730,
1769,
3639,
3555,
1180,
761,
273,
394,
3555,
1180,
12,
3146,
559,
1388,
16,
348,
8588,
18,
8560,
16,
770,
1769,
3639,
309,
261,
2730,
480,
446,
13,
288,
5411,
761,
18,
542,
2040,
12,
2730,
1769,
3639,
289,
3639,
761,
18,
542,
1528,
12,
6770,
18,
588,
2224,
10663,
3639,
761,
18,
542,
751,
12,
6770,
1769,
3639,
309,
261,
8109,
13,
288,
5411,
14110,
1388,
18,
542,
6233,
12,
1615,
1769,
3639,
289,
3639,
327,
761,
31,
565,
289,
2,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
3555,
1180,
31757,
1388,
1180,
12,
45,
812,
6946,
3233,
2874,
16,
5411,
509,
770,
16,
1250,
3170,
13,
288,
3639,
3421,
1316,
273,
2874,
18,
588,
2040,
3187,
7675,
2640,
2040,
12,
5743,
1769,
3639,
309,
261,
2730,
480,
446,
13,
5411,
4602,
774,
1669,
4150,
18,
1289,
12,
2730,
1769,
3639,
3555,
1180,
761,
273,
394,
3555,
1180,
12,
3146,
559,
1388,
16,
348,
8588,
18,
8560,
16,
770,
1769,
3639,
309,
261,
2730,
480,
446,
13,
288,
5411,
761,
18,
542,
2040,
12,
2730,
1769,
3639,
289,
3639,
761,
18,
542,
1528,
12,
6770,
18,
588,
2224,
10663,
3639,
761,
18,
542,
751,
12,
6770,
1769,
3639,
309,
261,
8109,
13,
288,
5411,
14110,
2
] |
public SimpleFieldSet getFieldSet() {
|
public synchronized SimpleFieldSet getFieldSet() {
|
public SimpleFieldSet getFieldSet() { SimpleFieldSet fs = new SimpleFieldSet(true); // we will need multi-level later... fs.put("Type", "GET"); fs.put("URI", uri.toString(false)); fs.put("Identifier", identifier); fs.put("Verbosity", Integer.toString(verbosity)); fs.put("PriorityClass", Short.toString(priorityClass)); fs.put("ReturnType", ClientGetMessage.returnTypeString(returnType)); fs.put("Persistence", ClientRequest.persistenceTypeString(persistenceType)); fs.put("ClientName", client.name); if(targetFile != null) fs.put("Filename", targetFile.getPath()); if(tempFile != null) fs.put("TempFilename", tempFile.getPath()); if(clientToken != null) fs.put("ClientToken", clientToken); if(returnType == ClientGetMessage.RETURN_TYPE_DISK && targetFile != null) { // Otherwise we must re-run it anyway as we don't have the data. // finished => persistence of completion state, pending messages //fs.put("Finished", Boolean.toString(finished)); } fs.put("IgnoreDS", Boolean.toString(fctx.ignoreStore)); fs.put("DSOnly", Boolean.toString(fctx.localRequestOnly)); fs.put("MaxRetries", Integer.toString(fctx.maxNonSplitfileRetries)); fs.put("Finished", Boolean.toString(finished)); fs.put("Succeeded", Boolean.toString(succeeded)); if(finished) { if(succeeded) { fs.put("FoundDataLength", Long.toString(foundDataLength)); fs.put("FoundDataMimeType", foundDataMimeType); if(postFetchProtocolErrorMessage != null) { fs.put("PostFetchProtocolError", postFetchProtocolErrorMessage.getFieldSet()); } } else { if(getFailedMessage != null) { fs.put("GetFailed", getFailedMessage.getFieldSet(false)); } } } return fs; }
|
51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/2feef30f4266f2b8f54b92445661044a936a611a/ClientGet.java/buggy/src/freenet/node/fcp/ClientGet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4477,
974,
694,
5031,
694,
1435,
288,
202,
202,
5784,
974,
694,
2662,
273,
394,
4477,
974,
694,
12,
3767,
1769,
368,
732,
903,
1608,
3309,
17,
2815,
5137,
2777,
202,
202,
2556,
18,
458,
2932,
559,
3113,
315,
3264,
8863,
202,
202,
2556,
18,
458,
2932,
3098,
3113,
2003,
18,
10492,
12,
5743,
10019,
202,
202,
2556,
18,
458,
2932,
3004,
3113,
2756,
1769,
202,
202,
2556,
18,
458,
2932,
30594,
3113,
2144,
18,
10492,
12,
16629,
8807,
10019,
202,
202,
2556,
18,
458,
2932,
8183,
797,
3113,
7925,
18,
10492,
12,
8457,
797,
10019,
202,
202,
2556,
18,
458,
2932,
9102,
3113,
2445,
967,
1079,
18,
2463,
559,
780,
12,
2463,
559,
10019,
202,
202,
2556,
18,
458,
2932,
13182,
3113,
2445,
691,
18,
24854,
559,
780,
12,
24854,
559,
10019,
202,
202,
2556,
18,
458,
2932,
1227,
461,
3113,
1004,
18,
529,
1769,
202,
202,
430,
12,
3299,
812,
480,
446,
13,
1082,
202,
2556,
18,
458,
2932,
5359,
3113,
21254,
18,
588,
743,
10663,
202,
202,
430,
12,
5814,
812,
480,
446,
13,
1082,
202,
2556,
18,
458,
2932,
7185,
5359,
3113,
18286,
18,
588,
743,
10663,
202,
202,
430,
12,
2625,
1345,
480,
446,
13,
1082,
202,
2556,
18,
458,
2932,
1227,
1345,
3113,
1004,
1345,
1769,
202,
202,
430,
12,
2463,
559,
422,
2445,
967,
1079,
18,
14033,
67,
2399,
67,
2565,
11129,
597,
21254,
480,
446,
13,
288,
1082,
202,
759,
5272,
732,
1297,
283,
17,
2681,
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,
4477,
974,
694,
5031,
694,
1435,
288,
202,
202,
5784,
974,
694,
2662,
273,
394,
4477,
974,
694,
12,
3767,
1769,
368,
732,
903,
1608,
3309,
17,
2815,
5137,
2777,
202,
202,
2556,
18,
458,
2932,
559,
3113,
315,
3264,
8863,
202,
202,
2556,
18,
458,
2932,
3098,
3113,
2003,
18,
10492,
12,
5743,
10019,
202,
202,
2556,
18,
458,
2932,
3004,
3113,
2756,
1769,
202,
202,
2556,
18,
458,
2932,
30594,
3113,
2144,
18,
10492,
12,
16629,
8807,
10019,
202,
202,
2556,
18,
458,
2932,
8183,
797,
3113,
7925,
18,
10492,
12,
8457,
797,
10019,
202,
202,
2556,
18,
458,
2932,
9102,
3113,
2445,
967,
1079,
18,
2463,
559,
780,
12,
2463,
559,
10019,
202,
2
] |
Signature sig = getSignature(type, om.getRetrieveAll(), null, false);
|
Signature sig = getSignature(type, om.getRetrieveAll(), null, null);
|
public Query getQuery(ObjectType type) { ObjectMap om = Root.getRoot().getObjectMap(type); Signature sig = getSignature(type, om.getRetrieveAll(), null, false); return new Query(sig, null); }
|
12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/d9ed392ae0b8d5fcfa941f4e51eb66f2d9adeaaa/StaticQuerySource.java/buggy/archive/proto/src/com/arsdigita/persistence/proto/engine/rdbms/StaticQuerySource.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2770,
6041,
12,
17610,
618,
13,
288,
3639,
1033,
863,
8068,
273,
7450,
18,
588,
2375,
7675,
588,
921,
863,
12,
723,
1769,
3639,
9249,
3553,
273,
20104,
12,
723,
16,
8068,
18,
588,
5767,
1595,
9334,
446,
16,
446,
1769,
3639,
327,
394,
2770,
12,
7340,
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,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2770,
6041,
12,
17610,
618,
13,
288,
3639,
1033,
863,
8068,
273,
7450,
18,
588,
2375,
7675,
588,
921,
863,
12,
723,
1769,
3639,
9249,
3553,
273,
20104,
12,
723,
16,
8068,
18,
588,
5767,
1595,
9334,
446,
16,
446,
1769,
3639,
327,
394,
2770,
12,
7340,
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
] |
ImageQueue queue = (ImageQueue) scheduledImagesByName.get(name);
|
ImageQueue queue = (ImageQueue) scheduledImagesByName.get(url);
|
public static Image getImage( String name, Object parent, boolean cache ) throws IOException { // check if the image has been cached before: if ( imagesByName != null ) { Image image = (Image) imagesByName.get( name ); if (image != null) { return image; } } //#ifdef polish.images.directLoad // when images should be loaded directly, try to do so now: Image image = Image.createImage( name ); if (cache) { if (imagesByName == null ) { imagesByName = new Hashtable(); } imagesByName.put( name, image ); } //# return image; //#else // when images should be loaded in the background, // tell the background-thread to do so now: if ( ! (parent instanceof ImageConsumer)) { //#debug error System.out.println("StyleSheet.getImage(..) needs an ImageConsumer when images are loaded in the background!"); return null; } if (scheduledImagesByName == null ) { scheduledImagesByName = new Hashtable(); } ImageQueue queue = (ImageQueue) scheduledImagesByName.get(name); if (queue != null) { // this image is already scheduled to load: queue.addConsumer((ImageConsumer) parent); return null; } scheduledImagesByName.put( name, new ImageQueue( (ImageConsumer) parent, cache ) ); if (imagesByName == null ) { imagesByName = new Hashtable(); } if (timer == null) { timer = new Timer(); } ImageTask task = new ImageTask( name ); timer.schedule( task, 10 ); return null; //#endif }
|
9804 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9804/4e8983ac96e4e1a995d9f8434572c31f4d05d76c/StyleSheet.java/clean/j2me/source/src/de/enough/polish/ui/StyleSheet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
3421,
10567,
12,
514,
508,
16,
1033,
982,
16,
1250,
1247,
262,
202,
15069,
1860,
225,
202,
95,
202,
202,
759,
866,
309,
326,
1316,
711,
2118,
3472,
1865,
30,
202,
202,
430,
261,
4602,
5911,
480,
446,
262,
288,
1082,
202,
2040,
1316,
273,
261,
2040,
13,
4602,
5911,
18,
588,
12,
508,
11272,
1082,
202,
430,
261,
2730,
480,
446,
13,
288,
9506,
202,
2463,
1316,
31,
1082,
202,
97,
202,
202,
97,
202,
202,
759,
7,
430,
536,
2952,
1468,
18,
7369,
18,
7205,
2563,
202,
202,
759,
1347,
4602,
1410,
506,
4203,
5122,
16,
775,
358,
741,
1427,
2037,
30,
202,
202,
2040,
1316,
273,
3421,
18,
2640,
2040,
12,
508,
11272,
202,
202,
430,
261,
2493,
13,
288,
1082,
202,
430,
261,
7369,
5911,
422,
446,
262,
288,
9506,
202,
7369,
5911,
273,
394,
18559,
5621,
1082,
202,
97,
1082,
202,
7369,
5911,
18,
458,
12,
508,
16,
1316,
11272,
202,
202,
97,
202,
202,
759,
7,
327,
1316,
31,
9506,
202,
759,
7,
12107,
202,
202,
759,
1347,
4602,
1410,
506,
4203,
316,
326,
5412,
16,
3196,
202,
759,
9276,
326,
5412,
17,
5930,
358,
741,
1427,
2037,
30,
9506,
202,
430,
261,
401,
261,
2938,
1276,
3421,
5869,
3719,
288,
1082,
202,
759,
7,
4148,
555,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
2885,
8229,
18,
588,
2040,
12,
838,
13,
4260,
392,
3421,
5869,
1347,
4602,
854,
4203,
316,
326,
5412,
4442,
1769,
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,
3421,
10567,
12,
514,
508,
16,
1033,
982,
16,
1250,
1247,
262,
202,
15069,
1860,
225,
202,
95,
202,
202,
759,
866,
309,
326,
1316,
711,
2118,
3472,
1865,
30,
202,
202,
430,
261,
4602,
5911,
480,
446,
262,
288,
1082,
202,
2040,
1316,
273,
261,
2040,
13,
4602,
5911,
18,
588,
12,
508,
11272,
1082,
202,
430,
261,
2730,
480,
446,
13,
288,
9506,
202,
2463,
1316,
31,
1082,
202,
97,
202,
202,
97,
202,
202,
759,
7,
430,
536,
2952,
1468,
18,
7369,
18,
7205,
2563,
202,
202,
759,
1347,
4602,
1410,
506,
4203,
5122,
16,
775,
358,
741,
1427,
2037,
30,
202,
202,
2040,
1316,
273,
3421,
18,
2640,
2040,
12,
508,
2
] |
public void mTokens() throws RecognitionException { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:10: ( T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | T38 | T39 | T40 | T41 | T42 | T43 | T44 | T45 | T46 | T47 | T48 | T49 | T50 | T51 | T52 | T53 | T54 | T55 | T56 | T57 | MISC | WS | EOL | INT | FLOAT | STRING | BOOL | ID | SH_STYLE_SINGLE_LINE_COMMENT | C_STYLE_SINGLE_LINE_COMMENT | MULTI_LINE_COMMENT ) int alt16=54; alt16 = dfa16.predict(input); if (failed) return ; switch (alt16) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:10: T15 { mT15(); if (failed) return ; } break; case 2 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:14: T16 { mT16(); if (failed) return ; } break; case 3 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:18: T17 { mT17(); if (failed) return ; } break; case 4 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:22: T18 { mT18(); if (failed) return ; } break; case 5 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:26: T19 { mT19(); if (failed) return ; } break; case 6 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:30: T20 { mT20(); if (failed) return ; } break; case 7 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:34: T21 { mT21(); if (failed) return ; } break; case 8 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:38: T22 { mT22(); if (failed) return ; } break; case 9 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:42: T23 { mT23(); if (failed) return ; } break; case 10 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:46: T24 { mT24(); if (failed) return ; } break; case 11 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:50: T25 { mT25(); if (failed) return ; } break; case 12 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:54: T26 { mT26(); if (failed) return ; } break; case 13 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:58: T27 { mT27(); if (failed) return ; } break; case 14 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:62: T28 { mT28(); if (failed) return ; } break; case 15 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:66: T29 { mT29(); if (failed) return ; } break; case 16 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:70: T30 { mT30(); if (failed) return ; } break; case 17 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:74: T31 { mT31(); if (failed) return ; } break; case 18 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:78: T32 { mT32(); if (failed) return ; } break; case 19 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:82: T33 { mT33(); if (failed) return ; } break; case 20 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:86: T34 { mT34(); if (failed) return ; } break; case 21 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:90: T35 { mT35(); if (failed) return ; } break; case 22 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:94: T36 { mT36(); if (failed) return ; } break; case 23 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:98: T37 { mT37(); if (failed) return ; } break; case 24 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:102: T38 { mT38(); if (failed) return ; } break; case 25 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:106: T39 { mT39(); if (failed) return ; } break; case 26 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:110: T40 { mT40(); if (failed) return ; } break; case 27 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:114: T41 { mT41(); if (failed) return ; } break; case 28 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:118: T42 { mT42(); if (failed) return ; } break; case 29 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:122: T43 { mT43(); if (failed) return ; } break; case 30 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:126: T44 { mT44(); if (failed) return ; } break; case 31 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:130: T45 { mT45(); if (failed) return ; } break; case 32 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:134: T46 { mT46(); if (failed) return ; } break; case 33 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:138: T47 { mT47(); if (failed) return ; } break; case 34 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:142: T48 { mT48(); if (failed) return ; } break; case 35 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:146: T49 { mT49(); if (failed) return ; } break; case 36 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:150: T50 { mT50(); if (failed) return ; } break; case 37 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:154: T51 { mT51(); if (failed) return ; } break; case 38 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:158: T52 { mT52(); if (failed) return ; } break; case 39 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:162: T53 { mT53(); if (failed) return ; } break; case 40 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:166: T54 { mT54(); if (failed) return ; } break; case 41 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:170: T55 { mT55(); if (failed) return ; } break; case 42 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:174: T56 { mT56(); if (failed) return ; } break; case 43 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:178: T57 { mT57(); if (failed) return ; } break; case 44 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:182: MISC { mMISC(); if (failed) return ; } break; case 45 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:187: WS { mWS(); if (failed) return ; } break; case 46 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:190: EOL { mEOL(); if (failed) return ; } break; case 47 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:194: INT { mINT(); if (failed) return ; } break; case 48 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:198: FLOAT { mFLOAT(); if (failed) return ; } break; case 49 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:204: STRING { mSTRING(); if (failed) return ; } break; case 50 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:211: BOOL { mBOOL(); if (failed) return ; } break; case 51 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:216: ID { mID(); if (failed) return ; } break; case 52 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:219: SH_STYLE_SINGLE_LINE_COMMENT { mSH_STYLE_SINGLE_LINE_COMMENT(); if (failed) return ; } break; case 53 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:248: C_STYLE_SINGLE_LINE_COMMENT { mC_STYLE_SINGLE_LINE_COMMENT(); if (failed) return ; } break; case 54 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:276: MULTI_LINE_COMMENT { mMULTI_LINE_COMMENT(); if (failed) return ; } break; } }
|
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/e3fb9256ae6e5fcb8c78a2c3dbd47f678d9b1287/RuleParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
5157,
1435,
1216,
9539,
288,
3639,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
21,
30,
2163,
30,
261,
399,
3600,
571,
399,
2313,
571,
399,
4033,
571,
399,
2643,
571,
399,
3657,
571,
399,
3462,
571,
399,
5340,
571,
399,
3787,
571,
399,
4366,
571,
399,
3247,
571,
399,
2947,
571,
399,
5558,
571,
399,
5324,
571,
399,
6030,
571,
399,
5540,
571,
399,
5082,
571,
399,
6938,
571,
399,
1578,
571,
399,
3707,
571,
399,
5026,
571,
399,
4763,
571,
399,
5718,
571,
399,
6418,
571,
399,
7414,
571,
399,
5520,
571,
399,
7132,
571,
399,
9803,
571,
399,
9452,
571,
399,
8942,
571,
399,
6334,
571,
399,
7950,
571,
399,
8749,
571,
399,
9462,
571,
399,
8875,
571,
399,
7616,
571,
399,
3361,
571,
399,
10593,
571,
399,
9401,
571,
399,
8643,
571,
399,
6564,
571,
399,
2539,
571,
399,
4313,
571,
399,
10321,
571,
20806,
2312,
571,
7649,
571,
19995,
571,
6137,
571,
15483,
571,
9469,
571,
9784,
1741,
571,
1599,
571,
6122,
67,
15066,
67,
20184,
67,
5997,
67,
12200,
571,
385,
67,
15066,
67,
20184,
67,
5997,
67,
12200,
571,
27125,
67,
5997,
67,
12200,
262,
3639,
509,
3770,
2313,
33,
6564,
31,
3639,
3770,
2313,
273,
23074,
2313,
18,
14491,
12,
2630,
1769,
309,
261,
7307,
13,
327,
274,
3639,
1620,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
5157,
1435,
1216,
9539,
288,
3639,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
21,
30,
2163,
30,
261,
399,
3600,
571,
399,
2313,
571,
399,
4033,
571,
399,
2643,
571,
399,
3657,
571,
399,
3462,
571,
399,
5340,
571,
399,
3787,
571,
399,
4366,
571,
399,
3247,
571,
399,
2947,
571,
399,
5558,
571,
399,
5324,
571,
399,
6030,
571,
399,
5540,
571,
399,
5082,
571,
399,
6938,
571,
399,
1578,
571,
399,
3707,
571,
399,
5026,
571,
399,
4763,
571,
399,
5718,
571,
399,
6418,
571,
399,
7414,
2
] |
||
private static void fireEventListeners(NodeEventTarget node, Event e, boolean useCapture, HashSet stoppedGroups, HashSet toBeStoppedGroups, boolean isCustom) { String type = e.getType(); EventSupport support = node.getEventSupport(); if (support == null) { return; } EventListenerList list = support.getEventListeners(type, useCapture); if (list == null) { return; } EventListenerList.Entry[] listeners = list.getEventListeners();
|
protected void fireEventListeners(NodeEventTarget node, Event e, EventListenerList.Entry[] listeners, HashSet stoppedGroups, HashSet toBeStoppedGroups, boolean isCustom) {
|
private static void fireEventListeners(NodeEventTarget node, Event e, boolean useCapture, HashSet stoppedGroups, HashSet toBeStoppedGroups, boolean isCustom) { String type = e.getType(); EventSupport support = node.getEventSupport(); // check if the event support has been instantiated if (support == null) { return; } EventListenerList list = support.getEventListeners(type, useCapture); // check if the event listeners list is not empty if (list == null) { return; } // dump event listeners, we get the registered listeners NOW EventListenerList.Entry[] listeners = list.getEventListeners(); // check if event listeners with the correct event type exist if (listeners == null) { return; } // fire event listeners CustomEvent ce = null; AbstractEvent aevt = null; String eventNS; if (isCustom) { ce = (CustomEvent) e; eventNS = ce.getNamespaceURI(); } else { aevt = (AbstractEvent) e; eventNS = aevt.getNamespaceURI(); } for (int i = 0; i < listeners.length; i++) { try { String listenerNS = listeners[i].getNamespaceURI(); if (listenerNS != null && eventNS != null && !listenerNS.equals(eventNS)) { continue; } Object group = listeners[i].getGroup(); if (!stoppedGroups.contains(group)) { listeners[i].getListener().handleEvent(e); if (isCustom) { if (ce.isImmediatePropagationStopped()) { stoppedGroups.add(group); // XXX How to not stop other groups? // Need something like // aevt.stopImmediatePropagation(false); } else if (ce.isPropagationStopped()) { toBeStoppedGroups.add(group); // XXX How to not stop other groups? // Need something like aevt.stopPropagation(false); } } else { if (aevt.getStopImmediatePropagation()) { stoppedGroups.add(group); aevt.stopImmediatePropagation(false); } else if (aevt.getStopPropagation()) { toBeStoppedGroups.add(group); aevt.stopPropagation(false); } } } } catch (ThreadDeath td) { throw td; } catch (Throwable th) { th.printStackTrace(); } } }
|
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/4a2d10461f1455f5c0538982e50f935f8e49c347/EventSupport.java/clean/sources/org/apache/batik/dom/events/EventSupport.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
15659,
5583,
12,
907,
1133,
2326,
756,
16,
9944,
282,
2587,
425,
16,
4766,
6647,
1250,
999,
12372,
16,
4766,
6647,
6847,
9627,
3621,
16,
4766,
6647,
6847,
21333,
15294,
3621,
16,
4766,
6647,
1250,
353,
3802,
13,
288,
202,
780,
618,
273,
425,
18,
588,
559,
5621,
202,
1133,
6289,
2865,
273,
756,
18,
588,
1133,
6289,
5621,
202,
759,
866,
309,
326,
871,
2865,
711,
2118,
17651,
202,
430,
261,
13261,
422,
446,
13,
288,
202,
565,
327,
31,
202,
97,
3639,
22090,
682,
666,
273,
2865,
18,
588,
30275,
12,
723,
16,
999,
12372,
1769,
202,
759,
866,
309,
326,
871,
4679,
666,
353,
486,
1008,
202,
430,
261,
1098,
422,
446,
13,
288,
202,
565,
327,
31,
202,
97,
202,
759,
4657,
871,
4679,
16,
732,
336,
326,
4104,
4679,
3741,
59,
202,
7375,
682,
18,
1622,
8526,
4679,
273,
666,
18,
588,
30275,
5621,
202,
759,
866,
309,
871,
4679,
598,
326,
3434,
871,
618,
1005,
202,
430,
261,
16072,
422,
446,
13,
288,
202,
565,
327,
31,
202,
97,
202,
759,
4452,
871,
4679,
3639,
6082,
1133,
5898,
273,
446,
31,
3639,
4115,
1133,
14221,
11734,
273,
446,
31,
3639,
514,
871,
3156,
31,
3639,
309,
261,
291,
3802,
13,
288,
5411,
5898,
273,
261,
3802,
1133,
13,
425,
31,
5411,
871,
3156,
273,
5898,
18,
588,
3402,
3098,
5621,
3639,
289,
469,
288,
5411,
14221,
11734,
273,
261,
7469,
1133,
13,
425,
31,
5411,
871,
3156,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
15659,
5583,
12,
907,
1133,
2326,
756,
16,
9944,
282,
2587,
425,
16,
4766,
6647,
1250,
999,
12372,
16,
4766,
6647,
6847,
9627,
3621,
16,
4766,
6647,
6847,
21333,
15294,
3621,
16,
4766,
6647,
1250,
353,
3802,
13,
288,
202,
780,
618,
273,
425,
18,
588,
559,
5621,
202,
1133,
6289,
2865,
273,
756,
18,
588,
1133,
6289,
5621,
202,
759,
866,
309,
326,
871,
2865,
711,
2118,
17651,
202,
430,
261,
13261,
422,
446,
13,
288,
202,
565,
327,
31,
202,
97,
3639,
22090,
682,
666,
273,
2865,
18,
588,
30275,
12,
723,
16,
999,
12372,
1769,
202,
759,
866,
309,
326,
871,
4679,
666,
353,
486,
1008,
202,
430,
261,
1098,
422,
446,
2
] |
throw getRuntime().newNameError("uninitialized class variable " + name + " in " + getName());
|
throw getRuntime().newNameError("uninitialized class variable " + name + " in " + getName(), name);
|
public IRubyObject getClassVar(String name) { RubyModule module = getModuleWithInstanceVar(name); if (module != null) { IRubyObject variable = module.getInstanceVariable(name); return variable == null ? getRuntime().getNil() : variable; } throw getRuntime().newNameError("uninitialized class variable " + name + " in " + getName()); }
|
49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/1278c5bb3507a052d150d814f15453542ae41aed/RubyModule.java/clean/src/org/jruby/RubyModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
2900,
1537,
12,
780,
508,
13,
288,
3639,
19817,
3120,
1605,
273,
11251,
1190,
1442,
1537,
12,
529,
1769,
7734,
309,
261,
2978,
480,
446,
13,
288,
540,
202,
7937,
10340,
921,
2190,
273,
1605,
18,
588,
1442,
3092,
12,
529,
1769,
1850,
202,
5411,
327,
2190,
422,
446,
692,
18814,
7675,
588,
12616,
1435,
294,
2190,
31,
3639,
289,
7734,
604,
18814,
7675,
2704,
461,
668,
2932,
318,
13227,
667,
2190,
315,
397,
508,
397,
315,
316,
315,
397,
1723,
9334,
508,
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,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,
540,
202,
7937,
10340,
921,
2190,
273,
1605,
18,
588,
1442,
3092,
12,
529,
1769,
1850,
202,
5411,
327,
2190,
422,
446,
692,
18814,
7675,
588,
12616,
1435,
294,
2190,
31,
3639,
289,
7734,
604,
18814,
7675,
2704,
461,
668,
2932,
318,
13227,
667,
2190,
315,
397,
508,
397,
315,
316,
315,
397,
1723,
9334,
508,
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
] |
}
|
}
|
public int getChildCount(Object value0) { return 0; // TODO } // getChildCount()
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/affa0d2d6f465179c4324a2357a64c93083d6c43/DefaultTreeModel.java/clean/core/src/classpath/javax/javax/swing/tree/DefaultTreeModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
27157,
12,
921,
460,
20,
13,
288,
202,
202,
2463,
374,
31,
368,
2660,
202,
97,
368,
27157,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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326,
981,
30,
225,
202,
482,
509,
27157,
12,
921,
460,
20,
13,
288,
202,
202,
2463,
374,
31,
368,
2660,
202,
97,
368,
27157,
1435,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
logInvPG=inv; if(logInvPG != null) { logToExcelOutput(logInvPG.getWithdrawList(), logInvPG.getProjWithdrawList(), logInvPG.getActualDemandTasksList(), logInvPG.getSupplyList(), logInvPG.getProjSupplyList(), logInvPG.getBufferedCritLevels(), logInvPG.getBufferedInvLevels(), logInvPG.getBufferedTargetLevels(), aCycleStamp); } }
|
logInvPG = inv; if (logInvPG != null) { logToExcelOutput(logInvPG.getWithdrawList(), logInvPG.getProjWithdrawList(), logInvPG.getActualDemandTasksList(), logInvPG.getSupplyList(), logInvPG.getProjSupplyList(), logInvPG.getBufferedCritLevels(), logInvPG.getBufferedInvLevels(), logInvPG.getBufferedTargetLevels(), aCycleStamp); } }
|
public void logToExcelOutput(LogisticsInventoryPG inv, long aCycleStamp) { logInvPG=inv;if(logInvPG != null) {logToExcelOutput(logInvPG.getWithdrawList(),logInvPG.getProjWithdrawList(),logInvPG.getActualDemandTasksList(),logInvPG.getSupplyList(),logInvPG.getProjSupplyList(),logInvPG.getBufferedCritLevels(),logInvPG.getBufferedInvLevels(),logInvPG.getBufferedTargetLevels(),aCycleStamp);}}
|
11319 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11319/6067a66e7bcded775432f69ba28faa00558f443a/LogisticsInventoryFormatter.java/clean/bbn/src/org/cougaar/logistics/plugin/inventory/LogisticsInventoryFormatter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
613,
774,
7177,
1447,
12,
1343,
4287,
15059,
18679,
2198,
16,
6862,
1525,
279,
13279,
8860,
13,
288,
202,
1330,
3605,
18679,
33,
5768,
31,
430,
12,
1330,
3605,
18679,
480,
446,
13,
288,
1330,
774,
7177,
1447,
12,
1330,
3605,
18679,
18,
588,
1190,
9446,
682,
9334,
1330,
3605,
18679,
18,
588,
626,
78,
1190,
9446,
682,
9334,
1330,
3605,
18679,
18,
588,
11266,
25461,
6685,
682,
9334,
1330,
3605,
18679,
18,
588,
3088,
1283,
682,
9334,
1330,
3605,
18679,
18,
588,
626,
78,
3088,
1283,
682,
9334,
1330,
3605,
18679,
18,
588,
17947,
39,
583,
12240,
9334,
1330,
3605,
18679,
18,
588,
17947,
3605,
12240,
9334,
1330,
3605,
18679,
18,
588,
17947,
2326,
12240,
9334,
69,
13279,
8860,
1769,
9090,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
613,
774,
7177,
1447,
12,
1343,
4287,
15059,
18679,
2198,
16,
6862,
1525,
279,
13279,
8860,
13,
288,
202,
1330,
3605,
18679,
33,
5768,
31,
430,
12,
1330,
3605,
18679,
480,
446,
13,
288,
1330,
774,
7177,
1447,
12,
1330,
3605,
18679,
18,
588,
1190,
9446,
682,
9334,
1330,
3605,
18679,
18,
588,
626,
78,
1190,
9446,
682,
9334,
1330,
3605,
18679,
18,
588,
11266,
25461,
6685,
682,
9334,
1330,
3605,
18679,
18,
588,
3088,
1283,
682,
9334,
1330,
3605,
18679,
18,
588,
626,
78,
3088,
1283,
682,
9334,
1330,
3605,
18679,
18,
588,
17947,
39,
583,
12240,
9334,
1330,
3605,
18679,
18,
588,
17947,
3605,
12240,
9334,
1330,
3605,
18679,
18,
588,
17947,
2326,
12240,
9334,
2
] |
waitTime = now + (long) (t2 * 1000) - 2000;;
|
waitTime = now + (long) (t2 * 1000) - 2000;
|
public void run() { try { try { long now = System.currentTimeMillis(); time.setTime(new Date(now)); float t = timedDocumentRoot.convertWallclockTime(time); if (Math.floor(t) > second) { second = Math.floor(t); // System.err.println("fps: " + frames); frames = 0; } float t2 = tick(t, false); if (t2 == Float.POSITIVE_INFINITY) { waitTime = Long.MAX_VALUE; } else { waitTime = now + (long) (t2 * 1000) - 2000;; } frames++; } catch (AnimationException ex) { throw new BridgeException(ctx, ex.getElement().getElement(), ex.getMessage()); } } catch (BridgeException ex) { if (ctx.getUserAgent() == null) { ex.printStackTrace(); } else { ctx.getUserAgent().displayError(ex); } } //Thread.yield(); try { Thread.sleep(1); } catch (InterruptedException ie) { } }
|
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/28c10db70bd8684137bea41e4d2b14b11a43da23/SVGAnimationEngine.java/clean/sources/org/apache/batik/bridge/SVGAnimationEngine.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
5411,
775,
288,
7734,
775,
288,
10792,
1525,
2037,
273,
2332,
18,
2972,
28512,
5621,
10792,
813,
18,
542,
950,
12,
2704,
2167,
12,
3338,
10019,
10792,
1431,
268,
273,
7491,
2519,
2375,
18,
6283,
26558,
18517,
950,
12,
957,
1769,
10792,
309,
261,
10477,
18,
74,
5807,
12,
88,
13,
405,
2205,
13,
288,
13491,
2205,
273,
2361,
18,
74,
5807,
12,
88,
1769,
13491,
368,
2332,
18,
370,
18,
8222,
2932,
74,
1121,
30,
315,
397,
7793,
1769,
13491,
7793,
273,
374,
31,
10792,
289,
10792,
1431,
268,
22,
273,
4024,
12,
88,
16,
629,
1769,
10792,
309,
261,
88,
22,
422,
5450,
18,
7057,
16325,
67,
17716,
13,
288,
13491,
30452,
273,
3407,
18,
6694,
67,
4051,
31,
10792,
289,
469,
288,
13491,
30452,
273,
2037,
397,
261,
5748,
13,
261,
88,
22,
380,
4336,
13,
300,
16291,
31,
10792,
289,
10792,
7793,
9904,
31,
7734,
289,
1044,
261,
10816,
503,
431,
13,
288,
10792,
604,
394,
24219,
503,
12,
5900,
16,
431,
18,
21336,
7675,
21336,
9334,
4766,
2868,
431,
18,
24906,
10663,
7734,
289,
5411,
289,
1044,
261,
13691,
503,
431,
13,
288,
7734,
309,
261,
5900,
18,
588,
12276,
1435,
422,
446,
13,
288,
10792,
431,
18,
1188,
6332,
5621,
7734,
289,
469,
288,
10792,
1103,
18,
588,
12276,
7675,
5417,
668,
12,
338,
1769,
7734,
289,
5411,
289,
5411,
368,
3830,
18,
23604,
5621,
5411,
775,
288,
7734,
4884,
18,
19607,
12,
21,
1769,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
5411,
775,
288,
7734,
775,
288,
10792,
1525,
2037,
273,
2332,
18,
2972,
28512,
5621,
10792,
813,
18,
542,
950,
12,
2704,
2167,
12,
3338,
10019,
10792,
1431,
268,
273,
7491,
2519,
2375,
18,
6283,
26558,
18517,
950,
12,
957,
1769,
10792,
309,
261,
10477,
18,
74,
5807,
12,
88,
13,
405,
2205,
13,
288,
13491,
2205,
273,
2361,
18,
74,
5807,
12,
88,
1769,
13491,
368,
2332,
18,
370,
18,
8222,
2932,
74,
1121,
30,
315,
397,
7793,
1769,
13491,
7793,
273,
374,
31,
10792,
289,
10792,
1431,
268,
22,
273,
4024,
12,
88,
16,
629,
1769,
10792,
309,
261,
88,
22,
422,
5450,
18,
7057,
16325,
67,
17716,
13,
288,
13491,
2
] |
AST tmp1329_AST_in = (AST)_t;
|
AST tmp1328_AST_in = (AST)_t;
|
public final void function_param_arg(AST _t) throws RecognitionException { AST function_param_arg_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST id2 = null; AST ds = null; AST dsh = null; AST id = null; AST as = null; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case TABLE: { AST tmp1328_AST_in = (AST)_t; match(_t,TABLE); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case FOR: { AST tmp1329_AST_in = (AST)_t; match(_t,FOR); _t = _t.getNextSibling(); break; } case RECORD_NAME: { break; } default: { throw new NoViableAltException(_t); } } } tbl(_t,CQ.TEMPTABLESYMBOL); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case APPEND: { AST tmp1330_AST_in = (AST)_t; match(_t,APPEND); _t = _t.getNextSibling(); break; } case 3: case BIND: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case BIND: { AST tmp1331_AST_in = (AST)_t; match(_t,BIND); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } break; } case TABLEHANDLE: { AST tmp1332_AST_in = (AST)_t; match(_t,TABLEHANDLE); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case FOR: { AST tmp1333_AST_in = (AST)_t; match(_t,FOR); _t = _t.getNextSibling(); break; } case ID: { break; } default: { throw new NoViableAltException(_t); } } } id2 = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case APPEND: { AST tmp1334_AST_in = (AST)_t; match(_t,APPEND); _t = _t.getNextSibling(); break; } case 3: case BIND: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case BIND: { AST tmp1335_AST_in = (AST)_t; match(_t,BIND); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } if ( inputState.guessing==0 ) { action.addToSymbolScope(action.defineVariable(id2, id2, HANDLE)); } break; } case DATASET: { AST tmp1336_AST_in = (AST)_t; match(_t,DATASET); _t = _t.getNextSibling(); ds = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case APPEND: { AST tmp1337_AST_in = (AST)_t; match(_t,APPEND); _t = _t.getNextSibling(); break; } case 3: case BIND: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case BIND: { AST tmp1338_AST_in = (AST)_t; match(_t,BIND); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } if ( inputState.guessing==0 ) { action.addToSymbolScope(action.defineSymbol(DATASET, ds, ds)); } break; } case DATASETHANDLE: { AST tmp1339_AST_in = (AST)_t; match(_t,DATASETHANDLE); _t = _t.getNextSibling(); dsh = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case APPEND: { AST tmp1340_AST_in = (AST)_t; match(_t,APPEND); _t = _t.getNextSibling(); break; } case 3: case BIND: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case BIND: { AST tmp1341_AST_in = (AST)_t; match(_t,BIND); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } if ( inputState.guessing==0 ) { action.addToSymbolScope(action.defineVariable(dsh, dsh, HANDLE)); } break; } case CHARACTER: case COMHANDLE: case DATE: case DECIMAL: case HANDLE: case INTEGER: case LOGICAL: case MEMPTR: case RAW: case RECID: case ROWID: case WIDGETHANDLE: case ID: case DATETIME: case DATETIMETZ: case LONGCHAR: case CLASS: case TYPE_NAME: { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ID: { id = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); as = (AST)_t; match(_t,AS); _t = _t.getNextSibling(); break; } case CHARACTER: case COMHANDLE: case DATE: case DECIMAL: case HANDLE: case INTEGER: case LOGICAL: case MEMPTR: case RAW: case RECID: case ROWID: case WIDGETHANDLE: case DATETIME: case DATETIMETZ: case LONGCHAR: case CLASS: case TYPE_NAME: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case CLASS: { AST tmp1342_AST_in = (AST)_t; match(_t,CLASS); _t = _t.getNextSibling(); AST tmp1343_AST_in = (AST)_t; match(_t,TYPE_NAME); _t = _t.getNextSibling(); break; } case CHARACTER: case COMHANDLE: case DATE: case DECIMAL: case HANDLE: case INTEGER: case LOGICAL: case MEMPTR: case RAW: case RECID: case ROWID: case WIDGETHANDLE: case DATETIME: case DATETIMETZ: case LONGCHAR: case TYPE_NAME: { datatype_var(_t); _t = _retTree; break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EXTENT: { extentphrase(_t); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } if ( inputState.guessing==0 ) { if (id != null) { action.addToSymbolScope(action.defineVariable(id, id)); action.defAs(as); } } break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/041a16c78289f1c3ae5e575d3edc5e893a658e50/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
445,
67,
891,
67,
3175,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
445,
67,
891,
67,
3175,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
202,
202,
9053,
612,
22,
273,
446,
31,
202,
202,
9053,
3780,
273,
446,
31,
202,
202,
9053,
302,
674,
273,
446,
31,
202,
202,
9053,
612,
273,
446,
31,
202,
202,
9053,
487,
273,
446,
31,
9506,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
7567,
30,
202,
202,
95,
1082,
202,
9053,
1853,
22152,
28,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
7775,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
1082,
202,
95,
1082,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
1082,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
1082,
202,
3593,
12108,
30,
1082,
202,
95,
9506,
202,
9053,
1853,
22152,
29,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
9506,
202,
1916,
24899,
88,
16,
7473,
1769,
9506,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
9506,
202,
8820,
31,
1082,
202,
97,
1082,
202,
3593,
24346,
67,
1985,
30,
1082,
202,
95,
9506,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
445,
67,
891,
67,
3175,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
445,
67,
891,
67,
3175,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
202,
202,
9053,
612,
22,
273,
446,
31,
202,
202,
9053,
3780,
273,
446,
31,
202,
202,
9053,
302,
674,
273,
446,
31,
202,
202,
9053,
612,
273,
446,
31,
202,
202,
9053,
487,
273,
446,
31,
9506,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
7567,
30,
202,
202,
95,
1082,
2
] |
addByteCode(ByteCode.CHECKCAST, "org/mozilla/javascript/Scriptable"); addByteCode(ByteCode.ARETURN); markLabel(exitLabel);
|
cfw.add(ByteCode.CHECKCAST, "org/mozilla/javascript/Scriptable"); cfw.add(ByteCode.ARETURN); cfw.markLabel(exitLabel);
|
private void emitDirectConstructor() {/* we generate .. Scriptable directConstruct(<directCallArgs>) { Scriptable newInstance = createObject(cx, scope); Object val = callDirect(cx, scope, newInstance, <directCallArgs>); if (val instanceof Scriptable && val != Undefined.instance) { return (Scriptable) val; } return newInstance; }*/ short flags = (short)(ClassFileWriter.ACC_PUBLIC | ClassFileWriter.ACC_FINAL); classFile.startMethod("constructDirect", fnCurrent.getDirectCallMethodSignature(), flags); int argCount = fnCurrent.getParamCount(); int firstLocal = (4 + argCount * 3) + 1; aload((short)0); // this aload((short)1); // cx aload((short)2); // scope addVirtualInvoke("org/mozilla/javascript/BaseFunction", "createObject", "(Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +")Lorg/mozilla/javascript/Scriptable;"); astore((short)firstLocal); aload((short)0); aload((short)1); aload((short)2); aload((short)firstLocal); for (int i = 0; i < argCount; i++) { aload((short)(4 + (i * 3))); dload((short)(5 + (i * 3))); } aload((short)(4 + argCount * 3)); addVirtualInvoke(generatedClassName, "callDirect", fnCurrent.getDirectCallMethodSignature()); int exitLabel = acquireLabel(); addByteCode(ByteCode.DUP); // make a copy of callDirect result addByteCode(ByteCode.INSTANCEOF, "org/mozilla/javascript/Scriptable"); addByteCode(ByteCode.IFEQ, exitLabel); addByteCode(ByteCode.DUP); // make a copy of callDirect result pushUndefined(); addByteCode(ByteCode.IF_ACMPEQ, exitLabel); // cast callDirect result addByteCode(ByteCode.CHECKCAST, "org/mozilla/javascript/Scriptable"); addByteCode(ByteCode.ARETURN); markLabel(exitLabel); aload((short)firstLocal); addByteCode(ByteCode.ARETURN); classFile.stopMethod((short)(firstLocal + 1), null); }
|
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/bd2594e6ebd6d8099b587934641c8f7650d87761/Codegen.java/clean/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3626,
5368,
6293,
1435,
565,
288,
20308,
565,
732,
2103,
6116,
3639,
22780,
2657,
7249,
12,
32,
7205,
1477,
2615,
23429,
288,
5411,
22780,
5984,
273,
17109,
12,
71,
92,
16,
2146,
1769,
5411,
1033,
1244,
273,
745,
5368,
12,
71,
92,
16,
2146,
16,
5984,
16,
411,
7205,
1477,
2615,
34,
1769,
5411,
309,
261,
1125,
1276,
22780,
597,
1244,
480,
22243,
18,
1336,
13,
288,
7734,
327,
261,
3651,
429,
13,
1244,
31,
5411,
289,
5411,
327,
5984,
31,
3639,
289,
5549,
3639,
3025,
2943,
273,
261,
6620,
21433,
797,
812,
2289,
18,
31414,
67,
14939,
18701,
571,
30614,
2289,
18,
31414,
67,
7263,
1013,
1769,
3639,
29728,
18,
1937,
1305,
2932,
10062,
5368,
3113,
17311,
2295,
3935,
18,
588,
5368,
1477,
1305,
5374,
9334,
17311,
2943,
1769,
3639,
509,
1501,
1380,
273,
2295,
3935,
18,
588,
786,
1380,
5621,
3639,
509,
1122,
2042,
273,
261,
24,
397,
1501,
1380,
380,
890,
13,
397,
404,
31,
3639,
279,
945,
12443,
6620,
13,
20,
1769,
368,
333,
3639,
279,
945,
12443,
6620,
13,
21,
1769,
368,
9494,
3639,
279,
945,
12443,
6620,
13,
22,
1769,
368,
2146,
3639,
527,
6466,
10969,
2932,
3341,
19,
8683,
15990,
19,
11242,
19,
2171,
2083,
3113,
7682,
315,
2640,
921,
3113,
7682,
7751,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
1042,
4868,
7682,
397,
6,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
3651,
429,
4868,
7682,
397,
7923,
48,
3341,
19,
8683,
15990,
19,
11242,
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,
3626,
5368,
6293,
1435,
565,
288,
20308,
565,
732,
2103,
6116,
3639,
22780,
2657,
7249,
12,
32,
7205,
1477,
2615,
23429,
288,
5411,
22780,
5984,
273,
17109,
12,
71,
92,
16,
2146,
1769,
5411,
1033,
1244,
273,
745,
5368,
12,
71,
92,
16,
2146,
16,
5984,
16,
411,
7205,
1477,
2615,
34,
1769,
5411,
309,
261,
1125,
1276,
22780,
597,
1244,
480,
22243,
18,
1336,
13,
288,
7734,
327,
261,
3651,
429,
13,
1244,
31,
5411,
289,
5411,
327,
5984,
31,
3639,
289,
5549,
3639,
3025,
2943,
273,
261,
6620,
21433,
797,
812,
2289,
18,
31414,
67,
14939,
18701,
571,
30614,
2289,
18,
31414,
67,
7263,
1013,
1769,
3639,
29728,
18,
1937,
1305,
2932,
10062,
5368,
2
] |
funcCtx = funcCtx.getParentContext();
|
else { break; }
|
public Function getFunction(QName functionName, Object[] parameters){ String namespace = functionName.getPrefix(); String name = functionName.getName(); JXPathContext funcCtx = this; Function func = null; Functions funcs; while (funcCtx != null){ funcs = funcCtx.getFunctions(); func = funcs.getFunction(namespace, name, parameters); if (func != null){ return func; } funcCtx = funcCtx.getParentContext(); } func = genericFunctions.getFunction(namespace, name, parameters); if (func != null){ return func; } throw new RuntimeException("Undefined function: " + functionName.asString()); }
|
52531 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52531/207c6dd98407506ff367d072be25b56f37989215/JXPathContextReferenceImpl.java/buggy/src/java/org/apache/commons/jxpath/ri/JXPathContextReferenceImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4284,
18697,
12,
13688,
14117,
16,
1033,
8526,
1472,
15329,
3639,
514,
1981,
273,
14117,
18,
588,
2244,
5621,
3639,
514,
508,
273,
14117,
18,
17994,
5621,
3639,
804,
14124,
1042,
1326,
6442,
273,
333,
31,
3639,
4284,
1326,
273,
446,
31,
3639,
15486,
15630,
31,
3639,
1323,
261,
644,
6442,
480,
446,
15329,
5411,
15630,
273,
1326,
6442,
18,
588,
7503,
5621,
5411,
1326,
273,
15630,
18,
588,
2083,
12,
4937,
16,
508,
16,
1472,
1769,
5411,
309,
261,
644,
480,
446,
15329,
7734,
327,
1326,
31,
5411,
289,
6647,
469,
288,
898,
31,
289,
3639,
289,
3639,
1326,
273,
5210,
7503,
18,
588,
2083,
12,
4937,
16,
508,
16,
1472,
1769,
3639,
309,
261,
644,
480,
446,
15329,
5411,
327,
1326,
31,
3639,
289,
3639,
604,
394,
3235,
2932,
10317,
445,
30,
315,
397,
14117,
18,
345,
780,
10663,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4284,
18697,
12,
13688,
14117,
16,
1033,
8526,
1472,
15329,
3639,
514,
1981,
273,
14117,
18,
588,
2244,
5621,
3639,
514,
508,
273,
14117,
18,
17994,
5621,
3639,
804,
14124,
1042,
1326,
6442,
273,
333,
31,
3639,
4284,
1326,
273,
446,
31,
3639,
15486,
15630,
31,
3639,
1323,
261,
644,
6442,
480,
446,
15329,
5411,
15630,
273,
1326,
6442,
18,
588,
7503,
5621,
5411,
1326,
273,
15630,
18,
588,
2083,
12,
4937,
16,
508,
16,
1472,
1769,
5411,
309,
261,
644,
480,
446,
15329,
7734,
327,
1326,
31,
5411,
289,
6647,
469,
288,
898,
31,
289,
3639,
289,
3639,
1326,
273,
5210,
7503,
18,
588,
2083,
12,
4937,
16,
508,
16,
1472,
1769,
3639,
309,
261,
644,
2
] |
return (DynaClass)dynaClass;
|
return dynaClass;
|
public DynaClass getDynaClass() { return (DynaClass)dynaClass; }
|
54521 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54521/563cb810bc92fd1ec7cc4af1bcde00af99056757/LazyDynaBean.java/buggy/src/java/org/apache/commons/beanutils/LazyDynaBean.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
463,
23041,
797,
2343,
23041,
797,
1435,
288,
3639,
327,
19417,
69,
797,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
463,
23041,
797,
2343,
23041,
797,
1435,
288,
3639,
327,
19417,
69,
797,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 void prepareParameterBean( HttpServletRequest request, IViewerReportService service, ScalarParameterBean parameterBean, Locale locale ) throws ReportServiceException
|
public static void prepareParameterBean( IViewerReportDesignHandle designHandle, IViewerReportService service, HttpServletRequest request, ScalarParameterBean parameterBean, ParameterDefinition parameter, Locale locale, boolean isDesigner ) throws ReportServiceException
|
protected void prepareParameterBean( HttpServletRequest request, IViewerReportService service, ScalarParameterBean parameterBean, Locale locale ) throws ReportServiceException { }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/67113f256fa817ffd68ab02bb47526a967d3b869/ScalarParameterFragment.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/presentation/aggregation/parameter/ScalarParameterFragment.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
2911,
1662,
3381,
12,
9984,
590,
16,
1082,
202,
45,
18415,
4820,
1179,
1156,
16,
15791,
1662,
3381,
1569,
3381,
16,
1082,
202,
3916,
2573,
262,
1216,
8706,
15133,
202,
95,
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,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
2911,
1662,
3381,
12,
9984,
590,
16,
1082,
202,
45,
18415,
4820,
1179,
1156,
16,
15791,
1662,
3381,
1569,
3381,
16,
1082,
202,
3916,
2573,
262,
1216,
8706,
15133,
202,
95,
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
] |
if ( documentMapper.userHasAtLeastDocumentReadPermission( user, document) && imcref.checkDocAdminRights( intMetaId, user ) ) {
|
if ( user.canAccess( document ) && imcref.checkDocAdminRights( intMetaId, user ) ) {
|
public void doGet( HttpServletRequest req, HttpServletResponse res ) throws ServletException, IOException { // Lets get the parameters and validate them Properties params = this.getParameters( req ); UserDomainObject user = Utility.getLoggedOnUser( req ); if ( !isUserAuthorized( req, res, user ) ) { return; } // Lets get the replylist from DB String discId = params.getProperty( "DISC_ID" ); String userId = ""; // Lets update the sessions DISC_ID HttpSession session = req.getSession( false ); if ( session != null ) { session.setAttribute( "Conference.disc_id", discId ); userId = (String)session.getAttribute( "Conference.user_id" ); } // Lets get serverinformation ImcmsServices imcref = Imcms.getServices(); String[][] sqlAnswer = imcref.sqlProcedureMulti( "A_GetAllRepliesInDisc", new String[]{discId, userId} ); // Lets get the discussion header String discHeader = imcref.sqlProcedureStr( "A_GetDiscussionHeader", new String[]{discId} ); if ( discHeader == null || discId.equalsIgnoreCase( "-1" ) ) discHeader = " "; // THIS CODE IS USED IF WE WANT RADIOBUTTONS // UsersSortOrderRadioButtons String metaId = params.getProperty( "META_ID" ); int intMetaId = Integer.parseInt( metaId ); String sortOrderValue = imcref.sqlProcedureStr( "A_ConfUsersGetReplyOrderSel", new String[]{metaId, userId} ); String ascState = ""; String descState = ""; String ascVal = "0"; if ( sortOrderValue.equalsIgnoreCase( "1" ) ) ascState = "checked"; else descState = "checked"; // SYNTAX: date first_name last_name headline text reply_level // Lets build our variable list Vector tagsV = new Vector(); tagsV.add( "#REPLY_DATE#" ); tagsV.add( "#FIRST_NAME#" ); tagsV.add( "#LAST_NAME#" ); tagsV.add( "#REPLY_HEADER#" ); tagsV.add( "#REPLY_TEXT#" ); tagsV.add( "#REPLY_LEVEL#" ); // Lets get path to the imagefolder. http://dev.imcode.com/images/102/ConfDiscNew.gif String imagePath = super.getExternalImageFolder( req ) + "ConfExpert.gif"; // Lets get the part of the expert html // Lets get the part of an html page, wich will be parsed for every a Href reference File templateLib = super.getExternalTemplateFolder( req ); File aSnippetFile = new File( templateLib, RECS_HTML ); // Lets update the discussion list this.updateDiscFlagList( req, discId ); // Lets preparse all records String allRecs = " "; if ( sqlAnswer != null ) allRecs = preParse( sqlAnswer, tagsV, aSnippetFile, imagePath ); // Lets build the Responsepage //lets generate the buttons that should appear String commentButton = " "; //lets show comment button if user has more than readrights DocumentMapper documentMapper = imcref.getDocumentMapper(); DocumentDomainObject document = documentMapper.getDocument(intMetaId); if ( documentMapper.userHasAtLeastDocumentReadPermission( user, document) && imcref.checkDocAdminRights( intMetaId, user ) ) { VariableManager vmButtons = new VariableManager(); vmButtons.addProperty( "#SERVLET_URL#", "" ); vmButtons.addProperty( "#IMAGE_URL#", this.getExternalImageFolder( req ) ); commentButton = getTemplate( NEW_COMMENT_TEMPLATE, user, vmButtons.getTagsAndData() ); } VariableManager vm = new VariableManager(); vm.addProperty( "NEW_COMMENT", commentButton ); vm.addProperty( "USER_SORT_ORDER", ascVal ); vm.addProperty( "CHECKBOX_STATE_ASC", ascState ); vm.addProperty( "CHECKBOX_STATE_DESC", descState ); vm.addProperty( "REPLIES_RECORDS", allRecs ); vm.addProperty( "CURRENT_DISCUSSION_HEADER", discHeader ); vm.addProperty( "ADMIN_LINK_HTML", ADMIN_LINK_TEMPLATE ); this.sendHtml( req, res, vm, HTML_TEMPLATE ); }
|
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/87490680132ae04c68e0ba85f62f842824f80fd1/ConfReply.java/buggy/server/src/com/imcode/imcms/servlet/conference/ConfReply.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
23611,
12,
9984,
1111,
16,
12446,
400,
262,
1216,
16517,
16,
1860,
288,
3639,
368,
511,
2413,
336,
326,
1472,
471,
1954,
2182,
3639,
6183,
859,
273,
333,
18,
588,
2402,
12,
1111,
11272,
3639,
2177,
3748,
921,
729,
273,
13134,
18,
588,
19862,
1398,
1299,
12,
1111,
11272,
3639,
309,
261,
401,
291,
1299,
15341,
12,
1111,
16,
400,
16,
729,
262,
262,
288,
5411,
327,
31,
3639,
289,
3639,
368,
511,
2413,
336,
326,
4332,
1098,
628,
2383,
3639,
514,
19169,
548,
273,
859,
18,
588,
1396,
12,
315,
2565,
2312,
67,
734,
6,
11272,
3639,
514,
6249,
273,
1408,
31,
3639,
368,
511,
2413,
1089,
326,
8856,
3690,
2312,
67,
734,
3639,
26166,
1339,
273,
1111,
18,
588,
2157,
12,
629,
11272,
3639,
309,
261,
1339,
480,
446,
262,
288,
5411,
1339,
18,
542,
1499,
12,
315,
23870,
18,
2251,
71,
67,
350,
3113,
19169,
548,
11272,
5411,
6249,
273,
261,
780,
13,
3184,
18,
588,
1499,
12,
315,
23870,
18,
1355,
67,
350,
6,
11272,
3639,
289,
3639,
368,
511,
2413,
336,
1438,
13117,
3639,
2221,
6851,
5676,
709,
71,
1734,
273,
2221,
6851,
18,
588,
5676,
5621,
3639,
514,
63,
6362,
65,
1847,
13203,
273,
709,
71,
1734,
18,
4669,
17213,
5002,
12,
315,
37,
67,
21413,
17647,
382,
28912,
3113,
394,
514,
63,
7073,
2251,
71,
548,
16,
6249,
97,
11272,
3639,
368,
511,
2413,
336,
326,
14716,
1446,
3639,
514,
19169,
1864,
273,
709,
71,
1734,
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,
1071,
918,
23611,
12,
9984,
1111,
16,
12446,
400,
262,
1216,
16517,
16,
1860,
288,
3639,
368,
511,
2413,
336,
326,
1472,
471,
1954,
2182,
3639,
6183,
859,
273,
333,
18,
588,
2402,
12,
1111,
11272,
3639,
2177,
3748,
921,
729,
273,
13134,
18,
588,
19862,
1398,
1299,
12,
1111,
11272,
3639,
309,
261,
401,
291,
1299,
15341,
12,
1111,
16,
400,
16,
729,
262,
262,
288,
5411,
327,
31,
3639,
289,
3639,
368,
511,
2413,
336,
326,
4332,
1098,
628,
2383,
3639,
514,
19169,
548,
273,
859,
18,
588,
1396,
12,
315,
2565,
2312,
67,
734,
6,
11272,
3639,
514,
6249,
273,
1408,
31,
3639,
368,
511,
2413,
1089,
326,
8856,
3690,
2312,
67,
734,
3639,
26166,
2
] |
Member member = memberCalc.evaluateMember(evaluator); return ascendants(member);
|
final List list = listCalc.evaluateList(evaluator); return addCalculatedMembers(list, evaluator);
|
public List evaluateList(Evaluator evaluator) { Member member = memberCalc.evaluateMember(evaluator); return ascendants(member); }
|
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/5aca340e1cdbb6179077d96383341db48f0997be/BuiltinFunTable.java/buggy/src/main/mondrian/olap/fun/BuiltinFunTable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
5397,
1071,
987,
5956,
682,
12,
15876,
18256,
13,
288,
13491,
8596,
3140,
273,
3140,
25779,
18,
21024,
4419,
12,
14168,
639,
1769,
13491,
327,
6972,
409,
4388,
12,
5990,
1769,
10792,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
5397,
1071,
987,
5956,
682,
12,
15876,
18256,
13,
288,
13491,
8596,
3140,
273,
3140,
25779,
18,
21024,
4419,
12,
14168,
639,
1769,
13491,
327,
6972,
409,
4388,
12,
5990,
1769,
10792,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public RegexFormatter(String pattern) throws PatternSyntaxException
|
public RegexFormatter()
|
public RegexFormatter(String pattern) throws PatternSyntaxException { this(); setPattern(Pattern.compile(pattern)); }
|
48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/7e1df5432ae96363ad648f8be72faa33ff3f32b5/RegexFormatter.java/buggy/code/src/java/pcgen/gui/utils/RegexFormatter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
15078,
5074,
12,
780,
1936,
13,
1216,
6830,
14714,
202,
95,
202,
202,
2211,
5621,
202,
202,
542,
3234,
12,
3234,
18,
11100,
12,
4951,
10019,
202,
97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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
15078,
5074,
12,
780,
1936,
13,
1216,
6830,
14714,
202,
95,
202,
202,
2211,
5621,
202,
202,
542,
3234,
12,
3234,
18,
11100,
12,
4951,
10019,
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
] |
boolean isValid = true;
|
boolean isValid = true;
|
private static boolean isIDValid(String id) { boolean isValid = true; int pos = id.indexOf('%'); if (pos < 0) { // There is no % in the id. In order to be valid all characters // should be non-special isValid = !hasSpecialChar(id); } else { // There is a % sign in the id. In order to be valid it has // to be in the form X..X%Y..Y, where there should be no // special characters in X..X, and Y..Y should be a hexadecimal // number if (pos + 1 < id.length()) { String start = id.substring(0, pos); String end = id.substring(pos + 1); // Check X..X isValid = !hasSpecialChar(start); if (isValid) { // OK; Check Y..Y try { Integer.parseInt(end, 16); // OK isValid = true; } catch (Exception e) { // Not OK isValid = false; } } } else { // The % sign is in the beginning - bad ID. isValid = false; } } return isValid; }
|
43455 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/43455/0c761c736af622d36b8ce9b201c391d24ce52b89/HistoryID.java/buggy/src/net/java/sip/communicator/service/history/HistoryID.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
1250,
353,
734,
1556,
12,
780,
612,
13,
288,
202,
202,
6494,
4908,
273,
638,
31,
202,
202,
474,
949,
273,
612,
18,
31806,
29909,
8284,
202,
202,
430,
261,
917,
411,
374,
13,
288,
1082,
202,
759,
6149,
353,
1158,
738,
316,
326,
612,
18,
657,
1353,
358,
506,
923,
777,
3949,
1082,
202,
759,
1410,
506,
1661,
17,
9371,
1082,
202,
26810,
273,
401,
5332,
12193,
2156,
12,
350,
1769,
202,
202,
97,
469,
288,
1082,
202,
759,
6149,
353,
279,
738,
1573,
316,
326,
612,
18,
657,
1353,
358,
506,
923,
518,
711,
1082,
202,
759,
358,
506,
316,
326,
646,
1139,
838,
60,
9,
61,
838,
61,
16,
1625,
1915,
1410,
506,
1158,
1082,
202,
759,
4582,
3949,
316,
1139,
838,
60,
16,
471,
1624,
838,
61,
1410,
506,
279,
20070,
1082,
202,
759,
1300,
1082,
202,
430,
261,
917,
397,
404,
411,
612,
18,
2469,
10756,
288,
9506,
202,
780,
787,
273,
612,
18,
28023,
12,
20,
16,
949,
1769,
9506,
202,
780,
679,
273,
612,
18,
28023,
12,
917,
397,
404,
1769,
9506,
202,
759,
2073,
1139,
838,
60,
9506,
202,
26810,
273,
401,
5332,
12193,
2156,
12,
1937,
1769,
9506,
202,
430,
261,
26810,
13,
288,
6862,
202,
759,
7791,
31,
2073,
1624,
838,
61,
6862,
202,
698,
288,
25083,
202,
4522,
18,
2670,
1702,
12,
409,
16,
2872,
1769,
25083,
202,
759,
7791,
25083,
202,
26810,
273,
638,
31,
6862,
202,
97,
1044,
261,
503,
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,
1250,
353,
734,
1556,
12,
780,
612,
13,
288,
202,
202,
6494,
4908,
273,
638,
31,
202,
202,
474,
949,
273,
612,
18,
31806,
29909,
8284,
202,
202,
430,
261,
917,
411,
374,
13,
288,
1082,
202,
759,
6149,
353,
1158,
738,
316,
326,
612,
18,
657,
1353,
358,
506,
923,
777,
3949,
1082,
202,
759,
1410,
506,
1661,
17,
9371,
1082,
202,
26810,
273,
401,
5332,
12193,
2156,
12,
350,
1769,
202,
202,
97,
469,
288,
1082,
202,
759,
6149,
353,
279,
738,
1573,
316,
326,
612,
18,
657,
1353,
358,
506,
923,
518,
711,
1082,
202,
759,
358,
506,
316,
326,
646,
1139,
838,
60,
9,
61,
838,
61,
16,
1625,
1915,
1410,
2
] |
JLabel.CENTER);
|
SwingConstants.CENTER);
|
public void update(Observable o, Object target) { Logger.debug(this, "Move on the connection (?)"); if(o == connection && !connection.isConnected()) { disconnect(); int nmbReconnect = 0; JDialog warningDialog = new JDialog(); warningDialog.setTitle("Thaw - reconnection"); warningDialog.setModal(false); warningDialog.setSize(500, 40); warningDialog.setDefaultCloseOperation(JDialog.HIDE_ON_CLOSE); JPanel warningPanel = new JPanel(); JLabel warningLabel = new JLabel(I18n.getMessage("thaw.warning.autoreconnecting"), JLabel.CENTER); warningPanel.add(warningLabel); warningDialog.setContentPane(warningPanel); warningDialog.setVisible(true); for(nmbReconnect = 0; nmbReconnect < MAX_CONNECT_TRIES ; nmbReconnect++) { try { Thread.sleep(TIME_BETWEEN_EACH_TRY); } catch(java.lang.InterruptedException e) { // brouzouf } Logger.notice(this, "Trying to reconnect ... : "+ Integer.toString(nmbReconnect)); if(initNodeConnection()) break; } warningDialog.setVisible(false); if(nmbReconnect == MAX_CONNECT_TRIES) { while(!initNodeConnection()) { int ret = JOptionPane.showOptionDialog((java.awt.Component)null, I18n.getMessage("thaw.warning.disconnected"), "Thaw - "+I18n.getMessage("thaw.warning.title"), JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE, (javax.swing.Icon)null, (java.lang.Object[])null, (java.lang.Object)null); if(ret == JOptionPane.CLOSED_OPTION || ret == JOptionPane.CANCEL_OPTION || ret == JOptionPane.NO_OPTION) break; } } getPluginManager().stopPlugins(); getPluginManager().loadPlugins(); getPluginManager().runPlugins(); } }
|
47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/88402a3bc59123261d50a7cfed0ac20de2b772f6/Core.java/clean/src/thaw/core/Core.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1089,
12,
15279,
320,
16,
1033,
1018,
13,
288,
202,
202,
3328,
18,
4148,
12,
2211,
16,
315,
7607,
603,
326,
1459,
13590,
2225,
1769,
202,
202,
430,
12,
83,
422,
1459,
597,
401,
4071,
18,
291,
8932,
10756,
288,
1082,
202,
20177,
5621,
1082,
202,
474,
290,
1627,
20427,
273,
374,
31,
1082,
202,
46,
6353,
3436,
6353,
273,
394,
804,
6353,
5621,
1082,
202,
8551,
6353,
18,
542,
4247,
2932,
1315,
2219,
300,
283,
4071,
8863,
1082,
202,
8551,
6353,
18,
542,
20191,
12,
5743,
1769,
1082,
202,
8551,
6353,
18,
542,
1225,
12,
12483,
16,
8063,
1769,
1082,
202,
8551,
6353,
18,
542,
1868,
4605,
2988,
12,
46,
6353,
18,
44,
10385,
67,
673,
67,
13384,
1769,
1082,
202,
46,
5537,
3436,
5537,
273,
394,
24048,
5621,
1082,
202,
46,
2224,
3436,
2224,
273,
394,
21403,
12,
45,
2643,
82,
18,
24906,
2932,
451,
2219,
18,
8551,
18,
5854,
479,
3612,
310,
6,
3631,
6862,
9506,
21403,
18,
19835,
1769,
1082,
202,
8551,
5537,
18,
1289,
12,
8551,
2224,
1769,
1082,
202,
8551,
6353,
18,
542,
1350,
8485,
12,
8551,
5537,
1769,
25083,
202,
8551,
6353,
18,
542,
6207,
12,
3767,
1769,
1082,
202,
1884,
12,
82,
1627,
20427,
273,
374,
31,
9506,
565,
290,
1627,
20427,
411,
4552,
67,
11032,
67,
6566,
3991,
274,
9506,
565,
290,
1627,
20427,
27245,
288,
6862,
9506,
202,
698,
288,
6862,
202,
3830,
18,
19607,
12,
4684,
67,
38,
19311,
67,
41,
18133,
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,
1089,
12,
15279,
320,
16,
1033,
1018,
13,
288,
202,
202,
3328,
18,
4148,
12,
2211,
16,
315,
7607,
603,
326,
1459,
13590,
2225,
1769,
202,
202,
430,
12,
83,
422,
1459,
597,
401,
4071,
18,
291,
8932,
10756,
288,
1082,
202,
20177,
5621,
1082,
202,
474,
290,
1627,
20427,
273,
374,
31,
1082,
202,
46,
6353,
3436,
6353,
273,
394,
804,
6353,
5621,
1082,
202,
8551,
6353,
18,
542,
4247,
2932,
1315,
2219,
300,
283,
4071,
8863,
1082,
202,
8551,
6353,
18,
542,
20191,
12,
5743,
1769,
1082,
202,
8551,
6353,
18,
542,
1225,
12,
12483,
16,
8063,
1769,
1082,
202,
8551,
6353,
18,
542,
1868,
4605,
2988,
12,
46,
6353,
18,
44,
10385,
2
] |
jjAddStates(66, 67); break; case 54: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(55, 56);
|
jjCheckNAddTwoStates(53, 54);
|
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 75; 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 1: if ((0x3ff000000000000L & l) != 0L) { if (kind > 1) kind = 1; jjCheckNAddStates(0, 17); } if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(18, 23); break; case 2: case 41: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(2, 3); break; case 3: if ((0xf00000000000L & l) != 0L) jjCheckNAdd(4); break; case 4: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAdd(4); break; case 5: case 50: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(5, 6); break; case 6: if ((0xf00000000000L & l) != 0L) jjCheckNAdd(7); break; case 7: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(7, 8); break; case 8: if ((0xf00000000000L & l) != 0L) jjCheckNAddTwoStates(9, 10); break; case 9: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(9, 10); break; case 10: case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(6, 11); break; case 12: case 63: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(12, 13); break; case 13: if ((0xf00000000000L & l) != 0L) jjCheckNAdd(14); break; case 14: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(14, 15); break; case 15: if ((0xf00000000000L & l) != 0L) jjCheckNAddTwoStates(16, 17); break; case 16: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(16, 17); break; case 17: case 18: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 19: if ((0xf00000000000L & l) != 0L) jjCheckNAdd(20); break; case 20: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(15, 20); break; case 21: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 1) kind = 1; jjCheckNAddStates(0, 17); break; case 22: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 1) kind = 1; jjCheckNAdd(22); break; case 23: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(24, 26); break; case 24: if ((0x600000000000L & l) != 0L) jjCheckNAddStates(27, 29); break; case 26: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(30, 33); break; case 28: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(34, 36); break; case 29: if (curChar != 46) break; if (kind > 5) kind = 5; jjCheckNAddTwoStates(29, 30); break; case 30: if (curChar == 45) jjCheckNAdd(31); break; case 31: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 5) kind = 5; jjCheckNAddStates(37, 39); break; case 32: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(32, 33); break; case 33: if (curChar == 46) jjCheckNAdd(34); break; case 34: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 6) kind = 6; jjCheckNAddTwoStates(33, 34); break; case 35: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(35, 36); break; case 36: if ((0xf00000000000L & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 37: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: case 39: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAdd(39); break; case 40: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(40, 41); break; case 42: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(42, 43); break; case 43: if ((0xf00000000000L & l) != 0L) jjCheckNAddTwoStates(44, 45); break; case 44: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(44, 45); break; case 45: case 46: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(46, 47); break; case 47: if ((0xf00000000000L & l) != 0L) jjCheckNAdd(48); break; case 48: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(43, 48); break; case 49: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(49, 50); break; case 51: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(51, 52); break; case 52: if ((0xf00000000000L & l) != 0L) jjCheckNAddTwoStates(53, 54); break; case 53: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(53, 54); break; case 54: case 55: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(55, 56); break; case 56: if ((0xf00000000000L & l) != 0L) jjCheckNAdd(57); break; case 57: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(57, 58); break; case 58: if ((0xf00000000000L & l) != 0L) jjCheckNAddTwoStates(59, 60); break; case 59: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(59, 60); break; case 60: case 61: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(56, 61); break; case 62: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(62, 63); break; case 66: if (curChar == 39) jjstateSet[jjnewStateCnt++] = 67; break; case 69: if (curChar == 46) jjCheckNAdd(70); break; case 71: if (curChar != 46) break; if (kind > 3) kind = 3; jjCheckNAdd(70); break; case 73: if (curChar == 38) jjstateSet[jjnewStateCnt++] = 74; break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 1: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(40, 45); if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 1) kind = 1; jjCheckNAddStates(0, 17); } break; case 2: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(46, 47); break; case 3: if (curChar == 95) jjCheckNAdd(4); break; case 4: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAdd(4); break; case 5: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(5, 6); break; case 6: if (curChar == 95) jjCheckNAdd(7); break; case 7: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(7, 8); break; case 8: if (curChar == 95) jjCheckNAddTwoStates(9, 10); break; case 9: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(9, 10); break; case 11: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(6, 11); break; case 12: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(48, 49); break; case 13: if (curChar == 95) jjCheckNAdd(14); break; case 14: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(14, 15); break; case 15: if (curChar == 95) jjCheckNAddTwoStates(16, 17); break; case 16: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(16, 17); break; case 18: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(50, 51); break; case 19: if (curChar == 95) jjCheckNAdd(20); break; case 20: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(15, 20); break; case 21: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 1) kind = 1; jjCheckNAddStates(0, 17); break; case 22: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 1) kind = 1; jjCheckNAdd(22); break; case 23: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(24, 26); break; case 25: if (curChar == 95) jjCheckNAdd(26); break; case 26: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(30, 33); break; case 27: if (curChar == 64) jjCheckNAdd(28); break; case 28: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(34, 36); break; case 31: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 5) kind = 5; jjCheckNAddStates(37, 39); break; case 32: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(32, 33); break; case 34: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 6) kind = 6; jjCheckNAddTwoStates(33, 34); break; case 35: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(35, 36); break; case 36: if (curChar == 95) jjCheckNAddTwoStates(37, 38); break; case 37: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 39: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjstateSet[jjnewStateCnt++] = 39; break; case 40: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(40, 41); break; case 42: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(42, 43); break; case 43: if (curChar == 95) jjCheckNAddTwoStates(44, 45); break; case 44: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(44, 45); break; case 46: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(52, 53); break; case 47: if (curChar == 95) jjCheckNAdd(48); break; case 48: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(43, 48); break; case 49: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(49, 50); break; case 51: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(51, 52); break; case 52: if (curChar == 95) jjCheckNAddTwoStates(53, 54); break; case 53: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(53, 54); break; case 55: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(55, 56); break; case 56: if (curChar == 95) jjCheckNAdd(57); break; case 57: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(57, 58); break; case 58: if (curChar == 95) jjCheckNAddTwoStates(59, 60); break; case 59: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(59, 60); break; case 61: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(56, 61); break; case 62: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(62, 63); break; case 64: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(40, 45); break; case 65: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(65, 66); break; case 67: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 2) kind = 2; jjCheckNAddTwoStates(66, 67); break; case 68: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(68, 69); break; case 70: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(54, 55); break; case 72: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(72, 73); break; case 73: if (curChar == 64) jjCheckNAdd(74); break; case 74: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 4) kind = 4; jjCheckNAdd(74); break; default : break; } } while(i != startsAt); } else { int hiByte = (int)(curChar >> 8); int i1 = hiByte >> 6; long l1 = 1L << (hiByte & 077); int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 1: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) { if (kind > 10) kind = 10; jjCheckNAdd(0); } if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(18, 23); if (jjCanMove_2(hiByte, i1, i2, l1, l2)) { if (kind > 1) kind = 1; jjCheckNAddStates(0, 17); } if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(40, 45); break; case 0: if (!jjCanMove_0(hiByte, i1, i2, l1, l2)) break; if (kind > 10) kind = 10; jjCheckNAdd(0); break; case 2: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(2, 3); break; case 4: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjstateSet[jjnewStateCnt++] = 4; break; case 5: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(5, 6); break; case 7: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(56, 57); break; case 9: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(58, 59); break; case 10: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(6, 11); break; case 11: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(6, 11); break; case 12: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(12, 13); break; case 14: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(14, 15); break; case 16: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(60, 61); break; case 17: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(18, 19); break; case 18: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(18, 19); break; case 20: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(15, 20); break; case 21: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 1) kind = 1; jjCheckNAddStates(0, 17); break; case 22: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 1) kind = 1; jjCheckNAdd(22); break; case 23: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(24, 26); break; case 26: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(30, 33); break; case 28: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(34, 36); break; case 31: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 5) kind = 5; jjCheckNAddStates(37, 39); break; case 32: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(32, 33); break; case 34: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 6) kind = 6; jjCheckNAddTwoStates(33, 34); break; case 35: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(35, 36); break; case 37: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(62, 63); break; case 38: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAdd(39); break; case 39: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAdd(39); break; case 40: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(40, 41); break; case 41: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(2, 3); break; case 42: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(42, 43); break; case 44: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(64, 65); break; case 45: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(46, 47); break; case 46: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(46, 47); break; case 48: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(43, 48); break; case 49: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(49, 50); break; case 50: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(5, 6); break; case 51: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(51, 52); break; case 53: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(66, 67); break; case 54: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(55, 56); break; case 55: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(55, 56); break; case 57: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(68, 69); break; case 59: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(70, 71); break; case 60: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(56, 61); break; case 61: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(56, 61); break; case 62: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(62, 63); break; case 63: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(12, 13); break; case 64: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(40, 45); break; case 65: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(65, 66); break; case 67: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 2) kind = 2; jjCheckNAddTwoStates(66, 67); break; case 68: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(68, 69); break; case 70: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(54, 55); break; case 72: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(72, 73); break; case 74: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 4) kind = 4; jjstateSet[jjnewStateCnt++] = 74; break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 75 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
|
1514 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1514/b118a27a8623ffbfab74ffed2cb6817d04292d9a/StandardTokenizerTokenManager.java/buggy/src/java/org/apache/lucene/analysis/standard/StandardTokenizerTokenManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
50,
507,
67,
20,
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,
18821,
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,
404,
30,
5375,
309,
14015,
20,
92,
23,
1403,
12648,
2787,
48,
473,
328,
13,
480,
374,
48,
13,
5375,
288,
5397,
309,
261,
9224,
405,
404,
13,
13491,
3846,
273,
404,
31,
5397,
10684,
1564,
50,
986,
7629,
12,
20,
16,
8043,
1769,
5375,
289,
5375,
309,
14015,
20,
92,
23,
1403,
12648,
2787,
48,
473,
328,
13,
480,
374,
48,
13,
5397,
10684,
1564,
50,
986,
7629,
12,
2643,
16,
10213,
1769,
5375,
898,
31,
9079,
648,
576,
30,
9079,
648,
20170,
30,
5375,
309,
14015,
20,
92,
23,
1403,
12648,
2787,
48,
473,
328,
13,
480,
374,
48,
13,
5397,
10684,
1564,
50,
986,
11710,
7629,
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,
3238,
727,
509,
10684,
7607,
50,
507,
67,
20,
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,
18821,
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
] |
public abstract DocumentSet getAllDocuments( User user );
|
public DocumentSet getAllDocuments() { return getAllDocuments( new User( "admin", null, "dba" ) ); }
|
public abstract DocumentSet getAllDocuments( User user );
|
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/1af04acb6aaa43dcf47434b5fe250592458c8e2a/DBBroker.java/buggy/src/org/exist/storage/DBBroker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8770,
4319,
694,
5514,
12922,
12,
2177,
729,
11272,
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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
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,
4319,
694,
5514,
12922,
12,
2177,
729,
11272,
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
] |
SessionUtils.removeAttribute(CustomerConstants.CUSTOMER_MEETING, request);
|
SessionUtils.removeAttribute(CustomerConstants.CUSTOMER_MEETING, request);
|
public ActionForward load(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { CenterCustActionForm actionForm = (CenterCustActionForm) form; doCleanUp(actionForm, request); SessionUtils.removeAttribute(CustomerConstants.CUSTOMER_MEETING, request); loadCreateMasterData(actionForm, request); actionForm.setMfiJoiningDate(DateHelper.getCurrentDate(getUserContext(request).getPereferedLocale())); return mapping.findForward(ActionForwards.load_success.toString()); }
|
45468 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45468/d942e5c715c1dd9904b26491bbaeaf08f2cc972f/CenterCustAction.java/buggy/mifos/src/org/mifos/application/customer/center/struts/action/CenterCustAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4382,
8514,
1262,
12,
1803,
3233,
2874,
16,
4382,
1204,
646,
16,
1082,
202,
2940,
18572,
590,
16,
12446,
766,
13,
1082,
202,
15069,
1185,
288,
202,
202,
8449,
39,
641,
1803,
1204,
1301,
1204,
273,
261,
8449,
39,
641,
1803,
1204,
13,
646,
31,
202,
202,
2896,
7605,
1211,
12,
1128,
1204,
16,
590,
1769,
202,
202,
2157,
1989,
18,
4479,
1499,
12,
8883,
2918,
18,
15136,
654,
67,
958,
1584,
1360,
16,
590,
1769,
202,
202,
945,
1684,
7786,
751,
12,
1128,
1204,
16,
590,
1769,
202,
202,
1128,
1204,
18,
542,
49,
22056,
4572,
310,
1626,
12,
1626,
2276,
18,
588,
3935,
1626,
12,
588,
1299,
1042,
12,
2293,
2934,
588,
52,
822,
586,
329,
3916,
1435,
10019,
202,
202,
2463,
2874,
18,
4720,
8514,
12,
1803,
1290,
6397,
18,
945,
67,
4768,
18,
10492,
10663,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4382,
8514,
1262,
12,
1803,
3233,
2874,
16,
4382,
1204,
646,
16,
1082,
202,
2940,
18572,
590,
16,
12446,
766,
13,
1082,
202,
15069,
1185,
288,
202,
202,
8449,
39,
641,
1803,
1204,
1301,
1204,
273,
261,
8449,
39,
641,
1803,
1204,
13,
646,
31,
202,
202,
2896,
7605,
1211,
12,
1128,
1204,
16,
590,
1769,
202,
202,
2157,
1989,
18,
4479,
1499,
12,
8883,
2918,
18,
15136,
654,
67,
958,
1584,
1360,
16,
590,
1769,
202,
202,
945,
1684,
7786,
751,
12,
1128,
1204,
16,
590,
1769,
202,
202,
1128,
1204,
18,
542,
49,
22056,
4572,
310,
1626,
12,
1626,
2276,
18,
588,
3935,
1626,
12,
588,
1299,
1042,
12,
2293,
2934,
588,
52,
822,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.