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 |
|---|---|---|---|---|---|---|
this.savable = flag; | this.savableFlag = flag; | public void setSavable(boolean flag) { this.savable = flag; } | 48076 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48076/bc23b41efb133ec280631d587aeb0f036378beb1/WaveApplet.java/buggy/src/web/onClient/hr/fer/zemris/vhdllab/applets/simulations/WaveApplet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
13928,
842,
429,
12,
6494,
2982,
13,
288,
202,
202,
2211,
18,
87,
842,
429,
273,
2982,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
13928,
842,
429,
12,
6494,
2982,
13,
288,
202,
202,
2211,
18,
87,
842,
429,
273,
2982,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
final int numberToTest = 5; for (int i = 0; i < numberToTest; i++) { String table = "#t0036_do_not_create_" + i; try { stmt.executeUpdate("drop table " + table); | final int numberToTest = 5; for (int i = 0; i < numberToTest; i++) { String table = "#t0036_do_not_create_" + i; try { stmt.executeUpdate("drop table " + table); | public void testErrors0036() throws Exception { Connection cx = getConnection(); Statement stmt = cx.createStatement(); final int numberToTest = 5; for (int i = 0; i < numberToTest; i++) { String table = "#t0036_do_not_create_" + i; try { stmt.executeUpdate("drop table " + table); assertTrue("Did not... | 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,
4229,
713,
5718,
1435,
1216,
1185,
202,
95,
202,
202,
1952,
9494,
273,
6742,
5621,
202,
202,
3406,
225,
3480,
273,
9494,
18,
2640,
3406,
5621,
202,
202,
6385,
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,
1842,
4229,
713,
5718,
1435,
1216,
1185,
202,
95,
202,
202,
1952,
9494,
273,
6742,
5621,
202,
202,
3406,
225,
3480,
273,
9494,
18,
2640,
3406,
5621,
202,
202,
6385,
509,
... |
String reportContents = readReportFile( repoReporter.getReportFile() ); | logger.info( "Sending error report to " + configuration.getErrorReportToName() + " via email." ); | public void cleanRepository( RepositoryCleanerConfiguration configuration ) throws Exception { File reportsBase = formatReportsBase( configuration.getReportsPath() ); File sourceRepositoryBase = normalizeSourceRepositoryBase( configuration.getSourceRepositoryPath() ); File targetRepos... | 47160 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47160/6e51d420ed174d20446e7387dab144f9c1a9eed0/RepositoryCleaner.java/buggy/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/RepositoryCleaner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2721,
3305,
12,
6281,
7605,
264,
1750,
1664,
262,
3639,
1216,
1185,
565,
288,
3639,
1387,
10557,
2171,
273,
740,
18631,
2171,
12,
1664,
18,
588,
18631,
743,
1435,
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,
918,
2721,
3305,
12,
6281,
7605,
264,
1750,
1664,
262,
3639,
1216,
1185,
565,
288,
3639,
1387,
10557,
2171,
273,
740,
18631,
2171,
12,
1664,
18,
588,
18631,
743,
1435,
11272,
3639,
... |
int fPixel = fData[(k*scan)+j]; | int fPixel = fData[offsetLine+j]; | final public void render(Surface surface, Shape clip, AffineTransform tx, String str, int x, int y, Color color) { if (str == null || str.length() == 0) { System.err.println("empty string!"); return; } BDFMetrics fm = (BDFMetrics)bdfFont.getFontMetric... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27da370c3e05f80083e8c618351850b1d1d108b6/BDFTextRenderer.java/clean/gui/src/awt/org/jnode/awt/font/bdf/BDFTextRenderer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
727,
1071,
918,
1743,
12,
11508,
9034,
16,
12383,
6807,
16,
23906,
558,
4059,
2229,
16,
5411,
514,
609,
16,
509,
619,
16,
509,
677,
16,
5563,
2036,
13,
288,
6647,
309,
261,
701,
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,
727,
1071,
918,
1743,
12,
11508,
9034,
16,
12383,
6807,
16,
23906,
558,
4059,
2229,
16,
5411,
514,
609,
16,
509,
619,
16,
509,
677,
16,
5563,
2036,
13,
288,
6647,
309,
261,
701,
422,
... |
&& getDimensionFor( sNewDimension ) != oldDimension ) | && ChartUIUtil.getDimensionType( sNewDimension ) != oldDimension ) | private Chart getConvertedChart( Chart currentChart, String sNewSubType, Orientation newOrientation, String sNewDimension ) { Chart helperModel = (Chart) EcoreUtil.copy( currentChart ); ChartDimension oldDimension = currentChart.getDimension( ); // Cache series to keep attributes during conversion ChartCacheMana... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/b6d51e391b8fcc3131fb813900f1292fdd6cc1d3/LineChart.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/LineChart.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
14804,
336,
22063,
7984,
12,
14804,
783,
7984,
16,
514,
272,
1908,
30511,
16,
1082,
202,
14097,
394,
14097,
16,
514,
272,
1908,
8611,
262,
202,
95,
202,
202,
7984,
4222,
1488,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14804,
336,
22063,
7984,
12,
14804,
783,
7984,
16,
514,
272,
1908,
30511,
16,
1082,
202,
14097,
394,
14097,
16,
514,
272,
1908,
8611,
262,
202,
95,
202,
202,
7984,
4222,
1488,
... |
try { ClassUtils.forName("org.hibernate.event.SessionEventListenerConfig"); registerEventsForHibernate30(actualSessionFactory); } catch (ClassNotFoundException e) { registerEventsForHibernate31(actualSessionFactory); } | try { ClassUtils.forName("org.hibernate.event.SessionEventListenerConfig"); registerEventsForHibernate30(actualSessionFactory); } catch (ClassNotFoundException e) { registerEventsForHibernate31(actualSessionFactory); | protected void doStart() throws CompassGpsException { super.doStart(); if (sessionFactory == null) { if (configuration == null) { throw new HibernateGpsDeviceException(buildMessage("Must set configuration or sessionFactory")); } try { sess... | 47300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47300/1e0ee76d2799b36291fda4b6ac3c176cb4204d50/Hibernate3GpsDevice.java/buggy/src/main/src/org/compass/gps/device/hibernate/Hibernate3GpsDevice.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
741,
1685,
1435,
1216,
5427,
428,
43,
1121,
503,
288,
3639,
2240,
18,
2896,
1685,
5621,
3639,
309,
261,
3184,
1733,
422,
446,
13,
288,
5411,
309,
261,
7025,
422,
446,
13,
288... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
741,
1685,
1435,
1216,
5427,
428,
43,
1121,
503,
288,
3639,
2240,
18,
2896,
1685,
5621,
3639,
309,
261,
3184,
1733,
422,
446,
13,
288,
5411,
309,
261,
7025,
422,
446,
13,
288... |
public LineSeriesUIProvider() { super(); } | public LineSeriesUIProvider( ) { super( ); } | public LineSeriesUIProvider() { super(); } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/ac26365eb54b9a10e69498a213cb6f605f15760b/LineSeriesUIProvider.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/series/LineSeriesUIProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5377,
6485,
5370,
2249,
1435,
565,
288,
3639,
2240,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5377,
6485,
5370,
2249,
1435,
565,
288,
3639,
2240,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
AST __t240 = _t; AST tmp815_AST_in = (AST)_t; | AST __t245 = _t; AST tmp825_AST_in = (AST)_t; | public final void colorstate(AST _t) throws RecognitionException { AST colorstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST head = null; AST fi = null; AST __t236 = _t; head = _t==ASTNULL ? null :(AST)_t; match(_t,COLOR); _t = _t.getFirstChild(); if ( inputState.guessing==0 ) { action.frameInitializ... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/f492fd11e745beb562b4e209643ba003aa8a6271/TreeParser01.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
2036,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
2036,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
2036,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
2036,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053... |
System.out.println(" ---------------------------------------- "); System.out.println("WF just got an update reply from a client"); System.out.println("WF -> client was: " + ppd); | currentClient.addDistClient2WF(ppd); currentClient.addDistWF2Client(e.getAttribute(SienaConstants.PREV_PROP_DELAY).longValue()); | private void handleNotification(Notification e){ ClientDesc currentClient; logger.debug("received " + e); // get the propagation delay AttributeValue absAttrib = e.getAttribute(SienaConstants.ABS_TIME_SENT); long absTimeSent = -1; long ppd = -1; // ppd: previous propagation delay if (absAttrib !=... | 14573 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14573/6bd8c2084f57686d9134c0462943cc7a40c93eef/WFSubscriber.java/clean/workflow/WFSubscriber.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1640,
4386,
12,
4386,
425,
15329,
565,
2445,
4217,
783,
1227,
31,
565,
1194,
18,
4148,
2932,
15213,
315,
397,
425,
1769,
565,
368,
336,
326,
25686,
4624,
565,
18876,
2417,
1239... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1640,
4386,
12,
4386,
425,
15329,
565,
2445,
4217,
783,
1227,
31,
565,
1194,
18,
4148,
2932,
15213,
315,
397,
425,
1769,
565,
368,
336,
326,
25686,
4624,
565,
18876,
2417,
1239... |
targetElement = null; if (!targetStack.isEmpty()) { targetStartTime = ((Long) targetTimeStack.pop()).longValue(); targetElement = (Element) targetStack.pop(); | TimedElement parentElement = null; Stack threadStack = getStack(); if (!threadStack.empty()) { TimedElement poppedStack = (TimedElement)threadStack.pop(); if (poppedStack != targetElement) { throw new RuntimeException("Mismatch - popped element = " + poppedStack.element + " finished task element = " + targetElement.ele... | public void targetFinished(BuildEvent event) { long totalTime = System.currentTimeMillis() - targetStartTime; targetElement.setAttribute(TIME_ATTR, DefaultLogger.formatTime(totalTime)); if (taskElement == null) { buildElement.appendChild(targetElement); } else { tas... | 639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/bdd7cc0e9751c1a7378bc59a9825e6fb5b169c71/XmlLogger.java/clean/src/main/org/apache/tools/ant/XmlLogger.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1018,
10577,
12,
3116,
1133,
871,
13,
288,
3639,
1525,
2078,
950,
273,
2332,
18,
2972,
28512,
1435,
300,
1018,
13649,
31,
3639,
1018,
1046,
18,
542,
1499,
12,
4684,
67,
12043,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1018,
10577,
12,
3116,
1133,
871,
13,
288,
3639,
1525,
2078,
950,
273,
2332,
18,
2972,
28512,
1435,
300,
1018,
13649,
31,
3639,
1018,
1046,
18,
542,
1499,
12,
4684,
67,
12043,
... |
double numDays = ((double)numSecs) / (60d * 60d * 24d); | public String getSummaryHtml(Connection conn, Timestamp startDate, Timestamp endDate) { long succeededCount = 0; long failedCount = 0; long c2pOut = 0; long p2sOut = 0; long s2pOut = 0; long p2cOut = 0; long numOut = 0; long c2pIn = 0; long p2sIn = 0; ... | 49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/d8722fe57a80add38fa269dde275c46a23855354/ReportingSummarizer.java/clean/tran/reporting/main/com/metavize/tran/reporting/reports/ReportingSummarizer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1322,
27804,
4353,
12,
1952,
1487,
16,
8159,
12572,
16,
8159,
13202,
13,
565,
288,
3639,
1525,
15784,
1380,
273,
374,
31,
3639,
1525,
2535,
1380,
273,
374,
31,
3639,
1525,
276,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
1322,
27804,
4353,
12,
1952,
1487,
16,
8159,
12572,
16,
8159,
13202,
13,
565,
288,
3639,
1525,
15784,
1380,
273,
374,
31,
3639,
1525,
2535,
1380,
273,
374,
31,
3639,
1525,
276,... | |
if ((attrib = propertyElement .attribute(CmsImportExportManager.N_PROPERTY_ATTRIB_TYPE)) != null && attrib.getValue() .equals(CmsImportExportManager.N_PROPERTY_ATTRIB_TYPE_SHARED)) { | if ((attrib = propertyElement.attribute(CmsImportExportManager.N_PROPERTY_ATTRIB_TYPE)) != null && attrib.getValue().equals(CmsImportExportManager.N_PROPERTY_ATTRIB_TYPE_SHARED)) { | protected List readPropertiesFromManifest( Element parentElement, String propertyKey, String propertyValue, List ignoredPropertyKeys) { // all imported Cms property objects are collected in map first forfaster access Map properties = new HashMap(); CmsProperty proper... | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/c7083871cfaaede3aa187a175b34be606d8431f2/A_CmsImport.java/buggy/src/org/opencms/importexport/A_CmsImport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
987,
855,
2297,
1265,
9121,
12,
3639,
3010,
30363,
16,
3639,
514,
30299,
16,
3639,
514,
12337,
16,
3639,
987,
5455,
1396,
2396,
13,
288,
3639,
368,
777,
9101,
2149,
1272,
2184,
854,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
987,
855,
2297,
1265,
9121,
12,
3639,
3010,
30363,
16,
3639,
514,
30299,
16,
3639,
514,
12337,
16,
3639,
987,
5455,
1396,
2396,
13,
288,
3639,
368,
777,
9101,
2149,
1272,
2184,
854,... |
public void addMethod(MethodInfo minfo) throws CannotCompileException { | public void addMethod(MethodInfo minfo) throws DuplicateMemberException { | public void addMethod(MethodInfo minfo) throws CannotCompileException { testExistingMethod(minfo); methods.add(minfo); } | 11369 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11369/1a24a3971de663bd7c7e303eab5bbaafe03b327e/ClassFile.java/buggy/src/main/javassist/bytecode/ClassFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
18223,
12,
1305,
966,
1131,
617,
13,
1216,
19072,
4419,
503,
288,
3639,
1842,
9895,
1305,
12,
1154,
617,
1769,
3639,
2590,
18,
1289,
12,
1154,
617,
1769,
565,
289,
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,
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,
18223,
12,
1305,
966,
1131,
617,
13,
1216,
19072,
4419,
503,
288,
3639,
1842,
9895,
1305,
12,
1154,
617,
1769,
3639,
2590,
18,
1289,
12,
1154,
617,
1769,
565,
289,
2,
-100,
-... |
List objectList = null; if (objectLookup != null) { objectList = (List) objectLookup.get(objectClass); | List objectList = null; if (objectLookup != null) { objectList = (List) objectLookup.get(objectClass); } if (objectList == null) { objectList = addContributorsFor(objectClass); if (objectList.size() == 0) objectList = EMPTY_LIST; cacheObjectLookup(objectClass, objectList); } return objectList; | protected List getContributors(Class objectClass) { List objectList = null; // Lookup the results in the cache first if (objectLookup != null) { objectList = (List) objectLookup.get(objectClass); } // If not in cache, build it if (objectList == null) { objectList = addContributorsFor(objectClass); if (objectList.s... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/f8685b0522e26c22b4270aa9a9be3499a2547f89/ObjectContributorManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ObjectContributorManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
987,
336,
442,
665,
13595,
12,
797,
23992,
13,
288,
202,
682,
733,
682,
273,
446,
31,
202,
202,
759,
8834,
326,
1686,
316,
326,
1247,
1122,
202,
430,
261,
1612,
6609,
480,
446,
13,
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,
4750,
987,
336,
442,
665,
13595,
12,
797,
23992,
13,
288,
202,
682,
733,
682,
273,
446,
31,
202,
202,
759,
8834,
326,
1686,
316,
326,
1247,
1122,
202,
430,
261,
1612,
6609,
480,
446,
13,
2... |
seq[i] = getArgument(i).eval(docs, contextSequence, contextItem); | seq[i] = getArgument(i).eval(contextSequence, contextItem); | public Sequence eval( DocumentSet docs, Sequence contextSequence, Item contextItem) throws XPathException { Sequence[] seq = new Sequence[getArgumentCount()]; for(int i = 0; i < getArgumentCount(); i++) { seq[i] = getArgument(i).eval(docs, contextSequence, contextItem); } functionDef.setArguments(seq); co... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/78bd70965f202738e2ca56dacfd71f5d58c0db69/FunctionCall.java/buggy/src/org/exist/xpath/FunctionCall.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8370,
5302,
12,
202,
202,
2519,
694,
3270,
16,
202,
202,
4021,
819,
4021,
16,
202,
202,
1180,
819,
1180,
13,
202,
202,
15069,
10172,
503,
288,
202,
202,
4021,
8526,
3833,
273,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8370,
5302,
12,
202,
202,
2519,
694,
3270,
16,
202,
202,
4021,
819,
4021,
16,
202,
202,
1180,
819,
1180,
13,
202,
202,
15069,
10172,
503,
288,
202,
202,
4021,
8526,
3833,
273,... |
/* * 'true' if the syntax (XML or standard) of the file is given * from external information: either via a JSP configuration element, * the ".jspx" suffix, or the enclosing file (for included resources) */ boolean isExternal = false; | /* * 'true' if the syntax (XML or standard) of the file is given * from external information: either via a JSP configuration element, * the ".jspx" suffix, or the enclosing file (for included resources) */ boolean isExternal = false; | private void determineSyntaxAndEncoding(String absFileName, JarFile jarFile, String jspConfigPageEnc) throws JasperException, IOException { isXml = false; /* * 'true' if the syntax (XML or standard) of the file is given * from external information: either via a JSP configuration element, ... | 26330 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/26330/6742cb8e2facefed0a144762d397571cc17eb04d/ParserController.java/clean/java/org/apache/jasper/compiler/ParserController.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
4199,
8070,
1876,
4705,
12,
780,
2417,
4771,
16,
25083,
565,
15644,
812,
22588,
16,
25083,
565,
514,
22535,
809,
1964,
4280,
13,
202,
3639,
1216,
804,
345,
457,
503,
16,
1860,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4199,
8070,
1876,
4705,
12,
780,
2417,
4771,
16,
25083,
565,
15644,
812,
22588,
16,
25083,
565,
514,
22535,
809,
1964,
4280,
13,
202,
3639,
1216,
804,
345,
457,
503,
16,
1860,
... |
pcTry = idata.itsExceptionTable[handlerOffset]; | static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, double[] argsDbl, int argShift, int argCount, NativeFunction fnOrScript, InterpreterData idata) throws JavaScrip... | 19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/38ae6b7b28f58f41fe9946ef4ee10d7bad328673/Interpreter.java/buggy/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
18701,
1033,
8526,
833,
16,
1645,
8526,
833,
40,
3083,
16,
18701,
509,
1501,
10544,
16,
509,
1501,
1380,
16,
18701... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
18701,
1033,
8526,
833,
16,
1645,
8526,
833,
40,
3083,
16,
18701,
509,
1501,
10544,
16,
509,
1501,
1380,
16,
18701... | |
String returnType = TypeGenerator.qualifiedClassName(params, type); String methodName = TypeGenerator.className(type) + "FromTerm"; | String returnType = TypeGenerator.qualifiedClassName(params, type); String methodName = TypeGenerator.className(type) + "FromTerm"; | private void genTypeFromTermMethod(Type type) { JavaGenerationParameters params = getJavaGenerationParameters(); String returnType = TypeGenerator.qualifiedClassName(params, type); String methodName = TypeGenerator.className(type) + "FromTerm"; println(" public " + returnType + " " + methodName + "(aterm.ATerm tr... | 3664 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3664/8a7f5eefd6d08ce575d82dee6d963fc83f20a5c0/FactoryGenerator.java/clean/apigen/src/apigen/gen/java/FactoryGenerator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3157,
559,
1265,
4065,
1305,
12,
559,
618,
13,
288,
202,
202,
5852,
13842,
2402,
859,
273,
18911,
13842,
2402,
5621,
202,
202,
780,
9424,
273,
1412,
3908,
18,
19724,
3834,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3157,
559,
1265,
4065,
1305,
12,
559,
618,
13,
288,
202,
202,
5852,
13842,
2402,
859,
273,
18911,
13842,
2402,
5621,
202,
202,
780,
9424,
273,
1412,
3908,
18,
19724,
3834,... |
public boolean eIsSet( EStructuralFeature eFeature ) | public boolean eIsSet( int featureID ) | public boolean eIsSet( EStructuralFeature eFeature ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case AttributePackage.EMBEDDED_IMAGE__TYPE : return isSetType( ); case AttributePackage.EMBEDDED_IMAGE__URL : return URL_EDEFAULT == null ? uRL != null : !URL_EDEFAULT.equals( uRL ); case Attr... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/036e8c78765730b146e5854b9d6c397a296fed86/EmbeddedImageImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/EmbeddedImageImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
20372,
12,
512,
14372,
4595,
425,
4595,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
3601,
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,
1250,
20372,
12,
512,
14372,
4595,
425,
4595,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
3601,
22... |
remove(obj.getOID()); | m_pssn.remove(m_data, m_pprop, obj); | public void remove(DataObject obj) { remove(obj.getOID()); } | 12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/aa917d9730b075c22b50c9c9b74ff04fb373d38b/DataAssociationImpl.java/clean/archive/proto/src/com/arsdigita/persistence/DataAssociationImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1206,
12,
21881,
1081,
13,
288,
3639,
312,
67,
84,
1049,
82,
18,
4479,
12,
81,
67,
892,
16,
312,
67,
84,
5986,
16,
1081,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1206,
12,
21881,
1081,
13,
288,
3639,
312,
67,
84,
1049,
82,
18,
4479,
12,
81,
67,
892,
16,
312,
67,
84,
5986,
16,
1081,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
... |
public XHtmlLexer() { this(new XmlLexer()); | protected XHtmlLexer(Lexer baseLexer) { super(baseLexer,false); | public XHtmlLexer() { this(new XmlLexer()); } | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/a63526f49b61ea0513bbc54301db43ed306c4182/XHtmlLexer.java/buggy/source/com/intellij/lexer/XHtmlLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1139,
4353,
13356,
1435,
288,
565,
333,
12,
2704,
5714,
13356,
10663,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
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,
282,
1071,
1139,
4353,
13356,
1435,
288,
565,
333,
12,
2704,
5714,
13356,
10663,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
ruby.getRuntime().callSuper(args); | return ruby.getRuntime().callSuper(args); | public RubyObject execute(RubyObject recv, RubyObject[] args, Ruby ruby) { LinkedList executeMethods = new LinkedList(Arrays.asList(methods)); int argsLength = args != null ? args.length : 0; // remove mehods with wrong parameter count. Iterator iter = executeMethods.iter... | 45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/802cbe506d8eeeb71320b3dc7c472bddfcdb98ba/JavaMethod.java/buggy/org/jruby/javasupport/JavaMethod.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
1836,
12,
54,
10340,
921,
10665,
16,
19817,
921,
8526,
833,
16,
19817,
22155,
13,
288,
3639,
10688,
1836,
4712,
273,
394,
10688,
12,
12726,
18,
345,
682,
12,
5163,
10019... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
1836,
12,
54,
10340,
921,
10665,
16,
19817,
921,
8526,
833,
16,
19817,
22155,
13,
288,
3639,
10688,
1836,
4712,
273,
394,
10688,
12,
12726,
18,
345,
682,
12,
5163,
10019... |
public void createExtensionPoint(long contributorId, String extensionPointId, String extensionPointLabel, String schemaLocation) { | public void createExtensionPoint(String contributorId, String extensionPointId, String extensionPointLabel, String schemaLocation) { | public void createExtensionPoint(long contributorId, String extensionPointId, String extensionPointLabel, String schemaLocation) { // Extension point Id might not be null if (extensionPointId == null) { String message = NLS.bind(RegistryMessages.create_failedExtensionPoint, extensionPointLabel); log(new Status(I... | 13530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13530/227ba024e2ac043be212c22a719fae92a7b2b445/ExtensionRegistry.java/clean/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionRegistry.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
752,
3625,
2148,
12,
5748,
31123,
548,
16,
514,
2710,
2148,
548,
16,
514,
2710,
2148,
2224,
16,
514,
1963,
2735,
13,
288,
202,
202,
759,
10021,
1634,
3124,
4825,
486,
506... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
752,
3625,
2148,
12,
5748,
31123,
548,
16,
514,
2710,
2148,
548,
16,
514,
2710,
2148,
2224,
16,
514,
1963,
2735,
13,
288,
202,
202,
759,
10021,
1634,
3124,
4825,
486,
506... |
public synchronized FocusListener[] getFocusListeners() { return (FocusListener[]) AWTEventMulticaster.getListeners(focusListener, FocusListener.class); | public synchronized FocusListener[] getFocusListeners() { return (FocusListener[]) AWTEventMulticaster.getListeners(focusListener, FocusListener.class); | public synchronized FocusListener[] getFocusListeners() { return (FocusListener[]) AWTEventMulticaster.getListeners(focusListener, FocusListener.class); } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Component.java/clean/core/src/classpath/java/java/awt/Component.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
478,
4560,
2223,
8526,
2812,
4560,
5583,
1435,
288,
202,
202,
2463,
261,
9233,
2223,
63,
5717,
432,
8588,
1133,
5049,
335,
2440,
18,
588,
5583,
12,
13923,
2223,
16,
478,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
482,
3852,
478,
4560,
2223,
8526,
2812,
4560,
5583,
1435,
288,
202,
202,
2463,
261,
9233,
2223,
63,
5717,
432,
8588,
1133,
5049,
335,
2440,
18,
588,
5583,
12,
13923,
2223,
16,
478,
... |
soldItem = new AdventureResult( soldItem.getItemID(), quantity ); | soldItem = new AdventureResult( soldItem.getItemId(), quantity ); | public void mouseReleased( MouseEvent e ) { if ( !finalizeTable( addTable ) ) return; AdventureResult soldItem = (AdventureResult) sellingList.getSelectedItem(); if ( soldItem == null ) return; int price = ((Integer) getValueAt( 0, 1 )).intValue(); int quantity = ((Integer) getValueAt( 0, 3 ... | 50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/db652071b06715a4456f702f081fbe5b47aa5a70/StoreManageFrame.java/clean/src/net/sourceforge/kolmafia/StoreManageFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
7644,
26363,
12,
17013,
1133,
425,
262,
1082,
202,
95,
9506,
202,
430,
261,
401,
30343,
1388,
12,
527,
1388,
262,
262,
6862,
202,
2463,
31,
9506,
202,
1871,
616,
594,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
7644,
26363,
12,
17013,
1133,
425,
262,
1082,
202,
95,
9506,
202,
430,
261,
401,
30343,
1388,
12,
527,
1388,
262,
262,
6862,
202,
2463,
31,
9506,
202,
1871,
616,
594,
12... |
IResource[] resources = getSelectedResources(typeMask, shell); | IResource[] resources = getSelectedResources(typeMask); DragSource dragSource = (DragSource) event.widget; Control control = dragSource.getControl(); Shell shell = control.getShell(); ReadOnlyStateChecker checker; | public void dragFinished(DragSourceEvent event) { if (event.doit == false) { return; } final int typeMask = IResource.FOLDER | IResource.FILE; DragSource dragSource = (DragSource) event.widget; Control control = dragSource.getControl(); Shell shell = control.getShell(); if (event.detail == DND.DROP_MOVE) { ... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/439bcba9d48b36afc2a4337355874cd6619d5232/NavigatorDragAdapter.java/buggy/bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/navigator/NavigatorDragAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
8823,
10577,
12,
11728,
1830,
1133,
871,
13,
288,
202,
202,
430,
261,
2575,
18,
2896,
305,
422,
629,
13,
288,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
6385,
509,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8823,
10577,
12,
11728,
1830,
1133,
871,
13,
288,
202,
202,
430,
261,
2575,
18,
2896,
305,
422,
629,
13,
288,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
6385,
509,
61... |
parentValue = readPropertyObjects(context, resourceName, siteRoot, false); parentValue.addAll(value); value.clear(); value.addAll(parentValue); resourceName = CmsResource.getParentFolder(resourceName); cont = (!"/".equals(resourceName)); } catch (CmsSecurityException se) { | parentProperties = readPropertyObjects(context, resourceName, siteRoot, false); parentProperties.removeAll(properties); parentProperties.addAll(properties); properties.clear(); properties.addAll(parentProperties); resourceName = CmsResource.getParentFolder(resourceName); cont = (!I_CmsConstants.C_FOLDER_SEPARATOR.eq... | public List readPropertyObjects(CmsRequestContext context, String resourceName, String siteRoot, boolean search) throws CmsException { // read the file header CmsResource resource = readFileHeader(context, resourceName); // check the permissions checkPermissions(context, resource... | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/59718c41db15c15a3d435b6e4a622d399c087a2a/CmsDriverManager.java/buggy/src/org/opencms/db/CmsDriverManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
855,
1396,
4710,
12,
4747,
21426,
819,
16,
514,
9546,
16,
514,
25512,
16,
1250,
1623,
13,
1216,
11228,
288,
3639,
368,
855,
326,
585,
1446,
3639,
7630,
1058,
273,
10413,
1864,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
855,
1396,
4710,
12,
4747,
21426,
819,
16,
514,
9546,
16,
514,
25512,
16,
1250,
1623,
13,
1216,
11228,
288,
3639,
368,
855,
326,
585,
1446,
3639,
7630,
1058,
273,
10413,
1864,
... |
" on " + now + " (GMT)"; | " on " + now + " (GMT) "; | private static void recordApproval(Context c,WorkflowItem wi, EPerson e) throws SQLException, AuthorizeException { Item item = wi.getItem(); // Get user's name + email address String usersName = getEPersonName( e ); // Get current date String now = DCDate.getCurrent().to... | 31338 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31338/fd403dfe7904f27b1621876ef0d32faefc6175ab/WorkflowManager.java/buggy/dspace/src/org/dspace/workflow/WorkflowManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
1409,
23461,
12,
1042,
276,
16,
8484,
1180,
16138,
16,
512,
8346,
425,
13,
3639,
1216,
6483,
16,
23859,
503,
565,
288,
3639,
4342,
761,
273,
16138,
18,
588,
1180,
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,
377,
3238,
760,
918,
1409,
23461,
12,
1042,
276,
16,
8484,
1180,
16138,
16,
512,
8346,
425,
13,
3639,
1216,
6483,
16,
23859,
503,
565,
288,
3639,
4342,
761,
273,
16138,
18,
588,
1180,
5621,
... |
println(" ATermList result;"); println(); println(" if (ATisEmpty(list) || ATgetLength(list) == 1) {"); println(" return arg;"); println(" }"); println(); println(" result = ATmakeList1(ATgetFirst(list));"); println(listNext); for (int i = 0; i < sepCount; i++) { println(" sep" + i + " = ATgetFirst(list);"); pri... | println(" ATermList result;"); println(); println(" if (ATisEmpty(list) || ATgetLength(list) == 1) {"); println(" return arg;"); println(" }"); println(); println(" result = ATmakeList1(ATgetFirst(list));"); println(listNext); for (int i = 0; i < sepCount; i++) { println(" sep" + i + " = ATgetFirst(list);"); pri... | private void genSeparatedReverse( SeparatedListType type, String typeId, String typeName) { String decl = typeName + " reverse" + typeId + "(" + typeName + " arg)"; String listNext = " list = ATgetNext(list);"; int sepCount = type.getSeparators().getLength(); hp... | 3664 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3664/dfc73e34bff6e386ff1bb2959e83fe3849358bb0/APIGenerator.java/buggy/apigen/src/apigen/gen/c/APIGenerator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3157,
28174,
12650,
12,
3639,
18032,
297,
690,
19366,
618,
16,
3639,
514,
24361,
16,
3639,
514,
8173,
13,
288,
3639,
514,
3496,
273,
8173,
397,
315,
4219,
6,
397,
24361,
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,
3238,
918,
3157,
28174,
12650,
12,
3639,
18032,
297,
690,
19366,
618,
16,
3639,
514,
24361,
16,
3639,
514,
8173,
13,
288,
3639,
514,
3496,
273,
8173,
397,
315,
4219,
6,
397,
24361,
397,
... |
eventId = Integer.parseInt((String)params.get(EVENT)); | eventId = Long.parseLong((String)params.get(EVENT)); | public void init(Map params) { if (params.containsKey(ACTION)){ actionId = Integer.parseInt((String)params.get(ACTION)); }; if (params.containsKey(EVENT)){ eventId = Integer.parseInt((String)params.get(EVENT)); }; if (pa... | 15553 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15553/0226e3155a77199cb8d9a1bbf1711ef4fe857cc4/AutoTransitionListener.java/buggy/src/java/com/atlassian/jira/toolkit/listener/AutoTransitionListener.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1208,
12,
863,
859,
13,
3639,
288,
5411,
309,
261,
2010,
18,
12298,
653,
12,
12249,
3719,
95,
7734,
1301,
548,
273,
2144,
18,
2670,
1702,
12443,
780,
13,
2010,
18,
588,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1208,
12,
863,
859,
13,
3639,
288,
5411,
309,
261,
2010,
18,
12298,
653,
12,
12249,
3719,
95,
7734,
1301,
548,
273,
2144,
18,
2670,
1702,
12443,
780,
13,
2010,
18,
588,
12,
... |
subcol.getPath() + "\" as \"subquery_id\" from (" + | col + "\" as \"subquery_id\" from (" + | public String getConditions() { SQLBlock block = getBlock(m_query); Path subProp; if (m_subProp == null) { Iterator paths = block.getPaths().iterator(); if (paths.hasNext()) { subProp = (Path) paths.next(); } else { return m_prop + " in (" + m_query + ")"; } if (paths.hasNext()) { throw new P... | 12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/54d1109c8784ed28fb1853ab9cc41b75b00c5168/InFilter.java/buggy/archive/proto/src/com/arsdigita/persistence/InFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
336,
8545,
1435,
288,
202,
3997,
1768,
1203,
273,
11902,
12,
81,
67,
2271,
1769,
202,
743,
720,
4658,
31,
202,
430,
261,
81,
67,
1717,
4658,
422,
446,
13,
288,
202,
565,
44... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
336,
8545,
1435,
288,
202,
3997,
1768,
1203,
273,
11902,
12,
81,
67,
2271,
1769,
202,
743,
720,
4658,
31,
202,
430,
261,
81,
67,
1717,
4658,
422,
446,
13,
288,
202,
565,
44... |
URL url = module.findResource( path, IResourceLocator.LIBRARY ); if ( url == null ) { DesignParserException ex = new DesignParserException( new String[]{path}, DesignParserException.DESIGN_EXCEPTION_FILE_NOT_FOUND ); List exceptionList = new ArrayList( ); exceptionList.add( ex ); throw new DesignFileException( path, ex... | public void reloadLibrary( String location ) throws DesignFileException, SemanticException { Library library = module.getLibraryByLocation( location, IAccessControl.ARBITARY_LEVEL ); if ( library == null ) throw new LibraryException( library, null, LibraryException.DESIGN_EXCEPTION_LIBRARY_NOT_FOUND ); /... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/504b26cb6762d96a040054da8742874243099103/LibraryCommand.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/LibraryCommand.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
7749,
9313,
12,
514,
2117,
262,
1216,
29703,
812,
503,
16,
1082,
202,
13185,
9941,
503,
202,
95,
202,
202,
9313,
5313,
273,
1605,
18,
588,
9313,
858,
2735,
12,
2117,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
7749,
9313,
12,
514,
2117,
262,
1216,
29703,
812,
503,
16,
1082,
202,
13185,
9941,
503,
202,
95,
202,
202,
9313,
5313,
273,
1605,
18,
588,
9313,
858,
2735,
12,
2117,
16,
... | |
public Object getProperty (String propertyId) | public Object getProperty(String propertyId) | public Object getProperty (String propertyId) throws SAXNotRecognizedException { if ((PROPERTY + "declaration-handler").equals (propertyId)) return declHandler == base ? null : declHandler; if ((PROPERTY + "lexical-handler").equals (propertyId)) return lexicalHandler == base ? null : lexicalHandler; ... | 25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/7fb7568e63c3fe14af521de4699cb37898923ca7/SAXDriver.java/clean/libjava/gnu/xml/aelfred2/SAXDriver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
3911,
12,
780,
31894,
13,
565,
1216,
10168,
1248,
5650,
9367,
503,
565,
288,
202,
430,
14015,
9900,
397,
315,
22448,
17,
4176,
20387,
14963,
261,
4468,
548,
3719,
202,
565,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
3911,
12,
780,
31894,
13,
565,
1216,
10168,
1248,
5650,
9367,
503,
565,
288,
202,
430,
14015,
9900,
397,
315,
22448,
17,
4176,
20387,
14963,
261,
4468,
548,
3719,
202,
565,
32... |
p.print(Util.networkSendPrefix(dynamicOutput, Util.getBaseType(tapeType))); | p.print(Util.networkSendPrefix(dynamicOutput, CommonUtils.getBaseType(tapeType))); | private void pushArray(SIRPushExpression self, CType tapeType, JExpression val) { assert !dynamicOutput : "pushing of non-scalars at SSG boundary not supported yet"; CType baseType = ((CArrayType)tapeType).getBaseType(); String dims[] = U... | 5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/8069637e7370bc8834fe0405b82a874da1817ee0/FlatIRToC.java/buggy/streams/src/at/dms/kjc/spacedynamic/FlatIRToC.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1817,
1076,
12,
2320,
54,
7621,
2300,
365,
16,
18701,
385,
559,
268,
1273,
559,
16,
21821,
804,
2300,
1244,
13,
377,
288,
3639,
1815,
401,
14507,
1447,
294,
315,
6206,
310,
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,
377,
3238,
918,
1817,
1076,
12,
2320,
54,
7621,
2300,
365,
16,
18701,
385,
559,
268,
1273,
559,
16,
21821,
804,
2300,
1244,
13,
377,
288,
3639,
1815,
401,
14507,
1447,
294,
315,
6206,
310,
4... |
metadataArray = items[i].getDC(element, qualifier, Item.ANY); | metadataArray = items[i].getMetadata(schema, element, qualifier, Item.ANY); | public int doStartTag() throws JspException { JspWriter out = pageContext.getOut(); HttpServletRequest hrq = (HttpServletRequest) pageContext.getRequest(); boolean emphasiseDate = false; boolean emphasiseTitle = false; if (emphColumn != null) { emphasi... | 1868 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1868/792e695713d23ebb03ffcf677f053bfcf20eb96e/ItemListTag.java/clean/dspace/src/org/dspace/app/webui/jsptag/ItemListTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
741,
30512,
1435,
1216,
27485,
565,
288,
3639,
19300,
2289,
596,
273,
21442,
18,
588,
1182,
5621,
3639,
9984,
15407,
85,
273,
261,
2940,
18572,
13,
21442,
18,
588,
691,
5621,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
741,
30512,
1435,
1216,
27485,
565,
288,
3639,
19300,
2289,
596,
273,
21442,
18,
588,
1182,
5621,
3639,
9984,
15407,
85,
273,
261,
2940,
18572,
13,
21442,
18,
588,
691,
5621,
7... |
this.treeViewer.getControl().setRedraw(false); | public void refresh() { if (!this.treeViewer.getControl().isDisposed()) { this.treeViewer.getControl().setRedraw(false); this.treeViewer.refresh(); this.menuManager.createDropDownMenu(getViewSite().getActionBars().getMenuManager()); this.treeViewer.getControl().set... | 45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/816e04b905216b42a5420b6789f4646cb8c502c5/ViolationOverview.java/buggy/pmd-eclipse-ui/src/net/sourceforge/pmd/ui/views/ViolationOverview.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4460,
1435,
288,
3639,
309,
16051,
2211,
18,
3413,
18415,
18,
588,
3367,
7675,
291,
1669,
7423,
10756,
288,
13491,
333,
18,
3413,
18415,
18,
9144,
5621,
5411,
333,
18,
5414,
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,
1071,
918,
4460,
1435,
288,
3639,
309,
16051,
2211,
18,
3413,
18415,
18,
588,
3367,
7675,
291,
1669,
7423,
10756,
288,
13491,
333,
18,
3413,
18415,
18,
9144,
5621,
5411,
333,
18,
5414,
13... | |
bundleFile = BundleFile.createBundleFile(osgiBase, this); | bundleFile = adaptor.createBundleFile(osgiBase, this); | public SystemBundleData(FrameworkAdaptor adaptor) throws BundleException { osgiBase = getOsgiBase(); this.manifest = createManifest(adaptor); String sVersion = (String) manifest.get(Constants.BUNDLE_VERSION); if (sVersion != null) { version = new Version(sVersion); } if (osgiBase != null) try { bundleFile... | 2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/a15b292e50025baa0edd19f8863b0da9de386d91/SystemBundleData.java/clean/bundles/org.eclipse.osgi/defaultAdaptor/src/org/eclipse/osgi/framework/adaptor/core/SystemBundleData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2332,
3405,
751,
12,
13701,
29888,
9087,
13,
1216,
8539,
503,
288,
202,
202,
538,
10052,
2171,
273,
17971,
17537,
2171,
5621,
202,
202,
2211,
18,
14357,
273,
752,
9121,
12,
1919... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2332,
3405,
751,
12,
13701,
29888,
9087,
13,
1216,
8539,
503,
288,
202,
202,
538,
10052,
2171,
273,
17971,
17537,
2171,
5621,
202,
202,
2211,
18,
14357,
273,
752,
9121,
12,
1919... |
return RubyBoolean.newBoolean(getRuntime(), handler.isSync()); | return getRuntime().newBoolean(handler.isSync()); | public RubyBoolean sync() { return RubyBoolean.newBoolean(getRuntime(), handler.isSync()); } | 46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyIO.java/buggy/src/org/jruby/RubyIO.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
5507,
3792,
1435,
288,
3639,
327,
18814,
7675,
2704,
5507,
12,
4176,
18,
291,
4047,
10663,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
19817,
5507,
3792,
1435,
288,
3639,
327,
18814,
7675,
2704,
5507,
12,
4176,
18,
291,
4047,
10663,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
relevance += computeRelevanceForQualification(true); | if(!this.resolvingImports) { relevance += computeRelevanceForQualification(true); } | public void acceptPackage(char[] packageName) { if (this.knownPkgs.containsKey(packageName)) return; this.knownPkgs.put(packageName, this); int relevance = computeBaseRelevance(); relevance += computeRelevanceForInterestingProposal(); relevance += computeRelevanceForCaseMatching(this.qualifiedCompletionToken ==... | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/46f57536ed8e2bfbe5a9484e153647c7c5b9cb5d/CompletionEngine.java/buggy/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2791,
2261,
12,
3001,
8526,
9929,
13,
288,
202,
202,
430,
261,
2211,
18,
2994,
7789,
564,
18,
12298,
653,
12,
5610,
461,
3719,
327,
31,
202,
202,
2211,
18,
2994,
7789,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2791,
2261,
12,
3001,
8526,
9929,
13,
288,
202,
202,
430,
261,
2211,
18,
2994,
7789,
564,
18,
12298,
653,
12,
5610,
461,
3719,
327,
31,
202,
202,
2211,
18,
2994,
7789,
... |
public void paintFixed(Context c, BlockBox block) { int xoff = 0; int yoff = 0; xoff = c.canvas.getWidth(); yoff = c.canvas.getHeight(); if (block.right_set) { xoff = xoff - block.width; } if (block.bottom_set) { //joshy: this should rea... | 52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/07ab625b03cad242caa27ac48e830592130b24a1/BoxLayout.java/buggy/src/java/org/joshy/html/BoxLayout.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
12574,
7505,
12,
1042,
276,
16,
3914,
3514,
1203,
13,
288,
474,
619,
3674,
273,
374,
31,
474,
677,
3674,
273,
374,
31,
92,
3674,
273,
276,
18,
15424,
18,
588,
2384,
5621,
93,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
12574,
7505,
12,
1042,
276,
16,
3914,
3514,
1203,
13,
288,
474,
619,
3674,
273,
374,
31,
474,
677,
3674,
273,
374,
31,
92,
3674,
273,
276,
18,
15424,
18,
588,
2384,
5621,
93,
36... | ||
protected void applyForegroundColor(Color color, Control control) { applyForegroundColor(color, control, getForegroundColorExclusions()); | private void applyForegroundColor(Color color, Control control, List exclusions) { if (!exclusions.contains(control)) { control.setForeground(color); } if (control instanceof Composite) { Control[] children = ((Composite) control).getChildren(); for (int i = 0; i < children.length; i++) applyForegroundColor(color, chil... | protected void applyForegroundColor(Color color, Control control) { applyForegroundColor(color, control, getForegroundColorExclusions()); } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/705919acc372ddcf189efef7cc31fef381465fda/PopupDialog.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/PopupDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
2230,
23206,
2957,
12,
2957,
2036,
16,
8888,
3325,
13,
288,
202,
202,
9010,
23206,
2957,
12,
3266,
16,
3325,
16,
2812,
479,
2915,
2957,
424,
25364,
10663,
202,
97,
2,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
2230,
23206,
2957,
12,
2957,
2036,
16,
8888,
3325,
13,
288,
202,
202,
9010,
23206,
2957,
12,
3266,
16,
3325,
16,
2812,
479,
2915,
2957,
424,
25364,
10663,
202,
97,
2,
-1... |
if (length > wavail) length = wavail; System.arraycopy(work, wpos, buf, offset, length); wpos += length; return length; | if (! refill ()) return -1; wavail = wcount - wpos; | public int read(char buf[], int offset, int length) throws IOException { synchronized (lock) { if (in == null) throw new IOException("Stream closed"); int wavail = wcount - wpos; if (wavail > 0) { if (length > wavail) length = wavail; System.arraycopy(work, wpos, buf, offset, length); w... | 1739 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1739/eedb76d3bdbf92cbadbbd11160701058449ceb26/InputStreamReader.java/clean/libjava/java/io/InputStreamReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
855,
12,
3001,
1681,
63,
6487,
509,
1384,
16,
509,
769,
13,
1216,
1860,
225,
288,
565,
3852,
261,
739,
13,
1377,
288,
202,
430,
261,
267,
422,
446,
13,
202,
225,
604,
394,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
855,
12,
3001,
1681,
63,
6487,
509,
1384,
16,
509,
769,
13,
1216,
1860,
225,
288,
565,
3852,
261,
739,
13,
1377,
288,
202,
430,
261,
267,
422,
446,
13,
202,
225,
604,
394,
... |
isEqual = (id == ((IDManagerPK)other).id); | isEqual = (id == ((IDManagerPK) other).id); | public boolean equals(Object other) { boolean isEqual = false; if (other instanceof IDManagerPK) { if (id == null) isEqual = (id == ((IDManagerPK)other).id); else isEqual = (id.intValue() == ((IDManagerPK)other).id.intValue()); } return isEqual; } | 5750 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5750/3d57ae5a342bc10d6c418636c07193a0289ffd6b/IDManagerPK.java/buggy/EJB_EntityBean_id_BMP/edu/rice/rubis/beans/IDManagerPK.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
1606,
12,
921,
1308,
13,
282,
288,
565,
1250,
21614,
273,
629,
31,
565,
309,
261,
3011,
1276,
1599,
1318,
8784,
13,
565,
288,
1377,
309,
261,
350,
422,
446,
13,
3639,
21614,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
1606,
12,
921,
1308,
13,
282,
288,
565,
1250,
21614,
273,
629,
31,
565,
309,
261,
3011,
1276,
1599,
1318,
8784,
13,
565,
288,
1377,
309,
261,
350,
422,
446,
13,
3639,
21614,... |
final XSLTC xsltc = getParser().getXSLTC(); final Vector ni = xsltc.getNamesIndex(); String name = null; int star = 0; if (_nodeType >= DTM.NTYPES) { name = (String)ni.elementAt(_nodeType-DTM.NTYPES); star = name.lastIndexOf('*'); } | public void translate(ClassGenerator classGen, MethodGenerator methodGen) { final ConstantPoolGen cpg = classGen.getConstantPool(); final InstructionList il = methodGen.getInstructionList(); if (hasPredicates()) { translatePredicates(classGen, methodGen); } else { // If it is an attribute but not '@*', '@at... | 2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/7fd5ff8186c6d7b44ab4602771ea1717c32aa980/Step.java/buggy/src/org/apache/xalan/xsltc/compiler/Step.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4204,
12,
797,
3908,
667,
7642,
16,
2985,
3908,
707,
7642,
13,
288,
202,
6385,
10551,
2864,
7642,
3283,
75,
273,
667,
7642,
18,
588,
6902,
2864,
5621,
202,
6385,
24605,
682,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4204,
12,
797,
3908,
667,
7642,
16,
2985,
3908,
707,
7642,
13,
288,
202,
6385,
10551,
2864,
7642,
3283,
75,
273,
667,
7642,
18,
588,
6902,
2864,
5621,
202,
6385,
24605,
682,
... | |
double skillModifier = 0D; | speedSkillModifier = 0D; | private double getSpeed(Direction direction) { // Determine the terrain grade in the vehicle's current direction. TerrainElevation terrain = mars.getSurfaceFeatures().getSurfaceTerrain(); double terrainGrade = terrain.determineTerrainDifficulty(startingLocation, direction); vehic... | 49678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49678/498cb8ad0db321b7562983996fe57d8733428b9a/DriveGroundVehicle.java/clean/org/mars_sim/msp/simulation/task/DriveGroundVehicle.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1645,
1322,
5868,
12,
8212,
4068,
13,
288,
7734,
368,
10229,
326,
19272,
7596,
7324,
316,
326,
24815,
1807,
783,
4068,
18,
3639,
28991,
7596,
17274,
7112,
19272,
7596,
273,
312,
5913,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1645,
1322,
5868,
12,
8212,
4068,
13,
288,
7734,
368,
10229,
326,
19272,
7596,
7324,
316,
326,
24815,
1807,
783,
4068,
18,
3639,
28991,
7596,
17274,
7112,
19272,
7596,
273,
312,
5913,... |
assertEquals( NonEmptyException.class, | this.assertEquals( NonEmptyException.class, | public void test_either_exception_2() { ReplyHandler handler = new ReplyHandler() { public void ex_3_excep( ExceptionHolder excep_holder ) { assertEquals( NonEmptyException.class, getException( excep_holder ).getClass() ); ... | 46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/3de75c0ddd185ba64a45a33976f541145137b0be/CallbackTest.java/clean/test/regression/src/org/jacorb/test/orb/CallbackTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
67,
73,
2927,
67,
4064,
67,
22,
1435,
565,
288,
3639,
16202,
1503,
1838,
273,
394,
16202,
1503,
1435,
3639,
288,
5411,
1071,
918,
431,
67,
23,
67,
338,
311,
84,
12,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
67,
73,
2927,
67,
4064,
67,
22,
1435,
565,
288,
3639,
16202,
1503,
1838,
273,
394,
16202,
1503,
1435,
3639,
288,
5411,
1071,
918,
431,
67,
23,
67,
338,
311,
84,
12,
1... |
setTitlePosition((Position)newValue); | setTitlePosition((Position) newValue); | public void eSet(EStructuralFeature eFeature, Object newValue) { switch (eDerivedStructuralFeatureID(eFeature)) { case TypePackage.PIE_SERIES__VISIBLE: setVisible(((Boolean)newValue).booleanValue()); return; case TypePackage.PIE_SERIES__LABEL: ... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/PieSeriesImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/impl/PieSeriesImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
20199,
12,
41,
14372,
4595,
425,
4595,
16,
1033,
6129,
13,
565,
288,
3639,
1620,
261,
73,
21007,
14372,
4595,
734,
12,
73,
4595,
3719,
3639,
288,
5411,
648,
1412,
2261,
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,
918,
20199,
12,
41,
14372,
4595,
425,
4595,
16,
1033,
6129,
13,
565,
288,
3639,
1620,
261,
73,
21007,
14372,
4595,
734,
12,
73,
4595,
3719,
3639,
288,
5411,
648,
1412,
2261,
18,
2... |
lineSeparator = null; | lineSeparator = jEdit.getProperty( "buffer.lineSeparator", System.getProperty("line.separator")); | private SegmentBuffer read(Reader in, long length, boolean insert) throws IOException { /* we guess an initial size for the array */ IntegerArray endOffsets = new IntegerArray( Math.max(1,(int)(length / 50))); // only true if the file size is known boolean trackProgress = (!buffer.isTemporary() && length != 0);... | 8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/68ded6789be40f3745fc7fab4ef4bf28b2afc4b4/BufferIORequest.java/buggy/org/gjt/sp/jedit/buffer/BufferIORequest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
10807,
1892,
855,
12,
2514,
316,
16,
1525,
769,
16,
202,
202,
6494,
2243,
13,
1216,
1860,
202,
95,
202,
202,
20308,
732,
7274,
392,
2172,
963,
364,
326,
526,
1195,
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,
1152,
10807,
1892,
855,
12,
2514,
316,
16,
1525,
769,
16,
202,
202,
6494,
2243,
13,
1216,
1860,
202,
95,
202,
202,
20308,
732,
7274,
392,
2172,
963,
364,
326,
526,
1195,
202,
202,
... |
final int indexOfClosingParen = javadoc.indexOf(')', indexOfOpenParen); | final int indexOfClosingParen = javadocContents.indexOf(')', indexOfOpenParen); | public String[] getParameterNames() throws JavaModelException { if (this.parameterNames != null) return this.parameterNames; // force source mapping if not already done IType type = (IType) getParent(); SourceMapper mapper = getSourceMapper(); if (mapper != null) { char[][] paramNames = mapper.getMethodParameterName... | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/a6002c5b8e946e1be020c41b3eb8e042f8637f31/BinaryMethod.java/clean/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/BinaryMethod.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
514,
8526,
5575,
1557,
1435,
1216,
5110,
1488,
503,
288,
202,
430,
261,
2211,
18,
6775,
1557,
480,
446,
13,
3196,
202,
2463,
333,
18,
6775,
1557,
31,
202,
759,
2944,
1084,
2874,
309,
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,
1071,
514,
8526,
5575,
1557,
1435,
1216,
5110,
1488,
503,
288,
202,
430,
261,
2211,
18,
6775,
1557,
480,
446,
13,
3196,
202,
2463,
333,
18,
6775,
1557,
31,
202,
759,
2944,
1084,
2874,
309,
4... |
Level l = makeLevel(block.getRetryCount()); if(l == null) throw new IllegalArgumentException(); int levelNumber = l.level; l.remove(block); | int levelNumber = block.getRetryCount(); | public synchronized void nonfatalError(SplitfileBlock block, int reasonCode) { nonfatalErrors.inc(reasonCode); runningBlocks.remove(block); Level l = makeLevel(block.getRetryCount()); if(l == null) throw new IllegalArgumentException(); int levelNumber = l.level; l.remove(block); levelNumber++; if(levelNumber >... | 50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/b7133fb27d8a7d18085bd1d9ba428adcdbe21b69/RetryTracker.java/clean/src/freenet/client/RetryTracker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
918,
1661,
30709,
668,
12,
5521,
768,
1768,
1203,
16,
509,
3971,
1085,
13,
288,
202,
202,
5836,
30709,
4229,
18,
9523,
12,
10579,
1085,
1769,
202,
202,
8704,
6450,
18,
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,
3852,
918,
1661,
30709,
668,
12,
5521,
768,
1768,
1203,
16,
509,
3971,
1085,
13,
288,
202,
202,
5836,
30709,
4229,
18,
9523,
12,
10579,
1085,
1769,
202,
202,
8704,
6450,
18,
4... |
if ( dummyProvider.getPropertyTypeCode( propName ) == PropertyType.SCRIPT_TYPE || dummyProvider.getPropertyTypeCode( propName ) == PropertyType.XML_TYPE ) | if ( dummyProvider.getPropertyTypeCode( propName ) == IPropertyType.SCRIPT_TYPE || dummyProvider.getPropertyTypeCode( propName ) == IPropertyType.XML_TYPE ) | private void writeOdaDummyProperties( DesignElement obj, ODAProvider provider ) { assert provider instanceof OdaDummyProvider; OdaDummyProvider dummyProvider = (OdaDummyProvider) provider; List propNames = dummyProvider.getPropertyNames( ); for ( int i = 0; i < propNames.size( ); i++ ) { String propName = (St... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/d802c33711e0d111551ae23575895cd060f085b6/ModuleWriter.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/writer/ModuleWriter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1045,
51,
2414,
20094,
2297,
12,
29703,
1046,
1081,
16,
1082,
202,
1212,
37,
2249,
2893,
262,
202,
95,
202,
202,
11231,
2893,
1276,
531,
2414,
20094,
2249,
31,
202,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1045,
51,
2414,
20094,
2297,
12,
29703,
1046,
1081,
16,
1082,
202,
1212,
37,
2249,
2893,
262,
202,
95,
202,
202,
11231,
2893,
1276,
531,
2414,
20094,
2249,
31,
202,
202,
... |
String m = map.toString(); int mlen = m.length(); | if (mlen==0) return sv; | public static Object translate (Object str, Object map, Object trans) { if (str == Values.empty || map == Values.empty || trans == Values.empty) return Values.empty; String m = map.toString(); int mlen = m.length(); if (mlen==0) return str.toString(); String t = trans.toString(); StringBuffer ... | 36870 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36870/92d18dec25b6c6719796a034d502322bf830c93c/StringValue.java/clean/gnu/xquery/util/StringValue.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
1033,
4204,
261,
921,
609,
16,
1033,
852,
16,
1033,
906,
13,
225,
288,
565,
309,
261,
701,
422,
6876,
18,
5531,
747,
852,
422,
6876,
18,
5531,
747,
906,
422,
6876,
18,
5531... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
4204,
261,
921,
609,
16,
1033,
852,
16,
1033,
906,
13,
225,
288,
565,
309,
261,
701,
422,
6876,
18,
5531,
747,
852,
422,
6876,
18,
5531,
747,
906,
422,
6876,
18,
5531... |
return (Integer)cell; | return new Integer(((BigDecimal)cell).intValue()); | Object databaseToCache(final Object cell) { if(cell==null) return null; else return (Integer)cell; } | 50290 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50290/812a19aa291f82ae6cba38784878cefd69a3610c/IntegerAttribute.java/clean/lib/src/com/exedio/cope/lib/IntegerAttribute.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
921,
2063,
774,
1649,
12,
6385,
1033,
2484,
13,
202,
95,
202,
202,
430,
12,
3855,
631,
2011,
13,
1082,
202,
2463,
446,
31,
202,
202,
12107,
1082,
202,
2463,
261,
4522,
13,
3855,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
921,
2063,
774,
1649,
12,
6385,
1033,
2484,
13,
202,
95,
202,
202,
430,
12,
3855,
631,
2011,
13,
1082,
202,
2463,
446,
31,
202,
202,
12107,
1082,
202,
2463,
261,
4522,
13,
3855,
... |
throw new GroupsException("Problem removing group member " + gm.getKey() + " from cache: " + ce.getMessage()); | throw new GroupsException("Problem removing group member " + gm.getKey() + " from cache", ce); | protected void ifinishedSession(IPerson person) throws GroupsException { IGroupMember gm = getGroupMember(person.getEntityIdentifier()); try { EntityCachingService.instance().remove(gm.getEntityIdentifier()); } catch (CachingException ce) { throw... | 1895 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1895/948a50c00c52659556ab3183d5ea2e316077d789/GroupService.java/buggy/source/org/jasig/portal/services/GroupService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
309,
267,
5992,
2157,
12,
2579,
3565,
6175,
13,
1216,
14712,
503,
565,
288,
3639,
467,
1114,
4419,
14125,
273,
11751,
4419,
12,
12479,
18,
588,
1943,
3004,
10663,
540,
775,
363... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
309,
267,
5992,
2157,
12,
2579,
3565,
6175,
13,
1216,
14712,
503,
565,
288,
3639,
467,
1114,
4419,
14125,
273,
11751,
4419,
12,
12479,
18,
588,
1943,
3004,
10663,
540,
775,
363... |
Logger.trace("StendhalRPRuleProcessor::addBuddy","<"); | Log4J.finishMethod(logger,"addBuddy"); | private void addBuddy(Player player, RPAction action) { Logger.trace("StendhalRPRuleProcessor::addBuddy",">"); try { if(action.has("who")) { String who=action.get("who"); RPSlot slot=player.getSlot("!buddy"); RPObject listBuddies=null; if(slot.size... | 4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/2f5a2a4a5b59a172e667611127a4c633125829e5/StendhalRPRuleProcessor.java/clean/src/games/stendhal/server/StendhalRPRuleProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
527,
38,
29017,
12,
12148,
7291,
16,
534,
52,
1803,
1301,
13,
565,
288,
565,
4242,
18,
5129,
2932,
510,
409,
22314,
54,
52,
2175,
5164,
2866,
1289,
38,
29017,
15937,
2984,
17... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
38,
29017,
12,
12148,
7291,
16,
534,
52,
1803,
1301,
13,
565,
288,
565,
4242,
18,
5129,
2932,
510,
409,
22314,
54,
52,
2175,
5164,
2866,
1289,
38,
29017,
15937,
2984,
17... |
public List prune(List stateTokenList) { | public ActiveList prune(ActiveList stateTokenList) { | public List prune(List stateTokenList) { int startSize = stateTokenList.size(); for (Iterator i = stateTokenList.listIterator(); i.hasNext();) { Token token = (Token) i.next(); if (token.getScore() < minScore) { i.remove(); } } System.out.println("Pruner: " + stateTokenList.size() + " tokens remainin... | 8321 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8321/b23b1e1ac3f8835d3ff09166cb4096c7e66dce15/SimpleSearchTest.java/clean/sphinx4/tests/search/SimpleSearchTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
13293,
12,
682,
919,
1345,
682,
13,
288,
202,
474,
787,
1225,
273,
919,
1345,
682,
18,
1467,
5621,
202,
1884,
261,
3198,
277,
273,
919,
1345,
682,
18,
1098,
3198,
5621,
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,
987,
13293,
12,
682,
919,
1345,
682,
13,
288,
202,
474,
787,
1225,
273,
919,
1345,
682,
18,
1467,
5621,
202,
1884,
261,
3198,
277,
273,
919,
1345,
682,
18,
1098,
3198,
5621,
277,
... |
if (pruning) | if (pruning) { | public void run(IProgressMonitor pm) throws InvocationTargetException { try { runCommand(pm); } catch (ExecutionException e) { if (pruning) flush(); throw new InvocationTargetException(e); } } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/OperationHistoryActionHandler.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/operations/OperationHistoryActionHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1086,
12,
45,
5491,
7187,
7430,
13,
6862,
202,
15069,
15342,
288,
9506,
202,
698,
288,
6862,
202,
2681,
2189,
12,
7755,
1769,
9506,
202,
97,
1044,
261,
14576,
425,
13,
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,
1875,
202,
482,
918,
1086,
12,
45,
5491,
7187,
7430,
13,
6862,
202,
15069,
15342,
288,
9506,
202,
698,
288,
6862,
202,
2681,
2189,
12,
7755,
1769,
9506,
202,
97,
1044,
261,
14576,
425,
13,
2... |
registerJavaXPCOMMethods(aLibXULDirectory); | public void initEmbedding(File aLibXULDirectory, File aAppDirectory, IAppFileLocProvider aAppDirProvider) { registerJavaXPCOMMethods(aLibXULDirectory); initEmbeddingNative(aLibXULDirectory, aAppDirectory, aAppDirProvider); } | 47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/516a62368bdaf59161279ef3d389eed185fe4883/GREImpl.java/clean/extensions/java/xpcom/src/org/mozilla/xpcom/internal/GREImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1208,
9538,
7459,
12,
812,
279,
5664,
60,
1506,
2853,
16,
1387,
279,
3371,
2853,
16,
1850,
467,
3371,
812,
1333,
2249,
279,
3371,
1621,
2249,
13,
288,
4202,
1208,
9538,
7459,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1208,
9538,
7459,
12,
812,
279,
5664,
60,
1506,
2853,
16,
1387,
279,
3371,
2853,
16,
1850,
467,
3371,
812,
1333,
2249,
279,
3371,
1621,
2249,
13,
288,
4202,
1208,
9538,
7459,
... | |
protected Control createContents(Composite parent) { // create the top level composite for the dialog Composite composite = new Composite(parent, 0); GridLayout layout = new GridLayout(); layout.marginHeight = 0; layout.marginWidth = 0; layout.verticalSpacing = 0; composite.setLayout(layout); composite.setLayo... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/b55db1f8df03ebade4e59f55f97c8c3917057362/Dialog.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/Dialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
3367,
2640,
6323,
12,
799,
1724,
881,
817,
15329,
202,
202,
759,
27350,
546,
278,
556,
2815,
27676,
1884,
451,
329,
3529,
202,
202,
799,
1724,
30433,
4974,
33,
2704,
9400,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
3367,
2640,
6323,
12,
799,
1724,
881,
817,
15329,
202,
202,
759,
27350,
546,
278,
556,
2815,
27676,
1884,
451,
329,
3529,
202,
202,
799,
1724,
30433,
4974,
33,
2704,
9400,
12,
... | ||
str=props.getProperty("down_thread"); if(str != null) { down_thread=new Boolean(str).booleanValue(); props.remove("down_thread"); } | str = props.getProperty("down_thread"); if (str != null) { down_thread = new Boolean(str).booleanValue(); props.remove("down_thread"); } | public boolean setPropertiesInternal(Properties props) { String str; this.props=(Properties)props.clone(); str=props.getProperty("down_thread"); if(str != null) { down_thread=new Boolean(str).booleanValue(); props.remove("down_thread"); } str=props.get... | 47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/cc88a4a6b162f10af320cb7c96196119710527e8/Protocol.java/clean/src/org/jgroups/stack/Protocol.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
23126,
3061,
12,
2297,
3458,
13,
288,
3639,
514,
609,
31,
3639,
333,
18,
9693,
28657,
2297,
13,
9693,
18,
14056,
5621,
3639,
609,
33,
9693,
18,
588,
1396,
2932,
2378,
67,
59... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
23126,
3061,
12,
2297,
3458,
13,
288,
3639,
514,
609,
31,
3639,
333,
18,
9693,
28657,
2297,
13,
9693,
18,
14056,
5621,
3639,
609,
33,
9693,
18,
588,
1396,
2932,
2378,
67,
59... |
iCodeTop = addByte((byte) TokenStream.ENDTRY, iCodeTop); | private int generateICode(Node node, int iCodeTop) { int type = node.getType(); Node child = node.getFirstChild(); Node firstChild = child; switch (type) { case TokenStream.FUNCTION : { iCodeTop = addByt... | 51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/32feff141e5ccc7b1b5e5423d181b6baf24616a0/Interpreter.java/buggy/js/rhino/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
2103,
45,
1085,
12,
907,
756,
16,
509,
277,
1085,
3401,
13,
565,
288,
3639,
509,
618,
273,
756,
18,
588,
559,
5621,
3639,
2029,
1151,
273,
756,
18,
588,
3759,
1763,
5621,
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,
509,
2103,
45,
1085,
12,
907,
756,
16,
509,
277,
1085,
3401,
13,
565,
288,
3639,
509,
618,
273,
756,
18,
588,
559,
5621,
3639,
2029,
1151,
273,
756,
18,
588,
3759,
1763,
5621,
3... | |
public org.quickfix.field.MarginRatio getMarginRatio() throws FieldNotFound { org.quickfix.field.MarginRatio value = new org.quickfix.field.MarginRatio(); | public quickfix.field.MarginRatio getMarginRatio() throws FieldNotFound { quickfix.field.MarginRatio value = new quickfix.field.MarginRatio(); | public org.quickfix.field.MarginRatio getMarginRatio() throws FieldNotFound { org.quickfix.field.MarginRatio value = new org.quickfix.field.MarginRatio(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/QuoteResponse.java/buggy/src/java/src/quickfix/fix44/QuoteResponse.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
9524,
8541,
2108,
5243,
8541,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
9524,
8541,
460,
273,
394,
2358,
18,
19525,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
9524,
8541,
2108,
5243,
8541,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
9524,
8541,
460,
273,
394,
2358,
18,
19525,
... |
if (smartHiddenEditor != null) smartHiddenEditor.setVisible(true); | persp.showEditorArea(); | private void smartZoomIn(LayoutPart part, Perspective persp) { // HACK!! since we aren't changing the 'state' maximize always // get called; 'unzoom' if necessary if (smartZoomed) { // Restore the editor area if necessary if (smartHiddenEditor != null) smartHiddenEditor.setVisible(true);... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/14ff4c11ee4735038f89d4e70153748cdfff9446/PartSashContainer.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartSashContainer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
13706,
11497,
382,
12,
3744,
1988,
1087,
16,
453,
414,
16772,
13508,
84,
13,
288,
377,
202,
759,
670,
3649,
8548,
3241,
732,
11526,
1404,
12770,
326,
296,
2019,
11,
943,
10153,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13706,
11497,
382,
12,
3744,
1988,
1087,
16,
453,
414,
16772,
13508,
84,
13,
288,
377,
202,
759,
670,
3649,
8548,
3241,
732,
11526,
1404,
12770,
326,
296,
2019,
11,
943,
10153,... |
framework.publishBundleEvent(BundleEvent.UNRESOLVED, this); | protected boolean unresolve() { if (Debug.DEBUG && Debug.DEBUG_GENERAL) { if ((state & (INSTALLED | RESOLVED)) == 0) { Debug.println("Bundle.reload called when state != INSTALLED | RESOLVED: " + this); //$NON-NLS-1$ Debug.printStackTrace(new Exception("Stack trace")); //$NON-NLS-1$ } } if (framework.isAct... | 2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/3871aaa329b773915c21dbdb5930bbef76b30a09/BundleFragment.java/buggy/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/BundleFragment.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1250,
640,
10828,
1435,
288,
202,
202,
430,
261,
2829,
18,
9394,
597,
4015,
18,
9394,
67,
13990,
1013,
13,
288,
1082,
202,
430,
14015,
2019,
473,
261,
19784,
27751,
571,
12915,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1250,
640,
10828,
1435,
288,
202,
202,
430,
261,
2829,
18,
9394,
597,
4015,
18,
9394,
67,
13990,
1013,
13,
288,
1082,
202,
430,
14015,
2019,
473,
261,
19784,
27751,
571,
12915,... | |
return new XMLSchema(new ReadOnlyGrammarPool(pool), false); | schema = new XMLSchema(new ReadOnlyGrammarPool(pool), false); | public Schema newSchema( Source[] schemas ) throws SAXException { // this will let the loader store parsed Grammars into the pool. XMLGrammarPoolImplExtension pool = new XMLGrammarPoolImplExtension(); fXMLGrammarPoolWrapper.setGrammarPool(pool); XMLInputSource[] xmlInputS... | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/2e29289aad8a962190c18907fdfacbc4b1ac0bce/XMLSchemaFactory.java/clean/src/org/apache/xerces/jaxp/validation/XMLSchemaFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4611,
394,
3078,
12,
4998,
8526,
12783,
262,
1216,
14366,
288,
7734,
368,
333,
903,
2231,
326,
4088,
1707,
2707,
27809,
87,
1368,
326,
2845,
18,
3639,
3167,
18576,
2864,
2828,
3625,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4611,
394,
3078,
12,
4998,
8526,
12783,
262,
1216,
14366,
288,
7734,
368,
333,
903,
2231,
326,
4088,
1707,
2707,
27809,
87,
1368,
326,
2845,
18,
3639,
3167,
18576,
2864,
2828,
3625,
... |
evtTarget.addEventListener ("DOMNodeRemoved", childNodeRemovedEventListener, true); ctx.storeEventListener (evtTarget, "DOMNodeRemoved", childNodeRemovedEventListener, true); | evtTarget.addEventListenerNS (XMLConstants.XML_EVENTS_NAMESPACE_URI, "DOMNodeRemoved", childNodeRemovedEventListener, true, null); ctx.storeEventListenerNS (evtTarget, XMLConstants.XML_EVENTS_NAMESPACE_URI, "DOMNodeRemoved", childNodeRemovedEventListener, true); | protected void initializeDynamicSupport(BridgeContext ctx, Element e, GraphicsNode node) { super.initializeDynamicSupport(ctx,e,node); if (!ctx.isDynamic()) return; // Only add the listeners if... | 46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/e0f764dff72dfeed9e7f33e5d48e195946accb74/SVGTextElementBridge.java/clean/sources/org/apache/batik/bridge/SVGTextElementBridge.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
4046,
9791,
6289,
12,
13691,
1042,
1103,
16,
4766,
5411,
3010,
425,
16,
4766,
5411,
16830,
907,
756,
13,
288,
3639,
2240,
18,
11160,
9791,
6289,
12,
5900,
16,
73,
16,
2159,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4046,
9791,
6289,
12,
13691,
1042,
1103,
16,
4766,
5411,
3010,
425,
16,
4766,
5411,
16830,
907,
756,
13,
288,
3639,
2240,
18,
11160,
9791,
6289,
12,
5900,
16,
73,
16,
2159,
1... |
public abstract SIPMessageStack getSIPStack(); | public abstract SIPTransactionStack getSIPStack(); | public abstract SIPMessageStack getSIPStack(); | 7607 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7607/d3bce65e49e71ee7df15bd72fd338535d4501bc1/MessageChannel.java/clean/trunk/src/gov/nist/javax/sip/stack/MessageChannel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8770,
348,
2579,
1079,
2624,
1322,
2579,
2624,
5621,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
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,
225,
202,
482,
8770,
348,
2579,
1079,
2624,
1322,
2579,
2624,
5621,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
setTitle(input.getName()); | setPartName(input.getName()); | public void init(IEditorSite site, IEditorInput input) throws PartInitException { // Check input. IFile file = ResourceUtil.getFile(input); if (file == null) throw new PartInitException(OleMessages.format( "OleEditor.invalidInput", new Object[] { input }... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/28c6acb1fb03130eae51828f63abdb28b5348c3d/OleEditor.java/buggy/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1208,
12,
45,
6946,
4956,
2834,
16,
467,
6946,
1210,
810,
13,
5411,
1216,
6393,
2570,
503,
288,
3639,
368,
2073,
810,
18,
3639,
467,
812,
585,
273,
2591,
1304,
18,
29925,
12,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1208,
12,
45,
6946,
4956,
2834,
16,
467,
6946,
1210,
810,
13,
5411,
1216,
6393,
2570,
503,
288,
3639,
368,
2073,
810,
18,
3639,
467,
812,
585,
273,
2591,
1304,
18,
29925,
12,... |
private void addModelToTransitionMatricesPool(Pool pool, int stid, int numStates, float floor, boolean skip) | private void addModelToTransitionMatricesPool(Pool pool, int hmmId, int numEmittingStates, float floor, boolean skip) | private void addModelToTransitionMatricesPool(Pool pool, int stid, int numStates, float floor, boolean skip) throws IOException { assert pool != null; float[][] tmat = new float[numStates][numStates]; for (int j = 0; j < numStates ; j++) { for (int k = 0; k < numStates ; k++) { // Just to be sure..... | 7874 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7874/e2f9cc46614d7bad2835a37c26184cb529bad39a/ModelInitializerLoader.java/clean/edu/cmu/sphinx/knowledge/acoustic/ModelInitializerLoader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
527,
1488,
774,
8850,
15947,
12660,
2864,
12,
2864,
2845,
16,
509,
384,
350,
16,
4405,
509,
818,
7629,
16,
1431,
6346,
16,
1250,
2488,
13,
3639,
1216,
1860,
288,
202,
11231,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
527,
1488,
774,
8850,
15947,
12660,
2864,
12,
2864,
2845,
16,
509,
384,
350,
16,
4405,
509,
818,
7629,
16,
1431,
6346,
16,
1250,
2488,
13,
3639,
1216,
1860,
288,
202,
11231,
... |
try { | try { | public void setExtra(byte[] extra) { if (extra == null) { this.extra = null; return; } if (extra.length > 0xffff) throw new IllegalArgumentException(); this.extra = extra; try { int pos = 0; while (pos < extra.length) { int sig = (extra[pos++] & 0xff) | (extra[pos++] & 0xff) << 8; int len = (extra... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/clean/core/src/classpath/java/java/util/zip/ZipEntry.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
7800,
12,
7229,
8526,
2870,
13,
288,
202,
202,
430,
261,
7763,
422,
446,
13,
288,
1082,
202,
2211,
18,
7763,
273,
446,
31,
1082,
202,
2463,
31,
202,
202,
97,
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,
7800,
12,
7229,
8526,
2870,
13,
288,
202,
202,
430,
261,
7763,
422,
446,
13,
288,
1082,
202,
2211,
18,
7763,
273,
446,
31,
1082,
202,
2463,
31,
202,
202,
97,
202,
... |
public Object eval (String source, int lineNo, int columnNo, Object script) throws BSFException { | public Object eval (Object script) throws BSFException { | public Object eval (String source, int lineNo, int columnNo, Object script) throws BSFException { try { Object result = interp.eval (script.toString ()); if (result != null && result instanceof PyJavaInstance) result = ((PyJavaInstance)result).__tojava__(Object.class); return result; } catch (PyExcepti... | 50120 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50120/0e0a92725e39ed3115b66601c360ede7b4c6fa5c/JPythonEngine.java/buggy/src/org/apache/bsf/engines/jpython/JPythonEngine.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
5302,
261,
780,
1084,
16,
509,
980,
2279,
16,
509,
1057,
2279,
16,
1875,
1377,
1033,
2728,
13,
1216,
605,
22395,
503,
288,
202,
698,
288,
202,
225,
1033,
563,
273,
8174,
18,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
5302,
261,
780,
1084,
16,
509,
980,
2279,
16,
509,
1057,
2279,
16,
1875,
1377,
1033,
2728,
13,
1216,
605,
22395,
503,
288,
202,
698,
288,
202,
225,
1033,
563,
273,
8174,
18,... |
if (resourceBundle != null && key != null) | if (resourceBundle != null && key != null) { | public static final String translateString( final ResourceBundle resourceBundle, final String key, final String defaultString) { if (resourceBundle != null && key != null) try { final String translatedString = resourceBundle.getString(key); if (translatedString != null) return translatedString; } ca... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/391f2606b4ea2c1fb5052d938ca90877ee7631f6/Util.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/util/Util.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
727,
514,
4204,
780,
12,
1082,
202,
6385,
19198,
1058,
3405,
16,
727,
514,
498,
16,
1082,
202,
6385,
514,
805,
780,
13,
288,
202,
202,
430,
261,
3146,
3405,
480,
446,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
727,
514,
4204,
780,
12,
1082,
202,
6385,
19198,
1058,
3405,
16,
727,
514,
498,
16,
1082,
202,
6385,
514,
805,
780,
13,
288,
202,
202,
430,
261,
3146,
3405,
480,
446,
5... |
return (this.enctype); | return (this.enctype); | public String getEnctype() { return (this.enctype); } | 54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/75dbcd0b077c69b0f9ec51c98e6552a114bc07ea/FormTag.java/clean/src/share/org/apache/struts/taglib/html/FormTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
336,
664,
12387,
1435,
288,
565,
327,
261,
2211,
18,
275,
12387,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
336,
664,
12387,
1435,
288,
565,
327,
261,
2211,
18,
275,
12387,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
if(relatedClassType.getName().equals(getFullName())){ property.setOneToMany(true); property.setBidirectional(true); } | private void establishRelationshipForSet(DefaultGrailsDomainClassProperty property) { // is it a relationship Class relatedClassType = getRelatedClassType( property.getName() ); if(relatedClassType != null) { // set the referenced type in the property property.setReference... | 50129 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50129/fe351f9f0f376d45dd59d502c6d56321bf14f907/DefaultGrailsDomainClass.java/buggy/src/commons/org/codehaus/groovy/grails/commons/DefaultGrailsDomainClass.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
18312,
8180,
1290,
694,
12,
1868,
14571,
14573,
3748,
797,
1396,
1272,
13,
288,
3639,
368,
353,
518,
279,
5232,
3639,
1659,
3746,
18328,
273,
21531,
18328,
12,
1272,
18,
17994,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18312,
8180,
1290,
694,
12,
1868,
14571,
14573,
3748,
797,
1396,
1272,
13,
288,
3639,
368,
353,
518,
279,
5232,
3639,
1659,
3746,
18328,
273,
21531,
18328,
12,
1272,
18,
17994,
... | |
suite.addTest(IsProtonInAromaticSystemDescriptorTest.suite()); suite.addTest(SigmaElectronegativityDescriptorTest.suite()); suite.addTest(AromaticAtomsCountDescriptorTest.suite()); suite.addTest(AromaticBondsCountDescriptorTest.suite()); suite.addTest(IsProtonInConjugatedPiSystemDescriptorTest.suite()); suite.addTest(P... | suite.addTest(IsProtonInAromaticSystemDescriptorTest.suite()); suite.addTest(SigmaElectronegativityDescriptorTest.suite()); suite.addTest(AromaticAtomsCountDescriptorTest.suite()); suite.addTest(AromaticBondsCountDescriptorTest.suite()); suite.addTest(IsProtonInConjugatedPiSystemDescriptorTest.suite()); suite.addTest(P... | public static Test suite() { TestSuite suite = new TestSuite("All QSAR Descriptor Tests"); suite.addTest(AtomCountDescriptorTest.suite()); suite.addTest(BondCountDescriptorTest.suite()); suite.addTest(RotatableBondsCountDescriptorTest.suite()); suite.addTest(IsProtonInAromaticSystemDescr... | 45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/49684d277abeae1d1ea89e5685eaf2f6b42b820f/QSARDescriptorTests.java/buggy/src/org/openscience/cdk/test/qsar/QSARDescriptorTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
7766,
11371,
1435,
288,
3639,
7766,
13587,
11371,
273,
394,
7766,
13587,
2932,
1595,
2238,
55,
985,
12823,
7766,
87,
8863,
3639,
11371,
18,
1289,
4709,
12,
3641,
1380,
3187,
4709... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
7766,
11371,
1435,
288,
3639,
7766,
13587,
11371,
273,
394,
7766,
13587,
2932,
1595,
2238,
55,
985,
12823,
7766,
87,
8863,
3639,
11371,
18,
1289,
4709,
12,
3641,
1380,
3187,
4709... |
public TreeNode (TreeNode parent, String tag){ | public TreeNode (TreeNode parent, String tag, String text){ | public TreeNode (TreeNode parent, String tag){ _parent = parent; _tag = Tags.encode (tag); _text = ""; _children = new Vector(); } | 47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/e5d20862b749626ce60c2d85dc8c8db7d72d997f/TreeNode.java/buggy/js/jsdj/classes/com/netscape/jsdebugging/apitests/analyzing/tree/TreeNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
20270,
261,
12513,
982,
16,
514,
1047,
16,
514,
977,
15329,
3639,
389,
2938,
273,
982,
31,
3639,
389,
2692,
273,
8750,
18,
3015,
261,
2692,
1769,
3639,
389,
955,
273,
1408,
31,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
20270,
261,
12513,
982,
16,
514,
1047,
16,
514,
977,
15329,
3639,
389,
2938,
273,
982,
31,
3639,
389,
2692,
273,
8750,
18,
3015,
261,
2692,
1769,
3639,
389,
955,
273,
1408,
31,
36... |
Debug.output(Debug.SECURITY | Debug.IMPORTANT, e); | Debug.output(1, e); | public void post_init(org.omg.PortableInterceptor.ORBInitInfo info) { try { Current current = (Current) info.resolve_initial_references("SecurityCurrent"); info.add_server_request_interceptor (new ServerAccessDecisionInterceptor(current)); ... | 46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/ddfa45ed7d8acbe9988fd22f0b5417ccaf5ce8fc/ServerInitializer.java/clean/src/org/jacorb/security/level2/ServerInitializer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1603,
67,
2738,
12,
3341,
18,
362,
75,
18,
2617,
429,
10281,
18,
916,
38,
2570,
966,
1123,
13,
377,
288,
3639,
775,
3639,
288,
5411,
6562,
783,
273,
1171,
261,
3935,
13,
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,
377,
1071,
918,
1603,
67,
2738,
12,
3341,
18,
362,
75,
18,
2617,
429,
10281,
18,
916,
38,
2570,
966,
1123,
13,
377,
288,
3639,
775,
3639,
288,
5411,
6562,
783,
273,
1171,
261,
3935,
13,
11... |
byte buffer[] = Base64.decode(base64str.getBytes("UTF-8")); | byte buffer[] = Base64.decodeBase64(base64str.getBytes("UTF-8")); | private InputStream getImageStream(String base64str) throws Exception { byte buffer[] = Base64.decode(base64str.getBytes("UTF-8")); return new ByteArrayInputStream(buffer); } | 6853 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6853/b6c2287f5b3ca967208eed57480d56a7a852ba57/ThemeImageServlet.java/buggy/src/org/snipsnap/net/admin/ThemeImageServlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
5037,
10567,
1228,
12,
780,
1026,
1105,
701,
13,
1216,
1185,
288,
565,
1160,
1613,
8526,
273,
3360,
1105,
18,
3922,
2171,
1105,
12,
1969,
1105,
701,
18,
588,
2160,
2932,
5159,
17,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
282,
3238,
5037,
10567,
1228,
12,
780,
1026,
1105,
701,
13,
1216,
1185,
288,
565,
1160,
1613,
8526,
273,
3360,
1105,
18,
3922,
2171,
1105,
12,
1969,
1105,
701,
18,
588,
2160,
2932,
5159,
17,
... |
private void badTree(Node node) { | private void badTree(Node node) { | private void badTree(Node node) { try { out = new PrintWriter(new FileOutputStream("icode.txt", true)); out.println("Un-handled node : " + node.toString()); out.close(); } catch (IOException x) {} throw new RuntimeException("Un-handled node : " ... | 47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/e7e3848925d289272caa163d4d470f03f2eebac5/Interpreter.java/clean/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5570,
2471,
12,
907,
756,
13,
288,
3639,
775,
288,
5411,
596,
273,
394,
14071,
12,
2704,
12942,
2932,
3487,
18,
5830,
3113,
638,
10019,
5411,
596,
18,
8222,
2932,
984,
17,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5570,
2471,
12,
907,
756,
13,
288,
3639,
775,
288,
5411,
596,
273,
394,
14071,
12,
2704,
12942,
2932,
3487,
18,
5830,
3113,
638,
10019,
5411,
596,
18,
8222,
2932,
984,
17,
14... |
double[] acfVals = acf(maxlag); double[] conf = acf95conf(maxlag); double[] out = new double[acfVals.length]; for (int i=0; i<acfVals.length; i++) { out[i] = 1.96* Math.abs(acfVals[i]) / conf[i]; | double[] acfVals = acf(maxlag); double[] conf = acf95conf(maxlag); double[] out = new double[acfVals.length]; for (int i=0; i<acfVals.length; i++) { out[i] = 1.96* Math.abs(acfVals[i]) / conf[i]; } return out; | public double[] acfTRatio(int maxlag) { double[] acfVals = acf(maxlag); double[] conf = acf95conf(maxlag); double[] out = new double[acfVals.length]; for (int i=0; i<acfVals.length; i++) { out[i] = 1.96* Math.abs(acfVals[i]) / conf[i]; } return out; } | 52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/05e078356cbf684ec12612d15c6a53faa346f073/Statistics.java/buggy/src/edu/sc/seis/fissuresUtil/bag/Statistics.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1645,
8526,
1721,
74,
4349,
4197,
12,
474,
943,
22532,
13,
288,
565,
1645,
8526,
1721,
74,
13169,
273,
1721,
74,
12,
1896,
22532,
1769,
565,
1645,
8526,
2195,
273,
1721,
74,
8778,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1645,
8526,
1721,
74,
4349,
4197,
12,
474,
943,
22532,
13,
288,
565,
1645,
8526,
1721,
74,
13169,
273,
1721,
74,
12,
1896,
22532,
1769,
565,
1645,
8526,
2195,
273,
1721,
74,
8778,
... |
List pList = new LinkedList(); | List<Pronunciation> pList = new LinkedList<Pronunciation>(); | private Word processEntry(String word) { List pList = new LinkedList(); String line = null; int count = 0; boolean isFiller = false; do { count++; String lookupWord = word; if (count > 1) { lookupWord = lookupWord + "(" + count + ")"... | 8321 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8321/ab1fd6a6b23442eea9417cee12bf892b256ae220/FastDictionary.java/clean/sphinx4/src/sphinx4/edu/cmu/sphinx/linguist/dictionary/FastDictionary.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
9926,
1207,
1622,
12,
780,
2076,
13,
288,
3639,
987,
32,
52,
1949,
551,
7072,
34,
293,
682,
273,
394,
10688,
32,
52,
1949,
551,
7072,
34,
5621,
3639,
514,
980,
273,
446,
31,
363... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9926,
1207,
1622,
12,
780,
2076,
13,
288,
3639,
987,
32,
52,
1949,
551,
7072,
34,
293,
682,
273,
394,
10688,
32,
52,
1949,
551,
7072,
34,
5621,
3639,
514,
980,
273,
446,
31,
363... |
void filesActivated() | void filesActivated(boolean newView) | void filesActivated() { VFS.DirectoryEntry[] selectedFiles = browserView.getSelectedFiles(); for(int i = 0; i < selectedFiles.length; i++) { VFS.DirectoryEntry file = selectedFiles[i]; if(file.type == VFS.DirectoryEntry.DIRECTORY || file.type == VFS.DirectoryEntry.FILESYSTEM) setDirectory(file.path); el... | 8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/b29522a8dff345e27e2735f77ed9fafc5e1078da/VFSBrowser.java/clean/org/gjt/sp/jedit/browser/VFSBrowser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
1390,
28724,
1435,
202,
95,
202,
202,
58,
4931,
18,
2853,
1622,
8526,
3170,
2697,
273,
4748,
1767,
18,
588,
7416,
2697,
5621,
202,
202,
1884,
12,
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,
225,
202,
6459,
1390,
28724,
1435,
202,
95,
202,
202,
58,
4931,
18,
2853,
1622,
8526,
3170,
2697,
273,
4748,
1767,
18,
588,
7416,
2697,
5621,
202,
202,
1884,
12,
474,
277,
273,
374,
31,
277,... |
String fname = fontInfo.fontLookup("sans-serif", "normal", Font.NORMAL); FontMetrics metrics = fontInfo.getMetricsFor(fname); | String fname = document.getFontInfo().fontLookup("sans-serif", "normal", Font.NORMAL); FontMetrics metrics = document.getFontInfo().getMetricsFor(fname); | List getInlineAreas(Element root) { List list = new java.util.ArrayList(); NodeList childs = root.getChildNodes(); for (int i = 0; i < childs.getLength(); i++) { Node obj = childs.item(i); if (obj.getNodeName().equals("char")) { Character ch = ... | 5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/e0c6bb98bff4b94131c82eb8c5be82ee2a1f43a0/AreaTreeBuilder.java/buggy/src/java/org/apache/fop/tools/AreaTreeBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
987,
7854,
1369,
28377,
12,
1046,
1365,
13,
288,
3639,
987,
666,
273,
394,
2252,
18,
1367,
18,
19558,
5621,
3639,
16781,
21619,
273,
1365,
18,
588,
22460,
5621,
3639,
364,
261,
474,
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,
987,
7854,
1369,
28377,
12,
1046,
1365,
13,
288,
3639,
987,
666,
273,
394,
2252,
18,
1367,
18,
19558,
5621,
3639,
16781,
21619,
273,
1365,
18,
588,
22460,
5621,
3639,
364,
261,
474,
277,
... |
public String getAuthorName() { // TODO: Currently we don't get the real name from the xml. // Need retrieve these names somehow return getAuthor(); } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/d8246dd7ee077547396e25d64d6ab962efeb824e/Comment.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/Comment.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
336,
3594,
461,
1435,
288,
202,
202,
759,
2660,
30,
15212,
732,
2727,
1404,
336,
326,
2863,
508,
628,
326,
2025,
18,
202,
202,
759,
4202,
12324,
4614,
4259,
1257,
28578,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
336,
3594,
461,
1435,
288,
202,
202,
759,
2660,
30,
15212,
732,
2727,
1404,
336,
326,
2863,
508,
628,
326,
2025,
18,
202,
202,
759,
4202,
12324,
4614,
4259,
1257,
28578,
... | ||
super(position); | super(position, NodeTypes.CONSTNODE); | public ConstNode(ISourcePosition position, String name) { super(position); this.name = name.intern(); } | 52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/6e15491217631472c05c6928672f9c7064a978b3/ConstNode.java/clean/src/org/jruby/ast/ConstNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
9333,
907,
12,
45,
1830,
2555,
1754,
16,
514,
508,
13,
288,
3639,
2240,
12,
3276,
16,
2029,
2016,
18,
26411,
8744,
1769,
3639,
333,
18,
529,
273,
508,
18,
267,
798,
5621,
565,
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,
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,
9333,
907,
12,
45,
1830,
2555,
1754,
16,
514,
508,
13,
288,
3639,
2240,
12,
3276,
16,
2029,
2016,
18,
26411,
8744,
1769,
3639,
333,
18,
529,
273,
508,
18,
267,
798,
5621,
565,
2... |
protected void setUp() { | protected void setUp() throws CruiseControlException { | protected void setUp() { dir.mkdirs(); ccController = new CruiseControlController(); } | 52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/c683ed78c6d4cb9c2cd81b8ad2f9a4d344b39fe4/CruiseControlControllerTest.java/clean/main/test/net/sourceforge/cruisecontrol/CruiseControlControllerTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
24292,
1435,
1216,
385,
8653,
784,
3367,
503,
288,
3639,
1577,
18,
24816,
8291,
5621,
3639,
4946,
2933,
273,
394,
385,
8653,
784,
3367,
2933,
5621,
565,
289,
2,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
24292,
1435,
1216,
385,
8653,
784,
3367,
503,
288,
3639,
1577,
18,
24816,
8291,
5621,
3639,
4946,
2933,
273,
394,
385,
8653,
784,
3367,
2933,
5621,
565,
289,
2,
-100,
-100,
-10... |
EventListener [] listeners = getListeners(TableColumnModelListener.class); | EventListener[] listeners = getListeners(TableColumnModelListener.class); if (changeEvent == null && listeners.length > 0) changeEvent = new ChangeEvent(this); | protected void fireColumnMarginChanged() { EventListener [] listeners = getListeners(TableColumnModelListener.class); for (int i = 0; i < listeners.length; ++i) ((TableColumnModelListener) listeners[i]).columnMarginChanged(changeEvent); } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/DefaultTableColumnModel.java/buggy/core/src/classpath/javax/javax/swing/table/DefaultTableColumnModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
4452,
1494,
9524,
5033,
1435,
225,
288,
565,
22090,
8526,
4679,
273,
336,
5583,
12,
1388,
1494,
1488,
2223,
18,
1106,
1769,
309,
261,
3427,
1133,
422,
446,
597,
4679,
18,
2469,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
4452,
1494,
9524,
5033,
1435,
225,
288,
565,
22090,
8526,
4679,
273,
336,
5583,
12,
1388,
1494,
1488,
2223,
18,
1106,
1769,
309,
261,
3427,
1133,
422,
446,
597,
4679,
18,
2469,... |
result.append(", "); | result.append("; "); | private static String showSet(Set nativeCountries, boolean transliterate, boolean isLanguage) { UnicodeSet BIDI_R = new UnicodeSet( "[[:Bidi_Class=R:][:Bidi_Class=AL:]]"); StringBuffer result = new StringBuffer(); Map sb = new TreeMap(LanguageList.col); // collect multiples by English name for (Iterator it =... | 27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/d320952c0a8b7f7684167c50d5798bfccc18b724/GenerateStatistics.java/clean/tools/java/org/unicode/cldr/tool/GenerateStatistics.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
514,
2405,
694,
12,
694,
6448,
30945,
16,
1250,
2162,
18793,
16,
1082,
202,
6494,
353,
3779,
13,
288,
202,
202,
16532,
694,
605,
30218,
67,
54,
273,
394,
9633,
694,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
514,
2405,
694,
12,
694,
6448,
30945,
16,
1250,
2162,
18793,
16,
1082,
202,
6494,
353,
3779,
13,
288,
202,
202,
16532,
694,
605,
30218,
67,
54,
273,
394,
9633,
694,
12,
... |
public int CMO_Lookback( int optInTimePeriod ){ int retValue; retValue = optInTimePeriod + (this.unstablePeriod[TA_FuncUnstId.TA_FUNC_UNST_CMO.ordinal()]) ; if( (this.compatibility) == TA_Compatibility. TA_COMPATIBILITY_METASTOCK ) retValue--; return retValue;} | 7231 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7231/1bccb7a13486c61b10e8ebdf0c938797539a3f3d/Core.java/clean/ta-lib/java/src/TA/Lib/Core.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
474,
39,
5980,
67,
9794,
823,
12,
474,
3838,
382,
26540,
15329,
474,
1349,
620,
31,
1349,
620,
33,
3838,
382,
26540,
15,
12,
2211,
18,
318,
15021,
5027,
63,
9833,
67,
2622,
984,
334,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
474,
39,
5980,
67,
9794,
823,
12,
474,
3838,
382,
26540,
15329,
474,
1349,
620,
31,
1349,
620,
33,
3838,
382,
26540,
15,
12,
2211,
18,
318,
15021,
5027,
63,
9833,
67,
2622,
984,
334,
... | ||
assertTrue("group should be satisfied", !group.needsMoreInvocations()); | assertTrue(group.isSatisfied()); | public void testIsSatisfiedIfAllUninvokedMatchersAreSatisfied() { expectation1.needsMoreInvocations = false; expectation2.needsMoreInvocations = false; expectation3.needsMoreInvocations = false; expectation4.needsMoreInvocations = false; assertTrue("group should be satisfi... | 2796 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2796/010013813a0e057e0715a4d31490eefcfa353062/OrderedExpectationGroupTests.java/clean/jmock2/test/org/jmock/test/unit/lib/OrderedExpectationGroupTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2520,
15163,
21501,
2047,
1595,
984,
5768,
14276,
28061,
4704,
15163,
21501,
1435,
288,
3639,
17733,
21,
18,
20600,
7417,
3605,
17448,
273,
629,
31,
3639,
17733,
22,
18,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2520,
15163,
21501,
2047,
1595,
984,
5768,
14276,
28061,
4704,
15163,
21501,
1435,
288,
3639,
17733,
21,
18,
20600,
7417,
3605,
17448,
273,
629,
31,
3639,
17733,
22,
18,
20... |
throw new CoreException( LauncherUtils .createErrorStatus( Messages.getString("ReportLaunchConfigurationDelegate.badFeatureSetup") ) ); } else | throw new CoreException( LauncherUtils.createErrorStatus( Messages.getString( "ReportLaunchConfigurationDelegate.badFeatureSetup" ) ) ); } else | private void validateFeatures( ) throws CoreException { IPath installPath = PDEPlugin.getWorkspace( ).getRoot( ).getLocation( ); String lastSegment = installPath.lastSegment( ); boolean badStructure = lastSegment == null; if ( !badStructure ) { IPath featuresPath = installPath.removeLastSegments( 1 ).append( ... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/93f83d28c012c9318e61bf947b01279cec0512a3/ReportLaunchConfigurationDelegate.java/buggy/UI/org.eclipse.birt.report.debug.ui/src/org/eclipse/birt/report/debug/ui/launcher/ReportLaunchConfigurationDelegate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1954,
8696,
12,
262,
1216,
30015,
202,
95,
202,
202,
45,
743,
3799,
743,
273,
453,
1639,
3773,
18,
588,
8241,
12,
262,
18,
588,
2375,
12,
262,
18,
588,
2735,
12,
11272... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1954,
8696,
12,
262,
1216,
30015,
202,
95,
202,
202,
45,
743,
3799,
743,
273,
453,
1639,
3773,
18,
588,
8241,
12,
262,
18,
588,
2375,
12,
262,
18,
588,
2735,
12,
11272... |
this.transaction = transaction; | this.transaction = transaction; | public DialogTimerTask( SIPDialog dialog, SIPServerTransaction transaction ) { this.dialog = dialog; this.stack = dialog.sipStack; this.transaction = transaction; } | 3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/d231d2c6c5ca907b5c90d5737c6ae873878b219f/SIPDialog.java/buggy/src/gov/nist/javax/sip/stack/SIPDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
17242,
6777,
2174,
12,
348,
2579,
6353,
6176,
16,
348,
2579,
2081,
3342,
2492,
262,
288,
5411,
333,
18,
12730,
225,
273,
6176,
31,
5411,
333,
18,
3772,
273,
6176,
18,
28477,
2624,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
17242,
6777,
2174,
12,
348,
2579,
6353,
6176,
16,
348,
2579,
2081,
3342,
2492,
262,
288,
5411,
333,
18,
12730,
225,
273,
6176,
31,
5411,
333,
18,
3772,
273,
6176,
18,
28477,
2624,
... |
public static final String escapeForSQL(String string) { | public static String escapeForSQL(String string) { | public static final String escapeForSQL(String string) { if (string == null) { return null; } else if (string.length() == 0) { return string; } char ch; char[] input = string.toCharArray(); int i = 0; int last = 0; int len = input.... | 6161 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6161/7e7a6c1b77d3198029d3b4e7af15ea5044f355c8/StringUtils.java/clean/src/java/org/jivesoftware/util/StringUtils.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
4114,
1290,
3997,
12,
780,
533,
13,
288,
3639,
309,
261,
1080,
422,
446,
13,
288,
5411,
327,
446,
31,
3639,
289,
3639,
469,
309,
261,
1080,
18,
2469,
1435,
422,
374,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
4114,
1290,
3997,
12,
780,
533,
13,
288,
3639,
309,
261,
1080,
422,
446,
13,
288,
5411,
327,
446,
31,
3639,
289,
3639,
469,
309,
261,
1080,
18,
2469,
1435,
422,
374,
1... |
Context cx = Context.getCurrentContext(); | static SubString interpretDollar(RegExpImpl res, char[] da, int dp, int bp, int[] skip) { char[] ca; int cp; char dc; int num, tmp; /* Allow a real backslash (literal "\\") to escape "$1" etc. */ if (da[dp] != '$') throw new... | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/4b56c8a72dc498e07512de2bf2baef37591a6928/RegExpImpl.java/clean/src/org/mozilla/javascript/regexp/RegExpImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
2592,
780,
10634,
40,
25442,
12,
13673,
2828,
400,
16,
1149,
8526,
5248,
16,
509,
9986,
16,
19694,
509,
9107,
16,
509,
8526,
2488,
13,
565,
288,
3639,
1149,
8526,
3474,
31,
3639,
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,
760,
2592,
780,
10634,
40,
25442,
12,
13673,
2828,
400,
16,
1149,
8526,
5248,
16,
509,
9986,
16,
19694,
509,
9107,
16,
509,
8526,
2488,
13,
565,
288,
3639,
1149,
8526,
3474,
31,
3639,
5... | |
return region; | IClassFile classFile = getLocalTypeClass(debugType, parent); if(classFile != null){ input = editor.doOpenBuffer(classFile, externalClass); } } else { input = editor.doOpenBuffer(debugType, parent, externalClass); | public static IRegion checkForInnerClass(int sourceLine, IClassFile parent) { IRegion region = new Region(0, 0); // get the editor with given class file, if any BytecodeClassFileEditor editor = getBytecodeEditor(parent); if (editor == null) { return region; } // ... | 2697 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2697/9172c855702891832150db512a17bbe6ab1f046e/BytecodeClassFileEditor.java/buggy/eclipse/plugin/src/de/loskutov/bco/editors/BytecodeClassFileEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
467,
5165,
13855,
2857,
797,
12,
474,
1084,
1670,
16,
467,
797,
812,
982,
13,
288,
3639,
467,
5165,
3020,
273,
394,
9164,
12,
20,
16,
374,
1769,
3639,
368,
336,
326,
4858,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
467,
5165,
13855,
2857,
797,
12,
474,
1084,
1670,
16,
467,
797,
812,
982,
13,
288,
3639,
467,
5165,
3020,
273,
394,
9164,
12,
20,
16,
374,
1769,
3639,
368,
336,
326,
4858,
... |
public void mMISC() throws RecognitionException { int MISC_StartIndex = input.index(); try { int type = MISC; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; ... | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/f57cd683a66080d941264e3f98974908a6a489a0/RuleParserLexer.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
7492,
2312,
1435,
1216,
9539,
288,
3639,
509,
20806,
2312,
67,
16792,
273,
810,
18,
1615,
5621,
3639,
775,
288,
5411,
509,
618,
273,
20806,
2312,
31,
5411,
509,
787,
273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
7492,
2312,
1435,
1216,
9539,
288,
3639,
509,
20806,
2312,
67,
16792,
273,
810,
18,
1615,
5621,
3639,
775,
288,
5411,
509,
618,
273,
20806,
2312,
31,
5411,
509,
787,
273,
... | ||
resource.getLockedInProject() != currentProject.getId()) ) { | (resource.getLockedInProject() != currentProject.getId() && currentProject.getFlags() != C_PROJECT_STATE_INVISIBLE)) ) { | public boolean accessLock(CmsUser currentUser, CmsProject currentProject, CmsResource resource) throws CmsException { // check, if this is the onlineproject if(onlineProject(currentUser, currentProject).equals(currentProject)){ // the online-project is not write... | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/8a45e326b75ba9713c204a92af1c0d796059e223/CmsResourceBroker.java/buggy/src/com/opencms/file/genericSql/CmsResourceBroker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
2006,
2531,
12,
4747,
1299,
13970,
16,
2149,
4109,
783,
4109,
16,
17311,
7630,
1058,
13,
1216,
11228,
288,
3639,
368,
866,
16,
309,
333,
353,
326,
12365,
4406,
3639,
309,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
2006,
2531,
12,
4747,
1299,
13970,
16,
2149,
4109,
783,
4109,
16,
17311,
7630,
1058,
13,
1216,
11228,
288,
3639,
368,
866,
16,
309,
333,
353,
326,
12365,
4406,
3639,
309,
12,
... |
public NumberExpr createNumberExpr(int number) throws JaxenException { // return new DefaultNumberExpr( new Integer(number) ); return new DefaultNumberExpr( new Double(number) ); } | 12974 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12974/b2b8245c3f10c560d442911f2a4a99b31d6e660f/DefaultXPathFactory.java/clean/src/java/main/org/jaxen/expr/DefaultXPathFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
1854,
4742,
2640,
1854,
4742,
12,
474,
2696,
13,
15069,
46,
651,
275,
503,
95,
759,
2463,
2704,
1868,
1854,
4742,
12,
2704,
4522,
12,
2696,
10019,
2463,
2704,
1868,
1854,
4742,
12,
2704,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
1854,
4742,
2640,
1854,
4742,
12,
474,
2696,
13,
15069,
46,
651,
275,
503,
95,
759,
2463,
2704,
1868,
1854,
4742,
12,
2704,
4522,
12,
2696,
10019,
2463,
2704,
1868,
1854,
4742,
12,
2704,... | ||
protected void initFile(String id) throws FormatException, IOException { super.initFile(id); legacy = new LegacyZVIReader(); OLEParser parser = new OLEParser(id); parser.parse(0); Vector[] files = parser.getFiles(); headerData = new Hashtable(); pixelData = new Hashtable(); int large... | 11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/f8fea5aec2de454fd84e68759019ac47d99be52a/ZeissZVIReader.java/clean/loci/formats/ZeissZVIReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
2240,
18,
2738,
812,
12,
350,
1769,
565,
8866,
273,
394,
22781,
62,
4136,
2514,
5621,
4202,
531,
900,
2678,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
2240,
18,
2738,
812,
12,
350,
1769,
565,
8866,
273,
394,
22781,
62,
4136,
2514,
5621,
4202,
531,
900,
2678,
... | ||
MethodInfo method = JavaMethodInfo.getMethodInfo(Target.class.getDeclaredMethod( "modifiers1", new Class[] {})); | MethodInfo method = JavaMethodInfo.getMethodInfo(Target.class.getDeclaredMethod("modifiers1", new Class[] {})); | public void testWithinCodeType() throws Exception { MethodInfo method = JavaMethodInfo.getMethodInfo(Target.class.getDeclaredMethod( "modifiers1", new Class[] {})); assertTrue(new ExpressionInfo( "execution(void test.expression.Target.modifiers1()) AND withincode(void ... | 7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/35bb5086b5fd1f4fa035f3a6bbfdf7b6709824cb/ExpressionTest.java/buggy/aspectwerkz3/src/test/test/expression/ExpressionTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
18949,
1085,
559,
1435,
1216,
1185,
288,
3639,
2985,
966,
707,
273,
5110,
1305,
966,
18,
588,
1305,
966,
12,
2326,
18,
1106,
18,
588,
18888,
1305,
12,
5411,
315,
15432,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18949,
1085,
559,
1435,
1216,
1185,
288,
3639,
2985,
966,
707,
273,
5110,
1305,
966,
18,
588,
1305,
966,
12,
2326,
18,
1106,
18,
588,
18888,
1305,
12,
5411,
315,
15432,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.