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 |
|---|---|---|---|---|---|---|
System.out.println("Parse " + (++parseCount) + ": " | Util.debugLog( "Parse " + (++parseCount) + ": " | public boolean parse() throws Backtrack { long startTime = System.currentTimeMillis(); translationUnit(); System.out.println("Parse " + (++parseCount) + ": " + ( System.currentTimeMillis() - startTime ) + "ms" + ( parsePassed ? "" : " - parse failure" )); return parsePassed; } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/4d93d6c4dfbf4ed6d2df5a861214da56db3b7684/Parser.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1109,
1435,
1216,
4297,
4101,
288,
202,
202,
5748,
8657,
273,
2332,
18,
2972,
28512,
5621,
202,
202,
10173,
2802,
5621,
202,
202,
3163,
18,
659,
18,
8222,
2932,
3201,
315,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1109,
1435,
1216,
4297,
4101,
288,
202,
202,
5748,
8657,
273,
2332,
18,
2972,
28512,
5621,
202,
202,
10173,
2802,
5621,
202,
202,
3163,
18,
659,
18,
8222,
2932,
3201,
315,... |
protected void notifyAboutToUndo(IUndoableOperation operation) { | private void notifyAboutToUndo(IUndoableOperation operation) { | protected void notifyAboutToUndo(IUndoableOperation operation) { if (DEBUG_OPERATION_HISTORY_NOTIFICATION) { System.out.print("OPERATIONHISTORY >>> ABOUT_TO_UNDO "); //$NON-NLS-1$ System.out.print(operation); System.out.println(); } OperationHistoryEvent event = new OperationHistoryEvent( OperationHistory... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/3bad50e6f68ff26b260565b7df8938cfe4826b83/DefaultOperationHistory.java/clean/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/DefaultOperationHistory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
5066,
24813,
774,
31224,
12,
45,
31224,
429,
2988,
1674,
13,
288,
202,
202,
430,
261,
9394,
67,
22040,
67,
31746,
67,
4400,
14865,
13,
288,
1082,
202,
3163,
18,
659,
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,
1117,
918,
5066,
24813,
774,
31224,
12,
45,
31224,
429,
2988,
1674,
13,
288,
202,
202,
430,
261,
9394,
67,
22040,
67,
31746,
67,
4400,
14865,
13,
288,
1082,
202,
3163,
18,
659,
18,... |
void unsuspect(Address mbr) { | private void unsuspect(Address mbr) { | void unsuspect(Address mbr) { bcast_task.removeSuspectedMember(mbr); pingable_mbrs.removeAllElements(); pingable_mbrs.addAll(members); pingable_mbrs.removeAll(bcast_task.getSuspectedMembers()); ping_dest=(Address)getPingDest(pingable_mbrs); } | 47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/0abdfadc655ddc3210312ed5ca837768a4e54342/FD.java/clean/src/org/jgroups/protocols/FD.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
16804,
407,
1181,
12,
1887,
312,
2848,
13,
288,
3639,
324,
4155,
67,
4146,
18,
4479,
55,
407,
1789,
4419,
12,
1627,
86,
1769,
3639,
10087,
429,
67,
1627,
5453,
18,
4479,
1595... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16804,
407,
1181,
12,
1887,
312,
2848,
13,
288,
3639,
324,
4155,
67,
4146,
18,
4479,
55,
407,
1789,
4419,
12,
1627,
86,
1769,
3639,
10087,
429,
67,
1627,
5453,
18,
4479,
1595... |
void submitActionSetAndGlobalHandlers() { /* Mash the action sets and global actions together, with global actions * taking priority. */ Map handlersByCommandId = new HashMap(); handlersByCommandId.putAll(actionSetHandlersByCommandId); handlersByCommandId.putAll(globalAct... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/80cd048d71d12588ca69deda03625740f72c7a3e/WorkbenchWindow.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
918,
9297,
1803,
694,
1876,
5160,
6919,
1435,
95,
20308,
49,
961,
5787,
1128,
4424,
464,
6347,
1128,
334,
717,
2437,
16,
1918,
6347,
4905,
14,
88,
6159,
8457,
4509,
19,
863,
11046,
858,
2189,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9297,
1803,
694,
1876,
5160,
6919,
1435,
95,
20308,
49,
961,
5787,
1128,
4424,
464,
6347,
1128,
334,
717,
2437,
16,
1918,
6347,
4905,
14,
88,
6159,
8457,
4509,
19,
863,
11046,
858,
2189,
... | ||
mi.postCommand(var); MIVarCreateInfo info = var.getMIVarCreateInfo(); if (info == null) { throw new CDIException(CdiResources.getString("cdi.Common.No_answer")); } argument = new Argument(argDesc, info.getMIVar()); | mi.postCommand(var, -1); argument = new Argument(argDesc, var); | public Argument createArgument(ArgumentDescriptor argDesc) throws CDIException { Variable variable = findVariable(argDesc); Argument argument = null; if (variable != null && variable instanceof Argument) { argument = (Argument) variable; } if (argument == null) { String name = argDesc.getQualifiedName(); St... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/55872940c2323d2bc6159446d3d36830d34f067c/VariableManager.java/buggy/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/VariableManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5067,
752,
1379,
12,
1379,
3187,
1501,
4217,
13,
1216,
385,
2565,
503,
288,
202,
202,
3092,
2190,
273,
1104,
3092,
12,
3175,
4217,
1769,
202,
202,
1379,
1237,
273,
446,
31,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5067,
752,
1379,
12,
1379,
3187,
1501,
4217,
13,
1216,
385,
2565,
503,
288,
202,
202,
3092,
2190,
273,
1104,
3092,
12,
3175,
4217,
1769,
202,
202,
1379,
1237,
273,
446,
31,
20... |
p3 ); | p3 ); | public void testLogicalAssertionsWithExists() throws Exception { final PackageBuilder builder = new PackageBuilder(); builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_LogicalAssertionWithExists.drl" ) ) ); final Package pkg = builder.getPackage(); f... | 5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/3943f90e624c362e86db72655aaa28741c820e7e/IntegrationCases.java/buggy/drools-compiler/src/test/java/org/drools/integrationtests/IntegrationCases.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
17955,
8213,
1115,
1190,
4002,
1435,
1216,
1185,
288,
3639,
727,
7508,
1263,
2089,
273,
394,
7508,
1263,
5621,
3639,
2089,
18,
1289,
2261,
1265,
40,
1321,
12,
394,
15322,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
17955,
8213,
1115,
1190,
4002,
1435,
1216,
1185,
288,
3639,
727,
7508,
1263,
2089,
273,
394,
7508,
1263,
5621,
3639,
2089,
18,
1289,
2261,
1265,
40,
1321,
12,
394,
15322,
... |
AST tmp2275_AST_in = (AST)_t; | AST tmp2291_AST_in = (AST)_t; | public final void comboboxphrase(AST _t) throws RecognitionException { AST comboboxphrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1703 = _t; AST tmp2262_AST_in = (AST)_t; match(_t,COMBOBOX); _t = _t.getFirstChild(); { _loop1715: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case L... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/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,
3894,
27570,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
3894,
27570,
9429,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3894,
27570,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
3894,
27570,
9429,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
... |
protected void fireMenuKeyPressed(MenuKeyEvent event) { } | protected void fireMenuKeyPressed(MenuKeyEvent event) { } | protected void fireMenuKeyPressed(MenuKeyEvent event) { // TODO } // fireMenuKeyPressed() | 1043 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1043/14511e3ad21013e92c6399b2bd2ec09a8263e33a/JMenuItem.java/clean/libjava/javax/swing/JMenuItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
4452,
4599,
653,
24624,
12,
4599,
653,
1133,
871,
13,
288,
202,
202,
759,
2660,
202,
97,
368,
4452,
4599,
653,
24624,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
4452,
4599,
653,
24624,
12,
4599,
653,
1133,
871,
13,
288,
202,
202,
759,
2660,
202,
97,
368,
4452,
4599,
653,
24624,
1435,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
throw new IllegalArgumentException("Invalid format"); | throw new IllegalArgumentException(Messages.getString("awt.66")); | private static String getNextToken(StringTokenizer tokenizer) { try { return tokenizer.nextToken(); } catch (NoSuchElementException exception) { throw new IllegalArgumentException("Invalid format"); } } | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/3b500ee5922bc7890c276ddee76f1520b369f2fd/AWTKeyStroke.java/clean/modules/awt/src/main/java/common/java/awt/AWTKeyStroke.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
514,
22616,
12,
780,
10524,
10123,
13,
288,
3639,
775,
288,
5411,
327,
10123,
18,
4285,
1345,
5621,
3639,
289,
1044,
261,
28341,
20826,
1520,
13,
288,
2398,
604,
394,
2754,
12,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
514,
22616,
12,
780,
10524,
10123,
13,
288,
3639,
775,
288,
5411,
327,
10123,
18,
4285,
1345,
5621,
3639,
289,
1044,
261,
28341,
20826,
1520,
13,
288,
2398,
604,
394,
2754,
12,... |
iter = prev.iter; prev = prev.prev; | if (count > 0) { count --; } else { iter = prev.iter; prev = prev.prev; } | public void pop() { iter = prev.iter; prev = prev.prev; } | 46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/f629550c5947df9c1dbe414645f3dc76bcb70df4/RubyIter.java/clean/org/jruby/runtime/RubyIter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1843,
1435,
288,
3639,
1400,
273,
2807,
18,
2165,
31,
3639,
2807,
273,
2807,
18,
10001,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1843,
1435,
288,
3639,
1400,
273,
2807,
18,
2165,
31,
3639,
2807,
273,
2807,
18,
10001,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
throws org.xml.sax.SAXException { | throws org.xml.sax.SAXException { | public void startContextElement(String name, Attributes attributes) throws org.xml.sax.SAXException { String className = attributes.getValue("class"); if (!checkNonEmpty(className)) { throw new org.xml.sax.SAXException( "Process defined without ... | 14315 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14315/02b74933ab36f3053e665e84b8287cd5fd62e098/ProcessDefinitionHandler.java/buggy/src/org/objectweb/proactive/core/descriptor/xml/ProcessDefinitionHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
787,
1042,
1046,
12,
780,
508,
16,
9055,
1677,
13,
5411,
1216,
2358,
18,
2902,
18,
87,
651,
18,
55,
2501,
503,
288,
5411,
514,
2658,
273,
1677,
18,
24805,
2932,
1106,
8863,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
787,
1042,
1046,
12,
780,
508,
16,
9055,
1677,
13,
5411,
1216,
2358,
18,
2902,
18,
87,
651,
18,
55,
2501,
503,
288,
5411,
514,
2658,
273,
1677,
18,
24805,
2932,
1106,
8863,
... |
return(activeAttempts--); | return(activeAttempts--); | public int getActiveAttempts() { return(activeAttempts--); } | 5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/41422245404c0fad8a30437d75fc29381b02be42/ConnectionManager.java/clean/components/gnutella-core/src/main/java/com/limegroup/gnutella/ConnectionManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
11960,
10113,
1435,
565,
288,
202,
2463,
12,
3535,
10113,
413,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
11960,
10113,
1435,
565,
288,
202,
2463,
12,
3535,
10113,
413,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
return RubyModule.newModule(getRuntime(), classId, parentModule); | return RubyModule.newModule(getRuntime(), getBaseName(), parentModule); | protected IRubyObject doClone() { return RubyModule.newModule(getRuntime(), classId, parentModule); } | 47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/abfe85d15f992ecf4447b155d177050fe2239c3b/RubyModule.java/buggy/src/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
15908,
10340,
921,
741,
10930,
1435,
288,
377,
202,
2463,
19817,
3120,
18,
2704,
3120,
12,
588,
5576,
9334,
8297,
461,
9334,
982,
3120,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
15908,
10340,
921,
741,
10930,
1435,
288,
377,
202,
2463,
19817,
3120,
18,
2704,
3120,
12,
588,
5576,
9334,
8297,
461,
9334,
982,
3120,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-1... |
url = addCredentials(repository, url); | url = addCredentials(url, userName, password); | public static String getBugUrl(String repositoryUrl, int id) { TaskRepository repository = MylarTaskListPlugin.getRepositoryManager().getRepository( BugzillaPlugin.REPOSITORY_KIND, repositoryUrl); String url = repository.getUrl() + POST_ARGS_SHOW_BUG + id; try { url = addCredentials(repository, url); } catch ... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/02c6a88e37a9d04f1fe217ec64c0a8b84fab1fb9/BugzillaRepositoryUtil.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
2882,
637,
1489,
12,
780,
3352,
1489,
16,
509,
612,
13,
288,
202,
202,
2174,
3305,
3352,
273,
8005,
7901,
2174,
682,
3773,
18,
588,
3305,
1318,
7675,
588,
3305,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
2882,
637,
1489,
12,
780,
3352,
1489,
16,
509,
612,
13,
288,
202,
202,
2174,
3305,
3352,
273,
8005,
7901,
2174,
682,
3773,
18,
588,
3305,
1318,
7675,
588,
3305,
12,
... |
if (attributeValuesByName.containsKey("enabled") && !Boolean.TRUE.equals(attributeValuesByName .get("enabled"))) return false; else return true; | private boolean executeCommand(String commandId) throws CommandException { if (DEBUG) { System.out .println("KEYS >>> WorkbenchKeyboard.executeCommand(commandId = '" //$NON-NLS-1$ + commandId + "')"); //$NON-NLS-1$ } // Reset t... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/5fb2670c20652c581dabd4d53413ef87669267b9/WorkbenchKeyboard.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/keys/WorkbenchKeyboard.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
21120,
12,
780,
1296,
548,
13,
5411,
1216,
3498,
503,
288,
3639,
309,
261,
9394,
13,
288,
5411,
2332,
18,
659,
10792,
263,
8222,
2932,
16333,
4080,
4147,
22144,
17872,
18,
883... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
21120,
12,
780,
1296,
548,
13,
5411,
1216,
3498,
503,
288,
3639,
309,
261,
9394,
13,
288,
5411,
2332,
18,
659,
10792,
263,
8222,
2932,
16333,
4080,
4147,
22144,
17872,
18,
883... | |
defaultPerspID = Platform.getPreferencesService().getString( PlatformUI.PLUGIN_ID, IWorkbenchPreferenceConstants.DEFAULT_PERSPECTIVE_ID, "", null); | defaultPerspID = PrefUtil.getAPIPreferenceStore().getString( IWorkbenchPreferenceConstants.DEFAULT_PERSPECTIVE_ID); | public void load() { // Load the registries. loadPredefined(); loadCustom(); // Get default perspective. // Get it from the R1.0 dialog settings first. Fixes bug 17039 IDialogSettings dialogSettings = WorkbenchPlugin.getDefault().getDialogSettings(); String str = dialogSettings.get(ID_DEF_PERSP); if (str !=... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/b7361699ae1f314b870e5e3310e450a40e7a0ece/PerspectiveRegistry.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/PerspectiveRegistry.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1262,
1435,
288,
202,
202,
759,
4444,
326,
960,
22796,
18,
21114,
202,
945,
1386,
2178,
5621,
202,
202,
945,
3802,
5621,
202,
202,
759,
968,
805,
26651,
18,
202,
202,
759... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1262,
1435,
288,
202,
202,
759,
4444,
326,
960,
22796,
18,
21114,
202,
945,
1386,
2178,
5621,
202,
202,
945,
3802,
5621,
202,
202,
759,
968,
805,
26651,
18,
202,
202,
759... |
public AttackOption(CEntity target, Mounted weapon, double value, ToHitData toHit) { | public AttackOption(CEntity target, Mounted weapon, double value, ToHitData toHit, int sec_mod) { | public AttackOption(CEntity target, Mounted weapon, double value, ToHitData toHit) { this.target = target; this.weapon = weapon; this.toHit = toHit; this.value = value; if (target != null) { WeaponType w = (WeaponType) weapon.getType(); // As a pr... | 3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/10d90e529b74a119c18b19ca356a1a227209309f/AttackOption.java/buggy/megamek/src/megamek/client/bot/AttackOption.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6020,
484,
1895,
12,
1441,
1628,
1018,
16,
13076,
329,
732,
28629,
16,
1645,
460,
16,
2974,
13616,
751,
358,
13616,
16,
509,
1428,
67,
1711,
13,
288,
3639,
333,
18,
3299,
273,
101... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6020,
484,
1895,
12,
1441,
1628,
1018,
16,
13076,
329,
732,
28629,
16,
1645,
460,
16,
2974,
13616,
751,
358,
13616,
16,
509,
1428,
67,
1711,
13,
288,
3639,
333,
18,
3299,
273,
101... |
public static Node parse (Tokenizer toker) throws Exception { NodeTerm nt = new NodeTerm(); Token t = toker.peek(); // integer literal if (t instanceof TokenIntegerLiteral) { nt.type = NodeTerm.INTEGER; nt.tokInt = (TokenIntegerLiteral) nt.eatToken(toker); return nt; } // boolean literal if (t.equals... | 5345 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5345/6676d99df452023146df224343fbbc77da7ccc7b/NodeTerm.java/clean/danga/s2/NodeTerm.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
2029,
1109,
261,
10524,
946,
264,
13,
1216,
1185,
565,
288,
202,
907,
4065,
9513,
273,
394,
2029,
4065,
5621,
202,
1345,
268,
273,
946,
264,
18,
347,
3839,
5621,
202,
759,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
2029,
1109,
261,
10524,
946,
264,
13,
1216,
1185,
565,
288,
202,
907,
4065,
9513,
273,
394,
2029,
4065,
5621,
202,
1345,
268,
273,
946,
264,
18,
347,
3839,
5621,
202,
759,
35... | ||
return findBuildInfo(resource.getProject()); | return getBuildInfo(resource, true); | public static IManagedBuildInfo getBuildInfo(IResource resource) { return findBuildInfo(resource.getProject()); } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/d4bc99f45dbe082adf7fb99858b9cc8d66cd8797/ManagedBuildManager.java/clean/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/ManagedBuildManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
6246,
4184,
3116,
966,
21122,
966,
12,
45,
1420,
1058,
13,
288,
202,
202,
2463,
1104,
3116,
966,
12,
3146,
18,
588,
4109,
10663,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
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,
6246,
4184,
3116,
966,
21122,
966,
12,
45,
1420,
1058,
13,
288,
202,
202,
2463,
1104,
3116,
966,
12,
3146,
18,
588,
4109,
10663,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,... |
Utils.writeStyleAttribute(d, c.getStyle()); | Utils.writeStyleAttribute(d, dialog.getStyle()); | protected void writePrefix(Device d, SContainer c) throws IOException { SDialog dialog = (SDialog) c; String encodingType = dialog.getEncodingType(); d.append("<form method=\""); if (dialog.getMethod()) d.append("post"); else d.append("get"); ... | 3911 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3911/248fc5ac421ad84c531a282e883e037228f5ab93/DialogCG.java/buggy/wings/src/org/wings/plaf/xhtml/css1/DialogCG.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1045,
2244,
12,
3654,
302,
16,
348,
2170,
276,
13,
3639,
1216,
1860,
565,
288,
3639,
348,
6353,
6176,
273,
261,
55,
6353,
13,
276,
31,
3639,
514,
2688,
559,
273,
6176,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1045,
2244,
12,
3654,
302,
16,
348,
2170,
276,
13,
3639,
1216,
1860,
565,
288,
3639,
348,
6353,
6176,
273,
261,
55,
6353,
13,
276,
31,
3639,
514,
2688,
559,
273,
6176,
18,
... |
public org.quickfix.field.RepoCollateralSecurityType getRepoCollateralSecurityType() throws FieldNotFound { org.quickfix.field.RepoCollateralSecurityType value = new org.quickfix.field.RepoCollateralSecurityType(); | public quickfix.field.RepoCollateralSecurityType getRepoCollateralSecurityType() throws FieldNotFound { quickfix.field.RepoCollateralSecurityType value = new quickfix.field.RepoCollateralSecurityType(); | public org.quickfix.field.RepoCollateralSecurityType getRepoCollateralSecurityType() throws FieldNotFound { org.quickfix.field.RepoCollateralSecurityType value = new org.quickfix.field.RepoCollateralSecurityType(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/IndicationOfInterest.java/buggy/src/java/src/quickfix/fix44/IndicationOfInterest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8791,
13535,
2045,
287,
4368,
559,
5561,
1631,
13535,
2045,
287,
4368,
559,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8791,
13535,
2045,
287,
4368,
559,
5561,
1631,
13535,
2045,
287,
4368,
559,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,... |
public InetAddress getAddress() | public final InetAddress getAddress() | public InetAddress getAddress() { return addr; } | 25352 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25352/b36f8eef237505f078dd95cd2d50183f990c35aa/InetSocketAddress.java/buggy/libjava/java/net/InetSocketAddress.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
14218,
14808,
1435,
565,
288,
202,
2463,
3091,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
14218,
14808,
1435,
565,
288,
202,
2463,
3091,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Raster rr = cr.getData(); Point pt = new Point(0,0); WritableRaster wr = Raster.createWritableRaster(rr.getSampleModel(), rr.getDataBuffer(), pt); | public RenderedImage createRendering(RenderContext rc) { // Just copy over the rendering hints. RenderingHints rh = rc.getRenderingHints(); if (rh == null) rh = new RenderingHints(null); // update the current affine transform AffineTransform at = rc.getTransform(); // This ... | 45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/e94df1e1f84e3f01c3cc2dd5b67ab11198e395bd/ConcreteGaussianBlurRable.java/clean/sources/org/apache/batik/refimpl/gvt/filter/ConcreteGaussianBlurRable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6987,
329,
2040,
752,
14261,
12,
3420,
1042,
4519,
13,
288,
3639,
368,
12526,
1610,
1879,
326,
9782,
13442,
18,
3639,
22391,
6259,
273,
4519,
18,
588,
14261,
13368,
5621,
3639,
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,
6987,
329,
2040,
752,
14261,
12,
3420,
1042,
4519,
13,
288,
3639,
368,
12526,
1610,
1879,
326,
9782,
13442,
18,
3639,
22391,
6259,
273,
4519,
18,
588,
14261,
13368,
5621,
3639,
309,
... | |
if (Double.isNaN(number)) return("NaN"); | if (Double.isNaN(number)) return("NaN"); else if (number == Double.NEGATIVE_INFINITY) return("-Infinity"); else if (number == Double.POSITIVE_INFINITY) return("Infinity"); | public static String formatNumber(double number, String pattern, DecimalFormat formatter) { try { if (Double.isNaN(number)) return("NaN"); StringBuffer result = new StringBuffer(); formatter.applyLocalizedPattern(pattern); formatter.format(number,result,_fieldPosition); return(result.to... | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/1e435ccb0550817516163c070c373c3c38e179f1/BasisLibrary.java/buggy/src/org/apache/xalan/xsltc/runtime/BasisLibrary.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
740,
1854,
12,
9056,
1300,
16,
514,
1936,
16,
6862,
1377,
29665,
4453,
13,
288,
202,
698,
288,
202,
565,
309,
261,
5265,
18,
291,
21172,
12,
2696,
3719,
327,
2932,
21172... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
740,
1854,
12,
9056,
1300,
16,
514,
1936,
16,
6862,
1377,
29665,
4453,
13,
288,
202,
698,
288,
202,
565,
309,
261,
5265,
18,
291,
21172,
12,
2696,
3719,
327,
2932,
21172... |
titlePanel.add(title); Color aColor = title.getBackground(); | title.setForeground(new Color(255,255,255)); JButton saveButton = new JButton("Save"); saveButton.setPreferredSize(new Dimension(70,17)); saveButton.setActionCommand("save"); saveButton.addActionListener(this); saveButton.setOpaque(false); saveButton.setForeground(TEXT_COLOR); if(!addSave) saveButton.setVisible(false)... | public void renderTab(TabPanel tp) { if(!tp.isRendered) { tp.isRendered = true; tp.removeAll(); Vector iHoldTables = new Vector(); //add a title label to show which element JPanel titlePanel = new JPanel(); titlePanel.setLayout(new GridLayout(2,1)); JLabel title = new JLabe... | 46826 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46826/6298bc44d12f634ef846a5bb08de557962763ff0/MetadataPane.java/buggy/loci/ome/notebook/MetadataPane.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1743,
5661,
12,
5661,
5537,
8071,
13,
288,
565,
309,
12,
5,
6834,
18,
291,
19222,
13,
288,
1377,
8071,
18,
291,
19222,
273,
638,
31,
1377,
8071,
18,
4479,
1595,
5621,
5411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1743,
5661,
12,
5661,
5537,
8071,
13,
288,
565,
309,
12,
5,
6834,
18,
291,
19222,
13,
288,
1377,
8071,
18,
291,
19222,
273,
638,
31,
1377,
8071,
18,
4479,
1595,
5621,
5411,
... |
String sExpected = "<xml-fragment at0=\"val0\"/>"; | String sExpected = "<xml-fragment at0=\"val0\" xmlns:pre=\"http: | public void testChildAttribute() throws XmlException { String sExpected = "<xml-fragment at0=\"val0\"/>"; String sQuery1 = "$this/foo/bar/attribute::at0"; XmlCursor c = Public2.getCursor(Public2.parse(sXmlChild)); c.selectPath(sQuery1, options ); assertEquals(1, c.getSelectionCoun... | 3520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3520/3719a765810de7eb12546e7f61fd46f491fff9e3/AxesTest.java/buggy/v2/test/src/xmlcursor/xpath/xbean_xpath/detailed/AxesTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1763,
1499,
1435,
1216,
5714,
503,
288,
3639,
514,
272,
6861,
273,
3532,
2902,
17,
11956,
622,
20,
5189,
1125,
20,
2412,
12302,
30,
1484,
5189,
2505,
30,
3639,
514,
26656... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1763,
1499,
1435,
1216,
5714,
503,
288,
3639,
514,
272,
6861,
273,
3532,
2902,
17,
11956,
622,
20,
5189,
1125,
20,
2412,
12302,
30,
1484,
5189,
2505,
30,
3639,
514,
26656... |
if (dbadaptor.getNumDatasetConfigs() < 1) | if (dbadaptor.getNumDatasetConfigs(true) < 1) | public void removeDataset(StringTokenizer toks) throws InvalidQueryException { if (toks.hasMoreTokens()) { String name = toks.nextToken(); //special case where x.y must be of sourcename.datasetname String[] nametoks = name.split("\\."); try { if (nametoks.length == 2) { if (!(ad... | 2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/8cbbe7ecedabbc74b15d29992004a181d5da1959/MartShellLib.java/buggy/src/java/org/ensembl/mart/shell/MartShellLib.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1206,
10656,
12,
780,
10524,
21404,
13,
1216,
1962,
1138,
503,
288,
565,
309,
261,
17692,
87,
18,
5332,
7417,
5157,
10756,
288,
1377,
514,
508,
273,
21404,
18,
4285,
1345,
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,
282,
1071,
918,
1206,
10656,
12,
780,
10524,
21404,
13,
1216,
1962,
1138,
503,
288,
565,
309,
261,
17692,
87,
18,
5332,
7417,
5157,
10756,
288,
1377,
514,
508,
273,
21404,
18,
4285,
1345,
5621... |
for (i=0;i<=lpcSize;i++) | for (i = 0; i <= lpcSize; i++) | public int encode(final Bits bits, final float[] in) { int i; float[] res, target, mem; float[] syn_resp; float[] orig; /* Copy new data in input buffer */ System.arraycopy(frmBuf, frameSize, frmBuf, 0, bufSize-frameSize); frmBuf[bufSize-frameSize] = in[0] - preemph*pre_mem; for (i=1; i<frame... | 6221 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6221/81112208859292bc5ef5f9b0033ab2ea6dab38c0/NbEncoder.java/buggy/main/trunk/codec/src/main/java/org/xiph/speex/NbEncoder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
2017,
12,
6385,
18690,
4125,
16,
727,
1431,
8526,
316,
13,
225,
288,
565,
509,
277,
31,
565,
1431,
8526,
400,
16,
1018,
16,
1663,
31,
565,
1431,
8526,
6194,
67,
12243,
31,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
2017,
12,
6385,
18690,
4125,
16,
727,
1431,
8526,
316,
13,
225,
288,
565,
509,
277,
31,
565,
1431,
8526,
400,
16,
1018,
16,
1663,
31,
565,
1431,
8526,
6194,
67,
12243,
31,
... |
public void endElement(String uri, String localName, String qName) throws SAXException { | public void endElement(String uri, String localName, String qName) { | public void endElement(String uri, String localName, String qName) throws SAXException { if ("ERROR".equals(name)) { LOG.error("Unable to retrieve pubmed record: " + characters); } else if ("Id".equals(name)) { publication = itemFactory.makeItemForClass(TARGET... | 7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/bfb2e598221e0f266af5d15cdf8975e288e0acf8/UpdatePublications.java/clean/bio/postprocess/main/src/org/intermine/bio/postprocess/UpdatePublications.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
14840,
12,
780,
2003,
16,
514,
11927,
16,
514,
22914,
13,
288,
5411,
309,
7566,
3589,
9654,
14963,
12,
529,
3719,
288,
7734,
2018,
18,
1636,
2932,
3370,
358,
4614,
5634,
2937,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14840,
12,
780,
2003,
16,
514,
11927,
16,
514,
22914,
13,
288,
5411,
309,
7566,
3589,
9654,
14963,
12,
529,
3719,
288,
7734,
2018,
18,
1636,
2932,
3370,
358,
4614,
5634,
2937,
... |
} if (isDeletedFromEditor((ISourceReference)elem)) | } if (elem instanceof IMember){ /* feature in jdt core - initializers from class files are not binary but have no cus * see bug 37199 * we just say 'no' to them */ IMember member= (IMember)elem; if (! member.isBinary() && SourceReferenceUtil.getCompilationUnit(member) == null) return false; } if (isDeletedFromEditor(... | protected boolean canWorkOn(Object elem) throws JavaModelException{ if (elem == null) return false; if (! (elem instanceof ISourceReference)) return false; if (! (elem instanceof IJavaElement)) return false; if (elem instanceof IClassFile) return false; if (elem instanceof ICompilationUni... | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/4a735ace0840dea91f9043c758cfb8ae7504b758/SourceReferenceAction.java/buggy/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/SourceReferenceAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1250,
848,
2421,
1398,
12,
921,
3659,
13,
1216,
5110,
1488,
503,
95,
202,
202,
430,
261,
10037,
422,
446,
13,
1082,
202,
2463,
629,
31,
6862,
202,
430,
16051,
261,
10037,
127... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1250,
848,
2421,
1398,
12,
921,
3659,
13,
1216,
5110,
1488,
503,
95,
202,
202,
430,
261,
10037,
422,
446,
13,
1082,
202,
2463,
629,
31,
6862,
202,
430,
16051,
261,
10037,
127... |
assertObject( handle, handle.getObject(), propagationContext, workingMemory ); | workingMemory.queueWorkingMemoryAction( workingMemory.new WorkingMemoryReteAssertAction( handle, false, true, null, null ) ); | public WorkingMemory newWorkingMemory(final boolean keepReference) { final ReteooWorkingMemory workingMemory = new ReteooWorkingMemory( this.workingMemoryCounter++, this ); super.addWorkingMemory( workingMemory, ... | 5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/86cff4d74a04222d865bf5eeac956f1056a94dab/ReteooRuleBase.java/clean/drools-core/src/main/java/org/drools/reteoo/ReteooRuleBase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
22732,
6031,
394,
14836,
6031,
12,
6385,
1250,
3455,
2404,
13,
288,
3639,
727,
17100,
4361,
83,
14836,
6031,
5960,
6031,
273,
394,
17100,
4361,
83,
14836,
6031,
12,
333,
18,
20478,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22732,
6031,
394,
14836,
6031,
12,
6385,
1250,
3455,
2404,
13,
288,
3639,
727,
17100,
4361,
83,
14836,
6031,
5960,
6031,
273,
394,
17100,
4361,
83,
14836,
6031,
12,
333,
18,
20478,
... |
{ String s = getString(columnIndex); if (s != null) { try { return Integer.parseInt(s); } catch (NumberFormatException e) { throw new SQLException ("Bad Integer Form: " + s); } } return 0; } | { String s = getString(columnIndex); if (s != null) { try { return Integer.parseInt(s); } catch (NumberFormatException e) { throw new SQLException ("Bad Integer Form: " + s); } } return 0; } | public int getInt(int columnIndex) throws SQLException { String s = getString(columnIndex); if (s != null) { try { return Integer.parseInt(s); } catch (NumberFormatException e) { throw new SQLException ("Bad Integer Form: " + s); } } return 0; // SQL NULL } | 45454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45454/6a061da272f04e1463864065f87f1f3fd61d6162/ResultSet.java/buggy/src/interfaces/jdbc/postgresql/ResultSet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
8145,
12,
474,
14882,
13,
1216,
6483,
202,
95,
202,
202,
780,
272,
273,
4997,
12,
2827,
1016,
1769,
202,
202,
430,
261,
87,
480,
446,
13,
202,
202,
95,
1082,
202,
698,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
8145,
12,
474,
14882,
13,
1216,
6483,
202,
95,
202,
202,
780,
272,
273,
4997,
12,
2827,
1016,
1769,
202,
202,
430,
261,
87,
480,
446,
13,
202,
202,
95,
1082,
202,
698,
... |
terminate(); | terminate(); | public void start() { if (connectDebugger(true) != RemotePort.mWaitOK) terminate(); } | 48756 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48756/3c3802a2d729ade92bfe215f545aff7a4fc13839/DebugTarget.java/clean/org.epic.debug/src/org/epic/debug/DebugTarget.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
787,
1435,
202,
95,
202,
202,
430,
261,
3612,
24113,
12,
3767,
13,
480,
6304,
2617,
18,
81,
5480,
3141,
13,
6862,
202,
30017,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
787,
1435,
202,
95,
202,
202,
430,
261,
3612,
24113,
12,
3767,
13,
480,
6304,
2617,
18,
81,
5480,
3141,
13,
6862,
202,
30017,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
... |
if (inProgress == true) { | last = lastEdit(); | public boolean addEdit(UndoableEdit anEdit) { // Variables UndoableEdit lastEdit; if (inProgress == true) { // Get Last Edit lastEdit = lastEdit(); // Check for null if (lastEdit != null) { if (lastEdit.addEdit(anEdit) == false) { if (lastEdit.replaceEdit(anEdit) == false) { edits.add(anEdit); ... | 1739 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1739/1a56510a6b5772240a0ed85a7518db15a15edb8a/CompoundEdit.java/buggy/libjava/javax/swing/undo/CompoundEdit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
527,
4666,
12,
31224,
429,
4666,
392,
4666,
13,
288,
202,
202,
759,
23536,
202,
202,
31224,
429,
4666,
202,
2722,
4666,
31,
202,
202,
430,
261,
267,
5491,
422,
638,
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,
1250,
527,
4666,
12,
31224,
429,
4666,
392,
4666,
13,
288,
202,
202,
759,
23536,
202,
202,
31224,
429,
4666,
202,
2722,
4666,
31,
202,
202,
430,
261,
267,
5491,
422,
638,
13,
... |
return xsltObj.toString(); } else if(javaClass.isPrimitive()) { XString xstr = new XString(xsltObj.toString()); double num = xstr.num(); return convertDoubleToNumber(num, javaClass); } else if(javaClass == java.lang.Class.class) { return xsltObj.getClass(); | if(javaClass == java.lang.String.class) { return xsltObj.toString(); } else if(javaClass.isPrimitive()) { XString xstr = new XString(xsltObj.toString()); double num = xstr.num(); return convertDoubleToNumber(num, javaClass); } else if(javaClass == java.lang.Class.class) { return xsltObj.getClass(); } else { return xs... | static Object convert(Object xsltObj, Class javaClass) throws javax.xml.transform.TransformerException { if(xsltObj instanceof XObject) { XObject xobj = ((XObject)xsltObj); int xsltClassType = xobj.getType(); switch(xsltClassType) { case XObject.CLASS_NULL: return null; ... | 2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/627db9799eee023955b11b6b1e6d253405940660/MethodResolver.java/buggy/src/org/apache/xalan/extensions/MethodResolver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
1033,
1765,
12,
921,
31399,
2675,
16,
1659,
2252,
797,
13,
565,
1216,
6863,
18,
2902,
18,
6547,
18,
8319,
503,
225,
288,
565,
309,
12,
92,
14414,
2675,
1276,
1139,
921,
13,
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,
282,
760,
1033,
1765,
12,
921,
31399,
2675,
16,
1659,
2252,
797,
13,
565,
1216,
6863,
18,
2902,
18,
6547,
18,
8319,
503,
225,
288,
565,
309,
12,
92,
14414,
2675,
1276,
1139,
921,
13,
565,
... |
count = ScriptRuntime.toInteger(args[1]); if (count < 0) | double dcount = ScriptRuntime.toInteger(args[1]); if (dcount < 0) { | private static Object jsFunction_splice(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) { /* create an empty Array to return. */ scope = getTopLevelScope(scope); Object result = ScriptRuntime.newObject(cx, scope, "Array", null); ... | 51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/5f6a565762eea9efee2aee1297e0f938ac7edf63/NativeArray.java/clean/js/rhino/src/org/mozilla/javascript/NativeArray.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1033,
3828,
2083,
67,
19535,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
5411,
22780,
15261,
16,
1033,
8526,
833,
13,
565,
288,
3639,
1748,
752,
392,
1008,
1510,
358,
327,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1033,
3828,
2083,
67,
19535,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
5411,
22780,
15261,
16,
1033,
8526,
833,
13,
565,
288,
3639,
1748,
752,
392,
1008,
1510,
358,
327,
18,
... |
if (isTopLevel) for (int i = 0; i < typeDeclarations.length ; i++) trash = typeDeclarations[i].accept(this); | if (TopLevelDeclaration != null) trash = TopLevelDeclaration.accept(this); | public Object visitCompilationUnit(JCompilationUnit self, JPackageName packageName, JPackageImport[] importedPackages, JClassImport[] importedClasses, JTypeDeclaration[] ty... | 47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/a62974f972e075f9eb88fe8fe9ba988c82ef88e3/Kopi2SIR.java/clean/streams/src/at/dms/kjc/Kopi2SIR.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
3757,
19184,
2802,
12,
46,
19184,
2802,
365,
16,
19694,
804,
18308,
9929,
16,
19694,
804,
2261,
5010,
8526,
9101,
11425,
16,
19694,
804,
797,
5010,
8526,
9101,
4818,
16,
19694,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
3757,
19184,
2802,
12,
46,
19184,
2802,
365,
16,
19694,
804,
18308,
9929,
16,
19694,
804,
2261,
5010,
8526,
9101,
11425,
16,
19694,
804,
797,
5010,
8526,
9101,
4818,
16,
19694,
... |
public void extra_statement() throws RecognitionException { try { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:401:9: ( ( import_statement | global | function ) ) // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/... | 5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/ca87e40b5754cd366785b207f8cd109258275f53/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2870,
67,
11516,
1435,
1216,
9539,
288,
6647,
775,
288,
5411,
368,
342,
6588,
19,
70,
947,
19,
17300,
87,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2870,
67,
11516,
1435,
1216,
9539,
288,
6647,
775,
288,
5411,
368,
342,
6588,
19,
70,
947,
19,
17300,
87,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
... | ||
if (canceled[0] != null) { | if (canceled[0] != null) { | public void runInUI(final IRunnableContext context, final IRunnableWithProgress runnable, final ISchedulingRule rule) throws InvocationTargetException, InterruptedException { final IJobManager manager = Platform.getJobManager(); final InvocationTargetException[] exception = new InvocationTargetException[1]; fin... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/82e45bfb168fa5c37a8ced4976d2cc8fef6ce0f2/ProgressManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
382,
5370,
12,
6385,
467,
20013,
1042,
819,
16,
1082,
202,
6385,
467,
20013,
1190,
5491,
14685,
16,
727,
4437,
13252,
2175,
1720,
13,
1082,
202,
15069,
15342,
16,
755... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1086,
382,
5370,
12,
6385,
467,
20013,
1042,
819,
16,
1082,
202,
6385,
467,
20013,
1190,
5491,
14685,
16,
727,
4437,
13252,
2175,
1720,
13,
1082,
202,
15069,
15342,
16,
755... |
SportletLog log = (SportletLog)logMap.get(clazz); | SportletLog log = (SportletLog) logMap.get(clazz); | public static synchronized PortletLog getInstance(Class clazz) { SportletLog log = (SportletLog)logMap.get(clazz); if (log != null) return log; log = new SportletLog(clazz); logMap.put(clazz, new SportletLog(clazz)); return log; } | 49343 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49343/7435ddafff452aa8d099de2180b3d30143fa29c5/SportletLog.java/buggy/src/org/gridlab/gridsphere/portlet/impl/SportletLog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
3852,
21305,
1343,
3694,
12,
797,
4003,
13,
288,
3639,
348,
655,
1810,
1343,
613,
273,
261,
55,
655,
1810,
1343,
13,
613,
863,
18,
588,
12,
830,
3638,
1769,
3639,
309,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
3852,
21305,
1343,
3694,
12,
797,
4003,
13,
288,
3639,
348,
655,
1810,
1343,
613,
273,
261,
55,
655,
1810,
1343,
13,
613,
863,
18,
588,
12,
830,
3638,
1769,
3639,
309,
261,
... |
public Par Decs() throws Exception{ /* * Decs ::= Decs; Dec * Decso.pend = Decs1.pend ??? Dec.pend ??? (si Dec.props.clase = tipo entonces {Dec.id} si no ??? ) * * Decs ::= Dec * Decs.pend = Dec.pend ??? (si Dec.props.clase = tipo entonces {Dec.id} si no ??????) */ Par a = new Par(); System.out.println("lla... | 10474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10474/f6dc44d80fd64451a5eb89c4413e42d14f2f424d/Sintactico.java/buggy/plg/procesador/Sintactico.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2280,
3416,
87,
1435,
1216,
1185,
95,
202,
20308,
202,
380,
3416,
87,
493,
33,
3416,
87,
31,
3416,
202,
380,
3416,
2048,
18,
1302,
273,
3416,
87,
21,
18,
1302,
5317,
35,
341... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2280,
3416,
87,
1435,
1216,
1185,
95,
202,
20308,
202,
380,
3416,
87,
493,
33,
3416,
87,
31,
3416,
202,
380,
3416,
2048,
18,
1302,
273,
3416,
87,
21,
18,
1302,
5317,
35,
341... | ||
private void loadDataFromFile() throws IOException, SQLException { final InputStream is = openInputStream(); final InputStreamReader reader = new InputStreamReader(is); final BufferedReader bufferedReader = new BufferedReader(reader); final Pattern regex = Pattern.compile("INSERT INTO ([^ ]+)(.*)VALUES(.*)\\((.*)\\);")... | private void loadDataFromFile() throws Exception { InputStream is = openInputStream(); if (is == null) { throw new Exception("No data file to process"); } try { final InputStreamReader reader = new InputStreamReader(is); final BufferedReader bufferedReader = new BufferedReader(reader); final Pattern regex = Pattern.c... | private void loadDataFromFile() throws IOException, SQLException { final InputStream is = openInputStream(); final InputStreamReader reader = new InputStreamReader(is); final BufferedReader bufferedReader = new BufferedReader(reader); final Pattern regex = Pattern.compile("INSERT INTO ([... | 37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/7a5a66ebc66d989ac82c2b6fd80bfc14c5531667/MondrianFoodMartLoader.java/buggy/testsrc/main/mondrian/test/loader/MondrianFoodMartLoader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
29422,
13087,
1435,
1216,
1860,
16,
6483,
288,
3639,
727,
5037,
353,
273,
1696,
4348,
5621,
3639,
727,
15322,
2949,
273,
394,
15322,
12,
291,
1769,
3639,
727,
10633,
11445,
2514,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
29422,
13087,
1435,
1216,
1860,
16,
6483,
288,
3639,
727,
5037,
353,
273,
1696,
4348,
5621,
3639,
727,
15322,
2949,
273,
394,
15322,
12,
291,
1769,
3639,
727,
10633,
11445,
2514,... |
ColorModel dstCM = getColorModel(); | public WritableRaster copyData(WritableRaster wr) { // Get my source. CachableRed src = (CachableRed)getSources().get(0); Rectangle r = wr.getBounds(); r.x -= xinset; r.y -= yinset; r.width += 2*xinset; r.height += 2*yinset; // System.out.print... | 45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/37794489f7dedd0c74c1b7ae67e92cf8d877b256/GaussianBlurRed8Bit.java/clean/sources/org/apache/batik/ext/awt/image/rendered/GaussianBlurRed8Bit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
14505,
18637,
1610,
751,
12,
12061,
18637,
12408,
13,
288,
3639,
368,
968,
3399,
1084,
18,
3639,
23782,
429,
3715,
1705,
273,
261,
11309,
429,
3715,
13,
588,
8628,
7675,
588,
12,
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,
377,
1071,
14505,
18637,
1610,
751,
12,
12061,
18637,
12408,
13,
288,
3639,
368,
968,
3399,
1084,
18,
3639,
23782,
429,
3715,
1705,
273,
261,
11309,
429,
3715,
13,
588,
8628,
7675,
588,
12,
20... | |
new WriteCommandAction(selectedNode.getDomElement().getParent().getManager().getProject()) { protected void run(final Result result) throws Throwable { | final DomElement domElement = selectedNode.getDomElement(); new WriteCommandAction(domElement.getManager().getProject(), domElement.getXmlTag().getContainingFile()) { protected void run(final Result result) throws Throwable { | public void actionPerformed(AnActionEvent e, DomModelTreeView treeView) { if (treeView.getTree().getSelectedNode() instanceof BaseDomElementNode) { final BaseDomElementNode selectedNode = (BaseDomElementNode)treeView.getTree().getSelectedNode(); new WriteCommandAction(selectedNode.getDomElement().ge... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/543a6720cd446dc379bb0ee3e213c600fff9aac5/DeleteDomElement.java/clean/dom/impl/src/com/intellij/util/xml/tree/actions/DeleteDomElement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
26100,
12,
979,
1803,
1133,
425,
16,
12965,
1488,
2471,
1767,
2151,
1767,
13,
288,
1377,
309,
261,
3413,
1767,
18,
588,
2471,
7675,
588,
7416,
907,
1435,
1276,
3360,
8832,
1046... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
26100,
12,
979,
1803,
1133,
425,
16,
12965,
1488,
2471,
1767,
2151,
1767,
13,
288,
1377,
309,
261,
3413,
1767,
18,
588,
2471,
7675,
588,
7416,
907,
1435,
1276,
3360,
8832,
1046... |
Object oldValue= getValue(); | Object oldValue= computeValue(); | public void setValue(final Object value) { AsyncRunnable runnable = new AsyncRunnable(){ public void run(){ try { updating = true; if (attribute.equals(ViewersProperties.SINGLE_SELECTION)) { Object oldValue= getValue(); viewer.setSelection(value == null ? StructuredSelection.EMPTY : new ... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/0761e1ecd3419699cb01bfda9e914b2a545d7fac/StructuredViewerUpdatableValue.java/clean/bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/internal/databinding/viewers/StructuredViewerUpdatableValue.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
5524,
12,
6385,
1033,
460,
13,
288,
202,
202,
2771,
20013,
14685,
273,
394,
9672,
20013,
1435,
95,
1082,
202,
482,
918,
1086,
1435,
95,
9506,
202,
698,
288,
6862,
202,
55... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5524,
12,
6385,
1033,
460,
13,
288,
202,
202,
2771,
20013,
14685,
273,
394,
9672,
20013,
1435,
95,
1082,
202,
482,
918,
1086,
1435,
95,
9506,
202,
698,
288,
6862,
202,
55... |
public void ruleAction(int ruleNumber) { switch (ruleNumber) { // // Rule 1: TypeName ::= TypeName . ErrorId // case 1: { //#line 6 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" ... | 1832 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1832/f8e1720cd66996a6339b992bf154aa0d019240a3/X10Parser.java/clean/x10.compiler/src/x10/parser/X10Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1720,
1803,
12,
474,
1720,
1854,
13,
565,
288,
3639,
1620,
261,
5345,
1854,
13,
3639,
288,
2398,
368,
5411,
368,
6781,
404,
30,
225,
21036,
493,
33,
21036,
263,
1068,
548,
54... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1720,
1803,
12,
474,
1720,
1854,
13,
565,
288,
3639,
1620,
261,
5345,
1854,
13,
3639,
288,
2398,
368,
5411,
368,
6781,
404,
30,
225,
21036,
493,
33,
21036,
263,
1068,
548,
54... | ||
Ring ring2 = new Ring(); | Ring ring2 = builder.newRing(); | public void testContains_Atom() { RingSet ringset = new RingSet(); Atom ring1Atom1 = new Atom("C"); // rather artificial molecule Atom ring1Atom2 = new Atom("C"); Atom sharedAtom1 = new Atom("C"); Atom sharedAtom2 = new Atom("C"); Atom ring2Atom1 = new Atom("C"); Ato... | 45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/67261c8143759a6ee4feb79dc1687d6dcfa25f40/RingSetTest.java/buggy/src/org/openscience/cdk/test/RingSetTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
10846,
67,
3641,
1435,
288,
3639,
25463,
694,
9221,
542,
273,
394,
25463,
694,
5621,
3639,
7149,
9221,
21,
3641,
21,
273,
394,
7149,
2932,
39,
8863,
368,
9178,
3688,
1507... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
10846,
67,
3641,
1435,
288,
3639,
25463,
694,
9221,
542,
273,
394,
25463,
694,
5621,
3639,
7149,
9221,
21,
3641,
21,
273,
394,
7149,
2932,
39,
8863,
368,
9178,
3688,
1507... |
return "java.lang.StringBuffer".equals(name)|| "java.lang.StringBuilder".equals(name); | return "java.lang.StringBuffer".equals(name) || "java.lang.StringBuilder".equals(name); | public static boolean isAppend(PsiMethodCallExpression call) { final PsiReferenceExpression methodExpression = call.getMethodExpression(); if(methodExpression == null){ return false; } final String callName = methodExpression.getReferenceName(); if(!"a... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/3837c95856454e21e9059f3aa91174a1e2c65526/AppendUtil.java/buggy/plugins/IntentionPowerPak/src/com/siyeh/ipp/concatenation/AppendUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
353,
5736,
12,
52,
7722,
12592,
2300,
745,
13,
565,
288,
3639,
727,
453,
7722,
2404,
2300,
707,
2300,
273,
7734,
745,
18,
588,
1305,
2300,
5621,
3639,
309,
12,
2039,
23... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
353,
5736,
12,
52,
7722,
12592,
2300,
745,
13,
565,
288,
3639,
727,
453,
7722,
2404,
2300,
707,
2300,
273,
7734,
745,
18,
588,
1305,
2300,
5621,
3639,
309,
12,
2039,
23... |
else if (sym.isModule()) { Symbol clasz = sym.moduleClass(); | else if (sym.isModule()) | private void putSymbol(Symbol sym) { if (putEntry(sym)) { if (debug) System.out.println("put " + sym); if (isLocal(sym)) { putEntry(sym.name); putSymbol(sym.isConstructor() ? sym.constructorClass() : sym.owner()); switch (sym.kind) { case TYPE: if (sym.isViewBounded()) putType(sym.vuBound()); ... | 48012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48012/3ec2af254866c60389b3fd304c14d1137b9cf4c8/Pickle.java/clean/sources/scalac/symtab/classfile/Pickle.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1378,
5335,
12,
5335,
5382,
13,
288,
202,
430,
261,
458,
1622,
12,
8117,
3719,
288,
202,
565,
309,
261,
4148,
13,
2332,
18,
659,
18,
8222,
2932,
458,
315,
397,
5382,
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,
377,
3238,
918,
1378,
5335,
12,
5335,
5382,
13,
288,
202,
430,
261,
458,
1622,
12,
8117,
3719,
288,
202,
565,
309,
261,
4148,
13,
2332,
18,
659,
18,
8222,
2932,
458,
315,
397,
5382,
1769,
... |
node.createPage(); | createPage(node); | protected boolean showPage(IPreferenceNode node) { if (node == null) return false; // Create the page if nessessary if (node.getPage() == null) node.createPage(); if (node.getPage() == null) return false; IPreferencePage newPage = getPage(node); if (newPage == currentPage) return true; if (currentPage !... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/b04822b19da25d2275db8f0e7c40d9d979503af4/PreferenceDialog.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1250,
2405,
1964,
12,
45,
9624,
907,
756,
13,
288,
202,
202,
430,
261,
2159,
422,
446,
13,
1082,
202,
2463,
629,
31,
202,
202,
759,
1788,
326,
1363,
309,
290,
403,
403,
814... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1250,
2405,
1964,
12,
45,
9624,
907,
756,
13,
288,
202,
202,
430,
261,
2159,
422,
446,
13,
1082,
202,
2463,
629,
31,
202,
202,
759,
1788,
326,
1363,
309,
290,
403,
403,
814... |
EmailElementCache eecache = new EmailElementCache(); addEmails(m, eecache, Mime.parseAddressHeader(mm, "From"), EmailType.FROM); addEmails(m, eecache, Mime.parseAddressHeader(mm, "Reply-To"), EmailType.REPLY_TO); addEmails(m, eecache, Mime.parseAddressHeader(mm, "To"), EmailType.TO); addEmails(m, eecache, Mime.parseAdd... | addEmails(m, Mime.parseAddressHeader(mm, "From"), EmailType.FROM); addEmails(m, Mime.parseAddressHeader(mm, "Reply-To"), EmailType.REPLY_TO); addEmails(m, Mime.parseAddressHeader(mm, "To"), EmailType.TO); addEmails(m, Mime.parseAddressHeader(mm, "Cc"), EmailType.CC); addEmails(m, Mime.parseAddressHeader(mm, "Bcc"), Ema... | public static Element encodeMessageAsMP(Element parent, ZimbraSoapContext lc, Message msg, String part, boolean wantHTML, boolean neuter) throws ServiceException { boolean wholeMessage = (part == null || part.trim().equals("")); Element m; if (wholeMessage) { m = encodeMessageComm... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/fad4c84f4ca0d2273e9f0c27a34fcd6a6449b7e7/ToXML.java/buggy/ZimbraServer/src/java/com/zimbra/cs/service/mail/ToXML.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
3010,
2017,
1079,
1463,
4566,
12,
1046,
982,
16,
2285,
381,
15397,
20601,
1042,
9109,
16,
2350,
1234,
16,
514,
1087,
16,
1250,
2545,
4870,
16,
1250,
1073,
26812,
13,
565,
1216,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3010,
2017,
1079,
1463,
4566,
12,
1046,
982,
16,
2285,
381,
15397,
20601,
1042,
9109,
16,
2350,
1234,
16,
514,
1087,
16,
1250,
2545,
4870,
16,
1250,
1073,
26812,
13,
565,
1216,... |
int definedArgs = theData.itsVariableTable.getParameterCount(); | int definedArgs = fnOrScript.argCount; | public static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, Scriptable fnOrScript, InterpreterData theData) throws JavaScriptException { int i; Object l... | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/2e5f0c80aa851723c959897d5baa5abe7a788df3/Interpreter.java/clean/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
565,
22780,
15261,
16,
1033,
8526,
833,
16,
4766,
565,
22780,
2295,
1162,
3651,
16,
4766,
282,
5294,
11599,
751,
326,
75... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
565,
22780,
15261,
16,
1033,
8526,
833,
16,
4766,
565,
22780,
2295,
1162,
3651,
16,
4766,
282,
5294,
11599,
751,
326,
75... |
if (node != null) { db.setOwnerObject(lockKey); long addr = db.findValue(lockKey, node); if(addr == KEY_NOT_FOUND) return false; RecordPos rec = findValuePosition(addr); page = rec.page.getPageNum(); p = rec.page; offset = rec.offset - 2; node = null; } else if (-1 < startAddress) { RecordPos rec = findValuePosition(st... | public boolean hasNext() { Lock lock = db.getLock(); try { try { lock.acquire(lockKey); lock.enter(lockKey); } catch (LockException e) { return false; } if (node != null) { db.setOwnerObject(lockKey); long addr = db.findValue(lockKey, node); if(addr == KEY_NOT_FOUND) retur... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/1c0cc42431436631d1b2e9ea8af63bb6dd883496/DOMFile.java/clean/src/org/exist/storage/DOMFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1250,
4564,
1435,
288,
1082,
202,
2531,
2176,
273,
1319,
18,
588,
2531,
5621,
1082,
202,
698,
288,
9506,
202,
698,
288,
6862,
202,
739,
18,
1077,
1039,
12,
739,
653,
1769,
68... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
4564,
1435,
288,
1082,
202,
2531,
2176,
273,
1319,
18,
588,
2531,
5621,
1082,
202,
698,
288,
9506,
202,
698,
288,
6862,
202,
739,
18,
1077,
1039,
12,
739,
653,
1769,
68... | |
public String getPGType(int oid) throws SQLException | public int getPGType(String typeName) throws SQLException | public String getPGType(int oid) throws SQLException { String pgType = (String) pgTypeCache.get(new Integer(oid)); if (pgType == null) { getSQLType(oid); pgType = (String) pgTypeCache.get(new Integer(oid)); } return pgType; } | 49504 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49504/0378a269f3ab3c44e67b14f96414b6ca95263263/AbstractJdbc1Connection.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1689,
43,
559,
12,
474,
7764,
13,
1216,
6483,
202,
95,
202,
202,
780,
7184,
559,
273,
261,
780,
13,
7184,
559,
1649,
18,
588,
12,
2704,
2144,
12,
839,
10019,
202,
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,
514,
1689,
43,
559,
12,
474,
7764,
13,
1216,
6483,
202,
95,
202,
202,
780,
7184,
559,
273,
261,
780,
13,
7184,
559,
1649,
18,
588,
12,
2704,
2144,
12,
839,
10019,
202,
202,
... |
public CreateConnectorViewAndElementRequest(IElementType type, PreferencesHint preferencesHint) { super( new ConnectorViewAndElementDescriptor( new CreateElementRequestAdapter( new CreateRelationshipRequest(type)), preferencesHint)); | public CreateConnectorViewAndElementRequest(ConnectorViewAndElementDescriptor connectorViewAndElementDescriptor) { super(connectorViewAndElementDescriptor); | public CreateConnectorViewAndElementRequest(IElementType type, PreferencesHint preferencesHint) { super( new ConnectorViewAndElementDescriptor( new CreateElementRequestAdapter( new CreateRelationshipRequest(type)), preferencesHint)); } | 1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/8cde65fc058a9faaf847d04bf9b28594ea600f8f/CreateConnectorViewAndElementRequest.java/clean/org.eclipse.gmf.runtime/plugins/org.eclipse.gmf.runtime.diagram.ui/src/org/eclipse/gmf/runtime/diagram/ui/requests/CreateConnectorViewAndElementRequest.... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1788,
7487,
1767,
1876,
1046,
691,
12,
45,
17481,
618,
16,
28310,
7002,
12750,
7002,
13,
288,
202,
202,
9565,
12,
1082,
202,
2704,
15779,
1767,
1876,
1046,
3187,
12,
9506,
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,
1788,
7487,
1767,
1876,
1046,
691,
12,
45,
17481,
618,
16,
28310,
7002,
12750,
7002,
13,
288,
202,
202,
9565,
12,
1082,
202,
2704,
15779,
1767,
1876,
1046,
3187,
12,
9506,
202,
... |
public void test218RDFProductConfig() throws IOException { ServerConfigurationFactory factory = ServerConfigurationFactory.getInstance(); RepositoryConfiguration config = factory.getConfiguration(IBugzillaConstants.TEST_BUGZILLA_218_URL); assertNotNull(config); assertEquals("2.18.5", config.getInstallVersion()); ... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/4db4cd6e586263286bb85a61cf90591f0c599a6f/BugzillaConfigurationTest.java/buggy/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaConfigurationTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
22,
2643,
30137,
4133,
809,
1435,
1216,
1860,
288,
202,
202,
2081,
1750,
1733,
3272,
273,
3224,
1750,
1733,
18,
588,
1442,
5621,
202,
202,
3305,
1750,
642,
273,
3272,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22,
2643,
30137,
4133,
809,
1435,
1216,
1860,
288,
202,
202,
2081,
1750,
1733,
3272,
273,
3224,
1750,
1733,
18,
588,
1442,
5621,
202,
202,
3305,
1750,
642,
273,
3272,... | ||
public void ignorableWhitespace(XMLString text) throws XNIException { | public void ignorableWhitespace(XMLString text, Augmentations augs) throws XNIException { | public void ignorableWhitespace(XMLString text) throws XNIException { printIndent(); fOut.print("ignorableWhitespace("); fOut.print("text="); printQuotedString(text.ch, text.offset, text.length); fOut.println(')'); fOut.flush(); } // ignorableWhitespace(XMLString) | 4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/1281996de10d3af1b51f0b4d78cfcd75d8ade6fe/DocumentTracer.java/clean/samples/xni/DocumentTracer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
9750,
15514,
9431,
12,
4201,
780,
977,
16,
432,
14870,
1012,
279,
9024,
13,
1216,
1139,
50,
45,
503,
288,
3639,
1172,
7790,
5621,
3639,
284,
1182,
18,
1188,
2932,
724,
15514,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9750,
15514,
9431,
12,
4201,
780,
977,
16,
432,
14870,
1012,
279,
9024,
13,
1216,
1139,
50,
45,
503,
288,
3639,
1172,
7790,
5621,
3639,
284,
1182,
18,
1188,
2932,
724,
15514,
... |
this.container.setVerticalDimensions(translateY, this.screenHeight); | setContentArea( 0, translateY, this.screenWidth, this.screenHeight - (this.infoHeight + this.subTitleHeight + translateY) ); | public final void paint(Graphics g) { //#if tmp.fullScreenInPaint if (!this.isInFullScreenMode) { super.setFullScreenMode( true ); this.isInFullScreenMode = true; //#ifdef polish.FullCanvasHeight:defined //#= this.fullScreenHeight = ${polish.FullCanvasHeight}; //#else this.fullScreenHeight = get... | 9804 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9804/2d2ee1a8b2dd39fe6c831aded2568d110a1ee975/Screen.java/buggy/j2me/source/src/de/enough/polish/ui/Screen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
12574,
12,
17558,
314,
13,
288,
202,
202,
759,
7,
430,
1853,
18,
2854,
7956,
382,
12699,
1082,
202,
430,
16051,
2211,
18,
291,
382,
5080,
7956,
2309,
13,
288,
9506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12574,
12,
17558,
314,
13,
288,
202,
202,
759,
7,
430,
1853,
18,
2854,
7956,
382,
12699,
1082,
202,
430,
16051,
2211,
18,
291,
382,
5080,
7956,
2309,
13,
288,
9506,
... |
action.setToolTipText(WorkbenchMessages.getString("Workbench.move.ToolTip")); | action.setToolTipText(WorkbenchMessages.getString("Workbench.moveToolTip")); | public IWorkbenchAction create(IWorkbenchWindow window) { if (window == null) { throw new IllegalArgumentException(); } RetargetAction action = new RetargetAction(getId(), WorkbenchMessages.getString("Workbench.move")); //$NON-NLS-1$ //$NON-NLS-2$ action.setToolTipText(WorkbenchMessages.getString("Workben... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/041bd5e759c0bce2ddee002925167c673a5abed9/ActionFactory.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/actions/ActionFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
467,
2421,
22144,
1803,
752,
12,
45,
2421,
22144,
3829,
2742,
13,
288,
1082,
202,
430,
261,
5668,
422,
446,
13,
288,
9506,
202,
12849,
394,
2754,
5621,
1082,
202,
97,
1082,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
467,
2421,
22144,
1803,
752,
12,
45,
2421,
22144,
3829,
2742,
13,
288,
1082,
202,
430,
261,
5668,
422,
446,
13,
288,
9506,
202,
12849,
394,
2754,
5621,
1082,
202,
97,
1082,
2... |
if (idx == tabFolder.getItemCount()) idx = 0; | public void addPart(IPresentablePart newPart, IPresentablePart position) { int idx = indexOf(position); if (idx == tabFolder.getItemCount()) idx = 0; createPartTab(newPart, idx); setControlSize(); } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/1f3843fe8162789eb313a39b251f51eaa5163737/BasicStackPresentation.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/BasicStackPresentation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
527,
1988,
12,
2579,
1581,
429,
1988,
394,
1988,
16,
2971,
1581,
429,
1988,
1754,
13,
288,
202,
202,
474,
2067,
273,
3133,
12,
3276,
1769,
202,
202,
430,
261,
3465,
422,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
527,
1988,
12,
2579,
1581,
429,
1988,
394,
1988,
16,
2971,
1581,
429,
1988,
1754,
13,
288,
202,
202,
474,
2067,
273,
3133,
12,
3276,
1769,
202,
202,
430,
261,
3465,
422,
... | |
album.addItemListener( this ); | album.addActionListener( this ); | private void jbInitEvents() { fetch.addActionListener( this ); upload.addActionListener( this ); browse.addActionListener( this ); newGallery.addActionListener( this ); gallery.addActionListener( this ); username.addCaretListener( this ); password.addCaretListener( this ); jMenuItemQuit.addActionListener( this... | 9402 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9402/479482292b2f0fd02e996191faf0ed69b7fe8f02/MainFrame.java/buggy/com/gallery/GalleryRemote/MainFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
20515,
2570,
3783,
1435,
288,
202,
202,
5754,
18,
1289,
1803,
2223,
12,
333,
11272,
202,
202,
6327,
18,
1289,
1803,
2223,
12,
333,
11272,
202,
202,
25731,
18,
1289,
1803,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
20515,
2570,
3783,
1435,
288,
202,
202,
5754,
18,
1289,
1803,
2223,
12,
333,
11272,
202,
202,
6327,
18,
1289,
1803,
2223,
12,
333,
11272,
202,
202,
25731,
18,
1289,
1803,
... |
if(Plugin.class.isAssignableFrom(clazz)) | int modifiers = clazz.getModifiers(); if(Plugin.class.isAssignableFrom(clazz) && !Modifier.isInterface(modifiers) && !Modifier.isAbstract(modifiers)) | public void loadPluginClass(String name) throws Exception { Class clazz = loadClass(MiscUtilities.fileToClass(name),false); if(Plugin.class.isAssignableFrom(clazz)) { Plugin plugin = (Plugin)clazz.newInstance(); System.out.println(" -- loaded plugin: " + clazz.getName()); jEdit.addPlugin(plugin); } } | 6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/3b3f81d530ce47fcca4f76a4b2d4c70674ca7967/JARClassLoader.java/buggy/org/gjt/sp/jedit/JARClassLoader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1262,
3773,
797,
12,
780,
508,
13,
202,
202,
15069,
1185,
202,
95,
202,
202,
797,
4003,
273,
16038,
12,
11729,
71,
11864,
18,
768,
774,
797,
12,
529,
3631,
5743,
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,
918,
1262,
3773,
797,
12,
780,
508,
13,
202,
202,
15069,
1185,
202,
95,
202,
202,
797,
4003,
273,
16038,
12,
11729,
71,
11864,
18,
768,
774,
797,
12,
529,
3631,
5743,
1769,
... |
m_root.setComplete(true); | public void endDocument() throws org.xml.sax.SAXException { // System.out.println("endDocument: "+m_id); m_root.setComplete(true); m_eventsCount = m_maxEventsToNotify; notifyWaiters(); Object synchObj = m_root; synchronized (synchObj) { m_sourceTreeHandler.endDocument(); popShouldStrip... | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/7bcd4fe17487a265fc35c75d972eba8342f496b8/SourceTreeHandler.java/clean/src/org/apache/xalan/stree/SourceTreeHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
679,
2519,
1435,
1216,
2358,
18,
2902,
18,
87,
651,
18,
55,
2501,
503,
225,
288,
565,
368,
2332,
18,
659,
18,
8222,
2932,
409,
2519,
30,
13773,
81,
67,
350,
1769,
377,
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,
282,
1071,
918,
679,
2519,
1435,
1216,
2358,
18,
2902,
18,
87,
651,
18,
55,
2501,
503,
225,
288,
565,
368,
2332,
18,
659,
18,
8222,
2932,
409,
2519,
30,
13773,
81,
67,
350,
1769,
377,
312,... | |
p.sysex[patchNameStart+(i*2)]=namebytes[i]; | ((Patch)p).sysex[patchNameStart+(i*2)]=namebytes[i]; | public void setPatchName(Patch p, String name) { if (patchNameSize==0) {JOptionPane.showMessageDialog(null, "The Driver for this patch does not support Patch Name Editing.","Error", JOptionPane.ERROR_MESSAGE); return; } if (name.length()<patchNameSize) name=name+" "; by... | 7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/b6e99a36d447b749f8ec1622f6d2477fcd586fcb/EmuProteusMPSSingleDriver.java/clean/JSynthLib/synthdrivers/EmuProteusMPS/EmuProteusMPSSingleDriver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
7332,
461,
12,
7332,
293,
16,
514,
508,
13,
225,
288,
565,
309,
261,
2272,
461,
1225,
631,
20,
13,
4202,
288,
46,
1895,
8485,
18,
4500,
1079,
6353,
12,
2011,
16,
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,
282,
1071,
918,
444,
7332,
461,
12,
7332,
293,
16,
514,
508,
13,
225,
288,
565,
309,
261,
2272,
461,
1225,
631,
20,
13,
4202,
288,
46,
1895,
8485,
18,
4500,
1079,
6353,
12,
2011,
16,
3639,... |
mLogger.info("getPost() Called =========[ SUPPORTED ]====="); mLogger.info(" PostId: " + postid); mLogger.info(" UserId: " + userid); | mLogger.debug("getPost() Called =========[ SUPPORTED ]====="); mLogger.debug(" PostId: " + postid); mLogger.debug(" UserId: " + userid); | public Object getPost(String postid, String userid, String password) throws Exception { mLogger.info("getPost() Called =========[ SUPPORTED ]====="); mLogger.info(" PostId: " + postid); mLogger.info(" UserId: " + userid); Roller roller = RollerFactory.g... | 46431 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46431/8303161b2baeb9ed6394bbe61608f373b4ca9fbf/MetaWeblogAPIHandler.java/clean/src/org/roller/presentation/xmlrpc/MetaWeblogAPIHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
14150,
12,
780,
1603,
350,
16,
514,
6709,
16,
514,
2201,
13,
5411,
1216,
1185,
288,
7734,
312,
3328,
18,
1376,
2932,
588,
3349,
1435,
11782,
422,
894,
12275,
63,
29556,
308,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
14150,
12,
780,
1603,
350,
16,
514,
6709,
16,
514,
2201,
13,
5411,
1216,
1185,
288,
7734,
312,
3328,
18,
1376,
2932,
588,
3349,
1435,
11782,
422,
894,
12275,
63,
29556,
308,
... |
public void dimInsert(Row row, String table, boolean newentry, String keyfield, boolean autoinc, Value technicalKey, String versionfield, ... | 58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/5f2d3456db02ff640ffd7d8a5ed4f458e0989468/Database.java/clean/kettle/src/be/ibridge/kettle/core/database/Database.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6459,
3509,
4600,
12,
1999,
492,
16,
202,
780,
2121,
16,
202,
6494,
2704,
4099,
16,
202,
780,
856,
1518,
16,
202,
6494,
5854,
885,
71,
16,
202,
58,
700,
278,
22528,
1706,
65... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6459,
3509,
4600,
12,
1999,
492,
16,
202,
780,
2121,
16,
202,
6494,
2704,
4099,
16,
202,
780,
856,
1518,
16,
202,
6494,
5854,
885,
71,
16,
202,
58,
700,
278,
22528,
1706,
65... | ||
for ( Iterator i = dependencies.iterator(); i.hasNext(); ) | for ( Iterator i = plugins.iterator(); i.hasNext(); ) | private void transformPomToReleaseVersionPom( MavenProject project ) throws MojoExecutionException { if ( !getReleaseProgress().verifyCheckpoint( ReleaseProgressTracker.CP_POM_TRANSFORMED_FOR_RELEASE ) ) { if ( !isSnapshot( project.getVersion() ) ) { thro... | 47160 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47160/22f9a34107d27782bab8e88b50b54708304b73dc/PrepareReleaseMojo.java/buggy/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PrepareReleaseMojo.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2510,
52,
362,
774,
7391,
1444,
52,
362,
12,
17176,
4109,
1984,
262,
3639,
1216,
18780,
565,
288,
3639,
309,
261,
401,
588,
7391,
5491,
7675,
8705,
14431,
12,
10819,
5491,
8135... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2510,
52,
362,
774,
7391,
1444,
52,
362,
12,
17176,
4109,
1984,
262,
3639,
1216,
18780,
565,
288,
3639,
309,
261,
401,
588,
7391,
5491,
7675,
8705,
14431,
12,
10819,
5491,
8135... |
OPT_BasicBlock origBlock = getOrigBlock (inst); | OPT_BasicBlock _origBlock = getOrigBlock (inst); | void move(OPT_Instruction inst, OPT_BasicBlock to) { OPT_BasicBlock origBlock = getOrigBlock (inst); OPT_Instruction cand = null; /* find a position within bestBlock */ if (dominator.dominates (origBlock.getNumber(), to.getNumber())) { // moved down, so insert in from OPT_Instruction last = ... | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/cb4d5807180265c43e09e55a868066d05d56274a/OPT_LICM.java/clean/rvm/src/vm/compilers/optimizing/optimizations/global/ssa/codePlacement/OPT_LICM.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
3635,
12,
15620,
67,
11983,
1804,
16,
16456,
67,
8252,
1768,
358,
13,
288,
565,
16456,
67,
8252,
1768,
389,
4949,
1768,
273,
336,
4741,
1768,
261,
8591,
1769,
565,
16456,
67,
11983,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
3635,
12,
15620,
67,
11983,
1804,
16,
16456,
67,
8252,
1768,
358,
13,
288,
565,
16456,
67,
8252,
1768,
389,
4949,
1768,
273,
336,
4741,
1768,
261,
8591,
1769,
565,
16456,
67,
11983,
... |
{ | { | public Container getContainer() { return textComponent; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4039,
9272,
1435,
202,
202,
95,
1377,
327,
977,
1841,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
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,
377,
1071,
4039,
9272,
1435,
202,
202,
95,
1377,
327,
977,
1841,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
addTaskAction = IDEActionFactory.ADD_TASK.create(getWindow()); | addTaskAction = IDEActionFactory.ADD_TASK.create(window); | protected void makeActions(IWorkbenchWindow window) { // @issue should obtain from ConfigurationItemFactory statusLineItem = new StatusLineContributionItem("ModeContributionItem"); //$NON-NLS-1$ newWizardAction = ActionFactory.NEW.create(getWindow()); register(newWizardAction); ne... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/1bde0643dd187b23bf57cd332e0997f6c371aaa1/WorkbenchActionBuilder.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/WorkbenchActionBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1221,
6100,
12,
45,
2421,
22144,
3829,
2742,
13,
288,
3639,
368,
632,
13882,
1410,
7161,
628,
4659,
1180,
1733,
3639,
1267,
30038,
273,
394,
2685,
1670,
442,
4027,
1180,
2932,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1221,
6100,
12,
45,
2421,
22144,
3829,
2742,
13,
288,
3639,
368,
632,
13882,
1410,
7161,
628,
4659,
1180,
1733,
3639,
1267,
30038,
273,
394,
2685,
1670,
442,
4027,
1180,
2932,
... |
udpService = new Service( name, TransportType.DATAGRAM, port ); tcpService = new Service( name, TransportType.SOCKET, port ); registry.bind( udpService, handler ); registry.bind( tcpService, handler ); | acceptor.bind( new InetSocketAddress( port ), handler ); | public DnsServer(DnsConfiguration config, ServiceRegistry registry, RecordStore store) { this.config = config; this.registry = registry; this.store = store; String name = config.getName(); int port = config.getPort(); try { handler = new DnsProtocolHand... | 10677 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10677/05ad6b2f1dfc0a667fdae4160212ce3cf4f8151a/DnsServer.java/buggy/protocol-dns/src/main/java/org/apache/directory/server/dns/DnsServer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
28456,
2081,
12,
18600,
1750,
642,
16,
1956,
4243,
4023,
16,
5059,
2257,
1707,
13,
565,
288,
3639,
333,
18,
1425,
273,
642,
31,
3639,
333,
18,
9893,
273,
4023,
31,
3639,
333,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
28456,
2081,
12,
18600,
1750,
642,
16,
1956,
4243,
4023,
16,
5059,
2257,
1707,
13,
565,
288,
3639,
333,
18,
1425,
273,
642,
31,
3639,
333,
18,
9893,
273,
4023,
31,
3639,
333,
18,
... |
String global, boolean flat); | String global, boolean flat); | public Object newRegExp(Context cx, Scriptable scope, String source, String global, boolean flat); | 12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/fb69c14ae4e860dfb5b5df7d866e510acca73ed9/RegExpProxy.java/buggy/js/rhino/src/org/mozilla/javascript/RegExpProxy.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
394,
13673,
12,
1042,
9494,
16,
22780,
2146,
16,
514,
1084,
16,
4766,
2398,
514,
2552,
16,
1250,
3569,
1769,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
394,
13673,
12,
1042,
9494,
16,
22780,
2146,
16,
514,
1084,
16,
4766,
2398,
514,
2552,
16,
1250,
3569,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
return TableSorter.DESCENDING; | return TableComparator.DESCENDING; | public int getDefaultDirection() { return TableSorter.DESCENDING; } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/b34bac03ab70048a4b238ebb6ad2383d1ae284b3/FieldPriority.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/FieldPriority.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
4829,
8212,
1435,
288,
202,
202,
2463,
3555,
24952,
18,
10964,
12280,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
4829,
8212,
1435,
288,
202,
202,
2463,
3555,
24952,
18,
10964,
12280,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
String enc = serverInfo.getProperty(ENCODING, "UTF-8"); | String enc = serverInfo.getProperty(Configuration.ENCODING, "UTF-8"); | public static void main(String args[]) { Runtime.getRuntime().addShutdownHook(new Thread() { public void run() { Shutdown.shutdown(); } }); // load server defaults configuration try { serverInfo.load(AppServer.class.getResourceAsStream("/conf/snipsnap.conf")); } catch (IOException... | 6853 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6853/bd335d59f4f784dcaffcc5850ea73efff2300495/AppServer.java/buggy/src/org/snipsnap/server/AppServer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
2774,
12,
780,
833,
63,
5717,
288,
565,
2509,
18,
588,
5576,
7675,
1289,
10961,
5394,
12,
2704,
4884,
1435,
288,
1377,
1071,
918,
1086,
1435,
288,
3639,
17640,
18,
15132,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
2774,
12,
780,
833,
63,
5717,
288,
565,
2509,
18,
588,
5576,
7675,
1289,
10961,
5394,
12,
2704,
4884,
1435,
288,
1377,
1071,
918,
1086,
1435,
288,
3639,
17640,
18,
15132,
... |
} else if (getFormConfiguration().captchaFieldIsOnCheckPage() && ACTION_CONFIRMED.equals(getRequest().getParameter(PARAM_FORMACTION)) && !validationCorrect) { | } else if (getFormConfiguration().captchaFieldIsOnCheckPage() && ACTION_CONFIRMED.equals(getRequest().getParameter(PARAM_FORMACTION)) && !validate()) { | public boolean showCheck() { boolean result = false; boolean validationCorrect = validate(); if (getFormConfiguration().getShowCheck() && ACTION_SUBMIT.equals(getRequest().getParameter(PARAM_FORMACTION))) { result = true; } else if (getFormConfiguration().captc... | 51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/f0f12c4913fd8751ca68b32444bbf5f77c976de9/CmsFormHandler.java/buggy/src-modules/org/opencms/frontend/templateone/form/CmsFormHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
2405,
1564,
1435,
288,
7734,
1250,
563,
273,
629,
31,
3639,
1250,
3379,
16147,
273,
1954,
5621,
7734,
309,
261,
588,
1204,
1750,
7675,
588,
5706,
1564,
1435,
597,
11385,
67,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
2405,
1564,
1435,
288,
7734,
1250,
563,
273,
629,
31,
3639,
1250,
3379,
16147,
273,
1954,
5621,
7734,
309,
261,
588,
1204,
1750,
7675,
588,
5706,
1564,
1435,
597,
11385,
67,
8... |
int defaultVal = extend+restrict+list+union+substitute; | int defaultVal = extend+restrict+substitute; | private int parseBlockSet (String blockString) throws Exception { if( blockString == null) return fBlockDefault; else if ( blockString.equals (SchemaSymbols.ATTVAL_POUNDALL) ) { return SchemaSymbols.SUBSTITUTION+SchemaSymbols.EXTENSION+SchemaSymbols.LIST+... | 1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/23ae44560d6bd8800691f13371bc64acd5f995ae/TraverseSchema.java/buggy/src/org/apache/xerces/validators/schema/TraverseSchema.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
1109,
1768,
694,
261,
780,
1203,
780,
13,
225,
1216,
1185,
565,
288,
5411,
309,
12,
1203,
780,
422,
446,
13,
1171,
327,
284,
1768,
1868,
31,
5411,
469,
309,
261,
1203,
780,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
1109,
1768,
694,
261,
780,
1203,
780,
13,
225,
1216,
1185,
565,
288,
5411,
309,
12,
1203,
780,
422,
446,
13,
1171,
327,
284,
1768,
1868,
31,
5411,
469,
309,
261,
1203,
780,
... |
ProjectUtil.createNewProject(null); | try { BrowserUtil.launchBrowser(KEYMAP_URL); } catch (IllegalThreadStateException ex) { } | protected void onPress(InputEvent e) { ProjectUtil.createNewProject(null); } | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/057c1fc4eca73d8d659037771b3e5b73e8b81dd3/WelcomeScreen.java/clean/source/com/intellij/openapi/wm/impl/welcomeScreen/WelcomeScreen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
4750,
918,
603,
11840,
12,
1210,
1133,
425,
13,
288,
3639,
775,
288,
15408,
1304,
18,
20738,
9132,
12,
3297,
8352,
67,
1785,
1769,
289,
1044,
261,
12195,
3830,
5060,
431,
13,
288,
225,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4202,
4750,
918,
603,
11840,
12,
1210,
1133,
425,
13,
288,
3639,
775,
288,
15408,
1304,
18,
20738,
9132,
12,
3297,
8352,
67,
1785,
1769,
289,
1044,
261,
12195,
3830,
5060,
431,
13,
288,
225,
... |
File pedFile = new File(inputOptions[0]); | File inFile = new File(inputOptions[0]); | void readPedGenotypes(String[] f, int type){ //input is a 3 element array with //inputOptions[0] = ped file //inputOptions[1] = info file (null if none) //inputOptions[2] = max comparison distance (don't compute d' if markers are greater than this dist apart) //type is either 3 or... | 51222 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51222/74b6b739164a324ce0d6aa10c62d5cca5cc16768/HaploView.java/buggy/edu/mit/wi/haploview/HaploView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
855,
52,
329,
7642,
20297,
12,
780,
8526,
284,
16,
509,
618,
15329,
3639,
368,
2630,
353,
279,
890,
930,
526,
598,
3639,
368,
2630,
1320,
63,
20,
65,
273,
31840,
585,
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,
918,
855,
52,
329,
7642,
20297,
12,
780,
8526,
284,
16,
509,
618,
15329,
3639,
368,
2630,
353,
279,
890,
930,
526,
598,
3639,
368,
2630,
1320,
63,
20,
65,
273,
31840,
585,
3639,
368,
... |
public Effect pieceMoved (BangObject bangobj, Piece piece) | public void pieceMoved (BangObject bangobj, Piece piece) | public Effect pieceMoved (BangObject bangobj, Piece piece) { return null; } | 8059 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8059/61174950174b0f249df257a59cb9325ec9646940/Scenario.java/buggy/src/java/com/threerings/bang/game/server/scenario/Scenario.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
11151,
25317,
261,
38,
539,
921,
324,
539,
2603,
16,
453,
8414,
11151,
13,
565,
288,
3639,
327,
446,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
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,
11151,
25317,
261,
38,
539,
921,
324,
539,
2603,
16,
453,
8414,
11151,
13,
565,
288,
3639,
327,
446,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
log.finest("\n" + Util.dumpString(sfBytes, "+++ sfBytes ")); | log.finest("\n" + Util.dumpString(sfBytes, "+++ sfBytes ")); | void writeSF(JarOutputStream jar) throws IOException { if (this.state != FINISHED) throw new IllegalStateException("Helper is NOT finished"); ByteArrayOutputStream baos = new ByteArrayOutputStream(); JarUtils.writeSFManifest(sfMainAttributes, sfEntries, baos); sfBytes = baos.toByteArray(); log.fi... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/a0a1b5a96bc35d919f1dc104ff6cc513e7610801/SFHelper.java/clean/core/src/classpath/tools/gnu/classpath/tools/jarsigner/SFHelper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
1045,
22395,
12,
10813,
4632,
7334,
13,
1216,
1860,
225,
288,
565,
309,
261,
2211,
18,
2019,
480,
25768,
2056,
13,
1377,
604,
394,
5477,
2932,
2276,
353,
4269,
6708,
8863,
565,
11559... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
1045,
22395,
12,
10813,
4632,
7334,
13,
1216,
1860,
225,
288,
565,
309,
261,
2211,
18,
2019,
480,
25768,
2056,
13,
1377,
604,
394,
5477,
2932,
2276,
353,
4269,
6708,
8863,
565,
11559... |
random = new Random(17); | layout.random = new Random(17); | public static void simAnnealAssign(FlatNode node) { System.out.println("Simulated Annealing Assignment"); int nsucc =0, j = 0; double currentCost = 0.0, minCost = 0.0; //number of paths tried at an iteration int nover = 100; //* RawBackend.rawRows * RawBackend.rawColumns; try { init(node); random = new ... | 5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/5b2a87706aed7992affe11d823069f4e5bc6fc36/Layout.java/clean/streams/src/at/dms/kjc/raw/Layout.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
3142,
979,
4644,
287,
4910,
12,
16384,
907,
756,
13,
377,
288,
202,
3163,
18,
659,
18,
8222,
2932,
7993,
11799,
1922,
4644,
287,
310,
15499,
8863,
202,
474,
3153,
89,
95... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
3142,
979,
4644,
287,
4910,
12,
16384,
907,
756,
13,
377,
288,
202,
3163,
18,
659,
18,
8222,
2932,
7993,
11799,
1922,
4644,
287,
310,
15499,
8863,
202,
474,
3153,
89,
95... |
+ "\n\nCheck network connection.", e)); | + "\n\nCheck network connection.", e)); | protected List<AbstractQueryHit> performQuery(AbstractRepositoryQuery repositoryQuery, final IProgressMonitor monitor, MultiStatus queryStatus) { if (!(repositoryQuery instanceof JiraRepositoryQuery)) { return Collections.emptyList(); } final JiraRepositoryQuery jiraRepositoryQuery = (JiraRepositoryQuery) repos... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/8488498a51ba5cd9d5edff02a2a327fe4773890c/JiraRepositoryConnector.java/clean/org.eclipse.mylyn.jira.ui/src/org/eclipse/mylyn/internal/jira/JiraRepositoryConnector.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
987,
32,
7469,
1138,
13616,
34,
3073,
1138,
12,
7469,
3305,
1138,
3352,
1138,
16,
1082,
202,
6385,
467,
5491,
7187,
6438,
16,
5991,
1482,
843,
1482,
13,
288,
202,
202,
430,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
987,
32,
7469,
1138,
13616,
34,
3073,
1138,
12,
7469,
3305,
1138,
3352,
1138,
16,
1082,
202,
6385,
467,
5491,
7187,
6438,
16,
5991,
1482,
843,
1482,
13,
288,
202,
202,
430,
1... |
WorkbenchWindow win = (WorkbenchWindow) window; if (win != null) { WorkbenchPage page = win.getActiveWorkbenchPage(); if (page != null) { IPerspectiveDescriptor perspectives[] = page .getOpenPerspectives(); for (int i = 0; i < perspectives.length; i++) { IPerspectiveDescriptor persp = perspectives[i]; if (perspecti... | WorkbenchWindow win = (WorkbenchWindow) window; if (win != null) { WorkbenchPage page = win.getActiveWorkbenchPage(); if (page != null) { IPerspectiveDescriptor perspectives[] = page .getOpenPerspectives(); for (int i = 0; i < perspectives.length; i++) { IPerspectiveDescriptor persp = perspectives[i]; if (perspecti... | public IWorkbenchPage showPerspective(String perspectiveId, IWorkbenchWindow window) throws WorkbenchException { Assert.isNotNull(perspectiveId); // If the specified window has the requested perspective open, then the // window // is given focus and the perspective is shown. T... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/9337b828e86179850647141c34d497be28275ed2/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
467,
2421,
22144,
1964,
2405,
14781,
16772,
12,
780,
26651,
548,
16,
5411,
467,
2421,
22144,
3829,
2742,
13,
1216,
4147,
22144,
503,
288,
3639,
5452,
18,
291,
5962,
12,
10422,
16772,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
467,
2421,
22144,
1964,
2405,
14781,
16772,
12,
780,
26651,
548,
16,
5411,
467,
2421,
22144,
3829,
2742,
13,
1216,
4147,
22144,
503,
288,
3639,
5452,
18,
291,
5962,
12,
10422,
16772,
... |
Commandline cl = StarteamCommandLineUtils.createStarteamBaseCommandLine( "add", toBeAddedFile, repo ); | Commandline cl = StarteamCommandLineUtils.createStarteamBaseCommandLine( "add", scmFileSet, repo ); | static Commandline createCommandLine( StarteamScmProviderRepository repo, File toBeAddedFile, String issue ) { Commandline cl = StarteamCommandLineUtils.createStarteamBaseCommandLine( "add", toBeAddedFile, repo ); if ( issue != null && issue.length() > 0 ) { cl.createArgument().se... | 48502 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48502/e75a8292d17bf2c67ba0aedf8478c856ecc161f3/StarteamAddCommand.java/clean/maven-scm-providers/maven-scm-provider-starteam/src/main/java/org/apache/maven/scm/provider/starteam/command/add/StarteamAddCommand.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
3498,
1369,
752,
21391,
12,
3603,
3820,
1541,
81,
2249,
3305,
3538,
16,
1387,
21333,
8602,
812,
16,
514,
5672,
262,
565,
288,
3639,
3498,
1369,
927,
273,
3603,
3820,
21391,
1989,
18,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
3498,
1369,
752,
21391,
12,
3603,
3820,
1541,
81,
2249,
3305,
3538,
16,
1387,
21333,
8602,
812,
16,
514,
5672,
262,
565,
288,
3639,
3498,
1369,
927,
273,
3603,
3820,
21391,
1989,
18,... |
log.error(ioError); | System.err.println(ioError); | public static void main(String[] args) { String config="config.txt"; BufferedReader fileReader; String line; boolean sender=false; int num_msgs=1000; int msg_size=500; int num_senders=1; long log_interval=1000; ServerSocket srv_sock; List nodes... | 50160 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50160/13de68466e3cf7fde6ee0bde0cee09a33e837e89/Test.java/buggy/tests/other/org/jgroups/tests/adapttcp/Test.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
514,
642,
1546,
1425,
18,
5830,
14432,
3639,
10633,
585,
2514,
31,
3639,
514,
980,
31,
3639,
1250,
5793,
33,
5743,
31,
3639,
509... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
514,
642,
1546,
1425,
18,
5830,
14432,
3639,
10633,
585,
2514,
31,
3639,
514,
980,
31,
3639,
1250,
5793,
33,
5743,
31,
3639,
509... |
int x0 = getLocation().x; | public int columnAtPoint(Point point) { if (point != null) { int x0 = getLocation().x; int ncols = getColumnCount(); Dimension gap = getIntercellSpacing(); TableColumnModel cols = getColumnModel(); int x = point.x; for (int i = 0; i < ncols; ++i) { ... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e8a49a412752cdcc88a774cac2de160a23c6f550/JTable.java/clean/core/src/classpath/javax/javax/swing/JTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
1057,
861,
2148,
12,
2148,
1634,
13,
225,
288,
565,
309,
261,
1153,
480,
446,
13,
1377,
288,
9079,
509,
21330,
273,
6716,
1380,
5621,
3639,
13037,
9300,
273,
336,
2465,
3855,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1057,
861,
2148,
12,
2148,
1634,
13,
225,
288,
565,
309,
261,
1153,
480,
446,
13,
1377,
288,
9079,
509,
21330,
273,
6716,
1380,
5621,
3639,
13037,
9300,
273,
336,
2465,
3855,
... | |
serial = mol.getAtomNumber(ca); | serial = mol.getAtomNumber(connectedAtom); | private void writeMolecule(IMoleculeSet som) throws IOException { //int na = 0; //String info = ""; String sym; double chrg; //boolean writecharge = true; for (int molnum = 0; molnum < som.getMoleculeCount(); molnum++) { IMolecule mol = som.getMolecule(molnum); ... | 45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/ac0a6b18a6d245827364b5448594afbcc11a0a28/HINWriter.java/clean/src/org/openscience/cdk/io/HINWriter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1045,
29669,
12,
3445,
10545,
694,
4737,
13,
1216,
1860,
288,
3639,
368,
474,
9583,
273,
374,
31,
3639,
368,
780,
1123,
273,
1408,
31,
3639,
514,
5382,
31,
3639,
1645,
4513,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
29669,
12,
3445,
10545,
694,
4737,
13,
1216,
1860,
288,
3639,
368,
474,
9583,
273,
374,
31,
3639,
368,
780,
1123,
273,
1408,
31,
3639,
514,
5382,
31,
3639,
1645,
4513,
... |
DebuggerTreeNodeImpl child = (DebuggerTreeNodeImpl)e.nextElement(); NodeDescriptorImpl descriptor = child.getDescriptor(); if(descriptor != null) { if (descriptor instanceof LocalVariableDescriptorImpl) { if (((LocalVariableDescriptorImpl) descriptor).isNewLocal() && getDebuggerContext().getDebuggerSession().isStepping... | final DebuggerTreeNodeImpl child = (DebuggerTreeNodeImpl)e.nextElement(); final NodeDescriptorImpl descriptor = child.getDescriptor(); if(!(descriptor instanceof LocalVariableDescriptorImpl)) { continue; | public void threadAction() { super.threadAction(); DebuggerTreeNodeImpl rootNode; final ThreadReferenceProxyImpl currentThread = getDebuggerContext().getThreadProxy(); if(currentThread == null) return; try { StackFrameProxyImpl frame = getDebuggerContext().getFrameProxy(); if ... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/84b20496caf8e6402adec0168964a1bb5832373f/FrameDebuggerTree.java/clean/source/com/intellij/debugger/ui/impl/FrameDebuggerTree.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2650,
1803,
1435,
288,
1377,
2240,
18,
5930,
1803,
5621,
1377,
28645,
12513,
2828,
10181,
31,
1377,
727,
4884,
2404,
3886,
2828,
11800,
273,
336,
24113,
1042,
7675,
588,
3830,
38... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2650,
1803,
1435,
288,
1377,
2240,
18,
5930,
1803,
5621,
1377,
28645,
12513,
2828,
10181,
31,
1377,
727,
4884,
2404,
3886,
2828,
11800,
273,
336,
24113,
1042,
7675,
588,
3830,
38... |
} Certificate cert = new Certificate(); cert.readBytes(bais); long msgId = DataHelper.readLong(bais, 4); Date expiration = DataHelper.readDate(bais); set.setCertificate(cert); set.setMessageId(msgId); set.setExpiration(expiration.getTime()); return set; } catch (IOException ioe) { _log.error("Error reading clove set"... | private CloveSet readCloveSet(byte data[]) { Set cloves = new HashSet(); ByteArrayInputStream bais = new ByteArrayInputStream(data); try { CloveSet set = new CloveSet(); int numCloves = (int)DataHelper.readLong(bais, 1); _log.debug("# cloves to read:... | 27433 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27433/1107e50108f2845c6b117044e0ab95019b20a309/GarlicMessageParser.java/clean/router/java/src/net/i2p/router/message/GarlicMessageParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
22442,
537,
694,
855,
4082,
537,
694,
12,
7229,
501,
63,
5717,
288,
3639,
1000,
1219,
3324,
273,
394,
6847,
5621,
3639,
16180,
9846,
291,
273,
394,
16180,
12,
892,
1769,
3639,
775,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22442,
537,
694,
855,
4082,
537,
694,
12,
7229,
501,
63,
5717,
288,
3639,
1000,
1219,
3324,
273,
394,
6847,
5621,
3639,
16180,
9846,
291,
273,
394,
16180,
12,
892,
1769,
3639,
775,
... | |
SecurityManager sm = Runtime.securityManager; | SecurityManager sm = SecurityManager.current; | public static void setProperties(Properties properties) { SecurityManager sm = Runtime.securityManager; // Be thread-safe. if (sm != null) sm.checkPropertiesAccess(); if (properties == null) { // Note that we use clone here and not new. Some programs // assume that the system properties do not ha... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/206de32e8ebd7bc5080236c5c9ea198dd5243913/System.java/buggy/core/src/classpath/java/java/lang/System.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
23126,
12,
2297,
1790,
13,
225,
288,
565,
6036,
1318,
3029,
273,
6036,
1318,
18,
2972,
31,
368,
4823,
2650,
17,
4626,
18,
565,
309,
261,
4808,
480,
446,
13,
1377,
3029,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
23126,
12,
2297,
1790,
13,
225,
288,
565,
6036,
1318,
3029,
273,
6036,
1318,
18,
2972,
31,
368,
4823,
2650,
17,
4626,
18,
565,
309,
261,
4808,
480,
446,
13,
1377,
3029,
... |
receiveMessage("You must select an agent in the list first and add one if none is already present"); | receiveMessage("You must select an agent in the list first or add one if none is already present"); | private int getIndex() { int n = agentList.getSelectedIndex(); if (n == -1) { receiveMessage("You must select an agent in the list first and add one if none is already present"); } return agentList.getSelectedIndex(); } | 23362 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/23362/fa5a996c0fc1921a71bd3e973d207e138f215eb8/PenguinApplet.java/buggy/src/org/objectweb/proactive/examples/penguin/PenguinApplet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
509,
8088,
1435,
288,
565,
509,
290,
273,
4040,
682,
18,
588,
7416,
1016,
5621,
565,
309,
261,
82,
422,
300,
21,
13,
288,
1377,
6798,
1079,
2932,
6225,
1297,
2027,
392,
4040,
316,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
509,
8088,
1435,
288,
565,
509,
290,
273,
4040,
682,
18,
588,
7416,
1016,
5621,
565,
309,
261,
82,
422,
300,
21,
13,
288,
1377,
6798,
1079,
2932,
6225,
1297,
2027,
392,
4040,
316,... |
new ErrorStatus("filename property not set. Assuming [" + filename | new WarnStatus("filename property not set. Assuming [" + filename | public void start() throws Exception { if (filename == null) { String jettyHomeProperty = System.getProperty("jetty.home"); filename = jettyHomeProperty + File.separatorChar + DEFAULT_CONFIG_FILE; getStatusManager().add( new ErrorStatus("filename property not set. Assuming [" + filename ... | 47402 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47402/ad921370b11c2d5450b34e8fb16ee195cd947f7c/RequestLogImpl.java/buggy/logback-access/src/main/java/ch/qos/logback/access/jetty/RequestLogImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
787,
1435,
1216,
1185,
288,
565,
309,
261,
3459,
422,
446,
13,
288,
1377,
514,
525,
22084,
8684,
1396,
273,
2332,
18,
588,
1396,
2932,
78,
22084,
18,
8712,
8863,
1377,
1544,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
787,
1435,
1216,
1185,
288,
565,
309,
261,
3459,
422,
446,
13,
288,
1377,
514,
525,
22084,
8684,
1396,
273,
2332,
18,
588,
1396,
2932,
78,
22084,
18,
8712,
8863,
1377,
1544,
... |
if( newElement != null ) { final String onFocusHandler = newElement.getAttributeValue("onfocus"); if( onFocusHandler.length() != 0 ) { final HtmlPage currentPage = newElement.getPage(); final Page newPage = currentPage.executeJavaScriptIfPossible( onFocusHandler, "OnFocus handler", true, newElement).getNewPage(); if... | if( currentPage != newPage ) { elementWithFocus_ = null; return false; | public boolean moveFocusToElement( final HtmlElement newElement ) { if( elementWithFocus_ == newElement ) { // nothing to do return true; } // TODO: This is an incredibly inefficient way to find out if the element is tabbable. // Refactor this into something reasona... | 3508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3508/efd75a9ac94ddbd24e3b33ff0b28e78acaaa4af1/WebClient.java/clean/htmlunit/src/java/com/gargoylesoftware/htmlunit/WebClient.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
3635,
9233,
774,
1046,
12,
727,
5430,
1046,
31308,
262,
288,
3639,
309,
12,
930,
1190,
9233,
67,
422,
31308,
262,
288,
5411,
368,
5083,
358,
741,
5411,
327,
638,
31,
3639,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
3635,
9233,
774,
1046,
12,
727,
5430,
1046,
31308,
262,
288,
3639,
309,
12,
930,
1190,
9233,
67,
422,
31308,
262,
288,
5411,
368,
5083,
358,
741,
5411,
327,
638,
31,
3639,
2... |
if ( m_AutoResponse == null) { | if (m_AutoResponse == null) { | public void getAutoresponse(Commandline cmd) { if ( m_AutoResponse == null) { cmd.createArgument().setValue(FLAG_AUTORESPONSE_DEF); } else if ( m_AutoResponse.equalsIgnoreCase("Y")) { cmd.createArgument().setValue(FLAG_AUTORESPONSE_YES); } else if ( m_AutoResponse.equalsIg... | 17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/0dab862ee09d706c3f373fc18bedbf17caf427b9/MSVSSCHECKIN.java/clean/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSCHECKIN.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26707,
2740,
12,
2189,
1369,
1797,
13,
288,
3639,
309,
261,
81,
67,
4965,
1064,
422,
446,
13,
288,
5411,
1797,
18,
2640,
1379,
7675,
542,
620,
12,
9651,
67,
37,
1693,
8607,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26707,
2740,
12,
2189,
1369,
1797,
13,
288,
3639,
309,
261,
81,
67,
4965,
1064,
422,
446,
13,
288,
5411,
1797,
18,
2640,
1379,
7675,
542,
620,
12,
9651,
67,
37,
1693,
8607,
... |
if (jj_3R_187()) jj_scanpos = xsp; | if (jj_3R_324()) jj_scanpos = xsp; | final private boolean jj_3R_59() { if (jj_scan_token(IDENTIFIER)) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_186()) jj_scanpos = xsp; xsp = jj_scanpos; if (jj_3R_187()) jj_scanpos = xsp; return false; } | 41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/2c4cc3303f04cdb3883f34b25cfe841b0bdf1fb5/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
6162,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
16606,
3719,
327,
638,
31,
565,
3155,
619,
1752,
31,
565,
619,
1752,
273,
10684... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
6162,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
16606,
3719,
327,
638,
31,
565,
3155,
619,
1752,
31,
565,
619,
1752,
273,
10684... |
if (id == null) { id = configurationElement.getAttribute(ATT_ID); } if (id == null) { id = DEFAULT_ID; | if (visibilityId == null) { visibilityId = definedId; | private void init() { try { // we try the id attribute if no override id was supplied. if (id == null) { id = configurationElement.getAttribute(ATT_ID); } // if there was no id attribute, use the default id. if (id == null) { id = DEFAULT_ID; } dependsOnId = configurationElement.getAttribute(ATT_D... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/5ba42d658418932dd87c4f6692a18456781cacf2/CommonActionProviderDescriptor.java/buggy/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/actions/CommonActionProviderDescriptor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1208,
1435,
288,
202,
202,
698,
288,
1082,
202,
759,
732,
775,
326,
612,
1566,
309,
1158,
3849,
612,
1703,
4580,
18,
1082,
202,
430,
261,
350,
422,
446,
13,
288,
9506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1435,
288,
202,
202,
698,
288,
1082,
202,
759,
732,
775,
326,
612,
1566,
309,
1158,
3849,
612,
1703,
4580,
18,
1082,
202,
430,
261,
350,
422,
446,
13,
288,
9506,
... |
URL url= getClass().getResource("icons/Save24.gif"); JButton button= new JButton(new ImageIcon(url)); button.setToolTipText( "Store the modified data back into the database."); | URL url = getClass().getResource("icons/Save24.gif"); JButton button = new JButton(new ImageIcon(url)); button .setToolTipText("Store the modified data back into the database."); | private void setupComponents() throws XMLDBException { JToolBar toolbar= new JToolBar(); URL url= getClass().getResource("icons/Save24.gif"); JButton button= new JButton(new ImageIcon(url)); button.setToolTipText( "Store the modified data back into the database."); button.addActionListener(new ActionListener() ... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/96a020d1e295b0656cc0cf89c67a713d91bb61ad/DocumentView.java/buggy/src/org/exist/client/DocumentView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3875,
7171,
1435,
1216,
26014,
503,
288,
202,
202,
46,
6364,
5190,
12748,
33,
394,
804,
6364,
5190,
5621,
202,
202,
1785,
880,
33,
2900,
7675,
588,
1420,
2932,
14516,
19,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3875,
7171,
1435,
1216,
26014,
503,
288,
202,
202,
46,
6364,
5190,
12748,
33,
394,
804,
6364,
5190,
5621,
202,
202,
1785,
880,
33,
2900,
7675,
588,
1420,
2932,
14516,
19,
... |
return dialog.open() == 0; | dialog.open(); return dialog; | public static boolean openConfirm(Shell parent, String title, String message, String toggleMessage, boolean toggleState) { MessageDialogWithToggle dialog = new MessageDialogWithToggle( parent, title, null, // accept the default window icon message, QUESTION, new String[] {IDialogConstants.OK_LABEL, IDialo... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/4320f5cf5ef7ceef49def03f1ae5cb6e8cf3eac3/MessageDialogWithToggle.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/MessageDialogWithToggle.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1250,
1696,
11269,
12,
13220,
982,
16,
514,
2077,
16,
514,
883,
16,
514,
10486,
1079,
16,
1250,
10486,
1119,
13,
288,
202,
202,
1079,
6353,
1190,
17986,
6176,
273,
394,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1250,
1696,
11269,
12,
13220,
982,
16,
514,
2077,
16,
514,
883,
16,
514,
10486,
1079,
16,
1250,
10486,
1119,
13,
288,
202,
202,
1079,
6353,
1190,
17986,
6176,
273,
394,
2... |
Token t = gen.findTokenAfter(vt.getType()); if(t!=null) { gen.add(new SpanMarker(lineMap,t, getCssClass(e,"d"),buildId(e))); | if(e.getKind()!= ElementKind.ENUM_CONSTANT) { Token t = gen.findTokenAfter(vt.getType()); if(t!=null) { gen.add(new SpanMarker(lineMap,t, getCssClass(e,"d"),buildId(e))); } } else { gen.add(new SpanMarker(cu,srcPos,vt,getCssClass(e,"d"),buildId(e))); | protected void configure(final CompilationUnitTree cu, final HtmlGenerator gen) throws IOException { final LineMap lineMap = cu.getLineMap(); final LinkResolver linkResolver = linkResolverFactory.create(cu,this); // add lexical markers JavaLexer lexer = new JavaLexer(new StringReader(gen... | 48783 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48783/6fdff9a022b9d6f4b891aaf933b45c823d04fc72/ParsedSourceSet.java/buggy/core/src/main/java/org/jvnet/sorcerer/ParsedSourceSet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
5068,
12,
6385,
22416,
2802,
2471,
15985,
16,
727,
5430,
3908,
3157,
13,
1216,
1860,
288,
3639,
727,
5377,
863,
980,
863,
273,
15985,
18,
588,
1670,
863,
5621,
3639,
727,
4048,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5068,
12,
6385,
22416,
2802,
2471,
15985,
16,
727,
5430,
3908,
3157,
13,
1216,
1860,
288,
3639,
727,
5377,
863,
980,
863,
273,
15985,
18,
588,
1670,
863,
5621,
3639,
727,
4048,... |
String m = Context.getMessage1("msg.incompat.call", "toString"); throw NativeGlobal.constructError(cx, "TypeError", m, funObj); | throw NativeGlobal.typeError1 ("msg.incompat.call", "toString", funObj); | public static Object jsFunction_toString(Context cx, Scriptable thisObj, Object[] args, Function funObj) { Object val = thisObj.getDefaultValue(ScriptRuntime.FunctionClass); if (!(val instanceof NativeFunction)) { String m = Context.getMessage1... | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/b02ef84e1ee1b7785116d47aef2410fd5d98b65a/NativeFunction.java/clean/src/org/mozilla/javascript/NativeFunction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
3828,
2083,
67,
10492,
12,
1042,
9494,
16,
22780,
15261,
16,
4766,
2398,
1033,
8526,
833,
16,
4284,
9831,
2675,
13,
565,
288,
3639,
1033,
1244,
273,
15261,
18,
588,
15646... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3828,
2083,
67,
10492,
12,
1042,
9494,
16,
22780,
15261,
16,
4766,
2398,
1033,
8526,
833,
16,
4284,
9831,
2675,
13,
565,
288,
3639,
1033,
1244,
273,
15261,
18,
588,
15646... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.