rem stringlengths 1 53.3k | add stringlengths 0 80.5k | context stringlengths 6 326k | meta stringlengths 141 403 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|---|
} if ((letterSpacing instanceof Float) && (!letterSpacing.isNaN())) { | } if ((letterSpacing instanceof Float) && (!letterSpacing.isNaN())) { | protected Point2D doSpacing(Float kern, Float letterSpacing, Float wordSpacing) { boolean autoKern = true; boolean doWordSpacing = false; boolean doLetterSpacing = false; float kernVal = 0f; float letterSpacingVal = 0f; float wordSpacingVal = 0f; if ((kern i... | 45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/d864a7831760c16be2dce5726c3e6b15bbbba80a/GlyphLayout.java/clean/sources/org/apache/batik/gvt/text/GlyphLayout.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
4686,
22,
40,
741,
18006,
12,
4723,
24579,
16,
1875,
2398,
5450,
9471,
18006,
16,
17311,
5450,
2076,
18006,
13,
288,
202,
6494,
3656,
47,
8865,
273,
638,
31,
202,
6494,
741,
3944,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
4686,
22,
40,
741,
18006,
12,
4723,
24579,
16,
1875,
2398,
5450,
9471,
18006,
16,
17311,
5450,
2076,
18006,
13,
288,
202,
6494,
3656,
47,
8865,
273,
638,
31,
202,
6494,
741,
3944,
... |
if (try_stack.saved_result != null) | if (try_stack.saved_result != null && reachableHere()) | public void emitTryEnd() { if (try_stack.end_label == null) { if (try_stack.saved_result != null) emitStore(try_stack.saved_result); try_stack.end_label = new Label(this); if (reachableHere()) { if (try_stack.finally_subr != null) emitJsr(try_stack.finally_subr); emitGoto(try_stack.end_labe... | 36870 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36870/45359e68e21f7037178a75009ee74d6918e06345/CodeAttr.java/buggy/gnu/bytecode/CodeAttr.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3626,
7833,
1638,
1435,
225,
288,
565,
309,
261,
698,
67,
3772,
18,
409,
67,
1925,
422,
446,
13,
1377,
288,
202,
430,
261,
698,
67,
3772,
18,
14077,
67,
2088,
480,
446,
13,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3626,
7833,
1638,
1435,
225,
288,
565,
309,
261,
698,
67,
3772,
18,
409,
67,
1925,
422,
446,
13,
1377,
288,
202,
430,
261,
698,
67,
3772,
18,
14077,
67,
2088,
480,
446,
13,... |
if(node.shouldRejectRequest()) { | if(node.shouldRejectRequest(!isSSK)) { | private boolean handleInsertRequest(Message m) { long now = System.currentTimeMillis(); long id = m.getLong(DMT.UID); if(node.recentlyCompleted(id)) { Message rejected = DMT.createFNPRejectedLoop(id); try { ((PeerNode)(m.getSource())).sendAsync(rejected, nul... | 8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/716f3bc8807ebf706adfc867c6d0cf6be34016ab/NodeDispatcher.java/clean/src/freenet/node/NodeDispatcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
1640,
4600,
691,
12,
1079,
312,
13,
288,
3639,
1525,
2037,
273,
2332,
18,
2972,
28512,
5621,
3639,
1525,
612,
273,
312,
18,
588,
3708,
12,
40,
6152,
18,
3060,
1769,
3639,
30... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
1640,
4600,
691,
12,
1079,
312,
13,
288,
3639,
1525,
2037,
273,
2332,
18,
2972,
28512,
5621,
3639,
1525,
612,
273,
312,
18,
588,
3708,
12,
40,
6152,
18,
3060,
1769,
3639,
30... |
push(new SparseInstance(instance.weight(), newVals, newIndices, instance.numAttributes())); | inst = new SparseInstance(instance.weight(), vals, indices, instance.numAttributes()); | private void convertInstance(Instance instance) throws Exception { if (!(instance instanceof SparseInstance)) { double[] newVals = new double[getInputFormat().numAttributes()]; for(int j = 0; j < instance.numAttributes(); j++) { if (instance.isMissing(j) && (getInputFormat().attribute(j).isNominal(... | 48918 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48918/ce79b816386a6bdaf3b0d7de9c6bc3b72d68d79f/ReplaceMissingValuesFilter.java/clean/weka/filters/ReplaceMissingValuesFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1765,
1442,
12,
1442,
791,
13,
1216,
1185,
288,
1377,
309,
16051,
12,
1336,
1276,
16473,
1442,
3719,
288,
1377,
1645,
8526,
394,
13169,
273,
394,
1645,
63,
588,
1210,
1630,
767... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1765,
1442,
12,
1442,
791,
13,
1216,
1185,
288,
1377,
309,
16051,
12,
1336,
1276,
16473,
1442,
3719,
288,
1377,
1645,
8526,
394,
13169,
273,
394,
1645,
63,
588,
1210,
1630,
767... |
null, "setParamName"); | null, "setParamNameExpr"); | public PropertyDescriptor[] getPropertyDescriptors() { PropertyDescriptor[] result = new PropertyDescriptor[36]; try { result[0] = new PropertyDescriptor("accesskey", ELLinkTag.class, null, "setAccesskey"); result[1] = new Prop... | 8610 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8610/2dbb705eab3659c5c2ceb6398f2eec56e1f6994d/ELLinkTagBeanInfo.java/clean/struts-el/src/share/org/apache/strutsel/taglib/html/ELLinkTagBeanInfo.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
225,
26761,
8526,
3911,
12705,
1435,
565,
288,
3639,
26761,
8526,
225,
563,
282,
273,
394,
26761,
63,
5718,
15533,
3639,
775,
288,
5411,
563,
63,
20,
65,
273,
394,
26761,
2932,
3860... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
26761,
8526,
3911,
12705,
1435,
565,
288,
3639,
26761,
8526,
225,
563,
282,
273,
394,
26761,
63,
5718,
15533,
3639,
775,
288,
5411,
563,
63,
20,
65,
273,
394,
26761,
2932,
3860... |
private void finishPage(IProgressMonitor monitor) throws InterruptedException, CoreException { if (monitor == null) { monitor= new NullProgressMonitor(); } int exitValue = -1; try { String strName = page.getProjectName(); monitor.beginTask("Creating "+ strName + " Forrest Project", 3); IProject project... | 2719 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2719/a015df8aa2b9981ea3b42d009efd3ad9d12b83ae/NewProjectWizard.java/buggy/tools/eclipse/plugins/org.apache.forrest/src/org/apache/forrest/eclipse/wizards/NewProjectWizard.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
4076,
1964,
12,
45,
5491,
7187,
6438,
13,
1216,
7558,
16,
30015,
288,
202,
202,
430,
261,
10259,
422,
446,
13,
288,
1082,
202,
10259,
33,
394,
4112,
5491,
7187,
5621,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
4076,
1964,
12,
45,
5491,
7187,
6438,
13,
1216,
7558,
16,
30015,
288,
202,
202,
430,
261,
10259,
422,
446,
13,
288,
1082,
202,
10259,
33,
394,
4112,
5491,
7187,
5621,
20... | ||
if (jj_3R_83()) return true; | Token xsp; xsp = jj_scanpos; if (jj_scan_token(32)) jj_scanpos = xsp; if (jj_3R_168()) return true; if (jj_scan_token(IDENTIFIER)) return true; while (true) { xsp = jj_scanpos; if (jj_3R_473()) { jj_scanpos = xsp; break; } } | final private boolean jj_3R_468() { if (jj_3R_83()) return true; return false; } | 11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/b153c43e59717c98f32c67f14d61a00a81016991/Parser.java/buggy/dynamicjava/src/koala/dynamicjava/parser/Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
8749,
28,
1435,
288,
565,
3155,
619,
1752,
31,
619,
1752,
273,
10684,
67,
9871,
917,
31,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
1578,
3719,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
3238,
1250,
10684,
67,
23,
54,
67,
8749,
28,
1435,
288,
565,
3155,
619,
1752,
31,
619,
1752,
273,
10684,
67,
9871,
917,
31,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
1578,
3719,
... |
Object[] array = new Object[args.length]; System.arraycopy(args, 0, array, 0, args.length); Scriptable argsObj = cx.newArray(global, array); global.defineProperty("arguments", argsObj, ScriptableObject.DONTENUM); | Object[] array = new Object[args.length]; System.arraycopy(args, 0, array, 0, args.length); Scriptable argsObj = cx.newArray(global, array); global.defineProperty("arguments", argsObj, ScriptableObject.DONTENUM); | public static int exec(String args[]) { for (int i=0; i < args.length; i++) { String arg = args[i]; if (arg.equals("-sealedlib")) { sealedStdLib = true; break; } } Context cx = enterContext(); // Create the top-level scope ob... | 19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/37d29a017a6038dd3a95ecea961c7097f7733631/Main.java/buggy/toolsrc/org/mozilla/javascript/tools/shell/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
509,
1196,
12,
780,
833,
63,
5717,
288,
3639,
364,
261,
474,
277,
33,
20,
31,
277,
411,
833,
18,
2469,
31,
277,
27245,
288,
5411,
514,
1501,
273,
833,
63,
77,
15533,
5411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
509,
1196,
12,
780,
833,
63,
5717,
288,
3639,
364,
261,
474,
277,
33,
20,
31,
277,
411,
833,
18,
2469,
31,
277,
27245,
288,
5411,
514,
1501,
273,
833,
63,
77,
15533,
5411,
... |
List<String> expected = new ArrayList<String>(); expected.add("beforeTestChild1Class"); expected.add("test1"); expected.add("test2"); expected.add("afterTestChild1Class"); expected.add("beforeTestChild2Class"); expected.add("test1"); expected.add("test2"); expected.add("afterTestChild2Class"); Assert.assertEquals(LOG... | Assert.assertEquals(LOG.size(), 8, "invocations"); Assert.assertEquals(LOG.get(0), "beforeTestChild1Class"); Assert.assertTrue(("test1".equals(LOG.get(1)) && "test2".equals(LOG.get(2))) || ("test2".equals(LOG.get(1)) && "test1".equals(LOG.get(2))), "test methods were not invoked correctly"); Assert.assertEquals(LOG.... | public void invocationOrder() { TestListenerAdapter tla = new TestListenerAdapter(); TestNG testng = new TestNG(); testng.setOutputDirectory(OutputDirectoryPatch.getOutputDirectory()); testng.setTestClasses(new Class[] { TestChild1.class, TestChild2.class }); testng.addListener(tla); testng.setVerbo... | 46463 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46463/8b8bc76fa825845109cea3a3a79ff040454421a0/InterleavedInvocationTest.java/buggy/test/src/test/interleavedorder/InterleavedInvocationTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
9495,
2448,
1435,
288,
565,
7766,
2223,
4216,
8332,
69,
273,
394,
7766,
2223,
4216,
5621,
565,
7766,
4960,
1842,
3368,
273,
394,
7766,
4960,
5621,
565,
1842,
3368,
18,
542,
144... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9495,
2448,
1435,
288,
565,
7766,
2223,
4216,
8332,
69,
273,
394,
7766,
2223,
4216,
5621,
565,
7766,
4960,
1842,
3368,
273,
394,
7766,
4960,
5621,
565,
1842,
3368,
18,
542,
144... |
LogicalPosition pos1 = new LogicalPosition(line, col); editor.getCaretModel().moveToLogicalPosition(pos1); | LogicalPosition pos = new LogicalPosition(line, col); editor.getCaretModel().moveToLogicalPosition(pos); | public void invoke(Project project, Editor editor, PsiFile file) { if (!CodeInsightUtil.prepareFileForWrite(file)) return; int col = editor.getCaretModel().getLogicalPosition().column; int line = editor.getCaretModel().getLogicalPosition().line; LogicalPosition pos = new LogicalPosition(0, 0); editor.g... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/72da2abd9c34a8042786041554b220ba14b99fcb/SurroundWithTryCatchAction.java/buggy/codeInsight/impl/com/intellij/codeInsight/daemon/impl/quickfix/SurroundWithTryCatchAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
4356,
12,
4109,
1984,
16,
18451,
4858,
16,
453,
7722,
812,
585,
13,
288,
565,
309,
16051,
1085,
5048,
750,
1304,
18,
9366,
812,
1290,
3067,
12,
768,
3719,
327,
31,
565,
509,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4356,
12,
4109,
1984,
16,
18451,
4858,
16,
453,
7722,
812,
585,
13,
288,
565,
309,
16051,
1085,
5048,
750,
1304,
18,
9366,
812,
1290,
3067,
12,
768,
3719,
327,
31,
565,
509,
... |
Date dt = IMCServiceRMI.getCurrentDate(imcserver) ; | Date dt = imcref.getCurrentDate() ; | public void doPost( HttpServletRequest req, HttpServletResponse res ) throws ServletException, IOException { String host = req.getHeader("Host") ; String imcserver = Utility.getDomainPref("adminserver",host) ; String start_url = Utility.getDomainPref( "start_url",host ) ; String servlet_url = Utility.getDomain... | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/a270627916b37a677a391dd9f45c54d3d6f12503/SaveImage.java/buggy/servlets/SaveImage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
3349,
12,
9984,
1111,
16,
12446,
400,
262,
1216,
16517,
16,
1860,
288,
202,
780,
1479,
9506,
202,
33,
1111,
18,
588,
1864,
2932,
2594,
7923,
274,
202,
780,
709,
71,
3567... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
3349,
12,
9984,
1111,
16,
12446,
400,
262,
1216,
16517,
16,
1860,
288,
202,
780,
1479,
9506,
202,
33,
1111,
18,
588,
1864,
2932,
2594,
7923,
274,
202,
780,
709,
71,
3567... |
delegate = (LocalUpdate) applicationContext.getBean( IUpdate.class.getName()); | public void create() { super.create(); delegate = (LocalUpdate) applicationContext.getBean( IUpdate.class.getName()); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/dc8dde051a1e2b716514b3964c9222ce006ebea9/UpdateBean.java/buggy/components/ejb/src/ome/ro/ejb/UpdateBean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
752,
1435,
565,
288,
3639,
2240,
18,
2640,
5621,
3639,
7152,
273,
261,
2042,
1891,
13,
31775,
18,
588,
3381,
12,
5411,
467,
1891,
18,
1106,
18,
17994,
10663,
565,
289,
2,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
752,
1435,
565,
288,
3639,
2240,
18,
2640,
5621,
3639,
7152,
273,
261,
2042,
1891,
13,
31775,
18,
588,
3381,
12,
5411,
467,
1891,
18,
1106,
18,
17994,
10663,
565,
289,
2,
-10... | |
elm.setAttribute("onmouseover", "TM.show(evt)"); | elm.setAttribute("onmousemove", "TM.show(evt)"); | public void enableInteraction( InteractionEvent ie ) throws ChartException { if ( _iun == null ) { logger.log( ILogger.WARNING, Messages.getString( "exception.missing.component.interaction", getLocale( ) ) ); //$NON-NLS-1$ return; } Trigger[] triggers = ie.getTriggers( ); if ( triggers == null ) { re... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/4a328417c3f62c3aa389ac3a9faedb3b94ac378b/SVGRendererImpl.java/buggy/chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGRendererImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
4237,
17419,
12,
5294,
1128,
1133,
9228,
262,
1216,
14804,
503,
202,
95,
202,
202,
430,
261,
389,
77,
318,
422,
446,
262,
202,
202,
95,
1082,
202,
4901,
18,
1330,
12,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
4237,
17419,
12,
5294,
1128,
1133,
9228,
262,
1216,
14804,
503,
202,
95,
202,
202,
430,
261,
389,
77,
318,
422,
446,
262,
202,
202,
95,
1082,
202,
4901,
18,
1330,
12,
4... |
uri), h, fileSchema, | uri), h, urlSchema, | public static ProActiveDescriptorHandler createProActiveDescriptor( String xmlDescriptorUrl, VariableContract variableContract) throws java.io.IOException, org.xml.sax.SAXException { // static method added to replace main method try { InitialHandler h = new InitialHandler(xmlD... | 58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/7103021931f90504cb958b226c5fe6f6449060e5/ProActiveDescriptorHandler.java/buggy/src/org/objectweb/proactive/core/descriptor/xml/ProActiveDescriptorHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1186,
3896,
3187,
1503,
752,
626,
3896,
3187,
12,
3639,
514,
2025,
3187,
1489,
16,
7110,
8924,
2190,
8924,
13,
3639,
1216,
2252,
18,
1594,
18,
14106,
16,
2358,
18,
2902,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1186,
3896,
3187,
1503,
752,
626,
3896,
3187,
12,
3639,
514,
2025,
3187,
1489,
16,
7110,
8924,
2190,
8924,
13,
3639,
1216,
2252,
18,
1594,
18,
14106,
16,
2358,
18,
2902,
18,
... |
for (int i = 0; i < rings.size(); i++) { | for (int i = 0; i < rings.size(); i++) { | private void markRingAtoms(Vector rings) { Ring ring = null; for (int i = 0; i < rings.size(); i++) { ring = (Ring)rings.elementAt(i); for (int j = 0; j < ring.getAtomCount(); j++) { ring.getAtomAt(j).flags[CDKConstants.ISINRING] = true; } } } | 45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/0207507cbcff0172e0dc48407a71dcf4d56c8695/StructureDiagramGenerator.java/buggy/src/org/openscience/cdk/layout/StructureDiagramGenerator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
2267,
10369,
14280,
12,
5018,
26537,
13,
202,
95,
202,
202,
10369,
9221,
273,
446,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
26537,
18,
1467,
5621,
277,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2267,
10369,
14280,
12,
5018,
26537,
13,
202,
95,
202,
202,
10369,
9221,
273,
446,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
26537,
18,
1467,
5621,
277,... |
{ if (!(object instanceof CubeAccess)) { return false; } CubeAccess cubeAccess = (CubeAccess) object; ArrayList hierarchyList = cubeAccess.getNoAccessHierarchyList(); ArrayList limitedMemberList = cubeAccess.getLimitedMemberList(); | { if (!(object instanceof CubeAccess)) { return false; } CubeAccess cubeAccess = (CubeAccess) object; ArrayList hierarchyList = cubeAccess.getNoAccessHierarchyList(); ArrayList limitedMemberList = cubeAccess.getLimitedMemberList(); | public boolean equals( Object object ) { if (!(object instanceof CubeAccess)) { return false; } CubeAccess cubeAccess = (CubeAccess) object; ArrayList hierarchyList = cubeAccess.getNoAccessHierarchyList(); ArrayList limitedMemberList = cubeAccess.getLimitedMemberList(); if ((this.hierarchyList.size() !... | 37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/b5b5168edc3af09cb74945a80b0c36e6630ed502/CubeAccess.java/clean/src/main/mondrian/olap/CubeAccess.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1606,
12,
1033,
733,
262,
202,
95,
202,
202,
430,
16051,
12,
1612,
1276,
385,
4895,
1862,
3719,
288,
1082,
282,
327,
629,
31,
202,
202,
97,
202,
202,
39,
4895,
1862,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1606,
12,
1033,
733,
262,
202,
95,
202,
202,
430,
16051,
12,
1612,
1276,
385,
4895,
1862,
3719,
288,
1082,
282,
327,
629,
31,
202,
202,
97,
202,
202,
39,
4895,
1862,
1... |
} | public void print(String s, final ConsoleViewContentType contentType) { synchronized(LOCK){ s = StringUtil.convertLineSeparators(s, "\n"); myContentSize += s.length(); myDeferredOutput.append(s); final int length = myDeferredOutput.length(); if (USE_CYCLIC_BUFFER && length > CYCLIC_BUFFER... | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/b2c98303d8266acfaa2462a108951e78cf7cbaa7/ConsoleViewImpl.java/buggy/execution/impl/com/intellij/execution/impl/ConsoleViewImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1172,
12,
780,
272,
16,
727,
9657,
1767,
8046,
5064,
13,
288,
565,
3852,
12,
6589,
15329,
1377,
272,
273,
14205,
18,
6283,
1670,
16842,
3062,
12,
87,
16,
225,
1548,
82,
8863,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1172,
12,
780,
272,
16,
727,
9657,
1767,
8046,
5064,
13,
288,
565,
3852,
12,
6589,
15329,
1377,
272,
273,
14205,
18,
6283,
1670,
16842,
3062,
12,
87,
16,
225,
1548,
82,
8863,... | |
public void validate() throws org.exolab.castor.xml.ValidationException; | /** * Redistribution and use of this software and associated documentation * ("Software"), with or without modification, are permitted provided * that the following conditions are met: * * 1. Redistributions of source code must retain copyright * statements and notices. Redistributions must also contain a * copy... | public void validate() throws org.exolab.castor.xml.ValidationException; | 47052 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47052/78977404bdf113bd4290cc2e8ad33d5fccb020a5/Service.java/clean/openejb2/modules/core/src/java/org/openejb/config/Service.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1954,
1435,
1216,
2358,
18,
338,
355,
378,
18,
4155,
280,
18,
2902,
18,
18146,
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,... | [
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1954,
1435,
1216,
2358,
18,
338,
355,
378,
18,
4155,
280,
18,
2902,
18,
18146,
31,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
else if (exp.func instanceof LambdaExp) | else if (exp.func instanceof LambdaExp && ! (exp.func instanceof ClassExp)) | protected Expression walkApplyExp(ApplyExp exp) { if (inTailContext) exp.setTailCall(true); exp.context = currentLambda; boolean save = inTailContext; LambdaExp lexp = null; try { inTailContext = false; boolean isAppendValues = false; if (exp.func instanceof ReferenceExp) { ReferenceEx... | 37648 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37648/227f1e0787977c7c949df8557c3ad9ad7dcf6e33/FindTailCalls.java/buggy/gnu/expr/FindTailCalls.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
5371,
5442,
7001,
2966,
12,
7001,
2966,
1329,
13,
225,
288,
565,
309,
261,
267,
12363,
1042,
13,
1377,
1329,
18,
542,
12363,
1477,
12,
3767,
1769,
565,
1329,
18,
2472,
273,
783,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
5371,
5442,
7001,
2966,
12,
7001,
2966,
1329,
13,
225,
288,
565,
309,
261,
267,
12363,
1042,
13,
1377,
1329,
18,
542,
12363,
1477,
12,
3767,
1769,
565,
1329,
18,
2472,
273,
783,
1... |
if(!valid) { | if (!valid) { | public void run() throws Exception { FileInputStream input = new FileInputStream(stateFile); BufferedReader reader = new BufferedReader(new InputStreamReader(input, "utf-8")); //$NON-NLS-1$ IMemento memento = XMLMemento.createReadRoot(reader); // Validate known version format String version = meme... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/25425fe3505bc6f62e9021f3f79e33d77a752241/Workbench.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1086,
1435,
1216,
1185,
288,
9506,
202,
812,
4348,
810,
273,
394,
11907,
12,
2019,
812,
1769,
9506,
202,
17947,
2514,
2949,
273,
394,
10633,
12,
2704,
15322,
12,
2630,
16,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1086,
1435,
1216,
1185,
288,
9506,
202,
812,
4348,
810,
273,
394,
11907,
12,
2019,
812,
1769,
9506,
202,
17947,
2514,
2949,
273,
394,
10633,
12,
2704,
15322,
12,
2630,
16,... |
elementDecl.name.prefix = -1; elementDecl.name.rawname = -1; elementDecl.name.localpart = fElementDeclNameIndex[chunk][index]; elementDecl.name.uri = 0; | elementDecl.name.setValues(fElementDeclName[chunk][index]); | public boolean getElementDecl(int elementDeclIndex, XMLElementDecl elementDecl) { if (elementDeclIndex < 0 || elementDeclIndex >= fElementDeclCount) { return false; } int chunk = elementDeclIndex >> CHUNK_SHIFT; int index = elementDeclIndex & CHUNK_MASK; //elementDecl.... | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/70ab2180e294cbb9255e244dea80b4b507371573/Grammar.java/clean/src/org/apache/xerces/validators/common/Grammar.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
7426,
3456,
12,
474,
930,
3456,
1016,
16,
1139,
11155,
3456,
930,
3456,
13,
288,
3639,
309,
261,
2956,
3456,
1016,
411,
374,
747,
930,
3456,
1016,
1545,
284,
1046,
3456,
1380,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
7426,
3456,
12,
474,
930,
3456,
1016,
16,
1139,
11155,
3456,
930,
3456,
13,
288,
3639,
309,
261,
2956,
3456,
1016,
411,
374,
747,
930,
3456,
1016,
1545,
284,
1046,
3456,
1380,... |
((Math.abs(inClose[i - 1] - inOpen[i - 1])) < (Math .abs(inClose[i - 2] - inOpen[i - 2])) - ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_Far .ordinal()].avgPeriod) != 0.0 ? FarPeriodTotal[2] / (this.candleSettings[TA_CandleSettingType.TA_Far .ordi... | if( startIdx < 0 ) return TA_RetCode. TA_OUT_OF_RANGE_START_INDEX; if( (endIdx < 0) || (endIdx < startIdx)) return TA_RetCode. TA_OUT_OF_RANGE_END_INDEX; lookbackTotal = CDLADVANCEBLOCK_Lookback (); if( startIdx < lookbackTotal ) startIdx = lookbackTotal; | public TA_RetCode CDLADVANCEBLOCK(int startIdx, int endIdx, double inOpen[], double inHigh[], double inLow[], double inClose[], MInteger outBegIdx, MInteger outNbElement, int outInteger[]) { double[] ShadowShortPeriodTotal = new double[3]; ; double[] ShadowLongPeriodTotal = new double[2]; ; double[] NearPerio... | 7231 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7231/5df8081f2a7211016256c0f481213a987e02947a/Core.java/clean/ta-lib/java/src/TA/Lib/Core.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
399,
37,
67,
7055,
1085,
385,
8914,
1880,
58,
4722,
11403,
12,
474,
27108,
16,
509,
679,
4223,
16,
1082,
202,
9056,
316,
3678,
63,
6487,
1645,
316,
8573,
63,
6487,
1645,
316,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
399,
37,
67,
7055,
1085,
385,
8914,
1880,
58,
4722,
11403,
12,
474,
27108,
16,
509,
679,
4223,
16,
1082,
202,
9056,
316,
3678,
63,
6487,
1645,
316,
8573,
63,
6487,
1645,
316,
... |
public static void main(String args[],ClassWorld classWorld ) { classworlds(args,classWorld); | public static void main(String args[]) { try { rootLoader(args); } catch (Throwable t) { t.printStackTrace(); } | public static void main(String args[],ClassWorld classWorld ) { classworlds(args,classWorld); } | 6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/86281f654a07c0cf1b2cdbfff24811d9fc0715d3/GroovyStarter.java/clean/src/main/org/codehaus/groovy/tools/GroovyStarter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
833,
63,
6487,
797,
18071,
667,
18071,
262,
288,
3639,
667,
18179,
87,
12,
1968,
16,
1106,
18071,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
833,
63,
6487,
797,
18071,
667,
18071,
262,
288,
3639,
667,
18179,
87,
12,
1968,
16,
1106,
18071,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
generateScriptICode(cx, scope); | generateICodeFromTree(cx, scope, scriptOrFn); | public Object compile(Context cx, Scriptable scope, ScriptOrFnNode tree, SecurityController securityController, Object securityDomain) { scriptOrFn = tree; version = cx.getLanguageVersion(); itsData = new InterpreterData(securityDomain); ... | 12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/1c21aeb4b2027ffe5260d943b7a3709def9ace24/Interpreter.java/clean/js/rhino/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
4074,
12,
1042,
9494,
16,
22780,
2146,
16,
7739,
1162,
5372,
907,
2151,
16,
12900,
6036,
2933,
4373,
2933,
16,
12900,
1033,
4373,
3748,
13,
565,
288,
3639,
2728,
1162,
5372,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
4074,
12,
1042,
9494,
16,
22780,
2146,
16,
7739,
1162,
5372,
907,
2151,
16,
12900,
6036,
2933,
4373,
2933,
16,
12900,
1033,
4373,
3748,
13,
565,
288,
3639,
2728,
1162,
5372,
2... |
public float readFloat() throws IOException { Object obj = vec.elementAt(ptr++); return (((Float)obj).floatValue()); } | public float readFloat() throws IOException { Object obj = vec.elementAt(ptr++); return ((Float) obj).floatValue(); } | public float readFloat() throws IOException { Object obj = vec.elementAt(ptr++); return (((Float)obj).floatValue());} | 45163 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45163/84d120cc49d42a79bfbc68fe36429395bdef90fd/UnicastRemoteCall.java/buggy/libjava/gnu/java/rmi/server/UnicastRemoteCall.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
1431,
855,
4723,
1435,
1216,
1860,
288,
202,
921,
1081,
273,
7062,
18,
2956,
861,
12,
6723,
9904,
1769,
202,
2463,
261,
12443,
4723,
13,
2603,
2934,
5659,
620,
10663,
97,
2,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1431,
855,
4723,
1435,
1216,
1860,
288,
202,
921,
1081,
273,
7062,
18,
2956,
861,
12,
6723,
9904,
1769,
202,
2463,
261,
12443,
4723,
13,
2603,
2934,
5659,
620,
10663,
97,
2,
-100,
-100,
... |
throws InvalidParameterException | throws InvalidPluginDescriptorException | public List execute( MavenProject project, PluginDescriptor pluginDescriptor ) throws InvalidParameterException { JavaDocBuilder builder = new JavaDocBuilder(); File basedir = project.getBasedir(); for ( Iterator i = project.getCompileSourceRoots().iterator(); i.hasNext(); ) { ... | 1315 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1315/76c4ceda28a98ca54da4e08088f54f6fb71430ef/JavaMojoDescriptorExtractor.java/buggy/maven-plugin-tools/maven-plugin-tools-java/src/main/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
1836,
12,
17176,
4109,
1984,
16,
6258,
3187,
1909,
3187,
262,
3639,
1216,
1962,
3773,
3187,
503,
565,
288,
3639,
5110,
1759,
1263,
2089,
273,
394,
5110,
1759,
1263,
5621,
3639,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
1836,
12,
17176,
4109,
1984,
16,
6258,
3187,
1909,
3187,
262,
3639,
1216,
1962,
3773,
3187,
503,
565,
288,
3639,
5110,
1759,
1263,
2089,
273,
394,
5110,
1759,
1263,
5621,
3639,
... |
2, reportDoc.getPageNumber( pMark ) ); | 5, reportDoc.getPageNumber( pMark ) ); | public void testReportDocument( ) { String report_design = path + INPUT_FOLDER + System.getProperty( "file.separator" ) + "report_document.rptdesign"; String report_document = path + OUTPUT_FOLDER + System.getProperty( "file.separator" ) + "report_document"; try { createReportDocument_param( report_desi... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/831ce32f236baa6fc9c69e77b707c1d99d5249c8/ReportDocumentTest.java/clean/testsuites/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/api/ReportDocumentTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
4820,
2519,
12,
262,
202,
95,
202,
202,
780,
2605,
67,
16934,
273,
589,
397,
12943,
67,
17357,
9506,
202,
15,
2332,
18,
588,
1396,
12,
315,
768,
18,
11287,
6,
262... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
4820,
2519,
12,
262,
202,
95,
202,
202,
780,
2605,
67,
16934,
273,
589,
397,
12943,
67,
17357,
9506,
202,
15,
2332,
18,
588,
1396,
12,
315,
768,
18,
11287,
6,
262... |
treePanel = createTreePanel(); | public void awake() { panel = new JPanel(new BorderLayout()); ioCanvas = new JPanel(new BorderLayout()); treeInfoCanvas = new JPanel(new BorderLayout()); infoPanel = new DBInfoPanel(); controlPanel = new DBControlPanel(this); treePanel = createTreePanel(); inputPanel... | 4430 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4430/9d87725644f1deaf955cdd27b79761e2a85719ee/Debugger.java/buggy/src/org/antlr/works/debugger/Debugger.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1690,
911,
1435,
288,
3639,
6594,
273,
394,
24048,
12,
2704,
30814,
10663,
3639,
2527,
12971,
273,
394,
24048,
12,
2704,
30814,
10663,
3639,
2151,
966,
12971,
273,
394,
24048,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1690,
911,
1435,
288,
3639,
6594,
273,
394,
24048,
12,
2704,
30814,
10663,
3639,
2527,
12971,
273,
394,
24048,
12,
2704,
30814,
10663,
3639,
2151,
966,
12971,
273,
394,
24048,
12... | |
public boolean isSet(org.quickfix.field.BeginSeqNo field) | public boolean isSet(quickfix.field.BeginSeqNo field) | public boolean isSet(org.quickfix.field.BeginSeqNo field) { return isSetField(field); } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/ResendRequest.java/clean/src/java/src/quickfix/fix41/ResendRequest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
13532,
12,
19525,
904,
18,
1518,
18,
8149,
6926,
2279,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
13532,
12,
19525,
904,
18,
1518,
18,
8149,
6926,
2279,
652,
13,
225,
288,
327,
13532,
974,
12,
1518,
1769,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
void setReduceProgress(float p) { this.reduceProgress = p; } | void setReduceProgress(float p) { this.reduceProgress = (float) Math.min(1.0, Math.max(0.0, p)); } | void setReduceProgress(float p) { this.reduceProgress = p; } | 49248 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49248/38326245188b0de6dc75d1c182b4f1b706107d10/JobStatus.java/buggy/src/java/org/apache/hadoop/mapred/JobStatus.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
444,
12944,
5491,
12,
5659,
293,
13,
288,
333,
18,
12498,
5491,
273,
293,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
444,
12944,
5491,
12,
5659,
293,
13,
288,
333,
18,
12498,
5491,
273,
293,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
protected boolean postBug() { final WorkspaceModifyOperation op = new WorkspaceModifyOperation() { protected void execute(final IProgressMonitor monitor) throws CoreException { PlatformUI.getWorkbench().getDisplay().syncExec(new Runnable() { public void run() { BugzillaReportSubmitForm form = BugzillaRe... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/2c57c682797fcf6e7969d662a7030b293027a046/AbstractBugWizard.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/AbstractBugWizard.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1250,
1603,
19865,
1435,
288,
202,
202,
6385,
14396,
11047,
2988,
1061,
273,
394,
14396,
11047,
2988,
1435,
288,
1082,
202,
1117,
918,
1836,
12,
6385,
467,
5491,
7187,
6438,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1250,
1603,
19865,
1435,
288,
202,
202,
6385,
14396,
11047,
2988,
1061,
273,
394,
14396,
11047,
2988,
1435,
288,
1082,
202,
1117,
918,
1836,
12,
6385,
467,
5491,
7187,
6438,
13,
... | ||
AST tmp2093_AST_in = (AST)_t; | AST tmp2095_AST_in = (AST)_t; | public final void processeventsstate(AST _t) throws RecognitionException { AST processeventsstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t2135 = _t; AST tmp2093_AST_in = (AST)_t; match(_t,PROCESS); _t = _t.getFirstChild(); AST tmp2094_AST_in = (AST)_t; match(_t,EVENTS); _t = _t.getNextSibling(); ... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/f492fd11e745beb562b4e209643ba003aa8a6271/TreeParser01.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
450,
764,
307,
616,
87,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
450,
764,
307,
616,
87,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
91... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
450,
764,
307,
616,
87,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
450,
764,
307,
616,
87,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
91... |
if(ASS)ER.T(Thread.currentThread()==_uiThreadForAssertCheck,"_notifyObservers called on thread other than UI thread",this); | if(AS.S)ER.T(Thread.currentThread()==_uiThreadForAssertCheck,"_notifyObservers called on thread other than UI thread",this); | private void _notifyObservers( int type, Breakpoint bp ) { if(ASS)ER.T(Thread.currentThread()==_uiThreadForAssertCheck,"_notifyObservers called on thread other than UI thread",this); setChanged(); notifyObservers( new BreakpointTyrantUpdate(type,bp) ); } | 7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/2de73cf99dce60cce549e7757f841284b68d1220/BreakpointTyrant.java/buggy/js/jsdj/classes/com/netscape/jsdebugging/ifcui/BreakpointTyrant.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
389,
12336,
29393,
12,
509,
618,
16,
17030,
1153,
9107,
262,
565,
288,
3639,
309,
12,
3033,
18,
55,
13,
654,
18,
56,
12,
3830,
18,
2972,
3830,
1435,
631,
67,
4881,
3830,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
12336,
29393,
12,
509,
618,
16,
17030,
1153,
9107,
262,
565,
288,
3639,
309,
12,
3033,
18,
55,
13,
654,
18,
56,
12,
3830,
18,
2972,
3830,
1435,
631,
67,
4881,
3830,
12... |
case 583: { | case 580: { | public void ruleAction(int ruleNumber) { if (bad_rule != 0) return; switch (ruleNumber) { // // Rule 1: identifier ::= IDENTIFIER // case 1: { if (prsStream.getKind(btParser.getToken(1)) != X10Parsersym.TK_IDENTIFIER) ... | 1769 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1769/bb2a94143f433b1bc3a3f14e9063a6f9ed4a0262/X10Parser.java/clean/x10.compiler/src/x10/parser/X10Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1720,
1803,
12,
474,
1720,
1854,
13,
565,
288,
3639,
309,
261,
8759,
67,
5345,
480,
374,
13,
5411,
327,
31,
3639,
1620,
261,
5345,
1854,
13,
3639,
288,
2398,
368,
5411,
368,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1720,
1803,
12,
474,
1720,
1854,
13,
565,
288,
3639,
309,
261,
8759,
67,
5345,
480,
374,
13,
5411,
327,
31,
3639,
1620,
261,
5345,
1854,
13,
3639,
288,
2398,
368,
5411,
368,
... |
return BugzillaImages.getImage(BugzillaImages.BUGZILLA_HIT); | return BugzillaImages.getImage(BugzillaImages.BUGZILLA_HIT_INCOMMING); | public Image getIcon() { if(hasCorrespondingActivatableTask()){ return task.getIcon(); } else { return BugzillaImages.getImage(BugzillaImages.BUGZILLA_HIT); } } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/aedc539e8deedf4a40769c5e1b4378d2419dd9dc/BugzillaHit.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaHit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3421,
21724,
1435,
288,
202,
202,
430,
12,
5332,
6217,
17863,
310,
12241,
8163,
2174,
10756,
95,
1082,
202,
2463,
1562,
18,
588,
5554,
5621,
202,
202,
97,
469,
288,
1082,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3421,
21724,
1435,
288,
202,
202,
430,
12,
5332,
6217,
17863,
310,
12241,
8163,
2174,
10756,
95,
1082,
202,
2463,
1562,
18,
588,
5554,
5621,
202,
202,
97,
469,
288,
1082,
202,
... |
} else if ( EngineIRConstants.IMAGE_REF_TYPE_FILE.equals( imageSrc ) ) | } else if ( EngineIRConstants.IMAGE_REF_TYPE_FILE.equals( imageSrc ) ) | public void visitImage( ImageHandle handle ) { // Create Image Item ImageItemDesign image = new ImageItemDesign( ); setupReportItem( image, handle ); // Handle Action ActionHandle action = handle.getActionHandle( ); if ( action != null ) { image.setAction( createAction( action ) ); } // Alternative text for... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/f00a46b07796c055e2a16e0f1243a9ebd4826670/EngineIRVisitor.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
2040,
12,
3421,
3259,
1640,
262,
202,
95,
202,
202,
759,
1788,
3421,
4342,
202,
202,
2040,
1180,
15478,
1316,
273,
394,
3421,
1180,
15478,
12,
11272,
202,
202,
8401,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3757,
2040,
12,
3421,
3259,
1640,
262,
202,
95,
202,
202,
759,
1788,
3421,
4342,
202,
202,
2040,
1180,
15478,
1316,
273,
394,
3421,
1180,
15478,
12,
11272,
202,
202,
8401,
... |
return getCodeBlockInternalIndent(child, 1); | return getCodeBlockInternalIndent(1); | private Indent calcIndent(final ASTNode child, final int state) { if (state == AFTER_ELSE && child.getElementType() == ElementType.IF_STATEMENT) { if (!mySettings.SPECIAL_ELSE_IF_TREATMENT) { return getCodeBlockInternalIndent(child, 1); } else { return getCodeBlockExternalIndent(); } ... | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/01d0399a9a26330ee345b494508bc877fe9a1e5c/BlockContainingJavaBlock.java/buggy/source/com/intellij/psi/formatter/java/BlockContainingJavaBlock.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
28653,
7029,
7790,
12,
6385,
9183,
907,
1151,
16,
727,
509,
919,
13,
288,
565,
309,
261,
2019,
422,
18651,
67,
2247,
1090,
597,
1151,
18,
588,
17481,
1435,
422,
3010,
559,
18,
550... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
28653,
7029,
7790,
12,
6385,
9183,
907,
1151,
16,
727,
509,
919,
13,
288,
565,
309,
261,
2019,
422,
18651,
67,
2247,
1090,
597,
1151,
18,
588,
17481,
1435,
422,
3010,
559,
18,
550... |
item.addActionListener (this); | Action setAction = new AbstractAction("Set as current", setImg){ public void actionPerformed(ActionEvent e) { int i = queuedMsgList.getSelectedIndex(); if (i != -1) { MsgIndication mi = (MsgIndication) queuedMsgListModel.getElementAt(i); ACLMessage m = mi.getMessage(); currentMsgGui.setMsg(m); } } }; item.addActionLi... | DummyAgentGui(DummyAgent a) { ////////////////////////// // Call JFrame constructor super(); ////////////////////////////////////////////////////////// // Store pointer to the Dummy agent controlled by this GUI myAgent = a; ///////////////////////////////////////////////////////////////////// // Get agent name... | 5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/af968baf336f4bb7badf7bcb65c1f7d60964e51a/DummyAgentGui.java/clean/src/jade/tools/DummyAgent/DummyAgentGui.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
20094,
3630,
18070,
12,
20094,
3630,
279,
13,
202,
95,
202,
202,
25494,
759,
202,
202,
759,
3049,
804,
3219,
3885,
202,
202,
9565,
5621,
202,
202,
6461,
25494,
759,
202,
202,
759,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
20094,
3630,
18070,
12,
20094,
3630,
279,
13,
202,
95,
202,
202,
25494,
759,
202,
202,
759,
3049,
804,
3219,
3885,
202,
202,
9565,
5621,
202,
202,
6461,
25494,
759,
202,
202,
759,
... |
protected void updateUserPermissions(ActionRequest req, ActionResponse res) throws Exception { | protected void updateUserPermissions(ActionRequest req) throws Exception { String resourceId = ParamUtil.getString(req, "resourceId"); String userId = ParamUtil.getString(req, "userIdsPosValue"); String[] actionIds = StringUtil.split( ParamUtil.getString(req, "userIdActionIds")); | protected void updateUserPermissions(ActionRequest req, ActionResponse res) throws Exception { String resourceId = ParamUtil.getString(req, "resourceId"); String assignmentType = ParamUtil.getString(req, "assignmentType"); String[] actionIds = StringUtil.split( ParamUtil.getString(req, "actionIds")); int action... | 57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/e1cab037a8cdaa75dc717f74b6f3b5d95492c7f6/EditUserPermissionsAction.java/buggy/portal-ejb/src/com/liferay/portlet/communities/action/EditUserPermissionsAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
28213,
6521,
12,
1803,
691,
1111,
16,
4382,
1064,
400,
13,
202,
202,
15069,
1185,
288,
202,
202,
780,
15035,
273,
3014,
1304,
18,
588,
780,
12,
3658,
16,
315,
3146,
548,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
28213,
6521,
12,
1803,
691,
1111,
16,
4382,
1064,
400,
13,
202,
202,
15069,
1185,
288,
202,
202,
780,
15035,
273,
3014,
1304,
18,
588,
780,
12,
3658,
16,
315,
3146,
548,... |
setTitle(null); | private void evaluateExpressions() throws JspException { try { setAccesskey((String) evalAttr("accessKey", getAccesskey(), String.class)); } catch (NullAttributeException ex) { setAccesskey(null); } try { setAlt((... | 8610 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8610/2dbb705eab3659c5c2ceb6398f2eec56e1f6994d/ELPasswordTag.java/buggy/struts-el/src/share/org/apache/strutsel/taglib/html/ELPasswordTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
1862,
856,
12443,
780,
13,
5302,
3843,
2932,
3860,
653,
3113,
21909,
856,
9334,
4766,
6647,
514,
18,
1106,
10019,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
1862,
856,
12443,
780,
13,
5302,
3843,
2932,
3860,
653,
3113,
21909,
856,
9334,
4766,
6647,
514,
18,
1106,
10019,
... | |
if (isValidHeaderUnitName(project, name)) { return true; } else if (isValidSourceUnitName(project, name)) { return true; | IContentType contentType = CCorePlugin.getContentType(project, name); if (contentType != null) { String id = contentType.getId(); if (CCorePlugin.CONTENT_TYPE_CHEADER.equals(id)) { return true; } else if (CCorePlugin.CONTENT_TYPE_CXXHEADER.equals(id)) { return true; } else if (CCorePlugin.CONTENT_TYPE_CSOURCE.equals(id... | public static boolean isValidTranslationUnitName(IProject project, String name) { if (isValidHeaderUnitName(project, name)) { return true; } else if (isValidSourceUnitName(project, name)) { return true; } return false; } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/1594e1b8f981f24bfdc57081369c2675f9ed5c5d/CoreModel.java/buggy/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/CoreModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1250,
4908,
6717,
2802,
461,
12,
45,
4109,
1984,
16,
514,
508,
13,
288,
202,
202,
430,
261,
26810,
1864,
2802,
461,
12,
4406,
16,
508,
3719,
288,
1082,
202,
2463,
638,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1250,
4908,
6717,
2802,
461,
12,
45,
4109,
1984,
16,
514,
508,
13,
288,
202,
202,
430,
261,
26810,
1864,
2802,
461,
12,
4406,
16,
508,
3719,
288,
1082,
202,
2463,
638,
... |
for(Iterator i = uncompletedDownload.iterator();i.hasNext();) { | for(Iterator i = uncompletedUpload.iterator();i.hasNext();) { | public void handleGet(URI uri, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { StringBuffer buf = new StringBuffer(2048); ctx.getPageMaker().makeHead(buf, "Queued Requests"); // First, get the queued requests, and separate them into different types. LinkedList co... | 50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/2d7656127b381df6e6c2a3486b75d9356bf3bd2a/QueueToadlet.java/buggy/src/freenet/clients/http/QueueToadlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
225,
202,
15069,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
9506,
202,
780,
1892,
168... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
225,
202,
15069,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
9506,
202,
780,
1892,
168... |
if(agentIdService==null){ agentIdService = (AgentIdentificationService)this.serviceBroker.getService(this,AgentIdentificationService.class, null); } if(agentIdService==null){ if(log.isErrorEnabled()){ log.error("AgentIdentifier Service is null"); } } MessageAddress source = agentIdService.getMessageAddress(); MessageA... | if(agentIdService==null || bbs==null || uidService==null){ if(log.isErrorEnabled()){ log.error("One of the required services needed to publish the relay is not present"); } MessageAddress source = agentIdService.getMessageAddress(); MessageAddress target = MessageAddress.getMessageAddress(commonName); SharedDataRelay ... | private DataProtectionKeyCollection protectWithPM(PersistenceManagerPolicy pmp, SecretKey sk, DataProtectionKeyCollection keyCollection) { if (log.isDebugEnabled()) { log.debug("Encrypting secretkey with " + pmp.pmDN); } try { // get the first entry to get the dp policy DataProtectionKeyImp... | 12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/2d49f7db2a2472cc95a969203894348ecd3a0c6a/DataProtectionServiceImpl.java/clean/securityservices/src/org/cougaar/core/security/dataprotection/DataProtectionServiceImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
1910,
16938,
653,
2532,
17151,
1190,
12728,
12,
13182,
1318,
2582,
293,
1291,
16,
565,
19391,
4343,
16,
1910,
16938,
653,
2532,
498,
2532,
13,
288,
565,
309,
261,
1330,
18,
291,
282... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
1910,
16938,
653,
2532,
17151,
1190,
12728,
12,
13182,
1318,
2582,
293,
1291,
16,
565,
19391,
4343,
16,
1910,
16938,
653,
2532,
498,
2532,
13,
288,
565,
309,
261,
1330,
18,
291,
282... |
{ lexicalHandler.startEntity (name); } | { lexicalHandler.startEntity(name); } | void startInternalEntity (String name) throws SAXException { lexicalHandler.startEntity (name); } | 25352 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25352/7fb7568e63c3fe14af521de4699cb37898923ca7/SAXDriver.java/clean/libjava/gnu/xml/aelfred2/SAXDriver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
787,
3061,
1943,
261,
780,
508,
13,
565,
1216,
14366,
565,
288,
202,
4149,
1706,
1503,
18,
1937,
1943,
261,
529,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
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,
918,
787,
3061,
1943,
261,
780,
508,
13,
565,
1216,
14366,
565,
288,
202,
4149,
1706,
1503,
18,
1937,
1943,
261,
529,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
fMenuService = (IMenuService) window.getService(IMenuService.class); | fMenuService = manager; | public TrimBarManager(final WorkbenchWindow window) { if (window == null) { throw new IllegalArgumentException("The window cannot be null"); //$NON-NLS-1$ } // Remember the parameters fMenuService = (IMenuService) window.getService(IMenuService.class); fTrimBuilder = new STrimBuilder(window); // New layouts ar... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/03ee7aea52f9313e17fd8a8e337e50b05c319ba4/TrimBarManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus/TrimBarManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
7105,
5190,
1318,
12,
6385,
4147,
22144,
3829,
2742,
13,
288,
202,
202,
430,
261,
5668,
422,
446,
13,
288,
1082,
202,
12849,
394,
2754,
2932,
1986,
2742,
2780,
506,
446,
8863,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
7105,
5190,
1318,
12,
6385,
4147,
22144,
3829,
2742,
13,
288,
202,
202,
430,
261,
5668,
422,
446,
13,
288,
1082,
202,
12849,
394,
2754,
2932,
1986,
2742,
2780,
506,
446,
8863,
... |
Element modifications = null; | Element modifications; | Element getModifications() { setState(ProjectState.MODIFICATIONSET); Element modifications = null; boolean checkNewChangesFirst = checkOnlySinceLastBuild(); if (checkNewChangesFirst) { debug("getting changes since last build"); modifications = modificationSet.getMod... | 55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/50e95ce509b1c9c534099126cde67fe888b0a759/Project.java/clean/main/src/net/sourceforge/cruisecontrol/Project.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3010,
336,
28340,
1435,
288,
3639,
12947,
12,
4109,
1119,
18,
6720,
14865,
4043,
1769,
3639,
3010,
17953,
31,
3639,
1250,
866,
1908,
7173,
3759,
273,
866,
3386,
9673,
3024,
3116,
5621,
3639... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3010,
336,
28340,
1435,
288,
3639,
12947,
12,
4109,
1119,
18,
6720,
14865,
4043,
1769,
3639,
3010,
17953,
31,
3639,
1250,
866,
1908,
7173,
3759,
273,
866,
3386,
9673,
3024,
3116,
5621,
3639... |
public org.quickfix.field.NumTickets getNumTickets() throws FieldNotFound { org.quickfix.field.NumTickets value = new org.quickfix.field.NumTickets(); | public quickfix.field.NumTickets getNumTickets() throws FieldNotFound { quickfix.field.NumTickets value = new quickfix.field.NumTickets(); | public org.quickfix.field.NumTickets getNumTickets() throws FieldNotFound { org.quickfix.field.NumTickets value = new org.quickfix.field.NumTickets(); getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/BidRequest.java/clean/src/java/src/quickfix/fix43/BidRequest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
2578,
6264,
2413,
11187,
6264,
2413,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
2578,
6264,
2413,
460,
273,
394,
2358,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
2578,
6264,
2413,
11187,
6264,
2413,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
2578,
6264,
2413,
460,
273,
394,
2358,... |
chatWindow.getMainToolBar().changeHistoryButtonsSate( ChatPanel.this); | public void run() { getChatWindow().setTitle( getMetaContact().getDisplayName()); chatWindow.setCurrentChatPanel(ChatPanel.this); chatWindow.getMainTool... | 43455 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/43455/ad68448c6b5c963f9f92822a0f24d86ac9a4161e/ChatPanel.java/buggy/src/net/java/sip/communicator/impl/gui/main/message/ChatPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
7682,
1071,
918,
1086,
1435,
288,
18701,
336,
14163,
3829,
7675,
542,
4247,
12,
4766,
565,
11312,
6567,
7675,
588,
20524,
10663,
18701,
7916,
3829,
18,
542,
3935,
14163,
5537,
12,
14163,
5537,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7682,
1071,
918,
1086,
1435,
288,
18701,
336,
14163,
3829,
7675,
542,
4247,
12,
4766,
565,
11312,
6567,
7675,
588,
20524,
10663,
18701,
7916,
3829,
18,
542,
3935,
14163,
5537,
12,
14163,
5537,
1... | |
createViewHistory(); | fViewHistory= new RunnerViewHistory(); | public void createPartControl(Composite parent) { fParent= parent; addResizeListener(parent); fClipboard= new Clipboard(parent.getDisplay()); GridLayout gridLayout= new GridLayout(); gridLayout.marginWidth= 0; gridLayout.marginHeight= 0; parent.setLayout(gridLayout); createViewHistory(); configureToolBar(... | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/547b7a0725dcc7f23a3898f91344ae2b458219f0/TestRunnerViewPart.java/buggy/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
752,
1988,
3367,
12,
9400,
982,
13,
288,
1082,
202,
74,
3054,
33,
982,
31,
202,
202,
1289,
12182,
2223,
12,
2938,
1769,
202,
202,
74,
15339,
3752,
33,
394,
385,
3169,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
752,
1988,
3367,
12,
9400,
982,
13,
288,
1082,
202,
74,
3054,
33,
982,
31,
202,
202,
1289,
12182,
2223,
12,
2938,
1769,
202,
202,
74,
15339,
3752,
33,
394,
385,
3169,
3... |
organizer.deleteRecipeFromDatabase(); } | organizer.renameWorkspace(); } | public void actionPerformed(ActionEvent e) { organizer.deleteRecipeFromDatabase(); } | 9368 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9368/726e50c37c8dcfa913f4f634b85dff3ffb0b49ed/OrganizerMouseListener.java/clean/csmart/src/org/cougaar/tools/csmart/ui/viewer/OrganizerMouseListener.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
3639,
15501,
1824,
18,
3733,
5650,
3151,
1265,
4254,
5621,
1377,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
3639,
15501,
1824,
18,
3733,
5650,
3151,
1265,
4254,
5621,
1377,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
MemberExpressionNode( Node base, Node name ) { | MemberExpressionNode( Node base, Node name, int pos ) { super(pos); | MemberExpressionNode( Node base, Node name ) { this.base = base; this.name = name; } | 47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/c8f0271f30beb85814bc53c3804d1ad914028ad4/Nodes.java/buggy/js2/jsc/src/java/parser/Nodes.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
8596,
2300,
907,
12,
2029,
1026,
16,
2029,
508,
16,
509,
949,
262,
288,
2240,
12,
917,
1769,
3639,
333,
18,
1969,
273,
1026,
31,
202,
565,
333,
18,
529,
273,
508,
31,
565,
289,
2,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
8596,
2300,
907,
12,
2029,
1026,
16,
2029,
508,
16,
509,
949,
262,
288,
2240,
12,
917,
1769,
3639,
333,
18,
1969,
273,
1026,
31,
202,
565,
333,
18,
529,
273,
508,
31,
565,
289,
2,
-... |
private HtmlElement getNextElementUpwards( DomNode startingNode ) { | private HtmlElement getNextElementUpwards( final DomNode startingNode ) { | private HtmlElement getNextElementUpwards( DomNode startingNode ) { if( startingNode == DomNode.this) { return null; } final DomNode parent = startingNode.getParentNode(); if( parent == DomNode.this ) { return null; } ... | 3508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3508/bfbb9e2a2e54bf7040308f5f0b4fd744c80370c8/DomNode.java/buggy/htmlunit/src/java/com/gargoylesoftware/htmlunit/html/DomNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
5430,
1046,
6927,
1046,
1211,
6397,
12,
727,
12965,
907,
5023,
907,
262,
288,
5411,
309,
12,
5023,
907,
422,
12965,
907,
18,
2211,
13,
288,
7734,
327,
446,
31,
5411,
289,
5411,
72... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3238,
5430,
1046,
6927,
1046,
1211,
6397,
12,
727,
12965,
907,
5023,
907,
262,
288,
5411,
309,
12,
5023,
907,
422,
12965,
907,
18,
2211,
13,
288,
7734,
327,
446,
31,
5411,
289,
5411,
72... |
fetchSpecMap.setBoolean("prompsAfterFetchLimit", myPromptsAfterFetchLimit); | fetchSpecMap.setBoolean("prompsAfterFetchLimit", myPromptsAfterFetchLimit, EOModelMap.YESNO); | public EOModelMap toMap() { EOModelMap fetchSpecMap = myFetchSpecMap.cloneModelMap(); fetchSpecMap.setString("entityName", myEntity.getName(), true); //$NON-NLS-1$ fetchSpecMap.setString("class", myClass, true); //$NON-NLS-1$ fetchSpecMap.setInteger("fetchLimit", myFetchLimit); //$NON-NLS-1$ fetchSpecM... | 50596 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50596/d4baf09fd4601817abef5e90b53ca0c30bc3403f/EOFetchSpecification.java/buggy/wolips/plugins/org.objectstyle.wolips.eomodeler/java/org/objectstyle/wolips/eomodeler/model/EOFetchSpecification.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
512,
51,
1488,
863,
24382,
1435,
288,
565,
512,
51,
1488,
863,
2158,
1990,
863,
273,
3399,
5005,
1990,
863,
18,
14056,
1488,
863,
5621,
565,
2158,
1990,
863,
18,
542,
780,
2932,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
512,
51,
1488,
863,
24382,
1435,
288,
565,
512,
51,
1488,
863,
2158,
1990,
863,
273,
3399,
5005,
1990,
863,
18,
14056,
1488,
863,
5621,
565,
2158,
1990,
863,
18,
542,
780,
2932,
1... |
createMenuItem(menu, editor, editor.getId().equals(preferredEditor.getId())); if (editor.getId().equals(defaultEditor.getId())) | createMenuItem(menu, editor, preferredEditor); if (defaultEditor != null && editor.getId().equals(defaultEditor.getId())) | public void fill(Menu menu, int index) { IFile file = getFileResource(); if (file == null) { return; } IEditorDescriptor defaultEditor = registry.getDefaultEditor(); IEditorDescriptor preferredEditor = registry.getDefaultEditor(file); Object[] editors = sorter.sort(registry.getEditors(file)); boolean defaultFound = fa... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/11b6f838915e4bba4ecf34243221626b87dc51e5/OpenWithMenu.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/actions/OpenWithMenu.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
3636,
12,
4599,
3824,
16,
509,
770,
13,
288,
202,
45,
812,
585,
273,
6034,
1420,
5621,
202,
430,
261,
768,
422,
446,
13,
288,
202,
202,
2463,
31,
202,
97,
202,
45,
6946,
3187,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
3636,
12,
4599,
3824,
16,
509,
770,
13,
288,
202,
45,
812,
585,
273,
6034,
1420,
5621,
202,
430,
261,
768,
422,
446,
13,
288,
202,
202,
2463,
31,
202,
97,
202,
45,
6946,
3187,
... |
return padding[side].getLengthValue(); | return padding[side].getLengthValue(context); | public int getPadding(int side, boolean bDiscard) { if ((padding[side] == null) || (bDiscard && padding[side].isDiscard())) { return 0; } else { return padding[side].getLengthValue(); } } | 5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/8cad88a3e360b7c05118fb66275f45b090f51c97/CommonBorderPaddingBackground.java/clean/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
28307,
12,
474,
4889,
16,
1250,
324,
14185,
13,
288,
3639,
309,
14015,
9598,
63,
5564,
65,
422,
446,
13,
747,
261,
70,
14185,
597,
4992,
63,
5564,
8009,
291,
14185,
1435,
371... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
28307,
12,
474,
4889,
16,
1250,
324,
14185,
13,
288,
3639,
309,
14015,
9598,
63,
5564,
65,
422,
446,
13,
747,
261,
70,
14185,
597,
4992,
63,
5564,
8009,
291,
14185,
1435,
371... |
if (nodeId == null) { throw new MissingParameterException("node", new String[] { "node", "endUrl" }); } | ArrayList intfs; | public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String nodeId = request.getParameter("node"); String endUrl = request.getParameter("endUrl"); if (nodeId == null) { throw new MissingParameterException("node", new Strin... | 25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/20cfe0c634effd449d70c2d4bd7addbd21c11319/AddInterfaceToURLServlet.java/buggy/src/web/src/org/opennms/web/performance/AddInterfaceToURLServlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
23611,
12,
2940,
18572,
590,
16,
12446,
766,
13,
1216,
16517,
16,
1860,
288,
3639,
514,
11507,
273,
590,
18,
588,
1662,
2932,
2159,
8863,
3639,
514,
679,
1489,
273,
590,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
23611,
12,
2940,
18572,
590,
16,
12446,
766,
13,
1216,
16517,
16,
1860,
288,
3639,
514,
11507,
273,
590,
18,
588,
1662,
2932,
2159,
8863,
3639,
514,
679,
1489,
273,
590,
18,
... |
super(reason, minor, completed); | super(message, 0, CompletionStatus.COMPLETED_NO); | public BAD_INV_ORDER(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/BAD_INV_ORDER.java/buggy/core/src/classpath/org/org/omg/CORBA/BAD_INV_ORDER.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
16467,
67,
706,
58,
67,
7954,
12,
780,
3971,
16,
509,
8439,
16,
20735,
1482,
5951,
13,
225,
288,
565,
2240,
12,
2150,
16,
374,
16,
20735,
1482,
18,
15795,
40,
67,
3417,
1769,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
16467,
67,
706,
58,
67,
7954,
12,
780,
3971,
16,
509,
8439,
16,
20735,
1482,
5951,
13,
225,
288,
565,
2240,
12,
2150,
16,
374,
16,
20735,
1482,
18,
15795,
40,
67,
3417,
1769,
22... |
protected void extractFile(Touch touch, File srcF, File dir, | protected void extractFile(FileUtils fileUtils, File srcF, File dir, | protected void extractFile(Touch touch, File srcF, File dir, InputStream compressedInputStream, String entryName, long entrySize, Date entryDate, boolean isDirectory) throws IOException { e... | 17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/9c86fd265f6419eecb2db25a8d51560e475fc74b/Expand.java/buggy/src/main/org/apache/tools/ant/taskdefs/Expand.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
2608,
812,
12,
812,
1989,
585,
1989,
16,
1387,
1705,
42,
16,
1387,
1577,
16,
1171,
9079,
5037,
8968,
4348,
16,
1171,
9079,
514,
1241,
461,
16,
1525,
1241,
1225,
16,
1171,
907... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
2608,
812,
12,
812,
1989,
585,
1989,
16,
1387,
1705,
42,
16,
1387,
1577,
16,
1171,
9079,
5037,
8968,
4348,
16,
1171,
9079,
514,
1241,
461,
16,
1525,
1241,
1225,
16,
1171,
907... |
new ColumnSpec[] { FormFactory.GLUE_COLSPEC, FormFactory.BUTTON_COLSPEC }, RowSpec.decodeSpecs("pref"))); | new ColumnSpec[] { FormFactory.GLUE_COLSPEC, FormFactory.BUTTON_COLSPEC }, RowSpec.decodeSpecs("pref"))); | private void initComponents() { // JFormDesigner - Component initialization - DO NOT MODIFY //GEN-BEGIN:initComponents dialogPane = new JPanel(); contentPane = new JPanel(); tabbedPane1 = new JTabbedPane(); tabGeneral = new JPanel(); label2 = new JLabel(); label5 = ... | 4430 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4430/21f189efd0dc560976d5ee501836c5849800a38c/AWPrefsDialog.java/clean/src/org/antlr/works/prefs/AWPrefsDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
7171,
1435,
288,
3639,
368,
804,
1204,
15478,
264,
300,
5435,
10313,
300,
5467,
4269,
8663,
12096,
225,
368,
16652,
17,
16061,
30,
2738,
7171,
3639,
6176,
8485,
273,
394,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
7171,
1435,
288,
3639,
368,
804,
1204,
15478,
264,
300,
5435,
10313,
300,
5467,
4269,
8663,
12096,
225,
368,
16652,
17,
16061,
30,
2738,
7171,
3639,
6176,
8485,
273,
394,
... |
super.handleSelectionChanged(); | protected void handleSelectionChanged() { super.handleSelectionChanged(); handleUpperSelectionChanged(); } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/597a28ca2cc3744b624c7db48610f11650d3c7ab/TwoPaneElementSelector.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/dialogs/TwoPaneElementSelector.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1640,
6233,
5033,
1435,
288,
202,
202,
9565,
18,
4110,
6233,
5033,
5621,
202,
202,
4110,
5988,
6233,
5033,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1640,
6233,
5033,
1435,
288,
202,
202,
9565,
18,
4110,
6233,
5033,
5621,
202,
202,
4110,
5988,
6233,
5033,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | |
ze.setTime(fromDosTime(new ZipLong(cfh, off)).getTime()); | long time = dosToJavaTime(ZipLong.getValue(cfh, off)); ze.setTime(time); | private void populateFromCentralDirectory() throws IOException { positionAtCentralDirectory(); byte[] cfh = new byte[CFH_LEN]; byte[] signatureBytes = new byte[4]; archive.readFully(signatureBytes); ZipLong sig = new ZipLong(signatureBytes); while (sig.equals(ZipOutp... | 639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/a05d1f12196d34b23d4ab80c3598f6fb63410ac5/ZipFile.java/clean/src/main/org/apache/tools/zip/ZipFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
6490,
1265,
39,
12839,
2853,
1435,
3639,
1216,
1860,
288,
3639,
1754,
861,
39,
12839,
2853,
5621,
3639,
1160,
8526,
6080,
76,
273,
394,
1160,
63,
8955,
44,
67,
13017,
15533,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6490,
1265,
39,
12839,
2853,
1435,
3639,
1216,
1860,
288,
3639,
1754,
861,
39,
12839,
2853,
5621,
3639,
1160,
8526,
6080,
76,
273,
394,
1160,
63,
8955,
44,
67,
13017,
15533,
36... |
String parentPath = res.getParentPath(); | public void processAction(ActionEvent arg0) throws AbortProcessingException { HtmlCommandButton source = (HtmlCommandButton) arg0.getSource(); String path = (String) source.getAttributes().get(PARAMETER_PATH); String action = (String) source.getAttributes().get(ACTION); if (ACTION_YES.equals(action)) { WebdavE... | 10078 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10078/0e4d51c6a583b5ac5cba70e8f027b54a492553f9/WebDAVDocumentDeleter.java/clean/src/java/com/idega/content/presentation/WebDAVDocumentDeleter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
780,
17743,
273,
400,
18,
588,
3054,
743,
5621,
918,
780,
17743,
273,
400,
18,
588,
3054,
743,
5621,
1207,
1803,
12,
1803,
1133,
780,
17743,
273,
400,
18,
588,
3054,
743,
5621... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
780,
17743,
273,
400,
18,
588,
3054,
743,
5621,
918,
780,
17743,
273,
400,
18,
588,
3054,
743,
5621,
1207,
1803,
12,
1803,
1133,
780,
17743,
273,
400,
18,
588,
3054,
743,
5621... | |
return dataSet.getHandle( design ); | assert dataSet instanceof DataSet; return (DataSetHandle) dataSet.getHandle( design ); | public DesignElementHandle getDataSet( ) { DesignElement dataSet = ( (ReportItem) getElement( ) ) .getDataSetElement( design ); if ( dataSet == null ) return null; return dataSet.getHandle( design ); } | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e0224f2e49f26903193344cfb1f5433c5de070f0/ReportItemHandle.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ReportItemHandle.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
29703,
1046,
3259,
4303,
694,
12,
262,
202,
95,
202,
202,
15478,
1046,
14837,
273,
261,
261,
4820,
1180,
13,
7426,
12,
262,
262,
9506,
202,
18,
588,
13676,
1046,
12,
8281,
112... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
29703,
1046,
3259,
4303,
694,
12,
262,
202,
95,
202,
202,
15478,
1046,
14837,
273,
261,
261,
4820,
1180,
13,
7426,
12,
262,
262,
9506,
202,
18,
588,
13676,
1046,
12,
8281,
112... |
d = d >= 0 | d = d >= 0 | public static char toUint16(Object val) { long int16 = 0x10000; double d = toNumber(val); if (d != d || d == 0.0 || d == Double.POSITIVE_INFINITY || d == Double.NEGATIVE_INFINITY) { return 0; } d = Math.IEEEremainder(d, int16); d = d >= 0 ? d : d + int16; return (char) Math.floor(d); } | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/a73c6e75ae2fab8328356d16318be7fab782905c/ScriptRuntime.java/buggy/src/org/mozilla/javascript/ScriptRuntime.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1149,
358,
5487,
2313,
12,
921,
1244,
13,
288,
202,
5748,
509,
2313,
273,
374,
92,
23899,
31,
202,
9056,
302,
273,
358,
1854,
12,
1125,
1769,
202,
430,
261,
72,
480,
302,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1149,
358,
5487,
2313,
12,
921,
1244,
13,
288,
202,
5748,
509,
2313,
273,
374,
92,
23899,
31,
202,
9056,
302,
273,
358,
1854,
12,
1125,
1769,
202,
430,
261,
72,
480,
302,
7... |
ORB anOrb ) | ORB anOrb ) | public gnuDynEnum(TypeCode oType, TypeCode aType, gnuDynAnyFactory aFactory, ORB anOrb ) { super(oType, aType, aFactory, anOrb); try { values = new String[ final_type.member_count() ]; for (int i = 0; i < values.length; i++) { values [... | 45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/d03b7ded9dacd5a74a8420d7dade451079b17d89/gnuDynEnum.java/clean/libraries/javalib/gnu/CORBA/DynAn/gnuDynEnum.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
314,
13053,
10419,
3572,
12,
15460,
320,
559,
16,
30332,
279,
559,
16,
314,
13053,
10419,
2961,
1733,
279,
1733,
16,
10792,
4869,
38,
392,
1162,
70,
10402,
262,
225,
288,
565,
2240,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
314,
13053,
10419,
3572,
12,
15460,
320,
559,
16,
30332,
279,
559,
16,
314,
13053,
10419,
2961,
1733,
279,
1733,
16,
10792,
4869,
38,
392,
1162,
70,
10402,
262,
225,
288,
565,
2240,... |
return makeKey(host, port, transport); | return makeKey(this.getIPAddress(), port, transport); | protected String getKey() { return makeKey(host, port, transport); } | 7607 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7607/d3bce65e49e71ee7df15bd72fd338535d4501bc1/ListeningPointImpl.java/clean/trunk/src/gov/nist/javax/sip/ListeningPointImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
3579,
1435,
288,
202,
202,
2463,
1221,
653,
12,
2564,
16,
1756,
16,
4736,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
3579,
1435,
288,
202,
202,
2463,
1221,
653,
12,
2564,
16,
1756,
16,
4736,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
digest.update( data ); | InputStream in = null; try { in = new BufferedInputStream( new FileInputStream( artifactFile ) ); byte[] buffer = new byte[16]; int read = -1; while ( ( read = in.read( buffer ) ) > -1 ) { digest.update(buffer, 0, read); } } catch ( IOException e ) { throw new ArtifactDigestException( "Error reading artifact data from... | private byte[] generateArtifactDigest( File artifactFile, String algorithm ) throws ArtifactDigestException { byte[] data = null; try { data = readFile( artifactFile ); } catch ( IOException e ) { throw new ArtifactDigestException( "Error reading ar... | 11530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11530/dc92832ad28e92b0369b5061d9844010f2524302/ArtifactDigestor.java/buggy/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/digest/ArtifactDigestor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1160,
8526,
2103,
7581,
9568,
12,
1387,
6462,
812,
16,
514,
4886,
262,
1216,
14022,
9568,
503,
565,
288,
3639,
1160,
8526,
501,
273,
446,
31,
3639,
775,
3639,
288,
5411,
501,
273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1160,
8526,
2103,
7581,
9568,
12,
1387,
6462,
812,
16,
514,
4886,
262,
1216,
14022,
9568,
503,
565,
288,
3639,
1160,
8526,
501,
273,
446,
31,
3639,
775,
3639,
288,
5411,
501,
273,
... |
public static int getBaselineOffset( Context c, LineBox curr_line, InlineBox new_inline, int blockLineHeight, LineMetrics blockLineMetrics ) { | public static int getBaselineOffset(Context c, LineBox curr_line, InlineBox new_inline, int blockLineHeight, LineMetrics blockLineMetrics) { | public static int getBaselineOffset( Context c, LineBox curr_line, InlineBox new_inline, int blockLineHeight, LineMetrics blockLineMetrics ) { int lineHeight; int ascent; int descent; int baselineOffset; if ( new_inline instanceof InlineTextBox ) { // should be the metr... | 53937 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53937/b2c3ac9b3acc975e472da2805929707f4c06b168/VerticalAlign.java/buggy/src/java/org/xhtmlrenderer/layout/inline/VerticalAlign.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
509,
2882,
345,
3027,
2335,
12,
1042,
276,
16,
5377,
3514,
4306,
67,
1369,
16,
16355,
3514,
394,
67,
10047,
16,
509,
1203,
1670,
2686,
16,
5377,
5653,
1203,
1670,
5653,
13,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
509,
2882,
345,
3027,
2335,
12,
1042,
276,
16,
5377,
3514,
4306,
67,
1369,
16,
16355,
3514,
394,
67,
10047,
16,
509,
1203,
1670,
2686,
16,
5377,
5653,
1203,
1670,
5653,
13,
2... |
public boolean isSignificant() { | public boolean isSignificant() { for (int i = edits.size() - 1; i >= 0; i--) if (((UndoableEdit) edits.elementAt(i)).isSignificant()) return true; | public boolean isSignificant() { // Variables int index; UndoableEdit current; // Check each edit for (index = 0; index < edits.size(); index++) { current = (UndoableEdit) edits.elementAt(index); if (current.isSignificant() == true) { return true; } } // for: index return false; } // isSignificant() | 25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/1a56510a6b5772240a0ed85a7518db15a15edb8a/CompoundEdit.java/buggy/libjava/javax/swing/undo/CompoundEdit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
29822,
1435,
288,
202,
202,
759,
23536,
202,
202,
474,
9506,
202,
1615,
31,
202,
202,
31224,
429,
4666,
202,
2972,
31,
202,
202,
759,
2073,
1517,
3874,
202,
202,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
29822,
1435,
288,
202,
202,
759,
23536,
202,
202,
474,
9506,
202,
1615,
31,
202,
202,
31224,
429,
4666,
202,
2972,
31,
202,
202,
759,
2073,
1517,
3874,
202,
202,
18... |
public Image getBase(IHex hex, Component comp) { | public synchronized Image getBase(IHex hex, Component comp) { | public Image getBase(IHex hex, Component comp) { Object[] pair = (Object[])hexToImageCache.get(hex); if (pair == null) { pair = assignMatch(hex, comp); } return (Image) pair[0]; } | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/cebb7ad82810d7630d48f54df08aeaf2ebb35dcc/HexTileset.java/buggy/megamek/src/megamek/client/ui/AWT/HexTileset.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
3421,
8297,
12,
45,
7037,
3827,
16,
5435,
1161,
13,
288,
3639,
1033,
8526,
3082,
273,
261,
921,
63,
5717,
7118,
774,
2040,
1649,
18,
588,
12,
7118,
1769,
3639,
309,
261,
601... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3852,
3421,
8297,
12,
45,
7037,
3827,
16,
5435,
1161,
13,
288,
3639,
1033,
8526,
3082,
273,
261,
921,
63,
5717,
7118,
774,
2040,
1649,
18,
588,
12,
7118,
1769,
3639,
309,
261,
601... |
{ int h = fact.hashCode(), i = hierarchy.hashCode(); return (h << 8) ^ i; } | { int h = fact.hashCode(), i = hierarchy.hashCode(); return (h << 8) ^ i; } | public int hashCode() { int h = fact.hashCode(), i = hierarchy.hashCode(); return (h << 8) ^ i; } | 4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/b5b5168edc3af09cb74945a80b0c36e6630ed502/PrivateHierarchyUsage.java/clean/src/main/mondrian/rolap/PrivateHierarchyUsage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
13374,
1435,
202,
95,
202,
202,
474,
366,
273,
5410,
18,
2816,
1085,
9334,
1082,
202,
77,
273,
9360,
18,
2816,
1085,
5621,
202,
202,
2463,
261,
76,
2296,
1725,
13,
3602,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
13374,
1435,
202,
95,
202,
202,
474,
366,
273,
5410,
18,
2816,
1085,
9334,
1082,
202,
77,
273,
9360,
18,
2816,
1085,
5621,
202,
202,
2463,
261,
76,
2296,
1725,
13,
3602,
... |
private ClassLoader getClassLoader(){ try{ | private ClassLoader getClassLoader() { try { | private ClassLoader getClassLoader(){ try{ return Thread.currentThread().getContextClassLoader(); } catch (Exception e){ //e.printStackTrace(); } return null; } | 47052 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47052/5e78f771b8abd956a7bea6f545806c247dd55cd4/LocalInitialContextFactory.java/buggy/openejb2/modules/core/src/java/org/openejb/client/LocalInitialContextFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
9403,
14352,
1435,
95,
3639,
775,
95,
5411,
327,
4884,
18,
2972,
3830,
7675,
29120,
7805,
5621,
3639,
289,
1044,
261,
503,
425,
15329,
5411,
368,
73,
18,
1188,
6332,
5621,
3639,
289... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
9403,
14352,
1435,
95,
3639,
775,
95,
5411,
327,
4884,
18,
2972,
3830,
7675,
29120,
7805,
5621,
3639,
289,
1044,
261,
503,
425,
15329,
5411,
368,
73,
18,
1188,
6332,
5621,
3639,
289... |
int rc = VM_SysCall.sysWriteBytes(fd, start, cnt); if (rc >= 0) return rc; else if (rc == -1) { | int rc = VM_SysCall.sysWriteBytes(fd, VM_Magic.objectAsAddress(buf).add(off), cnt); if (rc >= 0) { written += rc; off += rc; cnt -= rc; if (cnt == 0) return written; else continue; } else if (rc == -1) { | public static int writeBytes(int fd, byte buf[], int off, int cnt) { if (off < 0) throw new IndexOutOfBoundsException(); // trim request to fit array // note: this behavior is the way the JDK does it (as of version 1.1.3) // whereas the language spec says to throw IndexOutOfBounds exception... // ... | 4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/db7869f60d0e1b2f9f0d0ad344864e3de7b8bcde/VM_FileSystem.java/clean/rvm/src/vm/runtime/VM_FileSystem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
509,
29579,
12,
474,
5194,
16,
1160,
1681,
63,
6487,
509,
3397,
16,
509,
7599,
13,
288,
565,
309,
261,
3674,
411,
374,
13,
1377,
604,
394,
17768,
5621,
565,
368,
2209,
590,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
509,
29579,
12,
474,
5194,
16,
1160,
1681,
63,
6487,
509,
3397,
16,
509,
7599,
13,
288,
565,
309,
261,
3674,
411,
374,
13,
1377,
604,
394,
17768,
5621,
565,
368,
2209,
590,
... |
int caretCol = caretMarker.getStartOffset() - StringUtil.lineColToOffset(fileText, caretLine, 0); | int caretCol = EditorUtil.calcColumnNumber(null, myEditor.getDocument().getText(), myEditor.getDocument().getLineStartOffset(caretLine), caretMarker.getStartOffset(), CodeStyleSettingsManager.getSettings(getProject()).JAVA_INDENT_OPTIONS.TAB_SIZE); | private void setupCaret(final RangeMarker caretMarker, String fileText) { if (caretMarker != null) { int caretLine = StringUtil.offsetToLineNumber(fileText, caretMarker.getStartOffset()); int caretCol = caretMarker.getStartOffset() - StringUtil.lineColToOffset(fileText, caretLine, 0); LogicalPositio... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/398ecd4f3650b80edb5853ba05d83d5801457db7/LightCodeInsightTestCase.java/clean/ExtendedApi/src/com/intellij/testFramework/LightCodeInsightTestCase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
3875,
39,
20731,
12,
6385,
8086,
7078,
21683,
7078,
16,
514,
585,
1528,
13,
288,
565,
309,
261,
71,
20731,
7078,
480,
446,
13,
288,
1377,
509,
21683,
1670,
273,
14205,
18,
33... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
3875,
39,
20731,
12,
6385,
8086,
7078,
21683,
7078,
16,
514,
585,
1528,
13,
288,
565,
309,
261,
71,
20731,
7078,
480,
446,
13,
288,
1377,
509,
21683,
1670,
273,
14205,
18,
33... |
return getRuntime().newString("#<" + getMetaClass().getName() + ">"); | return inspect(); | public IRubyObject to_s() { return getRuntime().newString("#<" + getMetaClass().getName() + ">"); } | 45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/7c8f2b8eef39162335ebb91ec372425a2b17cc67/RubyStruct.java/clean/src/org/jruby/RubyStruct.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
358,
67,
87,
1435,
288,
3639,
327,
5334,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
358,
67,
87,
1435,
288,
3639,
327,
5334,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
map.generateCode(header, source, _context); | map.generateCode(header, source, _context, _package, null); | public void generateCode(PrintStream header, PrintStream source, String srcfileBase) throws ParseException { ListIterator mapIt; ListIterator transIt; ListIterator paramIt; SmcMap map; SmcTransition trans; Sm... | 50995 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50995/ffbfa44caa39de8d579429432aa3aca8bd077721/SmcParseTreeJava.java/clean/net/sf/smc/SmcParseTreeJava.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2103,
1085,
12,
5108,
1228,
1446,
16,
11794,
21677,
1084,
16,
11794,
514,
1705,
768,
2171,
13,
3639,
1216,
10616,
565,
288,
3639,
987,
3198,
852,
7193,
31,
3639,
987,
3198,
906... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2103,
1085,
12,
5108,
1228,
1446,
16,
11794,
21677,
1084,
16,
11794,
514,
1705,
768,
2171,
13,
3639,
1216,
10616,
565,
288,
3639,
987,
3198,
852,
7193,
31,
3639,
987,
3198,
906... |
public org.quickfix.field.EncodedSecurityDesc getEncodedSecurityDesc() throws FieldNotFound { org.quickfix.field.EncodedSecurityDesc value = new org.quickfix.field.EncodedSecurityDesc(); | public quickfix.field.EncodedSecurityDesc getEncodedSecurityDesc() throws FieldNotFound { quickfix.field.EncodedSecurityDesc value = new quickfix.field.EncodedSecurityDesc(); | public org.quickfix.field.EncodedSecurityDesc getEncodedSecurityDesc() throws FieldNotFound { org.quickfix.field.EncodedSecurityDesc value = new org.quickfix.field.EncodedSecurityDesc(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/QuoteRequestReject.java/clean/src/java/src/quickfix/fix44/QuoteRequestReject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
4368,
4217,
28799,
4368,
4217,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
4368,
4217,
460,
273,
394,
235... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
4368,
4217,
28799,
4368,
4217,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
4368,
4217,
460,
273,
394,
235... |
hardware.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_HARDWARE, repositoryUrl)); | hardware.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_HARDWARE, selectedProducts, repositoryUrl)); | private void updateAttributesFromRepository(String repositoryUrl, boolean connect) { monitorDialog.open(); IProgressMonitor monitor = monitorDialog.getProgressMonitor(); monitor.beginTask("Updating search options...", 55); try { // TaskRepository repository = // MylarTaskListPlugin.getRepositoryManager().getDe... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/efd58c196697556eaa8ce05ae112b46dc36d0117/BugzillaSearchPage.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1089,
2498,
1265,
3305,
12,
780,
3352,
1489,
16,
1250,
3077,
13,
288,
202,
202,
10259,
6353,
18,
3190,
5621,
202,
202,
45,
5491,
7187,
6438,
273,
6438,
6353,
18,
588,
54... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1089,
2498,
1265,
3305,
12,
780,
3352,
1489,
16,
1250,
3077,
13,
288,
202,
202,
10259,
6353,
18,
3190,
5621,
202,
202,
45,
5491,
7187,
6438,
273,
6438,
6353,
18,
588,
54... |
ArrayList actions = ((BasicContribution) cache.get(i)).actions; if (actions != null) { for (int j = 0; j < actions.size(); j++) { PluginAction proxy = ((ActionDescriptor) actions.get(j)) .getAction(); if (proxy.getDelegate() instanceof IActionDelegate2) ((IActionDelegate2) proxy.getDelegate()).dispose(); } } | ((BasicContribution) cache.get(i)).dispose(); | public void dispose() { if (cache != null) { for (int i = 0; i < cache.size(); i++) { ArrayList actions = ((BasicContribution) cache.get(i)).actions; if (actions != null) { for (int j = 0; j < actions.size(); j++) { PluginActi... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/16f10c8694f7dbb509caa0b2199aced1aa2436bf/ViewerActionBuilder.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ViewerActionBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
15825,
1435,
288,
3639,
309,
261,
2493,
480,
446,
13,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1247,
18,
1467,
5621,
277,
27245,
288,
7734,
2407,
4209,
273,
140... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15825,
1435,
288,
3639,
309,
261,
2493,
480,
446,
13,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1247,
18,
1467,
5621,
277,
27245,
288,
7734,
2407,
4209,
273,
140... |
{ | { | void acquireComponentForMouseEvent (MouseEvent me) { int x = me.getX (); int y = me.getY (); Component candidate = mouseEventTarget; boolean candidate_is_container_with_children = ((candidate != null) && (candidate instanceof Container) && (((Container)candidate).getComponentCount () > 0))... | 1739 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1739/ad6c8435ee03593e980da05d382c95b10d220822/Container.java/buggy/libjava/java/awt/Container.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
10533,
1841,
1290,
9186,
1133,
261,
9186,
1133,
1791,
13,
225,
288,
565,
509,
619,
273,
1791,
18,
588,
60,
261,
1769,
565,
509,
677,
273,
1791,
18,
588,
61,
261,
1769,
565,
5435,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
10533,
1841,
1290,
9186,
1133,
261,
9186,
1133,
1791,
13,
225,
288,
565,
509,
619,
273,
1791,
18,
588,
60,
261,
1769,
565,
509,
677,
273,
1791,
18,
588,
61,
261,
1769,
565,
5435,
... |
if(automationHelperClass != null) | if (automationHelperClass != null) | private void doInstall(AutomatedInstallData installdata) throws Exception { // TODO: i18n System.out.println("[ Starting automated installation ]"); // walk the panels in order Iterator panelsIterator = installdata.panelsOrder.iterator(); while(panelsIterator.hasNext()) { Panel p = (Panel)... | 46579 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46579/6629f6e7b4d88c756f0670c257942fdabc2ec0f1/AutomatedInstaller.java/buggy/src/lib/com/izforge/izpack/installer/AutomatedInstaller.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
741,
6410,
12,
22932,
690,
6410,
751,
3799,
892,
13,
377,
1216,
1185,
225,
288,
565,
368,
2660,
30,
277,
2643,
82,
565,
2332,
18,
659,
18,
8222,
2932,
63,
24591,
18472,
690,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
741,
6410,
12,
22932,
690,
6410,
751,
3799,
892,
13,
377,
1216,
1185,
225,
288,
565,
368,
2660,
30,
277,
2643,
82,
565,
2332,
18,
659,
18,
8222,
2932,
63,
24591,
18472,
690,
... |
if (_options.getInactivityTimeout() <= 0) return; | if (_options.getInactivityTimeout() <= 0) { if (_log.shouldLog(Log.DEBUG)) _log.debug("Inactivity timeout reached, but there is no timer..."); return; } | public void timeReached() { // uh, nothing more to do... if (!_connected) return; // we got rescheduled already if (getTimeLeft() > 0) return; // these are either going to time out or cause further rescheduling if (getUnackedPacketsSent() > 0) re... | 3808 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3808/b9b59ff95fa26f930c7e03f11cb8de9d2416888f/Connection.java/buggy/apps/streaming/java/src/net/i2p/client/streaming/Connection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
813,
23646,
1435,
288,
5411,
368,
582,
76,
16,
5083,
1898,
358,
741,
2777,
5411,
309,
16051,
67,
8537,
13,
327,
31,
5411,
368,
732,
2363,
400,
2847,
72,
1818,
5411,
309,
261,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
813,
23646,
1435,
288,
5411,
368,
582,
76,
16,
5083,
1898,
358,
741,
2777,
5411,
309,
16051,
67,
8537,
13,
327,
31,
5411,
368,
732,
2363,
400,
2847,
72,
1818,
5411,
309,
261,... |
final Object value = context.extractor.getValue( right ); | final Object value = context.getFieldExtractor().getValue( right ); | public boolean evaluateCachedLeft(final VariableContextEntry context, final Object right) { final Object value = context.extractor.getValue( right ); if ( ((ObjectVariableContextEntry) context).left == null ) { return value == null; ... | 5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/b6d27b51773c616f04e39b7d6c5e3cd95aeab255/BigDecimalFactory.java/clean/drools-core/src/main/java/org/drools/base/evaluators/BigDecimalFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1250,
5956,
9839,
3910,
12,
6385,
7110,
1042,
1622,
819,
16,
4766,
1850,
727,
1033,
2145,
13,
288,
5411,
727,
1033,
460,
273,
819,
18,
588,
974,
10958,
7675,
24805,
12,
2145,
11272,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
5956,
9839,
3910,
12,
6385,
7110,
1042,
1622,
819,
16,
4766,
1850,
727,
1033,
2145,
13,
288,
5411,
727,
1033,
460,
273,
819,
18,
588,
974,
10958,
7675,
24805,
12,
2145,
11272,... |
rs.setColName(1, "PROCEDURE_CAT"); rs.setColLabel(1, "PROCEDURE_CAT"); rs.setColName(2, "PROCEDURE_SCHEM"); rs.setColLabel(2, "PROCEDURE_SCHEM"); return rs; | CachedResultSet rsTmp = new CachedResultSet((JtdsStatement)s, colNames, colTypes); rsTmp.moveToInsertRow(); int colCnt = rs.getMetaData().getColumnCount(); while (rs.next()) { rsTmp.updateString(1, rs.getString(1)); rsTmp.updateString(2, rs.getString(2)); String name = rs.getString(3); if (name != null) { int pos =... | public java.sql.ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern) throws SQLException { String query = "exec sp_stored_procedures ?, ?, ?"; if (catalog != null) { ... | 5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/0a7ebc6de64e4f3e83cd11c83fd69cd327106d66/JtdsDatabaseMetaData.java/buggy/src/main/net/sourceforge/jtds/jdbc/JtdsDatabaseMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2252,
18,
4669,
18,
13198,
3570,
23382,
12,
780,
6222,
16,
4766,
5411,
514,
1963,
3234,
16,
4766,
5411,
514,
12131,
461,
3234,
13,
565,
1216,
6483,
288,
3639,
514,
843,
273,
315,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2252,
18,
4669,
18,
13198,
3570,
23382,
12,
780,
6222,
16,
4766,
5411,
514,
1963,
3234,
16,
4766,
5411,
514,
12131,
461,
3234,
13,
565,
1216,
6483,
288,
3639,
514,
843,
273,
315,
... |
472, 0, 0, 0, 0, 0, 0, 0, 328, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 472, 472, 327, 472, 476, 476, 476, 472, 472, 0, 476, 476, 472, 476, 472, 472, 472, 472, 472, 4... | 476, 476, 476, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 0, 472, 472, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 0, 0, 476, 476, 476, 472, 0, 0, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472... | private static final short[] yyTable2() { return new short[] { 472, 0, 0, 0, 0, 0, 0, 0, 328, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472... | 45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/f5c9a1ebd775712f2dc086acfce1a14a123ec632/YyTables.java/buggy/src/org/jruby/parser/YyTables.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1388,
22,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
1850,
1059,
9060,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1388,
22,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
1850,
1059,
9060,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565... |
TreeMap elementsToFoldMap = FoldingPolicy.getElementsToFold(file, document); final Runnable operation = new UpdateFoldRegionsOperation(editor, elementsToFoldMap, applyDefaultState); return new Runnable() { public void run() { editor.getFoldingModel().runBatchFoldingOperation(operation); editor.putUserData(LAST_UPDATE... | public static Runnable updateFoldRegions(final Editor editor, PsiElement file, boolean applyDefaultState) { ApplicationManager.getApplication().assertReadAccessAllowed(); final Project project = file.getProject(); Document document = editor.getDocument(); LOG.assertTrue(!PsiDocumentManager.getInstance(pro... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/8d4186f9e2097c01681e5216de252fe516ef3e84/FoldingUpdate.java/buggy/source/com/intellij/codeInsight/folding/impl/FoldingUpdate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
10254,
1089,
15592,
17344,
12,
6385,
18451,
4858,
16,
453,
7722,
1046,
585,
16,
1250,
2230,
1868,
1119,
13,
288,
565,
4257,
1318,
18,
588,
3208,
7675,
11231,
1994,
1862,
5042,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
10254,
1089,
15592,
17344,
12,
6385,
18451,
4858,
16,
453,
7722,
1046,
585,
16,
1250,
2230,
1868,
1119,
13,
288,
565,
4257,
1318,
18,
588,
3208,
7675,
11231,
1994,
1862,
5042,
... | |
TestElement parentElement = (TestElement) parent; | TestElement parentElement = (TestElement) parent; | public void updateElement(Object parent, int index) { TestElement parentElement = (TestElement) parent; TestElement childElement = parentElement.getChildAt(index); treeViewer.replace(parent, index, childElement); treeViewer.setChildCount(childElement, childElement.getChildCount()); } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/f8e480943eb6ef57377e669176e980d9c2df86dc/TestModelLazyTreeContentProvider.java/buggy/tests/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/viewers/TestModelLazyTreeContentProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1089,
1046,
12,
921,
982,
16,
509,
770,
13,
288,
3639,
7766,
1046,
30363,
273,
261,
4709,
1046,
13,
982,
31,
202,
202,
4709,
1046,
1151,
1046,
273,
30363,
18,
588,
1763,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1046,
12,
921,
982,
16,
509,
770,
13,
288,
3639,
7766,
1046,
30363,
273,
261,
4709,
1046,
13,
982,
31,
202,
202,
4709,
1046,
1151,
1046,
273,
30363,
18,
588,
1763,
... |
connector.getJmsSupport().send(replyToProducer, replyToMessage); | connector.getJmsSupport().send(replyToProducer, replyToMessage, topic); | public void processReplyTo(UMOEvent event, UMOMessage returnMessage, Object replyTo) throws UMOException { Destination replyToDestination = null; MessageProducer replyToProducer = null; Session session = null; try { // now we need to send the response if (replyTo... | 28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/2da07b2e68f6a70ecd7a3eef319a983cbe6e6067/JmsReplyToHandler.java/buggy/providers/jms/src/java/org/mule/providers/jms/JmsReplyToHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1207,
7817,
774,
12,
2799,
51,
1133,
871,
16,
587,
5980,
1079,
327,
1079,
16,
1033,
30934,
13,
1216,
587,
5980,
503,
565,
288,
3639,
10691,
30934,
5683,
273,
446,
31,
3639,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1207,
7817,
774,
12,
2799,
51,
1133,
871,
16,
587,
5980,
1079,
327,
1079,
16,
1033,
30934,
13,
1216,
587,
5980,
503,
565,
288,
3639,
10691,
30934,
5683,
273,
446,
31,
3639,
2... |
String[] mainTables = newQuery.getStarBases(); | String[] mainTables = newQuery.getStarBases(); | public Query ModifyQuery(Engine engine, List filters, Query query) throws InvalidQueryException { Connection conn; try { conn = query.getDataSource().getConnection(); } catch (SQLException e1) { throw new InvalidQueryException("Recieved SQLException " + e1.getMessage(), e1); } Query newQuery = new Query(query... | 2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/5d29c858564d7e4e6ede04a12954508a6284b018/ExpressionFilterHandler.java/buggy/src/java/org/ensembl/mart/lib/ExpressionFilterHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2770,
9518,
1138,
12,
4410,
4073,
16,
987,
3415,
16,
2770,
843,
13,
1216,
1962,
1138,
503,
288,
202,
202,
1952,
1487,
31,
202,
202,
698,
288,
1082,
202,
4646,
273,
843,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2770,
9518,
1138,
12,
4410,
4073,
16,
987,
3415,
16,
2770,
843,
13,
1216,
1962,
1138,
503,
288,
202,
202,
1952,
1487,
31,
202,
202,
698,
288,
1082,
202,
4646,
273,
843,
18,
... |
while (log2 < 63 && 1L << log2 < n) | while ((log2 < 63) && (1L << log2 < n)) | public static int log2(long n) { int log2 = 0; while (log2 < 63 && 1L << log2 < n) ++log2; return log2; } | 46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/Util.java/buggy/src/freenet/crypt/Util.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
509,
613,
22,
12,
5748,
290,
13,
288,
202,
202,
474,
613,
22,
273,
374,
31,
202,
202,
17523,
261,
1330,
22,
411,
13746,
597,
404,
48,
2296,
613,
22,
411,
290,
13,
108... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
509,
613,
22,
12,
5748,
290,
13,
288,
202,
202,
474,
613,
22,
273,
374,
31,
202,
202,
17523,
261,
1330,
22,
411,
13746,
597,
404,
48,
2296,
613,
22,
411,
290,
13,
108... |
protected void i_StereoTest() { int error; int[] source = new int[1]; int[] tbuffers = new int[2]; ByteBuffer BuffersInQueue = ByteBuffer.allocateDirect(4); BuffersInQueue.order(ByteOrder.nativeOrder()); ByteBuffer BuffersProcessed = ByteBuffer.allocateDirect(4)... | 5076 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5076/f85aaf6b019e121ae356134303adfe86ac9476bb/ALTest.java/clean/src/java/org/lwjgl/openal/test/ALTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
6459,
77,
67,
55,
22854,
4709,
1435,
95,
474,
202,
1636,
31,
474,
8526,
3168,
33,
2704,
474,
63,
21,
15533,
474,
8526,
18587,
3809,
414,
33,
2704,
474,
63,
22,
15533,
12242,
13699,
382... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4750,
6459,
77,
67,
55,
22854,
4709,
1435,
95,
474,
202,
1636,
31,
474,
8526,
3168,
33,
2704,
474,
63,
21,
15533,
474,
8526,
18587,
3809,
414,
33,
2704,
474,
63,
22,
15533,
12242,
13699,
382... | ||
doStop(); handleNewShift = shift; handleNewLibrary = false; checkModified(HANDLE_NEW); }}); | try { if (!sketch.handleRun(new Target( System.getProperty("user.dir") + File.separator + "lib" + File.separator + "targets", Preferences.get("build.target")))) return; watcher = new RunButtonWatcher(); message("Done compiling."); if(watcher != null) watcher.stop(); } catch (RunnerException e) { message("Error comp... | public void run() { doStop(); handleNewShift = shift; handleNewLibrary = false; checkModified(HANDLE_NEW); }}); | 28828 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28828/b8923cfeee58eb44e10777e724bb177e6a77b146/Editor.java/clean/app/Editor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
1850,
741,
4947,
5621,
1850,
1640,
1908,
10544,
273,
4654,
31,
1850,
1640,
1908,
9313,
273,
629,
31,
1850,
866,
4575,
12,
23056,
67,
12917,
1769,
3639,
10523,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
1850,
741,
4947,
5621,
1850,
1640,
1908,
10544,
273,
4654,
31,
1850,
1640,
1908,
9313,
273,
629,
31,
1850,
866,
4575,
12,
23056,
67,
12917,
1769,
3639,
10523,
... |
Module.TEMPLATE_PARAMETER_NAME_SPACE ).getElements( ); | Module.TEMPLATE_PARAMETER_NAME_SPACE ).getElements( IModuleNameSpace.NATIVE_LEVEL ); | List getAllTemplateParameterDefinitions( ) { List elementList = module.getModuleNameSpace( Module.TEMPLATE_PARAMETER_NAME_SPACE ).getElements( ); return generateHandleList( elementList ); } | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/befe72824026676910f62e32a7e632d50b61a640/ModuleHandle.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ModuleHandle.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
682,
5514,
2283,
1662,
7130,
12,
262,
202,
95,
202,
202,
682,
930,
682,
273,
1605,
18,
588,
22542,
3819,
12,
9506,
202,
3120,
18,
12205,
67,
9819,
67,
1985,
67,
6616,
262,
18,
58... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
682,
5514,
2283,
1662,
7130,
12,
262,
202,
95,
202,
202,
682,
930,
682,
273,
1605,
18,
588,
22542,
3819,
12,
9506,
202,
3120,
18,
12205,
67,
9819,
67,
1985,
67,
6616,
262,
18,
58... |
for (int nX = 0; nX < array.length; nX ++) { final IPartListener l = (IPartListener)array[nX]; | for (int i = 0; i < array.length; i ++) { final IPartListener l = (IPartListener)array[i]; | public void firePartClosed(final IWorkbenchPart part) { Object [] array = listeners.getListeners(); for (int nX = 0; nX < array.length; nX ++) { final IPartListener l = (IPartListener)array[nX]; Platform.run(new SafeRunnable() { public void run() { l.partClosed(part); } public void handleException(Throwable ... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/5ea8056f546492c6a8fb89e9a38be3b72c2a3298/PartListenerList.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartListenerList.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
4452,
1988,
7395,
12,
6385,
467,
2421,
22144,
1988,
1087,
13,
288,
202,
921,
5378,
526,
273,
4679,
18,
588,
5583,
5621,
202,
1884,
261,
474,
290,
60,
273,
374,
31,
290,
60,
411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
4452,
1988,
7395,
12,
6385,
467,
2421,
22144,
1988,
1087,
13,
288,
202,
921,
5378,
526,
273,
4679,
18,
588,
5583,
5621,
202,
1884,
261,
474,
290,
60,
273,
374,
31,
290,
60,
411,
... |
Coords[] coords = Coords.intervening(a, b); | ArrayList<Coords> coords = Coords.intervening(a, b); | public static int getFriendlyECCMFields(Entity ae, Coords a, Coords b) { if (a == null || b == null) return 0; //Start at zero nothing protecting the mech. int ECCMCount = 0; if ( ae.hasActiveECCM() ) ECCMCount++; // Only grab enemies with active ECM V... | 3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/c2a90fca192b338ebf5162499c52b535aed6382b/Compute.java/buggy/megamek/src/megamek/common/Compute.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
509,
2812,
9258,
41,
6743,
49,
2314,
12,
1943,
14221,
16,
10320,
87,
279,
16,
10320,
87,
324,
13,
288,
3639,
309,
261,
69,
422,
446,
747,
324,
422,
446,
13,
5411,
327,
374,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
509,
2812,
9258,
41,
6743,
49,
2314,
12,
1943,
14221,
16,
10320,
87,
279,
16,
10320,
87,
324,
13,
288,
3639,
309,
261,
69,
422,
446,
747,
324,
422,
446,
13,
5411,
327,
374,... |
if (jj_scan_token(PROTECTED)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; | Token xsp; xsp = jj_scanpos; if (jj_3R_117()) { jj_scanpos = xsp; if (jj_3R_118()) { jj_scanpos = xsp; if (jj_3R_119()) { jj_scanpos = xsp; if (jj_3R_120()) { jj_scanpos = xsp; if (jj_3R_121()) { jj_scanpos = xsp; if (jj_3R_122()) { jj_scanpos = xsp; if (jj_3R_123()) return true; } } } } } } | final private boolean jj_3R_77() { if (jj_scan_token(PROTECTED)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } | 41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/d42ce7980bc2030e88ae13be5cf1b864eee291da/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
4700,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
3373,
26729,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
4700,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
3373,
26729,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
... |
jsi.generateFunctionICode(cx, scope); | jsi.generateFunctionICode(cx); | private void generateNestedFunctions(Context cx, Scriptable scope) { int functionCount = scriptOrFn.getFunctionCount(); if (functionCount == 0) return; InterpreterData[] array = new InterpreterData[functionCount]; for (int i = 0; i != functionCount; i++) { FunctionNode def ... | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/40f7554390dea10ea64bd490d09230d2c0814929/Interpreter.java/buggy/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
8649,
7503,
12,
1042,
9494,
16,
22780,
2146,
13,
565,
288,
3639,
509,
445,
1380,
273,
2728,
1162,
5372,
18,
588,
2083,
1380,
5621,
3639,
309,
261,
915,
1380,
422,
374,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
8649,
7503,
12,
1042,
9494,
16,
22780,
2146,
13,
565,
288,
3639,
509,
445,
1380,
273,
2728,
1162,
5372,
18,
588,
2083,
1380,
5621,
3639,
309,
261,
915,
1380,
422,
374,
... |
public void startVisitControl(ControlInfo controlInfo) { if (controlInfo instanceof RepeatControlInfo) { currentControlsState.updateRepeatIndex(((RepeatControlInfo) controlInfo).getRepeatId(), 1); } } | public boolean startVisitControl(Element controlElement, String effectiveControlId) { if (controlElement.getName().equals("repeat")) { if (!found) { if (repeatId.equals(controlElement.attributeValue("id"))) found = true; } else { result.add(controlElement.attributeValue("id")); } } return true; } | public void startVisitControl(ControlInfo controlInfo) { if (controlInfo instanceof RepeatControlInfo) { // Found child repeat currentControlsState.updateRepeatIndex(((RepeatControlInfo) cont... | 54445 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54445/31466edf93b1e9f1dce66d80b92bc7174e1a0bc9/XFormsControls.java/buggy/src/java/org/orbeon/oxf/xforms/XFormsControls.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
11794,
1071,
918,
787,
10432,
3367,
12,
3367,
966,
3325,
966,
13,
288,
27573,
309,
261,
7098,
966,
1276,
20742,
3367,
966,
13,
288,
4766,
565,
368,
10750,
1151,
7666,
4766,
565,
783,
16795,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11794,
1071,
918,
787,
10432,
3367,
12,
3367,
966,
3325,
966,
13,
288,
27573,
309,
261,
7098,
966,
1276,
20742,
3367,
966,
13,
288,
4766,
565,
368,
10750,
1151,
7666,
4766,
565,
783,
16795,
11... |
public Collection getEntityAuthzGroups(Reference ref) | public Collection getEntityAuthzGroups(Reference ref, String userId) | public Collection getEntityAuthzGroups(Reference ref) { // double check that it's mine if (APPLICATION_ID != ref.getType()) return null; Collection rv = new Vector(); // for events: // if access set to SITE (or PUBLIC), use the event, calendar and site authzGroups. // if access set to GROUPED, use the event, and... | 52989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52989/d0dccadc6d5a01bbbdb24e7e7c4ccb33b1f4990f/BaseCalendarService.java/clean/calendar-impl/impl/src/java/org/sakaiproject/calendar/impl/BaseCalendarService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2200,
6352,
1730,
94,
3621,
12,
2404,
1278,
13,
202,
95,
202,
202,
759,
1645,
866,
716,
518,
1807,
312,
558,
202,
202,
430,
261,
25039,
67,
734,
480,
1278,
18,
588,
559,
107... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2200,
6352,
1730,
94,
3621,
12,
2404,
1278,
13,
202,
95,
202,
202,
759,
1645,
866,
716,
518,
1807,
312,
558,
202,
202,
430,
261,
25039,
67,
734,
480,
1278,
18,
588,
559,
107... |
formatChoicer.setEnabled( index == 1 ); formatTagsBar.setEnabled( index == 1 ); commonTagsBar.setEnabled( index == 1 ); | formatChoicer.setEnabled( index != PLAIN_INDEX ); formatTagsBar.setEnabled( index != PLAIN_INDEX ); commonTagsBar.setEnabled( index != PLAIN_INDEX ); | private void createToolBar( Composite composite ) { ToolBar toolBar = new ToolBar( composite, SWT.FLAT ); toolBar.setLayoutData( new GridData( ) ); ToolItem copy = new ToolItem( toolBar, SWT.NONE ); copy.setImage( ReportPlatformUIImages.getImage( ISharedImages.IMG_TOOL_COPY ) ); copy.setToolTipText( TOOL_TIP_TEXT... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/7588db38847b4517c5fe1a854054106d86442fd8/TextEditor.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/TextEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
6364,
5190,
12,
14728,
9635,
262,
202,
95,
202,
202,
6364,
5190,
5226,
5190,
273,
394,
13288,
5190,
12,
9635,
16,
348,
8588,
18,
42,
12190,
11272,
202,
202,
6738,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
6364,
5190,
12,
14728,
9635,
262,
202,
95,
202,
202,
6364,
5190,
5226,
5190,
273,
394,
13288,
5190,
12,
9635,
16,
348,
8588,
18,
42,
12190,
11272,
202,
202,
6738,
5... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.