rem stringlengths 1 226k | add stringlengths 0 227k | context stringlengths 6 326k | meta stringlengths 143 403 | input_ids listlengths 256 256 | attention_mask listlengths 256 256 | labels listlengths 128 128 |
|---|---|---|---|---|---|---|
Thread.sleep(SLEEP); | public void testElapsedTimeCapture() throws InterruptedException { long elapsed = task1.getElapsedTime(); assertEquals(0, elapsed); MylarTaskListPlugin.getTaskListManager().activateTask(task1); Thread.sleep(SLEEP); elapsed = task1.getElapsedTime(); assertTrue("should be bigger than timeout", elapsed > TIMEOUT... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/8d19288756b165b6940c13505ff6349cab4ad209/TaskActivityTimingTest.java/clean/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/TaskActivityTimingTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4884,
18,
19607,
12,
55,
900,
10541,
1769,
918,
4884,
18,
19607,
12,
55,
900,
10541,
1769,
1842,
28827,
950,
12372,
1435,
4884,
18,
19607,
12,
55,
900,
10541,
1769,
1216,
4884,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4884,
18,
19607,
12,
55,
900,
10541,
1769,
918,
4884,
18,
19607,
12,
55,
900,
10541,
1769,
1842,
28827,
950,
12372,
1435,
4884,
18,
19607,
12,
55,
900,
10541,
1769,
1216,
4884,
... | |
assertEquals("", MylarTaskListPlugin.getMylarCorePrefs().getString(TaskRepositoryManager.PREF_REPOSITORIES + DEFAULT_KIND)); | assertEquals("", MylarTaskListPlugin.getMylarCorePrefs().getString( TaskRepositoryManager.PREF_REPOSITORIES + DEFAULT_KIND)); | public void testRepositoryPersistanceAfterDelete() throws MalformedURLException { manager.clearRepositories(); assertEquals("", MylarTaskListPlugin.getMylarCorePrefs().getString(TaskRepositoryManager.PREF_REPOSITORIES + DEFAULT_KIND)); TaskRepository repository = new TaskRepository(DEFAULT_KIND, DEFAULT_URL); ma... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/34291e55186f19a45f70710cb308ca45506ab4ef/TaskRepositoryManagerTest.java/clean/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/TaskRepositoryManagerTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
3305,
12771,
1359,
4436,
2613,
1435,
1216,
20710,
288,
202,
202,
4181,
18,
8507,
18429,
5621,
202,
202,
11231,
8867,
2932,
3113,
8005,
7901,
2174,
682,
3773,
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,
482,
918,
1842,
3305,
12771,
1359,
4436,
2613,
1435,
1216,
20710,
288,
202,
202,
4181,
18,
8507,
18429,
5621,
202,
202,
11231,
8867,
2932,
3113,
8005,
7901,
2174,
682,
3773,
18,
588,
... |
for (int i = 0; i < fileName.length; i++) { rep.saveStepAttribute(id_transformation, id_step, i, "file_name", fileName[i]); rep.saveStepAttribute(id_transformation, id_step, i, "file_mask", fileMask[i]); rep.saveStepAttribute(id_transformation, id_step, i, "file_required", fileRequired[i]); } rep.saveStepAttribute(id_t... | for (int i = 0; i < fileName.length; i++) { rep.saveStepAttribute(id_transformation, id_step, i, "file_name", fileName[i]); rep.saveStepAttribute(id_transformation, id_step, i, "file_mask", fileMask[i]); rep.saveStepAttribute(id_transformation, id_step, i, "file_required", fileRequired[i]); } rep.saveStepAttribute(id_t... | public void saveRep(Repository rep, long id_transformation, long id_step) throws KettleException { try { rep.saveStepAttribute(id_transformation, id_step, "get_from_chef", getFileFromChef); rep.saveStepAttribute(id_transformation, id_step, "separator", separator); r... | 9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/dec476e31491451da3a8cd348e87c60e7e36c715/TextFileInputMeta.java/clean/src/be/ibridge/kettle/trans/step/textfileinput/TextFileInputMeta.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1923,
18933,
12,
3305,
2071,
16,
1525,
612,
67,
2338,
1471,
16,
1525,
612,
67,
4119,
13,
1216,
1475,
278,
5929,
503,
565,
288,
3639,
775,
3639,
288,
5411,
2071,
18,
5688,
416... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1923,
18933,
12,
3305,
2071,
16,
1525,
612,
67,
2338,
1471,
16,
1525,
612,
67,
4119,
13,
1216,
1475,
278,
5929,
503,
565,
288,
3639,
775,
3639,
288,
5411,
2071,
18,
5688,
416... |
continue; } | continue; } | public void testOASISMicrosoftConformanceSuite() throws IOException, ParsingException, XSLException { Builder builder = new Builder(); NodeFactory stripper = new StrippingFactory(); Builder strippingBuilder = new Builder(stripper); File base = new File("data/oasis-xslt-tes... | 626 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/626/ba0aaac5fea916ae60e72ab20b7a75b9e8d8fe96/XSLTransformTest.java/clean/src/nu/xom/tests/XSLTransformTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
28202,
2320,
7303,
4616,
9269,
442,
687,
1359,
13587,
1435,
3639,
1216,
1860,
16,
19761,
503,
16,
17243,
503,
288,
7734,
5008,
2089,
273,
394,
5008,
5621,
3639,
2029,
1733,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
28202,
2320,
7303,
4616,
9269,
442,
687,
1359,
13587,
1435,
3639,
1216,
1860,
16,
19761,
503,
16,
17243,
503,
288,
7734,
5008,
2089,
273,
394,
5008,
5621,
3639,
2029,
1733,... |
OptFunctionNode fn = (OptFunctionNode)scriptOrFn.getFunctionNode(i); if (fn.getFunctionType() == FunctionNode.FUNCTION_STATEMENT) { visitFunction(fn, FunctionNode.FUNCTION_STATEMENT); | OptFunctionNode ofn = OptFunctionNode.get(scriptOrFn, i); if (ofn.getFunctionType() == FunctionNode.FUNCTION_STATEMENT) { visitFunction(ofn, FunctionNode.FUNCTION_STATEMENT); | private void generatePrologue() { int directParameterCount = -1; if (inDirectCallFunction) { directParameterCount = scriptOrFn.getParamCount(); // 0 is reserved for function Object 'this' // 1 is reserved for context // 2 is reserved for parentScope ... | 12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/44815cf65982f7a694188ebf105329955b26287f/Codegen.java/clean/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
626,
1330,
344,
1435,
565,
288,
3639,
509,
2657,
1662,
1380,
273,
300,
21,
31,
3639,
309,
261,
267,
5368,
1477,
2083,
13,
288,
5411,
2657,
1662,
1380,
273,
2728,
1162,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
626,
1330,
344,
1435,
565,
288,
3639,
509,
2657,
1662,
1380,
273,
300,
21,
31,
3639,
309,
261,
267,
5368,
1477,
2083,
13,
288,
5411,
2657,
1662,
1380,
273,
2728,
1162,
... |
void getBest( Map<String, Collection<LocationData>> results, BufferedWriter writer ) throws IOException { for ( String probe : results.keySet() ) { Collection<LocationData> probeResults = results.get( probe ); double maxBlatScore = -1.0; double maxScore = 0.0; Loca... | 4335 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4335/7cd21d2032f81ec833508824eb29ea189129ab36/ProbeThreePrimeLocator.java/clean/src/impl/edu/columbia/gemma/tools/ProbeThreePrimeLocator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
918,
588,
14173,
12,
863,
32,
780,
16,
2532,
32,
2735,
751,
9778,
4717,
16,
17947,
2289,
6299,
13,
15069,
14106,
95,
1884,
12,
780,
27230,
30,
4717,
18,
856,
694,
10756,
95,
2532,
32,
2735,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
918,
588,
14173,
12,
863,
32,
780,
16,
2532,
32,
2735,
751,
9778,
4717,
16,
17947,
2289,
6299,
13,
15069,
14106,
95,
1884,
12,
780,
27230,
30,
4717,
18,
856,
694,
10756,
95,
2532,
32,
2735,
... | ||
for (int i = 0; i < parameters.length; i++){ if (!parameters[i].isSet && !parameters[i].isOutput){ throw new SQLException(Messages.get("error.prepare.paramnotset", Integer.toString(i + 1)), "07000"); | if (procName == null && sql.startsWith("EXECUTE ")) { for (int i = 0; i < parameters.length; i++){ if (!parameters[i].isRetVal && parameters[i].isOutput){ throw new SQLException(Messages.get("error.prepare.nooutparam", Integer.toString(i + 1)), "07000"); } | synchronized void executeSQL(String sql, String procName, ParamInfo[] parameters, boolean noMetaData, int timeOut, int maxRows) throws SQLException {... | 2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/48e6f3dc890879de3808f5b46a69bb7eebed3a45/TdsCore.java/buggy/src/main/net/sourceforge/jtds/jdbc/TdsCore.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3852,
918,
1836,
3997,
12,
780,
1847,
16,
4766,
514,
5418,
461,
16,
4766,
3014,
966,
8526,
1472,
16,
4766,
1250,
1158,
6998,
16,
4766,
509,
813,
1182,
16,
4766,
509,
943,
4300,
13,
3639... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3852,
918,
1836,
3997,
12,
780,
1847,
16,
4766,
514,
5418,
461,
16,
4766,
3014,
966,
8526,
1472,
16,
4766,
1250,
1158,
6998,
16,
4766,
509,
813,
1182,
16,
4766,
509,
943,
4300,
13,
3639... |
int old = VM_Magic.prepareInt(o, lockOffset); int id = old & (TL_THREAD_ID_MASK | TL_FAT_LOCK_MASK); int threadId = VM_Processor.getCurrentProcessor().threadId; if (id != threadId) { if ((old & TL_FAT_LOCK_MASK) != 0) { int index = (old & TL_LOCK_ID_MASK) >>> TL_LOCK_ID_SHIFT; | VM_Word old = VM_Magic.prepareWord(o, lockOffset); VM_Word id = old.and(TL_THREAD_ID_MASK.or(TL_FAT_LOCK_MASK)); VM_Word threadId = VM_Word.fromIntZeroExtend(VM_Processor.getCurrentProcessor().threadId); if (id.NE(threadId)) { if (!(old.and(TL_FAT_LOCK_MASK).isZero())) { int index = old.and(TL_LOCK_ID_MASK).rshl(TL_LO... | static void unlock(Object o, int lockOffset) throws VM_PragmaNoInline { VM_Magic.sync(); // prevents stale data from being seen by next owner of the lock while (true) { // spurious contention detected int old = VM_Magic.prepareInt(o, lockOffset); int id = old & (TL_THREAD_ID_MASK | TL_FAT_LOCK_MASK);... | 4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/5b0537043e524613026d1595f6c42e321dcc6771/VM_ThinLock.java/buggy/rvm/src/vm/scheduler/VM_ThinLock.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
918,
7186,
12,
921,
320,
16,
509,
2176,
2335,
13,
1216,
8251,
67,
2050,
9454,
2279,
10870,
288,
565,
8251,
67,
19289,
18,
8389,
5621,
368,
17793,
14067,
501,
628,
3832,
5881,
635,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
918,
7186,
12,
921,
320,
16,
509,
2176,
2335,
13,
1216,
8251,
67,
2050,
9454,
2279,
10870,
288,
565,
8251,
67,
19289,
18,
8389,
5621,
368,
17793,
14067,
501,
628,
3832,
5881,
635,
... |
list.clear(); | synchronized(mutex){ memoryList.clear(); if(!isDiskListEmpty()){ getDiskList().clear(); } } | public void clear(){ list.clear(); } | 17032 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17032/9359e9f6ca110f7d9b4edcfd4a82f90d4c042afa/FilePendingMessageCursor.java/buggy/activemq-core/src/main/java/org/apache/activemq/broker/region/cursors/FilePendingMessageCursor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2424,
1435,
95,
3639,
3852,
12,
29946,
15329,
3778,
682,
18,
8507,
5621,
309,
12,
5,
291,
6247,
682,
1921,
10756,
95,
336,
6247,
682,
7675,
8507,
5621,
289,
289,
565,
289,
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,
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,
2424,
1435,
95,
3639,
3852,
12,
29946,
15329,
3778,
682,
18,
8507,
5621,
309,
12,
5,
291,
6247,
682,
1921,
10756,
95,
336,
6247,
682,
7675,
8507,
5621,
289,
289,
565,
289,
2,... |
throw new IOException(EclipseAdaptorMsg.fileManager_illegalInReadOnlyMode); if (!lock()) | throw new IOException(EclipseAdaptorMsg.fileManager_illegalInReadOnlyMode); if (!lock(true)) | public void update(String[] targets, String[] sources) throws IOException { if (readOnly) throw new IOException(EclipseAdaptorMsg.fileManager_illegalInReadOnlyMode); //$NON-NLS-1$ if (!lock()) throw new IOException(EclipseAdaptorMsg.fileManager_cannotLock); try { updateTable(); for (int i = 0; i < targets... | 2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/c2c12fd69d66a2cec3fd5b01bd960b39fc7d312e/FileManager.java/buggy/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/osgi/service/datalocation/FileManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1089,
12,
780,
8526,
5774,
16,
514,
8526,
5550,
13,
1216,
1860,
288,
202,
202,
430,
261,
896,
3386,
13,
1082,
202,
12849,
394,
1860,
12,
23057,
10472,
29888,
3332,
18,
76... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1089,
12,
780,
8526,
5774,
16,
514,
8526,
5550,
13,
1216,
1860,
288,
202,
202,
430,
261,
896,
3386,
13,
1082,
202,
12849,
394,
1860,
12,
23057,
10472,
29888,
3332,
18,
76... |
"qualified", st.getTokenIndex()); | "qualified", st.getTokenIndex()); | public void parseMessage(MMessage mes, String s) throws ParseException { String fname = null; String guard = null; String paramExpr = null; String token; String varname = null; Vector predecessors = new Vector(); Vector seqno = null; Vector currentseq = new Vector(); Vector args = null; boolean mustBePre = false; b... | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/180aae2a6e4359d416ad1610ef18fe4836df91b8/ParserDisplay.java/buggy/src_new/org/argouml/uml/generator/ParserDisplay.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1109,
1079,
12,
49,
1079,
15216,
16,
514,
272,
13,
1216,
10616,
288,
202,
780,
5299,
273,
446,
31,
202,
780,
11026,
273,
446,
31,
202,
780,
579,
4742,
273,
446,
31,
202,
78... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1109,
1079,
12,
49,
1079,
15216,
16,
514,
272,
13,
1216,
10616,
288,
202,
780,
5299,
273,
446,
31,
202,
780,
11026,
273,
446,
31,
202,
780,
579,
4742,
273,
446,
31,
202,
78... |
if ( bRenderAxisLabels ) | if ( bRenderAxisLabels ) | public final void renderEachAxis( IPrimitiveRenderer ipr, Plot pl, OneAxis ax, int iWhatToDraw ) throws ChartException { final RunTimeContext rtc = getRunTimeContext( ); final Axis axModel = ax.getModelAxis( ); final PlotWith2DAxes pwa = (PlotWith2DAxes) getComputations( ); final Insets insCA = pwa.getAxes( ).ge... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/bdb7b6c5463f7273d9f1038e97552808a8df1f58/AxesRenderer.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/AxesRenderer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1743,
3442,
6558,
12,
467,
9840,
6747,
277,
683,
16,
15211,
886,
16,
1082,
202,
3335,
6558,
1740,
16,
509,
277,
23801,
774,
6493,
262,
1216,
14804,
503,
202,
95,
202... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1743,
3442,
6558,
12,
467,
9840,
6747,
277,
683,
16,
15211,
886,
16,
1082,
202,
3335,
6558,
1740,
16,
509,
277,
23801,
774,
6493,
262,
1216,
14804,
503,
202,
95,
202... |
if (context.getAllowRendering()) { | if (context.getAllowRendering()) { | public boolean render(InternalContextAdapter context, Writer writer) throws IOException, MethodInvocationException { if (referenceType == RUNT) { if (context.getAllowRendering()) { writer.write(rootString); } return true; } ... | 9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/865dec65741b191d751e4ca6cd2e34bd6c0ea2f2/ASTReference.java/clean/src/java/org/apache/velocity/runtime/parser/node/ASTReference.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1743,
12,
3061,
1042,
4216,
819,
16,
5497,
2633,
13,
3639,
1216,
1860,
16,
2985,
9267,
503,
565,
288,
3639,
309,
261,
6180,
559,
422,
534,
5321,
13,
3639,
288,
5411,
309,
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,
1250,
1743,
12,
3061,
1042,
4216,
819,
16,
5497,
2633,
13,
3639,
1216,
1860,
16,
2985,
9267,
503,
565,
288,
3639,
309,
261,
6180,
559,
422,
534,
5321,
13,
3639,
288,
5411,
309,
26... |
public Set getPendingVariableDeclarations(){ | public Set<PsiLocalVariable> getPendingVariableDeclarations(){ | public Set getPendingVariableDeclarations(){ return Collections.unmodifiableSet(m_pendingVariableDeclarations); } | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/e4329a48065fe37b7b5d3d9883a02a38ec8f42fa/SwitchStatementBranch.java/buggy/plugins/IntentionPowerPak/src/com/siyeh/ipp/switchtoif/SwitchStatementBranch.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1000,
32,
52,
7722,
2042,
3092,
34,
1689,
2846,
3092,
21408,
1435,
95,
3639,
327,
5737,
18,
318,
13388,
694,
12,
81,
67,
9561,
3092,
21408,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1000,
32,
52,
7722,
2042,
3092,
34,
1689,
2846,
3092,
21408,
1435,
95,
3639,
327,
5737,
18,
318,
13388,
694,
12,
81,
67,
9561,
3092,
21408,
1769,
565,
289,
2,
-100,
-100,
-100,
-1... |
long nD=databaseForChannel(nid, tid, sid); | NativeData nD=databaseForChannel(nid, tid, sid); | public static SIDatabase getDatabaseForChannel(int nid, int tid, int sid) { long nD=databaseForChannel(nid, tid, sid); if (nD==0) return null; getSIDatabase(); for (int i=0; i<databases.length; i++) if (databases[i].nativeData==nD) return databases[i]; return null;} | 13401 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13401/a7923b75c09c48b82e23fd38892fa78a99d55d4f/SIDatabase.java/buggy/branches/awt_from_classpath/mhp/java/org/dvb/si/SIDatabase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
760,
23150,
2451,
11263,
1290,
2909,
12,
474,
19416,
16,
509,
11594,
16,
509,
7348,
13,
288,
282,
16717,
751,
290,
40,
33,
6231,
1290,
2909,
12,
31030,
16,
11594,
16,
7348,
1769,
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,
1071,
760,
23150,
2451,
11263,
1290,
2909,
12,
474,
19416,
16,
509,
11594,
16,
509,
7348,
13,
288,
282,
16717,
751,
290,
40,
33,
6231,
1290,
2909,
12,
31030,
16,
11594,
16,
7348,
1769,
282,
... |
super.error(e); } | super.error(e); } | public void error(SAXParseException e) throws SAXException { // TODO Auto-generated method stub super.error(e); } | 48585 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48585/78ae837b6e73bb382262a2f8f0b1f8e404431797/SvnXmlLogFileHandler.java/buggy/statsvn/src/net/sf/statcvs/input/SvnXmlLogFileHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
555,
12,
55,
2501,
13047,
425,
13,
1216,
14366,
288,
3639,
368,
2660,
8064,
17,
11168,
707,
7168,
3639,
2240,
18,
1636,
12,
73,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
555,
12,
55,
2501,
13047,
425,
13,
1216,
14366,
288,
3639,
368,
2660,
8064,
17,
11168,
707,
7168,
3639,
2240,
18,
1636,
12,
73,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-10... |
if (jobMeta.isLogfieldUsed()) { log.startStringCapture(); log.setString("START"+Const.CR); } | public Result execute() throws KettleException { if (jobMeta.isLogfieldUsed()) { log.startStringCapture(); log.setString("START"+Const.CR); } // Start the tracking... JobEntryResult jerStart = new JobEntryResult(null, "Start of job execution", "start"... | 58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/f38d8584335e5b70c846b9c280e75d20fe6203ef/Job.java/buggy/kettle/src/be/ibridge/kettle/job/Job.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3438,
1836,
1435,
1216,
1475,
278,
5929,
503,
565,
288,
3639,
309,
261,
4688,
2781,
18,
291,
1343,
1518,
6668,
10756,
3639,
288,
5411,
613,
18,
1937,
780,
12372,
5621,
5411,
613... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3438,
1836,
1435,
1216,
1475,
278,
5929,
503,
565,
288,
3639,
309,
261,
4688,
2781,
18,
291,
1343,
1518,
6668,
10756,
3639,
288,
5411,
613,
18,
1937,
780,
12372,
5621,
5411,
613... | |
FieldSchema fieldSchema = getFieldSchema(field); return fieldSchema != null ? fieldSchema.getName() : null; | return (String) fieldNames.get(new Integer(field)); | public String getFieldName(int field) { FieldSchema fieldSchema = getFieldSchema(field); return fieldSchema != null ? fieldSchema.getName() : null; } | 6791 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6791/551758b11dd3351b0dfef17541d1197c4558b06e/DataDictionary.java/buggy/src/quickfix/DataDictionary.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
19561,
12,
474,
652,
13,
288,
3639,
2286,
3078,
652,
3078,
273,
5031,
3078,
12,
1518,
1769,
3639,
327,
652,
3078,
480,
446,
692,
652,
3078,
18,
17994,
1435,
294,
446,
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,
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,
514,
19561,
12,
474,
652,
13,
288,
3639,
2286,
3078,
652,
3078,
273,
5031,
3078,
12,
1518,
1769,
3639,
327,
652,
3078,
480,
446,
692,
652,
3078,
18,
17994,
1435,
294,
446,
31,
565... |
labPlayerInfo = new Label("Player Setup"); | labPlayerInfo = new Label(Messages.getString("ChatLounge.labPlayerInfo")); | private void setupPlayerInfo() { Player player = client.getLocalPlayer(); panPlayerInfo = new Panel(); labPlayerInfo = new Label("Player Setup"); lisPlayerInfo = new List(5); lisPlayerInfo.addItemListener(new ItemListener() { public void itemStateChanged(ItemEvent e) { ... | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/c9f0f1d2e5ceb1c577004355102dc4109baf3a49/ChatLounge.java/buggy/megamek/src/megamek/client/ui/AWT/ChatLounge.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3875,
12148,
966,
1435,
288,
3639,
19185,
7291,
273,
1004,
18,
588,
2042,
12148,
5621,
3639,
2800,
12148,
966,
273,
394,
23641,
5621,
3639,
11814,
12148,
966,
273,
394,
5287,
12,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3875,
12148,
966,
1435,
288,
3639,
19185,
7291,
273,
1004,
18,
588,
2042,
12148,
5621,
3639,
2800,
12148,
966,
273,
394,
23641,
5621,
3639,
11814,
12148,
966,
273,
394,
5287,
12,... |
Game.addFrameListener(this, fWait, -1); | Game.addServerFrameListener(this, fWait, -1); | protected void moveFinished() { switch (fPlatState) { case STATE_PLAT_RAISING: if (fWait == 0) fPlatState = STATE_PLAT_RAISED; else { fPlatState = STATE_PLAT_RAISEDWAIT; Game.addFrameListener(this, fWait, -1); } break; case STATE_PLAT_LOWERING: fPlatState = STATE_PLAT_LOWERED; break;... | 1990 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1990/578d435afa17c19ab50dae1f666d2a43a2c4c175/func_plat.java/clean/classes/q2java/baseq2/spawn/func_plat.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
3635,
10577,
1435,
225,
202,
95,
202,
9610,
261,
74,
1749,
270,
1119,
13,
202,
202,
95,
202,
202,
3593,
7442,
67,
6253,
789,
67,
2849,
5127,
1360,
30,
1082,
202,
430,
261,
74,
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,
4750,
918,
3635,
10577,
1435,
225,
202,
95,
202,
9610,
261,
74,
1749,
270,
1119,
13,
202,
202,
95,
202,
202,
3593,
7442,
67,
6253,
789,
67,
2849,
5127,
1360,
30,
1082,
202,
430,
261,
74,
5... |
SVNWCClient client = createSVNWCClient(); try { final Collection infos = new ArrayList(); client.doInfo(pathOrUrl, SVNConverterUtil.getSVNRevision(pegRevision), SVNConverterUtil.getSVNRevision(revision), recurse, new ISVNInfoHandler(){ public void handleInfo(SVNInfo info) { infos.add(SVNConverterUtil.createInfo2(info))... | public Info2[] info2(String pathOrUrl, Revision revision, Revision pegRevision, boolean recurse) throws ClientException { // TODO Auto-generated method stub return null; } | 5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/abe0d296df0a27ce680a7e50116d15861c0c9f04/SVNClient.java/clean/javasvn/src/org/tigris/subversion/javahl/SVNClient.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
29537,
50,
59,
39,
1227,
1004,
273,
752,
23927,
50,
59,
39,
1227,
5621,
775,
288,
727,
2200,
10626,
273,
394,
2407,
5621,
1004,
18,
2896,
966,
12,
803,
1162,
1489,
16,
29537,
50,
5072,
1304,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
29537,
50,
59,
39,
1227,
1004,
273,
752,
23927,
50,
59,
39,
1227,
5621,
775,
288,
727,
2200,
10626,
273,
394,
2407,
5621,
1004,
18,
2896,
966,
12,
803,
1162,
1489,
16,
29537,
50,
5072,
1304,... | |
((AdminComponent)node.getUserObject()).setPreferredName(ObjectUpdater.preferredNameFromConcepts(concepts)); setButtonState(saveButton); } | orderChanged = true; setSaveButtonState(areAllFieldEntered()); reviewButton.setEnabled(false); } | public void actionPerformed(ActionEvent event) { Concept temp = concepts[index-1]; concepts[index-1] = concepts[index]; concepts[index] = temp; updateConcepts(concepts); ((AdminComponent)node.getUserObject()).setPreferredName(ObjectUpdater.preferredNameFromConcepts(c... | 55019 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55019/082099ce0c2115d77c065a36b46e6a14dbbbbc14/UMLElementViewPanel.java/clean/src/gov/nih/nci/ncicb/cadsr/loader/ui/UMLElementViewPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
26100,
12,
1803,
1133,
871,
13,
288,
1850,
27842,
1906,
273,
28415,
63,
1615,
17,
21,
15533,
1850,
28415,
63,
1615,
17,
21,
65,
273,
28415,
63,
1615,
15533,
1850,
28415,
63,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26100,
12,
1803,
1133,
871,
13,
288,
1850,
27842,
1906,
273,
28415,
63,
1615,
17,
21,
15533,
1850,
28415,
63,
1615,
17,
21,
65,
273,
28415,
63,
1615,
15533,
1850,
28415,
63,
... |
setName((String) evalAttr("name", getName(), String.class)); | setName((String) evalAttr("name", getNameExpr(), String.class)); | private void evaluateExpressions() throws JspException { try { setAction((String) evalAttr("action", getAction(), String.class)); } catch (NullAttributeException ex) { setAction(null); } try { setEnctype((String) evalAttr("enctype", getEnctype(), ... | 54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/db064e19656421b94aaf753550935d95f44bd5f9/ELFormTag.java/clean/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELFormTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
22517,
12443,
780,
13,
5302,
3843,
2932,
1128,
3113,
12473,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
22517,
12443,
780,
13,
5302,
3843,
2932,
1128,
3113,
12473,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499... |
System.err.println(msg); System.err.println("Usage: java " + SimpleSocketServer.class.getName() + " port configFile"); System.exit(1); } | System.err.println(msg); System.err.println("Usage: java " + SimpleSocketServer.class.getName() + " port configFile"); System.exit(1); } | static void usage(String msg) { System.err.println(msg); System.err.println("Usage: java " + SimpleSocketServer.class.getName() + " port configFile"); System.exit(1); } | 45789 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45789/7177ff8f31734f293185997e0a81156f64bc26a6/SimpleSocketServer.java/buggy/logback-classic/src/main/java/ch/qos/logback/classic/net/SimpleSocketServer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
918,
4084,
12,
780,
1234,
13,
288,
202,
202,
3163,
18,
370,
18,
8222,
12,
3576,
1769,
202,
202,
3163,
18,
370,
18,
8222,
2932,
5357,
30,
2252,
315,
397,
4477,
4534,
2081,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
918,
4084,
12,
780,
1234,
13,
288,
202,
202,
3163,
18,
370,
18,
8222,
12,
3576,
1769,
202,
202,
3163,
18,
370,
18,
8222,
2932,
5357,
30,
2252,
315,
397,
4477,
4534,
2081,
1... |
Class[] namesToWatch = { MStereotype.class,MOperation.class, MParameter.class,MClassifier.class }; | Class[] namesToWatch = { MStereotype.class, MOperation.class, MParameter.class, MClassifier.class }; | public PropPanelParameter() { super( "Parameter", _parameterIcon, ConfigLoader.getTabPropsOrientation()); Class mclass = MParameter.class; Class[] namesToWatch = { MStereotype.class,MOperation.class, MParameter.class,MClassifier.class }; setNameEve... | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/PropPanelParameter.java/clean/src_new/org/argouml/uml/ui/foundation/core/PropPanelParameter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
10484,
5537,
1662,
1435,
288,
3639,
2240,
12,
5411,
315,
1662,
3113,
5411,
389,
6775,
5554,
16,
5411,
1903,
2886,
18,
588,
5661,
5047,
14097,
10663,
3639,
1659,
312,
1106,
273,
490,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10484,
5537,
1662,
1435,
288,
3639,
2240,
12,
5411,
315,
1662,
3113,
5411,
389,
6775,
5554,
16,
5411,
1903,
2886,
18,
588,
5661,
5047,
14097,
10663,
3639,
1659,
312,
1106,
273,
490,
... |
public HostObject(WorldObject parent, BasicMonitoredObject monitoredHost, DataAssociation asso) { super(parent); this.asso = asso; // Test if there is port defined, then remove it to see if hostname exists try { this.hostname = monitoredHost.getFullName(); String sh... | 58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/3c8dcbce5b12b18f3cb7fa6f4a4cf723face3153/HostObject.java/buggy/src/org/objectweb/proactive/ic2d/data/HostObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
2594,
921,
12,
18071,
921,
2938,
16,
8252,
11415,
20425,
921,
2586,
20425,
2594,
16,
751,
7174,
428,
83,
15329,
9565,
12,
2938,
1769,
2211,
18,
428,
83,
33,
428,
83,
31,
759,
202,
4709... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
2594,
921,
12,
18071,
921,
2938,
16,
8252,
11415,
20425,
921,
2586,
20425,
2594,
16,
751,
7174,
428,
83,
15329,
9565,
12,
2938,
1769,
2211,
18,
428,
83,
33,
428,
83,
31,
759,
202,
4709... | ||
public void testBoolean() throws JMSException { JMSPropertyFieldTable table1 = new JMSPropertyFieldTable(); table1.setBoolean("value", true); Assert.assertTrue(table1.propertyExists("value")); //Test Getting right value back Assert.assertEquals(true, table1.getBoolean("value"))... | 45585 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45585/9cad5792c8fa0203114d63a1851b0a9181c967f5/JMSPropertyFieldTableTest.java/buggy/qpid/java/common/src/test/java/org/apache/qpid/framing/JMSPropertyFieldTableTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
5507,
1435,
1216,
20343,
565,
288,
3639,
13270,
1396,
974,
1388,
1014,
21,
273,
394,
13270,
1396,
974,
1388,
5621,
3639,
1014,
21,
18,
542,
5507,
2932,
1132,
3113,
638,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
5507,
1435,
1216,
20343,
565,
288,
3639,
13270,
1396,
974,
1388,
1014,
21,
273,
394,
13270,
1396,
974,
1388,
5621,
3639,
1014,
21,
18,
542,
5507,
2932,
1132,
3113,
638,
1... | ||
{ f.setAccessible(true); return null; } | { f.setAccessible(true); return null; } | public Object run() { f.setAccessible(true); return null; } | 5916 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5916/aa9a1e51dfe3c217d861f0795af77c53a43ecefb/ObjectOutputStream.java/clean/libjava/java/io/ObjectOutputStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
1086,
1435,
202,
95,
202,
225,
284,
18,
542,
10451,
12,
3767,
1769,
202,
225,
327,
446,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
1086,
1435,
202,
95,
202,
225,
284,
18,
542,
10451,
12,
3767,
1769,
202,
225,
327,
446,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
x += newChunk.width; | public static void lineToChunkList(Segment seg, Token tokens, SyntaxStyle[] styles, FontRenderContext fontRenderContext, TabExpander e, float wrapMargin, java.util.List out) { // SILLY: allow for anti-aliased characters' "fuzz" if(wrapMargin != 0.0f) wrapMargin += 2.0f; float x = 0.0f; boolean seenNonWhiteSpac... | 6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/406e2f479d3b485ae65c83a5163811e6cfc02bf5/ChunkCache.java/clean/org/gjt/sp/jedit/textarea/ChunkCache.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
19785,
5579,
682,
12,
4131,
2291,
16,
3155,
2430,
16,
202,
202,
8070,
2885,
8526,
5687,
16,
10063,
3420,
1042,
3512,
3420,
1042,
16,
202,
202,
5661,
12271,
264,
425,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
19785,
5579,
682,
12,
4131,
2291,
16,
3155,
2430,
16,
202,
202,
8070,
2885,
8526,
5687,
16,
10063,
3420,
1042,
3512,
3420,
1042,
16,
202,
202,
5661,
12271,
264,
425,
... | |
return event; | return alarm; | public Object mapRow(ResultSet rs, int rowNumber) throws SQLException { final Integer id = (Integer) rs.getObject("alarmid"); LazyAlarm alarm = (LazyAlarm)Cache.obtain(OnmsAlarm.class, id); alarm.setLoaded(true); Integer nodeId = new Integer(rs.getInt("nodeID")); OnmsNode ... | 47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/0039557b11fd149b9c96b613ae2e333591e12694/AlarmMappingQuery.java/clean/opennms-model/src/main/java/org/opennms/netmgt/dao/jdbc/alarm/AlarmMappingQuery.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
852,
1999,
12,
13198,
3597,
16,
509,
1027,
1854,
13,
1216,
6483,
288,
3639,
727,
2144,
612,
273,
261,
4522,
13,
3597,
18,
588,
921,
2932,
20681,
350,
8863,
3639,
12805,
16779,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
852,
1999,
12,
13198,
3597,
16,
509,
1027,
1854,
13,
1216,
6483,
288,
3639,
727,
2144,
612,
273,
261,
4522,
13,
3597,
18,
588,
921,
2932,
20681,
350,
8863,
3639,
12805,
16779,... |
public static void deplicateRelationshipFromEO(ERXGenericRecord r1, String relationshipName){ | public static void deplicateRelationshipFromEO(EOEnterpriseObject r1, String relationshipName){ | public static void deplicateRelationshipFromEO(ERXGenericRecord r1, String relationshipName){ //System.out.println("r1 "+r1); //System.out.println("relationshipName "+relationshipName); //System.out.println("array "+r1.valueForKey(relationshipName)); for(Enumeration e = ((NSArray)r1.valu... | 810 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/810/f8a2d652399b6c52727f855940259ebf8974d02d/ERXUtilities.java/buggy/Wonder/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXUtilities.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
443,
1780,
340,
8180,
1265,
41,
51,
12,
41,
51,
30699,
921,
436,
21,
16,
514,
5232,
461,
15329,
3639,
368,
3163,
18,
659,
18,
8222,
2932,
86,
21,
13773,
86,
21,
1769,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
443,
1780,
340,
8180,
1265,
41,
51,
12,
41,
51,
30699,
921,
436,
21,
16,
514,
5232,
461,
15329,
3639,
368,
3163,
18,
659,
18,
8222,
2932,
86,
21,
13773,
86,
21,
1769,
... |
args[0] = RubyFixnum.newFixnum(receiver.getRuntime(), new Date().getTime()); | args[0] = receiver.getRuntime().newFixnum(new Date().getTime()); | public static RubyTime s_new(IRubyObject receiver) { IRubyObject[] args = new IRubyObject[1]; args[0] = RubyFixnum.newFixnum(receiver.getRuntime(), new Date().getTime()); return s_at(receiver, args); } | 48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyTime.java/buggy/src/org/jruby/RubyTime.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
950,
272,
67,
2704,
12,
7937,
10340,
921,
5971,
13,
288,
3639,
15908,
10340,
921,
8526,
833,
273,
394,
15908,
10340,
921,
63,
21,
15533,
3639,
833,
63,
20,
65,
273,
59... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
950,
272,
67,
2704,
12,
7937,
10340,
921,
5971,
13,
288,
3639,
15908,
10340,
921,
8526,
833,
273,
394,
15908,
10340,
921,
63,
21,
15533,
3639,
833,
63,
20,
65,
273,
59... |
throw new TypeError(runtime, "class path " + path + " does not point class"); | throw runtime.newTypeError("class path " + path + " does not point class"); | public RubyModule getClassFromPath(String path) { if (path.charAt(0) == '#') { throw new ArgumentError(runtime, "can't retrieve anonymous class " + path); } IRubyObject type = runtime.evalScript(path); if (!(type instanceof RubyModule)) { throw new TypeError(runtime... | 47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyClasses.java/clean/src/org/jruby/RubyClasses.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
3120,
2900,
23064,
12,
780,
589,
13,
288,
3639,
309,
261,
803,
18,
3001,
861,
12,
20,
13,
422,
2946,
6134,
288,
5411,
604,
394,
9236,
12,
9448,
16,
315,
4169,
1404,
4614,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3120,
2900,
23064,
12,
780,
589,
13,
288,
3639,
309,
261,
803,
18,
3001,
861,
12,
20,
13,
422,
2946,
6134,
288,
5411,
604,
394,
9236,
12,
9448,
16,
315,
4169,
1404,
4614,
... |
IProject project = getProject((IStructuredSelection) sel); | final IProject project = getProject((IStructuredSelection) sel); | public final void run(final IAction action) { log.info("Generation Report action requested"); ISelection sel = targetPart.getSite().getSelectionProvider().getSelection(); if (sel instanceof IStructuredSelection) { try { IProject project = getProject((IStructuredSelecti... | 41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/5240919b79d22b6c85e62a4e13e9621cf076b883/GenerateReportAction.java/buggy/pmd-eclipse-ui/src/net/sourceforge/pmd/ui/actions/GenerateReportAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
918,
1086,
12,
6385,
467,
1803,
1301,
13,
288,
3639,
613,
18,
1376,
2932,
13842,
8706,
1301,
3764,
8863,
3639,
467,
6233,
357,
273,
1018,
1988,
18,
588,
4956,
7675,
588,
6233,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
918,
1086,
12,
6385,
467,
1803,
1301,
13,
288,
3639,
613,
18,
1376,
2932,
13842,
8706,
1301,
3764,
8863,
3639,
467,
6233,
357,
273,
1018,
1988,
18,
588,
4956,
7675,
588,
6233,
... |
throw new PluginInstantiationException("Cannot load plugin class!",e); | throw new PluginInstantiationException("Cannot load plugin class: " + e.toString(), e); | public static Object getNamedPlugin(Class intfc, String name) throws PluginInstantiationException { try { String iname = intfc.getName(); configureNamedPlugin(iname); String key = iname + SEP + name; String cname = (String)namedPluginClasses.get(k... | 47292 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47292/8cf0447063158ac73720ac9b14bede8703c61f25/PluginManager.java/buggy/dspace/src/org/dspace/core/PluginManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
23751,
3773,
12,
797,
509,
7142,
16,
514,
508,
13,
540,
1216,
6258,
10675,
7072,
503,
565,
288,
3639,
775,
3639,
288,
5411,
514,
316,
339,
273,
509,
7142,
18,
17994,
56... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
23751,
3773,
12,
797,
509,
7142,
16,
514,
508,
13,
540,
1216,
6258,
10675,
7072,
503,
565,
288,
3639,
775,
3639,
288,
5411,
514,
316,
339,
273,
509,
7142,
18,
17994,
56... |
Log.logln(LOG_PROGRESS, "Internal Entity\t" + name + "\t" + publicId + "\t" + systemId); } | Log.logln(LOG_PROGRESS, "Internal Entity\t" + name + "\t" + publicId + "\t" + systemId); } | public void externalEntityDecl(String name, String publicId, String systemId) throws SAXException { Log.logln(LOG_PROGRESS, "Internal Entity\t" + name + "\t" + publicId + "\t" + systemId); } | 27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/4716264464632750d34da5032a0718e1d756a967/CLDRFile.java/buggy/tools/java/org/unicode/cldr/util/CLDRFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3903,
1943,
3456,
12,
780,
508,
16,
514,
1071,
548,
16,
514,
30083,
13,
1216,
14366,
288,
540,
202,
1343,
18,
1330,
2370,
12,
4842,
67,
24022,
16,
315,
3061,
3887,
64,
88,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3903,
1943,
3456,
12,
780,
508,
16,
514,
1071,
548,
16,
514,
30083,
13,
1216,
14366,
288,
540,
202,
1343,
18,
1330,
2370,
12,
4842,
67,
24022,
16,
315,
3061,
3887,
64,
88,
... |
NODE body = getMethodBody(id, scope); return call0(recv, id, args, body, false); | return klass.call0(recv, id, args, body, false); | public RubyObject call(RubyObject recv, RubyId id, RubyObject[] args, int scope) { // ... NODE body = getMethodBody(id, scope); return call0(recv, id, args, body, false); } | 48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/03950522a75c28f406bd4cb011cb1916a662366d/RubyModule.java/clean/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
745,
12,
54,
10340,
921,
10665,
16,
19817,
548,
612,
16,
19817,
921,
8526,
833,
16,
509,
2146,
13,
288,
7734,
368,
1372,
7734,
11922,
1417,
273,
6272,
2250,
12,
350,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
745,
12,
54,
10340,
921,
10665,
16,
19817,
548,
612,
16,
19817,
921,
8526,
833,
16,
509,
2146,
13,
288,
7734,
368,
1372,
7734,
11922,
1417,
273,
6272,
2250,
12,
350,
1... |
ArrayAccess a = (ArrayAccess)left(); | X10ArrayAccess a = (X10ArrayAccess)left(); | protected void acceptCFGOpAssign(CFGBuilder v) { ArrayAccess a = (ArrayAccess)left(); // a[i] OP= e: visit a -> i -> a[i] -> e -> (a[i] OP= e) // v.visitCFG(a.array(), a.index().entry()); // v.visitCFG(a.index(), a); // v.visitThrow(a); v.edge(a, right().entry()); v.visitCFG(right(), this); } | 1769 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1769/3b5fef131b2ed4d5eede1ffc2cbad81d67a2b1ae/X10ArrayAccessAssign_c.java/buggy/x10.compiler/src/polyglot/ext/x10/ast/X10ArrayAccessAssign_c.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
2791,
19727,
3817,
4910,
12,
19727,
1263,
331,
13,
288,
202,
202,
1076,
1862,
279,
273,
261,
1076,
1862,
13,
4482,
5621,
9506,
202,
759,
279,
63,
77,
65,
7247,
33,
425,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
2791,
19727,
3817,
4910,
12,
19727,
1263,
331,
13,
288,
202,
202,
1076,
1862,
279,
273,
261,
1076,
1862,
13,
4482,
5621,
9506,
202,
759,
279,
63,
77,
65,
7247,
33,
425,
... |
Date created1 = offlineHandler.getDateForAttributeType( RepositoryTaskAttribute.ATTACHMENT_DATE, attachment1.getDateCreated()); Date created2 = offlineHandler.getDateForAttributeType( RepositoryTaskAttribute.ATTACHMENT_DATE, attachment2.getDateCreated()); | Date created1 = offlineHandler.getDateForAttributeType(RepositoryTaskAttribute.ATTACHMENT_DATE, attachment1.getDateCreated()); Date created2 = offlineHandler.getDateForAttributeType(RepositoryTaskAttribute.ATTACHMENT_DATE, attachment2.getDateCreated()); | public int compare(Viewer viewer, Object e1, Object e2) { RepositoryAttachment attachment1 = (RepositoryAttachment) e1; RepositoryAttachment attachment2 = (RepositoryAttachment) e2; Date created1 = offlineHandler.getDateForAttributeType( RepositoryTaskAttribute.ATTACHMENT_DATE, attachment1.ge... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/39c6df5267235c0f0a02f27f34ae719f6015dfe1/AbstractRepositoryTaskEditor.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/AbstractRepositoryTaskEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4405,
202,
482,
509,
3400,
12,
18415,
14157,
16,
1033,
425,
21,
16,
1033,
425,
22,
13,
288,
25083,
202,
3305,
6803,
6042,
21,
273,
261,
3305,
6803,
13,
425,
21,
31,
25083,
202,
3305,
6803,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4405,
202,
482,
509,
3400,
12,
18415,
14157,
16,
1033,
425,
21,
16,
1033,
425,
22,
13,
288,
25083,
202,
3305,
6803,
6042,
21,
273,
261,
3305,
6803,
13,
425,
21,
31,
25083,
202,
3305,
6803,
... |
boolean check = set.contains(element); | boolean check = set.containsKey(element); | public void setCheckedElements(Object[] elements) { assertElementsNotNull(elements); Set set = new HashSet(elements.length*2+1); for (int i = 0; i < elements.length; ++i) { set.add(elements[i]); } TableItem[] items = getTable().getItems(); for (int i = 0; i < items.length; ++i) { TableItem item = items[i]; Object el... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/62cad76fa04eac5c5069428b96651b4449f3b7bc/CheckboxTableViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/CheckboxTableViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
444,
11454,
3471,
12,
921,
8526,
2186,
13,
288,
202,
11231,
3471,
5962,
12,
6274,
1769,
202,
694,
444,
273,
394,
6847,
12,
6274,
18,
2469,
14,
22,
15,
21,
1769,
202,
1884,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
444,
11454,
3471,
12,
921,
8526,
2186,
13,
288,
202,
11231,
3471,
5962,
12,
6274,
1769,
202,
694,
444,
273,
394,
6847,
12,
6274,
18,
2469,
14,
22,
15,
21,
1769,
202,
1884,
261,
... |
if (!(url.endsWith(".xml") || url.endsWith(".html"))) return; if (doc == null) return; Element element = doc.getDocumentElement(); if (element == null) return; element.normalize(); PrintStream ps = null; ps = new PrintStream(new BufferedOutputStream(System.out, 1024)); ps.println("\n+++ " + url.toString() + " +++");... | public void endURLLoad(String url, int status, Document doc) { if (debug) System.err.println("DOM: end URL load - " + url.toString() + " " + Integer.toHexString(status)); if (!(url.endsWith(".xml") || url.endsWith(".html"))) return; if (doc == null) return; Element element = doc.getDocumentEl... | 7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/d5d632bf9df2e7c37640ec01b53cc4d876888be9/TestDOMAccessorApplet1.java/clean/java/dom/tests/src/TestDOMAccessorApplet1.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
679,
1785,
2563,
12,
780,
880,
16,
509,
1267,
16,
4319,
997,
13,
288,
565,
309,
261,
4148,
13,
1377,
2332,
18,
370,
18,
8222,
2932,
8168,
30,
679,
1976,
1262,
300,
315,
397... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
679,
1785,
2563,
12,
780,
880,
16,
509,
1267,
16,
4319,
997,
13,
288,
565,
309,
261,
4148,
13,
1377,
2332,
18,
370,
18,
8222,
2932,
8168,
30,
679,
1976,
1262,
300,
315,
397... | |
RECharSet charSet; | emitREBytecode(CompilerState state, RECompiled re, int pc, RENode t) { RENode nextAlt; int nextAltFixup, nextTermFixup; RECharSet charSet; byte[] program = re.program; while (t != null) { program[pc++] = t.op; switch (t.op) { case REOP_EMPTY: ... | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/518a632517a44cf4bdeec19c9a902d8b9bc8c835/NativeRegExp.java/clean/src/org/mozilla/javascript/regexp/NativeRegExp.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3626,
862,
858,
16651,
12,
9213,
1119,
919,
16,
2438,
20733,
283,
16,
509,
6125,
16,
2438,
907,
268,
13,
565,
288,
3639,
2438,
907,
1024,
10655,
31,
3639,
509,
1024,
10655,
8585,
416,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3626,
862,
858,
16651,
12,
9213,
1119,
919,
16,
2438,
20733,
283,
16,
509,
6125,
16,
2438,
907,
268,
13,
565,
288,
3639,
2438,
907,
1024,
10655,
31,
3639,
509,
1024,
10655,
8585,
416,
1... | |
Relative.untranslateRelative(c); | Relative.untranslateRelative(c, true); | private static int handleInlineElementEnd(Context c, LinkedList decorations, InlineBox ib, int padX, LineBox line, LinkedList pushedStyles) { //end text decoration? IdentValue decoration = c.getCurrentStyle().getIdent(CSSName.TEXT_DECORATION); if (decoration != IdentValue.NONE) { Tex... | 8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/01fe5f6295fdbc46194c11fca8c5668798faefcb/InlineRendering.java/buggy/src/java/org/xhtmlrenderer/render/InlineRendering.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
509,
1640,
10870,
1046,
1638,
12,
1042,
276,
16,
10688,
4839,
1012,
16,
16355,
3514,
9834,
16,
509,
4627,
60,
16,
5377,
3514,
980,
16,
10688,
18543,
9725,
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,
3238,
760,
509,
1640,
10870,
1046,
1638,
12,
1042,
276,
16,
10688,
4839,
1012,
16,
16355,
3514,
9834,
16,
509,
4627,
60,
16,
5377,
3514,
980,
16,
10688,
18543,
9725,
13,
288,
3639,
368,
... |
String name = f.argNames[slot]; Object val = activation.get(name, activation); | String name = state.fnOrScript.argNames[slot]; Scriptable scope = state.scope; Object val = scope.get(name, scope); | private static Object activationGet(NativeFunction f, Scriptable activation, int slot) { String name = f.argNames[slot]; Object val = activation.get(name, activation); // Activation parameter or var is permanent if (val == Scriptable.NOT_FOUND) Kit.c... | 7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/199b043221701f9744538a048390c041bd370c5f/Interpreter.java/clean/js/rhino/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1033,
10027,
967,
12,
9220,
2083,
284,
16,
4766,
3639,
22780,
10027,
16,
509,
4694,
13,
565,
288,
3639,
514,
508,
273,
284,
18,
3175,
1557,
63,
14194,
15533,
3639,
1033,
1244,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1033,
10027,
967,
12,
9220,
2083,
284,
16,
4766,
3639,
22780,
10027,
16,
509,
4694,
13,
565,
288,
3639,
514,
508,
273,
284,
18,
3175,
1557,
63,
14194,
15533,
3639,
1033,
1244,
... |
System.out.println("Done parsing PDB file " + getTimeStamp()); | public Structure getStructure() throws IOException { FileInputStream inStream = getInputStream(); try{ System.out.println("Starting to parse PDB file " + getTimeStamp()); parsePDBFile(inStream) ; System.out.println("Done parsing PDB file " + getTimeStamp()); } catch(Exception ex){ ex.printStack... | 50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/48b81fa6f6cf265c4791633b465fa65eb34fc9d3/PDBFileReader.java/clean/src/org/biojava/bio/structure/io/PDBFileReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
13348,
18730,
1435,
225,
202,
15069,
1860,
565,
288,
202,
202,
812,
4348,
28987,
273,
14424,
5621,
202,
698,
95,
202,
565,
2332,
18,
659,
18,
8222,
2932,
11715,
358,
1109,
21601,
58... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
13348,
18730,
1435,
225,
202,
15069,
1860,
565,
288,
202,
202,
812,
4348,
28987,
273,
14424,
5621,
202,
698,
95,
202,
565,
2332,
18,
659,
18,
8222,
2932,
11715,
358,
1109,
21601,
58... | |
public RealMatrix preMultiply(double[] v); | RealMatrix preMultiply(double[] v) throws IllegalArgumentException; | public RealMatrix preMultiply(double[] v); | 9305 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9305/765db662a581ffa5b5b093022bb69d2638d02aa3/RealMatrix.java/buggy/src/java/org/apache/commons/math/RealMatrix.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
15987,
4635,
675,
26040,
12,
9056,
8526,
331,
13,
1216,
2754,
31,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
15987,
4635,
675,
26040,
12,
9056,
8526,
331,
13,
1216,
2754,
31,
282,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
PrivateKey.Type type = PrivateKey.Type.fromOID( algorithm.getOID() ); | public PublicKey toPublicKey() throws NoSuchAlgorithmException, InvalidKeyFormatException { PrivateKey.Type type = PrivateKey.Type.fromOID( algorithm.getOID() ); if( subjectPublicKey.getPadCount() != 0 ) { throw new InvalidKeyFormatException(); } return PK11PubKe... | 51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/cef89c3f707d343923b58083aacab2eb3d3452ff/SubjectPublicKeyInfo.java/buggy/security/jss/org/mozilla/jss/pkix/primitive/SubjectPublicKeyInfo.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
11951,
358,
9632,
1435,
1216,
17684,
16,
5411,
1962,
653,
9291,
565,
288,
2868,
309,
12,
3221,
9632,
18,
588,
14878,
1380,
1435,
480,
374,
262,
288,
5411,
604,
394,
1962,
653,
9291,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11951,
358,
9632,
1435,
1216,
17684,
16,
5411,
1962,
653,
9291,
565,
288,
2868,
309,
12,
3221,
9632,
18,
588,
14878,
1380,
1435,
480,
374,
262,
288,
5411,
604,
394,
1962,
653,
9291,... | |
{ if ( getDebugTarget() != null ) result = getDebugTarget().getCurrentBreakpointFile(); if ( result == null ) result = getSourceLocator().getSourceElement( stackFrame ); } | result = getSourceLocator().getSourceElement( stackFrame ); | public Object getSourceElement( IStackFrame stackFrame ) { Object result = null; boolean autoDisassembly = CDebugCorePlugin.getDefault().getPluginPreferences().getBoolean( ICDebugConstants.PREF_AUTO_DISASSEMBLY ); if ( getMode() == ISourceMode.MODE_SOURCE && getSourceLocator() != null ) { // if the target is s... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/27f6d25ecb229c26ecf725e708e7e0a7681b54df/CSourceManager.java/clean/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/sourcelookup/CSourceManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
7889,
1046,
12,
467,
2624,
3219,
2110,
3219,
262,
202,
95,
202,
202,
921,
563,
273,
446,
31,
202,
202,
6494,
3656,
1669,
28050,
273,
385,
2829,
4670,
3773,
18,
588,
1868... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
7889,
1046,
12,
467,
2624,
3219,
2110,
3219,
262,
202,
95,
202,
202,
921,
563,
273,
446,
31,
202,
202,
6494,
3656,
1669,
28050,
273,
385,
2829,
4670,
3773,
18,
588,
1868... |
String envp[] = DebugPlugin.getDefault( ).getLaunchManager( ) | String envp[] = DebugPlugin.getDefault( ) .getLaunchManager( ) | private VMRunnerConfiguration createVMRunner( ILaunchConfiguration configuration ) throws CoreException { String classpath[] = LauncherUtils.constructClasspath( configuration ); if ( classpath == null ) { String message = Messages.getString("ReportLaunchConfigurationDelegate.noStartup"); //$NON-NLS-1$ throw n... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/93f83d28c012c9318e61bf947b01279cec0512a3/ReportLaunchConfigurationDelegate.java/clean/UI/org.eclipse.birt.report.debug.ui/src/org/eclipse/birt/report/debug/ui/launcher/ReportLaunchConfigurationDelegate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
8251,
9709,
1750,
752,
7397,
9709,
12,
1082,
202,
2627,
4760,
1750,
1664,
262,
1216,
30015,
202,
95,
202,
202,
780,
10006,
8526,
273,
14643,
264,
1989,
18,
10062,
17461,
12,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
8251,
9709,
1750,
752,
7397,
9709,
12,
1082,
202,
2627,
4760,
1750,
1664,
262,
1216,
30015,
202,
95,
202,
202,
780,
10006,
8526,
273,
14643,
264,
1989,
18,
10062,
17461,
12,
16... |
if (expectedType.isDoubleType()) return new Double(((java.lang.Integer)arg).floatValue()); | if (expectedType.isDoubleType()) return new Double(((java.lang.Float)arg).floatValue()); | static Object makeArgumentCompatible(VM_Type expectedType, Object arg) { if (expectedType.isPrimitiveType()) { if (arg instanceof java.lang.Void) { if (expectedType.isVoidType()) return arg; } else if (arg instanceof java.lang.Boolean) { if (expectedType.isBooleanType()) return arg; }... | 4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/e69939608f9f07e424451ab4aa648ab73908ef49/JikesRVMSupport.java/clean/rvm/src/vm/libSupport/java/lang/reflect/JikesRVMSupport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
1033,
1221,
1379,
14599,
12,
7397,
67,
559,
23192,
16,
1033,
1501,
13,
288,
565,
309,
261,
3825,
559,
18,
291,
9840,
559,
10756,
288,
4202,
309,
261,
3175,
1276,
2252,
18,
4936,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
1033,
1221,
1379,
14599,
12,
7397,
67,
559,
23192,
16,
1033,
1501,
13,
288,
565,
309,
261,
3825,
559,
18,
291,
9840,
559,
10756,
288,
4202,
309,
261,
3175,
1276,
2252,
18,
4936,
18... |
public void onCreate(SessionID sessionID) {} | public void onCreate(SessionID sessionID) { } | public void onCreate(SessionID sessionID) {} | 52211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52211/b1369a27979caf97c3e3b66213e8103f210c0b86/BanzaiApplication.java/buggy/examples/quickfix/examples/banzai/BanzaiApplication.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
603,
1684,
12,
2157,
734,
13737,
13,
2618,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
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,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
603,
1684,
12,
2157,
734,
13737,
13,
2618,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
if ( typeURI.equals(SchemaSymbols.URI_SCHEMAFORSCHEMA) | if ( typeURI.equals(SchemaSymbols.URI_SCHEMAFORSCHEMA) | private int traverseAttributeDecl( Element attrDecl, ComplexTypeInfo typeInfo, boolean referredTo ) throws Exception { ////// Get declared fields of the attribute String defaultStr = attrDecl.getAttribute(SchemaSymbols.ATT_DEFAULT); String fixedStr = attrDecl.getAttribute(SchemaSymbols.AT... | 1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/87731f2b2070ba79da173a5e6be82410b096d7c5/TraverseSchema.java/buggy/src/org/apache/xerces/validators/schema/TraverseSchema.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
10080,
1499,
3456,
12,
3010,
1604,
3456,
16,
16060,
17305,
23112,
16,
1250,
29230,
774,
262,
1216,
1185,
288,
3639,
368,
1307,
968,
7886,
1466,
434,
326,
1566,
3639,
514,
805,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
10080,
1499,
3456,
12,
3010,
1604,
3456,
16,
16060,
17305,
23112,
16,
1250,
29230,
774,
262,
1216,
1185,
288,
3639,
368,
1307,
968,
7886,
1466,
434,
326,
1566,
3639,
514,
805,
... |
assertEquals(true, LongConverter.INSTANCE.isPrecise(null)); | assertEquals(true, NullConverter.INSTANCE.isPrecise(null)); | public void testIsPrecise_Object() throws Exception { assertEquals(true, LongConverter.INSTANCE.isPrecise(null)); } | 52859 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52859/72c00fed18f8cf52c55a5074e6c3e35655941e6f/TestNullConverter.java/clean/JodaTime/src/test/org/joda/time/convert/TestNullConverter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2520,
1386,
30708,
67,
921,
1435,
1216,
1185,
288,
3639,
1815,
8867,
12,
3767,
16,
4112,
5072,
18,
13341,
18,
291,
1386,
30708,
12,
2011,
10019,
565,
289,
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,
1071,
918,
1842,
2520,
1386,
30708,
67,
921,
1435,
1216,
1185,
288,
3639,
1815,
8867,
12,
3767,
16,
4112,
5072,
18,
13341,
18,
291,
1386,
30708,
12,
2011,
10019,
565,
289,
2,
-100,
-100,
... |
protected static void simpleConstraintToString(State state, SimpleConstraint c, Query q, DatabaseSchema schema) throws ObjectStoreException { | protected static void simpleConstraintToString(State state, SimpleConstraint c, Query q) throws ObjectStoreException { | protected static void simpleConstraintToString(State state, SimpleConstraint c, Query q, DatabaseSchema schema) throws ObjectStoreException { queryEvaluableToString(state.getWhereBuffer(), c.getArg1(), q, state); state.addToWhere(" " + c.getOp().toString()); if (c.getArg2() != null) ... | 29158 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29158/cebfa929cfe4247615e81071b156621d5f9ee8da/SqlGenerator.java/clean/intermine/objectstore/main/src/org/intermine/objectstore/intermine/SqlGenerator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
760,
918,
4143,
5806,
5808,
12,
1119,
919,
16,
4477,
5806,
276,
16,
2770,
1043,
16,
5411,
5130,
3078,
1963,
13,
1216,
1033,
21151,
288,
3639,
843,
6644,
429,
5808,
12,
2019,
18,
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,
377,
4750,
760,
918,
4143,
5806,
5808,
12,
1119,
919,
16,
4477,
5806,
276,
16,
2770,
1043,
16,
5411,
5130,
3078,
1963,
13,
1216,
1033,
21151,
288,
3639,
843,
6644,
429,
5808,
12,
2019,
18,
5... |
String label = matchLabel(); if (label != null) { decompiler.addName(label); } pn = nf.createContinue(label, lineno); | Node label = matchLabel(); if (label == null) { if (loopSet == null || loopSet.size() == 0) { reportError("msg.continue.outside"); return null; } loop = (Node)loopSet.peek(); } else { loop = nf.getLabelLoop(label); if (loop == null) { reportError("msg.continue.nonloop"); return null; } } pn = nf.createContinue(loop, li... | private Node statementHelper() throws IOException, ParserException { Node pn = null; // If skipsemi == true, don't add SEMI + EOL to source at the // end of this statment. For compound statements, IF/FOR etc. boolean skipsemi = false; int tt; tt = ts.getToken(); ... | 12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/d65a74793ce3fab46a10f0a143ed326996c78192/Parser.java/clean/js/rhino/src/org/mozilla/javascript/Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
2029,
3021,
2276,
1435,
3639,
1216,
1860,
16,
27990,
565,
288,
3639,
2029,
11059,
273,
446,
31,
3639,
368,
971,
2488,
307,
9197,
422,
638,
16,
2727,
1404,
527,
3174,
7492,
397,
1999... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2029,
3021,
2276,
1435,
3639,
1216,
1860,
16,
27990,
565,
288,
3639,
2029,
11059,
273,
446,
31,
3639,
368,
971,
2488,
307,
9197,
422,
638,
16,
2727,
1404,
527,
3174,
7492,
397,
1999... |
setTitleKey((String) evalAttr("titleKey", getTitleKey(), | setTitleKey((String) evalAttr("titleKey", getTitleKeyExpr(), | private void evaluateExpressions() throws JspException { try { setAccesskey((String) evalAttr("accessKey", getAccesskey(), String.class)); } catch (NullAttributeException ex) { setAccesskey(null); } try { setAlt((... | 2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/db064e19656421b94aaf753550935d95f44bd5f9/ELSubmitTag.java/buggy/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELSubmitTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
1862,
856,
12443,
780,
13,
5302,
3843,
2932,
3860,
653,
3113,
21909,
856,
9334,
4766,
6647,
514,
18,
1106,
10019,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
1862,
856,
12443,
780,
13,
5302,
3843,
2932,
3860,
653,
3113,
21909,
856,
9334,
4766,
6647,
514,
18,
1106,
10019,
... |
VM_Magic.setIntAtOffset(buffer, index, HPM_info.mode); index += SIZE_OF_INT; | VM_Magic.setIntAtOffset(buffer, index, HPM_info.mode); index = index.add(BYTES_IN_INT); | static private void writeHeader() { if(verbose>=2){ VM.sysWrite("VM_HPMs.writeHeader(",HPM_info.version_number,","); VM.sysWrite(HPM_info.getNumberOfValues()); VM.sysWrite(", "); VM.sysWrite(HPM_info.mode);VM.sysWrite(", "); VM.sysWrite(HPM_info.isBigEndian()?"BIG_ENDIAN":"LITTLE_ENDIAN"); V... | 5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/3a1409586ed0fc007c4120f3a96d6f7a1ae3593c/VM_HardwarePerformanceMonitors.java/clean/rvm/src/vm/HPM/VM_HardwarePerformanceMonitors.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
3238,
918,
1045,
1864,
1435,
225,
288,
565,
309,
12,
11369,
34,
33,
22,
15329,
4202,
8251,
18,
9499,
3067,
2932,
7397,
67,
2500,
6947,
18,
2626,
1864,
2932,
16,
2500,
49,
67,
1376,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
3238,
918,
1045,
1864,
1435,
225,
288,
565,
309,
12,
11369,
34,
33,
22,
15329,
4202,
8251,
18,
9499,
3067,
2932,
7397,
67,
2500,
6947,
18,
2626,
1864,
2932,
16,
2500,
49,
67,
1376,... |
String str = (String)(mpi.getMimePart().getContent()); mpi.getMimePart().setText(str, Mime.P_CHARSET_UTF8); | String str = htmlStr; str = str.replaceFirst("href=\"@@ACCEPT@@\"", accept); str = str.replaceFirst("href=\"@@DECLINE@@\"", decline); str = str.replaceFirst("href=\"@@TENTATIVE@@\"", tentative); System.out.println(str); mpi.getMimePart().setContent(str, Mime.CT_TEXT_HTML); | protected static void patchCalendarURLs(MimeMessage mm, Invite inv) throws ServiceException { try { boolean changed = false; List /*<MPartInfo>*/ parts = Mime.getParts(mm); for (Iterator it = parts.iterator(); it.hasNext(); ) { MPartInfo mpi = (M... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/c799c7d94d840ba4387897acddfa68968be8870f/CalendarRequest.java/buggy/ZimbraServer/src/java/com/zimbra/cs/service/mail/CalendarRequest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
760,
918,
4729,
7335,
15749,
12,
13320,
1079,
9740,
16,
30981,
2198,
13,
1216,
16489,
565,
288,
3639,
775,
288,
5411,
1250,
3550,
273,
629,
31,
13491,
987,
1748,
32,
49,
1988,
966,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
918,
4729,
7335,
15749,
12,
13320,
1079,
9740,
16,
30981,
2198,
13,
1216,
16489,
565,
288,
3639,
775,
288,
5411,
1250,
3550,
273,
629,
31,
13491,
987,
1748,
32,
49,
1988,
966,
... |
return null; | else if (MarkupTags.CSS_LISTITEM.equals(display)) { element = retrieveListItem(getFont(attributes), styleattributes); } else if (MarkupTags.CSS_TABLECELL.equals(display)) { element = retrieveTableCell(getFont(attributes), styleattributes); } else if (MarkupTags.CSS_TABLE.equals(display)) { element = retrieveTable(style... | public Element getObject(Properties attributes) { String key = getKey(attributes); Properties styleattributes = (Properties)stylecache.get(key); if (styleattributes != null && MarkupTags.HIDDEN.equals(styleattributes.get(MarkupTags.CSS_VISIBILITY))) { return null; } String tag = attributes.getProperty(MarkupTag... | 6653 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6653/9c1f3476b1d9806b8e2082b2d6b28651638f261b/MarkupParser.java/clean/src/com/lowagie/text/markup/MarkupParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3010,
6455,
12,
2297,
1677,
13,
288,
202,
202,
780,
498,
273,
3579,
12,
4350,
1769,
202,
202,
2297,
2154,
4350,
273,
261,
2297,
13,
4060,
2493,
18,
588,
12,
856,
1769,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3010,
6455,
12,
2297,
1677,
13,
288,
202,
202,
780,
498,
273,
3579,
12,
4350,
1769,
202,
202,
2297,
2154,
4350,
273,
261,
2297,
13,
4060,
2493,
18,
588,
12,
856,
1769,
202,
... |
this.activeWorkbenchWindow.addPageListener(pageListener); this.activeWorkbenchWindow.getPartService().addPartListener(partListener); ((WorkbenchWindow) this.activeWorkbenchWindow).getPerspectiveService().addPerspectiveListener(internalPerspectiveListener); } } | this.activeWorkbenchWindow.addPageListener(pageListener); this.activeWorkbenchWindow.getPartService().addPartListener( partListener); ((WorkbenchWindow) this.activeWorkbenchWindow) .getPerspectiveService() .addPerspectiveListener(internalPerspectiveListener); } } | void updateActiveCommandIdsAndActiveContextIds() { IWorkbenchWindow activeWorkbenchWindow = getActiveWorkbenchWindow(); if (activeWorkbenchWindow != null && !(activeWorkbenchWindow instanceof WorkbenchWindow)) activeWorkbenchWindow = null; //IActionService activeWorkbenchWindowActionService = activeWorkbenchW... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/c982c620ee74d8f88359cf86b9700d8f8f07c71a/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
1089,
3896,
2189,
2673,
1876,
3896,
1042,
2673,
1435,
288,
202,
202,
45,
2421,
22144,
3829,
2695,
2421,
22144,
3829,
273,
11960,
2421,
22144,
3829,
5621,
9506,
202,
430,
261,
353... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
1089,
3896,
2189,
2673,
1876,
3896,
1042,
2673,
1435,
288,
202,
202,
45,
2421,
22144,
3829,
2695,
2421,
22144,
3829,
273,
11960,
2421,
22144,
3829,
5621,
9506,
202,
430,
261,
353... |
if(log.isInfoEnabled()) log.info("removed " + suspected_mbr + " (size=" + suspected_mbrs.size() + ")"); | if(log.isDebugEnabled()) log.debug("removed " + suspected_mbr + " (size=" + suspected_mbrs.size() + ")"); | void adjustSuspectedMembers(Vector new_mbrship) { Address suspected_mbr; if(new_mbrship == null || new_mbrship.size() == 0) return; synchronized(suspected_mbrs) { for(Iterator it=suspected_mbrs.iterator(); it.hasNext();) { suspected_mbr=(Address... | 49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/f4d48c5d12530ffb09ab46034b71d9594b0f1287/FD.java/buggy/src/org/jgroups/protocols/FD.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
918,
5765,
55,
407,
1789,
6918,
12,
5018,
394,
67,
1627,
86,
3261,
13,
288,
5411,
5267,
11375,
1789,
67,
1627,
86,
31,
5411,
309,
12,
2704,
67,
1627,
86,
3261,
422,
446,
747,
394,
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,
540,
918,
5765,
55,
407,
1789,
6918,
12,
5018,
394,
67,
1627,
86,
3261,
13,
288,
5411,
5267,
11375,
1789,
67,
1627,
86,
31,
5411,
309,
12,
2704,
67,
1627,
86,
3261,
422,
446,
747,
394,
67,... |
assertTrue("failure for 'pk.getAlgorithm().compareTo(privateAlgorithm)== 0'", pk.getAlgorithm().compareTo(privateAlgorithm)== 0 ); assertTrue("failure for 'pk.getFormat().compareTo(privateFormat)== 0'", pk.getFormat().compareTo(privateFormat)== 0 ); | assertEquals( "failure for 'pk.getAlgorithm().compareTo(privateAlgorithm)'", 0, pk.getAlgorithm().compareTo(privateAlgorithm)); assertEquals("failure for 'pk.getFormat().compareTo(privateFormat)", 0, pk.getFormat().compareTo(privateFormat)); | private void checkPrivateKeys(DSAPrivateKey pk) { checkPrivateIntegers(pk); assertTrue("failure for 'pk.getAlgorithm().compareTo(privateAlgorithm)== 0'", pk.getAlgorithm().compareTo(privateAlgorithm)== 0 ); assertTrue("failure for 'pk.getFormat().compareTo(privateFormat)== 0'... | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/b8ac1afde639e18cf20065b732064def66ad3dc7/DSAKeyFactoryImplTest.java/clean/modules/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/DSAKeyFactoryImplTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
866,
6014,
2396,
12,
19748,
10824,
2365,
13,
288,
3639,
866,
6014,
382,
736,
6215,
12,
5465,
1769,
3639,
1815,
5510,
2932,
12251,
364,
296,
5465,
18,
588,
6801,
7675,
9877,
774... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
866,
6014,
2396,
12,
19748,
10824,
2365,
13,
288,
3639,
866,
6014,
382,
736,
6215,
12,
5465,
1769,
3639,
1815,
5510,
2932,
12251,
364,
296,
5465,
18,
588,
6801,
7675,
9877,
774... |
final int lineFeeds = getLineFeedsToModified(model, offset, whiteSpace.getTextRange().getStartOffset()); | public int adjustLineIndent(final PsiBasedFormattingModel model, final Block block, final CodeStyleSettings settings, final CodeStyleSettings.IndentOptions indentOptions, final int offset, ... | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/398ecd4f3650b80edb5853ba05d83d5801457db7/FormatterImpl.java/clean/source/com/intellij/newCodeFormatting/impl/FormatterImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
5765,
1670,
7790,
12,
6385,
453,
7722,
9802,
23974,
1488,
938,
16,
17311,
727,
3914,
1203,
16,
17311,
727,
3356,
2885,
2628,
1947,
16,
17311,
727,
3356,
2885,
2628,
18,
7790,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
5765,
1670,
7790,
12,
6385,
453,
7722,
9802,
23974,
1488,
938,
16,
17311,
727,
3914,
1203,
16,
17311,
727,
3356,
2885,
2628,
1947,
16,
17311,
727,
3356,
2885,
2628,
18,
7790,
1... | |
index = indexFromString(s); if (index != NO_INDEX) | long indexTest = indexFromString(s); if (indexTest >= 0) { index = (int)indexTest; | public static Object setElem(Object obj, Object id, Object value, Scriptable scope) { int index; String s; if (id instanceof Number) { double d = ((Number) id).doubleValue(); index = (int) d; s = ((double) index) == d ? null : ... | 19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/a73c6e75ae2fab8328356d16318be7fab782905c/ScriptRuntime.java/buggy/org/mozilla/javascript/ScriptRuntime.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
444,
7498,
12,
921,
1081,
16,
1033,
612,
16,
1033,
460,
16,
4766,
22780,
2146,
13,
565,
288,
3639,
509,
770,
31,
3639,
514,
272,
31,
3639,
309,
261,
350,
1276,
3588,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
444,
7498,
12,
921,
1081,
16,
1033,
612,
16,
1033,
460,
16,
4766,
22780,
2146,
13,
565,
288,
3639,
509,
770,
31,
3639,
514,
272,
31,
3639,
309,
261,
350,
1276,
3588,
... |
public void testGetDefaultShell( ) {// assertEquals( Display.getDefault( ).getActiveShell( ),// UIUtil.getDefaultShell( ) ); } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/b9f84cd07cb7f30deba7d065768baa7f57d2487d/UIUtilUITest.java/clean/UI/org.eclipse.birt.report.designer.tests/test/org/eclipse/birt/report/designer/internal/ui/util/UIUtilUITest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
967,
1868,
13220,
12,
262,
202,
95,
759,
202,
202,
11231,
8867,
12,
9311,
18,
588,
1868,
12,
262,
18,
588,
3896,
13220,
12,
262,
16,
759,
9506,
202,
5370,
1304,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
482,
918,
1842,
967,
1868,
13220,
12,
262,
202,
95,
759,
202,
202,
11231,
8867,
12,
9311,
18,
588,
1868,
12,
262,
18,
588,
3896,
13220,
12,
262,
16,
759,
9506,
202,
5370,
1304,
1... | ||
if ((columnNamePattern != null) && ! columnNamePattern.equals("%")) { sql.append(" and a.attname like \'" + columnNamePattern + "\'"); } | while(r.next()) { byte[][] tuple = new byte[18][0]; | public java.sql.ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException { Vector v = new Vector(); // The new ResultSet tuple stuff Field f[] = new Field[18]; // The field descriptors for the new ResultSet f[ 0] = new Field(connection,... | 47293 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47293/6b50f9af333a2795b82dd3331df55c7e703f1bea/DatabaseMetaData.java/clean/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2252,
18,
4669,
18,
13198,
14226,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
4775,
3234,
16,
514,
7578,
3234,
13,
1216,
6483,
225,
288,
565,
5589,
331,
273,
394,
5589,
5621,
202... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2252,
18,
4669,
18,
13198,
14226,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
4775,
3234,
16,
514,
7578,
3234,
13,
1216,
6483,
225,
288,
565,
5589,
331,
273,
394,
5589,
5621,
202... |
} catch (NotificationException nex) { throw new InitialisationException(nex, this); | } catch (Exception e) { throw new InitialisationException(e, this); | public void doInitialise() throws InitialisationException { super.doInitialise(); axisTransportProtocols = new HashMap(); for (Iterator iterator = supportedSchemes.iterator(); iterator.hasNext();) { String s = (String) iterator.next(); if(!(s.equalsIgnoreCase("http") || s.... | 28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/830f14d690359c87b5d2a106a753cc5435fb3a76/AxisConnector.java/clean/providers/axis/src/main/java/org/mule/providers/soap/axis/AxisConnector.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
4435,
784,
1435,
1216,
10188,
10742,
503,
288,
3639,
2240,
18,
2896,
4435,
784,
5621,
3639,
2654,
6568,
21657,
273,
394,
4317,
5621,
3639,
364,
261,
3198,
2775,
273,
3260,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
4435,
784,
1435,
1216,
10188,
10742,
503,
288,
3639,
2240,
18,
2896,
4435,
784,
5621,
3639,
2654,
6568,
21657,
273,
394,
4317,
5621,
3639,
364,
261,
3198,
2775,
273,
3260,
... |
if (!key.isConstId()) { return RubyMapMethod.CONTINUE; } | if (!key.isConstId()) { return RubyMapMethod.CONTINUE; } | public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId) _key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String) _key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyObject... | 45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/clean/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
509,
1836,
12,
921,
389,
856,
16,
1033,
389,
1132,
16,
1033,
389,
455,
13,
288,
1082,
202,
759,
19782,
326,
924,
18,
1082,
202,
54,
10340,
548,
498,
273,
446,
31,
1082,
202... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
509,
1836,
12,
921,
389,
856,
16,
1033,
389,
1132,
16,
1033,
389,
455,
13,
288,
1082,
202,
759,
19782,
326,
924,
18,
1082,
202,
54,
10340,
548,
498,
273,
446,
31,
1082,
202... |
private synchronized void checkOpen() throws ReportWriteException | private synchronized void checkOpen() throws ReportWriteException | private synchronized void checkOpen() throws ReportWriteException { if(writer == null) { try { writer = new FileWriter(listFile); } catch ( IOException e ) { throw new ReportWriteException( "Cannot open listFile fo... | 50542 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50542/6e51d420ed174d20446e7387dab144f9c1a9eed0/PathLister.java/clean/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/report/PathLister.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3852,
918,
866,
3678,
1435,
1216,
8706,
3067,
503,
565,
288,
3639,
309,
12,
6299,
422,
446,
13,
3639,
288,
5411,
775,
5411,
288,
7734,
2633,
273,
394,
24639,
12,
1098,
812,
1769,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3852,
918,
866,
3678,
1435,
1216,
8706,
3067,
503,
565,
288,
3639,
309,
12,
6299,
422,
446,
13,
3639,
288,
5411,
775,
5411,
288,
7734,
2633,
273,
394,
24639,
12,
1098,
812,
1769,
... |
match(input,ID,FOLLOW_ID_in_from_source1688); following.push(FOLLOW_opt_eol_in_from_source1690); opt_eol(); following.pop(); match(input,23,FOLLOW_23_in_from_source1693); | match(input,ID,FOLLOW_ID_in_from_source1693); | public DeclarativeInvokerDescr from_source() throws RecognitionException { DeclarativeInvokerDescr ds; Token var=null; Token field=null; Token method=null; Token functionName=null; ArrayList args = null; ds = null; try { // /home/micha... | 31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/12c8feffd968f958100f654d836fa3c2ee21ded8/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3416,
7901,
1535,
24455,
16198,
628,
67,
3168,
1435,
1216,
9539,
288,
6647,
3416,
7901,
1535,
24455,
16198,
3780,
31,
3639,
3155,
569,
33,
2011,
31,
3639,
3155,
652,
33,
2011,
31,
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,
3416,
7901,
1535,
24455,
16198,
628,
67,
3168,
1435,
1216,
9539,
288,
6647,
3416,
7901,
1535,
24455,
16198,
3780,
31,
3639,
3155,
569,
33,
2011,
31,
3639,
3155,
652,
33,
2011,
31,
3... |
for (int i = 0; i < neighboors.length; i++) { if (neighboors[i].getSymbol().equals("C")) { second = ac.getConnectedAtoms(neighboors[i]); | for (int i = 0; i < neighbours.length; i++) { if (neighbours[i].getSymbol().equals("C")) { second = ac.getConnectedAtoms(neighbours[i]); | private int getPresenceOfCarbonil(AtomContainer ac, org.openscience.cdk.interfaces.Atom atom) { org.openscience.cdk.interfaces.Atom[] neighboors = ac.getConnectedAtoms(atom); org.openscience.cdk.interfaces.Atom[] second = null; Bond bond = null; int counter = 0; for (int i = 0; i < neighboors.length; i++) { if ... | 46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/11cd872c3dbcc51a117ad375706e7a5334b88daa/XLogPDescriptor.java/clean/src/org/openscience/cdk/qsar/XLogPDescriptor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
509,
1689,
455,
802,
951,
39,
11801,
330,
12,
3641,
2170,
1721,
16,
2358,
18,
20346,
71,
6254,
18,
71,
2883,
18,
15898,
18,
3641,
3179,
13,
288,
202,
202,
3341,
18,
20346,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
1689,
455,
802,
951,
39,
11801,
330,
12,
3641,
2170,
1721,
16,
2358,
18,
20346,
71,
6254,
18,
71,
2883,
18,
15898,
18,
3641,
3179,
13,
288,
202,
202,
3341,
18,
20346,
... |
System.out.println(s.hashCode()); | int k = 1; int i = s.hashCode(); int j = i+k; System.out.println(j); | public void foo(String s) { System.out.println(s.hashCode()); if (s != null) { // bug System.out.println("Yeah"); if (s != null) { // not as bad - low priority warning System.out.println("Oh my"); } } Object o = new Object(); if (o != null) { // low priority System.out.println(o.hashCode()); } Object... | 10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/cb2e55a21711893e3c76c0a121abec90e02ac93f/RedundantNullCheck.java/clean/findbugs/test/RedundantNullCheck.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
8431,
12,
780,
272,
13,
288,
202,
202,
3163,
18,
659,
18,
8222,
12,
87,
18,
2816,
1085,
10663,
202,
202,
430,
261,
87,
480,
446,
13,
288,
368,
7934,
1082,
202,
3163,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8431,
12,
780,
272,
13,
288,
202,
202,
3163,
18,
659,
18,
8222,
12,
87,
18,
2816,
1085,
10663,
202,
202,
430,
261,
87,
480,
446,
13,
288,
368,
7934,
1082,
202,
3163,
... |
g.drawString(title, textRect.x, textRect.y); | g.drawString(title, textRect.x, textRect.y + ascent); | protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/8e6a933c7311b8af73a149d26777089b7dc8bd68/BasicTabbedPaneUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
12574,
1528,
12,
17558,
314,
16,
509,
3246,
12420,
16,
10063,
3512,
16,
21821,
10063,
5653,
4309,
16,
509,
3246,
1016,
16,
514,
2077,
16,
21821,
13264,
977,
6120,
16,
1250,
209... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12574,
1528,
12,
17558,
314,
16,
509,
3246,
12420,
16,
10063,
3512,
16,
21821,
10063,
5653,
4309,
16,
509,
3246,
1016,
16,
514,
2077,
16,
21821,
13264,
977,
6120,
16,
1250,
209... |
exp = keyChooser.getText( ); | exp = keyChooser.getText( ).trim( ); | private String getKeyExpression( ) { String exp = null; if ( keyChooser.getSelectionIndex( ) != -1 ) { exp = DEUtil.getExpression( columnList.get( keyChooser.getSelectionIndex( ) ) ); } else { exp = keyChooser.getText( ); } return exp; } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/80ccf180bdb6168009b31f74fea6b0435bb34605/GroupDialog.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/GroupDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
3579,
2300,
12,
262,
202,
95,
202,
202,
780,
1329,
273,
446,
31,
202,
202,
430,
261,
498,
17324,
18,
588,
6233,
1016,
12,
262,
480,
300,
21,
262,
202,
202,
95,
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,
514,
3579,
2300,
12,
262,
202,
95,
202,
202,
780,
1329,
273,
446,
31,
202,
202,
430,
261,
498,
17324,
18,
588,
6233,
1016,
12,
262,
480,
300,
21,
262,
202,
202,
95,
1082,
... |
codeFragment.setResolveScope(GlobalSearchScope.allScope(project)); | codeFragment.forceResolveScope(GlobalSearchScope.allScope(project)); | protected Cache initEvaluatorAndChildrenExpression(final Project project) { final Cache cache = new Cache(); try { final PsiClass contextClass = DebuggerUtils.findClass(getClassName(), project, GlobalSearchScope.allScope(project)); if(contextClass == null) { throw EvaluateExceptionUtil.CANNOT_F... | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/e24adae9ba3eb8c4b809b06770d6e2d50b568128/CachedEvaluator.java/clean/debugger/impl/com/intellij/debugger/ui/tree/render/CachedEvaluator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
4379,
1208,
15876,
1876,
4212,
2300,
12,
6385,
5420,
1984,
13,
288,
565,
727,
4379,
1247,
273,
394,
4379,
5621,
565,
775,
288,
1377,
727,
453,
7722,
797,
819,
797,
273,
28645,
1989,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4379,
1208,
15876,
1876,
4212,
2300,
12,
6385,
5420,
1984,
13,
288,
565,
727,
4379,
1247,
273,
394,
4379,
5621,
565,
775,
288,
1377,
727,
453,
7722,
797,
819,
797,
273,
28645,
1989,... |
public ParserConfigurationException(String msg) | public ParserConfigurationException() | public ParserConfigurationException(String msg) { super(msg); } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/ParserConfigurationException.java/buggy/core/src/classpath/javax/javax/xml/parsers/ParserConfigurationException.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
6783,
10737,
1435,
225,
288,
565,
2240,
12,
3576,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
6783,
10737,
1435,
225,
288,
565,
2240,
12,
3576,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
public static List<Fault> performScan( List<DataObject> dataobjects ) throws IOException { assert dataobjects != null: "Cannot pass null to RunPMDAction.checkCookies()"; SourceLevelQuery sourceLevelQuery = (SourceLevelQuery) Lookup.getDefault().lookup(SourceLevelQuery.class); Rul... | 41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/5b1b058a600c66a4f104ea694aa697c7a730c5e2/RunPMDAction.java/clean/pmd-netbeans/src/pmd/RunPMDAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
987,
32,
7083,
34,
3073,
7972,
12,
987,
32,
21881,
34,
501,
6911,
262,
1216,
1860,
288,
3639,
1815,
501,
6911,
480,
446,
30,
315,
4515,
1342,
446,
358,
1939,
52,
6188,
1803,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
987,
32,
7083,
34,
3073,
7972,
12,
987,
32,
21881,
34,
501,
6911,
262,
1216,
1860,
288,
3639,
1815,
501,
6911,
480,
446,
30,
315,
4515,
1342,
446,
358,
1939,
52,
6188,
1803,
... | ||
if (archiveBox != null) | } if (archiveBox != null) { | public boolean performOk() { IResource resource = (IResource) getElement(); encodingEditor.store(); if (lineDelimiterEditor != null) lineDelimiterEditor.store(); try { ResourceAttributes attrs = resource.getResourceAttributes(); if (attrs != null) { boolean hasChange = false; // Nothing to update if we... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/ResourceInfoPage.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ResourceInfoPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
3073,
8809,
1435,
288,
202,
202,
45,
1420,
1058,
273,
261,
45,
1420,
13,
7426,
5621,
202,
202,
5999,
6946,
18,
2233,
5621,
202,
202,
430,
261,
1369,
12007,
6946,
480,
44... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
3073,
8809,
1435,
288,
202,
202,
45,
1420,
1058,
273,
261,
45,
1420,
13,
7426,
5621,
202,
202,
5999,
6946,
18,
2233,
5621,
202,
202,
430,
261,
1369,
12007,
6946,
480,
44... |
String confpath=secprop.getProperty(secprop.CRYPTO_CONFIG); | public void doPost (HttpServletRequest req, HttpServletResponse res) throws ServletException,IOException { res.setContentType("Text/HTML"); String distinguishedName=null; String role=null; String cadnname=null; PrintWriter out=res.getWriter(); if (debug) { //System.out.println("getCont... | 12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/0a3135ccf7c1181b851b0462c1b4ea6c1413f409/CertificateDetailsServlet.java/clean/securityservices/src/com/nai/security/certauthority/servlet/CertificateDetailsServlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
741,
3349,
261,
2940,
18572,
225,
1111,
16,
12446,
400,
13,
565,
1216,
16517,
16,
14106,
225,
288,
3639,
400,
18,
542,
8046,
2932,
1528,
19,
4870,
8863,
565,
514,
19559,
5992,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
3349,
261,
2940,
18572,
225,
1111,
16,
12446,
400,
13,
565,
1216,
16517,
16,
14106,
225,
288,
3639,
400,
18,
542,
8046,
2932,
1528,
19,
4870,
8863,
565,
514,
19559,
5992,
... | |
public void justLoadedScript(Script script) {// if(ASS)System.out.println( "loaded script: " + script ); if( ! _enabled ) return; if( ! script.isValid() ) return; synchronized(this) { // add to the table of scripts _scripts.addElement... | 11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/2de73cf99dce60cce549e7757f841284b68d1220/BreakpointTyrant.java/clean/js/jsdj/classes/com/netscape/jsdebugging/ifcui/BreakpointTyrant.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2537,
8835,
3651,
12,
3651,
2728,
13,
565,
288,
759,
3639,
309,
12,
8423,
13,
3163,
18,
659,
18,
8222,
12,
315,
4230,
2728,
30,
315,
397,
2728,
11272,
3639,
309,
12,
401,
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,
2537,
8835,
3651,
12,
3651,
2728,
13,
565,
288,
759,
3639,
309,
12,
8423,
13,
3163,
18,
659,
18,
8222,
12,
315,
4230,
2728,
30,
315,
397,
2728,
11272,
3639,
309,
12,
401,
3... | ||
public void start(BundleContext context) throws Exception { super.start(context); plugin = this; authenticator = UpdateUI.getDefault().getAuthenticator(); if (authenticator == null) { authenticator = new BugzillaAuthenticator(); } Authenticator.setDefault(authenticator); // Removed since not repository specif... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/021b803558816829652dd500f5695e5bfd03ae6c/BugzillaPlugin.java/clean/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaPlugin.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
787,
12,
3405,
1042,
819,
13,
1216,
1185,
288,
202,
202,
9565,
18,
1937,
12,
2472,
1769,
202,
202,
4094,
273,
333,
31,
202,
202,
1944,
10149,
273,
2315,
5370,
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,
482,
918,
787,
12,
3405,
1042,
819,
13,
1216,
1185,
288,
202,
202,
9565,
18,
1937,
12,
2472,
1769,
202,
202,
4094,
273,
333,
31,
202,
202,
1944,
10149,
273,
2315,
5370,
18,
588,
... | ||
declareImage(IWorkbenchGraphicConstants.IMG_LCL_MIN_VIEW_HOVER, PATH_ELOCALTOOL + "min_view.gif", true); | private final static void declareImages() { declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_PIN_EDITOR, PATH_ETOOL + "pin_editor.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_PIN_EDITOR_DISABLED, PATH_DTOOL + "pin_editor.gif", false); //$... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/2681a6ecadd52dd841e83586a7574d0fc5192344/WorkbenchImages.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchImages.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
727,
760,
918,
14196,
8946,
1435,
288,
3639,
14196,
2040,
12,
45,
2421,
22144,
29459,
2918,
18,
3445,
43,
67,
1584,
51,
1741,
67,
52,
706,
67,
13208,
16,
7734,
7767,
67,
1584,
51,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
760,
918,
14196,
8946,
1435,
288,
3639,
14196,
2040,
12,
45,
2421,
22144,
29459,
2918,
18,
3445,
43,
67,
1584,
51,
1741,
67,
52,
706,
67,
13208,
16,
7734,
7767,
67,
1584,
51,... | |
int iErr = Service.GetLastError(); throw new Win32Exception(iErr, "Win32 Error Code: " + iErr + ": " + Service.GetErrorMessage(iErr)); | int err = Service.GetLastError(); throw new Win32Exception(err, "Win32 Error Code: " + err + ": " + GetErrorMessage(err)); | private static final void throwLastErrorException() throws Win32Exception { int iErr = Service.GetLastError(); throw new Win32Exception(iErr, "Win32 Error Code: " + iErr + ": " + Service.GetErrorMessage(iErr)); } | 47455 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47455/084300bce2472c57310fe2c37a742ed3759aafd5/Service.java/clean/bindings/java/src/net/hyperic/sigar/win32/Service.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
727,
918,
604,
3024,
10009,
1435,
540,
1216,
21628,
1578,
503,
565,
288,
3639,
509,
277,
2524,
273,
1956,
18,
967,
3024,
668,
5621,
3639,
604,
394,
21628,
1578,
503,
12,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
727,
918,
604,
3024,
10009,
1435,
540,
1216,
21628,
1578,
503,
565,
288,
3639,
509,
277,
2524,
273,
1956,
18,
967,
3024,
668,
5621,
3639,
604,
394,
21628,
1578,
503,
12,
77,
... |
return getAttribute("class"); } | return getAttribute("class"); } | public String getClassName() { return getAttribute("class"); } | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/a0ba982304fe9f3700209293da4d2533e292e5d2/WMLSmallElementImpl.java/buggy/src/org/apache/wml/dom/WMLSmallElementImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
11819,
1435,
288,
565,
327,
4061,
2932,
1106,
8863,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
11819,
1435,
288,
565,
327,
4061,
2932,
1106,
8863,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
f = JFontChooser.showDialog(frame, editor.getTextArea().getPainter().getFont()); | f = JFontChooser.showDialog(frame, editor.getTextArea() .getPainter().getFont()); | private JMenu makeOptionsMenu() { JMenu menu = new JMenu(messageBundle.getString("menu.options")); menu.setMnemonic(KeyEvent.VK_I); JMenuItem menuItem; //Save Automatically on compilation. if (jeliotUserProperties.containsKey("save_automatically")) { editor.setSaveAutom... | 49293 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49293/2afb143799924500a7f86421daa0c157cfa3f366/JeliotWindow.java/clean/src/jeliot/gui/JeliotWindow.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
804,
4599,
1221,
1320,
4599,
1435,
288,
3639,
804,
4599,
3824,
273,
394,
804,
4599,
12,
2150,
3405,
18,
588,
780,
2932,
5414,
18,
2116,
7923,
1769,
3639,
3824,
18,
542,
29668,
20918... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
804,
4599,
1221,
1320,
4599,
1435,
288,
3639,
804,
4599,
3824,
273,
394,
804,
4599,
12,
2150,
3405,
18,
588,
780,
2932,
5414,
18,
2116,
7923,
1769,
3639,
3824,
18,
542,
29668,
20918... |
for(int i = 0; i < children.length; i++){ final PsiElement child = children[i]; | for(final PsiElement child : children){ | private void termReplace(StringBuffer out, PsiElement target, PsiElement replace, String stringToReplaceWith){ if(target.equals(replace)){ out.append(stringToReplaceWith); } else if(target.getChildren() != null && target.getChildren().len... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/e4329a48065fe37b7b5d3d9883a02a38ec8f42fa/ReplaceIfWithSwitchIntention.java/clean/plugins/IntentionPowerPak/src/com/siyeh/ipp/switchtoif/ReplaceIfWithSwitchIntention.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2481,
5729,
12,
780,
1892,
596,
16,
453,
7722,
1046,
1018,
16,
11794,
453,
7722,
1046,
1453,
16,
514,
14134,
5729,
1190,
15329,
3639,
309,
12,
3299,
18,
14963,
12,
2079,
3719,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2481,
5729,
12,
780,
1892,
596,
16,
453,
7722,
1046,
1018,
16,
11794,
453,
7722,
1046,
1453,
16,
514,
14134,
5729,
1190,
15329,
3639,
309,
12,
3299,
18,
14963,
12,
2079,
3719,
... |
reportDOMError(errorHandler, error, locator, msg, DOMError.SEVERITY_ERROR, null, | reportDOMError(errorHandler, error, locator, msg, DOMError.SEVERITY_ERROR, | public static final void isCDataWF(DOMErrorHandler errorHandler, DOMErrorImpl error, DOMLocatorImpl locator, String datavalue, boolean isXML11Version) { if(datavalue == null || (datavalue.length() == 0) ) return ; char [] dataarray = datavalue.toCharArray(); int ... | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/3efa84f345153efd3e2ca682c39b9766f6ce729d/DOMNormalizer.java/buggy/src/org/apache/xerces/dom/DOMNormalizer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
727,
918,
25249,
751,
59,
42,
12,
8168,
17729,
17227,
16,
4703,
668,
2828,
555,
16,
4703,
5786,
2828,
8871,
16,
2398,
514,
501,
1132,
16,
1250,
353,
4201,
2499,
1444,
13,
565... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
727,
918,
25249,
751,
59,
42,
12,
8168,
17729,
17227,
16,
4703,
668,
2828,
555,
16,
4703,
5786,
2828,
8871,
16,
2398,
514,
501,
1132,
16,
1250,
353,
4201,
2499,
1444,
13,
565... |
numberFormat = new DecimalFormat( "###,##0.00 %", | numberFormat = new DecimalFormat( "###,##0.00 %", | private void handleSingleCharFormatString( char c ) { switch ( c ) { case 'G' : case 'g' : case 'D' : case 'd' : numberFormat = NumberFormat.getInstance( locale ); return; case 'C' : case 'c' : numberFormat = NumberFormat .getCurrencyInstance( locale ); return; case 'F' : case 'f' : ... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/5e9b56cf7b8135282c03b97d8af0909f1c511509/NumberFormatter.java/buggy/core/org.eclipse.birt.core/src/org/eclipse/birt/core/format/NumberFormatter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1640,
5281,
2156,
1630,
780,
12,
1149,
276,
262,
202,
95,
202,
202,
9610,
261,
276,
262,
202,
202,
95,
1082,
202,
3593,
296,
43,
11,
294,
1082,
202,
3593,
296,
75,
11,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1640,
5281,
2156,
1630,
780,
12,
1149,
276,
262,
202,
95,
202,
202,
9610,
261,
276,
262,
202,
202,
95,
1082,
202,
3593,
296,
43,
11,
294,
1082,
202,
3593,
296,
75,
11,... |
try { Value val = PropertyUtil.getValue(prop); val.getDate(); fail("Conversion from a Boolean value to a Date value " + "should throw a ValueFormatException"); } catch (ValueFormatException vfe) { } } | try { Value val = PropertyUtil.getValue(prop); val.getDate(); fail("Conversion from a Boolean value to a Date value " + "should throw a ValueFormatException"); } catch (ValueFormatException vfe) { } } | public void testGetDate() throws RepositoryException { try { Value val = PropertyUtil.getValue(prop); val.getDate(); fail("Conversion from a Boolean value to a Date value " + "should throw a ValueFormatException"); } catch (ValueFormatExceptio... | 49304 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49304/cc22580270eec3c3113be6779f02eb9634089fac/BooleanPropertyTest.java/buggy/src/test/org/apache/jackrabbit/test/api/BooleanPropertyTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
1071,
918,
1842,
967,
1626,
1435,
1216,
13367,
288,
540,
775,
288,
2398,
1445,
1244,
273,
4276,
1304,
18,
24805,
12,
5986,
1769,
2398,
1244,
18,
588,
1626,
5621,
2398,
2321,
2932,
6814,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
1071,
918,
1842,
967,
1626,
1435,
1216,
13367,
288,
540,
775,
288,
2398,
1445,
1244,
273,
4276,
1304,
18,
24805,
12,
5986,
1769,
2398,
1244,
18,
588,
1626,
5621,
2398,
2321,
2932,
6814,
... |
if (canonicalize(gData.cpbegin[parenContent + i]) != canonicalize(gData.cpbegin[x.cp + i])) | if (upcase(gData.cpbegin[parenContent + i]) != upcase(gData.cpbegin[x.cp + i])) | backrefMatcher(REGlobalData gData, REMatchState x, int parenIndex) { int len; int i; int parenContent = x.parens_index(parenIndex); if (parenContent == -1) return x; len = x.parens_length(parenIndex); if ((x.cp + len) > gData.cpend) return null; ... | 47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/a0e248a21436efe42cb048db447e634efc303b30/NativeRegExp.java/buggy/src/org/mozilla/javascript/regexp/NativeRegExp.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1473,
1734,
6286,
12,
862,
5160,
751,
314,
751,
16,
2438,
2060,
1119,
619,
16,
509,
22146,
1016,
13,
565,
288,
3639,
509,
562,
31,
3639,
509,
277,
31,
3639,
509,
22146,
1350,
273,
619,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1473,
1734,
6286,
12,
862,
5160,
751,
314,
751,
16,
2438,
2060,
1119,
619,
16,
509,
22146,
1016,
13,
565,
288,
3639,
509,
562,
31,
3639,
509,
277,
31,
3639,
509,
22146,
1350,
273,
619,
... |
addRecord = new ContentRecord( element, slotID, content, newPos ); | addRecord = new ContentRecord( module, element, slotID, content, newPos ); | private void doAdd( DesignElement content, int slotID, int newPos ) throws ContentException, NameException { assert content.getContainer( ) == null; // Ensure that the content can be put into the container. ElementDefn metaData = (ElementDefn) element.getDefn( ); if ( !metaData.isContainer( ) ) throw new Conte... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/d5b6c608ad12aa11b2bf65a394badd4bb911fbad/ContentCommand.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/ContentCommand.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
741,
986,
12,
29703,
1046,
913,
16,
509,
4694,
734,
16,
509,
394,
1616,
262,
1082,
202,
15069,
3697,
503,
16,
1770,
503,
202,
95,
202,
202,
11231,
913,
18,
588,
2170,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
986,
12,
29703,
1046,
913,
16,
509,
4694,
734,
16,
509,
394,
1616,
262,
1082,
202,
15069,
3697,
503,
16,
1770,
503,
202,
95,
202,
202,
11231,
913,
18,
588,
2170,
... |
DataColumnBindingDialog dialog = new DataColumnBindingDialog( ); | DataColumnBindingDialog dialog = new DataColumnBindingDialog( false ); | protected void handleEditEvent( ) { ComputedColumnHandle bindingHandle = null; int pos = bindingTable.getTable( ).getSelectionIndex( ); if ( pos > -1 ) { bindingHandle = (ComputedColumnHandle) ( (ReportItemHandle) DEUtil.getBindingHolder( inputElement ) ).getColumnBindings( ) .getAt( pos ); } if ( bindingH... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/4bc5580c6c26ba1cb9f558db9f3d1ef255754c46/ColumnBindingDialog.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ColumnBindingDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1640,
4666,
1133,
12,
262,
202,
95,
202,
202,
17934,
1494,
3259,
5085,
3259,
273,
446,
31,
202,
202,
474,
949,
273,
5085,
1388,
18,
588,
1388,
12,
262,
18,
588,
6233,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1640,
4666,
1133,
12,
262,
202,
95,
202,
202,
17934,
1494,
3259,
5085,
3259,
273,
446,
31,
202,
202,
474,
949,
273,
5085,
1388,
18,
588,
1388,
12,
262,
18,
588,
6233,
... |
try { | try { | public void testUnterminatedStringLiteral_DoubleQuote_CarriageReturn() throws Exception { newLexer( "\"cheese\r\"" ); try { nextToken(); fail( "should have thrown UnterminatedStringLiteralException" ); } catch (UnterminatedStringLiteralException e) ... | 6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/3d37acd34fcf44c4a51bd104ef70043af62c7d99/LexerTest.java/clean/src/test/org/codehaus/groovy/syntax/lexer/LexerTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
984,
29133,
28565,
67,
5265,
10257,
67,
16321,
27935,
990,
1435,
3639,
1216,
1185,
565,
288,
3639,
394,
13356,
12,
7023,
18706,
3392,
64,
86,
8530,
11272,
3639,
775,
3639,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
984,
29133,
28565,
67,
5265,
10257,
67,
16321,
27935,
990,
1435,
3639,
1216,
1185,
565,
288,
3639,
394,
13356,
12,
7023,
18706,
3392,
64,
86,
8530,
11272,
3639,
775,
3639,
... |
throw new InternalException("ERROR: Could not post collection", uree); | throw new InternalException("ERROR: Could not post collection", uree); | private EntrySet putEntry(Reader r) throws HandlerException { try { SAXBuilder builder = new SAXBuilder(); Document collectionDoc = builder.build(r); EntrySet c = new WeblogEntrySet(collectionDoc, getUrlPrefix()); if (c.getEntries().length > 1) { ... | 46431 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46431/63e9d197ce5430321b22734db633425257b4a911/RollerWeblogHandler.java/clean/sandbox/atomadminprotocol/src/org/roller/presentation/atomadminapi/RollerWeblogHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3841,
694,
1378,
1622,
12,
2514,
436,
13,
1216,
4663,
503,
288,
3639,
775,
288,
5411,
10168,
1263,
2089,
273,
394,
10168,
1263,
5621,
5411,
4319,
1849,
1759,
273,
2089,
18,
3510,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3841,
694,
1378,
1622,
12,
2514,
436,
13,
1216,
4663,
503,
288,
3639,
775,
288,
5411,
10168,
1263,
2089,
273,
394,
10168,
1263,
5621,
5411,
4319,
1849,
1759,
273,
2089,
18,
3510,
12... |
ep.getSource().flush( null, ep ); } else if( actionCode==ActionCode.ACTION_CLOSE ) { if( log.isDebugEnabled() ) log.debug("CLOSE " ); | ep.getSource().flush( msg, ep ); } catch(IOException iex) { log.debug("Connection error ending request.",iex); ep.setStatus(JK_STATUS_ERROR); } if(ep.getStatus() != JK_STATUS_ERROR) { ep.setStatus(JK_STATUS_CLOSED ); } | public void action(ActionCode actionCode, Object param) { try { if( actionCode==ActionCode.ACTION_COMMIT ) { if( log.isDebugEnabled() ) log.debug("COMMIT " ); org.apache.coyote.Response res=(org.apache.coyote.Response)param; if( res.isCommitted() ) { ... | 10630 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10630/7b57334293659570eb8baf9f9f7c712658c8253d/JkCoyoteHandler.java/buggy/java/org/apache/jk/server/JkCoyoteHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1301,
12,
1803,
1085,
1301,
1085,
16,
1033,
579,
13,
288,
3639,
775,
288,
5411,
309,
12,
1301,
1085,
631,
1803,
1085,
18,
12249,
67,
18658,
262,
288,
7734,
309,
12,
613,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1301,
12,
1803,
1085,
1301,
1085,
16,
1033,
579,
13,
288,
3639,
775,
288,
5411,
309,
12,
1301,
1085,
631,
1803,
1085,
18,
12249,
67,
18658,
262,
288,
7734,
309,
12,
613,
18,
... |
if(!String.class.isInstance( propertyType )) { throw new MissingPropertyException("Email constraint only applies to a String property",EMAIL_CONSTRAINT,owningClass); } return this.appliedConstraints.containsKey( EMAIL_CONSTRAINT ); } | if(!String.class.isInstance( propertyType )) { throw new MissingPropertyException("Email constraint only applies to a String property",EMAIL_CONSTRAINT,owningClass); } return this.appliedConstraints.containsKey( EMAIL_CONSTRAINT ); } | public boolean isEmail() { if(!String.class.isInstance( propertyType )) { throw new MissingPropertyException("Email constraint only applies to a String property",EMAIL_CONSTRAINT,owningClass); } return this.appliedConstraints.containsKey( EMAIL_CONSTRAINT ); } | 55385 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55385/975905c7e8c55e5fe91c94dc583c4269318ca341/ConstrainedProperty.java/clean/src/commons/org/codehaus/groovy/grails/validation/ConstrainedProperty.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
4134,
1435,
288,
202,
202,
430,
12,
5,
780,
18,
1106,
18,
291,
1442,
12,
21076,
8623,
288,
1082,
202,
12849,
394,
10230,
1396,
503,
2932,
4134,
4954,
1338,
10294,
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,
353,
4134,
1435,
288,
202,
202,
430,
12,
5,
780,
18,
1106,
18,
291,
1442,
12,
21076,
8623,
288,
1082,
202,
12849,
394,
10230,
1396,
503,
2932,
4134,
4954,
1338,
10294,
3... |
public void close() { reading = false; | protected void close() { | public void close() { reading = false; try { reader.close(); } catch (IOException e) {} } | 56438 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56438/7689bbea80eaa405d080a32472baa29eda0b46a4/GPSConnection.java/clean/MoVadis/gps/GPSConnection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1746,
1435,
288,
202,
202,
21803,
273,
629,
31,
202,
202,
698,
288,
1082,
202,
10530,
18,
4412,
5621,
202,
202,
97,
1044,
261,
14106,
425,
13,
2618,
202,
97,
2,
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,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1746,
1435,
288,
202,
202,
21803,
273,
629,
31,
202,
202,
698,
288,
1082,
202,
10530,
18,
4412,
5621,
202,
202,
97,
1044,
261,
14106,
425,
13,
2618,
202,
97,
2,
-100,
-... |
} | private void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else { new SecureRandom ().nextBytes(buffer); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5806c07c3eeedb0f4f92b9fbacf30c0f55915c25/RFC2631.java/clean/core/src/classpath/gnu/gnu/javax/crypto/key/dh/RFC2631.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1024,
8529,
2160,
12,
7229,
8526,
1613,
13,
225,
288,
565,
309,
261,
86,
4880,
480,
446,
13,
1377,
288,
3639,
20391,
18,
4285,
2160,
12,
4106,
1769,
540,
469,
1377,
288,
3639... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1024,
8529,
2160,
12,
7229,
8526,
1613,
13,
225,
288,
565,
309,
261,
86,
4880,
480,
446,
13,
1377,
288,
3639,
20391,
18,
4285,
2160,
12,
4106,
1769,
540,
469,
1377,
288,
3639... | |
drList.addAll(obj.getDRList()); | if (obj != null) { drList.addAll(obj.getDRList()); } | public List getDRList() { List drList = new ArrayList(); for (Iterator i = getPObjectList().iterator(); i.hasNext(); ) { PObject obj = (PObject)i.next(); drList.addAll(obj.getDRList()); } return DamageReduction.getDRList(this, drList); } | 48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/d478678cd06926ec05c8eac48890c5cf2ce2b830/PlayerCharacter.java/clean/code/src/java/pcgen/core/PlayerCharacter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
987,
2343,
54,
682,
1435,
202,
95,
202,
202,
682,
5081,
682,
273,
394,
2407,
5621,
202,
202,
1884,
261,
3198,
277,
273,
1689,
25979,
7675,
9838,
5621,
277,
18,
5332,
2134,
562... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
987,
2343,
54,
682,
1435,
202,
95,
202,
202,
682,
5081,
682,
273,
394,
2407,
5621,
202,
202,
1884,
261,
3198,
277,
273,
1689,
25979,
7675,
9838,
5621,
277,
18,
5332,
2134,
562... |
break _loop1378; | break _loop1382; | public final void for_record_spec(AST _t) throws RecognitionException { AST for_record_spec_AST_in = (_t == ASTNULL) ? null : (AST)_t; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case CURRENT: case EACH: case FIRST: case LAST: case NEXT: case PREV: { findwhich(_t); _t = _retTree; break; ... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser03.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
364,
67,
3366,
67,
2793,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
364,
67,
3366,
67,
2793,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
364,
67,
3366,
67,
2793,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
364,
67,
3366,
67,
2793,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.