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 |
|---|---|---|---|---|---|---|
buffer.append(" | buffer.append(" | private void writeHeader(OutputStream writer, String fileName){ writeBOM(writer); Calendar c = Calendar.getInstance(); StringBuffer buffer =new StringBuffer(); buffer.append("// ***************************************************************************" + LINESEP); buffer.append(... | 27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/90d357a7612a0fee1860528005a32007392efc2a/LDML2ICUConverter.java/clean/tools/java/org/unicode/cldr/icu/LDML2ICUConverter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1045,
1864,
12,
4632,
2633,
16,
514,
3968,
15329,
3639,
1045,
38,
1872,
12,
6299,
1769,
3639,
5542,
276,
273,
5542,
18,
588,
1442,
5621,
3639,
6674,
1613,
273,
2704,
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,
377,
3238,
918,
1045,
1864,
12,
4632,
2633,
16,
514,
3968,
15329,
3639,
1045,
38,
1872,
12,
6299,
1769,
3639,
5542,
276,
273,
5542,
18,
588,
1442,
5621,
3639,
6674,
1613,
273,
2704,
6674,
5621... |
throw runtime.newLoadError("No such file to load -- " + file); | throw runtime.newLoadError("no such file to load -- " + file); | public void smartLoad(String file) { Library library = null; String loadName = file; // nothing yet, try suffixes for (int i = 0; i < suffixes.length; i++) { library = findLibrary(file + suffixes[i]); if (library != null) { loadName = file + s... | 49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/fe11f82bc6236dc6746a228a50d4bac6d467618e/LoadService.java/clean/src/org/jruby/runtime/load/LoadService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
13706,
2563,
12,
780,
585,
13,
288,
3639,
18694,
5313,
273,
446,
31,
3639,
514,
1262,
461,
273,
585,
31,
7734,
368,
5083,
4671,
16,
775,
18333,
3639,
364,
261,
474,
277,
273,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
13706,
2563,
12,
780,
585,
13,
288,
3639,
18694,
5313,
273,
446,
31,
3639,
514,
1262,
461,
273,
585,
31,
7734,
368,
5083,
4671,
16,
775,
18333,
3639,
364,
261,
474,
277,
273,... |
fsBackup = formatspecifier; | public FormatSpecifierDialog(Shell shellParent, FormatSpecifier formatspecifier, String sTitle) { super(); if (formatspecifier == null) { this.formatspecifier = AttributeFactory.eINSTANCE.createNumberFormatSpecifier(); fsBackup = (FormatSpecifier) EcoreUtil.copy(this.fo... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/7793e94b4d7fab5891f226c6c937e37d85bebad8/FormatSpecifierDialog.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/FormatSpecifierDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4077,
21416,
6353,
12,
13220,
5972,
3054,
16,
4077,
21416,
740,
2793,
1251,
16,
514,
272,
4247,
13,
565,
288,
3639,
2240,
5621,
3639,
309,
261,
2139,
2793,
1251,
422,
446,
13,
3639,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4077,
21416,
6353,
12,
13220,
5972,
3054,
16,
4077,
21416,
740,
2793,
1251,
16,
514,
272,
4247,
13,
565,
288,
3639,
2240,
5621,
3639,
309,
261,
2139,
2793,
1251,
422,
446,
13,
3639,... | |
ruby.getBlock().push(iVisited.getVarNode(), new EvaluateMethod(iVisited.getBodyNode()), self.toRubyObject()); | ruby.getBlockStack().push(iVisited.getVarNode(), new EvaluateMethod(iVisited.getBodyNode()), self.toRubyObject()); | public void visitForNode(ForNode iVisited) { ruby.getBlock().push(iVisited.getVarNode(), new EvaluateMethod(iVisited.getBodyNode()), self.toRubyObject()); ruby.getIterStack().push(Iter.ITER_PRE); try { while (true) { try { String file = ruby.getSourc... | 47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/8db42974495981011f558bcce15e2dfc28681a76/EvaluateVisitor.java/clean/org/jruby/evaluator/EvaluateVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
31058,
12,
31058,
277,
30019,
13,
288,
3639,
22155,
18,
588,
1768,
2624,
7675,
6206,
12,
77,
30019,
18,
588,
1537,
907,
9334,
394,
18176,
1305,
12,
77,
30019,
18,
588,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3757,
31058,
12,
31058,
277,
30019,
13,
288,
3639,
22155,
18,
588,
1768,
2624,
7675,
6206,
12,
77,
30019,
18,
588,
1537,
907,
9334,
394,
18176,
1305,
12,
77,
30019,
18,
588,
... |
} | } | private void loadInnerPageIfPossible(final String srcAttribute) { if( srcAttribute.length() != 0 ) { URL url = null; try { url = getPage().getFullyQualifiedUrl(srcAttribute); } catch( final MalformedURLException e ) { getLog().error("B... | 3508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3508/c602d6915fe48c87f864c84196b346afe16003bd/BaseFrame.java/buggy/htmlunit/src/java/com/gargoylesoftware/htmlunit/html/BaseFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1262,
2857,
1964,
2047,
13576,
12,
6385,
514,
1705,
1499,
13,
288,
3639,
309,
12,
1705,
1499,
18,
2469,
1435,
480,
374,
262,
288,
5411,
1976,
880,
273,
446,
31,
5411,
775,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1262,
2857,
1964,
2047,
13576,
12,
6385,
514,
1705,
1499,
13,
288,
3639,
309,
12,
1705,
1499,
18,
2469,
1435,
480,
374,
262,
288,
5411,
1976,
880,
273,
446,
31,
5411,
775,
28... |
public String getFileListFunction() { // if mode is "listonly", only the list will be shown boolean listonly = "listonly".equals(getSettings().getExplorerMode()); // if mode is "projectview", all changed files in that project will be shown boolean projectView = "projectview".equ... | 51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/008b108d0d073c21517bc13c99df468417369491/CmsExplorer.java/buggy/src/org/opencms/workplace/CmsExplorer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
6034,
682,
2083,
1435,
288,
7734,
368,
309,
1965,
353,
315,
1098,
3700,
3113,
1338,
326,
666,
903,
506,
12188,
3639,
1250,
666,
3700,
273,
315,
1098,
3700,
9654,
14963,
12,
588... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
6034,
682,
2083,
1435,
288,
7734,
368,
309,
1965,
353,
315,
1098,
3700,
3113,
1338,
326,
666,
903,
506,
12188,
3639,
1250,
666,
3700,
273,
315,
1098,
3700,
9654,
14963,
12,
588... | ||
this.scope = scope; | this.scope = helper.getScope( ); this.helper = helper; | public JSResultSetRow( ExprManager exprManager, IResultIterator odiResult, Scriptable scope ) { this.exprManager = exprManager; this.odiResult = odiResult; this.currRowIndex = -1; this.valueCacheMap = new HashMap( ); this.scope = scope; } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/bc30645dcde6329911aefabdae3765e33bd95d0e/JSResultSetRow.java/buggy/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/script/JSResultSetRow.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6756,
13198,
1999,
12,
8074,
1318,
3065,
1318,
16,
467,
1253,
3198,
320,
3211,
1253,
16,
1082,
202,
3651,
429,
2146,
262,
202,
95,
202,
202,
2211,
18,
8638,
1318,
273,
3065,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6756,
13198,
1999,
12,
8074,
1318,
3065,
1318,
16,
467,
1253,
3198,
320,
3211,
1253,
16,
1082,
202,
3651,
429,
2146,
262,
202,
95,
202,
202,
2211,
18,
8638,
1318,
273,
3065,
1... |
store_queries_[0] = new DMDServiceQuery(); store_queries_[0].setMIMEType("audio/x-mp3"); store_queries_[0].setIOMethod("File"); store_queries_[0].setIOMode(DMDHandler.ALL_IO); | store_offers_[0] = new DMDServiceOffer(CLASS_NAME, "audio/x-mp3", null, "File", DMDHandler.ALL_IO); | public DinomedaProvider() { store_queries_ = new DMDServiceQuery[STORES]; store_queries_[0] = new DMDServiceQuery(); store_queries_[0].setMIMEType("audio/x-mp3"); store_queries_[0].setIOMethod("File"); store_queries_[0].setIOMode(DMDHandler.ALL_IO); store_queries_[1] = new DMDServiceQue... | 10978 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10978/6adbdd9f27a670b125d33c9530877d38b3588c46/DinomedaProvider.java/clean/dinomeda/src/org/dinopolis/utils/metadata/dinomeda/DinomedaProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
463,
267,
362,
329,
69,
2249,
1435,
225,
288,
565,
1707,
67,
13748,
67,
273,
394,
463,
6188,
1179,
1138,
63,
31487,
7031,
15533,
3639,
1707,
67,
13748,
67,
63,
20,
65,
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,
1071,
463,
267,
362,
329,
69,
2249,
1435,
225,
288,
565,
1707,
67,
13748,
67,
273,
394,
463,
6188,
1179,
1138,
63,
31487,
7031,
15533,
3639,
1707,
67,
13748,
67,
63,
20,
65,
273,
394,
... |
" [pc: 0, pc: 13] local: args index: 0 type: java/lang/String[]\n" + | " [pc: 0, pc: 13] local: args index: 0 type: java.lang.String[]\n" + | public void test013() { String source = "public class A {\n" + " public static void main(String[] args) {\n" + " boolean b = false;\n" + " if (false\n" + " || !b) { \n" + " System.out.println();\n" + " }\n" + " }\n" + "}"; String expectedOutput = " /* Method descriptor #15 ([... | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/9ba8652d2cebf2117416af5e39a70e172556117b/ClassFileReaderTest.java/clean/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/ClassFileReaderTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
1611,
23,
1435,
288,
202,
202,
780,
1084,
273,
1082,
202,
6,
482,
667,
432,
18890,
82,
6,
397,
1082,
202,
6,
202,
482,
760,
918,
2774,
12,
780,
8526,
833,
13,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
1611,
23,
1435,
288,
202,
202,
780,
1084,
273,
1082,
202,
6,
482,
667,
432,
18890,
82,
6,
397,
1082,
202,
6,
202,
482,
760,
918,
2774,
12,
780,
8526,
833,
13,
1... |
stateImage[slot] = inactive[which[slot]]; | stateImage[slot] = inactive[which[slot]]; | private void setState(int slot, int newState, boolean updateAfter) { //if (inactive == null) return; state[slot] = newState; switch (newState) { case INACTIVE: stateImage[slot] = inactive[which[slot]]; break; case ACTIVE: stateImage[slot] = active[which[slot]]; break; case ROL... | 8833 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8833/800b63ae0b47a6e0154949678e9b0acedc631880/PdeEditorButtons.java/clean/app/PdeEditorButtons.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
12947,
12,
474,
4694,
16,
509,
15907,
16,
1250,
1089,
4436,
13,
288,
565,
368,
430,
261,
27366,
422,
446,
13,
327,
31,
565,
919,
63,
14194,
65,
273,
15907,
31,
565,
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,
282,
3238,
918,
12947,
12,
474,
4694,
16,
509,
15907,
16,
1250,
1089,
4436,
13,
288,
565,
368,
430,
261,
27366,
422,
446,
13,
327,
31,
565,
919,
63,
14194,
65,
273,
15907,
31,
565,
1620,
2... |
fBuiltInTypes.put(LONG, longDV); | types.put(LONG, longDV); | void createBuiltInTypes() { // all schema simple type names final String ANYSIMPLETYPE = "anySimpleType"; final String ANYURI = "anyURI"; final String BASE64BINARY = "base64Binary"; final String BOOLEAN = "boolean"; final String BYTE ... | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/8878baf15277284e47b284a45edff4668430692e/SchemaDVFactoryImpl.java/clean/src/org/apache/xerces/impl/dv/xs/SchemaDVFactoryImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
752,
16409,
382,
2016,
1435,
288,
3639,
368,
777,
1963,
4143,
618,
1257,
3639,
727,
514,
16743,
31669,
900,
2399,
377,
273,
315,
2273,
5784,
559,
14432,
3639,
727,
514,
16743,
3098,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
752,
16409,
382,
2016,
1435,
288,
3639,
368,
777,
1963,
4143,
618,
1257,
3639,
727,
514,
16743,
31669,
900,
2399,
377,
273,
315,
2273,
5784,
559,
14432,
3639,
727,
514,
16743,
3098,
... |
public er.bugtracker.Component component() { return (er.bugtracker.Component)storedValueForKey("component"); | public Component component() { return (Component)storedValueForKey("component"); | public er.bugtracker.Component component() { return (er.bugtracker.Component)storedValueForKey("component"); } | 17168 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17168/e2f6d086a1ca4f9bae07e93767b99fcb6f6fa2ac/_TestItem.java/clean/Common/Applications/BugTracker/Frameworks/BTBusinessLogic/Sources/er/bugtracker/_TestItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6445,
18,
925,
16543,
18,
1841,
1794,
1435,
288,
3639,
327,
261,
264,
18,
925,
16543,
18,
1841,
13,
22601,
620,
19759,
2932,
4652,
8863,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
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,
6445,
18,
925,
16543,
18,
1841,
1794,
1435,
288,
3639,
327,
261,
264,
18,
925,
16543,
18,
1841,
13,
22601,
620,
19759,
2932,
4652,
8863,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
... |
if (disableIO) { Session.this.disableIO(); } | public void receiveRPY(Message message) { try { if (disableIO) { Session.this.disableIO(); } Element topElement = processMessage(message); // is this RPY a <greeting> String elementName = topElement.g... | 11902 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11902/ec0bb015b8710a43b12a0230262e65a59578ad13/Session.java/clean/src/org/beepcore/beep/core/Session.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
6798,
54,
16235,
12,
1079,
883,
13,
3639,
288,
5411,
775,
288,
7734,
309,
261,
8394,
4294,
13,
288,
10792,
3877,
18,
2211,
18,
8394,
4294,
5621,
7734,
289,
7734,
3010,
1760,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
6798,
54,
16235,
12,
1079,
883,
13,
3639,
288,
5411,
775,
288,
7734,
309,
261,
8394,
4294,
13,
288,
10792,
3877,
18,
2211,
18,
8394,
4294,
5621,
7734,
289,
7734,
3010,
1760,
... | |
event.text = ""; | event.text = ""; | void doBackspace() { Event event = new Event();event.text = ""; if (selection.x != selection.y) { event.start = selection.x; event.end = selection.y; sendKeyEvent(event); } else if (caretOffset > 0) { int line = content.getLineAtOffset(caretOffset); int lineOffset = content.getOffsetAtLine(line); if (caretOff... | 12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/aade523ef1dc5fd1c84ac8f836346b4b6063d6ae/StyledText.java/buggy/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
918,
741,
2711,
2981,
1435,
288,
202,
1133,
871,
273,
394,
2587,
5621,
2575,
18,
955,
273,
1408,
31,
202,
430,
261,
10705,
18,
92,
480,
4421,
18,
93,
13,
288,
202,
202,
2575,
18,
1937,
273... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
918,
741,
2711,
2981,
1435,
288,
202,
1133,
871,
273,
394,
2587,
5621,
2575,
18,
955,
273,
1408,
31,
202,
430,
261,
10705,
18,
92,
480,
4421,
18,
93,
13,
288,
202,
202,
2575,
18,
1937,
273... |
if (type == Node.PRE_INC || type == Node.POST_INC) { | if ((incrDecrMask & Node.DECR_FLAG) == 0) { | public static Object elemIncrDecr(Object obj, Object index, Scriptable scope, int type) { Object value = getElem(obj, index, scope); if (value == Undefined.instance) return value; boolean post = (type == Node.POST_INC || type == Node.POST_DEC);... | 19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/7bdde7c0fc43a86feb9c8ba45689d5c166af147d/ScriptRuntime.java/buggy/src/org/mozilla/javascript/ScriptRuntime.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
3659,
382,
3353,
1799,
86,
12,
921,
1081,
16,
1033,
770,
16,
4766,
1377,
22780,
2146,
16,
509,
618,
13,
565,
288,
3639,
1033,
460,
273,
4774,
3269,
12,
2603,
16,
770,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
3659,
382,
3353,
1799,
86,
12,
921,
1081,
16,
1033,
770,
16,
4766,
1377,
22780,
2146,
16,
509,
618,
13,
565,
288,
3639,
1033,
460,
273,
4774,
3269,
12,
2603,
16,
770,
... |
fail("should throw UnsupportedEncodingException"); | fail("should throw SecurityException"); | public void test_ConstructorLjava_lang_StringLjava_lang_String() throws IOException { Formatter f = null; try { f = new Formatter((String) null, Charset.defaultCharset().name()); fail("should throw NullPointerException"); } catch (NullPointerException e1) { // expected } try { f = new Formatter("notexis... | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/237eac70f2970bc83ef1674f1b8a991f130e72ab/FormatterTest.java/clean/modules/luni/src/test/java/tests/api/java/util/FormatterTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
67,
6293,
21159,
67,
4936,
67,
780,
21159,
67,
4936,
67,
780,
1435,
1082,
202,
15069,
1860,
288,
202,
202,
5074,
284,
273,
446,
31,
202,
202,
698,
288,
1082,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
67,
6293,
21159,
67,
4936,
67,
780,
21159,
67,
4936,
67,
780,
1435,
1082,
202,
15069,
1860,
288,
202,
202,
5074,
284,
273,
446,
31,
202,
202,
698,
288,
1082,
202,
... |
myBuffer[myPos] = (byte) b; | myBuffer[myPos] = b; | private void unread(int b) throws IOException { myPos++; if (myPos >= myBuffer.length) throw new IOException("Push back buffer is full"); myBuffer[myPos] = (byte) b; } | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/0efdfaf75b9b2d2471dd76eb7cd89c140ab8231d/LineReader.java/clean/util/src/com/intellij/util/text/LineReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
19541,
12,
474,
324,
13,
1216,
1860,
288,
565,
3399,
1616,
9904,
31,
565,
309,
261,
4811,
1616,
1545,
3399,
1892,
18,
2469,
13,
1377,
604,
394,
1860,
2932,
7621,
1473,
1613,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
19541,
12,
474,
324,
13,
1216,
1860,
288,
565,
3399,
1616,
9904,
31,
565,
309,
261,
4811,
1616,
1545,
3399,
1892,
18,
2469,
13,
1377,
604,
394,
1860,
2932,
7621,
1473,
1613,
... |
if (TreeUtil.skipElementsBack(child, ElementType.WHITE_SPACE_OR_COMMENT_BIT_SET) == null) { return ChildRole.PRECEDING_COMMENT; } else { return ChildRole.NONE; } | return ChildRole.NONE; | public int getChildRole(ASTNode child) { LOG.assertTrue(child.getTreeParent() == this); IElementType i = child.getElementType(); if (i == JavaTokenType.DOC_COMMENT || i == JavaDocElementType.DOC_COMMENT) { return getChildRole(child, ChildRole.DOC_COMMENT); } else if (i == JavaTokenType.C_STYLE_COM... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/984ae8c4e331e8880490078c1eb957c430b9337a/FieldElement.java/clean/source/com/intellij/psi/impl/source/tree/java/FieldElement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
8154,
2996,
12,
9053,
907,
1151,
13,
288,
565,
2018,
18,
11231,
5510,
12,
3624,
18,
588,
2471,
3054,
1435,
422,
333,
1769,
565,
467,
17481,
277,
273,
1151,
18,
588,
17481,
56... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
8154,
2996,
12,
9053,
907,
1151,
13,
288,
565,
2018,
18,
11231,
5510,
12,
3624,
18,
588,
2471,
3054,
1435,
422,
333,
1769,
565,
467,
17481,
277,
273,
1151,
18,
588,
17481,
56... |
RubyString newString = newString(getValue()); return newString.swapcase_bang(); | RubyString newString = newString(getValue()); IRubyObject swappedString = newString.swapcase_bang(); if (swappedString.isNil() == true) { return newString; } return (RubyString) swappedString; | public RubyString swapcase() { RubyString newString = newString(getValue()); return newString.swapcase_bang(); } | 45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/4e8afef0dba3b66a390c9ba70b997174b975fc0e/RubyString.java/buggy/src/org/jruby/RubyString.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
780,
7720,
3593,
1435,
288,
202,
202,
54,
10340,
780,
394,
780,
273,
394,
780,
12,
24805,
10663,
202,
202,
2463,
394,
780,
18,
22270,
3593,
67,
70,
539,
5621,
202,
97,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
780,
7720,
3593,
1435,
288,
202,
202,
54,
10340,
780,
394,
780,
273,
394,
780,
12,
24805,
10663,
202,
202,
2463,
394,
780,
18,
22270,
3593,
67,
70,
539,
5621,
202,
97,
... |
{ selectionMode = mode; } | { selectionMode = mode; } | public void setSelectionMode(int mode) { selectionMode = mode; } | 45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/363fe84fd732aa8ca3562fb0734fe48ee20c2c65/DefaultTreeSelectionModel.java/buggy/libraries/javalib/javax/swing/tree/DefaultTreeSelectionModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
6233,
2309,
12,
474,
1965,
13,
225,
288,
565,
4421,
2309,
273,
1965,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
6233,
2309,
12,
474,
1965,
13,
225,
288,
565,
4421,
2309,
273,
1965,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Logger.error(this, "Unknown: "+state); | Logger.error(this, "Unknown: "+state, new Exception("debug")); | public void onSuccess(ClientPutState state) { Logger.minor(this, "onSuccess("+state+")"); synchronized(this) { if(finished) return; if(state == sfi) { Logger.minor(this, "Splitfile insert succeeded"); splitInsertSuccess = true; } else if(state == metadataPutter) { Logger.minor(this, "Metadata... | 50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/21208e342489c2a0c49f6715dd86892930851371/SingleFileInserter.java/buggy/src/freenet/client/async/SingleFileInserter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
20613,
12,
1227,
6426,
1119,
919,
13,
288,
1082,
202,
3328,
18,
17364,
12,
2211,
16,
315,
265,
4510,
2932,
15,
2019,
9078,
2225,
1769,
1082,
202,
22043,
12,
2211,
13,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
20613,
12,
1227,
6426,
1119,
919,
13,
288,
1082,
202,
3328,
18,
17364,
12,
2211,
16,
315,
265,
4510,
2932,
15,
2019,
9078,
2225,
1769,
1082,
202,
22043,
12,
2211,
13,
28... |
if ((-32768 <= inlinedValue) && (inlinedValue <= 32767)) { this.sipush(inlinedValue); return; } this.ldc(inlinedValue); | public void generateInlinedValue(int inlinedValue) { switch (inlinedValue) { case -1 : this.iconst_m1(); break; case 0 : this.iconst_0(); break; case 1 : this.iconst_1(); break; case 2 : this.iconst_2(); break; case 3 : this.iconst_3(); break; case 4 : this.iconst_4(); break; case 5 : t... | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/48c062bdb9d6c67e0ab7ada621b2e78159b00da7/CodeStream.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
2103,
382,
22316,
620,
12,
474,
316,
22316,
620,
13,
288,
202,
9610,
261,
267,
22316,
620,
13,
288,
202,
202,
3593,
300,
21,
294,
1082,
202,
2211,
18,
3950,
334,
67,
81,
21,
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,
1071,
918,
2103,
382,
22316,
620,
12,
474,
316,
22316,
620,
13,
288,
202,
9610,
261,
267,
22316,
620,
13,
288,
202,
202,
3593,
300,
21,
294,
1082,
202,
2211,
18,
3950,
334,
67,
81,
21,
562... | |
public BugReport getBug(int id) throws IOException, MalformedURLException, LoginException { BufferedReader in = null; try { // create a new input stream for getting the bug String url = bugzillaUrl + "/show_bug.cgi?id=" + id; // allow the use to only see the operations that they can do to a bug if they ... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/de4b42dba8b1b8b770b413f9f9d24bdc30fccd38/BugzillaRepository.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/BugzillaRepository.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
16907,
4820,
2882,
637,
12,
474,
612,
13,
1216,
1860,
16,
20710,
16,
11744,
503,
202,
95,
202,
202,
17947,
2514,
316,
273,
446,
31,
202,
202,
698,
288,
25083,
202,
759,
752,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16907,
4820,
2882,
637,
12,
474,
612,
13,
1216,
1860,
16,
20710,
16,
11744,
503,
202,
95,
202,
202,
17947,
2514,
316,
273,
446,
31,
202,
202,
698,
288,
25083,
202,
759,
752,
... | ||
else | } else { | double classifyFoldCV(Instances fold, int [] fs) throws Exception { int i; int ruleCount = 0; int numFold = fold.numInstances(); int numCl = m_theInstances.classAttribute().numValues(); double [][] class_distribs = new double [numFold][numCl]; double [] instA = new double [fs.length]; double [] ... | 4179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4179/5a67514c4d5c4fc3fa7a8c909b19b0a2e5c0c206/DecisionTable.java/buggy/trunk/weka/classifiers/DecisionTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1645,
19974,
15592,
22007,
12,
5361,
11590,
16,
509,
5378,
2662,
13,
1216,
1185,
225,
288,
565,
509,
277,
31,
565,
509,
1720,
1380,
273,
374,
31,
565,
509,
818,
15592,
273,
11590,
18,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1645,
19974,
15592,
22007,
12,
5361,
11590,
16,
509,
5378,
2662,
13,
1216,
1185,
225,
288,
565,
509,
277,
31,
565,
509,
1720,
1380,
273,
374,
31,
565,
509,
818,
15592,
273,
11590,
18,
2... |
break; | continue Loop; | static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, double[] argsDbl, int argShift, int argCount, NativeFunction fnOrScript, InterpreterData idata) throws JavaScrip... | 7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/34e9dc56b7553f450b9015c8f4135584139686cf/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
18701,
1033,
8526,
833,
16,
1645,
8526,
833,
40,
3083,
16,
18701,
509,
1501,
10544,
16,
509,
1501,
1380,
16,
18701... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
18701,
1033,
8526,
833,
16,
1645,
8526,
833,
40,
3083,
16,
18701,
509,
1501,
10544,
16,
509,
1501,
1380,
16,
18701... |
app.start(); | stub.startApplet(); | public void run() { app.start(); } | 45545 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45545/3ea62068168d1d5e148e98e6c40ca7f4f9a004b0/KJASAppletStub.java/clean/khtml/java/org/kde/kjas/server/KJASAppletStub.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
5411,
7168,
18,
1937,
23696,
5621,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
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,
540,
1071,
918,
1086,
1435,
288,
5411,
7168,
18,
1937,
23696,
5621,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
return ((flags & (ABORT | ALLBITS)) == 0); | } return (flags & (ALLBITS | ABORT | ERROR)) == 0; | public boolean imageUpdate(Image img, int flags, int x, int y, int w, int h) { int rate = -1; if ((flags & (FRAMEBITS | ALLBITS)) != 0) { rate = 0; } else if ((flags & SOMEBITS) != 0) { rate = 10; } if (rate > 0) { repaint(10, x, y, w, h); } return ((flags & (ABORT | ALLBITS)) == 0); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Component.java/clean/core/src/classpath/java/java/awt/Component.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1316,
1891,
12,
2040,
3774,
16,
509,
2943,
16,
509,
619,
16,
509,
677,
16,
509,
341,
16,
509,
366,
13,
288,
202,
202,
474,
4993,
273,
300,
21,
31,
202,
202,
430,
140... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1316,
1891,
12,
2040,
3774,
16,
509,
2943,
16,
509,
619,
16,
509,
677,
16,
509,
341,
16,
509,
366,
13,
288,
202,
202,
474,
4993,
273,
300,
21,
31,
202,
202,
430,
140... |
return "Preference\tname="+name+" value="+value; | return "Preference["+name+"\t"+value + "]\t"; | public String toString() { return "Preference\tname="+name+" value="+value; } | 51914 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51914/88e385691e6268c3a24bfd1b5f36507e51f49aaa/Preference.java/buggy/ecologylab/services/messages/Preference.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1762,
1435,
202,
95,
202,
202,
2463,
315,
9624,
64,
88,
529,
1546,
15,
529,
9078,
460,
1546,
15,
1132,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
482,
514,
1762,
1435,
202,
95,
202,
202,
2463,
315,
9624,
64,
88,
529,
1546,
15,
529,
9078,
460,
1546,
15,
1132,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
private ImageCanvas(Composite coParent) { super(coParent, SWT.NONE); addPaintListener(this); rSize = new Rectangle(0, 0, img.getImageData().width, img.getImageData().height); } | private ImageCanvas( Composite coParent ) { super( coParent, SWT.NONE ); addPaintListener( this ); rSize = new Rectangle( 0, 0, img.getImageData( ).width, img.getImageData( ).height ); } | private ImageCanvas(Composite coParent) { super(coParent, SWT.NONE); addPaintListener(this); rSize = new Rectangle(0, 0, img.getImageData().width, img.getImageData().height); } | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/7bbb5f8e436400ad036f258e77dafe9d7604aff3/MessageComposite.java/buggy/core/org.eclipse.birt.core.ui/src/org/eclipse/birt/core/ui/frameworks/taskwizard/composites/MessageComposite.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
3421,
12971,
12,
9400,
1825,
3054,
13,
3639,
288,
5411,
2240,
12,
2894,
3054,
16,
348,
8588,
18,
9826,
1769,
5411,
527,
12699,
2223,
12,
2211,
1769,
5411,
436,
1225,
273,
394,
13264... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
3421,
12971,
12,
9400,
1825,
3054,
13,
3639,
288,
5411,
2240,
12,
2894,
3054,
16,
348,
8588,
18,
9826,
1769,
5411,
527,
12699,
2223,
12,
2211,
1769,
5411,
436,
1225,
273,
394,
13264... |
protected void expandEntityRef (Node node, Node parent, Node reference){ | protected final void expandEntityRef (Node node, Node parent, Node reference){ | protected void expandEntityRef (Node node, Node parent, Node reference){ Node kid, next; for (kid = node.getFirstChild(); kid != null; kid = next) { next = kid.getNextSibling(); if (node.getNodeType() == Node.TEXT_NODE) { expandEntityRef(kid, parent, reference); ... | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/d0a84b89431225b6b219791f080fd746010eb728/DOMNormalizer.java/clean/src/org/apache/xerces/dom/DOMNormalizer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
727,
918,
4542,
1943,
1957,
261,
907,
756,
16,
2029,
982,
16,
2029,
2114,
15329,
3639,
2029,
17395,
16,
1024,
31,
3639,
364,
261,
79,
350,
273,
756,
18,
588,
3759,
1763,
5621,
173... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
918,
4542,
1943,
1957,
261,
907,
756,
16,
2029,
982,
16,
2029,
2114,
15329,
3639,
2029,
17395,
16,
1024,
31,
3639,
364,
261,
79,
350,
273,
756,
18,
588,
3759,
1763,
5621,
173... |
MappedByteBuffer region; | MappedByteBuffer region = null; | public byte[] getRegion(Integer arg0, Long arg1) { errorIfNotLoaded(); MappedByteBuffer region; try { region = buffer.getRegion(arg0, arg1); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented ... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/65a3b02bf58c957397c6c8ccacffb5f328940fc9/RawPixelsBean.java/clean/components/server/src/ome/services/RawPixelsBean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1160,
8526,
24289,
12,
4522,
1501,
20,
16,
3407,
1501,
21,
13,
565,
288,
3639,
555,
10288,
8835,
5621,
7734,
22806,
12242,
3020,
273,
446,
31,
3639,
775,
3639,
288,
5411,
3020,
273,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1160,
8526,
24289,
12,
4522,
1501,
20,
16,
3407,
1501,
21,
13,
565,
288,
3639,
555,
10288,
8835,
5621,
7734,
22806,
12242,
3020,
273,
446,
31,
3639,
775,
3639,
288,
5411,
3020,
273,... |
partService.addPartListener(selectionService); | public WWinPartService(IWorkbenchWindow window) { selectionService = new WindowSelectionService(window); partService.addPartListener(selectionService); } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/84b7a0b5d51aa090cec82d1595fe66b1b8986bef/WWinPartService.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WWinPartService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
678,
18049,
1988,
1179,
12,
45,
2421,
22144,
3829,
2742,
13,
288,
3639,
4421,
1179,
273,
394,
6076,
6233,
1179,
12,
5668,
1769,
6647,
289,
2,
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,
377,
1071,
678,
18049,
1988,
1179,
12,
45,
2421,
22144,
3829,
2742,
13,
288,
3639,
4421,
1179,
273,
394,
6076,
6233,
1179,
12,
5668,
1769,
6647,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-10... | |
public static Element getElement(Element elem, String path) { List elems = getElements(elem, path); if (elems.size() == 0) return null; else return (Element) elems.get(0); } | 54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/bcf54ee9560f4fd9a0ff083d3f0ea7c829a28aea/Util.java/buggy/contrib/tag-doc/src/java/org/apache/struts/taskdefs/Util.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3845,
1046,
21336,
12,
1046,
10037,
16,
780,
803,
15329,
202,
202,
682,
292,
7424,
33,
588,
3471,
12,
10037,
16,
803,
1769,
202,
202,
430,
12,
292,
7424,
18,
1467,
1435,
631,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3845,
1046,
21336,
12,
1046,
10037,
16,
780,
803,
15329,
202,
202,
682,
292,
7424,
33,
588,
3471,
12,
10037,
16,
803,
1769,
202,
202,
430,
12,
292,
7424,
18,
1467,
1435,
631,
... | ||
this.formatter.lastLocalDeclarationSourceStart = -1; | void redoAlignment(AlignmentException e){ if (e.relativeDepth > 0) { // if exception targets a distinct context e.relativeDepth--; // record fact that current context got traversed this.currentAlignment = this.currentAlignment.enclosing; // pop currentLocation throw e; // rethrow } // reset scribe/scanner to... | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/61d2e9bd09460e9985288e8ef72cfc838f3c761c/Scribe.java/clean/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/Scribe.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
24524,
11535,
12,
11535,
503,
425,
15329,
202,
202,
430,
261,
73,
18,
11626,
6148,
405,
374,
13,
288,
368,
309,
1520,
5774,
279,
10217,
819,
1082,
202,
73,
18,
11626,
6148,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
24524,
11535,
12,
11535,
503,
425,
15329,
202,
202,
430,
261,
73,
18,
11626,
6148,
405,
374,
13,
288,
368,
309,
1520,
5774,
279,
10217,
819,
1082,
202,
73,
18,
11626,
6148,
4... | |
fOwnReaders.addElement(reader); | fReaderStack.push(reader); | public String setupCurrentEntity(String name, XMLInputSource xmlInputSource, boolean literal, boolean isExternal) throws IOException, XNIException { // get information final String publicId = xmlInputSource.getPublicId(); String literalSystemId = xmlInputSource.getSyst... | 4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/c79409ecff1e8cc01e8489bd13dfd911b959b694/XMLEntityManager.java/clean/src/org/apache/xerces/impl/XMLEntityManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
3875,
3935,
1943,
12,
780,
508,
16,
3167,
1210,
1830,
2025,
1210,
1830,
16,
7734,
1250,
7158,
16,
1250,
353,
6841,
13,
5411,
1216,
1860,
16,
1139,
50,
45,
503,
288,
3639,
368... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
3875,
3935,
1943,
12,
780,
508,
16,
3167,
1210,
1830,
2025,
1210,
1830,
16,
7734,
1250,
7158,
16,
1250,
353,
6841,
13,
5411,
1216,
1860,
16,
1139,
50,
45,
503,
288,
3639,
368... |
public SearchTerm generateSearchTerm(String searchProperty, String operationProperty, String pattern) throws java.text.ParseException { SearchTerm term = null; try { String className = Pooka.getProperty(searchProperty + ".class", ""); Class stClass = Class.forName(className); // ****** Create a Str... | 967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/ff0a0cf7309fbaf4be64661e867d47999594b128/SearchTermManager.java/buggy/net/suberic/pooka/SearchTermManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
2979,
4065,
7163,
2979,
4065,
12,
780,
3072,
1396,
16,
780,
7624,
1396,
16,
780,
4951,
13,
15069,
6290,
18,
955,
18,
13047,
95,
202,
2979,
4065,
6408,
33,
2011,
31,
202,
698,
95,
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,
1071,
2979,
4065,
7163,
2979,
4065,
12,
780,
3072,
1396,
16,
780,
7624,
1396,
16,
780,
4951,
13,
15069,
6290,
18,
955,
18,
13047,
95,
202,
2979,
4065,
6408,
33,
2011,
31,
202,
698,
95,
202,
... | ||
public Unit getUnit() { | public Unit getUnit() { | public Unit getUnit() { return unit; } | 46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/234acdada6bb523025df2bf64c707be9ba3f57d5/ColumnLocation.java/clean/wicket/src/java/wicket/markup/html/tree/table/ColumnLocation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8380,
19194,
1435,
288,
202,
202,
2463,
2836,
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,
8380,
19194,
1435,
288,
202,
202,
2463,
2836,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
public void sawInt(int seen) {} | public void sawInt(int seen) { } | public void sawInt(int seen) {} | 10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/1d541964940eaa91b52b21469dc5b763fef1d8d1/DismantleBytecode.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/visitclass/DismantleBytecode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
19821,
1702,
12,
474,
5881,
13,
2618,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
19821,
1702,
12,
474,
5881,
13,
2618,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
PlatformUI.getWorkbench(); | PlatformUI.getWorkbench(); | public WorkbenchWindow(int number) { super(null); this.number = number; // Make sure there is a workbench. This call will throw // an exception if workbench not created yet. PlatformUI.getWorkbench(); // Add contribution managers that are exposed to other plugins. a... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/97610ef9afbe6c924e048d8d60c2f4721860850b/WorkbenchWindow.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4147,
22144,
3829,
12,
474,
1300,
13,
288,
3639,
2240,
12,
2011,
1769,
3639,
333,
18,
2696,
273,
1300,
31,
3639,
368,
4344,
3071,
1915,
353,
279,
1440,
22144,
18,
1220,
745,
903,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4147,
22144,
3829,
12,
474,
1300,
13,
288,
3639,
2240,
12,
2011,
1769,
3639,
333,
18,
2696,
273,
1300,
31,
3639,
368,
4344,
3071,
1915,
353,
279,
1440,
22144,
18,
1220,
745,
903,
... |
new Class[]{PsiWhiteSpace.class}); | new Class[]{ PsiWhiteSpace.class}); | private static void replaceSimplifiableImplicitReturn(PsiIfStatement statement, Project project) throws IncorrectOperationException{ final PsiExpression condition = statement.getCondition(); final String conditionText = condition.getT... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/3837c95856454e21e9059f3aa91174a1e2c65526/SimplifyIfElseIntention.java/buggy/plugins/IntentionPowerPak/src/com/siyeh/ipp/trivialif/SimplifyIfElseIntention.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
1453,
24490,
8424,
15787,
990,
12,
52,
7722,
2047,
3406,
3021,
16,
4766,
12900,
5420,
1984,
13,
5411,
1216,
657,
6746,
10602,
95,
3639,
727,
453,
7722,
2300,
2269,
273,
30... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
1453,
24490,
8424,
15787,
990,
12,
52,
7722,
2047,
3406,
3021,
16,
4766,
12900,
5420,
1984,
13,
5411,
1216,
657,
6746,
10602,
95,
3639,
727,
453,
7722,
2300,
2269,
273,
30... |
catalogLocationField.setText(getDisplayValue(getNextCatalog().getCatalogLocation())); | catalogLocationField.setText(URIHelper.URIToLocation(getDisplayValue(getNextCatalog().getCatalogLocation()))); | protected Control createNextCatalogPanel(Composite parent) { ModifyListener modifyListener = new ModifyListener() { public void modifyText(ModifyEvent e) { updateWidgets(e.widget); } }; Composite composite = new Composite(parent, SWT.NONE); GridData gd = new GridData(GridData.FILL_BOTH); composite... | 13989 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13989/723abdcd8ca1d5ccc7e492d432d805680871fa56/EditCatalogEntryDialog.java/buggy/bundles/org.eclipse.wst.xml.ui/src-catalog/org/eclipse/wst/xml/ui/internal/catalog/EditCatalogEntryDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1117,
8888,
752,
2134,
9769,
5537,
12,
9400,
982,
13,
288,
1082,
202,
11047,
2223,
5612,
2223,
273,
394,
9518,
2223,
1435,
288,
9506,
202,
482,
918,
5612,
1528,
12,
11047,
1133,
425... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1117,
8888,
752,
2134,
9769,
5537,
12,
9400,
982,
13,
288,
1082,
202,
11047,
2223,
5612,
2223,
273,
394,
9518,
2223,
1435,
288,
9506,
202,
482,
918,
5612,
1528,
12,
11047,
1133,
425... |
if(!Class.forName( "org.apache.taglibs.display.ColumnDecorator").isAssignableFrom(c)) throw new JspException("column decorator class is not a subclass of ColumnDecorator." ); | if( !Class.forName( "org.apache.taglibs.display.ColumnDecorator" ).isAssignableFrom( c ) ) throw new JspException( "column decorator class is not a subclass of ColumnDecorator." ); | private ColumnDecorator loadColumnDecorator(String columnDecorator) throws JspException { if (columnDecorator == null || columnDecorator.length() == 0) return null; try { Class c = Class.forName(columnDecorator); // paulsenj - removed 'jakarta' from class name if(!Class.for... | 10316 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10316/21f7757c1937c03a504c7e090499e3d1e3c7e6a0/TableTag.java/clean/_OLD/displaytag08/src/org/apache/taglibs/display/TableTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
4753,
10361,
1262,
1494,
10361,
12,
780,
1057,
10361,
13,
1216,
27485,
282,
288,
1377,
309,
261,
2827,
10361,
422,
446,
747,
1057,
10361,
18,
2469,
1435,
422,
374,
13,
3639,
327,
44... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
4753,
10361,
1262,
1494,
10361,
12,
780,
1057,
10361,
13,
1216,
27485,
282,
288,
1377,
309,
261,
2827,
10361,
422,
446,
747,
1057,
10361,
18,
2469,
1435,
422,
374,
13,
3639,
327,
44... |
if (prevState != STATE_INIT) { | if (state != STATE_INIT) { | public boolean standaloneSet() { if (prevState != STATE_INIT) { return realReader.standaloneSet(); } else { return false; } } | 49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/bf61d07d2be2da52e5ef61343e44f7e908585903/StreamWrapper.java/clean/modules/core/src/org/apache/axis2/util/StreamWrapper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
17676,
694,
1435,
288,
3639,
309,
261,
2019,
480,
7442,
67,
12919,
13,
288,
5411,
327,
2863,
2514,
18,
10145,
12451,
694,
5621,
3639,
289,
469,
288,
5411,
327,
629,
31,
3639,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
17676,
694,
1435,
288,
3639,
309,
261,
2019,
480,
7442,
67,
12919,
13,
288,
5411,
327,
2863,
2514,
18,
10145,
12451,
694,
5621,
3639,
289,
469,
288,
5411,
327,
629,
31,
3639,
... |
if (adapter != null) | if (adapter != null) { | public IStructuredSelection convertToResources( IStructuredSelection originalSelection) { List result = new ArrayList(); Iterator elements = originalSelection.iterator(); while (elements.hasNext()) { Object currentElement = elements.next(); if (currentElement instanceof IResource) { // already a resource r... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/IDESelectionConversionService.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDESelectionConversionService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
30733,
6233,
8137,
3805,
12,
1082,
202,
45,
30733,
6233,
2282,
6233,
13,
288,
202,
202,
682,
563,
273,
394,
2407,
5621,
202,
202,
3198,
2186,
273,
2282,
6233,
18,
9838,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
30733,
6233,
8137,
3805,
12,
1082,
202,
45,
30733,
6233,
2282,
6233,
13,
288,
202,
202,
682,
563,
273,
394,
2407,
5621,
202,
202,
3198,
2186,
273,
2282,
6233,
18,
9838,
5... |
dimensions = new int[3]; | dimensions = new int[5]; | protected void initFile(String id) throws FormatException, IOException { currentId = id; numImages = 0; dimensions = new int[3]; // get the matching files FilePattern fp = new FilePattern(new File(id)); files = fp.getFiles(); imageCounts = new int[files.length]; // determine the total number o... | 55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/2df09d33bfdc966378aae0cc09cb503afb983bc2/FileStitcher.java/buggy/loci/formats/FileStitcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
783,
548,
273,
612,
31,
565,
818,
8946,
273,
374,
31,
565,
5769,
273,
394,
509,
63,
25,
15533,
565,
368,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
783,
548,
273,
612,
31,
565,
818,
8946,
273,
374,
31,
565,
5769,
273,
394,
509,
63,
25,
15533,
565,
368,
... |
AST tmp1487_AST_in = (AST)_t; | AST tmp1488_AST_in = (AST)_t; | public final void procedurestate(AST _t) throws RecognitionException { AST procedurestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST p = null; AST id = null; AST __t1005 = _t; p = _t==ASTNULL ? null :(AST)_t; match(_t,PROCEDURE); _t = _t.getFirstChild(); id = (AST)_t; match(_t,ID); _t = _t.getNextSib... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
12131,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
12131,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
90... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
12131,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
12131,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
90... |
if (secondLine.startsWith("'")) { | if (secondToken.startsWith("'")) { | protected void populateDummyTargets(IFile makefile, boolean force) throws CoreException, IOException { if (makefile == null || !makefile.exists()) return; // Found that bad boy, so let's get its contents InputStream contentStream = makefile.getContents(false); Reader in = new InputStreamReader(contentStream); S... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/1f3eb70d4a037e51ad7611cfb0f142c2346af97b/GnuMakefileGenerator.java/clean/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/GnuMakefileGenerator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
6490,
20094,
9432,
12,
45,
812,
1221,
768,
16,
1250,
2944,
13,
1216,
30015,
16,
1860,
288,
202,
202,
430,
261,
6540,
768,
422,
446,
747,
401,
6540,
768,
18,
1808,
10756,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6490,
20094,
9432,
12,
45,
812,
1221,
768,
16,
1250,
2944,
13,
1216,
30015,
16,
1860,
288,
202,
202,
430,
261,
6540,
768,
422,
446,
747,
401,
6540,
768,
18,
1808,
10756,... |
if (typname.equals("bpchar") || typname.equals("varchar")) { int atttypmod = r.getInt(8); tuple[6] = Integer.toString(atttypmod != -1 ? atttypmod - VARHDRSZ : 0).getBytes(); } else { tuple[6] = r.getBytes(7); } | tuple[7] = null; | public java.sql.ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException { Vector v = new Vector(); // The new ResultSet tuple stuff Field f[] = new Field[18]; // The field descriptors for the new ResultSet f[ 0] = new Field(connection,... | 2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/a37a041491f33325f13ae5003bcb58d662916e37/DatabaseMetaData.java/clean/org/postgresql/jdbc2/DatabaseMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2252,
18,
4669,
18,
13198,
14226,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
4775,
3234,
16,
514,
7578,
3234,
13,
1216,
6483,
225,
288,
565,
5589,
331,
273,
394,
5589,
5621,
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,
282,
1071,
2252,
18,
4669,
18,
13198,
14226,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
4775,
3234,
16,
514,
7578,
3234,
13,
1216,
6483,
225,
288,
565,
5589,
331,
273,
394,
5589,
5621,
202... |
IVirtualReference[] hardReferences = super.getReferences(); | IVirtualReference[] hardReferences = getNonManifestReferences(); | public IVirtualReference[] getReferences() { IVirtualReference[] hardReferences = super.getReferences(); List dynamicReferences = J2EEModuleVirtualComponent.getManifestReferences(this, hardReferences); IVirtualReference[] references = null; if (dynamicReferences == null) { references = hardReferences; } else { ... | 8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/03d19ee685eb2fddd0187be5c0adcdc7e30d882f/J2EEModuleVirtualComponent.java/clean/plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/componentcore/J2EEModuleVirtualComponent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
6466,
2404,
8526,
5561,
2980,
1435,
288,
202,
202,
45,
6466,
2404,
8526,
7877,
8221,
273,
2240,
18,
588,
8221,
5621,
202,
202,
682,
5976,
8221,
273,
804,
22,
9383,
3120,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
467,
6466,
2404,
8526,
5561,
2980,
1435,
288,
202,
202,
45,
6466,
2404,
8526,
7877,
8221,
273,
2240,
18,
588,
8221,
5621,
202,
202,
682,
5976,
8221,
273,
804,
22,
9383,
3120,
... |
com.sun.opengl.impl.NativeLibLoader.disableLoading(); | public void run() { displayMessage("Loading native libraries"); // Load core JOGL native library loadLibrary(nativeLibDir, "jogl"); if (!nativeLibInfo.isMacOS()) { // borrowed from NativeLibLoader // Must pre-load JAWT on all non-Mac platforms to // ensu... | 48257 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48257/945e2ae3d234815b43f83049c9d597cb61585797/JOGLAppletLauncher.java/clean/src/classes/com/sun/opengl/util/JOGLAppletLauncher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
1850,
2562,
1079,
2932,
10515,
6448,
14732,
8863,
1850,
368,
4444,
2922,
804,
51,
11261,
6448,
5313,
1850,
1262,
9313,
12,
13635,
5664,
1621,
16,
315,
78,
717,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
1850,
2562,
1079,
2932,
10515,
6448,
14732,
8863,
1850,
368,
4444,
2922,
804,
51,
11261,
6448,
5313,
1850,
1262,
9313,
12,
13635,
5664,
1621,
16,
315,
78,
717,
... | |
public void getResponse(CommunityResponse response) { | public void getResponse(CommunityResponse resp) { Object response = resp.getContent(); | public void getResponse(CommunityResponse response) { if (!(response instanceof Set)) { String errorString = "Unexpected community response class:" + response.getClass().getName() + " - Should be a Set"; _log.error(errorString); throw new RuntimeException(errorString); } status.value = (Set) re... | 12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/6e7ccd20d84a078067104ccc7f6c3bd6d0c5ab42/LdapUserServiceImpl.java/buggy/securityservices/src/org/cougaar/core/security/acl/user/LdapUserServiceImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
6476,
12,
12136,
13352,
1064,
766,
13,
288,
202,
225,
309,
16051,
12,
2740,
1276,
1000,
3719,
288,
202,
565,
514,
555,
780,
273,
315,
7762,
19833,
766,
667,
2773,
202,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
6476,
12,
12136,
13352,
1064,
766,
13,
288,
202,
225,
309,
16051,
12,
2740,
1276,
1000,
3719,
288,
202,
565,
514,
555,
780,
273,
315,
7762,
19833,
766,
667,
2773,
202,
13... |
public org.quickfix.field.NoSecurityAltID getNoSecurityAltID() throws FieldNotFound { org.quickfix.field.NoSecurityAltID value = new org.quickfix.field.NoSecurityAltID(); | public quickfix.field.NoSecurityAltID getNoSecurityAltID() throws FieldNotFound { quickfix.field.NoSecurityAltID value = new quickfix.field.NoSecurityAltID(); | public org.quickfix.field.NoSecurityAltID getNoSecurityAltID() throws FieldNotFound { org.quickfix.field.NoSecurityAltID value = new org.quickfix.field.NoSecurityAltID(); getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/Email.java/clean/src/java/src/quickfix/fix43/Email.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
2279,
4368,
10655,
734,
336,
2279,
4368,
10655,
734,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
2279,
4368,
10655,
734... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2358,
18,
19525,
904,
18,
1518,
18,
2279,
4368,
10655,
734,
336,
2279,
4368,
10655,
734,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
2279,
4368,
10655,
734... |
AST tmp777_AST_in = (AST)_t; | AST tmp776_AST_in = (AST)_t; | public final void choosestate(AST _t) throws RecognitionException { AST choosestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST head = null; AST fi = null; AST __t215 = _t; head = _t==ASTNULL ? null :(AST)_t; match(_t,CHOOSE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType())... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/041a16c78289f1c3ae5e575d3edc5e893a658e50/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
24784,
395,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
24784,
395,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
24784,
395,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
24784,
395,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,... |
return new Character((char) ((ConstantInteger) c).getBytes()); | return (Character)(char) ((ConstantInteger) c).getBytes(); | private Object readAnnotationValue(DataInputStream bytes) throws IOException { try { char tag = (char) bytes.readUnsignedByte(); if (DEBUG) System.out.println("tag: " + tag); switch (tag) { case '[': { int sz = bytes.readUnsignedShort(); if (DEBUG) System.out.println("Array of " + sz + " entries"); ... | 7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/af419cfd6becf3774814b9e2450a3232d5752f99/AnnotationVisitor.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/visitclass/AnnotationVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1033,
855,
3257,
620,
12,
751,
4348,
1731,
13,
1082,
202,
15069,
1860,
288,
202,
202,
698,
288,
202,
202,
3001,
1047,
273,
261,
3001,
13,
1731,
18,
896,
13290,
3216,
5621,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1033,
855,
3257,
620,
12,
751,
4348,
1731,
13,
1082,
202,
15069,
1860,
288,
202,
202,
698,
288,
202,
202,
3001,
1047,
273,
261,
3001,
13,
1731,
18,
896,
13290,
3216,
5621,
20... |
writeUTF8(out, value != null ? value : ""); | out.writeUTF(value != null ? value : ""); | protected void serializeData(DataOutput out) throws IOException { out.writeInt(mId); out.writeBoolean(mReplace); int numAttrs = mAttrs != null ? mAttrs.size() : 0; out.writeShort((short) numAttrs); for (Iterator it = mAttrs.entrySet().iterator(); it.hasNext(); ) { Map.E... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/ddf77284d1a02cd7ececff001a8f5a16e2683f79/ModifyContact.java/clean/ZimbraServer/src/java/com/zimbra/cs/redolog/op/ModifyContact.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
4472,
751,
12,
751,
1447,
596,
13,
1216,
1860,
288,
3639,
596,
18,
2626,
1702,
12,
81,
548,
1769,
3639,
596,
18,
2626,
5507,
12,
81,
5729,
1769,
3639,
509,
818,
8262,
273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
4472,
751,
12,
751,
1447,
596,
13,
1216,
1860,
288,
3639,
596,
18,
2626,
1702,
12,
81,
548,
1769,
3639,
596,
18,
2626,
5507,
12,
81,
5729,
1769,
3639,
509,
818,
8262,
273,
... |
int startOffsetDiff = element1.getTextRange().getStartOffset() - element.getTextRange().getStartOffset(); | int startOffsetDiff = element.getTextRange().getStartOffset() - element1.getTextRange().getStartOffset(); | public int compare(PsiElement element, PsiElement element1) { int startOffsetDiff = element1.getTextRange().getStartOffset() - element.getTextRange().getStartOffset(); return startOffsetDiff != 0 ? startOffsetDiff : element1.getTextRange().getEndOffset() - element.getTextRange().getEnd... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/2a2ea0c9eb4e271b9c0425e31566c34a56000d4d/FoldingPolicy.java/buggy/codeInsight/impl/com/intellij/codeInsight/folding/impl/FoldingPolicy.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
509,
3400,
12,
52,
7722,
1046,
930,
16,
453,
7722,
1046,
930,
21,
13,
288,
3639,
509,
18245,
5938,
273,
930,
18,
588,
1528,
2655,
7675,
588,
1685,
2335,
1435,
300,
930,
21,
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,
4202,
1071,
509,
3400,
12,
52,
7722,
1046,
930,
16,
453,
7722,
1046,
930,
21,
13,
288,
3639,
509,
18245,
5938,
273,
930,
18,
588,
1528,
2655,
7675,
588,
1685,
2335,
1435,
300,
930,
21,
18,
... |
492, 492, 234, 524, 589, 538, 61, 364, 492, 234, 518, 642, 721, 429, 456, 457, 594, 234, 363, 741, | 89, 387, 234, 524, 589, 538, 364, 61, 597, 234, 518, 642, 721, 429, 456, 457, 594, 234, 492, 741, | private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 814, 190, 190, 591, 601, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 782, 552, 234, 234... | 47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/a404cb04ade8bbc527b55cf473199686102428e1/YyTables.java/clean/src/org/jruby/parser/YyTables.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1388,
21,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
1850,
576,
5026,
16,
225,
576,
5026,
16,
225,
890,
12416,
16,
225,
576,
5540,
16,
225,
576,
5026,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1388,
21,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
1850,
576,
5026,
16,
225,
576,
5026,
16,
225,
890,
12416,
16,
225,
576,
5540,
16,
225,
576,
5026,... |
needShowAll = this.primaryWizards.length > 0; if (needShowAll) { | if (this.primaryWizards.length > 0) { | public NewWizardNewPage( NewWizardSelectionPage mainPage, IWorkbench aWorkbench, WizardCollectionElement wizardCategories, WorkbenchWizardElement[] primaryWizards) { this.page = mainPage; this.wizardCategories = wizardCategories; this.primaryWizards = primaryWizards; trimPrimaryWizards(); needShowAll = th... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/4cf956cf14a1861582124e1ddfcf2b85ce3aa055/NewWizardNewPage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/NewWizardNewPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1166,
27130,
1908,
1964,
12,
202,
202,
1908,
27130,
6233,
1964,
2774,
1964,
16,
202,
202,
45,
2421,
22144,
279,
2421,
22144,
16,
202,
202,
27130,
2532,
1046,
24204,
10487,
16,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1166,
27130,
1908,
1964,
12,
202,
202,
1908,
27130,
6233,
1964,
2774,
1964,
16,
202,
202,
45,
2421,
22144,
279,
2421,
22144,
16,
202,
202,
27130,
2532,
1046,
24204,
10487,
16,
2... |
if(ref.get() == null) | if(ref.get() == null) { | public synchronized void unregisterContentService(INavigatorContentService aContentService) { for (Iterator iter = registeredContentServices.iterator(); iter.hasNext();) { WeakReference ref = (WeakReference) iter.next(); if(ref.get() == null) iter.remove(); else { if(ref.get() == aContentService) { ... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/NavigatorContentServiceTransfer.java/buggy/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/dnd/NavigatorContentServiceTransfer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
918,
10232,
1350,
1179,
12,
706,
13061,
1350,
1179,
279,
1350,
1179,
13,
288,
565,
202,
202,
1884,
261,
3198,
1400,
273,
4104,
1350,
5676,
18,
9838,
5621,
1400,
18,
5332,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
918,
10232,
1350,
1179,
12,
706,
13061,
1350,
1179,
279,
1350,
1179,
13,
288,
565,
202,
202,
1884,
261,
3198,
1400,
273,
4104,
1350,
5676,
18,
9838,
5621,
1400,
18,
5332,
... |
MylarTaskListPlugin.getTaskListManager().addListener(TASK_REFERESH_LISTENER); | MylarTaskListPlugin.getTaskListManager().addChangeListener(TASK_REFERESH_LISTENER); MylarTaskListPlugin.getTaskListManager().addActivityListener(TASK_ACTIVITY_LISTENER); | public TaskListView() { INSTANCE = this; MylarTaskListPlugin.getTaskListManager().addListener(TASK_REFERESH_LISTENER); } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/7a02ea5ac86b141070faf2ee4a0538a40f6dc6e1/TaskListView.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/views/TaskListView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3837,
682,
1767,
1435,
288,
202,
202,
13341,
273,
333,
31,
202,
202,
12062,
7901,
2174,
682,
3773,
18,
588,
2174,
682,
1318,
7675,
1289,
2223,
12,
15580,
67,
30269,
41,
2664,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3837,
682,
1767,
1435,
288,
202,
202,
13341,
273,
333,
31,
202,
202,
12062,
7901,
2174,
682,
3773,
18,
588,
2174,
682,
1318,
7675,
1289,
2223,
12,
15580,
67,
30269,
41,
2664,
... |
return types [ type ]; | return types[type]; | public String getTypeString(int type) { try { return types [ type ]; } catch (ArrayIndexOutOfBoundsException ex) { return "unknown type (" + type + ")"; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8820e7a18265b8e9be753676d9477fb94a1447c8/MessageHeader.java/clean/core/src/classpath/gnu/gnu/CORBA/GIOP/MessageHeader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
3130,
780,
12,
474,
618,
13,
225,
288,
565,
775,
1377,
288,
3639,
327,
1953,
63,
723,
15533,
1377,
289,
565,
1044,
261,
1076,
30548,
431,
13,
1377,
288,
3639,
327,
315,
8172,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
282,
1071,
514,
3130,
780,
12,
474,
618,
13,
225,
288,
565,
775,
1377,
288,
3639,
327,
1953,
63,
723,
15533,
1377,
289,
565,
1044,
261,
1076,
30548,
431,
13,
1377,
288,
3639,
327,
315,
8172,... |
updateProgress( progress.getMinimum() ); | setProgress( progress.getMinimum() ); | public void uploadPictures() { mGalleryComm.setURLString( (String) url.getSelectedItem() ); mGalleryComm.setUsername( username.getText() ); mGalleryComm.setPassword( password.getText() ); int index = album.getSelectedIndex(); Hashtable h = (Hashtable) mAlbumList.get( index ); mGalleryComm.setAlbum( (String) h.ge... | 5431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5431/defaeed9367b72ab37cdc42d18a8183c9fc5464b/MainFrame.java/buggy/gallery_remote/com/gallery/GalleryRemote/MainFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3617,
52,
28636,
1435,
288,
202,
202,
81,
18511,
12136,
18,
542,
1785,
780,
12,
261,
780,
13,
880,
18,
588,
7416,
1180,
1435,
11272,
202,
202,
81,
18511,
12136,
18,
542,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3617,
52,
28636,
1435,
288,
202,
202,
81,
18511,
12136,
18,
542,
1785,
780,
12,
261,
780,
13,
880,
18,
588,
7416,
1180,
1435,
11272,
202,
202,
81,
18511,
12136,
18,
542,
... |
return getValue().indexOf(stringValue(args[0]).getValue()) != -1 ? | return toString().indexOf(stringValue(args[0]).toString()) != -1 ? | public IRubyObject aref(IRubyObject[] args) { if (checkArgumentCount(args, 1, 2) == 2) { return substr(RubyNumeric.fix2int(args[0]), RubyNumeric.fix2int(args[1])); } if (args[0] instanceof RubyFixnum) { int idx = RubyNumeric.fix2int(args[0]); if (idx < 0) { ... | 47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/9f2efc63a858fa0507245b207025eab027840a04/RubyString.java/clean/src/org/jruby/RubyString.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
15908,
10340,
921,
854,
74,
12,
7937,
10340,
921,
8526,
833,
13,
288,
202,
565,
309,
261,
1893,
1379,
1380,
12,
1968,
16,
404,
16,
576,
13,
422,
576,
13,
288,
202,
3639,
327... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15908,
10340,
921,
854,
74,
12,
7937,
10340,
921,
8526,
833,
13,
288,
202,
565,
309,
261,
1893,
1379,
1380,
12,
1968,
16,
404,
16,
576,
13,
422,
576,
13,
288,
202,
3639,
327... |
int z = 0; int t = 0; for (int i=0; i<dims.length; i++) { z += (dims[i][2] == 1) ? 0 : dims[i][2]; t += (dims[i][3] == 1) ? 0 : dims[i][3]; } if (t == 0) t++; if (z == 0) z++; while ((z*t) < numImages) { z++; } OMETools.setPixels(ome, new Integer(dims[dims.length - 1][0]), new Integer(dims[dims.length - 1][1]), new ... | } | private void initMetadata(String xml) { Vector elements = new Vector(); // first parse each element in the XML string while (xml.length() > 2) { String el = xml.substring(1, xml.indexOf(">")); xml = xml.substring(xml.indexOf(">") + 1); elements.add(el); } // the first element contains ve... | 55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/91859a26506b8a1d312b398da2c3ecd94e02fa60/LIFReader.java/buggy/loci/formats/LIFReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1208,
2277,
12,
780,
2025,
13,
288,
565,
5589,
2186,
273,
394,
5589,
5621,
565,
368,
1122,
1109,
1517,
930,
316,
326,
3167,
533,
565,
1323,
261,
2902,
18,
2469,
1435,
405,
57... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1208,
2277,
12,
780,
2025,
13,
288,
565,
5589,
2186,
273,
394,
5589,
5621,
565,
368,
1122,
1109,
1517,
930,
316,
326,
3167,
533,
565,
1323,
261,
2902,
18,
2469,
1435,
405,
57... |
if (!args[0].isKindOf(getRuntime().getClasses().getNilClass()) && !args[0].isKindOf(getRuntime().getClasses().getStringClass())) { | if (!args[0].isKindOf(getRuntime().getClass("NilClass")) && !args[0].isKindOf(getRuntime().getClass("String"))) { | public RubyArray readlines(IRubyObject[] args) { IRubyObject[] separatorArgument; if (args.length > 0) { if (!args[0].isKindOf(getRuntime().getClasses().getNilClass()) && !args[0].isKindOf(getRuntime().getClasses().getStringClass())) { throw getRuntime().newTyp... | 50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/ca6b16e996ea9af83ce593594b9c69b9364a9924/RubyIO.java/buggy/src/org/jruby/RubyIO.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
1076,
17546,
12,
7937,
10340,
921,
8526,
833,
13,
288,
3639,
15908,
10340,
921,
8526,
4182,
1379,
31,
3639,
309,
261,
1968,
18,
2469,
405,
374,
13,
288,
5411,
309,
16051,
196... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1076,
17546,
12,
7937,
10340,
921,
8526,
833,
13,
288,
3639,
15908,
10340,
921,
8526,
4182,
1379,
31,
3639,
309,
261,
1968,
18,
2469,
405,
374,
13,
288,
5411,
309,
16051,
196... |
if ( user == null ) method = FORBIDDEN; } } | if (len > 0) { char[] buffer = new char[2048]; int count; int l = 0; | public void run( ) { String req; String first; String line; String contentType = "text/xml"; String name = null; String username = null; String password = null; int method = BAD_REQUEST; int len = 0; StringBuffer input = new StringBuffer( ); ... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/ad9d55f515de2cb1fa50cf09c9e42150efc8374f/HttpServerConnection.java/buggy/src/org/exist/http/HttpServerConnection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
12,
225,
262,
288,
3639,
514,
1111,
31,
3639,
514,
1122,
31,
3639,
514,
980,
31,
3639,
514,
5064,
273,
315,
955,
19,
2902,
14432,
3639,
514,
508,
273,
446,
31,
3639,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
12,
225,
262,
288,
3639,
514,
1111,
31,
3639,
514,
1122,
31,
3639,
514,
980,
31,
3639,
514,
5064,
273,
315,
955,
19,
2902,
14432,
3639,
514,
508,
273,
446,
31,
3639,
... |
setDataSet((DataSet)newValue); return; case TypePackage.STOCK_SERIES__FORMAT_SPECIFIER: setFormatSpecifier((FormatSpecifier)newValue); | setDataSet((DataSet) newValue); | public void eSet(EStructuralFeature eFeature, Object newValue) { switch (eDerivedStructuralFeatureID(eFeature)) { case TypePackage.STOCK_SERIES__VISIBLE: setVisible(((Boolean)newValue).booleanValue()); return; case TypePackage.STOCK_SERIES__LABEL:... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/StockSeriesImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/impl/StockSeriesImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
20199,
12,
41,
14372,
4595,
425,
4595,
16,
1033,
6129,
13,
565,
288,
3639,
1620,
261,
73,
21007,
14372,
4595,
734,
12,
73,
4595,
3719,
3639,
288,
5411,
648,
1412,
2261,
18,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
20199,
12,
41,
14372,
4595,
425,
4595,
16,
1033,
6129,
13,
565,
288,
3639,
1620,
261,
73,
21007,
14372,
4595,
734,
12,
73,
4595,
3719,
3639,
288,
5411,
648,
1412,
2261,
18,
3... |
if (entry.isDirectory()) { continue; } compiler.parse(new InputStreamReader(m_zis), entry.getName()); | String name = entry.getName(); if (entry.isDirectory() || !name.endsWith(".pdl")) { continue; } compiler.parse(new InputStreamReader(m_zis) { public void close() { } }, name); | public void parse(PDLCompiler compiler) { while (true) { try { final ZipEntry entry = m_zis.getNextEntry(); if (entry == null) { break; } if (entry.isDirectory()) { continue; } compiler.parse(new InputStreamReader(m_zis), entry.getName())... | 12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/1d13143fee9f73f02b2f2f4c7b1b04c92f3ac7d9/ZipSource.java/buggy/archive/packaging/src/com/arsdigita/persistence/pdl/ZipSource.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1109,
12,
52,
8914,
9213,
5274,
13,
288,
3639,
1323,
261,
3767,
13,
288,
5411,
775,
288,
7734,
727,
23652,
1241,
273,
312,
67,
94,
291,
18,
588,
2134,
1622,
5621,
7734,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1109,
12,
52,
8914,
9213,
5274,
13,
288,
3639,
1323,
261,
3767,
13,
288,
5411,
775,
288,
7734,
727,
23652,
1241,
273,
312,
67,
94,
291,
18,
588,
2134,
1622,
5621,
7734,
309,
... |
} this.autoCommit = autoCommit; | } this.autoCommit = autoCommit; | public void setAutoCommit(boolean autoCommit) throws SQLException { if (this.autoCommit == autoCommit) return; if (autoCommit) ExecSQL("end"); else { if (haveMinimumServerVersion("7.1")){ ExecSQL("begin;"+getIsolationLevelSQL()); }else{ ExecSQL("begin"); ExecSQL(getIsola... | 52522 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52522/839b9bc0117946afd62ee385a4c8a36c01b3053b/Connection.java/buggy/src/interfaces/jdbc/org/postgresql/Connection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
21780,
5580,
12,
6494,
3656,
5580,
13,
1216,
6483,
288,
202,
430,
261,
2211,
18,
6079,
5580,
422,
3656,
5580,
13,
202,
565,
327,
31,
202,
430,
261,
6079,
5580,
13,
202,
565,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
21780,
5580,
12,
6494,
3656,
5580,
13,
1216,
6483,
288,
202,
430,
261,
2211,
18,
6079,
5580,
422,
3656,
5580,
13,
202,
565,
327,
31,
202,
430,
261,
6079,
5580,
13,
202,
565,
... |
public void close(IMylarContextNode node) { | public void close(IMylarElement node) { | public void close(IMylarContextNode node) { IWorkbenchPage page = Workbench.getInstance().getActiveWorkbenchWindow().getActivePage(); if (page != null) { IEditorReference[] references = page.getEditorReferences(); for (int i = 0; i < references.length; i++) { IEdit... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/f5bfb4859762da1543c326b182b2de34d0d94c08/AntUiBridge.java/clean/org.eclipse.mylyn.resources.ui/src/org/eclipse/mylyn/xml/ant/AntUiBridge.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1746,
12,
3445,
93,
7901,
1046,
756,
13,
288,
3639,
467,
2421,
22144,
1964,
1363,
273,
4147,
22144,
18,
588,
1442,
7675,
588,
3896,
2421,
22144,
3829,
7675,
588,
3896,
1964,
56... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1746,
12,
3445,
93,
7901,
1046,
756,
13,
288,
3639,
467,
2421,
22144,
1964,
1363,
273,
4147,
22144,
18,
588,
1442,
7675,
588,
3896,
2421,
22144,
3829,
7675,
588,
3896,
1964,
56... |
TestRunner.run(JolapTest.class); } | TestRunner.run(JolapTest.class); } | public static void main(String[] args) { TestRunner.run(JolapTest.class); } | 37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/b5b5168edc3af09cb74945a80b0c36e6630ed502/JolapTest.java/buggy/testsrc/main/mondrian/test/JolapTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
202,
202,
4709,
9709,
18,
2681,
12,
46,
355,
438,
4709,
18,
1106,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
202,
202,
4709,
9709,
18,
2681,
12,
46,
355,
438,
4709,
18,
1106,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
return page.getWorkbenchWindow(); } | return page.getWorkbenchWindow(); } | public IWorkbenchWindow getWorkbenchWindow() { return page.getWorkbenchWindow();} | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/8d60afdb91e0f186e6c20fde9d4843c10516e942/PartSite.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartSite.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
467,
2421,
22144,
3829,
29026,
22144,
3829,
1435,
288,
202,
2463,
1363,
18,
588,
2421,
22144,
3829,
5621,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
467,
2421,
22144,
3829,
29026,
22144,
3829,
1435,
288,
202,
2463,
1363,
18,
588,
2421,
22144,
3829,
5621,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
public void testHtmlChildren() { setUpHTML(); fModel.getStructuredDocument().set("<html></html>"); // set text Element htmlElement = fModel.getDocument().getDocumentElement(); CMElementDeclaration htmlDecl = fModelQuery.getCMElementDeclaration(htmlElement); // HTML's children are within a group CMContent content... | 58500 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58500/e34dbc1fbd5f387bbec36b311fcbd6faeb741a6c/ModelQueryTester.java/buggy/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/modelquery/ModelQueryTester.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
225,
918,
225,
1842,
4353,
4212,
1435,
225,
288,
202,
202,
542,
1211,
4870,
5621,
202,
202,
74,
1488,
18,
588,
30733,
2519,
7675,
542,
2932,
32,
2620,
4695,
2620,
2984,
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,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
225,
918,
225,
1842,
4353,
4212,
1435,
225,
288,
202,
202,
542,
1211,
4870,
5621,
202,
202,
74,
1488,
18,
588,
30733,
2519,
7675,
542,
2932,
32,
2620,
4695,
2620,
2984,
1769,
... | ||
/*@bgen(jjtree) EnumDeclaration */ ASTEnumDeclaration jjtn000 = new ASTEnumDeclaration(this, JJTENUMDECLARATION); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); Token t; try { label_6: while (true) { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case FINAL: case PRIVATE: case PROTECTED: case PUBLIC: case STATIC... | /*@bgen(jjtree) EnumDeclaration */ ASTEnumDeclaration jjtn000 = new ASTEnumDeclaration(this, JJTENUMDECLARATION); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000);Token t; try { label_6: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case FINAL: case PRIVATE: case PROTECTED: case PUBLIC: case STATIC: ; bre... | final public void EnumDeclaration() throws ParseException { /*@bgen(jjtree) EnumDeclaration */ ASTEnumDeclaration jjtn000 = new ASTEnumDeclaration(this, JJTENUMDECLARATION); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); Token t; try { label_6: ... | 45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/94275a63a29bc394e85b2f505b6478b6f7c76d82/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
727,
1071,
918,
6057,
6094,
1435,
1216,
10616,
288,
3639,
1748,
36,
70,
4507,
12,
78,
78,
3413,
13,
6057,
6094,
1195,
3639,
9183,
3572,
6094,
10684,
5088,
3784,
273,
394,
9183,
3572,
6094... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
1071,
918,
6057,
6094,
1435,
1216,
10616,
288,
3639,
1748,
36,
70,
4507,
12,
78,
78,
3413,
13,
6057,
6094,
1195,
3639,
9183,
3572,
6094,
10684,
5088,
3784,
273,
394,
9183,
3572,
6094... |
final List<Registration> students = new ArrayList(); for (final Registration registration : RootDomainObject.getInstance().getRegistrationsSet()) { if (registration.getDegreeType().equals(degreeType)) { students.add(registration); } } return students; | final List<Registration> students = new ArrayList(); for (final Registration registration : RootDomainObject.getInstance().getRegistrationsSet()) { if (registration.getDegreeType().equals(degreeType)) { students.add(registration); } | public static List<Registration> readStudentsByDegreeType(DegreeType degreeType) { final List<Registration> students = new ArrayList(); for (final Registration registration : RootDomainObject.getInstance().getRegistrationsSet()) { if (registration.getDegreeType().equals(degreeType)) { ... | 2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/1eab5569eea9b71f208c0d25e856d5bdea5a3e8c/Registration.java/buggy/src/net/sourceforge/fenixedu/domain/student/Registration.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
987,
32,
7843,
34,
855,
19943,
4877,
858,
22885,
559,
12,
22885,
559,
10782,
559,
13,
288,
3639,
727,
987,
32,
7843,
34,
10068,
4877,
273,
394,
2407,
5621,
3639,
364,
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,
225,
202,
482,
760,
987,
32,
7843,
34,
855,
19943,
4877,
858,
22885,
559,
12,
22885,
559,
10782,
559,
13,
288,
3639,
727,
987,
32,
7843,
34,
10068,
4877,
273,
394,
2407,
5621,
3639,
364,
261... |
logger.finer("importedFile="+importedFile); | protected String getSchedulePath(String indivExportedName, String indivScheduleID, String indivFileName) { // calculate the import prefix String projectID = getValue("Project_ID"); if (projectID == null || projectID.length(... | 5494 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5494/c5eb24077877703cd40839b391a7020729945fe4/wizard.java/clean/teamdash/src/teamdash/templates/setup/wizard.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1194,
18,
926,
264,
2932,
29266,
812,
1546,
15,
29266,
812,
1769,
1194,
18,
926,
264,
2932,
29266,
812,
1546,
15,
29266,
812,
1769,
1194,
18,
926,
264,
2932,
29266,
812,
1546,
15,
29266,
812,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1194,
18,
926,
264,
2932,
29266,
812,
1546,
15,
29266,
812,
1769,
1194,
18,
926,
264,
2932,
29266,
812,
1546,
15,
29266,
812,
1769,
1194,
18,
926,
264,
2932,
29266,
812,
1546,
15,
29266,
812,
... | |
sg.setGroupType("Text"); | sg.setGroupType(DataType.TEXT_LITERAL); | public static final SeriesGrouping create() { final SeriesGrouping sg = DataFactory.eINSTANCE.createSeriesGrouping(); sg.setAggregateExpression("Sum"); sg.setGroupingInterval(2); sg.setEnabled(false); sg.setGroupType("Text"); return sg; } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/869b9dc91ef4dd13d07f589c6394484a744642f0/SeriesGroupingImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/data/impl/SeriesGroupingImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
727,
9225,
21014,
752,
1435,
565,
288,
3639,
727,
9225,
21014,
11150,
273,
1910,
1733,
18,
73,
13341,
18,
2640,
6485,
21014,
5621,
3639,
11150,
18,
542,
11490,
2300,
2932,
3495,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
9225,
21014,
752,
1435,
565,
288,
3639,
727,
9225,
21014,
11150,
273,
1910,
1733,
18,
73,
13341,
18,
2640,
6485,
21014,
5621,
3639,
11150,
18,
542,
11490,
2300,
2932,
3495,
... |
public boolean tryAquireWrite () { synchronized ( m_lock ) { if ( m_numReadLocksHeld == 0 ) { m_numReadLocksHeld = -1; | public boolean tryAquireWrite () { synchronized (lock) { if (numReadLocksHeld == 0) { numReadLocksHeld = -1; | public boolean tryAquireWrite () { synchronized ( m_lock ) { if ( m_numReadLocksHeld == 0 ) { m_numReadLocksHeld = -1; return true; } else { return false; } } } | 4082 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4082/62d71000b6d84642b07f67c825f685d42190715c/ReadWriteLock.java/clean/src/java/org/logicalcobwebs/proxool/util/ReadWriteLock.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
775,
37,
1039,
3067,
1832,
565,
288,
3639,
3852,
261,
312,
67,
739,
262,
3639,
288,
5411,
309,
261,
312,
67,
2107,
1994,
19159,
44,
488,
422,
374,
262,
5411,
288,
7734,
312,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
775,
37,
1039,
3067,
1832,
565,
288,
3639,
3852,
261,
312,
67,
739,
262,
3639,
288,
5411,
309,
261,
312,
67,
2107,
1994,
19159,
44,
488,
422,
374,
262,
5411,
288,
7734,
312,... |
public void removeInvitationListener(InvitationListener listener) { synchronized (invitationsListeners) { if (invitationsListeners.contains(listener)) { invitationsListeners.remove(listener); } // If there are no more listeners to notifi... | 47643 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47643/dd754e5a7f5cf0b0701477a405d7afae1c12feae/MultiUserChat.java/buggy/source/org/jivesoftware/smackx/muc/MultiUserChat.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1206,
19896,
2223,
12,
19896,
2223,
2991,
13,
288,
5411,
3852,
261,
5768,
18282,
5583,
13,
288,
7734,
309,
261,
5768,
18282,
5583,
18,
12298,
12,
12757,
3719,
288,
10792,
2198,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1206,
19896,
2223,
12,
19896,
2223,
2991,
13,
288,
5411,
3852,
261,
5768,
18282,
5583,
13,
288,
7734,
309,
261,
5768,
18282,
5583,
18,
12298,
12,
12757,
3719,
288,
10792,
2198,
... | ||
Preferences.VERTICAL_SPACING.cur = VERTICAL_SPACING_VALIDATOR.getValidValue((String) signature.elementAt(2)).intValue(); Preferences.VERTICAL_SPACING.restoreTemporaryToCurrent(); | setIntPref(signature, Preferences.VERTICAL_SPACING, VERTICAL_SPACING_VALIDATOR); | public synchronized void execute(Vector signature) { String variableName = (String) signature.elementAt(1); if (variableName.equals(Preferences.DESKTOP_BACKGROUND_COLOR.getCommand())) { Preferences.DESKTOP_BACKGROUND_COLOR.cur = parseColor((String) signature.elementAt(2)); Preferences.DESKTOP_BACKGROUND_COLOR.re... | 49473 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49473/e24a42ed0dfb51866c96fe6c7b5a33b3c93e59b1/SetPrefCommand.java/buggy/outliner/src/com/organic/maynard/outliner/SetPrefCommand.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
918,
1836,
12,
5018,
3372,
13,
288,
202,
202,
780,
17834,
273,
261,
780,
13,
3372,
18,
2956,
861,
12,
21,
1769,
202,
202,
430,
261,
6105,
461,
18,
14963,
12,
12377,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
918,
1836,
12,
5018,
3372,
13,
288,
202,
202,
780,
17834,
273,
261,
780,
13,
3372,
18,
2956,
861,
12,
21,
1769,
202,
202,
430,
261,
6105,
461,
18,
14963,
12,
12377,
18... |
private static int getNumberOfWaysToTerrain(Legion legion, MasterHex hex, char terrainType) | private static int getNumberOfWaysToTerrain(Legion legion, MasterHex hex, char terrainType) | private static int getNumberOfWaysToTerrain(Legion legion, MasterHex hex, char terrainType) { // if moves[i] is true, then a roll of i can get us to terrainType. boolean[] moves = new boolean[7]; //... | 51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/57f0ec43774c40c3a885097fd33cbd0e232f6650/SimpleAI.java/buggy/Colossus/SimpleAI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
509,
14981,
59,
8271,
774,
56,
264,
7596,
12,
8329,
285,
4553,
285,
16,
4766,
7734,
13453,
7037,
3827,
16,
4766,
7734,
1149,
19272,
7596,
559,
13,
565,
288,
3639,
368,
309,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14981,
59,
8271,
774,
56,
264,
7596,
12,
8329,
285,
4553,
285,
16,
4766,
7734,
13453,
7037,
3827,
16,
4766,
7734,
1149,
19272,
7596,
559,
13,
565,
288,
3639,
368,
309,
1... |
assertEquals(expectedNrOfSubMenuEntries, menuManager.getItems().length); | assertEquals(expectedNrOfSubMenuEntries+1, menuManager.getItems().length); | public void testGetSubMenuManagerContainsAllCategoriesPlusNewCategory() { // setup MoveToCategoryMenuContributor moveToMenuContrib = new MoveToCategoryMenuContributor(); List<ITaskListElement> selectedElements = new Vector<ITaskListElement>(); selectedElements.add(cat1task1); int nrOfCategoriesMinusArchiveContain... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/21eae7b0bb004eaf529abbd5dbbfc58c07567df3/TaskListUiTest.java/buggy/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListUiTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
967,
1676,
4599,
1318,
10846,
1595,
10487,
13207,
1908,
4457,
1435,
288,
202,
202,
759,
3875,
202,
202,
7607,
774,
4457,
4599,
442,
19293,
13863,
4599,
442,
665,
273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
967,
1676,
4599,
1318,
10846,
1595,
10487,
13207,
1908,
4457,
1435,
288,
202,
202,
759,
3875,
202,
202,
7607,
774,
4457,
4599,
442,
19293,
13863,
4599,
442,
665,
273,
... |
indentStrategy = (PyAutoIndentStrategy)editConfiguration.getAutoIndentStrategy(null, null); | indentStrategy = (PyAutoIndentStrategy)editConfiguration.getAutoIndentStrategy(null, IDocument.DEFAULT_CONTENT_TYPE); | public PyEdit() { super(); modelListeners = new ArrayList(); colorCache = new ColorCache(PydevPrefs.getPreferences()); if (getDocumentProvider() == null) { setDocumentProvider(new PyDocumentProvider()); } editConfiguration = new PyEditConfiguration(colorCache); setSourceViewerConfiguration(editConfiguration);... | 1319 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1319/46f4537ccb62b764a878e75128abd84e94f9720a/PyEdit.java/clean/org.python.pydev/src/org/python/pydev/editor/PyEdit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4707,
4666,
1435,
288,
202,
202,
9565,
5621,
202,
202,
2284,
5583,
273,
394,
2407,
5621,
202,
202,
3266,
1649,
273,
394,
5563,
1649,
12,
9413,
5206,
1386,
2556,
18,
588,
12377,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4707,
4666,
1435,
288,
202,
202,
9565,
5621,
202,
202,
2284,
5583,
273,
394,
2407,
5621,
202,
202,
3266,
1649,
273,
394,
5563,
1649,
12,
9413,
5206,
1386,
2556,
18,
588,
12377,
... |
root.detachChild(particleMesh); particleMesh = ParticleFactory.buildParticles("particles", particles); | ParticleMesh omesh = particleMesh; particleNode.detachChild(particleMesh); particleMesh = ParticleFactory.buildParticles(omesh.getName(), particles); | public void resetManager(int particles) { root.detachChild(particleMesh); particleMesh = ParticleFactory.buildParticles("particles", particles); ColorRGBA rgba = makeColorRGBA(startColorPanel.getBackground()); rgba.a = (Integer.parseInt(startAlphaSpinner.getValue().toString()) / 255f); ... | 19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/d656126e2e043076896ac9355fbafe66b14e79b1/RenParticleEditor.java/clean/src/jmetest/effects/RenParticleEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2715,
1318,
12,
474,
28312,
13,
288,
3639,
1365,
18,
8238,
497,
1763,
12,
2680,
3711,
16748,
1769,
3639,
20036,
16748,
273,
6393,
3711,
1733,
18,
3510,
1988,
8383,
2932,
2680,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2715,
1318,
12,
474,
28312,
13,
288,
3639,
1365,
18,
8238,
497,
1763,
12,
2680,
3711,
16748,
1769,
3639,
20036,
16748,
273,
6393,
3711,
1733,
18,
3510,
1988,
8383,
2932,
2680,
... |
if (arg.equals("-debug")) { cx.setOptimizationLevel(-1); cx.setGeneratingDebug(true); invokeDebugger(cx, scope); continue; } | public static String[] processOptions(Context cx, String args[]) { cx.setTargetPackage(""); // default to no package for (int i=0; i < args.length; i++) { String arg = args[i]; if (!arg.startsWith("-")) { String[] result = new String[args.length - i]; ... | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/a73c6e75ae2fab8328356d16318be7fab782905c/Main.java/clean/org/mozilla/javascript/tools/shell/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
8526,
1207,
1320,
12,
1042,
9494,
16,
514,
833,
63,
5717,
288,
3639,
9494,
18,
542,
2326,
2261,
2932,
8863,
565,
368,
805,
358,
1158,
2181,
3639,
364,
261,
474,
277,
33,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
8526,
1207,
1320,
12,
1042,
9494,
16,
514,
833,
63,
5717,
288,
3639,
9494,
18,
542,
2326,
2261,
2932,
8863,
565,
368,
805,
358,
1158,
2181,
3639,
364,
261,
474,
277,
33,... | |
private void initInstance2( ResultSetCache resultCache, OdiAdapter odiAdpater, BaseQuery query, int startIndex, int endIndex, IResultClass rsMeta, SortSpec sortSpec ) throws DataException { int length = endIndex - startIndex; if ( query.getMaxRows( ) == 0 || length <= query.getMaxRows( ) ) query.setMaxRows( ... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/1158de75370f7a640934ae35aa86b3dd77970d08/SmartCache.java/buggy/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/SmartCache.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1208,
1442,
22,
12,
10842,
1649,
563,
1649,
16,
1082,
202,
51,
3211,
4216,
320,
3211,
1871,
84,
2045,
16,
3360,
1138,
843,
16,
509,
10588,
16,
1082,
202,
474,
13818,
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,
918,
1208,
1442,
22,
12,
10842,
1649,
563,
1649,
16,
1082,
202,
51,
3211,
4216,
320,
3211,
1871,
84,
2045,
16,
3360,
1138,
843,
16,
509,
10588,
16,
1082,
202,
474,
13818,
16,... | ||
if ((flag & 1) != 0) { | if ((n & 1) != 0) { | vValue Sort(vDescriptor n) { long flag = n.mkInteger().value; vTableElem a[] = new vTableElem[t.size()]; // make array of key/val pairs int i = 0; for (Enumeration e = t.keys(); e.hasMoreElements(); ) { vValue key = (vValue)e.nextElement(); vValue val = (vValue)t.get(key); if ((flag & 1) != 0) { ... | 4078 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4078/0c600b0c2c0d6aa01a7dd2458754682b9ec64405/vTable.java/buggy/jcon/vTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
331,
620,
5928,
12,
90,
3187,
290,
13,
288,
565,
1525,
2982,
273,
290,
18,
24816,
4522,
7675,
1132,
31,
565,
331,
1388,
7498,
279,
8526,
273,
394,
331,
1388,
7498,
63,
88,
18,
1467,
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,
331,
620,
5928,
12,
90,
3187,
290,
13,
288,
565,
1525,
2982,
273,
290,
18,
24816,
4522,
7675,
1132,
31,
565,
331,
1388,
7498,
279,
8526,
273,
394,
331,
1388,
7498,
63,
88,
18,
1467,
1435,
... |
protected void runTest(Object testDoc, Object context, Element test) throws Exception { String xpathStr = test.attributeValue( "select" ); String debugStr = test.attributeValue( "debug" ); boolean debug = this.verbose; if ( debugStr... | 47110 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47110/12589bc25ae0923f2442e663095f1f4badeb40ab/XPathTestBase.java/clean/jaxen/src/java/test/org/jaxen/XPathTestBase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1086,
4709,
12,
921,
1842,
1759,
16,
21821,
1033,
819,
16,
21821,
3010,
1842,
13,
1216,
1185,
565,
288,
3639,
514,
6748,
1585,
273,
1842,
18,
4589,
620,
12,
315,
4025,
6,
112... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1086,
4709,
12,
921,
1842,
1759,
16,
21821,
1033,
819,
16,
21821,
3010,
1842,
13,
1216,
1185,
565,
288,
3639,
514,
6748,
1585,
273,
1842,
18,
4589,
620,
12,
315,
4025,
6,
112... | ||
return clone; } | return clone; } | public RubyModule getSingletonClassClone() { if (!isSingleton()) { return this; } RubyModule clone = new RubyClass(getRuby(), getSuperClass()); clone.setupClone(this); clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); //clone.setMethods(); // st_foreach(RCLASS(klass)->m_tbl, clone_method, clo... | 45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/clean/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
3120,
31662,
797,
10930,
1435,
288,
202,
202,
430,
16051,
291,
19571,
10756,
288,
1082,
202,
2463,
333,
31,
202,
202,
97,
202,
202,
54,
10340,
3120,
3236,
273,
394,
19817... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19817,
3120,
31662,
797,
10930,
1435,
288,
202,
202,
430,
16051,
291,
19571,
10756,
288,
1082,
202,
2463,
333,
31,
202,
202,
97,
202,
202,
54,
10340,
3120,
3236,
273,
394,
19817... |
File sourcePath = getFileFromURL(sourcePathAttributeValue, getLocationData()); | File sourcePath = getFileFromURL(sourcePathAttributeValue, JavaProcessor.this.getLocationData()); | private Processor getProcessor(PipelineContext context) { try { // Read config input into a String, cache if possible ProcessorInput input = getInputByName(INPUT_CONFIG); final Config config = (Config) readCacheInputAsObject(context, input, new CacheableInputReader() { ... | 10097 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10097/8e87beb256760333bcd891029c855aff4a8543c8/JavaProcessor.java/buggy/src/java/org/orbeon/oxf/processor/JavaProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
15476,
336,
5164,
12,
8798,
1042,
819,
13,
288,
3639,
775,
288,
5411,
368,
2720,
642,
810,
1368,
279,
514,
16,
1247,
309,
3323,
5411,
15476,
1210,
810,
273,
12353,
5911,
12,
15934,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15476,
336,
5164,
12,
8798,
1042,
819,
13,
288,
3639,
775,
288,
5411,
368,
2720,
642,
810,
1368,
279,
514,
16,
1247,
309,
3323,
5411,
15476,
1210,
810,
273,
12353,
5911,
12,
15934,
... |
public boolean isLeaf(Object node) { if(node == null) return true; VariableNode varNode = (VariableNode)node; Object[] children = varNode.getChildren(); if(children != null && children.length > 0) { return false; } //Object value = getObject(node); //if(value != null && value instanceof Scriptable) { //if(valu... | 11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/b7d911651e6644efbb36e68136731f199ae3f1e6/VariableModel.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/VariableModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
31356,
12,
921,
756,
13,
288,
225,
202,
430,
12,
2159,
422,
446,
13,
327,
638,
31,
202,
3092,
907,
569,
907,
273,
261,
3092,
907,
13,
2159,
31,
202,
921,
8526,
2325,
273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
31356,
12,
921,
756,
13,
288,
225,
202,
430,
12,
2159,
422,
446,
13,
327,
638,
31,
202,
3092,
907,
569,
907,
273,
261,
3092,
907,
13,
2159,
31,
202,
921,
8526,
2325,
273,
... | ||
if (!reader.isRGB(filename)) { cache.add(trim(reader.openBytes(filename, i))); } else cache.add(reader.openImage(filename, i)); | cache.add(reader.openImage(filename, i)); | private void updateCache(int pos) { int lowerBound = pos - cacheSize / 2; int upperBound = lowerBound + cacheSize; if (lowerBound < 0) { upperBound = cacheSize; lowerBound = 0; } if (upperBound >= stackSize) { lowerBound -= (upperBound - stackSize); upperBound = stackSize; if (... | 55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/9590374989eb2e62036100e8c5fee2cfd0682799/CacheManager.java/buggy/loci/plugins/browser/CacheManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1089,
1649,
12,
474,
949,
13,
288,
565,
509,
22656,
273,
949,
300,
1247,
1225,
342,
576,
31,
565,
509,
21663,
273,
22656,
397,
1247,
1225,
31,
565,
309,
261,
8167,
3499,
411,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1089,
1649,
12,
474,
949,
13,
288,
565,
509,
22656,
273,
949,
300,
1247,
1225,
342,
576,
31,
565,
509,
21663,
273,
22656,
397,
1247,
1225,
31,
565,
309,
261,
8167,
3499,
411,... |
if (loc.getPort() != null) location.setAttribute(PORT, loc.getPort()); if (loc.getDatabaseType() != null) location.setAttribute(DATABASETYPE, loc.getDatabaseType()); if (loc.getPassword() != null) location.setAttribute(PASSWORD, loc.getPassword()); return location; } | if (loc.getPort() != null) location.setAttribute(PORT, loc.getPort()); if (loc.getDatabaseType() != null) location.setAttribute(DATABASETYPE, loc.getDatabaseType()); if (loc.getPassword() != null) location.setAttribute(PASSWORD, loc.getPassword()); if (loc.getJDBCDriverClassName() != null) location.setAttribute(JDBC... | private static Element getDatabaseLocationElement(DatabaseLocation loc) throws ConfigurationException { Element location = new Element(DATABASELOCATION); location.setAttribute(HOST, loc.getHost()); location.setAttribute(USER, loc.getUser()); location.setAttribute(INSTANCENAME, loc.getInstanceName()); if (l... | 2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/cb0698222fa8268a3097744321bcacf703a60234/MartRegistryXMLUtils.java/clean/src/java/org/ensembl/mart/lib/config/MartRegistryXMLUtils.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
3010,
11263,
2735,
1046,
12,
4254,
2735,
1515,
13,
1216,
22196,
288,
282,
202,
1046,
2117,
273,
394,
3010,
12,
22366,
15277,
1769,
282,
202,
3562,
18,
542,
1499,
12,
8908,
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,
282,
3238,
760,
3010,
11263,
2735,
1046,
12,
4254,
2735,
1515,
13,
1216,
22196,
288,
282,
202,
1046,
2117,
273,
394,
3010,
12,
22366,
15277,
1769,
282,
202,
3562,
18,
542,
1499,
12,
8908,
16,
... |
} else if (count == 1 && this.formatter.preferences.preserve_user_linebreaks) { | } else if (count == 1) { | public void printComment() { try { // if we have a space between two tokens we ensure it will be dumped in the formatted string int currentTokenStartPosition = this.scanner.currentPosition; boolean hasComment = false; boolean hasLineComment = false; boolean hasWhitespace = false; int count = 0; while ((... | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/d9dd3f3b4344311765aa43bd0ec69a035e3c1a0f/Scribe.java/clean/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/Scribe.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1172,
4469,
1435,
288,
202,
202,
698,
288,
1082,
202,
759,
309,
732,
1240,
279,
3476,
3086,
2795,
2430,
732,
3387,
518,
903,
506,
29942,
316,
326,
4955,
533,
1082,
202,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1172,
4469,
1435,
288,
202,
202,
698,
288,
1082,
202,
759,
309,
732,
1240,
279,
3476,
3086,
2795,
2430,
732,
3387,
518,
903,
506,
29942,
316,
326,
4955,
533,
1082,
202,
4... |
void accept(ICompilationUnit unit, AccessRestriction accessRestriction); | void accept(IBinaryType binaryType, PackageBinding packageBinding, AccessRestriction accessRestriction); | void accept(ICompilationUnit unit, AccessRestriction accessRestriction); | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/2fcc7d0f6d73a0e1ec44b95addeba29a0b163a14/ITypeRequestor.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/ITypeRequestor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
2791,
12,
45,
19184,
2802,
2836,
16,
5016,
11670,
2006,
11670,
1769,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
2791,
12,
45,
19184,
2802,
2836,
16,
5016,
11670,
2006,
11670,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
try { setOnkeypress((String) evalAttr("onkeypress", getOnkeypressExpr(), String.class)); } catch (NullAttributeException ex) { } | if ((string = EvalHelper.evalString("onkeydown", getOnkeydownExpr(), this, pageContext)) != null) setOnkeydown(string); | private void evaluateExpressions() throws JspException { try { setAccesskey((String) evalAttr("accessKey", getAccesskeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setAlt((String) evalAttr("alt", get... | 54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/022bd23c954cf673e53731849d562b3c295473f1/ELRadioTag.java/clean/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELRadioTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
1862,
856,
12443,
780,
13,
5302,
3843,
2932,
3860,
653,
3113,
21909,
856,
4742,
9334,
4766,
6647,
514,
18,
1106,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
1862,
856,
12443,
780,
13,
5302,
3843,
2932,
3860,
653,
3113,
21909,
856,
4742,
9334,
4766,
6647,
514,
18,
1106,
... |
if (!isConnected ()) return null; | public InetAddress getInetAddress() { if (!isConnected ()) return null; return remoteAddress; } | 25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/bcf934a726f09b909edaefea311bbb71e1745e81/DatagramSocket.java/buggy/libjava/java/net/DatagramSocket.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
14218,
7854,
278,
1887,
1435,
225,
288,
565,
309,
16051,
291,
8932,
1832,
13,
1377,
327,
446,
31,
565,
327,
27909,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
14218,
7854,
278,
1887,
1435,
225,
288,
565,
309,
16051,
291,
8932,
1832,
13,
1377,
327,
446,
31,
565,
327,
27909,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... | |
public Packet(int command, Object object) { this.command = command; this.data = new Object[1]; this.data[0] = object; | public Packet(int command) { this(command, null); | public Packet(int command, Object object) { this.command = command; this.data = new Object[1]; this.data[0] = object; } | 3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/0cf8d1ffa067299eefad55cf3d8dd41348733d58/Packet.java/buggy/megamek/src/megamek/common/Packet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
11114,
12,
474,
1296,
16,
1033,
733,
13,
288,
3639,
333,
18,
3076,
273,
1296,
31,
3639,
333,
18,
892,
273,
394,
1033,
63,
21,
15533,
3639,
333,
18,
892,
63,
20,
65,
273,
733,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
11114,
12,
474,
1296,
16,
1033,
733,
13,
288,
3639,
333,
18,
3076,
273,
1296,
31,
3639,
333,
18,
892,
273,
394,
1033,
63,
21,
15533,
3639,
333,
18,
892,
63,
20,
65,
273,
733,
... |
actionSets = newActionSets; | private boolean updateActionSets(ArrayList newActionSets) { if (actionSets.equals(newActionSets)) return false; Perspective persp = getActivePerspective(); if (persp == null) { actionSets = newActionSets; return false; } ... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/56f8e6c4b867931001b9607e02b459fe3346470b/WorkbenchPage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
1250,
1089,
1803,
2785,
12,
19558,
394,
1803,
2785,
13,
288,
5411,
309,
261,
1128,
2785,
18,
14963,
12,
2704,
1803,
2785,
3719,
7734,
327,
629,
31,
5411,
453,
414,
16772,
13508,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
1250,
1089,
1803,
2785,
12,
19558,
394,
1803,
2785,
13,
288,
5411,
309,
261,
1128,
2785,
18,
14963,
12,
2704,
1803,
2785,
3719,
7734,
327,
629,
31,
5411,
453,
414,
16772,
13508,
84,... | |
/** * Get a progress monitor that forwards to an * event loop monitor. Override #setBlocked() * so that we always open the blocked dialog. * @return the monitor on the event loop */ private IProgressMonitor getEventLoopMonitor() { return new EventLoopProgressMonitor(new NullProgressMonitor()) { /* * (non-Javadoc) * * @... | /** * Get a progress monitor that forwards to an event loop monitor. * Override #setBlocked() so that we always open the blocked dialog. * * @return the monitor on the event loop */ private IProgressMonitor getEventLoopMonitor() { return new EventLoopProgressMonitor(new NullProgressMonitor()) { /* * (non-Javadoc) * * @... | public void runInUI(final IRunnableContext context, final IRunnableWithProgress runnable, final ISchedulingRule rule) throws InvocationTargetException, InterruptedException { final IJobManager manager = Platform.getJobManager(); final InvocationTargetException[] exception = new I... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/0e7fbc26f7d1b7769a0721c71fd17572c8432fd5/ProgressManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
382,
5370,
12,
6385,
467,
20013,
1042,
819,
16,
5411,
727,
467,
20013,
1190,
5491,
14685,
16,
727,
4437,
13252,
2175,
1720,
13,
5411,
1216,
15342,
16,
7558,
288,
3639,
72... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
382,
5370,
12,
6385,
467,
20013,
1042,
819,
16,
5411,
727,
467,
20013,
1190,
5491,
14685,
16,
727,
4437,
13252,
2175,
1720,
13,
5411,
1216,
15342,
16,
7558,
288,
3639,
72... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.