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
String textFileurl = "http:
String textFileurl = "http:
public void testStartAxisService() throws Exception { String textFileurl = "http://localhost:"+AxisGeronimoConstants.AXIS_SERVICE_PORT+"/axis/index.html"; ClassLoader cl = getClass().getClassLoader(); ClassLoader myCl = new URLClassLoader(new URL[0], cl); GBeanMBean gbean = new GBeanMBean(AxisGbean.getGBeanInfo(), myCl); gbean.setAttribute("Name", "Test"); kernel.loadGBean(name, gbean); kernel.startGBean(name); System.out.println(kernel.getMBeanServer().getAttribute(name, "state"));// System.out.println(// kernel.getMBeanServer().invoke(name, "echo",// new Object[]{"Hello"},// new String[]{String.class.getName()})); HttpURLConnection connection = (HttpURLConnection) new URL(textFileurl).openConnection(); BufferedReader reader = new BufferedReader( new InputStreamReader(connection.getInputStream())); connection.getResponseCode(); String line = reader.readLine(); while (line != null) { System.out.println(line); line = reader.readLine(); } connection.disconnect(); kernel.stopGBean(name); kernel.unloadGBean(name); }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/4401da3a5d72745c0e7ce94cf16880a0102161df/AxisGBeanTest.java/buggy/modules/axis/src/test/org/apache/geronimo/axis/AxisGBeanTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1685, 6558, 1179, 1435, 1216, 1185, 288, 3639, 514, 977, 812, 718, 273, 315, 2505, 2207, 13014, 2773, 15, 6558, 43, 264, 265, 381, 83, 2918, 18, 25614, 67, 12426, 67, 6354, 9078, 19, 4890, 19, 1615, 18, 2620, 14432, 3639, 9403, 927, 273, 2900, 7675, 588, 7805, 5621, 3639, 9403, 3399, 2009, 273, 394, 1976, 7805, 12, 2704, 1976, 63, 20, 6487, 927, 1769, 3639, 611, 3381, 18089, 314, 14496, 273, 394, 611, 3381, 18089, 12, 6558, 43, 14496, 18, 588, 43, 3381, 966, 9334, 3399, 2009, 1769, 3639, 314, 14496, 18, 542, 1499, 2932, 461, 3113, 315, 4709, 8863, 3639, 5536, 18, 945, 43, 3381, 12, 529, 16, 314, 14496, 1769, 3639, 5536, 18, 1937, 43, 3381, 12, 529, 1769, 3639, 2332, 18, 659, 18, 8222, 12, 8111, 18, 588, 18089, 2081, 7675, 588, 1499, 12, 529, 16, 315, 2019, 7923, 1769, 759, 3639, 2332, 18, 659, 18, 8222, 12, 759, 7734, 5536, 18, 588, 18089, 2081, 7675, 14407, 12, 529, 16, 315, 12946, 3113, 759, 13491, 394, 1033, 63, 7073, 6, 18601, 6, 5779, 759, 13491, 394, 514, 63, 7073, 780, 18, 1106, 18, 17994, 1435, 6792, 1769, 3639, 19084, 1459, 273, 261, 2940, 14790, 13, 394, 1976, 12, 955, 812, 718, 2934, 3190, 1952, 5621, 3639, 10633, 2949, 273, 394, 10633, 12, 7734, 394, 15322, 12, 4071, 18, 588, 4348, 1435, 10019, 3639, 1459, 18, 588, 1064, 1085, 5621, 3639, 514, 980, 273, 2949, 18, 896, 1670, 5621, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1685, 6558, 1179, 1435, 1216, 1185, 288, 3639, 514, 977, 812, 718, 273, 315, 2505, 2207, 13014, 2773, 15, 6558, 43, 264, 265, 381, 83, 2918, 18, 25614, 67, 12426, 67, 6354, 9078, 19, 4890, 19, 1615, 18, 2620, 14432, 3639, 9403, 927, 273, 2900, 7675, 588, 7805, 5621, 3639, 9403, 3399, 2009, 273, 394, 1976, 7805, 12, 2704, 1976, 63, 20, 6487, 927, 1769, 3639, 611, 3381, 18089, 314, 14496, 273, 394, 611, 3381, 18089, 12, 6558, 43, 14496, 18, 588, 43, 3381, 966, 9334, 3399, 2009, 1769, 3639, 314, 14496, 18, 542, 1499, 2932, 461, 3113, 315, 4709, 8863, 3639, 5536, 18, 945, 43, 3381, 12, 529, 16, 314, 14496, 1769, 3639, 5536, 2 ]
public TA_RetCode PLUS_DM( int startIdx, int endIdx, double inHigh[], double inLow[], int optInTimePeriod, MInteger outBegIdx, MInteger outNbElement, double outReal[] ){ int today, lookbackTotal, outIdx; double prevHigh, prevLow, tempReal; double prevPlusDM; double diffP, diffM; int i; if( startIdx < 0 ) return TA_RetCode. TA_OUT_OF_RANGE_START_INDEX; if( (endIdx < 0) || (endIdx < startIdx)) return TA_RetCode. TA_OUT_OF_RANGE_END_INDEX; if( (int)optInTimePeriod == ( Integer.MIN_VALUE ) ) optInTimePeriod = 14; else if( ((int)optInTimePeriod < 1) || ((int)optInTimePeriod > 100000) ) return TA_RetCode. TA_BAD_PARAM; if( optInTimePeriod > 1 ) lookbackTotal = optInTimePeriod + (this.unstablePeriod[TA_FuncUnstId.TA_FUNC_UNST_PLUS_DM.ordinal()]) - 1; else lookbackTotal = 1; if( startIdx < lookbackTotal ) startIdx = lookbackTotal; if( startIdx > endIdx ) { outBegIdx.value = 0 ; outNbElement.value = 0 ; return TA_RetCode. TA_SUCCESS; } outIdx = 0; if( optInTimePeriod <= 1 ) { outBegIdx.value = startIdx; today = startIdx-1; prevHigh = inHigh[today]; prevLow = inLow[today]; while( today < endIdx ) { today++; tempReal = inHigh[today]; diffP = tempReal-prevHigh; prevHigh = tempReal; tempReal = inLow[today]; diffM = prevLow-tempReal; prevLow = tempReal; if( (diffP > 0) && (diffP > diffM) ) { outReal[outIdx++] = diffP; } else outReal[outIdx++] = 0; } outNbElement.value = outIdx; return TA_RetCode. TA_SUCCESS; } outBegIdx.value = startIdx; prevPlusDM = 0.0; today = startIdx - lookbackTotal; prevHigh = inHigh[today]; prevLow = inLow[today]; i = optInTimePeriod-1; while( i-- > 0 ) { today++; tempReal = inHigh[today]; diffP = tempReal-prevHigh; prevHigh = tempReal; tempReal = inLow[today]; diffM = prevLow-tempReal; prevLow = tempReal; if( (diffP > 0) && (diffP > diffM) ) { prevPlusDM += diffP; } } i = (this.unstablePeriod[TA_FuncUnstId.TA_FUNC_UNST_PLUS_DM.ordinal()]) ; while( i-- != 0 ) { today++; tempReal = inHigh[today]; diffP = tempReal-prevHigh; prevHigh = tempReal; tempReal = inLow[today]; diffM = prevLow-tempReal; prevLow = tempReal; if( (diffP > 0) && (diffP > diffM) ) { prevPlusDM = prevPlusDM - (prevPlusDM/optInTimePeriod) + diffP; } else { prevPlusDM = prevPlusDM - (prevPlusDM/optInTimePeriod); } } outReal[0] = prevPlusDM; outIdx = 1; while( today < endIdx ) { today++; tempReal = inHigh[today]; diffP = tempReal-prevHigh; prevHigh = tempReal; tempReal = inLow[today]; diffM = prevLow-tempReal; prevLow = tempReal; if( (diffP > 0) && (diffP > diffM) ) { prevPlusDM = prevPlusDM - (prevPlusDM/optInTimePeriod) + diffP; } else { prevPlusDM = prevPlusDM - (prevPlusDM/optInTimePeriod); } outReal[outIdx++] = prevPlusDM; } outNbElement.value = outIdx; return TA_RetCode. TA_SUCCESS;}
7231 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7231/1bccb7a13486c61b10e8ebdf0c938797539a3f3d/Core.java/clean/ta-lib/java/src/TA/Lib/Core.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 9833, 67, 7055, 1085, 6253, 3378, 67, 16125, 12, 474, 1937, 4223, 16, 474, 409, 4223, 16, 9056, 267, 8573, 63, 6487, 9056, 267, 10520, 63, 6487, 474, 3838, 382, 26540, 16, 49, 4522, 659, 24059, 4223, 16, 49, 4522, 659, 22816, 1046, 16, 9056, 659, 6955, 63, 5717, 95, 474, 30064, 16, 7330, 823, 5269, 16, 659, 4223, 31, 9056, 10001, 8573, 16, 10001, 10520, 16, 5814, 6955, 31, 9056, 10001, 13207, 16125, 31, 9056, 5413, 52, 16, 5413, 49, 31, 474, 77, 31, 430, 12, 1937, 4223, 32, 20, 13, 2463, 9833, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 7570, 67, 9199, 31, 430, 12443, 409, 4223, 32, 20, 14047, 96, 12, 409, 4223, 32, 1937, 4223, 3719, 2463, 9833, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 4415, 67, 9199, 31, 430, 12443, 474, 13, 3838, 382, 26540, 631, 12, 4522, 18, 6236, 67, 4051, 3719, 3838, 382, 26540, 33, 3461, 31, 12107, 430, 12443, 12, 474, 13, 3838, 382, 26540, 32, 21, 14047, 96, 12443, 474, 13, 3838, 382, 26540, 34, 21, 11706, 3719, 2463, 9833, 67, 7055, 1085, 18, 9833, 67, 16234, 67, 8388, 31, 430, 12, 3838, 382, 26540, 34, 21, 13, 7330, 823, 5269, 33, 3838, 382, 26540, 15, 12, 2211, 18, 318, 15021, 5027, 63, 9833, 67, 2622, 984, 334, 548, 18, 9833, 67, 42, 21163, 67, 2124, 882, 67, 6253, 3378, 67, 16125, 18, 517, 1490, 1435, 5717, 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, 9833, 67, 7055, 1085, 6253, 3378, 67, 16125, 12, 474, 1937, 4223, 16, 474, 409, 4223, 16, 9056, 267, 8573, 63, 6487, 9056, 267, 10520, 63, 6487, 474, 3838, 382, 26540, 16, 49, 4522, 659, 24059, 4223, 16, 49, 4522, 659, 22816, 1046, 16, 9056, 659, 6955, 63, 5717, 95, 474, 30064, 16, 7330, 823, 5269, 16, 659, 4223, 31, 9056, 10001, 8573, 16, 10001, 10520, 16, 5814, 6955, 31, 9056, 10001, 13207, 16125, 31, 9056, 5413, 52, 16, 5413, 49, 31, 474, 77, 31, 430, 12, 1937, 4223, 32, 20, 13, 2463, 9833, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 7570, 67, 9199, 31, 430, 12443, 409, 4223, 32, 20, 14047, 96, 2 ]
final public void aload_3() {
public void aload_3() {
final public void aload_3() { if (DEBUG) System.out.println(position + "\t\taload_3"); //$NON-NLS-1$ countLabels = 0; stackDepth++; if (stackDepth > stackMax) stackMax = stackDepth; if (maxLocals <= 3) { maxLocals = 4; } if (classFileOffset >= bCodeStream.length) { resizeByteArray(); } position++; bCodeStream[classFileOffset++] = OPC_aload_3;}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/5a485cb39d1ee33622141cf426fac71c4bf93ded/CodeStream.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 727, 1071, 918, 279, 945, 67, 23, 1435, 288, 202, 430, 261, 9394, 13, 2332, 18, 659, 18, 8222, 12, 3276, 397, 1548, 88, 64, 88, 287, 6189, 67, 23, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 1883, 5888, 273, 374, 31, 202, 3772, 6148, 9904, 31, 202, 430, 261, 3772, 6148, 405, 2110, 2747, 13, 202, 202, 3772, 2747, 273, 2110, 6148, 31, 202, 430, 261, 1896, 1333, 1031, 1648, 890, 13, 288, 202, 202, 1896, 1333, 1031, 273, 1059, 31, 202, 97, 202, 430, 261, 1106, 812, 2335, 1545, 324, 1085, 1228, 18, 2469, 13, 288, 202, 202, 15169, 8826, 5621, 202, 97, 202, 3276, 9904, 31, 202, 70, 1085, 1228, 63, 1106, 812, 2335, 9904, 65, 273, 531, 3513, 67, 287, 6189, 67, 23, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 727, 1071, 918, 279, 945, 67, 23, 1435, 288, 202, 430, 261, 9394, 13, 2332, 18, 659, 18, 8222, 12, 3276, 397, 1548, 88, 64, 88, 287, 6189, 67, 23, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 1883, 5888, 273, 374, 31, 202, 3772, 6148, 9904, 31, 202, 430, 261, 3772, 6148, 405, 2110, 2747, 13, 202, 202, 3772, 2747, 273, 2110, 6148, 31, 202, 430, 261, 1896, 1333, 1031, 1648, 890, 13, 288, 202, 202, 1896, 1333, 1031, 273, 1059, 31, 202, 97, 202, 430, 261, 1106, 812, 2335, 1545, 324, 1085, 1228, 18, 2469, 13, 288, 202, 202, 15169, 8826, 5621, 202, 97, 202, 3276, 9904, 31, 202, 70, 1085, 1228, 63, 1106, 812, 2335, 2 ]
Node flipNode = new FlipNode(cond2(node.getBeginNode()/*, logop*/), cond2(node.getEndNode()/*, logop*/), exclusive);
Node flipNode = new FlipNode(cond2(node.getBeginNode()), cond2(node.getEndNode()), exclusive);
private Node cond0(Node node /*, int logop*/) { int type = node.getType(); // enum node_type assign_in_cond(node); // DOT => FLIP boolean exclusive = true; switch (type) { /*case Constants.NODE_DSTR : case Constants.NODE_STR : if (logop != 0) { break; } rb_warn("string literal in condition"); break;*/ case Constants.NODE_DREGX : case Constants.NODE_DREGX_ONCE : // warning_unless_e_option("regex literal in condition"); getLocalIndex("_"); getLocalIndex("~"); return nf.newMatch2(node, nf.newGVar("$_")); case Constants.NODE_DOT2 : exclusive = false; case Constants.NODE_DOT3 : Node flipNode = new FlipNode(cond2(node.getBeginNode()/*, logop*/), cond2(node.getEndNode()/*, logop*/), exclusive); flipNode.setCount(registerLocal(null)); // warning_unless_e_option("range literal in condition"); return flipNode; case Constants.NODE_LIT : if (node.getLiteral() instanceof RubyRegexp) { getLocalIndex("_"); getLocalIndex("~"); return nf.newMatch(node); } else if (node.getLiteral() instanceof RubyString) { getLocalIndex("_"); getLocalIndex("~"); return nf.newMatch(nf.newLit(RubyRegexp.newRegexp(ruby, (RubyString)node.getLiteral(), 0))); } default: return node; } }
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/d31a76ee29d5978a9bec41e3ac9134cee024bcab/ParserHelper.java/buggy/org/jruby/parser/ParserHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 2029, 6941, 20, 12, 907, 756, 1748, 16, 509, 613, 556, 5549, 13, 288, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 368, 2792, 756, 67, 723, 3639, 2683, 67, 267, 67, 10013, 12, 2159, 1769, 7734, 368, 15772, 516, 478, 2053, 52, 3639, 1250, 12060, 273, 638, 31, 3639, 1620, 261, 723, 13, 288, 5411, 1748, 3593, 5245, 18, 8744, 67, 40, 3902, 294, 5411, 648, 5245, 18, 8744, 67, 3902, 294, 7734, 309, 261, 1330, 556, 480, 374, 13, 288, 10792, 898, 31, 7734, 289, 7734, 7138, 67, 8935, 2932, 1080, 7158, 316, 2269, 8863, 7734, 898, 31, 5549, 5411, 648, 5245, 18, 8744, 67, 40, 5937, 60, 294, 5411, 648, 5245, 18, 8744, 67, 40, 5937, 60, 67, 673, 1441, 294, 7734, 368, 3436, 67, 28502, 67, 73, 67, 3482, 2932, 7584, 7158, 316, 2269, 8863, 7734, 6993, 1016, 2932, 67, 8863, 7734, 6993, 1016, 2932, 98, 8863, 7734, 327, 13958, 18, 2704, 2060, 22, 12, 2159, 16, 13958, 18, 2704, 43, 1537, 2932, 8, 67, 7923, 1769, 5411, 648, 5245, 18, 8744, 67, 17591, 22, 294, 2398, 202, 23792, 273, 629, 31, 5411, 648, 5245, 18, 8744, 67, 17591, 23, 294, 2398, 202, 907, 9668, 907, 273, 394, 478, 3169, 907, 12, 10013, 22, 12, 2159, 18, 588, 8149, 907, 1435, 3631, 6941, 22, 12, 2159, 18, 588, 1638, 907, 1435, 3631, 12060, 1769, 2398, 202, 2398, 202, 12357, 907, 18, 542, 1380, 12, 4861, 2042, 12, 2011, 10019, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 2029, 6941, 20, 12, 907, 756, 1748, 16, 509, 613, 556, 5549, 13, 288, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 368, 2792, 756, 67, 723, 3639, 2683, 67, 267, 67, 10013, 12, 2159, 1769, 7734, 368, 15772, 516, 478, 2053, 52, 3639, 1250, 12060, 273, 638, 31, 3639, 1620, 261, 723, 13, 288, 5411, 1748, 3593, 5245, 18, 8744, 67, 40, 3902, 294, 5411, 648, 5245, 18, 8744, 67, 3902, 294, 7734, 309, 261, 1330, 556, 480, 374, 13, 288, 10792, 898, 31, 7734, 289, 7734, 7138, 67, 8935, 2932, 1080, 7158, 316, 2269, 8863, 7734, 898, 31, 5549, 5411, 648, 5245, 18, 8744, 67, 40, 5937, 60, 294, 5411, 648, 5245, 18, 8744, 2 ]
.add(altitudeTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 77, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.add(altitudeTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 80, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
private void initComponents() { convertCoordinatesGroup = new javax.swing.ButtonGroup(); jScrollPane8 = new javax.swing.JScrollPane(); topPanel = new javax.swing.JPanel(); basicPanel = new javax.swing.JPanel(); jPanel5 = new javax.swing.JPanel(); quadrantLabel = new javax.swing.JLabel(); countryLabel = new javax.swing.JLabel(); territoryNameLabel = new javax.swing.JLabel(); phytNameLabel = new javax.swing.JLabel(); territoryNameCombo = new AutoComboBoxNG3(true); phytNameCombo = new AutoComboBoxNG3(true); phytCountryCombo = new AutoComboBoxNG3(false); quadrantTextField = new javax.swing.JTextField(); townLabel = new javax.swing.JLabel(); //items = new Object[] {"Praha", "Brno", "Turnov", "Trebic"}; townComboBox = new AutoComboBoxNG3(true); jScrollPane2 = new javax.swing.JScrollPane(); descriptionArea = new javax.swing.JTextArea(); placeDescriptionLabel = new javax.swing.JLabel(); gpsPanel = new javax.swing.JPanel(); altitudeLabel = new javax.swing.JLabel(); latitudeLabel = new javax.swing.JLabel(); longitudeLabel = new javax.swing.JLabel(); altitudeTextField = new javax.swing.JTextField(); latitudeTextField = new javax.swing.JTextField(); longitudeTextField = new javax.swing.JTextField(); gpsLoadButton = new javax.swing.JButton(); gpsShowButton = new javax.swing.JButton(); gpsSymbolTextField = new javax.swing.JTextField(); gpsSymbolLabel = new javax.swing.JLabel(); gpsTableLabel = new javax.swing.JLabel(); coordinateSystemLabel = new javax.swing.JLabel(); gpsChangeButton = new javax.swing.JButton(); locationNoteLabel = new javax.swing.JLabel(); jScrollPane4 = new javax.swing.JScrollPane(); locationNoteArea = new javax.swing.JTextArea(); clearLocationButton = new javax.swing.JButton(); jPanel7 = new javax.swing.JPanel(); jScrollPane3 = new javax.swing.JScrollPane(); taxonTextArea = new AutoTextArea(this); taxonLabel = new javax.swing.JLabel(); jPanel4 = new javax.swing.JPanel(); monthLabel = new javax.swing.JLabel(); dayLabel = new javax.swing.JLabel(); monthChooser = new com.toedter.calendar.JMonthChooser(); timeLabel = new javax.swing.JLabel(); timeTextField = new javax.swing.JTextField(); dayTextField = new javax.swing.JTextField(); yearLabel = new javax.swing.JLabel(); yearSpinner = new javax.swing.JSpinner(); calendarButton = new javax.swing.JButton(); sourceCombo = new AutoComboBoxNG3(false); sourceLabel = new javax.swing.JLabel(); publicationLabel = new javax.swing.JLabel(); publicationCombo = new AutoComboBoxNG3(true); herbariumTextField = new javax.swing.JTextField(); herbariumLabel = new javax.swing.JLabel(); projectLabel = new javax.swing.JLabel(); projectCombo = new AutoComboBoxNG3(true); checklistButton = new javax.swing.JButton(); jScrollPane5 = new javax.swing.JScrollPane(); occurrenceNoteArea = new javax.swing.JTextArea(); jScrollPane1 = new javax.swing.JScrollPane(); authorTable = new javax.swing.JTable(); occurrenceNoteLabel = new javax.swing.JLabel(); clearOccurrenceButton = new javax.swing.JButton(); buttonPanel = new javax.swing.JPanel(); cancelButton = new javax.swing.JButton(); okButton = new javax.swing.JButton(); helpButton = new javax.swing.JButton(); settingsButton = new javax.swing.JButton(); requiredInfoLabel = new javax.swing.JLabel(); extendedPanel = new javax.swing.JPanel(); jScrollPane6 = new javax.swing.JScrollPane(); occurrenceTable = new javax.swing.JTable(); setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE); jScrollPane8.setPreferredSize(new java.awt.Dimension(920, 685)); topPanel.setLayout(new java.awt.BorderLayout()); topPanel.setMinimumSize(new java.awt.Dimension(700, 100)); topPanel.setPreferredSize(new java.awt.Dimension(920, 680)); basicPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, L10n.getString("AddEdit.BasicData"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 12))); basicPanel.setMinimumSize(new java.awt.Dimension(600, 0)); basicPanel.setPreferredSize(new java.awt.Dimension(900, 520)); jPanel5.setBorder(javax.swing.BorderFactory.createTitledBorder(null, L10n.getString("AddEdit.LocationPanel"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 12))); jPanel5.setPreferredSize(new java.awt.Dimension(914, 500)); quadrantLabel.setText("Quadrant:"); countryLabel.setText("Country:"); territoryNameLabel.setText("Territory name:"); phytNameLabel.setText("Phytochoria name:"); territoryNameCombo.setActionCommand("territoryNameCombo"); phytNameCombo.setActionCommand("phytNameCombo"); phytCountryCombo.setActionCommand("phytCountryCombo"); phytCountryCombo.insertItemAt(model.EMPTY_STRING,0); quadrantTextField.setActionCommand("quadrantTextField"); townLabel.setText("Nearest bigger seat:"); townComboBox.setActionCommand("townComboBox"); descriptionArea.setColumns(20); descriptionArea.setRows(5); descriptionArea.setLineWrap(true); descriptionArea.setWrapStyleWord(true); new TabTransfersFocus(descriptionArea); jScrollPane2.setViewportView(descriptionArea); placeDescriptionLabel.setText("Place description:"); gpsPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, L10n.getString("AddEdit.GPSPanel"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 10))); altitudeLabel.setText("Altitude:"); latitudeLabel.setText("Latitude:"); longitudeLabel.setText("Longitude:"); altitudeTextField.setNextFocusableComponent(latitudeTextField); latitudeTextField.setNextFocusableComponent(longitudeTextField); gpsLoadButton.setText("Load"); gpsShowButton.setText("Show"); gpsSymbolLabel.setText("Symbol:"); gpsTableLabel.setText("GPS table:"); coordinateSystemLabel.setText("Coordinate system:"); gpsChangeButton.setText("Change"); org.jdesktop.layout.GroupLayout gpsPanelLayout = new org.jdesktop.layout.GroupLayout(gpsPanel); gpsPanel.setLayout(gpsPanelLayout); gpsPanelLayout.setHorizontalGroup( gpsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(gpsPanelLayout.createSequentialGroup() .addContainerGap() .add(gpsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(gpsLoadButton) .add(gpsShowButton)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(gpsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(gpsPanelLayout.createSequentialGroup() .add(gpsSymbolLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(gpsSymbolTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 77, Short.MAX_VALUE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(latitudeLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)) .add(gpsPanelLayout.createSequentialGroup() .add(gpsTableLabel) .add(155, 155, 155))) .add(gpsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false) .add(gpsPanelLayout.createSequentialGroup() .add(latitudeTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 60, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(longitudeLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(longitudeTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 60, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(altitudeLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(altitudeTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 77, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(gpsPanelLayout.createSequentialGroup() .add(coordinateSystemLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(gpsChangeButton))) .addContainerGap()) ); gpsPanelLayout.linkSize(new java.awt.Component[] {gpsChangeButton, gpsLoadButton, gpsShowButton}, org.jdesktop.layout.GroupLayout.HORIZONTAL); gpsPanelLayout.linkSize(new java.awt.Component[] {altitudeTextField, gpsSymbolTextField, latitudeTextField, longitudeTextField}, org.jdesktop.layout.GroupLayout.HORIZONTAL); gpsPanelLayout.setVerticalGroup( gpsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(gpsPanelLayout.createSequentialGroup() .add(gpsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(gpsLoadButton) .add(gpsSymbolLabel) .add(gpsSymbolTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(latitudeLabel) .add(latitudeTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(longitudeLabel) .add(longitudeTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(altitudeLabel) .add(altitudeTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(gpsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(gpsShowButton) .add(gpsTableLabel) .add(gpsChangeButton) .add(coordinateSystemLabel))) ); gpsPanelLayout.linkSize(new java.awt.Component[] {gpsLoadButton, gpsShowButton}, org.jdesktop.layout.GroupLayout.VERTICAL); locationNoteLabel.setText("Location note:"); locationNoteArea.setColumns(20); locationNoteArea.setRows(5); locationNoteArea.setLineWrap(true); locationNoteArea.setWrapStyleWord(true); new TabTransfersFocus(locationNoteArea); jScrollPane4.setViewportView(locationNoteArea); clearLocationButton.setText("Vyma\u017e"); org.jdesktop.layout.GroupLayout jPanel5Layout = new org.jdesktop.layout.GroupLayout(jPanel5); jPanel5.setLayout(jPanel5Layout); jPanel5Layout.setHorizontalGroup( jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel5Layout.createSequentialGroup() .add(7, 7, 7) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel5Layout.createSequentialGroup() .add(7, 7, 7) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(territoryNameLabel) .add(quadrantLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false) .add(org.jdesktop.layout.GroupLayout.LEADING, quadrantTextField) .add(org.jdesktop.layout.GroupLayout.LEADING, territoryNameCombo, 0, 145, Short.MAX_VALUE)) .add(12, 12, 12) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(org.jdesktop.layout.GroupLayout.TRAILING, phytNameLabel) .add(org.jdesktop.layout.GroupLayout.TRAILING, countryLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false) .add(phytCountryCombo, 0, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(phytNameCombo, 0, 133, Short.MAX_VALUE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(townLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(townComboBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 150, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(jPanel5Layout.createSequentialGroup() .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel5Layout.createSequentialGroup() .add(gpsPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(clearLocationButton)) .add(jPanel5Layout.createSequentialGroup() .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel5Layout.createSequentialGroup() .add(placeDescriptionLabel) .add(434, 434, 434)) .add(jPanel5Layout.createSequentialGroup() .add(jScrollPane2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 536, Short.MAX_VALUE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED))) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(locationNoteLabel) .add(jScrollPane4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 286, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED))) .add(69, 69, 69)) ); jPanel5Layout.linkSize(new java.awt.Component[] {quadrantTextField, territoryNameCombo}, org.jdesktop.layout.GroupLayout.HORIZONTAL); jPanel5Layout.setVerticalGroup( jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel5Layout.createSequentialGroup() .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel5Layout.createSequentialGroup() .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(territoryNameLabel) .add(territoryNameCombo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(phytNameLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(quadrantLabel) .add(quadrantTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(countryLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(placeDescriptionLabel) .add(locationNoteLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)) .add(jPanel5Layout.createSequentialGroup() .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(phytNameCombo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(townLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 16, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(townComboBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 24, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(phytCountryCombo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED))) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jScrollPane4, 0, 0, Short.MAX_VALUE) .add(jScrollPane2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 54, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(gpsPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(clearLocationButton)) .addContainerGap()) ); jPanel7.setBorder(javax.swing.BorderFactory.createTitledBorder("Occurrence")); jPanel7.setPreferredSize(new java.awt.Dimension(914, 300)); taxonTextArea.setColumns(20); taxonTextArea.setRows(5); taxonTextArea.setAutoscrolls(false); jScrollPane3.setViewportView(taxonTextArea); taxonLabel.setText("Taxon:"); jPanel4.setBorder(javax.swing.BorderFactory.createTitledBorder(null, L10n.getString("AddEdit.TimePanel"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 12))); monthLabel.setText("Month:"); dayLabel.setText("Day:"); ((JComboBox)monthChooser.getComboBox()).addItem(""); monthChooser.setLocale(L10n.getCurrentLocale()); timeLabel.setText("Time:"); timeTextField.setNextFocusableComponent(okButton); yearLabel.setText("Year:"); yearSpinner.setValue(2006); ((SpinnerNumberModel)yearSpinner.getModel()).setMinimum(1); calendarButton.setText("Calendar"); org.jdesktop.layout.GroupLayout jPanel4Layout = new org.jdesktop.layout.GroupLayout(jPanel4); jPanel4.setLayout(jPanel4Layout); jPanel4Layout.setHorizontalGroup( jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel4Layout.createSequentialGroup() .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel4Layout.createSequentialGroup() .add(19, 19, 19) .add(dayLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(dayTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 45, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(jPanel4Layout.createSequentialGroup() .addContainerGap() .add(timeLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(timeTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 45, Short.MAX_VALUE))) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(jPanel4Layout.createSequentialGroup() .add(monthLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(monthChooser, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(yearLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(yearSpinner, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 73, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(calendarButton)) .addContainerGap()) ); jPanel4Layout.linkSize(new java.awt.Component[] {dayTextField, timeTextField}, org.jdesktop.layout.GroupLayout.HORIZONTAL); jPanel4Layout.setVerticalGroup( jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel4Layout.createSequentialGroup() .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel4Layout.createSequentialGroup() .add(1, 1, 1) .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(monthLabel) .add(dayLabel) .add(dayTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(6, 6, 6) .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(timeLabel) .add(timeTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))) .add(jPanel4Layout.createSequentialGroup() .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(yearSpinner, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(yearLabel)) .add(monthChooser, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(calendarButton))) .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ); sourceCombo.setActionCommand("sourceCombo"); sourceCombo.insertItemAt(model.EMPTY_STRING,0); sourceLabel.setText("Source:"); publicationLabel.setText("Publication:"); publicationCombo.setActionCommand("publicationCombo"); publicationCombo.insertItemAt(model.EMPTY_PAIR,0); herbariumTextField.setActionCommand("herbariumTextField"); herbariumLabel.setText("Herbarium:"); projectLabel.setText("Project:"); projectCombo.setActionCommand("projectCombo"); checklistButton.setText("Checklist"); occurrenceNoteArea.setColumns(20); occurrenceNoteArea.setRows(5); occurrenceNoteArea.setLineWrap(true); occurrenceNoteArea.setWrapStyleWord(true); new TabTransfersFocus(occurrenceNoteArea); jScrollPane5.setViewportView(occurrenceNoteArea); authorTable.setModel(new javax.swing.table.DefaultTableModel( new Object [][] { {null, null, null, null}, {null, null, null, null}, {null, null, null, null}, {null, null, null, null} }, new String [] { "Title 1", "Title 2", "Title 3", "Title 4" } )); jScrollPane1.setViewportView(authorTable); occurrenceNoteLabel.setText("Occurrence note:"); clearOccurrenceButton.setText("Vyma\u017e"); org.jdesktop.layout.GroupLayout jPanel7Layout = new org.jdesktop.layout.GroupLayout(jPanel7); jPanel7.setLayout(jPanel7Layout); jPanel7Layout.setHorizontalGroup( jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel7Layout.createSequentialGroup() .addContainerGap() .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel7Layout.createSequentialGroup() .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(taxonLabel) .add(jScrollPane3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel7Layout.createSequentialGroup() .add(checklistButton) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 232, Short.MAX_VALUE) .add(clearOccurrenceButton)) .add(jPanel4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))) .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 645, Short.MAX_VALUE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel7Layout.createSequentialGroup() .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(sourceLabel) .add(projectLabel) .add(publicationLabel) .add(herbariumLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(herbariumTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 132, Short.MAX_VALUE) .add(publicationCombo, 0, 132, Short.MAX_VALUE) .add(projectCombo, 0, 132, Short.MAX_VALUE) .add(jPanel7Layout.createSequentialGroup() .add(sourceCombo, 0, 132, Short.MAX_VALUE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED))) .add(19, 19, 19)) .add(jPanel7Layout.createSequentialGroup() .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(occurrenceNoteLabel) .add(jScrollPane5, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addContainerGap()))) ); jPanel7Layout.linkSize(new java.awt.Component[] {checklistButton, clearOccurrenceButton}, org.jdesktop.layout.GroupLayout.HORIZONTAL); jPanel7Layout.setVerticalGroup( jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel7Layout.createSequentialGroup() .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(jPanel7Layout.createSequentialGroup() .add(occurrenceNoteLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jScrollPane5, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(jPanel7Layout.createSequentialGroup() .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(jPanel7Layout.createSequentialGroup() .add(jPanel4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(checklistButton) .add(clearOccurrenceButton))) .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false) .add(jPanel7Layout.createSequentialGroup() .add(taxonLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jScrollPane3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 111, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(org.jdesktop.layout.GroupLayout.LEADING, jPanel7Layout.createSequentialGroup() .addContainerGap() .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(sourceLabel) .add(sourceCombo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(publicationLabel) .add(publicationCombo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(projectLabel) .add(projectCombo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(herbariumLabel) .add(herbariumTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)))) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 82, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))) .addContainerGap()) ); org.jdesktop.layout.GroupLayout basicPanelLayout = new org.jdesktop.layout.GroupLayout(basicPanel); basicPanel.setLayout(basicPanelLayout); basicPanelLayout.setHorizontalGroup( basicPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(basicPanelLayout.createSequentialGroup() .addContainerGap() .add(basicPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel7, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(jPanel5, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ); basicPanelLayout.setVerticalGroup( basicPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(basicPanelLayout.createSequentialGroup() .add(jPanel5, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 240, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel7, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 248, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(103, 103, 103)) ); topPanel.add(basicPanel, java.awt.BorderLayout.NORTH); buttonPanel.setPreferredSize(new java.awt.Dimension(800, 50)); cancelButton.setText("Cancel"); okButton.setText("Ok"); helpButton.setText("Help"); helpButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { helpButtonActionPerformed(evt); } }); settingsButton.setText("Nastaven\u00ed"); requiredInfoLabel.setText("requiredInfoLabel"); org.jdesktop.layout.GroupLayout buttonPanelLayout = new org.jdesktop.layout.GroupLayout(buttonPanel); buttonPanel.setLayout(buttonPanelLayout); buttonPanelLayout.setHorizontalGroup( buttonPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(buttonPanelLayout.createSequentialGroup() .addContainerGap() .add(helpButton) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(settingsButton) .add(64, 64, 64) .add(requiredInfoLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 350, Short.MAX_VALUE) .add(okButton) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(cancelButton) .addContainerGap()) ); buttonPanelLayout.linkSize(new java.awt.Component[] {cancelButton, helpButton, okButton, settingsButton}, org.jdesktop.layout.GroupLayout.HORIZONTAL); buttonPanelLayout.setVerticalGroup( buttonPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(buttonPanelLayout.createSequentialGroup() .addContainerGap() .add(buttonPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(helpButton) .add(settingsButton) .add(cancelButton) .add(okButton) .add(requiredInfoLabel)) .addContainerGap(13, Short.MAX_VALUE)) ); buttonPanelLayout.linkSize(new java.awt.Component[] {cancelButton, helpButton, okButton}, org.jdesktop.layout.GroupLayout.VERTICAL); topPanel.add(buttonPanel, java.awt.BorderLayout.SOUTH); extendedPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, L10n.getString("AddEdit.ExtendedData"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 12))); extendedPanel.setMinimumSize(new java.awt.Dimension(800, 50)); extendedPanel.setPreferredSize(new java.awt.Dimension(800, 50)); occurrenceTable.setModel(new javax.swing.table.DefaultTableModel( new Object [][] { {"Pampeliska", "Vysockij", "1.1.1900"}, {"Metropolis", "Fritz Lang", "3.7.1927"}, {null, null, null} }, new String [] { "Taxon", "Autor", "Datum" } ) { Class[] types = new Class [] { java.lang.String.class, java.lang.String.class, java.lang.String.class }; boolean[] canEdit = new boolean [] { false, false, false }; public Class getColumnClass(int columnIndex) { return types [columnIndex]; } public boolean isCellEditable(int rowIndex, int columnIndex) { return canEdit [columnIndex]; } }); jScrollPane6.setViewportView(occurrenceTable); org.jdesktop.layout.GroupLayout extendedPanelLayout = new org.jdesktop.layout.GroupLayout(extendedPanel); extendedPanel.setLayout(extendedPanelLayout); extendedPanelLayout.setHorizontalGroup( extendedPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(extendedPanelLayout.createSequentialGroup() .addContainerGap() .add(jScrollPane6, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 906, Short.MAX_VALUE) .addContainerGap()) ); extendedPanelLayout.setVerticalGroup( extendedPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(extendedPanelLayout.createSequentialGroup() .add(jScrollPane6, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 83, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ); topPanel.add(extendedPanel, java.awt.BorderLayout.CENTER); jScrollPane8.setViewportView(topPanel); org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane()); getContentPane().setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jScrollPane8, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 943, Short.MAX_VALUE) ); layout.setVerticalGroup( layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jScrollPane8, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) ); pack(); }// </editor-fold>//GEN-END:initComponents
57211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57211/217f3c586baef657b5a77791a0fd109664d10668/AddEditView.java/clean/trunk/src/net/sf/plantlore/client/overview/AddEditView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 7171, 1435, 288, 3639, 1765, 13431, 1114, 273, 394, 6863, 18, 5328, 310, 18, 3616, 1114, 5621, 3639, 525, 26360, 28, 273, 394, 6863, 18, 5328, 310, 18, 46, 26360, 5621, 3639, 1760, 5537, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 5621, 3639, 5337, 5537, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 5621, 3639, 17871, 25, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 5621, 3639, 9474, 6890, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 5251, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 268, 25313, 461, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 1844, 93, 88, 461, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 268, 25313, 461, 16156, 273, 394, 8064, 22199, 4960, 23, 12, 3767, 1769, 3639, 1844, 93, 88, 461, 16156, 273, 394, 8064, 22199, 4960, 23, 12, 3767, 1769, 3639, 1844, 93, 88, 8142, 16156, 273, 394, 8064, 22199, 4960, 23, 12, 5743, 1769, 3639, 9474, 6890, 16157, 273, 394, 6863, 18, 5328, 310, 18, 46, 16157, 5621, 3639, 358, 91, 82, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 368, 3319, 273, 394, 1033, 8526, 12528, 52, 354, 3395, 3113, 315, 19114, 2135, 3113, 315, 15858, 1527, 3113, 315, 56, 266, 70, 335, 6, 20451, 3639, 358, 91, 82, 22199, 273, 394, 8064, 22199, 4960, 23, 12, 3767, 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, 3238, 918, 1208, 7171, 1435, 288, 3639, 1765, 13431, 1114, 273, 394, 6863, 18, 5328, 310, 18, 3616, 1114, 5621, 3639, 525, 26360, 28, 273, 394, 6863, 18, 5328, 310, 18, 46, 26360, 5621, 3639, 1760, 5537, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 5621, 3639, 5337, 5537, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 5621, 3639, 17871, 25, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 5621, 3639, 9474, 6890, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 5251, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 268, 25313, 461, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 1844, 93, 2 ]
int exif = TiffTools.getIFDIntValue(ifds[0], EXIF_IFD_POINTER);
int exif = TiffTools.getIFDIntValue(original, EXIF_IFD_POINTER);
protected void initStandardMetadata() { super.initStandardMetadata(); // look for the TIFF_EPS_STANDARD tag // it should contain version information short[] version = (short[]) TiffTools.getIFDValue(ifds[0], TIFF_EPS_STANDARD); String v = ""; for (int i=0; i<version.length; i++) v += version[i]; metadata.put("Version", v); littleEndian = true; try { littleEndian = TiffTools.isLittleEndian(ifds[0]); } catch (FormatException f) { } // now look for the EXIF IFD pointer try { int exif = TiffTools.getIFDIntValue(ifds[0], EXIF_IFD_POINTER); if (exif != -1) { in.order(littleEndian); // CTR: is this really necessary? Hashtable exifIFD = TiffTools.getIFD(in, 0, 0, exif); // put all the EXIF data in the metadata hashtable if (exifIFD != null) { Enumeration e = exifIFD.keys(); Integer key; while (e.hasMoreElements()) { key = (Integer) e.nextElement(); int tag = key.intValue(); metadata.put(getTagName(tag), exifIFD.get(key)); } } } } catch (IOException io) { } // read the maker note try { in.order(littleEndian); // CTR: is this really necessary? Hashtable makerNote = TiffTools.getIFD(in, 0, 0, makerNoteOffset); if (makerNote != null) { Enumeration e = makerNote.keys(); Integer key; while (e.hasMoreElements()) { key = (Integer) e.nextElement(); int tag = key.intValue(); metadata.put(getTagName(tag), makerNote.get(key)); } } } catch (Exception io) { } }
46826 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46826/5b05047b4a2a5f612e26a58a0893646e35b355c0/NikonReader.java/clean/loci/formats/in/NikonReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 8336, 2277, 1435, 288, 565, 2240, 18, 2738, 8336, 2277, 5621, 565, 368, 2324, 364, 326, 27491, 67, 41, 5857, 67, 882, 18264, 1047, 565, 368, 518, 1410, 912, 1177, 1779, 565, 3025, 8526, 1177, 273, 261, 6620, 63, 5717, 1377, 399, 3048, 10348, 18, 588, 5501, 40, 620, 12, 430, 2377, 63, 20, 6487, 27491, 67, 41, 5857, 67, 882, 18264, 1769, 565, 514, 331, 273, 1408, 31, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 1589, 18, 2469, 31, 277, 27245, 331, 1011, 1177, 63, 77, 15533, 565, 1982, 18, 458, 2932, 1444, 3113, 331, 1769, 565, 328, 10609, 273, 638, 31, 565, 775, 288, 1377, 328, 10609, 273, 399, 3048, 10348, 18, 291, 48, 10609, 12, 430, 2377, 63, 20, 19226, 565, 289, 565, 1044, 261, 9291, 284, 13, 288, 289, 565, 368, 2037, 2324, 364, 326, 5675, 5501, 11083, 40, 4407, 565, 775, 288, 1377, 509, 20257, 273, 399, 3048, 10348, 18, 588, 5501, 40, 1702, 620, 12, 8830, 16, 5675, 5501, 67, 5501, 40, 67, 2419, 9125, 1769, 1377, 309, 261, 338, 430, 480, 300, 21, 13, 288, 3639, 316, 18, 1019, 12, 80, 10609, 1769, 368, 31568, 30, 353, 333, 8654, 4573, 35, 3639, 18559, 20257, 5501, 40, 273, 399, 3048, 10348, 18, 588, 5501, 40, 12, 267, 16, 374, 16, 374, 16, 20257, 1769, 3639, 368, 1378, 777, 326, 5675, 5501, 501, 316, 326, 1982, 711, 14544, 3639, 309, 261, 338, 430, 5501, 40, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 8336, 2277, 1435, 288, 565, 2240, 18, 2738, 8336, 2277, 5621, 565, 368, 2324, 364, 326, 27491, 67, 41, 5857, 67, 882, 18264, 1047, 565, 368, 518, 1410, 912, 1177, 1779, 565, 3025, 8526, 1177, 273, 261, 6620, 63, 5717, 1377, 399, 3048, 10348, 18, 588, 5501, 40, 620, 12, 430, 2377, 63, 20, 6487, 27491, 67, 41, 5857, 67, 882, 18264, 1769, 565, 514, 331, 273, 1408, 31, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 1589, 18, 2469, 31, 277, 27245, 331, 1011, 1177, 63, 77, 15533, 565, 1982, 18, 458, 2932, 1444, 3113, 331, 1769, 565, 328, 10609, 273, 638, 31, 565, 775, 288, 1377, 328, 10609, 273, 399, 3048, 2 ]
sampleSizeInBytes = getSphinxProperties().getInt
sampleSizeInBytes = properties.getInt
public void setProperties(SphinxProperties props) { sampleRate = props.getInt(FrontEnd.PROP_SAMPLE_RATE, FrontEnd.PROP_SAMPLE_RATE_DEFAULT); closeAudioBetweenUtterances = props.getBoolean(PROP_CLOSE_AUDIO_BETWEEN_UTTERANCES, PROP_CLOSE_AUDIO_BETWEEN_UTTERANCES_DEFAULT); SphinxProperties properties = getSphinxProperties(); frameSizeInBytes = properties.getInt (FrontEnd.PROP_BYTES_PER_AUDIO_FRAME, FrontEnd.PROP_BYTES_PER_AUDIO_FRAME_DEFAULT); if (frameSizeInBytes % 2 == 1) { frameSizeInBytes++; } sampleSizeInBytes = getSphinxProperties().getInt (FrontEnd.PROP_BITS_PER_SAMPLE, FrontEnd.PROP_BITS_PER_SAMPLE_DEFAULT) / 8; keepAudioReference = getSphinxProperties().getBoolean (FrontEnd.PROP_KEEP_AUDIO_REFERENCE, FrontEnd.PROP_KEEP_AUDIO_REFERENCE_DEFAULT); sleepBetweenAudio = getSphinxProperties().getBoolean (PROP_SLEEP_BETWEEN_AUDIO, PROP_SLEEP_BETWEEN_AUDIO_DEFAULT); if (sleepBetweenAudio) { sleepTime = getSleepTime(); } }
8350 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8350/a66b4e6ebccc080127ef1b8f31c62b631e70ce9b/Microphone.java/buggy/edu/cmu/sphinx/frontend/util/Microphone.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 23126, 12, 55, 15922, 2297, 3458, 13, 288, 3639, 27505, 273, 3458, 18, 588, 1702, 12, 9580, 1638, 18, 15811, 67, 55, 21373, 67, 24062, 16, 21394, 16465, 1638, 18, 15811, 67, 55, 21373, 67, 24062, 67, 5280, 1769, 202, 4412, 12719, 11831, 57, 88, 387, 6872, 273, 202, 565, 3458, 18, 588, 5507, 12, 15811, 67, 13384, 67, 14237, 2565, 51, 67, 38, 19311, 67, 57, 11976, 4722, 55, 16, 11794, 16258, 67, 13384, 67, 14237, 2565, 51, 67, 38, 19311, 67, 57, 11976, 4722, 55, 67, 5280, 1769, 3639, 348, 15922, 2297, 1790, 273, 1322, 15922, 2297, 5621, 3639, 2623, 1225, 16144, 273, 1790, 18, 588, 1702, 5411, 261, 9580, 1638, 18, 15811, 67, 13718, 67, 3194, 67, 14237, 2565, 51, 67, 15072, 16, 2398, 16465, 1638, 18, 15811, 67, 13718, 67, 3194, 67, 14237, 2565, 51, 67, 15072, 67, 5280, 1769, 3639, 309, 261, 3789, 1225, 16144, 738, 576, 422, 404, 13, 288, 5411, 2623, 1225, 16144, 9904, 31, 3639, 289, 3639, 3296, 1225, 16144, 273, 1790, 18, 588, 1702, 5411, 261, 9580, 1638, 18, 15811, 67, 25171, 67, 3194, 67, 55, 21373, 16, 2868, 16465, 1638, 18, 15811, 67, 25171, 67, 3194, 67, 55, 21373, 67, 5280, 13, 342, 1725, 31, 3639, 3455, 12719, 2404, 273, 1322, 15922, 2297, 7675, 588, 5507, 5411, 261, 9580, 1638, 18, 15811, 67, 6859, 10541, 67, 14237, 2565, 51, 67, 14617, 16, 2398, 16465, 1638, 18, 15811, 67, 6859, 10541, 67, 14237, 2565, 51, 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, 23126, 12, 55, 15922, 2297, 3458, 13, 288, 3639, 27505, 273, 3458, 18, 588, 1702, 12, 9580, 1638, 18, 15811, 67, 55, 21373, 67, 24062, 16, 21394, 16465, 1638, 18, 15811, 67, 55, 21373, 67, 24062, 67, 5280, 1769, 202, 4412, 12719, 11831, 57, 88, 387, 6872, 273, 202, 565, 3458, 18, 588, 5507, 12, 15811, 67, 13384, 67, 14237, 2565, 51, 67, 38, 19311, 67, 57, 11976, 4722, 55, 16, 11794, 16258, 67, 13384, 67, 14237, 2565, 51, 67, 38, 19311, 67, 57, 11976, 4722, 55, 67, 5280, 1769, 3639, 348, 15922, 2297, 1790, 273, 1322, 15922, 2297, 5621, 3639, 2623, 1225, 16144, 273, 1790, 18, 588, 1702, 5411, 261, 9580, 1638, 18, 15811, 67, 2 ]
}
}
public void internalWorked(double work) { if (!progressIndicator.isDisposed()) { progressIndicator.worked(work); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/18d6e658dfbeda87524388388c4d4c049701f36f/ProgressMonitorDialog.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/ProgressMonitorDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 2713, 2421, 329, 12, 9056, 1440, 13, 288, 5411, 309, 16051, 8298, 13140, 18, 291, 1669, 7423, 10756, 288, 9506, 202, 8298, 13140, 18, 1252, 329, 12, 1252, 1769, 1082, 202, 97, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 2713, 2421, 329, 12, 9056, 1440, 13, 288, 5411, 309, 16051, 8298, 13140, 18, 291, 1669, 7423, 10756, 288, 9506, 202, 8298, 13140, 18, 1252, 329, 12, 1252, 1769, 1082, 202, 97, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
collector = new BugzillaResultCollector();
collector = new BugzillaSearchResultCollector(TasksUiPlugin.getTaskListManager().getTaskList());
private BugzillaResultCollector searchUnqualified(String repositoryUrl, IProgressMonitor monitor) { // create a new collector for the results collector = new BugzillaResultCollector(); collector.setOperation(this); collector.setProgressMonitor(monitor); // get the search url String url = Util.getInexactSearchURL(repositoryUrl, javaElement); TaskRepository repository = TasksUiPlugin.getRepositoryManager().getRepository( BugzillaCorePlugin.REPOSITORY_KIND, repositoryUrl); return search(url, repository, collector, monitor); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/8a5cc10d3de6a3f3ce3842e0248504054ac47e89/BugzillaMylarSearchOperation.java/buggy/sandbox/org.eclipse.mylyn.sandbox.ui/src/org/eclipse/mylyn/internal/sandbox/bridge/bugs/BugzillaMylarSearchOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 16907, 15990, 1253, 7134, 1623, 984, 19724, 12, 780, 3352, 1489, 16, 467, 5491, 7187, 6438, 13, 288, 202, 202, 759, 752, 279, 394, 8543, 364, 326, 1686, 202, 202, 21356, 273, 394, 16907, 15990, 1253, 7134, 5621, 202, 202, 21356, 18, 542, 2988, 12, 2211, 1769, 202, 202, 21356, 18, 542, 5491, 7187, 12, 10259, 1769, 202, 202, 759, 336, 326, 1623, 880, 202, 202, 780, 880, 273, 3564, 18, 588, 382, 17165, 2979, 1785, 12, 9071, 1489, 16, 2252, 1046, 1769, 202, 202, 2174, 3305, 3352, 273, 20350, 13943, 3773, 18, 588, 3305, 1318, 7675, 588, 3305, 12, 9506, 202, 19865, 15990, 4670, 3773, 18, 862, 30986, 67, 47, 2356, 16, 3352, 1489, 1769, 202, 202, 2463, 1623, 12, 718, 16, 3352, 16, 8543, 16, 6438, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 16907, 15990, 1253, 7134, 1623, 984, 19724, 12, 780, 3352, 1489, 16, 467, 5491, 7187, 6438, 13, 288, 202, 202, 759, 752, 279, 394, 8543, 364, 326, 1686, 202, 202, 21356, 273, 394, 16907, 15990, 1253, 7134, 5621, 202, 202, 21356, 18, 542, 2988, 12, 2211, 1769, 202, 202, 21356, 18, 542, 5491, 7187, 12, 10259, 1769, 202, 202, 759, 336, 326, 1623, 880, 202, 202, 780, 880, 273, 3564, 18, 588, 382, 17165, 2979, 1785, 12, 9071, 1489, 16, 2252, 1046, 1769, 202, 202, 2174, 3305, 3352, 273, 20350, 13943, 3773, 18, 588, 3305, 1318, 7675, 588, 3305, 12, 9506, 202, 19865, 15990, 4670, 3773, 18, 862, 30986, 67, 47, 2356, 16, 3352, 1489, 1769, 2 ]
break; case SYBDATETIMN: if( bufLength == 8 ) dispSize = precision = 23; else dispSize = 3 + (precision = 16); break; case SYBDECIMAL: case SYBNUMERIC: dispSize = (bufLength==scale ? 3 : 2) + precision; break; case SYBFLT8:
break; case SYBDECIMAL: case SYBNUMERIC: dispSize = (bufLength == scale ? 3 : 2) + precision; break; case SYBFLT8: dispSize = 9 + (precision = 15); break; case SYBREAL: dispSize = 7 + (precision = 7); break; case SYBFLTN: if (bufLength == 8)
private void populateColumn(Column col, int columnType, String columnName, int dispSize, int bufLength, boolean nullable, boolean autoIncrement, boolean writable, boolean caseSensitive, String tableName, int precision, int scale) { if( columnName != null ) { col.setName(columnName); col.setLabel(columnName); } col.setType(columnType); col.setBufferSize(bufLength); col.setNullable(nullable ? ResultSetMetaData.columnNullable : ResultSetMetaData.columnNoNulls); col.setAutoIncrement(autoIncrement); col.setReadOnly(!writable); col.setCaseSensitive(caseSensitive); // Set table name (and catalog and schema, if available) if( tableName != null ) { int pos = tableName.lastIndexOf('.'); col.setTableName(tableName.substring(pos+1)); pos = pos==-1 ? 0 : pos; tableName = tableName.substring(0, pos); if( pos > 0 ) { pos = tableName.lastIndexOf('.'); col.setSchema(tableName.substring(pos+1)); pos = pos==-1 ? 0 : pos; tableName = tableName.substring(0, pos); } if( pos > 0 ) col.setCatalog(tableName); } // Set scale switch( columnType ) { case SYBMONEY: case SYBMONEYN: case SYBMONEY4: case SYBSMALLMONEY: col.setScale(4); break; case SYBDATETIME: col.setScale(3); break; case SYBDATETIMN: if( bufLength == 8 ) col.setScale(3); else col.setScale(0); break; default: col.setScale(scale<0 ? 0 : scale); } // Set precision and display size switch( columnType ) { case SYBBINARY: case SYBIMAGE: case SYBVARBINARY: dispSize = 2 * (precision = bufLength); break; case SYBCHAR: case SYBTEXT: case SYBVARCHAR: dispSize = precision = bufLength; break; case SYBNCHAR: case SYBNTEXT: case SYBNVARCHAR: dispSize = precision = bufLength>>1; break; case SYBBIT: dispSize = precision = 1; break; case SYBUNIQUEID: dispSize = precision = 36; break; case SYBDATETIME: dispSize = precision = 23; break; case SYBDATETIME4: dispSize = 3 + (precision = 16); break; case SYBDATETIMN: if( bufLength == 8 ) dispSize = precision = 23; else dispSize = 3 + (precision = 16); break; case SYBDECIMAL: case SYBNUMERIC: dispSize = (bufLength==scale ? 3 : 2) + precision; break; case SYBFLT8: dispSize = 9 + (precision = 15); break; case SYBREAL: dispSize = 7 + (precision = 7); break; case SYBFLTN: if( bufLength == 8 ) dispSize = 9 + (precision = 15); else dispSize = 7 + (precision = 7); break; case SYBINT4: dispSize = 1 + (precision = 10); break; case SYBINT2: dispSize = 1 + (precision = 5); break; case SYBINT1: dispSize = 1 + (precision = 2); break; case SYBINTN: if( bufLength == 4 ) dispSize = 1 + (precision = 10); else if( bufLength == 2 ) dispSize = 1 + (precision = 5); else dispSize = 1 + (precision = 2); break; case SYBMONEY: dispSize = 2 + (precision = 19); break; case SYBMONEY4: case SYBSMALLMONEY: dispSize = 2 + (precision = 10); break; case SYBMONEYN: if( bufLength == 8 ) dispSize = 2 + (precision = 19); else dispSize = 2 + (precision = 10); break; } col.setDisplaySize(dispSize); col.setPrecision(precision); }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/961a45de8bf5d82c43254ac74e0e90a332e67845/Tds.java/clean/src/main/net/sourceforge/jtds/jdbc/Tds.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 6490, 1494, 12, 1494, 645, 16, 509, 27280, 16, 514, 7578, 16, 3639, 509, 16232, 1225, 16, 509, 1681, 1782, 16, 1250, 8413, 16, 1250, 3656, 10798, 16, 3639, 1250, 9691, 16, 1250, 20975, 16, 514, 4775, 16, 3639, 509, 6039, 16, 509, 3159, 13, 565, 288, 3639, 309, 12, 7578, 480, 446, 262, 3639, 288, 5411, 645, 18, 542, 461, 12, 2827, 461, 1769, 5411, 645, 18, 542, 2224, 12, 2827, 461, 1769, 3639, 289, 3639, 645, 18, 542, 559, 12, 2827, 559, 1769, 3639, 645, 18, 542, 15384, 12, 4385, 1782, 1769, 3639, 645, 18, 542, 13349, 12, 20247, 5411, 692, 10842, 6998, 18, 2827, 13349, 5411, 294, 10842, 6998, 18, 2827, 2279, 31326, 1769, 3639, 645, 18, 542, 4965, 10798, 12, 6079, 10798, 1769, 3639, 645, 18, 542, 12066, 12, 5, 15699, 1769, 3639, 645, 18, 542, 2449, 14220, 12, 3593, 14220, 1769, 3639, 368, 1000, 1014, 508, 261, 464, 6222, 471, 1963, 16, 309, 2319, 13, 3639, 309, 12, 4775, 480, 446, 262, 3639, 288, 5411, 509, 949, 273, 4775, 18, 2722, 31985, 2668, 1093, 1769, 5411, 645, 18, 542, 7147, 12, 18033, 18, 28023, 12, 917, 15, 21, 10019, 5411, 949, 273, 949, 631, 17, 21, 692, 374, 294, 949, 31, 5411, 4775, 273, 4775, 18, 28023, 12, 20, 16, 949, 1769, 5411, 309, 12, 949, 405, 374, 262, 5411, 288, 7734, 949, 273, 4775, 18, 2722, 31985, 2668, 1093, 1769, 7734, 645, 18, 542, 3078, 12, 18033, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 6490, 1494, 12, 1494, 645, 16, 509, 27280, 16, 514, 7578, 16, 3639, 509, 16232, 1225, 16, 509, 1681, 1782, 16, 1250, 8413, 16, 1250, 3656, 10798, 16, 3639, 1250, 9691, 16, 1250, 20975, 16, 514, 4775, 16, 3639, 509, 6039, 16, 509, 3159, 13, 565, 288, 3639, 309, 12, 7578, 480, 446, 262, 3639, 288, 5411, 645, 18, 542, 461, 12, 2827, 461, 1769, 5411, 645, 18, 542, 2224, 12, 2827, 461, 1769, 3639, 289, 3639, 645, 18, 542, 559, 12, 2827, 559, 1769, 3639, 645, 18, 542, 15384, 12, 4385, 1782, 1769, 3639, 645, 18, 542, 13349, 12, 20247, 5411, 692, 10842, 6998, 18, 2827, 13349, 5411, 294, 10842, 6998, 18, 2827, 2279, 31326, 2 ]
Vector ops = getOperation(role.getBases(), fname.trim(), mes.getAction().getActualArguments().size());
Vector ops = getOperation(role.getBases(), fname.trim(), mes.getAction().getActualArguments().size());
public void parseMessage(MMessage mes, String s) throws ParseException { String fname = null; String guard = null; String paramExpr = null; String token; String varname = null; Vector predecessors = new Vector(); Vector seqno = null; Vector currentseq = new Vector(); Vector args = null; boolean mustBePre = false; boolean mustBeSeq = false; boolean parallell = false; boolean iterative = false; boolean mayDeleteExpr = false; boolean refindOperation = false; boolean hasPredecessors = false; int i; currentseq.add(null); currentseq.add(null); try { MyTokenizer st = new MyTokenizer(s, " ,\t,*,[,],.,:,=,/,\\,", MyTokenizer.PAREN_EXPR_STRING_SEPARATOR); while (st.hasMoreTokens()) { token = st.nextToken(); if (" ".equals(token) || "\t".equals(token)) { if (currentseq == null) { if (varname != null && fname == null) { varname += token; } } } else if ("[".equals(token)) { if (mustBePre) throw new ParseException("Predecessors cannot be " + "qualified", st.getTokenIndex()); mustBeSeq = true; if (guard != null) throw new ParseException("Messages cannot have several " + "guard or iteration specifications", st.getTokenIndex()); guard = ""; while (true) { token = st.nextToken(); if ("]".equals(token)) break; guard += token; } } else if ("*".equals(token)) { if (mustBePre) throw new ParseException("Predecessors cannot be " + "iterated", st.getTokenIndex()); mustBeSeq = true; if (currentseq != null) iterative = true; } else if (".".equals(token)) { if (currentseq == null) throw new ParseException("Unexpected dot ('.')", st.getTokenIndex()); if (currentseq.get(currentseq.size() - 2) != null || currentseq.get(currentseq.size() - 1) != null) { currentseq.add(null); currentseq.add(null); } } else if (":".equals(token)) { if (st.hasMoreTokens()) { String t = st.nextToken(); if ("=".equals(t)) { st.putToken(":="); continue; } st.putToken(t); } if (mustBePre) throw new ParseException("Predecessors must be " + "terminated with \'/\' and not with \':\'", st.getTokenIndex()); if (currentseq != null) { if (currentseq.size() > 2 && currentseq.get(currentseq.size() - 2) == null && currentseq.get(currentseq.size() - 1) == null) { currentseq.remove(currentseq.size() - 1); currentseq.remove(currentseq.size() - 1); } seqno = currentseq; currentseq = null; mayDeleteExpr = true; } } else if ("/".equals(token)) { if (st.hasMoreTokens()) { String t = st.nextToken(); if ("/".equals(t)) { st.putToken("//"); continue; } st.putToken(t); } if (mustBeSeq) { throw new ParseException("The sequence number must be " + "terminated with \':\' and not with \'/\'", st.getTokenIndex()); } mustBePre = false; mustBeSeq = true; if (currentseq.size() > 2 && currentseq.get(currentseq.size() - 2) == null && currentseq.get(currentseq.size() - 1) == null) { currentseq.remove(currentseq.size() - 1); currentseq.remove(currentseq.size() - 1); } if (currentseq.get(currentseq.size() - 2) != null || currentseq.get(currentseq.size() - 1) != null) { predecessors.add(currentseq); currentseq = new Vector(); currentseq.add(null); currentseq.add(null); } hasPredecessors = true; } else if ("//".equals(token)) { if (mustBePre) throw new ParseException("Predecessors cannot be " + "parallellized", st.getTokenIndex()); mustBeSeq = true; if (currentseq != null) parallell = true; } else if (",".equals(token)) { if (currentseq != null) { if (mustBeSeq) throw new ParseException("Messages cannot have many " + "sequence numbers", st.getTokenIndex()); mustBePre = true; if (currentseq.size() > 2 && currentseq.get(currentseq.size() - 2) == null && currentseq.get(currentseq.size() - 1) == null) { currentseq.remove(currentseq.size() - 1); currentseq.remove(currentseq.size() - 1); } if (currentseq.get(currentseq.size() - 2) != null || currentseq.get(currentseq.size() - 1) != null) { predecessors.add(currentseq); currentseq = new Vector(); currentseq.add(null); currentseq.add(null); } hasPredecessors = true; } else { if (varname == null && fname != null) { varname = fname + token; fname = null; } else if (varname != null && fname == null) { varname += token; } else { throw new ParseException("Unexpected character (,)", st.getTokenIndex()); } } } else if ("=".equals(token) || ":=".equals(token)) { if (currentseq == null) { if (varname == null) { varname = fname; fname = ""; } else { fname = ""; } } } else if (currentseq == null) { if (paramExpr == null && token.charAt(0) == '(') { if (token.charAt(token.length() - 1) != ')') throw new ParseException("Malformed parameters", st.getTokenIndex()); if (fname == null || "".equals(fname)) throw new ParseException("Must be a function name " + "before the parameters", st.getTokenIndex()); if (varname == null) varname = ""; paramExpr = token.substring(1, token.length() - 1); } else if (varname != null && fname == null) { varname += token; } else if (fname == null || fname.length() == 0) { fname = token; } else { throw new ParseException("Unexpected token (" + token + ")", st.getTokenIndex()); } } else { boolean hasVal = currentseq.get(currentseq.size() - 2) != null; boolean hasOrd = currentseq.get(currentseq.size() - 1) != null; boolean assigned = false; int bp = findMsgOrderBreak(token); if (!hasVal && !assigned && bp == token.length()) { try { currentseq.set(currentseq.size() - 2, new Integer(token)); assigned = true; } catch (NumberFormatException nfe) { } } if (!hasOrd && !assigned && bp == 0) { try { currentseq.set(currentseq.size() - 1, new Integer(parseMsgOrder(token))); assigned = true; } catch (NumberFormatException nfe) { } } if (!hasVal && !hasOrd && !assigned && bp > 0 && bp < token.length()) { Integer nbr, ord; try { nbr = new Integer(token.substring(0, bp)); ord = new Integer(parseMsgOrder(token.substring(bp))); currentseq.set(currentseq.size() - 2, nbr); currentseq.set(currentseq.size() - 1, ord); assigned = true; } catch (NumberFormatException nfe) { } } if (!assigned) { throw new ParseException("Unexpected token (" + token + ")", st.getTokenIndex()); } } } } catch (NoSuchElementException nsee) { throw new ParseException("Unexpected end of message", s.length()); } catch (ParseException pre) { _cat.error("parseexception" , pre); throw pre; } if (paramExpr != null) { MyTokenizer st = new MyTokenizer(paramExpr, "\\,", _parameterCustomSep); args = new Vector(); while (st.hasMoreTokens()) { token = st.nextToken(); if (",".equals(token)) { if (args.size() == 0) args.add(null); args.add(null); } else { if (args.size() == 0) { if (token.trim().length() == 0) continue; args.add(null); } String arg = (String) args.get(args.size() - 1); if (arg != null) arg = arg + token; else arg = token; args.set(args.size() - 1, arg); } } } else if (mayDeleteExpr) { args = new Vector(); } if (_cat.isDebugEnabled()) { StringBuffer buf = new StringBuffer(); buf.append("ParseMessage: " + s + "\n"); buf.append("Message: "); for (i = 0; seqno != null && i + 1 < seqno.size(); i += 2) { if (i > 0) buf.append(", "); buf.append(seqno.get(i) + " (" + seqno.get(i + 1) + ")"); } buf.append("\n"); buf.append("predecessors: " + predecessors.size() + "\n"); for (i = 0; i < predecessors.size(); i++) { int j; Vector v = (Vector) predecessors.get(i); buf.append(" Predecessor: "); for (j = 0; v != null && j + 1 < v.size(); j += 2) { if (j > 0) buf.append(", "); buf.append(v.get(j) + " (" + v.get(j + 1) + ")"); } } buf.append("guard: " + guard + " it: " + iterative + " pl: " + parallell + "\n"); buf.append(varname + " := " + fname + " ( " + paramExpr + " )" + "\n"); _cat.debug(buf); } if (mes.getAction() == null) { MCallAction a = UmlFactory.getFactory().getCommonBehavior() .createCallAction(); mes.getInteraction().getContext().addOwnedElement(a); mes.setAction(a); } if (guard != null) { guard = "[" + guard.trim() + "]"; if (iterative) { if (parallell) guard = "*//" + guard; else guard = "*" + guard; } MIterationExpression expr = UmlFactory.getFactory().getDataTypes() .createIterationExpression( Notation.getDefaultNotation().toString(), guard); mes.getAction().setRecurrence(expr); } if (fname == null) { if (!mayDeleteExpr && mes.getAction().getScript() != null) { String body = mes.getAction().getScript().getBody(); int idx = body.indexOf(":="); if (idx >= 0) idx++; else idx = body.indexOf("="); if (idx >= 0) fname = body.substring(idx + 1); else fname = body; } else fname = ""; } if (varname == null) { if (!mayDeleteExpr && mes.getAction().getScript() != null) { String body = mes.getAction().getScript().getBody(); int idx = body.indexOf(":="); if (idx < 0) idx = body.indexOf("="); if (idx >= 0) varname = body.substring(0, idx); else varname = ""; } else varname = ""; } if (fname != null) { String expr = fname.trim(); if (varname != null && varname.length() > 0) expr = varname.trim() + " := " + expr; if (mes.getAction().getScript() == null || !expr.equals(mes.getAction().getScript().getBody())) { MActionExpression e = UmlFactory.getFactory().getDataTypes() .createActionExpression( Notation.getDefaultNotation().toString(), expr.trim()); mes.getAction().setScript(e); refindOperation = true; } } if (args != null) { Collection c = mes.getAction().getActualArguments(); Iterator it = c.iterator(); int pos; for (i = 0; i < args.size(); i++) { MArgument arg = (it.hasNext() ? (MArgument) it.next() : null); if (arg == null) { arg = UmlFactory.getFactory().getCommonBehavior() .createArgument(); mes.getAction().addActualArgument(arg); refindOperation = true; } if (arg.getValue() == null || !args.get(i).equals(arg.getValue().getBody())) { String value = (args.get(i) != null ? (String) args.get(i) : ""); MExpression e = UmlFactory.getFactory().getDataTypes() .createExpression( Notation.getDefaultNotation().toString(), value.trim()); arg.setValue(e); } } while (it.hasNext()) { mes.getAction().removeActualArgument((MArgument) it.next()); refindOperation = true; } } if (seqno != null) { MMessage root; // Find the preceding message, if any, on either end of the // association. String pname = ""; String mname = ""; String gname = GeneratorDisplay.getInstance() .generateMessageNumber(mes); boolean swapRoles = false; int majval = (seqno.get(seqno.size() - 2) != null ? Math.max(((Integer) seqno.get(seqno.size() - 2)).intValue() - 1, 0) : 0); int minval = (seqno.get(seqno.size() - 1) != null ? Math.max(((Integer) seqno.get(seqno.size() - 1)).intValue(), 0) : 0); for (i = 0; i + 1 < seqno.size(); i += 2) { int bv = (seqno.get(i) != null ? Math.max(((Integer) seqno.get(i)).intValue(), 1) : 1); int sv = (seqno.get(i + 1) != null ? Math.max(((Integer) seqno.get(i + 1)).intValue(), 0) : 0); if (i > 0) mname += "."; mname += Integer.toString(bv) + (char) ('a' + sv); if (i + 3 < seqno.size()) { if (i > 0) pname += "."; pname += Integer.toString(bv) + (char) ('a' + sv); } } root = null; if (pname.length() > 0) { root = findMsg(mes.getSender(), pname); if (root == null) { root = findMsg(mes.getReceiver(), pname); if (root != null) { swapRoles = true; } } } else if (!hasMsgWithActivator(mes.getSender(), null) && hasMsgWithActivator(mes.getReceiver(), null)) swapRoles = true; if (compareMsgNumbers(mname, gname)) { ; // Do nothing } else if (isMsgNumberStartOf(gname, mname)) { throw new ParseException("Cannot move a message into the " + "subtree rooted at self", 0); } else if (mes.getPredecessors().size() > 1 && mes.getMessages3().size() > 1) { throw new ParseException("Cannot move a message which is " + "both start and end of several threads", 0); } else if (root == null && pname.length() > 0) { throw new ParseException("Cannot find the activator for the " + "message", 0); } else if (swapRoles && mes.getMessages4().size() > 0 && mes.getSender() != mes.getReceiver()) { throw new ParseException("Cannot reverse the direction of a " + "message that is an activator", 0); } else { // Disconnect the message from the call graph Collection c = mes.getPredecessors(); Collection c2 = mes.getMessages3(); Iterator it; it = c2.iterator(); while (it.hasNext()) { mes.removeMessage3((MMessage) it.next()); } it = c.iterator(); while (it.hasNext()) { Iterator it2 = c2.iterator(); MMessage pre = (MMessage) it.next(); mes.removePredecessor(pre); while (it2.hasNext()) { ((MMessage) it2.next()).addPredecessor(pre); } } // Connect the message at a new spot mes.setActivator(root); if (swapRoles) { MClassifierRole r = mes.getSender(); mes.setSender(mes.getReceiver()); mes.setReceiver(r); } if (root == null) { c = filterWithActivator(mes.getSender().getMessages2(), null); } else { c = root.getMessages4(); } c2 = findCandidateRoots(c, root, mes); it = c2.iterator(); // If c2 is empty, then we're done // (or there is a cycle in the message graph, which would be bad) // If c2 has more than one element, then the model is crappy, // but we'll just use one of them anyway if (majval <= 0) { while (it.hasNext()) mes.addMessage3((MMessage) it.next()); } else if (it.hasNext()) { MMessage pre = walk((MMessage) it.next(), majval - 1, false); MMessage post = successor(pre, minval); if (post != null) { post.removePredecessor(pre); post.addPredecessor(mes); } insertSuccessor(pre, mes, minval); } refindOperation = true; } } if (fname != null && refindOperation) { MClassifierRole role = mes.getReceiver(); Vector ops = getOperation(role.getBases(), fname.trim(), mes.getAction().getActualArguments().size()); // TODO: Should someone choose one, if there are more // than one? if (mes.getAction() instanceof MCallAction) { MCallAction a = (MCallAction) mes.getAction(); if (ops.size() > 0) a.setOperation((MOperation) ops.get(0)); else a.setOperation(null); } } // TODO: Predecessors is not implemented, because it // causes some problems that I've not found an easy way to handle yet, // d00mst. The specific problem is that the notation currently is // ambiguous on second message after a thread split. // Why not implement it anyway? d00mst if (hasPredecessors) { Collection roots = findCandidateRoots(mes.getInteraction() .getMessages(), null, null); Vector pre = new Vector(); Iterator it; predfor: for (i = 0; i < predecessors.size(); i++) { it = roots.iterator(); while (it.hasNext()) { MMessage msg = walkTree((MMessage) it.next(), (Vector) predecessors.get(i)); if (msg != null && msg != mes) { if (isBadPreMsg(mes, msg)) { throw new ParseException("One predecessor cannot be " + "a predecessor to this message", 0); } pre.add(msg); continue predfor; } } throw new ParseException("Could not find predecessor", 0); } GeneratorDisplay.MsgPtr ptr = GeneratorDisplay.getInstance().new MsgPtr(); GeneratorDisplay.getInstance().recCountPredecessors(mes, ptr); if (ptr.message != null && !pre.contains(ptr.message)) pre.add(ptr.message); mes.setPredecessors(pre); } }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/180aae2a6e4359d416ad1610ef18fe4836df91b8/ParserDisplay.java/buggy/src_new/org/argouml/uml/generator/ParserDisplay.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1109, 1079, 12, 49, 1079, 15216, 16, 514, 272, 13, 1216, 10616, 288, 202, 780, 5299, 273, 446, 31, 202, 780, 11026, 273, 446, 31, 202, 780, 579, 4742, 273, 446, 31, 202, 780, 1147, 31, 202, 780, 15434, 273, 446, 31, 202, 5018, 18522, 1383, 273, 394, 5589, 5621, 202, 5018, 30734, 273, 446, 31, 202, 5018, 783, 5436, 273, 394, 5589, 5621, 202, 5018, 833, 273, 446, 31, 202, 6494, 1297, 1919, 1386, 273, 629, 31, 202, 6494, 1297, 1919, 6926, 273, 629, 31, 202, 6494, 779, 454, 1165, 273, 629, 31, 202, 6494, 1400, 1535, 273, 629, 31, 202, 6494, 2026, 2613, 4742, 273, 629, 31, 202, 6494, 1278, 728, 2988, 273, 629, 31, 202, 6494, 711, 1386, 14258, 1383, 273, 629, 31, 202, 474, 277, 31, 202, 2972, 5436, 18, 1289, 12, 2011, 1769, 202, 2972, 5436, 18, 1289, 12, 2011, 1769, 202, 698, 288, 202, 565, 8005, 10524, 384, 273, 394, 8005, 10524, 12, 87, 16, 315, 269, 64, 88, 16, 14, 16, 63, 16, 6487, 12990, 30, 16, 33, 16, 19, 16, 1695, 16, 3113, 25083, 377, 8005, 10524, 18, 15111, 67, 2294, 8025, 67, 5804, 67, 4550, 1769, 202, 565, 1323, 261, 334, 18, 5332, 7417, 5157, 10756, 288, 202, 202, 2316, 273, 384, 18, 4285, 1345, 5621, 202, 202, 430, 7566, 3552, 14963, 12, 2316, 13, 747, 1548, 88, 9654, 14963, 12, 2316, 3719, 288, 1082, 565, 309, 261, 2972, 5436, 422, 446, 13, 288, 1082, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1109, 1079, 12, 49, 1079, 15216, 16, 514, 272, 13, 1216, 10616, 288, 202, 780, 5299, 273, 446, 31, 202, 780, 11026, 273, 446, 31, 202, 780, 579, 4742, 273, 446, 31, 202, 780, 1147, 31, 202, 780, 15434, 273, 446, 31, 202, 5018, 18522, 1383, 273, 394, 5589, 5621, 202, 5018, 30734, 273, 446, 31, 202, 5018, 783, 5436, 273, 394, 5589, 5621, 202, 5018, 833, 273, 446, 31, 202, 6494, 1297, 1919, 1386, 273, 629, 31, 202, 6494, 1297, 1919, 6926, 273, 629, 31, 202, 6494, 779, 454, 1165, 273, 629, 31, 202, 6494, 1400, 1535, 273, 629, 31, 202, 6494, 2026, 2613, 4742, 273, 629, 31, 202, 6494, 1278, 728, 2988, 273, 629, 2 ]
changeListener = new JobChangeAdapter() { /* * (non-Javadoc) * * @see org.eclipse.core.runtime.jobs.JobChangeAdapter#aboutToRun(org.eclipse.core.runtime.jobs.IJobChangeEvent) */ public void aboutToRun(IJobChangeEvent event) { JobInfo info = getJobInfo(event.getJob()); refreshJobInfo(info); }
changeListener = new JobChangeAdapter() {
private void createChangeListener() { changeListener = new JobChangeAdapter() { /* * (non-Javadoc) * * @see org.eclipse.core.runtime.jobs.JobChangeAdapter#aboutToRun(org.eclipse.core.runtime.jobs.IJobChangeEvent) */ public void aboutToRun(IJobChangeEvent event) { JobInfo info = getJobInfo(event.getJob()); refreshJobInfo(info); } /* * (non-Javadoc) * * @see org.eclipse.core.runtime.jobs.JobChangeAdapter#done(org.eclipse.core.runtime.jobs.IJobChangeEvent) */ public void done(IJobChangeEvent event) { if (!PlatformUI.isWorkbenchRunning()) return; JobInfo info = getJobInfo(event.getJob()); if (event.getResult().getSeverity() == IStatus.ERROR) { errorManager.addError(event.getResult(), event.getJob().getName()); } jobs.remove(event.getJob()); //Only refresh if we are showing it removeJobInfo(info); //If there are no more left then refresh all on the last displayed one if (hasNoRegularJobInfos() && !isNonDisplayableJob(event.getJob(), false)) refreshAll(); } /* * (non-Javadoc) * * @see org.eclipse.core.runtime.jobs.JobChangeAdapter#scheduled(org.eclipse.core.runtime.jobs.IJobChangeEvent) */ public void scheduled(IJobChangeEvent event) { if (isNeverDisplayedJob(event.getJob())) return; if (jobs.containsKey(event.getJob())) refreshJobInfo(getJobInfo(event.getJob())); else { addJobInfo(new JobInfo(event.getJob())); } } }; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/4c26d9ee525c094efb56046cd34150f7de2e4a0c/ProgressManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 15744, 1435, 288, 202, 202, 3427, 2223, 273, 394, 3956, 3043, 4216, 1435, 288, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 13, 9506, 380, 4697, 380, 632, 5946, 2358, 18, 20416, 18, 3644, 18, 9448, 18, 10088, 18, 2278, 3043, 4216, 7, 21071, 774, 1997, 12, 3341, 18, 20416, 18, 3644, 18, 9448, 18, 10088, 18, 45, 2278, 20930, 13, 9506, 1195, 1082, 202, 482, 918, 2973, 774, 1997, 12, 45, 2278, 20930, 871, 13, 288, 9506, 202, 2278, 966, 1123, 273, 13024, 966, 12, 2575, 18, 588, 2278, 10663, 9506, 202, 9144, 2278, 966, 12, 1376, 1769, 1082, 202, 97, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 13, 9506, 380, 4697, 380, 632, 5946, 2358, 18, 20416, 18, 3644, 18, 9448, 18, 10088, 18, 2278, 3043, 4216, 7, 8734, 12, 3341, 18, 20416, 18, 3644, 18, 9448, 18, 10088, 18, 45, 2278, 20930, 13, 9506, 1195, 1082, 202, 482, 918, 2731, 12, 45, 2278, 20930, 871, 13, 288, 9506, 202, 430, 16051, 8201, 5370, 18, 291, 2421, 22144, 7051, 10756, 6862, 202, 2463, 31, 9506, 202, 2278, 966, 1123, 273, 13024, 966, 12, 2575, 18, 588, 2278, 10663, 9506, 202, 430, 261, 2575, 18, 588, 1253, 7675, 588, 21630, 1435, 422, 467, 1482, 18, 3589, 13, 288, 6862, 202, 1636, 1318, 18, 1289, 668, 12, 2575, 18, 588, 1253, 9334, 871, 18, 588, 2278, 7675, 17994, 10663, 9506, 202, 97, 9506, 202, 10088, 18, 4479, 12, 2575, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 15744, 1435, 288, 202, 202, 3427, 2223, 273, 394, 3956, 3043, 4216, 1435, 288, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 13, 9506, 380, 4697, 380, 632, 5946, 2358, 18, 20416, 18, 3644, 18, 9448, 18, 10088, 18, 2278, 3043, 4216, 7, 21071, 774, 1997, 12, 3341, 18, 20416, 18, 3644, 18, 9448, 18, 10088, 18, 45, 2278, 20930, 13, 9506, 1195, 1082, 202, 482, 918, 2973, 774, 1997, 12, 45, 2278, 20930, 871, 13, 288, 9506, 202, 2278, 966, 1123, 273, 13024, 966, 12, 2575, 18, 588, 2278, 10663, 9506, 202, 9144, 2278, 966, 12, 1376, 1769, 1082, 202, 97, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 13, 9506, 2 ]
else if (nextSym == RUNB)
} else if (nextSym == RUNB) {
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; } } }
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/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 ]
lb.setText( Messages.getString( "HighlightRuleBuilderDialog.text.BackgroundColor" ) );
lb .setText( Messages .getString( "HighlightRuleBuilderDialog.text.BackgroundColor" ) );
protected Control createContents( Composite parent ) { GridData gdata; GridLayout glayout; createTitleArea( parent ); Composite composite = new Composite( parent, 0 ); glayout = new GridLayout( ); glayout.marginHeight = 0; glayout.marginWidth = 0; glayout.verticalSpacing = 0; composite.setLayout( glayout ); composite.setLayoutData( new GridData( GridData.FILL_BOTH ) ); applyDialogFont( composite ); initializeDialogUnits( composite ); Composite innerParent = (Composite) createDialogArea( composite ); createButtonBar( composite ); Label lb = new Label( innerParent, SWT.NONE ); lb.setText( Messages.getString( "HighlightRuleBuilderDialog.text.Condition" ) ); //$NON-NLS-1$ Composite condition = new Composite( innerParent, SWT.NONE ); condition.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); glayout = new GridLayout( 5, false ); condition.setLayout( glayout ); expression = new Combo( condition, SWT.NONE ); gdata = new GridData( ); gdata.widthHint = 100; expression.setLayoutData( gdata ); fillExpression( expression ); expression.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { if ( expression.getText( ).equals( VALUE_OF_THIS_DATA_ITEM ) && designHandle instanceof DataItemHandle ) { expression.setText( DEUtil.getColumnExpression( ( (DataItemHandle) designHandle ).getName( ) ) ); } updateButtons( ); } } ); expression.addModifyListener( new ModifyListener( ) { public void modifyText( ModifyEvent e ) { updateButtons( ); } } ); Button expBuilder = new Button( condition, SWT.PUSH ); expBuilder.setText( "..." ); //$NON-NLS-1$ gdata = new GridData( ); gdata.heightHint = 20; gdata.widthHint = 20; expBuilder.setLayoutData( gdata ); expBuilder.setToolTipText( Messages.getString( "HighlightRuleBuilderDialog.tooltip.ExpBuilder" ) ); //$NON-NLS-1$ expBuilder.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { editValue( expression ); } } ); operator = new Combo( condition, SWT.READ_ONLY ); for ( int i = 0; i < OPERATOR.length; i++ ) { operator.add( OPERATOR[i][0] ); } operator.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { String value = getValueForOperator( operator.getText( ) ); int vv = determineValueVisible( value ); if ( vv == 0 ) { value1.setVisible( false ); value2.setVisible( false ); valBuilder1.setVisible( false ); valBuilder2.setVisible( false ); andLable.setVisible( false ); } else if ( vv == 1 ) { value1.setVisible( true ); valBuilder1.setVisible( true ); value2.setVisible( false ); valBuilder2.setVisible( false ); andLable.setVisible( false ); } else if ( vv == 2 ) { value1.setVisible( true ); value2.setVisible( true ); valBuilder1.setVisible( true ); valBuilder2.setVisible( true ); andLable.setVisible( true ); } updateButtons( ); } } ); value1 = createText( condition ); value1.addModifyListener( new ModifyListener( ) { public void modifyText( ModifyEvent e ) { updateButtons( ); } } ); valBuilder1 = new Button( condition, SWT.PUSH ); valBuilder1.setText( "..." ); //$NON-NLS-1$ gdata = new GridData( ); gdata.heightHint = 20; gdata.widthHint = 20; valBuilder1.setLayoutData( gdata ); valBuilder1.setToolTipText( Messages.getString( "HighlightRuleBuilderDialog.tooltip.ExpBuilder" ) ); //$NON-NLS-1$ valBuilder1.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { editValue( value1 ); } } ); createDummy( condition, 3 ); andLable = new Label( condition, SWT.NONE ); andLable.setText( Messages.getString( "HighlightRuleBuilderDialog.text.AND" ) ); //$NON-NLS-1$ andLable.setVisible( false ); createDummy( condition, 1 ); createDummy( condition, 3 ); value2 = createText( condition ); value2.addModifyListener( new ModifyListener( ) { public void modifyText( ModifyEvent e ) { updateButtons( ); } } ); value2.setVisible( false ); valBuilder2 = new Button( condition, SWT.PUSH ); valBuilder2.setText( "..." ); //$NON-NLS-1$ gdata = new GridData( ); gdata.heightHint = 20; gdata.widthHint = 20; valBuilder2.setLayoutData( gdata ); valBuilder2.setToolTipText( Messages.getString( "HighlightRuleBuilderDialog.tooltip.ExpBuilder" ) ); //$NON-NLS-1$ valBuilder2.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { editValue( value2 ); } } ); valBuilder2.setVisible( false ); if ( operator.getItemCount( ) > 0 ) { operator.select( 0 ); } lb = new Label( innerParent, SWT.NONE ); lb.setText( Messages.getString( "HighlightRuleBuilderDialog.text.Format" ) ); //$NON-NLS-1$ Composite format = new Composite( innerParent, SWT.NONE ); format.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); glayout = new GridLayout( 7, false ); format.setLayout( glayout ); lb = new Label( format, 0 ); lb.setText( Messages.getString( "HighlightRuleBuilderDialog.text.Font" ) ); //$NON-NLS-1$ lb = new Label( format, 0 ); lb.setText( Messages.getString( "HighlightRuleBuilderDialog.text.Size" ) ); //$NON-NLS-1$ lb = new Label( format, 0 ); lb.setText( Messages.getString( "HighlightRuleBuilderDialog.text.Color" ) ); //$NON-NLS-1$ createDummy( format, 4 ); font = new Combo( format, SWT.READ_ONLY ); gdata = new GridData( ); gdata.widthHint = 100; font.setLayoutData( gdata ); IChoiceSet fontSet = ChoiceSetFactory.getElementChoiceSet( ReportDesignConstants.STYLE_ELEMENT, StyleHandle.FONT_FAMILY_PROP ); font.setData( fontSet ); font.setItems( ChoiceSetFactory.getDisplayNamefromChoiceSet( fontSet, new AlphabeticallyComparator( ) ) ); if ( SYSTEM_FONT_LIST != null && SYSTEM_FONT_LIST.length > 0 ) { for ( int i = 0; i < SYSTEM_FONT_LIST.length; i++ ) { font.add( SYSTEM_FONT_LIST[i] ); } } font.add( DEFAULT_CHOICE, 0 ); font.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { updatePreview( ); } } ); if ( font.getItemCount( ) > 0 ) { font.select( 0 ); } size = new FontSizeBuilder( format, SWT.None ); if ( designHandle != null ) { size.setDefaultUnit( designHandle.getPropertyHandle( StyleHandle.FONT_SIZE_PROP ) .getDefaultUnit( ) ); } gdata = new GridData( ); gdata.widthHint = 120; size.setLayoutData( gdata ); size.setFontSizeValue( null ); size.addListener( SWT.Modify, new Listener( ) { public void handleEvent( Event event ) { updatePreview( ); } } ); color = new ColorBuilder( format, 0 ); gdata = new GridData( ); gdata.widthHint = 50; color.setLayoutData( gdata ); color.setChoiceSet( ChoiceSetFactory.getElementChoiceSet( ReportDesignConstants.STYLE_ELEMENT, StyleHandle.COLOR_PROP ) ); color.setRGB( null ); color.addListener( SWT.Modify, new Listener( ) { public void handleEvent( Event event ) { previewLabel.setForeground( ColorManager.getColor( color.getRGB( ) ) ); previewLabel.redraw( ); } } ); Composite fstyle = new Composite( format, 0 ); gdata = new GridData( ); gdata.horizontalSpan = 4; fstyle.setLayoutData( gdata ); fstyle.setLayout( new GridLayout( 4, false ) ); bold = createToggleButton( fstyle ); bold.setImage( ReportPlatformUIImages.getImage( AttributeConstant.FONT_WIDTH ) ); bold.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { isBoldChanged = true; updatePreview( ); } } ); italic = createToggleButton( fstyle ); italic.setImage( ReportPlatformUIImages.getImage( AttributeConstant.FONT_STYLE ) ); italic.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { isItalicChanged = true; updatePreview( ); } } ); underline = createToggleButton( fstyle ); underline.setImage( ReportPlatformUIImages.getImage( AttributeConstant.TEXT_UNDERLINE ) ); underline.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { isUnderlineChanged = true; previewLabel.setUnderline( underline.getSelection( ) ); previewLabel.redraw( ); } } ); linethrough = createToggleButton( fstyle ); linethrough.setImage( ReportPlatformUIImages.getImage( AttributeConstant.TEXT_LINE_THROUGH ) ); linethrough.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { isLinethroughChanged = true; previewLabel.setLinethrough( linethrough.getSelection( ) ); previewLabel.redraw( ); } } ); Composite back = new Composite( innerParent, SWT.NONE ); back.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); glayout = new GridLayout( 1, false ); back.setLayout( glayout ); lb = new Label( back, 0 ); lb.setText( Messages.getString( "HighlightRuleBuilderDialog.text.BackgroundColor" ) ); //$NON-NLS-1$ backColor = new ColorBuilder( back, 0 ); gdata = new GridData( ); gdata.widthHint = 50; backColor.setLayoutData( gdata ); backColor.setChoiceSet( ChoiceSetFactory.getElementChoiceSet( ReportDesignConstants.STYLE_ELEMENT, StyleHandle.BACKGROUND_COLOR_PROP ) ); backColor.setRGB( null ); backColor.addListener( SWT.Modify, new Listener( ) { public void handleEvent( Event event ) { previewLabel.setBackground( ColorManager.getColor( backColor.getRGB( ) ) ); previewLabel.redraw( ); } } ); Composite preview = new Composite( innerParent, SWT.NONE ); glayout = new GridLayout( ); preview.setLayout( glayout ); gdata = new GridData( GridData.FILL_BOTH ); preview.setLayoutData( gdata ); lb = new Label( preview, SWT.NONE ); lb.setText( Messages.getString( "HighlightRuleBuilderDialog.text.Preview" ) ); //$NON-NLS-1$ Composite previewPane = new Composite( preview, SWT.BORDER ); glayout = new GridLayout( ); glayout.marginWidth = 0; glayout.marginHeight = 0; previewPane.setLayout( glayout ); gdata = new GridData( GridData.FILL_BOTH ); gdata.heightHint = 60; previewPane.setLayoutData( gdata ); previewLabel = new PreviewLabel( previewPane, 0 ); previewLabel.setText( Messages.getString( "HighlightRuleBuilderDialog.text.PreviewContent" ) ); //$NON-NLS-1$ gdata = new GridData( GridData.FILL_BOTH ); previewLabel.setLayoutData( gdata ); updatePreview( ); lb = new Label( innerParent, SWT.SEPARATOR | SWT.HORIZONTAL ); lb.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); syncViewProperties( ); updatePreview( ); updateButtons( ); return composite; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e2b6eafcb11806e8cec2333182f81de479004998/HighlightRuleBuilder.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HighlightRuleBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 8888, 752, 6323, 12, 14728, 982, 262, 202, 95, 202, 202, 6313, 751, 314, 892, 31, 202, 202, 6313, 3744, 5118, 2012, 31, 202, 202, 2640, 4247, 5484, 12, 982, 11272, 202, 202, 9400, 9635, 273, 394, 14728, 12, 982, 16, 374, 11272, 202, 202, 75, 6741, 273, 394, 7145, 3744, 12, 11272, 202, 202, 75, 6741, 18, 10107, 2686, 273, 374, 31, 202, 202, 75, 6741, 18, 10107, 2384, 273, 374, 31, 202, 202, 75, 6741, 18, 17824, 18006, 273, 374, 31, 202, 202, 27676, 18, 542, 3744, 12, 5118, 2012, 11272, 202, 202, 27676, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 38, 18307, 262, 11272, 202, 202, 9010, 6353, 5711, 12, 9635, 11272, 202, 202, 11160, 6353, 7537, 12, 9635, 11272, 202, 202, 9400, 3443, 3054, 273, 261, 9400, 13, 752, 6353, 5484, 12, 9635, 11272, 202, 202, 2640, 3616, 5190, 12, 9635, 11272, 202, 202, 2224, 7831, 273, 394, 5287, 12, 3443, 3054, 16, 348, 8588, 18, 9826, 11272, 202, 202, 20404, 18, 542, 1528, 12, 4838, 18, 588, 780, 12, 315, 16205, 2175, 1263, 6353, 18, 955, 18, 3418, 6, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 9400, 2269, 273, 394, 14728, 12, 3443, 3054, 16, 348, 8588, 18, 9826, 11272, 202, 202, 4175, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 262, 11272, 202, 202, 75, 6741, 273, 394, 7145, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 8888, 752, 6323, 12, 14728, 982, 262, 202, 95, 202, 202, 6313, 751, 314, 892, 31, 202, 202, 6313, 3744, 5118, 2012, 31, 202, 202, 2640, 4247, 5484, 12, 982, 11272, 202, 202, 9400, 9635, 273, 394, 14728, 12, 982, 16, 374, 11272, 202, 202, 75, 6741, 273, 394, 7145, 3744, 12, 11272, 202, 202, 75, 6741, 18, 10107, 2686, 273, 374, 31, 202, 202, 75, 6741, 18, 10107, 2384, 273, 374, 31, 202, 202, 75, 6741, 18, 17824, 18006, 273, 374, 31, 202, 202, 27676, 18, 542, 3744, 12, 5118, 2012, 11272, 202, 202, 27676, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 38, 18307, 262, 11272, 202, 202, 2 ]
groups.add(group);
Log.debug("Found group item: " + group.toString()); groups.put(group.getId(), group);
void gotGroup(GroupItem group) { groups.add(group); if (group.getId() > highestGroupId) { highestGroupId = group.getId(); } }
6161 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6161/458964a8ab9fa712c6bff46d6dcb136f08f285c4/OSCARSession.java/clean/src/plugins/gateway/src/java/org/jivesoftware/wildfire/gateway/protocols/oscar/OSCARSession.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 2363, 1114, 12, 1114, 1180, 1041, 13, 288, 3639, 1827, 18, 4148, 2932, 2043, 1041, 761, 30, 315, 397, 1041, 18, 10492, 10663, 3252, 18, 458, 12, 1655, 18, 26321, 9334, 1041, 1769, 3639, 309, 261, 1655, 18, 26321, 1435, 405, 9742, 8722, 13, 288, 5411, 9742, 8722, 273, 1041, 18, 26321, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 2363, 1114, 12, 1114, 1180, 1041, 13, 288, 3639, 1827, 18, 4148, 2932, 2043, 1041, 761, 30, 315, 397, 1041, 18, 10492, 10663, 3252, 18, 458, 12, 1655, 18, 26321, 9334, 1041, 1769, 3639, 309, 261, 1655, 18, 26321, 1435, 405, 9742, 8722, 13, 288, 5411, 9742, 8722, 273, 1041, 18, 26321, 5621, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
default :
default:
private char[] eFormatDigits(double x, char eChar) { char[] ca1, ca2, ca3; // int defaultDigits=6; String sx; int i, j, k, p; int expon = 0; int ePos, rPos, eSize; boolean minusSign = false; if (x > 0.0) { sx = Double.toString(x); } else if (x < 0.0) { sx = Double.toString(-x); minusSign = true; } else { sx = Double.toString(x); if (sx.charAt(0) == '-') { minusSign = true; sx = sx.substring(1); } } ePos = sx.indexOf('E'); if (ePos == -1) { ePos = sx.indexOf('e'); } rPos = sx.indexOf('.'); if (ePos != -1) { int ie = ePos + 1; expon = 0; if (sx.charAt(ie) == '-') { for (++ie; ie < sx.length(); ie++) { if (sx.charAt(ie) != '0') { break; } } if (ie < sx.length()) { expon = -Integer.parseInt(sx.substring(ie)); } } else { if (sx.charAt(ie) == '+') { ++ie; } for (; ie < sx.length(); ie++) { if (sx.charAt(ie) != '0') { break; } } if (ie < sx.length()) { expon = Integer.parseInt(sx.substring(ie)); } } } if (rPos != -1) { expon += rPos - 1; } if (m_precisionSet) { p = m_precision; } else { p = DEFAULT_DIGITS - 1; } if (rPos != -1 && ePos != -1) { ca1 = (sx.substring(0, rPos) + sx.substring(rPos + 1, ePos)).toCharArray(); } else if (rPos != -1) { ca1 = (sx.substring(0, rPos) + sx.substring(rPos + 1)).toCharArray(); } else if (ePos != -1) { ca1 = sx.substring(0, ePos).toCharArray(); } else { ca1 = sx.toCharArray(); } boolean carry = false; int i0 = 0; if (ca1[0] != '0') { i0 = 0; } else { for (i0 = 0; i0 < ca1.length; i0++) { if (ca1[i0] != '0') { break; } } } if (i0 + p < ca1.length - 1) { carry = checkForCarry(ca1, i0 + p + 1); if (carry) { carry = startSymbolicCarry(ca1, i0 + p, i0); } if (carry) { ca2 = new char[i0 + p + 1]; ca2[i0] = '1'; for (j = 0; j < i0; j++) { ca2[j] = '0'; } for (i = i0, j = i0 + 1; j < p + 1; i++, j++) { ca2[j] = ca1[i]; } expon++; ca1 = ca2; } } if (Math.abs(expon) < 100 && !m_optionalL) { eSize = 4; } else { eSize = 5; } if (m_alternateForm || !m_precisionSet || m_precision != 0) { ca2 = new char[2 + p + eSize]; } else { ca2 = new char[1 + eSize]; } if (ca1[0] != '0') { ca2[0] = ca1[0]; j = 1; } else { for (j = 1; j < (ePos == -1 ? ca1.length : ePos); j++) { if (ca1[j] != '0') { break; } } if ((ePos != -1 && j < ePos) || (ePos == -1 && j < ca1.length)) { ca2[0] = ca1[j]; expon -= j; j++; } else { ca2[0] = '0'; j = 2; } } if (m_alternateForm || !m_precisionSet || m_precision != 0) { ca2[1] = '.'; i = 2; } else { i = 1; } for (k = 0; k < p && j < ca1.length; j++, i++, k++) { ca2[i] = ca1[j]; } for (; i < ca2.length - eSize; i++) { ca2[i] = '0'; } ca2[i++] = eChar; if (expon < 0) { ca2[i++] = '-'; } else { ca2[i++] = '+'; } expon = Math.abs(expon); if (expon >= 100) { switch (expon / 100) { case 1 : ca2[i] = '1'; break; case 2 : ca2[i] = '2'; break; case 3 : ca2[i] = '3'; break; case 4 : ca2[i] = '4'; break; case 5 : ca2[i] = '5'; break; case 6 : ca2[i] = '6'; break; case 7 : ca2[i] = '7'; break; case 8 : ca2[i] = '8'; break; case 9 : ca2[i] = '9'; break; default : // noop } i++; } switch ((expon % 100) / 10) { case 0 : ca2[i] = '0'; break; case 1 : ca2[i] = '1'; break; case 2 : ca2[i] = '2'; break; case 3 : ca2[i] = '3'; break; case 4 : ca2[i] = '4'; break; case 5 : ca2[i] = '5'; break; case 6 : ca2[i] = '6'; break; case 7 : ca2[i] = '7'; break; case 8 : ca2[i] = '8'; break; case 9 : ca2[i] = '9'; break; default : // noop } i++; switch (expon % 10) { case 0 : ca2[i] = '0'; break; case 1 : ca2[i] = '1'; break; case 2 : ca2[i] = '2'; break; case 3 : ca2[i] = '3'; break; case 4 : ca2[i] = '4'; break; case 5 : ca2[i] = '5'; break; case 6 : ca2[i] = '6'; break; case 7 : ca2[i] = '7'; break; case 8 : ca2[i] = '8'; break; case 9 : ca2[i] = '9'; break; default : // noop } int nZeros = 0; if (!m_leftJustify && m_leadingZeros) { int xThousands = 0; if (m_thousands) { int xlead = 0; if (ca2[0] == '+' || ca2[0] == '-' || ca2[0] == ' ') { xlead = 1; } int xdp = xlead; for (; xdp < ca2.length; xdp++) { if (ca2[xdp] == '.') { break; } } xThousands = (xdp - xlead) / 3; } if (m_fieldWidthSet) { nZeros = m_fieldWidth - ca2.length; } if ((!minusSign && (m_leadingSign || m_leadingSpace)) || minusSign) { nZeros--; } nZeros -= xThousands; if (nZeros < 0) { nZeros = 0; } } j = 0; if ((!minusSign && (m_leadingSign || m_leadingSpace)) || minusSign) { ca3 = new char[ca2.length + nZeros + 1]; j++; } else { ca3 = new char[ca2.length + nZeros]; } if (!minusSign) { if (m_leadingSign) { ca3[0] = '+'; } if (m_leadingSpace) { ca3[0] = ' '; } } else { ca3[0] = '-'; } for (k = 0; k < nZeros; j++, k++) { ca3[j] = '0'; } for (i = 0; i < ca2.length && j < ca3.length; i++, j++) { ca3[j] = ca2[i]; } int lead = 0; if (ca3[0] == '+' || ca3[0] == '-' || ca3[0] == ' ') { lead = 1; } int dp = lead; for (; dp < ca3.length; dp++) { if (ca3[dp] == '.') { break; } } int nThousands = dp / 3; // Localize the decimal point. if (dp < ca3.length) { ca3[dp] = m_dfs.getDecimalSeparator(); } char[] ca4 = ca3; if (m_thousands && nThousands > 0) { ca4 = new char[ca3.length + nThousands + lead]; ca4[0] = ca3[0]; for (i = lead, k = lead; i < dp; i++) { if (i > 0 && (dp - i) % 3 == 0) { // ca4[k]=','; ca4[k] = m_dfs.getGroupingSeparator(); ca4[k + 1] = ca3[i]; k += 2; } else { ca4[k] = ca3[i]; k++; } } for (; i < ca3.length; i++, k++) { ca4[k] = ca3[i]; } } return ca4; }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/81a0eece47a6b5f01a9201699d7d2364fc0b93c5/PrintfFormat.java/clean/src/org/opencms/util/PrintfFormat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 1149, 8526, 425, 1630, 9537, 12, 9056, 619, 16, 1149, 425, 2156, 13, 288, 5411, 1149, 8526, 3474, 21, 16, 3474, 22, 16, 3474, 23, 31, 5411, 368, 509, 805, 9537, 33, 26, 31, 5411, 514, 13280, 31, 5411, 509, 277, 16, 525, 16, 417, 16, 293, 31, 5411, 509, 431, 500, 273, 374, 31, 5411, 509, 425, 1616, 16, 436, 1616, 16, 425, 1225, 31, 5411, 1250, 12647, 2766, 273, 629, 31, 5411, 309, 261, 92, 405, 374, 18, 20, 13, 288, 7734, 13280, 273, 3698, 18, 10492, 12, 92, 1769, 5411, 289, 469, 309, 261, 92, 411, 374, 18, 20, 13, 288, 7734, 13280, 273, 3698, 18, 10492, 19236, 92, 1769, 7734, 12647, 2766, 273, 638, 31, 5411, 289, 469, 288, 7734, 13280, 273, 3698, 18, 10492, 12, 92, 1769, 7734, 309, 261, 30319, 18, 3001, 861, 12, 20, 13, 422, 4014, 13, 288, 10792, 12647, 2766, 273, 638, 31, 10792, 13280, 273, 13280, 18, 28023, 12, 21, 1769, 7734, 289, 5411, 289, 5411, 425, 1616, 273, 13280, 18, 31806, 2668, 41, 8284, 5411, 309, 261, 73, 1616, 422, 300, 21, 13, 288, 7734, 425, 1616, 273, 13280, 18, 31806, 2668, 73, 8284, 5411, 289, 5411, 436, 1616, 273, 13280, 18, 31806, 2668, 1093, 1769, 5411, 309, 261, 73, 1616, 480, 300, 21, 13, 288, 7734, 509, 9228, 273, 425, 1616, 397, 404, 31, 7734, 431, 500, 273, 374, 31, 7734, 309, 261, 30319, 18, 3001, 861, 12, 1385, 13, 422, 4014, 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, 540, 3238, 1149, 8526, 425, 1630, 9537, 12, 9056, 619, 16, 1149, 425, 2156, 13, 288, 5411, 1149, 8526, 3474, 21, 16, 3474, 22, 16, 3474, 23, 31, 5411, 368, 509, 805, 9537, 33, 26, 31, 5411, 514, 13280, 31, 5411, 509, 277, 16, 525, 16, 417, 16, 293, 31, 5411, 509, 431, 500, 273, 374, 31, 5411, 509, 425, 1616, 16, 436, 1616, 16, 425, 1225, 31, 5411, 1250, 12647, 2766, 273, 629, 31, 5411, 309, 261, 92, 405, 374, 18, 20, 13, 288, 7734, 13280, 273, 3698, 18, 10492, 12, 92, 1769, 5411, 289, 469, 309, 261, 92, 411, 374, 18, 20, 13, 288, 7734, 13280, 273, 3698, 18, 10492, 19236, 92, 1769, 7734, 12647, 2766, 273, 2 ]
public void print(JSourceWriter jsw) {
public void print(final JSourceWriter jsw) {
public void print(JSourceWriter jsw) { print(jsw, true); } //-- print
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/34c708e3c0e8dd4b42534f5834f9a280e0c9968b/JMethodSignature.java/buggy/castor/trunk/src/main/java/org/exolab/javasource/JMethodSignature.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1172, 12, 6385, 804, 1830, 2289, 3828, 91, 13, 288, 3639, 1172, 12, 2924, 91, 16, 638, 1769, 565, 289, 368, 413, 1172, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1172, 12, 6385, 804, 1830, 2289, 3828, 91, 13, 288, 3639, 1172, 12, 2924, 91, 16, 638, 1769, 565, 289, 368, 413, 1172, 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 ]
prefix = (String) _prefixes.get(i);
prefix = (String) _prefixes.get(i) + ".";
protected boolean isInvalidProperty(String propName) { // handle warnings for openjpa.SomeString, but not for // openjpa.some.subpackage.SomeString, since it might be valid for some // specific implementation of OpenJPA boolean invalid = false; String prefix; for (int i = 0; i < _prefixes.size(); i++) { prefix = (String) _prefixes.get(i); if (propName.toLowerCase().startsWith(prefix) && propName.indexOf('.', prefix.length()) != -1) invalid = true; } return invalid; }
47053 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47053/3e758faf25866656ffe70054c9ebaf88d00483ef/ConfigurationImpl.java/buggy/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ConfigurationImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 353, 1941, 1396, 12, 780, 9994, 13, 288, 3639, 368, 1640, 5599, 364, 1696, 78, 8774, 18, 17358, 780, 16, 1496, 486, 364, 3639, 368, 1696, 78, 8774, 18, 19068, 18, 1717, 5610, 18, 17358, 780, 16, 3241, 518, 4825, 506, 923, 364, 2690, 3639, 368, 2923, 4471, 434, 3502, 46, 4066, 3639, 1250, 2057, 273, 629, 31, 3639, 514, 1633, 31, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 389, 17777, 18, 1467, 5621, 277, 27245, 288, 5411, 1633, 273, 261, 780, 13, 389, 17777, 18, 588, 12, 77, 13, 397, 4585, 31, 5411, 309, 261, 5986, 461, 18, 869, 5630, 7675, 17514, 1190, 12, 3239, 13, 7734, 597, 9994, 18, 31806, 2668, 1093, 16, 1633, 18, 2469, 10756, 480, 300, 21, 13, 7734, 2057, 273, 638, 31, 3639, 289, 3639, 327, 2057, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 353, 1941, 1396, 12, 780, 9994, 13, 288, 3639, 368, 1640, 5599, 364, 1696, 78, 8774, 18, 17358, 780, 16, 1496, 486, 364, 3639, 368, 1696, 78, 8774, 18, 19068, 18, 1717, 5610, 18, 17358, 780, 16, 3241, 518, 4825, 506, 923, 364, 2690, 3639, 368, 2923, 4471, 434, 3502, 46, 4066, 3639, 1250, 2057, 273, 629, 31, 3639, 514, 1633, 31, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 389, 17777, 18, 1467, 5621, 277, 27245, 288, 5411, 1633, 273, 261, 780, 13, 389, 17777, 18, 588, 12, 77, 13, 397, 4585, 31, 5411, 309, 261, 5986, 461, 18, 869, 5630, 7675, 17514, 1190, 12, 3239, 13, 7734, 597, 9994, 18, 31806, 2668, 2 ]
if (mFilter.containsRuleComponent(fc.getName())) {
if ((mFilter != null) && (mFilter.containsRuleComponent(fc.getName()))) {
public void actionPerformed(ActionEvent e) { Object o = e.getSource(); if (o == mNewBtn) { EditFilterComponentDlg dlg = new EditFilterComponentDlg(mParent); FilterComponent rule = dlg.getFilterComponent(); if (rule != null) { //FilterComponentItem item = new FilterComponentItem(rule); //item.setName(dlg.getName()); //item.setDescription(dlg.getDescription()); mComponentListModel.addElement(rule); tvbrowser.core.filters.FilterComponentList.getInstance().add(rule); String text = mFilterRuleTF.getText(); if (text.length() > 0) { text += " "+mFilterLocalizer.msg("or", "or")+" "; } //text+=dlg.getName(); text += rule.getName(); mFilterRuleTF.setText(text); } } else if (o == mEditBtn) { int inx = mRuleListBox.getSelectedIndex(); FilterComponent rule = (FilterComponent) mRuleListBox.getSelectedValue(); FilterComponentList.getInstance().remove(rule.getName()); mComponentListModel.removeElement(rule); EditFilterComponentDlg dlg = new EditFilterComponentDlg(mParent, rule); FilterComponent newRule = dlg.getFilterComponent(); if (newRule == null) { newRule = rule; } FilterComponentList.getInstance().add(newRule); mComponentListModel.addElement(newRule); mRuleListBox.repaint(); updateBtns(); } else if (o == mRuleListBox) { updateBtns(); } else if (o == mRemoveBtn) { boolean allowRemove = true; UserFilter[] userFilterArr = mFilterList.getUserFilterArr(); FilterComponent fc = (FilterComponent) mRuleListBox.getSelectedValue(); // Create the Filter based on the new Rule and check if the FC exists there UserFilter testFilter = new UserFilter("test"); try { testFilter.setRule(mFilterRuleTF.getText()); if (testFilter.containsRuleComponent(fc.getName())) { allowRemove = false; JOptionPane.showMessageDialog( this, mLocalizer.msg("usedByAnotherFilter","This filter component is used by filter '{0}'\nRemove the filter first.",mFilterNameTF.getText()) ); } } catch (Exception ex) { // Filter creation failed, asume the old one is correct if (mFilter.containsRuleComponent(fc.getName())) { allowRemove = false; JOptionPane.showMessageDialog( this, mLocalizer.msg("usedByAnotherFilter","This filter component is used by filter '{0}'\nRemove the filter first.",mFilterNameTF.getText()) ); } } for (int i = 0; i < userFilterArr.length && allowRemove; i++) { if ((userFilterArr[i] != mFilter) && userFilterArr[i].containsRuleComponent(fc.getName())) { allowRemove = false; JOptionPane.showMessageDialog( this, mLocalizer.msg("usedByAnotherFilter","This filter component is used by filter '{0}'\nRemove the filter first.",userFilterArr[i].toString()) ); } } if (allowRemove) { FilterComponentList.getInstance().remove(fc.getName()); mComponentListModel.remove(mRuleListBox.getSelectedIndex()); updateBtns(); } } else if (o == mOkBtn) { String filterName = mFilterNameTF.getText(); if (!filterName.equalsIgnoreCase(mFilterName) && mFilterList.containsFilter(filterName)) { JOptionPane.showMessageDialog( this, mLocalizer.msg("alreadyExists", "Filter '{0}' already exists.", filterName) ); } else { if (mFilter == null) { mFilter = new UserFilter(mFilterNameTF.getText()); } else { mFilter.setName(mFilterNameTF.getText()); } try { mFilter.setRule(mFilterRuleTF.getText()); FilterComponentList.getInstance().store(); hide(); } catch (ParserException exc) { JOptionPane.showMessageDialog( this, mLocalizer.msg("invalidRule", "Invalid rule: ") + exc.getMessage()); } } } else if (o == mCancelBtn) { hide(); } }
9266 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9266/dc66935e88e54728260f101b0f7c7a4e1fb06994/EditFilterDlg.java/clean/tvbrowser/src/tvbrowser/ui/filter/dlgs/EditFilterDlg.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 26100, 12, 1803, 1133, 425, 13, 288, 202, 202, 921, 320, 273, 425, 18, 588, 1830, 5621, 202, 202, 430, 261, 83, 422, 312, 1908, 20541, 13, 288, 1082, 202, 4666, 1586, 1841, 40, 23623, 25840, 273, 394, 15328, 1586, 1841, 40, 23623, 12, 81, 3054, 1769, 1082, 202, 1586, 1841, 1720, 273, 25840, 18, 588, 1586, 1841, 5621, 1082, 202, 430, 261, 5345, 480, 446, 13, 288, 9506, 202, 759, 1586, 1841, 1180, 761, 273, 394, 4008, 1841, 1180, 12, 5345, 1769, 9506, 202, 759, 1726, 18, 542, 461, 12, 5761, 75, 18, 17994, 10663, 9506, 202, 759, 1726, 18, 542, 3291, 12, 5761, 75, 18, 588, 3291, 10663, 9506, 202, 81, 1841, 682, 1488, 18, 1289, 1046, 12, 5345, 1769, 9506, 202, 24161, 11213, 18, 3644, 18, 6348, 18, 1586, 1841, 682, 18, 588, 1442, 7675, 1289, 12, 5345, 1769, 9506, 202, 780, 977, 273, 312, 1586, 2175, 17963, 18, 588, 1528, 5621, 9506, 202, 430, 261, 955, 18, 2469, 1435, 405, 374, 13, 288, 6862, 202, 955, 1011, 315, 13773, 81, 1586, 2042, 1824, 18, 3576, 2932, 280, 3113, 315, 280, 7923, 9078, 13636, 9506, 202, 97, 9506, 202, 759, 955, 15, 33, 5761, 75, 18, 17994, 5621, 9506, 202, 955, 1011, 1720, 18, 17994, 5621, 9506, 202, 81, 1586, 2175, 17963, 18, 542, 1528, 12, 955, 1769, 1082, 202, 97, 202, 202, 97, 469, 309, 261, 83, 422, 312, 4666, 20541, 13, 288, 1082, 202, 474, 316, 92, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 26100, 12, 1803, 1133, 425, 13, 288, 202, 202, 921, 320, 273, 425, 18, 588, 1830, 5621, 202, 202, 430, 261, 83, 422, 312, 1908, 20541, 13, 288, 1082, 202, 4666, 1586, 1841, 40, 23623, 25840, 273, 394, 15328, 1586, 1841, 40, 23623, 12, 81, 3054, 1769, 1082, 202, 1586, 1841, 1720, 273, 25840, 18, 588, 1586, 1841, 5621, 1082, 202, 430, 261, 5345, 480, 446, 13, 288, 9506, 202, 759, 1586, 1841, 1180, 761, 273, 394, 4008, 1841, 1180, 12, 5345, 1769, 9506, 202, 759, 1726, 18, 542, 461, 12, 5761, 75, 18, 17994, 10663, 9506, 202, 759, 1726, 18, 542, 3291, 12, 5761, 75, 18, 588, 3291, 10663, 9506, 202, 81, 1841, 682, 2 ]
if (jj_3R_412()) return true;
if (jj_3R_109()) return true; if (jj_scan_token(IDENTIFIER)) return true; if (jj_3R_409()) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_410()) jj_scanpos = xsp; if (jj_scan_token(LBRACE)) return true; xsp = jj_scanpos; if (jj_3R_411()) jj_scanpos = xsp; while (true) { xsp = jj_scanpos; if (jj_3R_412()) { jj_scanpos = xsp; break; } } if (jj_scan_token(RBRACE)) return true;
final private boolean jj_3R_393() { if (jj_3R_412()) return true; return false; }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/9aa0c6bec51662a685ea4b86bc02a52c9e593d8a/Parser.java/clean/dynamicjava/src/koala/dynamicjava/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 5520, 23, 1435, 288, 565, 309, 261, 78, 78, 67, 23, 54, 67, 22267, 10756, 327, 638, 31, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 16606, 3719, 327, 638, 31, 309, 261, 78, 78, 67, 23, 54, 67, 24, 5908, 10756, 327, 638, 31, 3155, 619, 1752, 31, 619, 1752, 273, 10684, 67, 9871, 917, 31, 309, 261, 78, 78, 67, 23, 54, 67, 24, 2163, 10756, 10684, 67, 9871, 917, 273, 619, 1752, 31, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 12995, 9254, 3719, 327, 638, 31, 619, 1752, 273, 10684, 67, 9871, 917, 31, 309, 261, 78, 78, 67, 23, 54, 67, 24, 2499, 10756, 10684, 67, 9871, 917, 273, 619, 1752, 31, 1323, 261, 3767, 13, 288, 619, 1752, 273, 10684, 67, 9871, 917, 31, 309, 261, 78, 78, 67, 23, 54, 67, 24, 2138, 10756, 288, 10684, 67, 9871, 917, 273, 619, 1752, 31, 898, 31, 289, 289, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 19437, 9254, 3719, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 5520, 23, 1435, 288, 565, 309, 261, 78, 78, 67, 23, 54, 67, 22267, 10756, 327, 638, 31, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 16606, 3719, 327, 638, 31, 309, 261, 78, 78, 67, 23, 54, 67, 24, 5908, 10756, 327, 638, 31, 3155, 619, 1752, 31, 619, 1752, 273, 10684, 67, 9871, 917, 31, 309, 261, 78, 78, 67, 23, 54, 67, 24, 2163, 10756, 10684, 67, 9871, 917, 273, 619, 1752, 31, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 12995, 9254, 3719, 327, 638, 31, 619, 1752, 273, 10684, 67, 9871, 917, 31, 309, 261, 78, 78, 67, 23, 54, 67, 24, 2499, 2 ]
if (allRows instanceof Results) { Results results = (Results) allRows;
for (Iterator rowIterator = allRows.iterator(); rowIterator.hasNext();) { List thisRow = (List) rowIterator.next();
public ActionForward saveBag(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws ServletException { HttpSession session = request.getSession(); ServletContext servletContext = session.getServletContext(); Profile profile = (Profile) session.getAttribute(Constants.PROFILE); //PagedTable pt = (PagedTable) session.getAttribute(Constants.RESULTS_TABLE); PagedTable pt = SessionMethods.getResultsTable(session, request.getParameter("table")); SaveBagForm crf = (SaveBagForm) form; InterMineBag bag = null; boolean storingIds = false; int defaultMax = 10000; int maxBagSize = WebUtil.getIntSessionProperty(session, "max.bag.size", defaultMax); // Create the right kind of bag String selected = crf.getSelectedObjects()[0]; int index = selected.indexOf(","); int col = Integer.parseInt(index == -1 ? selected : selected.substring(0, index)); Object type = ((Column) pt.getColumns().get(col)).getType(); if (type instanceof ClassDescriptor) { bag = new InterMineIdBag(); storingIds = true; } else { bag = new InterMinePrimitiveBag(); } // Go through the selected items and add to the set for (Iterator itemIterator = Arrays.asList(crf.getSelectedObjects()).iterator(); itemIterator.hasNext();) { String selectedObject = (String) itemIterator.next(); // selectedObject is of the form "column,row" or "column" int commaIndex = selectedObject.indexOf(","); if (commaIndex == -1) { int column = Integer.parseInt(selectedObject); List allRows = pt.getAllRows(); if (allRows instanceof Results) { Results results = (Results) allRows; if (results.size() > maxBagSize) { ActionMessage actionMessage = new ActionMessage("bag.tooBig", new Integer(maxBagSize)); recordError(actionMessage, request); return mapping.findForward("results"); } try { // make a copy of the Results object with a larger batch size so the object // store doesn't need to do lots of queries // we copy because setBatchSize() throws an exception if size() has already // been called Results newResults = results.getObjectStore().execute(results.getQuery()); if (maxBagSize > results.getObjectStore().getMaxLimit()) { newResults.setBatchSize(results.getObjectStore().getMaxLimit()); } else { newResults.setBatchSize(maxBagSize); } // make sure we can get the first batch try { newResults.get(0); } catch (IndexOutOfBoundsException e) { // Ignore - that means there are NO rows in this results object. } allRows = newResults; } catch (RuntimeException e) { if (e.getCause() instanceof ObjectStoreException) { recordError(new ActionMessage("errors.query.objectstoreerror"), request, (ObjectStoreException) e.getCause(), LOG); return mapping.findForward("results"); } throw e; } catch (ObjectStoreException e) { recordError(new ActionMessage("errors.query.objectstoreerror"), request, e, LOG); return mapping.findForward("results"); } } for (Iterator rowIterator = allRows.iterator(); rowIterator.hasNext();) { List thisRow = (List) rowIterator.next(); if (storingIds) { Integer id = ((InterMineObject) thisRow.get(column)).getId(); bag.add(id); } else { bag.add(thisRow.get(column)); } if (bag.size() > maxBagSize) { ActionMessage actionMessage = new ActionMessage("bag.tooBig", new Integer(maxBagSize)); recordError(actionMessage, request); return mapping.findForward("results"); } } } else { // use the column,row to pick out the object from PagedTable int column = Integer.parseInt(selectedObject.substring(0, commaIndex)); int row = Integer.parseInt(selectedObject.substring(commaIndex + 1)); Object value = ((List) pt.getRows().get(row)).get(column); if (storingIds) { Integer id = ((InterMineObject) value).getId(); bag.add(id); } else { bag.add(value); } if (bag.size() > maxBagSize) { ActionMessage actionMessage = new ActionMessage("bag.tooBig", new Integer(maxBagSize)); recordError(actionMessage, request); return mapping.findForward("results"); } } } String bagName; if (request.getParameter("saveNewBag") != null) { bagName = crf.getNewBagName(); } else { bagName = crf.getExistingBagName(); } InterMineBag existingBag = (InterMineBag) profile.getSavedBags().get(bagName); if (existingBag != null) { if (!existingBag.getClass().equals(bag.getClass())) { recordError(new ActionMessage("bag.typesDontMatch"), request); return mapping.findForward("results"); } bag.addAll(existingBag); } if (bag.size() > maxBagSize) { ActionMessage actionMessage = new ActionMessage("bag.tooBig", new Integer(maxBagSize)); recordError(actionMessage, request); return mapping.findForward("results"); } profile.saveBag(bagName, bag); recordMessage(new ActionMessage("bag.saved", bagName), request); return mapping.findForward("results"); }
29158 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29158/5184009a6198f2907d8c92b488bb32928005458c/SaveBagAction.java/buggy/intermine/web/main/src/org/intermine/web/results/SaveBagAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4382, 8514, 1923, 5013, 12, 1803, 3233, 2874, 16, 4766, 4382, 1204, 646, 16, 4766, 9984, 590, 16, 4766, 12446, 766, 13, 3639, 1216, 16517, 288, 3639, 26166, 1339, 273, 590, 18, 588, 2157, 5621, 3639, 22717, 20474, 273, 1339, 18, 588, 4745, 1042, 5621, 3639, 11357, 3042, 273, 261, 4029, 13, 1339, 18, 588, 1499, 12, 2918, 18, 22462, 1769, 3639, 368, 10156, 329, 1388, 5818, 273, 261, 10156, 329, 1388, 13, 1339, 18, 588, 1499, 12, 2918, 18, 20602, 67, 7775, 1769, 3639, 7724, 329, 1388, 5818, 273, 3877, 4712, 18, 588, 3447, 1388, 12, 3184, 16, 590, 18, 588, 1662, 2932, 2121, 7923, 1769, 3639, 7074, 5013, 1204, 4422, 74, 273, 261, 4755, 5013, 1204, 13, 646, 31, 3639, 5294, 49, 558, 5013, 13189, 273, 446, 31, 3639, 1250, 15729, 2673, 273, 629, 31, 3639, 509, 805, 2747, 273, 12619, 31, 3639, 509, 943, 5013, 1225, 273, 2999, 1304, 18, 588, 1702, 2157, 1396, 12, 3184, 16, 315, 1896, 18, 22551, 18, 1467, 3113, 805, 2747, 1769, 3639, 368, 1788, 326, 2145, 3846, 434, 13189, 3639, 514, 3170, 273, 4422, 74, 18, 588, 7416, 4710, 1435, 63, 20, 15533, 3639, 509, 770, 273, 3170, 18, 31806, 2932, 16, 8863, 3639, 509, 645, 273, 2144, 18, 2670, 1702, 12, 1615, 422, 300, 21, 692, 3170, 294, 3170, 18, 28023, 12, 20, 16, 770, 10019, 3639, 1033, 618, 273, 14015, 1494, 13, 5818, 18, 588, 3380, 7675, 588, 12, 1293, 13, 2934, 588, 559, 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, 4382, 8514, 1923, 5013, 12, 1803, 3233, 2874, 16, 4766, 4382, 1204, 646, 16, 4766, 9984, 590, 16, 4766, 12446, 766, 13, 3639, 1216, 16517, 288, 3639, 26166, 1339, 273, 590, 18, 588, 2157, 5621, 3639, 22717, 20474, 273, 1339, 18, 588, 4745, 1042, 5621, 3639, 11357, 3042, 273, 261, 4029, 13, 1339, 18, 588, 1499, 12, 2918, 18, 22462, 1769, 3639, 368, 10156, 329, 1388, 5818, 273, 261, 10156, 329, 1388, 13, 1339, 18, 588, 1499, 12, 2918, 18, 20602, 67, 7775, 1769, 3639, 7724, 329, 1388, 5818, 273, 3877, 4712, 18, 588, 3447, 1388, 12, 3184, 16, 590, 18, 588, 1662, 2932, 2121, 7923, 1769, 3639, 7074, 5013, 1204, 4422, 74, 273, 261, 4755, 5013, 2 ]
queryString.append("SELECT * FROM UP_PERMISSIONS WHERE OWNER = '" + m_owner.toUpperCase() + "'"); queryString.append(" AND PRINCIPAL = '" + principal.toUpperCase() + "'"); queryString.append(" AND ACTIVITY = '" + activity.toUpperCase() + "'"); queryString.append(" AND TARGET = '" + target.toUpperCase() + "'"); queryString.append(" AND PERMISSION_TYPE = '" + type.toUpperCase() + "'");
queryString.append("SELECT * FROM UP_PERMISSIONS WHERE OWNER = '"); queryString.append(m_owner.toUpperCase()); queryString.append("'"); queryString.append(" AND PRINCIPAL = '"); queryString.append(principal.toUpperCase()); queryString.append("'"); queryString.append(" AND ACTIVITY = '"); queryString.append(activity.toUpperCase()); queryString.append("'"); queryString.append(" AND TARGET = '"); queryString.append(target.toUpperCase()); queryString.append("'"); queryString.append(" AND PERMISSION_TYPE = '"); queryString.append(type.toUpperCase()); queryString.append("'");
public Permission[] getPermissions (String principal, String activity, String target, String type) throws AuthorizationException { if (principal == null) { principal = "*"; } if (activity == null) { activity = "*"; } if (target == null) { target = "*"; } if (type == null) { type = "*"; } Connection connection = RdbmServices.getConnection(); try { StringBuffer queryString = new StringBuffer(255); queryString.append("SELECT * FROM UP_PERMISSIONS WHERE OWNER = '" + m_owner.toUpperCase() + "'"); queryString.append(" AND PRINCIPAL = '" + principal.toUpperCase() + "'"); queryString.append(" AND ACTIVITY = '" + activity.toUpperCase() + "'"); queryString.append(" AND TARGET = '" + target.toUpperCase() + "'"); queryString.append(" AND PERMISSION_TYPE = '" + type.toUpperCase() + "'"); Statement statement = connection.createStatement(); LogService.log(LogService.DEBUG, queryString.toString()); ResultSet rs = statement.executeQuery(queryString.toString()); ArrayList permissions = new ArrayList(); while (rs.next()) { Permission permission = new ReferencePermission(m_owner); permission.setPrincipal(rs.getString("PRINCIPAL")); permission.setActivity(rs.getString("ACTIVITY")); permission.setTarget(rs.getString("TARGET")); permission.setType(rs.getString("PERMISSION_TYPE")); permission.setEffective(rs.getDate("EFFECTIVE")); permission.setExpires(rs.getDate("EXPIRES")); permissions.add(permission); } // Return the array of permissions return ((Permission[])permissions.toArray(new Permission[0])); } catch (Exception e) { throw new AuthorizationException(e.getMessage()); } finally { RdbmServices.releaseConnection(connection); } }
1895 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1895/428ba0e65a8cc2f40ba3cd788c3a67cf9e0d870b/ReferencePermissionManager.java/buggy/source/org/jasig/portal/security/provider/ReferencePermissionManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8509, 8526, 25021, 261, 780, 8897, 16, 514, 5728, 16, 514, 1018, 16, 514, 618, 13, 1216, 10234, 503, 288, 565, 309, 261, 26138, 422, 446, 13, 288, 1377, 8897, 273, 10971, 31, 565, 289, 565, 309, 261, 9653, 422, 446, 13, 288, 1377, 5728, 273, 10971, 31, 565, 289, 565, 309, 261, 3299, 422, 446, 13, 288, 1377, 1018, 273, 10971, 31, 565, 289, 565, 309, 261, 723, 422, 446, 13, 288, 1377, 618, 273, 10971, 31, 565, 289, 565, 4050, 1459, 273, 534, 1966, 81, 5676, 18, 588, 1952, 5621, 565, 775, 288, 1377, 6674, 11337, 273, 394, 6674, 12, 10395, 1769, 1377, 11337, 18, 6923, 2932, 4803, 380, 4571, 7376, 67, 23330, 55, 4852, 531, 22527, 273, 2119, 397, 312, 67, 8443, 18, 869, 8915, 1435, 397, 5862, 1769, 1377, 11337, 18, 6923, 2932, 4116, 11770, 23213, 2579, 1013, 273, 2119, 397, 8897, 18, 869, 8915, 1435, 397, 5862, 1769, 1377, 11337, 18, 6923, 2932, 4116, 14684, 8188, 4107, 273, 2119, 397, 5728, 18, 869, 8915, 1435, 397, 5862, 1769, 1377, 11337, 18, 6923, 2932, 4116, 16964, 273, 2119, 397, 1018, 18, 869, 8915, 1435, 397, 5862, 1769, 1377, 11337, 18, 6923, 2932, 4116, 30283, 67, 2399, 273, 2119, 397, 618, 18, 869, 8915, 1435, 397, 5862, 1769, 1377, 8056, 3021, 273, 1459, 18, 2640, 3406, 5621, 1377, 1827, 1179, 18, 1330, 12, 1343, 1179, 18, 9394, 16, 11337, 18, 10492, 10663, 1377, 10842, 3597, 273, 3021, 18, 8837, 1138, 12, 2271, 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, 8509, 8526, 25021, 261, 780, 8897, 16, 514, 5728, 16, 514, 1018, 16, 514, 618, 13, 1216, 10234, 503, 288, 565, 309, 261, 26138, 422, 446, 13, 288, 1377, 8897, 273, 10971, 31, 565, 289, 565, 309, 261, 9653, 422, 446, 13, 288, 1377, 5728, 273, 10971, 31, 565, 289, 565, 309, 261, 3299, 422, 446, 13, 288, 1377, 1018, 273, 10971, 31, 565, 289, 565, 309, 261, 723, 422, 446, 13, 288, 1377, 618, 273, 10971, 31, 565, 289, 565, 4050, 1459, 273, 534, 1966, 81, 5676, 18, 588, 1952, 5621, 565, 775, 288, 1377, 6674, 11337, 273, 394, 6674, 12, 10395, 1769, 1377, 11337, 18, 6923, 2932, 4803, 380, 4571, 7376, 67, 23330, 55, 4852, 2 ]
private void updateParams(Properties props) { communityToMonitor = props.getProperty("community"); String specifiedRestartNodes = restartLocatorProps.getProperty("restartNodes"); if (specifiedRestartNodes != null && specifiedRestartNodes.trim().length() > 0) { Attribute restartNodesAttr = new BasicAttribute("RestartNode"); StringTokenizer st = new StringTokenizer(specifiedRestartNodes, " "); while (st.hasMoreTokens()) { restartNodesAttr.add(st.nextToken()); } ModificationItem mods[] = new ModificationItem[]{ new ModificationItem(DirContext.REPLACE_ATTRIBUTE, restartNodesAttr), }; //communityService.modifyEntityAttributes(communityToMonitor, myAgent.toString(), mods); communityService.modifyCommunityAttributes(communityToMonitor, mods); } Attribute restartHostsAttr = new BasicAttribute("RestartHosts"); String specifiedRestartHosts = restartLocatorProps.getProperty("restartHosts"); if (specifiedRestartHosts != null && specifiedRestartHosts.trim().length() > 0) { StringTokenizer st = new StringTokenizer(specifiedRestartHosts, " "); while (st.hasMoreTokens()) { restartHostsAttr.add(st.nextToken()); } ModificationItem mods[] = new ModificationItem[]{ new ModificationItem(DirContext.REPLACE_ATTRIBUTE, restartHostsAttr), }; //communityService.modifyEntityAttributes(communityToMonitor, myAgent.toString(), mods); communityService.modifyCommunityAttributes(communityToMonitor, mods); } //log.debug("UpdateParams: " + myAttrs.size() + // " restartHosts=[" + specifiedRestartHosts + // "] restartNodes=[" + specifiedRestartNodes + "]"); }
11869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11869/060c613dd22562b0af07c014a9b4bcf6c1441ae5/RestartLocatorPlugin.java/buggy/mgmt_agent/src/org/cougaar/tools/robustness/ma/plugins/RestartLocatorPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 2725, 1370, 12, 2297, 9693, 15329, 20859, 774, 7187, 33, 9693, 18, 588, 1396, 2932, 20859, 8863, 780, 13827, 15057, 3205, 33, 19164, 5786, 5047, 18, 588, 1396, 2932, 19164, 3205, 8863, 430, 12, 13827, 15057, 3205, 5, 33, 2011, 10, 10, 13827, 15057, 3205, 18, 5290, 7675, 2469, 1435, 34, 20, 15329, 12399, 26812, 27893, 3205, 3843, 33, 2704, 8252, 1499, 2932, 15057, 907, 8863, 780, 10524, 334, 33, 2704, 780, 10524, 12, 13827, 15057, 3205, 16, 3660, 1769, 17523, 12, 334, 18, 5332, 7417, 5157, 10756, 95, 19164, 3205, 3843, 18, 1289, 12, 334, 18, 4285, 1345, 10663, 97, 13467, 1180, 22760, 8526, 33, 2704, 13467, 1180, 63, 7073, 2704, 13467, 1180, 12, 1621, 1042, 18, 21726, 67, 11616, 16, 19164, 3205, 3843, 3631, 20451, 759, 20859, 1179, 18, 17042, 1943, 2498, 12, 20859, 774, 7187, 16, 4811, 3630, 18, 10492, 9334, 22760, 1769, 20859, 1179, 18, 17042, 12136, 13352, 2498, 12, 20859, 774, 7187, 16, 22760, 1769, 97, 12399, 26812, 27893, 12172, 3843, 33, 2704, 8252, 1499, 2932, 15057, 12172, 8863, 780, 13827, 15057, 12172, 33, 19164, 5786, 5047, 18, 588, 1396, 2932, 19164, 12172, 8863, 430, 12, 13827, 15057, 12172, 5, 33, 2011, 10, 10, 13827, 15057, 12172, 18, 5290, 7675, 2469, 1435, 34, 20, 15329, 780, 10524, 334, 33, 2704, 780, 10524, 12, 13827, 15057, 12172, 16, 3660, 1769, 17523, 12, 334, 18, 5332, 7417, 5157, 10756, 95, 19164, 12172, 3843, 18, 1289, 12, 334, 18, 4285, 1345, 10663, 97, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 2725, 1370, 12, 2297, 9693, 15329, 20859, 774, 7187, 33, 9693, 18, 588, 1396, 2932, 20859, 8863, 780, 13827, 15057, 3205, 33, 19164, 5786, 5047, 18, 588, 1396, 2932, 19164, 3205, 8863, 430, 12, 13827, 15057, 3205, 5, 33, 2011, 10, 10, 13827, 15057, 3205, 18, 5290, 7675, 2469, 1435, 34, 20, 15329, 12399, 26812, 27893, 3205, 3843, 33, 2704, 8252, 1499, 2932, 15057, 907, 8863, 780, 10524, 334, 33, 2704, 780, 10524, 12, 13827, 15057, 3205, 16, 3660, 1769, 17523, 12, 334, 18, 5332, 7417, 5157, 10756, 95, 19164, 3205, 3843, 18, 1289, 12, 334, 18, 4285, 1345, 10663, 97, 13467, 1180, 22760, 8526, 33, 2704, 13467, 1180, 63, 7073, 2704, 13467, 1180, 12, 1621, 1042, 2 ]
if (isCreating || SessionHandleAdapter.getInstance().getReportDesignHandle() instanceof LibraryHandle)
boolean validateTrue = false; updateTargetUnderMouse( ); if (isCreating || getTargetEditPart().getModel() instanceof LibraryHandle)
protected boolean handleMove( ) { if (isCreating || SessionHandleAdapter.getInstance().getReportDesignHandle() instanceof LibraryHandle) { return true; } boolean validateTrue = false; updateTargetUnderMouse( ); if ( getTargetEditPart( ) != null ) { validateTrue = handleValidatePalette( getFactory( ).getObjectType( ), getTargetEditPart( ) ); } if ( validateTrue ) { updateTargetRequest( ); setCurrentCommand( getCommand( ) ); showTargetFeedback( ); } else { setCurrentCommand( null ); } return validateTrue; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/f38c690bd559ddd32781fc83f6c67731de97fbce/ReportCreationTool.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/tools/ReportCreationTool.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 1640, 7607, 12, 262, 202, 95, 202, 202, 430, 261, 291, 11092, 747, 3877, 3259, 4216, 18, 588, 1442, 7675, 588, 4820, 15478, 3259, 1435, 1276, 18694, 3259, 13, 202, 202, 95, 1082, 202, 2463, 638, 31, 202, 202, 97, 202, 202, 6494, 1954, 5510, 273, 629, 31, 202, 202, 2725, 2326, 14655, 9186, 12, 11272, 202, 202, 430, 261, 8571, 4666, 1988, 12, 262, 480, 446, 262, 202, 202, 95, 1082, 202, 5662, 5510, 273, 1640, 4270, 25863, 12, 19352, 12, 262, 18, 588, 17610, 12, 262, 16, 6862, 202, 588, 2326, 4666, 1988, 12, 262, 11272, 202, 202, 97, 202, 202, 430, 261, 1954, 5510, 262, 202, 202, 95, 1082, 202, 2725, 2326, 691, 12, 11272, 1082, 202, 542, 3935, 2189, 12, 12856, 12, 262, 11272, 1082, 202, 4500, 2326, 15888, 12, 11272, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 542, 3935, 2189, 12, 446, 11272, 202, 202, 97, 202, 202, 2463, 1954, 5510, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 1640, 7607, 12, 262, 202, 95, 202, 202, 430, 261, 291, 11092, 747, 3877, 3259, 4216, 18, 588, 1442, 7675, 588, 4820, 15478, 3259, 1435, 1276, 18694, 3259, 13, 202, 202, 95, 1082, 202, 2463, 638, 31, 202, 202, 97, 202, 202, 6494, 1954, 5510, 273, 629, 31, 202, 202, 2725, 2326, 14655, 9186, 12, 11272, 202, 202, 430, 261, 8571, 4666, 1988, 12, 262, 480, 446, 262, 202, 202, 95, 1082, 202, 5662, 5510, 273, 1640, 4270, 25863, 12, 19352, 12, 262, 18, 588, 17610, 12, 262, 16, 6862, 202, 588, 2326, 4666, 1988, 12, 262, 11272, 202, 202, 97, 202, 202, 430, 261, 1954, 5510, 262, 202, 202, 95, 1082, 202, 2725, 2326, 2 ]
public void createIntergenicRegionFeatures() throws ObjectStoreException { Results results = PostProcessUtil.findLocations(os, Chromosome.class, Gene.class); results.setBatchSize(500); dataSet = (DataSet) DynamicUtil.createObject(Collections.singleton(DataSet.class)); dataSet.setTitle("FlyMine intergenic regions"); dataSet.setDescription("Intergenic regions created by FlyMine"); dataSet.setVersion("" + new Date()); // current time and date dataSet.setUrl("http://www.flymine.org"); dataSet.setDataSource(dataSource); Iterator resIter = results.iterator(); Integer previousChrId = null; Set locationSet = new HashSet(); while (resIter.hasNext()) { ResultsRow rr = (ResultsRow) resIter.next(); Integer chrId = (Integer) rr.get(0); Location loc = (Location) rr.get(1); if (previousChrId != null && !chrId.equals(previousChrId)) { Iterator irIter = createIntergenicRegionFeatures(locationSet, previousChrId); storeItergenicRegions(osw, irIter); locationSet = new HashSet(); } locationSet.add(loc); previousChrId = chrId; } if (previousChrId != null) { Iterator irIter = createIntergenicRegionFeatures(locationSet, previousChrId); storeItergenicRegions(osw, irIter); // we've created some IntergenicRegion objects so store() the DataSet osw.store(dataSet); } }
29158 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29158/0deea374f54d7613d8da940b1ad34da82ec540c1/IntergenicRegionUtil.java/clean/flymine/model/genomic/src/java/org/flymine/postprocess/IntergenicRegionUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 752, 2465, 4507, 335, 5165, 8696, 1435, 1216, 1033, 21151, 288, 3639, 10351, 1686, 273, 5411, 5616, 2227, 1304, 18, 4720, 10985, 12, 538, 16, 1680, 520, 16958, 18, 1106, 16, 611, 4009, 18, 1106, 1769, 3639, 1686, 18, 542, 23304, 12, 12483, 1769, 3639, 14837, 273, 261, 13676, 13, 12208, 1304, 18, 2640, 921, 12, 15150, 18, 24487, 12, 13676, 18, 1106, 10019, 3639, 14837, 18, 542, 4247, 2932, 42, 715, 49, 558, 1554, 4507, 335, 10085, 8863, 3639, 14837, 18, 542, 3291, 2932, 2465, 4507, 335, 10085, 2522, 635, 478, 715, 49, 558, 8863, 3639, 14837, 18, 542, 1444, 2932, 6, 397, 394, 2167, 10663, 368, 783, 813, 471, 1509, 3639, 14837, 18, 542, 1489, 2932, 2505, 2207, 5591, 18, 29670, 3081, 18, 3341, 8863, 3639, 14837, 18, 542, 8597, 12, 892, 1830, 1769, 4766, 1377, 4498, 400, 2360, 273, 1686, 18, 9838, 5621, 3639, 2144, 2416, 782, 86, 548, 273, 446, 31, 3639, 1000, 2117, 694, 273, 394, 6847, 5621, 7734, 1323, 261, 455, 2360, 18, 5332, 2134, 10756, 288, 5411, 10351, 1999, 8354, 273, 261, 3447, 1999, 13, 400, 2360, 18, 4285, 5621, 5411, 2144, 4513, 548, 273, 261, 4522, 13, 8354, 18, 588, 12, 20, 1769, 5411, 7050, 1515, 273, 261, 2735, 13, 8354, 18, 588, 12, 21, 1769, 5411, 309, 261, 11515, 782, 86, 548, 480, 446, 597, 401, 15182, 548, 18, 14963, 12, 11515, 782, 86, 548, 3719, 288, 7734, 4498, 9482, 2360, 273, 752, 2465, 4507, 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, 752, 2465, 4507, 335, 5165, 8696, 1435, 1216, 1033, 21151, 288, 3639, 10351, 1686, 273, 5411, 5616, 2227, 1304, 18, 4720, 10985, 12, 538, 16, 1680, 520, 16958, 18, 1106, 16, 611, 4009, 18, 1106, 1769, 3639, 1686, 18, 542, 23304, 12, 12483, 1769, 3639, 14837, 273, 261, 13676, 13, 12208, 1304, 18, 2640, 921, 12, 15150, 18, 24487, 12, 13676, 18, 1106, 10019, 3639, 14837, 18, 542, 4247, 2932, 42, 715, 49, 558, 1554, 4507, 335, 10085, 8863, 3639, 14837, 18, 542, 3291, 2932, 2465, 4507, 335, 10085, 2522, 635, 478, 715, 49, 558, 8863, 3639, 14837, 18, 542, 1444, 2932, 6, 397, 394, 2167, 10663, 368, 783, 813, 471, 1509, 3639, 14837, 18, 542, 2 ]
AST tmp1489_AST_in = (AST)_t;
AST tmp1488_AST_in = (AST)_t;
public final void rawtransferstate(AST _t) throws RecognitionException { AST rawtransferstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1040 = _t; AST tmp1489_AST_in = (AST)_t; match(_t,RAWTRANSFER); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case BUFFER: { AST tmp1490_AST_in = (AST)_t; match(_t,BUFFER); _t = _t.getNextSibling(); break; } case FIELD: { AST tmp1491_AST_in = (AST)_t; match(_t,FIELD); _t = _t.getNextSibling(); break; } case Field_ref: case RECORD_NAME: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case RECORD_NAME: { tbl(_t,CQ.REF); _t = _retTree; break; } case Field_ref: { fld(_t,CQ.REF); _t = _retTree; break; } default: { throw new NoViableAltException(_t); } } } AST tmp1492_AST_in = (AST)_t; match(_t,TO); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case BUFFER: { AST tmp1493_AST_in = (AST)_t; match(_t,BUFFER); _t = _t.getNextSibling(); break; } case FIELD: { AST tmp1494_AST_in = (AST)_t; match(_t,FIELD); _t = _t.getNextSibling(); break; } case Field_ref: case RECORD_NAME: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case RECORD_NAME: { tbl(_t,CQ.UPDATING); _t = _retTree; break; } case Field_ref: { fld(_t,CQ.UPDATING); _t = _retTree; break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NOERROR_KW: { AST tmp1495_AST_in = (AST)_t; match(_t,NOERROR_KW); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; _t = __t1040; _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, 1831, 13866, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1831, 13866, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 2163, 7132, 273, 389, 88, 31, 202, 202, 9053, 1853, 3461, 6675, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 10821, 16596, 6553, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 25859, 30, 202, 202, 95, 1082, 202, 9053, 1853, 3461, 9349, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 11302, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 9921, 30, 202, 202, 95, 1082, 202, 9053, 1853, 3461, 12416, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 6776, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 2286, 67, 1734, 30, 202, 202, 3593, 24346, 67, 1985, 30, 202, 202, 95, 1082, 202, 8820, 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, 225, 202, 482, 727, 918, 1831, 13866, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1831, 13866, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 2163, 7132, 273, 389, 88, 31, 202, 202, 9053, 1853, 3461, 6675, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 10821, 16596, 6553, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 2 ]
else if ( Module.THEME_PROP.equals( propName ) )
else if ( IModuleModel.THEME_PROP.equals( propName ) )
private void setIntrinsicProperty( ElementPropertyDefn prop, Object value ) throws SemanticException { String propName = prop.getName( ); if ( DesignElement.NAME_PROP.equals( propName ) ) { String name = (String) value; NameCommand cmd = new NameCommand( module, element ); cmd.setName( name ); } else if ( DesignElement.EXTENDS_PROP.equals( propName ) ) { ExtendsCommand cmd = new ExtendsCommand( module, element ); cmd.setExtendsRefValue( (ElementRefValue) value ); } else if ( StyledElement.STYLE_PROP.equals( propName ) ) { // the value must be a type of ElementRefValue or null StyleCommand cmd = new StyleCommand( module, element ); cmd.setStyleRefValue( (ElementRefValue) value ); } else if ( ReportDesign.UNITS_PROP.equals( propName ) ) { doSetProperty( prop, value ); } else if ( IExtendedItemModel.EXTENSION_NAME_PROP.equals( propName ) ) { doSetProperty( prop, value ); } else if ( Module.THEME_PROP.equals( propName ) ) { assert module == element; ThemeCommand cmd = new ThemeCommand( (Module) element ); cmd.setThemeRefValue( (ElementRefValue) value ); } else { // Other intrinsics properties will be added here. assert false; } }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/d802c33711e0d111551ae23575895cd060f085b6/PropertyCommand.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/PropertyCommand.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 444, 382, 21760, 1396, 12, 3010, 1396, 3262, 82, 2270, 16, 1033, 460, 262, 1082, 202, 15069, 24747, 503, 202, 95, 202, 202, 780, 9994, 273, 2270, 18, 17994, 12, 11272, 202, 202, 430, 261, 29703, 1046, 18, 1985, 67, 15811, 18, 14963, 12, 9994, 262, 262, 202, 202, 95, 1082, 202, 780, 508, 273, 261, 780, 13, 460, 31, 1082, 202, 461, 2189, 1797, 273, 394, 1770, 2189, 12, 1605, 16, 930, 11272, 1082, 202, 4172, 18, 542, 461, 12, 508, 11272, 202, 202, 97, 202, 202, 12107, 309, 261, 29703, 1046, 18, 4142, 1157, 3948, 67, 15811, 18, 14963, 12, 9994, 262, 262, 202, 202, 95, 1082, 202, 19581, 2189, 1797, 273, 394, 6419, 5839, 2189, 12, 1605, 16, 930, 11272, 1082, 202, 4172, 18, 542, 19581, 30556, 12, 261, 1046, 30556, 13, 460, 11272, 202, 202, 97, 202, 202, 12107, 309, 261, 934, 93, 1259, 1046, 18, 15066, 67, 15811, 18, 14963, 12, 9994, 262, 262, 202, 202, 95, 1082, 202, 759, 326, 460, 1297, 506, 279, 618, 434, 3010, 30556, 578, 446, 1082, 202, 2885, 2189, 1797, 273, 394, 9767, 2189, 12, 1605, 16, 930, 11272, 1082, 202, 4172, 18, 542, 2885, 30556, 12, 261, 1046, 30556, 13, 460, 11272, 202, 202, 97, 202, 202, 12107, 309, 261, 8706, 15478, 18, 24325, 67, 15811, 18, 14963, 12, 9994, 262, 262, 202, 202, 95, 1082, 202, 2896, 694, 1396, 12, 2270, 16, 460, 11272, 202, 202, 97, 202, 202, 12107, 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, 444, 382, 21760, 1396, 12, 3010, 1396, 3262, 82, 2270, 16, 1033, 460, 262, 1082, 202, 15069, 24747, 503, 202, 95, 202, 202, 780, 9994, 273, 2270, 18, 17994, 12, 11272, 202, 202, 430, 261, 29703, 1046, 18, 1985, 67, 15811, 18, 14963, 12, 9994, 262, 262, 202, 202, 95, 1082, 202, 780, 508, 273, 261, 780, 13, 460, 31, 1082, 202, 461, 2189, 1797, 273, 394, 1770, 2189, 12, 1605, 16, 930, 11272, 1082, 202, 4172, 18, 542, 461, 12, 508, 11272, 202, 202, 97, 202, 202, 12107, 309, 261, 29703, 1046, 18, 4142, 1157, 3948, 67, 15811, 18, 14963, 12, 9994, 262, 262, 202, 202, 95, 1082, 202, 19581, 2189, 1797, 273, 394, 2 ]
elements.add(workspaceRoot);
public boolean performAction() { fLineManager.setErrorMessage(null); boolean isCaseSensitive = caseSensitiveButton.getSelection(); // get the pattern String pattern = patternCombo.getText(); // Get search flags int searchFlags = 0; if (searchForButtons[searchAllButtonIndex].getSelection()) searchFlags |= PDOMSearchPatternQuery.FIND_ALL_TYPES; else { for (int i = 0; i < searchForButtons.length; ++i) { if (searchForButtons[i].getSelection()) searchFlags |= ((Integer)searchForButtons[i].getData()).intValue(); } } for (int i = 0; i < limitToButtons.length; ++i) { if (limitToButtons[i].getSelection()) searchFlags |= ((Integer)limitToButtons[i].getData()).intValue(); } // get the list of elements for the scope List elements = new ArrayList(); String scopeDescription = ""; //$NON-NLS-1$ IWorkspaceRoot workspaceRoot = CUIPlugin.getWorkspace().getRoot(); switch (getContainer().getSelectedScope()) { case ISearchPageContainer.SELECTED_PROJECTS_SCOPE: if (structuredSelection != null) { scopeDescription = CSearchMessages.getString("ProjectScope"); //$NON-NLS-1$ for (Iterator i = structuredSelection.iterator(); i.hasNext();) { IProject project = getProject(i.next()); if (project != null) elements.add(project); } } break; case ISearchPageContainer.SELECTION_SCOPE: if( structuredSelection != null) { scopeDescription = CSearchMessages.getString("SelectionScope"); //$NON-NLS-1$ for (Iterator i = structuredSelection.iterator(); i.hasNext();) { Object obj = i.next(); if (obj instanceof IResource) elements.add(obj); else if (obj instanceof ICElement) elements.add(((ICElement)obj).getUnderlyingResource()); } break; } break; case ISearchPageContainer.WORKSPACE_SCOPE: scopeDescription = CSearchMessages.getString("WorkspaceScope"); //$NON-NLS-1$ elements.add(workspaceRoot); break; case ISearchPageContainer.WORKING_SET_SCOPE: IWorkingSet[] workingSets= getContainer().getSelectedWorkingSets(); scopeDescription = CSearchMessages.getFormattedString("WorkingSetScope", CSearchUtil.toString(workingSets)); //$NON-NLS-1$ for (int i = 0; i < workingSets.length; ++i) { IAdaptable[] wsElements = workingSets[i].getElements(); for (int j = 0; j < wsElements.length; ++j) { IProject project = getProject(wsElements[j]); if (project != null) elements.add(project); } } break; } if (elements.isEmpty()) { // default to workspace scope } IResource[] scope = (IResource[])elements.toArray(new IResource[elements.size()]); PDOMSearchPatternQuery job = new PDOMSearchPatternQuery(scope, scopeDescription, pattern, isCaseSensitive, searchFlags); NewSearchUI.activateSearchResultView(); NewSearchUI.runQueryInBackground(job); // Save our settings IDialogSettings settings = getDialogSettings(); settings.put(STORE_CASE_SENSITIVE, isCaseSensitive); if (previousPatterns == null) previousPatterns = new String[] { pattern }; else { // Add only if we don't have it already boolean addit = true; for (int i = 0; i < previousPatterns.length; ++i) { if (pattern.equals(previousPatterns[i])) { addit = false; break; } } if (addit) { // Insert it into the beginning of the list String[] newPatterns = new String[previousPatterns.length + 1]; System.arraycopy(previousPatterns, 0, newPatterns, 1, previousPatterns.length); newPatterns[0] = pattern; previousPatterns = newPatterns; } } settings.put(STORE_PREVIOUS_PATTERNS, previousPatterns); settings.put(STORE_SEARCH_FLAGS, searchFlags); return true; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/c394f40e489dd37280520439c09530c1c4a9e61f/PDOMSearchPage.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/search/PDOMSearchPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3073, 1803, 1435, 288, 202, 565, 284, 1670, 1318, 18, 542, 14935, 12, 2011, 1769, 202, 565, 1250, 353, 2449, 14220, 273, 20975, 3616, 18, 588, 6233, 5621, 202, 565, 368, 336, 326, 1936, 202, 565, 514, 1936, 273, 1936, 16156, 18, 588, 1528, 5621, 202, 565, 368, 968, 1623, 2943, 202, 565, 509, 1623, 5094, 273, 374, 31, 202, 565, 309, 261, 3072, 1290, 14388, 63, 3072, 1595, 3616, 1016, 8009, 588, 6233, 10756, 202, 377, 202, 3072, 5094, 5626, 453, 8168, 2979, 3234, 1138, 18, 42, 2356, 67, 4685, 67, 10564, 31, 202, 565, 469, 288, 202, 377, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1623, 1290, 14388, 18, 2469, 31, 965, 77, 13, 288, 202, 377, 202, 202, 430, 261, 3072, 1290, 14388, 63, 77, 8009, 588, 6233, 10756, 202, 377, 1082, 202, 3072, 5094, 5626, 14015, 4522, 13, 3072, 1290, 14388, 63, 77, 8009, 588, 751, 1435, 2934, 474, 620, 5621, 202, 377, 202, 97, 202, 565, 289, 202, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1800, 774, 14388, 18, 2469, 31, 965, 77, 13, 288, 202, 377, 202, 430, 261, 3595, 774, 14388, 63, 77, 8009, 588, 6233, 10756, 377, 1082, 202, 3072, 5094, 5626, 14015, 4522, 13, 3595, 774, 14388, 63, 77, 8009, 588, 751, 1435, 2934, 474, 620, 5621, 202, 565, 289, 202, 377, 202, 202, 759, 336, 326, 666, 434, 2186, 364, 326, 2146, 202, 202, 682, 2186, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3073, 1803, 1435, 288, 202, 565, 284, 1670, 1318, 18, 542, 14935, 12, 2011, 1769, 202, 565, 1250, 353, 2449, 14220, 273, 20975, 3616, 18, 588, 6233, 5621, 202, 565, 368, 336, 326, 1936, 202, 565, 514, 1936, 273, 1936, 16156, 18, 588, 1528, 5621, 202, 565, 368, 968, 1623, 2943, 202, 565, 509, 1623, 5094, 273, 374, 31, 202, 565, 309, 261, 3072, 1290, 14388, 63, 3072, 1595, 3616, 1016, 8009, 588, 6233, 10756, 202, 377, 202, 3072, 5094, 5626, 453, 8168, 2979, 3234, 1138, 18, 42, 2356, 67, 4685, 67, 10564, 31, 202, 565, 469, 288, 202, 377, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1623, 1290, 14388, 18, 2469, 2 ]
setToolTipText( "View selected offline reports" ); setText( "View selected" );
setToolTipText( "View Selected Offline Reports" ); setText( "View Selected" );
public ViewOfflineReportAction(OfflineView resultsView ) { setToolTipText( "View selected offline reports" ); setText( "View selected" ); setImageDescriptor(BugzillaImages.OPEN); view = resultsView; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/787c3bab5d7e60a1698b3428b594395f87ef9b3f/ViewOfflineReportAction.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/actions/ViewOfflineReportAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4441, 23106, 4820, 1803, 12, 23106, 1767, 1686, 1767, 262, 225, 202, 95, 202, 202, 542, 29250, 1528, 12, 315, 1767, 3170, 13493, 10557, 6, 11272, 202, 202, 542, 1528, 12, 315, 1767, 3170, 6, 11272, 202, 202, 542, 2040, 3187, 12, 19865, 15990, 8946, 18, 11437, 1769, 202, 202, 1945, 273, 1686, 1767, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4441, 23106, 4820, 1803, 12, 23106, 1767, 1686, 1767, 262, 225, 202, 95, 202, 202, 542, 29250, 1528, 12, 315, 1767, 3170, 13493, 10557, 6, 11272, 202, 202, 542, 1528, 12, 315, 1767, 3170, 6, 11272, 202, 202, 542, 2040, 3187, 12, 19865, 15990, 8946, 18, 11437, 1769, 202, 202, 1945, 273, 1686, 1767, 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 ]
m_driverUrl = m_database.getDriver().getUrl(); String driverCN = m_database.getDriver().getClassName();
m_driverUrl = m_database.getDatabaseChoice().getDriver().getUrl(); String driverCN = m_database.getDatabaseChoice().getDriver().getClassName();
private DatabaseConnectionFactory(String configFile) throws IOException, MarshalException, ValidationException, ClassNotFoundException { Class dsc = Database.class; // Set the system identifier for the source of the input stream. // This is necessary so that any location information can // positively identify the source of the error. // InputSource dbIn = new InputSource(new FileInputStream(configFile)); dbIn.setSystemId(configFile); // Attempt to load the database reference. // m_database = (Database) Unmarshaller.unmarshal(dsc, dbIn); m_dbcCache = new LinkedList(); Param[] parms = m_database.getDriver().getParam(); for (int i = 0; i < parms.length; i++) { if (parms[i].getName().equals("user")) m_driverUser = parms[i].getValue(); else if (parms[i].getName().equals("password")) m_driverPass = parms[i].getValue(); } m_driverUrl = m_database.getDriver().getUrl(); String driverCN = m_database.getDriver().getClassName(); Class.forName(driverCN); }
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/318471bd1445cc649b694469416fa60c10dfe2b8/DatabaseConnectionFactory.java/clean/src/services/org/opennms/netmgt/config/DatabaseConnectionFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 5130, 18749, 12, 780, 12247, 13, 1216, 1860, 16, 5884, 503, 16, 15614, 16, 10403, 288, 3639, 1659, 302, 1017, 273, 5130, 18, 1106, 31, 3639, 368, 1000, 326, 2619, 2756, 364, 326, 1084, 434, 326, 810, 1407, 18, 3639, 368, 1220, 353, 4573, 1427, 716, 1281, 2117, 1779, 848, 3639, 368, 949, 305, 4492, 9786, 326, 1084, 434, 326, 555, 18, 3639, 368, 3639, 23699, 1319, 382, 273, 394, 23699, 12, 2704, 11907, 12, 1425, 812, 10019, 3639, 1319, 382, 18, 542, 3163, 548, 12, 1425, 812, 1769, 3639, 368, 12864, 358, 1262, 326, 2063, 2114, 18, 3639, 368, 3639, 312, 67, 6231, 273, 261, 4254, 13, 1351, 27296, 18, 318, 3108, 12, 72, 1017, 16, 1319, 382, 1769, 3639, 312, 67, 9137, 1649, 273, 394, 10688, 5621, 3639, 3014, 8526, 17902, 273, 312, 67, 6231, 18, 588, 4668, 7675, 588, 786, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 17902, 18, 2469, 31, 277, 27245, 288, 5411, 309, 261, 29927, 63, 77, 8009, 17994, 7675, 14963, 2932, 1355, 6, 3719, 7734, 312, 67, 7407, 1299, 273, 17902, 63, 77, 8009, 24805, 5621, 5411, 469, 309, 261, 29927, 63, 77, 8009, 17994, 7675, 14963, 2932, 3664, 6, 3719, 7734, 312, 67, 7407, 6433, 273, 17902, 63, 77, 8009, 24805, 5621, 3639, 289, 3639, 312, 67, 7407, 1489, 273, 312, 67, 6231, 18, 588, 4668, 7675, 588, 1489, 5621, 3639, 514, 3419, 12821, 273, 312, 67, 6231, 18, 588, 4668, 7675, 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, 377, 3238, 5130, 18749, 12, 780, 12247, 13, 1216, 1860, 16, 5884, 503, 16, 15614, 16, 10403, 288, 3639, 1659, 302, 1017, 273, 5130, 18, 1106, 31, 3639, 368, 1000, 326, 2619, 2756, 364, 326, 1084, 434, 326, 810, 1407, 18, 3639, 368, 1220, 353, 4573, 1427, 716, 1281, 2117, 1779, 848, 3639, 368, 949, 305, 4492, 9786, 326, 1084, 434, 326, 555, 18, 3639, 368, 3639, 23699, 1319, 382, 273, 394, 23699, 12, 2704, 11907, 12, 1425, 812, 10019, 3639, 1319, 382, 18, 542, 3163, 548, 12, 1425, 812, 1769, 3639, 368, 12864, 358, 1262, 326, 2063, 2114, 18, 3639, 368, 3639, 312, 67, 6231, 273, 261, 4254, 13, 1351, 27296, 18, 318, 3108, 12, 72, 1017, 16, 2 ]
for (int i = 0; i < args.length; i++)
for (int i = 0; i < N; i++)
public static String jsFunction_concat(Context cx, Scriptable thisObj, Object[] args, Function funObj) { StringBuffer result = new StringBuffer(); result.append(ScriptRuntime.toString(thisObj)); for (int i = 0; i < args.length; i++) result.append(ScriptRuntime.toString(args[i])); return result.toString(); }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/b6331020dcf96bb85dae57ee2a2ce947b6b0477a/NativeString.java/buggy/js/rhino/org/mozilla/javascript/NativeString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 3828, 2083, 67, 16426, 12, 1042, 9494, 16, 22780, 15261, 16, 4766, 6647, 1033, 8526, 833, 16, 4284, 9831, 2675, 13, 565, 288, 3639, 6674, 563, 273, 394, 6674, 5621, 3639, 563, 18, 6923, 12, 3651, 5576, 18, 10492, 12, 2211, 2675, 10019, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 423, 31, 277, 27245, 5411, 563, 18, 6923, 12, 3651, 5576, 18, 10492, 12, 1968, 63, 77, 5717, 1769, 3639, 327, 563, 18, 10492, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 3828, 2083, 67, 16426, 12, 1042, 9494, 16, 22780, 15261, 16, 4766, 6647, 1033, 8526, 833, 16, 4284, 9831, 2675, 13, 565, 288, 3639, 6674, 563, 273, 394, 6674, 5621, 3639, 563, 18, 6923, 12, 3651, 5576, 18, 10492, 12, 2211, 2675, 10019, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 423, 31, 277, 27245, 5411, 563, 18, 6923, 12, 3651, 5576, 18, 10492, 12, 1968, 63, 77, 5717, 1769, 3639, 327, 563, 18, 10492, 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 ]
lvcsAction.finish(); FileStatusManager.getInstance(myProject).fileStatusesChanged(); for (FilePath path : pathsToRefresh) { VcsDirtyScopeManager.getInstance(myProject).fileDirty(path); } }
if (errorsSize > 0 && warningsSize > 0) { Messages.showErrorDialog(VcsBundle.message("message.text.commit.failed.with.errors.and.warnings"), VcsBundle.message("message.title.commit")); } else if (errorsSize > 0) { Messages.showErrorDialog(VcsBundle.message("message.text.commit.failed.with.errors"), VcsBundle.message("message.title.commit")); } else if (warningsSize > 0) { Messages .showErrorDialog(VcsBundle.message("message.text.commit.finished.with.warnings"), VcsBundle.message("message.title.commit")); } }
public void run() { lvcsAction.finish(); FileStatusManager.getInstance(myProject).fileStatusesChanged(); for (FilePath path : pathsToRefresh) { VcsDirtyScopeManager.getInstance(myProject).fileDirty(path); } }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/262baea8f6c4d7c153f7904014536479c22bb43b/CommitChangeListDialog.java/clean/source/com/intellij/openapi/vcs/changes/ui/CommitChangeListDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 1086, 1435, 288, 2868, 5362, 2143, 1803, 18, 13749, 5621, 2868, 24366, 1318, 18, 588, 1442, 12, 4811, 4109, 2934, 768, 15220, 5033, 5621, 2868, 364, 261, 5598, 589, 294, 2953, 774, 8323, 13, 288, 7734, 776, 2143, 10785, 3876, 1318, 18, 588, 1442, 12, 4811, 4109, 2934, 768, 10785, 12, 803, 1769, 2868, 289, 5411, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 1086, 1435, 288, 2868, 5362, 2143, 1803, 18, 13749, 5621, 2868, 24366, 1318, 18, 588, 1442, 12, 4811, 4109, 2934, 768, 15220, 5033, 5621, 2868, 364, 261, 5598, 589, 294, 2953, 774, 8323, 13, 288, 7734, 776, 2143, 10785, 3876, 1318, 18, 588, 1442, 12, 4811, 4109, 2934, 768, 10785, 12, 803, 1769, 2868, 289, 5411, 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 ]
{ return isSetField(32); }
{ return isSetField(3); }
public boolean isSetLastQty() { return isSetField(32); }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/da47701054a871f197b710ca89f2ffce80f87a58/AllocationReport.java/clean/src/java/src/org/quickfix/fix44/AllocationReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 13532, 3024, 53, 4098, 1435, 282, 288, 327, 13532, 974, 12, 23, 1769, 289, 225, 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 ]
[ 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 13532, 3024, 53, 4098, 1435, 282, 288, 327, 13532, 974, 12, 23, 1769, 289, 225, 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 ]
protected void setMinSplitSize(int minSplitSize) {
protected void setMinSplitSize(long minSplitSize) {
protected void setMinSplitSize(int minSplitSize) { this.minSplitSize = minSplitSize; }
48130 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48130/5daa9293b3d87f3580b13a1909448a69dc0101db/InputFormatBase.java/buggy/src/java/org/apache/hadoop/mapred/InputFormatBase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 27724, 5521, 1225, 12, 5748, 1131, 5521, 1225, 13, 288, 565, 333, 18, 1154, 5521, 1225, 273, 1131, 5521, 1225, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 27724, 5521, 1225, 12, 5748, 1131, 5521, 1225, 13, 288, 565, 333, 18, 1154, 5521, 1225, 273, 1131, 5521, 1225, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
fccShadow = new FillChooserComposite(cmpGeneral, SWT.NONE, cdShadow, false, false); GridData gdFCCShadow = new GridData(GridData.FILL_BOTH); fccShadow.setLayoutData(gdFCCShadow); fccShadow.addListener(this); fccShadow.setEnabled(bEnableUI);
fccShadow = new FillChooserComposite( cmpGeneral, SWT.NONE, lblCurrent.eAdapters( ), cdShadow, false, false ); GridData gdFCCShadow = new GridData( GridData.FILL_BOTH ); fccShadow.setLayoutData( gdFCCShadow ); fccShadow.addListener( this ); fccShadow.setEnabled( bEnableUI );
private void placeComponents() { FillLayout flMain = new FillLayout(); flMain.marginHeight = 0; flMain.marginWidth = 0; GridLayout glAttributes = new GridLayout(); glAttributes.horizontalSpacing = 5; glAttributes.verticalSpacing = 5; glAttributes.marginHeight = 7; glAttributes.marginWidth = 7; GridLayout glGeneral = new GridLayout(); glGeneral.numColumns = 2; glGeneral.horizontalSpacing = 5; glGeneral.verticalSpacing = 5; FillLayout flOutline = new FillLayout(); this.setLayout(flMain); if (sGroupName == null || sGroupName.length() == 0) { grpAttributes = new Composite(this, SWT.NONE); } else { grpAttributes = new Group(this, SWT.NONE); ((Group) grpAttributes).setText(sGroupName); } grpAttributes.setLayout(glAttributes); cmpGeneral = new Composite(grpAttributes, SWT.NONE); GridData gdCMPGeneral = new GridData(GridData.FILL_HORIZONTAL); cmpGeneral.setLayoutData(gdCMPGeneral); cmpGeneral.setLayout(glGeneral); boolean bEnableUI = bEnabled; if (bVisibilityEnabled) { cbVisible = new Button(cmpGeneral, SWT.CHECK); GridData gdCBVisible = new GridData(GridData.FILL_HORIZONTAL); gdCBVisible.horizontalSpan = 2; cbVisible.setLayoutData(gdCBVisible); cbVisible.setSelection(this.lblCurrent.isVisible()); cbVisible.setText(Messages .getString("LabelAttributesComposite.Lbl.IsVisible")); //$NON-NLS-1$ cbVisible.addSelectionListener(this); if (bEnabled) { bEnableUI = cbVisible.getSelection(); } } if (bPositionEnabled) { lblPosition = new Label(cmpGeneral, SWT.NONE); GridData gdLBLPosition = new GridData(); lblPosition.setLayoutData(gdLBLPosition); lblPosition.setText(Messages .getString("LabelAttributesComposite.Lbl.Position")); //$NON-NLS-1$ lblPosition.setEnabled(bEnableUI); cmbPosition = new Combo(cmpGeneral, SWT.DROP_DOWN | SWT.READ_ONLY); GridData gdCMBPosition = new GridData(GridData.FILL_BOTH); cmbPosition.setLayoutData(gdCMBPosition); cmbPosition.addSelectionListener(this); cmbPosition.setEnabled(bEnableUI); } lblFont = new Label(cmpGeneral, SWT.NONE); GridData gdLFont = new GridData(); lblFont.setLayoutData(gdLFont); lblFont .setText(Messages .getString("LabelAttributesComposite.Lbl.Font")); //$NON-NLS-1$ lblFont.setEnabled(bEnableUI); fdcFont = new FontDefinitionComposite(cmpGeneral, SWT.NONE, this.fdCurrent, this.cdFont, this.isAlignmentEnabled); GridData gdFDCFont = new GridData(GridData.FILL_BOTH); gdFDCFont.heightHint = fdcFont.getPreferredSize().y; gdFDCFont.widthHint = 96; gdFDCFont.grabExcessVerticalSpace = false; fdcFont.setLayoutData(gdFDCFont); fdcFont.addListener(this); fdcFont.setEnabled(bEnableUI); lblFill = new Label(cmpGeneral, SWT.NONE); GridData gdLFill = new GridData(); lblFill.setLayoutData(gdLFill); lblFill.setText(Messages .getString("LabelAttributesComposite.Lbl.Background")); //$NON-NLS-1$ lblFill.setEnabled(bEnableUI); fccBackground = new FillChooserComposite(cmpGeneral, SWT.NONE, fBackground, false, false); GridData gdFCCBackground = new GridData(GridData.FILL_BOTH); gdFCCBackground.heightHint = fccBackground.getPreferredSize().y; fccBackground.setLayoutData(gdFCCBackground); fccBackground.addListener(this); fccBackground.setEnabled(bEnableUI); if (bShadowEnabled) { lblShadow = new Label(cmpGeneral, SWT.NONE); GridData gdLBLShadow = new GridData(); lblShadow.setLayoutData(gdLBLShadow); lblShadow.setText(Messages .getString("LabelAttributesComposite.Lbl.Shadow")); //$NON-NLS-1$ lblShadow.setEnabled(bEnableUI); fccShadow = new FillChooserComposite(cmpGeneral, SWT.NONE, cdShadow, false, false); GridData gdFCCShadow = new GridData(GridData.FILL_BOTH); fccShadow.setLayoutData(gdFCCShadow); fccShadow.addListener(this); fccShadow.setEnabled(bEnableUI); } grpOutline = new Group(grpAttributes, SWT.NONE); GridData gdGOutline = new GridData(GridData.FILL_HORIZONTAL); gdGOutline.heightHint = 110; grpOutline.setLayoutData(gdGOutline); grpOutline.setText(Messages .getString("LabelAttributesComposite.Lbl.Outline")); //$NON-NLS-1$ grpOutline.setLayout(flOutline); grpOutline.setEnabled(bEnableUI); liacOutline = new LineAttributesComposite(grpOutline, SWT.NONE, laCurrent, true, true, true); liacOutline.addListener(this); liacOutline.setEnabled(bEnableUI); if (bInsetsEnabled == true) { icInsets = new InsetsComposite(grpAttributes, SWT.NONE, insets, sUnits, serviceprovider); GridData gdICInsets = new GridData(GridData.FILL_HORIZONTAL); gdICInsets.heightHint = icInsets.getPreferredSize().y; gdICInsets.grabExcessVerticalSpace = false; icInsets.addListener(this); icInsets.setLayoutData(gdICInsets); icInsets.setEnabled(bEnableUI); } populateLists(); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/500b4482b64451f75339ee5037485c3309647704/LabelAttributesComposite.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/LabelAttributesComposite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3166, 7171, 1435, 288, 202, 202, 8026, 3744, 1183, 6376, 273, 394, 14192, 3744, 5621, 202, 202, 2242, 6376, 18, 10107, 2686, 273, 374, 31, 202, 202, 2242, 6376, 18, 10107, 2384, 273, 374, 31, 202, 202, 6313, 3744, 5118, 2498, 273, 394, 7145, 3744, 5621, 202, 202, 7043, 2498, 18, 18396, 18006, 273, 1381, 31, 202, 202, 7043, 2498, 18, 17824, 18006, 273, 1381, 31, 202, 202, 7043, 2498, 18, 10107, 2686, 273, 2371, 31, 202, 202, 7043, 2498, 18, 10107, 2384, 273, 2371, 31, 202, 202, 6313, 3744, 5118, 12580, 273, 394, 7145, 3744, 5621, 202, 202, 7043, 12580, 18, 2107, 3380, 273, 576, 31, 202, 202, 7043, 12580, 18, 18396, 18006, 273, 1381, 31, 202, 202, 7043, 12580, 18, 17824, 18006, 273, 1381, 31, 202, 202, 8026, 3744, 1183, 21805, 273, 394, 14192, 3744, 5621, 202, 202, 2211, 18, 542, 3744, 12, 2242, 6376, 1769, 202, 202, 430, 261, 87, 3943, 422, 446, 747, 272, 3943, 18, 2469, 1435, 422, 374, 13, 288, 1082, 202, 17532, 2498, 273, 394, 14728, 12, 2211, 16, 348, 8588, 18, 9826, 1769, 202, 202, 97, 469, 288, 1082, 202, 17532, 2498, 273, 394, 3756, 12, 2211, 16, 348, 8588, 18, 9826, 1769, 1082, 202, 12443, 1114, 13, 14295, 2498, 2934, 542, 1528, 12, 87, 3943, 1769, 202, 202, 97, 202, 202, 17532, 2498, 18, 542, 3744, 12, 7043, 2498, 1769, 202, 202, 9625, 12580, 273, 394, 14728, 12, 17532, 2498, 16, 348, 8588, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3166, 7171, 1435, 288, 202, 202, 8026, 3744, 1183, 6376, 273, 394, 14192, 3744, 5621, 202, 202, 2242, 6376, 18, 10107, 2686, 273, 374, 31, 202, 202, 2242, 6376, 18, 10107, 2384, 273, 374, 31, 202, 202, 6313, 3744, 5118, 2498, 273, 394, 7145, 3744, 5621, 202, 202, 7043, 2498, 18, 18396, 18006, 273, 1381, 31, 202, 202, 7043, 2498, 18, 17824, 18006, 273, 1381, 31, 202, 202, 7043, 2498, 18, 10107, 2686, 273, 2371, 31, 202, 202, 7043, 2498, 18, 10107, 2384, 273, 2371, 31, 202, 202, 6313, 3744, 5118, 12580, 273, 394, 7145, 3744, 5621, 202, 202, 7043, 12580, 18, 2107, 3380, 273, 576, 31, 202, 202, 7043, 12580, 18, 18396, 18006, 273, 2 ]
proc.destroy();
proc.destroy(); if ( output != null && output.isEnabled() ) { output.append("Aborted ..."); output.setEnabled(false);
public void actionPerformed(ActionEvent e) { proc.destroy(); }
53257 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53257/d515052bf84f45e0bdd1cc6c58c12532c7636555/EngineExecPanel.java/buggy/src/ca/sqlpower/architect/swingui/EngineExecPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 26100, 12, 1803, 1133, 425, 13, 288, 6862, 202, 9381, 18, 11662, 5621, 9506, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 26100, 12, 1803, 1133, 425, 13, 288, 6862, 202, 9381, 18, 11662, 5621, 9506, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 project.getExportedPackages();
return project.getBundleManifest().getExportedPackages();
public PackageDescription[] getExportedPackages() { if (bundle != null) { return bundle.getExportedPackages(); } else { return project.getExportedPackages(); } }
14547 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14547/c47a7f2616c12043b7d9877aa33aae915c4e72ef/SelectedBundleElement.java/buggy/org.knopflerfish.eclipse.core.ui/src/org/knopflerfish/eclipse/core/ui/launcher/bundle/SelectedBundleElement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 7508, 3291, 8526, 26246, 1798, 11425, 1435, 288, 565, 309, 261, 9991, 480, 446, 13, 288, 1377, 327, 3440, 18, 588, 31140, 11425, 5621, 565, 289, 469, 288, 1377, 327, 1984, 18, 588, 3405, 9121, 7675, 588, 31140, 11425, 5621, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 7508, 3291, 8526, 26246, 1798, 11425, 1435, 288, 565, 309, 261, 9991, 480, 446, 13, 288, 1377, 327, 3440, 18, 588, 31140, 11425, 5621, 565, 289, 469, 288, 1377, 327, 1984, 18, 588, 3405, 9121, 7675, 588, 31140, 11425, 5621, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 (inFunction && vars.get(name) != null && !inWithStatement()) {
if (inFunction && vars.getVariable(name) != null && !inWithStatement()) {
protected void visitCall(Node node, Node tree) { /* * For * Call(GetProp(a, b), c, d) // or GetElem... * we wish to evaluate as * Call(GetProp(tmp=a, b), tmp, c, d) * * for * Call(Name("a"), b, c) * we wish to evaluate as * Call(GetProp(tmp=GetBase("a"), "a"), tmp, b, c) * * and for * Call(a, b, c); * we wish to evaluate as * Call(tmp=a, Parent(tmp), c, d) */ Node left = node.getFirstChild(); // count the arguments int argCount = 0; Node arg = left.getNextSibling(); while (arg != null) { arg = arg.getNextSibling(); argCount++; } boolean addGetThis = false; if (left.getType() == TokenStream.NAME) { VariableTable vars = getVariableTable(tree); String name = left.getString(); if (inFunction && vars.get(name) != null && !inWithStatement()) { // call to a var. Transform to Call(GetVar("a"), b, c) left.setType(TokenStream.GETVAR); // fall through to code to add GetParent } else { // transform to Call(GetProp(GetBase("a"), "a"), b, c) node.removeChild(left); left.setType(TokenStream.GETBASE); Node str = left.cloneNode(); str.setType(TokenStream.STRING); Node getProp = new Node(TokenStream.GETPROP, left, str); node.addChildToFront(getProp); left = getProp; // Conditionally set a flag to add a GETTHIS node. // The getThis entry in the runtime will take a // Scriptable object intended to be used as a 'this' // and make sure that it is neither a With object or // an activation object. // Executing getThis requires at least two instanceof // tests, so we only include it if we are currently // inside a 'with' statement, or if we are executing // a script (to protect against an eval inside a with). addGetThis = inWithStatement() || !inFunction; // fall through to GETPROP code } } if (left.getType() != TokenStream.GETPROP && left.getType() != TokenStream.GETELEM) { node.removeChild(left); Node tmp = irFactory.createNewTemp(left); Node use = irFactory.createUseTemp(tmp); use.putProp(Node.TEMP_PROP, tmp); Node parent = new Node(TokenStream.PARENT, use); node.addChildToFront(parent); node.addChildToFront(tmp); return; } Node leftLeft = left.getFirstChild(); left.removeChild(leftLeft); Node tmp = irFactory.createNewTemp(leftLeft); left.addChildToFront(tmp); Node use = irFactory.createUseTemp(tmp); use.putProp(Node.TEMP_PROP, tmp); if (addGetThis) use = new Node(TokenStream.GETTHIS, use); node.addChildAfter(use, left); }
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/0470e048abb345f567d5fda1e9564715a9f4d5d7/NodeTransformer.java/buggy/js/rhino/org/mozilla/javascript/NodeTransformer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 3757, 1477, 12, 907, 756, 16, 2029, 2151, 13, 288, 3639, 1748, 540, 380, 2457, 540, 380, 1377, 3049, 12, 967, 4658, 12, 69, 16, 324, 3631, 276, 16, 302, 13, 282, 368, 578, 968, 7498, 2777, 540, 380, 732, 14302, 358, 5956, 487, 540, 380, 1377, 3049, 12, 967, 4658, 12, 5645, 33, 69, 16, 324, 3631, 1853, 16, 276, 16, 302, 13, 540, 380, 540, 380, 364, 540, 380, 1377, 3049, 12, 461, 2932, 69, 6, 3631, 324, 16, 276, 13, 540, 380, 732, 14302, 358, 5956, 487, 540, 380, 1377, 3049, 12, 967, 4658, 12, 5645, 33, 967, 2171, 2932, 69, 6, 3631, 315, 69, 6, 3631, 1853, 16, 324, 16, 276, 13, 540, 380, 540, 380, 471, 364, 540, 380, 1377, 3049, 12, 69, 16, 324, 16, 276, 1769, 540, 380, 732, 14302, 358, 5956, 487, 540, 380, 1377, 3049, 12, 5645, 33, 69, 16, 9520, 12, 5645, 3631, 276, 16, 302, 13, 540, 1195, 3639, 2029, 2002, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 368, 1056, 326, 1775, 3639, 509, 1501, 1380, 273, 374, 31, 3639, 2029, 1501, 273, 2002, 18, 588, 2134, 10291, 5621, 3639, 1323, 261, 3175, 480, 446, 13, 288, 5411, 1501, 273, 1501, 18, 588, 2134, 10291, 5621, 5411, 1501, 1380, 9904, 31, 3639, 289, 3639, 1250, 527, 967, 2503, 273, 629, 31, 3639, 309, 261, 4482, 18, 588, 559, 1435, 422, 3155, 1228, 18, 1985, 13, 288, 5411, 7110, 1388, 4153, 273, 13522, 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, 3757, 1477, 12, 907, 756, 16, 2029, 2151, 13, 288, 3639, 1748, 540, 380, 2457, 540, 380, 1377, 3049, 12, 967, 4658, 12, 69, 16, 324, 3631, 276, 16, 302, 13, 282, 368, 578, 968, 7498, 2777, 540, 380, 732, 14302, 358, 5956, 487, 540, 380, 1377, 3049, 12, 967, 4658, 12, 5645, 33, 69, 16, 324, 3631, 1853, 16, 276, 16, 302, 13, 540, 380, 540, 380, 364, 540, 380, 1377, 3049, 12, 461, 2932, 69, 6, 3631, 324, 16, 276, 13, 540, 380, 732, 14302, 358, 5956, 487, 540, 380, 1377, 3049, 12, 967, 4658, 12, 5645, 33, 967, 2171, 2932, 69, 6, 3631, 315, 69, 6, 3631, 1853, 16, 324, 16, 276, 13, 2 ]
} else if (typename.equals("int32_t")) {
} else if (typename.equals("int32_t")) {
Type toCDIType(ICDITarget target, String name) throws CDIException { // Check the derived types and agregate types if (name == null) { name = new String(); } String typename = name.trim(); // Check the primitives. if (typename.equals("char")) { //$NON-NLS-1$ return new CharType(target, typename); } else if (typename.equals("wchar_t")) { //$NON-NLS-1$ return new WCharType(target, typename); } else if (typename.equals("short")) { //$NON-NLS-1$ return new ShortType(target, typename); } else if (typename.equals("int")) { //$NON-NLS-1$ return new IntType(target, typename); } else if (typename.equals("long")) { //$NON-NLS-1$ return new LongType(target, typename); } else if (typename.equals("unsigned")) { //$NON-NLS-1$ return new IntType(target, typename, true); } else if (typename.equals("signed")) { //$NON-NLS-1$ return new IntType(target, typename); } else if (typename.equals("bool")) { //$NON-NLS-1$ return new BoolType(target, typename); } else if (typename.equals("_Bool")) { //$NON-NLS-1$ return new BoolType(target, typename); } else if (typename.equals("float")) { //$NON-NLS-1$ return new FloatType(target, typename); } else if (typename.equals("double")) { //$NON-NLS-1$ return new DoubleType(target, typename); } else if (typename.equals("void")) { //$NON-NLS-1$ return new VoidType(target, typename); } else if (typename.equals("enum")) { //$NON-NLS-1$ return new EnumType(target, typename); } else if (typename.equals("union")) { //$NON-NLS-1$ return new StructType(target, typename); } else if (typename.equals("struct")) { //$NON-NLS-1$ return new StructType(target, typename); } else if (typename.equals("class")) { //$NON-NLS-1$ return new StructType(target, typename); } // GDB has some special types for int if (typename.equals("int8_t")) { //$NON-NLS-1$ return new CharType(target, typename); } else if (typename.equals("int16_t")) { //$NON-NLS-$1 return new ShortType(target, typename); } else if (typename.equals("int32_t")) { //$NON-NLS-$1 return new LongType(target, typename); } else if (typename.equals("int64_t")) { //$NON-NLS-$1 return new IntType(target, typename); } else if (typename.equals("int128_t")) { //$NON-NLS-$1 return new IntType(target, typename); } StringTokenizer st = new StringTokenizer(typename); int count = st.countTokens(); if (count == 2) { String first = st.nextToken(); String second = st.nextToken(); // ISOC allows permutations: // "signed int" and "int signed" are equivalent boolean isUnsigned = (first.equals("unsigned") || second.equals("unsigned")); //$NON-NLS-1$ //$NON-NLS-2$ boolean isSigned = (first.equals("signed") || second.equals("signed")); //$NON-NLS-1$ //$NON-NLS-2$ boolean isChar = (first.equals("char") || second.equals("char")); //$NON-NLS-1$ //$NON-NLS-2$ boolean isInt = (first.equals("int") || second.equals("int")); //$NON-NLS-1$ //$NON-NLS-2$ boolean isLong = (first.equals("long") || second.equals("long")); //$NON-NLS-1$ //$NON-NLS-2$ boolean isShort = (first.equals("short") || second.equals("short")); //$NON-NLS-1$ //$NON-NLS-2$ boolean isLongLong = (first.equals("long") && second.equals("long")); //$NON-NLS-1$ //$NON-NLS-2$ boolean isDouble = (first.equals("double") || second.equals("double")); //$NON-NLS-1$ //$NON-NLS-2$ boolean isFloat = (first.equals("float") || second.equals("float")); //$NON-NLS-1$ //$NON-NLS-2$ boolean isComplex = (first.equals("complex") || second.equals("complex") || //$NON-NLS-1$ //$NON-NLS-2$ first.equals("_Complex") || second.equals("_Complex")); //$NON-NLS-1$ //$NON-NLS-2$ boolean isImaginery = (first.equals("_Imaginary") || second.equals("_Imaginary")); //$NON-NLS-1$ //$NON-NLS-2$ boolean isStruct = first.equals("struct"); //$NON-NLS-1$ boolean isClass = first.equals("class"); //$NON-NLS-1$ boolean isUnion = first.equals("union"); //$NON-NLS-1$ boolean isEnum = first.equals("enum"); //$NON-NLS-1$ if (isChar && (isSigned || isUnsigned)) { return new CharType(target, typename, isUnsigned); } else if (isShort && (isSigned || isUnsigned)) { return new ShortType(target, typename, isUnsigned); } else if (isInt && (isSigned || isUnsigned)) { return new IntType(target, typename, isUnsigned); } else if (isLong && (isInt || isSigned || isUnsigned)) { return new LongType(target, typename, isUnsigned); } else if (isLongLong) { return new LongLongType(target, typename); } else if (isDouble && (isLong || isComplex || isImaginery)) { return new DoubleType(target, typename, isComplex, isImaginery, isLong); } else if (isFloat && (isComplex || isImaginery)) { return new FloatType(target, typename, isComplex, isImaginery); } else if (isStruct) { return new StructType(target, typename); } else if (isClass) { return new StructType(target, typename); } else if (isUnion) { return new StructType(target, typename); } else if (isEnum) { return new EnumType(target, typename); } } else if (count == 3) { // ISOC allows permutation. replace short by: long or short // "unsigned short int", "unsigned int short" // "short unsigned int". "short int unsigned" // "int unsinged short". "int short unsigned" // // "unsigned long long", "long long unsigned" // "signed long long", "long long signed" String first = st.nextToken(); String second = st.nextToken(); String third = st.nextToken(); boolean isSigned = (first.equals("signed") || second.equals("signed") || third.equals("signed")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ boolean unSigned = (first.equals("unsigned") || second.equals("unsigned") || third.equals("unsigned")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ boolean isInt = (first.equals("int") || second.equals("int") || third.equals("int")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ boolean isLong = (first.equals("long") || second.equals("long") || third.equals("long")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ boolean isShort = (first.equals("short") || second.equals("short") || third.equals("short")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ boolean isLongLong = (first.equals("long") && second.equals("long")) || //$NON-NLS-1$ //$NON-NLS-2$ (second.equals("long") && third.equals("long")); //$NON-NLS-1$ //$NON-NLS-2$ boolean isDouble = (first.equals("double") || second.equals("double") || third.equals("double")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ boolean isComplex = (first.equals("complex") || second.equals("complex") || third.equals("complex") || //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ first.equals("_Complex") || second.equals("_Complex") || third.equals("_Complex")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ boolean isImaginery = (first.equals("_Imaginary") || second.equals("_Imaginary") || third.equals("_Imaginary")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ if (isShort && isInt && (isSigned || unSigned)) { return new ShortType(target, typename, unSigned); } else if (isLong && isInt && (isSigned || unSigned)) { return new LongType(target, typename, unSigned); } else if (isLongLong && (isSigned || unSigned)) { return new LongLongType(target, typename, unSigned); } else if (isDouble && isLong && (isComplex || isImaginery)) { return new DoubleType(target, typename, isComplex, isImaginery, isLong); } } else if (count == 4) { // ISOC allows permutation: // "unsigned long long int", "unsigned int long long" // "long long unsigned int". "long long int unsigned" // "int unsigned long long". "int long long unsigned" String first = st.nextToken(); String second = st.nextToken(); String third = st.nextToken(); String fourth = st.nextToken(); boolean unSigned = (first.equals("unsigned") || second.equals("unsigned") || third.equals("unsigned") || fourth.equals("unsigned")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ boolean isSigned = (first.equals("signed") || second.equals("signed") || third.equals("signed") || fourth.equals("signed")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ boolean isInt = (first.equals("int") || second.equals("int") || third.equals("int") || fourth.equals("int")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ boolean isLongLong = (first.equals("long") && second.equals("long")) //$NON-NLS-1$ //$NON-NLS-2$ || (second.equals("long") && third.equals("long")) //$NON-NLS-1$ //$NON-NLS-2$ || (third.equals("long") && fourth.equals("long")); //$NON-NLS-1$ //$NON-NLS-2$ if (isLongLong && isInt && (isSigned || unSigned)) { return new LongLongType(target, typename, unSigned); } } throw new CDIException(CdiResources.getString("cdi.SourceManager.Unknown_type")); //$NON-NLS-1$ }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/315a4fc29310ee5b8b843bcaa9f1790008d29c97/SourceManager.java/buggy/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/SourceManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 559, 358, 39, 2565, 559, 12, 2871, 40, 1285, 826, 1018, 16, 514, 508, 13, 1216, 385, 2565, 503, 288, 202, 202, 759, 2073, 326, 10379, 1953, 471, 1737, 1574, 340, 1953, 202, 202, 430, 261, 529, 422, 446, 13, 288, 1082, 202, 529, 273, 394, 514, 5621, 202, 202, 97, 202, 202, 780, 26735, 273, 508, 18, 5290, 5621, 202, 202, 759, 2073, 326, 23376, 18, 202, 202, 430, 261, 12846, 1069, 18, 14963, 2932, 3001, 6, 3719, 288, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2463, 394, 3703, 559, 12, 3299, 16, 26735, 1769, 202, 202, 97, 469, 309, 261, 12846, 1069, 18, 14963, 2932, 91, 3001, 67, 88, 6, 3719, 288, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2463, 394, 678, 2156, 559, 12, 3299, 16, 26735, 1769, 202, 202, 97, 469, 309, 261, 12846, 1069, 18, 14963, 2932, 6620, 6, 3719, 288, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2463, 394, 7925, 559, 12, 3299, 16, 26735, 1769, 202, 202, 97, 469, 309, 261, 12846, 1069, 18, 14963, 2932, 474, 6, 3719, 288, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2463, 394, 3094, 559, 12, 3299, 16, 26735, 1769, 202, 202, 97, 469, 309, 261, 12846, 1069, 18, 14963, 2932, 5748, 6, 3719, 288, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2463, 394, 3407, 559, 12, 3299, 16, 26735, 1769, 202, 202, 97, 469, 309, 261, 12846, 1069, 18, 14963, 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, 225, 202, 559, 358, 39, 2565, 559, 12, 2871, 40, 1285, 826, 1018, 16, 514, 508, 13, 1216, 385, 2565, 503, 288, 202, 202, 759, 2073, 326, 10379, 1953, 471, 1737, 1574, 340, 1953, 202, 202, 430, 261, 529, 422, 446, 13, 288, 1082, 202, 529, 273, 394, 514, 5621, 202, 202, 97, 202, 202, 780, 26735, 273, 508, 18, 5290, 5621, 202, 202, 759, 2073, 326, 23376, 18, 202, 202, 430, 261, 12846, 1069, 18, 14963, 2932, 3001, 6, 3719, 288, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2463, 394, 3703, 559, 12, 3299, 16, 26735, 1769, 202, 202, 97, 469, 309, 261, 12846, 1069, 18, 14963, 2932, 91, 3001, 67, 88, 6, 3719, 288, 4329, 2 ]
if ( appClassLoader != null )
catch ( ClassNotFoundException ex )
public Class loadClass( String className ) throws ClassNotFoundException { createWrappedClassLoaders( ); if ( designClassLoader != null ) { return designClassLoader.loadClass( className ); } if ( appClassLoader != null ) { return appClassLoader.loadClass( className ); } return systemClassLoader.loadClass( className ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/1aa28f24957300da7d5493d016f0fbe6fd4a673d/ExecutionContext.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExecutionContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 1659, 16038, 12, 514, 2658, 262, 9506, 202, 15069, 10403, 202, 202, 95, 1082, 202, 2640, 17665, 797, 26801, 12, 11272, 1082, 202, 430, 261, 8281, 7805, 480, 446, 262, 1082, 202, 95, 9506, 202, 2463, 8281, 7805, 18, 945, 797, 12, 2658, 11272, 1082, 202, 97, 1082, 202, 430, 261, 595, 7805, 480, 446, 262, 1082, 202, 95, 9506, 202, 2463, 595, 7805, 18, 945, 797, 12, 2658, 11272, 1082, 202, 97, 1082, 202, 2463, 2619, 7805, 18, 945, 797, 12, 2658, 11272, 202, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 1659, 16038, 12, 514, 2658, 262, 9506, 202, 15069, 10403, 202, 202, 95, 1082, 202, 2640, 17665, 797, 26801, 12, 11272, 1082, 202, 430, 261, 8281, 7805, 480, 446, 262, 1082, 202, 95, 9506, 202, 2463, 8281, 7805, 18, 945, 797, 12, 2658, 11272, 1082, 202, 97, 1082, 202, 430, 261, 595, 7805, 480, 446, 262, 1082, 202, 95, 9506, 202, 2463, 595, 7805, 18, 945, 797, 12, 2658, 11272, 1082, 202, 97, 1082, 202, 2463, 2619, 7805, 18, 945, 797, 12, 2658, 11272, 202, 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 ]
private IJobProgressManagerListener getProgressListener() { return new IJobProgressManagerListener() { HashSet jobs = new HashSet(); /* (non-Javadoc) * @see org.eclipse.ui.internal.progress.IJobProgressManagerListener#addJob(org.eclipse.ui.internal.progress.JobInfo) */ public void addJob(JobInfo info) { incrementJobCount(info); } /* (non-Javadoc) * @see org.eclipse.ui.internal.progress.IJobProgressManagerListener#refreshJobInfo(org.eclipse.ui.internal.progress.JobInfo) */ public void refreshJobInfo(JobInfo info) { int state = info.getJob().getState(); if (state == Job.RUNNING) addJob(info); else removeJob(info); } /* (non-Javadoc) * @see org.eclipse.ui.internal.progress.IJobProgressManagerListener#refreshAll() */ public void refreshAll() { ProgressManager manager = ProgressManager.getInstance(); jobs.clear(); setAnimated(false); JobInfo[] currentInfos = manager.getJobInfos(showsDebug()); for (int i = 0; i < currentInfos.length; i++) { addJob(currentInfos[i]); } } /* (non-Javadoc) * @see org.eclipse.ui.internal.progress.IJobProgressManagerListener#remove(org.eclipse.ui.internal.progress.JobInfo) */ public void removeJob(JobInfo info) { if (jobs.contains(info.getJob())) { decrementJobCount(info.getJob()); } } /* (non-Javadoc) * @see org.eclipse.ui.internal.progress.IJobProgressManagerListener#showsDebug() */ public boolean showsDebug() { return false; } private void incrementJobCount(JobInfo info) { //Don't count the animate job itself if (isNotTracked(info)) return; if (jobs.isEmpty()) setAnimated(true); jobs.add(info.getJob()); } private void decrementJobCount(Job job) { jobs.remove(job); if (jobs.isEmpty()) setAnimated(false); } /** * If this is one of our jobs or not running then don't bother. */ private boolean isNotTracked(JobInfo info) { //We always track errors Job job = info.getJob(); return job.getState() != Job.RUNNING || job == clearJob || job == animateJob; } /* (non-Javadoc) * @see org.eclipse.ui.internal.progress.IJobProgressManagerListener#addGroup(org.eclipse.ui.internal.progress.GroupInfo) */ public void addGroup(GroupInfo info) { //Don't care about groups } /* (non-Javadoc) * @see org.eclipse.ui.internal.progress.IJobProgressManagerListener#removeGroup(org.eclipse.ui.internal.progress.GroupInfo) */ public void removeGroup(GroupInfo group) { //Don't care about groups } /* (non-Javadoc) * @see org.eclipse.ui.internal.progress.IJobProgressManagerListener#refreshGroup(org.eclipse.ui.internal.progress.GroupInfo) */ public void refreshGroup(GroupInfo info) { //Don't care about groups } }; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/a23a2f7d8af51ae4aaa0ae21daaa81f092725969/AnimationManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/AnimationManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 45, 2278, 5491, 1318, 2223, 588, 5491, 2223, 1435, 95, 202, 202, 2463, 2704, 45, 2278, 5491, 1318, 2223, 1435, 95, 1082, 202, 13482, 10088, 33, 2704, 13482, 5621, 1082, 202, 20308, 12, 5836, 17, 24060, 13, 1082, 202, 14, 36, 5946, 3341, 18, 20416, 18, 4881, 18, 7236, 18, 8298, 18, 45, 2278, 5491, 1318, 2223, 7, 1289, 2278, 12, 3341, 18, 20416, 18, 4881, 18, 7236, 18, 8298, 18, 2278, 966, 13, 1082, 202, 5549, 1082, 202, 482, 6459, 1289, 2278, 12, 2278, 966, 1376, 15329, 9506, 202, 15016, 2278, 1380, 12, 1376, 1769, 1082, 202, 97, 25083, 202, 20308, 12, 5836, 17, 24060, 13, 1082, 202, 14, 36, 5946, 3341, 18, 20416, 18, 4881, 18, 7236, 18, 8298, 18, 45, 2278, 5491, 1318, 2223, 7, 9144, 2278, 966, 12, 3341, 18, 20416, 18, 4881, 18, 7236, 18, 8298, 18, 2278, 966, 13, 1082, 202, 5549, 1082, 202, 482, 6459, 9144, 2278, 966, 12, 2278, 966, 1376, 15329, 9506, 202, 474, 2019, 33, 1376, 18, 588, 2278, 7675, 588, 1119, 5621, 9506, 202, 430, 12, 2019, 631, 2278, 18, 29358, 13, 6862, 202, 1289, 2278, 12, 1376, 1769, 9506, 202, 12107, 6862, 202, 4479, 2278, 12, 1376, 1769, 1082, 202, 97, 1082, 202, 20308, 12, 5836, 17, 24060, 13, 1082, 202, 14, 36, 5946, 3341, 18, 20416, 18, 4881, 18, 7236, 18, 8298, 18, 45, 2278, 5491, 1318, 2223, 7, 9144, 1595, 1435, 1082, 202, 5549, 1082, 202, 482, 6459, 9144, 1595, 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, 45, 2278, 5491, 1318, 2223, 588, 5491, 2223, 1435, 95, 202, 202, 2463, 2704, 45, 2278, 5491, 1318, 2223, 1435, 95, 1082, 202, 13482, 10088, 33, 2704, 13482, 5621, 1082, 202, 20308, 12, 5836, 17, 24060, 13, 1082, 202, 14, 36, 5946, 3341, 18, 20416, 18, 4881, 18, 7236, 18, 8298, 18, 45, 2278, 5491, 1318, 2223, 7, 1289, 2278, 12, 3341, 18, 20416, 18, 4881, 18, 7236, 18, 8298, 18, 2278, 966, 13, 1082, 202, 5549, 1082, 202, 482, 6459, 1289, 2278, 12, 2278, 966, 1376, 15329, 9506, 202, 15016, 2278, 1380, 12, 1376, 1769, 1082, 202, 97, 25083, 202, 20308, 12, 5836, 17, 24060, 13, 1082, 202, 14, 36, 5946, 3341, 18, 20416, 18, 2 ]
public URL getResource(String name, BeanContextChild bcc) { // The resource name should not be null if(name == null) { throw new NullPointerException("Resource name can not be null"); } // The child should not be null if(bcc == null) { throw new NullPointerException("The child can not be null"); } // Load resource using the same ClassLoader as BeanContextChild specified // If NullPointerException occurs try to load it as system resource try { return bcc.getClass().getClassLoader().getResource(name); } catch(NullPointerException e) { try { return ClassLoader.getSystemResource(name); } catch(Exception ex) { // We tried our best but still failed throw new IllegalArgumentException("Invalid resource"); } } }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/2ff86cce7654955efea2913c35b44a8bb53879b5/BeanContextSupport.java/clean/modules/beans/src/main/java/java/beans/beancontext/BeanContextSupport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1976, 5070, 12, 780, 508, 16, 7704, 1042, 1763, 16915, 13, 288, 7734, 368, 1021, 1058, 508, 1410, 486, 506, 446, 3639, 309, 12, 529, 422, 446, 13, 288, 5411, 604, 394, 10108, 2932, 1420, 508, 848, 486, 506, 446, 8863, 3639, 289, 7734, 368, 1021, 1151, 1410, 486, 506, 446, 3639, 309, 12, 31345, 422, 446, 13, 288, 5411, 604, 394, 10108, 2932, 1986, 1151, 848, 486, 506, 446, 8863, 3639, 289, 7734, 368, 4444, 1058, 1450, 326, 1967, 9403, 487, 7704, 1042, 1763, 1269, 3639, 368, 971, 10108, 9938, 775, 358, 1262, 518, 487, 2619, 1058, 3639, 775, 288, 5411, 327, 16915, 18, 588, 797, 7675, 588, 7805, 7675, 588, 1420, 12, 529, 1769, 3639, 289, 1044, 12, 2041, 9992, 425, 13, 288, 5411, 775, 288, 7734, 327, 9403, 18, 588, 3163, 1420, 12, 529, 1769, 5411, 289, 1044, 12, 503, 431, 13, 288, 27573, 368, 1660, 12928, 3134, 3796, 1496, 4859, 2535, 7734, 604, 394, 2754, 2932, 1941, 1058, 8863, 5411, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1976, 5070, 12, 780, 508, 16, 7704, 1042, 1763, 16915, 13, 288, 7734, 368, 1021, 1058, 508, 1410, 486, 506, 446, 3639, 309, 12, 529, 422, 446, 13, 288, 5411, 604, 394, 10108, 2932, 1420, 508, 848, 486, 506, 446, 8863, 3639, 289, 7734, 368, 1021, 1151, 1410, 486, 506, 446, 3639, 309, 12, 31345, 422, 446, 13, 288, 5411, 604, 394, 10108, 2932, 1986, 1151, 848, 486, 506, 446, 8863, 3639, 289, 7734, 368, 4444, 1058, 1450, 326, 1967, 9403, 487, 7704, 1042, 1763, 1269, 3639, 368, 971, 10108, 9938, 775, 358, 1262, 518, 487, 2619, 1058, 3639, 775, 288, 5411, 327, 16915, 18, 588, 797, 7675, 588, 7805, 7675, 588, 1420, 12, 529, 1769, 3639, 2 ]
return;
return;
public void testAssertNotSameFails() { try { Integer obj = new Integer(1); assertNotSame(obj, obj); } catch (AssertionFailedError e) { return; } fail(); }
48424 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48424/8c1784e4b026417ed381ac5f0a7e2dda9084d7b0/AssertTest.java/clean/junit/tests/framework/AssertTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 8213, 1248, 8650, 30800, 1435, 288, 202, 202, 698, 288, 1082, 202, 4522, 1081, 273, 394, 2144, 12, 21, 1769, 1082, 202, 11231, 1248, 8650, 12, 2603, 16, 1081, 1769, 202, 202, 97, 1044, 261, 14979, 2925, 668, 425, 13, 288, 1875, 202, 2463, 31, 202, 202, 97, 202, 202, 6870, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 8213, 1248, 8650, 30800, 1435, 288, 202, 202, 698, 288, 1082, 202, 4522, 1081, 273, 394, 2144, 12, 21, 1769, 1082, 202, 11231, 1248, 8650, 12, 2603, 16, 1081, 1769, 202, 202, 97, 1044, 261, 14979, 2925, 668, 425, 13, 288, 1875, 202, 2463, 31, 202, 202, 97, 202, 202, 6870, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return loader.loadClass (class_name, true);
return loader.loadClass (mexp.getJavaName(), true);
public static Class evalToClass (Compilation comp) { ModuleExp mexp = comp.getModule(); SourceMessages messages = comp.getMessages(); try { String class_name = mexp.getJavaName (); ArrayClassLoader loader = new ArrayClassLoader (); comp.loader = loader; comp.compile(mexp, class_name); // FIXME - doesn't emit warnings. if (messages.seenErrors()) return null; byte[][] classes = new byte[comp.numClasses][]; java.util.zip.ZipOutputStream zout = null; if (dumpZipPrefix != null) { StringBuffer zipname = new StringBuffer(dumpZipPrefix); if (interactiveCounter >= 0) // Incremented by Shell.run. zipname.append(interactiveCounter); zipname.append(".zip"); java.io.FileOutputStream zfout = new java.io.FileOutputStream(zipname.toString()); zout = new java.util.zip.ZipOutputStream(zfout); } for (int iClass = 0; iClass < comp.numClasses; iClass++) { ClassType clas = comp.classes[iClass]; String className = clas.getName (); byte[] classBytes = clas.writeToArray (); loader.addClass(className, classBytes); if (zout != null) { String clname = className.replace ('.', '/') + ".class"; java.util.zip.ZipEntry zent = new java.util.zip.ZipEntry (clname); zent.setSize(classBytes.length); java.util.zip.CRC32 crc = new java.util.zip.CRC32(); crc.update(classBytes); zent.setCrc(crc.getValue()); zent.setMethod(java.util.zip.ZipEntry.STORED); zout.putNextEntry(zent); zout.write(classBytes); } } if (zout != null) { zout.close (); } /* DEBUGGING: for (int iClass = 0; iClass < comp.numClasses; iClass++) ClassTypeWriter.print(comp.classes[iClass], System.out, 0); */ CallContext ctx = CallContext.getInstance(); ctx.value1 = comp; for (int iClass = 0; iClass < comp.numClasses; iClass++) { ClassType ctype = comp.classes[iClass]; ctype.setReflectClass(loader.loadClass(ctype.getName(), false)); ctype.setExisting(true); } return loader.loadClass (class_name, true); } catch (java.io.IOException ex) { ex.printStackTrace(OutPort.errDefault()); throw new RuntimeException ("I/O error in lambda eval: "+ex); } catch (ClassNotFoundException ex) { throw new RuntimeException("class not found in lambda eval"); } }
40769 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/40769/ae2ea5515a6e96d857e7b3a4d43f854aa0611ada/ModuleExp.java/buggy/gnu/expr/ModuleExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1659, 5302, 774, 797, 261, 19184, 1161, 13, 225, 288, 565, 5924, 2966, 312, 2749, 273, 1161, 18, 588, 3120, 5621, 565, 4998, 5058, 2743, 273, 1161, 18, 588, 5058, 5621, 565, 775, 1377, 288, 202, 780, 667, 67, 529, 273, 312, 2749, 18, 588, 5852, 461, 261, 1769, 202, 1076, 7805, 4088, 273, 394, 1510, 7805, 261, 1769, 202, 2919, 18, 6714, 273, 4088, 31, 202, 2919, 18, 11100, 12, 81, 2749, 16, 667, 67, 529, 1769, 202, 759, 9852, 300, 3302, 1404, 3626, 5599, 18, 202, 430, 261, 6833, 18, 15156, 4229, 10756, 202, 225, 327, 446, 31, 202, 7229, 63, 6362, 65, 3318, 273, 394, 1160, 63, 2919, 18, 2107, 4818, 6362, 15533, 202, 6290, 18, 1367, 18, 4450, 18, 9141, 4632, 998, 659, 273, 446, 31, 202, 430, 261, 8481, 9141, 2244, 480, 446, 13, 202, 225, 288, 202, 565, 6674, 3144, 529, 273, 394, 6674, 12, 8481, 9141, 2244, 1769, 202, 565, 309, 261, 24761, 4789, 1545, 374, 13, 202, 1377, 368, 17883, 329, 635, 19433, 18, 2681, 18, 202, 1377, 3144, 529, 18, 6923, 12, 24761, 4789, 1769, 202, 565, 3144, 529, 18, 6923, 2932, 18, 4450, 8863, 202, 565, 2252, 18, 1594, 18, 812, 4632, 998, 617, 322, 202, 1377, 273, 394, 2252, 18, 1594, 18, 812, 4632, 12, 4450, 529, 18, 10492, 10663, 202, 565, 998, 659, 273, 394, 2252, 18, 1367, 18, 4450, 18, 9141, 4632, 12, 94, 617, 322, 1769, 202, 225, 289, 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, 282, 1071, 760, 1659, 5302, 774, 797, 261, 19184, 1161, 13, 225, 288, 565, 5924, 2966, 312, 2749, 273, 1161, 18, 588, 3120, 5621, 565, 4998, 5058, 2743, 273, 1161, 18, 588, 5058, 5621, 565, 775, 1377, 288, 202, 780, 667, 67, 529, 273, 312, 2749, 18, 588, 5852, 461, 261, 1769, 202, 1076, 7805, 4088, 273, 394, 1510, 7805, 261, 1769, 202, 2919, 18, 6714, 273, 4088, 31, 202, 2919, 18, 11100, 12, 81, 2749, 16, 667, 67, 529, 1769, 202, 759, 9852, 300, 3302, 1404, 3626, 5599, 18, 202, 430, 261, 6833, 18, 15156, 4229, 10756, 202, 225, 327, 446, 31, 202, 7229, 63, 6362, 65, 3318, 273, 394, 1160, 63, 2919, 18, 2107, 4818, 6362, 15533, 2 ]
if (prevAttack.getEntityId() == attacker.getId()
if ( (prevAttack.getEntityId() == attacker.getId()
private static boolean isFiringFromArmAlready(IGame game, int weaponId, final Entity attacker, int armLoc) { for (Enumeration i = game.getActions(); i.hasMoreElements();) { Object o = i.nextElement(); if (!(o instanceof WeaponAttackAction)) { continue; } WeaponAttackAction prevAttack = (WeaponAttackAction) o; // stop when we get to this weaponattack (does this always work?) if (prevAttack.getEntityId() == attacker.getId() && prevAttack.getWeaponId() == weaponId) { break; } if (prevAttack.getEntityId() == attacker.getId() && attacker.getEquipment(prevAttack.getWeaponId()) .getLocation() == armLoc) { return true; } } return false; }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/eeda1e6f7e47e91c3813201ba4a924e8d820e201/Compute.java/buggy/megamek/src/megamek/common/Compute.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1250, 17646, 11256, 1265, 25583, 9430, 12, 3047, 339, 7920, 16, 509, 732, 28629, 548, 16, 5411, 727, 3887, 13843, 264, 16, 509, 23563, 1333, 13, 288, 3639, 364, 261, 21847, 277, 273, 7920, 18, 588, 6100, 5621, 277, 18, 5332, 7417, 3471, 5621, 13, 288, 5411, 1033, 320, 273, 277, 18, 4285, 1046, 5621, 5411, 309, 16051, 12, 83, 1276, 1660, 28629, 3075, 484, 1803, 3719, 288, 7734, 1324, 31, 5411, 289, 5411, 1660, 28629, 3075, 484, 1803, 2807, 3075, 484, 273, 261, 3218, 28629, 3075, 484, 1803, 13, 320, 31, 5411, 368, 2132, 1347, 732, 336, 358, 333, 732, 28629, 4558, 484, 261, 20657, 333, 3712, 1440, 8535, 5411, 309, 261, 261, 10001, 3075, 484, 18, 588, 18029, 1435, 422, 13843, 264, 18, 26321, 1435, 10792, 597, 2807, 3075, 484, 18, 588, 3218, 28629, 548, 1435, 422, 732, 28629, 548, 13, 288, 7734, 898, 31, 5411, 289, 5411, 309, 261, 261, 10001, 3075, 484, 18, 588, 18029, 1435, 422, 13843, 264, 18, 26321, 1435, 10792, 597, 13843, 264, 18, 588, 13142, 11568, 12, 10001, 3075, 484, 18, 588, 3218, 28629, 548, 10756, 18701, 263, 588, 2735, 1435, 422, 23563, 1333, 13, 288, 7734, 327, 638, 31, 5411, 289, 3639, 289, 3639, 327, 629, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1250, 17646, 11256, 1265, 25583, 9430, 12, 3047, 339, 7920, 16, 509, 732, 28629, 548, 16, 5411, 727, 3887, 13843, 264, 16, 509, 23563, 1333, 13, 288, 3639, 364, 261, 21847, 277, 273, 7920, 18, 588, 6100, 5621, 277, 18, 5332, 7417, 3471, 5621, 13, 288, 5411, 1033, 320, 273, 277, 18, 4285, 1046, 5621, 5411, 309, 16051, 12, 83, 1276, 1660, 28629, 3075, 484, 1803, 3719, 288, 7734, 1324, 31, 5411, 289, 5411, 1660, 28629, 3075, 484, 1803, 2807, 3075, 484, 273, 261, 3218, 28629, 3075, 484, 1803, 13, 320, 31, 5411, 368, 2132, 1347, 732, 336, 358, 333, 732, 28629, 4558, 484, 261, 20657, 333, 3712, 1440, 8535, 5411, 309, 261, 261, 10001, 3075, 2 ]
boolean wasIncluded = flagList.get(i) != null; boolean include = filterMatches(source.get(i));
boolean wasIncluded = flagList.get(i) != null; boolean include = filterMatches(source.get(i));
protected final void handleFilterChanged() { ((InternalReadWriteLock)getReadWriteLock()).internalLock().lock(); try { // all of these changes to this list happen "atomically" updates.beginEvent(); // for all source items, see what the change is for(int i = 0; i < source.size(); i++) { // test if this value was already not filtered out boolean wasIncluded = flagList.get(i) != null; // whether we should add this item boolean include = filterMatches(source.get(i)); // if this element is being removed as a result of the change if(wasIncluded && !include) { int filteredIndex = flagList.getCompressedIndex(i); flagList.set(i, null); updates.addDelete(filteredIndex); // if this element is being added as a result of the change } else if(!wasIncluded && include) { flagList.set(i, Boolean.TRUE); int filteredIndex = flagList.getCompressedIndex(i); updates.addInsert(filteredIndex); } } // commit the changes and notify listeners updates.commitEvent(); } finally { ((InternalReadWriteLock)getReadWriteLock()).internalLock().unlock(); } }
10062 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10062/ad21a8542996b641c3d0e33b914fc91b8ee5f419/AbstractFilterList.java/buggy/source/ca/odell/glazedlists/AbstractFilterList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 727, 918, 1640, 1586, 5033, 1435, 288, 3639, 14015, 3061, 1994, 3067, 2531, 13, 588, 1994, 3067, 2531, 1435, 2934, 7236, 2531, 7675, 739, 5621, 3639, 775, 288, 5411, 368, 777, 434, 4259, 3478, 358, 333, 666, 5865, 315, 7466, 6478, 6, 5411, 4533, 18, 10086, 1133, 5621, 5411, 368, 364, 777, 1084, 1516, 16, 2621, 4121, 326, 2549, 353, 5411, 364, 12, 474, 277, 273, 374, 31, 277, 411, 1084, 18, 1467, 5621, 277, 27245, 288, 7734, 368, 1842, 309, 333, 460, 1703, 1818, 486, 5105, 596, 7734, 1250, 1703, 19323, 273, 2982, 682, 18, 588, 12, 77, 13, 480, 446, 31, 7734, 368, 2856, 732, 1410, 527, 333, 761, 7734, 1250, 2341, 273, 1034, 6869, 12, 3168, 18, 588, 12, 77, 10019, 7734, 368, 309, 333, 930, 353, 3832, 3723, 487, 279, 563, 434, 326, 2549, 7734, 309, 12, 17416, 19323, 597, 401, 6702, 13, 288, 10792, 509, 5105, 1016, 273, 2982, 682, 18, 588, 16841, 1016, 12, 77, 1769, 10792, 2982, 682, 18, 542, 12, 77, 16, 446, 1769, 10792, 4533, 18, 1289, 2613, 12, 12071, 1016, 1769, 7734, 368, 309, 333, 930, 353, 3832, 3096, 487, 279, 563, 434, 326, 2549, 7734, 289, 469, 309, 12, 5, 17416, 19323, 597, 2341, 13, 288, 10792, 2982, 682, 18, 542, 12, 77, 16, 3411, 18, 18724, 1769, 10792, 509, 5105, 1016, 273, 2982, 682, 18, 588, 16841, 1016, 12, 77, 1769, 10792, 4533, 18, 1289, 4600, 12, 12071, 1016, 1769, 7734, 289, 5411, 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, 727, 918, 1640, 1586, 5033, 1435, 288, 3639, 14015, 3061, 1994, 3067, 2531, 13, 588, 1994, 3067, 2531, 1435, 2934, 7236, 2531, 7675, 739, 5621, 3639, 775, 288, 5411, 368, 777, 434, 4259, 3478, 358, 333, 666, 5865, 315, 7466, 6478, 6, 5411, 4533, 18, 10086, 1133, 5621, 5411, 368, 364, 777, 1084, 1516, 16, 2621, 4121, 326, 2549, 353, 5411, 364, 12, 474, 277, 273, 374, 31, 277, 411, 1084, 18, 1467, 5621, 277, 27245, 288, 7734, 368, 1842, 309, 333, 460, 1703, 1818, 486, 5105, 596, 7734, 1250, 1703, 19323, 273, 2982, 682, 18, 588, 12, 77, 13, 480, 446, 31, 7734, 368, 2856, 732, 1410, 527, 333, 761, 7734, 1250, 2341, 273, 1034, 6869, 2 ]
public EMFTag read(int tagID, EMFInputStream emf, int len) throws IOException {
public EMFTag read(int tagID, EMFInputStream emf, int len) throws IOException {
public EMFTag read(int tagID, EMFInputStream emf, int len) throws IOException { int index = emf.readDWORD(); int bmiOffset = emf.readDWORD(); int bmiSize = emf.readDWORD(); int brushOffset = emf.readDWORD(); int brushSize = emf.readDWORD(); ExtCreatePen tag = new ExtCreatePen(index, new ExtLogPen(emf)); return tag; }
57341 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57341/de061d5977b00047b242b52aea5bc47538b063c5/ExtCreatePen.java/clean/freehep-graphicsio-emf/src/main/java/org/freehep/graphicsio/emf/ExtCreatePen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 7141, 42, 1805, 855, 12, 474, 1047, 734, 16, 7141, 42, 4348, 801, 74, 16, 509, 562, 13, 540, 1216, 1860, 288, 5411, 509, 770, 273, 801, 74, 18, 896, 40, 7952, 5621, 3639, 509, 324, 9197, 2335, 273, 801, 74, 18, 896, 40, 7952, 5621, 3639, 509, 324, 9197, 1225, 273, 801, 74, 18, 896, 40, 7952, 5621, 3639, 509, 5186, 1218, 2335, 273, 801, 74, 18, 896, 40, 7952, 5621, 3639, 509, 5186, 1218, 1225, 273, 801, 74, 18, 896, 40, 7952, 5621, 3639, 6419, 1684, 24251, 1047, 273, 394, 6419, 1684, 24251, 12, 1615, 16, 394, 6419, 1343, 24251, 12, 351, 74, 10019, 3639, 327, 1047, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 7141, 42, 1805, 855, 12, 474, 1047, 734, 16, 7141, 42, 4348, 801, 74, 16, 509, 562, 13, 540, 1216, 1860, 288, 5411, 509, 770, 273, 801, 74, 18, 896, 40, 7952, 5621, 3639, 509, 324, 9197, 2335, 273, 801, 74, 18, 896, 40, 7952, 5621, 3639, 509, 324, 9197, 1225, 273, 801, 74, 18, 896, 40, 7952, 5621, 3639, 509, 5186, 1218, 2335, 273, 801, 74, 18, 896, 40, 7952, 5621, 3639, 509, 5186, 1218, 1225, 273, 801, 74, 18, 896, 40, 7952, 5621, 3639, 6419, 1684, 24251, 1047, 273, 394, 6419, 1684, 24251, 12, 1615, 16, 394, 6419, 1343, 24251, 12, 351, 74, 10019, 3639, 327, 1047, 31, 565, 289, 2, -100, -100, -100, -100, -100 ]
}
}
final void read_value ( final org.omg.CORBA.TypeCode tc, final org.omg.CORBA.portable.OutputStream out ) { if (tc == null) { throw new org.omg.CORBA.BAD_PARAM("TypeCode is null"); } int kind = ((org.jacorb.orb.TypeCode)tc)._kind(); switch (kind) { case TCKind._tk_null: case TCKind._tk_void: break; case TCKind._tk_boolean: out.write_boolean( read_boolean()); break; case TCKind._tk_char: out.write_char( read_char()); break; case TCKind._tk_wchar: out.write_wchar( read_wchar()); break; case TCKind._tk_octet: out.write_octet( read_octet()); break; case TCKind._tk_ushort: out.write_ushort( read_ushort()); break; case TCKind._tk_short: out.write_short( read_short()); break; case TCKind._tk_long: out.write_long( read_long()); break; case TCKind._tk_ulong: out.write_ulong( read_ulong()); break; case TCKind._tk_float: out.write_float( read_float()); break; case TCKind._tk_double: out.write_double( read_double()); break; case TCKind._tk_longlong: out.write_longlong( read_longlong()); break; case TCKind._tk_ulonglong: out.write_ulonglong( read_ulonglong()); break; case TCKind._tk_any: out.write_any( read_any()); break; case TCKind._tk_TypeCode: out.write_TypeCode( read_TypeCode()); break; case TCKind._tk_Principal: throw new org.omg.CORBA.NO_IMPLEMENT ("Principal deprecated"); case TCKind._tk_objref: out.write_Object( read_Object()); break; case TCKind._tk_string: out.write_string( read_string()); break; case TCKind._tk_wstring: out.write_wstring( read_wstring()); break; case TCKind._tk_array: try { int length = tc.length(); for( int i = 0; i < length; i++ ) read_value( tc.content_type(), out ); } catch ( org.omg.CORBA.TypeCodePackage.BadKind b ) {} break; case TCKind._tk_sequence: try { int len = read_long(); out.write_long(len); for( int i = 0; i < len; i++ ) read_value( tc.content_type(), out ); } catch ( org.omg.CORBA.TypeCodePackage.BadKind b ) {} break; case TCKind._tk_except: out.write_string( read_string()); // don't break, fall through to ... case TCKind._tk_struct: try { for( int i = 0; i < tc.member_count(); i++) read_value( tc.member_type(i), out ); } catch ( org.omg.CORBA.TypeCodePackage.BadKind b ) { b.printStackTrace(); } catch ( org.omg.CORBA.TypeCodePackage.Bounds b ) { b.printStackTrace(); } break; case TCKind._tk_enum: out.write_long( read_long() ); break; case TCKind._tk_alias: try { read_value( tc.content_type(), out ); } catch ( org.omg.CORBA.TypeCodePackage.BadKind b ) { b.printStackTrace(); } break; case TCKind._tk_union: try { TypeCode disc = (TypeCode) tc.discriminator_type (); disc = disc.originalType (); int def_idx = tc.default_index(); int member_idx = -1; switch( disc.kind().value() ) { case TCKind._tk_short: { short s = read_short(); out.write_short(s); for(int i = 0 ; i < tc.member_count() ; i++) { if(i != def_idx) { if(s == tc.member_label(i).extract_short()) { member_idx = i; break; } } } break; } case TCKind._tk_long: { int s = read_long(); out.write_long(s); for(int i = 0 ; i < tc.member_count() ; i++) { if(i != def_idx) { if(s == tc.member_label(i).extract_long()) { member_idx = i; break; } } } break; } case TCKind._tk_ushort: { short s = read_ushort(); out.write_ushort(s); for(int i = 0 ; i < tc.member_count() ; i++) { if(i != def_idx) { if(s == tc.member_label(i).extract_ushort()) { member_idx = i; break; } } } break; } case TCKind._tk_ulong: { int s = read_ulong(); out.write_ulong(s); for(int i = 0 ; i < tc.member_count() ; i++) { if(i != def_idx) { if(s == tc.member_label(i).extract_ulong()) { member_idx = i; break; } } } break; } case TCKind._tk_longlong: { long s = read_longlong(); out.write_longlong(s); for(int i = 0 ; i < tc.member_count() ; i++) { if(i != def_idx) { if(s == tc.member_label(i).extract_longlong()) { member_idx = i; break; } } } break; } case TCKind._tk_ulonglong: { long s = read_ulonglong(); out.write_ulonglong(s); for(int i = 0 ; i < tc.member_count() ; i++) { if(i != def_idx) { if(s == tc.member_label(i).extract_ulonglong()) { member_idx = i; break; } } } break; } case TCKind._tk_char: { char s = read_char(); out.write_char(s); for(int i = 0 ; i < tc.member_count() ; i++) { if(i != def_idx) { if(s == tc.member_label(i).extract_char()) { member_idx = i; break; } } } break; } case TCKind._tk_boolean: { boolean b = read_boolean(); out.write_boolean( b ); for(int i = 0 ; i < tc.member_count() ; i++) { if( i != def_idx) { if( b == tc.member_label(i).extract_boolean() ) { member_idx = i; break; } } } break; } case TCKind._tk_enum: { int s = read_long(); out.write_long(s); for( int i = 0 ; i < tc.member_count() ; i++) { if( i != def_idx) { int label = tc.member_label(i).create_input_stream().read_long(); if(s == label) { member_idx = i; break; } } } break; } default: throw new org.omg.CORBA.MARSHAL ("Invalid union discriminator type: " + disc); } // switch if( member_idx != -1 ) { read_value( tc.member_type( member_idx ), out ); } else if( def_idx != -1 ) { read_value( tc.member_type( def_idx ), out ); } } catch ( org.omg.CORBA.TypeCodePackage.BadKind bk ){} catch ( org.omg.CORBA.TypeCodePackage.Bounds b ){} break; case 0xffffffff: try { org.omg.CORBA.TypeCode _tc = (org.omg.CORBA.TypeCode)recursiveTCMap.get(tc.id()); if( _tc == null ) { throw new org.omg.CORBA.MARSHAL("No recursive TC found for " + tc.id()); } // Debug.output(4, "++ found recursive tc " + tc.id() ); read_value( _tc , out ); } catch ( org.omg.CORBA.TypeCodePackage.BadKind b ) { b.printStackTrace(); } break; default: throw new org.omg.CORBA.MARSHAL("Cannot handle TypeCode with kind " + kind); } }
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/7271c3cbb78470b90b072d36661a5ab67199cc91/CDRInputStream.java/clean/src/org/jacorb/orb/CDRInputStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 727, 918, 855, 67, 1132, 565, 261, 377, 727, 2358, 18, 362, 75, 18, 9428, 12536, 18, 15460, 1715, 16, 377, 727, 2358, 18, 362, 75, 18, 9428, 12536, 18, 655, 429, 18, 4632, 596, 377, 262, 565, 288, 3639, 309, 261, 5111, 422, 446, 13, 3639, 288, 5411, 604, 394, 2358, 18, 362, 75, 18, 9428, 12536, 18, 16234, 67, 8388, 2932, 15460, 353, 446, 8863, 3639, 289, 3639, 509, 3846, 273, 14015, 3341, 18, 31390, 16640, 18, 16640, 18, 15460, 13, 5111, 2934, 67, 9224, 5621, 202, 9610, 261, 9224, 13, 202, 95, 5411, 648, 399, 3507, 728, 6315, 16099, 67, 2011, 30, 2398, 648, 399, 3507, 728, 6315, 16099, 67, 6459, 30, 7734, 898, 31, 5411, 648, 399, 3507, 728, 6315, 16099, 67, 6494, 30, 7734, 596, 18, 2626, 67, 6494, 12, 855, 67, 6494, 10663, 7734, 898, 31, 5411, 648, 399, 3507, 728, 6315, 16099, 67, 3001, 30, 7734, 596, 18, 2626, 67, 3001, 12, 855, 67, 3001, 10663, 7734, 898, 31, 5411, 648, 399, 3507, 728, 6315, 16099, 67, 91, 3001, 30, 7734, 596, 18, 2626, 67, 91, 3001, 12, 855, 67, 91, 3001, 10663, 7734, 898, 31, 5411, 648, 399, 3507, 728, 6315, 16099, 67, 17909, 30, 7734, 596, 18, 2626, 67, 17909, 12, 855, 67, 17909, 10663, 7734, 898, 31, 202, 7734, 648, 399, 3507, 728, 6315, 16099, 67, 1218, 499, 30, 7734, 596, 18, 2626, 67, 1218, 499, 12, 855, 67, 1218, 499, 10663, 7734, 898, 31, 5411, 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, 727, 918, 855, 67, 1132, 565, 261, 377, 727, 2358, 18, 362, 75, 18, 9428, 12536, 18, 15460, 1715, 16, 377, 727, 2358, 18, 362, 75, 18, 9428, 12536, 18, 655, 429, 18, 4632, 596, 377, 262, 565, 288, 3639, 309, 261, 5111, 422, 446, 13, 3639, 288, 5411, 604, 394, 2358, 18, 362, 75, 18, 9428, 12536, 18, 16234, 67, 8388, 2932, 15460, 353, 446, 8863, 3639, 289, 3639, 509, 3846, 273, 14015, 3341, 18, 31390, 16640, 18, 16640, 18, 15460, 13, 5111, 2934, 67, 9224, 5621, 202, 9610, 261, 9224, 13, 202, 95, 5411, 648, 399, 3507, 728, 6315, 16099, 67, 2011, 30, 2398, 648, 399, 3507, 728, 6315, 16099, 67, 6459, 30, 7734, 898, 31, 2 ]
return(items.size());
return countItems ();
getItemCount(){ return(items.size());}
25352 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25352/3fe1c14284ce32b79d0e66441aec6a45a77ff684/Menu.java/buggy/libjava/java/awt/Menu.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 8143, 1380, 1435, 95, 225, 327, 12, 3319, 18, 1467, 10663, 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, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8143, 1380, 1435, 95, 225, 327, 12, 3319, 18, 1467, 10663, 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, -100, -100, -100, -100 ]
Element styles = dom.createElement( "style" );
styles = dom.createElement( "style" );
protected void initializeScriptStyles( ) { Element codeScript = dom.createElement( "script" ); //$NON-NLS-1$ codeScript.appendChild( dom.createCDATASection( EventHandlers.content.toString( ) ) ); appendChild( codeScript ); Element styles = dom.createElement( "style" ); //$NON-NLS-1$ styles.setAttribute( "type", "text/css" ); //$NON-NLS-1$ //$NON-NLS-2$ styles.appendChild( dom.createCDATASection( EventHandlers.styles.toString( ) ) ); appendChild( styles ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/117996dc9ab123068b85cb66dd94ce512a0a0ccd/SVGGraphics2D.java/clean/chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGGraphics2D.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 4046, 3651, 9725, 12, 262, 202, 95, 202, 202, 1046, 981, 3651, 273, 4092, 18, 2640, 1046, 12, 315, 4263, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 710, 3651, 18, 6923, 1763, 12, 4092, 18, 2640, 10160, 789, 3033, 794, 12, 2587, 6919, 18, 1745, 18, 10492, 12, 262, 262, 11272, 202, 202, 6923, 1763, 12, 981, 3651, 11272, 202, 202, 10218, 273, 4092, 18, 2640, 1046, 12, 315, 4060, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 10218, 18, 542, 1499, 12, 315, 723, 3113, 315, 955, 19, 5212, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 202, 202, 10218, 18, 6923, 1763, 12, 4092, 18, 2640, 10160, 789, 3033, 794, 12, 2587, 6919, 18, 10218, 18, 10492, 12, 262, 262, 11272, 202, 202, 6923, 1763, 12, 5687, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 4046, 3651, 9725, 12, 262, 202, 95, 202, 202, 1046, 981, 3651, 273, 4092, 18, 2640, 1046, 12, 315, 4263, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 710, 3651, 18, 6923, 1763, 12, 4092, 18, 2640, 10160, 789, 3033, 794, 12, 2587, 6919, 18, 1745, 18, 10492, 12, 262, 262, 11272, 202, 202, 6923, 1763, 12, 981, 3651, 11272, 202, 202, 10218, 273, 4092, 18, 2640, 1046, 12, 315, 4060, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 10218, 18, 542, 1499, 12, 315, 723, 3113, 315, 955, 19, 5212, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 202, 202, 2 ]
ASTNode node= ASTResolving.findParentType(fOriginalNode); if (newTypeDecl.equals(node)) { modifiers |= Modifier.PRIVATE; if (ASTResolving.isInStaticContext(fOriginalNode)) { modifiers |= Modifier.STATIC; } } else if (node instanceof AnonymousClassDeclaration) { modifiers |= Modifier.PROTECTED; }
modifiers |= Modifier.PUBLIC;
private int evaluateFieldModifiers(ASTNode newTypeDecl) { if (fSenderBinding.isInterface()) { // for interface members copy the modifiers from an existing field FieldDeclaration[] fieldDecls= ((TypeDeclaration) newTypeDecl).getFields(); if (fieldDecls.length > 0) { return fieldDecls[0].getModifiers(); } return 0; } int modifiers= 0; ASTNode parent= fOriginalNode.getParent(); if (parent instanceof QualifiedName) { Name qualifier= ((QualifiedName)parent).getQualifier(); if (qualifier.resolveBinding().getKind() == IBinding.TYPE) { modifiers |= Modifier.STATIC; } } else { ASTNode node= ASTResolving.findParentType(fOriginalNode); if (newTypeDecl.equals(node)) { modifiers |= Modifier.PRIVATE; if (ASTResolving.isInStaticContext(fOriginalNode)) { modifiers |= Modifier.STATIC; } } else if (node instanceof AnonymousClassDeclaration) { modifiers |= Modifier.PROTECTED; } } return modifiers; }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/dcf637f486fb65246cbf2babe8efbd7b7adef1e6/NewVariableCompletionProposal.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 509, 5956, 974, 11948, 12, 9053, 907, 23319, 3456, 13, 288, 202, 202, 430, 261, 74, 12021, 5250, 18, 291, 1358, 10756, 288, 1082, 202, 759, 364, 1560, 4833, 1610, 326, 10429, 628, 392, 2062, 652, 1082, 202, 974, 6094, 8526, 652, 1799, 3251, 33, 14015, 559, 6094, 13, 23319, 3456, 2934, 588, 2314, 5621, 1082, 202, 430, 261, 1518, 1799, 3251, 18, 2469, 405, 374, 13, 288, 9506, 202, 2463, 652, 1799, 3251, 63, 20, 8009, 588, 11948, 5621, 1082, 202, 97, 1082, 202, 2463, 374, 31, 202, 202, 97, 202, 202, 474, 10429, 33, 374, 31, 202, 202, 9053, 907, 982, 33, 284, 8176, 907, 18, 588, 3054, 5621, 1082, 202, 430, 261, 2938, 1276, 28696, 13, 288, 1082, 202, 461, 12327, 33, 14015, 12345, 13, 2938, 2934, 588, 16185, 5621, 1082, 202, 430, 261, 28157, 18, 10828, 5250, 7675, 588, 5677, 1435, 422, 467, 5250, 18, 2399, 13, 288, 9506, 202, 15432, 5626, 12832, 18, 22741, 31, 1082, 202, 97, 6862, 202, 97, 469, 288, 1082, 202, 9053, 907, 756, 33, 9183, 2903, 6282, 18, 4720, 3054, 559, 12, 74, 8176, 907, 1769, 1082, 202, 430, 261, 2704, 559, 3456, 18, 14963, 12, 2159, 3719, 288, 9506, 202, 15432, 5626, 12832, 18, 20055, 31, 9506, 202, 430, 261, 9053, 2903, 6282, 18, 291, 382, 5788, 1042, 12, 74, 8176, 907, 3719, 288, 6862, 202, 15432, 5626, 12832, 18, 22741, 31, 9506, 202, 97, 1082, 202, 97, 469, 309, 261, 2159, 1276, 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, 509, 5956, 974, 11948, 12, 9053, 907, 23319, 3456, 13, 288, 202, 202, 430, 261, 74, 12021, 5250, 18, 291, 1358, 10756, 288, 1082, 202, 759, 364, 1560, 4833, 1610, 326, 10429, 628, 392, 2062, 652, 1082, 202, 974, 6094, 8526, 652, 1799, 3251, 33, 14015, 559, 6094, 13, 23319, 3456, 2934, 588, 2314, 5621, 1082, 202, 430, 261, 1518, 1799, 3251, 18, 2469, 405, 374, 13, 288, 9506, 202, 2463, 652, 1799, 3251, 63, 20, 8009, 588, 11948, 5621, 1082, 202, 97, 1082, 202, 2463, 374, 31, 202, 202, 97, 202, 202, 474, 10429, 33, 374, 31, 202, 202, 9053, 907, 982, 33, 284, 8176, 907, 18, 588, 3054, 5621, 1082, 202, 430, 261, 2938, 2 ]
for ( Iterator i = plugins.iterator(); i.hasNext(); ) { Plugin plugin = (Plugin) i.next();
ext.setVersion( version ); } } }
private void transformPomToSnapshotVersionPom( MavenProject project ) throws MojoExecutionException { if ( !getReleaseProgress().verifyCheckpoint( ReleaseProgressTracker.CP_POM_TRANSORMED_FOR_DEVELOPMENT ) ) { if ( isSnapshot( project.getVersion() ) ) { throw new MojoExecutionException( "This project is a snapshot (" + project.getVersion() + "). It appears that the release version has not been committed." ); } Model model = project.getOriginalModel(); ProjectVersionResolver versionResolver = getVersionResolver(); Parent parent = model.getParent(); //Rewrite parent version if ( parent != null ) { String incrementedVersion = versionResolver.getResolvedVersion( parent.getGroupId(), parent .getArtifactId() ); if ( incrementedVersion != null ) { parent.setVersion( incrementedVersion ); } } //Rewrite dependencies section List dependencies = model.getDependencies(); if ( dependencies != null ) { for ( Iterator i = dependencies.iterator(); i.hasNext(); ) { Dependency dep = (Dependency) i.next(); String version = versionResolver.getResolvedVersion( dep.getGroupId(), dep.getArtifactId() ); if ( version != null ) { dep.setVersion( version ); } } } //Rewrite plugins section Build build = model.getBuild(); if ( build != null ) { List plugins = build.getPlugins(); if ( plugins != null ) { for ( Iterator i = plugins.iterator(); i.hasNext(); ) { Plugin plugin = (Plugin) i.next(); String version = versionResolver.getResolvedVersion( plugin.getGroupId(), plugin .getArtifactId() ); if ( version != null ) { plugin.setVersion( version ); } } } //Rewrite extensions section List extensions = build.getExtensions(); for ( Iterator i = extensions.iterator(); i.hasNext(); ) { Extension ext = (Extension) i.next(); String version = versionResolver.getResolvedVersion( ext.getGroupId(), ext.getArtifactId() ); if ( version != null ) { ext.setVersion( version ); } } } Reporting reporting = model.getReporting(); if ( reporting != null ) { //Rewrite reports section List reports = reporting.getPlugins(); if ( reports != null ) { for ( Iterator i = reports.iterator(); i.hasNext(); ) { ReportPlugin plugin = (ReportPlugin) i.next(); String version = versionResolver.getResolvedVersion( plugin.getGroupId(), plugin .getArtifactId() ); if ( version != null ) { plugin.setVersion( version ); } } } } Writer writer = null; try { writer = new FileWriter( project.getFile() ); project.writeOriginalModel( writer ); } catch ( IOException e ) { throw new MojoExecutionException( "Cannot write development version of pom to: " + project.getFile(), e ); } finally { IOUtil.close( writer ); } try { getReleaseProgress().checkpoint( basedir, ReleaseProgressTracker.CP_POM_TRANSORMED_FOR_DEVELOPMENT ); } catch ( IOException e ) { getLog().warn( "Error writing checkpoint.", e ); } } }
50542 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50542/22f9a34107d27782bab8e88b50b54708304b73dc/PrepareReleaseMojo.java/clean/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PrepareReleaseMojo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2510, 52, 362, 774, 4568, 1444, 52, 362, 12, 17176, 4109, 1984, 262, 3639, 1216, 18780, 565, 288, 3639, 309, 261, 401, 588, 7391, 5491, 7675, 8705, 14431, 12, 10819, 5491, 8135, 18, 4258, 67, 52, 1872, 67, 16596, 916, 25773, 67, 7473, 67, 31771, 52, 3212, 262, 262, 3639, 288, 5411, 309, 261, 353, 4568, 12, 1984, 18, 588, 1444, 1435, 262, 262, 5411, 288, 7734, 604, 394, 18780, 12, 315, 2503, 1984, 353, 279, 4439, 7566, 397, 1984, 18, 588, 1444, 1435, 397, 10792, 315, 2934, 2597, 14606, 716, 326, 3992, 1177, 711, 486, 2118, 16015, 1199, 11272, 5411, 289, 5411, 3164, 938, 273, 1984, 18, 588, 8176, 1488, 5621, 5411, 5420, 1444, 4301, 1177, 4301, 273, 8343, 4301, 5621, 5411, 9520, 982, 273, 938, 18, 588, 3054, 5621, 5411, 368, 19618, 982, 1177, 5411, 309, 261, 982, 480, 446, 262, 5411, 288, 7734, 514, 28859, 1444, 273, 1177, 4301, 18, 588, 12793, 1444, 12, 982, 18, 588, 8722, 9334, 982, 10792, 263, 588, 7581, 548, 1435, 11272, 7734, 309, 261, 28859, 1444, 480, 446, 262, 7734, 288, 10792, 982, 18, 542, 1444, 12, 28859, 1444, 11272, 7734, 289, 5411, 289, 5411, 368, 19618, 5030, 2442, 5411, 987, 5030, 273, 938, 18, 588, 8053, 5621, 5411, 309, 261, 5030, 480, 446, 262, 5411, 288, 7734, 364, 261, 4498, 277, 273, 5030, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 7734, 288, 10792, 11993, 5993, 273, 261, 7787, 13, 277, 18, 4285, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2510, 52, 362, 774, 4568, 1444, 52, 362, 12, 17176, 4109, 1984, 262, 3639, 1216, 18780, 565, 288, 3639, 309, 261, 401, 588, 7391, 5491, 7675, 8705, 14431, 12, 10819, 5491, 8135, 18, 4258, 67, 52, 1872, 67, 16596, 916, 25773, 67, 7473, 67, 31771, 52, 3212, 262, 262, 3639, 288, 5411, 309, 261, 353, 4568, 12, 1984, 18, 588, 1444, 1435, 262, 262, 5411, 288, 7734, 604, 394, 18780, 12, 315, 2503, 1984, 353, 279, 4439, 7566, 397, 1984, 18, 588, 1444, 1435, 397, 10792, 315, 2934, 2597, 14606, 716, 326, 3992, 1177, 711, 486, 2118, 16015, 1199, 11272, 5411, 289, 5411, 3164, 938, 273, 1984, 18, 588, 8176, 1488, 5621, 5411, 5420, 1444, 4301, 2 ]
}
}
public static void propertiesChanged() { initKeyBindings(); Autosave.setInterval(getIntegerProperty("autosave",30)); saveCaret = getBooleanProperty("saveCaret"); //theme = new JEditMetalTheme(); //theme.propertiesChanged(); //MetalLookAndFeel.setCurrentTheme(theme); 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); } // give all text areas the same font Font font = getFontProperty("view.font"); //defaults.put("TextField.font",font); defaults.put("TextArea.font",font); defaults.put("TextPane.font",font); EditBus.send(new PropertiesChanged(null)); }
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/b9738181fd39b892d5d7eee50449258111a26b08/jEdit.java/clean/org/gjt/sp/jedit/jEdit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 1790, 5033, 1435, 202, 95, 202, 202, 2738, 653, 10497, 5621, 202, 202, 21023, 836, 18, 542, 4006, 12, 588, 4522, 1396, 2932, 21996, 836, 3113, 5082, 10019, 202, 202, 5688, 39, 20731, 273, 12835, 1396, 2932, 5688, 39, 20731, 8863, 202, 202, 759, 7997, 273, 394, 804, 4666, 26365, 8335, 5621, 202, 202, 759, 7997, 18, 4738, 5033, 5621, 202, 202, 759, 26365, 9794, 1876, 2954, 292, 18, 542, 3935, 8335, 12, 7997, 1769, 202, 202, 3060, 73, 643, 87, 3467, 273, 6484, 1318, 18, 588, 7019, 5621, 202, 202, 759, 8492, 777, 26145, 4085, 3134, 5740, 202, 202, 430, 12, 78, 4666, 18, 588, 5507, 1396, 2932, 955, 12570, 6, 3719, 202, 202, 95, 1082, 202, 2957, 5412, 273, 394, 6863, 18, 5328, 310, 18, 412, 1727, 18, 2957, 5370, 1420, 12, 9506, 202, 78, 4666, 18, 588, 2957, 1396, 2932, 1945, 18, 12370, 2957, 7923, 1769, 1082, 202, 2957, 16231, 273, 394, 6863, 18, 5328, 310, 18, 412, 1727, 18, 2957, 5370, 1420, 12, 9506, 202, 78, 4666, 18, 588, 2957, 1396, 2932, 1945, 18, 2137, 2957, 7923, 1769, 1082, 202, 2957, 21683, 2957, 273, 394, 6863, 18, 5328, 310, 18, 412, 1727, 18, 2957, 5370, 1420, 12, 9506, 202, 78, 4666, 18, 588, 2957, 1396, 2932, 1945, 18, 71, 20731, 2957, 7923, 1769, 1082, 202, 2957, 4421, 2957, 273, 394, 6863, 18, 5328, 310, 18, 412, 1727, 18, 2957, 5370, 1420, 12, 9506, 202, 78, 4666, 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, 225, 202, 482, 760, 918, 1790, 5033, 1435, 202, 95, 202, 202, 2738, 653, 10497, 5621, 202, 202, 21023, 836, 18, 542, 4006, 12, 588, 4522, 1396, 2932, 21996, 836, 3113, 5082, 10019, 202, 202, 5688, 39, 20731, 273, 12835, 1396, 2932, 5688, 39, 20731, 8863, 202, 202, 759, 7997, 273, 394, 804, 4666, 26365, 8335, 5621, 202, 202, 759, 7997, 18, 4738, 5033, 5621, 202, 202, 759, 26365, 9794, 1876, 2954, 292, 18, 542, 3935, 8335, 12, 7997, 1769, 202, 202, 3060, 73, 643, 87, 3467, 273, 6484, 1318, 18, 588, 7019, 5621, 202, 202, 759, 8492, 777, 26145, 4085, 3134, 5740, 202, 202, 430, 12, 78, 4666, 18, 588, 5507, 1396, 2932, 955, 12570, 6, 3719, 202, 2 ]
return reifiedObject;
return localBodyStrategy.getReifiedObject();
public Object getReifiedObject() { return reifiedObject; }
23362 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/23362/5e642ce7dcf879375a80fc7d91f77e9f8895c453/AbstractBody.java/buggy/src/org/objectweb/proactive/core/body/AbstractBody.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1033, 5561, 939, 921, 1435, 288, 565, 327, 1191, 2250, 4525, 18, 588, 426, 939, 921, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1033, 5561, 939, 921, 1435, 288, 565, 327, 1191, 2250, 4525, 18, 588, 426, 939, 921, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
logger.error("unabled to sleep", e);
logger.error("unable to subscribe for MJS notifications", e); return;
public void run() { if (logger.isDebugEnabled()) { logger.debug("running job thread"); } //retrieve, parse, and validate the RSL File file = new File(rslFile); RslParser rslParser = RslParserFactory.newRslParser(); Element rsl = null; try { rsl = rslParser.parse(new FileReader(file)); } catch (Exception e) { logger.error("unable to read RSL file", e); return; } //setup factory stub OGSIServiceGridLocator factoryLocator = new OGSIServiceGridLocator(); Factory factory = null; try { factory = factoryLocator.getFactoryPort(new URL(factoryUrl)); } catch (Exception e) { logger.error("unable to get factory port", e); return; } ((Stub)factory)._setProperty(Constants.GSI_SEC_MSG, Constants.SIGNATURE); ((Stub)factory)._setProperty(Constants.GRIM_POLICY_HANDLER, new IgnoreProxyPolicyHandler()); ((Stub)factory)._setProperty(GSIConstants.GSI_AUTHORIZATION, NoAuthorization.getInstance()); GridServiceFactory gridServiceFactory = new GridServiceFactory(factory); //start timming createService() this.perfLog.start(); //create MJS instance if (logger.isDebugEnabled()) { logger.debug("creating job"); } try { ExtensibilityType creationParameters = AnyHelper.getExtensibility(rsl); LocatorType gshHolder = gridServiceFactory.createService(creationParameters); ManagedJobServiceGridLocator mjsLocator = new ManagedJobServiceGridLocator(); this.managedJob = mjsLocator.getManagedJobPort(gshHolder); } catch (Exception e) { logger.error("unable to create MJS instance", e); return; } /* try { Thread.currentThread().sleep(5000); } catch (Exception e) { logger.error("unabled to sleep", e); } */ //stop timming createService() this.perfLog.stop("createService"); if (logger.isDebugEnabled()) { logger.debug("notifying harness of creation..."); } this.harness.notifyCreated(); if (logger.isDebugEnabled()) { logger.debug("notifyed harness of creation"); } //wait for start signal if (logger.isDebugEnabled()) { logger.debug("waiting for signal to start"); } synchronized (this) { try { this.wait(); } catch (Exception e) { logger.error("unabled to wait", e); } } //do actual start call on job start0(); }
8719 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8719/c2d59d5f30b450b41dd34f1585df5d966009c789/SingleJobThread.java/buggy/testing/gram_throughput/src/org/globus/ogsa/base/gram/testing/throughput/SingleJobThread.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 309, 261, 4901, 18, 291, 2829, 1526, 10756, 288, 5411, 1194, 18, 4148, 2932, 8704, 1719, 2650, 8863, 3639, 289, 3639, 368, 17466, 16, 1109, 16, 471, 1954, 326, 534, 4559, 3639, 1387, 585, 273, 394, 1387, 12, 86, 2069, 812, 1769, 3639, 534, 2069, 2678, 436, 2069, 2678, 273, 534, 2069, 2678, 1733, 18, 2704, 54, 2069, 2678, 5621, 3639, 3010, 436, 2069, 273, 446, 31, 3639, 775, 288, 5411, 436, 2069, 273, 436, 2069, 2678, 18, 2670, 12, 2704, 23010, 12, 768, 10019, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 1194, 18, 1636, 2932, 18828, 358, 855, 534, 4559, 585, 3113, 425, 1769, 5411, 327, 31, 3639, 289, 3639, 368, 8401, 3272, 7168, 3639, 531, 43, 2320, 1179, 6313, 5786, 3272, 5786, 273, 394, 531, 43, 2320, 1179, 6313, 5786, 5621, 3639, 7822, 3272, 273, 446, 31, 3639, 775, 288, 5411, 3272, 273, 3272, 5786, 18, 588, 1733, 2617, 12, 2704, 1976, 12, 6848, 1489, 10019, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 1194, 18, 1636, 2932, 18828, 358, 336, 3272, 1756, 3113, 425, 1769, 5411, 327, 31, 3639, 289, 3639, 14015, 11974, 13, 6848, 2934, 67, 542, 1396, 12, 2918, 18, 43, 2320, 67, 11944, 67, 11210, 16, 19694, 5245, 18, 26587, 1769, 3639, 14015, 11974, 13, 6848, 2934, 67, 542, 1396, 12, 2918, 18, 43, 2259, 49, 67, 26366, 67, 19937, 16, 4766, 394, 8049, 3886, 2582, 1503, 10663, 3639, 14015, 11974, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 309, 261, 4901, 18, 291, 2829, 1526, 10756, 288, 5411, 1194, 18, 4148, 2932, 8704, 1719, 2650, 8863, 3639, 289, 3639, 368, 17466, 16, 1109, 16, 471, 1954, 326, 534, 4559, 3639, 1387, 585, 273, 394, 1387, 12, 86, 2069, 812, 1769, 3639, 534, 2069, 2678, 436, 2069, 2678, 273, 534, 2069, 2678, 1733, 18, 2704, 54, 2069, 2678, 5621, 3639, 3010, 436, 2069, 273, 446, 31, 3639, 775, 288, 5411, 436, 2069, 273, 436, 2069, 2678, 18, 2670, 12, 2704, 23010, 12, 768, 10019, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 1194, 18, 1636, 2932, 18828, 358, 855, 534, 4559, 585, 3113, 425, 1769, 5411, 327, 31, 3639, 289, 2 ]
private boolean isDuplicateGroupName( Module module, List groupNameList, String groupName )
private boolean isDuplicateGroupName( Module module, List groupNameList, String groupName )
private boolean isDuplicateGroupName( Module module, List groupNameList, String groupName ) { Iterator iter = groupNameList.iterator( ); while ( iter.hasNext( ) ) { GroupElement group = (GroupElement) iter.next( ); String tmpName = group.getStringProperty( module, GroupElement.GROUP_NAME_PROP ); assert tmpName != null; if ( tmpName.equalsIgnoreCase( groupName ) ) return true; } return false; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/9552086e38ab22456c2d1709862920e9fee19b54/GroupNameValidator.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/validators/GroupNameValidator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 353, 11826, 3943, 12, 5924, 1605, 16, 1082, 202, 682, 11619, 682, 16, 514, 11619, 262, 202, 95, 202, 202, 3198, 1400, 273, 11619, 682, 18, 9838, 12, 11272, 202, 202, 17523, 261, 1400, 18, 5332, 2134, 12, 262, 262, 202, 202, 95, 1082, 202, 1114, 1046, 1041, 273, 261, 1114, 1046, 13, 1400, 18, 4285, 12, 11272, 1082, 202, 780, 1853, 461, 273, 1041, 18, 588, 780, 1396, 12, 1605, 16, 6862, 202, 1114, 1046, 18, 8468, 67, 1985, 67, 15811, 11272, 1082, 202, 11231, 1853, 461, 480, 446, 31, 1082, 202, 430, 261, 1853, 461, 18, 14963, 5556, 12, 11619, 262, 262, 9506, 202, 2463, 638, 31, 202, 202, 97, 202, 202, 2463, 629, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 353, 11826, 3943, 12, 5924, 1605, 16, 1082, 202, 682, 11619, 682, 16, 514, 11619, 262, 202, 95, 202, 202, 3198, 1400, 273, 11619, 682, 18, 9838, 12, 11272, 202, 202, 17523, 261, 1400, 18, 5332, 2134, 12, 262, 262, 202, 202, 95, 1082, 202, 1114, 1046, 1041, 273, 261, 1114, 1046, 13, 1400, 18, 4285, 12, 11272, 1082, 202, 780, 1853, 461, 273, 1041, 18, 588, 780, 1396, 12, 1605, 16, 6862, 202, 1114, 1046, 18, 8468, 67, 1985, 67, 15811, 11272, 1082, 202, 11231, 1853, 461, 480, 446, 31, 1082, 202, 430, 261, 1853, 461, 18, 14963, 5556, 12, 11619, 262, 262, 9506, 202, 2463, 638, 31, 202, 202, 97, 202, 202, 2463, 2 ]
Java helperTask = (Java)project.createTask("java");
Java helperTask = (Java) project.createTask("java");
public void execute() throws BuildException { if (!destinationDirectory.isDirectory()) { throw new BuildException("destination directory " + destinationDirectory.getPath() + " is not valid"); } if (!sourceDirectory.isDirectory()) { throw new BuildException("src directory " + sourceDirectory.getPath() + " is not valid"); } if (destinationPackage == null) { throw new BuildException("package attribute must be present.", location); } String systemClassPath = System.getProperty("java.class.path"); pathToPackage = this.destinationPackage.replace('.',File.separatorChar); // get all the files in the sourceDirectory DirectoryScanner ds = super.getDirectoryScanner(sourceDirectory); //use the systemclasspath as well, to include the ant jar if (compileClasspath == null) { compileClasspath = new Path(project); } compileClasspath.append(Path.systemClasspath); String[] files = ds.getIncludedFiles(); //Weblogic.jspc calls System.exit() ... have to fork // Therefore, takes loads of time // Can pass directories at a time (*.jsp) but easily runs out of memory on hefty dirs // (even on a Sun) Java helperTask = (Java)project.createTask("java"); helperTask.setFork(true); helperTask.setClassname("weblogic.jspc"); helperTask.setTaskName(getTaskName()); String[] args = new String[12]; File jspFile = null; String parents = ""; String arg = ""; int j=0; //XXX this array stuff is a remnant of prev trials.. gotta remove. args[j++] = "-d"; args[j++] = destinationDirectory.getAbsolutePath().trim(); args[j++] = "-docroot"; args[j++] = sourceDirectory.getAbsolutePath().trim(); args[j++] = "-keepgenerated"; //TODO: Parameterise ?? //Call compiler as class... dont want to fork again //Use classic compiler -- can be parameterised? args[j++] = "-compilerclass"; args[j++] = "sun.tools.javac.Main"; //Weblogic jspc does not seem to work unless u explicitly set this... // Does not take the classpath from the env.... // Am i missing something about the Java task?? args[j++] = "-classpath"; args[j++] = compileClasspath.toString(); this.scanDir(files); log("Compiling "+filesToDo.size() + " JSP files"); for (int i=0;i<filesToDo.size();i++) { //XXX // All this to get package according to weblogic standards // Can be written better... this is too hacky! // Careful.. similar code in scanDir , but slightly different!! jspFile = new File((String) filesToDo.elementAt(i)); args[j] = "-package"; parents = jspFile.getParent(); if ((parents != null) && (!("").equals(parents))) { parents = this.replaceString(parents,File.separator,"_."); args[j+1] = destinationPackage +"."+ "_"+parents; }else { args[j+1] = destinationPackage; } args[j+2] = sourceDirectory+File.separator+(String) filesToDo.elementAt(i); arg=""; for (int x=0;x<12;x++) { arg += " "+ args[x]; } System.out.println("arg = " + arg); helperTask.clearArgs(); helperTask.setArgs(arg); helperTask.setClasspath(compileClasspath); if (helperTask.executeJava() != 0) { log(files[i] + " failed to compile",Project.MSG_WARN) ; } } }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/0dab862ee09d706c3f373fc18bedbf17caf427b9/WLJspc.java/buggy/src/main/org/apache/tools/ant/taskdefs/optional/jsp/WLJspc.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 1216, 18463, 288, 3639, 309, 16051, 10590, 2853, 18, 291, 2853, 10756, 288, 5411, 604, 394, 18463, 2932, 10590, 1867, 315, 397, 2929, 2853, 18, 588, 743, 1435, 397, 4766, 1377, 315, 353, 486, 923, 8863, 3639, 289, 4766, 4202, 309, 16051, 3168, 2853, 18, 291, 2853, 10756, 288, 5411, 604, 394, 18463, 2932, 4816, 1867, 315, 397, 1084, 2853, 18, 588, 743, 1435, 397, 4766, 1377, 315, 353, 486, 923, 8863, 3639, 289, 3639, 309, 261, 10590, 2261, 422, 446, 13, 288, 5411, 604, 394, 18463, 2932, 5610, 1566, 1297, 506, 3430, 1199, 16, 2117, 1769, 3639, 289, 13491, 514, 2619, 22158, 273, 2332, 18, 588, 1396, 2932, 6290, 18, 1106, 18, 803, 8863, 7734, 12221, 2261, 273, 333, 18, 10590, 2261, 18, 2079, 2668, 1093, 16, 812, 18, 11287, 2156, 1769, 3639, 368, 336, 777, 326, 1390, 316, 326, 1084, 2853, 3639, 8930, 11338, 3780, 273, 2240, 18, 588, 2853, 11338, 12, 3168, 2853, 1769, 3639, 368, 1202, 326, 2619, 26302, 487, 5492, 16, 358, 2341, 326, 17841, 7334, 3639, 309, 261, 11100, 17461, 422, 446, 13, 288, 5411, 4074, 17461, 273, 394, 2666, 12, 4406, 1769, 3639, 289, 7734, 4074, 17461, 18, 6923, 12, 743, 18, 4299, 17461, 1769, 3639, 514, 8526, 1390, 273, 3780, 18, 588, 19323, 2697, 5621, 7734, 368, 4079, 28339, 18, 24926, 71, 4097, 2332, 18, 8593, 1435, 1372, 1240, 358, 12515, 3639, 368, 17189, 16, 5530, 6277, 434, 813, 540, 368, 4480, 1342, 6402, 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, 1836, 1435, 1216, 18463, 288, 3639, 309, 16051, 10590, 2853, 18, 291, 2853, 10756, 288, 5411, 604, 394, 18463, 2932, 10590, 1867, 315, 397, 2929, 2853, 18, 588, 743, 1435, 397, 4766, 1377, 315, 353, 486, 923, 8863, 3639, 289, 4766, 4202, 309, 16051, 3168, 2853, 18, 291, 2853, 10756, 288, 5411, 604, 394, 18463, 2932, 4816, 1867, 315, 397, 1084, 2853, 18, 588, 743, 1435, 397, 4766, 1377, 315, 353, 486, 923, 8863, 3639, 289, 3639, 309, 261, 10590, 2261, 422, 446, 13, 288, 5411, 604, 394, 18463, 2932, 5610, 1566, 1297, 506, 3430, 1199, 16, 2117, 1769, 3639, 289, 13491, 514, 2619, 22158, 273, 2332, 18, 588, 1396, 2932, 6290, 18, 1106, 18, 803, 2 ]
protected void doExplicitGlyphLayout(boolean applyOffset) { char ch = aci.first(); int i=0; float baselineAscent = isVertical() ? (float) gv.getLogicalBounds().getWidth() : (metrics.getAscent() + Math.abs(metrics.getDescent())); textPath = (TextPath) aci.getAttribute( GVTAttributedCharacterIterator.TextAttribute.TEXTPATH); int numGlyphs = gv.getNumGlyphs(); float[] gp = new float[numGlyphs*2]; gp = (float[]) gv.getGlyphPositions(0, numGlyphs, gp).clone(); float init_x_pos = (float) offset.getX(); float init_y_pos = (float) offset.getY(); float curr_x_pos = init_x_pos; float curr_y_pos = init_y_pos; boolean firstChar = true; float verticalFirstOffset = 0f; float largestAdvanceY = 0; boolean glyphOrientationAuto = isGlyphOrientationAuto(); int glyphOrientationAngle = 0; if (!glyphOrientationAuto) { glyphOrientationAngle = getGlyphOrientationAngle(); } while (i < numGlyphs) { if (firstChar) { if (glyphOrientationAuto) { if (isLatinChar(ch)) { // it will be rotated 90 verticalFirstOffset = 0f; } else { // it won't be rotated verticalFirstOffset = (float) gv.getGlyphMetrics(i).getBounds2D().getHeight(); } } else { if (glyphOrientationAngle == 0) { verticalFirstOffset = (float) gv.getGlyphMetrics(i).getBounds2D().getHeight(); } else { verticalFirstOffset = 0f; } } } else { if (glyphOrientationAuto && verticalFirstOffset == 0f && !isLatinChar(ch)) { verticalFirstOffset = (float) gv.getGlyphMetrics(i).getBounds2D().getHeight(); } } // ox and oy are origin adjustments for each glyph, // computed on the basis of baseline-shifts, etc. float ox = 0f; float oy = 0f; float verticalGlyphRotation = 0f; Float rotation = null; if (ch != CharacterIterator.DONE) { Float x = (Float) aci.getAttribute( GVTAttributedCharacterIterator.TextAttribute.X); Float dx = (Float) aci.getAttribute( GVTAttributedCharacterIterator.TextAttribute.DX); Float y = (Float) aci.getAttribute( GVTAttributedCharacterIterator.TextAttribute.Y); Float dy = (Float) aci.getAttribute( GVTAttributedCharacterIterator.TextAttribute.DY); rotation = (Float) aci.getAttribute( GVTAttributedCharacterIterator.TextAttribute.ROTATION); if (isVertical()) { if (glyphOrientationAuto) { if (isLatinChar(ch)) { // If character is Latin, then rotate by // 90 degrees verticalGlyphRotation = (float) (Math.PI / 2f); } else { verticalGlyphRotation = 0f; } } else { verticalGlyphRotation = (float)Math.toRadians(glyphOrientationAngle); } if (textPath != null) { // if vertical and on a path, any x's are ignored x = null; } } else { if (textPath != null) { // if horizontal and on a path, any y's are ignored y = null; } } // calculate the total rotation for this glyph if (rotation == null || rotation.isNaN()) { rotation = new Float(verticalGlyphRotation); } else { rotation = new Float(rotation.floatValue() + verticalGlyphRotation); } if (x!= null && !x.isNaN()) { if (i==0) { if (applyOffset) { curr_x_pos = (float) offset.getX(); } else { curr_x_pos = x.floatValue(); init_x_pos = curr_x_pos; } } else { curr_x_pos = x.floatValue(); } } else if (dx != null && !dx.isNaN()) { curr_x_pos += dx.floatValue(); } if (y != null && !y.isNaN()) { if (i==0) { if (applyOffset) { curr_y_pos = (float) offset.getY(); } else { curr_y_pos = y.floatValue(); init_y_pos = curr_y_pos; } } else { curr_y_pos = y.floatValue(); } } else if (dy != null && !dy.isNaN()) { curr_y_pos += dy.floatValue(); } else if (i>0) { curr_y_pos += gp[i*2 + 1]-gp[i*2 - 1]; } float baselineAdjust = 0f; Object baseline = aci.getAttribute( GVTAttributedCharacterIterator.TextAttribute.BASELINE_SHIFT); if (baseline != null) { if (baseline instanceof Integer) { if (baseline==TextAttribute.SUPERSCRIPT_SUPER) { baselineAdjust = baselineAscent*0.5f; } else if (baseline==TextAttribute.SUPERSCRIPT_SUB) { baselineAdjust = -baselineAscent*0.5f; } } else if (baseline instanceof Float) { baselineAdjust = ((Float) baseline).floatValue(); } if (isVertical()) { ox = baselineAdjust; } else { oy = -baselineAdjust; } } if (isVertical()) { // offset due to rotation of first character oy += verticalFirstOffset; if (glyphOrientationAuto) { if (isLatinChar(ch)) { ox += metrics.getStrikethroughOffset(); } else { Rectangle2D glyphBounds = gv.getGlyphVisualBounds(i).getBounds2D(); Point2D glyphPos = gv.getGlyphPosition(i); ox -= (float)((glyphBounds.getMaxX() - glyphPos.getX()) - glyphBounds.getWidth()/2); } } else { // center the character if it's not auto orient Rectangle2D glyphBounds = gv.getGlyphVisualBounds(i).getBounds2D(); Point2D glyphPos = gv.getGlyphPosition(i); if (glyphOrientationAngle == 0) { ox -= (float)((glyphBounds.getMaxX() - glyphPos.getX()) - glyphBounds.getWidth()/2); } else if (glyphOrientationAngle == 180) { ox += (float)((glyphBounds.getMaxX() - glyphPos.getX()) - glyphBounds.getWidth()/2); } else if (glyphOrientationAngle == 90) { ox += metrics.getStrikethroughOffset(); } else { // 270 ox -= metrics.getStrikethroughOffset(); } } } } // set the new glyph position gv.setGlyphPosition(i, new Point2D.Float(curr_x_pos+ox,curr_y_pos+oy)); // calculte the position of the next glyph if (!ArabicTextHandler.arabicCharTransparent(ch)) { // only apply the advance if the current char is not transparent GVTGlyphMetrics gm = gv.getGlyphMetrics(i); if (isVertical()) { float advanceY = 0; if (glyphOrientationAuto) { if (isLatinChar(ch)) { advanceY = gm.getHorizontalAdvance(); } else { advanceY = gm.getVerticalAdvance(); } } else { if (glyphOrientationAngle == 0 || glyphOrientationAngle == 180) { advanceY = gm.getVerticalAdvance(); } else if (glyphOrientationAngle == 90) { advanceY = gm.getHorizontalAdvance(); } else { // 270 advanceY = gm.getHorizontalAdvance(); // need to translate so that the spacing // between chars is correct gv.setGlyphTransform(i, AffineTransform.getTranslateInstance(0, advanceY)); } } curr_y_pos += advanceY; } else { curr_x_pos += gm.getHorizontalAdvance(); } } // rotate the glyph if (rotation.floatValue() != 0f) { AffineTransform glyphTransform = gv.getGlyphTransform(i); if (glyphTransform == null) { glyphTransform = new AffineTransform(); } glyphTransform.rotate((double)rotation.floatValue()); gv.setGlyphTransform(i, glyphTransform); } ch = aci.setIndex(aci.getBeginIndex() + i + gv.getCharacterCount(i,i)); i++; firstChar = false; } advance = new Point2D.Float((float) (curr_x_pos - offset.getX()), (float) (curr_y_pos - offset.getY())); offset = new Point2D.Float(init_x_pos, init_y_pos); }
46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/977f13210875a0a4a0f63e06590f8a9bf18c6574/GlyphLayout.java/buggy/sources/org/apache/batik/gvt/text/GlyphLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 6459, 2896, 17186, 15141, 3744, 12, 6494, 9010, 2335, 15329, 343, 991, 33, 1077, 77, 18, 3645, 5621, 474, 77, 33, 20, 31, 5659, 27818, 13665, 319, 33, 291, 15704, 1435, 35, 12, 5659, 13, 75, 90, 18, 588, 17955, 5694, 7675, 588, 2384, 13332, 12, 9597, 18, 588, 13665, 319, 1435, 15, 10477, 18, 5113, 12, 9597, 18, 588, 4217, 319, 1435, 10019, 955, 743, 28657, 1528, 743, 13, 1077, 77, 18, 588, 1499, 12, 25269, 56, 861, 11050, 7069, 3198, 18, 1528, 1499, 18, 5151, 4211, 1769, 474, 2107, 25399, 33, 75, 90, 18, 588, 2578, 25399, 5621, 5659, 8526, 6403, 33, 2704, 5659, 63, 2107, 25399, 14, 22, 15533, 6403, 28657, 5659, 63, 5717, 75, 90, 18, 588, 15141, 11024, 12, 20, 16, 2107, 25399, 16, 6403, 2934, 14056, 5621, 5659, 2738, 67, 92, 67, 917, 28657, 5659, 13, 3348, 18, 588, 60, 5621, 5659, 2738, 67, 93, 67, 917, 28657, 5659, 13, 3348, 18, 588, 61, 5621, 5659, 17016, 67, 92, 67, 917, 33, 2738, 67, 92, 67, 917, 31, 5659, 17016, 67, 93, 67, 917, 33, 2738, 67, 93, 67, 917, 31, 6494, 3645, 2156, 33, 3767, 31, 5659, 17824, 3759, 2335, 33, 20, 74, 31, 5659, 80, 11475, 1871, 5882, 61, 33, 20, 31, 1075, 790, 539, 6451, 14097, 4965, 33, 291, 15141, 14097, 4965, 5621, 474, 19426, 14097, 8467, 33, 20, 31, 430, 12, 5, 19426, 14097, 4965, 15329, 19426, 14097, 8467, 33, 588, 15141, 14097, 8467, 5621, 97, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 6459, 2896, 17186, 15141, 3744, 12, 6494, 9010, 2335, 15329, 343, 991, 33, 1077, 77, 18, 3645, 5621, 474, 77, 33, 20, 31, 5659, 27818, 13665, 319, 33, 291, 15704, 1435, 35, 12, 5659, 13, 75, 90, 18, 588, 17955, 5694, 7675, 588, 2384, 13332, 12, 9597, 18, 588, 13665, 319, 1435, 15, 10477, 18, 5113, 12, 9597, 18, 588, 4217, 319, 1435, 10019, 955, 743, 28657, 1528, 743, 13, 1077, 77, 18, 588, 1499, 12, 25269, 56, 861, 11050, 7069, 3198, 18, 1528, 1499, 18, 5151, 4211, 1769, 474, 2107, 25399, 33, 75, 90, 18, 588, 2578, 25399, 5621, 5659, 8526, 6403, 33, 2704, 5659, 63, 2107, 25399, 14, 22, 15533, 6403, 28657, 5659, 63, 5717, 75, 2 ]
add(new DropDownChoice("localeSelect", new PropertyModel(this, "locale"), ALL_LOCALES)
add(new DropDownChoice("localeSelect", new PropertyModel(this, "locale"), LOCALES)
public FormInput() { // Construct form and feedback panel and hook them up final FeedbackPanel feedback = new FeedbackPanel("feedback"); add(feedback); add(new InputForm("inputForm", feedback)); // Dropdown for selecting locale add(new DropDownChoice("localeSelect", new PropertyModel(this, "locale"), ALL_LOCALES) { protected boolean wantOnSelectionChangedNotifications() { return true; } public void onSelectionChanged(Object newSelection) { setLocale((Locale)newSelection); } }); // Link to return to default locale add(new Link("defaultLocaleLink") { public void onClick() { setLocale(Locale.getDefault()); } }); }
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/c41380ea7c24d4b25fded0dfa7b726cbed1e5c04/FormInput.java/buggy/wicket-examples/src/java/wicket/examples/forminput/FormInput.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2748, 1210, 1435, 202, 95, 202, 202, 759, 14291, 646, 471, 10762, 6594, 471, 3953, 2182, 731, 202, 202, 6385, 14013, 823, 5537, 10762, 273, 394, 14013, 823, 5537, 2932, 12571, 8863, 202, 202, 1289, 12, 12571, 1769, 202, 202, 1289, 12, 2704, 2741, 1204, 2932, 2630, 1204, 3113, 10762, 10019, 202, 202, 759, 10895, 2378, 364, 24674, 2573, 202, 202, 1289, 12, 2704, 10895, 4164, 10538, 2932, 6339, 3391, 3113, 394, 4276, 1488, 12, 2211, 16, 315, 6339, 6, 3631, 1806, 3587, 11386, 13, 3196, 202, 95, 1082, 202, 1117, 1250, 2545, 1398, 6233, 5033, 14111, 1435, 1082, 202, 95, 9506, 202, 2463, 638, 31, 1082, 202, 97, 1082, 202, 482, 918, 603, 6233, 5033, 12, 921, 394, 6233, 13, 1082, 202, 95, 9506, 202, 542, 3916, 12443, 3916, 13, 2704, 6233, 1769, 1082, 202, 97, 202, 202, 22938, 202, 202, 759, 4048, 358, 327, 358, 805, 2573, 202, 202, 1289, 12, 2704, 4048, 2932, 1886, 3916, 2098, 7923, 202, 202, 95, 1082, 202, 482, 918, 18296, 1435, 1082, 202, 95, 9506, 202, 542, 3916, 12, 3916, 18, 588, 1868, 10663, 1082, 202, 97, 202, 202, 22938, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2748, 1210, 1435, 202, 95, 202, 202, 759, 14291, 646, 471, 10762, 6594, 471, 3953, 2182, 731, 202, 202, 6385, 14013, 823, 5537, 10762, 273, 394, 14013, 823, 5537, 2932, 12571, 8863, 202, 202, 1289, 12, 12571, 1769, 202, 202, 1289, 12, 2704, 2741, 1204, 2932, 2630, 1204, 3113, 10762, 10019, 202, 202, 759, 10895, 2378, 364, 24674, 2573, 202, 202, 1289, 12, 2704, 10895, 4164, 10538, 2932, 6339, 3391, 3113, 394, 4276, 1488, 12, 2211, 16, 315, 6339, 6, 3631, 1806, 3587, 11386, 13, 3196, 202, 95, 1082, 202, 1117, 1250, 2545, 1398, 6233, 5033, 14111, 1435, 1082, 202, 95, 9506, 202, 2463, 638, 31, 1082, 202, 97, 1082, 202, 482, 918, 603, 6233, 5033, 2 ]
"$Id: SSLClient.java,v 1.4 2001/09/08 01:53:32 nicolson%netscape.com Exp $ " +
"$Id: SSLClient.java,v 1.5 2002/09/05 01:16:59 nicolson%netscape.com Exp $ " +
public void run(boolean printHeader) { try { SSLHandshakeCompletedListener listener = null; if(printHeader) results.println(htmlHeader); results.println("SSL Client Tester"); results.println( "$Id: SSLClient.java,v 1.4 2001/09/08 01:53:32 nicolson%netscape.com Exp $ " + versionStr ); SSLSocket s; String hostname; int port; String filename = getArgument("filename"); if(isInvalid(filename)) { filename = "/index.html"; } String msg = "GET " + filename; String portstr = getArgument("port"); if(isInvalid(portstr)) { port = 443; } else { port = Integer.valueOf(portstr).intValue(); } String addrstr = getArgument("ipaddr"); hostname = addrstr; // unless it gets changed String tmpStr = getArgument("clientauth"); if(isInvalid(tmpStr)) doClientAuth = false; else { tmpStr = tmpStr.toLowerCase(); doClientAuth = !(tmpStr.equals("off") || tmpStr.equals("false") || tmpStr.equals("0")); } if(isInvalid(addrstr)) { // check for a host name hostname = getArgument("hostname"); if(isInvalid(hostname)) { throw new Exception("hostname not specified"); } } results.println("Connecting to " + hostname + " on port " + port ); SSLCertificateApprovalCallback approvalCallback = new TestCertApprovalCallback(); SSLClientCertificateSelectionCallback certSelectionCallback = new TestClientCertificateSelectionCallback(); Socket js = new Socket(InetAddress.getByName(hostname), port); //s = new SSLSocket(hostname, port, null, 0, s = new SSLSocket(js, hostname, approvalCallback, certSelectionCallback ); s.forceHandshake(); results.println("Connected."); // select the cert for client auth // You will have to provide a certificate with this // name if you expect client auth to work. //s.setClientCertNickname("JavaSSLTestClientCert"); // Setup a hanshake callback. This listener will get invoked // When the SSL handshake is completed on this socket. listener = new ClientHandshakeCB(this); s.addHandshakeCompletedListener(listener); //s.forceHandshake(); OutputStream o = s.getOutputStream(); PrintOutputStreamWriter out = new PrintOutputStreamWriter(o); results.println("Sending: " + msg + " to " + hostname + ", " + port ); // send HTTP GET message across SSL connection out.println(msg + "\r"); InputStream in = s.getInputStream(); byte[] bytes = new byte[4096]; int totalBytes = 0; int numReads = 0; String lastBytes = null; // now try to read data back from the SSL connection try { for(;;) { results.println("Calling Read."); int n = in.read(bytes, 0, bytes.length); if(n == -1) { results.println("EOF found."); break; } if(n == 0) { results.println("Zero bytes read?"); break; } numReads++; if(totalBytes == 0) { // don't print forever... String data = new String(bytes, 0, 30, "8859_1"); results.println("Read " + n + " bytes of data"); results.println("First 30 bytes: " + escapeHTML(data)); } totalBytes += n; lastBytes = new String(bytes, n-31, 30, "8859_1"); } } catch (IOException e) { results.println( "IOException while reading from pipe? Actually got " + totalBytes + " bytes total"); e.printStackTrace(results); results.println(""); throw e; } finally { results.println("Last 30 bytes: " + lastBytes); results.println("Number of read() calls: " + numReads ); /* * if you want to test sslimpl.c's nsn_ThrowError(), try * uncommenting the following line. This will cause the * getStatus() call to fail. */ // in.close(); results.println("Diagnostics"); String tmp; SSLSecurityStatus status = s.getStatus(); results.println("Total bytes read: " + totalBytes ); results.println("Security status of session:"); results.println(status.toString()); // now, for the regression testing stuff if (false) { results.println("Regression Tests"); results.println("Handshake callback event happened: " + ((handshakeEventHappened) ? okay : failed)); if(!isInvalid(tmp = getArgument("filesize"))) { results.println("filesize: " + cmp(tmp, totalBytes)); } if(!isInvalid(tmp = getArgument("status"))) { results.println("status: " + cmp(tmp, status.getSecurityStatus())); } if(!isInvalid(tmp = getArgument("sessionKeySize"))) { results.println("sessionKeySize: " + cmp(tmp, status.getSessionKeySize())); } if(!isInvalid(tmp = getArgument("sessionSecretSize"))) { results.println("sessionSecretSize: " + cmp(tmp, status.getSessionSecretSize())); } if(!isInvalid(tmp = getArgument("cipher"))) { results.println("cipher: " + cmp(tmp, status.getCipher())); } if(!isInvalid(tmp = getArgument("issuer"))) { results.println("issuer: " + cmp(tmp, status.getRemoteIssuer())); } if(!isInvalid(tmp = getArgument("subject"))) { results.println("subject: " + cmp(tmp, status.getRemoteSubject())); } if(!isInvalid(tmp = getArgument("certSerialNum"))) { String serialNum = status.getSerialNumber(); results.println("certSerialNum: " + cmp(tmp, serialNum)); } } // if false } // Got here, so no exception thrown above. // Try to clean up. o.close(); o = null; in.close(); in = null; if (listener != null) { s.removeHandshakeCompletedListener(listener); listener = null; } s.close(); s = null; } catch(Exception e) { results.println("***** TEST FAILED *****"); e.printStackTrace(results); results.println("If there is no stack trace, try disabling the JIT and trying again."); } results.println("END OF TEST"); }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/ab02daa4a8d313b3a8776575d70dbd6b0739bd65/SSLClient.java/buggy/security/jss/org/mozilla/jss/ssl/SSLClient.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1086, 12, 6494, 1172, 1864, 13, 377, 288, 1377, 775, 288, 202, 6745, 14545, 9556, 2223, 2991, 273, 446, 31, 202, 202, 430, 12, 1188, 1864, 13, 202, 225, 1686, 18, 8222, 12, 2620, 1864, 1769, 202, 4717, 18, 8222, 2932, 6745, 2445, 399, 7654, 8863, 202, 4717, 18, 8222, 12, 1082, 202, 6, 8, 548, 30, 7419, 1227, 18, 6290, 16, 90, 404, 18, 25, 4044, 22, 19, 5908, 19, 6260, 8743, 30, 2313, 30, 6162, 11562, 355, 816, 9, 2758, 12476, 18, 832, 7784, 271, 315, 397, 1875, 202, 1589, 1585, 11272, 202, 202, 1260, 25831, 272, 31, 202, 780, 565, 5199, 31, 202, 474, 4202, 1756, 31, 202, 202, 780, 565, 1544, 273, 11950, 2932, 3459, 8863, 202, 430, 12, 291, 1941, 12, 3459, 3719, 288, 202, 225, 1544, 273, 2206, 1615, 18, 2620, 14432, 202, 97, 202, 780, 1234, 273, 315, 3264, 315, 397, 1544, 31, 202, 202, 780, 1756, 701, 273, 11950, 2932, 655, 8863, 202, 430, 12, 291, 1941, 12, 655, 701, 3719, 288, 202, 225, 1756, 273, 23796, 31, 202, 97, 469, 288, 202, 225, 1756, 273, 2144, 18, 1132, 951, 12, 655, 701, 2934, 474, 620, 5621, 202, 97, 202, 202, 780, 3091, 701, 282, 273, 11950, 2932, 625, 4793, 8863, 202, 10358, 540, 273, 3091, 701, 31, 565, 368, 3308, 518, 5571, 3550, 202, 202, 780, 1853, 1585, 565, 273, 11950, 2932, 2625, 1944, 8863, 202, 430, 12, 291, 1941, 12, 5645, 1585, 3719, 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, 282, 1071, 918, 1086, 12, 6494, 1172, 1864, 13, 377, 288, 1377, 775, 288, 202, 6745, 14545, 9556, 2223, 2991, 273, 446, 31, 202, 202, 430, 12, 1188, 1864, 13, 202, 225, 1686, 18, 8222, 12, 2620, 1864, 1769, 202, 4717, 18, 8222, 2932, 6745, 2445, 399, 7654, 8863, 202, 4717, 18, 8222, 12, 1082, 202, 6, 8, 548, 30, 7419, 1227, 18, 6290, 16, 90, 404, 18, 25, 4044, 22, 19, 5908, 19, 6260, 8743, 30, 2313, 30, 6162, 11562, 355, 816, 9, 2758, 12476, 18, 832, 7784, 271, 315, 397, 1875, 202, 1589, 1585, 11272, 202, 202, 1260, 25831, 272, 31, 202, 780, 565, 5199, 31, 202, 474, 4202, 1756, 31, 202, 202, 780, 565, 1544, 273, 2 ]
funcall("singleton_added", RubySymbol.newSymbol(getRuby(), name));
funcall("singleton_method_added", RubySymbol.newSymbol(getRuby(), name));
public RubyModule module_function(RubyObject[] args) { if (getRuby().getSafeLevel() >= 4 && !isTaint()) { throw new RubySecurityException(getRuby(), "Insecure: can't change method visibility"); } if (args.length == 0) { getRuby().setActMethodScope(Constants.SCOPE_MODFUNC); } else { setMethodVisibility(args, Constants.NOEX_PRIVATE); for (int i = 0; i < args.length; i++) { String name = args[i].toId(); MethodNode body = searchMethod(name); if (body == null || body.getBodyNode() == null) { throw new RubyBugException("undefined method '" + name + "'; can't happen"); } getRuby().getMethodCache().clearByName(name); getSingletonClass().addMethod(name, body.getBodyNode(), Constants.NOEX_PUBLIC); funcall("singleton_added", RubySymbol.newSymbol(getRuby(), name)); } } return this; }
49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/d31a76ee29d5978a9bec41e3ac9134cee024bcab/RubyModule.java/buggy/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 3120, 1605, 67, 915, 12, 54, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 588, 54, 10340, 7675, 588, 9890, 2355, 1435, 1545, 1059, 597, 401, 291, 29048, 10756, 288, 5411, 604, 394, 19817, 24918, 12, 588, 54, 10340, 9334, 315, 382, 8869, 30, 848, 1404, 2549, 707, 9478, 8863, 3639, 289, 3639, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 5411, 4170, 10340, 7675, 542, 2459, 1305, 3876, 12, 2918, 18, 19444, 67, 6720, 42, 21163, 1769, 3639, 289, 469, 288, 5411, 19539, 10135, 12, 1968, 16, 5245, 18, 3417, 2294, 67, 20055, 1769, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 7734, 514, 508, 273, 833, 63, 77, 8009, 869, 548, 5621, 7734, 2985, 907, 1417, 273, 1623, 1305, 12, 529, 1769, 7734, 309, 261, 3432, 422, 446, 747, 1417, 18, 588, 2250, 907, 1435, 422, 446, 13, 288, 6862, 202, 12849, 394, 19817, 19865, 503, 2932, 5978, 707, 2119, 397, 508, 397, 2491, 31, 848, 1404, 5865, 8863, 7734, 289, 7734, 4170, 10340, 7675, 588, 1305, 1649, 7675, 8507, 5911, 12, 529, 1769, 7734, 31662, 797, 7675, 1289, 1305, 12, 529, 16, 1417, 18, 588, 2250, 907, 9334, 5245, 18, 3417, 2294, 67, 14939, 1769, 7734, 1326, 454, 2932, 24487, 67, 2039, 67, 9665, 3113, 19817, 5335, 18, 2704, 5335, 12, 588, 54, 10340, 9334, 508, 10019, 5411, 289, 3639, 289, 3639, 327, 333, 31, 565, 289, 2, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 3120, 1605, 67, 915, 12, 54, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 588, 54, 10340, 7675, 588, 9890, 2355, 1435, 1545, 1059, 597, 401, 291, 29048, 10756, 288, 5411, 604, 394, 19817, 24918, 12, 588, 54, 10340, 9334, 315, 382, 8869, 30, 848, 1404, 2549, 707, 9478, 8863, 3639, 289, 3639, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 5411, 4170, 10340, 7675, 542, 2459, 1305, 3876, 12, 2918, 18, 19444, 67, 6720, 42, 21163, 1769, 3639, 289, 469, 288, 5411, 19539, 10135, 12, 1968, 16, 5245, 18, 3417, 2294, 67, 20055, 1769, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 7734, 514, 2 ]
siteName.hashCode() ^ (int)suggestedEdition ^ (int)(suggestedEdition >> 32);
siteName.hashCode() ^ (int)suggestedEdition ^ (int)(suggestedEdition >> 32);
private USK(byte[] pubKeyHash2, byte[] cryptoKey2, String siteName2, long suggestedEdition2) { this.pubKeyHash = pubKeyHash2; this.cryptoKey = cryptoKey2; this.siteName = siteName2; this.suggestedEdition = suggestedEdition2; hashCode = Fields.hashCode(pubKeyHash) ^ Fields.hashCode(cryptoKey) ^ siteName.hashCode() ^ (int)suggestedEdition ^ (int)(suggestedEdition >> 32); }
50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/315e01325509f76afb76d8e34c18f27e04549674/USK.java/buggy/src/freenet/keys/USK.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 587, 11129, 12, 7229, 8526, 18659, 2310, 22, 16, 1160, 8526, 8170, 653, 22, 16, 514, 27712, 22, 16, 1525, 22168, 41, 1460, 22, 13, 288, 202, 202, 2211, 18, 10174, 653, 2310, 273, 18659, 2310, 22, 31, 202, 202, 2211, 18, 18489, 653, 273, 8170, 653, 22, 31, 202, 202, 2211, 18, 4256, 461, 273, 27712, 22, 31, 202, 202, 2211, 18, 87, 28892, 41, 1460, 273, 22168, 41, 1460, 22, 31, 202, 202, 2816, 1085, 273, 7190, 18, 2816, 1085, 12, 10174, 653, 2310, 13, 3602, 7190, 18, 2816, 1085, 12, 18489, 653, 13, 3602, 202, 202, 4256, 461, 18, 2816, 1085, 1435, 3602, 261, 474, 13, 87, 28892, 41, 1460, 3602, 261, 474, 21433, 87, 28892, 41, 1460, 1671, 3847, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 587, 11129, 12, 7229, 8526, 18659, 2310, 22, 16, 1160, 8526, 8170, 653, 22, 16, 514, 27712, 22, 16, 1525, 22168, 41, 1460, 22, 13, 288, 202, 202, 2211, 18, 10174, 653, 2310, 273, 18659, 2310, 22, 31, 202, 202, 2211, 18, 18489, 653, 273, 8170, 653, 22, 31, 202, 202, 2211, 18, 4256, 461, 273, 27712, 22, 31, 202, 202, 2211, 18, 87, 28892, 41, 1460, 273, 22168, 41, 1460, 22, 31, 202, 202, 2816, 1085, 273, 7190, 18, 2816, 1085, 12, 10174, 653, 2310, 13, 3602, 7190, 18, 2816, 1085, 12, 18489, 653, 13, 3602, 202, 202, 4256, 461, 18, 2816, 1085, 1435, 3602, 261, 474, 13, 87, 28892, 41, 1460, 3602, 261, 474, 2 ]
loadedJavaClasses.put(javaClass, rubyClass);
private RubyClass createRubyClass(Class javaClass, String rubyName) { RubyClass superClass = (RubyClass) loadClass(javaClass.getSuperclass(), null); RubyClass rubyClass = ruby.defineClass(rubyName, superClass); defineWrapperMethods(javaClass, rubyClass, true); defineConstants(javaClass, rubyClass); defineFields(javaClass, rubyClass); addDefaultModules(rubyClass); loadedJavaClasses.put(javaClass, rubyClass); return rubyClass; }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/213d129cf5a64a7ee67dbf5ca79a0bc3f33e8a84/JavaSupport.java/clean/org/jruby/javasupport/JavaSupport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 282, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 282, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 282, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 225, 3238, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 225, 19817, 797, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 225, 752, 54, 10340, 797, 12, 797, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 225, 2252, 797, 16, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 225, 514, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 225, 22155, 461, 13, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 225, 288, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 282, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 282, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 282, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 282, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 282, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 282, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 282, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 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, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 282, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 282, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 282, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 225, 3238, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 225, 19817, 797, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 225, 752, 54, 10340, 797, 12, 797, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 225, 2252, 797, 16, 4203, 5852, 4818, 18, 458, 12, 6290, 797, 16, 22155, 797, 1769, 225, 514, 4203, 2 ]
}
}
public int write (ByteBuffer src) throws IOException { int w = 0; if (buf == null) { throw new EOFException ("file not mapped"); } while (src.hasRemaining ()) { buf.put (src.get ()); w++; } return w; }
13625 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13625/8cef25e737d97238751152631de70237a2aabaa4/FileChannelImpl.java/buggy/libjava/gnu/java/nio/FileChannelImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 1045, 261, 12242, 1705, 13, 1216, 1860, 225, 288, 565, 509, 341, 273, 374, 31, 565, 309, 261, 4385, 422, 446, 13, 202, 565, 288, 3639, 604, 394, 30051, 7566, 768, 486, 5525, 8863, 202, 565, 289, 565, 1323, 261, 4816, 18, 5332, 11429, 1832, 13, 202, 565, 288, 3639, 1681, 18, 458, 261, 4816, 18, 588, 1832, 1769, 3639, 341, 9904, 31, 202, 565, 289, 565, 327, 341, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 1045, 261, 12242, 1705, 13, 1216, 1860, 225, 288, 565, 509, 341, 273, 374, 31, 565, 309, 261, 4385, 422, 446, 13, 202, 565, 288, 3639, 604, 394, 30051, 7566, 768, 486, 5525, 8863, 202, 565, 289, 565, 1323, 261, 4816, 18, 5332, 11429, 1832, 13, 202, 565, 288, 3639, 1681, 18, 458, 261, 4816, 18, 588, 1832, 1769, 3639, 341, 9904, 31, 202, 565, 289, 565, 327, 341, 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 ]
HashMap attrs = new HashMap();
HashMap<String, String> attrs = new HashMap<String, String>();
public void modifyAccountStatus(Account acct, String newStatus) throws ServiceException { HashMap attrs = new HashMap(); attrs.put(Provisioning.A_zimbraAccountStatus, newStatus); acct.modifyAttrs(attrs); }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/c3ae2538baa5b2aaeeb9c98990b663054e0206c4/LdapProvisioning.java/buggy/ZimbraServer/src/java/com/zimbra/cs/account/ldap/LdapProvisioning.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 5612, 3032, 1482, 12, 3032, 20774, 16, 514, 394, 1482, 13, 1216, 16489, 288, 3639, 4317, 32, 780, 16, 514, 34, 3422, 273, 394, 4317, 32, 780, 16, 514, 34, 5621, 3639, 3422, 18, 458, 12, 17485, 18, 37, 67, 94, 381, 15397, 3032, 1482, 16, 394, 1482, 1769, 3639, 20774, 18, 17042, 8262, 12, 7039, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 5612, 3032, 1482, 12, 3032, 20774, 16, 514, 394, 1482, 13, 1216, 16489, 288, 3639, 4317, 32, 780, 16, 514, 34, 3422, 273, 394, 4317, 32, 780, 16, 514, 34, 5621, 3639, 3422, 18, 458, 12, 17485, 18, 37, 67, 94, 381, 15397, 3032, 1482, 16, 394, 1482, 1769, 3639, 20774, 18, 17042, 8262, 12, 7039, 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 ]
public static void populateRegistry(ITheme theme, ColorDefinition [] definitions, IPreferenceStore store) {
public static void populateRegistry(ITheme theme, FontDefinition [] definitions, IPreferenceStore store) {
public static void populateRegistry(ITheme theme, ColorDefinition [] definitions, IPreferenceStore store) { // sort the definitions by dependant ordering so that we process // ancestors before children. ColorDefinition [] copyOfDefinitions = new ColorDefinition[definitions.length]; System.arraycopy(definitions, 0, copyOfDefinitions, 0, definitions.length); Arrays.sort(copyOfDefinitions, new IThemeRegistry.HierarchyComparator(definitions)); for (int i = 0; i < copyOfDefinitions.length; i++) { ColorDefinition definition = copyOfDefinitions[i]; installColor(definition, theme, store); } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/69493113617e1d1f07b761d1dc0d12441f340f6c/ThemeElementHelper.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/themes/ThemeElementHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 6490, 4243, 12, 1285, 76, 4698, 5006, 16, 5563, 1852, 5378, 6377, 16, 467, 9624, 2257, 1707, 13, 288, 202, 202, 759, 1524, 326, 6377, 635, 2447, 970, 9543, 1427, 716, 732, 1207, 3196, 202, 759, 14322, 1865, 2325, 18, 1082, 540, 202, 202, 2957, 1852, 5378, 13571, 7130, 273, 394, 5563, 1852, 63, 13314, 18, 2469, 15533, 202, 202, 3163, 18, 1126, 3530, 12, 13314, 16, 374, 16, 13571, 7130, 16, 374, 16, 6377, 18, 2469, 1769, 202, 202, 12726, 18, 3804, 12, 3530, 951, 7130, 16, 394, 467, 8335, 4243, 18, 12074, 5559, 12, 13314, 10019, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 13571, 7130, 18, 2469, 31, 277, 27245, 288, 1082, 202, 2957, 1852, 2379, 273, 13571, 7130, 63, 77, 15533, 1082, 202, 5425, 2957, 12, 6907, 16, 5006, 16, 1707, 1769, 202, 202, 97, 5411, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 6490, 4243, 12, 1285, 76, 4698, 5006, 16, 5563, 1852, 5378, 6377, 16, 467, 9624, 2257, 1707, 13, 288, 202, 202, 759, 1524, 326, 6377, 635, 2447, 970, 9543, 1427, 716, 732, 1207, 3196, 202, 759, 14322, 1865, 2325, 18, 1082, 540, 202, 202, 2957, 1852, 5378, 13571, 7130, 273, 394, 5563, 1852, 63, 13314, 18, 2469, 15533, 202, 202, 3163, 18, 1126, 3530, 12, 13314, 16, 374, 16, 13571, 7130, 16, 374, 16, 6377, 18, 2469, 1769, 202, 202, 12726, 18, 3804, 12, 3530, 951, 7130, 16, 394, 467, 8335, 4243, 18, 12074, 5559, 12, 13314, 10019, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 13571, 7130, 18, 2469, 31, 277, 2 ]
return null; }
return null; }
public Date getSessionCounterDate() { return null; }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/7b011a81431475317072cf45066c3a0cab58b61a/MockIMCServiceInterface.java/clean/server/src/imcode/server/user/MockIMCServiceInterface.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 2167, 7183, 4789, 1626, 1435, 288, 1377, 327, 446, 31, 282, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 565, 1071, 2167, 7183, 4789, 1626, 1435, 288, 1377, 327, 446, 31, 282, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
toKeep.addElement(sprite);
toKeep.add(sprite);
public void removeAttacksFor(int entityId) { // or rather, only keep sprites NOT for that entity Vector toKeep = new Vector(attackSprites.size()); for (Iterator i = attackSprites.iterator(); i.hasNext();) { AttackSprite sprite = (AttackSprite) i.next(); if (sprite.getEntityId() != entityId) { toKeep.addElement(sprite); } } this.attackSprites = toKeep; }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/3e2c07c4b3a334f50ff43404d895908863bcff1e/BoardView1.java/buggy/megamek/src/megamek/client/ui/swing/BoardView1.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1206, 3075, 22098, 1290, 12, 474, 15052, 13, 288, 3639, 368, 578, 9178, 16, 1338, 3455, 1694, 24047, 4269, 364, 716, 1522, 3639, 5589, 358, 11523, 273, 394, 5589, 12, 4558, 484, 3389, 24047, 18, 1467, 10663, 3639, 364, 261, 3198, 277, 273, 13843, 3389, 24047, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 5411, 6020, 484, 3389, 796, 16839, 273, 261, 3075, 484, 3389, 796, 13, 277, 18, 4285, 5621, 5411, 309, 261, 1752, 796, 18, 588, 18029, 1435, 480, 15052, 13, 288, 7734, 358, 11523, 18, 1289, 12, 1752, 796, 1769, 5411, 289, 3639, 289, 3639, 333, 18, 4558, 484, 3389, 24047, 273, 358, 11523, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1206, 3075, 22098, 1290, 12, 474, 15052, 13, 288, 3639, 368, 578, 9178, 16, 1338, 3455, 1694, 24047, 4269, 364, 716, 1522, 3639, 5589, 358, 11523, 273, 394, 5589, 12, 4558, 484, 3389, 24047, 18, 1467, 10663, 3639, 364, 261, 3198, 277, 273, 13843, 3389, 24047, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 5411, 6020, 484, 3389, 796, 16839, 273, 261, 3075, 484, 3389, 796, 13, 277, 18, 4285, 5621, 5411, 309, 261, 1752, 796, 18, 588, 18029, 1435, 480, 15052, 13, 288, 7734, 358, 11523, 18, 1289, 12, 1752, 796, 1769, 5411, 289, 3639, 289, 3639, 333, 18, 4558, 484, 3389, 24047, 273, 358, 11523, 31, 565, 289, 2, -100, -100, -100, -100 ]
AST tmp1054_AST_in = (AST)_t;
AST tmp1058_AST_in = (AST)_t;
public final void definedatasourcestate(AST _t) throws RecognitionException { AST definedatasourcestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST def = null; AST id = null; AST __t458 = _t; def = _t==ASTNULL ? null :(AST)_t; match(_t,DEFINE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NEW: case SHARED: { def_shared(_t); _t = _retTree; break; } case PRIVATE: case PUBLIC: case DATASOURCE: case PROTECTED: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case PRIVATE: case PUBLIC: case PROTECTED: { def_visib(_t); _t = _retTree; break; } case DATASOURCE: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp1053_AST_in = (AST)_t; match(_t,DATASOURCE); _t = _t.getNextSibling(); id = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); if ( inputState.guessing==0 ) { push(action.defineSymbol(DATASOURCE, def, id)); } AST tmp1054_AST_in = (AST)_t; match(_t,FOR); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QUERY: { AST __t462 = _t; AST tmp1055_AST_in = (AST)_t; match(_t,QUERY); _t = _t.getFirstChild(); AST tmp1056_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); _t = __t462; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case COMMA: case RECORD_NAME: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case RECORD_NAME: { source_buffer_phrase(_t); _t = _retTree; break; } case EOF: case PERIOD: case COMMA: { break; } default: { throw new NoViableAltException(_t); } } } { _loop465: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp1057_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); source_buffer_phrase(_t); _t = _retTree; } else { break _loop465; } } while (true); } state_end(_t); _t = _retTree; if ( inputState.guessing==0 ) { action.addToSymbolScope(pop()); } _t = __t458; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/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, 2553, 20637, 477, 5710, 340, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2553, 20637, 477, 5710, 340, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 1652, 273, 446, 31, 202, 202, 9053, 612, 273, 446, 31, 9506, 202, 9053, 1001, 88, 7950, 28, 273, 389, 88, 31, 202, 202, 536, 273, 389, 88, 631, 9053, 8560, 692, 446, 294, 12, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 12904, 3740, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 12887, 30, 202, 202, 3593, 9777, 5879, 30, 202, 202, 95, 1082, 202, 536, 67, 11574, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 23685, 30, 202, 202, 3593, 17187, 30, 202, 202, 3593, 12364, 3033, 51, 5727, 30, 202, 202, 3593, 4629, 26729, 30, 202, 202, 95, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 1886, 30, 202, 202, 95, 1082, 202, 12849, 394, 17114, 24899, 88, 1769, 202, 202, 97, 202, 202, 97, 202, 202, 97, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 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, 2553, 20637, 477, 5710, 340, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2553, 20637, 477, 5710, 340, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 1652, 273, 446, 31, 202, 202, 9053, 612, 273, 446, 31, 9506, 202, 9053, 1001, 88, 7950, 28, 273, 389, 88, 31, 202, 202, 536, 273, 389, 88, 631, 9053, 8560, 692, 446, 294, 12, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 12904, 3740, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 2 ]
{ return new TreeModelHandler(); }
{ return new TreeModelHandler(); }
protected TreeModelListener createTreeModelListener() { return new TreeModelHandler(); }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/363fe84fd732aa8ca3562fb0734fe48ee20c2c65/JTree.java/buggy/libraries/javalib/javax/swing/JTree.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 4902, 1488, 2223, 752, 2471, 1488, 2223, 1435, 225, 288, 565, 327, 394, 4902, 1488, 1503, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4750, 4902, 1488, 2223, 752, 2471, 1488, 2223, 1435, 225, 288, 565, 327, 394, 4902, 1488, 1503, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ChadoFeature chado_feature = (ChadoFeature) featureList.get(row);
ChadoFeature chado_feature = (ChadoFeature)featureList.get(row);
private void showAttributes() { try { ChadoDAO dao = getDAO(); int row = result_table.getSelectedRow(); StringBuffer attr_buff = new StringBuffer(); ChadoFeature chado_feature = (ChadoFeature) featureList.get(row); Hashtable dbxref = dao.getDbxref(chado_feature.getSchema(), chado_feature.getUniquename()); // get all synonyms Hashtable synonym = dao.getAlias(chado_feature.getSchema(), chado_feature.getUniquename()); if(dbxref.size() > 0) { attr_buff.append("/Dbxref="); Enumeration dbxref_enum = dbxref.elements(); while(dbxref_enum.hasMoreElements()) { Vector dbx = (Vector) dbxref_enum.nextElement(); for(int i = 0; i < dbx.size(); i++) { attr_buff.append((String) dbx.get(i)); if(i < dbx.size() - 1) attr_buff.append(";"); } } attr_buff.append("\n"); } // append synonyms if(synonym != null) { Alias alias; Enumeration alias_enum = synonym.elements(); while(alias_enum.hasMoreElements()) { Vector v_synonyms = (Vector)alias_enum.nextElement(); for(int j=0; j<v_synonyms.size(); j++) { alias = (Alias)v_synonyms.get(j); attr_buff.append("/"); attr_buff.append(alias.getCvterm_name()+"="); attr_buff.append(alias.getName()); if(j<v_synonyms.size()-1) attr_buff.append(";"); attr_buff.append("\n"); } } } Hashtable attributes = chado_feature.getQualifiers(); Enumeration enum_attr = attributes.keys(); while(enum_attr.hasMoreElements()) { Long type_id = (Long) enum_attr.nextElement(); String cv = (String) cvterm.get(type_id); Vector v_attr = (Vector) attributes.get(type_id); for(int i = 0; i < v_attr.size(); i++) attr_buff.append("/" + cv + "=" + GFFStreamFeature.decode((String) v_attr.get(i)) + "\n"); } attr_text.setText(new String(attr_buff)); } catch(SQLException sqlExp) { JOptionPane.showMessageDialog(null, "SQL Problems...\n" + sqlExp.getMessage(), "SQL Error", JOptionPane.ERROR_MESSAGE); sqlExp.printStackTrace(); } catch(java.net.ConnectException ce) { ce.printStackTrace(); } }
10874 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10874/4ac7a3f55647440344633874aa16d6cc74d2f56a/ChadoDemo.java/clean/uk/ac/sanger/artemis/chado/ChadoDemo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 2405, 2498, 1435, 225, 288, 565, 775, 565, 288, 1377, 1680, 6821, 18485, 15229, 273, 2343, 20463, 5621, 1377, 509, 1027, 273, 563, 67, 2121, 18, 588, 7416, 1999, 5621, 1377, 6674, 1604, 67, 20664, 273, 394, 6674, 5621, 1377, 1680, 6821, 4595, 462, 6821, 67, 7238, 273, 261, 782, 6821, 4595, 13, 7238, 682, 18, 588, 12, 492, 1769, 1377, 18559, 1319, 22044, 273, 15229, 18, 588, 4331, 22044, 12, 343, 6821, 67, 7238, 18, 588, 3078, 9334, 4766, 4202, 462, 6821, 67, 7238, 18, 588, 984, 18988, 1069, 10663, 1377, 368, 565, 336, 777, 27260, 1377, 18559, 26308, 273, 15229, 18, 588, 2936, 12, 343, 6821, 67, 7238, 18, 588, 3078, 9334, 4766, 4202, 462, 6821, 67, 7238, 18, 588, 984, 18988, 1069, 10663, 1377, 309, 12, 1966, 22044, 18, 1467, 1435, 405, 374, 13, 1377, 288, 3639, 1604, 67, 20664, 18, 6923, 2932, 19, 4331, 22044, 1546, 1769, 3639, 13864, 1319, 22044, 67, 7924, 273, 1319, 22044, 18, 6274, 5621, 3639, 1323, 12, 1966, 22044, 67, 7924, 18, 5332, 7417, 3471, 10756, 3639, 288, 1850, 5589, 1319, 92, 273, 261, 5018, 13, 1319, 22044, 67, 7924, 18, 4285, 1046, 5621, 1850, 364, 12, 474, 277, 273, 374, 31, 277, 411, 1319, 92, 18, 1467, 5621, 277, 27245, 1850, 288, 5411, 1604, 67, 20664, 18, 6923, 12443, 780, 13, 1319, 92, 18, 588, 12, 77, 10019, 5411, 309, 12, 77, 411, 1319, 92, 18, 1467, 1435, 300, 404, 13, 2868, 1604, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 2405, 2498, 1435, 225, 288, 565, 775, 565, 288, 1377, 1680, 6821, 18485, 15229, 273, 2343, 20463, 5621, 1377, 509, 1027, 273, 563, 67, 2121, 18, 588, 7416, 1999, 5621, 1377, 6674, 1604, 67, 20664, 273, 394, 6674, 5621, 1377, 1680, 6821, 4595, 462, 6821, 67, 7238, 273, 261, 782, 6821, 4595, 13, 7238, 682, 18, 588, 12, 492, 1769, 1377, 18559, 1319, 22044, 273, 15229, 18, 588, 4331, 22044, 12, 343, 6821, 67, 7238, 18, 588, 3078, 9334, 4766, 4202, 462, 6821, 67, 7238, 18, 588, 984, 18988, 1069, 10663, 1377, 368, 565, 336, 777, 27260, 1377, 18559, 26308, 273, 15229, 18, 588, 2936, 12, 343, 6821, 67, 7238, 18, 588, 3078, 9334, 4766, 4202, 2 ]
throws XMLStreamException
public boolean hasNext() throws XMLStreamException { return peekEvent != null || reader.hasNext(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/89208158729137f73c8259a059fc5845c4da3e56/XMLEventReaderImpl.java/buggy/core/src/classpath/gnu/gnu/xml/stream/XMLEventReaderImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 4564, 1435, 377, 288, 565, 327, 8032, 1133, 480, 446, 747, 2949, 18, 5332, 2134, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1250, 4564, 1435, 377, 288, 565, 327, 8032, 1133, 480, 446, 747, 2949, 18, 5332, 2134, 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, -100, -100, -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 boolean writeCellSettings(ByteArrayOutputStream os) throws DocumentException { try { float lWidth, tWidth, rWidth, bWidth; byte[] lStyle, tStyle, rStyle, bStyle; if (store instanceof RtfTableCell) { RtfTableCell c = (RtfTableCell) store; lWidth = c.leftBorderWidth(); tWidth = c.topBorderWidth(); rWidth = c.rightBorderWidth(); bWidth = c.bottomBorderWidth(); lStyle = RtfTableCell.getStyleControlWord(c.leftBorderStyle()); tStyle = RtfTableCell.getStyleControlWord(c.topBorderStyle()); rStyle = RtfTableCell.getStyleControlWord(c.rightBorderStyle()); bStyle = RtfTableCell.getStyleControlWord(c.bottomBorderStyle()); } else { lWidth = tWidth = rWidth = bWidth = store.borderWidth(); lStyle = tStyle = rStyle = bStyle = RtfRow.tableBorder; } // <!-- steffen if (mergeType == MERGE_HORIZ_PREV || mergeType == MERGE_BOTH_PREV) { return true; } switch (mergeType) { case MERGE_VERT_FIRST: os.write(RtfWriter.escape); os.write(cellVMergeFirst); break; case MERGE_BOTH_FIRST: os.write(RtfWriter.escape); os.write(cellVMergeFirst); break; case MERGE_HORIZ_PREV: os.write(RtfWriter.escape); os.write(cellMergePrev); break; case MERGE_VERT_PREV: os.write(RtfWriter.escape); os.write(cellVMergePrev); break; case MERGE_BOTH_PREV: os.write(RtfWriter.escape); os.write(cellMergeFirst); break; } // --> switch (store.verticalAlignment()) { case Element.ALIGN_BOTTOM: os.write(RtfWriter.escape); os.write(cellVerticalAlignBottom); break; case Element.ALIGN_CENTER: os.write(RtfWriter.escape); os.write(cellVerticalAlignCenter); break; case Element.ALIGN_TOP: os.write(RtfWriter.escape); os.write(cellVerticalAlignTop); break; } if (((store.border() & Rectangle.LEFT) == Rectangle.LEFT) && (lWidth > 0)) { os.write(RtfWriter.escape); os.write(cellBorderLeft); os.write(RtfWriter.escape); os.write(lStyle); os.write(RtfWriter.escape); os.write(RtfRow.tableBorderWidth); writeInt(os, (int) (lWidth * writer.twipsFactor)); os.write(RtfWriter.escape); os.write(RtfRow.tableBorderColor); if (store.borderColor() == null) writeInt(os, writer.addColor(new Color(0, 0, 0))); else writeInt(os, writer.addColor(store.borderColor())); os.write((byte) '\n'); } if (((store.border() & Rectangle.TOP) == Rectangle.TOP) && (tWidth > 0)) { os.write(RtfWriter.escape); os.write(cellBorderTop); os.write(RtfWriter.escape); os.write(tStyle); os.write(RtfWriter.escape); os.write(RtfRow.tableBorderWidth); writeInt(os, (int) (tWidth * writer.twipsFactor)); os.write(RtfWriter.escape); os.write(RtfRow.tableBorderColor); if (store.borderColor() == null) writeInt(os, writer.addColor(new Color(0, 0, 0))); else writeInt(os, writer.addColor(store.borderColor())); os.write((byte) '\n'); } if (((store.border() & Rectangle.BOTTOM) == Rectangle.BOTTOM) && (bWidth > 0)) { os.write(RtfWriter.escape); os.write(cellBorderBottom); os.write(RtfWriter.escape); os.write(bStyle); os.write(RtfWriter.escape); os.write(RtfRow.tableBorderWidth); writeInt(os, (int) (bWidth * writer.twipsFactor)); os.write(RtfWriter.escape); os.write(RtfRow.tableBorderColor); if (store.borderColor() == null) writeInt(os, writer.addColor(new Color(0, 0, 0))); else writeInt(os, writer.addColor(store.borderColor())); os.write((byte) '\n'); } if (((store.border() & Rectangle.RIGHT) == Rectangle.RIGHT) && (rWidth > 0)) { os.write(RtfWriter.escape); os.write(cellBorderRight); os.write(RtfWriter.escape); os.write(rStyle); os.write(RtfWriter.escape); os.write(RtfRow.tableBorderWidth); writeInt(os, (int) (rWidth * writer.twipsFactor)); os.write(RtfWriter.escape); os.write(RtfRow.tableBorderColor); if (store.borderColor() == null) writeInt(os, writer.addColor(new Color(0, 0, 0))); else writeInt(os, writer.addColor(store.borderColor())); os.write((byte) '\n'); } os.write(RtfWriter.escape); os.write(cellBackgroundColor); if ((store.backgroundColor() == null) && (store.grayFill() == 0)) { writeInt(os, writer.addColor(new Color(255, 255, 255))); } else if (store.backgroundColor() != null) { writeInt(os, writer.addColor(store.backgroundColor())); } else { int shadeColor = (int) (store.grayFill() * 255); writeInt(os, writer.addColor(new Color(shadeColor, shadeColor, shadeColor))); } os.write((byte) '\n'); os.write(RtfWriter.escape); os.write(cellWidthStyle); os.write((byte) '\n'); os.write(RtfWriter.escape); os.write(cellWidthTag); writeInt(os, cellWidth); os.write((byte) '\n'); if (cellpadding > 0) { // values os.write(RtfWriter.escape); os.write(cellPaddingLeft); writeInt(os, cellpadding / 2); os.write(RtfWriter.escape); os.write(cellPaddingTop); writeInt(os, cellpadding / 2); os.write(RtfWriter.escape); os.write(cellPaddingRight); writeInt(os, cellpadding / 2); os.write(RtfWriter.escape); os.write(cellPaddingBottom); writeInt(os, cellpadding / 2); // unit os.write(RtfWriter.escape); os.write(cellPaddingLeftUnit); os.write(RtfWriter.escape); os.write(cellPaddingTopUnit); os.write(RtfWriter.escape); os.write(cellPaddingRightUnit); os.write(RtfWriter.escape); os.write(cellPaddingBottomUnit); } os.write(RtfWriter.escape); os.write(cellRightBorder); writeInt(os, cellRight); } catch (IOException e) { return false; } return true; }
3011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3011/9686cc7c2b9d93fdbe8c8ea4e70de79258c81a59/RtfCell.java/clean/itext/src/com/lowagie/text/rtf/RtfCell.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6494, 2626, 4020, 2628, 12, 8826, 4632, 538, 13, 15069, 2519, 503, 95, 698, 95, 5659, 80, 2384, 16, 88, 2384, 16, 86, 2384, 16, 70, 2384, 31, 7229, 8526, 80, 2885, 16, 88, 2885, 16, 86, 2885, 16, 70, 2885, 31, 430, 12, 2233, 1336, 792, 54, 6632, 1388, 4020, 15329, 54, 6632, 1388, 4020, 71, 28657, 54, 6632, 1388, 4020, 13, 2233, 31, 80, 2384, 33, 71, 18, 4482, 8107, 2384, 5621, 88, 2384, 33, 71, 18, 3669, 8107, 2384, 5621, 86, 2384, 33, 71, 18, 4083, 8107, 2384, 5621, 70, 2384, 33, 71, 18, 9176, 8107, 2384, 5621, 80, 2885, 33, 54, 6632, 1388, 4020, 18, 588, 2885, 3367, 3944, 12, 71, 18, 4482, 8107, 2885, 10663, 88, 2885, 33, 54, 6632, 1388, 4020, 18, 588, 2885, 3367, 3944, 12, 71, 18, 3669, 8107, 2885, 10663, 86, 2885, 33, 54, 6632, 1388, 4020, 18, 588, 2885, 3367, 3944, 12, 71, 18, 4083, 8107, 2885, 10663, 70, 2885, 33, 54, 6632, 1388, 4020, 18, 588, 2885, 3367, 3944, 12, 71, 18, 9176, 8107, 2885, 10663, 97, 12107, 95, 80, 2384, 33, 88, 2384, 33, 86, 2384, 33, 70, 2384, 33, 2233, 18, 8815, 2384, 5621, 80, 2885, 33, 88, 2885, 33, 86, 2885, 33, 70, 2885, 33, 54, 6632, 1999, 18, 2121, 8107, 31, 97, 759, 5586, 413, 334, 17098, 275, 430, 12, 2702, 559, 631, 20969, 7113, 67, 44, 11581, 67, 3670, 58, 20081, 2702, 559, 631, 20969, 7113, 67, 38, 18307, 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, 1071, 6494, 2626, 4020, 2628, 12, 8826, 4632, 538, 13, 15069, 2519, 503, 95, 698, 95, 5659, 80, 2384, 16, 88, 2384, 16, 86, 2384, 16, 70, 2384, 31, 7229, 8526, 80, 2885, 16, 88, 2885, 16, 86, 2885, 16, 70, 2885, 31, 430, 12, 2233, 1336, 792, 54, 6632, 1388, 4020, 15329, 54, 6632, 1388, 4020, 71, 28657, 54, 6632, 1388, 4020, 13, 2233, 31, 80, 2384, 33, 71, 18, 4482, 8107, 2384, 5621, 88, 2384, 33, 71, 18, 3669, 8107, 2384, 5621, 86, 2384, 33, 71, 18, 4083, 8107, 2384, 5621, 70, 2384, 33, 71, 18, 9176, 8107, 2384, 5621, 80, 2885, 33, 54, 6632, 1388, 4020, 18, 588, 2885, 3367, 3944, 12, 71, 18, 4482, 8107, 2 ]
action.setActionDefinitionId("org.eclipse.ui.edit.cut");
action.setActionDefinitionId("org.eclipse.ui.edit.copy");
public IWorkbenchAction create(IWorkbenchWindow window) { if (window == null) { throw new IllegalArgumentException(); } RetargetAction action = new RetargetAction(getId(),WorkbenchMessages.Workbench_cut); action.setToolTipText(WorkbenchMessages.Workbench_cutToolTip); window.getPartService().addPartListener(action); action.setActionDefinitionId("org.eclipse.ui.edit.cut"); //$NON-NLS-1$ ISharedImages sharedImages = window.getWorkbench() .getSharedImages(); action.setImageDescriptor(sharedImages .getImageDescriptor(ISharedImages.IMG_TOOL_CUT)); action.setDisabledImageDescriptor(sharedImages .getImageDescriptor(ISharedImages.IMG_TOOL_CUT_DISABLED)); return action; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/dde25e2c5d25803300d3e725ba305dd0140f61ea/ActionFactory.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/actions/ActionFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 467, 2421, 22144, 1803, 752, 12, 45, 2421, 22144, 3829, 2742, 13, 288, 5411, 309, 261, 5668, 422, 446, 13, 288, 7734, 604, 394, 2754, 5621, 5411, 289, 5411, 17100, 826, 1803, 1301, 273, 394, 17100, 826, 1803, 12, 26321, 9334, 2421, 22144, 5058, 18, 2421, 22144, 67, 5150, 1769, 2398, 1301, 18, 542, 29250, 1528, 12, 2421, 22144, 5058, 18, 2421, 22144, 67, 5150, 29250, 1769, 5411, 2742, 18, 588, 1988, 1179, 7675, 1289, 1988, 2223, 12, 1128, 1769, 5411, 1301, 18, 542, 1803, 21768, 2932, 3341, 18, 20416, 18, 4881, 18, 4619, 18, 3530, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 467, 7887, 8946, 5116, 8946, 273, 2742, 18, 588, 2421, 22144, 1435, 10792, 263, 588, 7887, 8946, 5621, 5411, 1301, 18, 542, 2040, 3187, 12, 11574, 8946, 10792, 263, 588, 2040, 3187, 12, 45, 7887, 8946, 18, 3445, 43, 67, 26263, 67, 39, 1693, 10019, 5411, 1301, 18, 542, 8853, 2040, 3187, 12, 11574, 8946, 10792, 263, 588, 2040, 3187, 12, 45, 7887, 8946, 18, 3445, 43, 67, 26263, 67, 39, 1693, 67, 24493, 10019, 5411, 327, 1301, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 467, 2421, 22144, 1803, 752, 12, 45, 2421, 22144, 3829, 2742, 13, 288, 5411, 309, 261, 5668, 422, 446, 13, 288, 7734, 604, 394, 2754, 5621, 5411, 289, 5411, 17100, 826, 1803, 1301, 273, 394, 17100, 826, 1803, 12, 26321, 9334, 2421, 22144, 5058, 18, 2421, 22144, 67, 5150, 1769, 2398, 1301, 18, 542, 29250, 1528, 12, 2421, 22144, 5058, 18, 2421, 22144, 67, 5150, 29250, 1769, 5411, 2742, 18, 588, 1988, 1179, 7675, 1289, 1988, 2223, 12, 1128, 1769, 5411, 1301, 18, 542, 1803, 21768, 2932, 3341, 18, 20416, 18, 4881, 18, 4619, 18, 3530, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 467, 7887, 8946, 5116, 8946, 273, 2742, 18, 588, 2421, 22144, 1435, 2 ]
throw new ExtendsException( element, base, ExtendsException.DESIGN_EXCEPTION_CANT_EXTEND );
throw new ExtendsForbiddenException( element, base, ExtendsForbiddenException.DESIGN_EXCEPTION_CANT_EXTEND );
public void setExtendsName( String base ) throws ExtendsException { base = StringUtil.trimString( base ); // Can not set extends explicitly if the element is a virtual element // (inside a child) or the element already extends from another. if ( element.isVirtualElement( ) ) throw new ExtendsException( element, base, ExtendsException.DESIGN_EXCEPTION_EXTENDS_FORBIDDEN ); if ( base == null && element.getExtendsName( ) == null ) return; ElementDefn metaData = (ElementDefn) element.getDefn( ); ElementRefValue retValue = null; if ( base == null ) { if ( !metaData.canExtend( ) ) return; } else { // Verify that the symbol exists and is the right type. if ( !metaData.canExtend( ) ) throw new ExtendsException( element, base, ExtendsException.DESIGN_EXCEPTION_CANT_EXTEND ); ElementPropertyDefn propDefn = element .getPropertyDefn( IDesignElementModel.EXTENDS_PROP ); try { retValue = (ElementRefValue) propDefn.validateValue( module, base ); } catch ( PropertyValueException e ) { assert false; } } // Make the change. doSetExtendsRefValue( retValue ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/0d103f519ca55e809e9be13cb20afcc24663b545/ExtendsCommand.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/ExtendsCommand.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 19581, 461, 12, 514, 1026, 262, 1216, 6419, 5839, 503, 202, 95, 202, 202, 1969, 273, 14205, 18, 5290, 780, 12, 1026, 11272, 202, 202, 759, 4480, 486, 444, 3231, 8122, 309, 326, 930, 353, 279, 5024, 930, 202, 202, 759, 261, 28091, 279, 1151, 13, 578, 326, 930, 1818, 3231, 628, 4042, 18, 202, 202, 430, 261, 930, 18, 291, 6466, 1046, 12, 262, 262, 1082, 202, 12849, 394, 6419, 5839, 503, 12, 930, 16, 1026, 16, 6862, 202, 19581, 503, 18, 1639, 11260, 67, 12658, 67, 4142, 1157, 3948, 67, 7473, 30198, 11272, 202, 202, 430, 261, 1026, 422, 446, 597, 930, 18, 588, 19581, 461, 12, 262, 422, 446, 262, 1082, 202, 2463, 31, 202, 202, 1046, 3262, 82, 11651, 273, 261, 1046, 3262, 82, 13, 930, 18, 588, 3262, 82, 12, 11272, 202, 202, 1046, 30556, 21236, 273, 446, 31, 202, 202, 430, 261, 1026, 422, 446, 262, 202, 202, 95, 1082, 202, 430, 261, 401, 3901, 751, 18, 4169, 16675, 12, 262, 262, 9506, 202, 2463, 31, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 759, 8553, 716, 326, 3273, 1704, 471, 353, 326, 2145, 618, 18, 1082, 202, 430, 261, 401, 3901, 751, 18, 4169, 16675, 12, 262, 262, 9506, 202, 12849, 394, 6419, 5839, 503, 12, 930, 16, 1026, 16, 25083, 202, 19581, 503, 18, 1639, 11260, 67, 12658, 67, 39, 6856, 67, 4142, 4415, 11272, 1082, 202, 1046, 1396, 3262, 82, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 19581, 461, 12, 514, 1026, 262, 1216, 6419, 5839, 503, 202, 95, 202, 202, 1969, 273, 14205, 18, 5290, 780, 12, 1026, 11272, 202, 202, 759, 4480, 486, 444, 3231, 8122, 309, 326, 930, 353, 279, 5024, 930, 202, 202, 759, 261, 28091, 279, 1151, 13, 578, 326, 930, 1818, 3231, 628, 4042, 18, 202, 202, 430, 261, 930, 18, 291, 6466, 1046, 12, 262, 262, 1082, 202, 12849, 394, 6419, 5839, 503, 12, 930, 16, 1026, 16, 6862, 202, 19581, 503, 18, 1639, 11260, 67, 12658, 67, 4142, 1157, 3948, 67, 7473, 30198, 11272, 202, 202, 430, 261, 1026, 422, 446, 597, 930, 18, 588, 19581, 461, 12, 262, 422, 446, 262, 1082, 2 ]
public void set_h_hash(DbHash h_hash) throws DbException { h_hash_ = h_hash; hash_changed(h_hash);
public void set_h_hash(DbHash h_hash_fcn) throws DbException { setHash(h_hash_fcn);
public void set_h_hash(DbHash h_hash) throws DbException { h_hash_ = h_hash; hash_changed(h_hash); }
2921 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2921/8960e3895f7af91126465368dff8fbb36ab4e853/Db.java/clean/db/java/src/com/sleepycat/db/Db.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 67, 76, 67, 2816, 12, 4331, 2310, 366, 67, 2816, 13, 3639, 1216, 8408, 503, 565, 288, 3639, 366, 67, 2816, 67, 273, 366, 67, 2816, 31, 3639, 1651, 67, 6703, 12, 76, 67, 2816, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 67, 76, 67, 2816, 12, 4331, 2310, 366, 67, 2816, 13, 3639, 1216, 8408, 503, 565, 288, 3639, 366, 67, 2816, 67, 273, 366, 67, 2816, 31, 3639, 1651, 67, 6703, 12, 76, 67, 2816, 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 ]
if (((ks.getModifiers() & mask) != 0) || ks.getKeyChar() == '\010') e.consume();
if (((ks.getModifiers() & mask) == 0) && ks.getKeyChar() != '\010') super.processKeyEvent(e);
public void processKeyEvent(KeyEvent e) { if (CodeStatus.DEVELOPMENT) { KeyStroke ks = KeyStroke.getKeyStrokeForEvent(e); Action a = _keyBindingManager.get(ks); if (a != null) { if (a.isEnabled()) {// prevents the user from undoing (for example) if it's not enabled a.actionPerformed(null); } e.consume(); } else { if (((ks.getModifiers() & mask) != 0) || ks.getKeyChar() == '\010') // backspace deletes twice without this check e.consume(); } if (!e.isConsumed()) super.processKeyEvent(e); } else super.processKeyEvent(e); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/9cb55009db1cb8bd2aab8df62ce303060f475c4b/DefinitionsPane.java/clean/drjava/src/edu/rice/cs/drjava/ui/DefinitionsPane.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1207, 653, 1133, 12, 653, 1133, 425, 13, 288, 565, 309, 261, 1085, 1482, 18, 31771, 52, 3212, 13, 288, 1377, 1929, 14602, 11654, 273, 1929, 14602, 18, 588, 653, 14602, 1290, 1133, 12, 73, 1769, 1377, 4382, 279, 273, 389, 856, 5250, 1318, 18, 588, 12, 7904, 1769, 1377, 309, 261, 69, 480, 446, 13, 288, 3639, 309, 261, 69, 18, 291, 1526, 10756, 288, 759, 17793, 326, 729, 628, 15436, 310, 261, 1884, 3454, 13, 309, 518, 1807, 486, 3696, 1850, 279, 18, 1128, 13889, 12, 2011, 1769, 3639, 289, 3639, 425, 18, 21224, 5621, 1377, 289, 1377, 469, 288, 7734, 309, 261, 12443, 7904, 18, 588, 11948, 1435, 473, 3066, 13, 480, 374, 13, 747, 2398, 11654, 18, 588, 653, 2156, 1435, 422, 2337, 23254, 6134, 368, 1473, 2981, 9792, 13605, 2887, 333, 866, 1850, 425, 18, 21224, 5621, 1377, 289, 1377, 309, 16051, 73, 18, 291, 20554, 10756, 3639, 2240, 18, 2567, 653, 1133, 12, 73, 1769, 565, 289, 565, 469, 1377, 2240, 18, 2567, 653, 1133, 12, 73, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1207, 653, 1133, 12, 653, 1133, 425, 13, 288, 565, 309, 261, 1085, 1482, 18, 31771, 52, 3212, 13, 288, 1377, 1929, 14602, 11654, 273, 1929, 14602, 18, 588, 653, 14602, 1290, 1133, 12, 73, 1769, 1377, 4382, 279, 273, 389, 856, 5250, 1318, 18, 588, 12, 7904, 1769, 1377, 309, 261, 69, 480, 446, 13, 288, 3639, 309, 261, 69, 18, 291, 1526, 10756, 288, 759, 17793, 326, 729, 628, 15436, 310, 261, 1884, 3454, 13, 309, 518, 1807, 486, 3696, 1850, 279, 18, 1128, 13889, 12, 2011, 1769, 3639, 289, 3639, 425, 18, 21224, 5621, 1377, 289, 1377, 469, 288, 7734, 309, 261, 12443, 7904, 18, 588, 11948, 1435, 473, 3066, 13, 480, 374, 2 ]
public org.quickfix.field.SymbolSfx getSymbolSfx() throws FieldNotFound { org.quickfix.field.SymbolSfx value = new org.quickfix.field.SymbolSfx();
public quickfix.field.SymbolSfx getSymbolSfx() throws FieldNotFound { quickfix.field.SymbolSfx value = new quickfix.field.SymbolSfx();
public org.quickfix.field.SymbolSfx getSymbolSfx() throws FieldNotFound { org.quickfix.field.SymbolSfx value = new org.quickfix.field.SymbolSfx(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/ExecutionReport.java/buggy/src/java/src/quickfix/fix43/ExecutionReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 5335, 55, 19595, 18712, 55, 19595, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 5335, 55, 19595, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 5335, 55, 19595, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 5335, 55, 19595, 18712, 55, 19595, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 5335, 55, 19595, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 5335, 55, 19595, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
fastViewSash = new Sash(parent, Geometry.getSwtHorizontalOrVerticalConstant(Geometry.isHorizontal(side)));
boolean horizontal = Geometry.isHorizontal(side); fastViewSash = new Sash(parent, Geometry.getSwtHorizontalOrVerticalConstant(horizontal)); fastViewSash.setVisible(false);
public void showView(Composite newClientComposite, ViewPane pane, int newSide, float sizeRatio) { side = newSide; if (currentPane != null) { hideView(); } currentPane = pane; ratio = sizeRatio; clientComposite = newClientComposite; clientComposite.addListener(SWT.Resize, resizeListener); if (fastViewSash != null) { fastViewSash.dispose(); fastViewSash = null; } // Create the control first Control ctrl = pane.getControl(); if (ctrl == null) { pane.createControl(clientComposite); ctrl = pane.getControl(); } StackPresentation presentation = new PartTabFolderPresentation(newClientComposite, site, SWT.MIN | SWT.MAX); site.setPresentation(presentation); site.setPresentationState(IPresentationSite.STATE_MAXIMIZED); presentation.addPart(pane.getPresentablePart(), null); presentation.selectPart(pane.getPresentablePart()); presentation.setActive(true); presentation.setVisible(true); setFastViewSizeUsingRatio(); // Show pane fast. ctrl.setEnabled(true); // Add focus support. Composite parent = ctrl.getParent(); Rectangle bounds = getFastViewBounds(); pane.setVisible(true); presentation.setBounds(bounds); presentation.getControl().moveAbove(null); pane.moveAbove(null); pane.setFocus(); fastViewSash = new Sash(parent, Geometry.getSwtHorizontalOrVerticalConstant(Geometry.isHorizontal(side))); fastViewSash.addSelectionListener(selectionListener); pane.setFastViewSash(fastViewSash); updateFastViewSashBounds(bounds); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/1334a76d3033f5c80020f1a0c5c45fe244eebfad/FastViewPane.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/FastViewPane.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2405, 1767, 12, 9400, 28052, 9400, 16, 4441, 8485, 13618, 16, 509, 394, 8895, 16, 1431, 963, 8541, 13, 288, 202, 202, 5564, 273, 394, 8895, 31, 9506, 202, 430, 261, 2972, 8485, 480, 446, 13, 288, 1082, 202, 11248, 1767, 5621, 202, 202, 97, 1082, 202, 2972, 8485, 273, 13618, 31, 202, 202, 9847, 273, 963, 8541, 31, 9506, 202, 2625, 9400, 273, 28052, 9400, 31, 1082, 202, 2625, 9400, 18, 1289, 2223, 12, 55, 8588, 18, 12182, 16, 7041, 2223, 1769, 202, 202, 430, 261, 8076, 1767, 55, 961, 480, 446, 13, 288, 1082, 202, 8076, 1767, 55, 961, 18, 2251, 4150, 5621, 1082, 202, 8076, 1767, 55, 961, 273, 446, 31, 202, 202, 97, 9506, 202, 759, 1788, 326, 3325, 1122, 202, 202, 3367, 6414, 273, 13618, 18, 588, 3367, 5621, 202, 202, 430, 261, 16277, 422, 446, 13, 288, 1082, 202, 29009, 18, 2640, 3367, 12, 2625, 9400, 1769, 1082, 202, 16277, 273, 13618, 18, 588, 3367, 5621, 6862, 202, 97, 9506, 202, 2624, 6351, 367, 22525, 273, 394, 6393, 5661, 3899, 6351, 367, 12, 2704, 1227, 9400, 16, 2834, 16, 348, 8588, 18, 6236, 571, 348, 8588, 18, 6694, 1769, 9506, 202, 4256, 18, 542, 6351, 367, 12, 10364, 1769, 202, 202, 4256, 18, 542, 6351, 367, 1119, 12, 2579, 1581, 367, 4956, 18, 7998, 67, 6694, 3445, 24131, 1769, 202, 202, 10364, 18, 1289, 1988, 12, 29009, 18, 588, 6351, 429, 1988, 9334, 446, 1769, 202, 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, 2405, 1767, 12, 9400, 28052, 9400, 16, 4441, 8485, 13618, 16, 509, 394, 8895, 16, 1431, 963, 8541, 13, 288, 202, 202, 5564, 273, 394, 8895, 31, 9506, 202, 430, 261, 2972, 8485, 480, 446, 13, 288, 1082, 202, 11248, 1767, 5621, 202, 202, 97, 1082, 202, 2972, 8485, 273, 13618, 31, 202, 202, 9847, 273, 963, 8541, 31, 9506, 202, 2625, 9400, 273, 28052, 9400, 31, 1082, 202, 2625, 9400, 18, 1289, 2223, 12, 55, 8588, 18, 12182, 16, 7041, 2223, 1769, 202, 202, 430, 261, 8076, 1767, 55, 961, 480, 446, 13, 288, 1082, 202, 8076, 1767, 55, 961, 18, 2251, 4150, 5621, 1082, 202, 8076, 1767, 55, 961, 273, 446, 31, 202, 2 ]
private void putName(String sourceFileName, String relativePathToSource, String pathToClass) {
private void putName(String sourceFileName, int classQName, String relativePathToSource, String pathToClass) {
private void putName(String sourceFileName, String relativePathToSource, String pathToClass) { if (LOG.isDebugEnabled()) { LOG.debug("Registering [sourceFileName, relativePathToSource, pathToClass] = [" + sourceFileName + "; " + relativePathToSource + "; " + pathToClass + "]"); } Set<Pair<String, String>> paths = myFileNameToSourceMap.get(sourceFileName); if (paths == null) { paths = new HashSet<Pair<String, String>>(); myFileNameToSourceMap.put(sourceFileName, paths); } paths.add(new Pair<String, String>(pathToClass, relativePathToSource)); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/96b6561f780ad83b42dda927dc5252f453e88954/BackendCompilerWrapper.java/buggy/compiler/impl/com/intellij/compiler/impl/javaCompiler/BackendCompilerWrapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1378, 461, 12, 780, 1084, 4771, 16, 509, 667, 13688, 16, 514, 12820, 774, 1830, 16, 514, 12221, 797, 13, 288, 565, 309, 261, 4842, 18, 291, 2829, 1526, 10756, 288, 1377, 2018, 18, 4148, 2932, 3996, 310, 306, 3168, 4771, 16, 12820, 774, 1830, 16, 12221, 797, 65, 273, 8247, 397, 1084, 4771, 397, 13636, 315, 397, 12820, 774, 1830, 397, 7734, 13636, 315, 397, 12221, 797, 397, 9870, 1769, 565, 289, 565, 1000, 32, 4154, 32, 780, 16, 514, 9778, 2953, 273, 3399, 4771, 774, 1830, 863, 18, 588, 12, 3168, 4771, 1769, 565, 309, 261, 4481, 422, 446, 13, 288, 1377, 2953, 273, 394, 6847, 32, 4154, 32, 780, 16, 514, 9778, 5621, 1377, 3399, 4771, 774, 1830, 863, 18, 458, 12, 3168, 4771, 16, 2953, 1769, 565, 289, 565, 2953, 18, 1289, 12, 2704, 8599, 32, 780, 16, 514, 34, 12, 803, 774, 797, 16, 12820, 774, 1830, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1378, 461, 12, 780, 1084, 4771, 16, 509, 667, 13688, 16, 514, 12820, 774, 1830, 16, 514, 12221, 797, 13, 288, 565, 309, 261, 4842, 18, 291, 2829, 1526, 10756, 288, 1377, 2018, 18, 4148, 2932, 3996, 310, 306, 3168, 4771, 16, 12820, 774, 1830, 16, 12221, 797, 65, 273, 8247, 397, 1084, 4771, 397, 13636, 315, 397, 12820, 774, 1830, 397, 7734, 13636, 315, 397, 12221, 797, 397, 9870, 1769, 565, 289, 565, 1000, 32, 4154, 32, 780, 16, 514, 9778, 2953, 273, 3399, 4771, 774, 1830, 863, 18, 588, 12, 3168, 4771, 1769, 565, 309, 261, 4481, 422, 446, 13, 288, 1377, 2953, 273, 394, 6847, 32, 4154, 32, 780, 16, 514, 9778, 5621, 2 ]
int importPackageLimit = 3; int importClassLimit = 3;
int importPackageLimit = ImportHandler.DEFAULT_PACKAGE_LIMIT; int importClassLimit = ImportHandler.DEFAULT_CLASS_LIMIT;;
public static void main(String[] params) { int i; String classPath = System.getProperty("java.class.path"); File destDir = null; ZipOutputStream destZip = null; int importPackageLimit = 3; int importClassLimit = 3; GlobalOptions.err.println(GlobalOptions.copyright); for (i=0; i<params.length && params[i].startsWith("-"); i++) { if (params[i].equals("-v")) GlobalOptions.verboseLevel++; else if (params[i].equals("--dest")) destDir = new File(params[++i]); else if (params[i].startsWith("--debug")) { String flags; if (params[i].startsWith("--debug=")) { flags = params[i].substring(8); } else if (params[i].length() != 7) { usage(); return; } else { flags = params[++i]; } GlobalOptions.setDebugging(flags); } else if (params[i].equals("--style")) { String style = params[++i]; if (style.equals("sun")) outputStyle = SUN_STYLE; else if (style.equals("gnu")) outputStyle = GNU_STYLE; else { GlobalOptions.err.println("Unknown style: "+style); usage(); return; } } else if (params[i].equals("--import")) { importPackageLimit = Integer.parseInt(params[++i]); importClassLimit = Integer.parseInt(params[++i]); } else if (params[i].equals("--cp")) { classPath = params[++i]; } else if (params[i].equals("--")) { i++; break; } else { if (params[i].startsWith("--")) { boolean negated = false; String optionName = params[i].substring(2); if (optionName.startsWith("no")) { optionName = optionName.substring(2); negated = true; } int index = -1; for (int j=0; j < optionNames.length; j++) { if (optionNames[j].startsWith(optionName)) { if (optionNames[j].equals(optionName)) { index = j; break; } if (index == -1) { index = j; } else { index = -2; break; } } } if (index >= 0) { if (negated) options &= ~(1<< index); else options |= 1 << index; continue; } } if (!params[i].startsWith("-h") && !params[i].equals("--help")) GlobalOptions.err.println("Unknown option: "+params[i]); usage(); return; } } if (i == params.length) { usage(); return; } ClassInfo.setClassPath(classPath); ImportHandler imports = new ImportHandler(importClassLimit, importPackageLimit); TabbedPrintWriter writer = null; if (destDir == null) writer = new TabbedPrintWriter(System.out, imports); else if (destDir.getName().endsWith(".zip")) { try { destZip = new ZipOutputStream(new FileOutputStream(destDir)); } catch (IOException ex) { GlobalOptions.err.println("Can't open zip file "+destDir); ex.printStackTrace(GlobalOptions.err); return; } writer = new TabbedPrintWriter(destZip, imports); } for (; i< params.length; i++) { try { ClassInfo clazz; try { clazz = ClassInfo.forName(params[i]); } catch (IllegalArgumentException ex) { GlobalOptions.err.println ("`"+params[i]+"' is not a class name"); continue; } if (skipClass(clazz)) continue; String filename = params[i].replace('.', File.separatorChar)+".java"; if (destZip != null) { writer.flush(); destZip.putNextEntry(new ZipEntry(filename)); } else if (destDir != null) { File file = new File (destDir, filename); File directory = new File(file.getParent()); if (!directory.exists() && !directory.mkdirs()) { GlobalOptions.err.println ("Could not create directory " + directory.getPath() + ", check permissions."); } writer = new TabbedPrintWriter(new FileOutputStream(file), imports); } GlobalOptions.err.println(params[i]); ClassAnalyzer clazzAna = new ClassAnalyzer(clazz, imports); clazzAna.dumpJavaFile(writer); if (destZip != null) { writer.flush(); destZip.closeEntry(); } else if (destDir != null) writer.close(); /* Now is a good time to clean up */ System.gc(); } catch (IOException ex) { GlobalOptions.err.println ("Can't write source of "+params[i]+"."); GlobalOptions.err.println("Check the permissions."); ex.printStackTrace(GlobalOptions.err); } } if (destZip != null) { try { destZip.close(); } catch (IOException ex) { GlobalOptions.err.println("Can't close Zipfile"); ex.printStackTrace(GlobalOptions.err); } } }
5628 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5628/524525502bc9574ada1dcf180c875358c91eab56/Decompiler.java/buggy/jode/jode/Decompiler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 859, 13, 288, 3639, 509, 277, 31, 3639, 514, 22503, 273, 2332, 18, 588, 1396, 2932, 6290, 18, 1106, 18, 803, 8863, 202, 812, 26231, 273, 446, 31, 202, 9141, 4632, 1570, 9141, 273, 446, 31, 202, 474, 1930, 2261, 3039, 273, 890, 31, 3639, 509, 1930, 797, 3039, 273, 890, 31, 202, 5160, 1320, 18, 370, 18, 8222, 12, 5160, 1320, 18, 29187, 1769, 3639, 364, 261, 77, 33, 20, 31, 277, 32, 2010, 18, 2469, 597, 859, 63, 77, 8009, 17514, 1190, 2932, 17, 8863, 277, 27245, 288, 5411, 309, 261, 2010, 63, 77, 8009, 14963, 2932, 17, 90, 6, 3719, 202, 202, 5160, 1320, 18, 11369, 2355, 9904, 31, 202, 202, 12107, 309, 261, 2010, 63, 77, 8009, 14963, 2932, 413, 10488, 6, 3719, 202, 202, 10488, 1621, 273, 394, 1387, 12, 2010, 63, 9904, 77, 19226, 5411, 469, 309, 261, 2010, 63, 77, 8009, 17514, 1190, 2932, 413, 4148, 6, 3719, 288, 202, 202, 780, 2943, 31, 202, 202, 430, 261, 2010, 63, 77, 8009, 17514, 1190, 2932, 413, 4148, 1546, 3719, 288, 1082, 565, 2943, 273, 859, 63, 77, 8009, 28023, 12, 28, 1769, 202, 202, 97, 469, 309, 261, 2010, 63, 77, 8009, 2469, 1435, 480, 2371, 13, 288, 1082, 565, 4084, 5621, 1082, 565, 327, 31, 202, 202, 97, 469, 288, 1082, 565, 2943, 273, 859, 63, 9904, 77, 15533, 202, 202, 97, 202, 202, 5160, 1320, 18, 542, 2829, 1998, 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, 760, 918, 2774, 12, 780, 8526, 859, 13, 288, 3639, 509, 277, 31, 3639, 514, 22503, 273, 2332, 18, 588, 1396, 2932, 6290, 18, 1106, 18, 803, 8863, 202, 812, 26231, 273, 446, 31, 202, 9141, 4632, 1570, 9141, 273, 446, 31, 202, 474, 1930, 2261, 3039, 273, 890, 31, 3639, 509, 1930, 797, 3039, 273, 890, 31, 202, 5160, 1320, 18, 370, 18, 8222, 12, 5160, 1320, 18, 29187, 1769, 3639, 364, 261, 77, 33, 20, 31, 277, 32, 2010, 18, 2469, 597, 859, 63, 77, 8009, 17514, 1190, 2932, 17, 8863, 277, 27245, 288, 5411, 309, 261, 2010, 63, 77, 8009, 14963, 2932, 17, 90, 6, 3719, 202, 202, 5160, 1320, 18, 11369, 2355, 9904, 2 ]
public MavenProject build( File projectDescriptor, ArtifactRepository localRepository, List activeExternalProfiles ) throws ProjectBuildingException { ProfileManager profileManager = new DefaultProfileManager( container ); if ( activeExternalProfiles != null ) { for ( Iterator it = activeExternalProfiles.iterator(); it.hasNext(); ) { Profile profile = (Profile) it.next(); // since it's already determined to be active, we'll explicitly set it as activated in the mgr. profileManager.explicitlyActivate( profile.getId() ); profileManager.addProfile( profile ); } } return buildFromSourceFile( projectDescriptor, localRepository, profileManager ); }
47160 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47160/d466205274b1a04edc89551db56aa32049ee2b39/DefaultMavenProjectBuilder.java/clean/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 17176, 4109, 1361, 12, 1387, 1984, 3187, 16, 14022, 3305, 1191, 3305, 16, 987, 2695, 6841, 12450, 262, 3639, 1216, 5420, 16713, 503, 565, 288, 3639, 11357, 1318, 3042, 1318, 273, 394, 2989, 4029, 1318, 12, 1478, 11272, 7734, 309, 261, 2695, 6841, 12450, 480, 446, 262, 3639, 288, 5411, 364, 261, 4498, 518, 273, 2695, 6841, 12450, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 5411, 288, 7734, 11357, 3042, 273, 261, 4029, 13, 518, 18, 4285, 5621, 27573, 368, 3241, 518, 1807, 1818, 11383, 358, 506, 2695, 16, 732, 5614, 8122, 444, 518, 487, 14892, 316, 326, 13333, 18, 7734, 3042, 1318, 18, 16511, 715, 21370, 12, 3042, 18, 26321, 1435, 11272, 27573, 3042, 1318, 18, 1289, 4029, 12, 3042, 11272, 5411, 289, 3639, 289, 7734, 327, 1361, 1265, 31150, 12, 1984, 3187, 16, 1191, 3305, 16, 3042, 1318, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 17176, 4109, 1361, 12, 1387, 1984, 3187, 16, 14022, 3305, 1191, 3305, 16, 987, 2695, 6841, 12450, 262, 3639, 1216, 5420, 16713, 503, 565, 288, 3639, 11357, 1318, 3042, 1318, 273, 394, 2989, 4029, 1318, 12, 1478, 11272, 7734, 309, 261, 2695, 6841, 12450, 480, 446, 262, 3639, 288, 5411, 364, 261, 4498, 518, 273, 2695, 6841, 12450, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 5411, 288, 7734, 11357, 3042, 273, 261, 4029, 13, 518, 18, 4285, 5621, 27573, 368, 3241, 518, 1807, 1818, 11383, 358, 506, 2695, 16, 732, 5614, 8122, 444, 518, 487, 14892, 316, 326, 13333, 18, 7734, 3042, 1318, 18, 16511, 715, 21370, 12, 3042, 18, 26321, 1435, 11272, 27573, 3042, 2 ]
public void clear(Class drawableClass){ Iterator it = children.iterator(); while(it.hasNext()){ if(drawableClass.isInstance(it.next())){ it.remove(); } } parent.repaint();
public void clear(Class drawableClass) { Iterator it = children.iterator(); while(it.hasNext()) { if(drawableClass.isInstance(it.next())) { it.remove(); } } parent.repaint();
public void clear(Class drawableClass){ Iterator it = children.iterator(); while(it.hasNext()){ if(drawableClass.isInstance(it.next())){ it.remove(); } } parent.repaint(); }
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/0fd7bfb1dd7a05efe8c3e939971837f1cfcda0df/DrawableSeismogram.java/clean/src/edu/sc/seis/fissuresUtil/display/drawable/DrawableSeismogram.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2424, 12, 797, 19021, 797, 15329, 3639, 4498, 518, 273, 2325, 18, 9838, 5621, 3639, 1323, 12, 305, 18, 5332, 2134, 10756, 95, 5411, 309, 12, 9446, 429, 797, 18, 291, 1442, 12, 305, 18, 4285, 1435, 3719, 95, 7734, 518, 18, 4479, 5621, 5411, 289, 3639, 289, 3639, 982, 18, 14462, 1598, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2424, 12, 797, 19021, 797, 15329, 3639, 4498, 518, 273, 2325, 18, 9838, 5621, 3639, 1323, 12, 305, 18, 5332, 2134, 10756, 95, 5411, 309, 12, 9446, 429, 797, 18, 291, 1442, 12, 305, 18, 4285, 1435, 3719, 95, 7734, 518, 18, 4479, 5621, 5411, 289, 3639, 289, 3639, 982, 18, 14462, 1598, 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 ]
stack, sDbl, calleeArgShft, count,
stack, sDbl, calleeArgShft, indexReg,
static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, double[] argsDbl, int argShift, int argCount, NativeFunction fnOrScript, InterpreterData idata) throws JavaScriptException { if (cx.interpreterSecurityDomain != idata.securityDomain) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); } SecurityController sc = idata.securityController; Object savedDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = idata.securityDomain; try { return sc.callWithDomain(idata.securityDomain, cx, fnOrScript, scope, thisObj, args); } finally { cx.interpreterSecurityDomain = savedDomain; } } final Object DBL_MRK = Interpreter.DBL_MRK; final Scriptable undefined = Undefined.instance; final int VAR_SHFT = 0; final int maxVars = idata.itsMaxVars; final int LOCAL_SHFT = VAR_SHFT + maxVars; final int STACK_SHFT = LOCAL_SHFT + idata.itsMaxLocals;// stack[VAR_SHFT <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_STACK_SHFT]: used for newtemp/usetemp// stack[STACK_SHFT <= i < STACK_SHFT + idata.itsMaxStack]: stack data// sDbl[i]: if stack[i] is DBL_MRK, sDbl[i] holds the number value int maxFrameArray = idata.itsMaxFrameArray; if (maxFrameArray != STACK_SHFT + idata.itsMaxStack) Kit.codeBug(); Object[] stack = new Object[maxFrameArray]; double[] sDbl = new double[maxFrameArray]; int stackTop = STACK_SHFT - 1; int withDepth = 0; int definedArgs = fnOrScript.argCount; if (definedArgs > argCount) { definedArgs = argCount; } for (int i = 0; i != definedArgs; ++i) { Object arg = args[argShift + i]; stack[VAR_SHFT + i] = arg; if (arg == DBL_MRK) { sDbl[VAR_SHFT + i] = argsDbl[argShift + i]; } } for (int i = definedArgs; i != maxVars; ++i) { stack[VAR_SHFT + i] = undefined; } DebugFrame debuggerFrame = null; if (cx.debugger != null) { debuggerFrame = cx.debugger.getFrame(cx, idata); } if (idata.itsFunctionType != 0) { InterpretedFunction f = (InterpretedFunction)fnOrScript; if (!idata.useDynamicScope) { scope = fnOrScript.getParentScope(); } if (idata.itsCheckThis) { thisObj = ScriptRuntime.getThis(thisObj); } if (idata.itsNeedsActivation) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } } else { ScriptRuntime.initScript(cx, scope, fnOrScript, thisObj, idata.itsFromEvalCode); } if (idata.itsNestedFunctions != null) { if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) Kit.codeBug(); for (int i = 0; i < idata.itsNestedFunctions.length; i++) { InterpreterData fdata = idata.itsNestedFunctions[i]; if (fdata.itsFunctionType == FunctionNode.FUNCTION_STATEMENT) { createFunction(cx, scope, fdata, idata.itsFromEvalCode); } } } // Wrapped regexps for functions are stored in InterpretedFunction // but for script which should not contain references to scope // the regexps re-wrapped during each script execution Scriptable[] scriptRegExps = null; boolean useActivationVars = false; if (debuggerFrame != null) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) { useActivationVars = true; scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } debuggerFrame.onEnter(cx, scope, thisObj, args); } InterpreterData savedData = cx.interpreterData; cx.interpreterData = idata; Object result = undefined; // If javaException != null on exit, it will be throw instead of // normal return Throwable javaException = null; int exceptionPC = -1; byte[] iCode = idata.itsICode; int pc = 0; int pcPrevBranch = 0; 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; String[] strings = idata.itsStringTable; String stringReg = null; Loop: for (;;) { int pcJump; try { int op = 0xFF & iCode[pc++]; switch (op) { // Back indent to ease imlementation reading case Icode_CATCH: { // The following code should be executed inside try/catch inside main // loop, not in the loop catch block itself to deal with exceptions // from observeInstructionCount. A special bytecode is used only to // simplify logic. if (javaException == null) Kit.codeBug(); pcJump = -1; boolean doCatch = false; int handlerOffset = getExceptionHandler(idata.itsExceptionTable, exceptionPC); if (handlerOffset >= 0) { final int SCRIPT_CAN_CATCH = 0, ONLY_FINALLY = 1, OTHER = 2; int exType; if (javaException instanceof JavaScriptException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EcmaError) { // an offical ECMA error object, exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EvaluatorException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof RuntimeException) { exType = ONLY_FINALLY; } else { // Error instance exType = OTHER; } if (exType != OTHER) { // Do not allow for JS to interfere with Error instances // (exType == OTHER), as they can be used to terminate // long running script if (exType == SCRIPT_CAN_CATCH) { // Allow JS to catch only JavaScriptException and // EcmaError pcJump = idata.itsExceptionTable[handlerOffset + EXCEPTION_CATCH_SLOT]; if (pcJump >= 0) { // Has catch block doCatch = true; } } if (pcJump < 0) { pcJump = idata.itsExceptionTable[handlerOffset + EXCEPTION_FINALLY_SLOT]; } } } if (debuggerFrame != null && !(javaException instanceof Error)) { debuggerFrame.onExceptionThrown(cx, javaException); } if (pcJump < 0) { break Loop; } // We caught an exception // restore scope at try point int tryWithDepth = idata.itsExceptionTable[ handlerOffset + EXCEPTION_WITH_DEPTH_SLOT]; while (tryWithDepth != withDepth) { if (scope == null) Kit.codeBug(); scope = ScriptRuntime.leaveWith(scope); --withDepth; } if (doCatch) { stackTop = STACK_SHFT - 1; int exLocal = idata.itsExceptionTable[ handlerOffset + EXCEPTION_LOCAL_SLOT]; stack[LOCAL_SHFT + exLocal] = ScriptRuntime.getCatchObject( cx, scope, javaException); } else { stackTop = STACK_SHFT; // Call finally handler with javaException on stack top to // distinguish from normal invocation through GOSUB // which would contain DBL_MRK on the stack stack[stackTop] = javaException; } // clear exception javaException = null; // go to generic jump code break; } case Token.THROW: { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int sourceLine = getShort(iCode, pc); throw new JavaScriptException(value, idata.itsSourceFile, sourceLine); } case Token.GE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl <= lDbl); } else { valBln = ScriptRuntime.cmp_LE(rhs, lhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.LE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (lDbl <= rDbl); } else { valBln = ScriptRuntime.cmp_LE(lhs, rhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.GT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl < lDbl); } else { valBln = ScriptRuntime.cmp_LT(rhs, lhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.LT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (lDbl < rDbl); } else { valBln = ScriptRuntime.cmp_LT(lhs, rhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.IN : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.in(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.INSTANCEOF : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.instanceOf(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.EQ : { --stackTop; boolean valBln = do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.NE : { --stackTop; boolean valBln = !do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.SHEQ : { --stackTop; boolean valBln = do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.SHNE : { --stackTop; boolean valBln = !do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.IFNE : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (valBln) { pc += 2; continue Loop; } pcJump = getTarget(iCode, pc); break; } case Token.IFEQ : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (!valBln) { pc += 2; continue Loop; } pcJump = getTarget(iCode, pc); break; } case Icode_IFEQ_POP : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (!valBln) { pc += 2; continue Loop; } stack[stackTop] = null; --stackTop; pcJump = getTarget(iCode, pc); break; } case Token.GOTO : pcJump = getTarget(iCode, pc); break; case Icode_GOSUB : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = pc + 2; pcJump = getTarget(iCode, pc); break; case Icode_RETSUB : { int slot = (iCode[pc] & 0xFF); Object value = stack[LOCAL_SHFT + slot]; if (value != DBL_MRK) { // Invocation from exception handler, restore object to rethrow javaException = (Throwable)value; exceptionPC = pc - 1; pcJump = getJavaCatchPC(iCode); } else { // Normal return from GOSUB pcJump = (int)sDbl[LOCAL_SHFT + slot]; } break; } case Token.POP : stack[stackTop] = null; stackTop--; continue Loop; case Icode_DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; continue Loop; case Icode_DUPSECOND : { stack[stackTop + 1] = stack[stackTop - 1]; sDbl[stackTop + 1] = sDbl[stackTop - 1]; stackTop++; continue Loop; } case Icode_SWAP : { Object o = stack[stackTop]; stack[stackTop] = stack[stackTop - 1]; stack[stackTop - 1] = o; double d = sDbl[stackTop]; sDbl[stackTop] = sDbl[stackTop - 1]; sDbl[stackTop - 1] = d; continue Loop; } case Token.POPV : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); stack[stackTop] = null; --stackTop; continue Loop; case Token.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break Loop; case Token.RETURN_POPV : break Loop; case Icode_RETUNDEF : result = undefined; break Loop; case Token.BITNOT : { int rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; continue Loop; } case Token.BITAND : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue & rIntValue; continue Loop; } case Token.BITOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue | rIntValue; continue Loop; } case Token.BITXOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue ^ rIntValue; continue Loop; } case Token.LSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue << rIntValue; continue Loop; } case Token.RSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue >> rIntValue; continue Loop; } case Token.URSH : { int rIntValue = stack_int32(stack, sDbl, stackTop) & 0x1F; --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ScriptRuntime.toUint32(lDbl) >>> rIntValue; continue Loop; } case Token.ADD : --stackTop; do_add(stack, sDbl, stackTop); continue Loop; case Token.SUB : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl - rDbl; continue Loop; } case Token.NEG : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; continue Loop; } case Token.POS : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; continue Loop; } case Token.MUL : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl * rDbl; continue Loop; } case Token.DIV : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; // Detect the divide by zero or let Java do it ? sDbl[stackTop] = lDbl / rDbl; continue Loop; } case Token.MOD : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl % rDbl; continue Loop; } case Token.NOT : { stack[stackTop] = stack_boolean(stack, sDbl, stackTop) ? Boolean.FALSE : Boolean.TRUE; continue Loop; } case Icode_LOAD_STR1: stringReg = strings[0xFF & iCode[pc]]; ++pc; continue Loop; case Icode_LOAD_STR2: stringReg = strings[getIndex(iCode, pc)]; pc += 2; continue Loop; case Icode_LOAD_STR4: stringReg = strings[getInt(iCode, pc)]; pc += 4; continue Loop; case Token.BINDNAME : stack[++stackTop] = ScriptRuntime.bind(scope, stringReg); continue Loop; case Token.SETNAME : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Scriptable lhs = (Scriptable)stack[stackTop]; stack[stackTop] = ScriptRuntime.setName(lhs, rhs, scope, stringReg); continue Loop; } case Token.DELPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(cx, scope, lhs, rhs); continue Loop; } case Token.GETPROP : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProp(lhs, name, scope); continue Loop; } case Token.SETPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProp(lhs, name, rhs, scope); continue Loop; } case Token.GETELEM : do_getElem(cx, stack, sDbl, stackTop, scope); --stackTop; continue Loop; case Token.SETELEM : do_setElem(cx, stack, sDbl, stackTop, scope); stackTop -= 2; continue Loop; case Icode_PROPINC : case Icode_PROPDEC : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrDecr(lhs, name, scope, op == Icode_PROPINC); continue Loop; } case Icode_ELEMINC : case Icode_ELEMDEC : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrDecrElem(lhs, rhs, scope, op == Icode_ELEMINC); continue Loop; } case Token.LOCAL_SAVE : { int slot = (iCode[pc] & 0xFF); stack[LOCAL_SHFT + slot] = stack[stackTop]; sDbl[LOCAL_SHFT + slot] = sDbl[stackTop]; --stackTop; ++pc; continue Loop; } case Token.LOCAL_LOAD : { int slot = (iCode[pc] & 0xFF); ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + slot]; sDbl[stackTop] = sDbl[LOCAL_SHFT + slot]; ++pc; continue Loop; } case Icode_CALLSPECIAL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int callType = iCode[pc] & 0xFF; boolean isNew = (iCode[pc + 1] != 0); int sourceLine = getShort(iCode, pc + 2); int count = getIndex(iCode, pc + 4); stackTop -= count; Object[] outArgs = getArgsArray(stack, sDbl, stackTop + 1, count); Object functionThis; if (isNew) { functionThis = null; } else { functionThis = stack[stackTop]; if (functionThis == DBL_MRK) { functionThis = doubleWrap(sDbl[stackTop]); } --stackTop; } Object function = stack[stackTop]; if (function == DBL_MRK) function = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.callSpecial( cx, function, isNew, functionThis, outArgs, scope, thisObj, callType, idata.itsSourceFile, sourceLine); instructionCount = cx.instructionCount; pc += 6; continue Loop; } case Token.CALL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int count = getIndex(iCode, pc); stackTop -= count; int calleeArgShft = stackTop + 1; Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; Scriptable calleeScope = scope; if (idata.itsNeedsActivation) { calleeScope = ScriptableObject.getTopLevelScope(scope); } Scriptable calleeThis; if (rhs instanceof Scriptable || rhs == null) { calleeThis = (Scriptable)rhs; } else { calleeThis = ScriptRuntime.toObject(cx, calleeScope, rhs); } if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.call not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; stack[stackTop] = interpret(cx, calleeScope, calleeThis, stack, sDbl, calleeArgShft, count, f, f.itsData); } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, count); stack[stackTop] = f.call(cx, calleeScope, calleeThis, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined lhs = stringReg; } throw ScriptRuntime.typeError1("msg.isnt.function", ScriptRuntime.toString(lhs)); } instructionCount = cx.instructionCount; pc += 2; continue Loop; } case Token.NEW : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int count = getIndex(iCode, pc); stackTop -= count; int calleeArgShft = stackTop + 1; Object lhs = stack[stackTop]; if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.construct not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; Scriptable newInstance = f.createObject(cx, scope); Object callResult = interpret(cx, scope, newInstance, stack, sDbl, calleeArgShft, count, f, f.itsData); if (callResult instanceof Scriptable && callResult != undefined) { stack[stackTop] = callResult; } else { stack[stackTop] = newInstance; } } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, count); stack[stackTop] = f.construct(cx, scope, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined lhs = stringReg; } throw ScriptRuntime.typeError1("msg.isnt.function", ScriptRuntime.toString(lhs)); } instructionCount = cx.instructionCount; pc += 2; continue Loop; } case Token.TYPEOF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); continue Loop; } case Icode_TYPEOFNAME : stack[++stackTop] = ScriptRuntime.typeofName(scope, stringReg); continue Loop; case Icode_NAME_AND_THIS : { boolean skipGetThis = (0 != iCode[pc]); stackTop = do_nameAndThis(stack, stackTop, scope, stringReg, skipGetThis); ++pc; continue Loop; } case Token.STRING : stack[++stackTop] = stringReg; continue Loop; case Icode_SHORTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, pc); pc += 2; continue Loop; case Icode_INTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, pc); pc += 4; continue Loop; case Token.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = idata.itsDoubleTable[getIndex(iCode, pc)]; pc += 2; continue Loop; case Token.NAME : stack[++stackTop] = ScriptRuntime.name(scope, stringReg); continue Loop; case Icode_NAMEINC : case Icode_NAMEDEC : stack[++stackTop] = ScriptRuntime.postIncrDecr(scope, stringReg, op == Icode_NAMEINC); continue Loop; case Token.SETVAR : { int slot = (iCode[pc] & 0xFF); if (!useActivationVars) { stack[VAR_SHFT + slot] = stack[stackTop]; sDbl[VAR_SHFT + slot] = sDbl[stackTop]; } else { Object val = stack[stackTop]; if (val == DBL_MRK) val = doubleWrap(sDbl[stackTop]); activationPut(fnOrScript, scope, slot, val); } ++pc; continue Loop; } case Token.GETVAR : { int slot = (iCode[pc] & 0xFF); ++stackTop; if (!useActivationVars) { stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; } else { stack[stackTop] = activationGet(fnOrScript, scope, slot); } ++pc; continue Loop; } case Icode_VARINC : case Icode_VARDEC : { int slot = (iCode[pc] & 0xFF); ++stackTop; if (!useActivationVars) { Object val = stack[VAR_SHFT + slot]; stack[stackTop] = val; double d; if (val == DBL_MRK) { d = sDbl[VAR_SHFT + slot]; sDbl[stackTop] = d; } else { d = ScriptRuntime.toNumber(val); } stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = (op == Icode_VARINC) ? d + 1.0 : d - 1.0; } else { Object val = activationGet(fnOrScript, scope, slot); stack[stackTop] = val; double d = ScriptRuntime.toNumber(val); val = doubleWrap((op == Icode_VARINC) ? d + 1.0 : d - 1.0); activationPut(fnOrScript, scope, slot, val); } ++pc; continue Loop; } case Token.ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; continue Loop; case Token.ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; continue Loop; case Token.NULL : stack[++stackTop] = null; continue Loop; case Token.THIS : stack[++stackTop] = thisObj; continue Loop; case Token.THISFN : stack[++stackTop] = fnOrScript; continue Loop; case Token.FALSE : stack[++stackTop] = Boolean.FALSE; continue Loop; case Token.TRUE : stack[++stackTop] = Boolean.TRUE; continue Loop; case Token.UNDEFINED : stack[++stackTop] = Undefined.instance; continue Loop; case Token.ENTERWITH : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); ++withDepth; continue Loop; } case Token.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); --withDepth; continue Loop; case Token.CATCH_SCOPE : stack[stackTop] = ScriptRuntime.newCatchScope(stringReg, stack[stackTop]); continue Loop; case Token.ENUM_INIT : { int slot = (iCode[pc] & 0xFF); Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + slot] = ScriptRuntime.enumInit(lhs, scope); ++pc; continue Loop; } case Token.ENUM_NEXT : case Token.ENUM_ID : { int slot = (iCode[pc] & 0xFF); Object val = stack[LOCAL_SHFT + slot]; ++stackTop; stack[stackTop] = (op == Token.ENUM_NEXT) ? (Object)ScriptRuntime.enumNext(val) : (Object)ScriptRuntime.enumId(val); ++pc; continue Loop; } case Icode_PUSH_PARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[++stackTop] = ScriptRuntime.getParent(lhs); continue Loop; } case Icode_GETPROTO : case Icode_GETSCOPEPARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); Object val; if (op == Icode_GETPROTO) { val = ScriptRuntime.getProto(lhs, scope); } else { val = ScriptRuntime.getParent(lhs, scope); } stack[stackTop] = val; continue Loop; } case Icode_SETPROTO : case Icode_SETPARENT : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); Object val; if (op == Icode_SETPROTO) { val = ScriptRuntime.setProto(lhs, rhs, scope); } else { val = ScriptRuntime.setParent(lhs, rhs, scope); } stack[stackTop] = val; continue Loop; } case Icode_SCOPE : stack[++stackTop] = scope; continue Loop; case Icode_CLOSURE : { int i = getIndex(iCode, pc); InterpreterData closureData = idata.itsNestedFunctions[i]; stack[++stackTop] = createFunction(cx, scope, closureData, idata.itsFromEvalCode); pc += 2; continue Loop; } case Token.REGEXP : { int i = getIndex(iCode, pc); Scriptable regexp; if (idata.itsFunctionType != 0) { regexp = ((InterpretedFunction)fnOrScript).itsRegExps[i]; } else { if (scriptRegExps == null) { scriptRegExps = wrapRegExps(cx, scope, idata); } regexp = scriptRegExps[i]; } stack[++stackTop] = regexp; pc += 2; continue Loop; } case Icode_LITERAL_NEW : { int i = getInt(iCode, pc); ++stackTop; stack[stackTop] = new Object[i]; sDbl[stackTop] = 0; pc += 4; continue Loop; } case Icode_LITERAL_SET : { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int i = (int)sDbl[stackTop]; ((Object[])stack[stackTop])[i] = value; sDbl[stackTop] = i + 1; continue Loop; } case Token.ARRAYLIT : case Token.OBJECTLIT : { int offset = getInt(iCode, pc); Object[] data = (Object[])stack[stackTop]; Object val; if (op == Token.ARRAYLIT) { int[] skipIndexces = null; if (offset >= 0) { skipIndexces = (int[])idata.literalIds[offset]; } val = ScriptRuntime.newArrayLiteral(data, skipIndexces, cx, scope); } else { Object[] ids = (Object[])idata.literalIds[offset]; val = ScriptRuntime.newObjectLiteral(ids, data, cx, scope); } stack[stackTop] = val; pc += 4; continue Loop; } case Icode_LINE : { cx.interpreterLineIndex = pc; if (debuggerFrame != null) { int line = getShort(iCode, pc); debuggerFrame.onLineChange(cx, line); } pc += 2; continue Loop; } default : { dumpICode(idata); throw new RuntimeException("Unknown icode : "+op+" @ pc : "+(pc-1)); } } // end of interpreter switch // This should be reachable only for jump implementation if (instructionThreshold != 0) { instructionCount += pc - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } pcPrevBranch = pcJump; } pc = pcJump; continue Loop; } // end of interpreter try catch (Throwable ex) { pcJump = getJavaCatchPC(iCode); 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; } pcPrevBranch = pcJump; } javaException = ex; exceptionPC = pc - 1; pc = pcJump; continue Loop; } } // end of interpreter loop cx.interpreterData = savedData; if (debuggerFrame != null) { if (javaException != null) { debuggerFrame.onExit(cx, true, javaException); } else { debuggerFrame.onExit(cx, false, result); } } if (idata.itsNeedsActivation || debuggerFrame != null) { ScriptRuntime.popActivation(cx); } if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } cx.instructionCount = instructionCount; } if (javaException != null) { if (javaException instanceof JavaScriptException) { throw (JavaScriptException)javaException; } else if (javaException instanceof RuntimeException) { throw (RuntimeException)javaException; } else { // Must be instance of Error or code bug throw (Error)javaException; } } return result; }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/e88881f3a6bd2c7e5dc034fb562e82c4759ceacb/Interpreter.java/clean/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 18701, 1033, 8526, 833, 16, 1645, 8526, 833, 40, 3083, 16, 18701, 509, 1501, 10544, 16, 509, 1501, 1380, 16, 18701, 16717, 2083, 2295, 1162, 3651, 16, 18701, 5294, 11599, 751, 612, 396, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 612, 396, 18, 7462, 3748, 13, 288, 5411, 309, 261, 1968, 40, 3083, 480, 446, 13, 288, 7734, 833, 273, 30169, 1076, 12, 1968, 16, 833, 40, 3083, 16, 1501, 10544, 16, 1501, 1380, 1769, 5411, 289, 5411, 6036, 2933, 888, 273, 612, 396, 18, 7462, 2933, 31, 5411, 1033, 5198, 3748, 273, 9494, 18, 2761, 11599, 4368, 3748, 31, 5411, 9494, 18, 2761, 11599, 4368, 3748, 273, 612, 396, 18, 7462, 3748, 31, 5411, 775, 288, 7734, 327, 888, 18, 1991, 1190, 3748, 12, 350, 396, 18, 7462, 3748, 16, 9494, 16, 2295, 1162, 3651, 16, 29159, 2146, 16, 15261, 16, 833, 1769, 5411, 289, 3095, 288, 7734, 9494, 18, 2761, 11599, 4368, 3748, 273, 5198, 3748, 31, 5411, 289, 3639, 289, 3639, 727, 1033, 2383, 48, 67, 23464, 47, 273, 5294, 11599, 18, 2290, 48, 67, 23464, 47, 31, 3639, 727, 22780, 3109, 273, 22243, 18, 1336, 31, 3639, 727, 509, 8350, 67, 2664, 4464, 273, 374, 31, 3639, 727, 509, 943, 5555, 273, 612, 396, 18, 1282, 2747, 5555, 31, 3639, 727, 509, 15234, 67, 2664, 4464, 273, 8350, 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, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 18701, 1033, 8526, 833, 16, 1645, 8526, 833, 40, 3083, 16, 18701, 509, 1501, 10544, 16, 509, 1501, 1380, 16, 18701, 16717, 2083, 2295, 1162, 3651, 16, 18701, 5294, 11599, 751, 612, 396, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 612, 396, 18, 7462, 3748, 13, 288, 5411, 309, 261, 1968, 40, 3083, 480, 446, 13, 288, 7734, 833, 273, 30169, 1076, 12, 1968, 16, 833, 40, 3083, 16, 1501, 10544, 16, 1501, 1380, 1769, 5411, 289, 5411, 6036, 2933, 888, 273, 612, 396, 18, 7462, 2933, 31, 5411, 1033, 5198, 3748, 273, 9494, 2 ]
return getStringProperty( ImageItem.ALT_TEXT_KEY_PROP );
return getStringProperty( IImageItemModel.ALT_TEXT_KEY_PROP );
public String getAltTextKey( ) { return getStringProperty( ImageItem.ALT_TEXT_KEY_PROP ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/d802c33711e0d111551ae23575895cd060f085b6/ImageHandle.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ImageHandle.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 336, 10655, 1528, 653, 12, 262, 202, 95, 202, 202, 2463, 4997, 1396, 12, 3421, 1180, 18, 18255, 67, 5151, 67, 3297, 67, 15811, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 336, 10655, 1528, 653, 12, 262, 202, 95, 202, 202, 2463, 4997, 1396, 12, 3421, 1180, 18, 18255, 67, 5151, 67, 3297, 67, 15811, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return "JComponent";
return "ComponentUI";
public String getUIClassID() { /// Return the UIDefaults key used to look up the name of the swing. return "JComponent"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 514, 336, 5370, 797, 734, 1435, 202, 95, 202, 202, 28111, 1850, 2000, 326, 10034, 73, 643, 87, 498, 1399, 358, 2324, 731, 326, 508, 434, 326, 9028, 18, 202, 202, 2463, 315, 46, 1841, 14432, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 514, 336, 5370, 797, 734, 1435, 202, 95, 202, 202, 28111, 1850, 2000, 326, 10034, 73, 643, 87, 498, 1399, 358, 2324, 731, 326, 508, 434, 326, 9028, 18, 202, 202, 2463, 315, 46, 1841, 14432, 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 ]
if (activeFile != null) openDir = activeFile.getParentFile(); }
if (activeFile != null) openDir = activeFile.getParentFile(); else openDir = _model.getProjectRoot(); }
public void openFolder(DirectoryChooser chooser) { String type = "'" + DrJavaRoot.LANGUAGE_LEVEL_EXTENSIONS[DrJava.getConfig().getSetting(LANGUAGE_LEVEL)] + "' "; chooser.setDialogTitle("Open All " + type + "Files In..."); File openDir = null; try { File activeFile = _model.getActiveDocument().getFile(); if (activeFile != null) openDir = activeFile.getParentFile(); } catch(FileMovedException e) { /* do nothing */ } int result = chooser.showDialog(openDir); if (result != DirectoryChooser.APPROVE_OPTION) return; // canceled or error File dir = chooser.getSelectedDirectory(); boolean rec = _openRecursiveCheckBox.isSelected(); DrJava.getConfig().setSetting(OptionConstants.OPEN_FOLDER_RECURSIVE, Boolean.valueOf(rec)); _openFolder(dir, rec); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/de9a557f090086de80e9723b0612333c5fd32e24/MainFrame.java/buggy/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1696, 3899, 12, 2853, 17324, 5011, 13164, 13, 288, 565, 514, 618, 273, 5862, 397, 11473, 5852, 2375, 18, 15547, 67, 10398, 67, 12796, 55, 63, 8956, 5852, 18, 588, 809, 7675, 588, 5568, 12, 15547, 67, 10398, 25887, 397, 2491, 13636, 565, 5011, 13164, 18, 542, 6353, 4247, 2932, 3678, 4826, 315, 397, 618, 397, 315, 2697, 657, 7070, 1769, 3639, 1387, 1696, 1621, 273, 446, 31, 565, 775, 288, 4202, 1387, 2695, 812, 273, 389, 2284, 18, 588, 3896, 2519, 7675, 29925, 5621, 1377, 309, 261, 3535, 812, 480, 446, 13, 1696, 1621, 273, 2695, 812, 18, 588, 3054, 812, 5621, 469, 1696, 1621, 273, 389, 2284, 18, 588, 4109, 2375, 5621, 289, 565, 1044, 12, 812, 25317, 503, 425, 13, 288, 1748, 741, 5083, 1195, 289, 3639, 509, 563, 273, 5011, 13164, 18, 4500, 6353, 12, 3190, 1621, 1769, 565, 309, 261, 2088, 480, 8930, 17324, 18, 2203, 3373, 3412, 67, 7425, 13, 225, 327, 31, 368, 17271, 578, 555, 3639, 1387, 1577, 273, 5011, 13164, 18, 588, 7416, 2853, 5621, 565, 1250, 1950, 273, 389, 3190, 10483, 19174, 18, 291, 7416, 5621, 565, 11473, 5852, 18, 588, 809, 7675, 542, 5568, 12, 1895, 2918, 18, 11437, 67, 17357, 67, 862, 7509, 24870, 16, 3411, 18, 1132, 951, 12, 3927, 10019, 565, 389, 3190, 3899, 12, 1214, 16, 1950, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1696, 3899, 12, 2853, 17324, 5011, 13164, 13, 288, 565, 514, 618, 273, 5862, 397, 11473, 5852, 2375, 18, 15547, 67, 10398, 67, 12796, 55, 63, 8956, 5852, 18, 588, 809, 7675, 588, 5568, 12, 15547, 67, 10398, 25887, 397, 2491, 13636, 565, 5011, 13164, 18, 542, 6353, 4247, 2932, 3678, 4826, 315, 397, 618, 397, 315, 2697, 657, 7070, 1769, 3639, 1387, 1696, 1621, 273, 446, 31, 565, 775, 288, 4202, 1387, 2695, 812, 273, 389, 2284, 18, 588, 3896, 2519, 7675, 29925, 5621, 1377, 309, 261, 3535, 812, 480, 446, 13, 1696, 1621, 273, 2695, 812, 18, 588, 3054, 812, 5621, 469, 1696, 1621, 273, 389, 2284, 18, 588, 4109, 2375, 5621, 289, 565, 2 ]
e.x = x + 1;
e.x = 1;
public Object clone() { UnconditionalDerefFalsePositive e = null; try { e = new UnconditionalDerefFalsePositive( (UnconditionalDerefFalsePositive) super.clone()); } catch (Exception ex) { ex.printStackTrace(); } e.x = x + 1; return e; }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/5ae74ccec509a14ff00b28e878cbb5864979edf3/UnconditionalDerefFalsePositive.java/buggy/findbugsTestCases/src/java/deref/UnconditionalDerefFalsePositive.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 3236, 1435, 288, 202, 202, 984, 22019, 40, 822, 74, 8381, 14900, 425, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 73, 273, 394, 1351, 22019, 40, 822, 74, 8381, 14900, 12, 6862, 202, 12, 984, 22019, 40, 822, 74, 8381, 14900, 13, 2240, 18, 14056, 10663, 202, 202, 97, 1044, 261, 503, 431, 13, 288, 1082, 202, 338, 18, 1188, 6332, 5621, 202, 202, 97, 202, 202, 73, 18, 92, 273, 619, 397, 404, 31, 202, 202, 2463, 425, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 1033, 3236, 1435, 288, 202, 202, 984, 22019, 40, 822, 74, 8381, 14900, 425, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 73, 273, 394, 1351, 22019, 40, 822, 74, 8381, 14900, 12, 6862, 202, 12, 984, 22019, 40, 822, 74, 8381, 14900, 13, 2240, 18, 14056, 10663, 202, 202, 97, 1044, 261, 503, 431, 13, 288, 1082, 202, 338, 18, 1188, 6332, 5621, 202, 202, 97, 202, 202, 73, 18, 92, 273, 619, 397, 404, 31, 202, 202, 2463, 425, 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 ]
if (key != null && tdsVersion != Driver.TDS50) {
if (key != null) {
synchronized public void rollback() throws SQLException { checkOpen(); checkLocal("rollback"); if (getAutoCommit()) { throw new SQLException( Messages.get("error.connection.autocommit", "rollback"), "25000"); } baseTds.submitSQL("IF @@TRANCOUNT > 0 ROLLBACK TRAN"); for (int i = 0; i < procInTran.size(); i++) { String key = (String) procInTran.get(i); if (key != null && tdsVersion != Driver.TDS50) { statementCache.remove(key); } } procInTran.clear(); clearSavepoints(); }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/6a0dfa3ffdf166ddb9edef1347afb2909589185a/ConnectionJDBC2.java/clean/src/main/net/sourceforge/jtds/jdbc/ConnectionJDBC2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3852, 1071, 918, 8006, 1435, 1216, 6483, 288, 3639, 866, 3678, 5621, 3639, 866, 2042, 2932, 20050, 8863, 3639, 309, 261, 588, 4965, 5580, 10756, 288, 5411, 604, 394, 6483, 12, 10792, 4838, 18, 588, 2932, 1636, 18, 4071, 18, 5854, 27159, 3113, 315, 20050, 6, 3631, 315, 2947, 3784, 8863, 3639, 289, 3639, 1026, 56, 2377, 18, 9297, 3997, 2932, 5501, 22175, 8989, 7240, 405, 374, 534, 30922, 8720, 14996, 8863, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 5418, 382, 17730, 18, 1467, 5621, 277, 27245, 288, 5411, 514, 498, 273, 261, 780, 13, 5418, 382, 17730, 18, 588, 12, 77, 1769, 5411, 309, 261, 856, 480, 446, 13, 288, 7734, 3021, 1649, 18, 4479, 12, 856, 1769, 5411, 289, 3639, 289, 3639, 5418, 382, 17730, 18, 8507, 5621, 3639, 2424, 4755, 4139, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3852, 1071, 918, 8006, 1435, 1216, 6483, 288, 3639, 866, 3678, 5621, 3639, 866, 2042, 2932, 20050, 8863, 3639, 309, 261, 588, 4965, 5580, 10756, 288, 5411, 604, 394, 6483, 12, 10792, 4838, 18, 588, 2932, 1636, 18, 4071, 18, 5854, 27159, 3113, 315, 20050, 6, 3631, 315, 2947, 3784, 8863, 3639, 289, 3639, 1026, 56, 2377, 18, 9297, 3997, 2932, 5501, 22175, 8989, 7240, 405, 374, 534, 30922, 8720, 14996, 8863, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 5418, 382, 17730, 18, 1467, 5621, 277, 27245, 288, 5411, 514, 498, 273, 261, 780, 13, 5418, 382, 17730, 18, 588, 12, 77, 1769, 5411, 309, 261, 856, 480, 446, 13, 288, 7734, 3021, 1649, 18, 2 ]
File configDir = new File( productDir, "configuration" );
File configDir = new File( productDir, "configuration" );
private void ensureProductFilesExist( IPath productArea ) { File productDir = productArea.toFile( ); File marker = new File( productDir, ".eclipseproduct" ); IPath eclipsePath = ExternalModelManager.getEclipseHome( ); if ( !marker.exists( ) ) copyFile( eclipsePath, ".eclipseproduct", marker ); if ( PDECore.getDefault( ).getModelManager( ).isOSGiRuntime( ) ) { File configDir = new File( productDir, "configuration" ); if ( !configDir.exists( ) ) configDir.mkdirs( ); File ini = new File( configDir, "config.ini" ); if ( !ini.exists( ) ) copyFile( eclipsePath.append( "configuration" ), "config.ini", ini ); } else { File ini = new File( productDir, "install.ini" ); if ( !ini.exists( ) ) copyFile( eclipsePath, "install.ini", ini ); } }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/a65b86554e6b88d27b0f13430395ece7fbe71ea0/ReportLaunchConfigurationDelegate.java/buggy/UI/org.eclipse.birt.report.debug.ui/src/org/eclipse/birt/report/debug/ui/launcher/ReportLaunchConfigurationDelegate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3387, 4133, 2697, 4786, 12, 467, 743, 3017, 5484, 262, 202, 95, 202, 202, 812, 3017, 1621, 273, 3017, 5484, 18, 869, 812, 12, 11272, 202, 202, 812, 5373, 273, 394, 1387, 12, 3017, 1621, 16, 3552, 20416, 5896, 6, 11272, 202, 202, 45, 743, 6557, 10472, 743, 273, 11352, 1488, 1318, 18, 588, 23057, 10472, 8684, 12, 11272, 202, 202, 430, 261, 401, 11145, 18, 1808, 12, 262, 262, 1082, 202, 3530, 812, 12, 6557, 10472, 743, 16, 3552, 20416, 5896, 3113, 5373, 11272, 202, 202, 430, 261, 453, 1639, 4670, 18, 588, 1868, 12, 262, 18, 588, 1488, 1318, 12, 262, 18, 291, 4618, 43, 77, 5576, 12, 262, 262, 202, 202, 95, 1082, 202, 812, 30395, 273, 394, 1387, 12, 3017, 1621, 16, 315, 7025, 6, 11272, 1082, 202, 430, 261, 401, 1425, 1621, 18, 1808, 12, 262, 262, 9506, 202, 1425, 1621, 18, 24816, 8291, 12, 11272, 1082, 202, 812, 6896, 273, 394, 1387, 12, 30395, 16, 315, 1425, 18, 8767, 6, 11272, 1082, 202, 430, 261, 401, 8767, 18, 1808, 12, 262, 262, 9506, 202, 3530, 812, 12, 6557, 10472, 743, 18, 6923, 12, 315, 7025, 6, 262, 16, 315, 1425, 18, 8767, 3113, 25083, 202, 8767, 11272, 202, 202, 97, 469, 202, 202, 95, 1082, 202, 812, 6896, 273, 394, 1387, 12, 3017, 1621, 16, 315, 5425, 18, 8767, 6, 11272, 1082, 202, 430, 261, 401, 8767, 18, 1808, 12, 262, 262, 9506, 202, 3530, 812, 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, 225, 202, 1152, 918, 3387, 4133, 2697, 4786, 12, 467, 743, 3017, 5484, 262, 202, 95, 202, 202, 812, 3017, 1621, 273, 3017, 5484, 18, 869, 812, 12, 11272, 202, 202, 812, 5373, 273, 394, 1387, 12, 3017, 1621, 16, 3552, 20416, 5896, 6, 11272, 202, 202, 45, 743, 6557, 10472, 743, 273, 11352, 1488, 1318, 18, 588, 23057, 10472, 8684, 12, 11272, 202, 202, 430, 261, 401, 11145, 18, 1808, 12, 262, 262, 1082, 202, 3530, 812, 12, 6557, 10472, 743, 16, 3552, 20416, 5896, 3113, 5373, 11272, 202, 202, 430, 261, 453, 1639, 4670, 18, 588, 1868, 12, 262, 18, 588, 1488, 1318, 12, 262, 18, 291, 4618, 43, 77, 5576, 12, 262, 262, 202, 202, 95, 2 ]
for ( final String profKey : getWeaponProfBonus() )
for (final String profKey : getWeaponProfBonus())
public String getPCCText() { final StringBuffer txt = new StringBuffer(200); txt.append(getDisplayName()); if (bonusInitialFeats != 0) { txt.append("\tBONUSFEATS:").append(bonusInitialFeats); } if (bonusSkillsPerLevel != 0) { txt.append("\tBONUSSKILLPOINTS:").append(bonusSkillsPerLevel); } if ((getChooseLanguageAutos() != null) && (getChooseLanguageAutos().length() > 0)) { txt.append("\tCHOOSE:LANGAUTO:").append(getChooseLanguageAutos()); } if (!CoreUtility.doublesEqual(getCost(), 1.0d)) { txt.append("\tCOST:").append(String.valueOf(getCost())); } if (ChallengeRating != 0) { txt.append("\tCR:").append(ChallengeRating); } if ((favoredClass != null) && (favoredClass.length() > 0)) { txt.append("\tFAVOREDCLASS:").append(favoredClass); } if (abilityCatStore != null && !abilityCatStore.isEmpty()) { txt.append("\tABILITY:"); txt.append(abilityCatStore.getParsableStringRepresentation()); } if (getListSize(featStrings) > 0) { final StringBuffer buffer = new StringBuffer(); for ( String feat : featStrings ) { if (buffer.length() != 0) { buffer.append('|'); } buffer.append(feat); } txt.append("\tFEAT:").append(buffer.toString()); } // TODO - Need a tag for this if (theAutoAbilityKeys != null) { final Set<AbilityCategory> categories = theAutoAbilityKeys.keySet(); for ( final AbilityCategory category : categories ) { if ( category == AbilityCategory.FEAT ) { continue; } final StringBuffer buffer = new StringBuffer(); for ( final String key : theAutoAbilityKeys.get(category) ) { if ( buffer.length() != 0 ) { buffer.append(Constants.PIPE); } buffer.append(key); } txt.append("\tABILITY:AUTO|CATEGORY=").append(category.getKeyName()).append("|").append(buffer.toString()); } } if (!Constants.s_NONE.equals(gender)) { txt.append("\tGENDERLOCK:").append(gender); } if (!Constants.s_NONE.equals(handed)) { txt.append("\tHANDEDLOCK:").append(handed); } if (getListSize(hitDiceStrings) > 0) { for (String s : hitDiceStrings) { txt.append("\tHD:").append(s); } } if (!hitDieLock.equals("")) { txt.append("\tHITDIE:").append(hitDieLock); } if ((getLanguageBonus() != null) && !getLanguageBonus().isEmpty()) { final StringBuffer buffer = new StringBuffer(); for ( Language lang : getLanguageBonus() ) { if (buffer.length() != 0) { buffer.append(','); } buffer.append(lang); } txt.append("\tLANGBONUS:").append(buffer.toString()); } final List<String> las = getLevelAbilities(); for ( final String la : las ) { txt.append("\t").append(la); } if (!"0".equals(levelAdjustment)) { txt.append("\tLEVELADJUSTMENT:").append(levelAdjustment); } if (levelsPerFeat != 3) { txt.append("\tLEVELSPERFEAT:").append(levelsPerFeat); } if (nonProficiencyPenalty <= 0) { txt.append("\tNONPP:").append(nonProficiencyPenalty); } if ((templateSize != null) && (templateSize.length() > 0)) { txt.append("\tSIZE:").append(templateSize); } if (!"alwaysValid".equals(getQualifyString())) { txt.append("\tQUALIFY:").append(getQualifyString()); } if (!Constants.s_NONE.equals(region)) { txt.append("\tREGION:"); if (region.equals(getDisplayName())) { txt.append("Yes"); } else { txt.append(region); } } if (!removable) { txt.append("\tREMOVABLE:No"); } if (!Constants.s_NONE.equals(subRace)) { txt.append("\tSUBRACE:"); if (subRace.equals(getDisplayName())) { txt.append("Yes"); } else { txt.append(subRace); } } if (!Constants.s_NONE.equals(subregion)) { txt.append("\tSUBREGION:"); if (subregion.equals(getDisplayName())) { txt.append("Yes"); } else { txt.append(subregion); } } if (getListSize(templates) > 0) { for (Iterator<String> e = templates.iterator(); e.hasNext();) { txt.append("\tTEMPLATE:").append(e.next()); } } switch (getVisibility()) { case DISPLAY_ONLY: txt.append("\tVISIBLE:DISPLAY"); break; case OUTPUT_ONLY: txt.append("\tVISIBLE:EXPORT"); break; case HIDDEN: txt.append("\tVISIBLE:NO"); break; default: txt.append("\tVISIBLE:YES"); break; } if (getWeaponProfBonus().size() > 0) { final StringBuffer buffer = new StringBuffer(); for ( final String profKey : getWeaponProfBonus() ) { if (buffer.length() != 0) { buffer.append('|'); } buffer.append(profKey); } txt.append("\tWEAPONBONUS:").append(buffer.toString()); } if (face != null) { if(CoreUtility.doublesEqual(face.getY(), 0.0)) { txt.append("\tFACE:").append( face.getX()); } else { txt.append("\tFACE:").append( face.getX() + "," + face.getY()); } } if (hands != null) { txt.append("\tHANDS:").append(hands); } if (legs != null) { txt.append("\tLEGS:").append(legs); } if (reach != null) { txt.append("\tREACH:").append(reach); } txt.append(super.getPCCText(false)); return txt.toString(); }
48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/376816acf8bf134fa77bd6ea5c602dbe9af9bfbd/PCTemplate.java/buggy/code/src/java/pcgen/core/PCTemplate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1689, 39, 1268, 408, 1435, 202, 95, 202, 202, 6385, 6674, 6463, 273, 394, 6674, 12, 6976, 1769, 202, 202, 5830, 18, 6923, 12, 588, 20524, 10663, 202, 202, 430, 261, 18688, 407, 4435, 2954, 2323, 480, 374, 13, 202, 202, 95, 1082, 202, 5830, 18, 6923, 31458, 88, 38, 673, 3378, 8090, 17813, 2773, 2934, 6923, 12, 18688, 407, 4435, 2954, 2323, 1769, 202, 202, 97, 202, 202, 430, 261, 18688, 407, 20057, 2173, 2355, 480, 374, 13, 202, 202, 95, 1082, 202, 5830, 18, 6923, 31458, 88, 38, 673, 57, 1260, 47, 15125, 8941, 55, 2773, 2934, 6923, 12, 18688, 407, 20057, 2173, 2355, 1769, 202, 202, 97, 202, 202, 430, 14015, 588, 24529, 3779, 21023, 1435, 480, 446, 13, 597, 261, 588, 24529, 3779, 21023, 7675, 2469, 1435, 405, 374, 3719, 202, 202, 95, 1082, 202, 5830, 18, 6923, 31458, 88, 22213, 51, 1090, 30, 10571, 18909, 2773, 2934, 6923, 12, 588, 24529, 3779, 21023, 10663, 202, 202, 97, 202, 202, 430, 16051, 4670, 6497, 18, 2896, 19314, 5812, 12, 588, 8018, 9334, 404, 18, 20, 72, 3719, 202, 202, 95, 1082, 202, 5830, 18, 6923, 31458, 88, 28343, 2773, 2934, 6923, 12, 780, 18, 1132, 951, 12, 588, 8018, 1435, 10019, 202, 202, 97, 202, 202, 430, 261, 18359, 20388, 480, 374, 13, 202, 202, 95, 1082, 202, 5830, 18, 6923, 31458, 88, 5093, 2773, 2934, 6923, 12, 18359, 20388, 1769, 202, 202, 97, 202, 202, 430, 14015, 19731, 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, 514, 1689, 39, 1268, 408, 1435, 202, 95, 202, 202, 6385, 6674, 6463, 273, 394, 6674, 12, 6976, 1769, 202, 202, 5830, 18, 6923, 12, 588, 20524, 10663, 202, 202, 430, 261, 18688, 407, 4435, 2954, 2323, 480, 374, 13, 202, 202, 95, 1082, 202, 5830, 18, 6923, 31458, 88, 38, 673, 3378, 8090, 17813, 2773, 2934, 6923, 12, 18688, 407, 4435, 2954, 2323, 1769, 202, 202, 97, 202, 202, 430, 261, 18688, 407, 20057, 2173, 2355, 480, 374, 13, 202, 202, 95, 1082, 202, 5830, 18, 6923, 31458, 88, 38, 673, 57, 1260, 47, 15125, 8941, 55, 2773, 2934, 6923, 12, 18688, 407, 20057, 2173, 2355, 1769, 202, 202, 97, 202, 202, 430, 14015, 588, 2 ]
if(0x000005000 == pat.m_whatToShow)
if (0x000005000 == pat.m_whatToShow)
public String toString() { StringBuffer buf = new StringBuffer(); for(StepPattern pat = this; pat != null; pat = pat.m_relativePathPattern) { if(pat != this) buf.append("/"); buf.append(Axis.names[pat.m_axis]); buf.append("::"); if(0x000005000 == pat.m_whatToShow) { buf.append("doc()"); } else if(DTMFilter.SHOW_BYFUNCTION == pat.m_whatToShow) { buf.append("function()"); } else if(DTMFilter.SHOW_ALL == pat.m_whatToShow) { buf.append("node()"); } else if(DTMFilter.SHOW_TEXT == pat.m_whatToShow) { buf.append("text()"); } else if(DTMFilter.SHOW_PROCESSING_INSTRUCTION == pat.m_whatToShow) { buf.append("processing-instruction("); if(null != pat.m_name) { buf.append(pat.m_name); } buf.append(")"); } else if(DTMFilter.SHOW_COMMENT == pat.m_whatToShow) { buf.append("comment()"); } else if(null != pat.m_name) { if(DTMFilter.SHOW_ATTRIBUTE == pat.m_whatToShow) { buf.append("@"); } if(null != pat.m_namespace) { buf.append("{"); buf.append(pat.m_namespace); buf.append("}"); } buf.append(pat.m_name); } else if(DTMFilter.SHOW_ATTRIBUTE == pat.m_whatToShow) { buf.append("@"); } else if((DTMFilter.SHOW_DOCUMENT | DTMFilter.SHOW_DOCUMENT_FRAGMENT) == pat.m_whatToShow) { buf.append("doc-root()"); } else { buf.append("?"+Integer.toHexString(pat.m_whatToShow)); } if(null != pat.m_predicates) { for (int i = 0; i < pat.m_predicates.length; i++) { buf.append("["); buf.append(pat.m_predicates[i]); buf.append("]"); } } } return buf.toString(); }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/855785e59741275681cce3f3817fd09f74a02d35/StepPattern.java/buggy/src/org/apache/xpath/patterns/StepPattern.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 1762, 1435, 225, 288, 565, 6674, 1681, 273, 394, 6674, 5621, 565, 364, 12, 4160, 3234, 9670, 273, 333, 31, 9670, 480, 446, 31, 9670, 273, 9670, 18, 81, 67, 11626, 743, 3234, 13, 565, 288, 1377, 309, 12, 16330, 480, 333, 13, 3639, 1681, 18, 6923, 2932, 4898, 1769, 1377, 1681, 18, 6923, 12, 6558, 18, 1973, 63, 16330, 18, 81, 67, 4890, 19226, 1377, 1681, 18, 6923, 2932, 30, 2773, 1769, 4202, 309, 261, 20, 92, 2787, 6260, 3784, 422, 9670, 18, 81, 67, 23770, 774, 5706, 13, 1377, 288, 3639, 1681, 18, 6923, 2932, 2434, 1435, 8863, 1377, 289, 1377, 469, 309, 12, 9081, 49, 1586, 18, 16677, 67, 6486, 7788, 422, 9670, 18, 81, 67, 23770, 774, 5706, 13, 1377, 288, 3639, 1681, 18, 6923, 2932, 915, 1435, 8863, 1377, 289, 1377, 469, 309, 12, 9081, 49, 1586, 18, 16677, 67, 4685, 422, 9670, 18, 81, 67, 23770, 774, 5706, 13, 1377, 288, 3639, 1681, 18, 6923, 2932, 2159, 1435, 8863, 1377, 289, 1377, 469, 309, 12, 9081, 49, 1586, 18, 16677, 67, 5151, 422, 9670, 18, 81, 67, 23770, 774, 5706, 13, 1377, 288, 3639, 1681, 18, 6923, 2932, 955, 1435, 8863, 1377, 289, 1377, 469, 309, 12, 9081, 49, 1586, 18, 16677, 67, 16560, 1360, 67, 706, 3902, 27035, 422, 9670, 18, 81, 67, 23770, 774, 5706, 13, 1377, 288, 3639, 1681, 18, 6923, 2932, 10632, 17, 19116, 2932, 1769, 3639, 309, 12, 2011, 480, 9670, 18, 81, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 1762, 1435, 225, 288, 565, 6674, 1681, 273, 394, 6674, 5621, 565, 364, 12, 4160, 3234, 9670, 273, 333, 31, 9670, 480, 446, 31, 9670, 273, 9670, 18, 81, 67, 11626, 743, 3234, 13, 565, 288, 1377, 309, 12, 16330, 480, 333, 13, 3639, 1681, 18, 6923, 2932, 4898, 1769, 1377, 1681, 18, 6923, 12, 6558, 18, 1973, 63, 16330, 18, 81, 67, 4890, 19226, 1377, 1681, 18, 6923, 2932, 30, 2773, 1769, 4202, 309, 261, 20, 92, 2787, 6260, 3784, 422, 9670, 18, 81, 67, 23770, 774, 5706, 13, 1377, 288, 3639, 1681, 18, 6923, 2932, 2434, 1435, 8863, 1377, 289, 1377, 469, 309, 12, 9081, 49, 1586, 18, 16677, 67, 6486, 7788, 422, 9670, 2 ]
if (currentLength + movement*sign < minLength) {
if (currentLength + movement * sign < minLength) {
private int restrictMovement(Component growingComponent, Component shrinkingComponent, int movement, int sign) { Dimension maxSize = growingComponent.getMaximumSize(); int maxLength = orientation.getLength(maxSize); int currentLength = orientation.getLength(growingComponent); if (currentLength + movement*sign > maxLength) { movement = (currentLength - maxLength) * sign; } Dimension minSize = shrinkingComponent.getMinimumSize(); int minLength = orientation.getLength(minSize); currentLength = orientation.getLength(shrinkingComponent); if (currentLength + movement*sign < minLength) { movement = (minLength - currentLength) * sign; } return movement; }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/Splitter.java/clean/src_new/org/argouml/swingext/Splitter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 13108, 49, 26140, 12, 1841, 13334, 310, 1841, 16, 5435, 17697, 310, 1841, 16, 509, 26017, 16, 509, 1573, 13, 288, 3639, 13037, 14777, 273, 13334, 310, 1841, 18, 588, 13528, 1225, 5621, 3639, 509, 13642, 273, 9820, 18, 588, 1782, 12, 1896, 1225, 1769, 3639, 509, 783, 1782, 273, 9820, 18, 588, 1782, 12, 75, 492, 310, 1841, 1769, 3639, 309, 261, 2972, 1782, 397, 26017, 14, 2977, 405, 13642, 13, 288, 5411, 26017, 273, 261, 2972, 1782, 300, 13642, 13, 380, 1573, 31, 3639, 289, 3639, 13037, 29343, 273, 17697, 310, 1841, 18, 588, 13042, 1225, 5621, 3639, 509, 21552, 273, 9820, 18, 588, 1782, 12, 1154, 1225, 1769, 3639, 783, 1782, 273, 9820, 18, 588, 1782, 12, 674, 12334, 310, 1841, 1769, 3639, 309, 261, 2972, 1782, 397, 26017, 380, 1573, 411, 21552, 13, 288, 5411, 26017, 273, 261, 1154, 1782, 300, 783, 1782, 13, 380, 1573, 31, 3639, 289, 3639, 327, 26017, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 13108, 49, 26140, 12, 1841, 13334, 310, 1841, 16, 5435, 17697, 310, 1841, 16, 509, 26017, 16, 509, 1573, 13, 288, 3639, 13037, 14777, 273, 13334, 310, 1841, 18, 588, 13528, 1225, 5621, 3639, 509, 13642, 273, 9820, 18, 588, 1782, 12, 1896, 1225, 1769, 3639, 509, 783, 1782, 273, 9820, 18, 588, 1782, 12, 75, 492, 310, 1841, 1769, 3639, 309, 261, 2972, 1782, 397, 26017, 14, 2977, 405, 13642, 13, 288, 5411, 26017, 273, 261, 2972, 1782, 300, 13642, 13, 380, 1573, 31, 3639, 289, 3639, 13037, 29343, 273, 17697, 310, 1841, 18, 588, 13042, 1225, 5621, 3639, 509, 21552, 273, 9820, 18, 588, 1782, 12, 1154, 1225, 1769, 3639, 783, 1782, 273, 9820, 2 ]
elm = svggc.createGeneralPath( new Arc2D.Double( are.getTopLeft( ).getX( ),
elm = svggc.createGeneralPath( new Arc2D.Double( are.getTopLeft( ) .getX( ),
public void enableInteraction( InteractionEvent ie ) throws ChartException { if ( _iun == null ) { logger.log( ILogger.WARNING, Messages.getString( "exception.missing.component.interaction", getULocale( ) ) ); //$NON-NLS-1$ return; } Trigger[] triggers = ie.getTriggers( ); if ( triggers == null ) { return; } /////////////////////////////////////////////// //Create the hotspot and add the hotspot on //the SVG hotspot layer /////////////////////////////////////////////// final PrimitiveRenderEvent pre = ie.getHotSpot( ); Element elm = null; if ( pre instanceof PolygonRenderEvent ) { final Location[] loa = ( (PolygonRenderEvent) pre ).getPoints( ); int[][] pa = getCoordinatesAsInts( loa ); elm = svggc.createPolygon( pa[0], pa[1], pa[0].length ); } else if ( pre instanceof OvalRenderEvent ) { final Bounds boEllipse = ( (OvalRenderEvent) pre ).getBounds( ); elm = svggc.createOval( boEllipse.getLeft( ), boEllipse.getTop( ), boEllipse.getWidth( ), boEllipse.getHeight( ) ); } else if ( pre instanceof RectangleRenderEvent ) { final Bounds boRect = ( (RectangleRenderEvent) pre ).getBounds( ); elm = svggc.createRect(boRect.getLeft(), boRect.getTop(), boRect.getWidth(), boRect.getHeight()); } else if ( pre instanceof AreaRenderEvent ) { AreaRenderEvent are = (AreaRenderEvent)pre; final GeneralPath gp = new GeneralPath( ); PrimitiveRenderEvent subPre; for ( int i = 0; i < are.getElementCount( ); i++ ) { subPre = are.getElement( i ); if ( subPre instanceof ArcRenderEvent ) { final ArcRenderEvent acre = (ArcRenderEvent) subPre; final Arc2D.Double a2d = new Arc2D.Double( acre.getTopLeft( ) .getX( ), acre.getTopLeft( ).getY( ), acre.getWidth( ), acre.getHeight( ), acre.getStartAngle( ), acre.getAngleExtent( ), toSwingArcType( acre.getStyle( ) ) ); gp.append( a2d, true ); } else if ( subPre instanceof LineRenderEvent ) { final LineRenderEvent lre = (LineRenderEvent) subPre; final Line2D.Double l2d = new Line2D.Double( lre.getStart( ) .getX( ), lre.getStart( ).getY( ), lre.getEnd( ).getX( ), lre.getEnd( ).getY( ) ); gp.append( l2d, true ); } } elm = svggc.createGeneralPath(gp); } else if ( pre instanceof ArcRenderEvent ) { final ArcRenderEvent are = (ArcRenderEvent) pre; if ( are.getInnerRadius( ) >= 0 && are.getOuterRadius( ) > 0 && are.getInnerRadius( ) < are.getOuterRadius( ) ) { Shape outerArc = new Arc2D.Double( are.getTopLeft( ).getX( ) + ( are.getWidth( ) - 2 * are.getOuterRadius( ) ) / 2, are.getTopLeft( ).getY( ) + ( are.getHeight( ) - 2 * are.getOuterRadius( ) ) / 2, 2 * are.getOuterRadius( ), 2 * are.getOuterRadius( ), are.getStartAngle( ), are.getAngleExtent( ), Arc2D.PIE ); Shape innerArc = new Arc2D.Double( are.getTopLeft( ).getX( ) + ( are.getWidth( ) - 2 * are.getInnerRadius( ) ) / 2, are.getTopLeft( ).getY( ) + ( are.getHeight( ) - 2 * are.getInnerRadius( ) ) / 2, 2 * are.getInnerRadius( ), 2 * are.getInnerRadius( ), are.getStartAngle( ), are.getAngleExtent( ), Arc2D.PIE ); Area fArea = new Area( outerArc ); fArea.exclusiveOr( new Area( innerArc ) );// Shape prevClip = _g2d.getClip( );// _g2d.setClip( fArea ); elm = svggc.createGeneralPath( fArea );// _g2d.setClip( prevClip ); } else { elm = svggc.createGeneralPath( new Arc2D.Double( are.getTopLeft( ).getX( ), are.getTopLeft( ).getY( ), are.getWidth( ), are.getHeight( ), are.getStartAngle( ), are.getAngleExtent( ), toSwingArcType( are.getStyle( ) ) ) ); } } ivRenderer.prepareInteractiveEvent( elm, ie, triggers ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/1cb055a94d0be6592f772701e9d73d66322c6253/SVGRendererImpl.java/buggy/chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGRendererImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4237, 17419, 12, 5294, 1128, 1133, 9228, 262, 1216, 14804, 503, 202, 95, 202, 202, 430, 261, 389, 77, 318, 422, 446, 262, 202, 202, 95, 1082, 202, 4901, 18, 1330, 12, 467, 3328, 18, 9511, 16, 6862, 202, 5058, 18, 588, 780, 12, 315, 4064, 18, 7337, 18, 4652, 18, 30303, 3113, 23037, 3916, 12, 262, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 6518, 8526, 11752, 273, 9228, 18, 588, 15114, 12, 11272, 202, 202, 430, 261, 11752, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 6461, 2105, 18235, 19, 202, 202, 759, 1684, 326, 12811, 19032, 471, 527, 326, 12811, 19032, 603, 3196, 202, 759, 5787, 11281, 12811, 19032, 3018, 202, 202, 6461, 2105, 18235, 19, 202, 202, 6385, 14488, 3420, 1133, 675, 273, 9228, 18, 588, 25270, 17292, 12, 11272, 202, 202, 1046, 12531, 273, 446, 31, 202, 202, 430, 261, 675, 1276, 12681, 3420, 1133, 262, 202, 202, 95, 1082, 202, 6385, 7050, 8526, 437, 69, 273, 261, 261, 11787, 3420, 1133, 13, 675, 262, 18, 588, 5636, 12, 11272, 1082, 202, 474, 63, 6362, 65, 6790, 273, 19850, 27934, 1463, 24712, 12, 437, 69, 11272, 1082, 202, 19597, 273, 9804, 13241, 18, 2640, 11787, 12, 6790, 63, 20, 6487, 6790, 63, 21, 6487, 6790, 63, 20, 8009, 2469, 11272, 202, 202, 97, 202, 202, 12107, 309, 261, 675, 1276, 531, 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, 4237, 17419, 12, 5294, 1128, 1133, 9228, 262, 1216, 14804, 503, 202, 95, 202, 202, 430, 261, 389, 77, 318, 422, 446, 262, 202, 202, 95, 1082, 202, 4901, 18, 1330, 12, 467, 3328, 18, 9511, 16, 6862, 202, 5058, 18, 588, 780, 12, 315, 4064, 18, 7337, 18, 4652, 18, 30303, 3113, 23037, 3916, 12, 262, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 6518, 8526, 11752, 273, 9228, 18, 588, 15114, 12, 11272, 202, 202, 430, 261, 11752, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 6461, 2105, 18235, 19, 202, 202, 759, 1684, 326, 12811, 2 ]
throw new TypeError(getRuntime(), "expected " + argument_types().inspect());
throw getRuntime().newTypeError("expected " + argument_types().inspect());
private IRubyObject invokeWithExceptionHandling(Object javaInvokee, Object[] arguments) { try { Object result = method.invoke(javaInvokee, arguments); return JavaObject.wrap(runtime, result); } catch (IllegalArgumentException iae) { throw new TypeError(getRuntime(), "expected " + argument_types().inspect()); } catch (IllegalAccessException iae) { throw new TypeError(getRuntime(), "illegal access on '" + method.getName() + "': " + iae.getMessage()); } catch (InvocationTargetException ite) { getRuntime().getJavaSupport().handleNativeException(ite.getTargetException()); // This point is only reached if there was an exception handler installed. return runtime.getNil(); } }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/870e1da9b41bfdbae259e1fc5f18fc8b76686998/JavaMethod.java/buggy/src/org/jruby/javasupport/JavaMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 15908, 10340, 921, 4356, 1190, 503, 14701, 12, 921, 2252, 11354, 1340, 16, 1033, 8526, 1775, 13, 288, 3639, 775, 288, 5411, 1033, 563, 273, 707, 18, 14407, 12, 6290, 11354, 1340, 16, 1775, 1769, 5411, 327, 5110, 921, 18, 4113, 12, 9448, 16, 563, 1769, 3639, 289, 1044, 261, 31237, 30905, 13, 288, 5411, 604, 18814, 7675, 2704, 19030, 2932, 3825, 315, 397, 1237, 67, 2352, 7675, 12009, 10663, 3639, 289, 1044, 261, 12195, 9773, 30905, 13, 288, 5411, 604, 394, 3580, 12, 588, 5576, 9334, 315, 31751, 2006, 603, 2119, 397, 707, 18, 17994, 1435, 397, 2491, 30, 315, 397, 30905, 18, 24906, 10663, 3639, 289, 1044, 261, 9267, 14950, 518, 73, 13, 288, 5411, 18814, 7675, 588, 5852, 6289, 7675, 4110, 9220, 503, 12, 1137, 18, 588, 14950, 10663, 5411, 368, 1220, 1634, 353, 1338, 8675, 309, 1915, 1703, 392, 1520, 1838, 5876, 18, 5411, 327, 3099, 18, 588, 12616, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 377, 3238, 15908, 10340, 921, 4356, 1190, 503, 14701, 12, 921, 2252, 11354, 1340, 16, 1033, 8526, 1775, 13, 288, 3639, 775, 288, 5411, 1033, 563, 273, 707, 18, 14407, 12, 6290, 11354, 1340, 16, 1775, 1769, 5411, 327, 5110, 921, 18, 4113, 12, 9448, 16, 563, 1769, 3639, 289, 1044, 261, 31237, 30905, 13, 288, 5411, 604, 18814, 7675, 2704, 19030, 2932, 3825, 315, 397, 1237, 67, 2352, 7675, 12009, 10663, 3639, 289, 1044, 261, 12195, 9773, 30905, 13, 288, 5411, 604, 394, 3580, 12, 588, 5576, 9334, 315, 31751, 2006, 603, 2119, 397, 707, 18, 17994, 1435, 397, 2491, 30, 315, 397, 30905, 18, 24906, 10663, 3639, 289, 1044, 261, 9267, 14950, 518, 73, 13, 288, 5411, 2 ]
e.printStackTrace( ); } catch(ClassNotFoundException e) { log.error("Can't find driver class " + driverClass);
log.error(e.getMessage()); log.error("Packet contents:"+ new String(pack.getBinaryContents()));
public void handlePacket(UsageMonitorPacket pack) { Connection con = null; Statement stmt; try { log.debug("Will write this packet to database table" + table + ": "); log.info(pack.toString()); Class.forName(driverClass); con = DriverManager.getConnection(dburl); stmt = con.createStatement(); stmt.executeUpdate("INSERT INTO "+ table + makeSQLInsert(pack) +";"); stmt.close(); } catch( SQLException e ) { e.printStackTrace( ); } catch(ClassNotFoundException e) { log.error("Can't find driver class " + driverClass); } finally { if( con != null ) { try { con.close( ); } catch( Exception e ) { } } } }
8719 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8719/0cf8afb463a23155b7b8c389685c15849174eeea/DefaultPacketHandler.java/buggy/usage/java/receiver/source/src/org/globus/usage/receiver/handlers/DefaultPacketHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1640, 6667, 12, 5357, 7187, 6667, 2298, 13, 288, 3639, 4050, 356, 273, 446, 31, 3639, 8056, 3480, 31, 3639, 775, 288, 13491, 613, 18, 4148, 2932, 13670, 1045, 333, 4414, 358, 2063, 1014, 6, 7734, 397, 1014, 397, 6398, 315, 1769, 5411, 613, 18, 1376, 12, 2920, 18, 10492, 10663, 5411, 1659, 18, 1884, 461, 12, 7407, 797, 1769, 5411, 356, 273, 9396, 1318, 18, 588, 1952, 12, 1966, 718, 1769, 5411, 3480, 273, 356, 18, 2640, 3406, 5621, 5411, 3480, 18, 8837, 1891, 2932, 11356, 12421, 13773, 1014, 397, 1171, 9079, 1221, 3997, 4600, 12, 2920, 13, 397, 6, 4868, 1769, 5411, 3480, 18, 4412, 5621, 3639, 289, 7734, 1044, 12, 6483, 425, 262, 288, 5411, 425, 18, 1188, 6332, 12, 225, 11272, 3639, 289, 3639, 1044, 12, 797, 3990, 425, 13, 288, 5411, 613, 18, 1636, 2932, 2568, 1404, 1104, 3419, 667, 315, 397, 3419, 797, 1769, 3639, 289, 3639, 3095, 288, 5411, 309, 12, 356, 480, 446, 262, 288, 7734, 775, 288, 356, 18, 4412, 12, 225, 11272, 289, 27573, 1044, 12, 1185, 425, 262, 288, 289, 5411, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1640, 6667, 12, 5357, 7187, 6667, 2298, 13, 288, 3639, 4050, 356, 273, 446, 31, 3639, 8056, 3480, 31, 3639, 775, 288, 13491, 613, 18, 4148, 2932, 13670, 1045, 333, 4414, 358, 2063, 1014, 6, 7734, 397, 1014, 397, 6398, 315, 1769, 5411, 613, 18, 1376, 12, 2920, 18, 10492, 10663, 5411, 1659, 18, 1884, 461, 12, 7407, 797, 1769, 5411, 356, 273, 9396, 1318, 18, 588, 1952, 12, 1966, 718, 1769, 5411, 3480, 273, 356, 18, 2640, 3406, 5621, 5411, 3480, 18, 8837, 1891, 2932, 11356, 12421, 13773, 1014, 397, 1171, 9079, 1221, 3997, 4600, 12, 2920, 13, 397, 6, 4868, 1769, 5411, 3480, 18, 4412, 5621, 3639, 289, 7734, 1044, 12, 6483, 425, 262, 2 ]
protected Object get (int key, boolean acceptDefaults)
public Object get (int key, int modifiers, boolean acceptDefaults)
protected Object get (int key, boolean acceptDefaults) { Object value = super.lookup(key, null); if (value != null) return value; if (acceptDefaults && defaultBinding != null) return defaultBinding; int plen = parents.length; for (int i = 0; i <plen; i++) { value = parents[i].get(key, acceptDefaults); if (value != null) return value; } return null; }
36952 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36952/250ab0b57383c119dd271f4d5cff804c36031c5b/EKeymap.java/buggy/gnu/jemacs/buffer/EKeymap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1033, 336, 261, 474, 498, 16, 509, 10429, 16, 1250, 2791, 7019, 13, 225, 288, 565, 1033, 460, 273, 2240, 18, 8664, 12, 856, 16, 446, 1769, 565, 309, 261, 1132, 480, 446, 13, 1377, 327, 460, 31, 565, 309, 261, 9436, 7019, 597, 805, 5250, 480, 446, 13, 1377, 327, 805, 5250, 31, 565, 509, 886, 275, 273, 6298, 18, 2469, 31, 565, 364, 261, 474, 277, 273, 374, 31, 225, 277, 411, 28907, 31, 225, 277, 27245, 1377, 288, 202, 1132, 273, 6298, 63, 77, 8009, 588, 12, 856, 16, 2791, 7019, 1769, 202, 430, 261, 1132, 480, 446, 13, 202, 225, 327, 460, 31, 1377, 289, 565, 327, 446, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1033, 336, 261, 474, 498, 16, 509, 10429, 16, 1250, 2791, 7019, 13, 225, 288, 565, 1033, 460, 273, 2240, 18, 8664, 12, 856, 16, 446, 1769, 565, 309, 261, 1132, 480, 446, 13, 1377, 327, 460, 31, 565, 309, 261, 9436, 7019, 597, 805, 5250, 480, 446, 13, 1377, 327, 805, 5250, 31, 565, 509, 886, 275, 273, 6298, 18, 2469, 31, 565, 364, 261, 474, 277, 273, 374, 31, 225, 277, 411, 28907, 31, 225, 277, 27245, 1377, 288, 202, 1132, 273, 6298, 63, 77, 8009, 588, 12, 856, 16, 2791, 7019, 1769, 202, 430, 261, 1132, 480, 446, 13, 202, 225, 327, 460, 31, 1377, 289, 565, 327, 446, 31, 225, 289, 2, -100, -100 ]
messageBuffer.append( "\n\n-OR-\n\n<configuration>\n ...\n <" + alias + ">VALUE</" + alias + ">\n</configuration>\n" );
messageBuffer.append( "\n\n-OR-\n\n<configuration>\n ...\n <" + alias + ">VALUE</" + alias + ">\n</configuration>\n" );
private void decomposeParameterIntoUserInstructions( MojoDescriptor mojo, Parameter param, StringBuffer messageBuffer ) { String expression = param.getExpression(); if ( param.isEditable() ) { messageBuffer.append( "inside the definition for plugin: \'" + mojo.getPluginDescriptor().getArtifactId() + "\'specify the following:\n\n<configuration>\n ...\n <" + param.getName() + ">VALUE</" + param.getName() + ">\n</configuration>" ); String alias = param.getAlias(); if ( StringUtils.isNotEmpty( alias ) ) { messageBuffer.append( "\n\n-OR-\n\n<configuration>\n ...\n <" + alias + ">VALUE</" + alias + ">\n</configuration>\n" ); } } if ( StringUtils.isEmpty( expression ) ) { messageBuffer.append( "." ); } else { StringBuffer expressionMessageBuffer = new StringBuffer(); if ( param.isEditable() ) { expressionMessageBuffer.append( "\n\n-OR-\n\n" ); } Matcher exprMatcher = Pattern.compile( "\\$\\{(.+)\\}" ).matcher( expression ); boolean unmodifiableElementsFound = false; boolean activeElementsFound = false; int elementCount = 0; while ( exprMatcher.find() ) { elementCount++; activeElementsFound = true; String subExpression = exprMatcher.group( 1 ); StringTokenizer expressionParts = new StringTokenizer( subExpression, "." ); String firstPart = expressionParts.nextToken(); if ( expressionParts.hasMoreTokens() && ( "project".equals( firstPart ) || "settings".equals( firstPart ) ) ) { addParameterConfigDocumentation( firstPart, exprMatcher.group( 0 ), subExpression, expressionMessageBuffer ); } else if ( UNMODIFIABLE_EXPRESSIONS.contains( subExpression ) ) { unmodifiableElementsFound = true; } else { expressionMessageBuffer.append( "on the command line, specify: \'-D" ).append( subExpression ).append("=VALUE\'" ); } } if ( activeElementsFound ) { messageBuffer.append( expressionMessageBuffer ); } else { messageBuffer.append( " (found static expression: \'" + expression + "\' which may act as a default value).\n" ); } if ( unmodifiableElementsFound ) { if ( elementCount > 1 ) { messageBuffer.append( " " ); } messageBuffer.append( "NOTE: One or more purely derived expression elements were detected in \'" + expression + "\'.\n If you continue to get this error after any other expression elements are specified correctly," + "\n please report this issue to the Maven development team.\n" ); } } }
47160 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47160/63b3f71f6d4ab4ca0093d626eb5551c5c567120a/PluginConfigurationDiagnoser.java/buggy/maven-core/src/main/java/org/apache/maven/usability/PluginConfigurationDiagnoser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 24476, 1662, 5952, 1299, 26712, 12, 15931, 3187, 312, 10007, 16, 5498, 579, 16, 4766, 7682, 6674, 883, 1892, 262, 565, 288, 3639, 514, 2652, 273, 579, 18, 588, 2300, 5621, 3639, 309, 261, 579, 18, 291, 15470, 1435, 262, 3639, 288, 5411, 883, 1892, 18, 6923, 12, 315, 28091, 326, 2379, 364, 1909, 30, 521, 4970, 397, 312, 10007, 18, 588, 3773, 3187, 7675, 588, 7581, 548, 1435, 397, 1548, 11, 2793, 1164, 326, 3751, 5581, 82, 64, 82, 32, 7025, 5333, 82, 225, 1372, 64, 82, 225, 411, 6, 397, 579, 18, 17994, 1435, 397, 14402, 4051, 1757, 6, 397, 579, 18, 17994, 1435, 397, 315, 5333, 82, 1757, 7025, 2984, 11272, 5411, 514, 2308, 273, 579, 18, 588, 2936, 5621, 5411, 309, 261, 5778, 18, 291, 18431, 12, 2308, 262, 262, 5411, 288, 7734, 883, 1892, 18, 6923, 12, 1548, 82, 64, 82, 17, 916, 6943, 82, 64, 82, 32, 7025, 5333, 82, 225, 1372, 64, 82, 225, 411, 6, 397, 2308, 397, 14402, 4051, 1757, 6, 397, 2308, 397, 315, 5333, 82, 1757, 7025, 5333, 82, 6, 11272, 5411, 289, 3639, 289, 3639, 309, 261, 5778, 18, 291, 1921, 12, 2652, 262, 262, 3639, 288, 5411, 883, 1892, 18, 6923, 12, 4585, 11272, 3639, 289, 3639, 469, 3639, 288, 5411, 6674, 2652, 1079, 1892, 273, 394, 6674, 5621, 5411, 309, 261, 579, 18, 291, 15470, 1435, 262, 5411, 288, 7734, 2652, 1079, 1892, 18, 6923, 12, 1548, 82, 64, 82, 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, 24476, 1662, 5952, 1299, 26712, 12, 15931, 3187, 312, 10007, 16, 5498, 579, 16, 4766, 7682, 6674, 883, 1892, 262, 565, 288, 3639, 514, 2652, 273, 579, 18, 588, 2300, 5621, 3639, 309, 261, 579, 18, 291, 15470, 1435, 262, 3639, 288, 5411, 883, 1892, 18, 6923, 12, 315, 28091, 326, 2379, 364, 1909, 30, 521, 4970, 397, 312, 10007, 18, 588, 3773, 3187, 7675, 588, 7581, 548, 1435, 397, 1548, 11, 2793, 1164, 326, 3751, 5581, 82, 64, 82, 32, 7025, 5333, 82, 225, 1372, 64, 82, 225, 411, 6, 397, 579, 18, 17994, 1435, 397, 14402, 4051, 1757, 6, 397, 579, 18, 17994, 1435, 397, 315, 5333, 82, 1757, 7025, 2984, 11272, 5411, 514, 2 ]
Entry entry;
Entry<K, V> entry;
public synchronized Object clone() { try { Hashtable hashtable = (Hashtable) super.clone(); hashtable.elementData = elementData.clone(); Entry entry; for (int i = elementData.length; --i >= 0;) if ((entry = elementData[i]) != null) hashtable.elementData[i] = (Entry) entry.clone(); return hashtable; } catch (CloneNotSupportedException e) { return null; } }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/41f9233159b665323ba7090a30e06a881c4e4a20/Hashtable.java/buggy/modules/luni/src/main/java/java/util/Hashtable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 1033, 3236, 1435, 288, 202, 202, 698, 288, 1082, 202, 5582, 14544, 711, 14544, 273, 261, 5582, 14544, 13, 2240, 18, 14056, 5621, 1082, 202, 5332, 14544, 18, 2956, 751, 273, 930, 751, 18, 14056, 5621, 1082, 202, 1622, 1241, 31, 1082, 202, 1884, 261, 474, 277, 273, 930, 751, 18, 2469, 31, 1493, 77, 1545, 374, 30943, 9506, 202, 430, 14015, 4099, 273, 930, 751, 63, 77, 5717, 480, 446, 13, 6862, 202, 5332, 14544, 18, 2956, 751, 63, 77, 65, 273, 261, 1622, 13, 1241, 18, 14056, 5621, 1082, 202, 2463, 711, 14544, 31, 202, 202, 97, 1044, 261, 10930, 25482, 425, 13, 288, 1082, 202, 2463, 446, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 1033, 3236, 1435, 288, 202, 202, 698, 288, 1082, 202, 5582, 14544, 711, 14544, 273, 261, 5582, 14544, 13, 2240, 18, 14056, 5621, 1082, 202, 5332, 14544, 18, 2956, 751, 273, 930, 751, 18, 14056, 5621, 1082, 202, 1622, 1241, 31, 1082, 202, 1884, 261, 474, 277, 273, 930, 751, 18, 2469, 31, 1493, 77, 1545, 374, 30943, 9506, 202, 430, 14015, 4099, 273, 930, 751, 63, 77, 5717, 480, 446, 13, 6862, 202, 5332, 14544, 18, 2956, 751, 63, 77, 65, 273, 261, 1622, 13, 1241, 18, 14056, 5621, 1082, 202, 2463, 711, 14544, 31, 202, 202, 97, 1044, 261, 10930, 25482, 425, 13, 288, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 2 ]
CmsResource.getParentFolder(resourcename) ).get(0);
CmsResource.getParentFolder(resourcename)).get(0);
public CmsResource createResource( CmsObject cms, CmsSecurityManager securityManager, String resourcename, byte[] content, List properties) throws CmsException { if ((m_schema != null) && ((content == null) || (content.length == 0))) { // unmarshal the content definition for the new resource CmsXmlContentDefinition contentDefinition = CmsXmlContentDefinition.unmarshal(cms, m_schema); // read the default locale for the new resource Locale locale = (Locale)OpenCms.getLocaleManager().getDefaultLocales( cms, CmsResource.getParentFolder(resourcename) ).get(0); // create the new content from the content defintion CmsXmlContent newContent = CmsXmlContentFactory.createDocument( cms, locale, OpenCms.getSystemInfo().getDefaultEncoding(), contentDefinition); // get the bytes from the created content content = newContent.marshal(); } // now create the resource using the super class return super.createResource( cms, securityManager, resourcename, content, properties); }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/c7083871cfaaede3aa187a175b34be606d8431f2/CmsResourceTypeXmlContent.java/clean/src/org/opencms/file/types/CmsResourceTypeXmlContent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 7630, 24317, 12, 3639, 14371, 6166, 16, 3639, 2149, 4368, 1318, 4373, 1318, 16, 3639, 514, 31174, 1069, 16, 3639, 1160, 8526, 913, 16, 3639, 987, 1790, 13, 1216, 11228, 288, 3639, 309, 14015, 81, 67, 4821, 480, 446, 13, 597, 14015, 1745, 422, 446, 13, 747, 261, 1745, 18, 2469, 422, 374, 20349, 288, 5411, 368, 11401, 326, 913, 2379, 364, 326, 394, 1058, 5411, 25169, 1852, 913, 1852, 273, 25169, 1852, 18, 318, 3108, 12, 6851, 16, 312, 67, 4821, 1769, 5411, 368, 855, 326, 805, 2573, 364, 326, 394, 1058, 5411, 6458, 2573, 273, 261, 3916, 13, 3678, 4747, 18, 588, 3916, 1318, 7675, 588, 1868, 13310, 12, 7734, 6166, 16, 7734, 7630, 18, 588, 3054, 3899, 12, 455, 20989, 1069, 13, 5411, 262, 18, 588, 12, 20, 1769, 5411, 368, 752, 326, 394, 913, 628, 326, 913, 1652, 474, 285, 5411, 25169, 24358, 273, 25169, 1733, 18, 2640, 2519, 12, 7734, 6166, 16, 1171, 2573, 16, 1171, 10319, 18, 588, 3163, 966, 7675, 588, 1868, 4705, 9334, 1171, 913, 1852, 1769, 5411, 368, 336, 326, 1731, 628, 326, 2522, 913, 5411, 913, 273, 24358, 18, 3108, 5621, 3639, 289, 7734, 368, 2037, 752, 326, 1058, 1450, 326, 2240, 667, 3639, 327, 2240, 18, 2640, 1420, 12, 5411, 6166, 16, 2398, 4373, 1318, 16, 2398, 31174, 1069, 16, 2398, 913, 16, 2398, 1790, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 7630, 24317, 12, 3639, 14371, 6166, 16, 3639, 2149, 4368, 1318, 4373, 1318, 16, 3639, 514, 31174, 1069, 16, 3639, 1160, 8526, 913, 16, 3639, 987, 1790, 13, 1216, 11228, 288, 3639, 309, 14015, 81, 67, 4821, 480, 446, 13, 597, 14015, 1745, 422, 446, 13, 747, 261, 1745, 18, 2469, 422, 374, 20349, 288, 5411, 368, 11401, 326, 913, 2379, 364, 326, 394, 1058, 5411, 25169, 1852, 913, 1852, 273, 25169, 1852, 18, 318, 3108, 12, 6851, 16, 312, 67, 4821, 1769, 5411, 368, 855, 326, 805, 2573, 364, 326, 394, 1058, 5411, 6458, 2573, 273, 261, 3916, 13, 3678, 4747, 18, 588, 3916, 1318, 7675, 588, 1868, 13310, 12, 7734, 6166, 16, 7734, 7630, 18, 2 ]