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
public String getValue(Name name)
public String getValue(String name)
public String getValue(Name name) { return (String) get(name); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/354ad8e724c65b6b6984f632455ce4b17f1fb1d0/Attributes.java/buggy/core/src/classpath/java/java/util/jar/Attributes.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 2366, 12, 780, 508, 13, 225, 288, 565, 327, 261, 780, 13, 336, 12, 529, 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, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 2366, 12, 780, 508, 13, 225, 288, 565, 327, 261, 780, 13, 336, 12, 529, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
buf.append("strictfp ");
buf.append("strictfp ");
public static void printModifiers(int modifiers, StringBuffer buf) { if (Modifier.isPublic(modifiers)) { buf.append("public ");//$NON-NLS-1$ } if (Modifier.isProtected(modifiers)) { buf.append("protected ");//$NON-NLS-1$ } if (Modifier.isPrivate(modifiers)) { buf.append("private ");//$NON-NLS-1$ } if (Modifier.isStatic(modifiers)) { buf.append("static ");//$NON-NLS-1$ } if (Modifier.isAbstract(modifiers)) { buf.append("abstract ");//$NON-NLS-1$ } if (Modifier.isFinal(modifiers)) { buf.append("final ");//$NON-NLS-1$ } if (Modifier.isSynchronized(modifiers)) { buf.append("synchronized ");//$NON-NLS-1$ } if (Modifier.isVolatile(modifiers)) { buf.append("volatile ");//$NON-NLS-1$ } if (Modifier.isNative(modifiers)) { buf.append("native ");//$NON-NLS-1$ } if (Modifier.isStrictfp(modifiers)) { buf.append("strictfp ");//$NON-NLS-1$ } if (Modifier.isTransient(modifiers)) { buf.append("transient ");//$NON-NLS-1$ } }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/55fd6f0ce17c40272dc9c0a57c6214356efd6f4c/ASTFlattener.java/clean/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 1172, 11948, 12, 474, 10429, 16, 6674, 1681, 13, 288, 202, 202, 430, 261, 9829, 18, 291, 4782, 12, 15432, 3719, 288, 1082, 202, 4385, 18, 6923, 2932, 482, 315, 1769, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 430, 261, 9829, 18, 291, 15933, 12, 15432, 3719, 288, 1082, 202, 4385, 18, 6923, 2932, 1117, 315, 1769, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 430, 261, 9829, 18, 291, 6014, 12, 15432, 3719, 288, 1082, 202, 4385, 18, 6923, 2932, 1152, 315, 1769, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 430, 261, 9829, 18, 291, 5788, 12, 15432, 3719, 288, 1082, 202, 4385, 18, 6923, 2932, 3845, 315, 1769, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 430, 261, 9829, 18, 291, 7469, 12, 15432, 3719, 288, 1082, 202, 4385, 18, 6923, 2932, 17801, 315, 1769, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 430, 261, 9829, 18, 291, 7951, 12, 15432, 3719, 288, 1082, 202, 4385, 18, 6923, 2932, 6385, 315, 1769, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 430, 261, 9829, 18, 291, 55, 15666, 12, 15432, 3719, 288, 1082, 202, 4385, 18, 6923, 2932, 22043, 315, 1769, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 430, 261, 9829, 18, 291, 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, 1172, 11948, 12, 474, 10429, 16, 6674, 1681, 13, 288, 202, 202, 430, 261, 9829, 18, 291, 4782, 12, 15432, 3719, 288, 1082, 202, 4385, 18, 6923, 2932, 482, 315, 1769, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 430, 261, 9829, 18, 291, 15933, 12, 15432, 3719, 288, 1082, 202, 4385, 18, 6923, 2932, 1117, 315, 1769, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 430, 261, 9829, 18, 291, 6014, 12, 15432, 3719, 288, 1082, 202, 4385, 18, 6923, 2932, 1152, 315, 1769, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 430, 261, 9829, 18, 291, 5788, 2 ]
if (last >= limitLast)
if (last >= limitLast) {
private void getAndMoveToFrontDecode() { char yy[] = new char[256]; int i, j, nextSym, limitLast; int EOB, groupNo, groupPos; limitLast = baseBlockSize * blockSize100k; origPtr = bsGetIntVS(24); recvDecodingTables(); EOB = nInUse+1; groupNo = -1; groupPos = 0; /* Setting up the unzftab entries here is not strictly necessary, but it does save having to do it later in a separate pass, and so saves a block's worth of cache misses. */ for (i = 0; i <= 255; i++) unzftab[i] = 0; for (i = 0; i <= 255; i++) yy[i] = (char) i; last = -1; { int zt, zn, zvec, zj; if (groupPos == 0) { groupNo++; groupPos = G_SIZE; } groupPos--; zt = selector[groupNo]; zn = minLens[zt]; zvec = bsR(zn); while (zvec > limit[zt][zn]) { zn++; { { while (bsLive < 1) { int zzi; char thech = 0; try { thech = (char)bsStream.read(); } catch(IOException e) { compressedStreamEOF(); } if(thech == -1) { compressedStreamEOF(); } zzi = thech; bsBuff = (bsBuff << 8) | (zzi & 0xff); bsLive += 8; } } zj = (bsBuff >> (bsLive-1)) & 1; bsLive--; } zvec = (zvec << 1) | zj; } nextSym = perm[zt][zvec - base[zt][zn]]; } while(true) { if (nextSym == EOB) break; if (nextSym == RUNA || nextSym == RUNB) { char ch; int s = -1; int N = 1; do { if (nextSym == RUNA) s = s + (0+1) * N; else if (nextSym == RUNB) s = s + (1+1) * N; N = N * 2; { int zt, zn, zvec, zj; if (groupPos == 0) { groupNo++; groupPos = G_SIZE; } groupPos--; zt = selector[groupNo]; zn = minLens[zt]; zvec = bsR(zn); while (zvec > limit[zt][zn]) { zn++; { { while (bsLive < 1) { int zzi; char thech = 0; try { thech = (char)bsStream.read(); } catch(IOException e) { compressedStreamEOF(); } if(thech == -1) { compressedStreamEOF(); } zzi = thech; bsBuff = (bsBuff << 8) | (zzi & 0xff); bsLive += 8; } } zj = (bsBuff >> (bsLive-1)) & 1; bsLive--; } zvec = (zvec << 1) | zj; }; nextSym = perm[zt][zvec - base[zt][zn]]; } } while (nextSym == RUNA || nextSym == RUNB); s++; ch = seqToUnseq[yy[0]]; unzftab[ch] += s; while (s > 0) { last++; ll8[last] = ch; s--; }; if (last >= limitLast) blockOverrun(); continue; } else { char tmp; last++; if (last >= limitLast) blockOverrun(); tmp = yy[nextSym-1]; unzftab[seqToUnseq[tmp]]++; ll8[last] = seqToUnseq[tmp]; /* This loop is hammered during decompression, hence the unrolling. for (j = nextSym-1; j > 0; j--) yy[j] = yy[j-1]; */ j = nextSym-1; for (; j > 3; j -= 4) { yy[j] = yy[j-1]; yy[j-1] = yy[j-2]; yy[j-2] = yy[j-3]; yy[j-3] = yy[j-4]; } for (; j > 0; j--) yy[j] = yy[j-1]; yy[0] = tmp; { int zt, zn, zvec, zj; if (groupPos == 0) { groupNo++; groupPos = G_SIZE; } groupPos--; zt = selector[groupNo]; zn = minLens[zt]; zvec = bsR(zn); while (zvec > limit[zt][zn]) { zn++; { { while (bsLive < 1) { int zzi; char thech = 0; try { thech = (char)bsStream.read(); } catch(IOException e) { compressedStreamEOF(); } zzi = thech; bsBuff = (bsBuff << 8) | (zzi & 0xff); bsLive += 8; } } zj = (bsBuff >> (bsLive-1)) & 1; bsLive--; } zvec = (zvec << 1) | zj; }; nextSym = perm[zt][zvec - base[zt][zn]]; } continue; } } }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/e3b6d1fe768d87352d3d0348638911045fc4668e/CBZip2InputStream.java/clean/src/main/org/apache/tools/bzip2/CBZip2InputStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 22909, 7607, 774, 9580, 6615, 1435, 288, 3639, 1149, 9016, 8526, 273, 394, 1149, 63, 5034, 15533, 3639, 509, 277, 16, 525, 16, 1024, 11901, 16, 1800, 3024, 31, 3639, 509, 512, 5704, 16, 1041, 2279, 16, 1041, 1616, 31, 3639, 1800, 3024, 273, 1026, 22506, 380, 13766, 6625, 79, 31, 3639, 1647, 5263, 273, 7081, 29545, 14640, 12, 3247, 1769, 3639, 10665, 1799, 4751, 6905, 5621, 3639, 512, 5704, 273, 290, 15435, 15, 21, 31, 3639, 1041, 2279, 273, 300, 21, 31, 3639, 1041, 1616, 273, 374, 31, 3639, 1748, 1850, 13274, 731, 326, 640, 94, 1222, 378, 3222, 2674, 353, 486, 23457, 1850, 4573, 16, 1496, 518, 1552, 1923, 7999, 358, 741, 518, 5137, 1850, 316, 279, 9004, 1342, 16, 471, 1427, 14649, 279, 1203, 1807, 26247, 434, 1850, 1247, 12543, 281, 18, 3639, 1195, 3639, 364, 261, 77, 273, 374, 31, 277, 1648, 4561, 31, 277, 27245, 5411, 640, 94, 1222, 378, 63, 77, 65, 273, 374, 31, 3639, 364, 261, 77, 273, 374, 31, 277, 1648, 4561, 31, 277, 27245, 5411, 9016, 63, 77, 65, 273, 261, 3001, 13, 277, 31, 3639, 1142, 273, 300, 21, 31, 3639, 288, 5411, 509, 998, 88, 16, 998, 82, 16, 998, 8799, 16, 998, 78, 31, 5411, 309, 261, 1655, 1616, 422, 374, 13, 288, 7734, 1041, 2279, 9904, 31, 7734, 1041, 1616, 273, 611, 67, 4574, 31, 5411, 289, 5411, 1041, 1616, 413, 31, 5411, 998, 88, 273, 3451, 63, 1655, 2279, 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, 22909, 7607, 774, 9580, 6615, 1435, 288, 3639, 1149, 9016, 8526, 273, 394, 1149, 63, 5034, 15533, 3639, 509, 277, 16, 525, 16, 1024, 11901, 16, 1800, 3024, 31, 3639, 509, 512, 5704, 16, 1041, 2279, 16, 1041, 1616, 31, 3639, 1800, 3024, 273, 1026, 22506, 380, 13766, 6625, 79, 31, 3639, 1647, 5263, 273, 7081, 29545, 14640, 12, 3247, 1769, 3639, 10665, 1799, 4751, 6905, 5621, 3639, 512, 5704, 273, 290, 15435, 15, 21, 31, 3639, 1041, 2279, 273, 300, 21, 31, 3639, 1041, 1616, 273, 374, 31, 3639, 1748, 1850, 13274, 731, 326, 640, 94, 1222, 378, 3222, 2674, 353, 486, 23457, 1850, 4573, 16, 1496, 518, 1552, 1923, 7999, 358, 741, 518, 5137, 2 ]
helpListener = listener; }
helpListener = listener; }
public void setHelpListener(HelpListener listener) { helpListener = listener;}
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/a803b1cab75d4557a59d39831eed86f5066a9020/Action.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/action/Action.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 444, 6696, 2223, 12, 6696, 2223, 2991, 13, 288, 202, 5201, 2223, 273, 2991, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 444, 6696, 2223, 12, 6696, 2223, 2991, 13, 288, 202, 5201, 2223, 273, 2991, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
printOpt(O_T, 2);
protected void usage(ParseException e) { if (e != null) { System.err.println("Error parsing command line arguments: " + e.getMessage()); } System.out.println(getCommandUsage()); printOpt(O_A, 0); printOpt(O_N, 2); printOpt(O_T, 2); printOpt(O_P, 2);// printOpt(O_FB, 2);// printOpt(O_FGB, 2);// printOpt(O_MB, 2);// printOpt(O_MGB, 2); printOpt(O_C, 2); printOpt(O_CT, 2); printOpt(O_E, 0); printOpt(O_ID, 2); System.out.println(" any of the options listed under -a can also be specified " ); System.out.println(" to have its value modified."); printOpt(O_D, 0); printOpt(O_ID, 2); printOpt(O_L, 0); printOpt(O_ID, 2); System.out.println(" -id is optional."); printOpt(O_DC, 0); printOpt(O_SC, 0); printOpt(O_ID, 2); printOpt(O_T, 2); printOpt(O_TS, 0); }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/2e348c30ac6acdb6dc5c517a1a9c0ad86e4a4ec4/VolumeUtil.java/clean/ZimbraServer/src/java/com/zimbra/cs/store/VolumeUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 4084, 12, 13047, 425, 13, 288, 3639, 309, 261, 73, 480, 446, 13, 288, 5411, 2332, 18, 370, 18, 8222, 2932, 668, 5811, 1296, 980, 1775, 30, 315, 397, 425, 18, 24906, 10663, 3639, 289, 3639, 2332, 18, 659, 18, 8222, 12, 588, 2189, 5357, 10663, 3639, 1172, 6179, 12, 51, 67, 37, 16, 374, 1769, 3639, 1172, 6179, 12, 51, 67, 50, 16, 576, 1769, 9079, 1172, 6179, 12, 51, 67, 52, 16, 576, 1769, 759, 3639, 1172, 6179, 12, 51, 67, 22201, 16, 576, 1769, 759, 3639, 1172, 6179, 12, 51, 67, 42, 5887, 16, 576, 1769, 759, 3639, 1172, 6179, 12, 51, 67, 7969, 16, 576, 1769, 759, 3639, 1172, 6179, 12, 51, 67, 49, 5887, 16, 576, 1769, 3639, 1172, 6179, 12, 51, 67, 39, 16, 576, 1769, 3639, 1172, 6179, 12, 51, 67, 1268, 16, 576, 1769, 3639, 1172, 6179, 12, 51, 67, 41, 16, 374, 1769, 3639, 1172, 6179, 12, 51, 67, 734, 16, 576, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 225, 1281, 434, 326, 702, 12889, 3613, 300, 69, 848, 2546, 506, 1269, 315, 11272, 3639, 2332, 18, 659, 18, 8222, 2932, 225, 358, 1240, 2097, 460, 4358, 1199, 1769, 3639, 1172, 6179, 12, 51, 67, 40, 16, 374, 1769, 3639, 1172, 6179, 12, 51, 67, 734, 16, 576, 1769, 3639, 1172, 6179, 12, 51, 67, 48, 16, 374, 1769, 3639, 1172, 6179, 12, 51, 67, 734, 16, 576, 1769, 3639, 2332, 18, 659, 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, 4750, 918, 4084, 12, 13047, 425, 13, 288, 3639, 309, 261, 73, 480, 446, 13, 288, 5411, 2332, 18, 370, 18, 8222, 2932, 668, 5811, 1296, 980, 1775, 30, 315, 397, 425, 18, 24906, 10663, 3639, 289, 3639, 2332, 18, 659, 18, 8222, 12, 588, 2189, 5357, 10663, 3639, 1172, 6179, 12, 51, 67, 37, 16, 374, 1769, 3639, 1172, 6179, 12, 51, 67, 50, 16, 576, 1769, 9079, 1172, 6179, 12, 51, 67, 52, 16, 576, 1769, 759, 3639, 1172, 6179, 12, 51, 67, 22201, 16, 576, 1769, 759, 3639, 1172, 6179, 12, 51, 67, 42, 5887, 16, 576, 1769, 759, 3639, 1172, 6179, 12, 51, 67, 7969, 16, 576, 1769, 759, 3639, 1172, 6179, 12, 51, 2 ]
new GuiConsole(new Scheme());
Interpreter interp = new Scheme(); Environment.setCurrent(Scheme.builtin()); new GuiConsole(interp);
public static void main(String[] args) { new GuiConsole(new Scheme()); }
41089 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41089/f7b63858d28188089943d28aadfcba4d75c773a4/GuiConsole.java/clean/kawa/GuiConsole.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 565, 5294, 11599, 8174, 273, 394, 10714, 5621, 7518, 18, 542, 3935, 12, 9321, 18, 24553, 10663, 394, 611, 4881, 10215, 12, 24940, 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, 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9321, 18, 24553, 10663, 394, 611, 4881, 10215, 12, 24940, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return PreferenceConverter.getDefaultFontDataArray(getPreferenceStore(), definition.getId());
return PreferenceConverter.getDefaultFontDataArray(getPreferenceStore(), ThemeElementHelper.createPreferenceKey(currentTheme, definition.getId()));
private FontData[] getFontAncestorValue(FontDefinition definition) { FontDefinition ancestor = getFontAncestor(definition); if (ancestor == null) return PreferenceConverter.getDefaultFontDataArray(getPreferenceStore(), definition.getId()); return getFontValue(ancestor); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/352be4e63be38d208b46cfef0531abad90714913/ColorsAndFontsPreferencePage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/themes/ColorsAndFontsPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 10063, 751, 8526, 18776, 15637, 620, 12, 5711, 1852, 2379, 13, 288, 202, 202, 5711, 1852, 9731, 273, 18776, 15637, 12, 6907, 1769, 202, 202, 430, 261, 28798, 422, 446, 13, 1082, 202, 2463, 29125, 5072, 18, 588, 1868, 5711, 751, 1076, 12, 588, 9624, 2257, 9334, 2379, 18, 26321, 10663, 202, 202, 2463, 18776, 620, 12, 28798, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 10063, 751, 8526, 18776, 15637, 620, 12, 5711, 1852, 2379, 13, 288, 202, 202, 5711, 1852, 9731, 273, 18776, 15637, 12, 6907, 1769, 202, 202, 430, 261, 28798, 422, 446, 13, 1082, 202, 2463, 29125, 5072, 18, 588, 1868, 5711, 751, 1076, 12, 588, 9624, 2257, 9334, 2379, 18, 26321, 10663, 202, 202, 2463, 18776, 620, 12, 28798, 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 ]
fdlNrLinesDocHeader.left = new FormAttachment(wNrLinesPerPage, margin); fdlNrLinesDocHeader.top = new FormAttachment(wWraps, margin);
fdlNrLinesDocHeader.left = new FormAttachment(wLayoutPaged, margin); fdlNrLinesDocHeader.top = new FormAttachment(wNrLinesPerPage, margin);
private void addContentTab() { ////////////////////////// // START OF CONTENT TAB/// /// wContentTab=new CTabItem(wTabFolder, SWT.NONE); wContentTab.setText("Content"); FormLayout contentLayout = new FormLayout (); contentLayout.marginWidth = 3; contentLayout.marginHeight = 3; wContentComp = new Composite(wTabFolder, SWT.NONE); props.setLook(wContentComp); wContentComp.setLayout(contentLayout); // Filetype line wlFiletype=new Label(wContentComp, SWT.RIGHT); wlFiletype.setText("Filetype "); props.setLook(wlFiletype); fdlFiletype=new FormData(); fdlFiletype.left = new FormAttachment(0, 0); fdlFiletype.top = new FormAttachment(0, 0); fdlFiletype.right= new FormAttachment(middle, -margin); wlFiletype.setLayoutData(fdlFiletype); wFiletype=new CCombo(wContentComp, SWT.BORDER | SWT.READ_ONLY); wFiletype.setText("Filetype"); props.setLook(wFiletype); wFiletype.add("CSV"); wFiletype.add("Fixed"); wFiletype.select(0); wFiletype.addModifyListener(lsMod); fdFiletype=new FormData(); fdFiletype.left = new FormAttachment(middle, 0); fdFiletype.top = new FormAttachment(0, 0); fdFiletype.right= new FormAttachment(100, 0); wFiletype.setLayoutData(fdFiletype); wlSeparator=new Label(wContentComp, SWT.RIGHT); wlSeparator.setText("Separator "); props.setLook(wlSeparator); fdlSeparator=new FormData(); fdlSeparator.left = new FormAttachment(0, 0); fdlSeparator.top = new FormAttachment(wFiletype, margin); fdlSeparator.right= new FormAttachment(middle, -margin); wlSeparator.setLayoutData(fdlSeparator); wbSeparator=new Button(wContentComp, SWT.PUSH| SWT.CENTER); props.setLook(wbSeparator); wbSeparator.setText("Insert &TAB"); fdbSeparator=new FormData(); fdbSeparator.right= new FormAttachment(100, 0); fdbSeparator.top = new FormAttachment(wFiletype, 0); wbSeparator.setLayoutData(fdbSeparator); wSeparator=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER); props.setLook(wSeparator); wSeparator.addModifyListener(lsMod); fdSeparator=new FormData(); fdSeparator.left = new FormAttachment(middle, 0); fdSeparator.top = new FormAttachment(wFiletype, margin); fdSeparator.right= new FormAttachment(wbSeparator, -margin); wSeparator.setLayoutData(fdSeparator); // Enclosure wlEnclosure=new Label(wContentComp, SWT.RIGHT); wlEnclosure.setText("Enclosure "); props.setLook(wlEnclosure); fdlEnclosure=new FormData(); fdlEnclosure.left = new FormAttachment(0, 0); fdlEnclosure.top = new FormAttachment(wSeparator, margin); fdlEnclosure.right= new FormAttachment(middle, -margin); wlEnclosure.setLayoutData(fdlEnclosure); wEnclosure=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER); props.setLook(wEnclosure); wEnclosure.addModifyListener(lsMod); fdEnclosure=new FormData(); fdEnclosure.left = new FormAttachment(middle, 0); fdEnclosure.top = new FormAttachment(wSeparator, margin); fdEnclosure.right= new FormAttachment(100, 0); wEnclosure.setLayoutData(fdEnclosure); // Allow Enclosure breaks checkbox wlEnclBreaks=new Label(wContentComp, SWT.RIGHT); wlEnclBreaks.setText("Allow breaks in enclosed fields?"); props.setLook(wlEnclBreaks); fdlEnclBreaks=new FormData(); fdlEnclBreaks.left = new FormAttachment(0, 0); fdlEnclBreaks.top = new FormAttachment(wEnclosure, margin); fdlEnclBreaks.right= new FormAttachment(middle, -margin); wlEnclBreaks.setLayoutData(fdlEnclBreaks); wEnclBreaks=new Button(wContentComp, SWT.CHECK); props.setLook(wEnclBreaks); fdEnclBreaks=new FormData(); fdEnclBreaks.left = new FormAttachment(middle, 0); fdEnclBreaks.top = new FormAttachment(wEnclosure, margin); wEnclBreaks.setLayoutData(fdEnclBreaks); // Disable until the logic works... wlEnclBreaks.setEnabled(false); wEnclBreaks.setEnabled(false); // Escape wlEscape=new Label(wContentComp, SWT.RIGHT); wlEscape.setText("Escape "); props.setLook(wlEscape); fdlEscape=new FormData(); fdlEscape.left = new FormAttachment(0, 0); fdlEscape.top = new FormAttachment(wlEnclBreaks, margin); fdlEscape.right= new FormAttachment(middle, -margin); wlEscape.setLayoutData(fdlEscape); wEscape=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER); props.setLook(wEscape); wEscape.addModifyListener(lsMod); fdEscape=new FormData(); fdEscape.left = new FormAttachment(middle, 0); fdEscape.top = new FormAttachment(wlEnclBreaks, margin); fdEscape.right= new FormAttachment(100, 0); wEscape.setLayoutData(fdEscape); // Header checkbox wlHeader=new Label(wContentComp, SWT.RIGHT); wlHeader.setText("Header "); props.setLook(wlHeader); fdlHeader=new FormData(); fdlHeader.left = new FormAttachment(0, 0); fdlHeader.top = new FormAttachment(wEscape, margin); fdlHeader.right= new FormAttachment(middle, -margin); wlHeader.setLayoutData(fdlHeader); wHeader=new Button(wContentComp, SWT.CHECK); props.setLook(wHeader); fdHeader=new FormData(); fdHeader.left = new FormAttachment(middle, 0); fdHeader.top = new FormAttachment(wEscape, margin); wHeader.setLayoutData(fdHeader); // NrHeader wlNrHeader=new Label(wContentComp, SWT.RIGHT); wlNrHeader.setText("Number of header lines"); props.setLook(wlNrHeader); fdlNrHeader=new FormData(); fdlNrHeader.left = new FormAttachment(wHeader, margin); fdlNrHeader.top = new FormAttachment(wEscape, margin); wlNrHeader.setLayoutData(fdlNrHeader); wNrHeader=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER); wNrHeader.setTextLimit(3); props.setLook(wNrHeader); wNrHeader.addModifyListener(lsMod); fdNrHeader=new FormData(); fdNrHeader.left = new FormAttachment(wlNrHeader, margin); fdNrHeader.top = new FormAttachment(wEscape, margin); wNrHeader.setLayoutData(fdNrHeader); wlFooter=new Label(wContentComp, SWT.RIGHT); wlFooter.setText("Footer "); props.setLook(wlFooter); fdlFooter=new FormData(); fdlFooter.left = new FormAttachment(0, 0); fdlFooter.top = new FormAttachment(wHeader, margin); fdlFooter.right= new FormAttachment(middle, -margin); wlFooter.setLayoutData(fdlFooter); wFooter=new Button(wContentComp, SWT.CHECK); props.setLook(wFooter); fdFooter=new FormData(); fdFooter.left = new FormAttachment(middle, 0); fdFooter.top = new FormAttachment(wHeader, margin); wFooter.setLayoutData(fdFooter); // NrFooter wlNrFooter=new Label(wContentComp, SWT.RIGHT); wlNrFooter.setText("Number of footer lines"); props.setLook(wlNrFooter); fdlNrFooter=new FormData(); fdlNrFooter.left = new FormAttachment(wFooter, margin); fdlNrFooter.top = new FormAttachment(wHeader, margin); wlNrFooter.setLayoutData(fdlNrFooter); wNrFooter=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER); wNrFooter.setTextLimit(3); props.setLook(wNrFooter); wNrFooter.addModifyListener(lsMod); fdNrFooter=new FormData(); fdNrFooter.left = new FormAttachment(wlNrFooter, margin); fdNrFooter.top = new FormAttachment(wHeader, margin); wNrFooter.setLayoutData(fdNrFooter); // Wraps wlWraps=new Label(wContentComp, SWT.RIGHT); wlWraps.setText("Wrapped lines?"); props.setLook(wlWraps); fdlWraps=new FormData(); fdlWraps.left = new FormAttachment(0, 0); fdlWraps.top = new FormAttachment(wFooter, margin); fdlWraps.right= new FormAttachment(middle, -margin); wlWraps.setLayoutData(fdlWraps); wWraps=new Button(wContentComp, SWT.CHECK); props.setLook(wWraps); fdWraps=new FormData(); fdWraps.left = new FormAttachment(middle, 0); fdWraps.top = new FormAttachment(wFooter, margin); wWraps.setLayoutData(fdWraps); // NrWraps wlNrWraps=new Label(wContentComp, SWT.RIGHT); wlNrWraps.setText("Number of times wrapped"); props.setLook(wlNrWraps); fdlNrWraps=new FormData(); fdlNrWraps.left = new FormAttachment(wWraps, margin); fdlNrWraps.top = new FormAttachment(wFooter, margin); wlNrWraps.setLayoutData(fdlNrWraps); wNrWraps=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER); wNrWraps.setTextLimit(3); props.setLook(wNrWraps); wNrWraps.addModifyListener(lsMod); fdNrWraps=new FormData(); fdNrWraps.left = new FormAttachment(wlNrWraps, margin); fdNrWraps.top = new FormAttachment(wFooter, margin); wNrWraps.setLayoutData(fdNrWraps); // Pages wlLayoutPaged=new Label(wContentComp, SWT.RIGHT); wlLayoutPaged.setText("Paged layout (printout)?"); props.setLook(wlLayoutPaged); fdlLayoutPaged=new FormData(); fdlLayoutPaged.left = new FormAttachment(0, 0); fdlLayoutPaged.top = new FormAttachment(wWraps, margin); fdlLayoutPaged.right= new FormAttachment(middle, -margin); wlLayoutPaged.setLayoutData(fdlLayoutPaged); wLayoutPaged=new Button(wContentComp, SWT.CHECK); props.setLook(wLayoutPaged); fdLayoutPaged=new FormData(); fdLayoutPaged.left = new FormAttachment(middle, 0); fdLayoutPaged.top = new FormAttachment(wWraps, margin); wLayoutPaged.setLayoutData(fdLayoutPaged); // Nr of lines per page wlNrLinesPerPage=new Label(wContentComp, SWT.RIGHT); wlNrLinesPerPage.setText("Number lines per page"); props.setLook(wlNrLinesPerPage); fdlNrLinesPerPage=new FormData(); fdlNrLinesPerPage.left = new FormAttachment(wLayoutPaged, margin); fdlNrLinesPerPage.top = new FormAttachment(wWraps, margin); wlNrLinesPerPage.setLayoutData(fdlNrLinesPerPage); wNrLinesPerPage=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER); wNrLinesPerPage.setTextLimit(3); props.setLook(wNrLinesPerPage); wNrLinesPerPage.addModifyListener(lsMod); fdNrLinesPerPage=new FormData(); fdNrLinesPerPage.left = new FormAttachment(wlNrLinesPerPage, margin); fdNrLinesPerPage.top = new FormAttachment(wWraps, margin); wNrLinesPerPage.setLayoutData(fdNrLinesPerPage); // NrPages wlNrLinesDocHeader=new Label(wContentComp, SWT.RIGHT); wlNrLinesDocHeader.setText("Document header lines "); props.setLook(wlNrLinesDocHeader); fdlNrLinesDocHeader=new FormData(); fdlNrLinesDocHeader.left = new FormAttachment(wNrLinesPerPage, margin); fdlNrLinesDocHeader.top = new FormAttachment(wWraps, margin); wlNrLinesDocHeader.setLayoutData(fdlNrLinesDocHeader); wNrLinesDocHeader=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER); wNrLinesDocHeader.setTextLimit(3); props.setLook(wNrLinesDocHeader); wNrLinesDocHeader.addModifyListener(lsMod); fdNrLinesDocHeader=new FormData(); fdNrLinesDocHeader.left = new FormAttachment(wlNrLinesDocHeader, margin); fdNrLinesDocHeader.top = new FormAttachment(wWraps, margin); wNrLinesDocHeader.setLayoutData(fdNrLinesDocHeader); // Zipped? wlZipped=new Label(wContentComp, SWT.RIGHT); wlZipped.setText("Zipped "); props.setLook(wlZipped); fdlZipped=new FormData(); fdlZipped.left = new FormAttachment(0, 0); fdlZipped.top = new FormAttachment(wNrLinesDocHeader, margin); fdlZipped.right= new FormAttachment(middle, -margin); wlZipped.setLayoutData(fdlZipped); wZipped=new Button(wContentComp, SWT.CHECK ); props.setLook(wZipped); wZipped.setToolTipText("Only the first entry in the archive is read!"); fdZipped=new FormData(); fdZipped.left = new FormAttachment(middle, 0); fdZipped.top = new FormAttachment(wNrLinesDocHeader, margin); fdZipped.right= new FormAttachment(100, 0); wZipped.setLayoutData(fdZipped); wlNoempty=new Label(wContentComp, SWT.RIGHT); wlNoempty.setText("No empty rows "); props.setLook(wlNoempty); fdlNoempty=new FormData(); fdlNoempty.left = new FormAttachment(0, 0); fdlNoempty.top = new FormAttachment(wZipped, margin); fdlNoempty.right= new FormAttachment(middle, -margin); wlNoempty.setLayoutData(fdlNoempty); wNoempty=new Button(wContentComp, SWT.CHECK ); props.setLook(wNoempty); wNoempty.setToolTipText("Check this to remove empty lines from the output rows."); fdNoempty=new FormData(); fdNoempty.left = new FormAttachment(middle, 0); fdNoempty.top = new FormAttachment(wZipped, margin); fdNoempty.right= new FormAttachment(100, 0); wNoempty.setLayoutData(fdNoempty); wlInclFilename=new Label(wContentComp, SWT.RIGHT); wlInclFilename.setText("Include filename in output? "); props.setLook(wlInclFilename); fdlInclFilename=new FormData(); fdlInclFilename.left = new FormAttachment(0, 0); fdlInclFilename.top = new FormAttachment(wNoempty, margin); fdlInclFilename.right= new FormAttachment(middle, -margin); wlInclFilename.setLayoutData(fdlInclFilename); wInclFilename=new Button(wContentComp, SWT.CHECK ); props.setLook(wInclFilename); wInclFilename.setToolTipText("Check this to add a field (String) containing the filename."); fdInclFilename=new FormData(); fdInclFilename.left = new FormAttachment(middle, 0); fdInclFilename.top = new FormAttachment(wNoempty, margin); wInclFilename.setLayoutData(fdInclFilename); wlInclFilenameField=new Label(wContentComp, SWT.LEFT); wlInclFilenameField.setText("Filename fieldname "); props.setLook(wlInclFilenameField); fdlInclFilenameField=new FormData(); fdlInclFilenameField.left = new FormAttachment(wInclFilename, margin); fdlInclFilenameField.top = new FormAttachment(wNoempty, margin); wlInclFilenameField.setLayoutData(fdlInclFilenameField); wInclFilenameField=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER); props.setLook(wInclFilenameField); wInclFilenameField.addModifyListener(lsMod); fdInclFilenameField=new FormData(); fdInclFilenameField.left = new FormAttachment(wlInclFilenameField, margin); fdInclFilenameField.top = new FormAttachment(wNoempty, margin); fdInclFilenameField.right= new FormAttachment(100, 0); wInclFilenameField.setLayoutData(fdInclFilenameField); wlInclRownum=new Label(wContentComp, SWT.RIGHT); wlInclRownum.setText("Rownum in output? "); props.setLook(wlInclRownum); fdlInclRownum=new FormData(); fdlInclRownum.left = new FormAttachment(0, 0); fdlInclRownum.top = new FormAttachment(wInclFilenameField, margin); fdlInclRownum.right= new FormAttachment(middle, -margin); wlInclRownum.setLayoutData(fdlInclRownum); wInclRownum=new Button(wContentComp, SWT.CHECK ); props.setLook(wInclRownum); wInclRownum.setToolTipText("Check this to add a field (String) containing the filename."); fdRownum=new FormData(); fdRownum.left = new FormAttachment(middle, 0); fdRownum.top = new FormAttachment(wInclFilenameField, margin); wInclRownum.setLayoutData(fdRownum); wlInclRownumField=new Label(wContentComp, SWT.RIGHT); wlInclRownumField.setText("Rownum fieldname "); props.setLook(wlInclRownumField); fdlInclRownumField=new FormData(); fdlInclRownumField.left = new FormAttachment(wInclRownum, margin); fdlInclRownumField.top = new FormAttachment(wInclFilenameField, margin); wlInclRownumField.setLayoutData(fdlInclRownumField); wInclRownumField=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER); props.setLook(wInclRownumField); wInclRownumField.addModifyListener(lsMod); fdInclRownumField=new FormData(); fdInclRownumField.left = new FormAttachment(wlInclRownumField, margin); fdInclRownumField.top = new FormAttachment(wInclFilenameField, margin); fdInclRownumField.right= new FormAttachment(100, 0); wInclRownumField.setLayoutData(fdInclRownumField); wlFormat=new Label(wContentComp, SWT.RIGHT); wlFormat.setText("Format "); props.setLook(wlFormat); fdlFormat=new FormData(); fdlFormat.left = new FormAttachment(0, 0); fdlFormat.top = new FormAttachment(wInclRownumField, margin); fdlFormat.right= new FormAttachment(middle, -margin); wlFormat.setLayoutData(fdlFormat); wFormat=new CCombo(wContentComp, SWT.BORDER | SWT.READ_ONLY); wFormat.setText("Format"); props.setLook(wFormat); wFormat.add("DOS"); wFormat.add("Unix"); wFormat.select(0); wFormat.addModifyListener(lsMod); fdFormat=new FormData(); fdFormat.left = new FormAttachment(middle, 0); fdFormat.top = new FormAttachment(wInclRownumField, margin); fdFormat.right= new FormAttachment(100, 0); wFormat.setLayoutData(fdFormat); wlEncoding=new Label(wContentComp, SWT.RIGHT); wlEncoding.setText("Encoding "); props.setLook(wlEncoding); fdlEncoding=new FormData(); fdlEncoding.left = new FormAttachment(0, 0); fdlEncoding.top = new FormAttachment(wFormat, margin); fdlEncoding.right= new FormAttachment(middle, -margin); wlEncoding.setLayoutData(fdlEncoding); wEncoding=new CCombo(wContentComp, SWT.BORDER | SWT.READ_ONLY); wEncoding.setEditable(true); props.setLook(wEncoding); wEncoding.addModifyListener(lsMod); fdEncoding=new FormData(); fdEncoding.left = new FormAttachment(middle, 0); fdEncoding.top = new FormAttachment(wFormat, margin); fdEncoding.right= new FormAttachment(100, 0); wEncoding.setLayoutData(fdEncoding); wEncoding.addFocusListener(new FocusListener() { public void focusLost(org.eclipse.swt.events.FocusEvent e) { } public void focusGained(org.eclipse.swt.events.FocusEvent e) { Cursor busy = new Cursor(shell.getDisplay(), SWT.CURSOR_WAIT); shell.setCursor(busy); setEncodings(); shell.setCursor(null); busy.dispose(); } } ); wlLimit=new Label(wContentComp, SWT.RIGHT); wlLimit.setText("Limit "); props.setLook(wlLimit); fdlLimit=new FormData(); fdlLimit.left = new FormAttachment(0, 0); fdlLimit.top = new FormAttachment(wEncoding, margin); fdlLimit.right= new FormAttachment(middle, -margin); wlLimit.setLayoutData(fdlLimit); wLimit=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER); props.setLook(wLimit); wLimit.addModifyListener(lsMod); fdLimit=new FormData(); fdLimit.left = new FormAttachment(middle, 0); fdLimit.top = new FormAttachment(wEncoding, margin); fdLimit.right= new FormAttachment(100, 0); wLimit.setLayoutData(fdLimit); // Date Lenient checkbox wlDateLenient=new Label(wContentComp, SWT.RIGHT); wlDateLenient.setText("Be lenient when parsing dates? "); props.setLook(wlDateLenient); fdlDateLenient=new FormData(); fdlDateLenient.left = new FormAttachment(0, 0); fdlDateLenient.top = new FormAttachment(wLimit, margin); fdlDateLenient.right= new FormAttachment(middle, -margin); wlDateLenient.setLayoutData(fdlDateLenient); wDateLenient=new Button(wContentComp, SWT.CHECK); wDateLenient.setToolTipText( "This means that we are lenient when parsing date Strings."+Const.CR+ "For example 32/01/2006 will be parsed as Feb 1st 2006."+Const.CR+ "If this option is off, these dates will generate an error." ); props.setLook(wDateLenient); fdDateLenient=new FormData(); fdDateLenient.left = new FormAttachment(middle, 0); fdDateLenient.top = new FormAttachment(wLimit, margin); wDateLenient.setLayoutData(fdDateLenient); fdContentComp = new FormData(); fdContentComp.left = new FormAttachment(0, 0); fdContentComp.top = new FormAttachment(0, 0); fdContentComp.right = new FormAttachment(100, 0); fdContentComp.bottom= new FormAttachment(100, 0); wContentComp.setLayoutData(fdContentComp); wContentComp.layout(); wContentTab.setControl(wContentComp); ///////////////////////////////////////////////////////////// /// END OF CONTENT TAB ///////////////////////////////////////////////////////////// }
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/0e271ffafd1338fc3af44ce23b5e2fe804708703/TextFileInputDialog.java/clean/src/be/ibridge/kettle/trans/step/textfileinput/TextFileInputDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 11170, 5661, 1435, 565, 288, 3639, 368, 25494, 3639, 368, 10485, 15932, 12577, 26158, 28111, 3639, 18378, 3639, 341, 1350, 5661, 33, 2704, 385, 5661, 1180, 12, 91, 5661, 3899, 16, 348, 8588, 18, 9826, 1769, 3639, 341, 1350, 5661, 18, 542, 1528, 2932, 1350, 8863, 3639, 2748, 3744, 913, 3744, 273, 394, 2748, 3744, 261, 1769, 3639, 913, 3744, 18, 10107, 2384, 225, 273, 890, 31, 3639, 913, 3744, 18, 10107, 2686, 273, 890, 31, 7734, 341, 1350, 2945, 273, 394, 14728, 12, 91, 5661, 3899, 16, 348, 8588, 18, 9826, 1769, 3639, 3458, 18, 542, 9794, 12, 91, 1350, 2945, 1769, 3639, 341, 1350, 2945, 18, 542, 3744, 12, 1745, 3744, 1769, 3639, 368, 478, 330, 5872, 980, 3639, 19564, 25579, 5872, 33, 2704, 5287, 12, 91, 1350, 2945, 16, 348, 8588, 18, 11847, 1769, 3639, 19564, 25579, 5872, 18, 542, 1528, 2932, 25579, 5872, 315, 1769, 3639, 3458, 18, 542, 9794, 12, 21504, 25579, 5872, 1769, 3639, 5194, 80, 25579, 5872, 33, 2704, 2748, 751, 5621, 3639, 5194, 80, 25579, 5872, 18, 4482, 273, 394, 2748, 6803, 12, 20, 16, 374, 1769, 3639, 5194, 80, 25579, 5872, 18, 3669, 225, 273, 394, 2748, 6803, 12, 20, 16, 374, 1769, 3639, 5194, 80, 25579, 5872, 18, 4083, 33, 394, 2748, 6803, 12, 18661, 16, 300, 10107, 1769, 3639, 19564, 25579, 5872, 18, 542, 3744, 751, 12, 74, 5761, 25579, 5872, 1769, 3639, 341, 25579, 5872, 33, 2704, 385, 16156, 12, 91, 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, 11170, 5661, 1435, 565, 288, 3639, 368, 25494, 3639, 368, 10485, 15932, 12577, 26158, 28111, 3639, 18378, 3639, 341, 1350, 5661, 33, 2704, 385, 5661, 1180, 12, 91, 5661, 3899, 16, 348, 8588, 18, 9826, 1769, 3639, 341, 1350, 5661, 18, 542, 1528, 2932, 1350, 8863, 3639, 2748, 3744, 913, 3744, 273, 394, 2748, 3744, 261, 1769, 3639, 913, 3744, 18, 10107, 2384, 225, 273, 890, 31, 3639, 913, 3744, 18, 10107, 2686, 273, 890, 31, 7734, 341, 1350, 2945, 273, 394, 14728, 12, 91, 5661, 3899, 16, 348, 8588, 18, 9826, 1769, 3639, 3458, 18, 542, 9794, 12, 91, 1350, 2945, 1769, 3639, 341, 1350, 2945, 18, 542, 3744, 12, 1745, 3744, 1769, 3639, 2 ]
if (fixedCellWidth != -1 && fixedCellHeight != -1)
if (fixedCellHeight != -1)
public Dimension getPreferredScrollableViewportSize() { int vis = getVisibleRowCount(); int nrows = getModel() == null ? 0 : getModel().getSize(); // FIXME: this is a somewhat arbitrary default, but.. ? Dimension single = new Dimension(10, 10);; Rectangle bounds = null; if (vis > nrows) { if (fixedCellWidth != -1 && fixedCellHeight != -1) { single = new Dimension(fixedCellWidth, fixedCellHeight); } else if (nrows != 0 && getUI() != null) { Rectangle tmp = getUI().getCellBounds(this, 0, 0); if (tmp != null) single = tmp.getSize(); } } else if (getUI() != null) { return getUI().getCellBounds(this, 0, vis - 1).getSize(); } return new Dimension(single.width, single.height * vis); }
45163 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45163/7878167de36c868f3f4b0f507094bb155efbb199/JList.java/buggy/libjava/javax/swing/JList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 13037, 12822, 4193, 6806, 429, 22743, 1225, 1435, 225, 288, 565, 509, 2281, 273, 31564, 26359, 5621, 565, 509, 18871, 273, 7454, 1435, 422, 446, 692, 374, 294, 7454, 7675, 588, 1225, 5621, 565, 368, 9852, 30, 333, 353, 279, 18016, 11304, 11078, 805, 16, 1496, 838, 692, 565, 13037, 2202, 273, 394, 13037, 12, 2163, 16, 1728, 1769, 31, 565, 13264, 4972, 273, 446, 31, 565, 309, 261, 3516, 405, 18871, 13, 1377, 288, 3639, 309, 261, 12429, 4020, 2384, 480, 300, 21, 597, 2398, 5499, 4020, 2686, 480, 300, 21, 13, 1850, 288, 5411, 2202, 273, 394, 13037, 12, 12429, 4020, 2384, 16, 5499, 4020, 2686, 1769, 1850, 289, 3639, 469, 309, 261, 82, 3870, 480, 374, 597, 336, 5370, 1435, 480, 446, 13, 1850, 288, 5411, 13264, 1853, 273, 336, 5370, 7675, 588, 4020, 5694, 12, 2211, 16, 374, 16, 374, 1769, 5411, 309, 261, 5645, 480, 446, 13, 2868, 2202, 273, 1853, 18, 588, 1225, 5621, 1850, 289, 1377, 289, 565, 469, 309, 261, 588, 5370, 1435, 480, 446, 13, 1377, 288, 3639, 327, 336, 5370, 7675, 588, 4020, 5694, 12, 2211, 16, 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225, 1435, 225, 288, 565, 509, 2281, 273, 31564, 26359, 5621, 565, 509, 18871, 273, 7454, 1435, 422, 446, 692, 374, 294, 7454, 7675, 588, 1225, 5621, 565, 368, 9852, 30, 333, 353, 279, 18016, 11304, 11078, 805, 16, 1496, 838, 692, 565, 13037, 2202, 273, 394, 13037, 12, 2163, 16, 1728, 1769, 31, 565, 13264, 4972, 273, 446, 31, 565, 309, 261, 3516, 405, 18871, 13, 1377, 288, 3639, 309, 261, 12429, 4020, 2384, 480, 300, 21, 597, 2398, 5499, 4020, 2686, 480, 300, 21, 13, 1850, 288, 5411, 2202, 273, 394, 13037, 12, 12429, 4020, 2384, 16, 5499, 4020, 2686, 1769, 1850, 289, 3639, 469, 309, 261, 82, 3870, 2 ]
} else if (list.get(i) instanceof ITaskQuery) { if (selectQuery((ITaskQuery) list.get(i))) {
} else if (list.get(i) instanceof IRepositoryQuery) { if (selectQuery((IRepositoryQuery) list.get(i))) {
private List<Object> applyFilter(List<Object> list) { String filterText = ((Text) this.view.tree.getFilterControl()).getText(); if (containsNoFilterText(filterText)) { List<Object> filteredRoots = new ArrayList<Object>(); for (int i = 0; i < list.size(); i++) { if (list.get(i) instanceof ITask) { if (!filter(list.get(i))) { filteredRoots.add(list.get(i)); } } else if (list.get(i) instanceof ITaskCategory) { // if(((ITaskCategory)list.get(i)).isArchive()) // continue; if (selectCategory((ITaskCategory) list.get(i))) { filteredRoots.add(list.get(i)); } } else if (list.get(i) instanceof ITaskQuery) { if (selectQuery((ITaskQuery) list.get(i))) { filteredRoots.add(list.get(i)); } } } return filteredRoots; } else { return list; } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/ee59aa971161299b216c30b72533f56912c3d5a6/TasklistContentProvider.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/views/TasklistContentProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 987, 32, 921, 34, 2230, 1586, 12, 682, 32, 921, 34, 666, 13, 288, 202, 202, 780, 1034, 1528, 273, 14015, 1528, 13, 333, 18, 1945, 18, 3413, 18, 588, 1586, 3367, 1435, 2934, 588, 1528, 5621, 202, 202, 430, 261, 12298, 2279, 1586, 1528, 12, 2188, 1528, 3719, 288, 1082, 202, 682, 32, 921, 34, 5105, 17540, 273, 394, 2407, 32, 921, 34, 5621, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 666, 18, 1467, 5621, 277, 27245, 288, 9506, 202, 430, 261, 1098, 18, 588, 12, 77, 13, 1276, 467, 2174, 13, 288, 6862, 202, 430, 16051, 2188, 12, 1098, 18, 588, 12, 77, 20349, 288, 25083, 202, 12071, 17540, 18, 1289, 12, 1098, 18, 588, 12, 77, 10019, 6862, 202, 97, 9506, 202, 97, 469, 309, 261, 1098, 18, 588, 12, 77, 13, 1276, 467, 2174, 4457, 13, 288, 6862, 202, 759, 309, 12443, 12, 1285, 835, 4457, 13, 1098, 18, 588, 12, 77, 13, 2934, 291, 7465, 10756, 6862, 202, 759, 1324, 31, 6862, 202, 430, 261, 4025, 4457, 12443, 1285, 835, 4457, 13, 666, 18, 588, 12, 77, 20349, 288, 25083, 202, 12071, 17540, 18, 1289, 12, 1098, 18, 588, 12, 77, 10019, 6862, 202, 97, 9506, 202, 97, 469, 309, 261, 1098, 18, 588, 12, 77, 13, 1276, 467, 2174, 1138, 13, 288, 6862, 202, 430, 261, 4025, 1138, 12443, 1285, 835, 1138, 13, 666, 18, 588, 12, 77, 20349, 288, 25083, 202, 12071, 17540, 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, 987, 32, 921, 34, 2230, 1586, 12, 682, 32, 921, 34, 666, 13, 288, 202, 202, 780, 1034, 1528, 273, 14015, 1528, 13, 333, 18, 1945, 18, 3413, 18, 588, 1586, 3367, 1435, 2934, 588, 1528, 5621, 202, 202, 430, 261, 12298, 2279, 1586, 1528, 12, 2188, 1528, 3719, 288, 1082, 202, 682, 32, 921, 34, 5105, 17540, 273, 394, 2407, 32, 921, 34, 5621, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 666, 18, 1467, 5621, 277, 27245, 288, 9506, 202, 430, 261, 1098, 18, 588, 12, 77, 13, 1276, 467, 2174, 13, 288, 6862, 202, 430, 16051, 2188, 12, 1098, 18, 588, 12, 77, 20349, 288, 25083, 202, 12071, 17540, 18, 2 ]
_connect(_nsTextField12, _popup0, "nextFocusableComponent"); _setFontForComponent(_nsTextField12, "Lucida Grande", 13, Font.PLAIN); _nsTextField12.setEditable(true); _nsTextField12.setOpaque(true); _nsTextField12.setText(""); _nsTextField12.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField12.setSelectable(true); _nsTextField12.setEnabled(true); _connect(_nsComboBox0, _nsTextField12, "nextFocusableComponent");
_connect(_nsTextField15, _popup0, "nextFocusableComponent"); _setFontForComponent(_nsTextField15, "Lucida Grande", 13, Font.PLAIN); _nsTextField15.setEditable(true); _nsTextField15.setOpaque(true); _nsTextField15.setText(""); _nsTextField15.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField15.setSelectable(true); _nsTextField15.setEnabled(true); _connect(_nsComboBox0, _nsTextField15, "nextFocusableComponent");
protected void _init() { super._init(); _setFontForComponent(_nsButton26, "Lucida Grande", 13, Font.PLAIN); _nsButton26.setMargin(new Insets(0, 2, 0, 2)); _setFontForComponent(_nsTextField44, "Lucida Grande", 13, Font.PLAIN); _nsTextField44.setEditable(true); _nsTextField44.setOpaque(true); _nsTextField44.setText(""); _nsTextField44.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField44.setSelectable(true); _nsTextField44.setEnabled(true); _setFontForComponent(_nsTextField43, "Lucida Grande", 13, Font.PLAIN); _nsTextField43.setEditable(false); _nsTextField43.setOpaque(false); _nsTextField43.setText("Choose GEDCOM file to import:"); _nsTextField43.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField43.setSelectable(false); _nsTextField43.setEnabled(true); _nsTextField43.setBorder(null); _setFontForComponent(_nsButton25, "Lucida Grande", 13, Font.PLAIN); _nsButton25.setMargin(new Insets(0, 2, 0, 2)); _setFontForComponent(_nsButton24, "Lucida Grande", 13, Font.PLAIN); _nsButton24.setMargin(new Insets(0, 2, 0, 2)); _setFontForComponent(_jRadioButton5, "Lucida Grande", 13, Font.PLAIN); _setFontForComponent(_jRadioButton4, "Lucida Grande", 13, Font.PLAIN); _jRadioButton4.setSize(312, 18); _jRadioButton4.setLocation(0, 0); _nsMatrix2.add(_jRadioButton4); _jRadioButton5.setSize(312, 18); _jRadioButton5.setLocation(0, 20); _nsMatrix2.add(_jRadioButton5); _setFontForComponent(_nsMatrix2, "Lucida Grande", 13, Font.PLAIN); _setFontForComponent(_nsTextField42, "Lucida Grande", 13, Font.PLAIN); _nsTextField42.setEditable(false); _nsTextField42.setOpaque(false); _nsTextField42.setText("Import GEDCOM File into:"); _nsTextField42.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField42.setSelectable(false); _nsTextField42.setEnabled(true); _nsTextField42.setBorder(null); if (!(_nsView8.getLayout() instanceof EOViewLayout)) { _nsView8.setLayout(new EOViewLayout()); } _nsTextField42.setSize(446, 17); _nsTextField42.setLocation(11, 14); ((EOViewLayout)_nsView8.getLayout()).setAutosizingMask(_nsTextField42, EOViewLayout.MinYMargin); _nsView8.add(_nsTextField42); _nsMatrix2.setSize(312, 38); _nsMatrix2.setLocation(23, 37); ((EOViewLayout)_nsView8.getLayout()).setAutosizingMask(_nsMatrix2, EOViewLayout.MinYMargin); _nsView8.add(_nsMatrix2); _nsButton24.setSize(71, 26); _nsButton24.setLocation(386, 312); ((EOViewLayout)_nsView8.getLayout()).setAutosizingMask(_nsButton24, EOViewLayout.MinYMargin); _nsView8.add(_nsButton24); _nsButton25.setSize(71, 26); _nsButton25.setLocation(308, 312); ((EOViewLayout)_nsView8.getLayout()).setAutosizingMask(_nsButton25, EOViewLayout.MinYMargin); _nsView8.add(_nsButton25); _nsTextField43.setSize(446, 17); _nsTextField43.setLocation(11, 105); ((EOViewLayout)_nsView8.getLayout()).setAutosizingMask(_nsTextField43, EOViewLayout.MinYMargin); _nsView8.add(_nsTextField43); _nsTextField44.setSize(354, 22); _nsTextField44.setLocation(26, 130); ((EOViewLayout)_nsView8.getLayout()).setAutosizingMask(_nsTextField44, EOViewLayout.MinYMargin); _nsView8.add(_nsTextField44); _nsButton26.setSize(71, 26); _nsButton26.setLocation(386, 130); ((EOViewLayout)_nsView8.getLayout()).setAutosizingMask(_nsButton26, EOViewLayout.MinYMargin); _nsView8.add(_nsButton26); _nsView8.setSize(466, 348); _eoFrame6.setTitle("Import"); _eoFrame6.setLocation(363, 190); _eoFrame6.setSize(466, 348); _setFontForComponent(_eoFormCell24, "Lucida Grande", 13, Font.PLAIN); _eoFormCell24.setTitle("Temple code"); _eoFormCell24.setTitleWidth(135); _eoFormCell24.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell24.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell23, "Lucida Grande", 13, Font.PLAIN); _eoFormCell23.setTitle("Seal to parents date"); _eoFormCell23.setTitleWidth(135); _eoFormCell23.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell23.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell22, "Lucida Grande", 13, Font.PLAIN); _eoFormCell22.setTitle("Temple code"); _eoFormCell22.setTitleWidth(135); _eoFormCell22.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell22.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell21, "Lucida Grande", 13, Font.PLAIN); _eoFormCell21.setTitle("Endowment date"); _eoFormCell21.setTitleWidth(135); _eoFormCell21.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell21.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell20, "Lucida Grande", 13, Font.PLAIN); _eoFormCell20.setTitle("Temple code"); _eoFormCell20.setTitleWidth(135); _eoFormCell20.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell20.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell19, "Lucida Grande", 13, Font.PLAIN); _eoFormCell19.setTitle("Baptism date"); _eoFormCell19.setTitleWidth(135); _eoFormCell19.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell19.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell18, "Lucida Grande", 13, Font.PLAIN); _eoFormCell18.setTitle("Burial place"); _eoFormCell18.setTitleWidth(135); _eoFormCell18.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell18.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell17, "Lucida Grande", 13, Font.PLAIN); _eoFormCell17.setTitle("Burial date"); _eoFormCell17.setTitleWidth(135); _eoFormCell17.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell17.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell16, "Lucida Grande", 13, Font.PLAIN); _eoFormCell16.setTitle("Death place"); _eoFormCell16.setTitleWidth(135); _eoFormCell16.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell16.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell15, "Lucida Grande", 13, Font.PLAIN); _eoFormCell15.setTitle("Death date"); _eoFormCell15.setTitleWidth(135); _eoFormCell15.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell15.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell14, "Lucida Grande", 13, Font.PLAIN); _eoFormCell14.setTitle("Birth place"); _eoFormCell14.setTitleWidth(135); _eoFormCell14.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell14.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell13, "Lucida Grande", 13, Font.PLAIN); _eoFormCell13.setTitle("Birthdate"); _eoFormCell13.setTitleWidth(135); _eoFormCell13.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell13.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell12, "Lucida Grande", 13, Font.PLAIN); _eoFormCell12.setTitle("Given names"); _eoFormCell12.setTitleWidth(135); _eoFormCell12.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell12.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell11, "Lucida Grande", 13, Font.PLAIN); _eoFormCell11.setTitle("Surname"); _eoFormCell11.setTitleWidth(135); _eoFormCell11.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell11.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell10, "Lucida Grande", 13, Font.PLAIN); _eoFormCell10.setTitle("Gender"); _eoFormCell10.setTitleWidth(135); _eoFormCell10.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell10.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _eoFormCell10.setSize(0, 0); _eoFormCell10.setLocation(-1, 0); _nsForm5.add(_eoFormCell10); _eoFormCell11.setSize(0, 0); _eoFormCell11.setLocation(-1, 0); _nsForm5.add(_eoFormCell11); _eoFormCell12.setSize(0, 0); _eoFormCell12.setLocation(-1, 0); _nsForm5.add(_eoFormCell12); _eoFormCell13.setSize(0, 0); _eoFormCell13.setLocation(-1, 0); _nsForm5.add(_eoFormCell13); _eoFormCell14.setSize(0, 0); _eoFormCell14.setLocation(-1, 0); _nsForm5.add(_eoFormCell14); _eoFormCell15.setSize(0, 0); _eoFormCell15.setLocation(-1, 0); _nsForm5.add(_eoFormCell15); _eoFormCell16.setSize(0, 0); _eoFormCell16.setLocation(-1, 0); _nsForm5.add(_eoFormCell16); _eoFormCell17.setSize(0, 0); _eoFormCell17.setLocation(-1, 0); _nsForm5.add(_eoFormCell17); _eoFormCell18.setSize(0, 0); _eoFormCell18.setLocation(-1, 0); _nsForm5.add(_eoFormCell18); _eoFormCell19.setSize(0, 0); _eoFormCell19.setLocation(-1, 0); _nsForm5.add(_eoFormCell19); _eoFormCell20.setSize(0, 0); _eoFormCell20.setLocation(-1, 0); _nsForm5.add(_eoFormCell20); _eoFormCell21.setSize(0, 0); _eoFormCell21.setLocation(-1, 0); _nsForm5.add(_eoFormCell21); _eoFormCell22.setSize(0, 0); _eoFormCell22.setLocation(-1, 0); _nsForm5.add(_eoFormCell22); _eoFormCell23.setSize(0, 0); _eoFormCell23.setLocation(-1, 0); _nsForm5.add(_eoFormCell23); _eoFormCell24.setSize(0, 0); _eoFormCell24.setLocation(-1, 0); _nsForm5.add(_eoFormCell24); _setFontForComponent(_nsForm5, "Lucida Grande", 13, Font.PLAIN); _setFontForComponent(_nsButton23, "Lucida Grande", 13, Font.PLAIN); _nsButton23.setMargin(new Insets(0, 2, 0, 2)); _setFontForComponent(_nsButton22, "Lucida Grande", 13, Font.PLAIN); _nsButton22.setMargin(new Insets(0, 2, 0, 2)); if (!(_nsView7.getLayout() instanceof EOViewLayout)) { _nsView7.setLayout(new EOViewLayout()); } _nsButton22.setSize(77, 26); _nsButton22.setLocation(446, 448); ((EOViewLayout)_nsView7.getLayout()).setAutosizingMask(_nsButton22, EOViewLayout.MinYMargin); _nsView7.add(_nsButton22); _nsButton23.setSize(77, 26); _nsButton23.setLocation(363, 448); ((EOViewLayout)_nsView7.getLayout()).setAutosizingMask(_nsButton23, EOViewLayout.MinYMargin); _nsView7.add(_nsButton23); _nsForm5.setSize(527, 442); _nsForm5.setLocation(-7, 2); ((EOViewLayout)_nsView7.getLayout()).setAutosizingMask(_nsForm5, EOViewLayout.MinYMargin); _nsView7.add(_nsForm5); _nsView7.setSize(516, 484); _eoFrame5.setTitle("IndividualEdit2"); _eoFrame5.setLocation(523, 91); _eoFrame5.setSize(516, 484); _setFontForComponent(_nsButton21, "Lucida Grande", 13, Font.PLAIN); _nsButton21.setMargin(new Insets(0, 2, 0, 2)); _nsButton21.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_reportsController0, "save", _nsButton21), "")); _setFontForComponent(_nsButton20, "Lucida Grande", 13, Font.PLAIN); _nsButton20.setMargin(new Insets(0, 2, 0, 2)); _nsButton20.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_reportsController0, "cancel", _nsButton20), "")); if (_replacedObjects.objectForKey("_eoFrame0") == null) { _connect(_eoFrame0, _reportsController0, "delegate"); } if (_replacedObjects.objectForKey("_reportsController0") == null) { _connect(_reportsController0, _eoFrame0, "window"); } if (_replacedObjects.objectForKey("_reportsController0") == null) { _connect(_reportsController0, _nsMatrix0, "reportsRadio"); } _setFontForComponent(_nsTextField41, "Lucida Grande", 13, Font.PLAIN); _nsTextField41.setEditable(false); _nsTextField41.setOpaque(false); _nsTextField41.setText("Prefix"); _nsTextField41.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField41.setSelectable(false); _nsTextField41.setEnabled(true); _nsTextField41.setBorder(null); _setFontForComponent(_nsTextField40, "Lucida Grande", 13, Font.PLAIN); _nsTextField40.setEditable(false); _nsTextField40.setOpaque(false); _nsTextField40.setText("RIN: "); _nsTextField40.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField40.setSelectable(false); _nsTextField40.setEnabled(true); _nsTextField40.setBorder(null); _setFontForComponent(_nsTextField39, "Lucida Grande", 13, Font.PLAIN); _nsTextField39.setEditable(false); _nsTextField39.setOpaque(false); _nsTextField39.setText("AFN:"); _nsTextField39.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField39.setSelectable(false); _nsTextField39.setEnabled(true); _nsTextField39.setBorder(null); _setFontForComponent(_nsTextField38, "Lucida Grande", 13, Font.PLAIN); _nsTextField38.setEditable(false); _nsTextField38.setOpaque(false); _nsTextField38.setText("Person Name"); _nsTextField38.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField38.setSelectable(false); _nsTextField38.setEnabled(true); _nsTextField38.setBorder(null); _setFontForComponent(_nsTextField37, "Lucida Grande", 13, Font.PLAIN); _nsTextField37.setEditable(false); _nsTextField37.setOpaque(false); _nsTextField37.setText("Notes for "); _nsTextField37.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField37.setSelectable(false); _nsTextField37.setEnabled(true); _nsTextField37.setBorder(null); if (_replacedObjects.objectForKey("_nsTextView1") == null) { _nsTextView1.setEditable(true); _nsTextView1.setOpaque(true); _nsTextView1.setText(""); } if (!(_nsView6.getLayout() instanceof EOViewLayout)) { _nsView6.setLayout(new EOViewLayout()); } _nsTextView1.setSize(440, 293); _nsTextView1.setLocation(13, 41); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextView1, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView6.add(_nsTextView1); _nsTextField37.setSize(67, 17); _nsTextField37.setLocation(11, 16); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextField37, EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView6.add(_nsTextField37); _nsTextField38.setSize(377, 17); _nsTextField38.setLocation(80, 16); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextField38, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView6.add(_nsTextField38); if (_replacedObjects.objectForKey("_eoFrame4") == null) { _nsView6.setSize(466, 348); _eoFrame4.setTitle("Window"); _eoFrame4.setLocation(343, 210); _eoFrame4.setSize(466, 348); } _nsButton19.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_eoFrame4, "makeKeyAndOrderFront", _nsButton19), "")); _setFontForComponent(_nsButton19, "Lucida Grande", 10, Font.PLAIN); _nsButton19.setMargin(new Insets(0, 2, 0, 2)); if (!(_nsBox16.getLayout() instanceof EOViewLayout)) { _nsBox16.setLayout(new EOViewLayout()); } _nsBox17.setSize(487, 1); _nsBox17.setLocation(2, 2); ((EOViewLayout)_nsBox16.getLayout()).setAutosizingMask(_nsBox17, EOViewLayout.MinYMargin); _nsBox16.add(_nsBox17); _nsBox16.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("", true, "Lucida Grande", 13, Font.PLAIN)); _setFontForComponent(_nsTextField36, "Lucida Grande", 13, Font.PLAIN); _nsTextField36.setEditable(false); _nsTextField36.setOpaque(false); _nsTextField36.setText("Sealing to Parents"); _nsTextField36.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField36.setSelectable(false); _nsTextField36.setEnabled(true); _nsTextField36.setBorder(null); _setFontForComponent(_nsTextField35, "Lucida Grande", 10, Font.PLAIN); _nsTextField35.setEditable(false); _nsTextField35.setOpaque(false); _nsTextField35.setText("Date:"); _nsTextField35.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField35.setSelectable(false); _nsTextField35.setEnabled(true); _nsTextField35.setBorder(null); _setFontForComponent(_nsTextField34, "Lucida Grande", 10, Font.PLAIN); _nsTextField34.setEditable(false); _nsTextField34.setOpaque(false); _nsTextField34.setText("Temple:"); _nsTextField34.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField34.setSelectable(false); _nsTextField34.setEnabled(true); _nsTextField34.setBorder(null); _setFontForComponent(_nsTextField33, "Lucida Grande", 10, Font.PLAIN); _nsTextField33.setEditable(false); _nsTextField33.setOpaque(false); _nsTextField33.setText("Temple:"); _nsTextField33.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField33.setSelectable(false); _nsTextField33.setEnabled(true); _nsTextField33.setBorder(null); _setFontForComponent(_nsTextField32, "Lucida Grande", 13, Font.PLAIN); _nsTextField32.setEditable(false); _nsTextField32.setOpaque(false); _nsTextField32.setText("Endowment"); _nsTextField32.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField32.setSelectable(false); _nsTextField32.setEnabled(true); _nsTextField32.setBorder(null); _setFontForComponent(_nsTextField31, "Lucida Grande", 10, Font.PLAIN); _nsTextField31.setEditable(false); _nsTextField31.setOpaque(false); _nsTextField31.setText("Date:"); _nsTextField31.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField31.setSelectable(false); _nsTextField31.setEnabled(true); _nsTextField31.setBorder(null); _setFontForComponent(_nsTextField30, "Lucida Grande", 10, Font.PLAIN); _nsTextField30.setEditable(false); _nsTextField30.setOpaque(false); _nsTextField30.setText("Temple:"); _nsTextField30.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField30.setSelectable(false); _nsTextField30.setEnabled(true); _nsTextField30.setBorder(null); _setFontForComponent(_nsTextField29, "Lucida Grande", 10, Font.PLAIN); _nsTextField29.setEditable(false); _nsTextField29.setOpaque(false); _nsTextField29.setText("Date:"); _nsTextField29.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField29.setSelectable(false); _nsTextField29.setEnabled(true); _nsTextField29.setBorder(null); if (!(_nsBox15.getLayout() instanceof EOViewLayout)) { _nsBox15.setLayout(new EOViewLayout()); } _nsForm3.setSize(338, 52); _nsForm3.setLocation(-3, -1); ((EOViewLayout)_nsBox15.getLayout()).setAutosizingMask(_nsForm3, EOViewLayout.MinYMargin); _nsBox15.add(_nsForm3); if (!(_nsBox14.getLayout() instanceof EOViewLayout)) { _nsBox14.setLayout(new EOViewLayout()); } _nsBox15.setSize(378, 55); _nsBox15.setLocation(3, 18); ((EOViewLayout)_nsBox14.getLayout()).setAutosizingMask(_nsBox15, EOViewLayout.MinYMargin); _nsBox14.add(_nsBox15); _nsBox14.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("Burial", true, "Lucida Grande", 13, Font.PLAIN)); if (!(_nsBox13.getLayout() instanceof EOViewLayout)) { _nsBox13.setLayout(new EOViewLayout()); } _nsForm2.setSize(338, 52); _nsForm2.setLocation(-3, -1); ((EOViewLayout)_nsBox13.getLayout()).setAutosizingMask(_nsForm2, EOViewLayout.MinYMargin); _nsBox13.add(_nsForm2); if (!(_nsBox12.getLayout() instanceof EOViewLayout)) { _nsBox12.setLayout(new EOViewLayout()); } _nsBox13.setSize(378, 55); _nsBox13.setLocation(3, 18); ((EOViewLayout)_nsBox12.getLayout()).setAutosizingMask(_nsBox13, EOViewLayout.MinYMargin); _nsBox12.add(_nsBox13); _nsBox12.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("Death", true, "Lucida Grande", 13, Font.PLAIN)); if (!(_nsBox11.getLayout() instanceof EOViewLayout)) { _nsBox11.setLayout(new EOViewLayout()); } _nsForm1.setSize(338, 52); _nsForm1.setLocation(-3, -1); ((EOViewLayout)_nsBox11.getLayout()).setAutosizingMask(_nsForm1, EOViewLayout.MinYMargin); _nsBox11.add(_nsForm1); if (!(_nsBox10.getLayout() instanceof EOViewLayout)) { _nsBox10.setLayout(new EOViewLayout()); } _nsBox11.setSize(378, 55); _nsBox11.setLocation(3, 18); ((EOViewLayout)_nsBox10.getLayout()).setAutosizingMask(_nsBox11, EOViewLayout.MinYMargin); _nsBox10.add(_nsBox11); _nsBox10.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("Christening", true, "Lucida Grande", 13, Font.PLAIN)); if (!(_nsBox9.getLayout() instanceof EOViewLayout)) { _nsBox9.setLayout(new EOViewLayout()); } _nsForm0.setSize(338, 52); _nsForm0.setLocation(-3, 1); ((EOViewLayout)_nsBox9.getLayout()).setAutosizingMask(_nsForm0, EOViewLayout.MinYMargin); _nsBox9.add(_nsForm0); if (!(_nsBox8.getLayout() instanceof EOViewLayout)) { _nsBox8.setLayout(new EOViewLayout()); } _nsBox9.setSize(378, 55); _nsBox9.setLocation(3, 18); ((EOViewLayout)_nsBox8.getLayout()).setAutosizingMask(_nsBox9, EOViewLayout.MinYMargin); _nsBox8.add(_nsBox9); _nsBox8.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("Birth", true, "Lucida Grande", 13, Font.PLAIN)); _setFontForComponent(_nsTextField28, "Lucida Grande", 13, Font.PLAIN); _nsTextField28.setEditable(false); _nsTextField28.setOpaque(false); _nsTextField28.setText("Suffix"); _nsTextField28.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField28.setSelectable(false); _nsTextField28.setEnabled(true); _nsTextField28.setBorder(null); _setFontForComponent(_nsTextField27, "Lucida Grande", 13, Font.PLAIN); _nsTextField27.setEditable(false); _nsTextField27.setOpaque(false); _nsTextField27.setText("Baptism"); _nsTextField27.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField27.setSelectable(false); _nsTextField27.setEnabled(true); _nsTextField27.setBorder(null); _setFontForComponent(_nsTextField26, "Lucida Grande", 13, Font.PLAIN); _nsTextField26.setEditable(false); _nsTextField26.setOpaque(false); _nsTextField26.setText("Given names"); _nsTextField26.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField26.setSelectable(false); _nsTextField26.setEnabled(true); _nsTextField26.setBorder(null); _setFontForComponent(_nsTextField25, "Lucida Grande", 13, Font.PLAIN + Font.BOLD); _nsTextField25.setEditable(false); _nsTextField25.setOpaque(false); _nsTextField25.setText("Surname"); _nsTextField25.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField25.setSelectable(false); _nsTextField25.setEnabled(true); _nsTextField25.setBorder(null); _setFontForComponent(_nsTextField24, "Lucida Grande", 13, Font.PLAIN); _nsTextField24.setEditable(false); _nsTextField24.setOpaque(false); _nsTextField24.setText("Gender"); _nsTextField24.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField24.setSelectable(false); _nsTextField24.setEnabled(true); _nsTextField24.setBorder(null); _setFontForComponent(_nsButton18, "Lucida Grande", 13, Font.PLAIN); _nsButton18.setMargin(new Insets(0, 2, 0, 2)); _nsButton18.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_individualEditController0, "cancel", _nsButton18), "")); if (_replacedObjects.objectForKey("_eoFrame2") == null) { _connect(_eoFrame2, _individualEditController0, "delegate"); } _setFontForComponent(_nsTextField23, "Lucida Grande", 13, Font.PLAIN); _nsTextField23.setEditable(false); _nsTextField23.setOpaque(false); _nsTextField23.setText("Unknown"); _nsTextField23.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField23.setSelectable(false); _nsTextField23.setEnabled(true); if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsTextField23, "rin"); } _setFontForComponent(_nsTextField22, "Lucida Grande", 13, Font.PLAIN); _nsTextField22.setEditable(true); _nsTextField22.setOpaque(true); _nsTextField22.setText(""); _nsTextField22.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField22.setSelectable(true); _nsTextField22.setEnabled(true); if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsTextField22, "afn"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsImageView1, "photo"); } _connect(_nsButton10, _nsComboBox0, "nextFocusableComponent"); _connect(_nsComboBox0, _surnameList0, "dataSource"); if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsTextField12, "givenNames"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _popup0, "gender"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsComboBox1, "prefix"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsComboBox2, "suffix"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsForm0, "birthForm"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsForm1, "christeningForm"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsForm2, "deathForm"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsForm3, "burialForm"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsTextField13, "baptismDate"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsComboBox3, "baptismTemple"); } _connect(_nsComboBox3, _nsTextField21, "nextFocusableComponent"); if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsTextField21, "endowmentDate"); } _setFontForComponent(_nsTextField21, "Lucida Grande", 13, Font.PLAIN); _nsTextField21.setEditable(true); _nsTextField21.setOpaque(true); _nsTextField21.setText(""); _nsTextField21.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField21.setSelectable(true); _nsTextField21.setEnabled(true); _connect(_nsTextField21, _nsComboBox5, "nextFocusableComponent"); if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsComboBox5, "endowmentTemple"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsTextField20, "sealingToParentDate"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsComboBox6, "sealingToParentTemple"); } _connect(_nsComboBox6, _templeList0, "dataSource"); _connect(_nsButton17, _nsButton10, "nextFocusableComponent"); _setFontForComponent(_nsButton17, "Lucida Grande", 13, Font.PLAIN); _nsButton17.setMargin(new Insets(0, 2, 0, 2)); _connect(_nsComboBox6, _nsButton17, "nextFocusableComponent"); _connect(_nsTextField20, _nsComboBox6, "nextFocusableComponent"); _setFontForComponent(_nsTextField20, "Lucida Grande", 13, Font.PLAIN); _nsTextField20.setEditable(true); _nsTextField20.setOpaque(true); _nsTextField20.setText(""); _nsTextField20.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField20.setSelectable(true); _nsTextField20.setEnabled(true); _connect(_nsComboBox5, _nsTextField20, "nextFocusableComponent"); _connect(_nsComboBox5, _templeList0, "dataSource"); _nsTableView3.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_familyEditController0, "editChild", _nsTableView3), "")); _connect(_nsTableView3, _familyEditController0, "delegate"); if (_replacedObjects.objectForKey("_eoFrame3") == null) { _connect(_eoFrame3, _familyEditController0, "delegate"); } _setFontForComponent(_nsButton16, "Lucida Grande", 13, Font.PLAIN); _nsButton16.setMargin(new Insets(0, 2, 0, 2)); _nsButton15.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_familyEditController0, "addChild", _nsButton15), "")); _setFontForComponent(_nsButton15, "Lucida Grande", 13, Font.PLAIN); _nsButton15.setMargin(new Insets(0, 2, 0, 2)); _setFontForComponent(_nsTextField19, "Lucida Grande", 13, Font.PLAIN); _nsTextField19.setEditable(false); _nsTextField19.setOpaque(false); _nsTextField19.setText("Sealing of Wife to Husband"); _nsTextField19.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField19.setSelectable(false); _nsTextField19.setEnabled(true); _nsTextField19.setBorder(null); _setFontForComponent(_nsTextField18, "Lucida Grande", 10, Font.PLAIN); _nsTextField18.setEditable(false); _nsTextField18.setOpaque(false); _nsTextField18.setText("Temple:"); _nsTextField18.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField18.setSelectable(false); _nsTextField18.setEnabled(true); _nsTextField18.setBorder(null); _setFontForComponent(_nsTextField17, "Lucida Grande", 10, Font.PLAIN); _nsTextField17.setEditable(false); _nsTextField17.setOpaque(false); _nsTextField17.setText("Date:"); _nsTextField17.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField17.setSelectable(false); _nsTextField17.setEnabled(true); _nsTextField17.setBorder(null); if (!(_nsBox7.getLayout() instanceof EOViewLayout)) { _nsBox7.setLayout(new EOViewLayout()); } _nsForm4.setSize(458, 52); _nsForm4.setLocation(1, 4); ((EOViewLayout)_nsBox7.getLayout()).setAutosizingMask(_nsForm4, EOViewLayout.MinYMargin); _nsBox7.add(_nsForm4); if (!(_nsBox6.getLayout() instanceof EOViewLayout)) { _nsBox6.setLayout(new EOViewLayout()); } _nsBox7.setSize(474, 62); _nsBox7.setLocation(3, 18); ((EOViewLayout)_nsBox6.getLayout()).setAutosizingMask(_nsBox7, EOViewLayout.MinYMargin); _nsBox6.add(_nsBox7); _nsBox6.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("Marriage", true, "Lucida Grande", 13, Font.PLAIN)); _setFontForComponent(_nsTextField16, "Lucida Grande", 13, Font.PLAIN); _nsTextField16.setEditable(false); _nsTextField16.setOpaque(false); _nsTextField16.setText("Wife"); _nsTextField16.setHorizontalAlignment(javax.swing.JTextField.RIGHT); _nsTextField16.setSelectable(false); _nsTextField16.setEnabled(true); _nsTextField16.setBorder(null); _setFontForComponent(_nsTextField15, "Lucida Grande", 13, Font.PLAIN); _nsTextField15.setEditable(false); _nsTextField15.setOpaque(false); _nsTextField15.setText("Husband"); _nsTextField15.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField15.setSelectable(false); _nsTextField15.setEnabled(true); _nsTextField15.setBorder(null); _nsButton14.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_familyEditController0, "cancel", _nsButton14), "")); _setFontForComponent(_nsButton14, "Lucida Grande", 13, Font.PLAIN); _nsButton14.setMargin(new Insets(0, 2, 0, 2)); if (!(_nsView5.getLayout() instanceof EOViewLayout)) { _nsView5.setLayout(new EOViewLayout()); } _nsButton11.setSize(106, 26); _nsButton11.setLocation(402, 474); ((EOViewLayout)_nsView5.getLayout()).setAutosizingMask(_nsButton11, EOViewLayout.MinYMargin); _nsView5.add(_nsButton11); _nsButton14.setSize(77, 26); _nsButton14.setLocation(318, 474); ((EOViewLayout)_nsView5.getLayout()).setAutosizingMask(_nsButton14, EOViewLayout.MinYMargin); _nsView5.add(_nsButton14); _nsBox4.setSize(519, 245); _nsBox4.setLocation(4, 229); ((EOViewLayout)_nsView5.getLayout()).setAutosizingMask(_nsBox4, EOViewLayout.MinYMargin); _nsView5.add(_nsBox4); _nsButton13.setSize(422, 31); _nsButton13.setLocation(78, 6); ((EOViewLayout)_nsView5.getLayout()).setAutosizingMask(_nsButton13, EOViewLayout.MinYMargin); _nsView5.add(_nsButton13); _nsTextField15.setSize(60, 17); _nsTextField15.setLocation(16, 11); ((EOViewLayout)_nsView5.getLayout()).setAutosizingMask(_nsTextField15, EOViewLayout.MinYMargin); _nsView5.add(_nsTextField15); _nsButton12.setSize(422, 31); _nsButton12.setLocation(78, 39); ((EOViewLayout)_nsView5.getLayout()).setAutosizingMask(_nsButton12, EOViewLayout.MinYMargin); _nsView5.add(_nsButton12); _nsTextField16.setSize(60, 17); _nsTextField16.setLocation(16, 44); ((EOViewLayout)_nsView5.getLayout()).setAutosizingMask(_nsTextField16, EOViewLayout.MinYMargin); _nsView5.add(_nsTextField16); _nsBox6.setSize(480, 83); _nsBox6.setLocation(18, 73); ((EOViewLayout)_nsView5.getLayout()).setAutosizingMask(_nsBox6, EOViewLayout.MinYMargin); _nsView5.add(_nsBox6); _nsTextField17.setSize(30, 13); _nsTextField17.setLocation(20, 191); ((EOViewLayout)_nsView5.getLayout()).setAutosizingMask(_nsTextField17, EOViewLayout.MinYMargin); _nsView5.add(_nsTextField17); _nsComboBox4.setSize(273, 26); _nsComboBox4.setLocation(235, 184); ((EOViewLayout)_nsView5.getLayout()).setAutosizingMask(_nsComboBox4, EOViewLayout.MinYMargin); _nsView5.add(_nsComboBox4); _nsTextField18.setSize(44, 13); _nsTextField18.setLocation(188, 193); ((EOViewLayout)_nsView5.getLayout()).setAutosizingMask(_nsTextField18, EOViewLayout.MinYMargin); _nsView5.add(_nsTextField18); _nsTextField19.setSize(174, 17); _nsTextField19.setLocation(11, 165); ((EOViewLayout)_nsView5.getLayout()).setAutosizingMask(_nsTextField19, EOViewLayout.MinYMargin); _nsView5.add(_nsTextField19); _nsTextField14.setSize(126, 22); _nsTextField14.setLocation(54, 186); ((EOViewLayout)_nsView5.getLayout()).setAutosizingMask(_nsTextField14, EOViewLayout.MinYMargin); _nsView5.add(_nsTextField14); _nsButton15.setSize(77, 27); _nsButton15.setLocation(16, 464); ((EOViewLayout)_nsView5.getLayout()).setAutosizingMask(_nsButton15, EOViewLayout.MinYMargin); _nsView5.add(_nsButton15); _nsButton16.setSize(101, 27); _nsButton16.setLocation(98, 464); ((EOViewLayout)_nsView5.getLayout()).setAutosizingMask(_nsButton16, EOViewLayout.MinYMargin); _nsView5.add(_nsButton16); if (_replacedObjects.objectForKey("_eoFrame3") == null) { _nsView5.setSize(517, 510); _eoFrame3.setTitle("FamilyEdit"); _eoFrame3.setLocation(212, 153); _eoFrame3.setSize(517, 510); } if (_replacedObjects.objectForKey("_familyEditController0") == null) { _connect(_familyEditController0, _eoFrame3, "window"); } if (_replacedObjects.objectForKey("_familyEditController0") == null) { _connect(_familyEditController0, _nsButton11, "saveButton"); } _connect(_nsTableView3, _nsButton13, "nextFocusableComponent"); _connect(_nsTableView3, _nsButton13, "nextFocusableComponent"); if (!(_nsBox5.getLayout() instanceof EOViewLayout)) { _nsBox5.setLayout(new EOViewLayout()); } _nsTableView3.setSize(487, 211); _nsTableView3.setLocation(14, 2); ((EOViewLayout)_nsBox5.getLayout()).setAutosizingMask(_nsTableView3, EOViewLayout.MinYMargin); _nsBox5.add(_nsTableView3); if (!(_nsBox4.getLayout() instanceof EOViewLayout)) { _nsBox4.setLayout(new EOViewLayout()); } _nsBox5.setSize(519, 227); _nsBox5.setLocation(0, 18); ((EOViewLayout)_nsBox4.getLayout()).setAutosizingMask(_nsBox5, EOViewLayout.MinYMargin); _nsBox4.add(_nsBox5); _nsBox4.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("Children", false, "Lucida Grande", 13, Font.PLAIN)); _connect(_nsBox4, _nsButton13, "nextFocusableComponent"); if (_replacedObjects.objectForKey("_familyEditController0") == null) { _connect(_familyEditController0, _nsButton13, "husbandButton"); } _nsButton13.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_familyEditController0, "editHusband", _nsButton13), "")); _setFontForComponent(_nsButton13, "Lucida Grande", 10, Font.PLAIN); _nsButton13.setMargin(new Insets(0, 2, 0, 2)); _connect(_nsButton13, _nsButton12, "nextFocusableComponent"); if (_replacedObjects.objectForKey("_familyEditController0") == null) { _connect(_familyEditController0, _nsButton12, "wifeButton"); } _nsButton12.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_familyEditController0, "editWife", _nsButton12), "")); _setFontForComponent(_nsButton12, "Lucida Grande", 10, Font.PLAIN); _nsButton12.setMargin(new Insets(0, 2, 0, 2)); _connect(_nsButton12, _nsButton11, "nextFocusableComponent"); _nsButton11.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_familyEditController0, "save", _nsButton11), "")); _setFontForComponent(_nsButton11, "Lucida Grande", 13, Font.PLAIN); _nsButton11.setMargin(new Insets(0, 2, 0, 2)); _connect(_nsButton11, _nsForm4, "nextFocusableComponent"); _setFontForComponent(_eoFormCell9, "Lucida Grande", 13, Font.PLAIN); _eoFormCell9.setTitle("Place"); _eoFormCell9.setTitleWidth(42); _eoFormCell9.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell9.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell8, "Lucida Grande", 13, Font.PLAIN); _eoFormCell8.setTitle("Date"); _eoFormCell8.setTitleWidth(42); _eoFormCell8.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell8.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _eoFormCell8.setSize(0, 0); _eoFormCell8.setLocation(-1, 0); _nsForm4.add(_eoFormCell8); _eoFormCell9.setSize(0, 0); _eoFormCell9.setLocation(-1, 0); _nsForm4.add(_eoFormCell9); _setFontForComponent(_nsForm4, "Lucida Grande", 13, Font.PLAIN); if (_replacedObjects.objectForKey("_familyEditController0") == null) { _connect(_familyEditController0, _nsForm4, "marriageForm"); } if (_replacedObjects.objectForKey("_familyEditController0") == null) { _connect(_familyEditController0, _nsComboBox4, "sealingTemple"); } _connect(_nsTextField14, _nsComboBox4, "nextFocusableComponent"); _setFontForComponent(_nsTextField14, "Lucida Grande", 13, Font.PLAIN); _nsTextField14.setEditable(true); _nsTextField14.setOpaque(true); _nsTextField14.setText(""); _nsTextField14.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField14.setSelectable(true); _nsTextField14.setEnabled(true); if (_replacedObjects.objectForKey("_familyEditController0") == null) { _connect(_familyEditController0, _nsTextField14, "sealingDate"); } if (_replacedObjects.objectForKey("_familyEditController0") == null) { _connect(_familyEditController0, _nsTableView3, "children"); } _connect(_nsTableView3, _familyEditController0, "dataSource"); _eoTableColumn9.setMinWidth(4); _eoTableColumn9.setMaxWidth(1000); _eoTableColumn9.setPreferredWidth(137); _eoTableColumn9.setWidth(137); _eoTableColumn9.setResizable(true); _eoTableColumn9.setHeaderValue(""); if ((_eoTableColumn9.getHeaderRenderer() != null)) { ((DefaultTableCellRenderer)(_eoTableColumn9.getHeaderRenderer())).setHorizontalAlignment(javax.swing.JTextField.LEFT); } _eoTableColumn8.setMinWidth(10); _eoTableColumn8.setMaxWidth(1000); _eoTableColumn8.setPreferredWidth(138); _eoTableColumn8.setWidth(138); _eoTableColumn8.setResizable(true); _eoTableColumn8.setHeaderValue(""); if ((_eoTableColumn8.getHeaderRenderer() != null)) { ((DefaultTableCellRenderer)(_eoTableColumn8.getHeaderRenderer())).setHorizontalAlignment(javax.swing.JTextField.LEFT); } _eoTableColumn7.setMinWidth(40); _eoTableColumn7.setMaxWidth(1000); _eoTableColumn7.setPreferredWidth(143); _eoTableColumn7.setWidth(143); _eoTableColumn7.setResizable(true); _eoTableColumn7.setHeaderValue(""); if ((_eoTableColumn7.getHeaderRenderer() != null)) { ((DefaultTableCellRenderer)(_eoTableColumn7.getHeaderRenderer())).setHorizontalAlignment(javax.swing.JTextField.LEFT); } _eoTableColumn6.setMinWidth(40); _eoTableColumn6.setMaxWidth(1000); _eoTableColumn6.setPreferredWidth(40); _eoTableColumn6.setWidth(40); _eoTableColumn6.setResizable(true); _eoTableColumn6.setHeaderValue(""); if ((_eoTableColumn6.getHeaderRenderer() != null)) { ((DefaultTableCellRenderer)(_eoTableColumn6.getHeaderRenderer())).setHorizontalAlignment(javax.swing.JTextField.LEFT); } _nsTableView3.table().addColumn(_eoTableColumn6); _nsTableView3.table().addColumn(_eoTableColumn7); _nsTableView3.table().addColumn(_eoTableColumn8); _nsTableView3.table().addColumn(_eoTableColumn9); _setFontForComponent(_nsTableView3.table().getTableHeader(), "Lucida Grande", 11, Font.PLAIN); _nsTableView3.table().setRowHeight(20); _connect(_nsComboBox4, _nsTableView3, "nextFocusableComponent"); _connect(_nsComboBox4, _templeList0, "dataSource"); _connect(_nsComboBox3, _templeList0, "dataSource"); _connect(_nsTextField13, _nsComboBox3, "nextFocusableComponent"); _setFontForComponent(_nsTextField13, "Lucida Grande", 13, Font.PLAIN); _nsTextField13.setEditable(true); _nsTextField13.setOpaque(true); _nsTextField13.setText(""); _nsTextField13.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField13.setSelectable(true); _nsTextField13.setEnabled(true); _connect(_nsForm3, _nsTextField13, "nextFocusableComponent"); _setFontForComponent(_eoFormCell7, "Lucida Grande", 13, Font.PLAIN); _eoFormCell7.setTitle("Place"); _eoFormCell7.setTitleWidth(42); _eoFormCell7.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell7.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell6, "Lucida Grande", 13, Font.PLAIN); _eoFormCell6.setTitle("Date"); _eoFormCell6.setTitleWidth(42); _eoFormCell6.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell6.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _eoFormCell6.setSize(0, 0); _eoFormCell6.setLocation(-1, 0); _nsForm3.add(_eoFormCell6); _eoFormCell7.setSize(0, 0); _eoFormCell7.setLocation(-1, 0); _nsForm3.add(_eoFormCell7); _setFontForComponent(_nsForm3, "Lucida Grande", 13, Font.PLAIN); _connect(_nsForm2, _nsForm3, "nextFocusableComponent"); _setFontForComponent(_eoFormCell5, "Lucida Grande", 13, Font.PLAIN); _eoFormCell5.setTitle("Place"); _eoFormCell5.setTitleWidth(42); _eoFormCell5.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell5.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell4, "Lucida Grande", 13, Font.PLAIN); _eoFormCell4.setTitle("Date"); _eoFormCell4.setTitleWidth(42); _eoFormCell4.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell4.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _eoFormCell4.setSize(0, 0); _eoFormCell4.setLocation(-1, 0); _nsForm2.add(_eoFormCell4); _eoFormCell5.setSize(0, 0); _eoFormCell5.setLocation(-1, 0); _nsForm2.add(_eoFormCell5); _setFontForComponent(_nsForm2, "Lucida Grande", 13, Font.PLAIN); _connect(_nsForm1, _nsForm2, "nextFocusableComponent"); _setFontForComponent(_eoFormCell3, "Lucida Grande", 13, Font.PLAIN); _eoFormCell3.setTitle("Place"); _eoFormCell3.setTitleWidth(42); _eoFormCell3.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell3.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell2, "Lucida Grande", 13, Font.PLAIN); _eoFormCell2.setTitle("Date"); _eoFormCell2.setTitleWidth(42); _eoFormCell2.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell2.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _eoFormCell2.setSize(0, 0); _eoFormCell2.setLocation(-1, 0); _nsForm1.add(_eoFormCell2); _eoFormCell3.setSize(0, 0); _eoFormCell3.setLocation(-1, 0); _nsForm1.add(_eoFormCell3); _setFontForComponent(_nsForm1, "Lucida Grande", 13, Font.PLAIN); _connect(_nsForm0, _nsForm1, "nextFocusableComponent"); _setFontForComponent(_eoFormCell1, "Lucida Grande", 13, Font.PLAIN); _eoFormCell1.setTitle("Place"); _eoFormCell1.setTitleWidth(42); _eoFormCell1.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell1.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell0, "Lucida Grande", 13, Font.PLAIN); _eoFormCell0.setTitle("Date"); _eoFormCell0.setTitleWidth(42); _eoFormCell0.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell0.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _eoFormCell0.setSize(0, 0); _eoFormCell0.setLocation(-1, 0); _nsForm0.add(_eoFormCell0); _eoFormCell1.setSize(0, 0); _eoFormCell1.setLocation(-1, 0); _nsForm0.add(_eoFormCell1); _setFontForComponent(_nsForm0, "Lucida Grande", 13, Font.PLAIN); _connect(_nsComboBox2, _nsForm0, "nextFocusableComponent"); _connect(_nsComboBox1, _nsComboBox2, "nextFocusableComponent"); _connect(_popup0, _nsComboBox1, "nextFocusableComponent"); _setFontForComponent(_popup0, "Lucida Grande", 13, Font.PLAIN); _connect(_nsTextField12, _popup0, "nextFocusableComponent"); _setFontForComponent(_nsTextField12, "Lucida Grande", 13, Font.PLAIN); _nsTextField12.setEditable(true); _nsTextField12.setOpaque(true); _nsTextField12.setText(""); _nsTextField12.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField12.setSelectable(true); _nsTextField12.setEnabled(true); _connect(_nsComboBox0, _nsTextField12, "nextFocusableComponent"); if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsComboBox0, "surname"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _eoFrame2, "window"); } _nsButton10.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_individualEditController0, "save", _nsButton10), "")); _setFontForComponent(_nsButton10, "Lucida Grande", 13, Font.PLAIN); _nsButton10.setMargin(new Insets(0, 2, 0, 2)); if (!(_nsView4.getLayout() instanceof EOViewLayout)) { _nsView4.setLayout(new EOViewLayout()); } _nsButton10.setSize(77, 26); _nsButton10.setLocation(431, 548); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsButton10, EOViewLayout.MinYMargin); _nsView4.add(_nsButton10); _nsButton18.setSize(77, 26); _nsButton18.setLocation(348, 548); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsButton18, EOViewLayout.MinYMargin); _nsView4.add(_nsButton18); _popup0.setSize(95, 26); _popup0.setLocation(410, -6); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_popup0, EOViewLayout.MinYMargin); _nsView4.add(_popup0); _nsComboBox3.setSize(273, 26); _nsComboBox3.setLocation(235, 418); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsComboBox3, EOViewLayout.MinYMargin); _nsView4.add(_nsComboBox3); _nsTextField24.setSize(50, 17); _nsTextField24.setLocation(351, -3); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsTextField24, EOViewLayout.MinYMargin); _nsView4.add(_nsTextField24); _nsTextField25.setSize(63, 17); _nsTextField25.setLocation(30, 2); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsTextField25, EOViewLayout.MinYMargin); _nsView4.add(_nsTextField25); _nsTextField26.setSize(85, 17); _nsTextField26.setLocation(11, 27); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsTextField26, EOViewLayout.MinYMargin); _nsView4.add(_nsTextField26); _nsTextField27.setSize(55, 17); _nsTextField27.setLocation(11, 399); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsTextField27, EOViewLayout.MinYMargin); _nsView4.add(_nsTextField27); _nsImageView1.setSize(96, 93); _nsImageView1.setLocation(411, 97); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsImageView1, EOViewLayout.MinYMargin); _nsView4.add(_nsImageView1); _nsButton17.setSize(121, 26); _nsButton17.setLocation(400, 193); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsButton17, EOViewLayout.MinYMargin); _nsView4.add(_nsButton17); _nsTextField12.setSize(213, 22); _nsTextField12.setLocation(109, 24); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsTextField12, EOViewLayout.MinYMargin); _nsView4.add(_nsTextField12); _nsTextField28.setSize(43, 17); _nsTextField28.setLocation(186, 57); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsTextField28, EOViewLayout.MinYMargin); _nsView4.add(_nsTextField28); _nsComboBox2.setSize(125, 26); _nsComboBox2.setLocation(234, 52); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsComboBox2, EOViewLayout.MinYMargin); _nsView4.add(_nsComboBox2); _nsComboBox0.setSize(216, 26); _nsComboBox0.setLocation(109, -6); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsComboBox0, EOViewLayout.MinYMargin); _nsView4.add(_nsComboBox0); _nsBox8.setSize(384, 76); _nsBox8.setLocation(13, 87); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsBox8, EOViewLayout.MinYMargin); _nsView4.add(_nsBox8); _nsBox10.setSize(384, 76); _nsBox10.setLocation(13, 163); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsBox10, EOViewLayout.MinYMargin); _nsView4.add(_nsBox10); _nsBox12.setSize(384, 76); _nsBox12.setLocation(13, 239); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsBox12, EOViewLayout.MinYMargin); _nsView4.add(_nsBox12); _nsBox14.setSize(384, 76); _nsBox14.setLocation(13, 314); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsBox14, EOViewLayout.MinYMargin); _nsView4.add(_nsBox14); _nsTextField13.setSize(126, 22); _nsTextField13.setLocation(54, 420); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsTextField13, EOViewLayout.MinYMargin); _nsView4.add(_nsTextField13); _nsTextField29.setSize(30, 13); _nsTextField29.setLocation(20, 425); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsTextField29, EOViewLayout.MinYMargin); _nsView4.add(_nsTextField29); _nsTextField30.setSize(44, 13); _nsTextField30.setLocation(188, 427); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsTextField30, EOViewLayout.MinYMargin); _nsView4.add(_nsTextField30); _nsTextField31.setSize(30, 13); _nsTextField31.setLocation(20, 474); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsTextField31, EOViewLayout.MinYMargin); _nsView4.add(_nsTextField31); _nsTextField32.setSize(78, 17); _nsTextField32.setLocation(11, 448); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsTextField32, EOViewLayout.MinYMargin); _nsView4.add(_nsTextField32); _nsTextField33.setSize(44, 13); _nsTextField33.setLocation(188, 476); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsTextField33, EOViewLayout.MinYMargin); _nsView4.add(_nsTextField33); _nsTextField21.setSize(126, 22); _nsTextField21.setLocation(54, 469); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsTextField21, EOViewLayout.MinYMargin); _nsView4.add(_nsTextField21); _nsComboBox5.setSize(273, 26); _nsComboBox5.setLocation(235, 467); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsComboBox5, EOViewLayout.MinYMargin); _nsView4.add(_nsComboBox5); _nsTextField20.setSize(126, 22); _nsTextField20.setLocation(54, 518); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsTextField20, EOViewLayout.MinYMargin); _nsView4.add(_nsTextField20); _nsComboBox6.setSize(273, 26); _nsComboBox6.setLocation(235, 516); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsComboBox6, EOViewLayout.MinYMargin); _nsView4.add(_nsComboBox6); _nsTextField34.setSize(44, 13); _nsTextField34.setLocation(188, 525); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsTextField34, EOViewLayout.MinYMargin); _nsView4.add(_nsTextField34); _nsTextField35.setSize(30, 13); _nsTextField35.setLocation(20, 523); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsTextField35, EOViewLayout.MinYMargin); _nsView4.add(_nsTextField35); _nsTextField36.setSize(117, 17); _nsTextField36.setLocation(11, 497); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsTextField36, EOViewLayout.MinYMargin); _nsView4.add(_nsTextField36); _nsBox16.setSize(491, 5); _nsBox16.setLocation(13, 79); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsBox16, EOViewLayout.MinYMargin); _nsView4.add(_nsBox16); _nsButton19.setSize(58, 55); _nsButton19.setLocation(430, 339); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsButton19, EOViewLayout.MinYMargin); _nsView4.add(_nsButton19); _nsTextField22.setSize(96, 22); _nsTextField22.setLocation(409, 303); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsTextField22, EOViewLayout.MinYMargin); _nsView4.add(_nsTextField22); _nsTextField39.setSize(34, 17); _nsTextField39.setLocation(409, 284); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsTextField39, EOViewLayout.MinYMargin); _nsView4.add(_nsTextField39); _nsTextField40.setSize(34, 17); _nsTextField40.setLocation(406, 55); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsTextField40, EOViewLayout.MinYMargin); _nsView4.add(_nsTextField40); _nsTextField23.setSize(67, 22); _nsTextField23.setLocation(436, 53); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsTextField23, EOViewLayout.MinYMargin); _nsView4.add(_nsTextField23); _nsComboBox1.setSize(125, 26); _nsComboBox1.setLocation(59, 52); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsComboBox1, EOViewLayout.MinYMargin); _nsView4.add(_nsComboBox1); _nsTextField41.setSize(43, 17); _nsTextField41.setLocation(11, 57); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsTextField41, EOViewLayout.MinYMargin); _nsView4.add(_nsTextField41); if (_replacedObjects.objectForKey("_eoFrame2") == null) { _nsView4.setSize(517, 599); _eoFrame2.setTitle("IndividualEdit"); _eoFrame2.setLocation(357, 119); _eoFrame2.setSize(517, 599); } _jCheckBox0.setSize(77, 17); _jCheckBox0.setLocation(0, 0); _nsMatrix1.add(_jCheckBox0); _jCheckBox1.setSize(77, 17); _jCheckBox1.setLocation(81, 0); _nsMatrix1.add(_jCheckBox1); _setFontForComponent(_nsTextField11, "Lucida Grande", 13, Font.PLAIN); _nsTextField11.setEditable(false); _nsTextField11.setOpaque(false); _nsTextField11.setText("Notes:"); _nsTextField11.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField11.setSelectable(false); _nsTextField11.setEnabled(true); _nsTextField11.setBorder(null); _setFontForComponent(_nsTextField10, "Lucida Grande", 13, Font.PLAIN); _nsTextField10.setEditable(false); _nsTextField10.setOpaque(false); _nsTextField10.setText("Events:"); _nsTextField10.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField10.setSelectable(false); _nsTextField10.setEnabled(true); _nsTextField10.setBorder(null); if (_replacedObjects.objectForKey("_jCheckBox1") == null) { _setFontForComponent(_jCheckBox1, "Lucida Grande", 13, Font.PLAIN); } if (_replacedObjects.objectForKey("_individualDetailController0") == null) { _connect(_individualDetailController0, _jCheckBox1, "privacy"); } if (_replacedObjects.objectForKey("_jCheckBox0") == null) { _setFontForComponent(_jCheckBox0, "Lucida Grande", 13, Font.PLAIN); } if (_replacedObjects.objectForKey("_individualDetailController0") == null) { _connect(_individualDetailController0, _jCheckBox0, "locked"); } if (_replacedObjects.objectForKey("_nsTextField9") == null) { _setFontForComponent(_nsTextField9, "Lucida Grande", 13, Font.PLAIN); _nsTextField9.setEditable(false); _nsTextField9.setOpaque(false); _nsTextField9.setText("System Font Text"); _nsTextField9.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField9.setSelectable(false); _nsTextField9.setEnabled(true); _nsTextField9.setBorder(null); } if (_replacedObjects.objectForKey("_individualDetailController0") == null) { _connect(_individualDetailController0, _nsTextField9, "infoText"); } if (_replacedObjects.objectForKey("_nsTextView0") == null) { _nsTextView0.setEditable(false); _nsTextView0.setOpaque(true); _nsTextView0.setText(""); } if (_replacedObjects.objectForKey("_individualDetailController0") == null) { _connect(_individualDetailController0, _nsTextView0, "noteText"); } if (_replacedObjects.objectForKey("_nsTextField8") == null) { _setFontForComponent(_nsTextField8, "Lucida Grande", 13, Font.PLAIN); _nsTextField8.setEditable(false); _nsTextField8.setOpaque(false); _nsTextField8.setText("System Font Text"); _nsTextField8.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField8.setSelectable(false); _nsTextField8.setEnabled(true); _nsTextField8.setBorder(null); } if (_replacedObjects.objectForKey("_individualDetailController0") == null) { _connect(_individualDetailController0, _nsTextField8, "detailsText"); } if (_replacedObjects.objectForKey("_individualDetailController0") == null) { _connect(_individualDetailController0, _nsImageView0, "photo"); } if (_replacedObjects.objectForKey("_individualDetailController0") == null) { _connect(_individualDetailController0, _nsTableView2, "eventTable"); } if (_replacedObjects.objectForKey("_nsTableView2") == null) { _connect(_nsTableView2, _individualDetailController0, "dataSource"); } _eoTableColumn5.setMinWidth(4); _eoTableColumn5.setMaxWidth(1000); _eoTableColumn5.setPreferredWidth(388); _eoTableColumn5.setWidth(388); _eoTableColumn5.setResizable(true); _eoTableColumn5.setHeaderValue("Place"); if ((_eoTableColumn5.getHeaderRenderer() != null)) { ((DefaultTableCellRenderer)(_eoTableColumn5.getHeaderRenderer())).setHorizontalAlignment(javax.swing.JTextField.LEFT); } _eoTableColumn4.setMinWidth(8); _eoTableColumn4.setMaxWidth(1000); _eoTableColumn4.setPreferredWidth(131); _eoTableColumn4.setWidth(131); _eoTableColumn4.setResizable(true); _eoTableColumn4.setHeaderValue("Date"); if ((_eoTableColumn4.getHeaderRenderer() != null)) { ((DefaultTableCellRenderer)(_eoTableColumn4.getHeaderRenderer())).setHorizontalAlignment(javax.swing.JTextField.LEFT); } _eoTableColumn3.setMinWidth(40); _eoTableColumn3.setMaxWidth(1000); _eoTableColumn3.setPreferredWidth(95); _eoTableColumn3.setWidth(95); _eoTableColumn3.setResizable(true); _eoTableColumn3.setHeaderValue("Type"); if ((_eoTableColumn3.getHeaderRenderer() != null)) { ((DefaultTableCellRenderer)(_eoTableColumn3.getHeaderRenderer())).setHorizontalAlignment(javax.swing.JTextField.LEFT); } if (_replacedObjects.objectForKey("_nsTableView2") == null) { _nsTableView2.table().addColumn(_eoTableColumn3); _nsTableView2.table().addColumn(_eoTableColumn4); _nsTableView2.table().addColumn(_eoTableColumn5); _setFontForComponent(_nsTableView2.table().getTableHeader(), "Lucida Grande", 11, Font.PLAIN); _nsTableView2.table().setRowHeight(20); } if (!(_nsView1.getLayout() instanceof EOViewLayout)) { _nsView1.setLayout(new EOViewLayout()); } _nsTableView2.setSize(640, 189); _nsTableView2.setLocation(20, 279); ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTableView2, EOViewLayout.MinYMargin); _nsView1.add(_nsTableView2); _nsImageView0.setSize(161, 176); _nsImageView0.setLocation(502, 83); ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsImageView0, EOViewLayout.MinYMargin); _nsView1.add(_nsImageView0); _nsTextView0.setSize(456, 88); _nsTextView0.setLocation(20, 168); ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextView0, EOViewLayout.MinYMargin); _nsView1.add(_nsTextView0); _nsTextField9.setSize(462, 131); _nsTextField9.setLocation(18, 20); ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField9, EOViewLayout.MinYMargin); _nsView1.add(_nsTextField9); _nsTextField10.setSize(49, 17); _nsTextField10.setLocation(18, 261); ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField10, EOViewLayout.MinYMargin); _nsView1.add(_nsTextField10); _nsTextField11.setSize(45, 17); _nsTextField11.setLocation(18, 150); ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField11, EOViewLayout.MinYMargin); _nsView1.add(_nsTextField11); _nsMatrix1.setSize(159, 18); _nsMatrix1.setLocation(503, 62); ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsMatrix1, EOViewLayout.MinYMargin); _nsView1.add(_nsMatrix1); _nsTextField8.setSize(160, 41); _nsTextField8.setLocation(503, 20); ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField8, EOViewLayout.MinYMargin); _nsView1.add(_nsTextField8); if (_replacedObjects.objectForKey("_nsButton9") == null) { _setFontForComponent(_nsButton9, "Lucida Grande", 13, Font.PLAIN + Font.BOLD); _nsButton9.setMargin(new Insets(0, 2, 0, 2)); } _setFontForComponent(_nsTextField7, "Lucida Grande", 13, Font.PLAIN + Font.BOLD); _nsTextField7.setEditable(false); _nsTextField7.setOpaque(false); _nsTextField7.setText("Grandmother\n"); _nsTextField7.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField7.setSelectable(false); _nsTextField7.setEnabled(true); _nsTextField7.setBorder(null); if (_replacedObjects.objectForKey("_nsButton8") == null) { _setFontForComponent(_nsButton8, "Lucida Grande", 13, Font.PLAIN); _nsButton8.setMargin(new Insets(0, 2, 0, 2)); } _setFontForComponent(_nsTextField6, "Lucida Grande", 13, Font.PLAIN + Font.BOLD); _nsTextField6.setEditable(false); _nsTextField6.setOpaque(false); _nsTextField6.setText("Grandfather\n"); _nsTextField6.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField6.setSelectable(false); _nsTextField6.setEnabled(true); _nsTextField6.setBorder(null); if (_replacedObjects.objectForKey("_nsButton7") == null) { _setFontForComponent(_nsButton7, "Lucida Grande", 13, Font.PLAIN); _nsButton7.setMargin(new Insets(0, 2, 0, 2)); } _setFontForComponent(_nsTextField5, "Lucida Grande", 13, Font.PLAIN + Font.BOLD); _nsTextField5.setEditable(false); _nsTextField5.setOpaque(false); _nsTextField5.setText("Grandmother\n"); _nsTextField5.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField5.setSelectable(false); _nsTextField5.setEnabled(true); _nsTextField5.setBorder(null); if (_replacedObjects.objectForKey("_nsButton6") == null) { _setFontForComponent(_nsButton6, "Lucida Grande", 13, Font.PLAIN); _nsButton6.setMargin(new Insets(0, 2, 0, 2)); } _setFontForComponent(_nsTextField4, "Lucida Grande", 13, Font.PLAIN + Font.BOLD); _nsTextField4.setEditable(false); _nsTextField4.setOpaque(false); _nsTextField4.setText("Mother\n"); _nsTextField4.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField4.setSelectable(false); _nsTextField4.setEnabled(true); _nsTextField4.setBorder(null); if (_replacedObjects.objectForKey("_nsButton5") == null) { _setFontForComponent(_nsButton5, "Lucida Grande", 13, Font.PLAIN); _nsButton5.setMargin(new Insets(0, 2, 0, 2)); } _setFontForComponent(_nsTextField3, "Lucida Grande", 13, Font.PLAIN + Font.BOLD); _nsTextField3.setEditable(false); _nsTextField3.setOpaque(false); _nsTextField3.setText("Spouse\n"); _nsTextField3.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField3.setSelectable(false); _nsTextField3.setEnabled(true); _nsTextField3.setBorder(null); if (_replacedObjects.objectForKey("_nsButton4") == null) { _setFontForComponent(_nsButton4, "Lucida Grande", 13, Font.PLAIN); _nsButton4.setMargin(new Insets(0, 2, 0, 2)); } _setFontForComponent(_nsTextField2, "Lucida Grande", 13, Font.PLAIN + Font.BOLD); _nsTextField2.setEditable(false); _nsTextField2.setOpaque(false); _nsTextField2.setText("Individual\n"); _nsTextField2.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField2.setSelectable(false); _nsTextField2.setEnabled(true); _nsTextField2.setBorder(null); if (_replacedObjects.objectForKey("_nsButton3") == null) { _setFontForComponent(_nsButton3, "Lucida Grande", 13, Font.PLAIN); _nsButton3.setMargin(new Insets(0, 2, 0, 2)); } _setFontForComponent(_nsTextField1, "Lucida Grande", 13, Font.PLAIN + Font.BOLD); _nsTextField1.setEditable(false); _nsTextField1.setOpaque(false); _nsTextField1.setText("Father\n"); _nsTextField1.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField1.setSelectable(false); _nsTextField1.setEnabled(true); _nsTextField1.setBorder(null); if (_replacedObjects.objectForKey("_nsButton2") == null) { _setFontForComponent(_nsButton2, "Lucida Grande", 13, Font.PLAIN); _nsButton2.setMargin(new Insets(0, 2, 0, 2)); } _setFontForComponent(_nsTextField0, "Lucida Grande", 13, Font.PLAIN + Font.BOLD); _nsTextField0.setEditable(false); _nsTextField0.setOpaque(false); _nsTextField0.setText("Grandfather\n"); _nsTextField0.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField0.setSelectable(false); _nsTextField0.setEnabled(true); _nsTextField0.setBorder(null); if (_replacedObjects.objectForKey("_nsButton1") == null) { _setFontForComponent(_nsButton1, "Lucida Grande", 13, Font.PLAIN); _nsButton1.setMargin(new Insets(0, 2, 0, 2)); } if (_replacedObjects.objectForKey("_nsButton0") == null) { _setFontForComponent(_nsButton0, "Lucida Grande", 13, Font.PLAIN + Font.BOLD); _nsButton0.setMargin(new Insets(0, 2, 0, 2)); } _eoTableColumn2.setMinWidth(40); _eoTableColumn2.setMaxWidth(1000); _eoTableColumn2.setPreferredWidth(181); _eoTableColumn2.setWidth(181); _eoTableColumn2.setResizable(true); _eoTableColumn2.setHeaderValue(""); if ((_eoTableColumn2.getHeaderRenderer() != null)) { ((DefaultTableCellRenderer)(_eoTableColumn2.getHeaderRenderer())).setHorizontalAlignment(javax.swing.JTextField.LEFT); } if (_replacedObjects.objectForKey("_nsTableView1") == null) { _nsTableView1.table().addColumn(_eoTableColumn2); _setFontForComponent(_nsTableView1.table().getTableHeader(), "Lucida Grande", 11, Font.PLAIN); _nsTableView1.table().setRowHeight(20); } if (!(_nsBox3.getLayout() instanceof EOViewLayout)) { _nsBox3.setLayout(new EOViewLayout()); } _nsTableView1.setSize(186, 175); _nsTableView1.setLocation(14, 6); ((EOViewLayout)_nsBox3.getLayout()).setAutosizingMask(_nsTableView1, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsBox3.add(_nsTableView1); if (!(_nsBox2.getLayout() instanceof EOViewLayout)) { _nsBox2.setLayout(new EOViewLayout()); } _nsBox3.setSize(212, 195); _nsBox3.setLocation(0, 18); ((EOViewLayout)_nsBox2.getLayout()).setAutosizingMask(_nsBox3, EOViewLayout.MinYMargin); _nsBox2.add(_nsBox3); _nsBox2.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("Individual's Spouses", false, "Lucida Grande", 13, Font.PLAIN + Font.BOLD)); _eoTableColumn1.setMinWidth(8); _eoTableColumn1.setMaxWidth(1000); _eoTableColumn1.setPreferredWidth(158); _eoTableColumn1.setWidth(158); _eoTableColumn1.setResizable(true); _eoTableColumn1.setHeaderValue(""); if ((_eoTableColumn1.getHeaderRenderer() != null)) { ((DefaultTableCellRenderer)(_eoTableColumn1.getHeaderRenderer())).setHorizontalAlignment(javax.swing.JTextField.LEFT); } _eoTableColumn0.setMinWidth(10); _eoTableColumn0.setMaxWidth(40); _eoTableColumn0.setPreferredWidth(20); _eoTableColumn0.setWidth(20); _eoTableColumn0.setResizable(false); _eoTableColumn0.setHeaderValue(""); if ((_eoTableColumn0.getCellRenderer() instanceof DefaultTableCellRenderer) || (_eoTableColumn0.getCellRenderer() == null)) { DefaultTableCellRenderer renderer = new DefaultTableCellRenderer(); renderer.setHorizontalAlignment(javax.swing.JTextField.CENTER); _eoTableColumn0.setCellRenderer(renderer); } if ((_eoTableColumn0.getHeaderRenderer() != null)) { ((DefaultTableCellRenderer)(_eoTableColumn0.getHeaderRenderer())).setHorizontalAlignment(javax.swing.JTextField.LEFT); } if (_replacedObjects.objectForKey("_nsTableView0") == null) { _nsTableView0.table().addColumn(_eoTableColumn0); _nsTableView0.table().addColumn(_eoTableColumn1); _setFontForComponent(_nsTableView0.table().getTableHeader(), "Lucida Grande", 11, Font.PLAIN); _nsTableView0.table().setRowHeight(20); } if (!(_nsBox1.getLayout() instanceof EOViewLayout)) { _nsBox1.setLayout(new EOViewLayout()); } _nsTableView0.setSize(186, 175); _nsTableView0.setLocation(14, 6); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsTableView0, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsBox1.add(_nsTableView0); if (!(_nsBox0.getLayout() instanceof EOViewLayout)) { _nsBox0.setLayout(new EOViewLayout()); } _nsBox1.setSize(218, 195); _nsBox1.setLocation(0, 18); ((EOViewLayout)_nsBox0.getLayout()).setAutosizingMask(_nsBox1, EOViewLayout.MinYMargin); _nsBox0.add(_nsBox1); _nsBox0.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("Children", false, "Lucida Grande", 13, Font.PLAIN + Font.BOLD)); if (!(_nsView0.getLayout() instanceof EOViewLayout)) { _nsView0.setLayout(new EOViewLayout()); } _nsBox0.setSize(218, 213); _nsBox0.setLocation(17, 271); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsBox0, EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView0.add(_nsBox0); _nsBox2.setSize(212, 213); _nsBox2.setLocation(237, 271); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsBox2, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView0.add(_nsBox2); _nsButton0.setSize(143, 28); _nsButton0.setLocation(299, 129); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton0, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView0.add(_nsButton0); _nsButton1.setSize(208, 105); _nsButton1.setLocation(458, 19); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton1, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable); _nsView0.add(_nsButton1); _nsTextField0.setSize(114, 32); _nsTextField0.setLocation(458, 1); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField0, EOViewLayout.MinXMargin | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin); _nsView0.add(_nsTextField0); _nsButton2.setSize(204, 105); _nsButton2.setLocation(238, 19); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton2, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView0.add(_nsButton2); _nsTextField1.setSize(114, 32); _nsTextField1.setLocation(238, 1); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField1, EOViewLayout.MinXMargin | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin); _nsView0.add(_nsTextField1); _nsButton3.setSize(204, 105); _nsButton3.setLocation(18, 19); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton3, EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable); _nsView0.add(_nsButton3); _nsTextField2.setSize(114, 32); _nsTextField2.setLocation(18, 1); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField2, EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin); _nsView0.add(_nsTextField2); _nsButton4.setSize(204, 105); _nsButton4.setLocation(18, 163); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton4, EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView0.add(_nsButton4); _nsTextField3.setSize(114, 32); _nsTextField3.setLocation(18, 145); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField3, EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.MinYMargin); _nsView0.add(_nsTextField3); _nsButton5.setSize(204, 105); _nsButton5.setLocation(238, 163); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton5, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView0.add(_nsButton5); _nsTextField4.setSize(114, 32); _nsTextField4.setLocation(238, 145); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField4, EOViewLayout.MinXMargin | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.MinYMargin); _nsView0.add(_nsTextField4); _nsButton6.setSize(204, 105); _nsButton6.setLocation(458, 140); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton6, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView0.add(_nsButton6); _nsTextField5.setSize(114, 32); _nsTextField5.setLocation(458, 122); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField5, EOViewLayout.MinXMargin | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.MinYMargin); _nsView0.add(_nsTextField5); _nsButton7.setSize(207, 105); _nsButton7.setLocation(458, 262); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton7, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView0.add(_nsButton7); _nsTextField6.setSize(114, 32); _nsTextField6.setLocation(458, 244); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField6, EOViewLayout.MinXMargin | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.MinYMargin); _nsView0.add(_nsTextField6); _nsButton8.setSize(204, 105); _nsButton8.setLocation(458, 383); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton8, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView0.add(_nsButton8); _nsTextField7.setSize(114, 32); _nsTextField7.setLocation(458, 365); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField7, EOViewLayout.MinXMargin | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.MinYMargin); _nsView0.add(_nsTextField7); _nsButton9.setSize(143, 28); _nsButton9.setLocation(79, 129); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton9, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView0.add(_nsButton9); _nsTabView0.addTab("Family View", _nsView0); _nsTabView0.addTab("Individual Details", _nsView1); if (!(_nsView3.getLayout() instanceof EOViewLayout)) { _nsView3.setLayout(new EOViewLayout()); } _nsTabView0.setSize(690, 528); _nsTabView0.setLocation(8, 7); ((EOViewLayout)_nsView3.getLayout()).setAutosizingMask(_nsTabView0, EOViewLayout.WidthSizable | EOViewLayout.HeightSizable); _nsView3.add(_nsTabView0); if (_replacedObjects.objectForKey("_eoFrame1") == null) { _nsView3.setSize(706, 542); _eoFrame1.setTitle("MacPAF"); _eoFrame1.setLocation(153, 308); _eoFrame1.setSize(706, 542); } _setFontForComponent(_jRadioButton3, "Lucida Grande", 13, Font.PLAIN); _setFontForComponent(_jRadioButton2, "Lucida Grande", 13, Font.PLAIN); _setFontForComponent(_jRadioButton1, "Lucida Grande", 13, Font.PLAIN); _setFontForComponent(_jRadioButton0, "Lucida Grande", 13, Font.PLAIN); if (_replacedObjects.objectForKey("_nsMatrix0") == null) { _jRadioButton0.setSize(147, 18); _jRadioButton0.setLocation(0, 0); _nsMatrix0.add(_jRadioButton0); _jRadioButton1.setSize(147, 18); _jRadioButton1.setLocation(0, 20); _nsMatrix0.add(_jRadioButton1); _jRadioButton2.setSize(147, 18); _jRadioButton2.setLocation(0, 40); _nsMatrix0.add(_jRadioButton2); _jRadioButton3.setSize(147, 18); _jRadioButton3.setLocation(0, 60); _nsMatrix0.add(_jRadioButton3); _setFontForComponent(_nsMatrix0, "Lucida Grande", 13, Font.PLAIN); } if (!(_nsView2.getLayout() instanceof EOViewLayout)) { _nsView2.setLayout(new EOViewLayout()); } _nsMatrix0.setSize(147, 78); _nsMatrix0.setLocation(47, 44); ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsMatrix0, EOViewLayout.MinYMargin); _nsView2.add(_nsMatrix0); _nsButton21.setSize(77, 26); _nsButton21.setLocation(190, 160); ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsButton21, EOViewLayout.MinYMargin); _nsView2.add(_nsButton21); _nsButton20.setSize(77, 26); _nsButton20.setLocation(106, 160); ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsButton20, EOViewLayout.MinYMargin); _nsView2.add(_nsButton20); if (_replacedObjects.objectForKey("_eoFrame0") == null) { _nsView2.setSize(276, 196); _eoFrame0.setTitle("Print Reports"); _eoFrame0.setLocation(280, 390); _eoFrame0.setSize(276, 196); } }
6190 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6190/da48cac11a5f1f0affd57bba7a54108fd37ff96c/_MyDocument_EOArchive_English.java/clean/MacPAF/English.lproj/MyDocument.nib/_MyDocument_EOArchive_English.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 389, 2738, 1435, 288, 3639, 2240, 6315, 2738, 5621, 3639, 389, 542, 5711, 1290, 1841, 24899, 2387, 3616, 5558, 16, 315, 48, 5286, 350, 69, 611, 2450, 323, 3113, 5958, 16, 10063, 18, 26549, 1769, 3639, 389, 2387, 3616, 5558, 18, 542, 9524, 12, 2704, 22300, 12, 20, 16, 576, 16, 374, 16, 576, 10019, 3639, 389, 542, 5711, 1290, 1841, 24899, 2387, 16157, 6334, 16, 315, 48, 5286, 350, 69, 611, 2450, 323, 3113, 5958, 16, 10063, 18, 26549, 1769, 3639, 389, 2387, 16157, 6334, 18, 542, 15470, 12, 3767, 1769, 3639, 389, 2387, 16157, 6334, 18, 542, 3817, 14886, 12, 3767, 1769, 3639, 389, 2387, 16157, 6334, 18, 542, 1528, 2932, 8863, 3639, 389, 2387, 16157, 6334, 18, 542, 14457, 11535, 12, 28384, 18, 5328, 310, 18, 46, 16157, 18, 10066, 1769, 3639, 389, 2387, 16157, 6334, 18, 542, 31544, 12, 3767, 1769, 3639, 389, 2387, 16157, 6334, 18, 542, 1526, 12, 3767, 1769, 3639, 389, 542, 5711, 1290, 1841, 24899, 2387, 16157, 8942, 16, 315, 48, 5286, 350, 69, 611, 2450, 323, 3113, 5958, 16, 10063, 18, 26549, 1769, 3639, 389, 2387, 16157, 8942, 18, 542, 15470, 12, 5743, 1769, 3639, 389, 2387, 16157, 8942, 18, 542, 3817, 14886, 12, 5743, 1769, 3639, 389, 2387, 16157, 8942, 18, 542, 1528, 2932, 24529, 611, 2056, 4208, 585, 358, 1930, 2773, 1769, 3639, 389, 2387, 16157, 8942, 18, 542, 14457, 11535, 12, 28384, 18, 5328, 310, 18, 46, 16157, 18, 10066, 1769, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 389, 2738, 1435, 288, 3639, 2240, 6315, 2738, 5621, 3639, 389, 542, 5711, 1290, 1841, 24899, 2387, 3616, 5558, 16, 315, 48, 5286, 350, 69, 611, 2450, 323, 3113, 5958, 16, 10063, 18, 26549, 1769, 3639, 389, 2387, 3616, 5558, 18, 542, 9524, 12, 2704, 22300, 12, 20, 16, 576, 16, 374, 16, 576, 10019, 3639, 389, 542, 5711, 1290, 1841, 24899, 2387, 16157, 6334, 16, 315, 48, 5286, 350, 69, 611, 2450, 323, 3113, 5958, 16, 10063, 18, 26549, 1769, 3639, 389, 2387, 16157, 6334, 18, 542, 15470, 12, 3767, 1769, 3639, 389, 2387, 16157, 6334, 18, 542, 3817, 14886, 12, 3767, 1769, 3639, 389, 2387, 16157, 6334, 18, 542, 1528, 2932, 8863, 3639, 389, 2 ]
if (log.isTraceEnabled()) { log.trace("acknowledging " + messageID); }
if (trace) { log.trace("acknowledging " + messageID); }
void acknowledge(String messageID, Transaction tx) throws JMSException { if (log.isTraceEnabled()) { log.trace("acknowledging " + messageID); } SingleReceiverDelivery d = null; if (tx == null) { //No transaction so we remove the delivery now d = (SingleReceiverDelivery)deliveries.remove(messageID); } else { //The actual removal of the deliveries from the delivery list is deferred until tx commit d = (SingleReceiverDelivery)deliveries.get(messageID); if (deliveryCallback == null) { deliveryCallback = new DeliveryCallback(); tx.addCallback(deliveryCallback); } deliveryCallback.addMessageID(messageID); } if (d != null) { try { d.acknowledge(tx); } catch(Throwable t) { throw new JBossJMSException("Message " + messageID + "cannot be acknowledged to the source", t); } } else { throw new IllegalStateException("Failed to acknowledge delivery " + d); } }
3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/bb5207822a56158d5b94faff7c6dbe5f094f6f4c/ServerConsumerEndpoint.java/buggy/src/main/org/jboss/jms/server/endpoint/ServerConsumerEndpoint.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 918, 28922, 12, 780, 883, 734, 16, 5947, 2229, 13, 1216, 20343, 282, 288, 1377, 309, 261, 5129, 13, 288, 613, 18, 5129, 2932, 484, 10378, 1998, 315, 397, 883, 734, 1769, 289, 5411, 10326, 12952, 8909, 302, 273, 446, 31, 5411, 309, 261, 978, 422, 446, 13, 1377, 288, 540, 368, 2279, 2492, 1427, 732, 1206, 326, 7912, 2037, 540, 302, 273, 261, 5281, 12952, 8909, 13, 26672, 606, 18, 4479, 12, 2150, 734, 1769, 1377, 289, 1377, 469, 1377, 288, 540, 368, 1986, 3214, 14817, 434, 326, 11795, 606, 628, 326, 7912, 666, 353, 7045, 3180, 2229, 3294, 1850, 302, 273, 261, 5281, 12952, 8909, 13, 26672, 606, 18, 588, 12, 2150, 734, 1769, 540, 309, 261, 15703, 2428, 422, 446, 13, 540, 288, 5411, 7912, 2428, 273, 394, 17390, 2428, 5621, 5411, 2229, 18, 1289, 2428, 12, 15703, 2428, 1769, 540, 289, 540, 7912, 2428, 18, 1289, 1079, 734, 12, 2150, 734, 1769, 9079, 289, 1377, 309, 261, 72, 480, 446, 13, 1377, 288, 540, 775, 540, 288, 5411, 302, 18, 484, 14390, 12, 978, 1769, 540, 289, 540, 1044, 12, 15155, 268, 13, 540, 288, 5411, 604, 394, 804, 38, 8464, 46, 3537, 503, 2932, 1079, 315, 397, 883, 734, 397, 315, 12892, 506, 23262, 2423, 358, 326, 1084, 3113, 268, 1769, 540, 289, 4202, 289, 1377, 469, 1377, 288, 540, 604, 394, 5477, 2932, 2925, 358, 28922, 7912, 315, 397, 302, 1769, 1377, 289, 1850, 289, 2, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 918, 28922, 12, 780, 883, 734, 16, 5947, 2229, 13, 1216, 20343, 282, 288, 1377, 309, 261, 5129, 13, 288, 613, 18, 5129, 2932, 484, 10378, 1998, 315, 397, 883, 734, 1769, 289, 5411, 10326, 12952, 8909, 302, 273, 446, 31, 5411, 309, 261, 978, 422, 446, 13, 1377, 288, 540, 368, 2279, 2492, 1427, 732, 1206, 326, 7912, 2037, 540, 302, 273, 261, 5281, 12952, 8909, 13, 26672, 606, 18, 4479, 12, 2150, 734, 1769, 1377, 289, 1377, 469, 1377, 288, 540, 368, 1986, 3214, 14817, 434, 326, 11795, 606, 628, 326, 7912, 666, 353, 7045, 3180, 2229, 3294, 1850, 302, 273, 261, 5281, 12952, 8909, 13, 26672, 606, 18, 588, 12, 2150, 734, 1769, 540, 309, 2 ]
Transformer.transform(TEMP_A1, FILTERED_A1, new Filter[] {cf1, new LineNumberFilter()});
Transformer.transform( TEMP_A1, FILTERED_A1, new Filter[] { cf1, new LineNumberFilter(), new SunReflectFilter(), new JunitTestRunnerFilter() });
public void test1() throws Exception { DOMConfigurator.configure("input/xml/DOMTestCase1.xml"); common(); ControlFilter cf1 = new ControlFilter(new String[]{TEST1_1A_PAT, TEST1_1B_PAT, EXCEPTION1, EXCEPTION2, EXCEPTION3}); ControlFilter cf2 = new ControlFilter(new String[]{TEST1_2_PAT, EXCEPTION1, EXCEPTION2, EXCEPTION3}); Transformer.transform(TEMP_A1, FILTERED_A1, new Filter[] {cf1, new LineNumberFilter()}); Transformer.transform(TEMP_A2, FILTERED_A2, new Filter[] {cf2, new LineNumberFilter(), new ISO8601Filter()}); assertTrue(Compare.compare(FILTERED_A1, "witness/dom.A1.1")); assertTrue(Compare.compare(FILTERED_A2, "witness/dom.A2.1")); }
45952 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45952/e21c36f5726823c924845021799a2b3a7637c204/DOMTestCase.java/buggy/tests/src/java/org/apache/log4j/xml/DOMTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 21, 1435, 1216, 1185, 288, 565, 4703, 17182, 18, 14895, 2932, 2630, 19, 2902, 19, 8168, 4709, 2449, 21, 18, 2902, 8863, 565, 2975, 5621, 565, 8888, 1586, 6080, 21, 273, 394, 8888, 1586, 12, 2704, 514, 63, 7073, 16961, 21, 67, 21, 37, 67, 8592, 16, 22130, 21, 67, 21, 38, 67, 8592, 16, 9944, 4202, 23136, 21, 16, 23136, 22, 16, 23136, 23, 22938, 565, 8888, 1586, 6080, 22, 273, 394, 8888, 1586, 12, 2704, 514, 63, 7073, 16961, 21, 67, 22, 67, 8592, 16, 9944, 4202, 23136, 21, 16, 23136, 22, 16, 23136, 23, 22938, 565, 11519, 18, 6547, 12, 10258, 67, 37, 21, 16, 8919, 2056, 67, 37, 21, 16, 394, 4008, 8526, 288, 8522, 21, 16, 15106, 202, 2704, 5377, 1854, 1586, 17767, 1769, 565, 11519, 18, 6547, 12, 10258, 67, 37, 22, 16, 8919, 2056, 67, 37, 22, 16, 394, 4008, 8526, 288, 8522, 22, 16, 4766, 1377, 394, 5377, 1854, 1586, 9334, 394, 9351, 14181, 1586, 17767, 1769, 565, 1815, 5510, 12, 8583, 18, 9877, 12, 11126, 2056, 67, 37, 21, 16, 315, 91, 9746, 19, 9859, 18, 37, 21, 18, 21, 7923, 1769, 565, 1815, 5510, 12, 8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, 8168, 4709, 2449, 21, 18, 2902, 8863, 565, 2975, 5621, 565, 8888, 1586, 6080, 21, 273, 394, 8888, 1586, 12, 2704, 514, 63, 7073, 16961, 21, 67, 21, 37, 67, 8592, 16, 22130, 21, 67, 21, 38, 67, 8592, 16, 9944, 4202, 23136, 21, 16, 23136, 22, 16, 23136, 23, 22938, 565, 8888, 1586, 6080, 22, 273, 394, 8888, 1586, 12, 2704, 514, 63, 7073, 16961, 21, 67, 22, 67, 8592, 16, 9944, 4202, 23136, 21, 16, 23136, 22, 16, 23136, 23, 22938, 565, 11519, 18, 6547, 12, 10258, 67, 37, 21, 16, 8919, 2056, 67, 37, 21, 16, 394, 2 ]
protected Iterator getAbouts(Object nativeItem)
public Iterator getAbouts(Object nativeItem)
protected Iterator getAbouts(Object nativeItem) { // Nothing in the about section for now return new LinkedList().iterator(); }
47214 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47214/9a9b0307b93afcc19694d4cb51db0f653b91a0be/DSpaceRecordFactory.java/clean/dspace/src/org/dspace/app/oai/DSpaceRecordFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4498, 4506, 70, 20125, 12, 921, 6448, 1180, 13, 565, 288, 3639, 368, 13389, 316, 326, 2973, 2442, 364, 2037, 3639, 327, 394, 10688, 7675, 9838, 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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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, 4498, 4506, 70, 20125, 12, 921, 6448, 1180, 13, 565, 288, 3639, 368, 13389, 316, 326, 2973, 2442, 364, 2037, 3639, 327, 394, 10688, 7675, 9838, 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 ]
Bundle bundle= Platform.getBundle(pageConfigElement.getNamespace());
Bundle bundle= Platform.getBundle(pageConfigElement.getContributor().getName());
private void initializeDefaultPageImageDescriptor(IConfigurationElement pageConfigElement) { String banner= pageConfigElement.getAttribute("banner"); //$NON-NLS-1$ if (banner != null) { Bundle bundle= Platform.getBundle(pageConfigElement.getNamespace()); setDefaultPageImageDescriptor(ExampleProjectsPlugin.createImageDescriptor(bundle, new Path(banner))); } }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/1b858b5940f3c6be50b908e06cfca72522eca019/ExampleProjectCreationWizard.java/buggy/org.eclipse.jdt.ui.examples.projects/examples/org/eclipse/jdt/internal/ui/exampleprojects/ExampleProjectCreationWizard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 4046, 1868, 1964, 2040, 3187, 12, 45, 1750, 1046, 1363, 809, 1046, 13, 288, 202, 202, 780, 14090, 33, 1363, 809, 1046, 18, 588, 1499, 2932, 16563, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4046, 1868, 1964, 2040, 3187, 12, 45, 1750, 1046, 1363, 809, 1046, 13, 288, 202, 202, 780, 14090, 33, 1363, 809, 1046, 18, 588, 1499, 2932, 16563, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 430, 261, 16563, 480, 446, 13, 288, 1082, 202, 3405, 3440, 33, 11810, 18, 588, 3405, 12, 2433, 809, 1046, 18, 588, 3402, 10663, 1082, 202, 542, 1868, 1964, 2040, 3187, 12, 10908, 15298, 3773, 18, 2640, 2040, 3187, 12, 9991, 16, 394, 2666, 12, 16563, 3719, 1769, 202, 202, 97, 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 ]
Iterator iter = extAttrs.iterator();
Iterator<ExtendedAttribute> iter = extAttrs.iterator();
private void removeExtendedAttributes(VFS vfs) { String[] attrs = vfs.getExtendedAttributes();vfs_attr_loop: for(int i = 0; i < attrs.length; i++) { Iterator iter = extAttrs.iterator(); while(iter.hasNext()) { ExtendedAttribute attr = (ExtendedAttribute) iter.next(); if(attrs[i].equals(attr.name)) { if(--attr.ref == 0) { // we no longer have any // dirs using this extended // attribute iter.remove(); } continue vfs_attr_loop; } } // this vfs has an extended attribute which is not // in the list ??? Log.log(Log.WARNING,this,"We forgot about " + attrs[i]); } } //}}}
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/84408cf256608d7cd19ed19599fc2d21d1b95255/VFSDirectoryEntryTableModel.java/buggy/org/gjt/sp/jedit/browser/VFSDirectoryEntryTableModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1206, 11456, 2498, 12, 58, 4931, 20682, 13, 202, 95, 202, 202, 780, 8526, 3422, 273, 20682, 18, 588, 11456, 2498, 5621, 90, 2556, 67, 1747, 67, 6498, 30, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 3422, 18, 2469, 31, 277, 27245, 202, 202, 95, 1082, 202, 3198, 1400, 273, 1110, 8262, 18, 9838, 5621, 1082, 202, 17523, 12, 2165, 18, 5332, 2134, 10756, 1082, 202, 95, 9506, 202, 11456, 1499, 1604, 273, 261, 11456, 1499, 13, 6862, 202, 2165, 18, 4285, 5621, 9506, 202, 430, 12, 7039, 63, 77, 8009, 14963, 12, 1747, 18, 529, 3719, 9506, 202, 95, 6862, 202, 430, 12, 413, 1747, 18, 1734, 422, 374, 13, 6862, 202, 95, 25083, 202, 759, 732, 1158, 7144, 1240, 1281, 25083, 202, 759, 7717, 1450, 333, 7021, 25083, 202, 759, 1566, 25083, 202, 2165, 18, 4479, 5621, 6862, 202, 97, 6862, 202, 17143, 20682, 67, 1747, 67, 6498, 31, 9506, 202, 97, 1082, 202, 97, 1082, 202, 759, 333, 20682, 711, 392, 7021, 1566, 1492, 353, 486, 1082, 202, 759, 316, 326, 666, 5317, 35, 1082, 202, 1343, 18, 1330, 12, 1343, 18, 9511, 16, 2211, 10837, 3218, 364, 13212, 2973, 315, 397, 3422, 63, 77, 19226, 202, 202, 97, 202, 97, 368, 9090, 97, 2, 0, 0, 0, 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273, 374, 31, 277, 411, 3422, 18, 2469, 31, 277, 27245, 202, 202, 95, 1082, 202, 3198, 1400, 273, 1110, 8262, 18, 9838, 5621, 1082, 202, 17523, 12, 2165, 18, 5332, 2134, 10756, 1082, 202, 95, 9506, 202, 11456, 1499, 1604, 273, 261, 11456, 1499, 13, 6862, 202, 2165, 18, 4285, 5621, 9506, 202, 430, 12, 7039, 63, 77, 8009, 14963, 12, 1747, 18, 529, 3719, 9506, 202, 95, 6862, 202, 430, 12, 413, 1747, 18, 1734, 422, 374, 13, 6862, 2 ]
public final void setSyllabusData(SyllabusData syllabusData)
public void setSyllabusData(SyllabusData syllabusData)
public final void setSyllabusData(SyllabusData syllabusData) { this.syllabusData = syllabusData; }
2021 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2021/2ebfd63dc20d4ba03775fdb6e7808117d1121c17/SyllabusAttachmentImpl.java/clean/syllabus/syllabus-hbm/src/java/org/sakaiproject/component/app/syllabus/SyllabusAttachmentImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 10876, 2906, 378, 407, 751, 12, 10876, 2906, 378, 407, 751, 18832, 378, 407, 751, 13, 225, 288, 565, 333, 18, 9009, 2906, 378, 407, 751, 273, 18832, 378, 407, 751, 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,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, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 10876, 2906, 378, 407, 751, 12, 10876, 2906, 378, 407, 751, 18832, 378, 407, 751, 13, 225, 288, 565, 333, 18, 9009, 2906, 378, 407, 751, 273, 18832, 378, 407, 751, 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 ]
long committedRevision = updater.doCopy(srcURL, srcPegRevision, srcRevision, dstURL, dstPegRevision, false, commitMessage); if (committedRevision >= 0) {
SVNCommitInfo result = updater.doCopy(srcURL, srcPegRevision, srcRevision, dstURL, dstPegRevision, false, commitMessage); if (result != SVNCommitInfo.NULL) {
private void runRemote(PrintStream out, PrintStream err) throws SVNException { if (getCommandLine().getURLCount() != 2) { throw new SVNException("Please enter SRC and DST URL"); } String srcURL = getCommandLine().getURL(0); SVNRevision srcRevision = SVNRevision.parse((String) getCommandLine().getArgumentValue(SVNArgument.REVISION)); SVNRevision srcPegRevision = getCommandLine().getPegRevision(0); String dstURL = getCommandLine().getURL(1); SVNRevision dstPegRevision = getCommandLine().getPegRevision(1); if (matchTabsInPath(srcURL, err) || matchTabsInPath(dstURL, err)) { return; } String commitMessage = (String) getCommandLine().getArgumentValue(SVNArgument.MESSAGE); SVNCopyClient updater = new SVNCopyClient(getCredentialsProvider(), new SVNCommandEventProcessor(out, err, false)); long committedRevision = updater.doCopy(srcURL, srcPegRevision, srcRevision, dstURL, dstPegRevision, false, commitMessage); if (committedRevision >= 0) { out.println(); out.println("Committed revision " + committedRevision + "."); } }
5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/a4432e89c637c38420797cd6885caa05317a34c3/CopyCommand.java/buggy/javasvn/src/org/tmatesoft/svn/cli/command/CopyCommand.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1086, 5169, 12, 5108, 1228, 596, 16, 21677, 393, 13, 1216, 29537, 50, 503, 288, 3639, 309, 261, 588, 21391, 7675, 588, 1785, 1380, 1435, 480, 576, 13, 288, 5411, 604, 394, 29537, 50, 503, 2932, 8496, 6103, 348, 11529, 471, 463, 882, 1976, 8863, 3639, 289, 3639, 514, 1705, 1785, 273, 12856, 1670, 7675, 588, 1785, 12, 20, 1769, 3639, 29537, 50, 7939, 1705, 7939, 273, 29537, 50, 7939, 18, 2670, 12443, 780, 13, 12856, 1670, 7675, 588, 1379, 620, 12, 23927, 50, 1379, 18, 862, 25216, 10019, 3639, 29537, 50, 7939, 1705, 52, 1332, 7939, 273, 12856, 1670, 7675, 588, 52, 1332, 7939, 12, 20, 1769, 3639, 514, 3046, 1785, 273, 12856, 1670, 7675, 588, 1785, 12, 21, 1769, 3639, 29537, 50, 7939, 3046, 52, 1332, 7939, 273, 12856, 1670, 7675, 588, 52, 1332, 7939, 12, 21, 1769, 3639, 309, 261, 1916, 17348, 382, 743, 12, 4816, 1785, 16, 393, 13, 747, 845, 17348, 382, 743, 12, 11057, 1785, 16, 393, 3719, 288, 5411, 327, 31, 3639, 289, 3639, 514, 3294, 1079, 273, 261, 780, 13, 12856, 1670, 7675, 588, 1379, 620, 12, 23927, 50, 1379, 18, 8723, 1769, 3639, 29537, 50, 2951, 1227, 7760, 273, 394, 29537, 50, 2951, 1227, 12, 588, 6163, 2249, 9334, 394, 29537, 50, 2189, 1133, 5164, 12, 659, 16, 393, 16, 629, 10019, 3639, 1525, 16015, 7939, 273, 7760, 18, 2896, 2951, 12, 4816, 1785, 16, 1705, 52, 1332, 7939, 16, 1705, 7939, 16, 3046, 1785, 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, 5169, 12, 5108, 1228, 596, 16, 21677, 393, 13, 1216, 29537, 50, 503, 288, 3639, 309, 261, 588, 21391, 7675, 588, 1785, 1380, 1435, 480, 576, 13, 288, 5411, 604, 394, 29537, 50, 503, 2932, 8496, 6103, 348, 11529, 471, 463, 882, 1976, 8863, 3639, 289, 3639, 514, 1705, 1785, 273, 12856, 1670, 7675, 588, 1785, 12, 20, 1769, 3639, 29537, 50, 7939, 1705, 7939, 273, 29537, 50, 7939, 18, 2670, 12443, 780, 13, 12856, 1670, 7675, 588, 1379, 620, 12, 23927, 50, 1379, 18, 862, 25216, 10019, 3639, 29537, 50, 7939, 1705, 52, 1332, 7939, 273, 12856, 1670, 7675, 588, 52, 1332, 7939, 12, 20, 1769, 3639, 514, 3046, 1785, 273, 12856, 1670, 7675, 2 ]
int c = query.charAt(i);
char c = query.charAt(i);
V2Query(String query, boolean withParameters) { if (!withParameters) { fragments = new String[] { query }; return; } // Parse query and find parameter placeholders. Vector v = new Vector(); boolean inQuotes = false; int lastParmEnd = 0; for (int i = 0; i < query.length(); ++i) { int c = query.charAt(i); if (c == '\'') inQuotes = !inQuotes; if (c == '?' && !inQuotes) { v.addElement(query.substring (lastParmEnd, i)); lastParmEnd = i + 1; } } v.addElement(query.substring (lastParmEnd, query.length())); fragments = new String[v.size()]; for (int i = 0 ; i < fragments.length; ++i) fragments[i] = (String)v.elementAt(i); }
49868 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49868/d4a408df9bc98621dfb236fe92318fdd4b6e3fa4/V2Query.java/buggy/org/postgresql/core/v2/V2Query.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 58, 22, 1138, 12, 780, 843, 16, 1250, 598, 2402, 13, 288, 202, 202, 430, 16051, 1918, 2402, 13, 288, 25083, 202, 29528, 273, 394, 514, 8526, 288, 843, 289, 31, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 759, 2884, 843, 471, 1104, 1569, 12150, 18, 202, 202, 5018, 331, 273, 394, 5589, 5621, 202, 202, 6494, 316, 14292, 273, 629, 31, 202, 202, 474, 1142, 27144, 1638, 273, 374, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 843, 18, 2469, 5621, 965, 77, 13, 202, 202, 95, 1082, 202, 474, 276, 273, 843, 18, 3001, 861, 12, 77, 1769, 1082, 202, 430, 261, 71, 422, 14118, 6134, 9506, 202, 267, 14292, 273, 401, 267, 14292, 31, 1082, 202, 430, 261, 71, 422, 6787, 597, 401, 267, 14292, 13, 1082, 202, 95, 9506, 202, 90, 18, 1289, 1046, 12, 2271, 18, 28023, 261, 2722, 27144, 1638, 16, 277, 10019, 9506, 202, 2722, 27144, 1638, 273, 277, 397, 404, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 90, 18, 1289, 1046, 12, 2271, 18, 28023, 261, 2722, 27144, 1638, 16, 843, 18, 2469, 1435, 10019, 9506, 202, 29528, 273, 394, 514, 63, 90, 18, 1467, 1435, 15533, 202, 202, 1884, 261, 474, 277, 273, 374, 274, 277, 411, 14656, 18, 2469, 31, 965, 77, 13, 1082, 202, 29528, 63, 77, 65, 273, 261, 780, 13, 90, 18, 2956, 861, 12, 77, 1769, 202, 97, 2, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 58, 22, 1138, 12, 780, 843, 16, 1250, 598, 2402, 13, 288, 202, 202, 430, 16051, 1918, 2402, 13, 288, 25083, 202, 29528, 273, 394, 514, 8526, 288, 843, 289, 31, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 759, 2884, 843, 471, 1104, 1569, 12150, 18, 202, 202, 5018, 331, 273, 394, 5589, 5621, 202, 202, 6494, 316, 14292, 273, 629, 31, 202, 202, 474, 1142, 27144, 1638, 273, 374, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 843, 18, 2469, 5621, 965, 77, 13, 202, 202, 95, 1082, 202, 474, 276, 273, 843, 18, 3001, 861, 12, 77, 1769, 1082, 202, 430, 261, 71, 422, 14118, 6134, 9506, 202, 267, 2 ]
Thread t = new Thread() { public void run() { try { latch.countDown(); Thread.sleep(200);
Thread t = new Thread() { public void run() { try { latch.countDown(); Thread.sleep(200);
public void testTakePut() throws Exception { final UMOSpace space = getSpaceFactory().create("test"); final Latch latch = new Latch(); Thread t = new Thread() { public void run() { try { latch.countDown(); Thread.sleep(200); assertNull(space.takeNoWait()); space.put("String1"); } catch (Exception e) { } } }; t.start(); latch.await(); long t0 = System.currentTimeMillis(); assertNull(space.takeNoWait()); Object o = space.take(); long t1 = System.currentTimeMillis(); t.join(); assertNotNull(o); assertEquals("String1", o); assertNull(space.takeNoWait()); assertTrue(t1 - t0 > 100); space.dispose(); }
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/acdfa287f985955d6c1d34c1dbffc923d3a61a76/AbstractLocalSpaceTestCase.java/clean/src/test/java/org/mule/impl/space/AbstractLocalSpaceTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 13391, 6426, 1435, 1216, 1185, 288, 3639, 727, 587, 5980, 3819, 3476, 273, 1322, 909, 1733, 7675, 2640, 2932, 3813, 8863, 3639, 727, 511, 505, 23313, 273, 394, 511, 505, 5621, 3639, 4884, 268, 273, 394, 4884, 1435, 288, 5411, 1071, 918, 1086, 1435, 288, 7734, 775, 288, 10792, 23313, 18, 1883, 4164, 5621, 10792, 4884, 18, 19607, 12, 6976, 1769, 10792, 1815, 2041, 12, 2981, 18, 22188, 2279, 5480, 10663, 10792, 3476, 18, 458, 2932, 780, 21, 8863, 7734, 289, 1044, 261, 503, 425, 13, 288, 7734, 289, 5411, 289, 3639, 289, 31, 3639, 268, 18, 1937, 5621, 3639, 23313, 18, 30515, 5621, 3639, 1525, 268, 20, 273, 2332, 18, 2972, 28512, 5621, 3639, 1815, 2041, 12, 2981, 18, 22188, 2279, 5480, 10663, 3639, 1033, 320, 273, 3476, 18, 22188, 5621, 3639, 1525, 268, 21, 273, 2332, 18, 2972, 28512, 5621, 3639, 268, 18, 5701, 5621, 3639, 25395, 12, 83, 1769, 3639, 1815, 8867, 2932, 780, 21, 3113, 320, 1769, 3639, 1815, 2041, 12, 2981, 18, 22188, 2279, 5480, 10663, 3639, 1815, 5510, 12, 88, 21, 300, 268, 20, 405, 2130, 1769, 3639, 3476, 18, 2251, 4150, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 13391, 6426, 1435, 1216, 1185, 288, 3639, 727, 587, 5980, 3819, 3476, 273, 1322, 909, 1733, 7675, 2640, 2932, 3813, 8863, 3639, 727, 511, 505, 23313, 273, 394, 511, 505, 5621, 3639, 4884, 268, 273, 394, 4884, 1435, 288, 5411, 1071, 918, 1086, 1435, 288, 7734, 775, 288, 10792, 23313, 18, 1883, 4164, 5621, 10792, 4884, 18, 19607, 12, 6976, 1769, 10792, 1815, 2041, 12, 2981, 18, 22188, 2279, 5480, 10663, 10792, 3476, 18, 458, 2932, 780, 21, 8863, 7734, 289, 1044, 261, 503, 425, 13, 288, 7734, 289, 5411, 289, 3639, 289, 31, 3639, 268, 18, 1937, 5621, 3639, 23313, 18, 30515, 5621, 3639, 1525, 268, 20, 273, 2332, 18, 2972, 28512, 5621, 3639, 2 ]
public ResultSet(Connection conn, Field[] fields, Vector tuples, String status, int updateCount)
public ResultSet(Connection conn, Field[] fields, Vector tuples, String status, int updateCount,int insertOID)
public ResultSet(Connection conn, Field[] fields, Vector tuples, String status, int updateCount) { super(conn,fields,tuples,status,updateCount); }
11803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11803/e3cc370d155c3cbf97f179a98d64c2ce1550e25f/ResultSet.java/clean/src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 10842, 12, 1952, 1487, 16, 2286, 8526, 1466, 16, 5589, 10384, 16, 514, 1267, 16, 509, 1089, 1380, 16, 474, 2243, 12945, 13, 225, 288, 1377, 2240, 12, 4646, 16, 2821, 16, 17705, 16, 2327, 16, 2725, 1380, 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, 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 288, 1377, 2240, 12, 4646, 16, 2821, 16, 17705, 16, 2327, 16, 2725, 1380, 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, -100, -100, -100, -100, -100 ]
return (cmdarg_stack != 0 && (cmdarg_stack & 1) != 0); }
return (cmdarg_stack != 0 && (cmdarg_stack & 1) != 0); }
private boolean CMDARG_P() { return (cmdarg_stack != 0 && (cmdarg_stack & 1) != 0); }
49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/af104711597d4d5b2089320e2517b95b8df14492/RubyYaccLexer.java/buggy/org/jruby/lexer/yacc/RubyYaccLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 18052, 10973, 67, 52, 1435, 288, 202, 202, 2463, 261, 4172, 3175, 67, 3772, 480, 374, 597, 261, 4172, 3175, 67, 3772, 473, 404, 13, 480, 374, 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, 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 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 18052, 10973, 67, 52, 1435, 288, 202, 202, 2463, 261, 4172, 3175, 67, 3772, 480, 374, 597, 261, 4172, 3175, 67, 3772, 473, 404, 13, 480, 374, 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 ]
DefaultCodeFormatterConstants.FORMATTER_BINARY_EXPRESSION_ALIGNMENT,
FORMATTER_BINARY_EXPRESSION_ALIGNMENT,
private static void version2to3(Map oldSettings) { /** * This is for the white space settings. */ checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_ARRAY_INITIALIZER_CONTINUATION_INDENTATION, DefaultCodeFormatterConstants.FORMATTER_CONTINUATION_INDENTATION_FOR_ARRAY_INITIALIZER); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_BLOCK_CLOSE_BRACE, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_CLOSING_BRACE_IN_BLOCK); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_IN_CATCH_EXPRESSION, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CATCH, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CATCH); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_MESSAGE_SEND, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_INVOCATION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_MESSAGE_SEND, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_INVOCATION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_IN_FOR_PARENS, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_FOR, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_FOR); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_IN_IF_CONDITION, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_IF, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_IF); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_IN_SWITCH_CONDITION, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_SWITCH, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_SWITCH); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_IN_SYNCHRONIZED_CONDITION, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_SYNCHRONIZED, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_SYNCHRONIZED); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_IN_WHILE_CONDITION, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_WHILE, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_WHILE); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_CONSTRUCTOR_ARGUMENTS, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_CONSTRUCTOR_DECLARATION_PARAMETERS); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_MESSAGESEND_ARGUMENTS, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_INVOCATION_ARGUMENTS); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_ARGUMENTS, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_DECLARATION_PARAMETERS); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_ARGUMENTS, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_DECLARATION_PARAMETERS); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_THROWS, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_DECLARATION_THROWS); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_THROWS, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_DECLARATION_THROWS); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_MESSAGE_SEND, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_INVOCATION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_MESSAGE_SEND, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_INVOCATION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_CONSTRUCTOR_ARGUMENTS, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_CONSTRUCTOR_DECLARATION_PARAMETERS); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_CONSTRUCTOR_THROWS, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_CONSTRUCTOR_DECLARATION_THROWS); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_CONSTRUCTOR_THROWS, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_CONSTRUCTOR_DECLARATION_THROWS); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_EXPLICITCONSTRUCTORCALL_ARGUMENTS, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_EXPLICIT_CONSTRUCTOR_CALL_ARGUMENTS); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_EXPLICITCONSTRUCTORCALL_ARGUMENTS, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_EXPLICIT_CONSTRUCTOR_CALL_ARGUMENTS); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_MESSAGESEND_ARGUMENTS, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_INVOCATION_ARGUMENTS); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_ARGUMENTS, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_DECLARATION_PARAMETERS); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_FIRST_ARGUMENT, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CONSTRUCTOR_DECLARATION, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_DECLARATION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_MESSAGE_SEND, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_INVOCATION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_ANONYMOUS_TYPE_OPEN_BRACE, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ANONYMOUS_TYPE_DECLARATION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_BLOCK_OPEN_BRACE, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_BLOCK); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CATCH_EXPRESSION, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_CATCH); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_METHOD_OPEN_BRACE, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_METHOD_DECLARATION, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_CONSTRUCTOR_DECLARATION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CONSTRUCTOR_DECLARATION_OPEN_PAREN, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_CONSTRUCTOR_DECLARATION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_FIRST_INITIALIZER, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_FOR_PAREN, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_FOR); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_IF_CONDITION, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_IF); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_MESSAGE_SEND, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_INVOCATION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_DECLARATION, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CONSTRUCTOR_DECLARATION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_METHOD_DECLARATION_OPEN_PAREN, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_DECLARATION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPEN_PAREN_IN_PARENTHESIZED_EXPRESSION, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_PARENTHESIZED_EXPRESSION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_SWITCH_CONDITION, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_SWITCH); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_SWITCH_OPEN_BRACE, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_SWITCH); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_SYNCHRONIZED_CONDITION, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_SYNCHRONIZED); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_TYPE_OPEN_BRACE, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_TYPE_DECLARATION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_WHILE_CONDITION, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_WHILE); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_BRACKETS_IN_ARRAY_REFERENCE, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACKET_IN_ARRAY_REFERENCE, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACKET_IN_ARRAY_REFERENCE); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_ARGUMENTS, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_DECLARATION, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_CONSTRUCTOR_DECLARATION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_ARRAY_INITIALIZER, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACES_IN_ARRAY_INITIALIZER); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_MESSAGESEND_ARGUMENTS, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_INVOCATION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_FORMAT_GUARDIAN_CLAUSE_ON_ONE_LINE, DefaultCodeFormatterConstants.FORMATTER_KEEP_GUARDIAN_CLAUSE_ON_ONE_LINE); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_BRACKET_IN_ARRAY_REFERENCE, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_REFERENCE); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_BRACKET_IN_ARRAY_TYPE_REFERENCE, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_TYPE_REFERENCE); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_ASSIGNMENT_OPERATORS, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_ASSIGNMENT_OPERATOR); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_ASSIGNMENT_OPERATORS, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_ASSIGNMENT_OPERATOR); /** * This is for the alignment settings. */ checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_ALLOCATION_EXPRESSION_ARGUMENTS_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_ALLOCATION_EXPRESSION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_COMPACT_IF_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_COMPACT_IF); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_MESSAGE_SEND_ARGUMENTS_ALIGNMENT , DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_METHOD_INVOCATION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_QUALIFIED_ALLOCATION_EXPRESSION_ARGUMENTS_ALIGNMENT , DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_QUALIFIED_ALLOCATION_EXPRESSION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_BINARY_EXPRESSION_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_BINARY_EXPRESSION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_COMPACT_IF_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_COMPACT_IF); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_CONDITIONAL_EXPRESSION_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_ARRAY_INITIALIZER_EXPRESSIONS_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_EXPRESSIONS_IN_ARRAY_INITIALIZER); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_METHOD_DECLARATION_ARGUMENTS_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_CONSTRUCTOR_DECLARATION, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_METHOD_DECLARATION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_MESSAGE_SEND_SELECTOR_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SELECTOR_IN_METHOD_INVOCATION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_TYPE_DECLARATION_SUPERCLASS_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SUPERCLASS_IN_TYPE_DECLARATION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_TYPE_DECLARATION_SUPERINTERFACES_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SUPERINTERFACES_IN_TYPE_DECLARATION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_METHOD_THROWS_CLAUSE_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_METHOD_DECLARATION, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_CONSTRUCTOR_DECLARATION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_EXPLICIT_CONSTRUCTOR_ARGUMENTS_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_EXPLICIT_CONSTRUCTOR_CALL); mapOldValueRangeToNew(oldSettings, DefaultCodeFormatterConstants.FORMATTER_TYPE_MEMBER_ALIGNMENT, new String [] {DefaultCodeFormatterConstants.FORMATTER_NO_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_MULTICOLUMN}, DefaultCodeFormatterConstants.FORMATTER_ALIGN_TYPE_MEMBERS_ON_COLUMNS, new String [] {DefaultCodeFormatterConstants.FALSE, DefaultCodeFormatterConstants.TRUE}); /** * Brace positions. */ checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_ANONYMOUS_TYPE_DECLARATION_BRACE_POSITION, DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_ARRAY_INITIALIZER_BRACE_POSITION, DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_BLOCK_BRACE_POSITION, DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_BLOCK); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_METHOD_DECLARATION_BRACE_POSITION, DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_TYPE_DECLARATION_BRACE_POSITION, DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION); checkAndReplace(oldSettings, DefaultCodeFormatterConstants.FORMATTER_SWITCH_BRACE_POSITION, DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_SWITCH); }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/3c569dddca87251b6e9488d6e26f380927c9f254/ProfileVersioner.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileVersioner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 918, 1177, 22, 869, 23, 12, 863, 1592, 2628, 13, 288, 9506, 202, 26873, 1082, 380, 1220, 353, 364, 326, 9578, 3476, 1947, 18, 1082, 1195, 202, 202, 1893, 1876, 5729, 12, 1673, 2628, 16, 1875, 202, 1868, 1085, 5074, 2918, 18, 7254, 2560, 67, 8552, 67, 12919, 15154, 654, 67, 6067, 706, 57, 2689, 67, 2356, 2222, 2689, 16, 1082, 202, 1868, 1085, 5074, 2918, 18, 7254, 2560, 67, 6067, 706, 57, 2689, 67, 2356, 2222, 2689, 67, 7473, 67, 8552, 67, 12919, 15154, 654, 1769, 9506, 202, 1893, 1876, 5729, 12, 1673, 2628, 16, 1875, 202, 1868, 1085, 5074, 2918, 18, 7254, 2560, 67, 11356, 67, 6616, 67, 18249, 67, 11403, 67, 13384, 67, 26980, 16, 1082, 202, 1868, 1085, 5074, 2918, 18, 7254, 2560, 67, 11356, 67, 6616, 67, 18249, 67, 22693, 23708, 67, 26980, 67, 706, 67, 11403, 1769, 9506, 202, 1893, 1876, 5729, 12, 1673, 2628, 16, 1875, 202, 1868, 1085, 5074, 2918, 18, 7254, 2560, 67, 11356, 67, 6616, 67, 706, 67, 39, 5858, 67, 19111, 16, 1082, 202, 1868, 1085, 5074, 2918, 18, 7254, 2560, 67, 11356, 67, 6616, 67, 18249, 67, 11437, 1360, 67, 15111, 67, 706, 67, 39, 5858, 16, 1082, 202, 1868, 1085, 5074, 2918, 18, 7254, 2560, 67, 11356, 67, 6616, 67, 19152, 67, 22693, 23708, 67, 15111, 67, 706, 67, 39, 5858, 1769, 202, 202, 1893, 1876, 5729, 12, 1673, 2628, 16, 1875, 202, 1868, 1085, 5074, 2918, 18, 7254, 2560, 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, 760, 918, 1177, 22, 869, 23, 12, 863, 1592, 2628, 13, 288, 9506, 202, 26873, 1082, 380, 1220, 353, 364, 326, 9578, 3476, 1947, 18, 1082, 1195, 202, 202, 1893, 1876, 5729, 12, 1673, 2628, 16, 1875, 202, 1868, 1085, 5074, 2918, 18, 7254, 2560, 67, 8552, 67, 12919, 15154, 654, 67, 6067, 706, 57, 2689, 67, 2356, 2222, 2689, 16, 1082, 202, 1868, 1085, 5074, 2918, 18, 7254, 2560, 67, 6067, 706, 57, 2689, 67, 2356, 2222, 2689, 67, 7473, 67, 8552, 67, 12919, 15154, 654, 1769, 9506, 202, 1893, 1876, 5729, 12, 1673, 2628, 16, 1875, 202, 1868, 1085, 5074, 2918, 18, 7254, 2560, 67, 11356, 67, 6616, 67, 18249, 67, 11403, 67, 13384, 2 ]
System.getProperty("line.separator") + methodCall.getReifiedMethod();
System.getProperty("line.separator") + methodCall.getReifiedMethod();
private Object invokeOnBody(MethodCall methodCall) throws Exception, RenegotiateSessionException, Throwable { // Now gives the MethodCall object to the body try { if (isOneWayCall(methodCall)) { reifyAsOneWay(methodCall); return null; } String reason = methodCall.getSynchronousReason(); if (reason == null) { return reifyAsAsynchronous(methodCall); } if (syncCallLogger.isEnabledFor(Level.WARN)) { String msg = "SYNC: Synchronous Method Call: " + reason + System.getProperty("line.separator") + methodCall.getReifiedMethod(); if (loggedSyncCalls.add(msg)) { syncCallLogger.warn(msg); } } return reifyAsSynchronous(methodCall); } catch (MethodCallExecutionFailedException e) { throw new ProActiveRuntimeException(e.getMessage(), e.getTargetException()); } }
58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/e49bec3d5af79e5511e71fa2ce4235855b0d0324/AbstractBodyProxy.java/clean/src/org/objectweb/proactive/core/body/proxy/AbstractBodyProxy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 4356, 1398, 2250, 12, 12592, 707, 1477, 13, 3639, 1216, 1185, 16, 25921, 27445, 3840, 2157, 503, 16, 4206, 288, 3639, 368, 4494, 14758, 326, 2985, 1477, 733, 358, 326, 1417, 3639, 775, 288, 5411, 309, 261, 291, 3335, 21831, 1477, 12, 2039, 1477, 3719, 288, 7734, 283, 1164, 1463, 3335, 21831, 12, 2039, 1477, 1769, 7734, 327, 446, 31, 5411, 289, 5411, 514, 3971, 273, 707, 1477, 18, 588, 55, 7121, 8385, 5621, 5411, 309, 261, 10579, 422, 446, 13, 288, 7734, 327, 283, 1164, 1463, 1463, 7121, 12, 2039, 1477, 1769, 5411, 289, 5411, 309, 261, 8389, 1477, 3328, 18, 291, 1526, 1290, 12, 2355, 18, 27999, 3719, 288, 7734, 514, 1234, 273, 315, 25142, 30, 348, 7121, 2985, 3049, 30, 315, 397, 3971, 397, 15604, 2332, 18, 588, 1396, 2932, 1369, 18, 11287, 7923, 397, 707, 1477, 18, 588, 426, 939, 1305, 5621, 7734, 309, 261, 19385, 4047, 10125, 18, 1289, 12, 3576, 3719, 288, 10792, 3792, 1477, 3328, 18, 8935, 12, 3576, 1769, 1171, 289, 5411, 289, 5411, 327, 283, 1164, 1463, 55, 7121, 12, 2039, 1477, 1769, 3639, 289, 1044, 261, 12592, 3210, 12417, 425, 13, 288, 5411, 604, 394, 1186, 3896, 11949, 12, 73, 18, 24906, 9334, 7734, 425, 18, 588, 14950, 10663, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 4356, 1398, 2250, 12, 12592, 707, 1477, 13, 3639, 1216, 1185, 16, 25921, 27445, 3840, 2157, 503, 16, 4206, 288, 3639, 368, 4494, 14758, 326, 2985, 1477, 733, 358, 326, 1417, 3639, 775, 288, 5411, 309, 261, 291, 3335, 21831, 1477, 12, 2039, 1477, 3719, 288, 7734, 283, 1164, 1463, 3335, 21831, 12, 2039, 1477, 1769, 7734, 327, 446, 31, 5411, 289, 5411, 514, 3971, 273, 707, 1477, 18, 588, 55, 7121, 8385, 5621, 5411, 309, 261, 10579, 422, 446, 13, 288, 7734, 327, 283, 1164, 1463, 1463, 7121, 12, 2039, 1477, 1769, 5411, 289, 5411, 309, 261, 8389, 1477, 3328, 18, 291, 1526, 1290, 12, 2355, 18, 27999, 3719, 288, 7734, 514, 1234, 273, 315, 2 ]
new ArchiverException( destDirectory + " isn't a directory." );
throw new ArchiverException( destDirectory + " is not a directory." );
public void createArchive() throws ArchiverException, IOException { //Most of this method was copied from org.codehaus.plexus.archiver.tar.TarArchiver //and modified to store files in a directory, not a tar archive. Map listFiles = getFiles(); if ( listFiles == null || listFiles.size() == 0 ) { new ArchiverException( "You must set at least one file." ); } File destDirectory = getDestFile(); if ( destDirectory == null ) { new ArchiverException( "You must set the destination directory." ); } if ( destDirectory.exists() && !destDirectory.isDirectory() ) { new ArchiverException( destDirectory + " isn't a directory." ); } if ( destDirectory.exists() && !destDirectory.canWrite() ) { new ArchiverException( destDirectory + " is read-only." ); } // Check if we don't add directory file in itself for ( Iterator iter = getFiles().keySet().iterator(); iter.hasNext(); ) { String fileName = ( String ) iter.next(); ArchiveEntry fileToAdd = ( ArchiveEntry ) getFiles().get( fileName ); if ( destDirectory.equals( fileToAdd.getFile() ) ) { throw new ArchiverException( "The destination directory cannot include itself."); } } getLogger().info( "Building assembly directory : " + destDirectory.getAbsolutePath() ); try { for ( Iterator iter = getFiles().keySet().iterator(); iter.hasNext(); ) { String fileName = ( String ) iter.next(); ArchiveEntry f = ( ArchiveEntry ) getFiles().get( fileName ); String destDir = destDirectory.getCanonicalPath(); fileName = destDir + File.separator + fileName; copyFile( f, fileName ); } } catch ( IOException ioe ) { String message = "Problem copying files : " + ioe.getMessage(); throw new ArchiverException( message, ioe ); } }
55907 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55907/a2f1bcc0b59615a89fa91f03a924158473ce257f/DirectoryArchiver.java/buggy/plexus-archiver/src/main/java/org/codehaus/plexus/archiver/dir/DirectoryArchiver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 752, 7465, 1435, 3196, 202, 15069, 16959, 1667, 503, 16, 1860, 225, 202, 95, 202, 202, 759, 18714, 434, 333, 707, 1703, 9268, 628, 2358, 18, 710, 3395, 407, 18, 7179, 407, 18, 991, 1667, 18, 11718, 18, 20464, 12269, 1667, 202, 202, 759, 464, 4358, 358, 1707, 1390, 316, 279, 1867, 16, 486, 279, 8232, 5052, 18, 202, 202, 863, 17852, 273, 18262, 5621, 202, 202, 430, 261, 17852, 422, 446, 747, 17852, 18, 1467, 1435, 422, 374, 262, 3196, 202, 95, 1082, 202, 2704, 16959, 1667, 503, 12, 315, 6225, 1297, 444, 622, 4520, 1245, 585, 1199, 11272, 202, 202, 97, 202, 202, 812, 1570, 2853, 273, 2343, 395, 812, 5621, 202, 202, 430, 261, 1570, 2853, 422, 446, 262, 3196, 202, 95, 1082, 202, 2704, 16959, 1667, 503, 12, 315, 6225, 1297, 444, 326, 2929, 1867, 1199, 11272, 202, 202, 97, 202, 202, 430, 261, 1570, 2853, 18, 1808, 1435, 597, 401, 10488, 2853, 18, 291, 2853, 1435, 262, 3196, 202, 95, 1082, 202, 2704, 16959, 1667, 503, 12, 1570, 2853, 397, 315, 5177, 1404, 279, 1867, 1199, 11272, 202, 202, 97, 202, 202, 430, 261, 1570, 2853, 18, 1808, 1435, 597, 401, 10488, 2853, 18, 4169, 3067, 1435, 262, 3196, 202, 95, 1082, 202, 2704, 16959, 1667, 503, 12, 1570, 2853, 397, 315, 353, 855, 17, 3700, 1199, 11272, 202, 202, 97, 202, 202, 759, 2073, 309, 732, 2727, 1404, 527, 1867, 585, 316, 6174, 202, 202, 1884, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 752, 7465, 1435, 3196, 202, 15069, 16959, 1667, 503, 16, 1860, 225, 202, 95, 202, 202, 759, 18714, 434, 333, 707, 1703, 9268, 628, 2358, 18, 710, 3395, 407, 18, 7179, 407, 18, 991, 1667, 18, 11718, 18, 20464, 12269, 1667, 202, 202, 759, 464, 4358, 358, 1707, 1390, 316, 279, 1867, 16, 486, 279, 8232, 5052, 18, 202, 202, 863, 17852, 273, 18262, 5621, 202, 202, 430, 261, 17852, 422, 446, 747, 17852, 18, 1467, 1435, 422, 374, 262, 3196, 202, 95, 1082, 202, 2704, 16959, 1667, 503, 12, 315, 6225, 1297, 444, 622, 4520, 1245, 585, 1199, 11272, 202, 202, 97, 202, 202, 812, 1570, 2853, 273, 2343, 395, 812, 5621, 202, 202, 2 ]
rset = meta.getColumns(conn.getCatalog(), null, tabName, null);
rset = meta.getColumns(conn.getCatalog(), schema, tabName, null);
public Collection columnsFor(String tabName) { SQLSession session = henplus.getCurrentSession(); Set result = new HashSet(); Connection conn = session.getConnection(); // use createStmt ResultSet rset = null; try { DatabaseMetaData meta = conn.getMetaData(); rset = meta.getColumns(conn.getCatalog(), null, tabName, null); while (rset.next()) { result.add(rset.getString(4)); } } catch (Exception e) { // ignore. } finally { if (rset != null) { try { rset.close(); } catch (Exception e) {} } } return result; }
9659 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9659/e8591c2e6ae1795b69ac2ce08447ffe3ebc1168f/ListUserObjectsCommand.java/clean/src/henplus/commands/ListUserObjectsCommand.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2200, 2168, 1290, 12, 780, 3246, 461, 13, 288, 202, 3997, 2157, 1339, 273, 366, 275, 10103, 18, 588, 3935, 2157, 5621, 3639, 1000, 563, 273, 394, 6847, 5621, 202, 1952, 1487, 273, 1339, 18, 588, 1952, 5621, 225, 368, 999, 752, 8952, 202, 13198, 436, 542, 273, 446, 31, 202, 698, 288, 202, 565, 5130, 6998, 2191, 273, 1487, 18, 588, 6998, 5621, 202, 565, 436, 542, 273, 2191, 18, 588, 3380, 12, 4646, 18, 588, 9769, 9334, 446, 16, 3246, 461, 16, 446, 1769, 202, 565, 1323, 261, 86, 542, 18, 4285, 10756, 288, 202, 202, 2088, 18, 1289, 12, 86, 542, 18, 588, 780, 12, 24, 10019, 202, 565, 289, 202, 97, 202, 14683, 261, 503, 425, 13, 288, 202, 565, 368, 2305, 18, 202, 97, 202, 23417, 288, 202, 565, 309, 261, 86, 542, 480, 446, 13, 288, 202, 202, 698, 288, 436, 542, 18, 4412, 5621, 289, 1044, 261, 503, 425, 13, 2618, 202, 565, 289, 202, 97, 202, 2463, 563, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2200, 2168, 1290, 12, 780, 3246, 461, 13, 288, 202, 3997, 2157, 1339, 273, 366, 275, 10103, 18, 588, 3935, 2157, 5621, 3639, 1000, 563, 273, 394, 6847, 5621, 202, 1952, 1487, 273, 1339, 18, 588, 1952, 5621, 225, 368, 999, 752, 8952, 202, 13198, 436, 542, 273, 446, 31, 202, 698, 288, 202, 565, 5130, 6998, 2191, 273, 1487, 18, 588, 6998, 5621, 202, 565, 436, 542, 273, 2191, 18, 588, 3380, 12, 4646, 18, 588, 9769, 9334, 446, 16, 3246, 461, 16, 446, 1769, 202, 565, 1323, 261, 86, 542, 18, 4285, 10756, 288, 202, 202, 2088, 18, 1289, 12, 86, 542, 18, 588, 780, 12, 24, 10019, 202, 565, 289, 202, 97, 202, 14683, 2 ]
Query qry7 = new SinglePhraseQuery( PomRepositoryIndex.FLD_ARTIFACTID, "sample2" ); Query qry8 = new SinglePhraseQuery( PomRepositoryIndex.FLD_GROUPID, "test" );
Query qry7 = new SinglePhraseQuery( RepositoryIndex.FLD_ARTIFACTID, "sample2" ); Query qry8 = new SinglePhraseQuery( RepositoryIndex.FLD_GROUPID, "test" );
public void testSearchCompound() throws Exception { createTestIndex(); RepositoryIndexingFactory factory = (RepositoryIndexingFactory) lookup( RepositoryIndexingFactory.ROLE ); PomRepositoryIndex indexer = factory.createPomRepositoryIndex( indexPath, repository ); RepositoryIndexSearcher repoSearcher = factory.createDefaultRepositoryIndexSearcher( indexer ); // Criteria 1: required query // ex. artifactId=maven-artifact AND groupId=org.apache.maven Query qry1 = new SinglePhraseQuery( PomRepositoryIndex.FLD_ARTIFACTID, "maven-artifact" ); Query qry2 = new SinglePhraseQuery( PomRepositoryIndex.FLD_GROUPID, "org.apache.maven" ); CompoundQuery rQry = new CompoundQuery(); rQry.and( qry1 ); rQry.and( qry2 ); List artifacts = repoSearcher.search( rQry ); for ( Iterator iter = artifacts.iterator(); iter.hasNext(); ) { Artifact artifact = (Artifact) iter.next(); assertEquals( "maven-artifact", artifact.getArtifactId() ); assertEquals( "org.apache.maven", artifact.getGroupId() ); } // Criteria 2: nested required query // ex. (artifactId=maven-artifact AND groupId=org.apache.maven) OR // version=2.0.3 Query qry3 = new SinglePhraseQuery( PomRepositoryIndex.FLD_VERSION, "2.0.3" ); CompoundQuery oQry = new CompoundQuery(); oQry.and( rQry ); oQry.or( qry3 ); artifacts = repoSearcher.search( oQry ); for ( Iterator iter = artifacts.iterator(); iter.hasNext(); ) { Artifact artifact = (Artifact) iter.next(); assertEquals( "maven-artifact", artifact.getArtifactId() ); assertEquals( "org.apache.maven", artifact.getGroupId() ); } // Criteria 3: nested required query // ex. (artifactId=maven-artifact AND groupId=org.apache.maven) AND // (version=2.0.3 OR version=2.0.1) // AND (name=maven-artifact-2.0.1.jar OR name=maven-artifact) Query qry4 = new SinglePhraseQuery( PomRepositoryIndex.FLD_VERSION, "2.0.1" ); oQry = new CompoundQuery(); oQry.or( qry3 ); oQry.or( qry4 ); CompoundQuery oQry5 = new CompoundQuery(); Query qry9 = new SinglePhraseQuery( PomRepositoryIndex.FLD_DEPENDENCIES, "org.codehaus.plexus:plexus-utils:1.0.5" ); Query qry10 = new SinglePhraseQuery( PomRepositoryIndex.FLD_DEPENDENCIES, "org.codehaus.plexus:plexus-container-defualt:1.0-alpha-9" ); oQry5.or( qry9 ); oQry5.or( qry10 ); CompoundQuery rQry2 = new CompoundQuery(); rQry2.or( oQry ); rQry2.and( rQry ); rQry2.and( oQry5 ); artifacts = repoSearcher.search( rQry2 ); for ( Iterator iter = artifacts.iterator(); iter.hasNext(); ) { Artifact artifact = (Artifact) iter.next(); assertEquals( "maven-artifact", artifact.getArtifactId() ); assertEquals( "org.apache.maven", artifact.getGroupId() ); assertEquals( "2.0.1", artifact.getVersion() ); } // Criteria 4: nested required query // ex. [(artifactId=maven-artifact AND groupId=org.apache.maven) AND // (version=2.0.3 OR version=2.0.1) // AND (name=maven-artifact-2.0.1.jar OR name=maven-artifact)] // OR [(artifactId=sample AND groupId=test)] CompoundQuery rQry3 = new CompoundQuery(); Query qry5 = new SinglePhraseQuery( PomRepositoryIndex.FLD_ARTIFACTID, "sample" ); Query qry6 = new SinglePhraseQuery( PomRepositoryIndex.FLD_GROUPID, "test" ); rQry3.and( qry5 ); rQry3.and( qry6 ); CompoundQuery oQry2 = new CompoundQuery(); oQry2.and( rQry2 ); oQry2.and( rQry3 ); artifacts = repoSearcher.search( oQry2 ); for ( Iterator iter = artifacts.iterator(); iter.hasNext(); ) { Artifact artifact = (Artifact) iter.next(); assertEquals( "maven-artifact", artifact.getArtifactId() ); assertEquals( "org.apache.maven", artifact.getGroupId() ); assertEquals( "2.0.1", artifact.getVersion() ); } // Criteria 4: nested required query // ex. [(artifactId=maven-artifact AND groupId=org.apache.maven) AND // (version=2.0.3 OR version=2.0.1) // AND (name=maven-artifact-2.0.1.jar OR name=maven-artifact)] OR // [(artifactId=sample AND groupId=test)] OR // [(artifactId=sample2 AND groupId=test)] CompoundQuery rQry4 = new CompoundQuery(); Query qry7 = new SinglePhraseQuery( PomRepositoryIndex.FLD_ARTIFACTID, "sample2" ); Query qry8 = new SinglePhraseQuery( PomRepositoryIndex.FLD_GROUPID, "test" ); rQry4.and( qry7 ); rQry4.and( qry8 ); oQry2.and( rQry4 ); artifacts = repoSearcher.search( oQry2 ); for ( Iterator iter = artifacts.iterator(); iter.hasNext(); ) { Artifact artifact = (Artifact) iter.next(); assertEquals( "maven-artifact", artifact.getArtifactId() ); assertEquals( "org.apache.maven", artifact.getGroupId() ); } indexer.close(); }
28441 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28441/edd8a998aa6006fddaf4d4a404bbdd6ddfd246d7/PomRepositoryIndexingTest.java/clean/maven-repository-indexer/src/test/java/org/apache/maven/repository/indexing/PomRepositoryIndexingTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2979, 16835, 1435, 3639, 1216, 1185, 565, 288, 3639, 752, 4709, 1016, 5621, 3639, 6281, 24465, 1733, 3272, 273, 261, 3305, 24465, 1733, 13, 3689, 12, 6281, 24465, 1733, 18, 16256, 11272, 3639, 453, 362, 3305, 1016, 12635, 273, 3272, 18, 2640, 52, 362, 3305, 1016, 12, 770, 743, 16, 3352, 11272, 3639, 6281, 1016, 2979, 264, 3538, 2979, 264, 273, 3272, 18, 2640, 1868, 3305, 1016, 2979, 264, 12, 12635, 11272, 3639, 368, 8356, 404, 30, 1931, 843, 3639, 368, 431, 18, 25496, 33, 81, 7638, 17, 17706, 4116, 6612, 33, 3341, 18, 19211, 18, 81, 7638, 3639, 2770, 16788, 21, 273, 394, 10326, 12812, 1138, 12, 453, 362, 3305, 1016, 18, 42, 12069, 67, 4928, 45, 11625, 734, 16, 315, 81, 7638, 17, 17706, 6, 11272, 3639, 2770, 16788, 22, 273, 394, 10326, 12812, 1138, 12, 453, 362, 3305, 1016, 18, 42, 12069, 67, 8468, 734, 16, 315, 3341, 18, 19211, 18, 81, 7638, 6, 11272, 3639, 21327, 1138, 436, 53, 1176, 273, 394, 21327, 1138, 5621, 3639, 436, 53, 1176, 18, 464, 12, 16788, 21, 11272, 3639, 436, 53, 1176, 18, 464, 12, 16788, 22, 11272, 3639, 987, 16259, 273, 3538, 2979, 264, 18, 3072, 12, 436, 53, 1176, 11272, 3639, 364, 261, 4498, 1400, 273, 16259, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 262, 3639, 288, 5411, 14022, 6462, 273, 261, 7581, 13, 1400, 18, 4285, 5621, 5411, 1815, 8867, 12, 315, 81, 7638, 17, 17706, 3113, 6462, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2979, 16835, 1435, 3639, 1216, 1185, 565, 288, 3639, 752, 4709, 1016, 5621, 3639, 6281, 24465, 1733, 3272, 273, 261, 3305, 24465, 1733, 13, 3689, 12, 6281, 24465, 1733, 18, 16256, 11272, 3639, 453, 362, 3305, 1016, 12635, 273, 3272, 18, 2640, 52, 362, 3305, 1016, 12, 770, 743, 16, 3352, 11272, 3639, 6281, 1016, 2979, 264, 3538, 2979, 264, 273, 3272, 18, 2640, 1868, 3305, 1016, 2979, 264, 12, 12635, 11272, 3639, 368, 8356, 404, 30, 1931, 843, 3639, 368, 431, 18, 25496, 33, 81, 7638, 17, 17706, 4116, 6612, 33, 3341, 18, 19211, 18, 81, 7638, 3639, 2770, 16788, 21, 273, 394, 10326, 12812, 1138, 12, 453, 362, 3305, 1016, 18, 42, 12069, 2 ]
if (closeImage != null) closeImage.dispose();
if (closeImage != null) { closeImage.dispose(); }
private void updateCloseBar() { //Temporary code - need a better way to determine toolBar trim int toolbarTrim = 4; String platform = SWT.getPlatform(); if ("photon".equals(platform))toolbarTrim = 6; //$NON-NLS-1$ if ("gtk".equals(platform))toolbarTrim = 8; //$NON-NLS-1$ int maxHeight = tabHeight - CTabItem.TOP_MARGIN - CTabItem.BOTTOM_MARGIN - toolbarTrim; if (maxHeight < 3) return; int imageHeight = (maxHeight < 9) ? 9 : maxHeight; if (closeImage != null && closeImage.getBounds().height == imageHeight) return; if (closeBar != null) closeBar.dispose(); closeBar = null; if (inactiveCloseBar != null) inactiveCloseBar.dispose(); inactiveCloseBar = null; createCloseBar(); ToolItem closeItem = closeBar.getItems()[0]; ToolItem inactiveCloseItem = inactiveCloseBar.getItems()[0]; if (closeImage != null) closeImage.dispose(); Display display = getDisplay(); Color foreground = getForeground(); Color black = display.getSystemColor(SWT.COLOR_BLACK); Color background = getBackground(); PaletteData palette = new PaletteData(new RGB[] { foreground.getRGB(), background.getRGB(), black.getRGB() }); ImageData imageData = new ImageData(imageHeight, imageHeight, 4, palette); imageData.transparentPixel = 1; closeImage = new Image(display, imageData); GC gc = new GC(closeImage); gc.setBackground(background); gc.fillRectangle(0, 0, imageHeight, imageHeight); gc.setForeground(black); //draw an 9x8 'x' centered in image int h = (imageHeight / 2) * 2; int inset = (h - 8) / 2; gc.drawLine(inset, inset, h - inset - 1, h - inset - 1); gc.drawLine(inset + 1, inset, h - inset, h - inset - 1); gc.drawLine(inset, h - inset - 1, h - inset - 1, inset); gc.drawLine(inset + 1, h - inset - 1, h - inset, inset); gc.dispose(); if (maxHeight < imageHeight) { //rescale image Image temp = scaleImage(closeImage, imageHeight, maxHeight); closeImage.dispose(); closeImage = temp; } closeItem.setImage(closeImage); inactiveCloseItem.setImage(closeImage); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/3a23c3b9bac4db696a0452560047155775a707b7/CTabFolder.java/buggy/bundles/org.eclipse.ui.presentations.r21/src/org/eclipse/ui/internal/presentations/r21/widgets/CTabFolder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1089, 4605, 5190, 1435, 288, 3639, 368, 11685, 981, 300, 1608, 279, 7844, 4031, 358, 4199, 5226, 5190, 2209, 3639, 509, 12748, 14795, 273, 1059, 31, 3639, 514, 4072, 273, 348, 8588, 18, 588, 8201, 5621, 3639, 309, 7566, 30723, 265, 9654, 14963, 12, 9898, 3719, 18849, 14795, 273, 1666, 31, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 309, 7566, 4521, 79, 9654, 14963, 12, 9898, 3719, 18849, 14795, 273, 1725, 31, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 509, 23185, 273, 3246, 2686, 300, 385, 5661, 1180, 18, 10462, 67, 19772, 7702, 7734, 300, 385, 5661, 1180, 18, 28891, 67, 19772, 7702, 300, 12748, 14795, 31, 3639, 309, 261, 1896, 2686, 411, 890, 13, 5411, 327, 31, 3639, 509, 1316, 2686, 273, 261, 1896, 2686, 411, 2468, 13, 692, 2468, 294, 23185, 31, 3639, 309, 261, 4412, 2040, 480, 446, 597, 1746, 2040, 18, 588, 5694, 7675, 4210, 422, 1316, 2686, 13, 5411, 327, 31, 3639, 309, 261, 4412, 5190, 480, 446, 13, 5411, 1746, 5190, 18, 2251, 4150, 5621, 3639, 1746, 5190, 273, 446, 31, 3639, 309, 261, 27366, 4605, 5190, 480, 446, 13, 5411, 16838, 4605, 5190, 18, 2251, 4150, 5621, 3639, 16838, 4605, 5190, 273, 446, 31, 3639, 752, 4605, 5190, 5621, 3639, 13288, 1180, 1746, 1180, 273, 1746, 5190, 18, 588, 3126, 1435, 63, 20, 15533, 3639, 13288, 1180, 16838, 4605, 1180, 273, 16838, 4605, 5190, 18, 588, 3126, 1435, 63, 20, 15533, 3639, 309, 261, 4412, 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, 1089, 4605, 5190, 1435, 288, 3639, 368, 11685, 981, 300, 1608, 279, 7844, 4031, 358, 4199, 5226, 5190, 2209, 3639, 509, 12748, 14795, 273, 1059, 31, 3639, 514, 4072, 273, 348, 8588, 18, 588, 8201, 5621, 3639, 309, 7566, 30723, 265, 9654, 14963, 12, 9898, 3719, 18849, 14795, 273, 1666, 31, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 309, 7566, 4521, 79, 9654, 14963, 12, 9898, 3719, 18849, 14795, 273, 1725, 31, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 509, 23185, 273, 3246, 2686, 300, 385, 5661, 1180, 18, 10462, 67, 19772, 7702, 7734, 300, 385, 5661, 1180, 18, 28891, 67, 19772, 7702, 300, 12748, 14795, 31, 3639, 309, 261, 1896, 2686, 411, 890, 2 ]
super(1, 2, 4, 4, 8, 4, 8, 4);
super(1, 2, 4, 4, 8, 4, 8, 4, 8);
public MachineDescription32Bit() { super(1, 2, 4, 4, 8, 4, 8, 4); }
53985 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53985/875a3de8f54704604d006badf0f0747347319025/MachineDescription32Bit.java/clean/src/classes/com/sun/gluegen/cgram/types/MachineDescription32Bit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 12026, 3291, 1578, 5775, 1435, 288, 565, 2240, 12, 21, 16, 576, 16, 1059, 16, 1059, 16, 1725, 16, 1059, 16, 1725, 16, 1059, 16, 1725, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12026, 3291, 1578, 5775, 1435, 288, 565, 2240, 12, 21, 16, 576, 16, 1059, 16, 1059, 16, 1725, 16, 1059, 16, 1725, 16, 1059, 16, 1725, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
} if(invokeBefore) { m_invoker.invokeConfigurations(testClass, testClass.getBeforeClassMethods(), m_suite, m_parameters, null /* instance */);
public void run() { // Using an index here because we need to tell the invoker // the index of the current method for (int indexMethod = 0; indexMethod < m_testMethods.length; indexMethod++) { ITestNGMethod tm = m_testMethods[indexMethod]; // // Invoke the before class methods if not done already // ITestClass testClass = tm.getTestClass(); boolean invokeBefore= false; synchronized(m_invokedBeforeClassMethods) { if (! m_invokedBeforeClassMethods.containsKey(testClass)) { m_invokedBeforeClassMethods.put(testClass, testClass); invokeBefore= true; } } if(invokeBefore) { m_invoker.invokeConfigurations(testClass, testClass.getBeforeClassMethods(), m_suite, m_parameters, null /* instance */); } // // Invoke test method // // Potential bug here: we look up the method index of tm among all // the test methods (not very efficient) but if this method appears // several times and these methods are run in parallel, the results // are unpredictable... Need to think about this more (and make it // more efficient) List<ITestResult> testResults = m_invoker.invokeTestMethods(tm, m_suite, m_parameters, m_allTestMethods, indexOf(tm, m_allTestMethods), m_groupMethods); if (testResults != null) { m_testResults.addAll(testResults); } // // Invoke after class methods if this test method is the last one // on this class // if (m_classMethodMap.removeAndCheckIfLast(tm)) { boolean invokeAfter= false; synchronized(m_invokedAfterClassMethods) { if (! m_invokedAfterClassMethods.containsKey(testClass)) { m_invokedAfterClassMethods.put(testClass, testClass); invokeAfter= true; } } if(invokeAfter) { m_invoker.invokeConfigurations(testClass, testClass.getAfterClassMethods(), m_suite, m_parameters, null /* instance */); } } } }
47060 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47060/9099e25bd07526a8e89481922bca367e8ce52235/TestMethodWorker.java/clean/src/main/org/testng/internal/TestMethodWorker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1086, 1435, 288, 565, 368, 11637, 392, 770, 2674, 2724, 732, 1608, 358, 9276, 326, 24920, 565, 368, 326, 770, 434, 326, 783, 707, 565, 364, 261, 474, 770, 1305, 273, 374, 31, 770, 1305, 411, 312, 67, 3813, 4712, 18, 2469, 31, 770, 1305, 27245, 288, 1377, 467, 4709, 4960, 1305, 6118, 273, 312, 67, 3813, 4712, 63, 1615, 1305, 15533, 3639, 368, 1377, 368, 14373, 326, 1865, 667, 2590, 309, 486, 2731, 1818, 1377, 368, 1377, 467, 4709, 797, 1842, 797, 273, 6118, 18, 588, 4709, 797, 5621, 5411, 1250, 4356, 4649, 33, 629, 31, 1377, 3852, 12, 81, 67, 5768, 14276, 4649, 797, 4712, 13, 288, 3639, 309, 16051, 312, 67, 5768, 14276, 4649, 797, 4712, 18, 12298, 653, 12, 3813, 797, 3719, 288, 5411, 312, 67, 5768, 14276, 4649, 797, 4712, 18, 458, 12, 3813, 797, 16, 1842, 797, 1769, 1850, 4356, 4649, 33, 638, 31, 3639, 289, 1377, 289, 1377, 309, 12, 14407, 4649, 13, 288, 3639, 312, 67, 5768, 601, 264, 18, 14407, 9698, 12, 3813, 797, 16, 5411, 1842, 797, 18, 588, 4649, 797, 4712, 9334, 5411, 312, 67, 30676, 16, 5411, 312, 67, 3977, 16, 5411, 446, 1748, 791, 1195, 1769, 1377, 289, 1377, 368, 1377, 368, 14373, 1842, 707, 1377, 368, 5411, 368, 23435, 2001, 7934, 2674, 30, 225, 732, 2324, 731, 326, 707, 770, 434, 6118, 17200, 777, 1377, 368, 326, 1842, 2590, 261, 902, 8572, 14382, 13, 1496, 309, 333, 707, 14606, 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, 1086, 1435, 288, 565, 368, 11637, 392, 770, 2674, 2724, 732, 1608, 358, 9276, 326, 24920, 565, 368, 326, 770, 434, 326, 783, 707, 565, 364, 261, 474, 770, 1305, 273, 374, 31, 770, 1305, 411, 312, 67, 3813, 4712, 18, 2469, 31, 770, 1305, 27245, 288, 1377, 467, 4709, 4960, 1305, 6118, 273, 312, 67, 3813, 4712, 63, 1615, 1305, 15533, 3639, 368, 1377, 368, 14373, 326, 1865, 667, 2590, 309, 486, 2731, 1818, 1377, 368, 1377, 467, 4709, 797, 1842, 797, 273, 6118, 18, 588, 4709, 797, 5621, 5411, 1250, 4356, 4649, 33, 629, 31, 1377, 3852, 12, 81, 67, 5768, 14276, 4649, 797, 4712, 13, 288, 3639, 309, 16051, 312, 67, 5768, 14276, 2 ]
private synchronized void setLineBreakpoint0( ICLineBreakpoint breakpoint ) throws CDIException, CoreException
private synchronized ICDIBreakpoint setLineBreakpoint0( ICLineBreakpoint breakpoint ) throws CDIException, CoreException
private synchronized void setLineBreakpoint0( ICLineBreakpoint breakpoint ) throws CDIException, CoreException { ICDIBreakpointManager bm = getCDISession().getBreakpointManager(); ICDILocation location = bm.createLocation( breakpoint.getMarker().getResource().getLocation().lastSegment(), null, breakpoint.getLineNumber() ); ICDICondition condition = bm.createCondition( breakpoint.getIgnoreCount(), breakpoint.getCondition() ); ICDIBreakpoint cdiBreakpoint = bm.setLocationBreakpoint( ICDIBreakpoint.REGULAR, location, condition, null ); getBreakpoints().put( breakpoint, cdiBreakpoint ); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/58c356def4ff4230eb755db7e46c531e6e6b87e3/CDebugTarget.java/clean/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CDebugTarget.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 3852, 918, 26482, 20552, 20, 12, 26899, 1670, 20552, 18820, 262, 1216, 385, 2565, 503, 16, 30015, 202, 95, 202, 202, 2871, 2565, 20552, 1318, 18829, 273, 1927, 2565, 2157, 7675, 588, 20552, 1318, 5621, 202, 202, 2871, 2565, 2735, 2117, 273, 18829, 18, 2640, 2735, 12, 18820, 18, 588, 7078, 7675, 588, 1420, 7675, 588, 2735, 7675, 2722, 4131, 9334, 446, 16, 18820, 18, 588, 31063, 1435, 11272, 202, 202, 2871, 2565, 3418, 2269, 273, 18829, 18, 2640, 3418, 12, 18820, 18, 588, 3777, 1380, 9334, 18820, 18, 588, 3418, 1435, 11272, 202, 202, 2871, 2565, 20552, 276, 3211, 20552, 273, 18829, 18, 542, 2735, 20552, 12, 26899, 2565, 20552, 18, 5937, 19545, 16, 2117, 16, 2269, 16, 446, 11272, 202, 202, 588, 7634, 4139, 7675, 458, 12, 18820, 16, 276, 3211, 20552, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3852, 918, 26482, 20552, 20, 12, 26899, 1670, 20552, 18820, 262, 1216, 385, 2565, 503, 16, 30015, 202, 95, 202, 202, 2871, 2565, 20552, 1318, 18829, 273, 1927, 2565, 2157, 7675, 588, 20552, 1318, 5621, 202, 202, 2871, 2565, 2735, 2117, 273, 18829, 18, 2640, 2735, 12, 18820, 18, 588, 7078, 7675, 588, 1420, 7675, 588, 2735, 7675, 2722, 4131, 9334, 446, 16, 18820, 18, 588, 31063, 1435, 11272, 202, 202, 2871, 2565, 3418, 2269, 273, 18829, 18, 2640, 3418, 12, 18820, 18, 588, 3777, 1380, 9334, 18820, 18, 588, 3418, 1435, 11272, 202, 202, 2871, 2565, 20552, 276, 3211, 20552, 273, 18829, 18, 542, 2735, 20552, 12, 26899, 2565, 20552, 18, 5937, 19545, 16, 2117, 2 ]
if (prototypeFunctionPool != null) { IdFunction f; int id = mapNameToMethodId(name); if (id != 0) { f = prototypeFunctionPool[id];
Object[] data = idMapData; if (data != null) { int id = getId(name, data); if (id != 0) { return data[id * ID_MULT + VALUE_SHIFT] != NOT_FOUND;
public boolean has(String name, Scriptable start) { if (prototypeFunctionPool != null) { IdFunction f; int id = mapNameToMethodId(name); if (id != 0) { f = prototypeFunctionPool[id]; } else { f = checkConstructor(name); } if (f != IdFunction.WAS_OVERWRITTEN) { return true; } } return super.has(name, start); }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/b631b3e8574543a4d24a0048cc710f305deb8ff5/IdScriptable.java/buggy/org/mozilla/javascript/IdScriptable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 711, 12, 780, 508, 16, 22780, 787, 13, 288, 3639, 309, 261, 18541, 2083, 2864, 480, 446, 13, 288, 5411, 3124, 2083, 284, 31, 5411, 509, 612, 273, 852, 28455, 30793, 12, 529, 1769, 5411, 309, 261, 350, 480, 374, 13, 288, 1171, 284, 273, 4409, 2083, 2864, 63, 350, 15533, 5411, 289, 5411, 469, 288, 7734, 284, 273, 866, 6293, 12, 529, 1769, 5411, 289, 5411, 309, 261, 74, 480, 3124, 2083, 18, 21055, 67, 12959, 7181, 30972, 1157, 13, 288, 327, 638, 31, 289, 3639, 289, 3639, 327, 2240, 18, 5332, 12, 529, 16, 787, 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,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
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 711, 12, 780, 508, 16, 22780, 787, 13, 288, 3639, 309, 261, 18541, 2083, 2864, 480, 446, 13, 288, 5411, 3124, 2083, 284, 31, 5411, 509, 612, 273, 852, 28455, 30793, 12, 529, 1769, 5411, 309, 261, 350, 480, 374, 13, 288, 1171, 284, 273, 4409, 2083, 2864, 63, 350, 15533, 5411, 289, 5411, 469, 288, 7734, 284, 273, 866, 6293, 12, 529, 1769, 5411, 289, 5411, 309, 261, 74, 480, 3124, 2083, 18, 21055, 67, 12959, 7181, 30972, 1157, 13, 288, 327, 638, 31, 289, 3639, 289, 3639, 327, 2240, 18, 5332, 12, 529, 16, 787, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
NSMutableArray result = new NSMutableArray(); for(Enumeration e = displayGroup().allObjects().objectEnumerator(); e.hasMoreElements();e.nextElement()){ result.addObject(new NSMutableDictionary()); } _errorMessagesDictionaries = (NSArray)result;
_errorMessagesDictionaries = new NSMutableDictionary();
protected NSArray errorMessagesDictionaries(){ if(_errorMessagesDictionaries == null){ NSMutableArray result = new NSMutableArray(); for(Enumeration e = displayGroup().allObjects().objectEnumerator(); e.hasMoreElements();e.nextElement()){ result.addObject(new NSMutableDictionary()); } _errorMessagesDictionaries = (NSArray)result; } return _errorMessagesDictionaries; }
810 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/810/e850baaddb27d7bc8e3130f06ecc44f6cc5e6876/ERD2WEditableListPage.java/buggy/Wonder/Common/Frameworks/ERDirectToWeb/Sources/er/directtoweb/ERD2WEditableListPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 11472, 1076, 22241, 40, 14336, 1435, 95, 3639, 309, 24899, 1636, 5058, 40, 14336, 422, 446, 15329, 5411, 423, 7303, 3050, 1076, 563, 273, 394, 423, 7303, 3050, 1076, 5621, 5411, 364, 12, 21847, 425, 273, 2562, 1114, 7675, 454, 4710, 7675, 1612, 3572, 7385, 5621, 425, 18, 5332, 7417, 3471, 5621, 73, 18, 4285, 1046, 10756, 95, 7734, 563, 18, 1289, 921, 12, 2704, 423, 7303, 3050, 10905, 10663, 5411, 289, 5411, 389, 1636, 5058, 40, 14336, 273, 261, 3156, 1076, 13, 2088, 31, 3639, 289, 3639, 327, 389, 1636, 5058, 40, 14336, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4750, 11472, 1076, 22241, 40, 14336, 1435, 95, 3639, 309, 24899, 1636, 5058, 40, 14336, 422, 446, 15329, 5411, 423, 7303, 3050, 1076, 563, 273, 394, 423, 7303, 3050, 1076, 5621, 5411, 364, 12, 21847, 425, 273, 2562, 1114, 7675, 454, 4710, 7675, 1612, 3572, 7385, 5621, 425, 18, 5332, 7417, 3471, 5621, 73, 18, 4285, 1046, 10756, 95, 7734, 563, 18, 1289, 921, 12, 2704, 423, 7303, 3050, 10905, 10663, 5411, 289, 5411, 389, 1636, 5058, 40, 14336, 273, 261, 3156, 1076, 13, 2088, 31, 3639, 289, 3639, 327, 389, 1636, 5058, 40, 14336, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
}
public void after( ) throws ChartException { super.after( ); // SEARCH FOR WRITER USING FORMAT Iterator it = null; String s = getFormat( ); if ( s != null ) { it = ImageIO.getImageWritersByFormatName( s ); if ( !it.hasNext( ) ) { it = null; // GET INTO NEXT CONSTRUCT; SEARCH BY MIME TYPE } } // SEARCH FOR WRITER USING MIME TYPE if ( it == null ) { s = getMimeType( ); if ( s == null ) { throw new ChartException( ChartDeviceExtensionPlugin.ID, ChartException.RENDERING, "exception.no.imagewriter.mimetype.and.format",//$NON-NLS-1$ new Object[]{ getMimeType( ), getFormat( ), getClass( ).getName( ) }, ResourceBundle.getBundle( Messages.DEVICE_EXTENSION, getLocale( ) ) ); } it = ImageIO.getImageWritersByMIMEType( s ); if ( !it.hasNext( ) ) { throw new ChartException( ChartDeviceExtensionPlugin.ID, ChartException.RENDERING, "exception.no.imagewriter.mimetype", //$NON-NLS-1$ new Object[]{ getMimeType( ) }, ResourceBundle.getBundle( Messages.DEVICE_EXTENSION, getLocale( ) ) ); } } final ImageWriter iw = (ImageWriter) it.next( ); logger.log( ILogger.INFORMATION, Messages.getString( "info.using.imagewriter", getLocale( ) ) //$NON-NLS-1$ + getFormat( ) + iw.getClass( ).getName( ) ); // WRITE TO SPECIFIC FILE FORMAT final Object o = ( _oOutputIdentifier instanceof String ) ? new File( (String) _oOutputIdentifier ) : _oOutputIdentifier; try { final ImageOutputStream ios = ImageIO.createImageOutputStream( o ); updateWriterParameters( iw.getDefaultWriteParam( ) ); // SET ANY // OUTPUT // FORMAT // SPECIFIC // PARAMETERS // IF NEEDED iw.setOutput( ios ); iw.write( (BufferedImage) _img ); ios.close( ); } catch ( Exception ex ) { throw new ChartException( ChartDeviceExtensionPlugin.ID, ChartException.RENDERING, ex ); } // FLUSH AND RESTORE STATE OF INTERNALLY CREATED IMAGE if ( !_bImageExternallySpecified ) { _img.flush( ); _img = null; } // ALWAYS DISPOSE THE GRAPHICS CONTEXT THAT WAS CREATED FROM THE IMAGE _g2d.dispose( ); _g2d = null; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/3d424ffa89c3a70e3b10e39ba4c6f8be94d80c33/JavaxImageIOWriter.java/buggy/chart/org.eclipse.birt.chart.device.extension/src/org/eclipse/birt/chart/device/image/JavaxImageIOWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1839, 12, 262, 1216, 14804, 503, 202, 95, 202, 202, 9565, 18, 5205, 12, 11272, 202, 202, 759, 24053, 12108, 12984, 11844, 11836, 1360, 10449, 202, 202, 3198, 518, 273, 446, 31, 202, 202, 780, 272, 273, 10959, 12, 11272, 202, 202, 430, 261, 272, 480, 446, 262, 202, 202, 95, 1082, 202, 305, 273, 3421, 4294, 18, 588, 2040, 27508, 858, 1630, 461, 12, 272, 11272, 1082, 202, 430, 261, 401, 305, 18, 5332, 2134, 12, 262, 262, 1082, 202, 95, 9506, 202, 305, 273, 446, 31, 368, 4978, 12421, 19252, 3492, 13915, 31, 24053, 6953, 13195, 3463, 1082, 202, 97, 202, 202, 97, 202, 202, 759, 24053, 12108, 12984, 11844, 11836, 1360, 13195, 3463, 202, 202, 430, 261, 518, 422, 446, 262, 202, 202, 95, 1082, 202, 87, 273, 21078, 12, 11272, 1082, 202, 430, 261, 272, 422, 446, 262, 1082, 202, 95, 9506, 202, 12849, 394, 14804, 503, 12, 14804, 3654, 3625, 3773, 18, 734, 16, 25083, 202, 7984, 503, 18, 25230, 1360, 16, 25083, 202, 6, 4064, 18, 2135, 18, 15374, 359, 1091, 18, 22571, 18, 464, 18, 2139, 3113, 759, 8, 3993, 17, 5106, 17, 21, 8, 25083, 202, 2704, 1033, 63, 7073, 6862, 9506, 202, 588, 16821, 12, 262, 16, 6862, 9506, 202, 588, 1630, 12, 262, 16, 6862, 9506, 202, 588, 797, 12, 262, 18, 17994, 12, 262, 25083, 202, 5779, 25083, 202, 18731, 18, 588, 3405, 12, 4838, 18, 18953, 67, 12796, 16, 6862, 9506, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1839, 12, 262, 1216, 14804, 503, 202, 95, 202, 202, 9565, 18, 5205, 12, 11272, 202, 202, 759, 24053, 12108, 12984, 11844, 11836, 1360, 10449, 202, 202, 3198, 518, 273, 446, 31, 202, 202, 780, 272, 273, 10959, 12, 11272, 202, 202, 430, 261, 272, 480, 446, 262, 202, 202, 95, 1082, 202, 305, 273, 3421, 4294, 18, 588, 2040, 27508, 858, 1630, 461, 12, 272, 11272, 1082, 202, 430, 261, 401, 305, 18, 5332, 2134, 12, 262, 262, 1082, 202, 95, 9506, 202, 305, 273, 446, 31, 368, 4978, 12421, 19252, 3492, 13915, 31, 24053, 6953, 13195, 3463, 1082, 202, 97, 202, 202, 97, 202, 202, 759, 24053, 12108, 12984, 11844, 11836, 1360, 13195, 2 ]
Insets insets = slider.getInsets(); int width = getThumbSize().width; if (slider.getPaintTicks() && slider.getMajorTickSpacing() > 0 || slider.getMinorTickSpacing() > 0) width += getTickLength(); if (slider.getPaintLabels()) width += getWidthOfWidestLabel(); width += insets.left + insets.right + focusInsets.left + focusInsets.right; return new Dimension(width, 36);
Dimension dim = UIManager.getDimension("Slider.minimumVerticalSize"); if (dim == null) dim = new Dimension(21, 36); return dim;
public Dimension getMinimumVerticalSize() { Insets insets = slider.getInsets(); int width = getThumbSize().width; if (slider.getPaintTicks() && slider.getMajorTickSpacing() > 0 || slider.getMinorTickSpacing() > 0) width += getTickLength(); if (slider.getPaintLabels()) width += getWidthOfWidestLabel(); width += insets.left + insets.right + focusInsets.left + focusInsets.right; return new Dimension(width, 36); }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/520774065178155ffc101bfb81a819be74666756/BasicSliderUI.java/clean/javax/swing/plaf/basic/BasicSliderUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 13037, 30665, 15704, 1225, 1435, 225, 288, 565, 22300, 23576, 273, 18442, 18, 588, 382, 4424, 5621, 565, 509, 1835, 273, 336, 18922, 1225, 7675, 2819, 31, 565, 309, 261, 28372, 18, 588, 12699, 16610, 1435, 597, 18442, 18, 588, 17581, 6264, 18006, 1435, 405, 374, 3639, 747, 18442, 18, 588, 19549, 6264, 18006, 1435, 405, 374, 13, 1377, 1835, 1011, 3181, 1200, 1782, 5621, 565, 309, 261, 28372, 18, 588, 12699, 5888, 10756, 1377, 1835, 1011, 8557, 951, 59, 350, 395, 2224, 5621, 565, 1835, 1011, 23576, 18, 4482, 397, 23576, 18, 4083, 397, 7155, 382, 4424, 18, 4482, 397, 7155, 382, 4424, 18, 4083, 31, 565, 327, 394, 13037, 12, 2819, 16, 6580, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 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, 13037, 30665, 15704, 1225, 1435, 225, 288, 565, 22300, 23576, 273, 18442, 18, 588, 382, 4424, 5621, 565, 509, 1835, 273, 336, 18922, 1225, 7675, 2819, 31, 565, 309, 261, 28372, 18, 588, 12699, 16610, 1435, 597, 18442, 18, 588, 17581, 6264, 18006, 1435, 405, 374, 3639, 747, 18442, 18, 588, 19549, 6264, 18006, 1435, 405, 374, 13, 1377, 1835, 1011, 3181, 1200, 1782, 5621, 565, 309, 261, 28372, 18, 588, 12699, 5888, 10756, 1377, 1835, 1011, 8557, 951, 59, 350, 395, 2224, 5621, 565, 1835, 1011, 23576, 18, 4482, 397, 23576, 18, 4083, 397, 7155, 382, 4424, 18, 4482, 397, 7155, 382, 4424, 18, 4083, 31, 565, 327, 394, 13037, 12, 2819, 16, 6580, 1769, 225, 2 ]
reloadItem = new MenuItem(Main.messages.getString("gcjwebplugin.menu_reload"));
reloadItem = new MenuItem(Messages.getString("StandaloneAppletWindow.MenuReload"));
StandaloneAppletWindow(AppletTag tag, List appletWindows) { appletWindows.add(this); applet = Main.createApplet(tag); if (contexts.get(tag.codebase) == null) contexts.put(tag.codebase, new StandaloneAppletContext(appletWindows)); setLayout(new BorderLayout()); add(applet, BorderLayout.CENTER); add(status, BorderLayout.SOUTH); addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent event) { applet.stop(); StandaloneAppletWindow.this.hide(); System.exit(0); } }); addContainerListener(this); addComponentListener(this); addMouseListener(this); addMouseMotionListener(this); addInputMethodListener(this); addHierarchyListener(this); addHierarchyBoundsListener(this); restartItem = new MenuItem(Main.messages.getString("gcjwebplugin.menu_restart")); restartItem.setEnabled(false); restartItem.addActionListener(this); reloadItem = new MenuItem(Main.messages.getString("gcjwebplugin.menu_reload")); reloadItem.setEnabled(false); reloadItem.addActionListener(this); cancelItem = new MenuItem(Main.messages.getString("gcjwebplugin.menu_cancel")); cancelItem.setEnabled(false); cancelItem.addActionListener(this); saveItem = new MenuItem(Main.messages.getString("gcjwebplugin.menu_save")); saveItem.setEnabled(false); saveItem.addActionListener(this); startItem = new MenuItem(Main.messages.getString("gcjwebplugin.menu_start")); startItem.setEnabled(false); startItem.addActionListener(this); cloneItem = new MenuItem(Main.messages.getString("gcjwebplugin.menu_clone")); cloneItem.setEnabled(false); cloneItem.addActionListener(this); closeItem = new MenuItem(Main.messages.getString("gcjwebplugin.menu_close")); closeItem.setEnabled(false); closeItem.addActionListener(this); tagItem = new MenuItem(Main.messages.getString("gcjwebplugin.menu_tag")); tagItem.setEnabled(false); tagItem.addActionListener(this); infoItem = new MenuItem(Main.messages.getString("gcjwebplugin.menu_info")); infoItem.setEnabled(false); infoItem.addActionListener(this); editItem = new MenuItem(Main.messages.getString("gcjwebplugin.menu_edit")); editItem.setEnabled(false); editItem.addActionListener(this); editItem.setEnabled(false); encodingItem = new MenuItem(Main.messages.getString("gcjwebplugin.menu_encoding")); encodingItem.setEnabled(false); encodingItem.addActionListener(this); printItem = new MenuItem(Main.messages.getString("gcjwebplugin.menu_print")); printItem.setEnabled(false); printItem.addActionListener(this); propertiesItem = new MenuItem(Main.messages.getString("gcjwebplugin.menu_properties")); propertiesItem.setEnabled(false); propertiesItem.addActionListener(this); quitItem = new MenuItem(Main.messages.getString("gcjwebplugin.menu_quit")); quitItem.addActionListener(this); MenuBar menuBar = new MenuBar(); Menu menuApplet = new Menu(Main.messages.getString("gcjwebplugin.menu_title")); menuBar.add(menuApplet); menuApplet.add(restartItem); menuApplet.add(reloadItem); menuApplet.add(cancelItem); menuApplet.add(saveItem); menuApplet.add(startItem); menuApplet.add(cloneItem); menuApplet.addSeparator(); menuApplet.add(tagItem); menuApplet.add(infoItem); menuApplet.add(editItem); menuApplet.add(encodingItem); menuApplet.addSeparator(); menuApplet.add(printItem); menuApplet.addSeparator(); menuApplet.add(propertiesItem); menuApplet.addSeparator(); menuApplet.add(closeItem); menuApplet.add(quitItem); setMenuBar(menuBar); setTitle("GNU Classpath Applet Viewer: " + tag.code); AppletContext context = (AppletContext) contexts.get(tag.codebase); ((StandaloneAppletContext) context).addApplet(applet); applet.setStub(new CommonAppletStub(tag, context, applet)); // Create the frame's peer. Otherwise getPreferredSize will read // its insets as 0. addNotify(); Insets i = getInsets(); Dimension size = tag.getSize(); setSize(i.left + size.width + i.right, i.top + size.height + status.getPreferredSize().height + i.bottom); applet.setSize(size); // Initialize the applet before showing this window so that the // applet doesn't receive events before it has been initialized. applet.init(); applet.start(); setVisible(true); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c8433cfced7bf4547e39d39cd3393319aad49f0/StandaloneAppletWindow.java/clean/core/src/classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 934, 464, 12451, 23696, 3829, 12, 23696, 1805, 1047, 16, 987, 21853, 10399, 13, 225, 288, 565, 21853, 10399, 18, 1289, 12, 2211, 1769, 565, 21853, 273, 12740, 18, 2640, 23696, 12, 2692, 1769, 565, 309, 261, 18332, 18, 588, 12, 2692, 18, 710, 1969, 13, 422, 446, 13, 1377, 5781, 18, 458, 12, 2692, 18, 710, 1969, 16, 394, 934, 464, 12451, 23696, 1042, 12, 438, 1469, 10399, 10019, 565, 18479, 12, 2704, 30814, 10663, 565, 527, 12, 438, 1469, 16, 30814, 18, 19835, 1769, 565, 527, 12, 2327, 16, 30814, 18, 3584, 5844, 1769, 565, 527, 3829, 2223, 12, 2704, 6076, 4216, 1435, 3639, 288, 202, 225, 1071, 918, 2742, 15745, 12, 3829, 1133, 871, 13, 202, 225, 288, 202, 565, 21853, 18, 5681, 5621, 202, 565, 934, 464, 12451, 23696, 3829, 18, 2211, 18, 11248, 5621, 202, 565, 2332, 18, 8593, 12, 20, 1769, 202, 225, 289, 3639, 15549, 3639, 527, 2170, 2223, 12, 2211, 1769, 565, 15218, 2223, 12, 2211, 1769, 565, 527, 9186, 2223, 12, 2211, 1769, 565, 527, 9186, 29360, 2223, 12, 2211, 1769, 565, 527, 1210, 1305, 2223, 12, 2211, 1769, 565, 527, 12074, 2223, 12, 2211, 1769, 565, 527, 12074, 5694, 2223, 12, 2211, 1769, 3639, 7870, 1180, 273, 394, 25085, 12, 6376, 18, 6833, 18, 588, 780, 2932, 13241, 78, 4875, 4094, 18, 5414, 67, 19164, 7923, 1769, 565, 7870, 1180, 18, 542, 1526, 12, 5743, 1769, 565, 7870, 1180, 18, 1289, 1803, 2223, 12, 2211, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 934, 464, 12451, 23696, 3829, 12, 23696, 1805, 1047, 16, 987, 21853, 10399, 13, 225, 288, 565, 21853, 10399, 18, 1289, 12, 2211, 1769, 565, 21853, 273, 12740, 18, 2640, 23696, 12, 2692, 1769, 565, 309, 261, 18332, 18, 588, 12, 2692, 18, 710, 1969, 13, 422, 446, 13, 1377, 5781, 18, 458, 12, 2692, 18, 710, 1969, 16, 394, 934, 464, 12451, 23696, 1042, 12, 438, 1469, 10399, 10019, 565, 18479, 12, 2704, 30814, 10663, 565, 527, 12, 438, 1469, 16, 30814, 18, 19835, 1769, 565, 527, 12, 2327, 16, 30814, 18, 3584, 5844, 1769, 565, 527, 3829, 2223, 12, 2704, 6076, 4216, 1435, 3639, 288, 202, 225, 1071, 918, 2742, 15745, 12, 3829, 1133, 871, 13, 2 ]
error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED);
error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED);
public Node replaceChild(Node newChild, Node oldChild) throws DOMException { error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"replaceChild not supported!"); return null; }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/b8535aab90f53557026b4cc2ea5220c402d57322/UnImplNode.java/clean/src/org/apache/xml/utils/UnImplNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2029, 1453, 1763, 12, 907, 19783, 16, 2029, 1592, 1763, 13, 1216, 4703, 503, 225, 288, 565, 555, 12, 4201, 668, 3805, 18, 654, 67, 7788, 67, 4400, 67, 21134, 1769, 225, 368, 6, 2079, 1763, 486, 3260, 4442, 1769, 565, 327, 446, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2029, 1453, 1763, 12, 907, 19783, 16, 2029, 1592, 1763, 13, 1216, 4703, 503, 225, 288, 565, 555, 12, 4201, 668, 3805, 18, 654, 67, 7788, 67, 4400, 67, 21134, 1769, 225, 368, 6, 2079, 1763, 486, 3260, 4442, 1769, 565, 327, 446, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throw new UnsupportedOperationException("setImagePath not implemented in IndividualJDOM");
public void setImagePath(URL path) {// imageURL = path;// todo implement }
6190 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6190/ee0f312aad4790262fed037506ee0e0a850d7707/IndividualJDOM.java/buggy/MacPAF/src/com/redbugz/macpaf/jdom/IndividualJDOM.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 604, 394, 13172, 2932, 542, 2040, 743, 486, 8249, 316, 24147, 46, 8168, 8863, 604, 394, 13172, 2932, 542, 2040, 743, 486, 8249, 316, 24147, 46, 8168, 8863, 293, 440, 933, 76, 492, 394, 13172, 2932, 542, 2040, 743, 486, 8249, 316, 24147, 46, 8168, 8863, 918, 12849, 394, 13172, 2932, 542, 2040, 743, 486, 8249, 316, 24147, 46, 8168, 8863, 18893, 743, 12, 1785, 12849, 394, 13172, 2932, 542, 2040, 743, 486, 8249, 316, 24147, 46, 8168, 8863, 589, 13, 12849, 394, 13172, 2932, 542, 2040, 743, 486, 8249, 316, 24147, 46, 8168, 8863, 288, 759, 202, 202, 2730, 1785, 12849, 394, 13172, 2932, 542, 2040, 743, 486, 8249, 316, 24147, 46, 8168, 8863, 273, 12849, 394, 13172, 2932, 542, 2040, 743, 486, 8249, 316, 24147, 46, 8168, 8863, 589, 31, 759, 12849, 394, 13172, 2932, 542, 2040, 743, 486, 8249, 316, 24147, 46, 8168, 8863, 358, 9811, 76, 492, 394, 13172, 2932, 542, 2040, 743, 486, 8249, 316, 24147, 46, 8168, 8863, 2348, 12849, 394, 13172, 2932, 542, 2040, 743, 486, 8249, 316, 24147, 46, 8168, 8863, 604, 394, 13172, 2932, 542, 2040, 743, 486, 8249, 316, 24147, 46, 8168, 8863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 604, 394, 13172, 2932, 542, 2040, 743, 486, 8249, 316, 24147, 46, 8168, 8863, 604, 394, 13172, 2932, 542, 2040, 743, 486, 8249, 316, 24147, 46, 8168, 8863, 293, 440, 933, 76, 492, 394, 13172, 2932, 542, 2040, 743, 486, 8249, 316, 24147, 46, 8168, 8863, 918, 12849, 394, 13172, 2932, 542, 2040, 743, 486, 8249, 316, 24147, 46, 8168, 8863, 18893, 743, 12, 1785, 12849, 394, 13172, 2932, 542, 2040, 743, 486, 8249, 316, 24147, 46, 8168, 8863, 589, 13, 12849, 394, 13172, 2932, 542, 2040, 743, 486, 8249, 316, 24147, 46, 8168, 8863, 288, 759, 202, 202, 2730, 1785, 12849, 394, 13172, 2932, 542, 2040, 743, 486, 8249, 316, 24147, 46, 8168, 8863, 273, 12849, 394, 13172, 2 ]
public void parseContents(Parser parser) { _test = parser.parseExpression(this, "test", null); parseChildren(parser); // make sure required attribute(s) have been set if (_test.isDummy()) { reportError(this, parser, ErrorMsg.NREQATTR_ERR, "test"); return; } }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/f2b35c498dc058f4df47d5aadce27a5bdaf41711/If.java/buggy/src/org/apache/xalan/xsltc/compiler/If.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1109, 6323, 12, 2678, 2082, 13, 288, 202, 67, 3813, 273, 2082, 18, 2670, 2300, 12, 2211, 16, 315, 3813, 3113, 446, 1769, 202, 2670, 4212, 12, 4288, 1769, 3639, 368, 1221, 3071, 1931, 1566, 12, 87, 13, 1240, 2118, 444, 3639, 309, 261, 67, 3813, 18, 291, 20094, 10756, 288, 202, 565, 17887, 12, 2211, 16, 2082, 16, 1068, 3332, 18, 50, 20373, 12043, 67, 9712, 16, 315, 3813, 8863, 202, 565, 327, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1109, 6323, 12, 2678, 2082, 13, 288, 202, 67, 3813, 273, 2082, 18, 2670, 2300, 12, 2211, 16, 315, 3813, 3113, 446, 1769, 202, 2670, 4212, 12, 4288, 1769, 3639, 368, 1221, 3071, 1931, 1566, 12, 87, 13, 1240, 2118, 444, 3639, 309, 261, 67, 3813, 18, 291, 20094, 10756, 288, 202, 565, 17887, 12, 2211, 16, 2082, 16, 1068, 3332, 18, 50, 20373, 12043, 67, 9712, 16, 315, 3813, 8863, 202, 565, 327, 31, 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 ]
decls = tu.getDeclarations(name_hue2.resolveBinding()); assertEquals(decls.length, 1); assertEquals(decls[0], name_hue);
decls = tu.getDeclarations(name_hue2.resolveBinding()); assertEquals(decls.length, 1); assertEquals(decls[0], name_hue);
public void testEnumerations() throws Exception { StringBuffer buffer = new StringBuffer(); buffer.append("enum hue { red, blue, green }; \n"); //$NON-NLS-1$ buffer.append("enum hue col, *cp; \n"); //$NON-NLS-1$ buffer.append("void f() { \n"); //$NON-NLS-1$ buffer.append(" col = blue; \n"); //$NON-NLS-1$ buffer.append(" cp = &col; \n"); //$NON-NLS-1$ buffer.append(" if( *cp != red ) \n"); //$NON-NLS-1$ buffer.append(" return; \n"); //$NON-NLS-1$ buffer.append("} \n"); //$NON-NLS-1$ IASTTranslationUnit tu = parse(buffer.toString(), ParserLanguage.C); IASTSimpleDeclaration decl1 = (IASTSimpleDeclaration) tu .getDeclarations()[0]; assertEquals(decl1.getDeclarators().length, 0); ICASTEnumerationSpecifier enumSpec = (ICASTEnumerationSpecifier) decl1 .getDeclSpecifier(); IASTEnumerator e1 = enumSpec.getEnumerators()[0]; IASTEnumerator e2 = enumSpec.getEnumerators()[1]; IASTEnumerator e3 = enumSpec.getEnumerators()[2]; IASTName name_hue = enumSpec.getName(); IASTSimpleDeclaration decl2 = (IASTSimpleDeclaration) tu .getDeclarations()[1]; IASTDeclarator dtor = decl2.getDeclarators()[0]; IASTName name_col = dtor.getName(); dtor = decl2.getDeclarators()[1]; IASTName name_cp = dtor.getName(); IASTElaboratedTypeSpecifier spec = (IASTElaboratedTypeSpecifier) decl2 .getDeclSpecifier(); assertEquals(spec.getKind(), IASTElaboratedTypeSpecifier.k_enum); IASTName name_hue2 = spec.getName(); IASTFunctionDefinition fn = (IASTFunctionDefinition) tu.getDeclarations()[2]; IASTCompoundStatement compound = (IASTCompoundStatement) fn.getBody(); IASTExpressionStatement expStatement1 = (IASTExpressionStatement) compound .getStatements()[0]; IASTBinaryExpression exp = (IASTBinaryExpression) expStatement1 .getExpression(); assertEquals(exp.getOperator(), IASTBinaryExpression.op_assign); IASTIdExpression id1 = (IASTIdExpression) exp.getOperand1(); IASTIdExpression id2 = (IASTIdExpression) exp.getOperand2(); IASTName r_col = id1.getName(); IASTName r_blue = id2.getName(); IASTExpressionStatement expStatement2 = (IASTExpressionStatement) compound .getStatements()[1]; exp = (IASTBinaryExpression) expStatement2.getExpression(); assertEquals(exp.getOperator(), IASTBinaryExpression.op_assign); id1 = (IASTIdExpression) exp.getOperand1(); IASTUnaryExpression ue = (IASTUnaryExpression) exp.getOperand2(); id2 = (IASTIdExpression) ue.getOperand(); IASTName r_cp = id1.getName(); IASTName r_col2 = id2.getName(); IASTIfStatement ifStatement = (IASTIfStatement) compound.getStatements()[2]; exp = (IASTBinaryExpression) ifStatement.getCondition(); ue = (IASTUnaryExpression) exp.getOperand1(); id1 = (IASTIdExpression) ue.getOperand(); id2 = (IASTIdExpression) exp.getOperand2(); IASTName r_cp2 = id1.getName(); IASTName r_red = id2.getName(); IEnumeration hue = (IEnumeration) name_hue.resolveBinding(); IEnumerator red = (IEnumerator) e1.getName().resolveBinding(); IEnumerator blue = (IEnumerator) e2.getName().resolveBinding(); IEnumerator green = (IEnumerator) e3.getName().resolveBinding(); IVariable col = (IVariable) name_col.resolveBinding(); IVariable cp = (IVariable) name_cp.resolveBinding(); IEnumeration hue_2 = (IEnumeration) name_hue2.resolveBinding(); IVariable col2 = (IVariable) r_col.resolveBinding(); IEnumerator blue2 = (IEnumerator) r_blue.resolveBinding(); IVariable cp2 = (IVariable) r_cp.resolveBinding(); IVariable col3 = (IVariable) r_col2.resolveBinding(); IVariable cp3 = (IVariable) r_cp2.resolveBinding(); IEnumerator red2 = (IEnumerator) r_red.resolveBinding(); assertNotNull(hue); assertSame(hue, hue_2); assertNotNull(red); assertNotNull(green); assertNotNull(blue); assertNotNull(col); assertNotNull(cp); assertSame(col, col2); assertSame(blue, blue2); assertSame(cp, cp2); assertSame(col, col3); assertSame(cp, cp3); assertSame(red, red2); // test tu.getDeclarations(IBinding) IASTName[] decls = tu.getDeclarations(name_hue.resolveBinding()); assertEquals(decls.length, 1); assertEquals(decls[0], name_hue); decls = tu.getDeclarations(e1.getName().resolveBinding()); assertEquals(decls.length, 1); assertEquals(decls[0], e1.getName()); decls = tu.getDeclarations(e2.getName().resolveBinding()); assertEquals(decls.length, 1); assertEquals(decls[0], e2.getName()); decls = tu.getDeclarations(e3.getName().resolveBinding()); assertEquals(decls.length, 1); assertEquals(decls[0], e3.getName()); decls = tu.getDeclarations(name_hue2.resolveBinding()); assertEquals(decls.length, 1); assertEquals(decls[0], name_hue); decls = tu.getDeclarations(name_col.resolveBinding()); assertEquals(decls.length, 1); assertEquals(decls[0], name_col); decls = tu.getDeclarations(name_cp.resolveBinding()); assertEquals(decls.length, 1); assertEquals(decls[0], name_cp); decls = tu.getDeclarations(fn.getDeclarator().getName().resolveBinding()); assertEquals(decls.length, 1); assertEquals(decls[0], fn.getDeclarator().getName()); decls = tu.getDeclarations(r_col.resolveBinding()); assertEquals(decls.length, 1); assertEquals(decls[0], name_col); decls = tu.getDeclarations(r_blue.resolveBinding()); assertEquals(decls.length, 1); assertEquals(decls[0], e2.getName()); decls = tu.getDeclarations(r_cp.resolveBinding()); assertEquals(decls.length, 1); assertEquals(decls[0], name_cp); decls = tu.getDeclarations(r_col2.resolveBinding()); assertEquals(decls.length, 1); assertEquals(decls[0], name_col); decls = tu.getDeclarations(r_cp2.resolveBinding()); assertEquals(decls.length, 1); assertEquals(decls[0], name_cp); decls = tu.getDeclarations(r_red.resolveBinding()); assertEquals(decls.length, 1); assertEquals(decls[0], e1.getName()); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/98145350e052e39e57313251e0f805a20472a08d/AST2Tests.java/clean/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1842, 3572, 264, 1012, 1435, 1216, 1185, 288, 1377, 6674, 1613, 273, 394, 6674, 5621, 1377, 1613, 18, 6923, 2932, 7924, 16846, 288, 1755, 16, 8024, 16, 10004, 289, 31, 377, 521, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1377, 1613, 18, 6923, 2932, 7924, 16846, 645, 16, 380, 4057, 31, 1171, 521, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1377, 1613, 18, 6923, 2932, 6459, 284, 1435, 288, 7682, 521, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1377, 1613, 18, 6923, 2932, 282, 645, 273, 8024, 31, 5397, 521, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1377, 1613, 18, 6923, 2932, 282, 3283, 273, 473, 1293, 31, 8227, 521, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1377, 1613, 18, 6923, 2932, 282, 309, 12, 380, 4057, 480, 1755, 262, 7734, 521, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1377, 1613, 18, 6923, 2932, 1377, 327, 31, 8227, 521, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1377, 1613, 18, 6923, 2932, 97, 21394, 521, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1377, 467, 9053, 6717, 2802, 28325, 273, 1109, 12, 4106, 18, 10492, 9334, 6783, 3779, 18, 39, 1769, 1377, 467, 9053, 5784, 6094, 3496, 21, 273, 261, 45, 9053, 5784, 6094, 13, 28325, 5411, 263, 588, 21408, 1435, 63, 20, 15533, 1377, 1815, 8867, 12, 8840, 21, 18, 588, 3456, 297, 3062, 7675, 2469, 16, 374, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1842, 3572, 264, 1012, 1435, 1216, 1185, 288, 1377, 6674, 1613, 273, 394, 6674, 5621, 1377, 1613, 18, 6923, 2932, 7924, 16846, 288, 1755, 16, 8024, 16, 10004, 289, 31, 377, 521, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1377, 1613, 18, 6923, 2932, 7924, 16846, 645, 16, 380, 4057, 31, 1171, 521, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1377, 1613, 18, 6923, 2932, 6459, 284, 1435, 288, 7682, 521, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1377, 1613, 18, 6923, 2932, 282, 645, 273, 8024, 31, 5397, 521, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1377, 1613, 18, 6923, 2932, 282, 3283, 273, 473, 1293, 31, 2 ]
public String getRawSchemeSpecificPart() { return null;
public String getRawSchemeSpecificPart() { return rawSchemeSpecificPart;
public String getRawSchemeSpecificPart() { return null; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/buggy/core/src/classpath/java/java/net/URI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 10547, 9321, 9969, 1988, 1435, 288, 202, 202, 2463, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 10547, 9321, 9969, 1988, 1435, 288, 202, 202, 2463, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Object[] result = d.getResult(); if (result == null || result.length == 0) return; resolution = (IMarkerResolution) result[0];
WorkbenchJob dialogJob = new WorkbenchJob(MarkerMessages.ActionResolveMarker_OpenWizardJob){ /* (non-Javadoc) * @see org.eclipse.ui.progress.UIJob#runInUIThread(org.eclipse.core.runtime.IProgressMonitor) */ public IStatus runInUIThread(IProgressMonitor monitor) { (new WizardDialog(view.getSite().getShell(),wizard[0])).open(); return Status.OK_STATUS; } }; dialogJob.setSystem(true); dialogJob.schedule();
public void run() { if (!isEnabled()) { return; } Iterator markers = getStructuredSelection().toList().iterator(); if (!markers.hasNext()) { return; } while (markers.hasNext()) { IMarker marker = (IMarker) markers.next(); IMarkerResolution[] resolutions = getResolutions(marker); if (resolutions.length == 0) { MessageDialog.openInformation(part.getSite().getShell(), MarkerMessages.resolveMarkerAction_dialogTitle, MarkerMessages.resolveMarkerAction_noResolutionsLabel); return; } IMarkerResolution resolution = resolutions[0]; if (resolutions.length > 1) { MarkerResolutionSelectionDialog d = new MarkerResolutionSelectionDialog( part.getSite().getShell(), resolutions); d.open(); Object[] result = d.getResult(); if (result == null || result.length == 0) return; resolution = (IMarkerResolution) result[0]; } resolution.run(marker); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/16e5278a583ea26e11e141a4b15c010243882051/ActionResolveMarker.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ActionResolveMarker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 202, 202, 430, 16051, 291, 1526, 10756, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 3198, 11754, 273, 1322, 8813, 2862, 6233, 7675, 869, 682, 7675, 9838, 5621, 202, 202, 430, 16051, 22807, 18, 5332, 2134, 10756, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 17523, 261, 22807, 18, 5332, 2134, 10756, 288, 1082, 202, 3445, 1313, 264, 5373, 273, 261, 3445, 1313, 264, 13, 11754, 18, 4285, 5621, 1082, 202, 3445, 1313, 264, 11098, 8526, 1565, 6170, 273, 336, 2903, 6170, 12, 11145, 1769, 1082, 202, 430, 261, 7818, 6170, 18, 2469, 422, 374, 13, 288, 9506, 202, 1079, 6353, 18, 3190, 5369, 12, 2680, 18, 588, 4956, 7675, 588, 13220, 9334, 25083, 202, 7078, 5058, 18, 10828, 7078, 1803, 67, 12730, 4247, 16, 25083, 202, 7078, 5058, 18, 10828, 7078, 1803, 67, 2135, 2903, 6170, 2224, 1769, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 3445, 1313, 264, 11098, 7861, 273, 1565, 6170, 63, 20, 15533, 1082, 202, 430, 261, 7818, 6170, 18, 2469, 405, 404, 13, 288, 9506, 202, 7078, 11098, 6233, 6353, 302, 273, 394, 14742, 11098, 6233, 6353, 12, 25083, 202, 2680, 18, 588, 4956, 7675, 588, 13220, 9334, 1565, 6170, 1769, 9506, 202, 72, 18, 3190, 5621, 6862, 9506, 202, 921, 8526, 563, 273, 302, 18, 588, 1253, 5621, 9506, 202, 430, 261, 2088, 422, 446, 747, 563, 18, 2469, 422, 374, 13, 6862, 202, 2463, 31, 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, 918, 1086, 1435, 288, 202, 202, 430, 16051, 291, 1526, 10756, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 3198, 11754, 273, 1322, 8813, 2862, 6233, 7675, 869, 682, 7675, 9838, 5621, 202, 202, 430, 16051, 22807, 18, 5332, 2134, 10756, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 17523, 261, 22807, 18, 5332, 2134, 10756, 288, 1082, 202, 3445, 1313, 264, 5373, 273, 261, 3445, 1313, 264, 13, 11754, 18, 4285, 5621, 1082, 202, 3445, 1313, 264, 11098, 8526, 1565, 6170, 273, 336, 2903, 6170, 12, 11145, 1769, 1082, 202, 430, 261, 7818, 6170, 18, 2469, 422, 374, 13, 288, 9506, 202, 1079, 6353, 18, 3190, 5369, 12, 2680, 18, 588, 2 ]
private static boolean confirmPerspectiveSwitch(IWorkbenchWindow window, IPerspectiveDescriptor finalPersp) { IPreferenceStore store = IDEWorkbenchPlugin.getDefault().getPreferenceStore(); String pspm = store.getString(IDEInternalPreferences.PROJECT_SWITCH_PERSP_MODE); if (!IDEInternalPreferences.PSPM_PROMPT.equals(pspm)) { return true; } // @issue need to clone MessageDialogWithToggle MessageDialogWithToggle dialog = MessageDialogWithToggle.openQuestion( window.getShell(), ResourceMessages.getString("NewProject.perspSwitchTitle"), //$NON-NLS-1$ ResourceMessages.format( "NewProject.perspSwitchMessage", //$NON-NLS-1$ new Object[] { finalPersp.getLabel() }), null, // use the default message for the toggle false); // toggle is initially unchecked int result = dialog.getReturnCode(); if (result >= 0 && dialog.getToggleState()) { if (result == 0) { // User chose Yes/Don't ask again, so always switch store.setValue(IDEInternalPreferences.PROJECT_SWITCH_PERSP_MODE, IDEInternalPreferences.PSPM_ALWAYS); // leave PROJECT_OPEN_NEW_PERSPECTIVE as is } else { // User chose No/Don't ask again, so never switch store.setValue(IDEInternalPreferences.PROJECT_SWITCH_PERSP_MODE, IDEInternalPreferences.PSPM_NEVER); // update PROJECT_OPEN_NEW_PERSPECTIVE to correspond IDEWorkbenchPlugin.getDefault().getPreferenceStore().setValue( IDE.Preferences.PROJECT_OPEN_NEW_PERSPECTIVE, IWorkbenchPreferenceConstants.NO_NEW_PERSPECTIVE); } } return result == 0;}
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/0fa35df3b822ccc8ca5e89821fdb912a9a5695b5/BasicNewProjectResourceWizard.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/wizards/newresource/BasicNewProjectResourceWizard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 6015, 270, 395, 2126, 6494, 10927, 14781, 16772, 10200, 12, 45, 2421, 22144, 3829, 5668, 16, 2579, 414, 16772, 3187, 6385, 14781, 84, 15329, 202, 45, 9624, 2257, 2233, 33, 10385, 2421, 22144, 3773, 18, 588, 1868, 7675, 588, 9624, 2257, 5621, 202, 780, 1121, 7755, 33, 2233, 18, 588, 780, 12, 10385, 3061, 12377, 18, 17147, 67, 18746, 25588, 67, 3194, 3118, 67, 7038, 1769, 202, 430, 12, 5, 10385, 3061, 12377, 18, 52, 3118, 49, 67, 3373, 49, 1856, 18, 14963, 12, 1121, 7755, 3719, 95, 202, 202, 2463, 3767, 31, 202, 97, 202, 759, 36, 1054, 89, 4009, 329, 1391, 80, 476, 1079, 6353, 1190, 17986, 202, 1079, 6353, 1190, 56, 23972, 1259, 3529, 33, 1079, 6353, 1190, 17986, 18, 3190, 11665, 12, 202, 202, 5668, 18, 588, 13220, 9334, 202, 202, 1420, 5058, 18, 588, 780, 2932, 1908, 4109, 18, 10422, 84, 10200, 4247, 6, 3631, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 1420, 5058, 18, 2139, 12, 1082, 202, 6, 1908, 4109, 18, 10422, 84, 10200, 1079, 3113, 759, 8, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2704, 921, 63, 7073, 6385, 14781, 84, 18, 588, 2224, 17767, 3631, 202, 202, 2011, 16, 202, 759, 407, 546, 73, 1886, 2150, 1884, 451, 278, 9891, 202, 202, 5743, 1769, 759, 14401, 291, 2738, 6261, 5847, 202, 474, 2088, 33, 12730, 18, 588, 990, 1085, 5621, 202, 430, 12, 2088, 34, 33, 20, 10, 10, 12730, 18, 588, 17986, 1119, 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, 6015, 270, 395, 2126, 6494, 10927, 14781, 16772, 10200, 12, 45, 2421, 22144, 3829, 5668, 16, 2579, 414, 16772, 3187, 6385, 14781, 84, 15329, 202, 45, 9624, 2257, 2233, 33, 10385, 2421, 22144, 3773, 18, 588, 1868, 7675, 588, 9624, 2257, 5621, 202, 780, 1121, 7755, 33, 2233, 18, 588, 780, 12, 10385, 3061, 12377, 18, 17147, 67, 18746, 25588, 67, 3194, 3118, 67, 7038, 1769, 202, 430, 12, 5, 10385, 3061, 12377, 18, 52, 3118, 49, 67, 3373, 49, 1856, 18, 14963, 12, 1121, 7755, 3719, 95, 202, 202, 2463, 3767, 31, 202, 97, 202, 759, 36, 1054, 89, 4009, 329, 1391, 80, 476, 1079, 6353, 1190, 17986, 202, 1079, 6353, 1190, 56, 23972, 1259, 3529, 33, 1079, 2 ]
public String[] mapFileName( final String sourceFileName )
public String[] mapFileName( final String sourceFileName, TaskContext context ) throws TaskException
public String[] mapFileName( final String sourceFileName ) { return m_mergedFile; }
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/2afc643a3ea676cc68f2f010ea3a7560b7a0a3af/MergingMapper.java/buggy/proposal/myrmidon/src/main/org/apache/tools/ant/util/mappers/MergingMapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 8526, 852, 4771, 12, 727, 514, 1084, 4771, 16, 3837, 1042, 819, 262, 1216, 3837, 503, 565, 288, 3639, 327, 312, 67, 15459, 812, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8526, 852, 4771, 12, 727, 514, 1084, 4771, 16, 3837, 1042, 819, 262, 1216, 3837, 503, 565, 288, 3639, 327, 312, 67, 15459, 812, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return (getRecentCompetenceCourseInformation() != null) ? getRecentCompetenceCourseInformation().getProgramEn() : null;
return (getRecentCompetenceCourseInformation() != null) ? getRecentCompetenceCourseInformation() .getProgramEn() : null;
public String getProgramEn() { return (getRecentCompetenceCourseInformation() != null) ? getRecentCompetenceCourseInformation().getProgramEn() : null; }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/a985ac1a24c8a3130973c5a5174de51d9b8412aa/CompetenceCourse.java/clean/src/net/sourceforge/fenixedu/domain/CompetenceCourse.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 3570, 3295, 664, 1435, 288, 3639, 327, 261, 588, 17076, 2945, 278, 802, 39, 3117, 5369, 1435, 480, 446, 13, 692, 5561, 2998, 2945, 278, 802, 39, 3117, 5369, 1435, 263, 588, 9459, 664, 1435, 294, 446, 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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-100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 (a1 instanceof IQueryBond) {
if (a2 instanceof IQueryBond) {
private static void arcConstructor(RGraph gr, IAtomContainer ac1, IAtomContainer ac2) throws CDKException{ // each node is incompatible with himself for (int i = 0; i < gr.getGraph().size(); i++) { RNode x = (RNode) gr.getGraph().get(i); x.getForbidden().set(i); } IBond a1 = null; IBond a2 = null; IBond b1 = null; IBond b2 = null; IBond[] bondsA1 = ac1.getBonds(); IBond[] bondsA2 = ac2.getBonds(); gr.setFirstGraphSize(ac1.getBondCount()); gr.setSecondGraphSize(ac2.getBondCount()); for (int i = 0; i < gr.getGraph().size(); i++) { RNode x = (RNode) gr.getGraph().get(i); // two nodes are neighbours if their adjacency // relationship in are equivalent in G1 and G2 // else they are incompatible. for (int j = i + 1; j < gr.getGraph().size(); j++) { if(timeout>-1 && (System.currentTimeMillis()-start)>timeout) throw new CDKException("Timeout exceeded in getOverlaps"); RNode y = (RNode) gr.getGraph().get(j); a1 = bondsA1[((RNode) gr.getGraph().get(i)).getRMap().getId1()]; a2 = bondsA2[((RNode) gr.getGraph().get(i)).getRMap().getId2()]; b1 = bondsA1[((RNode) gr.getGraph().get(j)).getRMap().getId1()]; b2 = bondsA2[((RNode) gr.getGraph().get(j)).getRMap().getId2()]; if (a1 instanceof IQueryBond) { if (a1.equals(b1) || a2.equals(b2) || !queryAdjacency(a1, b1, a2, b2)) { x.getForbidden().set(j); y.getForbidden().set(i); } else if (hasCommonAtom(a1, b1)) { x.getExtension().set(j); y.getExtension().set(i); } } else { if (a1.equals(b1) || a2.equals(b2) || (!getCommonSymbol(a1, b1).equals(getCommonSymbol(a2, b2)))) { x.getForbidden().set(j); y.getForbidden().set(i); } else if (hasCommonAtom(a1, b1)) { x.getExtension().set(j); y.getExtension().set(i); } } } } }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/462102896c3a1646bf9a485766e8fd0ad4636f2c/UniversalIsomorphismTester.java/clean/src/org/openscience/cdk/isomorphism/UniversalIsomorphismTester.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 8028, 6293, 12, 54, 4137, 3821, 16, 13922, 1721, 21, 16, 13922, 1721, 22, 13, 1216, 24570, 95, 565, 368, 1517, 756, 353, 24430, 598, 366, 381, 2890, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3821, 18, 588, 4137, 7675, 1467, 5621, 277, 27245, 288, 1377, 534, 907, 619, 273, 261, 54, 907, 13, 3821, 18, 588, 4137, 7675, 588, 12, 77, 1769, 1377, 619, 18, 588, 16553, 7675, 542, 12, 77, 1769, 565, 289, 565, 16178, 279, 21, 273, 446, 31, 565, 16178, 279, 22, 273, 446, 31, 565, 16178, 324, 21, 273, 446, 31, 565, 16178, 324, 22, 273, 446, 31, 565, 16178, 8526, 15692, 37, 21, 273, 1721, 21, 18, 588, 26090, 5621, 565, 16178, 8526, 15692, 37, 22, 273, 1721, 22, 18, 588, 26090, 5621, 565, 3821, 18, 542, 3759, 4137, 1225, 12, 1077, 21, 18, 588, 9807, 1380, 10663, 565, 3821, 18, 542, 8211, 4137, 1225, 12, 1077, 22, 18, 588, 9807, 1380, 10663, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3821, 18, 588, 4137, 7675, 1467, 5621, 277, 27245, 288, 1377, 534, 907, 619, 273, 261, 54, 907, 13, 3821, 18, 588, 4137, 7675, 588, 12, 77, 1769, 1377, 368, 2795, 2199, 854, 27662, 309, 3675, 25220, 1377, 368, 5232, 316, 854, 7680, 316, 611, 21, 471, 611, 22, 1377, 368, 469, 2898, 854, 24430, 18, 1377, 364, 261, 474, 525, 273, 277, 397, 404, 31, 525, 411, 3821, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 8028, 6293, 12, 54, 4137, 3821, 16, 13922, 1721, 21, 16, 13922, 1721, 22, 13, 1216, 24570, 95, 565, 368, 1517, 756, 353, 24430, 598, 366, 381, 2890, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3821, 18, 588, 4137, 7675, 1467, 5621, 277, 27245, 288, 1377, 534, 907, 619, 273, 261, 54, 907, 13, 3821, 18, 588, 4137, 7675, 588, 12, 77, 1769, 1377, 619, 18, 588, 16553, 7675, 542, 12, 77, 1769, 565, 289, 565, 16178, 279, 21, 273, 446, 31, 565, 16178, 279, 22, 273, 446, 31, 565, 16178, 324, 21, 273, 446, 31, 565, 16178, 324, 22, 273, 446, 31, 565, 16178, 8526, 15692, 37, 21, 273, 1721, 21, 2 ]
if (project.isOpen() == false) resource = null;
if (project.isOpen() == false) { resource = null; }
private IResource getElement(IStructuredSelection selection) { if (selection.size() != 1) return null; Object element = selection.getFirstElement(); IResource resource = null; if (element instanceof IResource) resource = (IResource) element; if (element instanceof IAdaptable) resource = (IResource) ((IAdaptable) element) .getAdapter(IResource.class); if (resource != null && resource instanceof IProject) { IProject project = (IProject) resource; if (project.isOpen() == false) resource = null; } return resource; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/AddTaskAction.java/clean/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/AddTaskAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 467, 1420, 7426, 12, 45, 30733, 6233, 4421, 13, 288, 3639, 309, 261, 10705, 18, 1467, 1435, 480, 404, 13, 5411, 327, 446, 31, 3639, 1033, 930, 273, 4421, 18, 588, 3759, 1046, 5621, 3639, 467, 1420, 1058, 273, 446, 31, 3639, 309, 261, 2956, 1276, 467, 1420, 13, 5411, 1058, 273, 261, 45, 1420, 13, 930, 31, 3639, 309, 261, 2956, 1276, 467, 13716, 429, 13, 5411, 1058, 273, 261, 45, 1420, 13, 14015, 45, 13716, 429, 13, 930, 13, 10792, 263, 588, 4216, 12, 45, 1420, 18, 1106, 1769, 3639, 309, 261, 3146, 480, 446, 597, 1058, 1276, 467, 4109, 13, 288, 5411, 467, 4109, 1984, 273, 261, 45, 4109, 13, 1058, 31, 5411, 309, 261, 4406, 18, 291, 3678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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 467, 1420, 7426, 12, 45, 30733, 6233, 4421, 13, 288, 3639, 309, 261, 10705, 18, 1467, 1435, 480, 404, 13, 5411, 327, 446, 31, 3639, 1033, 930, 273, 4421, 18, 588, 3759, 1046, 5621, 3639, 467, 1420, 1058, 273, 446, 31, 3639, 309, 261, 2956, 1276, 467, 1420, 13, 5411, 1058, 273, 261, 45, 1420, 13, 930, 31, 3639, 309, 261, 2956, 1276, 467, 13716, 429, 13, 5411, 1058, 273, 261, 45, 1420, 13, 14015, 45, 13716, 429, 13, 930, 13, 10792, 263, 588, 4216, 12, 45, 1420, 18, 1106, 1769, 3639, 309, 261, 3146, 480, 446, 597, 1058, 1276, 467, 4109, 13, 288, 5411, 467, 4109, 1984, 273, 261, 45, 4109, 13, 1058, 31, 5411, 309, 2 ]
return AttributeFactory.eINSTANCE.convertToString( AttributePackage.eINSTANCE.getActionType( ),
return convertActionTypeToString( AttributePackage.Literals.ACTION_TYPE,
public String convertActionTypeObjectToString( EDataType eDataType, Object instanceValue ) { return AttributeFactory.eINSTANCE.convertToString( AttributePackage.eINSTANCE.getActionType( ), instanceValue ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/036e8c78765730b146e5854b9d6c397a296fed86/AttributeFactoryImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/AttributeFactoryImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1765, 26995, 921, 5808, 12, 20807, 11479, 16, 1082, 202, 921, 13523, 262, 202, 95, 202, 202, 2463, 3601, 1733, 18, 73, 13341, 18, 6283, 5808, 12, 3601, 2261, 18, 73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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 514, 1765, 26995, 921, 5808, 12, 20807, 11479, 16, 1082, 202, 921, 13523, 262, 202, 95, 202, 202, 2463, 3601, 1733, 18, 73, 13341, 18, 6283, 5808, 12, 3601, 2261, 18, 73, 13341, 18, 588, 26995, 12, 262, 16, 9506, 202, 1336, 620, 11272, 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 ]
return getConstrainedChild(getNumChildren() - 1).getBottomLatencyNode();
return getConstrainedChild(getNumChildren() - 1) .getBottomLatencyNode();
public LatencyNode getBottomLatencyNode() { return getConstrainedChild(getNumChildren() - 1).getBottomLatencyNode(); }
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/b57a0a39b21991a886e7f9dfeb628b0d98d78100/Pipeline.java/clean/streams/src/streamit/scheduler2/const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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 11134, 2075, 907, 2882, 352, 3599, 21461, 907, 1435, 565, 288, 3639, 327, 336, 442, 31142, 1763, 12, 588, 2578, 4212, 1435, 300, 404, 13, 263, 588, 10393, 21461, 907, 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 ]
Asserts.notReached();
assert false;
public Reader getScriptSource() { if (hasInlineScript()) { return new StringReader(inlineScript()); } else if (isSourceFromStdin()) { return new InputStreamReader(System.in); } else { File file = new File(scriptFileName); try { return new BufferedReader(new FileReader(file)); } catch (IOException e) { System.err.println("Error opening script file: " + e.getMessage()); System.exit(1); } } Asserts.notReached(); return null; }
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/b72a2862ae5b2f01f9a767ef2ce248fd785857c4/CommandlineParser.java/clean/src/org/jruby/util/CommandlineParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5393, 22611, 1830, 1435, 288, 3639, 309, 261, 5332, 10870, 3651, 10756, 288, 5411, 327, 394, 26227, 12, 10047, 3651, 10663, 3639, 289, 469, 309, 261, 291, 1830, 1265, 10436, 267, 10756, 288, 5411, 327, 394, 15322, 12, 3163, 18, 267, 1769, 3639, 289, 469, 288, 5411, 1387, 585, 273, 394, 1387, 12, 4263, 4771, 1769, 5411, 775, 288, 7734, 327, 394, 10633, 12, 2704, 23010, 12, 768, 10019, 5411, 289, 1044, 261, 14106, 425, 13, 288, 7734, 2332, 18, 370, 18, 8222, 2932, 668, 10890, 2728, 585, 30, 315, 397, 425, 18, 24906, 10663, 7734, 2332, 18, 8593, 12, 21, 1769, 5411, 289, 3639, 289, 3639, 1815, 629, 31, 3639, 327, 446, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5393, 22611, 1830, 1435, 288, 3639, 309, 261, 5332, 10870, 3651, 10756, 288, 5411, 327, 394, 26227, 12, 10047, 3651, 10663, 3639, 289, 469, 309, 261, 291, 1830, 1265, 10436, 267, 10756, 288, 5411, 327, 394, 15322, 12, 3163, 18, 267, 1769, 3639, 289, 469, 288, 5411, 1387, 585, 273, 394, 1387, 12, 4263, 4771, 1769, 5411, 775, 288, 7734, 327, 394, 10633, 12, 2704, 23010, 12, 768, 10019, 5411, 289, 1044, 261, 14106, 425, 13, 288, 7734, 2332, 18, 370, 18, 8222, 2932, 668, 10890, 2728, 585, 30, 315, 397, 425, 18, 24906, 10663, 7734, 2332, 18, 8593, 12, 21, 1769, 5411, 289, 3639, 289, 3639, 1815, 629, 31, 3639, 327, 446, 31, 565, 289, 2, -100 ]
for ( ; i < len; i++) { final char c = ca[i];
for (; i < len; i++) { final char c = ca[i];
private String toUtf8(String str) { final char[] ca = str.toCharArray(); final int len = ca.length; // Avoid object creation, if str is already fits UTF8. int i; for (i = 0; i < len; i++) if (ca[i] == 0 || ca[i] > '\u007f') break; if (i == len) return str; final StringBuffer sb = new StringBuffer(str); sb.setLength(i); for ( ; i < len; i++) { final char c = ca[i]; if (c > 0 && c <= '\u007f') sb.append(c); else if (c <= '\u07ff') // includes '\0' { sb.append((char) (0xc0 | (c >> 6))); sb.append((char) (0x80 | (c & 0x6f))); } else { sb.append((char) (0xe0 | (c >> 12))); sb.append((char) (0x80 | ((c >> 6) & 0x6f))); sb.append((char) (0x80 | (c & 0x6f))); } } return sb.toString(); }
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, 3238, 514, 358, 15230, 28, 12, 780, 609, 13, 565, 288, 5411, 727, 1149, 8526, 3474, 273, 609, 18, 869, 15936, 5621, 5411, 727, 509, 562, 273, 3474, 18, 2469, 31, 5411, 368, 17843, 733, 6710, 16, 309, 609, 353, 1818, 13351, 6380, 28, 18, 5411, 509, 277, 31, 5411, 364, 261, 77, 273, 374, 31, 277, 411, 562, 31, 277, 27245, 3639, 309, 261, 5353, 63, 77, 65, 422, 374, 747, 3474, 63, 77, 65, 405, 2337, 89, 713, 27, 74, 6134, 1850, 898, 31, 1377, 309, 261, 77, 422, 562, 13, 3639, 327, 609, 31, 5411, 727, 6674, 2393, 273, 394, 6674, 12, 701, 1769, 5411, 2393, 18, 542, 1782, 12, 77, 1769, 1377, 364, 261, 274, 277, 411, 562, 31, 277, 27245, 3639, 288, 1850, 727, 1149, 276, 273, 3474, 63, 77, 15533, 7734, 309, 261, 71, 405, 374, 597, 276, 1648, 2337, 89, 713, 27, 74, 6134, 10792, 2393, 18, 6923, 12, 71, 1769, 7734, 469, 309, 261, 71, 1648, 2337, 89, 8642, 1403, 6134, 368, 6104, 2337, 20, 11, 7734, 288, 10792, 2393, 18, 6923, 12443, 3001, 13, 261, 20, 6511, 20, 571, 261, 71, 1671, 1666, 3719, 1769, 10792, 2393, 18, 6923, 12443, 3001, 13, 261, 20, 92, 3672, 571, 261, 71, 473, 374, 92, 26, 74, 3719, 1769, 5411, 289, 1850, 469, 5411, 288, 10792, 2393, 18, 6923, 12443, 3001, 13, 261, 20, 6554, 20, 571, 261, 71, 1671, 2593, 3719, 1769, 10792, 2393, 18, 6923, 12443, 3001, 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, 3238, 514, 358, 15230, 28, 12, 780, 609, 13, 565, 288, 5411, 727, 1149, 8526, 3474, 273, 609, 18, 869, 15936, 5621, 5411, 727, 509, 562, 273, 3474, 18, 2469, 31, 5411, 368, 17843, 733, 6710, 16, 309, 609, 353, 1818, 13351, 6380, 28, 18, 5411, 509, 277, 31, 5411, 364, 261, 77, 273, 374, 31, 277, 411, 562, 31, 277, 27245, 3639, 309, 261, 5353, 63, 77, 65, 422, 374, 747, 3474, 63, 77, 65, 405, 2337, 89, 713, 27, 74, 6134, 1850, 898, 31, 1377, 309, 261, 77, 422, 562, 13, 3639, 327, 609, 31, 5411, 727, 6674, 2393, 273, 394, 6674, 12, 701, 1769, 5411, 2393, 18, 542, 1782, 12, 77, 1769, 1377, 364, 261, 2 ]
if (failures <= MAX_FAILURES_PER_TUNNEL) {
if (failures <= getMaxTunnelFailures()) {
public void tunnelFailed(TunnelId id) { if (!_isLive) return; TunnelInfo info = getTunnelInfo(id); if (info == null) return; int failures = info.incrementFailures(); if (failures <= MAX_FAILURES_PER_TUNNEL) { if (_log.shouldLog(Log.INFO)) _log.info("Tunnel " + id + " failure " + failures + ", but not fatal yet"); return; } if (_log.shouldLog(Log.WARN)) _log.warn("Tunnel " + id + " marked as not ready, since it /failed/", new Exception("Failed tunnel")); _context.messageHistory().tunnelFailed(info.getTunnelId()); info.setIsReady(false); Hash us = _context.routerHash(); long lifetime = _context.clock().now() - info.getCreated(); while (info != null) { if (!info.getThisHop().equals(us)) { _context.profileManager().tunnelFailed(info.getThisHop()); } info = info.getNextHopInfo(); } _context.statManager().addRateData("tunnel.failAfterTime", lifetime, lifetime); _context.statManager().updateFrequency("tunnel.failFrequency"); buildFakeTunnels(); }
27437 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27437/9e16bc203acad926f1d4c7750311694f35c88100/TunnelPool.java/buggy/router/java/src/net/i2p/router/tunnelmanager/TunnelPool.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 14825, 2925, 12, 20329, 548, 612, 13, 288, 3639, 309, 16051, 67, 291, 12328, 13, 327, 31, 3639, 399, 8564, 966, 1123, 273, 3181, 8564, 966, 12, 350, 1769, 3639, 309, 261, 1376, 422, 446, 13, 5411, 327, 31, 3639, 509, 11720, 273, 1123, 18, 15016, 14479, 5621, 3639, 309, 261, 26268, 1648, 7288, 20329, 14479, 10756, 288, 5411, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 5923, 3719, 7734, 389, 1330, 18, 1376, 2932, 20329, 315, 397, 612, 397, 315, 5166, 315, 397, 11720, 397, 3104, 1496, 486, 10081, 4671, 8863, 5411, 327, 31, 3639, 289, 7734, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 27999, 3719, 2398, 389, 1330, 18, 8935, 2932, 20329, 315, 397, 612, 397, 315, 9350, 487, 486, 5695, 16, 3241, 518, 342, 7307, 19, 3113, 394, 1185, 2932, 2925, 14825, 7923, 1769, 3639, 389, 2472, 18, 2150, 5623, 7675, 19878, 2925, 12, 1376, 18, 588, 20329, 548, 10663, 3639, 1123, 18, 542, 2520, 8367, 12, 5743, 1769, 3639, 2474, 584, 273, 389, 2472, 18, 10717, 2310, 5621, 3639, 1525, 12486, 273, 389, 2472, 18, 18517, 7675, 3338, 1435, 300, 1123, 18, 588, 6119, 5621, 3639, 1323, 261, 1376, 480, 446, 13, 288, 5411, 309, 16051, 1376, 18, 588, 2503, 27461, 7675, 14963, 12, 407, 3719, 288, 7734, 389, 2472, 18, 5040, 1318, 7675, 19878, 2925, 12, 1376, 18, 588, 2503, 27461, 10663, 5411, 289, 5411, 1123, 273, 1123, 18, 588, 2134, 27461, 966, 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, 1071, 918, 14825, 2925, 12, 20329, 548, 612, 13, 288, 3639, 309, 16051, 67, 291, 12328, 13, 327, 31, 3639, 399, 8564, 966, 1123, 273, 3181, 8564, 966, 12, 350, 1769, 3639, 309, 261, 1376, 422, 446, 13, 5411, 327, 31, 3639, 509, 11720, 273, 1123, 18, 15016, 14479, 5621, 3639, 309, 261, 26268, 1648, 7288, 20329, 14479, 10756, 288, 5411, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 5923, 3719, 7734, 389, 1330, 18, 1376, 2932, 20329, 315, 397, 612, 397, 315, 5166, 315, 397, 11720, 397, 3104, 1496, 486, 10081, 4671, 8863, 5411, 327, 31, 3639, 289, 7734, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 27999, 3719, 2398, 389, 1330, 18, 2 ]
org.omg.CORBA.Object obj = orb.string_to_object(ior); SeqDB seqDBRef = SeqDBHelper.narrow(obj);
ORB orb = ORB.init(new String[0], null);
public static void main(String args []) throws Exception { String ior = args[0]; ORB orb = ORB.init(new String[0], null); org.omg.CORBA.Object obj = orb.string_to_object(ior); SeqDB seqDBRef = SeqDBHelper.narrow(obj); SequenceDB sequenceDB = new SequenceDBAdapter(seqDBRef); for(SequenceIterator si = sequenceDB.sequenceIterator(); si.hasNext(); ) { Sequence seq = si.nextSequence(); System.out.println("Got sequence " + seq.getName()); } }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/a1e311a1c408ef5ade8e8d3ce43e49f1102a1029/CorbaDBClient.java/buggy/demos/BioCorba/CorbaDBClient.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 833, 5378, 13, 1216, 1185, 288, 565, 514, 277, 280, 273, 833, 63, 20, 15533, 3639, 4869, 38, 16823, 273, 4869, 38, 18, 2738, 12, 2704, 514, 63, 20, 6487, 446, 1769, 3639, 2358, 18, 362, 75, 18, 9428, 12536, 18, 921, 1081, 273, 16823, 18, 1080, 67, 869, 67, 1612, 12, 9659, 1769, 565, 14367, 2290, 3833, 2290, 1957, 273, 14367, 2290, 2276, 18, 82, 7815, 12, 2603, 1769, 3639, 8370, 2290, 3102, 2290, 273, 394, 8370, 2290, 4216, 12, 5436, 2290, 1957, 1769, 565, 364, 12, 4021, 3198, 7533, 273, 3102, 2290, 18, 6178, 3198, 5621, 7533, 18, 5332, 2134, 5621, 262, 288, 1377, 8370, 3833, 273, 7533, 18, 4285, 4021, 5621, 1377, 2332, 18, 659, 18, 8222, 2932, 15617, 3102, 315, 397, 3833, 18, 17994, 10663, 565, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 833, 5378, 13, 1216, 1185, 288, 565, 514, 277, 280, 273, 833, 63, 20, 15533, 3639, 4869, 38, 16823, 273, 4869, 38, 18, 2738, 12, 2704, 514, 63, 20, 6487, 446, 1769, 3639, 2358, 18, 362, 75, 18, 9428, 12536, 18, 921, 1081, 273, 16823, 18, 1080, 67, 869, 67, 1612, 12, 9659, 1769, 565, 14367, 2290, 3833, 2290, 1957, 273, 14367, 2290, 2276, 18, 82, 7815, 12, 2603, 1769, 3639, 8370, 2290, 3102, 2290, 273, 394, 8370, 2290, 4216, 12, 5436, 2290, 1957, 1769, 565, 364, 12, 4021, 3198, 7533, 273, 3102, 2290, 18, 6178, 3198, 5621, 7533, 18, 5332, 2134, 5621, 262, 288, 1377, 8370, 3833, 273, 7533, 18, 4285, 2 ]
if (jj_scan_token(COMMA)) return true; if (jj_3R_230()) return true;
if (jj_scan_token(ELSE)) return true; if (jj_3R_86()) return true;
final private boolean jj_3R_342() { if (jj_scan_token(COMMA)) return true; if (jj_3R_230()) return true; return false; }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/204bebdbecd44fd7e3376db20b9709780ab79771/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 5026, 22, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 4208, 5535, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 29157, 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 ]
if(df==null) { df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); tl_tsdf.set(df); }
public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException { SimpleDateFormat df = (SimpleDateFormat) tl_tsdf.get(); if(df==null) { df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); tl_tsdf.set(df); } df.setTimeZone(TimeZone.getTimeZone("GMT")); // Use the shared StringBuffer synchronized(sbuf) { sbuf.setLength(0); sbuf.append("'").append(df.format(x)).append('.').append(x.getNanos()/10000000).append("+00'"); set(parameterIndex, sbuf.toString()); } // The above works, but so does the following. I'm leaving the above in, but this seems // to be identical. Pays to read the docs ;-) //set(parameterIndex,"'"+x.toString()+"'"); }
45454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45454/54361b4233a8da20e4ee47f16cc1dd97612dbe2e/PreparedStatement.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc2/PreparedStatement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 25251, 12, 474, 25412, 16, 8159, 619, 13, 1216, 6483, 3639, 288, 1850, 17005, 3013, 273, 261, 5784, 11878, 13, 8332, 67, 3428, 2180, 18, 588, 5621, 1850, 309, 12, 2180, 631, 2011, 13, 288, 5411, 3013, 273, 394, 17005, 2932, 17722, 17, 8206, 17, 449, 20842, 30, 7020, 30, 1049, 8863, 5411, 8332, 67, 3428, 2180, 18, 542, 12, 2180, 1769, 1850, 289, 1850, 3013, 18, 542, 16760, 12, 16760, 18, 588, 16760, 2932, 25315, 7923, 1769, 1850, 368, 2672, 326, 5116, 6674, 1850, 3852, 12, 87, 4385, 13, 288, 5411, 2393, 696, 18, 542, 1782, 12, 20, 1769, 5411, 2393, 696, 18, 6923, 2932, 4970, 2934, 6923, 12, 2180, 18, 2139, 12, 92, 13, 2934, 6923, 2668, 1093, 2934, 6923, 12, 92, 18, 588, 15739, 1435, 19, 21, 17877, 2934, 6923, 2932, 15, 713, 4970, 1769, 5411, 444, 12, 6775, 1016, 16, 2393, 696, 18, 10492, 10663, 1850, 289, 1850, 368, 1021, 5721, 6330, 16, 1496, 1427, 1552, 326, 3751, 18, 467, 17784, 15086,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]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 25251, 12, 474, 25412, 16, 8159, 619, 13, 1216, 6483, 3639, 288, 1850, 17005, 3013, 273, 261, 5784, 11878, 13, 8332, 67, 3428, 2180, 18, 588, 5621, 1850, 309, 12, 2180, 631, 2011, 13, 288, 5411, 3013, 273, 394, 17005, 2932, 17722, 17, 8206, 17, 449, 20842, 30, 7020, 30, 1049, 8863, 5411, 8332, 67, 3428, 2180, 18, 542, 12, 2180, 1769, 1850, 289, 1850, 3013, 18, 542, 16760, 12, 16760, 18, 588, 16760, 2932, 25315, 7923, 1769, 1850, 368, 2672, 326, 5116, 6674, 1850, 3852, 12, 87, 4385, 13, 288, 5411, 2393, 696, 18, 542, 1782, 12, 20, 1769, 5411, 2393, 696, 18, 6923, 2932, 4970, 2934, 6923, 12, 2180, 18, 2139, 12, 92, 2 ]
public String jsFunction_strike() {
private String jsFunction_strike() {
public String jsFunction_strike() { return tagify("STRIKE", null, null); }
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/b631b3e8574543a4d24a0048cc710f305deb8ff5/NativeString.java/buggy/src/org/mozilla/javascript/NativeString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 3828, 2083, 67, 701, 2547, 1435, 288, 3639, 327, 1047, 1164, 2932, 15765, 6859, 3113, 446, 16, 446, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 3828, 2083, 67, 701, 2547, 1435, 288, 3639, 327, 1047, 1164, 2932, 15765, 6859, 3113, 446, 16, 446, 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, -100, -100 ]
Pointcut call_this(TargetTest caller) {return null;}
Pointcut call_this(TargetTest caller) { return null; }
Pointcut call_this(TargetTest caller) {return null;}
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/cb5358aad7edf822e1c48aba6b60a08eb14c03a6/ThisTargetAspect.java/clean/aspectwerkz3/src/test/test/thistarget/ThisTargetAspect.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4686, 5150, 745, 67, 2211, 12, 2326, 4709, 4894, 13, 288, 2463, 446, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4686, 5150, 745, 67, 2211, 12, 2326, 4709, 4894, 13, 288, 2463, 446, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 (fields != null); }
{ return (fields != null); }
public boolean reallyResultSet() { return (fields != null); }
46409 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46409/6a061da272f04e1463864065f87f1f3fd61d6162/ResultSet.java/buggy/src/interfaces/jdbc/postgresql/ResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 8654, 13198, 1435, 202, 95, 202, 202, 2463, 261, 2821, 480, 446, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 8654, 13198, 1435, 202, 95, 202, 202, 2463, 261, 2821, 480, 446, 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, -100 ]
addSeperator();
addSeperator();
public PropPanelClass() { super("Class", ConfigLoader.getTabPropsOrientation()); Class mclass = MClass.class; addField(Argo.localize("UMLMenu", "label.name"), getNameTextField()); addField(Argo.localize("UMLMenu", "label.stereotype"), new UMLComboBoxNavigator(this, Argo.localize("UMLMenu", "tooltip.nav-stereo"),getStereotypeBox())); addField(Argo.localize("UMLMenu", "label.namespace"), getNamespaceComboBox()); _modifiersPanel.add(new UMLCheckBox(Argo.localize("UMLMenu", "checkbox.active-uc"),this,new UMLReflectionBooleanProperty("isActive",mclass,"isActive","setActive"))); addField(Argo.localize("UMLMenu", "label.modifiers"), _modifiersPanel); addField(Argo.localize("UMLMenu", "label.namespace-visibility"), getNamespaceVisibilityPanel()); addSeperator(); addField(Argo.localize("UMLMenu", "label.client-dependencies"), getClientDependencyScroll()); addField(Argo.localize("UMLMenu", "label.supplier-dependencies"), getSupplierDependencyScroll()); addField(Argo.localize("UMLMenu", "label.generalizations"), getGeneralizationScroll()); addField(Argo.localize("UMLMenu", "label.specializations"), getSpecializationScroll()); addSeperator(); addField(Argo.localize("UMLMenu", "label.attributes"), getAttributeScroll()); addField(Argo.localize("UMLMenu", "label.association-ends"), getAssociationEndScroll()); addField(Argo.localize("UMLMenu", "label.operations"), getOperationScroll()); addField(Argo.localize("UMLMenu", "label.owned-elements"), getOwnedElementsScroll()); new PropPanelButton(this,buttonPanel,_navUpIcon, Argo.localize("UMLMenu", "button.go-up"),"navigateUp",null); new PropPanelButton(this,buttonPanel,_addAttrIcon, Argo.localize("UMLMenu", "button.add-attribute"),"addAttribute",null); new PropPanelButton(this,buttonPanel,_addOpIcon, Argo.localize("UMLMenu", "button.add-operation"),"addOperation",null); new PropPanelButton(this,buttonPanel,_innerClassIcon, Argo.localize("UMLMenu", "button.add-inner-class"),"addInnerClass",null); new PropPanelButton(this,buttonPanel,_classIcon, Argo.localize("UMLMenu", "button.add-new-class"),"newClass",null); new PropPanelButton(this,buttonPanel,_deleteIcon, Argo.localize("UMLMenu", "button.delete-class"),"removeElement",null); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/PropPanelClass.java/clean/src_new/org/argouml/uml/ui/foundation/core/PropPanelClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 10484, 5537, 797, 1435, 288, 565, 2240, 2932, 797, 3113, 1903, 2886, 18, 588, 5661, 5047, 14097, 10663, 565, 1659, 312, 1106, 273, 490, 797, 18, 1106, 31, 565, 11742, 12, 686, 3240, 18, 3729, 554, 2932, 57, 1495, 4599, 3113, 315, 1925, 18, 529, 6, 3631, 1723, 16157, 10663, 565, 11742, 12, 686, 3240, 18, 3729, 554, 2932, 57, 1495, 4599, 3113, 315, 1925, 18, 334, 822, 10570, 6, 3631, 394, 587, 1495, 22199, 22817, 12, 2211, 16, 1201, 3240, 18, 3729, 554, 2932, 57, 1495, 4599, 3113, 315, 19798, 18, 11589, 17, 334, 822, 83, 6, 3631, 588, 55, 387, 73, 10570, 3514, 1435, 10019, 565, 11742, 12, 686, 3240, 18, 3729, 554, 2932, 57, 1495, 4599, 3113, 315, 1925, 18, 4937, 6, 3631, 11153, 22199, 10663, 565, 389, 15432, 5537, 18, 1289, 12, 2704, 587, 1495, 19174, 12, 686, 3240, 18, 3729, 554, 2932, 57, 1495, 4599, 3113, 315, 12017, 18, 3535, 17, 5286, 6, 3631, 2211, 16, 2704, 587, 1495, 9801, 5507, 1396, 2932, 291, 3896, 3113, 81, 1106, 10837, 291, 3896, 15937, 542, 3896, 6, 3719, 1769, 565, 11742, 12, 686, 3240, 18, 3729, 554, 2932, 57, 1495, 4599, 3113, 315, 1925, 18, 15432, 6, 3631, 389, 15432, 5537, 1769, 565, 11742, 12, 686, 3240, 18, 3729, 554, 2932, 57, 1495, 4599, 3113, 315, 1925, 18, 4937, 17, 14422, 6, 3631, 11153, 10135, 5537, 10663, 565, 527, 1761, 457, 639, 5621, 565, 11742, 12, 686, 3240, 18, 3729, 554, 2932, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 10484, 5537, 797, 1435, 288, 565, 2240, 2932, 797, 3113, 1903, 2886, 18, 588, 5661, 5047, 14097, 10663, 565, 1659, 312, 1106, 273, 490, 797, 18, 1106, 31, 565, 11742, 12, 686, 3240, 18, 3729, 554, 2932, 57, 1495, 4599, 3113, 315, 1925, 18, 529, 6, 3631, 1723, 16157, 10663, 565, 11742, 12, 686, 3240, 18, 3729, 554, 2932, 57, 1495, 4599, 3113, 315, 1925, 18, 334, 822, 10570, 6, 3631, 394, 587, 1495, 22199, 22817, 12, 2211, 16, 1201, 3240, 18, 3729, 554, 2932, 57, 1495, 4599, 3113, 315, 19798, 18, 11589, 17, 334, 822, 83, 6, 3631, 588, 55, 387, 73, 10570, 3514, 1435, 10019, 565, 11742, 12, 686, 3240, 18, 3729, 554, 2932, 57, 2 ]
Set durableSubs = sp.getStateManager().loadDurableSubscriptionsForTopic(name); Iterator iter = durableSubs.iterator(); while (iter.hasNext()) { DurableSubscription sub = (DurableSubscription)iter.next(); try { sub.load(); } catch (Exception e) { JMSException e2 = new JMSException("Failed to load durable subscription state"); e2.setLinkedException(e); throw e2; } sub.subscribe(); }
void addCoreDestination(Destination jmsDestination) throws JMSException { JBossDestination d = (JBossDestination)jmsDestination; String name = d.getName(); boolean isQueue = d.isQueue(); Distributor c = getCoreDestination(isQueue, name); if (c != null) { throw new JMSException("Destination " + jmsDestination + " already exists"); } ServerPeer sp = destinationManager.getServerPeer(); // TODO I am using LocalQueues for the time being, switch to distributed Queues if (isQueue) { c = new Queue(name, sp.getMessageStore(), sp.getPersistenceManager()); queueMap.put(name, c); } else { // TODO I am using LocalTopics for the time being, switch to distributed Topics c = new Topic(name); topicMap.put(name, c); } //We also remove all message data here just in case there was any data left around in the database //from a previous failure try { sp.getPersistenceManager().removeAllMessageData(name); //FIXME - Also need to remove any message refs stored in memory for this destination } catch (Exception e) { log.error("Failed to remove message data", e); } }
3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/e07e82660e41ece086f5f54b009b334608f1356d/CoreDestinationManager.java/buggy/src/main/org/jboss/jms/server/CoreDestinationManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1377, 1000, 22372, 26123, 273, 1694, 18, 588, 1119, 1318, 7675, 945, 23073, 15440, 1290, 6657, 12, 529, 1769, 4498, 1400, 273, 22372, 26123, 18, 9838, 5621, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 463, 7463, 6663, 720, 273, 261, 23073, 6663, 13, 2165, 18, 4285, 5621, 225, 775, 288, 720, 18, 945, 5621, 289, 1044, 261, 503, 425, 13, 288, 20343, 425, 22, 273, 394, 20343, 2932, 2925, 358, 1262, 22372, 4915, 919, 8863, 425, 22, 18, 542, 13174, 503, 12, 73, 1769, 604, 425, 22, 31, 289, 225, 720, 18, 9174, 5621, 289, 4202, 1000, 22372, 26123, 273, 1694, 18, 588, 1119, 1318, 7675, 945, 23073, 15440, 1290, 6657, 12, 529, 1769, 4498, 1400, 273, 22372, 26123, 18, 9838, 5621, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 463, 7463, 6663, 720, 273, 261, 23073, 6663, 13, 2165, 18, 4285, 5621, 225, 775, 288, 720, 18, 945, 5621, 289, 1044, 261, 503, 425, 13, 288, 20343, 425, 22, 273, 394, 20343, 2932, 2925, 358, 1262, 22372, 4915, 919, 8863, 425, 22, 18, 542, 13174, 503, 12, 73, 1769, 604, 425, 22, 31, 289, 225, 720, 18, 9174, 5621, 289, 4202, 1000, 22372, 26123, 273, 1694, 18, 588, 1119, 1318, 7675, 945, 23073, 15440, 1290, 6657, 12, 529, 1769, 4498, 1400, 273, 22372, 26123, 18, 9838, 5621, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 463, 7463, 6663, 720, 273, 261, 23073, 6663, 13, 2165, 18, 4285, 5621, 225, 775, 288, 720, 18, 945, 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, 1377, 1000, 22372, 26123, 273, 1694, 18, 588, 1119, 1318, 7675, 945, 23073, 15440, 1290, 6657, 12, 529, 1769, 4498, 1400, 273, 22372, 26123, 18, 9838, 5621, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 463, 7463, 6663, 720, 273, 261, 23073, 6663, 13, 2165, 18, 4285, 5621, 225, 775, 288, 720, 18, 945, 5621, 289, 1044, 261, 503, 425, 13, 288, 20343, 425, 22, 273, 394, 20343, 2932, 2925, 358, 1262, 22372, 4915, 919, 8863, 425, 22, 18, 542, 13174, 503, 12, 73, 1769, 604, 425, 22, 31, 289, 225, 720, 18, 9174, 5621, 289, 4202, 1000, 22372, 26123, 273, 1694, 18, 588, 1119, 1318, 7675, 945, 23073, 15440, 1290, 6657, 12, 529, 1769, 4498, 1400, 273, 22372, 2 ]
public And(Constraint left, Constraint right) {
public And( Constraint left, Constraint right ) {
public And(Constraint left, Constraint right) { this.left = left; this.right = right; }
2796 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2796/065d08edd62599d5d244a9317db470157690f4f9/And.java/buggy/jmock/core/src/org/jmock/core/constraint/And.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 7835, 12, 5806, 2002, 16, 10770, 2145, 13, 288, 202, 202, 2211, 18, 4482, 273, 2002, 31, 202, 202, 2211, 18, 4083, 273, 2145, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7835, 12, 5806, 2002, 16, 10770, 2145, 13, 288, 202, 202, 2211, 18, 4482, 273, 2002, 31, 202, 202, 2211, 18, 4083, 273, 2145, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
project.log("Cannot change the modification time of " + file + " in JDK 1.1", Project.MSG_WARN);
log("Cannot change the modification time of " + file + " in JDK 1.1", Project.MSG_WARN);
public void execute() throws BuildException { if (file.exists() && project.getJavaVersion() == Project.JAVA_1_1) { project.log("Cannot change the modification time of " + file + " in JDK 1.1", Project.MSG_WARN); return; } if (dateTime != null) { DateFormat df = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, Locale.US); try { setMillis(df.parse(dateTime).getTime()); } catch (ParseException pe) { throw new BuildException(pe.getMessage(), pe, location); } } if (millis >= 0 && project.getJavaVersion() == Project.JAVA_1_1) { project.log(file + " will be created but its modification time cannot be set in JDK 1.1", Project.MSG_WARN); } touch(); }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/9bd75d2c4e8bb5387ec65dd76ccf483f2bec59e7/Touch.java/clean/src/main/org/apache/tools/ant/taskdefs/Touch.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 1216, 18463, 288, 3639, 309, 261, 768, 18, 1808, 1435, 597, 1984, 18, 588, 5852, 1444, 1435, 422, 5420, 18, 27264, 67, 21, 67, 21, 13, 288, 5411, 1984, 18, 1330, 2932, 4515, 2549, 326, 11544, 813, 434, 315, 13491, 397, 585, 397, 315, 316, 24387, 404, 18, 21, 3113, 13491, 5420, 18, 11210, 67, 27999, 1769, 5411, 327, 31, 3639, 289, 7734, 309, 261, 712, 950, 480, 446, 13, 288, 5411, 18371, 3013, 273, 18371, 18, 588, 5096, 1442, 12, 11878, 18, 15993, 16, 4766, 21821, 18371, 18, 15993, 16, 4766, 21821, 6458, 18, 3378, 1769, 5411, 775, 288, 7734, 444, 4814, 12, 2180, 18, 2670, 12, 712, 950, 2934, 588, 950, 10663, 5411, 289, 1044, 261, 13047, 2804, 13, 288, 7734, 604, 394, 18463, 12, 347, 18, 24906, 9334, 2804, 16, 2117, 1769, 5411, 289, 3639, 289, 3639, 309, 261, 81, 3503, 1545, 374, 597, 1984, 18, 588, 5852, 1444, 1435, 422, 5420, 18, 27264, 67, 21, 67, 21, 13, 288, 5411, 1984, 18, 1330, 12, 768, 397, 7682, 315, 903, 506, 2522, 1496, 2097, 11544, 813, 2780, 506, 444, 316, 24387, 404, 18, 21, 3113, 13491, 5420, 18, 11210, 67, 27999, 1769, 3639, 289, 3639, 6920, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 1216, 18463, 288, 3639, 309, 261, 768, 18, 1808, 1435, 597, 1984, 18, 588, 5852, 1444, 1435, 422, 5420, 18, 27264, 67, 21, 67, 21, 13, 288, 5411, 1984, 18, 1330, 2932, 4515, 2549, 326, 11544, 813, 434, 315, 13491, 397, 585, 397, 315, 316, 24387, 404, 18, 21, 3113, 13491, 5420, 18, 11210, 67, 27999, 1769, 5411, 327, 31, 3639, 289, 7734, 309, 261, 712, 950, 480, 446, 13, 288, 5411, 18371, 3013, 273, 18371, 18, 588, 5096, 1442, 12, 11878, 18, 15993, 16, 4766, 21821, 18371, 18, 15993, 16, 4766, 21821, 6458, 18, 3378, 1769, 5411, 775, 288, 7734, 444, 4814, 12, 2180, 18, 2670, 12, 712, 950, 2934, 588, 950, 10663, 2 ]
case TokenStream.GETBASE : name = strings[getShort(iCode, pc + 1)];
} case TokenStream.GETBASE : { String name = strings[getShort(iCode, pc + 1)];
public static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, NativeFunction fnOrScript, InterpreterData theData) throws JavaScriptException { if (cx.interpreterSecurityDomain != theData.securityDomain) { // If securityDomain is different, update domain in Cotext // and call self under new domain Object savedDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = theData.securityDomain; try { return interpret(cx, scope, thisObj, args, fnOrScript, theData); } finally { cx.interpreterSecurityDomain = savedDomain; } } int i; Object lhs; final int maxStack = theData.itsMaxStack; final int maxVars = (fnOrScript.argNames == null) ? 0 : fnOrScript.argNames.length; final int maxLocals = theData.itsMaxLocals; final int maxTryDepth = theData.itsMaxTryDepth; final int VAR_SHFT = maxStack; final int LOCAL_SHFT = VAR_SHFT + maxVars; final int TRY_SCOPE_SHFT = LOCAL_SHFT + maxLocals;// stack[0 <= i < VAR_SHFT]: stack data// stack[VAR_SHFT <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_SCOPE_SHFT]: used for newtemp/usetemp// stack[TRY_SCOPE_SHFT <= i]: try scopes// when 0 <= i < LOCAL_SHFT and stack[x] == DBL_MRK,// sDbl[i] gives the number value final Object DBL_MRK = Interpreter.DBL_MRK; Object[] stack = new Object[TRY_SCOPE_SHFT + maxTryDepth]; double[] sDbl = new double[TRY_SCOPE_SHFT]; int stackTop = -1; byte[] iCode = theData.itsICode; String[] strings = theData.itsStringTable; int pc = 0; int iCodeLength = theData.itsICodeTop; final Scriptable undefined = Undefined.instance; if (maxVars != 0) { int definedArgs = fnOrScript.argCount; if (definedArgs != 0) { if (definedArgs > args.length) { definedArgs = args.length; } for (i = 0; i != definedArgs; ++i) { stack[VAR_SHFT + i] = args[i]; } } for (i = definedArgs; i != maxVars; ++i) { stack[VAR_SHFT + i] = undefined; } } if (theData.itsNestedFunctions != null) { for (i = 0; i < theData.itsNestedFunctions.length; i++) createFunctionObject(theData.itsNestedFunctions[i], scope); } Object id; Object rhs, val; double valDbl; boolean valBln; int count; int slot; String name = null; Object[] outArgs; int lIntValue; double lDbl; int rIntValue; double rDbl;// tryStack[2 * i]: starting pc of catch block// tryStack[2 * i + 1]: starting pc of finally block int[] tryStack = null; int tryStackTop = 0; InterpreterFrame frame = null; if (cx.debugger != null) { frame = new InterpreterFrame(scope, theData, fnOrScript); cx.pushFrame(frame); } Object result = undefined; int pcPrevBranch = pc; final int instructionThreshold = cx.instructionThreshold; // During function call this will be set to -1 so catch can properly // adjust it int instructionCount = cx.instructionCount; // arbitrary number to add to instructionCount when calling // other functions final int INVOCATION_COST = 100; while (pc < iCodeLength) { try { switch (iCode[pc] & 0xff) { case TokenStream.ENDTRY : tryStackTop--; break; case TokenStream.TRY : if (tryStackTop == 0) { tryStack = new int[maxTryDepth * 2]; } i = getTarget(iCode, pc + 1); if (i == pc) i = 0; tryStack[tryStackTop * 2] = i; i = getTarget(iCode, pc + 3); if (i == (pc + 2)) i = 0; tryStack[tryStackTop * 2 + 1] = i; stack[TRY_SCOPE_SHFT + tryStackTop] = scope; ++tryStackTop; pc += 4; break; case TokenStream.GE : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && rDbl <= lDbl); } else { valBln = (1 == ScriptRuntime.cmp_LE(rhs, lhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.LE : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && lDbl <= rDbl); } else { valBln = (1 == ScriptRuntime.cmp_LE(lhs, rhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.GT : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && rDbl < lDbl); } else { valBln = (1 == ScriptRuntime.cmp_LT(rhs, lhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.LT : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && lDbl < rDbl); } else { valBln = (1 == ScriptRuntime.cmp_LT(lhs, rhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.IN : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); valBln = ScriptRuntime.in(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.INSTANCEOF : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); valBln = ScriptRuntime.instanceOf(scope, lhs, rhs); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.EQ : --stackTop; valBln = do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.NE : --stackTop; valBln = !do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.SHEQ : --stackTop; valBln = do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.SHNE : --stackTop; valBln = !do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.IFNE : val = stack[stackTop]; if (val != DBL_MRK) { valBln = !ScriptRuntime.toBoolean(val); } else { valDbl = sDbl[stackTop]; valBln = !(valDbl == valDbl && valDbl != 0.0); } --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount (instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; case TokenStream.IFEQ : val = stack[stackTop]; if (val != DBL_MRK) { valBln = ScriptRuntime.toBoolean(val); } else { valDbl = sDbl[stackTop]; valBln = (valDbl == valDbl && valDbl != 0.0); } --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount (instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; case TokenStream.GOTO : if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; case TokenStream.GOSUB : sDbl[++stackTop] = pc + 3; if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; case TokenStream.RETSUB : slot = (iCode[pc + 1] & 0xFF); if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = (int)sDbl[LOCAL_SHFT + slot]; continue; case TokenStream.POP : stackTop--; break; case TokenStream.DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; break; case TokenStream.POPV : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break; case TokenStream.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; pc = getTarget(iCode, pc + 1); break; case TokenStream.BITNOT : rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; break; case TokenStream.BITAND : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue & rIntValue; break; case TokenStream.BITOR : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue | rIntValue; break; case TokenStream.BITXOR : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue ^ rIntValue; break; case TokenStream.LSH : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue << rIntValue; break; case TokenStream.RSH : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue >> rIntValue; break; case TokenStream.URSH : rIntValue = stack_int32(stack, sDbl, stackTop) & 0x1F; --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ScriptRuntime.toUint32(lDbl) >>> rIntValue; break; case TokenStream.ADD : --stackTop; do_add(stack, sDbl, stackTop); break; case TokenStream.SUB : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl - rDbl; break; case TokenStream.NEG : rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; break; case TokenStream.POS : rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; break; case TokenStream.MUL : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl * rDbl; break; case TokenStream.DIV : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; // Detect the divide by zero or let Java do it ? sDbl[stackTop] = lDbl / rDbl; break; case TokenStream.MOD : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl % rDbl; break; case TokenStream.BINDNAME : name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.bind(scope, name); pc += 2; break; case TokenStream.GETBASE : name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.getBase(scope, name); pc += 2; break; case TokenStream.SETNAME : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; // what about class cast exception here for lhs? stack[stackTop] = ScriptRuntime.setName ((Scriptable)lhs, rhs, scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.DELPROP : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(lhs, rhs); break; case TokenStream.GETPROP : name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProp(lhs, name, scope); break; case TokenStream.SETPROP : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProp(lhs, name, rhs, scope); break; case TokenStream.GETELEM : do_getElem(cx, stack, sDbl, stackTop, scope); --stackTop; break; case TokenStream.SETELEM : do_setElem(cx, stack, sDbl, stackTop, scope); stackTop -= 2; break; case TokenStream.PROPINC : name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrement(lhs, name, scope); break; case TokenStream.PROPDEC : name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postDecrement(lhs, name, scope); break; case TokenStream.ELEMINC : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrementElem(lhs, rhs, scope); break; case TokenStream.ELEMDEC : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postDecrementElem(lhs, rhs, scope); break; case TokenStream.GETTHIS : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getThis((Scriptable)lhs); break; case TokenStream.NEWTEMP : slot = (iCode[++pc] & 0xFF); stack[LOCAL_SHFT + slot] = stack[stackTop]; sDbl[LOCAL_SHFT + slot] = sDbl[stackTop]; break; case TokenStream.USETEMP : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + slot]; sDbl[stackTop] = sDbl[LOCAL_SHFT + slot]; break; case TokenStream.CALLSPECIAL : if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int lineNum = getShort(iCode, pc + 1); name = strings[getShort(iCode, pc + 3)]; count = getShort(iCode, pc + 5); outArgs = getArgsArray(stack, sDbl, stackTop, count); stackTop -= count; rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.callSpecial( cx, lhs, rhs, outArgs, thisObj, scope, name, lineNum); pc += 6; instructionCount = cx.instructionCount; break; case TokenStream.CALL : if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } cx.instructionCount = instructionCount; count = getShort(iCode, pc + 3); outArgs = getArgsArray(stack, sDbl, stackTop, count); stackTop -= count; rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); if (lhs == undefined) { i = getShort(iCode, pc + 1); if (i != -1) lhs = strings[i]; } Scriptable calleeScope = scope; if (theData.itsNeedsActivation) { calleeScope = ScriptableObject. getTopLevelScope(scope); } stack[stackTop] = ScriptRuntime.call(cx, lhs, rhs, outArgs, calleeScope); pc += 4; instructionCount = cx.instructionCount; break; case TokenStream.NEW : if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } count = getShort(iCode, pc + 3); outArgs = getArgsArray(stack, sDbl, stackTop, count); stackTop -= count; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); if (lhs == undefined && getShort(iCode, pc + 1) != -1) { // special code for better error message for call // to undefined lhs = strings[getShort(iCode, pc + 1)]; } stack[stackTop] = ScriptRuntime.newObject(cx, lhs, outArgs, scope); pc += 4; instructionCount = cx.instructionCount; break; case TokenStream.TYPEOF : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); break; case TokenStream.TYPEOFNAME : name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.typeofName(scope, name); pc += 2; break; case TokenStream.STRING : stack[++stackTop] = strings[getShort(iCode, pc + 1)]; pc += 2; break; case SHORTNUMBER_ICODE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, pc + 1); pc += 2; break; case INTNUMBER_ICODE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, pc + 1); pc += 4; break; case TokenStream.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = theData. itsDoubleTable[getShort(iCode, pc + 1)]; pc += 2; break; case TokenStream.NAME : stack[++stackTop] = ScriptRuntime.name (scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.NAMEINC : stack[++stackTop] = ScriptRuntime.postIncrement (scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.NAMEDEC : stack[++stackTop] = ScriptRuntime.postDecrement (scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.SETVAR : slot = (iCode[++pc] & 0xFF); stack[VAR_SHFT + slot] = stack[stackTop]; sDbl[VAR_SHFT + slot] = sDbl[stackTop]; break; case TokenStream.GETVAR : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; break; case TokenStream.VARINC : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = stack_double(stack, sDbl, stackTop) + 1.0; break; case TokenStream.VARDEC : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = stack_double(stack, sDbl, stackTop) - 1.0; break; case TokenStream.ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; break; case TokenStream.ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; break; case TokenStream.NULL : stack[++stackTop] = null; break; case TokenStream.THIS : stack[++stackTop] = thisObj; break; case TokenStream.THISFN : stack[++stackTop] = fnOrScript; break; case TokenStream.FALSE : stack[++stackTop] = Boolean.FALSE; break; case TokenStream.TRUE : stack[++stackTop] = Boolean.TRUE; break; case TokenStream.UNDEFINED : stack[++stackTop] = Undefined.instance; break; case TokenStream.THROW : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; throw new JavaScriptException(result); case TokenStream.JTHROW : result = stack[stackTop]; // No need to check for DBL_MRK: result is Exception --stackTop; if (result instanceof JavaScriptException) throw (JavaScriptException)result; else throw (RuntimeException)result; case TokenStream.ENTERWITH : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); break; case TokenStream.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); break; case TokenStream.NEWSCOPE : stack[++stackTop] = ScriptRuntime.newScope(); break; case TokenStream.ENUMINIT : slot = (iCode[++pc] & 0xFF); lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + slot] = ScriptRuntime.initEnum(lhs, scope); break; case TokenStream.ENUMNEXT : slot = (iCode[++pc] & 0xFF); val = stack[LOCAL_SHFT + slot]; ++stackTop; stack[stackTop] = ScriptRuntime. nextEnum((Enumeration)val); break; case TokenStream.GETPROTO : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProto(lhs, scope); break; case TokenStream.GETPARENT : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getParent(lhs); break; case TokenStream.GETSCOPEPARENT : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getParent(lhs, scope); break; case TokenStream.SETPROTO : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProto(lhs, rhs, scope); break; case TokenStream.SETPARENT : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setParent(lhs, rhs, scope); break; case TokenStream.SCOPE : stack[++stackTop] = scope; break; case TokenStream.CLOSURE : i = getShort(iCode, pc + 1); stack[++stackTop] = new InterpretedFunction( theData.itsNestedFunctions[i], scope, cx); createFunctionObject( (InterpretedFunction)stack[stackTop], scope); pc += 2; break; case TokenStream.OBJECT : i = getShort(iCode, pc + 1); stack[++stackTop] = theData.itsRegExpLiterals[i]; pc += 2; break; case SOURCEFILE_ICODE : cx.interpreterSourceFile = theData.itsSourceFile; break; case LINE_ICODE : case BREAKPOINT_ICODE : i = getShort(iCode, pc + 1); cx.interpreterLine = i; if (frame != null) frame.setLineNumber(i); if ((iCode[pc] & 0xff) == BREAKPOINT_ICODE || cx.inLineStepMode) { cx.getDebuggableEngine(). getDebugger().handleBreakpointHit(cx); } pc += 2; break; default : dumpICode(theData); throw new RuntimeException("Unknown icode : " + (iCode[pc] & 0xff) + " @ pc : " + pc); } pc++; } catch (Throwable ex) { if (instructionThreshold != 0) { if (instructionCount < 0) { // throw during function call instructionCount = cx.instructionCount; } else { // throw during any other operation instructionCount += pc - pcPrevBranch; cx.instructionCount = instructionCount; } } final int SCRIPT_THROW = 0, ECMA = 1, RUNTIME = 2, OTHER = 3; int exType; Object errObj; // Object seen by catch for (;;) { if (ex instanceof JavaScriptException) { errObj = ScriptRuntime. unwrapJavaScriptException((JavaScriptException)ex); exType = SCRIPT_THROW; } else if (ex instanceof EcmaError) { // an offical ECMA error object, errObj = ((EcmaError)ex).getErrorObject(); exType = ECMA; } else if (ex instanceof WrappedException) { Object w = ((WrappedException) ex).unwrap(); if (w instanceof Throwable) { ex = (Throwable) w; continue; } errObj = ex; exType = RUNTIME; } else if (ex instanceof RuntimeException) { errObj = ex; exType = RUNTIME; } else { errObj = ex; // Error instance exType = OTHER; } break; } if (exType != OTHER && cx.debugger != null) { cx.debugger.handleExceptionThrown(cx, errObj); } boolean rethrow = true; if (exType != OTHER && tryStackTop > 0) { --tryStackTop; if (exType == SCRIPT_THROW || exType == ECMA) { // Check for catch only for // JavaScriptException and EcmaError pc = tryStack[tryStackTop * 2]; if (pc != 0) { // Has catch block rethrow = false; } } if (rethrow) { pc = tryStack[tryStackTop * 2 + 1]; if (pc != 0) { // has finally block rethrow = false; errObj = ex; } } } if (rethrow) { if (frame != null) cx.popFrame(); if (exType == SCRIPT_THROW) throw (JavaScriptException)ex; if (exType == ECMA || exType == RUNTIME) throw (RuntimeException)ex; throw (Error)ex; } // We caught an exception, // Notify instruction observer if necessary // and point pcPrevBranch to start of catch/finally block if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { // Note: this can throw Error cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc; // prepare stack and restore this function's security domain. scope = (Scriptable)stack[TRY_SCOPE_SHFT + tryStackTop]; stackTop = 0; stack[0] = errObj; } } if (frame != null) cx.popFrame(); if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } cx.instructionCount = instructionCount; } return result; }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/052726b68e684efc593535d50a73767571084837/Interpreter.java/clean/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 4766, 282, 22780, 15261, 16, 1033, 8526, 833, 16, 4766, 282, 16717, 2083, 2295, 1162, 3651, 16, 4766, 282, 5294, 11599, 751, 326, 751, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 326, 751, 18, 7462, 3748, 13, 288, 6647, 368, 971, 4373, 3748, 353, 3775, 16, 1089, 2461, 316, 385, 352, 408, 6647, 368, 471, 745, 365, 3613, 394, 2461, 5411, 1033, 5198, 3748, 273, 9494, 18, 2761, 11599, 4368, 3748, 31, 5411, 9494, 18, 2761, 11599, 4368, 3748, 273, 326, 751, 18, 7462, 3748, 31, 5411, 775, 288, 7734, 327, 10634, 12, 71, 92, 16, 2146, 16, 15261, 16, 833, 16, 2295, 1162, 3651, 16, 326, 751, 1769, 5411, 289, 3095, 288, 7734, 9494, 18, 2761, 11599, 4368, 3748, 273, 5198, 3748, 31, 5411, 289, 3639, 289, 3639, 509, 277, 31, 3639, 1033, 8499, 31, 3639, 727, 509, 943, 2624, 273, 326, 751, 18, 1282, 2747, 2624, 31, 3639, 727, 509, 943, 5555, 273, 261, 4293, 1162, 3651, 18, 3175, 1557, 422, 446, 13, 18701, 692, 374, 294, 2295, 1162, 3651, 18, 3175, 1557, 18, 2469, 31, 3639, 727, 509, 943, 1333, 1031, 273, 326, 751, 18, 1282, 2747, 1333, 1031, 31, 3639, 727, 509, 943, 7833, 6148, 273, 326, 751, 18, 1282, 2747, 7833, 6148, 31, 3639, 727, 509, 8350, 67, 2664, 4464, 273, 943, 2624, 31, 3639, 727, 509, 15234, 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, 377, 1071, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 4766, 282, 22780, 15261, 16, 1033, 8526, 833, 16, 4766, 282, 16717, 2083, 2295, 1162, 3651, 16, 4766, 282, 5294, 11599, 751, 326, 751, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 326, 751, 18, 7462, 3748, 13, 288, 6647, 368, 971, 4373, 3748, 353, 3775, 16, 1089, 2461, 316, 385, 352, 408, 6647, 368, 471, 745, 365, 3613, 394, 2461, 5411, 1033, 5198, 3748, 273, 9494, 18, 2761, 11599, 4368, 3748, 31, 5411, 9494, 18, 2761, 11599, 4368, 3748, 273, 326, 751, 18, 7462, 3748, 31, 5411, 775, 288, 7734, 327, 10634, 12, 71, 92, 16, 2 ]
protected void setMessage(File message) throws MessagingException { super.setMessage(message); // force reading of file (lazy loading would be really, really // complicated) this.getPayload(); }
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/b2c86275cad15d78576d08d3b27dfbb750925f2e/FileContentsMessageAdapter.java/buggy/transports/file/src/main/java/org/mule/providers/file/FileContentsMessageAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 15227, 12, 812, 883, 13, 1216, 23794, 503, 225, 288, 565, 2240, 18, 542, 1079, 12, 2150, 1769, 565, 368, 2944, 6453, 434, 585, 261, 15998, 7153, 4102, 506, 8654, 16, 8654, 565, 368, 31312, 13, 565, 333, 18, 588, 6110, 5621, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 15227, 12, 812, 883, 13, 1216, 23794, 503, 225, 288, 565, 2240, 18, 542, 1079, 12, 2150, 1769, 565, 368, 2944, 6453, 434, 585, 261, 15998, 7153, 4102, 506, 8654, 16, 8654, 565, 368, 31312, 13, 565, 333, 18, 588, 6110, 5621, 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 ]
result &= checkNFC("Lower", source, decomp, Main.ucd.getCase(source, FULL, LOWER), Main.ucd.getCase(decomp, FULL, LOWER)); result &= checkNFC("Upper", source, decomp, Main.ucd.getCase(source, FULL, UPPER), Main.ucd.getCase(decomp, FULL, UPPER)); result &= checkNFC("Title", source, decomp, Main.ucd.getCase(source, FULL, TITLE), Main.ucd.getCase(decomp, FULL, TITLE)); result &= checkNFC("Fold", source, decomp, Main.ucd.getCase(source, FULL, FOLD), Main.ucd.getCase(decomp, FULL, FOLD));
result &= checkNFC("Lower", source, decomp, Default.ucd.getCase(source, FULL, LOWER), Default.ucd.getCase(decomp, FULL, LOWER)); result &= checkNFC("Upper", source, decomp, Default.ucd.getCase(source, FULL, UPPER), Default.ucd.getCase(decomp, FULL, UPPER)); result &= checkNFC("Title", source, decomp, Default.ucd.getCase(source, FULL, TITLE), Default.ucd.getCase(decomp, FULL, TITLE)); result &= checkNFC("Fold", source, decomp, Default.ucd.getCase(source, FULL, FOLD), Default.ucd.getCase(decomp, FULL, FOLD));
static boolean checkNF_AndCase(String source, boolean both) { boolean result = true; String decomp = Main.nfd.normalize(source); if (!decomp.equals(source)) { result &= checkNFC("Lower", source, decomp, Main.ucd.getCase(source, FULL, LOWER), Main.ucd.getCase(decomp, FULL, LOWER)); result &= checkNFC("Upper", source, decomp, Main.ucd.getCase(source, FULL, UPPER), Main.ucd.getCase(decomp, FULL, UPPER)); result &= checkNFC("Title", source, decomp, Main.ucd.getCase(source, FULL, TITLE), Main.ucd.getCase(decomp, FULL, TITLE)); result &= checkNFC("Fold", source, decomp, Main.ucd.getCase(source, FULL, FOLD), Main.ucd.getCase(decomp, FULL, FOLD)); if (!both) return result; result &= checkNFC("SLower", source, decomp, Main.ucd.getCase(source, SIMPLE, LOWER), Main.ucd.getCase(decomp, SIMPLE, LOWER)); result &= checkNFC("SUpper", source, decomp, Main.ucd.getCase(source, SIMPLE, UPPER), Main.ucd.getCase(decomp, SIMPLE, UPPER)); result &= checkNFC("STitle", source, decomp, Main.ucd.getCase(source, SIMPLE, TITLE), Main.ucd.getCase(decomp, SIMPLE, TITLE)); result &= checkNFC("SFold", source, decomp, Main.ucd.getCase(source, SIMPLE, TITLE), Main.ucd.getCase(decomp, SIMPLE, TITLE)); } return result; }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/3b30dd9146aa6529c07a6f0f4745caf2c750b816/VerifyUCD.java/clean/tools/unicodetools/com/ibm/text/UCD/VerifyUCD.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1250, 866, 26473, 67, 1876, 2449, 12, 780, 1084, 16, 1250, 3937, 13, 288, 3639, 1250, 563, 273, 638, 31, 3639, 514, 443, 2919, 273, 12740, 18, 82, 8313, 18, 12237, 12, 3168, 1769, 3639, 309, 16051, 323, 2919, 18, 14963, 12, 3168, 3719, 288, 13491, 563, 12058, 866, 50, 4488, 2932, 4070, 3113, 1084, 16, 443, 2919, 16, 12740, 18, 89, 4315, 18, 588, 2449, 12, 3168, 16, 18153, 16, 29819, 3631, 12740, 18, 89, 4315, 18, 588, 2449, 12, 323, 2919, 16, 18153, 16, 29819, 10019, 5411, 563, 12058, 866, 50, 4488, 2932, 5988, 3113, 1084, 16, 443, 2919, 16, 12740, 18, 89, 4315, 18, 588, 2449, 12, 3168, 16, 18153, 16, 29290, 3631, 12740, 18, 89, 4315, 18, 588, 2449, 12, 323, 2919, 16, 18153, 16, 29290, 10019, 5411, 563, 12058, 866, 50, 4488, 2932, 4247, 3113, 1084, 16, 443, 2919, 16, 12740, 18, 89, 4315, 18, 588, 2449, 12, 3168, 16, 18153, 16, 29406, 3631, 12740, 18, 89, 4315, 18, 588, 2449, 12, 323, 2919, 16, 18153, 16, 29406, 10019, 5411, 563, 12058, 866, 50, 4488, 2932, 15592, 3113, 1084, 16, 443, 2919, 16, 12740, 18, 89, 4315, 18, 588, 2449, 12, 3168, 16, 18153, 16, 478, 11846, 3631, 12740, 18, 89, 4315, 18, 588, 2449, 12, 323, 2919, 16, 18153, 16, 478, 11846, 10019, 13491, 309, 16051, 18237, 13, 327, 563, 31, 13491, 563, 12058, 866, 50, 4488, 2932, 55, 4070, 3113, 1084, 16, 443, 2919, 16, 12740, 18, 89, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1250, 866, 26473, 67, 1876, 2449, 12, 780, 1084, 16, 1250, 3937, 13, 288, 3639, 1250, 563, 273, 638, 31, 3639, 514, 443, 2919, 273, 12740, 18, 82, 8313, 18, 12237, 12, 3168, 1769, 3639, 309, 16051, 323, 2919, 18, 14963, 12, 3168, 3719, 288, 13491, 563, 12058, 866, 50, 4488, 2932, 4070, 3113, 1084, 16, 443, 2919, 16, 12740, 18, 89, 4315, 18, 588, 2449, 12, 3168, 16, 18153, 16, 29819, 3631, 12740, 18, 89, 4315, 18, 588, 2449, 12, 323, 2919, 16, 18153, 16, 29819, 10019, 5411, 563, 12058, 866, 50, 4488, 2932, 5988, 3113, 1084, 16, 443, 2919, 16, 12740, 18, 89, 4315, 18, 588, 2449, 12, 3168, 16, 18153, 16, 29290, 3631, 12740, 2 ]
public String getISO3Language() { if ("".equals(language)) return ""; int index = ("aa,ab,af,am,ar,as,ay,az,ba,be,bg,bh,bi,bn,bo,br,ca,co,cs,cy,da,"
public String getISO3Language() { if (language == "") return ""; int index = ("aa,ab,af,am,ar,as,ay,az,ba,be,bg,bh,bi,bn,bo,br,ca,co,cs,cy,da,"
public String getISO3Language() { if ("".equals(language)) return ""; int index = ("aa,ab,af,am,ar,as,ay,az,ba,be,bg,bh,bi,bn,bo,br,ca,co,cs,cy,da," + "de,dz,el,en,eo,es,et,eu,fa,fi,fj,fo,fr,fy,ga,gd,gl,gn,gu,ha,iw," + "hi,hr,hu,hy,ia,in,ie,ik,in,is,it,iu,iw,ja,ji,jw,ka,kk,kl,km,kn," + "ko,ks,ku,ky,la,ln,lo,lt,lv,mg,mi,mk,ml,mn,mo,mr,ms,mt,my,na,ne," + "nl,no,oc,om,or,pa,pl,ps,pt,qu,rm,rn,ro,ru,rw,sa,sd,sg,sh,si,sk," + "sl,sm,sn,so,sq,sr,ss,st,su,sv,sw,ta,te,tg,th,ti,tk,tl,tn,to,tr," + "ts,tt,tw,ug,uk,ur,uz,vi,vo,wo,xh,ji,yo,za,zh,zu") .indexOf(language); if (index % 3 != 0 || language.length() != 2) throw new MissingResourceException( "Can't find ISO3 language for " + language, "java.util.Locale", language); // Don't read this aloud. These are the three letter language codes. return ("aarabkaframharaasmaymazebakbelbulbihbisbenbodbrecatcoscescymdandeu" + "dzoellengepospaesteusfasfinfijfaofrafrygaigdhglggrngujhauhebhinhrv" + "hunhyeinaindileipkindislitaikuhebjpnyidjawkatkazkalkhmkankorkaskur" + "kirlatlinlaolitlavmlgmrimkdmalmonmolmarmsamltmyanaunepnldnorociorm" + "oripanpolpusporquerohrunronruskinsansndsagsrpsinslkslvsmosnasomsqi" + "srpsswsotsunsweswatamteltgkthatirtuktgltsntonturtsotattwiuigukrurd" + "uzbvievolwolxhoyidyorzhazhozul") .substring(index, index + 3); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Locale.java/buggy/core/src/classpath/java/java/util/Locale.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 8974, 3584, 23, 3779, 1435, 288, 3639, 309, 261, 3660, 18, 14963, 12, 4923, 3719, 327, 1408, 31, 3639, 509, 770, 273, 7566, 7598, 16, 378, 16, 1727, 16, 301, 16, 297, 16, 345, 16, 528, 16, 1561, 16, 12124, 16, 2196, 16, 12370, 16, 70, 76, 16, 13266, 16, 13392, 16, 1075, 16, 2848, 16, 5353, 16, 2894, 16, 2143, 16, 2431, 16, 2414, 10837, 7734, 397, 315, 323, 16, 72, 94, 16, 292, 16, 275, 16, 4361, 16, 281, 16, 278, 16, 73, 89, 16, 507, 16, 22056, 16, 74, 78, 16, 617, 16, 4840, 16, 74, 93, 16, 15833, 16, 19016, 16, 7043, 16, 1600, 16, 6891, 16, 3395, 16, 22315, 10837, 7734, 397, 315, 12266, 16, 7256, 16, 76, 89, 16, 18112, 16, 1155, 16, 267, 16, 1385, 16, 1766, 16, 267, 16, 291, 16, 305, 16, 30063, 16, 22315, 16, 12333, 16, 21102, 16, 78, 91, 16, 7282, 16, 79, 79, 16, 16391, 16, 18353, 16, 21112, 10837, 7734, 397, 315, 28179, 16, 7904, 16, 31562, 16, 18465, 16, 11821, 16, 2370, 16, 383, 16, 5618, 16, 3070, 16, 81, 75, 16, 9197, 16, 24816, 16, 781, 16, 13607, 16, 8683, 16, 21387, 16, 959, 16, 1010, 16, 4811, 16, 6582, 16, 4644, 10837, 7734, 397, 315, 14039, 16, 2135, 16, 504, 16, 362, 16, 280, 16, 8774, 16, 412, 16, 1121, 16, 337, 16, 372, 16, 8864, 16, 27639, 16, 303, 16, 8653, 16, 21878, 16, 13098, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 8974, 3584, 23, 3779, 1435, 288, 3639, 309, 261, 3660, 18, 14963, 12, 4923, 3719, 327, 1408, 31, 3639, 509, 770, 273, 7566, 7598, 16, 378, 16, 1727, 16, 301, 16, 297, 16, 345, 16, 528, 16, 1561, 16, 12124, 16, 2196, 16, 12370, 16, 70, 76, 16, 13266, 16, 13392, 16, 1075, 16, 2848, 16, 5353, 16, 2894, 16, 2143, 16, 2431, 16, 2414, 10837, 7734, 397, 315, 323, 16, 72, 94, 16, 292, 16, 275, 16, 4361, 16, 281, 16, 278, 16, 73, 89, 16, 507, 16, 22056, 16, 74, 78, 16, 617, 16, 4840, 16, 74, 93, 16, 15833, 16, 19016, 16, 7043, 16, 1600, 16, 6891, 16, 3395, 16, 22315, 10837, 7734, 2 ]
public int GetPath(int[] aPath) { return XPCOM.VtblCall(super.LAST_METHOD_ID + 29,getAddress(), aPath);
public int GetPath(int aPath) { return XPCOM.VtblCall(super.LAST_METHOD_ID + 29, getAddress(), aPath);
public int GetPath(int[] aPath) { return XPCOM.VtblCall(super.LAST_METHOD_ID + 29,getAddress(), aPath); }
12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/cd2fb0a07a77e0559780eb7909d058354d8afbbe/nsIFile.java/clean/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/internal/mozilla/nsIFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 968, 743, 12, 474, 8526, 279, 743, 13, 288, 202, 202, 2463, 1139, 3513, 1872, 18, 58, 16187, 1477, 12, 9565, 18, 14378, 67, 5327, 67, 734, 397, 12899, 16, 588, 1887, 9334, 279, 743, 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,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 734, 397, 12899, 16, 588, 1887, 9334, 279, 743, 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 ]
messageContentBytes = content; messageContent = null; messageContentObject = null;
public void setMessageContent(byte[] content) { try { this.contentLengthHeader.setContentLength(content.length); } catch (InvalidArgumentException ex) { } messageContentBytes = content; messageContent = null; messageContentObject = null; }
3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/2ba8a45c3700521ab9db85f44bfa64c95901ab38/SIPMessage.java/buggy/src/gov/nist/javax/sip/message/SIPMessage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 15227, 1350, 12, 7229, 8526, 913, 13, 288, 202, 202, 698, 288, 1082, 202, 2211, 18, 1745, 1782, 1864, 18, 542, 1350, 1782, 12, 1745, 18, 2469, 1769, 202, 202, 97, 1044, 261, 29093, 431, 13, 288, 202, 202, 97, 202, 202, 2150, 1350, 2160, 273, 913, 31, 202, 202, 2150, 1350, 273, 446, 31, 202, 202, 2150, 1350, 921, 273, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 15227, 1350, 12, 7229, 8526, 913, 13, 288, 202, 202, 698, 288, 1082, 202, 2211, 18, 1745, 1782, 1864, 18, 542, 1350, 1782, 12, 1745, 18, 2469, 1769, 202, 202, 97, 1044, 261, 29093, 431, 13, 288, 202, 202, 97, 202, 202, 2150, 1350, 2160, 273, 913, 31, 202, 202, 2150, 1350, 273, 446, 31, 202, 202, 2150, 1350, 921, 273, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
AuState auState = new AuState(mau, 123, 321, -1, null, 1, repository);
AuState auState = new AuState(mau, 123, 321, -1, null, 1, 1.0, repository);
public void testStoreOverwrite() throws Exception { AuState auState = new AuState(mau, 123, 321, -1, null, 1, repository); repository.storeAuState(auState); String filePath = LockssRepositoryImpl.mapAuToFileLocation(tempDirPath + HistoryRepositoryImpl.HISTORY_ROOT_NAME, mau); filePath += HistoryRepositoryImpl.AU_FILE_NAME; File xmlFile = new File(filePath); FileInputStream fis = new FileInputStream(xmlFile); ByteArrayOutputStream baos = new ByteArrayOutputStream(); StreamUtil.copy(fis, baos); String expectedStr = baos.toString(); auState = new AuState(mau, 1234, 4321, -1, null, 1, repository); repository.storeAuState(auState); auState = null; auState = repository.loadAuState(); assertEquals(1234, auState.getLastCrawlTime()); assertEquals(4321, auState.getLastTopLevelPollTime()); assertEquals(mau.getAuId(), auState.getArchivalUnit().getAuId()); auState = new AuState(mau, 123, 321, -1, null, 1, repository); repository.storeAuState(auState); fis = new FileInputStream(xmlFile); baos = new ByteArrayOutputStream(expectedStr.length()); StreamUtil.copy(fis, baos); assertEquals(expectedStr, baos.toString()); }
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/27ceeb995d4ac5ff74f03225ab536d6113520287/TestHistoryRepositoryImpl.java/buggy/test/src/org/lockss/state/TestHistoryRepositoryImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 2257, 20832, 1435, 1216, 1185, 288, 565, 432, 89, 1119, 20309, 1119, 273, 394, 432, 89, 1119, 12, 2540, 89, 16, 17335, 16, 3847, 21, 16, 300, 21, 16, 446, 16, 404, 16, 404, 18, 20, 16, 3352, 1769, 565, 3352, 18, 2233, 37, 89, 1119, 12, 8377, 1119, 1769, 565, 514, 4612, 273, 3488, 1049, 3305, 2828, 18, 1458, 37, 89, 15450, 2735, 12, 5814, 20129, 397, 3639, 16058, 3305, 2828, 18, 31746, 67, 9185, 67, 1985, 16, 312, 8377, 1769, 565, 4612, 1011, 16058, 3305, 2828, 18, 14237, 67, 3776, 67, 1985, 31, 565, 1387, 2025, 812, 273, 394, 1387, 12, 22787, 1769, 565, 11907, 15324, 273, 394, 11907, 12, 2902, 812, 1769, 565, 11559, 17548, 273, 394, 11559, 5621, 565, 3961, 1304, 18, 3530, 12, 74, 291, 16, 17548, 1769, 565, 514, 2665, 1585, 273, 17548, 18, 10492, 5621, 565, 20309, 1119, 273, 394, 432, 89, 1119, 12, 2540, 89, 16, 30011, 16, 1059, 1578, 21, 16, 300, 21, 16, 446, 16, 404, 16, 3352, 1769, 565, 3352, 18, 2233, 37, 89, 1119, 12, 8377, 1119, 1769, 565, 20309, 1119, 273, 446, 31, 565, 20309, 1119, 273, 3352, 18, 945, 37, 89, 1119, 5621, 565, 1815, 8867, 12, 28462, 16, 20309, 1119, 18, 588, 3024, 39, 15161, 950, 10663, 565, 1815, 8867, 12, 24, 1578, 21, 16, 20309, 1119, 18, 588, 3024, 27046, 19085, 950, 10663, 565, 1815, 8867, 12, 2540, 89, 18, 588, 37, 89, 548, 9334, 20309, 1119, 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, 1842, 2257, 20832, 1435, 1216, 1185, 288, 565, 432, 89, 1119, 20309, 1119, 273, 394, 432, 89, 1119, 12, 2540, 89, 16, 17335, 16, 3847, 21, 16, 300, 21, 16, 446, 16, 404, 16, 404, 18, 20, 16, 3352, 1769, 565, 3352, 18, 2233, 37, 89, 1119, 12, 8377, 1119, 1769, 565, 514, 4612, 273, 3488, 1049, 3305, 2828, 18, 1458, 37, 89, 15450, 2735, 12, 5814, 20129, 397, 3639, 16058, 3305, 2828, 18, 31746, 67, 9185, 67, 1985, 16, 312, 8377, 1769, 565, 4612, 1011, 16058, 3305, 2828, 18, 14237, 67, 3776, 67, 1985, 31, 565, 1387, 2025, 812, 273, 394, 1387, 12, 22787, 1769, 565, 11907, 15324, 273, 394, 11907, 12, 2902, 812, 1769, 2 ]
super("Fixnum", RubyFixnum.class, runtime.getClasses().getIntegerClass());
super("Fixnum", RubyFixnum.class, runtime.getClass("Integer"));
public FixnumMetaClass(Ruby runtime) { super("Fixnum", RubyFixnum.class, runtime.getClasses().getIntegerClass()); }
45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/ca6b16e996ea9af83ce593594b9c69b9364a9924/FixnumMetaClass.java/clean/src/org/jruby/runtime/builtin/meta/FixnumMetaClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 12139, 2107, 2781, 797, 12, 54, 10340, 3099, 13, 288, 202, 4202, 2240, 2932, 8585, 2107, 3113, 19817, 8585, 2107, 18, 1106, 16, 3099, 18, 588, 4818, 7675, 588, 4522, 797, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 288, 202, 4202, 2240, 2932, 8585, 2107, 3113, 19817, 8585, 2107, 18, 1106, 16, 3099, 18, 588, 4818, 7675, 588, 4522, 797, 10663, 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 ]
return new java.sql.Date(DF5.parse(s).getTime());
return new java.sql.Date(df.parse(s).getTime());
public java.sql.Date getDate(int columnIndex) throws SQLException { String s = getString(columnIndex); if(s==null) return null; try { return new java.sql.Date(DF5.parse(s).getTime()); } catch (ParseException e) { throw new PSQLException("postgresql.res.baddate",new Integer(e.getErrorOffset()),s); } }
47288 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47288/0651a5799d836a867a4ea253b265f596971009a6/ResultSet.java/clean/src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2252, 18, 4669, 18, 1626, 10713, 12, 474, 14882, 13, 1216, 6483, 225, 288, 565, 514, 272, 273, 4997, 12, 2827, 1016, 1769, 565, 309, 12, 87, 631, 2011, 13, 1377, 327, 446, 31, 565, 775, 288, 1377, 327, 394, 2252, 18, 4669, 18, 1626, 12, 2180, 18, 2670, 12, 87, 2934, 588, 950, 10663, 565, 289, 1044, 261, 13047, 425, 13, 288, 1377, 604, 394, 453, 23116, 2932, 2767, 24330, 18, 455, 18, 8759, 712, 3113, 2704, 2144, 12, 73, 18, 588, 668, 2335, 1435, 3631, 87, 1769, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2252, 18, 4669, 18, 1626, 10713, 12, 474, 14882, 13, 1216, 6483, 225, 288, 565, 514, 272, 273, 4997, 12, 2827, 1016, 1769, 565, 309, 12, 87, 631, 2011, 13, 1377, 327, 446, 31, 565, 775, 288, 1377, 327, 394, 2252, 18, 4669, 18, 1626, 12, 2180, 18, 2670, 12, 87, 2934, 588, 950, 10663, 565, 289, 1044, 261, 13047, 425, 13, 288, 1377, 604, 394, 453, 23116, 2932, 2767, 24330, 18, 455, 18, 8759, 712, 3113, 2704, 2144, 12, 73, 18, 588, 668, 2335, 1435, 3631, 87, 1769, 565, 289, 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 ]
public void exportType(Writer w) throws IOException { if(isHighLevel) { w.write("IMPORT_TYPE " + VSEImporter.HLOPERATOR + "\n"); } else { w.write("IMPORT_TYPE " + VSEImporter.OPERATOR + "\n"); } }
public void exportType(Writer w) throws IOException { if(isHighLevel) { w.write("IMPORT_TYPE " + VSEImporter.HLOPERATOR + "\n"); } else { w.write("IMPORT_TYPE " + VSEImporter.OPERATOR + "\n"); } }
public void exportType(Writer w) throws IOException { if(isHighLevel) { w.write("IMPORT_TYPE " + VSEImporter.HLOPERATOR + "\n"); } else { w.write("IMPORT_TYPE " + VSEImporter.OPERATOR + "\n"); } }
47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/9cf35188c641160e2e251774deec0b711037d6fc/SoarOperatorNode.java/clean/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/operatorwindow/SoarOperatorNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3359, 559, 12, 2289, 341, 13, 1216, 1860, 288, 202, 202, 430, 12, 291, 8573, 2355, 13, 288, 1082, 202, 91, 18, 2626, 2932, 20445, 67, 2399, 315, 397, 776, 1090, 21927, 18, 44, 1502, 3194, 3575, 397, 1548, 82, 8863, 202, 202, 97, 202, 202, 12107, 288, 1082, 202, 91, 18, 2626, 2932, 20445, 67, 2399, 315, 397, 776, 1090, 21927, 18, 26110, 397, 1548, 82, 8863, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3359, 559, 12, 2289, 341, 13, 1216, 1860, 288, 202, 202, 430, 12, 291, 8573, 2355, 13, 288, 1082, 202, 91, 18, 2626, 2932, 20445, 67, 2399, 315, 397, 776, 1090, 21927, 18, 44, 1502, 3194, 3575, 397, 1548, 82, 8863, 202, 202, 97, 202, 202, 12107, 288, 1082, 202, 91, 18, 2626, 2932, 20445, 67, 2399, 315, 397, 776, 1090, 21927, 18, 26110, 397, 1548, 82, 8863, 202, 202, 97, 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 ]
public Object clone() {
public final Object clone() {
public Object clone() { return new DoublyLinkedListImpl(this); }
51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/d69dceaa72feee5ece14b8de951841aa9b614188/DoublyLinkedListImpl.java/clean/src/freenet/support/DoublyLinkedListImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 1033, 3236, 1435, 288, 3639, 327, 394, 2256, 440, 93, 13174, 682, 2828, 12, 2211, 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, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 727, 1033, 3236, 1435, 288, 3639, 327, 394, 2256, 440, 93, 13174, 682, 2828, 12, 2211, 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, -100, -100, -100, -100, -100 ]
tile = getToolkit().getImage("data/widgets/tr_corner.gif");
tile = getToolkit().getImage("data/widgets/tr_corner.gif");
private void setBackGround(){ Image tile = getToolkit().getImage("data/widgets/tile.gif"); PMUtil.setImage(tile, (Component) this); int b = BackGroundDrawer.TILING_BOTH; addBgDrawer(new BackGroundDrawer (tile,b)); b = BackGroundDrawer.TILING_HORIZONTAL | BackGroundDrawer.VALIGN_TOP; tile = getToolkit().getImage("data/widgets/h_line.gif"); PMUtil.setImage(tile, (Component) this); addBgDrawer(new BackGroundDrawer (tile,b)); b = BackGroundDrawer.TILING_HORIZONTAL | BackGroundDrawer.VALIGN_BOTTOM; tile = getToolkit().getImage("data/widgets/h_line.gif"); PMUtil.setImage(tile, (Component) this); addBgDrawer(new BackGroundDrawer (tile,b)); b = BackGroundDrawer.TILING_VERTICAL | BackGroundDrawer.HALIGN_LEFT; tile = getToolkit().getImage("data/widgets/v_line.gif"); PMUtil.setImage(tile, (Component) this); addBgDrawer(new BackGroundDrawer (tile,b)); b = BackGroundDrawer.TILING_VERTICAL | BackGroundDrawer.HALIGN_RIGHT; tile = getToolkit().getImage("data/widgets/v_line.gif"); PMUtil.setImage(tile, (Component) this); addBgDrawer(new BackGroundDrawer (tile,b)); b = BackGroundDrawer.NO_TILING | BackGroundDrawer.VALIGN_TOP | BackGroundDrawer.HALIGN_LEFT; tile = getToolkit().getImage("data/widgets/tl_corner.gif"); PMUtil.setImage(tile, (Component) this); addBgDrawer(new BackGroundDrawer (tile,b)); b = BackGroundDrawer.NO_TILING | BackGroundDrawer.VALIGN_BOTTOM | BackGroundDrawer.HALIGN_LEFT; tile = getToolkit().getImage("data/widgets/bl_corner.gif"); PMUtil.setImage(tile, (Component) this); addBgDrawer(new BackGroundDrawer (tile,b)); b = BackGroundDrawer.NO_TILING | BackGroundDrawer.VALIGN_TOP | BackGroundDrawer.HALIGN_RIGHT; tile = getToolkit().getImage("data/widgets/tr_corner.gif"); PMUtil.setImage(tile, (Component) this); addBgDrawer(new BackGroundDrawer (tile,b)); b = BackGroundDrawer.NO_TILING | BackGroundDrawer.VALIGN_BOTTOM | BackGroundDrawer.HALIGN_RIGHT; tile = getToolkit().getImage("data/widgets/br_corner.gif"); PMUtil.setImage(tile, (Component) this); addBgDrawer(new BackGroundDrawer (tile,b)); }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/c9f0f1d2e5ceb1c577004355102dc4109baf3a49/MechDisplay.java/clean/megamek/src/megamek/client/ui/AWT/MechDisplay.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 444, 2711, 43, 2260, 1435, 95, 3639, 3421, 4769, 273, 336, 6364, 8691, 7675, 588, 2040, 2932, 892, 19, 18148, 19, 15368, 18, 13905, 8863, 3639, 23544, 1304, 18, 542, 2040, 12, 15368, 16, 261, 1841, 13, 333, 1769, 3639, 509, 324, 273, 4297, 43, 2260, 21631, 18, 56, 2627, 1360, 67, 38, 18307, 31, 3639, 527, 24923, 21631, 12, 2704, 4297, 43, 2260, 21631, 261, 15368, 16, 70, 10019, 5411, 324, 273, 4297, 43, 2260, 21631, 18, 56, 2627, 1360, 67, 44, 20344, 571, 7734, 4297, 43, 2260, 21631, 18, 2669, 10452, 67, 10462, 31, 3639, 4769, 273, 336, 6364, 8691, 7675, 588, 2040, 2932, 892, 19, 18148, 19, 76, 67, 1369, 18, 13905, 8863, 3639, 23544, 1304, 18, 542, 2040, 12, 15368, 16, 261, 1841, 13, 333, 1769, 3639, 527, 24923, 21631, 12, 2704, 4297, 43, 2260, 21631, 261, 15368, 16, 70, 10019, 5411, 324, 273, 4297, 43, 2260, 21631, 18, 56, 2627, 1360, 67, 44, 20344, 571, 7734, 4297, 43, 2260, 21631, 18, 2669, 10452, 67, 28891, 31, 3639, 4769, 273, 336, 6364, 8691, 7675, 588, 2040, 2932, 892, 19, 18148, 19, 76, 67, 1369, 18, 13905, 8863, 3639, 23544, 1304, 18, 542, 2040, 12, 15368, 16, 261, 1841, 13, 333, 1769, 3639, 527, 24923, 21631, 12, 2704, 4297, 43, 2260, 21631, 261, 15368, 16, 70, 10019, 5411, 324, 273, 4297, 43, 2260, 21631, 18, 56, 2627, 1360, 67, 21654, 10109, 571, 7734, 4297, 43, 2260, 21631, 18, 44, 26439, 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, 377, 3238, 918, 444, 2711, 43, 2260, 1435, 95, 3639, 3421, 4769, 273, 336, 6364, 8691, 7675, 588, 2040, 2932, 892, 19, 18148, 19, 15368, 18, 13905, 8863, 3639, 23544, 1304, 18, 542, 2040, 12, 15368, 16, 261, 1841, 13, 333, 1769, 3639, 509, 324, 273, 4297, 43, 2260, 21631, 18, 56, 2627, 1360, 67, 38, 18307, 31, 3639, 527, 24923, 21631, 12, 2704, 4297, 43, 2260, 21631, 261, 15368, 16, 70, 10019, 5411, 324, 273, 4297, 43, 2260, 21631, 18, 56, 2627, 1360, 67, 44, 20344, 571, 7734, 4297, 43, 2260, 21631, 18, 2669, 10452, 67, 10462, 31, 3639, 4769, 273, 336, 6364, 8691, 7675, 588, 2040, 2932, 892, 19, 18148, 19, 76, 67, 1369, 18, 13905, 8863, 2 ]
} else if (checker.compare(this.getClass(), "Disposes the last block of trees", null, commandName, "disposeLastTreeBlock")) { int n = treesVector.size(); if (n<1) return null; TreeVector ultimate = (TreeVector)treesVector.elementAt(n-1);
} else if (checker.compare(this.getClass(), "Disposes the last block of trees", null, commandName, "disposeLastTreeBlock")) { int n = treesVector.size(); if (n<1) return null; TreeVector ultimate = (TreeVector)treesVector.elementAt(n-1);
public Object doCommand(String commandName, String arguments, CommandRecord commandRec, CommandChecker checker) { if (checker.compare(this.getClass(), "Returns a trees block", "[number of trees block; 0 based]", commandName, "getTreeBlock")) { int t = MesquiteInteger.fromFirstToken(arguments, pos); if (MesquiteInteger.isCombinable(t) && t<treesVector.size()) { TreeVector tx = (TreeVector)treesVector.elementAt(t); return tx; } } else if (checker.compare(this.getClass(), "Shows lists of trees in a trees block", "[number of trees block; 0 based]", commandName, "showTrees")) { int t = MesquiteInteger.fromFirstToken(arguments, pos); if (StringUtil.blank(arguments) || !MesquiteInteger.isCombinable(t) || t>treesVector.size()) { for (int i = 0; i< treesVector.size(); i++) { showTrees((TreeVector)treesVector.elementAt(i), commandRec); } } else { TreeVector tx = (TreeVector)treesVector.elementAt(t); return showTrees(tx, commandRec); } } else if (checker.compare(this.getClass(), "Shows a tree window showing a particular trees block", "[number of tree block to show]", commandName, "showTreesInWindow")) { //Check to see if already has lister for this int t = MesquiteInteger.fromFirstToken(arguments, pos); if (MesquiteInteger.isCombinable(t) && t<getProject().getNumberOfFileElements(TreeVector.class)) { MesquiteModule fCoord = getFileCoordinator(); MesquiteModule treeWindowCoord = null; if (fCoord!=null) treeWindowCoord = fCoord.findEmployeeWithName("Tree Window Coordinator"); if (treeWindowCoord!=null){ TreeVector trees = (TreeVector)getProject().getFileElement(TreeVector.class, t); if (trees == null) return null; Taxa taxa = trees.getTaxa(); //send script to tree window coord to makeTreeWindow with set of taxa and then set to stored trees and this tree vector int whichTreeBlock = getTreeBlockNumber(taxa, trees); String commands = "makeTreeWindow " + getProject().getTaxaReferenceInternal(taxa) + " #BasicTreeWindowMaker; tell It; setTreeSource #StoredTrees;"; commands += " tell It; setTaxa " + getProject().getTaxaReferenceInternal(taxa) + " ; setTreeBlock " + TreeVector.toExternal(whichTreeBlock) + "; endTell; showWindow; endTell; "; MesquiteInteger pos = new MesquiteInteger(0); Puppeteer p = new Puppeteer(this); p.execute(treeWindowCoord, commands, pos, null, false); /* */ } } } else if (checker.compare(this.getClass(), "Saves copy of a trees block to a separate file", "[id number of trees block]", commandName, "exportTreesBlock")) { int t = MesquiteInteger.fromString(parser.getFirstToken(arguments)); if (MesquiteInteger.isCombinable(t) && t< getProject().getNumberOfFileElements(TreeVector.class)) { long id = MesquiteLong.fromString(parser.getNextToken()); TreeVector d = (TreeVector)getProject().getFileElement(TreeVector.class, t); if (d!=null) { String path = MesquiteFile.saveFileAsDialog("Save copy of tree block to file"); if (!StringUtil.blank(path)) exportTreesBlock(d, path, commandRec); } } } else if (checker.compare(this.getClass(), "Saves copies of a series of tree blocks to files", "[name of module to fill the trees blocks]", commandName, "exportTreesBlocks")) { //ask user how which taxa, how many characters //create chars block and add to file //return chars TreeVector newTrees=null; Taxa taxa = null; if (getProject().getNumberTaxas()==0) { alert("Trees blocks cannot be created until taxa exist in file."); return null; } else taxa = getProject().chooseTaxa(containerOfModule(), "For which block of taxa do you want to save copies of trees blocks?",commandRec); if (taxa == null) return null; TreeBlockSource treeFillerTask; if (StringUtil.blank(arguments)) treeFillerTask = (TreeBlockSource)hireEmployee(commandRec, TreeBlockSource.class, "Save copies of trees blocks from:"); else treeFillerTask = (TreeBlockSource)hireNamedEmployee(commandRec, TreeBlockSource.class, arguments); if (treeFillerTask != null) { String basePath = MesquiteFile.saveFileAsDialog("Base name for files (files will be named <name>1.nex, <name>2.nex, etc.)"); if (StringUtil.blank(basePath)) { fireEmployee(treeFillerTask); resetAllMenuBars(); return null; } treeFillerTask.initialize(taxa, commandRec); int num = treeFillerTask.getNumberOfTreeBlocks(taxa, commandRec); if (!MesquiteInteger.isCombinable(num)) num = MesquiteInteger.queryInteger(containerOfModule(), "How many trees blocks?", "How many trees blocks of which to save copies?", 10); if (!MesquiteInteger.isCombinable(num)) { fireEmployee(treeFillerTask); resetAllMenuBars(); return null; } MesquiteTrunk.mesquiteTrunk.incrementProjectBrowserRefreshSuppression(); for (int iBlock = 0; iBlock<num; iBlock++){ TreeVector trees = treeFillerTask.getBlock(taxa, iBlock, commandRec); if (trees!=null) exportTreesBlock(trees, basePath + iBlock + ".nex", commandRec); } MesquiteTrunk.mesquiteTrunk.decrementProjectBrowserRefreshSuppression(); if (!showTreeFiller) fireEmployee(treeFillerTask); resetAllMenuBars(); } } else if (checker.compare(this.getClass(), "Shows a list of the stored tree blocks", null, commandName, "showTreeBlocks")) { //Check to see if already has lister for this boolean found = false; for (int i = 0; i<getNumberOfEmployees(); i++) { Object e=getEmployeeVector().elementAt(i); if (e instanceof ManagerAssistant) if ( ((ManagerAssistant)e).getName().equals("Tree Blocks List")) { ((ManagerAssistant)e).getModuleWindow().setVisible(true); return e; } } ManagerAssistant lister= (ManagerAssistant)hireNamedEmployee(commandRec, ManagerAssistant.class, StringUtil.tokenize("Tree Blocks List")); if (lister==null){ alert("Sorry, no module was found to list the tree blocks"); return null; } lister.showListWindow(null, commandRec); if (!commandRec.scripting() && lister.getModuleWindow()!=null) lister.getModuleWindow().setVisible(true); return lister; } else if (checker.compare(this.getClass(), "Sets the tree source for use in filling newly created tree blocks", "[name of tree block filler module]", commandName, "setTreeSource")) { TreeBlockFiller temp= (TreeBlockFiller)replaceEmployee(commandRec, TreeBlockFiller.class, arguments, "Source of trees", treeFillerTask); if (temp!=null) { treeFillerTask= temp; } return treeFillerTask; } else if (checker.compare(this.getClass(), "Fires the tree source for use in filling newly created tree blocks",null, commandName, "fireTreeSource")) { if (treeFillerTask!=null) { fireEmployee(treeFillerTask); treeFillerTask = null; } } else if (checker.compare(this.getClass(), "Links file with trees", null, commandName, "linkTreeFile")) { MesquiteModule fCoord = getFileCoordinator(); fCoord.doCommand("linkTreeFile", StringUtil.argumentMarker + "fuseTreeBlocks", commandRec, checker); } else if (checker.compare(this.getClass(), "Includes file with trees", null, commandName, "includeTreeFile")) { MesquiteModule fCoord = getFileCoordinator(); fCoord.doCommand("includeTreeFile", null, commandRec, checker); } else if (checker.compare(this.getClass(), "Includes file with trees", null, commandName, "includePartialTreeFile")) { //this changed considerably between 1.0 and 1.01, using ManyTreesFromFile to avoid memory overflow if (!commandRec.scripting()){ //only non-scripting MesquiteInteger buttonPressed = new MesquiteInteger(); ExtensibleDialog dialog = new ExtensibleDialog(containerOfModule(), "Trees to Include", buttonPressed); IntegerField firstTree = dialog.addIntegerField("First Tree to Read:", 1, 16); IntegerField lastTree = dialog.addIntegerField("Last Tree to Read:", MesquiteInteger.infinite, 16); IntegerField everyNth = dialog.addIntegerField("Sample Every nth tree:", 1, 16); dialog.completeAndShowDialog(true); dialog.dispose(); if (buttonPressed.getValue()!=0) return null; arguments = ""; TreeSource temp = (TreeSource)hireNamedEmployee(commandRec, TreeSource.class, "#mesquite.trees.ManyTreesFromFile.ManyTreesFromFile"); if (temp == null) discreetAlert(commandRec, "Sorry, the file could not be read because the module \"Trees Directly from File\" could not be started"); else { int start = 0; int last = MesquiteInteger.infinite; int every = 1; if (MesquiteInteger.isCombinable(firstTree.getValue()) && firstTree.getValue() != 1) start = firstTree.getValue() - 1; if (MesquiteInteger.isCombinable(lastTree.getValue())) last = (lastTree.getValue() - 1); if (MesquiteInteger.isCombinable(everyNth.getValue()) && everyNth.getValue() != 1) every = (everyNth.getValue()); Tree first = temp.getTree(null, 0, commandRec); //get first tree to figure out taxa block! if (first == null) { fireEmployee(temp); discreetAlert(commandRec, "Sorry, no tree was obtained"); return null; } Taxa taxa = first.getTaxa(); MesquiteFile file = chooseFile(commandRec, taxa); if (file == null){ fireEmployee(temp); return null; } TreeVector trees = new TreeVector(taxa); Tree tree = null; for (int i= start; (i < last) && (i == start || tree !=null); i+= every){ tree = temp.getTree(taxa, i, commandRec); if (tree !=null) trees.addElement(tree, false); } trees.setName(temp.getParameters()); trees.addToFile(file, getProject(), this); fireEmployee(temp); resetAllMenuBars(); } } } else if (checker.compare(this.getClass(), "Creates a new tree block", "[reference of taxa block] [identification number of file to which tree block will belong] [name of tree block]", commandName, "newTreeBlock")) { //first argument: taxa; second argument: id of file to which to add; third argument name of tree block Taxa taxa=null; MesquiteFile file=null; String listName = null; if (StringUtil.blank(arguments)){ //no taxa specified && no file specified if (getProject().getNumberTaxas()==1 || commandRec.scripting()) { taxa = getProject().getTaxa(0); } else { ListableVector taxas = getProject().getTaxas(); taxa = (Taxa)ListDialog.queryList(containerOfModule(), "Select taxa", "Select taxa (for new tree block)", MesquiteString.helpString,taxas, 0); } file = chooseFile(commandRec, taxa); } else { taxa = getProject().getTaxa(parser.getFirstToken(arguments)); int fileID = MesquiteInteger.fromString(parser.getNextToken()); if (!MesquiteInteger.isCombinable(fileID)) file = getProject().getHomeFile(); else file = getProject().getFileByID(fileID); listName = parser.getNextToken(); } if (taxa==null || file == null) return null; TreeVector trees = makeNewTreeBlock(taxa, treesVector.getUniqueName("Untitled Trees Block"), file); if (!StringUtil.blank(listName)) { trees.setName(listName); resetAllMenuBars(); } else if (!commandRec.scripting()) { String name = MesquiteString.queryShortString(containerOfModule(), "Name of trees block", "Name of trees block", treesVector.getUniqueName("Untitled Trees Block")); if (StringUtil.blank(name)) trees.setName(treesVector.getUniqueName("Untitled Trees Block")); else trees.setName(name); resetAllMenuBars(); } return trees; } else if (checker.compare(this.getClass(), "Concatenates the last tree block into the second last", null, commandName, "concatLastTwo")) { int n = treesVector.size(); if (n<2) return null; TreeVector ultimate = (TreeVector)treesVector.elementAt(n-1); TreeVector penultimate = (TreeVector)treesVector.elementAt(n-2); int target = n-3; while (penultimate.getTaxa()!=ultimate.getTaxa() && target>0) penultimate = (TreeVector)treesVector.elementAt(target); if (penultimate.getTaxa()!=ultimate.getTaxa()) return null; for (int j=0; j<ultimate.size(); j++){ Tree tree = ultimate.getTree(j); if (tree!=null) penultimate.addElement(tree.cloneTree(), false); } getProject().removeFileElement(ultimate);//must remove first, before disposing ultimate.dispose(); } else if (checker.compare(this.getClass(), "Disposes the last block of trees", null, commandName, "disposeLastTreeBlock")) { int n = treesVector.size(); if (n<1) return null; TreeVector ultimate = (TreeVector)treesVector.elementAt(n-1); getProject().removeFileElement(ultimate); ultimate.dispose(); } else if (checker.compare(this.getClass(), "Creates a new filled tree block (internally called, used for scripting)", "[reference of taxa block] [optional -- if id then next token is id not number][number of file in which the tree block should be stored] [name of tree block] [how many trees to make]", commandName, "newFilledTreeBlockIntS")) { if (treeFillerTask == null) //needs to have been previously set return null; Taxa taxa = getProject().getTaxa(parser.getFirstToken(arguments)); if (taxa == null) return null; boolean useID = false; MesquiteFile file=null; String idd = parser.getNextToken(); if ("home".equalsIgnoreCase(idd)) file = getProject().getHomeFile(); else { if ("id".equalsIgnoreCase(idd)) { idd = parser.getNextToken(); useID = true; } int whichFile = MesquiteInteger.fromString(idd); if (!MesquiteInteger.isCombinable(whichFile)) return null; if (useID) file = getProject().getFileByID(whichFile); else file = getProject().getFile(whichFile); } if (file == null) return null; String name = parser.getNextToken(); TreeVector trees = new TreeVector(taxa); if (trees == null) return null; int howManyTrees =0; if (treeFillerTask instanceof TreeSource) howManyTrees =((TreeSource)treeFillerTask).getNumberOfTrees(trees.getTaxa(), commandRec); if (!treeFillerTask.hasLimitedTrees(trees.getTaxa(), commandRec)) { howManyTrees = MesquiteInteger.fromString(parser.getNextToken()); if (!MesquiteInteger.isCombinable(howManyTrees)) return null; } boolean separateThread = false; if (separateThread) { TreeBlockThread tLT = new TreeBlockThread(this, treeFillerTask, trees, howManyTrees, file, commandRec); tLT.start(); } else { long s = System.currentTimeMillis(); int before = trees.size(); treeFillerTask.fillTreeBlock(trees, howManyTrees, commandRec); if (trees.size()==before) { logln("Sorry, no trees were returned by " + treeFillerTask.getName()); return null; } trees.setName(name); logln(Integer.toString(trees.size()) + " trees stored in tree block, from " + treeFillerTask.getName()); trees.addToFile(file, getProject(), this); return trees; } } else if (checker.compare(this.getClass(), "Creates a new filled tree block (internally called from menu item)", "[name of tree source module]", commandName, "newFilledTreeBlockInt")) { //arguments that should be accepted: (1) tree source, (2) which taxa, (3) file id, (4) name of tree block, (5) how many trees [number of taxa block] [identification number of file in which the tree block should be stored] [name of tree block] [how many trees to make] Taxa taxa=null; MesquiteFile file=null; if (getProject().getNumberTaxas()==1) taxa = getProject().getTaxa(0); else { ListableVector taxas = getProject().getTaxas(); taxa = (Taxa)ListDialog.queryList(containerOfModule(), "Select taxa", "Select taxa (for new trees block)",MesquiteString.helpString, taxas, 0); } doCommand("setTreeSource", arguments, commandRec, checker); if (treeFillerTask==null) return null; file = chooseFile(commandRec, taxa); if (taxa==null || file == null) return null; TreeVector trees = new TreeVector(taxa); if (trees == null) return null; int howManyTrees = 0; if (!treeFillerTask.hasLimitedTrees(trees.getTaxa(), commandRec)) { if (treeFillerTask instanceof TreeSource) howManyTrees =((TreeSource)treeFillerTask).getNumberOfTrees(trees.getTaxa(), commandRec); if (!MesquiteInteger.isCombinable(howManyTrees)) howManyTrees = MesquiteInteger.queryInteger(containerOfModule(), "How many trees?", "How many trees?", 100, 1, 100000000); if (!MesquiteInteger.isCombinable(howManyTrees)) return null; } boolean separateThread = true; //TODO: what if the treeFillerTask quits while running? if (separateThread) { TreeBlockThread tLT = new TreeBlockThread(this, treeFillerTask, trees, howManyTrees, file, commandRec); tLT.start(); } else { long s = System.currentTimeMillis(); int before = trees.size(); treeFillerTask.fillTreeBlock(trees, howManyTrees, commandRec); if (trees.size()==before) { alert("Sorry, no trees were returned by " + treeFillerTask.getName()); return null; } if (trees.getName()==null || "Untitled".equalsIgnoreCase(trees.getName())) trees.setName("Trees from " + treeFillerTask.getName()); trees.addToFile(file, getProject(), this); doneQuery(treeFillerTask, taxa, trees); if (!showTreeFiller) fireEmployee(treeFillerTask); resetAllMenuBars(); } } else return super.doCommand(commandName, arguments, commandRec, checker); return null; }
57538 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57538/6415c3612051354f7fa8f1508f4686d6b2783a71/ManageTrees.java/buggy/trunk/Mesquite Project/Source/mesquite/trees/ManageTrees/ManageTrees.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1377, 202, 1071, 1033, 741, 2189, 12, 780, 20893, 16, 514, 1775, 16, 3498, 2115, 1296, 5650, 16, 3498, 8847, 12489, 13, 288, 377, 202, 225, 202, 430, 261, 19243, 18, 9877, 12, 2211, 18, 588, 797, 9334, 315, 1356, 279, 11491, 1203, 3113, 5158, 2696, 434, 11491, 1203, 31, 374, 2511, 65, 3113, 20893, 16, 315, 588, 2471, 1768, 6, 3719, 288, 4202, 202, 3196, 202, 474, 268, 273, 490, 281, 372, 1137, 4522, 18, 2080, 3759, 1345, 12, 7099, 16, 949, 1769, 377, 202, 3196, 202, 430, 261, 49, 281, 372, 1137, 4522, 18, 291, 24107, 429, 12, 88, 13, 597, 268, 32, 17204, 5018, 18, 1467, 10756, 288, 1377, 202, 1875, 202, 2471, 5018, 2229, 273, 261, 2471, 5018, 13, 17204, 5018, 18, 2956, 861, 12, 88, 1769, 202, 377, 202, 3196, 202, 2463, 2229, 31, 377, 202, 3196, 202, 97, 377, 202, 225, 202, 97, 377, 202, 225, 202, 12107, 309, 261, 19243, 18, 9877, 12, 2211, 18, 588, 797, 9334, 315, 24548, 6035, 434, 11491, 316, 279, 11491, 1203, 3113, 5158, 2696, 434, 11491, 1203, 31, 374, 2511, 65, 3113, 20893, 16, 315, 4500, 26590, 6, 3719, 288, 4202, 202, 3196, 202, 474, 268, 273, 490, 281, 372, 1137, 4522, 18, 2080, 3759, 1345, 12, 7099, 16, 949, 1769, 377, 202, 3196, 202, 430, 261, 13565, 18, 12111, 12, 7099, 13, 747, 401, 49, 281, 372, 1137, 4522, 18, 291, 24107, 429, 12, 88, 13, 747, 268, 34, 17204, 5018, 18, 1467, 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, 1377, 202, 1071, 1033, 741, 2189, 12, 780, 20893, 16, 514, 1775, 16, 3498, 2115, 1296, 5650, 16, 3498, 8847, 12489, 13, 288, 377, 202, 225, 202, 430, 261, 19243, 18, 9877, 12, 2211, 18, 588, 797, 9334, 315, 1356, 279, 11491, 1203, 3113, 5158, 2696, 434, 11491, 1203, 31, 374, 2511, 65, 3113, 20893, 16, 315, 588, 2471, 1768, 6, 3719, 288, 4202, 202, 3196, 202, 474, 268, 273, 490, 281, 372, 1137, 4522, 18, 2080, 3759, 1345, 12, 7099, 16, 949, 1769, 377, 202, 3196, 202, 430, 261, 49, 281, 372, 1137, 4522, 18, 291, 24107, 429, 12, 88, 13, 597, 268, 32, 17204, 5018, 18, 1467, 10756, 288, 1377, 202, 1875, 202, 2471, 5018, 2229, 273, 2 ]
public void testAttemptLogin() throws MoriaControllerException { String validSSOTicketId = "1234"; String validLoginTicketId = "4321"; /* Check controller initialization */ controllerInitialization(); /* Illegal arguments */ try { MoriaController.attemptLogin(null, validSSOTicketId, validUsername, validPassword); fail("IllegalInputException should be raised, loginTicketId is null"); } catch (IllegalInputException success) { } try { MoriaController.attemptLogin("", validSSOTicketId, validUsername, validPassword); fail("IllegalInputException should be raised, loginTicketId is an empty string"); } catch (IllegalInputException success) { } try { MoriaController.attemptLogin(validLoginTicketId, validSSOTicketId, null, validPassword); fail("IllegalInputException should be raised, username is null"); } catch (IllegalInputException success) { } try { MoriaController.attemptLogin(validLoginTicketId, validSSOTicketId, "", validPassword); fail("IllegalInputException should be raised, username is an empty string"); } catch (IllegalInputException success) { } try { MoriaController.attemptLogin(validLoginTicketId, validSSOTicketId, validUsername, null); fail("IllegalInputException should be raised, username is null"); } catch (IllegalInputException success) { } try { MoriaController.attemptLogin(validLoginTicketId, validSSOTicketId, validUsername, ""); fail("IllegalInputException should be raised, username is an empty string"); } catch (IllegalInputException success) { } /* SSO ticket can be empty */ MoriaController.attemptLogin(validLoginTicketId, null, validUsername, validPassword); MoriaController.attemptLogin(validLoginTicketId, "", validUsername, validPassword); /* Non-existing login ticket */ try { MoriaController.attemptLogin("doesNotExist", validSSOTicketId, validUsername, validPassword); fail("UnknownTicketException should be raised, non-existing ticket"); } catch (UnknownTicketException success) { } /* Non-existing SSO ticket (allowed) */ String loginTicketId = MoriaController.initiateAuthentication(validAttrs, validPrefix, validPostfix, false, validPrincipal); MoriaController.attemptLogin(loginTicketId, "doesNotExist", validUsername, validPassword); /* Removal of existing SSO ticket */ // TODO: Not sure if SSO ticket should be deleted or not loginTicketId = MoriaController.initiateAuthentication(validAttrs, validPrefix, validPostfix, false, validPrincipal); Map tickets = MoriaController.attemptLogin(loginTicketId, "doesNotExist", validUsername, validPassword); String serviceTicketId = (String) tickets.get(MoriaController.SERVICE_TICKET); String ssoTicketId = (String) tickets.get(MoriaController.SSO_TICKET); loginTicketId = MoriaController.initiateAuthentication(validAttrs, validPrefix, validPostfix, false, validPrincipal); MoriaController.attemptLogin(serviceTicketId, ssoTicketId, validUsername, validPassword); loginTicketId = MoriaController.initiateAuthentication(validAttrs, validPrefix, validPostfix, false, validPrincipal); try { MoriaController.attemptSingleSignOn(loginTicketId, ssoTicketId); fail("UnknownTicketException should be raised, SSO ticket should be removed from the store"); } catch (UnknownTicketException success) { } /* Use of same login ticket twice, authentication failure = OK */ loginTicketId = MoriaController.initiateAuthentication(validAttrs, validPrefix, validPostfix, false, validPrincipal); MoriaController.attemptLogin(loginTicketId, null, validUsername, "wrongPassword"); MoriaController.attemptLogin(loginTicketId, null, validUsername, validPassword); /* Use of same login ticket twice when authentication was OK first time = ERROR */ loginTicketId = MoriaController.initiateAuthentication(validAttrs, validPrefix, validPostfix, false, validPrincipal); MoriaController.attemptLogin(loginTicketId, null, validUsername, validPassword); try { MoriaController.attemptLogin(loginTicketId, null, validUsername, validPassword); } catch (Exception e) { } /* Wrong username */ try { MoriaController.attemptLogin(validLoginTicketId, "doesNotExist", validUsername, validPassword); fail("AuthenticationFailedException should be raised, wrong username"); } catch (AuthenticationException success) { } /* Wrong password */ try { MoriaController.attemptLogin(validLoginTicketId, "doesNotExist", validUsername, validPassword); fail("AuthenticationFailedException should be raised, wrong username"); } catch (AuthenticationException success) { } /* Normal use */ loginTicketId = MoriaController.initiateAuthentication(validAttrs, validPrefix, validPostfix, false, validPrincipal); tickets = MoriaController.attemptLogin(loginTicketId, null, validUsername, validPassword); Map actualAttrs = MoriaController.getUserAttributes((String) tickets.get(MoriaController.SERVICE_TICKET), validPrincipal); validateMaps(expectedAttrs, actualAttrs); }
1637 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1637/9fce4b5c5478f4d82724d0419e65431838dcc910/MoriaControllerTest.java/clean/moria2/modules/moria-ctrl/src/test/java/no/feide/moria/controller/MoriaControllerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 3813, 7744, 5358, 1435, 15069, 49, 280, 1155, 2933, 503, 95, 780, 877, 1260, 1974, 29378, 548, 1546, 28462, 14432, 780, 877, 5358, 13614, 548, 1546, 24, 1578, 21, 14432, 20308, 1564, 5723, 6769, 1588, 5549, 5723, 17701, 5621, 20308, 12195, 7099, 5549, 698, 95, 49, 280, 1155, 2933, 18, 11764, 5358, 12, 2011, 16, 877, 1260, 1974, 29378, 548, 16, 877, 8575, 16, 877, 3913, 1769, 6870, 2932, 12195, 20518, 13139, 744, 69, 5918, 16, 5819, 13614, 548, 291, 2011, 8863, 97, 14683, 12, 12195, 20518, 4768, 13, 2916, 698, 95, 49, 280, 1155, 2933, 18, 11764, 5358, 2932, 3113, 877, 1260, 1974, 29378, 548, 16, 877, 8575, 16, 877, 3913, 1769, 6870, 2932, 12195, 20518, 13139, 744, 69, 5918, 16, 5819, 13614, 548, 26925, 5531, 1080, 8863, 97, 14683, 12, 12195, 20518, 4768, 13, 2916, 698, 95, 49, 280, 1155, 2933, 18, 11764, 5358, 12, 877, 5358, 13614, 548, 16, 877, 1260, 1974, 29378, 548, 16, 2011, 16, 877, 3913, 1769, 6870, 2932, 12195, 20518, 13139, 744, 69, 5918, 16, 5053, 291, 2011, 8863, 97, 14683, 12, 12195, 20518, 4768, 13, 2916, 698, 95, 49, 280, 1155, 2933, 18, 11764, 5358, 12, 877, 5358, 13614, 548, 16, 877, 1260, 1974, 29378, 548, 10837, 3113, 877, 3913, 1769, 6870, 2932, 12195, 20518, 13139, 744, 69, 5918, 16, 5053, 26925, 5531, 1080, 8863, 97, 14683, 12, 12195, 20518, 4768, 13, 2916, 698, 95, 49, 280, 1155, 2933, 18, 11764, 5358, 12, 877, 5358, 13614, 548, 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, 3813, 7744, 5358, 1435, 15069, 49, 280, 1155, 2933, 503, 95, 780, 877, 1260, 1974, 29378, 548, 1546, 28462, 14432, 780, 877, 5358, 13614, 548, 1546, 24, 1578, 21, 14432, 20308, 1564, 5723, 6769, 1588, 5549, 5723, 17701, 5621, 20308, 12195, 7099, 5549, 698, 95, 49, 280, 1155, 2933, 18, 11764, 5358, 12, 2011, 16, 877, 1260, 1974, 29378, 548, 16, 877, 8575, 16, 877, 3913, 1769, 6870, 2932, 12195, 20518, 13139, 744, 69, 5918, 16, 5819, 13614, 548, 291, 2011, 8863, 97, 14683, 12, 12195, 20518, 4768, 13, 2916, 698, 95, 49, 280, 1155, 2933, 18, 11764, 5358, 2932, 3113, 877, 1260, 1974, 29378, 548, 16, 877, 8575, 16, 877, 3913, 1769, 6870, 2932, 12195, 20518, 2 ]
repoImpl.injectSession(null);
repoImpl.injectSession(null);
private void checkForRepositoryException(Session session, InvocationTargetException e) { if (! (e.getTargetException() instanceof RepositoryException)) { try { repoImpl.injectSession(null); session.close(); } catch (Exception e2) { /*ignore*/ } } }
5491 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5491/940e80408a9fb66806a3e859086063fbe42cae5e/RepoProxyHandler.java/clean/drools-repository/src/main/java/org/drools/repository/db/RepoProxyHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 13855, 3305, 503, 12, 2157, 1339, 16, 4766, 2398, 15342, 425, 13, 288, 3639, 309, 16051, 261, 73, 18, 588, 14950, 1435, 1276, 13367, 3719, 288, 5411, 775, 288, 1171, 3538, 2828, 18, 22170, 2157, 12, 2011, 1769, 7734, 1339, 18, 4412, 5621, 2398, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 13855, 3305, 503, 12, 2157, 1339, 16, 4766, 2398, 15342, 425, 13, 288, 3639, 309, 16051, 261, 73, 18, 588, 14950, 1435, 1276, 13367, 3719, 288, 5411, 775, 288, 1171, 3538, 2828, 18, 22170, 2157, 12, 2011, 1769, 7734, 1339, 18, 4412, 5621, 2398, 289, 1044, 261, 503, 425, 22, 13, 288, 1748, 6185, 5549, 289, 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 ]
{
{
public void run() { updateProgressBar(min); System.out.println("Done"); progressDialog.dispose(); }
47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/bc3c0b13c0ab440f6c2c1a9dabb0a08312831561/MainFrame.java/buggy/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/MainFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 918, 1086, 1435, 5397, 288, 25083, 202, 2725, 31547, 12, 1154,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4405, 202, 482, 918, 1086, 1435, 5397, 288, 25083, 202, 2725, 31547, 12, 1154, 1769, 25083, 202, 3163, 18, 659, 18, 8222, 2932, 7387, 8863, 25083, 202, 8298, 6353, 18, 2251, 4150, 5621, 6862, 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 ]
anticipateAndSend(false, "uei.opennms.org/default/trap", "v2c", null, 6, 1);
anticipateAndSend(false, true, "uei.opennms.org/default/trap", "v2c", null, 6, 1);
public void testV2TrapDefaultEvent() throws Exception { anticipateAndSend(false, "uei.opennms.org/default/trap", "v2c", null, 6, 1); }
48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/babd69f99b2c34d418f92b79c80dc38b03680037/TrapHandlerTest.java/buggy/opennms-services/src/test/java/org/opennms/netmgt/trapd/TrapHandlerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 58, 22, 56, 1266, 1868, 1133, 1435, 1216, 1185, 288, 3639, 17841, 24629, 340, 1876, 3826, 12, 5743, 16, 315, 344, 77, 18, 3190, 82, 959, 18, 3341, 19, 1886, 19, 27170, 3113, 315, 90, 22, 71, 3113, 446, 16, 12900, 1666, 16, 404, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 918, 1842, 58, 22, 56, 1266, 1868, 1133, 1435, 1216, 1185, 288, 3639, 17841, 24629, 340, 1876, 3826, 12, 5743, 16, 315, 344, 77, 18, 3190, 82, 959, 18, 3341, 19, 1886, 19, 27170, 3113, 315, 90, 22, 71, 3113, 446, 16, 12900, 1666, 16, 404, 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 ]
public static Pluglet getPluglet(String path) {
public static PlugletFactory getPluglet(String path) {
public static Pluglet getPluglet(String path) { try { org.mozilla.util.Debug.print("-- PlugletLoader.getPluglet("+path+")\n"); URL url = new URL("file:/"+path); URLClassLoader loader = URLClassLoader.newInstance(new URL[]{url}); URL manifestURL = new URL("jar:file:/"+path+"!/META-INF/MANIFEST.MF"); InputStream inputStream = manifestURL.openStream(); Manifest manifest = new Manifest(inputStream); Attributes attr = manifest.getMainAttributes(); String plugletClassName = attr.getValue("Pluglet-Class"); org.mozilla.util.Debug.print("-- PlugletLoader.getPluglet class name "+plugletClassName+"\n"); org.mozilla.util.Debug.print("-- PL url[0] "+loader.getURLs()[0]); if (plugletClassName == null) { //nb return null; } if (policy == null) { policy = new PlugletPolicy(Policy.getPolicy()); } if (policy != Policy.getPolicy()) { Policy.setPolicy(policy); } CodeSource codesource = new CodeSource(url,null); Permission perm = new AllPermission(); PermissionCollection collection = perm.newPermissionCollection(); collection.add(perm); policy.grantPermission(codesource,collection); Object pluglet = loader.loadClass(plugletClassName).newInstance(); if (pluglet instanceof Pluglet) { return (Pluglet) pluglet; } else { return null; } } catch (Exception e) { org.mozilla.util.Debug.print("-- PlugletLoader.getPluglet exc "+e); e.printStackTrace(); return null; } }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/12b30bdf0ba5464ee50238e5763283902c29b928/PlugletLoader.java/clean/java/plugins/classes/org/mozilla/pluglet/PlugletLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 3008, 637, 1810, 9774, 637, 1810, 12, 780, 589, 13, 288, 202, 698, 288, 202, 565, 2358, 18, 8683, 15990, 18, 1367, 18, 2829, 18, 1188, 2932, 413, 3008, 637, 1810, 2886, 18, 588, 1749, 637, 1810, 2932, 15, 803, 9078, 5153, 82, 8863, 3196, 565, 1976, 880, 273, 394, 1976, 2932, 768, 30, 4898, 15, 803, 1769, 202, 565, 1976, 7805, 4088, 273, 1976, 7805, 18, 2704, 1442, 12, 2704, 1976, 63, 7073, 718, 22938, 202, 565, 1976, 5643, 1785, 273, 394, 1976, 2932, 11930, 30, 768, 30, 4898, 15, 803, 9078, 5, 19, 19294, 17, 19212, 19, 9560, 30050, 18, 13542, 8863, 202, 565, 5037, 10010, 273, 5643, 1785, 18, 3190, 1228, 5621, 202, 565, 15443, 5643, 273, 394, 15443, 12, 2630, 1228, 1769, 202, 565, 9055, 1604, 273, 5643, 18, 588, 6376, 2498, 5621, 202, 565, 514, 15852, 1810, 3834, 273, 1604, 18, 24805, 2932, 1749, 637, 1810, 17, 797, 8863, 202, 565, 2358, 18, 8683, 15990, 18, 1367, 18, 2829, 18, 1188, 2932, 413, 3008, 637, 1810, 2886, 18, 588, 1749, 637, 1810, 667, 508, 13773, 22045, 1810, 3834, 9078, 64, 82, 8863, 5411, 2358, 18, 8683, 15990, 18, 1367, 18, 2829, 18, 1188, 2932, 413, 22443, 880, 63, 20, 65, 13773, 6714, 18, 588, 15749, 1435, 63, 20, 19226, 202, 565, 309, 261, 22045, 1810, 3834, 422, 446, 13, 288, 202, 202, 759, 6423, 202, 202, 2463, 446, 31, 202, 565, 289, 202, 565, 309, 261, 5086, 422, 446, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 3008, 637, 1810, 9774, 637, 1810, 12, 780, 589, 13, 288, 202, 698, 288, 202, 565, 2358, 18, 8683, 15990, 18, 1367, 18, 2829, 18, 1188, 2932, 413, 3008, 637, 1810, 2886, 18, 588, 1749, 637, 1810, 2932, 15, 803, 9078, 5153, 82, 8863, 3196, 565, 1976, 880, 273, 394, 1976, 2932, 768, 30, 4898, 15, 803, 1769, 202, 565, 1976, 7805, 4088, 273, 1976, 7805, 18, 2704, 1442, 12, 2704, 1976, 63, 7073, 718, 22938, 202, 565, 1976, 5643, 1785, 273, 394, 1976, 2932, 11930, 30, 768, 30, 4898, 15, 803, 9078, 5, 19, 19294, 17, 19212, 19, 9560, 30050, 18, 13542, 8863, 202, 565, 5037, 10010, 273, 5643, 1785, 18, 3190, 1228, 5621, 202, 2 ]
if (prevCharIsLF) { prevCharIsLF = false; line += (column = 1); } else if (prevCharIsCR) { prevCharIsCR = false; if (c == '\n') { prevCharIsLF = true; } else line += (column = 1);
if (prevCharIsLF) { prevCharIsLF = false; line += (column = 1); } else if (prevCharIsCR) { prevCharIsCR = false; if (c == '\n') { prevCharIsLF = true;
static protected void UpdateLineColumn(char c) { column++; if (prevCharIsLF) { prevCharIsLF = false; line += (column = 1); } else if (prevCharIsCR) { prevCharIsCR = false; if (c == '\n') { prevCharIsLF = true; } else line += (column = 1); } switch (c) { case '\r': prevCharIsCR = true; break; case '\n': prevCharIsLF = true; break; case '\t': column--; column += (8 - (column & 07)); break; default : break; } bufline[bufpos] = line; bufcolumn[bufpos] = column; }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/23e69d576250f417c265d779703b8da08a67aaed/SimpleCharStream.java/clean/pmd/src/net/sourceforge/pmd/cpd/cppast/SimpleCharStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 4750, 918, 2315, 1670, 1494, 12, 3001, 276, 13, 288, 3639, 1057, 9904, 31, 3639, 309, 261, 10001, 2156, 2520, 9105, 13, 288, 5411, 2807, 2156, 2520, 9105, 273, 629, 31, 5411, 980, 1011, 261, 2827, 273, 404, 1769, 3639, 289, 469, 309, 261, 10001, 2156, 2520, 5093, 13, 288, 5411, 2807, 2156, 2520, 5093, 273, 629, 31, 5411, 309, 261, 71, 422, 2337, 82, 6134, 288, 7734, 2807, 2156, 2520, 9105, 273, 638, 31, 5411, 289, 469, 7734, 980, 1011, 261, 2827, 273, 404, 1769, 3639, 289, 3639, 1620, 261, 71, 13, 288, 5411, 648, 2337, 86, 4278, 7734, 2807, 2156, 2520, 5093, 273, 638, 31, 7734, 898, 31, 5411, 648, 2337, 82, 4278, 7734, 2807, 2156, 2520, 9105, 273, 638, 31, 7734, 898, 31, 5411, 648, 2337, 88, 4278, 7734, 1057, 413, 31, 7734, 1057, 1011, 261, 28, 300, 261, 2827, 473, 10934, 10019, 7734, 898, 31, 5411, 805, 294, 7734, 898, 31, 3639, 289, 3639, 1681, 1369, 63, 4385, 917, 65, 273, 980, 31, 3639, 1681, 2827, 63, 4385, 917, 65, 273, 1057, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0,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639, 1057, 9904, 31, 3639, 309, 261, 10001, 2156, 2520, 9105, 13, 288, 5411, 2807, 2156, 2520, 9105, 273, 629, 31, 5411, 980, 1011, 261, 2827, 273, 404, 1769, 3639, 289, 469, 309, 261, 10001, 2156, 2520, 5093, 13, 288, 5411, 2807, 2156, 2520, 5093, 273, 629, 31, 5411, 309, 261, 71, 422, 2337, 82, 6134, 288, 7734, 2807, 2156, 2520, 9105, 273, 638, 31, 5411, 289, 469, 7734, 980, 1011, 261, 2827, 273, 404, 1769, 3639, 289, 3639, 1620, 261, 71, 13, 288, 5411, 648, 2337, 86, 4278, 7734, 2807, 2156, 2520, 5093, 273, 638, 31, 7734, 898, 31, 5411, 648, 2337, 82, 4278, 7734, 2807, 2 ]
rs.close(); } catch(SQLException se) { String complaint = "CLDRDBSource: Couldn't search for empty slot " + locale + ":" + xpid + "(" + xpath + ")='" + value + "' -- " + SurveyMain.unchainSqlException(se); logger.severe(complaint); throw new InternalError(complaint);
public String addDataToNextSlot(CLDRFile file, String locale, String fullXpathMinusAlt, String altType, String altProposedPrefix, int submitterId, String value) { XPathParts xpp = new XPathParts(null,null); // prepare for slot check for(int slot=1;slot<100;slot++) { String altProposed = altProposedPrefix+slot; // proposed-u123-4 String alt = LDMLUtilities.formatAlt(altType, altProposed); String rawXpath = fullXpathMinusAlt + "[@alt='" + alt + "']"; logger.info("addDataToNextSlot: rawXpath = " + rawXpath); String xpath = CLDRFile.getDistinguishingXPath(rawXpath, null, false); if(!xpath.equals(rawXpath)) { logger.info("NORMALIZED: was " + rawXpath + " now " + xpath); } String oxpath = xpath; int xpid = xpt.getByXpath(xpath); // Check to see if this slot is in use. synchronized(conn) { try { stmts.queryValue.setString(1,locale); stmts.queryValue.setInt(2,xpid); ResultSet rs = stmts.queryValue.executeQuery(); if(rs.next()) { // already taken.. logger.info("Taken: " + altProposed); rs.close(); continue; } rs.close(); } catch(SQLException se) { String complaint = "CLDRDBSource: Couldn't search for empty slot " + locale + ":" + xpid + "(" + xpath + ")='" + value + "' -- " + SurveyMain.unchainSqlException(se); logger.severe(complaint); throw new InternalError(complaint); } } int oxpid = xpt.getByXpath(oxpath); xpp.clear(); xpp.initialize(oxpath); String lelement = xpp.getElement(-1); /* all of these are always at the end */ String eAlt = xpp.findAttributeValue(lelement,LDMLConstants.ALT); String eDraft = xpp.findAttributeValue(lelement,LDMLConstants.DRAFT); /* special func to find this */ String eType = xpt.typeFromPathToTinyXpath(xpath, xpp); String tinyXpath = xpp.toString(); int txpid = xpt.getByXpath(tinyXpath); /*SRL*/ // System.out.println(xpath + " l: " + locale); // System.out.println(" <- " + oxpath); // System.out.println(" t=" + eType + ", a=" + eAlt + ", d=" + eDraft); // System.out.println(" => "+txpid+"#" + tinyXpath); synchronized(conn) { try { stmts.insert.setInt(1,xpid); // full stmts.insert.setString(2,locale); stmts.insert.setInt(3,srcId); // assumes homogenous srcId stmts.insert.setInt(4,oxpid); // Note: assumes XPIX = orig XPID! TODO: fix stmts.insert.setString(5,value); stmts.insert.setString(6,eType); stmts.insert.setString(7,eAlt); stmts.insert.setInt(8,txpid); // tiny stmts.insert.setInt(9,submitterId); // submitter stmts.insert.execute(); } catch(SQLException se) { String complaint = "CLDRDBSource: Couldn't insert " + locale + ":" + xpid + "(" + xpath + ")='" + value + "' -- " + SurveyMain.unchainSqlException(se); logger.severe(complaint); throw new InternalError(complaint); } try{ conn.commit(); return altProposed; // success } catch(SQLException se) { String complaint = "CLDRDBSource: Couldn't commit " + locale + ":" + SurveyMain.unchainSqlException(se); logger.severe(complaint); throw new InternalError(complaint); } } } // end for return null; // couldn't find a slot.. }
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/d99f45a31f02fcac5c82ee137c8dde03d6babbc5/CLDRDBSource.java/buggy/tools/java/org/unicode/cldr/web/CLDRDBSource.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 21958, 774, 2134, 8764, 12, 5017, 6331, 812, 585, 16, 514, 2573, 16, 514, 1983, 28137, 18434, 10655, 16, 19694, 514, 3770, 559, 16, 514, 3770, 626, 7423, 2244, 16, 509, 4879, 387, 548, 16, 514, 460, 13, 288, 3639, 10172, 4305, 619, 11858, 273, 394, 10172, 4305, 12, 2011, 16, 2011, 1769, 3639, 368, 2911, 364, 4694, 866, 3639, 364, 12, 474, 4694, 33, 21, 31, 14194, 32, 6625, 31, 14194, 27245, 288, 5411, 514, 3770, 626, 7423, 273, 3770, 626, 7423, 2244, 15, 14194, 31, 368, 20084, 17, 89, 12936, 17, 24, 2398, 514, 3770, 273, 28083, 1495, 11864, 18, 2139, 10655, 12, 2390, 559, 16, 3770, 626, 7423, 1769, 5411, 514, 1831, 28137, 273, 1983, 28137, 18434, 10655, 397, 5158, 36, 2390, 13396, 397, 3770, 397, 2491, 4279, 31, 5411, 1194, 18, 1376, 2932, 1289, 751, 774, 2134, 8764, 30, 225, 1831, 28137, 273, 315, 397, 1831, 28137, 1769, 5411, 514, 6748, 273, 14934, 6331, 812, 18, 588, 5133, 14344, 1468, 310, 14124, 12, 1899, 28137, 16, 446, 16, 629, 1769, 5411, 309, 12, 5, 18644, 18, 14963, 12, 1899, 28137, 3719, 288, 7734, 1194, 18, 1376, 2932, 15480, 24131, 30, 225, 1703, 315, 397, 1831, 28137, 397, 315, 2037, 315, 397, 6748, 1769, 5411, 289, 5411, 514, 6965, 803, 273, 6748, 31, 5411, 509, 619, 6610, 273, 619, 337, 18, 588, 858, 28137, 12, 18644, 1769, 10792, 368, 2073, 358, 2621, 309, 333, 4694, 353, 316, 999, 18, 3639, 3852, 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, 21958, 774, 2134, 8764, 12, 5017, 6331, 812, 585, 16, 514, 2573, 16, 514, 1983, 28137, 18434, 10655, 16, 19694, 514, 3770, 559, 16, 514, 3770, 626, 7423, 2244, 16, 509, 4879, 387, 548, 16, 514, 460, 13, 288, 3639, 10172, 4305, 619, 11858, 273, 394, 10172, 4305, 12, 2011, 16, 2011, 1769, 3639, 368, 2911, 364, 4694, 866, 3639, 364, 12, 474, 4694, 33, 21, 31, 14194, 32, 6625, 31, 14194, 27245, 288, 5411, 514, 3770, 626, 7423, 273, 3770, 626, 7423, 2244, 15, 14194, 31, 368, 20084, 17, 89, 12936, 17, 24, 2398, 514, 3770, 273, 28083, 1495, 11864, 18, 2139, 10655, 12, 2390, 559, 16, 3770, 626, 7423, 1769, 5411, 514, 1831, 28137, 2 ]
PreparedStatement stmt= null;
PreparedStatement stmt = null;
public CategoryPK ejbFindByName(String categoryName) throws FinderException, RemoteException { PreparedStatement stmt= null; Connection conn = null; try { conn = getConnection(); stmt = conn.prepareStatement("SELECT id FROM categories WHERE name=?"); stmt.setString(1, categoryName); ResultSet rs = stmt.executeQuery(); if (!rs.first()) { return null; } int pk = rs.getInt("id"); rs.close(); stmt.close(); conn.close(); return new CategoryPK(new Integer(pk)); } catch (Exception e) { try { if(stmt != null) stmt.close(); if(conn != null) conn.close(); } catch (Exception ignore){} throw new EJBException("Failed to retrieve object category: " +e); } }
5750 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5750/3d57ae5a342bc10d6c418636c07193a0289ffd6b/CategoryBean.java/buggy/EJB_EntityBean_id_BMP/edu/rice/rubis/beans/CategoryBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9856, 8784, 18024, 3125, 5911, 12, 780, 3150, 461, 13, 1216, 19307, 503, 16, 18361, 225, 288, 565, 16913, 3480, 273, 446, 31, 565, 4050, 1487, 273, 446, 31, 565, 775, 565, 288, 1377, 1487, 273, 6742, 5621, 1377, 3480, 273, 1487, 18, 9366, 3406, 2932, 4803, 612, 4571, 6477, 4852, 508, 25501, 1769, 1377, 3480, 18, 542, 780, 12, 21, 16, 3150, 461, 1769, 1377, 10842, 3597, 273, 3480, 18, 8837, 1138, 5621, 1377, 309, 16051, 5453, 18, 3645, 10756, 1377, 288, 3639, 327, 446, 31, 1377, 289, 1377, 509, 2365, 273, 3597, 18, 588, 1702, 2932, 350, 8863, 1377, 3597, 18, 4412, 5621, 1377, 3480, 18, 4412, 5621, 1377, 1487, 18, 4412, 5621, 1377, 327, 394, 9856, 8784, 12, 2704, 2144, 12, 5465, 10019, 565, 289, 565, 1044, 261, 503, 425, 13, 565, 288, 1377, 775, 1377, 288, 3639, 309, 12, 10589, 480, 446, 13, 3480, 18, 4412, 5621, 3639, 309, 12, 4646, 480, 446, 13, 1487, 18, 4412, 5621, 1377, 289, 1377, 1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]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9856, 8784, 18024, 3125, 5911, 12, 780, 3150, 461, 13, 1216, 19307, 503, 16, 18361, 225, 288, 565, 16913, 3480, 273, 446, 31, 565, 4050, 1487, 273, 446, 31, 565, 775, 565, 288, 1377, 1487, 273, 6742, 5621, 1377, 3480, 273, 1487, 18, 9366, 3406, 2932, 4803, 612, 4571, 6477, 4852, 508, 25501, 1769, 1377, 3480, 18, 542, 780, 12, 21, 16, 3150, 461, 1769, 1377, 10842, 3597, 273, 3480, 18, 8837, 1138, 5621, 1377, 309, 16051, 5453, 18, 3645, 10756, 1377, 288, 3639, 327, 446, 31, 1377, 289, 1377, 509, 2365, 273, 3597, 18, 588, 1702, 2932, 350, 8863, 1377, 3597, 18, 4412, 5621, 1377, 3480, 18, 4412, 5621, 1377, 1487, 18, 4412, 5621, 1377, 327, 2 ]
public void setComposingVirtualNodes(String componentName, String virtualNodeName, String composingVirtualNodes) { checkComposingVirtualNodesSyntax(composingVirtualNodes); LinkedVirtualNode exported_vn = getNode(componentName, virtualNodeName, false); if (exported_vn ==null) { throw new ProActiveRuntimeException("exported virtual node " + componentName + '.' + virtualNodeName + " not found"); } // 1. clean up existing composing virtual nodes List old_composing_vns = exported_vn.getComposingVirtualNodes(); Iterator it = old_composing_vns.iterator(); while (it.hasNext()) { ((LinkedVirtualNode)it.next()).setComposer(null); } exported_vn.getComposingVirtualNodes().clear(); // 2. add new composing virtual nodes String[] split = composingVirtualNodes.split(";"); LinkedVirtualNode[] composing_vns = new LinkedVirtualNode[split.length]; for (int i=0; i<split.length; i++) { String component = split[i].substring(0, split[i].indexOf(".")); String vn = split[i].substring(split[i].indexOf(".")+1, (split[i].indexOf(";") == -1 ? split[i].length() : split[i].length()-1)); // compose composing vn into composer vn exported_vn.addComposingVirtualNode(getNode(component, vn, true)); } }
23362 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/23362/874b7d69a96abc95caf471f20d0d85c2a52de8f0/ExportedVirtualNodesList.java/buggy/src/org/objectweb/proactive/core/component/adl/vnexportation/ExportedVirtualNodesList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 799, 24014, 6466, 3205, 12, 780, 20577, 16, 514, 5024, 18948, 16, 514, 532, 24014, 6466, 3205, 13, 288, 3639, 866, 799, 24014, 6466, 3205, 8070, 12, 832, 24014, 6466, 3205, 1769, 3639, 6546, 6466, 907, 11518, 67, 25031, 273, 5973, 12, 4652, 461, 16, 5024, 18948, 16, 629, 1769, 3639, 309, 261, 338, 1798, 67, 25031, 422, 2011, 13, 288, 5411, 604, 394, 1186, 3896, 11949, 2932, 338, 1798, 5024, 756, 315, 397, 20577, 397, 2611, 397, 5024, 18948, 397, 315, 486, 1392, 8863, 3639, 289, 3639, 368, 404, 18, 2721, 731, 2062, 532, 24014, 5024, 2199, 3639, 987, 1592, 67, 832, 24014, 67, 90, 2387, 273, 11518, 67, 25031, 18, 588, 799, 24014, 6466, 3205, 5621, 3639, 4498, 518, 273, 1592, 67, 832, 24014, 67, 90, 2387, 18, 9838, 5621, 3639, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 5411, 14015, 13174, 6466, 907, 13, 305, 18, 4285, 1435, 2934, 542, 14404, 12, 2011, 1769, 3639, 289, 3639, 11518, 67, 25031, 18, 588, 799, 24014, 6466, 3205, 7675, 8507, 5621, 7734, 368, 576, 18, 527, 394, 532, 24014, 5024, 2199, 3639, 514, 8526, 1416, 273, 532, 24014, 6466, 3205, 18, 4939, 2932, 4868, 1769, 3639, 6546, 6466, 907, 8526, 532, 24014, 67, 90, 2387, 273, 394, 6546, 6466, 907, 63, 4939, 18, 2469, 15533, 540, 364, 261, 474, 277, 33, 20, 31, 277, 32, 4939, 18, 2469, 31, 277, 27245, 288, 5411, 514, 1794, 273, 1416, 63, 77, 8009, 28023, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 799, 24014, 6466, 3205, 12, 780, 20577, 16, 514, 5024, 18948, 16, 514, 532, 24014, 6466, 3205, 13, 288, 3639, 866, 799, 24014, 6466, 3205, 8070, 12, 832, 24014, 6466, 3205, 1769, 3639, 6546, 6466, 907, 11518, 67, 25031, 273, 5973, 12, 4652, 461, 16, 5024, 18948, 16, 629, 1769, 3639, 309, 261, 338, 1798, 67, 25031, 422, 2011, 13, 288, 5411, 604, 394, 1186, 3896, 11949, 2932, 338, 1798, 5024, 756, 315, 397, 20577, 397, 2611, 397, 5024, 18948, 397, 315, 486, 1392, 8863, 3639, 289, 3639, 368, 404, 18, 2721, 731, 2062, 532, 24014, 5024, 2199, 3639, 987, 1592, 67, 832, 24014, 67, 90, 2387, 273, 11518, 67, 25031, 18, 588, 799, 24014, 2 ]
failed = true; return;
public void run() { //Small pause so as not to miss any messages in a topic try { Thread.sleep(1000); } catch (InterruptedException e) { } try { int iterations = numMessages / commitSize; for (int outerCount = 0; outerCount < iterations; outerCount++) { XidImpl xid = null; if (commitSize > 0) { xid = new XidImpl("bq1".getBytes(), 1, new GUID().toString().getBytes()); xaResource.start(xid, XAResource.TMNOFLAGS); } for (int innerCount = 0; innerCount < commitSize; innerCount++) { Message m = getMessage(); if (m == null) { log.error("Message is null"); failed = true; return; } String prodName = m.getStringProperty("PROD_NAME"); Integer msgCount = new Integer(m.getIntProperty("MSG_NUMBER")); Count count = (Count)counts.get(prodName); if (count == null) { //First time if (msgCount.intValue() != 0) { log.error("First message from " + prodName + " is not 0, it is " + msgCount); failed = true; return; } else { count = new Count(); counts.put(prodName, count); } } else { if (count.lastCommitted != msgCount.intValue() - 1) { log.error("Message out of sequence for " + prodName + ", expected " + (count.lastCommitted + 1) + ", actual " + msgCount); //failed = true; //return; } } count.lastCommitted = msgCount.intValue(); count.lastReceived = msgCount.intValue(); if (innerCount == commitSize -1) { xaResource.end(xid, XAResource.TMSUCCESS); xaResource.prepare(xid); xaResource.commit(xid, false); if (rollbackSize > 0 && outerCount != iterations - 1) { //Starting new tx xid = new XidImpl("bq1".getBytes(), 1, new GUID().toString().getBytes()); xaResource.start(xid, XAResource.TMNOFLAGS); } } processingDone(); } if (outerCount == iterations - 1) { break; } for (int innerCount = 0; innerCount < rollbackSize; innerCount++) { Message m = getMessage(); if (m == null) { log.error("Message is null (rollback)"); failed = true; return; } String prodName = m.getStringProperty("PROD_NAME"); Integer msgCount = new Integer(m.getIntProperty("MSG_NUMBER")); Count count = (Count)counts.get(prodName); if (count == null) { // First time if (msgCount.intValue() != 0) { log.error("First message from " + prodName + " is not 0, it is " + msgCount); failed = true; return; } else { count = new Count(); count.lastCommitted = -1; counts.put(prodName, count); } } else { if (count.lastReceived != msgCount.intValue() - 1) { log.error("Message out of sequence"); failed = true; return; } } count.lastReceived = msgCount.intValue(); if (innerCount == rollbackSize -1) { xaResource.end(xid, XAResource.TMSUCCESS); xaResource.prepare(xid); xaResource.rollback(xid); } processingDone(); } } } catch (Exception e) { log.error("Failed to receive message", e); failed = true; } }
3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/c7133c9662c41fb385b863c92214187907f2d1b0/Transactional2PCReceiver.java/buggy/tests/src/org/jboss/test/messaging/jms/stress/Transactional2PCReceiver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2535, 273, 638, 31, 327, 31, 225, 1071, 918, 1086, 1435, 7307, 273, 638, 31, 327, 31, 225, 288, 7307, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 368, 19187, 11722, 1427, 487, 486, 358, 12543, 1281, 2743, 316, 279, 3958, 7307, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 775, 7307, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 288, 7307, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 225, 4884, 18, 19607, 12, 18088, 1769, 7307, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 289, 7307, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 1044, 261, 24485, 503, 425, 13, 7307, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 288, 7307, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 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, 2535, 273, 638, 31, 327, 31, 225, 1071, 918, 1086, 1435, 7307, 273, 638, 31, 327, 31, 225, 288, 7307, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 368, 19187, 11722, 1427, 487, 486, 358, 12543, 1281, 2743, 316, 279, 3958, 7307, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 775, 7307, 273, 638, 31, 327, 31, 2535, 273, 638, 31, 327, 31, 2535, 273, 2 ]
createPlainLabel(composite, WorkbenchMessages.getString("WizardExportPage.whereLabel"));
public void createControl(Composite parent) { initializeDialogUnits(parent); Composite composite = new Composite(parent, SWT.NULL); composite.setLayout(new GridLayout()); composite.setLayoutData( new GridData( GridData.VERTICAL_ALIGN_FILL | GridData.HORIZONTAL_ALIGN_FILL)); composite.setFont(parent.getFont()); createPlainLabel(composite, WorkbenchMessages.getString("WizardExportPage.whatLabel")); //$NON-NLS-1$ createResourcesGroup(composite); createButtonsGroup(composite); createPlainLabel(composite, WorkbenchMessages.getString("WizardExportPage.whereLabel")); //$NON-NLS-1$ createDestinationGroup(composite); createOptionsGroup(composite); restoreResourceSpecificationWidgetValues(); // ie.- local restoreWidgetValues(); // ie.- subclass hook if (initialResourceSelection != null) setupBasedOnInitialSelections(); updateWidgetEnablements(); setPageComplete(determinePageCompletion()); setControl(composite); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/f107019bb37e50ff7cbe8a61add7b656ad3cadde/WizardExportResourcesPage.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/dialogs/WizardExportResourcesPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 752, 3367, 12, 9400, 982, 13, 288, 202, 202, 11160, 6353, 7537, 12, 2938, 1769, 202, 202, 9400, 9635, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 8560, 1769, 202, 202, 27676, 18, 542, 3744, 12, 2704, 7145, 3744, 10663, 202, 202, 27676, 18, 542, 3744, 751, 12, 1082, 202, 2704, 7145, 751, 12, 9506, 202, 6313, 751, 18, 21654, 10109, 67, 26439, 67, 29818, 571, 7145, 751, 18, 44, 20344, 67, 26439, 67, 29818, 10019, 202, 202, 27676, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 202, 202, 2640, 13360, 2224, 12, 27676, 16, 4147, 22144, 5058, 18, 588, 780, 2932, 27130, 6144, 1964, 18, 23770, 2224, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 2640, 3805, 1114, 12, 27676, 1769, 202, 202, 2640, 14388, 1114, 12, 27676, 1769, 202, 202, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 2640, 5683, 1114, 12, 27676, 1769, 202, 202, 2640, 1320, 1114, 12, 27676, 1769, 202, 202, 13991, 1420, 8615, 4609, 1972, 5621, 368, 9228, 18, 17, 1191, 202, 202, 13991, 4609, 1972, 5621, 368, 9228, 18, 17, 10177, 3953, 202, 202, 430, 261, 6769, 1420, 6233, 480, 446, 13, 1082, 202, 8401, 9802, 1398, 4435, 29913, 5621, 202, 202, 2725, 4609, 8317, 1346, 5621, 202, 202, 542, 1964, 6322, 12, 24661, 1964, 11238, 10663, 202, 202, 542, 3367, 12, 27676, 1769, 202, 97, 2, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 752, 3367, 12, 9400, 982, 13, 288, 202, 202, 11160, 6353, 7537, 12, 2938, 1769, 202, 202, 9400, 9635, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 8560, 1769, 202, 202, 27676, 18, 542, 3744, 12, 2704, 7145, 3744, 10663, 202, 202, 27676, 18, 542, 3744, 751, 12, 1082, 202, 2704, 7145, 751, 12, 9506, 202, 6313, 751, 18, 21654, 10109, 67, 26439, 67, 29818, 571, 7145, 751, 18, 44, 20344, 67, 26439, 67, 29818, 10019, 202, 202, 27676, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 202, 202, 2640, 13360, 2224, 12, 27676, 16, 4147, 22144, 5058, 18, 588, 780, 2932, 27130, 6144, 1964, 18, 23770, 2224, 7923, 1769, 4329, 3993, 17, 2 ]
return canEdit [columnIndex];
return canEdit[columnIndex];
public boolean isCellEditable(int rowIndex, int columnIndex) { return canEdit [columnIndex]; }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/286d5d6193123c52f32874a18e36a8c914006f83/SchemaExplorer.java/buggy/src/main/mondrian/gui/SchemaExplorer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 1250, 353, 4020, 15470, 12, 474, 15361, 16, 509, 14882, 13, 288, 9506, 202, 2463, 848, 4666, 306, 2827, 1016, 15533, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 1250, 353, 4020, 15470, 12, 474, 15361, 16, 509, 14882, 13, 288, 9506, 202, 2463, 848, 4666, 306, 2827, 1016, 15533, 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 ]
sysRoot.addToEnvironment( DerefAliasesEnum.JNDI_PROP, DerefAliasesEnum.NEVERDEREFALIASES.getName() );
sysRoot.addToEnvironment( DerefAliasesEnum.JNDI_DEREF_ALIAS_PROP, DerefAliasesEnum.NEVER_DEREF_ALIASES );
public void testSearchOneLevel() throws NamingException { SearchControls controls = new SearchControls(); controls.setSearchScope( SearchControls.ONELEVEL_SCOPE ); controls.setDerefLinkFlag( false ); sysRoot.addToEnvironment( DerefAliasesEnum.JNDI_PROP, DerefAliasesEnum.NEVERDEREFALIASES.getName() ); HashMap map = new HashMap(); NamingEnumeration list = sysRoot.search( "", "(ou=*)", controls ); while ( list.hasMore() ) { SearchResult result = ( SearchResult ) list.next(); map.put( result.getName(), result.getAttributes() ); } assertEquals( "Expected number of results returned was incorrect!", 6, map.size() ); assertTrue( map.containsKey( "ou=testing00,ou=system" ) ); assertTrue( map.containsKey( "ou=testing01,ou=system" ) ); assertTrue( map.containsKey( "ou=testing02,ou=system" ) ); }
10677 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10677/ca370637c9e6ee9a8d74753e6b9cb0b134c32826/SearchContextITest.java/clean/core-unit/src/test/java/org/apache/directory/server/core/jndi/SearchContextITest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2979, 3335, 2355, 1435, 1216, 26890, 565, 288, 3639, 5167, 16795, 11022, 273, 394, 5167, 16795, 5621, 3639, 11022, 18, 542, 2979, 3876, 12, 5167, 16795, 18, 5998, 10398, 67, 19444, 11272, 3639, 11022, 18, 542, 40, 822, 74, 2098, 4678, 12, 629, 11272, 3639, 2589, 2375, 18, 1289, 774, 5494, 12, 463, 822, 74, 9667, 3572, 18, 46, 24513, 67, 4179, 26897, 67, 23784, 67, 15811, 16, 463, 822, 74, 9667, 3572, 18, 5407, 2204, 67, 4179, 26897, 67, 1013, 45, 4429, 55, 11272, 3639, 4317, 852, 273, 394, 4317, 5621, 3639, 18884, 21847, 666, 273, 2589, 2375, 18, 3072, 12, 23453, 7751, 1395, 33, 14, 2225, 16, 11022, 11272, 3639, 1323, 261, 666, 18, 5332, 7417, 1435, 262, 3639, 288, 5411, 29740, 563, 273, 261, 29740, 262, 666, 18, 4285, 5621, 5411, 852, 18, 458, 12, 563, 18, 17994, 9334, 563, 18, 588, 2498, 1435, 11272, 3639, 289, 3639, 1815, 8867, 12, 315, 6861, 1300, 434, 1686, 2106, 1703, 11332, 5, 3113, 1666, 16, 852, 18, 1467, 1435, 11272, 3639, 1815, 5510, 12, 852, 18, 12298, 653, 12, 315, 1395, 33, 3813, 310, 713, 16, 1395, 33, 4299, 6, 262, 11272, 3639, 1815, 5510, 12, 852, 18, 12298, 653, 12, 315, 1395, 33, 3813, 310, 1611, 16, 1395, 33, 4299, 6, 262, 11272, 3639, 1815, 5510, 12, 852, 18, 12298, 653, 12, 315, 1395, 33, 3813, 310, 3103, 16, 1395, 33, 4299, 6, 262, 11272, 565, 289, 2, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 918, 1842, 2979, 3335, 2355, 1435, 1216, 26890, 565, 288, 3639, 5167, 16795, 11022, 273, 394, 5167, 16795, 5621, 3639, 11022, 18, 542, 2979, 3876, 12, 5167, 16795, 18, 5998, 10398, 67, 19444, 11272, 3639, 11022, 18, 542, 40, 822, 74, 2098, 4678, 12, 629, 11272, 3639, 2589, 2375, 18, 1289, 774, 5494, 12, 463, 822, 74, 9667, 3572, 18, 46, 24513, 67, 4179, 26897, 67, 23784, 67, 15811, 16, 463, 822, 74, 9667, 3572, 18, 5407, 2204, 67, 4179, 26897, 67, 1013, 45, 4429, 55, 11272, 3639, 4317, 852, 273, 394, 4317, 5621, 3639, 18884, 21847, 666, 273, 2589, 2375, 18, 3072, 12, 23453, 7751, 1395, 33, 14, 2225, 16, 11022, 11272, 3639, 1323, 261, 666, 2 ]
if(OperatingSystem.hasJava15()) { Font primaryFont = jEdit.getFontProperty( "metal.primary.font"); if(primaryFont != null) { String primaryFontString = primaryFont.getFamily() + "-" + fontStyleToString( primaryFont.getStyle()) + "-" + primaryFont.getSize(); System.getProperties().put( "swing.plaf.metal.controlFont", primaryFontString); System.getProperties().put( "swing.plaf.metal.menuFont", primaryFontString); } Font secondaryFont = jEdit.getFontProperty( "metal.secondary.font"); if(secondaryFont != null) { String secondaryFontString = secondaryFont.getFamily() + "-" + fontStyleToString( secondaryFont.getStyle()) + "-" + secondaryFont.getSize(); System.getProperties().put( "swing.plaf.metal.systemFont", secondaryFontString); System.getProperties().put( "swing.plaf.metal.userFont", secondaryFontString); } } else { theme = new JEditMetalTheme(); theme.propertiesChanged(); MetalLookAndFeel.setCurrentTheme(theme); }
theme = createMetalTheme(); MetalLookAndFeel.setCurrentTheme(theme);
private static void initPLAF() { if(OperatingSystem.hasJava15()) { Font primaryFont = jEdit.getFontProperty( "metal.primary.font"); if(primaryFont != null) { String primaryFontString = primaryFont.getFamily() + "-" + fontStyleToString( primaryFont.getStyle()) + "-" + primaryFont.getSize(); System.getProperties().put( "swing.plaf.metal.controlFont", primaryFontString); System.getProperties().put( "swing.plaf.metal.menuFont", primaryFontString); } Font secondaryFont = jEdit.getFontProperty( "metal.secondary.font"); if(secondaryFont != null) { String secondaryFontString = secondaryFont.getFamily() + "-" + fontStyleToString( secondaryFont.getStyle()) + "-" + secondaryFont.getSize(); System.getProperties().put( "swing.plaf.metal.systemFont", secondaryFontString); System.getProperties().put( "swing.plaf.metal.userFont", secondaryFontString); } } else { theme = new JEditMetalTheme(); theme.propertiesChanged(); MetalLookAndFeel.setCurrentTheme(theme); } try { String lf = getProperty("lookAndFeel"); if(lf != null && lf.length() != 0) UIManager.setLookAndFeel(lf); else if(OperatingSystem.isMacOS()) { UIManager.setLookAndFeel(UIManager .getSystemLookAndFeelClassName()); } else { UIManager.setLookAndFeel(UIManager .getCrossPlatformLookAndFeelClassName()); } } catch(Exception e) { Log.log(Log.ERROR,jEdit.class,e); } UIDefaults defaults = UIManager.getDefaults(); // give all Swing components our colors if(jEdit.getBooleanProperty("textColors")) { Color background = new javax.swing.plaf.ColorUIResource( jEdit.getColorProperty("view.bgColor")); Color foreground = new javax.swing.plaf.ColorUIResource( jEdit.getColorProperty("view.fgColor")); Color caretColor = new javax.swing.plaf.ColorUIResource( jEdit.getColorProperty("view.caretColor")); Color selectionColor = new javax.swing.plaf.ColorUIResource( jEdit.getColorProperty("view.selectionColor")); String[] prefixes = { "TextField", "TextArea", "List", "Table" }; for(int i = 0; i < prefixes.length; i++) { String prefix = prefixes[i]; defaults.put(prefix + ".disabledBackground",background); defaults.put(prefix + ".background",background); defaults.put(prefix + ".disabledForeground",foreground); defaults.put(prefix + ".foreground",foreground); defaults.put(prefix + ".caretForeground",caretColor); defaults.put(prefix + ".selectionForeground",foreground); defaults.put(prefix + ".selectionBackground",selectionColor); //defaults.put(prefix + ".inactiveForeground",foreground); } defaults.put("Tree.background",background); defaults.put("Tree.foreground",foreground); defaults.put("Tree.textBackground",background); defaults.put("Tree.textForeground",foreground); defaults.put("Tree.selectionForeground",foreground); defaults.put("Tree.selectionBackground",selectionColor); } defaults.remove("SplitPane.border"); defaults.remove("SplitPaneDivider.border"); } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/a3fd43dd62a61d693e91cc6974b429213ee18d2c/jEdit.java/clean/org/gjt/sp/jedit/jEdit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 918, 1208, 10416, 42, 1435, 202, 95, 202, 202, 430, 12, 3542, 24811, 18, 5332, 5852, 3600, 10756, 202, 202, 95, 1082, 202, 5711, 3354, 5711, 273, 525, 4666, 18, 588, 5711, 1396, 12, 9506, 202, 6, 10578, 287, 18, 8258, 18, 5776, 8863, 1082, 202, 430, 12, 8258, 5711, 480, 446, 13, 1082, 202, 95, 9506, 202, 780, 3354, 5711, 780, 273, 6862, 202, 8258, 5711, 18, 588, 9203, 1435, 6862, 202, 15, 7514, 6862, 202, 15, 3512, 2885, 5808, 12, 6862, 202, 8258, 5711, 18, 588, 2885, 10756, 6862, 202, 15, 7514, 6862, 202, 15, 3354, 5711, 18, 588, 1225, 5621, 9506, 202, 3163, 18, 588, 2297, 7675, 458, 12, 6862, 202, 6, 5328, 310, 18, 412, 1727, 18, 10578, 287, 18, 7098, 5711, 3113, 6862, 202, 8258, 5711, 780, 1769, 9506, 202, 3163, 18, 588, 2297, 7675, 458, 12, 6862, 202, 6, 5328, 310, 18, 412, 1727, 18, 10578, 287, 18, 5414, 5711, 3113, 6862, 202, 8258, 5711, 780, 1769, 1082, 202, 97, 1082, 202, 5711, 9946, 5711, 273, 525, 4666, 18, 588, 5711, 1396, 12, 9506, 202, 6, 10578, 287, 18, 19674, 18, 5776, 8863, 1082, 202, 430, 12, 19674, 5711, 480, 446, 13, 1082, 202, 95, 9506, 202, 780, 9946, 5711, 780, 273, 6862, 202, 19674, 5711, 18, 588, 9203, 1435, 6862, 202, 15, 7514, 6862, 202, 15, 3512, 2885, 5808, 12, 6862, 202, 19674, 5711, 18, 588, 2885, 10756, 6862, 202, 15, 7514, 6862, 202, 15, 9946, 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, 760, 918, 1208, 10416, 42, 1435, 202, 95, 202, 202, 430, 12, 3542, 24811, 18, 5332, 5852, 3600, 10756, 202, 202, 95, 1082, 202, 5711, 3354, 5711, 273, 525, 4666, 18, 588, 5711, 1396, 12, 9506, 202, 6, 10578, 287, 18, 8258, 18, 5776, 8863, 1082, 202, 430, 12, 8258, 5711, 480, 446, 13, 1082, 202, 95, 9506, 202, 780, 3354, 5711, 780, 273, 6862, 202, 8258, 5711, 18, 588, 9203, 1435, 6862, 202, 15, 7514, 6862, 202, 15, 3512, 2885, 5808, 12, 6862, 202, 8258, 5711, 18, 588, 2885, 10756, 6862, 202, 15, 7514, 6862, 202, 15, 3354, 5711, 18, 588, 1225, 5621, 9506, 202, 3163, 18, 588, 2297, 7675, 458, 12, 6862, 202, 6, 2 ]
storageClass = IASTDeclSpecifier.sc_typedef; last = consume(); break;
storageClass = IASTDeclSpecifier.sc_typedef; last = consume(); break;
protected ICPPASTDeclSpecifier declSpecifierSeq(boolean parm, boolean tryConstructor) throws BacktrackException, EndOfFileException { IToken firstToken = LA(1); Flags flags = new Flags(parm, tryConstructor); IToken last = null; boolean isInline = false, isVirtual = false, isExplicit = false, isFriend = false; boolean isConst = false, isVolatile = false, isRestrict = false; boolean isLong = false, isShort = false, isUnsigned = false, isSigned = false, isLongLong = false; boolean isTypename = false; int storageClass = IASTDeclSpecifier.sc_unspecified; int simpleType = IASTSimpleDeclSpecifier.t_unspecified; ITokenDuple duple = null; ICPPASTCompositeTypeSpecifier classSpec = null; ICPPASTElaboratedTypeSpecifier elabSpec = null; IASTEnumerationSpecifier enumSpec = null; IASTExpression typeofExpression = null; int startOffset = firstToken.getOffset(); declSpecifiers: for (;;) { switch (LT(1)) { case IToken.t_inline: last = consume(); isInline = true; break; case IToken.t_typedef: storageClass = IASTDeclSpecifier.sc_typedef; last = consume(); break; case IToken.t_auto: last = consume(); storageClass = IASTDeclSpecifier.sc_auto; break; case IToken.t_register: last = consume(); storageClass = IASTDeclSpecifier.sc_register; break; case IToken.t_static: storageClass = IASTDeclSpecifier.sc_static; last = consume(); break; case IToken.t_extern: storageClass = IASTDeclSpecifier.sc_extern; last = consume(); break; case IToken.t_mutable: storageClass = ICPPASTDeclSpecifier.sc_mutable; last = consume(); break; case IToken.t_virtual: isVirtual = true; last = consume(); break; case IToken.t_explicit: isExplicit = true; last = consume(); break; case IToken.t_friend: isFriend = true; last = consume(); break; case IToken.t_const: isConst = true; last = consume(); break; case IToken.t_volatile: isVolatile = true; last = consume(); break; case IToken.t_restrict: if (!supportRestrict) { IToken la = LA(1); throwBacktrack(la.getOffset(), la.getEndOffset() - la.getOffset()); } isRestrict = true; last = consume(); break; case IToken.t_signed: isSigned = true; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_unsigned: isUnsigned = true; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_short: isShort = true; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_long: if (isLong && supportLongLong) { isLong = false; isLongLong = true; } else isLong = true; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t__Complex: if (!supportComplex) { IToken la = LA(1); throwBacktrack(la.getOffset(), la.getEndOffset() - la.getOffset()); } last = consume(IToken.t__Complex); simpleType = IGPPASTSimpleDeclSpecifier.t_Complex; break; case IToken.t__Imaginary: if (!supportComplex) { IToken la = LA(1); throwBacktrack(la.getOffset(), la.getLength()); } last = consume(IToken.t__Imaginary); simpleType = IGPPASTSimpleDeclSpecifier.t_Imaginary; break; case IToken.t_char: simpleType = IASTSimpleDeclSpecifier.t_char; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_wchar_t: simpleType = ICPPASTSimpleDeclSpecifier.t_wchar_t; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_bool: simpleType = ICPPASTSimpleDeclSpecifier.t_bool; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_int: flags.setEncounteredRawType(true); last = consume(); simpleType = IASTSimpleDeclSpecifier.t_int; break; case IToken.t_float: simpleType = IASTSimpleDeclSpecifier.t_float; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_double: simpleType = IASTSimpleDeclSpecifier.t_double; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_void: simpleType = IASTSimpleDeclSpecifier.t_void; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_typename: isTypename = true; last = consume(IToken.t_typename); duple = name(); flags.setEncounteredTypename(true); break; case IToken.tCOLONCOLON: case IToken.tIDENTIFIER: // TODO - Kludgy way to handle constructors/destructors if (flags.haveEncounteredRawType()) break declSpecifiers; if (parm && flags.haveEncounteredTypename()) break declSpecifiers; if (lookAheadForConstructorOrOperator(flags)) break declSpecifiers; if (lookAheadForDeclarator(flags)) break declSpecifiers; duple = name(); last = duple.getLastToken(); flags.setEncounteredTypename(true); break; case IToken.t_class: case IToken.t_struct: case IToken.t_union: if (flags.haveEncounteredTypename()) throwBacktrack(LA(1)); try { classSpec = classSpecifier(); flags.setEncounteredTypename(true); break; } catch (BacktrackException bt) { elabSpec = elaboratedTypeSpecifier(); flags.setEncounteredTypename(true); break; } case IToken.t_enum: if (flags.haveEncounteredTypename()) throwBacktrack(LA(1)); try { enumSpec = enumSpecifier(); flags.setEncounteredTypename(true); break; } catch (BacktrackException bt) { // this is an elaborated class specifier elabSpec = elaboratedTypeSpecifier(); flags.setEncounteredTypename(true); break; } default: if (supportTypeOfUnaries && LT(1) == IGCCToken.t_typeof) { typeofExpression = unaryTypeofExpression(); if (typeofExpression != null) { flags.setEncounteredTypename(true); } } break declSpecifiers; } } if (elabSpec != null) { elabSpec.setConst(isConst); elabSpec.setVolatile(isVolatile); if (elabSpec instanceof IGPPASTDeclSpecifier) ((IGPPASTDeclSpecifier) elabSpec).setRestrict(isRestrict); elabSpec.setFriend(isFriend); elabSpec.setInline(isInline); elabSpec.setStorageClass(storageClass); elabSpec.setVirtual(isVirtual); elabSpec.setExplicit(isExplicit); ((CPPASTNode) elabSpec).setOffsetAndLength(startOffset, calculateEndOffset(elabSpec) - startOffset); return elabSpec; } if (enumSpec != null) { enumSpec.setConst(isConst); enumSpec.setVolatile(isVolatile); if (enumSpec instanceof IGPPASTDeclSpecifier) ((IGPPASTDeclSpecifier) enumSpec).setRestrict(isRestrict); ((ICPPASTDeclSpecifier) enumSpec).setFriend(isFriend); ((ICPPASTDeclSpecifier) enumSpec).setVirtual(isVirtual); ((ICPPASTDeclSpecifier) enumSpec).setExplicit(isExplicit); enumSpec.setInline(isInline); enumSpec.setStorageClass(storageClass); ((CPPASTNode) enumSpec).setOffsetAndLength(startOffset, calculateEndOffset(enumSpec) - startOffset); return (ICPPASTDeclSpecifier) enumSpec; } if (classSpec != null) { classSpec.setConst(isConst); classSpec.setVolatile(isVolatile); if (classSpec instanceof IGPPASTDeclSpecifier) ((IGPPASTDeclSpecifier) classSpec).setRestrict(isRestrict); classSpec.setFriend(isFriend); classSpec.setInline(isInline); classSpec.setStorageClass(storageClass); classSpec.setVirtual(isVirtual); classSpec.setExplicit(isExplicit); ((CPPASTNode) classSpec).setOffsetAndLength(startOffset, calculateEndOffset(classSpec) - startOffset); return classSpec; } if (duple != null) { ICPPASTNamedTypeSpecifier nameSpec = (ICPPASTNamedTypeSpecifier)createNamedTypeSpecifier(); nameSpec.setIsTypename(isTypename); IASTName name = createName(duple); nameSpec.setName(name); name.setParent(nameSpec); name.setPropertyInParent(IASTNamedTypeSpecifier.NAME); nameSpec.setConst(isConst); nameSpec.setVolatile(isVolatile); if (nameSpec instanceof IGPPASTDeclSpecifier) ((IGPPASTDeclSpecifier) nameSpec).setRestrict(isRestrict); nameSpec.setFriend(isFriend); nameSpec.setInline(isInline); nameSpec.setStorageClass(storageClass); nameSpec.setVirtual(isVirtual); nameSpec.setExplicit(isExplicit); ((CPPASTNode) nameSpec).setOffsetAndLength(startOffset, last .getEndOffset() - startOffset); return nameSpec; } ICPPASTSimpleDeclSpecifier simpleDeclSpec = null; if (isLongLong || typeofExpression != null) { simpleDeclSpec = createGPPSimpleDeclSpecifier(); ((IGPPASTSimpleDeclSpecifier) simpleDeclSpec).setLongLong(isLongLong); if (typeofExpression != null) { ((IGPPASTSimpleDeclSpecifier) simpleDeclSpec) .setTypeofExpression(typeofExpression); typeofExpression.setParent(simpleDeclSpec); typeofExpression .setPropertyInParent(IGPPASTSimpleDeclSpecifier.TYPEOF_EXPRESSION); } } else simpleDeclSpec = createSimpleDeclSpecifier(); int l = last != null ? last.getEndOffset() - firstToken.getOffset() : 0; ((ASTNode) simpleDeclSpec).setOffsetAndLength(firstToken.getOffset(), l); simpleDeclSpec.setConst(isConst); simpleDeclSpec.setVolatile(isVolatile); if (simpleDeclSpec instanceof IGPPASTDeclSpecifier) ((IGPPASTDeclSpecifier) simpleDeclSpec).setRestrict(isRestrict); simpleDeclSpec.setFriend(isFriend); simpleDeclSpec.setInline(isInline); simpleDeclSpec.setStorageClass(storageClass); simpleDeclSpec.setVirtual(isVirtual); simpleDeclSpec.setExplicit(isExplicit); simpleDeclSpec.setType(simpleType); simpleDeclSpec.setLong(isLong); simpleDeclSpec.setShort(isShort); simpleDeclSpec.setUnsigned(isUnsigned); simpleDeclSpec.setSigned(isSigned); return simpleDeclSpec; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/8b59056395eb6c26e898030e7e1cd1b78d4db999/GNUCPPSourceParser.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/GNUCPPSourceParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 4750, 467, 4258, 4066, 882, 3456, 21416, 3496, 21416, 6926, 12, 6494, 19924, 16, 540, 1250, 775, 6293, 13, 1216, 4297, 4101, 503, 16, 4403, 951, 812, 503, 288, 1377, 467, 1345, 1122, 1345, 273, 2928, 12, 21, 1769, 1377, 10104, 2943, 273, 394, 10104, 12, 1065, 81, 16, 775, 6293, 1769, 1377, 467, 1345, 1142, 273, 446, 31, 1377, 1250, 8048, 1369, 273, 629, 16, 353, 6466, 273, 629, 16, 353, 17186, 273, 629, 16, 17646, 7522, 273, 629, 31, 1377, 1250, 353, 9661, 273, 629, 16, 353, 17431, 20295, 273, 629, 16, 353, 29371, 273, 629, 31, 1377, 1250, 353, 3708, 273, 629, 16, 353, 4897, 273, 629, 16, 353, 13290, 273, 629, 16, 353, 12294, 273, 629, 16, 353, 3708, 3708, 273, 629, 31, 1377, 1250, 353, 18488, 1069, 273, 629, 31, 1377, 509, 2502, 797, 273, 467, 9053, 3456, 21416, 18, 1017, 67, 318, 13827, 31, 1377, 509, 4143, 559, 273, 467, 9053, 5784, 3456, 21416, 18, 88, 67, 318, 13827, 31, 1377, 467, 1345, 40, 2268, 302, 2268, 273, 446, 31, 1377, 467, 4258, 4066, 882, 9400, 559, 21416, 667, 1990, 273, 446, 31, 1377, 467, 4258, 4066, 882, 4958, 378, 280, 690, 559, 21416, 415, 378, 1990, 273, 446, 31, 1377, 467, 9053, 21847, 21416, 2792, 1990, 273, 446, 31, 1377, 467, 9053, 2300, 2716, 2300, 273, 446, 31, 1377, 509, 18245, 273, 1122, 1345, 18, 588, 2335, 5621, 1377, 3496, 1990, 3383, 30, 364, 261, 25708, 13, 288, 540, 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, 4750, 467, 4258, 4066, 882, 3456, 21416, 3496, 21416, 6926, 12, 6494, 19924, 16, 540, 1250, 775, 6293, 13, 1216, 4297, 4101, 503, 16, 4403, 951, 812, 503, 288, 1377, 467, 1345, 1122, 1345, 273, 2928, 12, 21, 1769, 1377, 10104, 2943, 273, 394, 10104, 12, 1065, 81, 16, 775, 6293, 1769, 1377, 467, 1345, 1142, 273, 446, 31, 1377, 1250, 8048, 1369, 273, 629, 16, 353, 6466, 273, 629, 16, 353, 17186, 273, 629, 16, 17646, 7522, 273, 629, 31, 1377, 1250, 353, 9661, 273, 629, 16, 353, 17431, 20295, 273, 629, 16, 353, 29371, 273, 629, 31, 1377, 1250, 353, 3708, 273, 629, 16, 353, 4897, 273, 629, 16, 353, 13290, 273, 629, 16, 353, 12294, 2 ]
result = RubyRegexp.newRegexp(runtime, sb.toString(), iVisited.getOptions());
result = RubyRegexp.newRegexp(runtime, sb.toString(), iVisited.getOptions(), null);
public void visitDRegxNode(DRegexpNode iVisited) { StringBuffer sb = new StringBuffer(); Iterator iterator = iVisited.iterator(); while (iterator.hasNext()) { INode node = (INode) iterator.next(); sb.append(eval(node)); } result = RubyRegexp.newRegexp(runtime, sb.toString(), iVisited.getOptions()); }
47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/c3988bcedc9973ff7f8c24ac6423ecb89f3ada35/EvaluateVisitor.java/buggy/src/org/jruby/evaluator/EvaluateVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 40, 1617, 92, 907, 12, 40, 14621, 907, 277, 30019, 13, 288, 3639, 6674, 2393, 273, 394, 6674, 5621, 3639, 4498, 2775, 273, 277, 30019, 18, 9838, 5621, 3639, 1323, 261, 9838, 18, 5332, 2134, 10756, 288, 5411, 21176, 756, 273, 261, 23184, 13, 2775, 18, 4285, 5621, 5411, 2393, 18, 6923, 12, 8622, 12, 2159, 10019, 3639, 289, 3639, 563, 273, 19817, 14621, 18, 2704, 14621, 12, 9448, 16, 2393, 18, 10492, 9334, 277, 30019, 18, 588, 1320, 9334, 446, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 918, 3757, 40, 1617, 92, 907, 12, 40, 14621, 907, 277, 30019, 13, 288, 3639, 6674, 2393, 273, 394, 6674, 5621, 3639, 4498, 2775, 273, 277, 30019, 18, 9838, 5621, 3639, 1323, 261, 9838, 18, 5332, 2134, 10756, 288, 5411, 21176, 756, 273, 261, 23184, 13, 2775, 18, 4285, 5621, 5411, 2393, 18, 6923, 12, 8622, 12, 2159, 10019, 3639, 289, 3639, 563, 273, 19817, 14621, 18, 2704, 14621, 12, 9448, 16, 2393, 18, 10492, 9334, 277, 30019, 18, 588, 1320, 9334, 446, 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 ]
inst.insertBefore(MIR_Move.create(IA32_MOV, M, R(r)));
inst.insertBefore(MIR_Move.create(IA32_MOV, M, new OPT_RegisterOperand(r, VM_TypeReference.Int)));
private void saveVolatiles(OPT_Instruction inst) { OPT_PhysicalRegisterSet phys = ir.regpool.getPhysicalRegisterSet(); // Save each GPR. int i = 0; for (Enumeration e = phys.enumerateVolatileGPRs(); e.hasMoreElements(); i++) { OPT_Register r = (OPT_Register)e.nextElement(); int location = saveVolatileGPRLocation[i]; OPT_Operand M = new OPT_StackLocationOperand(true, -location, 4); inst.insertBefore(MIR_Move.create(IA32_MOV, M, R(r))); } }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/8dfe8cd586b96d63fa7fc0e721eee0627995e5e3/OPT_StackManager.java/clean/rvm/src/vm/arch/intel/compilers/optimizing/regalloc/OPT_StackManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1923, 17431, 270, 1449, 12, 15620, 67, 11983, 1804, 13, 288, 565, 16456, 67, 18136, 3996, 694, 24758, 273, 9482, 18, 1574, 6011, 18, 588, 18136, 3996, 694, 5621, 565, 368, 7074, 1517, 4948, 54, 18, 377, 509, 277, 273, 374, 31, 565, 364, 261, 21847, 425, 273, 24758, 18, 7924, 12600, 17431, 20295, 43, 8025, 87, 5621, 540, 425, 18, 5332, 7417, 3471, 5621, 277, 27245, 288, 1377, 16456, 67, 3996, 436, 273, 261, 15620, 67, 3996, 13, 73, 18, 4285, 1046, 5621, 1377, 509, 2117, 273, 1923, 17431, 20295, 43, 8025, 2735, 63, 77, 15533, 1377, 16456, 67, 10265, 490, 273, 394, 16456, 67, 2624, 2735, 10265, 12, 3767, 16, 300, 3562, 16, 1059, 1769, 1377, 1804, 18, 6387, 4649, 12, 7492, 54, 67, 7607, 18, 2640, 12, 15188, 1578, 67, 5980, 58, 16, 490, 16, 394, 16456, 67, 3996, 10265, 12, 86, 16, 8251, 67, 7534, 18, 1702, 3719, 1769, 565, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1923, 17431, 270, 1449, 12, 15620, 67, 11983, 1804, 13, 288, 565, 16456, 67, 18136, 3996, 694, 24758, 273, 9482, 18, 1574, 6011, 18, 588, 18136, 3996, 694, 5621, 565, 368, 7074, 1517, 4948, 54, 18, 377, 509, 277, 273, 374, 31, 565, 364, 261, 21847, 425, 273, 24758, 18, 7924, 12600, 17431, 20295, 43, 8025, 87, 5621, 540, 425, 18, 5332, 7417, 3471, 5621, 277, 27245, 288, 1377, 16456, 67, 3996, 436, 273, 261, 15620, 67, 3996, 13, 73, 18, 4285, 1046, 5621, 1377, 509, 2117, 273, 1923, 17431, 20295, 43, 8025, 2735, 63, 77, 15533, 1377, 16456, 67, 10265, 490, 273, 394, 16456, 67, 2624, 2735, 10265, 12, 3767, 16, 300, 3562, 16, 1059, 2 ]
private void defineConstants(Class javaClass, RubyClass rubyClass) { // add constants Field[] fields = javaClass.getFields(); for (int i = 0; i < fields.length; i++) { int modifiers = fields[i].getModifiers(); if (Modifier.isStatic(modifiers) && Modifier.isFinal(modifiers)) { try { String name = fields[i].getName(); // Uppercase first character of the constant name name = Character.toUpperCase(name.charAt(0)) + name.substring(1); rubyClass.defineConstant(name, JavaUtil.convertJavaToRuby(ruby, fields[i].get(null), fields[i].getType())); } catch (IllegalAccessException iaExcptn) { } } } }
46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/786cea08c1dd2092a02d1254b49fbee371ace5f9/JavaSupport.java/buggy/org/jruby/javasupport/JavaSupport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 4426, 2918, 12, 797, 2252, 797, 16, 19817, 797, 22155, 797, 13, 288, 3639, 368, 527, 6810, 3639, 2286, 8526, 1466, 273, 2252, 797, 18, 588, 2314, 5621, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1466, 18, 2469, 31, 277, 27245, 288, 5411, 509, 10429, 273, 1466, 63, 77, 8009, 588, 11948, 5621, 5411, 309, 261, 9829, 18, 291, 5788, 12, 15432, 13, 597, 12832, 18, 291, 7951, 12, 15432, 3719, 288, 7734, 775, 288, 10792, 514, 508, 273, 1466, 63, 77, 8009, 17994, 5621, 4766, 3639, 368, 29844, 3593, 1122, 3351, 434, 326, 5381, 508, 10792, 508, 273, 6577, 18, 869, 8915, 12, 529, 18, 3001, 861, 12, 20, 3719, 397, 508, 18, 28023, 12, 21, 1769, 4766, 3639, 22155, 797, 18, 11255, 6902, 12, 529, 16, 5110, 1304, 18, 6283, 5852, 774, 54, 10340, 12, 27768, 16, 1466, 63, 77, 8009, 588, 12, 2011, 3631, 1466, 63, 77, 8009, 588, 559, 1435, 10019, 7734, 289, 1044, 261, 12195, 9773, 20389, 29924, 337, 82, 13, 288, 7734, 289, 5411, 289, 3639, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 1152, 918, 4426, 2918, 12, 797, 2252, 797, 16, 19817, 797, 22155, 797, 13, 288, 3639, 368, 527, 6810, 3639, 2286, 8526, 1466, 273, 2252, 797, 18, 588, 2314, 5621, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1466, 18, 2469, 31, 277, 27245, 288, 5411, 509, 10429, 273, 1466, 63, 77, 8009, 588, 11948, 5621, 5411, 309, 261, 9829, 18, 291, 5788, 12, 15432, 13, 597, 12832, 18, 291, 7951, 12, 15432, 3719, 288, 7734, 775, 288, 10792, 514, 508, 273, 1466, 63, 77, 8009, 17994, 5621, 4766, 3639, 368, 29844, 3593, 1122, 3351, 434, 326, 5381, 508, 10792, 508, 273, 6577, 18, 869, 8915, 12, 529, 18, 3001, 861, 12, 20, 3719, 397, 2 ]
AST tmp1348_AST_in = (AST)_t;
AST tmp1347_AST_in = (AST)_t;
public final void getkeyvaluestate(AST _t) throws RecognitionException { AST getkeyvaluestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t901 = _t; AST tmp1344_AST_in = (AST)_t; match(_t,GETKEYVALUE); _t = _t.getFirstChild(); AST tmp1345_AST_in = (AST)_t; match(_t,SECTION); _t = _t.getNextSibling(); expression(_t); _t = _retTree; AST tmp1346_AST_in = (AST)_t; match(_t,KEY); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; if ((_t.getType()==DEFAULT)) { AST tmp1347_AST_in = (AST)_t; match(_t,DEFAULT); _t = _t.getNextSibling(); } else if ((_tokenSet_3.member(_t.getType()))) { expression(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } AST tmp1348_AST_in = (AST)_t; match(_t,VALUE); _t = _t.getNextSibling(); fld(_t,CQ.UPDATING); _t = _retTree; state_end(_t); _t = _retTree; _t = __t901; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/041a16c78289f1c3ae5e575d3edc5e893a658e50/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, 336, 856, 4531, 395, 340, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 336, 856, 4531, 395, 340, 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, 29, 1611, 273, 389, 88, 31, 202, 202, 9053, 1853, 3437, 6334, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 3264, 3297, 4051, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 9053, 1853, 3437, 7950, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 19082, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 202, 202, 8692, 24899, 88, 1769, 202, 202, 67, 88, 273, 389, 1349, 2471, 31, 202, 202, 9053, 1853, 3437, 8749, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 3297, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 430, 14015, 67, 88, 18, 588, 559, 1435, 631, 5280, 3719, 288, 1082, 202, 9053, 1853, 3437, 9462, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 5280, 1769, 1082, 202, 67, 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, 482, 727, 918, 336, 856, 4531, 395, 340, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 336, 856, 4531, 395, 340, 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, 29, 1611, 273, 389, 88, 31, 202, 202, 9053, 1853, 3437, 6334, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 3264, 3297, 4051, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 9053, 1853, 3437, 7950, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 2 ]
private boolean _insideChar(String docText) {// Utilities.showDebug("DEBUG: _insideChar called"); int singleQuoteIndex = docText.lastIndexOf("\'"); if (singleQuoteIndex != -1 && singleQuoteIndex == docText.length()-1) return true; return false; }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/dc012dd7d972609a38d1836c72ebe86b07df0e53/FindReplaceMachine.java/clean/drjava/src/edu/rice/cs/util/swing/FindReplaceMachine.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6494, 67, 28091, 2156, 12, 780, 2434, 1528, 15329, 759, 11864, 18, 4500, 2829, 2932, 9394, 30, 67, 28091, 2156, 11777, 8863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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 67, 28091, 2156, 12, 780, 2434, 1528, 15329, 759, 11864, 18, 4500, 2829, 2932, 9394, 30, 67, 28091, 2156, 11777, 8863, 474, 7526, 10257, 1016, 33, 2434, 1528, 18, 2722, 31985, 2932, 3730, 8863, 430, 12, 7526, 10257, 1016, 5, 29711, 21, 10, 10, 7526, 10257, 1016, 631, 2434, 1528, 18, 2469, 1435, 17, 21, 13, 2463, 3767, 31, 2463, 5743, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
final String deleteCurrentPrefs =
final String selectPrefIds = "SELECT PREF_ID " + "FROM UP_PORTLET_ENTITY_PREFS " + "WHERE USER_ID=? AND LAYOUT_ID=? AND CHAN_DESC_ID=?"; final String deletePrefValues = "DELETE FROM UP_PORTLET_PREF_VALUES " + "WHERE PREF_ID=?"; final String deletePrefNames =
public void setEntityPreferences(final int userId, final int layoutId, final String chanDescId, final PreferenceSet prefs) throws Exception { final Connection con = RDBMServices.getConnection(); final String deleteCurrentPrefs = "DELETE FROM UP_PORTLET_ENTITY_PREFS " + "WHERE USER_ID=? AND LAYOUT_ID=? AND CHAN_DESC_ID=?"; final String insertPref = "INSERT INTO UP_PORTLET_ENTITY_PREFS " + "(USER_ID, LAYOUT_ID, CHAN_DESC_ID, PORTLET_PREF_NAME, PORTLET_PREF_VALUE) " + "VALUES (?, ?, ?, ?, ?)"; LogService.log(LogService.DEBUG, "RDBMPortletPreferencesStore::setEntityPreferences(userId=" + userId + ", layoutId=" + layoutId + ", chanDescId=" + chanDescId + ")"); try { // Set autocommit false for the connection RDBMServices.setAutoCommit(con, false); PreparedStatement deleteCurrentPrefsPstmt = null; PreparedStatement insertPrefPstmt = null; try { deleteCurrentPrefsPstmt = con.prepareStatement(deleteCurrentPrefs); insertPrefPstmt = con.prepareStatement(insertPref); LogService.log(LogService.DEBUG, "RDBMPortletPreferencesStore::setEntityPreferences(): " + deleteCurrentPrefs); deleteCurrentPrefsPstmt.setInt(1, userId); deleteCurrentPrefsPstmt.setInt(2, layoutId); deleteCurrentPrefsPstmt.setString(3, chanDescId); deleteCurrentPrefsPstmt.execute(); for (final Iterator prefItr = prefs.iterator(); prefItr.hasNext();) { final Preference pref = (Preference)prefItr.next(); insertPrefPstmt.setInt(1, userId); insertPrefPstmt.setInt(2, layoutId); insertPrefPstmt.setString(3, chanDescId); insertPrefPstmt.setString(4, pref.getName()); for (final Iterator valueItr = pref.getValues(); valueItr.hasNext();) { final String value = (String)valueItr.next(); LogService.log(LogService.DEBUG, "RDBMPortletPreferencesStore::setEntityPreferences(): " + insertPref); insertPrefPstmt.setString(5, value); insertPrefPstmt.executeUpdate(); } } RDBMServices.commit(con); } catch (Exception e) { // Roll back the transaction RDBMServices.rollback(con); throw e; } finally { try { deleteCurrentPrefsPstmt.close(); } catch (Exception e) { } try { insertPrefPstmt.close(); } catch (Exception e) { } } } finally { RDBMServices.releaseConnection(con); } }
24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/8dc073ef3a5946c6e14fbb8c4ef1466b04e15302/RDBMPortletPreferencesStore.java/buggy/source/org/jasig/portal/RDBMPortletPreferencesStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 20739, 12377, 12, 6385, 509, 6249, 16, 727, 509, 3511, 548, 16, 727, 514, 3861, 4217, 548, 16, 727, 29125, 694, 15503, 13, 1216, 1185, 288, 3639, 727, 4050, 356, 273, 534, 2290, 49, 5676, 18, 588, 1952, 5621, 7734, 727, 514, 2027, 23218, 2673, 273, 315, 4803, 7071, 42, 67, 734, 315, 397, 315, 11249, 7376, 67, 6354, 15146, 67, 11101, 67, 3670, 4931, 315, 397, 315, 12299, 7443, 67, 734, 17282, 4116, 25239, 5069, 67, 734, 17282, 4116, 6469, 1258, 67, 10964, 67, 734, 25501, 31, 225, 727, 514, 1430, 23218, 1972, 273, 315, 6460, 4571, 7376, 67, 6354, 15146, 67, 3670, 42, 67, 16386, 315, 397, 315, 12299, 7071, 42, 67, 734, 25501, 31, 225, 727, 514, 1430, 23218, 1557, 273, 2398, 315, 6460, 4571, 7376, 67, 6354, 15146, 67, 11101, 67, 3670, 4931, 315, 397, 5411, 315, 12299, 7443, 67, 734, 17282, 4116, 25239, 5069, 67, 734, 17282, 4116, 6469, 1258, 67, 10964, 67, 734, 25501, 31, 7734, 727, 514, 2243, 23218, 273, 2398, 315, 11356, 12421, 7376, 67, 6354, 15146, 67, 11101, 67, 3670, 4931, 315, 397, 5411, 7751, 4714, 67, 734, 16, 25239, 5069, 67, 734, 16, 6469, 1258, 67, 10964, 67, 734, 16, 20987, 15146, 67, 3670, 42, 67, 1985, 16, 20987, 15146, 67, 3670, 42, 67, 4051, 13, 315, 397, 5411, 315, 16386, 13590, 16, 20033, 20033, 20033, 692, 2225, 31, 7734, 1827, 1179, 18, 1330, 12, 1343, 1179, 18, 9394, 16, 315, 54, 2290, 49, 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, 20739, 12377, 12, 6385, 509, 6249, 16, 727, 509, 3511, 548, 16, 727, 514, 3861, 4217, 548, 16, 727, 29125, 694, 15503, 13, 1216, 1185, 288, 3639, 727, 4050, 356, 273, 534, 2290, 49, 5676, 18, 588, 1952, 5621, 7734, 727, 514, 2027, 23218, 2673, 273, 315, 4803, 7071, 42, 67, 734, 315, 397, 315, 11249, 7376, 67, 6354, 15146, 67, 11101, 67, 3670, 4931, 315, 397, 315, 12299, 7443, 67, 734, 17282, 4116, 25239, 5069, 67, 734, 17282, 4116, 6469, 1258, 67, 10964, 67, 734, 25501, 31, 225, 727, 514, 1430, 23218, 1972, 273, 315, 6460, 4571, 7376, 67, 6354, 15146, 67, 3670, 42, 67, 16386, 315, 397, 315, 12299, 7071, 42, 67, 734, 25501, 2 ]
throw new UnsupportedOperationException("mock method not implemented");
return method;
public Method getMethod() { throw new UnsupportedOperationException("mock method not implemented"); }
29994 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29994/41b41ba3162bec423c11b9b700ad3dfb6f342d23/MockMethodInvocation.java/clean/core/src/test/java/org/acegisecurity/MockMethodInvocation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2985, 6272, 1435, 288, 3639, 327, 707, 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,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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
getResponse().write(tag.toString(settings.getStripWicketTags()));
getResponse().write(tag.toString( settings.getStripWicketTags(), settings.getWicketNamespace()));
protected final void renderComponentTag(ComponentTag tag) { final ApplicationSettings settings = getApplication().getSettings(); if (!(tag instanceof WicketTag) || !settings.getStripWicketTags()) { // Apply attribute modifiers if (attributeModifiers != null && tag.getType() != XmlTag.CLOSE) { tag = tag.mutable(); for (AttributeModifier current = attributeModifiers; current != null; current = current.next) { current.replaceAttibuteValue(this, tag); } } // Write the tag getResponse().write(tag.toString(settings.getStripWicketTags())); } }
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/b0235e818acd5b7bbdcf03d7ce4d7727f6b0f73b/Component.java/clean/wicket/src/java/wicket/Component.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 727, 918, 1743, 1841, 1805, 12, 1841, 1805, 1047, 13, 202, 95, 202, 202, 6385, 4257, 2628, 1947, 273, 9615, 7675, 588, 2628, 5621, 202, 202, 430, 16051, 12, 2692, 1276, 678, 29378, 1805, 13, 747, 401, 4272, 18, 588, 16632, 59, 29378, 3453, 10756, 202, 202, 95, 1082, 202, 759, 5534, 1566, 10429, 1082, 202, 430, 261, 4589, 11948, 480, 446, 597, 1047, 18, 588, 559, 1435, 480, 5714, 1805, 18, 13384, 13, 1082, 202, 95, 9506, 202, 2692, 273, 1047, 18, 5146, 5621, 9506, 202, 1884, 261, 1499, 9829, 783, 273, 1566, 11948, 31, 783, 480, 446, 31, 783, 273, 783, 18, 4285, 13, 9506, 202, 95, 6862, 202, 2972, 18, 2079, 3075, 495, 624, 620, 12, 2211, 16, 1047, 1769, 9506, 202, 97, 1082, 202, 97, 1082, 202, 759, 2598, 326, 1047, 1082, 202, 588, 1064, 7675, 2626, 12, 2692, 18, 10492, 12, 4272, 18, 588, 16632, 59, 29378, 3453, 1435, 10019, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 727, 918, 1743, 1841, 1805, 12, 1841, 1805, 1047, 13, 202, 95, 202, 202, 6385, 4257, 2628, 1947, 273, 9615, 7675, 588, 2628, 5621, 202, 202, 430, 16051, 12, 2692, 1276, 678, 29378, 1805, 13, 747, 401, 4272, 18, 588, 16632, 59, 29378, 3453, 10756, 202, 202, 95, 1082, 202, 759, 5534, 1566, 10429, 1082, 202, 430, 261, 4589, 11948, 480, 446, 597, 1047, 18, 588, 559, 1435, 480, 5714, 1805, 18, 13384, 13, 1082, 202, 95, 9506, 202, 2692, 273, 1047, 18, 5146, 5621, 9506, 202, 1884, 261, 1499, 9829, 783, 273, 1566, 11948, 31, 783, 480, 446, 31, 783, 273, 783, 18, 4285, 13, 9506, 202, 95, 6862, 202, 2972, 18, 2079, 3075, 495, 2 ]
if (entityTarget == null) {
if (wr.amsShotDown > 0) { phaseReport.append("would hit, but...\n\tAMS engages, firing ") .append(wr.amsShotDown).append(" shots and destroying the pod.\n"); } else if (entityTarget == null) {
private void resolveWeaponAttack(WeaponResult wr, int lastEntityId) { final Entity ae = game.getEntity(wr.waa.getEntityId()); final Targetable target = game.getTarget(wr.waa.getTargetType(), wr.waa.getTargetId()); Entity entityTarget = null; if (target.getTargetType() == Targetable.TYPE_ENTITY) { entityTarget = (Entity)target; } final Mounted weapon = ae.getEquipment(wr.waa.getWeaponId()); final WeaponType wtype = (WeaponType)weapon.getType(); final boolean isWeaponInfantry = wtype.hasFlag(WeaponType.F_INFANTRY); // 2002-09-16 Infantry weapons have unlimited ammo. final boolean usesAmmo = wtype.getAmmoType() != AmmoType.T_NA && wtype.getAmmoType() != AmmoType.T_BA_MG && wtype.getAmmoType() != AmmoType.T_BA_SMALL_LASER && !isWeaponInfantry; final Mounted ammo = usesAmmo ? weapon.getLinked() : null; final AmmoType atype = ammo == null ? null : (AmmoType)ammo.getType(); Infantry platoon = null; final boolean isBattleArmorAttack = wtype.hasFlag(WeaponType.F_BATTLEARMOR); ToHitData toHit = wr.toHit; boolean bInferno = (usesAmmo && atype.getMunitionType() == AmmoType.M_INFERNO); if (!bInferno) { // also check for inferno infantry bInferno = (isWeaponInfantry && wtype.hasFlag(WeaponType.F_INFERNO)); } final boolean targetInBuilding = Compute.isInBuilding( game, entityTarget ); // Which building takes the damage? Building bldg = game.board.getBuildingAt( target.getPosition() ); if (lastEntityId != ae.getId()) { phaseReport.append("\nWeapons fire for " ).append( ae.getDisplayName() ).append( "\n"); } // Swarming infantry can stop during any weapons phase after start. if ( Infantry.STOP_SWARM.equals( wtype.getInternalName() ) ) { // ... but only as their *only* attack action. if ( toHit.getValue() == ToHitData.IMPOSSIBLE ) { phaseReport.append( "Swarm attack can not be ended (" + toHit.getDesc() ).append( ")\n" ); return; } else { phaseReport.append( "Swarm attack ended.\n" ); // Only apply the "stop swarm 'attack'" to the swarmed Mek. if ( ae.getSwarmTargetId() != target.getTargetId() ) { Entity other = game.getEntity( ae.getSwarmTargetId() ); other.setSwarmAttackerId( Entity.NONE ); } else { entityTarget.setSwarmAttackerId( Entity.NONE ); } ae.setSwarmTargetId( Entity.NONE ); return; } } // Report weapon attack and its to-hit value. phaseReport.append(" " ).append( wtype.getName() ).append( " at " ).append( target.getDisplayName()); if (toHit.getValue() == ToHitData.IMPOSSIBLE) { phaseReport.append(", but the shot is impossible (" ).append( toHit.getDesc() ).append( ")\n"); return; } else if (toHit.getValue() == ToHitData.AUTOMATIC_FAIL) { phaseReport.append(", the shot is an automatic miss (" ).append( toHit.getDesc() ).append( "), "); } else if (toHit.getValue() == ToHitData.AUTOMATIC_SUCCESS) { phaseReport.append(", the shot is an automatic hit (" ).append( toHit.getDesc() ).append( "), "); } else { phaseReport.append("; needs " ).append( toHit.getValue() ).append( ", "); } // if firing an HGR unbraced, schedule a PSR if (wtype.getAmmoType() == AmmoType.T_GAUSS_HEAVY && ae.mpUsed > 0) { // the mod is weight-based int nMod; if (ae.getWeight() <= Mech.WEIGHT_LIGHT) { nMod = 2; } else if (ae.getWeight() <= Mech.WEIGHT_MEDIUM) { nMod = 1; } else if (ae.getWeight() <= Mech.WEIGHT_HEAVY) { nMod = 0; } else { nMod = -1; } PilotingRollData psr = new PilotingRollData(ae.getId(), nMod, "fired HeavyGauss unbraced"); psr.setCumulative(false); // about the only time we set this flag game.addPSR(psr); } // dice have been rolled, thanks phaseReport.append("rolls " ).append( wr.roll ).append( " : "); // check for AC jams int nShots = weapon.howManyShots(); if (nShots > 1) { int jamCheck = 0; if (wtype.getAmmoType() == AmmoType.T_AC_ULTRA && weapon.curMode().equals("Ultra")) { jamCheck = 2; } else if (wtype.getAmmoType() == AmmoType.T_AC_ROTARY) { if (nShots == 2) { jamCheck = 2; } else if (nShots == 4) { jamCheck = 3; } else if (nShots == 6) { jamCheck = 4; } } if (jamCheck > 0 && wr.roll <= jamCheck) { phaseReport.append("misses AND THE AUTOCANNON JAMS.\n"); weapon.setJammed(true); // ultras are destroyed by jamming if (wtype.getAmmoType() == AmmoType.T_AC_ULTRA) { weapon.setHit(true); } return; } } // do we hit? boolean bMissed = wr.roll < toHit.getValue(); // special case minefield delivery, no damage and scatters if misses. if (target.getTargetType() == Targetable.TYPE_MINEFIELD_DELIVER) { Coords coords = target.getPosition(); if (!bMissed) { phaseReport.append("hits the intended hex " + coords.getBoardNum() + "\n"); } else { coords = Compute.scatter(coords); if (game.board.contains(coords)) { phaseReport.append("misses and scatters to hex " + coords.getBoardNum() + "\n"); } else { phaseReport.append("misses and scatters off the board\n"); return; } } deliverThunderMinefield(coords, ae.getOwner().getId(), atype.getRackSize()); return; } if (bMissed) { // Report the miss. if ( wtype.getAmmoType() == AmmoType.T_SRM_STREAK ) { phaseReport.append( "fails to achieve lock.\n" ); } else { phaseReport.append("misses.\n"); } // Report any AMS action. if (wr.amsShotDown > 0) { phaseReport.append( "\tAMS activates, firing " ) .append( wr.amsShotDown ) .append( " shot(s).\n" ); } // Figure out the maximum number of missile hits. // TODO: handle this in a different place. int maxMissiles = 0; if ( usesAmmo ) { maxMissiles = wtype.getRackSize(); if ( wtype.hasFlag(WeaponType.F_DOUBLE_HITS) ) { maxMissiles *= 2; } if ( ae instanceof BattleArmor ) { platoon = (Infantry) ae; maxMissiles *= platoon.getShootingStrength(); } } // If the AMS shot down *all* incoming missiles, if // the shot is an automatic failure, or if it's from // a Streak rack, then Infernos can't ignite the hex // and any building is safe from damage. if ( (usesAmmo && wr.amsShotDown >= maxMissiles) || toHit.getValue() == TargetRoll.AUTOMATIC_FAIL || wtype.getAmmoType() == AmmoType.T_SRM_STREAK ) { return; } // Shots that miss an entity can set fires. // Infernos always set fires. Otherwise // Buildings can't be accidentally ignited, // and some weapons can't ignite fires. if ( entityTarget != null && ( bInferno || ( bldg == null && wtype.getFireTN() != TargetRoll.IMPOSSIBLE ) ) ) { tryIgniteHex(target.getPosition(), bInferno, 11); } // BMRr, pg. 51: "All shots that were aimed at a target inside // a building and miss do full damage to the building instead." if ( !targetInBuilding ) { return; } } // special case NARC hits. No damage, but a beacon is appended if (!bMissed && wtype.getAmmoType() == AmmoType.T_NARC && atype.getMunitionType() != AmmoType.M_NARC_EX) { // TODO: AMS can shoot down NARC pods too. if (entityTarget == null) { phaseReport.append("hits, but doesn't do anything.\n"); } else { entityTarget.setNarcedBy(ae.getOwner().getTeam()); phaseReport.append("hits. Pod attached.\n"); } return; } // attempt to clear minefield by LRM/MRM fire. if (!bMissed && target.getTargetType() == Targetable.TYPE_MINEFIELD_CLEAR) { int clearAttempt = Compute.d6(2); if (clearAttempt >= Minefield.CLEAR_NUMBER_WEAPON) { phaseReport.append("\n\thits and clears it.\n"); Coords coords = target.getPosition(); Enumeration minefields = game.getMinefields(coords).elements(); while (minefields.hasMoreElements()) { Minefield mf = (Minefield) minefields.nextElement(); removeMinefield(mf); } } else { phaseReport.append("\n\thits, but fails to clear it.\n"); } return; } // yeech. handle damage. . different weapons do this in very different ways int hits = 1, nCluster = 1, nSalvoBonus = 0; int nDamPerHit = wtype.getDamage(); boolean bSalvo = false; // ecm check is heavy, so only do it once boolean bCheckedECM = false; boolean bECMAffected = false; boolean bMekStealthActive = false; String sSalvoType = " shot(s) "; boolean bAllShotsHit = false; // All shots fired by a Streak SRM weapon, during // a Mech Swarm hit, or at an adjacent building. if ( wtype.getAmmoType() == AmmoType.T_SRM_STREAK || wtype.getAmmoType() == AmmoType.T_NARC || ae.getSwarmTargetId() == wr.waa.getTargetId() || ( ( target.getTargetType() == Targetable.TYPE_BLDG_IGNITE || target.getTargetType() == Targetable.TYPE_BUILDING ) && ae.getPosition().distance( target.getPosition() ) <= 1 ) ) { bAllShotsHit = true; } // Mek swarms attach the attacker to the target. if ( !bMissed && Infantry.SWARM_MEK.equals( wtype.getInternalName() ) ) { // Is the target already swarmed? if ( Entity.NONE != entityTarget.getSwarmAttackerId() ) { phaseReport.append( "succeds, but the defender is " ); phaseReport.append( "already swarmed by another unit.\n" ); } // Did the target get destroyed by weapons fire? else if ( entityTarget.isDoomed() || entityTarget.isDestroyed() || entityTarget.getCrew().isDead() ) { phaseReport.append( "succeds, but the defender was " ); phaseReport.append( "destroyed by weapons fire.\n" ); } else { phaseReport.append( "succeeds! Defender swarmed.\n" ); ae.setSwarmTargetId( wr.waa.getTargetId() ); entityTarget.setSwarmAttackerId( wr.waa.getEntityId() ); } return; } // Magnetic Mine Launchers roll number of hits on battle armor // hits table but use # mines firing instead of men shooting. else if ( wtype.getInternalName().equals(BattleArmor.MINE_LAUNCHER) ) { hits = nShots; if ( !bAllShotsHit ) { hits = Compute.getBattleArmorHits( hits ); } bSalvo = true; sSalvoType = " mine(s) "; } // Other battle armor attacks use # of men firing to determine hits. // Each hit can be in a new location. The damage per shot comes from // the "racksize". else if ( isBattleArmorAttack ) { bSalvo = true; platoon = (Infantry) ae; nCluster = 1; nDamPerHit = wtype.getRackSize(); hits = platoon.getShootingStrength(); // All attacks during Mek Swarms hit; all // others use the Battle Armor hits table. if ( !bAllShotsHit ) { hits = Compute.getBattleArmorHits( hits ); } // Handle Inferno SRM squads. if (bInferno) { nCluster = hits; nDamPerHit = 0; sSalvoType = " Inferno missle(s) "; bSalvo = false; } } // Infantry damage depends on # men left in platoon. else if (isWeaponInfantry) { bSalvo = true; platoon = (Infantry)ae; nCluster = 5; nDamPerHit = 1; hits = platoon.getDamage(platoon.getShootingStrength()); // Handle Inferno SRM infantry. if (bInferno) { nCluster = hits; nDamPerHit = 0; sSalvoType = " Inferno missle(s) "; bSalvo = false; } } else if (wtype.getDamage() == WeaponType.DAMAGE_MISSILE || wtype.hasFlag(WeaponType.F_MISSILE_HITS) ) { bSalvo = true; // Weapons with ammo type T_BA_MG or T_BA_SMALL_LASER // don't have an atype object. if ( wtype.getAmmoType() == AmmoType.T_BA_MG || wtype.getAmmoType() == AmmoType.T_BA_SMALL_LASER ) { nDamPerHit = Math.abs( wtype.getAmmoType() ); } else { sSalvoType = " missile(s) "; nDamPerHit = atype.getDamagePerShot(); } if ( wtype.getAmmoType() == AmmoType.T_LRM || wtype.getAmmoType() == AmmoType.T_MRM || wtype.getAmmoType() == AmmoType.T_ATM ) { nCluster = 5; } // calculate # of missiles hitting if ( wtype.getAmmoType() == AmmoType.T_LRM || wtype.getAmmoType() == AmmoType.T_SRM || wtype.getAmmoType() == AmmoType.T_ATM ) { // check for artemis, else check for narc Mounted mLinker = weapon.getLinkedBy(); if ( wtype.getAmmoType() == AmmoType.T_ATM || ( mLinker != null && mLinker.getType() instanceof MiscType && !mLinker.isDestroyed() && !mLinker.isMissing() && !mLinker.isBreached() && mLinker.getType().hasFlag(MiscType.F_ARTEMIS) ) ) { // check ECM interference if (!bCheckedECM) { // Attacking Meks using stealth suffer ECM effects. if ( ae instanceof Mech ) { bMekStealthActive = ae.isStealthActive(); } bECMAffected = Compute.isAffectedByECM(ae, ae.getPosition(), target.getPosition()); bCheckedECM = true; } // also no artemis for IDF if (!bECMAffected&& !bMekStealthActive && (!weapon.getType().hasModes() || !weapon.curMode().equals("Indirect"))) { nSalvoBonus += 2; } } else if (entityTarget != null && entityTarget.isNarcedBy(ae.getOwner().getTeam())) { // check ECM interference if (!bCheckedECM) { // Attacking Meks using stealth suffer ECM effects. if ( ae instanceof Mech ) { bMekStealthActive = ae.isStealthActive(); } bECMAffected = Compute.isAffectedByECM(ae, ae.getPosition(), target.getPosition()); bCheckedECM = true; } if (!bECMAffected && !bMekStealthActive) { nSalvoBonus += 2; } } } // If dealing with Inferno rounds set damage to zero and reset // all salvo bonuses (cannot mix with other special munitions). if (bInferno) { nDamPerHit = 0; nSalvoBonus = 0; sSalvoType = " inferno missile(s) "; bSalvo = false; } // Large MRM missile racks roll twice. // MRM missiles never recieve hit bonuses. if ( wtype.getRackSize() == 30 || wtype.getRackSize() == 40 ) { hits = Compute.missilesHit(wtype.getRackSize() / 2) + Compute.missilesHit(wtype.getRackSize() / 2); } // Battle Armor units multiply their racksize by the number // of men shooting and they can't get missile hit bonuses. else if ( ae instanceof BattleArmor ) { platoon = (Infantry) ae; int temp = wtype.getRackSize() * platoon.getShootingStrength(); // Do all shots hit? if ( bAllShotsHit ) { hits = temp; } else { // Account for more than 20 missles hitting. hits = 0; while ( temp > 20 ) { hits += Compute.missilesHit( 20 ); temp -= 20; } hits += Compute.missilesHit( temp ); } // End not-all-shots-hit } // If all shots hit, use the full racksize. else if ( bAllShotsHit ) { hits = wtype.getRackSize(); } // In all other circumstances, roll for hits. else { hits = Compute.missilesHit(wtype.getRackSize(), nSalvoBonus); } // Advanced SRM's only hit with even numbers of missles. if ( null != atype && atype.getAmmoType() == AmmoType.T_SRM_ADVANCED ) { hits = 2 * (int) Math.floor( (1.0 + (float) hits) / 2.0); } } else if (atype != null && atype.getMunitionType() == AmmoType.M_CLUSTER) { // Cluster shots break into single point clusters. bSalvo = true; hits = wtype.getRackSize(); if ( !bAllShotsHit ) { hits = Compute.missilesHit( hits ); } nDamPerHit = 1; } else if (nShots > 1) { // this should handle multiple attacks from ultra and rotary ACs bSalvo = true; hits = nShots; if ( !bAllShotsHit ) { hits = Compute.missilesHit( hits ); } } else if (wtype.getAmmoType() == AmmoType.T_GAUSS_HEAVY) { // HGR does range-dependent damage int nRange = ae.getPosition().distance(target.getPosition()); if (nRange <= wtype.getShortRange()) { nDamPerHit = 25; } else if (nRange <= wtype.getMediumRange()) { nDamPerHit = 20; } else { nDamPerHit = 10; } } // Some weapons double the number of hits scored. if ( wtype.hasFlag(WeaponType.F_DOUBLE_HITS) ) { hits *= 2; } // We've calculated how many hits. At this point, any missed // shots damage the building instead of the target. if ( bMissed ) { if ( targetInBuilding && bldg != null ) { // Reduce the number of hits by AMS hits. if (wr.amsShotDown > 0) { int shotDown = Math.min(wr.amsShotDown, hits); phaseReport.append("\tAMS shoots down ") .append(shotDown).append(" missile(s).\n"); hits -= wr.amsShotDown; } // Is the building hit by Inferno rounds? if ( bInferno && hits > 0 ) { // start a fire in the targets hex Coords c = target.getPosition(); Hex h = game.getBoard().getHex(c); // Is there a fire in the hex already? if ( h.contains( Terrain.FIRE ) ) { phaseReport.append( " " ) .append( hits ) .append( " Inferno rounds added to hex " ) .append( c.getBoardNum() ) .append( ".\n" ); } else { phaseReport.append( " " ) .append( hits ) .append( " Inferno rounds start fire in hex " ) .append( c.getBoardNum() ) .append( ".\n" ); h.addTerrain(new Terrain(Terrain.FIRE, 1)); } game.board.addInfernoTo ( c, InfernoTracker.STANDARD_ROUND, hits ); sendChangedHex(c); } // Damage the building in one big lump. else { // Only report if damage was done to the building. int toBldg = hits * nDamPerHit; if ( toBldg > 0 ) { phaseReport.append( " " ) .append( damageBuilding( bldg, toBldg ) ) .append( "\n" ); } } // End rounds-hit } // End missed-target-in-building return; } // End missed-target // The building shields all units from a certain amount of damage. // The amount is based upon the building's CF at the phase's start. int bldgAbsorbs = 0; if ( targetInBuilding && bldg != null ) { bldgAbsorbs = (int) Math.ceil( bldg.getPhaseCF() / 10.0 ); } // All attacks (except from infantry weapons) // during Mek Swarms hit the same location. if ( !isWeaponInfantry && ae.getSwarmTargetId() == wr.waa.getTargetId() ) { nCluster = hits; } // Battle Armor MGs do one die of damage per hit to PBI. if ( wtype.getAmmoType() == AmmoType.T_BA_MG && (target instanceof Infantry) && !(target instanceof BattleArmor) ) { // ASSUMPTION: Building walls protect infantry from BA MGs. if ( bldgAbsorbs > 0 ) { int toBldg = nDamPerHit * hits; phaseReport.append( hits ) .append( sSalvoType ) .append( "hit,\n but " ) .append( damageBuilding( bldg, Math.min( toBldg, bldgAbsorbs ), " absorbs the shots, taking " ) ) .append( "\n" ); return; } nDamPerHit = Compute.d6(hits); phaseReport.append( "riddles the target with " ).append( nDamPerHit ).append( sSalvoType ).append( "and " ); hits = 1; } // Mech and Vehicle MGs do *DICE* of damage to PBI. else if (atype != null && atype.hasFlag(AmmoType.F_MG) && !isWeaponInfantry && (target instanceof Infantry) && !(target instanceof BattleArmor) ) { int dice = wtype.getDamage(); // A building may absorb the entire shot. if ( nDamPerHit <= bldgAbsorbs ) { int toBldg = nDamPerHit * hits; int curCF = bldg.getCurrentCF(); curCF = Math.min( curCF, toBldg ); bldg.setCurrentCF( curCF ); if ( bSalvo ) { phaseReport.append( hits ) .append( sSalvoType ) .append( "hit,\n" ); } else{ phaseReport.append( "hits,\n" ); } phaseReport.append( " but " ) .append( damageBuilding( bldg, Math.min( toBldg, bldgAbsorbs ), " absorbs the shots, taking " ) ) .append( "\n" ); return; } // If a building absorbs partial damage, reduce the dice of damage. else if ( bldgAbsorbs > 0 ) { dice -= bldgAbsorbs; } nDamPerHit = Compute.d6( dice ); phaseReport.append( "riddles the target with " ).append( nDamPerHit ).append( sSalvoType ).append( ".\n" ); bSalvo = true; // If a building absorbed partial damage, report it now // instead of later and then clear the variable. if ( bldgAbsorbs > 0 ) { phaseReport.append( " " ) .append( damageBuilding( bldg, bldgAbsorbs ) ); bldgAbsorbs = 0; } } // Report the number of hits. Infernos have their own reporting else if (bSalvo && !bInferno) { phaseReport.append( hits ).append( sSalvoType ).append( "hit" ) .append( toHit.getTableDesc() ); if (bECMAffected) { phaseReport.append(" (ECM prevents bonus)"); } else if (bMekStealthActive) { phaseReport.append(" (active Stealth prevents bonus)"); } if (nSalvoBonus > 0) { phaseReport.append(" (w/ +") .append(nSalvoBonus) .append(" bonus)"); } phaseReport.append("."); if (wr.amsShotDown > 0) { int shotDown = Math.min(wr.amsShotDown, hits); phaseReport.append("\n\tAMS engages, firing ") .append(wr.amsShotDown).append(" shots, shooting down ") .append(shotDown).append(" missile(s)."); hits -= wr.amsShotDown; } } // convert the ATM missile damages to LRM type 5 point cluster damage // done here after AMS has been performed if (wtype.getAmmoType() == AmmoType.T_ATM) { hits = nDamPerHit * hits; nDamPerHit = 1; } // Make sure the player knows when his attack causes no damage. if ( hits == 0 ) { phaseReport.append( "attack deals zero damage.\n" ); } // for each cluster of hits, do a chunk of damage while (hits > 0) { int nDamage; // If the attack was with inferno rounds then // do heat and fire instead of damage. if ( bInferno ) { // AMS can shoot down infernos, too. if (wr.amsShotDown > 0) { int shotDown = Math.min(wr.amsShotDown, hits); phaseReport.append("\n\tAMS engages, firing ") .append(wr.amsShotDown).append(" shots, shooting down ") .append(shotDown).append(" missile(s)."); hits -= wr.amsShotDown; if ( hits <= 0 ) { continue; } } // targeting a hex for ignition if( target.getTargetType() == Targetable.TYPE_HEX_IGNITE || target.getTargetType() == Targetable.TYPE_BLDG_IGNITE ) { phaseReport.append( "hits with " ) .append( hits ) .append( " inferno missles.\n" ); // Unless there a fire in the hex already, start one. Coords c = target.getPosition(); Hex h = game.getBoard().getHex(c); if ( !h.contains( Terrain.FIRE ) ) { phaseReport.append( " Fire started in hex " ) .append( c.getBoardNum() ) .append( ".\n" ); h.addTerrain(new Terrain(Terrain.FIRE, 1)); } game.board.addInfernoTo ( c, InfernoTracker.STANDARD_ROUND, hits ); sendChangedHex(c); return; } // Targeting an entity if (entityTarget != null ) { entityTarget.infernos.add( InfernoTracker.STANDARD_ROUND, hits ); phaseReport.append( "hits with " ) .append( hits ) .append( " inferno missles." ); phaseReport.append("\n " ) .append( target.getDisplayName() ) .append( " now on fire for ") .append( entityTarget.infernos.getTurnsLeftToBurn() ) .append(" turns.\n"); // start a fire in the targets hex Coords c = target.getPosition(); Hex h = game.getBoard().getHex(c); // Unless there a fire in the hex already, start one. if ( !h.contains( Terrain.FIRE ) ) { phaseReport.append( " Fire started in hex " ) .append( c.getBoardNum() ) .append( ".\n" ); h.addTerrain(new Terrain(Terrain.FIRE, 1)); } game.board.addInfernoTo ( c, InfernoTracker.STANDARD_ROUND, hits ); sendChangedHex(c); return; } } // End is-inferno // targeting a hex for igniting if( target.getTargetType() == Targetable.TYPE_HEX_IGNITE || target.getTargetType() == Targetable.TYPE_BLDG_IGNITE ) { if ( !bSalvo ) { phaseReport.append("hits!"); } // We handle Inferno rounds above. int tn = wtype.getFireTN(); if (tn != TargetRoll.IMPOSSIBLE) { if ( bldg != null ) { tn += bldg.getType() - 1; } phaseReport.append( "\n" ); tryIgniteHex( target.getPosition(), bInferno, tn ); } return; } // targeting a hex for clearing if (target.getTargetType() == Targetable.TYPE_HEX_CLEAR) { nDamage = nDamPerHit * hits; if ( !bSalvo ) { phaseReport.append("hits!"); } if (ae instanceof Infantry) { phaseReport.append("\n But infantry cannot try to clear hexes!\n"); return; } phaseReport.append(" Terrain takes " ).append( nDamage ).append( " damage.\n"); // Any clear attempt can result in accidental ignition, even // weapons that can't normally start fires. that's weird. // Buildings can't be accidentally ignited. if ( bldg != null && tryIgniteHex(target.getPosition(), bInferno, 9) ) { return; } int tn = 14 - nDamage; tryClearHex(target.getPosition(), tn); return; } // Targeting a building. if ( target.getTargetType() == Targetable.TYPE_BUILDING ) { // The building takes the full brunt of the attack. nDamage = nDamPerHit * hits; if ( !bSalvo ) { phaseReport.append( "hits." ); } phaseReport.append( "\n " ) .append( damageBuilding( bldg, nDamage ) ) .append( "\n" ); // Damage any infantry in the hex. this.damageInfantryIn( bldg, nDamage ); // And we're done! return; } // Battle Armor squads equipped with fire protection // gear automatically avoid flaming death. if ( wtype.hasFlag(WeaponType.F_FLAMER) && target instanceof BattleArmor ) { for ( Enumeration iter = entityTarget.getMisc(); iter.hasMoreElements(); ) { Mounted mount = (Mounted) iter.nextElement(); EquipmentType equip = mount.getType(); if ( BattleArmor.FIRE_PROTECTION.equals (equip.getInternalName()) ) { if ( !bSalvo ) { phaseReport.append( "hits." ); } phaseReport.append( "\n However, " ) .append(target.getDisplayName() ) .append( " has fire protection gear so no damage is done.\n" ); // A building may be damaged, even if the squad is not. if ( bldgAbsorbs > 0 ) { int toBldg = nDamPerHit * Math.min( bldgAbsorbs, hits ); phaseReport.append( " " ) .append( damageBuilding( bldg, toBldg ) ) .append( "\n" ); } return; } } } // End target-may-be-immune // Flamers do heat to mechs instead damage if the option is // available and the mode is set. if ( entityTarget != null && (entityTarget instanceof Mech) && wtype.hasFlag(WeaponType.F_FLAMER) && game.getOptions().booleanOption("flamer_heat") && wtype.hasModes() && weapon.curMode().equals("Heat") ) { nDamage = nDamPerHit * hits; if ( !bSalvo ) { phaseReport.append( "hits." ); } phaseReport.append("\n Target gains ").append(nDamage).append(" more heat during heat phase."); entityTarget.heatBuildup += nDamage; hits = 0; } else if (entityTarget != null) { HitData hit = entityTarget.rollHitLocation(toHit.getHitTable(), toHit.getSideTable(), wr.waa.getAimedLocation(), wr.waa.getAimingMode()); // If a leg attacks hit a leg that isn't // there, then hit the other leg. if ( wtype.getInternalName().equals("LegAttack") && entityTarget.getInternal(hit) <= 0 ) { if ( hit.getLocation() == Mech.LOC_RLEG ) { hit = new HitData( Mech.LOC_LLEG ); } else { hit = new HitData( Mech.LOC_RLEG ); } } // Mine Launchers automatically hit the // CT of a Mech or the front of a Tank. if ( wtype.getInternalName() .equals(BattleArmor.MINE_LAUNCHER) ) { if ( target instanceof Mech ) { hit = new HitData( Mech.LOC_CT ); } else { // te instanceof Tank hit = new HitData( Tank.LOC_FRONT ); } } // Each hit in the salvo get's its own hit location. if (!bSalvo) { phaseReport.append("hits" ).append( toHit.getTableDesc() ).append( " " ). append( entityTarget.getLocationAbbr(hit)); if (hit.hitAimedLocation()) { phaseReport.append("(hit aimed location)"); } } // Special weapons do criticals instead of damage. if ( nDamPerHit == WeaponType.DAMAGE_SPECIAL ) { // Do criticals. String specialDamage = criticalEntity( entityTarget, hit.getLocation() ); // Replace "no effect" results with 4 points of damage. if ( specialDamage.endsWith(" no effect.") ) { // ASSUMPTION: buildings CAN'T absorb *this* damage. specialDamage = damageEntity(entityTarget, hit, 4); } else { specialDamage = "\n" + specialDamage; } // Report the result phaseReport.append( specialDamage ); } else { // Resolve damage normally. nDamage = nDamPerHit * Math.min(nCluster, hits); // A building may be damaged, even if the squad is not. if ( bldgAbsorbs > 0 ) { int toBldg = Math.min( bldgAbsorbs, nDamage ); nDamage -= toBldg; phaseReport.append( "\n " ) .append( damageBuilding( bldg, toBldg ) ); } // A building may absorb the entire shot. if ( nDamage == 0 ) { phaseReport.append( "\n " ) .append( entityTarget.getDisplayName() ) .append( " suffers no damage." ); } else { phaseReport.append ( damageEntity(entityTarget, hit, nDamage) ); } } hits -= nCluster; } } // Handle the next cluster. phaseReport.append("\n"); }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/685502166ef521925ffaeb8cac62deaba0306935/Server.java/buggy/megamek/src/megamek/server/Server.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2245, 3218, 28629, 3075, 484, 12, 3218, 28629, 1253, 12408, 16, 509, 1142, 18029, 13, 288, 3639, 727, 3887, 14221, 273, 7920, 18, 588, 1943, 12, 91, 86, 18, 91, 7598, 18, 588, 18029, 10663, 3639, 727, 5916, 429, 1018, 273, 7920, 18, 588, 2326, 12, 91, 86, 18, 91, 7598, 18, 588, 2326, 559, 9334, 12408, 18, 91, 7598, 18, 588, 2326, 548, 10663, 3639, 3887, 1522, 2326, 273, 446, 31, 3639, 309, 261, 3299, 18, 588, 2326, 559, 1435, 422, 5916, 429, 18, 2399, 67, 11101, 13, 288, 5411, 1522, 2326, 273, 261, 1943, 13, 3299, 31, 3639, 289, 3639, 727, 13076, 329, 732, 28629, 273, 14221, 18, 588, 13142, 11568, 12, 91, 86, 18, 91, 7598, 18, 588, 3218, 28629, 548, 10663, 3639, 727, 1660, 28629, 559, 341, 723, 273, 261, 3218, 28629, 559, 13, 1814, 28629, 18, 588, 559, 5621, 3639, 727, 1250, 353, 3218, 28629, 13149, 304, 698, 273, 341, 723, 18, 5332, 4678, 12, 3218, 28629, 559, 18, 42, 67, 19212, 1258, 17805, 1769, 3639, 368, 4044, 22, 17, 5908, 17, 2313, 13648, 304, 698, 732, 438, 7008, 1240, 640, 21325, 2125, 8683, 18, 3639, 727, 1250, 4692, 37, 7020, 83, 273, 341, 723, 18, 588, 37, 7020, 83, 559, 1435, 480, 3986, 8683, 559, 18, 56, 67, 11277, 597, 5411, 341, 723, 18, 588, 37, 7020, 83, 559, 1435, 480, 3986, 8683, 559, 18, 56, 67, 12536, 67, 49, 43, 597, 5411, 341, 723, 18, 588, 37, 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, 2245, 3218, 28629, 3075, 484, 12, 3218, 28629, 1253, 12408, 16, 509, 1142, 18029, 13, 288, 3639, 727, 3887, 14221, 273, 7920, 18, 588, 1943, 12, 91, 86, 18, 91, 7598, 18, 588, 18029, 10663, 3639, 727, 5916, 429, 1018, 273, 7920, 18, 588, 2326, 12, 91, 86, 18, 91, 7598, 18, 588, 2326, 559, 9334, 12408, 18, 91, 7598, 18, 588, 2326, 548, 10663, 3639, 3887, 1522, 2326, 273, 446, 31, 3639, 309, 261, 3299, 18, 588, 2326, 559, 1435, 422, 5916, 429, 18, 2399, 67, 11101, 13, 288, 5411, 1522, 2326, 273, 261, 1943, 13, 3299, 31, 3639, 289, 3639, 727, 13076, 329, 732, 28629, 273, 14221, 18, 588, 13142, 11568, 12, 91, 86, 2 ]
IASTName a1 = ((IASTSimpleDeclaration)((IASTCompositeTypeSpecifier)S_decl.getDeclSpecifier()).getMembers()[0]).getDeclarators()[0].getName(); IASTName b1 = ((IASTSimpleDeclaration)((IASTCompositeTypeSpecifier)S_decl.getDeclSpecifier()).getMembers()[1]).getDeclarators()[0].getName(); IASTName a2 = ((ICASTFieldDesignator)((ICASTDesignatedInitializer)((IASTInitializerList)S_decl.getDeclarators()[0].getInitializer()).getInitializers()[0]).getDesignators()[0]).getName(); IASTName b2 = ((ICASTFieldDesignator)((ICASTDesignatedInitializer)((IASTInitializerList)S_decl.getDeclarators()[0].getInitializer()).getInitializers()[1]).getDesignators()[0]).getName(); assertEquals( a1.resolveBinding(), a2.resolveBinding() ); assertEquals( b1.resolveBinding(), b2.resolveBinding() ); IASTName[] decls = tu.getDeclarations(a1.resolveBinding()); assertEquals( decls.length, 1 ); assertEquals( a1, decls[0] ); decls = tu.getDeclarations(b1.resolveBinding()); assertEquals( decls.length, 1 ); assertEquals( b1, decls[0] ); }
IASTSimpleDeclaration S_decl = (IASTSimpleDeclaration) tu .getDeclarations()[0]; IASTName a1 = ((IASTSimpleDeclaration) ((IASTCompositeTypeSpecifier) S_decl .getDeclSpecifier()).getMembers()[0]).getDeclarators()[0].getName(); IASTName b1 = ((IASTSimpleDeclaration) ((IASTCompositeTypeSpecifier) S_decl .getDeclSpecifier()).getMembers()[1]).getDeclarators()[0].getName(); IASTName a2 = ((ICASTFieldDesignator) ((ICASTDesignatedInitializer) ((IASTInitializerList) S_decl .getDeclarators()[0].getInitializer()).getInitializers()[0]) .getDesignators()[0]).getName(); IASTName b2 = ((ICASTFieldDesignator) ((ICASTDesignatedInitializer) ((IASTInitializerList) S_decl .getDeclarators()[0].getInitializer()).getInitializers()[1]) .getDesignators()[0]).getName(); assertEquals(a1.resolveBinding(), a2.resolveBinding()); assertEquals(b1.resolveBinding(), b2.resolveBinding()); IASTName[] decls = tu.getDeclarations(a1.resolveBinding()); assertEquals(decls.length, 1); assertEquals(a1, decls[0]); decls = tu.getDeclarations(b1.resolveBinding()); assertEquals(decls.length, 1); assertEquals(b1, decls[0]); }
public void testMoreGetDeclarations2() throws Exception { StringBuffer buffer = new StringBuffer(); //$NON-NLS-1$ buffer.append( " struct S { \n" ); //$NON-NLS-1$ buffer.append( " int a; \n" ); //$NON-NLS-1$ buffer.append( " int b; \n" ); //$NON-NLS-1$ buffer.append( "} s = {.a=1,.b=2};\n" ); //$NON-NLS-1$ IASTTranslationUnit tu = parse( buffer.toString(), ParserLanguage.C ); IASTSimpleDeclaration S_decl = (IASTSimpleDeclaration)tu.getDeclarations()[0]; IASTName a1 = ((IASTSimpleDeclaration)((IASTCompositeTypeSpecifier)S_decl.getDeclSpecifier()).getMembers()[0]).getDeclarators()[0].getName(); IASTName b1 = ((IASTSimpleDeclaration)((IASTCompositeTypeSpecifier)S_decl.getDeclSpecifier()).getMembers()[1]).getDeclarators()[0].getName(); IASTName a2 = ((ICASTFieldDesignator)((ICASTDesignatedInitializer)((IASTInitializerList)S_decl.getDeclarators()[0].getInitializer()).getInitializers()[0]).getDesignators()[0]).getName(); IASTName b2 = ((ICASTFieldDesignator)((ICASTDesignatedInitializer)((IASTInitializerList)S_decl.getDeclarators()[0].getInitializer()).getInitializers()[1]).getDesignators()[0]).getName(); assertEquals( a1.resolveBinding(), a2.resolveBinding() ); assertEquals( b1.resolveBinding(), b2.resolveBinding() ); IASTName[] decls = tu.getDeclarations(a1.resolveBinding()); assertEquals( decls.length, 1 ); assertEquals( a1, decls[0] ); decls = tu.getDeclarations(b1.resolveBinding()); assertEquals( decls.length, 1 ); assertEquals( b1, decls[0] ); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/a1776b31512ed659229f125097f603f16a18be82/AST2Tests.java/buggy/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 7417, 967, 21408, 22, 1435, 1216, 1185, 288, 3639, 6674, 1613, 273, 394, 6674, 5621, 4329, 3993, 17, 5106, 17, 21, 8, 565, 202, 202, 4106, 18, 6923, 12, 315, 1958, 348, 288, 521, 82, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 565, 202, 202, 4106, 18, 6923, 12, 315, 509, 279, 31, 521, 82, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 565, 202, 202, 4106, 18, 6923, 12, 315, 509, 324, 31, 521, 82, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 565, 202, 202, 4106, 18, 6923, 12, 27342, 272, 273, 288, 18, 69, 33, 21, 29257, 70, 33, 22, 97, 9747, 82, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 565, 202, 202, 45, 9053, 6717, 2802, 28325, 273, 1109, 12, 1613, 18, 10492, 9334, 6783, 3779, 18, 39, 11272, 377, 202, 565, 202, 202, 45, 9053, 5784, 6094, 348, 67, 8840, 273, 261, 45, 9053, 5784, 6094, 13, 88, 89, 18, 588, 21408, 1435, 63, 20, 15533, 565, 202, 202, 45, 9053, 461, 279, 21, 273, 14015, 45, 9053, 5784, 6094, 13, 12443, 45, 9053, 9400, 559, 21416, 13, 55, 67, 8840, 18, 588, 3456, 21416, 1435, 2934, 588, 6918, 1435, 63, 20, 65, 2934, 588, 3456, 297, 3062, 1435, 63, 20, 8009, 17994, 5621, 565, 202, 202, 45, 9053, 461, 324, 21, 273, 14015, 45, 9053, 5784, 6094, 13, 12443, 45, 9053, 9400, 559, 21416, 13, 55, 67, 8840, 18, 588, 3456, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 7417, 967, 21408, 22, 1435, 1216, 1185, 288, 3639, 6674, 1613, 273, 394, 6674, 5621, 4329, 3993, 17, 5106, 17, 21, 8, 565, 202, 202, 4106, 18, 6923, 12, 315, 1958, 348, 288, 521, 82, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 565, 202, 202, 4106, 18, 6923, 12, 315, 509, 279, 31, 521, 82, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 565, 202, 202, 4106, 18, 6923, 12, 315, 509, 324, 31, 521, 82, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 565, 202, 202, 4106, 18, 6923, 12, 27342, 272, 273, 288, 18, 69, 33, 21, 29257, 70, 33, 22, 97, 9747, 82, 6, 11272, 4329, 3993, 17, 2 ]