rem
stringlengths 1
53.3k
| add
stringlengths 0
80.5k
| context
stringlengths 6
326k
| meta
stringlengths 141
403
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
GL11.glMatrixMode( GL11.GL_PROJECTION );
|
public static void matrixProjection( float fovY, float aspect, float near, float far, Matrix4f result ) { float h = FastMath.tan( fovY * FastMath.DEG_TO_RAD ) * near * .5f; float w = h * aspect; float frustumLeft = -w; float frustumRight = w; float frustumBottom = -h; float frustumTop = h; float frustumNear = near; float frustumFar = far; GL11.glPushMatrix(); GL11.glMatrixMode( GL11.GL_PROJECTION ); GL11.glLoadIdentity(); GL11.glFrustum( frustumLeft, frustumRight, frustumBottom, frustumTop, frustumNear, frustumFar ); if( result != null ) { tmp_FloatBuffer.rewind(); GL11.glGetFloat( GL11.GL_PROJECTION_MATRIX, tmp_FloatBuffer ); tmp_FloatBuffer.rewind(); result.readFloatBuffer( tmp_FloatBuffer ); } GL11.glPopMatrix(); }
|
19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/6d371fe14e8bb2fc647303697a01ca6b6dd4ab19/ProjectedTextureUtil.java/clean/src/com/jmex/effects/ProjectedTextureUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
3148,
14789,
12,
1431,
284,
1527,
61,
16,
1431,
9648,
16,
1431,
13378,
16,
1431,
10247,
16,
7298,
24,
74,
563,
262,
288,
202,
202,
5659,
366,
273,
26915,
18,
88,
304,
12,
284,
1527,
61,
380,
26915,
18,
1639,
43,
67,
4296,
67,
28829,
262,
380,
13378,
380,
263,
25,
74,
31,
202,
202,
5659,
341,
273,
366,
380,
9648,
31,
202,
202,
5659,
3812,
31801,
3910,
273,
300,
91,
31,
202,
202,
5659,
3812,
31801,
4726,
273,
341,
31,
202,
202,
5659,
3812,
31801,
10393,
273,
300,
76,
31,
202,
202,
5659,
3812,
31801,
3401,
273,
366,
31,
202,
202,
5659,
3812,
31801,
24686,
273,
13378,
31,
202,
202,
5659,
3812,
31801,
17393,
273,
10247,
31,
202,
202,
11261,
2499,
18,
7043,
7621,
4635,
5621,
202,
202,
11261,
2499,
18,
7043,
4635,
2309,
12,
10252,
2499,
18,
11261,
67,
3373,
30781,
3106,
11272,
202,
202,
11261,
2499,
18,
7043,
2563,
4334,
5621,
202,
202,
11261,
2499,
18,
7043,
7167,
31801,
12,
9506,
202,
4840,
31801,
3910,
16,
9506,
202,
4840,
31801,
4726,
16,
9506,
202,
4840,
31801,
10393,
16,
9506,
202,
4840,
31801,
3401,
16,
9506,
202,
4840,
31801,
24686,
16,
9506,
202,
4840,
31801,
17393,
11272,
202,
202,
430,
12,
563,
480,
446,
262,
288,
1082,
202,
5645,
67,
4723,
1892,
18,
266,
10094,
5621,
1082,
202,
11261,
2499,
18,
7043,
967,
4723,
12,
10252,
2499,
18,
11261,
67,
3373,
30781,
3106,
67,
29107,
16,
1853,
67,
4723,
1892,
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,
918,
3148,
14789,
12,
1431,
284,
1527,
61,
16,
1431,
9648,
16,
1431,
13378,
16,
1431,
10247,
16,
7298,
24,
74,
563,
262,
288,
202,
202,
5659,
366,
273,
26915,
18,
88,
304,
12,
284,
1527,
61,
380,
26915,
18,
1639,
43,
67,
4296,
67,
28829,
262,
380,
13378,
380,
263,
25,
74,
31,
202,
202,
5659,
341,
273,
366,
380,
9648,
31,
202,
202,
5659,
3812,
31801,
3910,
273,
300,
91,
31,
202,
202,
5659,
3812,
31801,
4726,
273,
341,
31,
202,
202,
5659,
3812,
31801,
10393,
273,
300,
76,
31,
202,
202,
5659,
3812,
31801,
3401,
273,
366,
31,
202,
202,
5659,
3812,
31801,
24686,
273,
13378,
31,
202,
202,
5659,
3812,
31801,
2
] |
|
if(((BinaryType)type).getSourceMapper() != null) { this.completionEngine.typeCache.put(tName, type); } else { this.completionEngine.typeCache.put(tName, NO_ATTACHED_SOURCE); type = null; }
|
this.completionEngine.typeCache.put(tName, type);
|
protected char[][] findMethodParameterNames(char[] declaringTypePackageName, char[] declaringTypeName, char[] selector, char[][] paramTypeNames){ if(paramTypeNames == null || declaringTypeName == null) return null; char[][] parameterNames = null; int length = paramTypeNames.length; char[] tName = CharOperation.concat(declaringTypePackageName,declaringTypeName,'.'); Object cachedType = this.completionEngine.typeCache.get(tName); IType type = null; if(cachedType != null) { if(cachedType != NO_ATTACHED_SOURCE && cachedType instanceof BinaryType) { type = (BinaryType)cachedType; } } else { // TODO (david) shouldn't it be NameLookup.ACCEPT_ALL ? type = this.nameLookup.findType(new String(tName), false, NameLookup.ACCEPT_CLASSES & NameLookup.ACCEPT_INTERFACES); if(type instanceof BinaryType){ if(((BinaryType)type).getSourceMapper() != null) { this.completionEngine.typeCache.put(tName, type); } else { this.completionEngine.typeCache.put(tName, NO_ATTACHED_SOURCE); type = null; } } else { type = null; } } if(type != null) { String[] args = new String[length]; for(int i = 0; i< length ; i++){ args[i] = new String(paramTypeNames[i]); } IMethod method = type.getMethod(new String(selector),args); try{ parameterNames = new char[length][]; String[] params = method.getParameterNames(); for(int i = 0; i< length ; i++){ parameterNames[i] = params[i].toCharArray(); } } catch(JavaModelException e){ parameterNames = null; } } // default parameters name if(parameterNames == null) { parameterNames = createDefaultParameterNames(length); } return parameterNames; }
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/843eb33de3eeb0d3402922c95bccf061ee86bb41/InternalCompletionProposal.java/clean/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/InternalCompletionProposal.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1149,
63,
6362,
65,
1104,
1305,
1662,
1557,
12,
3001,
8526,
20845,
559,
18308,
16,
1149,
8526,
20845,
7947,
16,
1149,
8526,
3451,
16,
1149,
63,
6362,
65,
20781,
1557,
15329,
202,
202,
430,
12,
891,
559,
1557,
422,
446,
747,
20845,
7947,
422,
446,
13,
327,
446,
31,
9506,
202,
3001,
63,
6362,
65,
1569,
1557,
273,
446,
31,
202,
202,
474,
769,
273,
20781,
1557,
18,
2469,
31,
9506,
202,
3001,
8526,
268,
461,
273,
3703,
2988,
18,
16426,
12,
8840,
5968,
559,
18308,
16,
8840,
5968,
7947,
11189,
1093,
1769,
202,
202,
921,
3472,
559,
273,
333,
18,
11469,
4410,
18,
723,
1649,
18,
588,
12,
88,
461,
1769,
9506,
202,
45,
559,
618,
273,
446,
31,
202,
202,
430,
12,
7097,
559,
480,
446,
13,
288,
1082,
202,
430,
12,
7097,
559,
480,
3741,
67,
789,
9833,
15023,
67,
6537,
597,
3472,
559,
1276,
7896,
559,
13,
288,
9506,
202,
723,
273,
261,
5905,
559,
13,
7097,
559,
31,
1082,
202,
97,
202,
202,
97,
469,
288,
1875,
202,
759,
2660,
261,
20752,
350,
13,
12044,
1404,
518,
506,
1770,
6609,
18,
21417,
67,
4685,
692,
1082,
202,
723,
273,
333,
18,
529,
6609,
18,
4720,
559,
12,
2704,
514,
12,
88,
461,
3631,
629,
16,
1770,
6609,
18,
21417,
67,
27337,
473,
1770,
6609,
18,
21417,
67,
18865,
55,
1769,
1082,
202,
430,
12,
723,
1276,
7896,
559,
15329,
9506,
202,
430,
12443,
12,
5905,
559,
13,
723,
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,
225,
202,
1117,
1149,
63,
6362,
65,
1104,
1305,
1662,
1557,
12,
3001,
8526,
20845,
559,
18308,
16,
1149,
8526,
20845,
7947,
16,
1149,
8526,
3451,
16,
1149,
63,
6362,
65,
20781,
1557,
15329,
202,
202,
430,
12,
891,
559,
1557,
422,
446,
747,
20845,
7947,
422,
446,
13,
327,
446,
31,
9506,
202,
3001,
63,
6362,
65,
1569,
1557,
273,
446,
31,
202,
202,
474,
769,
273,
20781,
1557,
18,
2469,
31,
9506,
202,
3001,
8526,
268,
461,
273,
3703,
2988,
18,
16426,
12,
8840,
5968,
559,
18308,
16,
8840,
5968,
7947,
11189,
1093,
1769,
202,
202,
921,
3472,
559,
273,
333,
18,
11469,
4410,
18,
723,
1649,
18,
588,
12,
88,
461,
1769,
9506,
202,
45,
559,
2
] |
public synchronized Log getInstance(Class clazz) throws LogConfigurationException { return getInstance(clazz.getName());
|
public Log getInstance(Class clazz) throws LogConfigurationException { synchronized (factoryLock) { return getInstance(clazz.getName()); }
|
public synchronized Log getInstance(Class clazz) throws LogConfigurationException { return getInstance(clazz.getName()); }
|
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/e90b32a0891ddf7c2ac4acfbc2d809761f8c0244/GeronimoLogFactory.java/buggy/modules/kernel/src/java/org/apache/geronimo/kernel/log/GeronimoLogFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
1827,
3694,
12,
797,
4003,
13,
1216,
1827,
10737,
288,
3639,
327,
3694,
12,
830,
3638,
18,
17994,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3852,
1827,
3694,
12,
797,
4003,
13,
1216,
1827,
10737,
288,
3639,
327,
3694,
12,
830,
3638,
18,
17994,
10663,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return containerManaged;
|
return !NOT_CONTAINER_MANAGED.equalsIgnoreCase(container);
|
public boolean isContainerManaged() { return containerManaged; }
|
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/97b5eb275b98c3c163caff0b0ef0d37760b64be6/ImmutableMuleDescriptor.java/buggy/mule/src/java/org/mule/impl/ImmutableMuleDescriptor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
353,
2170,
10055,
1435,
565,
288,
3639,
327,
401,
4400,
67,
21395,
67,
9560,
29693,
18,
14963,
5556,
12,
3782,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
353,
2170,
10055,
1435,
565,
288,
3639,
327,
401,
4400,
67,
21395,
67,
9560,
29693,
18,
14963,
5556,
12,
3782,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
p.print("int main() {\n");
|
p.print("int main(int argc, char** argv) {\n");
|
public void visitFilter(SIRFilter self, SIRFilterIter iter) { // System.out.println(self.getName()); //Entry point of the visitor //do not print the raw header if compiling //for uniprocessor if (!KjcOptions.standalone) p.print("#include <raw.h>\n"); p.print("#include <stdlib.h>\n"); p.print("#include <math.h>\n\n"); //if we are number gathering and this is the sink, generate the dummy //vars for the assignment of the print expression. if (KjcOptions.numbers > 0) { p.print("volatile int dummyInt;\n"); p.print("volatile float dummyFloat;\n"); } if (KjcOptions.altcodegen && !KjcOptions.decoupled){ p.print(getNetRegsDecls()); //print("unsigned " + DYNMSGHEADER + ";\n"); } if (KjcOptions.decoupled) { p.print("volatile float " + Util.CSTOFPVAR + ";\n"); p.print("volatile float " + Util.CSTIFPVAR + ";\n"); p.print("volatile int " + Util.CSTOINTVAR + ";\n"); p.print("volatile int " + Util.CSTIINTVAR + ";\n"); p.print("volatile float " + Util.CGNOFPVAR + ";\n"); p.print("volatile float " + Util.CGNIFPVAR + ";\n"); p.print("volatile int " + Util.CGNOINTVAR + ";\n"); p.print("volatile int " + Util.CGNIINTVAR + ";\n"); } if (SpaceDynamicBackend.FILTER_DEBUG_MODE) { p.print("void static_send_print("); if (self.getOutputType() == CStdType.Void) p.print("int f) {\n"); else p.print(self.getOutputType() + " f) {\n"); if (self.getOutputType().isFloatingPoint()) p.print("print_float(f);\n"); else p.print("print_int(f);\n"); p.print("static_send(f);\n"); p.print("}\n\n"); } p.print("#include \"structs.h\"\n"); //print the extern for the function to init the //switch, do not do this if we are compiling for //a uniprocessor if (!KjcOptions.standalone) { p.print("void raw_init();\n"); p.print("void raw_init2();\n"); } //not used any more //print("unsigned int " + FLOAT_HEADER_WORD + ";\n"); //print("unsigned int " + INT_HEADER_WORD + ";\n"); //Visit fields declared in the filter class JFieldDeclaration[] fields = self.getFields(); for (int i = 0; i < fields.length; i++) fields[i].accept(this); //visit methods of filter, print the declaration first setDeclOnly(true); JMethodDeclaration[] methods = self.getMethods(); for (int i =0; i < methods.length; i++) methods[i].accept(this); //now print the functions with body setDeclOnly(false); for (int i =0; i < methods.length; i++) { methods[i].accept(this); } //if we are generating raw code print the begin //method for the simulator if (!KjcOptions.standalone) { p.print("void begin(void) {\n"); } else { //otherwise print a normal main() p.print("int main() {\n"); } //for the first filter/tile we encounter we are going to //create a magic instruction that tells the number-gathering //stuff that everything is done snake booting, so if this is true if (!gen_magc_done_boot && KjcOptions.numbers > 0) { gen_magc_done_boot = true; p.print(" __asm__ volatile (\"magc $0, $0, 5\");\n"); } //not used at this time //print(FLOAT_HEADER_WORD + //" = construct_dyn_hdr(3, 1, 0, 0, 0, 3, 0);\n"); //print(INT_HEADER_WORD + //" = construct_dyn_hdr(3, 1, 1, 0, 0, 3, 0);\n"); //if we are using the dynamic network create the dynamic network //header to be used for all outgoing messages if (dynamicOutput) { FlatNode downstream = ssg.getStreamGraph().getParentSSG(flatNode).getNext(flatNode); if (downstream != null) { int size = Util.getTypeSize(ssg.getOutputType(flatNode)); assert size < 31 : "Type size too large to fit in single dynamic network packet"; /*System.out.println(flatNode + " " + layout.getTile(flatNode) + " dynamically sends to + " + downstream + " " + layout.getTile(downstream) + ", size = " + size); */ p.print(" " + DYNMSGHEADER + " = construct_dyn_hdr(0, " + size + ", 0, " + (layout.getTile(self)).getY() + ", " + (layout.getTile(self)).getX() + ", " + (layout.getTile(downstream)).getY() + "," + (layout.getTile(downstream)).getX() + ");\n"); } } //if we are using the magic network, //use a magic instruction to initialize the magic fifos if (KjcOptions.magic_net) p.print(" __asm__ volatile (\"magc $0, $0, 1\");\n"); //initialize the dummy network receive value if (KjcOptions.decoupled) { if (self.getInputType().isFloatingPoint()) p.print(" " + Util.CSTIFPVAR + " = 1.0;\n"); else p.print(" " + Util.CSTIINTVAR + " = 1;\n"); } //call the raw_init() function for the static network //only if we are not using a uniprocessor or the //magic network if (!(KjcOptions.standalone || KjcOptions.magic_net || KjcOptions.decoupled || IMEMEstimation.TESTING_IMEM)) { p.print(" raw_init();\n"); p.print(" raw_init2();\n"); } //execute the raw main function p.print(RawExecutionCode.rawMain + "();\n"); //return 0 if we are generating normal c code if (KjcOptions.standalone) p.print(" return 0;\n"); p.print("}\n"); createFile(); }
|
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/dd914c557f787cd0caa9ece1eed33102c36059e3/FlatIRToC.java/clean/streams/src/at/dms/kjc/spacedynamic/FlatIRToC.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
1586,
12,
2320,
54,
1586,
365,
16,
18701,
5705,
54,
1586,
2360,
1400,
13,
288,
3639,
368,
4202,
2332,
18,
659,
18,
8222,
12,
2890,
18,
17994,
10663,
7734,
368,
1622,
1634,
434,
326,
8000,
3639,
368,
2896,
486,
1172,
326,
1831,
1446,
309,
1161,
4973,
3639,
368,
1884,
640,
625,
16127,
280,
3639,
309,
16051,
47,
78,
71,
1320,
18,
10145,
12451,
13,
2398,
293,
18,
1188,
2932,
7,
6702,
411,
1899,
18,
76,
5333,
82,
8863,
3639,
293,
18,
1188,
2932,
7,
6702,
411,
5084,
2941,
18,
76,
5333,
82,
8863,
3639,
293,
18,
1188,
2932,
7,
6702,
411,
15949,
18,
76,
5333,
82,
64,
82,
8863,
3639,
368,
430,
732,
854,
1300,
11090,
310,
471,
333,
353,
326,
9049,
16,
2103,
326,
9609,
3639,
368,
4699,
364,
326,
6661,
434,
326,
1172,
2652,
18,
3639,
309,
261,
47,
78,
71,
1320,
18,
13851,
405,
374,
13,
288,
5411,
293,
18,
1188,
2932,
15416,
20295,
509,
9609,
1702,
9747,
82,
8863,
5411,
293,
18,
1188,
2932,
15416,
20295,
1431,
9609,
4723,
9747,
82,
8863,
3639,
289,
7734,
309,
261,
47,
78,
71,
1320,
18,
2390,
710,
4507,
597,
401,
47,
78,
71,
1320,
18,
323,
2894,
416,
1259,
15329,
5411,
293,
18,
1188,
12,
588,
7308,
426,
564,
1799,
3251,
10663,
5411,
368,
1188,
2932,
22297,
315,
397,
463,
17317,
11210,
7557,
397,
30750,
82,
8863,
3639,
289,
18701,
309,
261,
47,
78,
71,
1320,
18,
323,
2894,
416,
1259,
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,
377,
1071,
918,
3757,
1586,
12,
2320,
54,
1586,
365,
16,
18701,
5705,
54,
1586,
2360,
1400,
13,
288,
3639,
368,
4202,
2332,
18,
659,
18,
8222,
12,
2890,
18,
17994,
10663,
7734,
368,
1622,
1634,
434,
326,
8000,
3639,
368,
2896,
486,
1172,
326,
1831,
1446,
309,
1161,
4973,
3639,
368,
1884,
640,
625,
16127,
280,
3639,
309,
16051,
47,
78,
71,
1320,
18,
10145,
12451,
13,
2398,
293,
18,
1188,
2932,
7,
6702,
411,
1899,
18,
76,
5333,
82,
8863,
3639,
293,
18,
1188,
2932,
7,
6702,
411,
5084,
2941,
18,
76,
5333,
82,
8863,
3639,
293,
18,
1188,
2932,
7,
6702,
411,
15949,
18,
76,
5333,
82,
64,
82,
8863,
3639,
368,
430,
732,
854,
1300,
2
] |
public void layout(boolean flushCache) { boolean showButtons = true; Point minSize = computeMinimumSize(); Rectangle bounds = tabFolder.getBounds();// if (bounds.width - minSize.x < 1233) {// showButtons = false; // } tabFolder.setMinimizeVisible(showButtons && minimizeVisible); tabFolder.setMaximizeVisible(showButtons && maximizeVisible); // Flush the cached sizes if necessary if (flushCache) { topLeftCache.flush(); topRightCache.flush(); topCenterCache.flush(); } // HACK: Force the tab folder to do a layout, since it doesn't always // resize its title area each time setBounds is called. if (!(useTopRightOptimization && (topRightResized || lastWidth == getControl() .getBounds().width))) { // If we can't use the optimization, then we need to force a layout of the tab folder tabFolder.setTopRight(titleAreaProxy, SWT.FILL); } useTopRightOptimization = false; // END OF HACK Rectangle titleArea = DragUtil.getDisplayBounds(titleAreaProxy); Point topRightSize = topRightCache .computeSize(SWT.DEFAULT, SWT.DEFAULT); Point topCenterSize = topCenterCache.computeSize(SWT.DEFAULT, SWT.DEFAULT); // Determine if there is enough room for the trim in the title area int requiredWidth = topRightSize.x + topCenterSize.x; int requiredHeight = Math.max(topRightSize.y, topCenterSize.y); boolean lastTrimOnTop = putTrimOnTop; putTrimOnTop = (titleArea.width >= requiredWidth && titleArea.height >= requiredHeight); Control topRight = topRightCache.getControl(); Control topCenter = topCenterCache.getControl(); if (putTrimOnTop) { // Try to avoid calling setTop* whenever possible, since this will trigger a layout // of the viewForm. if (!lastTrimOnTop) { // Arrange controls in the title bar viewFormTopCenterProxy.setTargetControl(null); viewFormTopRightProxy.setTargetControl(null); viewForm.setTopCenter(null); viewForm.setTopRight(null); } Rectangle topRightArea = new Rectangle(titleArea.x + titleArea.width - topRightSize.x, titleArea.y + (titleArea.height - topRightSize.y) / 2, topRightSize.x, topRightSize.y); if (topRight != null) { topRight.setBounds(Geometry.toControl(topRight.getParent(), topRightArea)); } if (topCenter != null) { Rectangle topCenterArea = new Rectangle(topRightArea.x - topCenterSize.x, titleArea.y + (titleArea.height - topCenterSize.y) / 2, topCenterSize.x, topCenterSize.y); Rectangle localCoords = Geometry.toControl(topCenter .getParent(), topCenterArea); topCenter.setBounds(localCoords); } } else { if (lastTrimOnTop) { if (topCenter != null) { viewFormTopCenterProxy.setTarget(topCenterCache); viewForm.setTopCenter(viewFormTopCenterProxy.getControl()); } if (topRight != null) { viewFormTopRightProxy.setTarget(topRightCache); viewForm.setTopRight(viewFormTopRightProxy.getControl()); } } } Rectangle oldBounds = viewForm.getBounds(); Rectangle newBounds = tabFolder.getClientArea(); viewForm.setBounds(newBounds); if (newBounds.equals(oldBounds) && flushCache) { viewForm.layout(true); } viewFormTopRightProxy.layout(); viewFormTopLeftProxy.layout(); viewFormTopCenterProxy.layout(); }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/eb9c3e5aaf9668c53e546b1d05d6697d8a7e425e/PaneFolder.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/PaneFolder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
225,
918,
225,
3511,
12,
6494,
225,
3663,
1649,
13,
225,
288,
7734,
1250,
225,
2405,
14388,
225,
273,
225,
638,
31,
1171,
202,
202,
2148,
225,
29343,
225,
273,
225,
3671,
13042,
1225,
5621,
540,
202,
19463,
225,
4972,
225,
273,
225,
3246,
3899,
18,
588,
5694,
5621,
759,
540,
202,
430,
225,
261,
10576,
18,
2819,
225,
300,
225,
29343,
18,
92,
225,
411,
225,
2593,
3707,
13,
225,
288,
759,
540,
202,
202,
4500,
14388,
225,
273,
225,
629,
31,
202,
759,
540,
202,
97,
27573,
3246,
3899,
18,
542,
2930,
10153,
6207,
12,
4500,
14388,
225,
597,
225,
18935,
6207,
1769,
7734,
3246,
3899,
18,
542,
2747,
10153,
6207,
12,
4500,
14388,
225,
597,
225,
943,
10153,
6207,
1769,
540,
202,
7734,
368,
225,
11624,
225,
326,
225,
3472,
225,
8453,
225,
309,
225,
4573,
7734,
309,
225,
261,
11330,
1649,
13,
225,
288,
13491,
1760,
3910,
1649,
18,
11330,
5621,
13491,
1760,
4726,
1649,
18,
11330,
5621,
13491,
1760,
8449,
1649,
18,
11330,
5621,
7734,
289,
7734,
368,
225,
670,
3649,
30,
225,
11889,
225,
326,
225,
3246,
225,
3009,
225,
358,
225,
741,
225,
279,
225,
3511,
16,
225,
3241,
225,
518,
225,
3302,
1404,
225,
3712,
7734,
368,
225,
7041,
225,
2097,
225,
2077,
225,
5091,
225,
1517,
225,
813,
225,
444,
5694,
225,
353,
225,
2566,
18,
7734,
309,
225,
16051,
12,
1202,
3401,
4726,
13930,
1588,
225,
597,
225,
261,
3669,
4726,
607,
1235,
225,
747,
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,
225,
918,
225,
3511,
12,
6494,
225,
3663,
1649,
13,
225,
288,
7734,
1250,
225,
2405,
14388,
225,
273,
225,
638,
31,
1171,
202,
202,
2148,
225,
29343,
225,
273,
225,
3671,
13042,
1225,
5621,
540,
202,
19463,
225,
4972,
225,
273,
225,
3246,
3899,
18,
588,
5694,
5621,
759,
540,
202,
430,
225,
261,
10576,
18,
2819,
225,
300,
225,
29343,
18,
92,
225,
411,
225,
2593,
3707,
13,
225,
288,
759,
540,
202,
202,
4500,
14388,
225,
273,
225,
629,
31,
202,
759,
540,
202,
97,
27573,
3246,
3899,
18,
542,
2930,
10153,
6207,
12,
4500,
14388,
225,
597,
225,
18935,
6207,
1769,
7734,
3246,
3899,
18,
542,
2747,
10153,
6207,
12,
4500,
14388,
225,
2
] |
||
return bounds.getHeight(); }
|
return bounds.getHeight(); }
|
public double getHeight() { return bounds.getHeight(); }
|
4096 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4096/441cbcf95ce0b247d1739ffaf35bea6e7f6d13c6/DXFDocument.java/buggy/src/java/org/kabeja/dxf/DXFDocument.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1645,
9263,
1435,
288,
3639,
327,
4972,
18,
588,
2686,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1645,
9263,
1435,
288,
3639,
327,
4972,
18,
588,
2686,
5621,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
rootNode( Token.LOGICAL_OR, expr );
|
expr = rootNode( Token.LOGICAL_OR, expr );
|
protected CSTNode logicalOrExpression() throws IOException, SyntaxException { CSTNode expr = logicalAndExpression(); if ( lt() == Token.LOGICAL_OR ) { rootNode( Token.LOGICAL_OR, expr ); expr.addChild( logicalAndExpression() ); } return expr; }
|
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/449241d5fa1aeadd5eb9fa1280d4104dc0dfb891/Parser.java/clean/src/main/org/codehaus/groovy/syntax/parser/Parser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
385,
882,
907,
6374,
23695,
1435,
3639,
1216,
1860,
16,
11517,
503,
565,
288,
3639,
385,
882,
907,
3065,
273,
6374,
1876,
2300,
5621,
3639,
309,
261,
13489,
1435,
422,
3155,
18,
29249,
67,
916,
262,
3639,
288,
5411,
10181,
12,
3155,
18,
29249,
67,
916,
16,
8227,
3065,
11272,
5411,
3065,
18,
1289,
1763,
12,
6374,
1876,
2300,
1435,
11272,
3639,
289,
3639,
327,
3065,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
4750,
385,
882,
907,
6374,
23695,
1435,
3639,
1216,
1860,
16,
11517,
503,
565,
288,
3639,
385,
882,
907,
3065,
273,
6374,
1876,
2300,
5621,
3639,
309,
261,
13489,
1435,
422,
3155,
18,
29249,
67,
916,
262,
3639,
288,
5411,
10181,
12,
3155,
18,
29249,
67,
916,
16,
8227,
3065,
11272,
5411,
3065,
18,
1289,
1763,
12,
6374,
1876,
2300,
1435,
11272,
3639,
289,
3639,
327,
3065,
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
] |
PatchEdit.setEnabled(false, Actions.EN_DELETE_DUPLICATES | Actions.EN_SORT);
|
Actions.setEnabled(false, Actions.EN_DELETE_DUPLICATES | Actions.EN_SORT);
|
public void JSLFrameActivated(JSLFrameEvent e) { PatchEdit.setEnabled(true, Actions.EN_GET | Actions.EN_IMPORT | Actions.EN_IMPORT_ALL | Actions.EN_NEW_PATCH); // not implemented PatchEdit.setEnabled(false, Actions.EN_DELETE_DUPLICATES | Actions.EN_SORT); enableActions(); }
|
7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/37f27f722b5be595ddb5b266f30f3e62d4d310cb/SceneFrame.java/buggy/JSynthLib/core/SceneFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
804,
4559,
3219,
28724,
12,
46,
4559,
3219,
1133,
425,
13,
288,
202,
565,
12042,
4666,
18,
542,
1526,
12,
3767,
16,
6862,
18765,
18,
1157,
67,
3264,
6862,
571,
18765,
18,
1157,
67,
20445,
6862,
571,
18765,
18,
1157,
67,
20445,
67,
4685,
6862,
571,
18765,
18,
1157,
67,
12917,
67,
20366,
1769,
202,
565,
368,
486,
8249,
202,
565,
12042,
4666,
18,
542,
1526,
12,
5743,
16,
6862,
18765,
18,
1157,
67,
6460,
67,
30387,
26042,
55,
6862,
571,
18765,
18,
1157,
67,
23988,
1769,
202,
565,
4237,
6100,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
804,
4559,
3219,
28724,
12,
46,
4559,
3219,
1133,
425,
13,
288,
202,
565,
12042,
4666,
18,
542,
1526,
12,
3767,
16,
6862,
18765,
18,
1157,
67,
3264,
6862,
571,
18765,
18,
1157,
67,
20445,
6862,
571,
18765,
18,
1157,
67,
20445,
67,
4685,
6862,
571,
18765,
18,
1157,
67,
12917,
67,
20366,
1769,
202,
565,
368,
486,
8249,
202,
565,
12042,
4666,
18,
542,
1526,
12,
5743,
16,
6862,
18765,
18,
1157,
67,
6460,
67,
30387,
26042,
55,
6862,
571,
18765,
18,
1157,
67,
23988,
1769,
202,
565,
4237,
6100,
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
] |
IParser parser = setupParser(resourceFile); int selectionStart = selNode.selStart; int selectionEnd = selNode.selEnd; IParser.ISelectionParseResult result = null; IASTOffsetableNamedElement node = null; try{ result = parser.parse(selectionStart,selectionEnd); if( result != null ) node = result.getOffsetableNamedElement(); } catch (ParseError er){} catch ( VirtualMachineError vmErr){ if (vmErr instanceof OutOfMemoryError){ org.eclipse.cdt.internal.core.model.Util.log(null, "Open Declarations Out Of Memory error: " + vmErr.getMessage() + " on File: " + resourceFile.getName(), ICLogConstants.CDT); } } catch (Exception ex){} finally{ if (node == null){ return; } } storage.setFileName( result.getFilename() ); storage.setElement( node ); storage.setResource( ParserUtil.getResourceForFilename( result.getFilename() ) );
|
public void run(IProgressMonitor monitor) { IFile resourceFile = fEditor.getInputFile(); projectName = findProjectName(resourceFile); IParser parser = setupParser(resourceFile); int selectionStart = selNode.selStart; int selectionEnd = selNode.selEnd; IParser.ISelectionParseResult result = null; IASTOffsetableNamedElement node = null; try{ result = parser.parse(selectionStart,selectionEnd); if( result != null ) node = result.getOffsetableNamedElement(); } catch (ParseError er){} catch ( VirtualMachineError vmErr){ if (vmErr instanceof OutOfMemoryError){ org.eclipse.cdt.internal.core.model.Util.log(null, "Open Declarations Out Of Memory error: " + vmErr.getMessage() + " on File: " + resourceFile.getName(), ICLogConstants.CDT); //$NON-NLS-1$ //$NON-NLS-2$ } } catch (Exception ex){} finally{ if (node == null){ return; } } storage.setFileName( result.getFilename() ); storage.setElement( node ); storage.setResource( ParserUtil.getResourceForFilename( result.getFilename() ) ); return; }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/0fedc36b901abdb7526a0e7e27d2d481789c398a/OpenDeclarationsAction.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/search/actions/OpenDeclarationsAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1086,
12,
45,
5491,
7187,
6438,
13,
288,
9506,
202,
45,
812,
1058,
812,
273,
284,
6946,
18,
588,
1210,
812,
5621,
9506,
202,
4406,
461,
273,
1104,
4109,
461,
12,
3146,
812,
1769,
6862,
9506,
202,
45,
2678,
2082,
273,
3875,
2678,
12,
3146,
812,
1769,
1875,
3196,
202,
474,
4421,
1685,
273,
357,
907,
18,
1786,
1685,
31,
1875,
3196,
202,
474,
4421,
1638,
273,
357,
907,
18,
1786,
1638,
31,
9506,
202,
45,
2678,
18,
45,
6233,
3201,
1253,
563,
273,
446,
31,
9506,
202,
45,
9053,
2335,
429,
7604,
1046,
756,
273,
446,
31,
9506,
202,
698,
95,
6862,
202,
2088,
273,
2082,
18,
2670,
12,
10705,
1685,
16,
10705,
1638,
1769,
6862,
202,
430,
12,
563,
480,
446,
262,
25083,
202,
2159,
273,
563,
18,
588,
2335,
429,
7604,
1046,
5621,
9506,
202,
97,
4697,
202,
14683,
261,
21004,
6445,
13,
2916,
9506,
202,
14683,
261,
18452,
668,
4268,
2524,
15329,
6862,
202,
430,
261,
3489,
2524,
1276,
18407,
6031,
668,
15329,
25083,
202,
3341,
18,
20416,
18,
4315,
88,
18,
7236,
18,
3644,
18,
2284,
18,
1304,
18,
1330,
12,
2011,
16,
315,
3678,
3416,
7901,
1012,
2976,
8031,
9251,
555,
30,
315,
397,
4268,
2524,
18,
24906,
1435,
397,
315,
603,
1387,
30,
315,
397,
1058,
812,
18,
17994,
9334,
26899,
1343,
2918,
18,
39,
9081,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
6862,
202,
97,
9506,
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,
1875,
202,
482,
918,
1086,
12,
45,
5491,
7187,
6438,
13,
288,
9506,
202,
45,
812,
1058,
812,
273,
284,
6946,
18,
588,
1210,
812,
5621,
9506,
202,
4406,
461,
273,
1104,
4109,
461,
12,
3146,
812,
1769,
6862,
9506,
202,
45,
2678,
2082,
273,
3875,
2678,
12,
3146,
812,
1769,
1875,
3196,
202,
474,
4421,
1685,
273,
357,
907,
18,
1786,
1685,
31,
1875,
3196,
202,
474,
4421,
1638,
273,
357,
907,
18,
1786,
1638,
31,
9506,
202,
45,
2678,
18,
45,
6233,
3201,
1253,
563,
273,
446,
31,
9506,
202,
45,
9053,
2335,
429,
7604,
1046,
756,
273,
446,
31,
9506,
202,
698,
95,
6862,
202,
2088,
273,
2082,
18,
2670,
12,
10705,
1685,
16,
10705,
1638,
2
] |
|
public AsnEncodingException(String why)
|
public AsnEncodingException( )
|
public AsnEncodingException(String why) { super(why); }
|
11849 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11849/b3612967cb053036bdb295ee74cb2e369c6ca18d/AsnEncodingException.java/buggy/src/joesnmp/org/opennms/protocols/snmp/asn1/AsnEncodingException.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
31277,
13836,
12,
780,
11598,
13,
202,
95,
202,
202,
9565,
12,
3350,
93,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
31277,
13836,
12,
780,
11598,
13,
202,
95,
202,
202,
9565,
12,
3350,
93,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
bCodeStream[classFileOffset++] = OPC_caload;
|
bCodeStream[classFileOffset++] = Opcodes.OPC_caload;
|
final public void caload() { if (DEBUG) System.out.println(position + "\t\tcaload"); //$NON-NLS-1$ countLabels = 0; stackDepth--; if (classFileOffset >= bCodeStream.length) { resizeByteArray(); } position++; bCodeStream[classFileOffset++] = OPC_caload;}
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/5a485cb39d1ee33622141cf426fac71c4bf93ded/CodeStream.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
727,
1071,
918,
1443,
6189,
1435,
288,
202,
430,
261,
9394,
13,
2332,
18,
659,
18,
8222,
12,
3276,
397,
1548,
88,
64,
88,
771,
6189,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
1883,
5888,
273,
374,
31,
202,
3772,
6148,
413,
31,
202,
430,
261,
1106,
812,
2335,
1545,
324,
1085,
1228,
18,
2469,
13,
288,
202,
202,
15169,
8826,
5621,
202,
97,
202,
3276,
9904,
31,
202,
70,
1085,
1228,
63,
1106,
812,
2335,
9904,
65,
273,
531,
3513,
67,
771,
6189,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
727,
1071,
918,
1443,
6189,
1435,
288,
202,
430,
261,
9394,
13,
2332,
18,
659,
18,
8222,
12,
3276,
397,
1548,
88,
64,
88,
771,
6189,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
1883,
5888,
273,
374,
31,
202,
3772,
6148,
413,
31,
202,
430,
261,
1106,
812,
2335,
1545,
324,
1085,
1228,
18,
2469,
13,
288,
202,
202,
15169,
8826,
5621,
202,
97,
202,
3276,
9904,
31,
202,
70,
1085,
1228,
63,
1106,
812,
2335,
9904,
65,
273,
531,
3513,
67,
771,
6189,
31,
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
] |
window.getActiveWorkbenchPage().hideView(selectedView);
|
WorkbenchPage page = window.getActiveWorkbenchPage(); if (page != null) { page.hideView(selectedView); }
|
public void widgetSelected(SelectionEvent e) { if (selectedView != null) { window.getActiveWorkbenchPage().hideView(selectedView); } }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/fe50358c2886fffcf2b7c6d68ca9f81a63b74d06/FastViewBar.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/FastViewBar.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4697,
202,
482,
918,
3604,
7416,
12,
6233,
1133,
425,
13,
288,
6862,
202,
430,
261,
8109,
1767,
480,
446,
13,
288,
25083,
202,
5668,
18,
588,
3896,
2421,
22144,
1964,
7675,
11248,
1767,
12,
8109,
1767,
1769,
6862,
6862,
1082,
202,
97,
9506,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4697,
202,
482,
918,
3604,
7416,
12,
6233,
1133,
425,
13,
288,
6862,
202,
430,
261,
8109,
1767,
480,
446,
13,
288,
25083,
202,
5668,
18,
588,
3896,
2421,
22144,
1964,
7675,
11248,
1767,
12,
8109,
1767,
1769,
6862,
6862,
1082,
202,
97,
9506,
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
] |
if (! OsConstraint.oneMatchesCurrentSystem (pfile.osConstraints))
|
if (!OsConstraint.oneMatchesCurrentSystem(pfile.osConstraints))
|
public void parseFiles() throws Exception { // Parses the files Iterator iter = files.iterator(); while (iter.hasNext()) { // Create a temporary file for the parsed data // (Use the same directory so that renaming works later) ParsableFile pfile = (ParsableFile) iter.next(); // check whether the OS matches if (! OsConstraint.oneMatchesCurrentSystem (pfile.osConstraints)) { continue; } File file = new File(pfile.path); File parsedFile = File.createTempFile("izpp", null, file.getParentFile()); // Parses the file // (Use buffering because substitutor processes byte at a time) FileInputStream inFile = new FileInputStream(file); BufferedInputStream in = new BufferedInputStream(inFile, 5120); FileOutputStream outFile = new FileOutputStream(parsedFile); BufferedOutputStream out = new BufferedOutputStream(outFile, 5120); vs.substitute(in, out, pfile.type, pfile.encoding); in.close(); out.close(); // Replace the original file with the parsed one file.delete(); if (!parsedFile.renameTo(file)) throw new IOException ("Could not rename file " + parsedFile + " to " + file); } }
|
46579 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46579/6e8ab3930a21f787bcd0f3cf0b9937f9d50c80c0/ScriptParser.java/buggy/src/lib/com/izforge/izpack/installer/ScriptParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1109,
2697,
1435,
1216,
1185,
225,
288,
565,
368,
2280,
2420,
326,
1390,
565,
4498,
1400,
273,
1390,
18,
9838,
5621,
565,
1323,
261,
2165,
18,
5332,
2134,
10756,
565,
288,
1377,
368,
1788,
279,
6269,
585,
364,
326,
2707,
501,
1377,
368,
261,
3727,
326,
1967,
1867,
1427,
716,
30883,
6330,
5137,
13,
1377,
2280,
87,
429,
812,
293,
768,
273,
261,
1553,
87,
429,
812,
13,
1400,
18,
4285,
5621,
1377,
368,
866,
2856,
326,
5932,
1885,
1377,
309,
16051,
15112,
5806,
18,
476,
6869,
3935,
3163,
12,
84,
768,
18,
538,
4878,
3719,
1377,
288,
3639,
1324,
31,
1377,
289,
1377,
1387,
585,
273,
394,
1387,
12,
84,
768,
18,
803,
1769,
1377,
1387,
2707,
812,
540,
273,
1387,
18,
2640,
20181,
2932,
452,
11858,
3113,
446,
16,
585,
18,
588,
3054,
812,
10663,
1377,
368,
2280,
2420,
326,
585,
1377,
368,
261,
3727,
25056,
2724,
7461,
3408,
8488,
1160,
622,
279,
813,
13,
1377,
11907,
316,
812,
273,
394,
11907,
12,
768,
1769,
1377,
24742,
316,
273,
394,
24742,
12,
267,
812,
16,
13908,
20,
1769,
1377,
12942,
21651,
273,
394,
12942,
12,
10817,
812,
1769,
1377,
28649,
596,
273,
394,
28649,
12,
659,
812,
16,
13908,
20,
1769,
1377,
6195,
18,
1717,
17207,
12,
267,
16,
596,
16,
293,
768,
18,
723,
16,
293,
768,
18,
5999,
1769,
1377,
316,
18,
4412,
5621,
1377,
596,
18,
4412,
5621,
1377,
368,
6910,
326,
2282,
585,
598,
326,
2707,
1245,
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,
1071,
918,
1109,
2697,
1435,
1216,
1185,
225,
288,
565,
368,
2280,
2420,
326,
1390,
565,
4498,
1400,
273,
1390,
18,
9838,
5621,
565,
1323,
261,
2165,
18,
5332,
2134,
10756,
565,
288,
1377,
368,
1788,
279,
6269,
585,
364,
326,
2707,
501,
1377,
368,
261,
3727,
326,
1967,
1867,
1427,
716,
30883,
6330,
5137,
13,
1377,
2280,
87,
429,
812,
293,
768,
273,
261,
1553,
87,
429,
812,
13,
1400,
18,
4285,
5621,
1377,
368,
866,
2856,
326,
5932,
1885,
1377,
309,
16051,
15112,
5806,
18,
476,
6869,
3935,
3163,
12,
84,
768,
18,
538,
4878,
3719,
1377,
288,
3639,
1324,
31,
1377,
289,
1377,
1387,
585,
273,
394,
1387,
12,
84,
768,
18,
803,
1769,
1377,
2
] |
it = userJobConfProps_.iterator(); while(it.hasNext()) { String prop = (String)it.next(); String[] nv = prop.split("=", 2); msg("xxxJobConf: set(" + nv[0] + ", " + nv[1]+")"); jobConf_.set(nv[0], nv[1]);
|
setUserJobConfProps(false); jar_ = packageJobJar(); if (jar_ != null) { jobConf_.setJar(jar_);
|
protected void setJobConf() throws IOException { msg("hadoopAliasConf_ = " + hadoopAliasConf_); config_ = new Configuration(); if(!cluster_.equals("default")) { config_.addFinalResource(new Path(getHadoopAliasConfFile())); } else { // use only defaults: hadoop-default.xml and hadoop-site.xml } Iterator it = configPath_.iterator(); while(it.hasNext()) { String pathName = (String)it.next(); config_.addFinalResource(new Path(pathName)); } // general MapRed job properties jobConf_ = new JobConf(config_); for(int i=0; i<inputGlobs_.size(); i++) { jobConf_.addInputPath(new Path((String)inputGlobs_.get(i))); } jobConf_.setInputFormat(StreamInputFormat.class); // for SequenceFile, input classes may be overriden in getRecordReader jobConf_.setInputKeyClass(Text.class); jobConf_.setInputValueClass(Text.class); jobConf_.setOutputKeyClass(Text.class); jobConf_.setOutputValueClass(Text.class); //jobConf_.setCombinerClass(); jobConf_.setOutputPath(new Path(output_)); jobConf_.setOutputFormat(StreamOutputFormat.class); jobConf_.set("stream.addenvironment", addTaskEnvironment_); String defaultPackage = this.getClass().getPackage().getName(); Class c = StreamUtil.goodClassOrNull(mapCmd_, defaultPackage); if(c != null) { jobConf_.setMapperClass(c); } else { jobConf_.setMapperClass(PipeMapper.class); jobConf_.set("stream.map.streamprocessor", mapCmd_); } if(comCmd_ != null) { c = StreamUtil.goodClassOrNull(comCmd_, defaultPackage); if(c != null) { jobConf_.setCombinerClass(c); } else { jobConf_.setCombinerClass(PipeCombiner.class); jobConf_.set("stream.combine.streamprocessor", comCmd_); } } if(redCmd_ != null) { c = StreamUtil.goodClassOrNull(redCmd_, defaultPackage); if(c != null) { jobConf_.setReducerClass(c); } else { jobConf_.setReducerClass(PipeReducer.class); jobConf_.set("stream.reduce.streamprocessor", redCmd_); } } if(inReaderSpec_ != null) { String[] args = inReaderSpec_.split(","); String readerClass = args[0]; // this argument can only be a Java class c = StreamUtil.goodClassOrNull(readerClass, defaultPackage); if(c != null) { jobConf_.set("stream.recordreader.class", c.getName()); } else { fail("-inputreader: class not found: " + readerClass); } for(int i=1; i<args.length; i++) { String[] nv = args[i].split("=", 2); String k = "stream.recordreader." + nv[0]; String v = (nv.length>1) ? nv[1] : ""; jobConf_.set(k, v); } } jar_ = packageJobJar(); if(jar_ != null) { jobConf_.setJar(jar_); } // last, allow user to override anything // (although typically used with properties we didn't touch) it = userJobConfProps_.iterator(); while(it.hasNext()) { String prop = (String)it.next(); String[] nv = prop.split("=", 2); msg("xxxJobConf: set(" + nv[0] + ", " + nv[1]+")"); jobConf_.set(nv[0], nv[1]); } msg("submitting to jobconf: " + getJobTrackerHostPort()); }
|
49248 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49248/e10b40e8014547113799b2653164e8c990d41209/StreamJob.java/clean/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamJob.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
444,
2278,
3976,
1435,
1216,
1860,
225,
288,
565,
1234,
2932,
76,
12460,
2936,
3976,
67,
273,
315,
397,
22840,
2936,
3976,
67,
1769,
565,
642,
67,
273,
394,
4659,
5621,
565,
309,
12,
5,
7967,
27799,
14963,
2932,
1886,
6,
3719,
288,
3639,
642,
27799,
1289,
7951,
1420,
12,
2704,
2666,
12,
588,
44,
12460,
2936,
3976,
812,
1435,
10019,
565,
289,
469,
288,
1377,
368,
999,
1338,
3467,
30,
22840,
17,
1886,
18,
2902,
471,
22840,
17,
4256,
18,
2902,
565,
289,
565,
4498,
518,
273,
16012,
27799,
9838,
5621,
565,
1323,
12,
305,
18,
5332,
2134,
10756,
288,
3639,
514,
22943,
273,
261,
780,
13,
305,
18,
4285,
5621,
3639,
642,
27799,
1289,
7951,
1420,
12,
2704,
2666,
12,
803,
461,
10019,
565,
289,
565,
368,
7470,
1635,
3715,
1719,
1790,
565,
1719,
3976,
67,
273,
394,
3956,
3976,
12,
1425,
67,
1769,
565,
364,
12,
474,
277,
33,
20,
31,
277,
32,
2630,
13499,
87,
27799,
1467,
5621,
277,
27245,
288,
1377,
1719,
3976,
27799,
1289,
1210,
743,
12,
2704,
2666,
12443,
780,
13,
2630,
13499,
87,
27799,
588,
12,
77,
3719,
1769,
565,
289,
565,
1719,
3976,
27799,
542,
1210,
1630,
12,
1228,
1210,
1630,
18,
1106,
1769,
565,
368,
364,
8370,
812,
16,
810,
3318,
2026,
506,
31736,
316,
11674,
2514,
565,
1719,
3976,
27799,
542,
1210,
653,
797,
12,
1528,
18,
1106,
1769,
565,
1719,
3976,
27799,
542,
1210,
620,
797,
12,
1528,
18,
1106,
1769,
565,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
444,
2278,
3976,
1435,
1216,
1860,
225,
288,
565,
1234,
2932,
76,
12460,
2936,
3976,
67,
273,
315,
397,
22840,
2936,
3976,
67,
1769,
565,
642,
67,
273,
394,
4659,
5621,
565,
309,
12,
5,
7967,
27799,
14963,
2932,
1886,
6,
3719,
288,
3639,
642,
27799,
1289,
7951,
1420,
12,
2704,
2666,
12,
588,
44,
12460,
2936,
3976,
812,
1435,
10019,
565,
289,
469,
288,
1377,
368,
999,
1338,
3467,
30,
22840,
17,
1886,
18,
2902,
471,
22840,
17,
4256,
18,
2902,
565,
289,
565,
4498,
518,
273,
16012,
27799,
9838,
5621,
565,
1323,
12,
305,
18,
5332,
2134,
10756,
288,
3639,
514,
22943,
273,
261,
780,
13,
305,
18,
4285,
5621,
3639,
642,
27799,
1289,
2
] |
previewTextBox.setText( DEFAULT_PREVIEW_TEXT );
|
private Composite getCustomPage( Composite parent ) { if ( customPage == null ) { customPage = new Composite( parent, SWT.NULL ); customPage.setLayout( new GridLayout( 1, false ) ); Group group = new Group( customPage, SWT.NONE ); group.setText( LABEL_CUSTOM_SETTINGS_GROUP ); GridData data = new GridData( GridData.FILL_HORIZONTAL ); group.setLayoutData( data ); group.setLayout( new GridLayout( 2, false ) ); Label label = new Label( group, SWT.NONE ); label.setText( LABEL_CUSTOM_SETTINGS ); data = new GridData( ); data.horizontalSpan = 2; label.setLayoutData( data ); label = new Label( group, SWT.NONE ); label.setText( LABEL_CUSTOM_SETTINGS_LABEL ); data = new GridData( ); data.horizontalSpan = 2; label.setLayoutData( data ); createTable( group ); Composite container = new Composite( customPage, SWT.NONE ); data = new GridData( GridData.FILL_HORIZONTAL ); container.setLayoutData( data ); container.setLayout( new GridLayout( 2, false ) ); new Label( container, SWT.NULL ).setText( LABEL_FORMAT_CODE ); formatCode = new Text( container, SWT.SINGLE | SWT.BORDER ); formatCode.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); formatCode.addModifyListener( myModifyListener ); group = new Group( customPage, SWT.NONE ); group.setText( LABEL_CUSTOM_PREVIEW_GROUP ); data = new GridData( GridData.FILL_HORIZONTAL ); group.setLayoutData( data ); group.setLayout( new GridLayout( 2, false ) ); new Label( group, SWT.NONE ).setText( LABEL_PREVIEW_NUMBER ); previewTextBox = new Text( group, SWT.SINGLE | SWT.BORDER ); previewTextBox.setText( DEFAULT_PREVIEW_TEXT ); //$NON-NLS-1$ previewTextBox.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); previewTextBox.addModifyListener( new ModifyListener( ) { public void modifyText( ModifyEvent e ) { if ( hasLoaded ) { setPreviewText( previewTextBox.getText( ) ); } } } ); new Label( group, SWT.NONE ).setText( LABEL_COSTOM_PREVIEW_LABEL ); cusPreviewLabel = new Label( group, SWT.NONE ); cusPreviewLabel.setText( "" ); //$NON-NLS-1$ cusPreviewLabel.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); } return customPage; }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/a037c90be1076dbd56aea4fca2068d72d718af1c/FormatNumberPage.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/FormatNumberPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
14728,
12736,
1964,
12,
14728,
982,
262,
202,
95,
202,
202,
430,
261,
1679,
1964,
422,
446,
262,
202,
202,
95,
1082,
202,
3662,
1964,
273,
394,
14728,
12,
982,
16,
348,
8588,
18,
8560,
11272,
1082,
202,
3662,
1964,
18,
542,
3744,
12,
394,
7145,
3744,
12,
404,
16,
629,
262,
11272,
1082,
202,
1114,
1041,
273,
394,
3756,
12,
1679,
1964,
16,
348,
8588,
18,
9826,
11272,
1082,
202,
1655,
18,
542,
1528,
12,
18210,
67,
15136,
67,
19428,
67,
8468,
11272,
1082,
202,
6313,
751,
501,
273,
394,
7145,
751,
12,
7145,
751,
18,
29818,
67,
44,
20344,
11272,
1082,
202,
1655,
18,
542,
3744,
751,
12,
501,
11272,
1082,
202,
1655,
18,
542,
3744,
12,
394,
7145,
3744,
12,
576,
16,
629,
262,
11272,
1082,
202,
2224,
1433,
273,
394,
5287,
12,
1041,
16,
348,
8588,
18,
9826,
11272,
1082,
202,
1925,
18,
542,
1528,
12,
18210,
67,
15136,
67,
19428,
11272,
1082,
202,
892,
273,
394,
7145,
751,
12,
11272,
1082,
202,
892,
18,
18396,
6952,
273,
576,
31,
1082,
202,
1925,
18,
542,
3744,
751,
12,
501,
11272,
1082,
202,
1925,
273,
394,
5287,
12,
1041,
16,
348,
8588,
18,
9826,
11272,
1082,
202,
1925,
18,
542,
1528,
12,
18210,
67,
15136,
67,
19428,
67,
13545,
11272,
1082,
202,
892,
273,
394,
7145,
751,
12,
11272,
1082,
202,
892,
18,
18396,
6952,
273,
576,
31,
1082,
202,
1925,
18,
542,
3744,
751,
12,
501,
11272,
1082,
202,
2640,
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,
14728,
12736,
1964,
12,
14728,
982,
262,
202,
95,
202,
202,
430,
261,
1679,
1964,
422,
446,
262,
202,
202,
95,
1082,
202,
3662,
1964,
273,
394,
14728,
12,
982,
16,
348,
8588,
18,
8560,
11272,
1082,
202,
3662,
1964,
18,
542,
3744,
12,
394,
7145,
3744,
12,
404,
16,
629,
262,
11272,
1082,
202,
1114,
1041,
273,
394,
3756,
12,
1679,
1964,
16,
348,
8588,
18,
9826,
11272,
1082,
202,
1655,
18,
542,
1528,
12,
18210,
67,
15136,
67,
19428,
67,
8468,
11272,
1082,
202,
6313,
751,
501,
273,
394,
7145,
751,
12,
7145,
751,
18,
29818,
67,
44,
20344,
11272,
1082,
202,
1655,
18,
542,
3744,
751,
12,
501,
11272,
1082,
202,
1655,
18,
2
] |
|
configureDetectorsItemActionPerformed(evt);
|
highPriorityButtonActionPerformed(evt);
|
public void actionPerformed(java.awt.event.ActionEvent evt) { configureDetectorsItemActionPerformed(evt); }
|
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/087d5b557fb4d1f33c4c77e6cbf376c3e8d202f6/FindBugsFrame.java/clean/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
918,
26100,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
6324,
13,
288,
10792,
3551,
8183,
3616,
19449,
12,
73,
11734,
1769,
7734,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
918,
26100,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
6324,
13,
288,
10792,
3551,
8183,
3616,
19449,
12,
73,
11734,
1769,
7734,
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
] |
return false;
|
try { ser.reset(); FileOutputStream fileOut = new FileOutputStream(new File(URI)); ser.setOutputCharStream(new OutputStreamWriter(fileOut, encoding)); if (node.getNodeType() == Node.DOCUMENT_NODE) ser.serialize((Document) node); else if (node.getNodeType() == Node.DOCUMENT_FRAGMENT_NODE) ser.serialize((DocumentFragment) node); else if (node.getNodeType() == Node.ELEMENT_NODE) ser.serialize((Element) node); else return false; } catch (Exception e) { if (ser.fDOMErrorHandler != null) { DOMErrorImpl error = new DOMErrorImpl(); error.fException = e; error.fMessage = e.getMessage(); error.fSeverity = DOMError.SEVERITY_ERROR; ser.fDOMErrorHandler.handleError(error); } return false; } return true;
|
public boolean writeURI(Node node, String URI){ // determine which serializer to use: // commented using DOM L3 Core fn // Method getVersion = null; // XMLSerializer ser = null; // String ver = null; // String fEncoding = null; // Document fDocument = (node.getNodeType()== Node.DOCUMENT_NODE)?(Document)node:node.getOwnerDocument(); // this should run under JDK 1.1.8... // try { // getVersion = fDocument.getClass().getMethod("getVersion", new Class[]{}); // if(getVersion != null ) { // ver = (String)getVersion.invoke(fDocument, null); // } //} catch (Exception e) { // no way to test the version... // ignore the exception //} // if(ver != null && ver.equals("1.1")) { // if(xml11Serializer == null) { // xml11Serializer = new XML11Serializer(); // initSerializer(xml11Serializer); // } // copy setting from "main" serializer to XML 1.1 serializer // copySettings(serializer, xml11Serializer); // ser = xml11Serializer; //} else { // ser = serializer; //} // checkAllFeatures(ser); // if((fEncoding = fDocument.getActualEncoding())==null) // if((fEncoding = fDocument.getXmlEncoding())==null) // fEncoding = "UTF-8"; // try { // ser.reset(); // FileOutputStream fileOut = new FileOutputStream(new File(URI)); // OutputStreamWriter fWriter = new OutputStreamWriter(fileOut, fEncoding); // if(fWriter!=null) // ser.setOutputCharStream(fWriter); // else // return false; // if (node == null) // return false; // else if (node.getNodeType() == Node.DOCUMENT_NODE) // ser.serialize((Document)node); // else if (node.getNodeType() == Node.DOCUMENT_FRAGMENT_NODE) // ser.serialize((DocumentFragment)node); // else if (node.getNodeType() == Node.ELEMENT_NODE) // ser.serialize((Element)node); // else // return false; // } catch (Exception e) { // if (ser.fDOMErrorHandler != null) { // DOMErrorImpl error = new DOMErrorImpl(); // error.fException = e; // error.fMessage = e.getMessage(); // error.fSeverity = DOMError.SEVERITY_ERROR; // ser.fDOMErrorHandler.handleError(error); // } // } return false; } //writeURI
|
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/8cce80b73e10bfa8c99b0efb19440860a2e72f24/DOMSerializerImpl.java/clean/src/org/apache/xml/serialize/DOMSerializerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1045,
3098,
12,
907,
756,
16,
18701,
514,
3699,
15329,
1377,
368,
4199,
1492,
6340,
358,
999,
30,
1377,
368,
31813,
1450,
4703,
511,
23,
4586,
2295,
1377,
368,
2985,
8343,
273,
446,
31,
1377,
368,
3167,
6306,
703,
273,
446,
31,
1377,
368,
514,
1924,
273,
446,
31,
1377,
368,
514,
284,
4705,
273,
446,
31,
1377,
368,
4319,
284,
2519,
273,
261,
2159,
18,
588,
15101,
1435,
631,
2029,
18,
18450,
67,
8744,
9945,
12,
2519,
13,
2159,
30,
2159,
18,
588,
5541,
2519,
5621,
1377,
368,
333,
1410,
1086,
3613,
24387,
404,
18,
21,
18,
28,
2777,
1377,
368,
775,
288,
1377,
368,
225,
8343,
273,
284,
2519,
18,
588,
797,
7675,
588,
1305,
2932,
588,
1444,
3113,
394,
1659,
8526,
2916,
1769,
1377,
368,
225,
309,
12,
588,
1444,
480,
446,
262,
288,
1377,
368,
565,
1924,
273,
261,
780,
13,
588,
1444,
18,
14407,
12,
74,
2519,
16,
446,
1769,
1377,
368,
225,
289,
1377,
19363,
1044,
261,
503,
425,
13,
288,
3639,
368,
1158,
4031,
358,
1842,
326,
1177,
2777,
3639,
368,
2305,
326,
1520,
1377,
19363,
377,
368,
309,
12,
502,
480,
446,
597,
1924,
18,
14963,
2932,
21,
18,
21,
6,
3719,
288,
4202,
368,
309,
12,
2902,
2499,
6306,
422,
446,
13,
288,
4202,
368,
282,
2025,
2499,
6306,
273,
394,
3167,
2499,
6306,
5621,
4202,
368,
282,
1208,
6306,
12,
2902,
2499,
6306,
1769,
4202,
368,
289,
3639,
368,
1610,
3637,
628,
315,
5254,
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,
1250,
1045,
3098,
12,
907,
756,
16,
18701,
514,
3699,
15329,
1377,
368,
4199,
1492,
6340,
358,
999,
30,
1377,
368,
31813,
1450,
4703,
511,
23,
4586,
2295,
1377,
368,
2985,
8343,
273,
446,
31,
1377,
368,
3167,
6306,
703,
273,
446,
31,
1377,
368,
514,
1924,
273,
446,
31,
1377,
368,
514,
284,
4705,
273,
446,
31,
1377,
368,
4319,
284,
2519,
273,
261,
2159,
18,
588,
15101,
1435,
631,
2029,
18,
18450,
67,
8744,
9945,
12,
2519,
13,
2159,
30,
2159,
18,
588,
5541,
2519,
5621,
1377,
368,
333,
1410,
1086,
3613,
24387,
404,
18,
21,
18,
28,
2777,
1377,
368,
775,
288,
1377,
368,
225,
8343,
273,
284,
2519,
18,
588,
797,
7675,
588,
2
] |
public IPerspectiveRegistry getPerspectiveRegistry() {
|
public synchronized IPerspectiveRegistry getPerspectiveRegistry() {
|
public IPerspectiveRegistry getPerspectiveRegistry() { if (perspRegistry == null) { perspRegistry = new PerspectiveRegistry(); perspRegistry.load(); } return perspRegistry; }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/2c50af617b4949f5c12d5eaad9497a9cc3a6afb5/WorkbenchPlugin.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPlugin.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
2971,
414,
16772,
4243,
1689,
414,
16772,
4243,
1435,
288,
3639,
309,
261,
10422,
84,
4243,
422,
446,
13,
288,
5411,
13508,
84,
4243,
273,
394,
453,
414,
16772,
4243,
5621,
5411,
13508,
84,
4243,
18,
945,
5621,
3639,
289,
3639,
327,
13508,
84,
4243,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
2971,
414,
16772,
4243,
1689,
414,
16772,
4243,
1435,
288,
3639,
309,
261,
10422,
84,
4243,
422,
446,
13,
288,
5411,
13508,
84,
4243,
273,
394,
453,
414,
16772,
4243,
5621,
5411,
13508,
84,
4243,
18,
945,
5621,
3639,
289,
3639,
327,
13508,
84,
4243,
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
] |
SubConfig sc = nodeConfig.get("node.updater");
|
public void set(boolean val) throws InvalidConfigValueException { synchronized (node) { if(val == get()) return; if(val){ try{ SubConfig sc = nodeConfig.get("node.updater"); if(node.nodeUpdater != null) node.nodeUpdater.kill(); node.nodeUpdater = new NodeUpdater(node , sc.getBoolean("autoupdate"), new FreenetURI(sc.getString("URI")), new FreenetURI(sc.getString("revocationURI"))); Logger.normal(this, "Starting up the node updater"); }catch (Exception e){ Logger.error(this, "unable to start the node updater up "+e); e.printStackTrace(); throw new InvalidConfigValueException("Unable to enable the Node Updater "+e); } }else{ node.nodeUpdater.kill(); Logger.normal(this, "Shutting down the node updater"); } } }
|
50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/076b0867c113941335061363716c84e84918007c/UpdaterEnabledCallback.java/clean/src/freenet/node/updater/UpdaterEnabledCallback.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
12,
6494,
1244,
13,
1216,
1962,
809,
9738,
288,
202,
202,
22043,
261,
2159,
13,
288,
1082,
202,
430,
12,
1125,
422,
336,
10756,
327,
31,
1082,
202,
430,
12,
1125,
15329,
9506,
202,
698,
95,
6862,
202,
1676,
809,
888,
273,
756,
809,
18,
588,
2932,
2159,
18,
25575,
8863,
6862,
202,
430,
12,
2159,
18,
2159,
15305,
480,
446,
13,
25083,
202,
2159,
18,
2159,
15305,
18,
16418,
5621,
6862,
202,
2159,
18,
2159,
15305,
273,
394,
2029,
15305,
12,
2159,
269,
888,
18,
588,
5507,
2932,
6079,
2725,
6,
3631,
394,
478,
2842,
278,
3098,
12,
1017,
18,
588,
780,
2932,
3098,
7923,
3631,
394,
478,
2842,
278,
3098,
12,
1017,
18,
588,
780,
2932,
9083,
4431,
3098,
6,
3719,
1769,
6862,
202,
3328,
18,
6130,
12,
2211,
16,
315,
11715,
731,
326,
756,
7760,
8863,
9506,
202,
97,
14683,
261,
503,
425,
15329,
6862,
202,
3328,
18,
1636,
12,
2211,
16,
315,
18828,
358,
787,
326,
756,
7760,
731,
13773,
73,
1769,
6862,
202,
73,
18,
1188,
6332,
5621,
6862,
202,
12849,
394,
1962,
809,
9738,
2932,
3370,
358,
4237,
326,
2029,
27254,
2045,
13773,
73,
1769,
9506,
202,
97,
1082,
202,
97,
12107,
95,
9506,
202,
2159,
18,
2159,
15305,
18,
16418,
5621,
9506,
202,
3328,
18,
6130,
12,
2211,
16,
315,
1555,
25387,
2588,
326,
756,
7760,
8863,
1082,
202,
97,
202,
202,
97,
202,
97,
2,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
12,
6494,
1244,
13,
1216,
1962,
809,
9738,
288,
202,
202,
22043,
261,
2159,
13,
288,
1082,
202,
430,
12,
1125,
422,
336,
10756,
327,
31,
1082,
202,
430,
12,
1125,
15329,
9506,
202,
698,
95,
6862,
202,
1676,
809,
888,
273,
756,
809,
18,
588,
2932,
2159,
18,
25575,
8863,
6862,
202,
430,
12,
2159,
18,
2159,
15305,
480,
446,
13,
25083,
202,
2159,
18,
2159,
15305,
18,
16418,
5621,
6862,
202,
2159,
18,
2159,
15305,
273,
394,
2029,
15305,
12,
2159,
269,
888,
18,
588,
5507,
2932,
6079,
2725,
6,
3631,
394,
478,
2842,
278,
3098,
12,
1017,
18,
588,
780,
2932,
3098,
7923,
3631,
394,
478,
2842,
278,
3098,
12,
1017,
2
] |
|
setSelectedText("\t");
|
insertTab();
|
public void userInput(char ch) { if(!isEditable()) { getToolkit().beep(); return; } if(ch == ' ' && Abbrevs.getExpandOnInput() && Abbrevs.expandAbbrev(view,false)) return; else if(ch == '\t') { if(selection.size() == 1) { Selection sel = (Selection)selection.elementAt(0); if(sel.startLine == sel.endLine && sel.start != buffer.getLineStartOffset(sel.startLine) && sel.end != buffer.getLineEndOffset(sel.startLine) - 1) { insertTab(); } else shiftIndentRight(); } else if(selection.size() != 0) shiftIndentRight(); else if(buffer.getBooleanProperty("indentOnTab")) { // if caret is inside leading whitespace, indent. String text = buffer.getLineText(caretLine); int start = buffer.getLineStartOffset(caretLine); int whiteSpace = MiscUtilities.getLeadingWhiteSpace(text); if(caret - start <= whiteSpace && buffer.indentLine(caretLine,true,false)) return; else setSelectedText("\t"); } else insertTab(); return; } else if(ch == '\n') { try { buffer.beginCompoundEdit(); setSelectedText("\n"); if(buffer.getBooleanProperty("indentOnEnter")) buffer.indentLine(caretLine,true,false); } finally { buffer.endCompoundEdit(); } return; } else { String str = String.valueOf(ch); if(selection.size() != 0) { setSelectedText(str); return; } if(ch == ' ') { if(doWordWrap(caretLine,true)) return; } else doWordWrap(caretLine,false); try { // Don't overstrike if we're on the end of // the line if(overwrite) { buffer.beginCompoundEdit(); int caretLineEnd = getLineEndOffset(caretLine); if(caretLineEnd - caret > 1) buffer.remove(caret,1); } buffer.insert(caret,str); } finally { if(overwrite) buffer.endCompoundEdit(); } } // check if the user entered a bracket String indentOpenBrackets = (String)buffer .getProperty("indentOpenBrackets"); String indentCloseBrackets = (String)buffer .getProperty("indentCloseBrackets"); if((indentCloseBrackets != null && indentCloseBrackets.indexOf(ch) != -1) || (indentOpenBrackets != null && indentOpenBrackets.indexOf(ch) != -1)) { buffer.indentLine(caretLine,false,true); } } //}}}
|
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/7b8d48bab20ed167e45b4cdb59ce0dbe9890d35f/JEditTextArea.java/buggy/org/gjt/sp/jedit/textarea/JEditTextArea.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
729,
1210,
12,
3001,
462,
13,
202,
95,
202,
202,
430,
12,
5,
291,
15470,
10756,
202,
202,
95,
1082,
202,
588,
6364,
8691,
7675,
2196,
881,
5621,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
430,
12,
343,
422,
296,
296,
597,
9771,
6073,
6904,
18,
588,
12271,
1398,
1210,
1435,
1082,
202,
10,
10,
9771,
6073,
6904,
18,
12320,
5895,
27216,
12,
1945,
16,
5743,
3719,
1082,
202,
2463,
31,
202,
202,
12107,
309,
12,
343,
422,
2337,
88,
6134,
202,
202,
95,
1082,
202,
430,
12,
10705,
18,
1467,
1435,
422,
404,
13,
1082,
202,
95,
9506,
202,
6233,
357,
273,
261,
6233,
13,
10705,
18,
2956,
861,
12,
20,
1769,
9506,
202,
430,
12,
1786,
18,
1937,
1670,
422,
357,
18,
409,
1670,
6862,
202,
10,
10,
357,
18,
1937,
480,
1613,
18,
588,
1670,
1685,
2335,
12,
1786,
18,
1937,
1670,
13,
6862,
202,
10,
10,
357,
18,
409,
480,
1613,
18,
588,
1670,
1638,
2335,
12,
1786,
18,
1937,
1670,
13,
300,
404,
13,
9506,
202,
95,
6862,
202,
6387,
5661,
5621,
9506,
202,
97,
9506,
202,
12107,
6862,
202,
4012,
7790,
4726,
5621,
1082,
202,
97,
1082,
202,
12107,
309,
12,
10705,
18,
1467,
1435,
480,
374,
13,
9506,
202,
4012,
7790,
4726,
5621,
1082,
202,
12107,
309,
12,
4106,
18,
588,
5507,
1396,
2932,
9355,
1398,
5661,
6,
3719,
1082,
202,
95,
9506,
202,
759,
309,
21683,
353,
4832,
7676,
7983,
16,
3504,
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,
225,
202,
482,
918,
729,
1210,
12,
3001,
462,
13,
202,
95,
202,
202,
430,
12,
5,
291,
15470,
10756,
202,
202,
95,
1082,
202,
588,
6364,
8691,
7675,
2196,
881,
5621,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
430,
12,
343,
422,
296,
296,
597,
9771,
6073,
6904,
18,
588,
12271,
1398,
1210,
1435,
1082,
202,
10,
10,
9771,
6073,
6904,
18,
12320,
5895,
27216,
12,
1945,
16,
5743,
3719,
1082,
202,
2463,
31,
202,
202,
12107,
309,
12,
343,
422,
2337,
88,
6134,
202,
202,
95,
1082,
202,
430,
12,
10705,
18,
1467,
1435,
422,
404,
13,
1082,
202,
95,
9506,
202,
6233,
357,
273,
261,
6233,
13,
10705,
18,
2956,
861,
12,
20,
1769,
2
] |
public ISessionFactory getSessionFactory()
|
protected ISessionFactory getSessionFactory()
|
public ISessionFactory getSessionFactory() { return new ISessionFactory() { public Session newSession() { return new WebSession(WebApplication.this); } }; }
|
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/b055f79413113c185469762439fcacf85c1d3af7/WebApplication.java/buggy/wicket/src/java/wicket/protocol/http/WebApplication.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
2157,
1733,
7183,
1733,
1435,
202,
95,
202,
202,
2463,
394,
467,
2157,
1733,
1435,
202,
202,
95,
1082,
202,
482,
3877,
394,
2157,
1435,
1082,
202,
95,
9506,
202,
2463,
394,
2999,
2157,
12,
4079,
3208,
18,
2211,
1769,
1082,
202,
97,
202,
202,
20451,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
2157,
1733,
7183,
1733,
1435,
202,
95,
202,
202,
2463,
394,
467,
2157,
1733,
1435,
202,
202,
95,
1082,
202,
482,
3877,
394,
2157,
1435,
1082,
202,
95,
9506,
202,
2463,
394,
2999,
2157,
12,
4079,
3208,
18,
2211,
1769,
1082,
202,
97,
202,
202,
20451,
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
] |
String tempMain = System.getProperty(MAIN_CLASS_PROPERTY, MAIN_CLASS);
|
String tempMain = getProperty(MAIN_CLASS_PROPERTY, MAIN_CLASS); if(debug) System.out.println("Using Main class: " + tempMain);
|
private void run(String[] args) throws LauncherException, MalformedURLException { String muleHomeProperty = System.getProperty(MULE_HOME_PROPERTY); File muleHome = null; File sourceJar = Locator.getClassSource(getClass()); File jarDir = sourceJar.getParentFile(); if (muleHomeProperty != null) { muleHome = new File(muleHomeProperty); } if (muleHome == null || !muleHome.exists()) { muleHome = jarDir.getParentFile(); System.setProperty(MULE_HOME_PROPERTY, muleHome.getAbsolutePath()); } if (!muleHome.exists()) { throw new LauncherException("Mule home is set incorrectly or ant could not be located"); } List libPaths = new ArrayList(); String cpString = null; List argList = new ArrayList(); String[] newArgs; boolean noClassPath = false; for (int i = 0; i < args.length; ++i) { if (args[i].equals("-lib")) { if (i == args.length - 1) { throw new LauncherException("The -lib argument must be followed by a library location"); } libPaths.add(args[++i]); } else if (args[i].equals("-cp")) { if (i == args.length - 1) { throw new LauncherException("The -cp argument must be followed by a classpath expression"); } if (cpString != null) { throw new LauncherException("The -cp argument must not be repeated"); } cpString = args[++i]; } else if (args[i].equals("--noclasspath") || args[i].equals("-noclasspath")) { noClassPath = true; } else { argList.add(args[i]); } } //decide whether to copy the existing arg set, or //build a new one from the list of all args excluding the special //operations that only we handle if (argList.size() == args.length) { newArgs = args; } else { newArgs = (String[]) argList.toArray(new String[argList.size()]); } List libPathURLs = new ArrayList(); if (cpString != null && !noClassPath) { addPath(cpString, false, libPathURLs); } for (Iterator i = libPaths.iterator(); i.hasNext();) { String libPath = (String) i.next(); addPath(libPath, true, libPathURLs); } URL[] libJars = (URL[]) libPathURLs.toArray(new URL[libPathURLs.size()]); // Now try and find JAVA_HOME File toolsJar = Locator.getToolsJar(); // determine Mule library directory for system jars: use property // or default using location of mule-launcher.jar File muleLibDir = null; File muleLibOptDir = null; String muleLibDirProperty = System.getProperty(MULE_LIB_DIR_PROPERTY); if (muleLibDirProperty != null) { muleLibDir = new File(muleLibDirProperty); } if ((muleLibDir == null) || !muleLibDir.exists()) { muleLibDir = new File(muleHome + File.separator + "lib"); System.setProperty(MULE_LIB_DIR_PROPERTY, muleLibDir.getAbsolutePath()); } if ((muleLibDir == null) || !muleLibDir.exists()) { muleLibDir = jarDir; System.setProperty(MULE_LIB_DIR_PROPERTY, muleLibDir.getAbsolutePath()); } URL[] systemJars = Locator.getLocationURLs(muleLibDir); muleLibOptDir = new File(muleLibDir.getAbsolutePath() + File.separator + "opt"); URL[] muleOptJars = muleLibOptDir.exists() ? Locator.getLocationURLs(muleLibOptDir) : new URL[0]; int numJars = libJars.length + muleOptJars.length + systemJars.length; if (toolsJar != null) { numJars++; } URL[] jars = new URL[numJars]; System.arraycopy(libJars, 0, jars, 0, libJars.length); System.arraycopy(muleOptJars, 0, jars, libJars.length, muleOptJars.length); System.arraycopy(systemJars, 0, jars, muleOptJars.length + libJars.length, systemJars.length); if (toolsJar != null) { jars[jars.length - 1] = toolsJar.toURL(); } // now update the class.path property StringBuffer baseClassPath = new StringBuffer(System.getProperty(JAVA_CLASS_PATH)); if (baseClassPath.charAt(baseClassPath.length() - 1) == File.pathSeparatorChar) { baseClassPath.setLength(baseClassPath.length() - 1); } for (int i = 0; i < jars.length; ++i) { baseClassPath.append(File.pathSeparatorChar); baseClassPath.append(Locator.fromURI(jars[i].toString())); } System.setProperty(JAVA_CLASS_PATH, baseClassPath.toString()); URLClassLoader loader = new URLClassLoader(jars); Thread.currentThread().setContextClassLoader(loader); String tempMain = System.getProperty(MAIN_CLASS_PROPERTY, MAIN_CLASS); Class mainClass = null; try { mainClass = loader.loadClass(tempMain); } catch (Exception ex) { System.err.println("Incompatible version of org.mule.tools.laucher detected"); File mainJar = Locator.getClassSource(mainClass); System.err.println("Location of this class is: " + mainJar); } Method main = null; try { main = mainClass.getMethod("main", new Class[]{String[].class}); } catch (NoSuchMethodException e) { System.err.println("There is no main(String[] args) method on launch class: " + mainClass); e.printStackTrace(System.err); } catch (SecurityException e) { System.err.println("A Security Exception blocked access to the main method of class: " + mainClass); e.printStackTrace(System.err); } try { main.invoke(mainClass, new Object[]{newArgs}); } catch (Exception e) { System.err.println("Failed to invoke class: " + mainClass); e.printStackTrace(System.err); } }
|
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/7a5ef2aace62a25ac69bb9a4b9ce269b43b008e5/Launcher.java/clean/tools/launcher/src/java/org/mule/tools/launcher/Launcher.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1086,
12,
780,
8526,
833,
13,
1216,
14643,
264,
503,
16,
20710,
288,
3639,
514,
312,
725,
8684,
1396,
273,
2332,
18,
588,
1396,
12,
49,
5595,
67,
14209,
67,
9900,
1769,
3639,
1387,
312,
725,
8684,
273,
446,
31,
3639,
1387,
1084,
10813,
273,
2851,
639,
18,
588,
797,
1830,
12,
588,
797,
10663,
3639,
1387,
7334,
1621,
273,
1084,
10813,
18,
588,
3054,
812,
5621,
3639,
309,
261,
81,
725,
8684,
1396,
480,
446,
13,
288,
5411,
312,
725,
8684,
273,
394,
1387,
12,
81,
725,
8684,
1396,
1769,
3639,
289,
3639,
309,
261,
81,
725,
8684,
422,
446,
747,
401,
81,
725,
8684,
18,
1808,
10756,
288,
5411,
312,
725,
8684,
273,
7334,
1621,
18,
588,
3054,
812,
5621,
5411,
2332,
18,
542,
1396,
12,
49,
5595,
67,
14209,
67,
9900,
16,
312,
725,
8684,
18,
588,
10368,
743,
10663,
3639,
289,
3639,
309,
16051,
81,
725,
8684,
18,
1808,
10756,
288,
5411,
604,
394,
14643,
264,
503,
2932,
49,
725,
6382,
353,
444,
25621,
578,
17841,
3377,
486,
506,
13801,
8863,
3639,
289,
3639,
987,
2561,
4466,
273,
394,
2407,
5621,
3639,
514,
3283,
780,
273,
446,
31,
3639,
987,
1501,
682,
273,
394,
2407,
5621,
3639,
514,
8526,
394,
2615,
31,
3639,
1250,
1158,
22158,
273,
629,
31,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
833,
18,
2469,
31,
965,
77,
13,
288,
5411,
309,
261,
1968,
63,
77,
8009,
14963,
2932,
17,
2941,
6,
3719,
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,
1086,
12,
780,
8526,
833,
13,
1216,
14643,
264,
503,
16,
20710,
288,
3639,
514,
312,
725,
8684,
1396,
273,
2332,
18,
588,
1396,
12,
49,
5595,
67,
14209,
67,
9900,
1769,
3639,
1387,
312,
725,
8684,
273,
446,
31,
3639,
1387,
1084,
10813,
273,
2851,
639,
18,
588,
797,
1830,
12,
588,
797,
10663,
3639,
1387,
7334,
1621,
273,
1084,
10813,
18,
588,
3054,
812,
5621,
3639,
309,
261,
81,
725,
8684,
1396,
480,
446,
13,
288,
5411,
312,
725,
8684,
273,
394,
1387,
12,
81,
725,
8684,
1396,
1769,
3639,
289,
3639,
309,
261,
81,
725,
8684,
422,
446,
747,
401,
81,
725,
8684,
18,
1808,
10756,
288,
5411,
312,
725,
8684,
273,
7334,
2
] |
long latestRemaining = 0;
|
DatanodeInfo chooseTarget(TreeSet forbidden1, TreeSet forbidden2, UTF8 clientMachine) { // // Check if there are any available targets at all // int totalMachines = datanodeMap.size(); if (totalMachines == 0) { LOG.warning("While choosing target, totalMachines is " + totalMachines); return null; } // // Build a map of forbidden hostnames from the two forbidden sets. // TreeSet forbiddenMachines = new TreeSet(); if (forbidden1 != null) { for (Iterator it = forbidden1.iterator(); it.hasNext(); ) { DatanodeInfo cur = (DatanodeInfo) it.next(); forbiddenMachines.add(cur.getHost()); } } if (forbidden2 != null) { for (Iterator it = forbidden2.iterator(); it.hasNext(); ) { DatanodeInfo cur = (DatanodeInfo) it.next(); forbiddenMachines.add(cur.getHost()); } } // // Build list of machines we can actually choose from // long latestRemaining = 0; Vector targetList = new Vector(); for (Iterator it = datanodeMap.values().iterator(); it.hasNext(); ) { DatanodeInfo node = (DatanodeInfo) it.next(); if (! forbiddenMachines.contains(node.getHost())) { targetList.add(node); latestRemaining += node.getRemaining(); } } // // Now pick one // if (targetList.size() > 0) { // // If the requester's machine is in the targetList, // and it's got the capacity, pick it. // if (clientMachine != null && clientMachine.getLength() > 0) { for (Iterator it = targetList.iterator(); it.hasNext(); ) { DatanodeInfo node = (DatanodeInfo) it.next(); if (clientMachine.equals(node.getHost())) { if (node.getRemaining() > BLOCK_SIZE * MIN_BLOCKS_FOR_WRITE) { return node; } } } } // // Otherwise, choose node according to target capacity // double target = Math.abs(r.nextDouble()) * latestRemaining; for (Iterator it = targetList.iterator(); it.hasNext(); ) { DatanodeInfo node = (DatanodeInfo) it.next(); target -= node.getRemaining(); if ((node.getRemaining() > BLOCK_SIZE * MIN_BLOCKS_FOR_WRITE) && (target <= 0)) { return node; } } // // That should do the trick. But we might not be able // to pick any node if the target was out of bytes. As // a last resort, pick the first valid one we can find. // for (Iterator it = targetList.iterator(); it.hasNext(); ) { DatanodeInfo node = (DatanodeInfo) it.next(); if (node.getRemaining() > BLOCK_SIZE * MIN_BLOCKS_FOR_WRITE) { return node; } } LOG.warning("Could not find any nodes with sufficient capacity"); return null; } else { LOG.warning("Zero targets found, forbidden1.size=" + ( forbidden1 != null ? forbidden1.size() : 0 ) + " forbidden2.size()=" + ( forbidden2 != null ? forbidden2.size() : 0 )); return null; } }
|
48130 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48130/7a7b8bb6fd81d75ae88f7a43ee799bf7422dcca0/FSNamesystem.java/buggy/src/java/org/apache/hadoop/dfs/FSNamesystem.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
26739,
966,
9876,
2326,
12,
2471,
694,
17987,
21,
16,
19461,
17987,
22,
16,
6380,
28,
1004,
6981,
13,
288,
3639,
368,
3639,
368,
2073,
309,
1915,
854,
1281,
2319,
5774,
622,
777,
3639,
368,
3639,
509,
2078,
25222,
273,
28710,
863,
18,
1467,
5621,
3639,
309,
261,
4963,
25222,
422,
374,
13,
288,
5411,
2018,
18,
8551,
2932,
15151,
24784,
310,
1018,
16,
2078,
25222,
353,
315,
397,
2078,
25222,
1769,
5411,
327,
446,
31,
3639,
289,
3639,
368,
3639,
368,
3998,
279,
852,
434,
17987,
1479,
1973,
628,
326,
2795,
17987,
1678,
18,
3639,
368,
3639,
19461,
17987,
25222,
273,
394,
19461,
5621,
3639,
309,
261,
1884,
9215,
21,
480,
446,
13,
288,
5411,
364,
261,
3198,
518,
273,
17987,
21,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
262,
288,
7734,
26739,
966,
662,
273,
261,
5139,
14085,
966,
13,
518,
18,
4285,
5621,
7734,
17987,
25222,
18,
1289,
12,
1397,
18,
588,
2594,
10663,
5411,
289,
3639,
289,
3639,
309,
261,
1884,
9215,
22,
480,
446,
13,
288,
5411,
364,
261,
3198,
518,
273,
17987,
22,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
262,
288,
7734,
26739,
966,
662,
273,
261,
5139,
14085,
966,
13,
518,
18,
4285,
5621,
7734,
17987,
25222,
18,
1289,
12,
1397,
18,
588,
2594,
10663,
5411,
289,
3639,
289,
3639,
368,
3639,
368,
3998,
666,
434,
15942,
732,
848,
6013,
9876,
628,
3639,
368,
9079,
5589,
1018,
682,
273,
394,
5589,
5621,
3639,
364,
261,
3198,
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,
26739,
966,
9876,
2326,
12,
2471,
694,
17987,
21,
16,
19461,
17987,
22,
16,
6380,
28,
1004,
6981,
13,
288,
3639,
368,
3639,
368,
2073,
309,
1915,
854,
1281,
2319,
5774,
622,
777,
3639,
368,
3639,
509,
2078,
25222,
273,
28710,
863,
18,
1467,
5621,
3639,
309,
261,
4963,
25222,
422,
374,
13,
288,
5411,
2018,
18,
8551,
2932,
15151,
24784,
310,
1018,
16,
2078,
25222,
353,
315,
397,
2078,
25222,
1769,
5411,
327,
446,
31,
3639,
289,
3639,
368,
3639,
368,
3998,
279,
852,
434,
17987,
1479,
1973,
628,
326,
2795,
17987,
1678,
18,
3639,
368,
3639,
19461,
17987,
25222,
273,
394,
19461,
5621,
3639,
309,
261,
1884,
9215,
21,
480,
446,
13,
288,
5411,
364,
261,
2
] |
|
if (!isEMailAvailable()) {
|
if (!isEMailAvailable()) {
|
public SendEMailDialog(Frame parent, Session session ) { if (!isEMailAvailable()) { JOptionPane.showMessageDialog(parent, LangTool.getString("messages.noEmailAPI"), "Error", JOptionPane.ERROR_MESSAGE,null); } else { this.session = session; Screen5250 screen = session.getScreen(); Object[] message = new Object[1]; message[0] = setupMailPanel("tn5250j.txt"); String[] options = new String[3]; int result = 0; while (result == 0 || result == 2) { // setup the dialog options setOptions(options); result = JOptionPane.showOptionDialog( parent, // the parent that the dialog blocks message, // the dialog message array LangTool.getString("em.title"), // the title of the dialog window JOptionPane.DEFAULT_OPTION, // option type JOptionPane.QUESTION_MESSAGE, // message type null, // optional icon, use null to use the default icon options, // options string array, will be made into buttons// options[0] // option that should be made into a default button ); switch(result) { case 0: // Send it SendEMail sem = new SendEMail(); sem.setConfigFile("SMTPProperties.cfg"); sem.setTo((String)toAddress.getSelectedItem()); sem.setSubject(subject.getText()); if (bodyText.getText().length() >0) sem.setMessage(bodyText.getText()); if (attachmentName.getText().length() > 0) sem.setAttachmentName(attachmentName.getText()); StringBuffer sb = new StringBuffer(); char[] s = screen.getScreenAsChars(); int c = screen.getCols(); int l = screen.getRows() * c; int col = 0; for (int x = 0; x < l; x++,col++) { sb.append(s[x]); if (col == c) { sb.append('\n'); col = 0; } } sem.setAttachment(sb.toString()); // send the information sendIt(parent,sem); sem.release(); sem = null; break; case 1: // Cancel // System.out.println("Cancel"); break; case 2: // Configure SMTP configureSMTP(parent); // System.out.println("Cancel"); break; default: break; } } } }
|
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/587af9e9ad98a6fc095602838327da784630b619/SendEMailDialog.java/clean/tn5250j/src/org/tn5250j/mailtools/SendEMailDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
2479,
3375,
671,
6353,
12,
3219,
982,
16,
3877,
1339,
262,
288,
1377,
309,
16051,
291,
3375,
671,
5268,
10756,
288,
540,
804,
1895,
8485,
18,
4500,
1079,
6353,
12,
2938,
16,
4766,
4202,
13346,
6364,
18,
588,
780,
2932,
6833,
18,
2135,
4134,
2557,
6,
3631,
4766,
4202,
315,
668,
3113,
4766,
4202,
804,
1895,
8485,
18,
3589,
67,
8723,
16,
2011,
1769,
1377,
289,
1377,
469,
288,
540,
333,
18,
3184,
273,
1339,
31,
540,
10146,
25,
26520,
5518,
273,
1339,
18,
588,
7956,
5621,
540,
1033,
8526,
1377,
883,
273,
394,
1033,
63,
21,
15533,
540,
883,
63,
20,
65,
273,
3875,
6759,
5537,
2932,
5088,
25,
26520,
78,
18,
5830,
8863,
540,
514,
8526,
702,
273,
394,
514,
63,
23,
15533,
540,
509,
563,
273,
374,
31,
540,
1323,
261,
2088,
422,
374,
747,
563,
422,
576,
13,
288,
5411,
368,
3875,
326,
6176,
702,
5411,
16526,
12,
2116,
1769,
5411,
563,
273,
804,
1895,
8485,
18,
4500,
1895,
6353,
12,
7734,
982,
16,
18701,
368,
326,
982,
716,
326,
6176,
4398,
7734,
883,
16,
21821,
368,
326,
6176,
883,
526,
7734,
13346,
6364,
18,
588,
780,
2932,
351,
18,
2649,
6,
3631,
565,
368,
326,
2077,
434,
326,
6176,
2742,
7734,
804,
1895,
8485,
18,
5280,
67,
7425,
16,
3639,
368,
1456,
618,
7734,
804,
1895,
8485,
18,
4740,
1146,
67,
8723,
16,
1377,
368,
883,
618,
7734,
446,
16,
17311,
368,
3129,
4126,
16,
999,
446,
358,
999,
326,
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,
1071,
2479,
3375,
671,
6353,
12,
3219,
982,
16,
3877,
1339,
262,
288,
1377,
309,
16051,
291,
3375,
671,
5268,
10756,
288,
540,
804,
1895,
8485,
18,
4500,
1079,
6353,
12,
2938,
16,
4766,
4202,
13346,
6364,
18,
588,
780,
2932,
6833,
18,
2135,
4134,
2557,
6,
3631,
4766,
4202,
315,
668,
3113,
4766,
4202,
804,
1895,
8485,
18,
3589,
67,
8723,
16,
2011,
1769,
1377,
289,
1377,
469,
288,
540,
333,
18,
3184,
273,
1339,
31,
540,
10146,
25,
26520,
5518,
273,
1339,
18,
588,
7956,
5621,
540,
1033,
8526,
1377,
883,
273,
394,
1033,
63,
21,
15533,
540,
883,
63,
20,
65,
273,
3875,
6759,
5537,
2932,
5088,
25,
26520,
78,
18,
5830,
8863,
540,
514,
2
] |
public String paren_chunk() throws RecognitionException { String text = null; Token loc=null; String chunk = null; StringBuffer buf = null; Integer channel = null; try { // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1069:10: (loc= LEFT_PAREN ( (~ (LEFT_PAREN|RIGHT_PAREN))=>~ (LEFT_PAREN|RIGHT_PAREN) | ( paren_chunk )=>chunk= paren_chunk )* loc= RIGHT_PAREN ) // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1069:10: loc= LEFT_PAREN ( (~ (LEFT_PAREN|RIGHT_PAREN))=>~ (LEFT_PAREN|RIGHT_PAREN) | ( paren_chunk )=>chunk= paren_chunk )* loc= RIGHT_PAREN { if ( backtracking==0 ) { channel = ((SwitchingCommonTokenStream)input).getTokenTypeChannel( WS ); ((SwitchingCommonTokenStream)input).setTokenTypeChannel( WS, Token.DEFAULT_CHANNEL ); buf = new StringBuffer(); } loc=(Token)input.LT(1); match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_paren_chunk2449); if (failed) return text; if ( backtracking==0 ) { buf.append( loc.getText()); } // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1079:3: ( (~ (LEFT_PAREN|RIGHT_PAREN))=>~ (LEFT_PAREN|RIGHT_PAREN) | ( paren_chunk )=>chunk= paren_chunk )* loop39: do { int alt39=3; int LA39_0 = input.LA(1); if ( ((LA39_0>=ID && LA39_0<=FLOAT)||(LA39_0>=LEFT_SQUARE && LA39_0<=73)) ) { alt39=1; } else if ( (LA39_0==LEFT_PAREN) ) { alt39=2; } switch (alt39) { case 1 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1080:4: (~ (LEFT_PAREN|RIGHT_PAREN))=>~ (LEFT_PAREN|RIGHT_PAREN) { if ( (input.LA(1)>=ID && input.LA(1)<=FLOAT)||(input.LA(1)>=LEFT_SQUARE && input.LA(1)<=73) ) { input.consume(); errorRecovery=false;failed=false; } else { if (backtracking>0) {failed=true; return text;} MismatchedSetException mse = new MismatchedSetException(null,input); recoverFromMismatchedSet(input,mse,FOLLOW_set_in_paren_chunk2465); throw mse; } if ( backtracking==0 ) { buf.append( input.LT(-1).getText() ); } } break; case 2 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1085:4: ( paren_chunk )=>chunk= paren_chunk { pushFollow(FOLLOW_paren_chunk_in_paren_chunk2489); chunk=paren_chunk(); _fsp--; if (failed) return text; if ( backtracking==0 ) { buf.append( chunk ); } } break; default : break loop39; } } while (true); if ( backtracking==0 ) { if( channel != null ) { ((SwitchingCommonTokenStream)input).setTokenTypeChannel(WS, channel.intValue()); } else { ((SwitchingCommonTokenStream)input).setTokenTypeChannel(WS, Token.HIDDEN_CHANNEL); } } loc=(Token)input.LT(1); match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_paren_chunk2525); if (failed) return text; if ( backtracking==0 ) { buf.append( loc.getText() ); text = buf.toString(); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return text; }
|
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/f28aebf2f687a31e4e9c59db745d1344bea3d924/DRLParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/DRLParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
22146,
67,
6551,
1435,
1216,
9539,
288,
6647,
514,
977,
273,
446,
31,
3639,
3155,
1515,
33,
2011,
31,
3639,
514,
2441,
273,
446,
31,
21821,
6674,
1681,
273,
446,
31,
10402,
2144,
1904,
273,
446,
31,
13491,
775,
288,
5411,
368,
463,
31027,
14915,
1695,
10649,
8464,
1695,
10649,
8464,
7482,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
2163,
8148,
30,
2163,
30,
261,
1829,
33,
9686,
67,
15111,
261,
261,
98,
261,
10066,
67,
15111,
96,
11847,
67,
15111,
3719,
9207,
98,
261,
10066,
67,
15111,
96,
11847,
67,
15111,
13,
571,
261,
22146,
67,
6551,
13216,
6551,
33,
22146,
67,
6551,
8618,
1515,
33,
13135,
67,
15111,
262,
5411,
368,
463,
31027,
14915,
1695,
10649,
8464,
1695,
10649,
8464,
7482,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
2163,
8148,
30,
2163,
30,
1515,
33,
9686,
67,
15111,
261,
261,
98,
261,
10066,
67,
15111,
96,
11847,
67,
15111,
3719,
9207,
98,
261,
10066,
67,
15111,
96,
11847,
67,
15111,
13,
571,
261,
22146,
67,
6551,
13216,
6551,
33,
22146,
67,
6551,
8618,
1515,
33,
13135,
67,
15111,
5411,
288,
5411,
309,
261,
6888,
631,
20,
262,
288,
11794,
202,
5411,
1904,
273,
14015,
10200,
310,
6517,
1345,
1228,
13,
2630,
2934,
588,
28675,
2909,
12,
7649,
11272,
7734,
1082,
565,
14015,
10200,
310,
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,
22146,
67,
6551,
1435,
1216,
9539,
288,
6647,
514,
977,
273,
446,
31,
3639,
3155,
1515,
33,
2011,
31,
3639,
514,
2441,
273,
446,
31,
21821,
6674,
1681,
273,
446,
31,
10402,
2144,
1904,
273,
446,
31,
13491,
775,
288,
5411,
368,
463,
31027,
14915,
1695,
10649,
8464,
1695,
10649,
8464,
7482,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
2163,
8148,
30,
2163,
30,
261,
1829,
33,
9686,
67,
15111,
261,
261,
98,
261,
10066,
67,
15111,
96,
11847,
67,
15111,
3719,
9207,
98,
261,
10066,
67,
15111,
96,
11847,
67,
15111,
13,
571,
261,
22146,
67,
6551,
13216,
6551,
33,
22146,
2
] |
||
syntaxErrorCount = compilerEnv.getSyntaxErrorCount(); if (syntaxErrorCount == 0) { if (isPrimary) { return new Object[] { scriptClassName, scriptClassBytes }; } int functionCount = tree.getFunctionCount(); ObjToIntMap functionNames = new ObjToIntMap(functionCount); for (int i = 0; i != functionCount; ++i) { FunctionNode ofn = tree.getFunctionNode(i); String name = ofn.getFunctionName(); if (name != null && name.length() != 0) { functionNames.put(name, ofn.getParamCount()); } } if (superClass == null) { superClass = ScriptRuntime.ObjectClass; } byte[] mainClassBytes = JavaAdapter.createAdapterCode( functionNames, mainClassName, superClass, interfaces, scriptClassName); return new Object[] { mainClassName, mainClassBytes, scriptClassName, scriptClassBytes };
|
if (isPrimary) { return new Object[] { scriptClassName, scriptClassBytes }; } int functionCount = tree.getFunctionCount(); ObjToIntMap functionNames = new ObjToIntMap(functionCount); for (int i = 0; i != functionCount; ++i) { FunctionNode ofn = tree.getFunctionNode(i); String name = ofn.getFunctionName(); if (name != null && name.length() != 0) { functionNames.put(name, ofn.getParamCount());
|
public Object[] compileToClassFiles(String source, String sourceLocation, int lineno, String mainClassName) { Parser p = new Parser(compilerEnv); ScriptOrFnNode tree = p.parse(source, sourceLocation, lineno); int syntaxErrorCount = compilerEnv.getSyntaxErrorCount(); if (syntaxErrorCount == 0) { String encodedSource = p.getEncodedSource(); Class superClass = getTargetExtends(); Class[] interfaces = getTargetImplements(); String scriptClassName; boolean isPrimary = (interfaces == null && superClass == null); if (isPrimary) { scriptClassName = mainClassName; } else { scriptClassName = makeAuxiliaryClassName(mainClassName, "1"); } Codegen codegen = new Codegen(); byte[] scriptClassBytes = codegen.compileToClassFile(compilerEnv, scriptClassName, tree, encodedSource, false); syntaxErrorCount = compilerEnv.getSyntaxErrorCount(); if (syntaxErrorCount == 0) { if (isPrimary) { return new Object[] { scriptClassName, scriptClassBytes }; } int functionCount = tree.getFunctionCount(); ObjToIntMap functionNames = new ObjToIntMap(functionCount); for (int i = 0; i != functionCount; ++i) { FunctionNode ofn = tree.getFunctionNode(i); String name = ofn.getFunctionName(); if (name != null && name.length() != 0) { functionNames.put(name, ofn.getParamCount()); } } if (superClass == null) { superClass = ScriptRuntime.ObjectClass; } byte[] mainClassBytes = JavaAdapter.createAdapterCode( functionNames, mainClassName, superClass, interfaces, scriptClassName); return new Object[] { mainClassName, mainClassBytes, scriptClassName, scriptClassBytes }; } } String msg = ScriptRuntime.getMessage1( "msg.got.syntax.errors", String.valueOf(syntaxErrorCount)); throw compilerEnv.getErrorReporter(). runtimeError(msg, sourceLocation, lineno, null, 0); }
|
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/4414205de51bdf42acaabd12132990e8acd9fea0/ClassCompiler.java/buggy/src/org/mozilla/javascript/optimizer/ClassCompiler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
8526,
4074,
774,
797,
2697,
12,
780,
1084,
16,
4766,
3639,
514,
1084,
2735,
16,
4766,
3639,
509,
7586,
16,
4766,
3639,
514,
2774,
3834,
13,
565,
288,
3639,
6783,
293,
273,
394,
6783,
12,
9576,
3491,
1769,
3639,
7739,
1162,
5372,
907,
2151,
273,
293,
18,
2670,
12,
3168,
16,
1084,
2735,
16,
7586,
1769,
3639,
509,
6279,
668,
1380,
273,
5274,
3491,
18,
588,
22510,
1380,
5621,
3639,
309,
261,
14308,
668,
1380,
422,
374,
13,
288,
5411,
514,
3749,
1830,
273,
293,
18,
588,
10397,
1830,
5621,
5411,
1659,
18846,
273,
8571,
19581,
5621,
5411,
1659,
8526,
7349,
273,
8571,
17516,
5621,
5411,
514,
2728,
3834,
31,
5411,
1250,
353,
6793,
273,
261,
15898,
422,
446,
597,
18846,
422,
446,
1769,
5411,
309,
261,
291,
6793,
13,
288,
7734,
2728,
3834,
273,
2774,
3834,
31,
5411,
289,
469,
288,
7734,
2728,
3834,
273,
1221,
21981,
20606,
3834,
12,
5254,
3834,
16,
315,
21,
8863,
5411,
289,
5411,
3356,
4507,
23198,
273,
394,
3356,
4507,
5621,
5411,
1160,
8526,
2728,
797,
2160,
7734,
273,
23198,
18,
11100,
774,
797,
812,
12,
9576,
3491,
16,
2728,
3834,
16,
4766,
2398,
2151,
16,
3749,
1830,
16,
4766,
2398,
629,
1769,
5411,
6279,
668,
1380,
273,
5274,
3491,
18,
588,
22510,
1380,
5621,
5411,
309,
261,
14308,
668,
1380,
422,
374,
13,
288,
7734,
309,
261,
291,
6793,
13,
288,
10792,
327,
394,
1033,
8526,
288,
2728,
3834,
16,
2728,
797,
2160,
289,
31,
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,
1071,
1033,
8526,
4074,
774,
797,
2697,
12,
780,
1084,
16,
4766,
3639,
514,
1084,
2735,
16,
4766,
3639,
509,
7586,
16,
4766,
3639,
514,
2774,
3834,
13,
565,
288,
3639,
6783,
293,
273,
394,
6783,
12,
9576,
3491,
1769,
3639,
7739,
1162,
5372,
907,
2151,
273,
293,
18,
2670,
12,
3168,
16,
1084,
2735,
16,
7586,
1769,
3639,
509,
6279,
668,
1380,
273,
5274,
3491,
18,
588,
22510,
1380,
5621,
3639,
309,
261,
14308,
668,
1380,
422,
374,
13,
288,
5411,
514,
3749,
1830,
273,
293,
18,
588,
10397,
1830,
5621,
5411,
1659,
18846,
273,
8571,
19581,
5621,
5411,
1659,
8526,
7349,
273,
8571,
17516,
5621,
5411,
514,
2728,
3834,
31,
5411,
1250,
353,
6793,
273,
261,
2
] |
Vector3f radVect = new Vector3f(box.xExtent, box.yExtent, box.zExtent);
|
Vector3f radVect = tmpRadVect; radVect.set(box.xExtent, box.yExtent, box.zExtent);
|
public BoundingVolume mergeLocal(BoundingVolume volume) { if (volume == null) { return this; } if (volume instanceof BoundingSphere) { BoundingSphere sphere = (BoundingSphere) volume; float temp_radius = sphere.getRadius(); Vector3f temp_center = sphere.getCenter(); return merge(temp_radius, temp_center, this); } else if (volume instanceof BoundingBox) { BoundingBox box = (BoundingBox) volume; Vector3f radVect = new Vector3f(box.xExtent, box.yExtent, box.zExtent); Vector3f temp_center = box.getCenter(); return merge(radVect.length(), temp_center, this); } else if (volume instanceof OrientedBoundingBox) { return mergeOBB((OrientedBoundingBox) volume); } else { return null; } }
|
19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/6aaba14bb39fd6af9aea6f599180d9ac7dbd923d/BoundingSphere.java/clean/src/com/jme/bounding/BoundingSphere.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
12281,
310,
4545,
2691,
2042,
12,
3499,
310,
4545,
3940,
13,
288,
3639,
309,
261,
9491,
422,
446,
13,
288,
327,
333,
31,
289,
3639,
309,
261,
9491,
1276,
12281,
310,
22747,
13,
288,
5411,
12281,
310,
22747,
20041,
273,
261,
3499,
310,
22747,
13,
3940,
31,
5411,
1431,
1906,
67,
11282,
273,
20041,
18,
588,
10196,
5621,
5411,
5589,
23,
74,
1906,
67,
5693,
273,
20041,
18,
588,
8449,
5621,
5411,
327,
2691,
12,
5814,
67,
11282,
16,
1906,
67,
5693,
16,
333,
1769,
3639,
289,
469,
309,
261,
9491,
1276,
25245,
13,
288,
5411,
25245,
3919,
273,
261,
19020,
13,
3940,
31,
5411,
5589,
23,
74,
6719,
58,
386,
273,
394,
5589,
23,
74,
12,
2147,
18,
92,
17639,
16,
3919,
18,
93,
17639,
16,
10792,
3919,
18,
94,
17639,
1769,
5411,
5589,
23,
74,
1906,
67,
5693,
273,
3919,
18,
588,
8449,
5621,
5411,
327,
2691,
12,
6012,
58,
386,
18,
2469,
9334,
1906,
67,
5693,
16,
333,
1769,
3639,
289,
469,
309,
261,
9491,
1276,
531,
10977,
329,
19020,
13,
288,
5411,
327,
2691,
5704,
38,
12443,
51,
10977,
329,
19020,
13,
3940,
1769,
3639,
289,
469,
288,
5411,
327,
446,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
12281,
310,
4545,
2691,
2042,
12,
3499,
310,
4545,
3940,
13,
288,
3639,
309,
261,
9491,
422,
446,
13,
288,
327,
333,
31,
289,
3639,
309,
261,
9491,
1276,
12281,
310,
22747,
13,
288,
5411,
12281,
310,
22747,
20041,
273,
261,
3499,
310,
22747,
13,
3940,
31,
5411,
1431,
1906,
67,
11282,
273,
20041,
18,
588,
10196,
5621,
5411,
5589,
23,
74,
1906,
67,
5693,
273,
20041,
18,
588,
8449,
5621,
5411,
327,
2691,
12,
5814,
67,
11282,
16,
1906,
67,
5693,
16,
333,
1769,
3639,
289,
469,
309,
261,
9491,
1276,
25245,
13,
288,
5411,
25245,
3919,
273,
261,
19020,
13,
3940,
31,
5411,
5589,
23,
74,
6719,
58,
386,
273,
394,
5589,
23,
74,
12,
2
] |
public TA_RetCode CDLEVENINGSTAR(int startIdx, int endIdx, double inOpen[], double inHigh[], double inLow[], double inClose[], double optInPenetration, MInteger outBegIdx, MInteger outNbElement, int outInteger[]) {
|
public TA_RetCode CDLEVENINGSTAR( int startIdx, int endIdx, double inOpen[], double inHigh[], double inLow[], double inClose[], double optInPenetration, MInteger outBegIdx, MInteger outNbElement, int outInteger[] ) {
|
public TA_RetCode CDLEVENINGSTAR(int startIdx, int endIdx, double inOpen[], double inHigh[], double inLow[], double inClose[], double optInPenetration, MInteger outBegIdx, MInteger outNbElement, int outInteger[]) { double BodyShortPeriodTotal, BodyLongPeriodTotal, BodyShortPeriodTotal2; int i, outIdx, BodyShortTrailingIdx, BodyLongTrailingIdx, lookbackTotal; if (startIdx < 0) return TA_RetCode.TA_OUT_OF_RANGE_START_INDEX; if ((endIdx < 0) || (endIdx < startIdx)) return TA_RetCode.TA_OUT_OF_RANGE_END_INDEX; if (optInPenetration == (-4e+37)) optInPenetration = 3.000000e-1; else if ((optInPenetration < 0.000000e+0) || (optInPenetration > 3.000000e+37)) return TA_RetCode.TA_BAD_PARAM; lookbackTotal = CDLEVENINGSTAR_Lookback(optInPenetration); if (startIdx < lookbackTotal) startIdx = lookbackTotal; if (startIdx > endIdx) { outBegIdx.value = 0; outNbElement.value = 0; return TA_RetCode.TA_SUCCESS; } BodyLongPeriodTotal = 0; BodyShortPeriodTotal = 0; BodyShortPeriodTotal2 = 0; BodyLongTrailingIdx = startIdx - 2 - (this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].avgPeriod); BodyShortTrailingIdx = startIdx - 1 - (this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].avgPeriod); i = BodyLongTrailingIdx; while (i < startIdx - 2) { BodyLongPeriodTotal += ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0))); i++; } i = BodyShortTrailingIdx; while (i < startIdx - 1) { BodyShortPeriodTotal += ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0))); BodyShortPeriodTotal2 += ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i + 1] - inOpen[i + 1])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i + 1] - inLow[i + 1]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i + 1] - (inClose[i + 1] >= inOpen[i + 1] ? inClose[i + 1] : inOpen[i + 1])) + ((inClose[i + 1] >= inOpen[i + 1] ? inOpen[i + 1] : inClose[i + 1]) - inLow[i + 1]) : 0))); i++; } i = startIdx; outIdx = 0; do { if ((Math.abs(inClose[i - 2] - inOpen[i - 2])) > ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].avgPeriod) != 0.0 ? BodyLongPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 2] - inOpen[i - 2])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 2] - inLow[i - 2]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 2] - (inClose[i - 2] >= inOpen[i - 2] ? inClose[i - 2] : inOpen[i - 2])) + ((inClose[i - 2] >= inOpen[i - 2] ? inOpen[i - 2] : inClose[i - 2]) - inLow[i - 2]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0)) && (inClose[i - 2] >= inOpen[i - 2] ? 1 : -1) == 1 && (Math.abs(inClose[i - 1] - inOpen[i - 1])) <= ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].avgPeriod) != 0.0 ? BodyShortPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 1] - inOpen[i - 1])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 1] - inLow[i - 1]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 1] - (inClose[i - 1] >= inOpen[i - 1] ? inClose[i - 1] : inOpen[i - 1])) + ((inClose[i - 1] >= inOpen[i - 1] ? inOpen[i - 1] : inClose[i - 1]) - inLow[i - 1]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0)) && ((((inOpen[i - 1]) < (inClose[i - 1])) ? (inOpen[i - 1]) : (inClose[i - 1])) > (((inOpen[i - 2]) > (inClose[i - 2])) ? (inOpen[i - 2]) : (inClose[i - 2]))) && (Math.abs(inClose[i] - inOpen[i])) > ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].avgPeriod) != 0.0 ? BodyShortPeriodTotal2 / (this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0)) && (inClose[i] >= inOpen[i] ? 1 : -1) == -1 && inClose[i] < inClose[i - 2] - (Math.abs(inClose[i - 2] - inOpen[i - 2])) * optInPenetration) outInteger[outIdx++] = -100; else outInteger[outIdx++] = 0; BodyLongPeriodTotal += ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 2] - inOpen[i - 2])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 2] - inLow[i - 2]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 2] - (inClose[i - 2] >= inOpen[i - 2] ? inClose[i - 2] : inOpen[i - 2])) + ((inClose[i - 2] >= inOpen[i - 2] ? inOpen[i - 2] : inClose[i - 2]) - inLow[i - 2]) : 0))) - ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[BodyLongTrailingIdx] - inOpen[BodyLongTrailingIdx])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[BodyLongTrailingIdx] - inLow[BodyLongTrailingIdx]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[BodyLongTrailingIdx] - (inClose[BodyLongTrailingIdx] >= inOpen[BodyLongTrailingIdx] ? inClose[BodyLongTrailingIdx] : inOpen[BodyLongTrailingIdx])) + ((inClose[BodyLongTrailingIdx] >= inOpen[BodyLongTrailingIdx] ? inOpen[BodyLongTrailingIdx] : inClose[BodyLongTrailingIdx]) - inLow[BodyLongTrailingIdx]) : 0))); BodyShortPeriodTotal += ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 1] - inOpen[i - 1])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 1] - inLow[i - 1]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 1] - (inClose[i - 1] >= inOpen[i - 1] ? inClose[i - 1] : inOpen[i - 1])) + ((inClose[i - 1] >= inOpen[i - 1] ? inOpen[i - 1] : inClose[i - 1]) - inLow[i - 1]) : 0))) - ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[BodyShortTrailingIdx] - inOpen[BodyShortTrailingIdx])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[BodyShortTrailingIdx] - inLow[BodyShortTrailingIdx]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[BodyShortTrailingIdx] - (inClose[BodyShortTrailingIdx] >= inOpen[BodyShortTrailingIdx] ? inClose[BodyShortTrailingIdx] : inOpen[BodyShortTrailingIdx])) + ((inClose[BodyShortTrailingIdx] >= inOpen[BodyShortTrailingIdx] ? inOpen[BodyShortTrailingIdx] : inClose[BodyShortTrailingIdx]) - inLow[BodyShortTrailingIdx]) : 0))); BodyShortPeriodTotal2 += ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0))) - ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[BodyShortTrailingIdx + 1] - inOpen[BodyShortTrailingIdx + 1])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[BodyShortTrailingIdx + 1] - inLow[BodyShortTrailingIdx + 1]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[BodyShortTrailingIdx + 1] - (inClose[BodyShortTrailingIdx + 1] >= inOpen[BodyShortTrailingIdx + 1] ? inClose[BodyShortTrailingIdx + 1] : inOpen[BodyShortTrailingIdx + 1])) + ((inClose[BodyShortTrailingIdx + 1] >= inOpen[BodyShortTrailingIdx + 1] ? inOpen[BodyShortTrailingIdx + 1] : inClose[BodyShortTrailingIdx + 1]) - inLow[BodyShortTrailingIdx + 1]) : 0))); i++; BodyLongTrailingIdx++; BodyShortTrailingIdx++; } while (i <= endIdx); outNbElement.value = outIdx; outBegIdx.value = startIdx; return TA_RetCode.TA_SUCCESS; }
|
51465 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51465/cf65b93eedaca922be2993fe424b023f73c7562d/Core.java/buggy/trunk/ta-lib/java/src/TA/Lib/Core.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
399,
37,
67,
7055,
1085,
21508,
900,
58,
1157,
1360,
20943,
12,
474,
27108,
16,
509,
679,
4223,
16,
1645,
316,
3678,
63,
6487,
1082,
202,
9056,
316,
8573,
63,
6487,
1645,
316,
10520,
63,
6487,
1645,
316,
4605,
63,
6487,
1082,
202,
9056,
2153,
382,
24251,
278,
7034,
16,
490,
4522,
596,
24059,
4223,
16,
490,
4522,
596,
22816,
1046,
16,
1082,
202,
474,
596,
4522,
63,
5717,
288,
202,
202,
9056,
5652,
4897,
5027,
5269,
16,
5652,
3708,
5027,
5269,
16,
5652,
4897,
5027,
5269,
22,
31,
202,
202,
474,
277,
16,
596,
4223,
16,
5652,
4897,
16808,
4223,
16,
5652,
3708,
16808,
4223,
16,
2324,
823,
5269,
31,
202,
202,
430,
261,
1937,
4223,
411,
374,
13,
1082,
202,
2463,
399,
37,
67,
7055,
1085,
18,
9833,
67,
5069,
67,
3932,
67,
15928,
67,
7570,
67,
9199,
31,
202,
202,
430,
14015,
409,
4223,
411,
374,
13,
747,
261,
409,
4223,
411,
27108,
3719,
1082,
202,
2463,
399,
37,
67,
7055,
1085,
18,
9833,
67,
5069,
67,
3932,
67,
15928,
67,
4415,
67,
9199,
31,
202,
202,
430,
261,
3838,
382,
24251,
278,
7034,
422,
24927,
24,
73,
15,
6418,
3719,
1082,
202,
3838,
382,
24251,
278,
7034,
273,
890,
18,
9449,
73,
17,
21,
31,
202,
202,
12107,
309,
14015,
3838,
382,
24251,
278,
7034,
411,
374,
18,
9449,
73,
15,
20,
13,
9506,
202,
20081,
261,
3838,
382,
24251,
278,
7034,
405,
890,
18,
9449,
73,
15,
6418,
3719,
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,
399,
37,
67,
7055,
1085,
21508,
900,
58,
1157,
1360,
20943,
12,
474,
27108,
16,
509,
679,
4223,
16,
1645,
316,
3678,
63,
6487,
1082,
202,
9056,
316,
8573,
63,
6487,
1645,
316,
10520,
63,
6487,
1645,
316,
4605,
63,
6487,
1082,
202,
9056,
2153,
382,
24251,
278,
7034,
16,
490,
4522,
596,
24059,
4223,
16,
490,
4522,
596,
22816,
1046,
16,
1082,
202,
474,
596,
4522,
63,
5717,
288,
202,
202,
9056,
5652,
4897,
5027,
5269,
16,
5652,
3708,
5027,
5269,
16,
5652,
4897,
5027,
5269,
22,
31,
202,
202,
474,
277,
16,
596,
4223,
16,
5652,
4897,
16808,
4223,
16,
5652,
3708,
16808,
4223,
16,
2324,
823,
5269,
31,
202,
202,
430,
261,
1937,
2
] |
historyContext = MylarPlugin.getContextManager().getActivityHistoryMetaContext();
|
historyContext = ContextCorePlugin.getContextManager().getActivityHistoryMetaContext();
|
public void testImportFromAllFromFolder() { TaskList taskList = MylarTaskListPlugin.getTaskListManager().getTaskList(); MylarContext historyContext = MylarPlugin.getContextManager().getActivityHistoryMetaContext(); assertNotNull(taskList); assertNotNull(historyContext); assertTrue(taskList.getAllTasks().size() == 0); assertTrue(historyContext.getInteractionHistory().size() == 0); assertEquals(0, MylarTaskListPlugin.getRepositoryManager().getAllRepositories().size()); wizardPage.setParameters(true, true, true, true, false, sourceDirFile.getPath(), ""); wizard.performFinish(); Collection<ITask> tasks = taskList.getAllTasks(); assertTrue(tasks.size() > 0); for (ITask task : tasks) { assertTrue(MylarPlugin.getContextManager().hasContext(task.getHandleIdentifier())); } historyContext = MylarPlugin.getContextManager().getActivityHistoryMetaContext(); assertNotNull(historyContext); assertTrue(historyContext.getInteractionHistory().size() > 0); assertEquals(2, MylarTaskListPlugin.getRepositoryManager().getAllRepositories().size()); }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/b23efbfef800ff6f85224f036d6a11e9fab7acba/TaskDataImportTest.java/buggy/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/TaskDataImportTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
5010,
1265,
1595,
1265,
3899,
1435,
288,
202,
202,
2174,
682,
1562,
682,
273,
8005,
7901,
2174,
682,
3773,
18,
588,
2174,
682,
1318,
7675,
588,
2174,
682,
5621,
202,
202,
12062,
7901,
1042,
4927,
1042,
273,
8005,
7901,
3773,
18,
29120,
1318,
7675,
588,
6193,
5623,
2781,
1042,
5621,
202,
202,
11231,
5962,
12,
4146,
682,
1769,
202,
202,
11231,
5962,
12,
8189,
1042,
1769,
202,
202,
11231,
5510,
12,
4146,
682,
18,
588,
1595,
6685,
7675,
1467,
1435,
422,
374,
1769,
9506,
202,
11231,
5510,
12,
8189,
1042,
18,
588,
17419,
5623,
7675,
1467,
1435,
422,
374,
1769,
202,
202,
11231,
8867,
12,
20,
16,
8005,
7901,
2174,
682,
3773,
18,
588,
3305,
1318,
7675,
588,
1595,
18429,
7675,
1467,
10663,
9506,
202,
31837,
1964,
18,
542,
2402,
12,
3767,
16,
638,
16,
638,
16,
638,
16,
629,
16,
26844,
812,
18,
588,
743,
9334,
1408,
1769,
202,
202,
31837,
18,
16092,
11641,
5621,
6862,
202,
2532,
32,
1285,
835,
34,
4592,
273,
1562,
682,
18,
588,
1595,
6685,
5621,
202,
202,
11231,
5510,
12,
9416,
18,
1467,
1435,
405,
374,
1769,
202,
202,
1884,
261,
1285,
835,
1562,
294,
4592,
13,
288,
1082,
202,
11231,
5510,
12,
12062,
7901,
3773,
18,
29120,
1318,
7675,
5332,
1042,
12,
4146,
18,
588,
3259,
3004,
1435,
10019,
202,
202,
97,
9506,
202,
8189,
1042,
273,
8005,
7901,
3773,
18,
29120,
1318,
7675,
588,
6193,
5623,
2781,
1042,
5621,
9506,
202,
11231,
5962,
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,
5010,
1265,
1595,
1265,
3899,
1435,
288,
202,
202,
2174,
682,
1562,
682,
273,
8005,
7901,
2174,
682,
3773,
18,
588,
2174,
682,
1318,
7675,
588,
2174,
682,
5621,
202,
202,
12062,
7901,
1042,
4927,
1042,
273,
8005,
7901,
3773,
18,
29120,
1318,
7675,
588,
6193,
5623,
2781,
1042,
5621,
202,
202,
11231,
5962,
12,
4146,
682,
1769,
202,
202,
11231,
5962,
12,
8189,
1042,
1769,
202,
202,
11231,
5510,
12,
4146,
682,
18,
588,
1595,
6685,
7675,
1467,
1435,
422,
374,
1769,
9506,
202,
11231,
5510,
12,
8189,
1042,
18,
588,
17419,
5623,
7675,
1467,
1435,
422,
374,
1769,
202,
202,
11231,
8867,
12,
20,
16,
8005,
7901,
2174,
682,
3773,
18,
588,
2
] |
myFramesCombo.removeAllItems();
|
((DefaultListModel)myFramesList.getModel()).clear();
|
protected void showMessage(MessageDescriptor messageDescriptor) { myThreadsCombo.removeAllItems(); myFramesCombo.removeAllItems(); super.showMessage(messageDescriptor); }
|
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/eee604fdf99765a660276b3ebfa6a879c40c8e11/FramePanel.java/buggy/debugger/impl/com/intellij/debugger/ui/impl/FramePanel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
2405,
1079,
12,
1079,
3187,
883,
3187,
13,
288,
565,
3399,
13233,
16156,
18,
4479,
1595,
3126,
5621,
565,
14015,
1868,
682,
1488,
13,
4811,
15162,
682,
18,
588,
1488,
1435,
2934,
8507,
5621,
565,
2240,
18,
4500,
1079,
12,
2150,
3187,
1769,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
2405,
1079,
12,
1079,
3187,
883,
3187,
13,
288,
565,
3399,
13233,
16156,
18,
4479,
1595,
3126,
5621,
565,
14015,
1868,
682,
1488,
13,
4811,
15162,
682,
18,
588,
1488,
1435,
2934,
8507,
5621,
565,
2240,
18,
4500,
1079,
12,
2150,
3187,
1769,
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
] |
return assignmentOperatorExpression( scope, IASTExpression.Kind.ASSIGNMENTEXPRESSION_OR, conditionalExpression, kind,key);
|
return assignmentOperatorExpression(scope, IASTExpression.Kind.ASSIGNMENTEXPRESSION_OR, conditionalExpression, kind, key);
|
protected IASTExpression assignmentExpression(IASTScope scope, CompletionKind kind, KeywordSetKey key) throws EndOfFileException, BacktrackException { setCompletionValues(scope, kind, key ); if (LT(1) == IToken.t_throw) { return throwExpression(scope,key); } IASTExpression conditionalExpression = conditionalExpression(scope,kind,key); // if the condition not taken, try assignment operators if (conditionalExpression != null && conditionalExpression.getExpressionKind() == IASTExpression.Kind.CONDITIONALEXPRESSION) return conditionalExpression; switch (LT(1)) { case IToken.tASSIGN : return assignmentOperatorExpression( scope, IASTExpression.Kind.ASSIGNMENTEXPRESSION_NORMAL, conditionalExpression, kind,key); case IToken.tSTARASSIGN : return assignmentOperatorExpression( scope, IASTExpression.Kind.ASSIGNMENTEXPRESSION_MULT, conditionalExpression, kind,key); case IToken.tDIVASSIGN : return assignmentOperatorExpression( scope, IASTExpression.Kind.ASSIGNMENTEXPRESSION_DIV, conditionalExpression, kind,key); case IToken.tMODASSIGN : return assignmentOperatorExpression( scope, IASTExpression.Kind.ASSIGNMENTEXPRESSION_MOD, conditionalExpression, kind,key); case IToken.tPLUSASSIGN : return assignmentOperatorExpression( scope, IASTExpression.Kind.ASSIGNMENTEXPRESSION_PLUS, conditionalExpression, kind,key); case IToken.tMINUSASSIGN : return assignmentOperatorExpression( scope, IASTExpression.Kind.ASSIGNMENTEXPRESSION_MINUS, conditionalExpression, kind,key); case IToken.tSHIFTRASSIGN : return assignmentOperatorExpression( scope, IASTExpression.Kind.ASSIGNMENTEXPRESSION_RSHIFT, conditionalExpression, kind,key); case IToken.tSHIFTLASSIGN : return assignmentOperatorExpression( scope, IASTExpression.Kind.ASSIGNMENTEXPRESSION_LSHIFT, conditionalExpression, kind,key); case IToken.tAMPERASSIGN : return assignmentOperatorExpression( scope, IASTExpression.Kind.ASSIGNMENTEXPRESSION_AND, conditionalExpression, kind,key); case IToken.tXORASSIGN : return assignmentOperatorExpression( scope, IASTExpression.Kind.ASSIGNMENTEXPRESSION_XOR, conditionalExpression, kind,key); case IToken.tBITORASSIGN : return assignmentOperatorExpression( scope, IASTExpression.Kind.ASSIGNMENTEXPRESSION_OR, conditionalExpression, kind,key); } return conditionalExpression; }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/85be18a5f9556c1b23f600ca12f088a1d51d3925/ExpressionParser.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ExpressionParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
467,
9053,
2300,
6661,
2300,
12,
45,
9053,
3876,
2146,
16,
20735,
5677,
3846,
16,
18317,
30267,
498,
13,
1216,
4403,
951,
812,
503,
16,
4297,
4101,
503,
288,
202,
202,
542,
11238,
1972,
12,
4887,
16,
3846,
16,
498,
11272,
202,
202,
430,
261,
12050,
12,
21,
13,
422,
467,
1345,
18,
88,
67,
12849,
13,
288,
1082,
202,
2463,
604,
2300,
12,
4887,
16,
856,
1769,
202,
202,
97,
202,
202,
45,
9053,
2300,
11139,
2300,
273,
11139,
2300,
12,
4887,
16,
9224,
16,
856,
1769,
202,
202,
759,
309,
326,
2269,
486,
9830,
16,
775,
6661,
12213,
202,
202,
430,
261,
22019,
2300,
480,
446,
1082,
202,
10,
10,
11139,
2300,
18,
588,
2300,
5677,
1435,
9506,
202,
631,
467,
9053,
2300,
18,
5677,
18,
22017,
37,
21130,
14227,
13,
1082,
202,
2463,
11139,
2300,
31,
202,
202,
9610,
261,
12050,
12,
21,
3719,
288,
1082,
202,
3593,
467,
1345,
18,
88,
23289,
294,
9506,
202,
2463,
6661,
5592,
2300,
12,
6862,
202,
4887,
16,
6862,
202,
45,
9053,
2300,
18,
5677,
18,
23289,
16196,
13439,
14227,
67,
15480,
16,
6862,
202,
22019,
2300,
16,
3846,
16,
856,
1769,
1082,
202,
3593,
467,
1345,
18,
88,
20943,
23289,
294,
9506,
202,
2463,
6661,
5592,
2300,
12,
6862,
202,
4887,
16,
6862,
202,
45,
9053,
2300,
18,
5677,
18,
23289,
16196,
13439,
14227,
67,
12845,
16,
6862,
202,
22019,
2300,
16,
3846,
16,
856,
1769,
1082,
202,
3593,
467,
1345,
18,
88,
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,
1117,
467,
9053,
2300,
6661,
2300,
12,
45,
9053,
3876,
2146,
16,
20735,
5677,
3846,
16,
18317,
30267,
498,
13,
1216,
4403,
951,
812,
503,
16,
4297,
4101,
503,
288,
202,
202,
542,
11238,
1972,
12,
4887,
16,
3846,
16,
498,
11272,
202,
202,
430,
261,
12050,
12,
21,
13,
422,
467,
1345,
18,
88,
67,
12849,
13,
288,
1082,
202,
2463,
604,
2300,
12,
4887,
16,
856,
1769,
202,
202,
97,
202,
202,
45,
9053,
2300,
11139,
2300,
273,
11139,
2300,
12,
4887,
16,
9224,
16,
856,
1769,
202,
202,
759,
309,
326,
2269,
486,
9830,
16,
775,
6661,
12213,
202,
202,
430,
261,
22019,
2300,
480,
446,
1082,
202,
10,
10,
11139,
2300,
18,
588,
2
] |
fCTextTools = new CTextTools(fOverlayStore);
|
fCTextTools = CUIPlugin.getDefault().getTextTools();
|
private Control createPreviewer(Composite parent) { fCTextTools = new CTextTools(fOverlayStore); fPreviewViewer = new SourceViewer(parent, null, SWT.V_SCROLL | SWT.H_SCROLL); fPreviewViewer.configure(new CSourceViewerConfiguration(fCTextTools, null)); fPreviewViewer.getTextWidget().setFont(JFaceResources.getFontRegistry().get(JFaceResources.TEXT_FONT)); fPreviewViewer.setEditable(false); initializeViewerColors(fPreviewViewer); String content = loadPreviewContentFromFile("ColorSettingPreviewCode.txt"); //$NON-NLS-1$ IDocument document = new Document(content); IDocumentPartitioner partitioner = fCTextTools.createDocumentPartitioner(); partitioner.connect(document); document.setDocumentPartitioner(partitioner); fPreviewViewer.setDocument(document); fOverlayStore.addPropertyChangeListener(new IPropertyChangeListener() { public void propertyChange(PropertyChangeEvent event) { String p = event.getProperty(); if (p.equals(AbstractTextEditor.PREFERENCE_COLOR_BACKGROUND) || p.equals(AbstractTextEditor.PREFERENCE_COLOR_BACKGROUND_SYSTEM_DEFAULT)) { initializeViewerColors(fPreviewViewer); } fPreviewViewer.getDocument().set(fPreviewViewer.getDocument().get()); //fPreviewViewer.refresh(); } }); return fPreviewViewer.getControl(); }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/2aad3cda65f7a3db7977e828fdddefdbae6e962e/CEditorPreferencePage.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/CEditorPreferencePage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
8888,
752,
11124,
264,
12,
9400,
982,
13,
288,
202,
202,
74,
1268,
408,
10348,
273,
394,
385,
1528,
10348,
12,
74,
11627,
2257,
1769,
202,
202,
74,
11124,
18415,
273,
394,
4998,
18415,
12,
2938,
16,
446,
16,
348,
8588,
18,
58,
67,
2312,
14555,
571,
348,
8588,
18,
44,
67,
2312,
14555,
1769,
202,
202,
74,
11124,
18415,
18,
14895,
12,
2704,
385,
1830,
18415,
1750,
12,
74,
1268,
408,
10348,
16,
446,
10019,
202,
202,
74,
11124,
18415,
18,
588,
1528,
4609,
7675,
542,
5711,
12,
46,
11824,
3805,
18,
588,
5711,
4243,
7675,
588,
12,
46,
11824,
3805,
18,
5151,
67,
25221,
10019,
202,
202,
74,
11124,
18415,
18,
542,
15470,
12,
5743,
1769,
202,
202,
11160,
18415,
12570,
12,
74,
11124,
18415,
1769,
202,
202,
780,
913,
273,
1262,
11124,
1350,
13087,
2932,
2957,
5568,
11124,
1085,
18,
5830,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
734,
504,
650,
1668,
273,
394,
4319,
12,
1745,
1769,
202,
202,
734,
504,
650,
7003,
264,
3590,
264,
273,
284,
1268,
408,
10348,
18,
2640,
2519,
7003,
264,
5621,
202,
202,
10534,
264,
18,
3612,
12,
5457,
1769,
202,
202,
5457,
18,
542,
2519,
7003,
264,
12,
10534,
264,
1769,
202,
202,
74,
11124,
18415,
18,
542,
2519,
12,
5457,
1769,
202,
202,
74,
11627,
2257,
18,
1289,
1396,
15744,
12,
2704,
467,
1396,
15744,
1435,
288,
1082,
202,
482,
918,
1272,
3043,
12,
1396,
20930,
871,
13,
288,
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,
8888,
752,
11124,
264,
12,
9400,
982,
13,
288,
202,
202,
74,
1268,
408,
10348,
273,
394,
385,
1528,
10348,
12,
74,
11627,
2257,
1769,
202,
202,
74,
11124,
18415,
273,
394,
4998,
18415,
12,
2938,
16,
446,
16,
348,
8588,
18,
58,
67,
2312,
14555,
571,
348,
8588,
18,
44,
67,
2312,
14555,
1769,
202,
202,
74,
11124,
18415,
18,
14895,
12,
2704,
385,
1830,
18415,
1750,
12,
74,
1268,
408,
10348,
16,
446,
10019,
202,
202,
74,
11124,
18415,
18,
588,
1528,
4609,
7675,
542,
5711,
12,
46,
11824,
3805,
18,
588,
5711,
4243,
7675,
588,
12,
46,
11824,
3805,
18,
5151,
67,
25221,
10019,
202,
202,
74,
11124,
18415,
18,
542,
15470,
12,
2
] |
if (!REPORT_SLOW_LOCK) return;
|
if (!REPORT_SLOW) return;
|
public void check (int w) { if (!REPORT_SLOW_LOCK) return; if (VM.VerifyAssertions) VM._assert(VM_Thread.getCurrentThread() == thread); double diff = (REPORT_SLOW_LOCK) ? VM_Time.now() - start : 0.0; boolean show = (verbose > 1) || (diff > SLOW_LOCK_THRESHOLD); if (show) { VM.sysWrite("Thread "); thread.dump(); VM.sysWrite(" reached point ", w); VM.sysWrite(" while holding lock ", id); VM.sysWrite(" ", name); VM.sysWrite(" at "); VM.sysWrite(1000000.0 * diff); VM.sysWriteln(" micro-seconds"); } where = w; }
|
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/6fc04322cc608b816ad5077eac149e66b669be3c/Lock.java/buggy/rvm/src/vm/memoryManagers/JMTk/utility/Lock.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
866,
261,
474,
341,
13,
288,
565,
309,
16051,
22710,
67,
55,
4130,
13,
327,
31,
565,
309,
261,
7397,
18,
8097,
8213,
1115,
13,
8251,
6315,
11231,
12,
7397,
67,
3830,
18,
588,
3935,
3830,
1435,
422,
2650,
1769,
565,
1645,
3122,
273,
261,
22710,
67,
55,
4130,
67,
6589,
13,
692,
8251,
67,
950,
18,
3338,
1435,
300,
787,
294,
374,
18,
20,
31,
565,
1250,
2405,
273,
261,
11369,
405,
404,
13,
747,
261,
5413,
405,
348,
4130,
67,
6589,
67,
23840,
1769,
565,
309,
261,
4500,
13,
288,
1377,
8251,
18,
9499,
3067,
2932,
3830,
315,
1769,
1377,
2650,
18,
8481,
5621,
1377,
8251,
18,
9499,
3067,
2932,
8675,
1634,
3104,
341,
1769,
1377,
8251,
18,
9499,
3067,
2932,
1323,
19918,
2176,
3104,
612,
1769,
1377,
8251,
18,
9499,
3067,
2932,
3104,
508,
1769,
1377,
8251,
18,
9499,
3067,
2932,
622,
315,
1769,
1377,
8251,
18,
9499,
3067,
12,
21,
9449,
18,
20,
380,
3122,
1769,
1377,
8251,
18,
9499,
4913,
292,
82,
2932,
6481,
17,
7572,
8863,
565,
289,
565,
1625,
273,
341,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
866,
261,
474,
341,
13,
288,
565,
309,
16051,
22710,
67,
55,
4130,
13,
327,
31,
565,
309,
261,
7397,
18,
8097,
8213,
1115,
13,
8251,
6315,
11231,
12,
7397,
67,
3830,
18,
588,
3935,
3830,
1435,
422,
2650,
1769,
565,
1645,
3122,
273,
261,
22710,
67,
55,
4130,
67,
6589,
13,
692,
8251,
67,
950,
18,
3338,
1435,
300,
787,
294,
374,
18,
20,
31,
565,
1250,
2405,
273,
261,
11369,
405,
404,
13,
747,
261,
5413,
405,
348,
4130,
67,
6589,
67,
23840,
1769,
565,
309,
261,
4500,
13,
288,
1377,
8251,
18,
9499,
3067,
2932,
3830,
315,
1769,
1377,
2650,
18,
8481,
5621,
1377,
8251,
18,
9499,
3067,
2932,
8675,
1634,
3104,
341,
2
] |
fileList.addListSelectionListener(createListSelectionListener(fc)); fileList.addMouseListener(this.createDoubleClickListener(fc, fileList)); fileList.addMouseListener(new SingleClickListener(fileList));
|
protected void installListeners(JFileChooser fc) { directoryComboBox.setAction(new DirectoryComboBoxAction()); fileList.addListSelectionListener(createListSelectionListener(fc)); fileList.addMouseListener(this.createDoubleClickListener(fc, fileList)); fileList.addMouseListener(new SingleClickListener(fileList)); fc.addPropertyChangeListener(filterModel); super.installListeners(fc); }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/76fe1616918b9192a8d599c054a35e64237146ed/MetalFileChooserUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalFileChooserUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
3799,
5583,
12,
46,
812,
17324,
8036,
13,
225,
288,
565,
1867,
22199,
18,
542,
1803,
12,
2704,
8930,
22199,
1803,
10663,
565,
18645,
18,
1289,
682,
6233,
2223,
12,
2640,
682,
6233,
2223,
12,
7142,
10019,
565,
18645,
18,
1289,
9186,
2223,
12,
2211,
18,
2640,
5265,
22092,
12,
7142,
16,
18645,
10019,
565,
18645,
18,
1289,
9186,
2223,
12,
2704,
10326,
22092,
12,
768,
682,
10019,
565,
8036,
18,
1289,
1396,
15744,
12,
2188,
1488,
1769,
565,
2240,
18,
5425,
5583,
12,
7142,
1769,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
3799,
5583,
12,
46,
812,
17324,
8036,
13,
225,
288,
565,
1867,
22199,
18,
542,
1803,
12,
2704,
8930,
22199,
1803,
10663,
565,
18645,
18,
1289,
682,
6233,
2223,
12,
2640,
682,
6233,
2223,
12,
7142,
10019,
565,
18645,
18,
1289,
9186,
2223,
12,
2211,
18,
2640,
5265,
22092,
12,
7142,
16,
18645,
10019,
565,
18645,
18,
1289,
9186,
2223,
12,
2704,
10326,
22092,
12,
768,
682,
10019,
565,
8036,
18,
1289,
1396,
15744,
12,
2188,
1488,
1769,
565,
2240,
18,
5425,
5583,
12,
7142,
1769,
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
] |
|
Node.Target jsrtarget = ((Node.Jump)n).getFinally();
|
Node jsrtarget = ((Node.Jump)n).getFinally();
|
private void transformCompilationUnit_r(final ScriptOrFnNode tree, final Node parent) { Node node = null; siblingLoop: for (;;) { Node previous = null; if (node == null) { node = parent.getFirstChild(); } else { previous = node; node = node.getNext(); } if (node == null) { break; } int type = node.getType(); switch (type) { case Token.LABEL: case Token.SWITCH: case Token.LOOP: loops.push(node); loopEnds.push(((Node.Jump)node).target); break; case Token.WITH: { loops.push(node); Node leave = node.getNext(); if (leave.getType() != Token.LEAVEWITH) { Kit.codeBug(); } loopEnds.push(leave); break; } case Token.TRY: { Node.Jump jump = (Node.Jump)node; Node finallytarget = jump.getFinally(); if (finallytarget != null) { hasFinally = true; loops.push(node); loopEnds.push(finallytarget); } break; } case Token.TARGET: case Token.LEAVEWITH: if (!loopEnds.isEmpty() && loopEnds.peek() == node) { loopEnds.pop(); loops.pop(); } break; case Token.RETURN: { /* If we didn't support try/finally, it wouldn't be * necessary to put LEAVEWITH nodes here... but as * we do need a series of JSR FINALLY nodes before * each RETURN, we need to ensure that each finally * block gets the correct scope... which could mean * that some LEAVEWITH nodes are necessary. */ if (!hasFinally) break; // skip the whole mess. Node unwindBlock = null; for (int i=loops.size()-1; i >= 0; i--) { Node n = (Node) loops.get(i); int elemtype = n.getType(); if (elemtype == Token.TRY || elemtype == Token.WITH) { Node unwind; if (elemtype == Token.TRY) { Node.Jump jsrnode = new Node.Jump(Token.JSR); Node.Target jsrtarget = ((Node.Jump)n).getFinally(); jsrnode.target = jsrtarget; unwind = jsrnode; } else { unwind = new Node(Token.LEAVEWITH); } if (unwindBlock == null) { unwindBlock = new Node(Token.BLOCK, node.getLineno()); } unwindBlock.addChildToBack(unwind); } } if (unwindBlock != null) { Node returnNode = node; Node returnExpr = returnNode.getFirstChild(); node = replaceCurrent(parent, previous, node, unwindBlock); if (returnExpr == null) { unwindBlock.addChildToBack(returnNode); } else { Node store = new Node(Token.EXPR_RESULT, returnExpr); unwindBlock.addChildToFront(store); returnNode = new Node(Token.RETURN_RESULT); unwindBlock.addChildToBack(returnNode); // transform return expression transformCompilationUnit_r(tree, store); } // skip transformCompilationUnit_r to avoid infinite loop continue siblingLoop; } break; } case Token.BREAK: case Token.CONTINUE: { Node.Jump jump = (Node.Jump)node; Node.Jump jumpStatement = jump.getJumpStatement(); if (jumpStatement == null) Kit.codeBug(); for (int i = loops.size(); ;) { if (i == 0) { // Parser/IRFactory ensure that break/continue // always has a jump statement associated with it // which should be found throw Kit.codeBug(); } --i; Node n = (Node) loops.get(i); if (n == jumpStatement) { break; } int elemtype = n.getType(); if (elemtype == Token.WITH) { Node leave = new Node(Token.LEAVEWITH); previous = addBeforeCurrent(parent, previous, node, leave); } else if (elemtype == Token.TRY) { Node.Jump tryNode = (Node.Jump)n; Node.Jump jsrFinally = new Node.Jump(Token.JSR); jsrFinally.target = tryNode.getFinally(); previous = addBeforeCurrent(parent, previous, node, jsrFinally); } } if (type == Token.BREAK) { jump.target = jumpStatement.target; } else { jump.target = jumpStatement.getContinue(); } jump.setType(Token.GOTO); break; } case Token.CALL: visitCall(node, tree); break; case Token.NEW: visitNew(node, tree); break; case Token.VAR: { Node result = new Node(Token.BLOCK); for (Node cursor = node.getFirstChild(); cursor != null;) { // Move cursor to next before createAssignment get chance // to change n.next Node n = cursor; if (n.getType() != Token.NAME) Kit.codeBug(); cursor = cursor.getNext(); if (!n.hasChildren()) continue; Node init = n.getFirstChild(); n.removeChild(init); n.setType(Token.BINDNAME); n = new Node(Token.SETNAME, n, init); Node pop = new Node(Token.EXPR_VOID, n, node.getLineno()); result.addChildToBack(pop); } node = replaceCurrent(parent, previous, node, result); break; } case Token.DELPROP: case Token.SETNAME: { if (!inFunction || inWithStatement()) break; Node bind = node.getFirstChild(); if (bind == null || bind.getType() != Token.BINDNAME) break; String name = bind.getString(); if (tree.hasParamOrVar(name)) { if (type == Token.SETNAME) { node.setType(Token.SETVAR); bind.setType(Token.STRING); } else { // Local variables are by definition permanent Node n = new Node(Token.FALSE); node = replaceCurrent(parent, previous, node, n); } } break; } case Token.NAME: { if (!inFunction || inWithStatement()) break; String name = node.getString(); if (tree.hasParamOrVar(name)) { node.setType(Token.GETVAR); } break; } } transformCompilationUnit_r(tree, node); } }
|
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/bef182034b96d54a2938fe141217e83b8644cf25/NodeTransformer.java/clean/js/rhino/src/org/mozilla/javascript/NodeTransformer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2510,
19184,
2802,
67,
86,
12,
6385,
7739,
1162,
5372,
907,
2151,
16,
4766,
5411,
727,
2029,
982,
13,
565,
288,
3639,
2029,
756,
273,
446,
31,
1377,
10841,
6452,
30,
3639,
364,
261,
25708,
13,
288,
5411,
2029,
2416,
273,
446,
31,
5411,
309,
261,
2159,
422,
446,
13,
288,
7734,
756,
273,
982,
18,
588,
3759,
1763,
5621,
5411,
289,
469,
288,
7734,
2416,
273,
756,
31,
7734,
756,
273,
756,
18,
588,
2134,
5621,
5411,
289,
5411,
309,
261,
2159,
422,
446,
13,
288,
7734,
898,
31,
5411,
289,
5411,
509,
618,
273,
756,
18,
588,
559,
5621,
5411,
1620,
261,
723,
13,
288,
2868,
648,
3155,
18,
13545,
30,
2868,
648,
3155,
18,
18746,
25588,
30,
2868,
648,
3155,
18,
28677,
30,
7734,
14075,
18,
6206,
12,
2159,
1769,
7734,
2798,
24980,
18,
6206,
12443,
12,
907,
18,
26743,
13,
2159,
2934,
3299,
1769,
7734,
898,
31,
2868,
648,
3155,
18,
9147,
30,
2868,
288,
7734,
14075,
18,
6206,
12,
2159,
1769,
7734,
2029,
8851,
273,
756,
18,
588,
2134,
5621,
7734,
309,
261,
19574,
18,
588,
559,
1435,
480,
3155,
18,
900,
26714,
9147,
13,
288,
10792,
1475,
305,
18,
710,
19865,
5621,
7734,
289,
7734,
2798,
24980,
18,
6206,
12,
19574,
1769,
7734,
898,
31,
2868,
289,
2868,
648,
3155,
18,
17805,
30,
2868,
288,
7734,
2029,
18,
26743,
11833,
273,
261,
907,
18,
26743,
13,
2159,
31,
7734,
2029,
3095,
3299,
273,
11833,
18,
588,
29987,
5621,
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,
2510,
19184,
2802,
67,
86,
12,
6385,
7739,
1162,
5372,
907,
2151,
16,
4766,
5411,
727,
2029,
982,
13,
565,
288,
3639,
2029,
756,
273,
446,
31,
1377,
10841,
6452,
30,
3639,
364,
261,
25708,
13,
288,
5411,
2029,
2416,
273,
446,
31,
5411,
309,
261,
2159,
422,
446,
13,
288,
7734,
756,
273,
982,
18,
588,
3759,
1763,
5621,
5411,
289,
469,
288,
7734,
2416,
273,
756,
31,
7734,
756,
273,
756,
18,
588,
2134,
5621,
5411,
289,
5411,
309,
261,
2159,
422,
446,
13,
288,
7734,
898,
31,
5411,
289,
5411,
509,
618,
273,
756,
18,
588,
559,
5621,
5411,
1620,
261,
723,
13,
288,
2868,
648,
3155,
18,
13545,
30,
2868,
648,
3155,
2
] |
fireResumeEvent( DebugEvent.CLIENT_REQUEST );
|
detail = DebugEvent.CLIENT_REQUEST;
|
private void handleResumedEvent( ICDIResumedEvent event ) { setRunning( true ); setCurrentStateId( IState.RUNNING ); setCurrentStateInfo( null ); int detail = DebugEvent.UNSPECIFIED; if ( isCurrent() ) { switch( event.getType() ) { case ICDIResumedEvent.CONTINUE: detail = DebugEvent.CLIENT_REQUEST; disposeStackFrames(); break; case ICDIResumedEvent.STEP_INTO: case ICDIResumedEvent.STEP_INTO_INSTRUCTION: detail = DebugEvent.STEP_INTO; preserveStackFrames(); break; case ICDIResumedEvent.STEP_OVER: case ICDIResumedEvent.STEP_OVER_INSTRUCTION: detail = DebugEvent.STEP_OVER; preserveStackFrames(); break; case ICDIResumedEvent.STEP_RETURN: detail = DebugEvent.STEP_RETURN; preserveStackFrames(); break; } } else { disposeStackFrames(); fireResumeEvent( DebugEvent.CLIENT_REQUEST ); } }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/7bb306e845c05ed18d3cb8f07d3e7ebf82f5bc05/CThread.java/buggy/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CThread.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1640,
607,
379,
329,
1133,
12,
26899,
2565,
607,
379,
329,
1133,
871,
262,
202,
95,
202,
202,
542,
7051,
12,
638,
11272,
202,
202,
542,
3935,
1119,
548,
12,
467,
1119,
18,
29358,
11272,
202,
202,
542,
3935,
1119,
966,
12,
446,
11272,
202,
202,
474,
7664,
273,
4015,
1133,
18,
2124,
13847,
13519,
31,
202,
202,
430,
261,
25694,
1435,
262,
202,
202,
95,
1082,
202,
9610,
12,
871,
18,
588,
559,
1435,
262,
1082,
202,
95,
9506,
202,
3593,
26899,
2565,
607,
379,
329,
1133,
18,
6067,
26725,
30,
6862,
202,
8992,
273,
4015,
1133,
18,
11935,
67,
5519,
31,
6862,
202,
2251,
4150,
2624,
15162,
5621,
6862,
202,
8820,
31,
9506,
202,
3593,
26899,
2565,
607,
379,
329,
1133,
18,
26951,
67,
3217,
51,
30,
9506,
202,
3593,
26899,
2565,
607,
379,
329,
1133,
18,
26951,
67,
3217,
51,
67,
706,
3902,
27035,
30,
6862,
202,
8992,
273,
4015,
1133,
18,
26951,
67,
3217,
51,
31,
6862,
202,
27297,
2624,
15162,
5621,
6862,
202,
8820,
31,
9506,
202,
3593,
26899,
2565,
607,
379,
329,
1133,
18,
26951,
67,
12959,
30,
9506,
202,
3593,
26899,
2565,
607,
379,
329,
1133,
18,
26951,
67,
12959,
67,
706,
3902,
27035,
30,
6862,
202,
8992,
273,
4015,
1133,
18,
26951,
67,
12959,
31,
6862,
202,
27297,
2624,
15162,
5621,
6862,
202,
8820,
31,
9506,
202,
3593,
26899,
2565,
607,
379,
329,
1133,
18,
26951,
67,
14033,
30,
6862,
202,
8992,
273,
4015,
1133,
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,
1640,
607,
379,
329,
1133,
12,
26899,
2565,
607,
379,
329,
1133,
871,
262,
202,
95,
202,
202,
542,
7051,
12,
638,
11272,
202,
202,
542,
3935,
1119,
548,
12,
467,
1119,
18,
29358,
11272,
202,
202,
542,
3935,
1119,
966,
12,
446,
11272,
202,
202,
474,
7664,
273,
4015,
1133,
18,
2124,
13847,
13519,
31,
202,
202,
430,
261,
25694,
1435,
262,
202,
202,
95,
1082,
202,
9610,
12,
871,
18,
588,
559,
1435,
262,
1082,
202,
95,
9506,
202,
3593,
26899,
2565,
607,
379,
329,
1133,
18,
6067,
26725,
30,
6862,
202,
8992,
273,
4015,
1133,
18,
11935,
67,
5519,
31,
6862,
202,
2251,
4150,
2624,
15162,
5621,
6862,
202,
8820,
31,
9506,
2
] |
private Item copy(ExpectedWC owner)
|
protected Item copy(ExpectedWC owner)
|
private Item copy(ExpectedWC owner) { return new Item(this, owner); }
|
12019 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12019/56c5116b48685a639c0805f45de56cae28917361/ExpectedWC.java/buggy/src/testcases/org/tigris/subversion/svnclientadapter/basictests/ExpectedWC.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
4750,
4342,
1610,
12,
6861,
59,
39,
3410,
13,
3639,
288,
5411,
327,
394,
4342,
12,
2211,
16,
3410,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4750,
4342,
1610,
12,
6861,
59,
39,
3410,
13,
3639,
288,
5411,
327,
394,
4342,
12,
2211,
16,
3410,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
System.exit(-1);
|
throw new RuntimeException(tfe.getMessage());
|
private String processTransformation() throws TransformerException { String htmlData = null; this.showStatus("Waiting for Transformer and Parser to finish loading and JITing..."); synchronized (m_tfactory) { URL documentURL = null; URL styleURL = null; StringWriter osw = new StringWriter(); PrintWriter pw = new PrintWriter(osw, false); StreamResult result = new StreamResult(pw); this.showStatus("Begin Transformation..."); try { documentURL = new URL(m_codeBase, m_documentURL); StreamSource xmlSource = new StreamSource(documentURL.toString()); styleURL = new URL(m_codeBase, m_styleURL); StreamSource xslSource = new StreamSource(styleURL.toString()); Transformer transformer = m_tfactory.newTransformer(xslSource); Enumeration m_keys = m_parameters.keys(); while (m_keys.hasMoreElements()){ Object key = m_keys.nextElement(); Object expression = m_parameters.get(key); transformer.setParameter((String) key, expression); } transformer.transform(xmlSource, result); } catch (TransformerConfigurationException tfe) { tfe.printStackTrace(); System.exit(-1); } catch (MalformedURLException e) { e.printStackTrace(); System.exit(-1); } this.showStatus("Transformation Done!"); htmlData = osw.toString(); } return htmlData; }
|
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/2d07c253b814672a82d969836d58577bfa628b88/XSLTProcessorApplet.java/buggy/src/org/apache/xalan/client/XSLTProcessorApplet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
514,
1207,
15292,
1435,
1216,
21684,
225,
288,
565,
514,
1729,
751,
273,
446,
31,
565,
333,
18,
4500,
1482,
2932,
15946,
364,
11519,
471,
6783,
358,
4076,
7153,
471,
804,
1285,
310,
7070,
1769,
3639,
3852,
261,
81,
67,
88,
6848,
13,
565,
288,
377,
1976,
1668,
1785,
273,
446,
31,
1377,
1976,
2154,
1785,
273,
446,
31,
1377,
17436,
1140,
91,
273,
394,
17436,
5621,
1377,
14071,
8772,
273,
394,
14071,
12,
538,
91,
16,
629,
1769,
1377,
3961,
1253,
563,
273,
394,
3961,
1253,
12,
14921,
1769,
1850,
333,
18,
4500,
1482,
2932,
8149,
21274,
7070,
1769,
1377,
775,
1377,
288,
3639,
1668,
1785,
273,
394,
1976,
12,
81,
67,
710,
2171,
16,
312,
67,
5457,
1785,
1769,
3639,
3961,
1830,
2025,
1830,
273,
394,
3961,
1830,
12,
5457,
1785,
18,
10492,
10663,
3639,
2154,
1785,
273,
394,
1976,
12,
81,
67,
710,
2171,
16,
312,
67,
4060,
1785,
1769,
3639,
3961,
1830,
20791,
1830,
273,
394,
3961,
1830,
12,
4060,
1785,
18,
10492,
10663,
3639,
11519,
8360,
273,
312,
67,
88,
6848,
18,
2704,
8319,
12,
30903,
1830,
1769,
7734,
13864,
312,
67,
2452,
273,
312,
67,
3977,
18,
2452,
5621,
3639,
1323,
261,
81,
67,
2452,
18,
5332,
7417,
3471,
10756,
95,
1850,
1033,
498,
273,
312,
67,
2452,
18,
4285,
1046,
5621,
1850,
1033,
2652,
273,
312,
67,
3977,
18,
588,
12,
856,
1769,
1850,
8360,
18,
542,
1662,
12443,
780,
13,
498,
16,
2652,
1769,
3639,
289,
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,
3238,
514,
1207,
15292,
1435,
1216,
21684,
225,
288,
565,
514,
1729,
751,
273,
446,
31,
565,
333,
18,
4500,
1482,
2932,
15946,
364,
11519,
471,
6783,
358,
4076,
7153,
471,
804,
1285,
310,
7070,
1769,
3639,
3852,
261,
81,
67,
88,
6848,
13,
565,
288,
377,
1976,
1668,
1785,
273,
446,
31,
1377,
1976,
2154,
1785,
273,
446,
31,
1377,
17436,
1140,
91,
273,
394,
17436,
5621,
1377,
14071,
8772,
273,
394,
14071,
12,
538,
91,
16,
629,
1769,
1377,
3961,
1253,
563,
273,
394,
3961,
1253,
12,
14921,
1769,
1850,
333,
18,
4500,
1482,
2932,
8149,
21274,
7070,
1769,
1377,
775,
1377,
288,
3639,
1668,
1785,
273,
394,
1976,
12,
81,
67,
710,
2171,
16,
312,
2
] |
return "yellow";
|
return BallColor.YELLOW;
|
public String getIconColor() { if(!isBuilding()) { // already built if(result==Result.SUCCESS) return "blue"; if(result== Result.UNSTABLE) return "yellow"; else return "red"; } // a new build is in progress String baseColor; if(previousBuild==null) baseColor = "grey"; else baseColor = previousBuild.getIconColor(); return baseColor +"_anime"; }
|
33184 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/33184/84e0676229b1f5526d4ad0e0107998685f04a0e2/Run.java/clean/core/src/main/java/hudson/model/Run.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
21724,
2957,
1435,
288,
3639,
309,
12,
5,
291,
16713,
10756,
288,
5411,
368,
1818,
6650,
5411,
309,
12,
2088,
631,
1253,
18,
12778,
13,
7734,
327,
315,
14081,
14432,
5411,
309,
12,
2088,
631,
3438,
18,
2124,
882,
2782,
13,
7734,
327,
605,
454,
2957,
18,
61,
2247,
4130,
31,
5411,
469,
7734,
327,
315,
1118,
14432,
3639,
289,
3639,
368,
279,
394,
1361,
353,
316,
4007,
3639,
514,
1026,
2957,
31,
3639,
309,
12,
11515,
3116,
631,
2011,
13,
5411,
1026,
2957,
273,
315,
11556,
93,
14432,
3639,
469,
5411,
1026,
2957,
273,
2416,
3116,
18,
588,
5554,
2957,
5621,
3639,
327,
1026,
2957,
397,
6,
67,
304,
494,
14432,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
21724,
2957,
1435,
288,
3639,
309,
12,
5,
291,
16713,
10756,
288,
5411,
368,
1818,
6650,
5411,
309,
12,
2088,
631,
1253,
18,
12778,
13,
7734,
327,
315,
14081,
14432,
5411,
309,
12,
2088,
631,
3438,
18,
2124,
882,
2782,
13,
7734,
327,
605,
454,
2957,
18,
61,
2247,
4130,
31,
5411,
469,
7734,
327,
315,
1118,
14432,
3639,
289,
3639,
368,
279,
394,
1361,
353,
316,
4007,
3639,
514,
1026,
2957,
31,
3639,
309,
12,
11515,
3116,
631,
2011,
13,
5411,
1026,
2957,
273,
315,
11556,
93,
14432,
3639,
469,
5411,
1026,
2957,
273,
2416,
3116,
18,
588,
5554,
2957,
5621,
3639,
327,
1026,
2957,
397,
6,
67,
304,
494,
14432,
565,
289,
2,
-100,
-100
] |
next_seq_id_to_assign++;
|
next_seq_id_to_assign++;
|
private synchronized void handleRequestMessage( Message msg ) { if ( next_seq_id_to_assign < 0 ) { // we cannot assign a valid sequence id log.error( "Error: TOTAL_OLD.handleRequestMessage() - cannot handle request... do not know what sequence id to assign" ); return; } // make the message a broadcast message to the group msg.setDest( null ); // set the source of the message to be me msg.setSrc( local_addr ); // add the sequence id to the message msg.putHeader(getName(), new TotalHeader( TotalHeader.TOTAL_BCAST, next_seq_id_to_assign ) ); // store a copy of this message is the history Message msg_copy = msg.copy(); ack_history.addMessage( msg_copy, next_seq_id_to_assign ); // begin debug { Object header = msg_copy.getHeader(getName()); if ( !(header instanceof TotalHeader) ) { log.error( "Error: TOTAL_OLD.handleRequestMessage() - BAD: stored message that did not contain a TotalHeader - " + next_seq_id_to_assign ); } } // // end debug // increment the next sequence id to use next_seq_id_to_assign++; // pass this new Message (wrapped in an Event) down the Protocol Stack passDown( new Event( Event.MSG, msg ) ); }
|
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/5ad015d9a78e1da3350d9b398b46b2f5d4508564/TOTAL_OLD.java/clean/src/org/jgroups/protocols/TOTAL_OLD.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3852,
918,
15713,
1079,
12,
2350,
1234,
262,
288,
202,
430,
261,
1024,
67,
5436,
67,
350,
67,
869,
67,
6145,
411,
374,
262,
288,
202,
565,
368,
732,
2780,
2683,
279,
923,
3102,
612,
202,
565,
613,
18,
1636,
12,
315,
668,
30,
399,
19851,
67,
11846,
18,
4110,
691,
1079,
1435,
300,
2780,
1640,
590,
2777,
741,
486,
5055,
4121,
3102,
612,
358,
2683,
6,
11272,
202,
565,
327,
31,
202,
97,
202,
759,
1221,
326,
883,
279,
8959,
883,
358,
326,
1041,
202,
3576,
18,
542,
9378,
12,
446,
11272,
202,
759,
444,
326,
1084,
434,
326,
883,
358,
506,
1791,
202,
3576,
18,
542,
7740,
12,
1191,
67,
4793,
11272,
202,
759,
527,
326,
3102,
612,
358,
326,
883,
202,
3576,
18,
458,
1864,
12,
17994,
9334,
225,
394,
10710,
1864,
12,
10710,
1864,
18,
28624,
67,
38,
21871,
16,
1024,
67,
5436,
67,
350,
67,
869,
67,
6145,
262,
11272,
202,
759,
1707,
279,
1610,
434,
333,
883,
353,
326,
4927,
202,
1079,
1234,
67,
3530,
273,
1234,
18,
3530,
5621,
202,
484,
67,
8189,
18,
1289,
1079,
12,
1234,
67,
3530,
16,
1024,
67,
5436,
67,
350,
67,
869,
67,
6145,
11272,
202,
759,
2376,
1198,
202,
288,
202,
565,
1033,
1446,
273,
1234,
67,
3530,
18,
588,
1864,
12,
17994,
10663,
202,
565,
309,
261,
401,
12,
3374,
1276,
10710,
1864,
13,
262,
288,
202,
202,
1330,
18,
1636,
12,
315,
668,
30,
399,
19851,
67,
11846,
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,
3852,
918,
15713,
1079,
12,
2350,
1234,
262,
288,
202,
430,
261,
1024,
67,
5436,
67,
350,
67,
869,
67,
6145,
411,
374,
262,
288,
202,
565,
368,
732,
2780,
2683,
279,
923,
3102,
612,
202,
565,
613,
18,
1636,
12,
315,
668,
30,
399,
19851,
67,
11846,
18,
4110,
691,
1079,
1435,
300,
2780,
1640,
590,
2777,
741,
486,
5055,
4121,
3102,
612,
358,
2683,
6,
11272,
202,
565,
327,
31,
202,
97,
202,
759,
1221,
326,
883,
279,
8959,
883,
358,
326,
1041,
202,
3576,
18,
542,
9378,
12,
446,
11272,
202,
759,
444,
326,
1084,
434,
326,
883,
358,
506,
1791,
202,
3576,
18,
542,
7740,
12,
1191,
67,
4793,
11272,
202,
759,
527,
2
] |
repositoryPath = d.getArtifactDirectory() + "/poms/" + filename;
|
repositoryPath = dependency.getArtifactDirectory() + "/poms/" + filename; } else if ( LAYOUT_DEFAULT.equals( layout ) ) { String pathGroup = dependency.getGroupId().replace( '.', '/' ); repositoryPath = pathGroup + "/" + dependency.getArtifactId() + "/" + dependency.getVersion(); repositoryPath = repositoryPath + "/" + filename;
|
public File getMetadataFile( String groupId, String artifactId, String version, String type, String filename ) { Dependency d = new Dependency( groupId, artifactId, version, type ); String repositoryPath; if ( LAYOUT_LEGACY.equals( layout ) ) { repositoryPath = d.getArtifactDirectory() + "/poms/" + filename; } else { throw new IllegalStateException( "Unknown layout: " + layout ); } return new File( basedir, repositoryPath ); }
|
11530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11530/bab8d3fd909f5ba07ec58c6ecc29a1011c94f910/Repository.java/buggy/maven-mboot2/src/main/java/model/Repository.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1387,
11159,
812,
12,
514,
6612,
16,
514,
25496,
16,
514,
1177,
16,
514,
618,
16,
514,
1544,
262,
565,
288,
3639,
11993,
302,
273,
394,
11993,
12,
6612,
16,
25496,
16,
1177,
16,
618,
11272,
3639,
514,
3352,
743,
31,
3639,
309,
261,
25239,
5069,
67,
19384,
2226,
61,
18,
14963,
12,
3511,
262,
262,
3639,
288,
5411,
3352,
743,
273,
4904,
18,
588,
7581,
2853,
1435,
397,
2206,
84,
25390,
4898,
397,
1544,
31,
289,
469,
309,
261,
25239,
5069,
67,
5280,
18,
14963,
12,
3511,
262,
262,
288,
514,
589,
1114,
273,
4904,
18,
588,
8722,
7675,
2079,
12,
2611,
16,
2023,
11272,
3352,
743,
273,
589,
1114,
397,
4016,
397,
4904,
18,
588,
7581,
548,
1435,
397,
4016,
397,
4904,
18,
588,
1444,
5621,
3352,
743,
273,
3352,
743,
397,
4016,
397,
1544,
31,
3639,
289,
3639,
469,
3639,
288,
5411,
604,
394,
5477,
12,
315,
4874,
3511,
30,
315,
397,
3511,
11272,
3639,
289,
3639,
327,
394,
1387,
12,
15573,
16,
3352,
743,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1387,
11159,
812,
12,
514,
6612,
16,
514,
25496,
16,
514,
1177,
16,
514,
618,
16,
514,
1544,
262,
565,
288,
3639,
11993,
302,
273,
394,
11993,
12,
6612,
16,
25496,
16,
1177,
16,
618,
11272,
3639,
514,
3352,
743,
31,
3639,
309,
261,
25239,
5069,
67,
19384,
2226,
61,
18,
14963,
12,
3511,
262,
262,
3639,
288,
5411,
3352,
743,
273,
4904,
18,
588,
7581,
2853,
1435,
397,
2206,
84,
25390,
4898,
397,
1544,
31,
289,
469,
309,
261,
25239,
5069,
67,
5280,
18,
14963,
12,
3511,
262,
262,
288,
514,
589,
1114,
273,
4904,
18,
588,
8722,
7675,
2079,
12,
2611,
16,
2023,
11272,
3352,
743,
273,
589,
1114,
397,
4016,
397,
4904,
18,
588,
2
] |
assertInvalidRanges(textRange.getEndOffset(), parent.getTextRange().getEndOffset(), myModel);
|
assertInvalidRanges( textRange.getEndOffset(), parent.getTextRange().getEndOffset(), myModel, "child block end is after parent block end" );
|
private AbstractBlockWrapper buildFrom(final Block rootBlock, final int index, final AbstractBlockWrapper parent, WrapImpl currentWrapParent, final TextRange textRange) { final WrapImpl wrap = ((WrapImpl)rootBlock.getWrap()); if (wrap != null) { wrap.registerParent(currentWrapParent); currentWrapParent = wrap; } final int blockStartOffset = textRange.getStartOffset(); if (parent != null) { if (textRange.getStartOffset() < parent.getTextRange().getStartOffset()) { assertInvalidRanges(textRange.getStartOffset(), parent.getTextRange().getStartOffset(), myModel); } if (textRange.getEndOffset() > parent.getTextRange().getEndOffset()) { assertInvalidRanges(textRange.getEndOffset(), parent.getTextRange().getEndOffset(), myModel); } } myCurrentWhiteSpace.append(blockStartOffset, myModel, myOptions); boolean isReadOnly = isReadOnly(textRange); if (isReadOnly) { return processSimpleBlock(rootBlock, parent, isReadOnly, textRange, index); } else { final List<Block> subBlocks = rootBlock.getSubBlocks(); if (subBlocks.isEmpty()) { return processSimpleBlock(rootBlock, parent, isReadOnly, textRange, index); } else { return processCompositeBlock(rootBlock, parent, textRange, index, subBlocks, currentWrapParent); } } }
|
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/f999fa8b47575880965d9febbcda4bb9e252766e/InitialInfoBuilder.java/clean/source/com/intellij/formatting/InitialInfoBuilder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
4115,
1768,
3611,
1361,
1265,
12,
6385,
3914,
1365,
1768,
16,
29159,
727,
509,
770,
16,
29159,
727,
4115,
1768,
3611,
982,
16,
29159,
4266,
2828,
783,
2964,
3054,
16,
29159,
727,
3867,
2655,
977,
2655,
13,
288,
565,
727,
4266,
2828,
2193,
273,
14015,
2964,
2828,
13,
3085,
1768,
18,
588,
2964,
10663,
565,
309,
261,
4113,
480,
446,
13,
288,
1377,
2193,
18,
4861,
3054,
12,
2972,
2964,
3054,
1769,
1377,
783,
2964,
3054,
273,
2193,
31,
565,
289,
565,
727,
509,
1203,
1685,
2335,
273,
977,
2655,
18,
588,
1685,
2335,
5621,
565,
309,
261,
2938,
480,
446,
13,
288,
1377,
309,
261,
955,
2655,
18,
588,
1685,
2335,
1435,
411,
982,
18,
588,
1528,
2655,
7675,
588,
1685,
2335,
10756,
288,
3639,
1815,
1941,
9932,
12,
955,
2655,
18,
588,
1685,
2335,
9334,
982,
18,
588,
1528,
2655,
7675,
588,
1685,
2335,
9334,
3399,
1488,
1769,
1377,
289,
1377,
309,
261,
955,
2655,
18,
588,
1638,
2335,
1435,
405,
982,
18,
588,
1528,
2655,
7675,
588,
1638,
2335,
10756,
288,
3639,
1815,
1941,
9932,
12,
977,
2655,
18,
588,
1638,
2335,
9334,
982,
18,
588,
1528,
2655,
7675,
588,
1638,
2335,
9334,
3399,
1488,
16,
315,
3624,
1203,
679,
353,
1839,
982,
1203,
679,
6,
11272,
1377,
289,
565,
289,
565,
3399,
3935,
23108,
18,
6923,
12,
2629,
1685,
2335,
16,
3399,
1488,
16,
3399,
1320,
1769,
565,
1250,
26249,
273,
26249,
12,
955,
2655,
1769,
565,
309,
261,
291,
12066,
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,
4115,
1768,
3611,
1361,
1265,
12,
6385,
3914,
1365,
1768,
16,
29159,
727,
509,
770,
16,
29159,
727,
4115,
1768,
3611,
982,
16,
29159,
4266,
2828,
783,
2964,
3054,
16,
29159,
727,
3867,
2655,
977,
2655,
13,
288,
565,
727,
4266,
2828,
2193,
273,
14015,
2964,
2828,
13,
3085,
1768,
18,
588,
2964,
10663,
565,
309,
261,
4113,
480,
446,
13,
288,
1377,
2193,
18,
4861,
3054,
12,
2972,
2964,
3054,
1769,
1377,
783,
2964,
3054,
273,
2193,
31,
565,
289,
565,
727,
509,
1203,
1685,
2335,
273,
977,
2655,
18,
588,
1685,
2335,
5621,
565,
309,
261,
2938,
480,
446,
13,
288,
1377,
309,
261,
955,
2655,
18,
588,
1685,
2335,
1435,
411,
982,
18,
588,
2
] |
value = ((yPos - trackRect.y) * (max - min) / len + min);
|
value = (yPos - trackRect.y) * (max - min) / len + min;
|
int valueForYPosition(int yPos) { int min = scrollbar.getMinimum(); int max = scrollbar.getMaximum(); int len = trackRect.height; int value; // If the length is 0, you shouldn't be able to even see where the thumb is. // This really shouldn't ever happen, but just in case, we'll return the middle. if (len == 0) return ((max - min) / 2); value = ((yPos - trackRect.y) * (max - min) / len + min); // If this isn't a legal value, then we'll have to move to one now. if (value > max) value = max; else if (value < min) value = min; return value; }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicScrollBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicScrollBarUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
509,
460,
1290,
61,
2555,
12,
474,
677,
1616,
13,
225,
288,
565,
509,
1131,
273,
27123,
18,
588,
13042,
5621,
565,
509,
943,
273,
27123,
18,
588,
13528,
5621,
565,
509,
562,
273,
3298,
6120,
18,
4210,
31,
565,
509,
460,
31,
565,
368,
971,
326,
769,
353,
374,
16,
1846,
12044,
1404,
506,
7752,
358,
5456,
2621,
1625,
326,
11156,
353,
18,
565,
368,
1220,
8654,
12044,
1404,
14103,
5865,
16,
1496,
2537,
316,
648,
16,
732,
5614,
327,
326,
7689,
18,
565,
309,
261,
1897,
422,
374,
13,
1377,
327,
14015,
1896,
300,
1131,
13,
342,
576,
1769,
565,
460,
273,
261,
93,
1616,
300,
3298,
6120,
18,
93,
13,
380,
261,
1896,
300,
1131,
13,
342,
562,
397,
1131,
31,
565,
368,
971,
333,
5177,
1404,
279,
19286,
460,
16,
1508,
732,
5614,
1240,
358,
3635,
358,
1245,
2037,
18,
565,
309,
261,
1132,
405,
943,
13,
1377,
460,
273,
943,
31,
565,
469,
309,
261,
1132,
411,
1131,
13,
1377,
460,
273,
1131,
31,
565,
327,
460,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
509,
460,
1290,
61,
2555,
12,
474,
677,
1616,
13,
225,
288,
565,
509,
1131,
273,
27123,
18,
588,
13042,
5621,
565,
509,
943,
273,
27123,
18,
588,
13528,
5621,
565,
509,
562,
273,
3298,
6120,
18,
4210,
31,
565,
509,
460,
31,
565,
368,
971,
326,
769,
353,
374,
16,
1846,
12044,
1404,
506,
7752,
358,
5456,
2621,
1625,
326,
11156,
353,
18,
565,
368,
1220,
8654,
12044,
1404,
14103,
5865,
16,
1496,
2537,
316,
648,
16,
732,
5614,
327,
326,
7689,
18,
565,
309,
261,
1897,
422,
374,
13,
1377,
327,
14015,
1896,
300,
1131,
13,
342,
576,
1769,
565,
460,
273,
261,
93,
1616,
300,
3298,
6120,
18,
93,
13,
380,
261,
1896,
300,
1131,
2
] |
iCodeTop = addByte((byte) TokenStream.LINE, iCodeTop); iCodeTop = addByte((byte)(lineNumber >> 8), iCodeTop); iCodeTop = addByte((byte)(lineNumber & 0xff), iCodeTop);
|
iCodeTop = addByte(TokenStream.LINE, iCodeTop); iCodeTop = addShort(lineNumber, iCodeTop);
|
private int updateLineNumber(Node node, int iCodeTop) { Object datum = node.getDatum(); if (datum == null || !(datum instanceof Number)) return iCodeTop; short lineNumber = ((Number) datum).shortValue(); if (lineNumber != itsLineNumber) { itsLineNumber = lineNumber; if (itsData.itsLineNumberTable == null && Context.getCurrentContext().isGeneratingDebug()) { itsData.itsLineNumberTable = new UintMap(); } if (itsData.itsLineNumberTable != null) { itsData.itsLineNumberTable.put(lineNumber, iCodeTop); } iCodeTop = addByte((byte) TokenStream.LINE, iCodeTop); iCodeTop = addByte((byte)(lineNumber >> 8), iCodeTop); iCodeTop = addByte((byte)(lineNumber & 0xff), iCodeTop); } return iCodeTop; }
|
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/f6c346cc7699c007b0b9b27d9c3cdb5446052c64/Interpreter.java/clean/js/rhino/src/org/mozilla/javascript/Interpreter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
1089,
31063,
12,
907,
756,
16,
509,
277,
1085,
3401,
13,
565,
288,
3639,
1033,
12059,
273,
756,
18,
588,
18268,
5621,
3639,
309,
261,
3404,
379,
422,
446,
747,
401,
12,
3404,
379,
1276,
3588,
3719,
5411,
327,
277,
1085,
3401,
31,
3639,
3025,
13629,
273,
14015,
1854,
13,
12059,
2934,
6620,
620,
5621,
540,
309,
261,
1369,
1854,
480,
2097,
31063,
13,
288,
5411,
2097,
31063,
273,
13629,
31,
5411,
309,
261,
1282,
751,
18,
1282,
31063,
1388,
422,
446,
597,
1171,
1772,
18,
588,
3935,
1042,
7675,
291,
21755,
2829,
10756,
5411,
288,
7734,
2097,
751,
18,
1282,
31063,
1388,
273,
394,
7320,
863,
5621,
5411,
289,
5411,
309,
261,
1282,
751,
18,
1282,
31063,
1388,
480,
446,
13,
288,
7734,
2097,
751,
18,
1282,
31063,
1388,
18,
458,
12,
1369,
1854,
16,
277,
1085,
3401,
1769,
5411,
289,
5411,
277,
1085,
3401,
273,
527,
3216,
12443,
7229,
13,
3155,
1228,
18,
5997,
16,
277,
1085,
3401,
1769,
5411,
277,
1085,
3401,
273,
527,
3216,
12443,
7229,
21433,
1369,
1854,
1671,
1725,
3631,
277,
1085,
3401,
1769,
5411,
277,
1085,
3401,
273,
527,
3216,
12443,
7229,
21433,
1369,
1854,
473,
374,
5297,
3631,
277,
1085,
3401,
1769,
10792,
289,
7734,
327,
277,
1085,
3401,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
1089,
31063,
12,
907,
756,
16,
509,
277,
1085,
3401,
13,
565,
288,
3639,
1033,
12059,
273,
756,
18,
588,
18268,
5621,
3639,
309,
261,
3404,
379,
422,
446,
747,
401,
12,
3404,
379,
1276,
3588,
3719,
5411,
327,
277,
1085,
3401,
31,
3639,
3025,
13629,
273,
14015,
1854,
13,
12059,
2934,
6620,
620,
5621,
540,
309,
261,
1369,
1854,
480,
2097,
31063,
13,
288,
5411,
2097,
31063,
273,
13629,
31,
5411,
309,
261,
1282,
751,
18,
1282,
31063,
1388,
422,
446,
597,
1171,
1772,
18,
588,
3935,
1042,
7675,
291,
21755,
2829,
10756,
5411,
288,
7734,
2097,
751,
18,
1282,
31063,
1388,
273,
394,
7320,
863,
5621,
5411,
289,
5411,
309,
261,
1282,
751,
18,
2
] |
throw NativeGlobal.typeError1("msg.incompat.call", f.getFunctionName(), f);
|
throw ScriptRuntime.typeError1("msg.incompat.call", f.getFunctionName());
|
protected static RuntimeException incompatibleCallError(IdFunction f) { throw NativeGlobal.typeError1("msg.incompat.call", f.getFunctionName(), f); }
|
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/40f7554390dea10ea64bd490d09230d2c0814929/IdScriptable.java/buggy/src/org/mozilla/javascript/IdScriptable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
760,
3235,
24430,
1477,
668,
12,
548,
2083,
284,
13,
565,
288,
3639,
604,
16717,
5160,
18,
723,
668,
21,
2932,
3576,
18,
267,
16239,
18,
1991,
3113,
4766,
1377,
284,
18,
588,
25258,
9334,
284,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
760,
3235,
24430,
1477,
668,
12,
548,
2083,
284,
13,
565,
288,
3639,
604,
16717,
5160,
18,
723,
668,
21,
2932,
3576,
18,
267,
16239,
18,
1991,
3113,
4766,
1377,
284,
18,
588,
25258,
9334,
284,
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
] |
void show(JComponent comp, int x, int y) {
|
public void show(JComponent comp, int x, int y) {
|
void show(JComponent comp, int x, int y) { this.x = x; this.y = y; super.show(comp, x, y); }
|
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/7d1b33a19c3b651c13a0c8102bfbcab16f1967e0/SwingGui.java/clean/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/SwingGui.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2405,
12,
46,
1841,
1161,
16,
509,
619,
16,
509,
677,
13,
288,
3639,
333,
18,
92,
273,
619,
31,
3639,
333,
18,
93,
273,
677,
31,
3639,
2240,
18,
4500,
12,
2919,
16,
619,
16,
677,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2405,
12,
46,
1841,
1161,
16,
509,
619,
16,
509,
677,
13,
288,
3639,
333,
18,
92,
273,
619,
31,
3639,
333,
18,
93,
273,
677,
31,
3639,
2240,
18,
4500,
12,
2919,
16,
619,
16,
677,
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
] |
if (equalsTo(child)) { resolved = child; break;
|
return true;
|
private final ResolveResult[] innerResolve() { final Collection<PsiElement> contexts = getContexts(); Collection<ResolveResult> result = new ArrayList<ResolveResult>(contexts.size()); for (PsiElement context : contexts) { PsiElement resolved = null; if (context instanceof WebDirectoryElement) { if (".".equals(myText)) { resolved = context; } else if ("..".equals(myText)) { resolved = ((WebDirectoryElement)context).getParentDirectory(); } else { WebDirectoryElement[] children = ((WebDirectoryElement)context).getChildren(); for (WebDirectoryElement child : children) { if (equalsTo(child)) { resolved = child.isDirectory() ? child : child.getOriginalFile(); break; } } } } else if (context instanceof PsiDirectory) { if (".".equals(myText)) { resolved = context; } else if ("..".equals(myText)) { resolved = ((PsiDirectory)context).getParentDirectory(); } else { PsiElement[] children = context.getChildren(); for (PsiElement element : children) { PsiFileSystemItem child = (PsiFileSystemItem)element; if (equalsTo(child)) { resolved = child; break; } } } } if (resolved != null) { result.add(new PsiElementResolveResult(resolved)); } } return result.size() > 0? result.toArray(new ResolveResult[result.size()]): ResolveResult.EMPTY_ARRAY; }
|
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/07af9f6ec3a98d0e30f38cfc43c074983ef893d4/FileReference.java/buggy/source/com/intellij/psi/impl/source/resolve/reference/impl/providers/FileReference.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
727,
9910,
1253,
8526,
3443,
8460,
1435,
288,
565,
727,
2200,
32,
52,
7722,
1046,
34,
5781,
273,
6474,
87,
5621,
565,
2200,
32,
8460,
1253,
34,
563,
273,
394,
2407,
32,
8460,
1253,
34,
12,
18332,
18,
1467,
10663,
565,
364,
261,
52,
7722,
1046,
819,
294,
5781,
13,
288,
1377,
453,
7722,
1046,
4640,
273,
446,
31,
1377,
309,
261,
2472,
1276,
2999,
2853,
1046,
13,
288,
3639,
309,
7566,
1199,
18,
14963,
12,
4811,
1528,
3719,
288,
1850,
4640,
273,
819,
31,
3639,
289,
3639,
469,
309,
7566,
838,
9654,
14963,
12,
4811,
1528,
3719,
288,
1850,
4640,
273,
14015,
4079,
2853,
1046,
13,
2472,
2934,
588,
3054,
2853,
5621,
3639,
289,
3639,
469,
288,
1850,
2999,
2853,
1046,
8526,
2325,
273,
14015,
4079,
2853,
1046,
13,
2472,
2934,
588,
4212,
5621,
1850,
364,
261,
4079,
2853,
1046,
1151,
294,
2325,
13,
288,
5411,
309,
261,
14963,
774,
12,
3624,
3719,
288,
2868,
4640,
273,
1151,
18,
291,
2853,
1435,
692,
1151,
294,
1151,
18,
588,
8176,
812,
5621,
2868,
898,
31,
5411,
289,
1850,
289,
3639,
289,
1377,
289,
1377,
469,
309,
261,
2472,
1276,
453,
7722,
2853,
13,
288,
3639,
309,
7566,
1199,
18,
14963,
12,
4811,
1528,
3719,
288,
1850,
4640,
273,
819,
31,
3639,
289,
3639,
469,
309,
7566,
838,
9654,
14963,
12,
4811,
1528,
3719,
288,
1850,
4640,
273,
14015,
52,
7722,
2853,
13,
2472,
2934,
588,
3054,
2853,
5621,
3639,
289,
3639,
469,
288,
1850,
453,
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,
727,
9910,
1253,
8526,
3443,
8460,
1435,
288,
565,
727,
2200,
32,
52,
7722,
1046,
34,
5781,
273,
6474,
87,
5621,
565,
2200,
32,
8460,
1253,
34,
563,
273,
394,
2407,
32,
8460,
1253,
34,
12,
18332,
18,
1467,
10663,
565,
364,
261,
52,
7722,
1046,
819,
294,
5781,
13,
288,
1377,
453,
7722,
1046,
4640,
273,
446,
31,
1377,
309,
261,
2472,
1276,
2999,
2853,
1046,
13,
288,
3639,
309,
7566,
1199,
18,
14963,
12,
4811,
1528,
3719,
288,
1850,
4640,
273,
819,
31,
3639,
289,
3639,
469,
309,
7566,
838,
9654,
14963,
12,
4811,
1528,
3719,
288,
1850,
4640,
273,
14015,
4079,
2853,
1046,
13,
2472,
2934,
588,
3054,
2853,
5621,
3639,
289,
3639,
469,
2
] |
IWorkspace workspace = ResourcesPlugin.getWorkspace();
|
protected void makeActions() { Shell shell = navigator.getSite().getShell(); IWorkspace workspace = ResourcesPlugin.getWorkspace(); openProjectAction = new OpenResourceAction(shell); workspace.addResourceChangeListener(openProjectAction, IResourceChangeEvent.POST_CHANGE); closeProjectAction = new CloseResourceAction(shell); workspace.addResourceChangeListener(closeProjectAction, IResourceChangeEvent.POST_CHANGE); refreshAction = new RefreshAction(shell); refreshAction.setDisabledImageDescriptor(getImageDescriptor("dlcl16/refresh_nav.gif"));//$NON-NLS-1$ refreshAction.setImageDescriptor(getImageDescriptor("elcl16/refresh_nav.gif"));//$NON-NLS-1$ refreshAction.setHoverImageDescriptor(getImageDescriptor("clcl16/refresh_nav.gif"));//$NON-NLS-1$ buildAction = new BuildAction(shell, IncrementalProjectBuilder.INCREMENTAL_BUILD); rebuildAction = new BuildAction(shell, IncrementalProjectBuilder.FULL_BUILD); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/cd413d776bbd8775fb54c36b2d4f73e85035126c/WorkspaceActionGroup.java/clean/bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/navigator/WorkspaceActionGroup.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1221,
6100,
1435,
288,
202,
202,
13220,
5972,
273,
19796,
18,
588,
4956,
7675,
588,
13220,
5621,
202,
202,
45,
8241,
6003,
273,
8128,
3773,
18,
588,
8241,
5621,
202,
202,
3190,
4109,
1803,
273,
394,
3502,
1420,
1803,
12,
10304,
1769,
202,
202,
14915,
18,
1289,
1420,
15744,
12,
3190,
4109,
1803,
16,
467,
1420,
20930,
18,
3798,
67,
14473,
1769,
202,
202,
4412,
4109,
1803,
273,
394,
3527,
1420,
1803,
12,
10304,
1769,
202,
202,
14915,
18,
1289,
1420,
15744,
12,
4412,
4109,
1803,
16,
467,
1420,
20930,
18,
3798,
67,
14473,
1769,
202,
202,
9144,
1803,
273,
394,
14179,
1803,
12,
10304,
1769,
202,
202,
9144,
1803,
18,
542,
8853,
2040,
3187,
12,
588,
2040,
3187,
2932,
5761,
830,
2313,
19,
9144,
67,
11589,
18,
13905,
7923,
1769,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
202,
9144,
1803,
18,
542,
2040,
3187,
12,
588,
2040,
3187,
2932,
292,
830,
2313,
19,
9144,
67,
11589,
18,
13905,
7923,
1769,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
202,
9144,
1803,
18,
542,
21184,
2040,
3187,
12,
588,
2040,
3187,
2932,
830,
830,
2313,
19,
9144,
67,
11589,
18,
13905,
7923,
1769,
759,
8,
3993,
17,
5106,
17,
21,
8,
25083,
202,
3510,
1803,
273,
1082,
202,
2704,
3998,
1803,
12,
10304,
16,
17883,
287,
4109,
1263,
18,
29836,
1013,
67,
20215,
1769,
202,
202,
266,
3510,
1803,
273,
394,
3998,
1803,
12,
10304,
16,
17883,
287,
4109,
1263,
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,
1117,
918,
1221,
6100,
1435,
288,
202,
202,
13220,
5972,
273,
19796,
18,
588,
4956,
7675,
588,
13220,
5621,
202,
202,
45,
8241,
6003,
273,
8128,
3773,
18,
588,
8241,
5621,
202,
202,
3190,
4109,
1803,
273,
394,
3502,
1420,
1803,
12,
10304,
1769,
202,
202,
14915,
18,
1289,
1420,
15744,
12,
3190,
4109,
1803,
16,
467,
1420,
20930,
18,
3798,
67,
14473,
1769,
202,
202,
4412,
4109,
1803,
273,
394,
3527,
1420,
1803,
12,
10304,
1769,
202,
202,
14915,
18,
1289,
1420,
15744,
12,
4412,
4109,
1803,
16,
467,
1420,
20930,
18,
3798,
67,
14473,
1769,
202,
202,
9144,
1803,
273,
394,
14179,
1803,
12,
10304,
1769,
202,
202,
9144,
1803,
18,
542,
8853,
2040,
3187,
2
] |
|
setTickSize(((Double)newValue).doubleValue());
|
setTickSize(((Double) newValue).doubleValue());
|
public void eSet(EStructuralFeature eFeature, Object newValue) { switch (eDerivedStructuralFeatureID(eFeature)) { case ComponentPackage.GRID__LINE_ATTRIBUTES: setLineAttributes((LineAttributes)newValue); return; case ComponentPackage.GRID__TICK_STYLE: setTickStyle((TickStyle)newValue); return; case ComponentPackage.GRID__TICK_ATTRIBUTES: setTickAttributes((LineAttributes)newValue); return; case ComponentPackage.GRID__TICK_SIZE: setTickSize(((Double)newValue).doubleValue()); return; case ComponentPackage.GRID__TICK_COUNT: setTickCount(((Integer)newValue).intValue()); return; } eDynamicSet(eFeature, newValue); }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/GridImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/GridImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
20199,
12,
41,
14372,
4595,
425,
4595,
16,
1033,
6129,
13,
565,
288,
3639,
1620,
261,
73,
21007,
14372,
4595,
734,
12,
73,
4595,
3719,
3639,
288,
5411,
648,
5435,
2261,
18,
6997,
734,
972,
5997,
67,
22308,
30,
7734,
26482,
2498,
12443,
1670,
2498,
13,
2704,
620,
1769,
7734,
327,
31,
5411,
648,
5435,
2261,
18,
6997,
734,
972,
56,
16656,
67,
15066,
30,
7734,
444,
6264,
2885,
12443,
6264,
2885,
13,
2704,
620,
1769,
7734,
327,
31,
5411,
648,
5435,
2261,
18,
6997,
734,
972,
56,
16656,
67,
22308,
30,
7734,
444,
6264,
2498,
12443,
1670,
2498,
13,
2704,
620,
1769,
7734,
327,
31,
5411,
648,
5435,
2261,
18,
6997,
734,
972,
56,
16656,
67,
4574,
30,
7734,
444,
6264,
1225,
12443,
12,
5265,
13,
6129,
2934,
9056,
620,
10663,
7734,
327,
31,
5411,
648,
5435,
2261,
18,
6997,
734,
972,
56,
16656,
67,
7240,
30,
7734,
444,
6264,
1380,
12443,
12,
4522,
13,
2704,
620,
2934,
474,
620,
10663,
7734,
327,
31,
3639,
289,
3639,
425,
9791,
694,
12,
73,
4595,
16,
6129,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
20199,
12,
41,
14372,
4595,
425,
4595,
16,
1033,
6129,
13,
565,
288,
3639,
1620,
261,
73,
21007,
14372,
4595,
734,
12,
73,
4595,
3719,
3639,
288,
5411,
648,
5435,
2261,
18,
6997,
734,
972,
5997,
67,
22308,
30,
7734,
26482,
2498,
12443,
1670,
2498,
13,
2704,
620,
1769,
7734,
327,
31,
5411,
648,
5435,
2261,
18,
6997,
734,
972,
56,
16656,
67,
15066,
30,
7734,
444,
6264,
2885,
12443,
6264,
2885,
13,
2704,
620,
1769,
7734,
327,
31,
5411,
648,
5435,
2261,
18,
6997,
734,
972,
56,
16656,
67,
22308,
30,
7734,
444,
6264,
2498,
12443,
1670,
2498,
13,
2704,
620,
1769,
7734,
327,
31,
5411,
648,
5435,
2261,
18,
6997,
734,
972,
56,
16656,
2
] |
} catch (Exception e) {
|
} catch (Exception e) {
|
public static Object newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler handler) { try { // getProxyClass() and Proxy() throw the necessary exceptions return getProxyClass(loader, interfaces) .getConstructor(new Class[] {InvocationHandler.class}) .newInstance(new Object[] {handler}); } catch (RuntimeException e) { // Let IllegalArgumentException, NullPointerException escape. // assert e instanceof IllegalArgumentException // || e instanceof NullPointerException; throw e; } catch (InvocationTargetException e) { // Let wrapped NullPointerException escape. // assert e.getTargetException() instanceof NullPointerException throw (NullPointerException) e.getCause(); } catch (Exception e) { // Covers InstantiationException, IllegalAccessException, // NoSuchMethodException, none of which should be generated // if the proxy class was generated correctly. // assert false; throw (Error) new InternalError("Unexpected: " + e).initCause(e); } }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4912e36e2c7c8022f56aa40cb456494925b6065d/Proxy.java/buggy/core/src/classpath/java/java/lang/reflect/Proxy.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
394,
3886,
1442,
12,
7805,
4088,
16,
4766,
3639,
1659,
8526,
7349,
16,
4766,
3639,
11298,
1503,
1838,
13,
225,
288,
565,
775,
1377,
288,
5411,
368,
18992,
797,
1435,
471,
7659,
1435,
604,
326,
4573,
4798,
3639,
327,
18992,
797,
12,
6714,
16,
7349,
13,
1850,
263,
588,
6293,
12,
2704,
1659,
8526,
288,
9267,
1503,
18,
1106,
6792,
1850,
263,
2704,
1442,
12,
2704,
1033,
8526,
288,
4176,
22938,
1377,
289,
565,
1044,
261,
11949,
425,
13,
1377,
288,
5411,
368,
10559,
2754,
16,
10108,
4114,
18,
5411,
368,
1815,
425,
1276,
2754,
5411,
368,
282,
747,
425,
1276,
10108,
31,
5411,
604,
425,
31,
1377,
289,
565,
1044,
261,
9267,
14950,
425,
13,
1377,
288,
5411,
368,
10559,
5805,
10108,
4114,
18,
5411,
368,
1815,
425,
18,
588,
14950,
1435,
1276,
10108,
5411,
604,
261,
2041,
9992,
13,
425,
18,
588,
10683,
5621,
1377,
289,
565,
1044,
261,
503,
425,
13,
1377,
288,
5411,
368,
385,
23042,
19248,
16,
11900,
16,
5411,
368,
15959,
16,
6555,
434,
1492,
1410,
506,
4374,
5411,
368,
309,
326,
2889,
667,
1703,
4374,
8783,
18,
5411,
368,
1815,
629,
31,
5411,
604,
261,
668,
13,
394,
3186,
668,
2932,
7762,
30,
315,
397,
425,
2934,
2738,
10683,
12,
73,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
394,
3886,
1442,
12,
7805,
4088,
16,
4766,
3639,
1659,
8526,
7349,
16,
4766,
3639,
11298,
1503,
1838,
13,
225,
288,
565,
775,
1377,
288,
5411,
368,
18992,
797,
1435,
471,
7659,
1435,
604,
326,
4573,
4798,
3639,
327,
18992,
797,
12,
6714,
16,
7349,
13,
1850,
263,
588,
6293,
12,
2704,
1659,
8526,
288,
9267,
1503,
18,
1106,
6792,
1850,
263,
2704,
1442,
12,
2704,
1033,
8526,
288,
4176,
22938,
1377,
289,
565,
1044,
261,
11949,
425,
13,
1377,
288,
5411,
368,
10559,
2754,
16,
10108,
4114,
18,
5411,
368,
1815,
425,
1276,
2754,
5411,
368,
282,
747,
425,
1276,
10108,
31,
5411,
604,
425,
31,
1377,
289,
565,
1044,
261,
9267,
14950,
425,
2
] |
if (tmp != null && tmp.getOpt(Channel.LOCAL).equals(Boolean.FALSE)) { if (local_addr == null) { local_addr = tmp.getLocalAddress();
|
if(tmp != null && tmp.getOpt(Channel.LOCAL).equals(Boolean.FALSE)) { if(local_addr == null) { local_addr=tmp.getLocalAddress();
|
public RspList castMessage(final Vector dests, Message msg, int mode, long timeout) { GroupRequest _req = null; Vector real_dests; Channel tmp; // we need to clone because we don't want to modify the original // (we remove ourselves if LOCAL is false, see below) ! real_dests = dests != null ? (Vector) dests.clone() : (members != null ? (Vector) members.clone() : null); // if local delivery is off, then we should not wait for the message from the local member. // therefore remove it from the membership tmp = channel; if (tmp == null) { if (adapter != null && adapter.getTransport() instanceof Channel) { tmp = (Channel) adapter.getTransport(); } } if (tmp != null && tmp.getOpt(Channel.LOCAL).equals(Boolean.FALSE)) { if (local_addr == null) { local_addr = tmp.getLocalAddress(); } if (local_addr != null && real_dests != null) { real_dests.removeElement(local_addr); } } // don't even send the message if the destination list is empty if (log.isDebugEnabled()) { log.debug("real_dests=" + real_dests); } if (real_dests == null || real_dests.size() == 0) { if (log.isDebugEnabled()) { log.debug("destination list is empty, won't send message"); } return new RspList(); // return empty response list } _req = new GroupRequest(msg, corr, real_dests, mode, timeout, 0); _req.execute(); return _req.getResults(); }
|
48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/896f3041ac6c83d0d1b4ad10041face165c97e1d/MessageDispatcher.java/buggy/src/org/jgroups/blocks/MessageDispatcher.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
534,
1752,
682,
4812,
1079,
12,
6385,
5589,
1570,
87,
16,
2350,
1234,
16,
509,
1965,
16,
1525,
2021,
13,
288,
3639,
3756,
691,
389,
3658,
273,
446,
31,
3639,
5589,
2863,
67,
10488,
87,
31,
3639,
5307,
1853,
31,
3639,
368,
732,
1608,
358,
3236,
2724,
732,
2727,
1404,
2545,
358,
5612,
326,
2282,
3639,
368,
261,
1814,
1206,
19801,
309,
15234,
353,
629,
16,
2621,
5712,
13,
401,
3639,
2863,
67,
10488,
87,
273,
1570,
87,
480,
446,
692,
261,
5018,
13,
1570,
87,
18,
14056,
1435,
294,
261,
7640,
480,
446,
692,
261,
5018,
13,
4833,
18,
14056,
1435,
294,
446,
1769,
3639,
368,
309,
1191,
7912,
353,
3397,
16,
1508,
732,
1410,
486,
2529,
364,
326,
883,
628,
326,
1191,
3140,
18,
3639,
368,
13526,
1206,
518,
628,
326,
12459,
3639,
1853,
273,
1904,
31,
3639,
309,
261,
5645,
422,
446,
13,
288,
5411,
309,
261,
10204,
480,
446,
597,
4516,
18,
588,
6568,
1435,
1276,
5307,
13,
288,
7734,
1853,
273,
261,
2909,
13,
4516,
18,
588,
6568,
5621,
5411,
289,
3639,
289,
3639,
309,
261,
5645,
480,
446,
597,
1853,
18,
588,
6179,
12,
2909,
18,
14922,
2934,
14963,
12,
5507,
18,
21053,
3719,
288,
5411,
309,
261,
3729,
67,
4793,
422,
446,
13,
288,
7734,
1191,
67,
4793,
273,
1853,
18,
588,
2042,
1887,
5621,
5411,
289,
5411,
309,
261,
3729,
67,
4793,
480,
446,
597,
2863,
67,
10488,
87,
480,
446,
13,
288,
7734,
2863,
67,
10488,
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,
534,
1752,
682,
4812,
1079,
12,
6385,
5589,
1570,
87,
16,
2350,
1234,
16,
509,
1965,
16,
1525,
2021,
13,
288,
3639,
3756,
691,
389,
3658,
273,
446,
31,
3639,
5589,
2863,
67,
10488,
87,
31,
3639,
5307,
1853,
31,
3639,
368,
732,
1608,
358,
3236,
2724,
732,
2727,
1404,
2545,
358,
5612,
326,
2282,
3639,
368,
261,
1814,
1206,
19801,
309,
15234,
353,
629,
16,
2621,
5712,
13,
401,
3639,
2863,
67,
10488,
87,
273,
1570,
87,
480,
446,
692,
261,
5018,
13,
1570,
87,
18,
14056,
1435,
294,
261,
7640,
480,
446,
692,
261,
5018,
13,
4833,
18,
14056,
1435,
294,
446,
1769,
3639,
368,
309,
1191,
7912,
353,
3397,
16,
1508,
732,
1410,
486,
2
] |
void namesResolved( String a_oid, List a_names ) ;
|
void namesResolved( String oid, List names );
|
void namesResolved( String a_oid, List a_names ) ;
|
10677 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10677/385a49334a1b7600eef5534ffcf74cdf77039bf0/OidRegistryMonitor.java/buggy/backend/api/src/java/org/apache/eve/schema/OidRegistryMonitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1257,
12793,
12,
514,
279,
67,
839,
16,
987,
279,
67,
1973,
262,
274,
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,
377,
918,
1257,
12793,
12,
514,
279,
67,
839,
16,
987,
279,
67,
1973,
262,
274,
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
] |
super(parent, SWT.NONE); patternFilter = filter; showFilterControls = PlatformUI.getPreferenceStore() .getBoolean(IWorkbenchPreferenceConstants.SHOW_FILTERED_TEXTS); createControl(parent, treeStyle); createRefreshJob(); setInitialText(WorkbenchMessages.FilteredTree_FilterMessage); setFont(parent.getFont()); }
|
super(parent, SWT.NONE); init(parent, treeStyle, filter); }
|
public FilteredTree(Composite parent, int treeStyle, PatternFilter filter) { super(parent, SWT.NONE); patternFilter = filter; showFilterControls = PlatformUI.getPreferenceStore() .getBoolean(IWorkbenchPreferenceConstants.SHOW_FILTERED_TEXTS); createControl(parent, treeStyle); createRefreshJob(); setInitialText(WorkbenchMessages.FilteredTree_FilterMessage); setFont(parent.getFont()); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/0b0649f4859c82b3da415f5b0cea93676f7d0260/FilteredTree.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/dialogs/FilteredTree.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4008,
329,
2471,
12,
9400,
982,
16,
509,
2151,
2885,
16,
6830,
1586,
1034,
13,
288,
3639,
2240,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
3639,
1936,
1586,
273,
1034,
31,
3639,
2405,
1586,
16795,
273,
11810,
5370,
18,
588,
9624,
2257,
1435,
1082,
202,
18,
588,
5507,
12,
45,
2421,
22144,
9624,
2918,
18,
16677,
67,
11126,
2056,
67,
5151,
55,
1769,
3639,
752,
3367,
12,
2938,
16,
2151,
2885,
1769,
3639,
752,
8323,
2278,
5621,
3639,
444,
4435,
1528,
12,
2421,
22144,
5058,
18,
14478,
2471,
67,
1586,
1079,
1769,
202,
202,
542,
5711,
12,
2938,
18,
588,
5711,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4008,
329,
2471,
12,
9400,
982,
16,
509,
2151,
2885,
16,
6830,
1586,
1034,
13,
288,
3639,
2240,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
3639,
1936,
1586,
273,
1034,
31,
3639,
2405,
1586,
16795,
273,
11810,
5370,
18,
588,
9624,
2257,
1435,
1082,
202,
18,
588,
5507,
12,
45,
2421,
22144,
9624,
2918,
18,
16677,
67,
11126,
2056,
67,
5151,
55,
1769,
3639,
752,
3367,
12,
2938,
16,
2151,
2885,
1769,
3639,
752,
8323,
2278,
5621,
3639,
444,
4435,
1528,
12,
2421,
22144,
5058,
18,
14478,
2471,
67,
1586,
1079,
1769,
202,
202,
542,
5711,
12,
2938,
18,
588,
5711,
10663,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public void global() throws RecognitionException { Token id=null; String type = null; try { // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:354:3: ( 'global' type= dotted_name id= ID opt_semicolon ) // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:354:3: 'global' type= dotted_name id= ID opt_semicolon { match(input,33,FOLLOW_33_in_global317); pushFollow(FOLLOW_dotted_name_in_global321); type=dotted_name(); _fsp--; id=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_global325); pushFollow(FOLLOW_opt_semicolon_in_global327); opt_semicolon(); _fsp--; packageDescr.addGlobal( id.getText(), type ); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; }
|
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/6b34eb3854fdc06f31034567ebdf72ff28c6c11a/DRLParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/DRLParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2552,
1435,
1216,
9539,
288,
6647,
3155,
612,
33,
2011,
31,
3639,
514,
618,
273,
446,
31,
1171,
202,
3639,
775,
288,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
4763,
24,
30,
23,
30,
261,
296,
6347,
11,
618,
33,
20965,
67,
529,
612,
33,
1599,
2153,
67,
12000,
17280,
262,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
4763,
24,
30,
23,
30,
296,
6347,
11,
618,
33,
20965,
67,
529,
612,
33,
1599,
2153,
67,
12000,
17280,
5411,
288,
5411,
845,
12,
2630,
16,
3707,
16,
29890,
67,
3707,
67,
267,
67,
6347,
23,
4033,
1769,
2398,
10881,
12,
29890,
67,
9811,
2344,
67,
529,
67,
267,
67,
6347,
1578,
21,
1769,
5411,
618,
33,
9811,
2344,
67,
529,
5621,
5411,
389,
10749,
413,
31,
5411,
612,
28657,
1345,
13,
2630,
18,
12050,
12,
21,
1769,
5411,
845,
12,
2630,
16,
734,
16,
29890,
67,
734,
67,
267,
67,
6347,
1578,
25,
1769,
2398,
10881,
12,
29890,
67,
3838,
67,
12000,
17280,
67,
267,
67,
6347,
1578,
27,
1769,
5411,
2153,
67,
12000,
17280,
5621,
5411,
389,
10749,
413,
31,
7682,
1082,
202,
5610,
16198,
18,
1289,
5160,
12,
612,
18,
588,
1528,
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,
2552,
1435,
1216,
9539,
288,
6647,
3155,
612,
33,
2011,
31,
3639,
514,
618,
273,
446,
31,
1171,
202,
3639,
775,
288,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
4763,
24,
30,
23,
30,
261,
296,
6347,
11,
618,
33,
20965,
67,
529,
612,
33,
1599,
2153,
67,
12000,
17280,
262,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
4763,
24,
30,
23,
30,
296,
6347,
11,
2
] |
||
this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + getNick() + ": " + SPELL_CMD + " <sentence>" + Colors.BOLD);
|
this.sendNotice(sender, DOUBLE_INDENT + bold(getNick() + ": " + SPELL_CMD + " <sentence>"));
|
public void helpResponse(String sender, String cmd) { final String lcmd = cmd.toLowerCase(); if (lcmd.endsWith(HELP_POSTING_KEYWORD)) { this.sendNotice(sender, Colors.BOLD + "Post a URL, by saying it on a line on its own." + Colors.BOLD); this.sendNotice(sender, "I will reply with a label, for example: " + Colors.BOLD + LINK_CMD + '1' + Colors.BOLD); this.sendNotice(sender, "To add a title, use a its label and a pipe:"); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + LINK_CMD + "1:|This is the title"); this.sendNotice(sender, "To add a comment: "); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + LINK_CMD + "1:This is a comment"); this.sendNotice(sender, "I will reply with a label, for example: " + Colors.BOLD + LINK_CMD + "1.1" + Colors.BOLD); this.sendNotice(sender, "To edit a comment, use its label: "); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + LINK_CMD + "1.1:This is an edited comment"); this.sendNotice(sender, "To delete a comment, use its label and a minus sign: "); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + LINK_CMD + "1.1:-" + Colors.BOLD); this.sendNotice(sender, "You can also view a posting by saying its label."); } else if (lcmd.endsWith(VIEW_CMD)) { this.sendNotice(sender, "To list the current URL posts:"); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + getNick() + ": " + VIEW_CMD + Colors.BOLD + " [" + VIEW_ALL_KEYWORD + ']'); } else if (lcmd.endsWith(_channel.substring(1).toLowerCase())) { this.sendNotice(sender, "To list the last 5 posts from the channel's weblog:"); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + getNick() + ": " + _channel.substring(1) + Colors.BOLD); } else if (lcmd.endsWith(GOOGLE_CMD)) { this.sendNotice(sender, "To search Google:"); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + getNick() + ": " + GOOGLE_CMD + " <query>" + Colors.BOLD); } else if (lcmd.endsWith(RECAP_CMD)) { this.sendNotice(sender, "To list the last 10 public channel messages:"); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + getNick() + ": " + RECAP_CMD + Colors.BOLD); } else if (lcmd.endsWith(CALC_CMD)) { this.sendNotice(sender, "To solve a mathematical calculation:"); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + getNick() + ": " + CALC_CMD + " <calculation>" + Colors.BOLD); } else if (lcmd.endsWith(LOOKUP_CMD)) { this.sendNotice(sender, "To perform a DNS lookup query:"); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + getNick() + ": " + LOOKUP_CMD + " <ip address or hostname>" + Colors.BOLD); } else if (lcmd.endsWith(TIME_CMD)) { this.sendNotice(sender, "To display a country's current date/time:"); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + getNick() + ": " + TIME_CMD + Colors.BOLD + " [<country code>]"); this.sendNotice(sender, "For a listing of the supported countries:"); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + getNick() + ": " + TIME_CMD + Colors.BOLD); } else if (lcmd.endsWith(SPELL_CMD)) { this.sendNotice(sender, "To have Google try to correctly spell a sentence:"); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + getNick() + ": " + SPELL_CMD + " <sentence>" + Colors.BOLD); } else if (lcmd.endsWith(STOCK_CMD)) { this.sendNotice(sender, "To retrieve a stock quote:"); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + getNick() + ": " + STOCK_CMD + " <symbol>" + Colors.BOLD); } else if (lcmd.endsWith(DICE_CMD)) { this.sendNotice(sender, "To roll the dice:"); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + getNick() + ": " + DICE_CMD + Colors.BOLD); } else if (lcmd.endsWith(WEATHER_CMD)) { this.sendNotice(sender, "To display weather information:"); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + getNick() + ": " + WEATHER_CMD + Colors.BOLD + " [<station id>]"); this.sendNotice(sender, "For a listing of the ICAO station IDs, please visit: <" + Weather.STATIONS_URL + '>'); } else if (lcmd.endsWith(USERS_CMD)) { this.sendNotice(sender, "To list the users present on the channel:"); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + getNick() + ": " + USERS_CMD + Colors.BOLD); } else if (lcmd.endsWith(INFO_CMD)) { this.sendNotice(sender, "To view information about the bot:"); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + getNick() + ": " + INFO_CMD + Colors.BOLD); } else if (lcmd.endsWith(CYCLE_CMD)) { if (isOp(sender)) { this.sendNotice(sender, "To have the bot leave the channel and come back:"); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + "/msg " + getNick() + ' ' + CYCLE_CMD + Colors.BOLD); } } else if (lcmd.endsWith(ME_CMD)) { if (isOp(sender)) { this.sendNotice(sender, "To have the bot perform an action:"); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + "/msg " + getNick() + ' ' + ME_CMD + " <action>" + Colors.BOLD); } } else if (lcmd.endsWith(SAY_CMD)) { if (isOp(sender)) { this.sendNotice(sender, "To have the bot say something on the channel:"); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + "/msg " + getNick() + ' ' + SAY_CMD + " <text>" + Colors.BOLD); } } else if (lcmd.indexOf(CURRENCY_CMD) != -1) { this.sendNotice(sender, "To convert from one currency to another:"); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + getNick() + ": " + CURRENCY_CMD + " [100 USD to EUR]" + Colors.BOLD); if (lcmd.endsWith(CURRENCY_CMD)) { this.sendNotice(sender, "For a listing of supported currencies:"); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + getNick() + ": " + CURRENCY_CMD + Colors.BOLD); } } else { this.sendNotice(sender, Colors.BOLD + "Type a URL on " + _channel + " to post it." + Colors.BOLD); this.sendNotice(sender, "For more information on specific command, type:"); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + getNick() + ": " + HELP_CMD + " <command>" + Colors.BOLD); this.sendNotice(sender, "The commands are:"); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + CALC_CMD + ' ' + CURRENCY_CMD + ' ' + DICE_CMD + ' ' + GOOGLE_CMD + ' ' + INFO_CMD + ' ' + _channel.substring(1) + ' ' + LOOKUP_CMD + Colors.BOLD); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + HELP_POSTING_KEYWORD + ' ' + RECAP_CMD + ' ' + SPELL_CMD + ' ' + STOCK_CMD + ' ' + TIME_CMD + ' ' + USERS_CMD + ' ' + VIEW_CMD + Colors.BOLD); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + WEATHER_CMD + Colors.BOLD); if (isOp(sender)) { this.sendNotice(sender, "The op commands are:"); this.sendNotice(sender, DOUBLE_INDENT + Colors.BOLD + CYCLE_CMD + ' ' + ME_CMD + ' ' + SAY_CMD + Colors.BOLD); } } }
|
4616 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4616/d27fe4a66661085b376907b39e97942f0b6f69e7/Mobibot.java/buggy/src/net/thauvin/erik/mobibot/Mobibot.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2809,
1064,
12,
780,
5793,
16,
514,
1797,
13,
202,
95,
202,
202,
6385,
514,
328,
4172,
273,
1797,
18,
869,
5630,
5621,
202,
202,
430,
261,
80,
4172,
18,
5839,
1190,
12,
27396,
67,
3798,
1360,
67,
28813,
3719,
202,
202,
95,
1082,
202,
2211,
18,
4661,
20127,
12,
15330,
16,
30448,
18,
38,
11846,
397,
315,
3349,
279,
1976,
16,
635,
12532,
310,
518,
603,
279,
980,
603,
2097,
4953,
1199,
397,
30448,
18,
38,
11846,
1769,
1082,
202,
2211,
18,
4661,
20127,
12,
15330,
16,
6862,
1082,
202,
6,
45,
903,
4332,
598,
279,
1433,
16,
364,
3454,
30,
315,
397,
30448,
18,
38,
11846,
397,
22926,
67,
19473,
397,
296,
21,
11,
397,
30448,
18,
38,
11846,
1769,
1082,
202,
2211,
18,
4661,
20127,
12,
15330,
16,
315,
774,
527,
279,
2077,
16,
999,
279,
2097,
1433,
471,
279,
6010,
2773,
1769,
1082,
202,
2211,
18,
4661,
20127,
12,
15330,
16,
14918,
67,
2356,
2222,
397,
30448,
18,
38,
11846,
397,
22926,
67,
19473,
397,
315,
21,
30,
96,
2503,
353,
326,
2077,
8863,
1082,
202,
2211,
18,
4661,
20127,
12,
15330,
16,
315,
774,
527,
279,
2879,
30,
315,
1769,
1082,
202,
2211,
18,
4661,
20127,
12,
15330,
16,
14918,
67,
2356,
2222,
397,
30448,
18,
38,
11846,
397,
22926,
67,
19473,
397,
315,
21,
30,
2503,
353,
279,
2879,
8863,
1082,
202,
2211,
18,
4661,
20127,
12,
15330,
16,
6862,
1082,
202,
6,
45,
903,
4332,
598,
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,
2809,
1064,
12,
780,
5793,
16,
514,
1797,
13,
202,
95,
202,
202,
6385,
514,
328,
4172,
273,
1797,
18,
869,
5630,
5621,
202,
202,
430,
261,
80,
4172,
18,
5839,
1190,
12,
27396,
67,
3798,
1360,
67,
28813,
3719,
202,
202,
95,
1082,
202,
2211,
18,
4661,
20127,
12,
15330,
16,
30448,
18,
38,
11846,
397,
315,
3349,
279,
1976,
16,
635,
12532,
310,
518,
603,
279,
980,
603,
2097,
4953,
1199,
397,
30448,
18,
38,
11846,
1769,
1082,
202,
2211,
18,
4661,
20127,
12,
15330,
16,
6862,
1082,
202,
6,
45,
903,
4332,
598,
279,
1433,
16,
364,
3454,
30,
315,
397,
30448,
18,
38,
11846,
397,
22926,
67,
19473,
397,
296,
21,
2
] |
public void testGetPlaneOffset2()
|
public void testGetPlaneOffset2() throws DimensionsOutOfBoundsException
|
public void testGetPlaneOffset2() { long offset = ((long)timepointSize * 25) + ((long)stackSize * 1) + ((long)planeSize * 25); assertEquals(pixelBuffer.getPlaneOffset(25, 1, 25).longValue(), offset); }
|
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/99dab4d872ad9799aad9dfdb29d0cf3d259a49a2/HugePixelBufferUnitTest.java/clean/components/omeio-nio/test/ome/io/nio/utests/HugePixelBufferUnitTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
967,
19505,
2335,
22,
1435,
1216,
463,
23124,
14347,
565,
288,
3639,
1525,
1384,
273,
14015,
5748,
13,
957,
1153,
1225,
380,
6969,
13,
397,
14015,
5748,
13,
3772,
1225,
380,
404,
13,
397,
8227,
14015,
5748,
13,
21314,
1225,
380,
6969,
1769,
3639,
1815,
8867,
12,
11743,
1892,
18,
588,
19505,
2335,
12,
2947,
16,
404,
16,
6969,
2934,
5748,
620,
9334,
1384,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
1071,
918,
1842,
967,
19505,
2335,
22,
1435,
1216,
463,
23124,
14347,
565,
288,
3639,
1525,
1384,
273,
14015,
5748,
13,
957,
1153,
1225,
380,
6969,
13,
397,
14015,
5748,
13,
3772,
1225,
380,
404,
13,
397,
8227,
14015,
5748,
13,
21314,
1225,
380,
6969,
1769,
3639,
1815,
8867,
12,
11743,
1892,
18,
588,
19505,
2335,
12,
2947,
16,
404,
16,
6969,
2934,
5748,
620,
9334,
1384,
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
] |
public org.quickfix.field.EncodedHeadline getEncodedHeadline() throws FieldNotFound { org.quickfix.field.EncodedHeadline value = new org.quickfix.field.EncodedHeadline();
|
public quickfix.field.EncodedHeadline getEncodedHeadline() throws FieldNotFound { quickfix.field.EncodedHeadline value = new quickfix.field.EncodedHeadline();
|
public org.quickfix.field.EncodedHeadline getEncodedHeadline() throws FieldNotFound { org.quickfix.field.EncodedHeadline value = new org.quickfix.field.EncodedHeadline(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/News.java/clean/src/java/src/quickfix/fix44/News.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
1414,
1369,
28799,
1414,
1369,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
1414,
1369,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
1414,
1369,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
10397,
1414,
1369,
28799,
1414,
1369,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
1414,
1369,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
1414,
1369,
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,
-100
] |
public static void addPolicy(Context c, DSpaceObject o, int action, Group g)
|
public static void addPolicy(Context c, DSpaceObject o, int action, EPerson e)
|
public static void addPolicy(Context c, DSpaceObject o, int action, Group g) throws SQLException, AuthorizeException { ResourcePolicy rp = ResourcePolicy.create(c); rp.setResource(o); rp.setAction(action); rp.setGroup(g); rp.update(); }
|
25205 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25205/04baa53bef8e85bf1b42bd3957155c5ebe0936b0/AuthorizeManager.java/buggy/dspace/src/org/dspace/authorize/AuthorizeManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
527,
2582,
12,
1042,
276,
16,
463,
3819,
921,
320,
16,
509,
1301,
16,
512,
8346,
425,
13,
3639,
1216,
6483,
16,
23859,
503,
565,
288,
3639,
2591,
2582,
8715,
273,
2591,
2582,
18,
2640,
12,
71,
1769,
7734,
8715,
18,
542,
1420,
12,
83,
1769,
3639,
8715,
18,
542,
1803,
12,
1128,
1769,
3639,
8715,
18,
542,
1114,
12,
75,
1769,
7734,
8715,
18,
2725,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
918,
527,
2582,
12,
1042,
276,
16,
463,
3819,
921,
320,
16,
509,
1301,
16,
512,
8346,
425,
13,
3639,
1216,
6483,
16,
23859,
503,
565,
288,
3639,
2591,
2582,
8715,
273,
2591,
2582,
18,
2640,
12,
71,
1769,
7734,
8715,
18,
542,
1420,
12,
83,
1769,
3639,
8715,
18,
542,
1803,
12,
1128,
1769,
3639,
8715,
18,
542,
1114,
12,
75,
1769,
7734,
8715,
18,
2725,
5621,
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
] |
rBox.getRight().x - MapMode.DPtoLP(alpha_ir.width), rBox.getBottom().y - MapMode.DPtoLP(alpha_ib.height) );
|
rBox.getRight().x - MapModeUtil.getMapMode(figure).DPtoLP(alpha_ir.width), rBox.getBottom().y - MapModeUtil.getMapMode(figure).DPtoLP(alpha_ib.height) );
|
protected void drawBottomRightShadow( IFigure figure, Graphics g, Rectangle rBox) { Dimension dim; dim = getBottomRightShadowDimension(); Image irb = createImageFromAlpha(figure, alpha_irb, dim); Point pt = new Point( rBox.getRight().x - MapMode.DPtoLP(alpha_ir.width), rBox.getBottom().y - MapMode.DPtoLP(alpha_ib.height) ); g.drawImage(irb, pt); irb.dispose(); }
|
1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/adc1102179d667e4a670bfc5711892726a23a343/RectangularDropShadow.java/buggy/org.eclipse.gmf.runtime/plugins/org.eclipse.gmf.runtime.draw2d.ui/src/org/eclipse/gmf/runtime/draw2d/ui/figures/RectangularDropShadow.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
3724,
10393,
4726,
12957,
12,
202,
202,
5501,
15906,
7837,
16,
202,
202,
17558,
314,
16,
202,
202,
19463,
436,
3514,
13,
288,
202,
202,
8611,
2464,
31,
202,
202,
3509,
273,
2882,
352,
3599,
4726,
12957,
8611,
5621,
202,
202,
2040,
277,
6731,
273,
28301,
1265,
9690,
12,
19675,
16,
4190,
67,
481,
70,
16,
2464,
1769,
9506,
202,
2148,
5818,
273,
1082,
202,
2704,
4686,
12,
9506,
202,
86,
3514,
18,
588,
4726,
7675,
92,
300,
1635,
2309,
18,
8640,
869,
14461,
12,
5429,
67,
481,
18,
2819,
3631,
9506,
202,
86,
3514,
18,
588,
10393,
7675,
93,
300,
1635,
2309,
18,
8640,
869,
14461,
12,
5429,
67,
495,
18,
4210,
13,
11272,
202,
202,
75,
18,
9446,
2040,
12,
481,
70,
16,
5818,
1769,
202,
202,
481,
70,
18,
2251,
4150,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
3724,
10393,
4726,
12957,
12,
202,
202,
5501,
15906,
7837,
16,
202,
202,
17558,
314,
16,
202,
202,
19463,
436,
3514,
13,
288,
202,
202,
8611,
2464,
31,
202,
202,
3509,
273,
2882,
352,
3599,
4726,
12957,
8611,
5621,
202,
202,
2040,
277,
6731,
273,
28301,
1265,
9690,
12,
19675,
16,
4190,
67,
481,
70,
16,
2464,
1769,
9506,
202,
2148,
5818,
273,
1082,
202,
2704,
4686,
12,
9506,
202,
86,
3514,
18,
588,
4726,
7675,
92,
300,
1635,
2309,
18,
8640,
869,
14461,
12,
5429,
67,
481,
18,
2819,
3631,
9506,
202,
86,
3514,
18,
588,
10393,
7675,
93,
300,
1635,
2309,
18,
8640,
869,
14461,
12,
5429,
67,
495,
18,
4210,
13,
11272,
2
] |
Value indexArray = _indexArray.get(new StringValue(_paramList.get(_level - 1)));
|
Value indexArray = _indexArray.get(new StringValue(_paramHashMap.get(_level - 1)));
|
public void characters(char[] ch, int start, int length) throws SAXException { String s = new String(ch, start, length); if (_isOutside) { Value elementArray = new ArrayValueImpl(); elementArray.put(new StringValue("tag"), new StringValue(_paramList.get(_level - 1))); elementArray.put(new StringValue("value"), new StringValue(s)); elementArray.put(new StringValue("type"), new StringValue("cdata")); elementArray.put(new StringValue("level"), new DoubleValue((double) _level - 1)); _valueArray.put(new DoubleValue((double)_valueArrayIndex), elementArray); Value indexArray = _indexArray.get(new StringValue(_paramList.get(_level - 1))); indexArray.put(new DoubleValue((double) _valueArrayIndex)); _valueArrayIndex++; } else { Value elementArray = _valueArray.get(new DoubleValue((double) _valueArrayIndex - 1)); elementArray.put(new StringValue("value"), new StringValue(s)); } }
|
3863 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3863/6af77fdba697d703633f6b029dba3f29dc87ead7/XmlClass.java/clean/quercus/src/main/java/com/caucho/quercus/lib/XmlClass.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3949,
12,
3001,
8526,
462,
16,
21821,
509,
787,
16,
21821,
509,
769,
13,
1377,
1216,
14366,
565,
288,
1377,
514,
272,
273,
394,
514,
12,
343,
16,
787,
16,
769,
1769,
1377,
309,
261,
67,
291,
28018,
13,
288,
3639,
1445,
930,
1076,
273,
394,
1510,
620,
2828,
5621,
3639,
930,
1076,
18,
458,
12,
2704,
18595,
2932,
2692,
6,
3631,
394,
18595,
24899,
891,
682,
18,
588,
24899,
2815,
300,
404,
3719,
1769,
3639,
930,
1076,
18,
458,
12,
2704,
18595,
2932,
1132,
6,
3631,
394,
18595,
12,
87,
10019,
3639,
930,
1076,
18,
458,
12,
2704,
18595,
2932,
723,
6,
3631,
394,
18595,
2932,
71,
892,
7923,
1769,
3639,
930,
1076,
18,
458,
12,
2704,
18595,
2932,
2815,
6,
3631,
394,
3698,
620,
12443,
9056,
13,
389,
2815,
300,
404,
10019,
3639,
389,
1132,
1076,
18,
458,
12,
2704,
3698,
620,
12443,
9056,
13,
67,
1132,
1076,
1016,
3631,
930,
1076,
1769,
3639,
1445,
770,
1076,
273,
389,
1615,
1076,
18,
588,
12,
2704,
18595,
24899,
891,
8658,
18,
588,
24899,
2815,
300,
404,
3719,
1769,
3639,
770,
1076,
18,
458,
12,
2704,
3698,
620,
12443,
9056,
13,
389,
1132,
1076,
1016,
10019,
3639,
389,
1132,
1076,
1016,
9904,
31,
1377,
289,
469,
288,
3639,
1445,
930,
1076,
273,
389,
1132,
1076,
18,
588,
12,
2704,
3698,
620,
12443,
9056,
13,
389,
1132,
1076,
1016,
300,
404,
10019,
3639,
930,
1076,
18,
458,
12,
2704,
18595,
2932,
1132,
6,
3631,
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,
3949,
12,
3001,
8526,
462,
16,
21821,
509,
787,
16,
21821,
509,
769,
13,
1377,
1216,
14366,
565,
288,
1377,
514,
272,
273,
394,
514,
12,
343,
16,
787,
16,
769,
1769,
1377,
309,
261,
67,
291,
28018,
13,
288,
3639,
1445,
930,
1076,
273,
394,
1510,
620,
2828,
5621,
3639,
930,
1076,
18,
458,
12,
2704,
18595,
2932,
2692,
6,
3631,
394,
18595,
24899,
891,
682,
18,
588,
24899,
2815,
300,
404,
3719,
1769,
3639,
930,
1076,
18,
458,
12,
2704,
18595,
2932,
1132,
6,
3631,
394,
18595,
12,
87,
10019,
3639,
930,
1076,
18,
458,
12,
2704,
18595,
2932,
723,
6,
3631,
394,
18595,
2932,
71,
892,
7923,
1769,
3639,
930,
1076,
18,
458,
2
] |
if (jj_3R_72()) return true;
|
if (jj_3R_74()) return true;
|
final private boolean jj_3_18() { if (jj_3R_72()) return true; return false; }
|
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/3e3034d7566b0047ef2bf5af2e29ce51f94a2d2e/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,
67,
2643,
1435,
288,
565,
309,
261,
78,
78,
67,
23,
54,
67,
5608,
10756,
327,
638,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2643,
1435,
288,
565,
309,
261,
78,
78,
67,
23,
54,
67,
5608,
10756,
327,
638,
31,
565,
327,
629,
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
] |
else
|
for(Iterator i = listeners.iterator(); i.hasNext();) { LayoutEventListener lel = (LayoutEventListener)i.next(); lel.layoutSaved(); } } else {
|
public void saveUserLayout() throws PortalException { try { if ( !isLayoutFragment() ) layoutStore.setAggregatedLayout(person,userProfile,layout); else saveFragment(); updateCacheKey(); } catch ( Exception e ) { throw new PortalException(e.getMessage()); } }
|
24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/606bae7c7a8dbd6ad3bc5670c4aaa230828df100/AggregatedLayoutManager.java/clean/source/org/jasig/portal/layout/AggregatedLayoutManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1923,
1299,
3744,
1435,
1216,
25478,
503,
288,
1377,
775,
288,
3639,
309,
261,
401,
291,
3744,
7456,
1435,
262,
1850,
3511,
2257,
18,
542,
6078,
690,
3744,
12,
12479,
16,
1355,
4029,
16,
6741,
1769,
540,
364,
12,
3198,
277,
273,
4679,
18,
9838,
5621,
277,
18,
5332,
2134,
5621,
13,
288,
9995,
7375,
328,
292,
273,
261,
3744,
7375,
13,
77,
18,
4285,
5621,
328,
292,
18,
6741,
16776,
5621,
289,
289,
469,
288,
1850,
1923,
7456,
5621,
10402,
1089,
15554,
5621,
1377,
289,
1044,
261,
1185,
425,
262,
288,
3639,
604,
394,
25478,
503,
12,
73,
18,
24906,
10663,
1377,
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,
0,
0,
0,
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,
377,
1071,
918,
1923,
1299,
3744,
1435,
1216,
25478,
503,
288,
1377,
775,
288,
3639,
309,
261,
401,
291,
3744,
7456,
1435,
262,
1850,
3511,
2257,
18,
542,
6078,
690,
3744,
12,
12479,
16,
1355,
4029,
16,
6741,
1769,
540,
364,
12,
3198,
277,
273,
4679,
18,
9838,
5621,
277,
18,
5332,
2134,
5621,
13,
288,
9995,
7375,
328,
292,
273,
261,
3744,
7375,
13,
77,
18,
4285,
5621,
328,
292,
18,
6741,
16776,
5621,
289,
289,
469,
288,
1850,
1923,
7456,
5621,
10402,
1089,
15554,
5621,
1377,
289,
1044,
261,
1185,
425,
262,
288,
3639,
604,
394,
25478,
503,
12,
73,
18,
24906,
10663,
1377,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return ofe.getDoctypePublicId();
|
return of.getDoctypePublicId();
|
public String getOutputProperty(String name) { if (m_outputFormat instanceof OutputFormatExtended) { OutputFormatExtended ofe = (OutputFormatExtended) m_outputFormat; if(name.equals(OutputKeys.METHOD)) return ofe.methodHasBeenSet() ? ofe.getMethod() : null; else if(name.equals(OutputKeys.INDENT)) return ofe.indentHasBeenSet() ? (ofe.getIndent() ? "yes" : "no") : null; else if(name.equals(OutputKeys.DOCTYPE_PUBLIC)) return ofe.doctypePublicHasBeenSet() ? ofe.getDoctypePublicId() : null; else if(name.equals(OutputKeys.DOCTYPE_SYSTEM)) return ofe.doctypeSystemHasBeenSet() ? ofe.getDoctypeSystemId() : null; else if(name.equals(OutputKeys.MEDIA_TYPE)) return ofe.mediaTypeHasBeenSet() ? ofe.getMediaType() : null; else if(name.equals(OutputKeys.OMIT_XML_DECLARATION)) return ofe.omitXmlDeclarationHasBeenSet() ? (ofe.getOmitXMLDeclaration() ? "yes" : "no") : null; else if(name.equals(OutputKeys.STANDALONE)) return ofe.standaloneHasBeenSet() ? (ofe.getStandalone() ? "yes" : "no") : null; else if(name.equals(OutputKeys.ENCODING)) return ofe.encodingHasBeenSet() ? ofe.getEncoding() : null; else if(name.equals(OutputKeys.VERSION)) return ofe.versionHasBeenSet() ? ofe.getVersion() : null; } else { OutputFormat ofe = m_outputFormat; // Just set them all for now. if(name.equals(OutputKeys.METHOD)) return ofe.getMethod(); else if(name.equals(OutputKeys.INDENT)) return ofe.getIndent() ? "yes" : "no"; else if(name.equals(OutputKeys.DOCTYPE_PUBLIC)) return ofe.getDoctypePublicId(); else if(name.equals(OutputKeys.DOCTYPE_SYSTEM)) return ofe.getDoctypeSystemId(); else if(name.equals(OutputKeys.MEDIA_TYPE)) return ofe.getMediaType(); else if(name.equals(OutputKeys.OMIT_XML_DECLARATION)) return ofe.getOmitXMLDeclaration() ? "yes" : "no"; else if(name.equals(OutputKeys.STANDALONE)) return ofe.getStandalone() ? "yes" : "no"; else if(name.equals(OutputKeys.ENCODING)) return ofe.getEncoding(); else if(name.equals(OutputKeys.VERSION)) return ofe.getVersion(); } return null; }
|
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/aab214a78ce6e7a28e112538bafa7df999841558/TransformerImpl.java/buggy/src/org/apache/xalan/transformer/TransformerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
11062,
1396,
12,
780,
508,
13,
225,
288,
3639,
309,
261,
81,
67,
2844,
1630,
1276,
3633,
1630,
11456,
13,
565,
288,
1377,
3633,
1630,
11456,
434,
73,
273,
261,
1447,
1630,
11456,
13,
312,
67,
2844,
1630,
31,
1377,
309,
12,
529,
18,
14963,
12,
1447,
2396,
18,
5327,
3719,
3639,
327,
434,
73,
18,
2039,
5582,
25931,
694,
1435,
692,
434,
73,
18,
588,
1305,
1435,
294,
446,
31,
1377,
469,
309,
12,
529,
18,
14963,
12,
1447,
2396,
18,
2356,
2222,
3719,
3639,
327,
434,
73,
18,
9355,
5582,
25931,
694,
1435,
692,
261,
792,
73,
18,
588,
7790,
1435,
692,
315,
9707,
6,
294,
315,
2135,
7923,
294,
446,
31,
1377,
469,
309,
12,
529,
18,
14963,
12,
1447,
2396,
18,
29824,
67,
14939,
3719,
3639,
327,
434,
73,
18,
2896,
12387,
4782,
5582,
25931,
694,
1435,
692,
434,
73,
18,
588,
3244,
12387,
4782,
548,
1435,
294,
446,
31,
1377,
469,
309,
12,
529,
18,
14963,
12,
1447,
2396,
18,
29824,
67,
14318,
3719,
3639,
327,
434,
73,
18,
2896,
12387,
3163,
5582,
25931,
694,
1435,
692,
434,
73,
18,
588,
3244,
12387,
3163,
548,
1435,
294,
446,
31,
1377,
469,
309,
12,
529,
18,
14963,
12,
1447,
2396,
18,
26368,
67,
2399,
3719,
3639,
327,
434,
73,
18,
5829,
559,
5582,
25931,
694,
1435,
692,
434,
73,
18,
588,
20870,
1435,
294,
446,
31,
1377,
469,
309,
12,
529,
18,
14963,
12,
1447,
2396,
18,
1872,
1285,
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,
514,
11062,
1396,
12,
780,
508,
13,
225,
288,
3639,
309,
261,
81,
67,
2844,
1630,
1276,
3633,
1630,
11456,
13,
565,
288,
1377,
3633,
1630,
11456,
434,
73,
273,
261,
1447,
1630,
11456,
13,
312,
67,
2844,
1630,
31,
1377,
309,
12,
529,
18,
14963,
12,
1447,
2396,
18,
5327,
3719,
3639,
327,
434,
73,
18,
2039,
5582,
25931,
694,
1435,
692,
434,
73,
18,
588,
1305,
1435,
294,
446,
31,
1377,
469,
309,
12,
529,
18,
14963,
12,
1447,
2396,
18,
2356,
2222,
3719,
3639,
327,
434,
73,
18,
9355,
5582,
25931,
694,
1435,
692,
261,
792,
73,
18,
588,
7790,
1435,
692,
315,
9707,
6,
294,
315,
2135,
7923,
294,
446,
31,
1377,
469,
2
] |
{ }
|
{ return connection.createStatement().executeQuery("SELECT " + "'' as TABLE_CAT," + "'' AS TABLE_SCHEM," + "bc.relname AS TABLE_NAME," + "ic.relname AS COLUMN_NAME," + "'1' as KEY_SEQ,"+ "t.typname as PK_NAME " + " FROM pg_class bc, pg_class ic, pg_index i, pg_attribute a " + " WHERE relkind = 'r' " + " and bc.relname ~ '"+table+"'" + " and i.indrelid = bc.oid" + " and i.indexrelid = ic.oid" + " and i.indkey[0] = a.attnum" + " and i.indproc = '0'::oid" + " and a.attrelid = bc.oid" + " ORDER BY TABLE_NAME, COLUMN_NAME;" ); }
|
public java.sql.ResultSet getPrimaryKeys(String catalog, String schema, String table) throws SQLException { // XXX-Not Implemented }
|
47293 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47293/6a061da272f04e1463864065f87f1f3fd61d6162/DatabaseMetaData.java/clean/src/interfaces/jdbc/postgresql/DatabaseMetaData.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
11398,
2396,
12,
780,
6222,
16,
514,
1963,
16,
514,
1014,
13,
1216,
6483,
202,
95,
202,
202,
759,
11329,
17,
1248,
18788,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
225,
202,
482,
2252,
18,
4669,
18,
13198,
11398,
2396,
12,
780,
6222,
16,
514,
1963,
16,
514,
1014,
13,
1216,
6483,
202,
95,
202,
202,
759,
11329,
17,
1248,
18788,
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
] |
new Object [] { "unrecogized child '"+childName+"' in compelx type "+typeName });
|
new Object [] { "unrecognized child '"+childName+"' in complex type "+typeName });
|
private int traverseComplexTypeDecl( Element complexTypeDecl ) throws Exception { String isAbstract = complexTypeDecl.getAttribute( SchemaSymbols.ATT_ABSTRACT ); String base = complexTypeDecl.getAttribute(SchemaSymbols.ATT_BASE); String blockSet = complexTypeDecl.getAttribute( SchemaSymbols.ATT_BLOCK ); String content = complexTypeDecl.getAttribute(SchemaSymbols.ATT_CONTENT); String derivedBy = complexTypeDecl.getAttribute( SchemaSymbols.ATT_DERIVEDBY ); String finalSet = complexTypeDecl.getAttribute( SchemaSymbols.ATT_FINAL ); String typeId = complexTypeDecl.getAttribute( SchemaSymbols.ATTVAL_ID ); String typeName = complexTypeDecl.getAttribute(SchemaSymbols.ATT_NAME); boolean isNamedType = false; if ( DEBUGGING ) System.out.println("traversing complex Type : " + typeName +","+base+","+content+"."); if (typeName.equals("")) { // gensym a unique name //typeName = "http://www.apache.org/xml/xerces/internalType"+fTypeCount++; typeName = "#"+fAnonTypeCount++; } else { fCurrentTypeNameStack.push(typeName); isNamedType = true; } if (isTopLevel(complexTypeDecl)) { String fullName = fTargetNSURIString+","+typeName; ComplexTypeInfo temp = (ComplexTypeInfo) fComplexTypeRegistry.get(fullName); if (temp != null ) { return fStringPool.addSymbol(fullName); } } int scopeDefined = fScopeCount++; int previousScope = fCurrentScope; fCurrentScope = scopeDefined; Element child = null; int contentSpecType = -1; int csnType = 0; int left = -2; int right = -2; ComplexTypeInfo baseTypeInfo = null; //if base is a complexType; DatatypeValidator baseTypeValidator = null; //if base is a simple type or a complex type derived from a simpleType DatatypeValidator simpleTypeValidator = null; int baseTypeSymbol = -1; String fullBaseName = ""; boolean baseIsSimpleSimple = false; boolean baseIsComplexSimple = false; boolean derivedByRestriction = true; boolean derivedByExtension = false; int baseContentSpecHandle = -1; Element baseTypeNode = null; //int parsedderivedBy = parseComplexDerivedBy(derivedBy); //handle the inhreitance here. if (base.length()>0) { //first check if derivedBy is present if (derivedBy.length() == 0) { // REVISIT: Localize reportGenericSchemaError("derivedBy must be present when base is present in " +SchemaSymbols.ELT_COMPLEXTYPE +" "+ typeName); } else { if (derivedBy.equals(SchemaSymbols.ATTVAL_EXTENSION)) { derivedByRestriction = false; } String prefix = ""; String localpart = base; int colonptr = base.indexOf(":"); if ( colonptr > 0) { prefix = base.substring(0,colonptr); localpart = base.substring(colonptr+1); } int localpartIndex = fStringPool.addSymbol(localpart); String typeURI = resolvePrefixToURI(prefix); // check if the base type is from the same Schema; if ( ! typeURI.equals(fTargetNSURIString) && ! typeURI.equals(SchemaSymbols.URI_SCHEMAFORSCHEMA) && typeURI.length() != 0 ) /*REVISIT, !!!! a hack: for schema that has no target namespace, e.g. personal-schema.xml*/{ baseTypeInfo = getTypeInfoFromNS(typeURI, localpart); if (baseTypeInfo == null) { baseTypeValidator = getTypeValidatorFromNS(typeURI, localpart); if (baseTypeValidator == null) { //TO DO: report error here; System.out.println("Could not find base type " +localpart + " in schema " + typeURI); } else{ baseIsSimpleSimple = true; } } } else { fullBaseName = typeURI+","+localpart; // assume the base is a complexType and try to locate the base type first baseTypeInfo = (ComplexTypeInfo) fComplexTypeRegistry.get(fullBaseName); // if not found, 2 possibilities: 1: ComplexType in question has not been compiled yet; // 2: base is SimpleTYpe; if (baseTypeInfo == null) { baseTypeValidator = getDatatypeValidator(typeURI, localpart); if (baseTypeValidator == null) { baseTypeNode = getTopLevelComponentByName(SchemaSymbols.ELT_COMPLEXTYPE,localpart); if (baseTypeNode != null) { baseTypeSymbol = traverseComplexTypeDecl( baseTypeNode ); baseTypeInfo = (ComplexTypeInfo) fComplexTypeRegistry.get(fStringPool.toString(baseTypeSymbol)); //REVISIT: should it be fullBaseName; } else { baseTypeNode = getTopLevelComponentByName(SchemaSymbols.ELT_SIMPLETYPE, localpart); if (baseTypeNode != null) { baseTypeSymbol = traverseSimpleTypeDecl( baseTypeNode ); simpleTypeValidator = baseTypeValidator = getDatatypeValidator(typeURI, localpart); if (simpleTypeValidator == null) { //TO DO: signal error here. } baseIsSimpleSimple = true; } else { // REVISIT: Localize reportGenericSchemaError("Base type could not be found : " + base); } } } else { simpleTypeValidator = baseTypeValidator; baseIsSimpleSimple = true; } } } //Schema Spec : 5.11: Complex Type Definition Properties Correct : 2 if (baseIsSimpleSimple && derivedByRestriction) { // REVISIT: Localize reportGenericSchemaError("base is a simpledType, can't derive by restriction in " + typeName); } //if the base is a complexType if (baseTypeInfo != null ) { //Schema Spec : 5.11: Derivation Valid ( Extension ) 1.1.1 // 5.11: Derivation Valid ( Restriction, Complex ) 1.2.1 if (derivedByRestriction) { //REVISIT: check base Type's finalset does not include "restriction" } else { //REVISIT: check base Type's finalset doest not include "extension" } if ( baseTypeInfo.contentSpecHandle > -1) { if (derivedByRestriction) { //REVISIT: !!! really hairy staff to check the particle derivation OK in 5.10 checkParticleDerivationOK(complexTypeDecl, baseTypeNode); } baseContentSpecHandle = baseTypeInfo.contentSpecHandle; } else if ( baseTypeInfo.datatypeValidator != null ) { baseTypeValidator = baseTypeInfo.datatypeValidator; baseIsComplexSimple = true; } } //Schema Spec : 5.11: Derivation Valid ( Extension ) 1.1.1 if (baseIsComplexSimple && !derivedByRestriction ) { // REVISIT: Localize reportGenericSchemaError("base is ComplexSimple, can't derive by extension in " + typeName); } } // END of if (derivedBy.length() == 0) {} else {} } // END of if (base.length() > 0) {} // skip refinement and annotations child = null; if (baseIsComplexSimple) { contentSpecType = XMLElementDecl.TYPE_SIMPLE; int numEnumerationLiterals = 0; int numFacets = 0; Hashtable facetData = new Hashtable(); Vector enumData = new Vector(); //REVISIT: there is a better way to do this, for (child = XUtil.getFirstChildElement(complexTypeDecl); child != null && (child.getNodeName().equals(SchemaSymbols.ELT_MINEXCLUSIVE) || child.getNodeName().equals(SchemaSymbols.ELT_MININCLUSIVE) || child.getNodeName().equals(SchemaSymbols.ELT_MAXEXCLUSIVE) || child.getNodeName().equals(SchemaSymbols.ELT_MAXINCLUSIVE) || child.getNodeName().equals(SchemaSymbols.ELT_PRECISION) || child.getNodeName().equals(SchemaSymbols.ELT_SCALE) || child.getNodeName().equals(SchemaSymbols.ELT_LENGTH) || child.getNodeName().equals(SchemaSymbols.ELT_MINLENGTH) || child.getNodeName().equals(SchemaSymbols.ELT_MAXLENGTH) || child.getNodeName().equals(SchemaSymbols.ELT_ENCODING) || child.getNodeName().equals(SchemaSymbols.ELT_PERIOD) || child.getNodeName().equals(SchemaSymbols.ELT_DURATION) || child.getNodeName().equals(SchemaSymbols.ELT_ENUMERATION) || child.getNodeName().equals(SchemaSymbols.ELT_PATTERN) || child.getNodeName().equals(SchemaSymbols.ELT_ANNOTATION)); child = XUtil.getNextSiblingElement(child)) { if ( child.getNodeType() == Node.ELEMENT_NODE ) { Element facetElt = (Element) child; numFacets++; if (facetElt.getNodeName().equals(SchemaSymbols.ELT_ENUMERATION)) { numEnumerationLiterals++; enumData.addElement(facetElt.getAttribute(SchemaSymbols.ATT_VALUE)); //Enumerations can have annotations ? ( 0 | 1 ) Element enumContent = XUtil.getFirstChildElement( facetElt ); if( enumContent != null && enumContent.getNodeName().equals( SchemaSymbols.ELT_ANNOTATION ) ){ traverseAnnotationDecl( child ); } // TO DO: if Jeff check in new changes to TraverseSimpleType, copy them over } else { facetData.put(facetElt.getNodeName(),facetElt.getAttribute( SchemaSymbols.ATT_VALUE )); } } } if (numEnumerationLiterals > 0) { facetData.put(SchemaSymbols.ELT_ENUMERATION, enumData); } //if (numFacets > 0) // baseTypeValidator.setFacets(facetData, derivedBy ); if (numFacets > 0) { simpleTypeValidator = fDatatypeRegistry.createDatatypeValidator( typeName, baseTypeValidator, facetData, false ); } else simpleTypeValidator = baseTypeValidator; if (child != null) { // REVISIT: Localize reportGenericSchemaError("Invalid child '"+child.getNodeName()+"' in complexType : '" + typeName + "', because it restricts another complexSimpleType"); } } // if content = textonly, base is a datatype if (content.equals(SchemaSymbols.ATTVAL_TEXTONLY)) { //TO DO if (base.length() == 0) { simpleTypeValidator = baseTypeValidator = getDatatypeValidator("", SchemaSymbols.ATTVAL_STRING); } else if ( baseTypeValidator == null && baseTypeInfo != null && baseTypeInfo.datatypeValidator==null ) // must be datatype reportSchemaError(SchemaMessageProvider.NotADatatype, new Object [] { base }); //REVISIT check forward refs //handle datatypes contentSpecType = XMLElementDecl.TYPE_SIMPLE; /**** left = fSchemaGrammar.addContentSpecNode(XMLContentSpec.CONTENTSPECNODE_LEAF, fStringPool.addSymbol(base), -1, false); /****/ } else { if (!baseIsComplexSimple) { contentSpecType = XMLElementDecl.TYPE_CHILDREN; } csnType = XMLContentSpec.CONTENTSPECNODE_SEQ; boolean mixedContent = false; //REVISIT: is the default content " elementOnly" boolean elementContent = true; boolean textContent = false; boolean emptyContent = false; left = -2; right = -2; boolean hadContent = false; if (content.equals(SchemaSymbols.ATTVAL_EMPTY)) { contentSpecType = XMLElementDecl.TYPE_EMPTY; emptyContent = true; elementContent = false; left = -1; // no contentSpecNode needed } else if (content.equals(SchemaSymbols.ATTVAL_MIXED) ) { contentSpecType = XMLElementDecl.TYPE_MIXED; mixedContent = true; elementContent = false; csnType = XMLContentSpec.CONTENTSPECNODE_CHOICE; } else if (content.equals(SchemaSymbols.ATTVAL_ELEMENTONLY) || content.equals("")) { elementContent = true; } else if (content.equals(SchemaSymbols.ATTVAL_TEXTONLY)) { textContent = true; elementContent = false; } if (mixedContent) { // add #PCDATA leaf left = fSchemaGrammar.addContentSpecNode(XMLContentSpec.CONTENTSPECNODE_LEAF, -1, // -1 means "#PCDATA" is name -1, false); csnType = XMLContentSpec.CONTENTSPECNODE_CHOICE; } boolean seeParticle = false; boolean seeOtherParticle = false; boolean seeAll = false; for (child = XUtil.getFirstChildElement(complexTypeDecl); child != null; child = XUtil.getNextSiblingElement(child)) { int index = -2; // to save the particle's contentSpec handle hadContent = true; seeParticle = false; String childName = child.getNodeName(); if (childName.equals(SchemaSymbols.ELT_ELEMENT)) { if (mixedContent || elementContent) { if ( DEBUGGING ) System.out.println(" child element name " + child.getAttribute(SchemaSymbols.ATT_NAME)); QName eltQName = traverseElementDecl(child); index = fSchemaGrammar.addContentSpecNode( XMLContentSpec.CONTENTSPECNODE_LEAF, eltQName.localpart, eltQName.uri, false); seeParticle = true; seeOtherParticle = true; } else { reportSchemaError(SchemaMessageProvider.EltRefOnlyInMixedElemOnly, null); } } else if (childName.equals(SchemaSymbols.ELT_GROUP)) { index = traverseGroupDecl(child); seeParticle = true; seeOtherParticle = true; } else if (childName.equals(SchemaSymbols.ELT_ALL)) { index = traverseAll(child); seeParticle = true; seeAll = true; } else if (childName.equals(SchemaSymbols.ELT_CHOICE)) { index = traverseChoice(child); seeParticle = true; seeOtherParticle = true; } else if (childName.equals(SchemaSymbols.ELT_SEQUENCE)) { index = traverseSequence(child); seeParticle = true; seeOtherParticle = true; } else if (childName.equals(SchemaSymbols.ELT_ATTRIBUTE) || childName.equals(SchemaSymbols.ELT_ATTRIBUTEGROUP)) { break; // attr processing is done later on in this method } else if (childName.equals(SchemaSymbols.ELT_ANY)) { index = traverseAny(child); seeParticle = true; seeOtherParticle = true; } else if (childName.equals(SchemaSymbols.ELT_ANNOTATION)) { //REVISIT, do nothing for annotation for now. } else if (childName.equals(SchemaSymbols.ELT_ANYATTRIBUTE)) { break; //REVISIT, do nothing for attribute wildcard for now. } else { // datatype qual if (!baseIsComplexSimple ) if (base.equals("")) reportSchemaError(SchemaMessageProvider.GenericError, new Object [] { "unrecogized child '"+childName+"' in compelx type "+typeName }); else reportSchemaError(SchemaMessageProvider.GenericError, new Object [] { "unrecogized child '"+childName+"' in compelx type '"+typeName+"' with base "+base }); } // if base is complextype with simpleType content, can't have any particle children at all. if (baseIsComplexSimple && seeParticle) { // REVISIT: Localize reportGenericSchemaError("In complexType "+typeName+", base type is complextype with simpleType content, can't have any particle children at all"); hadContent = false; left = index = -2; contentSpecType = XMLElementDecl.TYPE_SIMPLE; break; } // check the minOccurs and maxOccurs of the particle, and fix the // contentspec accordingly if (seeParticle) { index = expandContentModel(index, child); } //end of if (seeParticle) if (seeAll && seeOtherParticle) { // REVISIT: Localize reportGenericSchemaError ( " 'All' group needs to be the only child in Complextype : " + typeName); } if (seeAll) { //TO DO: REVISIT //check the minOccurs = 1 and maxOccurs = 1 } if (left == -2) { left = index; } else if (right == -2) { right = index; } else { left = fSchemaGrammar.addContentSpecNode(csnType, left, right, false); right = index; } } //end looping through the children if ( ! ( seeOtherParticle || seeAll ) && (elementContent || mixedContent) && (base.length() == 0 || ( base.length() > 0 && derivedByRestriction && !baseIsComplexSimple)) ) { contentSpecType = XMLElementDecl.TYPE_SIMPLE; simpleTypeValidator = getDatatypeValidator("", SchemaSymbols.ATTVAL_STRING); // REVISIT: Localize reportGenericSchemaError ( " complexType '"+typeName+"' with a elementOnly or mixed content " +"need to have at least one particle child"); } if (hadContent && right != -2) left = fSchemaGrammar.addContentSpecNode(csnType, left, right, false); if (mixedContent && hadContent) { // set occurrence count left = fSchemaGrammar.addContentSpecNode(XMLContentSpec.CONTENTSPECNODE_ZERO_OR_MORE, left, -1, false); } } // if derived by extension and base complextype has a content model, // compose the final content model by concatenating the base and the // current in sequence. if (!derivedByRestriction && baseContentSpecHandle > -1 ) { if (left == -2) { left = baseContentSpecHandle; } else left = fSchemaGrammar.addContentSpecNode(XMLContentSpec.CONTENTSPECNODE_SEQ, baseContentSpecHandle, left, false); } // REVISIT: this is when sees a topelevel <complexType name="abc">attrs*</complexType> if (content.length() == 0 && base.length() == 0 && left == -2) { contentSpecType = XMLElementDecl.TYPE_ANY; } if (content.length() == 0 && simpleTypeValidator == null && left == -2 ) { if (base.length() > 0 && baseTypeInfo != null && baseTypeInfo.contentType == XMLElementDecl.TYPE_EMPTY) { contentSpecType = XMLElementDecl.TYPE_EMPTY; } } if ( DEBUGGING ) System.out.println("!!!!!>>>>>" + typeName+", "+ baseTypeInfo + ", " + baseContentSpecHandle +", " + left +", "+scopeDefined); ComplexTypeInfo typeInfo = new ComplexTypeInfo(); typeInfo.baseComplexTypeInfo = baseTypeInfo; typeInfo.baseDataTypeValidator = baseTypeValidator; int derivedByInt = -1; if (derivedBy.length() > 0) { derivedByInt = parseComplexDerivedBy(derivedBy); } typeInfo.derivedBy = derivedByInt; typeInfo.scopeDefined = scopeDefined; typeInfo.contentSpecHandle = left; typeInfo.contentType = contentSpecType; typeInfo.datatypeValidator = simpleTypeValidator; typeInfo.blockSet = parseBlockSet(complexTypeDecl.getAttribute(SchemaSymbols.ATT_BLOCK)); typeInfo.finalSet = parseFinalSet(complexTypeDecl.getAttribute(SchemaSymbols.ATT_FINAL)); typeInfo.isAbstract = isAbstract.equals(SchemaSymbols.ATTVAL_TRUE) ? true:false ; //add a template element to the grammar element decl pool. int typeNameIndex = fStringPool.addSymbol(typeName); int templateElementNameIndex = fStringPool.addSymbol("$"+typeName); typeInfo.templateElementIndex = fSchemaGrammar.addElementDecl(new QName(-1, templateElementNameIndex,typeNameIndex,fTargetNSURI), (fTargetNSURI==-1) ? -1 : fCurrentScope, scopeDefined, contentSpecType, left, -1, simpleTypeValidator); typeInfo.attlistHead = fSchemaGrammar.getFirstAttributeDeclIndex(typeInfo.templateElementIndex); // (attribute | attrGroupRef)* XMLAttributeDecl attWildcard = null; Vector anyAttDecls = new Vector(); for (child = XUtil.getFirstChildElement(complexTypeDecl); child != null; child = XUtil.getNextSiblingElement(child)) { String childName = child.getNodeName(); if (childName.equals(SchemaSymbols.ELT_ATTRIBUTE)) { if ((baseIsComplexSimple||baseIsSimpleSimple) && derivedByRestriction) { // REVISIT: Localize reportGenericSchemaError("In complexType "+typeName+ ", base type has simpleType "+ "content and derivation method is"+ " 'restriction', can't have any "+ "attribute children at all"); break; } traverseAttributeDecl(child, typeInfo); } else if ( childName.equals(SchemaSymbols.ELT_ATTRIBUTEGROUP) ) { if ((baseIsComplexSimple||baseIsSimpleSimple) && derivedByRestriction) { // REVISIT: Localize reportGenericSchemaError("In complexType "+typeName+", base "+ "type has simpleType content and "+ "derivation method is 'restriction',"+ " can't have any attribute children at all"); break; } traverseAttributeGroupDecl(child,typeInfo,anyAttDecls); } else if ( childName.equals(SchemaSymbols.ELT_ANYATTRIBUTE) ) { attWildcard = traverseAnyAttribute(child); } } if (attWildcard != null) { XMLAttributeDecl fromGroup = null; final int count = anyAttDecls.size(); if ( count > 0) { fromGroup = (XMLAttributeDecl) anyAttDecls.elementAt(0); for (int i=1; i<count; i++) { fromGroup = mergeTwoAnyAttribute(fromGroup,(XMLAttributeDecl)anyAttDecls.elementAt(i)); } } if (fromGroup != null) { int saveProcessContents = attWildcard.defaultType; attWildcard = mergeTwoAnyAttribute(attWildcard, fromGroup); attWildcard.defaultType = saveProcessContents; } } else { //REVISIT: unclear in the Scheme Structures 4.3.3 what to do in this case } // merge in base type's attribute decls XMLAttributeDecl baseAttWildcard = null; if (baseTypeInfo != null && baseTypeInfo.attlistHead > -1 ) { int attDefIndex = baseTypeInfo.attlistHead; while ( attDefIndex > -1 ) { fTempAttributeDecl.clear(); fSchemaGrammar.getAttributeDecl(attDefIndex, fTempAttributeDecl); if (fTempAttributeDecl.type == XMLAttributeDecl.TYPE_ANY_ANY ||fTempAttributeDecl.type == XMLAttributeDecl.TYPE_ANY_LIST ||fTempAttributeDecl.type == XMLAttributeDecl.TYPE_ANY_LOCAL ||fTempAttributeDecl.type == XMLAttributeDecl.TYPE_ANY_OTHER ) { if (attWildcard == null) { baseAttWildcard = fTempAttributeDecl; } attDefIndex = fSchemaGrammar.getNextAttributeDeclIndex(attDefIndex); continue; } // if found a duplicate, if it is derived by restriction. then skip the one from the base type /**/ int temp = fSchemaGrammar.getAttributeDeclIndex(typeInfo.templateElementIndex, fTempAttributeDecl.name); if ( temp > -1) { if (derivedByRestriction) { attDefIndex = fSchemaGrammar.getNextAttributeDeclIndex(attDefIndex); continue; } } /**/ fSchemaGrammar.addAttDef( typeInfo.templateElementIndex, fTempAttributeDecl.name, fTempAttributeDecl.type, fTempAttributeDecl.enumeration, fTempAttributeDecl.defaultType, fTempAttributeDecl.defaultValue, fTempAttributeDecl.datatypeValidator, fTempAttributeDecl.list); attDefIndex = fSchemaGrammar.getNextAttributeDeclIndex(attDefIndex); } } // att wildcard will inserted after all attributes were processed if (attWildcard != null) { if (attWildcard.type != -1) { fSchemaGrammar.addAttDef( typeInfo.templateElementIndex, attWildcard.name, attWildcard.type, attWildcard.enumeration, attWildcard.defaultType, attWildcard.defaultValue, attWildcard.datatypeValidator, attWildcard.list); } else { //REVISIT: unclear in Schema spec if should report error here. } } else if (baseAttWildcard != null) { fSchemaGrammar.addAttDef( typeInfo.templateElementIndex, baseAttWildcard.name, baseAttWildcard.type, baseAttWildcard.enumeration, baseAttWildcard.defaultType, baseAttWildcard.defaultValue, baseAttWildcard.datatypeValidator, baseAttWildcard.list); } typeInfo.attlistHead = fSchemaGrammar.getFirstAttributeDeclIndex(typeInfo.templateElementIndex); if (!typeName.startsWith("#")) { typeName = fTargetNSURIString + "," + typeName; } typeInfo.typeName = new String(typeName); if ( DEBUGGING ) System.out.println("add complex Type to Registry: " + typeName +","+content+"."); fComplexTypeRegistry.put(typeName,typeInfo); // before exit the complex type definition, restore the scope, mainly for nested Anonymous Types fCurrentScope = previousScope; if (isNamedType) { fCurrentTypeNameStack.pop(); checkRecursingComplexType(); } //set template element's typeInfo fSchemaGrammar.setElementComplexTypeInfo(typeInfo.templateElementIndex, typeInfo); typeNameIndex = fStringPool.addSymbol(typeName); return typeNameIndex; } // end of method: traverseComplexTypeDecl
|
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/41c2fde574c659b3dbfb4bde2efbcc090c41a88e/TraverseSchema.java/clean/src/org/apache/xerces/validators/schema/TraverseSchema.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
10080,
12795,
559,
3456,
12,
3010,
7233,
559,
3456,
262,
1216,
1185,
288,
540,
514,
24996,
273,
7233,
559,
3456,
18,
588,
1499,
12,
4611,
14821,
18,
789,
56,
67,
26756,
11272,
3639,
514,
1026,
273,
7233,
559,
3456,
18,
588,
1499,
12,
3078,
14821,
18,
789,
56,
67,
8369,
1769,
3639,
514,
1203,
694,
273,
7233,
559,
3456,
18,
588,
1499,
12,
4611,
14821,
18,
789,
56,
67,
11403,
11272,
3639,
514,
913,
273,
7233,
559,
3456,
18,
588,
1499,
12,
3078,
14821,
18,
789,
56,
67,
9689,
1769,
3639,
514,
10379,
858,
273,
7233,
559,
3456,
18,
588,
1499,
12,
4611,
14821,
18,
789,
56,
67,
30086,
6486,
11272,
3639,
514,
727,
694,
273,
7233,
559,
3456,
18,
588,
1499,
12,
4611,
14821,
18,
789,
56,
67,
7263,
1013,
11272,
3639,
514,
24361,
273,
7233,
559,
3456,
18,
588,
1499,
12,
4611,
14821,
18,
789,
56,
2669,
67,
734,
11272,
3639,
514,
8173,
273,
7233,
559,
3456,
18,
588,
1499,
12,
3078,
14821,
18,
789,
56,
67,
1985,
1769,
540,
1250,
353,
7604,
559,
273,
629,
31,
3639,
309,
261,
6369,
19066,
262,
5411,
2332,
18,
659,
18,
8222,
2932,
31750,
310,
7233,
1412,
294,
315,
397,
8173,
397,
15937,
15,
1969,
15,
15937,
15,
1745,
9078,
1199,
1769,
3639,
309,
261,
723,
461,
18,
14963,
2932,
6,
3719,
288,
368,
314,
773,
2942,
279,
3089,
508,
5411,
368,
723,
461,
273,
315,
2505,
2207,
5591,
18,
19211,
18,
3341,
19,
2902,
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,
10080,
12795,
559,
3456,
12,
3010,
7233,
559,
3456,
262,
1216,
1185,
288,
540,
514,
24996,
273,
7233,
559,
3456,
18,
588,
1499,
12,
4611,
14821,
18,
789,
56,
67,
26756,
11272,
3639,
514,
1026,
273,
7233,
559,
3456,
18,
588,
1499,
12,
3078,
14821,
18,
789,
56,
67,
8369,
1769,
3639,
514,
1203,
694,
273,
7233,
559,
3456,
18,
588,
1499,
12,
4611,
14821,
18,
789,
56,
67,
11403,
11272,
3639,
514,
913,
273,
7233,
559,
3456,
18,
588,
1499,
12,
3078,
14821,
18,
789,
56,
67,
9689,
1769,
3639,
514,
10379,
858,
273,
7233,
559,
3456,
18,
588,
1499,
12,
4611,
14821,
18,
789,
56,
67,
30086,
6486,
11272,
3639,
514,
727,
694,
273,
2
] |
int type = T98; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; { match("for");
|
try { int type = T98; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; { match("for");
|
public void mT98() throws RecognitionException { int type = T98; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:39:7: ( 'for' ) // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:39:7: 'for' { match("for"); } if ( token==null ) {emit(type,line,charPosition,channel,start,getCharIndex()-1);} }
|
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/7e425814ce563fcc662b266adb2a4dc8e1a95d19/JavaParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParserLexer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
21115,
10689,
1435,
1216,
9539,
288,
3639,
509,
618,
273,
399,
10689,
31,
3639,
509,
787,
273,
23577,
1016,
5621,
3639,
509,
980,
273,
9851,
5621,
3639,
509,
1149,
2555,
273,
23577,
2555,
382,
1670,
5621,
3639,
509,
1904,
273,
3155,
18,
5280,
67,
15814,
31,
3639,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
6290,
19,
3341,
19,
12215,
19,
18756,
19,
6290,
19,
4288,
19,
5852,
2678,
18,
31731,
18,
75,
30,
5520,
30,
27,
30,
261,
296,
1884,
11,
262,
3639,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
6290,
19,
3341,
19,
12215,
19,
18756,
19,
6290,
19,
4288,
19,
5852,
2678,
18,
31731,
18,
75,
30,
5520,
30,
27,
30,
296,
1884,
11,
3639,
288,
3639,
845,
2932,
1884,
8863,
3639,
289,
3639,
309,
261,
1147,
631,
2011,
262,
288,
18356,
12,
723,
16,
1369,
16,
3001,
2555,
16,
4327,
16,
1937,
16,
588,
2156,
1016,
1435,
17,
21,
1769,
97,
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,
1071,
918,
21115,
10689,
1435,
1216,
9539,
288,
3639,
509,
618,
273,
399,
10689,
31,
3639,
509,
787,
273,
23577,
1016,
5621,
3639,
509,
980,
273,
9851,
5621,
3639,
509,
1149,
2555,
273,
23577,
2555,
382,
1670,
5621,
3639,
509,
1904,
273,
3155,
18,
5280,
67,
15814,
31,
3639,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
6290,
19,
3341,
19,
12215,
19,
18756,
19,
6290,
19,
4288,
19,
5852,
2678,
18,
31731,
18,
75,
30,
5520,
30,
27,
30,
261,
296,
1884,
11,
262,
3639,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
2
] |
this.midp1BootClassPath = new Path( getProject(), this.buildSetting.getMidp1Path().getAbsolutePath()); this.midp2BootClassPath = new Path( getProject(), this.buildSetting.getMidp2Path().getAbsolutePath()); this.midp2Cldc11BootClassPath = new Path( getProject(), this.buildSetting.getMidp2Cldc11Path().getAbsolutePath());
|
public void initProject() { // find out where J2ME Polish has been installed to: this.polishHomePath = getProject().getProperty( "polish.home" ); if (this.polishHomePath != null) { File dir = new File( this.polishHomePath ); if (!dir.isAbsolute()) { dir = new File( getProject().getBaseDir(), this.polishHomePath ); this.polishHomePath = dir.getAbsolutePath(); } this.polishHomePath += File.separatorChar; this.polishHomeDir = new File( this.polishHomePath ); } else { this.polishHomeDir = new File( "." ); } try { // load extensions: this.extensionManager = new ExtensionManager( getProject(), this.buildSetting.openExtensions() ); this.extensionManager.loadCustomDefinitions( this.buildSetting.getCustomExtensions() ); } catch (Exception e) { e.printStackTrace(); throw new BuildException("Unable to load extensions.xml - please report this error to j2mepolish@enough.de."); } // create environment this.environment = new Environment( this.extensionManager, getProject(), this ); this.environment.setBuildSetting( this.buildSetting ); // create debug manager: boolean isDebugEnabled = this.buildSetting.isDebugEnabled(); DebugManager debugManager = null; if (isDebugEnabled) { try { debugManager = new DebugManager( this.buildSetting.getDebugSetting(), this.extensionManager, this.environment ); } catch (BuildException e) { throw new BuildException( e.getMessage(), e ); } } // create project settings: this.polishProject = new PolishProject( this.buildSetting.usePolishGui(), isDebugEnabled, debugManager ); this.polishProject.addDirectCapability("polish.buildVersion", VERSION); this.polishProject.addDirectFeature( "polish.active" ); if (debugManager != null && debugManager.isVerbose()) { this.polishProject.addFeature("debugVerbose"); this.polishProject.addFeature("debug.verbose"); this.polishProject.addDirectCapability("polish.debug.Verbose", "enabled"); } if (debugManager != null && this.buildSetting.getDebugSetting().showLogOnError()) { this.polishProject.addFeature("showLogOnError"); } this.polishProject.addCapability("license", this.infoSetting.getlicense() ); if (isDebugEnabled) { this.polishProject.addFeature("debugEnabled"); } // specify some preprocessing symbols depending on the selected features: this.polishProject.addFeature(this.buildSetting.getImageLoadStrategy()); // this is actually outdated and only kept for backwards-compatibility: if (debugManager != null && this.buildSetting.getDebugSetting().useGui()) { this.polishProject.addFeature("useDebugGui"); } // add all ant properties if desired: if (this.buildSetting.includeAntProperties()) { Hashtable antProperties = getProject().getProperties(); Set keySet = antProperties.keySet(); for (Iterator iter = keySet.iterator(); iter.hasNext();) { String key = (String) iter.next(); this.polishProject.addDirectCapability( key, (String) antProperties.get(key) ); } } // add all variables from the build.xml: /* Variable[] variables = this.buildSetting.getVariables(); if (variables != null) { ArrayList conditionalVarsList = new ArrayList(); for (int i = 0; i < variables.length; i++) { Variable var = variables[i]; if (var.hasCondition()) { conditionalVarsList.add( var ); } else { //System.out.println("adding variable [" + var.getName() + "]." ); this.polishProject.addDirectCapability( var ); } } this.conditionalVariables = (Variable[]) conditionalVarsList.toArray( new Variable[ conditionalVarsList.size() ]); } */ this.variables = this.buildSetting.getVariables(); Variable[] unconditionalVars = this.variables.getUnconditionalVariables(); for (int i = 0; i < unconditionalVars.length; i++) { Variable variable = unconditionalVars[i]; this.polishProject.addDirectCapability( variable ); } // add all symbols from the build.xml: String symbolDefinition = this.buildSetting.getSymbols(); if (symbolDefinition != null) { String[] symbols = StringUtil.splitAndTrim( symbolDefinition, ',' ); for (int i = 0; i < symbols.length; i++) { this.polishProject.addDirectFeature( symbols[i] ); } } // add primary midlet-class-definition: String[] midletClassNames = this.buildSetting.getMidletClassNames(); this.polishProject.addDirectCapability("polish.midlet.class", midletClassNames[0] ); for (int i = 0; i < midletClassNames.length; i++) { this.polishProject.addDirectCapability("polish.classes.midlet-" + (i+1), midletClassNames[i] ); } // load CSS attributes: // create CSS attributes manager: if (this.buildSetting.usePolishGui()) { this.cssAttributesManager = new CssAttributesManager( this.buildSetting.openStandardCssAttributes() ); InputStream is = this.buildSetting.openCustomCssAttributes(); if (is != null) { this.cssAttributesManager.addCssAttributes(is); } boolean allowAllCssAttributes = "true".equals( this.polishProject.getCapability("polish.css.allowAllAttributes") ); if (allowAllCssAttributes) { CssAttribute[] attributes = this.cssAttributesManager.getAttributes(); for (int i = 0; i < attributes.length; i++) { CssAttribute attribute = attributes[i]; String name = attribute.getName(); String feature = "polish.css." + name; this.polishProject.addDirectFeature( feature ); } } } // create device database: this.deviceDatabase = new DeviceDatabase( getProject().getProperties(), this.polishHomeDir, getProject().getBaseDir(), this.buildSetting.getApiDir(), this.polishProject, this.buildSetting.getDeviceDatabaseInputStreams(), this.buildSetting.getDeviceDatabaseFiles() ); this.libraryManager = this.deviceDatabase.getLibraryManager(); this.environment.setLibraryManager(this.libraryManager); // create capability/vendor/group/device manager: this.deviceManager = this.deviceDatabase.getDeviceManager(); // create preprocessor: boolean replacePropertiesWithoutDirective = false; if (this.variables != null) { replacePropertiesWithoutDirective = this.variables.replacePropertiesWithoutDirective(); } if (!replacePropertiesWithoutDirective) { replacePropertiesWithoutDirective = this.buildSetting.replacePropertiesWithoutDirective(); } this.preprocessor = new Preprocessor( this.polishProject, this.environment, null, false, true, replacePropertiesWithoutDirective, null ); this.preprocessor.setUseDefaultPackage( this.buildSetting.useDefaultPackage() ); this.preprocessor.setCssAttributesManager( this.cssAttributesManager ); // init custom preprocessors: this.customPreprocessors = new ArrayList(); PreprocessorSetting[] settings = this.buildSetting.getPreprocessors(); //CustomPreprocessor[] processors = new CustomPreprocessor[ settings.length + 1]; // add the polish custom processor: // new PolishPreprocessor(); PreprocessorSetting preprocessorSetting = new PreprocessorSetting(); preprocessorSetting.setName("polish"); CustomPreprocessor customProcessor = CustomPreprocessor.getInstance(preprocessorSetting, this.preprocessor, this.extensionManager, this.environment ); //customProcessor.init(this.preprocessor, null); this.customPreprocessors.add( customProcessor ); //processors[0] = customProcessor; for (int i = 0; i < settings.length; i++) { preprocessorSetting = settings[i]; customProcessor = CustomPreprocessor.getInstance(preprocessorSetting, this.preprocessor, this.extensionManager, this.environment ); this.customPreprocessors.add( customProcessor ); } // initialise the preprocessing-source-directories: DirectoryScanner dirScanner = new DirectoryScanner(); dirScanner.setIncludes( new String[]{"**/*.java"} ); this.sourceSettings = this.buildSetting.getSourceSettings(); //File[] dirs = this.buildSetting.getSourceDirs(); //this.sourceDirs = new File[ dirs.length]; this.sourceFiles = new TextFile[ this.sourceSettings.length][]; TextFileManager textFileManager = new TextFileManager(); this.preprocessor.setTextFileManager(textFileManager); if (this.buildSetting.getPolishDir() != null) { // there is an explicit J2ME Polish directory: this.polishSourceDir = this.buildSetting.getPolishDir(); dirScanner.setBasedir(this.polishSourceDir); dirScanner.scan(); this.polishSourceFiles = getTextFiles( this.polishSourceDir, dirScanner.getIncludedFiles(), textFileManager ); } else { // the J2ME Polish sources need to be loaded from the jar-file: long lastModificationTime = 0; File jarFile = new File( this.buildSetting.getApiDir().getAbsolutePath() + File.separator + "enough-j2mepolish-build.jar"); if (jarFile.exists()) { lastModificationTime = jarFile.lastModified(); } else { jarFile = new File("import/enough-j2mepolish-build.jar"); if (jarFile.exists()) { lastModificationTime = jarFile.lastModified(); } } this.polishSourceDir = new File("src"); try { String[] fileNames = this.resourceUtil.readTextFile( ".", "build/j2mepolish.index.txt"); this.polishSourceFiles = getTextFiles( "src", fileNames, lastModificationTime, textFileManager ); } catch (IOException e) { throw new BuildException("Unable to load the J2ME source files from enough-j2mepolish-build.jar: " + e.getMessage(), e ); } } // load the normal source files: for (int i = 0; i < this.sourceSettings.length; i++) { SourceSetting setting = this.sourceSettings[i]; File dir = setting.getDir(); if (!dir.exists()) { throw new BuildException("The source-directory [" + dir.getAbsolutePath() + "] does not exist. Please check your settings in the [sourceDir] attribute of the <build> element."); } //this.sourceDirs[i] = dir; dirScanner.setBasedir(dir); dirScanner.scan(); this.sourceFiles[i] = getTextFiles( dir, dirScanner.getIncludedFiles(), textFileManager ); } if (this.buildSetting.usePolishGui() && this.styleSheetSourceFile == null) { throw new BuildException("Did not find the file [StyleSheet.java] of the J2ME Polish GUI framework. Please adjust the [polishDir] attribute of the <build> element in the [build.xml] file. The [polishDir]-attribute should point to the directory which contains the J2ME Polish-Java-sources."); } // load third party binary libraries, if any. // When there are third party libraries, they will all be extracted // and copied to the build/binary folder for easier integration: this.binaryLibraries = this.buildSetting.getBinaryLibraries(); if (this.binaryLibraries != null) { File binaryBaseDir = new File( this.buildSetting.getWorkDir(), "binary"); try { this.binaryLibrariesUpdated = this.binaryLibraries.copyToCache( binaryBaseDir ); } catch (IOException e) { e.printStackTrace(); throw new BuildException("Unable to copy the binary libraries to the internal cache [" + binaryBaseDir.getAbsolutePath() + "]: " + e.toString(), e ); } } // done preparing of binary libraries. // init boot class path: this.midp1BootClassPath = new Path( getProject(), this.buildSetting.getMidp1Path().getAbsolutePath()); this.midp2BootClassPath = new Path( getProject(), this.buildSetting.getMidp2Path().getAbsolutePath()); this.midp2Cldc11BootClassPath = new Path( getProject(), this.buildSetting.getMidp2Cldc11Path().getAbsolutePath()); // init postcompilers: if (this.buildSetting.doPostCompile()) { this.doPostCompile = true; PostCompilerSetting[] postCompilerSettings = this.buildSetting.getPostCompilers(); this.postCompilers = new PostCompiler[ postCompilerSettings.length ]; for (int i = 0; i < postCompilerSettings.length; i++) { PostCompilerSetting setting = postCompilerSettings[i]; this.postCompilers[i] = PostCompiler.getInstance(setting, this.extensionManager, this.environment); } } // init obfuscators: if (this.buildSetting.doObfuscate()) { ObfuscatorSetting[] obfuscatorSettings = this.buildSetting.getObfuscatorSettings(); ArrayList obfuscatorsList = new ArrayList(); String[] keepClasses = null; for (int i = 0; i < obfuscatorSettings.length; i++) { ObfuscatorSetting obfuscatorSetting = obfuscatorSettings[i]; if (keepClasses == null && obfuscatorSetting.hasKeepDefinitions()) { keepClasses = obfuscatorSetting.getPreserveClassNames(); } if ((obfuscatorSetting.isEnabled())) { Obfuscator obfuscator; try { obfuscator = Obfuscator.getInstance( obfuscatorSetting, getProject(), this.extensionManager, this.environment ); } catch (BuildException e) { throw e; } catch (Exception e) { e.printStackTrace(); throw new BuildException("Unable to initialize the obfuscator [" + obfuscatorSetting.getName() + "/" + obfuscatorSetting.getClassName() + "]: " + e.toString() ); } obfuscatorsList.add( obfuscator ); } } this.doObfuscate = (obfuscatorsList.size() > 0); if (this.doObfuscate) { this.obfuscators = (Obfuscator[]) obfuscatorsList.toArray( new Obfuscator[ obfuscatorsList.size() ] ); this.useDefaultPackage = this.buildSetting.useDefaultPackage(); String[] midletClasses = this.buildSetting.getMidletClassNames(); if (keepClasses == null) { keepClasses = new String[0]; } this.preserveClasses = new String[ keepClasses.length + midletClasses.length ]; System.arraycopy( keepClasses, 0, this.preserveClasses, 0, keepClasses.length ); System.arraycopy( midletClasses, 0, this.preserveClasses, keepClasses.length, midletClasses.length ); } } // init import manager: this.importConverter = new ImportConverter(); // init base style sheet: if (this.buildSetting.usePolishGui()) { ResourceSetting resourceSetting = this.buildSetting.getResourceSetting(); File cssFile = new File( resourceSetting.getDir().getAbsolutePath() + File.separatorChar + "polish.css"); if (!cssFile.exists()) { log("Unable to find polish.css at [" + cssFile.getAbsolutePath() + "] - you should create this file when you want to make most of the J2ME Polish GUI.", Project.MSG_WARN ); this.styleSheet = new StyleSheet(); } else { CssReader cssReader = new CssReader(); try { cssReader.add(cssFile); } catch (IOException e) { throw new BuildException("Unable to load polish.css: " + e.getMessage(), e ); } this.styleSheet = cssReader.getStyleSheet(); } } // set the names of the midlets: this.midletClassesByName = new HashMap(); String[] midletClasses = this.buildSetting.getMidletClassNames(); for (int i = 0; i < midletClasses.length; i++) { this.midletClassesByName.put( midletClasses[i], Boolean.TRUE ); } // get the java-extension: this.javaExtensions = this.buildSetting.getJavaExtensions(); // get the javac-settings: this.javacTarget = this.buildSetting.getJavacTarget(); // get the resource manager: this.resourceManager = new ResourceManager( this.buildSetting.getResourceSetting(), this.extensionManager, this.environment ); Locale[] localizations = this.resourceManager.getLocales(); if (localizations != null) { this.localizationSetting = this.buildSetting.getResourceSetting().getLocalizationSetting(); if (this.localizationSetting.isDynamic()) { this.supportedLocales = null; } else { this.supportedLocales = localizations; } // add the preprocessor for translations: String className; if (this.localizationSetting != null) { className = this.localizationSetting.getPreprocessorClassName(); } else { className = "de.enough.polish.preprocess.custom.TranslationPreprocessor"; } PreprocessorSetting setting = new PreprocessorSetting(); setting.setClass( className ); this.translationPreprocessor = (TranslationPreprocessor) CustomPreprocessor.getInstance(setting, this.preprocessor, this.extensionManager, this.environment ); this.customPreprocessors.add( this.translationPreprocessor ); if (this.localeSourceFile == null) { throw new BuildException("Unable to find [de.enough.polish.util.Locale.java] in the path, please set the \"polishDir\"-attribute of the <build>-element correctly."); } } try { // get the packager for creating the final jar-file: this.extensionManager.registerExtensions( ExtensionManager.TYPE_PACKAGER, this.buildSetting.getPackageSettings(), this.environment ); } catch (Exception e) { e.printStackTrace(); throw new BuildException("Unable to initialize packager: " + e.toString() ); } // check if there has been an error at the last run: this.errorLock = new File( this.buildSetting.getWorkDir().getAbsolutePath() + File.separator + "error.lock"); if (this.errorLock.exists()) { this.lastRunFailed = true; } else { this.lastRunFailed = false; try { this.errorLock.createNewFile(); } catch (IOException e) { System.err.println("Warning: unable to create temporary lock file: " + e.toString() ); } } // set J2ME Polish specific logger, // this logger will show the original source-code positions // and remove some verbose logging from ProGuard etc: Vector buildListeners = getProject().getBuildListeners(); BuildLogger logger = null; for (Iterator iter = buildListeners.iterator(); iter.hasNext();) { BuildListener listener = (BuildListener) iter.next(); if (listener instanceof BuildLogger) { logger = (BuildLogger) listener; break; } } if (logger != null) { // prepare the classPathTranslations-Map: HashMap classPathTranslationsMap = new HashMap(); for (int i=0; i < this.sourceFiles.length; i++) { TextFile[] files = this.sourceFiles[i]; for (int j = 0; j < files.length; j++) { TextFile file = files[j]; classPathTranslationsMap.put( file.getFilePath(), file.getFile().getAbsolutePath() ); } } this.polishLogger = new PolishLogger(logger, classPathTranslationsMap ); getProject().addBuildListener( this.polishLogger ); getProject().removeBuildListener(logger); } else { System.err.println("Warning: unable to replace Ant-logger. Compile errors will point to the preprocessed files instead of the original sources."); } }
|
9804 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9804/758f42c2d40e5346898ebb802507c5472b9fef12/PolishTask.java/clean/enough-polish-build/source/src/de/enough/polish/ant/PolishTask.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1208,
4109,
1435,
288,
202,
202,
759,
1104,
596,
1625,
804,
22,
958,
6730,
1468,
711,
2118,
5876,
358,
30,
202,
202,
2211,
18,
3915,
1468,
8684,
743,
273,
11080,
7675,
588,
1396,
12,
315,
3915,
1468,
18,
8712,
6,
11272,
202,
202,
430,
261,
2211,
18,
3915,
1468,
8684,
743,
480,
446,
13,
288,
1082,
202,
812,
1577,
273,
394,
1387,
12,
333,
18,
3915,
1468,
8684,
743,
11272,
1082,
202,
430,
16051,
1214,
18,
291,
10368,
10756,
288,
9506,
202,
1214,
273,
394,
1387,
12,
11080,
7675,
588,
2171,
1621,
9334,
333,
18,
3915,
1468,
8684,
743,
11272,
9506,
202,
2211,
18,
3915,
1468,
8684,
743,
273,
1577,
18,
588,
10368,
743,
5621,
1082,
202,
97,
1082,
202,
2211,
18,
3915,
1468,
8684,
743,
1011,
1387,
18,
11287,
2156,
31,
1082,
202,
2211,
18,
3915,
1468,
8684,
1621,
273,
394,
1387,
12,
333,
18,
3915,
1468,
8684,
743,
11272,
202,
202,
97,
469,
288,
1082,
202,
2211,
18,
3915,
1468,
8684,
1621,
273,
394,
1387,
12,
4585,
11272,
202,
202,
97,
9506,
202,
698,
288,
1082,
202,
759,
1262,
4418,
30,
1082,
202,
2211,
18,
6447,
1318,
273,
394,
10021,
1318,
12,
11080,
9334,
333,
18,
3510,
5568,
18,
3190,
7513,
1435,
11272,
1082,
202,
2211,
18,
6447,
1318,
18,
945,
3802,
7130,
12,
333,
18,
3510,
5568,
18,
588,
3802,
7513,
1435,
11272,
202,
202,
97,
1044,
261,
503,
425,
13,
288,
1082,
202,
73,
18,
1188,
6332,
5621,
1082,
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,
1208,
4109,
1435,
288,
202,
202,
759,
1104,
596,
1625,
804,
22,
958,
6730,
1468,
711,
2118,
5876,
358,
30,
202,
202,
2211,
18,
3915,
1468,
8684,
743,
273,
11080,
7675,
588,
1396,
12,
315,
3915,
1468,
18,
8712,
6,
11272,
202,
202,
430,
261,
2211,
18,
3915,
1468,
8684,
743,
480,
446,
13,
288,
1082,
202,
812,
1577,
273,
394,
1387,
12,
333,
18,
3915,
1468,
8684,
743,
11272,
1082,
202,
430,
16051,
1214,
18,
291,
10368,
10756,
288,
9506,
202,
1214,
273,
394,
1387,
12,
11080,
7675,
588,
2171,
1621,
9334,
333,
18,
3915,
1468,
8684,
743,
11272,
9506,
202,
2211,
18,
3915,
1468,
8684,
743,
273,
1577,
18,
588,
10368,
743,
5621,
2
] |
|
return null; } if (globalInspectionContext.isSuppressed(refEntity, getShortName())) {
|
public CommonProblemDescriptor[] checkElement(RefEntity refEntity, AnalysisScope analysisScope, InspectionManager inspectionManager, GlobalInspectionContext globalInspectionContext) { if (!(refEntity instanceof RefClass)) { return null; } if (globalInspectionContext.isSuppressed(refEntity, getShortName())) { return null; } final RefClass refClass = (RefClass) refEntity; final PsiClass aClass = refClass.getElement(); if (aClass.getContainingClass() != null) { return null; } final Set<RefClass> dependencies = InitializationDependencyUtils.calculateTransitiveInitializationDependentsForClass(refClass); final Set<RefClass> dependents = InitializationDependencyUtils.calculateTransitiveInitializationDependenciesForClass(refClass); final Set<RefClass> mutualDependents = new HashSet<RefClass>(dependencies); mutualDependents.retainAll(dependents); final int numMutualDependents = mutualDependents.size(); if (numMutualDependents == 0) { return null; } final String errorString = InspectionGadgetsBundle.message("cyclic.class.initialization.problem.descriptor", refEntity.getName(), numMutualDependents); return new CommonProblemDescriptor[]{inspectionManager.createProblemDescriptor(errorString)}; }
|
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/35cfb92e90812fb89d3411c214b6e37d08f443fb/CyclicClassInitializationInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/dependency/CyclicClassInitializationInspection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5658,
13719,
3187,
8526,
866,
1046,
12,
1957,
1943,
1278,
1943,
16,
4766,
5375,
16318,
3876,
6285,
3876,
16,
4766,
5375,
22085,
7017,
1318,
2763,
7017,
1318,
16,
4766,
5375,
8510,
14985,
1042,
2552,
14985,
1042,
13,
288,
3639,
309,
16051,
12,
1734,
1943,
1276,
3941,
797,
3719,
288,
5411,
327,
446,
31,
3639,
289,
3639,
309,
261,
6347,
14985,
1042,
18,
291,
3088,
10906,
12,
1734,
1943,
16,
23387,
1435,
3719,
288,
5411,
327,
446,
31,
3639,
289,
3639,
727,
3941,
797,
1278,
797,
273,
261,
1957,
797,
13,
1278,
1943,
31,
3639,
727,
453,
7722,
797,
20148,
273,
1278,
797,
18,
21336,
5621,
3639,
309,
261,
69,
797,
18,
588,
24344,
797,
1435,
480,
446,
13,
288,
5411,
327,
446,
31,
3639,
289,
3639,
727,
1000,
32,
1957,
797,
34,
5030,
273,
7734,
26586,
7787,
1989,
18,
11162,
1429,
3720,
17701,
4584,
4877,
22581,
12,
1734,
797,
1769,
3639,
727,
1000,
32,
1957,
797,
34,
2447,
4877,
273,
7734,
26586,
7787,
1989,
18,
11162,
1429,
3720,
17701,
8053,
22581,
12,
1734,
797,
1769,
3639,
727,
1000,
32,
1957,
797,
34,
4318,
1462,
4584,
4877,
273,
394,
6847,
32,
1957,
797,
34,
12,
11037,
1769,
3639,
4318,
1462,
4584,
4877,
18,
1349,
530,
1595,
12,
5817,
4877,
1769,
3639,
727,
509,
818,
7420,
1462,
4584,
4877,
273,
4318,
1462,
4584,
4877,
18,
1467,
5621,
3639,
309,
261,
2107,
7420,
1462,
4584,
4877,
422,
374,
13,
288,
5411,
327,
446,
31,
3639,
289,
3639,
727,
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,
5658,
13719,
3187,
8526,
866,
1046,
12,
1957,
1943,
1278,
1943,
16,
4766,
5375,
16318,
3876,
6285,
3876,
16,
4766,
5375,
22085,
7017,
1318,
2763,
7017,
1318,
16,
4766,
5375,
8510,
14985,
1042,
2552,
14985,
1042,
13,
288,
3639,
309,
16051,
12,
1734,
1943,
1276,
3941,
797,
3719,
288,
5411,
327,
446,
31,
3639,
289,
3639,
309,
261,
6347,
14985,
1042,
18,
291,
3088,
10906,
12,
1734,
1943,
16,
23387,
1435,
3719,
288,
5411,
327,
446,
31,
3639,
289,
3639,
727,
3941,
797,
1278,
797,
273,
261,
1957,
797,
13,
1278,
1943,
31,
3639,
727,
453,
7722,
797,
20148,
273,
1278,
797,
18,
21336,
5621,
3639,
309,
261,
69,
797,
18,
588,
24344,
797,
1435,
480,
446,
2
] |
|
if (extFactory != null) { n = (NewArray)n.ext(extFactory.extNewArray()); }
|
n = (NewArray)n.ext(extFactory.extNewArray());
|
public NewArray NewArray(Position pos, TypeNode base, List dims, int addDims, ArrayInit init) { NewArray n = new NewArray_c(pos, base, dims, addDims, init); if (extFactory != null) { n = (NewArray)n.ext(extFactory.extNewArray()); } return n; }
|
11982 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11982/27cff504b65da534a6e4e4ad3ce65fac3c7dbb26/NodeFactory_c.java/clean/src/polyglot/ast/NodeFactory_c.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1166,
1076,
1166,
1076,
12,
2555,
949,
16,
1412,
907,
1026,
16,
987,
9914,
16,
509,
527,
25006,
16,
1510,
2570,
1208,
13,
288,
3639,
1166,
1076,
290,
273,
394,
1166,
1076,
67,
71,
12,
917,
16,
1026,
16,
9914,
16,
527,
25006,
16,
1208,
1769,
3639,
309,
261,
408,
1733,
480,
446,
13,
288,
5411,
290,
273,
261,
1908,
1076,
13,
82,
18,
408,
12,
408,
1733,
18,
408,
1908,
1076,
10663,
3639,
289,
3639,
327,
290,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1166,
1076,
1166,
1076,
12,
2555,
949,
16,
1412,
907,
1026,
16,
987,
9914,
16,
509,
527,
25006,
16,
1510,
2570,
1208,
13,
288,
3639,
1166,
1076,
290,
273,
394,
1166,
1076,
67,
71,
12,
917,
16,
1026,
16,
9914,
16,
527,
25006,
16,
1208,
1769,
3639,
309,
261,
408,
1733,
480,
446,
13,
288,
5411,
290,
273,
261,
1908,
1076,
13,
82,
18,
408,
12,
408,
1733,
18,
408,
1908,
1076,
10663,
3639,
289,
3639,
327,
290,
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
] |
public org.quickfix.field.YieldRedemptionPriceType getYieldRedemptionPriceType() throws FieldNotFound { org.quickfix.field.YieldRedemptionPriceType value = new org.quickfix.field.YieldRedemptionPriceType();
|
public quickfix.field.YieldRedemptionPriceType getYieldRedemptionPriceType() throws FieldNotFound { quickfix.field.YieldRedemptionPriceType value = new quickfix.field.YieldRedemptionPriceType();
|
public org.quickfix.field.YieldRedemptionPriceType getYieldRedemptionPriceType() throws FieldNotFound { org.quickfix.field.YieldRedemptionPriceType value = new org.quickfix.field.YieldRedemptionPriceType(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/Confirmation.java/buggy/src/java/src/quickfix/fix44/Confirmation.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
16348,
426,
19117,
375,
5147,
559,
10448,
491,
426,
19117,
375,
5147,
559,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
16348,
426,
19117,
375,
5147,
559,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
16348,
426,
19117,
375,
5147,
559,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
16348,
426,
19117,
375,
5147,
559,
10448,
491,
426,
19117,
375,
5147,
559,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
16348,
426,
19117,
375,
5147,
559,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
16348,
426,
19117,
375,
5147,
559,
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
] |
public void testClone_NaturalAbundance() {
|
public void testClone_NaturalAbundance() throws Exception {
|
public void testClone_NaturalAbundance() { IIsotope iso = builder.newIsotope("C"); iso.setNaturalAbundance(1.0); IIsotope clone = (IIsotope)iso.clone(); // test cloning of exact mass iso.setNaturalAbundance(2.0); assertEquals(1.0, clone.getNaturalAbundance(), 0.001); }
|
45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/2b55a607674535cd8492e3539d8f3dce16fc3b92/IsotopeTest.java/buggy/src/org/openscience/cdk/test/IsotopeTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
10930,
67,
23779,
3766,
5895,
30274,
1435,
1216,
1185,
288,
3639,
467,
2520,
18946,
8702,
273,
2089,
18,
2704,
2520,
18946,
2932,
39,
8863,
3639,
8702,
18,
542,
23779,
3766,
5895,
30274,
12,
21,
18,
20,
1769,
3639,
467,
2520,
18946,
3236,
273,
261,
45,
2520,
18946,
13,
9699,
18,
14056,
5621,
7734,
368,
1842,
927,
22470,
434,
5565,
8039,
3639,
8702,
18,
542,
23779,
3766,
5895,
30274,
12,
22,
18,
20,
1769,
3639,
1815,
8867,
12,
21,
18,
20,
16,
3236,
18,
588,
23779,
3766,
5895,
30274,
9334,
374,
18,
11664,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
10930,
67,
23779,
3766,
5895,
30274,
1435,
1216,
1185,
288,
3639,
467,
2520,
18946,
8702,
273,
2089,
18,
2704,
2520,
18946,
2932,
39,
8863,
3639,
8702,
18,
542,
23779,
3766,
5895,
30274,
12,
21,
18,
20,
1769,
3639,
467,
2520,
18946,
3236,
273,
261,
45,
2520,
18946,
13,
9699,
18,
14056,
5621,
7734,
368,
1842,
927,
22470,
434,
5565,
8039,
3639,
8702,
18,
542,
23779,
3766,
5895,
30274,
12,
22,
18,
20,
1769,
3639,
1815,
8867,
12,
21,
18,
20,
16,
3236,
18,
588,
23779,
3766,
5895,
30274,
9334,
374,
18,
11664,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
case 202:
|
case 203:
|
public final java_cup.runtime.symbol CUP$do_action( int CUP$act_num, java_cup.runtime.lr_parser CUP$parser, java.util.Stack CUP$stack, int CUP$top) throws java.lang.Exception { /* object for return from actions */ java_cup.runtime.symbol CUP$result; /* select the action based on the action number */ switch (CUP$act_num) { /*. . . . . . . . . . . . . . . . . . . .*/ case 225: // empty ::= { CUP$result = new java_cup.runtime.symbol(/*empty*/4); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 224: // param_type_spec ::= scopename { CUP$result = new TypeSpec(/*param_type_spec*/44); ((TypeSpec)CUP$result).type_spec = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 223: // param_type_spec ::= string_type { CUP$result = new TypeSpec(/*param_type_spec*/44); ((TypeSpec)CUP$result).type_spec = (/*s*/(StringType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 222: // param_type_spec ::= base_type_spec { CUP$result = new TypeSpec(/*param_type_spec*/44); ((TypeSpec)CUP$result).type_spec = (/*s*/(BaseType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 221: // string_literal_list ::= string_literal COMMA string_literal_list { CUP$result = new java_cup.runtime.symbol(/*string_literal_list*/3); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 220: // string_literal_list ::= string_literal { CUP$result = new java_cup.runtime.symbol(/*string_literal_list*/3); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 219: // context_expr ::= empty { CUP$result = new java_cup.runtime.symbol(/*context_expr*/2); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 218: // context_expr ::= CONTEXT LPAREN string_literal_list RPAREN { CUP$result = new java_cup.runtime.symbol(/*context_expr*/2); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 217: // raises_expr ::= empty { CUP$result = new RaisesExpr(/*raises_expr*/84); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 216: // raises_expr ::= RAISES LPAREN scopename_list RPAREN { CUP$result = new RaisesExpr(/*raises_expr*/84); ((RaisesExpr)CUP$result).nameList = (Vector)(/*snl*/(SymbolList)CUP$stack.elementAt(CUP$top-1)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 215: // param_attribute ::= INOUT { CUP$result = new java_cup.runtime.int_token(/*param_attribute*/6); ((java_cup.runtime.int_token)CUP$result).int_val = 3; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 214: // param_attribute ::= OUT { CUP$result = new java_cup.runtime.int_token(/*param_attribute*/6); ((java_cup.runtime.int_token)CUP$result).int_val = 2; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 213: // param_attribute ::= IN { CUP$result = new java_cup.runtime.int_token(/*param_attribute*/6); ((java_cup.runtime.int_token)CUP$result).int_val = 1; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 212: // param_dcl ::= param_attribute param_type_spec simple_declarator { CUP$result = new ParamDecl(/*param_dcl*/83); ((ParamDecl)CUP$result).paramAttribute = (/*pa*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-2)).int_val; ((ParamDecl)CUP$result).paramTypeSpec = (/*pts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((ParamDecl)CUP$result).simple_declarator = (/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 211: // param_dcls ::= param_dcl { CUP$result = new SymbolList(/*param_dcls*/89); ((SymbolList)CUP$result).v.insertElementAt((/*pd*/(ParamDecl)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 210: // param_dcls ::= param_dcl COMMA param_dcls { CUP$result = new SymbolList(/*param_dcls*/89); ((SymbolList)CUP$result).v = (Vector)(/*pds*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*pd*/(ParamDecl)CUP$stack.elementAt(CUP$top-2)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 209: // parameter_dcls ::= LPAREN RPAREN { CUP$result = new SymbolList(/*parameter_dcls*/91); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 208: // parameter_dcls ::= LPAREN param_dcls RPAREN { CUP$result = new SymbolList(/*parameter_dcls*/91); ((SymbolList)CUP$result).v = (Vector)(/*pds*/(SymbolList)CUP$stack.elementAt(CUP$top-1)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 207: // void_type_spec ::= VOID { CUP$result = new VoidTypeSpec(/*void_type_spec*/71); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 206: // op_type_spec ::= void_type_spec { CUP$result = new TypeSpec(/*op_type_spec*/43); ((TypeSpec)CUP$result).type_spec = (/*s*/(VoidTypeSpec)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 205: // op_type_spec ::= param_type_spec { CUP$result = new TypeSpec(/*op_type_spec*/43); ((TypeSpec)CUP$result).type_spec = (/*s*/(TypeSpec)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 204: // op_attribute ::= empty { CUP$result = new java_cup.runtime.int_token(/*op_attribute*/5); ((java_cup.runtime.int_token)CUP$result).int_val = 0; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 203: // op_attribute ::= ONEWAY { CUP$result = new java_cup.runtime.int_token(/*op_attribute*/5); ((java_cup.runtime.int_token)CUP$result).int_val = 1; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 202: // op_dcl ::= op_attribute op_type_spec ID parameter_dcls raises_expr context_expr { CUP$result = new OpDecl(/*op_dcl*/85); ((OpDecl)CUP$result).opAttribute = (/*oa*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-5)).int_val; ((OpDecl)CUP$result).opTypeSpec = (/*ots*/(TypeSpec)CUP$stack.elementAt(CUP$top-4)); ((OpDecl)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((OpDecl)CUP$result).paramDecls = (Vector)(/*pds*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.clone(); ((OpDecl)CUP$result).raisesExpr = (/*re*/(RaisesExpr)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 201: // except_dcl ::= EXCEPTION ID LCBRACE member_list RCBRACE { CUP$result = new StructType(/*except_dcl*/52); ((StructType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((StructType)CUP$result).exc = true; ((StructType)CUP$result).set_memberlist( (/*ml*/(MemberList)CUP$stack.elementAt(CUP$top-1)) ); ((StructType)CUP$result).set_included( parser.include_state ); parser.closeScope( (Scope)((StructType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 200: // except_dcl ::= EXCEPTION ID LCBRACE RCBRACE { CUP$result = new StructType(/*except_dcl*/52); ((StructType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2))); ((StructType)CUP$result).exc = true; ((StructType)CUP$result).set_included( parser.include_state ); parser.closeScope( (Scope)((StructType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 199: // simple_declarator_list ::= simple_declarator COMMA simple_declarator_list { CUP$result = new SymbolList(/*simple_declarator_list*/93); ((SymbolList)CUP$result).v = (Vector)(/*sdl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-2)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 198: // simple_declarator_list ::= simple_declarator { CUP$result = new SymbolList(/*simple_declarator_list*/93); ((SymbolList)CUP$result).v.insertElementAt((/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 197: // attr_dcl ::= ATTRIBUTE param_type_spec simple_declarator_list { CUP$result = new AttrDecl(/*attr_dcl*/86); ((AttrDecl)CUP$result).readOnly = false; ((AttrDecl)CUP$result).param_type_spec = (/*pts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((AttrDecl)CUP$result).declarators = (/*sdl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 196: // attr_dcl ::= READONLY ATTRIBUTE param_type_spec simple_declarator_list { CUP$result = new AttrDecl(/*attr_dcl*/86); ((AttrDecl)CUP$result).readOnly = true; ((AttrDecl)CUP$result).param_type_spec = (/*pts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((AttrDecl)CUP$result).declarators = (/*sdl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 195: // fixed_array_size ::= LSBRACE positive_int_const RSBRACE { CUP$result = new FixedArraySize(/*fixed_array_size*/82); ((FixedArraySize)CUP$result).pos_int_const = (/*pic*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 194: // fixed_array_size_list ::= fixed_array_size fixed_array_size_list { CUP$result = new SymbolList(/*fixed_array_size_list*/97); ((SymbolList)CUP$result).v = (Vector)(/*fasl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*fas*/(FixedArraySize)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 193: // fixed_array_size_list ::= fixed_array_size { CUP$result = new SymbolList(/*fixed_array_size_list*/97); ((SymbolList)CUP$result).v.insertElementAt((/*fas*/(FixedArraySize)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 192: // array_declarator ::= ID fixed_array_size_list { CUP$result = new ArrayDeclarator(/*array_declarator*/81); ((ArrayDeclarator)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-1))); ((ArrayDeclarator)CUP$result).fixed_array_size_list = (/*fasl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 191: // fixed_point_type ::= FIXED LESSTHAN positive_int_const COMMA positive_int_const GREATERTHAN { CUP$result = new FixedPointType(/*fixed_point_type*/74); ((FixedPointType)CUP$result).digit_expr = (/*digits*/(PosIntConst)CUP$stack.elementAt(CUP$top-3)).const_expr; ((FixedPointType)CUP$result).scale_expr = (/*scale*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)).const_expr; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 190: // string_type ::= WSTRING { CUP$result = new StringType(/*string_type*/72); ((StringType)CUP$result).setWide(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 189: // string_type ::= STRING { CUP$result = new StringType(/*string_type*/72); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 188: // string_type ::= WSTRING LESSTHAN positive_int_const GREATERTHAN { CUP$result = new StringType(/*string_type*/72); ((StringType)CUP$result).max = (/*pic*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)).const_expr; ((StringType)CUP$result).setWide(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 187: // string_type ::= STRING LESSTHAN positive_int_const GREATERTHAN { CUP$result = new StringType(/*string_type*/72); ((StringType)CUP$result).max = (/*pic*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)).const_expr; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 186: // sequence_type ::= SEQUENCE LESSTHAN simple_type_spec GREATERTHAN { CUP$result = new SequenceType(/*sequence_type*/73); ((SequenceType)CUP$result).setTypeSpec( (/*sts*/(SimpleTypeSpec)CUP$stack.elementAt(CUP$top-1)) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 185: // sequence_type ::= SEQUENCE LESSTHAN simple_type_spec COMMA positive_int_const GREATERTHAN { CUP$result = new SequenceType(/*sequence_type*/73); ((SequenceType)CUP$result).max = (/*pic*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)).const_expr; ((SequenceType)CUP$result).setTypeSpec( (/*sts*/(SimpleTypeSpec)CUP$stack.elementAt(CUP$top-3)) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 184: // native_type ::= NATIVE simple_declarator { CUP$result = new NativeType(/*native_type*/54); ((NativeType)CUP$result).declarator = (/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 183: // enumerator_list ::= ID COMMA enumerator_list { CUP$result = new SymbolList(/*enumerator_list*/96); ((SymbolList)CUP$result).v = (Vector)(/*el*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2)).str_val,0); ((SymbolList)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 182: // enumerator_list ::= ID { CUP$result = new SymbolList(/*enumerator_list*/96); ((SymbolList)CUP$result).v.insertElementAt((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val,0); ((SymbolList)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 181: // enum_type ::= ENUM ID LCBRACE enumerator_list RCBRACE { CUP$result = new EnumType(/*enum_type*/50); ((EnumType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((EnumType)CUP$result).enumlist = (/*el*/(SymbolList)CUP$stack.elementAt(CUP$top-1)); ((EnumType)CUP$result).set_included( parser.include_state ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 180: // element_spec ::= type_spec declarator { CUP$result = new ElementSpec(/*element_spec*/57); ((ElementSpec)CUP$result).t.type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((ElementSpec)CUP$result).d = (/*dc*/(Declarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 179: // case_label_list ::= DEFAULT COLON case_label_list { CUP$result = new SymbolList(/*case_label_list*/88); ((SymbolList)CUP$result).v = (Vector)(/*cll*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.addElement(null); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 178: // case_label_list ::= CASE const_expr COLON case_label_list { CUP$result = new SymbolList(/*case_label_list*/88); ((SymbolList)CUP$result).v = (Vector)(/*cll*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.addElement((/*c*/(ConstExpr)CUP$stack.elementAt(CUP$top-2))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 177: // case_label_list ::= DEFAULT COLON { CUP$result = new SymbolList(/*case_label_list*/88); ((SymbolList)CUP$result).v.addElement( null ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 176: // case_label_list ::= CASE const_expr COLON { CUP$result = new SymbolList(/*case_label_list*/88); ((SymbolList)CUP$result).v.addElement((/*c*/(ConstExpr)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 175: // case ::= case_label_list element_spec SEMI { CUP$result = new Case(/*case*/56); ((Case)CUP$result).element_spec = (/*es*/(ElementSpec)CUP$stack.elementAt(CUP$top-1)); ((Case)CUP$result).case_label_list = (/*c*/(SymbolList)CUP$stack.elementAt(CUP$top-2)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 174: // switch_body ::= case switch_body { CUP$result = new SwitchBody(/*switch_body*/55); ((SwitchBody)CUP$result).caseListVector = (Vector)(/*sb*/(SwitchBody)CUP$stack.elementAt(CUP$top-0)).caseListVector.clone(); ((SwitchBody)CUP$result).caseListVector.addElement( (/*c*/(Case)CUP$stack.elementAt(CUP$top-1)) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 173: // switch_body ::= case { CUP$result = new SwitchBody(/*switch_body*/55); ((SwitchBody)CUP$result).caseListVector.addElement((/*c*/(Case)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 172: // switch_type_spec ::= scopename { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).type_spec = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 171: // switch_type_spec ::= enum_type { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).set_constr((/*e*/(EnumType)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 170: // switch_type_spec ::= bool_type { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).type_spec = (/*b*/(BooleanType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 169: // switch_type_spec ::= char_type { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).type_spec = (/*c*/(CharType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 168: // switch_type_spec ::= int_type { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).type_spec = (/*i*/(IntType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 167: // union_type ::= UNION ID SWITCH LPAREN switch_type_spec RPAREN LCBRACE switch_body RCBRACE { CUP$result = new UnionType(/*union_type*/53); ((UnionType)CUP$result).setSwitchType( (/*s*/(TypeSpec)CUP$stack.elementAt(CUP$top-4)) ); ((UnionType)CUP$result).setSwitchBody( (/*sb*/(SwitchBody)CUP$stack.elementAt(CUP$top-1)) ); ((UnionType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-7))); ((UnionType)CUP$result).set_included( parser.include_state ); parser.closeScope( (Scope)((UnionType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 166: // member ::= type_spec declarators SEMI { CUP$result = new Member(/*member*/78); ((Member)CUP$result).type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-2)); ((Member)CUP$result).declarators = (/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 165: // member_list ::= member member_list { CUP$result = new MemberList(/*member_list*/87); ((MemberList)CUP$result).v = (Vector)(/*ml*/(MemberList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((MemberList)CUP$result).v.insertElementAt((/*m*/(Member)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 164: // member_list ::= member { CUP$result = new MemberList(/*member_list*/87); ((MemberList)CUP$result).v.insertElementAt((/*m*/(Member)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 163: // struct_type ::= STRUCT ID { CUP$result = new StructType(/*struct_type*/51); ((StructType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); parser.closeScope( (Scope)((StructType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 162: // struct_type ::= STRUCT ID LCBRACE member_list RCBRACE { CUP$result = new StructType(/*struct_type*/51); ((StructType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((StructType)CUP$result).exc = false; ((StructType)CUP$result).set_memberlist( (/*ml*/(MemberList)CUP$stack.elementAt(CUP$top-1)) ); ((StructType)CUP$result).set_included( parser.include_state ); parser.closeScope( (Scope)((StructType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 161: // any_type ::= ANY { CUP$result = new AnyType(/*any_type*/70); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 160: // octet_type ::= OCTET { CUP$result = new OctetType(/*octet_type*/69); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 159: // bool_type ::= BOOLEAN { CUP$result = new BooleanType(/*bool_type*/68); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 158: // char_type ::= WCHAR { CUP$result = new CharType(/*char_type*/67); ((CharType)CUP$result).setWide(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 157: // char_type ::= CHAR { CUP$result = new CharType(/*char_type*/67); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 156: // long_long_type ::= LONG LONG { CUP$result = new LongLongType(/*long_long_type*/66); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 155: // long_type ::= LONG { CUP$result = new LongType(/*long_type*/65); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 154: // short_type ::= SHORT { CUP$result = new ShortType(/*short_type*/64); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 153: // int_type ::= UNSIGNED short_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*s*/(ShortType)CUP$stack.elementAt(CUP$top-0)); ((IntType)CUP$result).setUnsigned(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 152: // int_type ::= short_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*s*/(ShortType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 151: // int_type ::= UNSIGNED long_long_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*l*/(LongLongType)CUP$stack.elementAt(CUP$top-0)); ((IntType)CUP$result).setUnsigned(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 150: // int_type ::= UNSIGNED long_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*l*/(LongType)CUP$stack.elementAt(CUP$top-0)); ((IntType)CUP$result).setUnsigned(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 149: // int_type ::= long_long_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*ll*/(LongLongType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 148: // int_type ::= long_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*l*/(LongType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 147: // double_type ::= DOUBLE { CUP$result = new DoubleType(/*double_type*/63); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 146: // fixed_pt_const_type ::= FIXED { CUP$result = new FixedPointConstType(/*fixed_pt_const_type*/62); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 145: // float_type ::= FLOAT { CUP$result = new FloatType(/*float_type*/61); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 144: // float_pt_type ::= double_type { CUP$result = new FloatPtType(/*float_pt_type*/60); ((FloatPtType)CUP$result).type_spec = (/*d*/(DoubleType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 143: // float_pt_type ::= float_type { CUP$result = new FloatPtType(/*float_pt_type*/60); ((FloatPtType)CUP$result).type_spec = (/*f*/(FloatType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 142: // simple_declarator ::= ID { CUP$result = new SimpleDeclarator(/*simple_declarator*/80); ((SimpleDeclarator)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 141: // declarator ::= array_declarator { CUP$result = new Declarator(/*declarator*/79); ((Declarator)CUP$result).d = (/*s*/(ArrayDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 140: // declarator ::= simple_declarator { CUP$result = new Declarator(/*declarator*/79); ((Declarator)CUP$result).d = (/*s*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 139: // declarators ::= declarator { CUP$result = new SymbolList(/*declarators*/94); ((SymbolList)CUP$result).v.insertElementAt((/*d*/(Declarator)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 138: // declarators ::= declarator COMMA declarators { CUP$result = new SymbolList(/*declarators*/94); ((SymbolList)CUP$result).v = (Vector)(/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*d*/(Declarator)CUP$stack.elementAt(CUP$top-2)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 137: // constr_type_spec ::= enum_type { CUP$result = new ConstrTypeSpec(/*constr_type_spec*/49); ((ConstrTypeSpec)CUP$result).c_type_spec = (/*e*/(EnumType)CUP$stack.elementAt(CUP$top-0)); ((ConstrTypeSpec)CUP$result).set_token((/*e*/(EnumType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 136: // constr_type_spec ::= union_type { CUP$result = new ConstrTypeSpec(/*constr_type_spec*/49); ((ConstrTypeSpec)CUP$result).c_type_spec = (/*u*/(UnionType)CUP$stack.elementAt(CUP$top-0)); ((ConstrTypeSpec)CUP$result).set_token((/*u*/(UnionType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 135: // constr_type_spec ::= struct_type { CUP$result = new ConstrTypeSpec(/*constr_type_spec*/49); ((ConstrTypeSpec)CUP$result).c_type_spec = (/*s*/(StructType)CUP$stack.elementAt(CUP$top-0)); ((ConstrTypeSpec)CUP$result).set_token((/*s*/(StructType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 134: // template_type_spec ::= fixed_point_type { CUP$result = new TemplateTypeSpec(/*template_type_spec*/48); ((TemplateTypeSpec)CUP$result).type_spec = (/*f*/(FixedPointType)CUP$stack.elementAt(CUP$top-0)); ((TemplateTypeSpec)CUP$result).set_token((/*f*/(FixedPointType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 133: // template_type_spec ::= string_type { CUP$result = new TemplateTypeSpec(/*template_type_spec*/48); ((TemplateTypeSpec)CUP$result).type_spec = (/*s*/(StringType)CUP$stack.elementAt(CUP$top-0)); ((TemplateTypeSpec)CUP$result).set_token((/*s*/(StringType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 132: // template_type_spec ::= sequence_type { CUP$result = new TemplateTypeSpec(/*template_type_spec*/48); ((TemplateTypeSpec)CUP$result).type_spec = (/*s*/(SequenceType)CUP$stack.elementAt(CUP$top-0)); ((TemplateTypeSpec)CUP$result).set_token((/*s*/(SequenceType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 131: // base_type_spec ::= VALUEBASE { CUP$result = new BaseType(/*base_type_spec*/58); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 130: // base_type_spec ::= any_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(AnyType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 129: // base_type_spec ::= octet_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(OctetType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 128: // base_type_spec ::= bool_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(BooleanType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 127: // base_type_spec ::= char_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(CharType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 126: // base_type_spec ::= int_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(IntType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 125: // base_type_spec ::= float_pt_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(FloatPtType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 124: // simple_type_spec ::= scopename { CUP$result = new SimpleTypeSpec(/*simple_type_spec*/47); ((SimpleTypeSpec)CUP$result).type_spec = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); ((SimpleTypeSpec)CUP$result).set_token((/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 123: // simple_type_spec ::= template_type_spec { CUP$result = new SimpleTypeSpec(/*simple_type_spec*/47); ((SimpleTypeSpec)CUP$result).type_spec = (/*s*/(TemplateTypeSpec)CUP$stack.elementAt(CUP$top-0)); ((SimpleTypeSpec)CUP$result).set_token((/*s*/(TemplateTypeSpec)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 122: // simple_type_spec ::= base_type_spec { CUP$result = new SimpleTypeSpec(/*simple_type_spec*/47); ((SimpleTypeSpec)CUP$result).type_spec = (/*s*/(BaseType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 121: // type_spec ::= constr_type_spec { CUP$result = new TypeSpec(/*type_spec*/42); ((TypeSpec)CUP$result).type_spec = (/*s*/(ConstrTypeSpec)CUP$stack.elementAt(CUP$top-0)); ((TypeSpec)CUP$result).set_token((/*s*/(ConstrTypeSpec)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 120: // type_spec ::= simple_type_spec { CUP$result = new TypeSpec(/*type_spec*/42); ((TypeSpec)CUP$result).type_spec = (/*s*/(SimpleTypeSpec)CUP$stack.elementAt(CUP$top-0)); ((TypeSpec)CUP$result).set_token((/*s*/(SimpleTypeSpec)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 119: // type_declarator ::= type_spec declarators { CUP$result = new TypeDeclarator(/*type_declarator*/41); ((TypeDeclarator)CUP$result).type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((TypeDeclarator)CUP$result).declarators = (/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 118: // type_def ::= TYPEDEF type_declarator { CUP$result = new TypeDef(/*type_def*/46); ((TypeDef)CUP$result).type_declarator = (/*t*/(TypeDeclarator)CUP$stack.elementAt(CUP$top-0)); ((TypeDef)CUP$result).set_included( parser.include_state ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 117: // type_dcl ::= native_type { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*n*/(NativeType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 116: // type_dcl ::= enum_type { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*e*/(EnumType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 115: // type_dcl ::= union_type { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*u*/(UnionType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 114: // type_dcl ::= struct_type { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*s*/(StructType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 113: // type_dcl ::= type_def { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*t*/(TypeDef)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 112: // positive_int_const ::= const_expr { CUP$result = new PosIntConst(/*positive_int_const*/31); ((PosIntConst)CUP$result).const_expr = (/*c*/(ConstExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 111: // string_literal ::= LDBLQUOTE DBLQUOTE { CUP$result = new Literal(/*string_literal*/76); ((Literal)CUP$result).string = "\"\""; ((Literal)CUP$result).wide = true; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 110: // string_literal ::= LDBLQUOTE ID DBLQUOTE { CUP$result = new Literal(/*string_literal*/76); ((Literal)CUP$result).string = "\"" + (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-1)).str_val + "\""; ((Literal)CUP$result).wide = true; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 109: // string_literal ::= DBLQUOTE DBLQUOTE { CUP$result = new Literal(/*string_literal*/76); ((Literal)CUP$result).string = "\"\""; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 108: // string_literal ::= DBLQUOTE ID DBLQUOTE { CUP$result = new Literal(/*string_literal*/76); ((Literal)CUP$result).string = "\"" + (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-1)).str_val + "\""; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 107: // literal ::= FALSE { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "false"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 106: // literal ::= TRUE { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "true"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 105: // literal ::= FLOAT_NUMBER { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "" + (/*n*/(java_cup.runtime.float_token)CUP$stack.elementAt(CUP$top-0)).float_val ; ((Literal)CUP$result).token = (/*n*/(java_cup.runtime.float_token)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 104: // literal ::= FIXED_NUMBER { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "" + (/*f*/(fixed_token)CUP$stack.elementAt(CUP$top-0)).fixed_val; ((Literal)CUP$result).token = (/*f*/(fixed_token)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 103: // literal ::= string_literal { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = (/*s*/(Literal)CUP$stack.elementAt(CUP$top-0)).string; ((Literal)CUP$result).wide = (/*s*/(Literal)CUP$stack.elementAt(CUP$top-0)).wide; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 102: // literal ::= QUOTE CH QUOTE { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "\'" + (/*c*/(java_cup.runtime.char_token)CUP$stack.elementAt(CUP$top-1)).char_val + "\'"; ((Literal)CUP$result).token = (/*c*/(java_cup.runtime.char_token)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 101: // literal ::= LONG_NUMBER { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "" + (/*l*/(java_cup.runtime.long_token)CUP$stack.elementAt(CUP$top-0)).long_val; ((Literal)CUP$result).token = (/*l*/(java_cup.runtime.long_token)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 100: // literal ::= NUMBER { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "" + (/*n*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-0)).int_val; ((Literal)CUP$result).token = (/*n*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 99: // primary_expr ::= LPAREN const_expr RPAREN { CUP$result = new PrimaryExpr(/*primary_expr*/39); ((PrimaryExpr)CUP$result).symbol = (/*c*/(ConstExpr)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 98: // primary_expr ::= literal { CUP$result = new PrimaryExpr(/*primary_expr*/39); ((PrimaryExpr)CUP$result).symbol = (/*l*/(Literal)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 97: // primary_expr ::= scopename { CUP$result = new PrimaryExpr(/*primary_expr*/39); ((PrimaryExpr)CUP$result).symbol = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 96: // unary_op ::= TILDE { CUP$result = new java_cup.runtime.str_token(/*unary_op*/7); ((java_cup.runtime.str_token)CUP$result).str_val = "~"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 95: // unary_op ::= PLUS { CUP$result = new java_cup.runtime.str_token(/*unary_op*/7); ((java_cup.runtime.str_token)CUP$result).str_val = "+"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 94: // unary_op ::= MINUS { CUP$result = new java_cup.runtime.str_token(/*unary_op*/7); ((java_cup.runtime.str_token)CUP$result).str_val = "-"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 93: // unary_expr ::= primary_expr { CUP$result = new UnaryExpr(/*unary_expr*/38); ((UnaryExpr)CUP$result).primary_expr = (/*p*/(PrimaryExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 92: // unary_expr ::= unary_op primary_expr { CUP$result = new UnaryExpr(/*unary_expr*/38); ((UnaryExpr)CUP$result).primary_expr = (/*p*/(PrimaryExpr)CUP$stack.elementAt(CUP$top-0)); ((UnaryExpr)CUP$result).unary_op = (/*u*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-1)).str_val; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 91: // mult_expr ::= mult_expr PERCENT unary_expr { CUP$result = new MultExpr(/*mult_expr*/37); ((MultExpr)CUP$result).unary_expr = (/*u*/(UnaryExpr)CUP$stack.elementAt(CUP$top-0)); ((MultExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-2)); ((MultExpr)CUP$result).operator = "%"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 90: // mult_expr ::= mult_expr SLASH unary_expr { CUP$result = new MultExpr(/*mult_expr*/37); ((MultExpr)CUP$result).unary_expr = (/*u*/(UnaryExpr)CUP$stack.elementAt(CUP$top-0)); ((MultExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-2)); ((MultExpr)CUP$result).operator = "/"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 89: // mult_expr ::= mult_expr STAR unary_expr { CUP$result = new MultExpr(/*mult_expr*/37); ((MultExpr)CUP$result).unary_expr = (/*u*/(UnaryExpr)CUP$stack.elementAt(CUP$top-0)); ((MultExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-2)); ((MultExpr)CUP$result).operator = "*"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 88: // mult_expr ::= unary_expr { CUP$result = new MultExpr(/*mult_expr*/37); ((MultExpr)CUP$result).unary_expr = (/*u*/(UnaryExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 87: // add_expr ::= add_expr MINUS mult_expr { CUP$result = new AddExpr(/*add_expr*/36); ((AddExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-2)); ((AddExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-0)); ((AddExpr)CUP$result).operator = "-"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 86: // add_expr ::= add_expr PLUS mult_expr { CUP$result = new AddExpr(/*add_expr*/36); ((AddExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-2)); ((AddExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-0)); ((AddExpr)CUP$result).operator = "+"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 85: // add_expr ::= mult_expr { CUP$result = new AddExpr(/*add_expr*/36); ((AddExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 84: // shift_expr ::= shift_expr RSHIFT add_expr { CUP$result = new ShiftExpr(/*shift_expr*/35); ((ShiftExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-0)); ((ShiftExpr)CUP$result).shift_expr = (/*s*/(ShiftExpr)CUP$stack.elementAt(CUP$top-2)); ((ShiftExpr)CUP$result).operator = ">>"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 83: // shift_expr ::= shift_expr LSHIFT add_expr { CUP$result = new ShiftExpr(/*shift_expr*/35); ((ShiftExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-0)); ((ShiftExpr)CUP$result).shift_expr = (/*s*/(ShiftExpr)CUP$stack.elementAt(CUP$top-2)); ((ShiftExpr)CUP$result).operator = "<<"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 82: // shift_expr ::= add_expr { CUP$result = new ShiftExpr(/*shift_expr*/35); ((ShiftExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 81: // and_expr ::= and_expr AMPERSAND shift_expr { CUP$result = new AndExpr(/*and_expr*/34); ((AndExpr)CUP$result).and_expr = (/*a*/(AndExpr)CUP$stack.elementAt(CUP$top-2)); ((AndExpr)CUP$result).shift_expr = (/*s*/(ShiftExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 80: // and_expr ::= shift_expr { CUP$result = new AndExpr(/*and_expr*/34); ((AndExpr)CUP$result).shift_expr = (/*s*/(ShiftExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 79: // xor_expr ::= xor_expr CIRCUM and_expr { CUP$result = new XorExpr(/*xor_expr*/33); ((XorExpr)CUP$result).and_expr = (/*a*/(AndExpr)CUP$stack.elementAt(CUP$top-0)); ((XorExpr)CUP$result).xor_expr = (/*x*/(XorExpr)CUP$stack.elementAt(CUP$top-2)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 78: // xor_expr ::= and_expr { CUP$result = new XorExpr(/*xor_expr*/33); ((XorExpr)CUP$result).and_expr = (/*a*/(AndExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 77: // or_expr ::= or_expr BAR xor_expr { CUP$result = new OrExpr(/*or_expr*/32); ((OrExpr)CUP$result).or_expr = (/*o*/(OrExpr)CUP$stack.elementAt(CUP$top-2)); ((OrExpr)CUP$result).xor_expr = (/*x*/(XorExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 76: // or_expr ::= xor_expr { CUP$result = new OrExpr(/*or_expr*/32); ((OrExpr)CUP$result).xor_expr = (/*x*/(XorExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 75: // const_expr ::= or_expr { CUP$result = new ConstExpr(/*const_expr*/30); ((ConstExpr)CUP$result).or_expr = (/*o*/(OrExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 74: // const_type ::= scopename { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); ((ConstType)CUP$result).set_token((/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 73: // const_type ::= octet_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(OctetType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 72: // const_type ::= string_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(StringType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 71: // const_type ::= fixed_pt_const_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(FixedPointConstType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 70: // const_type ::= float_pt_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(FloatPtType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 69: // const_type ::= bool_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(BooleanType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 68: // const_type ::= char_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(CharType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 67: // const_type ::= int_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(IntType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 66: // const_dcl ::= CONST const_type ID EQUALS const_expr { CUP$result = new ConstDecl(/*const_dcl*/28); ((ConstDecl)CUP$result).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2)).str_val); ((ConstDecl)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2))); ((ConstDecl)CUP$result).const_expr = (/*ce*/(ConstExpr)CUP$stack.elementAt(CUP$top-0)); ((ConstDecl)CUP$result).const_type = (ConstType)(/*ct*/(ConstType)CUP$stack.elementAt(CUP$top-3)); ((ConstDecl)CUP$result).set_included( parser.include_state ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 65: // init_param_decl ::= IN param_type_spec simple_declarator { CUP$result = new InitParamDecl(/*init_param_decl*/27); ((InitParamDecl)CUP$result).paramTypeSpec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((InitParamDecl)CUP$result).simple_declarator = (/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 64: // init_param_decls ::= init_param_decl COMMA init_param_decls { CUP$result = new SymbolList(/*init_param_decls*/90); ((SymbolList)CUP$result).v = (Vector)(/*ipdcls*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt( (/*ip*/(InitParamDecl)CUP$stack.elementAt(CUP$top-2)), 0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 63: // init_param_decls ::= init_param_decl { CUP$result = new SymbolList(/*init_param_decls*/90); ((SymbolList)CUP$result).v.insertElementAt( (/*ip*/(InitParamDecl)CUP$stack.elementAt(CUP$top-0)), 0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 62: // init_dcl ::= FACTORY ID LPAREN RPAREN SEMI { CUP$result = new InitDecl(/*init_dcl*/26); ((InitDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3)).str_val; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 61: // init_dcl ::= FACTORY ID LPAREN init_param_decls RPAREN SEMI { CUP$result = new InitDecl(/*init_dcl*/26); ((InitDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val; ((InitDecl)CUP$result).paramDecls = (Vector)(/*ipd*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 60: // state_member ::= PRIVATE type_spec declarators SEMI { CUP$result = new StateMember(/*state_member*/25); ((StateMember)CUP$result).isPublic = false; ((StateMember)CUP$result).type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-2)); ((StateMember)CUP$result).declarators = (/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 59: // state_member ::= PUBLIC type_spec declarators SEMI { CUP$result = new StateMember(/*state_member*/25); ((StateMember)CUP$result).isPublic = true; ((StateMember)CUP$result).type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-2)); ((StateMember)CUP$result).declarators = (/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 58: // value_element ::= init_dcl { CUP$result = new Definition(/*value_element*/24); ((Definition)CUP$result).set_declaration ((/*id*/(InitDecl)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 57: // value_element ::= state_member { CUP$result = new Definition(/*value_element*/24); ((Definition)CUP$result).set_declaration ((/*sm*/(StateMember)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 56: // value_element ::= export { CUP$result = new Definition(/*value_element*/24); ((Definition)CUP$result).set_declaration ((/*e*/(Definition)CUP$stack.elementAt(CUP$top-0)).get_declaration()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 55: // value_elements ::= empty { CUP$result = new Definitions(/*value_elements*/23); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 54: // value_elements ::= value_element value_elements { CUP$result = new Definitions(/*value_elements*/23); ((Definitions)CUP$result).v = (Vector)(/*es*/(Definitions)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((Definitions)CUP$result).v.insertElementAt((/*e*/(Definition)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 53: // truncatable ::= TRUNCATABLE { CUP$result = new Truncatable(/*truncatable*/16); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 52: // value_inheritance_spec ::= empty { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 51: // value_inheritance_spec ::= COLON scopename_list SUPPORTS scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).v = (Vector)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.clone(); ((ValueInheritanceSpec)CUP$result).supports = (Vector)(/*interface_names*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 50: // value_inheritance_spec ::= COLON truncatable scopename_list SUPPORTS scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).truncatable = (/*t*/(Truncatable)CUP$stack.elementAt(CUP$top-3)); ((ValueInheritanceSpec)CUP$result).truncatable.scopedName = (ScopedName)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.remove(0); ((ValueInheritanceSpec)CUP$result).v = (Vector)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.clone(); ((ValueInheritanceSpec)CUP$result).supports = (Vector)(/*interface_names*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 49: // value_inheritance_spec ::= SUPPORTS scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).supports = (Vector)(/*interface_names*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 48: // value_inheritance_spec ::= COLON scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).v = (Vector)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 47: // value_inheritance_spec ::= COLON truncatable scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).truncatable = (/*t*/(Truncatable)CUP$stack.elementAt(CUP$top-1)); ((ValueInheritanceSpec)CUP$result).truncatable.scopedName = (ScopedName)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.remove(0); ((ValueInheritanceSpec)CUP$result).v = (Vector)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 46: // value_dcl ::= VALUETYPE ID value_inheritance_spec LCBRACE value_elements RCBRACE { CUP$result = new ValueDecl(/*value_dcl*/19); ((ValueDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val; ((ValueDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((ValueDecl)CUP$result).setInheritanceSpec ((/*is*/(ValueInheritanceSpec)CUP$stack.elementAt(CUP$top-3))); ((ValueDecl)CUP$result).setValueElements ((/*ve*/(Definitions)CUP$stack.elementAt(CUP$top-1))); ((ValueDecl)CUP$result).isCustomMarshalled (false); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 45: // value_dcl ::= VALUETYPE ID { CUP$result = new ValueDecl(/*value_dcl*/19); ((ValueDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val; ((ValueDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); ((ValueDecl)CUP$result).isCustomMarshalled (false); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 44: // value_dcl ::= CUSTOM VALUETYPE ID value_inheritance_spec LCBRACE value_elements RCBRACE { CUP$result = new ValueDecl(/*value_dcl*/19); ((ValueDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val; ((ValueDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((ValueDecl)CUP$result).setInheritanceSpec ((/*is*/(ValueInheritanceSpec)CUP$stack.elementAt(CUP$top-3))); ((ValueDecl)CUP$result).setValueElements ((/*ve*/(Definitions)CUP$stack.elementAt(CUP$top-1))); ((ValueDecl)CUP$result).isCustomMarshalled (true); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 43: // value_body ::= empty { CUP$result = new ValueBody(/*value_body*/21); ((ValueBody)CUP$result).commit(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 42: // value_body ::= export value_body { CUP$result = new ValueBody(/*value_body*/21); ((ValueBody)CUP$result).v = (Vector)(/*vb*/(ValueBody)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((ValueBody)CUP$result).v.insertElementAt((/*e*/(Definition)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 41: // value_abs_dcl ::= ABSTRACT VALUETYPE ID { CUP$result = new ValueAbsDecl(/*value_abs_dcl*/20); ((ValueAbsDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val; ((ValueAbsDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 40: // value_abs_dcl ::= ABSTRACT VALUETYPE ID value_inheritance_spec LCBRACE value_body RCBRACE { CUP$result = new ValueAbsDecl(/*value_abs_dcl*/20); ((ValueAbsDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val; ((ValueAbsDecl)CUP$result).setInheritanceSpec( (/*is*/(ValueInheritanceSpec)CUP$stack.elementAt(CUP$top-3)) ); ((ValueAbsDecl)CUP$result).body = (/*b*/(ValueBody)CUP$stack.elementAt(CUP$top-1)); (/*b*/(ValueBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val); (/*b*/(ValueBody)CUP$stack.elementAt(CUP$top-1)).myAbsValue = ((ValueAbsDecl)CUP$result); (/*b*/(ValueBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((ValueAbsDecl)CUP$result)); ((ValueAbsDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 39: // value_box_dcl ::= VALUETYPE ID type_spec { CUP$result = new ValueBoxDecl(/*value_box_dcl*/18); ((ValueBoxDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-1)).str_val; ((ValueBoxDecl)CUP$result).typeSpec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 38: // value ::= value_box_dcl { CUP$result = new Value(/*value*/17); ((Value)CUP$result).setValue ((/*vbx*/(ValueBoxDecl)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 37: // value ::= value_abs_dcl { CUP$result = new Value(/*value*/17); ((Value)CUP$result).setValue ((/*vad*/(ValueAbsDecl)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 36: // value ::= value_dcl { CUP$result = new Value(/*value*/17); ((Value)CUP$result).setValue ((/*vd*/(ValueDecl)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 35: // scopename ::= OBJECT { CUP$result = new ScopedName(/*scopename*/15); ((ScopedName)CUP$result).typeName = "org.omg.CORBA.Object"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 34: // scopename ::= scopename DBLCOLON ID { CUP$result = new ScopedName(/*scopename*/15); ((ScopedName)CUP$result).setId( (/*sn*/(ScopedName)CUP$stack.elementAt(CUP$top-2)).typeName+ "." + (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val ); ((ScopedName)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 33: // scopename ::= DBLCOLON ID { CUP$result = new ScopedName(/*scopename*/15); ((ScopedName)CUP$result).setId( "." + (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val); ((ScopedName)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 32: // scopename ::= ID { CUP$result = new ScopedName(/*scopename*/15); ((ScopedName)CUP$result).setId( (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val ); ((ScopedName)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 31: // scopename_list ::= scopename { CUP$result = new SymbolList(/*scopename_list*/92); ((SymbolList)CUP$result).v.insertElementAt((/*sn*/(ScopedName)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 30: // scopename_list ::= scopename COMMA scopename_list { CUP$result = new SymbolList(/*scopename_list*/92); ((SymbolList)CUP$result).v = (Vector)(/*snl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*sn*/(ScopedName)CUP$stack.elementAt(CUP$top-2)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 29: // inheritance_spec ::= empty { CUP$result = new SymbolList(/*inheritance_spec*/95); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 28: // inheritance_spec ::= COLON scopename_list { CUP$result = new SymbolList(/*inheritance_spec*/95); ((SymbolList)CUP$result).v = (Vector)(/*sl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 27: // export ::= op_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*o*/(OpDecl)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 26: // export ::= attr_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*a*/(AttrDecl)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 25: // export ::= except_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*e*/(StructType)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 24: // export ::= const_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*c*/(ConstDecl)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 23: // export ::= type_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*t*/(TypeDeclaration)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 22: // interface_body ::= empty { CUP$result = new InterfaceBody(/*interface_body*/13); ((InterfaceBody)CUP$result).commit(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 21: // interface_body ::= export interface_body { CUP$result = new InterfaceBody(/*interface_body*/13); ((InterfaceBody)CUP$result).v = (Vector)(/*i*/(InterfaceBody)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((InterfaceBody)CUP$result).v.insertElementAt((/*e*/(Definition)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 20: // interface ::= PSEUDO INTERFACE ID { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_pseudo(); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 19: // interface ::= LOCAL INTERFACE ID { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); ((Interface)CUP$result).set_abstract(); ((Interface)CUP$result).set_locality( true ); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 18: // interface ::= ABSTRACT INTERFACE ID { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); ((Interface)CUP$result).set_abstract(); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 17: // interface ::= INTERFACE ID { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 16: // interface ::= PSEUDO INTERFACE ID inheritance_spec LCBRACE interface_body RCBRACE { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_pseudo(); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((Interface)CUP$result).inheritanceSpec = (/*is*/(SymbolList)CUP$stack.elementAt(CUP$top-3)); ((Interface)CUP$result).body = (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_pseudo(); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val);// (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).my_interface = ((Interface)CUP$result); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Interface)CUP$result)); ((Interface)CUP$result).set_included( parser.include_state ); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 15: // interface ::= LOCAL INTERFACE ID inheritance_spec LCBRACE interface_body RCBRACE { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((Interface)CUP$result).inheritanceSpec = (/*is*/(SymbolList)CUP$stack.elementAt(CUP$top-3)); ((Interface)CUP$result).body = (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)) ; (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).my_interface = ((Interface)CUP$result); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Interface)CUP$result)); ((Interface)CUP$result).set_included( parser.include_state ); ((Interface)CUP$result).set_locality( true ); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 14: // interface ::= ABSTRACT INTERFACE ID inheritance_spec LCBRACE interface_body RCBRACE { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((Interface)CUP$result).set_abstract(); ((Interface)CUP$result).inheritanceSpec = (/*is*/(SymbolList)CUP$stack.elementAt(CUP$top-3)); ((Interface)CUP$result).body = (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)) ; (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).my_interface = ((Interface)CUP$result); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Interface)CUP$result)); ((Interface)CUP$result).set_included( parser.include_state ); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 13: // interface ::= INTERFACE ID inheritance_spec LCBRACE interface_body RCBRACE { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((Interface)CUP$result).inheritanceSpec = (/*is*/(SymbolList)CUP$stack.elementAt(CUP$top-3)); ((Interface)CUP$result).body = (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)) ; (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).my_interface = ((Interface)CUP$result); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Interface)CUP$result)); ((Interface)CUP$result).set_included( parser.include_state ); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 12: // module ::= MODULE ID LCBRACE definitions RCBRACE { CUP$result = new Module(/*module*/11); ((Module)CUP$result).spec = (/*d*/(Definitions)CUP$stack.elementAt(CUP$top-1)); ((Module)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((Module)CUP$result).setPackage((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3)).str_val ); ((Module)CUP$result).set_included( parser.include_state ); (/*d*/(Definitions)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Module)CUP$result)); parser.closeScope( (Scope)((Module)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 11: // definition ::= value SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*m*/(Value)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 10: // definition ::= module SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*m*/(Module)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 9: // definition ::= interface SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*p*/(Interface)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 8: // definition ::= except_dcl SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*e*/(StructType)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 7: // definition ::= const_dcl SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*c*/(ConstDecl)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 6: // definition ::= type_dcl SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*t*/(TypeDeclaration)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 5: // definitions ::= definition { CUP$result = new Definitions(/*definitions*/10); ((Definitions)CUP$result).v.insertElementAt((/*d*/(Definition)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 4: // definitions ::= definition definitions { CUP$result = new Definitions(/*definitions*/10); ((Definitions)CUP$result).v = (Vector)(/*ds*/(Definitions)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((Definitions)CUP$result).v.insertElementAt((/*d*/(Definition)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 3: // specification ::= empty { CUP$result = new Spec(/*specification*/8); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 2: // specification ::= NT$0 definitions { CUP$result = new Spec(/*specification*/8); /* parsing */ // open the global scope parser.openScope(); ((Spec)CUP$result).definitions = (Vector)(/*ds*/(Definitions)CUP$stack.elementAt(CUP$top-0)).v.clone(); if( ((org.jacorb.idl.parser)CUP$parser).package_prefix != null ) ((Spec)CUP$result).setPackage( ((org.jacorb.idl.parser)CUP$parser).package_prefix ); ((Spec)CUP$result).parse(); if ( lexer.error_count != 0 ) { System.err.println(lexer.error_count + " error(s)."); System.exit(1); } // if there are still interfaces to be parsed, wait until the // threads performing this have finished. The last one // will call notify() :) if( parser.pending_interfaces.size() > 0 ) { // give other threads a chance to start and signal // that they're active Thread.yield(); boolean runnableFound = false; // still no one seems to be active, but we'll call // round to be sure if( parser.activeParseThreads() == 0 ) { Environment.output(3,"Check for runnable threads"); for( int t = 0; t < InterfaceBody.parseThreads.size() && !runnableFound; t++ ) { runnableFound = ((InterfaceBody.ParseThread)InterfaceBody.parseThreads.elementAt(t)).isRunnable(); } } // only block waiting if we know that there are active or // runnable threads and that there are still pending tasks if( ( parser.activeParseThreads() > 1 || runnableFound ) && parser.pending_interfaces.size() > 0 ) { synchronized( parser.pending_interfaces ) { Environment.output(3,"Wait for pending_interfaces"); parser.pending_interfaces.wait(); Environment.output(3,"Waking up after wait for pending_interfaces"); } } } if( parser.pending_interfaces.size() > 0 && !parser.sloppy ) { parser.fatal_error("Undefined interface: " + (String)(parser.pending_interfaces.keys().nextElement()), null ); } /* complete global import list */ if( parser.global_import ) { Environment.output(3,"Preparing global import"); parser.addGlobalNamesToImport(); } else Environment.output(3,"No global import"); parser.done_parsing = true; /* code generation phase */ try { if (! ((org.jacorb.idl.parser)CUP$parser).parse_only ) { ((Spec)CUP$result).print(new java.io.PrintWriter( java.lang.System.out )); } } catch ( Exception e ) { Environment.output(1,e); } } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 1: // NT$0 ::= { CUP$result = new java_cup.runtime.token(/*NT$0*/98); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 0: // $START ::= specification EOF { CUP$result = new java_cup.runtime.token(/*$START*/0); } /* ACCEPT */ CUP$parser.done_parsing(); return CUP$result; /* . . . . . .*/ default: throw new Exception( "Invalid action number found in internal parse table"); } }
|
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/81c0eebfa6be115771d4b39a5a8d7808b46a0a45/parser.java/clean/src/org/jacorb/idl/parser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
2252,
67,
71,
416,
18,
9448,
18,
7175,
385,
3079,
8,
2896,
67,
1128,
12,
565,
509,
13491,
385,
3079,
8,
621,
67,
2107,
16,
565,
2252,
67,
71,
416,
18,
9448,
18,
10826,
67,
4288,
385,
3079,
8,
4288,
16,
565,
2252,
18,
1367,
18,
2624,
5411,
385,
3079,
8,
3772,
16,
565,
509,
13491,
385,
3079,
8,
3669,
13,
565,
1216,
2252,
18,
4936,
18,
503,
565,
288,
1377,
1748,
733,
364,
327,
628,
4209,
1195,
1377,
2252,
67,
71,
416,
18,
9448,
18,
7175,
385,
3079,
8,
2088,
31,
1377,
1748,
2027,
326,
1301,
2511,
603,
326,
1301,
1300,
1195,
1377,
1620,
261,
39,
3079,
8,
621,
67,
2107,
13,
3639,
288,
1850,
1748,
18,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
5549,
1850,
648,
28298,
30,
368,
1008,
493,
33,
2398,
288,
2868,
385,
3079,
8,
2088,
273,
394,
2252,
67,
71,
416,
18,
9448,
18,
7175,
12,
20308,
5531,
5549,
24,
1769,
12900,
289,
1850,
327,
385,
3079,
8,
2088,
31,
1850,
1748,
18,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
5549,
1850,
648,
576,
3247,
30,
368,
579,
67,
723,
67,
2793,
493,
33,
888,
556,
1069,
2398,
288,
2868,
385,
3079,
8,
2088,
273,
394,
1412,
1990,
12,
20308,
891,
67,
723,
67,
2793,
5549,
6334,
1769,
9079,
14015,
559,
1990,
13,
39,
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,
727,
2252,
67,
71,
416,
18,
9448,
18,
7175,
385,
3079,
8,
2896,
67,
1128,
12,
565,
509,
13491,
385,
3079,
8,
621,
67,
2107,
16,
565,
2252,
67,
71,
416,
18,
9448,
18,
10826,
67,
4288,
385,
3079,
8,
4288,
16,
565,
2252,
18,
1367,
18,
2624,
5411,
385,
3079,
8,
3772,
16,
565,
509,
13491,
385,
3079,
8,
3669,
13,
565,
1216,
2252,
18,
4936,
18,
503,
565,
288,
1377,
1748,
733,
364,
327,
628,
4209,
1195,
1377,
2252,
67,
71,
416,
18,
9448,
18,
7175,
385,
3079,
8,
2088,
31,
1377,
1748,
2027,
326,
1301,
2511,
603,
326,
1301,
1300,
1195,
1377,
1620,
261,
39,
3079,
8,
621,
67,
2107,
13,
3639,
288,
1850,
2
] |
if ((int)border.left() == 2) {
|
if ((int) border.left() == 2) {
|
private static void paintBorderSide(final BorderPropertySet border, final Graphics g, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROOVE) { BorderPropertySet bd2 = new BorderPropertySet( (int)(border.top() / 2), (int)(border.right() / 2), (int)(border.bottom() / 2), (int)(border.left() / 2)); if (borderSideStyle == IdentValue.RIDGE) { paintGoodBevel(g2, bounds, border, border.darker(borderSideStyle), border.brighter(borderSideStyle), sides, currentSide); paintGoodBevel(g2, bounds, bd2, border.brighter(borderSideStyle), border.darker(borderSideStyle), sides, currentSide); } else { paintGoodBevel(g2, bounds, border, border.brighter(borderSideStyle), border.darker(borderSideStyle), sides, currentSide); paintGoodBevel(g2, bounds, bd2, border.darker(borderSideStyle), border.brighter(borderSideStyle), sides, currentSide); } return; } if (borderSideStyle == IdentValue.OUTSET) { paintGoodBevel(g2, bounds, border, border.brighter(borderSideStyle), border.darker(borderSideStyle), sides, currentSide); return; } if (borderSideStyle == IdentValue.INSET) { paintGoodBevel(g2, bounds, border, border.darker(borderSideStyle), border.brighter(borderSideStyle), sides, currentSide); return; } if (borderSideStyle == IdentValue.SOLID) { paintSolid(g2, bounds, border, border, sides, currentSide); return; } if (borderSideStyle == IdentValue.DOUBLE) { // this may need to be modified to account for rounding errors // create a new border only 1/3 the thickness BorderPropertySet outer = new BorderPropertySet( (int)(border.top() / 3), (int)(border.bottom() / 3), (int)(border.left() / 3), (int)(border.right() / 3)); BorderPropertySet center = new BorderPropertySet(outer); BorderPropertySet inner = new BorderPropertySet(outer); if ((int)border.top() == 1) { outer.setTop(1f); center.setTop(0f); } if ((int)border.bottom() == 1) { outer.setBottom(1f); center.setBottom(0f); } if ((int)border.left() == 1) { outer.setLeft(1f); center.setLeft(0f); } if ((int)border.right() == 1) { outer.setRight(1f); center.setRight(0f); } if ((int)border.top() == 2) { outer.setTop(1f); center.setTop(0f); inner.setTop(1f); } if ((int)border.bottom() == 2) { outer.setBottom(1f); center.setBottom(0f); inner.setBottom(1f); } if ((int)border.left() == 2) { outer.setLeft(1f); center.setLeft(0f); inner.setLeft(1f); } if ((int)border.right() == 2) { outer.setRight(1f); center.setRight(0f); inner.setRight(1f); } Rectangle b2 = shrinkRect(bounds, outer, sides); b2 = shrinkRect(b2, center, sides); // draw outer border paintSolid((Graphics2D) g, bounds, outer, border, sides, currentSide); // draw inner border paintSolid((Graphics2D) g, b2, inner, border, sides, currentSide); return; } int thickness = 0; if (currentSide == TOP) thickness = (int)border.top(); if (currentSide == BOTTOM) thickness = (int)border.bottom(); if (currentSide == RIGHT) thickness = (int)border.right(); if (currentSide == LEFT) thickness = (int)border.left(); if (borderSideStyle == IdentValue.DASHED) { g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF); paintPatternedRect(g2, bounds, border, border, new float[]{8.0f + thickness * 2, 4.0f + thickness}, sides, currentSide, xOffset); g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); } if (borderSideStyle == IdentValue.DOTTED) { // turn off anti-aliasing or the dots will be all blurry g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF); paintPatternedRect(g2, bounds, border, border, new float[]{thickness, thickness}, sides, currentSide, xOffset); g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); } }
|
53937 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53937/1ca686f10a0033c5e79968a5d664589db0fef2ec/BorderPainter.java/clean/src/java/org/xhtmlrenderer/render/BorderPainter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
12574,
8107,
8895,
12,
6385,
13525,
1396,
694,
5795,
16,
727,
16830,
314,
16,
727,
13264,
4972,
16,
727,
509,
22423,
16,
509,
783,
8895,
16,
727,
13128,
620,
5795,
8895,
2885,
16,
509,
619,
2335,
13,
288,
3639,
16830,
22,
40,
314,
22,
273,
261,
17558,
22,
40,
13,
314,
31,
3639,
309,
261,
8815,
8895,
2885,
422,
13128,
620,
18,
54,
734,
7113,
747,
5795,
8895,
2885,
422,
13128,
620,
18,
43,
1457,
51,
3412,
13,
288,
5411,
13525,
1396,
694,
13837,
22,
273,
394,
13525,
1396,
694,
12,
10792,
261,
474,
21433,
8815,
18,
3669,
1435,
342,
576,
3631,
10792,
261,
474,
21433,
8815,
18,
4083,
1435,
342,
576,
3631,
10792,
261,
474,
21433,
8815,
18,
9176,
1435,
342,
576,
3631,
10792,
261,
474,
21433,
8815,
18,
4482,
1435,
342,
576,
10019,
5411,
309,
261,
8815,
8895,
2885,
422,
13128,
620,
18,
54,
734,
7113,
13,
288,
7734,
12574,
18195,
1919,
941,
12,
75,
22,
16,
4972,
16,
5795,
16,
5795,
18,
25045,
264,
12,
8815,
8895,
2885,
3631,
5795,
18,
2848,
18117,
12,
8815,
8895,
2885,
3631,
22423,
16,
783,
8895,
1769,
7734,
12574,
18195,
1919,
941,
12,
75,
22,
16,
4972,
16,
13837,
22,
16,
5795,
18,
2848,
18117,
12,
8815,
8895,
2885,
3631,
5795,
18,
25045,
264,
12,
8815,
8895,
2885,
3631,
22423,
16,
783,
8895,
1769,
5411,
289,
469,
288,
7734,
12574,
18195,
1919,
941,
12,
75,
22,
16,
4972,
16,
5795,
16,
5795,
18,
2848,
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,
918,
12574,
8107,
8895,
12,
6385,
13525,
1396,
694,
5795,
16,
727,
16830,
314,
16,
727,
13264,
4972,
16,
727,
509,
22423,
16,
509,
783,
8895,
16,
727,
13128,
620,
5795,
8895,
2885,
16,
509,
619,
2335,
13,
288,
3639,
16830,
22,
40,
314,
22,
273,
261,
17558,
22,
40,
13,
314,
31,
3639,
309,
261,
8815,
8895,
2885,
422,
13128,
620,
18,
54,
734,
7113,
747,
5795,
8895,
2885,
422,
13128,
620,
18,
43,
1457,
51,
3412,
13,
288,
5411,
13525,
1396,
694,
13837,
22,
273,
394,
13525,
1396,
694,
12,
10792,
261,
474,
21433,
8815,
18,
3669,
1435,
342,
576,
3631,
10792,
261,
474,
21433,
8815,
18,
4083,
1435,
342,
576,
3631,
10792,
261,
2
] |
throw new TypeError(getRuntime(), "Cannot convert " +
|
throw getRuntime().newTypeError("Cannot convert " +
|
public IRubyObject first(IRubyObject[] args) { if (args == null || args.length == 0) { return getLength() == 0 ? getRuntime().getNil() : entry(0); } checkArgumentCount(args, 0, 1); // TODO: See if enough integer-only conversions to make this // convenience function (which could replace RubyNumeric#fix2long). if (!(args[0] instanceof RubyInteger)) { throw new TypeError(getRuntime(), "Cannot convert " + args[0].getType() + " into Integer"); } long length = ((RubyInteger)args[0]).getLongValue(); if (length < 0) { throw new ArgumentError(getRuntime(), "negative array size (or size too big)"); } return subseq(0, length); }
|
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyArray.java/buggy/src/org/jruby/RubyArray.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
1122,
12,
7937,
10340,
921,
8526,
833,
13,
288,
377,
202,
430,
261,
1968,
422,
446,
747,
833,
18,
2469,
422,
374,
13,
288,
377,
202,
202,
2463,
9888,
1435,
422,
374,
692,
18814,
7675,
588,
12616,
1435,
294,
1241,
12,
20,
1769,
377,
202,
97,
377,
202,
377,
202,
1893,
1379,
1380,
12,
1968,
16,
374,
16,
404,
1769,
377,
202,
377,
202,
759,
2660,
30,
2164,
309,
7304,
3571,
17,
3700,
22586,
358,
1221,
333,
377,
202,
759,
13553,
445,
261,
12784,
3377,
1453,
19817,
9902,
7,
904,
22,
5748,
2934,
377,
202,
430,
16051,
12,
1968,
63,
20,
65,
1276,
19817,
4522,
3719,
288,
5411,
604,
18814,
7675,
2704,
19030,
2932,
4515,
1765,
315,
397,
2868,
202,
202,
1968,
63,
20,
8009,
588,
559,
1435,
397,
315,
1368,
2144,
8863,
377,
202,
97,
377,
202,
377,
202,
5748,
769,
273,
14015,
54,
10340,
4522,
13,
1968,
63,
20,
65,
2934,
588,
3708,
620,
5621,
377,
202,
377,
202,
430,
261,
2469,
411,
374,
13,
288,
377,
202,
202,
12849,
394,
9236,
12,
588,
5576,
9334,
1377,
9506,
202,
6,
13258,
526,
963,
261,
280,
963,
4885,
5446,
2225,
1769,
377,
202,
97,
377,
202,
377,
202,
2463,
720,
5436,
12,
20,
16,
769,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
1122,
12,
7937,
10340,
921,
8526,
833,
13,
288,
377,
202,
430,
261,
1968,
422,
446,
747,
833,
18,
2469,
422,
374,
13,
288,
377,
202,
202,
2463,
9888,
1435,
422,
374,
692,
18814,
7675,
588,
12616,
1435,
294,
1241,
12,
20,
1769,
377,
202,
97,
377,
202,
377,
202,
1893,
1379,
1380,
12,
1968,
16,
374,
16,
404,
1769,
377,
202,
377,
202,
759,
2660,
30,
2164,
309,
7304,
3571,
17,
3700,
22586,
358,
1221,
333,
377,
202,
759,
13553,
445,
261,
12784,
3377,
1453,
19817,
9902,
7,
904,
22,
5748,
2934,
377,
202,
430,
16051,
12,
1968,
63,
20,
65,
1276,
19817,
4522,
3719,
288,
5411,
604,
18814,
7675,
2704,
19030,
2932,
2
] |
StringWriter sw = new StringWriter(); e.printStackTrace(new PrintWriter(sw)); LOG.error(sw.toString());
|
LOG.error(e);
|
private void handleException(Exception e) throws EXistException, PermissionDeniedException { LOG.debug(e.getMessage()); StringWriter sw = new StringWriter(); e.printStackTrace(new PrintWriter(sw)); LOG.error(sw.toString()); if (e instanceof EXistException) throw (EXistException) e; else if (e instanceof PermissionDeniedException) throw (PermissionDeniedException) e; else throw new EXistException(e.getMessage()); }
|
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/df74b3b616d469b75d0dcbefff10257f707167fe/RpcServer.java/clean/src/org/exist/xmlrpc/RpcServer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
20879,
12,
503,
425,
13,
1216,
5675,
376,
503,
16,
8509,
15877,
288,
202,
202,
4842,
18,
4148,
12,
73,
18,
24906,
10663,
202,
202,
780,
2289,
1352,
273,
394,
17436,
5621,
202,
202,
73,
18,
1188,
6332,
12,
2704,
14071,
12,
5328,
10019,
202,
202,
4842,
18,
1636,
12,
5328,
18,
10492,
10663,
202,
202,
430,
261,
73,
1276,
5675,
376,
503,
13,
1082,
202,
12849,
261,
2294,
376,
503,
13,
425,
31,
202,
202,
12107,
309,
261,
73,
1276,
8509,
15877,
13,
1082,
202,
12849,
261,
5041,
15877,
13,
425,
31,
202,
202,
12107,
1082,
202,
12849,
394,
5675,
376,
503,
12,
73,
18,
24906,
10663,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
20879,
12,
503,
425,
13,
1216,
5675,
376,
503,
16,
8509,
15877,
288,
202,
202,
4842,
18,
4148,
12,
73,
18,
24906,
10663,
202,
202,
780,
2289,
1352,
273,
394,
17436,
5621,
202,
202,
73,
18,
1188,
6332,
12,
2704,
14071,
12,
5328,
10019,
202,
202,
4842,
18,
1636,
12,
5328,
18,
10492,
10663,
202,
202,
430,
261,
73,
1276,
5675,
376,
503,
13,
1082,
202,
12849,
261,
2294,
376,
503,
13,
425,
31,
202,
202,
12107,
309,
261,
73,
1276,
8509,
15877,
13,
1082,
202,
12849,
261,
5041,
15877,
13,
425,
31,
202,
202,
12107,
1082,
202,
12849,
394,
5675,
376,
503,
12,
73,
18,
24906,
10663,
202,
97,
2,
-100,
-100,
-100,
-100,
-100
] |
value = bytes; break;
|
return bytes;
|
private static Object getVariant(ResponseStream in) throws IOException, ProtocolException { Object value = null; byte[] bytes = null; int len = in.readInt(); if (len == 0) { // Length of zero means item is null return value; } ColInfo ci = new ColInfo(); len -= 2; ci.tdsType = in.read(); // TDS Type len = len - in.read(); // Size of descriptor switch (ci.tdsType) { case SYBINT1: value = new Byte((byte) in.read()); break; case SYBINT2: value = new Short((short) in.readShort()); break; case SYBINT4: value = new Integer(in.readInt()); break; case SYBINT8: value = new Long(in.readLong()); break; case XSYBCHAR: case XSYBVARCHAR: in.skip(7); // Skip collation and buffer size value = in.readAsciiString(len); break; case XSYBNCHAR: case XSYBNVARCHAR: in.skip(7); // Skip collation and buffer size value = in.readString(len / 2); break; case XSYBVARBINARY: case XSYBBINARY: in.skip(2); // Skip buffer size bytes = new byte[len]; in.read(bytes); value = bytes; break; case SYBMONEY4: case SYBMONEY: value = getMoneyValue(in, ci.tdsType); break; case SYBDATETIME4: case SYBDATETIME: value = getDatetimeValue(in, ci.tdsType); break; case SYBBIT: value = (in.read() != 0) ? Boolean.TRUE : Boolean.FALSE; break; case SYBREAL: value = new Float(Float.intBitsToFloat(in.readInt())); break; case SYBFLT8: value = new Double(Double.longBitsToDouble(in.readLong())); break; case SYBUNIQUE: bytes = new byte[len]; in.read(bytes); StringBuffer buf = new StringBuffer(36); for (int i = 0; i < bytes.length; i++) { buf.append("0123456789ABCDEF".substring((bytes[i] >> 4) & 0x0F, 1)); buf.append("0123456789ABCDEF".substring(bytes[i] & 0x0F, 1)); if (i == 4 || i == 7 || i == 10 || i == 13) { buf.append('-'); } } value = buf.toString(); break; case SYBNUMERIC: case SYBDECIMAL: ci.precision = in.read(); ci.scale = in.read(); int sign = in.read(); len--; bytes = new byte[len]; BigInteger bi; while (len-- > 0) { bytes[len] = (byte)in.read(); } bi = new BigInteger((sign == 0) ? -1 : 1, bytes); value = new BigDecimal(bi, ci.scale); break; default: throw new ProtocolException("Unsupported TDS data type 0x" + Integer.toHexString(ci.tdsType) + " in sql_variant"); } // // For compatibility with the MS driver convert to String. // Change the data type for sql_variant from OTHER to VARCHAR // Without this code the actual Object type can be retrieved // by using getObject(n). //// try {// value = Support.convert(value, java.sql.Types.VARCHAR, in.getCharset());// } catch (SQLException e) {// // Conversion failed just try toString();// value = value.toString();// } return value; }
|
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/9afe478d809db444a6ae429180e144eb579509a3/TdsData.java/buggy/src/main/net/sourceforge/jtds/jdbc/TdsData.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1033,
336,
9356,
12,
1064,
1228,
316,
13,
565,
1216,
1860,
16,
4547,
503,
288,
3639,
1033,
460,
273,
446,
31,
3639,
1160,
8526,
1731,
273,
446,
31,
3639,
509,
562,
273,
316,
18,
896,
1702,
5621,
3639,
309,
261,
1897,
422,
374,
13,
288,
5411,
368,
11311,
434,
3634,
4696,
761,
353,
446,
5411,
327,
460,
31,
3639,
289,
3639,
1558,
966,
9039,
273,
394,
1558,
966,
5621,
3639,
562,
3947,
576,
31,
3639,
9039,
18,
88,
2377,
559,
273,
316,
18,
896,
5621,
368,
399,
3948,
1412,
3639,
562,
273,
562,
300,
316,
18,
896,
5621,
368,
6321,
434,
4950,
3639,
1620,
261,
8450,
18,
88,
2377,
559,
13,
288,
5411,
648,
7068,
38,
3217,
21,
30,
7734,
460,
273,
394,
3506,
12443,
7229,
13,
316,
18,
896,
10663,
7734,
898,
31,
5411,
648,
7068,
38,
3217,
22,
30,
7734,
460,
273,
394,
7925,
12443,
6620,
13,
316,
18,
896,
4897,
10663,
7734,
898,
31,
5411,
648,
7068,
38,
3217,
24,
30,
7734,
460,
273,
394,
2144,
12,
267,
18,
896,
1702,
10663,
7734,
898,
31,
5411,
648,
7068,
38,
3217,
28,
30,
7734,
460,
273,
394,
3407,
12,
267,
18,
896,
3708,
10663,
7734,
898,
31,
5411,
648,
1139,
7474,
38,
7305,
30,
5411,
648,
1139,
7474,
38,
7716,
7305,
30,
7734,
316,
18,
7457,
12,
27,
1769,
368,
6611,
21277,
471,
1613,
963,
7734,
460,
273,
316,
18,
896,
21363,
780,
12,
1897,
1769,
7734,
898,
31,
5411,
648,
1139,
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,
1033,
336,
9356,
12,
1064,
1228,
316,
13,
565,
1216,
1860,
16,
4547,
503,
288,
3639,
1033,
460,
273,
446,
31,
3639,
1160,
8526,
1731,
273,
446,
31,
3639,
509,
562,
273,
316,
18,
896,
1702,
5621,
3639,
309,
261,
1897,
422,
374,
13,
288,
5411,
368,
11311,
434,
3634,
4696,
761,
353,
446,
5411,
327,
460,
31,
3639,
289,
3639,
1558,
966,
9039,
273,
394,
1558,
966,
5621,
3639,
562,
3947,
576,
31,
3639,
9039,
18,
88,
2377,
559,
273,
316,
18,
896,
5621,
368,
399,
3948,
1412,
3639,
562,
273,
562,
300,
316,
18,
896,
5621,
368,
6321,
434,
4950,
3639,
1620,
261,
8450,
18,
88,
2377,
559,
13,
288,
5411,
648,
7068,
38,
2
] |
throw new DataSinkException("There are "+_waitingObjects.size()+" objects still not written because of missing referenced objects");
|
if (_log.isDebugEnabled()) { for (Iterator it = _waitingObjects.iterator(); it.hasNext();) { WaitingObject obj = (WaitingObject)it.next(); Table table = _model.getDynaClassFor(obj.getObject()).getTable(); Identity objId = buildIdentityFromPKs(table, obj.getObject()); _log.debug("Row " + objId + " is still not written because it depends on these yet unwritten rows"); for (Iterator fkIt = obj.getPendingFKs(); fkIt.hasNext();) { Identity pendingFkId = (Identity)fkIt.next(); _log.debug(" " + pendingFkId); } } } if (_waitingObjects.size() == 1) { throw new DataSinkException("There is one row still not written because of missing referenced rows"); } else { throw new DataSinkException("There are " + _waitingObjects.size() + " rows still not written because of missing referenced rows"); }
|
public void end() throws DataSinkException { purgeBatchQueue(); try { _connection.close(); } catch (SQLException ex) { throw new DataSinkException(ex); } if (!_waitingObjects.isEmpty()) { throw new DataSinkException("There are "+_waitingObjects.size()+" objects still not written because of missing referenced objects"); } }
|
1224 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1224/6d13ae372a0b84ae78a9e7910c8057a6f3f673b8/DataToDatabaseSink.java/buggy/src/java/org/apache/ddlutils/io/DataToDatabaseSink.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
679,
1435,
1216,
1910,
11326,
503,
565,
288,
3639,
11668,
4497,
3183,
5621,
3639,
775,
3639,
288,
5411,
389,
4071,
18,
4412,
5621,
3639,
289,
3639,
1044,
261,
23116,
431,
13,
3639,
288,
5411,
604,
394,
1910,
11326,
503,
12,
338,
1769,
3639,
289,
3639,
309,
16051,
67,
20241,
4710,
18,
291,
1921,
10756,
3639,
288,
5411,
309,
261,
67,
1330,
18,
291,
2829,
1526,
10756,
288,
364,
261,
3198,
518,
273,
389,
20241,
4710,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
13,
288,
23333,
921,
1081,
282,
273,
261,
15946,
921,
13,
305,
18,
4285,
5621,
3555,
540,
1014,
273,
389,
2284,
18,
588,
10419,
69,
797,
1290,
12,
2603,
18,
588,
921,
1435,
2934,
588,
1388,
5621,
7808,
1377,
1081,
548,
273,
1361,
4334,
1265,
8784,
87,
12,
2121,
16,
1081,
18,
588,
921,
10663,
225,
389,
1330,
18,
4148,
2932,
1999,
315,
397,
1081,
548,
397,
315,
353,
4859,
486,
5941,
2724,
518,
10935,
603,
4259,
4671,
640,
9748,
2595,
8863,
364,
261,
3198,
10949,
7193,
273,
1081,
18,
588,
8579,
13121,
87,
5621,
10949,
7193,
18,
5332,
2134,
5621,
13,
288,
7808,
4634,
28761,
548,
273,
261,
4334,
13,
23120,
7193,
18,
4285,
5621,
225,
389,
1330,
18,
4148,
2932,
225,
315,
397,
4634,
28761,
548,
1769,
289,
225,
289,
289,
309,
261,
67,
20241,
4710,
18,
1467,
1435,
422,
404,
13,
288,
604,
394,
1910,
11326,
503,
2932,
9828,
353,
1245,
1027,
4859,
486,
5941,
2724,
434,
3315,
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,
679,
1435,
1216,
1910,
11326,
503,
565,
288,
3639,
11668,
4497,
3183,
5621,
3639,
775,
3639,
288,
5411,
389,
4071,
18,
4412,
5621,
3639,
289,
3639,
1044,
261,
23116,
431,
13,
3639,
288,
5411,
604,
394,
1910,
11326,
503,
12,
338,
1769,
3639,
289,
3639,
309,
16051,
67,
20241,
4710,
18,
291,
1921,
10756,
3639,
288,
5411,
309,
261,
67,
1330,
18,
291,
2829,
1526,
10756,
288,
364,
261,
3198,
518,
273,
389,
20241,
4710,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
13,
288,
23333,
921,
1081,
282,
273,
261,
15946,
921,
13,
305,
18,
4285,
5621,
3555,
540,
1014,
273,
389,
2284,
18,
588,
10419,
69,
797,
1290,
12,
2603,
18,
588,
921,
1435,
2
] |
throw new ArgumentError(runtime, "wrong number of arguments (" + length + " for 1)");
|
throw getRuntime().newArgumentError("wrong number of arguments (" + length + " for 1)");
|
public IRubyObject last(IRubyObject[] args) { int length = getLength(); if (args != null) { int listSize = list.size(); int sublistSize = 0; int startIndex = 0; switch (args.length) { case 0: return length == 0 ? runtime.getNil() : entry(length - 1); case 1: sublistSize = RubyNumeric.fix2int(args[0]); if (sublistSize == 0) { return RubyArray.newArray(runtime); } if (sublistSize < 0) { throw new ArgumentError(runtime, "negative array size (or size too big)"); } startIndex = (sublistSize > listSize)? 0: listSize - sublistSize; return RubyArray.newArray(runtime, list.subList(startIndex, listSize)); default: throw new ArgumentError(runtime, "wrong number of arguments (" + length + " for 1)"); } } Asserts.notReached(); return null; }
|
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyArray.java/buggy/src/org/jruby/RubyArray.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
1142,
12,
7937,
10340,
921,
8526,
833,
13,
288,
377,
202,
474,
769,
273,
9888,
5621,
377,
202,
430,
261,
1968,
480,
446,
13,
288,
377,
202,
202,
474,
666,
1225,
273,
666,
18,
1467,
5621,
377,
202,
202,
474,
26680,
1225,
273,
374,
31,
377,
202,
202,
474,
10588,
273,
374,
31,
377,
1082,
377,
202,
202,
9610,
261,
1968,
18,
2469,
13,
288,
377,
202,
202,
3593,
374,
30,
377,
1082,
202,
2463,
769,
422,
374,
692,
3099,
18,
588,
12616,
1435,
294,
1241,
12,
2469,
300,
404,
1769,
377,
202,
202,
3593,
404,
30,
377,
1082,
202,
87,
440,
376,
1225,
273,
19817,
9902,
18,
904,
22,
474,
12,
1968,
63,
20,
19226,
377,
1082,
202,
430,
261,
87,
440,
376,
1225,
422,
374,
13,
288,
377,
9506,
202,
2463,
19817,
1076,
18,
2704,
1076,
12,
9448,
1769,
377,
1082,
202,
97,
377,
1082,
202,
430,
261,
87,
440,
376,
1225,
411,
374,
13,
288,
377,
9506,
202,
12849,
394,
9236,
12,
9448,
16,
315,
13258,
526,
963,
261,
280,
963,
4885,
5446,
2225,
1769,
377,
1082,
202,
97,
377,
9506,
377,
1082,
202,
1937,
1016,
273,
261,
87,
440,
376,
1225,
405,
666,
1225,
9945,
374,
30,
666,
1225,
300,
26680,
1225,
31,
377,
1082,
202,
2463,
19817,
1076,
18,
2704,
1076,
12,
9448,
16,
666,
18,
1717,
682,
12,
1937,
1016,
16,
666,
1225,
10019,
377,
202,
202,
1886,
30,
377,
1082,
202,
12849,
18814,
7675,
2704,
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,
15908,
10340,
921,
1142,
12,
7937,
10340,
921,
8526,
833,
13,
288,
377,
202,
474,
769,
273,
9888,
5621,
377,
202,
430,
261,
1968,
480,
446,
13,
288,
377,
202,
202,
474,
666,
1225,
273,
666,
18,
1467,
5621,
377,
202,
202,
474,
26680,
1225,
273,
374,
31,
377,
202,
202,
474,
10588,
273,
374,
31,
377,
1082,
377,
202,
202,
9610,
261,
1968,
18,
2469,
13,
288,
377,
202,
202,
3593,
374,
30,
377,
1082,
202,
2463,
769,
422,
374,
692,
3099,
18,
588,
12616,
1435,
294,
1241,
12,
2469,
300,
404,
1769,
377,
202,
202,
3593,
404,
30,
377,
1082,
202,
87,
440,
376,
1225,
273,
19817,
9902,
18,
904,
22,
474,
12,
1968,
63,
2
] |
if(parent != c.toArray()[0]) {
|
if (parent != c.toArray()[0]) {
|
private Object getAbstraction(Object mPackage, Object parent, Object child) { String name = ModelFacade.getName(child) + " -> " + ModelFacade.getName(parent); Object mAbstraction = null; for(Iterator i = ModelFacade.getClientDependencies(child).iterator(); i.hasNext(); ) { mAbstraction = i.next(); Collection c = ModelFacade.getSuppliers(mAbstraction); if(c == null || c.size() == 0) { ModelFacade.removeClientDependency(child,mAbstraction); } else { if(parent != c.toArray()[0]) { mAbstraction = null; } else { break; } } } if(mAbstraction == null) { mAbstraction = UmlFactory.getFactory().getCore().buildAbstraction(name); } return mAbstraction; }
|
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/Modeller.java/clean/src_new/org/argouml/uml/reveng/java/Modeller.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
4506,
70,
701,
1128,
12,
921,
312,
2261,
16,
21394,
1033,
982,
16,
21394,
1033,
1151,
13,
565,
288,
3639,
514,
508,
273,
3164,
12467,
18,
17994,
12,
3624,
13,
397,
315,
317,
315,
397,
3164,
12467,
18,
17994,
12,
2938,
1769,
3639,
1033,
312,
5895,
701,
1128,
273,
446,
31,
3639,
364,
12,
3198,
277,
273,
3164,
12467,
18,
588,
1227,
8053,
12,
3624,
2934,
9838,
5621,
277,
18,
5332,
2134,
5621,
262,
288,
5411,
312,
5895,
701,
1128,
273,
277,
18,
4285,
5621,
5411,
2200,
276,
273,
3164,
12467,
18,
588,
3088,
8127,
414,
12,
81,
5895,
701,
1128,
1769,
5411,
309,
12,
71,
422,
446,
747,
276,
18,
1467,
1435,
422,
374,
13,
288,
7734,
3164,
12467,
18,
4479,
1227,
7787,
12,
3624,
16,
81,
5895,
701,
1128,
1769,
5411,
289,
5411,
469,
288,
7734,
309,
261,
2938,
480,
276,
18,
31447,
1435,
63,
20,
5717,
288,
10792,
312,
5895,
701,
1128,
273,
446,
31,
7734,
289,
7734,
469,
288,
10792,
898,
31,
7734,
289,
5411,
289,
3639,
289,
3639,
309,
12,
81,
5895,
701,
1128,
422,
446,
13,
288,
5411,
312,
5895,
701,
1128,
273,
587,
781,
1733,
18,
588,
1733,
7675,
588,
4670,
7675,
3510,
5895,
701,
1128,
12,
529,
1769,
3639,
289,
3639,
327,
312,
5895,
701,
1128,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
3238,
1033,
4506,
70,
701,
1128,
12,
921,
312,
2261,
16,
21394,
1033,
982,
16,
21394,
1033,
1151,
13,
565,
288,
3639,
514,
508,
273,
3164,
12467,
18,
17994,
12,
3624,
13,
397,
315,
317,
315,
397,
3164,
12467,
18,
17994,
12,
2938,
1769,
3639,
1033,
312,
5895,
701,
1128,
273,
446,
31,
3639,
364,
12,
3198,
277,
273,
3164,
12467,
18,
588,
1227,
8053,
12,
3624,
2934,
9838,
5621,
277,
18,
5332,
2134,
5621,
262,
288,
5411,
312,
5895,
701,
1128,
273,
277,
18,
4285,
5621,
5411,
2200,
276,
273,
3164,
12467,
18,
588,
3088,
8127,
414,
12,
81,
5895,
701,
1128,
1769,
5411,
309,
12,
71,
422,
446,
747,
276,
18,
1467,
1435,
422,
374,
13,
2
] |
public static ICWatchpoint watchpointExists( String sourceHandle, IResource resource, String expression ) throws CoreException {
|
public static ICWatchpoint watchpointExists(String sourceHandle, IResource resource, String expression) throws CoreException {
|
public static ICWatchpoint watchpointExists( String sourceHandle, IResource resource, String expression ) throws CoreException { String modelId = getPluginIdentifier(); String markerType = CWatchpoint.getMarkerType(); IBreakpointManager manager = DebugPlugin.getDefault().getBreakpointManager(); IBreakpoint[] breakpoints = manager.getBreakpoints( modelId ); for( int i = 0; i < breakpoints.length; i++ ) { if ( !(breakpoints[i] instanceof ICWatchpoint) ) { continue; } ICWatchpoint breakpoint = (ICWatchpoint)breakpoints[i]; if ( breakpoint.getMarker().getType().equals( markerType ) ) { if ( sourceHandle != null && sourceHandle.equals( breakpoint.getSourceHandle() ) ) { if ( breakpoint.getMarker().getResource().equals( resource ) ) { if ( breakpoint.getExpression().equals( expression ) ) { return breakpoint; } } } } } return null; }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/a192c2f172621fd921dbaebb14ee66fcee4f8f12/CDIDebugModel.java/buggy/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDIDebugModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
26899,
5234,
1153,
4267,
1153,
4002,
12,
514,
1084,
3259,
16,
467,
1420,
1058,
16,
514,
2652,
262,
1216,
30015,
288,
202,
202,
780,
25468,
273,
16319,
3004,
5621,
202,
202,
780,
5373,
559,
273,
385,
5234,
1153,
18,
588,
7078,
559,
5621,
202,
202,
45,
20552,
1318,
3301,
273,
4015,
3773,
18,
588,
1868,
7675,
588,
20552,
1318,
5621,
202,
202,
45,
20552,
8526,
23416,
273,
3301,
18,
588,
7634,
4139,
12,
25468,
11272,
202,
202,
1884,
12,
509,
277,
273,
374,
31,
277,
411,
23416,
18,
2469,
31,
277,
9904,
262,
288,
1082,
202,
430,
261,
401,
12,
8820,
4139,
63,
77,
65,
1276,
26899,
5234,
1153,
13,
262,
288,
9506,
202,
17143,
31,
1082,
202,
97,
1082,
202,
2871,
5234,
1153,
18820,
273,
261,
2871,
5234,
1153,
13,
8820,
4139,
63,
77,
15533,
1082,
202,
430,
261,
18820,
18,
588,
7078,
7675,
588,
559,
7675,
14963,
12,
5373,
559,
262,
262,
288,
9506,
202,
430,
261,
1084,
3259,
480,
446,
597,
1084,
3259,
18,
14963,
12,
18820,
18,
588,
1830,
3259,
1435,
262,
262,
288,
6862,
202,
430,
261,
18820,
18,
588,
7078,
7675,
588,
1420,
7675,
14963,
12,
1058,
262,
262,
288,
25083,
202,
430,
261,
18820,
18,
588,
2300,
7675,
14963,
12,
2652,
262,
262,
288,
6862,
1082,
202,
2463,
18820,
31,
25083,
202,
97,
6862,
202,
97,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
446,
31,
202,
97,
2,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
26899,
5234,
1153,
4267,
1153,
4002,
12,
514,
1084,
3259,
16,
467,
1420,
1058,
16,
514,
2652,
262,
1216,
30015,
288,
202,
202,
780,
25468,
273,
16319,
3004,
5621,
202,
202,
780,
5373,
559,
273,
385,
5234,
1153,
18,
588,
7078,
559,
5621,
202,
202,
45,
20552,
1318,
3301,
273,
4015,
3773,
18,
588,
1868,
7675,
588,
20552,
1318,
5621,
202,
202,
45,
20552,
8526,
23416,
273,
3301,
18,
588,
7634,
4139,
12,
25468,
11272,
202,
202,
1884,
12,
509,
277,
273,
374,
31,
277,
411,
23416,
18,
2469,
31,
277,
9904,
262,
288,
1082,
202,
430,
261,
401,
12,
8820,
4139,
63,
77,
65,
1276,
26899,
5234,
1153,
13,
262,
288,
9506,
202,
17143,
2
] |
vals[i] = dest.value(i);
|
vals[i] = dest.value(i);
|
protected Instance mergeInstances(Instance source, Instance dest) { Instances outputFormat = outputFormatPeek(); double[] vals = new double[outputFormat.numAttributes()]; for(int i = 0; i < vals.length; i++) { if (m_SelectedCols.isInRange(i)) { if ((source != null) && !source.isMissing(i) && !dest.isMissing(i)) { vals[i] = dest.value(i) - source.value(i); } } else { vals[i] = dest.value(i); } } Instance inst = null; if (dest instanceof SparseInstance) { inst = new SparseInstance(dest.weight(), vals); } else { inst = new Instance(dest.weight(), vals); } inst.setDataset(dest.dataset()); return inst; }
|
48918 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48918/6805b973c705d270dc4e78a609f67ed70bf7aabd/TimeSeriesDelta.java/buggy/weka/filters/unsupervised/attribute/TimeSeriesDelta.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
5180,
2691,
5361,
12,
1442,
1084,
16,
5180,
1570,
13,
288,
565,
18357,
27205,
273,
27205,
30950,
5621,
565,
1645,
8526,
5773,
273,
394,
1645,
63,
2844,
1630,
18,
2107,
2498,
1435,
15533,
565,
364,
12,
474,
277,
273,
374,
31,
277,
411,
5773,
18,
2469,
31,
277,
27245,
288,
1377,
309,
261,
81,
67,
7416,
8011,
18,
291,
25277,
12,
77,
3719,
288,
202,
430,
14015,
3168,
480,
446,
13,
202,
565,
597,
401,
3168,
18,
291,
4841,
12,
77,
13,
202,
565,
597,
401,
10488,
18,
291,
4841,
12,
77,
3719,
288,
202,
225,
5773,
63,
77,
65,
273,
1570,
18,
1132,
12,
77,
13,
300,
1084,
18,
1132,
12,
77,
1769,
202,
97,
1377,
289,
469,
288,
202,
4524,
63,
77,
65,
273,
1570,
18,
1132,
12,
77,
1769,
1377,
289,
565,
289,
565,
5180,
1804,
273,
446,
31,
565,
309,
261,
10488,
1276,
16473,
1442,
13,
288,
1377,
1804,
273,
394,
16473,
1442,
12,
10488,
18,
4865,
9334,
5773,
1769,
565,
289,
469,
288,
1377,
1804,
273,
394,
5180,
12,
10488,
18,
4865,
9334,
5773,
1769,
565,
289,
565,
1804,
18,
542,
10656,
12,
10488,
18,
8682,
10663,
565,
327,
1804,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
5180,
2691,
5361,
12,
1442,
1084,
16,
5180,
1570,
13,
288,
565,
18357,
27205,
273,
27205,
30950,
5621,
565,
1645,
8526,
5773,
273,
394,
1645,
63,
2844,
1630,
18,
2107,
2498,
1435,
15533,
565,
364,
12,
474,
277,
273,
374,
31,
277,
411,
5773,
18,
2469,
31,
277,
27245,
288,
1377,
309,
261,
81,
67,
7416,
8011,
18,
291,
25277,
12,
77,
3719,
288,
202,
430,
14015,
3168,
480,
446,
13,
202,
565,
597,
401,
3168,
18,
291,
4841,
12,
77,
13,
202,
565,
597,
401,
10488,
18,
291,
4841,
12,
77,
3719,
288,
202,
225,
5773,
63,
77,
65,
273,
1570,
18,
1132,
12,
77,
13,
300,
1084,
18,
1132,
12,
77,
1769,
202,
97,
1377,
2
] |
protected synchronized Class loadClass(String name, boolean resolve) throws ClassNotFoundException {
|
protected Class loadClass(String name, boolean resolve) throws ClassNotFoundException {
|
protected synchronized Class loadClass(String name, boolean resolve) throws ClassNotFoundException { try { return super.loadClass(name, resolve); } catch (ClassNotFoundException cnfe) { return RootLoader.this.loadClassByName(name,true,resolve); } }
|
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/f1e735b1ad6666f87b755d1f038c12d03a74ba75/RootLoader.java/buggy/src/main/org/codehaus/groovy/tools/RootLoader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
4750,
1659,
16038,
12,
780,
508,
16,
1250,
2245,
13,
1216,
10403,
288,
5411,
775,
288,
7734,
327,
2240,
18,
945,
797,
12,
529,
16,
2245,
1769,
5411,
289,
1044,
261,
797,
3990,
6227,
3030,
13,
288,
7734,
327,
7450,
2886,
18,
2211,
18,
945,
797,
5911,
12,
529,
16,
3767,
16,
10828,
1769,
5411,
289,
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,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4750,
1659,
16038,
12,
780,
508,
16,
1250,
2245,
13,
1216,
10403,
288,
5411,
775,
288,
7734,
327,
2240,
18,
945,
797,
12,
529,
16,
2245,
1769,
5411,
289,
1044,
261,
797,
3990,
6227,
3030,
13,
288,
7734,
327,
7450,
2886,
18,
2211,
18,
945,
797,
5911,
12,
529,
16,
3767,
16,
10828,
1769,
5411,
289,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 (from == null)
|
if (from == null) {
|
private void initialize() { if (initialized) return; options = convertRegexOptions(flags); if (from == null) throw new BuildException("Missing from in containsregex"); regularExpression = new RegularExpression(); regularExpression.setPattern(from); regexp = regularExpression.getRegexp(project); if (to == null) return; substitution = new Substitution(); substitution.setExpression(to); }
|
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/0e785b75e86008a00cc9baf648444539ea91ebda/TokenFilter.java/clean/src/main/org/apache/tools/ant/filters/TokenFilter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
918,
4046,
1435,
288,
5411,
309,
261,
13227,
13,
7734,
327,
31,
5411,
702,
273,
1765,
6628,
1320,
12,
7133,
1769,
5411,
309,
261,
2080,
422,
446,
13,
288,
7734,
604,
394,
18463,
2932,
4841,
628,
316,
1914,
7584,
8863,
5411,
6736,
2300,
273,
394,
24544,
2300,
5621,
5411,
6736,
2300,
18,
542,
3234,
12,
2080,
1769,
5411,
7195,
273,
6736,
2300,
18,
588,
14621,
12,
4406,
1769,
5411,
309,
261,
869,
422,
446,
13,
7734,
327,
31,
5411,
12785,
273,
394,
2592,
14278,
5621,
5411,
12785,
18,
542,
2300,
12,
869,
1769,
4202,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
918,
4046,
1435,
288,
5411,
309,
261,
13227,
13,
7734,
327,
31,
5411,
702,
273,
1765,
6628,
1320,
12,
7133,
1769,
5411,
309,
261,
2080,
422,
446,
13,
288,
7734,
604,
394,
18463,
2932,
4841,
628,
316,
1914,
7584,
8863,
5411,
6736,
2300,
273,
394,
24544,
2300,
5621,
5411,
6736,
2300,
18,
542,
3234,
12,
2080,
1769,
5411,
7195,
273,
6736,
2300,
18,
588,
14621,
12,
4406,
1769,
5411,
309,
261,
869,
422,
446,
13,
7734,
327,
31,
5411,
12785,
273,
394,
2592,
14278,
5621,
5411,
12785,
18,
542,
2300,
12,
869,
1769,
4202,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
} catch (Exception ignore) {}
|
} catch (Exception ignore) {}
|
public void run () { long cleanupSleep = 60000; // thread sleep interval (fixed) long scheduleSleep = 60000; // interval for scheduler invocation long lastScheduler = 0; long lastCleanup = System.currentTimeMillis (); // logEvent ("Starting scheduler for "+name); // as first thing, invoke function onStart in the root object try { eval.invokeFunction ((INode) null, "onStart", new Object[0]); } catch (Exception ignore) {} while (Thread.currentThread () == worker) { // get session timeout int sessionTimeout = 30; try { sessionTimeout = Math.max (0, Integer.parseInt (props.getProperty ("sessionTimeout", "30"))); } catch (Exception ignore) {} long now = System.currentTimeMillis (); // check if we should clean up user sessions if (now - lastCleanup > cleanupSleep) try { lastCleanup = now; // logEvent ("Cleaning up "+name+": " + sessions.size () + " sessions active"); Hashtable cloned = (Hashtable) sessions.clone (); for (Enumeration e = cloned.elements (); e.hasMoreElements (); ) { User u = (User) e.nextElement (); if (now - u.lastTouched () > sessionTimeout * 60000) { if (u.uid != null) { try { eval.invokeFunction (u, "onLogout", new Object[0]); } catch (Exception ignore) {} activeUsers.remove (u.uid); } sessions.remove (u.getSessionID ()); u.setNode (null); } } // logEvent ("Cleaned up "+name+": " + sessions.size () + " sessions remaining"); } catch (Exception cx) { logEvent ("Error cleaning up sessions: "+cx); cx.printStackTrace (); } // check if we should call scheduler if (now - lastScheduler > scheduleSleep) { lastScheduler = now; Object val = null; try { val = eval.invokeFunction ((INode) null, "scheduler", new Object[0]); } catch (Exception ignore) {} try { int ret = ((Number) val).intValue (); if (ret < 1000) scheduleSleep = 60000l; else scheduleSleep = ret; } catch (Exception ignore) {} // logEvent ("Called scheduler for "+name+", will sleep for "+scheduleSleep+" millis"); } // sleep until we have work to do try { worker.sleep (Math.min (cleanupSleep, scheduleSleep)); } catch (InterruptedException x) { logEvent ("Scheduler for "+name+" interrupted"); worker = null; break; } } logEvent ("Scheduler for "+name+" exiting"); }
|
46029 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46029/b49b50449e36a2ba61eaa0593bb7080f34d4ea6b/Application.java/buggy/src/helma/framework/core/Application.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1832,
288,
202,
5748,
6686,
20768,
273,
1666,
2787,
31,
565,
368,
2650,
5329,
3673,
261,
12429,
13,
202,
5748,
4788,
20768,
273,
1666,
2787,
31,
225,
368,
3673,
364,
8129,
9495,
202,
5748,
1142,
11870,
273,
374,
31,
202,
5748,
1142,
15007,
273,
2332,
18,
2972,
28512,
261,
1769,
202,
759,
25424,
7566,
11715,
8129,
364,
13773,
529,
1769,
202,
759,
487,
1122,
7757,
16,
4356,
445,
603,
1685,
316,
326,
1365,
733,
202,
698,
288,
202,
565,
5302,
18,
14407,
2083,
14015,
23184,
13,
446,
16,
315,
265,
1685,
3113,
394,
1033,
63,
20,
19226,
202,
97,
1044,
261,
503,
2305,
13,
2618,
202,
202,
17523,
261,
3830,
18,
2972,
3830,
1832,
422,
4322,
13,
288,
202,
565,
368,
336,
1339,
2021,
202,
565,
509,
1339,
2694,
273,
5196,
31,
202,
565,
775,
288,
202,
3639,
1339,
2694,
273,
2361,
18,
1896,
261,
20,
16,
2144,
18,
2670,
1702,
261,
9693,
18,
588,
1396,
7566,
3184,
2694,
3113,
315,
5082,
6,
3719,
1769,
202,
565,
289,
1044,
261,
503,
2305,
13,
2618,
202,
565,
1525,
2037,
273,
2332,
18,
2972,
28512,
261,
1769,
202,
565,
368,
866,
309,
732,
1410,
2721,
731,
729,
8856,
202,
565,
309,
261,
3338,
300,
1142,
15007,
405,
6686,
20768,
13,
775,
288,
202,
3639,
1142,
15007,
273,
2037,
31,
202,
3639,
368,
25424,
7566,
7605,
310,
731,
13773,
529,
15,
6877,
315,
397,
8856,
18,
1467,
1832,
397,
315,
8856,
2695,
8863,
202,
3639,
18559,
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,
1086,
1832,
288,
202,
5748,
6686,
20768,
273,
1666,
2787,
31,
565,
368,
2650,
5329,
3673,
261,
12429,
13,
202,
5748,
4788,
20768,
273,
1666,
2787,
31,
225,
368,
3673,
364,
8129,
9495,
202,
5748,
1142,
11870,
273,
374,
31,
202,
5748,
1142,
15007,
273,
2332,
18,
2972,
28512,
261,
1769,
202,
759,
25424,
7566,
11715,
8129,
364,
13773,
529,
1769,
202,
759,
487,
1122,
7757,
16,
4356,
445,
603,
1685,
316,
326,
1365,
733,
202,
698,
288,
202,
565,
5302,
18,
14407,
2083,
14015,
23184,
13,
446,
16,
315,
265,
1685,
3113,
394,
1033,
63,
20,
19226,
202,
97,
1044,
261,
503,
2305,
13,
2618,
202,
202,
17523,
261,
3830,
18,
2972,
3830,
1832,
422,
2
] |
xmlOutput.writeText(stackTrace[j]);
|
xmlOutput.writeText(aStackTrace);
|
private void emitErrors(XMLOutput xmlOutput) throws IOException { //System.err.println("Writing errors to XML output"); xmlOutput.openTag(ERRORS_ELEMENT_NAME); // Emit Error elements describing analysis errors for (Iterator<AnalysisError> i = errorIterator(); i.hasNext(); ) { AnalysisError error = i.next(); xmlOutput.openTag(AbstractBugCollection.ERROR_ELEMENT_NAME); xmlOutput.openTag(AbstractBugCollection.ERROR_MESSAGE_ELEMENT_NAME); xmlOutput.writeText(error.getMessage()); xmlOutput.closeTag(AbstractBugCollection.ERROR_MESSAGE_ELEMENT_NAME); if (error.getExceptionMessage() != null) { xmlOutput.openTag(AbstractBugCollection.ERROR_EXCEPTION_ELEMENT_NAME); xmlOutput.writeText(error.getExceptionMessage()); xmlOutput.closeTag(AbstractBugCollection.ERROR_EXCEPTION_ELEMENT_NAME); } String stackTrace[] = error.getStackTrace(); if (stackTrace != null) { for (int j = 0; j < stackTrace.length; ++j) { xmlOutput.openTag(AbstractBugCollection.ERROR_STACK_TRACE_ELEMENT_NAME); xmlOutput.writeText(stackTrace[j]); xmlOutput.closeTag(AbstractBugCollection.ERROR_STACK_TRACE_ELEMENT_NAME); } } xmlOutput.closeTag(AbstractBugCollection.ERROR_ELEMENT_NAME); } // Emit missing classes XMLOutputUtil.writeElementList(xmlOutput, MISSING_CLASS_ELEMENT_NAME, missingClassIterator()); xmlOutput.closeTag(ERRORS_ELEMENT_NAME); }
|
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/6283ec82a0713e109b5a169c0a420974b6bad830/AbstractBugCollection.java/clean/findbugs/src/java/edu/umd/cs/findbugs/AbstractBugCollection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3626,
4229,
12,
4201,
1447,
2025,
1447,
13,
1216,
1860,
288,
202,
202,
759,
3163,
18,
370,
18,
8222,
2932,
18835,
1334,
358,
3167,
876,
8863,
9506,
202,
2902,
1447,
18,
3190,
1805,
12,
29127,
67,
10976,
67,
1985,
1769,
9506,
202,
759,
16008,
1068,
2186,
16868,
6285,
1334,
202,
202,
1884,
261,
3198,
32,
9418,
668,
34,
277,
273,
555,
3198,
5621,
277,
18,
5332,
2134,
5621,
262,
288,
1082,
202,
9418,
668,
555,
273,
277,
18,
4285,
5621,
1082,
202,
2902,
1447,
18,
3190,
1805,
12,
7469,
19865,
2532,
18,
3589,
67,
10976,
67,
1985,
1769,
25083,
202,
2902,
1447,
18,
3190,
1805,
12,
7469,
19865,
2532,
18,
3589,
67,
8723,
67,
10976,
67,
1985,
1769,
1082,
202,
2902,
1447,
18,
2626,
1528,
12,
1636,
18,
24906,
10663,
1082,
202,
2902,
1447,
18,
4412,
1805,
12,
7469,
19865,
2532,
18,
3589,
67,
8723,
67,
10976,
67,
1985,
1769,
25083,
202,
430,
261,
1636,
18,
588,
503,
1079,
1435,
480,
446,
13,
288,
9506,
202,
2902,
1447,
18,
3190,
1805,
12,
7469,
19865,
2532,
18,
3589,
67,
12658,
67,
10976,
67,
1985,
1769,
9506,
202,
2902,
1447,
18,
2626,
1528,
12,
1636,
18,
588,
503,
1079,
10663,
9506,
202,
2902,
1447,
18,
4412,
1805,
12,
7469,
19865,
2532,
18,
3589,
67,
12658,
67,
10976,
67,
1985,
1769,
1082,
202,
97,
25083,
202,
780,
22327,
8526,
273,
555,
18,
588,
6332,
5621,
1082,
202,
430,
261,
3772,
3448,
480,
446,
13,
288,
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,
1152,
918,
3626,
4229,
12,
4201,
1447,
2025,
1447,
13,
1216,
1860,
288,
202,
202,
759,
3163,
18,
370,
18,
8222,
2932,
18835,
1334,
358,
3167,
876,
8863,
9506,
202,
2902,
1447,
18,
3190,
1805,
12,
29127,
67,
10976,
67,
1985,
1769,
9506,
202,
759,
16008,
1068,
2186,
16868,
6285,
1334,
202,
202,
1884,
261,
3198,
32,
9418,
668,
34,
277,
273,
555,
3198,
5621,
277,
18,
5332,
2134,
5621,
262,
288,
1082,
202,
9418,
668,
555,
273,
277,
18,
4285,
5621,
1082,
202,
2902,
1447,
18,
3190,
1805,
12,
7469,
19865,
2532,
18,
3589,
67,
10976,
67,
1985,
1769,
25083,
202,
2902,
1447,
18,
3190,
1805,
12,
7469,
19865,
2532,
18,
3589,
67,
8723,
67,
10976,
2
] |
{ }
|
{ return null; }
|
public java.sql.ResultSet getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) throws SQLException { // XXX-Not Implemented }
|
2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/0c8299478c05542a0f240973829223c7dae7e4dd/DatabaseMetaData.java/buggy/postgresql/DatabaseMetaData.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
6716,
27692,
12,
780,
6222,
16,
514,
1963,
16,
514,
1014,
16,
514,
7578,
3234,
13,
1216,
6483,
202,
95,
202,
202,
759,
11329,
17,
1248,
18788,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
6716,
27692,
12,
780,
6222,
16,
514,
1963,
16,
514,
1014,
16,
514,
7578,
3234,
13,
1216,
6483,
202,
95,
202,
202,
759,
11329,
17,
1248,
18788,
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
] |
numZ = zSet.size();
|
numZ = zSet.size();
|
protected void initFile(String id) throws FormatException, IOException { super.initFile(id); in = new RandomAccessFile(id, "r"); // Highly questionable decoding strategy: // // Note that all byte ordering is little endian, includeing 4-byte header // fields. Other examples: 16-bit data is LSB MSB, and 3-channel data is // BGR instead of RGB. // // 1) Find image header byte sequence: // A) Find 41 00 10. (ZVI_MAGIC_BLOCK_1) // B) Skip 19 bytes of stuff. // C) Read 41 00 80. (ZVI_MAGIC_BLOCK_2) // D) Read 11 bytes of 00 // E) Read potential header information: // - Z-slice (4 bytes) // - channel (4 bytes) // - timestep (4 bytes) // F) Read 108 bytes of 00. // // 2) If byte sequence is not as expected at any point (e.g., // stuff that is supposed to be 00 isn't), start over at 1A. // // 3) Find 20 00 10. (ZVI_MAGIC_BLOCK_3) // // 4) Read more header information: // - width (4 bytes) // - height (4 bytes) // - ? (4 bytes; always 1) // - bytesPerPixel (4 bytes) // - pixelType (this is what the AxioVision software calls it) // - 1=24-bit (3 color components, 8-bit each) // - 3=8-bit (1 color component, 8-bit) // - 4=16-bit (1 color component, 16-bit) // - bitDepth (4 bytes--usually, but not always, bytesPerPixel * 8) // // 5) Read image data (width * height * bytesPerPixel) // // 6) Repeat the entire process until no more headers are identified. long pos = 0; blockList = new Vector(); Set zSet = new HashSet(); // to hold Z plan index collection. Set cSet = new HashSet(); // to hold C channel index collection Set tSet = new HashSet(); // to hold T time index collection. numZ = 0; numC = 0; numT = 0; int numI = 0; while (true) { // search for start of next image header long header = findBlock(in, ZVI_MAGIC_BLOCK_1, pos); if (header < 0) { // no more potential headers found; we're done break; } pos = header + ZVI_MAGIC_BLOCK_1.length; if (DEBUG) System.err.println("Found potential image block: " + header); // these byte don't matter in.skipBytes(19); pos += 19; // these bytes should match ZVI_MAGIC_BLOCK_2 byte[] b = new byte[ZVI_MAGIC_BLOCK_2.length]; in.readFully(b); boolean ok = true; for (int i=0; i<b.length; i++) { if (b[i] != ZVI_MAGIC_BLOCK_2[i]) { ok = false; break; } pos++; } if (!ok) continue; // these bytes should be 00 b = new byte[11]; in.readFully(b); for (int i=0; i<b.length; i++) { if (b[i] != 0) { ok = false; break; } pos++; } if (!ok) continue; // read potential header information int theZ = (int) DataTools.read4UnsignedBytes(in, true); int theC = (int) DataTools.read4UnsignedBytes(in, true); int theT = (int) DataTools.read4UnsignedBytes(in, true); pos += 12; // these byte should be 00 b = new byte[108]; in.readFully(b); for (int i=0; i<b.length; i++) { if (b[i] != 0) { ok = false; break; } pos++; } if (!ok) continue; // everything checks out; looks like an image header to me//+ (mb) decoding strategy modification // Some zvi images have the following structure: // ZVI_SIG Decoding: // ZVI_MAGIC_BLOCK_1 // ZVI_MAGIC_BLOCK_2 <== Start of header information // - Z-slice (4 bytes) -> theZ = 0 // - channel (4 bytes) -> theC = 0 // - timestep (4 bytes) -> theT = 0 // ZVI_MAGIC_BLOCK_2 <== Start of header information // - Z-slice (4 bytes) -> theZ actual value // - channel (4 bytes) -> theC actual value // - timestep (4 bytes) -> theT actual value // ZVI_MAGIC_BLOCK_3 <== End of header information // ... // // Two consecutive Start of header information ZVI_MAGIC_BLOCK_2 // make test 3) of original decoding strategy fail. The first // null values are taken as theZ, theC and theT values, the // following actual values are ignored. // Parsing the rest of the file appears to be ok. // // New decoding strategy looks for the last header information // ZVI_MAGIC_BLOCK_2 / ZVI_MAGIC_BLOCK_3 to get proper image // slice theZ, theC and theT values. // these bytes don't matter in.skipBytes(89); pos += 89; byte[] magic3 = new byte[ZVI_MAGIC_BLOCK_3.length]; in.readFully(magic3); for (int i=0; i<magic3.length; i++) { if (magic3[i] != ZVI_MAGIC_BLOCK_3[i]) { ok = false; break; } } if (!ok) continue; pos += ZVI_MAGIC_BLOCK_3.length; // read more header information int width = (int) DataTools.read4UnsignedBytes(in, true); int height = (int) DataTools.read4UnsignedBytes(in, true); // don't know what this is for int alwaysOne = (int) DataTools.read4UnsignedBytes(in, true); bytesPerPixel = (int) DataTools.read4UnsignedBytes(in, true); // not clear what this value signifies int pixelType = (int) DataTools.read4UnsignedBytes(in, true); // doesn't always equal bytesPerPixel * 8 int bitDepth = (int) DataTools.read4UnsignedBytes(in, true); pos += 24; String type = ""; switch (pixelType) { case 1: type = "8 bit rgb tuple, 24 bpp"; break; case 2: type = "8 bit rgb quad, 32 bpp"; break; case 3: type = "8 bit grayscale"; break; case 4: type = "16 bit signed int, 8 bpp"; break; case 5: type = "32 bit int, 32 bpp"; break; case 6: type = "32 bit float, 32 bpp"; break; case 7: type = "64 bit float, 64 bpp"; break; case 8: type = "16 bit unsigned short triple, 48 bpp"; break; case 9: type = "32 bit int triple, 96 bpp"; break; default: type = "undefined pixel type (" + pixelType + ")"; } metadata.put("Width", new Integer(width)); metadata.put("Height", new Integer(height)); metadata.put("PixelType", type); metadata.put("BPP", new Integer(bytesPerPixel)); ZVIBlock zviBlock = new ZVIBlock(theZ, theC, theT, width, height, alwaysOne, bytesPerPixel, pixelType, bitDepth, pos); if (DEBUG) System.out.println(zviBlock); // perform some checks on the header info // populate Z, C and T index collections zSet.add(new Integer(theZ)); cSet.add(new Integer(theC)); tSet.add(new Integer(theT)); numI++; // sorry not a very clever way to find dimension order if ((numI == 2) && (cSet.size() == 2)) cFlag = 1; if ((numI == 2) && (zSet.size() == 2)) zFlag = 1; if ((numI == 2) && (tSet.size() == 2)) tFlag = 1; if ((numI == 3) && (zSet.size() == 2) && (cFlag == 1)) { dimensionOrder = "XYCZT"; } if ((numI == 3) && (tSet.size() == 2) && (cFlag == 1)) { dimensionOrder = "XYCTZ"; } if ((numI == 3) && (cSet.size() == 2) && (zFlag == 1)) { dimensionOrder = "XYZCT"; } if ((numI == 3) && (tSet.size() == 2) && (zFlag == 1)) { dimensionOrder = "XYZTC"; } if ((numI == 3) && (cSet.size() == 2) && (tFlag == 1)) { dimensionOrder = "XYTCZ"; } if ((numI == 3) && (zSet.size() == 2) && (tFlag == 1)) { dimensionOrder = "XYTZC"; } // save this image block's position blockList.add(zviBlock); pos += width * height * bytesPerPixel; // Populate metadata store // The metadata store we're working with. MetadataStore store = getMetadataStore(id); store.setPixels( new Integer(width), // SizeX new Integer(height), // SizeY new Integer(getSizeZ(id)), // SizeZ new Integer(getSizeC(id)), // SizeC new Integer(getSizeT(id)), // SizeT null, // PixelType Boolean.FALSE, // BigEndian new String(dimensionOrder), // DimensionOrder null); // Use index 0 } if (blockList.isEmpty()) { throw new FormatException("No image data found." + WHINING); } // number of Z, C and T index numZ = zSet.size(); numC = cSet.size(); numT = tSet.size(); if (numZ * numC * numT != blockList.size()) { System.err.println("Warning: image counts do not match. " + WHINING); } }
|
11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/054bd26b1432b6733cf1a54342b04ae97fa3a07c/LegacyZVIReader.java/buggy/loci/formats/in/LegacyZVIReader.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,
316,
273,
394,
8072,
26933,
12,
350,
16,
315,
86,
8863,
565,
368,
15207,
715,
5073,
429,
13547,
6252,
30,
565,
368,
565,
368,
3609,
716,
777,
1160,
9543,
353,
12720,
14759,
16,
2341,
310,
1059,
17,
7229,
1446,
565,
368,
1466,
18,
4673,
10991,
30,
2872,
17,
3682,
501,
353,
511,
14541,
9238,
38,
16,
471,
890,
17,
4327,
501,
353,
565,
368,
605,
6997,
3560,
434,
11510,
18,
565,
368,
565,
368,
404,
13,
4163,
1316,
1446,
1160,
3102,
30,
565,
368,
565,
432,
13,
4163,
20170,
9631,
1728,
18,
261,
62,
4136,
67,
49,
22247,
67,
11403,
67,
21,
13,
565,
368,
565,
605,
13,
6611,
5342,
1731,
434,
10769,
18,
565,
368,
565,
385,
13,
2720,
20170,
9631,
8958,
18,
261,
62,
4136,
67,
49,
22247,
67,
11403,
67,
22,
13,
565,
368,
565,
463,
13,
2720,
4648,
1731,
434,
9631,
565,
368,
565,
512,
13,
2720,
8555,
1446,
1779,
30,
565,
368,
4202,
300,
2285,
17,
6665,
261,
24,
1731,
13,
565,
368,
4202,
300,
1904,
261,
24,
1731,
13,
565,
368,
4202,
300,
27072,
261,
24,
1731,
13,
565,
368,
565,
478,
13,
2720,
23515,
1731,
434,
9631,
18,
565,
368,
565,
368,
576,
13,
971,
1160,
3102,
353,
486,
487,
2665,
622,
1281,
1634,
261,
73,
18,
75,
12990,
565,
368,
565,
10769,
716,
353,
18405,
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,
316,
273,
394,
8072,
26933,
12,
350,
16,
315,
86,
8863,
565,
368,
15207,
715,
5073,
429,
13547,
6252,
30,
565,
368,
565,
368,
3609,
716,
777,
1160,
9543,
353,
12720,
14759,
16,
2341,
310,
1059,
17,
7229,
1446,
565,
368,
1466,
18,
4673,
10991,
30,
2872,
17,
3682,
501,
353,
511,
14541,
9238,
38,
16,
471,
890,
17,
4327,
501,
353,
565,
368,
605,
6997,
3560,
434,
11510,
18,
565,
368,
565,
368,
404,
13,
4163,
1316,
1446,
1160,
3102,
30,
565,
368,
565,
432,
13,
4163,
20170,
9631,
1728,
18,
261,
62,
4136,
2
] |
private boolean policyMatch(int method) { if(method==SecureMethodParam.PLAIN){ if(msg != null) { return true; } }else if(method==SecureMethodParam.ENCRYPT){ if(secret!=null && sealedMsg!=null) { return true; } }else if(method==SecureMethodParam.SIGN){ if(signedMsg != null) { return true; } }else if(method==SecureMethodParam.SIGNENCRYPT){ if(signedMsg!=null && secret!=null && sealedMsg!=null) { return true; } } return false; }
|
12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/dc9fd5855e50eaadd5520fad9ce9335764830777/SecurityAspect.java/buggy/securityservices/src/com/nai/security/crypto/SecurityAspect.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
6494,
5086,
2060,
12,
474,
2039,
15329,
430,
12,
2039,
631,
12834,
1305,
786,
18,
26549,
15329,
202,
430,
12,
3576,
5,
33,
2011,
15329,
202,
2463,
3767,
31,
202,
9090,
12107,
430,
12,
2039,
631,
12834,
1305,
786,
18,
1157,
14306,
15329,
202,
430,
12,
5875,
5,
33,
2011,
10,
10,
307,
18931,
3332,
5,
33,
2011,
15329,
202,
2463,
3767,
31,
202,
9090,
12107,
430,
12,
2039,
631,
12834,
1305,
786,
18,
11260,
15329,
202,
430,
12,
5679,
3332,
5,
33,
2011,
15329,
202,
2463,
3767,
31,
202,
9090,
12107,
430,
12,
2039,
631,
12834,
1305,
786,
18,
11260,
1157,
14306,
15329,
202,
430,
12,
5679,
3332,
5,
33,
2011,
10,
10,
5875,
5,
33,
2011,
10,
10,
307,
18931,
3332,
5,
33,
2011,
15329,
202,
2463,
3767,
31,
202,
9090,
2463,
5743,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3238,
6494,
5086,
2060,
12,
474,
2039,
15329,
430,
12,
2039,
631,
12834,
1305,
786,
18,
26549,
15329,
202,
430,
12,
3576,
5,
33,
2011,
15329,
202,
2463,
3767,
31,
202,
9090,
12107,
430,
12,
2039,
631,
12834,
1305,
786,
18,
1157,
14306,
15329,
202,
430,
12,
5875,
5,
33,
2011,
10,
10,
307,
18931,
3332,
5,
33,
2011,
15329,
202,
2463,
3767,
31,
202,
9090,
12107,
430,
12,
2039,
631,
12834,
1305,
786,
18,
11260,
15329,
202,
430,
12,
5679,
3332,
5,
33,
2011,
15329,
202,
2463,
3767,
31,
202,
9090,
12107,
430,
12,
2039,
631,
12834,
1305,
786,
18,
11260,
1157,
14306,
15329,
202,
430,
12,
5679,
3332,
5,
33,
2011,
10,
10,
5875,
5,
33,
2011,
2
] |
||
public void onScheduledJob(String jobId, Map<String, Object> jobDetail) { WorkEvent we = new WorkEvent(jobDetail); ProcessInstanceDAO instance = _contexts.dao.getConnection().getInstance(we.getIID()); if (instance == null) { __log.error(__msgs.msgScheduledJobReferencesUnknownInstance(we.getIID())); // nothing we can do, this instance is not in the database, it will // always // fail. return; } ProcessDAO processDao = instance.getProcess(); BpelProcess process = _activeProcesses.get(processDao.getProcessId()); if (process == null) { // If the process is not active, it means that we should not be // doing // any work on its behalf, therefore we will reschedule the events // for some time in the future (1 minute). Date future = new Date(System.currentTimeMillis() + (60 * 1000)); __log.info(__msgs.msgReschedulingJobForInactiveProcess(processDao.getProcessId(), jobId, future)); _contexts.scheduler.schedulePersistedJob(jobDetail, future); } assert process != null; process.handleWorkEvent(jobDetail); }
|
47044 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47044/09b7bc81ee0b928ba82939c26ceb06ae7bf923a2/BpelEngineImpl.java/buggy/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelEngineImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
265,
10660,
2278,
12,
780,
4688,
548,
16,
863,
32,
780,
16,
921,
34,
4688,
6109,
15329,
2421,
1133,
1814,
33,
2704,
2421,
1133,
12,
4688,
6109,
1769,
2227,
1442,
18485,
1336,
33,
67,
18332,
18,
2414,
83,
18,
588,
1952,
7675,
588,
1442,
12,
1814,
18,
588,
45,
734,
10663,
430,
12,
1336,
631,
2011,
15329,
972,
1330,
18,
1636,
12,
972,
27439,
18,
3576,
10660,
2278,
8221,
4874,
1442,
12,
1814,
18,
588,
45,
734,
1435,
10019,
759,
30874,
91,
557,
28630,
16,
2211,
1336,
291,
902,
267,
451,
329,
2451,
16,
305,
20194,
759,
17737,
759,
6870,
18,
2463,
31,
97,
2227,
18485,
2567,
11412,
33,
1336,
18,
588,
2227,
5621,
38,
84,
292,
2227,
2567,
33,
67,
3535,
10599,
18,
588,
12,
2567,
11412,
18,
588,
2227,
548,
10663,
430,
12,
2567,
631,
2011,
15329,
759,
2047,
5787,
2567,
291,
902,
3535,
16,
305,
7079,
334,
11304,
91,
4607,
1006,
902,
2196,
759,
2896,
310,
759,
2273,
1252,
265,
1282,
2196,
20222,
16,
18664,
1405,
91,
359,
737,
455,
4292,
546,
1340,
616,
87,
759,
74,
1383,
362,
2374,
267,
5787,
14343,
12,
21,
17637,
2934,
1626,
14343,
33,
2704,
1626,
12,
3163,
18,
2972,
28512,
1435,
15,
12,
4848,
14,
18088,
10019,
972,
1330,
18,
1376,
12,
972,
27439,
18,
3576,
607,
13252,
2278,
1290,
24384,
2227,
12,
2567,
11412,
18,
588,
2227,
548,
9334,
4688,
548,
16,
14343,
10019,
67,
18332,
18,
19972,
18,
10676,
12771,
329,
2278,
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,
1071,
6459,
265,
10660,
2278,
12,
780,
4688,
548,
16,
863,
32,
780,
16,
921,
34,
4688,
6109,
15329,
2421,
1133,
1814,
33,
2704,
2421,
1133,
12,
4688,
6109,
1769,
2227,
1442,
18485,
1336,
33,
67,
18332,
18,
2414,
83,
18,
588,
1952,
7675,
588,
1442,
12,
1814,
18,
588,
45,
734,
10663,
430,
12,
1336,
631,
2011,
15329,
972,
1330,
18,
1636,
12,
972,
27439,
18,
3576,
10660,
2278,
8221,
4874,
1442,
12,
1814,
18,
588,
45,
734,
1435,
10019,
759,
30874,
91,
557,
28630,
16,
2211,
1336,
291,
902,
267,
451,
329,
2451,
16,
305,
20194,
759,
17737,
759,
6870,
18,
2463,
31,
97,
2227,
18485,
2567,
11412,
33,
1336,
18,
588,
2227,
5621,
38,
84,
292,
2
] |
||
AST tmp1556_AST_in = (AST)_t;
|
AST tmp1557_AST_in = (AST)_t;
|
public final void systemdialogprintersetupstate(AST _t) throws RecognitionException { AST systemdialogprintersetupstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1155 = _t; AST tmp1555_AST_in = (AST)_t; match(_t,SYSTEMDIALOG); _t = _t.getFirstChild(); AST tmp1556_AST_in = (AST)_t; match(_t,PRINTERSETUP); _t = _t.getNextSibling(); { _loop1160: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NUMCOPIES: { AST __t1157 = _t; AST tmp1557_AST_in = (AST)_t; match(_t,NUMCOPIES); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1157; _t = _t.getNextSibling(); break; } case UPDATE: { AST __t1158 = _t; AST tmp1558_AST_in = (AST)_t; match(_t,UPDATE); _t = _t.getFirstChild(); fld(_t,CQ.UPDATING); _t = _retTree; _t = __t1158; _t = _t.getNextSibling(); break; } case LANDSCAPE: { AST tmp1559_AST_in = (AST)_t; match(_t,LANDSCAPE); _t = _t.getNextSibling(); break; } case PORTRAIT: { AST tmp1560_AST_in = (AST)_t; match(_t,PORTRAIT); _t = _t.getNextSibling(); break; } case IN_KW: { AST __t1159 = _t; AST tmp1561_AST_in = (AST)_t; match(_t,IN_KW); _t = _t.getFirstChild(); AST tmp1562_AST_in = (AST)_t; match(_t,WINDOW); _t = _t.getNextSibling(); expression(_t); _t = _retTree; _t = __t1159; _t = _t.getNextSibling(); break; } default: { break _loop1160; } } } while (true); } state_end(_t); _t = _retTree; _t = __t1155; _t = _t.getNextSibling(); _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
2619,
12730,
30439,
8401,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
2619,
12730,
30439,
8401,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
2499,
2539,
273,
389,
88,
31,
202,
202,
9053,
1853,
23643,
25,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
14318,
2565,
18683,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
9053,
1853,
23643,
26,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
8025,
9125,
4043,
3079,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
202,
202,
95,
202,
202,
67,
6498,
21,
16874,
30,
202,
202,
2896,
288,
1082,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
1082,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
1082,
202,
3593,
9443,
3865,
1102,
3991,
30,
1082,
202,
95,
9506,
202,
9053,
1001,
88,
2499,
10321,
273,
389,
88,
31,
9506,
202,
9053,
1853,
23643,
27,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
9506,
202,
1916,
24899,
88,
16,
6069,
3865,
1102,
3991,
1769,
9506,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
9506,
202,
8692,
24899,
88,
1769,
9506,
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,
727,
918,
2619,
12730,
30439,
8401,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
2619,
12730,
30439,
8401,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
2499,
2539,
273,
389,
88,
31,
202,
202,
9053,
1853,
23643,
25,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
14318,
2565,
18683,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
9053,
1853,
23643,
26,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
2
] |
JPanel p = new JPanel(); p.setLayout(new GridBagLayout());
|
legendPanel = new JPanel(); legendPanel.setLayout(new GridBagLayout());
|
private JPanel buildLegendPanel() { JPanel p = new JPanel(); p.setLayout(new GridBagLayout()); GridBagConstraints c = new GridBagConstraints(); // griddy constraints c.anchor = GridBagConstraints.NORTHWEST; c.fill = GridBagConstraints.NONE; // one c.insets = new Insets(1, 1, 1, 1); Colors colors = Colors.getInstance(); p.add(buildLegend(colors.getColor(Colors.TITLE_BAR_HIGHLIGHT), "Currently selected"), c); // two c.gridx = 1; c.gridy = 0; p.add(buildLegend(colors.getColor(Colors.REGEX_ANNOTATION), "Found in annotation"), c); // three c.gridx = 0; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE), "Found in title"), c); // four c.gridx = 1; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE_AND_ANNOTATION), "Found in either"), c); //five c.gridx = 0; c.gridy = 2; p.add(buildLegend(colors.getColor(Colors.ANNOTATED), "Found in annotated"), c); return p; }
|
13273 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13273/f8f7dcdd74bccad5e7a9d969c7ab47c1cfee6015/CBSearchTabView.java/buggy/SRC/org/openmicroscopy/shoola/agents/hiviewer/clipboard/CBSearchTabView.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
24048,
1361,
16812,
5537,
1435,
565,
288,
3639,
24048,
293,
273,
394,
24048,
5621,
3639,
293,
18,
542,
3744,
12,
2704,
7145,
5013,
3744,
10663,
3639,
13075,
276,
273,
394,
13075,
5621,
7734,
368,
3068,
15680,
6237,
3639,
276,
18,
16215,
273,
13075,
18,
50,
28212,
31285,
31,
3639,
276,
18,
5935,
273,
13075,
18,
9826,
31,
7734,
368,
1245,
3639,
276,
18,
267,
4424,
273,
394,
22300,
12,
21,
16,
404,
16,
404,
16,
404,
1769,
3639,
30448,
5740,
273,
30448,
18,
588,
1442,
5621,
3639,
293,
18,
1289,
12,
3510,
16812,
12,
9724,
18,
588,
2957,
12,
12570,
18,
14123,
67,
21908,
67,
29996,
23516,
3631,
7682,
315,
3935,
715,
3170,
6,
3631,
276,
1769,
7734,
368,
2795,
3639,
276,
18,
5222,
92,
273,
404,
31,
3639,
276,
18,
5222,
93,
273,
374,
31,
3639,
293,
18,
1289,
12,
3510,
16812,
12,
9724,
18,
588,
2957,
12,
12570,
18,
12472,
67,
24922,
3631,
13491,
315,
2043,
316,
3204,
6,
3631,
276,
1769,
7734,
368,
8925,
3639,
276,
18,
5222,
92,
273,
374,
31,
3639,
276,
18,
5222,
93,
273,
404,
31,
3639,
293,
18,
1289,
12,
3510,
16812,
12,
9724,
18,
588,
2957,
12,
12570,
18,
12472,
67,
14123,
3631,
7682,
315,
2043,
316,
2077,
6,
3631,
276,
1769,
10402,
368,
12792,
3639,
276,
18,
5222,
92,
273,
404,
31,
3639,
276,
18,
5222,
93,
273,
404,
31,
3639,
293,
18,
1289,
12,
3510,
16812,
12,
9724,
18,
588,
2957,
12,
12570,
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,
24048,
1361,
16812,
5537,
1435,
565,
288,
3639,
24048,
293,
273,
394,
24048,
5621,
3639,
293,
18,
542,
3744,
12,
2704,
7145,
5013,
3744,
10663,
3639,
13075,
276,
273,
394,
13075,
5621,
7734,
368,
3068,
15680,
6237,
3639,
276,
18,
16215,
273,
13075,
18,
50,
28212,
31285,
31,
3639,
276,
18,
5935,
273,
13075,
18,
9826,
31,
7734,
368,
1245,
3639,
276,
18,
267,
4424,
273,
394,
22300,
12,
21,
16,
404,
16,
404,
16,
404,
1769,
3639,
30448,
5740,
273,
30448,
18,
588,
1442,
5621,
3639,
293,
18,
1289,
12,
3510,
16812,
12,
9724,
18,
588,
2957,
12,
12570,
18,
14123,
67,
21908,
67,
29996,
23516,
3631,
7682,
315,
3935,
715,
3170,
6,
3631,
276,
1769,
2
] |
if (! parameter.isDynamicType()) { parameter.setType(checkValidType(parameter.getType(), node, "Must be a valid parameter class")); }
|
protected void visitParameter(ASTNode node, Parameter parameter) { if (! parameter.isDynamicType()) { parameter.setType(checkValidType(parameter.getType(), node, "Must be a valid parameter class")); } }
|
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/0e621fdecf3e8ab9db2fe9eea10bae5d2dc4b695/DummyClassGenerator.java/buggy/src/main/org/codehaus/groovy/classgen/DummyClassGenerator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
3757,
1662,
12,
9053,
907,
756,
16,
5498,
1569,
13,
288,
3639,
309,
16051,
1569,
18,
291,
9791,
559,
10756,
288,
5411,
1569,
18,
542,
559,
12,
1893,
1556,
559,
12,
6775,
18,
588,
559,
9334,
756,
16,
315,
10136,
506,
279,
923,
1569,
667,
7923,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3757,
1662,
12,
9053,
907,
756,
16,
5498,
1569,
13,
288,
3639,
309,
16051,
1569,
18,
291,
9791,
559,
10756,
288,
5411,
1569,
18,
542,
559,
12,
1893,
1556,
559,
12,
6775,
18,
588,
559,
9334,
756,
16,
315,
10136,
506,
279,
923,
1569,
667,
7923,
1769,
3639,
289,
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
] |
|
fDocumentHandler.emptyElement(fElementQName, fAttributes);
|
fDocumentHandler.emptyElement(fElementQName, fAttributes, fAugmentations);
|
protected boolean scanStartElement() throws IOException, XNIException { if (DEBUG_CONTENT_SCANNING) System.out.println(">>> scanStartElement()"); // name if (fNamespaces) { fEntityScanner.scanQName(fElementQName); } else { String name = fEntityScanner.scanName(); fElementQName.setValues(null, name, name, null); } String rawname = fElementQName.rawname; // push element stack fCurrentElement = fElementStack.pushElement(fElementQName); // attributes boolean empty = false; fAttributes.removeAllAttributes(); do { // spaces boolean sawSpace = fEntityScanner.skipSpaces(); // end tag? int c = fEntityScanner.peekChar(); if (c == '>') { fEntityScanner.scanChar(); break; } else if (c == '/') { fEntityScanner.scanChar(); if (!fEntityScanner.skipChar('>')) { reportFatalError("ElementUnterminated", new Object[]{rawname}); } empty = true; break; } else if (!XMLChar.isNameStart(c) || !sawSpace) { reportFatalError("ElementUnterminated", new Object[]{rawname}); } // attributes scanAttribute(fAttributes); } while (true); // call handler if (fDocumentHandler != null) { if (empty) { fDocumentHandler.emptyElement(fElementQName, fAttributes); handleEndElement(fElementQName, true); } else { fDocumentHandler.startElement(fElementQName, fAttributes); } } if (DEBUG_CONTENT_SCANNING) System.out.println("<<< scanStartElement(): "+empty); return empty; } // scanStartElement():boolean
|
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/ee3cf4ff9e64a0ae2d3c850b7c9b40e51771781d/XMLDocumentFragmentScannerImpl.java/clean/src/org/apache/xerces/impl/XMLDocumentFragmentScannerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1250,
4135,
1685,
1046,
1435,
540,
1216,
1860,
16,
1139,
50,
45,
503,
288,
3639,
309,
261,
9394,
67,
9689,
67,
2312,
11489,
1360,
13,
2332,
18,
659,
18,
8222,
2932,
23012,
4135,
1685,
1046,
1435,
8863,
3639,
368,
508,
3639,
309,
261,
74,
13180,
13,
288,
5411,
284,
1943,
11338,
18,
9871,
13688,
12,
74,
1046,
13688,
1769,
3639,
289,
3639,
469,
288,
5411,
514,
508,
273,
284,
1943,
11338,
18,
9871,
461,
5621,
5411,
284,
1046,
13688,
18,
542,
1972,
12,
2011,
16,
508,
16,
508,
16,
446,
1769,
3639,
289,
3639,
514,
1831,
529,
273,
284,
1046,
13688,
18,
1899,
529,
31,
3639,
368,
1817,
930,
2110,
3639,
284,
3935,
1046,
273,
284,
1046,
2624,
18,
6206,
1046,
12,
74,
1046,
13688,
1769,
3639,
368,
1677,
3639,
1250,
1008,
273,
629,
31,
3639,
284,
2498,
18,
4479,
1595,
2498,
5621,
3639,
741,
288,
5411,
368,
7292,
5411,
1250,
19821,
3819,
273,
284,
1943,
11338,
18,
7457,
12077,
5621,
5411,
368,
679,
1047,
35,
5411,
509,
276,
273,
284,
1943,
11338,
18,
347,
3839,
2156,
5621,
5411,
309,
261,
71,
422,
7481,
13,
288,
7734,
284,
1943,
11338,
18,
9871,
2156,
5621,
7734,
898,
31,
5411,
289,
5411,
469,
309,
261,
71,
422,
2023,
13,
288,
7734,
284,
1943,
11338,
18,
9871,
2156,
5621,
7734,
309,
16051,
74,
1943,
11338,
18,
7457,
2156,
2668,
1870,
3719,
288,
10792,
2605,
19593,
668,
2932,
1046,
984,
29133,
3113,
19694,
394,
1033,
63,
7073,
1899,
529,
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,
4750,
1250,
4135,
1685,
1046,
1435,
540,
1216,
1860,
16,
1139,
50,
45,
503,
288,
3639,
309,
261,
9394,
67,
9689,
67,
2312,
11489,
1360,
13,
2332,
18,
659,
18,
8222,
2932,
23012,
4135,
1685,
1046,
1435,
8863,
3639,
368,
508,
3639,
309,
261,
74,
13180,
13,
288,
5411,
284,
1943,
11338,
18,
9871,
13688,
12,
74,
1046,
13688,
1769,
3639,
289,
3639,
469,
288,
5411,
514,
508,
273,
284,
1943,
11338,
18,
9871,
461,
5621,
5411,
284,
1046,
13688,
18,
542,
1972,
12,
2011,
16,
508,
16,
508,
16,
446,
1769,
3639,
289,
3639,
514,
1831,
529,
273,
284,
1046,
13688,
18,
1899,
529,
31,
3639,
368,
1817,
930,
2110,
3639,
284,
3935,
1046,
273,
284,
1046,
2
] |
switch ( _cur.kind() ) { case ELEM : case ATTR : { validateLocalName( name.getLocalPart() ); break; } case PROCINST : { validatePrefix( name.getLocalPart() );
|
switch (_cur.kind()) { case ELEM: case ATTR: { validateLocalName(name.getLocalPart()); break; }
|
public void _setName ( QName name ) { if (name == null) throw new IllegalArgumentException( "Name is null" ); switch ( _cur.kind() ) { case ELEM : case ATTR : { validateLocalName( name.getLocalPart() ); break; } case PROCINST : { validatePrefix( name.getLocalPart() ); if (name.getNamespaceURI().length() > 0) throw new IllegalArgumentException( "Procinst name must have no URI" ); if (name.getPrefix().length() > 0) throw new IllegalArgumentException( "Procinst name must have no prefix" ); break; } default : throw new IllegalStateException( "Can set name on element, atrtribute and procinst only" ); } _cur.setName( name ); }
|
3520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3520/8883179236b87db476131da6fa70580fac43da83/Cursor.java/clean/src/newstore2/org/apache/xmlbeans/impl/newstore2/Cursor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
389,
542,
461,
261,
16723,
508,
262,
565,
288,
3639,
309,
261,
529,
422,
446,
13,
5411,
604,
394,
2754,
12,
315,
461,
353,
446,
6,
11272,
3639,
1620,
261,
389,
1397,
18,
9224,
1435,
262,
3639,
288,
3639,
648,
512,
26817,
294,
3639,
648,
12759,
294,
3639,
288,
5411,
1954,
29583,
12,
508,
18,
588,
2042,
1988,
1435,
11272,
5411,
898,
31,
3639,
289,
18701,
648,
4629,
39,
19784,
294,
3639,
288,
5411,
1954,
2244,
12,
508,
18,
588,
2042,
1988,
1435,
11272,
5411,
309,
261,
529,
18,
588,
3402,
3098,
7675,
2469,
1435,
405,
374,
13,
7734,
604,
394,
2754,
12,
315,
15417,
8591,
508,
1297,
1240,
1158,
3699,
6,
11272,
13491,
309,
261,
529,
18,
588,
2244,
7675,
2469,
1435,
405,
374,
13,
7734,
604,
394,
2754,
12,
315,
15417,
8591,
508,
1297,
1240,
1158,
1633,
6,
11272,
5411,
898,
31,
3639,
289,
3639,
805,
294,
5411,
604,
7734,
394,
5477,
12,
10792,
315,
2568,
444,
508,
603,
930,
16,
622,
86,
887,
471,
5418,
8591,
1338,
6,
11272,
3639,
289,
3639,
389,
1397,
18,
542,
461,
12,
508,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
389,
542,
461,
261,
16723,
508,
262,
565,
288,
3639,
309,
261,
529,
422,
446,
13,
5411,
604,
394,
2754,
12,
315,
461,
353,
446,
6,
11272,
3639,
1620,
261,
389,
1397,
18,
9224,
1435,
262,
3639,
288,
3639,
648,
512,
26817,
294,
3639,
648,
12759,
294,
3639,
288,
5411,
1954,
29583,
12,
508,
18,
588,
2042,
1988,
1435,
11272,
5411,
898,
31,
3639,
289,
18701,
648,
4629,
39,
19784,
294,
3639,
288,
5411,
1954,
2244,
12,
508,
18,
588,
2042,
1988,
1435,
11272,
5411,
309,
261,
529,
18,
588,
3402,
3098,
7675,
2469,
1435,
405,
374,
13,
7734,
604,
394,
2754,
12,
315,
15417,
8591,
508,
1297,
1240,
1158,
3699,
6,
11272,
13491,
309,
261,
2
] |
URI deployURI = wmr.getDeployedPath();
|
URI deployURI = wmr.getRuntimePath();
|
protected void execute(IProgressMonitor monitor) throws CoreException, InvocationTargetException, InterruptedException { // preparation JavaDeployableModuleBuilderDataModel dataModel = (JavaDeployableModuleBuilderDataModel) operationDataModel; WorkbenchComponent workbenchModule = (WorkbenchComponent)dataModel.getProperty(DeployableModuleBuilderDataModel.WORKBENCH_MODULE); IProject project = (IProject)dataModel.getProperty(DeployableModuleBuilderDataModel.PROJECT); IPath projectPath = project.getFullPath(); IJavaProject javaProj = ProjectUtilities.getJavaProject(project); List javaSourceFolderList = ProjectUtilities.getSourceContainers(project); // create output container folder if it does not exist IFolder outputContainer = (IFolder)dataModel.getProperty(DeployableModuleBuilderDataModel.OUTPUT_CONTAINER); if(!outputContainer.exists()) createFolder(outputContainer); IPath outputContainerPath = outputContainer.getFullPath(); // copy resources except the java source folder List resourceList = workbenchModule.getResources(); List javaOutputPathList = new ArrayList(); for (int i = 0; i < resourceList.size(); i++) { ComponentResource wmr = (ComponentResource)resourceList.get(i); URI sourceURI = wmr.getSourcePath(); IPath sourcePath = new Path(sourceURI.toString()); IResource sourceResource = ModuleCore.getEclipseResource(wmr); if (sourceResource == null) continue; URI deployURI = wmr.getDeployedPath(); IPath deployPath = outputContainerPath.append(deployURI.toString()); // check if it is a java source folder if (javaSourceFolderList.contains(sourceResource)) { // check if there are nested java output paths. if so, abort. for (int j = 0; j < javaOutputPathList.size(); j++) { IPath path = (IPath)javaOutputPathList.get(j); if (path.isPrefixOf(deployPath) || deployPath.isPrefixOf(path)) { // add a problem marker IResource wtpmoduleFile = project.findMember(".wtpmodules"); //$NON-NLS-1$ wtpmoduleFile.deleteMarkers(IMarker.PROBLEM, true, IResource.DEPTH_INFINITE); IMarker m = wtpmoduleFile.createMarker(IMarker.PROBLEM); String msg = J2EEPluginResourceHandler.getString("NESTED_JAVA_OUTPUT_ERROR"); //$NON-NLS-1$ m.setAttribute(IMarker.MESSAGE, msg); m.setAttribute(IMarker.SEVERITY,IMarker.SEVERITY_ERROR); return; } } // add deployPath to list javaOutputPathList.add(deployPath); continue; } // create parent folders for deploy folder if not exist IPath parentPath = deployPath.removeLastSegments(1); createFolder(parentPath); DeployableModuleBuilder.smartCopy(sourceResource, deployPath, new NullProgressMonitor()); } // set Java specific output path, do it after resource copy IClasspathEntry[] cpe = javaProj.getRawClasspath(); boolean classpathModified = false; for (int i = 0; i < resourceList.size(); i++) { ComponentResource wmr = (ComponentResource)resourceList.get(i); URI sourceURI = wmr.getSourcePath(); IPath sourcePath = new Path(sourceURI.toString()); IResource sourceResource = ModuleCore.getEclipseResource(wmr); // check if it is a java source folder if (javaSourceFolderList.contains(sourceResource)) { // get the classpath entry int index = -1; for (int j = 0; j < cpe.length; j++) { if (cpe[j].getPath().equals(sourcePath)) { index = j; break; } } URI deployURI = wmr.getDeployedPath(); IPath classFilesPath = outputContainerPath.append(deployURI.toString()); // check if the classpath is modified. Use relative path to avoid // the problem that drive letter could be upper or lower case IPath relativeClassFilesPath = classFilesPath.makeRelative(); IPath oldClassFilesPath = ((ClasspathEntry)cpe[index]).specificOutputLocation; IPath oldRelativeClassFilesPath = null; if (oldClassFilesPath != null) oldRelativeClassFilesPath = oldClassFilesPath.makeRelative(); if (!relativeClassFilesPath.equals(oldRelativeClassFilesPath)) { ((ClasspathEntry)cpe[index]).specificOutputLocation = classFilesPath; classpathModified = true; } createFolder(classFilesPath); } } // update classpath only when it is modified if (classpathModified) javaProj.setRawClasspath(cpe, new NullProgressMonitor()); }
|
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/ab87654d41ba3a2ee65ef1ba54de6c88aaa401dc/JavaDeployableModuleBuilderOperation.java/clean/plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deployables/JavaDeployableModuleBuilderOperation.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1836,
12,
45,
5491,
7187,
6438,
13,
1216,
30015,
16,
15342,
16,
7558,
288,
202,
202,
759,
31981,
202,
202,
5852,
10015,
429,
3120,
1263,
26349,
27600,
273,
261,
5852,
10015,
429,
3120,
1263,
26349,
13,
1674,
26349,
31,
202,
202,
2421,
22144,
1841,
1440,
22144,
3120,
273,
261,
2421,
22144,
1841,
13,
892,
1488,
18,
588,
1396,
12,
10015,
429,
3120,
1263,
26349,
18,
10566,
38,
1157,
1792,
67,
12194,
1769,
9506,
202,
45,
4109,
1984,
273,
261,
45,
4109,
13,
892,
1488,
18,
588,
1396,
12,
10015,
429,
3120,
1263,
26349,
18,
17147,
1769,
202,
202,
45,
743,
1984,
743,
273,
1984,
18,
588,
24173,
5621,
202,
202,
45,
5852,
4109,
2252,
626,
78,
273,
5420,
11864,
18,
588,
5852,
4109,
12,
4406,
1769,
202,
202,
682,
2252,
1830,
3899,
682,
273,
5420,
11864,
18,
588,
1830,
11177,
12,
4406,
1769,
9506,
202,
759,
752,
876,
1478,
3009,
309,
518,
1552,
486,
1005,
202,
202,
45,
3899,
876,
2170,
273,
261,
45,
3899,
13,
892,
1488,
18,
588,
1396,
12,
10015,
429,
3120,
1263,
26349,
18,
15527,
67,
21395,
1769,
202,
202,
430,
12,
5,
2844,
2170,
18,
1808,
10756,
1082,
202,
2640,
3899,
12,
2844,
2170,
1769,
9506,
202,
45,
743,
876,
2170,
743,
273,
876,
2170,
18,
588,
24173,
5621,
202,
202,
759,
1610,
2703,
1335,
326,
2252,
1084,
3009,
202,
202,
682,
1058,
682,
273,
1440,
22144,
3120,
18,
588,
3805,
5621,
202,
202,
682,
2252,
1447,
743,
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,
1117,
918,
1836,
12,
45,
5491,
7187,
6438,
13,
1216,
30015,
16,
15342,
16,
7558,
288,
202,
202,
759,
31981,
202,
202,
5852,
10015,
429,
3120,
1263,
26349,
27600,
273,
261,
5852,
10015,
429,
3120,
1263,
26349,
13,
1674,
26349,
31,
202,
202,
2421,
22144,
1841,
1440,
22144,
3120,
273,
261,
2421,
22144,
1841,
13,
892,
1488,
18,
588,
1396,
12,
10015,
429,
3120,
1263,
26349,
18,
10566,
38,
1157,
1792,
67,
12194,
1769,
9506,
202,
45,
4109,
1984,
273,
261,
45,
4109,
13,
892,
1488,
18,
588,
1396,
12,
10015,
429,
3120,
1263,
26349,
18,
17147,
1769,
202,
202,
45,
743,
1984,
743,
273,
1984,
18,
588,
24173,
5621,
202,
202,
45,
5852,
4109,
2252,
626,
2
] |
public ContextConfig(int contextType, String key, boolean testIgnoreInternalKeyValidity) {
|
public ContextConfig(int contextType, int sessionScope, String key, boolean testIgnoreInternalKeyValidity) {
|
public ContextConfig(int contextType, String key, boolean testIgnoreInternalKeyValidity) { this.contextType = contextType; this.key = key; this.testIgnoreStoredKeyValidity = testIgnoreInternalKeyValidity; }
|
10097 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10097/7d5f64cdd8f43075e248143706be45d2af32ca88/ScopeProcessorBase.java/clean/src/java/org/orbeon/oxf/processor/scope/ScopeProcessorBase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1772,
809,
12,
474,
819,
559,
16,
509,
1339,
3876,
16,
514,
498,
16,
1250,
1842,
3777,
3061,
653,
19678,
13,
288,
5411,
333,
18,
2472,
559,
273,
819,
559,
31,
5411,
333,
18,
856,
273,
498,
31,
5411,
333,
18,
3813,
3777,
18005,
653,
19678,
273,
1842,
3777,
3061,
653,
19678,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1772,
809,
12,
474,
819,
559,
16,
509,
1339,
3876,
16,
514,
498,
16,
1250,
1842,
3777,
3061,
653,
19678,
13,
288,
5411,
333,
18,
2472,
559,
273,
819,
559,
31,
5411,
333,
18,
856,
273,
498,
31,
5411,
333,
18,
3813,
3777,
18005,
653,
19678,
273,
1842,
3777,
3061,
653,
19678,
31,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
updateStatus(status); }
|
updateStatus(status); }
|
public void statusChanged(IStatus status) { updateStatus(status); }
|
13558 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13558/0a278a597c957978712543bb3c20a14793007347/JavaCapabilityConfigurationPage.java/clean/org.eclipse.ajdt.ui/src31/org/eclipse/ajdt/buildconfigurator/propertypage/JavaCapabilityConfigurationPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1267,
5033,
12,
45,
1482,
1267,
13,
288,
9506,
202,
2725,
1482,
12,
2327,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1267,
5033,
12,
45,
1482,
1267,
13,
288,
9506,
202,
2725,
1482,
12,
2327,
1769,
1082,
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
] |
protected void fillFields(byte [] data, short size, int offset)
|
protected void fillFields(RecordInputStream in)
|
protected void fillFields(byte [] data, short size, int offset) { int pos = 0; field_1_barSpace = LittleEndian.getShort(data, pos + 0x0 + offset); field_2_categorySpace = LittleEndian.getShort(data, pos + 0x2 + offset); field_3_formatFlags = LittleEndian.getShort(data, pos + 0x4 + offset); }
|
509 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/509/ada69333b277a95ccfc608144b991cfd8d1a9d37/BarRecord.java/clean/src/java/org/apache/poi/hssf/record/BarRecord.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
3636,
2314,
12,
2115,
4348,
316,
13,
565,
288,
3639,
509,
949,
273,
374,
31,
3639,
652,
67,
21,
67,
3215,
3819,
9079,
273,
11567,
18,
588,
4897,
12,
892,
16,
949,
397,
374,
92,
20,
397,
1384,
1769,
3639,
652,
67,
22,
67,
4743,
3819,
1850,
273,
11567,
18,
588,
4897,
12,
892,
16,
949,
397,
374,
92,
22,
397,
1384,
1769,
3639,
652,
67,
23,
67,
2139,
5094,
5411,
273,
11567,
18,
588,
4897,
12,
892,
16,
949,
397,
374,
92,
24,
397,
1384,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
3636,
2314,
12,
2115,
4348,
316,
13,
565,
288,
3639,
509,
949,
273,
374,
31,
3639,
652,
67,
21,
67,
3215,
3819,
9079,
273,
11567,
18,
588,
4897,
12,
892,
16,
949,
397,
374,
92,
20,
397,
1384,
1769,
3639,
652,
67,
22,
67,
4743,
3819,
1850,
273,
11567,
18,
588,
4897,
12,
892,
16,
949,
397,
374,
92,
22,
397,
1384,
1769,
3639,
652,
67,
23,
67,
2139,
5094,
5411,
273,
11567,
18,
588,
4897,
12,
892,
16,
949,
397,
374,
92,
24,
397,
1384,
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
] |
return currentTimeEvent.getTime();
|
return currentTimeEvent.getTime();
|
public MicroSecondTimeRange getTime(){ return currentTimeEvent.getTime(); }
|
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/4236b987f900c68220ab7eb8e1eeb16ab80a1997/BasicSeismogramDisplay.java/buggy/src/edu/sc/seis/fissuresUtil/display/BasicSeismogramDisplay.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
18284,
8211,
950,
2655,
6135,
1435,
95,
202,
2463,
6680,
1133,
18,
588,
950,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
18284,
8211,
950,
2655,
6135,
1435,
95,
202,
2463,
6680,
1133,
18,
588,
950,
5621,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.