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 |
|---|---|---|---|---|---|---|
int cat = code/2000; code = code - cat*2000; code = 70000 + cat*5000 + code; | private static SVNErrorMessage readError(InputStream is) throws IOException, SVNException { InputStream pis = is; readChar(pis, '('); int code = readNumber(pis); String errorMessage = readString(pis); readString(pis); readNumber(pis); readChar(pis, ')'); int c... | 2776 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2776/cf28fe58647fa8b98737e5b55a81fe1e0ca03076/SVNReader.java/buggy/javasvn/src/org/tmatesoft/svn/core/internal/io/svn/SVNReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
29537,
50,
14935,
855,
668,
12,
4348,
353,
13,
1216,
1860,
16,
29537,
50,
503,
288,
3639,
5037,
293,
291,
273,
353,
31,
3639,
855,
2156,
12,
84,
291,
16,
7321,
1769,
3639,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
29537,
50,
14935,
855,
668,
12,
4348,
353,
13,
1216,
1860,
16,
29537,
50,
503,
288,
3639,
5037,
293,
291,
273,
353,
31,
3639,
855,
2156,
12,
84,
291,
16,
7321,
1769,
3639,
... | |
int x = ((Integer) widths.get(widths.size() - 1)).intValue(); int y = ((Integer) heights.get(widths.size() - 1)).intValue(); int z = ((Integer) zs.get(widths.size() - 1)).intValue(); int t = ((Integer) ts.get(widths.size() - 1)).intValue(); | int x = ((Integer) widths.get(widths.size() - 1)).intValue(); int y = ((Integer) heights.get(widths.size() - 1)).intValue(); int z = ((Integer) zs.get(widths.size() - 1)).intValue(); int t = ((Integer) ts.get(widths.size() - 1)).intValue(); | private void initMetadata(String xml) throws FormatException, IOException { Vector elements = new Vector(); seriesNames = new Vector(); // first parse each element in the XML string StringTokenizer st = new StringTokenizer(xml, ">"); while (st.hasMoreTokens()) { String token = st.nextToken(); ... | 49800 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49800/054bd26b1432b6733cf1a54342b04ae97fa3a07c/LIFReader.java/clean/loci/formats/in/LIFReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1208,
2277,
12,
780,
2025,
13,
1216,
4077,
503,
16,
1860,
288,
565,
5589,
2186,
273,
394,
5589,
5621,
565,
4166,
1557,
273,
394,
5589,
5621,
565,
368,
1122,
1109,
1517,
930,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1208,
2277,
12,
780,
2025,
13,
1216,
4077,
503,
16,
1860,
288,
565,
5589,
2186,
273,
394,
5589,
5621,
565,
4166,
1557,
273,
394,
5589,
5621,
565,
368,
1122,
1109,
1517,
930,
... |
ImportPackageSpecification[] imports = description.getImportPackages(); addDynamicImportPackage(imports); | if (description.hasDynamicImports()) addDynamicImportPackage(description.getImportPackages()); | protected void initialize(BundleDescription description) { hasDynamicImports = SystemBundleLoader.getSystemPackages() != null; //This is the fastest way to access to the description for fragments since the hostdescription.getFragments() is slow org.osgi.framework.Bundle[] fragmentObjects = bundle.getFragments(); B... | 2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/0e97de6e96a28c39d68f68194c1d01d085c11e71/BundleLoader.java/clean/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/BundleLoader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
4046,
12,
3405,
3291,
2477,
13,
288,
202,
202,
5332,
9791,
13347,
273,
2332,
3405,
2886,
18,
588,
3163,
11425,
1435,
480,
446,
31,
202,
202,
759,
2503,
353,
326,
4797,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
4046,
12,
3405,
3291,
2477,
13,
288,
202,
202,
5332,
9791,
13347,
273,
2332,
3405,
2886,
18,
588,
3163,
11425,
1435,
480,
446,
31,
202,
202,
759,
2503,
353,
326,
4797,
3... |
p[3] = new MNode3D(xyz, -1); | p[3] = new MNode3D(xyz, 0); | public float quality(Object o) { if (!(o instanceof Triangle)) throw new IllegalArgumentException(); Triangle t = (Triangle) o; double [] uv = t.centroid().getUV(); double [] xyz = mesh.getGeomSurface().value(uv[0], uv[1]); p[3] = new MNode3D(xyz, -1); for (int i = 0; i < 3; i++) { uv = t.vertex[i].getUV();... | 46701 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46701/55712c16feb59b359f13fef1e0c46a7eb7dc3b27/AbsoluteDeflection2D.java/clean/amibe/src/org/jcae/mesh/amibe/validation/AbsoluteDeflection2D.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1431,
9312,
12,
921,
320,
13,
202,
95,
202,
202,
430,
16051,
12,
83,
1276,
10000,
4341,
3719,
1082,
202,
12849,
394,
2754,
5621,
202,
202,
31506,
268,
273,
261,
31506,
13,
320... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1431,
9312,
12,
921,
320,
13,
202,
95,
202,
202,
430,
16051,
12,
83,
1276,
10000,
4341,
3719,
1082,
202,
12849,
394,
2754,
5621,
202,
202,
31506,
268,
273,
261,
31506,
13,
320... |
void login(final String serverName, final String database, final String user, final String password, final String domain, final String charset, final String appName, final String libName, final String lan... | 2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/cdf547a3ca2494a8b3b49a4df7ae97612c64a298/TdsCore.java/buggy/src/main/net/sourceforge/jtds/jdbc/TdsCore.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
3925,
12,
6385,
514,
10926,
16,
9079,
727,
514,
2063,
16,
9079,
727,
514,
729,
16,
9079,
727,
514,
2201,
16,
9079,
727,
514,
2461,
16,
9079,
727,
514,
4856,
16,
9079,
727,
514,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
3925,
12,
6385,
514,
10926,
16,
9079,
727,
514,
2063,
16,
9079,
727,
514,
729,
16,
9079,
727,
514,
2201,
16,
9079,
727,
514,
2461,
16,
9079,
727,
514,
4856,
16,
9079,
727,
514,
1... | ||
yaccValue = "`"; | yaccValue = new Token("`", getPosition(null, false)); | private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;... | 45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
677,
1362,
92,
1435,
288,
3639,
1149,
276,
31,
3639,
1250,
3476,
15160,
273,
629,
31,
3639,
1250,
1296,
1119,
31,
7734,
309,
261,
4149,
67,
701,
6408,
480,
446,
13,
288,
1082... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
677,
1362,
92,
1435,
288,
3639,
1149,
276,
31,
3639,
1250,
3476,
15160,
273,
629,
31,
3639,
1250,
1296,
1119,
31,
7734,
309,
261,
4149,
67,
701,
6408,
480,
446,
13,
288,
1082... |
Boolean lhsValue = BooleanFunction.evaluate( getLHS().evaluate( context ) ); | Navigator nav = context.getNavigator(); Boolean lhsValue = BooleanFunction.evaluate( getLHS().evaluate( context ), nav ); | public Object evaluate(Context context) throws JaxenException { Boolean lhsValue = BooleanFunction.evaluate( getLHS().evaluate( context ) ); if ( lhsValue == Boolean.FALSE ) { return Boolean.FALSE; } Boolean rhsValue = BooleanFunction.evaluate( getRHS().evaluate( con... | 5646 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5646/e0cac8556abf419293cfe6305bb520b15fdfed89/DefaultAndExpr.java/buggy/src/java/main/org/jaxen/expr/DefaultAndExpr.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
5956,
12,
1042,
819,
13,
1216,
25824,
275,
503,
565,
288,
3639,
423,
13061,
8775,
273,
819,
18,
588,
22817,
5621,
3411,
8499,
620,
273,
3411,
2083,
18,
21024,
12,
9014,
13173,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5956,
12,
1042,
819,
13,
1216,
25824,
275,
503,
565,
288,
3639,
423,
13061,
8775,
273,
819,
18,
588,
22817,
5621,
3411,
8499,
620,
273,
3411,
2083,
18,
21024,
12,
9014,
13173,... |
synchronized (assigneeAvailSchedule) { assigneeAvailSchedule.add(ldmf.newAssignedAvailabilityElement((Asset)localAsset, schedule.getStartTime(), schedule.getEndTime())); | synchronized (assetAvailSchedule) { assetAvailSchedule.add(ldmf.newAssignedAvailabilityElement((Asset)localAssignee, schedule.getStartTime(), schedule.getEndTime())); | private void assetTransferRemoved(AssetTransfer at) { // create an AssetRescind message Schedule rescindSchedule; if ((at.getAsset() instanceof HasRelationships) && (at.getAssignee() instanceof HasRelationships)) { rescindSchedule = ldmf.newAssignedRelationshipSchedule(); RelationshipSchedul... | 7981 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7981/6c7c58c78b79da8931372203fd23cb4ba423d847/RescindLP.java/clean/core/src/org/cougaar/planning/ldm/lps/RescindLP.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
3310,
5912,
10026,
12,
6672,
5912,
622,
13,
288,
565,
368,
752,
392,
10494,
607,
71,
728,
883,
565,
10674,
400,
71,
728,
6061,
31,
565,
309,
14015,
270,
18,
588,
6672,
1435,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3310,
5912,
10026,
12,
6672,
5912,
622,
13,
288,
565,
368,
752,
392,
10494,
607,
71,
728,
883,
565,
10674,
400,
71,
728,
6061,
31,
565,
309,
14015,
270,
18,
588,
6672,
1435,
... |
_xr = saxParserFactory.newSAXParser().getXMLReader(); | SaxLoader ( ) { try { _xr = saxParserFactory.newSAXParser().getXMLReader(); _xr.setFeature( "http://xml.org/sax/features/namespace-prefixes", true ); _xr.setFeature( "http://xml.org/sax/features/namespaces", true ); _xr.set... | 3520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3520/46281b438add94c88e48163c26c7a7325aa9926c/Locale.java/clean/v2/src/newstore/org/apache/xmlbeans/impl/newstore/pub/store/Locale.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
348,
651,
2886,
261,
262,
3639,
288,
5411,
775,
5411,
288,
17311,
389,
92,
86,
18,
542,
4595,
12,
315,
2505,
2207,
2902,
18,
3341,
19,
87,
651,
19,
7139,
19,
4937,
17,
17777,
3113,
63... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
348,
651,
2886,
261,
262,
3639,
288,
5411,
775,
5411,
288,
17311,
389,
92,
86,
18,
542,
4595,
12,
315,
2505,
2207,
2902,
18,
3341,
19,
87,
651,
19,
7139,
19,
4937,
17,
17777,
3113,
63... | |
File generatedFile = new File("test/TestController.groovy"); | File generatedFile = new File("test/grails-app/controllers/TestController.groovy"); | public void testGenerateController() throws Exception { GrailsTemplateGenerator generator; GroovyClassLoader gcl = new GroovyClassLoader(Thread.currentThread().getContextClassLoader()); generator = (GrailsTemplateGenerator)gcl.parseClass(gcl.getResourceAsStream("org/codehaus/groovy/grails/scaff... | 52953 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52953/477c9c88d4f3e46684364fb9f8dd228d069f0570/GrailsTemplateGeneratorsTests.java/clean/test/scaffolding/org/codehaus/groovy/grails/scaffolding/GrailsTemplateGeneratorsTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
4625,
2933,
1435,
1216,
1185,
288,
3639,
10812,
14573,
2283,
3908,
4456,
31,
3639,
20841,
7805,
314,
830,
273,
394,
20841,
7805,
12,
3830,
18,
2972,
3830,
7675,
29120,
7805... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4625,
2933,
1435,
1216,
1185,
288,
3639,
10812,
14573,
2283,
3908,
4456,
31,
3639,
20841,
7805,
314,
830,
273,
394,
20841,
7805,
12,
3830,
18,
2972,
3830,
7675,
29120,
7805... |
else if (script == HIRAGANA_SCRIPT) return "KATAKANA-HIRAGANA"; | else if (script == HIRAGANA_SCRIPT && HACK_KANA) return "KATAKANA-HIRAGANA"; | static String getChunkName(byte script) { if (script == -3) return "NULL"; else if (script == -2) return "IGNORABLE"; else if (script == -1) return "VARIABLE"; else if (script == HIRAGANA_SCRIPT) return "KATAKANA-HIRAGANA"; else if (script == UNSUPPORTED) return "UNSUPPORTED"; ... | 5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/3b30dd9146aa6529c07a6f0f4745caf2c750b816/WriteCharts.java/clean/tools/unicodetools/com/ibm/text/UCA/WriteCharts.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
514,
336,
5579,
461,
12,
7229,
2728,
13,
288,
3639,
309,
261,
4263,
422,
300,
23,
13,
327,
315,
8560,
14432,
3639,
469,
309,
261,
4263,
422,
300,
22,
13,
327,
315,
10452,
916,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
336,
5579,
461,
12,
7229,
2728,
13,
288,
3639,
309,
261,
4263,
422,
300,
23,
13,
327,
315,
8560,
14432,
3639,
469,
309,
261,
4263,
422,
300,
22,
13,
327,
315,
10452,
916,
27... |
externalJarButton.setEnabled(false); | protected void createPushButtons() { selectAllButton = createPushButton(SELECT_ALL_BUTTON); deselectAllButton = createPushButton(DE_SELECT_ALL_BUTTON); projectJarButton = createPushButton(J2EEUIMessages.getResourceString("PROJECT_JAR"));//$NON-NLS-1$ externalJarButton = createPushButton(J2EEUIMessages.getResourceS... | 8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/f8b78e9064c9d629270035275fba67ea894610bf/AddModulestoEARPropertiesPage.java/clean/plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/AddModulestoEARPropertiesPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
752,
7621,
14388,
1435,
288,
202,
202,
4025,
1595,
3616,
273,
752,
7621,
3616,
12,
4803,
67,
4685,
67,
20068,
1769,
202,
202,
5489,
13759,
1595,
3616,
273,
752,
7621,
3616... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
752,
7621,
14388,
1435,
288,
202,
202,
4025,
1595,
3616,
273,
752,
7621,
3616,
12,
4803,
67,
4685,
67,
20068,
1769,
202,
202,
5489,
13759,
1595,
3616,
273,
752,
7621,
3616... | |
if (haveMinimumServerVersion("7.1")) | if (haveMinimumServerVersion("7.3")) { ExecSQL("set autocommit = off; " + getIsolationLevelSQL()); } else if (haveMinimumServerVersion("7.1")) | public void setAutoCommit(boolean autoCommit) throws SQLException { if (this.autoCommit == autoCommit) return ; if (autoCommit) ExecSQL("end"); else { if (haveMinimumServerVersion("7.1")) { ExecSQL("begin;" + getIsolationLevelSQL()); } else { ExecSQL("begin"); ExecSQL(getIsolationLevelSQL())... | 46312 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46312/c3e7b3cc96ea1f84be7a402942a0572428d6ef25/AbstractJdbc1Connection.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
21780,
5580,
12,
6494,
3656,
5580,
13,
1216,
6483,
202,
95,
202,
202,
430,
261,
2211,
18,
6079,
5580,
422,
3656,
5580,
13,
1082,
202,
2463,
274,
202,
202,
430,
261,
6079,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21780,
5580,
12,
6494,
3656,
5580,
13,
1216,
6483,
202,
95,
202,
202,
430,
261,
2211,
18,
6079,
5580,
422,
3656,
5580,
13,
1082,
202,
2463,
274,
202,
202,
430,
261,
6079,... |
|| DesignElement.VIEW_ACTION_PROP.equals( propName ) ) | || IDesignElementModel.VIEW_ACTION_PROP.equals( propName ) ) | public static void duplicateProperties( DesignElementHandle source, DesignElementHandle destination, boolean onlyFactoryProperty ) { assert source != null; assert destination != null; if ( !( ( source instanceof ReportDesignHandle ) && ( destination instanceof LibraryHandle ) ) ) assert destination.getDefn( ).g... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/d802c33711e0d111551ae23575895cd060f085b6/ModelUtil.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ModelUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
6751,
2297,
12,
29703,
1046,
3259,
1084,
16,
1082,
202,
15478,
1046,
3259,
2929,
16,
1250,
1338,
1733,
1396,
262,
202,
95,
202,
202,
11231,
1084,
480,
446,
31,
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,
760,
918,
6751,
2297,
12,
29703,
1046,
3259,
1084,
16,
1082,
202,
15478,
1046,
3259,
2929,
16,
1250,
1338,
1733,
1396,
262,
202,
95,
202,
202,
11231,
1084,
480,
446,
31,
202,
... |
fInternalSubset.append("PUBLIC '"); fInternalSubset.append(publicId); fInternalSubset.append("' '"); | fInternalSubset.append ("PUBLIC '"); fInternalSubset.append (publicId); fInternalSubset.append ("' '"); | public void externalEntityDecl(String name, XMLResourceIdentifier identifier, Augmentations augs) throws XNIException { if (DEBUG_EVENTS) { System.out.println("==>externalEntityDecl: "+name); if (DEBUG_BASEURI) { System.out.println(" e... | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/b4cd180911aea48174dc85f3cf80e53272cd1419/AbstractDOMParser.java/clean/src/org/apache/xerces/parsers/AbstractDOMParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3903,
1943,
3456,
12,
780,
508,
16,
3167,
1420,
3004,
2756,
16,
4766,
282,
432,
14870,
1012,
279,
9024,
13,
1216,
1139,
50,
45,
503,
288,
3639,
309,
261,
9394,
67,
29221,
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,
3903,
1943,
3456,
12,
780,
508,
16,
3167,
1420,
3004,
2756,
16,
4766,
282,
432,
14870,
1012,
279,
9024,
13,
1216,
1139,
50,
45,
503,
288,
3639,
309,
261,
9394,
67,
29221,
13,... |
statusMessage += emitStringEndTag(DIAGNOSTIC); | statusMessage += emitStringEndTag(DIAGNOSTIC); | protected void formatStatusMessage ( String hdr, String reason) { statusMessage += emitStringBeginTag(DIAGNOSTIC); statusMessage += emitStringAttribute( STATUS, "OK" ); statusMessage += emitStringAttribute( REASON, reason ); statusMessage += emitStringEndTag(); statusMessage += emitStringCData(EXCEPTION_TEXT... | 3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/68c0ca844a7d5fe4a7744cbf9898184966ce0680/Torture.java/buggy/src/test/torture/Torture.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
740,
1482,
1079,
261,
514,
7723,
16,
9506,
202,
780,
3971,
13,
288,
202,
202,
2327,
1079,
1011,
3626,
780,
8149,
1805,
12,
2565,
1781,
3417,
882,
2871,
1769,
202,
225,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
740,
1482,
1079,
261,
514,
7723,
16,
9506,
202,
780,
3971,
13,
288,
202,
202,
2327,
1079,
1011,
3626,
780,
8149,
1805,
12,
2565,
1781,
3417,
882,
2871,
1769,
202,
225,
2... |
private void handleDispose() { state = UNLINKED; } | private void handleDispose() { state = UNLINKED; } | private void handleDispose() { state = UNLINKED; } | 13273 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13273/cf83d7e74fdf42d9c4357c3e575c08395991a878/TopWindowManager.java/clean/SRC/org/openmicroscopy/shoola/env/ui/TopWindowManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1640,
1669,
4150,
1435,
202,
95,
202,
202,
2019,
273,
5019,
10554,
2056,
31,
225,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
1152,
918,
1640,
1669,
4150,
1435,
202,
95,
202,
202,
2019,
273,
5019,
10554,
2056,
31,
225,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
if (!(object instanceof CategoryActivityBindingDefinition)) return false; | if (!(object instanceof CategoryActivityBindingDefinition)) { return false; } | public boolean equals(Object object) { if (!(object instanceof CategoryActivityBindingDefinition)) return false; final CategoryActivityBindingDefinition castedObject = (CategoryActivityBindingDefinition) object; if (!Util.equals(activityId, castedObject.activityId)) { retu... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/CategoryActivityBindingDefinition.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/activities/CategoryActivityBindingDefinition.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1606,
12,
921,
733,
13,
288,
3639,
309,
16051,
12,
1612,
1276,
9856,
6193,
5250,
1852,
3719,
5411,
327,
629,
31,
3639,
727,
9856,
6193,
5250,
1852,
4812,
23016,
273,
261,
4457... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1606,
12,
921,
733,
13,
288,
3639,
309,
16051,
12,
1612,
1276,
9856,
6193,
5250,
1852,
3719,
5411,
327,
629,
31,
3639,
727,
9856,
6193,
5250,
1852,
4812,
23016,
273,
261,
4457... |
"a.managedObjectInstace as managedObjectInstace, " + | "a.managedObjectInstance as managedObjectInstance, " + | public AlarmMappingQuery(DataSource ds, String clause) { super(ds, "SELECT " + "a.eventUei as eventUei, " + "a.dpName as dpName, " + "a.nodeID as nodeID, " + "a.ipaddr as ipaddr, " + "a.serviceID as serviceID, " + "a.reductionKey as reductionKey, " ... | 48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/6512693d8415dde741685c8fad6d045262b4c8c0/AlarmMappingQuery.java/clean/opennms-dao/src/main/java/org/opennms/netmgt/dao/jdbc/alarm/AlarmMappingQuery.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2262,
4610,
3233,
1138,
12,
8597,
3780,
16,
514,
6591,
13,
288,
3639,
2240,
12,
2377,
16,
315,
4803,
315,
397,
1850,
202,
202,
6,
69,
18,
2575,
57,
73,
77,
487,
871,
57,
73,
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,
2262,
4610,
3233,
1138,
12,
8597,
3780,
16,
514,
6591,
13,
288,
3639,
2240,
12,
2377,
16,
315,
4803,
315,
397,
1850,
202,
202,
6,
69,
18,
2575,
57,
73,
77,
487,
871,
57,
73,
7... |
0)); | e.getModifiers())); | public void run() { Thread actionThread = new Thread(){ public void run() { ListIterator li = actionList.listIterator(0); while (li.hasNext()) { ActionListener al; al = (Action... | 4176 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4176/7047c58ac0ea8eb8f8361695e507696d53ce494d/GnomeTrayIconService.java/buggy/src/jdic/src/unix/classes/org/jdesktop/jdic/tray/internal/impl/GnomeTrayIconService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
918,
1086,
1435,
288,
5375,
4884,
1301,
3830,
273,
394,
4884,
1435,
95,
10792,
1071,
918,
1086,
1435,
288,
13491,
987,
3198,
4501,
273,
1301,
682,
18,
1098,
3198,
12,
20,
1769,
134... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
918,
1086,
1435,
288,
5375,
4884,
1301,
3830,
273,
394,
4884,
1435,
95,
10792,
1071,
918,
1086,
1435,
288,
13491,
987,
3198,
4501,
273,
1301,
682,
18,
1098,
3198,
12,
20,
1769,
134... |
if (System.getProperty("sgs.ostore.startclean").equalsIgnoreCase("true")){ | String cleanProperty = System.getProperty("sgs.ostore.startclean"); if ((cleanProperty!=null)&&(cleanProperty.equalsIgnoreCase("true"))){ | private Router startupGame(TransportManager transportManager, DeploymentRec game, StatusReport installationReport) { Router router = null; int gameID = game.getID(); try { router = new RouterImpl(transportManager); } catch (Exception e) { e.printStackTrace(); return null; } int gameCount = Integer.pars... | 55380 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55380/eac381ef041293c9120046b6e5053f2bf8aa16bc/SGS.java/buggy/src/com/sun/gi/SGS.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
9703,
11850,
12496,
12,
6568,
1318,
4736,
1318,
16,
1082,
202,
6733,
5650,
7920,
16,
2685,
4820,
13193,
4820,
13,
288,
202,
202,
8259,
4633,
273,
446,
31,
202,
202,
474,
7920,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9703,
11850,
12496,
12,
6568,
1318,
4736,
1318,
16,
1082,
202,
6733,
5650,
7920,
16,
2685,
4820,
13193,
4820,
13,
288,
202,
202,
8259,
4633,
273,
446,
31,
202,
202,
474,
7920,
... |
final void setObsolete( boolean sense ) { obsoleteFlag = sense; } | final void setObsolete(boolean sense) { if (sense) { state |= OBSOLETE; } else { state &= ~OBSOLETE; } } | final void setObsolete( boolean sense ) { obsoleteFlag = sense; } | 5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/a889d584defb21b1d15899f7c38c039cf705e5f5/VM_CompiledMethod.java/clean/rvm/src/vm/classLoader/VM_CompiledMethod.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
918,
202,
202,
542,
27637,
19513,
12,
1250,
12764,
262,
25083,
225,
288,
27191,
4678,
273,
12764,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
282,
727,
918,
202,
202,
542,
27637,
19513,
12,
1250,
12764,
262,
25083,
225,
288,
27191,
4678,
273,
12764,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
long sz = buckets[i].size(); if(sz < blockLength) { if(i != dataBlockStatus.length-1) throw new IllegalArgumentException("All buckets except the last must be the full size"); if(sz < blockLength) buckets[i] = pad(buckets[i], blockLength, bf, (int) sz); else throw new IllegalArgumentException("Too big: "+sz+" bigger tha... | public void realDecode(SplitfileBlock[] dataBlockStatus, SplitfileBlock[] checkBlockStatus, int blockLength, BucketFactory bf) throws IOException { Logger.minor(this, "Doing decode: "+dataBlockStatus.length+" data blocks, "+checkBlockStatus.length+" check blocks, block length "+blockLength+" with "+this); if(dataBlo... | 46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/923f3296489fa89e5c0d76399b6de451cd594133/StandardOnionFECCodec.java/buggy/src/freenet/client/StandardOnionFECCodec.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2863,
6615,
12,
5521,
768,
1768,
8526,
501,
1768,
1482,
16,
5385,
768,
1768,
8526,
866,
1768,
1482,
16,
509,
25367,
16,
7408,
1733,
16222,
13,
1216,
1860,
288,
202,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2863,
6615,
12,
5521,
768,
1768,
8526,
501,
1768,
1482,
16,
5385,
768,
1768,
8526,
866,
1768,
1482,
16,
509,
25367,
16,
7408,
1733,
16222,
13,
1216,
1860,
288,
202,
202,
... | |
offset = VM_Entrypoints.timerTicksField.getOffset(); | offset = VM_Entrypoints.timerTicksField.getOffsetAsInt(); | static void emitVirtualMachineDeclarations (int bootImageAddress) { // load address for the boot image // p("static const int bootImageAddress = 0x" + Integer.toHexString(bootImageAddress) + ";\n"); // values in VM_Constants, from VM_Configuration // //-#if RVM_FOR_POWE... | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/3a9aeeb7f964774e6adc285d6526603ac1570e14/GenerateInterfaceDeclarations.java/buggy/rvm/src/tools/bootImageRunner/GenerateInterfaceDeclarations.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
918,
3626,
27454,
21408,
261,
474,
4835,
2040,
1887,
13,
288,
565,
368,
1262,
1758,
364,
326,
4835,
1316,
565,
368,
565,
293,
2932,
3845,
1866,
509,
4835,
2040,
1887,
13491,
273,
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,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
918,
3626,
27454,
21408,
261,
474,
4835,
2040,
1887,
13,
288,
565,
368,
1262,
1758,
364,
326,
4835,
1316,
565,
368,
565,
293,
2932,
3845,
1866,
509,
4835,
2040,
1887,
13491,
273,
374... |
final XMPPSession session = openSession(); | final XMPPSession session = openAnonymousSession(); | public Release readLatest(final String artifactId, final String groupId) throws XMPPException { final XMPPSession session = openSession(); try { session.setRemoteMethod("release:readlatest"); session.setParameter("artifactId", artifactId); session.setParamet... | 53635 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53635/20bb878aa178132e5e2ec7df7cb0992c438cd6b2/ReleaseIOHandler.java/buggy/local/model/src/main/java/com/thinkparity/model/parity/model/io/xmpp/handler/ReleaseIOHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
10819,
855,
18650,
12,
6385,
514,
25496,
16,
727,
514,
6612,
13,
5411,
1216,
23216,
503,
288,
3639,
727,
23216,
2157,
1339,
273,
1696,
18792,
2157,
5621,
3639,
775,
288,
5411,
1339,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10819,
855,
18650,
12,
6385,
514,
25496,
16,
727,
514,
6612,
13,
5411,
1216,
23216,
503,
288,
3639,
727,
23216,
2157,
1339,
273,
1696,
18792,
2157,
5621,
3639,
775,
288,
5411,
1339,
... |
Area area = new Area(component.getBounds()); | Area area = new Area(new Rectangle(0, 0, component.getWidth(), component.getHeight())); | protected void paintBackground(Graphics2D g, JComponent component) { if (getPaint() != null) { Ellipse2D ellipse = new Ellipse2D.Double(-component.getWidth() / 2.0, component.getHeight() / 2.7, component.getWidth() * 2.0, component.getHeight() * 2.0); Shape... | 47551 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47551/7d6d1e7de1a7a6ec53509a7628f87ad92e63329e/GlossPainter.java/buggy/src/java/org/jdesktop/swingx/painter/GlossPainter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
12574,
8199,
12,
17558,
22,
40,
314,
16,
29058,
1794,
13,
288,
3639,
309,
261,
588,
12699,
1435,
480,
446,
13,
288,
5411,
10426,
10472,
22,
40,
26838,
273,
394,
10426,
10472,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12574,
8199,
12,
17558,
22,
40,
314,
16,
29058,
1794,
13,
288,
3639,
309,
261,
588,
12699,
1435,
480,
446,
13,
288,
5411,
10426,
10472,
22,
40,
26838,
273,
394,
10426,
10472,
... |
graphicsDialog.add(ArcTransField,c); | mainpanel.add(ArcTransField,c); | public GraphicsSettingsDialog(SoniaController cont, SoniaLayoutEngine eng,Frame owner,SoniaCanvas canv) { control = cont; engine = eng; canvas = canv; graphicsDialog = new JDialog(owner,"Graphics Settings",true); GeneralLabel = new JLabel("General Options:"); NodesLabel = new JLabel ("N... | 686 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/686/20c236b20ef9d56fdd62091728ba506ab667eebd/GraphicsSettingsDialog.java/buggy/trunk/sonia/GraphicsSettingsDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
16830,
2628,
6353,
12,
55,
265,
1155,
2933,
466,
16,
2398,
348,
265,
1155,
3744,
4410,
24691,
16,
3219,
3410,
16,
55,
265,
1155,
12971,
848,
90,
13,
225,
288,
565,
3325,
273,
466,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16830,
2628,
6353,
12,
55,
265,
1155,
2933,
466,
16,
2398,
348,
265,
1155,
3744,
4410,
24691,
16,
3219,
3410,
16,
55,
265,
1155,
12971,
848,
90,
13,
225,
288,
565,
3325,
273,
466,... |
newPosn = size; | newPosn = size - 1; | static protected int checkAndAdjustPosition( int oldPosn, int newPosn, int size ) { if ( newPosn < 0 ) newPosn = 0; if ( newPosn > size - 1 ) newPosn = size; if ( oldPosn < 0 || oldPosn > size ) throw new IndexOutOfBoundsException( "From: " + oldPosn + ", List Size: " + size ); //$NON-NLS-1$//$NON-NLS-2... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/3d666210985ad193f9f31413d9fd36adee403f5a/AbstractElementCommand.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/activity/AbstractElementCommand.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
4750,
509,
30970,
10952,
2555,
12,
509,
1592,
1616,
82,
16,
509,
394,
1616,
82,
16,
1082,
202,
474,
963,
262,
202,
95,
202,
202,
430,
261,
394,
1616,
82,
411,
374,
262,
108... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
4750,
509,
30970,
10952,
2555,
12,
509,
1592,
1616,
82,
16,
509,
394,
1616,
82,
16,
1082,
202,
474,
963,
262,
202,
95,
202,
202,
430,
261,
394,
1616,
82,
411,
374,
262,
108... |
((IEditorPersistable) editor).saveState(editorState); | ((IPersistableEditor) editor).saveState(editorState); | public void run() { // Get the input. IEditorInput input = editor.getEditorInput(); IPersistableElement persistable = input.getPersistable(); if (persistable == null) { return; } // Save editor. IMemento editorMem = memento .createChild(IWorkbenchConstants.TAG_EDITOR); editorMem.putS... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e31ff3e28945d55e2d2b5ebfd8833be5adea5001/EditorManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/EditorManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1086,
1435,
288,
9506,
202,
759,
968,
326,
810,
18,
9506,
202,
45,
6946,
1210,
810,
273,
4858,
18,
588,
6946,
1210,
5621,
9506,
202,
2579,
2462,
429,
1046,
3898,
429,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1086,
1435,
288,
9506,
202,
759,
968,
326,
810,
18,
9506,
202,
45,
6946,
1210,
810,
273,
4858,
18,
588,
6946,
1210,
5621,
9506,
202,
2579,
2462,
429,
1046,
3898,
429,
27... |
JFreeChart chart = PurdyChartServletTest.sampleSeverityChart(); response.setContentType("image/png"); | log().debug("doGet: displaying chart: "+chartName); | public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException { /* * To do it: * * */ Color c = Color.white; OutputStream out = response.getOutputStream(); JFreeChart chart = PurdyChartServletTest.sampleSe... | 47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/e7715c9c76a90c6265fa2b25cd514bcb3e17b59c/PurdyChartServlet.java/buggy/src/web/src/org/opennms/web/graph/PurdyChartServlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
23611,
12,
2940,
18572,
590,
16,
12446,
766,
13,
1216,
1860,
288,
3639,
1748,
540,
380,
2974,
741,
518,
30,
540,
380,
1850,
380,
1850,
1195,
7734,
5563,
276,
273,
5563,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
23611,
12,
2940,
18572,
590,
16,
12446,
766,
13,
1216,
1860,
288,
3639,
1748,
540,
380,
2974,
741,
518,
30,
540,
380,
1850,
380,
1850,
1195,
7734,
5563,
276,
273,
5563,
18,
1... |
public void visit(JavaClass obj) { try { setUpAnnotation = null; tearDownAnnotation = null; validClass = false; validMethod = false; sawSetUp = false; sawTearDown = false; JavaClass[] superClasses = obj.getSuperClasses(); for (int i = 0; i < superClasses.length; i++) { JavaClass sc = superClasses[i]; if (sc.getClassNam... | public void visit(Method obj) { if (!validClass) return; validMethod = false; methodName = obj.getName(); if (methodName.equals("setUp") || methodName.equals("tearDown")) { if (methodName.equals("setUp")) setUpAnnotation = MethodAnnotation.fromVisitedMethod(this); else if (methodName.equals("tearDown")) tearDownAnnotat... | public void visit(JavaClass obj) { try { setUpAnnotation = null; tearDownAnnotation = null; validClass = false; validMethod = false; sawSetUp = false; sawTearDown = false; JavaClass[] superClasses = obj.getSuperClasses(); for (int i = 0; i < superClasses.length; i++) { JavaClass sc = superClasses[i... | 7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/96efe1942465d6945a936d29f80ad9ecdc1022cb/InvalidJUnitTest.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/detect/InvalidJUnitTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
12,
5852,
797,
1081,
13,
288,
202,
202,
698,
288,
1082,
202,
542,
1211,
3257,
273,
446,
31,
1082,
202,
736,
297,
4164,
3257,
273,
446,
31,
1082,
202,
877,
797,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3757,
12,
5852,
797,
1081,
13,
288,
202,
202,
698,
288,
1082,
202,
542,
1211,
3257,
273,
446,
31,
1082,
202,
736,
297,
4164,
3257,
273,
446,
31,
1082,
202,
877,
797,
27... |
if((offset - chunks.offset) * 2 < 0) { System.err.println(offset + ":" + chunks.offset); } | public static float offsetToX(Chunk chunks, int offset) { if(offset < 0) throw new ArrayIndexOutOfBoundsException(offset + " < 0"); float x = 0.0f; while(chunks != null) { if(!chunks.inaccessable && offset < chunks.offset + chunks.length) { if(chunks.text == null) break; else { if((offset - ... | 8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/69e5090da511c5673101d74e864bcd4ac0cb922e/ChunkCache.java/clean/org/gjt/sp/jedit/textarea/ChunkCache.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1431,
1384,
14955,
12,
5579,
6055,
16,
509,
1384,
13,
202,
95,
202,
202,
430,
12,
3348,
411,
374,
13,
1082,
202,
12849,
394,
1510,
30548,
12,
3348,
397,
315,
411,
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,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1431,
1384,
14955,
12,
5579,
6055,
16,
509,
1384,
13,
202,
95,
202,
202,
430,
12,
3348,
411,
374,
13,
1082,
202,
12849,
394,
1510,
30548,
12,
3348,
397,
315,
411,
374,
... | |
waitOnImage(bi); | waitOnImage(bi); | private static Image createNameImage(int width, int height, String name, boolean down, Color color) { BufferedImage bi = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); Graphics2D biContext = bi.createGraphics(); biContext.setColor(n... | 51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/02871da8082e1f666ba3ff70facff22aa0a257fe/ResourceLoader.java/buggy/Colossus/net/sf/colossus/util/ResourceLoader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
3421,
752,
461,
2040,
12,
474,
1835,
16,
509,
2072,
16,
514,
508,
16,
1250,
2588,
16,
5563,
2036,
13,
565,
288,
3639,
12362,
10054,
273,
394,
12362,
12,
2819,
16,
2072,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
3421,
752,
461,
2040,
12,
474,
1835,
16,
509,
2072,
16,
514,
508,
16,
1250,
2588,
16,
5563,
2036,
13,
565,
288,
3639,
12362,
10054,
273,
394,
12362,
12,
2819,
16,
2072,
16,
... |
throw new ProfileDataException( "Color space doesn't comply with ICC specification" | throw new ProfileDataException(Messages.getString("awt.160") | public int getNumComponents() { switch (getIntFromHeader(icHdrColorSpace)) { // The most common cases go first to increase speed case icSigRgbData: case icSigXYZData: case icSigLabData: return 3; case icSigCmykData: return 4... | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/783daf59edbe8ecf33f080c323352267b1d7f22a/ICC_Profile.java/buggy/modules/awt/src/main/java/common/java/awt/color/ICC_Profile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
11187,
7171,
1435,
288,
3639,
1620,
261,
588,
1702,
1265,
1864,
12,
335,
14659,
2957,
3819,
3719,
288,
5411,
368,
1021,
4486,
2975,
6088,
1960,
1122,
358,
10929,
8632,
5411,
648,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11187,
7171,
1435,
288,
3639,
1620,
261,
588,
1702,
1265,
1864,
12,
335,
14659,
2957,
3819,
3719,
288,
5411,
368,
1021,
4486,
2975,
6088,
1960,
1122,
358,
10929,
8632,
5411,
648,... |
java.sql.ResultSet rs = connection.ExecSQL("select typname from pg_type"); | java.sql.ResultSet rs = connection.ExecSQL(null, "select typname from pg_type"); | public java.sql.ResultSet getTypeInfo() throws SQLException { java.sql.ResultSet rs = connection.ExecSQL("select typname from pg_type"); if(rs!=null) { Field f[] = new Field[18]; ResultSet r; // ResultSet for the SQL query that we need to do Vector v = new Vector(); // The new ResultSet tuple s... | 52628 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52628/5383b5d8ed6da5c90bcbdb63401b7d1d75db563d/DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/DatabaseMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2252,
18,
4669,
18,
13198,
3130,
966,
1435,
1216,
6483,
225,
288,
565,
2252,
18,
4669,
18,
13198,
3597,
273,
1459,
18,
1905,
3997,
12,
2011,
16,
315,
4025,
3815,
529,
628,
7184,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2252,
18,
4669,
18,
13198,
3130,
966,
1435,
1216,
6483,
225,
288,
565,
2252,
18,
4669,
18,
13198,
3597,
273,
1459,
18,
1905,
3997,
12,
2011,
16,
315,
4025,
3815,
529,
628,
7184,
6... |
public boolean shouldRevertChanges() { return ERXUtilities.booleanValue(d2wContext().valueForKey("shouldRevertChanges")); } | public boolean shouldRevertChanges() { return ERXValueUtilities.booleanValue(d2wContext().valueForKey("shouldRevertChanges")); } | public boolean shouldRevertChanges() { return ERXUtilities.booleanValue(d2wContext().valueForKey("shouldRevertChanges")); } | 22541 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/22541/030cb3f23617518601f8abfb46f84c89445f1881/ERD2WInspectPage.java/buggy/Common/Frameworks/ERDirectToWeb/Sources/er/directtoweb/ERD2WInspectPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1410,
426,
1097,
7173,
1435,
288,
327,
4232,
60,
11864,
18,
6494,
620,
12,
72,
22,
91,
1042,
7675,
1132,
19759,
2932,
13139,
426,
1097,
7173,
7923,
1769,
289,
2,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1410,
426,
1097,
7173,
1435,
288,
327,
4232,
60,
11864,
18,
6494,
620,
12,
72,
22,
91,
1042,
7675,
1132,
19759,
2932,
13139,
426,
1097,
7173,
7923,
1769,
289,
2,
-100,
-100,
... |
n = NativeRegExp.unDigit(c); | n = NativeRegExp.unDigit((char)c); | void buildBitmap(MatchState state, char[] s, boolean fold) { int index = ((Integer) kid).intValue(); int end = kid2; byte fill = 0; int i,n,ocp; boolean not = false; kid2 = 0; if (s[index] == '^') { not = true; kid2 = -1; inde... | 11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/b16d847568c4b6033672534e58b050c4923f9c31/NativeRegExp.java/buggy/js/rhino/src/org/mozilla/javascript/regexp/NativeRegExp.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1361,
12224,
12,
2060,
1119,
919,
16,
1149,
8526,
272,
16,
1250,
11590,
13,
288,
3639,
509,
770,
273,
14015,
4522,
13,
17395,
2934,
474,
620,
5621,
3639,
509,
679,
273,
17395,
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,
377,
918,
1361,
12224,
12,
2060,
1119,
919,
16,
1149,
8526,
272,
16,
1250,
11590,
13,
288,
3639,
509,
770,
273,
14015,
4522,
13,
17395,
2934,
474,
620,
5621,
3639,
509,
679,
273,
17395,
22,
... |
public String toString() throws NotImplementedException | public String toString() | public String toString() throws NotImplementedException { return null; // TODO } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/8e6a933c7311b8af73a149d26777089b7dc8bd68/DefaultTreeSelectionModel.java/clean/core/src/classpath/javax/javax/swing/tree/DefaultTreeSelectionModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
1762,
1435,
225,
288,
202,
202,
2463,
446,
31,
368,
2660,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
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,
514,
1762,
1435,
225,
288,
202,
202,
2463,
446,
31,
368,
2660,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
request.setAttribute("handles", handles); | private void showPreviousSubmissions(Context context, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException, AuthorizeException { ItemIterator subs = Item.findBySubmitter(context, context.getCurrentUser()); // Tu... | 52457 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52457/eb25a51ea445dcb6caf477262e17932a12ee6679/MyDSpaceServlet.java/buggy/dspace/src/org/dspace/app/webui/servlet/MyDSpaceServlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2405,
8351,
1676,
7300,
12,
1042,
819,
16,
3639,
9984,
590,
16,
3639,
12446,
766,
13,
3639,
1216,
16517,
16,
1860,
16,
6483,
16,
23859,
503,
565,
288,
3639,
4342,
3198,
11630,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2405,
8351,
1676,
7300,
12,
1042,
819,
16,
3639,
9984,
590,
16,
3639,
12446,
766,
13,
3639,
1216,
16517,
16,
1860,
16,
6483,
16,
23859,
503,
565,
288,
3639,
4342,
3198,
11630,
... | |
for (Plugin plugin : plugins) plugin.mapFrameInitialized(old, map); | for (PluginProxy plugin : plugins) plugin.mapFrameInitialized(old, map); | public final void setMapFrame(final MapFrame map) { MapFrame old = Main.map; Main.map = map; panel.setVisible(false); panel.removeAll(); if (map != null) { map.fillPanel(panel); panel.setVisible(true); map.mapView.addLayerChangeListener(new LayerChangeListener(){ public void activeLayerChange(final Layer... | 2204 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2204/a9390dbb2b8d4e97ca17ad9d42dd2608e47ed58f/Main.java/buggy/src/org/openstreetmap/josm/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
444,
863,
3219,
12,
6385,
1635,
3219,
852,
13,
288,
202,
202,
863,
3219,
1592,
273,
12740,
18,
1458,
31,
202,
202,
6376,
18,
1458,
273,
852,
31,
202,
202,
13916,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
444,
863,
3219,
12,
6385,
1635,
3219,
852,
13,
288,
202,
202,
863,
3219,
1592,
273,
12740,
18,
1458,
31,
202,
202,
6376,
18,
1458,
273,
852,
31,
202,
202,
13916,
1... |
return null; } else { try { Field field = ref.getWrappedClass().getField(name); if (Modifier.isStatic(field.getModifiers()) && Modifier.isPublic(field.getModifiers()) && field.getType().equals(type)) { return field.get(ref.getWrappedInstance()); } } catch (NoSuchFieldException e) { } catch (IllegalAccessException e) {... | protected Object getPropertyValue(String name, Class type) { BeanWrapper ref = getReference(); if (ref.isReadableProperty(name) && ref.getPropertyType(name).isAssignableFrom(type)) { Object value = ref.getPropertyValue(name); if(value != null && type.isAssignableFrom(value.getClass())) { return value; } r... | 55385 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55385/f3501a936fa4b7198a64ec638260a4d7cca023ba/AbstractGrailsClass.java/buggy/src/commons/org/codehaus/groovy/grails/commons/AbstractGrailsClass.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1033,
21694,
12,
780,
508,
16,
1659,
618,
13,
288,
202,
202,
3381,
3611,
1278,
273,
13223,
5621,
202,
202,
430,
261,
1734,
18,
291,
14151,
1396,
12,
529,
13,
597,
1278,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1033,
21694,
12,
780,
508,
16,
1659,
618,
13,
288,
202,
202,
3381,
3611,
1278,
273,
13223,
5621,
202,
202,
430,
261,
1734,
18,
291,
14151,
1396,
12,
529,
13,
597,
1278,
18,
... | |
home = Platform.resolve(url).getPath(); | home = Platform.resolve( url ).getPath( ); | public static String getHomeDirectory() { URL url = ReportPlugin.getDefault().getBundle().getEntry("/"); String home = null; try { home = Platform.resolve(url).getPath(); } catch ( IOException e ) { // TODO Auto-generated catch block e.printStackTrace(); } return home.substring(1); } | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/54a65dd73bba1effaa68099dfb54509007fcdc8b/UIUtil.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/util/UIUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
7628,
1742,
2853,
1435,
202,
95,
202,
202,
1785,
880,
273,
8706,
3773,
18,
588,
1868,
7675,
588,
3405,
7675,
588,
1622,
2932,
4898,
1769,
202,
202,
780,
6382,
273,
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,
760,
514,
7628,
1742,
2853,
1435,
202,
95,
202,
202,
1785,
880,
273,
8706,
3773,
18,
588,
1868,
7675,
588,
3405,
7675,
588,
1622,
2932,
4898,
1769,
202,
202,
780,
6382,
273,
4... |
noise2(noise, point, channels); | noise2(noise, pointX, pointY, channels); | private final void turbulence(final int rgb[], final double point[], final double fSum[], final double noise[], final int numOctaves, final int channels[]){ fSum[0] = fSum[1] = fSum[2] = fSum[3] = noise[0] = noise[1] = noise[2] = noise[3] = 0; double ratio = 1; ... | 46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/28eb05b45fcb86648242c7c7850975dbcd6ab809/TurbulencePatternGenerator.java/buggy/sources/org/apache/batik/refimpl/gvt/filter/TurbulencePatternGenerator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
727,
918,
268,
15850,
332,
802,
12,
6385,
509,
6917,
63,
6487,
727,
1645,
1634,
63,
6487,
727,
1645,
284,
3495,
63,
6487,
21394,
727,
1645,
10825,
63,
6487,
727,
509,
818,
19320,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
727,
918,
268,
15850,
332,
802,
12,
6385,
509,
6917,
63,
6487,
727,
1645,
1634,
63,
6487,
727,
1645,
284,
3495,
63,
6487,
21394,
727,
1645,
10825,
63,
6487,
727,
509,
818,
19320,
... |
return Integer.toString(Math.abs(new Random().nextInt()),36); | return Integer.toString(Math.abs(random.nextInt()),36); | private String newId() { return Integer.toString(Math.abs(new Random().nextInt()),36); } | 55137 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55137/1f2bbcd5f7d1fc45bdacc11969a11bb1a7faf85b/LocalJobRunner.java/buggy/src/java/org/apache/hadoop/mapred/LocalJobRunner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
27598,
1435,
288,
1377,
327,
2144,
18,
10492,
12,
10477,
18,
5113,
12,
9188,
18,
4285,
1702,
1435,
3631,
5718,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
27598,
1435,
288,
1377,
327,
2144,
18,
10492,
12,
10477,
18,
5113,
12,
9188,
18,
4285,
1702,
1435,
3631,
5718,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
private void download(Image image, PixelsFactory pf, OMESidePanel omesp, DataFactory df) { if (cancelPlugin) { pluginCancelled(); return; } //get pixel data Pixels pix = image.getDefaultPixels(); int sizeX, sizeY, sizeZ, sizeC, sizeT; sizeX = pix.getSizeX().intValue(); sizeY = pix.... | 49800 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49800/b59984375440a9807d545ea53af1d0d6c2a306d6/OMETools.java/buggy/loci/ome/ij/OMETools.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
4224,
12,
2040,
1316,
16,
26070,
87,
1733,
10811,
16,
531,
958,
8895,
5537,
8068,
281,
84,
16,
1377,
1910,
1733,
3013,
13,
288,
565,
309,
261,
10996,
3773,
13,
288,
1377,
190... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4224,
12,
2040,
1316,
16,
26070,
87,
1733,
10811,
16,
531,
958,
8895,
5537,
8068,
281,
84,
16,
1377,
1910,
1733,
3013,
13,
288,
565,
309,
261,
10996,
3773,
13,
288,
1377,
190... | ||
new Pattern("log4j:configuration/root/appender-ref"), | new Pattern("configuration/root/appender-ref"), | protected void selfInitialize() { RuleStore rs = new SimpleRuleStore(); rs.addRule(new Pattern("log4j:configuration"), new ConfigurationAction()); rs.addRule( new Pattern("log4j:configuration/substitutionProperty"), new SubstitutionPropertyAction()); rs.addRule( new Pattern("log4j:configura... | 45952 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45952/f7bd35e48399a11981af7628e678932ba6025850/JoranConfigurator.java/buggy/src/java/org/apache/log4j/joran/JoranConfigurator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
365,
7520,
1435,
288,
565,
6781,
2257,
3597,
273,
394,
4477,
2175,
2257,
5621,
565,
3597,
18,
1289,
2175,
12,
2704,
6830,
2932,
1330,
24,
78,
30,
7025,
6,
3631,
394,
4659,
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,
4750,
918,
365,
7520,
1435,
288,
565,
6781,
2257,
3597,
273,
394,
4477,
2175,
2257,
5621,
565,
3597,
18,
1289,
2175,
12,
2704,
6830,
2932,
1330,
24,
78,
30,
7025,
6,
3631,
394,
4659,
18... |
try | last.close(); if (!con.getAutoCommit()) | public Connection getConnection() throws SQLException { if (con == null) { throw new SQLException("This PooledConnection has already been closed!"); } // Only one connection can be open at a time from this PooledConnection. See JDBC 2.0 Optional Package spec section 6.2.3 if (last != null) { last.close(); ... | 52628 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52628/9e29b32e782e38ebdcb41b217a18fafe3387371e/PooledConnectionImpl.java/clean/src/interfaces/jdbc/org/postgresql/jdbc2/optional/PooledConnectionImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4050,
6742,
1435,
1216,
6483,
202,
95,
202,
202,
430,
261,
591,
422,
446,
13,
202,
202,
95,
1082,
202,
12849,
394,
6483,
2932,
2503,
453,
22167,
1952,
711,
1818,
2118,
4375,
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,
4050,
6742,
1435,
1216,
6483,
202,
95,
202,
202,
430,
261,
591,
422,
446,
13,
202,
202,
95,
1082,
202,
12849,
394,
6483,
2932,
2503,
453,
22167,
1952,
711,
1818,
2118,
4375,
4... |
Header hdr = (Header)hdrsEnum.nextElement(); | Header hdr = (Header) hdrsEnum.nextElement(); | private static void dumpMessage(MimeMessage mm) { /* * Dump the outgoing message to stdout for now... */ mLog.debug("--------------------------------------"); try { Enumeration hdrsEnum = mm.getAllHeaders(); if (hdrsEnum != null) while (hdrs... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/545a47e80f124ea231945f86e3fb9cb62048b4e8/ParseMimeMessage.java/buggy/ZimbraServer/src/java/com/zimbra/cs/service/mail/ParseMimeMessage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
4657,
1079,
12,
13320,
1079,
9740,
13,
288,
3639,
1748,
1850,
380,
18242,
326,
12902,
883,
358,
3909,
364,
2037,
2777,
540,
1195,
3639,
312,
1343,
18,
4148,
2932,
2443,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
4657,
1079,
12,
13320,
1079,
9740,
13,
288,
3639,
1748,
1850,
380,
18242,
326,
12902,
883,
358,
3909,
364,
2037,
2777,
540,
1195,
3639,
312,
1343,
18,
4148,
2932,
2443,
13... |
return RubyBoolean.newBoolean(runtime, isTaint()); | return getRuntime().newBoolean(isTaint()); | public RubyBoolean tainted() { return RubyBoolean.newBoolean(runtime, isTaint()); } | 1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyObject.java/clean/src/org/jruby/RubyObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
5507,
22664,
329,
1435,
288,
3639,
327,
18814,
7675,
2704,
5507,
12,
291,
29048,
10663,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
5507,
22664,
329,
1435,
288,
3639,
327,
18814,
7675,
2704,
5507,
12,
291,
29048,
10663,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
if ((ai.minimumWaterDepth < 1) && ai.underWaterCombat) { los.blocked = true; } | private static LosEffects losStraight(IGame game, AttackInfo ai) { Coords[] in = Coords.intervening(ai.attackPos, ai.targetPos); LosEffects los = new LosEffects(); boolean targetInBuilding = false; if (ai.targetEntity) { targetInBuilding = Compute.isInBuilding(game, game.getBo... | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/fa44b6043f3803cbeb2ce3b5e85ec7e17bad87fa/LosEffects.java/buggy/megamek/src/megamek/common/LosEffects.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
309,
14015,
10658,
18,
15903,
24064,
6148,
411,
404,
13,
597,
14679,
18,
9341,
24064,
11328,
270,
13,
288,
22148,
18,
23156,
273,
638,
31,
289,
282,
309,
14015,
10658,
18,
15903,
24064,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
309,
14015,
10658,
18,
15903,
24064,
6148,
411,
404,
13,
597,
14679,
18,
9341,
24064,
11328,
270,
13,
288,
22148,
18,
23156,
273,
638,
31,
289,
282,
309,
14015,
10658,
18,
15903,
24064,
6... | |
super(conn_, removeRetVal(sql), type, concurrency); String resSql = removeRetVal(sql); if( !resSql.equals(sql) ) haveRetVal = true; sql = resSql; procedureName = ""; int i = 0; int pos = sql.indexOf("{call "); if( pos >= 0 ) i = pos + 6; else { pos = sql.indexOf("exec "); if( pos >= 0 ) i = pos + 5; } while( i<s... | this(conn_, sql, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY); | public CallableStatement_base(TdsConnection conn_, String sql, int type, int concurrency) throws SQLException { // SAfe We have to call removeRetVal twice because the call to super // must be the first statement. :( super(conn_, removeRetVal(sql), type, concurrency); Strin... | 5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/36d7d34eb620f32e386322a293eaf58cf253a3a6/CallableStatement_base.java/buggy/src/main/net/sourceforge/jtds/jdbc/CallableStatement_base.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
10464,
3406,
67,
1969,
12,
56,
2377,
1952,
1487,
67,
16,
514,
1847,
16,
509,
618,
16,
509,
17752,
13,
3639,
1216,
6483,
565,
288,
3639,
368,
17127,
3030,
1660,
1240,
358,
745,
120... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10464,
3406,
67,
1969,
12,
56,
2377,
1952,
1487,
67,
16,
514,
1847,
16,
509,
618,
16,
509,
17752,
13,
3639,
1216,
6483,
565,
288,
3639,
368,
17127,
3030,
1660,
1240,
358,
745,
120... |
return (int) Math.round(xDist + 1); | return (int) Math.ceil(xDist + 1); | int getRange(Hex hex1, Hex hex2) { int x1 = hex1.getXCoord(); float y1 = hex1.getYCoord(); int x2 = hex2.getXCoord(); float y2 = hex2.getYCoord(); // Hexes with odd X coordinates are pushed down half a hex. if ((x1 & 1) == 1) { y1 += 0.5; } ... | 51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/e9860c0a151c78ceb34a52eaa629e165f78211b7/BattleMap.java/clean/Colossus/BattleMap.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
509,
22373,
12,
7037,
3827,
21,
16,
15734,
3827,
22,
13,
565,
288,
3639,
509,
619,
21,
273,
3827,
21,
18,
588,
60,
5401,
5621,
3639,
1431,
677,
21,
273,
3827,
21,
18,
588,
61,
5401,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
22373,
12,
7037,
3827,
21,
16,
15734,
3827,
22,
13,
565,
288,
3639,
509,
619,
21,
273,
3827,
21,
18,
588,
60,
5401,
5621,
3639,
1431,
677,
21,
273,
3827,
21,
18,
588,
61,
5401,
... |
public void setOptions(Option[] options) { if (filter != null) removeFilterFromQuery(filter); setFilter(null); // reset the maps so we can can find things later valueToOption.clear(); treeMenu.removeAll(); treeTopOptions = new JMenu(); treeMenu.add(treeTopOptions); // add the nullItem to the top of the list... | 2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/19dd1e43b38d7b83a4513a906a601601f10de257/TreeFilterWidget.java/clean/src/java/org/ensembl/mart/explorer/TreeFilterWidget.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6459,
542,
1320,
12,
1895,
8526,
2116,
15329,
202,
202,
430,
12,
2188,
5,
33,
2011,
13,
1082,
202,
4479,
1586,
1265,
1138,
12,
2188,
1769,
202,
202,
542,
1586,
12,
2011,
1769,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6459,
542,
1320,
12,
1895,
8526,
2116,
15329,
202,
202,
430,
12,
2188,
5,
33,
2011,
13,
1082,
202,
4479,
1586,
1265,
1138,
12,
2188,
1769,
202,
202,
542,
1586,
12,
2011,
1769,... | ||
public void paintReaction(Reaction reaction, Graphics graphics) { // paint reactants content AtomContainer reactantContainer = new AtomContainer(); Molecule[] reactants = reaction.getReactants(); for (int i=0; i<reactants.length; i++) { reactantContainer.add(reactants[i]); ... | 1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/f736ba4e7655efeb99a8433c5e9cadb509eaa4e5/Renderer2D.java/buggy/src/org/openscience/cdk/renderer/Renderer2D.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12574,
21581,
12,
21581,
12836,
16,
16830,
17313,
13,
288,
3639,
368,
12574,
13417,
4388,
913,
3639,
7149,
2170,
13417,
970,
2170,
273,
394,
7149,
2170,
5621,
3639,
490,
10545,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12574,
21581,
12,
21581,
12836,
16,
16830,
17313,
13,
288,
3639,
368,
12574,
13417,
4388,
913,
3639,
7149,
2170,
13417,
970,
2170,
273,
394,
7149,
2170,
5621,
3639,
490,
10545,
8... | ||
int type = T110; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; { match("catch"); | try { int type = T110; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; { match("catch"); | public void mT110() throws RecognitionException { int type = T110; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/o... | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/7e425814ce563fcc662b266adb2a4dc8e1a95d19/JavaParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParserLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
21115,
17506,
1435,
1216,
9539,
288,
3639,
509,
618,
273,
399,
17506,
31,
3639,
509,
787,
273,
23577,
1016,
5621,
3639,
509,
980,
273,
9851,
5621,
3639,
509,
1149,
2555,
273,
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,
21115,
17506,
1435,
1216,
9539,
288,
3639,
509,
618,
273,
399,
17506,
31,
3639,
509,
787,
273,
23577,
1016,
5621,
3639,
509,
980,
273,
9851,
5621,
3639,
509,
1149,
2555,
273,
2... |
super( getLabel( id ) ); | super( getLabel( id ), Action.AS_CHECK_BOX ); | public MemorySizeAction( MemoryActionSelectionGroup group, MemoryViewer viewer, int id ) { super( getLabel( id ) ); fGroup = group; fMemoryViewer = viewer; fId = id; setChecked( false ); } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/2ba1428cf1e0eef4b534b7759675a885a73ea114/MemorySizeAction.java/clean/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/MemorySizeAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
9251,
1225,
1803,
12,
9251,
1803,
6233,
1114,
1041,
16,
20982,
9251,
18415,
14157,
16,
20982,
509,
612,
262,
202,
95,
202,
202,
9565,
12,
11237,
12,
612,
262,
11272,
202,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
9251,
1225,
1803,
12,
9251,
1803,
6233,
1114,
1041,
16,
20982,
9251,
18415,
14157,
16,
20982,
509,
612,
262,
202,
95,
202,
202,
9565,
12,
11237,
12,
612,
262,
11272,
202,
202,
... |
Member[] members = schemaReader.getLevelMembers(level, false); | Member[] members = schemaReader.getLevelMembers(level, true); | public static Member[][] getAllMembers(SchemaReader schemaReader, Hierarchy hierarchy) { long start = System.currentTimeMillis(); try { List<Member[]> list = new ArrayList<Member[]>(500); // Getting the members by Level is the fastest way that I could // fi... | 37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/99cbcd315efe6bb8d9c24de544b692c9a73174da/RolapMember.java/clean/src/main/mondrian/rolap/RolapMember.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
8596,
63,
6362,
65,
5514,
6918,
12,
3078,
2514,
1963,
2514,
16,
2398,
670,
6000,
9360,
13,
288,
3639,
1525,
787,
273,
2332,
18,
2972,
28512,
5621,
3639,
775,
288,
5411,
987,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8596,
63,
6362,
65,
5514,
6918,
12,
3078,
2514,
1963,
2514,
16,
2398,
670,
6000,
9360,
13,
288,
3639,
1525,
787,
273,
2332,
18,
2972,
28512,
5621,
3639,
775,
288,
5411,
987,
... |
reservedWords.add(s.toUpperCase()); } | reservedWords.add(s.toUpperCase()); } | public void defineReserved(String s) { reservedWords.add(s.toUpperCase()); } | 37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/b5b5168edc3af09cb74945a80b0c36e6630ed502/BuiltinFunTable.java/clean/src/main/mondrian/olap/fun/BuiltinFunTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
4426,
10435,
12,
780,
272,
13,
288,
202,
202,
18898,
7363,
18,
1289,
12,
87,
18,
869,
8915,
10663,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
4426,
10435,
12,
780,
272,
13,
288,
202,
202,
18898,
7363,
18,
1289,
12,
87,
18,
869,
8915,
10663,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
case GSSAPI: return "GSSAPRESOLVERASSIGNED"; | case GSSAPI: return "GSSAPI"; | modeString() { switch (mode) { case SERVERASSIGNED: return "SERVERASSIGNED"; case DIFFIEHELLMAN: return "DIFFIEHELLMAN"; case GSSAPI: return "GSSAPRESOLVERASSIGNED"; case RESOLVERASSIGNED: return "RESOLVERASSIGNED"; case DELETE: return "DELETE"; default: return Integer.toString(mode); }} | 4227 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4227/0f145ab473e612a4b6bad9294e5814e803e58a43/TKEYRecord.java/buggy/org/xbill/DNS/TKEYRecord.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1965,
780,
1435,
288,
202,
9610,
261,
3188,
13,
288,
202,
202,
3593,
15061,
23289,
2056,
30,
202,
2463,
315,
4370,
23289,
2056,
14432,
202,
202,
3593,
3690,
42,
1653,
41,
20264,
48,
9560,
30,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1965,
780,
1435,
288,
202,
9610,
261,
3188,
13,
288,
202,
202,
3593,
15061,
23289,
2056,
30,
202,
2463,
315,
4370,
23289,
2056,
14432,
202,
202,
3593,
3690,
42,
1653,
41,
20264,
48,
9560,
30,
... |
addToHistMeth.invoke(null,new Object[]{line.toString()}); | readline.getHistory().addToHistory(line.toString()); | public static IRubyObject s_push(IRubyObject recv, IRubyObject line) throws Exception { addToHistMeth.invoke(null,new Object[]{line.toString()}); return recv.getRuntime().getNil(); } | 48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/070b77f707d6fe6c85ec1c02b29ea35cd84e9dfc/Readline.java/clean/src/org/jruby/ext/Readline.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15908,
10340,
921,
272,
67,
6206,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
980,
13,
1216,
1185,
288,
3639,
12023,
18,
588,
5623,
7675,
1289,
774,
5623,
12,
1369,
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,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15908,
10340,
921,
272,
67,
6206,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
980,
13,
1216,
1185,
288,
3639,
12023,
18,
588,
5623,
7675,
1289,
774,
5623,
12,
1369,
18,... |
public org.quickfix.field.UnderlyingEndValue getUnderlyingEndValue() throws FieldNotFound { org.quickfix.field.UnderlyingEndValue value = new org.quickfix.field.UnderlyingEndValue(); | public quickfix.field.UnderlyingEndValue getUnderlyingEndValue() throws FieldNotFound { quickfix.field.UnderlyingEndValue value = new quickfix.field.UnderlyingEndValue(); | public org.quickfix.field.UnderlyingEndValue getUnderlyingEndValue() throws FieldNotFound { org.quickfix.field.UnderlyingEndValue value = new org.quickfix.field.UnderlyingEndValue(); getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderMultileg.java/buggy/src/java/src/quickfix/fix44/NewOrderMultileg.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
1638,
620,
10833,
765,
6291,
1638,
620,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
1638,
620... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
1638,
620,
10833,
765,
6291,
1638,
620,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
1638,
620... |
currentChar += getCharacterCount(i, i); | public int getGlyphIndex(int charIndex) { int currentChar = aci.getBeginIndex(); int numGlyphs = getGlyphCount(); for (int i = 0; i < numGlyphs; i++) { aci.setIndex(currentChar); int glyphCharIndex = ((Integer)aci.getAttribute( GVTAttributedCharacterIterator... | 45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/ddd94bfd1f1362023190785f2a915d8536874066/TextLayoutAdapter.java/clean/sources/org/apache/batik/gvt/text/TextLayoutAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
7162,
6451,
1016,
12,
474,
1149,
1016,
13,
288,
3639,
509,
29445,
273,
1721,
77,
18,
588,
8149,
1016,
5621,
3639,
509,
818,
25399,
273,
7162,
6451,
1380,
5621,
3639,
364,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
7162,
6451,
1016,
12,
474,
1149,
1016,
13,
288,
3639,
509,
29445,
273,
1721,
77,
18,
588,
8149,
1016,
5621,
3639,
509,
818,
25399,
273,
7162,
6451,
1380,
5621,
3639,
364,
261,
... | |
public static int getTUV(Collection<Unit> units, PlayerID player, IntegerMap<UnitType> costs, GameData data) | public static int getTUV(Collection units, IntegerMap<UnitType> costs) | public static int getTUV(Collection<Unit> units, PlayerID player, IntegerMap<UnitType> costs, GameData data) { Collection playerUnits = Match.getMatches(units, Matches.alliedUnit(player, data)); return getTUV(playerUnits, costs); } | 8909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8909/0ed29c870dc90c69932e4cb9e0e260ad7b79f8a3/BattleCalculator.java/buggy/triplea/src/games/strategy/triplea/delegate/BattleCalculator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
509,
3181,
20147,
12,
2532,
4971,
16,
2144,
863,
32,
2802,
559,
34,
22793,
13,
565,
288,
3639,
2200,
7291,
7537,
273,
4639,
18,
588,
6869,
12,
7705,
16,
21608,
18,
454,
2092,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
1071,
760,
509,
3181,
20147,
12,
2532,
4971,
16,
2144,
863,
32,
2802,
559,
34,
22793,
13,
565,
288,
3639,
2200,
7291,
7537,
273,
4639,
18,
588,
6869,
12,
7705,
16,
21608,
18,
454,
2092,... |
m_lastError = true; | private void handleLine(String line) throws ProgramIsDeadException { line = line.trim(); if (line.startsWith("#?")) { printOutLine("test", line); handleTest(line.substring(2).trim()); m_lastFullResponse = null; return; } if (li... | 2255 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2255/3b90f7fa7ef354b34530849d5dc010a3c1271a47/GtpRegress.java/buggy/src/gtpregress/GtpRegress.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1640,
1670,
12,
780,
980,
13,
3639,
1216,
13586,
2520,
11852,
503,
565,
288,
3639,
980,
273,
980,
18,
5290,
5621,
3639,
309,
261,
1369,
18,
17514,
1190,
2932,
7,
7225,
3719,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1640,
1670,
12,
780,
980,
13,
3639,
1216,
13586,
2520,
11852,
503,
565,
288,
3639,
980,
273,
980,
18,
5290,
5621,
3639,
309,
261,
1369,
18,
17514,
1190,
2932,
7,
7225,
3719,
... | |
getOKAction().putValue(Action.MNEMONIC_KEY,new Integer('O')); | getOKAction().putValue(Action.MNEMONIC_KEY, new Integer('O')); | SelectTemplateDialog(Project project, boolean showHistory, boolean replace) { super(project,false); this.project = project; this.showHistory = showHistory; this.replace = replace; existingTemplatesComponent = ExistingTemplatesComponent.getInstance(this.project); setTitle(SSRBundle.message(this.showH... | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/89cd11decad19ffa2b802c17af5bee9a564095a0/SelectTemplateDialog.java/buggy/plugins/structuralsearch/source/com/intellij/structuralsearch/plugin/ui/SelectTemplateDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
6766,
2283,
6353,
12,
4109,
1984,
16,
1250,
2405,
5623,
16,
1250,
1453,
13,
288,
565,
2240,
12,
4406,
16,
5743,
1769,
565,
333,
18,
4406,
273,
1984,
31,
565,
333,
18,
4500,
5623,
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,
282,
6766,
2283,
6353,
12,
4109,
1984,
16,
1250,
2405,
5623,
16,
1250,
1453,
13,
288,
565,
2240,
12,
4406,
16,
5743,
1769,
565,
333,
18,
4406,
273,
1984,
31,
565,
333,
18,
4500,
5623,
273,
... |
pr = OPT_IRTools.R(phys.getESI()); | pr = new OPT_RegisterOperand(phys.getESI(), VM_TypeReference.Int); | static boolean generateMagic(OPT_BC2IR bc2ir, OPT_GenerationContext gc, VM_MethodReference meth) throws OPT_MagicNotImplementedException { VM_Atom methodName = meth.getName(); OPT_PhysicalRegisterSet phys = gc.temps.getPhysicalRegisterSet(); i... | 4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/2c9d33f59b8f04d9f845caaa59a98fd196ed0f01/OPT_GenerateMachineSpecificMagic.java/buggy/rvm/src/vm/arch/intel/compilers/optimizing/OPT_GenerateMachineSpecificMagic.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
1250,
2103,
19289,
12,
15620,
67,
16283,
22,
7937,
6533,
22,
481,
16,
27573,
16456,
67,
13842,
1042,
8859,
16,
27573,
8251,
67,
1305,
2404,
7917,
13,
377,
1216,
16456,
67,
19289,
124... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
1250,
2103,
19289,
12,
15620,
67,
16283,
22,
7937,
6533,
22,
481,
16,
27573,
16456,
67,
13842,
1042,
8859,
16,
27573,
8251,
67,
1305,
2404,
7917,
13,
377,
1216,
16456,
67,
19289,
124... |
return SEG_QUADTO; } throw new NoSuchElementException("quad iterator out of bounds"); | return result; | public PathIterator getPathIterator(final AffineTransform at) { return new PathIterator() { /** Current coordinate. */ private int current; public int getWindingRule() { return WIND_NON_ZERO; } public boolean isDone() { return current < 2; } public void next() { current++; } public int curr... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/QuadCurve2D.java/clean/core/src/classpath/java/java/awt/geom/QuadCurve2D.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2666,
3198,
4339,
3198,
12,
6385,
23906,
558,
4059,
622,
13,
288,
202,
202,
2463,
394,
2666,
3198,
1435,
288,
1082,
202,
26873,
6562,
7799,
18,
1195,
1082,
202,
1152,
509,
783,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2666,
3198,
4339,
3198,
12,
6385,
23906,
558,
4059,
622,
13,
288,
202,
202,
2463,
394,
2666,
3198,
1435,
288,
1082,
202,
26873,
6562,
7799,
18,
1195,
1082,
202,
1152,
509,
783,
... |
if (treeModel == null || file != null) | if (treeModel == null || file == null) | private DefaultMutableTreeNode getNode(File file) { if (treeModel == null || file != null) return null; return treeModel.getNode(file); } | 8279 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8279/acd297fb746c24b2f9a96d2fde0c645423f6f575/DirectoryTree.java/clean/j/src/org/armedbear/j/DirectoryTree.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
2989,
19536,
12513,
5973,
12,
812,
585,
13,
565,
288,
3639,
309,
261,
3413,
1488,
422,
446,
747,
585,
422,
446,
13,
5411,
327,
446,
31,
3639,
327,
2151,
1488,
18,
588,
907,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
2989,
19536,
12513,
5973,
12,
812,
585,
13,
565,
288,
3639,
309,
261,
3413,
1488,
422,
446,
747,
585,
422,
446,
13,
5411,
327,
446,
31,
3639,
327,
2151,
1488,
18,
588,
907,
12,
... |
private boolean contextSelectorKeyPressed(VerifyEvent e) { char key= e.character; if (key == 0) { int change; int visibleRows= (fContextSelectorTable.getSize().y / fContextSelectorTable.getItemHeight()) - 1; int selection= fContextSelectorTable.getSelectionIndex(); switch (e.keyCode) { case SWT.ARR... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e3525decbb08952546a48571c4b3f6f6fb530f8a/ContextInformationPopup.java/clean/bundles/org.eclipse.ui/Eclipse JFace Text/org/eclipse/jface/text/contentassist/ContextInformationPopup.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
819,
4320,
653,
24624,
12,
8097,
1133,
425,
13,
288,
202,
202,
3001,
498,
33,
425,
18,
11560,
31,
202,
202,
430,
261,
856,
422,
374,
13,
288,
25083,
202,
474,
2549,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
819,
4320,
653,
24624,
12,
8097,
1133,
425,
13,
288,
202,
202,
3001,
498,
33,
425,
18,
11560,
31,
202,
202,
430,
261,
856,
422,
374,
13,
288,
25083,
202,
474,
2549,
3... | ||
return (retval); | try { return Integer.parseInt(value); } catch (NumberFormatException e) { return defaultValue; } | public int getHeaderFieldInt(String key, int def) { String value = getHeaderField(key); if (value == null) return (def); int retval = def; try { retval = Integer.parseInt(value); } catch (NumberFormatException e) { return (def); } return (retval); } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/62bb818fd7bc55fbb32b7cfa4b44b94383422a54/URLConnection.java/buggy/core/src/classpath/java/java/net/URLConnection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
7911,
974,
1702,
12,
780,
498,
16,
509,
1652,
13,
288,
202,
202,
780,
460,
273,
7911,
974,
12,
856,
1769,
202,
202,
430,
261,
1132,
422,
446,
13,
1082,
202,
2463,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
7911,
974,
1702,
12,
780,
498,
16,
509,
1652,
13,
288,
202,
202,
780,
460,
273,
7911,
974,
12,
856,
1769,
202,
202,
430,
261,
1132,
422,
446,
13,
1082,
202,
2463,
261,
... |
public void storePatch (Patch p, int bankNum,int patchNum) | public void storePatch (IPatch p, int bankNum,int patchNum) | public void storePatch (Patch p, int bankNum,int patchNum) { int patchValue = patchNum; int bankValue = 0; if(bankNum == 1 || bankNum == 3) { patchValue += 64; } if(bankNum > 1) { bankValue = 1; // bank A and B is at bank 0 location. C and D... | 7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/b6e99a36d447b749f8ec1622f6d2477fcd586fcb/KorgER1SingleDriver.java/clean/JSynthLib/synthdrivers/KorgER1/KorgER1SingleDriver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1707,
7332,
261,
2579,
505,
293,
16,
509,
11218,
2578,
16,
474,
4729,
2578,
13,
565,
288,
3639,
509,
4729,
620,
273,
4729,
2578,
31,
3639,
509,
11218,
620,
225,
273,
374,
31,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1707,
7332,
261,
2579,
505,
293,
16,
509,
11218,
2578,
16,
474,
4729,
2578,
13,
565,
288,
3639,
509,
4729,
620,
273,
4729,
2578,
31,
3639,
509,
11218,
620,
225,
273,
374,
31,... |
while(key.length() > 0 && key.charAt(key.length()-1) == ' ') | while((key.length() > 0) && (key.charAt(key.length()-1) == ' ')) | private boolean processLine(BufferedReader reader, OutputStream out) throws IOException { String line; StringBuffer outsb = new StringBuffer(); try { line = reader.readLine(); } catch (IOException e) { outsb.append("Bye... ("+e+")"); System.err.println("B... | 46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/TextModeClientInterface.java/clean/src/freenet/node/TextModeClientInterface.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
1207,
1670,
12,
17947,
2514,
2949,
16,
8962,
596,
13,
1216,
1860,
288,
3639,
514,
980,
31,
3639,
6674,
596,
18366,
273,
394,
6674,
5621,
3639,
775,
288,
5411,
980,
273,
2949,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
1207,
1670,
12,
17947,
2514,
2949,
16,
8962,
596,
13,
1216,
1860,
288,
3639,
514,
980,
31,
3639,
6674,
596,
18366,
273,
394,
6674,
5621,
3639,
775,
288,
5411,
980,
273,
2949,
... |
public SnipTokenizer(Reader in) { | public SnipTokenizer(String field, Reader in) { | public SnipTokenizer(Reader in) { input = in; } | 6853 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6853/55fea9925336e97c02346f91d22237bc6672777d/SnipTokenizer.java/buggy/src/org/snipsnap/snip/SnipTokenizer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
18961,
625,
10524,
12,
780,
652,
16,
5393,
316,
13,
288,
565,
810,
273,
316,
31,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
18961,
625,
10524,
12,
780,
652,
16,
5393,
316,
13,
288,
565,
810,
273,
316,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
sm.checkPermission(new AWTPermission("replaceKeyboardFocusManager")); current = m == null ? new DefaultKeyboardFocusManager() : m; } | sm.checkPermission (new AWTPermission ("replaceKeyboardFocusManager")); ThreadGroup currentGroup = Thread.currentThread ().getThreadGroup (); KeyboardFocusManager manager; if (m == null) manager = new DefaultKeyboardFocusManager (); else manager = m; currentKeyboardFocusManagers.put (currentGroup, manager); } | public static void setCurrentKeyboardFocusManager(KeyboardFocusManager m) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkPermission(new AWTPermission("replaceKeyboardFocusManager")); // XXX Need a way to divide this into contexts. current = m == null ? new DefaultKeyboar... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
12589,
17872,
9233,
1318,
12,
17872,
9233,
1318,
312,
13,
225,
288,
565,
6036,
1318,
3029,
273,
2332,
18,
588,
4368,
1318,
5621,
565,
309,
261,
4808,
480,
446,
13,
1377,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
12589,
17872,
9233,
1318,
12,
17872,
9233,
1318,
312,
13,
225,
288,
565,
6036,
1318,
3029,
273,
2332,
18,
588,
4368,
1318,
5621,
565,
309,
261,
4808,
480,
446,
13,
1377,
... |
return docBean.getChildBean(xpath.substring(index+1)); | DDBean[] newDDBeans = docBean.getChildBean(xpath.substring(index+1)); for (int i = 0; i < newDDBeans.length; i++) { newDDBeans[i] = new DDBeanImpl((DDBeanImpl)newDDBeans[i], xpath); } return newDDBeans; | public DDBean[] getChildBean(String xpath) { if (xpath.startsWith("/")) { xpath = xpath.substring(1); } int index = xpath.indexOf('/'); String childName = (index == -1) ? xpath : xpath.substring(0, index); if (childName.equals(doc.getDocumentElement().getNodeName())) { ... | 12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/0604d81423a56815a4057b2f63aa8318c4618fe7/DDBeanRootImpl.java/buggy/modules/deployment/src/java/org/apache/geronimo/deployment/tools/DDBeanRootImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
25177,
3381,
8526,
8154,
3381,
12,
780,
6748,
13,
288,
3639,
309,
261,
18644,
18,
17514,
1190,
2932,
4898,
3719,
288,
5411,
6748,
273,
6748,
18,
28023,
12,
21,
1769,
3639,
289,
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,
25177,
3381,
8526,
8154,
3381,
12,
780,
6748,
13,
288,
3639,
309,
261,
18644,
18,
17514,
1190,
2932,
4898,
3719,
288,
5411,
6748,
273,
6748,
18,
28023,
12,
21,
1769,
3639,
289,
3639... |
FormMappingObject formBean = (FormMappingObject) psession.getAttribute("employeeAddForm"); DBMappingObject employeeDBMappingObject = DBMappingFactory.getInstance().getDBMappingObject(EmployeeBean.class.getName()); | FormMappingObject formBean = (FormMappingObject) psession.getAttribute("agencyAddForm"); DBMappingObject agencyDBMappingObject = DBMappingFactory.getInstance().getDBMappingObject(AgencyBean.class.getName()); | public String addAction(HttpSession psession, HashMap pparametersMap) throws ServletException, IOException, PapyrusException { logger_.debug("addAction : begin"); String subAction = ((String[]) pparametersMap.get("subAction"))[0]; String url = "/administration/employeeList.jsp"; /* reset the associated form be... | 10465 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10465/fa59171c54dfa518aebbe47f5812dedda58f0e3e/AgencyAction.java/buggy/papyrus/src/com/papyrus/data/administration/agency/AgencyAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
14745,
12,
2940,
2157,
293,
3184,
16,
4317,
293,
3977,
863,
13,
1216,
16517,
16,
1860,
16,
453,
438,
93,
8010,
503,
288,
202,
202,
4901,
27799,
4148,
2932,
1289,
1803,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
14745,
12,
2940,
2157,
293,
3184,
16,
4317,
293,
3977,
863,
13,
1216,
16517,
16,
1860,
16,
453,
438,
93,
8010,
503,
288,
202,
202,
4901,
27799,
4148,
2932,
1289,
1803,
29... |
if(notFirst) sql.append(" or "); | public java.sql.ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String types[]) throws SQLException { // Handle default value for types if(types==null) types = defaultTableTypes; if(tableNamePattern==null) tableNamePattern="%"; // the field descriptors... | 49868 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49868/16ca959e6caf979f0d0a126ac4a6a4bcf21a5ef8/DatabaseMetaData.java/clean/org/postgresql/jdbc2/DatabaseMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2252,
18,
4669,
18,
13198,
29002,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
4775,
3234,
16,
514,
1953,
63,
5717,
1216,
6483,
225,
288,
565,
368,
5004,
805,
460,
364,
1953,
565,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2252,
18,
4669,
18,
13198,
29002,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
4775,
3234,
16,
514,
1953,
63,
5717,
1216,
6483,
225,
288,
565,
368,
5004,
805,
460,
364,
1953,
565,... | |
if(((IpAddress)src_addr).getIpAddress() != null) | IpAddress tmp=(IpAddress)src_addr; if(tmp.getIpAddress() != null) | public void writeTo(DataOutputStream out) throws IOException { Map.Entry entry; byte leading=0; if(dest_addr != null) { leading+=DEST_SET; if(dest_addr instanceof IpAddress) leading+=IPADDR_DEST; } if(src_addr != null) { leadi... | 50160 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50160/6cc151b066a34f8126fbf501ecd2b438fe48b28e/Message.java/clean/src/org/jgroups/Message.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12870,
12,
751,
4632,
596,
13,
1216,
1860,
288,
3639,
1635,
18,
1622,
3639,
1241,
31,
3639,
1160,
7676,
33,
20,
31,
3639,
309,
12,
10488,
67,
4793,
480,
446,
13,
288,
5411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12870,
12,
751,
4632,
596,
13,
1216,
1860,
288,
3639,
1635,
18,
1622,
3639,
1241,
31,
3639,
1160,
7676,
33,
20,
31,
3639,
309,
12,
10488,
67,
4793,
480,
446,
13,
288,
5411,
... |
{ char ch[] = s.toCharArray (); pushCharArray (ename, ch, 0, ch.length); } | { char[] ch = s.toCharArray(); pushCharArray(ename, ch, 0, ch.length); } | private void pushString (String ename, String s) throws SAXException { char ch[] = s.toCharArray (); pushCharArray (ename, ch, 0, ch.length); } | 45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/0820da75b03035b7198673adb4bd8108184d0cd8/XmlParser.java/clean/libraries/javalib/gnu/xml/aelfred2/XmlParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1817,
780,
261,
780,
570,
339,
16,
514,
272,
13,
565,
1216,
14366,
565,
288,
202,
3001,
462,
8526,
273,
272,
18,
869,
15936,
261,
1769,
202,
6206,
15936,
261,
1069,
16,
462,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1817,
780,
261,
780,
570,
339,
16,
514,
272,
13,
565,
1216,
14366,
565,
288,
202,
3001,
462,
8526,
273,
272,
18,
869,
15936,
261,
1769,
202,
6206,
15936,
261,
1069,
16,
462,
... |
f = new File(getWebBasePath() + s); | return getWebBasePath() + s; | public static String getAbsoluteWebPath(String s) { if(s == null) { return null; } File f = new File(s); if(! f.isAbsolute()) { if(c_basePath == null) { return null; } else { f = new File(getWebBasePath() + s); } ... | 51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/b616df23c767472e90955586fa3acdac33cd21c5/CmsBase.java/buggy/src/com/opencms/boot/CmsBase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
8469,
4079,
743,
12,
780,
272,
13,
288,
3639,
309,
12,
87,
422,
446,
13,
288,
5411,
327,
446,
31,
3639,
289,
3639,
1387,
284,
273,
394,
1387,
12,
87,
1769,
3639,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
8469,
4079,
743,
12,
780,
272,
13,
288,
3639,
309,
12,
87,
422,
446,
13,
288,
5411,
327,
446,
31,
3639,
289,
3639,
1387,
284,
273,
394,
1387,
12,
87,
1769,
3639,
309,
... |
if (!hidden) | out.print("</td><td class=\"metadataFieldValue\">"); out.print(Utils.addEntities(values[i].value)); out.print("</td><td class=\"metadataFieldValue\">"); if (values[i].language == null) | private void renderFull() throws IOException, java.sql.SQLException { JspWriter out = pageContext.getOut(); // Get all the metadata DCValue[] values = item.getDC(Item.ANY, Item.ANY, Item.ANY); out.println("<P align=center>Full metadata record</P>"); H... | 51882 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51882/c0a6aa00241d4104417114883e740ef30b79f94b/ItemTag.java/clean/dspace/src/org/dspace/app/webui/jsptag/ItemTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1743,
5080,
1435,
565,
1216,
1860,
16,
2252,
18,
4669,
18,
23116,
565,
288,
3639,
19300,
2289,
596,
273,
21442,
18,
588,
1182,
5621,
7734,
368,
968,
777,
326,
1982,
3639,
21533... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1743,
5080,
1435,
565,
1216,
1860,
16,
2252,
18,
4669,
18,
23116,
565,
288,
3639,
19300,
2289,
596,
273,
21442,
18,
588,
1182,
5621,
7734,
368,
968,
777,
326,
1982,
3639,
21533... |
for ( int i = 0; i < namesOfCachedSimpleNestedColumns.length; i++) { int j = getColumnIndex( namesOfCachedSimpleNestedColumns[i]); if( j!= INVALID_COLUMN_INDEX ) cachedResultSet[cachedResultSetRowNo][j] = this.nestedColumnUtil.getNestedColumnValue( namesOfCachedSimpleNestedColumns[i], currentRootPath ); | for ( int i = 0; i < namesOfCachedSimpleNestedColumns.length; i++ ) { int j = getColumnIndex( namesOfCachedSimpleNestedColumns[i] ); if ( j != INVALID_COLUMN_INDEX ) cachedResultSet[cachedResultSetRowNo][j] = this.nestedColumnUtil.getNestedColumnValue( namesOfCachedSimpleNestedColumns[i], currentRootPath ); } | private void populateNestedXMLDataMappingColumns( String currentRootPath ) { for ( int i = 0; i < namesOfCachedComplexNestedColumns.length; i++) { int j = getColumnIndex( namesOfCachedComplexNestedColumns[i]); if ( j!= INVALID_COLUMN_INDEX) cachedResultSet[cachedResultSetRowNo][j] = this.spNestedQueryHelper.g... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/857f08d2976a6c670029ef1e5217acb85d868190/SaxParserConsumer.java/clean/data/org.eclipse.birt.report.data.oda.xml/src/org/eclipse/birt/report/data/oda/xml/util/SaxParserConsumer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
6490,
8649,
4201,
751,
3233,
3380,
12,
514,
783,
21302,
262,
202,
95,
202,
202,
1884,
261,
509,
277,
273,
374,
31,
277,
411,
1257,
951,
9839,
12795,
8649,
3380,
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,
225,
202,
1152,
918,
6490,
8649,
4201,
751,
3233,
3380,
12,
514,
783,
21302,
262,
202,
95,
202,
202,
1884,
261,
509,
277,
273,
374,
31,
277,
411,
1257,
951,
9839,
12795,
8649,
3380,
18,
2469... |
throw new JMSException("Invalid acknowledgment: "+ack); | log.debug("Acknowledgment out of sync (Normally occurs when failover connection reconnects): "+ack); | synchronized public void acknowledge(final ConnectionContext context,final MessageAck ack) throws Exception{ // Handle the standard acknowledgment case. if(ack.isStandardAck()){ // Acknowledge all dispatched messages up till the message id of the acknowledgment. int index=0; ... | 17032 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17032/cafe4cbcc4cf31839ff5bdfb5af7a55a682ef075/PrefetchSubscription.java/buggy/activemq-core/src/main/java/org/apache/activemq/broker/region/PrefetchSubscription.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3852,
1071,
918,
28922,
12,
6385,
4050,
1042,
819,
16,
6385,
2350,
11931,
8479,
13,
1216,
1185,
95,
3639,
368,
5004,
326,
4529,
23262,
75,
475,
648,
18,
3639,
309,
12,
484,
18,
291,
833... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3852,
1071,
918,
28922,
12,
6385,
4050,
1042,
819,
16,
6385,
2350,
11931,
8479,
13,
1216,
1185,
95,
3639,
368,
5004,
326,
4529,
23262,
75,
475,
648,
18,
3639,
309,
12,
484,
18,
291,
833... |
return true; | isScheduled = true; break; | private boolean alreadyScheduled(OnmsIpInterface iface, CollectionSpecification spec) { String ipAddress = iface.getIpAddress(); String svcName = spec.getServiceName(); String pkgName = spec.getPackageName(); synchronized (m_collectableServices) { CollectableService... | 48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/264ba367c5fb944165c76872ca43a6f08c7cf103/Collectd.java/clean/opennms-services/src/main/java/org/opennms/netmgt/collectd/Collectd.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
1818,
10660,
12,
1398,
959,
5273,
1358,
9751,
16,
5411,
2200,
8615,
857,
13,
288,
3639,
514,
17138,
273,
9751,
18,
588,
16875,
5621,
3639,
514,
7538,
461,
273,
857,
18,
588,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
1818,
10660,
12,
1398,
959,
5273,
1358,
9751,
16,
5411,
2200,
8615,
857,
13,
288,
3639,
514,
17138,
273,
9751,
18,
588,
16875,
5621,
3639,
514,
7538,
461,
273,
857,
18,
588,
... |
cacheModules(); | /*cacheModules(); | public IModule[] getModules() { cacheModules(); ArrayList moduleList = new ArrayList(); for (Iterator iter = projects.values().iterator(); iter.hasNext();) { IModule[] element = (IModule[]) iter.next(); for (int j = 0; j < element.length; j++) { moduleList.add(element[j]); } } IModule[] modules = new IMo... | 8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/a24f1f2edd14e021c0ae9f7ff3d0472b124e806f/EnterpriseApplicationDeployableFactory.java/buggy/plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deployables/EnterpriseApplicationDeployableFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
3120,
8526,
336,
7782,
1435,
288,
202,
202,
2493,
7782,
5621,
202,
202,
19558,
1605,
682,
273,
394,
2407,
5621,
202,
202,
1884,
261,
3198,
1400,
273,
10137,
18,
2372,
7675,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
467,
3120,
8526,
336,
7782,
1435,
288,
202,
202,
2493,
7782,
5621,
202,
202,
19558,
1605,
682,
273,
394,
2407,
5621,
202,
202,
1884,
261,
3198,
1400,
273,
10137,
18,
2372,
7675,... |
throw new EJBException("Exception getting item: " + e +"<br>"); | throw new RemoteException("Exception getting item: " + e +"<br>"); | public String listWonItems(Integer userId, ItemHome iHome, QueryHome qHome) { Enumeration wonList=null; Query q; Item item; float price; String name; String html; // Get the list of the user's won items try { q = qHome.create(); wonList = q.getUserW... | 5750 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5750/69c37257a1581e015b5a8a01582a0f0d4a10936c/SB_AboutMeBean.java/buggy/EJB_Session_facade/edu/rice/rubis/beans/SB_AboutMeBean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
666,
59,
265,
3126,
12,
4522,
6249,
16,
4342,
8684,
277,
8684,
16,
2770,
8684,
1043,
8684,
13,
282,
288,
565,
13864,
8462,
682,
33,
2011,
31,
565,
2770,
4202,
1043,
31,
565,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
666,
59,
265,
3126,
12,
4522,
6249,
16,
4342,
8684,
277,
8684,
16,
2770,
8684,
1043,
8684,
13,
282,
288,
565,
13864,
8462,
682,
33,
2011,
31,
565,
2770,
4202,
1043,
31,
565,
... |
OPT_LTDominators.perform(ir, true); | OPT_LTDominators.perform(ir, true, true); | public void translateFromSSA (OPT_IR ir) { // 0. Deal with guards (validation registers) unSSAGuards (ir); // 1. re-compute dominator tree in case of control flow changes // (parmeter specifies we want regular dominators, not post-doms) OPT_LTDominators.perform(ir, true); OPT_DominatorTree do... | 5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/4b80aa8768f0d84f3d0950e8785cb6513b45cb79/OPT_LeaveSSA.java/clean/rvm/src/vm/compilers/optimizing/optimizations/global/ssa/builder/OPT_LeaveSSA.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
4204,
1265,
1260,
37,
261,
15620,
67,
7937,
9482,
13,
288,
565,
368,
374,
18,
28998,
598,
11026,
87,
261,
8685,
10285,
13,
565,
640,
1260,
1781,
89,
14727,
261,
481,
1769,
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,
282,
1071,
918,
4204,
1265,
1260,
37,
261,
15620,
67,
7937,
9482,
13,
288,
565,
368,
374,
18,
28998,
598,
11026,
87,
261,
8685,
10285,
13,
565,
640,
1260,
1781,
89,
14727,
261,
481,
1769,
36... |
if (scaledImage == null || scaledImage.getHeight(null) != h) { scaledImage = tileImage.getScaledInstance( (int)(getWidth() * zoom), h, BufferedImage.SCALE_SMOOTH); MediaTracker mediaTracker = new MediaTracker(new Canvas()); mediaTracker.addImage(scaledImage, 0); try { mediaTracker.waitForID(0); } catch (InterruptedExce... | scaledImage = tileImage.getScaledInstance( (int)(getWidth() * zoom), h, BufferedImage.SCALE_SMOOTH); MediaTracker mediaTracker = new MediaTracker(new Canvas()); mediaTracker.addImage(scaledImage, 0); try { mediaTracker.waitForID(0); | public Image getScaledImage(double zoom) { int h = (int)(tileImage.getHeight(null) * zoom); if (scaledImage == null || scaledImage.getHeight(null) != h) { scaledImage = tileImage.getScaledInstance( (int)(getWidth() * zoom), h, BufferedImage.SCALE_SMOOTH); MediaTracker mediaTracker = new MediaTracker(new ... | 6621 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6621/4df9e0a272d41553877f43e9891410cfffd42dc4/Tile.java/buggy/tiled/core/Tile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3421,
1322,
12825,
2040,
12,
9056,
7182,
13,
288,
202,
202,
474,
366,
273,
261,
474,
21433,
15368,
2040,
18,
588,
2686,
12,
2011,
13,
380,
7182,
1769,
202,
202,
430,
261,
2066... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3421,
1322,
12825,
2040,
12,
9056,
7182,
13,
288,
202,
202,
474,
366,
273,
261,
474,
21433,
15368,
2040,
18,
588,
2686,
12,
2011,
13,
380,
7182,
1769,
202,
202,
430,
261,
2066... |
public DiagramDocumentEditor(boolean hasFlyoutPalette) { this(MEditingDomain.INSTANCE, hasFlyoutPalette); | public DiagramDocumentEditor(MEditingDomain domain, boolean hasFlyoutPalette) { super(hasFlyoutPalette); fEditingDomain = domain; | public DiagramDocumentEditor(boolean hasFlyoutPalette) { this(MEditingDomain.INSTANCE, hasFlyoutPalette); } | 1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/8cde65fc058a9faaf847d04bf9b28594ea600f8f/DiagramDocumentEditor.java/buggy/org.eclipse.gmf.runtime/plugins/org.eclipse.gmf.runtime.diagram.ui.resources.editor/src/org/eclipse/gmf/runtime/diagram/ui/resources/editor/internal/parts/DiagramDocum... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
14539,
1940,
2519,
6946,
12,
6494,
711,
42,
715,
659,
25863,
13,
288,
202,
202,
2211,
12,
958,
72,
305,
310,
3748,
18,
13341,
16,
711,
42,
715,
659,
25863,
1769,
202,
97,
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,
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,
14539,
1940,
2519,
6946,
12,
6494,
711,
42,
715,
659,
25863,
13,
288,
202,
202,
2211,
12,
958,
72,
305,
310,
3748,
18,
13341,
16,
711,
42,
715,
659,
25863,
1769,
202,
97,
2,... |
return methodList(includeSuper, new RubyMapMethod() { public int execute(Object key, Object value, Object arg) { RubyId id = (RubyId) key; MethodNode body = (MethodNode) value; RubyArray ary = (RubyArray) arg; | return methodList(includeSuper, new RubyMapMethod() { public int execute(Object key, Object value, Object arg) { RubyId id = (RubyId) key; MethodNode body = (MethodNode) value; RubyArray ary = (RubyArray) arg; | public RubyObject m_protected_instance_methods(RubyObject[] args) { boolean includeSuper = false; if (args.length > 0) { includeSuper = args[0].isTrue(); } return methodList(includeSuper, new RubyMapMethod() { public int execute(Object key, Object value, Object arg) { // cast args RubyId id = (RubyId) ke... | 48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/clean/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
921,
312,
67,
1117,
67,
1336,
67,
5163,
12,
54,
10340,
921,
8526,
833,
13,
288,
202,
202,
6494,
2341,
8051,
273,
629,
31,
202,
202,
430,
261,
1968,
18,
2469,
405,
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,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
921,
312,
67,
1117,
67,
1336,
67,
5163,
12,
54,
10340,
921,
8526,
833,
13,
288,
202,
202,
6494,
2341,
8051,
273,
629,
31,
202,
202,
430,
261,
1968,
18,
2469,
405,
374... |
if (aci.next() == AttributedCharacterIterator.DONE) | if (j >= charMap.length) | public int getGlyphIndex(int charIndex) { int numGlyphs = getGlyphCount(); aci.first(); for (int i = 0; i < numGlyphs; i++) { int count = getCharacterCount(i, i); for (int n=0; n<count; n++) { int glyphCharIndex = ((Integer)aci.getAttribute ... | 45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/ec5c7e43ea8c69519830a03c30ca27a7c284ae65/TextLayoutAdapter.java/buggy/sources/org/apache/batik/gvt/text/TextLayoutAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
7162,
6451,
1016,
12,
474,
1149,
1016,
13,
288,
3639,
509,
818,
25399,
273,
7162,
6451,
1380,
5621,
3639,
1721,
77,
18,
3645,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7162,
6451,
1016,
12,
474,
1149,
1016,
13,
288,
3639,
509,
818,
25399,
273,
7162,
6451,
1380,
5621,
3639,
1721,
77,
18,
3645,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
27... |
JPanel replace = new JPanel( new BorderLayout() ); | protected JComponent createEditorContent() { JPanel result = new JPanel( new BorderLayout() ); Splitter p; result.add(BorderLayout.CENTER, p = new Splitter(true,0.5f)); p.setFirstComponent( super.createEditorContent() ); JPanel replace = new JPanel( new BorderLayout() ); replaceCriteriaEdit = create... | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/89cd11decad19ffa2b802c17af5bee9a564095a0/ReplaceDialog.java/clean/plugins/structuralsearch/source/com/intellij/structuralsearch/plugin/replace/ui/ReplaceDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
29058,
752,
6946,
1350,
1435,
288,
565,
24048,
563,
273,
394,
24048,
12,
394,
30814,
1435,
11272,
565,
5385,
387,
293,
31,
565,
563,
18,
1289,
12,
8107,
3744,
18,
19835,
16,
293,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
29058,
752,
6946,
1350,
1435,
288,
565,
24048,
563,
273,
394,
24048,
12,
394,
30814,
1435,
11272,
565,
5385,
387,
293,
31,
565,
563,
18,
1289,
12,
8107,
3744,
18,
19835,
16,
293,
... | |
ftptask.setSeparator(ftpFileSep); remoteTmpDir = ftptask.resolveFile(tmpDir); | myFTPTask.setSeparator(ftpFileSep); remoteTmpDir = myFTPTask.resolveFile(tmpDir); | public void setUp() { configureProject("src/etc/testcases/taskdefs/optional/net/ftp.xml"); getProject().executeTarget("setup"); tmpDir = getProject().getProperty("tmp.dir"); ftp = new FTPClient(); ftptask = new FTP(); ftpFileSep = getProject().getProperty("ftp.filesep"); ... | 506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/225b9fd6f9a79cb911291774832c150523387e01/FTPTest.java/clean/src/testcases/org/apache/tools/ant/taskdefs/optional/net/FTPTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
24292,
1435,
288,
3639,
5068,
4109,
2932,
4816,
19,
14175,
19,
3813,
22186,
19,
4146,
12537,
19,
10444,
19,
2758,
19,
11727,
18,
2902,
8863,
3639,
11080,
7675,
8837,
2326,
2932,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24292,
1435,
288,
3639,
5068,
4109,
2932,
4816,
19,
14175,
19,
3813,
22186,
19,
4146,
12537,
19,
10444,
19,
2758,
19,
11727,
18,
2902,
8863,
3639,
11080,
7675,
8837,
2326,
2932,
... |
ClassLoader originalClassLoader = Thread.currentThread().getContextClassLoader(); Thread.currentThread().setContextClassLoader(this.classLoader); Object returnValue = doInvokeInternal(clazz, methodName, arguments); Thread.currentThread().setContextClassLoader(originalClassLoader); return returnValue; | ClassLoader originalClassLoader = Thread.currentThread().getContextClassLoader(); try { Thread.currentThread().setContextClassLoader(this.classLoader); return doInvokeInternal(clazz, methodName, arguments); } finally { Thread.currentThread().setContextClassLoader(originalClassLoader); } | public Object invoke(Class clazz, String methodName, Object[] arguments) { ClassLoader originalClassLoader = Thread.currentThread().getContextClassLoader(); Thread.currentThread().setContextClassLoader(this.classLoader); Object returnValue = doInvokeInternal(clazz, methodName, arguments); Thread.currentThread().se... | 50129 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50129/19fd3a2d78bdfd2993d82b610221e3802ffcaf52/AbstractStaticPersistentMethod.java/buggy/src/persistence/org/codehaus/groovy/grails/orm/hibernate/metaclass/AbstractStaticPersistentMethod.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
4356,
12,
797,
4003,
16,
514,
4918,
16,
1033,
8526,
1775,
13,
288,
202,
202,
7805,
2282,
7805,
273,
4884,
18,
2972,
3830,
7675,
29120,
7805,
5621,
202,
202,
3830,
18,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
4356,
12,
797,
4003,
16,
514,
4918,
16,
1033,
8526,
1775,
13,
288,
202,
202,
7805,
2282,
7805,
273,
4884,
18,
2972,
3830,
7675,
29120,
7805,
5621,
202,
202,
3830,
18,
29... |
if(ErrorManager.doNotAttemptAnalysis()) | if(ErrorManager.doNotAttemptAnalysis()) { | public void analyze() throws Exception { createGrammars(); Grammar g = getANTLRGrammar(); if(g == null) return; List rules = g.checkAllRulesForLeftRecursion(); if(!rules.isEmpty()) { printLeftRecursionToConsole(rules); markLeftRecursiveRules(rules)... | 51505 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51505/846c2ba962d7152501278defe4cbd5f2dc1d5621/EngineGrammar.java/clean/src/org/antlr/works/grammar/EngineGrammar.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12375,
1435,
1216,
1185,
288,
3639,
752,
18576,
87,
5621,
3639,
27809,
314,
273,
336,
24222,
18576,
5621,
3639,
309,
12,
75,
422,
446,
13,
5411,
327,
31,
3639,
987,
2931,
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,
12375,
1435,
1216,
1185,
288,
3639,
752,
18576,
87,
5621,
3639,
27809,
314,
273,
336,
24222,
18576,
5621,
3639,
309,
12,
75,
422,
446,
13,
5411,
327,
31,
3639,
987,
2931,
273,
... |
gauges.get(ecuData).updateValue(value); | Gauge gauge = gauges.get(ecuData); if (gauge != null) { gauge.updateValue(value); } | public void handleDataUpdate(EcuData ecuData, byte[] value, long timestamp) { gauges.get(ecuData).updateValue(value); } | 51906 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51906/498a971351a56548a8ee05278aa6181de1f75770/DashboardUpdateHandler.java/clean/src/enginuity/logger/ui/handler/DashboardUpdateHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1640,
751,
1891,
12,
41,
6319,
751,
425,
6319,
751,
16,
1160,
8526,
460,
16,
1525,
2858,
13,
288,
3639,
19766,
13335,
273,
314,
6480,
281,
18,
588,
12,
557,
89,
751,
1769,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1640,
751,
1891,
12,
41,
6319,
751,
425,
6319,
751,
16,
1160,
8526,
460,
16,
1525,
2858,
13,
288,
3639,
19766,
13335,
273,
314,
6480,
281,
18,
588,
12,
557,
89,
751,
1769,
... |
properties.setValue(name, value); | properties.setProperty(name, value); | public void addProperty(String name, String value) { properties.setValue(name, value); } | 41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/83d81b076b32acdf3f82077c7f4c2a2e160aa32f/MockRule.java/buggy/pmd/regress/test/net/sourceforge/pmd/MockRule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
14324,
12,
780,
508,
16,
514,
460,
13,
288,
3639,
1790,
18,
542,
1396,
12,
529,
16,
460,
1769,
565,
289,
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,
377,
1071,
918,
14324,
12,
780,
508,
16,
514,
460,
13,
288,
3639,
1790,
18,
542,
1396,
12,
529,
16,
460,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
add(new ActionMenu(null, ActionPlaces.MAIN_MENU, (ActionGroup)action, myPresentationFactory)); | final ActionMenu menu = new ActionMenu(null, ActionPlaces.MAIN_MENU, (ActionGroup)action, myPresentationFactory); add(menu); background = menu.getBackground(); | void updateMenuActions() { myNewVisibleActions.clear(); final DataContext dataContext = ((DataManagerImpl)myDataManager).getDataContextTest(this); expandActionGroup(dataContext, myNewVisibleActions, myActionManager); if (!myNewVisibleActions.equals(myVisibleActions)) { // should rebuild UI final... | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/70b562f3a8a9e5a52254be4fe6805118b0d673e5/IdeMenuBar.java/buggy/source/com/intellij/openapi/wm/impl/IdeMenuBar.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
1089,
4599,
6100,
1435,
288,
565,
3399,
1908,
6207,
6100,
18,
8507,
5621,
565,
727,
1910,
1042,
501,
1042,
273,
14015,
751,
1318,
2828,
13,
4811,
751,
1318,
2934,
588,
751,
1042,
470... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
1089,
4599,
6100,
1435,
288,
565,
3399,
1908,
6207,
6100,
18,
8507,
5621,
565,
727,
1910,
1042,
501,
1042,
273,
14015,
751,
1318,
2828,
13,
4811,
751,
1318,
2934,
588,
751,
1042,
470... |
fos.write(xml.getBytes()); | fos.write(xml.getBytes(context.getWiki().getEncoding())); | public void addToDir(XWikiDocument doc, File dir, boolean withVersions, XWikiContext context) throws XWikiException { try { filter(doc, context); File spacedir = new File(dir, doc.getWeb()); if (!spacedir.exists()) { if (!spacedir.mkdirs()) { ... | 52380 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52380/e91d1e4def4be29cc939dbdd76676ab5cca59caa/Package.java/clean/src/main/java/com/xpn/xwiki/plugin/packaging/Package.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
9604,
1621,
12,
60,
25438,
2519,
997,
16,
1387,
1577,
16,
1250,
598,
5940,
16,
1139,
25438,
1042,
819,
13,
1216,
1139,
25438,
503,
288,
3639,
775,
225,
288,
5411,
1034,
12,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
9604,
1621,
12,
60,
25438,
2519,
997,
16,
1387,
1577,
16,
1250,
598,
5940,
16,
1139,
25438,
1042,
819,
13,
1216,
1139,
25438,
503,
288,
3639,
775,
225,
288,
5411,
1034,
12,
2... |
threadContext.callSuper(args); | result = threadContext.callSuper(args); | public void visitZSuperNode(ZSuperNode iVisited) { if (threadContext.getCurrentFrame().getLastClass() == null) { throw new NameError(runtime, "superclass method '" + runtime.getCurrentFrame().getLastFunc() + "' disabled"); } IRubyObject[] args = threadContext.getCurrentFrame().getArg... | 46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/87cd159e65e50f4157091c667b2f04e958262442/EvaluateVisitor.java/buggy/src/org/jruby/evaluator/EvaluateVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
62,
8051,
907,
12,
62,
8051,
907,
277,
30019,
13,
288,
3639,
309,
261,
5930,
1042,
18,
588,
3935,
3219,
7675,
588,
3024,
797,
1435,
422,
446,
13,
288,
5411,
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,
377,
1071,
918,
3757,
62,
8051,
907,
12,
62,
8051,
907,
277,
30019,
13,
288,
3639,
309,
261,
5930,
1042,
18,
588,
3935,
3219,
7675,
588,
3024,
797,
1435,
422,
446,
13,
288,
5411,
604,
394,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.