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 |
|---|---|---|---|---|---|---|
addAlert(state, INUSE_ERROR_MESSAGE + rb.getString("submiss")); | addAlert(state, rb.getString("somelsis") + " " + rb.getString("submiss")); | public void doSave_submission(RunData data) { SessionState state = ((JetspeedRunData) data).getPortletSessionState(((JetspeedRunData) data).getJs_peid()); ParameterParser params = data.getParameters(); // retrieve the submission text (as formatted text) boolean checkForFormattingErrors = true; // the student is su... | 2021 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2021/8d98215f7709f2df6e2db1d19cd5dd26b4804aaa/AssignmentAction.java/buggy/assignment/assignment-tool/tool/src/java/org/sakaiproject/assignment/tool/AssignmentAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
741,
4755,
67,
12684,
12,
1997,
751,
501,
13,
202,
95,
202,
202,
2157,
1119,
919,
273,
14015,
46,
2413,
5868,
1997,
751,
13,
501,
2934,
588,
18566,
2157,
1119,
12443,
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,
918,
741,
4755,
67,
12684,
12,
1997,
751,
501,
13,
202,
95,
202,
202,
2157,
1119,
919,
273,
14015,
46,
2413,
5868,
1997,
751,
13,
501,
2934,
588,
18566,
2157,
1119,
12443,
12,... |
if (TRACEKEYS){ System.out.println("Generated key "+keybytes.toString()+ " for user "+user.toString()); | if (TRACEKEYS) { System.out.println("Generated key " + keybytes.toString() + " for user " + user.toString()); | private void issueNewKey(SGSUser user) { synchronized(currentKeys){ SGSUUID key = new StatisticalUUID(); BYTEARRAY keybytes = new BYTEARRAY(key.toByteArray()); currentKeys.put(user.getUserID(), keybytes); try { user.reconnectKeyReceived(keybytes.data(), keySecondsToLive); } catch (IOException e) {... | 55380 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55380/e047e05d2003e5cda1e707141a6bb130a66b50e0/RouterImpl.java/buggy/src/com/sun/gi/comm/routing/impl/RouterImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
5672,
1908,
653,
12,
55,
16113,
1299,
729,
13,
288,
202,
202,
22043,
12,
2972,
2396,
15329,
1082,
202,
55,
16113,
5562,
498,
273,
394,
8269,
376,
1706,
5562,
5621,
1082,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5672,
1908,
653,
12,
55,
16113,
1299,
729,
13,
288,
202,
202,
22043,
12,
2972,
2396,
15329,
1082,
202,
55,
16113,
5562,
498,
273,
394,
8269,
376,
1706,
5562,
5621,
1082,
... |
args[i] = context.toObject(args[i], global); | args[i] = Context.toObject(args[i], global); | public Object invoke(Object thisObject, String functionName, Object[] args, boolean xmlrpc) throws ScriptingException { Scriptable eso = null; if (thisObject == null) { eso = global; } else { eso = context.toObject(thisObject, global); } ... | 46029 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46029/2f39d4f9080cbaa258e99279b7b1c5a043cd34e3/RhinoEngine.java/clean/src/helma/scripting/rhino/RhinoEngine.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
4356,
12,
921,
333,
921,
16,
514,
14117,
16,
1033,
8526,
833,
16,
7682,
1250,
31811,
13,
1216,
7739,
21546,
288,
3639,
22780,
5001,
83,
273,
446,
31,
3639,
309,
261,
2211,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4356,
12,
921,
333,
921,
16,
514,
14117,
16,
1033,
8526,
833,
16,
7682,
1250,
31811,
13,
1216,
7739,
21546,
288,
3639,
22780,
5001,
83,
273,
446,
31,
3639,
309,
261,
2211,
9... |
Iterator nodes = preferenceManager.getElements( PreferenceManager.PRE_ORDER).iterator(); while (nodes.hasNext()) { IPreferenceNode node = (IPreferenceNode) nodes.next(); IPreferencePage page = node.getPage(); if (page instanceof PreferencePage) { IPreferenceStore store = ((PreferencePage) page) .getPreferenceStore(); ... | Iterator nodes = preferenceManager.getElements( PreferenceManager.PRE_ORDER).iterator(); while (nodes.hasNext()) { IPreferenceNode node = (IPreferenceNode) nodes.next(); IPreferencePage page = node.getPage(); if (page instanceof PreferencePage) { IPreferenceStore store = ((PreferencePage) page) .getPreferenceStore(); ... | protected void handleSave() { Iterator nodes = preferenceManager.getElements( PreferenceManager.PRE_ORDER).iterator(); while (nodes.hasNext()) { IPreferenceNode node = (IPreferenceNode) nodes.next(); IPreferencePage page = node.getPage(); if (page instan... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/d6d458c4d729d92f70d2e5d4166fe0c3ff50c883/PreferenceDialog.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1640,
4755,
1435,
288,
3639,
4498,
2199,
273,
11555,
1318,
18,
588,
3471,
12,
7734,
29125,
1318,
18,
3670,
67,
7954,
2934,
9838,
5621,
3639,
1323,
261,
4690,
18,
5332,
2134,
10... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1640,
4755,
1435,
288,
3639,
4498,
2199,
273,
11555,
1318,
18,
588,
3471,
12,
7734,
29125,
1318,
18,
3670,
67,
7954,
2934,
9838,
5621,
3639,
1323,
261,
4690,
18,
5332,
2134,
10... |
return new NativeRegExp(scope, source, global); | return new NativeRegExp(cx, scope, source, global); | public Object newRegExp(Scriptable scope, String source, String global) { return new NativeRegExp(scope, source, global); } | 19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/cae21a293ff1eb36695aa815eebe3fb9f46e9270/RegExpImpl.java/buggy/org/mozilla/javascript/regexp/RegExpImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
394,
13673,
12,
3651,
429,
2146,
16,
514,
1084,
16,
514,
2552,
13,
565,
288,
3639,
327,
394,
16717,
13673,
12,
71,
92,
16,
2146,
16,
1084,
16,
2552,
1769,
565,
289,
2,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3651,
429,
2146,
16,
514,
1084,
16,
514,
2552,
13,
565,
288,
3639,
327,
394,
16717,
13673,
12,
71,
92,
16,
2146,
16,
1084,
16,
2552,
1769,
565,
289,
2,
-10... |
return checkImage(image, image.getWidth(observer), image.getHeight(observer), observer); | return checkImage(image, -1, -1, observer); | public int checkImage(Image image, ImageObserver observer) { return checkImage(image, image.getWidth(observer), image.getHeight(observer), observer); } | 25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/d44d0799904d814dee2079869e3be7a643b9334c/Component.java/buggy/libjava/java/awt/Component.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
866,
2040,
12,
2040,
1316,
16,
3421,
11048,
9655,
13,
225,
288,
565,
327,
866,
2040,
12,
2730,
16,
1316,
18,
588,
2384,
12,
30971,
3631,
8227,
1316,
18,
588,
2686,
12,
30971,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
866,
2040,
12,
2040,
1316,
16,
3421,
11048,
9655,
13,
225,
288,
565,
327,
866,
2040,
12,
2730,
16,
1316,
18,
588,
2384,
12,
30971,
3631,
8227,
1316,
18,
588,
2686,
12,
30971,... |
end = consume(); | kind = IASTSimpleTypeSpecifier.Type.VOID; consume(); break simpleMods; | protected ITokenDuple typeId( ) throws Backtrack { IToken begin = LA(1); IToken end = null; try { ITokenDuple d = name(); IToken checkForPtrs = consumePointerOperators(null, false); if( checkForPtrs == null ) return d; return new TokenDuple... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/02c194aaf46b86d6f7a904d6f531e535d47002ba/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,
377,
4750,
467,
1345,
40,
2268,
24361,
12,
262,
1216,
4297,
4101,
565,
288,
3639,
467,
1345,
2376,
273,
2928,
12,
21,
1769,
3639,
467,
1345,
679,
273,
446,
31,
3639,
775,
3639,
288,
5411,
46... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
467,
1345,
40,
2268,
24361,
12,
262,
1216,
4297,
4101,
565,
288,
3639,
467,
1345,
2376,
273,
2928,
12,
21,
1769,
3639,
467,
1345,
679,
273,
446,
31,
3639,
775,
3639,
288,
5411,
46... |
setMetaClass(metaClass); | setMetaClass(newMetaClass); | public MetaClass makeMetaClass(RubyClass type, RubyModule parentModule) { MetaClass metaClass = type.newSingletonClass(parentModule); if (!isNil()) { setMetaClass(metaClass); } metaClass.attachToObject(this); return metaClass; } | 50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/803c66ee682936beecc8a43fe2cfc90fe5645b22/RubyObject.java/clean/src/org/jruby/RubyObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6565,
797,
1221,
2781,
797,
12,
54,
10340,
797,
618,
16,
19817,
3120,
982,
3120,
13,
288,
3639,
6565,
797,
2191,
797,
273,
618,
18,
2704,
19571,
797,
12,
2938,
3120,
1769,
9506,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6565,
797,
1221,
2781,
797,
12,
54,
10340,
797,
618,
16,
19817,
3120,
982,
3120,
13,
288,
3639,
6565,
797,
2191,
797,
273,
618,
18,
2704,
19571,
797,
12,
2938,
3120,
1769,
9506,
2... |
if (aScope == FolderPanel.kQuoted) { mCompositionPanel.QuoteOriginalMessage(); } | if (aScope == FolderPanel.kQuoted) { mCompositionPanel.QuoteOriginalMessage(); } | public void initializeAsForward(Message msg, int aScope) { mCompositionPanel.setReferredMessage(msg); MessageExtra mextra = MessageExtraFactory.Get(msg); try { mCompositionPanel.setSubject("[Fwd: " + mextra.simplifiedSubject() + "]"); } catch (MessagingException e) { } ... | 7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/39ccd5ae1ae056e082c0ed7109e9e93071553649/Composition.java/clean/grendel/composition/Composition.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4046,
1463,
8514,
12,
1079,
1234,
16,
509,
279,
3876,
13,
288,
3639,
312,
28940,
5537,
18,
542,
426,
4193,
1079,
12,
3576,
1769,
3639,
2350,
7800,
312,
7763,
273,
2350,
7800,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4046,
1463,
8514,
12,
1079,
1234,
16,
509,
279,
3876,
13,
288,
3639,
312,
28940,
5537,
18,
542,
426,
4193,
1079,
12,
3576,
1769,
3639,
2350,
7800,
312,
7763,
273,
2350,
7800,
... |
protected void setUp() throws Exception { if (!isDBTestEnabled()) { return; } m_testDatabase = "opennms_test_" + System.currentTimeMillis(); m_installer = new Installer(); // Create a ByteArrayOutputSteam to effectively throw away output. m_installer.m_out = new ... | 48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/28ec8d0f53c305460681fe922d064c060141774d/InstallerDBTest.java/buggy/opennms-install/src/test/java/org/opennms/install/InstallerDBTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
24292,
1435,
1216,
1185,
288,
3639,
309,
16051,
291,
2290,
4709,
1526,
10756,
288,
5411,
327,
31,
3639,
289,
3639,
312,
67,
3813,
4254,
273,
315,
3190,
82,
959,
67,
3813,
9548,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24292,
1435,
1216,
1185,
288,
3639,
309,
16051,
291,
2290,
4709,
1526,
10756,
288,
5411,
327,
31,
3639,
289,
3639,
312,
67,
3813,
4254,
273,
315,
3190,
82,
959,
67,
3813,
9548,... | ||
return (SearchStateArc[]) getSuccessorArray(); | return getSuccessorArray(); | public SearchStateArc[] getSuccessors() { return (SearchStateArc[]) getSuccessorArray(); } | 8321 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8321/d773e50cf942e4e6e4a1c39536fcd3b2454744ea/SentenceHMMState.java/buggy/sphinx4/src/sphinx4/edu/cmu/sphinx/linguist/flat/SentenceHMMState.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
1071,
5167,
1119,
14598,
8526,
225,
1322,
2825,
1383,
1435,
288,
540,
327,
1322,
2825,
280,
1076,
5621,
377,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
1071,
5167,
1119,
14598,
8526,
225,
1322,
2825,
1383,
1435,
288,
540,
327,
1322,
2825,
280,
1076,
5621,
377,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
for (int i = 0; i < allComms.length; i++) | for (int i = 0; i < allCols.length; i++) | public Map listSets() throws NoSetHierarchyException, OAIInternalServerError { log.info(LogManager.getHeader(null, "oai_request", "verb=listSets")); Context context = null; // List to put results in List sets = new LinkedList(); try { ... | 49711 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49711/564aa767ae3958fb227322d346195962712ce24e/DSpaceOAICatalog.java/clean/dspace/src/org/dspace/app/oai/DSpaceOAICatalog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1635,
666,
2785,
1435,
3639,
1216,
2631,
694,
12074,
503,
16,
531,
18194,
12371,
565,
288,
3639,
613,
18,
1376,
12,
1343,
1318,
18,
588,
1864,
12,
2011,
16,
5411,
315,
83,
10658,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1635,
666,
2785,
1435,
3639,
1216,
2631,
694,
12074,
503,
16,
531,
18194,
12371,
565,
288,
3639,
613,
18,
1376,
12,
1343,
1318,
18,
588,
1864,
12,
2011,
16,
5411,
315,
83,
10658,
... |
if(undoPos == undoCount) undoClearDirty = null; | if(redosFirst instanceof CompoundEdit) undoClearDirty = ((CompoundEdit)redosFirst).first; | public void bufferSaved() { redoClearDirty = getLastEdit(); if(undoPos == undoCount) undoClearDirty = null; else { Edit edit = (Edit)undos.get(undoPos); if(edit instanceof CompoundEdit) undoClearDirty = ((CompoundEdit)edit).first; else undoClearDirty = edit; } } //}}} | 6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/a010bcb74ed7af964ecaa344db4d894b3557ae58/UndoManager.java/clean/org/gjt/sp/jedit/buffer/UndoManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1613,
16776,
1435,
202,
95,
202,
202,
1118,
83,
9094,
10785,
273,
7595,
4666,
5621,
202,
202,
430,
12,
31226,
1616,
422,
15436,
1380,
13,
1082,
202,
31226,
9094,
10785,
273... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1613,
16776,
1435,
202,
95,
202,
202,
1118,
83,
9094,
10785,
273,
7595,
4666,
5621,
202,
202,
430,
12,
31226,
1616,
422,
15436,
1380,
13,
1082,
202,
31226,
9094,
10785,
273... |
}catch( Exception ex ){} | } catch (Exception ex) { } | public boolean checkIsOwnerForProtectionElement(String userName, String protectionElementObjectId) { boolean test = false; Session s = null; Statement stmt = null; Connection cn = null; ResultSet rs = null; try { s = sf.openSession(); cn = s.connection(); StringBuffer stbr = new StringBuffer(); stbr.ap... | 56056 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56056/d0331b0502f1a99c8cc7fe328dcdf16c80b7d013/AuthorizationDAOImpl.java/buggy/api/src/gov/nih/nci/security/dao/AuthorizationDAOImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
866,
2520,
5541,
1290,
16938,
1046,
12,
780,
12065,
16,
1082,
202,
780,
17862,
1046,
16661,
13,
288,
202,
202,
6494,
1842,
273,
629,
31,
202,
202,
2157,
272,
273,
446,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
866,
2520,
5541,
1290,
16938,
1046,
12,
780,
12065,
16,
1082,
202,
780,
17862,
1046,
16661,
13,
288,
202,
202,
6494,
1842,
273,
629,
31,
202,
202,
2157,
272,
273,
446,
3... |
public void storePatch (IPatch p, int bankNum,int patchNum) { | public void storePatch (Patch p, int bankNum,int patchNum) { | public void storePatch (IPatch p, int bankNum,int patchNum) { sendPatchWorker ((Patch)p, patchNum); } | 7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/8de9e9d107eb8c0487bbadf2f24d3a5cc9bc1add/YamahaMotifSingleDriver.java/buggy/JSynthLib/synthdrivers/YamahaMotif/YamahaMotifSingleDriver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1707,
7332,
261,
7332,
293,
16,
509,
11218,
2578,
16,
474,
4729,
2578,
13,
288,
565,
1366,
7332,
6671,
14015,
7332,
13,
84,
16,
4729,
2578,
1769,
225,
289,
2,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1707,
7332,
261,
7332,
293,
16,
509,
11218,
2578,
16,
474,
4729,
2578,
13,
288,
565,
1366,
7332,
6671,
14015,
7332,
13,
84,
16,
4729,
2578,
1769,
225,
289,
2,
-100,
-100,
-10... |
static File hostRootDir() { if(Platform.getProperty("nestedvm.root") != null) { File f = new File(Platform.getProperty("nestedvm.root")); if(f.isDirectory()) return f; // fall through to case below } String cwd = Platform.getProperty(... | 34858 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/34858/2da9f501b18d7ea223b06c8ce0676f9a083614d4/UnixRuntime.java/buggy/src/org/ibex/nestedvm/UnixRuntime.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
760,
1387,
1479,
27322,
1435,
288,
5411,
309,
12,
8201,
18,
588,
1396,
2932,
12985,
3489,
18,
3085,
7923,
480,
446,
13,
288,
7734,
1387,
284,
273,
394,
1387,
12,
8201,
18,
588,
1396,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
1387,
1479,
27322,
1435,
288,
5411,
309,
12,
8201,
18,
588,
1396,
2932,
12985,
3489,
18,
3085,
7923,
480,
446,
13,
288,
7734,
1387,
284,
273,
394,
1387,
12,
8201,
18,
588,
1396,
29... | ||
for (Iterator i = childrenRepeatIds.keySet().iterator(); i.hasNext();) { final String repeatId = (String) i.next(); final int newIndex = 1; currentControlsState.updateRepeatIndex(repeatId, newIndex); | public void endVisitControl(XFormsControls.ControlInfo controlInfo) { if (controlInfo instanceof XFormsControls.RepeatControlInfo) { if (foundControl == controlInfo) foundControl = null; } | public void runAction(final PipelineContext pipelineContext, String targetId, XFormsEventHandlerContainer eventHandlerContainer, Element actionElement, ActionContext actionContext) { // Check that we understand the action element final String actionNamespaceURI = actionElement.getNamespaceURI(); ... | 51410 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51410/502ac014788f17d34ed9102cdc4dc5bd4c8b4ed8/XFormsActionInterpreter.java/buggy/src/java/org/orbeon/oxf/xforms/action/XFormsActionInterpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1803,
12,
6385,
13671,
1042,
5873,
1042,
16,
514,
27729,
16,
1139,
18529,
16402,
2170,
30441,
2170,
16,
3010,
1301,
1046,
16,
4382,
1042,
1301,
1042,
13,
288,
3639,
368,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1803,
12,
6385,
13671,
1042,
5873,
1042,
16,
514,
27729,
16,
1139,
18529,
16402,
2170,
30441,
2170,
16,
3010,
1301,
1046,
16,
4382,
1042,
1301,
1042,
13,
288,
3639,
368,
... |
try{ Object pathAttribute = marker.getAttribute(MarkerViewUtil.PATH_ATTRIBUTE); if(pathAttribute != null) | try { Object pathAttribute = marker .getAttribute(MarkerViewUtil.PATH_ATTRIBUTE); if (pathAttribute != null) | public static String getContainerName(IMarker marker) { try{ Object pathAttribute = marker.getAttribute(MarkerViewUtil.PATH_ATTRIBUTE); if(pathAttribute != null) return pathAttribute.toString(); } catch (CoreException exception){ //Log the exception and fall back. log(exception); } IPath path = m... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/16e5278a583ea26e11e141a4b15c010243882051/Util.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/Util.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
9272,
461,
12,
3445,
1313,
264,
5373,
13,
288,
9506,
202,
698,
95,
1082,
202,
921,
589,
1499,
273,
5373,
18,
588,
1499,
12,
7078,
1767,
1304,
18,
4211,
67,
11616,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9272,
461,
12,
3445,
1313,
264,
5373,
13,
288,
9506,
202,
698,
95,
1082,
202,
921,
589,
1499,
273,
5373,
18,
588,
1499,
12,
7078,
1767,
1304,
18,
4211,
67,
11616,
... |
public void normalize () { // no op } | 5646 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5646/37004304bb47bc9bf61da4faf3daa68d0cb54bf7/NamespaceNode.java/buggy/src/java/main/org/jaxen/dom/NamespaceNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3883,
1832,
565,
288,
202,
759,
1158,
1061,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3883,
1832,
565,
288,
202,
759,
1158,
1061,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... | ||
public void configureServicePolices(AxisService axisService) throws AxisFault { Iterator operations = axisService.getOperations(); while (operations.hasNext()) { AxisOperation axisOp = (AxisOperation) operations.next(); // TODO we support only Operation level Policy no... | 49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/59107f6243b4a4cab8eb70fe96a34a16bf811150/WSDLBasedPolicyProcessor.java/buggy/modules/kernel/src/org/apache/axis2/client/WSDLBasedPolicyProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
5068,
1179,
5850,
1242,
12,
6558,
1179,
2654,
1179,
13,
5411,
1216,
15509,
7083,
288,
3639,
4498,
5295,
273,
2654,
1179,
18,
588,
9343,
5621,
3639,
1323,
261,
17542,
18,
5332,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
5068,
1179,
5850,
1242,
12,
6558,
1179,
2654,
1179,
13,
5411,
1216,
15509,
7083,
288,
3639,
4498,
5295,
273,
2654,
1179,
18,
588,
9343,
5621,
3639,
1323,
261,
17542,
18,
5332,
... | ||
new Test("BENGALI-Tamil", TestUtility.BENGALI_SCRIPT, TestUtility.TAMIL_SCRIPT ) | new Test("BENGALI-Tamil") | public void TestBengaliTamil() throws IOException, ParseException { new Test("Tamil-BENGALI", TestUtility.TAMIL_SCRIPT, TestUtility.BENGALI_SCRIPT) .test("[:tamil:]", "[:BENGALI:]", "[\u09f0\u09f1\u098B\u098C\u0996\u0997\u0998\u099B\u099D\u09A0\u09A1\u09A2\u09A5\u09A6\u09A... | 5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/8700d4e6930488562c21318f17514cc50d94d5e4/RoundTripTest.java/clean/icu4j/src/com/ibm/test/translit/RoundTripTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
7766,
38,
24688,
18083,
56,
11580,
1435,
1216,
1860,
16,
10616,
288,
3639,
394,
7766,
2932,
56,
11580,
17,
38,
16324,
1013,
45,
3113,
6647,
7766,
6497,
18,
56,
2192,
2627,
67,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
7766,
38,
24688,
18083,
56,
11580,
1435,
1216,
1860,
16,
10616,
288,
3639,
394,
7766,
2932,
56,
11580,
17,
38,
16324,
1013,
45,
3113,
6647,
7766,
6497,
18,
56,
2192,
2627,
67,
... |
rule = "8"; | rule = "8: ATerm Close* Sp* ( (OLetter | Upper | Lower) )* Lower"; | public boolean isBreak(String source, int offset, boolean recommended) { rule = "1"; if (offset < 0 || offset > source.length()) return false; if (offset == 0) return true; rule = "2"; if (offset == source.length()) return true; // Sep (3) ... | 5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/c4392b5dab953e61840b3be27cf786947a720ca2/GenerateBreakTest.java/buggy/tools/unicodetools/com/ibm/text/UCD/GenerateBreakTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1250,
353,
7634,
12,
780,
1084,
16,
509,
1384,
16,
1250,
14553,
13,
288,
5411,
1720,
273,
315,
21,
14432,
5411,
309,
261,
3348,
411,
374,
747,
1384,
405,
1084,
18,
2469,
10756,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1250,
353,
7634,
12,
780,
1084,
16,
509,
1384,
16,
1250,
14553,
13,
288,
5411,
1720,
273,
315,
21,
14432,
5411,
309,
261,
3348,
411,
374,
747,
1384,
405,
1084,
18,
2469,
10756,
32... |
query = q; | weight = q.weight(s); | Hits(Searcher s, Query q, Filter f) throws IOException { query = q; searcher = s; filter = f; getMoreDocs(50); // retrieve 100 initially } | 1514 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1514/e4bd7151061f409e2881de2fd0cde649af13e7c5/Hits.java/buggy/src/java/org/apache/lucene/search/Hits.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
670,
1282,
12,
2979,
264,
272,
16,
2770,
1043,
16,
4008,
284,
13,
1216,
1860,
288,
565,
3119,
273,
1043,
18,
4865,
12,
87,
1769,
565,
27349,
273,
272,
31,
565,
1034,
273,
284,
31,
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,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
670,
1282,
12,
2979,
264,
272,
16,
2770,
1043,
16,
4008,
284,
13,
1216,
1860,
288,
565,
3119,
273,
1043,
18,
4865,
12,
87,
1769,
565,
27349,
273,
272,
31,
565,
1034,
273,
284,
31,
565... |
-1, -1, -1, -1, -1, -1, 281, 282, -1, 93, -1, -1, 338, -1, -1, 290, 291, 343, 293, 294, 295, 296, 297, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 125, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, ... | -1, -1, 124, -1, -1, -1, 281, 282, 41, -1, 125, 44, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, 338, -1, -1, -1, -1, 343, -1, -1, -1, -1, -1, 262, 263, | private static final short[] yyCheck3() { return new short[] { -1, -1, 10, -1, 343, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, 125, 37, 38, -1, -1, 41, 42, 43... | 45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/f5c9a1ebd775712f2dc086acfce1a14a123ec632/YyTables.java/clean/src/org/jruby/parser/YyTables.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1564,
23,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
6647,
300,
21,
16,
282,
300,
21,
16,
282,
1728,
16,
282,
300,
21,
16,
225,
890,
8942,
16,
282,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1564,
23,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
6647,
300,
21,
16,
282,
300,
21,
16,
282,
1728,
16,
282,
300,
21,
16,
225,
890,
8942,
16,
282,
... |
for (i = 0; i < y.ival; i++) words[i] = x.words[i] & y.words[i]; for ( ; i < len; i++) words[i] = x.words[i]; return make(words, len); | words[0] = x.words[0] & y; while (--len > 0) words[len] = x.words[len]; return make(words, x.ival); | public BigInteger and(BigInteger y) { if (y.words == null) return and(this, y.ival); else if (words == null) return and(y, ival); BigInteger x = this; if (ival < y.ival) { BigInteger temp = this; x = y; y = temp; } int i; int len = y.isNegative() ? x.ival : y.ival; i... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/BigInteger.java/clean/core/src/classpath/java/java/math/BigInteger.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
10246,
471,
12,
24198,
677,
13,
225,
288,
565,
309,
261,
93,
18,
3753,
422,
446,
13,
1377,
327,
471,
12,
2211,
16,
677,
18,
5162,
1769,
565,
469,
309,
261,
3753,
422,
446,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
10246,
471,
12,
24198,
677,
13,
225,
288,
565,
309,
261,
93,
18,
3753,
422,
446,
13,
1377,
327,
471,
12,
2211,
16,
677,
18,
5162,
1769,
565,
469,
309,
261,
3753,
422,
446,
13,
... |
GuiBoardUtils.setSelect(m_guiBoard, pointListArg, true); | GuiBoardUtil.setSelect(m_guiBoard, pointListArg, true); | public void fieldClicked(GoPoint p, boolean modifiedSelect) { if (isCommandInProgress()) return; if (m_setupMode) { GoColor toMove = m_board.getToMove(); GoColor color; if (modifiedSelect) color = toMove.otherColor(); else... | 48906 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48906/1f50ffb219183ddaf94720a4aba453e11f412425/GoGui.java/clean/src/net/sf/gogui/gogui/GoGui.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
652,
27633,
12,
5741,
2148,
293,
16,
1250,
4358,
3391,
13,
565,
288,
3639,
309,
261,
291,
2189,
13434,
10756,
5411,
327,
31,
3639,
309,
261,
81,
67,
8401,
2309,
13,
3639,
288... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
652,
27633,
12,
5741,
2148,
293,
16,
1250,
4358,
3391,
13,
565,
288,
3639,
309,
261,
291,
2189,
13434,
10756,
5411,
327,
31,
3639,
309,
261,
81,
67,
8401,
2309,
13,
3639,
288... |
myResult = getSpaceBeforeLBrace(mySettings.SPACE_BEFORE_ELSE_LBRACE, mySettings.BRACE_STYLE); | myResult = getSpaceBeforeLBrace(mySettings.SPACE_BEFORE_ELSE_LBRACE, mySettings.BRACE_STYLE, new TextRange(myParent.getTextRange().getStartOffset(), myChild2.getTextRange().getStartOffset())); | public void visitIfStatement(PsiIfStatement statement) { if (myRole2 == ChildRole.ELSE_KEYWORD) { if (myChild1.getElementType() != ElementType.BLOCK_STATEMENT) { myResult = Formatter.getInstance().createSpaceProperty(0, 0, 1, mySettings.KEEP_LINE_BREAKS, mySettings.KEEP_BLANK_LINES_IN_CODE); } els... | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/789412ab36db73e21c69cd7d197557454be0fd15/JavaSpacePropertyProcessor.java/clean/source/com/intellij/psi/formatter/java/JavaSpacePropertyProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3757,
2047,
3406,
12,
52,
7722,
2047,
3406,
3021,
13,
288,
565,
309,
261,
4811,
2996,
22,
422,
7451,
2996,
18,
2247,
1090,
67,
28813,
13,
288,
1377,
309,
261,
4811,
1763,
21,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3757,
2047,
3406,
12,
52,
7722,
2047,
3406,
3021,
13,
288,
565,
309,
261,
4811,
2996,
22,
422,
7451,
2996,
18,
2247,
1090,
67,
28813,
13,
288,
1377,
309,
261,
4811,
1763,
21,... |
"TEXT", | "TEXT", | private static CSearchPattern createFieldPattern(String patternString, SearchFor searchFor, LimitTo limitTo, int matchMode, boolean caseSensitive) { if( limitTo == ALL_OCCURRENCES ){ OrPattern orPattern = new OrPattern(); orPattern.addPattern( createFieldPattern( patternString, searchFor, DECLARATIONS, matchMode,... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/95f42aeb9e7f38db093795981bd7c7300a3eeeb6/CSearchPattern.java/clean/core/org.eclipse.cdt.core/search/org/eclipse/cdt/internal/core/search/matching/CSearchPattern.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
385,
2979,
3234,
752,
974,
3234,
12,
780,
1936,
780,
16,
5167,
1290,
1623,
1290,
16,
7214,
774,
1800,
774,
16,
509,
845,
2309,
16,
1250,
20975,
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,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
385,
2979,
3234,
752,
974,
3234,
12,
780,
1936,
780,
16,
5167,
1290,
1623,
1290,
16,
7214,
774,
1800,
774,
16,
509,
845,
2309,
16,
1250,
20975,
13,
288,
202,
202,
430,
... |
declaration.put(v, i, prio.length() > 0); | declaration.put(i, v, idx, prio.length() > 0); | public void propertyChanged(String name, String value, String prio) throws DOMException { int idx = cssEngine.getPropertyIndex(name); for (int i = 0; i < declaration.size(); i++) { if (idx == declaration.getIndex(i)) { Value v = cssEngine.parseP... | 45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/d32e5bd17ef746d349d233f64209724bb9ddf69e/SVGStylableElement.java/clean/sources/org/apache/batik/dom/svg/SVGStylableElement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1272,
5033,
12,
780,
508,
16,
514,
460,
16,
514,
14705,
83,
13,
5411,
1216,
4703,
503,
288,
5411,
509,
2067,
273,
3747,
4410,
18,
588,
1396,
1016,
12,
529,
1769,
5411,
364,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1272,
5033,
12,
780,
508,
16,
514,
460,
16,
514,
14705,
83,
13,
5411,
1216,
4703,
503,
288,
5411,
509,
2067,
273,
3747,
4410,
18,
588,
1396,
1016,
12,
529,
1769,
5411,
364,
... |
}else{ if(changed){ | } else { if (changed) { | public ActionsTree() { myRoot = new DefaultMutableTreeNode(ROOT); myTree = new JTree(new MyModel(myRoot)); myTree.setCellRenderer(new ColoredTreeCellRenderer(){ public void customizeCellRenderer(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { ... | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/31c240a0a5812feaae28785a2c3c9258bae32c53/ActionsTree.java/buggy/action-system/impl/com/intellij/openapi/keymap/impl/ui/ActionsTree.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
18765,
2471,
1435,
288,
565,
3399,
2375,
273,
394,
2989,
19536,
12513,
12,
9185,
1769,
565,
3399,
2471,
273,
394,
804,
2471,
12,
2704,
8005,
1488,
12,
4811,
2375,
10019,
565,
3399,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
18765,
2471,
1435,
288,
565,
3399,
2375,
273,
394,
2989,
19536,
12513,
12,
9185,
1769,
565,
3399,
2471,
273,
394,
804,
2471,
12,
2704,
8005,
1488,
12,
4811,
2375,
10019,
565,
3399,
... |
throw new IllegalStateException("Method '" + FUNCTION_PREFIX + name + "' was not found for " + name | throw new IllegalStateException("Method '" + FUNCTION_PREFIX + name + "' was not found for " + name | public void addFunction(final String name) { final FunctionInfo info = new FunctionInfo(); final Method[] methods = linkedClass_.getMethods(); final String setMethodName = FUNCTION_PREFIX + name; for( int i=0; i<methods.length; i++ ) { if( methods[i].getName().equals(setMethod... | 47843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47843/a29b4d215e65ac8211b0fc8aaf4d375d3c5c55c3/ClassConfiguration.java/buggy/htmlunit/src/java/com/gargoylesoftware/htmlunit/javascript/configuration/ClassConfiguration.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
2083,
12,
6385,
514,
508,
13,
288,
3639,
727,
4284,
966,
1123,
273,
394,
4284,
966,
5621,
3639,
727,
2985,
8526,
2590,
273,
8459,
797,
27799,
588,
4712,
5621,
3639,
727,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
527,
2083,
12,
6385,
514,
508,
13,
288,
3639,
727,
4284,
966,
1123,
273,
394,
4284,
966,
5621,
3639,
727,
2985,
8526,
2590,
273,
8459,
797,
27799,
588,
4712,
5621,
3639,
727,
... |
if (v.getName().equals(getViewName())) { if (getVerbose()) { | if (v.getName().equals(getViewName())) { if (getVerbose()) { | protected void runProject(Server s, com.starbase.starteam.Project p) { View[] views = p.getViews(); for (int i = 0; i < views.length; i++) { View v = views[i]; if (v.getName().equals(getViewName())) { if (getVerbose()) { ... | 639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/6154080061f869b4e425d608da3bd61fad967564/AntStarTeamCheckOut.java/clean/src/main/org/apache/tools/ant/taskdefs/optional/scm/AntStarTeamCheckOut.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1086,
4109,
12,
2081,
272,
16,
532,
18,
10983,
1969,
18,
1937,
3820,
18,
4109,
293,
13,
565,
288,
3639,
4441,
8526,
7361,
273,
293,
18,
588,
9959,
5621,
3639,
364,
261,
474,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1086,
4109,
12,
2081,
272,
16,
532,
18,
10983,
1969,
18,
1937,
3820,
18,
4109,
293,
13,
565,
288,
3639,
4441,
8526,
7361,
273,
293,
18,
588,
9959,
5621,
3639,
364,
261,
474,
... |
int index = tag.getHref().indexOf('?'); | int index = tag.getHref().indexOf( '?' ); | private StringBuffer getHTMLData( List viewableData ) throws JspException { StringBuffer buf = new StringBuffer( 8000 ); previousRow = new Hashtable( 10 ); // variables to hold the previous row columns values. nextRow = new Hashtable( 10 ); // variables to hold next row column values. // paulse... | 10316 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10316/21f7757c1937c03a504c7e090499e3d1e3c7e6a0/TableTag.java/clean/_OLD/displaytag08/src/org/apache/taglibs/display/TableTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
6674,
336,
4870,
751,
12,
987,
1476,
429,
751,
262,
1216,
27485,
282,
288,
1377,
6674,
1681,
273,
394,
6674,
12,
1725,
3784,
11272,
1377,
2416,
1999,
273,
394,
18559,
12,
1728,
1127... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
6674,
336,
4870,
751,
12,
987,
1476,
429,
751,
262,
1216,
27485,
282,
288,
1377,
6674,
1681,
273,
394,
6674,
12,
1725,
3784,
11272,
1377,
2416,
1999,
273,
394,
18559,
12,
1728,
1127... |
continue; | continue; | public XObject execute(XPathContext xctxt) throws org.xml.sax.SAXException { // TransformerImpl transformer = (TransformerImpl)xctxt; TransformerImpl transformer = (TransformerImpl)xctxt.getOwnerObject(); XNodeSet nodes = null; Node context = xctxt.getCurrentNode(); Document docContext = (Node... | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/77ad973f1d6ad8f28fd358f2ba4d4c63da65d953/FuncKey.java/buggy/src/org/apache/xalan/templates/FuncKey.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1139,
921,
1836,
12,
14124,
1042,
25465,
13,
377,
1216,
2358,
18,
2902,
18,
87,
651,
18,
55,
2501,
503,
225,
288,
3639,
368,
11519,
2828,
8360,
273,
261,
8319,
2828,
13,
92,
20364... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1139,
921,
1836,
12,
14124,
1042,
25465,
13,
377,
1216,
2358,
18,
2902,
18,
87,
651,
18,
55,
2501,
503,
225,
288,
3639,
368,
11519,
2828,
8360,
273,
261,
8319,
2828,
13,
92,
20364... |
fileName = fn + "." + getFileExtension(); | fileName = fn + getFileExtension(); | public boolean performFinish( ) { final IPath containerName = newReportFileWizardPage.getContainerFullPath( ); String fn = newReportFileWizardPage.getFileName( ); final String fileName; if ( !fn.endsWith( "." + getFileExtension() ) ) //$NON-NLS-1$ { fileName = fn + "." + getFileExtension(); //$NON-NLS-1$ } el... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/f714d7eaed30b0b844c3069afe39af2394e43d4a/NewTemplateWizard.java/buggy/UI/org.eclipse.birt.report.designer.ui.ide/src/org/eclipse/birt/report/designer/ui/ide/wizards/NewTemplateWizard.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
3073,
11641,
12,
262,
202,
95,
202,
202,
6385,
467,
743,
20408,
273,
394,
4820,
812,
27130,
1964,
18,
588,
2170,
24173,
12,
11272,
202,
202,
780,
2295,
273,
394,
4820,
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,
225,
202,
482,
1250,
3073,
11641,
12,
262,
202,
95,
202,
202,
6385,
467,
743,
20408,
273,
394,
4820,
812,
27130,
1964,
18,
588,
2170,
24173,
12,
11272,
202,
202,
780,
2295,
273,
394,
4820,
8... |
if(findServlet()) { | final String glsAgent = findServlet(); if(glsAgent != null) { | public void run() { createNodes(); starting = false; // reset controls if no nodes started successfully boolean reset = false; synchronized (runningNodesLock) { if (runningNodes.isEmpty()) reset = true; } // end synchronized if (reset) { ... | 9368 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9368/f16447cb0d2a067a125745fb77ef3a5c1ed84c85/CSMARTConsole.java/clean/csmart/src/org/cougaar/tools/csmart/ui/console/CSMARTConsole.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
1086,
1435,
288,
3639,
752,
3205,
5621,
3639,
5023,
273,
629,
31,
3639,
368,
2715,
11022,
309,
1158,
2199,
5746,
4985,
3639,
1250,
2715,
273,
629,
31,
3639,
3852,
261,
8704,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
1086,
1435,
288,
3639,
752,
3205,
5621,
3639,
5023,
273,
629,
31,
3639,
368,
2715,
11022,
309,
1158,
2199,
5746,
4985,
3639,
1250,
2715,
273,
629,
31,
3639,
3852,
261,
8704,
3... |
progress.setProgress(++p); | setProgress(progress, ++p); | public void run() { if (doRecalc) { ProgressMonitor progress = new ProgressMonitor(null, "Plotting data", "Calculating sums", 0, channels * timeBins + (doRefit ? channels : 0) + 1); progress.setMillisToPopup(100); progress.setMillisToDecideToPopup(50); int p = 0; if (roiCount... | 46826 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46826/2de07498edf1b0e10fe321833d0a5ce23b48dbeb/SlimPlotter.java/clean/loci/apps/slim/SlimPlotter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1086,
1435,
288,
565,
309,
261,
2896,
426,
12448,
13,
288,
1377,
10980,
7187,
4007,
273,
394,
10980,
7187,
12,
2011,
16,
315,
11532,
1787,
501,
3113,
3639,
315,
30238,
26608,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1086,
1435,
288,
565,
309,
261,
2896,
426,
12448,
13,
288,
1377,
10980,
7187,
4007,
273,
394,
10980,
7187,
12,
2011,
16,
315,
11532,
1787,
501,
3113,
3639,
315,
30238,
26608,
3... |
style = styles[tokenType]; if(offset != end) { length = end - offset; str = new String(seg.array,seg.offset + offset,length); text = style.getFont().createGlyphVector( fontRenderContext,str); width = (float)text.getLogicalBounds().getWidth(); positions = text.getGlyphPositions(0,length,null); } this.offset = offset;... | inaccessable = true; this.width = width; | Chunk(int tokenType, Segment seg, int offset, int end, SyntaxStyle[] styles, FontRenderContext fontRenderContext) { style = styles[tokenType]; if(offset != end) { length = end - offset; str = new String(seg.array,seg.offset + offset,length); text = style.getFont().createGlyphVector( fontRenderCo... | 6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/eb32f9e90adb85c8515d62dded44a1602a857d3d/ChunkCache.java/buggy/org/gjt/sp/jedit/textarea/ChunkCache.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
5579,
12,
474,
22302,
16,
10807,
2291,
16,
509,
1384,
16,
509,
679,
16,
1082,
202,
8070,
2885,
8526,
5687,
16,
10063,
3420,
1042,
3512,
3420,
1042,
13,
202,
202,
95,
1082,
202,
40... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5579,
12,
474,
22302,
16,
10807,
2291,
16,
509,
1384,
16,
509,
679,
16,
1082,
202,
8070,
2885,
8526,
5687,
16,
10063,
3420,
1042,
3512,
3420,
1042,
13,
202,
202,
95,
1082,
202,
40... |
workbenchActivitySupport.setEnabledActivityIds(activities); | changed = true; | private IResourceChangeListener getChangeListener() { return new IResourceChangeListener() { /* * (non-Javadoc) @see * org.eclipse.core.resources.IResourceChangeListener#resourceChanged(org.eclipse.core.resources.IResourceChangeEvent) */ public void r... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/6f2fa6da89d8a09f6236a2245108b14ac8093425/IDEWorkbenchActivityHelper.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEWorkbenchActivityHelper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
467,
1420,
15744,
336,
15744,
1435,
288,
3639,
327,
394,
467,
1420,
15744,
1435,
288,
5411,
1748,
2398,
380,
261,
5836,
17,
24060,
13,
632,
5946,
2398,
380,
2358,
18,
20416,
18,
364... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
467,
1420,
15744,
336,
15744,
1435,
288,
3639,
327,
394,
467,
1420,
15744,
1435,
288,
5411,
1748,
2398,
380,
261,
5836,
17,
24060,
13,
632,
5946,
2398,
380,
2358,
18,
20416,
18,
364... |
IWindowTrim[] descs = layout.getAreaDescription(TrimLayout.BOTTOM); | List descs = layout.getAreaDescription(SWT.BOTTOM); | public void testTrimInformation() throws Throwable { WorkbenchWindow window = (WorkbenchWindow) openTestWindow(); TrimLayout layout = window.getTrimLayout(); // layout.refreshAreaDescriptions(); IWindowTrim[] descs = layout.getAreaDescription(TrimLayout.BOTTOM); validatePositions(DEFAULT_BOTTOM, descs); } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/c02ce808ddcd3a887071a5c31104b81c396819e2/TrimLayoutTest.java/clean/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/api/TrimLayoutTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
14795,
5369,
1435,
1216,
4206,
288,
202,
202,
2421,
22144,
3829,
2742,
273,
261,
2421,
22144,
3829,
13,
1696,
4709,
3829,
5621,
202,
202,
14795,
3744,
3511,
273,
2742,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14795,
5369,
1435,
1216,
4206,
288,
202,
202,
2421,
22144,
3829,
2742,
273,
261,
2421,
22144,
3829,
13,
1696,
4709,
3829,
5621,
202,
202,
14795,
3744,
3511,
273,
2742,
... |
int _m528 = mark(); synPredMatched528 = true; | int _m529 = mark(); synPredMatched529 = true; | public final void mNEXT_TOKEN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = NEXT_TOKEN; int _saveIndex; Token attr=null; Token ncname=null; switch ( LA(1)) { case '{': { mLCURLY(false); if (... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/79ea96165d48d41d327ad2c494f4a875d480c69a/XQueryLexer.java/buggy/src/org/exist/xquery/parser/XQueryLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
312,
25539,
67,
8412,
12,
6494,
389,
2640,
1345,
13,
1216,
9539,
16,
3703,
1228,
503,
16,
3155,
1228,
503,
288,
202,
202,
474,
389,
88,
723,
31,
3155,
389,
2316,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
312,
25539,
67,
8412,
12,
6494,
389,
2640,
1345,
13,
1216,
9539,
16,
3703,
1228,
503,
16,
3155,
1228,
503,
288,
202,
202,
474,
389,
88,
723,
31,
3155,
389,
2316,
3... |
} | } | public void scrollRectToVisible(Rectangle r) { Component p = getParent(); if (p instanceof JComponent) ((JComponent) p).scrollRectToVisible(r); } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JComponent.java/buggy/core/src/classpath/javax/javax/swing/JComponent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
5532,
6120,
774,
6207,
12,
19463,
436,
13,
202,
95,
565,
5435,
293,
273,
5089,
5621,
565,
309,
261,
84,
1276,
29058,
13,
1377,
14015,
46,
1841,
13,
293,
2934,
12033,
6120,
77... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
5532,
6120,
774,
6207,
12,
19463,
436,
13,
202,
95,
565,
5435,
293,
273,
5089,
5621,
565,
309,
261,
84,
1276,
29058,
13,
1377,
14015,
46,
1841,
13,
293,
2934,
12033,
6120,
77... |
while (i < length && buf.charAt(i) >= '0' && buf.charAt(i) <= '9') { | int numToTrim=0; int length=buf.length(); if ( (length>2)&&((buf.charAt(0)=='r')||(buf.charAt(0)=='R'))&& ((buf.charAt(1)=='e')||(buf.charAt(1)=='E'))) { char c=buf.charAt(2); if (c==':') { numToTrim=3; } else if ((c=='[')||(c=='(')) { int i=3; while ((i<length)&&(buf.charAt(i)>='0')&&(buf.charAt(i)<='9')) { | protected boolean stripRe(StringBuffer buf) { // Much of this code is duplicated in MessageBase. Sigh. ### if (buf == null) return false; int numToTrim = 0; int length = buf.length(); if (length > 2 && (buf.charAt(0) == 'r' || buf.charAt(0) == 'R') && (buf.charAt(1) == 'e' || buf.charAt(... | 51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/0cc63cb388a13f01532486f9d178811914e6d71b/MessageExtraWrapper.java/buggy/grendel/sources/grendel/storage/MessageExtraWrapper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
1250,
2569,
426,
12,
780,
1892,
1681,
13,
288,
565,
368,
490,
2648,
434,
333,
981,
353,
16975,
316,
2350,
2171,
18,
225,
348,
2031,
18,
11849,
565,
309,
261,
4385,
422,
446,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
1250,
2569,
426,
12,
780,
1892,
1681,
13,
288,
565,
368,
490,
2648,
434,
333,
981,
353,
16975,
316,
2350,
2171,
18,
225,
348,
2031,
18,
11849,
565,
309,
261,
4385,
422,
446,
13,
... |
final Module module = VfsUtil.getModuleForFile(project, psiFile.getVirtualFile()); | final VirtualFile virtualFile = psiFile.getVirtualFile(); if (virtualFile == null) return null; final Module module = VfsUtil.getModuleForFile(project, virtualFile); | protected Set<PsiClass> getRegistrationTypes(PsiClass psiClass, boolean includeActions) { final Project project = psiClass.getProject(); final PsiFile psiFile = psiClass.getContainingFile(); assert psiFile != null; final Module module = VfsUtil.getModuleForFile(project, psiFile.getVirtualFile()); if (m... | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/d28c14616874b598e95b15d725a18ba6aa83abfe/DevKitInspectionBase.java/buggy/plugins/devkit/src/inspections/DevKitInspectionBase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
1000,
32,
52,
7722,
797,
34,
336,
7843,
2016,
12,
52,
7722,
797,
23921,
797,
16,
1250,
2341,
6100,
13,
288,
565,
727,
5420,
1984,
273,
23921,
797,
18,
588,
4109,
5621,
565,
727,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
1000,
32,
52,
7722,
797,
34,
336,
7843,
2016,
12,
52,
7722,
797,
23921,
797,
16,
1250,
2341,
6100,
13,
288,
565,
727,
5420,
1984,
273,
23921,
797,
18,
588,
4109,
5621,
565,
727,
... |
RubyNameError newError = new RubyNameError(runtime, runtime.getClass("NameError")); | RubyNameError newError = new RubyNameError(runtime, (RubyClass)recv); | public static RubyNameError newRubyNameError(IRubyObject recv, IRubyObject[] args) { IRuby runtime = recv.getRuntime(); RubyNameError newError = new RubyNameError(runtime, runtime.getClass("NameError")); newError.callInit(args); return newError; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d8afa46c23cfc2a70b21081c2aee03372cceaad8/RubyNameError.java/buggy/src/org/jruby/RubyNameError.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
461,
668,
394,
54,
10340,
461,
668,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
8526,
833,
13,
288,
3639,
15908,
10340,
3099,
273,
10665,
18,
588,
5576,
5621,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
461,
668,
394,
54,
10340,
461,
668,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
8526,
833,
13,
288,
3639,
15908,
10340,
3099,
273,
10665,
18,
588,
5576,
5621,
36... |
IPreferenceStore store = WorkbenchPlugin.getDefault() .getPreferenceStore(); | IPreferenceStore store = WorkbenchPlugin.getDefault() .getPreferenceStore(); | void deleteCustomDefinition(PerspectiveDescriptor desc) { //remove the entry from the preference store. IPreferenceStore store = WorkbenchPlugin.getDefault() .getPreferenceStore(); /* To delete the perspective definition from the preference store, use the * setToDefault ... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/0707a6aff6dbd240f7c0b2dae47e64da2f4fd627/PerspectiveRegistry.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/PerspectiveRegistry.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1430,
3802,
1852,
12,
14781,
16772,
3187,
3044,
13,
288,
3639,
368,
4479,
326,
1241,
628,
326,
11555,
1707,
18,
3639,
467,
9624,
2257,
1707,
273,
4147,
22144,
3773,
18,
588,
1868,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1430,
3802,
1852,
12,
14781,
16772,
3187,
3044,
13,
288,
3639,
368,
4479,
326,
1241,
628,
326,
11555,
1707,
18,
3639,
467,
9624,
2257,
1707,
273,
4147,
22144,
3773,
18,
588,
1868,
14... |
if(listeners.length == 0) { | if (listeners.length == 0) { | private WorkbenchJob getUpdateJob() { WorkbenchJob job = new WorkbenchJob( WorkbenchMessages.DecorationScheduler_UpdateJobName) { int currentIndex = NEEDS_INIT; LabelProviderChangedEvent labelProviderChangedEvent; ILabelProviderListener[] listeners; public IStatus runInUIThread(IProgressMonitor monit... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/b543fc145c42526ff99e6c17d4baec8b9a5cf3e0/DecorationScheduler.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/decorators/DecorationScheduler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
4147,
22144,
2278,
23866,
2278,
1435,
288,
202,
202,
2421,
22144,
2278,
1719,
273,
394,
4147,
22144,
2278,
12,
9506,
202,
2421,
22144,
5058,
18,
7859,
367,
11870,
67,
1891,
29425... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4147,
22144,
2278,
23866,
2278,
1435,
288,
202,
202,
2421,
22144,
2278,
1719,
273,
394,
4147,
22144,
2278,
12,
9506,
202,
2421,
22144,
5058,
18,
7859,
367,
11870,
67,
1891,
29425... |
ReplyToHandler replyToHandler = null; if (replyTo != null) { replyToHandler = ((AbstractConnector) event.getEndpoint().getConnector()).getReplyToHandler(); } | ReplyToHandler replyToHandler = getReplyToHandler(event); | public Object onCall(UMOEvent event) throws UMOException { logger.trace("MuleProxy: sync call for Mule UMO " + descriptor.getName()); UMOMessage returnMessage = null; try { if (event.getEndpoint().canReceive()) { RequestContext.setEvent(event); Object... | 2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/0ab808dc0bfd97ffd797e8d35841b6eb9bdebda5/DefaultMuleProxy.java/clean/mule/src/java/org/mule/impl/model/DefaultMuleProxy.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
603,
1477,
12,
2799,
51,
1133,
871,
13,
1216,
587,
5980,
503,
565,
288,
3639,
1194,
18,
5129,
2932,
49,
725,
3886,
30,
3792,
745,
364,
490,
725,
587,
5980,
315,
397,
4950,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
603,
1477,
12,
2799,
51,
1133,
871,
13,
1216,
587,
5980,
503,
565,
288,
3639,
1194,
18,
5129,
2932,
49,
725,
3886,
30,
3792,
745,
364,
490,
725,
587,
5980,
315,
397,
4950,
... |
caretPos = 0; | public void runCommand(String command) { inputCombo.setEnabled(false); try { currentProcess = Shell.execute(command, mainFrame.getActiveTable().getCurrentFolder(), this); processInput = new PrintStream(currentProcess.getOutputStream(), true); // If command could be e... | 54819 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54819/396151898eac7f62adc688bbc0ef2c169c895c59/RunDialog.java/buggy/source/com/mucommander/ui/RunDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
31933,
12,
780,
1296,
13,
288,
3639,
810,
16156,
18,
542,
1526,
12,
5743,
1769,
3639,
775,
288,
5411,
783,
2227,
273,
19433,
18,
8837,
12,
3076,
16,
2774,
3219,
18,
588,
3896... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
31933,
12,
780,
1296,
13,
288,
3639,
810,
16156,
18,
542,
1526,
12,
5743,
1769,
3639,
775,
288,
5411,
783,
2227,
273,
19433,
18,
8837,
12,
3076,
16,
2774,
3219,
18,
588,
3896... | |
if (replyToProducer == null) { replyToProducer = ((JmsConnector) connector).getJmsSupport().createProducer(session, replyToDestination); } | replyToProducer = ((JmsConnector) connector).getJmsSupport().createProducer(session, replyToDestination); | public void processReplyTo(UMOEvent event, UMOMessage returnMessage, Object replyTo) throws UMOException { Destination replyToDestination = null; try { // now we need to send the response if (replyTo instanceof Destination) { replyToDestination... | 28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/de9fa56bece98b11b89015d6d4761b4dba3bf461/JmsReplyToHandler.java/clean/providers/jms/src/java/org/mule/providers/jms/JmsReplyToHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1207,
7817,
774,
12,
2799,
51,
1133,
871,
16,
587,
5980,
1079,
327,
1079,
16,
1033,
30934,
13,
1216,
587,
5980,
503,
565,
288,
3639,
10691,
30934,
5683,
273,
446,
31,
3639,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1207,
7817,
774,
12,
2799,
51,
1133,
871,
16,
587,
5980,
1079,
327,
1079,
16,
1033,
30934,
13,
1216,
587,
5980,
503,
565,
288,
3639,
10691,
30934,
5683,
273,
446,
31,
3639,
7... |
return engineCall.invoke(m_engine, new Object[]{ null, funcName, argArray }); | if (m_engineCall != null) { m_engineCall = m_engine.getClass().getMethod("call", new Class[]{ Object.class, String.class, Object[].class }); } return m_engineCall.invoke(m_engine, new Object[]{ null, funcName, argArray }); | public Object callFunction( String funcName, Vector args, Object methodKey, ExpressionContext exprContext) throws TransformerException { Object[] argArray; try { argArray = new Object[args.size()]; for (int i = 0; i < argArray.length; i++) { Object o = args.elementA... | 2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/5e6c26b2a64456524660b6e5b8ba64780065feac/ExtensionHandlerGeneral.java/clean/src/org/apache/xalan/extensions/ExtensionHandlerGeneral.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
745,
2083,
12,
1850,
514,
20810,
16,
5589,
833,
16,
1033,
707,
653,
16,
5371,
1042,
3065,
1042,
13,
5411,
1216,
21684,
225,
288,
565,
1033,
8526,
1501,
1076,
31,
565,
775,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
745,
2083,
12,
1850,
514,
20810,
16,
5589,
833,
16,
1033,
707,
653,
16,
5371,
1042,
3065,
1042,
13,
5411,
1216,
21684,
225,
288,
565,
1033,
8526,
1501,
1076,
31,
565,
775,
5... |
final RubyClass newRubyClass = ruby.defineClass(rubyName, (RubyClass)ruby.getRubyClass("JavaObject")); | Map methodMap = new HashMap(); Map singletonMethodMap = new HashMap(); | public static RubyObject m_load_class(Ruby ruby, RubyModule rubyClass, RubyString className, RubyObject[] args) { String javaName = className.getString(); String rubyName = javaName.substring(javaName.lastIndexOf('.') + 1); if (args.length > 0) { rubyName = ((RubyString)args[0]).getS... | 47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/241a0fe060c8d239aa9e5d2519e98cf44d69a201/RubyJavaObject.java/clean/org/jruby/RubyJavaObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
921,
312,
67,
945,
67,
1106,
12,
54,
10340,
22155,
16,
19817,
3120,
22155,
797,
16,
19817,
780,
2658,
16,
19817,
921,
8526,
833,
13,
288,
3639,
514,
2252,
461,
273,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19817,
921,
312,
67,
945,
67,
1106,
12,
54,
10340,
22155,
16,
19817,
3120,
22155,
797,
16,
19817,
780,
2658,
16,
19817,
921,
8526,
833,
13,
288,
3639,
514,
2252,
461,
273,
26... |
}catch(Exception e){ if(I_CmsLogChannels.C_PREPROCESSOR_IS_LOGGING && A_OpenCms.isLogging() ) { A_OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "["+this.getClass().getName()+"] problems with rule:\""+rules[i]+"\" (" + e + "). "); | } catch (Exception e) { if (I_CmsLogChannels.C_PREPROCESSOR_IS_LOGGING && A_OpenCms.isLogging()) { A_OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + "] problems with rule:\"" + rules[i] + "\" (" + e + "). "); | private String getExternLinkName(String link){ String[] rules = CmsStaticExportProperties.getLinkRules(C_MODUS_EXTERN); String startRule = OpenCms.getStaticExportProperties().getStartRule(); if(startRule != null && !"".equals(startRule)){ try{ link = c_perlUtil.substit... | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/6a0c9ffe86a710b8029c987072b2834016b13a30/CmsStaticExport.java/buggy/src/com/opencms/file/CmsStaticExport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
26246,
798,
2098,
461,
12,
780,
1692,
15329,
3639,
514,
8526,
2931,
273,
2149,
5788,
6144,
2297,
18,
588,
2098,
4478,
12,
39,
67,
6720,
3378,
67,
2294,
6519,
1769,
3639,
514,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
26246,
798,
2098,
461,
12,
780,
1692,
15329,
3639,
514,
8526,
2931,
273,
2149,
5788,
6144,
2297,
18,
588,
2098,
4478,
12,
39,
67,
6720,
3378,
67,
2294,
6519,
1769,
3639,
514,
... |
return new PdfTable(table, indentLeft(), indentRight(), currentHeight > 0 ? indentTop() - currentHeight - 2f * leading : indentTop(), supportRowAdditions); | return new PdfTable(table, indentLeft(), indentRight(), indentTop() - currentHeight, supportRowAdditions); | PdfTable getPdfTable(Table table, boolean supportRowAdditions) { return new PdfTable(table, indentLeft(), indentRight(), currentHeight > 0 ? indentTop() - currentHeight - 2f * leading : indentTop(), supportRowAdditions); } | 4174 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4174/2e8769f0c9cfcf398581bb01bf18b43606a9fb37/PdfDocument.java/clean/src/com/lowagie/text/pdf/PdfDocument.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
18562,
1388,
1689,
2180,
1388,
12,
1388,
1014,
16,
1250,
2865,
1999,
986,
5029,
13,
288,
202,
202,
2463,
394,
9989,
1388,
12,
2121,
16,
3504,
3910,
9334,
3504,
4726,
9334,
1875,
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,
18562,
1388,
1689,
2180,
1388,
12,
1388,
1014,
16,
1250,
2865,
1999,
986,
5029,
13,
288,
202,
202,
2463,
394,
9989,
1388,
12,
2121,
16,
3504,
3910,
9334,
3504,
4726,
9334,
1875,
202,... |
public static void setCurrentManager(RepaintManager manager) { } | public static void setCurrentManager(RepaintManager manager) { globalManager = manager; } | public static void setCurrentManager(RepaintManager manager) { // TODO } // setCurrentManager() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/RepaintManager.java/buggy/core/src/classpath/javax/javax/swing/RepaintManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
12589,
1318,
12,
18933,
1598,
1318,
3301,
13,
288,
202,
202,
759,
2660,
202,
97,
368,
12589,
1318,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
12589,
1318,
12,
18933,
1598,
1318,
3301,
13,
288,
202,
202,
759,
2660,
202,
97,
368,
12589,
1318,
1435,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
sb.append(s); | sb.append(s.toString()); | public String showState(Bundle bundle) { StringBuffer sb = new StringBuffer(); try { StringBuffer s = new StringBuffer(Integer.toString(startLevel.getBundleStartLevel(bundle))); while(s.length() < 2) { s.insert(0, " "); } sb.append(s); } catch (Exception ignored) { sb.append("--")... | 13251 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13251/86f21850eb85ee739e19d5e00031c68567f5cebc/FrameworkCommandGroup.java/buggy/osgi/bundles/frameworkcommands/src/org/knopflerfish/bundle/frameworkcommands/FrameworkCommandGroup.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
2405,
1119,
12,
3405,
3440,
13,
288,
565,
6674,
2393,
273,
394,
6674,
5621,
565,
775,
288,
4202,
6674,
272,
273,
225,
202,
2704,
6674,
12,
4522,
18,
10492,
12,
1937,
2355,
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,
514,
2405,
1119,
12,
3405,
3440,
13,
288,
565,
6674,
2393,
273,
394,
6674,
5621,
565,
775,
288,
4202,
6674,
272,
273,
225,
202,
2704,
6674,
12,
4522,
18,
10492,
12,
1937,
2355,
18... |
if ( !isArtifactRegistered( artifact, earModules ) && ( !Artifact.SCOPE_TEST.equals( artifact.getScope() ) || !Artifact.SCOPE_PROVIDED.equals( artifact.getScope() ) ) ) | if ( !isArtifactRegistered( artifact, earModules ) && !Artifact.SCOPE_TEST.equals( artifact.getScope() ) && !Artifact.SCOPE_PROVIDED.equals( artifact.getScope() ) | public void execute() throws MojoExecutionException { getLog().debug( "Resolving ear modules ..." ); if ( modules != null && modules.length > 0 ) { // Let's validate user-defined modules EarModule module = null; try { for ( in... | 47050 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47050/7a69f15c15f10e0bdc236b43289be490630de99b/AbstractEarMojo.java/buggy/maven-plugins/maven-ear-plugin/src/main/java/org/apache/maven/plugin/ear/AbstractEarMojo.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
1435,
3639,
1216,
18780,
565,
288,
3639,
9189,
7675,
4148,
12,
315,
2903,
6282,
6897,
4381,
18483,
11272,
3639,
309,
261,
4381,
480,
446,
597,
4381,
18,
2469,
405,
374,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
1435,
3639,
1216,
18780,
565,
288,
3639,
9189,
7675,
4148,
12,
315,
2903,
6282,
6897,
4381,
18483,
11272,
3639,
309,
261,
4381,
480,
446,
597,
4381,
18,
2469,
405,
374,
2... |
new Column(this, "subject", new StringPoemType(false, -1), DefinitionSource.dsd) { | new Column(this, "subject", new StringPoemType(false, -1), DefinitionSource.dsd) { | protected void init() throws PoemException { super.init(); defineColumn(col_id = new Column(this, "id", new TroidPoemType(), DefinitionSource.dsd) { public Object getCooked(Persistent g) throws AccessPoemException, PoemException { return ((Message)g).getId(); } ... | 7000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7000/be0d94392753a7ff5da9e72f3de81ca9709c0ce6/MessageTableBase.java/clean/MelatiBoards/src/main/java/org/paneris/melati/boards/model/generated/MessageTableBase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
1435,
1216,
453,
83,
351,
503,
288,
565,
2240,
18,
2738,
5621,
565,
4426,
1494,
12,
1293,
67,
350,
273,
3639,
394,
4753,
12,
2211,
16,
315,
350,
3113,
394,
399,
5560,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
1435,
1216,
453,
83,
351,
503,
288,
565,
2240,
18,
2738,
5621,
565,
4426,
1494,
12,
1293,
67,
350,
273,
3639,
394,
4753,
12,
2211,
16,
315,
350,
3113,
394,
399,
5560,
... |
switch(code) { case FetchException.ARCHIVE_FAILURE: case FetchException.BLOCK_DECODE_ERROR: case FetchException.HAS_MORE_METASTRINGS: case FetchException.INVALID_METADATA: case FetchException.NOT_IN_ARCHIVE: case FetchException.TOO_DEEP_ARCHIVE_RECURSION: case FetchException.TOO_MANY_ARCHIVE_RESTARTS: case FetchExcepti... | boolean isFatal = e.isFatal(); if(isFatal) | private void realRun() { // Do the fetch Fetcher f = new Fetcher(uri, this.segment.blockFetchContext); try { FetchResult fr = f.realRun(new ClientMetadata(), segment.recursionLevel, uri, (!this.segment.nonFullBlocksAllowed) || dontEnterImplicitArchives, segment.blockFetchContext.localRequestOnly || completed... | 51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/87760d0ac57e5e39f75661e91adeb3a9ffcc5dfb/BlockFetcher.java/buggy/src/freenet/client/BlockFetcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
2863,
1997,
1435,
288,
202,
202,
759,
2256,
326,
2158,
202,
202,
16855,
284,
273,
394,
8065,
264,
12,
1650,
16,
333,
18,
9273,
18,
2629,
5005,
1042,
1769,
202,
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,
1152,
918,
2863,
1997,
1435,
288,
202,
202,
759,
2256,
326,
2158,
202,
202,
16855,
284,
273,
394,
8065,
264,
12,
1650,
16,
333,
18,
9273,
18,
2629,
5005,
1042,
1769,
202,
202,
698,... |
sbuf.append(" background: #596ED5; "); sbuf.append(" color: #FFF; "); sbuf.append(" font-weight: bold; "); sbuf.append(" font-size: larger; "); | sbuf.append("background: #596ED5; "); sbuf.append("color: #FFF; "); sbuf.append("font-weight: bold; "); sbuf.append("font-size: larger; "); | public void addCss(StringBuffer sbuf) { sbuf.append("<STYLE type=\"text/css\">"); sbuf.append(" table { "); sbuf.append(" margin-left: 2em; "); sbuf.append(" margin-right: 2em; "); sbuf.append(" border-left: 2px solid #AAA; "); sbuf.append("}"); sb... | 47402 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47402/72de6f8151b7528215bcfe228f8ae4bd010d1715/DefaultCssBuilder.java/buggy/logback-access/src/main/java/ch/qos/logback/access/html/DefaultCssBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
527,
7359,
12,
780,
1892,
2393,
696,
13,
288,
565,
2393,
696,
18,
6923,
2932,
32,
15066,
225,
618,
5189,
955,
19,
5212,
21121,
1769,
565,
2393,
696,
18,
6923,
2932,
565,
1014... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
527,
7359,
12,
780,
1892,
2393,
696,
13,
288,
565,
2393,
696,
18,
6923,
2932,
32,
15066,
225,
618,
5189,
955,
19,
5212,
21121,
1769,
565,
2393,
696,
18,
6923,
2932,
565,
1014... |
WrapFactory proxy = (wrapHandler == null) ? null : new WrapHandlerProxy(wrapHandler); setWrapFactory(proxy); | if (wrapHandler == null) { setWrapFactory(new WrapFactory()); } else { setWrapFactory(new WrapHandlerProxy(wrapHandler)); } | public void setWrapHandler(WrapHandler wrapHandler) { WrapFactory proxy = (wrapHandler == null) ? null : new WrapHandlerProxy(wrapHandler); setWrapFactory(proxy); } | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/6b236fb6c113380e752075b731a5cf71fc3fcda7/Context.java/buggy/src/org/mozilla/javascript/Context.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
2964,
1503,
12,
2964,
1503,
2193,
1503,
13,
288,
3639,
4266,
1733,
2889,
273,
261,
4113,
1503,
422,
446,
13,
692,
446,
11794,
294,
394,
4266,
1503,
3886,
12,
4113,
1503,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
2964,
1503,
12,
2964,
1503,
2193,
1503,
13,
288,
3639,
4266,
1733,
2889,
273,
261,
4113,
1503,
422,
446,
13,
692,
446,
11794,
294,
394,
4266,
1503,
3886,
12,
4113,
1503,
... |
private void createCalendarData() { GridData gridData = new org.eclipse.swt.layout.GridData(); gridData.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL; gridData.grabExcessHorizontalSpace = true; gridData.verticalAlignment = org.eclipse.swt.layout.GridData.CENTER; for (int i = 0; i < 42; ++i) { ... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/60a11b503bcd5753572f2ff6f9276a4b414f3931/DatePicker.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/contribution/DatePicker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1152,
918,
752,
7335,
751,
1435,
288,
1082,
202,
6313,
751,
3068,
751,
273,
394,
2358,
18,
20416,
18,
5328,
88,
18,
6741,
18,
6313,
751,
5621,
1082,
202,
5222,
751,
18,
18396,
115... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1152,
918,
752,
7335,
751,
1435,
288,
1082,
202,
6313,
751,
3068,
751,
273,
394,
2358,
18,
20416,
18,
5328,
88,
18,
6741,
18,
6313,
751,
5621,
1082,
202,
5222,
751,
18,
18396,
115... | ||
new GridBagConstraints(0, y, 1, 2, 0, 0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, ICON_INSETS, 5, 5); | new GridBagConstraints(0, y, 1, 2, 0, 0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, ICON_INSETS, ACTION_BUTTON_PADDING, ACTION_BUTTON_PADDING); | public void addButton(final MyActionButton button, String commandLink, String description) { final int y = myIdx += 2; GridBagConstraints gBC = new GridBagConstraints(0, y, 1, 2, 0, 0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, ICON_INSETS, 5, 5); button.setCursor(Cursor.getPredefi... | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/057c1fc4eca73d8d659037771b3e5b73e8b81dd3/WelcomeScreen.java/clean/source/com/intellij/openapi/wm/impl/welcomeScreen/WelcomeScreen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
3616,
12,
6385,
8005,
1803,
3616,
3568,
16,
514,
1296,
2098,
16,
514,
2477,
13,
288,
1377,
727,
509,
677,
273,
3399,
4223,
1011,
576,
31,
1377,
13075,
314,
16283,
273,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
3616,
12,
6385,
8005,
1803,
3616,
3568,
16,
514,
1296,
2098,
16,
514,
2477,
13,
288,
1377,
727,
509,
677,
273,
3399,
4223,
1011,
576,
31,
1377,
13075,
314,
16283,
273,
3... |
case Id_getFullYear: return wrap_double(realThis(thisObj, f, true). jsFunction_getFullYear()); | case Id_getFullYear: return wrap_double(realThis(thisObj, f, true). jsFunction_getFullYear()); | public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { switch (methodId) { case ConstructorId_UTC: return wrap_double (jsStaticFunction_UTC(args)); case ConstructorId... | 54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/35caf7c2bb93872680ae16e34746d94fe1e533e3/NativeDate.java/buggy/js/rhino/src/org/mozilla/javascript/NativeDate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
... |
} | public RubyArray coerce(IRubyObject num) { RubyNumeric other = numericValue(num); if (getMetaClass() == other.getMetaClass()) { return RubyArray.newArray(getRuntime(), other, this); } else { return RubyArray.newArray( getRuntime(), RubyFloat.n... | 48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/1c602493a83e2050f401fa6925ec7e9269b45e4e/RubyNumeric.java/clean/src/org/jruby/RubyNumeric.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
1076,
12270,
12,
7937,
10340,
921,
818,
13,
288,
3639,
19817,
9902,
1308,
273,
6389,
620,
12,
2107,
1769,
3639,
309,
261,
588,
2781,
797,
1435,
422,
1308,
18,
588,
2781,
797,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
1076,
12270,
12,
7937,
10340,
921,
818,
13,
288,
3639,
19817,
9902,
1308,
273,
6389,
620,
12,
2107,
1769,
3639,
309,
261,
588,
2781,
797,
1435,
422,
1308,
18,
588,
2781,
797,... | |
i = aPC.getStatList().getStatModFor( ((PCClass) aClass).getSpellBaseStat()); | int statMod = aPC.getStatList().getStatModFor(((PCClass) aClass).getSpellBaseStat()); | private void setSpellListSelections( final PlayerCharacter aPC, final List availableList, final List selectedList) { Iterator choicesIt = choices.iterator(); int i; Iterator iter; final boolean needSpellbook; switch (((String) choicesIt.next()).charAt(0)) { case... | 48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/f44a082c2f8465baf70c1793f02e99b4b1a30f7c/SpellListChoiceManager.java/clean/code/src/java/pcgen/core/chooser/SpellListChoiceManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
444,
3389,
1165,
682,
29913,
12,
202,
565,
727,
19185,
7069,
279,
3513,
16,
202,
565,
727,
987,
5411,
2319,
682,
16,
202,
565,
727,
987,
5411,
3170,
682,
13,
202,
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,
225,
202,
1152,
918,
444,
3389,
1165,
682,
29913,
12,
202,
565,
727,
19185,
7069,
279,
3513,
16,
202,
565,
727,
987,
5411,
2319,
682,
16,
202,
565,
727,
987,
5411,
3170,
682,
13,
202,
95,
... |
protected String getImageMapID(IImage image) | protected String getImageMapID( IImage image ) | protected String getImageMapID(IImage image) { if(image.getReportRunnable()!=null) { return image.getReportRunnable().hashCode() + image.getID(); } return image.getID(); } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/1d8d582eae226915b0af0dada3168441cc0fb0a2/HTMLServerImageHandler.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/HTMLServerImageHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
10567,
863,
734,
12,
45,
2040,
1316,
13,
202,
95,
202,
202,
430,
12,
2730,
18,
588,
4820,
20013,
1435,
5,
33,
2011,
13,
202,
202,
95,
1082,
202,
2463,
1316,
18,
588,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
10567,
863,
734,
12,
45,
2040,
1316,
13,
202,
95,
202,
202,
430,
12,
2730,
18,
588,
4820,
20013,
1435,
5,
33,
2011,
13,
202,
202,
95,
1082,
202,
2463,
1316,
18,
588,
... |
public void setConf(NutchConf conf) { | public void setConf(Configuration conf) { | public void setConf(NutchConf conf) { this.conf = conf; if (conf.getBoolean("http.auth.verbose", false)) { LOG.setLevel(Level.FINE); } else { LOG.setLevel(Level.WARNING); } } | 46828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46828/25437bc825d50715dcc9a289a1b4c8fbbc6aced1/HttpAuthenticationFactory.java/clean/src/plugin/protocol-httpclient/src/java/org/apache/nutch/protocol/httpclient/HttpAuthenticationFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
3976,
12,
1750,
2195,
13,
288,
1377,
333,
18,
3923,
273,
2195,
31,
1377,
309,
261,
3923,
18,
588,
5507,
2932,
2505,
18,
1944,
18,
11369,
3113,
629,
3719,
288,
3639,
2018... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
444,
3976,
12,
1750,
2195,
13,
288,
1377,
333,
18,
3923,
273,
2195,
31,
1377,
309,
261,
3923,
18,
588,
5507,
2932,
2505,
18,
1944,
18,
11369,
3113,
629,
3719,
288,
3639,
2018... |
dph.getUserValue( pbh.getExpression( ) ) ); } return map; } public Map getSearchCriteria( ) { Map map = new HashMap( ); for ( Iterator itr = handle.getSearch( ).iterator( ); itr.hasNext( ); ) { SearchKeyHandle skh = (SearchKeyHandle) itr.next( ); map.put( skh.getExpression( ), dph.getUserValue( skh.getExpression( ) ... | public void processAction( Action action, StructureSource source ) { if ( ActionType.URL_REDIRECT_LITERAL.equals( action.getType( ) ) ) { URLValue uv = (URLValue) action.getValue( ); String sa = uv.getBaseUrl( ); String target = null; if ( StructureType.SERIES_DATA_POINT.equals( source.getType( ) ) ) { ... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/750c2157bea2770b4e16f8ae221dfe13162f4eb2/BIRTActionRenderer.java/buggy/chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/reportitem/BIRTActionRenderer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1207,
1803,
12,
4382,
1301,
16,
13348,
1830,
1084,
262,
202,
95,
202,
202,
430,
261,
4382,
559,
18,
1785,
67,
25103,
67,
23225,
18,
14963,
12,
1301,
18,
588,
559,
12,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1207,
1803,
12,
4382,
1301,
16,
13348,
1830,
1084,
262,
202,
95,
202,
202,
430,
261,
4382,
559,
18,
1785,
67,
25103,
67,
23225,
18,
14963,
12,
1301,
18,
588,
559,
12,
2... | |
try { executeTask(); } finally { releaseScmManager(); } | executeTask(); | public void execute() throws MojoExecutionException { try { initScmManager(); if ( username == null ) { username = System.getProperty( "user.name" ); } // -------------------------------------------------------------------... | 48791 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48791/701ef520a30c7b30dcdf2e4a4f06548cc06fbf0b/AbstractReleaseMojo.java/buggy/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/AbstractReleaseMojo.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
1435,
3639,
1216,
18780,
565,
288,
3639,
775,
3639,
288,
5411,
1208,
1541,
81,
1318,
5621,
5411,
309,
261,
2718,
422,
446,
262,
5411,
288,
7734,
2718,
273,
2332,
18,
588,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
1435,
3639,
1216,
18780,
565,
288,
3639,
775,
3639,
288,
5411,
1208,
1541,
81,
1318,
5621,
5411,
309,
261,
2718,
422,
446,
262,
5411,
288,
7734,
2718,
273,
2332,
18,
588,... |
lsDupe = new Listener() { public void handleEvent(Event e) { dupeSelected(); } }; | lsNew = new Listener() { public void handleEvent(Event e) { newSelected(); } }; | lsDupe = new Listener() { public void handleEvent(Event e) { dupeSelected(); } }; | 58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/8de15a6f1fed943a201f843b109f9b0169217e11/Chef.java/buggy/kettle/src/be/ibridge/kettle/chef/Chef.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
3251,
40,
89,
347,
282,
273,
394,
10652,
1435,
288,
1071,
918,
1640,
1133,
12,
1133,
425,
13,
288,
9978,
347,
7416,
5621,
289,
289,
31,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
3251,
40,
89,
347,
282,
273,
394,
10652,
1435,
288,
1071,
918,
1640,
1133,
12,
1133,
425,
13,
288,
9978,
347,
7416,
5621,
289,
289,
31,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
protected abstract ContinuumProjectBuildingResult doExecute( String pomUrl, int selectedProjectGroup ) | protected abstract ContinuumProjectBuildingResult doExecute( String pomUrl, int selectedProjectGroup, boolean checkProtocol ) | protected abstract ContinuumProjectBuildingResult doExecute( String pomUrl, int selectedProjectGroup ) throws ContinuumException; | 48499 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48499/22cd1dca03d5bb7b37708c5f5465d7b3b360ac0f/AddMavenProjectAction.java/clean/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/AddMavenProjectAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
8770,
1816,
6860,
379,
4109,
16713,
1253,
741,
5289,
12,
514,
21400,
1489,
16,
509,
3170,
4109,
1114,
16,
1250,
866,
5752,
262,
3639,
1216,
1816,
6860,
379,
503,
31,
2,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
8770,
1816,
6860,
379,
4109,
16713,
1253,
741,
5289,
12,
514,
21400,
1489,
16,
509,
3170,
4109,
1114,
16,
1250,
866,
5752,
262,
3639,
1216,
1816,
6860,
379,
503,
31,
2,
-100,
-100,
... |
String [] options = new String[2]; options[0] = "Yes"; options[1] = "No"; int answer = JOptionPane.showOptionDialog(masterFrame, "Are you sure you wish to quit?", "Quit Game?", JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE, null, options, options[1]); if (answer == JOptionPane.YES_OPTION) | JFileChooser chooser = new JFileChooser(); chooser.setFileFilter(new ConfigFileFilter()); int returnVal = chooser.showOpenDialog(masterFrame); if (returnVal == JFileChooser.APPROVE_OPTION) | public void actionPerformed(ActionEvent e) { String [] options = new String[2]; options[0] = "Yes"; options[1] = "No"; int answer = JOptionPane.showOptionDialog(masterFrame, "Are you sure you wish to quit?", ... | 51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/732a2420b8d21c0ea6b14ff4cf03374febf32ce0/MasterBoard.java/buggy/Colossus/net/sf/colossus/client/MasterBoard.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
5411,
288,
7734,
514,
5378,
702,
273,
394,
514,
63,
22,
15533,
7734,
702,
63,
20,
65,
273,
315,
22352,
14432,
7734,
702,
63,
21,
65,
273,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
5411,
288,
7734,
514,
5378,
702,
273,
394,
514,
63,
22,
15533,
7734,
702,
63,
20,
65,
273,
315,
22352,
14432,
7734,
702,
63,
21,
65,
273,
3... |
WizardCollectionElement currentChild = (WizardCollectionElement) children[i]; | IWizardCategory currentChild = children[i]; | private WizardCollectionElement getChildWithID( WizardCollectionElement parent, String id) { Object[] children = parent.getChildren(null); for (int i = 0; i < children.length; ++i) { WizardCollectionElement currentChild = (WizardCollectionElement) children[i]; if (curr... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/3d694fa5580f66413fa910c2e54a03aaef1cec34/NewWizard.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/NewWizard.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
678,
13412,
2532,
1046,
8154,
1190,
734,
12,
5411,
678,
13412,
2532,
1046,
982,
16,
514,
612,
13,
288,
3639,
1033,
8526,
2325,
273,
982,
18,
588,
4212,
12,
2011,
1769,
3639,
364,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
678,
13412,
2532,
1046,
8154,
1190,
734,
12,
5411,
678,
13412,
2532,
1046,
982,
16,
514,
612,
13,
288,
3639,
1033,
8526,
2325,
273,
982,
18,
588,
4212,
12,
2011,
1769,
3639,
364,
... |
public static boolean isBlitzable(Territory current, GameData data, PlayerID player) { if(current.isWater()) return false; if(current.getOwner().isNull()) return false; if(data.getAllianceTracker().isAllied(player, current.getOwner())) return false; if(DelegateFinder.bat... | 8339 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8339/76af94533b56205da4a92bdba4cf43b22166fc20/MoveValidator.java/buggy/src/games/strategy/triplea/delegate/MoveValidator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
225,
760,
225,
1250,
225,
353,
4802,
305,
94,
429,
12,
56,
25313,
225,
783,
16,
225,
14121,
751,
225,
501,
16,
225,
19185,
734,
225,
7291,
13,
202,
95,
202,
3639,
309,
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,
225,
760,
225,
1250,
225,
353,
4802,
305,
94,
429,
12,
56,
25313,
225,
783,
16,
225,
14121,
751,
225,
501,
16,
225,
19185,
734,
225,
7291,
13,
202,
95,
202,
3639,
309,
12,
... | ||
Assert.notNull(d); if (isSystemType(klass)) | if ( d == null || isSystemType(klass) ) | public boolean allowLoad(Class<? extends IObject> klass, Details d) { Assert.notNull(klass); Assert.notNull(d); if (isSystemType(klass)) return true; return SecurityFilter.passesFilter(this, d); } | 55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/e6b7ac4062ce844e31078de77a00a7ab77e5e5d5/BasicSecuritySystem.java/buggy/components/server/src/ome/security/BasicSecuritySystem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1699,
2563,
12,
797,
12880,
3231,
467,
921,
34,
7352,
16,
21897,
302,
13,
288,
202,
202,
8213,
18,
902,
2041,
12,
22626,
1769,
202,
202,
8213,
18,
902,
2041,
12,
72,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1699,
2563,
12,
797,
12880,
3231,
467,
921,
34,
7352,
16,
21897,
302,
13,
288,
202,
202,
8213,
18,
902,
2041,
12,
22626,
1769,
202,
202,
8213,
18,
902,
2041,
12,
72,
1... |
public abstract void run(); | void run(); | public abstract void run(); | 45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/b37b39a8e8ee762cc74efa7e8d06368d13147150/Runnable.java/buggy/libraries/javalib/java/lang/Runnable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
8770,
918,
1086,
5621,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
8770,
918,
1086,
5621,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Dimension size = this.ideaMap.getSize(); Point2D p = new Point2D.Double(evt.getX() - (size.width / 2), evt.getY() - (size.height / 2)); IdeaView hit = this.ideaMap.getRootView().getViewAt(p); if (hit != null) { this.ideaMap.setSelectedView(hit); } | public void mouseClicked(MouseEvent evt) { Dimension size = this.ideaMap.getSize(); Point2D p = new Point2D.Double(evt.getX() - (size.width / 2), evt.getY() - (size.height / 2)); IdeaView hit = this.ideaMap.getRootView().getViewAt(p); if (hit != null) { this.ide... | 51106 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51106/7de970a9cefccb2c1fe3cb9bfc66cc0e468b9937/IdeaMapController.java/buggy/src/dg/hipster/controller/IdeaMapController.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
7644,
27633,
12,
9186,
1133,
6324,
13,
288,
3639,
13037,
963,
273,
333,
18,
831,
69,
863,
18,
588,
1225,
5621,
3639,
4686,
22,
40,
293,
273,
394,
4686,
22,
40,
18,
5265,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
7644,
27633,
12,
9186,
1133,
6324,
13,
288,
3639,
13037,
963,
273,
333,
18,
831,
69,
863,
18,
588,
1225,
5621,
3639,
4686,
22,
40,
293,
273,
394,
4686,
22,
40,
18,
5265,
12... | |
public int hashCode(); | int hashCode(); | public int hashCode(); | 45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/b37b39a8e8ee762cc74efa7e8d06368d13147150/Collection.java/buggy/libraries/javalib/java/util/Collection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
509,
13374,
5621,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
509,
13374,
5621,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
area.setContextId(getContextId()); | /** compatibility with web services*/ if (contextParam == null){ String contextId = getContextId(); if (contextId == null){ throw new IllegalStateException("Cannot retrive current context"); } area.setContextId(contextId); } else{ area.setContextId(contextParam); } | public Area createArea(String typeId) { Area area = new AreaImpl(); area.setUuid(getNextUuid()); area.setTypeUuid(typeId); area.setCreated(new Date()); area.setCreatedBy(getCurrentUser()); area.setContextId(getContextId()); LOG.debug("createArea executed with areaId:... | 2021 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2021/68d474db528901032247c01202d3e8cb1309cb76/AreaManagerImpl.java/clean/msgcntr/messageforums-component-impl/src/java/org/sakaiproject/component/app/messageforums/AreaManagerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
16668,
752,
5484,
12,
780,
24361,
13,
288,
3639,
16668,
5091,
273,
394,
16668,
2828,
5621,
3639,
5091,
18,
542,
5897,
12,
588,
2134,
5897,
10663,
3639,
5091,
18,
542,
559,
5897,
12,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
16668,
752,
5484,
12,
780,
24361,
13,
288,
3639,
16668,
5091,
273,
394,
16668,
2828,
5621,
3639,
5091,
18,
542,
5897,
12,
588,
2134,
5897,
10663,
3639,
5091,
18,
542,
559,
5897,
12,... |
else if (ie.getSource() == m_chYear || ie.getSource() == m_chType) { | else if (ie.getSource() == m_chWeightClass || ie.getSource() == m_chType) { | public void itemStateChanged(ItemEvent ie) { if (ie.getSource() == m_chSort) { sortMechs(); } else if (ie.getSource() == m_chYear || ie.getSource() == m_chType) { filterMechs(); } } | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/69184bdb48ae20a185dad81923575860165dd737/MechSelectorDialog.java/buggy/megamek/src/megamek/client/ui/AWT/MechSelectorDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
761,
1119,
5033,
12,
1180,
1133,
9228,
13,
565,
288,
3639,
309,
261,
1385,
18,
588,
1830,
1435,
422,
312,
67,
343,
4416,
13,
288,
5411,
1524,
4667,
343,
87,
5621,
3639,
289,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
761,
1119,
5033,
12,
1180,
1133,
9228,
13,
565,
288,
3639,
309,
261,
1385,
18,
588,
1830,
1435,
422,
312,
67,
343,
4416,
13,
288,
5411,
1524,
4667,
343,
87,
5621,
3639,
289,
... |
if( isMetaDataPrepared == false ) { prepareMetaData( ); } | prepareMetaData( ); | public List getResultSetList( ) throws EngineException { if (resultMetaList == null) { if( isMetaDataPrepared == false ) { prepareMetaData( ); } resultMetaList = new ArrayList(); String dispName = null; IBaseQueryDefinition query = null; if( instanceId != null ) { ReportItemDesign reportIt... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/1dcd377fadf82fab37b0b0e582d66281873338c5/DataExtractionTask.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/DataExtractionTask.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
987,
8601,
694,
682,
12,
262,
1216,
10507,
503,
202,
95,
1082,
202,
430,
261,
2088,
2781,
682,
422,
446,
13,
3196,
202,
95,
1082,
202,
430,
12,
353,
6998,
15464,
422,
629,
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,
987,
8601,
694,
682,
12,
262,
1216,
10507,
503,
202,
95,
1082,
202,
430,
261,
2088,
2781,
682,
422,
446,
13,
3196,
202,
95,
1082,
202,
430,
12,
353,
6998,
15464,
422,
629,
2... |
if("http: | if ("http: | public boolean getFeature (String name) throws SAXNotRecognizedException, SAXNotSupportedException { if("http://xml.org/trax/features/sax/input".equals(name)) return true; else if("http://xml.org/trax/features/dom/input".equals(name)) return true; throw new SAXNotRecognizedException(name); } | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/6fbfc5b396871b2ddb731ea98fccffe88307b5d3/StylesheetProcessor.java/clean/src/org/apache/xalan/processor/StylesheetProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
17961,
261,
780,
508,
13,
565,
1216,
10168,
1248,
5650,
9367,
503,
16,
10168,
25482,
225,
288,
565,
309,
2932,
2505,
2207,
2902,
18,
3341,
19,
313,
651,
19,
7139,
19,
87,
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,
282,
1071,
1250,
17961,
261,
780,
508,
13,
565,
1216,
10168,
1248,
5650,
9367,
503,
16,
10168,
25482,
225,
288,
565,
309,
2932,
2505,
2207,
2902,
18,
3341,
19,
313,
651,
19,
7139,
19,
87,
65... |
Object inputElement); | Object inputElement, int nodeStyle, int connectionStyle); | public abstract GraphModel createModelFromContentProvider( Object inputElement); | 11225 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11225/d88c3a4fb40c77e4531922dec8f2fb78eba19493/IGraphModelFactory.java/buggy/org.eclipse.zest.core/src/org/eclipse/zest/core/internal/graphmodel/IGraphModelFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8770,
5601,
1488,
15552,
1265,
1350,
2249,
12,
1082,
202,
921,
810,
1046,
1769,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
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,
225,
202,
482,
8770,
5601,
1488,
15552,
1265,
1350,
2249,
12,
1082,
202,
921,
810,
1046,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
public void insertTransformation(long id_transformation, String name, long id_step_read, long id_step_write, | public synchronized void insertTransformation(long id_transformation, String name, long id_step_read, long id_step_write, | public void insertTransformation(long id_transformation, String name, long id_step_read, long id_step_write, long id_step_input, long id_step_output, long id_step_update, long id_database_log, String table_name_log, boolean use_batchid, boolean use_logfield, long id_database_maxdate, String table_name_maxdate, S... | 9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/9a23bf7234591fe690816bbf6320414c2ad3eaae/Repository.java/clean/src/be/ibridge/kettle/repository/Repository.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2243,
15292,
12,
5748,
612,
67,
2338,
1471,
16,
514,
508,
16,
1525,
612,
67,
4119,
67,
896,
16,
1525,
612,
67,
4119,
67,
2626,
16,
1082,
202,
5748,
612,
67,
4119,
67,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2243,
15292,
12,
5748,
612,
67,
2338,
1471,
16,
514,
508,
16,
1525,
612,
67,
4119,
67,
896,
16,
1525,
612,
67,
4119,
67,
2626,
16,
1082,
202,
5748,
612,
67,
4119,
67,
... |
return ordinateEdge; } | return ordinateEdge; } | public List getOrdinateEdge() throws OLAPException { return ordinateEdge; } | 37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/b5b5168edc3af09cb74945a80b0c36e6630ed502/MondrianCubeView.java/buggy/src/main/mondrian/jolap/MondrianCubeView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
10117,
72,
3322,
6098,
1435,
1216,
531,
48,
2203,
503,
288,
202,
202,
2463,
4642,
3322,
6098,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
987,
10117,
72,
3322,
6098,
1435,
1216,
531,
48,
2203,
503,
288,
202,
202,
2463,
4642,
3322,
6098,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
com.liferay.portal.model.Permission permission) | java.lang.String permissionPK) | public static boolean removePermission(java.lang.String pk, com.liferay.portal.model.Permission permission) throws com.liferay.portal.NoSuchRoleException, com.liferay.portal.NoSuchPermissionException, com.liferay.portal.SystemException { return getPersistence().removePermission(pk, permission); } | 57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f3ad9fb1651cda52873ea772c3df0bb9bd03b52f/RoleUtil.java/buggy/portal-ejb/src/com/liferay/portal/service/persistence/RoleUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1250,
1206,
5041,
12,
6290,
18,
4936,
18,
780,
2365,
16,
202,
202,
832,
18,
10256,
15164,
18,
24386,
18,
2284,
18,
5041,
4132,
13,
202,
202,
15069,
532,
18,
10256,
15164,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1206,
5041,
12,
6290,
18,
4936,
18,
780,
2365,
16,
202,
202,
832,
18,
10256,
15164,
18,
24386,
18,
2284,
18,
5041,
4132,
13,
202,
202,
15069,
532,
18,
10256,
15164,... |
ResultMetaData resultMeta = new ResultMetaData( getValueExpressions( query )); | DataExtractionHelper helper = new DataExtractionHelper( (IQueryDefinition)query, null, executionContext.getScope( ), this.mapQueryToValueExprs, this.mapExprToDataName ); IResultMetaData resultMeta = helper.getResultMetaData( ); | private void addToResultSetList( IBaseQueryDefinition query, String displayName ) { assert query != null; assert displayName != null; ResultMetaData resultMeta = new ResultMetaData( getValueExpressions( query )); IResultSetItem resultItem = new ResultSetItem(displayName, resultMeta); resultMetaList.add(... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e5e3641fb4b1af6c18cbfa174a0f7563ffa9c1ed/DataExtractionTask.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/DataExtractionTask.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
9604,
13198,
682,
12,
467,
2171,
1138,
1852,
843,
16,
1875,
202,
780,
16218,
262,
202,
95,
202,
202,
11231,
843,
480,
446,
31,
202,
202,
11231,
16218,
480,
446,
31,
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,
9604,
13198,
682,
12,
467,
2171,
1138,
1852,
843,
16,
1875,
202,
780,
16218,
262,
202,
95,
202,
202,
11231,
843,
480,
446,
31,
202,
202,
11231,
16218,
480,
446,
31,
9506... |
if (topRight != null) tempHeight = Math.max(tempHeight, topRight.computeSize( | if (topRight != null) { tempHeight = Math.max(tempHeight, topRight.computeSize( | void resetTabSize(boolean checkHeight) { int oldHeight = tabHeight; if (!fixedTabHeight && checkHeight) { int tempHeight = 0; GC gc = new GC(this); for (int i = 0; i < items.length; i++) { tempHeight = Math.max(tempHeight, items[i].preferredHeight(gc)); ... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/3a23c3b9bac4db696a0452560047155775a707b7/CTabFolder.java/buggy/bundles/org.eclipse.ui.presentations.r21/src/org/eclipse/ui/internal/presentations/r21/widgets/CTabFolder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
2715,
5661,
1225,
12,
6494,
866,
2686,
13,
288,
3639,
509,
1592,
2686,
273,
3246,
2686,
31,
3639,
309,
16051,
12429,
5661,
2686,
597,
866,
2686,
13,
288,
5411,
509,
1906,
2686,
273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
2715,
5661,
1225,
12,
6494,
866,
2686,
13,
288,
3639,
509,
1592,
2686,
273,
3246,
2686,
31,
3639,
309,
16051,
12429,
5661,
2686,
597,
866,
2686,
13,
288,
5411,
509,
1906,
2686,
273,
... |
if (ifaceSym.isPrimaryConstructor()) { | if (ifaceSym.isPrimaryConstructor()) | protected Symbol getClassSym(Symbol ifaceSym) { assert !hasClassSuffix(ifaceSym.name) : ifaceSym.name; if (!needInterface(ifaceSym)) { return ifaceSym; } else { if (!ifaceToClass.containsKey(ifaceSym)) { Symbol classSym; Name ifaceName = iface... | 49529 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49529/0b68bd30b1b5101aaf3b913ab00c0af33104bf8e/AddInterfaces.java/buggy/sources/scalac/transformer/AddInterfaces.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
8565,
2900,
11901,
12,
5335,
9751,
11901,
13,
288,
3639,
1815,
401,
5332,
797,
5791,
12,
31479,
11901,
18,
529,
13,
294,
9751,
11901,
18,
529,
31,
3639,
309,
16051,
14891,
1358,
12,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
8565,
2900,
11901,
12,
5335,
9751,
11901,
13,
288,
3639,
1815,
401,
5332,
797,
5791,
12,
31479,
11901,
18,
529,
13,
294,
9751,
11901,
18,
529,
31,
3639,
309,
16051,
14891,
1358,
12,... |
Set<DirEdge<String>> loops = g.getAllEdges(m_v1, m_v1); | Set<DefaultEdge> loops = g.getAllEdges(m_v1, m_v1); | public void testGetAllEdges() { DirectedGraph<String, DirEdge<String>> g = createMultiTriangleWithMultiLoop(); Set<DirEdge<String>> loops = g.getAllEdges(m_v1, m_v1); assertEquals(1, loops.size()); } | 4188 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4188/c3e5aa9fad3b9e0927939b2a916ae5049377758b/DefaultDirectedGraphTest.java/buggy/testsrc/org/jgrapht/graph/DefaultDirectedGraphTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
21413,
10697,
1435,
565,
288,
3639,
9908,
329,
4137,
32,
780,
16,
8446,
6098,
32,
780,
9778,
314,
273,
752,
5002,
31506,
1190,
5002,
6452,
5621,
3639,
1000,
32,
1868,
609... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21413,
10697,
1435,
565,
288,
3639,
9908,
329,
4137,
32,
780,
16,
8446,
6098,
32,
780,
9778,
314,
273,
752,
5002,
31506,
1190,
5002,
6452,
5621,
3639,
1000,
32,
1868,
609... |
fValIDRef = fDatatypeValidatorFactory.getBuiltInDV("XML11IDREFS"); | fValIDRef = fDatatypeValidatorFactory.getBuiltInDV("XML11IDREF"); | protected void init() { if(fValidation || fDynamicValidation) { super.init(); // now overwrite some entries in parent: try { fValID = fDatatypeValidatorFactory.getBuiltInDV("XML11ID"); fValIDRef = fDatatypeValidatorFactory.getBuiltInDV("... | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/d5db0c307ccd5ee02d4af81525c263f762ce0499/XML11DTDValidator.java/clean/src/org/apache/xerces/impl/dtd/XML11DTDValidator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1208,
1435,
288,
3639,
309,
12,
74,
4354,
747,
284,
9791,
4354,
13,
288,
5411,
2240,
18,
2738,
5621,
5411,
368,
2037,
6156,
2690,
3222,
316,
982,
30,
5411,
775,
288,
7734,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1208,
1435,
288,
3639,
309,
12,
74,
4354,
747,
284,
9791,
4354,
13,
288,
5411,
2240,
18,
2738,
5621,
5411,
368,
2037,
6156,
2690,
3222,
316,
982,
30,
5411,
775,
288,
7734,
28... |
IRubyObject value = obj.getInstanceVariable(name); if (value != null) { output.dumpObject(runtime.newSymbol(name)); output.dumpObject(value); } | IRubyObject value = (IRubyObject)iVars.get(name); output.dumpObject(runtime.newSymbol(name)); output.dumpObject(value); | public void writeInstanceVars(IRubyObject obj, MarshalStream output) throws IOException { IRuby runtime = obj.getRuntime(); output.dumpInt(obj.getInstanceVariables().size()); for (Iterator iter = obj.instanceVariableNames(); iter.hasNext();) { String name = (String) iter.next();... | 46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/8ba215b45e1c5d4c7c521b253d9715a3cfdd6a34/MarshalStream.java/buggy/src/org/jruby/runtime/marshal/MarshalStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1045,
1442,
5555,
12,
7937,
10340,
921,
1081,
16,
5884,
1228,
876,
13,
1216,
1860,
288,
377,
202,
7937,
10340,
3099,
273,
1081,
18,
588,
5576,
5621,
3639,
876,
18,
8481,
1702,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1045,
1442,
5555,
12,
7937,
10340,
921,
1081,
16,
5884,
1228,
876,
13,
1216,
1860,
288,
377,
202,
7937,
10340,
3099,
273,
1081,
18,
588,
5576,
5621,
3639,
876,
18,
8481,
1702,
... |
public static String whichMethod( Document doc ) { Node node; String value; int i; // If document is derived from HTMLDocument then the default // method is html. if ( doc instanceof HTMLDocument ) return Method.HTML; // Lookup the root element and the text nodes precedin... | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/af047e33ee4283cd437ffa6760ccff3d3d2bf9ea/OutputFormat.java/buggy/src/org/apache/xml/serialize/OutputFormat.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
1492,
1305,
12,
4319,
997,
262,
565,
288,
3639,
2029,
565,
756,
31,
202,
780,
225,
460,
31,
202,
474,
377,
277,
31,
202,
759,
971,
1668,
353,
10379,
628,
3982,
2519,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1492,
1305,
12,
4319,
997,
262,
565,
288,
3639,
2029,
565,
756,
31,
202,
780,
225,
460,
31,
202,
474,
377,
277,
31,
202,
759,
971,
1668,
353,
10379,
628,
3982,
2519,
1... | ||
return feedbackManager; } | return feedbackManager; } | ProgressFeedbackManager getFeedbackManager() { return feedbackManager; } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/4c26d9ee525c094efb56046cd34150f7de2e4a0c/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,
5491,
15888,
1318,
13683,
329,
823,
1318,
1435,
288,
202,
202,
2463,
10762,
1318,
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,
5491,
15888,
1318,
13683,
329,
823,
1318,
1435,
288,
202,
202,
2463,
10762,
1318,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Composition compFrame = new Composition (); compFrame.show(); | Composition compFrame = new Composition (); compFrame.show(); | public static void main(String[] args) { //check arguments if (2 != args.length) { System.out.println ("Usage: composition mail_server_name user_name"); System.exit(0); } Composition compFrame = new Composition (); compFrame.show(); } | 12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/264c49540f4adde3913fd846135e6c8166029cd9/Composition.java/clean/grendel/composition/Composition.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
368,
1893,
1775,
3639,
309,
261,
22,
480,
833,
18,
2469,
13,
288,
5411,
2332,
18,
659,
18,
8222,
7566,
5357,
30,
16919,
4791,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
368,
1893,
1775,
3639,
309,
261,
22,
480,
833,
18,
2469,
13,
288,
5411,
2332,
18,
659,
18,
8222,
7566,
5357,
30,
16919,
4791,
... |
System.err.println("display instead."); | if(model == null || attribute == null || elementName == null) { return; } BrowserModel browserModel = model.getInfoSource(); PaintMethod pm = HeatMapPMFactory.getPaintMethod(currentMode,attribute,elementName, currentScale,gradient.getMinColor(), gradient.getMaxColor()); for(Iterator iter = browserModel.getThumbnails().... | private void displayInformation(SemanticTypeTree.TreeNode node) { System.err.println("display instead."); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/6d45d101f4e831fda33928e252f882d4d16128d2/HeatMapDispatcher.java/clean/SRC/org/openmicroscopy/shoola/agents/browser/heatmap/HeatMapDispatcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2562,
5369,
12,
13185,
9941,
559,
2471,
18,
12513,
756,
13,
565,
288,
3639,
309,
12,
2284,
422,
446,
747,
1566,
422,
446,
747,
14453,
422,
446,
13,
288,
327,
31,
289,
15408,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2562,
5369,
12,
13185,
9941,
559,
2471,
18,
12513,
756,
13,
565,
288,
3639,
309,
12,
2284,
422,
446,
747,
1566,
422,
446,
747,
14453,
422,
446,
13,
288,
327,
31,
289,
15408,
... |
i.remove(); try { IEditorInput editorInput = editor.getEditorInput(); if (matchingStrategy.matches(editorInput, input)) { return editor.getEditor(true); } } catch (PartInitException e) { WorkbenchPlugin.log("Error restoring input for editor with id " + editor.getId(), e); | i.remove(); if (matchingStrategy.matches(editor, input)) { return editor.getEditor(true); | public IEditorPart findEditor(IEditorInput input) { ArrayList editorList = new ArrayList(Arrays.asList(editorPresentation.getEditors())); // Phase 1: check editors that have their own matching strategy for (Iterator i = editorList.iterator(); i.hasNext();) { Editor editor = (... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/405fa2aa304ae66a9b0ec70de69cee53c021ddeb/EditorManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/EditorManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
467,
6946,
1988,
1104,
6946,
12,
45,
6946,
1210,
810,
13,
288,
3639,
2407,
4858,
682,
273,
394,
2407,
12,
12726,
18,
345,
682,
12,
9177,
6351,
367,
18,
588,
4666,
1383,
1435,
1001... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6946,
1988,
1104,
6946,
12,
45,
6946,
1210,
810,
13,
288,
3639,
2407,
4858,
682,
273,
394,
2407,
12,
12726,
18,
345,
682,
12,
9177,
6351,
367,
18,
588,
4666,
1383,
1435,
1001... |
public final void finalize() { dispose(); } | public final void finalize( ) { dispose( ); } | public final void finalize() { dispose(); } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/06c72eb7a3005a63bbe971e6978d2c9e6d624dd8/SwingTextMetrics.java/clean/chart/org.eclipse.birt.chart.device.extension/src/org/eclipse/birt/chart/device/swing/SwingTextMetrics.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
918,
12409,
1435,
565,
288,
3639,
15825,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
918,
12409,
1435,
565,
288,
3639,
15825,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
public IRubyObject op_cmp(IRubyObject obj) { if (this == obj) { return getRuntime().newFixnum(0); } if (!(obj instanceof RubyModule)) { throw getRuntime().newTypeError( "<=> requires Class or Module (" + getMetaClass().getName() + " given)"); } R... | 45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/1278c5bb3507a052d150d814f15453542ae41aed/RubyModule.java/buggy/src/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
15908,
10340,
921,
1061,
67,
9625,
12,
7937,
10340,
921,
1081,
13,
288,
4202,
309,
261,
2211,
422,
1081,
13,
288,
6647,
327,
18814,
7675,
2704,
8585,
2107,
12,
20,
1769,
4202,
289,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
15908,
10340,
921,
1061,
67,
9625,
12,
7937,
10340,
921,
1081,
13,
288,
4202,
309,
261,
2211,
422,
1081,
13,
288,
6647,
327,
18814,
7675,
2704,
8585,
2107,
12,
20,
1769,
4202,
289,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.