rem stringlengths 1 53.3k | add stringlengths 0 80.5k | context stringlengths 6 326k | meta stringlengths 141 403 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|---|
protected void setGeneralTitleText() { String text = "[Open in Browser]"; linkToBug.setText(text); linkToBug.setFont(TEXT_FONT); if(this instanceof ExistingBugEditor){ linkToBug.setUnderlined(true); linkToBug.setForeground(JFaceColors.getHyperlinkText(Display.getCurrent())); linkToBug.addMouseListener(new Mo... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/03771035b0c3ee44c251feb0d994a738a0a26e89/AbstractBugEditor.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/editor/AbstractBugEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
444,
12580,
4247,
1528,
1435,
288,
202,
202,
780,
977,
273,
5158,
3678,
316,
15408,
4279,
31,
202,
202,
1232,
774,
19865,
18,
542,
1528,
12,
955,
1769,
202,
202,
1232,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
444,
12580,
4247,
1528,
1435,
288,
202,
202,
780,
977,
273,
5158,
3678,
316,
15408,
4279,
31,
202,
202,
1232,
774,
19865,
18,
542,
1528,
12,
955,
1769,
202,
202,
1232,
7... | ||
public abstract void execute(BrokerPool brokerpool, Map params) throws JobException; | public final void execute(JobExecutionContext jec) throws JobExecutionException { JobDataMap jobDataMap = jec.getJobDetail().getJobDataMap(); BrokerPool pool = (BrokerPool)jobDataMap.get("brokerpool"); Map params = (Map)jobDataMap.get("params"); try { execute(pool, params); } catch(JobException je) { je.cleanupJ... | public abstract void execute(BrokerPool brokerpool, Map params) throws JobException; | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/a71a3fbd04fdeb1ffc1507bd8e12e0bcafac5ebe/SystemJob.java/clean/src/org/exist/scheduler/SystemJob.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8770,
918,
1836,
12,
11194,
2864,
8625,
6011,
16,
1635,
859,
13,
1216,
3956,
503,
31,
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,
225,
202,
482,
8770,
918,
1836,
12,
11194,
2864,
8625,
6011,
16,
1635,
859,
13,
1216,
3956,
503,
31,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
if (entry(i).isNil()) { list.remove(i); | if (!entry(i).isNil()) { newList.add(entry(i)); } else { | public RubyObject m_compact_bang() { modify(); boolean changed = false; int length = length(); for (int i = 0; i < length; i++) { if (entry(i).isNil()) { list.remove(i); changed = true; } } return changed ? (RubyObject)thi... | 48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/7383c629ae621d8b0a317582dbdc0d38119837d8/RubyArray.java/buggy/org/jruby/RubyArray.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
312,
67,
21038,
67,
70,
539,
1435,
288,
3639,
5612,
5621,
3639,
1250,
3550,
273,
629,
31,
3639,
509,
769,
273,
769,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
312,
67,
21038,
67,
70,
539,
1435,
288,
3639,
5612,
5621,
3639,
1250,
3550,
273,
629,
31,
3639,
509,
769,
273,
769,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
... |
return new String(this_row[columnIndex - 1]); | String encoding = connection.getEncoding(); if (encoding == null) return new String(this_row[columnIndex - 1]); else { try { return new String(this_row[columnIndex - 1], encoding); } catch (UnsupportedEncodingException unse) { throw new PSQLException("postgresql.res.encoding", unse); } } | public String getString(int columnIndex) throws SQLException { //byte[] bytes = getBytes(columnIndex); // //if (bytes == null) //return null; //return new String(bytes); if (columnIndex < 1 || columnIndex > fields.length) throw new PSQLException("postgresql.res.colrange"); wasNullFlag = (th... | 2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/42becdfae327a88166aaef2d9f23f8aa48e2e905/ResultSet.java/clean/org/postgresql/jdbc1/ResultSet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
4997,
12,
474,
14882,
13,
1216,
6483,
225,
288,
565,
368,
7229,
8526,
1731,
273,
8425,
12,
2827,
1016,
1769,
565,
368,
565,
368,
430,
261,
3890,
422,
446,
13,
565,
368,
2463,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4997,
12,
474,
14882,
13,
1216,
6483,
225,
288,
565,
368,
7229,
8526,
1731,
273,
8425,
12,
2827,
1016,
1769,
565,
368,
565,
368,
430,
261,
3890,
422,
446,
13,
565,
368,
2463,... |
Window window = getWindow(); if (window instanceof DetachedWindow) { window.getShell().setText(newSelection.getTitle()); } | private void presentationSelectionChanged(IPresentablePart newSelection) { // Ignore selection changes that occur as a result of removing a part if (ignoreSelectionChanges) { return; } LayoutPart newPart = getPaneFor(newSelection); // This method should only be called o... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e7b65bd7eaa667e716c4b78400bfcf61d65827b6/PartStack.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartStack.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
22525,
6233,
5033,
12,
2579,
1581,
429,
1988,
394,
6233,
13,
288,
3639,
368,
8049,
4421,
3478,
716,
3334,
487,
279,
563,
434,
9427,
279,
1087,
3639,
309,
261,
6185,
6233,
7173,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22525,
6233,
5033,
12,
2579,
1581,
429,
1988,
394,
6233,
13,
288,
3639,
368,
8049,
4421,
3478,
716,
3334,
487,
279,
563,
434,
9427,
279,
1087,
3639,
309,
261,
6185,
6233,
7173,... | |
public void paintAtomSymbol(Atom atom, Color backColor, Graphics graphics, int alignment, int atomNumber) { if (atom.getPoint2D() == null) { logger.warn("Cannot draw atom without 2D coordinate"); return; } // The fonts for calculating geometries float subscr... | 45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/024b5bd543555ab0427fdc6b91c9895dbe18db45/Renderer2D.java/buggy/src/org/openscience/cdk/renderer/Renderer2D.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12574,
3641,
5335,
12,
3641,
3179,
16,
5563,
1473,
2957,
16,
16830,
17313,
16,
509,
8710,
16,
509,
3179,
1854,
13,
288,
3639,
309,
261,
7466,
18,
588,
2148,
22,
40,
1435,
422... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12574,
3641,
5335,
12,
3641,
3179,
16,
5563,
1473,
2957,
16,
16830,
17313,
16,
509,
8710,
16,
509,
3179,
1854,
13,
288,
3639,
309,
261,
7466,
18,
588,
2148,
22,
40,
1435,
422... | ||
public void createAndPropagateRetractTuple(ReteTuple tuple, | public void createAndPropagateRetractTuple(InternalFactHandle handle, | public void createAndPropagateRetractTuple(ReteTuple tuple, PropagationContext context, InternalWorkingMemory workingMemory); | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/e0d33db60b6e8c72049130ae7cfce36cae9d1027/TupleSinkPropagator.java/buggy/drools-core/src/main/java/org/drools/reteoo/TupleSinkPropagator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
30545,
11953,
340,
7055,
14266,
9038,
12,
3061,
9766,
3259,
1640,
16,
4766,
9079,
1186,
9095,
367,
1042,
819,
16,
4766,
9079,
3186,
14836,
6031,
5960,
6031,
1769,
2,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
30545,
11953,
340,
7055,
14266,
9038,
12,
3061,
9766,
3259,
1640,
16,
4766,
9079,
1186,
9095,
367,
1042,
819,
16,
4766,
9079,
3186,
14836,
6031,
5960,
6031,
1769,
2,
-100,
-100,
... |
return argProp; } | return argProp; } | public BasicProperties getArgProperties() { return argProp; } | 5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/ea08a6d07d415da3df2653a9d7b7b3d251315a23/BootProfileImpl.java/clean/src/jade/BootProfileImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
7651,
2297,
336,
4117,
2297,
1435,
288,
3639,
327,
1501,
4658,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
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,
377,
1071,
7651,
2297,
336,
4117,
2297,
1435,
288,
3639,
327,
1501,
4658,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
mti = 0; } | mti = 0; } | public final long nextLong() { int y; int z; if (mti >= N) // generate N words at one time { int kk; final int[] mt = this.mt; // locals are slightly faster final int[] mag01 = this.mag01; // locals are slightly faster for (kk = 0;... | 51889 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51889/63a5ffba11f9b8fb0d2e9d77c6a01e8ab918693c/MersenneTwisterFast.java/buggy/src/main/java/com/davidsoergel/dsutils/MersenneTwisterFast.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
1525,
1024,
3708,
1435,
3639,
288,
3639,
509,
677,
31,
3639,
509,
998,
31,
3639,
309,
261,
1010,
77,
1545,
423,
13,
282,
368,
2103,
423,
4511,
622,
1245,
813,
5411,
288,
5411... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
1525,
1024,
3708,
1435,
3639,
288,
3639,
509,
677,
31,
3639,
509,
998,
31,
3639,
309,
261,
1010,
77,
1545,
423,
13,
282,
368,
2103,
423,
4511,
622,
1245,
813,
5411,
288,
5411... |
if( this.cellpadding != null ) { results.append( " cellpadding=\"" ); results.append( this.cellpadding ); results.append( "\"" ); } else { results.append( " cellpadding=\"2\"" ); } | if (this.cellpadding != null) { results.append(" cellpadding=\""); results.append(this.cellpadding); results.append("\""); } else { results.append(" cellpadding=\"2\""); } | private String getTableAttributes() { StringBuffer results = new StringBuffer(); if( this.clazz != null ) { results.append( " class=\"" ); results.append( this.clazz ); results.append( "\"" ); } else { results.append( " class=\"table\"" ); } if( this.width !... | 7284 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7284/a71dc315013464c01719d449044bb7645788f6e6/TableTag.java/clean/_OLD/displaytag08/src/org/apache/taglibs/display/TableTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
514,
5638,
2498,
1435,
282,
288,
1377,
6674,
1686,
273,
394,
6674,
5621,
1377,
309,
12,
333,
18,
830,
3638,
480,
446,
262,
288,
540,
1686,
18,
6923,
12,
315,
667,
13186,
11272,
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,
565,
3238,
514,
5638,
2498,
1435,
282,
288,
1377,
6674,
1686,
273,
394,
6674,
5621,
1377,
309,
12,
333,
18,
830,
3638,
480,
446,
262,
288,
540,
1686,
18,
6923,
12,
315,
667,
13186,
11272,
54... |
assertTrue("Expected a result set", rs.next()); assertTrue(rs.getLong(1) == 8); assertTrue("Expected no result set", !rs.next()); } | assertTrue("Expected a result set", rs.next()); assertTrue(rs.getLong(1) == 8); assertTrue("Expected no result set", !rs.next()); } | public void testBigint0000() throws Exception { Connection cx = getConnection(); dropTable("#t0000"); Statement stmt = cx.createStatement(); stmt.executeUpdate("create table #t0000 " + " (i bigint not null, " + " s char(10) not null) "); final int rowsToAdd = 20; int count = 0; for (int i = 1; i <= ro... | 2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/7df6dc0065b654cd4e2b156461e0394d01dd13aa/TimestampTest.java/buggy/src.old/test/freetds/TimestampTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
9901,
474,
2787,
1435,
1216,
1185,
202,
95,
202,
202,
1952,
9494,
273,
6742,
5621,
202,
202,
7285,
1388,
2932,
7,
88,
2787,
8863,
202,
202,
3406,
3480,
273,
9494,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9901,
474,
2787,
1435,
1216,
1185,
202,
95,
202,
202,
1952,
9494,
273,
6742,
5621,
202,
202,
7285,
1388,
2932,
7,
88,
2787,
8863,
202,
202,
3406,
3480,
273,
9494,
1... |
public void release() { } | public void release() { } | public void release() { } | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/57a34fa3e6e607d84b46e06082997a4771a25a85/LargeRCObjectLocal.java/buggy/MMTk/src/org/mmtk/policy/LargeRCObjectLocal.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3992,
1435,
288,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3992,
1435,
288,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
if (frame.getMessageType() == Message.MESSAGE_TYPE_MSG) { lastMessageRecv++; } else if (frame.getMessageType() != Message.MESSAGE_TYPE_ANS) { lastReplyRecv++; } | void postFrame(Frame frame) throws BEEPException { Log.logEntry(Log.SEV_DEBUG_VERBOSE, "Channel::postFrame"); boolean firstFrame = false; boolean createAndPostMessage = false; Message currentMessage = null; int msgno = frame.getMsgno(); int lastnumber; ReplyListen... | 11902 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11902/0319493127391eafd204f1b9939c1eb4b743556d/Channel.java/buggy/src/org/beepcore/beep/core/Channel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1603,
3219,
12,
3219,
2623,
13,
1216,
605,
9383,
52,
503,
565,
288,
3639,
1827,
18,
1330,
1622,
12,
1343,
18,
1090,
58,
67,
9394,
67,
21900,
16,
315,
2909,
2866,
2767,
3219,
8863,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1603,
3219,
12,
3219,
2623,
13,
1216,
605,
9383,
52,
503,
565,
288,
3639,
1827,
18,
1330,
1622,
12,
1343,
18,
1090,
58,
67,
9394,
67,
21900,
16,
315,
2909,
2866,
2767,
3219,
8863,
... | |
fCurrent = new Font(this.getDisplay(), fdCurrent.getName(), 12, iStyle); | fCurrent = new Font(this.getDisplay(), fdCurrent.getName(), fOld.getFontData()[0].getHeight(), iStyle); | public void paintControl(PaintEvent pe) { Font fSize = null; Font fCurrent = null; Color cFore = null; GC gc = pe.gc; if (cdCurrent != null && bUseColor) { cFore = new Color(this.getDisplay(), cdCurrent.getRed(), cdCurrent.getGreen(), cdCurrent.getBlue()); ... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/588e7d9d61e91804070df10605592e7dbd22ac16/FontCanvas.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/FontCanvas.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12574,
3367,
12,
12699,
1133,
2804,
13,
565,
288,
3639,
10063,
284,
1225,
273,
446,
31,
3639,
10063,
284,
3935,
273,
446,
31,
3639,
5563,
276,
13573,
273,
446,
31,
3639,
15085,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12574,
3367,
12,
12699,
1133,
2804,
13,
565,
288,
3639,
10063,
284,
1225,
273,
446,
31,
3639,
10063,
284,
3935,
273,
446,
31,
3639,
5563,
276,
13573,
273,
446,
31,
3639,
15085,... |
if (zeroOnTOS) emptyArrayOnTOS = true; zeroOnTOS = false; return; | if (zeroOnTOS) emptyArrayOnTOS = true; zeroOnTOS = false; return; | public void sawOpcode(int seen) { // System.out.println("saw " + OPCODE_NAMES[seen] + " " + zeroOnTOS); switch (seen) { case GETSTATIC: case PUTSTATIC: String packageConstant = extractPackage(getClassConstantOperand()); boolean samePackage = packageName.equals(extractPackage(getClassConstantOperand())); ... | 7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/4748a5a9b76f3dd763ee6bc7755c932a711bd6a6/MutableStaticFields.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/detect/MutableStaticFields.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
19821,
22808,
12,
474,
5881,
13,
288,
202,
759,
2332,
18,
659,
18,
8222,
2932,
87,
2219,
202,
6,
202,
15,
531,
3513,
2712,
67,
16257,
63,
15156,
65,
397,
315,
202,
6,
397,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
19821,
22808,
12,
474,
5881,
13,
288,
202,
759,
2332,
18,
659,
18,
8222,
2932,
87,
2219,
202,
6,
202,
15,
531,
3513,
2712,
67,
16257,
63,
15156,
65,
397,
315,
202,
6,
397,
... |
chk = ClientCHKBlock.encode(data, metadata, true, bestCodec.codecNumberForMetadata(), (int)origSize); | chk = ClientCHKBlock.encode(data, metadata, false, bestCodec.codecNumberForMetadata(), (int)origSize); | public FreenetURI run(InsertBlock block, boolean metadata, boolean getCHKOnly, boolean noRetries, Bucket returnMetadata) throws InserterException { if(block.data == null) throw new NullPointerException(); String type = block.desiredURI.getKeyType(); if(type.equalsIgnoreCase("CHK")) { if(!block.desiredURI.toStri... | 45341 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45341/502e6ff27ea4002fdf4cb82813fc3714ed274fa9/FileInserter.java/clean/src/freenet/client/FileInserter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
478,
2842,
278,
3098,
1086,
12,
4600,
1768,
1203,
16,
1250,
1982,
16,
1250,
336,
1792,
47,
3386,
16,
1250,
1158,
13656,
16,
7408,
327,
2277,
13,
1216,
657,
550,
387,
503,
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,
225,
202,
482,
478,
2842,
278,
3098,
1086,
12,
4600,
1768,
1203,
16,
1250,
1982,
16,
1250,
336,
1792,
47,
3386,
16,
1250,
1158,
13656,
16,
7408,
327,
2277,
13,
1216,
657,
550,
387,
503,
288,... |
if (page instanceof UnexpectedPage) throw new RuntimeException("Unexpected content"); return (HtmlPage) page; | throw new RuntimeException("Non HTML content"); | private HtmlPage getCurrentPage() { Page page = win.getEnclosedPage(); if (page instanceof HtmlPage) return (HtmlPage) page; if (page instanceof UnexpectedPage) throw new RuntimeException("Unexpected content"); return (HtmlPage) page; } | 5239 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5239/bacc8e5d848c6d7c37f28e8aef0dc99784eda336/HtmlUnitDialog.java/clean/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
5430,
1964,
5175,
1964,
1435,
288,
3639,
3460,
1363,
273,
5657,
18,
588,
4280,
13783,
1964,
5621,
3639,
309,
261,
2433,
1276,
5430,
1964,
13,
5411,
327,
261,
4353,
1964,
13,
1363,
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,
3238,
5430,
1964,
5175,
1964,
1435,
288,
3639,
3460,
1363,
273,
5657,
18,
588,
4280,
13783,
1964,
5621,
3639,
309,
261,
2433,
1276,
5430,
1964,
13,
5411,
327,
261,
4353,
1964,
13,
1363,
3... |
try { br.close(); } catch (IOException e1) { Logger.error(this, "Can't close: "+e1); } | public PeerManager(Node node, String filename) { myPeers = new NodePeer[0]; connectedPeers = new NodePeer[0]; this.node = node; try { // Try to read the node list from disk FileInputStream fis = new FileInputStream(filename); InputStreamReader ris = new I... | 50287 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50287/424c1dfb69925b8e1077acfa1bfdcfa56b49d436/PeerManager.java/buggy/src/freenet/node/PeerManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
10669,
1318,
12,
907,
756,
16,
514,
1544,
13,
288,
3639,
3399,
14858,
273,
394,
2029,
6813,
63,
20,
15533,
3639,
5840,
14858,
273,
394,
2029,
6813,
63,
20,
15533,
3639,
333,
18,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
10669,
1318,
12,
907,
756,
16,
514,
1544,
13,
288,
3639,
3399,
14858,
273,
394,
2029,
6813,
63,
20,
15533,
3639,
5840,
14858,
273,
394,
2029,
6813,
63,
20,
15533,
3639,
333,
18,
2... | |
script = this.werkzTagLib.createTagScript( name, attrs ); if ( script == null ) { if ( isRuntimeTask( name ) ) { if ( ! project.getTaskDefinitions().containsKey( name ) ) { script = this.antTagLib.createRuntimeTaskTagScript( name, attrs ); } else { this.runtimeTasks.remove( name ); | return new DynaTagScript( new TagFactory() { public Tag createTag() throws Exception { Tag tag = JeezTagLibrary.this.createTag(name); if ( tag != null ) { return tag; } else { return antTagLib.createTag( name ); } | public TagScript createTagScript(String name, Attributes attrs) throws Exception { TagScript script = super.createTagScript( name, attrs ); if ( script == null ) { // script = this.coreTagLib.createTagScript( name, attrs ); if ( script == nu... | 51800 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51800/5a7f74c19545653462eb2c1acc6aceaac383a301/JeezTagLibrary.java/clean/jelly-tags/jeez/src/java/org/apache/commons/jelly/tags/jeez/JeezTagLibrary.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4034,
3651,
752,
1805,
3651,
12,
780,
508,
16,
19694,
9055,
3422,
13,
1216,
1185,
565,
288,
3639,
4034,
3651,
2728,
273,
2240,
18,
2640,
1805,
3651,
12,
508,
16,
3422,
11272,
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,
4034,
3651,
752,
1805,
3651,
12,
780,
508,
16,
19694,
9055,
3422,
13,
1216,
1185,
565,
288,
3639,
4034,
3651,
2728,
273,
2240,
18,
2640,
1805,
3651,
12,
508,
16,
3422,
11272,
3639,
... |
javaEncoding = FBConnectionHelper.getJavaEncoding(iscEncoding); | javaEncoding = FBConnection.getJavaEncoding(iscEncoding); | public static byte[] getBytes(String str, String iscEncoding) { String javaEncoding = null; if (iscEncoding != null && !iscEncoding.equalsIgnoreCase("NONE")) javaEncoding = FBConnectionHelper.getJavaEncoding(iscEncoding); if (javaEncoding == null) return st... | 6960 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6960/4ed4d2830688bf8ef87ffbffb557ef4cac165aa6/FBField.java/buggy/src/org/firebirdsql/jdbc/FBField.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1160,
8526,
8425,
12,
780,
609,
16,
514,
353,
71,
4705,
13,
288,
3639,
514,
2252,
4705,
273,
446,
31,
7734,
309,
261,
291,
71,
4705,
480,
446,
597,
401,
291,
71,
4705,
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,
760,
1160,
8526,
8425,
12,
780,
609,
16,
514,
353,
71,
4705,
13,
288,
3639,
514,
2252,
4705,
273,
446,
31,
7734,
309,
261,
291,
71,
4705,
480,
446,
597,
401,
291,
71,
4705,
18,
... |
String[] parts = Utilities.split(filterPart,"/"); | String[] parts = Utilities.split(filterPart,"/"); | public MatchItem(String filterPart) { String[] parts = Utilities.split(filterPart,"/"); this.name = parts[0].trim(); String[] props = Utilities.split(parts[1],","); for (int index = 0; index < props.length; index++) { parts = Utilities.split(props[index],":"); properties.put(parts... | 9764 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9764/2a28ea7cadad284c4679ad41e57ff6839eab523f/MatchItem.java/buggy/jadabs/bundles/bundleloader/src/ch/ethz/jadabs/bundleLoader/api/MatchItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
4639,
1180,
12,
780,
1034,
1988,
13,
288,
4202,
514,
8526,
2140,
273,
26703,
18,
4939,
12,
2188,
1988,
10837,
4898,
1769,
1377,
333,
18,
529,
273,
2140,
63,
20,
8009,
5290,
5621,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
4639,
1180,
12,
780,
1034,
1988,
13,
288,
4202,
514,
8526,
2140,
273,
26703,
18,
4939,
12,
2188,
1988,
10837,
4898,
1769,
1377,
333,
18,
529,
273,
2140,
63,
20,
8009,
5290,
5621,
... |
yaccValue = new Token(getInteger(tokenBuffer.toString(), 10), getPosition(null, false)); | yaccValue = new Token(getInteger(tokenBuffer.toString(), 10), getPositionMinusOne()); | private int parseNumber(char c) { lex_state = LexState.EXPR_END; tokenBuffer.setLength(0); if (c == '-') { tokenBuffer.append(c); c = src.read(); } else if (c == '+') { // We don't append '+' since Java number parser gets confused c = src.read(); ... | 49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/67a441c8ea70c9532cdedb2001a6741b63e793ae/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
1109,
1854,
12,
3001,
276,
13,
288,
3639,
5275,
67,
2019,
273,
15123,
1119,
18,
2294,
8025,
67,
4415,
31,
3639,
1147,
1892,
18,
542,
1782,
12,
20,
1769,
3639,
309,
261,
71,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
1109,
1854,
12,
3001,
276,
13,
288,
3639,
5275,
67,
2019,
273,
15123,
1119,
18,
2294,
8025,
67,
4415,
31,
3639,
1147,
1892,
18,
542,
1782,
12,
20,
1769,
3639,
309,
261,
71,
... |
logger.debug("Adding crystal to chemModel"); | if (debug) logger.debug("Adding crystal to chemModel"); | public void endObject(String objectType) { logger.debug("END: " + objectType); if (objectType.equals("Molecule")) { if (currentMolecule instanceof Molecule) { logger.debug("Adding molecule to set"); currentSetOfMolecules.addMolecule((Molecule)currentMolecule); ... | 45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/85b1def8500569c307eef07a73f9886549ea9364/ChemFileCDO.java/clean/src/org/openscience/cdk/io/cml/ChemFileCDO.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
679,
921,
12,
780,
16400,
13,
288,
3639,
1194,
18,
4148,
2932,
4415,
30,
315,
397,
16400,
1769,
3639,
309,
261,
1612,
559,
18,
14963,
2932,
29669,
6,
3719,
288,
5411,
309,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
679,
921,
12,
780,
16400,
13,
288,
3639,
1194,
18,
4148,
2932,
4415,
30,
315,
397,
16400,
1769,
3639,
309,
261,
1612,
559,
18,
14963,
2932,
29669,
6,
3719,
288,
5411,
309,
26... |
(count==1?"y":"ies") + | (count == 1 ? "y" : "ies") + | protected void doFileOperations() { if (fileCopyMap.size() > 0) { log("Copying " + fileCopyMap.size() + " file" + (fileCopyMap.size() == 1 ? "" : "s") + " to " + destDir.getAbsolutePath() ); Enumeration e = fileCopyMap.keys(); while (e.hasMoreEle... | 639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/0e1127c22ce00b23a65cbf90b3abf1cee81133ab/Copy.java/buggy/src/main/org/apache/tools/ant/taskdefs/Copy.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
741,
812,
9343,
1435,
288,
3639,
309,
261,
768,
2951,
863,
18,
1467,
1435,
405,
374,
13,
288,
5411,
613,
2932,
2951,
310,
315,
397,
585,
2951,
863,
18,
1467,
1435,
397,
7734,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
741,
812,
9343,
1435,
288,
3639,
309,
261,
768,
2951,
863,
18,
1467,
1435,
405,
374,
13,
288,
5411,
613,
2932,
2951,
310,
315,
397,
585,
2951,
863,
18,
1467,
1435,
397,
7734,... |
return false; } | static boolean containsTokenWithValue(Token[] tokens, Object value) { int sz = tokens.length; for(int i=0; i<sz; i++) { if(tokens[i].getValue() == value) { return true; } } return false; } | 4554 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4554/5111ae7db08a70323a51a21df0bbaf46f21e072e/DurationFormatUtils.java/buggy/src/java/org/apache/commons/lang/time/DurationFormatUtils.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1250,
1914,
1345,
1190,
620,
12,
1345,
8526,
2430,
16,
1033,
460,
13,
288,
3639,
509,
11262,
273,
2430,
18,
2469,
31,
3639,
364,
12,
474,
277,
33,
20,
31,
277,
32,
24575,
31,
277... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1914,
1345,
1190,
620,
12,
1345,
8526,
2430,
16,
1033,
460,
13,
288,
3639,
509,
11262,
273,
2430,
18,
2469,
31,
3639,
364,
12,
474,
277,
33,
20,
31,
277,
32,
24575,
31,
277... | |
return Messages.getString("ReportAdvancedLauncherTab.Name"); | return Messages.getString( "ReportAdvancedLauncherTab.Name" ); | public String getName( ) { return Messages.getString("ReportAdvancedLauncherTab.Name"); //$NON-NLS-1$ } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/93f83d28c012c9318e61bf947b01279cec0512a3/ReportAdvancedLauncherTab.java/clean/UI/org.eclipse.birt.report.debug.ui/src/org/eclipse/birt/report/debug/ui/launching/ReportAdvancedLauncherTab.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1723,
12,
262,
202,
95,
202,
202,
2463,
4838,
18,
588,
780,
12,
315,
4820,
23618,
28820,
5661,
18,
461,
6,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
97,
2,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1723,
12,
262,
202,
95,
202,
202,
2463,
4838,
18,
588,
780,
12,
315,
4820,
23618,
28820,
5661,
18,
461,
6,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
97,
2,
-100,
-... |
for (int i = 0; i < TYPE_NAME.length; ++i) { if (type.equalsIgnoreCase(TYPE_NAME[i])) return i; | for (int i = 0; i < LIMIT_TYPES; ++i) { if (type.equalsIgnoreCase(getNameName(i))) return i; | public static int typeNameToCode(String type) { for (int i = 0; i < TYPE_NAME.length; ++i) { if (type.equalsIgnoreCase(TYPE_NAME[i])) return i; } return -1; } | 27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/93c2c2a206a00b577feb6880bbe25f4be405e413/CLDRFile.java/buggy/tools/java/org/unicode/cldr/util/CLDRFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
509,
8173,
774,
1085,
12,
780,
618,
13,
288,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
3463,
67,
1985,
18,
2469,
31,
965,
77,
13,
288,
1082,
202,
430,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
509,
8173,
774,
1085,
12,
780,
618,
13,
288,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
3463,
67,
1985,
18,
2469,
31,
965,
77,
13,
288,
1082,
202,
430,
26... |
currentChart.setSampleData(getConvertedSampleData(helperModel.getSampleData())); | currentChart.setSampleData(getConvertedSampleData(helperModel.getSampleData(), false)); | private Chart getConvertedChart(Chart currentChart, String sNewSubType, Orientation newOrientation, String sNewDimension) { Chart helperModel = (Chart) EcoreUtil.copy(currentChart); if((currentChart instanceof ChartWithAxes)) // Chart is ChartWithAxes { if(currentChart.getType().e... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/588e7d9d61e91804070df10605592e7dbd22ac16/ScatterChart.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/ScatterChart.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
14804,
336,
22063,
7984,
12,
7984,
783,
7984,
16,
514,
272,
1908,
30511,
16,
531,
12556,
394,
14097,
16,
514,
272,
1908,
8611,
13,
565,
288,
3639,
14804,
4222,
1488,
273,
261,
7984,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14804,
336,
22063,
7984,
12,
7984,
783,
7984,
16,
514,
272,
1908,
30511,
16,
531,
12556,
394,
14097,
16,
514,
272,
1908,
8611,
13,
565,
288,
3639,
14804,
4222,
1488,
273,
261,
7984,... |
for (int i = 0; i < params.length; i++) { if (params[i]==null) paramsstuff.append("null"); else paramsstuff.append(params[i].toString()); if (i<(params.length-1)) paramsstuff.append(","); | for (int i = 0; i < paramsList.size(); i++) { if (paramsList.get(i)==null) paramsstuff.append("null"); else paramsstuff.append(paramsList.get(i).toString()); if (i<(paramsList.size()-1)) paramsstuff.append(","); | public Object buildObject(Class clazz, Object[] params) { // Create the Hibernate query to look it up with String queryText; String queryType; if (clazz==SimpleNamespace.class) { queryText = "from Namespace as ns where ns.name = ?"; queryType = "Namespace"; }... | 50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/d41e72e90eb44fe8ef7ccbd22c24a80c2b3c30af/HibernateRichObjectBuilder.java/buggy/src/org/biojavax/bio/db/HibernateRichObjectBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1361,
921,
12,
797,
4003,
16,
1033,
8526,
859,
13,
288,
3639,
368,
1788,
326,
670,
24360,
843,
358,
2324,
518,
731,
598,
3639,
514,
843,
1528,
31,
3639,
514,
843,
559,
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,
1071,
1033,
1361,
921,
12,
797,
4003,
16,
1033,
8526,
859,
13,
288,
3639,
368,
1788,
326,
670,
24360,
843,
358,
2324,
518,
731,
598,
3639,
514,
843,
1528,
31,
3639,
514,
843,
559,
31,
... |
bind(parameterIndex, "'" + Integer.toString(x) + "'", PG_INT2); | bind(parameterIndex, Integer.toString(x), PG_INT2); | public void setShort(int parameterIndex, short x) throws SQLException { //Note this should be fixed //as soon as the backend correctly supports int8 type //comparisons bind(parameterIndex, "'" + Integer.toString(x) + "'", PG_INT2); } | 49868 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49868/34fd97ee99071c5328e275b994fdef6ddfa31252/AbstractJdbc1Statement.java/clean/org/postgresql/jdbc1/AbstractJdbc1Statement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
4897,
12,
474,
25412,
16,
3025,
619,
13,
1216,
6483,
202,
95,
202,
202,
759,
8067,
333,
1410,
506,
5499,
202,
202,
759,
345,
17136,
487,
326,
4221,
8783,
6146,
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,
225,
202,
482,
918,
444,
4897,
12,
474,
25412,
16,
3025,
619,
13,
1216,
6483,
202,
95,
202,
202,
759,
8067,
333,
1410,
506,
5499,
202,
202,
759,
345,
17136,
487,
326,
4221,
8783,
6146,
509,
... |
super(position); | super(position, NodeTypes.MATCH2NODE); | public Match2Node(ISourcePosition position, Node receiverNode, Node valueNode) { super(position); this.receiverNode = receiverNode; this.valueNode = valueNode; } | 49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/6e15491217631472c05c6928672f9c7064a978b3/Match2Node.java/buggy/src/org/jruby/ast/Match2Node.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4639,
22,
907,
12,
45,
1830,
2555,
1754,
16,
2029,
5971,
907,
16,
2029,
460,
907,
13,
288,
3639,
2240,
12,
3276,
16,
2029,
2016,
18,
11793,
22,
8744,
1769,
3639,
333,
18,
24454,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4639,
22,
907,
12,
45,
1830,
2555,
1754,
16,
2029,
5971,
907,
16,
2029,
460,
907,
13,
288,
3639,
2240,
12,
3276,
16,
2029,
2016,
18,
11793,
22,
8744,
1769,
3639,
333,
18,
24454,
... |
result ^= param.hashCode(); | result = result * 37 + param.hashCode(); | public int hashCode() { int result = 0; for (int i = 0; i < params.length; ++i) { final Class param = params[i]; if (param != null) { result ^= param.hashCode(); } } ret... | 55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/e535b6030eeebeb2e09f4435528aa97616650826/ASTMethod.java/buggy/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
509,
13374,
1435,
540,
288,
5411,
509,
563,
273,
374,
31,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
859,
18,
2469,
31,
965,
77,
13,
2398,
288,
7734,
727,
1659,
579,
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,
540,
1071,
509,
13374,
1435,
540,
288,
5411,
509,
563,
273,
374,
31,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
859,
18,
2469,
31,
965,
77,
13,
2398,
288,
7734,
727,
1659,
579,
273,... |
processLabel.setText (jobName); | processLabel.setText(jobName); | public void startProcess (String jobName) { processLabel.setText (jobName); this.currentJob++; overallProgressBar.setValue(this.currentJob); overallProgressBar.setString (Integer.toString (this.currentJob) + " / " + Integer.toString (this.noOfJobs)); } | 28044 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28044/6e8ab3930a21f787bcd0f3cf0b9937f9d50c80c0/ProcessPanel.java/buggy/src/lib/com/izforge/izpack/panels/ProcessPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
787,
2227,
261,
780,
17833,
13,
225,
288,
565,
1207,
2224,
18,
542,
1528,
12,
4688,
461,
1769,
3639,
333,
18,
2972,
2278,
9904,
31,
565,
13914,
31547,
18,
542,
620,
12,
2211,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
787,
2227,
261,
780,
17833,
13,
225,
288,
565,
1207,
2224,
18,
542,
1528,
12,
4688,
461,
1769,
3639,
333,
18,
2972,
2278,
9904,
31,
565,
13914,
31547,
18,
542,
620,
12,
2211,... |
} | } | public void testMatchBrowser() { ArrayList pattern = new ArrayList(useragent.length); for (int i=0; i<useragent.length; i++) { pattern.add(Pattern.compile(useragent[i])); } for (int i = 0; i < sampleagent.length; i++) { for (int j = 0; j < pattern.size(); j++) { ... | 51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/6f754ad872cb162fb0d29d167cdd6d159d8112a0/TestCmsBrowserMatcher.java/clean/test/org/opencms/util/TestCmsBrowserMatcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2060,
9132,
1435,
288,
3639,
2407,
1936,
273,
394,
2407,
12,
1355,
5629,
18,
2469,
1769,
3639,
364,
261,
474,
277,
33,
20,
31,
277,
32,
1355,
5629,
18,
2469,
31,
277,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2060,
9132,
1435,
288,
3639,
2407,
1936,
273,
394,
2407,
12,
1355,
5629,
18,
2469,
1769,
3639,
364,
261,
474,
277,
33,
20,
31,
277,
32,
1355,
5629,
18,
2469,
31,
277,
... |
public Ret itemCase(ItemT i); | public Ret itemCase(ItemT i, Object... p); | public Ret itemCase(ItemT i); | 11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/d1bf0f940bc3d914d8d8293a0e85760984d7b371/NodeDataVisitor.java/buggy/drjava/src/edu/rice/cs/util/docnavigation/NodeDataVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
17100,
761,
2449,
12,
1180,
56,
277,
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,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
17100,
761,
2449,
12,
1180,
56,
277,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
PropertyDefinition propertyDefinition = PropertyDefinition.getValue(propertyNames[i]); | String pname = propertyNames[i]; if (! propertyNameRT.passes(pname)) { continue; } PropertyDefinition propertyDefinition = PropertyDefinition.getValue(pname); | public void populate(XmlaResponse response, List rows) throws XmlaException { final String[] propertyNames = PropertyDefinition.enumeration.getNames(); for (int i = 0; i < propertyNames.length; i++) { PropertyDefinition propertyDefinition = PropertyDefinition.getValue(proper... | 51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/dd3619858adf8a80618b1c4b570c84445dc1e849/RowsetDefinition.java/buggy/src/main/mondrian/xmla/RowsetDefinition.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
6490,
12,
4432,
69,
1064,
766,
16,
987,
2595,
13,
1216,
5714,
69,
503,
288,
5411,
727,
514,
8526,
26570,
273,
4276,
1852,
18,
7924,
7067,
18,
588,
1557,
5621,
5411,
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,
540,
1071,
918,
6490,
12,
4432,
69,
1064,
766,
16,
987,
2595,
13,
1216,
5714,
69,
503,
288,
5411,
727,
514,
8526,
26570,
273,
4276,
1852,
18,
7924,
7067,
18,
588,
1557,
5621,
5411,
364,
261,... |
statement.setInt(2,type); | public Vector readAllPropertydefinitions(int resourcetype, int type) throws CmsException { Vector metadefs = new Vector(); PreparedStatement statement = null; ResultSet result = null; Connection con = null; try { con = DriverManager.getConnection(m_poolName); // create statement statement = con.pr... | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/1e8abfda468006f21c4fc99ba170cd27c76451ab/CmsDbAccess.java/buggy/src/com/opencms/file/genericSql/CmsDbAccess.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5589,
31267,
1396,
13314,
12,
474,
31174,
5872,
16,
509,
618,
13,
202,
202,
15069,
11228,
288,
1875,
5589,
2191,
12537,
273,
394,
5589,
5621,
1082,
16913,
3021,
273,
446,
31,
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,
225,
202,
482,
5589,
31267,
1396,
13314,
12,
474,
31174,
5872,
16,
509,
618,
13,
202,
202,
15069,
11228,
288,
1875,
5589,
2191,
12537,
273,
394,
5589,
5621,
1082,
16913,
3021,
273,
446,
31,
10... | |
ih = ih.getUniquePredecessor(); | ih = ih.getSimpleUniquePredecessor(); | public InstructionHeader createAssignOp(InstructionHeader ih) { Expression rightHandSide; StoreInstruction store; BinaryOperator binop; try { store = (StoreInstruction) ih.getInstruction(); ih = ih.getUniquePredecessor(); binop = (BinaryOperator) ih.getIn... | 5628 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5628/d5f4c35a3604d437411299f43b8ff57ec2a22932/CodeAnalyzer.java/buggy/jode/jode/decompiler/CodeAnalyzer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
24605,
1864,
752,
4910,
3817,
12,
11983,
1864,
18456,
13,
288,
3639,
5371,
2145,
1144,
8895,
31,
3639,
4994,
11983,
1707,
31,
3639,
7896,
5592,
4158,
556,
31,
3639,
775,
288,
5411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
24605,
1864,
752,
4910,
3817,
12,
11983,
1864,
18456,
13,
288,
3639,
5371,
2145,
1144,
8895,
31,
3639,
4994,
11983,
1707,
31,
3639,
7896,
5592,
4158,
556,
31,
3639,
775,
288,
5411,
... |
FreeForm.REPORT_ITEMS_SLOT ); | IFreeFormModel.REPORT_ITEMS_SLOT ); | public AbstractParseState startElement( String tagName ) { if ( tagName.equalsIgnoreCase( DesignSchemaConstants.LABEL_TAG ) ) return new LabelState( handler, element, FreeForm.REPORT_ITEMS_SLOT ); if ( tagName.equalsIgnoreCase( DesignSchemaConstants.DATA_TAG ) ) return new DataItemState( handler, elem... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/d802c33711e0d111551ae23575895cd060f085b6/FreeFormState.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/FreeFormState.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
4115,
3201,
1119,
13591,
12,
514,
7196,
262,
202,
202,
95,
1082,
202,
430,
261,
7196,
18,
14963,
5556,
12,
29703,
3078,
2918,
18,
13545,
67,
7927,
262,
262,
9506,
202,
2463,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4115,
3201,
1119,
13591,
12,
514,
7196,
262,
202,
202,
95,
1082,
202,
430,
261,
7196,
18,
14963,
5556,
12,
29703,
3078,
2918,
18,
13545,
67,
7927,
262,
262,
9506,
202,
2463,
... |
Object[] args = new Object[] { constraintPropertyName, constraintOwningClass, propertyValue, new Integer(maxSize) }; if(propertyValue == null) { super.rejectValue(errors,MAX_LENGTH_CONSTRAINT + EXCEEDED_SUFFIX,args,getDefaultMessage(DEFAULT_INVALID_MAX_LENGTH_MESSAGE_CODE, args)); | Object[] args = new Object[] { constraintPropertyName, constraintOwningClass, propertyValue, new Integer(maxSize) }; if(propertyValue == null) { super.rejectValue(errors,MAX_LENGTH_CONSTRAINT + EXCEEDED_SUFFIX,args,getDefaultMessage(DEFAULT_INVALID_MAX_LENGTH_MESSAGE_CODE, args)); | protected void processValidate(Object target, Object propertyValue, Errors errors) { Object[] args = new Object[] { constraintPropertyName, constraintOwningClass, propertyValue, new Integer(maxSize) }; if(propertyValue == null) { super.rejectValue(errors,MAX_LENGTH_CONSTRAINT + EXCEEDED_SUFFIX,args,getDefaultM... | 55385 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55385/975905c7e8c55e5fe91c94dc583c4269318ca341/ConstrainedProperty.java/clean/src/commons/org/codehaus/groovy/grails/validation/ConstrainedProperty.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1117,
918,
1207,
4270,
12,
921,
1018,
16,
1033,
12337,
16,
9372,
1334,
13,
288,
1082,
202,
921,
8526,
833,
273,
394,
1033,
8526,
288,
4954,
13073,
16,
4954,
3494,
2093,
797,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1117,
918,
1207,
4270,
12,
921,
1018,
16,
1033,
12337,
16,
9372,
1334,
13,
288,
1082,
202,
921,
8526,
833,
273,
394,
1033,
8526,
288,
4954,
13073,
16,
4954,
3494,
2093,
797,
16,
1... |
GridData gd = (GridData) detailsView.getLayoutData(); gd.exclude = !isChecked(); detailsView.getParent().layout(); | details.setVisible(isChecked()); | public void run() { GridData gd = (GridData) detailsView.getLayoutData(); gd.exclude = !isChecked(); detailsView.getParent().layout(); } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/7771ecca6b526e14ab62730f7f842aafab029250/FilteredItemsSelectionDialog.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/dialogs/FilteredItemsSelectionDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1086,
1435,
288,
1082,
202,
6313,
751,
15551,
273,
261,
6313,
751,
13,
3189,
1767,
18,
588,
3744,
751,
5621,
1082,
202,
19016,
18,
10157,
273,
401,
291,
11454,
5621,
1082,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1086,
1435,
288,
1082,
202,
6313,
751,
15551,
273,
261,
6313,
751,
13,
3189,
1767,
18,
588,
3744,
751,
5621,
1082,
202,
19016,
18,
10157,
273,
401,
291,
11454,
5621,
1082,... |
RootPaneContainer rootContainer = (RootPaneContainer) SwingUtilities .getRoot(invoker); | Component rootContainer = SwingUtilities.getRoot(invoker); | public void popupMenuWillBecomeInvisible(PopupMenuEvent event) { // remove listener that listens to component events fired // by the top - level window that this popup belongs to. Component invoker = popupMenu.getInvoker(); RootPaneContainer rootContainer = (RootPaneContainer) SwingUtilities... | 47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/9b9fe9649110f60eeeb5679035e53dea40861854/BasicPopupMenuUI.java/buggy/javax/swing/plaf/basic/BasicPopupMenuUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
10431,
4599,
13670,
38,
557,
1742,
382,
8613,
12,
13770,
4599,
1133,
871,
13,
565,
288,
1377,
368,
1206,
2991,
716,
666,
773,
358,
1794,
2641,
15950,
4202,
368,
635,
326,
1760,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
10431,
4599,
13670,
38,
557,
1742,
382,
8613,
12,
13770,
4599,
1133,
871,
13,
565,
288,
1377,
368,
1206,
2991,
716,
666,
773,
358,
1794,
2641,
15950,
4202,
368,
635,
326,
1760,... |
Perspective persp = getActivePerspective(); if (persp != null) { IViewReference refs[] = persp.getViewReferences(); ArrayList parts = new ArrayList(refs.length); for (int i = 0; i < refs.length; i++) { IWorkbenchPart part = refs[i].getPart(true); if (part != null) parts.add(part); } IViewPart[] result = new IViewPart[p... | return getViews(null, true); | public IViewPart[] getViews() { Perspective persp = getActivePerspective(); if (persp != null) { IViewReference refs[] = persp.getViewReferences(); ArrayList parts = new ArrayList(refs.length); for (int i = 0; i < refs.length; i++) { IWorkbenchPart part ... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/0ea44a93e811263542e8bd075ba9df7fb9e0d813/WorkbenchPage.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
467,
1767,
1988,
8526,
8893,
87,
1435,
288,
3639,
453,
414,
16772,
13508,
84,
273,
11960,
14781,
16772,
5621,
3639,
309,
261,
10422,
84,
480,
446,
13,
288,
5411,
467,
1767,
2404,
90... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
467,
1767,
1988,
8526,
8893,
87,
1435,
288,
3639,
453,
414,
16772,
13508,
84,
273,
11960,
14781,
16772,
5621,
3639,
309,
261,
10422,
84,
480,
446,
13,
288,
5411,
467,
1767,
2404,
90... |
if ((width > imageWidth) && (imageWidth > 0)) { | else { | public byte[] openBytes(String id, int no) throws FormatException, IOException { if (!id.equals(currentId)) initFile(id); if (no < 0 || no >= getImageCount(id)) { throw new FormatException("Invalid image number: " + no); } if (needLegacy) return legacy.openBytes(id, no); // read image header d... | 55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/f98be68021dcd393ced10b9bb31a7d4d575521f6/ZeissZVIReader.java/clean/loci/formats/ZeissZVIReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1160,
8526,
1696,
2160,
12,
780,
612,
16,
509,
1158,
13,
565,
1216,
4077,
503,
16,
1860,
225,
288,
565,
309,
16051,
350,
18,
14963,
12,
2972,
548,
3719,
1208,
812,
12,
350,
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,
282,
1071,
1160,
8526,
1696,
2160,
12,
780,
612,
16,
509,
1158,
13,
565,
1216,
4077,
503,
16,
1860,
225,
288,
565,
309,
16051,
350,
18,
14963,
12,
2972,
548,
3719,
1208,
812,
12,
350,
1769,
... |
public void removeUpdateFinishListener(IJobChangeListener listener){ | public void removeUpdateFinishListener(IJobChangeListener listener) { | public void removeUpdateFinishListener(IJobChangeListener listener){ updateJob.removeJobChangeListener(listener); } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e92cbcbce6ae22e65e5b73c263f4e5cc4bfa47de/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,
225,
202,
482,
918,
1206,
1891,
11641,
2223,
12,
45,
2278,
15744,
2991,
15329,
202,
202,
2725,
2278,
18,
4479,
2278,
15744,
12,
12757,
1769,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1206,
1891,
11641,
2223,
12,
45,
2278,
15744,
2991,
15329,
202,
202,
2725,
2278,
18,
4479,
2278,
15744,
12,
12757,
1769,
1082,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-10... |
this.sourceName = sourceName; | public TokenStream(CompilerEnvirons compilerEnv, Reader sourceReader, String sourceString, String sourceName, int lineno) { this.compilerEnv = compilerEnv; this.pushbackToken = Token.EOF; this.sourceName = sourceName; this.lineno = lineno; ... | 11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/31ff23cd2e6b5190dbe92f81b7d5dc732adb75d6/TokenStream.java/buggy/js/rhino/src/org/mozilla/javascript/TokenStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3155,
1228,
12,
9213,
28248,
87,
5274,
3491,
16,
15604,
5393,
1084,
2514,
16,
514,
1084,
780,
16,
15604,
514,
28337,
16,
509,
7586,
13,
565,
288,
3639,
333,
18,
9576,
3491,
273,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3155,
1228,
12,
9213,
28248,
87,
5274,
3491,
16,
15604,
5393,
1084,
2514,
16,
514,
1084,
780,
16,
15604,
514,
28337,
16,
509,
7586,
13,
565,
288,
3639,
333,
18,
9576,
3491,
273,
5... | |
assertTrue(! numerics.hasNext()); | assertEquals(null, numerics.next()); | public void testObjectSpace() { ObjectSpace os = new ObjectSpace(); IRubyObject o1 = runtime.newFixnum(10); IRubyObject o2 = runtime.newFixnum(20); IRubyObject o3 = runtime.newFixnum(30); IRubyObject o4 = runtime.newString("hello"); os.add(o1); os.add(o2); os.... | 47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/0e0821d4b61055cfc934d37f98d2e8770d6b7311/TestObjectSpace.java/clean/test/org/jruby/test/TestObjectSpace.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
921,
3819,
1435,
288,
3639,
1033,
3819,
1140,
273,
394,
1033,
3819,
5621,
3639,
15908,
10340,
921,
320,
21,
273,
3099,
18,
2704,
8585,
2107,
12,
2163,
1769,
3639,
15908,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
921,
3819,
1435,
288,
3639,
1033,
3819,
1140,
273,
394,
1033,
3819,
5621,
3639,
15908,
10340,
921,
320,
21,
273,
3099,
18,
2704,
8585,
2107,
12,
2163,
1769,
3639,
15908,
... |
result = 2; | return 2; | public static int getConversionWeight(Object fromObj, Class to) { int fromCode = getJSTypeCode(fromObj); int result = CONVERSION_NONE; switch (fromCode) { case JSTYPE_UNDEFINED: if (to == ScriptRuntime.StringClass || to == ScriptRuntime.ObjectClass) { ... | 13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/a80d67208db8029f3323f99ef005d09358bde48f/NativeJavaObject.java/clean/js/rhino/src/org/mozilla/javascript/NativeJavaObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
509,
336,
6814,
6544,
12,
921,
628,
2675,
16,
1659,
358,
13,
288,
3639,
509,
628,
1085,
273,
30257,
15460,
12,
2080,
2675,
1769,
3639,
509,
563,
273,
3492,
5757,
67,
9826,
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,
1071,
760,
509,
336,
6814,
6544,
12,
921,
628,
2675,
16,
1659,
358,
13,
288,
3639,
509,
628,
1085,
273,
30257,
15460,
12,
2080,
2675,
1769,
3639,
509,
563,
273,
3492,
5757,
67,
9826,
31... |
/* HibernateUtil.closeSession(); group = (GroupBO) TestObjectFactory.getObject(GroupBO.class,group.getCustomerId()); center = (CenterBO) TestObjectFactory.getObject(CenterBO.class,center.getCustomerId()); */ | public void testMainAccountIdSearch()throws Exception{ userContext.setId(Short.valueOf("1")); addActionAndMethod(Methods.mainSearch.toString()); account = getLoanAccount(); addRequestParameter("searchString", account.getGlobalAccountNum()); addRequestParameter("officeId", "0"); actionPerform(); verifyNoActionEr... | 45468 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45468/d35db30af68e55be2633db5638f909c884bd3883/TestCustSearchAction.java/buggy/mifos/test/org/mifos/application/customer/struts/action/TestCustSearchAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
6376,
14594,
2979,
1435,
15069,
1185,
95,
202,
202,
1355,
1042,
18,
542,
548,
12,
4897,
18,
1132,
951,
2932,
21,
7923,
1769,
202,
202,
1289,
1803,
1876,
1305,
12,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
6376,
14594,
2979,
1435,
15069,
1185,
95,
202,
202,
1355,
1042,
18,
542,
548,
12,
4897,
18,
1132,
951,
2932,
21,
7923,
1769,
202,
202,
1289,
1803,
1876,
1305,
12,
4... | |
buffer.append(status.getException().getStackTrace()[0]); | buffer.append(printStrackTrace(status.getException())); | public static void log(IStatus status) { StringBuffer buffer = new StringBuffer(); buffer.append("["); buffer.append(DateUtil.getFormattedDate()); buffer.append(", "); buffer.append(DateUtil.getFormattedTime()); buffer.append("] "); buffer.append(status.toString());... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/416bfb2734324f30ba9a3b5008057f9946ea2558/MylarPlugin.java/buggy/org.eclipse.mylyn.context.core/src/org/eclipse/mylyn/core/MylarPlugin.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
613,
12,
45,
1482,
1267,
13,
288,
3639,
6674,
1613,
273,
394,
6674,
5621,
3639,
1613,
18,
6923,
2932,
63,
8863,
3639,
1613,
18,
6923,
12,
1626,
1304,
18,
588,
18298,
162... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
613,
12,
45,
1482,
1267,
13,
288,
3639,
6674,
1613,
273,
394,
6674,
5621,
3639,
1613,
18,
6923,
2932,
63,
8863,
3639,
1613,
18,
6923,
12,
1626,
1304,
18,
588,
18298,
162... |
int w = size; int h = containerSize.height - insets.top - insets.bottom; int x = location; int y = insets.top; c.setBounds(x, y, w, h); | if (insets != null) { if (axis == SwingConstants.HORIZONTAL) c.setBounds(location, insets.top, size, containerSize.height - insets.top - insets.bottom); else c.setBounds(insets.left, location, containerSize.width - insets.left - insets.right, size); } else { if (axis == SwingConstants.HORIZONTAL) c.setBounds(location, ... | protected void setComponentToSize(Component c, int size, int location, Insets insets, Dimension containerSize) { int w = size; int h = containerSize.height - insets.top - insets.bottom; int x = location; int y = insets.top; c.setBounds(x, y, w, h); ... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicSplitPaneUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicSplitPaneUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
444,
1841,
774,
1225,
12,
1841,
276,
16,
509,
963,
16,
509,
2117,
16,
4766,
1377,
22300,
23576,
16,
13037,
1478,
1225,
13,
565,
288,
1377,
509,
341,
273,
963,
31,
1377,
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,
4750,
918,
444,
1841,
774,
1225,
12,
1841,
276,
16,
509,
963,
16,
509,
2117,
16,
4766,
1377,
22300,
23576,
16,
13037,
1478,
1225,
13,
565,
288,
1377,
509,
341,
273,
963,
31,
1377,
509,
... |
J2EEModuleCreationOperationOld op = extension.createProjectCreationOperation(model); | J2EEComponentCreationOperation op = extension.createProjectCreationOperation(model); | private void runModuleExtensionOperation(EarModuleExtension extension, J2EEModuleCreationDataModelOld model, IProgressMonitor monitor) throws CoreException, InvocationTargetException, InterruptedException { if (extension != null) { J2EEModuleCreationOperationOld op = extension.createProjectCreationOperation(model);... | 8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/6341dfb449367626e401b6a9953dd664eaa3def4/DefaultModuleProjectCreationOperation.java/clean/plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/DefaultModuleProjectCreationOperation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1086,
3120,
3625,
2988,
12,
41,
297,
3120,
3625,
2710,
16,
804,
22,
9383,
3120,
9906,
26349,
7617,
938,
16,
467,
5491,
7187,
6438,
13,
1216,
30015,
16,
15342,
16,
7558,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1086,
3120,
3625,
2988,
12,
41,
297,
3120,
3625,
2710,
16,
804,
22,
9383,
3120,
9906,
26349,
7617,
938,
16,
467,
5491,
7187,
6438,
13,
1216,
30015,
16,
15342,
16,
7558,
... |
public void setMMFF94TorsionsParameters(AtomContainer molecule, Hashtable parameterSet) throws Exception { bond = molecule.getBonds(); for (int b=0; b<bond.length; b++) { atomInBond = bond[b].getAtoms(); bondConnectedBefore = molecule.getConnectedBonds(atomInBond[0]); if (bondConnectedBefore.length > 1) { b... | 45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/660e7fff9f6498248ec7df3d4da91b5f9020328f/Torsions.java/buggy/src/org/openscience/cdk/modeling/forcefield/Torsions.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
8206,
2246,
11290,
56,
1383,
1115,
2402,
12,
3641,
2170,
13661,
16,
18559,
1569,
694,
13,
1216,
1185,
288,
202,
202,
26425,
273,
13661,
18,
588,
26090,
5621,
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,
918,
444,
8206,
2246,
11290,
56,
1383,
1115,
2402,
12,
3641,
2170,
13661,
16,
18559,
1569,
694,
13,
1216,
1185,
288,
202,
202,
26425,
273,
13661,
18,
588,
26090,
5621,
202,
202,... | ||
public static String getDataInsertRejectedReason(short reason) { | public static final String getDataInsertRejectedReason(short reason) { | public static String getDataInsertRejectedReason(short reason) { if(reason == DATA_INSERT_REJECTED_VERIFY_FAILED) return "Verify failed"; else if(reason == DATA_INSERT_REJECTED_RECEIVE_FAILED) return "Receive failed"; return "Unknown reason code: "+reason; } | 52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/d69dceaa72feee5ece14b8de951841aa9b614188/DMT.java/buggy/src/freenet/io/comm/DMT.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
727,
514,
4303,
4600,
19902,
8385,
12,
6620,
3971,
13,
288,
3639,
309,
12,
10579,
422,
8730,
67,
11356,
67,
862,
5304,
2056,
67,
23756,
67,
11965,
13,
5411,
327,
315,
8097,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
727,
514,
4303,
4600,
19902,
8385,
12,
6620,
3971,
13,
288,
3639,
309,
12,
10579,
422,
8730,
67,
11356,
67,
862,
5304,
2056,
67,
23756,
67,
11965,
13,
5411,
327,
315,
8097,
2... |
Block b2 = targetAst.newBlock(); b2.statements().add(result); | localAst.newExpressionStatement(result); | public ASTNode sample(AST targetAst, boolean parented) { Block result = targetAst.newBlock(); if (parented) { Block b2 = targetAst.newBlock(); b2.statements().add(result); } return result; } | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/0e6d4fe5469565f21baa2fd0ec88d178818c619b/ASTTest.java/buggy/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/dom/ASTTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
9183,
907,
3296,
12,
9053,
1018,
21385,
16,
1250,
982,
329,
13,
288,
9506,
202,
1768,
563,
273,
1018,
21385,
18,
2704,
1768,
5621,
9506,
202,
430,
261,
2938,
329,
13,
288,
68... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
9183,
907,
3296,
12,
9053,
1018,
21385,
16,
1250,
982,
329,
13,
288,
9506,
202,
1768,
563,
273,
1018,
21385,
18,
2704,
1768,
5621,
9506,
202,
430,
261,
2938,
329,
13,
288,
68... |
ctx.println("New session: " + mySession.id + "<br />"); | String setSession(WebContext ctx) { String message = null; // get the context CookieSession mySession = null; String myNum = ctx.field("s"); // get the uid String password = ctx.field(QUERY_PASSWORD); if(password.length()==0) { password = ctx.field... | 27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/d99f45a31f02fcac5c82ee137c8dde03d6babbc5/SurveyMain.java/buggy/tools/java/org/unicode/cldr/web/SurveyMain.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
514,
25486,
12,
4079,
1042,
1103,
13,
288,
3639,
514,
883,
273,
446,
31,
3639,
368,
336,
326,
819,
3639,
10201,
2157,
3399,
2157,
273,
446,
31,
3639,
514,
3399,
2578,
273,
1103,
18,
151... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
25486,
12,
4079,
1042,
1103,
13,
288,
3639,
514,
883,
273,
446,
31,
3639,
368,
336,
326,
819,
3639,
10201,
2157,
3399,
2157,
273,
446,
31,
3639,
514,
3399,
2578,
273,
1103,
18,
151... | |
currentModifierIndex = nextModifierIndex; | currentModifierIndex = modifierIndex; | private boolean isModifierListMissorted(PsiModifierList modifierList) { if (modifierList == null) { return false; } final List<PsiElement> simpleModifiers = new ArrayList<PsiElement>(); final PsiElement[] children = modifierList.getChildren(); ... | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/1cc2229d16503076e6d95d2e5e10c1fb4f193081/MissortedModifiersInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/style/MissortedModifiersInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
1250,
353,
9829,
682,
27797,
24726,
12,
52,
7722,
9829,
682,
9606,
682,
13,
288,
5411,
309,
261,
20597,
682,
422,
446,
13,
288,
7734,
327,
629,
31,
5411,
289,
5411,
727,
987,
32,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
1250,
353,
9829,
682,
27797,
24726,
12,
52,
7722,
9829,
682,
9606,
682,
13,
288,
5411,
309,
261,
20597,
682,
422,
446,
13,
288,
7734,
327,
629,
31,
5411,
289,
5411,
727,
987,
32,
... |
TreeItem ti = Const.findTreeItem(tiTab, selectTable); if (ti==null) Const.findTreeItem(tiView, selectTable); if (ti==null) Const.findTreeItem(tiTree, selectTable); if (ti==null) Const.findTreeItem(tiSyn, selectTable); | TreeItem ti = null; if (ti==null && tiTab!=null) Const.findTreeItem(tiTab, selectTable); if (ti==null && tiView!=null) Const.findTreeItem(tiView, selectTable); if (ti==null && tiTree!=null) Const.findTreeItem(tiTree, selectTable); if (ti==null && tiSyn!=null) Const.findTreeItem(tiSyn, selectTable); | private boolean getData() { GetDatabaseInfoProgressDialog gdipd = new GetDatabaseInfoProgressDialog(log, props, shell, dbMeta); DatabaseMetaInformation dmi = gdipd.open(); if (dmi!=null) { // Clear the tree top entry if (tiTree!=null && !tiTree.isDisposed()) tiTree.dispose(); // New entry in the tree t... | 9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/eb76ac68bbb6931461db78379af91578e7cf2634/DatabaseExplorerDialog.java/clean/src/be/ibridge/kettle/core/dialog/DatabaseExplorerDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
4303,
1435,
202,
95,
202,
202,
967,
4254,
966,
5491,
6353,
15551,
625,
72,
273,
394,
968,
4254,
966,
5491,
6353,
12,
1330,
16,
3458,
16,
5972,
16,
1319,
2781,
1769,
202... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
4303,
1435,
202,
95,
202,
202,
967,
4254,
966,
5491,
6353,
15551,
625,
72,
273,
394,
968,
4254,
966,
5491,
6353,
12,
1330,
16,
3458,
16,
5972,
16,
1319,
2781,
1769,
202... |
return doValidate( module, element, isAddListing ); | List errors = doValidate( module, element, isAddListing ); if ( !errors.isEmpty( ) ) { errors.clear( ); errors .add( new ContentException( element, slotId, toAdd, ContentException.DESIGN_EXCEPTION_INVALID_CONTEXT_CONTAINMENT ) ); } return errors; | public List validateForAdding( Module module, DesignElement element, int slotId, DesignElement toAdd ) { boolean isAddListing = false; if ( toAdd instanceof ListingElement || ModelUtil.containElement( toAdd, ReportDesignConstants.LISTING_ITEM ) ) isAddListing = true; return doValidate( module, element, ... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/9552086e38ab22456c2d1709862920e9fee19b54/MasterPageContextContainmentValidator.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/validators/MasterPageContextContainmentValidator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
987,
1954,
1290,
13962,
12,
5924,
1605,
16,
29703,
1046,
930,
16,
1082,
202,
474,
4694,
548,
16,
29703,
1046,
25607,
262,
202,
95,
202,
202,
6494,
353,
986,
19081,
273,
629,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
987,
1954,
1290,
13962,
12,
5924,
1605,
16,
29703,
1046,
930,
16,
1082,
202,
474,
4694,
548,
16,
29703,
1046,
25607,
262,
202,
95,
202,
202,
6494,
353,
986,
19081,
273,
629,
3... |
_matchCount = 0; | public void aboutToStart() { _view = SearchUI.getSearchResultView(); _matchCount = 0; if( _view != null ){ _view.searchStarted( null,//new ActionGroupFactory(), _operation.getSingularLabel(), _operation.getPluralLabelPattern(), _operation.getImageDescriptor(), CSearchPage.EXTENSION_POINT_ID, new... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/7a408c3e1d654808f080fcb472cdcf92f1938829/CSearchResultCollector.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/search/CSearchResultCollector.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2973,
28939,
1435,
288,
202,
202,
67,
1945,
273,
5167,
5370,
18,
588,
24916,
1767,
5621,
202,
202,
67,
1916,
1380,
273,
374,
31,
202,
202,
430,
12,
389,
1945,
480,
446,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2973,
28939,
1435,
288,
202,
202,
67,
1945,
273,
5167,
5370,
18,
588,
24916,
1767,
5621,
202,
202,
67,
1916,
1380,
273,
374,
31,
202,
202,
430,
12,
389,
1945,
480,
446,
... | |
logger.info("Failed to disparch to endpoint: " + endpoint.getEndpointURI().toString() + | logger.info("Failed to dispatch to endpoint: " + endpoint.getEndpointURI().toString() + | public UMOMessage route(UMOMessage message, UMOSession session, boolean synchronous) throws RoutingException { UMOMessage result = null; if (endpoints == null || endpoints.size() == 0) { throw new RoutePathNotFoundException(new Message(Messages.NO_ENDPOINTS_FOR_ROUTER), message, null); ... | 28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/36cf9d6966b20ace9e500e0babe03b28269d2fdb/ExceptionBasedRouter.java/clean/src/java/org/mule/routing/outbound/ExceptionBasedRouter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
587,
5980,
1079,
1946,
12,
2799,
51,
1079,
883,
16,
587,
5980,
2157,
1339,
16,
1250,
12209,
13,
1216,
19349,
503,
565,
288,
3639,
587,
5980,
1079,
563,
273,
446,
31,
3639,
309,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
587,
5980,
1079,
1946,
12,
2799,
51,
1079,
883,
16,
587,
5980,
2157,
1339,
16,
1250,
12209,
13,
1216,
19349,
503,
565,
288,
3639,
587,
5980,
1079,
563,
273,
446,
31,
3639,
309,
26... |
totalQueryTime = System.currentTimeMillis(); | totalQueryTime = System.currentTimeMillis(); | protected JFreeChart doChart(Connection con) throws JRScriptletException, SQLException { final int seriesA = 0; // datasetA (primary, first) final int seriesB = 1; // datasetB //final int seriesC = 2; // datasetC TimeSeries datasetA = new TimeSeries(seriesATitle, Minute.class); ... | 49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/ad2338c4283e959effa8ec881f68d13a60ceeb7a/SummaryGraph.java/buggy/tran/httpblocker/main/com/metavize/tran/httpblocker/reports/SummaryGraph.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
804,
9194,
7984,
741,
7984,
12,
1952,
356,
13,
1216,
27974,
3651,
1810,
503,
16,
6483,
565,
288,
3639,
727,
509,
4166,
37,
273,
374,
31,
368,
3709,
37,
261,
8258,
16,
1122,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
804,
9194,
7984,
741,
7984,
12,
1952,
356,
13,
1216,
27974,
3651,
1810,
503,
16,
6483,
565,
288,
3639,
727,
509,
4166,
37,
273,
374,
31,
368,
3709,
37,
261,
8258,
16,
1122,
13,
... |
if (bytesHashed != 0 && bytesHashed < bytes.length) { log.debug3("done hashing content: "+cu); | if (bytesHashed != 0 && bytesHashed < bytesLeftToHash) { if (log.isDebug3()) { log.debug3("done hashing content: "+cu); } | private int hashContent(CachedUrl cu, int numBytes) throws IOException { int totalHashed = 0; log.debug3("hashing content"); if(is == null) { if (cu.hasContent()) { log.debug3("opening "+cu+" for hashing"); is = cu.openForHashing(); } else { log.debug3(cu+" has no content, not hashing"); hashState ... | 8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/8b0dcb05107e4c39a452c03a67e7974d5ea15262/GenericContentHasher.java/clean/src/org/lockss/hasher/GenericContentHasher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
509,
1651,
1350,
12,
9839,
1489,
15985,
16,
509,
18633,
13,
1216,
1860,
288,
565,
509,
2078,
2310,
329,
273,
374,
31,
565,
613,
18,
4148,
23,
2932,
2816,
310,
913,
8863,
565,
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,
282,
3238,
509,
1651,
1350,
12,
9839,
1489,
15985,
16,
509,
18633,
13,
1216,
1860,
288,
565,
509,
2078,
2310,
329,
273,
374,
31,
565,
613,
18,
4148,
23,
2932,
2816,
310,
913,
8863,
565,
309,... |
final List cflowExpressions, final AroundAdviceExecutor aroundAdviceExecutor, | final JoinPointMetaData joinPointMetaData, final AroundAdviceExecutor aroundAdviceExecutor, | public FieldJoinPoint(final int type, final Class targetClass, final Signature signature, final Rtti rtti, final List cflowExpressions, final AroundAdviceExecutor aroundAdviceExecutor, final BeforeAdviceExecutor beforeAdviceExecutor, final AfterAdviceExecutor afterA... | 7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/44395ae6f1bc25dd7c1e9ba497dc6ed779ba0b8c/FieldJoinPoint.java/buggy/aspectwerkz3/src/main/org/codehaus/aspectwerkz/joinpoint/management/FieldJoinPoint.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2286,
4572,
2148,
12,
6385,
509,
618,
16,
727,
1659,
14563,
16,
727,
9249,
3372,
16,
727,
534,
748,
77,
31525,
77,
16,
12900,
727,
4214,
2148,
6998,
1233,
2148,
6998,
16,
727,
432... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2286,
4572,
2148,
12,
6385,
509,
618,
16,
727,
1659,
14563,
16,
727,
9249,
3372,
16,
727,
534,
748,
77,
31525,
77,
16,
12900,
727,
4214,
2148,
6998,
1233,
2148,
6998,
16,
727,
432... |
int value = (int) (image.getColor(i).getComponents()[0]*(binsCounts[i]-1)); | int value = Math.min((int)(image.getColor(i).getComponents()[0]*binsCounts[i]),binsCounts[i]-1); | public FuzzyHistogram(Image image, int[] binsCounts) { if (image == null) throw new NullPointerException("image == null"); if (binsCounts == null) throw new NullPointerException("binsCounts == null"); if (image.getColorComponentsCount() != binsCounts.length) throw new IllegalArgumentException("binsCounts must... | 13378 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13378/8c17d99cd03b8aaf44f4598313596d8c3328b0f4/FuzzyHistogram.java/buggy/Imilarity/de/berlios/imilarity/fuzzy/FuzzyHistogram.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
478,
13903,
12874,
12,
2040,
1316,
16,
509,
8526,
8963,
9211,
13,
288,
202,
202,
430,
261,
2730,
422,
446,
13,
1082,
202,
12849,
394,
10108,
2932,
2730,
422,
446,
8863,
202,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
478,
13903,
12874,
12,
2040,
1316,
16,
509,
8526,
8963,
9211,
13,
288,
202,
202,
430,
261,
2730,
422,
446,
13,
1082,
202,
12849,
394,
10108,
2932,
2730,
422,
446,
8863,
202,
2... |
if (!referredTo) | if (!referredTo) | private int traverseAttributeDecl( Element attrDecl, ComplexTypeInfo typeInfo, boolean referredTo ) throws Exception { ////// Get declared fields of the attribute String defaultStr = attrDecl.getAttribute(SchemaSymbols.ATT_DEFAULT); String fixedStr = attrDecl.getAttribute(SchemaSymbols.AT... | 1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/87731f2b2070ba79da173a5e6be82410b096d7c5/TraverseSchema.java/buggy/src/org/apache/xerces/validators/schema/TraverseSchema.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
10080,
1499,
3456,
12,
3010,
1604,
3456,
16,
16060,
17305,
23112,
16,
1250,
29230,
774,
262,
1216,
1185,
288,
3639,
368,
1307,
968,
7886,
1466,
434,
326,
1566,
3639,
514,
805,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
10080,
1499,
3456,
12,
3010,
1604,
3456,
16,
16060,
17305,
23112,
16,
1250,
29230,
774,
262,
1216,
1185,
288,
3639,
368,
1307,
968,
7886,
1466,
434,
326,
1566,
3639,
514,
805,
... |
c.translate(line.x + textAlign, | c.translate(line.x, | static int paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, boolean restyle, LinkedList pushedStyles, LinkedList decorations, int padX) { //Uu.p("paint inline: " + ib); restyle = restyle || ib.restyle;//cascade it down ib.restyle = false;//reset if (ib.pushstyles != nul... | 8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/e137ab23808681c08f5b5cb777f93dc9c7d84363/InlineRendering.java/buggy/src/java/org/xhtmlrenderer/render/InlineRendering.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
509,
12574,
10870,
12,
1042,
276,
16,
16355,
3514,
9834,
16,
509,
15855,
16,
509,
18519,
16,
5377,
3514,
980,
16,
1250,
3127,
1362,
16,
10688,
18543,
9725,
16,
10688,
4839,
1012,
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,
377,
760,
509,
12574,
10870,
12,
1042,
276,
16,
16355,
3514,
9834,
16,
509,
15855,
16,
509,
18519,
16,
5377,
3514,
980,
16,
1250,
3127,
1362,
16,
10688,
18543,
9725,
16,
10688,
4839,
1012,
16,... |
StringBuffer buffer = new StringBuffer(); buffer.append("::"); if (name instanceof CPPASTName && name.getParent() instanceof CPPASTQualifiedName) { IASTName[] names = ((CPPASTQualifiedName)name.getParent()).getNames(); for(int i=0; i<names.length; i++) { if (i != 0) buffer.append("::"); buffer.append(names[i].toString(... | return new DOMQuery(DOMSearchUtil.getSearchPattern(name), name, limitTo, scope, collector); | public static CSearchQuery createDOMSearchQueryForName( IASTName name, LimitTo limitTo, ICSearchScope scope, ICSearchResultCollector collector ){ StringBuffer buffer = new StringBuffer(); buffer.append("::"); //$NON-NLS-1$ if (name instanceof CPPASTName && name.getParent() instanceof CPPASTQualifiedName) { ... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/3fa54b37eaad180c49a8fa20c39611022a642df2/FindAction.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/search/actions/FindAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
1071,
760,
385,
2979,
1138,
752,
8168,
2979,
1138,
1290,
461,
12,
467,
9053,
461,
508,
16,
7214,
774,
1800,
774,
16,
26899,
2979,
3876,
2146,
16,
26899,
24916,
7134,
8543,
262,
95,
1082,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
1071,
760,
385,
2979,
1138,
752,
8168,
2979,
1138,
1290,
461,
12,
467,
9053,
461,
508,
16,
7214,
774,
1800,
774,
16,
26899,
2979,
3876,
2146,
16,
26899,
24916,
7134,
8543,
262,
95,
1082,... |
if ((e.getModifiers() & InputEvent.BUTTON1_MASK) == InputEvent.BUTTON1_MASK) { } else { | if (((e.getModifiers() & InputEvent.BUTTON1_MASK) != InputEvent.BUTTON1_MASK) || e.isAltDown()) { | private void addPopup() { addMouseListener(new MouseAdapter() { public void mouseClicked(MouseEvent e) { if ((e.getModifiers() & InputEvent.BUTTON1_MASK) == InputEvent.BUTTON1_MASK) { } else { JPopupMenu gcMenu = new JPopupMenu(); JMenuItem availMem = new JMenuItem("Available memory"); availM... | 4773 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4773/25e13ad426a7a6b02d4f601fb44a32b7268f0ed3/LogPanel.java/clean/weka/gui/LogPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
527,
13770,
1435,
288,
565,
527,
9186,
2223,
12,
2704,
17013,
4216,
1435,
288,
202,
482,
918,
7644,
27633,
12,
9186,
1133,
425,
13,
288,
202,
225,
309,
14015,
73,
18,
588,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
527,
13770,
1435,
288,
565,
527,
9186,
2223,
12,
2704,
17013,
4216,
1435,
288,
202,
482,
918,
7644,
27633,
12,
9186,
1133,
425,
13,
288,
202,
225,
309,
14015,
73,
18,
588,
11... |
store.setValue(LIMIT_ROOTS_TO, Integer.valueOf(fLimitTableValue.getText()).intValue()); | public boolean performOk() { IPreferenceStore store= getPreferenceStore(); for (int i= 0; i < fCheckBoxes.size(); i++) { Button button= (Button) fCheckBoxes.get(i); String key= (String) button.getData(); store.setValue(key, button.getSelection()); } for (int i= 0; i < fRadioButtons.size(); i++) { Button bu... | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/c256e77d141147f14eef0793a616c4a9cfc17a8e/JavaBasePreferencePage.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBasePreferencePage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
3073,
8809,
1435,
288,
202,
202,
45,
9624,
2257,
1707,
33,
336,
9624,
2257,
5621,
202,
202,
1884,
261,
474,
277,
33,
374,
31,
277,
411,
284,
19174,
281,
18,
1467,
5621,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
3073,
8809,
1435,
288,
202,
202,
45,
9624,
2257,
1707,
33,
336,
9624,
2257,
5621,
202,
202,
1884,
261,
474,
277,
33,
374,
31,
277,
411,
284,
19174,
281,
18,
1467,
5621,
... | |
if (!(element instanceof PsiArrayAccessExpression)) { | if(!(element instanceof PsiArrayAccessExpression)){ | private boolean isArrayLookup(PsiElement element, String indexName, String arrayName) { if (element == null) { return false; } if (!(element instanceof PsiArrayAccessExpression)) { return false; } final PsiArrayAccessExpression... | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/dba8b183fc1b08e7ad664812bfc0c64d1e4abd3c/ForCanBeForeachInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/verbose/ForCanBeForeachInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
1250,
5439,
6609,
12,
52,
7722,
1046,
930,
16,
514,
12753,
16,
514,
526,
461,
13,
288,
5411,
309,
261,
2956,
422,
446,
13,
288,
7734,
327,
629,
31,
5411,
289,
5411,
309,
12,
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,
540,
3238,
1250,
5439,
6609,
12,
52,
7722,
1046,
930,
16,
514,
12753,
16,
514,
526,
461,
13,
288,
5411,
309,
261,
2956,
422,
446,
13,
288,
7734,
327,
629,
31,
5411,
289,
5411,
309,
12,
5,
... |
return (CVSActiveChangeSetCollector) CVSUIPlugin.getPlugin().getChangeSetManager(); | return CVSUIPlugin.getPlugin().getChangeSetManager(); | public ActiveChangeSetManager getActiveChangeSetManager() { return (CVSActiveChangeSetCollector) CVSUIPlugin.getPlugin().getChangeSetManager(); } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/baa27a0143fa918888d03ea38da73a03c5fa88e0/CvsRepositoryProvider.java/clean/org.eclipse.mylyn.team.ui/src/org/eclipse/mylyn/internal/team/ccvs/CvsRepositoryProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8857,
21565,
1318,
11960,
21565,
1318,
1435,
288,
202,
202,
2463,
261,
39,
14640,
3896,
21565,
7134,
13,
385,
14640,
5370,
3773,
18,
588,
3773,
7675,
588,
21565,
1318,
5621,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8857,
21565,
1318,
11960,
21565,
1318,
1435,
288,
202,
202,
2463,
261,
39,
14640,
3896,
21565,
7134,
13,
385,
14640,
5370,
3773,
18,
588,
3773,
7675,
588,
21565,
1318,
5621,
202,
... |
event.doit= false; | event.doit = false; | public void verifyKey(VerifyEvent event) { // early pruning to slow down normal typing as little as possible if (!event.doit) return; switch (event.character) { case '(': case '{': case '[': case '$': case '"': break; default: return; } IDocument document = sourceViewer.getDocument(); final Poi... | 48893 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48893/1c7c79e15150bceef6e3353d6c87c8bc905669be/BracketInserter.java/buggy/source/net/sourceforge/texlipse/editor/BracketInserter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3929,
653,
12,
8097,
1133,
871,
13,
288,
202,
202,
759,
11646,
846,
13036,
358,
11816,
2588,
2212,
13408,
487,
12720,
487,
3323,
202,
202,
430,
16051,
2575,
18,
2896,
305,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3929,
653,
12,
8097,
1133,
871,
13,
288,
202,
202,
759,
11646,
846,
13036,
358,
11816,
2588,
2212,
13408,
487,
12720,
487,
3323,
202,
202,
430,
16051,
2575,
18,
2896,
305,
... |
} finally { Trace.exit(); } | void dependentUpdate(float newTime) { Trace.enter(this, "dependentUpdate", new Object[] { new Float(newTime) } ); try { // XXX Convert time from the creator's syncbase's // time system into this time system. Not // strictly necessary in SVG. time = newTime; if (cre... | 45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/9c83876aaa27ac1183bc45e9ed4a61949b228043/InstanceTime.java/buggy/sources/org/apache/batik/anim/timing/InstanceTime.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
10460,
1891,
12,
5659,
394,
950,
13,
288,
3639,
2677,
18,
2328,
12,
2211,
16,
315,
10891,
1891,
3113,
394,
1033,
8526,
288,
394,
5450,
12,
2704,
950,
13,
289,
11272,
775,
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,
918,
10460,
1891,
12,
5659,
394,
950,
13,
288,
3639,
2677,
18,
2328,
12,
2211,
16,
315,
10891,
1891,
3113,
394,
1033,
8526,
288,
394,
5450,
12,
2704,
950,
13,
289,
11272,
775,
288,
3639... | |
if(iter.hasNext()) return new IteratorSeq(iter); return null; | if(iter.hasNext()) return new IteratorSeq(iter); return null; | public static IteratorSeq create(Iterator iter){ if(iter.hasNext()) return new IteratorSeq(iter); return null;} | 49848 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49848/7608103759042de92448c70cc4dc9cbabc38f44b/IteratorSeq.java/buggy/src/jvm/clojure/lang/IteratorSeq.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
760,
4498,
6926,
752,
12,
3198,
1400,
15329,
565,
309,
12,
2165,
18,
5332,
2134,
10756,
3639,
327,
394,
4498,
6926,
12,
2165,
1769,
565,
327,
446,
31,
97,
2,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
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,
760,
4498,
6926,
752,
12,
3198,
1400,
15329,
565,
309,
12,
2165,
18,
5332,
2134,
10756,
3639,
327,
394,
4498,
6926,
12,
2165,
1769,
565,
327,
446,
31,
97,
2,
-100,
-100,
-100,
-100,
-1... |
public void menuAboutToShow(IMenuManager manager) { JobInfo info = getSelectedInfo(); if (info == null) return; } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/3f652291cb5ee0b7cdf9df17b164b86372991f82/ProgressView.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
6459,
5414,
24813,
774,
5706,
12,
3445,
2104,
49,
940,
1035,
1063,
15329,
9506,
202,
2278,
966,
1376,
33,
588,
7416,
966,
5621,
9506,
202,
430,
12,
1376,
631,
2011,
13,
6862,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
6459,
5414,
24813,
774,
5706,
12,
3445,
2104,
49,
940,
1035,
1063,
15329,
9506,
202,
2278,
966,
1376,
33,
588,
7416,
966,
5621,
9506,
202,
430,
12,
1376,
631,
2011,
13,
6862,
... | ||
final ArrayListStack accessStack = getPageMap().getAccessStack(); if (accessStack.size() > 1) { final Access access = (Access)accessStack.get(0); if (!(access.getId() == getNumericId() && access.getVersion() == getCurrentVersionNumber())) { final WebPage clonedPage = (WebPage)Objects.cloneObject(this); final PageM... | final WebPage clonedPage = (WebPage)Objects.cloneObject(this); final PageMap map = getSession().createAutoPageMap(); clonedPage.moveToPageMap(map); setResponsePage(clonedPage); | public void onNewBrowserWindow() { // this is called when the browser did report history size of 0 final ArrayListStack accessStack = getPageMap().getAccessStack(); if (accessStack.size() > 1) { final Access access = (Access)accessStack.get(0); // if the browser history == 0 then this page must be the first in... | 46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/c7db922fb361b9bcb1265cf6418866b025666771/WebPage.java/buggy/wicket/src/java/wicket/markup/html/WebPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
603,
1908,
9132,
3829,
1435,
202,
95,
202,
202,
759,
333,
353,
2566,
1347,
326,
4748,
5061,
2605,
4927,
963,
434,
374,
202,
202,
6385,
2407,
2624,
2006,
2624,
273,
8957,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
603,
1908,
9132,
3829,
1435,
202,
95,
202,
202,
759,
333,
353,
2566,
1347,
326,
4748,
5061,
2605,
4927,
963,
434,
374,
202,
202,
6385,
2407,
2624,
2006,
2624,
273,
8957,
... |
Assert._assert(CONTEXT_SENSITIVE); | if (VerifyAssertions) Assert._assert(CONTEXT_SENSITIVE); | public void buildVarHeapCorrespondence(CallGraph cg) { Assert._assert(CONTEXT_SENSITIVE); BDDPairing V2cH2ctoV1cH1c = bdd.makePair(); V2cH2ctoV1cH1c.set(new BDDDomain[] {V2c, H2c}, new BDDDomain[] {V1c, H1c}); BDDPairing V2ctoV1c = bdd.makePair(V2c, V1c); BDDPairing H2ctoH1c = bdd... | 3029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3029/8371c17e7d96a1b3508e4445d41150c5950d82ba/PA.java/buggy/joeq_core/joeq/Compiler/Analysis/IPA/PA.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1361,
1537,
15648,
6217,
17863,
802,
12,
1477,
4137,
14947,
13,
288,
3639,
309,
261,
8097,
8213,
1115,
13,
5452,
6315,
11231,
12,
13181,
67,
26753,
16325,
1769,
3639,
605,
5698,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1361,
1537,
15648,
6217,
17863,
802,
12,
1477,
4137,
14947,
13,
288,
3639,
309,
261,
8097,
8213,
1115,
13,
5452,
6315,
11231,
12,
13181,
67,
26753,
16325,
1769,
3639,
605,
5698,
... |
lVar = (OptLocalVariable) vars.getVariable(name); | lVar = OptLocalVariable.get(vars, name); | private void visitGetVar(OptLocalVariable lVar, boolean isNumber, String name) { // TODO: Clean up use of lVar here and in set. if (hasVarsInRegs && lVar == null) lVar = (OptLocalVariable) vars.getVariable(name); if (lVar != null) { if (lVar.... | 19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/e3cd9db98a29867a6fa7aee4c11b3ad46fc615db/Codegen.java/buggy/src/org/mozilla/javascript/optimizer/Codegen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3757,
967,
1537,
12,
6179,
2042,
3092,
328,
1537,
16,
1250,
18103,
16,
11794,
514,
508,
13,
565,
288,
3639,
368,
2660,
30,
9645,
731,
999,
434,
328,
1537,
2674,
471,
316,
444... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
967,
1537,
12,
6179,
2042,
3092,
328,
1537,
16,
1250,
18103,
16,
11794,
514,
508,
13,
565,
288,
3639,
368,
2660,
30,
9645,
731,
999,
434,
328,
1537,
2674,
471,
316,
444... |
assertEquals(2, stmt.executeUpdate("DELETE FROM testtime")); | assertEquals(8, stmt.executeUpdate("DELETE FROM testtime")); | public void testGetTime() { try { Statement stmt = con.createStatement(); assertEquals(1, stmt.executeUpdate(TestUtil.insertSQL("testtime", "'01:02:03'"))); assertEquals(1, stmt.executeUpdate(TestUtil.insertSQL("testtime", "'23:59:59'"))); // Fall through helper timeTest(); assertEquals(2, stmt.executeUp... | 46409 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46409/66d00417c97a589c1d5a037916f2f518f9540aba/TimeTest.java/clean/src/interfaces/jdbc/org/postgresql/test/jdbc2/TimeTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
967,
950,
1435,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
3406,
3480,
273,
356,
18,
2640,
3406,
5621,
1082,
202,
11231,
8867,
12,
21,
16,
3480,
18,
8837,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
967,
950,
1435,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
3406,
3480,
273,
356,
18,
2640,
3406,
5621,
1082,
202,
11231,
8867,
12,
21,
16,
3480,
18,
8837,
1... |
if (prop instanceof ActionFactory.IWorkbenchAction) ((ActionFactory.IWorkbenchAction) prop).dispose(); | if (prop instanceof ActionFactory.IWorkbenchAction) { ((ActionFactory.IWorkbenchAction) prop).dispose(); } | static void disposeAction(JobTreeElement jte) { if (jte.isJobInfo()) { JobInfo ji = (JobInfo) jte; Job job = ji.getJob(); if (job != null) { Object prop = job .getProperty(IProgressConstants.ACTION_PROPERTY); if (prop insta... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/FinishedJobs.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/FinishedJobs.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
918,
15825,
1803,
12,
2278,
2471,
1046,
525,
736,
13,
288,
3639,
309,
261,
78,
736,
18,
291,
2278,
966,
10756,
288,
5411,
3956,
966,
525,
77,
273,
261,
2278,
966,
13,
525,
736,
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,
760,
918,
15825,
1803,
12,
2278,
2471,
1046,
525,
736,
13,
288,
3639,
309,
261,
78,
736,
18,
291,
2278,
966,
10756,
288,
5411,
3956,
966,
525,
77,
273,
261,
2278,
966,
13,
525,
736,
3... |
setCurrentStateInfo( null ); if ( event.getSource() instanceof ICDITarget ) { if ( isCurrent() /*&& !getState().equals( CDebugElementState.SUSPENDED )*/ ) { setState( CDebugElementState.SUSPENDED ); ICDISessionObject reason = event.getReason(); setCurrentStateInfo( reason ); if ( reason instanceof ICDIEndSteppingRange ... | ICDISessionObject reason = event.getReason(); setCurrentStateInfo( reason ); if ( reason instanceof ICDIEndSteppingRange ) { handleEndSteppingRange( (ICDIEndSteppingRange)reason ); } else if ( reason instanceof ICDIBreakpoint ) { handleBreakpointHit( (ICDIBreakpoint)reason ); } else if ( reason instanceof ICDISignalRec... | private void handleSuspendedEvent( ICDISuspendedEvent event ) { setState( CDebugElementState.SUSPENDED ); setCurrentStateInfo( null ); if ( event.getSource() instanceof ICDITarget ) { if ( isCurrent() /*&& !getState().equals( CDebugElementState.SUSPENDED )*/ ) { setState( CDebugElementState.SUSPENDED ); ICD... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/d2c66d5edc0b0d95778423c1ec5dc1a94761b1ff/CThread.java/clean/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CThread.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1640,
55,
22942,
1133,
12,
26899,
13498,
22942,
1133,
871,
262,
288,
202,
202,
542,
1119,
12,
385,
2829,
1046,
1119,
18,
6639,
3118,
22088,
11272,
202,
202,
542,
3935,
111... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1640,
55,
22942,
1133,
12,
26899,
13498,
22942,
1133,
871,
262,
288,
202,
202,
542,
1119,
12,
385,
2829,
1046,
1119,
18,
6639,
3118,
22088,
11272,
202,
202,
542,
3935,
111... |
{ } | { return null; } | public java.sql.ResultSet getSchemas() throws SQLException { // XXX-Not Implemented } | 45534 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45534/6a061da272f04e1463864065f87f1f3fd61d6162/DatabaseMetaData.java/clean/src/interfaces/jdbc/postgresql/DatabaseMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
1322,
7753,
1435,
1216,
6483,
202,
95,
202,
202,
759,
11329,
17,
1248,
18788,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
1322,
7753,
1435,
1216,
6483,
202,
95,
202,
202,
759,
11329,
17,
1248,
18788,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
menuService.populateMenu(menuManager, loc); | menuService.populateContributionManager(menuManager, loc); | public static final void registerContextMenu(final String menuId, final MenuManager menuManager, final ISelectionProvider selectionProvider, final boolean includeEditorInput, final IWorkbenchPart part, final Collection menuExtenders) { /* * Check to see if the same menu manager and selection provider have ... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/f7118bacdde0037a8b2ce9ab7a0a133d473eead0/PartSite.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartSite.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
727,
918,
1744,
27315,
12,
6385,
514,
3824,
548,
16,
1082,
202,
6385,
9809,
1318,
3824,
1318,
16,
1082,
202,
6385,
467,
6233,
2249,
4421,
2249,
16,
1082,
202,
6385,
1250,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
918,
1744,
27315,
12,
6385,
514,
3824,
548,
16,
1082,
202,
6385,
9809,
1318,
3824,
1318,
16,
1082,
202,
6385,
467,
6233,
2249,
4421,
2249,
16,
1082,
202,
6385,
1250,
... |
expireTime = Long.parseLong(System.getProperty(PROP_LAZY_UNLOADING_TIME, Long.toString(expireTime))); | expireTime = Long.parseLong(FrameworkProperties.getProperty(PROP_LAZY_UNLOADING_TIME, Long.toString(expireTime))); | private void readSystemState(File stateFile, File lazyFile, long expectedTimeStamp) { if (stateFile == null || !stateFile.isFile()) return; if (DEBUG_READER) readStartupTime = System.currentTimeMillis(); try { boolean lazyLoad = !Boolean.valueOf(System.getProperty(PROP_NO_LAZY_LOADING)).booleanValue(); syst... | 2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/795e339493dd76d146d62fd4fd2526e831c650bd/StateManager.java/buggy/bundles/org.eclipse.osgi/defaultAdaptor/src/org/eclipse/osgi/framework/adaptor/core/StateManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
855,
3163,
1119,
12,
812,
919,
812,
16,
1387,
7962,
812,
16,
1525,
2665,
21536,
13,
288,
202,
202,
430,
261,
2019,
812,
422,
446,
747,
401,
2019,
812,
18,
291,
812,
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,
225,
202,
1152,
918,
855,
3163,
1119,
12,
812,
919,
812,
16,
1387,
7962,
812,
16,
1525,
2665,
21536,
13,
288,
202,
202,
430,
261,
2019,
812,
422,
446,
747,
401,
2019,
812,
18,
291,
812,
10... |
return new DirectByteBufferImpl | if (isReadOnly()) return new DirectByteBufferImpl.ReadOnly | public ByteBuffer slice() { int rem = remaining(); return new DirectByteBufferImpl (this, VMDirectByteBuffer.adjustAddress(address, position()), rem, rem, 0, isReadOnly()); } | 1023 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1023/21b083dc05539f8f6730b5e5d961c31c78c9f00f/MappedByteBufferImpl.java/clean/libjava/java/nio/MappedByteBufferImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
7400,
2788,
1435,
225,
288,
565,
509,
849,
273,
4463,
5621,
565,
309,
261,
291,
12066,
10756,
327,
394,
9908,
12242,
2828,
18,
12066,
1377,
261,
2211,
16,
8251,
5368,
12242,
18,
133... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
7400,
2788,
1435,
225,
288,
565,
509,
849,
273,
4463,
5621,
565,
309,
261,
291,
12066,
10756,
327,
394,
9908,
12242,
2828,
18,
12066,
1377,
261,
2211,
16,
8251,
5368,
12242,
18,
133... |
} | public void sort(final Sorter sorter) { Collections.sort(fRunners, new Comparator<Runner>() { public int compare(Runner o1, Runner o2) { return sorter.compare(o1.getDescription(), o2.getDescription()); } }); for (Runner each : fRunners) { sorter.apply(each); } } | 48424 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48424/10b674dbba2a8ceadb65dfc8e8033072f41fc2aa/CompositeRunner.java/buggy/src/org/junit/internal/runners/CompositeRunner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1524,
12,
6385,
348,
4975,
19867,
13,
288,
202,
202,
15150,
18,
3804,
12,
74,
1997,
9646,
16,
394,
13359,
32,
9709,
34,
1435,
288,
1082,
202,
482,
509,
3400,
12,
9709,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1524,
12,
6385,
348,
4975,
19867,
13,
288,
202,
202,
15150,
18,
3804,
12,
74,
1997,
9646,
16,
394,
13359,
32,
9709,
34,
1435,
288,
1082,
202,
482,
509,
3400,
12,
9709,
... | |
BigDecimal value = new BigDecimal(literal); return value; | try { BigDecimal value = new BigDecimal(literal); if (literal.indexOf('e') == -1 && literal.indexOf('E') == -1) { return value; } } catch (RuntimeException e) { } return null; | public Object getValue(String literal) { BigDecimal value = new BigDecimal(literal); return value; } | 11226 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11226/b3e321e8f543516d1f086439850cedc9357c0174/XSDDecimalType.java/buggy/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/type/XSDDecimalType.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
2366,
12,
780,
7158,
13,
225,
288,
565,
8150,
460,
273,
394,
8150,
12,
13107,
1769,
565,
327,
460,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
2366,
12,
780,
7158,
13,
225,
288,
565,
8150,
460,
273,
394,
8150,
12,
13107,
1769,
565,
327,
460,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
View copy=new View(view.getVid(), new Vector(view.getMembers())); Vector members=copy.getMembers(); | Vector members=new Vector(view.getMembers()); | private View generateServiceView(List hosts) { View copy=new View(view.getVid(), new Vector(view.getMembers())); Vector members=copy.getMembers(); members.retainAll(hosts); return copy; } | 48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/9b6839e6b4fd1e5468397fff7d713fef86820db7/Multiplexer.java/clean/src/org/jgroups/mux/Multiplexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
4441,
2103,
1179,
1767,
12,
682,
7206,
13,
288,
3639,
4441,
1610,
33,
2704,
4441,
12,
1945,
18,
588,
58,
350,
9334,
394,
5589,
12,
1945,
18,
588,
6918,
1435,
10019,
3639,
5589,
48... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4441,
2103,
1179,
1767,
12,
682,
7206,
13,
288,
3639,
4441,
1610,
33,
2704,
4441,
12,
1945,
18,
588,
58,
350,
9334,
394,
5589,
12,
1945,
18,
588,
6918,
1435,
10019,
3639,
5589,
48... |
catch (Exception e) { | catch (Throwable e) { | public void test() throws Throwable { selenium.setContext("Test Visiblity", "info"); /* Test Visiblity */ // open|./tests/html/test_visibility.html| selenium.open("./tests/html/test_visibility.html"); boolean sawThrow4 = false; try { selenium.assertNotVisible("visibleParagraph"); } catch (Exception... | 50930 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50930/15660ffa40e3fe9cdf6de2752e79d93831571a27/TestVisibilityFailures.java/clean/clients/java/src/test/java/com/thoughtworks/selenium/generated/TestVisibilityFailures.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
1435,
1216,
4206,
288,
202,
202,
1786,
17327,
18,
542,
1042,
2932,
4709,
8077,
495,
80,
560,
3113,
315,
1376,
8863,
225,
1748,
7766,
8077,
495,
80,
560,
4202,
1195,
1082,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
1435,
1216,
4206,
288,
202,
202,
1786,
17327,
18,
542,
1042,
2932,
4709,
8077,
495,
80,
560,
3113,
315,
1376,
8863,
225,
1748,
7766,
8077,
495,
80,
560,
4202,
1195,
1082,... |
public String uri() | String uri() | public String uri() { return uri; } | 47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/440c6d37512f74dd9db881e407850628ec6fda72/QName.java/clean/xmlimplsrc/org/mozilla/javascript/xmlimpl/QName.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
514,
2003,
1435,
565,
288,
3639,
327,
2003,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
514,
2003,
1435,
565,
288,
3639,
327,
2003,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Long.valueOf(System.currentTimeMillis())); | new Long(System.currentTimeMillis())); | public void addNewTask(String taskName) { synchronized (launchingTasks) { launchingTasks.put(taskName, Long.valueOf(System.currentTimeMillis())); } } | 53958 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53958/26581520e15e30eb959199618c414c5a9d057742/JobTracker.java/clean/src/java/org/apache/hadoop/mapred/JobTracker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
20973,
2174,
12,
780,
20172,
13,
288,
3639,
3852,
261,
20738,
310,
6685,
13,
288,
1850,
8037,
310,
6685,
18,
458,
12,
4146,
461,
16,
17311,
394,
3407,
12,
3163,
18,
2972,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
20973,
2174,
12,
780,
20172,
13,
288,
3639,
3852,
261,
20738,
310,
6685,
13,
288,
1850,
8037,
310,
6685,
18,
458,
12,
4146,
461,
16,
17311,
394,
3407,
12,
3163,
18,
2972,
28... |
_t = __t362; | _t = __t370; | public final Expression valueComp(AST _t, PathExpr path ) throws RecognitionException, PermissionDeniedException,EXistException,XPathException { Expression step; AST valueComp_AST_in = (AST)_t; step= null; PathExpr left= new PathExpr(context); PathExpr right= new PathExpr(context); if (_t==null) _t=... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/d31ac0d651739cc32d55579c14a0786f6bfb4200/XPathTreeParser2.java/clean/src/org/exist/parser/XPathTreeParser2.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
5371,
225,
460,
2945,
12,
9053,
389,
88,
16,
202,
202,
743,
4742,
589,
202,
13,
1216,
9539,
16,
8509,
15877,
16,
2294,
376,
503,
16,
14124,
503,
288,
202,
202,
2300,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5371,
225,
460,
2945,
12,
9053,
389,
88,
16,
202,
202,
743,
4742,
589,
202,
13,
1216,
9539,
16,
8509,
15877,
16,
2294,
376,
503,
16,
14124,
503,
288,
202,
202,
2300,
22... |
|| isEqualParameterBindings( dataSetDesign.getInputParamBindings( ), dataSetDesign2.getInputParamBindings( ) ) == false | private boolean isEqualDataSetDesign( IBaseDataSetDesign dataSetDesign, IBaseDataSetDesign dataSetDesign2 ) { if ( dataSetDesign == dataSetDesign2 ) return true; if ( dataSetDesign == null || dataSetDesign2 == null ) return false; if ( isEqualString( dataSetDesign.getBeforeOpenScript( ), dataSetDesign2.get... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/6edcec0a800ad5e42d2a0edbfe03cb54b42bc33d/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,
1152,
1250,
21614,
13676,
15478,
12,
467,
2171,
13676,
15478,
14837,
15478,
16,
1082,
202,
45,
2171,
13676,
15478,
14837,
15478,
22,
262,
202,
95,
202,
202,
430,
261,
14837,
15478,
422... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
21614,
13676,
15478,
12,
467,
2171,
13676,
15478,
14837,
15478,
16,
1082,
202,
45,
2171,
13676,
15478,
14837,
15478,
22,
262,
202,
95,
202,
202,
430,
261,
14837,
15478,
422... | |
String[] dirs = globPattern.getPattern().split(File.separator); | String[] dirs = globPattern.getPattern().split(pathSplitter); | private void getFiles() { for (Iterator iter = patterns.iterator(); iter.hasNext();) { GlobPattern globPattern = (GlobPattern) iter.next(); String[] dirs = globPattern.getPattern().split(File.separator); File root = new File(dirs[0]); int idx = 1; if (glob2Regexp(dirs[0]) != null)... | 46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/6acc52ad20fb231f849a10dff6ce197f6ea9c617/Glob.java/clean/src/org/jruby/util/Glob.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
18262,
1435,
288,
202,
202,
1884,
261,
3198,
1400,
273,
6884,
18,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
1082,
202,
13499,
3234,
4715,
3234,
273,
261,
13499,
3234,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
18262,
1435,
288,
202,
202,
1884,
261,
3198,
1400,
273,
6884,
18,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
1082,
202,
13499,
3234,
4715,
3234,
273,
261,
13499,
3234,
13... |
if (isFrozen()) { return getRuby().getTrue(); } else { return getRuby().getFalse(); } } | if (isFrozen()) { return getRuby().getTrue(); } else { return getRuby().getFalse(); } } | public RubyBoolean m_frozen() { if (isFrozen()) { return getRuby().getTrue(); } else { return getRuby().getFalse(); } } | 52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/addcb75d5d86d9b1fd628d84d22b74cfc41f078e/RubyObject.java/clean/org/jruby/RubyObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
5507,
312,
67,
28138,
1435,
288,
3639,
309,
261,
291,
42,
9808,
10756,
288,
5411,
327,
4170,
10340,
7675,
588,
5510,
5621,
3639,
289,
469,
288,
5411,
327,
4170,
10340,
7675,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
5507,
312,
67,
28138,
1435,
288,
3639,
309,
261,
291,
42,
9808,
10756,
288,
5411,
327,
4170,
10340,
7675,
588,
5510,
5621,
3639,
289,
469,
288,
5411,
327,
4170,
10340,
7675,
... |
field = orb.create_alias_tc("IDL:omg.org/IOP/ProfileId:1.0", "ProfileId", orb.get_primitive_tc(TCKind.tk_ulong) ); members [ 0 ] = new StructMember("tag", field, null); | field = orb.create_alias_tc("IDL:omg.org/IOP/ProfileId:1.0", "ProfileId", orb.get_primitive_tc(TCKind.tk_ulong)); members[0] = new StructMember("tag", field, null); | public static TypeCode type() { if (typeCode == null) { ORB orb = ORB.init(); StructMember[] members = new StructMember[ 2 ]; TypeCode field; field = orb.create_alias_tc("IDL:omg.org/IOP/ProfileId:1.0", "ProfileId", orb.get_primitive_tc(TCKind... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/031055047d52e1cffbe5de5ce0c7da51215e931f/TaggedProfileHelper.java/buggy/core/src/classpath/org/org/omg/IOP/TaggedProfileHelper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
30332,
618,
1435,
225,
288,
565,
309,
261,
723,
1085,
422,
446,
13,
1377,
288,
3639,
4869,
38,
16823,
273,
4869,
38,
18,
2738,
5621,
3639,
7362,
4419,
8526,
4833,
273,
394,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
30332,
618,
1435,
225,
288,
565,
309,
261,
723,
1085,
422,
446,
13,
1377,
288,
3639,
4869,
38,
16823,
273,
4869,
38,
18,
2738,
5621,
3639,
7362,
4419,
8526,
4833,
273,
394,
7... |
public X10ParsedClassType_c(TypeSystem ts, LazyClassInitializer init, Source fromSource) { super(ts, init, fromSource); } | public X10ParsedClassType_c() { super();} | public X10ParsedClassType_c(TypeSystem ts, LazyClassInitializer init, Source fromSource) { super(ts, init, fromSource); } | 1832 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1832/06304835049655f4d36cb3ccb10bdc8623791da8/X10ParsedClassType_c.java/buggy/x10.compiler/src/polyglot/ext/x10/types/X10ParsedClassType_c.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1139,
2163,
11257,
18328,
67,
71,
12,
559,
3163,
3742,
16,
1082,
202,
14443,
797,
14729,
1208,
16,
1082,
202,
1830,
628,
1830,
13,
202,
95,
202,
202,
9565,
12,
3428,
16,
1208,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1139,
2163,
11257,
18328,
67,
71,
12,
559,
3163,
3742,
16,
1082,
202,
14443,
797,
14729,
1208,
16,
1082,
202,
1830,
628,
1830,
13,
202,
95,
202,
202,
9565,
12,
3428,
16,
1208,... |
copy(children, destinationPath, subMonitor); | copy(children, destinationPath, new SubProgressMonitor(subMonitor, 1)); | protected void copy(IResource[] resources, IPath destination, IProgressMonitor subMonitor) throws CoreException { for (int i = 0; i < resources.length; i++) { IResource source = resources[i]; IPath destinationPath = destination.append(source.getName()); IWorkspace ... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/2dabbfa1b7f44e69bb13a23952c9cc8424083158/CopyFilesAndFoldersOperation.java/clean/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1610,
12,
45,
1420,
8526,
2703,
16,
467,
743,
2929,
16,
5411,
467,
5491,
7187,
720,
7187,
13,
1216,
30015,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
2703,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1610,
12,
45,
1420,
8526,
2703,
16,
467,
743,
2929,
16,
5411,
467,
5491,
7187,
720,
7187,
13,
1216,
30015,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
2703,
18,
... |
rLog.log(persistenceDebugLevel, "Restore agdesc: " + agdesc); | rLog.log(persistenceDebugLevel, Messages.getString("rmi.log.82", agdesc)); | private synchronized void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { Hashtable h0 = (Hashtable) in.readObject(); Hashtable h1 = (Hashtable) in.readObject(); rLog.log(persistenceDebugLevel, "Restore: "); rLog.log(persis... | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/b348e06c6dac9b88f66841b025d00af43b5afac0/Rmid.java/clean/modules/rmi/src/main/java/org/apache/harmony/rmi/activation/Rmid.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
3852,
918,
17362,
12,
921,
4348,
316,
13,
7734,
1216,
1860,
16,
10403,
288,
5411,
18559,
366,
20,
273,
261,
5582,
14544,
13,
316,
18,
896,
921,
5621,
5411,
18559,
366,
21,
273,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
3852,
918,
17362,
12,
921,
4348,
316,
13,
7734,
1216,
1860,
16,
10403,
288,
5411,
18559,
366,
20,
273,
261,
5582,
14544,
13,
316,
18,
896,
921,
5621,
5411,
18559,
366,
21,
273,
26... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.