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 |
|---|---|---|---|---|---|---|
String objectToString(Object object) | String objectToString(final Object object) | String objectToString(Object object) { if (object == Undefined.instance) { return "undefined"; } if (object == null) { return "null"; } if (object instanceof NativeCall) { return "[object Call]"; } Context cx = Context.enter(); ... | 7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/daf6b75edbd23fda1750716a43bd235c561fef2b/Dim.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Dim.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
514,
733,
5808,
12,
6385,
1033,
733,
13,
565,
288,
3639,
309,
261,
1612,
422,
22243,
18,
1336,
13,
288,
5411,
327,
315,
5978,
14432,
3639,
289,
3639,
309,
261,
1612,
422,
446,
13,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
733,
5808,
12,
6385,
1033,
733,
13,
565,
288,
3639,
309,
261,
1612,
422,
22243,
18,
1336,
13,
288,
5411,
327,
315,
5978,
14432,
3639,
289,
3639,
309,
261,
1612,
422,
446,
13,
288,
... |
return getMultiPageEditor().getSite().getShell(); } | return getMultiPageEditor().getSite().getShell(); } | public Shell getShell() { return getMultiPageEditor().getSite().getShell(); } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/f1c8b0aa355c00a6c82a289c808984de6778bfca/MultiPageEditorSite.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/part/MultiPageEditorSite.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19433,
7932,
1165,
1435,
288,
3639,
327,
31863,
1964,
6946,
7675,
588,
4956,
7675,
588,
13220,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
19433,
7932,
1165,
1435,
288,
3639,
327,
31863,
1964,
6946,
7675,
588,
4956,
7675,
588,
13220,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
synchronized (legions) | Iterator it = legions.iterator(); while (it.hasNext()) | List getLegionIds() { List ids = new ArrayList(); synchronized (legions) { Iterator it = legions.iterator(); while (it.hasNext()) { Legion legion = (Legion)it.next(); ids.add(legion.getMarkerId()); } } re... | 51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/8d1ec51f9e7290b8276a6f9e736af457e9465186/Player.java/clean/Colossus/net/sf/colossus/server/Player.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
987,
336,
8329,
285,
2673,
1435,
565,
288,
3639,
987,
3258,
273,
394,
2407,
5621,
3639,
4498,
518,
273,
4553,
1115,
18,
9838,
5621,
1323,
261,
305,
18,
5332,
2134,
10756,
3639,
288,
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,
987,
336,
8329,
285,
2673,
1435,
565,
288,
3639,
987,
3258,
273,
394,
2407,
5621,
3639,
4498,
518,
273,
4553,
1115,
18,
9838,
5621,
1323,
261,
305,
18,
5332,
2134,
10756,
3639,
288,
5411,... |
index += VM_HardwarePerformanceMonitors.SIZE_OF_INT; | index = index.add(BYTES_IN_INT); | private void writeAppRun(int FORMAT, int run, byte[] app, int padding) { VM_Magic.setIntAtOffset( buffer, index, FORMAT); // format index += VM_HardwarePerformanceMonitors.SIZE_OF_INT; VM_Magic.setIntAtOffset( buffer, index, run); ... | 5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/3a1409586ed0fc007c4120f3a96d6f7a1ae3593c/VM_HardwarePerformanceMonitor.java/buggy/rvm/src/vm/HPM/VM_HardwarePerformanceMonitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1045,
3371,
1997,
12,
474,
10449,
16,
509,
1086,
16,
1160,
8526,
595,
16,
509,
4992,
13,
225,
288,
565,
8251,
67,
19289,
18,
542,
1702,
861,
2335,
12,
1613,
16,
770,
16,
10... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1045,
3371,
1997,
12,
474,
10449,
16,
509,
1086,
16,
1160,
8526,
595,
16,
509,
4992,
13,
225,
288,
565,
8251,
67,
19289,
18,
542,
1702,
861,
2335,
12,
1613,
16,
770,
16,
10... |
if (reg.isDouble()) continue; if (reg.isFloatingPoint()) | if (reg.isInteger()) | public OPT_FI_EscapeSummary simpleEscapeAnalysis (OPT_IR ir) { if (DEBUG) VM.sysWrite("ENTER Simple Escape Analysis " + ir.method + "\n"); if (DEBUG) ir.printInstructions(); // create a method summary object for this method VM_Method m = ir.method; OPT_MethodSummary summ = OPT_SummaryDatabase... | 5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/b372860b0bca12a1b3850b17dde0b867223b735d/OPT_SimpleEscape.java/buggy/rvm/src/vm/compilers/optimizing/optimizations/global/simpleSSA/escape/OPT_SimpleEscape.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
16456,
67,
1653,
67,
8448,
4733,
4143,
8448,
9418,
261,
15620,
67,
7937,
9482,
13,
288,
565,
309,
261,
9394,
13,
1377,
8251,
18,
9499,
3067,
2932,
12278,
4477,
18025,
16318,
315,
39... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16456,
67,
1653,
67,
8448,
4733,
4143,
8448,
9418,
261,
15620,
67,
7937,
9482,
13,
288,
565,
309,
261,
9394,
13,
1377,
8251,
18,
9499,
3067,
2932,
12278,
4477,
18025,
16318,
315,
39... |
fileName = dialog.open( ).trim( ); if ( fileName == null || fileName.length( ) == 0 ) | fileName = dialog.open( ); if ( fileName == null || fileName.trim().length( ) == 0 ) | public void handleEvent( Event event ) { String fileName = null; FileDialog dialog = new FileDialog( getShell( ), SWT.OPEN ); dialog.setText( Messages.getString( "ThumbnailBuilder.FileDialog.Title" ) ); //$NON-NLS-1$ dialog.setFilterExtensions( IMAGE_FILTER ); fileName = dialog.open( ).trim( ); if ( file... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/4f58f9dd90503f33f1ca87329e899468d7480d36/ThumbnailBuilder.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ThumbnailBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1640,
1133,
12,
2587,
871,
262,
202,
202,
95,
1082,
202,
780,
3968,
273,
446,
31,
1082,
202,
812,
6353,
6176,
273,
394,
1387,
6353,
12,
7932,
1165,
12,
262,
16,
348,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1640,
1133,
12,
2587,
871,
262,
202,
202,
95,
1082,
202,
780,
3968,
273,
446,
31,
1082,
202,
812,
6353,
6176,
273,
394,
1387,
6353,
12,
7932,
1165,
12,
262,
16,
348,
8... |
p.getDriver().sendPatch(p); | ((ISingleDriver)p.getDriver()).sendPatch(p); | public void sendSelectedPatch() { p.getDriver().calculateChecksum(p); p.getDriver().sendPatch(p); } | 7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/af6640fd9aa925c4d7044770be761a3432d7c66e/PatchEditorFrame.java/clean/JSynthLib/core/PatchEditorFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1366,
7416,
7332,
1435,
288,
3639,
293,
18,
588,
4668,
7675,
11162,
10723,
12,
84,
1769,
3639,
14015,
5127,
1714,
4668,
13,
84,
18,
588,
4668,
1435,
2934,
4661,
7332,
12,
84,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
1071,
918,
1366,
7416,
7332,
1435,
288,
3639,
293,
18,
588,
4668,
7675,
11162,
10723,
12,
84,
1769,
3639,
14015,
5127,
1714,
4668,
13,
84,
18,
588,
4668,
1435,
2934,
4661,
7332,
12,
84,
... |
newElem.setDescription( (String) rowVector.elementAt(6) ); | newElem.setDescription( (String) rowVector.elementAt(7) ); | public void doSave(Object settings, boolean validateOnly) throws Exception { SwingUtilities.invokeAndWait( new Runnable(){ public void run() { ((MEditTableJPanel)configClientToSiteJPanel).getJTable().getCellEditor().stopCellEditing(); ((MEditTableJPanel)configClientToSiteJPanel).getJTable().clearSelection()... | 49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/b38e01d9c4ce757d2e03478dd806dc130acda0f1/ServerRoutingWizardClientsJPanel.java/buggy/tran/openvpn/gui/com/metavize/tran/openvpn/gui/ServerRoutingWizardClientsJPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
4755,
12,
921,
1947,
16,
1250,
1954,
3386,
13,
1216,
1185,
288,
202,
6050,
310,
11864,
18,
14407,
1876,
5480,
12,
394,
10254,
1435,
95,
1071,
918,
1086,
1435,
288,
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,
377,
1071,
918,
741,
4755,
12,
921,
1947,
16,
1250,
1954,
3386,
13,
1216,
1185,
288,
202,
6050,
310,
11864,
18,
14407,
1876,
5480,
12,
394,
10254,
1435,
95,
1071,
918,
1086,
1435,
288,
202,
... |
return statusFilter; } | return statusFilter; } | public List<String> getStatusFilter() { return statusFilter; } | 47044 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47044/f705b6b4061f18824619feedc8e55c73de10e185/InstanceFilter.java/buggy/bpel-api/src/main/java/org/apache/ode/bpel/common/InstanceFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
987,
32,
780,
34,
5870,
1586,
1435,
288,
565,
327,
1267,
1586,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
987,
32,
780,
34,
5870,
1586,
1435,
288,
565,
327,
1267,
1586,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
return rootPointer; | return (Pointer) rootPointer.clone(); | public synchronized Pointer getContextPointer() { if (rootPointer == null) { rootPointer = NodePointer.newNodePointer(new QName(null, "root"), getContextBean(), getLocale()); } return rootPointer; } | 52531 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52531/2cff9ca4984e054467e6b0efb20d7c462762635a/JXPathContextReferenceImpl.java/buggy/src/java/org/apache/commons/jxpath/ri/JXPathContextReferenceImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
7107,
6474,
4926,
1435,
288,
3639,
309,
261,
3085,
4926,
422,
446,
13,
288,
5411,
1365,
4926,
273,
2029,
4926,
18,
2704,
907,
4926,
12,
2704,
16723,
12,
2011,
16,
315,
3085,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7107,
6474,
4926,
1435,
288,
3639,
309,
261,
3085,
4926,
422,
446,
13,
288,
5411,
1365,
4926,
273,
2029,
4926,
18,
2704,
907,
4926,
12,
2704,
16723,
12,
2011,
16,
315,
3085,
... |
return schema; } | return schema; } | public Schema getSchema() throws OLAPException { return schema; } | 37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/b5b5168edc3af09cb74945a80b0c36e6630ed502/MondrianJolapDimension.java/buggy/src/main/mondrian/jolap/MondrianJolapDimension.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4611,
11088,
1435,
1216,
531,
48,
2203,
503,
288,
202,
202,
2463,
1963,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4611,
11088,
1435,
1216,
531,
48,
2203,
503,
288,
202,
202,
2463,
1963,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
if(getFlag(LOADING) || getFlag(READ_ONLY)) return; if(getFlag(DIRTY) && getFlag(AUTOSAVE_DIRTY)) return; setFlag(DIRTY,true); setFlag(AUTOSAVE_DIRTY,true); | if(isEditable()) { setFlag(DIRTY,true); setFlag(AUTOSAVE_DIRTY,true); } | public void setDirty(boolean d) { boolean old_d = getFlag(DIRTY); if(d) { if(getFlag(LOADING) || getFlag(READ_ONLY)) return; if(getFlag(DIRTY) && getFlag(AUTOSAVE_DIRTY)) return; setFlag(DIRTY,true); setFlag(AUTOSAVE_DIRTY,true); } else { setFlag(DIRTY,false); setFlag(AUTOSAVE_DIRTY,false); i... | 8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/9cacca6aaa265acdb4ed19b91aed40829c2df702/Buffer.java/buggy/org/gjt/sp/jedit/Buffer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
10785,
12,
6494,
302,
13,
202,
95,
202,
202,
6494,
1592,
67,
72,
273,
336,
4678,
12,
4537,
5538,
1769,
202,
202,
430,
12,
72,
13,
202,
202,
95,
1082,
202,
430,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
444,
10785,
12,
6494,
302,
13,
202,
95,
202,
202,
6494,
1592,
67,
72,
273,
336,
4678,
12,
4537,
5538,
1769,
202,
202,
430,
12,
72,
13,
202,
202,
95,
1082,
202,
430,
1... |
iVisited.accept(_Payload); | _Payload.visitAndNode(iVisited); | public void visitAndNode(AndNode iVisited) { iVisited.getFirstNode().accept(this); iVisited.accept(_Payload); iVisited.getSecondNode().accept(this); } | 49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/043fa4419ad506aa6f8843684eb8114b226fe4b5/DefaultIteratorVisitor.java/clean/org/jruby/nodes/visitor/DefaultIteratorVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
1876,
907,
12,
1876,
907,
277,
30019,
13,
288,
202,
202,
77,
30019,
18,
588,
3759,
907,
7675,
9436,
12,
2211,
1769,
202,
202,
77,
30019,
18,
9436,
24899,
6110,
1769... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
3757,
1876,
907,
12,
1876,
907,
277,
30019,
13,
288,
202,
202,
77,
30019,
18,
588,
3759,
907,
7675,
9436,
12,
2211,
1769,
202,
202,
77,
30019,
18,
9436,
24899,
6110,
1769... |
parameters.put( "version", "1.0.0" ); | mojo.setPackageWithVersion( Boolean.TRUE ); | public void testModelloJavaMojo() throws Exception { ModelloCore modelloCore = (ModelloCore) lookup( ModelloCore.ROLE ); ModelloJavaMojo mojo = new ModelloJavaMojo(); File outputDirectory = getTestFile( "target/java-test" ); FileUtils.deleteDirectory( outputDirectory ); ... | 47828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47828/9fce0b24c4f559cdd170c9a5c8cc4d2c5d954503/ModelloJavaMojoTest.java/buggy/modello/modello-maven-plugin/src/test/java/org/codehaus/modello/ModelloJavaMojoTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1488,
383,
5852,
49,
10007,
1435,
3639,
1216,
1185,
565,
288,
3639,
3164,
383,
4670,
938,
383,
4670,
273,
261,
1488,
383,
4670,
13,
3689,
12,
3164,
383,
4670,
18,
16256,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1488,
383,
5852,
49,
10007,
1435,
3639,
1216,
1185,
565,
288,
3639,
3164,
383,
4670,
938,
383,
4670,
273,
261,
1488,
383,
4670,
13,
3689,
12,
3164,
383,
4670,
18,
16256,
... |
ps.print(encode.encode(server + " " + usrName + " " + pwd + " " + port + " " + Boolean.valueOf(useTCP).toString())); | ps.print(encode.encode(server + "\n" + usrName + "\n" + pwd + "\n" + port + "\n" + Boolean.valueOf(useTCP).toString())); | private void saveLoginInfo(String server, String usrName, String pwd, String port, boolean useTCP) { Encoder encode = new Encoder(); try { OutputStream os = Persistence.get().getOutputStream("user.dat"); PrintStream ps = new PrintStream(os); ps.print(encode.encode(server + " " + usrName + " " + pwd + ... | 4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/3e642b0a4d33a93fe7b92763fa7fb069e1b6ae2a/LoginDialog.java/clean/src/games/stendhal/client/gui/LoginDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1923,
5358,
966,
12,
780,
1438,
16,
514,
16575,
461,
16,
514,
14720,
16,
1082,
202,
780,
1756,
16,
1250,
999,
13891,
13,
288,
202,
202,
7204,
2017,
273,
394,
13554,
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,
1152,
918,
1923,
5358,
966,
12,
780,
1438,
16,
514,
16575,
461,
16,
514,
14720,
16,
1082,
202,
780,
1756,
16,
1250,
999,
13891,
13,
288,
202,
202,
7204,
2017,
273,
394,
13554,
5621... |
this(container, config, new ConstructorInjectionComponentAdapterFactory()); | componentAdapterFactory_ = componentAdapterFactory; container_ = container; MutablePicoContainer parent = container.getContainer(); filterPico_ = parent; orb_ = (ORB) parent.getComponentInstanceOfType(ORB.class); logger_ = LogUtil.getLogger(config, getClass().getName()); loadFilterPlugins(config); | public DefaultFilterFactoryDelegate(IContainer container, Configuration config) { this(container, config, new ConstructorInjectionComponentAdapterFactory()); } | 46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/b0fbbbc9e38577618188610bbe2a22de8ecfaab7/DefaultFilterFactoryDelegate.java/clean/src/org/jacorb/notification/filter/DefaultFilterFactoryDelegate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2989,
1586,
1733,
9586,
12,
45,
2170,
1478,
16,
4659,
642,
13,
565,
288,
3639,
1794,
4216,
1733,
67,
273,
1794,
4216,
1733,
31,
225,
1478,
67,
273,
1478,
31,
225,
10960,
52,
10764... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2989,
1586,
1733,
9586,
12,
45,
2170,
1478,
16,
4659,
642,
13,
565,
288,
3639,
1794,
4216,
1733,
67,
273,
1794,
4216,
1733,
31,
225,
1478,
67,
273,
1478,
31,
225,
10960,
52,
10764... |
assertInstanceOf( webClient.getPage( new URL( "https: | assertInstanceOf( webClient.getPage( new URL( "https: HtmlPage.class ); | public void testSourceForge_secure() throws Exception { try { final WebClient webClient = new WebClient(BrowserVersion_); webClient.setPrintContentOnFailingStatusCode(true); assertInstanceOf( webClient.getPage( new URL( "https://sourceforge.net/projects/htmlunit/" ) ), HtmlPa... | 47843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47843/ce8302ac28bf1fb5d0cc242a8bf82d819d0eac2c/SanityCheck.java/clean/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/SanityCheck.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1830,
1290,
908,
67,
8869,
1435,
1216,
1185,
288,
3639,
775,
288,
5411,
727,
2999,
1227,
3311,
1227,
273,
394,
2999,
1227,
12,
9132,
1444,
67,
1769,
5411,
3311,
1227,
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,
1842,
1830,
1290,
908,
67,
8869,
1435,
1216,
1185,
288,
3639,
775,
288,
5411,
727,
2999,
1227,
3311,
1227,
273,
394,
2999,
1227,
12,
9132,
1444,
67,
1769,
5411,
3311,
1227,
18,... |
- (prePeek + bottomPeek + Math.max((initFire - 2), 0) * pop); | - initItemsNeeded; | private int calculateRemaining() { // the number of times this filter fires in the initialization // schedule int initFire = initMult; // if this is not a twostage, fake it by adding to initFire, // so we always think the preWork is called // if (!(filter instanceof SIRTwoS... | 5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/e0d1d883cbfe8463aae88672e4adf65f19971500/FilterInfo.java/clean/streams/src/at/dms/kjc/spacetime/FilterInfo.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
4604,
11429,
1435,
288,
3639,
368,
326,
1300,
434,
4124,
333,
1034,
29564,
316,
326,
10313,
3639,
368,
4788,
3639,
509,
1208,
9723,
273,
1208,
5049,
31,
3639,
368,
309,
333,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
4604,
11429,
1435,
288,
3639,
368,
326,
1300,
434,
4124,
333,
1034,
29564,
316,
326,
10313,
3639,
368,
4788,
3639,
509,
1208,
9723,
273,
1208,
5049,
31,
3639,
368,
309,
333,
35... |
throw new TaskExecutionException("Unexpected, multiple output names for ArrayType"); | throw new TaskExecutionException( "Unexpected, multiple output names for ArrayType"); | public Map execute(Map inputMap) throws TaskExecutionException { DataThing inputThing = (DataThing) inputMap.get(inputNames[0]); Map result = new HashMap(); List outputNameList = Arrays.asList(outputNames); if (inputThing != null) { String xml = inputThing.getDataObject().toString(); try { Document doc = ne... | 7616 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7616/acee3e590ed2584ecc041bfef9b98f0c4848e68a/XMLOutputSplitter.java/clean/trunk/taverna1.0/processors/taverna-wsdl-processor/src/main/java/org/embl/ebi/escience/scuflworkers/java/XMLOutputSplitter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1635,
1836,
12,
863,
810,
863,
13,
1216,
3837,
14576,
288,
202,
202,
751,
10193,
810,
10193,
273,
261,
751,
10193,
13,
810,
863,
18,
588,
12,
2630,
1557,
63,
20,
19226,
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,
1635,
1836,
12,
863,
810,
863,
13,
1216,
3837,
14576,
288,
202,
202,
751,
10193,
810,
10193,
273,
261,
751,
10193,
13,
810,
863,
18,
588,
12,
2630,
1557,
63,
20,
19226,
202,
... |
if (methodId == Id_JavaAdapter) { return 1; } throw IdFunction.onBadMethodId(this, methodId); | if (f.hasTag(FTAG)) { if (f.methodId == Id_JavaAdapter) { return 1; } } throw f.unknown(); | public int methodArity(int methodId) { if (methodId == Id_JavaAdapter) { return 1; } throw IdFunction.onBadMethodId(this, methodId); } | 13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/8f28fc868ac3f30ea37494abfddb6358154786c3/JavaAdapter.java/clean/js/rhino/src/org/mozilla/javascript/JavaAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
707,
686,
560,
12,
474,
707,
548,
13,
565,
288,
3639,
309,
261,
2039,
548,
422,
3124,
67,
5852,
4216,
13,
288,
327,
404,
31,
289,
3639,
604,
3124,
2083,
18,
265,
6434,
3079... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
707,
686,
560,
12,
474,
707,
548,
13,
565,
288,
3639,
309,
261,
2039,
548,
422,
3124,
67,
5852,
4216,
13,
288,
327,
404,
31,
289,
3639,
604,
3124,
2083,
18,
265,
6434,
3079... |
try { tag.setAttribute(getXmlElementName(), null); } catch (IncorrectOperationException e) { LOG.error(e); } | getManager().runChange(new Runnable() { public void run() { try { tag.setAttribute(getXmlElementName(), null); } catch (IncorrectOperationException e) { LOG.error(e); } } }); | public final void undefineInternal() { final XmlTag tag = getXmlTag(); setDefined(false); setXmlTagToNull(); if (tag != null) { try { tag.setAttribute(getXmlElementName(), null); } catch (IncorrectOperationException e) { LOG.error(e); } fireUndefinedEvent(); } } | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/4437ca2f304024137a05082977d946a80498d240/AttributeChildInvocationHandler.java/buggy/dom/impl/src/com/intellij/util/xml/impl/AttributeChildInvocationHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
918,
640,
11255,
3061,
1435,
288,
565,
727,
5714,
1805,
1047,
273,
28504,
1805,
5621,
565,
444,
8116,
12,
5743,
1769,
565,
444,
4432,
1805,
774,
2041,
5621,
565,
309,
261,
2692... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
918,
640,
11255,
3061,
1435,
288,
565,
727,
5714,
1805,
1047,
273,
28504,
1805,
5621,
565,
444,
8116,
12,
5743,
1769,
565,
444,
4432,
1805,
774,
2041,
5621,
565,
309,
261,
2692... |
return getAllKnownEntities(native2Flavor, flavor2Native); | return new ArrayList(native2Flavor.keySet()); | public synchronized List getNativesForFlavor(DataFlavor flav) { if (flav == null) { return getAllKnownEntities(native2Flavor, flavor2Native); } List natives = (List) flavor2Native.get(flav); if (natives == null) { natives = new LinkedList(); } if (flav... | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/9b00f971bab2256d913aec1b141462a929f6e182/SystemFlavorMap.java/buggy/modules/awt/src/main/java/common/java/awt/datatransfer/SystemFlavorMap.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
987,
11069,
8785,
1290,
2340,
9444,
12,
751,
2340,
9444,
31227,
13,
288,
3639,
309,
261,
2242,
842,
422,
446,
13,
288,
5411,
327,
394,
2407,
12,
13635,
22,
2340,
9444,
18,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
987,
11069,
8785,
1290,
2340,
9444,
12,
751,
2340,
9444,
31227,
13,
288,
3639,
309,
261,
2242,
842,
422,
446,
13,
288,
5411,
327,
394,
2407,
12,
13635,
22,
2340,
9444,
18,
8... |
simplify.setText(file.getAbsolutePath()); | String name = file.getAbsolutePath(); simplify.setText(name); System.setProperty("simplify",name); | public void actionPerformed(ActionEvent e) { JFileChooser fc = new JFileChooser(); fc.setApproveButtonText("Select"); int returnVal = fc.showOpenDialog(EscOptions.this); if (returnVal == JFileChooser.APPROVE_OPTION) { java.io.File file = fc.getSelectedFile(); simplify.setText(file.getAbsoluteP... | 46634 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46634/6a5c1624a7ad0a07cc712c331ce67fee4a8fc61e/EscOptions.java/clean/src/escjava/trunk/ESCTools/Escjava/java/escjava/gui/EscOptions.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
565,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
202,
3639,
804,
812,
17324,
8036,
273,
394,
804,
812,
17324,
5621,
202,
202,
7142,
18,
542,
12053,
537,
3616,
1528,
2932,
3391,
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,
3196,
565,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
202,
3639,
804,
812,
17324,
8036,
273,
394,
804,
812,
17324,
5621,
202,
202,
7142,
18,
542,
12053,
537,
3616,
1528,
2932,
3391,
8863,... |
" 6 getstatic java/lang/System.out Ljava/io/PrintStream; [21]\n" + | " 6 getstatic java.lang.System.out : java.io.PrintStream [21]\n" + | public void test001() { this.runConformTest( new String[] { "X.java", "public class X { \n" + " public static void main(String[] args) { \n" + " Cloneable c1 = new int[0]; \n"+ " Cloneable c2 = (Cloneable)c1; \n" + " System.out.print(\"SUCCESS\"); \n" + " } \n" + "} \n", }, "SUCCESS"); ... | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/e9ca95978aca2a442bfecfb8ac281f372092486a/CastTest.java/buggy/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/CastTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
1842,
11664,
1435,
288,
202,
2211,
18,
2681,
442,
687,
4709,
12,
202,
202,
2704,
514,
8526,
288,
1082,
202,
6,
60,
18,
6290,
3113,
1082,
202,
6,
482,
667,
1139,
288,
202,
64,
82... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1842,
11664,
1435,
288,
202,
2211,
18,
2681,
442,
687,
4709,
12,
202,
202,
2704,
514,
8526,
288,
1082,
202,
6,
60,
18,
6290,
3113,
1082,
202,
6,
482,
667,
1139,
288,
202,
64,
82... |
throw new NameError( ruby, | throw new NameError(ruby, | public RubyObject method_missing(RubyObject symbol, RubyObject[] args) { // +++ // IMPLEMENT THIS METHOD // --- Ruby ruby = getRuby(); throw new NameError( ruby, ruby.getSourceFile() + ":" + ruby.getSourceLine() + " undefined method '" + symbol.toId() + "' fo... | 1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/4e4bb40b2eb2d38881d15ca8ef7cda4c34323793/RubyObject.java/clean/org/jruby/RubyObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
707,
67,
7337,
12,
54,
10340,
921,
3273,
16,
19817,
921,
8526,
833,
13,
288,
3639,
368,
965,
15,
3639,
368,
15694,
7618,
20676,
10152,
3639,
368,
9948,
3639,
19817,
2215... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19817,
921,
707,
67,
7337,
12,
54,
10340,
921,
3273,
16,
19817,
921,
8526,
833,
13,
288,
3639,
368,
965,
15,
3639,
368,
15694,
7618,
20676,
10152,
3639,
368,
9948,
3639,
19817,
2215... |
min = Integer.MAX_VALUE; for(index = 0; index < orderedItems ; index++) { if ( num_normal_turns[index] != 0 && num_normal_turns[index] < min) min = num_normal_turns[index]; } | min = Integer.MAX_VALUE; for(index = 0; index < orderedItems ; index++) { if ( num_normal_turns[index] != 0 && num_normal_turns[index] < min) min = num_normal_turns[index]; } | public static TurnVectors generateTurnOrder( Vector v, IGame game ) { int[] num_even_turns = new int[v.size()]; int[] num_normal_turns = new int[v.size()]; int total_even_turns = 0; int total_normal_turns = 0; int index; TurnOrdered[] order = new TurnOrdered[v.size()]; int ord... | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/f4a72f650dc986645cb9c7ceba68b40c099515a5/TurnOrdered.java/clean/megamek/src/megamek/common/TurnOrdered.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
22425,
21680,
2103,
15858,
2448,
12,
5589,
331,
16,
467,
12496,
7920,
262,
565,
288,
565,
509,
8526,
818,
67,
16728,
67,
20922,
87,
273,
394,
509,
63,
90,
18,
1467,
1435,
155... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22425,
21680,
2103,
15858,
2448,
12,
5589,
331,
16,
467,
12496,
7920,
262,
565,
288,
565,
509,
8526,
818,
67,
16728,
67,
20922,
87,
273,
394,
509,
63,
90,
18,
1467,
1435,
155... |
if ( img == null ) | if ( url != null ) | public void handleEvent( Event event ) { // change description/image selectedIndex = templateList.getSelectionIndex( ); description.setText( ( (Template) templates.get( selectedIndex ) ).getTemplateDescription( ) ); // we need to relayout if the new text has different number of lines previewPane.layout( );... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/76ebe408a984f02b49cbaf1597c0c7a0213901fe/WizardTemplateChoicePage.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/wizards/WizardTemplateChoicePage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1640,
1133,
12,
2587,
871,
262,
202,
202,
95,
1082,
202,
759,
2549,
2477,
19,
2730,
1082,
202,
8109,
1016,
273,
1542,
682,
18,
588,
6233,
1016,
12,
11272,
1082,
202,
338... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1640,
1133,
12,
2587,
871,
262,
202,
202,
95,
1082,
202,
759,
2549,
2477,
19,
2730,
1082,
202,
8109,
1016,
273,
1542,
682,
18,
588,
6233,
1016,
12,
11272,
1082,
202,
338... |
listener.logRevision(revision); | listener.logRevision(revision, path); | public void logRevision(long revision) { if (logEnabled) { for(Iterator it=notifylisteners.iterator(); it.hasNext();) { ISVNNotifyListener listener = (ISVNNotifyListener)it.next(); listener.logRevision(revision); } } } | 6016 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6016/166f3651101ab7f39c5b4b99f46a9cd3d72d145a/SVNNotificationHandler.java/buggy/svnClientAdapter/src/main/org/tigris/subversion/svnclientadapter/SVNNotificationHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
613,
7939,
12,
5748,
6350,
13,
288,
3639,
309,
261,
1330,
1526,
13,
288,
5411,
364,
12,
3198,
518,
33,
12336,
16072,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
13,
288,
7734,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
613,
7939,
12,
5748,
6350,
13,
288,
3639,
309,
261,
1330,
1526,
13,
288,
5411,
364,
12,
3198,
518,
33,
12336,
16072,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
13,
288,
7734,... |
Context.enter(); contextEntered = true; | public int jsxFunction_setTimeout(final String script, final int timeout) { final Runnable runnable = new Runnable() { public void run() { final Window window = Window.this; final Page page = window.getWebWindow().getEnclosedPage(); boolean contextEnter... | 3508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3508/9ada24d275eb4c948830a5fbefb54293d8fa03f5/Window.java/buggy/htmlunit/src/java/com/gargoylesoftware/htmlunit/javascript/host/Window.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
3828,
92,
2083,
67,
542,
2694,
12,
6385,
514,
2728,
16,
727,
509,
2021,
13,
288,
3639,
727,
10254,
14685,
273,
394,
10254,
1435,
288,
5411,
1071,
918,
1086,
1435,
288,
7734,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3828,
92,
2083,
67,
542,
2694,
12,
6385,
514,
2728,
16,
727,
509,
2021,
13,
288,
3639,
727,
10254,
14685,
273,
394,
10254,
1435,
288,
5411,
1071,
918,
1086,
1435,
288,
7734,
... | |
return (Occurrences[])map.values().toArray(result); | return (Occurrences[]) map.values().toArray(result); | public Occurrences[] scanIndexedElements(User user, Collection collection, boolean inclusive) throws PermissionDeniedException { if(!collection.getPermissions().validate(user, Permission.READ)) throw new PermissionDeniedException("you don't have the permission" + " to read collection " + collection.getName()); ... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/81cd2509ad2f1c1446b8399acb5ad675556e5d31/NativeBroker.java/clean/src/org/exist/storage/NativeBroker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
531,
2803,
12228,
8526,
4135,
15034,
3471,
12,
1299,
729,
16,
2200,
1849,
16,
1250,
13562,
13,
225,
202,
15069,
8509,
15877,
288,
202,
202,
430,
12,
5,
5548,
18,
588,
6521,
76... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
531,
2803,
12228,
8526,
4135,
15034,
3471,
12,
1299,
729,
16,
2200,
1849,
16,
1250,
13562,
13,
225,
202,
15069,
8509,
15877,
288,
202,
202,
430,
12,
5,
5548,
18,
588,
6521,
76... |
removeJButtonActionPerformed(e); | viewJButtonActionPerformed(e); | public void actionPerformed(java.awt.event.ActionEvent e) { removeJButtonActionPerformed(e); } | 53635 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53635/ac301cd5fc9d341e3e7b83d05bdf6262108dae06/Manage.java/buggy/client-ui/src/main/java/com/thinkparity/browser/application/browser/display/avatar/contact/Manage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
26100,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
425,
13,
288,
7734,
1476,
46,
3616,
19449,
12,
73,
1769,
5411,
289,
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,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
26100,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
425,
13,
288,
7734,
1476,
46,
3616,
19449,
12,
73,
1769,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
private ChartPanel createLineChart(XYDataset dataset, boolean showDecimal) { JFreeChart jFreeChart = MVChartFactory.createXYLineChart(null,null,null, dataset, PlotOrientation.VERTICAL, false,false,false); jFreeChart.setBackgroundPaint(Color.BLACK); XYPlot plot = jFreeChart.getXYPlot(); p... | 49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/e77e3def44c7f8608759d99086bba6d4a2017c7b/MTransformDisplayJPanel.java/clean/gui/main/com/metavize/gui/transform/MTransformDisplayJPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
7984,
5537,
2640,
1670,
7984,
12,
8546,
10656,
8682,
16,
1075,
29510,
13606,
5749,
15329,
46,
9194,
7984,
78,
9194,
7984,
33,
49,
58,
7984,
1733,
18,
2640,
8546,
1670,
7984,
12,
2011,
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,
3238,
7984,
5537,
2640,
1670,
7984,
12,
8546,
10656,
8682,
16,
1075,
29510,
13606,
5749,
15329,
46,
9194,
7984,
78,
9194,
7984,
33,
49,
58,
7984,
1733,
18,
2640,
8546,
1670,
7984,
12,
2011,
16... | ||
if(max != -1 && seqNumber - max > 1) { | if((max != -1) && (seqNumber - max > 1)) { | private void queueResendRequests(int seqNumber) { int max; synchronized(this) { max = packetNumbersReceived.highest(); } if(seqNumber > max) { try { if(max != -1 && seqNumber - max > 1) { Logger.minor(this, "Queueing resends from "+max+" to "+seq... | 50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/KeyTracker.java/buggy/src/freenet/node/KeyTracker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2389,
607,
409,
6421,
12,
474,
3833,
1854,
13,
288,
3639,
509,
943,
31,
3639,
3852,
12,
2211,
13,
288,
540,
202,
1896,
273,
4414,
10072,
8872,
18,
8766,
395,
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,
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,
2389,
607,
409,
6421,
12,
474,
3833,
1854,
13,
288,
3639,
509,
943,
31,
3639,
3852,
12,
2211,
13,
288,
540,
202,
1896,
273,
4414,
10072,
8872,
18,
8766,
395,
5621,
3639,
289,... |
String structure_table = dataset+"_structure"; | String structure_table = dataset+"_structure_dm"; | public void execute(int limit) throws SequenceException, InvalidQueryException { SequenceDescription seqd = query.getSequenceDescription(); boolean moreRows = true; int batchStart = 0; // need to know these indexes specifically int queryIDindex = 0; int tranIDindex = 0; int rankIndex = 0; int assemblyI... | 2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/bd4e836ab13ff8d0c7ef0a8b87d4e965a42d5e97/TranscriptExonSeqQueryRunner.java/buggy/src/java/org/ensembl/mart/explorer/TranscriptExonSeqQueryRunner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1836,
12,
474,
1800,
13,
1216,
8370,
503,
16,
1962,
1138,
503,
288,
202,
202,
4021,
3291,
3833,
72,
273,
843,
18,
588,
4021,
3291,
5621,
565,
1250,
1898,
4300,
273,
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,
918,
1836,
12,
474,
1800,
13,
1216,
8370,
503,
16,
1962,
1138,
503,
288,
202,
202,
4021,
3291,
3833,
72,
273,
843,
18,
588,
4021,
3291,
5621,
565,
1250,
1898,
4300,
273,
638,
... |
cat.debug("type="+data2.getType()); | log.debug("type="+data2.getType()); | public void test02LookupAndChangeUser() throws Exception { cat.debug(">test02LookupAndChangeUser()"); UserDataPK pk = new UserDataPK(username); cat.debug("pk="+ pk); UserDataRemote data2 = home.findByPrimaryKey(pk); cat.debug("found by key! ="+ data2); cat.debug("username="... | 4109 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4109/16e6a1dbcc54470e8d05f9bc7fdc7e7ebb6fe13c/TestUserData.java/clean/src/java/se/anatom/ejbca/ra/junit/TestUserData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
3103,
6609,
1876,
3043,
1299,
1435,
1216,
1185,
288,
3639,
6573,
18,
4148,
2932,
34,
3813,
3103,
6609,
1876,
3043,
1299,
1435,
8863,
3639,
31109,
8784,
2365,
273,
394,
3110... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
3103,
6609,
1876,
3043,
1299,
1435,
1216,
1185,
288,
3639,
6573,
18,
4148,
2932,
34,
3813,
3103,
6609,
1876,
3043,
1299,
1435,
8863,
3639,
31109,
8784,
2365,
273,
394,
3110... |
ExceptionSet exceptionTypeSet = new ExceptionSet(); | ExceptionSet exceptionTypeSet = exceptionSetFactory.createExceptionSet(); | private ExceptionSet computeThrownExceptionTypes(BasicBlock basicBlock) throws ClassNotFoundException, DataflowAnalysisException { ExceptionSet exceptionTypeSet = new ExceptionSet(); InstructionHandle pei = basicBlock.getExceptionThrower(); Instruction ins = pei.getInstruction(); // Get the exceptions that BCEL k... | 10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/66516145e1df96c10b637dff8fc6b0c2aecb568c/TypeAnalysis.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/TypeAnalysis.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1185,
694,
3671,
29591,
503,
2016,
12,
8252,
1768,
5337,
1768,
13,
202,
202,
15069,
10403,
16,
1910,
2426,
9418,
503,
288,
202,
202,
503,
694,
1520,
559,
694,
273,
394,
1185,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1185,
694,
3671,
29591,
503,
2016,
12,
8252,
1768,
5337,
1768,
13,
202,
202,
15069,
10403,
16,
1910,
2426,
9418,
503,
288,
202,
202,
503,
694,
1520,
559,
694,
273,
394,
1185,
... |
fireModelUpdate(lastElement, ChangeKind.REMOVED); | if (Workbench.getInstance().getActiveWorkbenchWindow().getActivePage().getActivePart() instanceof PackageExplorerPart) { if (FilterPackageExplorerAction.getDefault() != null && FilterPackageExplorerAction.getDefault().isChecked()) { fireModelUpdate(lastElement, ChangeKind.REMOVED); } } else { fireModelUpdate(lastElemen... | public void interestChanged(List<ITaskscapeNode> nodes) { if (!MylarUiPlugin.getDefault().isGlobalFilteringEnabled()) return; if (MylarPlugin.getTaskscapeManager().getTempRaisedHandle() != null) { final IJavaElement raisedElement = JavaCore.create(MylarPlugin.getTaskscapeManager().getTempRa... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/244d72134d5ef4d6c45e2bda4ea1af4f1cfc52e0/JavaUiUpdateBridge.java/buggy/org.eclipse.mylyn.java.ui/src/org/eclipse/mylyn/java/JavaUiUpdateBridge.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
16513,
5033,
12,
682,
32,
1285,
835,
12476,
907,
34,
2199,
13,
288,
3639,
309,
16051,
12062,
7901,
13943,
3773,
18,
588,
1868,
7675,
291,
5160,
30115,
1526,
10756,
327,
31,
363... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16513,
5033,
12,
682,
32,
1285,
835,
12476,
907,
34,
2199,
13,
288,
3639,
309,
16051,
12062,
7901,
13943,
3773,
18,
588,
1868,
7675,
291,
5160,
30115,
1526,
10756,
327,
31,
363... |
errorButton.setSelection(selected); } | errorButton.setSelection(selected); } | public void setErrorSelected(boolean selected) { errorButton.setSelection(selected); } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/1ceb585b9b16047c6c580984b0c9962c41a22ba6/DialogProblemFilter.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/DialogProblemFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
9967,
7416,
12,
6494,
3170,
13,
288,
5411,
555,
3616,
18,
542,
6233,
12,
8109,
1769,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
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,
540,
1071,
918,
9967,
7416,
12,
6494,
3170,
13,
288,
5411,
555,
3616,
18,
542,
6233,
12,
8109,
1769,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Map.Entry<AvailableLoad, ValueNumber[]> entry = i.next(); | AvailableLoad key = i.next(); ValueNumber[] value = availableLoadMap.get(key); | public String toString() { String frameValues = super.toString(); if (RLE_DEBUG) { StringBuffer buf = new StringBuffer(); buf.append(frameValues); Iterator<Map.Entry<AvailableLoad, ValueNumber[]>> i = availableLoadMap.entrySet().iterator(); boolean first = true; while (i.hasNext()) { Map.Entry<Available... | 7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/da9fde93efd951d8b704faf9c38cac44d21ee590/ValueNumberFrame.java/clean/findbugs/src/java/edu/umd/cs/findbugs/ba/ValueNumberFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1762,
1435,
288,
202,
202,
780,
2623,
1972,
273,
2240,
18,
10492,
5621,
202,
202,
430,
261,
54,
900,
67,
9394,
13,
288,
1082,
202,
780,
1892,
1681,
273,
394,
6674,
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,
514,
1762,
1435,
288,
202,
202,
780,
2623,
1972,
273,
2240,
18,
10492,
5621,
202,
202,
430,
261,
54,
900,
67,
9394,
13,
288,
1082,
202,
780,
1892,
1681,
273,
394,
6674,
5621,
... |
dX2 += dYAxisLabelsThickness; dX1 -= Math.max( bTicksLeft ? TICK_SIZE : 0, | dX2 += Math.max( dYAxisLabelsThickness, dDecorationThickness[1] ); dX1 -= Math.max( ( bTicksLeft ? TICK_SIZE : 0 ) + dDecorationThickness[0], dAppliedYAxisPlotSpacing ); } else if ( iYLabelLocation == LEFT ) { dX1 -= Math.max( ( bTicksLeft ? TICK_SIZE : 0 ) + Math.max( dYAxisLabelsThickness, dDecorationThickness[0] ), | protected final double adjustHorizontal( double dBlockX, double dBlockWidth, AllAxes aax ) throws ChartException, IllegalArgumentException { final OneAxis axPH = aax.areAxesSwapped( ) ? aax.getPrimaryOrthogonal( ) : aax.getPrimaryBase( ); final OneAxis axPV = aax.areAxesSwapped( ) ? aax.getPrimaryBase( ) :... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/20bb7679d106e8105100c095c900612d5a37a46d/PlotWithAxes.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/PlotWithAxes.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
727,
1645,
5765,
14457,
12,
1645,
302,
1768,
60,
16,
1082,
202,
9056,
302,
1768,
2384,
16,
4826,
26494,
279,
651,
262,
1216,
14804,
503,
16,
1082,
202,
31237,
202,
95,
202,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
727,
1645,
5765,
14457,
12,
1645,
302,
1768,
60,
16,
1082,
202,
9056,
302,
1768,
2384,
16,
4826,
26494,
279,
651,
262,
1216,
14804,
503,
16,
1082,
202,
31237,
202,
95,
202,
2... |
protected void setValuesOffered( Set values) throws IllegalValueException { | public void setValuesOffered( Set values) throws IllegalValueException { | protected void setValuesOffered( Set values) throws IllegalValueException { if (values == null) { throw new IllegalValueException("setValuesOffered must not be called with a null value. An empty set IS permitted."); } //Empty the valuesOffered set valuesOffered.clear(); ... | 11869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11869/a77e2e333b12df5bb2e6dc2d11645c4f19ccb4c4/Action.java/buggy/Coordinator/src/org/cougaar/coordinator/Action.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
27466,
10513,
329,
12,
1000,
924,
13,
1216,
2141,
9738,
288,
3639,
309,
261,
2372,
422,
446,
13,
288,
5411,
604,
394,
2141,
9738,
2932,
542,
1972,
10513,
329,
1297,
486,
506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
27466,
10513,
329,
12,
1000,
924,
13,
1216,
2141,
9738,
288,
3639,
309,
261,
2372,
422,
446,
13,
288,
5411,
604,
394,
2141,
9738,
2932,
542,
1972,
10513,
329,
1297,
486,
506,
... |
NativeJavaMethod setJavaMethod = (NativeJavaMethod) method; Method[] setMethods = setJavaMethod.methods; for (int pass = 1; pass <= 2 && setMethod == null; ++pass) { for (int i = 0; i < setMethods.length; ++i) { if (setMethods[i].getReturnType() == Void.TYPE && (!isStatic || Modifier.isStatic(setMethods[i].get... | NativeJavaMethod njm = (NativeJavaMethod) method; Class type = getMethod.getReturnType(); setMethod = extractSetMethod(type, njm, isStatic); | private void makeBeanProperties(Scriptable scope, boolean isStatic) { Hashtable ht = isStatic ? staticMembers : members; Hashtable toAdd = new Hashtable(); // Now, For each member, make "bean" properties. for (Enumeration e = ht.keys(); e.hasMoreElements(); ) { // Is this a... | 51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/32619aac8e91c998c877615fa497d1582f8f19a8/JavaMembers.java/buggy/js/rhino/src/org/mozilla/javascript/JavaMembers.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1221,
3381,
2297,
12,
3651,
429,
2146,
16,
1250,
16116,
13,
565,
288,
3639,
18559,
14049,
273,
16116,
692,
760,
6918,
294,
4833,
31,
3639,
18559,
25607,
273,
394,
18559,
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,
377,
3238,
918,
1221,
3381,
2297,
12,
3651,
429,
2146,
16,
1250,
16116,
13,
565,
288,
3639,
18559,
14049,
273,
16116,
692,
760,
6918,
294,
4833,
31,
3639,
18559,
25607,
273,
394,
18559,
5621,
... |
} catch (BadLocationException e1) { PydevPlugin.log(IStatus.ERROR, "Error setting selection", e1); | private void openInFile(IFile file, Location start, Location end) { if (file == null) return; IWorkbenchPage p = PydevPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage(); try { IEditorPart editorPart= p.openEditor(file, null, true); if (start != null && editorPart instanceof ITex... | 1319 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1319/46f4537ccb62b764a878e75128abd84e94f9720a/PyOpenAction.java/clean/org.python.pydev/src/org/python/pydev/editor/actions/PyOpenAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1696,
382,
812,
12,
45,
812,
585,
16,
7050,
787,
16,
7050,
679,
13,
288,
202,
202,
430,
261,
768,
422,
446,
13,
1082,
202,
2463,
31,
202,
202,
45,
2421,
22144,
1964,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1696,
382,
812,
12,
45,
812,
585,
16,
7050,
787,
16,
7050,
679,
13,
288,
202,
202,
430,
261,
768,
422,
446,
13,
1082,
202,
2463,
31,
202,
202,
45,
2421,
22144,
1964,
... | |
FileOutputStream output = new FileOutputStream(target); output.write((CDX_HEADER_STRING + "\n").getBytes()); CDXRecord cdxRecord = new CDXRecord(); Iterator itr = results.iterator(); while (itr.hasNext()) { SearchResult result = (SearchResult) itr.next(); cdxRecord.fromSearchResult(result); output.write((cdxRecord.toV... | FileOutputStream os = new FileOutputStream(target); BufferedOutputStream bos = new BufferedOutputStream(os); PrintWriter pw = new PrintWriter(bos); try { pw.println(CDXRecord.CDX_HEADER_MAGIC); CDXRecord cdxRecord = new CDXRecord(); Iterator itr = results.iterator(); while (itr.hasNext()) { SearchResult result = (Searc... | public void serializeResults(final SearchResults results, File target) throws IOException { // TODO will this automatically close when it falls out of scope? FileOutputStream output = new FileOutputStream(target); output.write((CDX_HEADER_STRING + "\n").getBytes()); CDXRecord cdxRecord = new CDXRecord(); Iter... | 54068 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54068/5342cb99e2a0786cd1a044142fbf3a43cdd33dbe/ArcIndexer.java/clean/src/java/org/archive/wayback/cdx/indexer/ArcIndexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
4472,
3447,
12,
6385,
5167,
3447,
1686,
16,
1082,
202,
812,
1018,
13,
1216,
1860,
288,
9506,
202,
759,
2660,
903,
333,
6635,
1746,
1347,
518,
21714,
596,
434,
2146,
35,
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,
225,
202,
482,
918,
4472,
3447,
12,
6385,
5167,
3447,
1686,
16,
1082,
202,
812,
1018,
13,
1216,
1860,
288,
9506,
202,
759,
2660,
903,
333,
6635,
1746,
1347,
518,
21714,
596,
434,
2146,
35,
2... |
public synchronized void postUpdateUI() { | public void postUpdateUI() { | public synchronized void postUpdateUI() { // this attempts to cleanup the damage done by updateComponentTreeUI requestFocus(); setCaret(getCaret()); select(outputMark, outputMark); } | 46579 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46579/08ecc635ba8049aeb419722893f373a4a7f99a77/Console.java/buggy/src/lib/com/izforge/izpack/util/Console.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1603,
1891,
5370,
1435,
288,
3639,
368,
333,
7531,
358,
6686,
326,
302,
301,
410,
2731,
635,
1089,
1841,
2471,
5370,
3639,
590,
9233,
5621,
3639,
11440,
20731,
12,
588,
39,
207... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1603,
1891,
5370,
1435,
288,
3639,
368,
333,
7531,
358,
6686,
326,
302,
301,
410,
2731,
635,
1089,
1841,
2471,
5370,
3639,
590,
9233,
5621,
3639,
11440,
20731,
12,
588,
39,
207... |
swmm.notifyListenersOfRemove(ne); ne.setComment(newComment); swmm.notifyListenersOfAdd(ne); | swmm.notifyListenersOfRemove(ne); ne.setComment(newComment); swmm.notifyListenersOfAdd(ne); | public void editComment() { FakeTreeNode ftn = (FakeTreeNode)getSelectionPath().getLastPathComponent(); NamedEdge ne = ftn.getEdge(); if(ne == null) { JOptionPane.showMessageDialog(this, "This is not an edge", "Cannot Edit Value", JOptionPane.ERROR_MESSAGE); } CommentDialog theDialog = new Comment... | 47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/d9311230f82f4404a6caf7a2cb902c26b0b86646/DataMapTree.java/clean/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/datamap/DataMapTree.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3874,
4469,
1435,
288,
565,
11551,
12513,
284,
5088,
273,
261,
25462,
12513,
13,
588,
6233,
743,
7675,
588,
3024,
743,
1841,
5621,
565,
9796,
6098,
1073,
273,
284,
5088,
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,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3874,
4469,
1435,
288,
565,
11551,
12513,
284,
5088,
273,
261,
25462,
12513,
13,
588,
6233,
743,
7675,
588,
3024,
743,
1841,
5621,
565,
9796,
6098,
1073,
273,
284,
5088,
18,
58... |
is.close(); | public static void copyTo(Bucket decodedData, OutputStream os, long truncateLength) throws IOException { if(truncateLength == 0) return; if(truncateLength < 0) truncateLength = Long.MAX_VALUE; InputStream is = decodedData.getInputStream(); byte[] buf = new byte[4096]; long moved = 0; while(moved < truncateLength... | 56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/fbdde7654afdefd24ae4365520a38c1c680248a7/BucketTools.java/buggy/src/freenet/support/BucketTools.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
29817,
12,
4103,
6383,
751,
16,
8962,
1140,
16,
1525,
10310,
1782,
13,
1216,
1860,
288,
202,
202,
430,
12,
27201,
1782,
422,
374,
13,
327,
31,
202,
202,
430,
12,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
29817,
12,
4103,
6383,
751,
16,
8962,
1140,
16,
1525,
10310,
1782,
13,
1216,
1860,
288,
202,
202,
430,
12,
27201,
1782,
422,
374,
13,
327,
31,
202,
202,
430,
12,
2... | |
elementParent.getContainingFile(), | containingFile, | protected void replace(ReplacementInfo _info) { final ReplacementInfoImpl info = (ReplacementInfoImpl)_info; final PsiElement element = (info.matchesPtrList.get(0)).getElement(); final String replacement = info.result; if (element==null || !element.isWritable() || !element.isValid()) return; final PsiE... | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/af0a3613d2e75d4b1d05774d6dcfff87326bb682/ReplacerImpl.java/buggy/plugins/structuralsearch/source/com/intellij/structuralsearch/plugin/replace/impl/ReplacerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1453,
12,
15201,
966,
389,
1376,
13,
288,
565,
727,
6910,
475,
28015,
1123,
273,
261,
15201,
28015,
13,
67,
1376,
31,
565,
727,
453,
7722,
1046,
930,
273,
261,
1376,
18,
8436... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1453,
12,
15201,
966,
389,
1376,
13,
288,
565,
727,
6910,
475,
28015,
1123,
273,
261,
15201,
28015,
13,
67,
1376,
31,
565,
727,
453,
7722,
1046,
930,
273,
261,
1376,
18,
8436... |
getCms().copyResource(getParamFile(), target, "true".equals(getParamKeeprights())); | getCms().copyResource(getParamFile(), target, "true".equals(getParamKeeprights()), true); | private boolean performCopyOperation() throws CmsException { // on folder copy display "please wait" screen, not for simple file copy CmsResource sourceRes = getCms().readFileHeader(getParamFile()); if (sourceRes.isFolder() && ! DIALOG_WAIT.equals(getParamAction())) { // return false... | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/97d901301797157fc45700e78fdba88051f665c3/CmsCopy.java/clean/src/org/opencms/workplace/CmsCopy.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
3073,
2951,
2988,
1435,
1216,
11228,
288,
3639,
368,
603,
3009,
1610,
2562,
315,
1802,
448,
2529,
6,
5518,
16,
486,
364,
4143,
585,
1610,
3639,
7630,
1084,
607,
273,
14413,
76... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3073,
2951,
2988,
1435,
1216,
11228,
288,
3639,
368,
603,
3009,
1610,
2562,
315,
1802,
448,
2529,
6,
5518,
16,
486,
364,
4143,
585,
1610,
3639,
7630,
1084,
607,
273,
14413,
76... |
return 1 + 1 + 1 + 2 + 2; case Token.REGEXP : return 1 + 2; case Icode_CLOSURE : return 1 + 2; case Token.NEW : case Token.CALL : return 1 + 2; | return 1 + 1 + 1 + 2; | private static int icodeTokenLength(int icodeToken) { switch (icodeToken) { case Icode_SCOPE : case Icode_GETPROTO : case Icode_PUSH_PARENT : case Icode_GETSCOPEPARENT : case Icode_SETPROTO : case Icode_SETPARENT : case Token.DEL... | 11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/e88881f3a6bd2c7e5dc034fb562e82c4759ceacb/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
509,
277,
710,
1345,
1782,
12,
474,
277,
710,
1345,
13,
565,
288,
3639,
1620,
261,
3487,
1345,
13,
288,
5411,
648,
467,
710,
67,
19444,
294,
5411,
648,
467,
710,
67,
3264,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
509,
277,
710,
1345,
1782,
12,
474,
277,
710,
1345,
13,
565,
288,
3639,
1620,
261,
3487,
1345,
13,
288,
5411,
648,
467,
710,
67,
19444,
294,
5411,
648,
467,
710,
67,
3264,
... |
public Record findMatchInDB(Record record) throws RemoteException, DBLayerException { if(record == null) return null; // Get the table. Class table = record.getClass(); // Look in the cache.// if(cacheEnabled) {// Record cachedRecord = cache.remove(table);// if( cachedRecord != null && record.equals(cached... | 57211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57211/4b03d285fdfd6a76458db40e687c06631401fb4c/DefaultDirector.java/clean/trunk/src/net/sf/plantlore/client/imports/DefaultDirector.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2115,
4720,
2060,
382,
2290,
12,
2115,
3366,
13,
202,
15069,
5169,
503,
16,
2290,
4576,
503,
95,
202,
202,
430,
12,
3366,
631,
2011,
13,
2463,
2011,
31,
202,
202,
759,
967,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2115,
4720,
2060,
382,
2290,
12,
2115,
3366,
13,
202,
15069,
5169,
503,
16,
2290,
4576,
503,
95,
202,
202,
430,
12,
3366,
631,
2011,
13,
2463,
2011,
31,
202,
202,
759,
967,
... | ||
IEditorPart editors[] = page.getDirtyEditors(); for (int k = 0; k < editors.length; k++) { IEditorPart editor = editors[k]; if (editor.isSaveOnCloseNeeded()) { if (!dirtyEditorsInput.contains(editor .getEditorInput())) { dirtyParts.add(editor); dirtyEditorsInput.add(editor .getEditorInput()); } } } IViewPart[] viewP... | ISaveablePart[] parts = page.getDirtyParts(); for (int k = 0; k < parts.length; k++) { ISaveablePart part = parts[k]; if (part.isSaveOnCloseNeeded()) { if (part instanceof IEditorPart) { IEditorPart editor = (IEditorPart)part; if (!dirtyEditorsInput.contains(editor .getEditorInput())) { dirtyParts.add(editor); dirtyE... | public boolean saveAllEditors(boolean confirm) { final boolean finalConfirm = confirm; final boolean[] result = new boolean[1]; result[0] = true; Platform.run(new SafeRunnable(WorkbenchMessages.ErrorClosing) { public void run() { // Collect dirtyParts ArrayList dirtyParts = new ArrayList(); ArrayList di... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/609ad53fd321be3a05929de62794a6e78e2c8455/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1923,
1595,
4666,
1383,
12,
6494,
6932,
13,
288,
202,
202,
6385,
1250,
727,
11269,
273,
6932,
31,
202,
202,
6385,
1250,
8526,
563,
273,
394,
1250,
63,
21,
15533,
202,
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,
482,
1250,
1923,
1595,
4666,
1383,
12,
6494,
6932,
13,
288,
202,
202,
6385,
1250,
727,
11269,
273,
6932,
31,
202,
202,
6385,
1250,
8526,
563,
273,
394,
1250,
63,
21,
15533,
202,
20... |
initNumberJcb(endCourseHourJcb, 8, 19); | initNumberJcb(endCourseHourJcb, FIRST_HOUR, LAST_HOUR); | private void initAddModifyCourseWindow() { teacherLabel = new JLabel("Le cours sera donn par :"); addComponent(AMCWLayout,layoutConstraints,teacherLabel,1,1,3,1,0.0,0.0,GridBagConstraints.WEST,GridBagConstraints.NONE,new Insets(30,10,15,10)); AMCWFrame.getContentPane().add(teacherLabel); if (teachersName == null... | 10961 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10961/e1d2fe1966aa19592744ffdc0b35eeacf24e65b3/AddModifyCourseWindow.java/clean/beontimeSwing/src/fr/umlv/smoreau/beontime/client/graphics/windows/AddModifyCourseWindow.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1208,
986,
11047,
39,
3117,
3829,
1435,
288,
202,
202,
736,
27779,
2224,
273,
394,
21403,
2932,
1682,
276,
4390,
703,
69,
2727,
82,
779,
294,
8863,
202,
202,
1289,
1841,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1208,
986,
11047,
39,
3117,
3829,
1435,
288,
202,
202,
736,
27779,
2224,
273,
394,
21403,
2932,
1682,
276,
4390,
703,
69,
2727,
82,
779,
294,
8863,
202,
202,
1289,
1841,
... |
case WFSTATE_STEP1POOL: wi.setOwner( null ); | case WFSTATE_STEP1POOL: wi.setOwner( null ); | private static void doState(Context c,WorkflowItem wi, int newstate, EPerson newowner) throws SQLException, IOException, AuthorizeException { Collection mycollection = wi.getCollection(); Group mygroup = null; wi.setState(newstate); switch (newstate) { cas... | 49711 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49711/9f3b39bf74c835ab4139c29391aef74922485f41/WorkflowManager.java/clean/dspace/src/org/dspace/workflow/WorkflowManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
741,
1119,
12,
1042,
276,
16,
8484,
1180,
16138,
16,
509,
394,
2019,
16,
512,
8346,
394,
8443,
13,
3639,
1216,
6483,
16,
1860,
16,
23859,
503,
565,
288,
3639,
2200,
3399... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
741,
1119,
12,
1042,
276,
16,
8484,
1180,
16138,
16,
509,
394,
2019,
16,
512,
8346,
394,
8443,
13,
3639,
1216,
6483,
16,
1860,
16,
23859,
503,
565,
288,
3639,
2200,
3399... |
IWorkbenchAction action = new TipsAndTricksAction(window); action.setId(getId()); | RetargetAction action = new RetargetAction(getId(), IDEWorkbenchMessages.getString("Workbench.rebuildProject")); action.setToolTipText(IDEWorkbenchMessages.getString("Workbench.rebuildProjectToolTip")); window.getPartService().addPartListener(action); action.setActionDefinitionId("org.eclipse.ui.project.rebuildProject"... | public IWorkbenchAction create(IWorkbenchWindow window) { if (window == null) { throw new IllegalArgumentException(); } IWorkbenchAction action = new TipsAndTricksAction(window); action.setId(getId()); return action; } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/a28eb1ef10e772648cd789827e54d2e08b8df441/IDEActionFactory.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/IDEActionFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
467,
2421,
22144,
1803,
752,
12,
45,
2421,
22144,
3829,
2742,
13,
288,
1082,
202,
430,
261,
5668,
422,
446,
13,
288,
9506,
202,
12849,
394,
2754,
5621,
1082,
202,
97,
1082,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
467,
2421,
22144,
1803,
752,
12,
45,
2421,
22144,
3829,
2742,
13,
288,
1082,
202,
430,
261,
5668,
422,
446,
13,
288,
9506,
202,
12849,
394,
2754,
5621,
1082,
202,
97,
1082,
2... |
waitForActivationsToComplete(); | if (activationCount > 0) { long waitTime = CLOSE_TIMEOUT; while (activationCount > 0 && waitTime > 0) { waitTime = waitOnLock(mainLock, waitTime); } if (activationCount > 0) { log.warn("Timed out waiting for activations to complete"); } } | public void close() throws JMSException { try { synchronized (mainLock) { if (closed) { return; } closing = true; //We wait for any activation in progress to complete and the resulting message ... | 3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/07e374de7de6b7e5b2cc24cb9721dda2c85d257e/MessageCallbackHandler.java/buggy/src/main/org/jboss/jms/client/remoting/MessageCallbackHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1746,
1435,
1216,
20343,
282,
288,
1377,
775,
1377,
288,
540,
3852,
261,
5254,
2531,
13,
540,
288,
5411,
309,
261,
12204,
13,
5411,
288,
9079,
327,
31,
5411,
289,
13491,
7647,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1071,
918,
1746,
1435,
1216,
20343,
282,
288,
1377,
775,
1377,
288,
540,
3852,
261,
5254,
2531,
13,
540,
288,
5411,
309,
261,
12204,
13,
5411,
288,
9079,
327,
31,
5411,
289,
13491,
7647,
... |
} | private void invalidateSelectedLines() { // to hide line highlight if selections are being added later on invalidateLine(caretLine); Iterator iter = selectionManager.selection.iterator(); while(iter.hasNext()) { Selection s = (Selection)iter.next(); invalidateLineRange(s.startLine,s.endLine); } } //}}} | 6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/01e43a44f5f0b2f213c816f23cccf5cfebee33e7/JEditTextArea.java/clean/org/gjt/sp/jedit/textarea/JEditTextArea.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
11587,
7416,
5763,
1435,
202,
95,
202,
202,
759,
358,
6853,
980,
8839,
309,
21738,
854,
3832,
3096,
5137,
603,
202,
202,
5387,
340,
1670,
12,
71,
20731,
1670,
1769,
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,
1152,
918,
11587,
7416,
5763,
1435,
202,
95,
202,
202,
759,
358,
6853,
980,
8839,
309,
21738,
854,
3832,
3096,
5137,
603,
202,
202,
5387,
340,
1670,
12,
71,
20731,
1670,
1769,
202,
... | |
protected IStatus run(IProgressMonitor monitor) { HashSet disabledPlugins = new HashSet(Arrays .asList(getDisabledEarlyActivatedPlugins())); monitor.beginTask(WorkbenchMessages.Workbench_startingPlugins, extensions.length); for (int i = 0; i < extensions.length; ++i) { if (monitor.isCanceled() || !isRunning()) { return... | public void run() { try { result[0] = busyOpenWorkbenchWindow(perspID, input); } catch (WorkbenchException e) { result[0] = e; | protected IStatus run(IProgressMonitor monitor) { HashSet disabledPlugins = new HashSet(Arrays .asList(getDisabledEarlyActivatedPlugins())); monitor.beginTask(WorkbenchMessages.Workbench_startingPlugins, extensions.length); for (int i = 0; i < extensions.length; ++i) { if (monitor.isCanceled()... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/bc508e6d12aaf5e44777fe0ae256945be5760cc6/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
1117,
467,
1482,
1086,
12,
45,
5491,
7187,
6438,
13,
288,
9506,
202,
13482,
5673,
9461,
273,
394,
6847,
12,
12726,
25083,
202,
18,
345,
682,
12,
588,
8853,
41,
20279,
28724,
9461,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1117,
467,
1482,
1086,
12,
45,
5491,
7187,
6438,
13,
288,
9506,
202,
13482,
5673,
9461,
273,
394,
6847,
12,
12726,
25083,
202,
18,
345,
682,
12,
588,
8853,
41,
20279,
28724,
9461,
... |
public Calendar getStart() { return start; | public long getStart() { return startMili; | public Calendar getStart() { return start; } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/57b925d86fd44a7384ad1e5ec70ce829303127f5/DateRangeActivityDelegate.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/provisional/tasklist/DateRangeActivityDelegate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5542,
8635,
1435,
288,
202,
202,
2463,
787,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5542,
8635,
1435,
288,
202,
202,
2463,
787,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
suite.addTestSuite(TestMemberToGroup.class); | static public Test suite() { TestSuite suite = new TestSuite(); suite.addTest( SuiteSettings.suite() ); suite.addTest( SuiteSessions.suite() ); suite.addTest( SuiteStems.suite() ); suite.addTest( SuiteGroupTypes.suite() ); suite.addTest( SuiteGroups.suite() ); suite.addTest( Su... | 5235 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5235/637cddc4a27c766f2329ba025d3076af682d9e37/SuiteDefault.java/buggy/grouper/src/test/edu/internet2/middleware/grouper/SuiteDefault.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
1071,
7766,
11371,
1435,
288,
565,
7766,
13587,
11371,
273,
394,
7766,
13587,
5621,
565,
11371,
18,
1289,
4709,
12,
225,
348,
9519,
2628,
18,
30676,
1435,
282,
11272,
565,
11371,
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,
282,
760,
1071,
7766,
11371,
1435,
288,
565,
7766,
13587,
11371,
273,
394,
7766,
13587,
5621,
565,
11371,
18,
1289,
4709,
12,
225,
348,
9519,
2628,
18,
30676,
1435,
282,
11272,
565,
11371,
18,
... | |
if (i.nextIndex() > index2) | GapContentPosition p = (GapContentPosition) i.next(); if (p.mark > endOffset) | protected Vector getPositionsInRange(Vector v, int offset, int length) { Vector res = v; if (res == null) res = new Vector(); else res.clear(); int endOffset = offset + length; int index1 = Collections.binarySearch(positions, new GapContentPosition(of... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/GapContent.java/buggy/core/src/classpath/javax/javax/swing/text/GapContent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
5589,
336,
11024,
25277,
12,
5018,
331,
16,
509,
1384,
16,
509,
769,
13,
225,
288,
565,
5589,
400,
273,
331,
31,
565,
309,
261,
455,
422,
446,
13,
1377,
400,
273,
394,
5589,
562... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5589,
336,
11024,
25277,
12,
5018,
331,
16,
509,
1384,
16,
509,
769,
13,
225,
288,
565,
5589,
400,
273,
331,
31,
565,
309,
261,
455,
422,
446,
13,
1377,
400,
273,
394,
5589,
562... |
retEnv = SunRound2Client.sendMsg(util, url, soapAction); | retEnv = client.sendMsg(util, url, soapAction); | public void testR2BaseEchoStringArray() throws AxisFault { url = "http://www.caraveo.com/soap_interop/server_round2.php"; soapAction = "http://soapinterop.org/"; util = new Round2EchoStringArrayClientUtil(); retEnv = SunRound2Client.sendMsg(util, url, soapAction); tempPath = resFi... | 49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/95f09abc768fee06d65b12836e31273ac0e15eb3/PSRound2InteropTest.java/buggy/modules/integration/itest/test/interop/whitemesa/round2/PSRound2InteropTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
54,
22,
2171,
19704,
28547,
1435,
1216,
15509,
7083,
288,
3639,
880,
273,
315,
2505,
2207,
5591,
18,
9815,
836,
83,
18,
832,
19,
19215,
67,
30376,
19,
3567,
67,
2260,
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,
1842,
54,
22,
2171,
19704,
28547,
1435,
1216,
15509,
7083,
288,
3639,
880,
273,
315,
2505,
2207,
5591,
18,
9815,
836,
83,
18,
832,
19,
19215,
67,
30376,
19,
3567,
67,
2260,
2... |
if (useRedraw) tree.setRedraw(true); | if (useRedraw) { tree.setRedraw(true); } | protected void inputChanged(Object input, Object oldInput) { preservingSelection(new Runnable() { public void run() { Control tree = getControl(); boolean useRedraw = true; // (size > REDRAW_THRESHOLD) || (table.getItemCount() > // REDRAW... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/391f2606b4ea2c1fb5052d938ca90877ee7631f6/AbstractTreeViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
810,
5033,
12,
921,
810,
16,
1033,
1592,
1210,
13,
288,
3639,
27995,
6233,
12,
2704,
10254,
1435,
288,
5411,
1071,
918,
1086,
1435,
288,
7734,
8888,
2151,
273,
27174,
5621,
773... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
810,
5033,
12,
921,
810,
16,
1033,
1592,
1210,
13,
288,
3639,
27995,
6233,
12,
2704,
10254,
1435,
288,
5411,
1071,
918,
1086,
1435,
288,
7734,
8888,
2151,
273,
27174,
5621,
773... |
public void mSTRING() throws RecognitionException { int STRING_StartIndex = input.index(); try { int type = STRING; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; ... | 31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/35c3932466a0269c296ae52afa8a1f8048a309d2/RuleParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
5804,
1435,
1216,
9539,
288,
3639,
509,
9469,
67,
16792,
273,
810,
18,
1615,
5621,
3639,
775,
288,
5411,
509,
618,
273,
9469,
31,
5411,
509,
787,
273,
23577,
1016,
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,
377,
1071,
918,
312,
5804,
1435,
1216,
9539,
288,
3639,
509,
9469,
67,
16792,
273,
810,
18,
1615,
5621,
3639,
775,
288,
5411,
509,
618,
273,
9469,
31,
5411,
509,
787,
273,
23577,
1016,
5621,
... | ||
{ aelfred2.setLocale (locale); } | { aelfred2.setLocale(locale); } | public void setLocale (Locale locale) throws SAXException { aelfred2.setLocale (locale); } | 1739 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1739/7fb7568e63c3fe14af521de4699cb37898923ca7/XmlReader.java/buggy/libjava/gnu/xml/aelfred2/XmlReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
19848,
261,
3916,
2573,
13,
565,
1216,
14366,
202,
95,
279,
19079,
1118,
22,
18,
542,
3916,
261,
6339,
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,
377,
1071,
918,
19848,
261,
3916,
2573,
13,
565,
1216,
14366,
202,
95,
279,
19079,
1118,
22,
18,
542,
3916,
261,
6339,
1769,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
if( log.isTraceEnabled() ) log.trace("Forwarding sub on " + localBroker + " from " + remoteBroker + " on "+info); | if(log.isTraceEnabled()) log.trace("Forwarding sub on "+localBroker+" from "+remoteBrokerName+" : "+info); | private void serviceRemoteConsumerAdvisory(DataStructure data) throws IOException { if( data.getClass() == ConsumerInfo.class ) { // Create a new local subscription ConsumerInfo info = (ConsumerInfo) data; BrokerId[] path = info.getBrokerPath(); ... | 11783 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11783/5a429d90bbfeb27d012127cc5d03f67b0ef7ed98/DemandForwardingBridge.java/buggy/activemq-core/src/main/java/org/apache/activemq/network/DemandForwardingBridge.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1156,
5169,
5869,
1871,
3516,
630,
12,
751,
6999,
501,
13,
1216,
1860,
288,
3639,
309,
12,
501,
18,
588,
797,
1435,
422,
9326,
966,
18,
1106,
262,
288,
4766,
282,
368,
1788,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1156,
5169,
5869,
1871,
3516,
630,
12,
751,
6999,
501,
13,
1216,
1860,
288,
3639,
309,
12,
501,
18,
588,
797,
1435,
422,
9326,
966,
18,
1106,
262,
288,
4766,
282,
368,
1788,
... |
if (isPreciseTarget) { this.isPreciseTarget = isPreciseTarget; } else { setPreciseTarget(); } | setPreciseTarget(); | public void refine(VM_Method target, boolean isPreciseTarget) { this.target = target; if (isPreciseTarget) { this.isPreciseTarget = isPreciseTarget; } else { setPreciseTarget(); } } | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/3a9aeeb7f964774e6adc285d6526603ac1570e14/OPT_MethodOperand.java/buggy/rvm/src/vm/compilers/optimizing/ir/instruction/operand/OPT_MethodOperand.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
30446,
12,
7397,
67,
1305,
1018,
16,
1250,
353,
1386,
30708,
2326,
13,
288,
377,
333,
18,
3299,
273,
1018,
31,
377,
309,
261,
291,
1386,
30708,
2326,
13,
288,
4202,
333,
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,
565,
1071,
918,
30446,
12,
7397,
67,
1305,
1018,
16,
1250,
353,
1386,
30708,
2326,
13,
288,
377,
333,
18,
3299,
273,
1018,
31,
377,
309,
261,
291,
1386,
30708,
2326,
13,
288,
4202,
333,
18,
... |
public Object execMethod (int methodId, IdFunction function, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { switch (methodId) { case Id_abs: return wrap_double (js_abs(ScriptRuntime.toNumber(args, 0))); ... | 7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/b6331020dcf96bb85dae57ee2a2ce947b6b0477a/NativeMath.java/buggy/js/rhino/org/mozilla/javascript/NativeMath.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
445,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
445,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
... | ||
private void __builtin_unsigned_long_long() { //unsigned long long ICASTSimpleDeclSpecifier parmSds = new CASTSimpleDeclSpecifier(); parmSds.setType(IASTSimpleDeclSpecifier.t_unspecified); parmSds.setUnsigned(true); parmSds.setLongLong(true); IType c_unsigned_long_long = new CQualifierType(parmSds); IType... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/e5e342776ddb4235e342044729523a01bf8c688b/GCCBuiltinSymbolProvider.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/GCCBuiltinSymbolProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
6459,
972,
24553,
67,
22297,
67,
5748,
67,
5748,
1435,
95,
759,
22297,
5748,
5748,
202,
202,
2871,
9053,
5784,
3456,
21416,
1065,
81,
55,
2377,
33,
2704,
21871,
5784,
3456,
214... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6459,
972,
24553,
67,
22297,
67,
5748,
67,
5748,
1435,
95,
759,
22297,
5748,
5748,
202,
202,
2871,
9053,
5784,
3456,
21416,
1065,
81,
55,
2377,
33,
2704,
21871,
5784,
3456,
214... | ||
Event e = new Event("Powerbook Tilt"); | Event e = new Event("Powerbook_Tilt"); | public static void main(String argv[]){ if(argv.length != 1){ System.out.println("Usage: java amsProxy eventHeapServerName"); System.exit(-1); } EventHeap eh = new EventHeap(argv[0]); char[] buffer = new char[100]; BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); try{ System.out... | 12155 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12155/f9c1fe3e711ba451e154e01c89c79cbb613a606e/amsProxy.java/buggy/trunk/Hardware Proxies/PowerbookTiltSensor/amsProxy.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
5261,
63,
5717,
95,
202,
430,
12,
19485,
18,
2469,
480,
404,
15329,
202,
565,
2332,
18,
659,
18,
8222,
2932,
5357,
30,
2252,
279,
959,
3886,
871,
15648,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
5261,
63,
5717,
95,
202,
430,
12,
19485,
18,
2469,
480,
404,
15329,
202,
565,
2332,
18,
659,
18,
8222,
2932,
5357,
30,
2252,
279,
959,
3886,
871,
15648,
... |
windowBodyDivCssStyle.setAttribute("height", "expression((document.getElementById('" + elementId + "').clientHeight-" + (top + bottom) + ")+'px')"); windowBodyDivCssStyle.setAttribute("width", "expression((document.getElementById('" + elementId + "').clientWidth-" + (left + right) + ")+'px')"); | windowBodyDivCssStyle.setAttribute("height", "expression((document.getElementById('" + elementId + "').clientHeight-" + (top + bottom) + ")+'px')"); windowBodyDivCssStyle.setAttribute("width", "expression((document.getElementById('" + elementId + "').clientWidth-" + (left + right) + ")+'px')"); | public void renderHtml(RenderContext rc, ServerComponentUpdate update, Element parentElement, Component component) { WindowPane windowPane = (WindowPane) component; String elementId = ContainerInstance.getElementId(windowPane); String bodyElementId = elementId + "_body"; Strin... | 45635 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45635/0e16a2d76781ba8685883747d0d8f1c409e05d2f/WindowPanePeer.java/clean/src/webcontainer/java/nextapp/echo2/webcontainer/syncpeer/WindowPanePeer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1743,
4353,
12,
3420,
1042,
4519,
16,
3224,
1841,
1891,
1089,
16,
5411,
3010,
30363,
16,
5435,
1794,
13,
288,
3639,
6076,
8485,
2742,
8485,
273,
261,
3829,
8485,
13,
1794,
31,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1743,
4353,
12,
3420,
1042,
4519,
16,
3224,
1841,
1891,
1089,
16,
5411,
3010,
30363,
16,
5435,
1794,
13,
288,
3639,
6076,
8485,
2742,
8485,
273,
261,
3829,
8485,
13,
1794,
31,
... |
files = projectDAO.load(projectId).getFiles(); | return fileDAO.exists(projectId,fileName); | public boolean existsFile(Long projectId, String fileName) throws ServiceException { Set<File> files = null; try { files = projectDAO.load(projectId).getFiles(); } catch (DAOException e) { e.printStackTrace(); throw new ServiceException(); } if(files==null) return false; for(File f : files) { if(f.getFil... | 48076 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48076/23a7bf0759d441dcf52f44009903cbc7f2d08b3d/VHDLLabManagerImpl.java/buggy/src/service/hr/fer/zemris/vhdllab/service/impl/dummy/VHDLLabManagerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1704,
812,
12,
3708,
9882,
16,
514,
3968,
13,
1216,
16489,
288,
202,
202,
694,
32,
812,
34,
1390,
273,
446,
31,
202,
202,
698,
288,
1082,
202,
2354,
273,
1984,
18485,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1704,
812,
12,
3708,
9882,
16,
514,
3968,
13,
1216,
16489,
288,
202,
202,
694,
32,
812,
34,
1390,
273,
446,
31,
202,
202,
698,
288,
1082,
202,
2354,
273,
1984,
18485,
... |
final TypeFactory typeFactory = getTypeFactory( DataType.ROLE ); | final TypeFactory typeFactory = getTypeFactory( DataType.class ); | public void configure( final Configuration configuration ) throws ConfigurationException { final DefaultConfiguration newConfiguration = new DefaultConfiguration( configuration.getName(), configuration.getLocation() ); final String[] attributes = configuration.getAttributeNames();... | 639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/bc34bb06ca8b29568e31990be726d04559ca2972/TypeInstanceTask.java/buggy/proposal/myrmidon/src/java/org/apache/myrmidon/framework/TypeInstanceTask.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
5068,
12,
727,
4659,
1664,
262,
3639,
1216,
22196,
565,
288,
3639,
727,
2989,
1750,
394,
1750,
273,
5411,
394,
2989,
1750,
12,
1664,
18,
17994,
9334,
1664,
18,
588,
2735,
1435,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5068,
12,
727,
4659,
1664,
262,
3639,
1216,
22196,
565,
288,
3639,
727,
2989,
1750,
394,
1750,
273,
5411,
394,
2989,
1750,
12,
1664,
18,
17994,
9334,
1664,
18,
588,
2735,
1435,... |
public Node getInitialNode(){ | public Node getInitialNode() { | public Node getInitialNode(){ return initialNode; } | 8321 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8321/10d031a20c2e73a9b0dffb98ed336997259a5ef5/Graph.java/clean/sphinx4/edu/cmu/sphinx/trainer/Graph.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2029,
24044,
907,
1435,
288,
3639,
327,
2172,
907,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2029,
24044,
907,
1435,
288,
3639,
327,
2172,
907,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
System.out.print("static const int VM_Constants_REGENERATE_MASK = " | p("static const int VM_Constants_REGENERATE_MASK = " | static void emitVirtualMachineDeclarations (int bootImageAddress) { // load address for the boot image // System.out.print("static const int bootImageAddress = 0x" + Integer.toHexString(bootImageAddress) + ";\n"); // values in VM_Constants, from VM_Configuration // //-#... | 4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/925454167bc483f10cf328dfcd6f344b2ba4704d/GenerateInterfaceDeclarations.java/clean/rvm/src/tools/bootImageRunner/GenerateInterfaceDeclarations.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
918,
3626,
27454,
21408,
261,
474,
4835,
2040,
1887,
13,
288,
565,
368,
1262,
1758,
364,
326,
4835,
1316,
565,
368,
565,
2332,
18,
659,
18,
1188,
2932,
3845,
1866,
509,
4835,
2040,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
918,
3626,
27454,
21408,
261,
474,
4835,
2040,
1887,
13,
288,
565,
368,
1262,
1758,
364,
326,
4835,
1316,
565,
368,
565,
2332,
18,
659,
18,
1188,
2932,
3845,
1866,
509,
4835,
2040,
... |
Main.info("SecurityManager=" + sec); | Main.debug("SecurityManager=" + sec); | public KJASSwingConsole() { initComponents(); setSize(500, 300); java.io.PrintStream st = new java.io.PrintStream( new KJASConsoleStream(this) ); System.setOut(st); System.setErr(st); System.out.println( "Java VM version: " + System.getPro... | 45545 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45545/810dad2d2b6b9450f2a2bcd2cc5356134dca69f2/KJASSwingConsole.java/clean/khtml/java/org/kde/kjas/server/KJASSwingConsole.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1475,
46,
8423,
91,
310,
10215,
1435,
288,
3639,
1208,
7171,
5621,
3639,
19106,
12,
12483,
16,
11631,
1769,
3639,
2252,
18,
1594,
18,
5108,
1228,
384,
273,
394,
2252,
18,
1594,
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,
1475,
46,
8423,
91,
310,
10215,
1435,
288,
3639,
1208,
7171,
5621,
3639,
19106,
12,
12483,
16,
11631,
1769,
3639,
2252,
18,
1594,
18,
5108,
1228,
384,
273,
394,
2252,
18,
1594,
18,
... |
in.seek(offset); | in.skipBytes(idata - 16); | protected void initMetadata() { Hashtable ifd = ifds[0]; long data = 0; int idata = 0; double ddata = 0; short sdata = 0; try { // -- Parse standard metadata -- // determine byte order boolean little = TiffTools.isLittleEndian(ifd); in.seek(0); put("NewSubfileType", ifd, Tif... | 55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/91859a26506b8a1d312b398da2c3ecd94e02fa60/ZeissLSMReader.java/clean/loci/formats/ZeissLSMReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
2277,
1435,
288,
565,
18559,
309,
72,
273,
309,
2377,
63,
20,
15533,
565,
1525,
501,
273,
374,
31,
565,
509,
612,
396,
273,
374,
31,
565,
1645,
302,
892,
273,
374,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
2277,
1435,
288,
565,
18559,
309,
72,
273,
309,
2377,
63,
20,
15533,
565,
1525,
501,
273,
374,
31,
565,
509,
612,
396,
273,
374,
31,
565,
1645,
302,
892,
273,
374,
31... |
private static void removeConnectionPool(ConnectionPool connectionPool, int delay) { | private static void removeConnectionPool(String finalizer, ConnectionPool connectionPool, int delay) { | private static void removeConnectionPool(ConnectionPool connectionPool, int delay) { if (connectionPool != null) { try { connectionPool.finalize(delay, "External"); } catch (Throwable t) { LOG.error("Problem trying to remove " + connectionPool.getDefinition... | 4082 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4082/b49d4aceadfa76e382a10231dccb48ac9263ac72/ProxoolFacade.java/clean/src/java/org/logicalcobwebs/proxool/ProxoolFacade.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
1206,
1952,
2864,
12,
780,
727,
1824,
16,
4050,
2864,
1459,
2864,
16,
509,
4624,
13,
288,
3639,
309,
261,
4071,
2864,
480,
446,
13,
288,
5411,
775,
288,
7734,
1459,
2864... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
1206,
1952,
2864,
12,
780,
727,
1824,
16,
4050,
2864,
1459,
2864,
16,
509,
4624,
13,
288,
3639,
309,
261,
4071,
2864,
480,
446,
13,
288,
5411,
775,
288,
7734,
1459,
2864... |
Messages.getString( "info.eclenv.creating.function", new Object[] { sName, oAggregateFunction.getClass().getName() }, Locale.getDefault() ) ); | Messages.getString("info.eclenv.creating.function", new Object[] { sName, oAggregateFunction.getClass().getName() }, Locale.getDefault() )); | public final IAggregateFunction getAggregateFunction(String sName) throws PluginException { if (inEclipseEnv()) { final Object oAggregateFunction = getPluginXmlObject("aggregatefunctions", "aggregateFunction", "name", "function", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ ... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/4c3f1cb28dd9925df77890697e8cb172fe5ebfe8/PluginSettings.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/util/PluginSettings.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
467,
11490,
2083,
336,
11490,
2083,
12,
780,
14933,
13,
1216,
6258,
503,
565,
288,
3639,
309,
261,
267,
23057,
10472,
3491,
10756,
3639,
288,
5411,
727,
1033,
320,
11490,
2083,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
467,
11490,
2083,
336,
11490,
2083,
12,
780,
14933,
13,
1216,
6258,
503,
565,
288,
3639,
309,
261,
267,
23057,
10472,
3491,
10756,
3639,
288,
5411,
727,
1033,
320,
11490,
2083,
... |
throw new IOException("missing bytes"); | throw new IOException(CCorePlugin.getResourceString("Util.exception.missingBytes")); | long read_8_bytes(InputStream in) throws IOException { try { byte[] bytes = new byte[8]; int n = in.read(bytes, 0, bytes.length); if (n != 8) { throw new IOException("missing bytes"); } return read_8_bytes(bytes, 0); } catch (IndexOutOfBoundsException e) { throw new IOException("missing bytes"); } } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/74206bb9c0adfac164644b684d089bbdf8757013/Dwarf.java/clean/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/debug/dwarf/Dwarf.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
5748,
855,
67,
28,
67,
3890,
12,
4348,
316,
13,
1216,
1860,
288,
202,
202,
698,
288,
1082,
202,
7229,
8526,
1731,
273,
394,
1160,
63,
28,
15533,
1082,
202,
474,
290,
273,
316,
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,
5748,
855,
67,
28,
67,
3890,
12,
4348,
316,
13,
1216,
1860,
288,
202,
202,
698,
288,
1082,
202,
7229,
8526,
1731,
273,
394,
1160,
63,
28,
15533,
1082,
202,
474,
290,
273,
316,
18... |
if (TaskListView.getDefault() != null) TaskListView.getDefault().getViewer().refresh(); | if (TaskListView.getDefault() != null) TaskListView.getDefault().getViewer().refresh(); | private void addPlannedTasksToCategory() { List<ITaskCategory> categories = MylarTaskListPlugin.getTaskListManager().getTaskList().getUserCategories(); String[] categoryNames = new String[categories.size()]; int i = 0; for (ITaskCategory category : categories) { categoryNames[i++] = category.getDescription(true... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/9a2415b840339225a82de93eb56d7c34bcf91009/TaskPlannerEditorPart.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/planner/ui/TaskPlannerEditorPart.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
527,
1749,
10041,
6685,
774,
4457,
1435,
288,
202,
202,
682,
32,
1285,
835,
4457,
34,
6477,
273,
225,
8005,
7901,
2174,
682,
3773,
18,
588,
2174,
682,
1318,
7675,
588,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
527,
1749,
10041,
6685,
774,
4457,
1435,
288,
202,
202,
682,
32,
1285,
835,
4457,
34,
6477,
273,
225,
8005,
7901,
2174,
682,
3773,
18,
588,
2174,
682,
1318,
7675,
588,
2... |
void set_slot(int id, Any data) throws InvalidSlot; | void set_slot(int id, Any data) throws InvalidSlot; | void set_slot(int id, Any data) throws InvalidSlot; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8820e7a18265b8e9be753676d9477fb94a1447c8/ServerRequestInfoOperations.java/clean/core/src/classpath/org/org/omg/PortableInterceptor/ServerRequestInfoOperations.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
444,
67,
14194,
12,
474,
612,
16,
5502,
501,
13,
1216,
1962,
8764,
31,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
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,
282,
918,
444,
67,
14194,
12,
474,
612,
16,
5502,
501,
13,
1216,
1962,
8764,
31,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Assert.notNull(key, "Key cannot be null"); | Assert.notNull(key, "Key cannot be null"); | public void setLabeledEnum(String key, LabeledEnum value) { Assert.notNull(key, "Key cannot be null"); LabeledEnum old = getLabeledEnum(key); internalSet(key, enumToString(value)); afterSet(key, old, value); } | 55916 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55916/4b6b4231f830cf3aa5046025ca47e7366f7ddeb1/AbstractSettings.java/buggy/sandbox/src/org/springframework/richclient/settings/AbstractSettings.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
16558,
329,
3572,
12,
780,
498,
16,
5287,
329,
3572,
460,
13,
288,
202,
202,
8213,
18,
902,
2041,
12,
856,
16,
315,
653,
2780,
506,
446,
8863,
202,
202,
2224,
329,
3572... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16558,
329,
3572,
12,
780,
498,
16,
5287,
329,
3572,
460,
13,
288,
202,
202,
8213,
18,
902,
2041,
12,
856,
16,
315,
653,
2780,
506,
446,
8863,
202,
202,
2224,
329,
3572... |
urlDocsToBeCopied.meta_id = nexFreeMetaId.intValue(); | urlDocsToBeCopied.meta_id = nextFreeMetaId.intValue(); | private int copyDocument( final Integer meta_id ) { final SQLTransaction transaction = sqlProcessor.startTransaction(); transaction.executeAndCommit( new TransactionContent() { public void execute() throws SQLException { Integer nexFreeMetaId = getMaxIntValuePlusOne( transact... | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/92985c71b38c159d3e33b0a6189f7037c00bd8c7/DatabaseService.java/buggy/server/src/imcode/server/db/DatabaseService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
1610,
2519,
12,
727,
2144,
2191,
67,
350,
262,
288,
3639,
727,
3063,
3342,
2492,
273,
1847,
5164,
18,
1937,
3342,
5621,
3639,
2492,
18,
8837,
1876,
5580,
12,
394,
5947,
1350,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
1610,
2519,
12,
727,
2144,
2191,
67,
350,
262,
288,
3639,
727,
3063,
3342,
2492,
273,
1847,
5164,
18,
1937,
3342,
5621,
3639,
2492,
18,
8837,
1876,
5580,
12,
394,
5947,
1350,
... |
super(context); | super(); | public TestJdbcMigrationLauncher(JdbcMigrationContext context) throws MigrationException { super(context); } | 49460 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49460/2f2c08b2c08972421318e736ccaf7505a8105c69/TestJdbcMigrationLauncher.java/clean/migrate/src/test/com/tacitknowledge/util/migration/jdbc/TestJdbcMigrationLauncher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
7766,
25316,
10224,
28820,
12,
25316,
10224,
1042,
819,
13,
1216,
15309,
503,
565,
288,
3639,
2240,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
7766,
25316,
10224,
28820,
12,
25316,
10224,
1042,
819,
13,
1216,
15309,
503,
565,
288,
3639,
2240,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
executionContext.popReportItem(); | private Object evaluateDefault(ScalarParameterDefn p, String expr) { Object value = null; int type = p.getDataType(); // evaluate the default value expression if (expr != null) { value = executionContext.evaluate(expr); if( value == null && expr != null && expr.length() > 0) value = expr; try { sw... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/317e0084872a4973a293289bd7b020e7649a70fe/EngineTask.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/EngineTask.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
16414,
1042,
18,
5120,
4820,
1180,
5621,
1033,
16414,
1042,
18,
5120,
4820,
1180,
5621,
5956,
1868,
12,
13639,
1662,
3262,
82,
16414,
1042,
18,
5120,
4820,
1180,
5621,
293,
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,
225,
202,
1152,
16414,
1042,
18,
5120,
4820,
1180,
5621,
1033,
16414,
1042,
18,
5120,
4820,
1180,
5621,
5956,
1868,
12,
13639,
1662,
3262,
82,
16414,
1042,
18,
5120,
4820,
1180,
5621,
293,
16,
... | |
if( ( tType == IBasicType.t_int && ( sType == IBasicType.t_char || | if( ( tType == IBasicType.t_int && ( sType == IBasicType.t_int || sType == IBasicType.t_char || | static private void promotion( Cost cost ) throws DOMException{ IType src = getUltimateType( cost.source, true ); IType trg = getUltimateType( cost.target, true ); if( src.isSameType( trg ) ) return; if( src instanceof IBasicType && trg instanceof IBasicType ){ int sType = ((IBasicType)src).getType(); i... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/52ae549c9f7c94405a98616e9b108eb17f961445/CPPSemantics.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPSemantics.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
3238,
918,
23024,
12,
28108,
6991,
262,
1216,
4703,
503,
95,
202,
202,
45,
559,
1705,
273,
23037,
5618,
4988,
559,
12,
6991,
18,
3168,
16,
638,
11272,
202,
202,
45,
559,
2722... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
3238,
918,
23024,
12,
28108,
6991,
262,
1216,
4703,
503,
95,
202,
202,
45,
559,
1705,
273,
23037,
5618,
4988,
559,
12,
6991,
18,
3168,
16,
638,
11272,
202,
202,
45,
559,
2722... |
public TabbedStackPresentation(IStackPresentationSite site, AbstractTabFolder folder, TabList tabs) { | public TabbedStackPresentation(IStackPresentationSite site, AbstractTabFolder folder, TabOrder tabs, TabDragHandler dragBehavior) { | public TabbedStackPresentation(IStackPresentationSite site, AbstractTabFolder folder, TabList tabs) { super(site); tabFolder = folder; this.tabs = tabs; } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/947362c08342c2be69172786527fe703a723e912/TabbedStackPresentation.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/newapi/TabbedStackPresentation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
9483,
2992,
2624,
6351,
367,
12,
45,
2624,
6351,
367,
4956,
2834,
16,
4115,
5661,
3899,
3009,
16,
9483,
682,
10920,
13,
288,
202,
202,
9565,
12,
4256,
1769,
202,
202,
7032,
38... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
9483,
2992,
2624,
6351,
367,
12,
45,
2624,
6351,
367,
4956,
2834,
16,
4115,
5661,
3899,
3009,
16,
9483,
682,
10920,
13,
288,
202,
202,
9565,
12,
4256,
1769,
202,
202,
7032,
38... |
try { int msgNum = Integer.parseInt(e.getActionCommand()); if (getFolderInfo() != null) { FolderDisplayUI fdui = getFolderInfo().getFolderDisplayUI(); fdui.selectMessage(msgNum - 1); } } catch (NumberFormatException nfe) { } gotoInputField.selectAll(); } | try { int msgNum = Integer.parseInt(e.getActionCommand()); if (getFolderInfo() != null) { FolderDisplayUI fdui = getFolderInfo().getFolderDisplayUI(); fdui.selectMessage(msgNum - 1); } } catch (NumberFormatException nfe) { } gotoInputField.selectAll(); } | public void actionPerformed(ActionEvent e) { try { int msgNum = Integer.parseInt(e.getActionCommand()); if (getFolderInfo() != null) { FolderDisplayUI fdui = getFolderInfo().getFolderDisplayUI(); fdui.selectMessage(msgNum - 1); } } catch (NumberFormatException nfe) { } gotoInp... | 967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/6d158745c4b6a4f5f0083ef23ca7edc9cdb05bb7/FolderStatusBar.java/clean/net/suberic/pooka/gui/FolderStatusBar.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
26100,
12,
1803,
1133,
425,
13,
288,
1082,
565,
775,
288,
1082,
202,
474,
1234,
2578,
273,
2144,
18,
2670,
1702,
12,
73,
18,
588,
1803,
2189,
10663,
1082,
202,
430,
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,
3196,
202,
482,
918,
26100,
12,
1803,
1133,
425,
13,
288,
1082,
565,
775,
288,
1082,
202,
474,
1234,
2578,
273,
2144,
18,
2670,
1702,
12,
73,
18,
588,
1803,
2189,
10663,
1082,
202,
430,
261,... |
} else if (friend_sum > .9 * foe_sum) { centity.strategy.target += .15; } else if (centity.strategy.target < 2) { centity.strategy.target += .3; | System.out.println(centity.getEntity().getShortName() + " " + centity.strategy.target); | protected void initMovement() { this.my_mechs_moved = 0; this.old_moves = null; this.enemies_moved = 0; double max_modifier = 1.4; java.util.Vector entities = game.getEntitiesVector(); double num_entities = Math.sqrt(entities.size()) / 100; Vector friends = new Vecto... | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/9a77a108fa04401312d80202b90f10e5e9898eee/TestBot.java/clean/megamek/src/megamek/client/bot/TestBot.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1208,
49,
26140,
1435,
288,
3639,
333,
18,
4811,
67,
3501,
343,
87,
67,
81,
9952,
273,
374,
31,
3639,
333,
18,
1673,
67,
81,
10829,
273,
446,
31,
3639,
333,
18,
275,
351,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1208,
49,
26140,
1435,
288,
3639,
333,
18,
4811,
67,
3501,
343,
87,
67,
81,
9952,
273,
374,
31,
3639,
333,
18,
1673,
67,
81,
10829,
273,
446,
31,
3639,
333,
18,
275,
351,
... |
else if ( unescaped ) | } else if ( unescaped ) { | protected void printText( char[] chars, int start, int length, boolean preserveSpace, boolean unescaped ) throws IOException { int index; char ch; if ( preserveSpace ) { // Preserving spaces: the text must print exactly as it is, ... | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/cfb3f3097d85124676452a829f95d78eb4d128e5/BaseMarkupSerializer.java/clean/src/org/apache/xml/serialize/BaseMarkupSerializer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1172,
1528,
12,
1149,
8526,
5230,
16,
509,
787,
16,
509,
769,
16,
4766,
565,
1250,
9420,
3819,
16,
1250,
27869,
262,
3639,
1216,
1860,
565,
288,
3639,
509,
770,
31,
3639,
114... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1172,
1528,
12,
1149,
8526,
5230,
16,
509,
787,
16,
509,
769,
16,
4766,
565,
1250,
9420,
3819,
16,
1250,
27869,
262,
3639,
1216,
1860,
565,
288,
3639,
509,
770,
31,
3639,
114... |
public void writeSkeletonInstaller (JarOutputStream out) throws Exception { InputStream is = getClass().getResourceAsStream("/lib/installer.jar"); ZipInputStream skeleton_is = null; if (is != null) { skeleton_is = new ZipInputStream (is); } if (skeleton_is == null) { skeleton_is = n... | 54145 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54145/6e8ab3930a21f787bcd0f3cf0b9937f9d50c80c0/Packager.java/clean/src/lib/com/izforge/izpack/compiler/Packager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1045,
28070,
18678,
261,
10813,
4632,
596,
13,
565,
1216,
1185,
225,
288,
565,
5037,
353,
273,
2900,
7675,
588,
1420,
17052,
2932,
19,
2941,
19,
20163,
18,
11930,
8863,
565,
86... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1045,
28070,
18678,
261,
10813,
4632,
596,
13,
565,
1216,
1185,
225,
288,
565,
5037,
353,
273,
2900,
7675,
588,
1420,
17052,
2932,
19,
2941,
19,
20163,
18,
11930,
8863,
565,
86... | ||
int temp = DataTools.bytesToInt(tag, pt, 4, true); | int temp = DataTools.bytesToInt(tag, pt, 2, true); | protected void initMetadata() throws FormatException, IOException { // parse the "header" byte array // right now we're using header data from an image item metadata.put("Legacy?", needLegacy ? "yes" : "no"); if (header == null) return; if (needLegacy) metadata = legacy.getMetadata(currentId); int p... | 49800 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49800/650b0f42fd429580da06c39d7846e8126cf26491/ZeissZVIReader.java/buggy/loci/formats/in/ZeissZVIReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
2277,
1435,
1216,
4077,
503,
16,
1860,
288,
565,
368,
1109,
326,
315,
3374,
6,
1160,
526,
565,
368,
2145,
2037,
732,
4565,
1450,
1446,
501,
628,
392,
1316,
761,
565,
19... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
2277,
1435,
1216,
4077,
503,
16,
1860,
288,
565,
368,
1109,
326,
315,
3374,
6,
1160,
526,
565,
368,
2145,
2037,
732,
4565,
1450,
1446,
501,
628,
392,
1316,
761,
565,
19... |
protected void initVkMap() { | protected void initVkMap(int []vkMap, char[] lcharMap, char[] ucharMap, char[] altGrCharMap) { | protected void initVkMap() { vkMap[0] = KeyEvent.VK_UNDEFINED; vkMap[1] = KeyEvent.VK_ESCAPE; vkMap[2] = KeyEvent.VK_AMPERSAND; vkMap[3] = KeyEvent.VK_E; // TODO : remap to vkMap[4] = KeyEvent.VK_QUOTEDBL; vkMap[5] = KeyEvent.VK_QUOTE; vkMap[6] = KeyEvent.VK_OPEN_BRACKET; vkMap[7] = KeyEvent.VK_MINUS; vkMap[... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/57843b9b284ea62b4a1db76be6395f975acfd0fc/KeyboardInterpreter_FR.java/buggy/core/src/driver/org/jnode/driver/input/l10n/KeyboardInterpreter_FR.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1208,
58,
79,
863,
1435,
288,
202,
202,
90,
79,
863,
63,
20,
65,
273,
23737,
18,
58,
47,
67,
2124,
15544,
31,
202,
202,
90,
79,
863,
63,
21,
65,
273,
23737,
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,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1208,
58,
79,
863,
1435,
288,
202,
202,
90,
79,
863,
63,
20,
65,
273,
23737,
18,
58,
47,
67,
2124,
15544,
31,
202,
202,
90,
79,
863,
63,
21,
65,
273,
23737,
18,
58... |
update(createInitialContext()); | fUpdatingCount++; try { update(createInitialContext()); } finally { fUpdatingCount--; } | public final void initialize() { update(createInitialContext()); } | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/e7464d9a0db0b4ad6e42cef9a8fb5979a58c93da/DefaultJavaFoldingStructureProvider.java/buggy/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/folding/DefaultJavaFoldingStructureProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
4046,
1435,
288,
202,
202,
2725,
12,
2640,
4435,
1042,
10663,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
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,
225,
202,
482,
727,
918,
4046,
1435,
288,
202,
202,
2725,
12,
2640,
4435,
1042,
10663,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
public Class getColumnClass(int columnIndex) { | public Class getColumnClass(int columnIndex) { | public Class getColumnClass(int columnIndex) { return types[columnIndex]; } | 4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/d4a93c3315c8aa9b9d64e1c03577610a1dbca61d/SchemaExplorer.java/clean/src/main/mondrian/gui/SchemaExplorer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
1659,
6716,
797,
12,
474,
14882,
13,
288,
9506,
202,
2463,
1953,
63,
2827,
1016,
15533,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
1659,
6716,
797,
12,
474,
14882,
13,
288,
9506,
202,
2463,
1953,
63,
2827,
1016,
15533,
1082,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
} else if (instance instanceof Writable) { ((Writable)instance).write(out); | private static void writeObject(DataOutput out, Object instance, Class theClass) throws IOException { if (instance == null) { // null instance = new NullInstance(theClass); theClass = NullInstance.class; } UTF8.writeString(out, theClass.getName... | 1316 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1316/1e027c52d3746fdda27eb01324ca3994c20e6293/RPC.java/clean/src/java/org/apache/nutch/ipc/RPC.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
918,
16306,
12,
751,
1447,
596,
16,
1033,
791,
16,
21394,
1659,
326,
797,
13,
1216,
1860,
288,
565,
309,
261,
1336,
422,
446,
13,
288,
15604,
368,
446,
1377,
791,
273,
394,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
918,
16306,
12,
751,
1447,
596,
16,
1033,
791,
16,
21394,
1659,
326,
797,
13,
1216,
1860,
288,
565,
309,
261,
1336,
422,
446,
13,
288,
15604,
368,
446,
1377,
791,
273,
394,
... | |
protected void internalReceiveReply(Reply reply) throws java.io.IOException { if (messageEventProducer != null) messageEventProducer.notifyListeners(reply, MessageEvent.REPLY_RECEIVED, bodyID); replyReceiver.receiveReply(reply, this, getFuturePool()); } | protected void internalReceiveReply(Reply reply) throws java.io.IOException { if (messageEventProducer != null) messageEventProducer.notifyListeners(reply, MessageEvent.REPLY_RECEIVED, bodyID); replyReceiver.receiveReply(reply, this, getFuturePool()); } | protected void internalReceiveReply(Reply reply) throws java.io.IOException { if (messageEventProducer != null) messageEventProducer.notifyListeners(reply, MessageEvent.REPLY_RECEIVED, bodyID); replyReceiver.receiveReply(reply, this, getFuturePool()); } | 23362 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/23362/625cd3611da648072e66b62b74a66e1548e31628/BodyImpl.java/buggy/src/org/objectweb/proactive/core/body/BodyImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
2713,
11323,
7817,
12,
7817,
4332,
13,
1216,
2252,
18,
1594,
18,
14106,
288,
565,
309,
261,
2150,
1133,
12140,
480,
446,
13,
1377,
883,
1133,
12140,
18,
12336,
5583,
12,
10629,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
2713,
11323,
7817,
12,
7817,
4332,
13,
1216,
2252,
18,
1594,
18,
14106,
288,
565,
309,
261,
2150,
1133,
12140,
480,
446,
13,
1377,
883,
1133,
12140,
18,
12336,
5583,
12,
10629,... |
xsqlvar.sqldata = new String(db.in.readOpaque(xsqlvar.sqllen)); | xsqlvar.sqldata = db.in.readOpaque(xsqlvar.sqllen); | private Object readSQLDatum(isc_db_handle_impl db, XSQLVAR xsqlvar) throws GDSException { try { switch (xsqlvar.sqltype & ~1) { case SQL_TEXT: xsqlvar.sqldata = new String(db.in.readOpaque(xsqlvar.sqllen)); ... | 6960 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6960/bc1fb4739702b6ce42c7d12ba750773d64acc238/GDS_Impl.java/buggy/src/org/firebirdsql/jgds/GDS_Impl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
855,
3997,
18268,
12,
291,
71,
67,
1966,
67,
4110,
67,
11299,
1319,
16,
4766,
1139,
3997,
7716,
619,
4669,
1401,
13,
1216,
611,
3948,
503,
288,
3639,
775,
288,
5411,
1620,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
855,
3997,
18268,
12,
291,
71,
67,
1966,
67,
4110,
67,
11299,
1319,
16,
4766,
1139,
3997,
7716,
619,
4669,
1401,
13,
1216,
611,
3948,
503,
288,
3639,
775,
288,
5411,
1620,
2... |
{ return visibles; } | { return visibleRowCount; } | public int getVisibleRowCount() { return visibles; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0788b89b7368770a1157f825d60dd8c5a9df183e/JList.java/buggy/core/src/classpath/javax/javax/swing/JList.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
31564,
26359,
1435,
565,
288,
327,
2281,
495,
1040,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
31564,
26359,
1435,
565,
288,
327,
2281,
495,
1040,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.