rem
stringlengths 1
226k
| add
stringlengths 0
227k
| context
stringlengths 6
326k
| meta
stringlengths 143
403
| input_ids
listlengths 256
256
| attention_mask
listlengths 256
256
| labels
listlengths 128
128
|
|---|---|---|---|---|---|---|
return getValue() > otherVal ? 1 : getValue() < otherVal ? -1 : 0;
|
return getLongValue() > otherVal ? 1 : getLongValue() < otherVal ? -1 : 0;
|
protected int compareValue(RubyNumeric other) { if (other instanceof RubyBignum) { return ((RubyBignum)other).compareValue(this) * -1; } else if (other instanceof RubyFloat) { double otherVal = other.getDoubleValue(); double thisVal = getDoubleValue(); return thisVal > otherVal ? 1 : thisVal < otherVal ? -1 : 0; } else { long otherVal = other.getLongValue(); return getValue() > otherVal ? 1 : getValue() < otherVal ? -1 : 0; } }
|
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/786cea08c1dd2092a02d1254b49fbee371ace5f9/RubyFixnum.java/buggy/org/jruby/RubyFixnum.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
3400,
620,
12,
54,
10340,
9902,
1308,
13,
288,
3639,
309,
261,
3011,
1276,
19817,
38,
724,
379,
13,
288,
5411,
327,
14015,
54,
10340,
38,
724,
379,
13,
3011,
2934,
9877,
620,
12,
2211,
13,
380,
300,
21,
31,
3639,
289,
469,
309,
261,
3011,
1276,
19817,
4723,
13,
288,
5411,
1645,
1308,
3053,
273,
1308,
18,
588,
5265,
620,
5621,
5411,
1645,
333,
3053,
273,
16097,
620,
5621,
5411,
327,
333,
3053,
405,
1308,
3053,
692,
404,
294,
333,
3053,
411,
1308,
3053,
692,
300,
21,
294,
374,
31,
3639,
289,
469,
288,
5411,
1525,
1308,
3053,
273,
1308,
18,
588,
3708,
620,
5621,
5411,
327,
11105,
620,
1435,
405,
1308,
3053,
692,
404,
294,
11105,
620,
1435,
411,
1308,
3053,
692,
300,
21,
294,
374,
31,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
3400,
620,
12,
54,
10340,
9902,
1308,
13,
288,
3639,
309,
261,
3011,
1276,
19817,
38,
724,
379,
13,
288,
5411,
327,
14015,
54,
10340,
38,
724,
379,
13,
3011,
2934,
9877,
620,
12,
2211,
13,
380,
300,
21,
31,
3639,
289,
469,
309,
261,
3011,
1276,
19817,
4723,
13,
288,
5411,
1645,
1308,
3053,
273,
1308,
18,
588,
5265,
620,
5621,
5411,
1645,
333,
3053,
273,
16097,
620,
5621,
5411,
327,
333,
3053,
405,
1308,
3053,
692,
404,
294,
333,
3053,
411,
1308,
3053,
692,
300,
21,
294,
374,
31,
3639,
289,
469,
288,
5411,
1525,
1308,
3053,
273,
1308,
18,
588,
3708,
620,
5621,
5411,
327,
11105,
620,
1435,
405,
1308,
3053,
692,
404,
2
] |
if (connection.haveMinimumServerVersion("7.1")) {
|
if (connection.haveMinimumServerVersion("7.2")) {
|
public java.sql.ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String types[]) throws SQLException { String select; String orderby; String useSchemas; if (connection.haveMinimumServerVersion("7.3")) { useSchemas = "SCHEMAS"; select = "SELECT NULL AS TABLE_CAT, n.nspname AS TABLE_SCHEM, c.relname AS TABLE_NAME, "+ " CASE n.nspname LIKE 'pg\\\\_%' "+ " WHEN true THEN CASE n.nspname "+ " WHEN 'pg_catalog' THEN CASE c.relkind "+ " WHEN 'r' THEN 'SYSTEM TABLE' "+ " WHEN 'v' THEN 'SYSTEM VIEW' "+ " WHEN 'i' THEN 'SYSTEM INDEX' "+ " ELSE NULL "+ " END "+ " WHEN 'pg_toast' THEN CASE c.relkind "+ " WHEN 'r' THEN 'SYSTEM TOAST TABLE' "+ " WHEN 'i' THEN 'SYSTEM TOAST INDEX' "+ " ELSE NULL "+ " END "+ " ELSE CASE c.relkind "+ " WHEN 'r' THEN 'TEMPORARY TABLE' "+ " WHEN 'i' THEN 'TEMPORARY INDEX' "+ " ELSE NULL "+ " END "+ " END "+ " WHEN false THEN CASE c.relkind "+ " WHEN 'r' THEN 'TABLE' "+ " WHEN 'i' THEN 'INDEX' "+ " WHEN 'S' THEN 'SEQUENCE' "+ " WHEN 'v' THEN 'VIEW' "+ " ELSE NULL "+ " END "+ " ELSE NULL "+ " END "+ " AS TABLE_TYPE, d.description AS REMARKS "+ " FROM pg_catalog.pg_namespace n, pg_catalog.pg_class c "+ " LEFT JOIN pg_catalog.pg_description d ON (c.oid = d.objoid AND d.objsubid = 0) "+ " LEFT JOIN pg_catalog.pg_class dc ON (d.classoid=dc.oid AND dc.relname='pg_class') "+ " LEFT JOIN pg_catalog.pg_namespace dn ON (dn.oid=dc.relnamespace AND dn.nspname='pg_catalog') "+ " WHERE c.relnamespace = n.oid "; if (schemaPattern != null && !"".equals(schemaPattern)) { select += " AND n.nspname LIKE '"+escapeQuotes(schemaPattern)+"' "; } if (tableNamePattern != null) { select += " AND c.relname LIKE '"+escapeQuotes(tableNamePattern)+"' "; } orderby = " ORDER BY TABLE_TYPE,TABLE_SCHEM,TABLE_NAME "; } else { useSchemas = "NOSCHEMAS"; String tableType = ""+ " CASE c.relname LIKE 'pg\\\\_%' "+ " WHEN true THEN CASE c.relname LIKE 'pg\\\\_toast\\\\_%' "+ " WHEN true THEN CASE c.relkind "+ " WHEN 'r' THEN 'SYSTEM TOAST TABLE' "+ " WHEN 'i' THEN 'SYSTEM TOAST INDEX' "+ " ELSE NULL "+ " END "+ " WHEN false THEN CASE c.relname LIKE 'pg\\\\_temp\\\\_%' "+ " WHEN true THEN CASE c.relkind "+ " WHEN 'r' THEN 'TEMPORARY TABLE' "+ " WHEN 'i' THEN 'TEMPORARY INDEX' "+ " ELSE NULL "+ " END "+ " WHEN false THEN CASE c.relkind "+ " WHEN 'r' THEN 'SYSTEM TABLE' "+ " WHEN 'v' THEN 'SYSTEM VIEW' "+ " WHEN 'i' THEN 'SYSTEM INDEX' "+ " ELSE NULL "+ " END "+ " ELSE NULL "+ " END "+ " ELSE NULL "+ " END "+ " WHEN false THEN CASE c.relkind "+ " WHEN 'r' THEN 'TABLE' "+ " WHEN 'i' THEN 'INDEX' "+ " WHEN 'S' THEN 'SEQUENCE' "+ " WHEN 'v' THEN 'VIEW' "+ " ELSE NULL "+ " END "+ " ELSE NULL "+ " END "; orderby = " ORDER BY TABLE_TYPE,TABLE_NAME "; if (connection.haveMinimumServerVersion("7.1")) { select = "SELECT NULL AS TABLE_CAT, NULL AS TABLE_SCHEM, c.relname AS TABLE_NAME, "+tableType+" AS TABLE_TYPE, d.description AS REMARKS "+ " FROM pg_class c "+ " LEFT JOIN pg_description d ON (c.oid=d.objoid AND d.objsubid = 0) "+ " LEFT JOIN pg_class dc ON (d.classoid = dc.oid AND dc.relname='pg_class') "+ " WHERE true "; } else { select = "SELECT NULL AS TABLE_CAT, NULL AS TABLE_SCHEM, c.relname AS TABLE_NAME, "+tableType+" AS TABLE_TYPE, NULL AS REMARKS "+ " FROM pg_class c "+ " WHERE true "; } } if (types == null) { types = defaultTableTypes; } String sql = select; sql += " AND (false "; for (int i=0; i<types.length; i++) { Hashtable clauses = (Hashtable)tableTypeClauses.get(types[i]); if (clauses != null) { String clause = (String)clauses.get(useSchemas); sql += " OR ( "+clause+" ) "; } } sql += ") "; sql += orderby; return connection.createStatement().executeQuery(sql); }
|
46409 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46409/d9d59ca65ef44a3c330ff41d90fedf57e34aadd1/AbstractJdbc1DatabaseMetaData.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
29002,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
4775,
3234,
16,
514,
1953,
63,
5717,
1216,
6483,
202,
95,
202,
202,
780,
2027,
31,
202,
202,
780,
20519,
31,
202,
202,
780,
999,
16749,
31,
202,
202,
430,
261,
4071,
18,
21516,
13042,
2081,
1444,
2932,
27,
18,
23,
6,
3719,
288,
1082,
202,
1202,
16749,
273,
315,
55,
10390,
3033,
14432,
1082,
202,
4025,
273,
315,
4803,
3206,
5355,
7567,
67,
14130,
16,
290,
18,
82,
1752,
529,
5355,
7567,
67,
55,
10390,
16,
276,
18,
2878,
529,
5355,
7567,
67,
1985,
16,
13773,
1082,
202,
6,
18403,
290,
18,
82,
1752,
529,
13161,
296,
8365,
13011,
67,
8604,
13773,
1082,
202,
6,
29707,
638,
27124,
18403,
290,
18,
82,
1752,
529,
13773,
1082,
202,
6,
202,
12557,
1157,
296,
8365,
67,
7199,
11,
27124,
18403,
276,
18,
2878,
9224,
13773,
1082,
202,
6,
202,
202,
12557,
1157,
296,
86,
11,
27124,
296,
14318,
7567,
11,
13773,
1082,
202,
6,
202,
202,
12557,
1157,
296,
90,
11,
27124,
296,
14318,
21794,
11,
13773,
1082,
202,
6,
202,
202,
12557,
1157,
296,
77,
11,
27124,
296,
14318,
12425,
11,
13773,
1082,
202,
6,
202,
202,
2247,
1090,
3206,
13773,
1082,
202,
6,
202,
202,
4415,
13773,
1082,
202,
6,
202,
12557,
1157,
296,
8365,
67,
869,
689,
11,
27124,
18403,
276,
18,
2878,
9224,
13773,
1082,
202,
6,
202,
202,
12557,
1157,
296,
86,
11,
27124,
296,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2252,
18,
4669,
18,
13198,
29002,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
4775,
3234,
16,
514,
1953,
63,
5717,
1216,
6483,
202,
95,
202,
202,
780,
2027,
31,
202,
202,
780,
20519,
31,
202,
202,
780,
999,
16749,
31,
202,
202,
430,
261,
4071,
18,
21516,
13042,
2081,
1444,
2932,
27,
18,
23,
6,
3719,
288,
1082,
202,
1202,
16749,
273,
315,
55,
10390,
3033,
14432,
1082,
202,
4025,
273,
315,
4803,
3206,
5355,
7567,
67,
14130,
16,
290,
18,
82,
1752,
529,
5355,
7567,
67,
55,
10390,
16,
276,
18,
2878,
529,
5355,
7567,
67,
1985,
16,
13773,
1082,
202,
6,
18403,
290,
18,
82,
1752,
529,
13161,
296,
8365,
13011,
67,
2
] |
skipBytes(18); readColor(data.gradientBackgroundColors[0]); skipBytes(18);
|
data.gradientBackgroundColors[0] = data.gradientBackgroundColors[1];
|
private void readMeshChunk(int bytesToRead, ObjectMesh data) throws IOException { int bytes_read = 0; while(bytes_read < bytesToRead) { int type = readUnsignedShort(); int size = readInt(); switch(type) { case MaxConstants.NAMED_OBJECT: readObjectBlock(size - 6, data); break; case MaxConstants.MATERIAL_BLOCK: readMaterialBlock(size - 6, data); break; case MaxConstants.MASTER_SCALE: data.masterScale = readFloat(); break; case MaxConstants.MESH_VERSION: data.meshVersion = readInt(); break; case MaxConstants.AMBIENT_LIGHT: data.ambientLight = new float[3]; int read = readColor(data.ambientLight); if(size - read - 6 != 0) skipBytes(size - read - 6); break; // Deliberately ignored case MaxConstants.LOW_SHADOW_BIAS: case MaxConstants.HI_SHADOW_BIAS: case MaxConstants.SHADOW_MAP_SIZE: case MaxConstants.SHADOW_MAP_SAMPLES: case MaxConstants.SHADOW_MAP_RANGE: case MaxConstants.SHADOW_MAP_FILTER: case MaxConstants.RAY_BIAS: case MaxConstants.O_CONST: case MaxConstants.VIEWPORT_LAYOUT_OLD: case MaxConstants.VIEWPORT_LAYOUT: case MaxConstants.NETWORK_VIEW: skipBytes(size - 6); break; case MaxConstants.BITMAP: data.backgroundBitmap = readString(); break; case MaxConstants.SOLID_BG: data.solidBackgroundColor = new float[3]; if(releaseVersion == 3) { // Skip the COLOR_F section skipBytes(18); readColor(data.solidBackgroundColor); } else { readColor(data.solidBackgroundColor); } break; case MaxConstants.V_GRADIENT: data.backgroundMidpoint = readFloat(); // midpoint of gradient data.gradientBackgroundColors = new float[3][3]; if(releaseVersion == 3) { // Basically need to skip each of the COLOR_F sections, // which are 18 bytes each. skipBytes(18); readColor(data.gradientBackgroundColors[0]); skipBytes(18); readColor(data.gradientBackgroundColors[1]); skipBytes(18); readColor(data.gradientBackgroundColors[2]); } else { readColor(data.gradientBackgroundColors[0]); readColor(data.gradientBackgroundColors[1]); readColor(data.gradientBackgroundColors[2]); } break; case MaxConstants.USE_V_GRADIENT: data.selectedBackground = ObjectMesh.USE_GRADIENT; break; case MaxConstants.USE_SOLID_BG: data.selectedBackground = ObjectMesh.USE_SOLID_BG; break; case MaxConstants.USE_BITMAP: data.selectedBackground = ObjectMesh.USE_BITMAP; break; case MaxConstants.FOG: data.linearFogDetails = new float[4]; data.fogColor = new float[3]; data.linearFogDetails[0] = readFloat(); data.linearFogDetails[1] = readFloat(); data.linearFogDetails[2] = readFloat(); data.linearFogDetails[3] = readFloat(); read = readColor(data.fogColor); // have the fog background flag? if(size - read - 16 - 6 != 0) { readUnsignedShort(); readInt(); data.fogBackground = true; } break; case MaxConstants.LAYER_FOG: data.layerFogDetails = new float[4]; data.fogColor = new float[3]; data.layerFogDetails[0] = readFloat(); data.layerFogDetails[1] = readFloat(); data.layerFogDetails[2] = readFloat(); data.layerFogFlags = readInt(); readColor(data.fogColor); break; case MaxConstants.DISTANCE_CUE: data.distanceFogDetails = new float[4]; data.distanceFogDetails[0] = readFloat(); data.distanceFogDetails[1] = readFloat(); data.distanceFogDetails[2] = readFloat(); data.distanceFogDetails[3] = readFloat(); if(size - 16 - 6 != 0) { readUnsignedShort(); readInt(); data.fogBackground = true; } break; case MaxConstants.USE_FOG: data.selectedBackground = ObjectMesh.USE_LINEAR_FOG; break; case MaxConstants.USE_LAYER_FOG: data.selectedBackground = ObjectMesh.USE_LAYER_FOG; break; case MaxConstants.USE_DISTANCE_CUE: data.selectedBackground = ObjectMesh.USE_DISTANCE_FOG; break; case MaxConstants.DEFAULT_VIEW: // Ignore it. Only used for commandline rendering. skipBytes(size - 6); break; default: System.out.println("Unknown mesh chunk ID 0x" + Integer.toHexString(type) + " size " + size); skipBytes(size - 6); } bytes_read += size; } if(bytes_read != bytesToRead) System.out.println("Incorrect bytes read from file for mesh chunk. " + "Read: " + bytes_read + " required " + bytesToRead); }
|
46075 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46075/f69ae03316b731655ae04df7e6d331bd7d3809c5/MaxParser.java/clean/src/java/org/j3d/loaders/discreet/MaxParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
855,
16748,
5579,
12,
474,
1731,
23321,
16,
1033,
16748,
501,
13,
3639,
1216,
1860,
565,
288,
3639,
509,
1731,
67,
896,
273,
374,
31,
3639,
1323,
12,
3890,
67,
896,
411,
1731,
23321,
13,
3639,
288,
5411,
509,
618,
273,
28198,
5621,
5411,
509,
963,
273,
13731,
5621,
5411,
1620,
12,
723,
13,
5411,
288,
7734,
648,
4238,
2918,
18,
22979,
67,
9422,
30,
10792,
17362,
1768,
12,
1467,
300,
1666,
16,
501,
1769,
10792,
898,
31,
7734,
648,
4238,
2918,
18,
49,
13641,
6365,
67,
11403,
30,
10792,
855,
11790,
1768,
12,
1467,
300,
1666,
16,
501,
1769,
10792,
898,
31,
7734,
648,
4238,
2918,
18,
28045,
67,
19378,
30,
10792,
501,
18,
7525,
5587,
273,
855,
4723,
5621,
10792,
898,
31,
7734,
648,
4238,
2918,
18,
958,
2664,
67,
5757,
30,
10792,
501,
18,
15557,
1444,
273,
13731,
5621,
10792,
898,
31,
7734,
648,
4238,
2918,
18,
2192,
31558,
2222,
67,
23516,
30,
10792,
501,
18,
2536,
1979,
12128,
273,
394,
1431,
63,
23,
15533,
10792,
509,
855,
273,
855,
2957,
12,
892,
18,
2536,
1979,
12128,
1769,
10792,
309,
12,
1467,
300,
855,
300,
1666,
480,
374,
13,
13491,
2488,
2160,
12,
1467,
300,
855,
300,
1666,
1769,
10792,
898,
31,
7734,
368,
6603,
14776,
5173,
5455,
7734,
648,
4238,
2918,
18,
4130,
67,
2664,
1880,
7306,
67,
38,
16133,
30,
7734,
648,
4238,
2918,
18,
29994,
67,
2664,
1880,
7306,
67,
38,
16133,
30,
7734,
648,
4238,
2918,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
855,
16748,
5579,
12,
474,
1731,
23321,
16,
1033,
16748,
501,
13,
3639,
1216,
1860,
565,
288,
3639,
509,
1731,
67,
896,
273,
374,
31,
3639,
1323,
12,
3890,
67,
896,
411,
1731,
23321,
13,
3639,
288,
5411,
509,
618,
273,
28198,
5621,
5411,
509,
963,
273,
13731,
5621,
5411,
1620,
12,
723,
13,
5411,
288,
7734,
648,
4238,
2918,
18,
22979,
67,
9422,
30,
10792,
17362,
1768,
12,
1467,
300,
1666,
16,
501,
1769,
10792,
898,
31,
7734,
648,
4238,
2918,
18,
49,
13641,
6365,
67,
11403,
30,
10792,
855,
11790,
1768,
12,
1467,
300,
1666,
16,
501,
1769,
10792,
898,
31,
7734,
648,
4238,
2918,
18,
28045,
67,
19378,
30,
10792,
501,
18,
7525,
2
] |
if (element instanceof IActivityManager || element instanceof ICategory) return true;
|
if (element instanceof IActivityManager || element instanceof ICategory) { return true; }
|
public boolean hasChildren(Object element) { if (element instanceof IActivityManager || element instanceof ICategory) return true; return false; }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/ActivityCategoryContentProvider.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/activities/ws/ActivityCategoryContentProvider.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
27780,
12,
921,
930,
13,
288,
3639,
309,
261,
2956,
1276,
467,
6193,
1318,
747,
930,
1276,
467,
4457,
13,
5411,
327,
638,
31,
3639,
327,
629,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1250,
27780,
12,
921,
930,
13,
288,
3639,
309,
261,
2956,
1276,
467,
6193,
1318,
747,
930,
1276,
467,
4457,
13,
5411,
327,
638,
31,
3639,
327,
629,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
super.endJob();
|
taxas.removeListener(this); } super.endJob();
|
public void endJob(){ if (taxas!=null) { int numTaxas = taxas.size(); for (int i=0; i<numTaxas; i++){ Taxa taxa = (Taxa)taxas.elementAt(i); taxa.removeListener(this); } taxas.removeListener(this); } super.endJob(); }
|
55939 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55939/4206c41443aabb1ef72acb8448b91615c4d37d47/ManageTrees.java/clean/Source/mesquite/trees/ManageTrees/ManageTrees.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
679,
2278,
1435,
95,
1082,
202,
430,
261,
8066,
345,
5,
33,
2011,
13,
288,
9506,
202,
474,
818,
7731,
345,
273,
5320,
345,
18,
1467,
5621,
9506,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
32,
2107,
7731,
345,
31,
277,
27245,
95,
6862,
202,
7731,
69,
5320,
69,
273,
261,
7731,
69,
13,
8066,
345,
18,
2956,
861,
12,
77,
1769,
6862,
202,
8066,
69,
18,
4479,
2223,
12,
2211,
1769,
9506,
202,
97,
9506,
202,
8066,
345,
18,
4479,
2223,
12,
2211,
1769,
1082,
202,
97,
1082,
202,
9565,
18,
409,
2278,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
679,
2278,
1435,
95,
1082,
202,
430,
261,
8066,
345,
5,
33,
2011,
13,
288,
9506,
202,
474,
818,
7731,
345,
273,
5320,
345,
18,
1467,
5621,
9506,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
32,
2107,
7731,
345,
31,
277,
27245,
95,
6862,
202,
7731,
69,
5320,
69,
273,
261,
7731,
69,
13,
8066,
345,
18,
2956,
861,
12,
77,
1769,
6862,
202,
8066,
69,
18,
4479,
2223,
12,
2211,
1769,
9506,
202,
97,
9506,
202,
8066,
345,
18,
4479,
2223,
12,
2211,
1769,
1082,
202,
97,
1082,
202,
9565,
18,
409,
2278,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
ruby.getCBase().setClassVar(iVisited.getName(), result.toRubyObject());
|
ruby.getCBase().setClassVar(iVisited.getName(), result);
|
public void visitClassVarAsgnNode(ClassVarAsgnNode iVisited) { eval(iVisited.getValueNode()); ruby.getCBase().setClassVar(iVisited.getName(), result.toRubyObject()); }
|
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/f235ab756f32ea9496f8f880066b46ad95ebb692/EvaluateVisitor.java/clean/org/jruby/evaluator/EvaluateVisitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
797,
1537,
37,
1055,
82,
907,
12,
797,
1537,
37,
1055,
82,
907,
277,
30019,
13,
288,
3639,
5302,
12,
77,
30019,
18,
24805,
907,
10663,
3639,
22155,
18,
588,
39,
2171,
7675,
542,
797,
1537,
12,
77,
30019,
18,
17994,
9334,
563,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3757,
797,
1537,
37,
1055,
82,
907,
12,
797,
1537,
37,
1055,
82,
907,
277,
30019,
13,
288,
3639,
5302,
12,
77,
30019,
18,
24805,
907,
10663,
3639,
22155,
18,
588,
39,
2171,
7675,
542,
797,
1537,
12,
77,
30019,
18,
17994,
9334,
563,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public void setAlbumList( ArrayList albumList ) { if ( albumList == null ) { throw new IllegalArgumentException( "Must supply non-null album list." ); } ArrayList oldList = this.albumList; this.albumList = albumList; if ( albumList.size() > 0 ) { selectedAlbum = (Album) this.albumList.get(0); } if (oldList != null) { for (Iterator i = oldList.iterator(); i.hasNext(); ) { Album a = (Album) i.next(); Log.log(Log.TRACE, MODULE, a.toString()); if (! a.getPicturesVector().isEmpty()) { Log.log(Log.TRACE, MODULE, "Album " + a + " had pictures"); int j = albumList.indexOf(a); if (j != -1) { Album newAlbum = (Album) albumList.get(j); newAlbum.setPicturesVector(a.getPicturesVector()); } } } } notifyListeners(); }
|
9402 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9402/ea127f323e1d7cd189022722ec6a07daf7a18368/Gallery.java/clean/com/gallery/GalleryRemote/model/Gallery.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
30330,
682,
12,
2407,
14844,
682,
262,
288,
202,
202,
430,
261,
14844,
682,
422,
446,
262,
288,
1082,
202,
12849,
394,
2754,
12,
315,
10136,
14467,
1661,
17,
2011,
14844,
666,
1199,
11272,
202,
202,
97,
9506,
202,
19558,
1592,
682,
273,
333,
18,
25090,
682,
31,
202,
202,
2211,
18,
25090,
682,
273,
14844,
682,
31,
202,
202,
430,
261,
14844,
682,
18,
1467,
1435,
405,
374,
262,
288,
1082,
202,
8109,
30330,
273,
261,
30330,
13,
333,
18,
25090,
682,
18,
588,
12,
20,
1769,
202,
202,
97,
202,
202,
430,
261,
1673,
682,
480,
446,
13,
288,
1082,
202,
1884,
261,
3198,
277,
273,
1592,
682,
18,
9838,
5621,
277,
18,
5332,
2134,
5621,
262,
288,
9506,
202,
30330,
279,
273,
261,
30330,
13,
277,
18,
4285,
5621,
6862,
9506,
202,
1343,
18,
1330,
12,
1343,
18,
23827,
16,
14057,
16,
279,
18,
10492,
10663,
9506,
202,
430,
16051,
279,
18,
588,
52,
28636,
5018,
7675,
291,
1921,
10756,
288,
6862,
202,
1343,
18,
1330,
12,
1343,
18,
23827,
16,
14057,
16,
315,
30330,
315,
397,
279,
397,
315,
9323,
293,
28636,
8863,
6862,
202,
474,
525,
273,
14844,
682,
18,
31806,
12,
69,
1769,
6862,
25083,
202,
430,
261,
78,
480,
300,
21,
13,
288,
25083,
202,
30330,
394,
30330,
273,
261,
30330,
13,
14844,
682,
18,
588,
12,
78,
1769,
25083,
202,
2704,
30330,
18,
542,
52,
28636,
5018,
12,
69,
18,
588,
52,
28636,
5018,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
30330,
682,
12,
2407,
14844,
682,
262,
288,
202,
202,
430,
261,
14844,
682,
422,
446,
262,
288,
1082,
202,
12849,
394,
2754,
12,
315,
10136,
14467,
1661,
17,
2011,
14844,
666,
1199,
11272,
202,
202,
97,
9506,
202,
19558,
1592,
682,
273,
333,
18,
25090,
682,
31,
202,
202,
2211,
18,
25090,
682,
273,
14844,
682,
31,
202,
202,
430,
261,
14844,
682,
18,
1467,
1435,
405,
374,
262,
288,
1082,
202,
8109,
30330,
273,
261,
30330,
13,
333,
18,
25090,
682,
18,
588,
12,
20,
1769,
202,
202,
97,
202,
202,
430,
261,
1673,
682,
480,
446,
13,
288,
1082,
202,
1884,
261,
3198,
277,
273,
1592,
682,
18,
9838,
5621,
277,
2
] |
||
assertNull(JspStringUtil.escapeHtmlEntities(null)); assertEquals(JspStringUtil.escapeHtmlEntities(""), ""); assertEquals(JspStringUtil.escapeHtmlEntities(" abc def "), " abc def "); assertEquals(JspStringUtil.escapeHtmlEntities("&"), "&"); assertEquals(JspStringUtil.escapeHtmlEntities("&&&\n<<< >>>\t\"\"\""), "&&&\n<<< >>>\t"""");
|
public void testStringUtils(){ // underlineAccessKey assertEquals(JspStringUtil.underlineAccessKey("",""), ""); assertEquals(JspStringUtil.underlineAccessKey("aaa",""), "aaa"); assertNull(JspStringUtil.underlineAccessKey(null, "a")); assertEquals(JspStringUtil.underlineAccessKey("Some string", "So"), "Some string"); assertEquals(JspStringUtil.underlineAccessKey("Some string", null), "Some string"); assertEquals(JspStringUtil.underlineAccessKey("Some string", "s"), "<u>S</u>ome string"); assertEquals(JspStringUtil.underlineAccessKey("s", "s"), "<u>s</u>"); assertEquals(JspStringUtil.underlineAccessKey(" \n\tõüöä\n\t", "Õ"), " \n\t<u>õ</u>üöä\n\t"); assertEquals(JspStringUtil.underlineAccessKey("<u>this</u>","U"),"<<u>u</u>>this</u>"); // escapeHtmlEntities assertNull(JspStringUtil.escapeHtmlEntities(null)); assertEquals(JspStringUtil.escapeHtmlEntities(""), ""); assertEquals(JspStringUtil.escapeHtmlEntities(" abc def "), " abc def "); assertEquals(JspStringUtil.escapeHtmlEntities("&"), "&"); assertEquals(JspStringUtil.escapeHtmlEntities("&&&\n<<< >>>\t\"\"\""), "&&&\n<<< >>>\t""""); }
|
53585 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53585/ad0af2022e5921dc9a36d0d5cf62e390b55b6743/StringUtilTest.java/clean/src/org/araneaframework/jsp/tests/StringUtilTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
780,
1989,
1435,
95,
202,
202,
759,
25985,
21241,
202,
202,
11231,
8867,
12,
21796,
13565,
18,
9341,
1369,
21241,
2932,
3113,
3660,
3631,
1408,
1769,
202,
202,
11231,
8867,
12,
21796,
13565,
18,
9341,
1369,
21241,
2932,
26676,
3113,
3660,
3631,
315,
26676,
8863,
9506,
202,
11231,
2041,
12,
21796,
13565,
18,
9341,
1369,
21241,
12,
2011,
16,
315,
69,
7923,
1769,
202,
202,
11231,
8867,
12,
21796,
13565,
18,
9341,
1369,
21241,
2932,
17358,
533,
3113,
315,
10225,
6,
3631,
315,
17358,
533,
8863,
202,
202,
11231,
8867,
12,
21796,
13565,
18,
9341,
1369,
21241,
2932,
17358,
533,
3113,
446,
3631,
315,
17358,
533,
8863,
202,
202,
11231,
8867,
12,
21796,
13565,
18,
9341,
1369,
21241,
2932,
17358,
533,
3113,
315,
87,
6,
3631,
3532,
89,
34,
55,
1757,
89,
34,
1742,
533,
8863,
202,
202,
11231,
8867,
12,
21796,
13565,
18,
9341,
1369,
21241,
2932,
87,
3113,
315,
87,
6,
3631,
3532,
89,
34,
87,
1757,
89,
2984,
1769,
202,
202,
11231,
8867,
12,
21796,
13565,
18,
9341,
1369,
21241,
2932,
521,
82,
64,
88,
132,
118,
132,
125,
132,
119,
132,
102,
64,
82,
64,
88,
3113,
315,
132,
248,
6,
3631,
315,
521,
82,
64,
88,
32,
89,
34,
132,
118,
1757,
89,
34,
132,
125,
132,
119,
132,
102,
64,
82,
64,
88,
8863,
202,
202,
11231,
8867,
12,
21796,
13565,
18,
9341,
1369,
21241,
2932,
32,
89,
34,
2211,
1757,
89,
2984,
10837,
57,
6,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
780,
1989,
1435,
95,
202,
202,
759,
25985,
21241,
202,
202,
11231,
8867,
12,
21796,
13565,
18,
9341,
1369,
21241,
2932,
3113,
3660,
3631,
1408,
1769,
202,
202,
11231,
8867,
12,
21796,
13565,
18,
9341,
1369,
21241,
2932,
26676,
3113,
3660,
3631,
315,
26676,
8863,
9506,
202,
11231,
2041,
12,
21796,
13565,
18,
9341,
1369,
21241,
12,
2011,
16,
315,
69,
7923,
1769,
202,
202,
11231,
8867,
12,
21796,
13565,
18,
9341,
1369,
21241,
2932,
17358,
533,
3113,
315,
10225,
6,
3631,
315,
17358,
533,
8863,
202,
202,
11231,
8867,
12,
21796,
13565,
18,
9341,
1369,
21241,
2932,
17358,
533,
3113,
446,
3631,
315,
17358,
533,
8863,
202,
202,
11231,
8867,
12,
21796,
13565,
2
] |
|
cdiTarget=session.getCurrentTarget();
|
ICDITarget[] targets = session.getTargets(); assertNotNull(targets); assertTrue(targets.length > 0); cdiTarget = targets[0];
|
public void testIsEquals() throws CoreException, MIException, IOException, CDIException { ICDITarget cdiTarget; ICDILocation location, location2; ICDIBreakpoint[] breakpoints; ICDILocationBreakpoint curbreak; session=CDebugHelper.createSession("main",testProject); assertNotNull(session); cdiTarget=session.getCurrentTarget(); assertNotNull(cdiTarget); /********************************************************************** * Simple test.. this should work. **********************************************************************/ location=cdiTarget.createLocation("main.c", "func1", 0); location2=cdiTarget.createLocation("main.c", "func1", 0); assertTrue(location.equals(location2)); /********************************************************************** * Simple test.. this should work. **********************************************************************/ location=cdiTarget.createLocation("main.c", null, 10); location2=cdiTarget.createLocation("main.c", null, 10); assertTrue(location.equals(location2)); /********************************************************************** * make sure that the location returned from getLocation on the * ICDILocationBreakpoint.getLocation that is returned from * setLocationBreakpoint is the same as the breakpoint returned from * BreakpointManager.getBreakpoints.getLocation() **********************************************************************/ location=cdiTarget.createLocation("main.c", "func1", 0); assertNotNull(location); location2=cdiTarget.setLocationBreakpoint(0, location, null, false).getLocation(); breakpoints=cdiTarget.getBreakpoints(); assertNotNull(breakpoints); assertTrue(breakpoints.length==1); if (breakpoints[0] instanceof ICDILocationBreakpoint) { curbreak=(ICDILocationBreakpoint) breakpoints[0]; } else curbreak=null; assertNotNull(curbreak); assertTrue(curbreak.getLocation().equals(location2)); cdiTarget.deleteAllBreakpoints(); /* Create a break point on a generic function with a file name that * gdb will change to the relitive path of the source file. This * should work, but at the time of writing (Sept 25, 2002) does not. */ location=cdiTarget.createLocation("main.c", "func1", 0); assertNotNull(location); cdiTarget.setLocationBreakpoint(0, location, null, false); breakpoints=cdiTarget.getBreakpoints(); assertNotNull(breakpoints); assertTrue(breakpoints.length==1); if (breakpoints[0] instanceof ICDILocationBreakpoint) { curbreak=(ICDILocationBreakpoint) breakpoints[0]; } else curbreak=null; assertNotNull(curbreak); assertTrue("PR:23879",curbreak.getLocation().equals(location)); /* clean up the session */ session.terminate(); session=null; }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/479dfcc366623938310d4ddfe76e24068050e6de/LocationTests.java/buggy/debug/org.eclipse.cdt.debug.ui.tests/core/org/eclipse/cdt/debug/core/tests/LocationTests.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2520,
8867,
1435,
1216,
30015,
16,
20806,
503,
16,
1860,
16,
385,
2565,
503,
288,
3639,
467,
10160,
1285,
826,
276,
3211,
2326,
31,
3639,
26899,
2565,
2735,
2117,
16,
2117,
22,
31,
3639,
26899,
2565,
20552,
8526,
23416,
31,
3639,
26899,
2565,
2735,
20552,
662,
8820,
31,
3639,
1339,
33,
39,
2829,
2276,
18,
2640,
2157,
2932,
5254,
3113,
3813,
4109,
1769,
3639,
25395,
12,
3184,
1769,
3639,
467,
10160,
1285,
826,
8526,
5774,
273,
1339,
18,
588,
9432,
5621,
25395,
12,
11358,
1769,
1815,
5510,
12,
11358,
18,
2469,
405,
374,
1769,
276,
3211,
2326,
273,
5774,
63,
20,
15533,
3639,
25395,
12,
71,
3211,
2326,
1769,
7734,
342,
11125,
11345,
540,
380,
225,
4477,
1842,
838,
333,
1410,
1440,
18,
540,
19756,
1007,
5549,
3639,
2117,
33,
71,
3211,
2326,
18,
2640,
2735,
2932,
5254,
18,
71,
3113,
315,
644,
21,
3113,
374,
1769,
3639,
2117,
22,
33,
71,
3211,
2326,
18,
2640,
2735,
2932,
5254,
18,
71,
3113,
315,
644,
21,
3113,
374,
1769,
3639,
1815,
5510,
12,
3562,
18,
14963,
12,
3562,
22,
10019,
3639,
342,
11125,
11345,
540,
380,
225,
4477,
1842,
838,
333,
1410,
1440,
18,
540,
19756,
1007,
5549,
3639,
2117,
33,
71,
3211,
2326,
18,
2640,
2735,
2932,
5254,
18,
71,
3113,
446,
16,
1728,
1769,
3639,
2117,
22,
33,
71,
3211,
2326,
18,
2640,
2735,
2932,
5254,
18,
71,
3113,
446,
16,
1728,
1769,
3639,
1815,
5510,
12,
3562,
18,
14963,
12,
3562,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2520,
8867,
1435,
1216,
30015,
16,
20806,
503,
16,
1860,
16,
385,
2565,
503,
288,
3639,
467,
10160,
1285,
826,
276,
3211,
2326,
31,
3639,
26899,
2565,
2735,
2117,
16,
2117,
22,
31,
3639,
26899,
2565,
20552,
8526,
23416,
31,
3639,
26899,
2565,
2735,
20552,
662,
8820,
31,
3639,
1339,
33,
39,
2829,
2276,
18,
2640,
2157,
2932,
5254,
3113,
3813,
4109,
1769,
3639,
25395,
12,
3184,
1769,
3639,
467,
10160,
1285,
826,
8526,
5774,
273,
1339,
18,
588,
9432,
5621,
25395,
12,
11358,
1769,
1815,
5510,
12,
11358,
18,
2469,
405,
374,
1769,
276,
3211,
2326,
273,
5774,
63,
20,
15533,
3639,
25395,
12,
71,
3211,
2326,
1769,
7734,
342,
11125,
11345,
540,
380,
2
] |
protected abstract void delegatePhase();
|
public static final void delegatePhase(int phaseId) { delegatePhase(phases[phaseId]); }
|
protected abstract void delegatePhase();
|
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/4c66aa27cec27f8dd5902baec018ff86d7f49ee2/Phase.java/buggy/MMTk/src/org/mmtk/plan/Phase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
8770,
918,
7152,
11406,
5621,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4750,
8770,
918,
7152,
11406,
5621,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (!realName.equals(PathUtil.decode(PathUtil.tail(entry.getURL())))) {
|
if (!realName.equals(SVNEncodingUtil.uriDecode(PathUtil.tail(entry.getURL())))) {
|
private SVNStatus createStatus(String path, File file, SVNDirectory entryDir, SVNEntry parentEntry, SVNEntry entry /* this could be dir entry in parent */, boolean isIgnored, SVNFileType pathKind, Map allEntryProperties) throws SVNException { pathKind = pathKind == null || pathKind == SVNFileType.UNKNOWN ? SVNFileType .getType(file) : pathKind; SVNLock remoteLock = null; if (path != null && myAnchorStatus != null && myAnchorStatus.getURL() != null) { remoteLock = getRepositoryLock(path); } if (entry == null) { SVNStatusType textStatus = SVNStatusType.STATUS_NONE; if (pathKind != SVNFileType.NONE) { textStatus = isIgnored ? SVNStatusType.STATUS_IGNORED : SVNStatusType.STATUS_UNVERSIONED; } return new SVNStatus(null, file, null, null, null, null, null, textStatus, SVNStatusType.STATUS_NONE, SVNStatusType.STATUS_NONE, SVNStatusType.STATUS_NONE, false, false, false, null, null, null, null, null, null, remoteLock, null, null); } SVNStatusType textStatus = SVNStatusType.STATUS_NORMAL; SVNStatusType propStatus = SVNStatusType.STATUS_NONE; boolean isSwitched = false; boolean isLocked = false; boolean isDir = entry.isDirectory(); if (isDir) { if (pathKind == SVNFileType.DIRECTORY) { if (!SVNWCAccess.isVersionedDirectory(file)) { textStatus = SVNStatusType.STATUS_OBSTRUCTED; } } else if (pathKind != SVNFileType.NONE) { textStatus = SVNStatusType.STATUS_OBSTRUCTED; } } if (parentEntry != null && entry.getURL() != null && parentEntry.getURL() != null) { String realName = entry.getName(); if ("".equals(entry.getName())) { realName = file.getName(); } if (!realName.equals(PathUtil.decode(PathUtil.tail(entry.getURL())))) { isSwitched = true; } if (!isSwitched && !PathUtil.removeTail(entry.getURL()).equals(parentEntry.getURL())) { isSwitched = true; } } if (textStatus != SVNStatusType.OBSTRUCTED) { SVNProperties props = entryDir.getProperties(entry.getName(), false); if (props != null && !props.isEmpty()) { propStatus = SVNStatusType.STATUS_NORMAL; } boolean propsModified = entryDir.hasPropModifications(entry.getName()); boolean special = !SVNFileUtil.isWindows && !isDir && props.getPropertyValue(SVNProperty.SPECIAL) != null; boolean textModified = false; if (!isDir && special == (pathKind == SVNFileType.SYMLINK)) { textModified = entryDir.hasTextModifications(entry.getName(), false); } if (propsModified) { propStatus = SVNStatusType.STATUS_MODIFIED; } if (textModified) { textStatus = SVNStatusType.STATUS_MODIFIED; } if (entry.getConflictNew() != null || entry.getConflictOld() != null || entry.getConflictWorking() != null) { textStatus = SVNStatusType.STATUS_CONFLICTED; } if (entry.getPropRejectFile() != null) { propStatus = SVNStatusType.STATUS_CONFLICTED; } if (entry.isScheduledForAddition()) { textStatus = SVNStatusType.STATUS_ADDED; propStatus = SVNStatusType.STATUS_NONE; } else if (entry.isScheduledForDeletion()) { textStatus = SVNStatusType.STATUS_DELETED; propStatus = SVNStatusType.STATUS_NONE; } else if (entry.isScheduledForReplacement()) { textStatus = SVNStatusType.STATUS_REPLACED; propStatus = SVNStatusType.STATUS_NONE; } if (entry.isIncomplete() && textStatus != SVNStatusType.STATUS_ADDED && textStatus != SVNStatusType.STATUS_DELETED) { textStatus = SVNStatusType.STATUS_INCOMPLETE; } else if (pathKind == SVNFileType.NONE) { if (textStatus != SVNStatusType.STATUS_DELETED) { textStatus = SVNStatusType.STATUS_MISSING; } } else if (!SVNFileType.equals(pathKind, entry.getKind())) { textStatus = SVNStatusType.STATUS_OBSTRUCTED; } else if (special != (pathKind == SVNFileType.SYMLINK)) { textStatus = SVNStatusType.STATUS_OBSTRUCTED; } if (isDir && pathKind == SVNFileType.DIRECTORY) { isLocked = entryDir.getFile(".svn/lock").exists(); } } if (!myIsReportAll) { if ((textStatus == SVNStatusType.STATUS_NONE || textStatus == SVNStatusType.STATUS_NORMAL) && (propStatus == SVNStatusType.STATUS_NONE || propStatus == SVNStatusType.STATUS_NORMAL) && !isLocked && !isSwitched && entry.getLockToken() == null) { return null; } } SVNLock localLock = null; if (entry.getLockToken() != null) { localLock = new SVNLock(null, entry.getLockToken(), entry.getLockOwner(), entry.getLockComment(), TimeUtil.parseDate(entry.getLockCreationDate()), null); } File conflictOld = null; File conflictNew = null; File conflictWrk = null; File propReject = null; if (entry.getConflictOld() != null) { conflictOld = entryDir.getFile(entry.getConflictOld()); } if (entry.getConflictNew() != null) { conflictNew = entryDir.getFile(entry.getConflictNew()); } if (entry.getConflictWorking() != null) { conflictWrk = entryDir.getFile(entry.getConflictWorking()); } if (entry.getPropRejectFile() != null) { propReject = entryDir.getFile(entry.getPropRejectFile()); } return new SVNStatus(entry.getURL(), file, entry.getKind(), SVNRevision .create(entry.getRevision()), entry.getCommittedRevision() >= 0 ? SVNRevision.create(entry.getCommittedRevision()) : null, TimeUtil.parseDate(entry.getCommittedDate()), entry.getAuthor(), textStatus, propStatus, SVNStatusType.STATUS_NONE, SVNStatusType.STATUS_NONE, isLocked, entry.isCopied(), isSwitched, conflictNew, conflictOld, conflictWrk, propReject, entry.getCopyFromURL(), SVNRevision.create(entry.getCopyFromRevision()), remoteLock, localLock, allEntryProperties); }
|
2776 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2776/48b673a4eeae723c90a2ec8a9e48e886212b2109/SVNStatusEditor.java/buggy/javasvn/src/org/tmatesoft/svn/core/internal/wc/SVNStatusEditor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
29537,
50,
1482,
752,
1482,
12,
780,
589,
16,
1387,
585,
16,
5411,
29537,
50,
2853,
1241,
1621,
16,
29537,
50,
1622,
982,
1622,
16,
5411,
29537,
50,
1622,
1241,
1748,
333,
3377,
506,
1577,
1241,
316,
982,
1195,
16,
5411,
1250,
353,
15596,
16,
29537,
50,
28941,
589,
5677,
16,
1635,
777,
1622,
2297,
13,
5411,
1216,
29537,
50,
503,
288,
3639,
589,
5677,
273,
589,
5677,
422,
446,
747,
589,
5677,
422,
29537,
50,
28941,
18,
14737,
692,
29537,
50,
28941,
7734,
263,
588,
559,
12,
768,
13,
7734,
294,
589,
5677,
31,
3639,
29537,
50,
2531,
2632,
2531,
273,
446,
31,
3639,
309,
261,
803,
480,
446,
597,
3399,
11605,
1482,
480,
446,
7734,
597,
3399,
11605,
1482,
18,
588,
1785,
1435,
480,
446,
13,
288,
5411,
2632,
2531,
273,
8261,
2531,
12,
803,
1769,
3639,
289,
3639,
309,
261,
4099,
422,
446,
13,
288,
5411,
29537,
50,
1482,
559,
977,
1482,
273,
29537,
50,
1482,
559,
18,
8608,
67,
9826,
31,
5411,
309,
261,
803,
5677,
480,
29537,
50,
28941,
18,
9826,
13,
288,
7734,
977,
1482,
273,
353,
15596,
692,
29537,
50,
1482,
559,
18,
8608,
67,
3047,
3417,
5879,
13491,
294,
29537,
50,
1482,
559,
18,
8608,
67,
2124,
5757,
2056,
31,
5411,
289,
5411,
327,
394,
29537,
50,
1482,
12,
2011,
16,
585,
16,
446,
16,
446,
16,
446,
16,
446,
16,
446,
16,
10792,
977,
1482,
16,
29537,
50,
1482,
559,
18,
8608,
67,
9826,
16,
10792,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
29537,
50,
1482,
752,
1482,
12,
780,
589,
16,
1387,
585,
16,
5411,
29537,
50,
2853,
1241,
1621,
16,
29537,
50,
1622,
982,
1622,
16,
5411,
29537,
50,
1622,
1241,
1748,
333,
3377,
506,
1577,
1241,
316,
982,
1195,
16,
5411,
1250,
353,
15596,
16,
29537,
50,
28941,
589,
5677,
16,
1635,
777,
1622,
2297,
13,
5411,
1216,
29537,
50,
503,
288,
3639,
589,
5677,
273,
589,
5677,
422,
446,
747,
589,
5677,
422,
29537,
50,
28941,
18,
14737,
692,
29537,
50,
28941,
7734,
263,
588,
559,
12,
768,
13,
7734,
294,
589,
5677,
31,
3639,
29537,
50,
2531,
2632,
2531,
273,
446,
31,
3639,
309,
261,
803,
480,
446,
597,
3399,
11605,
1482,
480,
446,
7734,
2
] |
String spellServerUrl = getSpellServerUrl(); ZimbraLog.mailbox.debug( "CheckSpelling: spellServerUrl='" + spellServerUrl + "', mWasSuccessful=" + mWasSuccessful + ", mFailTimestamp=" + mFailTimestamp); if (spellServerUrl == null) { response.addAttribute(MailService.A_AVAILABLE, false); return response;
|
String[] spellServerUrls = getSpellServerUrls(); if (ArrayUtil.isEmpty(spellServerUrls)) { sLog.debug("zimbraSpellCheckHostname is not defined"); return unavailable(response);
|
public Element handle(Element request, Map context) { ZimbraContext lc = getZimbraContext(context); Element response = lc.createElement(MailService.CHECK_SPELLING_RESPONSE); // Make sure that the hostname is specified String spellServerUrl = getSpellServerUrl(); ZimbraLog.mailbox.debug( "CheckSpelling: spellServerUrl='" + spellServerUrl + "', mWasSuccessful=" + mWasSuccessful + ", mFailTimestamp=" + mFailTimestamp); if (spellServerUrl == null) { response.addAttribute(MailService.A_AVAILABLE, false); return response; } // If the last spell check attempt failed, wait before retrying if (!mWasSuccessful) { long timePassed = System.currentTimeMillis() - mFailTimestamp; if (timePassed < LC.spell_retry_interval_millis.intValue()) { response.addAttribute(MailService.A_AVAILABLE, false); return response; } } String text = request.getTextTrim(); RemoteServerRequest req = new RemoteServerRequest(); req.addParameter("text", text); try { req.invoke(spellServerUrl); Map params = req.getResponseParameters(); String misspelled = (String) params.get("misspelled"); if (misspelled == null) { throw new IOException("misspelled data not found in spell server response"); } // Assemble SOAP response BufferedReader reader = new BufferedReader(new StringReader(misspelled)); String line = null; int numLines = 0; int numMisspelled = 0; while ((line = reader.readLine()) != null) { // Each line in the response has the format "werd:word,ward,weird" line = line.trim(); numLines++; int colonPos = line.indexOf(':'); if (colonPos >= 0) { Element wordEl = response.addElement(MailService.E_MISSPELLED); String word = line.substring(0, colonPos); String suggestions = line.substring(colonPos + 1, line.length()); wordEl.addAttribute(MailService.A_WORD, word); wordEl.addAttribute(MailService.A_SUGGESTIONS, suggestions); numMisspelled++; } } response.addAttribute(MailService.A_AVAILABLE, true); ZimbraLog.mailbox.debug( "CheckSpelling: found " + numMisspelled + " misspelled words in " + numLines + " lines"); } catch (IOException ex) { ZimbraLog.mailbox.error("An error occurred while contacting the spelling server", ex); mWasSuccessful = false; mFailTimestamp = System.currentTimeMillis(); response.addAttribute(MailService.A_AVAILABLE, false); return response; } return response; }
|
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/58c65ee2adb5e6a725f6283763ba44e0a8e6bdc1/CheckSpelling.java/clean/ZimbraServer/src/java/com/zimbra/cs/service/mail/CheckSpelling.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3010,
1640,
12,
1046,
590,
16,
1635,
819,
13,
288,
3639,
2285,
381,
15397,
1042,
9109,
273,
23448,
381,
15397,
1042,
12,
2472,
1769,
3639,
3010,
766,
273,
9109,
18,
2640,
1046,
12,
6759,
1179,
18,
10687,
67,
23810,
4503,
1360,
67,
14508,
1769,
3639,
368,
4344,
3071,
716,
326,
5199,
353,
1269,
3639,
514,
22377,
2081,
1489,
273,
1322,
84,
1165,
2081,
1489,
5621,
3639,
2285,
381,
15397,
1343,
18,
4408,
2147,
18,
4148,
12,
5411,
315,
1564,
3389,
1165,
310,
30,
22377,
2081,
1489,
13396,
397,
22377,
2081,
1489,
397,
14912,
312,
14992,
14277,
1546,
397,
5411,
312,
14992,
14277,
397,
3104,
312,
3754,
4921,
1546,
397,
312,
3754,
4921,
1769,
3639,
309,
261,
1752,
1165,
2081,
1489,
422,
446,
13,
288,
5411,
766,
18,
1289,
1499,
12,
6759,
1179,
18,
37,
67,
23222,
16,
629,
1769,
5411,
327,
766,
31,
3639,
289,
7734,
368,
971,
326,
1142,
22377,
866,
4395,
2535,
16,
2529,
1865,
21081,
3639,
309,
16051,
81,
14992,
14277,
13,
288,
5411,
1525,
813,
22530,
273,
2332,
18,
2972,
28512,
1435,
300,
312,
3754,
4921,
31,
5411,
309,
261,
957,
22530,
411,
27727,
18,
1752,
1165,
67,
9620,
67,
6624,
67,
81,
3503,
18,
474,
620,
10756,
288,
7734,
766,
18,
1289,
1499,
12,
6759,
1179,
18,
37,
67,
23222,
16,
629,
1769,
7734,
327,
766,
31,
5411,
289,
3639,
289,
7734,
514,
977,
273,
590,
18,
588,
1528,
14795,
5621,
3639,
6304,
2081,
691,
1111,
273,
394,
6304,
2081,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3010,
1640,
12,
1046,
590,
16,
1635,
819,
13,
288,
3639,
2285,
381,
15397,
1042,
9109,
273,
23448,
381,
15397,
1042,
12,
2472,
1769,
3639,
3010,
766,
273,
9109,
18,
2640,
1046,
12,
6759,
1179,
18,
10687,
67,
23810,
4503,
1360,
67,
14508,
1769,
3639,
368,
4344,
3071,
716,
326,
5199,
353,
1269,
3639,
514,
22377,
2081,
1489,
273,
1322,
84,
1165,
2081,
1489,
5621,
3639,
2285,
381,
15397,
1343,
18,
4408,
2147,
18,
4148,
12,
5411,
315,
1564,
3389,
1165,
310,
30,
22377,
2081,
1489,
13396,
397,
22377,
2081,
1489,
397,
14912,
312,
14992,
14277,
1546,
397,
5411,
312,
14992,
14277,
397,
3104,
312,
3754,
4921,
1546,
397,
312,
3754,
4921,
1769,
3639,
309,
261,
1752,
2
] |
case IStatus.ERROR: setErrorMessage(message); setMessage(message,WizardPage.ERROR);
|
case IStatus.ERROR : setErrorMessage( message ); setMessage( message, WizardPage.ERROR );
|
private void applyToStatusLine(IStatus status) { String message= status.getMessage(); if (message.length() == 0) message= PAGE_DESC; switch (status.getSeverity()) { case IStatus.OK: setErrorMessage(null); setMessage(message); break; case IStatus.ERROR: setErrorMessage(message); setMessage(message,WizardPage.ERROR); break; case IStatus.WARNING: setErrorMessage(null); setMessage(message, WizardPage.WARNING); break; case IStatus.INFO: setErrorMessage(null); setMessage(message, WizardPage.INFORMATION); break; default: setErrorMessage(message); setMessage(null); break; } }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/5dd4b8bf9ad20663a0656c7f795fb830c81a3078/WizardReportSettingPage.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/wizards/WizardReportSettingPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
28681,
1482,
1670,
12,
45,
1482,
1267,
13,
288,
202,
202,
780,
883,
33,
1267,
18,
24906,
5621,
202,
202,
430,
261,
2150,
18,
2469,
1435,
422,
374,
13,
883,
33,
11549,
67,
10964,
31,
202,
202,
9610,
261,
2327,
18,
588,
21630,
10756,
288,
1082,
202,
3593,
467,
1482,
18,
3141,
30,
9506,
202,
542,
14935,
12,
2011,
1769,
9506,
202,
542,
1079,
12,
2150,
1769,
9506,
202,
8820,
31,
1082,
202,
3593,
467,
1482,
18,
3589,
30,
9506,
202,
542,
14935,
12,
2150,
1769,
9506,
202,
542,
1079,
12,
2150,
16,
27130,
1964,
18,
3589,
1769,
9506,
202,
8820,
31,
1082,
202,
3593,
467,
1482,
18,
9511,
30,
9506,
202,
542,
14935,
12,
2011,
1769,
9506,
202,
542,
1079,
12,
2150,
16,
678,
13412,
1964,
18,
9511,
1769,
9506,
202,
8820,
31,
6862,
1082,
202,
3593,
467,
1482,
18,
5923,
30,
9506,
202,
542,
14935,
12,
2011,
1769,
9506,
202,
542,
1079,
12,
2150,
16,
678,
13412,
1964,
18,
706,
23805,
1769,
9506,
202,
8820,
31,
25083,
202,
1886,
30,
9506,
202,
542,
14935,
12,
2150,
1769,
9506,
202,
542,
1079,
12,
2011,
1769,
9506,
202,
8820,
31,
9506,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
28681,
1482,
1670,
12,
45,
1482,
1267,
13,
288,
202,
202,
780,
883,
33,
1267,
18,
24906,
5621,
202,
202,
430,
261,
2150,
18,
2469,
1435,
422,
374,
13,
883,
33,
11549,
67,
10964,
31,
202,
202,
9610,
261,
2327,
18,
588,
21630,
10756,
288,
1082,
202,
3593,
467,
1482,
18,
3141,
30,
9506,
202,
542,
14935,
12,
2011,
1769,
9506,
202,
542,
1079,
12,
2150,
1769,
9506,
202,
8820,
31,
1082,
202,
3593,
467,
1482,
18,
3589,
30,
9506,
202,
542,
14935,
12,
2150,
1769,
9506,
202,
542,
1079,
12,
2150,
16,
27130,
1964,
18,
3589,
1769,
9506,
202,
8820,
31,
1082,
202,
3593,
467,
1482,
18,
9511,
30,
9506,
202,
542,
14935,
12,
2
] |
RolapSchema.flushRolapStarCaches();
|
RolapSchema.flushAllRolapStarCaches();
|
public void execute(Property property, String value) { disableCaching = property.booleanValue(); // must flush all caches if (disableCaching) { RolapSchema.flushRolapStarCaches(); } }
|
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/a38bbb17b52820dfafb4cbe08e001cbb8cb7d04b/RolapStar.java/clean/src/main/mondrian/rolap/RolapStar.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
5397,
1071,
918,
1836,
12,
1396,
1272,
16,
514,
460,
13,
288,
13491,
4056,
17712,
273,
1272,
18,
6494,
620,
5621,
13491,
368,
1297,
3663,
777,
12535,
13491,
309,
261,
8394,
17712,
13,
288,
18701,
11714,
438,
3078,
18,
11330,
1595,
4984,
438,
18379,
18755,
5621,
13491,
289,
10792,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
5397,
1071,
918,
1836,
12,
1396,
1272,
16,
514,
460,
13,
288,
13491,
4056,
17712,
273,
1272,
18,
6494,
620,
5621,
13491,
368,
1297,
3663,
777,
12535,
13491,
309,
261,
8394,
17712,
13,
288,
18701,
11714,
438,
3078,
18,
11330,
1595,
4984,
438,
18379,
18755,
5621,
13491,
289,
10792,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
void uploadPatch(Patch p) {
|
void uploadPatch(IPatch p) {
|
void uploadPatch(Patch p) { String patchType=t1.getText(); String patchName=t2.getText(); String desc=t3.getText(); String repository=t4.getText(); String userName=t5.getText(); String passwd=new String(t6.getPassword()); byte [] sysex = p.sysex; if (patchName.length()<4) ErrorMsg.reportError("Error","Patch Name must be at least 4 characters."); else if (desc.length()<20) ErrorMsg.reportError("Error","Description must be at least 20 characters."); else if (userName.length()<1) ErrorMsg.reportError("Error","Please supply a Contributer's User Name"); else if (passwd.length()<1) ErrorMsg.reportError("Error","Please supply the Contributer's Password for the Repository"); else if (repository.length()<5) ErrorMsg.reportError("Error","Please supply the Repository URL Address"); else { String mime = new String(); mime = mimeBoundary(); mime += makeMime("name",patchName); mime += mimeBoundary(); mime += makeMime("synthName",patchType); mime += mimeBoundary(); try { String filestr=new String (sysex,"ISO-8859-1"); mime += makeMime("file",filestr); } catch (Exception e) { ErrorMsg.reportStatus("UploadPatchDialog encoding failed."); } mime += mimeBoundary(); mime += makeMime("username",userName); mime += mimeBoundary(); mime += makeMime("pass",passwd); mime += mimeBoundary(); mime += makeMime("comment",desc); mime += mimeBoundary(); mime += makeMime("send","Upload"); mime += mimeBoundary(); mime += "\r\n\r\n"; // ErrorMsg.reportStatus(mime); if (postData(repository,mime)==1) setVisible(false); } }
|
7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/b6e99a36d447b749f8ec1622f6d2477fcd586fcb/UploadPatchDialog.java/clean/JSynthLib/core/UploadPatchDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
3617,
7332,
12,
7332,
293,
13,
288,
202,
780,
4729,
559,
33,
88,
21,
18,
588,
1528,
5621,
202,
780,
4729,
461,
33,
88,
22,
18,
588,
1528,
5621,
202,
780,
3044,
33,
88,
23,
18,
588,
1528,
5621,
202,
780,
3352,
33,
88,
24,
18,
588,
1528,
5621,
202,
780,
12065,
33,
88,
25,
18,
588,
1528,
5621,
202,
780,
19093,
33,
2704,
514,
12,
88,
26,
18,
588,
3913,
10663,
202,
7229,
5378,
1393,
20909,
273,
293,
18,
9009,
20909,
31,
202,
430,
261,
2272,
461,
18,
2469,
1435,
32,
24,
13,
202,
565,
1068,
3332,
18,
6006,
668,
2932,
668,
15937,
7332,
1770,
1297,
506,
622,
4520,
1059,
3949,
1199,
1769,
202,
12107,
309,
261,
5569,
18,
2469,
1435,
32,
3462,
13,
202,
565,
1068,
3332,
18,
6006,
668,
2932,
668,
15937,
3291,
1297,
506,
622,
4520,
4200,
3949,
1199,
1769,
202,
12107,
309,
261,
1355,
461,
18,
2469,
1435,
32,
21,
13,
202,
565,
1068,
3332,
18,
6006,
668,
2932,
668,
15937,
8496,
14467,
279,
735,
665,
26812,
1807,
2177,
1770,
8863,
202,
12107,
309,
261,
24002,
18,
2469,
1435,
32,
21,
13,
202,
565,
1068,
3332,
18,
6006,
668,
2932,
668,
15937,
8496,
14467,
326,
735,
665,
26812,
1807,
9234,
364,
326,
6281,
8863,
202,
12107,
309,
261,
9071,
18,
2469,
1435,
32,
25,
13,
202,
565,
1068,
3332,
18,
6006,
668,
2932,
668,
15937,
8496,
14467,
326,
6281,
1976,
5267,
8863,
202,
12107,
288,
202,
565,
514,
4892,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3617,
7332,
12,
7332,
293,
13,
288,
202,
780,
4729,
559,
33,
88,
21,
18,
588,
1528,
5621,
202,
780,
4729,
461,
33,
88,
22,
18,
588,
1528,
5621,
202,
780,
3044,
33,
88,
23,
18,
588,
1528,
5621,
202,
780,
3352,
33,
88,
24,
18,
588,
1528,
5621,
202,
780,
12065,
33,
88,
25,
18,
588,
1528,
5621,
202,
780,
19093,
33,
2704,
514,
12,
88,
26,
18,
588,
3913,
10663,
202,
7229,
5378,
1393,
20909,
273,
293,
18,
9009,
20909,
31,
202,
430,
261,
2272,
461,
18,
2469,
1435,
32,
24,
13,
202,
565,
1068,
3332,
18,
6006,
668,
2932,
668,
15937,
7332,
1770,
1297,
506,
622,
4520,
1059,
3949,
1199,
1769,
202,
12107,
309,
2
] |
String getProblemsMessage() {
|
protected String getProblemsMessage() {
|
String getProblemsMessage() { return IDEWorkbenchMessages.getString("RefreshAction.problemMessage"); //$NON-NLS-1$ }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/4eac3d2cc275edceeff6f6f06f8d39203c7c731c/RefreshAction.java/clean/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/RefreshAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
3570,
19122,
1079,
1435,
288,
3639,
327,
1599,
41,
2421,
22144,
5058,
18,
588,
780,
2932,
8323,
1803,
18,
18968,
1079,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
3570,
19122,
1079,
1435,
288,
3639,
327,
1599,
41,
2421,
22144,
5058,
18,
588,
780,
2932,
8323,
1803,
18,
18968,
1079,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
.getDeclaringExtension().getNamespace());
|
.getNamespace());
|
public void openWithUserDefinedProgram() throws CoreException { // We need to determine if the command refers to a program in the plugin // install directory. Otherwise we assume the program is on the path. String programFileName = null; IConfigurationElement configurationElement = descriptor .getConfigurationElement(); // Check if we have a config element (if we don't it is an // external editor created on the resource associations page). if (configurationElement != null) { try { Bundle bundle = Platform.getBundle(configurationElement .getDeclaringExtension().getNamespace()); // See if the program file is in the plugin directory URL entry = bundle.getEntry(descriptor.getFileName()); if (entry != null) { // this will bring the file local if the plugin is on a server URL localName = Platform.asLocalURL(entry); File file = new File(localName.getFile()); //Check that it exists before we assert it is valid if (file.exists()) programFileName = file.getAbsolutePath(); } } catch (IOException e) { // Program file is not in the plugin directory } } if (programFileName == null) // Program file is not in the plugin directory therefore // assume it is on the path programFileName = descriptor.getFileName(); // Get the full path of the file to open if (filePath == null) { throw new CoreException( new Status( Status.ERROR, WorkbenchPlugin.PI_WORKBENCH, 0, NLS.bind(WorkbenchMessages.ExternalEditor_errorMessage,programFileName), null)); } String path = filePath.toOSString(); // Open the file // ShellCommand was removed in response to PR 23888. If an exception was // thrown, it was not caught in time, and no feedback was given to user try { Runtime.getRuntime().exec(new String[] { programFileName, path }); } catch (Exception e) { throw new CoreException( new Status( Status.ERROR, WorkbenchPlugin.PI_WORKBENCH, 0, NLS.bind(WorkbenchMessages.ExternalEditor_errorMessage,programFileName), e)); } }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/1e65b979985b36840a39b7f0a0949b5b4377e74e/ExternalEditor.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/misc/ExternalEditor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1696,
1190,
1299,
8116,
9459,
1435,
1216,
30015,
288,
3639,
368,
1660,
1608,
358,
4199,
309,
326,
1296,
21368,
358,
279,
5402,
316,
326,
1909,
3639,
368,
3799,
1867,
18,
5272,
732,
6750,
326,
5402,
353,
603,
326,
589,
18,
3639,
514,
5402,
4771,
273,
446,
31,
3639,
467,
1750,
1046,
1664,
1046,
273,
4950,
7734,
263,
588,
1750,
1046,
5621,
3639,
368,
2073,
309,
732,
1240,
279,
642,
930,
261,
430,
732,
2727,
1404,
518,
353,
392,
3639,
368,
3903,
4858,
2522,
603,
326,
1058,
14474,
1363,
2934,
3639,
309,
261,
7025,
1046,
480,
446,
13,
288,
5411,
775,
288,
7734,
8539,
3440,
273,
11810,
18,
588,
3405,
12,
7025,
1046,
13491,
263,
588,
3402,
10663,
7734,
368,
2164,
309,
326,
5402,
585,
353,
316,
326,
1909,
1867,
7734,
1976,
1241,
273,
3440,
18,
588,
1622,
12,
12628,
18,
588,
4771,
10663,
7734,
309,
261,
4099,
480,
446,
13,
288,
10792,
368,
333,
903,
5186,
310,
326,
585,
1191,
309,
326,
1909,
353,
603,
279,
1438,
10792,
1976,
11927,
273,
11810,
18,
345,
2042,
1785,
12,
4099,
1769,
10792,
1387,
585,
273,
394,
1387,
12,
3729,
461,
18,
29925,
10663,
10792,
368,
1564,
716,
518,
1704,
1865,
732,
1815,
518,
353,
923,
10792,
309,
261,
768,
18,
1808,
10756,
13491,
5402,
4771,
273,
585,
18,
588,
10368,
743,
5621,
7734,
289,
5411,
289,
1044,
261,
14106,
425,
13,
288,
7734,
368,
13586,
585,
353,
486,
316,
326,
1909,
1867,
5411,
289,
3639,
289,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1696,
1190,
1299,
8116,
9459,
1435,
1216,
30015,
288,
3639,
368,
1660,
1608,
358,
4199,
309,
326,
1296,
21368,
358,
279,
5402,
316,
326,
1909,
3639,
368,
3799,
1867,
18,
5272,
732,
6750,
326,
5402,
353,
603,
326,
589,
18,
3639,
514,
5402,
4771,
273,
446,
31,
3639,
467,
1750,
1046,
1664,
1046,
273,
4950,
7734,
263,
588,
1750,
1046,
5621,
3639,
368,
2073,
309,
732,
1240,
279,
642,
930,
261,
430,
732,
2727,
1404,
518,
353,
392,
3639,
368,
3903,
4858,
2522,
603,
326,
1058,
14474,
1363,
2934,
3639,
309,
261,
7025,
1046,
480,
446,
13,
288,
5411,
775,
288,
7734,
8539,
3440,
273,
11810,
18,
588,
3405,
12,
7025,
1046,
13491,
263,
588,
3402,
2
] |
public int addNumbers(int number1, int number2) { System.out.println("Received Request!"); return number1 + number2; }
|
public int addNumbers (int number1, int number2) { System.out.println ("Received Request!"); return number1 + number2; }
|
public int addNumbers(int number1, int number2) { System.out.println("Received Request!"); return number1 + number2; }
|
9667 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9667/849972313659104525644114759629499fcacad2/AddNumbersImpl.java/clean/jaxws-ri/samples/async/src/async/server/AddNumbersImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
527,
10072,
12,
474,
1300,
21,
16,
509,
1300,
22,
13,
288,
3639,
2332,
18,
659,
18,
8222,
2932,
8872,
1567,
4442,
1769,
202,
202,
2463,
1300,
21,
397,
1300,
22,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
509,
527,
10072,
12,
474,
1300,
21,
16,
509,
1300,
22,
13,
288,
3639,
2332,
18,
659,
18,
8222,
2932,
8872,
1567,
4442,
1769,
202,
202,
2463,
1300,
21,
397,
1300,
22,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (verbose >= 1) traceContext.push("", jdkObject.getClass().getName(), "tib");
|
if (verbose >= 2) traceContext.push("", jdkObject.getClass().getName(), "tib");
|
private static int copyMagicArrayToBootImage(Object jdkObject, VM_Array rvmArrayType, boolean allocOnly, int overwriteOffset, Object parentObject) throws IllegalAccessException { // // Return object if it is already copied and not being overwritten // BootImageMap.Entry mapEntry = BootImageMap.findOrCreateEntry(jdkObject); if (mapEntry.imageOffset != OBJECT_NOT_ALLOCATED && overwriteOffset == -1) return mapEntry.imageOffset; if (verbose >= 2) depth++; // allocate space in image int arrayCount = Array.getLength(jdkObject); int arrayImageOffset = (overwriteOffset == -1) ? bootImage.allocateArray(rvmArrayType, arrayCount) : overwriteOffset; mapEntry.imageOffset = arrayImageOffset; if (verbose >= 2) { if (depth == depthCutoff) say(SPACES.substring(0,depth+1), "TOO DEEP: cutting off"); else if (depth < depthCutoff) { String tab = SPACES.substring(0,depth+1); if (depth == 0 && jtocCount >= 0) tab = tab + "jtoc #" + String.valueOf(jtocCount) + ": "; int arraySize = rvmArrayType.getInstanceSize(arrayCount); say(tab, "Copying array ", rvmArrayType.toString(), " length=", String.valueOf(arrayCount), (arraySize >= LARGE_ARRAY_SIZE) ? " large object!!!" : ""); } } // copy array elements from host jdk address space into image VM_Type rvmElementType = rvmArrayType.getElementType(); if (rvmElementType.equals(VM_Type.CodeType)) { if (VM.BuildForIA32) { byte values[] = (byte[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setByte(arrayImageOffset + i, values[i]); } else { int values[] = (int[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setFullWord(arrayImageOffset + (i << LOG_BYTES_IN_INT), values[i]); } } else if (rvmElementType.equals(VM_Type.AddressType)) { VM_Address values[] = (VM_Address[]) jdkObject; for (int i=0; i<arrayCount; i++) { VM_Address addr = values[i]; String msg = "VM_Address array element " + i; if (VM.BuildFor32Addr) bootImage.setFullWord(arrayImageOffset + (i << LOG_BYTES_IN_ADDRESS), (int)getAddressValue(addr, msg, true)); else if (VM.BuildFor64Addr) bootImage.setDoubleWord(arrayImageOffset + (i << LOG_BYTES_IN_ADDRESS), getAddressValue(addr, msg, true)); } } else if (rvmElementType.equals(VM_Type.WordType)) { VM_Word values[] = (VM_Word[]) jdkObject; for (int i = 0; i < arrayCount; i++) if (VM.BuildFor32Addr) bootImage.setFullWord(arrayImageOffset + (i << LOG_BYTES_IN_ADDRESS), values[i].toInt()); else if (VM.BuildFor64Addr) bootImage.setDoubleWord(arrayImageOffset + (i << LOG_BYTES_IN_ADDRESS), values[i].toLong()); } else if (rvmElementType.equals(VM_Type.OffsetType)) { VM_Offset values[] = (VM_Offset[]) jdkObject; for (int i = 0; i < arrayCount; i++) if (VM.BuildFor32Addr) bootImage.setFullWord(arrayImageOffset + (i << LOG_BYTES_IN_ADDRESS), values[i].toInt()); else if (VM.BuildFor64Addr) bootImage.setDoubleWord(arrayImageOffset + (i << LOG_BYTES_IN_ADDRESS), values[i].toLong()); } else if (rvmElementType.equals(VM_Type.ExtentType)) { VM_Extent values[] = (VM_Extent[]) jdkObject; for (int i = 0; i < arrayCount; i++) if (VM.BuildFor32Addr) bootImage.setFullWord(arrayImageOffset + (i << LOG_BYTES_IN_ADDRESS), values[i].toInt()); else if (VM.BuildFor64Addr) bootImage.setDoubleWord(arrayImageOffset + (i << LOG_BYTES_IN_ADDRESS), values[i].toLong()); } else { fail("unexpected magic array type: " + rvmArrayType); } // copy object's TIB into image, if it's not there already if (!allocOnly) { if (verbose >= 1) traceContext.push("", jdkObject.getClass().getName(), "tib"); int tibImageOffset = copyToBootImage(rvmArrayType.getTypeInformationBlock(), allocOnly, -1, jdkObject); if (verbose >= 1) traceContext.pop(); if (tibImageOffset == OBJECT_NOT_ALLOCATED) fail("can't copy tib for " + jdkObject); int tibAddress = bootImageAddress + tibImageOffset; VM_ObjectModel.setTIB(bootImage, mapEntry.imageOffset, VM_Address.fromInt(tibAddress), rvmArrayType); } if (verbose >= 2) depth--; return mapEntry.imageOffset; }
|
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/85fa7f91d1f8a559835edf381c02c874e4ecde25/BootImageWriter.java/buggy/rvm/src/tools/bootImageWriter/BootImageWriter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
509,
1610,
19289,
1076,
774,
15817,
2040,
12,
921,
525,
2883,
921,
16,
9944,
4202,
8251,
67,
1076,
436,
3489,
27182,
16,
25083,
4202,
1250,
4767,
3386,
16,
9944,
4202,
509,
6156,
2335,
16,
9944,
4202,
1033,
982,
921,
13,
377,
1216,
11900,
288,
565,
368,
565,
368,
2000,
733,
309,
518,
353,
1818,
9268,
471,
486,
3832,
15345,
565,
368,
565,
26254,
2040,
863,
18,
1622,
852,
1622,
273,
26254,
2040,
863,
18,
4720,
17717,
1622,
12,
78,
2883,
921,
1769,
565,
309,
261,
1458,
1622,
18,
2730,
2335,
480,
12166,
67,
4400,
67,
1013,
1502,
13890,
597,
6156,
2335,
422,
300,
21,
13,
1377,
327,
852,
1622,
18,
2730,
2335,
31,
565,
309,
261,
11369,
1545,
576,
13,
3598,
9904,
31,
3639,
368,
10101,
3476,
316,
1316,
565,
509,
526,
1380,
4202,
273,
1510,
18,
588,
1782,
12,
78,
2883,
921,
1769,
565,
509,
526,
2040,
2335,
273,
261,
19274,
2335,
422,
300,
21,
13,
692,
4835,
2040,
18,
16247,
1076,
12,
86,
3489,
27182,
16,
526,
1380,
13,
294,
6156,
2335,
31,
565,
852,
1622,
18,
2730,
2335,
273,
526,
2040,
2335,
31,
565,
309,
261,
11369,
1545,
576,
13,
288,
1377,
309,
261,
5979,
422,
3598,
15812,
3674,
13,
225,
202,
87,
528,
12,
6616,
55,
18,
28023,
12,
20,
16,
5979,
15,
21,
3631,
315,
4296,
51,
2030,
10541,
30,
6391,
1787,
3397,
8863,
1377,
469,
309,
261,
5979,
411,
3598,
15812,
3674,
13,
288,
202,
780,
3246,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
509,
1610,
19289,
1076,
774,
15817,
2040,
12,
921,
525,
2883,
921,
16,
9944,
4202,
8251,
67,
1076,
436,
3489,
27182,
16,
25083,
4202,
1250,
4767,
3386,
16,
9944,
4202,
509,
6156,
2335,
16,
9944,
4202,
1033,
982,
921,
13,
377,
1216,
11900,
288,
565,
368,
565,
368,
2000,
733,
309,
518,
353,
1818,
9268,
471,
486,
3832,
15345,
565,
368,
565,
26254,
2040,
863,
18,
1622,
852,
1622,
273,
26254,
2040,
863,
18,
4720,
17717,
1622,
12,
78,
2883,
921,
1769,
565,
309,
261,
1458,
1622,
18,
2730,
2335,
480,
12166,
67,
4400,
67,
1013,
1502,
13890,
597,
6156,
2335,
422,
300,
21,
13,
1377,
327,
852,
1622,
18,
2730,
2335,
31,
565,
309,
261,
2
] |
public Object validate(String content, Object IDStorage ) throws InvalidDatatypeValueException{ //Pass content as a String //System.out.println("Call to ID= " ); if (!XMLCharacterProperties.validName(content)) {//Check if is valid key-[81] EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')* InvalidDatatypeValueException error = new InvalidDatatypeValueException( "ID is not valid: " + content ); error.setMajorCode(XMLMessages.MSG_ID_INVALID); error.setMinorCode(XMLMessages.VC_ID); throw error; } if(!addId( content, IDStorage) ){ //System.out.println("Should not be here" ); InvalidDatatypeValueException error = new InvalidDatatypeValueException( "ID" + content +" has to be unique" ); error.setMajorCode(XMLMessages.MSG_ID_NOT_UNIQUE); error.setMinorCode(XMLMessages.VC_ID); throw error; } //System.out.println("IDStorage = " + IDStorage ); return fTableOfId;//Return the table of Id }
|
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/19a96cfe49f79737218480aafa23c0eaba4f823a/IDDatatypeValidator.java/buggy/src/org/apache/xerces/validators/datatype/IDDatatypeValidator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
921,
5662,
12,
780,
1745,
16,
22359,
3245,
13,
15069,
1941,
20228,
9738,
95,
759,
6433,
1745,
345,
69,
780,
759,
3163,
18,
659,
18,
8222,
2932,
1477,
869,
734,
1546,
1769,
430,
12,
5,
4201,
7069,
2297,
18,
877,
461,
12,
1745,
3719,
95,
759,
1564,
430,
291,
877,
856,
17,
63,
11861,
65,
4280,
461,
2866,
22850,
37,
17,
15948,
17,
94,
65,
3816,
37,
17,
15948,
17,
94,
20,
17,
29,
6315,
12369,
11,
17,
6134,
14,
1941,
20228,
9738,
1636,
33,
2704,
1941,
20228,
9738,
2932,
734,
291,
902,
877,
2773,
15,
1745,
1769,
1636,
18,
542,
17581,
1085,
12,
4201,
5058,
18,
11210,
67,
734,
67,
9347,
1769,
1636,
18,
542,
19549,
1085,
12,
4201,
5058,
18,
13464,
67,
734,
1769,
12849,
1636,
31,
97,
430,
12,
5,
1289,
548,
12,
1745,
16,
734,
3245,
3719,
95,
759,
3163,
18,
659,
18,
8222,
2932,
14309,
902,
2196,
14852,
8863,
1941,
20228,
9738,
1636,
33,
2704,
1941,
20228,
9738,
2932,
734,
6,
15,
1745,
9078,
76,
689,
947,
73,
6270,
8863,
1636,
18,
542,
17581,
1085,
12,
4201,
5058,
18,
11210,
67,
734,
67,
4400,
67,
16879,
1769,
1636,
18,
542,
19549,
1085,
12,
4201,
5058,
18,
13464,
67,
734,
1769,
12849,
1636,
31,
97,
759,
3163,
18,
659,
18,
8222,
2932,
734,
3245,
1546,
15,
734,
3245,
1769,
2463,
74,
1388,
951,
548,
31,
759,
990,
451,
278,
429,
792,
548,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
921,
5662,
12,
780,
1745,
16,
22359,
3245,
13,
15069,
1941,
20228,
9738,
95,
759,
6433,
1745,
345,
69,
780,
759,
3163,
18,
659,
18,
8222,
2932,
1477,
869,
734,
1546,
1769,
430,
12,
5,
4201,
7069,
2297,
18,
877,
461,
12,
1745,
3719,
95,
759,
1564,
430,
291,
877,
856,
17,
63,
11861,
65,
4280,
461,
2866,
22850,
37,
17,
15948,
17,
94,
65,
3816,
37,
17,
15948,
17,
94,
20,
17,
29,
6315,
12369,
11,
17,
6134,
14,
1941,
20228,
9738,
1636,
33,
2704,
1941,
20228,
9738,
2932,
734,
291,
902,
877,
2773,
15,
1745,
1769,
1636,
18,
542,
17581,
1085,
12,
4201,
5058,
18,
11210,
67,
734,
67,
9347,
1769,
1636,
18,
542,
19549,
1085,
2
] |
||
if (containerNameField == null) initialContainerFieldValue = value; else containerNameField.setText(value);
|
if (containerNameField == null) { initialContainerFieldValue = value; } else { containerNameField.setText(value); }
|
public void setContainerFieldValue(String value) { if (containerNameField == null) initialContainerFieldValue = value; else containerNameField.setText(value); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/WizardImportPage.java/clean/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardImportPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
28331,
13559,
12,
780,
460,
13,
288,
3639,
309,
261,
3782,
461,
974,
422,
446,
13,
5411,
2172,
2170,
13559,
273,
460,
31,
3639,
469,
5411,
20408,
974,
18,
542,
1528,
12,
1132,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
28331,
13559,
12,
780,
460,
13,
288,
3639,
309,
261,
3782,
461,
974,
422,
446,
13,
5411,
2172,
2170,
13559,
273,
460,
31,
3639,
469,
5411,
20408,
974,
18,
542,
1528,
12,
1132,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
assertTrue(true);
|
public void testPropertyForNullBrowser() throws Exception { final String configurationString = "<?xml version=\"1.0\"?>" + "<configuration\n" + " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n" + " xsi:noNamespaceSchemaLocation=\"JavaScriptConfiguration.xsd\">\n" + " <class name=\"Document\" extends=\"NodeImpl\" " + "classname=\"com.gargoylesoftware.htmlunit.javascript.host.Document\">\n" + " <property name=\"readyState\" readable=\"true\" writable=\"false\">\n" + " <browser name=\"Microsoft Internet Explorer\" min-version=\"4\"/>\n" + " </property>\n" + " </class>\n" + " <class name=\"NodeImpl\" " + "classname=\"com.gargoylesoftware.htmlunit.javascript.host.NodeImpl\">\n" + " <property name=\"firstChild\" readable=\"true\" writable=\"false\">\n" + " </property>\n" + " </class>\n" + "</configuration>\n"; final Reader reader = new StringReader(configurationString); JavaScriptConfiguration.loadConfiguration(reader); final JavaScriptConfiguration configuration; try { configuration = JavaScriptConfiguration.getInstance(null); assertTrue("Should have thrown an exception for no browser supplied", false); } catch (final IllegalStateException e) { assertTrue(true); } }
|
47843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47843/62af9b3153ab9a9a7ece0d58e5bbbe45845d2f3b/JavaScriptConfigurationTest.java/clean/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/configuration/JavaScriptConfigurationTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1396,
1290,
2041,
9132,
1435,
1216,
1185,
288,
3639,
727,
514,
1664,
780,
5411,
273,
20410,
2902,
1177,
5189,
21,
18,
20,
2412,
35,
2984,
5411,
397,
3532,
7025,
64,
82,
6,
5411,
397,
315,
565,
12302,
30,
29262,
5189,
2505,
2207,
5591,
18,
91,
23,
18,
3341,
19,
6976,
21,
19,
4201,
3078,
17,
1336,
31670,
82,
6,
5411,
397,
315,
565,
619,
7722,
30,
2135,
3402,
3078,
2735,
5189,
16634,
1750,
18,
19144,
28219,
82,
6,
5411,
397,
315,
565,
411,
1106,
508,
5189,
2519,
2412,
3231,
5189,
907,
2828,
2412,
315,
5411,
397,
315,
18340,
5189,
832,
18,
75,
26999,
3872,
4401,
2726,
18,
2620,
4873,
18,
11242,
18,
2564,
18,
2519,
28219,
82,
6,
5411,
397,
315,
3639,
411,
4468,
508,
5189,
1672,
1119,
2412,
7471,
5189,
3767,
2412,
9691,
5189,
5743,
28219,
82,
6,
5411,
397,
315,
5411,
411,
11213,
508,
5189,
22350,
21352,
1312,
11766,
2412,
1131,
17,
1589,
5189,
24,
2412,
19,
5333,
82,
6,
5411,
397,
315,
3639,
7765,
4468,
5333,
82,
6,
5411,
397,
315,
565,
7765,
1106,
5333,
82,
6,
5411,
397,
315,
565,
411,
1106,
508,
5189,
907,
2828,
2412,
315,
5411,
397,
315,
18340,
5189,
832,
18,
75,
26999,
3872,
4401,
2726,
18,
2620,
4873,
18,
11242,
18,
2564,
18,
907,
2828,
28219,
82,
6,
5411,
397,
315,
3639,
411,
4468,
508,
5189,
3645,
1763,
2412,
7471,
5189,
3767,
2412,
9691,
5189,
5743,
28219,
82,
6,
5411,
397,
315,
3639,
7765,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1396,
1290,
2041,
9132,
1435,
1216,
1185,
288,
3639,
727,
514,
1664,
780,
5411,
273,
20410,
2902,
1177,
5189,
21,
18,
20,
2412,
35,
2984,
5411,
397,
3532,
7025,
64,
82,
6,
5411,
397,
315,
565,
12302,
30,
29262,
5189,
2505,
2207,
5591,
18,
91,
23,
18,
3341,
19,
6976,
21,
19,
4201,
3078,
17,
1336,
31670,
82,
6,
5411,
397,
315,
565,
619,
7722,
30,
2135,
3402,
3078,
2735,
5189,
16634,
1750,
18,
19144,
28219,
82,
6,
5411,
397,
315,
565,
411,
1106,
508,
5189,
2519,
2412,
3231,
5189,
907,
2828,
2412,
315,
5411,
397,
315,
18340,
5189,
832,
18,
75,
26999,
3872,
4401,
2726,
18,
2620,
4873,
18,
11242,
18,
2564,
18,
2519,
2
] |
|
DatanodeDescriptor node = (DatanodeDescriptor) containingNodes.first();
|
DatanodeInfo node = (DatanodeInfo) containingNodes.first();
|
public synchronized int completeFile(UTF8 src, UTF8 holder) { NameNode.stateChangeLog.debug("DIR* NameSystem.completeFile: " + src + " for " + holder ); if (dir.getFile(src) != null || pendingCreates.get(src) == null) { NameNode.stateChangeLog.warn( "DIR* NameSystem.completeFile: " + "failed to complete " + src + " because dir.getFile()==" + dir.getFile(src) + " and " + pendingCreates.get(src)); return OPERATION_FAILED; } else if (! checkFileProgress(src)) { return STILL_WAITING; } FileUnderConstruction pendingFile = (FileUnderConstruction) pendingCreates.get(src); Vector blocks = pendingFile.getBlocks(); int nrBlocks = blocks.size(); Block pendingBlocks[] = (Block[]) blocks.toArray(new Block[nrBlocks]); // // We have the pending blocks, but they won't have // length info in them (as they were allocated before // data-write took place). So we need to add the correct // length info to each // // REMIND - mjc - this is very inefficient! We should // improve this! // for (int i = 0; i < nrBlocks; i++) { Block b = (Block)pendingBlocks[i]; TreeSet containingNodes = (TreeSet) blocksMap.get(b); DatanodeDescriptor node = (DatanodeDescriptor) containingNodes.first(); for (Iterator it = node.getBlockIterator(); it.hasNext(); ) { Block cur = (Block) it.next(); if (b.getBlockId() == cur.getBlockId()) { b.setNumBytes(cur.getNumBytes()); break; } } } // // Now we can add the (name,blocks) tuple to the filesystem // if ( ! dir.addFile(src, pendingBlocks, pendingFile.getReplication())) { return OPERATION_FAILED; } // The file is no longer pending pendingCreates.remove(src); NameNode.stateChangeLog.debug( "DIR* NameSystem.completeFile: " + src + " is removed from pendingCreates"); for (int i = 0; i < nrBlocks; i++) { pendingCreateBlocks.remove(pendingBlocks[i]); } synchronized (leases) { Lease lease = (Lease) leases.get(holder); if (lease != null) { lease.completedCreate(src); if (! lease.hasLocks()) { leases.remove(holder); sortedLeases.remove(lease); } } } // // REMIND - mjc - this should be done only after we wait a few secs. // The namenode isn't giving datanodes enough time to report the // replicated blocks that are automatically done as part of a client // write. // // Now that the file is real, we need to be sure to replicate // the blocks. for (int i = 0; i < nrBlocks; i++) { TreeSet containingNodes = (TreeSet) blocksMap.get(pendingBlocks[i]); if (containingNodes.size() < pendingFile.getReplication()) { NameNode.stateChangeLog.debug( "DIR* NameSystem.completeFile:" + pendingBlocks[i].getBlockName()+" has only "+containingNodes.size() +" replicas so is added to neededReplications"); synchronized (neededReplications) { neededReplications.add(pendingBlocks[i]); } } } return COMPLETE_SUCCESS; }
|
50331 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50331/31110f7bc418d9db1c4939fac608b96725b3b0db/FSNamesystem.java/clean/src/java/org/apache/hadoop/dfs/FSNamesystem.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
509,
3912,
812,
12,
5159,
28,
1705,
16,
6380,
28,
10438,
13,
288,
3639,
1770,
907,
18,
2019,
3043,
1343,
18,
4148,
2932,
4537,
14,
1770,
3163,
18,
6226,
812,
30,
315,
397,
1705,
397,
315,
364,
315,
397,
10438,
11272,
3639,
309,
261,
1214,
18,
29925,
12,
4816,
13,
480,
446,
747,
4634,
2729,
18,
588,
12,
4816,
13,
422,
446,
13,
288,
5411,
1770,
907,
18,
2019,
3043,
1343,
18,
8935,
12,
315,
4537,
14,
1770,
3163,
18,
6226,
812,
30,
315,
10792,
397,
315,
7307,
358,
3912,
315,
397,
1705,
10792,
397,
315,
2724,
1577,
18,
29925,
1435,
31713,
397,
1577,
18,
29925,
12,
4816,
13,
5397,
397,
315,
471,
315,
397,
4634,
2729,
18,
588,
12,
4816,
10019,
5411,
327,
31294,
67,
11965,
31,
3639,
289,
469,
309,
16051,
866,
812,
5491,
12,
4816,
3719,
288,
5411,
327,
2347,
15125,
67,
19046,
1360,
31,
3639,
289,
7734,
1387,
14655,
25485,
4634,
812,
273,
2398,
261,
812,
14655,
25485,
13,
4634,
2729,
18,
588,
12,
4816,
1769,
3639,
5589,
4398,
273,
4634,
812,
18,
588,
6450,
5621,
3639,
509,
9884,
6450,
273,
4398,
18,
1467,
5621,
3639,
3914,
4634,
6450,
8526,
273,
261,
1768,
63,
5717,
4398,
18,
31447,
12,
2704,
3914,
63,
11611,
6450,
19226,
3639,
368,
3639,
368,
1660,
1240,
326,
4634,
4398,
16,
1496,
2898,
8462,
1404,
1240,
3639,
368,
769,
1123,
316,
2182,
261,
345,
2898,
4591,
11977,
1865,
3639,
368,
501,
17,
2626,
23151,
3166,
2934,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3852,
509,
3912,
812,
12,
5159,
28,
1705,
16,
6380,
28,
10438,
13,
288,
3639,
1770,
907,
18,
2019,
3043,
1343,
18,
4148,
2932,
4537,
14,
1770,
3163,
18,
6226,
812,
30,
315,
397,
1705,
397,
315,
364,
315,
397,
10438,
11272,
3639,
309,
261,
1214,
18,
29925,
12,
4816,
13,
480,
446,
747,
4634,
2729,
18,
588,
12,
4816,
13,
422,
446,
13,
288,
5411,
1770,
907,
18,
2019,
3043,
1343,
18,
8935,
12,
315,
4537,
14,
1770,
3163,
18,
6226,
812,
30,
315,
10792,
397,
315,
7307,
358,
3912,
315,
397,
1705,
10792,
397,
315,
2724,
1577,
18,
29925,
1435,
31713,
397,
1577,
18,
29925,
12,
4816,
13,
5397,
397,
315,
471,
315,
397,
4634,
2
] |
private static InlineBoxMeasurements calculateInlineMeasurements(LayoutContext c, InlineBox iB, VerticalAlignContext vaContext) { LineMetrics lm = iB.getStyle().getLineMetrics(c); CalculatedStyle style = iB.getStyle().getCalculatedStyle(); float lineHeight = style.getLineHeight(c); FontSpecification fontSpec = style.getFont(c); int halfLeading = Math.round((lineHeight - fontSpec.size) / 2); iB.setBaseline((int)lm.getAscent()); alignInlineContent(c, iB, lm.getAscent(), lm.getDescent(), vaContext); InlineBoxMeasurements result = new InlineBoxMeasurements(); result.setBaseline(iB.y + iB.getBaseline()); result.setInlineTop(iB.y - halfLeading); result.setInlineBottom(Math.round(result.getInlineTop() + lineHeight)); result.setTextTop(iB.y); result.setTextBottom((int)(result.getBaseline() + lm.getDescent())); result.setContainsContent(iB.containsContent()); return result; }
|
53937 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53937/ceb21dee5f070c3ac63d70ae7b6eb22a7c0b4641/InlineBoxing.java/clean/src/java/org/xhtmlrenderer/layout/InlineBoxing.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
16355,
3514,
7197,
1346,
4604,
10870,
7197,
1346,
12,
3744,
1042,
276,
16,
16355,
3514,
277,
38,
16,
2398,
27394,
10044,
1042,
14162,
1042,
13,
288,
3639,
5377,
5653,
14966,
273,
277,
38,
18,
588,
2885,
7675,
588,
1670,
5653,
12,
71,
1769,
7734,
15994,
690,
2885,
2154,
273,
277,
38,
18,
588,
2885,
7675,
588,
4844,
690,
2885,
5621,
3639,
1431,
980,
2686,
273,
2154,
18,
588,
1670,
2686,
12,
71,
1769,
3639,
10063,
8615,
3512,
1990,
273,
2154,
18,
588,
5711,
12,
71,
1769,
7734,
509,
8816,
19112,
273,
2361,
18,
2260,
12443,
1369,
2686,
300,
3512,
1990,
18,
1467,
13,
342,
576,
1769,
7734,
277,
38,
18,
542,
16635,
12443,
474,
13,
25972,
18,
588,
13665,
319,
10663,
7734,
5689,
10870,
1350,
12,
71,
16,
277,
38,
16,
14966,
18,
588,
13665,
319,
9334,
14966,
18,
588,
4217,
319,
9334,
14162,
1042,
1769,
7734,
16355,
3514,
7197,
1346,
563,
273,
394,
16355,
3514,
7197,
1346,
5621,
3639,
563,
18,
542,
16635,
12,
17632,
18,
93,
397,
277,
38,
18,
588,
16635,
10663,
3639,
563,
18,
542,
10870,
3401,
12,
17632,
18,
93,
300,
8816,
19112,
1769,
3639,
563,
18,
542,
10870,
10393,
12,
10477,
18,
2260,
12,
2088,
18,
588,
10870,
3401,
1435,
397,
980,
2686,
10019,
3639,
563,
18,
542,
1528,
3401,
12,
17632,
18,
93,
1769,
3639,
563,
18,
542,
1528,
10393,
12443,
474,
21433,
2088,
18,
588,
16635,
1435,
397,
14966,
18,
588,
4217,
319,
1435,
10019,
7734,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16355,
3514,
7197,
1346,
4604,
10870,
7197,
1346,
12,
3744,
1042,
276,
16,
16355,
3514,
277,
38,
16,
2398,
27394,
10044,
1042,
14162,
1042,
13,
288,
3639,
5377,
5653,
14966,
273,
277,
38,
18,
588,
2885,
7675,
588,
1670,
5653,
12,
71,
1769,
7734,
15994,
690,
2885,
2154,
273,
277,
38,
18,
588,
2885,
7675,
588,
4844,
690,
2885,
5621,
3639,
1431,
980,
2686,
273,
2154,
18,
588,
1670,
2686,
12,
71,
1769,
3639,
10063,
8615,
3512,
1990,
273,
2154,
18,
588,
5711,
12,
71,
1769,
7734,
509,
8816,
19112,
273,
2361,
18,
2260,
12443,
1369,
2686,
300,
3512,
1990,
18,
1467,
13,
342,
576,
1769,
7734,
277,
38,
18,
542,
16635,
12443,
474,
13,
25972,
2
] |
||
if (result.isNil() || ((RubyFixnum)result).getLongValue() != 0) {
|
if (! result.isKindOf(fixnumClass) || RubyFixnum.fix2int(result) != 0) {
|
public IRubyObject op_cmp(IRubyObject other) { RubyArray ary = other.convertToArray(); int otherLen = ary.getLength(); int len = getLength(); if (len != otherLen) { return (len > otherLen) ? RubyFixnum.one(getRuntime()) : RubyFixnum.minus_one(getRuntime()); } ThreadContext context = getRuntime().getCurrentContext(); for (int i = 0; i < len; i++) { IRubyObject result = entry(i).callMethod(context, "<=>", ary.entry(i)); if (result.isNil() || ((RubyFixnum)result).getLongValue() != 0) { return result; } } return RubyFixnum.zero(getRuntime()); }
|
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/c5efec819547c1904f24520251cba220ba8d4a25/RubyArray.java/buggy/src/org/jruby/RubyArray.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
1061,
67,
9625,
12,
7937,
10340,
921,
1308,
13,
288,
3639,
19817,
1076,
11841,
273,
1308,
18,
6283,
11698,
5621,
3639,
509,
1308,
2891,
273,
11841,
18,
588,
1782,
5621,
3639,
509,
562,
273,
9888,
5621,
3639,
309,
261,
1897,
480,
1308,
2891,
13,
288,
5411,
327,
261,
1897,
405,
1308,
2891,
13,
692,
19817,
8585,
2107,
18,
476,
12,
588,
5576,
10756,
294,
19817,
8585,
2107,
18,
19601,
67,
476,
12,
588,
5576,
10663,
3639,
289,
3639,
4884,
1042,
819,
273,
18814,
7675,
588,
3935,
1042,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
562,
31,
277,
27245,
288,
540,
202,
7937,
10340,
921,
563,
273,
1241,
12,
77,
2934,
1991,
1305,
12,
2472,
16,
3532,
33,
2984,
16,
11841,
18,
4099,
12,
77,
10019,
540,
202,
540,
202,
430,
261,
2088,
18,
291,
12616,
1435,
747,
14015,
54,
10340,
8585,
2107,
13,
2088,
2934,
588,
3708,
620,
1435,
480,
374,
13,
288,
7734,
327,
563,
31,
5411,
289,
3639,
289,
3639,
327,
19817,
8585,
2107,
18,
7124,
12,
588,
5576,
10663,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
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,
15908,
10340,
921,
1061,
67,
9625,
12,
7937,
10340,
921,
1308,
13,
288,
3639,
19817,
1076,
11841,
273,
1308,
18,
6283,
11698,
5621,
3639,
509,
1308,
2891,
273,
11841,
18,
588,
1782,
5621,
3639,
509,
562,
273,
9888,
5621,
3639,
309,
261,
1897,
480,
1308,
2891,
13,
288,
5411,
327,
261,
1897,
405,
1308,
2891,
13,
692,
19817,
8585,
2107,
18,
476,
12,
588,
5576,
10756,
294,
19817,
8585,
2107,
18,
19601,
67,
476,
12,
588,
5576,
10663,
3639,
289,
3639,
4884,
1042,
819,
273,
18814,
7675,
588,
3935,
1042,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
562,
31,
277,
27245,
288,
540,
202,
7937,
10340,
921,
563,
273,
1241,
12,
77,
2934,
2
] |
OpenCms.fireCmsEvent(new CmsEvent(I_CmsEventListener.EVENT_RESOURCE_AND_PROPERTIES_MODIFIED, Collections.singletonMap("resource", res)));
|
OpenCms.fireCmsEvent(new CmsEvent( I_CmsEventListener.EVENT_RESOURCE_AND_PROPERTIES_MODIFIED, Collections.singletonMap("resource", res)));
|
private void importZipResource(ZipInputStream zipStreamIn, String importPath, boolean noSubFolder) throws Exception { boolean isFolder = false; boolean exit = false; int j, r, stop, charsRead, size; int entries = 0; int totalBytes = 0; int offset = 0; byte[] buffer = null; boolean resourceExists; while (true) { // handle the single entries ... j = 0; stop = 0; charsRead = 0; totalBytes = 0; // open the entry ... ZipEntry entry = zipStreamIn.getNextEntry(); if (entry == null) { break; } entries++; // count number of entries in zip String actImportPath = importPath; String filename = m_cms.getRequestContext().getFileTranslator().translateResource(entry.getName()); // separete path in direcotries an file name ... StringTokenizer st = new StringTokenizer(filename, "/\\"); int count = st.countTokens(); String[] path = new String[count]; if (filename.endsWith("\\") || filename.endsWith("/")) { isFolder = true; // last entry is a folder } else { isFolder = false; // last entry is a file } while (st.hasMoreTokens()) { // store the files and folder names in array ... path[j] = st.nextToken(); j++; } stop = isFolder?path.length:(path.length - 1); if (noSubFolder) { stop = 0; } // now write the folders ... for (r = 0; r < stop; r++) { try { m_cms.createResource(actImportPath + path[r], CmsResourceTypeFolder.C_RESOURCE_TYPE_ID); } catch (CmsException e) { // of course some folders did already exist! } actImportPath += path[r]; actImportPath += "/"; } if (! isFolder) { // import file into cms int type = OpenCms.getResourceManager().getDefaultTypeForName(path[path.length - 1]).getTypeId(); size = new Long(entry.getSize()).intValue(); if (size == -1) { Vector v = new Vector(); while (true) { buffer = new byte[512]; offset = 0; while (offset < buffer.length) { charsRead = zipStreamIn.read(buffer, offset, buffer.length - offset); if (charsRead == -1) { exit = true; break; // end of stream } offset += charsRead; totalBytes += charsRead; } if (offset > 0) { v.addElement(buffer); } if (exit) { exit = false; break; } } buffer = new byte[totalBytes]; offset = 0; byte[] act = null; for (int z = 0; z < v.size() - 1; z++) { act = (byte[])v.elementAt(z); System.arraycopy(act, 0, buffer, offset, act.length); offset += act.length; } act = (byte[])v.lastElement(); if ((totalBytes > act.length) && (totalBytes % act.length != 0)) { totalBytes = totalBytes % act.length; } else if ((totalBytes > act.length) && (totalBytes % act.length == 0)) { totalBytes = act.length; } System.arraycopy(act, 0, buffer, offset, totalBytes); // handle empty files ... if (totalBytes == 0) { buffer = " ".getBytes(); } } else { // size was read clearly ... buffer = new byte[size]; while (charsRead < size) { charsRead += zipStreamIn.read(buffer, charsRead, size - charsRead); } // handle empty files ... if (size == 0) { buffer = " ".getBytes(); } } filename = actImportPath + path[path.length - 1]; try { m_cms.lockResource(filename); m_cms.readResource(filename); resourceExists = true; } catch (CmsException e) { resourceExists = false; } if (resourceExists) { CmsResource res = m_cms.readResource(filename, CmsResourceFilter.ALL); //m_cms.deleteAllProperties(filename); //m_cms.replaceResource(filename, type, Collections.EMPTY_MAP, buffer); m_cms.replaceResource(filename, res.getTypeId(), buffer, Collections.EMPTY_LIST); OpenCms.fireCmsEvent(new CmsEvent(I_CmsEventListener.EVENT_RESOURCE_AND_PROPERTIES_MODIFIED, Collections.singletonMap("resource", res))); } else { m_cms.createResource(actImportPath + path[path.length - 1], type, buffer, Collections.EMPTY_LIST); } } // close the entry ... zipStreamIn.closeEntry(); } zipStreamIn.close(); if (entries > 0) { // at least one entry, got a valid zip file ... m_validZipFile = true; } }
|
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/ffc41838b2d111ebeb91e9a4f240187165ad24d5/CmsImportFolder.java/buggy/src/org/opencms/db/CmsImportFolder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1930,
9141,
1420,
12,
9141,
4348,
3144,
1228,
382,
16,
514,
30336,
16,
1250,
1158,
1676,
3899,
13,
1216,
1185,
288,
3639,
1250,
31137,
273,
629,
31,
3639,
1250,
2427,
273,
629,
31,
3639,
509,
525,
16,
436,
16,
2132,
16,
5230,
1994,
16,
963,
31,
3639,
509,
3222,
273,
374,
31,
3639,
509,
29937,
273,
374,
31,
3639,
509,
1384,
273,
374,
31,
3639,
1160,
8526,
1613,
273,
446,
31,
3639,
1250,
1058,
4002,
31,
7734,
1323,
261,
3767,
13,
288,
5411,
368,
1640,
326,
2202,
3222,
1372,
5411,
525,
273,
374,
31,
5411,
2132,
273,
374,
31,
5411,
5230,
1994,
273,
374,
31,
5411,
29937,
273,
374,
31,
5411,
368,
1696,
326,
1241,
1372,
5411,
23652,
1241,
273,
3144,
1228,
382,
18,
588,
2134,
1622,
5621,
5411,
309,
261,
4099,
422,
446,
13,
288,
7734,
898,
31,
5411,
289,
5411,
3222,
9904,
31,
368,
1056,
1300,
434,
3222,
316,
3144,
5411,
514,
1328,
5010,
743,
273,
30336,
31,
5411,
514,
1544,
273,
312,
67,
6851,
18,
588,
21426,
7675,
29925,
12233,
7675,
13929,
1420,
12,
4099,
18,
17994,
10663,
5411,
368,
695,
1848,
736,
589,
316,
302,
577,
2894,
2007,
392,
585,
508,
1372,
5411,
16370,
384,
273,
394,
16370,
12,
3459,
16,
2206,
1695,
8863,
5411,
509,
1056,
273,
384,
18,
1883,
5157,
5621,
5411,
514,
8526,
589,
273,
394,
514,
63,
1883,
15533,
5411,
309,
261,
3459,
18,
5839,
1190,
2932,
1695,
7923,
747,
1544,
18,
5839,
1190,
2932,
4898,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1930,
9141,
1420,
12,
9141,
4348,
3144,
1228,
382,
16,
514,
30336,
16,
1250,
1158,
1676,
3899,
13,
1216,
1185,
288,
3639,
1250,
31137,
273,
629,
31,
3639,
1250,
2427,
273,
629,
31,
3639,
509,
525,
16,
436,
16,
2132,
16,
5230,
1994,
16,
963,
31,
3639,
509,
3222,
273,
374,
31,
3639,
509,
29937,
273,
374,
31,
3639,
509,
1384,
273,
374,
31,
3639,
1160,
8526,
1613,
273,
446,
31,
3639,
1250,
1058,
4002,
31,
7734,
1323,
261,
3767,
13,
288,
5411,
368,
1640,
326,
2202,
3222,
1372,
5411,
525,
273,
374,
31,
5411,
2132,
273,
374,
31,
5411,
5230,
1994,
273,
374,
31,
5411,
29937,
273,
374,
31,
5411,
368,
1696,
326,
1241,
1372,
2
] |
} else {
|
return true; } if (xmlSpace.get(0) == Boolean.TRUE) {
|
public void printCharacterData(char[] data) throws IOException { if (prettyPrinter.getFormat()) { canIndent = true; if (isWhiteSpace(data)) { int nl = newlines(data); for (int i = 0; i < nl - 1; i++) { printNewline(); } } else { if (xmlSpace.get(0) == Boolean.TRUE) { printCharacters(data); canIndent = false; } else { printNewline(); printString(margin.toString()); formatText(data, margin.toString()); } } } else { printCharacters(data); } }
|
46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/7db088f8b9217653c21ad110592b7ebe49dad32a/OutputManager.java/buggy/sources/org/apache/batik/transcoder/svg2svg/OutputManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1172,
7069,
751,
12,
3001,
8526,
501,
13,
1216,
1860,
288,
3639,
309,
261,
19073,
12149,
18,
588,
1630,
10756,
288,
5411,
848,
7790,
273,
638,
31,
5411,
309,
261,
291,
23108,
12,
892,
3719,
288,
7734,
509,
7741,
273,
19181,
12,
892,
1769,
7734,
364,
261,
474,
277,
273,
374,
31,
277,
411,
7741,
300,
404,
31,
277,
27245,
288,
10792,
1172,
26754,
5621,
7734,
289,
5411,
327,
638,
31,
289,
225,
309,
261,
2902,
3819,
18,
588,
12,
20,
13,
422,
3411,
18,
18724,
13,
288,
7734,
309,
261,
2902,
3819,
18,
588,
12,
20,
13,
422,
3411,
18,
18724,
13,
288,
10792,
1172,
11600,
12,
892,
1769,
10792,
848,
7790,
273,
629,
31,
7734,
327,
638,
31,
289,
225,
309,
261,
2902,
3819,
18,
588,
12,
20,
13,
422,
3411,
18,
18724,
13,
288,
10792,
1172,
26754,
5621,
10792,
1172,
780,
12,
10107,
18,
10492,
10663,
10792,
740,
1528,
12,
892,
16,
7333,
18,
10492,
10663,
7734,
289,
5411,
289,
3639,
327,
638,
31,
289,
225,
309,
261,
2902,
3819,
18,
588,
12,
20,
13,
422,
3411,
18,
18724,
13,
288,
5411,
1172,
11600,
12,
892,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1172,
7069,
751,
12,
3001,
8526,
501,
13,
1216,
1860,
288,
3639,
309,
261,
19073,
12149,
18,
588,
1630,
10756,
288,
5411,
848,
7790,
273,
638,
31,
5411,
309,
261,
291,
23108,
12,
892,
3719,
288,
7734,
509,
7741,
273,
19181,
12,
892,
1769,
7734,
364,
261,
474,
277,
273,
374,
31,
277,
411,
7741,
300,
404,
31,
277,
27245,
288,
10792,
1172,
26754,
5621,
7734,
289,
5411,
327,
638,
31,
289,
225,
309,
261,
2902,
3819,
18,
588,
12,
20,
13,
422,
3411,
18,
18724,
13,
288,
7734,
309,
261,
2902,
3819,
18,
588,
12,
20,
13,
422,
3411,
18,
18724,
13,
288,
10792,
1172,
11600,
12,
892,
1769,
10792,
848,
7790,
273,
629,
31,
2
] |
public org.quickfix.field.RoundingDirection getRoundingDirection() throws FieldNotFound { org.quickfix.field.RoundingDirection value = new org.quickfix.field.RoundingDirection();
|
public quickfix.field.RoundingDirection getRoundingDirection() throws FieldNotFound { quickfix.field.RoundingDirection value = new quickfix.field.RoundingDirection();
|
public org.quickfix.field.RoundingDirection getRoundingDirection() throws FieldNotFound { org.quickfix.field.RoundingDirection value = new org.quickfix.field.RoundingDirection(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/MultilegOrderCancelReplaceRequest.java/clean/src/java/src/quickfix/fix43/MultilegOrderCancelReplaceRequest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
11066,
310,
8212,
4170,
772,
310,
8212,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
11066,
310,
8212,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
11066,
310,
8212,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2358,
18,
19525,
904,
18,
1518,
18,
11066,
310,
8212,
4170,
772,
310,
8212,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
11066,
310,
8212,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
11066,
310,
8212,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
{ return readOnly; }
|
{ return readOnly; }
|
public boolean isReadOnly() throws SQLException { return readOnly; }
|
46597 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46597/6a061da272f04e1463864065f87f1f3fd61d6162/Connection.java/buggy/src/interfaces/jdbc/postgresql/Connection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
26249,
1435,
1216,
6483,
202,
95,
202,
202,
2463,
15075,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1250,
26249,
1435,
1216,
6483,
202,
95,
202,
202,
2463,
15075,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public static Callback getTrueMethod() {
|
public static Callback getTrueMethod(final int arity) {
|
public static Callback getTrueMethod() { return new Callback() { public RubyObject execute(RubyObject recv, RubyObject[] args, Ruby ruby) { return ruby.getTrue(); } }; }
|
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/6076c5ab87d25a488469aa1a32f1d2c9c9e470b2/CallbackFactory.java/clean/org/jruby/runtime/CallbackFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
8444,
336,
5510,
1305,
12,
6385,
509,
19353,
13,
288,
3639,
327,
394,
8444,
1435,
288,
5411,
1071,
19817,
921,
1836,
12,
54,
10340,
921,
10665,
16,
19817,
921,
8526,
833,
16,
19817,
22155,
13,
288,
7734,
327,
22155,
18,
588,
5510,
5621,
5411,
289,
3639,
289,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
760,
8444,
336,
5510,
1305,
12,
6385,
509,
19353,
13,
288,
3639,
327,
394,
8444,
1435,
288,
5411,
1071,
19817,
921,
1836,
12,
54,
10340,
921,
10665,
16,
19817,
921,
8526,
833,
16,
19817,
22155,
13,
288,
7734,
327,
22155,
18,
588,
5510,
5621,
5411,
289,
3639,
289,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
ls1.getMarker( ).setType( MarkerType.BOX_LITERAL );
|
for ( int i = 0; i < ls1.getMarkers( ).size( ); i++ ) { ( (Marker) ls1.getMarkers( ).get( i ) ).setType( MarkerType.BOX_LITERAL ); }
|
public static final Chart createLiveChart( ) { ChartWithAxes cwaBar = ChartWithAxesImpl.create( ); //Plot cwaBar.getBlock( ).setBackground( ColorDefinitionImpl.WHITE( ) ); Plot p = cwaBar.getPlot( ); p.getClientArea( ).setBackground( ColorDefinitionImpl.create( 255, 255, 225 ) ); //Legend Legend lg = cwaBar.getLegend( ); LineAttributes lia = lg.getOutline( ); lg.getText( ).getFont( ).setSize( 16 ); lia.setStyle( LineStyle.SOLID_LITERAL ); lg.getInsets( ).setLeft( 10 ); lg.getInsets( ).setRight( 10 ); //Title cwaBar.getTitle( ) .getLabel( ) .getCaption( ) .setValue( "Live Chart Demo" );//$NON-NLS-1$ //X-Axis Axis xAxisPrimary = cwaBar.getPrimaryBaseAxes( )[0]; xAxisPrimary.setType( AxisType.TEXT_LITERAL ); xAxisPrimary.getOrigin( ).setType( IntersectionType.VALUE_LITERAL ); xAxisPrimary.getOrigin( ).setType( IntersectionType.MIN_LITERAL ); xAxisPrimary.getTitle( ) .getCaption( ) .setValue( "Category Text X-Axis" );//$NON-NLS-1$ xAxisPrimary.setTitlePosition( Position.BELOW_LITERAL ); xAxisPrimary.getLabel( ).getCaption( ).getFont( ).setRotation( 75 ); xAxisPrimary.setLabelPosition( Position.BELOW_LITERAL ); xAxisPrimary.getMajorGrid( ).setTickStyle( TickStyle.BELOW_LITERAL ); xAxisPrimary.getMajorGrid( ) .getLineAttributes( ) .setStyle( LineStyle.DOTTED_LITERAL ); xAxisPrimary.getMajorGrid( ) .getLineAttributes( ) .setColor( ColorDefinitionImpl.create( 64, 64, 64 ) ); xAxisPrimary.getMajorGrid( ).getLineAttributes( ).setVisible( true ); //Y-Axis Axis yAxisPrimary = cwaBar.getPrimaryOrthogonalAxis( xAxisPrimary ); yAxisPrimary.getLabel( ).getCaption( ).setValue( "Price Axis" );//$NON-NLS-1$ yAxisPrimary.getLabel( ).getCaption( ).getFont( ).setRotation( 37 ); yAxisPrimary.setLabelPosition( Position.LEFT_LITERAL ); yAxisPrimary.setTitlePosition( Position.LEFT_LITERAL ); yAxisPrimary.getTitle( ).getCaption( ).setValue( "Linear Value Y-Axis" );//$NON-NLS-1$ yAxisPrimary.setType( AxisType.LINEAR_LITERAL ); yAxisPrimary.getMajorGrid( ).setTickStyle( TickStyle.LEFT_LITERAL ); yAxisPrimary.getMajorGrid( ) .getLineAttributes( ) .setStyle( LineStyle.DOTTED_LITERAL ); yAxisPrimary.getMajorGrid( ) .getLineAttributes( ) .setColor( ColorDefinitionImpl.RED( ) ); yAxisPrimary.getMajorGrid( ).getLineAttributes( ).setVisible( true ); //Associate with Data Set TextDataSet categoryValues = TextDataSetImpl.create( sa ); NumberDataSet seriesOneValues = NumberDataSetImpl.create( da1 ); NumberDataSet seriesTwoValues = NumberDataSetImpl.create( da2 ); //X-Series Series seCategory = SeriesImpl.create( ); seCategory.setDataSet( categoryValues ); SeriesDefinition sdX = SeriesDefinitionImpl.create( ); xAxisPrimary.getSeriesDefinitions( ).add( sdX ); sdX.getSeries( ).add( seCategory ); //Y-Series (1) BarSeries bs1 = (BarSeries) BarSeriesImpl.create( ); bs1.setSeriesIdentifier( "Unit Price" );//$NON-NLS-1$ bs1.setDataSet( seriesOneValues ); bs1.setRiserOutline( null ); bs1.setRiser( RiserType.RECTANGLE_LITERAL ); //Y-Series (2) LineSeries ls1 = (LineSeries) LineSeriesImpl.create( ); ls1.setSeriesIdentifier( "Quantity" );//$NON-NLS-1$ ls1.setDataSet( seriesTwoValues ); ls1.getLineAttributes( ).setColor( ColorDefinitionImpl.GREEN( ) ); ls1.getMarker( ).setType( MarkerType.BOX_LITERAL ); ls1.setCurve( true ); SeriesDefinition sdY = SeriesDefinitionImpl.create( ); yAxisPrimary.getSeriesDefinitions( ).add( sdY ); sdY.getSeriesPalette( ).update( 1 ); sdY.getSeries( ).add( bs1 ); sdY.getSeries( ).add( ls1 ); return cwaBar; }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/ef9ad0cebcee59b4b447430acdbf2355afecf441/SwingLiveChartViewer.java/clean/chart/org.eclipse.birt.chart.examples/src/org/eclipse/birt/chart/examples/api/viewer/SwingLiveChartViewer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
727,
14804,
752,
12328,
7984,
12,
262,
202,
95,
202,
202,
7984,
1190,
26494,
14098,
69,
5190,
273,
14804,
1190,
26494,
2828,
18,
2640,
12,
11272,
202,
202,
759,
11532,
202,
202,
71,
91,
69,
5190,
18,
588,
1768,
12,
262,
18,
542,
8199,
12,
5563,
1852,
2828,
18,
16861,
12,
262,
11272,
202,
202,
11532,
293,
273,
14098,
69,
5190,
18,
588,
11532,
12,
11272,
202,
202,
84,
18,
588,
1227,
5484,
12,
262,
18,
542,
8199,
12,
5563,
1852,
2828,
18,
2640,
12,
4561,
16,
9506,
202,
10395,
16,
9506,
202,
22,
2947,
262,
11272,
202,
202,
759,
16812,
202,
202,
16812,
15266,
273,
14098,
69,
5190,
18,
588,
16812,
12,
11272,
202,
202,
1670,
2498,
328,
1155,
273,
15266,
18,
588,
21805,
12,
11272,
202,
202,
23623,
18,
588,
1528,
12,
262,
18,
588,
5711,
12,
262,
18,
542,
1225,
12,
2872,
11272,
202,
202,
549,
69,
18,
542,
2885,
12,
5377,
2885,
18,
19815,
734,
67,
23225,
11272,
202,
202,
23623,
18,
588,
382,
4424,
12,
262,
18,
542,
3910,
12,
1728,
11272,
202,
202,
23623,
18,
588,
382,
4424,
12,
262,
18,
542,
4726,
12,
1728,
11272,
202,
202,
759,
4247,
202,
202,
71,
91,
69,
5190,
18,
588,
4247,
12,
262,
9506,
202,
18,
588,
2224,
12,
262,
9506,
202,
18,
588,
21158,
12,
262,
9506,
202,
18,
542,
620,
12,
315,
12328,
14804,
27744,
83,
6,
11272,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
727,
14804,
752,
12328,
7984,
12,
262,
202,
95,
202,
202,
7984,
1190,
26494,
14098,
69,
5190,
273,
14804,
1190,
26494,
2828,
18,
2640,
12,
11272,
202,
202,
759,
11532,
202,
202,
71,
91,
69,
5190,
18,
588,
1768,
12,
262,
18,
542,
8199,
12,
5563,
1852,
2828,
18,
16861,
12,
262,
11272,
202,
202,
11532,
293,
273,
14098,
69,
5190,
18,
588,
11532,
12,
11272,
202,
202,
84,
18,
588,
1227,
5484,
12,
262,
18,
542,
8199,
12,
5563,
1852,
2828,
18,
2640,
12,
4561,
16,
9506,
202,
10395,
16,
9506,
202,
22,
2947,
262,
11272,
202,
202,
759,
16812,
202,
202,
16812,
15266,
273,
14098,
69,
5190,
18,
588,
16812,
12,
11272,
202,
2
] |
int loword = VM_Magic.getMemoryWord(addr);
|
int loword = VM_Magic.getMemoryInt(addr);
|
static Object[] packageParameterFromVarArg(VM_Method targetMethod, VM_Address argAddress) { VM_TypeReference[] argTypes = targetMethod.getParameterTypes(); int argCount = argTypes.length; Object[] argObjectArray = new Object[argCount]; // get the VM_JNIEnvironment for this thread in case we need to dereference any object arg VM_JNIEnvironment env = VM_Thread.getCurrentThread().getJNIEnv(); // VM.sysWrite("JNI packageParameterFromVarArg: packaging " + argCount + " arguments\n"); VM_Address addr = argAddress; for (int i=0; i<argCount; i++) { int loword = VM_Magic.getMemoryWord(addr); int hiword; // VM.sysWrite("JNI packageParameterFromVarArg: arg " + i + " = " + loword + // " or " + VM.intAsHexString(loword) + "\n"); addr = addr.add(4); // convert and wrap the argument according to the expected type if (argTypes[i].isFloatType()) { // NOTE: in VarArg convention, C compiler will expand a float to a double that occupy 2 words // so we have to extract it as a double and convert it back to a float hiword = VM_Magic.getMemoryWord(addr); addr = addr.add(4); long doubleBits = (((long) hiword) << 32) | (loword & 0xFFFFFFFFL); argObjectArray[i] = VM_Reflection.wrapFloat((float) (Double.longBitsToDouble(doubleBits))); } else if (argTypes[i].isDoubleType()) { hiword = VM_Magic.getMemoryWord(addr); addr = addr.add(4); long doubleBits = (((long) hiword) << 32) | (loword & 0xFFFFFFFFL); argObjectArray[i] = VM_Reflection.wrapDouble(Double.longBitsToDouble(doubleBits)); } else if (argTypes[i].isLongType()) { hiword = VM_Magic.getMemoryWord(addr); addr = addr.add(4); long longValue = (((long) hiword) << 32) | (loword & 0xFFFFFFFFL); argObjectArray[i] = VM_Reflection.wrapLong(longValue); } else if (argTypes[i].isBooleanType()) { // the 0/1 bit is stored in the high byte argObjectArray[i] = VM_Reflection.wrapBoolean(loword); } else if (argTypes[i].isByteType()) { // the target byte is stored in the high byte argObjectArray[i] = VM_Reflection.wrapByte((byte) loword); } else if (argTypes[i].isCharType()) { // char is stored in the high 2 bytes argObjectArray[i] = VM_Reflection.wrapChar((char) loword); } else if (argTypes[i].isShortType()) { // short is stored in the high 2 bytes argObjectArray[i] = VM_Reflection.wrapShort((short) loword); } else if (argTypes[i].isReferenceType()) { // for object, the arg is a JREF index, dereference to get the real object argObjectArray[i] = env.getJNIRef(loword); } else if (argTypes[i].isIntType()) { argObjectArray[i] = VM_Reflection.wrapInt(loword); } else { return null; } } return argObjectArray; }
|
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/dcfa125997a8700b1ae8a9476873ba7cb1b2ba1d/VM_JNIEnvironment.java/clean/rvm/src/vm/arch/intel/jni/VM_JNIEnvironment.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
1033,
8526,
2181,
1662,
1265,
1537,
4117,
12,
7397,
67,
1305,
1018,
1305,
16,
8251,
67,
1887,
1501,
1887,
13,
288,
565,
8251,
67,
7534,
8526,
30973,
273,
1018,
1305,
18,
588,
1662,
2016,
5621,
565,
509,
1501,
1380,
273,
30973,
18,
2469,
31,
565,
1033,
8526,
1501,
921,
1076,
273,
394,
1033,
63,
3175,
1380,
15533,
565,
368,
336,
326,
8251,
67,
46,
50,
45,
5494,
364,
333,
2650,
316,
648,
732,
1608,
358,
27794,
1281,
733,
1501,
565,
8251,
67,
46,
50,
45,
5494,
1550,
273,
8251,
67,
3830,
18,
588,
3935,
3830,
7675,
588,
46,
50,
45,
3491,
5621,
565,
368,
8251,
18,
9499,
3067,
2932,
46,
50,
45,
2181,
1662,
1265,
1537,
4117,
30,
2298,
5755,
315,
397,
1501,
1380,
397,
315,
1775,
64,
82,
8863,
565,
8251,
67,
1887,
3091,
273,
1501,
1887,
31,
565,
364,
261,
474,
277,
33,
20,
31,
277,
32,
3175,
1380,
31,
277,
27245,
288,
1377,
509,
437,
1095,
273,
8251,
67,
19289,
18,
588,
6031,
1702,
12,
4793,
1769,
1377,
509,
10118,
1095,
31,
1377,
368,
8251,
18,
9499,
3067,
2932,
46,
50,
45,
2181,
1662,
1265,
1537,
4117,
30,
225,
1501,
315,
397,
277,
397,
315,
273,
315,
397,
437,
1095,
397,
4202,
368,
315,
578,
315,
397,
8251,
18,
474,
1463,
14866,
12,
821,
517,
13,
397,
1548,
82,
8863,
1377,
3091,
273,
3091,
18,
1289,
12,
24,
1769,
1377,
368,
1765,
471,
2193,
326,
1237,
4888,
358,
326,
2665,
618,
1377,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
1033,
8526,
2181,
1662,
1265,
1537,
4117,
12,
7397,
67,
1305,
1018,
1305,
16,
8251,
67,
1887,
1501,
1887,
13,
288,
565,
8251,
67,
7534,
8526,
30973,
273,
1018,
1305,
18,
588,
1662,
2016,
5621,
565,
509,
1501,
1380,
273,
30973,
18,
2469,
31,
565,
1033,
8526,
1501,
921,
1076,
273,
394,
1033,
63,
3175,
1380,
15533,
565,
368,
336,
326,
8251,
67,
46,
50,
45,
5494,
364,
333,
2650,
316,
648,
732,
1608,
358,
27794,
1281,
733,
1501,
565,
8251,
67,
46,
50,
45,
5494,
1550,
273,
8251,
67,
3830,
18,
588,
3935,
3830,
7675,
588,
46,
50,
45,
3491,
5621,
565,
368,
8251,
18,
9499,
3067,
2932,
46,
50,
45,
2181,
1662,
1265,
1537,
4117,
2
] |
if (children[offset + 1].uri != fSecondChild.uri && children[offset + 1].localpart != fSecondChild.localpart)
|
if (children[offset + 1].uri != fSecondChild.uri || children[offset + 1].localpart != fSecondChild.localpart)
|
public int validateContent(QName children[], int offset, int length) throws Exception { // // According to the type of operation, we do the correct type of // content check. // switch(fOp) { case XMLContentSpec.CONTENTSPECNODE_LEAF : // If there is not a child, then report an error at index 0 if (length == 0) return 0; // If the 0th child is not the right kind, report an error at 0 if (children[offset].uri != fFirstChild.uri && children[offset].localpart != fFirstChild.localpart) return 0; // If more than one child, report an error at index 1 if (length > 1) return 1; break; case XMLContentSpec.CONTENTSPECNODE_ZERO_OR_ONE : // // If there is one child, make sure its the right type. If not, // then its an error at index 0. // if (length == 1 && (children[offset].uri != fFirstChild.uri && children[offset].localpart != fFirstChild.localpart)) return 0; // // If the child count is greater than one, then obviously // bad, so report an error at index 1. // if (length > 1) return 1; break; case XMLContentSpec.CONTENTSPECNODE_ZERO_OR_MORE : // // If the child count is zero, that's fine. If its more than // zero, then make sure that all children are of the element // type that we stored. If not, report the index of the first // failed one. // if (length > 0) { for (int index = 0; index < length; index++) { if (children[offset + index].uri != fFirstChild.uri && children[offset + index].localpart != fFirstChild.localpart) return index; } } break; case XMLContentSpec.CONTENTSPECNODE_ONE_OR_MORE : // // If the child count is zero, that's an error so report // an error at index 0. // if (length == 0) return 0; // // Otherwise we have to check them all to make sure that they // are of the correct child type. If not, then report the index // of the first one that is not. // for (int index = 0; index < length; index++) { if (children[offset + index].uri != fFirstChild.uri && children[offset + index].localpart != fFirstChild.localpart) return index; } break; case XMLContentSpec.CONTENTSPECNODE_CHOICE : // // There must be one and only one child, so if the element count // is zero, return an error at index 0. // if (length == 0) return 0; // If the zeroth element isn't one of our choices, error at 0 if ((children[offset].uri != fFirstChild.uri && children[offset].localpart != fFirstChild.localpart) && (children[offset].uri != fSecondChild.uri && children[offset].localpart != fSecondChild.localpart)) return 0; // If there is more than one element, then an error at 1 if (length > 1) return 1; break; case XMLContentSpec.CONTENTSPECNODE_SEQ : // // There must be two children and they must be the two values // we stored, in the stored order. // if (length == 2) { if (children[offset].uri != fFirstChild.uri && children[offset].localpart != fFirstChild.localpart) return 0; if (children[offset + 1].uri != fSecondChild.uri && children[offset + 1].localpart != fSecondChild.localpart) return 1; } else { if (length > 2) { return 2; } return length; } break; default : throw new CMException(ImplementationMessages.VAL_CST); } // We survived, so return success status return -1; }
|
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/969ee4d775e41d64f4d351991b67f022561aebd4/SimpleContentModel.java/clean/src/org/apache/xerces/validators/common/SimpleContentModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
1954,
1350,
12,
13688,
2325,
63,
6487,
509,
1384,
16,
509,
769,
13,
1216,
1185,
288,
3639,
368,
3639,
368,
225,
12848,
4643,
358,
326,
618,
434,
1674,
16,
732,
741,
326,
3434,
618,
434,
3639,
368,
225,
913,
866,
18,
3639,
368,
3639,
1620,
12,
74,
3817,
13,
3639,
288,
5411,
648,
3167,
1350,
1990,
18,
9689,
13847,
8744,
67,
900,
6799,
294,
7734,
368,
971,
1915,
353,
486,
279,
1151,
16,
1508,
2605,
392,
555,
622,
770,
374,
7734,
309,
261,
2469,
422,
374,
13,
10792,
327,
374,
31,
7734,
368,
971,
326,
374,
451,
1151,
353,
486,
326,
2145,
3846,
16,
2605,
392,
555,
622,
374,
7734,
309,
261,
5906,
63,
3348,
8009,
1650,
480,
284,
3759,
1763,
18,
1650,
597,
5397,
2325,
63,
3348,
8009,
3729,
2680,
480,
284,
3759,
1763,
18,
3729,
2680,
13,
10792,
327,
374,
31,
7734,
368,
971,
1898,
2353,
1245,
1151,
16,
2605,
392,
555,
622,
770,
404,
7734,
309,
261,
2469,
405,
404,
13,
10792,
327,
404,
31,
7734,
898,
31,
5411,
648,
3167,
1350,
1990,
18,
9689,
13847,
8744,
67,
24968,
67,
916,
67,
5998,
294,
7734,
368,
7734,
368,
225,
971,
1915,
353,
1245,
1151,
16,
1221,
3071,
2097,
326,
2145,
618,
18,
971,
486,
16,
7734,
368,
225,
1508,
2097,
392,
555,
622,
770,
374,
18,
7734,
368,
7734,
309,
261,
2469,
422,
404,
597,
5397,
261,
5906,
63,
3348,
8009,
1650,
480,
284,
3759,
1763,
18,
1650,
597,
8227,
2325,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1954,
1350,
12,
13688,
2325,
63,
6487,
509,
1384,
16,
509,
769,
13,
1216,
1185,
288,
3639,
368,
3639,
368,
225,
12848,
4643,
358,
326,
618,
434,
1674,
16,
732,
741,
326,
3434,
618,
434,
3639,
368,
225,
913,
866,
18,
3639,
368,
3639,
1620,
12,
74,
3817,
13,
3639,
288,
5411,
648,
3167,
1350,
1990,
18,
9689,
13847,
8744,
67,
900,
6799,
294,
7734,
368,
971,
1915,
353,
486,
279,
1151,
16,
1508,
2605,
392,
555,
622,
770,
374,
7734,
309,
261,
2469,
422,
374,
13,
10792,
327,
374,
31,
7734,
368,
971,
326,
374,
451,
1151,
353,
486,
326,
2145,
3846,
16,
2605,
392,
555,
622,
374,
7734,
309,
261,
5906,
63,
3348,
8009,
2
] |
error = CSharpCompiler.parseLine( "Compilation failed: 1 error(s), 0 warnings" );
|
error = DefaultCSharpCompilerParser.parseLine( "Compilation failed: 1 error(s), 0 warnings" );
|
public void testParser() throws IOException { CompilerError error; // ---------------------------------------------------------------------- // Test a few concrete lines // ---------------------------------------------------------------------- error = CSharpCompiler.parseLine( "error CS2008: No files to compile were specified" ); assertNotNull( error ); assertEquals( "CS2008: No files to compile were specified", error.getMessage() ); error = CSharpCompiler.parseLine( "Compilation failed: 1 error(s), 0 warnings" ); assertNull( error ); error = CSharpCompiler.parseLine( "Compilation succeeded - 2 warning(s)" ); assertNull( error ); error = CSharpCompiler.parseLine( "/home/trygvis/dev/com.myrealbox/trunk/mcs/nunit20/core/./TestRunnerThread.cs(29) error CS0246: Cannot find type 'NameValueCollection'" ); assertNotNull( error ); assertEquals( 29, error.getStartLine() ); assertEquals( -1, error.getStartColumn() ); assertEquals( 29, error.getEndLine() ); assertEquals( -1, error.getEndColumn() ); assertEquals( "CS0246: Cannot find type 'NameValueCollection'", error.getMessage() ); // ---------------------------------------------------------------------- // // ---------------------------------------------------------------------- String input = "/home/trygvis/dev/com.myrealbox/trunk/mcs/nunit20/core/./TestRunnerThread.cs(5) error CS0234: The type or namespace name `Specialized' could not be found in namespace `System.Collections'\n" + "/home/trygvis/dev/com.myrealbox/trunk/mcs/nunit20/core/./TestRunnerThread.cs(29) error CS0246: Cannot find type 'NameValueCollection'\n" + "/home/trygvis/dev/com.myrealbox/trunk/mcs/nunit20/core/./Reflect.cs(4) error CS0234: The type or namespace name `Framework' could not be found in namespace `NUnit'\n" + "/home/trygvis/dev/com.myrealbox/trunk/mcs/nunit20/core/./Reflect.cs(123) error CS0246: Cannot find type 'TestFixtureAttribute'\n" + "/home/trygvis/dev/com.myrealbox/trunk/mcs/nunit20/core/./Reflect.cs(129) error CS0246: Cannot find type 'TestAttribute'\n" + "/home/trygvis/dev/com.myrealbox/trunk/mcs/nunit20/core/./Reflect.cs(135) error CS0246: Cannot find type 'IgnoreAttribute'\n" + "/home/trygvis/dev/com.myrealbox/trunk/mcs/nunit20/core/./Reflect.cs(141) error CS0246: Cannot find type 'ExpectedExceptionAttribute'\n" + "/home/trygvis/dev/com.myrealbox/trunk/mcs/nunit20/core/./WarningSuite.cs(49) error CS0506: `NUnit.Core.WarningSuite.Add': cannot override inherited member `TestSuite.Add' because it is not virtual, abstract or override\n" + "/home/trygvis/dev/com.myrealbox/trunk/mcs/nunit20/core/./WarningSuite.cs(49) error CS0507: `NUnit.Core.WarningSuite.Add': can't change the access modifiers when overriding inherited member `TestSuite.Add'\n" + "/home/trygvis/dev/com.myrealbox/trunk/mcs/nunit20/core/./WarningSuite.cs(56) error CS0115: 'NUnit.Core.WarningSuite.CreateNewSuite(System.Type)': no suitable methods found to override\n" + "/home/trygvis/dev/com.myrealbox/trunk/mcs/nunit20/core/./TestRunnerThread.cs(5) error CS0234: The type or namespace name `Specialized' could not be found in namespace `System.Collections'\n" + "/home/trygvis/dev/com.myrealbox/trunk/mcs/nunit20/core/./TestRunnerThread.cs(5) error CS0246: The namespace `System.Collections.Specialized' can not be found (missing assembly reference?)\n" + "/home/trygvis/dev/com.myrealbox/trunk/mcs/nunit20/core/./Reflect.cs(4) error CS0234: The type or namespace name `Framework' could not be found in namespace `NUnit'\n" + "/home/trygvis/dev/com.myrealbox/trunk/mcs/nunit20/core/./Reflect.cs(4) error CS0246: The namespace `NUnit.Framework' can not be found (missing assembly reference?)\n" + "Compilation failed: 14 error(s), 0 warnings"; List messages = CSharpCompiler.parseCompilerOutput( new BufferedReader( new StringReader( input ) ) ); assertNotNull( messages ); assertEquals( 14, messages.size() ); }
|
55907 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55907/25d682b26916ad1c493bc651ee54f00a7ecceac1/CSharpCompilerTest.java/clean/plexus-compiler/plexus-compilers/plexus-compiler-csharp/src/test/java/org/codehaus/plexus/compiler/csharp/CSharpCompilerTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2678,
1435,
3639,
1216,
1860,
565,
288,
3639,
12972,
668,
555,
31,
3639,
368,
8879,
13465,
3639,
368,
7766,
279,
11315,
12220,
2362,
3639,
368,
8879,
13465,
3639,
555,
273,
385,
1555,
11441,
9213,
18,
2670,
1670,
12,
315,
1636,
6761,
6976,
28,
30,
2631,
1390,
358,
4074,
4591,
1269,
6,
11272,
3639,
25395,
12,
555,
11272,
3639,
1815,
8867,
12,
315,
4596,
6976,
28,
30,
2631,
1390,
358,
4074,
4591,
1269,
3113,
555,
18,
24906,
1435,
11272,
3639,
555,
273,
2989,
39,
1555,
11441,
9213,
2678,
18,
2670,
1670,
12,
315,
19184,
2535,
30,
404,
555,
12,
87,
3631,
374,
5599,
6,
11272,
3639,
1815,
2041,
12,
555,
11272,
3639,
555,
273,
385,
1555,
11441,
9213,
18,
2670,
1670,
12,
315,
19184,
15784,
300,
576,
3436,
12,
87,
2225,
11272,
3639,
1815,
2041,
12,
555,
11272,
3639,
555,
273,
385,
1555,
11441,
9213,
18,
2670,
1670,
12,
2206,
8712,
19,
698,
75,
3516,
19,
5206,
19,
832,
18,
4811,
7688,
2147,
19,
26133,
19,
81,
2143,
19,
82,
4873,
3462,
19,
3644,
15865,
19,
4709,
9709,
3830,
18,
2143,
12,
5540,
13,
555,
6761,
3103,
8749,
30,
14143,
1104,
618,
296,
461,
620,
2532,
4970,
11272,
3639,
25395,
12,
555,
11272,
3639,
1815,
8867,
12,
12899,
16,
555,
18,
588,
1685,
1670,
1435,
11272,
3639,
1815,
8867,
12,
300,
21,
16,
555,
18,
588,
1685,
1494,
1435,
11272,
3639,
1815,
8867,
12,
12899,
16,
555,
18,
588,
1638,
1670,
1435,
11272,
3639,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2678,
1435,
3639,
1216,
1860,
565,
288,
3639,
12972,
668,
555,
31,
3639,
368,
8879,
13465,
3639,
368,
7766,
279,
11315,
12220,
2362,
3639,
368,
8879,
13465,
3639,
555,
273,
385,
1555,
11441,
9213,
18,
2670,
1670,
12,
315,
1636,
6761,
6976,
28,
30,
2631,
1390,
358,
4074,
4591,
1269,
6,
11272,
3639,
25395,
12,
555,
11272,
3639,
1815,
8867,
12,
315,
4596,
6976,
28,
30,
2631,
1390,
358,
4074,
4591,
1269,
3113,
555,
18,
24906,
1435,
11272,
3639,
555,
273,
2989,
39,
1555,
11441,
9213,
2678,
18,
2670,
1670,
12,
315,
19184,
2535,
30,
404,
555,
12,
87,
3631,
374,
5599,
6,
11272,
3639,
1815,
2041,
12,
555,
11272,
3639,
555,
273,
385,
1555,
2
] |
Properties prop = (Properties)invocation.parameterValues.get( 0 );
|
Properties prop = (Properties) invocation.parameterValues.get( 0 );
|
public Object invoke( Invocation invocation ) throws Throwable { Properties prop = (Properties)invocation.parameterValues.get( 0 ); assertNotNull( prop ); if( m_Properties == null ) { assertEquals( 5, prop.size() ); assertEquals( m_Bundle1, prop ); m_Properties = prop; } else { assertEquals( 10, prop.size() ); assertEquals( m_MergedBundle, prop ); } return null; }
|
57126 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57126/a3340879daece7a986f1b3b03ee5d2885b08ab54/Log4jServiceFactoryTestCase.java/clean/service/src/unittests/org/ops4j/pax/logging/test/Log4jServiceFactoryTestCase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1033,
4356,
12,
11298,
9495,
262,
1216,
4206,
3639,
288,
5411,
6183,
2270,
273,
261,
2297,
13,
9495,
18,
6775,
1972,
18,
588,
12,
374,
11272,
5411,
25395,
12,
2270,
11272,
5411,
309,
12,
312,
67,
2297,
422,
446,
262,
5411,
288,
7734,
1815,
8867,
12,
1381,
16,
2270,
18,
1467,
1435,
11272,
7734,
1815,
8867,
12,
312,
67,
3405,
21,
16,
2270,
11272,
7734,
312,
67,
2297,
273,
2270,
31,
5411,
289,
5411,
469,
5411,
288,
7734,
1815,
8867,
12,
1728,
16,
2270,
18,
1467,
1435,
11272,
7734,
1815,
8867,
12,
312,
67,
19043,
3405,
16,
2270,
11272,
5411,
289,
5411,
327,
446,
31,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1033,
4356,
12,
11298,
9495,
262,
1216,
4206,
3639,
288,
5411,
6183,
2270,
273,
261,
2297,
13,
9495,
18,
6775,
1972,
18,
588,
12,
374,
11272,
5411,
25395,
12,
2270,
11272,
5411,
309,
12,
312,
67,
2297,
422,
446,
262,
5411,
288,
7734,
1815,
8867,
12,
1381,
16,
2270,
18,
1467,
1435,
11272,
7734,
1815,
8867,
12,
312,
67,
3405,
21,
16,
2270,
11272,
7734,
312,
67,
2297,
273,
2270,
31,
5411,
289,
5411,
469,
5411,
288,
7734,
1815,
8867,
12,
1728,
16,
2270,
18,
1467,
1435,
11272,
7734,
1815,
8867,
12,
312,
67,
19043,
3405,
16,
2270,
11272,
5411,
289,
5411,
327,
446,
31,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
match(_t,MULTIPLY);
|
match(_t,MINUS);
|
public final void sqlscalar(AST _t) throws RecognitionException { AST sqlscalar_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case PLUS: { AST __t2478 = _t; AST tmp2515_AST_in = (AST)_t; match(_t,PLUS); _t = _t.getFirstChild(); sqlscalar(_t); _t = _retTree; sqlscalar(_t); _t = _retTree; _t = __t2478; _t = _t.getNextSibling(); break; } case MINUS: { AST __t2479 = _t; AST tmp2516_AST_in = (AST)_t; match(_t,MINUS); _t = _t.getFirstChild(); sqlscalar(_t); _t = _retTree; sqlscalar(_t); _t = _retTree; _t = __t2479; _t = _t.getNextSibling(); break; } case MULTIPLY: { AST __t2480 = _t; AST tmp2517_AST_in = (AST)_t; match(_t,MULTIPLY); _t = _t.getFirstChild(); sqlscalar(_t); _t = _retTree; sqlscalar(_t); _t = _retTree; _t = __t2480; _t = _t.getNextSibling(); break; } case DIVIDE: { AST __t2481 = _t; AST tmp2518_AST_in = (AST)_t; match(_t,DIVIDE); _t = _t.getFirstChild(); sqlscalar(_t); _t = _retTree; sqlscalar(_t); _t = _retTree; _t = __t2481; _t = _t.getNextSibling(); break; } case MODULO: { AST __t2482 = _t; AST tmp2519_AST_in = (AST)_t; match(_t,MODULO); _t = _t.getFirstChild(); sqlscalar(_t); _t = _retTree; sqlscalar(_t); _t = _retTree; _t = __t2482; _t = _t.getNextSibling(); break; } case UNARY_PLUS: { AST __t2483 = _t; AST tmp2520_AST_in = (AST)_t; match(_t,UNARY_PLUS); _t = _t.getFirstChild(); exprt(_t); _t = _retTree; _t = __t2483; _t = _t.getNextSibling(); break; } case UNARY_MINUS: { AST __t2484 = _t; AST tmp2521_AST_in = (AST)_t; match(_t,UNARY_MINUS); _t = _t.getFirstChild(); exprt(_t); _t = _retTree; _t = __t2484; _t = _t.getNextSibling(); break; } default: boolean synPredMatched2486 = false; if (_t==null) _t=ASTNULL; if (((_t.getType()==LEFTPAREN))) { AST __t2486 = _t; synPredMatched2486 = true; inputState.guessing++; try { { AST tmp2522_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); } } catch (RecognitionException pe) { synPredMatched2486 = false; } _t = __t2486;inputState.guessing--; } if ( synPredMatched2486 ) { AST __t2487 = _t; AST tmp2523_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getFirstChild(); sqlexpression(_t); _t = _retTree; AST tmp2524_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); _t = __t2487; _t = _t.getNextSibling(); } else if ((_tokenSet_1.member(_t.getType()))) { exprt(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1847,
8748,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1847,
8748,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
22443,
3378,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
3247,
8285,
273,
389,
88,
31,
1082,
202,
9053,
1853,
2947,
3600,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
6253,
3378,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
1082,
202,
4669,
8748,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
1082,
202,
4669,
8748,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
1082,
202,
67,
88,
273,
1001,
88,
3247,
8285,
31,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
6989,
3378,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
3247,
7235,
273,
389,
88,
31,
1082,
202,
9053,
1853,
2947,
2313,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
6236,
3378,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
1082,
202,
4669,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1847,
8748,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1847,
8748,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
22443,
3378,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
3247,
8285,
273,
389,
88,
31,
1082,
202,
9053,
1853,
2947,
3600,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
6253,
3378,
1769,
1082,
202,
67,
88,
273,
389,
2
] |
(data.epsFile[nidx] >= 48 && data.epsFile[nidx] <= 57))
|
((data.epsFile[nidx] >= 48 && data.epsFile[nidx] <= 57) || (data.epsFile[nidx] == 45)))
|
private int readLongString(EPSImage.EPSData data, long[] mbbox, int i, int idx) { while (idx < data.epsFile.length && (data.epsFile[idx] == 32)) idx++; int nidx = idx; while (nidx < data.epsFile.length && (data.epsFile[nidx] >= 48 && data.epsFile[nidx] <= 57)) nidx++; byte[] num = new byte[nidx - idx]; System.arraycopy(data.epsFile, idx, num, 0, nidx - idx); String ns = new String(num); mbbox[i] = Long.parseLong(ns); return (1 + nidx - idx); }
|
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/48d3d6ef8f77ca207ae4e2647ae20f532f0d8dc5/EPSReader.java/buggy/src/org/apache/fop/image/analyser/EPSReader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
26567,
780,
12,
41,
5857,
2040,
18,
41,
5857,
751,
501,
16,
1525,
8526,
4903,
2147,
16,
509,
277,
16,
509,
2067,
13,
288,
3639,
1323,
261,
3465,
411,
501,
18,
13058,
812,
18,
2469,
597,
261,
892,
18,
13058,
812,
63,
3465,
65,
422,
3847,
3719,
5411,
2067,
9904,
31,
3639,
509,
290,
3465,
273,
2067,
31,
3639,
1323,
261,
82,
3465,
411,
501,
18,
13058,
812,
18,
2469,
597,
7734,
14015,
892,
18,
13058,
812,
63,
82,
3465,
65,
1545,
9934,
597,
501,
18,
13058,
812,
63,
82,
3465,
65,
1648,
15981,
13,
747,
261,
892,
18,
13058,
812,
63,
82,
3465,
65,
422,
12292,
20349,
5411,
290,
3465,
9904,
31,
3639,
1160,
8526,
818,
273,
394,
1160,
63,
82,
3465,
300,
2067,
15533,
3639,
2332,
18,
1126,
3530,
12,
892,
18,
13058,
812,
16,
2067,
16,
818,
16,
374,
16,
290,
3465,
300,
2067,
1769,
3639,
514,
3153,
273,
394,
514,
12,
2107,
1769,
3639,
4903,
2147,
63,
77,
65,
273,
3407,
18,
2670,
3708,
12,
2387,
1769,
3639,
327,
261,
21,
397,
290,
3465,
300,
2067,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
509,
26567,
780,
12,
41,
5857,
2040,
18,
41,
5857,
751,
501,
16,
1525,
8526,
4903,
2147,
16,
509,
277,
16,
509,
2067,
13,
288,
3639,
1323,
261,
3465,
411,
501,
18,
13058,
812,
18,
2469,
597,
261,
892,
18,
13058,
812,
63,
3465,
65,
422,
3847,
3719,
5411,
2067,
9904,
31,
3639,
509,
290,
3465,
273,
2067,
31,
3639,
1323,
261,
82,
3465,
411,
501,
18,
13058,
812,
18,
2469,
597,
7734,
14015,
892,
18,
13058,
812,
63,
82,
3465,
65,
1545,
9934,
597,
501,
18,
13058,
812,
63,
82,
3465,
65,
1648,
15981,
13,
747,
261,
892,
18,
13058,
812,
63,
82,
3465,
65,
422,
12292,
20349,
5411,
290,
3465,
9904,
31,
3639,
1160,
8526,
2
] |
public void testBuild() throws Exception {// assertEquals(// "Default value of config file doesn't match",// "config.xml",// project.getConfigFile()); Date now = new Date(); MockModificationSet modSet = new MockModificationSet(); modSet.setTimeOfCheck(now); MockSchedule sched = new MockSchedule(); project.setLabel("1.2.2"); project.setName("myproject"); project.setSchedule(sched); project.setLogDir("test-results"); project.setLogXmlEncoding("ISO-8859-1"); project.addAuxiliaryLogFile("_auxLog1.xml"); project.addAuxiliaryLogFile("_auxLogs"); project.setLabelIncrementer(new DefaultLabelIncrementer()); project.setModificationSet(modSet); project.setLastBuild(formatTime(now)); project.setLastSuccessfulBuild(formatTime(now)); writeFile("_auxLog1.xml", "<one/>"); File auxLogsDirectory = new File("_auxLogs"); auxLogsDirectory.mkdir(); writeFile( "_auxLogs/_auxLog2.xml", "<testsuite><properties><property/></properties><testcase/></testsuite>"); writeFile("_auxLogs/_auxLog3.xml", "<testsuite/>"); project.build(); assertTrue(project.isLastBuildSuccessful()); String expected = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?><cruisecontrol>" + "<modifications /><info><property name=\"projectname\" " + "value=\"myproject\" /><property name=\"lastbuild\" value=\"" + Project.getFormatedTime(now) + "\" /><property name=\"lastsuccessfulbuild\" value=\"" + project.getLastSuccessfulBuild() + "\" /><property name=\"builddate\" value=\"" + new SimpleDateFormat(DateFormatFactory.getFormat()).format(now) + "\" /><property name=\"cctimestamp\" value=\"" + Project.getFormatedTime(now) + "\" /><property name=\"label\" value=\"1.2.2\" /><property " + "name=\"interval\" value=\"0\" /><property name=\"" + "lastbuildsuccessful\" value=\"true\" /><property name=\"logfile\" value=\"" + File.separator + "log" + Project.getFormatedTime(now) + "L1.2.2.xml\" /></info><build /><one /><testsuite><testcase " + "/></testsuite><testsuite /></cruisecontrol>"; assertEquals(expected, readFileToString(project.getLogFileName())); assertEquals( "Didn't increment the label", "1.2.3", project.getLabel().intern()); //look for sourcecontrol properties java.util.Map props = sched.getBuildProperties(); assertNotNull("Build properties were null.", props); assertEquals("Should be 4 build properties.", 4, props.size()); assertTrue( "filemodified not found.", props.containsKey("filemodified")); assertTrue("fileremoved not found.", props.containsKey("fileremoved")); }
|
52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/92bfabe06582efb22f08132fad350d7ed3f98702/ProjectTest.java/buggy/main/test/net/sourceforge/cruisecontrol/ProjectTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
3116,
1435,
1216,
1185,
288,
759,
3639,
1815,
8867,
12,
759,
5411,
315,
1868,
460,
434,
642,
585,
3302,
1404,
845,
3113,
759,
5411,
315,
1425,
18,
2902,
3113,
759,
5411,
1984,
18,
588,
13705,
10663,
3639,
2167,
2037,
273,
394,
2167,
5621,
3639,
7867,
13467,
694,
681,
694,
273,
394,
7867,
13467,
694,
5621,
3639,
681,
694,
18,
542,
950,
951,
1564,
12,
3338,
1769,
3639,
7867,
6061,
23964,
273,
394,
7867,
6061,
5621,
3639,
1984,
18,
542,
2224,
2932,
21,
18,
22,
18,
22,
8863,
3639,
1984,
18,
542,
461,
2932,
4811,
4406,
8863,
3639,
1984,
18,
542,
6061,
12,
87,
2049,
1769,
3639,
1984,
18,
542,
1343,
1621,
2932,
3813,
17,
4717,
8863,
3639,
1984,
18,
542,
1343,
4432,
4705,
2932,
12609,
17,
17258,
17,
21,
8863,
3639,
1984,
18,
1289,
21981,
20606,
19103,
2932,
67,
18196,
1343,
21,
18,
2902,
8863,
3639,
1984,
18,
1289,
21981,
20606,
19103,
2932,
67,
18196,
7777,
8863,
3639,
1984,
18,
542,
2224,
10798,
264,
12,
2704,
2989,
2224,
10798,
264,
10663,
3639,
1984,
18,
542,
13467,
694,
12,
1711,
694,
1769,
3639,
1984,
18,
542,
3024,
3116,
12,
2139,
950,
12,
3338,
10019,
3639,
1984,
18,
542,
3024,
14277,
3116,
12,
2139,
950,
12,
3338,
10019,
3639,
13286,
2932,
67,
18196,
1343,
21,
18,
2902,
3113,
3532,
476,
26293,
1769,
3639,
1387,
9397,
7777,
2853,
273,
394,
1387,
2932,
67,
18196,
7777,
8863,
3639,
9397,
7777,
2853,
18,
26686,
5621,
3639,
13286,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3116,
1435,
1216,
1185,
288,
759,
3639,
1815,
8867,
12,
759,
5411,
315,
1868,
460,
434,
642,
585,
3302,
1404,
845,
3113,
759,
5411,
315,
1425,
18,
2902,
3113,
759,
5411,
1984,
18,
588,
13705,
10663,
3639,
2167,
2037,
273,
394,
2167,
5621,
3639,
7867,
13467,
694,
681,
694,
273,
394,
7867,
13467,
694,
5621,
3639,
681,
694,
18,
542,
950,
951,
1564,
12,
3338,
1769,
3639,
7867,
6061,
23964,
273,
394,
7867,
6061,
5621,
3639,
1984,
18,
542,
2224,
2932,
21,
18,
22,
18,
22,
8863,
3639,
1984,
18,
542,
461,
2932,
4811,
4406,
8863,
3639,
1984,
18,
542,
6061,
12,
87,
2049,
1769,
3639,
1984,
18,
542,
1343,
1621,
2932,
3813,
17,
4717,
2
] |
||
if (topLeftCache.getControl() != topLeft) { topLeftCache.setControl(topLeft); if (topLeft != null) { viewFormTopLeftProxy.setTarget(topLeftCache); viewForm.setTopLeft(viewFormTopLeftProxy.getControl()); } else { viewFormTopLeftProxy.setTarget(null); viewForm.setTopLeft(null); }
|
if (topLeftCache.getControl() == topLeft) { return; } removeDisposeListener(topLeftCache.getControl()); topLeftCache.setControl(topLeft); if (topLeft != null) { topLeft.addDisposeListener(prematureDisposeListener); viewFormTopLeftProxy.setTarget(topLeftCache); viewForm.setTopLeft(viewFormTopLeftProxy.getControl()); } else { viewFormTopLeftProxy.setTarget(null); viewForm.setTopLeft(null);
|
public void setTopLeft(Control topLeft) { if (topLeftCache.getControl() != topLeft) { topLeftCache.setControl(topLeft); // The top-left control always goes directly in the ViewForm if (topLeft != null) { viewFormTopLeftProxy.setTarget(topLeftCache); viewForm.setTopLeft(viewFormTopLeftProxy.getControl()); } else { viewFormTopLeftProxy.setTarget(null); viewForm.setTopLeft(null); } } }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/dcbb0d757d65794f2ea39a17bab9be21c35fc400/PaneFolder.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/PaneFolder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
3401,
3910,
12,
3367,
1760,
3910,
13,
288,
202,
202,
430,
261,
3669,
3910,
1649,
18,
588,
3367,
1435,
480,
1760,
3910,
13,
288,
1082,
202,
3669,
3910,
1649,
18,
542,
3367,
12,
3669,
3910,
1769,
1082,
202,
759,
1021,
1760,
17,
4482,
3325,
3712,
13998,
5122,
316,
326,
4441,
1204,
1082,
202,
430,
261,
3669,
3910,
480,
446,
13,
288,
9506,
202,
1945,
1204,
3401,
3910,
3886,
18,
542,
2326,
12,
3669,
3910,
1649,
1769,
9506,
202,
1945,
1204,
18,
542,
3401,
3910,
12,
1945,
1204,
3401,
3910,
3886,
18,
588,
3367,
10663,
1082,
202,
97,
469,
288,
9506,
202,
1945,
1204,
3401,
3910,
3886,
18,
542,
2326,
12,
2011,
1769,
9506,
202,
1945,
1204,
18,
542,
3401,
3910,
12,
2011,
1769,
1082,
202,
97,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
444,
3401,
3910,
12,
3367,
1760,
3910,
13,
288,
202,
202,
430,
261,
3669,
3910,
1649,
18,
588,
3367,
1435,
480,
1760,
3910,
13,
288,
1082,
202,
3669,
3910,
1649,
18,
542,
3367,
12,
3669,
3910,
1769,
1082,
202,
759,
1021,
1760,
17,
4482,
3325,
3712,
13998,
5122,
316,
326,
4441,
1204,
1082,
202,
430,
261,
3669,
3910,
480,
446,
13,
288,
9506,
202,
1945,
1204,
3401,
3910,
3886,
18,
542,
2326,
12,
3669,
3910,
1649,
1769,
9506,
202,
1945,
1204,
18,
542,
3401,
3910,
12,
1945,
1204,
3401,
3910,
3886,
18,
588,
3367,
10663,
1082,
202,
97,
469,
288,
9506,
202,
1945,
1204,
3401,
3910,
3886,
18,
542,
2326,
12,
2011,
1769,
9506,
202,
2
] |
error.uri = uri; if(error != null) throw error;
|
if(error != null) { error.uri = uri; throw error; }
|
public synchronized FreenetURI waitForCompletion() throws InserterException { while(!finished) { try { wait(); } catch (InterruptedException e) { // Ignore } } error.uri = uri; if(error != null) throw error; if(succeeded) return uri; Logger.error(this, "Did not succeed but no error"); throw new InserterException(InserterException.INTERNAL_ERROR, "Did not succeed but no error", uri); }
|
48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/fb831492119179275598a0f13e00975a7c428aeb/PutWaiter.java/clean/src/freenet/client/PutWaiter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
478,
2842,
278,
3098,
10712,
11238,
1435,
1216,
657,
550,
387,
503,
288,
202,
202,
17523,
12,
5,
13527,
13,
288,
1082,
202,
698,
288,
9506,
202,
7048,
5621,
1082,
202,
97,
1044,
261,
24485,
503,
425,
13,
288,
9506,
202,
759,
8049,
1082,
202,
97,
202,
202,
97,
202,
202,
1636,
18,
1650,
273,
2003,
31,
202,
202,
430,
12,
1636,
480,
446,
13,
604,
555,
31,
202,
202,
430,
12,
87,
20983,
13,
327,
2003,
31,
202,
202,
3328,
18,
1636,
12,
2211,
16,
315,
18250,
486,
12897,
1496,
1158,
555,
8863,
202,
202,
12849,
394,
657,
550,
387,
503,
12,
382,
550,
387,
503,
18,
14005,
67,
3589,
16,
315,
18250,
486,
12897,
1496,
1158,
555,
3113,
2003,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3852,
478,
2842,
278,
3098,
10712,
11238,
1435,
1216,
657,
550,
387,
503,
288,
202,
202,
17523,
12,
5,
13527,
13,
288,
1082,
202,
698,
288,
9506,
202,
7048,
5621,
1082,
202,
97,
1044,
261,
24485,
503,
425,
13,
288,
9506,
202,
759,
8049,
1082,
202,
97,
202,
202,
97,
202,
202,
1636,
18,
1650,
273,
2003,
31,
202,
202,
430,
12,
1636,
480,
446,
13,
604,
555,
31,
202,
202,
430,
12,
87,
20983,
13,
327,
2003,
31,
202,
202,
3328,
18,
1636,
12,
2211,
16,
315,
18250,
486,
12897,
1496,
1158,
555,
8863,
202,
202,
12849,
394,
657,
550,
387,
503,
12,
382,
550,
387,
503,
18,
14005,
67,
3589,
16,
315,
18250,
486,
2
] |
c = (int) scan_hex(lex_curline, lex_p, 2, numlen); lex_p += numlen[0];
|
c = (int) support.readHexAsInt(2);
|
private int read_escape() { int c; switch (c = nextc()) { case '\\' : // Backslash return c; case 'n' : // newline return '\n'; case 't' : // horizontal tab return '\t'; case 'r' : // carriage-return return '\r'; case 'f' : // form-feed return '\f'; case 'v' : // vertical tab return '\013'; case 'a' : // alarm(bell) return '\007'; case 'e' : // escape return '\033'; case '0' : case '1' : case '2' : case '3' : // octal constant case '4' : case '5' : case '6' : case '7' : { int cc = 0; pushback(c); for (int i = 0; i < 3; i++) { c = nextc(); if (c == -1) { // goto eof yyerror("Invalid escape character syntax"); return '\0'; } if (c < '0' || '7' < c) { pushback(c); break; } cc = cc * 8 + c - '0'; } c = cc; } return c; case 'x' : // hex constant { int[] numlen = new int[1]; c = (int) scan_hex(lex_curline, lex_p, 2, numlen); lex_p += numlen[0]; } return c; case 'b' : // backspace return '\010'; case 's' : // space return ' '; case 'M' : if ((c = nextc()) != '-') { yyerror("Invalid escape character syntax"); pushback(c); return '\0'; } if ((c = nextc()) == '\\') { return read_escape() | 0x80; } else if (c == -1) { // goto eof yyerror("Invalid escape character syntax"); return '\0'; } else { return ((c & 0xff) | 0x80); } case 'C' : if ((c = nextc()) != '-') { yyerror("Invalid escape character syntax"); pushback(c); return '\0'; } case 'c' : if ((c = nextc()) == '\\') { c = read_escape(); } else if (c == '?') { return 0177; } else if (c == -1) { // goto eof yyerror("Invalid escape character syntax"); return '\0'; } return c & 0x9f; case -1 : // eof: yyerror("Invalid escape character syntax"); return '\0'; default : return c; } }
|
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/d31a76ee29d5978a9bec41e3ac9134cee024bcab/DefaultRubyScanner.java/buggy/org/jruby/parser/DefaultRubyScanner.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
855,
67,
6939,
1435,
288,
3639,
509,
276,
31,
3639,
1620,
261,
71,
273,
1024,
71,
10756,
288,
5411,
648,
5282,
294,
368,
4297,
12877,
7734,
327,
276,
31,
5411,
648,
296,
82,
11,
294,
368,
9472,
7734,
327,
2337,
82,
13506,
5411,
648,
296,
88,
11,
294,
368,
10300,
3246,
7734,
327,
2337,
88,
13506,
5411,
648,
296,
86,
11,
294,
368,
5926,
27935,
17,
2463,
7734,
327,
2337,
86,
13506,
5411,
648,
296,
74,
11,
294,
368,
646,
17,
7848,
7734,
327,
2337,
74,
13506,
5411,
648,
296,
90,
11,
294,
368,
9768,
3246,
7734,
327,
2337,
1611,
23,
13506,
5411,
648,
296,
69,
11,
294,
368,
13721,
12,
70,
1165,
13,
7734,
327,
2337,
713,
27,
13506,
5411,
648,
296,
73,
11,
294,
368,
4114,
7734,
327,
2337,
15265,
13506,
5411,
648,
296,
20,
11,
294,
5411,
648,
296,
21,
11,
294,
5411,
648,
296,
22,
11,
294,
5411,
648,
296,
23,
11,
294,
368,
10844,
287,
5381,
5411,
648,
296,
24,
11,
294,
5411,
648,
296,
25,
11,
294,
5411,
648,
296,
26,
11,
294,
5411,
648,
296,
27,
11,
294,
7734,
288,
10792,
509,
4946,
273,
374,
31,
10792,
1817,
823,
12,
71,
1769,
10792,
364,
261,
474,
277,
273,
374,
31,
277,
411,
890,
31,
277,
27245,
288,
13491,
276,
273,
1024,
71,
5621,
13491,
309,
261,
71,
422,
300,
21,
13,
288,
18701,
368,
2897,
14813,
18701,
9016,
1636,
2932,
1941,
4114,
3351,
6279,
8863,
18701,
327,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
855,
67,
6939,
1435,
288,
3639,
509,
276,
31,
3639,
1620,
261,
71,
273,
1024,
71,
10756,
288,
5411,
648,
5282,
294,
368,
4297,
12877,
7734,
327,
276,
31,
5411,
648,
296,
82,
11,
294,
368,
9472,
7734,
327,
2337,
82,
13506,
5411,
648,
296,
88,
11,
294,
368,
10300,
3246,
7734,
327,
2337,
88,
13506,
5411,
648,
296,
86,
11,
294,
368,
5926,
27935,
17,
2463,
7734,
327,
2337,
86,
13506,
5411,
648,
296,
74,
11,
294,
368,
646,
17,
7848,
7734,
327,
2337,
74,
13506,
5411,
648,
296,
90,
11,
294,
368,
9768,
3246,
7734,
327,
2337,
1611,
23,
13506,
5411,
648,
296,
69,
11,
294,
368,
13721,
12,
70,
1165,
13,
7734,
327,
2
] |
} else if (list.isEmpty()) { return ""; } else if (list.size() == 1) { return ((InternetHeader) list.get(0)).getValue();
|
public String getHeader(String name, String delimiter) { List list = getHeaderList(name); if (list == null) { return null; } else if (list.isEmpty()) { return ""; } else if (list.size() == 1) { return ((InternetHeader) list.get(0)).getValue(); } else { StringBuffer buf = new StringBuffer(20 * list.size()); buf.append(((InternetHeader) list.get(0)).getValue()); for (int i = 1; i < list.size(); i++) { buf.append(delimiter); buf.append(((InternetHeader) list.get(i)).getValue()); } return buf.toString(); } }
|
8608 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8608/0db1885ee852e3f39071d525c709c04b4278c38d/InternetHeaders.java/buggy/geronimo-spec-javamail/src/main/java/javax/mail/internet/InternetHeaders.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
7911,
12,
780,
508,
16,
514,
5654,
13,
288,
3639,
987,
666,
273,
7911,
682,
12,
529,
1769,
3639,
309,
261,
1098,
422,
446,
13,
288,
5411,
327,
446,
31,
3639,
289,
469,
309,
261,
1098,
18,
291,
1921,
10756,
288,
5411,
327,
1408,
31,
3639,
289,
469,
309,
261,
1098,
18,
1467,
1435,
422,
404,
13,
288,
5411,
327,
14015,
26562,
1864,
13,
666,
18,
588,
12,
20,
13,
2934,
24805,
5621,
3639,
289,
469,
288,
5411,
6674,
1681,
273,
394,
6674,
12,
3462,
380,
666,
18,
1467,
10663,
5411,
1681,
18,
6923,
12443,
12,
26562,
1864,
13,
666,
18,
588,
12,
20,
13,
2934,
24805,
10663,
5411,
364,
261,
474,
277,
273,
404,
31,
277,
411,
666,
18,
1467,
5621,
277,
27245,
288,
7734,
1681,
18,
6923,
12,
15751,
1769,
7734,
1681,
18,
6923,
12443,
12,
26562,
1864,
13,
666,
18,
588,
12,
77,
13,
2934,
24805,
10663,
5411,
289,
5411,
327,
1681,
18,
10492,
5621,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
7911,
12,
780,
508,
16,
514,
5654,
13,
288,
3639,
987,
666,
273,
7911,
682,
12,
529,
1769,
3639,
309,
261,
1098,
422,
446,
13,
288,
5411,
327,
446,
31,
3639,
289,
469,
309,
261,
1098,
18,
291,
1921,
10756,
288,
5411,
327,
1408,
31,
3639,
289,
469,
309,
261,
1098,
18,
1467,
1435,
422,
404,
13,
288,
5411,
327,
14015,
26562,
1864,
13,
666,
18,
588,
12,
20,
13,
2934,
24805,
5621,
3639,
289,
469,
288,
5411,
6674,
1681,
273,
394,
6674,
12,
3462,
380,
666,
18,
1467,
10663,
5411,
1681,
18,
6923,
12443,
12,
26562,
1864,
13,
666,
18,
588,
12,
20,
13,
2934,
24805,
10663,
5411,
364,
261,
474,
277,
273,
404,
31,
2
] |
|
break;
|
break;
|
public static void applyFilter( int matchType, int filterType, String filter ) { retrieveClanData(); // Certain filter types do not require the player profiles // to be looked up. These can be processed immediately, // without prompting the user for confirmation. switch ( filterType ) { case ClanSnapshotTable.NAME_FILTER: case ClanSnapshotTable.LEVEL_FILTER: case ClanSnapshotTable.KARMA_FILTER: break; default: retrieveMemberData( true, false ); break; } ClanSnapshotTable.applyFilter( matchType, filterType, filter ); }
|
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/eb8203b0add11024f00f9d7ed2ad7b2b63269aab/ClanManager.java/clean/src/net/sourceforge/kolmafia/ClanManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
2230,
1586,
12,
509,
845,
559,
16,
509,
1034,
559,
16,
514,
1034,
262,
202,
95,
202,
202,
17466,
2009,
304,
751,
5621,
202,
202,
759,
11921,
530,
1034,
1953,
741,
486,
2583,
326,
7291,
11788,
202,
202,
759,
358,
506,
27321,
731,
18,
225,
8646,
848,
506,
5204,
7636,
16,
202,
202,
759,
2887,
6866,
310,
326,
729,
364,
14296,
18,
202,
202,
9610,
261,
1034,
559,
262,
202,
202,
95,
1082,
202,
3593,
3905,
304,
4568,
1388,
18,
1985,
67,
11126,
30,
1082,
202,
3593,
3905,
304,
4568,
1388,
18,
10398,
67,
11126,
30,
1082,
202,
3593,
3905,
304,
4568,
1388,
18,
47,
985,
5535,
67,
11126,
30,
9506,
202,
8820,
31,
1082,
202,
1886,
30,
9506,
202,
17466,
4419,
751,
12,
638,
16,
629,
11272,
9506,
202,
8820,
31,
202,
202,
97,
202,
202,
2009,
304,
4568,
1388,
18,
9010,
1586,
12,
845,
559,
16,
1034,
559,
16,
1034,
11272,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
760,
918,
2230,
1586,
12,
509,
845,
559,
16,
509,
1034,
559,
16,
514,
1034,
262,
202,
95,
202,
202,
17466,
2009,
304,
751,
5621,
202,
202,
759,
11921,
530,
1034,
1953,
741,
486,
2583,
326,
7291,
11788,
202,
202,
759,
358,
506,
27321,
731,
18,
225,
8646,
848,
506,
5204,
7636,
16,
202,
202,
759,
2887,
6866,
310,
326,
729,
364,
14296,
18,
202,
202,
9610,
261,
1034,
559,
262,
202,
202,
95,
1082,
202,
3593,
3905,
304,
4568,
1388,
18,
1985,
67,
11126,
30,
1082,
202,
3593,
3905,
304,
4568,
1388,
18,
10398,
67,
11126,
30,
1082,
202,
3593,
3905,
304,
4568,
1388,
18,
47,
985,
5535,
67,
11126,
30,
9506,
202,
8820,
31,
2
] |
public static synchronized double random() {
|
public static synchronized double random() {
|
public static synchronized double random() { if (rand == null) rand = new Random(); return rand.nextDouble(); }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/StrictMath.java/buggy/core/src/classpath/java/java/lang/StrictMath.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
3852,
1645,
2744,
1435,
288,
202,
202,
430,
261,
7884,
422,
446,
13,
1082,
202,
7884,
273,
394,
8072,
5621,
202,
202,
2463,
5605,
18,
4285,
5265,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
760,
3852,
1645,
2744,
1435,
288,
202,
202,
430,
261,
7884,
422,
446,
13,
1082,
202,
7884,
273,
394,
8072,
5621,
202,
202,
2463,
5605,
18,
4285,
5265,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
} catch (LoginException e) {
|
} catch (LoginException e) {
|
private void parseDocument() throws LoginException { try { // if the operation has been cancelled already, return if (monitor.isCanceled()) { monitor.done(); return; } // try to connect to the server monitor.subTask("Connecting to server"); URL url = new URL(this.urlString); URLConnection cntx = BugzillaPlugin.getDefault().getUrlConnection(url); if(cntx != null){ InputStream input = cntx.getInputStream(); if(input != null) { monitor.worked(1); // initialize the input stream in = new BufferedReader(new InputStreamReader(input)); // increment the position of the status monitor monitor.worked(2); // check if the operation has been cancelled so we can end if it has been if (monitor.isCanceled()) monitor.done(); else monitor.subTask("Reading values from server"); // parse the data from the server parseQueryPage(in); // set the operation to being successful successful = true; } } } catch (LoginException e) { throw e; } catch (Exception e) { // if we can't connect, log the problem and save the exception to handle later monitor.done(); exception = e; BugzillaPlugin.log(new Status( IStatus.ERROR, IBugzillaConstants.PLUGIN_ID, IStatus.OK, "Failed to create URL and open input stream: " + urlString, e)); return; } finally { try { if (in != null) in.close(); } catch (IOException exitAnyway) { in = null; } } }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/832f772c9bfbe1db8eeb7662bd96232584598cee/BugzillaQueryPageParser.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/search/BugzillaQueryPageParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1109,
2519,
1435,
1216,
11744,
503,
288,
202,
202,
698,
288,
1082,
202,
759,
309,
326,
1674,
711,
2118,
13927,
1818,
16,
327,
1082,
202,
430,
261,
10259,
18,
291,
23163,
10756,
288,
9506,
202,
10259,
18,
8734,
5621,
9506,
202,
2463,
31,
1082,
202,
97,
25083,
202,
759,
775,
358,
3077,
358,
326,
1438,
1082,
202,
10259,
18,
1717,
2174,
2932,
30049,
358,
1438,
8863,
25083,
202,
1785,
880,
273,
394,
1976,
12,
2211,
18,
718,
780,
1769,
9506,
202,
14790,
7599,
92,
273,
16907,
15990,
3773,
18,
588,
1868,
7675,
588,
1489,
1952,
12,
718,
1769,
25083,
202,
430,
12,
13085,
92,
480,
446,
15329,
9506,
202,
4348,
810,
273,
7599,
92,
18,
588,
4348,
5621,
9506,
202,
430,
12,
2630,
480,
446,
13,
288,
6862,
9506,
202,
10259,
18,
1252,
329,
12,
21,
1769,
6862,
25083,
202,
759,
4046,
326,
810,
1407,
6862,
202,
267,
273,
394,
10633,
12,
2704,
15322,
12,
2630,
10019,
6862,
25083,
202,
759,
5504,
326,
1754,
434,
326,
1267,
6438,
6862,
202,
10259,
18,
1252,
329,
12,
22,
1769,
6862,
25083,
202,
759,
866,
309,
326,
1674,
711,
2118,
13927,
1427,
732,
848,
679,
309,
518,
711,
2118,
6862,
202,
430,
261,
10259,
18,
291,
23163,
10756,
25083,
202,
10259,
18,
8734,
5621,
6862,
202,
12107,
25083,
202,
10259,
18,
1717,
2174,
2932,
15714,
924,
628,
1438,
8863,
6862,
9506,
202,
759,
1109,
326,
501,
628,
326,
1438,
6862,
202,
2670,
1138,
1964,
12,
267,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1109,
2519,
1435,
1216,
11744,
503,
288,
202,
202,
698,
288,
1082,
202,
759,
309,
326,
1674,
711,
2118,
13927,
1818,
16,
327,
1082,
202,
430,
261,
10259,
18,
291,
23163,
10756,
288,
9506,
202,
10259,
18,
8734,
5621,
9506,
202,
2463,
31,
1082,
202,
97,
25083,
202,
759,
775,
358,
3077,
358,
326,
1438,
1082,
202,
10259,
18,
1717,
2174,
2932,
30049,
358,
1438,
8863,
25083,
202,
1785,
880,
273,
394,
1976,
12,
2211,
18,
718,
780,
1769,
9506,
202,
14790,
7599,
92,
273,
16907,
15990,
3773,
18,
588,
1868,
7675,
588,
1489,
1952,
12,
718,
1769,
25083,
202,
430,
12,
13085,
92,
480,
446,
15329,
9506,
202,
4348,
810,
273,
7599,
92,
18,
2
] |
double startAngle = 0.0, addAngle = 0.0, radius = 0.0, remainingAngle = 0.0;
|
double startAngle = 0.0; double addAngle = 0.0; double radius = 0.0; double remainingAngle = 0.0;
|
public void distributePartners(Atom atom, AtomContainer sharedAtoms, Point2d sharedAtomsCenter, AtomContainer partners, double bondLength) { double occupiedAngle = 0; double smallestDistance = Double.MAX_VALUE; Atom[] nearestAtoms = new Atom[2]; Atom[] sortedAtoms = null; double startAngle = 0.0, addAngle = 0.0, radius = 0.0, remainingAngle = 0.0; /* * calculate the direction away from the already placed partners of atom */ //Point2d sharedAtomsCenter = sharedAtoms.get2DCenter(); Vector2d sharedAtomsCenterVector = new Vector2d(sharedAtomsCenter); Vector2d newDirection = new Vector2d(atom.getPoint2D()); Vector2d occupiedDirection = new Vector2d(sharedAtomsCenter); occupiedDirection.sub(newDirection); Vector atomsToDraw = new Vector(); if (sharedAtoms.getAtomCount() == 1) { for (int f = 0; f < partners.getAtomCount(); f++) { atomsToDraw.addElement(partners.getAtomAt(f)); } addAngle = Math.PI * 2 / (partners.getAtomCount() + sharedAtoms.getAtomCount()); /* IMPORTANT: At this point we need a calculation of the start angle. Not done yet. */ Atom placedAtom = sharedAtoms.getAtomAt(0);// double xDiff = atom.getX2D() - placedAtom.getX2D();// double yDiff = atom.getY2D() - placedAtom.getY2D(); double xDiff = placedAtom.getX2D() - atom.getX2D(); double yDiff = placedAtom.getY2D() - atom.getY2D(); startAngle = GeometryTools.getAngle(xDiff, yDiff); //- (Math.PI / 2.0); populatePolygonCorners(atomsToDraw, new Point2d(atom.getPoint2D()), startAngle, addAngle, bondLength); return; } /* * if the least hindered side of the atom is clearly defined (bondLength / 10 is an arbitrary value that seemed reasonable) */ //newDirection.sub(sharedAtomsCenterVector); sharedAtomsCenterVector.sub(newDirection); newDirection = sharedAtomsCenterVector; newDirection.normalize(); newDirection.scale(bondLength); newDirection.negate(); Point2d distanceMeasure = new Point2d(atom.getPoint2D()); distanceMeasure.add(newDirection); /* * get the two sharedAtom partners with the smallest distance to the new center */ sortedAtoms = sharedAtoms.getAtoms(); GeometryTools.sortBy2DDistance(sortedAtoms, distanceMeasure); Vector2d closestPoint1 = new Vector2d(sortedAtoms[0].getPoint2D()); Vector2d closestPoint2 = new Vector2d(sortedAtoms[1].getPoint2D()); closestPoint1.sub(new Vector2d(atom.getPoint2D())); closestPoint2.sub(new Vector2d(atom.getPoint2D())); occupiedAngle = closestPoint1.angle(occupiedDirection); occupiedAngle += closestPoint2.angle(occupiedDirection); double angle1 = GeometryTools.getAngle(sortedAtoms[0].getX2D() - atom.getX2D(), sortedAtoms[0].getY2D() - atom.getY2D()); double angle2 = GeometryTools.getAngle(sortedAtoms[1].getX2D() - atom.getX2D(), sortedAtoms[1].getY2D() - atom.getY2D()); double angle3 = GeometryTools.getAngle(distanceMeasure.x - atom.getX2D(), distanceMeasure.y - atom.getY2D()); if (debug) { try { System.out.println("distributePartners->sortedAtoms[0]: " + (molecule.getAtomNumber(sortedAtoms[0]) + 1)); System.out.println("distributePartners->sortedAtoms[1]: " + (molecule.getAtomNumber(sortedAtoms[1]) + 1)); System.out.println("distributePartners->angle1: " + Math.toDegrees(angle1)); System.out.println("distributePartners->angle2: " + Math.toDegrees(angle2)); } catch (Exception exc) { exc.printStackTrace(); } } Atom startAtom = null; if (angle1 > angle3) { if (angle1 - angle3 < Math.PI) { startAtom = sortedAtoms[1]; } else { // 12 o'clock is between the two vectors startAtom = sortedAtoms[0]; } } else { if (angle3 - angle1 < Math.PI) { startAtom = sortedAtoms[0]; } else { // 12 o'clock is between the two vectors startAtom = sortedAtoms[1]; } } remainingAngle = (2 * Math.PI) - occupiedAngle; addAngle = remainingAngle / (partners.getAtomCount() + 1); if (debug) { try { System.out.println("distributePartners->startAtom: " + (molecule.getAtomNumber(startAtom) + 1)); System.out.println("distributePartners->remainingAngle: " + Math.toDegrees(remainingAngle)); System.out.println("distributePartners->addAngle: " + Math.toDegrees(addAngle)); System.out.println("distributePartners-> partners.getAtomCount(): " + partners.getAtomCount()); } catch (Exception exc) { exc.printStackTrace(); } } for (int f = 0; f < partners.getAtomCount(); f++) { atomsToDraw.addElement(partners.getAtomAt(f)); } radius = bondLength; startAngle = GeometryTools.getAngle(startAtom.getX2D() - atom.getX2D(), startAtom.getY2D() - atom.getY2D()); populatePolygonCorners(atomsToDraw, new Point2d(atom.getPoint2D()), startAngle, addAngle, radius); }
|
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/ce671bad54ba13afe05c622f64a9b05900832535/AtomPlacer.java/buggy/src/org/openscience/cdk/layout/AtomPlacer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
25722,
1988,
9646,
12,
3641,
3179,
16,
7149,
2170,
5116,
14280,
16,
4686,
22,
72,
5116,
14280,
8449,
16,
7149,
2170,
1087,
9646,
16,
1645,
8427,
1782,
13,
202,
95,
202,
202,
9056,
18928,
2092,
8467,
273,
374,
31,
202,
202,
9056,
13541,
7200,
273,
3698,
18,
6694,
67,
4051,
31,
202,
202,
3641,
8526,
11431,
14280,
273,
394,
7149,
63,
22,
15533,
202,
202,
3641,
8526,
3115,
14280,
273,
446,
31,
202,
202,
9056,
787,
8467,
273,
374,
18,
20,
16,
527,
8467,
273,
374,
18,
20,
16,
5725,
273,
374,
18,
20,
16,
4463,
8467,
273,
374,
18,
20,
31,
202,
202,
20308,
1082,
380,
225,
4604,
326,
4068,
10804,
628,
326,
1818,
15235,
1087,
9646,
434,
3179,
1082,
1195,
202,
202,
759,
2148,
22,
72,
5116,
14280,
8449,
273,
5116,
14280,
18,
588,
22,
5528,
2328,
5621,
202,
202,
5018,
22,
72,
5116,
14280,
8449,
5018,
273,
394,
5589,
22,
72,
12,
11574,
14280,
8449,
1769,
202,
202,
5018,
22,
72,
394,
8212,
273,
394,
5589,
22,
72,
12,
7466,
18,
588,
2148,
22,
40,
10663,
202,
202,
5018,
22,
72,
18928,
2092,
8212,
273,
394,
5589,
22,
72,
12,
11574,
14280,
8449,
1769,
202,
202,
25049,
416,
2092,
8212,
18,
1717,
12,
2704,
8212,
1769,
202,
202,
5018,
9006,
774,
6493,
273,
394,
5589,
5621,
9506,
202,
430,
261,
11574,
14280,
18,
588,
3641,
1380,
1435,
422,
404,
13,
202,
202,
95,
1082,
202,
1884,
261,
474,
284,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
25722,
1988,
9646,
12,
3641,
3179,
16,
7149,
2170,
5116,
14280,
16,
4686,
22,
72,
5116,
14280,
8449,
16,
7149,
2170,
1087,
9646,
16,
1645,
8427,
1782,
13,
202,
95,
202,
202,
9056,
18928,
2092,
8467,
273,
374,
31,
202,
202,
9056,
13541,
7200,
273,
3698,
18,
6694,
67,
4051,
31,
202,
202,
3641,
8526,
11431,
14280,
273,
394,
7149,
63,
22,
15533,
202,
202,
3641,
8526,
3115,
14280,
273,
446,
31,
202,
202,
9056,
787,
8467,
273,
374,
18,
20,
16,
527,
8467,
273,
374,
18,
20,
16,
5725,
273,
374,
18,
20,
16,
4463,
8467,
273,
374,
18,
20,
31,
202,
202,
20308,
1082,
380,
225,
4604,
326,
4068,
10804,
628,
326,
1818,
2
] |
if (cmp == BigInteger.LESS) { resSign = -op2Sign; resDigits = (op1Sign == op2Sign) ? subtract(op2.digits, op2Len, op1.digits, op1Len) : add(op2.digits, op2Len, op1.digits, op1Len); } else { resSign = op1Sign; if (op1Sign == op2Sign) { if (cmp == BigInteger.EQUALS) { return BigInteger.ZERO; } resDigits = subtract(op1.digits, op1Len, op2.digits, op2Len); } else { resDigits = add(op1.digits, op1Len, op2.digits, op2Len); } } BigInteger res = new BigInteger(resSign, resDigits.length, resDigits); res.cutOffLeadingZeroes(); return res; }
|
if (cmp == BigInteger.LESS) { resSign = -op2Sign; resDigits = ( op1Sign == op2Sign ) ? subtract (op2.digits, op2Len, op1.digits, op1Len) : add (op2.digits, op2Len, op1.digits, op1Len); } else { resSign = op1Sign; if (op1Sign == op2Sign) { if (cmp == BigInteger.EQUALS) { return BigInteger.ZERO; } resDigits = subtract (op1.digits, op1Len, op2.digits, op2Len); } else { resDigits = add (op1.digits, op1Len, op2.digits, op2Len); } } BigInteger res = new BigInteger (resSign, resDigits.length, resDigits); res.cutOffLeadingZeroes (); return res; }
|
static BigInteger subtract(BigInteger op1, BigInteger op2) { int resSign; int resDigits[]; int op1Sign = op1.sign; int op2Sign = op2.sign; if (op2Sign == 0) { return op1; } if (op1Sign == 0) { return op2.negate(); } int op1Len = op1.numberLength; int op2Len = op2.numberLength; if (op1Len + op2Len == 2) { long a = (op1.digits[0] & 0xFFFFFFFFL); long b = (op2.digits[0] & 0xFFFFFFFFL); if (op1Sign < 0) { a = -a; } if (op2Sign < 0) { b = -b; } return BigInteger.valueOf(a - b); } int cmp = ((op1Len != op2Len) ? ((op1Len > op2Len) ? 1 : -1) : Elementary.compareArrays(op1.digits, op2.digits, op1Len)); if (cmp == BigInteger.LESS) { resSign = -op2Sign; resDigits = (op1Sign == op2Sign) ? subtract(op2.digits, op2Len, op1.digits, op1Len) : add(op2.digits, op2Len, op1.digits, op1Len); } else { resSign = op1Sign; if (op1Sign == op2Sign) { if (cmp == BigInteger.EQUALS) { return BigInteger.ZERO; } resDigits = subtract(op1.digits, op1Len, op2.digits, op2Len); } else { resDigits = add(op1.digits, op1Len, op2.digits, op2Len); } } BigInteger res = new BigInteger(resSign, resDigits.length, resDigits); res.cutOffLeadingZeroes(); return res; }
|
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/9f90bead11df6c0bbe4086809e7c597ce940830d/Elementary.java/buggy/modules/math/src/main/java/java/math/Elementary.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
10246,
10418,
12,
24198,
1061,
21,
16,
10246,
1061,
22,
13,
288,
3639,
509,
400,
2766,
31,
3639,
509,
400,
9537,
8526,
31,
3639,
509,
1061,
21,
2766,
273,
1061,
21,
18,
2977,
31,
3639,
509,
1061,
22,
2766,
273,
1061,
22,
18,
2977,
31,
3639,
309,
261,
556,
22,
2766,
422,
374,
13,
288,
5411,
327,
1061,
21,
31,
3639,
289,
3639,
309,
261,
556,
21,
2766,
422,
374,
13,
288,
5411,
327,
1061,
22,
18,
82,
4784,
5621,
3639,
289,
3639,
509,
1061,
21,
2891,
273,
1061,
21,
18,
2696,
1782,
31,
3639,
509,
1061,
22,
2891,
273,
1061,
22,
18,
2696,
1782,
31,
3639,
309,
261,
556,
21,
2891,
397,
1061,
22,
2891,
422,
576,
13,
288,
5411,
1525,
279,
273,
261,
556,
21,
18,
16649,
63,
20,
65,
473,
374,
28949,
48,
1769,
5411,
1525,
324,
273,
261,
556,
22,
18,
16649,
63,
20,
65,
473,
374,
28949,
48,
1769,
5411,
309,
261,
556,
21,
2766,
411,
374,
13,
288,
7734,
279,
273,
300,
69,
31,
5411,
289,
5411,
309,
261,
556,
22,
2766,
411,
374,
13,
288,
7734,
324,
273,
300,
70,
31,
5411,
289,
5411,
327,
10246,
18,
1132,
951,
12,
69,
300,
324,
1769,
3639,
289,
3639,
509,
9411,
273,
14015,
556,
21,
2891,
480,
1061,
22,
2891,
13,
692,
14015,
556,
21,
2891,
405,
1061,
22,
2891,
13,
692,
404,
294,
300,
21,
13,
7734,
294,
3010,
814,
18,
9877,
12726,
12,
556,
21,
18,
16649,
16,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10246,
10418,
12,
24198,
1061,
21,
16,
10246,
1061,
22,
13,
288,
3639,
509,
400,
2766,
31,
3639,
509,
400,
9537,
8526,
31,
3639,
509,
1061,
21,
2766,
273,
1061,
21,
18,
2977,
31,
3639,
509,
1061,
22,
2766,
273,
1061,
22,
18,
2977,
31,
3639,
309,
261,
556,
22,
2766,
422,
374,
13,
288,
5411,
327,
1061,
21,
31,
3639,
289,
3639,
309,
261,
556,
21,
2766,
422,
374,
13,
288,
5411,
327,
1061,
22,
18,
82,
4784,
5621,
3639,
289,
3639,
509,
1061,
21,
2891,
273,
1061,
21,
18,
2696,
1782,
31,
3639,
509,
1061,
22,
2891,
273,
1061,
22,
18,
2696,
1782,
31,
3639,
309,
261,
556,
21,
2891,
397,
1061,
22,
2891,
422,
2
] |
if( ! nominalPeer.contains(detectedPeer)){
|
if( peerIP != null && ! nominalPeer.contains(detectedPeer)){
|
public Peer[] getHandshakeIPs(){ Peer[] p=null; if(detectedPeer == null && nominalPeer.size() == 0) return new Peer[0]; if( ! nominalPeer.contains(detectedPeer)){ p= new Peer[1+nominalPeer.size()]; p[0]=detectedPeer; for(int i=1;i<nominalPeer.size()+1;i++) p[i]=(Peer) nominalPeer.get(i-1); }else{ p = (Peer[]) nominalPeer.toArray(new Peer[nominalPeer.size()]); } // Hack for two nodes on the same IP that can't talk over inet for routing reasons InetAddress localhost = node.localhostAddress; InetAddress nodeIP = node.getPrimaryIPAddress(); if(nodeIP != null && nodeIP.equals(localhost)) return p; InetAddress peerIP = detectedPeer.getAddress(); if(peerIP != null && peerIP.equals(localhost)) return p; if(nodeIP != null && nodeIP.equals(peerIP)) { Peer[] newPeers = new Peer[p.length+1]; System.arraycopy(p, 0, newPeers, 0, p.length); newPeers[newPeers.length-1] = new Peer(node.localhostAddress, detectedPeer.getPort()); p = newPeers; } return p; }
|
52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/adea4eef4bc58940c38dc3f9301a3c0cb2f7e9a9/PeerNode.java/buggy/src/freenet/node/PeerNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
10669,
8526,
336,
14545,
18246,
1435,
95,
377,
202,
6813,
8526,
293,
33,
2011,
31,
377,
202,
377,
202,
430,
12,
8238,
828,
6813,
422,
446,
597,
12457,
1490,
6813,
18,
1467,
1435,
422,
374,
13,
327,
394,
10669,
63,
20,
15533,
377,
202,
377,
202,
430,
12,
4261,
2579,
480,
446,
597,
401,
12457,
1490,
6813,
18,
12298,
12,
8238,
828,
6813,
3719,
95,
4202,
202,
202,
84,
33,
394,
10669,
63,
21,
15,
12306,
1490,
6813,
18,
1467,
1435,
15533,
377,
202,
202,
84,
63,
20,
65,
33,
8238,
828,
6813,
31,
377,
202,
202,
1884,
12,
474,
277,
33,
21,
31,
77,
32,
12306,
1490,
6813,
18,
1467,
1435,
15,
21,
31,
77,
27245,
377,
1082,
202,
84,
63,
77,
65,
28657,
6813,
13,
12457,
1490,
6813,
18,
588,
12,
77,
17,
21,
1769,
377,
202,
97,
12107,
95,
377,
202,
202,
84,
273,
261,
6813,
63,
5717,
12457,
1490,
6813,
18,
31447,
12,
2704,
10669,
63,
12306,
1490,
6813,
18,
1467,
1435,
19226,
26924,
377,
202,
97,
377,
202,
759,
670,
484,
364,
2795,
2199,
603,
326,
1967,
2971,
716,
848,
1404,
26591,
1879,
17661,
364,
7502,
14000,
377,
202,
382,
278,
1887,
17365,
273,
756,
18,
13014,
1887,
31,
377,
202,
382,
278,
1887,
756,
2579,
273,
756,
18,
588,
6793,
22507,
5621,
377,
202,
430,
12,
2159,
2579,
480,
446,
597,
756,
2579,
18,
14963,
12,
13014,
3719,
327,
293,
31,
377,
202,
382,
278,
1887,
4261,
2579,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
10669,
8526,
336,
14545,
18246,
1435,
95,
377,
202,
6813,
8526,
293,
33,
2011,
31,
377,
202,
377,
202,
430,
12,
8238,
828,
6813,
422,
446,
597,
12457,
1490,
6813,
18,
1467,
1435,
422,
374,
13,
327,
394,
10669,
63,
20,
15533,
377,
202,
377,
202,
430,
12,
4261,
2579,
480,
446,
597,
401,
12457,
1490,
6813,
18,
12298,
12,
8238,
828,
6813,
3719,
95,
4202,
202,
202,
84,
33,
394,
10669,
63,
21,
15,
12306,
1490,
6813,
18,
1467,
1435,
15533,
377,
202,
202,
84,
63,
20,
65,
33,
8238,
828,
6813,
31,
377,
202,
202,
1884,
12,
474,
277,
33,
21,
31,
77,
32,
12306,
1490,
6813,
18,
1467,
1435,
15,
21,
31,
77,
27245,
2
] |
try { setStyle((String) evalAttr("style", getStyleExpr(), String.class)); } catch (NullAttributeException ex) { }
|
if ((bool = EvalHelper.evalBoolean("readonly", getReadonlyExpr(), this, pageContext)) != null) setReadonly(bool.booleanValue());
|
private void evaluateExpressions() throws JspException { try { setAccesskey((String) evalAttr("accesskey", getAccesskeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setAlt((String) evalAttr("alt", getAltExpr(), String.class)); } catch (NullAttributeException ex) { } try { setAltKey((String) evalAttr("altKey", getAltKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setDisabled(((Boolean) evalAttr("disabled", getDisabledExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setIndexed(((Boolean) evalAttr("indexed", getIndexedExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setMaxlength((String) evalAttr("maxlength", getMaxlengthExpr(), String.class)); } catch (NullAttributeException ex) { } try { setName((String) evalAttr("name", getNameExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnblur((String) evalAttr("onblur", getOnblurExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnchange((String) evalAttr("onchange", getOnchangeExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnclick((String) evalAttr("onclick", getOnclickExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOndblclick((String) evalAttr("ondblclick", getOndblclickExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnfocus((String) evalAttr("onfocus", getOnfocusExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeydown((String) evalAttr("onkeydown", getOnkeydownExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeypress((String) evalAttr("onkeypress", getOnkeypressExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeyup((String) evalAttr("onkeyup", getOnkeyupExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmousedown((String) evalAttr("onmousedown", getOnmousedownExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmousemove((String) evalAttr("onmousemove", getOnmousemoveExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseout((String) evalAttr("onmouseout", getOnmouseoutExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseover((String) evalAttr("onmouseover", getOnmouseoverExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseup((String) evalAttr("onmouseup", getOnmouseupExpr(), String.class)); } catch (NullAttributeException ex) { } try { setProperty((String) evalAttr("property", getPropertyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setReadonly(((Boolean) evalAttr("readonly", getReadonlyExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setStyle((String) evalAttr("style", getStyleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setSize((String) evalAttr("size", getSizeExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyleClass((String) evalAttr("styleClass", getStyleClassExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyleId((String) evalAttr("styleId", getStyleIdExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTabindex((String) evalAttr("tabindex", getTabindexExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTitle((String) evalAttr("title", getTitleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTitleKey((String) evalAttr("titleKey", getTitleKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setValue((String) evalAttr("value", getValueExpr(), String.class)); } catch (NullAttributeException ex) { } }
|
8610 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8610/161d973cb8d39005faf380ea401e605000b8884b/ELTextTag.java/clean/struts-el/src/share/org/apache/strutsel/taglib/html/ELTextTag.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
1862,
856,
12443,
780,
13,
5302,
3843,
2932,
3860,
856,
3113,
21909,
856,
4742,
9334,
4766,
6647,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
12443,
780,
13,
5302,
3843,
2932,
2390,
3113,
336,
10655,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
653,
12443,
780,
13,
5302,
3843,
2932,
2390,
653,
3113,
336,
10655,
653,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
8853,
12443,
12,
5507,
13,
5302,
3843,
2932,
9278,
3113,
336,
8853,
4742,
9334,
4766,
5411,
3411,
18,
1106,
13,
2934,
13491,
16708,
10663,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
15034,
12443,
12,
5507,
13,
5302,
3843,
2932,
19626,
3113,
8088,
329,
4742,
9334,
4766,
6647,
3411,
18,
1106,
13,
2934,
15604,
16708,
10663,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
10851,
2469,
12443,
780,
13,
5302,
3843,
2932,
27875,
3113,
7288,
2469,
4742,
9334,
4766,
6647,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
6788,
12443,
780,
13,
5302,
3843,
2932,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
1862,
856,
12443,
780,
13,
5302,
3843,
2932,
3860,
856,
3113,
21909,
856,
4742,
9334,
4766,
6647,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
12443,
780,
13,
5302,
3843,
2932,
2390,
3113,
336,
10655,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
653,
12443,
780,
13,
5302,
3843,
2932,
2390,
653,
3113,
336,
10655,
653,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
2
] |
final PsiReference[] references = searchHelper.findReferences(aClass, new LocalSearchScope(containingFile), false);
|
final Collection<PsiReference> references = ReferencesSearch.search(aClass, new LocalSearchScope(containingFile)).findAll();
|
public void addClassCollisions(PsiElement referenceElement, String newName, List<UsageInfo> results) { final PsiClass renamedClass = myRenamedClass; final PsiResolveHelper resolveHelper = referenceElement.getManager().getResolveHelper(); final PsiSearchHelper searchHelper = referenceElement.getManager().getSearchHelper(); final PsiClass aClass = resolveHelper.resolveReferencedClass(newName, referenceElement); if (aClass == null) return; final PsiFile containingFile = referenceElement.getContainingFile(); final String text = referenceElement.getText(); if (Comparing.equal(myRenamedClassQualifiedName, removeSpaces(text))) return; if (myProcessedFiles.contains(containingFile)) return; final PsiReference[] references = searchHelper.findReferences(aClass, new LocalSearchScope(containingFile), false); for (PsiReference reference : references) { final PsiElement collisionReferenceElement = reference.getElement(); if (collisionReferenceElement instanceof PsiJavaCodeReferenceElement) { final PsiElement parent = collisionReferenceElement.getParent(); if (!(parent instanceof PsiImportStatement)) { if (aClass.getQualifiedName() != null) { results.add(new ClassHidesImportedClassUsageInfo((PsiJavaCodeReferenceElement)collisionReferenceElement, renamedClass, aClass)); } else { results.add(new ClassHidesUnqualifiableClassUsageInfo((PsiJavaCodeReferenceElement)collisionReferenceElement, renamedClass, aClass)); } } else { results.add(new CollidingClassImportUsageInfo((PsiImportStatement)parent, renamedClass)); } } } myProcessedFiles.add(containingFile); }
|
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/7d2b9c5e18420ed4317412ea7426c1f1306a06a2/RenameUtil.java/clean/refactoring/impl/com/intellij/refactoring/rename/RenameUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
9058,
13535,
12682,
12,
52,
7722,
1046,
2114,
1046,
16,
514,
13253,
16,
987,
32,
5357,
966,
34,
1686,
13,
288,
1377,
727,
453,
7722,
797,
17657,
797,
273,
3399,
16290,
2808,
797,
31,
1377,
727,
453,
7722,
8460,
2276,
2245,
2276,
273,
2114,
1046,
18,
588,
1318,
7675,
588,
8460,
2276,
5621,
1377,
727,
453,
7722,
2979,
2276,
1623,
2276,
273,
2114,
1046,
18,
588,
1318,
7675,
588,
2979,
2276,
5621,
1377,
727,
453,
7722,
797,
20148,
273,
2245,
2276,
18,
10828,
22344,
797,
12,
2704,
461,
16,
2114,
1046,
1769,
1377,
309,
261,
69,
797,
422,
446,
13,
327,
31,
1377,
727,
453,
7722,
812,
4191,
812,
273,
2114,
1046,
18,
588,
24344,
812,
5621,
1377,
727,
514,
977,
273,
2114,
1046,
18,
588,
1528,
5621,
1377,
309,
261,
799,
12583,
18,
9729,
12,
4811,
16290,
2808,
797,
12345,
16,
1206,
12077,
12,
955,
20349,
327,
31,
1377,
309,
261,
4811,
13533,
2697,
18,
12298,
12,
1213,
3280,
812,
3719,
327,
31,
1377,
727,
453,
7722,
2404,
8526,
5351,
273,
1623,
2276,
18,
4720,
8221,
12,
69,
797,
16,
394,
3566,
2979,
3876,
12,
1213,
3280,
812,
3631,
28524,
565,
629,
1769,
1377,
364,
261,
52,
7722,
2404,
2114,
294,
5351,
13,
288,
3639,
727,
453,
7722,
1046,
17740,
2404,
1046,
273,
2114,
18,
21336,
5621,
3639,
309,
261,
12910,
1951,
2404,
1046,
1276,
453,
7722,
5852,
1085,
2404,
1046,
13,
288,
1850,
727,
453,
7722,
1046,
982,
273,
17740,
2404,
1046,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9058,
13535,
12682,
12,
52,
7722,
1046,
2114,
1046,
16,
514,
13253,
16,
987,
32,
5357,
966,
34,
1686,
13,
288,
1377,
727,
453,
7722,
797,
17657,
797,
273,
3399,
16290,
2808,
797,
31,
1377,
727,
453,
7722,
8460,
2276,
2245,
2276,
273,
2114,
1046,
18,
588,
1318,
7675,
588,
8460,
2276,
5621,
1377,
727,
453,
7722,
2979,
2276,
1623,
2276,
273,
2114,
1046,
18,
588,
1318,
7675,
588,
2979,
2276,
5621,
1377,
727,
453,
7722,
797,
20148,
273,
2245,
2276,
18,
10828,
22344,
797,
12,
2704,
461,
16,
2114,
1046,
1769,
1377,
309,
261,
69,
797,
422,
446,
13,
327,
31,
1377,
727,
453,
7722,
812,
4191,
812,
273,
2114,
1046,
18,
588,
24344,
812,
2
] |
MessageDialog.openInformation(new Shell(), "EOGenerator Finished", outputStr);
|
EOGeneratorResultsDialog resultsDialog = new EOGeneratorResultsDialog(new Shell(), outputStr); resultsDialog.open();
|
public void run() { MessageDialog.openInformation(new Shell(), "EOGenerator Finished", outputStr); }
|
46678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46678/c1afb25d40646e099974f68b7ae09168d8db9780/GenerateAction.java/buggy/wolips/plugins/org.objectstyle.wolips.eogenerator.ui/java/org/objectstyle/wolips/eogenerator/ui/actions/GenerateAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
6647,
1071,
918,
1086,
1435,
288,
5411,
512,
51,
3908,
3447,
6353,
1686,
6353,
273,
394,
512,
51,
3908,
3447,
6353,
12,
2704,
19433,
9334,
876,
1585,
1769,
1686,
6353,
18,
3190,
5621,
1850,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
6647,
1071,
918,
1086,
1435,
288,
5411,
512,
51,
3908,
3447,
6353,
1686,
6353,
273,
394,
512,
51,
3908,
3447,
6353,
12,
2704,
19433,
9334,
876,
1585,
1769,
1686,
6353,
18,
3190,
5621,
1850,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return current;
|
} return null;
|
public ASTNode findChild(ASTNode parent) { if(myParentType != null) LOG.assertTrue(parent.getElementType() == myParentType); ASTNode current = parent.getFirstChildNode(); while(current != null && current.getElementType() != myElementType) current = current.getTreeNext(); return current; }
|
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/2cea9a79a815e14293ef62b2ba40817c6af52dd1/DefaultRoleFinder.java/buggy/source/com/intellij/psi/tree/DefaultRoleFinder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9183,
907,
1104,
1763,
12,
9053,
907,
982,
13,
288,
565,
309,
12,
4811,
3054,
559,
480,
446,
13,
2018,
18,
11231,
5510,
12,
2938,
18,
588,
17481,
1435,
422,
3399,
3054,
559,
1769,
565,
9183,
907,
783,
273,
982,
18,
588,
3759,
25550,
5621,
565,
1323,
12,
2972,
480,
446,
597,
783,
18,
588,
17481,
1435,
480,
3399,
17481,
13,
1377,
783,
273,
783,
18,
588,
2471,
2134,
5621,
565,
289,
327,
446,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
9183,
907,
1104,
1763,
12,
9053,
907,
982,
13,
288,
565,
309,
12,
4811,
3054,
559,
480,
446,
13,
2018,
18,
11231,
5510,
12,
2938,
18,
588,
17481,
1435,
422,
3399,
3054,
559,
1769,
565,
9183,
907,
783,
273,
982,
18,
588,
3759,
25550,
5621,
565,
1323,
12,
2972,
480,
446,
597,
783,
18,
588,
17481,
1435,
480,
3399,
17481,
13,
1377,
783,
273,
783,
18,
588,
2471,
2134,
5621,
565,
289,
327,
446,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if ( StringUtils.isNotEmpty( webXml ) )
|
if ( webXml != null )
|
public void copyResources( File sourceDirectory, File webappDirectory, String webXml, String containerConfigXML ) throws IOException { if ( !sourceDirectory.equals( webappDirectory ) ) { getLog().info( "Copy webapp resources to " + webappDirectory.getAbsolutePath() ); if ( getWarSourceDirectory().exists() ) { String[] fileNames = getWarFiles( sourceDirectory ); for ( int i = 0; i < fileNames.length; i++ ) { FileUtils.copyFileIfModified( new File( sourceDirectory, fileNames[i] ), new File( webappDirectory, fileNames[i] ) ); } } if ( StringUtils.isNotEmpty( webXml ) ) { //rename to web.xml File webinfDir = new File( webappDirectory, WEB_INF ); FileUtils.copyFileIfModified( new File( webXml ), new File( webinfDir, "/web.xml" ) ); } if ( StringUtils.isNotEmpty( containerConfigXML ) ) { File metainfDir = new File( webappDirectory, META_INF ); String xmlFileName = new File( containerConfigXML ).getName(); FileUtils.copyFileIfModified( new File( containerConfigXML ), new File( metainfDir, xmlFileName ) ); } } }
|
51807 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51807/45bc735830364c13913cac806f59cfb981661d62/AbstractWarMojo.java/buggy/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/AbstractWarMojo.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1610,
3805,
12,
1387,
1084,
2853,
16,
1387,
28945,
2853,
16,
514,
3311,
4432,
16,
514,
1478,
809,
4201,
262,
3639,
1216,
1860,
565,
288,
3639,
309,
261,
401,
3168,
2853,
18,
14963,
12,
28945,
2853,
262,
262,
3639,
288,
5411,
9189,
7675,
1376,
12,
315,
2951,
28945,
2703,
358,
315,
397,
28945,
2853,
18,
588,
10368,
743,
1435,
11272,
5411,
309,
261,
13876,
297,
1830,
2853,
7675,
1808,
1435,
262,
5411,
288,
7734,
514,
8526,
27375,
273,
13876,
297,
2697,
12,
1084,
2853,
11272,
7734,
364,
261,
509,
277,
273,
374,
31,
277,
411,
27375,
18,
2469,
31,
277,
9904,
262,
7734,
288,
10792,
13779,
18,
3530,
812,
2047,
4575,
12,
394,
1387,
12,
1084,
2853,
16,
27375,
63,
77,
65,
262,
16,
4766,
5375,
394,
1387,
12,
28945,
2853,
16,
27375,
63,
77,
65,
262,
11272,
7734,
289,
5411,
289,
5411,
309,
261,
3311,
4432,
480,
446,
262,
5411,
288,
7734,
368,
18539,
358,
3311,
18,
2902,
7734,
1387,
3311,
10625,
1621,
273,
394,
1387,
12,
28945,
2853,
16,
19877,
67,
19212,
11272,
7734,
13779,
18,
3530,
812,
2047,
4575,
12,
394,
1387,
12,
3311,
4432,
262,
16,
394,
1387,
12,
3311,
10625,
1621,
16,
2206,
4875,
18,
2902,
6,
262,
11272,
5411,
289,
5411,
309,
261,
5778,
18,
291,
18431,
12,
1478,
809,
4201,
262,
262,
5411,
288,
7734,
1387,
5100,
530,
74,
1621,
273,
394,
1387,
12,
28945,
2853,
16,
16970,
67,
19212,
11272,
7734,
514,
2025,
4771,
273,
394,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1610,
3805,
12,
1387,
1084,
2853,
16,
1387,
28945,
2853,
16,
514,
3311,
4432,
16,
514,
1478,
809,
4201,
262,
3639,
1216,
1860,
565,
288,
3639,
309,
261,
401,
3168,
2853,
18,
14963,
12,
28945,
2853,
262,
262,
3639,
288,
5411,
9189,
7675,
1376,
12,
315,
2951,
28945,
2703,
358,
315,
397,
28945,
2853,
18,
588,
10368,
743,
1435,
11272,
5411,
309,
261,
13876,
297,
1830,
2853,
7675,
1808,
1435,
262,
5411,
288,
7734,
514,
8526,
27375,
273,
13876,
297,
2697,
12,
1084,
2853,
11272,
7734,
364,
261,
509,
277,
273,
374,
31,
277,
411,
27375,
18,
2469,
31,
277,
9904,
262,
7734,
288,
10792,
13779,
18,
3530,
812,
2047,
4575,
12,
394,
1387,
12,
1084,
2
] |
descr = LeicaReader.stripString(descr);
|
descr = DataTools.stripString(descr);
|
protected void initFile(String id) throws FormatException, IOException { super.initFile(id); offsets = new Vector(); in = new RandomAccessFile(id, "r"); littleEndian = true; // read the header byte[] header = new byte[8]; in.read(header); if ((header[0] != 0x70) && (header[3] != 0x70)) { throw new FormatException(id + " is not a valid Leica LIF file"); } int chunkLength = DataTools.bytesToInt(header, 4, 4, littleEndian); // read and parse the XML description byte[] xmlChunk = new byte[chunkLength]; in.read(xmlChunk); if (xmlChunk[0] != 0x2a) { throw new FormatException("Invalid XML description"); } // number of Unicode characters in the XML block int nc = DataTools.bytesToInt(xmlChunk, 1, 4, littleEndian); String xml = new String(xmlChunk, 5, nc*2); xml = LeicaReader.stripString(xml); while (in.getFilePointer() < in.length()) { byte[] four = new byte[4]; in.read(four); int check = DataTools.bytesToInt(four, littleEndian); if (check != 0x70) { throw new FormatException("Invalid Memory Block"); } in.read(four); int memLength = DataTools.bytesToInt(four, littleEndian); if (in.read() != 0x2a) { throw new FormatException("Invalid Memory Description"); } in.read(four); int blockLength = DataTools.bytesToInt(four, littleEndian); if (in.read() != 0x2a) { throw new FormatException("Invalid Memory Description"); } in.read(four); int descrLength = DataTools.bytesToInt(four, littleEndian); byte[] memDescr = new byte[2*descrLength]; in.read(memDescr); String descr = new String(memDescr); descr = LeicaReader.stripString(descr); if (blockLength > 0) { offsets.add(new Long(in.getFilePointer())); } in.skipBytes(blockLength); } numImages = offsets.size(); dims = new int[numImages][6]; initMetadata(xml); }
|
55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/91859a26506b8a1d312b398da2c3ecd94e02fa60/LIFReader.java/buggy/loci/formats/LIFReader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
2240,
18,
2738,
812,
12,
350,
1769,
565,
8738,
273,
394,
5589,
5621,
565,
316,
273,
394,
8072,
26933,
12,
350,
16,
315,
86,
8863,
565,
328,
10609,
273,
638,
31,
565,
368,
855,
326,
1446,
565,
1160,
8526,
1446,
273,
394,
1160,
63,
28,
15533,
565,
316,
18,
896,
12,
3374,
1769,
565,
309,
14015,
3374,
63,
20,
65,
480,
374,
92,
7301,
13,
597,
261,
3374,
63,
23,
65,
480,
374,
92,
7301,
3719,
288,
1377,
604,
394,
4077,
503,
12,
350,
397,
315,
353,
486,
279,
923,
3519,
26433,
511,
5501,
585,
8863,
565,
289,
565,
509,
2441,
1782,
273,
1910,
10348,
18,
3890,
17864,
12,
3374,
16,
1059,
16,
1059,
16,
328,
10609,
1769,
565,
368,
855,
471,
1109,
326,
3167,
2477,
565,
1160,
8526,
2025,
5579,
273,
394,
1160,
63,
6551,
1782,
15533,
565,
316,
18,
896,
12,
2902,
5579,
1769,
565,
309,
261,
2902,
5579,
63,
20,
65,
480,
374,
92,
22,
69,
13,
288,
1377,
604,
394,
4077,
503,
2932,
1941,
3167,
2477,
8863,
565,
289,
565,
368,
1300,
434,
9633,
3949,
316,
326,
3167,
1203,
565,
509,
8194,
273,
1910,
10348,
18,
3890,
17864,
12,
2902,
5579,
16,
404,
16,
1059,
16,
328,
10609,
1769,
565,
514,
2025,
273,
394,
514,
12,
2902,
5579,
16,
1381,
16,
8194,
14,
22,
1769,
565,
2025,
273,
3519,
26433,
2514,
18,
6406,
780,
12,
2902,
1769,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
2240,
18,
2738,
812,
12,
350,
1769,
565,
8738,
273,
394,
5589,
5621,
565,
316,
273,
394,
8072,
26933,
12,
350,
16,
315,
86,
8863,
565,
328,
10609,
273,
638,
31,
565,
368,
855,
326,
1446,
565,
1160,
8526,
1446,
273,
394,
1160,
63,
28,
15533,
565,
316,
18,
896,
12,
3374,
1769,
565,
309,
14015,
3374,
63,
20,
65,
480,
374,
92,
7301,
13,
597,
261,
3374,
63,
23,
65,
480,
374,
92,
7301,
3719,
288,
1377,
604,
394,
4077,
503,
12,
350,
397,
315,
353,
486,
279,
923,
3519,
26433,
511,
5501,
585,
8863,
565,
289,
565,
509,
2441,
1782,
273,
2
] |
if(returnStatement.getReturnValue() == null){
|
final PsiExpression returnValue = returnStatement.getReturnValue(); if (returnValue == null) {
|
public static boolean isReturn(PsiStatement statement, String value){ if(statement == null){ return false; } if(!(statement instanceof PsiReturnStatement)){ return false; } final PsiReturnStatement returnStatement = (PsiReturnStatement) statement; if(returnStatement.getReturnValue() == null){ return false; } final PsiExpression returnValue = returnStatement.getReturnValue(); final String returnValueText = returnValue.getText(); return value.equals(returnValueText); }
|
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/0c22d3bce35a1ee7d70c329328f649614cf6f21a/ConditionalUtils.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/controlflow/ConditionalUtils.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
353,
990,
12,
52,
7722,
3406,
3021,
16,
514,
460,
15329,
3639,
309,
12,
11516,
422,
446,
15329,
5411,
327,
629,
31,
3639,
289,
3639,
309,
12,
5,
12,
11516,
1276,
453,
7722,
990,
3406,
3719,
95,
5411,
327,
629,
31,
3639,
289,
3639,
727,
453,
7722,
990,
3406,
327,
3406,
273,
7734,
261,
52,
7722,
990,
3406,
13,
3021,
31,
3639,
727,
453,
7722,
2300,
7750,
273,
327,
3406,
18,
588,
19092,
5621,
309,
261,
2463,
620,
422,
446,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
727,
453,
7722,
2300,
7750,
273,
327,
3406,
18,
588,
19092,
5621,
3639,
727,
514,
7750,
1528,
273,
7750,
18,
588,
1528,
5621,
3639,
327,
460,
18,
14963,
12,
2463,
620,
1528,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
760,
1250,
353,
990,
12,
52,
7722,
3406,
3021,
16,
514,
460,
15329,
3639,
309,
12,
11516,
422,
446,
15329,
5411,
327,
629,
31,
3639,
289,
3639,
309,
12,
5,
12,
11516,
1276,
453,
7722,
990,
3406,
3719,
95,
5411,
327,
629,
31,
3639,
289,
3639,
727,
453,
7722,
990,
3406,
327,
3406,
273,
7734,
261,
52,
7722,
990,
3406,
13,
3021,
31,
3639,
727,
453,
7722,
2300,
7750,
273,
327,
3406,
18,
588,
19092,
5621,
309,
261,
2463,
620,
422,
446,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
727,
453,
7722,
2300,
7750,
273,
327,
3406,
18,
588,
19092,
5621,
3639,
727,
514,
7750,
1528,
273,
7750,
18,
588,
1528,
5621,
3639,
327,
460,
2
] |
case 26: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(25, 27); break; case 27: if (curChar == 95) jjCheckNAdd(28); break; case 28: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(28, 30); break; case 29: if (curChar == 64) jjCheckNAdd(30); break; case 30: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(30, 31); break; case 32: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 5) kind = 5; jjCheckNAddTwoStates(31, 32); break; case 33: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(33, 34); break; case 35: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 6) kind = 6; jjCheckNAddTwoStates(34, 35); break; case 36: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(36, 37); break; case 37: if (curChar == 95) jjCheckNAddTwoStates(38, 39); break; case 38: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(38, 39); break; case 40: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjstateSet[jjnewStateCnt++] = 40; break; case 41: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(41, 42); break; case 43: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(43, 44); break; case 44: if (curChar == 95) jjCheckNAddTwoStates(45, 46); break; case 45: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(45, 46); break; case 47: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(43, 44); break; case 48: if (curChar == 95) jjCheckNAdd(49); break; case 49: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(44, 49); break; case 50: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(50, 51); break; case 52: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(52, 53); break; case 53: if (curChar == 95) jjCheckNAddTwoStates(54, 55); break; case 54: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(54, 55); break; case 56: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(56, 57); break; case 57: if (curChar == 95) jjCheckNAdd(58); break; case 58: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(58, 59); break; case 59: if (curChar == 95) jjCheckNAddTwoStates(60, 61); break; case 60: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(60, 61); break; case 62: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(57, 62); break; case 63: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(63, 64); break; case 65: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(31, 36); break; case 66: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(66, 67); break; case 68: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 2) kind = 2; jjCheckNAddTwoStates(67, 68); break; case 69: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(69, 70); break; case 71: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(45, 46); break; case 73: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(73, 74); break; case 74: if (curChar == 64) jjCheckNAdd(75); break; case 75: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 4) kind = 4; jjCheckNAdd(75);
|
case 82: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(49, 54);
|
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 76; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0x3ff000000000000L & l) != 0L) { if (kind > 1) kind = 1; jjCheckNAddStates(0, 18); } else if ((0x7000081000000000L & l) != 0L) { if (kind > 8) kind = 8; } if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(19, 24); break; case 1: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 1) kind = 1; jjCheckNAddTwoStates(1, 2); break; case 3: if ((0x7000081000000000L & l) != 0L) kind = 8; break; case 5: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(19, 24); break; case 6: case 42: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(6, 7); break; case 7: if ((0xd00000000000L & l) != 0L) jjCheckNAdd(8); break; case 8: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAdd(8); break; case 9: case 51: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(9, 10); break; case 10: if ((0xd00000000000L & l) != 0L) jjCheckNAdd(11); break; case 11: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(11, 12); break; case 12: if ((0xd00000000000L & l) != 0L) jjCheckNAddTwoStates(13, 14); break; case 13: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(13, 14); break; case 14: case 15: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(10, 15); break; case 16: case 64: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(16, 17); break; case 17: if ((0xd00000000000L & l) != 0L) jjCheckNAdd(18); break; case 18: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 19: if ((0xd00000000000L & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 20: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 21: case 22: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(22, 23); break; case 23: if ((0xd00000000000L & l) != 0L) jjCheckNAdd(24); break; case 24: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(19, 24); break; case 25: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 1) kind = 1; jjCheckNAddStates(0, 18); break; case 26: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(25, 27); break; case 27: if ((0x600000000000L & l) != 0L) jjCheckNAdd(28); break; case 28: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(28, 30); break; case 30: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(30, 31); break; case 31: if ((0x600000000000L & l) != 0L) jjCheckNAdd(32); break; case 32: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 5) kind = 5; jjCheckNAddTwoStates(31, 32); break; case 33: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(33, 34); break; case 34: if (curChar == 46) jjCheckNAdd(35); break; case 35: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 6) kind = 6; jjCheckNAddTwoStates(34, 35); break; case 36: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(36, 37); break; case 37: if ((0xd00000000000L & l) != 0L) jjCheckNAddTwoStates(38, 39); break; case 38: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(38, 39); break; case 39: case 40: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAdd(40); break; case 41: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(41, 42); break; case 43: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(43, 44); break; case 44: if ((0xd00000000000L & l) != 0L) jjCheckNAddTwoStates(45, 46); break; case 45: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(45, 46); break; case 46: case 47: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(47, 48); break; case 48: if ((0xd00000000000L & l) != 0L) jjCheckNAdd(49); break; case 49: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(44, 49); break; case 50: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(50, 51); break; case 52: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(52, 53); break; case 53: if ((0xd00000000000L & l) != 0L) jjCheckNAddTwoStates(54, 55); break; case 54: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(54, 55); break; case 55: case 56: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(56, 57); break; case 57: if ((0xd00000000000L & l) != 0L) jjCheckNAdd(58); break; case 58: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(58, 59); break; case 59: if ((0xd00000000000L & l) != 0L) jjCheckNAddTwoStates(60, 61); break; case 60: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(60, 61); break; case 61: case 62: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(57, 62); break; case 63: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(63, 64); break; case 67: if (curChar == 39) jjstateSet[jjnewStateCnt++] = 68; break; case 70: if (curChar == 46) jjCheckNAdd(71); break; case 72: if (curChar != 46) break; if (kind > 3) kind = 3; jjCheckNAdd(71); break; case 74: if (curChar == 38) jjstateSet[jjnewStateCnt++] = 75; break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(31, 36); else if ((0x4000000040000000L & l) != 0L) { if (kind > 8) kind = 8; } if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 1) kind = 1; jjCheckNAddStates(0, 18); } break; case 1: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 1) kind = 1; jjCheckNAddTwoStates(1, 2); break; case 3: if ((0x4000000040000000L & l) != 0L) kind = 8; break; case 6: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(37, 38); break; case 7: if (curChar == 95) jjCheckNAdd(8); break; case 8: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAdd(8); break; case 9: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(9, 10); break; case 10: if (curChar == 95) jjCheckNAdd(11); break; case 11: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(11, 12); break; case 12: if (curChar == 95) jjCheckNAddTwoStates(13, 14); break; case 13: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(13, 14); break; case 15: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(10, 15); break; case 16: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(39, 40); break; case 17: if (curChar == 95) jjCheckNAdd(18); break; case 18: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 19: if (curChar == 95) jjCheckNAddTwoStates(20, 21); break; case 20: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 22: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(41, 42); break; case 23: if (curChar == 95) jjCheckNAdd(24); break; case 24: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(19, 24); break; case 25: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 1) kind = 1; jjCheckNAddStates(0, 18); break; case 26: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(25, 27); break; case 27: if (curChar == 95) jjCheckNAdd(28); break; case 28: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(28, 30); break; case 29: if (curChar == 64) jjCheckNAdd(30); break; case 30: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(30, 31); break; case 32: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 5) kind = 5; jjCheckNAddTwoStates(31, 32); break; case 33: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(33, 34); break; case 35: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 6) kind = 6; jjCheckNAddTwoStates(34, 35); break; case 36: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(36, 37); break; case 37: if (curChar == 95) jjCheckNAddTwoStates(38, 39); break; case 38: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(38, 39); break; case 40: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjstateSet[jjnewStateCnt++] = 40; break; case 41: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(41, 42); break; case 43: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(43, 44); break; case 44: if (curChar == 95) jjCheckNAddTwoStates(45, 46); break; case 45: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(45, 46); break; case 47: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(43, 44); break; case 48: if (curChar == 95) jjCheckNAdd(49); break; case 49: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(44, 49); break; case 50: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(50, 51); break; case 52: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(52, 53); break; case 53: if (curChar == 95) jjCheckNAddTwoStates(54, 55); break; case 54: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(54, 55); break; case 56: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(56, 57); break; case 57: if (curChar == 95) jjCheckNAdd(58); break; case 58: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(58, 59); break; case 59: if (curChar == 95) jjCheckNAddTwoStates(60, 61); break; case 60: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(60, 61); break; case 62: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(57, 62); break; case 63: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(63, 64); break; case 65: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(31, 36); break; case 66: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(66, 67); break; case 68: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 2) kind = 2; jjCheckNAddTwoStates(67, 68); break; case 69: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(69, 70); break; case 71: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(45, 46); break; case 73: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(73, 74); break; case 74: if (curChar == 64) jjCheckNAdd(75); break; case 75: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 4) kind = 4; jjCheckNAdd(75); break; default : break; } } while(i != startsAt); } else { int hiByte = (int)(curChar >> 8); int i1 = hiByte >> 6; long l1 = 1L << (hiByte & 077); int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAdd(1); if (jjCanMove_2(hiByte, i1, i2, l1, l2)) { if (kind > 8) kind = 8; } if (jjCanMove_3(hiByte, i1, i2, l1, l2)) { if (kind > 14) kind = 14; } if (jjCanMove_4(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(19, 24); if (jjCanMove_1(hiByte, i1, i2, l1, l2)) { if (kind > 1) kind = 1; jjCheckNAddStates(0, 18); } if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(31, 36); break; case 1: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 1) kind = 1; jjCheckNAddTwoStates(1, 2); break; case 2: if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 1) kind = 1; break; case 3: if (jjCanMove_2(hiByte, i1, i2, l1, l2) && kind > 8) kind = 8; break; case 4: if (jjCanMove_3(hiByte, i1, i2, l1, l2) && kind > 14) kind = 14; break; case 5: if (jjCanMove_4(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(19, 24); break; case 6: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(6, 7); break; case 8: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjstateSet[jjnewStateCnt++] = 8; break; case 9: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(9, 10); break; case 11: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjAddStates(47, 48); break; case 13: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjAddStates(49, 50); break; case 14: if (!jjCanMove_4(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(10, 15); break; case 15: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(10, 15); break; case 16: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(16, 17); break; case 18: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(18, 19); break; case 20: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjAddStates(51, 52); break; case 21: if (jjCanMove_4(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(22, 23); break; case 22: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(22, 23); break; case 24: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(19, 24); break; case 25: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 1) kind = 1; jjCheckNAddStates(0, 18); break; case 26: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(25, 27); break; case 28: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(28, 30); break; case 30: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(30, 31); break; case 32: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 5) kind = 5; jjCheckNAddTwoStates(31, 32); break; case 33: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(33, 34); break; case 35: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 6) kind = 6; jjCheckNAddTwoStates(34, 35); break; case 36: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(36, 37); break; case 38: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjAddStates(53, 54); break; case 39: if (!jjCanMove_4(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAdd(40); break; case 40: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAdd(40); break; case 41: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(41, 42); break; case 42: if (jjCanMove_4(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(6, 7); break; case 43: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(43, 44); break; case 45: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjAddStates(55, 56); break; case 46: if (jjCanMove_4(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(47, 48); break; case 47: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(47, 48); break; case 49: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(44, 49); break; case 50: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(50, 51); break; case 51: if (jjCanMove_4(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(9, 10); break; case 52: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(52, 53); break; case 54: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjAddStates(57, 58); break; case 55: if (jjCanMove_4(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(56, 57); break; case 56: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(56, 57); break; case 58: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjAddStates(59, 60); break; case 60: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjAddStates(61, 62); break; case 61: if (!jjCanMove_4(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(57, 62); break; case 62: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(57, 62); break; case 63: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(63, 64); break; case 64: if (jjCanMove_4(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(16, 17); break; case 65: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(31, 36); break; case 66: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(66, 67); break; case 68: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 2) kind = 2; jjCheckNAddTwoStates(67, 68); break; case 69: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(69, 70); break; case 71: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjAddStates(45, 46); break; case 73: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(73, 74); break; case 75: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 4) kind = 4; jjstateSet[jjnewStateCnt++] = 75; break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 76 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
|
45239 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45239/f38eb6c624a4eb8efd45a15aed431041359b17c0/XTFTokenizerTokenManager.java/buggy/WEB-INF/src/org/cdlib/xtf/textIndexer/tokenizer/XTFTokenizerTokenManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
50,
507,
67,
20,
12,
474,
787,
1119,
16,
509,
662,
1616,
15329,
282,
509,
8526,
1024,
7629,
31,
282,
509,
2542,
861,
273,
374,
31,
282,
10684,
2704,
1119,
11750,
273,
22997,
31,
282,
509,
277,
273,
404,
31,
282,
10684,
2019,
694,
63,
20,
65,
273,
787,
1119,
31,
282,
509,
525,
16,
3846,
273,
374,
92,
27,
18217,
74,
31,
282,
364,
261,
25708,
13,
282,
288,
1377,
309,
261,
9904,
78,
78,
2260,
422,
374,
92,
27,
18217,
74,
13,
540,
868,
2570,
54,
9284,
5621,
1377,
309,
261,
1397,
2156,
411,
5178,
13,
1377,
288,
540,
1525,
328,
273,
404,
48,
2296,
662,
2156,
31,
540,
4639,
6452,
30,
741,
540,
288,
5411,
1620,
12,
78,
78,
2019,
694,
63,
413,
77,
5717,
5411,
288,
9079,
648,
374,
30,
5375,
309,
14015,
20,
92,
23,
1403,
12648,
2787,
48,
473,
328,
13,
480,
374,
48,
13,
5375,
288,
5397,
309,
261,
9224,
405,
404,
13,
13491,
3846,
273,
404,
31,
5397,
10684,
1564,
50,
986,
7629,
12,
20,
16,
6549,
1769,
5375,
289,
5375,
469,
309,
14015,
20,
92,
27,
2787,
11861,
2787,
11706,
48,
473,
328,
13,
480,
374,
48,
13,
5375,
288,
5397,
309,
261,
9224,
405,
1725,
13,
13491,
3846,
273,
1725,
31,
5375,
289,
5375,
309,
14015,
20,
92,
23,
1403,
12648,
2787,
48,
473,
328,
13,
480,
374,
48,
13,
5397,
10684,
1564,
50,
986,
7629,
12,
3657,
16,
4248,
1769,
5375,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
50,
507,
67,
20,
12,
474,
787,
1119,
16,
509,
662,
1616,
15329,
282,
509,
8526,
1024,
7629,
31,
282,
509,
2542,
861,
273,
374,
31,
282,
10684,
2704,
1119,
11750,
273,
22997,
31,
282,
509,
277,
273,
404,
31,
282,
10684,
2019,
694,
63,
20,
65,
273,
787,
1119,
31,
282,
509,
525,
16,
3846,
273,
374,
92,
27,
18217,
74,
31,
282,
364,
261,
25708,
13,
282,
288,
1377,
309,
261,
9904,
78,
78,
2260,
422,
374,
92,
27,
18217,
74,
13,
540,
868,
2570,
54,
9284,
5621,
1377,
309,
261,
1397,
2156,
411,
5178,
13,
1377,
288,
540,
1525,
328,
273,
404,
48,
2296,
662,
2156,
31,
540,
4639,
6452,
30,
2
] |
if (ruby.getScope().getLocalNames() != null) { oldSize = ruby.getScope().getLocalNames().size();
|
if (runtime.getScope().getLocalNames() != null) { oldSize = runtime.getScope().getLocalNames().size();
|
private boolean hasNewLocalVariables(IRubyParserResult result) { int newSize = 0; if (result.getLocalVariables() != null) { newSize = result.getLocalVariables().size(); } int oldSize = 0; if (ruby.getScope().getLocalNames() != null) { oldSize = ruby.getScope().getLocalNames().size(); } return newSize > oldSize; }
|
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/1d78ab5252d2279eb5749dfcabc977e8def15496/Parser.java/buggy/org/jruby/parser/Parser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
711,
1908,
2042,
6158,
12,
7937,
10340,
2678,
1253,
563,
13,
288,
3639,
509,
21402,
273,
374,
31,
3639,
309,
261,
2088,
18,
588,
2042,
6158,
1435,
480,
446,
13,
288,
5411,
21402,
273,
563,
18,
588,
2042,
6158,
7675,
1467,
5621,
3639,
289,
3639,
509,
1592,
1225,
273,
374,
31,
3639,
309,
261,
27768,
18,
588,
3876,
7675,
588,
2042,
1557,
1435,
480,
446,
13,
288,
5411,
1592,
1225,
273,
22155,
18,
588,
3876,
7675,
588,
2042,
1557,
7675,
1467,
5621,
3639,
289,
3639,
327,
21402,
405,
1592,
1225,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1250,
711,
1908,
2042,
6158,
12,
7937,
10340,
2678,
1253,
563,
13,
288,
3639,
509,
21402,
273,
374,
31,
3639,
309,
261,
2088,
18,
588,
2042,
6158,
1435,
480,
446,
13,
288,
5411,
21402,
273,
563,
18,
588,
2042,
6158,
7675,
1467,
5621,
3639,
289,
3639,
509,
1592,
1225,
273,
374,
31,
3639,
309,
261,
27768,
18,
588,
3876,
7675,
588,
2042,
1557,
1435,
480,
446,
13,
288,
5411,
1592,
1225,
273,
22155,
18,
588,
3876,
7675,
588,
2042,
1557,
7675,
1467,
5621,
3639,
289,
3639,
327,
21402,
405,
1592,
1225,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
dark = new Polygon(new int[] { b.x, c.x, d.x }, new int[] { b.y, c.y, d.y }, 3); all = new Polygon(new int[] { a.x + 1, b.x, c.x, d.x, e.x + 1 }, new int[] { a.y + 1, b.y + 1, c.y, d.y + 1, e.y }, 5);
|
dark = new Polygon(new int[] { b.x, c.x, d.x + 1 }, new int[] { b.y, c.y - 1, d.y }, 3); light = new Polygon(new int[] { b.x - 1, c.x - 1, d.x + 1 }, new int[] { b.y + 1, c.y - 1, d.y - 1 }, 3); all = new Polygon(new int[] { a.x + 1, b.x - 2, c.x - 2, d.x, e.x + 1 }, new int[] { a.y + 1, b.y + 1, c.y - 1, d.y - 1, e.y }, 5);
|
public void paintThumb(Graphics g) { Color saved_color = g.getColor(); Polygon thumb = new Polygon(); Point a = new Point(thumbRect.x, thumbRect.y); Point b = new Point(a); Point c = new Point(a); Point d = new Point(a); Point e = new Point(a); Polygon bright; Polygon dark; Polygon all; // This will be in X-dimension if the slider is inverted and y if it isn't. int turnPoint; if (slider.getOrientation() == JSlider.HORIZONTAL) { turnPoint = thumbRect.height * 3 / 4; b.translate(thumbRect.width, 0); c.translate(thumbRect.width, turnPoint); d.translate(thumbRect.width / 2, thumbRect.height); e.translate(0, turnPoint); bright = new Polygon(new int[] { b.x, a.x, e.x, d.x }, new int[] { b.y, a.y, e.y, d.y }, 4); dark = new Polygon(new int[] { b.x, c.x, d.x }, new int[] { b.y, c.y, d.y }, 3); all = new Polygon(new int[] { a.x + 1, b.x, c.x, d.x, e.x + 1 }, new int[] { a.y + 1, b.y + 1, c.y, d.y + 1, e.y }, 5); } else { turnPoint = thumbRect.width * 3 / 4; b.translate(turnPoint, 0); c.translate(thumbRect.width, thumbRect.height / 2); d.translate(turnPoint, thumbRect.height); e.translate(0, thumbRect.height); bright = new Polygon(new int[] { c.x, b.x, a.x, e.x }, new int[] { c.y, b.y, a.y, e.y }, 4); dark = new Polygon(new int[] { c.x, d.x, e.x + 1 }, new int[] { c.y, d.y, e.y }, 3); all = new Polygon(new int[] { a.x + 1, b.x, c.x - 1, d.x, e.x + 1 }, new int[] { a.y + 1, b.y + 1, c.y, d.y, e.y }, 5); } g.setColor(Color.WHITE); g.drawPolyline(bright.xpoints, bright.ypoints, bright.npoints); g.setColor(Color.BLACK); g.drawPolyline(dark.xpoints, dark.ypoints, dark.npoints); g.setColor(Color.GRAY); g.fillPolygon(all); g.setColor(saved_color); }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/c4eda97e6e5feb8e7650d83d5066d85580f1249c/BasicSliderUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicSliderUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
12574,
18922,
12,
17558,
314,
13,
225,
288,
565,
5563,
5198,
67,
3266,
273,
314,
18,
588,
2957,
5621,
565,
12681,
11156,
273,
394,
12681,
5621,
565,
4686,
279,
273,
394,
4686,
12,
21639,
6120,
18,
92,
16,
11156,
6120,
18,
93,
1769,
565,
4686,
324,
273,
394,
4686,
12,
69,
1769,
565,
4686,
276,
273,
394,
4686,
12,
69,
1769,
565,
4686,
302,
273,
394,
4686,
12,
69,
1769,
565,
4686,
425,
273,
394,
4686,
12,
69,
1769,
565,
12681,
18622,
31,
565,
12681,
23433,
31,
565,
12681,
777,
31,
565,
368,
1220,
903,
506,
316,
1139,
17,
11808,
309,
326,
18442,
353,
18150,
471,
677,
309,
518,
5177,
1404,
18,
202,
21114,
1377,
509,
7005,
2148,
31,
565,
309,
261,
28372,
18,
588,
14097,
1435,
422,
804,
21824,
18,
44,
20344,
13,
1377,
288,
202,
20922,
2148,
273,
11156,
6120,
18,
4210,
380,
890,
342,
1059,
31,
202,
70,
18,
13929,
12,
21639,
6120,
18,
2819,
16,
374,
1769,
202,
71,
18,
13929,
12,
21639,
6120,
18,
2819,
16,
7005,
2148,
1769,
202,
72,
18,
13929,
12,
21639,
6120,
18,
2819,
342,
576,
16,
11156,
6120,
18,
4210,
1769,
202,
73,
18,
13929,
12,
20,
16,
7005,
2148,
1769,
202,
31070,
273,
394,
12681,
12,
2704,
509,
8526,
288,
324,
18,
92,
16,
279,
18,
92,
16,
425,
18,
92,
16,
302,
18,
92,
19879,
202,
5397,
394,
509,
8526,
288,
324,
18,
93,
16,
279,
18,
93,
16,
425,
18,
93,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12574,
18922,
12,
17558,
314,
13,
225,
288,
565,
5563,
5198,
67,
3266,
273,
314,
18,
588,
2957,
5621,
565,
12681,
11156,
273,
394,
12681,
5621,
565,
4686,
279,
273,
394,
4686,
12,
21639,
6120,
18,
92,
16,
11156,
6120,
18,
93,
1769,
565,
4686,
324,
273,
394,
4686,
12,
69,
1769,
565,
4686,
276,
273,
394,
4686,
12,
69,
1769,
565,
4686,
302,
273,
394,
4686,
12,
69,
1769,
565,
4686,
425,
273,
394,
4686,
12,
69,
1769,
565,
12681,
18622,
31,
565,
12681,
23433,
31,
565,
12681,
777,
31,
565,
368,
1220,
903,
506,
316,
1139,
17,
11808,
309,
326,
18442,
353,
18150,
471,
677,
309,
518,
5177,
1404,
18,
202,
21114,
1377,
509,
2
] |
public void call( SourceUnit source, GeneratorContext context, ClassNode classNode ) throws CompilationFailedException { // // Run the Verifier on the outer class verifier.visitClass( classNode ); // // Prep the generator machinery ClassVisitor visitor = null; if( debug ) { visitor = new DumpClassVisitor(output); } else { visitor = new ClassWriter(true); } String sourceName = (source == null ? classNode.getModule().getDescription() : source.getName() ); ClassGenerator generator = new AsmClassGenerator( context, visitor, classLoader, sourceName ); // // Run the generation and create the class (if required) generator.visitClass( classNode ); if( !debug ) { byte[] bytes = ((ClassWriter)visitor).toByteArray(); /* this. */classes.add( new GroovyClass(classNode.getName(), bytes) ); } // // Handle any callback that's been set if( CompilationUnit.this.classgenCallback != null ) { if( debug ) { try { classgenCallback.call( visitor, classNode ); } catch( Throwable t ) { output.println( "Classgen callback threw: " + t ); t.printStackTrace( output ); } } else { classgenCallback.call( visitor, classNode ); } } // // Recurse for inner classes LinkedList innerClasses = generator.getInnerClasses(); while( !innerClasses.isEmpty() ) { classgen.call( source, context, (ClassNode)innerClasses.removeFirst() ); } }
|
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/845c693808ea082c483e0da7cbd228e7bd4caaf0/CompilationUnit.java/clean/src/main/org/codehaus/groovy/control/CompilationUnit.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
745,
12,
4998,
2802,
1084,
16,
10159,
1042,
819,
16,
19769,
25822,
262,
1216,
22416,
12417,
540,
288,
5411,
368,
5411,
368,
1939,
326,
6160,
1251,
603,
326,
6390,
667,
5375,
20130,
18,
11658,
797,
12,
25822,
11272,
7682,
368,
5411,
368,
2962,
84,
326,
4456,
25046,
267,
627,
7682,
1659,
7413,
8000,
273,
446,
31,
5411,
309,
12,
1198,
262,
2398,
288,
1171,
8000,
273,
394,
18242,
797,
7413,
12,
2844,
1769,
2398,
289,
2398,
469,
2868,
288,
1171,
8000,
273,
394,
31807,
12,
3767,
1769,
2398,
289,
5411,
514,
28337,
273,
261,
3168,
422,
446,
692,
25822,
18,
588,
3120,
7675,
588,
3291,
1435,
294,
1084,
18,
17994,
1435,
11272,
5411,
1659,
3908,
4456,
273,
394,
2970,
81,
797,
3908,
12,
819,
16,
8000,
16,
11138,
16,
28337,
11272,
4766,
1377,
368,
2398,
368,
1939,
326,
9377,
471,
752,
326,
667,
261,
430,
1931,
13,
5411,
4456,
18,
11658,
797,
12,
25822,
11272,
7682,
309,
12,
401,
4148,
262,
5411,
288,
7734,
1160,
8526,
1731,
273,
14015,
797,
2289,
13,
3516,
1811,
2934,
869,
8826,
5621,
7734,
1748,
333,
18,
1195,
4701,
18,
1289,
12,
394,
20841,
797,
12,
1106,
907,
18,
17994,
9334,
1731,
13,
11272,
5411,
289,
4766,
565,
368,
5411,
368,
5004,
1281,
1348,
716,
1807,
2118,
444,
13491,
309,
12,
22416,
2802,
18,
2211,
18,
1106,
4507,
2428,
480,
446,
262,
5411,
288,
7734,
309,
12,
1198,
262,
7734,
288,
10792,
775,
10792,
288,
13491,
667,
4507,
2428,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
745,
12,
4998,
2802,
1084,
16,
10159,
1042,
819,
16,
19769,
25822,
262,
1216,
22416,
12417,
540,
288,
5411,
368,
5411,
368,
1939,
326,
6160,
1251,
603,
326,
6390,
667,
5375,
20130,
18,
11658,
797,
12,
25822,
11272,
7682,
368,
5411,
368,
2962,
84,
326,
4456,
25046,
267,
627,
7682,
1659,
7413,
8000,
273,
446,
31,
5411,
309,
12,
1198,
262,
2398,
288,
1171,
8000,
273,
394,
18242,
797,
7413,
12,
2844,
1769,
2398,
289,
2398,
469,
2868,
288,
1171,
8000,
273,
394,
31807,
12,
3767,
1769,
2398,
289,
5411,
514,
28337,
273,
261,
3168,
422,
446,
692,
25822,
18,
588,
3120,
7675,
588,
3291,
1435,
294,
1084,
18,
17994,
1435,
11272,
5411,
1659,
3908,
4456,
2
] |
||
context.preNodeEval(null, objectClass, self); } else { /* load in anonymous module as toplevel */ context.preNodeEval(RubyModule.newModule(this, null), context.getWrapper(), self);
|
/* default visibility is private at loading toplevel */ getCurrentContext().setCurrentVisibility(Visibility.PRIVATE);
|
public void loadNode(String scriptName, Node node, boolean wrap) { IRubyObject self = getTopSelf(); ThreadContext context = getCurrentContext(); RubyModule wrapper = context.getWrapper(); if (!wrap) { secure(4); /* should alter global state */ context.preNodeEval(null, objectClass, self); } else { /* load in anonymous module as toplevel */ context.preNodeEval(RubyModule.newModule(this, null), context.getWrapper(), self); self = getTopSelf().rbClone(); self.extendObject(context.getRubyClass()); } /* default visibility is private at loading toplevel */ getCurrentContext().setCurrentVisibility(Visibility.PRIVATE); try { self.eval(node); } catch (JumpException je) { if (je.getJumpType() == JumpException.JumpType.ReturnJump) { // Make sure this does not bubble out to java caller. } else { throw je; } } finally { context.postNodeEval(wrapper); } }
|
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/a1b8fc1d456e3d5c6e01579b88773383068aa85c/Ruby.java/buggy/src/org/jruby/Ruby.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1262,
907,
12,
780,
31008,
16,
2029,
756,
16,
1250,
2193,
13,
288,
3639,
15908,
10340,
921,
365,
273,
13729,
10084,
5621,
3639,
4884,
1042,
819,
273,
5175,
1042,
5621,
3639,
19817,
3120,
4053,
273,
819,
18,
588,
3611,
5621,
3639,
309,
16051,
4113,
13,
288,
5411,
8177,
12,
24,
1769,
1748,
1410,
10182,
2552,
919,
1195,
13491,
819,
18,
1484,
907,
13904,
12,
2011,
16,
23992,
16,
365,
1769,
3639,
289,
469,
288,
5411,
1748,
1262,
316,
13236,
1605,
487,
28999,
1195,
5411,
819,
18,
1484,
907,
13904,
12,
54,
10340,
3120,
18,
2704,
3120,
12,
2211,
16,
446,
3631,
819,
18,
588,
3611,
9334,
365,
1769,
13491,
365,
273,
13729,
10084,
7675,
6731,
10930,
5621,
5411,
365,
18,
14313,
921,
12,
2472,
18,
588,
54,
10340,
797,
10663,
3639,
289,
7734,
1748,
805,
9478,
353,
3238,
622,
7153,
28999,
1195,
3639,
5175,
1042,
7675,
542,
3935,
10135,
12,
10135,
18,
20055,
1769,
3639,
775,
288,
5411,
365,
18,
8622,
12,
2159,
1769,
3639,
289,
1044,
261,
26743,
503,
30356,
13,
288,
540,
202,
430,
261,
78,
73,
18,
588,
26743,
559,
1435,
422,
804,
2801,
503,
18,
26743,
559,
18,
990,
26743,
13,
288,
540,
202,
202,
759,
4344,
3071,
333,
1552,
486,
21577,
596,
358,
2252,
4894,
18,
540,
202,
97,
469,
288,
540,
202,
202,
12849,
30356,
31,
540,
202,
97,
3639,
289,
3095,
288,
5411,
819,
18,
2767,
907,
13904,
12,
8376,
1769,
3639,
289,
565,
289,
2,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1262,
907,
12,
780,
31008,
16,
2029,
756,
16,
1250,
2193,
13,
288,
3639,
15908,
10340,
921,
365,
273,
13729,
10084,
5621,
3639,
4884,
1042,
819,
273,
5175,
1042,
5621,
3639,
19817,
3120,
4053,
273,
819,
18,
588,
3611,
5621,
3639,
309,
16051,
4113,
13,
288,
5411,
8177,
12,
24,
1769,
1748,
1410,
10182,
2552,
919,
1195,
13491,
819,
18,
1484,
907,
13904,
12,
2011,
16,
23992,
16,
365,
1769,
3639,
289,
469,
288,
5411,
1748,
1262,
316,
13236,
1605,
487,
28999,
1195,
5411,
819,
18,
1484,
907,
13904,
12,
54,
10340,
3120,
18,
2704,
3120,
12,
2211,
16,
446,
3631,
819,
18,
588,
3611,
9334,
365,
1769,
13491,
365,
273,
13729,
10084,
7675,
6731,
10930,
2
] |
if (Driver.logDebug) Driver.debug(" FE=> Query(\"" + (queryPrefix == null ? "" : queryPrefix) + query.toString(params) + "\")");
|
if (logger.logDebug()) logger.debug(" FE=> Query(\"" + (queryPrefix == null ? "" : queryPrefix) + query.toString(params) + "\")");
|
protected void sendQuery(V2Query query, SimpleParameterList params, String queryPrefix) throws IOException { if (Driver.logDebug) Driver.debug(" FE=> Query(\"" + (queryPrefix == null ? "" : queryPrefix) + query.toString(params) + "\")"); pgStream.SendChar('Q'); Writer encodingWriter = pgStream.getEncodingWriter(); if (queryPrefix != null) encodingWriter.write(queryPrefix); String[] fragments = query.getFragments(); for (int i = 0 ; i < fragments.length; ++i) { encodingWriter.write(fragments[i]); if (i < params.getParameterCount()) params.writeV2Value(i + 1, encodingWriter); } encodingWriter.write(0); pgStream.flush(); }
|
49868 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49868/56962927f46dd27d78801f6a5fd969cc9d751ab8/QueryExecutorImpl.java/buggy/org/postgresql/core/v2/QueryExecutorImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1366,
1138,
12,
58,
22,
1138,
843,
16,
4477,
1662,
682,
859,
16,
514,
843,
2244,
13,
1216,
1860,
288,
3639,
309,
261,
4668,
18,
1330,
2829,
13,
5411,
9396,
18,
4148,
2932,
16439,
9207,
2770,
12,
8530,
397,
261,
2271,
2244,
422,
446,
692,
1408,
294,
843,
2244,
13,
397,
843,
18,
10492,
12,
2010,
13,
397,
7023,
2225,
1769,
3639,
7184,
1228,
18,
3826,
2156,
2668,
53,
8284,
3639,
5497,
2688,
2289,
273,
7184,
1228,
18,
588,
4705,
2289,
5621,
3639,
309,
261,
2271,
2244,
480,
446,
13,
5411,
2688,
2289,
18,
2626,
12,
2271,
2244,
1769,
3639,
514,
8526,
14656,
273,
843,
18,
588,
27588,
5621,
3639,
364,
261,
474,
277,
273,
374,
274,
277,
411,
14656,
18,
2469,
31,
965,
77,
13,
3639,
288,
5411,
2688,
2289,
18,
2626,
12,
29528,
63,
77,
19226,
5411,
309,
261,
77,
411,
859,
18,
588,
1662,
1380,
10756,
7734,
859,
18,
2626,
58,
22,
620,
12,
77,
397,
404,
16,
2688,
2289,
1769,
3639,
289,
3639,
2688,
2289,
18,
2626,
12,
20,
1769,
3639,
7184,
1228,
18,
11330,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1366,
1138,
12,
58,
22,
1138,
843,
16,
4477,
1662,
682,
859,
16,
514,
843,
2244,
13,
1216,
1860,
288,
3639,
309,
261,
4668,
18,
1330,
2829,
13,
5411,
9396,
18,
4148,
2932,
16439,
9207,
2770,
12,
8530,
397,
261,
2271,
2244,
422,
446,
692,
1408,
294,
843,
2244,
13,
397,
843,
18,
10492,
12,
2010,
13,
397,
7023,
2225,
1769,
3639,
7184,
1228,
18,
3826,
2156,
2668,
53,
8284,
3639,
5497,
2688,
2289,
273,
7184,
1228,
18,
588,
4705,
2289,
5621,
3639,
309,
261,
2271,
2244,
480,
446,
13,
5411,
2688,
2289,
18,
2626,
12,
2271,
2244,
1769,
3639,
514,
8526,
14656,
273,
843,
18,
588,
27588,
5621,
3639,
364,
261,
474,
277,
273,
374,
2
] |
"");
|
"", TasksUiPlugin.getDefault().getProxySettings());
|
public void run() { if (event.getJob().getResult().getCode() == Status.OK && event.getJob().getResult().getMessage() != null) {// // Attach context if (getAttachContext()) { ITask task = TasksUiPlugin.getTaskListManager().getTaskList().getTask( AbstractRepositoryTask.getHandle(repository.getUrl(), taskData.getId())); try { bugzillaRepositoryClient.attachContext(repository, (AbstractRepositoryTask) task, ""); } catch (Exception e) { // TODO e.printStackTrace(); } } close(); return; } else if (event.getJob().getResult().getCode() == Status.INFO) { WebBrowserDialog.openAcceptAgreement(null, IBugzillaConstants.REPORT_SUBMIT_ERROR, event .getJob().getResult().getMessage(), event.getJob().getResult().getException() .getMessage()); submitButton.setEnabled(true); ExistingBugEditor.this.showBusy(false); } else if (event.getJob().getResult().getCode() == Status.ERROR) { MessageDialog.openError(null, IBugzillaConstants.REPORT_SUBMIT_ERROR, event.getResult() .getMessage()); submitButton.setEnabled(true); ExistingBugEditor.this.showBusy(false); } }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/72d80f551ca060c2734122d72e119e0cdf881f12/ExistingBugEditor.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/ExistingBugEditor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4405,
202,
482,
918,
1086,
1435,
288,
25083,
202,
430,
261,
2575,
18,
588,
2278,
7675,
588,
1253,
7675,
588,
1085,
1435,
422,
2685,
18,
3141,
6862,
9506,
202,
10,
10,
871,
18,
588,
2278,
7675,
588,
1253,
7675,
24906,
1435,
480,
446,
13,
288,
759,
6862,
1082,
202,
759,
8659,
819,
6862,
1082,
202,
430,
261,
588,
4761,
1042,
10756,
288,
6862,
9506,
202,
1285,
835,
1562,
273,
20350,
13943,
3773,
18,
588,
2174,
682,
1318,
7675,
588,
2174,
682,
7675,
588,
2174,
12,
6862,
25083,
202,
7469,
3305,
2174,
18,
588,
3259,
12,
9071,
18,
588,
1489,
9334,
1562,
751,
18,
26321,
1435,
10019,
6862,
9506,
202,
698,
288,
6862,
6862,
202,
925,
15990,
3305,
1227,
18,
7331,
1042,
12,
9071,
16,
261,
7469,
3305,
2174,
13,
1562,
16,
6862,
6862,
1082,
202,
3660,
1769,
6862,
9506,
202,
97,
1044,
261,
503,
425,
13,
288,
6862,
6862,
202,
759,
2660,
6862,
6862,
202,
73,
18,
1188,
6332,
5621,
6862,
9506,
202,
97,
6862,
1082,
202,
97,
6862,
1082,
202,
4412,
5621,
6862,
1082,
202,
2463,
31,
25083,
202,
97,
469,
309,
261,
2575,
18,
588,
2278,
7675,
588,
1253,
7675,
588,
1085,
1435,
422,
2685,
18,
5923,
13,
288,
6862,
1082,
202,
4079,
9132,
6353,
18,
3190,
5933,
17420,
12,
2011,
16,
467,
19865,
15990,
2918,
18,
22710,
67,
8362,
6068,
67,
3589,
16,
871,
6862,
6862,
202,
18,
588,
2278,
7675,
588,
1253,
7675,
24906,
9334,
871,
18,
588,
2278,
7675,
588,
1253,
7675,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4405,
202,
482,
918,
1086,
1435,
288,
25083,
202,
430,
261,
2575,
18,
588,
2278,
7675,
588,
1253,
7675,
588,
1085,
1435,
422,
2685,
18,
3141,
6862,
9506,
202,
10,
10,
871,
18,
588,
2278,
7675,
588,
1253,
7675,
24906,
1435,
480,
446,
13,
288,
759,
6862,
1082,
202,
759,
8659,
819,
6862,
1082,
202,
430,
261,
588,
4761,
1042,
10756,
288,
6862,
9506,
202,
1285,
835,
1562,
273,
20350,
13943,
3773,
18,
588,
2174,
682,
1318,
7675,
588,
2174,
682,
7675,
588,
2174,
12,
6862,
25083,
202,
7469,
3305,
2174,
18,
588,
3259,
12,
9071,
18,
588,
1489,
9334,
1562,
751,
18,
26321,
1435,
10019,
6862,
9506,
202,
698,
288,
6862,
6862,
202,
925,
15990,
3305,
1227,
18,
2
] |
protected GrendelToolBar buildToolBar(String aToolbar, UIAction[] aActions) { GrendelToolBar res = null; Hashtable commands = new Hashtable(); for (int i = 0; i < aActions.length; i++) { UIAction a = aActions[i]; String name = a.getName(); commands.put(name, a); } try { res = new GrendelToolBar(); // res.setLayout(new ToolBarLayout()); ResourceBundle toolbarresources = ResourceBundle.getBundle(fResourceBase + ".Toolbar"); ResourceBundle menuresources = ResourceBundle.getBundle(fResourceBase + ".Menus"); String toolbar = menuresources.getString(aToolbar); StringTokenizer tokens = new StringTokenizer(toolbar, " ", false); while (tokens.hasMoreTokens()) { String token = tokens.nextToken(); if (DEBUG) { System.out.println("Local token = " + token); } UIAction action = (UIAction)commands.get(token); String icon = toolbarresources.getString(token + "Icon"); String label = toolbarresources.getString(token + "Label"); String tooltip = toolbarresources.getString(token + "Tooltip"); res.addButton(action, icon, label, tooltip); } } catch (MissingResourceException e) { System.err.println(e); } if (DEBUG) { System.out.println("Toolbar status:"); if (res == null) { System.out.println("\tbuildToolBar failed."); } else { System.out.println("\tbuildToolBar succeeded."); System.out.println("\tGrendelToolBar res contains " + res.getComponentCount() + " components."); } } return res; }
|
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/3cd6e9d81112e3ab17a910eaef36b9e56b2a8b6a/GeneralPanel.java/clean/grendel/sources/grendel/ui/GeneralPanel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
611,
1187,
3771,
6364,
5190,
1361,
6364,
5190,
12,
780,
279,
17907,
16,
6484,
1803,
8526,
279,
6100,
13,
288,
565,
611,
1187,
3771,
6364,
5190,
400,
273,
446,
31,
565,
18559,
4364,
273,
394,
18559,
5621,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
279,
6100,
18,
2469,
31,
277,
27245,
3639,
288,
6647,
6484,
1803,
279,
273,
279,
6100,
63,
77,
15533,
6647,
514,
508,
273,
279,
18,
17994,
5621,
6647,
4364,
18,
458,
12,
529,
16,
279,
1769,
3639,
289,
3639,
775,
288,
1377,
400,
273,
394,
611,
1187,
3771,
6364,
5190,
5621,
1377,
368,
225,
400,
18,
542,
3744,
12,
2704,
13288,
5190,
3744,
10663,
1377,
19198,
12748,
4683,
273,
19198,
18,
588,
3405,
12,
74,
1420,
2171,
397,
3552,
17907,
8863,
1377,
19198,
21247,
1823,
1418,
273,
19198,
18,
588,
3405,
12,
74,
1420,
2171,
397,
3552,
29755,
8863,
1377,
514,
12748,
273,
21247,
1823,
1418,
18,
588,
780,
12,
69,
17907,
1769,
1377,
16370,
2430,
273,
394,
16370,
12,
18849,
16,
315,
3104,
629,
1769,
1377,
1323,
261,
7860,
18,
5332,
7417,
5157,
10756,
288,
3639,
514,
1147,
273,
2430,
18,
4285,
1345,
5621,
3639,
309,
261,
9394,
13,
288,
1850,
2332,
18,
659,
18,
8222,
2932,
2042,
1147,
273,
315,
397,
1147,
1769,
3639,
289,
3639,
6484,
1803,
1301,
273,
261,
5370,
1803,
13,
7847,
18,
588,
12,
2316,
1769,
3639,
514,
4126,
273,
12748,
4683,
18,
588,
780,
12,
2316,
397,
315,
5554,
8863,
3639,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
611,
1187,
3771,
6364,
5190,
1361,
6364,
5190,
12,
780,
279,
17907,
16,
6484,
1803,
8526,
279,
6100,
13,
288,
565,
611,
1187,
3771,
6364,
5190,
400,
273,
446,
31,
565,
18559,
4364,
273,
394,
18559,
5621,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
279,
6100,
18,
2469,
31,
277,
27245,
3639,
288,
6647,
6484,
1803,
279,
273,
279,
6100,
63,
77,
15533,
6647,
514,
508,
273,
279,
18,
17994,
5621,
6647,
4364,
18,
458,
12,
529,
16,
279,
1769,
3639,
289,
3639,
775,
288,
1377,
400,
273,
394,
611,
1187,
3771,
6364,
5190,
5621,
1377,
368,
225,
400,
18,
542,
3744,
12,
2704,
13288,
5190,
3744,
10663,
1377,
19198,
12748,
4683,
273,
19198,
2
] |
||
case 517 : if (DEBUG) { System.out.println("SingleStaticImportDeclaration ::=..."); }
|
case 514 : if (DEBUG) { System.out.println("SingleStaticImportDeclaration ::=..."); }
|
protected void consumeRule(int act) { switch ( act ) { case 29 : if (DEBUG) { System.out.println("Type ::= PrimitiveType"); } //$NON-NLS-1$ consumePrimitiveType(); break; case 43 : if (DEBUG) { System.out.println("ReferenceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeReferenceType(); break; case 47 : if (DEBUG) { System.out.println("ClassOrInterface ::= Name"); } //$NON-NLS-1$ consumeClassOrInterfaceName(); break; case 48 : if (DEBUG) { System.out.println("ClassOrInterface ::= GenericType DOT Name"); } //$NON-NLS-1$ consumeClassOrInterface(); break; case 49 : if (DEBUG) { System.out.println("GenericType ::= ClassOrInterface TypeArguments"); } //$NON-NLS-1$ consumeGenericType(); break; case 50 : if (DEBUG) { System.out.println("ArrayTypeWithTypeArgumentsName ::= GenericType DOT Name"); } //$NON-NLS-1$ consumeArrayTypeWithTypeArgumentsName(); break; case 51 : if (DEBUG) { System.out.println("ArrayType ::= PrimitiveType Dims"); } //$NON-NLS-1$ consumePrimitiveArrayType(); break; case 52 : if (DEBUG) { System.out.println("ArrayType ::= Name Dims"); } //$NON-NLS-1$ consumeNameArrayType(); break; case 53 : if (DEBUG) { System.out.println("ArrayType ::= ArrayTypeWithTypeArgumentsName Dims"); } //$NON-NLS-1$ consumeGenericTypeNameArrayType(); break; case 54 : if (DEBUG) { System.out.println("ArrayType ::= GenericType Dims"); } //$NON-NLS-1$ consumeGenericTypeArrayType(); break; case 59 : if (DEBUG) { System.out.println("QualifiedName ::= Name DOT SimpleName"); } //$NON-NLS-1$ consumeQualifiedName(); break; case 60 : if (DEBUG) { System.out.println("CompilationUnit ::= EnterCompilationUnit..."); } //$NON-NLS-1$ consumeCompilationUnit(); break; case 61 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration"); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 62 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 63 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 64 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 65 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 66 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= TypeDeclarations"); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 67 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 68 : if (DEBUG) { System.out.println("InternalCompilationUnit ::="); } //$NON-NLS-1$ consumeEmptyInternalCompilationUnit(); break; case 69 : if (DEBUG) { System.out.println("ReduceImports ::="); } //$NON-NLS-1$ consumeReduceImports(); break; case 70 : if (DEBUG) { System.out.println("EnterCompilationUnit ::="); } //$NON-NLS-1$ consumeEnterCompilationUnit(); break; case 86 : if (DEBUG) { System.out.println("CatchHeader ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeCatchHeader(); break; case 88 : if (DEBUG) { System.out.println("ImportDeclarations ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeImportDeclarations(); break; case 90 : if (DEBUG) { System.out.println("TypeDeclarations ::= TypeDeclarations TypeDeclaration"); } //$NON-NLS-1$ consumeTypeDeclarations(); break; case 91 : if (DEBUG) { System.out.println("PackageDeclaration ::= PackageDeclarationName SEMICOLON"); } //$NON-NLS-1$ consumePackageDeclaration(); break; case 92 : if (DEBUG) { System.out.println("PackageDeclarationName ::= Modifiers package..."); } //$NON-NLS-1$ consumePackageDeclarationNameWithModifiers(); break; case 93 : if (DEBUG) { System.out.println("PackageDeclarationName ::= package Name"); } //$NON-NLS-1$ consumePackageDeclarationName(); break; case 98 : if (DEBUG) { System.out.println("SingleTypeImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 99 : if (DEBUG) { System.out.println("SingleTypeImportDeclarationName ::= import Name"); } //$NON-NLS-1$ consumeSingleTypeImportDeclarationName(); break; case 100 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 101 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclarationName ::= import Name DOT..."); } //$NON-NLS-1$ consumeTypeImportOnDemandDeclarationName(); break; case 104 : if (DEBUG) { System.out.println("TypeDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyTypeDeclaration(); break; case 108 : if (DEBUG) { System.out.println("Modifiers ::= Modifiers Modifier"); } //$NON-NLS-1$ consumeModifiers2(); break; case 120 : if (DEBUG) { System.out.println("Modifier ::= Annotation"); } //$NON-NLS-1$ consumeAnnotationAsModifier(); break; case 121 : if (DEBUG) { System.out.println("ClassDeclaration ::= ClassHeader ClassBody"); } //$NON-NLS-1$ consumeClassDeclaration(); break; case 122 : if (DEBUG) { System.out.println("ClassHeader ::= ClassHeaderName ClassHeaderExtendsopt..."); } //$NON-NLS-1$ consumeClassHeader(); break; case 123 : if (DEBUG) { System.out.println("ClassHeaderName ::= ClassHeaderName1 TypeParameters"); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 125 : if (DEBUG) { System.out.println("ClassHeaderName1 ::= Modifiersopt class Identifier"); } //$NON-NLS-1$ consumeClassHeaderName1(); break; case 126 : if (DEBUG) { System.out.println("ClassHeaderExtends ::= extends ClassType"); } //$NON-NLS-1$ consumeClassHeaderExtends(); break; case 127 : if (DEBUG) { System.out.println("ClassHeaderImplements ::= implements InterfaceTypeList"); } //$NON-NLS-1$ consumeClassHeaderImplements(); break; case 129 : if (DEBUG) { System.out.println("InterfaceTypeList ::= InterfaceTypeList COMMA..."); } //$NON-NLS-1$ consumeInterfaceTypeList(); break; case 130 : if (DEBUG) { System.out.println("InterfaceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeInterfaceType(); break; case 133 : if (DEBUG) { System.out.println("ClassBodyDeclarations ::= ClassBodyDeclarations..."); } //$NON-NLS-1$ consumeClassBodyDeclarations(); break; case 137 : if (DEBUG) { System.out.println("ClassBodyDeclaration ::= Diet NestedMethod Block"); } //$NON-NLS-1$ consumeClassBodyDeclaration(); break; case 138 : if (DEBUG) { System.out.println("Diet ::="); } //$NON-NLS-1$ consumeDiet(); break; case 139 : if (DEBUG) { System.out.println("Initializer ::= Diet NestedMethod Block"); } //$NON-NLS-1$ consumeClassBodyDeclaration(); break; case 146 : if (DEBUG) { System.out.println("ClassMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyClassMemberDeclaration(); break; case 149 : if (DEBUG) { System.out.println("FieldDeclaration ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFieldDeclaration(); break; case 151 : if (DEBUG) { System.out.println("VariableDeclarators ::= VariableDeclarators COMMA..."); } //$NON-NLS-1$ consumeVariableDeclarators(); break; case 154 : if (DEBUG) { System.out.println("EnterVariable ::="); } //$NON-NLS-1$ consumeEnterVariable(); break; case 155 : if (DEBUG) { System.out.println("ExitVariableWithInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithInitialization(); break; case 156 : if (DEBUG) { System.out.println("ExitVariableWithoutInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithoutInitialization(); break; case 157 : if (DEBUG) { System.out.println("ForceNoDiet ::="); } //$NON-NLS-1$ consumeForceNoDiet(); break; case 158 : if (DEBUG) { System.out.println("RestoreDiet ::="); } //$NON-NLS-1$ consumeRestoreDiet(); break; case 163 : if (DEBUG) { System.out.println("MethodDeclaration ::= MethodHeader MethodBody"); } //$NON-NLS-1$ // set to true to consume a method with a body consumeMethodDeclaration(true); break; case 164 : if (DEBUG) { System.out.println("AbstractMethodDeclaration ::= MethodHeader SEMICOLON"); } //$NON-NLS-1$ // set to false to consume a method without body consumeMethodDeclaration(false); break; case 165 : if (DEBUG) { System.out.println("MethodHeader ::= MethodHeaderName FormalParameterListopt"); } //$NON-NLS-1$ consumeMethodHeader(); break; case 166 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt TypeParameters Type..."); } //$NON-NLS-1$ consumeMethodHeaderNameWithTypeParameters(false); break; case 167 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt Type Identifier LPAREN"); } //$NON-NLS-1$ consumeMethodHeaderName(false); break; case 168 : if (DEBUG) { System.out.println("MethodHeaderRightParen ::= RPAREN"); } //$NON-NLS-1$ consumeMethodHeaderRightParen(); break; case 169 : if (DEBUG) { System.out.println("MethodHeaderExtendedDims ::= Dimsopt"); } //$NON-NLS-1$ consumeMethodHeaderExtendedDims(); break; case 170 : if (DEBUG) { System.out.println("MethodHeaderThrowsClause ::= throws ClassTypeList"); } //$NON-NLS-1$ consumeMethodHeaderThrowsClause(); break; case 171 : if (DEBUG) { System.out.println("ConstructorHeader ::= ConstructorHeaderName..."); } //$NON-NLS-1$ consumeConstructorHeader(); break; case 172 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt TypeParameters..."); } //$NON-NLS-1$ consumeConstructorHeaderNameWithTypeParameters(); break; case 173 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt Identifier LPAREN"); } //$NON-NLS-1$ consumeConstructorHeaderName(); break; case 175 : if (DEBUG) { System.out.println("FormalParameterList ::= FormalParameterList COMMA..."); } //$NON-NLS-1$ consumeFormalParameterList(); break; case 176 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFormalParameter(false); break; case 177 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type ELLIPSIS..."); } //$NON-NLS-1$ consumeFormalParameter(true); break; case 179 : if (DEBUG) { System.out.println("ClassTypeList ::= ClassTypeList COMMA ClassTypeElt"); } //$NON-NLS-1$ consumeClassTypeList(); break; case 180 : if (DEBUG) { System.out.println("ClassTypeElt ::= ClassType"); } //$NON-NLS-1$ consumeClassTypeElt(); break; case 181 : if (DEBUG) { System.out.println("MethodBody ::= NestedMethod LBRACE BlockStatementsopt..."); } //$NON-NLS-1$ consumeMethodBody(); break; case 182 : if (DEBUG) { System.out.println("NestedMethod ::="); } //$NON-NLS-1$ consumeNestedMethod(); break; case 183 : if (DEBUG) { System.out.println("StaticInitializer ::= StaticOnly Block"); } //$NON-NLS-1$ consumeStaticInitializer(); break; case 184 : if (DEBUG) { System.out.println("StaticOnly ::= static"); } //$NON-NLS-1$ consumeStaticOnly(); break; case 185 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader MethodBody"); } //$NON-NLS-1$ consumeConstructorDeclaration() ; break; case 186 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader SEMICOLON"); } //$NON-NLS-1$ consumeInvalidConstructorDeclaration() ; break; case 187 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= this LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0, THIS_CALL); break; case 188 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments this"); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,THIS_CALL); break; case 189 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= super LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0,SUPER_CALL); break; case 190 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,SUPER_CALL); break; case 191 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT super..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, SUPER_CALL); break; case 192 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, SUPER_CALL); break; case 193 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT super LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, SUPER_CALL); break; case 194 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, SUPER_CALL); break; case 195 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT this..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, THIS_CALL); break; case 196 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, THIS_CALL); break; case 197 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT this LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, THIS_CALL); break; case 198 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, THIS_CALL); break; case 199 : if (DEBUG) { System.out.println("InterfaceDeclaration ::= InterfaceHeader InterfaceBody"); } //$NON-NLS-1$ consumeInterfaceDeclaration(); break; case 200 : if (DEBUG) { System.out.println("InterfaceHeader ::= InterfaceHeaderName..."); } //$NON-NLS-1$ consumeInterfaceHeader(); break; case 201 : if (DEBUG) { System.out.println("InterfaceHeaderName ::= InterfaceHeaderName1..."); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 203 : if (DEBUG) { System.out.println("InterfaceHeaderName1 ::= Modifiersopt interface..."); } //$NON-NLS-1$ consumeInterfaceHeaderName1(); break; case 205 : if (DEBUG) { System.out.println("InterfaceHeaderExtends ::= extends InterfaceTypeList"); } //$NON-NLS-1$ consumeInterfaceHeaderExtends(); break; case 208 : if (DEBUG) { System.out.println("InterfaceMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarations(); break; case 209 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclaration(); break; case 212 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= InvalidMethodDeclaration"); } //$NON-NLS-1$ ignoreMethodBody(); break; case 213 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ ignoreInvalidConstructorDeclaration(true); break; case 214 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ ignoreInvalidConstructorDeclaration(false); break; case 222 : if (DEBUG) { System.out.println("PushLeftBrace ::="); } //$NON-NLS-1$ consumePushLeftBrace(); break; case 223 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace ,opt RBRACE"); } //$NON-NLS-1$ consumeEmptyArrayInitializer(); break; case 224 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 225 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 227 : if (DEBUG) { System.out.println("VariableInitializers ::= VariableInitializers COMMA..."); } //$NON-NLS-1$ consumeVariableInitializers(); break; case 228 : if (DEBUG) { System.out.println("Block ::= OpenBlock LBRACE BlockStatementsopt RBRACE"); } //$NON-NLS-1$ consumeBlock(); break; case 229 : if (DEBUG) { System.out.println("OpenBlock ::="); } //$NON-NLS-1$ consumeOpenBlock() ; break; case 231 : if (DEBUG) { System.out.println("BlockStatements ::= BlockStatements BlockStatement"); } //$NON-NLS-1$ consumeBlockStatements() ; break; case 235 : if (DEBUG) { System.out.println("BlockStatement ::= InvalidInterfaceDeclaration"); } //$NON-NLS-1$ ignoreInterfaceDeclaration(); break; case 236 : if (DEBUG) { System.out.println("LocalVariableDeclarationStatement ::=..."); } //$NON-NLS-1$ consumeLocalVariableDeclarationStatement(); break; case 237 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Type PushModifiers..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 238 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Modifiers Type..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 239 : if (DEBUG) { System.out.println("PushModifiers ::="); } //$NON-NLS-1$ consumePushModifiers(); break; case 240 : if (DEBUG) { System.out.println("PushModifiersForHeader ::="); } //$NON-NLS-1$ consumePushModifiersForHeader(); break; case 241 : if (DEBUG) { System.out.println("PushRealModifiers ::="); } //$NON-NLS-1$ consumePushRealModifiers(); break; case 267 : if (DEBUG) { System.out.println("EmptyStatement ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyStatement(); break; case 268 : if (DEBUG) { System.out.println("LabeledStatement ::= Identifier COLON Statement"); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 269 : if (DEBUG) { System.out.println("LabeledStatementNoShortIf ::= Identifier COLON..."); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 270 : if (DEBUG) { System.out.println("ExpressionStatement ::= StatementExpression SEMICOLON"); } //$NON-NLS-1$ consumeExpressionStatement(); break; case 279 : if (DEBUG) { System.out.println("IfThenStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfNoElse(); break; case 280 : if (DEBUG) { System.out.println("IfThenElseStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 281 : if (DEBUG) { System.out.println("IfThenElseStatementNoShortIf ::= if LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 282 : if (DEBUG) { System.out.println("SwitchStatement ::= switch LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementSwitch() ; break; case 283 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE RBRACE"); } //$NON-NLS-1$ consumeEmptySwitchBlock() ; break; case 286 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlock() ; break; case 288 : if (DEBUG) { System.out.println("SwitchBlockStatements ::= SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlockStatements() ; break; case 289 : if (DEBUG) { System.out.println("SwitchBlockStatement ::= SwitchLabels BlockStatements"); } //$NON-NLS-1$ consumeSwitchBlockStatement() ; break; case 291 : if (DEBUG) { System.out.println("SwitchLabels ::= SwitchLabels SwitchLabel"); } //$NON-NLS-1$ consumeSwitchLabels() ; break; case 292 : if (DEBUG) { System.out.println("SwitchLabel ::= case ConstantExpression COLON"); } //$NON-NLS-1$ consumeCaseLabel(); break; case 293 : if (DEBUG) { System.out.println("SwitchLabel ::= default COLON"); } //$NON-NLS-1$ consumeDefaultLabel(); break; case 294 : if (DEBUG) { System.out.println("WhileStatement ::= while LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 295 : if (DEBUG) { System.out.println("WhileStatementNoShortIf ::= while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 296 : if (DEBUG) { System.out.println("DoStatement ::= do Statement while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementDo() ; break; case 297 : if (DEBUG) { System.out.println("ForStatement ::= for LPAREN ForInitopt SEMICOLON..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 298 : if (DEBUG) { System.out.println("ForStatementNoShortIf ::= for LPAREN ForInitopt..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 299 : if (DEBUG) { System.out.println("ForInit ::= StatementExpressionList"); } //$NON-NLS-1$ consumeForInit() ; break; case 303 : if (DEBUG) { System.out.println("StatementExpressionList ::= StatementExpressionList..."); } //$NON-NLS-1$ consumeStatementExpressionList() ; break; case 304 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression SEMICOLON"); } //$NON-NLS-1$ consumeSimpleAssertStatement() ; break; case 305 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression COLON Expression"); } //$NON-NLS-1$ consumeAssertStatement() ; break; case 306 : if (DEBUG) { System.out.println("BreakStatement ::= break SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreak() ; break; case 307 : if (DEBUG) { System.out.println("BreakStatement ::= break Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreakWithLabel() ; break; case 308 : if (DEBUG) { System.out.println("ContinueStatement ::= continue SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinue() ; break; case 309 : if (DEBUG) { System.out.println("ContinueStatement ::= continue Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinueWithLabel() ; break; case 310 : if (DEBUG) { System.out.println("ReturnStatement ::= return Expressionopt SEMICOLON"); } //$NON-NLS-1$ consumeStatementReturn() ; break; case 311 : if (DEBUG) { System.out.println("ThrowStatement ::= throw Expression SEMICOLON"); } //$NON-NLS-1$ consumeStatementThrow(); break; case 312 : if (DEBUG) { System.out.println("SynchronizedStatement ::= OnlySynchronized LPAREN..."); } //$NON-NLS-1$ consumeStatementSynchronized(); break; case 313 : if (DEBUG) { System.out.println("OnlySynchronized ::= synchronized"); } //$NON-NLS-1$ consumeOnlySynchronized(); break; case 314 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catches"); } //$NON-NLS-1$ consumeStatementTry(false); break; case 315 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catchesopt Finally"); } //$NON-NLS-1$ consumeStatementTry(true); break; case 317 : if (DEBUG) { System.out.println("ExitTryBlock ::="); } //$NON-NLS-1$ consumeExitTryBlock(); break; case 319 : if (DEBUG) { System.out.println("Catches ::= Catches CatchClause"); } //$NON-NLS-1$ consumeCatches(); break; case 320 : if (DEBUG) { System.out.println("CatchClause ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeStatementCatch() ; break; case 322 : if (DEBUG) { System.out.println("PushLPAREN ::= LPAREN"); } //$NON-NLS-1$ consumeLeftParen(); break; case 323 : if (DEBUG) { System.out.println("PushRPAREN ::= RPAREN"); } //$NON-NLS-1$ consumeRightParen(); break; case 328 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayThis(); break; case 329 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Expression_NotName..."); } //$NON-NLS-1$ consumePrimaryNoNewArray(); break; case 330 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Name PushRPAREN"); } //$NON-NLS-1$ consumePrimaryNoNewArrayWithName(); break; case 333 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameThis(); break; case 334 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT super"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameSuper(); break; case 335 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayName(); break; case 336 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayArrayType(); break; case 337 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveArrayType(); break; case 338 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveType(); break; case 341 : if (DEBUG) { System.out.println("AllocationHeader ::= new ClassType LPAREN..."); } //$NON-NLS-1$ consumeAllocationHeader(); break; case 342 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionWithTypeArguments(); break; case 343 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new ClassType LPAREN"); } //$NON-NLS-1$ consumeClassInstanceCreationExpression(); break; case 344 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 345 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 346 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 347 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 348 : if (DEBUG) { System.out.println("ClassInstanceCreationExpressionName ::= Name DOT"); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionName() ; break; case 349 : if (DEBUG) { System.out.println("ClassBodyopt ::="); } //$NON-NLS-1$ consumeClassBodyopt(); break; case 351 : if (DEBUG) { System.out.println("ClassBodySimpleNameopt ::="); } //$NON-NLS-1$ consumeClassBodyopt(); break; case 353 : if (DEBUG) { System.out.println("EnterAnonymousClassBodySimpleName ::="); } //$NON-NLS-1$ consumeEnterAnonymousClassBodySimpleName(); break; case 354 : if (DEBUG) { System.out.println("EnterAnonymousClassBody ::="); } //$NON-NLS-1$ consumeEnterAnonymousClassBody(); break; case 356 : if (DEBUG) { System.out.println("ArgumentList ::= ArgumentList COMMA Expression"); } //$NON-NLS-1$ consumeArgumentList(); break; case 357 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new PrimitiveType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 358 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new ClassOrInterfaceType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 359 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 360 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new PrimitiveType"); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 361 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 362 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 364 : if (DEBUG) { System.out.println("DimWithOrWithOutExprs ::= DimWithOrWithOutExprs..."); } //$NON-NLS-1$ consumeDimWithOrWithOutExprs(); break; case 366 : if (DEBUG) { System.out.println("DimWithOrWithOutExpr ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeDimWithOrWithOutExpr(); break; case 367 : if (DEBUG) { System.out.println("Dims ::= DimsLoop"); } //$NON-NLS-1$ consumeDims(); break; case 370 : if (DEBUG) { System.out.println("OneDimLoop ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeOneDimLoop(); break; case 371 : if (DEBUG) { System.out.println("FieldAccess ::= Primary DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(false); break; case 372 : if (DEBUG) { System.out.println("FieldAccess ::= super DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(true); break; case 373 : if (DEBUG) { System.out.println("MethodInvocation ::= Name LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeMethodInvocationName(); break; case 374 : if (DEBUG) { System.out.println("MethodInvocation ::= Name DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationNameWithTypeArguments(); break; case 375 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationPrimaryWithTypeArguments(); break; case 376 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationPrimary(); break; case 377 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationSuperWithTypeArguments(); break; case 378 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationSuper(); break; case 379 : if (DEBUG) { System.out.println("ArrayAccess ::= Name LBRACKET Expression RBRACKET"); } //$NON-NLS-1$ consumeArrayAccess(true); break; case 380 : if (DEBUG) { System.out.println("ArrayAccess ::= PrimaryNoNewArray LBRACKET Expression..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 381 : if (DEBUG) { System.out.println("ArrayAccess ::= ArrayCreationWithArrayInitializer..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 383 : if (DEBUG) { System.out.println("PostfixExpression ::= Name"); } //$NON-NLS-1$ consumePostfixExpression(); break; case 386 : if (DEBUG) { System.out.println("PostIncrementExpression ::= PostfixExpression PLUS_PLUS"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,true); break; case 387 : if (DEBUG) { System.out.println("PostDecrementExpression ::= PostfixExpression..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,true); break; case 388 : if (DEBUG) { System.out.println("PushPosition ::="); } //$NON-NLS-1$ consumePushPosition(); break; case 391 : if (DEBUG) { System.out.println("UnaryExpression ::= PLUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 392 : if (DEBUG) { System.out.println("UnaryExpression ::= MINUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 394 : if (DEBUG) { System.out.println("PreIncrementExpression ::= PLUS_PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,false); break; case 395 : if (DEBUG) { System.out.println("PreDecrementExpression ::= MINUS_MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,false); break; case 397 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= TWIDDLE PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 398 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= NOT PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 400 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN PrimitiveType Dimsopt..."); } //$NON-NLS-1$ consumeCastExpressionWithPrimitiveType(); break; case 401 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithGenericsArray(); break; case 402 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithQualifiedGenericsArray(); break; case 403 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionLL1(); break; case 404 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name Dims PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionWithNameArray(); break; case 405 : if (DEBUG) { System.out.println("OnlyTypeArgumentsForCastExpression ::= OnlyTypeArguments"); } //$NON-NLS-1$ consumeOnlyTypeArgumentsForCastExpression(); break; case 406 : if (DEBUG) { System.out.println("InsideCastExpression ::="); } //$NON-NLS-1$ consumeInsideCastExpression(); break; case 407 : if (DEBUG) { System.out.println("InsideCastExpressionLL1 ::="); } //$NON-NLS-1$ consumeInsideCastExpressionLL1(); break; case 408 : if (DEBUG) { System.out.println("InsideCastExpressionWithQualifiedGenerics ::="); } //$NON-NLS-1$ consumeInsideCastExpressionWithQualifiedGenerics(); break; case 410 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 411 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 412 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 414 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression PLUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 415 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression MINUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 417 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 418 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 419 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 421 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 422 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression GREATER..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 423 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS_EQUAL"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 424 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 426 : if (DEBUG) { System.out.println("InstanceofExpression ::= InstanceofExpression instanceof"); } //$NON-NLS-1$ consumeInstanceOfExpression(OperatorIds.INSTANCEOF); break; case 428 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 429 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 431 : if (DEBUG) { System.out.println("AndExpression ::= AndExpression AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 433 : if (DEBUG) { System.out.println("ExclusiveOrExpression ::= ExclusiveOrExpression XOR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 435 : if (DEBUG) { System.out.println("InclusiveOrExpression ::= InclusiveOrExpression OR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 437 : if (DEBUG) { System.out.println("ConditionalAndExpression ::= ConditionalAndExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 439 : if (DEBUG) { System.out.println("ConditionalOrExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 441 : if (DEBUG) { System.out.println("ConditionalExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 444 : if (DEBUG) { System.out.println("Assignment ::= PostfixExpression AssignmentOperator..."); } //$NON-NLS-1$ consumeAssignment(); break; case 446 : if (DEBUG) { System.out.println("Assignment ::= InvalidArrayInitializerAssignement"); } //$NON-NLS-1$ ignoreExpressionAssignment(); break; case 447 : if (DEBUG) { System.out.println("AssignmentOperator ::= EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(EQUAL); break; case 448 : if (DEBUG) { System.out.println("AssignmentOperator ::= MULTIPLY_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MULTIPLY); break; case 449 : if (DEBUG) { System.out.println("AssignmentOperator ::= DIVIDE_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(DIVIDE); break; case 450 : if (DEBUG) { System.out.println("AssignmentOperator ::= REMAINDER_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(REMAINDER); break; case 451 : if (DEBUG) { System.out.println("AssignmentOperator ::= PLUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(PLUS); break; case 452 : if (DEBUG) { System.out.println("AssignmentOperator ::= MINUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MINUS); break; case 453 : if (DEBUG) { System.out.println("AssignmentOperator ::= LEFT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(LEFT_SHIFT); break; case 454 : if (DEBUG) { System.out.println("AssignmentOperator ::= RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(RIGHT_SHIFT); break; case 455 : if (DEBUG) { System.out.println("AssignmentOperator ::= UNSIGNED_RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(UNSIGNED_RIGHT_SHIFT); break; case 456 : if (DEBUG) { System.out.println("AssignmentOperator ::= AND_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(AND); break; case 457 : if (DEBUG) { System.out.println("AssignmentOperator ::= XOR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(XOR); break; case 458 : if (DEBUG) { System.out.println("AssignmentOperator ::= OR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(OR); break; case 462 : if (DEBUG) { System.out.println("Expressionopt ::="); } //$NON-NLS-1$ consumeEmptyExpression(); break; case 467 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyClassBodyDeclarationsopt(); break; case 468 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeClassBodyDeclarationsopt(); break; case 469 : if (DEBUG) { System.out.println("Modifiersopt ::="); } //$NON-NLS-1$ consumeDefaultModifiers(); break; case 470 : if (DEBUG) { System.out.println("Modifiersopt ::= Modifiers"); } //$NON-NLS-1$ consumeModifiers(); break; case 471 : if (DEBUG) { System.out.println("BlockStatementsopt ::="); } //$NON-NLS-1$ consumeEmptyBlockStatementsopt(); break; case 473 : if (DEBUG) { System.out.println("Dimsopt ::="); } //$NON-NLS-1$ consumeEmptyDimsopt(); break; case 475 : if (DEBUG) { System.out.println("ArgumentListopt ::="); } //$NON-NLS-1$ consumeEmptyArgumentListopt(); break; case 479 : if (DEBUG) { System.out.println("FormalParameterListopt ::="); } //$NON-NLS-1$ consumeFormalParameterListopt(); break; case 483 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclarationsopt(); break; case 484 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarationsopt(); break; case 485 : if (DEBUG) { System.out.println("NestedType ::="); } //$NON-NLS-1$ consumeNestedType(); break; case 486 : if (DEBUG) { System.out.println("ForInitopt ::="); } //$NON-NLS-1$ consumeEmptyForInitopt(); break; case 488 : if (DEBUG) { System.out.println("ForUpdateopt ::="); } //$NON-NLS-1$ consumeEmptyForUpdateopt(); break; case 492 : if (DEBUG) { System.out.println("Catchesopt ::="); } //$NON-NLS-1$ consumeEmptyCatchesopt(); break; case 494 : if (DEBUG) { System.out.println("EnumDeclaration ::= EnumHeader EnumBody"); } //$NON-NLS-1$ consumeEnumDeclaration(); break; case 495 : if (DEBUG) { System.out.println("EnumHeader ::= EnumHeaderName ClassHeaderImplementsopt"); } //$NON-NLS-1$ consumeEnumHeader(); break; case 496 : if (DEBUG) { System.out.println("EnumHeaderName ::= Modifiersopt enum Identifier"); } //$NON-NLS-1$ consumeEnumHeaderName(); break; case 497 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumBodyDeclarationsopt RBRACE"); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 498 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE COMMA EnumBodyDeclarationsopt..."); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 499 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants COMMA..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 500 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 502 : if (DEBUG) { System.out.println("EnumConstants ::= EnumConstants COMMA EnumConstant"); } //$NON-NLS-1$ consumeEnumConstants(); break; case 503 : if (DEBUG) { System.out.println("EnumConstantHeaderName ::= Modifiersopt Identifier"); } //$NON-NLS-1$ consumeEnumConstantHeaderName(); break; case 504 : if (DEBUG) { System.out.println("EnumConstantHeader ::= EnumConstantHeaderName..."); } //$NON-NLS-1$ consumeEnumConstantHeader(); break; case 505 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader ForceNoDiet..."); } //$NON-NLS-1$ consumeEnumConstantWithClassBody(); break; case 506 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader"); } //$NON-NLS-1$ consumeEnumConstantNoClassBody(); break; case 507 : if (DEBUG) { System.out.println("Arguments ::= LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeArguments(); break; case 508 : if (DEBUG) { System.out.println("Argumentsopt ::="); } //$NON-NLS-1$ consumeEmptyArguments(); break; case 510 : if (DEBUG) { System.out.println("EnumDeclarations ::= SEMICOLON ClassBodyDeclarationsopt"); } //$NON-NLS-1$ consumeEnumDeclarations(); break; case 511 : if (DEBUG) { System.out.println("EnumBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyEnumDeclarations(); break; case 513 : if (DEBUG) { System.out.println("EnhancedForStatement ::= EnhancedForStatementHeader..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 514 : if (DEBUG) { System.out.println("EnhancedForStatementNoShortIf ::=..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 515 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::= for LPAREN Type..."); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(false); break; case 516 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::= for LPAREN Modifiers Type"); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(true); break; case 517 : if (DEBUG) { System.out.println("SingleStaticImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 518 : if (DEBUG) { System.out.println("SingleStaticImportDeclarationName ::= import static Name"); } //$NON-NLS-1$ consumeSingleStaticImportDeclarationName(); break; case 519 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 520 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclarationName ::= import static..."); } //$NON-NLS-1$ consumeStaticImportOnDemandDeclarationName(); break; case 521 : if (DEBUG) { System.out.println("TypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeTypeArguments(); break; case 522 : if (DEBUG) { System.out.println("OnlyTypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeOnlyTypeArguments(); break; case 524 : if (DEBUG) { System.out.println("TypeArgumentList1 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList1(); break; case 526 : if (DEBUG) { System.out.println("TypeArgumentList ::= TypeArgumentList COMMA TypeArgument"); } //$NON-NLS-1$ consumeTypeArgumentList(); break; case 527 : if (DEBUG) { System.out.println("TypeArgument ::= ReferenceType"); } //$NON-NLS-1$ consumeTypeArgument(); break; case 531 : if (DEBUG) { System.out.println("ReferenceType1 ::= ReferenceType GREATER"); } //$NON-NLS-1$ consumeReferenceType1(); break; case 532 : if (DEBUG) { System.out.println("ReferenceType1 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType1(); break; case 534 : if (DEBUG) { System.out.println("TypeArgumentList2 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList2(); break; case 537 : if (DEBUG) { System.out.println("ReferenceType2 ::= ReferenceType RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType2(); break; case 538 : if (DEBUG) { System.out.println("ReferenceType2 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType2(); break; case 540 : if (DEBUG) { System.out.println("TypeArgumentList3 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList3(); break; case 543 : if (DEBUG) { System.out.println("ReferenceType3 ::= ReferenceType UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType3(); break; case 544 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION"); } //$NON-NLS-1$ consumeWildcard(); break; case 545 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION WildcardBounds"); } //$NON-NLS-1$ consumeWildcardWithBounds(); break; case 546 : if (DEBUG) { System.out.println("WildcardBounds ::= extends ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsExtends(); break; case 547 : if (DEBUG) { System.out.println("WildcardBounds ::= super ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsSuper(); break; case 548 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION GREATER"); } //$NON-NLS-1$ consumeWildcard1(); break; case 549 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION WildcardBounds1"); } //$NON-NLS-1$ consumeWildcard1WithBounds(); break; case 550 : if (DEBUG) { System.out.println("WildcardBounds1 ::= extends ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Extends(); break; case 551 : if (DEBUG) { System.out.println("WildcardBounds1 ::= super ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Super(); break; case 552 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard2(); break; case 553 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION WildcardBounds2"); } //$NON-NLS-1$ consumeWildcard2WithBounds(); break; case 554 : if (DEBUG) { System.out.println("WildcardBounds2 ::= extends ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Extends(); break; case 555 : if (DEBUG) { System.out.println("WildcardBounds2 ::= super ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Super(); break; case 556 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard3(); break; case 557 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION WildcardBounds3"); } //$NON-NLS-1$ consumeWildcard3WithBounds(); break; case 558 : if (DEBUG) { System.out.println("WildcardBounds3 ::= extends ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Extends(); break; case 559 : if (DEBUG) { System.out.println("WildcardBounds3 ::= super ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Super(); break; case 560 : if (DEBUG) { System.out.println("TypeParameterHeader ::= Identifier"); } //$NON-NLS-1$ consumeTypeParameterHeader(); break; case 561 : if (DEBUG) { System.out.println("TypeParameters ::= LESS TypeParameterList1"); } //$NON-NLS-1$ consumeTypeParameters(); break; case 563 : if (DEBUG) { System.out.println("TypeParameterList ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList(); break; case 565 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtends(); break; case 566 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtendsAndBounds(); break; case 568 : if (DEBUG) { System.out.println("AdditionalBoundList ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList(); break; case 569 : if (DEBUG) { System.out.println("AdditionalBound ::= AND ReferenceType"); } //$NON-NLS-1$ consumeAdditionalBound(); break; case 571 : if (DEBUG) { System.out.println("TypeParameterList1 ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList1(); break; case 572 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader GREATER"); } //$NON-NLS-1$ consumeTypeParameter1(); break; case 573 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtends(); break; case 574 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtendsAndBounds(); break; case 576 : if (DEBUG) { System.out.println("AdditionalBoundList1 ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList1(); break; case 577 : if (DEBUG) { System.out.println("AdditionalBound1 ::= AND ReferenceType1"); } //$NON-NLS-1$ consumeAdditionalBound1(); break; case 583 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 584 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 587 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= TWIDDLE..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 588 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= NOT PushPosition"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 591 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 592 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name MULTIPLY..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MULTIPLY); break; case 593 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 594 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name DIVIDE..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.DIVIDE); break; case 595 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 596 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name REMAINDER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.REMAINDER); break; case 598 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 599 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name PLUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.PLUS); break; case 600 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 601 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name MINUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MINUS); break; case 603 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 604 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LEFT_SHIFT); break; case 605 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 606 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.RIGHT_SHIFT); break; case 607 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 608 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name UNSIGNED_RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 610 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 611 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS); break; case 612 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 613 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER); break; case 614 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 615 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS_EQUAL); break; case 616 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 617 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER_EQUAL); break; case 619 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::= Name instanceof..."); } //$NON-NLS-1$ consumeInstanceOfExpressionWithName(OperatorIds.INSTANCEOF); break; case 620 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::=..."); } //$NON-NLS-1$ consumeInstanceOfExpression(OperatorIds.INSTANCEOF); break; case 622 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 623 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.EQUAL_EQUAL); break; case 624 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 625 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.NOT_EQUAL); break; case 627 : if (DEBUG) { System.out.println("AndExpression_NotName ::= AndExpression_NotName AND..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 628 : if (DEBUG) { System.out.println("AndExpression_NotName ::= Name AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND); break; case 630 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 631 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::= Name XOR AndExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.XOR); break; case 633 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 634 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::= Name OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR); break; case 636 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 637 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::= Name AND_AND..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND_AND); break; case 639 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 640 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::= Name OR_OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR_OR); break; case 642 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 643 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::= Name QUESTION..."); } //$NON-NLS-1$ consumeConditionalExpressionWithName(OperatorIds.QUESTIONCOLON) ; break; case 647 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= Modifiers AT..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeaderName() ; break; case 648 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= AT..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeaderName() ; break; case 649 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeader() ; break; case 650 : if (DEBUG) { System.out.println("AnnotationTypeDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclaration() ; break; case 652 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyAnnotationTypeMemberDeclarationsopt() ; break; case 655 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarations() ; break; case 656 : if (DEBUG) { System.out.println("AnnotationMethodHeaderName ::= Modifiersopt..."); } //$NON-NLS-1$ consumeMethodHeaderNameWithTypeParameters(true); break; case 657 : if (DEBUG) { System.out.println("AnnotationMethodHeaderName ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeMethodHeaderName(true); break; case 658 : if (DEBUG) { System.out.println("AnnotationMethodHeaderDefaultValueopt ::="); } //$NON-NLS-1$ consumeEmptyMethodHeaderDefaultValue() ; break; case 659 : if (DEBUG) { System.out.println("AnnotationMethodHeaderDefaultValueopt ::= DefaultValue"); } //$NON-NLS-1$ consumeMethodHeaderDefaultValue(); break; case 660 : if (DEBUG) { System.out.println("AnnotationMethodHeader ::= AnnotationMethodHeaderName..."); } //$NON-NLS-1$ consumeMethodHeader(); break; case 661 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclaration() ; break; case 669 : if (DEBUG) { System.out.println("AnnotationName ::= AT Name"); } //$NON-NLS-1$ consumeAnnotationName() ; break; case 670 : if (DEBUG) { System.out.println("NormalAnnotation ::= AnnotationName LPAREN..."); } //$NON-NLS-1$ consumeNormalAnnotation() ; break; case 671 : if (DEBUG) { System.out.println("MemberValuePairsopt ::="); } //$NON-NLS-1$ consumeEmptyMemberValuePairsopt() ; break; case 674 : if (DEBUG) { System.out.println("MemberValuePairs ::= MemberValuePairs COMMA..."); } //$NON-NLS-1$ consumeMemberValuePairs() ; break; case 675 : if (DEBUG) { System.out.println("MemberValuePair ::= SimpleName EQUAL MemberValue"); } //$NON-NLS-1$ consumeMemberValuePair() ; break; case 677 : if (DEBUG) { System.out.println("MemberValue ::= Name"); } //$NON-NLS-1$ consumeMemberValueAsName() ; break; case 680 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; break; case 681 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; break; case 682 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 683 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 685 : if (DEBUG) { System.out.println("MemberValues ::= MemberValues COMMA MemberValue"); } //$NON-NLS-1$ consumeMemberValues() ; break; case 686 : if (DEBUG) { System.out.println("MarkerAnnotation ::= AnnotationName"); } //$NON-NLS-1$ consumeMarkerAnnotation() ; break; case 687 : if (DEBUG) { System.out.println("SingleMemberAnnotation ::= AnnotationName LPAREN..."); } //$NON-NLS-1$ consumeSingleMemberAnnotation() ; break; case 688 : if (DEBUG) { System.out.println("RecoveryMethodHeaderName ::= Modifiersopt TypeParameters"); } //$NON-NLS-1$ consumeRecoveryMethodHeaderNameWithTypeParameters(); break; case 689 : if (DEBUG) { System.out.println("RecoveryMethodHeaderName ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeRecoveryMethodHeaderName(); break; case 690 : if (DEBUG) { System.out.println("RecoveryMethodHeader ::= RecoveryMethodHeaderName..."); } //$NON-NLS-1$ consumeMethodHeader(); break; case 691 : if (DEBUG) { System.out.println("RecoveryMethodHeader ::= RecoveryMethodHeaderName..."); } //$NON-NLS-1$ consumeMethodHeader(); break; }}
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/e2b84708e7e9f1a0476422497e11c18bab983558/Parser.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
7865,
2175,
12,
474,
1328,
13,
288,
225,
1620,
261,
1328,
262,
288,
565,
648,
12899,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
559,
493,
33,
14488,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
9840,
559,
5621,
26924,
202,
8820,
31,
377,
648,
21193,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
2404,
559,
493,
33,
1659,
1162,
1358,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
2404,
559,
5621,
565,
1082,
202,
8820,
31,
377,
648,
17495,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
797,
1162,
1358,
493,
33,
1770,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
797,
1162,
24730,
5621,
565,
1082,
202,
8820,
31,
377,
648,
9934,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
797,
1162,
1358,
493,
33,
7928,
559,
15772,
1770,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
797,
1162,
1358,
5621,
565,
1082,
202,
8820,
31,
377,
648,
17160,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
30982,
493,
33,
1659,
1162,
1358,
1412,
4628,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
30982,
5621,
565,
1082,
202,
8820,
31,
377,
648,
6437,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
27182,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
7865,
2175,
12,
474,
1328,
13,
288,
225,
1620,
261,
1328,
262,
288,
565,
648,
12899,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
559,
493,
33,
14488,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
9840,
559,
5621,
26924,
202,
8820,
31,
377,
648,
21193,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
2404,
559,
493,
33,
1659,
1162,
1358,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
2404,
559,
5621,
565,
1082,
202,
8820,
31,
377,
648,
17495,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
797,
1162,
1358,
493,
33,
2
] |
public void setUp() throws IOException { m_server = new ServerMessenger("Server", SERVER_PORT); m_server.setAcceptNewConnections(true); m_server.addMessageListener(m_serverListener); m_client1 = new ClientMessenger("localhost", SERVER_PORT, "client1"); m_client1.addMessageListener(m_client1Listener); m_client2 = new ClientMessenger("localhost", SERVER_PORT, "client2"); m_client2.addMessageListener(m_client2Listener); }
|
8909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8909/b1c2fedcc8f54a822544e2dab5fe093ff7f2b275/MessengerTest.java/buggy/triplea/src/games/strategy/net/MessengerTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
24292,
1435,
1216,
1860,
202,
95,
202,
202,
81,
67,
3567,
273,
394,
3224,
29329,
2932,
2081,
3113,
15061,
67,
6354,
1769,
202,
202,
81,
67,
3567,
18,
542,
5933,
1908,
9314,
12,
3767,
1769,
202,
202,
81,
67,
3567,
18,
1289,
1079,
2223,
12,
81,
67,
3567,
2223,
1769,
9506,
202,
81,
67,
2625,
21,
273,
394,
2445,
29329,
2932,
13014,
3113,
15061,
67,
6354,
16,
315,
2625,
21,
8863,
202,
202,
81,
67,
2625,
21,
18,
1289,
1079,
2223,
12,
81,
67,
2625,
21,
2223,
1769,
9506,
202,
81,
67,
2625,
22,
273,
394,
2445,
29329,
2932,
13014,
3113,
15061,
67,
6354,
16,
315,
2625,
22,
8863,
202,
202,
81,
67,
2625,
22,
18,
1289,
1079,
2223,
12,
81,
67,
2625,
22,
2223,
1769,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
24292,
1435,
1216,
1860,
202,
95,
202,
202,
81,
67,
3567,
273,
394,
3224,
29329,
2932,
2081,
3113,
15061,
67,
6354,
1769,
202,
202,
81,
67,
3567,
18,
542,
5933,
1908,
9314,
12,
3767,
1769,
202,
202,
81,
67,
3567,
18,
1289,
1079,
2223,
12,
81,
67,
3567,
2223,
1769,
9506,
202,
81,
67,
2625,
21,
273,
394,
2445,
29329,
2932,
13014,
3113,
15061,
67,
6354,
16,
315,
2625,
21,
8863,
202,
202,
81,
67,
2625,
21,
18,
1289,
1079,
2223,
12,
81,
67,
2625,
21,
2223,
1769,
9506,
202,
81,
67,
2625,
22,
273,
394,
2445,
29329,
2932,
13014,
3113,
15061,
67,
6354,
16,
315,
2625,
22,
8863,
202,
202,
81,
67,
2625,
22,
2
] |
||
mNSConnectPanel.add(mNSPortField, new GridBagConstraints(1, 1, 1, 1, 1.0, 0.0
|
mNSConnectPanel.add(mNSPortField, new GridBagConstraints(2, 1, 1, 1, 1.0, 0.0
|
private void jbInit() throws Exception { mNSConnectBorder = new TitledBorder(new EtchedBorder(EtchedBorder.RAISED,Color.white,new Color(142, 142, 142)),"Naming Service Connection"); mSubjectMgrBorder = new TitledBorder(new EtchedBorder(EtchedBorder.RAISED,Color.white,new Color(142, 142, 142)),"Subject Manager Choice"); mNSConnectPanel.setLayout(mNSConnectLayout); mNSConnectPanel.setBorder(mNSConnectBorder); mNSConnectPanel.setMinimumSize(new Dimension(450, 175)); mNSHostLabel.setHorizontalAlignment(SwingConstants.TRAILING); mNSHostLabel.setLabelFor(mNSHostField); mNSHostLabel.setText("Naming Service Host"); mNSHostField.setMinimumSize(new Dimension(80, 17)); mNSHostField.setPreferredSize(new Dimension(180, 17)); mNSHostField.addFocusListener(new java.awt.event.FocusAdapter() { public void focusLost(FocusEvent e) { validateNetworkAddress(); } }); mNSHostField.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { validateNetworkAddress(); } }); mNSPortField.addFocusListener(new java.awt.event.FocusAdapter() { public void focusLost(FocusEvent e) { validateNetworkAddress(); } }); mNSPortField.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { validateNetworkAddress(); } }); mSubjectMgrPanel.setBorder(mSubjectMgrBorder); mSubjectMgrPanel.setMinimumSize(new Dimension(450, 200)); mSubjectMgrPanel.setPreferredSize(new Dimension(450, 200)); mSubjectMgrPanel.setLayout(mSubjectMgrLayout); mSubjectMgrSplitPane.setDividerSize(7); mNSConnectButton.setEnabled(false); mNSConnectButton.setText("Connect"); mNSConnectButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { namingServiceConnectAction(e); } }); mOkayButton.setEnabled(false); mSubjectMgrList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); mButtonPanel.setMinimumSize(new Dimension(450, 33)); mButtonPanel.setPreferredSize(new Dimension(450, 33)); mSubjectMgrListPane.setMinimumSize(new Dimension(100, 90)); mSubjectMgrListPane.setPreferredSize(new Dimension(180, 90)); mSubjectMgrInfoPane.setMinimumSize(new Dimension(100, 90)); mSubjectMgrInfoPane.setPreferredSize(new Dimension(180, 90)); mNSPortLabel.setHorizontalAlignment(SwingConstants.TRAILING); mNSPortLabel.setLabelFor(mNSPortField); mNamingContextLabel.setHorizontalAlignment(SwingConstants.TRAILING); mNamingContextLabel.setLabelFor(mNamingContextField); mNSIiopVerLabel.setHorizontalAlignment(SwingConstants.TRAILING); mNSIiopVerLabel.setLabelFor(mNSIiopVerField); mNSIiopVerLabel.setText("IIOP Version"); mNSIiopVerField.addFocusListener(new java.awt.event.FocusAdapter() { public void focusLost(FocusEvent e) { validateNetworkAddress(); } }); mNSIiopVerField.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { validateNetworkAddress(); } }); mNSConnectPanel.add(mNSHostLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0 ,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 2), 47, 18)); mNSConnectPanel.add(mNSHostField, new GridBagConstraints(1, 0, 1, 1, 1.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 14, 6)); mNSPortLabel.setText("Naming Service Port"); mNSPortField.setMinimumSize(new Dimension(50, 17)); mNSPortField.setPreferredSize(new Dimension(50, 17)); mNSConnectPanel.add(mNSPortLabel, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0 ,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 2), 0, 18)); mNSConnectPanel.add(mNSPortField, new GridBagConstraints(1, 1, 1, 1, 1.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 10, 6)); mNSIiopVerField.setMinimumSize(new Dimension(50, 17)); mNSIiopVerField.setPreferredSize(new Dimension(50, 17)); mNSConnectPanel.add(mNSIiopVerLabel, new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0 ,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 2), 0, 18)); mNSConnectPanel.add(mNSIiopVerField, new GridBagConstraints(1, 2, 1, 1, 1.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 10, 6)); mNamingContextLabel.setText("Naming Subcontext"); mNamingContextField.setMinimumSize(new Dimension(80, 17)); mNamingContextField.setPreferredSize(new Dimension(150, 17)); mOkayButton.setText("OK"); mOkayButton.setMnemonic('O'); mOkayButton.setSelected(true); mOkayButton.addActionListener(new ActionListener() { public void actionPerformed (ActionEvent e) { okButtonAction(e); } }); mCancelButton.setText("Cancel"); mCancelButton.setMnemonic('C'); mCancelButton.addActionListener(new ActionListener() { public void actionPerformed (ActionEvent e) { cancelButtonAction(e); } }); this.getContentPane().add(mNSConnectPanel, BorderLayout.NORTH); mNSConnectPanel.add(mNamingContextLabel, new GridBagConstraints(0, 3, 1, 1, 0.0, 0.0 ,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 2), 0, 18)); mNSConnectPanel.add(mNamingContextField, new GridBagConstraints(1, 3, 1, 1, 1.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 44, 6)); mNSConnectPanel.add(mNSConnectButton, new GridBagConstraints(0, 4, 2, 1, 0.0, 0.0 ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(5, 0, 0, 0), 0, 0)); this.getContentPane().add(mButtonPanel, BorderLayout.SOUTH); mButtonPanel.add(mOkayButton, null); mButtonPanel.add(mCancelButton, null); this.getContentPane().add(mSubjectMgrPanel, BorderLayout.CENTER); mSubjectMgrPanel.add(mSubjectMgrSplitPane, BorderLayout.CENTER); mSubjectMgrSplitPane.add(mSubjectMgrListPane, JSplitPane.LEFT); mSubjectMgrSplitPane.add(mSubjectMgrInfoPane, JSplitPane.RIGHT); }
|
49828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49828/9bdb2e7ffa90f6f6b8c7d3498b15a36edfd020e7/ConnectionDialog.java/clean/modules/tweek/java/org/vrjuggler/tweek/gui/ConnectionDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
918,
20515,
2570,
1435,
1216,
1185,
282,
288,
1377,
312,
3156,
5215,
8107,
273,
394,
399,
305,
1259,
8107,
12,
2704,
512,
88,
2049,
8107,
12,
41,
88,
2049,
8107,
18,
2849,
45,
18204,
16,
2957,
18,
14739,
16,
2704,
5563,
12,
29126,
16,
5045,
22,
16,
5045,
22,
13,
3631,
6,
24102,
1956,
4050,
8863,
1377,
312,
6638,
9455,
8107,
273,
394,
399,
305,
1259,
8107,
12,
2704,
512,
88,
2049,
8107,
12,
41,
88,
2049,
8107,
18,
2849,
45,
18204,
16,
2957,
18,
14739,
16,
2704,
5563,
12,
29126,
16,
5045,
22,
16,
5045,
22,
13,
3631,
6,
6638,
8558,
16432,
8863,
1377,
312,
3156,
5215,
5537,
18,
542,
3744,
12,
81,
3156,
5215,
3744,
1769,
1377,
312,
3156,
5215,
5537,
18,
542,
8107,
12,
81,
3156,
5215,
8107,
1769,
1377,
312,
3156,
5215,
5537,
18,
542,
13042,
1225,
12,
2704,
13037,
12,
24,
3361,
16,
404,
5877,
10019,
1377,
312,
3156,
2594,
2224,
18,
542,
14457,
11535,
12,
6050,
310,
2918,
18,
20060,
2627,
1360,
1769,
1377,
312,
3156,
2594,
2224,
18,
542,
2224,
1290,
12,
81,
3156,
2594,
974,
1769,
1377,
312,
3156,
2594,
2224,
18,
542,
1528,
2932,
24102,
1956,
4893,
8863,
1377,
312,
3156,
2594,
974,
18,
542,
13042,
1225,
12,
2704,
13037,
12,
3672,
16,
8043,
10019,
1377,
312,
3156,
2594,
974,
18,
542,
16028,
1225,
12,
2704,
13037,
12,
18278,
16,
8043,
10019,
1377,
312,
3156,
2594,
974,
18,
1289,
9233,
2223,
12,
2704,
2252,
18,
2219,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
918,
20515,
2570,
1435,
1216,
1185,
282,
288,
1377,
312,
3156,
5215,
8107,
273,
394,
399,
305,
1259,
8107,
12,
2704,
512,
88,
2049,
8107,
12,
41,
88,
2049,
8107,
18,
2849,
45,
18204,
16,
2957,
18,
14739,
16,
2704,
5563,
12,
29126,
16,
5045,
22,
16,
5045,
22,
13,
3631,
6,
24102,
1956,
4050,
8863,
1377,
312,
6638,
9455,
8107,
273,
394,
399,
305,
1259,
8107,
12,
2704,
512,
88,
2049,
8107,
12,
41,
88,
2049,
8107,
18,
2849,
45,
18204,
16,
2957,
18,
14739,
16,
2704,
5563,
12,
29126,
16,
5045,
22,
16,
5045,
22,
13,
3631,
6,
6638,
8558,
16432,
8863,
1377,
312,
3156,
5215,
5537,
18,
542,
3744,
12,
81,
3156,
5215,
3744,
2
] |
+ user.getName() + "');\">"); retValue.append("<img src=\""+getSkinUri()+"commons/user.png\"> ");
|
+ user.getName() + "');\">"); retValue.append("<img src=\"" + getSkinUri() + "commons/user.png\"> ");
|
private StringBuffer buildEntryUser(CmsUser user) { StringBuffer retValue = new StringBuffer(384); retValue.append("<span class=\"dialogunmarked maxwidth\" onmouseover=\"className='dialogmarked maxwidth';\"" + " onmouseout=\"className='dialogunmarked maxwidth'\" onclick=\"top.selectForm('1','" + user.getName() + "');\">"); retValue.append("<img src=\""+getSkinUri()+"commons/user.png\"> "); retValue.append(user.getName()); if (!"".equals(user.getFirstname()) || !"".equals(user.getLastname())) { retValue.append(" ("+user.getFirstname()+" "+user.getLastname()+")"); } retValue.append("</span>"); return retValue; }
|
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/2fa0efcae8f9aa5971c7763269a3b033e9256d4b/CmsChaccBrowser.java/buggy/src/org/opencms/workplace/commons/CmsChaccBrowser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
6674,
1361,
1622,
1299,
12,
4747,
1299,
729,
13,
288,
3639,
6674,
21236,
273,
394,
6674,
12,
17295,
1769,
3639,
21236,
18,
6923,
2932,
32,
3969,
667,
5189,
12730,
318,
3355,
329,
943,
2819,
2412,
603,
11697,
1643,
5189,
12434,
2218,
12730,
3355,
329,
943,
2819,
13506,
8530,
2398,
397,
315,
603,
11697,
659,
5189,
12434,
2218,
12730,
318,
3355,
329,
943,
2819,
11,
2412,
22324,
5189,
3669,
18,
4025,
1204,
2668,
21,
2187,
4970,
5411,
397,
729,
18,
17994,
1435,
397,
2491,
1769,
21121,
1769,
3639,
21236,
18,
6923,
2932,
32,
6081,
1705,
13186,
15,
588,
26827,
3006,
1435,
9078,
6054,
87,
19,
1355,
18,
6446,
2412,
22393,
10600,
4868,
1769,
3639,
21236,
18,
6923,
12,
1355,
18,
17994,
10663,
3639,
309,
16051,
3660,
18,
14963,
12,
1355,
18,
588,
3759,
529,
10756,
747,
401,
3660,
18,
14963,
12,
1355,
18,
588,
3024,
529,
1435,
3719,
288,
5411,
21236,
18,
6923,
2932,
7566,
15,
1355,
18,
588,
3759,
529,
1435,
9078,
13773,
1355,
18,
588,
3024,
529,
1435,
9078,
2225,
1769,
3639,
289,
3639,
21236,
18,
6923,
2932,
1757,
3969,
2984,
1769,
3639,
327,
21236,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
6674,
1361,
1622,
1299,
12,
4747,
1299,
729,
13,
288,
3639,
6674,
21236,
273,
394,
6674,
12,
17295,
1769,
3639,
21236,
18,
6923,
2932,
32,
3969,
667,
5189,
12730,
318,
3355,
329,
943,
2819,
2412,
603,
11697,
1643,
5189,
12434,
2218,
12730,
3355,
329,
943,
2819,
13506,
8530,
2398,
397,
315,
603,
11697,
659,
5189,
12434,
2218,
12730,
318,
3355,
329,
943,
2819,
11,
2412,
22324,
5189,
3669,
18,
4025,
1204,
2668,
21,
2187,
4970,
5411,
397,
729,
18,
17994,
1435,
397,
2491,
1769,
21121,
1769,
3639,
21236,
18,
6923,
2932,
32,
6081,
1705,
13186,
15,
588,
26827,
3006,
1435,
9078,
6054,
87,
19,
1355,
18,
6446,
2412,
22393,
10600,
4868,
1769,
3639,
21236,
18,
6923,
12,
2
] |
attrValues = fGeneralAttrCheck.checkAttributes(child, scope);
|
attrValues = generalCheck(child, scope);
|
private void traverseAnnotationDecl(Element annotationDecl) throws Exception { // General Attribute Checking int scope = GeneralAttrCheck.ELE_CONTEXT_LOCAL; Hashtable attrValues = fGeneralAttrCheck.checkAttributes(annotationDecl, scope); for(Element child = XUtil.getFirstChildElement(annotationDecl); child != null; child = XUtil.getNextSiblingElement(child)) { String name = child.getLocalName(); if(!((name.equals(SchemaSymbols.ELT_APPINFO)) || (name.equals(SchemaSymbols.ELT_DOCUMENTATION)))) { // REVISIT: Localize reportGenericSchemaError("an <annotation> can only contain <appinfo> and <documentation> elements"); } // General Attribute Checking attrValues = fGeneralAttrCheck.checkAttributes(child, scope); } }
|
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/62d5766e63fa48f62e4ef5d6f05d8f2d363f7cd4/TraverseSchema.java/buggy/src/org/apache/xerces/validators/schema/TraverseSchema.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
10080,
3257,
3456,
12,
1046,
3204,
3456,
13,
1216,
1185,
288,
3639,
368,
9544,
3601,
24471,
3639,
509,
2146,
273,
9544,
3843,
1564,
18,
41,
900,
67,
13181,
67,
14922,
31,
3639,
18559,
1604,
1972,
273,
284,
12580,
3843,
1564,
18,
1893,
2498,
12,
11495,
3456,
16,
2146,
1769,
3639,
364,
12,
1046,
1151,
273,
1139,
1304,
18,
588,
3759,
1763,
1046,
12,
11495,
3456,
1769,
1151,
480,
446,
31,
1171,
1151,
273,
1139,
1304,
18,
588,
2134,
10291,
1046,
12,
3624,
3719,
288,
5411,
514,
508,
273,
1151,
18,
588,
29583,
5621,
5411,
309,
12,
5,
12443,
529,
18,
14963,
12,
3078,
14821,
18,
2247,
56,
67,
7215,
5923,
3719,
747,
10792,
261,
529,
18,
14963,
12,
3078,
14821,
18,
2247,
56,
67,
18450,
2689,
3719,
3719,
288,
7734,
368,
2438,
26780,
1285,
30,
3566,
554,
7734,
2605,
7014,
3078,
668,
2932,
304,
411,
11495,
34,
848,
1338,
912,
411,
2910,
1376,
34,
471,
411,
26941,
34,
2186,
8863,
5411,
289,
5411,
368,
9544,
3601,
24471,
5411,
1604,
1972,
273,
7470,
1564,
12,
3624,
16,
2146,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
918,
10080,
3257,
3456,
12,
1046,
3204,
3456,
13,
1216,
1185,
288,
3639,
368,
9544,
3601,
24471,
3639,
509,
2146,
273,
9544,
3843,
1564,
18,
41,
900,
67,
13181,
67,
14922,
31,
3639,
18559,
1604,
1972,
273,
284,
12580,
3843,
1564,
18,
1893,
2498,
12,
11495,
3456,
16,
2146,
1769,
3639,
364,
12,
1046,
1151,
273,
1139,
1304,
18,
588,
3759,
1763,
1046,
12,
11495,
3456,
1769,
1151,
480,
446,
31,
1171,
1151,
273,
1139,
1304,
18,
588,
2134,
10291,
1046,
12,
3624,
3719,
288,
5411,
514,
508,
273,
1151,
18,
588,
29583,
5621,
5411,
309,
12,
5,
12443,
529,
18,
14963,
12,
3078,
14821,
18,
2247,
56,
67,
7215,
5923,
3719,
747,
10792,
261,
529,
18,
2
] |
public Object visit(ASTMethodDeclaration node, Object data) { this.rc = (RuleContext) data; this.tmp = node;/* IDataFlowNode n1 = node.getDataFlowNode(); List f = n1.getFlow(); for (Iterator i = f.iterator(); i.hasNext();) { DataFlowNode dfan = (DataFlowNode)i.next(); System.out.println(dfan); List va = dfan.getVariableAccess(); for (Iterator j = va.iterator(); j.hasNext();) { VariableAccess o = (VariableAccess)j.next(); System.out.println(o); } }*/ DAAPathFinder a = new DAAPathFinder((IDataFlowNode) node.getDataFlowNode().getFlow().get(0), this); a.run(); //super.visit(node, data); return data; }
|
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/e143fae6212baf192d1953c0eb49321b7626b018/UselessAssignment.java/clean/pmd/src/net/sourceforge/pmd/rules/UselessAssignment.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
921,
11658,
12,
9053,
1305,
6094,
2159,
16,
921,
892,
15329,
2211,
18,
1310,
28657,
2175,
1042,
13,
892,
31,
2211,
18,
5645,
33,
2159,
31,
20308,
734,
396,
5249,
50,
369,
275,
21,
33,
2159,
18,
588,
751,
5249,
907,
5621,
682,
74,
33,
82,
21,
18,
588,
5249,
5621,
1884,
12,
3198,
77,
33,
74,
18,
9838,
5621,
77,
18,
5332,
2134,
5621,
15329,
751,
5249,
907,
2180,
304,
28657,
751,
5249,
907,
13,
77,
18,
4285,
5621,
3163,
18,
659,
18,
8222,
12,
2180,
304,
1769,
682,
15304,
33,
2180,
304,
18,
588,
3092,
1862,
5621,
1884,
12,
3198,
78,
33,
15304,
18,
9838,
5621,
78,
18,
5332,
2134,
5621,
15329,
3092,
1862,
83,
28657,
3092,
1862,
13,
78,
18,
4285,
5621,
3163,
18,
659,
18,
8222,
12,
83,
1769,
9090,
5549,
40,
5284,
743,
3125,
6070,
33,
2704,
40,
5284,
743,
8441,
12443,
734,
396,
5249,
907,
13,
2159,
18,
588,
751,
5249,
907,
7675,
588,
5249,
7675,
588,
12,
20,
3631,
2211,
1769,
69,
18,
2681,
5621,
759,
9565,
18,
11658,
12,
2159,
16,
892,
1769,
2463,
892,
31,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
921,
11658,
12,
9053,
1305,
6094,
2159,
16,
921,
892,
15329,
2211,
18,
1310,
28657,
2175,
1042,
13,
892,
31,
2211,
18,
5645,
33,
2159,
31,
20308,
734,
396,
5249,
50,
369,
275,
21,
33,
2159,
18,
588,
751,
5249,
907,
5621,
682,
74,
33,
82,
21,
18,
588,
5249,
5621,
1884,
12,
3198,
77,
33,
74,
18,
9838,
5621,
77,
18,
5332,
2134,
5621,
15329,
751,
5249,
907,
2180,
304,
28657,
751,
5249,
907,
13,
77,
18,
4285,
5621,
3163,
18,
659,
18,
8222,
12,
2180,
304,
1769,
682,
15304,
33,
2180,
304,
18,
588,
3092,
1862,
5621,
1884,
12,
3198,
78,
33,
15304,
18,
9838,
5621,
78,
18,
5332,
2134,
5621,
15329,
3092,
1862,
83,
28657,
2
] |
||
RubyGlobal.createGlobals(this);
|
private void init() { ThreadContext tc = getCurrentContext(); nilObject = new RubyNil(this); trueObject = new RubyBoolean(this, true); falseObject = new RubyBoolean(this, false); verbose = falseObject; debug = falseObject; javaSupport = new JavaSupport(this); initLibraries(); tc.preInitCoreClasses(); initCoreClasses(); RubyGlobal.createGlobals(this); topSelf = TopSelfFactory.createTopSelf(this); tc.preInitBuiltinClasses(objectClass, topSelf); initBuiltinClasses(); getObject().defineConstant("TOPLEVEL_BINDING", newBinding()); // Load additional definitions and hacks from etc.rb getLoadService().smartLoad("builtin/etc.rb"); }
|
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/af07dd9e2d788cd1a5151ea8833909422495f7c4/Ruby.java/buggy/src/org/jruby/Ruby.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
1435,
288,
3639,
4884,
1042,
1715,
273,
5175,
1042,
5621,
3639,
515,
921,
273,
394,
19817,
12616,
12,
2211,
1769,
3639,
638,
921,
273,
394,
19817,
5507,
12,
2211,
16,
638,
1769,
3639,
629,
921,
273,
394,
19817,
5507,
12,
2211,
16,
629,
1769,
3639,
3988,
273,
629,
921,
31,
3639,
1198,
273,
629,
921,
31,
7734,
2252,
6289,
273,
394,
5110,
6289,
12,
2211,
1769,
7734,
1208,
31909,
5621,
7734,
1715,
18,
1484,
2570,
4670,
4818,
5621,
3639,
1208,
4670,
4818,
5621,
2868,
1760,
10084,
273,
7202,
10084,
1733,
18,
2640,
3401,
10084,
12,
2211,
1769,
3639,
1715,
18,
1484,
2570,
28032,
4818,
12,
1612,
797,
16,
1760,
10084,
1769,
3639,
1208,
28032,
4818,
5621,
7734,
6455,
7675,
11255,
6902,
2932,
10462,
10398,
67,
2739,
3113,
394,
5250,
10663,
7734,
368,
4444,
3312,
6377,
471,
11769,
87,
628,
5527,
18,
6731,
3639,
336,
2563,
1179,
7675,
26416,
2563,
2932,
24553,
19,
14175,
18,
6731,
8863,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
918,
1208,
1435,
288,
3639,
4884,
1042,
1715,
273,
5175,
1042,
5621,
3639,
515,
921,
273,
394,
19817,
12616,
12,
2211,
1769,
3639,
638,
921,
273,
394,
19817,
5507,
12,
2211,
16,
638,
1769,
3639,
629,
921,
273,
394,
19817,
5507,
12,
2211,
16,
629,
1769,
3639,
3988,
273,
629,
921,
31,
3639,
1198,
273,
629,
921,
31,
7734,
2252,
6289,
273,
394,
5110,
6289,
12,
2211,
1769,
7734,
1208,
31909,
5621,
7734,
1715,
18,
1484,
2570,
4670,
4818,
5621,
3639,
1208,
4670,
4818,
5621,
2868,
1760,
10084,
273,
7202,
10084,
1733,
18,
2640,
3401,
10084,
12,
2211,
1769,
3639,
1715,
18,
1484,
2570,
28032,
4818,
12,
1612,
797,
16,
1760,
10084,
1769,
3639,
1208,
28032,
4818,
2
] |
|
ASTNode node = getASTNode(compilationUnit, 0, 0); assertEquals("Not an enum constant declaration", ASTNode.ENUM_CONSTANT_DECLARATION, node.getNodeType()); EnumConstantDeclaration enumConstantDeclaration = (EnumConstantDeclaration) node;
|
ASTNode node = getASTNode(compilationUnit, 0); assertEquals("Not an enum declaration", ASTNode.ENUM_DECLARATION, node.getNodeType()); EnumDeclaration enumDeclaration = (EnumDeclaration) node; List enumConstants = enumDeclaration.enumConstants(); assertEquals("wrong size", 2, enumConstants.size()); EnumConstantDeclaration enumConstantDeclaration = (EnumConstantDeclaration) enumConstants.get(0);
|
public void test0049() throws JavaModelException { ICompilationUnit sourceUnit = getCompilationUnit("Converter15" , "src", "test0049", "X.java"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ char[] source = sourceUnit.getSource().toCharArray(); ASTNode result = runJLS3Conversion(sourceUnit, false, true); assertNotNull(result); assertTrue("Not a compilation unit", result.getNodeType() == ASTNode.COMPILATION_UNIT); CompilationUnit compilationUnit = (CompilationUnit) result; assertEquals("wrong size", 0, compilationUnit.getProblems().length); ASTNode node = getASTNode(compilationUnit, 0, 0); assertEquals("Not an enum constant declaration", ASTNode.ENUM_CONSTANT_DECLARATION, node.getNodeType()); EnumConstantDeclaration enumConstantDeclaration = (EnumConstantDeclaration) node; checkSourceRange(enumConstantDeclaration, "GREEN(0, 1)", source); checkSourceRange(enumConstantDeclaration.getName(), "GREEN", source); node = getASTNode(compilationUnit, 0, 1); assertEquals("Not an enum constant declaration", ASTNode.ENUM_CONSTANT_DECLARATION, node.getNodeType()); enumConstantDeclaration = (EnumConstantDeclaration) node; checkSourceRange(enumConstantDeclaration.getName(), "RED", source); checkSourceRange(enumConstantDeclaration, "RED", source); }
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/3b00f00042b27fd2a4ea77920c950f21cd57dba8/ASTConverter15Test.java/clean/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/dom/ASTConverter15Test.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
713,
7616,
1435,
1216,
5110,
1488,
503,
288,
202,
202,
45,
19184,
2802,
1084,
2802,
273,
336,
19184,
2802,
2932,
5072,
3600,
6,
269,
315,
4816,
3113,
315,
3813,
713,
7616,
3113,
315,
60,
18,
6290,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
4329,
3993,
17,
5106,
17,
23,
8,
4329,
3993,
17,
5106,
17,
24,
8,
202,
202,
3001,
8526,
1084,
273,
1084,
2802,
18,
588,
1830,
7675,
869,
15936,
5621,
202,
202,
9053,
907,
563,
273,
1086,
46,
3045,
23,
6814,
12,
3168,
2802,
16,
629,
16,
638,
1769,
202,
202,
11231,
5962,
12,
2088,
1769,
202,
202,
11231,
5510,
2932,
1248,
279,
8916,
2836,
3113,
563,
18,
588,
15101,
1435,
422,
9183,
907,
18,
31075,
48,
2689,
67,
15736,
1769,
202,
202,
19184,
2802,
8916,
2802,
273,
261,
19184,
2802,
13,
563,
31,
202,
202,
11231,
8867,
2932,
21530,
963,
3113,
374,
16,
8916,
2802,
18,
588,
626,
19122,
7675,
2469,
1769,
202,
202,
9053,
907,
756,
273,
4506,
882,
907,
12,
2919,
6613,
2802,
16,
374,
16,
374,
1769,
202,
202,
11231,
8867,
2932,
1248,
392,
2792,
5381,
8266,
3113,
9183,
907,
18,
16509,
67,
25878,
67,
23956,
985,
2689,
16,
756,
18,
588,
15101,
10663,
202,
202,
3572,
6902,
6094,
2792,
6902,
6094,
273,
261,
3572,
6902,
6094,
13,
756,
31,
202,
202,
1893,
1830,
2655,
12,
7924,
6902,
6094,
16,
315,
29500,
12,
20,
16,
404,
2225,
16,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
713,
7616,
1435,
1216,
5110,
1488,
503,
288,
202,
202,
45,
19184,
2802,
1084,
2802,
273,
336,
19184,
2802,
2932,
5072,
3600,
6,
269,
315,
4816,
3113,
315,
3813,
713,
7616,
3113,
315,
60,
18,
6290,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
4329,
3993,
17,
5106,
17,
23,
8,
4329,
3993,
17,
5106,
17,
24,
8,
202,
202,
3001,
8526,
1084,
273,
1084,
2802,
18,
588,
1830,
7675,
869,
15936,
5621,
202,
202,
9053,
907,
563,
273,
1086,
46,
3045,
23,
6814,
12,
3168,
2802,
16,
629,
16,
638,
1769,
202,
202,
11231,
5962,
12,
2088,
1769,
202,
202,
11231,
5510,
2932,
1248,
279,
8916,
2
] |
System.out.print(">");
|
public boolean progress(ProverFileContext pc) { System.out.print(">"); if(!lock()) return true; boolean res; if(isNewDoc(pc)) { reset(pc); res = false; } else { int oldlimit =pc.scan.getLimit(); res = progress_intern(pc, oldlimit, oldlimit); } unlock(); System.out.println("<"); return res; }
|
46634 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46634/80c01c5f3c1d1a94e6b0a92b18b43c712750279c/TopLevelManager.java/buggy/src/provereditor_plugin/ProverEditor/src/prover/gui/TopLevelManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
4007,
12,
626,
502,
812,
1042,
6125,
13,
288,
202,
202,
3163,
18,
659,
18,
1188,
2932,
2984,
1769,
202,
202,
430,
12,
5,
739,
10756,
1082,
202,
2463,
638,
31,
202,
202,
6494,
400,
31,
202,
202,
430,
12,
291,
1908,
1759,
12,
2436,
3719,
288,
1082,
202,
6208,
12,
2436,
1769,
1082,
202,
455,
273,
629,
31,
202,
202,
97,
202,
202,
12107,
288,
1082,
202,
474,
1592,
3595,
273,
2436,
18,
9871,
18,
588,
3039,
5621,
1082,
202,
455,
273,
4007,
67,
267,
798,
12,
2436,
16,
1592,
3595,
16,
1592,
3595,
1769,
202,
202,
97,
202,
202,
26226,
5621,
202,
202,
3163,
18,
659,
18,
8222,
2932,
32,
8863,
202,
202,
2463,
400,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1250,
4007,
12,
626,
502,
812,
1042,
6125,
13,
288,
202,
202,
3163,
18,
659,
18,
1188,
2932,
2984,
1769,
202,
202,
430,
12,
5,
739,
10756,
1082,
202,
2463,
638,
31,
202,
202,
6494,
400,
31,
202,
202,
430,
12,
291,
1908,
1759,
12,
2436,
3719,
288,
1082,
202,
6208,
12,
2436,
1769,
1082,
202,
455,
273,
629,
31,
202,
202,
97,
202,
202,
12107,
288,
1082,
202,
474,
1592,
3595,
273,
2436,
18,
9871,
18,
588,
3039,
5621,
1082,
202,
455,
273,
4007,
67,
267,
798,
12,
2436,
16,
1592,
3595,
16,
1592,
3595,
1769,
202,
202,
97,
202,
202,
26226,
5621,
202,
202,
3163,
18,
659,
18,
8222,
2932,
32,
8863,
202,
202,
2
] |
|
new NoViableAltException("655:39: ( constraint[constraints] | predicate[constraints] )", 47, 8, input);
|
new NoViableAltException("662:39: ( constraint[constraints] | predicate[constraints] )", 47, 8, input);
|
public List constraints() throws RecognitionException { List constraints; constraints = new ArrayList(); try { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:653:17: ( opt_eol ( constraint[constraints] | predicate[constraints] ) ( opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) )* opt_eol ) // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:653:17: opt_eol ( constraint[constraints] | predicate[constraints] ) ( opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) )* opt_eol { following.push(FOLLOW_opt_eol_in_constraints1628); opt_eol(); following.pop(); // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:654:17: ( constraint[constraints] | predicate[constraints] ) int alt46=2; int LA46_0 = input.LA(1); if ( LA46_0==EOL||LA46_0==15 ) { alt46=1; } else if ( LA46_0==ID ) { int LA46_2 = input.LA(2); if ( LA46_2==30 ) { int LA46_3 = input.LA(3); if ( LA46_3==ID ) { int LA46_8 = input.LA(4); if ( LA46_8==50 ) { alt46=2; } else if ( LA46_8==EOL||LA46_8==15||(LA46_8>=22 && LA46_8<=23)||(LA46_8>=40 && LA46_8<=47) ) { alt46=1; } else { NoViableAltException nvae = new NoViableAltException("654:17: ( constraint[constraints] | predicate[constraints] )", 46, 8, input); throw nvae; } } else if ( LA46_3==EOL||LA46_3==15 ) { alt46=1; } else { NoViableAltException nvae = new NoViableAltException("654:17: ( constraint[constraints] | predicate[constraints] )", 46, 3, input); throw nvae; } } else if ( LA46_2==EOL||LA46_2==15||(LA46_2>=22 && LA46_2<=23)||(LA46_2>=40 && LA46_2<=47) ) { alt46=1; } else { NoViableAltException nvae = new NoViableAltException("654:17: ( constraint[constraints] | predicate[constraints] )", 46, 2, input); throw nvae; } } else { NoViableAltException nvae = new NoViableAltException("654:17: ( constraint[constraints] | predicate[constraints] )", 46, 0, input); throw nvae; } switch (alt46) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:654:18: constraint[constraints] { following.push(FOLLOW_constraint_in_constraints1633); constraint(constraints); following.pop(); } break; case 2 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:654:42: predicate[constraints] { following.push(FOLLOW_predicate_in_constraints1636); predicate(constraints); following.pop(); } break; } // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:655:17: ( opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) )* loop48: do { int alt48=2; alt48 = dfa48.predict(input); switch (alt48) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:655:19: opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) { following.push(FOLLOW_opt_eol_in_constraints1644); opt_eol(); following.pop(); match(input,22,FOLLOW_22_in_constraints1646); following.push(FOLLOW_opt_eol_in_constraints1648); opt_eol(); following.pop(); // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:655:39: ( constraint[constraints] | predicate[constraints] ) int alt47=2; int LA47_0 = input.LA(1); if ( LA47_0==EOL||LA47_0==15 ) { alt47=1; } else if ( LA47_0==ID ) { int LA47_2 = input.LA(2); if ( LA47_2==30 ) { int LA47_3 = input.LA(3); if ( LA47_3==ID ) { int LA47_8 = input.LA(4); if ( LA47_8==50 ) { alt47=2; } else if ( LA47_8==EOL||LA47_8==15||(LA47_8>=22 && LA47_8<=23)||(LA47_8>=40 && LA47_8<=47) ) { alt47=1; } else { NoViableAltException nvae = new NoViableAltException("655:39: ( constraint[constraints] | predicate[constraints] )", 47, 8, input); throw nvae; } } else if ( LA47_3==EOL||LA47_3==15 ) { alt47=1; } else { NoViableAltException nvae = new NoViableAltException("655:39: ( constraint[constraints] | predicate[constraints] )", 47, 3, input); throw nvae; } } else if ( LA47_2==EOL||LA47_2==15||(LA47_2>=22 && LA47_2<=23)||(LA47_2>=40 && LA47_2<=47) ) { alt47=1; } else { NoViableAltException nvae = new NoViableAltException("655:39: ( constraint[constraints] | predicate[constraints] )", 47, 2, input); throw nvae; } } else { NoViableAltException nvae = new NoViableAltException("655:39: ( constraint[constraints] | predicate[constraints] )", 47, 0, input); throw nvae; } switch (alt47) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:655:40: constraint[constraints] { following.push(FOLLOW_constraint_in_constraints1651); constraint(constraints); following.pop(); } break; case 2 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:655:64: predicate[constraints] { following.push(FOLLOW_predicate_in_constraints1654); predicate(constraints); following.pop(); } break; } } break; default : break loop48; } } while (true); following.push(FOLLOW_opt_eol_in_constraints1662); opt_eol(); following.pop(); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return constraints; }
|
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/f206af510f937d389fa71f33abed691ac65aa4e3/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
6237,
1435,
1216,
9539,
288,
6647,
987,
6237,
31,
540,
202,
202,
11967,
273,
394,
2407,
5621,
540,
202,
3639,
775,
288,
5411,
368,
342,
6588,
19,
70,
947,
19,
17300,
87,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
26,
8643,
30,
4033,
30,
261,
2153,
67,
30951,
261,
4954,
63,
11967,
65,
571,
5641,
63,
11967,
65,
262,
261,
2153,
67,
30951,
3316,
2153,
67,
30951,
261,
4954,
63,
11967,
65,
571,
5641,
63,
11967,
65,
262,
8618,
2153,
67,
30951,
262,
5411,
368,
342,
6588,
19,
70,
947,
19,
17300,
87,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
26,
8643,
30,
4033,
30,
2153,
67,
30951,
261,
4954,
63,
11967,
65,
571,
5641,
63,
11967,
65,
262,
261,
2153,
67,
30951,
3316,
2153,
67,
30951,
261,
4954,
63,
11967,
65,
571,
5641,
63,
11967,
65,
262,
8618,
2153,
67,
30951,
5411,
288,
5411,
3751,
18,
6206,
12,
29890,
67,
3838,
67,
30951,
67,
267,
67,
11967,
2313,
6030,
1769,
5411,
2153,
67,
30951,
5621,
5411,
3751,
18,
5120,
5621,
5411,
368,
342,
6588,
19,
70,
947,
19,
17300,
87,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
6237,
1435,
1216,
9539,
288,
6647,
987,
6237,
31,
540,
202,
202,
11967,
273,
394,
2407,
5621,
540,
202,
3639,
775,
288,
5411,
368,
342,
6588,
19,
70,
947,
19,
17300,
87,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
26,
8643,
30,
4033,
30,
261,
2153,
67,
30951,
261,
4954,
63,
11967,
65,
571,
5641,
63,
11967,
65,
262,
261,
2153,
67,
30951,
3316,
2153,
67,
30951,
261,
4954,
63,
11967,
65,
571,
5641,
63,
11967,
65,
262,
8618,
2153,
67,
30951,
262,
5411,
368,
342,
6588,
19,
70,
947,
19,
17300,
87,
19,
10649,
8464,
7482,
2
] |
assertTrue("Returned incorrect digit", Character.digit('1', 10) == 1); assertTrue("Returned incorrect digit", Character.digit('F', 16) == 15);
|
assertEquals("Returned incorrect digit", 1, Character.digit('1', 10)); assertEquals("Returned incorrect digit", 15, Character.digit('F', 16));
|
public void test_digitCI() { // Test for method int java.lang.Character.digit(char, int) assertTrue("Returned incorrect digit", Character.digit('1', 10) == 1); assertTrue("Returned incorrect digit", Character.digit('F', 16) == 15); }
|
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/181e940cd92dfff67639d98e991206d375a987ea/CharacterTest.java/buggy/modules/luni/src/test/java/tests/api/java/lang/CharacterTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
67,
11052,
7266,
1435,
288,
202,
202,
759,
7766,
364,
707,
509,
2252,
18,
4936,
18,
7069,
18,
11052,
12,
3001,
16,
509,
13,
202,
202,
11231,
5510,
2932,
22360,
11332,
8035,
3113,
6577,
18,
11052,
2668,
21,
2187,
1728,
13,
422,
404,
1769,
202,
202,
11231,
5510,
2932,
22360,
11332,
8035,
3113,
6577,
18,
11052,
2668,
42,
2187,
2872,
13,
422,
4711,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1842,
67,
11052,
7266,
1435,
288,
202,
202,
759,
7766,
364,
707,
509,
2252,
18,
4936,
18,
7069,
18,
11052,
12,
3001,
16,
509,
13,
202,
202,
11231,
5510,
2932,
22360,
11332,
8035,
3113,
6577,
18,
11052,
2668,
21,
2187,
1728,
13,
422,
404,
1769,
202,
202,
11231,
5510,
2932,
22360,
11332,
8035,
3113,
6577,
18,
11052,
2668,
42,
2187,
2872,
13,
422,
4711,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
this.repository = repository;
|
this.layer = layer;
|
public CachedRepositoryQueryLayer( ArtifactRepository repository ) { this.repository = repository; cache = new Cache( CACHE_HIT_RATIO ); }
|
47019 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47019/3647c95d63a9889abeac4ff19b6dc271d21d6c61/CachedRepositoryQueryLayer.java/buggy/archiva-repository-layer/src/main/java/org/apache/maven/archiva/layer/CachedRepositoryQueryLayer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15771,
3305,
1138,
4576,
12,
14022,
3305,
3352,
262,
565,
288,
3639,
333,
18,
6363,
273,
3018,
31,
3639,
1247,
273,
394,
4379,
12,
13669,
67,
17222,
67,
54,
789,
4294,
11272,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
15771,
3305,
1138,
4576,
12,
14022,
3305,
3352,
262,
565,
288,
3639,
333,
18,
6363,
273,
3018,
31,
3639,
1247,
273,
394,
4379,
12,
13669,
67,
17222,
67,
54,
789,
4294,
11272,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
"xmlns", XMLA_NS + ":rowset"});
|
"xmlns", XMLA_ROWSET_NS});
|
private void discover(Element discover, SAXHandler saxHandler) { String requestType = firstElementCDATA(discover, "RequestType"); if (requestType == null) { throw Util.newError("<RequestType> parameter is required"); } HashMap restrictionsProperties = getRestrictions(discover); Properties propertyProperties = getProperties(discover); final RowsetDefinition rowsetDefinition = RowsetDefinition.getValue(requestType); Rowset rowset = rowsetDefinition.getRowset(restrictionsProperties, propertyProperties); try { saxHandler.startElement("DiscoverResponse", new String[] { "xmlns", XMLA_NS}); saxHandler.startElement("return"); saxHandler.startElement("root", new String[] { "xmlns", XMLA_NS + ":rowset"}); saxHandler.startElement("xsd:schema", new String[] { "xmlns:xsd", "http://www.w3.org/2001/XMLSchema", "targetNamespace", "urn:schemas-microsoft-com:xml-analysis:rowset", "xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance", "xmlns:sql", "urn:schemas-microsoft-com:xml-sql", "elementFormDefault", "qualified"}); //TODO: add schema saxHandler.endElement(); try { rowset.unparse(saxHandler); } finally { // keep the tags balanced, even if there's an error saxHandler.endElement(); saxHandler.endElement(); saxHandler.endElement(); } } catch (SAXException e) { throw Util.newError(e, "Error while processing '" + requestType + "' discovery request"); } }
|
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/f2c971d49821a58381ed2af618ceadbaf62099ce/XmlaMediator.java/buggy/src/main/mondrian/xmla/XmlaMediator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
10372,
12,
1046,
10372,
16,
10168,
1503,
20319,
1503,
13,
288,
3639,
514,
27179,
273,
1122,
1046,
18375,
12,
2251,
3165,
16,
315,
691,
559,
8863,
3639,
309,
261,
2293,
559,
422,
446,
13,
288,
5411,
604,
3564,
18,
2704,
668,
2932,
32,
691,
559,
34,
1569,
353,
1931,
8863,
3639,
289,
3639,
4317,
17499,
2297,
273,
336,
26175,
12,
2251,
3165,
1769,
3639,
6183,
1272,
2297,
273,
9392,
12,
2251,
3165,
1769,
3639,
727,
6556,
542,
1852,
1027,
542,
1852,
273,
6556,
542,
1852,
18,
24805,
12,
2293,
559,
1769,
3639,
6556,
542,
1027,
542,
273,
1027,
542,
1852,
18,
588,
1999,
542,
12,
23954,
87,
2297,
16,
1272,
2297,
1769,
3639,
775,
288,
5411,
20319,
1503,
18,
1937,
1046,
2932,
26082,
1064,
3113,
394,
514,
8526,
288,
7734,
315,
16741,
3113,
3167,
37,
67,
3156,
22938,
5411,
20319,
1503,
18,
1937,
1046,
2932,
2463,
8863,
5411,
20319,
1503,
18,
1937,
1046,
2932,
3085,
3113,
394,
514,
8526,
288,
7734,
315,
16741,
3113,
3167,
37,
67,
11226,
4043,
67,
3156,
22938,
5411,
20319,
1503,
18,
1937,
1046,
2932,
19144,
30,
4821,
3113,
394,
514,
8526,
288,
7734,
315,
16741,
30,
19144,
3113,
315,
2505,
2207,
5591,
18,
91,
23,
18,
3341,
19,
6976,
21,
19,
4201,
3078,
3113,
7734,
315,
3299,
3402,
3113,
315,
321,
30,
17928,
17,
27739,
17,
832,
30,
2902,
17,
12746,
30,
492,
542,
3113,
7734,
315,
16741,
30,
29262,
3113,
315,
2505,
2207,
5591,
18,
91,
23,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10372,
12,
1046,
10372,
16,
10168,
1503,
20319,
1503,
13,
288,
3639,
514,
27179,
273,
1122,
1046,
18375,
12,
2251,
3165,
16,
315,
691,
559,
8863,
3639,
309,
261,
2293,
559,
422,
446,
13,
288,
5411,
604,
3564,
18,
2704,
668,
2932,
32,
691,
559,
34,
1569,
353,
1931,
8863,
3639,
289,
3639,
4317,
17499,
2297,
273,
336,
26175,
12,
2251,
3165,
1769,
3639,
6183,
1272,
2297,
273,
9392,
12,
2251,
3165,
1769,
3639,
727,
6556,
542,
1852,
1027,
542,
1852,
273,
6556,
542,
1852,
18,
24805,
12,
2293,
559,
1769,
3639,
6556,
542,
1027,
542,
273,
1027,
542,
1852,
18,
588,
1999,
542,
12,
23954,
87,
2297,
16,
1272,
2297,
1769,
3639,
775,
288,
5411,
2
] |
handleVersion();
|
handleVersion( debug );
|
private Main( String[] arguments ) { String[] args = processSystemProperties( arguments ); if( isFlagPresent( args, "-debug" ) ) { args = consolidate( args, "-debug" ); System.setProperty( "dpml.logging.level", System.getProperty( "dpml.logging.level", "FINE" ) ); } String option = getSwitch( args ); if( "-help".equals( option ) ) { handleHelp(); exit(); } else if( "-reset".equals( option ) ) { int result = handleReset(); exit( result ); } else if( "-version".equals( option ) ) { handleVersion(); exit(); } else if( "-get".equals( option ) ) { for( int i=0; i < args.length; i++ ) { String arg = args[i]; if( arg.equals( "-get" ) ) { if( i+1 < args.length ) { String path = args[i+1]; try { handleGet( getLogger(), args, path ); exit(); } catch( Throwable e ) { String message = e.getMessage(); Throwable cause = e.getCause(); getLogger().error( message, e ); exit( -1 ); } } else { final String error = "Missing get parameter value."; getLogger().error( error ); exit( -1 ); } } } } else if( "-setup".equals( option ) ) { args = consolidate( args, "-setup" ); handleSetup( args ); } else if( "-prefs".equals( option ) ) { args = consolidate( args, "-prefs" ); handlePrefs( args ); } else if( "-exec".equals( option ) ) { args = consolidate( args, "-exec" ); handleExec( args ); } else if( "-station".equals( option ) ) { args = consolidate( args, "-station" ); handleStation( args ); } else { handleHelp(); exit(); } }
|
10984 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10984/6d38d698cf48e785ac67d227da0c8b39d1879140/Main.java/clean/trunk/main/depot/console/src/main/net/dpml/depot/Main.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
12740,
12,
514,
8526,
1775,
262,
565,
288,
3639,
514,
8526,
833,
273,
1207,
3163,
2297,
12,
1775,
11272,
3639,
309,
12,
353,
4678,
6351,
12,
833,
16,
3701,
4148,
6,
262,
262,
3639,
288,
5411,
833,
273,
21785,
340,
12,
833,
16,
3701,
4148,
6,
11272,
5411,
2332,
18,
542,
1396,
12,
315,
9295,
781,
18,
11167,
18,
2815,
3113,
9079,
2332,
18,
588,
1396,
12,
315,
9295,
781,
18,
11167,
18,
2815,
3113,
315,
42,
3740,
6,
262,
11272,
3639,
289,
3639,
514,
1456,
273,
1322,
30390,
12,
833,
11272,
3639,
309,
12,
3701,
5201,
9654,
14963,
12,
1456,
262,
262,
3639,
288,
5411,
1640,
6696,
5621,
5411,
2427,
5621,
3639,
289,
3639,
469,
309,
12,
3701,
6208,
9654,
14963,
12,
1456,
262,
262,
3639,
288,
5411,
509,
563,
273,
1640,
7013,
5621,
5411,
2427,
12,
563,
11272,
3639,
289,
3639,
469,
309,
12,
3701,
1589,
9654,
14963,
12,
1456,
262,
262,
3639,
288,
5411,
1640,
1444,
12,
1198,
11272,
5411,
2427,
5621,
3639,
289,
3639,
469,
309,
12,
3701,
588,
9654,
14963,
12,
1456,
262,
262,
3639,
288,
5411,
364,
12,
509,
277,
33,
20,
31,
277,
411,
833,
18,
2469,
31,
277,
9904,
262,
5411,
288,
7734,
514,
1501,
273,
833,
63,
77,
15533,
7734,
309,
12,
1501,
18,
14963,
12,
3701,
588,
6,
262,
262,
7734,
288,
10792,
309,
12,
277,
15,
21,
411,
833,
18,
2469,
262,
10792,
288,
13491,
514,
589,
273,
833,
63,
77,
15,
21,
15533,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12740,
12,
514,
8526,
1775,
262,
565,
288,
3639,
514,
8526,
833,
273,
1207,
3163,
2297,
12,
1775,
11272,
3639,
309,
12,
353,
4678,
6351,
12,
833,
16,
3701,
4148,
6,
262,
262,
3639,
288,
5411,
833,
273,
21785,
340,
12,
833,
16,
3701,
4148,
6,
11272,
5411,
2332,
18,
542,
1396,
12,
315,
9295,
781,
18,
11167,
18,
2815,
3113,
9079,
2332,
18,
588,
1396,
12,
315,
9295,
781,
18,
11167,
18,
2815,
3113,
315,
42,
3740,
6,
262,
11272,
3639,
289,
3639,
514,
1456,
273,
1322,
30390,
12,
833,
11272,
3639,
309,
12,
3701,
5201,
9654,
14963,
12,
1456,
262,
262,
3639,
288,
5411,
1640,
6696,
5621,
5411,
2427,
5621,
3639,
289,
3639,
469,
309,
2
] |
public Message marshalFaultResponse(Throwable throwable, OperationDescription operationDesc) throws WebServiceException {
|
public Message marshalFaultResponse(Throwable throwable, OperationDescription operationDesc, Protocol protocol) throws WebServiceException {
|
public Message marshalFaultResponse(Throwable throwable, OperationDescription operationDesc) throws WebServiceException { try { Throwable t = ClassUtils.getRootCause(throwable); // Get the root cause of the throwable object if (log.isDebugEnabled()) { log.debug("Marshal Throwable =" + throwable.getClass().getName()); log.debug(" message=" + throwable.toString()); } XMLFault xmlfault = null; Message message = createEmptyMessage(operationDesc); // Get the FaultDescriptor matching this Exception. // If FaultDescriptor is found, this is a JAX-B Service Exception. // If not found, this is a System Exception FaultDescription fd = operationDesc.resolveFaultByExceptionName(t.getClass().getName()); if (fd != null) { // Service Exception. Create an XMLFault with the fault bean Method getFaultInfo = t.getClass().getMethod("getFaultInfo", null); Object faultBean = getFaultInfo.invoke(t, null); JAXBBlockContext context = createJAXBBlockContext(createContextPackageSet(operationDesc)); Block[] detailBlocks = new Block[1]; // Make sure to createJAXBBlock with an object that is // a JAXBElement or has the XMLRootElement annotation // The actual faultBean object's class is used (because // the actual object may be a derived type of the formal declaration) if (!XMLRootElementUtil.isElementEnabled(faultBean.getClass())) { faultBean = XMLRootElementUtil.getElementEnabledObject(fd.getTargetNamespace(), fd.getName(), faultBean.getClass(), faultBean); } detailBlocks[0] = createJAXBBlock(faultBean, context); xmlfault = new XMLFault(null, new XMLFaultReason(t.toString()), detailBlocks); } else { // System Exception xmlfault = new XMLFault(null, // Use the default XMLFaultCode new XMLFaultReason(t.toString())); // Assumes text is the language supported by the current Locale } // Add the fault to the message message.setXMLFault(xmlfault); return message; } catch (Exception e) { // Catch all nested exceptions and throw WebServiceException throw ExceptionFactory.makeWebServiceException(e); } }
|
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/ffe73e708d58b0c967f263c4551617c6fa6c78e7/MethodMarshallerImpl.java/buggy/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/impl/MethodMarshallerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2350,
10893,
7083,
1064,
12,
15155,
10132,
16,
4189,
3291,
1674,
4217,
13,
1216,
2999,
15133,
288,
202,
202,
698,
288,
1082,
202,
15155,
268,
273,
26382,
18,
588,
2375,
10683,
12,
12849,
429,
1769,
1082,
202,
759,
225,
968,
326,
1365,
4620,
434,
326,
10132,
733,
5411,
309,
261,
1330,
18,
291,
2829,
1526,
10756,
288,
7734,
613,
18,
4148,
2932,
8105,
4206,
273,
6,
397,
10132,
18,
588,
797,
7675,
17994,
10663,
7734,
613,
18,
4148,
2932,
225,
883,
1546,
397,
10132,
18,
10492,
10663,
5411,
289,
1082,
202,
4201,
7083,
2025,
643,
273,
446,
31,
25083,
202,
1079,
883,
273,
752,
1921,
1079,
12,
7624,
4217,
1769,
25083,
202,
759,
968,
326,
25609,
3187,
3607,
333,
1185,
18,
1082,
202,
759,
971,
25609,
3187,
353,
1392,
16,
333,
353,
279,
7431,
17,
38,
1956,
1185,
18,
1082,
202,
759,
971,
486,
1392,
16,
333,
353,
279,
2332,
1185,
1082,
202,
7083,
3291,
5194,
273,
1674,
4217,
18,
10828,
7083,
858,
503,
461,
12,
88,
18,
588,
797,
7675,
17994,
10663,
1082,
202,
430,
261,
8313,
480,
446,
13,
288,
9506,
202,
759,
1956,
1185,
18,
225,
1788,
392,
3167,
7083,
598,
326,
12530,
3931,
2398,
202,
1305,
2812,
3714,
966,
273,
268,
18,
588,
797,
7675,
588,
1305,
2932,
588,
7083,
966,
3113,
446,
1769,
2398,
202,
921,
12530,
3381,
273,
2812,
3714,
966,
18,
14407,
12,
88,
16,
446,
1769,
2398,
202,
17368,
38,
1768,
1042,
819,
273,
752,
17368,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2350,
10893,
7083,
1064,
12,
15155,
10132,
16,
4189,
3291,
1674,
4217,
13,
1216,
2999,
15133,
288,
202,
202,
698,
288,
1082,
202,
15155,
268,
273,
26382,
18,
588,
2375,
10683,
12,
12849,
429,
1769,
1082,
202,
759,
225,
968,
326,
1365,
4620,
434,
326,
10132,
733,
5411,
309,
261,
1330,
18,
291,
2829,
1526,
10756,
288,
7734,
613,
18,
4148,
2932,
8105,
4206,
273,
6,
397,
10132,
18,
588,
797,
7675,
17994,
10663,
7734,
613,
18,
4148,
2932,
225,
883,
1546,
397,
10132,
18,
10492,
10663,
5411,
289,
1082,
202,
4201,
7083,
2025,
643,
273,
446,
31,
25083,
202,
1079,
883,
273,
752,
1921,
1079,
12,
7624,
4217,
1769,
25083,
202,
759,
968,
326,
25609,
2
] |
File contextFile = MylarPlugin.getContextManager().getFileForContext( task.getHandleIdentifier());
|
File contextFile = MylarPlugin.getContextManager().getFileForContext(task.getHandleIdentifier());
|
private void createDetailsSection(Composite parent, FormToolkit toolkit) { Section section = toolkit.createSection(parent, ExpandableComposite.TITLE_BAR | Section.TWISTIE); section.setText("Resources"); section.setLayout(new TableWrapLayout()); section.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB)); section.addExpansionListener(new IExpansionListener() { public void expansionStateChanging(ExpansionEvent e) { form.reflow(true); } public void expansionStateChanged(ExpansionEvent e) { form.reflow(true); } }); Composite container = toolkit.createComposite(section); section.setClient(container); TableWrapLayout layout = new TableWrapLayout(); layout.numColumns = 2; container.setLayout(layout); // Label l = toolkit.createLabel(container, "Task Handle:"); // l.setForeground(toolkit.getColors().getColor(FormColors.TITLE)); // Text handle = toolkit.createText(container, // task.getHandleIdentifier(), SWT.BORDER); // TableWrapData td = new TableWrapData(TableWrapData.FILL_GRAB); // td.colspan = 2; // handle.setLayoutData(td); // handle.setEditable(false); // handle.setEnabled(false); Label l2 = toolkit.createLabel(container, "Task context file:"); l2.setForeground(toolkit.getColors().getColor(FormColors.TITLE)); File contextFile = MylarPlugin.getContextManager().getFileForContext( task.getHandleIdentifier()); // String contextPath = MylarPlugin.getDefault().getDataDirectory() // + '/' + task.getContextPath() + // MylarContextManager.CONTEXT_FILE_EXTENSION; if (contextFile != null) { pathText = toolkit.createText(container, contextFile .getAbsolutePath(), SWT.BORDER); pathText.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB)); pathText.setEditable(false); pathText.setEnabled(false); } // browse = toolkit.createButton(container, "Change", SWT.PUSH | // SWT.CENTER); // if (task.isActive()) { // browse.setEnabled(false); // } else { // browse.setEnabled(true); // } // browse.addSelectionListener(new SelectionAdapter() { // @Override // public void widgetSelected(SelectionEvent e) { // // if (task.isActive()) { // MessageDialog.openInformation(Display.getDefault().getActiveShell(), // "Task Message", // "Task can not be active when changing taskscape"); // } else { // FileDialog dialog = new // FileDialog(Display.getDefault().getActiveShell(), SWT.OPEN); // String[] ext = { "*.xml" }; // dialog.setFilterExtensions(ext); // // String mylarDir = MylarPlugin.getDefault().getDataDirectory() + "/"; // mylarDir = mylarDir.replaceAll("\\\\", "/"); // dialog.setFilterPath(mylarDir); // // String res = dialog.open(); // if (res != null) { // res = res.replaceAll("\\\\", "/"); // pathText.setText("<MylarDir>/" + res + ".xml"); // markDirty(true); // } // } // } // }); // toolkit.createLabel(container, ""); // l = toolkit.createLabel(container, "Go to Task List Preferences to // change task context directory"); // l.setForeground(toolkit.getColors().getColor(FormColors.TITLE)); }
|
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/89d5a78e8a21d1c2e9db2fe2c55457b2c3bceac4/TaskInfoEditor.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskInfoEditor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
3790,
5285,
12,
9400,
982,
16,
2748,
6364,
8691,
5226,
8691,
13,
288,
202,
202,
5285,
2442,
273,
5226,
8691,
18,
2640,
5285,
12,
2938,
16,
9506,
202,
12271,
429,
9400,
18,
14123,
67,
21908,
571,
10092,
18,
18869,
5511,
8732,
1769,
202,
202,
3464,
18,
542,
1528,
2932,
3805,
8863,
202,
202,
3464,
18,
542,
3744,
12,
2704,
3555,
2964,
3744,
10663,
202,
202,
3464,
18,
542,
3744,
751,
12,
2704,
3555,
2964,
751,
12,
1388,
2964,
751,
18,
29818,
67,
6997,
2090,
10019,
202,
202,
3464,
18,
1289,
2966,
12162,
2223,
12,
2704,
467,
2966,
12162,
2223,
1435,
288,
1082,
202,
482,
918,
17965,
1119,
782,
18183,
12,
2966,
12162,
1133,
425,
13,
288,
9506,
202,
687,
18,
1734,
821,
12,
3767,
1769,
1082,
202,
97,
1082,
202,
482,
918,
17965,
1119,
5033,
12,
2966,
12162,
1133,
425,
13,
288,
9506,
202,
687,
18,
1734,
821,
12,
3767,
1769,
1082,
202,
97,
202,
202,
22938,
202,
202,
9400,
1478,
273,
5226,
8691,
18,
2640,
9400,
12,
3464,
1769,
202,
202,
3464,
18,
542,
1227,
12,
3782,
1769,
202,
202,
1388,
2964,
3744,
3511,
273,
394,
3555,
2964,
3744,
5621,
202,
202,
6741,
18,
2107,
3380,
273,
576,
31,
202,
202,
3782,
18,
542,
3744,
12,
6741,
1769,
202,
202,
759,
5287,
328,
273,
5226,
8691,
18,
2640,
2224,
12,
3782,
16,
315,
2174,
5004,
2773,
1769,
202,
202,
759,
328,
18,
542,
23206,
12,
6738,
8691,
18,
588,
12570,
7675,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
3790,
5285,
12,
9400,
982,
16,
2748,
6364,
8691,
5226,
8691,
13,
288,
202,
202,
5285,
2442,
273,
5226,
8691,
18,
2640,
5285,
12,
2938,
16,
9506,
202,
12271,
429,
9400,
18,
14123,
67,
21908,
571,
10092,
18,
18869,
5511,
8732,
1769,
202,
202,
3464,
18,
542,
1528,
2932,
3805,
8863,
202,
202,
3464,
18,
542,
3744,
12,
2704,
3555,
2964,
3744,
10663,
202,
202,
3464,
18,
542,
3744,
751,
12,
2704,
3555,
2964,
751,
12,
1388,
2964,
751,
18,
29818,
67,
6997,
2090,
10019,
202,
202,
3464,
18,
1289,
2966,
12162,
2223,
12,
2704,
467,
2966,
12162,
2223,
1435,
288,
1082,
202,
482,
918,
17965,
1119,
782,
18183,
12,
2966,
12162,
1133,
425,
2
] |
return (Component) source;
|
return (Container) source;
|
public Component getContainer () { return (Component) source; }
|
1023 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1023/708062224a502c41561e122dcde5accf23f77ad9/ContainerEvent.java/buggy/libjava/java/awt/event/ContainerEvent.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5435,
9272,
1832,
225,
288,
565,
327,
261,
2170,
13,
1084,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
5435,
9272,
1832,
225,
288,
565,
327,
261,
2170,
13,
1084,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (jj_3R_60()) return true;
|
if (jj_3R_57()) return true;
|
final private boolean jj_3_25() { if (jj_scan_token(LBRACKET)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_3R_60()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(RBRACKET)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
|
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/83d81b076b32acdf3f82077c7f4c2a2e160aa32f/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
67,
2947,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
48,
21217,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
10321,
10756,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
54,
21217,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
327,
629,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3238,
1250,
10684,
67,
23,
67,
2947,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
48,
21217,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
10321,
10756,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
54,
21217,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
2
] |
SVGAnimatedLength result; if (x1Reference == null || (result = (SVGAnimatedLength)x1Reference.get()) == null) { result = new SVGOMAnimatedLength (this, null, SVG_X1_ATTRIBUTE, null); x1Reference = new WeakReference(result); } return result;
|
throw new RuntimeException(" !!! TODO: getX1()");
|
public SVGAnimatedLength getX1() { SVGAnimatedLength result; if (x1Reference == null || (result = (SVGAnimatedLength)x1Reference.get()) == null) { result = new SVGOMAnimatedLength (this, null, SVG_X1_ATTRIBUTE, null); x1Reference = new WeakReference(result); } return result; }
|
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/c894adcdabbe67baf55a0333571ad839739df615/SVGOMLinearGradientElement.java/clean/sources/org/apache/batik/dom/svg/SVGOMLinearGradientElement.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
11281,
979,
17275,
1782,
6538,
21,
1435,
288,
3639,
11281,
979,
17275,
1782,
563,
31,
3639,
309,
261,
92,
21,
2404,
422,
446,
747,
5411,
261,
2088,
273,
261,
26531,
979,
17275,
1782,
13,
92,
21,
2404,
18,
588,
10756,
422,
446,
13,
288,
5411,
563,
273,
394,
11281,
1872,
979,
17275,
1782,
7734,
261,
2211,
16,
446,
16,
11281,
67,
60,
21,
67,
11616,
16,
446,
1769,
5411,
619,
21,
2404,
273,
394,
23632,
2404,
12,
2088,
1769,
3639,
289,
3639,
327,
563,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
11281,
979,
17275,
1782,
6538,
21,
1435,
288,
3639,
11281,
979,
17275,
1782,
563,
31,
3639,
309,
261,
92,
21,
2404,
422,
446,
747,
5411,
261,
2088,
273,
261,
26531,
979,
17275,
1782,
13,
92,
21,
2404,
18,
588,
10756,
422,
446,
13,
288,
5411,
563,
273,
394,
11281,
1872,
979,
17275,
1782,
7734,
261,
2211,
16,
446,
16,
11281,
67,
60,
21,
67,
11616,
16,
446,
1769,
5411,
619,
21,
2404,
273,
394,
23632,
2404,
12,
2088,
1769,
3639,
289,
3639,
327,
563,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
myResult = Formatter.getInstance().createSpaceProperty(0, Integer.MAX_VALUE, blankLines, mySettings.KEEP_LINE_BREAKS, mySettings.KEEP_BLANK_LINES_IN_DECLARATIONS);
|
myResult = Formatter.getInstance() .createSpaceProperty(0, Integer.MAX_VALUE, blankLines, mySettings.KEEP_LINE_BREAKS, mySettings.KEEP_BLANK_LINES_IN_DECLARATIONS);
|
public void visitClass(PsiClass aClass) { if (myChild1.getElementType() == JavaDocElementType.DOC_COMMENT) { myResult = Formatter.getInstance().createSpaceProperty(0, 0, 1, mySettings.KEEP_LINE_BREAKS, mySettings.KEEP_BLANK_LINES_IN_DECLARATIONS); return; } if (myRole2 == ChildRole.LBRACE) { myResult = getSpaceBeforeLBrace(mySettings.SPACE_BEFORE_CLASS_LBRACE, mySettings.CLASS_BRACE_STYLE, new TextRange(myParent.getTextRange().getStartOffset(), myChild2.getTextRange().getStartOffset()), false); } else if (myRole2 == ChildRole.METHOD || myRole2 == ChildRole.CLASS_INITIALIZER) { if (myRole1 == ChildRole.LBRACE) { myResult = Formatter.getInstance().createSpaceProperty(0,0, 1, mySettings.KEEP_LINE_BREAKS, 0); } else { final int blankLines = mySettings.BLANK_LINES_AROUND_METHOD + 1; myResult = Formatter.getInstance().createSpaceProperty(0,0,blankLines, mySettings.KEEP_LINE_BREAKS, mySettings.KEEP_BLANK_LINES_IN_DECLARATIONS); } } else if (myRole1 == ChildRole.METHOD || myRole1 == ChildRole.CLASS_INITIALIZER) { if (myRole2 == ChildRole.RBRACE) { myResult = Formatter.getInstance().createSpaceProperty(0, Integer.MAX_VALUE, 1, mySettings.KEEP_LINE_BREAKS, mySettings.KEEP_BLANK_LINES_BEFORE_RBRACE); } else { final int blankLines = mySettings.BLANK_LINES_AROUND_METHOD + 1; myResult = Formatter.getInstance().createSpaceProperty(0, Integer.MAX_VALUE, blankLines, mySettings.KEEP_LINE_BREAKS, mySettings.KEEP_BLANK_LINES_IN_DECLARATIONS); } } else if (myRole1 == ChildRole.CLASS) { if (myRole2 == ChildRole.RBRACE) { myResult = Formatter.getInstance().createSpaceProperty(0, Integer.MAX_VALUE, 1, mySettings.KEEP_LINE_BREAKS, mySettings.KEEP_BLANK_LINES_BEFORE_RBRACE); } else { final int blankLines = mySettings.BLANK_LINES_AROUND_CLASS + 1; myResult = Formatter.getInstance().createSpaceProperty(0, Integer.MAX_VALUE, blankLines, mySettings.KEEP_LINE_BREAKS, mySettings.KEEP_BLANK_LINES_IN_DECLARATIONS); } } else if (myRole2 == ChildRole.CLASS) { if (myRole1 == ChildRole.LBRACE) { myResult = Formatter.getInstance().createSpaceProperty(0,0, 1, mySettings.KEEP_LINE_BREAKS, 0); } else { final int blankLines = mySettings.BLANK_LINES_AROUND_CLASS + 1; myResult = Formatter.getInstance().createSpaceProperty(0, Integer.MAX_VALUE, blankLines, mySettings.KEEP_LINE_BREAKS, mySettings.KEEP_BLANK_LINES_IN_DECLARATIONS); } } else if (myRole2 == ChildRole.FIELD) { if (myRole1 == ChildRole.LBRACE) { myResult = Formatter.getInstance().createSpaceProperty(0,0, 1, mySettings.KEEP_LINE_BREAKS, 0); } else { final int blankLines = mySettings.BLANK_LINES_AROUND_FIELD + 1; myResult = Formatter.getInstance().createSpaceProperty(0, Integer.MAX_VALUE, blankLines, mySettings.KEEP_LINE_BREAKS, mySettings.KEEP_BLANK_LINES_IN_DECLARATIONS); } } else if (myRole1 == ChildRole.FIELD) { if (myRole2 == ChildRole.RBRACE) { myResult = Formatter.getInstance().createSpaceProperty(0, Integer.MAX_VALUE, 1, mySettings.KEEP_LINE_BREAKS, mySettings.KEEP_BLANK_LINES_BEFORE_RBRACE); } else { final int blankLines = mySettings.BLANK_LINES_AROUND_FIELD + 1; myResult = Formatter.getInstance().createSpaceProperty(0, Integer.MAX_VALUE, blankLines, mySettings.KEEP_LINE_BREAKS, mySettings.KEEP_BLANK_LINES_IN_DECLARATIONS); } } else if (myRole1 == ChildRole.MODIFIER_LIST) { processModifierList(); } else if(myRole1 == ChildRole.LBRACE && myRole2 == ChildRole.RBRACE) { myResult = Formatter.getInstance().createSpaceProperty(0, 0, 1, mySettings.KEEP_LINE_BREAKS, mySettings.KEEP_BLANK_LINES_BEFORE_RBRACE); } else if (myRole2 == ChildRole.EXTENDS_LIST || myRole2 == ChildRole.IMPLEMENTS_LIST) { createSpaceInCode(true); } else if (myRole2 == ChildRole.TYPE_PARAMETER_LIST) { createSpaceInCode(mySettings.SPACE_BEFORE_TYPE_PARAMETER_LIST); } else if (myRole2 == ChildRole.ARGUMENT_LIST) { createSpaceInCode(false); } }
|
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/1533398430214d8ae562ff3d8dcc5898351f8c45/JavaSpacePropertyProcessor.java/buggy/source/com/intellij/psi/formatter/java/JavaSpacePropertyProcessor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3757,
797,
12,
52,
7722,
797,
20148,
13,
288,
565,
309,
261,
4811,
1763,
21,
18,
588,
17481,
1435,
422,
5110,
1759,
17481,
18,
19693,
67,
12200,
13,
288,
1377,
3399,
1253,
273,
14924,
18,
588,
1442,
7675,
2640,
3819,
1396,
12,
20,
16,
374,
16,
404,
16,
3399,
2628,
18,
6859,
10541,
67,
5997,
67,
27960,
55,
16,
3399,
2628,
18,
6859,
10541,
67,
38,
24307,
67,
5997,
55,
67,
706,
67,
23956,
985,
15297,
1769,
1377,
327,
31,
565,
289,
565,
309,
261,
4811,
2996,
22,
422,
7451,
2996,
18,
12995,
9254,
13,
288,
1377,
3399,
1253,
273,
1322,
909,
4649,
12995,
9963,
12,
4811,
2628,
18,
6616,
67,
19152,
67,
5237,
67,
12995,
9254,
16,
3399,
2628,
18,
5237,
67,
26980,
67,
15066,
16,
394,
3867,
2655,
12,
4811,
3054,
18,
588,
1528,
2655,
7675,
588,
1685,
2335,
9334,
28524,
4766,
13491,
3399,
1763,
22,
18,
588,
1528,
2655,
7675,
588,
1685,
2335,
1435,
3631,
4766,
1377,
629,
1769,
565,
289,
469,
309,
261,
4811,
2996,
22,
422,
7451,
2996,
18,
5327,
225,
747,
3399,
2996,
22,
422,
7451,
2996,
18,
5237,
67,
12919,
15154,
654,
13,
288,
1377,
309,
261,
4811,
2996,
21,
422,
7451,
2996,
18,
12995,
9254,
13,
288,
3639,
3399,
1253,
273,
14924,
18,
588,
1442,
7675,
2640,
3819,
1396,
12,
20,
16,
20,
16,
404,
16,
3399,
2628,
18,
6859,
10541,
67,
5997,
67,
27960,
55,
16,
374,
1769,
1377,
289,
469,
288,
3639,
727,
509,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3757,
797,
12,
52,
7722,
797,
20148,
13,
288,
565,
309,
261,
4811,
1763,
21,
18,
588,
17481,
1435,
422,
5110,
1759,
17481,
18,
19693,
67,
12200,
13,
288,
1377,
3399,
1253,
273,
14924,
18,
588,
1442,
7675,
2640,
3819,
1396,
12,
20,
16,
374,
16,
404,
16,
3399,
2628,
18,
6859,
10541,
67,
5997,
67,
27960,
55,
16,
3399,
2628,
18,
6859,
10541,
67,
38,
24307,
67,
5997,
55,
67,
706,
67,
23956,
985,
15297,
1769,
1377,
327,
31,
565,
289,
565,
309,
261,
4811,
2996,
22,
422,
7451,
2996,
18,
12995,
9254,
13,
288,
1377,
3399,
1253,
273,
1322,
909,
4649,
12995,
9963,
12,
4811,
2628,
18,
6616,
67,
19152,
67,
5237,
67,
12995,
2
] |
dynaProperty = ((DynaBean) bean).getDynaClass().getDynaProperty(name);
|
String dynaName = name; int i = dynaName.indexOf(PropertyUtils.INDEXED_DELIM); if (i >= 0) { dynaName = dynaName.substring(0, i); } int j = dynaName.indexOf(PropertyUtils.MAPPED_DELIM); if (j >= 0) { dynaName = dynaName.substring(0, j); } DynaClass dynaClass = ((DynaBean) bean).getDynaClass(); dynaProperty = dynaClass.getDynaProperty(dynaName);
|
public static void populate(Object bean, Map properties) throws IllegalAccessException, InvocationTargetException { if ((bean == null) || (properties == null)) return; if (log.isDebugEnabled()) { log.debug("BeanUtils.populate(" + bean + ", " + properties + ")"); } // Loop through the property name/value pairs to be set Iterator names = properties.keySet().iterator(); while (names.hasNext()) { // Identify the property name and value(s) to be assigned String name = (String) names.next(); if (name == null) continue; Object value = properties.get(name); // String or String[] if (log.isTraceEnabled()) { log.trace(" name='" + name + "', value.class='" + (value == null ? "NONE" : value.getClass().getName()) + "', value='" + (value == null ? "NONE" : value) + "'"); } // Get the property descriptor of the requested property (if any) PropertyDescriptor descriptor = null; DynaProperty dynaProperty = null; try { if (bean instanceof DynaBean) { dynaProperty = ((DynaBean) bean).getDynaClass().getDynaProperty(name); } else { descriptor = PropertyUtils.getPropertyDescriptor(bean, name); } } catch (Throwable t) { if (log.isTraceEnabled()) { log.trace(" getPropertyDescriptor", t); } descriptor = null; dynaProperty = null; } if ((descriptor == null) && (dynaProperty == null)) { if (log.isTraceEnabled()) { log.trace(" No such property, skipping"); } continue; } if (log.isTraceEnabled()) { if (descriptor != null) { log.trace(" Property descriptor is '" + descriptor + "'"); } else /* if (dynaProperty != null) */ { log.trace(" DynaProperty descriptor is '" + descriptor + "'"); } } // Process differently for JavaBeans and DynaBeans if (descriptor != null) { // Identify the relevant setter method (if there is one) Method setter = null; if (descriptor instanceof IndexedPropertyDescriptor) setter = ((IndexedPropertyDescriptor) descriptor). getIndexedWriteMethod(); else if (descriptor instanceof MappedPropertyDescriptor) setter = ((MappedPropertyDescriptor) descriptor).getMappedWriteMethod(); if (setter == null) setter = descriptor.getWriteMethod(); if (setter == null) { if (log.isTraceEnabled()) { log.trace(" No setter method, skipping"); } continue; } Class parameterTypes[] = setter.getParameterTypes(); if (log.isTraceEnabled()) { log.trace(" Setter method is '" + setter.getName() + "(" + parameterTypes[0].getName() + (parameterTypes.length > 1 ? ", " + parameterTypes[1].getName() : "") + ")'"); } Class parameterType = parameterTypes[0]; if (parameterTypes.length > 1) parameterType = parameterTypes[1]; // Indexed or mapped setter // Convert the parameter value as required for this setter method Object parameters[] = new Object[1]; // if (parameterTypes[0].isArray()) { if (parameterType.isArray()) { if (value instanceof String) { String values[] = new String[1]; values[0] = (String) value; parameters[0] = ConvertUtils.convert((String[]) values, parameterType); } else if (value instanceof String[]) { parameters[0] = ConvertUtils.convert((String[]) value, parameterType); } else { parameters[0] = value; } } else { if (value instanceof String) { parameters[0] = ConvertUtils.convert((String) value, parameterType); } else if (value instanceof String[]) { parameters[0] = ConvertUtils.convert(((String[]) value)[0], parameterType); } else { parameters[0] = value; } } // Invoke the setter method try { PropertyUtils.setProperty(bean, name, parameters[0]); } catch (NoSuchMethodException e) { log.error(" CANNOT HAPPEN (setProperty()): ", e); } } else /* if (dynaProperty != null) */ { // Handle scalar and indexed properties differently Object newValue = null; Class type = dynaProperty.getType(); if (type.isArray()) { if (value instanceof String) { String values[] = new String[1]; values[0] = (String) value; newValue = ConvertUtils.convert((String[]) values, type); } else if (value instanceof String[]) { newValue = ConvertUtils.convert((String[]) value, type); } else { newValue = value; } } else { if (value instanceof String) { newValue = ConvertUtils.convert((String) value, type); } else if (value instanceof String[]) { newValue = ConvertUtils.convert(((String[]) value)[0], type); } else { newValue = value; } } // Invoke the setter method try { PropertyUtils.setProperty(bean, name, newValue); } catch (NoSuchMethodException e) { log.error(" CANNOT HAPPEN (setProperty())", e); } } } }
|
54521 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54521/88989762a3b3cf7e4fd87f1c339a3ef2ad22995d/BeanUtils.java/clean/src/java/org/apache/commons/beanutils/BeanUtils.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
6490,
12,
921,
3931,
16,
1635,
1790,
13,
5411,
1216,
11900,
16,
15342,
288,
3639,
309,
14015,
14496,
422,
446,
13,
747,
261,
4738,
422,
446,
3719,
5411,
327,
31,
3639,
309,
261,
1330,
18,
291,
2829,
1526,
10756,
288,
5411,
613,
18,
4148,
2932,
3381,
1989,
18,
19936,
2932,
397,
3931,
397,
3104,
315,
397,
10792,
1790,
397,
7310,
1769,
3639,
289,
3639,
368,
9720,
3059,
326,
1272,
508,
19,
1132,
5574,
358,
506,
444,
3639,
4498,
1257,
273,
1790,
18,
856,
694,
7675,
9838,
5621,
3639,
1323,
261,
1973,
18,
5332,
2134,
10756,
288,
5411,
368,
25622,
326,
1272,
508,
471,
460,
12,
87,
13,
358,
506,
6958,
5411,
514,
508,
273,
261,
780,
13,
1257,
18,
4285,
5621,
5411,
309,
261,
529,
422,
446,
13,
7734,
1324,
31,
5411,
1033,
460,
273,
1790,
18,
588,
12,
529,
1769,
202,
759,
514,
578,
514,
8526,
5411,
309,
261,
1330,
18,
291,
3448,
1526,
10756,
288,
7734,
613,
18,
5129,
2932,
225,
508,
13396,
397,
508,
397,
14912,
460,
18,
1106,
13396,
397,
12900,
261,
1132,
422,
446,
692,
315,
9826,
6,
294,
21821,
460,
18,
588,
797,
7675,
17994,
10756,
397,
14912,
460,
13396,
397,
12900,
261,
1132,
422,
446,
692,
315,
9826,
6,
294,
460,
13,
397,
5862,
1769,
5411,
289,
5411,
368,
968,
326,
1272,
4950,
434,
326,
3764,
1272,
261,
430,
1281,
13,
5411,
26761,
4950,
273,
446,
31,
5411,
463,
23041,
1396,
19417,
69,
1396,
273,
446,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
6490,
12,
921,
3931,
16,
1635,
1790,
13,
5411,
1216,
11900,
16,
15342,
288,
3639,
309,
14015,
14496,
422,
446,
13,
747,
261,
4738,
422,
446,
3719,
5411,
327,
31,
3639,
309,
261,
1330,
18,
291,
2829,
1526,
10756,
288,
5411,
613,
18,
4148,
2932,
3381,
1989,
18,
19936,
2932,
397,
3931,
397,
3104,
315,
397,
10792,
1790,
397,
7310,
1769,
3639,
289,
3639,
368,
9720,
3059,
326,
1272,
508,
19,
1132,
5574,
358,
506,
444,
3639,
4498,
1257,
273,
1790,
18,
856,
694,
7675,
9838,
5621,
3639,
1323,
261,
1973,
18,
5332,
2134,
10756,
288,
5411,
368,
25622,
326,
1272,
508,
471,
460,
12,
87,
13,
358,
506,
6958,
5411,
514,
508,
273,
261,
2
] |
fs.put("PriorityClass", Short.toString(priorityClass));
|
public SimpleFieldSet getFieldSet() { SimpleFieldSet fs = new SimpleFieldSet(false); fs.put("Identifier", identifier); fs.put("URI", uri.toString(false)); fs.put("Verbosity", Integer.toString(verbosity)); fs.put("PriorityClass", Short.toString(priorityClass)); fs.put("UploadFrom", ClientPutMessage.uploadFromString(uploadFrom)); fs.put("Persistence", ClientRequest.persistenceTypeString(persistenceType)); if(origFilename != null) fs.put("Filename", origFilename.getAbsolutePath()); if(targetURI != null) fs.put("TargetURI", targetURI.toString()); if(mimeType != null) fs.put("Metadata.ContentType", mimeType); fs.put("PriorityClass", Short.toString(priorityClass)); fs.put("Global", Boolean.toString(global)); return fs; }
|
46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/a1db05415d164d63d4b0425b081ad30da88dc6ba/PersistentPut.java/clean/src/freenet/node/fcp/PersistentPut.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4477,
974,
694,
5031,
694,
1435,
288,
202,
202,
5784,
974,
694,
2662,
273,
394,
4477,
974,
694,
12,
5743,
1769,
202,
202,
2556,
18,
458,
2932,
3004,
3113,
2756,
1769,
202,
202,
2556,
18,
458,
2932,
3098,
3113,
2003,
18,
10492,
12,
5743,
10019,
202,
202,
2556,
18,
458,
2932,
30594,
3113,
2144,
18,
10492,
12,
16629,
8807,
10019,
202,
202,
2556,
18,
458,
2932,
8183,
797,
3113,
7925,
18,
10492,
12,
8457,
797,
10019,
202,
202,
2556,
18,
458,
2932,
4777,
1265,
3113,
2445,
6426,
1079,
18,
6327,
9193,
12,
6327,
1265,
10019,
202,
202,
2556,
18,
458,
2932,
13182,
3113,
2445,
691,
18,
24854,
559,
780,
12,
24854,
559,
10019,
202,
202,
430,
12,
4949,
5359,
480,
446,
13,
1082,
202,
2556,
18,
458,
2932,
5359,
3113,
1647,
5359,
18,
588,
10368,
743,
10663,
202,
202,
430,
12,
3299,
3098,
480,
446,
13,
1082,
202,
2556,
18,
458,
2932,
2326,
3098,
3113,
1018,
3098,
18,
10492,
10663,
202,
202,
430,
12,
19176,
480,
446,
13,
1082,
202,
2556,
18,
458,
2932,
2277,
18,
8046,
3113,
10707,
1769,
202,
202,
2556,
18,
458,
2932,
8183,
797,
3113,
7925,
18,
10492,
12,
8457,
797,
10019,
202,
202,
2556,
18,
458,
2932,
5160,
3113,
3411,
18,
10492,
12,
6347,
10019,
202,
202,
2463,
2662,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4477,
974,
694,
5031,
694,
1435,
288,
202,
202,
5784,
974,
694,
2662,
273,
394,
4477,
974,
694,
12,
5743,
1769,
202,
202,
2556,
18,
458,
2932,
3004,
3113,
2756,
1769,
202,
202,
2556,
18,
458,
2932,
3098,
3113,
2003,
18,
10492,
12,
5743,
10019,
202,
202,
2556,
18,
458,
2932,
30594,
3113,
2144,
18,
10492,
12,
16629,
8807,
10019,
202,
202,
2556,
18,
458,
2932,
8183,
797,
3113,
7925,
18,
10492,
12,
8457,
797,
10019,
202,
202,
2556,
18,
458,
2932,
4777,
1265,
3113,
2445,
6426,
1079,
18,
6327,
9193,
12,
6327,
1265,
10019,
202,
202,
2556,
18,
458,
2932,
13182,
3113,
2445,
691,
18,
24854,
559,
780,
12,
24854,
559,
10019,
202,
202,
430,
2
] |
|
DebugPlugin.log(IStatus.ERROR, "unexpected error", e);
|
PydevDebugPlugin.log(IStatus.ERROR, "unexpected error", e);
|
public void lineAppended(IRegion line) { int lineOffset = line.getOffset(); int lineLength = line.getLength(); try { String text = console.getDocument().get(lineOffset, lineLength); Matcher m = linePattern.matcher(text); String fileName = null; String lineNumber = null; int fileStart = -1; // match if (m.matches()) { fileName = m.group(1); lineNumber = m.group(2); fileStart = 2; // The beginning of the line, "File " } // hyperlink if we found something if (fileName != null) { int num = -1; try { num = lineNumber != null ? Integer.parseInt(lineNumber) : -1; } catch (NumberFormatException e) { } IFile[] files = ResourcesPlugin.getWorkspace().getRoot().findFilesForLocation(new Path(fileName)); IFile file= null; if (files.length > 0) file= files[0]; if (file != null && file.exists()) { FileLink link = new FileLink(file, null, -1, -1, num); console.addLink(link, lineOffset + fileStart, lineLength - fileStart); } } } catch (BadLocationException e) { DebugPlugin.log(IStatus.ERROR, "unexpected error", e); } }
|
50371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50371/63f50668dea24f656da085e9926f0a84cac2d3f7/PythonConsoleLineTracker.java/buggy/org.python.pydev.debug/src/org/python/pydev/debug/ui/PythonConsoleLineTracker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
980,
1294,
11275,
12,
45,
5165,
980,
13,
288,
202,
202,
474,
980,
2335,
273,
980,
18,
588,
2335,
5621,
202,
202,
474,
980,
1782,
273,
980,
18,
588,
1782,
5621,
202,
202,
698,
288,
1082,
202,
780,
977,
273,
2983,
18,
588,
2519,
7675,
588,
12,
1369,
2335,
16,
980,
1782,
1769,
1082,
202,
6286,
312,
273,
980,
3234,
18,
22761,
12,
955,
1769,
1082,
202,
780,
3968,
273,
446,
31,
1082,
202,
780,
13629,
273,
446,
31,
1082,
202,
474,
585,
1685,
273,
300,
21,
31,
1082,
202,
759,
845,
1082,
202,
430,
261,
81,
18,
8436,
10756,
288,
9506,
202,
17812,
273,
312,
18,
1655,
12,
21,
1769,
9506,
202,
1369,
1854,
273,
312,
18,
1655,
12,
22,
1769,
9506,
202,
768,
1685,
273,
576,
31,
368,
1021,
8435,
434,
326,
980,
16,
315,
812,
225,
315,
1082,
202,
97,
1082,
202,
759,
9512,
1232,
309,
732,
1392,
5943,
1082,
202,
430,
261,
17812,
480,
446,
13,
288,
9506,
202,
474,
818,
273,
300,
21,
31,
9506,
202,
698,
288,
6862,
202,
2107,
273,
13629,
480,
446,
692,
2144,
18,
2670,
1702,
12,
1369,
1854,
13,
294,
300,
21,
31,
9506,
202,
97,
9506,
202,
14683,
261,
1854,
9291,
425,
13,
288,
9506,
202,
97,
9506,
202,
45,
812,
8526,
1390,
273,
8128,
3773,
18,
588,
8241,
7675,
588,
2375,
7675,
4720,
2697,
1290,
2735,
12,
2704,
2666,
12,
17812,
10019,
9506,
202,
45,
812,
585,
33,
446,
31,
9506,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
980,
1294,
11275,
12,
45,
5165,
980,
13,
288,
202,
202,
474,
980,
2335,
273,
980,
18,
588,
2335,
5621,
202,
202,
474,
980,
1782,
273,
980,
18,
588,
1782,
5621,
202,
202,
698,
288,
1082,
202,
780,
977,
273,
2983,
18,
588,
2519,
7675,
588,
12,
1369,
2335,
16,
980,
1782,
1769,
1082,
202,
6286,
312,
273,
980,
3234,
18,
22761,
12,
955,
1769,
1082,
202,
780,
3968,
273,
446,
31,
1082,
202,
780,
13629,
273,
446,
31,
1082,
202,
474,
585,
1685,
273,
300,
21,
31,
1082,
202,
759,
845,
1082,
202,
430,
261,
81,
18,
8436,
10756,
288,
9506,
202,
17812,
273,
312,
18,
1655,
12,
21,
1769,
9506,
202,
1369,
1854,
2
] |
return; }
|
public void mousePressed(MouseEvent e) { if(!isFocusOwner()) { requestFocus(); return; } setCacheEnabled(false); prev_offset_x = offset_x; prev_offset_y = offset_y; lastMouse = e.getPoint(); if(getCurrentGraph() instanceof GGraphGroup) handleMousePressedInGraphGroup(e); }
|
4430 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4430/95ba6ba72773f8ce77a463ceeadb53dafdcad590/GView.java/buggy/src/org/antlr/works/visualization/graphics/panel/GView.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
7644,
24624,
12,
9186,
1133,
425,
13,
288,
5411,
309,
12,
5,
291,
9233,
5541,
10756,
288,
7734,
590,
9233,
5621,
7734,
327,
31,
5411,
289,
5411,
20007,
1526,
12,
5743,
1769,
5411,
2807,
67,
3348,
67,
92,
273,
1384,
67,
92,
31,
5411,
2807,
67,
3348,
67,
93,
273,
1384,
67,
93,
31,
5411,
1142,
9186,
273,
425,
18,
588,
2148,
5621,
5411,
309,
12,
588,
3935,
4137,
1435,
1276,
611,
4137,
1114,
13,
7734,
1640,
9186,
24624,
382,
4137,
1114,
12,
73,
1769,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
7644,
24624,
12,
9186,
1133,
425,
13,
288,
5411,
309,
12,
5,
291,
9233,
5541,
10756,
288,
7734,
590,
9233,
5621,
7734,
327,
31,
5411,
289,
5411,
20007,
1526,
12,
5743,
1769,
5411,
2807,
67,
3348,
67,
92,
273,
1384,
67,
92,
31,
5411,
2807,
67,
3348,
67,
93,
273,
1384,
67,
93,
31,
5411,
1142,
9186,
273,
425,
18,
588,
2148,
5621,
5411,
309,
12,
588,
3935,
4137,
1435,
1276,
611,
4137,
1114,
13,
7734,
1640,
9186,
24624,
382,
4137,
1114,
12,
73,
1769,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
"Button.background", new ColorUIResource(getControl()),
|
"Button.background", getControl(),
|
protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", new ColorUIResource(getControl()), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", new ColorUIResource(getControlDarkShadow()), "Button.disabledText", new ColorUIResource(getControlDisabled()), "Button.focus", new ColorUIResource(getFocusColor()), "Button.font", getControlTextFont(), "Button.foreground", new ColorUIResource(getSystemTextColor()), "Button.highlight", new ColorUIResource(getControlHighlight()), "Button.light", new ColorUIResource(getControlHighlight()), "Button.margin", new Insets(2, 14, 2, 14), "Button.select", new ColorUIResource(getPrimaryControlShadow()), "Button.shadow", new ColorUIResource(getPrimaryControlShadow()), "CheckBox.background", new ColorUIResource(getControl()), "CheckBox.border", MetalBorders.getButtonBorder(), "CheckBox.icon", new UIDefaults.ProxyLazyValue ("javax.swing.plaf.metal.MetalCheckBoxIcon"), "CheckBox.checkIcon", new UIDefaults.ProxyLazyValue ("javax.swing.plaf.metal.MetalCheckBoxIcon"), "CheckBoxMenuItem.background", new ColorUIResource(getControl()), "CheckBoxMenuItem.checkIcon", MetalIconFactory.getCheckBoxMenuItemIcon(), "ToolBar.background", new ColorUIResource(getControl()), "Panel.background", new ColorUIResource(getControl()), "Slider.background", new ColorUIResource(getControl()), "OptionPane.background", new ColorUIResource(getControl()), "ProgressBar.background", new ColorUIResource(getControl()), "ScrollPane.border", new MetalBorders.ScrollPaneBorder(), "TabbedPane.background", new ColorUIResource(getControl()), "InternalFrame.border", new MetalBorders.InternalFrameBorder(), "InternalFrame.icon", MetalIconFactory.getInternalFrameDefaultMenuIcon(), "InternalFrame.closeIcon", MetalIconFactory.getInternalFrameCloseIcon(16), "InternalFrame.maximizeIcon", MetalIconFactory.getInternalFrameMaximizeIcon(16), "InternalFrame.iconifyIcon", MetalIconFactory.getInternalFrameMinimizeIcon(16), "Label.background", new ColorUIResource(getControl()), "Label.font", getControlTextFont(), "Label.disabledForeground", new ColorUIResource(getInactiveControlTextColor()), "Label.foreground", new ColorUIResource(getControlTextColor()), "Menu.background", new ColorUIResource(getControl()), "Menu.border", new MetalBorders.MenuItemBorder(), "Menu.borderPainted", Boolean.TRUE, "Menu.font", getControlTextFont(), "Menu.selectionBackground", getMenuSelectedBackground(), "Menu.selectionForeground", getMenuSelectedForeground(), "MenuBar.background", new ColorUIResource(getControl()), "MenuBar.border", new MetalBorders.MenuBarBorder(), "MenuBar.font", getControlTextFont(), "MenuItem.background", new ColorUIResource(getControl()), "MenuItem.border", new MetalBorders.MenuItemBorder(), "MenuItem.font", getControlTextFont(), "MenuItem.selectionBackground", getMenuSelectedBackground(), "MenuItem.selectionForeground", getMenuSelectedForeground(), "Panel.background", new ColorUIResource(getControl()), "RadioButton.icon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return MetalIconFactory.getRadioButtonIcon(); } }, "RadioButtonMenuItem.border", new MetalBorders.MenuItemBorder(), "RadioButtonMenuItem.borderPainted", Boolean.TRUE, "RadioButtonMenuItem.checkIcon", MetalIconFactory.getRadioButtonMenuItemIcon(), "RadioButtonMenuItem.font", MetalLookAndFeel.getControlTextFont(), "RadioButtonMenuItem.margin", new InsetsUIResource(2, 2, 2, 2), "RadioButtonMenuItem.selectionBackground", MetalLookAndFeel.getMenuSelectedBackground(), "RadioButtonMenuItem.selectionForeground", MetalLookAndFeel.getMenuSelectedForeground(), "ScrollBar.background", new ColorUIResource(getControl()), "ScrollBar.shadow", new ColorUIResource(getControlShadow()), "ScrollBar.thumb", new ColorUIResource(getPrimaryControlShadow()), "ScrollBar.thumbDarkShadow", new ColorUIResource(getPrimaryControlDarkShadow()), "ScrollBar.thumbHighlight", new ColorUIResource(getPrimaryControl()), "SplitPane.darkShadow", new ColorUIResource(getControlDarkShadow()), "SplitPane.highlight", new ColorUIResource(getControlHighlight()), "Slider.focusInsets", new InsetsUIResource(0, 0, 0, 0), "Slider.horizontalThumbIcon", MetalIconFactory.getHorizontalSliderThumbIcon(), "Slider.verticalThumbIcon", MetalIconFactory.getVerticalSliderThumbIcon(), "Slider.trackWidth", new Integer(7), "Slider.majorTickLength", new Integer(6), "TabbedPane.font", new FontUIResource("Dialog", Font.BOLD, 12), "TabbedPane.tabInsets", new InsetsUIResource(0, 9, 1, 9), "TabbedPane.selectedTabPadInsets", new InsetsUIResource(2, 2, 2, 1), "TabbedPane.tabAreaInsets", new InsetsUIResource(4, 2, 0, 6), "ToggleButton.background", new ColorUIResource(getControl()), "ToggleButton.border", MetalBorders.getButtonBorder(), "ToggleButton.darkShadow", new ColorUIResource(getControlDarkShadow()), "ToggleButton.disabledText", new ColorUIResource(getControlDisabled()), "ToggleButton.focus", new ColorUIResource(getFocusColor()), "ToggleButton.font", getControlTextFont(), "ToggleButton.foreground", new ColorUIResource(getSystemTextColor()), "ToggleButton.highlight", new ColorUIResource(getControlHighlight()), "ToggleButton.light", new ColorUIResource(getControlHighlight()), "ToggleButton.margin", new Insets(2, 14, 2, 14), "ToggleButton.select", new ColorUIResource(getPrimaryControlShadow()), "ToggleButton.shadow", new ColorUIResource(getPrimaryControlShadow()), "Tree.openIcon", MetalIconFactory.getTreeFolderIcon(), "Tree.closedIcon", MetalIconFactory.getTreeFolderIcon(), "Tree.leafIcon", MetalIconFactory.getTreeLeafIcon(), "Tree.collapsedIcon", MetalIconFactory.getTreeControlIcon(true), "Tree.expandedIcon", MetalIconFactory.getTreeControlIcon(false), "Tree.font", new FontUIResource(new Font("Helvetica", Font.PLAIN, 12)), "Tree.background", new ColorUIResource(Color.white), "Tree.foreground", new ColorUIResource(new Color(204, 204, 255)), "Tree.hash", new ColorUIResource(new Color(204, 204, 255)), "Tree.leftChildIndent", new Integer(7), "Tree.rightChildIndent", new Integer(13), "Tree.rowHeight", new Integer(20), "Tree.scrollsOnExpand", Boolean.TRUE, "Tree.selectionBackground", new ColorUIResource(new Color(204, 204, 255)), "Tree.nonSelectionBackground", new ColorUIResource(Color.white), "Tree.selectionBorderColor", new ColorUIResource(new Color(102, 102, 153)), "Tree.selectionBorder", new BorderUIResource.LineBorderUIResource(new Color(102, 102, 153)), "Tree.nonSelectionBorder", new BorderUIResource.LineBorderUIResource(Color.white), "Tree.selectionForeground", new ColorUIResource(Color.black), "Tree.textBackground", new ColorUIResource(new Color(204, 204, 255)), "Tree.textForeground", new ColorUIResource(Color.black), "Tree.selectionForeground", new ColorUIResource(Color.black), "PopupMenu.border", new MetalBorders.PopupMenuBorder() }; defaults.putDefaults(myDefaults); }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/045a5b41cdfa747889101d3993040acf89788bc4/MetalLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
1841,
7019,
12,
3060,
73,
643,
87,
3467,
13,
225,
288,
565,
2240,
18,
2738,
1841,
7019,
12,
7606,
1769,
565,
1033,
8526,
3399,
7019,
273,
394,
1033,
8526,
288,
1377,
315,
3616,
18,
9342,
3113,
27174,
9334,
1377,
315,
3616,
18,
8815,
3113,
21604,
287,
21621,
18,
588,
3616,
8107,
9334,
1377,
315,
3616,
18,
25045,
12957,
3113,
394,
5563,
5370,
1420,
12,
588,
3367,
40,
1313,
12957,
1435,
3631,
1377,
315,
3616,
18,
9278,
1528,
3113,
394,
5563,
5370,
1420,
12,
588,
3367,
8853,
1435,
3631,
1377,
315,
3616,
18,
13923,
3113,
394,
5563,
5370,
1420,
12,
588,
9233,
2957,
1435,
3631,
1377,
315,
3616,
18,
5776,
3113,
27174,
1528,
5711,
9334,
1377,
315,
3616,
18,
1405,
2915,
3113,
394,
5563,
5370,
1420,
12,
588,
3163,
31061,
1435,
3631,
1377,
315,
3616,
18,
15978,
3113,
394,
5563,
5370,
1420,
12,
588,
3367,
16205,
1435,
3631,
1377,
315,
3616,
18,
5099,
3113,
394,
5563,
5370,
1420,
12,
588,
3367,
16205,
1435,
3631,
1377,
315,
3616,
18,
10107,
3113,
394,
22300,
12,
22,
16,
5045,
16,
576,
16,
5045,
3631,
1377,
315,
3616,
18,
4025,
3113,
394,
5563,
5370,
1420,
12,
588,
6793,
3367,
12957,
1435,
3631,
1377,
315,
3616,
18,
19119,
3113,
394,
5563,
5370,
1420,
12,
588,
6793,
3367,
12957,
1435,
3631,
1377,
315,
19174,
18,
9342,
3113,
394,
5563,
5370,
1420,
12,
588,
3367,
1435,
3631,
1377,
315,
19174,
18,
8815,
3113,
21604,
287,
21621,
18,
588,
3616,
8107,
9334,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
1841,
7019,
12,
3060,
73,
643,
87,
3467,
13,
225,
288,
565,
2240,
18,
2738,
1841,
7019,
12,
7606,
1769,
565,
1033,
8526,
3399,
7019,
273,
394,
1033,
8526,
288,
1377,
315,
3616,
18,
9342,
3113,
27174,
9334,
1377,
315,
3616,
18,
8815,
3113,
21604,
287,
21621,
18,
588,
3616,
8107,
9334,
1377,
315,
3616,
18,
25045,
12957,
3113,
394,
5563,
5370,
1420,
12,
588,
3367,
40,
1313,
12957,
1435,
3631,
1377,
315,
3616,
18,
9278,
1528,
3113,
394,
5563,
5370,
1420,
12,
588,
3367,
8853,
1435,
3631,
1377,
315,
3616,
18,
13923,
3113,
394,
5563,
5370,
1420,
12,
588,
9233,
2957,
1435,
3631,
1377,
315,
3616,
18,
5776,
3113,
27174,
1528,
5711,
9334,
1377,
2
] |
);*/ String s = "";
|
);
|
public void actionPerformed(ActionEvent event) { ChemObject object = getSource(event); logger.debug("CreateReaction action"); JChemPaintModel jcpmodel = jcpPanel.getJChemPaintModel(); org.openscience.cdk.interfaces.ChemModel model = jcpmodel.getChemModel(); org.openscience.cdk.interfaces.SetOfReactions reactionSet = model.getSetOfReactions(); if (reactionSet == null) { reactionSet = new SetOfReactions(); } AtomContainer container = null; if (object instanceof Atom) { container = ChemModelManipulator.getRelevantAtomContainer(model, (Atom) object); } else { logger.error("Cannot add to reaction object of type: " + object.getClass().getName()); } if (container == null) { logger.error("Cannot find container to add object to!"); } else { AtomContainer newContainer = (AtomContainer) container.clone(); // delete atoms in current model org.openscience.cdk.interfaces.Atom[] atoms = container.getAtoms(); for (int i = 0; i < atoms.length; i++) { ChemModelManipulator.removeAtomAndConnectedElectronContainers(model, atoms[i]); } logger.debug("Deleted atom from old container..."); // add reaction org.openscience.cdk.interfaces.Reaction reaction = new Reaction(); reaction.setID("reaction-" + System.currentTimeMillis()); logger.debug("type: ", type); if ("addReactantToNew".equals(type)) { reaction.addReactant(new Molecule(newContainer)); reactionSet.addReaction(reaction); } else if ("addReactantToExisting".equals(type)) { if (reactionSet.getReactionCount() == 0) { logger.warn("Cannot add to reaction if no one exists"); // FIXME: give feedback to user return; } else {// XXX needs fixing /*Object[] ids = getReactionIDs(reactionSet); String s = (String) JOptionPane.showInputDialog( jcpPanel.getFrame(), "Reaction Chooser", "Choose reaction to add reaction to", JOptionPane.PLAIN_MESSAGE, null, ids, ids[0] );*/ String s = ""; if ((s != null) && (s.length() > 0)) { String selectedReactionID = s; reaction = getReaction(reactionSet, selectedReactionID); reaction.addReactant(new Molecule(newContainer)); } else { logger.error("No reaction selected"); } } } else if ("addProductToNew".equals(type)) { reaction.addProduct(new Molecule(newContainer)); reactionSet.addReaction(reaction); } else if ("addProductToExisting".equals(type)) { if (reactionSet.getReactionCount() == 0) { logger.warn("Cannot add to reaction if no one exists"); // FIXME: give feedback to user return; } else { //XXX needs fixing /* Object[] ids = getReactionIDs(reactionSet); String s = (String) JOptionPane.showInputDialog( jcpPanel.getFrame(), "Reaction Chooser", "Choose reaction to add reaction to", JOptionPane.PLAIN_MESSAGE, null, ids, ids[0] );*/ String s = ""; if ((s != null) && (s.length() > 0)) { String selectedReactionID = s; reaction = getReaction(reactionSet, selectedReactionID); reaction.addProduct(new Molecule(newContainer)); } else { logger.error("No reaction selected"); } } } else { logger.warn("Don't know about this action type: " + type); return; } } model.setSetOfReactions(reactionSet); }
|
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/b1f7a19d9d23955e84008e9cd57944ccfe2a4dd3/CreateReactionAction.java/buggy/src/org/openscience/cdk/applications/jchempaint/action/CreateReactionAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
26100,
12,
1803,
1133,
871,
13,
202,
95,
202,
202,
20200,
921,
733,
273,
7889,
12,
2575,
1769,
202,
202,
4901,
18,
4148,
2932,
1684,
21581,
1301,
8863,
202,
202,
46,
20200,
12699,
1488,
525,
4057,
2284,
273,
525,
4057,
5537,
18,
588,
46,
20200,
12699,
1488,
5621,
202,
202,
3341,
18,
20346,
71,
6254,
18,
71,
2883,
18,
15898,
18,
20200,
1488,
938,
273,
525,
4057,
2284,
18,
588,
20200,
1488,
5621,
202,
202,
3341,
18,
20346,
71,
6254,
18,
71,
2883,
18,
15898,
18,
694,
951,
426,
4905,
12836,
694,
273,
938,
18,
588,
694,
951,
426,
4905,
5621,
202,
202,
430,
261,
266,
1128,
694,
422,
446,
13,
202,
202,
95,
1082,
202,
266,
1128,
694,
273,
394,
1000,
951,
426,
4905,
5621,
202,
202,
97,
202,
202,
3641,
2170,
1478,
273,
446,
31,
202,
202,
430,
261,
1612,
1276,
7149,
13,
202,
202,
95,
1082,
202,
3782,
273,
26542,
1488,
27587,
18,
588,
17018,
7445,
3641,
2170,
12,
2284,
16,
261,
3641,
13,
733,
1769,
202,
202,
97,
469,
202,
202,
95,
1082,
202,
4901,
18,
1636,
2932,
4515,
527,
358,
12836,
733,
434,
618,
30,
315,
397,
733,
18,
588,
797,
7675,
17994,
10663,
202,
202,
97,
202,
202,
430,
261,
3782,
422,
446,
13,
202,
202,
95,
1082,
202,
4901,
18,
1636,
2932,
4515,
1104,
1478,
358,
527,
733,
358,
4442,
1769,
202,
202,
97,
469,
202,
202,
95,
1082,
202,
3641,
2170,
394,
2170,
273,
261,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26100,
12,
1803,
1133,
871,
13,
202,
95,
202,
202,
20200,
921,
733,
273,
7889,
12,
2575,
1769,
202,
202,
4901,
18,
4148,
2932,
1684,
21581,
1301,
8863,
202,
202,
46,
20200,
12699,
1488,
525,
4057,
2284,
273,
525,
4057,
5537,
18,
588,
46,
20200,
12699,
1488,
5621,
202,
202,
3341,
18,
20346,
71,
6254,
18,
71,
2883,
18,
15898,
18,
20200,
1488,
938,
273,
525,
4057,
2284,
18,
588,
20200,
1488,
5621,
202,
202,
3341,
18,
20346,
71,
6254,
18,
71,
2883,
18,
15898,
18,
694,
951,
426,
4905,
12836,
694,
273,
938,
18,
588,
694,
951,
426,
4905,
5621,
202,
202,
430,
261,
266,
1128,
694,
422,
446,
13,
202,
202,
95,
1082,
2
] |
if (e.type == SWT.Deactivate) { e.display.asyncExec(new Runnable() { public void run() { if (proposalTable == null || proposalTable.isDisposed()) return; Control focusControl = e.display.getFocusControl(); if (focusControl == proposalTable || focusControl == control || scrollbarClicked) return; close(); } }); return; }
|
public void handleEvent(final Event e) { // If focus is leaving an important widget if (e.type == SWT.FocusOut) { scrollbarClicked = false; // Ignore this event if it's only happening because focus // is moving between the popup shell, control, or scrollbar. // Do this in an async since the focus is not actually switched // when this event is received. e.display.asyncExec(new Runnable() { public void run() { if (proposalTable == null || proposalTable.isDisposed()) return; Control focusControl = e.display.getFocusControl(); if (focusControl == proposalTable || focusControl == control || scrollbarClicked) return; close(); } }); return; } // Scroll bar has been clicked. Remember this for focus event processing. if (e.type == SWT.Selection) { scrollbarClicked = true; return; } // If the shell is deactivating, we should close unless this shell is the // reason why. if (e.type == SWT.Deactivate) { e.display.asyncExec(new Runnable() { public void run() { if (proposalTable == null || proposalTable.isDisposed()) return; Control focusControl = e.display.getFocusControl(); if (focusControl == proposalTable || focusControl == control || scrollbarClicked) return; close(); } }); return; } // For all other events, merely getting them dictates closure. if (e.widget == control.getShell()) close(); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e86767bca90c6512253f517086ea9c4cc5f088bd/ContentProposalAdapter.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/fieldassist/ContentProposalAdapter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1640,
1133,
12,
6385,
2587,
425,
13,
288,
9506,
202,
759,
971,
7155,
353,
15086,
392,
10802,
3604,
9506,
202,
430,
261,
73,
18,
723,
422,
348,
8588,
18,
9233,
1182,
13,
288,
6862,
202,
12033,
3215,
27633,
273,
629,
31,
6862,
202,
759,
8049,
333,
871,
309,
518,
1807,
1338,
5865,
310,
2724,
7155,
6862,
202,
759,
353,
12499,
3086,
326,
10431,
5972,
16,
3325,
16,
578,
27123,
18,
6862,
202,
759,
2256,
333,
316,
392,
4326,
3241,
326,
7155,
353,
486,
6013,
31665,
6862,
202,
759,
1347,
333,
871,
353,
5079,
18,
6862,
202,
73,
18,
5417,
18,
3810,
1905,
12,
2704,
10254,
1435,
288,
25083,
202,
482,
918,
1086,
1435,
288,
6862,
1082,
202,
430,
261,
685,
8016,
1388,
422,
446,
747,
14708,
1388,
18,
291,
1669,
7423,
10756,
6862,
9506,
202,
2463,
31,
6862,
1082,
202,
3367,
7155,
3367,
273,
425,
18,
5417,
18,
588,
9233,
3367,
5621,
6862,
1082,
202,
430,
261,
13923,
3367,
422,
14708,
1388,
747,
7155,
3367,
422,
3325,
747,
27123,
27633,
13,
6862,
9506,
202,
2463,
31,
6862,
1082,
202,
4412,
5621,
25083,
202,
97,
6862,
202,
22938,
6862,
202,
2463,
31,
9506,
202,
97,
9506,
202,
759,
23134,
4653,
711,
2118,
17688,
18,
225,
23133,
333,
364,
7155,
871,
4929,
18,
9506,
202,
430,
261,
73,
18,
723,
422,
348,
8588,
18,
6233,
13,
288,
6862,
202,
12033,
3215,
27633,
273,
638,
31,
6862,
202,
2463,
31,
9506,
202,
97,
9506,
202,
759,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1640,
1133,
12,
6385,
2587,
425,
13,
288,
9506,
202,
759,
971,
7155,
353,
15086,
392,
10802,
3604,
9506,
202,
430,
261,
73,
18,
723,
422,
348,
8588,
18,
9233,
1182,
13,
288,
6862,
202,
12033,
3215,
27633,
273,
629,
31,
6862,
202,
759,
8049,
333,
871,
309,
518,
1807,
1338,
5865,
310,
2724,
7155,
6862,
202,
759,
353,
12499,
3086,
326,
10431,
5972,
16,
3325,
16,
578,
27123,
18,
6862,
202,
759,
2256,
333,
316,
392,
4326,
3241,
326,
7155,
353,
486,
6013,
31665,
6862,
202,
759,
1347,
333,
871,
353,
5079,
18,
6862,
202,
73,
18,
5417,
18,
3810,
1905,
12,
2704,
10254,
1435,
288,
25083,
202,
482,
918,
1086,
1435,
288,
6862,
2
] |
|
DetailAST aAst, ExpressionHandler aParent)
|
DetailAST aAst, ExpressionHandler aParent)
|
public ElseHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent) { super(aIndentCheck, "else", aAst, aParent); }
|
31427 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31427/a4d63db21d57ab53aff8a467f89df3867518ab91/ElseHandler.java/clean/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/indentation/ElseHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
16289,
1503,
12,
24438,
1564,
279,
7790,
1564,
16,
3639,
27931,
9053,
279,
21385,
16,
5371,
1503,
279,
3054,
13,
377,
288,
3639,
2240,
12,
69,
7790,
1564,
16,
315,
12107,
3113,
279,
21385,
16,
279,
3054,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
16289,
1503,
12,
24438,
1564,
279,
7790,
1564,
16,
3639,
27931,
9053,
279,
21385,
16,
5371,
1503,
279,
3054,
13,
377,
288,
3639,
2240,
12,
69,
7790,
1564,
16,
315,
12107,
3113,
279,
21385,
16,
279,
3054,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
this.level = (OfficeLevelEntity) new MasterPersistence().getPersistentObject( OfficeLevelEntity.class, level.getValue());
|
this.level = (OfficeLevelEntity) new MasterPersistence() .getPersistentObject(OfficeLevelEntity.class, level .getValue());
|
private void updateLevel(OfficeLevel level) throws OfficeException { if (this.getOfficeLevel() != level) { // TODO: pass proper key if (!canUpdateLevel(level)) throw new OfficeException(); try { this.level = (OfficeLevelEntity) new MasterPersistence().getPersistentObject( OfficeLevelEntity.class, level.getValue()); } catch (PersistenceException e) { throw new OfficeException(e); } } }
|
45468 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45468/f07b4219cc4e9273dc3f823a758f8c72941f314d/OfficeBO.java/clean/mifos/src/org/mifos/application/office/business/OfficeBO.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1089,
2355,
12,
30126,
2355,
1801,
13,
1216,
15837,
1812,
503,
288,
202,
202,
430,
261,
2211,
18,
588,
30126,
2355,
1435,
480,
1801,
13,
288,
1082,
202,
759,
2660,
30,
1342,
5338,
498,
1082,
202,
430,
16051,
4169,
1891,
2355,
12,
2815,
3719,
9506,
202,
12849,
394,
15837,
1812,
503,
5621,
1082,
202,
698,
288,
9506,
202,
2211,
18,
2815,
273,
261,
30126,
2355,
1943,
13,
394,
13453,
13182,
7675,
588,
11906,
921,
12,
25083,
202,
30126,
2355,
1943,
18,
1106,
16,
1801,
18,
24805,
10663,
1082,
202,
97,
1044,
261,
13182,
503,
425,
13,
288,
9506,
202,
12849,
394,
15837,
1812,
503,
12,
73,
1769,
1082,
202,
97,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1089,
2355,
12,
30126,
2355,
1801,
13,
1216,
15837,
1812,
503,
288,
202,
202,
430,
261,
2211,
18,
588,
30126,
2355,
1435,
480,
1801,
13,
288,
1082,
202,
759,
2660,
30,
1342,
5338,
498,
1082,
202,
430,
16051,
4169,
1891,
2355,
12,
2815,
3719,
9506,
202,
12849,
394,
15837,
1812,
503,
5621,
1082,
202,
698,
288,
9506,
202,
2211,
18,
2815,
273,
261,
30126,
2355,
1943,
13,
394,
13453,
13182,
7675,
588,
11906,
921,
12,
25083,
202,
30126,
2355,
1943,
18,
1106,
16,
1801,
18,
24805,
10663,
1082,
202,
97,
1044,
261,
13182,
503,
425,
13,
288,
9506,
202,
12849,
394,
15837,
1812,
503,
12,
73,
1769,
1082,
202,
97,
202,
202,
97,
202,
97,
2
] |
System.out.println(pane.getValue());
|
public void actionPerformed(ActionEvent e) { JLabel label = new JLabel("Please enter a search string."); final JTextField input = new JTextField(lastSearch); input.setToolTipText("<html>Fulltext search.<ul>" + "<li><code>Baker Street</code> - 'Baker' and 'Street' in any key or name.</li>" + "<li><code>\"Baker Street\"</code> - 'Baker Street' in any key or name.</li>" + "<li><code>name:Bak</code> - 'Bak' anywhere in the name.</li>" + "<li><code>-name:Bak</code> - not 'Bak' in the name.</li>" + "<li><code>foot:</code> - key=foot set to any value." + "</ul></html>"); JRadioButton replace = new JRadioButton("replace selection", true); JRadioButton add = new JRadioButton("add to selection", false); JRadioButton remove = new JRadioButton("remove from selection", false); ButtonGroup bg = new ButtonGroup(); bg.add(replace); bg.add(add); bg.add(remove); JPanel p = new JPanel(new GridBagLayout()); p.add(label, GBC.eop()); p.add(input, GBC.eop().fill(GBC.HORIZONTAL)); p.add(replace, GBC.eol()); p.add(add, GBC.eol()); p.add(remove, GBC.eol()); JOptionPane pane = new JOptionPane(p, JOptionPane.INFORMATION_MESSAGE, JOptionPane.OK_CANCEL_OPTION, null){ @Override public void selectInitialValue() { input.requestFocusInWindow(); } }; pane.createDialog(Main.main, "Search").setVisible(true); System.out.println(pane.getValue()); if (!Integer.valueOf(JOptionPane.OK_OPTION).equals(pane.getValue())) return; lastSearch = input.getText(); SearchCompiler.Match matcher = SearchCompiler.compile(lastSearch); Collection<OsmPrimitive> sel = Main.ds.getSelected(); for (OsmPrimitive osm : Main.ds.allNonDeletedPrimitives()) { if (replace.isSelected()) { if (matcher.match(osm)) sel.add(osm); else sel.remove(osm); } else if (add.isSelected() && !osm.selected && matcher.match(osm)) sel.add(osm); else if (remove.isSelected() && osm.selected && matcher.match(osm)) sel.remove(osm); } Main.ds.setSelected(sel); }
|
2204 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2204/90fca29c5ba1f43123dd6c6157db3200bdf51f5b/SelectionListDialog.java/buggy/src/org/openstreetmap/josm/gui/dialogs/SelectionListDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
26100,
12,
1803,
1133,
425,
13,
288,
9506,
202,
46,
2224,
1433,
273,
394,
21403,
2932,
8496,
6103,
279,
1623,
533,
1199,
1769,
9506,
202,
6385,
804,
16157,
810,
273,
394,
804,
16157,
12,
2722,
2979,
1769,
9506,
202,
2630,
18,
542,
29250,
1528,
2932,
32,
2620,
34,
5080,
955,
1623,
22782,
332,
2984,
397,
25083,
202,
6,
32,
549,
4438,
710,
34,
38,
6388,
19828,
1757,
710,
34,
225,
300,
296,
38,
6388,
11,
471,
296,
30719,
11,
316,
1281,
498,
578,
508,
17347,
549,
2984,
397,
25083,
202,
6,
32,
549,
4438,
710,
34,
2412,
38,
6388,
19828,
2412,
1757,
710,
34,
225,
300,
296,
38,
6388,
19828,
11,
316,
1281,
498,
578,
508,
17347,
549,
2984,
397,
25083,
202,
6,
32,
549,
4438,
710,
34,
529,
30,
38,
581,
1757,
710,
34,
225,
300,
296,
38,
581,
11,
25651,
316,
326,
508,
17347,
549,
2984,
397,
25083,
202,
6,
32,
549,
4438,
710,
34,
17,
529,
30,
38,
581,
1757,
710,
34,
225,
300,
486,
296,
38,
581,
11,
316,
326,
508,
17347,
549,
2984,
397,
25083,
202,
6,
32,
549,
4438,
710,
34,
10923,
19814,
710,
34,
225,
300,
498,
33,
10923,
444,
358,
1281,
460,
1199,
397,
25083,
202,
6,
1757,
332,
4695,
2620,
2984,
1769,
9506,
202,
46,
19984,
3616,
1453,
273,
394,
804,
19984,
3616,
2932,
2079,
4421,
3113,
638,
1769,
9506,
202,
46,
19984,
3616,
527,
273,
394,
804,
19984,
3616,
2932,
1289,
358,
4421,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26100,
12,
1803,
1133,
425,
13,
288,
9506,
202,
46,
2224,
1433,
273,
394,
21403,
2932,
8496,
6103,
279,
1623,
533,
1199,
1769,
9506,
202,
6385,
804,
16157,
810,
273,
394,
804,
16157,
12,
2722,
2979,
1769,
9506,
202,
2630,
18,
542,
29250,
1528,
2932,
32,
2620,
34,
5080,
955,
1623,
22782,
332,
2984,
397,
25083,
202,
6,
32,
549,
4438,
710,
34,
38,
6388,
19828,
1757,
710,
34,
225,
300,
296,
38,
6388,
11,
471,
296,
30719,
11,
316,
1281,
498,
578,
508,
17347,
549,
2984,
397,
25083,
202,
6,
32,
549,
4438,
710,
34,
2412,
38,
6388,
19828,
2412,
1757,
710,
34,
225,
300,
296,
38,
6388,
19828,
11,
316,
1281,
498,
578,
2
] |
|
if (IfCmp.conforms(s)) { if (IfCmp.getTarget(s).similar(bTarget)) IfCmp.setTarget(s,(OPT_BranchOperand)copyTarget.copy()); } else if (IfCmp2.conforms(s)) { if (IfCmp2.getTarget1(s).similar(bTarget)) IfCmp2.setTarget1(s,(OPT_BranchOperand)copyTarget.copy()); if (IfCmp2.getTarget2(s).similar(bTarget)) IfCmp2.setTarget2(s,(OPT_BranchOperand)copyTarget.copy()); } else if (MethodIfCmp.conforms(s)) { if (MethodIfCmp.getTarget(s).similar(bTarget)) MethodIfCmp.setTarget(s,(OPT_BranchOperand)copyTarget.copy()); } else if (TypeIfCmp.conforms(s)) { if (TypeIfCmp.getTarget(s).similar(bTarget)) TypeIfCmp.setTarget(s,(OPT_BranchOperand)copyTarget.copy()); } else if (Goto.conforms(s)) { if (Goto.getTarget(s).similar(bTarget)) Goto.setTarget(s,(OPT_BranchOperand)copyTarget.copy()); } else if (TableSwitch.conforms(s)) { if (TableSwitch.getDefault(s).similar(bTarget)) TableSwitch.setDefault(s, (OPT_BranchOperand)copyTarget.copy()); for(int i = 0; i < TableSwitch.getNumberOfTargets(s); i++) if (TableSwitch.getTarget(s, i).similar(bTarget)) TableSwitch.setTarget(s,i,(OPT_BranchOperand)copyTarget.copy()); } else if (LowTableSwitch.conforms(s)) { for(int i = 0; i < LowTableSwitch.getNumberOfTargets(s); i++) if (LowTableSwitch.getTarget(s, i).similar(bTarget)) LowTableSwitch.setTarget(s,i,(OPT_BranchOperand)copyTarget.copy()); } else if (LookupSwitch.conforms(s)) { if (LookupSwitch.getDefault(s).similar(bTarget)) LookupSwitch.setDefault(s, (OPT_BranchOperand)copyTarget.copy()); for(int i = 0; i < LookupSwitch.getNumberOfTargets(s); i++) if (LookupSwitch.getTarget(s, i).similar(bTarget)) LookupSwitch.setTarget(s, i, (OPT_BranchOperand)copyTarget.copy()); }
|
s.replaceSimilarOperands(bTarget, copyTarget);
|
final void redirectOuts (OPT_BasicBlock b, OPT_BasicBlock bCopy, OPT_IR ir) { OPT_BranchOperand copyTarget = bCopy.makeJumpTarget(); OPT_BranchOperand bTarget = b.makeJumpTarget(); // 1. update the branch instructions in 'this' to point to bCopy for (OPT_InstructionEnumeration ie = enumerateBranchInstructions(); ie.hasMoreElements(); ) { OPT_Instruction s = ie.next(); if (IfCmp.conforms(s)) { if (IfCmp.getTarget(s).similar(bTarget)) IfCmp.setTarget(s,(OPT_BranchOperand)copyTarget.copy()); } else if (IfCmp2.conforms(s)) { if (IfCmp2.getTarget1(s).similar(bTarget)) IfCmp2.setTarget1(s,(OPT_BranchOperand)copyTarget.copy()); if (IfCmp2.getTarget2(s).similar(bTarget)) IfCmp2.setTarget2(s,(OPT_BranchOperand)copyTarget.copy()); } else if (MethodIfCmp.conforms(s)) { if (MethodIfCmp.getTarget(s).similar(bTarget)) MethodIfCmp.setTarget(s,(OPT_BranchOperand)copyTarget.copy()); } else if (TypeIfCmp.conforms(s)) { if (TypeIfCmp.getTarget(s).similar(bTarget)) TypeIfCmp.setTarget(s,(OPT_BranchOperand)copyTarget.copy()); } else if (Goto.conforms(s)) { if (Goto.getTarget(s).similar(bTarget)) Goto.setTarget(s,(OPT_BranchOperand)copyTarget.copy()); } else if (TableSwitch.conforms(s)) { if (TableSwitch.getDefault(s).similar(bTarget)) TableSwitch.setDefault(s, (OPT_BranchOperand)copyTarget.copy()); for(int i = 0; i < TableSwitch.getNumberOfTargets(s); i++) if (TableSwitch.getTarget(s, i).similar(bTarget)) TableSwitch.setTarget(s,i,(OPT_BranchOperand)copyTarget.copy()); } else if (LowTableSwitch.conforms(s)) { for(int i = 0; i < LowTableSwitch.getNumberOfTargets(s); i++) if (LowTableSwitch.getTarget(s, i).similar(bTarget)) LowTableSwitch.setTarget(s,i,(OPT_BranchOperand)copyTarget.copy()); } else if (LookupSwitch.conforms(s)) { if (LookupSwitch.getDefault(s).similar(bTarget)) LookupSwitch.setDefault(s, (OPT_BranchOperand)copyTarget.copy()); for(int i = 0; i < LookupSwitch.getNumberOfTargets(s); i++) if (LookupSwitch.getTarget(s, i).similar(bTarget)) LookupSwitch.setTarget(s, i, (OPT_BranchOperand)copyTarget.copy()); } } // 2. if this falls through to b, make it jump to bCopy if (getFallThroughBlock() == b) { OPT_Instruction g = Goto.create(GOTO, copyTarget); //no copy needed. appendInstruction(g); } // 3. recompute normal control flow edges. recomputeNormalOut(ir); }
|
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/571532039225f5bcd30eff2d381d97cce4e51fa7/OPT_BasicBlock.java/clean/rvm/src/vm/compilers/optimizing/ir/cfg/OPT_BasicBlock.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
918,
3136,
1182,
87,
261,
15620,
67,
8252,
1768,
324,
16,
16456,
67,
8252,
1768,
324,
2951,
16,
4697,
282,
16456,
67,
7937,
9482,
13,
288,
565,
16456,
67,
7108,
10265,
1610,
2326,
273,
324,
2951,
18,
6540,
26743,
2326,
5621,
565,
16456,
67,
7108,
10265,
324,
2326,
273,
324,
18,
6540,
26743,
2326,
5621,
565,
368,
404,
18,
1089,
326,
3803,
12509,
316,
296,
2211,
11,
358,
1634,
358,
324,
2951,
565,
364,
261,
15620,
67,
11983,
21847,
9228,
273,
4241,
7108,
26712,
5621,
202,
9228,
18,
5332,
7417,
3471,
5621,
262,
288,
1377,
16456,
67,
11983,
272,
273,
9228,
18,
4285,
5621,
1377,
309,
261,
2047,
31832,
18,
591,
9741,
12,
87,
3719,
288,
202,
430,
261,
2047,
31832,
18,
588,
2326,
12,
87,
2934,
22985,
12,
70,
2326,
3719,
202,
225,
971,
31832,
18,
542,
2326,
12,
87,
16,
12,
15620,
67,
7108,
10265,
13,
3530,
2326,
18,
3530,
10663,
1377,
289,
469,
309,
261,
2047,
31832,
22,
18,
591,
9741,
12,
87,
3719,
288,
202,
430,
261,
2047,
31832,
22,
18,
588,
2326,
21,
12,
87,
2934,
22985,
12,
70,
2326,
3719,
202,
225,
971,
31832,
22,
18,
542,
2326,
21,
12,
87,
16,
12,
15620,
67,
7108,
10265,
13,
3530,
2326,
18,
3530,
10663,
202,
430,
261,
2047,
31832,
22,
18,
588,
2326,
22,
12,
87,
2934,
22985,
12,
70,
2326,
3719,
202,
225,
971,
31832,
22,
18,
542,
2326,
22,
12,
87,
16,
12,
15620,
67,
7108,
10265,
13,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
918,
3136,
1182,
87,
261,
15620,
67,
8252,
1768,
324,
16,
16456,
67,
8252,
1768,
324,
2951,
16,
4697,
282,
16456,
67,
7937,
9482,
13,
288,
565,
16456,
67,
7108,
10265,
1610,
2326,
273,
324,
2951,
18,
6540,
26743,
2326,
5621,
565,
16456,
67,
7108,
10265,
324,
2326,
273,
324,
18,
6540,
26743,
2326,
5621,
565,
368,
404,
18,
1089,
326,
3803,
12509,
316,
296,
2211,
11,
358,
1634,
358,
324,
2951,
565,
364,
261,
15620,
67,
11983,
21847,
9228,
273,
4241,
7108,
26712,
5621,
202,
9228,
18,
5332,
7417,
3471,
5621,
262,
288,
1377,
16456,
67,
11983,
272,
273,
9228,
18,
4285,
5621,
1377,
309,
261,
2047,
31832,
18,
591,
9741,
12,
87,
3719,
288,
202,
2
] |
if (!isDragAcceptable(e))
|
if (!this.isDragAcceptable(e))
|
public void dropActionChanged(DropTargetDragEvent e) { if (!isDragAcceptable(e)) e.rejectDrag(); else e.acceptDrag(e.getDropAction()); }
|
47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/88402a3bc59123261d50a7cfed0ac20de2b772f6/JDragTree.java/clean/src/thaw/gui/JDragTree.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
1071,
918,
3640,
1803,
5033,
12,
7544,
2326,
11728,
1133,
425,
13,
1082,
288,
9506,
309,
16051,
291,
11728,
5933,
429,
12,
73,
3719,
6862,
425,
18,
24163,
11728,
5621,
9506,
469,
6862,
425,
18,
9436,
11728,
12,
73,
18,
588,
7544,
1803,
10663,
1082,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
1071,
918,
3640,
1803,
5033,
12,
7544,
2326,
11728,
1133,
425,
13,
1082,
288,
9506,
309,
16051,
291,
11728,
5933,
429,
12,
73,
3719,
6862,
425,
18,
24163,
11728,
5621,
9506,
469,
6862,
425,
18,
9436,
11728,
12,
73,
18,
588,
7544,
1803,
10663,
1082,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return codeClass;
|
return code / 100;
|
public int getCodeClass() { return codeClass; }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/91f4232dfb8a5dff7627558a11285391ca44ebfd/Response.java/buggy/core/src/classpath/gnu/gnu/java/net/protocol/http/Response.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
6583,
797,
1435,
225,
288,
565,
327,
981,
342,
2130,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
509,
6583,
797,
1435,
225,
288,
565,
327,
981,
342,
2130,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (jj_3_4()) { jj_scanpos = xsp; if (jj_3R_271()) { jj_scanpos = xsp; if (jj_3R_272()) { jj_scanpos = xsp; if (jj_3R_273()) { jj_scanpos = xsp; if (jj_3R_274()) return true; } } } }
|
if (jj_3R_271()) return true;
|
final private boolean jj_3R_265() { if (jj_3R_88()) return true; Token xsp; xsp = jj_scanpos; if (jj_3_3()) { jj_scanpos = xsp; if (jj_3_4()) { jj_scanpos = xsp; if (jj_3R_271()) { jj_scanpos = xsp; if (jj_3R_272()) { jj_scanpos = xsp; if (jj_3R_273()) { jj_scanpos = xsp; if (jj_3R_274()) return true; } } } } } return false; }
|
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/3afd4630754ba5d6642f3e8a1c9aa5162eff7e9f/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
30281,
1435,
288,
565,
309,
261,
78,
78,
67,
23,
54,
67,
5482,
10756,
327,
638,
31,
565,
3155,
619,
1752,
31,
565,
619,
1752,
273,
10684,
67,
9871,
917,
31,
565,
309,
261,
78,
78,
67,
23,
67,
23,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
67,
24,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
5324,
21,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
5324,
22,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
5324,
23,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
5324,
24,
10756,
327,
638,
31,
565,
289,
565,
289,
565,
289,
565,
289,
565,
289,
565,
327,
629,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
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,
3238,
1250,
10684,
67,
23,
54,
67,
30281,
1435,
288,
565,
309,
261,
78,
78,
67,
23,
54,
67,
5482,
10756,
327,
638,
31,
565,
3155,
619,
1752,
31,
565,
619,
1752,
273,
10684,
67,
9871,
917,
31,
565,
309,
261,
78,
78,
67,
23,
67,
23,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
67,
24,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
5324,
21,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
5324,
22,
10756,
288,
565,
10684,
67,
9871,
2
] |
Log.write(bytes.toLong()); Log.writeln(" bytes");
|
Log.write(bytes.toLong()); Log.writeln(" bytes");
|
Space(String name, boolean movable, boolean immortal, Address start, Extent bytes) { this.name = name; this.movable = movable; this.immortal = immortal; this.start = start; index = spaceCount++; spaces[index] = this; /* ensure requests are chunk aligned */ if (bytes.NE(chunkAlign(bytes, false))) { Log.write("Warning: "); Log.write(name); Log.write(" space request for "); Log.write(bytes.toLong()); Log.write(" bytes rounded up to "); bytes = chunkAlign(bytes, false); Log.write(bytes.toLong()); Log.writeln(" bytes"); Log.writeln("(requests should be Space.BYTES_IN_CHUNK aligned)"); } this.extent = bytes; Memory.setHeapRange(index, start, start.plus(bytes)); createDescriptor(false); Map.insert(start, extent, descriptor, this); if (DEBUG) { Log.write(name); Log.write(" "); Log.write(start); Log.write(" "); Log.write(start.plus(extent)); Log.write(" "); Log.writeln(bytes.toWord()); } }
|
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/30524c62fa391922d51289c03075f714c772951c/Space.java/buggy/MMTk/src/org/mmtk/policy/Space.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
14059,
12,
780,
508,
16,
1250,
5730,
429,
16,
1250,
709,
81,
499,
287,
16,
5267,
787,
16,
540,
6419,
319,
1731,
13,
288,
565,
333,
18,
529,
273,
508,
31,
565,
333,
18,
81,
1527,
429,
273,
5730,
429,
31,
565,
333,
18,
381,
81,
499,
287,
273,
709,
81,
499,
287,
31,
565,
333,
18,
1937,
273,
787,
31,
565,
770,
273,
3476,
1380,
9904,
31,
565,
7292,
63,
1615,
65,
273,
333,
31,
565,
1748,
3387,
3285,
854,
2441,
13939,
1195,
565,
309,
261,
3890,
18,
5407,
12,
6551,
10044,
12,
3890,
16,
629,
20349,
288,
1377,
1827,
18,
2626,
2932,
6210,
30,
315,
1769,
1377,
1827,
18,
2626,
12,
529,
1769,
1377,
1827,
18,
2626,
2932,
3476,
590,
364,
315,
1769,
1377,
1827,
18,
2626,
12,
3890,
18,
869,
3708,
10663,
1827,
18,
2626,
2932,
1731,
16729,
731,
358,
315,
1769,
1377,
1731,
273,
2441,
10044,
12,
3890,
16,
629,
1769,
1377,
1827,
18,
2626,
12,
3890,
18,
869,
3708,
10663,
1827,
18,
5363,
292,
82,
2932,
1731,
8863,
1377,
1827,
18,
5363,
292,
82,
2932,
12,
11420,
1410,
506,
14059,
18,
13718,
67,
706,
67,
26464,
13939,
2225,
1769,
565,
289,
565,
333,
18,
18181,
273,
1731,
31,
565,
9251,
18,
542,
15648,
2655,
12,
1615,
16,
787,
16,
787,
18,
10103,
12,
3890,
10019,
565,
752,
3187,
12,
5743,
1769,
565,
1635,
18,
6387,
12,
1937,
16,
11933,
16,
4950,
16,
333,
1769,
565,
309,
261,
9394,
13,
288,
1377,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14059,
12,
780,
508,
16,
1250,
5730,
429,
16,
1250,
709,
81,
499,
287,
16,
5267,
787,
16,
540,
6419,
319,
1731,
13,
288,
565,
333,
18,
529,
273,
508,
31,
565,
333,
18,
81,
1527,
429,
273,
5730,
429,
31,
565,
333,
18,
381,
81,
499,
287,
273,
709,
81,
499,
287,
31,
565,
333,
18,
1937,
273,
787,
31,
565,
770,
273,
3476,
1380,
9904,
31,
565,
7292,
63,
1615,
65,
273,
333,
31,
565,
1748,
3387,
3285,
854,
2441,
13939,
1195,
565,
309,
261,
3890,
18,
5407,
12,
6551,
10044,
12,
3890,
16,
629,
20349,
288,
1377,
1827,
18,
2626,
2932,
6210,
30,
315,
1769,
1377,
1827,
18,
2626,
12,
529,
1769,
1377,
1827,
18,
2
] |
return doubleCmpg(s);
|
result = doubleCmpg(s); break;
|
public static byte simplify(OPT_AbstractRegisterPool regpool, OPT_Instruction s) { switch (s.getOpcode()) { //////////////////// // GUARD operations //////////////////// case GUARD_COMBINE_opcode: return guardCombine(s); //////////////////// // TRAP operations //////////////////// case TRAP_IF_opcode: return trapIf(s); case NULL_CHECK_opcode: return nullCheck(s); case INT_ZERO_CHECK_opcode: return intZeroCheck(s); case LONG_ZERO_CHECK_opcode: return longZeroCheck(s); case CHECKCAST_opcode: return checkcast(regpool, s); case CHECKCAST_UNRESOLVED_opcode: return checkcast(regpool, s); case CHECKCAST_NOTNULL_opcode: return checkcastNotNull(s); case INSTANCEOF_opcode: return instanceOf(regpool, s); case INSTANCEOF_NOTNULL_opcode: return instanceOfNotNull(s); case OBJARRAY_STORE_CHECK_opcode: return objarrayStoreCheck(s); case OBJARRAY_STORE_CHECK_NOTNULL_opcode: return objarrayStoreCheckNotNull(s); case MUST_IMPLEMENT_INTERFACE_opcode: return mustImplementInterface(s); //////////////////// // Conditional moves //////////////////// case INT_COND_MOVE_opcode: return intCondMove(s); case LONG_COND_MOVE_opcode: return longCondMove(s); case FLOAT_COND_MOVE_opcode: return floatCondMove(s); case DOUBLE_COND_MOVE_opcode: return doubleCondMove(s); case REF_COND_MOVE_opcode: return refCondMove(s); case GUARD_COND_MOVE_opcode: return guardCondMove(s); //////////////////// // INT ALU operations //////////////////// case BOOLEAN_NOT_opcode: return booleanNot(s); case BOOLEAN_CMP_INT_opcode: return booleanCmpInt(s); case BOOLEAN_CMP_ADDR_opcode: return booleanCmpAddr(s); case INT_ADD_opcode: return intAdd(s); case INT_AND_opcode: return intAnd(s); case INT_DIV_opcode: return intDiv(s); case INT_MUL_opcode: return intMul(regpool, s); case INT_NEG_opcode: return intNeg(s); case INT_NOT_opcode: return intNot(s); case INT_OR_opcode: return intOr(s); case INT_REM_opcode: return intRem(s); case INT_SHL_opcode: return intShl(s); case INT_SHR_opcode: return intShr(s); case INT_SUB_opcode: return intSub(s); case INT_USHR_opcode: return intUshr(s); case INT_XOR_opcode: return intXor(s); //////////////////// // WORD ALU operations //////////////////// case REF_ADD_opcode: return refAdd(s); case REF_AND_opcode: return refAnd(s); case REF_SHL_opcode: return refShl(s); case REF_SHR_opcode: return refShr(s); case REF_NOT_opcode: return refNot(s); case REF_OR_opcode: return refOr(s); case REF_SUB_opcode: return refSub(s); case REF_USHR_opcode: return regUshr(s); case REF_XOR_opcode: return refXor(s); //////////////////// // LONG ALU operations //////////////////// case LONG_ADD_opcode: return longAdd(s); case LONG_AND_opcode: return longAnd(s); case LONG_CMP_opcode: return longCmp(s); case LONG_DIV_opcode: return longDiv(s); case LONG_MUL_opcode: return longMul(s); case LONG_NEG_opcode: return longNeg(s); case LONG_NOT_opcode: return longNot(s); case LONG_OR_opcode: return longOr(s); case LONG_REM_opcode: return longRem(s); case LONG_SHL_opcode: return longShl(s); case LONG_SHR_opcode: return longShr(s); case LONG_SUB_opcode: return longSub(s); case LONG_USHR_opcode: return longUshr(s); case LONG_XOR_opcode: return longXor(s); //////////////////// // FLOAT ALU operations //////////////////// case FLOAT_ADD_opcode: return floatAdd(s); case FLOAT_CMPG_opcode: return floatCmpg(s); case FLOAT_CMPL_opcode: return floatCmpl(s); case FLOAT_DIV_opcode: return floatDiv(s); case FLOAT_MUL_opcode: return floatMul(s); case FLOAT_NEG_opcode: return floatNeg(s); case FLOAT_REM_opcode: return floatRem(s); case FLOAT_SUB_opcode: return floatSub(s); //////////////////// // DOUBLE ALU operations //////////////////// case DOUBLE_ADD_opcode: return doubleAdd(s); case DOUBLE_CMPG_opcode: return doubleCmpg(s); case DOUBLE_CMPL_opcode: return doubleCmpl(s); case DOUBLE_DIV_opcode: return doubleDiv(s); case DOUBLE_MUL_opcode: return doubleMul(s); case DOUBLE_NEG_opcode: return doubleNeg(s); case DOUBLE_REM_opcode: return doubleRem(s); case DOUBLE_SUB_opcode: return doubleSub(s); //////////////////// // CONVERSION operations //////////////////// case DOUBLE_2FLOAT_opcode: return double2Float(s); case DOUBLE_2INT_opcode: return double2Int(s); case DOUBLE_2LONG_opcode: return double2Long(s); case DOUBLE_AS_LONG_BITS_opcode: return doubleAsLongBits(s); case INT_2DOUBLE_opcode: return int2Double(s); case INT_2BYTE_opcode: return int2Byte(s); case INT_2USHORT_opcode: return int2UShort(s); case INT_2FLOAT_opcode: return int2Float(s); case INT_2LONG_opcode: return int2Long(s); case INT_2ADDRSigExt_opcode: return int2AddrSigExt(s); case INT_2ADDRZerExt_opcode: return int2AddrZerExt(s); //-#if RVM_FOR_64_ADDR case LONG_2ADDR_opcode: return long2Addr(s); //-#endif case INT_2SHORT_opcode: return int2Short(s); case INT_BITS_AS_FLOAT_opcode: return intBitsAsFloat(s); case ADDR_2INT_opcode: return addr2Int(s); case ADDR_2LONG_opcode: return addr2Long(s); case FLOAT_2DOUBLE_opcode: return float2Double(s); case FLOAT_2INT_opcode: return float2Int(s); case FLOAT_2LONG_opcode: return float2Long(s); case FLOAT_AS_INT_BITS_opcode: return floatAsIntBits(s); case LONG_2FLOAT_opcode: return long2Float(s); case LONG_2INT_opcode: return long2Int(s); case LONG_2DOUBLE_opcode: return long2Double(s); case LONG_BITS_AS_DOUBLE_opcode: return longBitsAsDouble(s); //////////////////// // Field operations //////////////////// case ARRAYLENGTH_opcode: return arrayLength(s); case BOUNDS_CHECK_opcode: return boundsCheck(s); case CALL_opcode: return call(s); case GETFIELD_opcode: return getField(s); case GET_OBJ_TIB_opcode: return getObjTib(s); case GET_CLASS_TIB_opcode: return getClassTib(s); case GET_TYPE_FROM_TIB_opcode: return getTypeFromTib(s); case GET_ARRAY_ELEMENT_TIB_FROM_TIB_opcode: return getArrayElementTibFromTib(s); case GET_SUPERCLASS_IDS_FROM_TIB_opcode: return getSuperclassIdsFromTib(s); case GET_DOES_IMPLEMENT_FROM_TIB_opcode: return getDoesImplementFromTib(s); case REF_LOAD_opcode: return refLoad(s); default: return UNCHANGED; } }
|
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/4f52a59569c48e68010a63e605ee6691083a9e97/OPT_Simplifier.java/buggy/rvm/src/com/ibm/jikesrvm/opt/OPT_Simplifier.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
1160,
16499,
12,
15620,
67,
7469,
3996,
2864,
960,
6011,
16,
16456,
67,
11983,
272,
13,
288,
565,
1620,
261,
87,
18,
588,
22808,
10756,
288,
1377,
368,
3517,
759,
1377,
368,
611,
57,
8085,
5295,
1377,
368,
3517,
759,
565,
648,
611,
57,
8085,
67,
4208,
38,
3740,
67,
556,
710,
30,
1377,
327,
11026,
21720,
12,
87,
1769,
1377,
368,
3517,
759,
1377,
368,
4235,
2203,
5295,
1377,
368,
3517,
759,
565,
648,
4235,
2203,
67,
5501,
67,
556,
710,
30,
1377,
327,
23034,
2047,
12,
87,
1769,
565,
648,
3206,
67,
10687,
67,
556,
710,
30,
1377,
327,
446,
1564,
12,
87,
1769,
565,
648,
6137,
67,
24968,
67,
10687,
67,
556,
710,
30,
1377,
327,
509,
7170,
1564,
12,
87,
1769,
565,
648,
14011,
67,
24968,
67,
10687,
67,
556,
710,
30,
1377,
327,
1525,
7170,
1564,
12,
87,
1769,
565,
648,
14565,
21871,
67,
556,
710,
30,
1377,
327,
866,
4155,
12,
1574,
6011,
16,
272,
1769,
565,
648,
14565,
21871,
67,
2124,
17978,
12135,
67,
556,
710,
30,
1377,
327,
866,
4155,
12,
1574,
6011,
16,
272,
1769,
565,
648,
14565,
21871,
67,
4400,
8560,
67,
556,
710,
30,
1377,
327,
866,
4155,
5962,
12,
87,
1769,
565,
648,
6937,
3932,
67,
556,
710,
30,
1377,
327,
28397,
12,
1574,
6011,
16,
272,
1769,
565,
648,
6937,
3932,
67,
4400,
8560,
67,
556,
710,
30,
1377,
327,
28397,
5962,
12,
87,
1769,
565,
648,
9730,
46,
8552,
67,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1160,
16499,
12,
15620,
67,
7469,
3996,
2864,
960,
6011,
16,
16456,
67,
11983,
272,
13,
288,
565,
1620,
261,
87,
18,
588,
22808,
10756,
288,
1377,
368,
3517,
759,
1377,
368,
611,
57,
8085,
5295,
1377,
368,
3517,
759,
565,
648,
611,
57,
8085,
67,
4208,
38,
3740,
67,
556,
710,
30,
1377,
327,
11026,
21720,
12,
87,
1769,
1377,
368,
3517,
759,
1377,
368,
4235,
2203,
5295,
1377,
368,
3517,
759,
565,
648,
4235,
2203,
67,
5501,
67,
556,
710,
30,
1377,
327,
23034,
2047,
12,
87,
1769,
565,
648,
3206,
67,
10687,
67,
556,
710,
30,
1377,
327,
446,
1564,
12,
87,
1769,
565,
648,
6137,
67,
24968,
67,
10687,
67,
556,
710,
2
] |
DateTime start = getStartDate();
|
LocalDateTime start = getStartDate();
|
public String execute() { ICalEvent event = (ICalEvent) getEvent(); if (event == null) { User user = getRemoteUser(); if (user != null) setOrganizerName(user.getName()); DateTime start = getStartDate(); if (start == null) start = (new DateMidnight()).toDateTime(); setStartDate(start); setEndDate(start.plus(Period.hours(1))); } else { setEventSummary(event.getSummary()); setEventLocation(event.getLocation()); setEventDescription(event.getDescription()); if (event.getOrganizer() != null) setOrganizerName(event.getOrganizer().getName()); else setOrganizerName(null); setAllDay(event.isAllDay()); setStartDate(event.getStartDate()); DateTime endDate = event.getEndDate(); if (endDate != null && isAllDay()) // subtract a day from the end date endDate = endDate.minus(Period.days(1)); setEndDate(endDate); String confLink = event.getStringProperty(CONF_LINK, null); if (confLink == null) { URI url = event.getUrl(); if (url != null) confLink = url.getPath(); } setLink(confLink); } return INPUT; }
|
18469 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/18469/03bf0462052e16faf8bdc800ea80217bb2752cfb/AbstractICalEventAction.java/clean/src/java/com/atlassian/confluence/extra/calendar/ical/action/AbstractICalEventAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1836,
1435,
565,
288,
3639,
467,
3005,
1133,
871,
273,
261,
2871,
287,
1133,
13,
9832,
5621,
3639,
309,
261,
2575,
422,
446,
13,
3639,
288,
5411,
2177,
729,
273,
14879,
1299,
5621,
5411,
309,
261,
1355,
480,
446,
13,
7734,
444,
6001,
304,
1824,
461,
12,
1355,
18,
17994,
10663,
5411,
21678,
787,
273,
8635,
1626,
5621,
5411,
309,
261,
1937,
422,
446,
13,
7734,
787,
273,
261,
2704,
2167,
20711,
18840,
1435,
2934,
869,
5096,
5621,
5411,
18171,
1626,
12,
1937,
1769,
5411,
19743,
1626,
12,
1937,
18,
10103,
12,
5027,
18,
16814,
12,
21,
3719,
1769,
3639,
289,
3639,
469,
3639,
288,
5411,
31042,
4733,
12,
2575,
18,
588,
4733,
10663,
5411,
31042,
2735,
12,
2575,
18,
588,
2735,
10663,
5411,
31042,
3291,
12,
2575,
18,
588,
3291,
10663,
5411,
309,
261,
2575,
18,
588,
6001,
304,
1824,
1435,
480,
446,
13,
7734,
444,
6001,
304,
1824,
461,
12,
2575,
18,
588,
6001,
304,
1824,
7675,
17994,
10663,
5411,
469,
7734,
444,
6001,
304,
1824,
461,
12,
2011,
1769,
5411,
30213,
4245,
12,
2575,
18,
291,
1595,
4245,
10663,
5411,
18171,
1626,
12,
2575,
18,
588,
22635,
10663,
5411,
3716,
13202,
273,
871,
18,
588,
24640,
5621,
5411,
309,
261,
409,
1626,
480,
446,
597,
353,
1595,
4245,
10756,
368,
10418,
279,
2548,
628,
326,
679,
1509,
7734,
13202,
273,
13202,
18,
19601,
12,
5027,
18,
9810,
12,
21,
10019,
5411,
19743,
1626,
12,
409,
1626,
1769,
5411,
514,
2195,
2098,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1836,
1435,
565,
288,
3639,
467,
3005,
1133,
871,
273,
261,
2871,
287,
1133,
13,
9832,
5621,
3639,
309,
261,
2575,
422,
446,
13,
3639,
288,
5411,
2177,
729,
273,
14879,
1299,
5621,
5411,
309,
261,
1355,
480,
446,
13,
7734,
444,
6001,
304,
1824,
461,
12,
1355,
18,
17994,
10663,
5411,
21678,
787,
273,
8635,
1626,
5621,
5411,
309,
261,
1937,
422,
446,
13,
7734,
787,
273,
261,
2704,
2167,
20711,
18840,
1435,
2934,
869,
5096,
5621,
5411,
18171,
1626,
12,
1937,
1769,
5411,
19743,
1626,
12,
1937,
18,
10103,
12,
5027,
18,
16814,
12,
21,
3719,
1769,
3639,
289,
3639,
469,
3639,
288,
5411,
31042,
4733,
12,
2575,
18,
588,
4733,
10663,
5411,
31042,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.