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 |
|---|---|---|---|---|---|---|
buf.append(" <log4j:data name=\"" + propName); | buf.append(" <log4j:data name=\""); buf.append(propName); | public String format(LoggingEvent event) { StringBuffer buf = new StringBuffer(); // We yield to the \r\n heresy. buf.append("<log4j:event logger=\""); buf.append(event.getLoggerName()); buf.append("\" timestamp=\""); buf.append(Long.toString(event.getTimeStamp())); buf.append("\" sequenceNumber=... | 45952 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45952/887bcc64c1a2854652bd7a140750b039ae9251d7/XMLLayout.java/clean/src/java/org/apache/log4j/xml/XMLLayout.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
740,
12,
7735,
1133,
871,
13,
288,
565,
6674,
1681,
273,
394,
6674,
5621,
565,
368,
1660,
2824,
358,
326,
521,
86,
64,
82,
366,
11737,
93,
18,
565,
1681,
18,
6923,
2932,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
740,
12,
7735,
1133,
871,
13,
288,
565,
6674,
1681,
273,
394,
6674,
5621,
565,
368,
1660,
2824,
358,
326,
521,
86,
64,
82,
366,
11737,
93,
18,
565,
1681,
18,
6923,
2932,
32... |
case 13: | case 8: | private final int jjMoveNfa_1(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 19; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu... | 55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/65bb22ee318c85d66cafbb1a948ac2aa22008ee7/ParserTokenManager.java/buggy/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
50,
507,
67,
21,
12,
474,
787,
1119,
16,
509,
662,
1616,
15329,
282,
509,
8526,
1024,
7629,
31,
282,
509,
2542,
861,
273,
374,
31,
282,
10684,
2704,
1119,
11750,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
50,
507,
67,
21,
12,
474,
787,
1119,
16,
509,
662,
1616,
15329,
282,
509,
8526,
1024,
7629,
31,
282,
509,
2542,
861,
273,
374,
31,
282,
10684,
2704,
1119,
11750,... |
suite.addTest(new TestSuite(CheckerTest.class)); suite.addTest(new TestSuite(DetailASTTest.class)); | public static Test suite() { TestSuite suite = new TestSuite("Test for com.puppycrawl.tools.checkstyle"); //$JUnit-BEGIN$ suite.addTest(new TestSuite(CheckerTest.class)); suite.addTest(new TestSuite(DetailASTTest.class)); suite.addTest(new TestSuite(AbstractClassNameChe... | 31427 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31427/9bc9f418278ed8782e473b2dbf4d7669e886bfcb/AllTests.java/buggy/src/tests/com/puppycrawl/tools/checkstyle/AllTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
7766,
11371,
1435,
288,
3639,
7766,
13587,
11371,
273,
5411,
394,
7766,
13587,
2932,
4709,
364,
532,
18,
84,
416,
2074,
71,
15161,
18,
6642,
18,
31540,
8863,
3639,
4329,
46,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
7766,
11371,
1435,
288,
3639,
7766,
13587,
11371,
273,
5411,
394,
7766,
13587,
2932,
4709,
364,
532,
18,
84,
416,
2074,
71,
15161,
18,
6642,
18,
31540,
8863,
3639,
4329,
46,
28... | |
public abstract void setFilenameFilter(FilenameFilter ff); | void setFilenameFilter (FilenameFilter ff); | public abstract void setFilenameFilter(FilenameFilter ff); | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/FileDialogPeer.java/clean/core/src/classpath/java/java/awt/peer/FileDialogPeer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
8770,
918,
444,
5359,
1586,
12,
5359,
1586,
6875,
1769,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1071,
8770,
918,
444,
5359,
1586,
12,
5359,
1586,
6875,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
if (jj_scan_token(STARASSIGN)) return true; | if (jj_scan_token(FLOATING_POINT_LITERAL)) return true; | final private boolean jj_3R_203() { if (jj_scan_token(STARASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } | 41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/83d81b076b32acdf3f82077c7f4c2a2e160aa32f/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
3462,
23,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
15640,
1360,
67,
8941,
67,
23225,
3719,
327,
638,
31,
565,
309,
261,
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,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
3462,
23,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
15640,
1360,
67,
8941,
67,
23225,
3719,
327,
638,
31,
565,
309,
261,
78,
... |
getLogger().info( " ***** connection " + entry.getId() + " is way too old: " + age + " > " + ACTIVE_CONN_TIME_LIMIT); | StringBuffer logBuffer = new StringBuffer(128) .append(" ***** connection ") .append(entry.getId()) .append(" is way too old: ") .append(age) .append(" > ") .append(ACTIVE_CONN_TIME_LIMIT); getLogger().info(logBuffer.toString()); | public void run() { while(reaperActive) { for(int i = 0; i < pool.size(); i++) { PoolConnEntry entry = (PoolConnEntry)pool.elementAt(i); long age = System.currentTimeMillis() - entry.getLastActivity(); synchronized(entry) { ... | 47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/2557fc80c334a8bf037aa78d48c3d733651ee9a9/JdbcDataSource.java/buggy/trunk/src/java/org/apache/james/util/mordred/JdbcDataSource.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
3639,
1323,
12,
266,
7294,
3896,
13,
288,
5411,
364,
12,
474,
277,
273,
374,
31,
277,
411,
2845,
18,
1467,
5621,
277,
27245,
288,
7734,
8828,
3543,
1622,
124... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
3639,
1323,
12,
266,
7294,
3896,
13,
288,
5411,
364,
12,
474,
277,
273,
374,
31,
277,
411,
2845,
18,
1467,
5621,
277,
27245,
288,
7734,
8828,
3543,
1622,
124... |
synchronized void removeActiveWorker(DownloadWorker worker) { | synchronized boolean removeActiveWorker(DownloadWorker worker) { | synchronized void removeActiveWorker(DownloadWorker worker) { currentRFDs.remove(worker.getRFD()); List l = new ArrayList(getActiveWorkers()); l.remove(worker); _activeWorkers = Collections.unmodifiableList(l); } | 5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/c87a6c0b85a903f73426aac467b85c287af79be6/ManagedDownloader.java/clean/components/gnutella-core/src/main/java/com/limegroup/gnutella/downloader/ManagedDownloader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3852,
1250,
1206,
3896,
6671,
12,
7109,
6671,
4322,
13,
288,
3639,
783,
12918,
22831,
18,
4479,
12,
10124,
18,
588,
12918,
40,
10663,
3639,
987,
328,
273,
394,
2407,
12,
588,
3896,
15252,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
1206,
3896,
6671,
12,
7109,
6671,
4322,
13,
288,
3639,
783,
12918,
22831,
18,
4479,
12,
10124,
18,
588,
12918,
40,
10663,
3639,
987,
328,
273,
394,
2407,
12,
588,
3896,
15252,... |
comprator = 9; int return_int=-1; | setComprator(9); int return_int = -1; | public int getMaxGrID() { comprator = 9; int return_int=-1; try { registerParameters(); rs = cstm.executeQuery(); while(rs.next()) { return_int = rs.getInt(1); } } catch(java.sql.SQLException sqle) {sqle.printStackTrace();} ... | 12667 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12667/187dcf7bb9ada58dc1a0ed5b75fd4fd60a6e613f/dbNumDoc.java/buggy/src/imakante/sales/dbNumDoc.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
509,
7288,
20799,
734,
1435,
288,
3639,
532,
683,
639,
273,
2468,
31,
3639,
509,
327,
67,
474,
29711,
21,
31,
3639,
775,
288,
5411,
1744,
2402,
5621,
5411,
3597,
273,
276,
334,
81... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
509,
7288,
20799,
734,
1435,
288,
3639,
532,
683,
639,
273,
2468,
31,
3639,
509,
327,
67,
474,
29711,
21,
31,
3639,
775,
288,
5411,
1744,
2402,
5621,
5411,
3597,
273,
276,
334,
81... |
if ( extensionID != null ) { String newExtensionID = ( (OdaExtensibilityProvider) provider ) | String newExtensionID = provider | private void parseODADataSourceExtensionID( Attributes attrs, boolean extensionNameRequired ) { String extensionID = getAttrib( attrs, DesignSchemaConstants.EXTENSION_ID_ATTRIB ); if ( StringUtil.isBlank( extensionID ) ) { if ( !extensionNameRequired ) return; SemanticError e = new SemanticError( elemen... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/b7cf16118dbf8403e875e1824d65359fbf5295a8/OdaDataSourceState.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/OdaDataSourceState.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1109,
1212,
37,
8597,
3625,
734,
12,
9055,
3422,
16,
1082,
202,
6494,
2710,
461,
3705,
262,
202,
95,
202,
202,
780,
2710,
734,
273,
336,
12399,
12,
3422,
16,
9506,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1109,
1212,
37,
8597,
3625,
734,
12,
9055,
3422,
16,
1082,
202,
6494,
2710,
461,
3705,
262,
202,
95,
202,
202,
780,
2710,
734,
273,
336,
12399,
12,
3422,
16,
9506,
202,
... |
data.setPresentableText(getValue().getName()); | final PsiClass value = getValue(); if (value != null) { data.setPresentableText(value.getName()); } | public void updateImpl(PresentationData data) { data.setPresentableText(getValue().getName()); } | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/a94b3583562cbf1323c0dc591d00518b68e1bd87/ClassTreeNode.java/clean/source/com/intellij/ide/projectView/impl/nodes/ClassTreeNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1089,
2828,
12,
6351,
367,
751,
501,
13,
288,
565,
727,
453,
7722,
797,
460,
273,
2366,
5621,
309,
261,
1132,
480,
446,
13,
288,
501,
18,
542,
6351,
429,
1528,
12,
1132,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1089,
2828,
12,
6351,
367,
751,
501,
13,
288,
565,
727,
453,
7722,
797,
460,
273,
2366,
5621,
309,
261,
1132,
480,
446,
13,
288,
501,
18,
542,
6351,
429,
1528,
12,
1132,
18... |
match(_t,NOWAIT); _t = _t.getNextSibling(); break; } case NOCONSOLE: { AST tmp1296_AST_in = (AST)_t; match(_t,NOCONSOLE); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case VALUE: case TYPELESS_TOKEN: { break; } default: { throw new NoViableAltException(_t); } } } { _loop1753: do { if (_t==null) _t=ASTNULL;... | match(_t,NOCONSOLE); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case VALUE: case TYPELESS_TOKEN: { break; } default: { throw new NoViableAltException(_t); } } } { _loop1756: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VALUE||_t.getType()==TYPELESS_TOKEN)) { anyorvalue(_t); _t = _retTree; } else { b... | public final void oscommandstate(AST _t) throws RecognitionException { AST oscommandstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case OS400: { AST __t1730 = _t; AST tmp1273_AST_in = (AST)_t; match(_t,OS400); _t = _t.getFirstChild(); { if (_t==... | 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,
1140,
3076,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1140,
3076,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1140,
3076,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1140,
3076,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
29... |
if (global.debug) global.log("get expanded " + clasz + " in " + clasz.owner()); | assert Debug.log("get expanded " + clasz + " in " + clasz.owner()); | private Template getExpandedTemplate(Symbol clasz) { if (global.debug) global.log("get expanded " + clasz + " in " + clasz.owner()); Template template = (Template)expansions.get(clasz); if (template == null) { template = (Template)templates.remove(clasz); assert template != null ... | 1156 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1156/858b174325c75316f5f838ce5876ac71514d9266/ExpandMixinsPhase.java/clean/sources/scalac/transformer/ExpandMixinsPhase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
5035,
336,
17957,
2283,
12,
5335,
23268,
94,
13,
288,
202,
11231,
4015,
18,
1330,
2932,
588,
8406,
315,
397,
23268,
94,
397,
315,
316,
315,
397,
23268,
94,
18,
8443,
10663,
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,
3238,
5035,
336,
17957,
2283,
12,
5335,
23268,
94,
13,
288,
202,
11231,
4015,
18,
1330,
2932,
588,
8406,
315,
397,
23268,
94,
397,
315,
316,
315,
397,
23268,
94,
18,
8443,
10663,
3639,
... |
final String id = readRequiredFromRegistry(element, ATTRIBUTE_ID, | final String id = readRequired(element, ATTRIBUTE_ID, | private static final void readActionSetsFromRegistry( final IConfigurationElement[] configurationElements, final int configurationElementCount, final CommandManager commandManager, final IHandlerService handlerService, final BindingManager bindingManager, final CommandImageManager commandImageManager, fi... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/539b29bd9f4ed0020b6fce0d726b8d740d87469d/LegacyActionPersistence.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus/LegacyActionPersistence.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
727,
918,
855,
1803,
2785,
1265,
4243,
12,
1082,
202,
6385,
467,
1750,
1046,
8526,
1664,
3471,
16,
1082,
202,
6385,
509,
1664,
1046,
1380,
16,
1082,
202,
6385,
3498,
1318,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
727,
918,
855,
1803,
2785,
1265,
4243,
12,
1082,
202,
6385,
467,
1750,
1046,
8526,
1664,
3471,
16,
1082,
202,
6385,
509,
1664,
1046,
1380,
16,
1082,
202,
6385,
3498,
1318,... |
match(_t,EQUAL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1724; _t = _t.getNextSibling(); break; } case 3: case INTO: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case INTO: { AST __t1726 = _t; AST tmp1834_AST_in = (AST)_t; | public final void compilestate(AST _t) throws RecognitionException { AST compilestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1717 = _t; AST tmp1828_AST_in = (AST)_t; match(_t,COMPILE); _t = _t.getFirstChild(); filenameorvalue(_t); _t = _retTree; { _loop1766: do { if (_t==null) _t=ASTNULL; ... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/041a16c78289f1c3ae5e575d3edc5e893a658e50/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1161,
14849,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1161,
14849,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1161,
14849,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1161,
14849,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
29... | |
showError(frame, message + "\n" + StringUtils.printException(e)); | String title = "Error"; if (frame == null) title = title + " - " + APP_NAME; JOptionPane.showMessageDialog(frame, message, title, JOptionPane.ERROR_MESSAGE); | public static void showError(Component frame, String message, Exception e) { showError(frame, message + "\n" + StringUtils.printException(e)); } | 48906 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48906/1f50ffb219183ddaf94720a4aba453e11f412425/SimpleDialogs.java/buggy/src/net/sf/gogui/gui/SimpleDialogs.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2405,
668,
12,
1841,
2623,
16,
514,
883,
16,
1185,
425,
13,
565,
288,
3639,
514,
2077,
273,
315,
668,
14432,
309,
261,
3789,
422,
446,
13,
2077,
273,
2077,
397,
315,
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,
760,
918,
2405,
668,
12,
1841,
2623,
16,
514,
883,
16,
1185,
425,
13,
565,
288,
3639,
514,
2077,
273,
315,
668,
14432,
309,
261,
3789,
422,
446,
13,
2077,
273,
2077,
397,
315,
3... |
def = testF2(file, offset); | def = testCtrl_F3(file, offset); | public void testCPPSpecDeclsDefs() throws Exception { StringBuffer buffer = new StringBuffer(); buffer.append("int a; // defines a\n"); //$NON-NLS-1$ buffer.append("extern const int c = 1; // defines c\n"); //$NON-NLS-1$ buffer.append("int f(int x) { return x+a; } // defines f and defines x\n"); ... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/a80f774ac034fed44b578ede9c708e773e1fabcf/CPPSelectionTestsCTagsIndexer.java/clean/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/selectiontests/CPPSelectionTestsCTagsIndexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
4258,
52,
1990,
1799,
3251,
14554,
1435,
1216,
1185,
288,
202,
202,
780,
1892,
1613,
273,
394,
6674,
5621,
3639,
1613,
18,
6923,
2932,
474,
279,
31,
368,
11164,
279,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4258,
52,
1990,
1799,
3251,
14554,
1435,
1216,
1185,
288,
202,
202,
780,
1892,
1613,
273,
394,
6674,
5621,
3639,
1613,
18,
6923,
2932,
474,
279,
31,
368,
11164,
279,
... |
} | } | public List getAccessControlEntries(CmsRequestContext context, CmsResource resource, boolean getInherited) throws CmsException { CmsDbContext dbc = m_dbContextFactory.getDbContext(context); List result = null; try { result = m_driverManager.getAccessControlEntries(dbc, resource... | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/a7ffa3c192d7068f584b0a3a844b88bdb2d3145a/CmsSecurityManager.java/clean/src/org/opencms/db/CmsSecurityManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
336,
16541,
5400,
12,
4747,
21426,
819,
16,
7630,
1058,
16,
1250,
7854,
3721,
329,
13,
565,
1216,
11228,
288,
3639,
30670,
9881,
273,
312,
67,
1966,
29871,
18,
588,
4331,
1042,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
987,
336,
16541,
5400,
12,
4747,
21426,
819,
16,
7630,
1058,
16,
1250,
7854,
3721,
329,
13,
565,
1216,
11228,
288,
3639,
30670,
9881,
273,
312,
67,
1966,
29871,
18,
588,
4331,
1042,... |
public boolean equals( Object obj ) { if ( obj == null || obj instanceof DataSourceAndDataSet == false ) return false; if ( this == obj ) return true; IBaseDataSourceDesign dataSourceDesign2 = ( (DataSourceAndDataSet) obj ).dataSourceDesign; IBaseDataSetDesign dataSetDesign2 = ( (DataSourceAndDataSet) obj ).da... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/ba0d1531f75bdde405266bd9f08e48a2c2ec8cd5/DataSourceAndDataSet.java/clean/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/DataSourceAndDataSet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1606,
12,
1033,
1081,
262,
202,
95,
202,
202,
430,
261,
1081,
422,
446,
747,
1081,
1276,
12806,
1876,
13676,
422,
629,
262,
1082,
202,
2463,
629,
31,
202,
202,
430,
261,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1606,
12,
1033,
1081,
262,
202,
95,
202,
202,
430,
261,
1081,
422,
446,
747,
1081,
1276,
12806,
1876,
13676,
422,
629,
262,
1082,
202,
2463,
629,
31,
202,
202,
430,
261,... | ||
return new DiagramState(getDiagramEditPart()); | setResult(new DiagramState(getDiagramEditPart())); | public Object run() { return new DiagramState(getDiagramEditPart()); } | 1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/b4c938d5d97221f8736d44de85b5ab8ff289c7cc/AbstractTestBase.java/buggy/org.eclipse.gmf.runtime/tests/org.eclipse.gmf.tests.runtime.diagram.ui/src/org/eclipse/gmf/tests/runtime/diagram/ui/AbstractTestBase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
1033,
1086,
1435,
288,
9506,
202,
2463,
394,
14539,
1940,
1119,
12,
588,
14058,
1940,
4666,
1988,
10663,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
1033,
1086,
1435,
288,
9506,
202,
2463,
394,
14539,
1940,
1119,
12,
588,
14058,
1940,
4666,
1988,
10663,
1082,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
private void convertElement(Element element) throws SAXException { // Does this need to be the actual base URI, unaffected by xml:base???? locator.setSystemId(element.getBaseURI()); ParentNode parentNode = element.getParent(); Element parent = null; if (parentNode ... | 626 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/626/18fa2619e08cf769b9f60ef1697f1a0d947c7c34/SAXConverter.java/buggy/src/nu/xom/converters/SAXConverter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
6459,
6283,
1046,
12,
1046,
2956,
13,
15069,
55,
2501,
503,
95,
759,
3244,
395,
76,
291,
14891,
869,
70,
546,
73,
18672,
1969,
3098,
16,
318,
20119,
1637,
2902,
30,
1969,
14646,
14646,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
6459,
6283,
1046,
12,
1046,
2956,
13,
15069,
55,
2501,
503,
95,
759,
3244,
395,
76,
291,
14891,
869,
70,
546,
73,
18672,
1969,
3098,
16,
318,
20119,
1637,
2902,
30,
1969,
14646,
14646,
... | ||
System.exit(0); } | System.exit(0); } | public void windowClosing(WindowEvent e) { System.exit(0); } | 54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/b0fa2f56cd2dcc90452b768e6b38187cfb8c30eb/AddressBook.java/buggy/grendel/addressbook/AddressBook.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
2742,
15745,
12,
3829,
1133,
425,
13,
288,
5411,
2332,
18,
8593,
12,
20,
1769,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
2742,
15745,
12,
3829,
1133,
425,
13,
288,
5411,
2332,
18,
8593,
12,
20,
1769,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
IOException { SessionImpl s = (SessionImpl) repo.login(new SimpleCredentials(this.conf.getLogin(), this.conf.getPassword().toCharArray()), this.wspName); SAXTransformerFactory stf = (SAXTransformerFactory) SAXTransformerFactory.newInstance(); File temp = new File(this.conf.getWorkFolder() + "wsp.xml"); try { Transform... | IOException { SessionImpl s = (SessionImpl) this.getRepo().login(this.getCredentials(), this.wspName); SAXTransformerFactory stf = (SAXTransformerFactory) SAXTransformerFactory.newInstance(); File temp = new File(this.getConf().getWorkFolder() + "wsp.xml"); try { TransformerHandler th = stf.newTransformerHandler(); th... | public void backup(BackupIOHandler h) throws RepositoryException, IOException { SessionImpl s = (SessionImpl) repo.login(new SimpleCredentials(this.conf.getLogin(), this.conf.getPassword().toCharArray()), this.wspName); SAXTransformerFactory stf = (SAXTransformerFactory) SAXTransformer... | 49304 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49304/a9dbc7000807a0307409af65664df04ae0ae298b/WorkspaceBackup.java/buggy/contrib/backup/src/main/java/org/apache/jackrabbit/backup/WorkspaceBackup.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
5114,
12,
6248,
4294,
1503,
366,
13,
1216,
13367,
16,
5411,
1860,
288,
4202,
3877,
2828,
272,
273,
261,
2157,
2828,
13,
3538,
18,
5819,
12,
2704,
4477,
6163,
12,
2211,
18,
39... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
5114,
12,
6248,
4294,
1503,
366,
13,
1216,
13367,
16,
5411,
1860,
288,
4202,
3877,
2828,
272,
273,
261,
2157,
2828,
13,
3538,
18,
5819,
12,
2704,
4477,
6163,
12,
2211,
18,
39... |
private boolean processAdditions(ContributionManager mgr, MenuAdditionCacheEntry cache) { int insertionIndex = getInsertionIndex(mgr, cache.getUri()); if (insertionIndex == -1) return false; // can't process (yet) // Get the additions List ciList = new ArrayList(); cache.getContributionItems(ciList); // I... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/7708c9aa128d7f727df6c085dc73634c29372cac/WorkbenchMenuService.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus/WorkbenchMenuService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
1207,
986,
5029,
12,
442,
4027,
1318,
13333,
16,
9809,
30296,
27630,
1247,
13,
288,
202,
202,
474,
12626,
1016,
273,
336,
29739,
1016,
12,
13552,
16,
1247,
18,
588,
3006,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
1207,
986,
5029,
12,
442,
4027,
1318,
13333,
16,
9809,
30296,
27630,
1247,
13,
288,
202,
202,
474,
12626,
1016,
273,
336,
29739,
1016,
12,
13552,
16,
1247,
18,
588,
3006,... | ||
myMain.dispatch(msg, receiverID); | myPlatform.dispatch(msg, receiverID); | private void unicastPostMessage(ACLMessage msg, AID receiverID) { try { if(livesHere(receiverID)) { // Dispatch it through the MainContainerProxy myMain.dispatch(msg, receiverID); } else { // Dispatch it through the ACC myACC.dispatch(msg, receiverID); } } catch(NotFoundException nfe) { ... | 5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/dc83e3ac14a2d96ed15f7d33eac7fe3128b90daa/AgentContainerImpl.java/buggy/src/jade/core/AgentContainerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
640,
12544,
3349,
1079,
12,
9486,
1079,
1234,
16,
432,
734,
5971,
734,
13,
288,
565,
775,
288,
1377,
309,
12,
80,
3606,
26715,
12,
24454,
734,
3719,
288,
202,
759,
11552,
518... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
640,
12544,
3349,
1079,
12,
9486,
1079,
1234,
16,
432,
734,
5971,
734,
13,
288,
565,
775,
288,
1377,
309,
12,
80,
3606,
26715,
12,
24454,
734,
3719,
288,
202,
759,
11552,
518... |
if ( !mappedChildPlugins.containsKey( constructPluginKey( plugin ) ) ) | String pluginKey = constructPluginKey( plugin ); if ( !mappedChildPlugins.containsKey( pluginKey ) ) | private void assemblePluginManagementInheritance( Model child, Model parent ) { Build parentBuild = parent.getBuild(); Build childBuild = child.getBuild(); if ( childBuild == null ) { if ( parentBuild != null ) { child.setBuild( parentBuild ); ... | 48791 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48791/7d7c4ed4aacf5a96e4ebed45faa6773f594cf819/DefaultModelInheritanceAssembler.java/buggy/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
19540,
3773,
10998,
28255,
12,
3164,
1151,
16,
3164,
982,
262,
565,
288,
3639,
3998,
982,
3116,
273,
982,
18,
588,
3116,
5621,
3639,
3998,
1151,
3116,
273,
1151,
18,
588,
3116,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19540,
3773,
10998,
28255,
12,
3164,
1151,
16,
3164,
982,
262,
565,
288,
3639,
3998,
982,
3116,
273,
982,
18,
588,
3116,
5621,
3639,
3998,
1151,
3116,
273,
1151,
18,
588,
3116,... |
if (tcd.getVersionsSupported()[k].compareTo(version) >= 0) | if (tcd.getVersionsSupported()[k].equals(version)) | public boolean shouldBeVisibleForToolchain(String id, String version) { // if no toolchains specified then always return true if (toolchainSet.size() == 0) return true; Iterator iterator = toolchainSet.iterator(); while (iterator.hasNext()) { ToolchainData tcd = (ToolchainData) iterator.next(); // look for ... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/03c8b2fa41e90ac225314481a29cc4fd4066fdf5/MBSCustomPageData.java/buggy/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/wizards/MBSCustomPageData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1410,
1919,
6207,
1290,
6364,
5639,
12,
780,
612,
16,
514,
1177,
13,
202,
95,
202,
202,
759,
309,
1158,
5226,
23060,
1269,
1508,
3712,
327,
638,
202,
202,
430,
261,
6738... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1410,
1919,
6207,
1290,
6364,
5639,
12,
780,
612,
16,
514,
1177,
13,
202,
95,
202,
202,
759,
309,
1158,
5226,
23060,
1269,
1508,
3712,
327,
638,
202,
202,
430,
261,
6738... |
fTargetCombo.setItems(new String[] {ICoreConstants.TARGET32, ICoreConstants.TARGET31, ICoreConstants.TARGET30}); | fTargetCombo.setItems(new String[] {ICoreConstants.TARGET33, ICoreConstants.TARGET32, ICoreConstants.TARGET31, ICoreConstants.TARGET30}); | private void createFormatGroup(Composite container) { Group group = new Group(container, SWT.NONE); group.setText(PDEUIMessages.NewProjectCreationPage_target); group.setLayout(new GridLayout(2, false)); group.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); Label label = new Label(group, SWT.NONE); if (f... | 14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/5df1bd1a4b638c8bae3fca50e757496e6e85100a/NewProjectCreationPage.java/buggy/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/plugin/NewProjectCreationPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
1630,
1114,
12,
9400,
1478,
13,
288,
202,
202,
1114,
1041,
273,
394,
3756,
12,
3782,
16,
348,
8588,
18,
9826,
1769,
202,
202,
1655,
18,
542,
1528,
12,
52,
1639,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
1630,
1114,
12,
9400,
1478,
13,
288,
202,
202,
1114,
1041,
273,
394,
3756,
12,
3782,
16,
348,
8588,
18,
9826,
1769,
202,
202,
1655,
18,
542,
1528,
12,
52,
1639,
5... |
stmt.execute("CREATE TABLE #psso2 (data MONEY)"); | stmt.execute("CREATE TABLE ##psso2 (data MONEY)"); | public void testPreparedStatementSetObject2() throws Exception { BigDecimal data = new BigDecimal(3.7D); Statement stmt = con.createStatement(); stmt.execute("CREATE TABLE #psso2 (data MONEY)"); stmt.close(); PreparedStatement pstmt = con.prepareStatement("INSERT INTO #psso2 (data... | 5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/3536f07067bcf3c572aa820c500e64c50499f6c5/PreparedStatementTest.java/buggy/src/test/net/sourceforge/jtds/test/PreparedStatementTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
29325,
694,
921,
22,
1435,
1216,
1185,
288,
3639,
8150,
501,
273,
394,
8150,
12,
23,
18,
27,
40,
1769,
3639,
8056,
3480,
273,
356,
18,
2640,
3406,
5621,
3639,
3480,
18,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
29325,
694,
921,
22,
1435,
1216,
1185,
288,
3639,
8150,
501,
273,
394,
8150,
12,
23,
18,
27,
40,
1769,
3639,
8056,
3480,
273,
356,
18,
2640,
3406,
5621,
3639,
3480,
18,... |
if (getMylarCorePrefs().getBoolean(TaskListPreferenceConstants.REPOSITORY_SYNCH_ON_STARTUP)) { for (AbstractRepositoryConnector repositoryClient : taskRepositoryManager.getRepositoryConnectors()) { repositoryClient.synchronize(); } } | public void earlyStartup() { final IWorkbench workbench = PlatformUI.getWorkbench(); workbench.getDisplay().asyncExec(new Runnable() { public void run() { try { TaskListExtensionReader.initExtensions(taskListWriter); taskRepositoryManager.readRepositories(); taskListManager.addActivityListener(CONTE... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/950346562e2c2bb9c9094b7863845ec7be90d7fe/MylarTaskListPlugin.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/provisional/tasklist/MylarTaskListPlugin.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
11646,
22178,
1435,
288,
202,
202,
6385,
467,
2421,
22144,
1440,
22144,
273,
11810,
5370,
18,
588,
2421,
22144,
5621,
202,
202,
1252,
22144,
18,
588,
4236,
7675,
3810,
1905,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11646,
22178,
1435,
288,
202,
202,
6385,
467,
2421,
22144,
1440,
22144,
273,
11810,
5370,
18,
588,
2421,
22144,
5621,
202,
202,
1252,
22144,
18,
588,
4236,
7675,
3810,
1905,
... | |
frame = new InterpreterFrame(scope, theData, fnOrScript); cx.pushFrame(frame); | frame = cx.debugger.enterFrame(cx, scope, thisObj, args, (DebuggableScript)fnOrScript); | public static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, NativeFunction fnOrScript, InterpreterData theData) throws JavaScriptException { if (cx.interpreterSe... | 51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/b3d321243cfc38d2b36851c259974f1b9bb1efd9/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
282,
22780,
15261,
16,
1033,
8526,
833,
16,
4766,
282,
16717,
2083,
2295,
1162,
3651,
16,
4766,
282,
5294,
11599,
751,
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,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
282,
22780,
15261,
16,
1033,
8526,
833,
16,
4766,
282,
16717,
2083,
2295,
1162,
3651,
16,
4766,
282,
5294,
11599,
751,
3... |
_t = __t650; | _t = __t655; | public final void destructorstate(AST _t) throws RecognitionException { AST destructorstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST d = null; AST __t650 = _t; d = _t==ASTNULL ? null :(AST)_t; match(_t,DESTRUCTOR); _t = _t.getFirstChild(); if ( inputState.guessing==0 ) { action.scopeAdd(d); } AST ... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/f492fd11e745beb562b4e209643ba003aa8a6271/TreeParser01.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
23819,
280,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
23819,
280,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
23819,
280,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
23819,
280,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
29... |
} | } | public void update() { //TODO Check requirement for persisting. } | 47044 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47044/40604da2488c0e0e9de3a307e5a05bd456b9a02a/ProcessDaoImpl.java/clean/bpel-runtime/src/main/java/org/apache/ode/bpel/memdao/ProcessDaoImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1089,
1435,
288,
565,
368,
6241,
2073,
12405,
364,
3898,
310,
18,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1089,
1435,
288,
565,
368,
6241,
2073,
12405,
364,
3898,
310,
18,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
current = endRoot.getPreviousSibling(); | DocumentFragment traverseContents(int traversalType) throws DOMException { if (fStartContainer == null || fEndContainer == null) { return null; // REVIST: Throw exception? } DocumentFragment frag = fDocument.createDocumentFragment(); Node curr... | 1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/1b8addb84b37bd7eebc114246cd6e0a8dc9f156d/RangeImpl.java/buggy/src/org/apache/xerces/dom/RangeImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4319,
7456,
10080,
6323,
12,
474,
15940,
559,
13,
3639,
1216,
4703,
503,
565,
288,
3639,
309,
261,
74,
1685,
2170,
422,
446,
747,
284,
1638,
2170,
422,
446,
13,
288,
5411,
327,
446,
31,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4319,
7456,
10080,
6323,
12,
474,
15940,
559,
13,
3639,
1216,
4703,
503,
565,
288,
3639,
309,
261,
74,
1685,
2170,
422,
446,
747,
284,
1638,
2170,
422,
446,
13,
288,
5411,
327,
446,
31,... | |
{ throw new GroupsException("Problem finding containing groups: " + ce.getMessage()); } | { throw new GroupsException("Problem finding containing groups", ce); } | public Iterator findContainingGroups(IGroupMember gm) throws GroupsException{ Collection groups = new ArrayList(10); IEntityGroup group = null; for ( Iterator it = getGroupStore().findContainingGroups(gm); it.hasNext(); ) { group = (IEntityGroup) it.next(); group.setLocalGroupService(this); ... | 24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/948a50c00c52659556ab3183d5ea2e316077d789/ReferenceIndividualGroupService.java/buggy/source/org/jasig/portal/groups/ReferenceIndividualGroupService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
4498,
1104,
24344,
3621,
12,
45,
1114,
4419,
14125,
13,
1216,
14712,
503,
95,
565,
2200,
3252,
273,
394,
2407,
12,
2163,
1769,
565,
29202,
1114,
1041,
273,
446,
31,
565,
364,
261,
4498,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4498,
1104,
24344,
3621,
12,
45,
1114,
4419,
14125,
13,
1216,
14712,
503,
95,
565,
2200,
3252,
273,
394,
2407,
12,
2163,
1769,
565,
29202,
1114,
1041,
273,
446,
31,
565,
364,
261,
4498,
... |
protected void sizeChanged(int w,int h) { System.err.println("size changed, w="+w+", h="+h); System.err.println("size changed, w="+super.getWidth()+", h="+super.getHeight()); System.err.println("resizing GraphicsCmd..."); // go calculate. remind: some nokia devices have a bug that cause // wrong values to be passed... | 47447 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47447/b0e3e0c78cf6f8d791b4077ff6c75bc6ebbef1e8/HeclCanvas.java/clean/trunk/hecl/midp20/org/hecl/midp20/lcdui/HeclCanvas.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
6459,
1467,
5033,
12,
474,
91,
16,
267,
451,
15329,
202,
3163,
18,
370,
18,
8222,
2932,
1467,
6703,
16,
91,
1546,
15,
91,
15,
3113,
76,
1546,
15,
76,
1769,
202,
3163,
18,
370,
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,
4750,
6459,
1467,
5033,
12,
474,
91,
16,
267,
451,
15329,
202,
3163,
18,
370,
18,
8222,
2932,
1467,
6703,
16,
91,
1546,
15,
91,
15,
3113,
76,
1546,
15,
76,
1769,
202,
3163,
18,
370,
18,
... | ||
Vector fromEdges = new Vector( n.getFromEdges()); | Vector fromEdges = new Vector(n.getFromEdges()); | protected boolean optimizeNodeBackward(Node n) { Vector fromEdges = new Vector( n.getFromEdges()); for (int j = 0; j < fromEdges.size(); j++) { Edge e = (Edge) fromEdges.elementAt(j); for (int k = j + 1; k < n.getFromEdges().size(); k++) { Edge e2 = (Edge) fromEdge... | 47105 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47105/8d147af0bf72c96a0a6e8a3bd99e0057deb9183d/LatticeOptimizer.java/buggy/sphinx4/edu/cmu/sphinx/result/LatticeOptimizer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1250,
10979,
907,
26283,
12,
907,
290,
13,
288,
3639,
5589,
628,
10697,
273,
394,
5589,
12,
82,
18,
588,
1265,
10697,
10663,
3639,
364,
261,
474,
525,
273,
374,
31,
525,
411,
628,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
10979,
907,
26283,
12,
907,
290,
13,
288,
3639,
5589,
628,
10697,
273,
394,
5589,
12,
82,
18,
588,
1265,
10697,
10663,
3639,
364,
261,
474,
525,
273,
374,
31,
525,
411,
628,... |
if (obj instanceof NativeString) return (double)((NativeString)obj).jsGet_length(); if (obj instanceof NativeArray) return (double)((NativeArray)obj).jsGet_length(); | if (obj instanceof NativeString) { return ((NativeString)obj).jsGet_length(); } else if (obj instanceof NativeArray) { return ((NativeArray)obj).jsGet_length(); } else if (!(obj instanceof Scriptable)) { return 0; } | static double getLengthProperty(Scriptable obj) { // These will both give numeric lengths within Uint32 range. if (obj instanceof NativeString) return (double)((NativeString)obj).jsGet_length(); if (obj instanceof NativeArray) return (double)((NativeArray)obj).jsGet_length... | 11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/5f6a565762eea9efee2aee1297e0f938ac7edf63/NativeArray.java/buggy/js/rhino/src/org/mozilla/javascript/NativeArray.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1645,
9888,
1396,
12,
3651,
429,
1081,
13,
288,
3639,
368,
8646,
903,
3937,
8492,
6389,
10917,
3470,
7320,
1578,
1048,
18,
3639,
309,
261,
2603,
1276,
16717,
780,
13,
5411,
327,
261,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1645,
9888,
1396,
12,
3651,
429,
1081,
13,
288,
3639,
368,
8646,
903,
3937,
8492,
6389,
10917,
3470,
7320,
1578,
1048,
18,
3639,
309,
261,
2603,
1276,
16717,
780,
13,
5411,
327,
261,... |
} else if(cmd.equals("Paste")) { | } else if (cmd.equals("Paste")) { | public void actionPerformed(ActionEvent e) { String cmd = e.getActionCommand(); if(cmd.equals("Cut")) { // textArea.cut(); } else if(cmd.equals("Copy")) { textArea.copy(); } else if(cmd.equals("Paste")) { // textArea.paste(); } } | 19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/bebd557da53b74c60ab8525aa96904d4cee6224c/Main.java/buggy/toolsrc/org/mozilla/javascript/tools/debugger/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
3639,
514,
1797,
273,
425,
18,
588,
1803,
2189,
5621,
3639,
309,
12,
4172,
18,
14963,
2932,
15812,
6,
3719,
288,
5411,
368,
977,
5484,
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,
26100,
12,
1803,
1133,
425,
13,
288,
3639,
514,
1797,
273,
425,
18,
588,
1803,
2189,
5621,
3639,
309,
12,
4172,
18,
14963,
2932,
15812,
6,
3719,
288,
5411,
368,
977,
5484,
18... |
returnList.add(new KnuthGlue(0, 0, 0, | seq.add(new KnuthGlue(0, 0, 0, | public LinkedList getNextKnuthElements(LayoutContext context, int alignment) { MinOptMax ipd; curArea = get(context); LinkedList returnList = new LinkedList(); if (curArea == null) { setFinished(true); return null; } ... | 5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/b17185078597089c27f937e0a540a594589c30ec/CharacterLayoutManager.java/clean/src/java/org/apache/fop/layoutmgr/inline/CharacterLayoutManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
10688,
6927,
47,
82,
795,
3471,
12,
3744,
1042,
819,
16,
4766,
6647,
509,
8710,
13,
288,
3639,
5444,
6179,
2747,
2359,
72,
31,
3639,
662,
5484,
273,
336,
12,
2472,
1769,
3639,
106... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10688,
6927,
47,
82,
795,
3471,
12,
3744,
1042,
819,
16,
4766,
6647,
509,
8710,
13,
288,
3639,
5444,
6179,
2747,
2359,
72,
31,
3639,
662,
5484,
273,
336,
12,
2472,
1769,
3639,
106... |
for (Object o : userPrefs.getPrefs().getDescDict()) { if (o instanceof DictEntry) { DictEntry entry = (DictEntry) o; descDict.add(entry.getEntry()); defaultsMap.put(entry.getEntry(), entry.getData()); } } for (Object o : userPrefs.getPrefs().getListEntries()) { if (o instanceof ListEntry){ ListEntry l = (ListEntr... | private PrefsInstance(){ descDict = new DefaultDictionary(); defaultsMap = new HashMap<String, DictData>(); listAttributesMap = new HashMap<String, ListAttributes>(); if (location == null){ if (Buddi.isMac()){ location = System.getProperty("user.home") + File.separator + "Library" + File.sepa... | 58048 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58048/eaf521fa0519a5c48fb66d782774848f3a00dcbb/PrefsInstance.java/clean/src/org/homeunix/drummer/prefs/PrefsInstance.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
453,
9316,
1442,
1435,
95,
202,
202,
5569,
5014,
273,
394,
2989,
10905,
5621,
202,
202,
7606,
863,
273,
394,
4317,
32,
780,
16,
9696,
751,
34,
5621,
202,
202,
1098,
2498,
863... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
453,
9316,
1442,
1435,
95,
202,
202,
5569,
5014,
273,
394,
2989,
10905,
5621,
202,
202,
7606,
863,
273,
394,
4317,
32,
780,
16,
9696,
751,
34,
5621,
202,
202,
1098,
2498,
863... | |
if (mFindWindow == null) { mFindWindow = new FindWindow(FindAsYouType.this); } mFindWindow.reset(); mFindWindow.setText(""+e.getKeyChar()); mFindWindow.setVisible(true); | showFindWindow(""+e.getKeyChar()); | public void keyTyped(KeyEvent e) { if ((e.getKeyChar() != KeyEvent.CHAR_UNDEFINED) && ((int)e.getKeyChar() > 27)){ if (mFindWindow == null) { mFindWindow = new FindWindow(FindAsYouType.this); } mFindWindow.reset(); mFindWindow.setText(""+e.getKeyChar()); ... | 9266 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9266/3e58fdd1555b0dfd06a3a146463a0643e57dcbe2/FindAsYouType.java/buggy/tvbrowser/src/util/ui/findasyoutype/FindAsYouType.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
498,
11985,
12,
653,
1133,
425,
13,
288,
3639,
309,
14015,
73,
18,
588,
653,
2156,
1435,
480,
23737,
18,
7305,
67,
2124,
15544,
13,
597,
14015,
474,
13,
73,
18,
588,
653,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
498,
11985,
12,
653,
1133,
425,
13,
288,
3639,
309,
14015,
73,
18,
588,
653,
2156,
1435,
480,
23737,
18,
7305,
67,
2124,
15544,
13,
597,
14015,
474,
13,
73,
18,
588,
653,
... |
if (element instanceof PsiLanguageInjectionHost) { PsiLanguageInjectionHost injectionHost = (PsiLanguageInjectionHost)element; final Language injectedLanguage = element.getManager().getInjectedLanguage(injectionHost); if (injectedLanguage != null) { Pair<PsiElement,TextRange> injectedInfo = injectionHost.getInjectedPsi... | if (!(element instanceof PsiLanguageInjectionHost)) { return false; } PsiLanguageInjectionHost injectionHost = (PsiLanguageInjectionHost)element; List<Pair<PsiElement, TextRange>> injected = injectionHost.getInjectedPsi(); if (injected == null) return false; for (Pair<PsiElement, TextRange> pair : injected) { PsiElemen... | private boolean highlightInjectedPsi(final PsiElement element) { if (element instanceof PsiLanguageInjectionHost) { PsiLanguageInjectionHost injectionHost = (PsiLanguageInjectionHost)element; final Language injectedLanguage = element.getManager().getInjectedLanguage(injectionHost); if (injectedLangu... | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/f0f4a2bd46dc054a5d61fb1b3de76307a7026935/HighlightVisitorImpl.java/clean/codeInsight/impl/com/intellij/codeInsight/daemon/impl/analysis/HighlightVisitorImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
1250,
8839,
382,
6059,
52,
7722,
12,
6385,
453,
7722,
1046,
930,
13,
288,
565,
309,
261,
2956,
1276,
453,
7722,
3779,
12039,
2594,
13,
288,
1377,
453,
7722,
3779,
12039,
2594,
10380... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
1250,
8839,
382,
6059,
52,
7722,
12,
6385,
453,
7722,
1046,
930,
13,
288,
565,
309,
261,
2956,
1276,
453,
7722,
3779,
12039,
2594,
13,
288,
1377,
453,
7722,
3779,
12039,
2594,
10380... |
if (shell != null) | if (shell != null) { | Shell getShell(IAdaptable uiInfo) { if (uiInfo != null) { Shell shell = (Shell) uiInfo.getAdapter(Shell.class); if (shell != null) return shell; } return null; } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/AdvancedValidationUserApprover.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/operations/AdvancedValidationUserApprover.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
13220,
7932,
1165,
12,
45,
13716,
429,
5915,
966,
13,
288,
202,
202,
430,
261,
4881,
966,
480,
446,
13,
288,
1082,
202,
13220,
5972,
273,
261,
13220,
13,
5915,
966,
18,
588,
4216,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13220,
7932,
1165,
12,
45,
13716,
429,
5915,
966,
13,
288,
202,
202,
430,
261,
4881,
966,
480,
446,
13,
288,
1082,
202,
13220,
5972,
273,
261,
13220,
13,
5915,
966,
18,
588,
4216,
... |
pixelType[i] = FormatReader.INT16; | pixelType[i] = FormatReader.UINT16; | protected void initMetadata() { if (headerIFDs == null) headerIFDs = ifds; for (int i=0; i<headerIFDs.length; i++) { byte[] temp = (byte[]) headerIFDs[i].get(new Integer(10)); if (temp != null) { // the series data // ID_SERIES metadata.put("Version", new Integer(DataTool... | 55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/db080dd0a46728b8a134dea3f2915320b0ce0482/LeicaReader.java/clean/loci/formats/in/LeicaReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
2277,
1435,
288,
565,
309,
261,
3374,
5501,
22831,
422,
446,
13,
1446,
5501,
22831,
273,
309,
2377,
31,
565,
364,
261,
474,
277,
33,
20,
31,
277,
32,
3374,
5501,
22831,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
2277,
1435,
288,
565,
309,
261,
3374,
5501,
22831,
422,
446,
13,
1446,
5501,
22831,
273,
309,
2377,
31,
565,
364,
261,
474,
277,
33,
20,
31,
277,
32,
3374,
5501,
22831,... |
if (!display.readAndDispatch()) display.sleep(); | if (!currentDisplay.readAndDispatch()) currentDisplay.sleep(); | public void run() { try { dialog.setOpenOnRun(false); dialog.run(true /* fork */ , true /* cancelable */ , runnable); //Run the event loop until the progress job wakes up Display display = Display.getCurrent(); while (busy[0]) { if (!display.readAndDispatch()) display.sleep(... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/2e7dc730649441690c6caeb4caed8895e396307d/ProgressManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1086,
1435,
288,
9506,
202,
698,
288,
6862,
202,
12730,
18,
542,
3678,
1398,
1997,
12,
5743,
1769,
6862,
202,
12730,
18,
2681,
12,
3767,
1748,
12515,
1195,
6862,
202,
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,
1875,
202,
482,
918,
1086,
1435,
288,
9506,
202,
698,
288,
6862,
202,
12730,
18,
542,
3678,
1398,
1997,
12,
5743,
1769,
6862,
202,
12730,
18,
2681,
12,
3767,
1748,
12515,
1195,
6862,
202,
16,
... |
if (totalMarkers == -1) { | if (markerCountDirty) { | public void run(IProgressMonitor innerMonitor) throws CoreException { if (innerMonitor.isCanceled()) return; innerMonitor.subTask(SEARCHING_FOR_MARKERS); currentMarkers = MarkerList.compute(getFilter(), innerMonitor, true); if (innerMonitor.isCanceled()) return; if (totalMarkers == ... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/386f57cbd90f7f13615d6b25487d4c4b6505ac0d/MarkerView.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4697,
202,
482,
918,
1086,
12,
45,
5491,
7187,
3443,
7187,
13,
1216,
30015,
288,
6862,
202,
430,
261,
7872,
7187,
18,
291,
23163,
10756,
327,
31,
6862,
202,
7872,
7187,
18,
1717,
2174,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4697,
202,
482,
918,
1086,
12,
45,
5491,
7187,
3443,
7187,
13,
1216,
30015,
288,
6862,
202,
430,
261,
7872,
7187,
18,
291,
23163,
10756,
327,
31,
6862,
202,
7872,
7187,
18,
1717,
2174,
12,
1... |
return new Period(this, PeriodType.getAllType()); | return new Period(getMillis()); | public final Period toPeriod() { return new Period(this, PeriodType.getAllType()); } | 52859 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52859/3f62b3a3ef59f954a14f09aeee97053618da1c74/AbstractDuration.java/buggy/JodaTime/src/java/org/joda/time/AbstractDuration.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
12698,
358,
5027,
1435,
288,
3639,
327,
394,
12698,
12,
588,
4814,
10663,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
12698,
358,
5027,
1435,
288,
3639,
327,
394,
12698,
12,
588,
4814,
10663,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
public static IEditorInput getEditorInput(Object input) throws CModelException { if (input instanceof ICElement) { return getEditorInput((ICElement) input); | private static IEditorInput getEditorInput(ICElement element) throws CModelException { while (element != null) { if (element instanceof IWorkingCopy && ((IWorkingCopy) element).isWorkingCopy()) element= ((IWorkingCopy) element).getOriginalElement(); if (element instanceof ISourceReference) { ITranslationUnit tu = ((IS... | public static IEditorInput getEditorInput(Object input) throws CModelException { if (input instanceof ICElement) { return getEditorInput((ICElement) input); } if (input instanceof IFile) { return new FileEditorInput((IFile) input); } if (input instanceof IStorage) { return new Exte... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/0c2b43cb022cb3280137996e6ee1ab5e4a94a82f/EditorUtility.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/util/EditorUtility.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
467,
6946,
1210,
336,
6946,
1210,
12,
921,
810,
13,
1216,
385,
1488,
503,
288,
202,
202,
430,
261,
2630,
1276,
26899,
1046,
13,
288,
1082,
202,
2463,
336,
6946,
1210,
124... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
467,
6946,
1210,
336,
6946,
1210,
12,
921,
810,
13,
1216,
385,
1488,
503,
288,
202,
202,
430,
261,
2630,
1276,
26899,
1046,
13,
288,
1082,
202,
2463,
336,
6946,
1210,
124... |
if (jj_3R_25()) { jj_scanpos = xsp; break; } | if (jj_3R_26()) { jj_scanpos = xsp; break; } | final private boolean jj_3R_21() { Token xsp; if (jj_3R_25()) return true; while (true) { xsp = jj_scanpos; if (jj_3R_25()) { jj_scanpos = xsp; break; } } if (jj_3R_11()) return true; return false; } | 1316 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1316/0faf643f0efa6f2ad848fed686443d8e4c4ad978/NutchAnalysis.java/buggy/src/java/org/apache/nutch/analysis/NutchAnalysis.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
5340,
1435,
288,
565,
3155,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
2947,
10756,
327,
638,
31,
565,
1323,
261,
3767,
13,
288,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
5340,
1435,
288,
565,
3155,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
2947,
10756,
327,
638,
31,
565,
1323,
261,
3767,
13,
288,
1... |
public org.quickfix.field.CPRegType getCPRegType() throws FieldNotFound { org.quickfix.field.CPRegType value = new org.quickfix.field.CPRegType(); | public quickfix.field.CPRegType getCPRegType() throws FieldNotFound { quickfix.field.CPRegType value = new quickfix.field.CPRegType(); | public org.quickfix.field.CPRegType getCPRegType() throws FieldNotFound { org.quickfix.field.CPRegType value = new org.quickfix.field.CPRegType(); getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/CollateralAssignment.java/buggy/src/java/src/quickfix/fix44/CollateralAssignment.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
4258,
1617,
559,
1927,
52,
1617,
559,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
4258,
1617,
559,
460,
273,
394,
235... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
4258,
1617,
559,
1927,
52,
1617,
559,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
4258,
1617,
559,
460,
273,
394,
235... |
public BackEnd getBackEnd(FrontEnd fe, Properties props) throws IMTPException { try { beAddrsText = props.getProperty(FrontEnd.REMOTE_BACK_END_ADDRESSES); backEndAddresses = parseBackEndAddresses(beAddrsText); /* try { verbosity = Integer.parseInt(props.getProperty("jade_imtp_leap_JICP_EndPoint_verbosity")); } catc... | public BackEnd getBackEnd(FrontEnd fe, Properties props) throws IMTPException { myProperties = props; try { String tmp = props.getProperty(FrontEnd.REMOTE_BACK_END_ADDRESSES); backEndAddresses = parseBackEndAddresses(tmp); String host = props.getProperty(MicroRuntime.HOST_KEY); if (host == null) { host = "localhost"... | public BackEnd getBackEnd(FrontEnd fe, Properties props) throws IMTPException { try { beAddrsText = props.getProperty(FrontEnd.REMOTE_BACK_END_ADDRESSES); backEndAddresses = parseBackEndAddresses(beAddrsText); // Verbosity /* // Not available with new Logger try { verbosity ... | 5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/74e6444ff2d261ae8ff8da1b22c3eae765013ee5/FrontEndDispatcher.java/buggy/leap/src/jade/imtp/leap/JICP/FrontEndDispatcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
4297,
1638,
336,
2711,
1638,
12,
9580,
1638,
1656,
16,
6183,
3458,
13,
1216,
467,
14636,
503,
288,
21114,
282,
202,
698,
288,
202,
565,
506,
13811,
1528,
273,
3458,
18,
588,
1396,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4297,
1638,
336,
2711,
1638,
12,
9580,
1638,
1656,
16,
6183,
3458,
13,
1216,
467,
14636,
503,
288,
21114,
282,
202,
698,
288,
202,
565,
506,
13811,
1528,
273,
3458,
18,
588,
1396,
... |
else return m_distribution.prob(classIndex); | } else { double [] weights = weights(instance); if (weights == null) { return m_distribution.prob(classIndex); } else { double prob = 0; for (int i = 0; i < weights.length; i++) { prob += weights[i] * m_distribution.prob(classIndex, i); } return prob; } } | public double classProb(int classIndex,Instance instance) throws Exception { int theSubset = whichSubset(instance); if (theSubset > -1) return m_distribution.prob(classIndex,theSubset); else return m_distribution.prob(classIndex); } | 6866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6866/25f188ee94496b1d3089b2a5df93b388f20b2de4/ClassifierSplitModel.java/buggy/classifiers/j48/ClassifierSplitModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1645,
667,
9152,
12,
474,
667,
1016,
16,
1442,
791,
13,
3639,
1216,
1185,
288,
3639,
509,
326,
20315,
273,
1492,
20315,
12,
1336,
1769,
565,
309,
261,
5787,
20315,
405,
300,
21,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1645,
667,
9152,
12,
474,
667,
1016,
16,
1442,
791,
13,
3639,
1216,
1185,
288,
3639,
509,
326,
20315,
273,
1492,
20315,
12,
1336,
1769,
565,
309,
261,
5787,
20315,
405,
300,
21,
1... |
assertEqual(result, expecting); | assertEquals(result, expecting); | public void testDefaultArgsWhenNotInvoked() throws Exception { String templates = "group test;" +newline+ "b(name=\"foo\") ::= \".<name>.\""+newline ; StringTemplateGroup group = new StringTemplateGroup(new StringReader(templates)); StringTemplate b = group.getInstanceOf("b"); String expecting = ".foo.... | 51898 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51898/0c15a856afe727f6355e53ebf153d3bf274ab655/TestStringTemplate.java/buggy/java/main/src/org/antlr/stringtemplate/test/TestStringTemplate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
1868,
2615,
9434,
1248,
26215,
1435,
1216,
1185,
288,
202,
202,
780,
5539,
273,
9506,
202,
6,
1655,
1842,
4868,
397,
22861,
15,
9506,
202,
6,
70,
12,
529,
5189,
113... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1868,
2615,
9434,
1248,
26215,
1435,
1216,
1185,
288,
202,
202,
780,
5539,
273,
9506,
202,
6,
1655,
1842,
4868,
397,
22861,
15,
9506,
202,
6,
70,
12,
529,
5189,
113... |
MessageFilter mf2 = MessageFilter.create().setField(DMT.UID, uid).setType(DMT.FNPRoutedRejected).setTimeout(5000); m = usm.waitFor(mf1.or(mf2)); | m = usm.waitFor(mf1/*.or(mf2)*/); | public int routedPing(double loc2) { long uid = random.nextLong(); int initialX = random.nextInt(); NodePeer pn = peers.closestPeer(loc2); if(pn == null) { Logger.error(this, "Nowhere to send routed ping on "+this); return -1; } Logger.normal(this, "Pi... | 46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/67ffc74c653c146c3327643dba419ef696af844a/Node.java/clean/src/freenet/node/Node.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
3237,
329,
17223,
12,
9056,
1515,
22,
13,
288,
3639,
1525,
4555,
273,
2744,
18,
4285,
3708,
5621,
3639,
509,
2172,
60,
273,
2744,
18,
4285,
1702,
5621,
3639,
2029,
6813,
11059,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
3237,
329,
17223,
12,
9056,
1515,
22,
13,
288,
3639,
1525,
4555,
273,
2744,
18,
4285,
3708,
5621,
3639,
509,
2172,
60,
273,
2744,
18,
4285,
1702,
5621,
3639,
2029,
6813,
11059,... |
addForwardGoto(Token.GOTO); | addGotoOp(Token.GOTO); | private void visitExpression(Node node, int contextFlags) { int type = node.getType(); Node child = node.getFirstChild(); int savedStackDepth = itsStackDepth; switch (type) { case Token.FUNCTION: { int fnIndex = node.getExistingIntProp(Node.FUNCTION_... | 19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/bc63a23d7b4a1d6e277c093eb62057be0106b31e/Interpreter.java/buggy/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3757,
2300,
12,
907,
756,
16,
509,
819,
5094,
13,
565,
288,
3639,
509,
618,
273,
756,
18,
588,
559,
5621,
3639,
2029,
1151,
273,
756,
18,
588,
3759,
1763,
5621,
3639,
509,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3757,
2300,
12,
907,
756,
16,
509,
819,
5094,
13,
565,
288,
3639,
509,
618,
273,
756,
18,
588,
559,
5621,
3639,
2029,
1151,
273,
756,
18,
588,
3759,
1763,
5621,
3639,
509,
... |
if(group.getId().equals(groupId)) | String gid = group.getId(); String gref = group.getReference(); if(gid.equals(groupId) || gref.equals(groupId)) | public void addInheritedGroup(String groupId) { if(m_inheritedGroups == null) { m_inheritedGroups = new Vector(); } if(m_container == null) { if(m_id == null) { m_container = ContentHostingService.getSiteCollection(ToolManager.getCurrentPlacement().getContext()); } else { m_contai... | 2021 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2021/090303794a50966061b6209d3d287c5d22f71e83/ResourcesAction.java/clean/content/content-tool/tool/src/java/org/sakaiproject/content/tool/ResourcesAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
527,
29078,
1114,
12,
780,
6612,
13,
202,
202,
95,
1082,
202,
430,
12,
81,
67,
6018,
329,
3621,
422,
446,
13,
1082,
202,
95,
9506,
202,
81,
67,
6018,
329,
3621,
273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
527,
29078,
1114,
12,
780,
6612,
13,
202,
202,
95,
1082,
202,
430,
12,
81,
67,
6018,
329,
3621,
422,
446,
13,
1082,
202,
95,
9506,
202,
81,
67,
6018,
329,
3621,
273,
... |
public ConnectionTable(Receiver r, InetAddress bind_addr, int srv_port, long reaper_interval, long conn_expire_time) throws Exception { setReceiver(r); this.bind_addr=bind_addr; | public ConnectionTable(int srv_port) throws Exception { | public ConnectionTable(Receiver r, InetAddress bind_addr, int srv_port, long reaper_interval, long conn_expire_time) throws Exception { setReceiver(r); this.bind_addr=bind_addr; this.srv_port=srv_port; this.reaper_interval=reaper_interval; this.conn_expir... | 48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/3239d54501a61a05eb6b45df50b0144eb7970a31/ConnectionTable.java/buggy/src/org/jgroups/blocks/ConnectionTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4050,
1388,
12,
12952,
436,
16,
14218,
1993,
67,
4793,
16,
509,
7302,
67,
655,
16,
21821,
1525,
283,
7294,
67,
6624,
16,
1525,
1487,
67,
14070,
67,
957,
13,
1216,
1185,
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,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4050,
1388,
12,
12952,
436,
16,
14218,
1993,
67,
4793,
16,
509,
7302,
67,
655,
16,
21821,
1525,
283,
7294,
67,
6624,
16,
1525,
1487,
67,
14070,
67,
957,
13,
1216,
1185,
288,
3639,... |
public byte [] generate(int value) { byte []b=new byte[sysex.length()/2]; for (int i=0;i<sysex.length();i+=2) { if (sysex.charAt(i)=='*') b[i/2]=(byte)value; else if (sysex.charAt(i)=='@') b[i/2]=(byte) (channel-1); else if (sysex.charAt(i)=='#') b[i/2]=(byte) (channel-1+16); else { | public byte[] generate(int value) { byte[] b = new byte[sysex.length() / 2]; for (int i = 0; i < sysex.length(); i += 2) { if (sysex.charAt(i) == '*') b[i / 2] = (byte) value; else if (sysex.charAt(i) == '@') b[i / 2] = (byte) (channel - 1); else if (sysex.charAt(i) == '#') b[i / 2] = (byte) (channel - 1 + 16); else { | public byte [] generate(int value) { byte []b=new byte[sysex.length()/2]; for (int i=0;i<sysex.length();i+=2) { if (sysex.charAt(i)=='*') b[i/2]=(byte)value; else if (sysex.charAt(i)=='@') b[i/2]=(byte) (channel-1); else if (sysex.charAt(i)=='#') b[i/2]=(byte) (channel-1+16); else ... | 7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/e7311a9aa2ac478953975abaa1c0c14e8201c062/SysexSender.java/clean/JSynthLib/core/SysexSender.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1160,
5378,
2103,
12,
474,
460,
13,
282,
288,
565,
1160,
5378,
70,
33,
2704,
1160,
63,
9009,
20909,
18,
2469,
1435,
19,
22,
15533,
565,
364,
261,
474,
277,
33,
20,
31,
77,
32,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1160,
5378,
2103,
12,
474,
460,
13,
282,
288,
565,
1160,
5378,
70,
33,
2704,
1160,
63,
9009,
20909,
18,
2469,
1435,
19,
22,
15533,
565,
364,
261,
474,
277,
33,
20,
31,
77,
32,
... |
public static void sprocUpdateParentsDateModified( IMCServiceInterface imcref, int meta_id ) { imcref.sqlUpdateProcedure( SPROC_UPDATE_PARENTS_DATE_MODIFIED, new String[]{"" + meta_id} ); | public static void sprocUpdateParentsDateModified(IMCServiceInterface imcref, int meta_id) { imcref.sqlUpdateProcedure(SPROC_UPDATE_PARENTS_DATE_MODIFIED, new String[]{"" + meta_id}); | public static void sprocUpdateParentsDateModified( IMCServiceInterface imcref, int meta_id ) { imcref.sqlUpdateProcedure( SPROC_UPDATE_PARENTS_DATE_MODIFIED, new String[]{"" + meta_id} ); } | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/25d7c7c866e4b2d2d9e20e2d71648b696a1c81f6/DocumentMapper.java/buggy/server/src/imcode/server/document/DocumentMapper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
272,
9381,
1891,
13733,
1626,
4575,
12,
6246,
39,
18348,
709,
71,
1734,
16,
509,
2191,
67,
350,
262,
288,
3639,
709,
71,
1734,
18,
4669,
1891,
17213,
12,
348,
3373,
39,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
272,
9381,
1891,
13733,
1626,
4575,
12,
6246,
39,
18348,
709,
71,
1734,
16,
509,
2191,
67,
350,
262,
288,
3639,
709,
71,
1734,
18,
4669,
1891,
17213,
12,
348,
3373,
39,
... |
Graphics g = getGraphics(); | Graphics g = PlotPanel.this.getGraphics(); | public void mouseReleased(MouseEvent e) { //System.out.println("rel"); if (m_createShape) { if (((Double)m_shapePoints.elementAt(0)).intValue() == 1) { m_createShape = false; Graphics g = getGraphics(); g.setColor(Color.black); g.setXORMode(Color.white); g.drawRect(((Double)m_shapePoints.elementAt... | 6866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6866/dab572c119692e2deb0fa2d817b347c7cfe42ded/VisualizePanel.java/buggy/gui/explorer/VisualizePanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
225,
1071,
918,
7644,
26363,
12,
9186,
1133,
425,
13,
288,
202,
565,
368,
3163,
18,
659,
18,
8222,
2932,
2878,
8863,
202,
565,
309,
261,
81,
67,
2640,
8500,
13,
288,
202,
1377,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
225,
1071,
918,
7644,
26363,
12,
9186,
1133,
425,
13,
288,
202,
565,
368,
3163,
18,
659,
18,
8222,
2932,
2878,
8863,
202,
565,
309,
261,
81,
67,
2640,
8500,
13,
288,
202,
1377,
309,
... |
columns.remove(column); } | columns.remove(column); } | public void removeColumn(Column column) { columns.remove(column); } | 52001 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52001/06b0a7e65b5f3b82a40d6dc1888c656f99a4429b/SelectQuery.java/clean/src/java/com/idega/data/query/SelectQuery.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1206,
1494,
12,
1494,
1057,
13,
288,
3639,
2168,
18,
4479,
12,
2827,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1206,
1494,
12,
1494,
1057,
13,
288,
3639,
2168,
18,
4479,
12,
2827,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
if (dst instanceof Object[]) { | if (src == dst) { Object tmp = Array.newInstance(dst_component, length); System.arraycopy(src, src_position, tmp, 0, length); System.arraycopy(tmp, 0, dst, dst_position, length); } else if (dst instanceof Object[]) { | public static void arraycopy(Object src, int src_position, Object dst, int dst_position, int length) { if (length < 0) { throw new ArrayIndexOutOfBoundsException(); } if (dst instanceof Object[]) { Object[] d = (Object[])dst; Object[] s = (Object[])src; if (dst_position < src_position) { for (int i = length - 1; ... | 45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/887318ddf28a5bdb2422b983c3bf6cc6f2dda340/System.java/clean/libraries/javalib/java/lang/System.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
760,
918,
8817,
12,
921,
1705,
16,
509,
1705,
67,
3276,
16,
1033,
3046,
16,
509,
3046,
67,
3276,
16,
509,
769,
13,
288,
202,
430,
261,
2469,
411,
374,
13,
288,
202,
202,
12849,
394,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
760,
918,
8817,
12,
921,
1705,
16,
509,
1705,
67,
3276,
16,
1033,
3046,
16,
509,
3046,
67,
3276,
16,
509,
769,
13,
288,
202,
430,
261,
2469,
411,
374,
13,
288,
202,
202,
12849,
394,
... |
if (clc != null) { return clc.getClassLoader(); } return null; | if (clc != null) { return clc.getClassLoader(); } return null; | protected ClassLoader getAdditionalClassLoader() { if (clc != null) { return clc.getClassLoader(); } return null; } | 49293 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49293/108e1021fab89bb260b33d4575fd7b4622fb8703/GlobalContext.java/buggy/src/koala/dynamicjava/interpreter/context/GlobalContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
9403,
26660,
7805,
1435,
288,
202,
430,
261,
830,
71,
480,
446,
13,
288,
202,
565,
327,
927,
71,
18,
588,
7805,
5621,
202,
97,
202,
2463,
446,
31,
565,
289,
2,
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,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
9403,
26660,
7805,
1435,
288,
202,
430,
261,
830,
71,
480,
446,
13,
288,
202,
565,
327,
927,
71,
18,
588,
7805,
5621,
202,
97,
202,
2463,
446,
31,
565,
289,
2,
-100,
-100,
-100,... |
String qualifier; | String qualifier = null; | private static void writeItemIndex(Context c, IndexWriter writer, Item myitem) throws SQLException, IOException { // get the location string (for searching by collection & community) String location_text = buildItemLocationString(c, myitem); // read in indexes from the config ... | 25205 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25205/40fcbb2dd2def0066fee139b7bc646ab8c39e98d/DSIndexer.java/buggy/dspace/src/org/dspace/search/DSIndexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
1045,
1180,
1016,
12,
1042,
276,
16,
3340,
2289,
2633,
16,
5411,
4342,
3399,
1726,
13,
1216,
6483,
16,
1860,
565,
288,
3639,
368,
336,
326,
2117,
533,
261,
1884,
15300,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
1045,
1180,
1016,
12,
1042,
276,
16,
3340,
2289,
2633,
16,
5411,
4342,
3399,
1726,
13,
1216,
6483,
16,
1860,
565,
288,
3639,
368,
336,
326,
2117,
533,
261,
1884,
15300,
... |
int currCon = stat.getCurrentConnectionNumber(); setValue(I_CURR_CONS, String.valueOf(currCon)); int totalCon = stat.getTotalConnectionNumber(); setValue(I_TOTAL_CONS, String.valueOf(totalCon)); | int loginNbr = stat.getCurrentLoginNumber(); setValue(I_CURR_LOGINS, String.valueOf(loginNbr)); int totalLoginNbr = stat.getTotalLoginNumber(); setValue(I_TOTAL_LOGINS, String.valueOf(totalLoginNbr)); if(anonymous) { int anonLoginNbr = stat.getCurrentAnonymousLoginNumber(); setValue(I_CURR_ANON_LOGINS, String.valueOf... | public void run() { ServerFtpStatistics stat = statistics; if(stat != null) { int currCon = stat.getCurrentConnectionNumber(); setValue(I_CURR_CONS, String.valueOf(currCon)); int totalCon = stat.getTotalC... | 48500 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48500/fb0100d79cce109e2696e6867ac71f0eacc966cb/StatisticsPanel.java/clean/admin-gui/src/java/org/apache/ftpserver/gui/StatisticsPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
1086,
1435,
288,
1171,
3224,
42,
6834,
8569,
610,
273,
7691,
31,
7734,
309,
12,
5642,
480,
446,
13,
288,
10792,
509,
4306,
442,
273,
610,
18,
588,
3935,
1952,
1854,
5621,
10... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
1086,
1435,
288,
1171,
3224,
42,
6834,
8569,
610,
273,
7691,
31,
7734,
309,
12,
5642,
480,
446,
13,
288,
10792,
509,
4306,
442,
273,
610,
18,
588,
3935,
1952,
1854,
5621,
10... |
try { /* * use an alternative logger. Set it up here and pass it in. */ Velocity.setProperty(Velocity.RUNTIME_LOG_LOGSYSTEM, this ); Velocity.init(); } catch (Exception e) { System.err.println("Cannot setup event handling test : " + e); System.exit(1); } | public EventHandlingTestCase() { super("EventHandlingTestCase"); try { /* * use an alternative logger. Set it up here and pass it in. */ Velocity.setProperty(Velocity.RUNTIME_LOG_LOGSYSTEM, this ); Velocity.init(); ... | 9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/59780514f566344db5c57333d6182e2f5f040af7/EventHandlingTestCase.java/buggy/src/java/org/apache/velocity/test/EventHandlingTestCase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2587,
14701,
4709,
2449,
1435,
565,
288,
3639,
2240,
2932,
1133,
14701,
4709,
2449,
8863,
3639,
775,
3639,
288,
5411,
1748,
2398,
380,
225,
999,
392,
10355,
1194,
18,
225,
1000,
518,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2587,
14701,
4709,
2449,
1435,
565,
288,
3639,
2240,
2932,
1133,
14701,
4709,
2449,
8863,
3639,
775,
3639,
288,
5411,
1748,
2398,
380,
225,
999,
392,
10355,
1194,
18,
225,
1000,
518,
... | |
if (dragTarget != null) | if (dragTarget != null && dragButton == ev.getButton()) | private boolean handleMouseEvent(MouseEvent ev) { Window window = (Window) ev.getSource(); // Find the target for the mouse event. We first seach the deepest // component at the specified location. The we go up to its parent and // try to find a neighbor of the deepest component that is suitable as //... | 47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/085ab59d1ee22673b1f5e3328558ae7ad6418e45/LightweightDispatcher.java/buggy/java/awt/LightweightDispatcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
1250,
1640,
9186,
1133,
12,
9186,
1133,
2113,
13,
225,
288,
565,
6076,
2742,
273,
261,
3829,
13,
2113,
18,
588,
1830,
5621,
565,
368,
4163,
326,
1018,
364,
326,
7644,
871,
18,
166... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
1250,
1640,
9186,
1133,
12,
9186,
1133,
2113,
13,
225,
288,
565,
6076,
2742,
273,
261,
3829,
13,
2113,
18,
588,
1830,
5621,
565,
368,
4163,
326,
1018,
364,
326,
7644,
871,
18,
166... |
public void run() { servant.collectUserCredentials(future); } | public void run() { servant.collectUserCredentials(future, init); } | public void run() { servant.collectUserCredentials(future); } | 55464 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55464/84042cbca2e8aeaf65ca18c85ea2224ea4c04d55/SplashScreenProxy.java/clean/SRC/org/openmicroscopy/shoola/env/ui/SplashScreenProxy.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
1086,
1435,
288,
703,
7445,
18,
14676,
1299,
6163,
12,
14343,
1769,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
1086,
1435,
288,
703,
7445,
18,
14676,
1299,
6163,
12,
14343,
1769,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
public Parse getParse(Content content) throws ParseException { | public Parse getParse(Content content) { | public Parse getParse(Content content) throws ParseException { // check that contentType is one we can handle String contentType = content.getContentType(); if (contentType != null && !contentType.startsWith("application/msword")) throw new ParseException( "Content-Type not application/msword: "+... | 50818 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50818/29bea6a24ea978596c3c1880a520b24bdeb2252d/MSWordParser.java/buggy/src/plugin/parse-msword/src/java/org/apache/nutch/parse/msword/MSWordParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2884,
336,
3201,
12,
1350,
913,
13,
288,
565,
368,
866,
716,
5064,
353,
1245,
732,
848,
1640,
565,
514,
5064,
273,
913,
18,
588,
8046,
5621,
565,
309,
261,
22194,
480,
446,
597,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2884,
336,
3201,
12,
1350,
913,
13,
288,
565,
368,
866,
716,
5064,
353,
1245,
732,
848,
1640,
565,
514,
5064,
273,
913,
18,
588,
8046,
5621,
565,
309,
261,
22194,
480,
446,
597,
... |
public void drop(DropTargetDropEvent e) { Point loc = e.getLocation(); int x = (int)loc.getX(), y = (int)loc.getY(); // reset cursor back to normal Cursor defaultCursor = new Cursor(Cursor.DEFAULT_CURSOR); DataMapTree.getDataMapTree().setCursor(defaultCursor); int actio... | 47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/5f86f1698ecae9bee19eda190b80e574908c2728/DataMapTree.java/clean/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/datamap/DataMapTree.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
7285,
12,
7544,
2326,
7544,
1133,
73,
15329,
2148,
1829,
33,
73,
18,
588,
2735,
5621,
474,
92,
28657,
474,
13,
1829,
18,
588,
60,
9334,
93,
28657,
474,
13,
1829,
18,
588,
61,
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,
1071,
6459,
7285,
12,
7544,
2326,
7544,
1133,
73,
15329,
2148,
1829,
33,
73,
18,
588,
2735,
5621,
474,
92,
28657,
474,
13,
1829,
18,
588,
60,
9334,
93,
28657,
474,
13,
1829,
18,
588,
61,
5... | ||
String className; Class param; if (name.equals("CustomAttributes") || name.equals("Dataset") || name.equals("Feature") || name.equals("Image") || name.equals("OME") || name.equals("Project")) { className = "org.openmicroscopy.xml." + name + "Node"; param = base.getClass(); } else { className = "org.openmicroscopy.xml.s... | private OMEXMLNode getChild(OMEXMLNode base, String name, int i) { Vector children = base.getChildren(name); if (i < children.size()) { if (children.get(i) != null) return (OMEXMLNode) children.get(i); } // CTR TODO fix this, it is crap try { Class c = Class.forName("org.openmicroscopy.xml.st... | 55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/34bcbe2acc8b7f882c8afbdc1290ab99847904ea/OMEXMLMetadataStore.java/clean/loci/formats/OMEXMLMetadataStore.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
514,
2658,
31,
1659,
579,
31,
309,
261,
529,
18,
14963,
2932,
3802,
2498,
7923,
747,
508,
18,
14963,
2932,
10656,
7923,
747,
508,
18,
14963,
2932,
4595,
7923,
747,
508,
18,
14963,
2932,
2040,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
514,
2658,
31,
1659,
579,
31,
309,
261,
529,
18,
14963,
2932,
3802,
2498,
7923,
747,
508,
18,
14963,
2932,
10656,
7923,
747,
508,
18,
14963,
2932,
4595,
7923,
747,
508,
18,
14963,
2932,
2040,
... | |
pdbflag = hasCoordSys(PDBCOORDSYS,source) ; uniprotflag = hasCoordSys(UNIPROTCOORDSYS,source) ; | pdbflag = hasCoordSys(BrowserPane.DEFAULT_PDBCOORDSYS,source) ; uniprotflag = hasCoordSys(BrowserPane.DEFAULT_UNIPROTCOORDSYS,source) ; | public boolean isSeqStrucAlignmentServer(SpiceDasSource source) { boolean msdmapping = false ; //DasCoordinateSystem[] coordsys = source.getCoordinateSystem() ; boolean uniprotflag = false ; boolean pdbflag = false ; pdbflag = hasCoordSys(PDBCOORDSYS,sourc... | 52521 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52521/9fce485ed3b2b2273375a86353ca79bf8d9af076/RegistryConfiguration.java/buggy/src/org/biojava/spice/Config/RegistryConfiguration.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
353,
6926,
1585,
5286,
11535,
2081,
12,
3389,
1812,
40,
345,
1830,
1084,
13,
288,
3639,
1250,
4086,
72,
6770,
273,
629,
274,
3639,
368,
40,
345,
13503,
3163,
8526,
6074,
1900,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
353,
6926,
1585,
5286,
11535,
2081,
12,
3389,
1812,
40,
345,
1830,
1084,
13,
288,
3639,
1250,
4086,
72,
6770,
273,
629,
274,
3639,
368,
40,
345,
13503,
3163,
8526,
6074,
1900,... |
add((byte)(shortOp + 3)); | add(shortOp + 3); | private void xop(byte shortOp, byte op, int local) { switch (local) { case 0: add(shortOp); break; case 1: add((byte)(shortOp + 1)); break; case 2: add((byte)(shortOp + 2)); break; case 3: add(... | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/22644d0e62d87924a341469f715d13055cb347cc/ClassFileWriter.java/clean/src/org/mozilla/classfile/ClassFileWriter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
619,
556,
12,
7229,
3025,
3817,
16,
1160,
1061,
16,
509,
1191,
13,
565,
288,
3639,
1620,
261,
3729,
13,
288,
1850,
648,
374,
30,
5411,
527,
12,
6620,
3817,
1769,
5411,
898,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
619,
556,
12,
7229,
3025,
3817,
16,
1160,
1061,
16,
509,
1191,
13,
565,
288,
3639,
1620,
261,
3729,
13,
288,
1850,
648,
374,
30,
5411,
527,
12,
6620,
3817,
1769,
5411,
898,
... |
_instance.fileVersion = Integer.parseInt(masterVersion); | instance().fileVersion = Integer.parseInt(masterVersion); | static boolean updateIndexIfNeeded(String name) throws org.jdom.JDOMException, java.io.FileNotFoundException { // get version from master index; if not found, give up String masterVersion = null; DecoderIndexFile masterXmlFile = new DecoderIndexFile(); File masterFile = new File("xml"+Fi... | 213 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/213/7a8cd063d3442573a6136ae59ff04bb914a386c9/DecoderIndexFile.java/buggy/jmri/jmrit/decoderdefn/DecoderIndexFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1250,
1089,
1016,
18299,
12,
780,
508,
13,
1216,
2358,
18,
78,
9859,
18,
46,
8168,
503,
16,
2252,
18,
1594,
18,
812,
3990,
288,
3639,
368,
336,
1177,
628,
4171,
770,
31,
309,
486... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1250,
1089,
1016,
18299,
12,
780,
508,
13,
1216,
2358,
18,
78,
9859,
18,
46,
8168,
503,
16,
2252,
18,
1594,
18,
812,
3990,
288,
3639,
368,
336,
1177,
628,
4171,
770,
31,
309,
486... |
messageCallback = new Callback (this, "messageProc", 4); | messageCallback = new Callback (this, "messageProc", 4); | protected void init () { super.init (); /* Create the callbacks */ windowCallback = new Callback (this, "windowProc", 4); windowProc = windowCallback.getAddress (); if (windowProc == 0) error (SWT.ERROR_NO_MORE_CALLBACKS); /* Remember the current procsss and thread */ threadId = OS.GetCurrentThreadId (); processId =... | 12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/38dbe88a9501faece746ad495a4038d0f100d1c9/Display.java/buggy/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
1208,
1832,
288,
202,
9565,
18,
2738,
261,
1769,
1082,
202,
20308,
1788,
326,
6689,
1195,
202,
5668,
2428,
273,
394,
8444,
261,
2211,
16,
315,
5668,
15417,
3113,
1059,
1769,
202,
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,
4750,
918,
1208,
1832,
288,
202,
9565,
18,
2738,
261,
1769,
1082,
202,
20308,
1788,
326,
6689,
1195,
202,
5668,
2428,
273,
394,
8444,
261,
2211,
16,
315,
5668,
15417,
3113,
1059,
1769,
202,
56... |
if (entityHex.terrainLevel(Terrains.FIRE) == 2) { | if (entityHex.terrainLevel(Terrains.FIRE) == 2 && entity.getElevation() <=1) { | private void resolveHeat() { Report r; //Heat phase header addReport(new Report(5000, Report.PUBLIC)); for (Enumeration i = game.getEntities(); i.hasMoreElements();) { Entity entity = (Entity)i.nextElement(); if ( null == entity.getPosition() ) { cont... | 3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/ee5d03b72348c238aad6ca777c4e0833732a5821/Server.java/clean/megamek/src/megamek/server/Server.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2245,
5256,
270,
1435,
288,
3639,
8706,
436,
31,
3639,
368,
5256,
270,
6855,
1446,
3639,
527,
4820,
12,
2704,
8706,
12,
25,
3784,
16,
8706,
18,
14939,
10019,
3639,
364,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2245,
5256,
270,
1435,
288,
3639,
8706,
436,
31,
3639,
368,
5256,
270,
6855,
1446,
3639,
527,
4820,
12,
2704,
8706,
12,
25,
3784,
16,
8706,
18,
14939,
10019,
3639,
364,
261,
... |
runtime.getNil(); | getRuntime().getNil(); | public IRubyObject subseq(long beg, long len) { // Subsequence begins at a valid index and a positive length if (beg < 0 || beg > getSize() || len < 0) { runtime.getNil(); } if (beg + len > getSize()) { len = getSize() - beg; } if (len < 0) { l... | 50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyMatchData.java/buggy/src/org/jruby/RubyMatchData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
720,
5436,
12,
5748,
16847,
16,
1525,
562,
13,
288,
377,
202,
759,
2592,
6178,
17874,
622,
279,
923,
770,
471,
279,
6895,
769,
3639,
309,
261,
70,
1332,
411,
37... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15908,
10340,
921,
720,
5436,
12,
5748,
16847,
16,
1525,
562,
13,
288,
377,
202,
759,
2592,
6178,
17874,
622,
279,
923,
770,
471,
279,
6895,
769,
3639,
309,
261,
70,
1332,
411,
37... |
byte lsb = (byte) (b & 0x01); return (byte) ((b >>> 1) | (lsb << 7)); | int lsb = (b & 0x01); return (byte) (((b & 0xFF) >>> 1) | (lsb << 7)); | public static byte rotateClockwise(byte b) { byte lsb = (byte) (b & 0x01); return (byte) ((b >>> 1) | (lsb << 7)); } | 9170 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9170/b7e0886ec1e49211f376dae03021436fcab01c67/CompassPoints.java/buggy/railz/src/jfreerails/world/common/CompassPoints.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1160,
8534,
14027,
2460,
12,
7229,
324,
13,
288,
202,
7229,
7180,
70,
273,
261,
7229,
13,
261,
70,
473,
374,
92,
1611,
1769,
202,
2463,
261,
7229,
13,
14015,
70,
4080,
404,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1160,
8534,
14027,
2460,
12,
7229,
324,
13,
288,
202,
7229,
7180,
70,
273,
261,
7229,
13,
261,
70,
473,
374,
92,
1611,
1769,
202,
2463,
261,
7229,
13,
14015,
70,
4080,
404,
... |
updateBuildActions(autoBuild); | updateBuildActions(); | public void propertyChange(Preferences.PropertyChangeEvent event) { if (event.getProperty().equals( ResourcesPlugin.PREF_AUTO_BUILDING)) { final boolean autoBuild = ResourcesPlugin.getWorkspace() .isAutoBuilding(); ... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/cf6dbe88c16d566306439f0a3a20accff5b1cafb/WorkbenchActionBuilder.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/WorkbenchActionBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
1272,
3043,
12,
12377,
18,
1396,
20930,
871,
13,
288,
7734,
309,
261,
2575,
18,
588,
1396,
7675,
14963,
12,
13491,
8128,
3773,
18,
3670,
42,
67,
18909,
67,
20215,
1360,
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,
2398,
1071,
918,
1272,
3043,
12,
12377,
18,
1396,
20930,
871,
13,
288,
7734,
309,
261,
2575,
18,
588,
1396,
7675,
14963,
12,
13491,
8128,
3773,
18,
3670,
42,
67,
18909,
67,
20215,
1360,
3719,
... |
protected UMOEndpointURI getInDest() { try { | protected UMOEndpointURI getInDest() { try { | protected UMOEndpointURI getInDest() { try { return new MuleEndpointURI("xmpp://mule1:mule@jabber.org.au"); } catch (MalformedEndpointException e) { fail(e.getMessage()); return null; } } | 2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/8cc09178adb8b0a3803c08f7b3cf0b6cf566d2b0/XmppFunctionalTestCase.java/clean/tests/integration/src/test/java/org/mule/test/integration/providers/xmpp/XmppFunctionalTestCase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
587,
5980,
3293,
3098,
7854,
9378,
1435,
288,
540,
775,
288,
5411,
327,
394,
490,
725,
3293,
3098,
2932,
92,
24109,
2207,
81,
725,
21,
30,
81,
725,
36,
78,
378,
744,
18,
3341,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
587,
5980,
3293,
3098,
7854,
9378,
1435,
288,
540,
775,
288,
5411,
327,
394,
490,
725,
3293,
3098,
2932,
92,
24109,
2207,
81,
725,
21,
30,
81,
725,
36,
78,
378,
744,
18,
3341,
1... |
public FProxyToadlet(HighLevelSimpleClient client, byte[] random) { | public FProxyToadlet(HighLevelSimpleClient client, byte[] random, Node node) { | public FProxyToadlet(HighLevelSimpleClient client, byte[] random) { super(client); this.random = random; client.setMaxLength(MAX_LENGTH); client.setMaxIntermediateLength(MAX_LENGTH); } | 50915 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50915/4e5d41f2c75a41cc651e6f777b7a50ae3f0adc76/FProxyToadlet.java/buggy/src/freenet/clients/http/FProxyToadlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
478,
3886,
774,
361,
1810,
12,
8573,
2355,
5784,
1227,
1004,
16,
1160,
8526,
2744,
13,
288,
202,
202,
9565,
12,
2625,
1769,
202,
202,
2211,
18,
9188,
273,
2744,
31,
202,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
478,
3886,
774,
361,
1810,
12,
8573,
2355,
5784,
1227,
1004,
16,
1160,
8526,
2744,
13,
288,
202,
202,
9565,
12,
2625,
1769,
202,
202,
2211,
18,
9188,
273,
2744,
31,
202,
202,
... |
TriggerSequence[] sequences= getBestActiveBinding(); | KeySequence[] sequences= getInvokingCommandKeySequences(); | public void keyPressed(KeyEvent e) { int accelerator = SWTKeySupport.convertEventToUnmodifiedAccelerator(e); KeySequence keySequence = KeySequence.getInstance(SWTKeySupport.convertAcceleratorToKeyStroke(accelerator)); TriggerSequence[] sequences= getBestActiveBinding(); if (sequences == null) r... | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/d3b312746d9b505c771292e6b822d0de2cc7828c/JavaOutlineInformationControl.java/buggy/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaOutlineInformationControl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4697,
202,
482,
918,
498,
24624,
12,
653,
1133,
425,
13,
288,
6862,
202,
474,
15153,
7385,
273,
348,
8588,
653,
6289,
18,
6283,
1133,
774,
984,
7342,
28417,
12,
73,
1769,
6862,
202,
653,
402... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4697,
202,
482,
918,
498,
24624,
12,
653,
1133,
425,
13,
288,
6862,
202,
474,
15153,
7385,
273,
348,
8588,
653,
6289,
18,
6283,
1133,
774,
984,
7342,
28417,
12,
73,
1769,
6862,
202,
653,
402... |
Date beginningDate = getBeginningDate(event); Date endingDate = getEndingDate(event); for (Date currentDate = beginningDate; currentDate.before(endingDate); currentDate = nextDay(currentDate)) { addEventToMap(currentDate, event); } | addMultiDayEventToMap(event); | public void add(Object event) { eventsList.add(event); Date beginningDate = getBeginningDate(event); Date endingDate = getEndingDate(event); for (Date currentDate = beginningDate; currentDate.before(endingDate); currentDate = nextDay(currentDate)) { addEventToMap(currentDate, event); } } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/dbfab952faa5c32f60b2d2c7c252e1e1ac843ed8/EventEditorObservableLazyDataRequestor.java/clean/examples/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/compositetable/day/binding/EventEditorObservableLazyDataR... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
527,
12,
921,
871,
13,
288,
1082,
202,
5989,
682,
18,
1289,
12,
2575,
1769,
1082,
202,
1626,
8435,
1626,
273,
25282,
2093,
1626,
12,
2575,
1769,
1082,
202,
1626,
11463,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
527,
12,
921,
871,
13,
288,
1082,
202,
5989,
682,
18,
1289,
12,
2575,
1769,
1082,
202,
1626,
8435,
1626,
273,
25282,
2093,
1626,
12,
2575,
1769,
1082,
202,
1626,
11463,
... |
public LazySet(Loader loader) { | public LazySet(Loader<E> loader) { | public LazySet(Loader loader) { m_loader = loader; } | 48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/bd4cc08f661db252c895153538564e9f8b9035d3/LazySet.java/clean/opennms-util/src/main/java/org/opennms/core/utils/LazySet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
12805,
694,
12,
2886,
4088,
13,
288,
202,
202,
81,
67,
6714,
273,
4088,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
12805,
694,
12,
2886,
4088,
13,
288,
202,
202,
81,
67,
6714,
273,
4088,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
body.append(fact.createReturn(returnType)); | body.append(InstructionFactory.createReturn(returnType)); | private static LazyMethodGen makeDispatcher( LazyClassGen onGen, String dispatchName, ResolvedMember superMethod, BcelWorld world, boolean isSuper) { Type[] paramTypes = BcelWorld.makeBcelTypes(superMethod.getParameterTypes()); Type returnType = BcelWorld.makeBcelType(superMethod.getReturnType()); int mod... | 53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/fde423ac335eb547834bb6f1b0ec51ddfac51cd6/BcelTypeMunger.java/buggy/weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
12805,
1305,
7642,
1221,
6681,
12,
202,
202,
14443,
797,
7642,
603,
7642,
16,
202,
202,
780,
3435,
461,
16,
202,
202,
12793,
4419,
2240,
1305,
16,
202,
202,
38,
2183,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
12805,
1305,
7642,
1221,
6681,
12,
202,
202,
14443,
797,
7642,
603,
7642,
16,
202,
202,
780,
3435,
461,
16,
202,
202,
12793,
4419,
2240,
1305,
16,
202,
202,
38,
2183,
18... |
int i = readerIndex(n); return subReaders[i].document(n - starts[i]); | int i = readerIndex(n); return subReaders[i].document(n - starts[i]); | public Document document(int n) throws IOException { int i = readerIndex(n); // find segment num return subReaders[i].document(n - starts[i]); // dispatch to segment reader } | 1514 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1514/b48c75c33cbc8f4834834d931f10db5c0db0af6b/MultiReader.java/clean/src/java/org/apache/lucene/index/MultiReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
4319,
1668,
12,
474,
290,
13,
1216,
1860,
288,
565,
509,
277,
273,
2949,
1016,
12,
82,
1769,
9506,
225,
368,
1104,
3267,
818,
565,
327,
720,
30301,
63,
77,
8009,
5457,
12,
82,
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,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
4319,
1668,
12,
474,
290,
13,
1216,
1860,
288,
565,
509,
277,
273,
2949,
1016,
12,
82,
1769,
9506,
225,
368,
1104,
3267,
818,
565,
327,
720,
30301,
63,
77,
8009,
5457,
12,
82,
3... |
bitnum = (diff >>>2) + 1 +1; | bitnum = (diff >>>2) + 1; | private int convertJsrOffsetToBitNum(int offset) { int bitnum, diff; if ( offset ==0) return 1; // initial call return first map bit // determine offset in bit area offset = offset + 4; // compensate for different mapping of jsr and ref maps ie no jsr bit in jsr maps diff = local0Offset... | 4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/0a323e6af9db88b41b8dd710bf2d293b13ef4bd5/VM_ReferenceMaps.java/buggy/rvm/src/vm/compilers/baseline/GCMap/VM_ReferenceMaps.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
1765,
8382,
86,
2335,
774,
5775,
2578,
12,
474,
1384,
13,
565,
288,
4202,
509,
2831,
2107,
16,
3122,
31,
1377,
309,
261,
1384,
422,
20,
13,
327,
404,
31,
368,
2172,
745,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
1765,
8382,
86,
2335,
774,
5775,
2578,
12,
474,
1384,
13,
565,
288,
4202,
509,
2831,
2107,
16,
3122,
31,
1377,
309,
261,
1384,
422,
20,
13,
327,
404,
31,
368,
2172,
745,
32... |
public RubyObject call( RubyObject recv, RubyId mid, RubyPointer args, int scope) { RubyMethodCacheEntry ent = RubyMethodCacheEntry.getEntry(getRuby(), this, mid); RubyModule klass = this; RubyId id = mid; int noex; Node body; if (ent != null) { if (ent.getMethod() == null) { throw new RuntimeException(... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/buggy/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
921,
745,
12,
202,
202,
54,
10340,
921,
10665,
16,
202,
202,
54,
10340,
548,
7501,
16,
202,
202,
54,
10340,
4926,
833,
16,
202,
202,
474,
2146,
13,
288,
202,
202,
54,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
921,
745,
12,
202,
202,
54,
10340,
921,
10665,
16,
202,
202,
54,
10340,
548,
7501,
16,
202,
202,
54,
10340,
4926,
833,
16,
202,
202,
474,
2146,
13,
288,
202,
202,
54,... | ||
super(); | public EvalTextArea(SwingGui debugGui) { super(); this.debugGui = debugGui; history = new java.util.Vector(); Document doc = getDocument(); doc.addDocumentListener(this); addKeyListener(this); setLineWrap(true); setFont(new Font("Monospaced", 0, 12)); a... | 51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/2d4fc75b74d717c754829dde488ff0a7456682cc/SwingGui.java/clean/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/SwingGui.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
13163,
1528,
5484,
12,
6050,
310,
18070,
1198,
18070,
13,
288,
9079,
333,
18,
4148,
18070,
273,
1198,
18070,
31,
3639,
4927,
273,
394,
2252,
18,
1367,
18,
5018,
5621,
3639,
4319,
99... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13163,
1528,
5484,
12,
6050,
310,
18070,
1198,
18070,
13,
288,
9079,
333,
18,
4148,
18070,
273,
1198,
18070,
31,
3639,
4927,
273,
394,
2252,
18,
1367,
18,
5018,
5621,
3639,
4319,
99... | |
assertTrue("Should fail fast on object", testPasses); } | assertTrue("Should fail fast on object", testPasses); } | public void testExpectNothingFail() { myExpectation.setExpectNothing(); boolean testPasses = false; try { myExpectation.setActual("another object"); } catch (AssertionFailedError ex) { testPasses = true; } assertTrue("Should fail fast on object", testP... | 57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/4aaf60d8fa76687c3492c508dd98678fbbd3d935/ExpectationValueTest.java/clean/jmock/core/src/test/jmock/expectation/ExpectationValueTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
11988,
23814,
3754,
1435,
288,
3639,
3399,
11988,
367,
18,
542,
11988,
23814,
5621,
3639,
1250,
1842,
6433,
281,
273,
629,
31,
3639,
775,
288,
5411,
3399,
11988,
367,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
11988,
23814,
3754,
1435,
288,
3639,
3399,
11988,
367,
18,
542,
11988,
23814,
5621,
3639,
1250,
1842,
6433,
281,
273,
629,
31,
3639,
775,
288,
5411,
3399,
11988,
367,
18,
... |
bag.putObjectToReturn(KEY1, 1); | bag.putObjectToReturn(KEY1, 1); | public void testReturnInt() { bag.putObjectToReturn(KEY1, 1); assertEquals("Should be 1", 1, bag.getNextReturnInt(KEY1)); bag.verify(); } | 2796 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2796/a917aff361c58c31c5dce12a5e8052df6803dbe1/ReturnObjectBagTest.java/buggy/jmock/core/src/test/jmock/expectation/ReturnObjectBagTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
990,
1702,
1435,
288,
202,
202,
22551,
18,
458,
921,
27014,
12,
3297,
21,
16,
404,
1769,
202,
202,
11231,
8867,
2932,
14309,
506,
404,
3113,
404,
16,
13189,
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,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
990,
1702,
1435,
288,
202,
202,
22551,
18,
458,
921,
27014,
12,
3297,
21,
16,
404,
1769,
202,
202,
11231,
8867,
2932,
14309,
506,
404,
3113,
404,
16,
13189,
18,
588... |
value = new EnumConstValue( cr.readClass( off =+ 2, buf), cr.readClass( off =+ 2, buf)); | value = new EnumConstValue( cr.readClass( off, buf), cr.readClass( off+2, buf)); off += 4; | public int read( ClassReader cr, int off, char[] buf) { tag = cr.b[ off++] & 0xff; switch( tag) { case 'B': // pointer to CONSTANT_Byte case 'C': // pointer to CONSTANT_Char case 'D': // pointer to CONSTANT_Double case 'F': // pointer to CONSTANT_Float case 'I': // pointer to CONST... | 8320 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8320/f2a1c6f2872a82afd2f2c6d90320f1ef3135eb32/AnnotationMemberValue.java/buggy/asm/src/org/objectweb/asm/attrs/AnnotationMemberValue.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
855,
12,
1659,
2514,
4422,
16,
509,
3397,
16,
1149,
8526,
1681,
13,
288,
565,
1047,
273,
4422,
18,
70,
63,
3397,
9904,
65,
473,
374,
5297,
31,
565,
1620,
12,
1047,
13,
288,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
855,
12,
1659,
2514,
4422,
16,
509,
3397,
16,
1149,
8526,
1681,
13,
288,
565,
1047,
273,
4422,
18,
70,
63,
3397,
9904,
65,
473,
374,
5297,
31,
565,
1620,
12,
1047,
13,
288,... |
AST tmp2177_AST_in = (AST)_t; | AST tmp2176_AST_in = (AST)_t; | public final void source_buffer_phrase(AST _t) throws RecognitionException { AST source_buffer_phrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t946 = _t; AST tmp2173_AST_in = (AST)_t; match(_t,RECORD_NAME); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case KEYS: {... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/041a16c78289f1c3ae5e575d3edc5e893a658e50/JPTreeParser.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1084,
67,
4106,
67,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1084,
67,
4106,
67,
9429,
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,
1084,
67,
4106,
67,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1084,
67,
4106,
67,
9429,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
... |
public void exclusiveOrExpression() throws Exception { andExpression(); | protected void exclusiveOrExpression( Object expression ) throws Exception { andExpression( expression ); | public void exclusiveOrExpression() throws Exception { andExpression(); while (LT(1) == Token.tXOR) { Token t = consume(); andExpression(); callback.expressionOperator(t); } } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/14f209afacefaf1ea1c7cf1c38e0c44afbb6e571/Parser.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
12060,
23695,
1435,
1216,
1185,
288,
202,
202,
464,
2300,
5621,
9506,
202,
17523,
261,
12050,
12,
21,
13,
422,
3155,
18,
88,
60,
916,
13,
288,
1082,
202,
1345,
268,
273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
12060,
23695,
1435,
1216,
1185,
288,
202,
202,
464,
2300,
5621,
9506,
202,
17523,
261,
12050,
12,
21,
13,
422,
3155,
18,
88,
60,
916,
13,
288,
1082,
202,
1345,
268,
273,
... |
if(!sign1.getTokenType().equals(sign2.getTokenType())){ | final IElementType tokenType1 = sign1.getTokenType(); if(!tokenType1.equals(sign2.getTokenType())){ | private static boolean assignmentExpressionsAreEquivalent( @NotNull PsiAssignmentExpression assignExp1, @NotNull PsiAssignmentExpression assignExp2){ final PsiJavaToken sign1 = assignExp1.getOperationSign(); final PsiJavaToken sign2 = assignExp2.getOperationSign(); if(!sig... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/56cd877e6165ef40ca5d20020e04147ae7f2dee4/EquivalenceChecker.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/psiutils/EquivalenceChecker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1250,
6661,
8927,
4704,
22606,
12,
5411,
632,
5962,
453,
7722,
7729,
2300,
2683,
2966,
21,
16,
5411,
632,
5962,
453,
7722,
7729,
2300,
2683,
2966,
22,
15329,
3639,
727,
453,
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,
1250,
6661,
8927,
4704,
22606,
12,
5411,
632,
5962,
453,
7722,
7729,
2300,
2683,
2966,
21,
16,
5411,
632,
5962,
453,
7722,
7729,
2300,
2683,
2966,
22,
15329,
3639,
727,
453,
77... |
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException { this.applicationContext = applicationContext; String[] viewbeans = applicationContext .getBeanNamesForType(StaticTLAB.class, false, false); | public void setApplicationContext(ApplicationContext applicationContext) { String[] viewbeans = applicationContext.getBeanNamesForType( TargetListAggregatingBean.class, false, false); for (int i = 0; i < viewbeans.length; ++i) { TargetListAggregatingBean tlab = (TargetListAggregatingBean) applicationContext .getBean(v... | public void setApplicationContext(ApplicationContext applicationContext) throws BeansException { this.applicationContext = applicationContext; String[] viewbeans = applicationContext .getBeanNamesForType(StaticTLAB.class, false, false); } | 29 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/29/240522d7c27049f05db159ed6098abcb6cf5a633/TLABPostProcessor.java/buggy/rsf-core/servletutil/src/uk/org/ponder/springutil/TLABPostProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
28278,
12,
28278,
31775,
13,
1216,
4823,
634,
503,
288,
565,
333,
18,
3685,
1042,
273,
31775,
31,
565,
514,
8526,
1476,
2196,
634,
273,
31775,
1377,
263,
588,
3381,
1557,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
28278,
12,
28278,
31775,
13,
1216,
4823,
634,
503,
288,
565,
333,
18,
3685,
1042,
273,
31775,
31,
565,
514,
8526,
1476,
2196,
634,
273,
31775,
1377,
263,
588,
3381,
1557,
... |
if (name != null) getOut().print("<B>Name: </B>" + name + "<BR>"); if (type != null) getOut().print("<B>Type: </B>" + type + "<BR>"); if (desc != null) getOut().print("<B>Description: </B>" + desc + "<BR>"); | if (name != null) getOut().print("<B>Name: </B>" + name + "<BR>"); if (type != null) getOut().print("<B>Type: </B>" + type + "<BR>"); if (desc != null) getOut().print("<B>Description: </B>" + desc + "<BR>"); | void formatAttachmentBox(InternetHeaders headers, String type, String link_name, String link_url, String body, boolean all_headers_p) { String icon = "internal-gopher-binary"; // #### getOut().print("<CENTER>" + "<TABLE CELLPADDING=8 CE... | 51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/0cc63cb388a13f01532486f9d178811914e6d71b/MimeExternalObjectOperator.java/buggy/grendel/sources/grendel/mime/html/MimeExternalObjectOperator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
740,
6803,
3514,
12,
26562,
3121,
1607,
16,
514,
618,
16,
21821,
514,
1692,
67,
529,
16,
514,
1692,
67,
718,
16,
514,
1417,
16,
21821,
1250,
777,
67,
2485,
67,
84,
13,
288,
565,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
740,
6803,
3514,
12,
26562,
3121,
1607,
16,
514,
618,
16,
21821,
514,
1692,
67,
529,
16,
514,
1692,
67,
718,
16,
514,
1417,
16,
21821,
1250,
777,
67,
2485,
67,
84,
13,
288,
565,
... |
super(METHOD_PATTERN,sessionFactory, classLoader); if(application == null) throw new IllegalArgumentException("Constructor argument 'application' cannot be null"); this.application = application; | super(METHOD_PATTERN,sessionFactory, classLoader, application); | public SavePersistentMethod(SessionFactory sessionFactory, ClassLoader classLoader, GrailsApplication application) { super(METHOD_PATTERN,sessionFactory, classLoader); if(application == null) throw new IllegalArgumentException("Constructor argument 'application' cannot be null"); thi... | 54552 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54552/1f93a00b9ded85ce53eea3e9d4bda1f2c680aa2c/SavePersistentMethod.java/buggy/src/persistence/org/codehaus/groovy/grails/orm/hibernate/metaclass/SavePersistentMethod.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
7074,
11906,
1305,
12,
2157,
1733,
1339,
1733,
16,
9403,
11138,
16,
10812,
14573,
3208,
2521,
13,
288,
3639,
2240,
12,
5327,
67,
10831,
16,
3184,
1733,
16,
11138,
1769,
3639,
309,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
7074,
11906,
1305,
12,
2157,
1733,
1339,
1733,
16,
9403,
11138,
16,
10812,
14573,
3208,
2521,
13,
288,
3639,
2240,
12,
5327,
67,
10831,
16,
3184,
1733,
16,
11138,
1769,
3639,
309,
1... |
browseButton.setText(WorkbenchMessages.getString("CreateLinkedResourceGroup.browseButton")); | browseButton.setText(NewWizardMessages.getString("CreateLinkedResourceGroup.browseButton")); | public Button getBrowseButtonControl(Composite parent){ // browse button if(browseButton == null){ assertCompositeNotNull(parent); browseButton = new Button(parent, SWT.PUSH); //setButtonLayoutData(browseButton); browseButton.setFont(parent.getFont()); browseButton.setText(WorkbenchMessages.getString("Crea... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/ad024f522bfded2b084003834636c3f90c1e2aef/LinkToFileGroup.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/wizards/dialogfields/LinkToFileGroup.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
12569,
2882,
12481,
3616,
3367,
12,
9400,
982,
15329,
202,
202,
759,
21670,
3568,
202,
202,
430,
12,
25731,
3616,
422,
446,
15329,
1082,
202,
11231,
9400,
5962,
12,
2938,
1769,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
12569,
2882,
12481,
3616,
3367,
12,
9400,
982,
15329,
202,
202,
759,
21670,
3568,
202,
202,
430,
12,
25731,
3616,
422,
446,
15329,
1082,
202,
11231,
9400,
5962,
12,
2938,
1769,
... |
a.getProps().setTipo(""); return a; | atrDeIns.getProps().setTipo(""); return atrDeIns; | public Par PElse() throws Exception{ Par a = new Par(); Par atrDeIns; if (lexico.reconoce(Tipos.TKPYCOMA)){ Token tk; tk = lexico.getNextToken(); if (!tk.equals(new Token ("else",Tipos.TKELS))){ a.getProps().setTipo(""); return a; } lexico.lexer(); //consumimos else atrDeIns = I(); a = atrDeIns;... | 10474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10474/f6dc44d80fd64451a5eb89c4413e42d14f2f424d/Sintactico.java/buggy/plg/procesador/Sintactico.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2280,
453,
12427,
1435,
1216,
1185,
95,
202,
202,
1553,
279,
273,
394,
2280,
5621,
202,
202,
1553,
622,
86,
758,
5048,
31,
202,
202,
430,
261,
4149,
10764,
18,
266,
591,
83,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2280,
453,
12427,
1435,
1216,
1185,
95,
202,
202,
1553,
279,
273,
394,
2280,
5621,
202,
202,
1553,
622,
86,
758,
5048,
31,
202,
202,
430,
261,
4149,
10764,
18,
266,
591,
83,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.