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 |
|---|---|---|---|---|---|---|
("msg.instanceof.bad.prototype", names[0], instance);
|
("msg.instanceof.bad.prototype", functionName, instance);
|
public boolean hasInstance(Scriptable instance) { Object protoProp = ScriptableObject.getProperty(this, "prototype"); if (protoProp instanceof Scriptable && protoProp != Undefined.instance) { return ScriptRuntime.jsDelegatesTo(instance, (Scriptable)protoProp); } throw NativeGlobal.typeError1 ("msg.instanceof.bad.prototype", names[0], instance); }
|
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/e53045755f5170abf79488c129f3ab6756b813e1/NativeFunction.java/clean/src/org/mozilla/javascript/NativeFunction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
711,
1442,
12,
3651,
429,
791,
13,
288,
3639,
1033,
3760,
4658,
273,
22780,
921,
18,
588,
1396,
12,
2211,
16,
315,
18541,
8863,
3639,
309,
261,
9393,
4658,
1276,
22780,
597,
3760,
4658,
480,
22243,
18,
1336,
13,
288,
5411,
327,
7739,
5576,
18,
2924,
15608,
815,
774,
12,
1336,
16,
261,
3651,
429,
13,
9393,
4658,
1769,
3639,
289,
3639,
604,
16717,
5160,
18,
723,
668,
21,
5411,
7566,
3576,
18,
1336,
792,
18,
8759,
18,
18541,
3113,
14117,
16,
791,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
711,
1442,
12,
3651,
429,
791,
13,
288,
3639,
1033,
3760,
4658,
273,
22780,
921,
18,
588,
1396,
12,
2211,
16,
315,
18541,
8863,
3639,
309,
261,
9393,
4658,
1276,
22780,
597,
3760,
4658,
480,
22243,
18,
1336,
13,
288,
5411,
327,
7739,
5576,
18,
2924,
15608,
815,
774,
12,
1336,
16,
261,
3651,
429,
13,
9393,
4658,
1769,
3639,
289,
3639,
604,
16717,
5160,
18,
723,
668,
21,
5411,
7566,
3576,
18,
1336,
792,
18,
8759,
18,
18541,
3113,
14117,
16,
791,
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
] |
}
|
}
|
public void writeTaskLog(CmsRequestContext context, int taskid, String comment) throws CmsException { CmsDbContext dbc = m_dbContextFactory.getDbContext(context); try { m_driverManager.writeTaskLog(dbc, taskid, comment); } catch (Exception e) { dbc.report(null, null, e); } finally { dbc.clear(); } }
|
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/a7ffa3c192d7068f584b0a3a844b88bdb2d3145a/CmsSecurityManager.java/buggy/src/org/opencms/db/CmsSecurityManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1045,
2174,
1343,
12,
4747,
21426,
819,
16,
509,
29035,
16,
514,
2879,
13,
1216,
11228,
288,
3639,
30670,
9881,
273,
312,
67,
1966,
29871,
18,
588,
4331,
1042,
12,
2472,
1769,
6647,
775,
288,
5411,
312,
67,
7407,
1318,
18,
2626,
2174,
1343,
12,
9137,
16,
29035,
16,
2879,
1769,
3639,
289,
1044,
261,
503,
425,
13,
288,
5411,
9881,
18,
6006,
12,
2011,
16,
446,
16,
425,
1769,
3639,
289,
3095,
288,
5411,
9881,
18,
8507,
5621,
3639,
289,
7734,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1045,
2174,
1343,
12,
4747,
21426,
819,
16,
509,
29035,
16,
514,
2879,
13,
1216,
11228,
288,
3639,
30670,
9881,
273,
312,
67,
1966,
29871,
18,
588,
4331,
1042,
12,
2472,
1769,
6647,
775,
288,
5411,
312,
67,
7407,
1318,
18,
2626,
2174,
1343,
12,
9137,
16,
29035,
16,
2879,
1769,
3639,
289,
1044,
261,
503,
425,
13,
288,
5411,
9881,
18,
6006,
12,
2011,
16,
446,
16,
425,
1769,
3639,
289,
3095,
288,
5411,
9881,
18,
8507,
5621,
3639,
289,
7734,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
m_ClassIndex = train.classIndex();
|
public void buildClassifier(Instances train) throws Exception { if (train.classAttribute().type() != Attribute.NOMINAL) { throw new Exception("Class attribute must be nominal."); } if (train.classAttribute().numValues() != 2) { throw new Exception("Only 2-class problems allowed."); } if (train.checkForStringAttributes()) { throw new Exception("Can't handle string attributes!"); } m_ClassIndex = train.classIndex(); train = new Instances(train); train.deleteWithMissingClass(); if (train.numInstances() == 0) { throw new Exception("No train instances without missing class value!"); } m_ReplaceMissingValues = new ReplaceMissingValuesFilter(); m_ReplaceMissingValues.inputFormat(train); train = Filter.useFilter(train, m_ReplaceMissingValues); m_NominalToBinary = new NominalToBinaryFilter(); m_NominalToBinary.inputFormat(train); train = Filter.useFilter(train, m_NominalToBinary); int nR = m_NumPredictors = train.numAttributes() - 1; int nC = train.numInstances(); double [][] X = new double [nC][nR + 1]; // Data values double [] Y = new double [nC]; // Class values double [] xMean= new double [nR + 1]; // Attribute means double [] xSD = new double [nR + 1]; // Attribute stddev's double sY0 = 0; // Number of class 0 double sY1 = 0; // Number of class 1 if (m_Debug) { System.out.println("Extracting data..."); } for (int i = 0; i < X.length; i++) { Instance current = train.instance(i); X[i][0] = 1; int j = 1; for (int k = 0; k <= nR; k++) { if (k != m_ClassIndex) { double x = current.value(k); if ((i == j) && (i <= nR)) { x += 1e-8; } X[i][j] = x; xMean[j] = xMean[j] + x; xSD[j] = xSD[j] + x*x; j++; } } Y[i] = current.classValue(); if (Y[i] != 0) { Y[i] = 1; } if (Y[i] == 0) { sY0 = sY0 + 1; } else { sY1 = sY1 + 1; } } xMean[0] = 0; xSD[0] = 1; for (int j = 1; j <= nR; j++) { xMean[j] = xMean[j] / nC; xSD[j] = xSD[j] / nC; xSD[j] = Math.sqrt(Math.abs( xSD[j] - xMean[j] * xMean[j])); } if (m_Debug) { // Output stats about input data System.out.println("Descriptives..."); System.out.println("" + sY0 + " cases have Y=0; " + sY1 + " cases have Y=1."); System.out.println("\n Variable Avg SD "); for (int j = 1; j <= nR; j++) System.out.println(Utils.doubleToString(j,8,4) + Utils.doubleToString(xMean[j], 10, 4) + Utils.doubleToString(xSD[j], 10, 4) ); } // Normalise input data and remove ignored attributes for (int i = 0; i < nC; i++) { for (int j = 0; j <= nR; j++) { if (xSD[j] != 0) { X[i][j] = (X[i][j] - xMean[j]) / xSD[j]; } } } if (m_Debug) { System.out.println("\nIteration History..." ); } m_Par = new double [nR + 1]; // Coefficients double LLp = 2e+10; // Log-likelihood on previous iteration m_LL = 1e+10; // Log-likelihood of current iteration m_LLn = 0; // Log-likelihood of null hypothesis double [] deltas = new double [nR + 1]; Matrix jacobian = new Matrix(nR + 1, nR + 1); // Set up parameters for null model m_Par[0] = Math.log((sY1+1) / (sY0+1)); for (int j = 1; j < m_Par.length; j++) { m_Par[j] = 0; } // While the log-likelihood is changing (i.e. no maxima found) while(Math.abs(LLp-m_LL) > 0.00001) { LLp = m_LL; m_LL = calculateLogLikelihood(X, Y, jacobian, deltas); if (LLp == 1e+10) { m_LLn = m_LL; } if (m_Debug) { System.out.println("-2 Log Likelihood = " + Utils.doubleToString(m_LL, 10, 5) + ((m_LLn == m_LL) ? " (Null Model)" : "")); } jacobian.lubksb(jacobian.ludcmp(), deltas); // Adjust the coefficients for (int j = 0; j < deltas.length; j++) { m_Par[j] += deltas[j]; } } if (m_Debug) { System.out.println(" (Converged)"); } // Convert coefficients back to non-normalized attribute units for(int j = 1; j <= nR; j++) { if (xSD[j] != 0) { m_Par[j] = m_Par[j] / xSD[j]; m_Par[0] = m_Par[0] - m_Par[j] * xMean[j]; } } }
|
6866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6866/8542ff1ed2f4efca6f2bcefb7fdef18ad20d35a5/Logistic.java/clean/classifiers/Logistic.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1361,
13860,
12,
5361,
4691,
13,
1216,
1185,
288,
565,
309,
261,
9754,
18,
1106,
1499,
7675,
723,
1435,
480,
3601,
18,
50,
1872,
706,
1013,
13,
288,
1377,
604,
394,
1185,
2932,
797,
1566,
1297,
506,
12457,
1490,
1199,
1769,
565,
289,
565,
309,
261,
9754,
18,
1106,
1499,
7675,
2107,
1972,
1435,
480,
576,
13,
288,
1377,
604,
394,
1185,
2932,
3386,
576,
17,
1106,
9688,
2935,
1199,
1769,
565,
289,
565,
309,
261,
9754,
18,
1893,
1290,
780,
2498,
10756,
288,
1377,
604,
394,
1185,
2932,
2568,
1404,
1640,
533,
1677,
4442,
1769,
565,
289,
4202,
4691,
273,
394,
18357,
12,
9754,
1769,
565,
4691,
18,
3733,
1190,
4841,
797,
5621,
565,
309,
261,
9754,
18,
2107,
5361,
1435,
422,
374,
13,
288,
1377,
604,
394,
1185,
2932,
2279,
4691,
3884,
2887,
3315,
667,
460,
4442,
1769,
565,
289,
565,
312,
67,
5729,
4841,
1972,
273,
394,
6910,
4841,
1972,
1586,
5621,
565,
312,
67,
5729,
4841,
1972,
18,
2630,
1630,
12,
9754,
1769,
565,
4691,
273,
4008,
18,
1202,
1586,
12,
9754,
16,
312,
67,
5729,
4841,
1972,
1769,
565,
312,
67,
26685,
1490,
774,
5905,
273,
394,
423,
362,
1490,
774,
5905,
1586,
5621,
565,
312,
67,
26685,
1490,
774,
5905,
18,
2630,
1630,
12,
9754,
1769,
565,
4691,
273,
4008,
18,
1202,
1586,
12,
9754,
16,
312,
67,
26685,
1490,
774,
5905,
1769,
565,
509,
290,
54,
273,
312,
67,
2578,
21362,
1383,
273,
4691,
18,
2107,
2498,
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,
1361,
13860,
12,
5361,
4691,
13,
1216,
1185,
288,
565,
309,
261,
9754,
18,
1106,
1499,
7675,
723,
1435,
480,
3601,
18,
50,
1872,
706,
1013,
13,
288,
1377,
604,
394,
1185,
2932,
797,
1566,
1297,
506,
12457,
1490,
1199,
1769,
565,
289,
565,
309,
261,
9754,
18,
1106,
1499,
7675,
2107,
1972,
1435,
480,
576,
13,
288,
1377,
604,
394,
1185,
2932,
3386,
576,
17,
1106,
9688,
2935,
1199,
1769,
565,
289,
565,
309,
261,
9754,
18,
1893,
1290,
780,
2498,
10756,
288,
1377,
604,
394,
1185,
2932,
2568,
1404,
1640,
533,
1677,
4442,
1769,
565,
289,
4202,
4691,
273,
394,
18357,
12,
9754,
1769,
565,
4691,
18,
3733,
1190,
4841,
797,
5621,
565,
309,
2
] |
|
ZimbraSoapContext lc = getZimbraContext(context);
|
ZimbraSoapContext lc = getZimbraSoapContext(context);
|
public Element handle(Element request, Map context) throws ServiceException { ZimbraSoapContext lc = getZimbraContext(context); // FIXME: need to check that mailbox exists Mailbox mbox = getRequestedMailbox(lc); List tags = mbox.getTagList(lc.getOperationContext()); Element response = lc.createElement(MailService.GET_TAG_RESPONSE); if (tags != null) { for (Iterator it = tags.iterator(); it.hasNext(); ) { Tag tag = (Tag) it.next(); if (tag == null || tag instanceof Flag) continue; ToXML.encodeTag(response, lc, tag); } } return response; }
|
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/73c7a43f58826ebd459515a85e8460518f31e6cc/GetTag.java/clean/ZimbraServer/src/java/com/zimbra/cs/service/mail/GetTag.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3010,
1640,
12,
1046,
590,
16,
1635,
819,
13,
1216,
16489,
288,
202,
202,
62,
381,
15397,
20601,
1042,
9109,
273,
23448,
381,
15397,
1042,
12,
2472,
1769,
202,
202,
759,
9852,
30,
1608,
358,
866,
716,
14187,
1704,
3639,
11542,
2147,
312,
2147,
273,
4328,
329,
30239,
12,
17704,
1769,
1082,
3639,
987,
2342,
273,
312,
2147,
18,
588,
1805,
682,
12,
17704,
18,
588,
2988,
1042,
10663,
3639,
3010,
766,
273,
9109,
18,
2640,
1046,
12,
6759,
1179,
18,
3264,
67,
7927,
67,
14508,
1769,
202,
565,
309,
261,
4156,
480,
446,
13,
288,
202,
377,
202,
1884,
261,
3198,
518,
273,
2342,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
262,
288,
202,
377,
202,
202,
1805,
1047,
273,
261,
1805,
13,
518,
18,
4285,
5621,
202,
377,
202,
202,
430,
261,
2692,
422,
446,
747,
1047,
1276,
9960,
13,
202,
377,
1082,
202,
17143,
31,
202,
377,
202,
202,
774,
4201,
18,
3015,
1805,
12,
2740,
16,
9109,
16,
1047,
1769,
202,
377,
202,
97,
202,
565,
289,
3639,
327,
766,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3010,
1640,
12,
1046,
590,
16,
1635,
819,
13,
1216,
16489,
288,
202,
202,
62,
381,
15397,
20601,
1042,
9109,
273,
23448,
381,
15397,
1042,
12,
2472,
1769,
202,
202,
759,
9852,
30,
1608,
358,
866,
716,
14187,
1704,
3639,
11542,
2147,
312,
2147,
273,
4328,
329,
30239,
12,
17704,
1769,
1082,
3639,
987,
2342,
273,
312,
2147,
18,
588,
1805,
682,
12,
17704,
18,
588,
2988,
1042,
10663,
3639,
3010,
766,
273,
9109,
18,
2640,
1046,
12,
6759,
1179,
18,
3264,
67,
7927,
67,
14508,
1769,
202,
565,
309,
261,
4156,
480,
446,
13,
288,
202,
377,
202,
1884,
261,
3198,
518,
273,
2342,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
262,
288,
202,
2
] |
}
|
} if (!movedALegion) { debugln("Ack! forced to move someone"); ArrayList allmoves = new ArrayList(); Iterator friendlyLegionIt = legions.iterator(); while (friendlyLegionIt.hasNext()) { Legion friendlyLegion = (Legion) friendlyLegionIt.next(); ArrayList moves = (ArrayList) moveMap.get(friendlyLegion); allmoves.addAll(moves); } Collections.sort(allmoves, new Comparator() { public int compare(Object o1, Object o2) { MoveInfo m1 = (MoveInfo) o1; MoveInfo m2 = (MoveInfo) o2; return m1.difference - m2.difference; } }); Iterator moveIt = allmoves.iterator(); while (moveIt.hasNext() && player.legionsMoved() == 0 && player.countMobileLegions() > 0) { MoveInfo move = (MoveInfo) moveIt.next(); if (move.hex == null) continue; debugln("forced to move " + move.legion + " to " + move.hex + " taking penalty " + move.difference + " in order to handle illegal legion " + move.legion); game.actOnLegion(move.legion); game.actOnHex(move.hex); movedALegion = true; } }
|
public void simpleMove (Game game) { Player player = game.getActivePlayer(); /** cache all places enemies can move to, for use in risk analysis */ HashMap[] enemyAttackMap = buildEnemyAttackMap(game, player); // consider mulligans // TODO: this is really stupid. do something smart here. // idea: hard code an "opening book" of turn 1 moves based // on our splits and die rolls. if (player.getMulligansLeft() > 0 && player.getMovementRoll() == 2) { player.takeMulligan(); player.rollMovement(); } // A mapping from Legion to ArrayList of MoveInfo objects, // listing all moves that we've evaluated. We use this if // we're forced to move. HashMap moveMap = new HashMap(); // true if we moved at least one legion boolean movedALegion = false; List legions = player.getLegions(); Iterator it = legions.iterator(); while (it.hasNext()) { Legion legion = (Legion) it.next(); // compute the value of sitting still ArrayList moveList = new ArrayList(); moveMap.put(legion,moveList); MoveInfo sitStillMove = new MoveInfo ( legion, null, evaluateMove(game, legion,legion.getCurrentHex(), false, enemyAttackMap), 0); moveList.add(sitStillMove); // find the best move (1-ply search) MasterHex bestHex = null; int bestValue = Integer.MIN_VALUE; Set set = game.listMoves(legion, true); for (Iterator moveIterator = set.iterator(); moveIterator.hasNext();) { final String hexLabel = (String) moveIterator.next(); final MasterHex hex = game.board.getHexFromLabel(hexLabel); final int value = evaluateMove(game, legion,hex,true,enemyAttackMap); if (value > bestValue || bestHex == null) { bestValue = value; bestHex = hex; } MoveInfo move = new MoveInfo(legion, hex, value, value - sitStillMove.value); moveList.add(move); } // if we found a move that's better than sitting still, move if (bestValue > sitStillMove.value) { movedALegion = true; game.actOnLegion(legion); game.actOnHex(bestHex); } } // make sure we move splits (when forced) it = legions.iterator(); while (it.hasNext()) { Legion legion = (Legion)it.next(); MasterHex hex = legion.getCurrentHex(); List friendlyLegions = hex.getFriendlyLegions(player); outer: while (friendlyLegions.size() > 1 && game.countConventionalMoves(legion) > 0) { // pick the legion in this hex whose best move has the // least difference with its sitStillValue, and force // it to move. debugln("Ack! forced to move a split group"); // first, concatenate all the moves for all the // legions that are here, and sort them by their // difference from sitting still ArrayList allmoves = new ArrayList(); Iterator friendlyLegionIt = friendlyLegions.iterator(); while (friendlyLegionIt.hasNext()) { Legion friendlyLegion = (Legion) friendlyLegionIt.next(); ArrayList moves = (ArrayList) moveMap.get(friendlyLegion); allmoves.addAll(moves); } Collections.sort(allmoves, new Comparator() { public int compare(Object o1, Object o2) { MoveInfo m1 = (MoveInfo) o1; MoveInfo m2 = (MoveInfo) o2; return m1.difference - m2.difference; } }); // now, one at a time, try applying moves until we // have handled our split problem. Iterator moveIt = allmoves.iterator(); while (moveIt.hasNext()) { MoveInfo move = (MoveInfo) moveIt.next(); if (move.hex == null) continue; //skip the sitStill moves debugln("forced to move split legion " + move.legion + " to " + move.hex + " taking penalty " + move.difference + " in order to handle illegal legion " + legion); game.actOnLegion(move.legion); game.actOnHex(move.hex); movedALegion = true; // check again if this legion is ok; if so, break friendlyLegions = hex.getFriendlyLegions(player); if (friendlyLegions.size() > 1 && game.countConventionalMoves(legion) > 0) continue; else break outer; // legion is all set } } } // make sure we move at least one legion if (!movedALegion) { debugln("Ack! forced to move someone"); // pick the legion whose best move has the least // difference with its sitStillValue, and force it to // move. // first, concatenate all the moves for all the // legions that are here, and sort them by their // difference from sitting still ArrayList allmoves = new ArrayList(); Iterator friendlyLegionIt = legions.iterator(); while (friendlyLegionIt.hasNext()) { Legion friendlyLegion = (Legion) friendlyLegionIt.next(); ArrayList moves = (ArrayList) moveMap.get(friendlyLegion); allmoves.addAll(moves); } Collections.sort(allmoves, new Comparator() { public int compare(Object o1, Object o2) { MoveInfo m1 = (MoveInfo) o1; MoveInfo m2 = (MoveInfo) o2; return m1.difference - m2.difference; } }); // now, one at a time, try applying moves until we // have moved a legion Iterator moveIt = allmoves.iterator(); while (moveIt.hasNext() && player.legionsMoved() == 0 && player.countMobileLegions() > 0) { MoveInfo move = (MoveInfo) moveIt.next(); if (move.hex == null) continue; //skip the sitStill moves debugln("forced to move " + move.legion + " to " + move.hex + " taking penalty " + move.difference + " in order to handle illegal legion " + move.legion); game.actOnLegion(move.legion); game.actOnHex(move.hex); movedALegion = true; } } }
|
51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/db1dae80f332e8300e5d408cc3cdb3807d4ae58e/SimpleAI.java/clean/Colossus/SimpleAI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4143,
7607,
261,
12496,
7920,
13,
565,
288,
3639,
19185,
7291,
273,
7920,
18,
588,
3896,
12148,
5621,
202,
26873,
1247,
777,
12576,
570,
351,
606,
848,
3635,
358,
16,
364,
999,
316,
18404,
6285,
1195,
202,
8658,
8526,
570,
351,
93,
3075,
484,
863,
273,
1361,
664,
351,
93,
3075,
484,
863,
12,
13957,
16,
7291,
1769,
202,
759,
5260,
312,
420,
360,
634,
202,
759,
2660,
30,
333,
353,
8654,
384,
416,
350,
18,
225,
741,
5943,
13706,
2674,
18,
202,
759,
21463,
30,
7877,
981,
392,
315,
3190,
310,
6978,
6,
434,
7005,
404,
13934,
2511,
202,
759,
603,
3134,
11019,
471,
10387,
5824,
87,
18,
202,
430,
261,
14872,
18,
588,
49,
420,
360,
634,
3910,
1435,
405,
374,
597,
7291,
18,
588,
49,
26140,
24194,
1435,
422,
576,
13,
202,
95,
3196,
565,
7291,
18,
22188,
49,
420,
360,
304,
5621,
202,
565,
7291,
18,
2693,
49,
26140,
5621,
202,
97,
202,
759,
432,
2874,
628,
17167,
285,
358,
2407,
434,
9933,
966,
2184,
16,
202,
759,
11591,
777,
13934,
716,
732,
8081,
12697,
18,
225,
1660,
999,
333,
309,
202,
759,
732,
4565,
13852,
358,
3635,
18,
202,
8658,
3635,
863,
273,
394,
4317,
5621,
202,
759,
638,
309,
732,
10456,
622,
4520,
1245,
4553,
285,
202,
6494,
10456,
1013,
1332,
285,
273,
629,
31,
3639,
987,
4553,
1115,
273,
7291,
18,
588,
8329,
1115,
5621,
202,
3198,
518,
273,
4553,
1115,
18,
9838,
5621,
202,
17523,
261,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4143,
7607,
261,
12496,
7920,
13,
565,
288,
3639,
19185,
7291,
273,
7920,
18,
588,
3896,
12148,
5621,
202,
26873,
1247,
777,
12576,
570,
351,
606,
848,
3635,
358,
16,
364,
999,
316,
18404,
6285,
1195,
202,
8658,
8526,
570,
351,
93,
3075,
484,
863,
273,
1361,
664,
351,
93,
3075,
484,
863,
12,
13957,
16,
7291,
1769,
202,
759,
5260,
312,
420,
360,
634,
202,
759,
2660,
30,
333,
353,
8654,
384,
416,
350,
18,
225,
741,
5943,
13706,
2674,
18,
202,
759,
21463,
30,
7877,
981,
392,
315,
3190,
310,
6978,
6,
434,
7005,
404,
13934,
2511,
202,
759,
603,
3134,
11019,
471,
10387,
5824,
87,
18,
202,
430,
261,
14872,
18,
588,
49,
2
] |
return findSpecialTag(name,"attributeGroup",myFile.getDocument().getRootTag(),this, null);
|
return findSpecialTag(name,"attributeGroup",myTag,this, null);
|
public XmlTag findAttributeGroup(String name) { return findSpecialTag(name,"attributeGroup",myFile.getDocument().getRootTag(),this, null); }
|
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/79006a6382a22245a92d617926dfdb7c7f9c6738/XmlNSDescriptorImpl.java/buggy/source/com/intellij/xml/impl/schema/XmlNSDescriptorImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5714,
1805,
1104,
1499,
1114,
12,
780,
508,
13,
288,
565,
327,
1104,
12193,
1805,
12,
529,
10837,
4589,
1114,
3113,
4811,
1805,
16,
2211,
16,
446,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5714,
1805,
1104,
1499,
1114,
12,
780,
508,
13,
288,
565,
327,
1104,
12193,
1805,
12,
529,
10837,
4589,
1114,
3113,
4811,
1805,
16,
2211,
16,
446,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
SVNEvent event = new SVNEvent(source, null, SVNPathUtil.tail(path), action, SVNNodeKind.FILE, -1, null, null, null, null, lock, message);
|
SVNEvent event = new SVNEvent(source, null, SVNPathUtil.tail(path), action, SVNNodeKind.FILE, -1, null, null, null, null, lock, message);
|
public static SVNEvent createLockEvent(SVNWCAccess source, String path, SVNEventAction action, SVNLock lock, String message) { SVNEvent event = new SVNEvent(source, null, SVNPathUtil.tail(path), action, SVNNodeKind.FILE, -1, null, null, null, null, lock, message); event.setPath(path); return event; }
|
2776 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2776/28381179e464d7990498164d52693487f9dddb79/SVNEventFactory.java/buggy/javasvn/src/org/tmatesoft/svn/core/internal/wc/SVNEventFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
29537,
50,
1133,
752,
2531,
1133,
12,
23927,
50,
59,
39,
1862,
1084,
16,
514,
589,
16,
5411,
29537,
50,
1133,
1803,
1301,
16,
29537,
50,
2531,
2176,
16,
514,
883,
13,
288,
3639,
29537,
50,
1133,
871,
273,
394,
29537,
50,
1133,
12,
3168,
16,
446,
16,
29537,
50,
743,
1304,
18,
13101,
12,
803,
3631,
7734,
1301,
16,
29537,
50,
907,
5677,
18,
3776,
16,
300,
21,
16,
446,
16,
446,
16,
446,
16,
446,
16,
2176,
16,
883,
1769,
3639,
871,
18,
542,
743,
12,
803,
1769,
3639,
327,
871,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
29537,
50,
1133,
752,
2531,
1133,
12,
23927,
50,
59,
39,
1862,
1084,
16,
514,
589,
16,
5411,
29537,
50,
1133,
1803,
1301,
16,
29537,
50,
2531,
2176,
16,
514,
883,
13,
288,
3639,
29537,
50,
1133,
871,
273,
394,
29537,
50,
1133,
12,
3168,
16,
446,
16,
29537,
50,
743,
1304,
18,
13101,
12,
803,
3631,
7734,
1301,
16,
29537,
50,
907,
5677,
18,
3776,
16,
300,
21,
16,
446,
16,
446,
16,
446,
16,
446,
16,
2176,
16,
883,
1769,
3639,
871,
18,
542,
743,
12,
803,
1769,
3639,
327,
871,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Atom ring1Atom1 = new Atom("C"); Atom ring1Atom2 = new Atom("C"); Atom ring1Atom3 = new Atom("C"); Atom ring2Atom1 = new Atom("C"); Atom ring2Atom2 = new Atom("C"); Atom ring2Atom3 = new Atom("C"); Bond ring1Bond1 = new Bond(ring1Atom1, ring1Atom2); Bond ring1Bond2 = new Bond(ring1Atom2, ring1Atom3); Bond ring1Bond3 = new Bond(ring1Atom3, ring1Atom1);
|
Atom ring1Atom1 = builder.newAtom("C"); Atom ring1Atom2 = builder.newAtom("C"); Atom ring1Atom3 = builder.newAtom("C"); Atom ring2Atom1 = builder.newAtom("C"); Atom ring2Atom2 = builder.newAtom("C"); Atom ring2Atom3 = builder.newAtom("C"); Bond ring1Bond1 = builder.newBond(ring1Atom1, ring1Atom2); Bond ring1Bond2 = builder.newBond(ring1Atom2, ring1Atom3); Bond ring1Bond3 = builder.newBond(ring1Atom3, ring1Atom1);
|
public void testIsSameRing_Atom_Atom() { RingSet ringset = new RingSet(); Atom ring1Atom1 = new Atom("C"); // rather artificial molecule Atom ring1Atom2 = new Atom("C"); Atom ring1Atom3 = new Atom("C"); Atom ring2Atom1 = new Atom("C"); Atom ring2Atom2 = new Atom("C"); Atom ring2Atom3 = new Atom("C"); Bond ring1Bond1 = new Bond(ring1Atom1, ring1Atom2); Bond ring1Bond2 = new Bond(ring1Atom2, ring1Atom3); Bond ring1Bond3 = new Bond(ring1Atom3, ring1Atom1); Bond ring2Bond1 = new Bond(ring2Atom1, ring2Atom2); Bond ring2Bond2 = new Bond(ring2Atom2, ring2Atom3); Bond ring2Bond3 = new Bond(ring2Atom3, ring2Atom1); Ring ring1 = new Ring(); ring1.addAtom(ring1Atom1); ring1.addAtom(ring1Atom2); ring1.addAtom(ring1Atom3); ring1.addBond(ring1Bond1); ring1.addBond(ring1Bond2); ring1.addBond(ring1Bond3); Ring ring2 = new Ring(); ring2.addAtom(ring2Atom1); ring2.addAtom(ring2Atom2); ring2.addAtom(ring2Atom3); ring2.addBond(ring2Bond1); ring2.addBond(ring2Bond2); ring2.addBond(ring2Bond3); ringset.add(ring1); ringset.add(ring2); assertTrue(ringset.isSameRing(ring1Atom1, ring1Atom3)); assertFalse(ringset.isSameRing(ring1Atom1, ring2Atom3)); }
|
45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/67261c8143759a6ee4feb79dc1687d6dcfa25f40/RingSetTest.java/buggy/src/org/openscience/cdk/test/RingSetTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2520,
8650,
10369,
67,
3641,
67,
3641,
1435,
288,
3639,
25463,
694,
9221,
542,
273,
394,
25463,
694,
5621,
3639,
7149,
9221,
21,
3641,
21,
273,
394,
7149,
2932,
39,
8863,
368,
9178,
3688,
1507,
649,
13661,
3639,
7149,
9221,
21,
3641,
22,
273,
394,
7149,
2932,
39,
8863,
3639,
7149,
9221,
21,
3641,
23,
273,
394,
7149,
2932,
39,
8863,
3639,
7149,
9221,
22,
3641,
21,
273,
394,
7149,
2932,
39,
8863,
3639,
7149,
9221,
22,
3641,
22,
273,
394,
7149,
2932,
39,
8863,
3639,
7149,
9221,
22,
3641,
23,
273,
394,
7149,
2932,
39,
8863,
3639,
605,
1434,
9221,
21,
9807,
21,
273,
394,
605,
1434,
12,
8022,
21,
3641,
21,
16,
9221,
21,
3641,
22,
1769,
3639,
605,
1434,
9221,
21,
9807,
22,
273,
394,
605,
1434,
12,
8022,
21,
3641,
22,
16,
9221,
21,
3641,
23,
1769,
3639,
605,
1434,
9221,
21,
9807,
23,
273,
394,
605,
1434,
12,
8022,
21,
3641,
23,
16,
9221,
21,
3641,
21,
1769,
7734,
605,
1434,
9221,
22,
9807,
21,
273,
394,
605,
1434,
12,
8022,
22,
3641,
21,
16,
9221,
22,
3641,
22,
1769,
3639,
605,
1434,
9221,
22,
9807,
22,
273,
394,
605,
1434,
12,
8022,
22,
3641,
22,
16,
9221,
22,
3641,
23,
1769,
3639,
605,
1434,
9221,
22,
9807,
23,
273,
394,
605,
1434,
12,
8022,
22,
3641,
23,
16,
9221,
22,
3641,
21,
1769,
3639,
25463,
9221,
21,
273,
394,
25463,
5621,
3639,
9221,
21,
18,
1289,
3641,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2520,
8650,
10369,
67,
3641,
67,
3641,
1435,
288,
3639,
25463,
694,
9221,
542,
273,
394,
25463,
694,
5621,
3639,
7149,
9221,
21,
3641,
21,
273,
394,
7149,
2932,
39,
8863,
368,
9178,
3688,
1507,
649,
13661,
3639,
7149,
9221,
21,
3641,
22,
273,
394,
7149,
2932,
39,
8863,
3639,
7149,
9221,
21,
3641,
23,
273,
394,
7149,
2932,
39,
8863,
3639,
7149,
9221,
22,
3641,
21,
273,
394,
7149,
2932,
39,
8863,
3639,
7149,
9221,
22,
3641,
22,
273,
394,
7149,
2932,
39,
8863,
3639,
7149,
9221,
22,
3641,
23,
273,
394,
7149,
2932,
39,
8863,
3639,
605,
1434,
9221,
21,
9807,
21,
273,
394,
605,
1434,
12,
8022,
21,
3641,
21,
16,
9221,
2
] |
GBeanMBean resourceAdapterGBean = setUpDynamicGBean(resourceAdapterInfoFactory, resourceadapter.getConfigPropertyArray(), geronimoResourceAdapter.getResourceadapterInstance().getConfigPropertySettingArray());
|
GBeanMBean resourceAdapterGBean = setUpDynamicGBean(resourceAdapterInfoFactory, resourceadapter.getConfigPropertyArray(), geronimoResourceAdapter.getResourceadapterInstance().getConfigPropertySettingArray(), cl);
|
void addConnectorGBeans(DeploymentContext context, XmlObject genericConnectorDocument, GerConnectorType geronimoConnector, ClassLoader cl) throws DeploymentException { //addGBeans called from here so it is included in tests. addGBeans(geronimoConnector, cl, context); ConnectorType connector = ((ConnectorDocument) genericConnectorDocument).getConnector(); ResourceadapterType resourceadapter = connector.getResourceadapter(); GerResourceadapterType geronimoResourceAdapter = geronimoConnector.getResourceadapter(); //ResourceAdapter setup FullyQualifiedClassType resourceadapterClass = resourceadapter.getResourceadapterClass(); ObjectName resourceAdapterObjectName = null; if (resourceadapterClass != null) { String resourceAdapterClassName = resourceadapterClass.getStringValue(); resourceAdapterObjectName = null; GBeanInfoFactory resourceAdapterInfoFactory = new GBeanInfoFactory(ResourceAdapterWrapper.class, ResourceAdapterWrapper.getGBeanInfo()); GBeanMBean resourceAdapterGBean = setUpDynamicGBean(resourceAdapterInfoFactory, resourceadapter.getConfigPropertyArray(), geronimoResourceAdapter.getResourceadapterInstance().getConfigPropertySettingArray()); try { resourceAdapterGBean.setAttribute("ResourceAdapterClass", cl.loadClass(resourceAdapterClassName)); } catch (Exception e) { throw new DeploymentException(e); } ObjectName bootstrapContextObjectName = null; try { bootstrapContextObjectName = ObjectName.getInstance(geronimoResourceAdapter.getResourceadapterInstance().getBootstrapcontextName().getStringValue()); } catch (MalformedObjectNameException e) { throw new DeploymentException("Could not create object name for bootstrap context", e); } resourceAdapterGBean.setReferencePatterns("BootstrapContext", Collections.singleton(bootstrapContextObjectName)); try { resourceAdapterObjectName = ObjectName.getInstance(BASE_RESOURCE_ADAPTER_NAME + geronimoResourceAdapter.getResourceadapterInstance().getResourceadapterName() + ",configID=" + context.getConfigID()); } catch (MalformedObjectNameException e) { throw new DeploymentException("Could not construct resource adapter object name", e); } context.addGBean(resourceAdapterObjectName, resourceAdapterGBean); } Map connectionDefinitions = new HashMap(); for (int j = 0; j < resourceadapter.getOutboundResourceadapter().getConnectionDefinitionArray().length; j++) { ConnectionDefinitionType connectionDefinition = resourceadapter.getOutboundResourceadapter().getConnectionDefinitionArray(j); connectionDefinitions.put(connectionDefinition.getConnectionfactoryInterface().getStringValue(), connectionDefinition); } //ManagedConnectionFactory setup for (int i = 0; i < geronimoResourceAdapter.getOutboundResourceadapter().getConnectionDefinitionArray().length; i++) { GerConnectionDefinitionType geronimoConnectionDefinition = geronimoResourceAdapter.getOutboundResourceadapter().getConnectionDefinitionArray(i); assert geronimoConnectionDefinition != null: "Null GeronimoConnectionDefinition"; String connectionFactoryInterfaceName = geronimoConnectionDefinition.getConnectionfactoryInterface().getStringValue(); ConnectionDefinitionType connectionDefinition = (ConnectionDefinitionType) connectionDefinitions.get(connectionFactoryInterfaceName); if (connectionDefinition == null) { throw new DeploymentException("No connection definition for ConnectionFactory class: " + connectionFactoryInterfaceName); } for (int j = 0; j < geronimoConnectionDefinition.getConnectiondefinitionInstanceArray().length; j++) { GerConnectiondefinitionInstanceType connectionfactoryInstance = geronimoConnectionDefinition.getConnectiondefinitionInstanceArray()[j]; //ConnectionManager ObjectName connectionManagerObjectName = configureConnectionManager(connectionfactoryInstance, context); //ManagedConnectionFactory ObjectName managedConnectionFactoryObjectName = null; try { managedConnectionFactoryObjectName = ObjectName.getInstance(JMXReferenceFactory.BASE_MANAGED_CONNECTION_FACTORY_NAME + connectionfactoryInstance.getName()); } catch (MalformedObjectNameException e) { throw new DeploymentException("Could not construct ManagedConnectionFactory object name", e); } GBeanInfoFactory managedConnectionFactoryInfoFactory = new GBeanInfoFactory(ManagedConnectionFactoryWrapper.class, ManagedConnectionFactoryWrapper.getGBeanInfo()); GBeanMBean managedConnectionFactoryGBean = setUpDynamicGBean(managedConnectionFactoryInfoFactory, connectionDefinition.getConfigPropertyArray(), connectionfactoryInstance.getConfigPropertySettingArray()); try { managedConnectionFactoryGBean.setAttribute("ManagedConnectionFactoryClass", cl.loadClass(connectionDefinition.getManagedconnectionfactoryClass().getStringValue())); managedConnectionFactoryGBean.setAttribute("ConnectionFactoryInterface", cl.loadClass(connectionDefinition.getConnectionfactoryInterface().getStringValue())); managedConnectionFactoryGBean.setAttribute("ConnectionFactoryImplClass", cl.loadClass(connectionDefinition.getConnectionfactoryImplClass().getStringValue())); managedConnectionFactoryGBean.setAttribute("ConnectionInterface", cl.loadClass(connectionDefinition.getConnectionInterface().getStringValue())); managedConnectionFactoryGBean.setAttribute("ConnectionImplClass", cl.loadClass(connectionDefinition.getConnectionImplClass().getStringValue())); managedConnectionFactoryGBean.setAttribute("GlobalJNDIName", connectionfactoryInstance.getGlobalJndiName()); if (resourceAdapterObjectName != null) { managedConnectionFactoryGBean.setReferencePatterns("ResourceAdapterWrapper", Collections.singleton(resourceAdapterObjectName)); } managedConnectionFactoryGBean.setReferencePatterns("ConnectionManagerFactory", Collections.singleton(connectionManagerObjectName)); if (connectionfactoryInstance.getCredentialInterface() != null && PasswordCredential.class.getName().equals(connectionfactoryInstance.getCredentialInterface().getStringValue())) { GBeanMBean realmGBean = new GBeanMBean(PasswordCredentialRealm.getGBeanInfo()); realmGBean.setAttribute("RealmName", BASE_PASSWORD_CREDENTIAL_LOGIN_MODULE_NAME + connectionfactoryInstance.getName()); context.addGBean(ObjectName.getInstance(BASE_PASSWORD_CREDENTIAL_LOGIN_MODULE_NAME + connectionfactoryInstance.getName()), realmGBean); managedConnectionFactoryGBean.setReferencePatterns("ManagedConnectionFactoryListener", Collections.singleton(ObjectName.getInstance(BASE_PASSWORD_CREDENTIAL_LOGIN_MODULE_NAME + connectionfactoryInstance.getName()))); } managedConnectionFactoryGBean.setReferencePatterns("Kernel", Collections.singleton(Kernel.KERNEL)); managedConnectionFactoryGBean.setAttribute("SelfName", managedConnectionFactoryObjectName); } catch (Exception e) { throw new DeploymentException(e); } context.addGBean(managedConnectionFactoryObjectName, managedConnectionFactoryGBean); } } //admin objects Map adminObjectInterfaceMap = new HashMap(); for (int i = 0; i < resourceadapter.getAdminobjectArray().length; i++) { AdminobjectType adminobject = resourceadapter.getAdminobjectArray()[i]; adminObjectInterfaceMap.put(adminobject.getAdminobjectInterface().getStringValue(), adminobject); } for (int i = 0; i < geronimoResourceAdapter.getAdminobjectArray().length; i++) { GerAdminobjectType gerAdminObject = geronimoResourceAdapter.getAdminobjectArray()[i]; AdminobjectType adminobject = (AdminobjectType) adminObjectInterfaceMap.get(gerAdminObject.getAdminobjectInterface().getStringValue()); assert adminobject != null; for (int j = 0; j < gerAdminObject.getAdminobjectInstanceArray().length; j++) { GerAdminobjectInstanceType gerAdminobjectInstance = gerAdminObject.getAdminobjectInstanceArray()[j]; GBeanInfoFactory adminObjectInfoFactory = new GBeanInfoFactory(AdminObjectWrapper.class, AdminObjectWrapper.getGBeanInfo()); GBeanMBean adminObjectGBean = setUpDynamicGBean(adminObjectInfoFactory, adminobject.getConfigPropertyArray(), gerAdminobjectInstance.getConfigPropertySettingArray()); try { ObjectName adminObjectObjectName = ObjectName.getInstance(JMXReferenceFactory.BASE_ADMIN_OBJECT_NAME + gerAdminobjectInstance.getAdminobjectName()); adminObjectGBean.setAttribute("AdminObjectInterface", cl.loadClass(adminobject.getAdminobjectInterface().getStringValue())); adminObjectGBean.setAttribute("AdminObjectClass", cl.loadClass(adminobject.getAdminobjectClass().getStringValue())); adminObjectGBean.setReferencePatterns("Kernel", Collections.singleton(Kernel.KERNEL)); adminObjectGBean.setAttribute("SelfName", adminObjectObjectName); context.addGBean(adminObjectObjectName, adminObjectGBean); } catch (Exception e) { throw new DeploymentException("Could not construct AdminObject", e); } } } }
|
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/b538224cda0d40aae152bf9c55cb390f70708134/RAR_1_5ConfigBuilder.java/buggy/modules/connector/src/java/org/apache/geronimo/connector/deployment/RAR_1_5ConfigBuilder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
527,
7487,
43,
14495,
12,
6733,
1042,
819,
16,
5714,
921,
5210,
7487,
2519,
16,
611,
264,
7487,
559,
314,
264,
265,
381,
83,
7487,
16,
9403,
927,
13,
1216,
8587,
503,
288,
3639,
368,
1289,
43,
14495,
2566,
628,
2674,
1427,
518,
353,
5849,
316,
7434,
18,
3639,
527,
43,
14495,
12,
693,
265,
381,
83,
7487,
16,
927,
16,
819,
1769,
3639,
15779,
559,
8703,
273,
14015,
7487,
2519,
13,
5210,
7487,
2519,
2934,
588,
7487,
5621,
3639,
2591,
10204,
559,
1058,
10204,
273,
8703,
18,
588,
1420,
10204,
5621,
3639,
611,
264,
1420,
10204,
559,
314,
264,
265,
381,
83,
1420,
4216,
273,
314,
264,
265,
381,
83,
7487,
18,
588,
1420,
10204,
5621,
3639,
368,
1420,
4216,
3875,
3639,
11692,
93,
8708,
18328,
1058,
10204,
797,
273,
1058,
10204,
18,
588,
1420,
10204,
797,
5621,
3639,
21013,
1058,
4216,
16707,
273,
446,
31,
3639,
309,
261,
3146,
10204,
797,
480,
446,
13,
288,
5411,
514,
1058,
4216,
3834,
273,
1058,
10204,
797,
18,
588,
19733,
5621,
5411,
1058,
4216,
16707,
273,
446,
31,
5411,
611,
3381,
966,
1733,
1058,
4216,
966,
1733,
273,
394,
611,
3381,
966,
1733,
12,
1420,
4216,
3611,
18,
1106,
16,
2591,
4216,
3611,
18,
588,
43,
3381,
966,
10663,
5411,
611,
3381,
18089,
1058,
4216,
43,
3381,
273,
24292,
9791,
43,
3381,
12,
3146,
4216,
966,
1733,
16,
1058,
10204,
18,
588,
809,
1396,
1076,
9334,
314,
264,
265,
381,
83,
1420,
4216,
18,
588,
1420,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
527,
7487,
43,
14495,
12,
6733,
1042,
819,
16,
5714,
921,
5210,
7487,
2519,
16,
611,
264,
7487,
559,
314,
264,
265,
381,
83,
7487,
16,
9403,
927,
13,
1216,
8587,
503,
288,
3639,
368,
1289,
43,
14495,
2566,
628,
2674,
1427,
518,
353,
5849,
316,
7434,
18,
3639,
527,
43,
14495,
12,
693,
265,
381,
83,
7487,
16,
927,
16,
819,
1769,
3639,
15779,
559,
8703,
273,
14015,
7487,
2519,
13,
5210,
7487,
2519,
2934,
588,
7487,
5621,
3639,
2591,
10204,
559,
1058,
10204,
273,
8703,
18,
588,
1420,
10204,
5621,
3639,
611,
264,
1420,
10204,
559,
314,
264,
265,
381,
83,
1420,
4216,
273,
314,
264,
265,
381,
83,
7487,
18,
588,
1420,
10204,
5621,
2
] |
} else if (id.startsWith("IDL:")) {
|
} else if (id.startsWith("IDL:")) {
|
static Class getClass(String id) { if (id.startsWith("RMI:")) { int endClass = id.indexOf(':', 4); if (endClass == -1) { throw new org.omg.CORBA.INV_IDENT(id); } String className = id.substring(4, endClass); if (className.equals("javax.rmi.CORBA.ClassDesc")) { return Class.class; } else { return loadClass(className); } } else if (id.equals("IDL:omg.org/CORBA/WStringValue:1.0")) { return java.lang.String.class; } else if (id.startsWith("IDL:omg.org/")) { int endClass = id.indexOf(':', 12); if (endClass == -1) { throw new org.omg.CORBA.INV_IDENT(id); } String className = "org.omg" + id.substring("IDL:omg.org".length(), endClass).replace('/', '.'); return loadClass(className); } else if (id.startsWith("IDL:")) { int endClass = id.indexOf(':', 4); if (endClass == -1) { throw new org.omg.CORBA.INV_IDENT(id); } String className = id.substring(4, endClass).replace('/', '.'); return loadClass(className); } else { throw new org.omg.CORBA.INV_IDENT(id); } }
|
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/9d2c39c906c6955e17daf4ac239b85d4727ddc83/ValueType.java/buggy/modules/interop/src/java/org/apache/geronimo/interop/rmi/iiop/ValueType.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1659,
2900,
12,
780,
612,
13,
288,
3639,
309,
261,
350,
18,
17514,
1190,
2932,
54,
7492,
2773,
3719,
288,
5411,
509,
679,
797,
273,
612,
18,
31806,
2668,
30,
2187,
1059,
1769,
5411,
309,
261,
409,
797,
422,
300,
21,
13,
288,
7734,
604,
394,
2358,
18,
362,
75,
18,
9428,
12536,
18,
706,
58,
67,
13355,
12,
350,
1769,
5411,
289,
5411,
514,
2658,
273,
612,
18,
28023,
12,
24,
16,
679,
797,
1769,
5411,
309,
261,
12434,
18,
14963,
2932,
28384,
18,
8864,
77,
18,
9428,
12536,
18,
797,
4217,
6,
3719,
288,
7734,
327,
1659,
18,
1106,
31,
5411,
289,
469,
288,
7734,
327,
16038,
12,
12434,
1769,
5411,
289,
3639,
289,
469,
309,
261,
350,
18,
14963,
2932,
734,
48,
30,
362,
75,
18,
3341,
19,
9428,
12536,
19,
59,
19733,
30,
21,
18,
20,
6,
3719,
288,
5411,
327,
2252,
18,
4936,
18,
780,
18,
1106,
31,
3639,
289,
469,
309,
261,
350,
18,
17514,
1190,
2932,
734,
48,
30,
362,
75,
18,
3341,
4898,
3719,
288,
5411,
509,
679,
797,
273,
612,
18,
31806,
2668,
30,
2187,
2593,
1769,
5411,
309,
261,
409,
797,
422,
300,
21,
13,
288,
7734,
604,
394,
2358,
18,
362,
75,
18,
9428,
12536,
18,
706,
58,
67,
13355,
12,
350,
1769,
5411,
289,
5411,
514,
2658,
273,
315,
3341,
18,
362,
75,
6,
397,
612,
18,
28023,
2932,
734,
48,
30,
362,
75,
18,
3341,
9654,
2469,
9334,
679,
797,
2934,
2079,
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,
1659,
2900,
12,
780,
612,
13,
288,
3639,
309,
261,
350,
18,
17514,
1190,
2932,
54,
7492,
2773,
3719,
288,
5411,
509,
679,
797,
273,
612,
18,
31806,
2668,
30,
2187,
1059,
1769,
5411,
309,
261,
409,
797,
422,
300,
21,
13,
288,
7734,
604,
394,
2358,
18,
362,
75,
18,
9428,
12536,
18,
706,
58,
67,
13355,
12,
350,
1769,
5411,
289,
5411,
514,
2658,
273,
612,
18,
28023,
12,
24,
16,
679,
797,
1769,
5411,
309,
261,
12434,
18,
14963,
2932,
28384,
18,
8864,
77,
18,
9428,
12536,
18,
797,
4217,
6,
3719,
288,
7734,
327,
1659,
18,
1106,
31,
5411,
289,
469,
288,
7734,
327,
16038,
12,
12434,
1769,
5411,
289,
3639,
289,
469,
2
] |
public void mBOOL() throws RecognitionException { int BOOL_StartIndex = input.index(); try { int type = BOOL; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; if ( backtracking>0 && alreadyParsedRule(input, 50) ) { return ; } // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:952:17: ( ( 'true' | 'false' ) ) // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:952:17: ( 'true' | 'false' ) { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:952:17: ( 'true' | 'false' ) int alt11=2; int LA11_0 = input.LA(1); if ( LA11_0=='t' ) { alt11=1; } else if ( LA11_0=='f' ) { alt11=2; } else { if (backtracking>0) {failed=true; return ;} NoViableAltException nvae = new NoViableAltException("952:17: ( \'true\' | \'false\' )", 11, 0, input); throw nvae; } switch (alt11) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:952:18: 'true' { match("true"); if (failed) return ; } break; case 2 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:952:25: 'false' { match("false"); if (failed) return ; } break; } } if ( token==null ) {emit(type,line,charPosition,channel,start,getCharIndex()-1);} } finally { if ( backtracking>0 ) { memoize(input, 50, BOOL_StartIndex); } } }
|
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/2c627236020a6a6e3e349b38b1010bfe64567df7/RuleParserLexer.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
19040,
1435,
1216,
9539,
288,
3639,
509,
9784,
1741,
67,
16792,
273,
810,
18,
1615,
5621,
3639,
775,
288,
5411,
509,
618,
273,
9784,
1741,
31,
5411,
509,
787,
273,
23577,
1016,
5621,
5411,
509,
980,
273,
9851,
5621,
5411,
509,
1149,
2555,
273,
23577,
2555,
382,
1670,
5621,
5411,
509,
1904,
273,
3155,
18,
5280,
67,
15814,
31,
5411,
309,
261,
6888,
34,
20,
597,
1818,
11257,
2175,
12,
2630,
16,
6437,
13,
262,
288,
327,
274,
289,
5411,
368,
342,
6588,
19,
70,
947,
19,
17300,
87,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
8778,
22,
30,
4033,
30,
261,
261,
296,
3767,
11,
571,
296,
5743,
11,
262,
262,
5411,
368,
342,
6588,
19,
70,
947,
19,
17300,
87,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
8778,
22,
30,
4033,
30,
261,
296,
3767,
11,
571,
296,
5743,
11,
262,
5411,
288,
5411,
368,
342,
6588,
19,
70,
947,
19,
17300,
87,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
8778,
22,
30,
4033,
30,
261,
296,
3767,
11,
571,
296,
5743,
11,
262,
5411,
509,
3770,
2499,
33,
22,
31,
5411,
509,
2928,
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,
312,
19040,
1435,
1216,
9539,
288,
3639,
509,
9784,
1741,
67,
16792,
273,
810,
18,
1615,
5621,
3639,
775,
288,
5411,
509,
618,
273,
9784,
1741,
31,
5411,
509,
787,
273,
23577,
1016,
5621,
5411,
509,
980,
273,
9851,
5621,
5411,
509,
1149,
2555,
273,
23577,
2555,
382,
1670,
5621,
5411,
509,
1904,
273,
3155,
18,
5280,
67,
15814,
31,
5411,
309,
261,
6888,
34,
20,
597,
1818,
11257,
2175,
12,
2630,
16,
6437,
13,
262,
288,
327,
274,
289,
5411,
368,
342,
6588,
19,
70,
947,
19,
17300,
87,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
2
] |
||
private Rectangle getBoundingBox() { // Our PS Header has internal page orientation mode, all sizes given in portrait Dimension pageSize = PageConstants.getSize(getProperty(PAGE_SIZE)); Insets margins = getPropertyInsets(PAGE_MARGINS); boolean isPortrait = getProperty(ORIENTATION).equals(PageConstants.PORTRAIT); // Available width and height. double awidth = (pageSize.width-margins.left-margins.right); double aheight = (pageSize.height-margins.top-margins.bottom); // Image width and height (adjusted for portrait or landscape) Dimension size = getSize(); double iwidth = (isPortrait ? size.width : size.height); double iheight = (isPortrait ? size.height : size.width); // Choose the minimum scale factor. double sf = Math.min(awidth/iwidth,aheight/iheight); if (!isProperty(FIT_TO_PAGE)) sf = Math.min(sf,1.); // Lower left corner. double x0 = awidth/2. + margins.left - sf*iwidth/2.; double y0 = aheight/2. + margins.bottom - sf*iheight/2.; // Upper right corner. double x1 = x0 + sf*iwidth; double y1 = y0 + sf*iheight; int llx = (int) x0; int lly = (int) y0; int urx = (int) Math.ceil(x1); int ury = (int) Math.ceil(y1); // Convert these back to integer values. return new Rectangle(llx, lly, urx-llx, ury-lly); }
|
57341 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57341/de061d5977b00047b242b52aea5bc47538b063c5/PSGraphics2D.java/clean/freehep-graphicsio-ps/src/main/java/org/freehep/graphicsio/ps/PSGraphics2D.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
225,
13264,
225,
19484,
13488,
1435,
225,
288,
7734,
368,
225,
29613,
225,
26320,
225,
4304,
225,
711,
225,
2713,
225,
1363,
225,
9820,
225,
1965,
16,
225,
777,
225,
8453,
225,
864,
225,
316,
225,
22471,
22513,
7734,
13037,
225,
13387,
225,
273,
225,
3460,
2918,
18,
588,
1225,
12,
588,
1396,
12,
11219,
67,
4574,
10019,
7734,
22300,
225,
24889,
225,
273,
225,
3911,
382,
4424,
12,
11219,
67,
19772,
7702,
55,
1769,
7734,
1250,
225,
29962,
280,
22513,
225,
273,
225,
3911,
12,
916,
45,
2222,
2689,
2934,
14963,
12,
1964,
2918,
18,
6354,
2849,
1285,
1769,
7734,
368,
225,
15633,
225,
1835,
225,
471,
225,
2072,
18,
7734,
1645,
225,
1690,
1113,
225,
273,
225,
261,
26165,
18,
2819,
17,
10107,
87,
18,
4482,
17,
10107,
87,
18,
4083,
1769,
7734,
1645,
225,
279,
4210,
225,
273,
225,
261,
26165,
18,
4210,
17,
10107,
87,
18,
3669,
17,
10107,
87,
18,
9176,
1769,
7734,
368,
225,
3421,
225,
1835,
225,
471,
225,
2072,
225,
261,
13362,
329,
225,
364,
225,
22471,
22513,
225,
578,
225,
19193,
12476,
13,
7734,
13037,
225,
963,
225,
273,
225,
9950,
5621,
7734,
1645,
225,
277,
2819,
225,
273,
225,
261,
291,
52,
280,
22513,
225,
692,
225,
963,
18,
2819,
225,
294,
225,
963,
18,
4210,
1769,
7734,
1645,
225,
277,
4210,
225,
273,
225,
261,
291,
52,
280,
22513,
225,
692,
225,
963,
18,
4210,
225,
294,
225,
963,
18,
2819,
1769,
7734,
368,
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,
225,
13264,
225,
19484,
13488,
1435,
225,
288,
7734,
368,
225,
29613,
225,
26320,
225,
4304,
225,
711,
225,
2713,
225,
1363,
225,
9820,
225,
1965,
16,
225,
777,
225,
8453,
225,
864,
225,
316,
225,
22471,
22513,
7734,
13037,
225,
13387,
225,
273,
225,
3460,
2918,
18,
588,
1225,
12,
588,
1396,
12,
11219,
67,
4574,
10019,
7734,
22300,
225,
24889,
225,
273,
225,
3911,
382,
4424,
12,
11219,
67,
19772,
7702,
55,
1769,
7734,
1250,
225,
29962,
280,
22513,
225,
273,
225,
3911,
12,
916,
45,
2222,
2689,
2934,
14963,
12,
1964,
2918,
18,
6354,
2849,
1285,
1769,
7734,
368,
225,
15633,
225,
1835,
225,
471,
225,
2072,
18,
7734,
1645,
225,
1690,
1113,
225,
2
] |
||
performDataTypeTest(TEST_NUMERIC_MODEL, new BigDecimal("210987654321"), new BigDecimal("-2"));
|
final String modelXml = "<?xml version='1.0' encoding='ISO-8859-1'?>\n"+ "<database name='roundtriptest'>\n"+ " <table name='roundtrip'>\n"+ " <column name='pk' type='INTEGER' primaryKey='true' required='true'/>\n"+ " <column name='avalue' type='NUMERIC' size='12'/>\n"+ " </table>\n"+ "</database>"; performDataTypeTest(modelXml, new BigDecimal("210987654321"), new BigDecimal("-2"));
|
public void testNumeric() { performDataTypeTest(TEST_NUMERIC_MODEL, new BigDecimal("210987654321"), new BigDecimal("-2")); }
|
1224 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1224/ac0082aeb19995adc414f46d5f9053e8ecea4193/TestDatatypes.java/buggy/src/test/org/apache/ddlutils/io/TestDatatypes.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
9902,
1435,
565,
288,
3639,
727,
514,
938,
4432,
273,
20410,
2902,
1177,
2218,
21,
18,
20,
11,
2688,
2218,
12609,
17,
17258,
17,
21,
11,
35,
5333,
82,
6,
15,
3532,
6231,
508,
2218,
2260,
313,
8138,
395,
11,
5333,
82,
6,
15,
315,
225,
411,
2121,
508,
2218,
2260,
25125,
11,
5333,
82,
6,
15,
315,
565,
411,
2827,
508,
2218,
5465,
11,
618,
2218,
14217,
11,
8841,
2218,
3767,
11,
1931,
2218,
3767,
11,
19,
5333,
82,
6,
15,
315,
565,
411,
2827,
508,
2218,
842,
391,
11,
618,
2218,
22998,
11,
963,
2218,
2138,
11,
19,
5333,
82,
6,
15,
315,
225,
7765,
2121,
5333,
82,
6,
15,
6823,
6231,
2984,
31,
225,
3073,
6273,
4709,
12,
2284,
4432,
16,
394,
8150,
2932,
22,
2163,
10689,
6669,
6564,
1578,
21,
6,
3631,
394,
8150,
2932,
17,
22,
7923,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
9902,
1435,
565,
288,
3639,
727,
514,
938,
4432,
273,
20410,
2902,
1177,
2218,
21,
18,
20,
11,
2688,
2218,
12609,
17,
17258,
17,
21,
11,
35,
5333,
82,
6,
15,
3532,
6231,
508,
2218,
2260,
313,
8138,
395,
11,
5333,
82,
6,
15,
315,
225,
411,
2121,
508,
2218,
2260,
25125,
11,
5333,
82,
6,
15,
315,
565,
411,
2827,
508,
2218,
5465,
11,
618,
2218,
14217,
11,
8841,
2218,
3767,
11,
1931,
2218,
3767,
11,
19,
5333,
82,
6,
15,
315,
565,
411,
2827,
508,
2218,
842,
391,
11,
618,
2218,
22998,
11,
963,
2218,
2138,
11,
19,
5333,
82,
6,
15,
315,
225,
7765,
2121,
5333,
82,
6,
15,
6823,
6231,
2984,
2
] |
String sessionId;
|
String sessionId = Long.toString(System.currentTimeMillis());
|
private String getNewBrowserSession(String browser, String startURL) { if (browser == null) throw new IllegalArgumentException("browser may not be null"); String sessionId; String results; BrowserLauncherFactory blf = new BrowserLauncherFactory(server); BrowserLauncher launcher = blf.getBrowserLauncher(browser); sessionId = Long.toString(System.currentTimeMillis()); launcher.launch(startURL + "/selenium-server/SeleneseRunner.html?sessionId=" + sessionId); launchers.put(sessionId, launcher); SeleneseQueue queue = getQueue(sessionId); queue.doCommand("setContext", sessionId, ""); results = sessionId; return results; }
|
4718 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4718/13b471c65563ed945c399b0a68932cb37a9c3135/SeleniumDriverResourceHandler.java/buggy/server/src/main/java/org/openqa/selenium/server/SeleniumDriverResourceHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
12654,
9132,
2157,
12,
780,
4748,
16,
514,
787,
1785,
13,
288,
3639,
309,
261,
11213,
422,
446,
13,
604,
394,
2754,
2932,
11213,
2026,
486,
506,
446,
8863,
3639,
514,
10338,
273,
3407,
18,
10492,
12,
3163,
18,
2972,
28512,
10663,
3639,
514,
1686,
31,
3639,
15408,
28820,
1733,
2811,
74,
273,
394,
15408,
28820,
1733,
12,
3567,
1769,
3639,
15408,
28820,
26618,
273,
2811,
74,
18,
588,
9132,
28820,
12,
11213,
1769,
3639,
10338,
273,
3407,
18,
10492,
12,
3163,
18,
2972,
28512,
10663,
3639,
26618,
18,
20738,
12,
1937,
1785,
397,
2206,
1786,
17327,
17,
3567,
19,
1877,
275,
3392,
9709,
18,
2620,
35,
3184,
548,
1546,
397,
10338,
1769,
3639,
8037,
414,
18,
458,
12,
3184,
548,
16,
26618,
1769,
3639,
4352,
275,
3392,
3183,
2389,
273,
19511,
12,
3184,
548,
1769,
3639,
2389,
18,
2896,
2189,
2932,
542,
1042,
3113,
10338,
16,
1408,
1769,
3639,
1686,
273,
10338,
31,
3639,
327,
1686,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
12654,
9132,
2157,
12,
780,
4748,
16,
514,
787,
1785,
13,
288,
3639,
309,
261,
11213,
422,
446,
13,
604,
394,
2754,
2932,
11213,
2026,
486,
506,
446,
8863,
3639,
514,
10338,
273,
3407,
18,
10492,
12,
3163,
18,
2972,
28512,
10663,
3639,
514,
1686,
31,
3639,
15408,
28820,
1733,
2811,
74,
273,
394,
15408,
28820,
1733,
12,
3567,
1769,
3639,
15408,
28820,
26618,
273,
2811,
74,
18,
588,
9132,
28820,
12,
11213,
1769,
3639,
10338,
273,
3407,
18,
10492,
12,
3163,
18,
2972,
28512,
10663,
3639,
26618,
18,
20738,
12,
1937,
1785,
397,
2206,
1786,
17327,
17,
3567,
19,
1877,
275,
3392,
9709,
18,
2620,
35,
3184,
548,
1546,
397,
10338,
1769,
3639,
8037,
414,
2
] |
+ " makes unresolvable reference to " + ref + " : " + defined.size());
|
+ " makes unresolvable reference to '" + ref + "' : " + defined.contains(ref) );
|
public void visit(JavaClass obj) { compute(); ConstantPool cp = obj.getConstantPool(); Constant[] constants = cp.getConstantPool(); checkConstant: for (int i = 0; i < constants.length; i++) { Constant co = constants[i]; if (co instanceof ConstantDouble || co instanceof ConstantLong) i++; if (false && co instanceof ConstantClass) { String ref = getClassName(obj, i).replace('/','.'); if (!defined.contains(ref)) System.out.println(getClassName() + " makes unresolvable reference to " + ref + " : " + defined.size()); } else if (co instanceof ConstantCP) { ConstantCP co2 = (ConstantCP) co; String className = getClassName(obj, co2.getClassIndex()).replace('/','.'); ConstantNameAndType nt = (ConstantNameAndType) cp .getConstant(co2.getNameAndTypeIndex()); String ref = getMemberName(obj, className, nt.getNameIndex(), nt.getSignatureIndex()); if (className.equals(obj.getClassName()) || !defined.contains(className)) { continue checkConstant; } if (defined.contains(ref)) { continue checkConstant; } try { JavaClass target = Repository.lookupClass(className); while (true) { target = target.getSuperClass(); if (target == null || !defined.contains(target.getClassName())) break; String ref2 = getMemberName(obj, target.getClassName(), nt .getNameIndex(), nt.getSignatureIndex()); if (defined.contains(ref2)) { continue checkConstant; } } System.out.println(getClassName() + " makes unresolvable reference to " + ref + " : " + defined.size()); } catch (ClassNotFoundException e) { bugReporter.reportMissingClass(e); } } } }
|
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/fbaf639330a33e6574463ee18d8c595bfec8195e/ResolveAllReferences.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/detect/ResolveAllReferences.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
12,
5852,
797,
1081,
13,
288,
202,
202,
9200,
5621,
202,
202,
6902,
2864,
3283,
273,
1081,
18,
588,
6902,
2864,
5621,
202,
202,
6902,
8526,
6810,
273,
3283,
18,
588,
6902,
2864,
5621,
202,
202,
1893,
6902,
30,
364,
261,
474,
277,
273,
374,
31,
277,
411,
6810,
18,
2469,
31,
277,
27245,
288,
1082,
202,
6902,
1825,
273,
6810,
63,
77,
15533,
1082,
202,
430,
261,
2894,
1276,
10551,
5265,
747,
1825,
1276,
10551,
3708,
13,
9506,
202,
77,
9904,
31,
1082,
202,
430,
261,
5743,
597,
1825,
1276,
10551,
797,
13,
288,
9506,
202,
780,
1278,
273,
11819,
12,
2603,
16,
277,
2934,
2079,
2668,
19,
17023,
1093,
1769,
9506,
202,
430,
16051,
2178,
18,
12298,
12,
1734,
3719,
6862,
202,
3163,
18,
659,
18,
8222,
12,
588,
3834,
1435,
6862,
1082,
202,
15,
315,
7297,
640,
7818,
16845,
2114,
358,
315,
397,
1278,
397,
315,
294,
315,
6862,
1082,
202,
15,
2553,
18,
1467,
10663,
1082,
202,
97,
469,
309,
261,
2894,
1276,
10551,
4258,
13,
288,
9506,
202,
6902,
4258,
1825,
22,
273,
261,
6902,
4258,
13,
1825,
31,
9506,
202,
780,
2658,
273,
11819,
12,
2603,
16,
1825,
22,
18,
588,
797,
1016,
1435,
2934,
2079,
2668,
19,
17023,
1093,
1769,
9506,
202,
6902,
31925,
559,
9513,
273,
261,
6902,
31925,
559,
13,
3283,
25083,
202,
18,
588,
6902,
12,
2894,
22,
18,
17994,
1876,
559,
1016,
10663,
9506,
202,
780,
1278,
273,
18925,
461,
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,
482,
918,
3757,
12,
5852,
797,
1081,
13,
288,
202,
202,
9200,
5621,
202,
202,
6902,
2864,
3283,
273,
1081,
18,
588,
6902,
2864,
5621,
202,
202,
6902,
8526,
6810,
273,
3283,
18,
588,
6902,
2864,
5621,
202,
202,
1893,
6902,
30,
364,
261,
474,
277,
273,
374,
31,
277,
411,
6810,
18,
2469,
31,
277,
27245,
288,
1082,
202,
6902,
1825,
273,
6810,
63,
77,
15533,
1082,
202,
430,
261,
2894,
1276,
10551,
5265,
747,
1825,
1276,
10551,
3708,
13,
9506,
202,
77,
9904,
31,
1082,
202,
430,
261,
5743,
597,
1825,
1276,
10551,
797,
13,
288,
9506,
202,
780,
1278,
273,
11819,
12,
2603,
16,
277,
2934,
2079,
2668,
19,
17023,
1093,
1769,
9506,
202,
2
] |
String getBackgroundColor();
|
String getBackgroundColor( );
|
String getBackgroundColor();
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/418b538dedc46927b62e9d884dd3fc2419ed5e34/IScriptStyle.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/instance/IScriptStyle.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
780,
336,
21699,
5621,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
780,
336,
21699,
5621,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return "pvtMsgDetail";
|
return SELECTED_MESSAGE_PG;
|
public String processPvtMsgDetail() { LOG.debug("processPvtMsgDetail()"); String msgId=getExternalParameterByKey("current_msg_detail"); setCurrentMsgUuid(msgId) ; //retrive the detail for this message with currentMessageId for (Iterator iter = decoratedPvtMsgs.iterator(); iter.hasNext();) { PrivateMessageDecoratedBean dMsg= (PrivateMessageDecoratedBean) iter.next(); if (dMsg.getMsg().getId().equals(new Long(msgId))) { this.setDetailMsg(dMsg); prtMsgManager.markMessageAsReadForUser(dMsg.getMsg()); PrivateMessage initPrivateMessage = prtMsgManager.initMessageWithAttachmentsAndRecipients(dMsg.getMsg()); this.setDetailMsg(new PrivateMessageDecoratedBean(initPrivateMessage)); List recLs= initPrivateMessage.getRecipients(); for (Iterator iterator = recLs.iterator(); iterator.hasNext();) { PrivateMessageRecipient element = (PrivateMessageRecipient) iterator.next(); if (element != null) { if((element.getRead().booleanValue()) || (element.getUserId().equals(getUserId())) ) { getDetailMsg().setHasRead(true) ; } } } //ADD the recipientText here this.getDetailMsg().getMsg().setRecipientsAsText(dMsg.getMsg().getRecipientsAsText()); } } this.deleteConfirm=false; //reset this as used for multiple action in same JSP //prev/next message if(decoratedPvtMsgs != null) { for(int i=0; i<decoratedPvtMsgs.size(); i++) { PrivateMessageDecoratedBean thisDmb = (PrivateMessageDecoratedBean)decoratedPvtMsgs.get(i); if(((PrivateMessageDecoratedBean)decoratedPvtMsgs.get(i)).getMsg().getId().toString().equals(msgId)) { detailMsg.setDepth(thisDmb.getDepth()); detailMsg.setHasNext(thisDmb.getHasNext()); detailMsg.setHasPre(thisDmb.getHasPre()); break; } } } //default setting for moveTo moveToTopic=selectedTopicId; return "pvtMsgDetail"; }
|
2021 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2021/31f059d4c004601241a992d38669d08dc47f709b/PrivateMessagesTool.java/buggy/msgcntr/messageforums-app/src/java/org/sakaiproject/tool/messageforums/PrivateMessagesTool.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
1207,
27615,
3332,
6109,
1435,
288,
565,
2018,
18,
4148,
2932,
2567,
27615,
3332,
6109,
1435,
8863,
3639,
514,
1234,
548,
33,
588,
6841,
1662,
14560,
2932,
2972,
67,
3576,
67,
8992,
8863,
565,
12589,
3332,
5897,
12,
3576,
548,
13,
274,
377,
368,
266,
313,
688,
326,
7664,
364,
333,
883,
598,
783,
30550,
3639,
364,
261,
3198,
1400,
273,
13816,
27615,
17949,
18,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
565,
288,
1377,
8726,
1079,
7859,
690,
3381,
302,
3332,
33,
261,
6014,
1079,
7859,
690,
3381,
13,
1400,
18,
4285,
5621,
1377,
309,
261,
72,
3332,
18,
588,
3332,
7675,
26321,
7675,
14963,
12,
2704,
3407,
12,
3576,
548,
20349,
1377,
288,
3639,
333,
18,
542,
6109,
3332,
12,
72,
3332,
1769,
1171,
20976,
3332,
1318,
18,
3355,
1079,
1463,
1994,
19894,
12,
72,
3332,
18,
588,
3332,
10663,
15604,
8726,
1079,
1208,
6014,
1079,
273,
20976,
3332,
1318,
18,
2738,
1079,
1190,
12961,
1876,
22740,
12,
72,
3332,
18,
588,
3332,
10663,
3639,
333,
18,
542,
6109,
3332,
12,
2704,
8726,
1079,
7859,
690,
3381,
12,
2738,
6014,
1079,
10019,
7734,
987,
1950,
48,
87,
33,
1208,
6014,
1079,
18,
588,
22740,
5621,
3639,
364,
261,
3198,
2775,
273,
1950,
48,
87,
18,
9838,
5621,
2775,
18,
5332,
2134,
5621,
13,
3639,
288,
1850,
8726,
1079,
18241,
930,
273,
261,
6014,
1079,
18241,
13,
2775,
18,
4285,
5621,
1850,
309,
261,
2956,
480,
446,
13,
1850,
288,
5411,
309,
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,
1207,
27615,
3332,
6109,
1435,
288,
565,
2018,
18,
4148,
2932,
2567,
27615,
3332,
6109,
1435,
8863,
3639,
514,
1234,
548,
33,
588,
6841,
1662,
14560,
2932,
2972,
67,
3576,
67,
8992,
8863,
565,
12589,
3332,
5897,
12,
3576,
548,
13,
274,
377,
368,
266,
313,
688,
326,
7664,
364,
333,
883,
598,
783,
30550,
3639,
364,
261,
3198,
1400,
273,
13816,
27615,
17949,
18,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
565,
288,
1377,
8726,
1079,
7859,
690,
3381,
302,
3332,
33,
261,
6014,
1079,
7859,
690,
3381,
13,
1400,
18,
4285,
5621,
1377,
309,
261,
72,
3332,
18,
588,
3332,
7675,
26321,
7675,
14963,
12,
2704,
3407,
12,
3576,
548,
20349,
1377,
288,
2
] |
IClasspathEntry entry= JavaCore.getClasspathVariable(name);
|
IClasspathEntry entry= JavaCore.getResolvedClasspathVariable(cpentry.getPath());
|
public String getText(Object element) { if (element instanceof CPListElement) { CPListElement cpentry= (CPListElement)element; IResource resource= cpentry.getResource(); switch (cpentry.getEntryKind()) { case IClasspathEntry.CPE_LIBRARY: { IPath path= cpentry.getPath(); if (cpentry.getResource() instanceof IFolder) { StringBuffer buf= new StringBuffer(path.toString()); buf.append(' '); buf.append(fClassLabel); if (!resource.exists()) { buf.append(' '); buf.append(fNewLabel); } return buf.toString(); } else { return path.lastSegment() + " - " + path.removeLastSegments(1).toString(); } } case IClasspathEntry.CPE_VARIABLE: { String name= cpentry.getPath().makeRelative().toString(); StringBuffer buf= new StringBuffer(name); IClasspathEntry entry= JavaCore.getClasspathVariable(name); if (entry != null) { buf.append(" - "); // resolve path.... IPath pathExtension= cpentry.getPath().removeFirstSegments(1); buf.append(entry.getPath().append(pathExtension)); } return buf.toString(); } case IClasspathEntry.CPE_PROJECT: return cpentry.getPath().lastSegment(); case IClasspathEntry.CPE_SOURCE: { StringBuffer buf= new StringBuffer(cpentry.getPath().toString()); if (!resource.exists()) { buf.append(' '); buf.append(fNewLabel); } return buf.toString(); } } } return super.getText(element); }
|
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/9f7cccd5adde81caeed18d82cd2b07e2a17aee49/CPListLabelProvider.java/buggy/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPListLabelProvider.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
6701,
12,
921,
930,
13,
288,
202,
202,
430,
261,
2956,
1276,
5181,
682,
1046,
13,
288,
1082,
202,
4258,
682,
1046,
276,
1907,
698,
33,
261,
4258,
682,
1046,
13,
2956,
31,
1082,
202,
45,
1420,
1058,
33,
276,
1907,
698,
18,
588,
1420,
5621,
1082,
202,
9610,
261,
71,
1907,
698,
18,
588,
1622,
5677,
10756,
288,
9506,
202,
3593,
467,
17461,
1622,
18,
39,
1423,
67,
2053,
28254,
30,
288,
6862,
202,
45,
743,
589,
33,
276,
1907,
698,
18,
588,
743,
5621,
6862,
202,
430,
261,
71,
1907,
698,
18,
588,
1420,
1435,
1276,
467,
3899,
13,
288,
25083,
202,
780,
1892,
1681,
33,
394,
6674,
12,
803,
18,
10492,
10663,
25083,
202,
4385,
18,
6923,
2668,
28005,
25083,
202,
4385,
18,
6923,
12,
74,
797,
2224,
1769,
25083,
202,
430,
16051,
3146,
18,
1808,
10756,
288,
6862,
1082,
202,
4385,
18,
6923,
2668,
28005,
6862,
1082,
202,
4385,
18,
6923,
12,
74,
1908,
2224,
1769,
25083,
202,
97,
25083,
202,
2463,
1681,
18,
10492,
5621,
6862,
202,
97,
469,
288,
25083,
202,
2463,
589,
18,
2722,
4131,
1435,
397,
315,
300,
315,
397,
589,
18,
4479,
3024,
7946,
12,
21,
2934,
10492,
5621,
6862,
202,
97,
9506,
202,
97,
9506,
202,
3593,
467,
17461,
1622,
18,
39,
1423,
67,
16444,
30,
288,
6862,
202,
780,
508,
33,
276,
1907,
698,
18,
588,
743,
7675,
6540,
8574,
7675,
10492,
5621,
6862,
202,
780,
1892,
1681,
33,
394,
6674,
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,
482,
514,
6701,
12,
921,
930,
13,
288,
202,
202,
430,
261,
2956,
1276,
5181,
682,
1046,
13,
288,
1082,
202,
4258,
682,
1046,
276,
1907,
698,
33,
261,
4258,
682,
1046,
13,
2956,
31,
1082,
202,
45,
1420,
1058,
33,
276,
1907,
698,
18,
588,
1420,
5621,
1082,
202,
9610,
261,
71,
1907,
698,
18,
588,
1622,
5677,
10756,
288,
9506,
202,
3593,
467,
17461,
1622,
18,
39,
1423,
67,
2053,
28254,
30,
288,
6862,
202,
45,
743,
589,
33,
276,
1907,
698,
18,
588,
743,
5621,
6862,
202,
430,
261,
71,
1907,
698,
18,
588,
1420,
1435,
1276,
467,
3899,
13,
288,
25083,
202,
780,
1892,
1681,
33,
394,
6674,
12,
803,
18,
10492,
10663,
2
] |
String numRecInfo() { long elapsed = (System.currentTimeMillis() - startTime_)/1000; long total = numRecRead_+numRecWritten_+numRecSkipped_; return "R/W/S=" + numRecRead_+"/"+numRecWritten_+"/"+numRecSkipped_ + " in:" + safeDiv(numRecRead_, elapsed) + " [rec/s]" + " out:" + safeDiv(numRecWritten_, elapsed) + " [rec/s]";
|
String numRecInfo() { long elapsed = (System.currentTimeMillis() - startTime_) / 1000; long total = numRecRead_ + numRecWritten_ + numRecSkipped_; return "R/W/S=" + numRecRead_ + "/" + numRecWritten_ + "/" + numRecSkipped_ + " in:" + safeDiv(numRecRead_, elapsed) + " [rec/s]" + " out:" + safeDiv(numRecWritten_, elapsed) + " [rec/s]";
|
String numRecInfo() { long elapsed = (System.currentTimeMillis() - startTime_)/1000; long total = numRecRead_+numRecWritten_+numRecSkipped_; return "R/W/S=" + numRecRead_+"/"+numRecWritten_+"/"+numRecSkipped_ + " in:" + safeDiv(numRecRead_, elapsed) + " [rec/s]" + " out:" + safeDiv(numRecWritten_, elapsed) + " [rec/s]"; }
|
51718 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51718/e10b40e8014547113799b2653164e8c990d41209/PipeMapRed.java/buggy/src/contrib/streaming/src/java/org/apache/hadoop/streaming/PipeMapRed.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
514,
818,
5650,
966,
1435,
225,
288,
565,
1525,
9613,
273,
261,
3163,
18,
2972,
28512,
1435,
300,
8657,
67,
13176,
18088,
31,
565,
1525,
2078,
273,
818,
5650,
1994,
67,
15,
2107,
5650,
12643,
67,
15,
2107,
5650,
16425,
67,
31,
565,
327,
315,
54,
19,
59,
19,
55,
1546,
397,
818,
5650,
1994,
67,
9078,
4898,
15,
2107,
5650,
12643,
67,
9078,
4898,
15,
2107,
5650,
16425,
67,
377,
397,
315,
316,
2773,
225,
397,
4183,
7244,
12,
2107,
5650,
1994,
67,
16,
9613,
13,
397,
315,
306,
3927,
19,
87,
4279,
377,
397,
315,
596,
2773,
397,
4183,
7244,
12,
2107,
5650,
12643,
67,
16,
9613,
13,
397,
315,
306,
3927,
19,
87,
4279,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
514,
818,
5650,
966,
1435,
225,
288,
565,
1525,
9613,
273,
261,
3163,
18,
2972,
28512,
1435,
300,
8657,
67,
13176,
18088,
31,
565,
1525,
2078,
273,
818,
5650,
1994,
67,
15,
2107,
5650,
12643,
67,
15,
2107,
5650,
16425,
67,
31,
565,
327,
315,
54,
19,
59,
19,
55,
1546,
397,
818,
5650,
1994,
67,
9078,
4898,
15,
2107,
5650,
12643,
67,
9078,
4898,
15,
2107,
5650,
16425,
67,
377,
397,
315,
316,
2773,
225,
397,
4183,
7244,
12,
2107,
5650,
1994,
67,
16,
9613,
13,
397,
315,
306,
3927,
19,
87,
4279,
377,
397,
315,
596,
2773,
397,
4183,
7244,
12,
2107,
5650,
12643,
67,
16,
9613,
13,
397,
315,
306,
3927,
19,
87,
4279,
31,
2
] |
alt49=5;
|
alt50=5;
|
public ArgumentValueDescr argument_value() throws RecognitionException { ArgumentValueDescr value; Token t=null; value = null; String text = null; try { // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:784:17: ( (t= STRING | t= INT | t= FLOAT | t= BOOL | t= ID | t= 'null' ) ) // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:784:17: (t= STRING | t= INT | t= FLOAT | t= BOOL | t= ID | t= 'null' ) { // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:784:17: (t= STRING | t= INT | t= FLOAT | t= BOOL | t= ID | t= 'null' ) int alt49=6; switch ( input.LA(1) ) { case STRING: alt49=1; break; case INT: alt49=2; break; case FLOAT: alt49=3; break; case BOOL: alt49=4; break; case ID: alt49=5; break; case 43: alt49=6; break; default: NoViableAltException nvae = new NoViableAltException("784:17: (t= STRING | t= INT | t= FLOAT | t= BOOL | t= ID | t= \'null\' )", 49, 0, input); throw nvae; } switch (alt49) { case 1 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:784:25: t= STRING { t=(Token)input.LT(1); match(input,STRING,FOLLOW_STRING_in_argument_value1844); text = getString( t ); value=new ArgumentValueDescr(ArgumentValueDescr.STRING, text); } break; case 2 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:785:25: t= INT { t=(Token)input.LT(1); match(input,INT,FOLLOW_INT_in_argument_value1855); text = t.getText(); value=new ArgumentValueDescr(ArgumentValueDescr.INTEGRAL, text); } break; case 3 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:786:25: t= FLOAT { t=(Token)input.LT(1); match(input,FLOAT,FOLLOW_FLOAT_in_argument_value1868); text = t.getText(); value=new ArgumentValueDescr(ArgumentValueDescr.DECIMAL, text); } break; case 4 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:787:25: t= BOOL { t=(Token)input.LT(1); match(input,BOOL,FOLLOW_BOOL_in_argument_value1879); text = t.getText(); value=new ArgumentValueDescr(ArgumentValueDescr.BOOLEAN, text); } break; case 5 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:788:25: t= ID { t=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_argument_value1891); text = t.getText(); value=new ArgumentValueDescr(ArgumentValueDescr.VARIABLE, text); } break; case 6 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:789:25: t= 'null' { t=(Token)input.LT(1); match(input,43,FOLLOW_43_in_argument_value1902); text = "null"; value=new ArgumentValueDescr(ArgumentValueDescr.NULL, text); } break; } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return value; }
|
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/8c3be0baa8712893e2dea6fbb679cbb7e80de372/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5067,
620,
16198,
1237,
67,
1132,
1435,
1216,
9539,
288,
6647,
5067,
620,
16198,
460,
31,
3639,
3155,
268,
33,
2011,
31,
540,
202,
202,
1132,
273,
446,
31,
540,
202,
202,
780,
977,
273,
446,
31,
540,
202,
3639,
775,
288,
5411,
368,
342,
8712,
19,
81,
1354,
69,
292,
19,
13582,
19,
10649,
8464,
17,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
27,
5193,
30,
4033,
30,
261,
261,
88,
33,
9469,
571,
268,
33,
6137,
571,
268,
33,
15483,
571,
268,
33,
9784,
1741,
571,
268,
33,
1599,
571,
268,
33,
296,
2011,
11,
262,
262,
5411,
368,
342,
8712,
19,
81,
1354,
69,
292,
19,
13582,
19,
10649,
8464,
17,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
27,
5193,
30,
4033,
30,
261,
88,
33,
9469,
571,
268,
33,
6137,
571,
268,
33,
15483,
571,
268,
33,
9784,
1741,
571,
268,
33,
1599,
571,
268,
33,
296,
2011,
11,
262,
5411,
288,
5411,
368,
342,
8712,
19,
81,
1354,
69,
292,
19,
13582,
19,
10649,
8464,
17,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
27,
5193,
30,
4033,
30,
261,
88,
33,
9469,
571,
268,
33,
6137,
571,
268,
33,
15483,
571,
268,
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,
5067,
620,
16198,
1237,
67,
1132,
1435,
1216,
9539,
288,
6647,
5067,
620,
16198,
460,
31,
3639,
3155,
268,
33,
2011,
31,
540,
202,
202,
1132,
273,
446,
31,
540,
202,
202,
780,
977,
273,
446,
31,
540,
202,
3639,
775,
288,
5411,
368,
342,
8712,
19,
81,
1354,
69,
292,
19,
13582,
19,
10649,
8464,
17,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
27,
5193,
30,
4033,
30,
261,
261,
88,
33,
9469,
571,
268,
33,
6137,
571,
268,
33,
15483,
571,
268,
33,
9784,
1741,
571,
268,
33,
1599,
571,
268,
33,
296,
2011,
11,
262,
262,
5411,
368,
2
] |
writePatternList(-1, 0, writer);
|
writer.writeComment("The unique patterns for codon position "+from); id += Integer.toString(from);
|
public void writePatternList(XMLWriter writer) { writer.writeText(""); if (alignment.getDataType() == Nucleotides.INSTANCE && codonHetero) { for (int i = 1; i <= 3; i++) { writePatternList(i, 3, writer); } } else { writePatternList(-1, 0, writer); } }
|
49053 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49053/7eb182fdc6ec6132f284563d4a12000c84e4a277/BeastGenerator.java/buggy/trunk/src/dr/app/beauti/BeastGenerator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1045,
3234,
682,
12,
4201,
2289,
2633,
13,
288,
3639,
2633,
18,
2626,
1528,
2932,
8863,
3639,
309,
261,
14409,
18,
588,
6273,
1435,
422,
20123,
18493,
4369,
18,
13341,
597,
25349,
44,
847,
83,
13,
288,
5411,
364,
261,
474,
277,
273,
404,
31,
277,
1648,
890,
31,
277,
27245,
288,
1045,
3234,
682,
12,
77,
16,
890,
16,
2633,
1769,
289,
3639,
289,
469,
288,
5411,
2633,
18,
2626,
4469,
2932,
1986,
3089,
6884,
364,
25349,
1754,
13773,
2080,
1769,
612,
1011,
2144,
18,
10492,
12,
2080,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1045,
3234,
682,
12,
4201,
2289,
2633,
13,
288,
3639,
2633,
18,
2626,
1528,
2932,
8863,
3639,
309,
261,
14409,
18,
588,
6273,
1435,
422,
20123,
18493,
4369,
18,
13341,
597,
25349,
44,
847,
83,
13,
288,
5411,
364,
261,
474,
277,
273,
404,
31,
277,
1648,
890,
31,
277,
27245,
288,
1045,
3234,
682,
12,
77,
16,
890,
16,
2633,
1769,
289,
3639,
289,
469,
288,
5411,
2633,
18,
2626,
4469,
2932,
1986,
3089,
6884,
364,
25349,
1754,
13773,
2080,
1769,
612,
1011,
2144,
18,
10492,
12,
2080,
1769,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (typeCode == OBJ_DELTA) {
|
if (typeCode == OBJ_DELTA) {
|
private PackedObjectReader reader() throws IOException { final int typeCode; final String typeStr; ObjectId deltaBase = null; final long offset; int c; long size; int shift; c = packStream.xuint8(); typeCode = (c >> 4) & 7; size = c & 15; shift = 4; while ((c & 0x80) != 0) { c = packStream.xuint8(); size += (c & 0x7f) << shift; shift += 7; } switch (typeCode) { case OBJ_EXT: throw new IOException("Extended object types not supported."); case OBJ_COMMIT: typeStr = Constants.TYPE_COMMIT; break; case OBJ_TREE: typeStr = Constants.TYPE_TREE; break; case OBJ_BLOB: typeStr = Constants.TYPE_BLOB; break; case OBJ_TAG: typeStr = Constants.TYPE_TAG; break; case OBJ_TYPE_5: throw new IOException("Object type 5 not supported."); case OBJ_TYPE_6: throw new IOException("Object type 6 not supported."); case OBJ_DELTA: typeStr = null; break; default: throw new IOException("Unknown object type " + typeCode + "."); } if (typeCode == OBJ_DELTA) { deltaBase = new ObjectId(packStream .xread(Constants.OBJECT_ID_LENGTH)); } offset = packStream.position(); return new PackedObjectReader(this, typeStr, size, offset, deltaBase); }
|
45532 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45532/95e2adba28c9a11f01009dd846fb7366bec613c5/PackReader.java/buggy/org.spearce.jgit/src/org/spearce/jgit/lib/PackReader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
7930,
23016,
2514,
2949,
1435,
1216,
1860,
288,
3639,
727,
509,
618,
1085,
31,
3639,
727,
514,
618,
1585,
31,
3639,
21192,
3622,
2171,
273,
446,
31,
3639,
727,
1525,
1384,
31,
3639,
509,
276,
31,
3639,
1525,
963,
31,
3639,
509,
4654,
31,
3639,
276,
273,
2298,
1228,
18,
92,
11890,
28,
5621,
3639,
618,
1085,
273,
261,
71,
1671,
1059,
13,
473,
2371,
31,
3639,
963,
273,
276,
473,
4711,
31,
3639,
4654,
273,
1059,
31,
3639,
1323,
14015,
71,
473,
374,
92,
3672,
13,
480,
374,
13,
288,
5411,
276,
273,
2298,
1228,
18,
92,
11890,
28,
5621,
5411,
963,
1011,
261,
71,
473,
374,
92,
27,
74,
13,
2296,
4654,
31,
5411,
4654,
1011,
2371,
31,
3639,
289,
3639,
1620,
261,
723,
1085,
13,
288,
3639,
648,
9730,
46,
67,
4142,
30,
5411,
604,
394,
1860,
2932,
11456,
733,
1953,
486,
3260,
1199,
1769,
3639,
648,
9730,
46,
67,
18658,
30,
5411,
618,
1585,
273,
5245,
18,
2399,
67,
18658,
31,
5411,
898,
31,
3639,
648,
9730,
46,
67,
26557,
30,
5411,
618,
1585,
273,
5245,
18,
2399,
67,
26557,
31,
5411,
898,
31,
3639,
648,
9730,
46,
67,
38,
6038,
30,
5411,
618,
1585,
273,
5245,
18,
2399,
67,
38,
6038,
31,
5411,
898,
31,
3639,
648,
9730,
46,
67,
7927,
30,
5411,
618,
1585,
273,
5245,
18,
2399,
67,
7927,
31,
5411,
898,
31,
3639,
648,
9730,
46,
67,
2399,
67,
25,
30,
5411,
604,
394,
1860,
2932,
921,
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,
7930,
23016,
2514,
2949,
1435,
1216,
1860,
288,
3639,
727,
509,
618,
1085,
31,
3639,
727,
514,
618,
1585,
31,
3639,
21192,
3622,
2171,
273,
446,
31,
3639,
727,
1525,
1384,
31,
3639,
509,
276,
31,
3639,
1525,
963,
31,
3639,
509,
4654,
31,
3639,
276,
273,
2298,
1228,
18,
92,
11890,
28,
5621,
3639,
618,
1085,
273,
261,
71,
1671,
1059,
13,
473,
2371,
31,
3639,
963,
273,
276,
473,
4711,
31,
3639,
4654,
273,
1059,
31,
3639,
1323,
14015,
71,
473,
374,
92,
3672,
13,
480,
374,
13,
288,
5411,
276,
273,
2298,
1228,
18,
92,
11890,
28,
5621,
5411,
963,
1011,
261,
71,
473,
374,
92,
27,
74,
13,
2296,
4654,
31,
5411,
4654,
2
] |
case 43: break;
|
case 44: break;
|
public Yytoken yylex() throws java.io.IOException { int zzInput; int zzAction; // cached fields: int zzCurrentPosL; int zzMarkedPosL; int zzEndReadL = zzEndRead; char [] zzBufferL = zzBuffer; char [] zzCMapL = ZZ_CMAP; int [] zzTransL = ZZ_TRANS; int [] zzRowMapL = ZZ_ROWMAP; int [] zzAttrL = ZZ_ATTRIBUTE; while (true) { zzMarkedPosL = zzMarkedPos; zzAction = -1; zzCurrentPosL = zzCurrentPos = zzStartRead = zzMarkedPosL; zzState = zzLexicalState; zzForAction: { while (true) { if (zzCurrentPosL < zzEndReadL) zzInput = zzBufferL[zzCurrentPosL++]; else if (zzAtEOF) { zzInput = YYEOF; break zzForAction; } else { // store back cached positions zzCurrentPos = zzCurrentPosL; zzMarkedPos = zzMarkedPosL; boolean eof = zzRefill(); // get translated positions and possibly new buffer zzCurrentPosL = zzCurrentPos; zzMarkedPosL = zzMarkedPos; zzBufferL = zzBuffer; zzEndReadL = zzEndRead; if (eof) { zzInput = YYEOF; break zzForAction; } else { zzInput = zzBufferL[zzCurrentPosL++]; } } int zzNext = zzTransL[ zzRowMapL[zzState] + zzCMapL[zzInput] ]; if (zzNext == -1) break zzForAction; zzState = zzNext; int zzAttributes = zzAttrL[zzState]; if ( (zzAttributes & 1) == 1 ) { zzAction = zzState; zzMarkedPosL = zzCurrentPosL; if ( (zzAttributes & 8) == 8 ) break zzForAction; } } } // store back cached position zzMarkedPos = zzMarkedPosL; switch (zzAction < 0 ? zzAction : ZZ_ACTION[zzAction]) { case 18: { String s = yytext(); w.write(s); if(debug) log("Matched unicode: "+s); } case 31: break; case 8: { String s = yytext(); w.write(s); if(debug) log("Matched close braces: "+s); } case 32: break; case 21: { String s = yytext(); w.write(s); if(debug) log("Matched HTML comment: "+s); } case 33: break; case 15: { String s = yytext(); w.write(s); if(debug) log("Matched ~=: "+s); } case 34: break; case 12: { String s = yytext(); if(debug) log("Matched string: "+s); if(paranoidStringCheck && s.indexOf(':') != -1) { w.write("/* Deleted disallowed string */"); log("Deleted disallowed string: "+s); } else { w.write(s); } } case 35: break; case 24: { String s = yytext(); w.write(s); if(debug) log("Matched @page: "+s); } case 36: break; case 13: { String s = yytext(); w.write(s); if(debug) log("Matched number: "+s); } case 37: break; case 1: { String s = yytext(); char c = s.charAt(0); log("Matched anything: "+yytext()+" - ignoring"); w.write("/* ignored unmatched char: "+c+" */"); // single char cannot break out of comment } case 38: break; case 6: { String s = yytext(); w.write(s); if(debug) log("Matched semicolon: "+s); } case 39: break; case 19: { String s = yytext(); if(debug) log("Got hexcolor: "+s); w.write(s); } case 40: break; case 7: { String s = yytext(); w.write(s); if(debug) log("Matched open braces: "+s); } case 41: break; case 2: { String s = yytext(); w.write(s); if(debug) log("Matched ident: "+s); } case 42: break; case 23: { String s = yytext(); w.write(s); if(debug) log("Matched unicode range: "+s); } case 43: break; case 28: { String s = yytext(); w.write(s); if(debug) log("Matched @font-face: "+s); } case 44: break; case 9: { String s = yytext(); if(s.startsWith("url")) throwError("Invalid contents of url()"); w.write(s); if(debug) log("Matched function start: "+s); } case 45: break; case 17: { String s = yytext(); w.write(s); if(debug) log("Matched HTML comment: "+s); } case 46: break; case 3: { String s = yytext(); w.write(s); if(debug) log("Matched whitespace: "+s); } case 47: break; case 22: { String s = yytext(); if(debug) log("Ignoring unrecognizable url: "+s); w.write("/* Ignoring unmatchable URL */url()"); } case 48: break; case 27: { String s = yytext(); if(debug) log("Found @import: "+s); s = s.substring("@import".length()); s = s.trim(); DecodedStringThingy dst = new DecodedStringThingy(s); s = dst.data; if(debug) log("URL: "+s); s = processImportURL(s); dst.data = s; if(debug) log("Processed URL: "+s); if(dst.quote == ' ') dst.quote = '\"'; if (!(s == null || s.equals(""))) { if(debug) log("URL now: "+s); s = "@import "+dst.toString(); if(debug) log("Writing: "+s); w.write(s); } else if(debug) log("Dropped @import"); } case 49: break; case 29: { String s = yytext(); w.write(s); if(debug) log("Matched important: "+s); } case 50: break; case 20: { String s = yytext(); StringBuffer sb = new StringBuffer(s.length()); sb.append("/* "); boolean inPrefix = true; for(int i=2;i<s.length()-2;i++) { char c = s.charAt(i); if(inPrefix && Character.isWhitespace(c)) { continue; } inPrefix = false; if(Character.isDigit(c) || Character.isWhitespace(c) || Character.isLetter(c) || c == '.' || c == '_' || c == '-') { // No @, no !, etc; IE has been known to do things with comments // in CSS, and other browsers may too sb.append(c); } } while(Character.isWhitespace(sb.charAt(sb.length()-1))) sb.deleteCharAt(sb.length()-1); sb.append(" */"); w.write(sb.toString()); if(debug) log("Matched comment: "+s+" -> "+sb.toString()); } case 51: break; case 25: { // This is horrible. However it seems that there is no other way to do it with either jflex or CUP, as {URL} cannot be an unambiguous token :( String s = yytext(); if(debug) log("Recognized URL: "+s); DecodedStringThingy dst = new DecodedStringThingy(s); if(!dst.url) { throw new IllegalStateException("parsing url().. isn't a url()"); } if(dst.suffix.length() > 0) { yypushback(dst.suffix.length()); dst.suffix = ""; } s = dst.data; if(debug) log("URL now: "+s); s = processURL(s); dst.data = s; if(s == null || s.equals("")) { if(debug) log("URL invalid"); w.write("url()"); } else { s = dst.toString(); if(debug) log("Writing: "+s); w.write(s); } } case 52: break; case 11: { String s = yytext(); w.write(s); if(debug) log("Matched measurement: "+s); } case 53: break; case 16: { String s = yytext(); w.write(s); if(debug) log("Matched |=: "+s); } case 54: break; case 30: { String s = yytext(); detectedCharset = s; if(debug) log("Matched and ignoring charset: "+s); // Ignore } case 55: break; case 10: { if(postBadImportFlag) { // Ignore postBadImportFlag = false; if(debug) log("Ignoring mediums list because after bad import: "+ yytext()); } else { String s = yytext(); w.write(s); if(debug) log("Matched and passing on mediums list: "+s); } } case 56: break; case 26: { String s = yytext(); s = s.substring("@media".length()).trim(); w.write("@media "+s); if(debug) log("Matched @media: "+s); } case 57: break; case 4: { String s = yytext(); w.write(s); if(debug) log("Matched single char: "+s); } case 58: break; case 14: { String s = yytext(); w.write(s); if(debug) log("Matched #name: "+s); } case 59: break; case 5: { String s = yytext(); w.write(s); if(debug) log("Matched function end: "+s); } case 60: break; default: if (zzInput == YYEOF && zzStartRead == zzCurrentPos) { zzAtEOF = true; return null; } else { zzScanError(ZZ_NO_MATCH); } } } }
|
8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/0704f93643187b0aba45fa8c09ca25a3fa9173bb/CSSTokenizerFilter.java/clean/src/freenet/clients/http/filter/CSSTokenizerFilter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1624,
93,
2316,
677,
1362,
92,
1435,
1216,
2252,
18,
1594,
18,
14106,
288,
565,
509,
11273,
1210,
31,
565,
509,
11273,
1803,
31,
565,
368,
3472,
1466,
30,
565,
509,
11273,
3935,
1616,
48,
31,
565,
509,
11273,
21486,
1616,
48,
31,
565,
509,
11273,
1638,
1994,
48,
273,
11273,
1638,
1994,
31,
565,
1149,
5378,
11273,
1892,
48,
273,
11273,
1892,
31,
565,
1149,
5378,
11273,
39,
863,
48,
273,
2285,
62,
67,
39,
8352,
31,
565,
509,
5378,
11273,
1429,
48,
273,
2285,
62,
67,
16596,
31,
565,
509,
5378,
11273,
1999,
863,
48,
273,
2285,
62,
67,
11226,
8352,
31,
565,
509,
5378,
11273,
3843,
48,
273,
2285,
62,
67,
11616,
31,
565,
1323,
261,
3767,
13,
288,
1377,
11273,
21486,
1616,
48,
273,
11273,
21486,
1616,
31,
1377,
11273,
1803,
273,
300,
21,
31,
1377,
11273,
3935,
1616,
48,
273,
11273,
3935,
1616,
273,
11273,
1685,
1994,
273,
11273,
21486,
1616,
48,
31,
3639,
11273,
1119,
273,
11273,
14756,
1706,
1119,
31,
1377,
11273,
1290,
1803,
30,
288,
3639,
1323,
261,
3767,
13,
288,
2868,
309,
261,
6378,
3935,
1616,
48,
411,
11273,
1638,
1994,
48,
13,
5411,
11273,
1210,
273,
11273,
1892,
48,
63,
6378,
3935,
1616,
48,
9904,
15533,
1850,
469,
309,
261,
6378,
861,
12706,
13,
288,
5411,
11273,
1210,
273,
1624,
61,
12706,
31,
5411,
898,
11273,
1290,
1803,
31,
1850,
289,
1850,
469,
288,
5411,
368,
1707,
1473,
3472,
6865,
5411,
11273,
3935,
1616,
225,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1624,
93,
2316,
677,
1362,
92,
1435,
1216,
2252,
18,
1594,
18,
14106,
288,
565,
509,
11273,
1210,
31,
565,
509,
11273,
1803,
31,
565,
368,
3472,
1466,
30,
565,
509,
11273,
3935,
1616,
48,
31,
565,
509,
11273,
21486,
1616,
48,
31,
565,
509,
11273,
1638,
1994,
48,
273,
11273,
1638,
1994,
31,
565,
1149,
5378,
11273,
1892,
48,
273,
11273,
1892,
31,
565,
1149,
5378,
11273,
39,
863,
48,
273,
2285,
62,
67,
39,
8352,
31,
565,
509,
5378,
11273,
1429,
48,
273,
2285,
62,
67,
16596,
31,
565,
509,
5378,
11273,
1999,
863,
48,
273,
2285,
62,
67,
11226,
8352,
31,
565,
509,
5378,
11273,
3843,
48,
273,
2285,
62,
67,
11616,
31,
565,
2
] |
Set checkedMethods) {
|
Set<MethodSignature> checkedMethods) {
|
private boolean newExpressionMustAssignVariable(PsiExpression expression, PsiVariable field, Set checkedMethods) { final PsiNewExpression callExpression = (PsiNewExpression) expression; final PsiExpressionList argumentList = callExpression.getArgumentList(); if (argumentList != null) { final PsiExpression[] args = argumentList.getExpressions(); for (int i = 0; i < args.length; i++) { final PsiExpression arg = args[i]; if (expressionMustAssignVariable(field, arg, checkedMethods)) { return true; } } } final PsiArrayInitializerExpression arrayInitializer = callExpression.getArrayInitializer(); if (expressionMustAssignVariable(field, arrayInitializer, checkedMethods)) { return true; } final PsiExpression[] arrayDimensions = callExpression.getArrayDimensions(); if (arrayDimensions != null) { for (int i = 0; i < arrayDimensions.length; i++) { final PsiExpression dim = arrayDimensions[i]; if (expressionMustAssignVariable(field, dim, checkedMethods)) { return true; } } } return false; }
|
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/2d46d291193579a7564649b4881c7ea8e02eda5b/InitializationReadUtils.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/psiutils/InitializationReadUtils.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
394,
2300,
10136,
4910,
3092,
12,
52,
7722,
2300,
2652,
16,
4766,
10792,
453,
7722,
3092,
652,
16,
4766,
10792,
1000,
32,
1305,
5374,
34,
5950,
4712,
13,
288,
3639,
727,
453,
7722,
1908,
2300,
745,
2300,
273,
7734,
261,
52,
7722,
1908,
2300,
13,
2652,
31,
3639,
727,
453,
7722,
2300,
682,
1237,
682,
273,
745,
2300,
18,
588,
1379,
682,
5621,
3639,
309,
261,
3446,
682,
480,
446,
13,
288,
5411,
727,
453,
7722,
2300,
8526,
833,
273,
1237,
682,
18,
588,
8927,
5621,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
833,
18,
2469,
31,
277,
27245,
288,
7734,
727,
453,
7722,
2300,
1501,
273,
833,
63,
77,
15533,
7734,
309,
261,
8692,
10136,
4910,
3092,
12,
1518,
16,
1501,
16,
5950,
4712,
3719,
288,
10792,
327,
638,
31,
7734,
289,
5411,
289,
3639,
289,
3639,
727,
453,
7722,
1076,
14729,
2300,
526,
14729,
273,
745,
2300,
18,
588,
1076,
14729,
5621,
3639,
309,
261,
8692,
10136,
4910,
3092,
12,
1518,
16,
526,
14729,
16,
5950,
4712,
3719,
288,
5411,
327,
638,
31,
3639,
289,
3639,
727,
453,
7722,
2300,
8526,
526,
10796,
273,
745,
2300,
18,
588,
1076,
10796,
5621,
3639,
309,
261,
1126,
10796,
480,
446,
13,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
526,
10796,
18,
2469,
31,
277,
27245,
288,
7734,
727,
453,
7722,
2300,
2464,
273,
526,
10796,
63,
77,
15533,
7734,
309,
261,
8692,
10136,
4910,
3092,
12,
1518,
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,
1250,
394,
2300,
10136,
4910,
3092,
12,
52,
7722,
2300,
2652,
16,
4766,
10792,
453,
7722,
3092,
652,
16,
4766,
10792,
1000,
32,
1305,
5374,
34,
5950,
4712,
13,
288,
3639,
727,
453,
7722,
1908,
2300,
745,
2300,
273,
7734,
261,
52,
7722,
1908,
2300,
13,
2652,
31,
3639,
727,
453,
7722,
2300,
682,
1237,
682,
273,
745,
2300,
18,
588,
1379,
682,
5621,
3639,
309,
261,
3446,
682,
480,
446,
13,
288,
5411,
727,
453,
7722,
2300,
8526,
833,
273,
1237,
682,
18,
588,
8927,
5621,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
833,
18,
2469,
31,
277,
27245,
288,
7734,
727,
453,
7722,
2300,
1501,
273,
833,
63,
77,
15533,
7734,
309,
2
] |
PostInputStream reqContent = new PostInputStream(input, length);
|
public java.util.Map act (Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters params) throws IOException {// File homedir = new File(System.getProperty("user.home")); File workfile = new File("c:/home/work/playground/wyona-cms/xopus", "xopus-temp.txt");// File workfile = new File(homedir, "xopus-temp.txt"); getLogger().debug("workfile="+workfile.getAbsoluteFile()); // Get request object Request request=(Request)objectModel.get(Constants.REQUEST_OBJECT); if(request == null){ getLogger().error ("No request object"); return null; } else { getLogger().debug ("SitemapURI = " + request.getSitemapURI()); } // Get session// Session session=request.getSession(true);// if(session == null){// getLogger().error("No session object");// return null;// } boolean appendFlag = true; PrintWriter out = new PrintWriter(new FileWriter(workfile.toString(), appendFlag)); HttpRequest httpReq = (HttpRequest) objectModel.get(HttpEnvironment.HTTP_REQUEST_OBJECT); InputStream input = httpReq.getInputStream(); int length = request.getContentLength(); PostInputStream reqContent = new PostInputStream(input, length); // Enumeration reqParams = request.getParameterNames();// String currParamName = null;// while (reqParams.hasMoreElements()) {// currParamName = (String)reqParams.nextElement();// out.println("Request Parameter: " + currParamName + " = " + request.getParameter(currParamName));// getLogger().debug("Request Parameter: " + currParamName + " = " + request.getParameter(currParamName));// }// Enumeration reqAttribs = request.getAttributeNames();// String currAttribName = null;// while (reqAttribs.hasMoreElements()) {// currAttribName = (String)reqAttribs.nextElement();// out.println("Request Attribute: " + currAttribName + " = " + request.getAttribute(currAttribName));// getLogger().debug("Request Attribute: " + currAttribName + " = " + request.getAttribute(currAttribName));// }// Enumeration reqHeaders = request.getHeaderNames();// String currHeaderName = null;// while (reqHeaders.hasMoreElements()) {// currHeaderName = (String)reqHeaders.nextElement();// out.println("Request Header: " + currHeaderName + " = " + request.getHeader(currHeaderName));// getLogger().debug("Request Header: " + currHeaderName + " = " + request.getHeader(currHeaderName));// } out.close(); Map sitemapParams = new HashMap(); sitemapParams.put("world", "hello");// Request request = (Request) objectModel.get(Constants.REQUEST_OBJECT);// // request.setAttribute("hello", "world"); return sitemapParams; }
|
45951 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45951/6999ba6da049d58d4186df6fa73c2252d2e0e58d/XopusHandlerAction.java/buggy/src/java/org/apache/lenya/cms/cocoon/acting/XopusHandlerAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2252,
18,
1367,
18,
863,
1328,
261,
5961,
280,
3136,
280,
16,
11794,
4998,
4301,
5039,
16,
11794,
1635,
733,
1488,
16,
11794,
514,
1084,
16,
11794,
7012,
859,
13,
18701,
1216,
1860,
288,
759,
377,
1387,
13995,
23210,
273,
394,
1387,
12,
3163,
18,
588,
1396,
2932,
1355,
18,
8712,
7923,
1769,
565,
1387,
1440,
768,
273,
394,
1387,
2932,
71,
27824,
8712,
19,
1252,
19,
1601,
2915,
19,
91,
93,
265,
69,
17,
6851,
19,
92,
556,
407,
3113,
315,
92,
556,
407,
17,
5814,
18,
5830,
8863,
759,
377,
1387,
1440,
768,
273,
394,
1387,
12,
17125,
23210,
16,
315,
92,
556,
407,
17,
5814,
18,
5830,
8863,
565,
7156,
7675,
4148,
2932,
1252,
768,
1546,
15,
1252,
768,
18,
588,
10368,
812,
10663,
565,
368,
968,
590,
733,
565,
1567,
590,
28657,
691,
13,
1612,
1488,
18,
588,
12,
2918,
18,
5519,
67,
9422,
1769,
565,
309,
12,
2293,
422,
446,
15329,
1377,
7156,
7675,
1636,
7566,
2279,
590,
733,
8863,
1377,
327,
446,
31,
565,
289,
565,
469,
288,
1377,
7156,
7675,
4148,
7566,
18487,
3098,
273,
315,
397,
590,
18,
588,
18487,
3098,
10663,
565,
289,
3639,
368,
968,
1339,
759,
377,
3877,
1339,
33,
2293,
18,
588,
2157,
12,
3767,
1769,
759,
377,
309,
12,
3184,
422,
446,
15329,
759,
4202,
7156,
7675,
1636,
2932,
2279,
1339,
733,
8863,
759,
4202,
327,
446,
31,
759,
377,
289,
565,
1250,
714,
4678,
273,
638,
31,
565,
14071,
596,
273,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2252,
18,
1367,
18,
863,
1328,
261,
5961,
280,
3136,
280,
16,
11794,
4998,
4301,
5039,
16,
11794,
1635,
733,
1488,
16,
11794,
514,
1084,
16,
11794,
7012,
859,
13,
18701,
1216,
1860,
288,
759,
377,
1387,
13995,
23210,
273,
394,
1387,
12,
3163,
18,
588,
1396,
2932,
1355,
18,
8712,
7923,
1769,
565,
1387,
1440,
768,
273,
394,
1387,
2932,
71,
27824,
8712,
19,
1252,
19,
1601,
2915,
19,
91,
93,
265,
69,
17,
6851,
19,
92,
556,
407,
3113,
315,
92,
556,
407,
17,
5814,
18,
5830,
8863,
759,
377,
1387,
1440,
768,
273,
394,
1387,
12,
17125,
23210,
16,
315,
92,
556,
407,
17,
5814,
18,
5830,
8863,
565,
7156,
7675,
4148,
2932,
1252,
2
] |
|
generatedIndex.addException(exception.getAttributeValue("id"), exception.getAttributeValue("reference"), exception.getAttributeValue("realm"));
|
generatedIndex.addException(exception.getAttributeValue("id"), exception.getAttributeValue("reference"), exception.getAttributeValue("realm"));
|
public static void main(final String[] args) throws IOException, JDOMException, ClassNotFoundException { // Show usage. if (args.length != 2) { System.out.println("Usage:\nSerializableIndexCreator indexFile outputFile"); return; } // Read index file. System.out.println("Reading file " + args[0]); final Element rootElement = (new SAXBuilder()).build(new File(args[0])).getRootElement(); // Process association elements (yes, we support more than one...) final List associations = rootElement.getChildren("Associations"); for (int i = 0; i < associations.size(); i++) { // Process realms in this association. final List realms = ((Element) associations.get(i)).getChildren("Realm"); for (int j = 0; j < realms.size(); j++) { // Process bases in this realm. Element realm = (Element) realms.get(j); final List bases = realm.getChildren("Base"); for (int k = 0; k < bases.size(); k++) { Element base = (Element) bases.get(k); generatedIndex.addAssociation(realm.getAttributeValue("name"), base.getAttributeValue("name"), base.getAttributeValue("username", ""), base.getAttributeValue("password", "")); } } } // Process exception elements. final List exceptions = rootElement.getChildren("Exception"); for (int i = 0; i < exceptions.size(); i++) { Element exception = (Element) exceptions.get(i); generatedIndex.addException(exception.getAttributeValue("id"), exception.getAttributeValue("reference"), exception.getAttributeValue("realm")); } // Dump the index to console. System.out.println(generatedIndex.toString()); // Write the index to file. System.out.println("Writing to file " + args[1]); ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream(args[1])); out.writeObject(generatedIndex); out.close(); // Read the index from file. ObjectInputStream in = new ObjectInputStream(new FileInputStream(args[1])); final SerializableIndex writtenIndex = (SerializableIndex) in.readObject(); in.close(); // Dump written index to console. System.out.println(writtenIndex.toString()); // Verify index contents. if (generatedIndex.equals(writtenIndex)) System.out.println("Generated and written indexes match"); else System.err.println("Generated and written indexes DO NOT match!"); }
|
1637 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1637/c2a01c88ac40e5922d9674402319433ab9ff9ee5/SerializableIndexCreator.java/buggy/moria2/modules/moria-dm/src/java/no/feide/moria/directory/index/tools/SerializableIndexCreator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
6385,
514,
8526,
833,
13,
565,
1216,
1860,
16,
804,
8168,
503,
16,
10403,
288,
3639,
368,
9674,
4084,
18,
3639,
309,
261,
1968,
18,
2469,
480,
576,
13,
288,
5411,
2332,
18,
659,
18,
8222,
2932,
5357,
5581,
82,
21682,
1016,
10636,
770,
812,
15047,
8863,
5411,
327,
31,
3639,
289,
3639,
368,
2720,
770,
585,
18,
3639,
2332,
18,
659,
18,
8222,
2932,
15714,
585,
315,
397,
833,
63,
20,
19226,
3639,
727,
3010,
27575,
273,
261,
2704,
10168,
1263,
1435,
2934,
3510,
12,
2704,
1387,
12,
1968,
63,
20,
5717,
2934,
588,
2375,
1046,
5621,
3639,
368,
4389,
6384,
2186,
261,
9707,
16,
732,
2865,
1898,
2353,
1245,
21846,
3639,
727,
987,
14474,
273,
27575,
18,
588,
4212,
2932,
15143,
8863,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
14474,
18,
1467,
5621,
277,
27245,
288,
5411,
368,
4389,
2863,
959,
316,
333,
6384,
18,
5411,
727,
987,
2863,
959,
273,
14015,
1046,
13,
14474,
18,
588,
12,
77,
13,
2934,
588,
4212,
2932,
22545,
8863,
5411,
364,
261,
474,
525,
273,
374,
31,
525,
411,
2863,
959,
18,
1467,
5621,
525,
27245,
288,
7734,
368,
4389,
8337,
316,
333,
11319,
18,
7734,
3010,
11319,
273,
261,
1046,
13,
2863,
959,
18,
588,
12,
78,
1769,
7734,
727,
987,
8337,
273,
11319,
18,
588,
4212,
2932,
2171,
8863,
7734,
364,
261,
474,
417,
273,
374,
31,
417,
411,
8337,
18,
1467,
5621,
417,
27245,
288,
10792,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
6385,
514,
8526,
833,
13,
565,
1216,
1860,
16,
804,
8168,
503,
16,
10403,
288,
3639,
368,
9674,
4084,
18,
3639,
309,
261,
1968,
18,
2469,
480,
576,
13,
288,
5411,
2332,
18,
659,
18,
8222,
2932,
5357,
5581,
82,
21682,
1016,
10636,
770,
812,
15047,
8863,
5411,
327,
31,
3639,
289,
3639,
368,
2720,
770,
585,
18,
3639,
2332,
18,
659,
18,
8222,
2932,
15714,
585,
315,
397,
833,
63,
20,
19226,
3639,
727,
3010,
27575,
273,
261,
2704,
10168,
1263,
1435,
2934,
3510,
12,
2704,
1387,
12,
1968,
63,
20,
5717,
2934,
588,
2375,
1046,
5621,
3639,
368,
4389,
6384,
2186,
261,
9707,
16,
732,
2865,
1898,
2353,
1245,
21846,
3639,
2
] |
public RubyClass newSubClass(String name, RubyModule parent) { return new ArrayMetaClass(name, this, parent);
|
public RubyClass newSubClass(String name, SinglyLinkedList parentCRef) { return new ArrayMetaClass(name, this, parentCRef);
|
public RubyClass newSubClass(String name, RubyModule parent) { return new ArrayMetaClass(name, this, parent); }
|
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/a1b8fc1d456e3d5c6e01579b88773383068aa85c/ArrayMetaClass.java/buggy/src/org/jruby/runtime/builtin/meta/ArrayMetaClass.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
797,
394,
1676,
797,
12,
780,
508,
16,
19817,
3120,
982,
13,
288,
202,
202,
2463,
394,
1510,
2781,
797,
12,
529,
16,
333,
16,
982,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
797,
394,
1676,
797,
12,
780,
508,
16,
19817,
3120,
982,
13,
288,
202,
202,
2463,
394,
1510,
2781,
797,
12,
529,
16,
333,
16,
982,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return (TreeSelectionListener[]) getListeners(TreeSelectionListener.class);
|
return (TreeSelectionListener[]) getListeners(TreeSelectionListener.class);
|
public TreeSelectionListener[] getTreeSelectionListeners() { return (TreeSelectionListener[]) getListeners(TreeSelectionListener.class); }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
4902,
6233,
2223,
8526,
15867,
6233,
5583,
1435,
225,
288,
202,
202,
2463,
261,
2471,
6233,
2223,
63,
5717,
4405,
202,
588,
5583,
12,
2471,
6233,
2223,
18,
1106,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
4902,
6233,
2223,
8526,
15867,
6233,
5583,
1435,
225,
288,
202,
202,
2463,
261,
2471,
6233,
2223,
63,
5717,
4405,
202,
588,
5583,
12,
2471,
6233,
2223,
18,
1106,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public org.quickfix.field.LegRepurchaseTerm getLegRepurchaseTerm() throws FieldNotFound { org.quickfix.field.LegRepurchaseTerm value = new org.quickfix.field.LegRepurchaseTerm();
|
public quickfix.field.LegRepurchaseTerm getLegRepurchaseTerm() throws FieldNotFound { quickfix.field.LegRepurchaseTerm value = new quickfix.field.LegRepurchaseTerm();
|
public org.quickfix.field.LegRepurchaseTerm getLegRepurchaseTerm() throws FieldNotFound { org.quickfix.field.LegRepurchaseTerm value = new org.quickfix.field.LegRepurchaseTerm(); getField(value); return value; }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/AssignmentReport.java/buggy/src/java/src/quickfix/fix44/AssignmentReport.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
426,
12688,
12104,
4065,
336,
8329,
426,
12688,
12104,
4065,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
426,
12688,
12104,
4065,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
426,
12688,
12104,
4065,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
426,
12688,
12104,
4065,
336,
8329,
426,
12688,
12104,
4065,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
426,
12688,
12104,
4065,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
426,
12688,
12104,
4065,
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
] |
public TransHopMeta findTransHop(StepMeta from, StepMeta to)
|
public TransHopMeta findTransHop(String name)
|
public TransHopMeta findTransHop(StepMeta from, StepMeta to) { int i; for (i = 0; i < nrTransHops(); i++) { TransHopMeta hi = getTransHop(i); if (hi.isEnabled()) { if (hi.getFromStep() != null && hi.getToStep() != null && hi.getFromStep().equals(from) && hi.getToStep().equals(to)) { return hi; } } } return null; }
|
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/09ee04adf8b99db73f2d4a5ca5719f1065f0db70/TransMeta.java/buggy/src/be/ibridge/kettle/trans/TransMeta.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2604,
27461,
2781,
1104,
1429,
27461,
12,
780,
508,
13,
565,
288,
3639,
509,
277,
31,
3639,
364,
261,
77,
273,
374,
31,
277,
411,
9884,
1429,
44,
4473,
5621,
277,
27245,
3639,
288,
5411,
2604,
27461,
2781,
10118,
273,
336,
1429,
27461,
12,
77,
1769,
5411,
309,
261,
12266,
18,
291,
1526,
10756,
5411,
288,
7734,
309,
261,
12266,
18,
588,
1265,
4160,
1435,
480,
446,
597,
10118,
18,
588,
774,
4160,
1435,
480,
446,
597,
10118,
18,
588,
1265,
4160,
7675,
14963,
12,
2080,
13,
597,
10118,
18,
588,
774,
4160,
7675,
14963,
12,
869,
3719,
288,
327,
10118,
31,
289,
5411,
289,
3639,
289,
3639,
327,
446,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2604,
27461,
2781,
1104,
1429,
27461,
12,
780,
508,
13,
565,
288,
3639,
509,
277,
31,
3639,
364,
261,
77,
273,
374,
31,
277,
411,
9884,
1429,
44,
4473,
5621,
277,
27245,
3639,
288,
5411,
2604,
27461,
2781,
10118,
273,
336,
1429,
27461,
12,
77,
1769,
5411,
309,
261,
12266,
18,
291,
1526,
10756,
5411,
288,
7734,
309,
261,
12266,
18,
588,
1265,
4160,
1435,
480,
446,
597,
10118,
18,
588,
774,
4160,
1435,
480,
446,
597,
10118,
18,
588,
1265,
4160,
7675,
14963,
12,
2080,
13,
597,
10118,
18,
588,
774,
4160,
7675,
14963,
12,
869,
3719,
288,
327,
10118,
31,
289,
5411,
289,
3639,
289,
3639,
327,
446,
31,
565,
289,
2,
-100,
-100,
-100,
-100
] |
if (colorsLeft.contains(colorNames[i]))
|
if (colorsLeft.contains(Constants.colorNames[i]))
|
private PickColor(JFrame parentFrame, String playerName, Set colorsLeft) { super(parentFrame, playerName + ", Pick a Color", true); color = null; setBackground(Color.lightGray); pack(); Container contentPane = getContentPane(); contentPane.setLayout(new FlowLayout()); for (int i = 0; i < 6; i++) { if (colorsLeft.contains(colorNames[i])) { JButton button = new JButton(); int scale = Scale.get(); button.setPreferredSize(new Dimension(7 * scale, 4 * scale)); button.setText(colorNames[i]); button.setMnemonic(colorMnemonics[i]); button.setBackground(background[i]); button.setForeground(foreground[i]); button.addActionListener(this); contentPane.add(button); } } pack(); // Center dialog on screen. Dimension d = Toolkit.getDefaultToolkit().getScreenSize(); setLocation(new Point(d.width / 2 - getSize().width / 2, d.height / 2 - getSize().height / 2)); addWindowListener(this); setVisible(true); }
|
51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/3d0c995d677b11834bfd5b0d9ff7d5fef51d296e/PickColor.java/clean/Colossus/net/sf/colossus/client/PickColor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
23038,
2957,
12,
46,
3219,
982,
3219,
16,
514,
7291,
461,
16,
540,
1000,
5740,
3910,
13,
565,
288,
3639,
2240,
12,
2938,
3219,
16,
7291,
461,
397,
3104,
23038,
279,
5563,
3113,
638,
1769,
3639,
2036,
273,
446,
31,
3639,
31217,
12,
2957,
18,
5099,
23521,
1769,
3639,
2298,
5621,
3639,
4039,
913,
8485,
273,
5154,
8485,
5621,
3639,
913,
8485,
18,
542,
3744,
12,
2704,
9473,
3744,
10663,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1666,
31,
277,
27245,
3639,
288,
5411,
309,
261,
9724,
3910,
18,
12298,
12,
2918,
18,
3266,
1557,
63,
77,
22643,
5411,
288,
7734,
28804,
3568,
273,
394,
28804,
5621,
7734,
509,
3159,
273,
12591,
18,
588,
5621,
7734,
3568,
18,
542,
16028,
1225,
12,
2704,
13037,
12,
27,
380,
3159,
16,
1059,
380,
3159,
10019,
7734,
3568,
18,
542,
1528,
12,
3266,
1557,
63,
77,
19226,
7734,
3568,
18,
542,
29668,
20918,
12,
3266,
29668,
4758,
2102,
63,
77,
19226,
7734,
3568,
18,
542,
8199,
12,
9342,
63,
77,
19226,
7734,
3568,
18,
542,
23206,
12,
1405,
2915,
63,
77,
19226,
7734,
3568,
18,
1289,
1803,
2223,
12,
2211,
1769,
7734,
913,
8485,
18,
1289,
12,
5391,
1769,
5411,
289,
3639,
289,
3639,
2298,
5621,
3639,
368,
25766,
6176,
603,
5518,
18,
3639,
13037,
302,
273,
13288,
8691,
18,
588,
1868,
6364,
8691,
7675,
588,
7956,
1225,
5621,
3639,
21751,
12,
2704,
4686,
12,
72,
18,
2819,
342,
576,
300,
9950,
7675,
2819,
342,
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,
23038,
2957,
12,
46,
3219,
982,
3219,
16,
514,
7291,
461,
16,
540,
1000,
5740,
3910,
13,
565,
288,
3639,
2240,
12,
2938,
3219,
16,
7291,
461,
397,
3104,
23038,
279,
5563,
3113,
638,
1769,
3639,
2036,
273,
446,
31,
3639,
31217,
12,
2957,
18,
5099,
23521,
1769,
3639,
2298,
5621,
3639,
4039,
913,
8485,
273,
5154,
8485,
5621,
3639,
913,
8485,
18,
542,
3744,
12,
2704,
9473,
3744,
10663,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1666,
31,
277,
27245,
3639,
288,
5411,
309,
261,
9724,
3910,
18,
12298,
12,
2918,
18,
3266,
1557,
63,
77,
22643,
5411,
288,
7734,
28804,
3568,
273,
394,
28804,
5621,
7734,
509,
3159,
273,
12591,
18,
588,
2
] |
throws net.sourceforge.jtds.jdbc.TdsException, java.io.IOException { int lo = ( ( int ) getByte() & 0xff ); int hi = ( ( int ) getByte() & 0xff ) << 8;
|
throws net.sourceforge.jtds.jdbc.TdsException, java.io.IOException { int lo = ((int) getByte() & 0xff); int hi = ((int) getByte() & 0xff) << 8;
|
public int getTdsShort() throws net.sourceforge.jtds.jdbc.TdsException, java.io.IOException { int lo = ( ( int ) getByte() & 0xff ); int hi = ( ( int ) getByte() & 0xff ) << 8; return lo | hi; }
|
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/8552aa9a2df546b4d1977c587b04556c7b854ab4/TdsComm.java/buggy/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/TdsComm.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
3181,
2377,
4897,
1435,
2398,
1216,
2901,
18,
3168,
1884,
908,
18,
78,
88,
2377,
18,
24687,
18,
56,
2377,
503,
16,
2252,
18,
1594,
18,
14106,
565,
288,
3639,
509,
437,
273,
261,
261,
509,
262,
20999,
1435,
473,
374,
5297,
11272,
3639,
509,
10118,
273,
261,
261,
509,
262,
20999,
1435,
473,
374,
5297,
262,
2296,
1725,
31,
3639,
327,
437,
571,
10118,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
3181,
2377,
4897,
1435,
2398,
1216,
2901,
18,
3168,
1884,
908,
18,
78,
88,
2377,
18,
24687,
18,
56,
2377,
503,
16,
2252,
18,
1594,
18,
14106,
565,
288,
3639,
509,
437,
273,
261,
261,
509,
262,
20999,
1435,
473,
374,
5297,
11272,
3639,
509,
10118,
273,
261,
261,
509,
262,
20999,
1435,
473,
374,
5297,
262,
2296,
1725,
31,
3639,
327,
437,
571,
10118,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public org.quickfix.field.LegProduct getLegProduct() throws FieldNotFound { org.quickfix.field.LegProduct value = new org.quickfix.field.LegProduct();
|
public quickfix.field.LegProduct getLegProduct() throws FieldNotFound { quickfix.field.LegProduct value = new quickfix.field.LegProduct();
|
public org.quickfix.field.LegProduct getLegProduct() throws FieldNotFound { org.quickfix.field.LegProduct value = new org.quickfix.field.LegProduct(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/AllocationReport.java/clean/src/java/src/quickfix/fix44/AllocationReport.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
4133,
336,
8329,
4133,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
4133,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
4133,
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,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
4133,
336,
8329,
4133,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
4133,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
4133,
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,
-100,
-100,
-100
] |
return "'wider' vs. 'wieder' in 'spiegeln .. wider'";
|
return "'wider' vs. 'wieder' in 'spiegeln ... wider'";
|
public String getDescription() { return "'wider' vs. 'wieder' in 'spiegeln .. wider'"; }
|
10628 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10628/f7908bf726e4486c23dc9e73f978d0e8604a84b2/WiederVsWiderRule.java/clean/trunk/JLanguageTool/src/java/de/danielnaber/languagetool/rules/de/WiederVsWiderRule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
11056,
1435,
288,
565,
327,
2491,
91,
3585,
11,
6195,
18,
296,
91,
2092,
264,
11,
316,
296,
23617,
1332,
292,
82,
1372,
341,
3585,
4970,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
11056,
1435,
288,
565,
327,
2491,
91,
3585,
11,
6195,
18,
296,
91,
2092,
264,
11,
316,
296,
23617,
1332,
292,
82,
1372,
341,
3585,
4970,
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
] |
if (Configuration.DEBUG)
|
Parser getParser() { log.entering(this.getClass().getName(), "getParser"); //$NON-NLS-1$ Parser result = new ClasspathToolParser(Main.LIST_CMD, true); result.setHeader(Messages.getString("ListCmd.20")); //$NON-NLS-1$ result.setFooter(Messages.getString("ListCmd.19")); //$NON-NLS-1$ OptionGroup options = new OptionGroup(Messages.getString("ListCmd.18")); //$NON-NLS-1$ options.add(new Option(Main.ALIAS_OPT, Messages.getString("ListCmd.17"), //$NON-NLS-1$ Messages.getString("ListCmd.16")) //$NON-NLS-1$ { public void parsed(String argument) throws OptionException { _alias = argument; } }); options.add(new Option(Main.STORETYPE_OPT, Messages.getString("ListCmd.15"), //$NON-NLS-1$ Messages.getString("ListCmd.14")) //$NON-NLS-1$ { public void parsed(String argument) throws OptionException { _ksType = argument; } }); options.add(new Option(Main.KEYSTORE_OPT, Messages.getString("ListCmd.13"), //$NON-NLS-1$ Messages.getString("ListCmd.12")) //$NON-NLS-1$ { public void parsed(String argument) throws OptionException { _ksURL = argument; } }); options.add(new Option(Main.STOREPASS_OPT, Messages.getString("ListCmd.11"), //$NON-NLS-1$ Messages.getString("ListCmd.10")) //$NON-NLS-1$ { public void parsed(String argument) throws OptionException { _ksPassword = argument; } }); options.add(new Option(Main.PROVIDER_OPT, Messages.getString("ListCmd.9"), //$NON-NLS-1$ Messages.getString("ListCmd.8")) //$NON-NLS-1$ { public void parsed(String argument) throws OptionException { _providerClassName = argument; } }); options.add(new Option(Main.VERBOSE_OPT, Messages.getString("ListCmd.7")) //$NON-NLS-1$ { public void parsed(String argument) throws OptionException { verbose = true; } }); options.add(new Option(Main.RFC_OPT, Messages.getString("ListCmd.6")) //$NON-NLS-1$ { public void parsed(String argument) throws OptionException { rfc = true; } }); result.add(options); log.exiting(this.getClass().getName(), "getParser", result); //$NON-NLS-1$ return result; }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/6e10879cd4d1df8b463898498b99e01d9ae63f24/ListCmd.java/clean/core/src/classpath/tools/gnu/classpath/tools/keytool/ListCmd.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
309,
261,
1750,
18,
9394,
13,
309,
261,
1750,
18,
9394,
13,
6783,
430,
261,
1750,
18,
9394,
13,
20804,
1435,
430,
261,
1750,
18,
9394,
13,
309,
261,
1750,
18,
9394,
13,
288,
430,
261,
1750,
18,
9394,
13,
309,
261,
1750,
18,
9394,
13,
309,
261,
1750,
18,
9394,
13,
309,
261,
1750,
18,
9394,
13,
613,
18,
2328,
310,
12,
2211,
18,
588,
797,
7675,
17994,
9334,
430,
261,
1750,
18,
9394,
13,
315,
588,
2678,
8863,
430,
261,
1750,
18,
9394,
13,
4329,
3993,
17,
5106,
17,
21,
8,
430,
261,
1750,
18,
9394,
13,
309,
261,
1750,
18,
9394,
13,
309,
261,
1750,
18,
9394,
13,
309,
261,
1750,
18,
9394,
13,
6783,
430,
261,
1750,
18,
9394,
13,
563,
430,
261,
1750,
18,
9394,
13,
273,
430,
261,
1750,
18,
9394,
13,
394,
430,
261,
1750,
18,
9394,
13,
1659,
803,
6364,
2678,
12,
6376,
18,
7085,
67,
19473,
16,
430,
261,
1750,
18,
9394,
13,
638,
1769,
430,
261,
1750,
18,
9394,
13,
309,
261,
1750,
18,
9394,
13,
309,
261,
1750,
18,
9394,
13,
309,
261,
1750,
18,
9394,
13,
563,
18,
542,
1864,
12,
5058,
18,
588,
780,
2932,
682,
5931,
18,
3462,
7923,
1769,
430,
261,
1750,
18,
9394,
13,
4329,
3993,
17,
5106,
17,
21,
8,
430,
261,
1750,
18,
9394,
13,
309,
261,
1750,
18,
9394,
13,
309,
261,
1750,
18,
9394,
13,
309,
261,
1750,
18,
9394,
13,
563,
18,
542,
13787,
12,
5058,
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,
309,
261,
1750,
18,
9394,
13,
309,
261,
1750,
18,
9394,
13,
6783,
430,
261,
1750,
18,
9394,
13,
20804,
1435,
430,
261,
1750,
18,
9394,
13,
309,
261,
1750,
18,
9394,
13,
288,
430,
261,
1750,
18,
9394,
13,
309,
261,
1750,
18,
9394,
13,
309,
261,
1750,
18,
9394,
13,
309,
261,
1750,
18,
9394,
13,
613,
18,
2328,
310,
12,
2211,
18,
588,
797,
7675,
17994,
9334,
430,
261,
1750,
18,
9394,
13,
315,
588,
2678,
8863,
430,
261,
1750,
18,
9394,
13,
4329,
3993,
17,
5106,
17,
21,
8,
430,
261,
1750,
18,
9394,
13,
309,
261,
1750,
18,
9394,
13,
309,
261,
1750,
18,
9394,
13,
309,
261,
1750,
18,
9394,
13,
6783,
430,
2
] |
|
recv.getRuntime().getCurrentContext().yield(((IRubyObject) iter.next()));
|
recv.getRuntime().getCurrentContext().yield(obj);
|
public static IRubyObject each_object(IRubyObject recv, IRubyObject[] args) { RubyModule rubyClass; if (args.length == 0) { rubyClass = recv.getRuntime().getObject(); } else { rubyClass = (RubyModule) args[0]; } int count = 0; Iterator iter = recv.getRuntime().getObjectSpace().iterator(rubyClass); while (iter.hasNext()) { count++; recv.getRuntime().getCurrentContext().yield(((IRubyObject) iter.next())); } return recv.getRuntime().newFixnum(count); }
|
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/448643c70dc9b78a7d89a851b9202699d07cfbb3/RubyObjectSpace.java/buggy/src/org/jruby/RubyObjectSpace.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15908,
10340,
921,
1517,
67,
1612,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
8526,
833,
13,
288,
3639,
19817,
3120,
22155,
797,
31,
3639,
309,
261,
1968,
18,
2469,
422,
374,
13,
288,
5411,
22155,
797,
273,
10665,
18,
588,
5576,
7675,
588,
921,
5621,
3639,
289,
469,
288,
5411,
22155,
797,
273,
261,
54,
10340,
3120,
13,
833,
63,
20,
15533,
3639,
289,
3639,
509,
1056,
273,
374,
31,
3639,
4498,
1400,
273,
10665,
18,
588,
5576,
7675,
588,
921,
3819,
7675,
9838,
12,
27768,
797,
1769,
3639,
1323,
261,
2165,
18,
5332,
2134,
10756,
288,
5411,
1056,
9904,
31,
5411,
10665,
18,
588,
5576,
7675,
588,
3935,
1042,
7675,
23604,
12,
2603,
1769,
3639,
289,
3639,
327,
10665,
18,
588,
5576,
7675,
2704,
8585,
2107,
12,
1883,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15908,
10340,
921,
1517,
67,
1612,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
8526,
833,
13,
288,
3639,
19817,
3120,
22155,
797,
31,
3639,
309,
261,
1968,
18,
2469,
422,
374,
13,
288,
5411,
22155,
797,
273,
10665,
18,
588,
5576,
7675,
588,
921,
5621,
3639,
289,
469,
288,
5411,
22155,
797,
273,
261,
54,
10340,
3120,
13,
833,
63,
20,
15533,
3639,
289,
3639,
509,
1056,
273,
374,
31,
3639,
4498,
1400,
273,
10665,
18,
588,
5576,
7675,
588,
921,
3819,
7675,
9838,
12,
27768,
797,
1769,
3639,
1323,
261,
2165,
18,
5332,
2134,
10756,
288,
5411,
1056,
9904,
31,
5411,
10665,
18,
588,
5576,
7675,
588,
3935,
1042,
7675,
23604,
12,
2603,
2
] |
public Collection getFinalItems() { Map symbolToGeneMap = new HashMap(); Map organismDbIdToGeneMap = new HashMap(); Set genesWithDuplicatedSymbols = new LinkedHashSet(); Set genesWithDuplicatedOrganismDbIds = new LinkedHashSet(); Iterator finalItemIter = finalItems.iterator(); while (finalItemIter.hasNext()) { Item thisGene = (Item) finalItemIter.next(); { Attribute symbolAtt = thisGene.getAttribute("symbol"); if (symbolAtt != null) { String symbol = symbolAtt.getValue(); Item otherGene = (Item) symbolToGeneMap.get(symbol); if (otherGene == null) { symbolToGeneMap.put(symbol, thisGene); } else { genesWithDuplicatedSymbols.add(otherGene); genesWithDuplicatedSymbols.add(thisGene); } } } { Attribute organismDbIdAtt = thisGene.getAttribute("organismDbId"); if (organismDbIdAtt != null) { String organismDbId = organismDbIdAtt.getValue(); Item otherGene = (Item) organismDbIdToGeneMap.get(organismDbId); if (otherGene == null) { organismDbIdToGeneMap.put(organismDbId, thisGene); } else { genesWithDuplicatedOrganismDbIds.add(otherGene); genesWithDuplicatedOrganismDbIds.add(thisGene); } } } } Iterator genesWithDuplicatedSymbolsIter = genesWithDuplicatedSymbols.iterator(); int count = 1; while (genesWithDuplicatedSymbolsIter.hasNext()) { Item thisGene = (Item) genesWithDuplicatedSymbolsIter.next(); String newValue = thisGene.getAttribute("symbol").getValue() + "-duplicate-symbol-" + count++; thisGene.setAttribute("symbol", newValue); LOG.warn("gene (" + thisGene.getAttribute("identifier").getValue() + ") has duplicated symbol, created new symbol: " + newValue); } Iterator genesWithDuplicatedOrganismDbIdsIter = genesWithDuplicatedOrganismDbIds.iterator(); count = 1; while (genesWithDuplicatedOrganismDbIdsIter.hasNext()) { Item thisGene = (Item) genesWithDuplicatedOrganismDbIdsIter.next(); String newValue = thisGene.getAttribute("organismDbId").getValue() + "-duplicate-organismDbId-" + count++; thisGene.setAttribute("organismDbId", newValue); LOG.warn("gene (" + thisGene.getAttribute("identifier").getValue() + ") has duplicated organismDbId, created new organismDbId: " + newValue); } finalItemIter = finalItems.iterator(); while (finalItemIter.hasNext()) { Item thisItem = (Item) finalItemIter.next(); if (pseudogeneIds.contains(thisItem.getAttribute("identifier").getValue())) { thisItem.setClassName(tgtNs + "Pseudogene"); } } return finalItems; }
|
29158 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29158/31bc580cca55cf1ca86b208560d77684e4e5f280/ChadoGFF3RecordHandler.java/buggy/flymine/model/chado/src/java/org/flymine/dataconversion/ChadoGFF3RecordHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2200,
2812,
1490,
3126,
1435,
288,
3639,
1635,
3273,
774,
24442,
863,
273,
394,
4317,
5621,
3639,
1635,
15501,
6228,
4331,
28803,
24442,
863,
273,
394,
4317,
5621,
3639,
1000,
11423,
1190,
19682,
690,
14821,
273,
394,
19523,
5621,
3639,
1000,
11423,
1190,
19682,
690,
6001,
304,
6228,
4331,
2673,
273,
394,
19523,
5621,
3639,
4498,
727,
1180,
2360,
273,
727,
3126,
18,
9838,
5621,
3639,
1323,
261,
6385,
1180,
2360,
18,
5332,
2134,
10756,
288,
5411,
4342,
333,
24442,
273,
261,
1180,
13,
727,
1180,
2360,
18,
4285,
5621,
5411,
288,
7734,
3601,
3273,
3075,
273,
333,
24442,
18,
588,
1499,
2932,
7175,
8863,
27573,
309,
261,
7175,
3075,
480,
446,
13,
288,
10792,
514,
3273,
273,
3273,
3075,
18,
24805,
5621,
10792,
4342,
1308,
24442,
273,
261,
1180,
13,
3273,
774,
24442,
863,
18,
588,
12,
7175,
1769,
10792,
309,
261,
3011,
24442,
422,
446,
13,
288,
13491,
3273,
774,
24442,
863,
18,
458,
12,
7175,
16,
333,
24442,
1769,
10792,
289,
469,
288,
13491,
11423,
1190,
19682,
690,
14821,
18,
1289,
12,
3011,
24442,
1769,
13491,
11423,
1190,
19682,
690,
14821,
18,
1289,
12,
2211,
24442,
1769,
10792,
289,
7734,
289,
5411,
289,
5411,
288,
7734,
3601,
15501,
6228,
4331,
548,
3075,
273,
333,
24442,
18,
588,
1499,
2932,
22543,
6228,
4331,
548,
8863,
7734,
309,
261,
22543,
6228,
4331,
548,
3075,
480,
446,
13,
288,
10792,
514,
15501,
6228,
4331,
548,
273,
15501,
6228,
4331,
548,
3075,
18,
24805,
5621,
10792,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2200,
2812,
1490,
3126,
1435,
288,
3639,
1635,
3273,
774,
24442,
863,
273,
394,
4317,
5621,
3639,
1635,
15501,
6228,
4331,
28803,
24442,
863,
273,
394,
4317,
5621,
3639,
1000,
11423,
1190,
19682,
690,
14821,
273,
394,
19523,
5621,
3639,
1000,
11423,
1190,
19682,
690,
6001,
304,
6228,
4331,
2673,
273,
394,
19523,
5621,
3639,
4498,
727,
1180,
2360,
273,
727,
3126,
18,
9838,
5621,
3639,
1323,
261,
6385,
1180,
2360,
18,
5332,
2134,
10756,
288,
5411,
4342,
333,
24442,
273,
261,
1180,
13,
727,
1180,
2360,
18,
4285,
5621,
5411,
288,
7734,
3601,
3273,
3075,
273,
333,
24442,
18,
588,
1499,
2932,
7175,
8863,
27573,
309,
261,
7175,
3075,
480,
446,
13,
288,
10792,
514,
3273,
2
] |
||
public EditorDocument(EditorLayer root) { setRoot(root); _reader = createReader(); myEditorWriter = new EditorWriter(this);
|
public EditorDocument() { this(new EditorLayer("Root"));
|
public EditorDocument(EditorLayer root) { setRoot(root); _reader = createReader(); myEditorWriter = new EditorWriter(this); }
|
5015 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5015/2e50a9eef7af3667f7f619208cdcd43990516eaa/EditorDocument.java/buggy/BIOSIM/src/com/traclabs/biosim/editor/base/EditorDocument.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
18451,
2519,
12,
6946,
4576,
1365,
13,
288,
3639,
31706,
12,
3085,
1769,
3639,
389,
10530,
273,
752,
2514,
5621,
3639,
3399,
6946,
2289,
273,
394,
18451,
2289,
12,
2211,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
18451,
2519,
12,
6946,
4576,
1365,
13,
288,
3639,
31706,
12,
3085,
1769,
3639,
389,
10530,
273,
752,
2514,
5621,
3639,
3399,
6946,
2289,
273,
394,
18451,
2289,
12,
2211,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Dimension panelSize = getSize(); BufferedImage outImage =
|
final Dimension panelSize = getSize(); final BufferedImage outImage =
|
private synchronized void loadAndCache( File imageFile ) throws IOException { // Even if caller does this, it's important that we check again, // because this method is synchronized and called from numerous // Threads. String key = imageFile.getAbsolutePath(); BufferedImage cachedImage = cache.getImage( key ); if( cachedImage == null ) { Dimension panelSize = getSize(); BufferedImage outImage = GUIUtils.loadImageFromFile( imageFile, lastThumbnailBuffer, panelSize, panelSize ); lastThumbnailBuffer = outImage; cachedImage = GUIUtils.createThumbnail( outImage, null, panelSize.width, panelSize.height, panelSize.width, panelSize.height, true ); cache.addImage( key, cachedImage ); } }
|
57504 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57504/608a7845186eaee19d103ba95951ad8a3b5dbbe7/ImagePreviewPanel.java/buggy/javaimagealbum/src/com/javaimagealbum/ImagePreviewPanel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3852,
918,
1262,
1876,
1649,
12,
1387,
31146,
262,
540,
1216,
1860,
565,
288,
3639,
368,
25067,
309,
4894,
1552,
333,
16,
518,
1807,
10802,
716,
732,
866,
3382,
16,
3639,
368,
2724,
333,
707,
353,
3852,
471,
2566,
628,
26511,
1481,
3639,
368,
4884,
87,
18,
3639,
514,
498,
273,
31146,
18,
588,
10368,
743,
5621,
3639,
12362,
3472,
2040,
273,
1247,
18,
588,
2040,
12,
498,
11272,
3639,
309,
12,
3472,
2040,
422,
446,
262,
288,
5411,
13037,
6594,
1225,
273,
9950,
5621,
5411,
12362,
596,
2040,
273,
1171,
10978,
1989,
18,
945,
2040,
13087,
12,
31146,
16,
1142,
16270,
1892,
16,
7734,
6594,
1225,
16,
6594,
1225,
11272,
5411,
1142,
16270,
1892,
273,
596,
2040,
31,
5411,
3472,
2040,
273,
10978,
1989,
18,
2640,
16270,
12,
1171,
596,
2040,
16,
1171,
446,
16,
1171,
6594,
1225,
18,
2819,
16,
6594,
1225,
18,
4210,
16,
7734,
6594,
1225,
18,
2819,
16,
6594,
1225,
18,
4210,
16,
7734,
638,
11272,
5411,
1247,
18,
1289,
2040,
12,
498,
16,
3472,
2040,
11272,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3852,
918,
1262,
1876,
1649,
12,
1387,
31146,
262,
540,
1216,
1860,
565,
288,
3639,
368,
25067,
309,
4894,
1552,
333,
16,
518,
1807,
10802,
716,
732,
866,
3382,
16,
3639,
368,
2724,
333,
707,
353,
3852,
471,
2566,
628,
26511,
1481,
3639,
368,
4884,
87,
18,
3639,
514,
498,
273,
31146,
18,
588,
10368,
743,
5621,
3639,
12362,
3472,
2040,
273,
1247,
18,
588,
2040,
12,
498,
11272,
3639,
309,
12,
3472,
2040,
422,
446,
262,
288,
5411,
13037,
6594,
1225,
273,
9950,
5621,
5411,
12362,
596,
2040,
273,
1171,
10978,
1989,
18,
945,
2040,
13087,
12,
31146,
16,
1142,
16270,
1892,
16,
7734,
6594,
1225,
16,
6594,
1225,
11272,
5411,
1142,
16270,
1892,
273,
596,
2
] |
RubyString newStr = newString(getValue().substring(beg, end)); newStr.infectBy(this); return newStr;
|
return newString(getValue().substring(beg, end)).infectBy(this);
|
private IRubyObject substr(int beg, int len) { int strLen = getValue().length(); if (len < 0 || beg > strLen) { return getRuntime().getNil(); } if (beg < 0) { beg += strLen; if (beg < 0) { return getRuntime().getNil(); } } int end = Math.min(strLen, beg + len); RubyString newStr = newString(getValue().substring(beg, end)); newStr.infectBy(this); return newStr; }
|
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/c3988bcedc9973ff7f8c24ac6423ecb89f3ada35/RubyString.java/buggy/src/org/jruby/RubyString.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
15908,
10340,
921,
2373,
12,
474,
16847,
16,
509,
562,
13,
288,
202,
202,
474,
609,
2891,
273,
2366,
7675,
2469,
5621,
202,
202,
430,
261,
1897,
411,
374,
747,
16847,
405,
609,
2891,
13,
288,
1082,
202,
2463,
18814,
7675,
588,
12616,
5621,
202,
202,
97,
202,
202,
430,
261,
70,
1332,
411,
374,
13,
288,
1082,
202,
70,
1332,
1011,
609,
2891,
31,
1082,
202,
430,
261,
70,
1332,
411,
374,
13,
288,
9506,
202,
2463,
18814,
7675,
588,
12616,
5621,
1082,
202,
97,
202,
202,
97,
202,
202,
474,
679,
273,
2361,
18,
1154,
12,
701,
2891,
16,
16847,
397,
562,
1769,
202,
202,
54,
10340,
780,
394,
1585,
273,
394,
780,
12,
24805,
7675,
28023,
12,
70,
1332,
16,
679,
10019,
202,
202,
2704,
1585,
18,
10625,
386,
858,
12,
2211,
1769,
202,
202,
2463,
394,
1585,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
1152,
15908,
10340,
921,
2373,
12,
474,
16847,
16,
509,
562,
13,
288,
202,
202,
474,
609,
2891,
273,
2366,
7675,
2469,
5621,
202,
202,
430,
261,
1897,
411,
374,
747,
16847,
405,
609,
2891,
13,
288,
1082,
202,
2463,
18814,
7675,
588,
12616,
5621,
202,
202,
97,
202,
202,
430,
261,
70,
1332,
411,
374,
13,
288,
1082,
202,
70,
1332,
1011,
609,
2891,
31,
1082,
202,
430,
261,
70,
1332,
411,
374,
13,
288,
9506,
202,
2463,
18814,
7675,
588,
12616,
5621,
1082,
202,
97,
202,
202,
97,
202,
202,
474,
679,
273,
2361,
18,
1154,
12,
701,
2891,
16,
16847,
397,
562,
1769,
202,
202,
54,
10340,
780,
394,
1585,
273,
394,
780,
12,
2
] |
imcode.server.IMCServiceInterface imc = IMCServiceRMI.getInterface(prop.getProperty("imcserver")); String imagePath = imc.getImageHome() + user.getLangPrefix() + "/107"; CalenderDbManager dbmanager = new CalenderDbManager(); int player_id; int meta_id = Integer.parseInt("" + prop.getProperty("calender_meta_id")); String server = "" + prop.getProperty("imcserver"); int highestPermission = IMCServiceRMI.getUserHighestPermissionSet(server, meta_id, user.getUserId());
|
if (action.equalsIgnoreCase("NEW")) {
|
public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { // Get info and check login HttpSession session = req.getSession(true); Properties prop = super.getSessionParams(req, res); imcode.server.User user = super.checkLogin(req, res, prop.getProperty("start_url")); if (user == null) return; String action = req.getParameter("action");/********************* NEW ******************************************************************/ if (action.equalsIgnoreCase("NEW")) { res.sendRedirect("CalenderCreator?action=NEW"); return; }/********************* VIEW *****************************************************************/ else if (action.equalsIgnoreCase("VIEW")){ Calendar greger; handleViews(req, session); handleDate(req, session); // Make sure we have a calendar in the session if (session.getAttribute("calendar") == null){ greger = Calendar.getInstance(); session.setAttribute("calendar", greger); } else greger = (Calendar)session.getAttribute("calendar"); // Check if we should change month if (req.getParameter("month") != null) { greger.add(Calendar.MONTH, Integer.parseInt(req.getParameter("month"))); int month = greger.get(Calendar.MONTH); session.setAttribute("calendar", greger); } // Get the path to the images imcode.server.IMCServiceInterface imc = IMCServiceRMI.getInterface(prop.getProperty("imcserver")); String imagePath = imc.getImageHome() + user.getLangPrefix() + "/107"; CalenderDbManager dbmanager = new CalenderDbManager(); int player_id; // Check the permission status int meta_id = Integer.parseInt("" + prop.getProperty("calender_meta_id")); String server = "" + prop.getProperty("imcserver"); int highestPermission = IMCServiceRMI.getUserHighestPermissionSet(server, meta_id, user.getUserId()); if ( highestPermission >= 3 ){ res.sendRedirect("GetDoc?meta_id=1001"); return ; } // Retreive the literal month SimpleDateFormat formatter = new SimpleDateFormat ("MMMM"); Date time = greger.getTime(); String strMonth = formatter.format(time); String disabled = new String(); // prepare overview for parsing String players_menu = req.getParameter("players_menu"); if (players_menu != null) session.setAttribute("calender_player", players_menu); CalenderOverview calOverview = new CalenderOverview(); // Prepare main menu for parsning Vector variables = miniAlmanac(session); String select = selectBox(prop); String overview = new String(); // parses the overview part overview = calOverview.makeOverview(req, res, prop, user, variables); variables.add("#MONTHVIEW#"); variables.add("CalenderManager?action=view&view=month"); variables.add("#DAYVIEW#"); variables.add("CalenderManager?action=view&view=day"); variables.add("#MONTH#"); variables.add(strMonth); variables.add("#YEAR#"); variables.add("" + greger.get(Calendar.YEAR)); variables.add("#BACKPIC#"); variables.add(imagePath + "/back.gif"); variables.add("#BACKLINK#"); variables.add("CalenderManager?action=view&month=-1"); variables.add("#NEXTPIC#"); variables.add(imagePath + "/next.gif"); variables.add("#NEXTLINK#"); variables.add("CalenderManager?action=view&month=1"); variables.add("#NEW_APPOINTMENT#"); // Check if the user is viewing their own calendar or have full rights String id = dbmanager.translateId(prop, user.getUserId()); if ( id == null) id = "50001"; if ( session.getAttribute("calender_player") == null ) disabled = "disabled"; else if ( session.getAttribute("calender_player") != null && highestPermission == 0 ) disabled = ""; else{ player_id = Integer.parseInt( "" + session.getAttribute("calender_player")); int userPlayer = Integer.parseInt (id); disabled = ( (player_id == userPlayer && highestPermission <= 1) || highestPermission == 0) ? "" : "disabled"; } variables.add("<input type=" + '"' + "submit" + '"' + "name=" + '"' + "newapp" + '"' + " value=" + '"' + "New Appointment" + '"' + disabled + "><input type=" + '"' + "hidden" + '"' + " name=" + '"' + "action" + '"' + " value=" + '"' + "view" + '"' + "><input type=" + '"' + "hidden" + '"' + " name=" + '"' + "view" + '"' + " value=" + '"' + "NewApp" + '"' + ">"); variables.add("#SIZE#"); variables.add( selectBoxSize(prop) ); variables.add("#SELECTBOX#"); variables.add(select); String menu = parseCalender(req, res, variables, "main_menu.html", user); String admin = parseCalender(req, res, null, "adminpanel.html", user); // Parse the menu and overview into a 2 cell template Vector var = new Vector(); var.add("#MENU#"); var.add(menu); var.add("#OVERVIEW#"); var.add(overview); // Check if user is an administrator var.add("#ADMIN#"); if (highestPermission == 0) var.add(admin); else if (highestPermission > 0) var.add(" "); String all = parseCalender(req, res, var, "main_table.html", user); sendCalender(res, all); return; } }
|
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/a270627916b37a677a391dd9f45c54d3d6f12503/CalenderManager.java/clean/servlets/calender/CalenderManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
741,
3349,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
25083,
202,
15069,
16517,
16,
1860,
288,
202,
202,
759,
968,
1123,
471,
866,
3925,
202,
202,
2940,
2157,
1339,
273,
1111,
18,
588,
2157,
12,
3767,
1769,
202,
202,
2297,
2270,
273,
2240,
18,
588,
2157,
1370,
12,
3658,
16,
400,
1769,
202,
202,
381,
710,
18,
3567,
18,
1299,
729,
273,
2240,
18,
1893,
5358,
12,
3658,
16,
400,
16,
2270,
18,
588,
1396,
2932,
1937,
67,
718,
7923,
1769,
9506,
202,
430,
261,
1355,
422,
446,
13,
1082,
202,
2463,
31,
9506,
202,
780,
1301,
273,
1111,
18,
588,
1662,
2932,
1128,
8863,
19,
2751,
23490,
12887,
19756,
5549,
202,
202,
430,
261,
1128,
18,
14963,
5556,
2932,
12917,
6,
3719,
202,
202,
95,
1082,
202,
455,
18,
4661,
5961,
2932,
3005,
2345,
10636,
35,
1128,
33,
12917,
8863,
1082,
202,
2463,
31,
202,
202,
4004,
2751,
23490,
21794,
19756,
19,
202,
202,
12107,
309,
261,
1128,
18,
14963,
5556,
2932,
12145,
6,
3719,
95,
6862,
202,
7335,
5174,
693,
31,
1082,
202,
4110,
9959,
12,
3658,
16,
1339,
1769,
1082,
202,
4110,
1626,
12,
3658,
16,
1339,
1769,
25083,
202,
759,
4344,
3071,
732,
1240,
279,
5686,
316,
326,
1339,
1082,
202,
430,
261,
3184,
18,
588,
1499,
2932,
11650,
7923,
422,
446,
15329,
9506,
202,
11556,
693,
273,
5542,
18,
588,
1442,
5621,
9506,
202,
3184,
18,
542,
1499,
2932,
11650,
3113,
5174,
693,
1769,
1082,
202,
97,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
3349,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
25083,
202,
15069,
16517,
16,
1860,
288,
202,
202,
759,
968,
1123,
471,
866,
3925,
202,
202,
2940,
2157,
1339,
273,
1111,
18,
588,
2157,
12,
3767,
1769,
202,
202,
2297,
2270,
273,
2240,
18,
588,
2157,
1370,
12,
3658,
16,
400,
1769,
202,
202,
381,
710,
18,
3567,
18,
1299,
729,
273,
2240,
18,
1893,
5358,
12,
3658,
16,
400,
16,
2270,
18,
588,
1396,
2932,
1937,
67,
718,
7923,
1769,
9506,
202,
430,
261,
1355,
422,
446,
13,
1082,
202,
2463,
31,
9506,
202,
780,
1301,
273,
1111,
18,
588,
1662,
2932,
1128,
8863,
19,
2751,
23490,
12887,
19756,
5549,
202,
202,
430,
2
] |
Object data; boolean finished = false; while (!finished) { try { data = context.operands.pop(); if (data instanceof PAToken) { if ( ( (PAToken) data).type == PAToken.MARK) { finished = true; } } } catch (EmptyStackException e) { throw new PainterException(e.toString()); }
|
Object data[]; data = context.popOperands(1); if (! (data[0] instanceof Number)) { throw new PainterException("index: wrong arguments"); } int index = ( (Number) data[0]).intValue(); try { context.operands.push(context.operands.elementAt(index)); } catch (ArrayIndexOutOfBoundsException e) { throw new PainterException(e.toString());
|
public void execute(PAContext context) throws PainterException { Object data; boolean finished = false; while (!finished) { try { data = context.operands.pop(); if (data instanceof PAToken) { if ( ( (PAToken) data).type == PAToken.MARK) { finished = true; } } } catch (EmptyStackException e) { throw new PainterException(e.toString()); } } }
|
3506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3506/3cd4a973dbdca1f7072d8e189d388c5a878cc9a6/PAContext.java/clean/itext/src/com/lowagie/text/pdf/codec/postscript/PAContext.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
1836,
12,
4066,
1042,
819,
13,
1216,
453,
11606,
503,
288,
3639,
1033,
501,
31,
3639,
1250,
6708,
273,
629,
31,
3639,
1323,
16051,
13527,
13,
288,
1850,
775,
288,
5411,
501,
273,
819,
18,
4063,
5708,
18,
5120,
5621,
5411,
309,
261,
892,
1276,
17988,
969,
13,
288,
2868,
309,
261,
261,
261,
8592,
969,
13,
501,
2934,
723,
422,
17988,
969,
18,
12693,
13,
288,
7734,
6708,
273,
638,
31,
2868,
289,
5411,
289,
1850,
289,
1850,
1044,
261,
1921,
2624,
503,
425,
13,
288,
5411,
604,
394,
453,
11606,
503,
12,
73,
18,
10492,
10663,
1850,
289,
3639,
289,
1377,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
1836,
12,
4066,
1042,
819,
13,
1216,
453,
11606,
503,
288,
3639,
1033,
501,
31,
3639,
1250,
6708,
273,
629,
31,
3639,
1323,
16051,
13527,
13,
288,
1850,
775,
288,
5411,
501,
273,
819,
18,
4063,
5708,
18,
5120,
5621,
5411,
309,
261,
892,
1276,
17988,
969,
13,
288,
2868,
309,
261,
261,
261,
8592,
969,
13,
501,
2934,
723,
422,
17988,
969,
18,
12693,
13,
288,
7734,
6708,
273,
638,
31,
2868,
289,
5411,
289,
1850,
289,
1850,
1044,
261,
1921,
2624,
503,
425,
13,
288,
5411,
604,
394,
453,
11606,
503,
12,
73,
18,
10492,
10663,
1850,
289,
3639,
289,
1377,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
void appendResource(String resourceName) { InputStream in = this.getClass().getClassLoader().getResourceAsStream(resourceName); if (in == null) { log.warn("resource not found:" + resourceName); return; } LineNumberReader lnr = new LineNumberReader(new InputStreamReader(in)); String strSource; try { while ((strSource = lnr.readLine()) != null) { this.out.append(strSource).append("\n"); } lnr.close(); } catch (IOException e) { log.error("Error Reading resource " + resourceName, e); } }
|
53077 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53077/48ba85e12dae361be74b9faa8225f7e118b83737/Report.java/buggy/jtidyservlet/src/java/org/w3c/tidy/servlet/reports/Report.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
714,
1420,
12,
780,
9546,
13,
377,
288,
3639,
5037,
316,
273,
333,
18,
588,
797,
7675,
588,
7805,
7675,
588,
1420,
17052,
12,
3146,
461,
1769,
3639,
309,
261,
267,
422,
446,
13,
3639,
288,
5411,
613,
18,
8935,
2932,
3146,
486,
1392,
2773,
397,
9546,
1769,
5411,
327,
31,
3639,
289,
7734,
5377,
1854,
2514,
7211,
86,
273,
394,
5377,
1854,
2514,
12,
2704,
15322,
12,
267,
10019,
3639,
514,
609,
1830,
31,
3639,
775,
3639,
288,
5411,
1323,
14015,
701,
1830,
273,
7211,
86,
18,
896,
1670,
10756,
480,
446,
13,
5411,
288,
7734,
333,
18,
659,
18,
6923,
12,
701,
1830,
2934,
6923,
31458,
82,
8863,
5411,
289,
5411,
7211,
86,
18,
4412,
5621,
3639,
289,
3639,
1044,
261,
14106,
425,
13,
3639,
288,
5411,
613,
18,
1636,
2932,
668,
31941,
1058,
315,
397,
9546,
16,
425,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
714,
1420,
12,
780,
9546,
13,
377,
288,
3639,
5037,
316,
273,
333,
18,
588,
797,
7675,
588,
7805,
7675,
588,
1420,
17052,
12,
3146,
461,
1769,
3639,
309,
261,
267,
422,
446,
13,
3639,
288,
5411,
613,
18,
8935,
2932,
3146,
486,
1392,
2773,
397,
9546,
1769,
5411,
327,
31,
3639,
289,
7734,
5377,
1854,
2514,
7211,
86,
273,
394,
5377,
1854,
2514,
12,
2704,
15322,
12,
267,
10019,
3639,
514,
609,
1830,
31,
3639,
775,
3639,
288,
5411,
1323,
14015,
701,
1830,
273,
7211,
86,
18,
896,
1670,
10756,
480,
446,
13,
5411,
288,
7734,
333,
18,
659,
18,
6923,
12,
701,
1830,
2934,
6923,
31458,
82,
8863,
5411,
289,
5411,
7211,
86,
18,
4412,
2
] |
||
case 119:
|
public final void parenthesizedExpr() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST parenthesizedExpr_AST = null; AST e_AST = null; match(LPAREN); { switch ( LA(1)) { case LPAREN: case NCNAME: case XQUERY: case VERSION: case LITERAL_namespace: case LITERAL_default: case LITERAL_function: case LITERAL_variable: case STRING_LITERAL: case LITERAL_element: case DOLLAR: case LITERAL_as: case LITERAL_empty: case STAR: case PLUS: case LITERAL_item: case LITERAL_for: case LITERAL_let: case LITERAL_some: case LITERAL_if: case LITERAL_order: case LITERAL_by: case LITERAL_then: case LITERAL_else: case LITERAL_or: case LITERAL_and: case LT: case MINUS: case LITERAL_div: case LITERAL_mod: case LITERAL_union: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case XML_COMMENT: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 115: case 116: case LITERAL_parent: case LITERAL_ancestor: case 119: case 120: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case LITERAL_comment: case 125: case 126: case XML_PI: case LITERAL_document: case LITERAL_collection: { expr(); e_AST = (AST)returnAST; astFactory.addASTChild(currentAST, returnAST); break; } case RPAREN: { break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } match(RPAREN); if ( inputState.guessing==0 ) { parenthesizedExpr_AST = (AST)currentAST.root; parenthesizedExpr_AST= (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(PARENTHESIZED,"Parenthesized")).add(e_AST)); currentAST.root = parenthesizedExpr_AST; currentAST.child = parenthesizedExpr_AST!=null &&parenthesizedExpr_AST.getFirstChild()!=null ? parenthesizedExpr_AST.getFirstChild() : parenthesizedExpr_AST; currentAST.advanceChildToEnd(); } parenthesizedExpr_AST = (AST)currentAST.root; returnAST = parenthesizedExpr_AST; }
|
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/d31ac0d651739cc32d55579c14a0786f6bfb4200/XPathParser2.java/clean/src/org/exist/parser/XPathParser2.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
15231,
1235,
4742,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
9053,
15231,
1235,
4742,
67,
9053,
273,
446,
31,
202,
202,
9053,
425,
67,
9053,
273,
446,
31,
9506,
202,
1916,
12,
48,
15111,
1769,
202,
202,
95,
202,
202,
9610,
261,
2928,
12,
21,
3719,
288,
202,
202,
3593,
511,
15111,
30,
202,
202,
3593,
423,
39,
1985,
30,
202,
202,
3593,
1139,
10753,
30,
202,
202,
3593,
8456,
30,
202,
202,
3593,
511,
18454,
67,
4937,
30,
202,
202,
3593,
511,
18454,
67,
1886,
30,
202,
202,
3593,
511,
18454,
67,
915,
30,
202,
202,
3593,
511,
18454,
67,
6105,
30,
202,
202,
3593,
9469,
67,
23225,
30,
202,
202,
3593,
511,
18454,
67,
2956,
30,
202,
202,
3593,
463,
30922,
985,
30,
202,
202,
3593,
511,
18454,
67,
345,
30,
202,
202,
3593,
511,
18454,
67,
5531,
30,
202,
202,
3593,
21807,
30,
202,
202,
3593,
22443,
3378,
30,
202,
202,
3593,
511,
18454,
67,
1726,
30,
202,
202,
3593,
511,
18454,
67,
1884,
30,
202,
202,
3593,
511,
18454,
67,
1810,
30,
202,
202,
3593,
511,
18454,
67,
19068,
30,
202,
202,
3593,
511,
18454,
67,
430,
30,
202,
202,
3593,
511,
18454,
67,
1019,
30,
202,
202,
3593,
511,
18454,
67,
1637,
30,
202,
202,
3593,
511,
18454,
67,
15991,
30,
202,
202,
3593,
511,
18454,
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,
15231,
1235,
4742,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
9053,
15231,
1235,
4742,
67,
9053,
273,
446,
31,
202,
202,
9053,
425,
67,
9053,
273,
446,
31,
9506,
202,
1916,
12,
48,
15111,
1769,
202,
202,
95,
202,
202,
9610,
261,
2928,
12,
21,
3719,
288,
202,
202,
3593,
511,
15111,
30,
202,
202,
3593,
423,
39,
1985,
30,
202,
202,
3593,
1139,
10753,
30,
202,
202,
3593,
8456,
30,
202,
202,
3593,
511,
18454,
67,
4937,
30,
202,
202,
3593,
511,
18454,
67,
1886,
30,
202,
202,
3593,
511,
18454,
67,
2
] |
|
public org.quickfix.field.UnderlyingRepoCollateralSecurityType getUnderlyingRepoCollateralSecurityType() throws FieldNotFound { org.quickfix.field.UnderlyingRepoCollateralSecurityType value = new org.quickfix.field.UnderlyingRepoCollateralSecurityType();
|
public quickfix.field.UnderlyingRepoCollateralSecurityType getUnderlyingRepoCollateralSecurityType() throws FieldNotFound { quickfix.field.UnderlyingRepoCollateralSecurityType value = new quickfix.field.UnderlyingRepoCollateralSecurityType();
|
public org.quickfix.field.UnderlyingRepoCollateralSecurityType getUnderlyingRepoCollateralSecurityType() throws FieldNotFound { org.quickfix.field.UnderlyingRepoCollateralSecurityType value = new org.quickfix.field.UnderlyingRepoCollateralSecurityType(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/Quote.java/clean/src/java/src/quickfix/fix44/Quote.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
8791,
13535,
2045,
287,
4368,
559,
10833,
765,
6291,
8791,
13535,
2045,
287,
4368,
559,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
8791,
13535,
2045,
287,
4368,
559,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
8791,
13535,
2045,
287,
4368,
559,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
8791,
13535,
2045,
287,
4368,
559,
10833,
765,
6291,
8791,
13535,
2045,
287,
4368,
559,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
8791,
13535,
2045,
287,
4368,
559,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
8791,
13535,
2045,
287,
4368,
559,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Document aggregatorConfig = DocumentHelper.createDocument(); Element configElement = aggregatorConfig.addElement("config");
|
final Document xpthCfg = DocumentHelper.createDocument(); final Element configElement = xpthCfg.addElement("config");
|
public ProcessorInput connectProcessorToHref(Node node, Processor processor, String inputName, ASTHref href) { LocationData locationData = node == null ? null : (LocationData) ((Element) node).getData(); ProcessorInput processorInput = processor.createInput(inputName); if (href instanceof ASTHrefId) { String referencedId = ((ASTHrefId) href).getId(); // Nice messsage for current() if (referencedId.equals(ForEachProcessor.CURRENT) && !idToOutputMap.containsKey(ForEachProcessor.CURRENT)) throw new ValidationException("Function current() can only be used in a for-each block", locationData); // Reference to previously defined id if (!idToOutputMap.containsKey(referencedId)) throw new ValidationException("Reference to undeclared output id \"" + referencedId + "\"", locationData); ProcessorOutput referencedOutput = (ProcessorOutput) idToOutputMap.get(referencedId); if (referencedOutput.getInput() == null) { // Output is virgin: just connect it to this processor processorInput.setOutput(referencedOutput); referencedOutput.setInput(processorInput); } else if (outputIdToTeeProcessor.containsKey(referencedId)) { // ASTInput already shared: just add ourselves to the tee Processor tee = (TeeProcessor) outputIdToTeeProcessor.get(referencedId); ProcessorOutput teeOutput = tee.createOutput(ProcessorImpl.OUTPUT_DATA); teeOutput.setInput(processorInput); processorInput.setOutput(teeOutput); } else { // Force menage a trois by introducing a tee Processor tee = new TeeProcessor(locationData); createdProcessors.add(tee); outputIdToTeeProcessor.put(referencedId, tee); // Reconnect the "other guy" to the tee output ProcessorOutput firstTeeOutput = tee.createOutput(ProcessorImpl.OUTPUT_DATA); ProcessorInput otherGuyInput = referencedOutput.getInput(); firstTeeOutput.setInput(otherGuyInput); otherGuyInput.setOutput(firstTeeOutput); // Connect tee to processor ProcessorOutput secondTeeOutput = tee.createOutput(ProcessorImpl.OUTPUT_DATA); secondTeeOutput.setInput(processorInput); processorInput.setOutput(secondTeeOutput); // Connect tee input ProcessorInput teeInput = tee.createInput(ProcessorImpl.INPUT_DATA); teeInput.setOutput(referencedOutput); referencedOutput.setInput(teeInput); } } else if (href instanceof ASTHrefAggregate) { ASTHrefAggregate hrefAggregate = (ASTHrefAggregate) href; // Connect aggregator to config Processor aggregator = new AggregatorProcessor(); Document aggregatorConfig = DocumentHelper.createDocument(); Element configElement = aggregatorConfig.addElement("config"); configElement.addElement("root").addText(hrefAggregate.getRoot()); addNamespaces(configElement, node); DOMGenerator configGenerator = new DOMGenerator(aggregatorConfig); PipelineUtils.connect(configGenerator, ProcessorImpl.OUTPUT_DATA, aggregator, ProcessorImpl.INPUT_CONFIG); // Connect data input to aggregator for (Iterator i = hrefAggregate.getHrefs().iterator(); i.hasNext();) { ASTHref id = (ASTHref) i.next(); connectProcessorToHref(node, aggregator, ProcessorImpl.INPUT_DATA, id); } // Connect aggregator output to current processor ProcessorOutput aggregatorOutput = aggregator.createOutput(ProcessorImpl.OUTPUT_DATA); aggregatorOutput.setInput(processorInput); processorInput.setOutput(aggregatorOutput); } else if (href instanceof ASTHrefURL) { try { // Get the docbase url from the location data if available // and concatenate it with the current href URL url = URLFactory.createURL(locationData != null && locationData.getSystemID() != null ? locationData.getSystemID() : null, ((ASTHrefURL) href).getURL()); // This is interpreted as a URL, use URL Generator Processor urlGenerator = new URLGenerator(url.toExternalForm()); ProcessorOutput referencedOutput = urlGenerator.createOutput(ProcessorImpl.OUTPUT_DATA); referencedOutput.setInput(processorInput); processorInput.setOutput(referencedOutput); } catch (MalformedURLException e) { throw new ValidationException(e, locationData); } } else if (href instanceof ASTHrefXPointer) { ASTHrefXPointer hrefXPointer = (ASTHrefXPointer) href; // Create config for XPath processor Document aggregatorConfig = DocumentHelper.createDocument(); Element configElement = aggregatorConfig.addElement("config"); configElement.addElement("xpath").addText(hrefXPointer.getXpath()); addNamespaces(configElement, node); // Connect XPath processor to config Processor xpathProcessor = new XPathProcessor(); xpathProcessor.setLocationData(locationData); DOMGenerator configGenerator = new DOMGenerator(aggregatorConfig); PipelineUtils.connect(configGenerator, ProcessorImpl.OUTPUT_DATA, xpathProcessor, ProcessorImpl.INPUT_CONFIG); // Connect data input to XPath processor connectProcessorToHref(node, xpathProcessor, ProcessorImpl.INPUT_DATA, hrefXPointer.getHref()); // Connect XPath processor output to current processor ProcessorOutput xpathOutput = xpathProcessor.createOutput(ProcessorImpl.OUTPUT_DATA); xpathOutput.setInput(processorInput); processorInput.setOutput(xpathOutput); } else { throw new ValidationException("Unsupported href type", locationData); } return processorInput; }
|
10097 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10097/558be30a09b76fdcd48f89d08b1308f894e34fcb/PipelineBlock.java/buggy/src/java/org/orbeon/oxf/processor/pipeline/PipelineBlock.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15476,
1210,
3077,
5164,
774,
15962,
12,
907,
756,
16,
15476,
6659,
16,
514,
31764,
16,
9183,
15962,
3897,
13,
288,
3639,
7050,
751,
2117,
751,
273,
756,
422,
446,
692,
446,
294,
261,
2735,
751,
13,
14015,
1046,
13,
756,
2934,
588,
751,
5621,
3639,
15476,
1210,
6659,
1210,
273,
6659,
18,
2640,
1210,
12,
2630,
461,
1769,
3639,
309,
261,
7547,
1276,
9183,
15962,
548,
13,
288,
5411,
514,
8042,
548,
273,
14015,
9053,
15962,
548,
13,
3897,
2934,
26321,
5621,
5411,
368,
423,
1812,
12755,
87,
410,
364,
783,
1435,
5411,
309,
261,
20883,
548,
18,
14963,
12,
1290,
3442,
5164,
18,
15487,
13,
597,
401,
350,
774,
1447,
863,
18,
12298,
653,
12,
1290,
3442,
5164,
18,
15487,
3719,
7734,
604,
394,
15614,
2932,
2083,
783,
1435,
848,
1338,
506,
1399,
316,
279,
364,
17,
13798,
1203,
3113,
2117,
751,
1769,
5411,
368,
6268,
358,
7243,
2553,
612,
5411,
309,
16051,
350,
774,
1447,
863,
18,
12298,
653,
12,
20883,
548,
3719,
7734,
604,
394,
15614,
2932,
2404,
358,
640,
16571,
876,
612,
11843,
397,
8042,
548,
397,
7023,
3113,
2117,
751,
1769,
5411,
15476,
1447,
8042,
1447,
273,
261,
5164,
1447,
13,
612,
774,
1447,
863,
18,
588,
12,
20883,
548,
1769,
5411,
309,
261,
20883,
1447,
18,
588,
1210,
1435,
422,
446,
13,
288,
7734,
368,
3633,
353,
16831,
1912,
30,
2537,
3077,
518,
358,
333,
6659,
7734,
6659,
1210,
18,
542,
1447,
12,
20883,
1447,
1769,
7734,
8042,
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,
15476,
1210,
3077,
5164,
774,
15962,
12,
907,
756,
16,
15476,
6659,
16,
514,
31764,
16,
9183,
15962,
3897,
13,
288,
3639,
7050,
751,
2117,
751,
273,
756,
422,
446,
692,
446,
294,
261,
2735,
751,
13,
14015,
1046,
13,
756,
2934,
588,
751,
5621,
3639,
15476,
1210,
6659,
1210,
273,
6659,
18,
2640,
1210,
12,
2630,
461,
1769,
3639,
309,
261,
7547,
1276,
9183,
15962,
548,
13,
288,
5411,
514,
8042,
548,
273,
14015,
9053,
15962,
548,
13,
3897,
2934,
26321,
5621,
5411,
368,
423,
1812,
12755,
87,
410,
364,
783,
1435,
5411,
309,
261,
20883,
548,
18,
14963,
12,
1290,
3442,
5164,
18,
15487,
13,
597,
401,
350,
774,
1447,
863,
18,
12298,
653,
12,
2
] |
webClient.getPage( URL_FIRST, SubmitMethod.POST, Collections.EMPTY_LIST);
|
webClient.getPage(URL_FIRST);
|
public void testAboutURL() throws Exception { final WebClient webClient = new WebClient(); final MockWebConnection webConnection = new MockWebConnection(webClient); final String firstContent = "<html><body><script language='JavaScript'>" + "w2=window.open(\"about:blank\", \"AboutBlank\");" + "w2.document.open();" + "w2.document.write(\"<html><head><title>hello</title></head><body></body></html>\");" + "w2.document.close();" + "</script></body></html>"; webConnection.setResponse( URL_FIRST, firstContent, 200, "OK", "text/html", Collections.EMPTY_LIST); webClient.setWebConnection(webConnection); webClient.getPage( URL_FIRST, SubmitMethod.POST, Collections.EMPTY_LIST); final WebWindow webWindow = webClient.getWebWindowByName("AboutBlank"); assertNotNull(webWindow); // final HtmlPage page = (HtmlPage) webWindow.getEnclosedPage(); // assertEquals("<html><head><title>hello</title></head><body></body></html>",page.getDocument().toString()); }
|
3508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3508/429ab9b3f74495494a904bb8f0f080fb6c368809/WindowTest.java/clean/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/WindowTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
24813,
1785,
1435,
1216,
1185,
288,
3639,
727,
2999,
1227,
3311,
1227,
273,
394,
2999,
1227,
5621,
3639,
727,
7867,
4079,
1952,
3311,
1952,
273,
5411,
394,
7867,
4079,
1952,
12,
4875,
1227,
1769,
3639,
727,
514,
1122,
1350,
273,
5411,
3532,
2620,
4438,
3432,
4438,
4263,
2653,
2218,
16634,
28533,
7734,
397,
315,
91,
22,
33,
5668,
18,
3190,
23031,
21071,
30,
12111,
22564,
1239,
24813,
7796,
2412,
12171,
7734,
397,
315,
91,
22,
18,
5457,
18,
3190,
26994,
7734,
397,
315,
91,
22,
18,
5457,
18,
2626,
23031,
32,
2620,
4438,
1978,
4438,
2649,
34,
23711,
1757,
2649,
4695,
1978,
4438,
3432,
4695,
3432,
4695,
2620,
34,
2412,
12171,
7734,
397,
315,
91,
22,
18,
5457,
18,
4412,
26994,
7734,
397,
6823,
4263,
4695,
3432,
4695,
2620,
2984,
31,
3639,
3311,
1952,
18,
542,
1064,
12,
5411,
1976,
67,
15354,
16,
5411,
1122,
1350,
16,
5411,
4044,
16,
5411,
315,
3141,
3113,
5411,
315,
955,
19,
2620,
3113,
5411,
5737,
18,
13625,
67,
7085,
1769,
3639,
3311,
1227,
18,
542,
4079,
1952,
12,
4875,
1952,
1769,
3639,
3311,
1227,
18,
588,
1964,
12,
5411,
1976,
67,
15354,
16,
5411,
17320,
1305,
18,
3798,
16,
5411,
5737,
18,
13625,
67,
7085,
1769,
3639,
727,
2999,
3829,
3311,
3829,
273,
3311,
1227,
18,
588,
4079,
3829,
5911,
2932,
24813,
7796,
8863,
3639,
25395,
12,
4875,
3829,
1769,
3639,
368,
225,
727,
5430,
1964,
1363,
273,
261,
4353,
1964,
13,
3311,
3829,
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,
377,
1071,
918,
1842,
24813,
1785,
1435,
1216,
1185,
288,
3639,
727,
2999,
1227,
3311,
1227,
273,
394,
2999,
1227,
5621,
3639,
727,
7867,
4079,
1952,
3311,
1952,
273,
5411,
394,
7867,
4079,
1952,
12,
4875,
1227,
1769,
3639,
727,
514,
1122,
1350,
273,
5411,
3532,
2620,
4438,
3432,
4438,
4263,
2653,
2218,
16634,
28533,
7734,
397,
315,
91,
22,
33,
5668,
18,
3190,
23031,
21071,
30,
12111,
22564,
1239,
24813,
7796,
2412,
12171,
7734,
397,
315,
91,
22,
18,
5457,
18,
3190,
26994,
7734,
397,
315,
91,
22,
18,
5457,
18,
2626,
23031,
32,
2620,
4438,
1978,
4438,
2649,
34,
23711,
1757,
2649,
4695,
1978,
4438,
3432,
4695,
3432,
4695,
2620,
34,
2412,
12171,
7734,
397,
315,
91,
2
] |
Bitstream [] bitstreams = bundles[0].getBitstreams();
|
Bitstream[] bitstreams = bundles[0].getBitstreams();
|
private void processFileList(Context context, HttpServletRequest request, HttpServletResponse response, SubmissionInfo subInfo) throws ServletException, IOException, SQLException, AuthorizeException { String buttonPressed = UIUtil.getSubmitButton(request, "submit_next"); Item item = subInfo.submission.getItem(); if (buttonPressed.equals("submit_cancel")) { doCancellation(request, response, subInfo, SubmitServlet.FILE_LIST, SubmitServlet.UPLOAD_FILES); } else if (buttonPressed.equals("submit_prev")) { // In some cases, this might be expected to go back // to the "choose file" page, but that doesn't make // a great deal of sense, so go back to edit metadata 2. doStep(context, request, response, subInfo, EDIT_METADATA_2); } else if (buttonPressed.equals("submit_next")) { // Finished the uploading of files // FIXME Validation check here // set primary bitstream if (request.getParameter("primary_bitstream_id") != null) { Bundle[] bundles = item.getBundles(); bundles[0].setPrimaryBitstreamID(new Integer(request.getParameter("primary_bitstream_id")).intValue()); bundles[0].update(); } userHasReached(subInfo, REVIEW_SUBMISSION); doStep(context, request, response, subInfo, REVIEW_SUBMISSION); context.complete(); } else if (buttonPressed.equals("submit_more")) { // set primary bitstream if (request.getParameter("primary_bitstream_id") != null) { Bundle[] bundles = item.getBundles(); bundles[0].setPrimaryBitstreamID(new Integer(request.getParameter("primary_bitstream_id")).intValue()); bundles[0].update(); context.commit(); } // Upload another file request.setAttribute("submission.info", subInfo); JSPManager.showJSP(request, response, "/submit/choose-file.jsp"); } else if (buttonPressed.equals("submit_show_checksums")) { // Show the checksums showUploadFileList(request, response, subInfo, false, true); } else if (buttonPressed.startsWith("submit_describe_")) { // Change the description of a bitstream Bitstream bitstream; // Which bitstream does the user want to describe? try { int id = Integer.parseInt(buttonPressed.substring(16)); bitstream = Bitstream.find(context, id); } catch (NumberFormatException nfe) { bitstream = null; } if (bitstream == null) { // Invalid or mangled bitstream ID log.warn(LogManager.getHeader(context, "integrity_error", UIUtil.getRequestLogInfo(request))); JSPManager.showIntegrityError(request, response); return; } // Display the form letting them change the description subInfo.bitstream = bitstream; request.setAttribute("submission.info", subInfo); JSPManager.showJSP(request, response, "/submit/change-file-description.jsp"); } else if (buttonPressed.startsWith("submit_remove_")) { // A "remove" button must have been pressed Bitstream bitstream; // Which bitstream does the user want to describe? try { int id = Integer.parseInt(buttonPressed.substring(14)); bitstream = Bitstream.find(context, id); } catch (NumberFormatException nfe) { bitstream = null; } if (bitstream == null) { // Invalid or mangled bitstream ID log.warn(LogManager.getHeader(context, "integrity_error", UIUtil.getRequestLogInfo(request))); JSPManager.showIntegrityError(request, response); return; } // remove bitstream from bundle.. // delete bundle if it's now empty // FIXME: Assumes: 1 bitstream in each bundle Bundle[] bundles = bitstream.getBundles(); bundles[0].removeBitstream(bitstream); Bitstream [] bitstreams = bundles[0].getBitstreams(); // remove bundle if it's now empty if( bitstreams.length < 1) { item.removeBundle(bundles[0]); item.update(); } showFirstUploadPage(context,request, response, subInfo); context.complete(); } else if (buttonPressed.startsWith("submit_format_")) { // A "format is wrong" button must have been pressed Bitstream bitstream; // Which bitstream does the user want to describe? try { int id = Integer.parseInt(buttonPressed.substring(14)); bitstream = Bitstream.find(context, id); } catch (NumberFormatException nfe) { bitstream = null; } if (bitstream == null) { // Invalid or mangled bitstream ID log.warn(LogManager.getHeader(context, "integrity_error", UIUtil.getRequestLogInfo(request))); JSPManager.showIntegrityError(request, response); return; } subInfo.bitstream = bitstream; showGetFileFormat(context, request, response, subInfo, bitstream); } else { doStepJump(context, request, response, subInfo); } }
|
47292 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47292/a176d2867eb2549c8a0d804504654d2a0a52f4a7/SubmitServlet.java/clean/dspace/src/org/dspace/app/webui/servlet/SubmitServlet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
26098,
12,
1042,
819,
16,
3639,
9984,
590,
16,
3639,
12446,
766,
16,
3639,
2592,
3951,
966,
720,
966,
13,
3639,
1216,
16517,
16,
1860,
16,
6483,
16,
23859,
503,
565,
288,
3639,
514,
3568,
24624,
273,
6484,
1304,
18,
588,
11620,
3616,
12,
2293,
16,
315,
9297,
67,
4285,
8863,
3639,
4342,
761,
273,
720,
966,
18,
12684,
18,
588,
1180,
5621,
3639,
309,
261,
5391,
24624,
18,
14963,
2932,
9297,
67,
10996,
6,
3719,
3639,
288,
5411,
741,
2568,
6857,
12,
2293,
16,
7734,
766,
16,
7734,
720,
966,
16,
7734,
17320,
4745,
18,
3776,
67,
7085,
16,
7734,
17320,
4745,
18,
23347,
67,
12669,
1769,
3639,
289,
3639,
469,
309,
261,
5391,
24624,
18,
14963,
2932,
9297,
67,
10001,
6,
3719,
3639,
288,
5411,
368,
657,
2690,
6088,
16,
333,
4825,
506,
2665,
358,
1960,
1473,
5411,
368,
358,
326,
315,
25777,
585,
6,
1363,
16,
1496,
716,
3302,
1404,
1221,
5411,
368,
279,
18825,
10490,
434,
12764,
16,
1427,
1960,
1473,
358,
3874,
1982,
576,
18,
5411,
741,
4160,
12,
2472,
16,
590,
16,
766,
16,
720,
966,
16,
21307,
67,
22746,
67,
22,
1769,
3639,
289,
3639,
469,
309,
261,
5391,
24624,
18,
14963,
2932,
9297,
67,
4285,
6,
3719,
3639,
288,
5411,
368,
29745,
326,
25306,
434,
1390,
5411,
368,
9852,
5684,
866,
2674,
202,
565,
368,
444,
3354,
28640,
202,
565,
309,
261,
2293,
18,
588,
1662,
2932,
8258,
67,
3682,
3256,
67,
350,
7923,
480,
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,
1207,
26098,
12,
1042,
819,
16,
3639,
9984,
590,
16,
3639,
12446,
766,
16,
3639,
2592,
3951,
966,
720,
966,
13,
3639,
1216,
16517,
16,
1860,
16,
6483,
16,
23859,
503,
565,
288,
3639,
514,
3568,
24624,
273,
6484,
1304,
18,
588,
11620,
3616,
12,
2293,
16,
315,
9297,
67,
4285,
8863,
3639,
4342,
761,
273,
720,
966,
18,
12684,
18,
588,
1180,
5621,
3639,
309,
261,
5391,
24624,
18,
14963,
2932,
9297,
67,
10996,
6,
3719,
3639,
288,
5411,
741,
2568,
6857,
12,
2293,
16,
7734,
766,
16,
7734,
720,
966,
16,
7734,
17320,
4745,
18,
3776,
67,
7085,
16,
7734,
17320,
4745,
18,
23347,
67,
12669,
1769,
3639,
289,
3639,
469,
309,
261,
5391,
2
] |
new MarginBorder(one, MapMode.DPtoLP(15), one, MapMode .DPtoLP(15) / 2));
|
new MarginBorder(one, mm.DPtoLP(15), one, mm.DPtoLP(15) / 2));
|
protected IFigure createFigure() { if (isResizable()) { ResizableCompartmentFigure compartmentFigure = new NestedResizableCompartmentFigure(); ConstrainedToolbarLayout layout = new ConstrainedToolbarLayout(); layout.setStretchMajorAxis(false); layout.setStretchMinorAxis(false); layout.setMinorAlignment(ConstrainedToolbarLayout.ALIGN_TOPLEFT); compartmentFigure.getContentPane().setLayoutManager(layout); compartmentFigure.getTextPane().add(getLabel()); // if the compartment is resizeable then we need to put a border // around the text compartment so that we have enough room for the // collpase handle. int one = MapMode.DPtoLP(1); // indent to make room for collapse handle for each nested list item compartmentFigure.getTextPane().setBorder( new MarginBorder(one, MapMode.DPtoLP(15) / 2, one, MapMode .DPtoLP(15) / 2)); // indent for visual appearance compartmentFigure.getContentPane().setBorder( new MarginBorder(one, MapMode.DPtoLP(15), one, MapMode .DPtoLP(15) / 2)); WrapLabel label = getLabel(); label.setLabelAlignment(PositionConstants.LEFT); label.setVisible(true); return compartmentFigure; } else { return super.createFigure(); } }
|
1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/adc1102179d667e4a670bfc5711892726a23a343/NestableListItemEditPart.java/buggy/org.eclipse.gmf.runtime/plugins/org.eclipse.gmf.runtime.diagram.ui/src/org/eclipse/gmf/runtime/diagram/ui/editparts/NestableListItemEditPart.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
11083,
15906,
752,
42,
15906,
1435,
288,
202,
202,
430,
261,
291,
607,
6934,
10756,
288,
1082,
202,
607,
6934,
799,
15750,
42,
15906,
1161,
24144,
42,
15906,
273,
394,
19071,
607,
6934,
799,
15750,
42,
15906,
5621,
1082,
202,
442,
31142,
17907,
3744,
3511,
273,
394,
735,
31142,
17907,
3744,
5621,
1082,
202,
6741,
18,
542,
510,
20783,
17581,
6558,
12,
5743,
1769,
1082,
202,
6741,
18,
542,
510,
20783,
19549,
6558,
12,
5743,
1769,
1082,
202,
6741,
18,
542,
19549,
11535,
12,
442,
31142,
17907,
3744,
18,
26439,
67,
10462,
10066,
1769,
1082,
202,
832,
15750,
42,
15906,
18,
588,
1350,
8485,
7675,
542,
3744,
1318,
12,
6741,
1769,
1082,
202,
832,
15750,
42,
15906,
18,
588,
1528,
8485,
7675,
1289,
12,
588,
2224,
10663,
1082,
202,
759,
309,
326,
1161,
24144,
353,
7041,
429,
1508,
732,
1608,
358,
1378,
279,
5795,
1082,
202,
759,
6740,
326,
977,
1161,
24144,
1427,
716,
732,
1240,
7304,
7725,
364,
326,
1082,
202,
759,
4508,
84,
448,
1640,
18,
1082,
202,
474,
1245,
273,
1635,
2309,
18,
8640,
869,
14461,
12,
21,
1769,
1082,
202,
759,
3504,
358,
1221,
7725,
364,
13627,
1640,
364,
1517,
4764,
666,
761,
1082,
202,
832,
15750,
42,
15906,
18,
588,
1528,
8485,
7675,
542,
8107,
12,
9506,
202,
2704,
490,
5243,
8107,
12,
476,
16,
1635,
2309,
18,
8640,
869,
14461,
12,
3600,
13,
342,
576,
16,
1245,
16,
1635,
2309,
6862,
202,
18,
8640,
869,
14461,
12,
3600,
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,
11083,
15906,
752,
42,
15906,
1435,
288,
202,
202,
430,
261,
291,
607,
6934,
10756,
288,
1082,
202,
607,
6934,
799,
15750,
42,
15906,
1161,
24144,
42,
15906,
273,
394,
19071,
607,
6934,
799,
15750,
42,
15906,
5621,
1082,
202,
442,
31142,
17907,
3744,
3511,
273,
394,
735,
31142,
17907,
3744,
5621,
1082,
202,
6741,
18,
542,
510,
20783,
17581,
6558,
12,
5743,
1769,
1082,
202,
6741,
18,
542,
510,
20783,
19549,
6558,
12,
5743,
1769,
1082,
202,
6741,
18,
542,
19549,
11535,
12,
442,
31142,
17907,
3744,
18,
26439,
67,
10462,
10066,
1769,
1082,
202,
832,
15750,
42,
15906,
18,
588,
1350,
8485,
7675,
542,
3744,
1318,
12,
6741,
1769,
1082,
202,
832,
15750,
42,
2
] |
IJavaProject currentProject, IPath currentOutput, int outputTraverseMode) {
|
RootInfo rootInfo, OutputInfo outputInfo) {
|
protected boolean traverseDelta( IResourceDelta delta, int elementType, IJavaProject currentProject, IPath currentOutput, int outputTraverseMode) { IResource res = delta.getResource(); // process current delta boolean processChildren = true; if (currentProject != null || res instanceof IProject) { if (this.currentElement == null || !this.currentElement.getJavaProject().equals(currentProject)) { // force the currentProject to be used this.currentElement = (Openable)currentProject; } try { processChildren = this.updateCurrentDeltaAndIndex(delta, elementType, currentProject); } catch (JavaModelException e) { // non java resource or invalid project return false; } } else { // not yet inside a package fragment root processChildren = true; } // get the project's output location if (currentOutput == null) { try { IJavaProject proj = currentProject == null ? (IJavaProject)this.createElement(res.getProject(), IJavaElement.JAVA_PROJECT, null) : currentProject; if (proj != null) { currentOutput = proj.getOutputLocation(); if (proj.getProject().getFullPath().equals(currentOutput)){ // case of proj==bin==src outputTraverseMode = SOURCE; } else { // check case of src==bin IClasspathEntry[] classpath = proj.getResolvedClasspath(true); for (int i = 0, length = classpath.length; i < length; i++) { IClasspathEntry entry = classpath[i]; if (entry.getPath().equals(currentOutput)) { outputTraverseMode = (entry.getEntryKind() == IClasspathEntry.CPE_SOURCE) ? SOURCE : BINARY; break; } } } } } catch (JavaModelException e) { } } // process children if needed if (processChildren) { IResourceDelta[] children = delta.getAffectedChildren(); boolean oneChildOnClasspath = false; int length = children.length; IResourceDelta[] orphanChildren = new IResourceDelta[length]; Openable parent = null; boolean isValidParent = true; for (int i = 0; i < length; i++) { IResourceDelta child = children[i]; IResource childRes = child.getResource(); // check source attachment change this.checkSourceAttachmentChange(child, childRes); // find out whether the child is a package fragment root of the current project IPath childPath = childRes.getFullPath(); IJavaProject projectOfRoot = (IJavaProject)this.roots.get(childPath); boolean isPkgFragmentRoot = projectOfRoot != null && (projectOfRoot.getProject().getFullPath().isPrefixOf(childPath)); int childType = this.elementType( childRes, child.getKind(), child.getFlags(), elementType, isPkgFragmentRoot); if (isPkgFragmentRoot) { this.currentExclusionPatterns = (char[][])this.exclusionPatterns.get(childPath); } // filter out changes in output location boolean outputIsFiltered = false; if (currentOutput != null && currentOutput.isPrefixOf(childPath)) { if (outputTraverseMode != IGNORE) { // case of bin=src if (outputTraverseMode == SOURCE && childType == IJavaElement.CLASS_FILE) { outputIsFiltered = true; } else { // case of .class file under project and no source folder // proj=bin if (childType == IJavaElement.JAVA_PROJECT && childRes instanceof IFile && Util.isValidClassFileName(childRes.getName())) { outputIsFiltered = true; } } } else { outputIsFiltered = true; } } // traverse delta for child in the same project if (!outputIsFiltered) { if (childType == -1 || !this.traverseDelta(child, childType, (currentProject == null && isPkgFragmentRoot) ? projectOfRoot : currentProject, currentOutput, outputTraverseMode)) { try { if (currentProject != null) { if (!isValidParent) continue; if (parent == null) { if (this.currentElement == null || !this.currentElement.getJavaProject().equals(currentProject)) { // force the currentProject to be used this.currentElement = (Openable)currentProject; } if (elementType == IJavaElement.JAVA_PROJECT || (elementType == IJavaElement.PACKAGE_FRAGMENT_ROOT && res instanceof IProject)) { // NB: attach non-java resource to project (not to its package fragment root) parent = (Openable)currentProject; } else { parent = this.createElement(res, elementType, currentProject); } if (parent == null) { isValidParent = false; continue; } } // add child as non java resource nonJavaResourcesChanged(parent, child); } else { orphanChildren[i] = child; } } catch (JavaModelException e) { } } else { oneChildOnClasspath = true; } } // if child is a package fragment root of another project, traverse delta too if (projectOfRoot != null && !isPkgFragmentRoot) { this.traverseDelta(child, IJavaElement.PACKAGE_FRAGMENT_ROOT, projectOfRoot, null, IGNORE); // binary output of projectOfRoot cannot be this root // NB: No need to check the return value as the child can only be on the classpath } // if the child is a package fragment root of one or several other projects HashSet set; if ((set = (HashSet)this.otherRoots.get(childPath)) != null) { IPackageFragmentRoot currentRoot = (currentProject == null ? projectOfRoot : currentProject).getPackageFragmentRoot(childRes); Iterator iterator = set.iterator(); while (iterator.hasNext()) { IJavaProject project = (IJavaProject) iterator.next(); this.cloneCurrentDelta(project, currentRoot); } } } if (oneChildOnClasspath || res instanceof IProject) { // add orphan children (case of non java resources under project) IProject rscProject = res.getProject(); JavaProject adoptiveProject = (JavaProject)JavaCore.create(rscProject); if (adoptiveProject != null && this.hasJavaNature(rscProject)) { // delta iff Java project (18698) for (int i = 0; i < length; i++) { if (orphanChildren[i] != null) { try { nonJavaResourcesChanged(adoptiveProject, orphanChildren[i]); } catch (JavaModelException e) { } } } } } // else resource delta will be added by parent return isValidParent && (currentProject != null || oneChildOnClasspath); } else { // if not on classpath or if the element type is -1, // it's a non-java resource return currentProject != null && elementType != -1; } }
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/51917a0c83743a82a23c6f16badda9326a65b40d/DeltaProcessor.java/buggy/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeltaProcessor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1250,
10080,
9242,
12,
202,
202,
45,
1420,
9242,
3622,
16,
3196,
202,
474,
21427,
16,
3196,
202,
45,
5852,
4109,
783,
4109,
16,
202,
202,
45,
743,
783,
1447,
16,
202,
202,
474,
876,
29654,
2309,
13,
288,
6862,
202,
45,
1420,
400,
273,
3622,
18,
588,
1420,
5621,
9506,
202,
759,
1207,
783,
3622,
202,
202,
6494,
1207,
4212,
273,
638,
31,
202,
202,
430,
261,
2972,
4109,
480,
446,
747,
400,
1276,
467,
4109,
13,
288,
1082,
202,
430,
261,
2211,
18,
2972,
1046,
422,
446,
747,
401,
2211,
18,
2972,
1046,
18,
588,
5852,
4109,
7675,
14963,
12,
2972,
4109,
3719,
288,
9506,
202,
759,
2944,
326,
783,
4109,
358,
506,
1399,
9506,
202,
2211,
18,
2972,
1046,
273,
261,
3678,
429,
13,
2972,
4109,
31,
1082,
202,
97,
1082,
202,
698,
288,
9506,
202,
2567,
4212,
273,
333,
18,
2725,
3935,
9242,
1876,
1016,
12,
9878,
16,
21427,
16,
783,
4109,
1769,
1082,
202,
97,
1044,
261,
5852,
1488,
503,
425,
13,
288,
9506,
202,
759,
1661,
2252,
1058,
578,
2057,
1984,
9506,
202,
2463,
629,
31,
1082,
202,
97,
202,
202,
97,
469,
288,
1082,
202,
759,
486,
4671,
4832,
279,
2181,
5481,
1365,
1082,
202,
2567,
4212,
273,
638,
31,
202,
202,
97,
9506,
202,
759,
336,
326,
1984,
1807,
876,
2117,
202,
202,
430,
261,
2972,
1447,
422,
446,
13,
288,
1082,
202,
698,
288,
9506,
202,
45,
5852,
4109,
10296,
273,
6862,
202,
2972,
4109,
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,
1250,
10080,
9242,
12,
202,
202,
45,
1420,
9242,
3622,
16,
3196,
202,
474,
21427,
16,
3196,
202,
45,
5852,
4109,
783,
4109,
16,
202,
202,
45,
743,
783,
1447,
16,
202,
202,
474,
876,
29654,
2309,
13,
288,
6862,
202,
45,
1420,
400,
273,
3622,
18,
588,
1420,
5621,
9506,
202,
759,
1207,
783,
3622,
202,
202,
6494,
1207,
4212,
273,
638,
31,
202,
202,
430,
261,
2972,
4109,
480,
446,
747,
400,
1276,
467,
4109,
13,
288,
1082,
202,
430,
261,
2211,
18,
2972,
1046,
422,
446,
747,
401,
2211,
18,
2972,
1046,
18,
588,
5852,
4109,
7675,
14963,
12,
2972,
4109,
3719,
288,
9506,
202,
759,
2944,
326,
783,
4109,
358,
506,
1399,
2
] |
public void addWebinf(FileSet fs) { webInfFileSets.addElement(fs);
|
public void addWebinf(PrefixedFileSet fs) { fs.setPrefix("WEB-INF/"); super.addFileset(fs);
|
public void addWebinf(FileSet fs) { webInfFileSets.addElement(fs); }
|
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/dd89f4f61343bf6c11cd8dc2c409204a89614b0b/War.java/buggy/src/main/org/apache/tools/ant/taskdefs/War.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
4079,
10625,
12,
812,
694,
2662,
13,
288,
3639,
3311,
13149,
812,
2785,
18,
1289,
1046,
12,
2556,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
4079,
10625,
12,
812,
694,
2662,
13,
288,
3639,
3311,
13149,
812,
2785,
18,
1289,
1046,
12,
2556,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return new ImageIcon(MemberIcon.class.getResource("icons/" + name + ".png"));
|
return new ImageIcon(MemberIcon.class.getResource(name + ".png"));
|
private Icon loadIcon(String name) { return new ImageIcon(MemberIcon.class.getResource("icons/" + name + ".png")); }
|
13291 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13291/5c7bda37945b66e7410c0540795964eb65b10c8e/MemberIcon.java/buggy/src/org/jedit/ruby/icons/MemberIcon.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
16011,
1262,
5554,
12,
780,
508,
13,
288,
4202,
327,
394,
3421,
5554,
12,
4419,
5554,
18,
1106,
18,
588,
1420,
12,
529,
397,
3552,
6446,
7923,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
16011,
1262,
5554,
12,
780,
508,
13,
288,
4202,
327,
394,
3421,
5554,
12,
4419,
5554,
18,
1106,
18,
588,
1420,
12,
529,
397,
3552,
6446,
7923,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
super(arguments);
|
super(arguments, outStream);
|
public TestableCommandlineParser(String[] arguments) { super(arguments); }
|
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/f321a7dc6c9f0229cc5266d9c2923a04a755be60/TestCommandlineParser.java/clean/test/org/jruby/test/TestCommandlineParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
7766,
429,
2189,
1369,
2678,
12,
780,
8526,
1775,
13,
288,
1850,
2240,
12,
7099,
16,
28997,
1769,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
7766,
429,
2189,
1369,
2678,
12,
780,
8526,
1775,
13,
288,
1850,
2240,
12,
7099,
16,
28997,
1769,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
} else { try { fw = Integer.parseInt(fontWeight); } catch (NumberFormatException e) {
|
} else { try { fw = Integer.parseInt( fontWeight ); } catch ( NumberFormatException e ) {
|
private void updatePreview() { if (sample != null) { String fontFamily = name.getValueForName(name.getComboBoxControl( null).getText()); if (fontFamily == null) { fontFamily = "Times New Roman"; //$NON-NLS-1$ } String familyValue = (String) DesignerConstants.familyMap .get(fontFamily); if (familyValue == null) { familyValue = fontFamily; } // set default font size. String fontSize = DesignChoiceConstants.FONT_SIZE_MEDIUM; int sizeValue = Integer.valueOf( (String) DesignerConstants.fontMap.get(fontSize)) .intValue(); if (size.InComboNamesList(size.getComboBoxControl( getFieldEditorParent()).getText())) { fontSize = size.getBoxValueForName(size.getComboBoxControl( getFieldEditorParent()).getText()); if (DesignChoiceConstants.FONT_SIZE_LARGER.equals(fontSize)) { fontSize = DesignChoiceConstants.FONT_SIZE_LARGE; } else if (DesignChoiceConstants.FONT_SIZE_SMALLER .equals(fontSize)) { fontSize = DesignChoiceConstants.FONT_SIZE_SMALL; } sizeValue = Integer.valueOf( (String) DesignerConstants.fontMap.get(fontSize)) .intValue(); } else { String text = size.getComboBoxControl(getFieldEditorParent()) .getText(); String pre = size.getMeasureValueForName(size .getMeasureControl(getFieldEditorParent()).getText()); if (DEUtil.isValidNumber(text)) { sizeValue = (int) CSSUtil .convertToPoint(new DimensionValue(Double .parseDouble(text), pre)); } } boolean italic = false; String fontStyle = style.getValueForName(style.getComboBoxControl( getFieldEditorParent()).getText()); if (DesignChoiceConstants.FONT_STYLE_ITALIC.equals(fontStyle)) { italic = true; } String fontWeight = weight.getValueForName(weight .getComboBoxControl(null).getText()); boolean bold = false; int fw = 400; if (DesignChoiceConstants.FONT_WEIGHT_NORMAL.equals(fontWeight)) { // no change. } else if (DesignChoiceConstants.FONT_WEIGHT_BOLD .equals(fontWeight)) { bold = true; fw = 700; } else if (DesignChoiceConstants.FONT_WEIGHT_BOLDER .equals(fontWeight)) { bold = true; fw = 1000; } else if (DesignChoiceConstants.FONT_WEIGHT_LIGHTER .equals(fontWeight)) { fw = 100; } else { try { fw = Integer.parseInt(fontWeight); } catch (NumberFormatException e) { fw = 400; } if (fw > 700) { bold = true; } } sample.setFontFamily(familyValue); sample.setFontSize(sizeValue); sample.setBold(bold); sample.setItalic(italic); sample.setFontWeight(fw); // sample.setForeground( new Color( Display.getCurrent( ), // color.getColorSelector( ).getColorValue( ) ) ); sample.setForeground(ColorManager.getColor(color.getColorSelector() .getRGB())); sample.setUnderline(docoration.getUnderLinePropControl(null) .getSelection()); sample.setLinethrough(docoration.getLineThroughPropControl(null) .getSelection()); sample.setOverline(docoration.getOverLinePropControl(null) .getSelection()); sample.updateView(); } }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/9a44d88745cf69dac1395f41e7c3c7bf8bdeb1e6/FontPreferencePage.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/FontPreferencePage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1089,
11124,
1435,
288,
202,
202,
430,
261,
6358,
480,
446,
13,
288,
1082,
202,
780,
3512,
9203,
273,
508,
18,
24805,
1290,
461,
12,
529,
18,
588,
22199,
3367,
12,
6862,
202,
2011,
2934,
588,
1528,
10663,
1082,
202,
430,
261,
5776,
9203,
422,
446,
13,
288,
9506,
202,
5776,
9203,
273,
315,
10694,
1166,
534,
362,
304,
14432,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
97,
1082,
202,
780,
6755,
620,
273,
261,
780,
13,
29703,
264,
2918,
18,
9309,
863,
6862,
202,
18,
588,
12,
5776,
9203,
1769,
1082,
202,
430,
261,
9309,
620,
422,
446,
13,
288,
9506,
202,
9309,
620,
273,
3512,
9203,
31,
1082,
202,
97,
1082,
202,
759,
444,
805,
3512,
963,
18,
1082,
202,
780,
16746,
273,
29703,
10538,
2918,
18,
25221,
67,
4574,
67,
15971,
2799,
31,
1082,
202,
474,
963,
620,
273,
2144,
18,
1132,
951,
12,
6862,
202,
12,
780,
13,
29703,
264,
2918,
18,
5776,
863,
18,
588,
12,
5776,
1225,
3719,
6862,
202,
18,
474,
620,
5621,
1082,
202,
430,
261,
1467,
18,
382,
16156,
1557,
682,
12,
1467,
18,
588,
22199,
3367,
12,
6862,
202,
588,
974,
6946,
3054,
1435,
2934,
588,
1528,
1435,
3719,
288,
9506,
202,
5776,
1225,
273,
963,
18,
588,
3514,
620,
1290,
461,
12,
1467,
18,
588,
22199,
3367,
12,
25083,
202,
588,
974,
6946,
3054,
1435,
2934,
588,
1528,
10663,
9506,
202,
430,
261,
15478,
10538,
2918,
18,
25221,
67,
4574,
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,
1089,
11124,
1435,
288,
202,
202,
430,
261,
6358,
480,
446,
13,
288,
1082,
202,
780,
3512,
9203,
273,
508,
18,
24805,
1290,
461,
12,
529,
18,
588,
22199,
3367,
12,
6862,
202,
2011,
2934,
588,
1528,
10663,
1082,
202,
430,
261,
5776,
9203,
422,
446,
13,
288,
9506,
202,
5776,
9203,
273,
315,
10694,
1166,
534,
362,
304,
14432,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
97,
1082,
202,
780,
6755,
620,
273,
261,
780,
13,
29703,
264,
2918,
18,
9309,
863,
6862,
202,
18,
588,
12,
5776,
9203,
1769,
1082,
202,
430,
261,
9309,
620,
422,
446,
13,
288,
9506,
202,
9309,
620,
273,
3512,
9203,
31,
1082,
202,
97,
1082,
2
] |
sbPrefix.append ("} /* end of ")
|
sbPrefix.append ("\n} /* end of ")
|
StringBuffer appendClassifierEnd (StringBuffer sbPrefix, MClassifier cls, boolean fPlain) { if (fPlain) { return sbPrefix.append ("}"); } else { String sClassifierKeyword; if (cls instanceof MClassImpl) sClassifierKeyword = "class"; else if (cls instanceof MInterface) sClassifierKeyword = "interface"; else return null; // actors, use cases etc. sbPrefix.append ("} /* end of ") .append (sClassifierKeyword) .append (" ") .append (generateName (cls.getName())) .append (" */\n"); return sbPrefix; } }
|
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/bb658de6acc9b265eb8d85a0b7eebd5274159778/GeneratorJava.java/buggy/src_new/org/argouml/language/java/generator/GeneratorJava.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
6674,
714,
13860,
1638,
261,
780,
1892,
2393,
2244,
16,
4766,
565,
490,
13860,
225,
2028,
16,
4766,
565,
1250,
1377,
284,
13360,
13,
288,
565,
309,
261,
74,
13360,
13,
288,
1377,
327,
2393,
2244,
18,
6923,
7566,
1532,
1769,
565,
289,
565,
469,
288,
1377,
514,
272,
13860,
8736,
31,
1377,
309,
261,
6429,
1276,
490,
797,
2828,
13,
272,
13860,
8736,
273,
315,
1106,
14432,
1377,
469,
309,
261,
6429,
1276,
490,
1358,
13,
272,
13860,
8736,
273,
315,
5831,
14432,
1377,
469,
327,
446,
31,
368,
27141,
16,
999,
6088,
5527,
18,
1377,
2393,
2244,
18,
6923,
7566,
64,
82,
97,
1748,
679,
434,
9369,
2868,
263,
6923,
261,
87,
13860,
8736,
13,
2868,
263,
6923,
7566,
9369,
2868,
263,
6923,
261,
7163,
461,
261,
6429,
18,
17994,
1435,
3719,
2868,
263,
6923,
7566,
1195,
64,
82,
8863,
1377,
327,
2393,
2244,
31,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
6674,
714,
13860,
1638,
261,
780,
1892,
2393,
2244,
16,
4766,
565,
490,
13860,
225,
2028,
16,
4766,
565,
1250,
1377,
284,
13360,
13,
288,
565,
309,
261,
74,
13360,
13,
288,
1377,
327,
2393,
2244,
18,
6923,
7566,
1532,
1769,
565,
289,
565,
469,
288,
1377,
514,
272,
13860,
8736,
31,
1377,
309,
261,
6429,
1276,
490,
797,
2828,
13,
272,
13860,
8736,
273,
315,
1106,
14432,
1377,
469,
309,
261,
6429,
1276,
490,
1358,
13,
272,
13860,
8736,
273,
315,
5831,
14432,
1377,
469,
327,
446,
31,
368,
27141,
16,
999,
6088,
5527,
18,
1377,
2393,
2244,
18,
6923,
7566,
64,
82,
97,
1748,
679,
434,
9369,
2868,
263,
6923,
261,
87,
13860,
8736,
13,
2868,
2
] |
NativeJavaObject.initJSObject();
|
if (Context.useJSObject) NativeJavaObject.initJSObject();
|
public static Scriptable init(Scriptable scope) throws PropertyException { NativeJavaPackage packages = new NativeJavaPackage(""); packages.setPrototype(getObjectPrototype(scope)); packages.setParentScope(scope); // We want to get a real alias, and not a distinct JavaPackage // with the same packageName, so that we share classes and packages // that are underneath. NativeJavaPackage javaAlias = (NativeJavaPackage)packages.get("java", packages); // It's safe to downcast here since initStandardObjects takes // a ScriptableObject. ScriptableObject global = (ScriptableObject) scope; global.defineProperty("Packages", packages, ScriptableObject.DONTENUM); global.defineProperty("java", javaAlias, ScriptableObject.DONTENUM); for (int i = 0; i < commonPackages.length; i++) packages.forcePackage(commonPackages[i]); NativeJavaObject.initJSObject(); Method[] m = FunctionObject.findMethods(NativeJavaPackage.class, "jsFunction_getClass"); FunctionObject f = new FunctionObject("getClass", m[0], global); global.defineProperty("getClass", f, ScriptableObject.DONTENUM); // I think I'm supposed to return the prototype, but I don't have one. return packages; }
|
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/2deb34d1bc45c20256876de120e23e6f853fca7d/NativeJavaPackage.java/buggy/src/org/mozilla/javascript/NativeJavaPackage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
22780,
1208,
12,
3651,
429,
2146,
13,
540,
1216,
4276,
503,
565,
288,
3639,
16717,
5852,
2261,
5907,
273,
394,
16717,
5852,
2261,
2932,
8863,
3639,
5907,
18,
542,
15846,
12,
588,
921,
15846,
12,
4887,
10019,
3639,
5907,
18,
542,
3054,
3876,
12,
4887,
1769,
3639,
368,
1660,
2545,
358,
336,
279,
2863,
2308,
16,
471,
486,
279,
10217,
5110,
2261,
3639,
368,
598,
326,
1967,
9929,
16,
1427,
716,
732,
7433,
3318,
471,
5907,
3639,
368,
716,
854,
3613,
4644,
421,
18,
3639,
16717,
5852,
2261,
2252,
2936,
273,
261,
9220,
5852,
2261,
13,
10308,
18,
588,
2932,
6290,
3113,
28524,
1377,
5907,
1769,
3639,
368,
2597,
1807,
4183,
358,
2588,
4155,
2674,
3241,
1208,
8336,
4710,
5530,
3639,
368,
279,
22780,
921,
18,
3639,
22780,
921,
2552,
273,
261,
3651,
429,
921,
13,
2146,
31,
3639,
2552,
18,
11255,
1396,
2932,
11425,
3113,
5907,
16,
22780,
921,
18,
40,
10079,
16509,
1769,
3639,
2552,
18,
11255,
1396,
2932,
6290,
3113,
2252,
2936,
16,
22780,
921,
18,
40,
10079,
16509,
1769,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
2975,
11425,
18,
2469,
31,
277,
27245,
5411,
5907,
18,
5734,
2261,
12,
6054,
11425,
63,
77,
19226,
3639,
309,
261,
1042,
18,
1202,
6479,
921,
13,
16717,
5852,
921,
18,
2738,
6479,
921,
5621,
7734,
2985,
8526,
312,
273,
4284,
921,
18,
4720,
4712,
12,
9220,
5852,
2261,
18,
1106,
16,
4766,
1171,
315,
2924,
2083,
67,
588,
797,
8863,
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,
22780,
1208,
12,
3651,
429,
2146,
13,
540,
1216,
4276,
503,
565,
288,
3639,
16717,
5852,
2261,
5907,
273,
394,
16717,
5852,
2261,
2932,
8863,
3639,
5907,
18,
542,
15846,
12,
588,
921,
15846,
12,
4887,
10019,
3639,
5907,
18,
542,
3054,
3876,
12,
4887,
1769,
3639,
368,
1660,
2545,
358,
336,
279,
2863,
2308,
16,
471,
486,
279,
10217,
5110,
2261,
3639,
368,
598,
326,
1967,
9929,
16,
1427,
716,
732,
7433,
3318,
471,
5907,
3639,
368,
716,
854,
3613,
4644,
421,
18,
3639,
16717,
5852,
2261,
2252,
2936,
273,
261,
9220,
5852,
2261,
13,
10308,
18,
588,
2932,
6290,
3113,
28524,
1377,
5907,
1769,
3639,
368,
2597,
1807,
4183,
358,
2588,
4155,
2674,
3241,
2
] |
assertTrue(vcs.hasEntry(p("root1/dir"))); assertTrue(vcs.hasEntry(p("root1/dir/file"))); assertFalse(vcs.hasEntry(p("root2/dir")));
|
assertTrue(vcs.hasEntry(p("/root1/dir"))); assertTrue(vcs.hasEntry(p("/root1/dir/file"))); assertFalse(vcs.hasEntry(p("/root2/dir")));
|
public void testMovingDirectory() { vcs.createDirectory(p("root1")); vcs.createDirectory(p("root2")); vcs.createDirectory(p("root1/dir")); vcs.createFile(p("root1/dir/file"), null); vcs.apply(); vcs.move(p("root1/dir"), p("root2")); vcs.apply(); assertTrue(vcs.hasEntry(p("root2/dir"))); assertTrue(vcs.hasEntry(p("root2/dir/file"))); assertFalse(vcs.hasEntry(p("root1/dir"))); vcs._revert(); assertTrue(vcs.hasEntry(p("root1/dir"))); assertTrue(vcs.hasEntry(p("root1/dir/file"))); assertFalse(vcs.hasEntry(p("root2/dir"))); }
|
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/8a6fdbc15b3cd4aaa232cf2026aa4a60418c162a/LocalVcsBasicsTest.java/clean/LocalVcs/test/com/intellij/localvcs/LocalVcsBasicsTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
49,
13767,
2853,
1435,
288,
565,
20255,
18,
2640,
2853,
12,
84,
2932,
3085,
21,
7923,
1769,
565,
20255,
18,
2640,
2853,
12,
84,
2932,
3085,
22,
7923,
1769,
565,
20255,
18,
2640,
2853,
12,
84,
2932,
3085,
21,
19,
1214,
7923,
1769,
565,
20255,
18,
2640,
812,
12,
84,
2932,
3085,
21,
19,
1214,
19,
768,
6,
3631,
446,
1769,
565,
20255,
18,
9010,
5621,
565,
20255,
18,
8501,
12,
84,
2932,
3085,
21,
19,
1214,
6,
3631,
293,
2932,
3085,
22,
7923,
1769,
565,
20255,
18,
9010,
5621,
565,
1815,
5510,
12,
18982,
18,
5332,
1622,
12,
84,
2932,
3085,
22,
19,
1214,
6,
3719,
1769,
565,
1815,
5510,
12,
18982,
18,
5332,
1622,
12,
84,
2932,
3085,
22,
19,
1214,
19,
768,
6,
3719,
1769,
565,
1815,
8381,
12,
18982,
18,
5332,
1622,
12,
84,
2932,
3085,
21,
19,
1214,
6,
3719,
1769,
565,
20255,
6315,
266,
1097,
5621,
565,
1815,
5510,
12,
18982,
18,
5332,
1622,
12,
84,
2932,
3085,
21,
19,
1214,
6,
3719,
1769,
565,
1815,
5510,
12,
18982,
18,
5332,
1622,
12,
84,
2932,
3085,
21,
19,
1214,
19,
768,
6,
3719,
1769,
565,
1815,
8381,
12,
18982,
18,
5332,
1622,
12,
84,
2932,
3085,
22,
19,
1214,
6,
3719,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
49,
13767,
2853,
1435,
288,
565,
20255,
18,
2640,
2853,
12,
84,
2932,
3085,
21,
7923,
1769,
565,
20255,
18,
2640,
2853,
12,
84,
2932,
3085,
22,
7923,
1769,
565,
20255,
18,
2640,
2853,
12,
84,
2932,
3085,
21,
19,
1214,
7923,
1769,
565,
20255,
18,
2640,
812,
12,
84,
2932,
3085,
21,
19,
1214,
19,
768,
6,
3631,
446,
1769,
565,
20255,
18,
9010,
5621,
565,
20255,
18,
8501,
12,
84,
2932,
3085,
21,
19,
1214,
6,
3631,
293,
2932,
3085,
22,
7923,
1769,
565,
20255,
18,
9010,
5621,
565,
1815,
5510,
12,
18982,
18,
5332,
1622,
12,
84,
2932,
3085,
22,
19,
1214,
6,
3719,
1769,
565,
1815,
5510,
12,
18982,
18,
5332,
2
] |
PartListDO partList;
|
PartListDO partList = null;
|
public void setDownloadDO(DownloadDO downloadDO) { try { if (downloadDO == null) { if (partListWorkerThread != null){ partListWorkerThread.interrupt(); partListWorkerThread = null; } actualDLDateiName.setText(""); actualDlOverviewTable.setPartList(null); } else if (downloadDO.getStatus() != DownloadDO.FERTIGSTELLEN && downloadDO.getStatus() != DownloadDO.FERTIG) { final DownloadDO tempDO = downloadDO; if (partListWorkerThread != null){ partListWorkerThread.interrupt(); } partListWorkerThread = new Thread() { public void run() { actualDLDateiName.setText(" " + tempDO.getFilename() + " (" + tempDO.getTemporaryFileNumber() + ".data)"); actualDlOverviewTable.setPartList(null); PartListDO partList; while (!isInterrupted()) { partList = ApplejuiceFassade.getInstance(). getPartList(tempDO); if (isInterrupted()){ break; } if (partList == null) { interrupt(); actualDLDateiName.setText(""); actualDlOverviewTable.setPartList(null); } else { actualDlOverviewTable.setPartList(partList); try { sleep(2000); } catch (InterruptedException iE) { interrupt(); } } } } }; partListWorkerThread.start(); } } catch (Exception e) { if (partListWorkerThread != null){ partListWorkerThread.interrupt(); partListWorkerThread = null; } actualDLDateiName.setText(""); actualDlOverviewTable.setPartList(null); if (logger.isEnabledFor(Level.ERROR)) { logger.error(ApplejuiceFassade.ERROR_MESSAGE, e); } } }
|
13641 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13641/a0167d08ac0015d50d3daf6af06587d16846db34/DownloadDOOverviewPanel.java/clean/AJClientGUI/src/de/applejuicenet/client/gui/DownloadDOOverviewPanel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
7109,
3191,
12,
7109,
3191,
4224,
3191,
13,
288,
3639,
775,
288,
5411,
309,
261,
7813,
3191,
422,
446,
13,
288,
7734,
309,
261,
2680,
682,
6671,
3830,
480,
446,
15329,
10792,
1087,
682,
6671,
3830,
18,
31847,
5621,
10792,
1087,
682,
6671,
3830,
273,
446,
31,
7734,
289,
7734,
3214,
8914,
1626,
77,
461,
18,
542,
1528,
2932,
8863,
7734,
3214,
40,
80,
26648,
1388,
18,
542,
1988,
682,
12,
2011,
1769,
5411,
289,
5411,
469,
309,
261,
7813,
3191,
18,
588,
1482,
1435,
480,
13059,
3191,
18,
6553,
56,
3047,
882,
2247,
13017,
597,
5397,
4224,
3191,
18,
588,
1482,
1435,
480,
13059,
3191,
18,
6553,
56,
3047,
13,
288,
7734,
727,
13059,
3191,
1906,
3191,
273,
4224,
3191,
31,
7734,
309,
261,
2680,
682,
6671,
3830,
480,
446,
15329,
10792,
1087,
682,
6671,
3830,
18,
31847,
5621,
7734,
289,
7734,
1087,
682,
6671,
3830,
273,
394,
4884,
1435,
288,
10792,
1071,
918,
1086,
1435,
288,
13491,
3214,
8914,
1626,
77,
461,
18,
542,
1528,
2932,
315,
397,
1906,
3191,
18,
588,
5359,
1435,
397,
4766,
5375,
315,
7566,
397,
4766,
5375,
1906,
3191,
18,
588,
23808,
1854,
1435,
397,
4766,
5375,
3552,
892,
2225,
1769,
13491,
3214,
40,
80,
26648,
1388,
18,
542,
1988,
682,
12,
2011,
1769,
13491,
6393,
682,
3191,
1087,
682,
273,
446,
31,
13491,
1323,
16051,
291,
24485,
10756,
288,
18701,
1087,
682,
273,
1716,
1802,
78,
89,
1812,
42,
428,
2486,
18,
588,
1442,
7675,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
7109,
3191,
12,
7109,
3191,
4224,
3191,
13,
288,
3639,
775,
288,
5411,
309,
261,
7813,
3191,
422,
446,
13,
288,
7734,
309,
261,
2680,
682,
6671,
3830,
480,
446,
15329,
10792,
1087,
682,
6671,
3830,
18,
31847,
5621,
10792,
1087,
682,
6671,
3830,
273,
446,
31,
7734,
289,
7734,
3214,
8914,
1626,
77,
461,
18,
542,
1528,
2932,
8863,
7734,
3214,
40,
80,
26648,
1388,
18,
542,
1988,
682,
12,
2011,
1769,
5411,
289,
5411,
469,
309,
261,
7813,
3191,
18,
588,
1482,
1435,
480,
13059,
3191,
18,
6553,
56,
3047,
882,
2247,
13017,
597,
5397,
4224,
3191,
18,
588,
1482,
1435,
480,
13059,
3191,
18,
6553,
56,
3047,
13,
288,
7734,
727,
13059,
2
] |
TableItem[] items = fFeatureTable.getTable().getItems();
|
private void handleRemoveAll() { TableItem[] items = fFeatureTable.getTable().getItems(); IProduct product = getProduct(); for (int i = 0; i < items.length; i++) { product.removeFeature((IProductFeature)items[i].getData()); } }
|
8783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8783/0922672dba6c85780b9886149844f0cebf366cc0/FeatureSection.java/buggy/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/FeatureSection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1640,
3288,
1595,
1435,
288,
202,
202,
1388,
1180,
8526,
1516,
273,
284,
4595,
1388,
18,
588,
1388,
7675,
588,
3126,
5621,
202,
202,
45,
4133,
3017,
273,
15880,
5621,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1516,
18,
2469,
31,
277,
27245,
288,
1082,
202,
5896,
18,
4479,
4595,
12443,
45,
4133,
4595,
13,
3319,
63,
77,
8009,
588,
751,
10663,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
225,
202,
1152,
918,
1640,
3288,
1595,
1435,
288,
202,
202,
1388,
1180,
8526,
1516,
273,
284,
4595,
1388,
18,
588,
1388,
7675,
588,
3126,
5621,
202,
202,
45,
4133,
3017,
273,
15880,
5621,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1516,
18,
2469,
31,
277,
27245,
288,
1082,
202,
5896,
18,
4479,
4595,
12443,
45,
4133,
4595,
13,
3319,
63,
77,
8009,
588,
751,
10663,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
return checkClass(clazz, context);
|
if (clazz!=null) return checkClass(clazz, context); } if (type!=null) { final String presentableText = type.getPresentableText(); boolean result = delegate.doMatch(presentableText,context); if (!result && type instanceof PsiArrayType && ((PsiArrayType)type).getComponentType() instanceof PsiClassType) { PsiClass clazz = ((PsiClassType)((PsiArrayType)type).getComponentType()).resolve(); if (clazz!=null) { result = delegate.doMatch(clazz.getQualifiedName()+"[]",context); } } return result;
|
private boolean doMatchWithTheType(final PsiType type, MatchContext context) { if (type instanceof PsiClassType) { PsiClass clazz = ((PsiClassType)type).resolve(); return checkClass(clazz, context); } else { if (type!=null) { return delegate.doMatch(type.getPresentableText(),context); } else { return false; } } }
|
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/646e21c9f1e2a86b317e61d9c8c4112f91211a8e/ExprTypePredicate.java/clean/plugins/structuralsearch/source/com/intellij/structuralsearch/impl/matcher/predicates/ExprTypePredicate.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
1250,
741,
2060,
1190,
1986,
559,
12,
6385,
453,
7722,
559,
618,
16,
4639,
1042,
819,
13,
288,
565,
309,
261,
723,
1276,
453,
7722,
18328,
13,
288,
1377,
453,
7722,
797,
4003,
273,
14015,
52,
7722,
18328,
13,
723,
2934,
10828,
5621,
1377,
309,
261,
830,
3638,
5,
33,
2011,
13,
327,
866,
797,
12,
830,
3638,
16,
819,
1769,
289,
225,
309,
261,
723,
5,
33,
2011,
13,
288,
727,
514,
3430,
429,
1528,
273,
618,
18,
588,
6351,
429,
1528,
5621,
1250,
563,
273,
7152,
18,
2896,
2060,
12,
6706,
429,
1528,
16,
2472,
1769,
225,
309,
16051,
2088,
597,
618,
1276,
453,
7722,
27182,
597,
14015,
52,
7722,
27182,
13,
723,
2934,
588,
28116,
1435,
1276,
453,
7722,
18328,
13,
288,
453,
7722,
797,
4003,
273,
14015,
52,
7722,
18328,
13,
12443,
52,
7722,
27182,
13,
723,
2934,
588,
28116,
1435,
2934,
10828,
5621,
225,
309,
261,
830,
3638,
5,
33,
2011,
13,
288,
563,
273,
7152,
18,
2896,
2060,
12,
830,
3638,
18,
588,
12345,
1435,
9078,
8526,
3113,
2472,
1769,
289,
289,
327,
563,
31,
565,
289,
469,
288,
1377,
309,
261,
723,
5,
33,
2011,
13,
288,
3639,
327,
7152,
18,
2896,
2060,
12,
723,
18,
588,
6351,
429,
1528,
9334,
2472,
1769,
1377,
289,
469,
288,
3639,
327,
629,
31,
1377,
289,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
1250,
741,
2060,
1190,
1986,
559,
12,
6385,
453,
7722,
559,
618,
16,
4639,
1042,
819,
13,
288,
565,
309,
261,
723,
1276,
453,
7722,
18328,
13,
288,
1377,
453,
7722,
797,
4003,
273,
14015,
52,
7722,
18328,
13,
723,
2934,
10828,
5621,
1377,
309,
261,
830,
3638,
5,
33,
2011,
13,
327,
866,
797,
12,
830,
3638,
16,
819,
1769,
289,
225,
309,
261,
723,
5,
33,
2011,
13,
288,
727,
514,
3430,
429,
1528,
273,
618,
18,
588,
6351,
429,
1528,
5621,
1250,
563,
273,
7152,
18,
2896,
2060,
12,
6706,
429,
1528,
16,
2472,
1769,
225,
309,
16051,
2088,
597,
618,
1276,
453,
7722,
27182,
597,
14015,
52,
7722,
27182,
13,
723,
2934,
588,
2
] |
MakeMessages.getString("GCCScannerConfigUtil.Error_Message"), e));
|
MakeMessages.getString("DiscoveredPathManager.File_Error_Message"), e));
|
private void loadDiscoveredScannerInfoFromState(IProject project, LinkedHashMap includes, LinkedHashMap symbols) throws CoreException { // Save the document IPath path = MakeCorePlugin.getWorkingDirectory(); path = path.append(project.getName() + ".sc"); //$NON-NLS-1$ if (path.toFile().exists()) { try { FileInputStream file = new FileInputStream(path.toFile()); DocumentBuilder parser = DocumentBuilderFactory.newInstance().newDocumentBuilder(); Document document = parser.parse(file); Node rootElement = document.getFirstChild(); if (rootElement.getNodeName().equals("scannerInfo")) { //$NON-NLS-1$ Node child = rootElement.getFirstChild(); loadDiscoveredScannerInfo(includes, symbols, child); } } catch (IOException e) { throw new CoreException(new Status(IStatus.ERROR, MakeCorePlugin.getUniqueIdentifier(), -1, MakeMessages.getString("GCCScannerConfigUtil.Error_Message"), e)); //$NON-NLS-1$ } catch (ParserConfigurationException e) { MakeCorePlugin.log(e); throw new CoreException(new Status(IStatus.ERROR, MakeCorePlugin.getUniqueIdentifier(), -1, MakeMessages.getString("GCCScannerConfigUtil.Error_Message"), e)); //$NON-NLS-1$ } catch (SAXException e) { MakeCorePlugin.log(e); throw new CoreException(new Status(IStatus.ERROR, MakeCorePlugin.getUniqueIdentifier(), -1, MakeMessages.getString("GCCScannerConfigUtil.Error_Message"), e)); //$NON-NLS-1$ } } }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/e5c605c11d12e06ca6008ccaf7fb505ea2b10fa8/DiscoveredPathManager.java/buggy/build/org.eclipse.cdt.make.core/src/org/eclipse/cdt/make/internal/core/scannerconfig/DiscoveredPathManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1262,
28851,
11338,
966,
1265,
1119,
12,
45,
4109,
1984,
16,
13589,
6104,
16,
13589,
7963,
13,
1082,
202,
15069,
30015,
288,
202,
202,
759,
7074,
326,
1668,
202,
202,
45,
743,
589,
273,
4344,
4670,
3773,
18,
588,
14836,
2853,
5621,
202,
202,
803,
273,
589,
18,
6923,
12,
4406,
18,
17994,
1435,
397,
3552,
1017,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
430,
261,
803,
18,
869,
812,
7675,
1808,
10756,
288,
1082,
202,
698,
288,
9506,
202,
812,
4348,
585,
273,
394,
11907,
12,
803,
18,
869,
812,
10663,
9506,
202,
2519,
1263,
2082,
273,
30236,
18,
2704,
1442,
7675,
2704,
2519,
1263,
5621,
9506,
202,
2519,
1668,
273,
2082,
18,
2670,
12,
768,
1769,
9506,
202,
907,
27575,
273,
1668,
18,
588,
3759,
1763,
5621,
9506,
202,
430,
261,
3085,
1046,
18,
588,
18948,
7675,
14963,
2932,
26842,
966,
6,
3719,
288,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
202,
907,
1151,
273,
27575,
18,
588,
3759,
1763,
5621,
6862,
202,
945,
28851,
11338,
966,
12,
18499,
16,
7963,
16,
1151,
1769,
9506,
202,
97,
1082,
202,
97,
1044,
261,
14106,
425,
13,
288,
9506,
202,
12849,
394,
30015,
12,
2704,
2685,
12,
45,
1482,
18,
3589,
16,
4344,
4670,
3773,
18,
588,
6303,
3004,
9334,
300,
21,
16,
25083,
202,
6464,
5058,
18,
588,
780,
2932,
28851,
743,
1318,
18,
812,
67,
668,
67,
1079,
6,
3631,
425,
10019,
4329,
3993,
17,
5106,
17,
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,
1262,
28851,
11338,
966,
1265,
1119,
12,
45,
4109,
1984,
16,
13589,
6104,
16,
13589,
7963,
13,
1082,
202,
15069,
30015,
288,
202,
202,
759,
7074,
326,
1668,
202,
202,
45,
743,
589,
273,
4344,
4670,
3773,
18,
588,
14836,
2853,
5621,
202,
202,
803,
273,
589,
18,
6923,
12,
4406,
18,
17994,
1435,
397,
3552,
1017,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
430,
261,
803,
18,
869,
812,
7675,
1808,
10756,
288,
1082,
202,
698,
288,
9506,
202,
812,
4348,
585,
273,
394,
11907,
12,
803,
18,
869,
812,
10663,
9506,
202,
2519,
1263,
2082,
273,
30236,
18,
2704,
1442,
7675,
2704,
2519,
1263,
5621,
9506,
202,
2519,
1668,
273,
2
] |
IRubyObject separatorObject = getRuntime().getGlobalVariables().get("$,"); RubyString separator; if (separatorObject.isNil()) { separator = getRuntime().newString(""); } else { separator = RubyString.stringValue(separatorObject);
|
if(!getRuntime().registerInspecting(this)) { return getRuntime().newString("[...]");
|
public IRubyObject to_s() { IRubyObject separatorObject = getRuntime().getGlobalVariables().get("$,"); RubyString separator; if (separatorObject.isNil()) { separator = getRuntime().newString(""); } else { separator = RubyString.stringValue(separatorObject); } return join(separator); }
|
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/c41f74da90a0fae6fd661222d04c6b602b3bc6ec/RubyArray.java/clean/src/org/jruby/RubyArray.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
358,
67,
87,
1435,
288,
3639,
15908,
10340,
921,
4182,
921,
273,
18814,
7675,
588,
5160,
6158,
7675,
588,
2932,
8,
16,
8863,
3639,
19817,
780,
4182,
31,
3639,
309,
261,
11287,
921,
18,
291,
12616,
10756,
288,
5411,
4182,
273,
18814,
7675,
2704,
780,
2932,
8863,
3639,
289,
469,
288,
5411,
4182,
273,
19817,
780,
18,
1080,
620,
12,
11287,
921,
1769,
3639,
289,
3639,
327,
1233,
12,
11287,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
358,
67,
87,
1435,
288,
3639,
15908,
10340,
921,
4182,
921,
273,
18814,
7675,
588,
5160,
6158,
7675,
588,
2932,
8,
16,
8863,
3639,
19817,
780,
4182,
31,
3639,
309,
261,
11287,
921,
18,
291,
12616,
10756,
288,
5411,
4182,
273,
18814,
7675,
2704,
780,
2932,
8863,
3639,
289,
469,
288,
5411,
4182,
273,
19817,
780,
18,
1080,
620,
12,
11287,
921,
1769,
3639,
289,
3639,
327,
1233,
12,
11287,
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
] |
Messages.setPrimaryResource("net.sf.statsvn.statcvs"); SvnConfigurationOptions.getTaskLogger().log(Messages.getString("PROJECT_NAME") + Messages.NL); if (args.length == 0) { printProperUsageAndExit(); } if (args.length == 1) { final String arg = args[0].toLowerCase(Locale.getDefault()); if (arg.equals("-h") || arg.equals("-help")) { printProperUsageAndExit(); } else if (arg.equals("-version")) { printVersionAndExit(); } } try { new SvnCommandLineParser(args).parse(); SvnStartupUtils.checkSvnVersionSufficient(); SvnStartupUtils.checkRepoRootAvailable(); generateDefaultHTMLSuite(); } catch (final ConfigurationException cex) { SvnConfigurationOptions.getTaskLogger().log(cex.getMessage()); System.exit(1); } catch (final LogSyntaxException lex) { printLogErrorMessageAndExit(lex.getMessage()); } catch (final IOException ioex) { printIoErrorMessageAndExit(ioex.getMessage()); } catch (final OutOfMemoryError oome) { printOutOfMemMessageAndExit(); } catch (final SvnVersionMismatchException ever) { printErrorMessageAndExit(ever.getMessage()); }
|
init(); verifyArguments(args); generate();
|
public static void main(final String[] args) { Messages.setPrimaryResource("net.sf.statsvn.statcvs"); // primary is statcvs.properties in net.sf.statsvn SvnConfigurationOptions.getTaskLogger().log(Messages.getString("PROJECT_NAME") + Messages.NL); if (args.length == 0) { printProperUsageAndExit(); } if (args.length == 1) { final String arg = args[0].toLowerCase(Locale.getDefault()); if (arg.equals("-h") || arg.equals("-help")) { printProperUsageAndExit(); } else if (arg.equals("-version")) { printVersionAndExit(); } } try { new SvnCommandLineParser(args).parse(); SvnStartupUtils.checkSvnVersionSufficient(); SvnStartupUtils.checkRepoRootAvailable(); generateDefaultHTMLSuite(); } catch (final ConfigurationException cex) { SvnConfigurationOptions.getTaskLogger().log(cex.getMessage()); System.exit(1); } catch (final LogSyntaxException lex) { printLogErrorMessageAndExit(lex.getMessage()); } catch (final IOException ioex) { printIoErrorMessageAndExit(ioex.getMessage()); } catch (final OutOfMemoryError oome) { printOutOfMemMessageAndExit(); } catch (final SvnVersionMismatchException ever) { printErrorMessageAndExit(ever.getMessage()); } System.exit(0); }
|
48585 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48585/c1c75132886c7887973ec2afecb94c7120ec698a/Main.java/clean/statsvn/src/net/sf/statsvn/Main.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
2774,
12,
6385,
514,
8526,
833,
13,
288,
202,
202,
5058,
18,
542,
6793,
1420,
2932,
2758,
18,
21668,
18,
5296,
25031,
18,
5642,
71,
6904,
8863,
368,
3354,
353,
610,
71,
6904,
18,
4738,
316,
2901,
18,
21668,
18,
5296,
25031,
9506,
202,
55,
25031,
1750,
1320,
18,
588,
2174,
3328,
7675,
1330,
12,
5058,
18,
588,
780,
2932,
17147,
67,
1985,
7923,
397,
4838,
18,
24924,
1769,
202,
202,
430,
261,
1968,
18,
2469,
422,
374,
13,
288,
1082,
202,
1188,
626,
457,
5357,
29000,
5621,
202,
202,
97,
202,
202,
430,
261,
1968,
18,
2469,
422,
404,
13,
288,
1082,
202,
6385,
514,
1501,
273,
833,
63,
20,
8009,
869,
5630,
12,
3916,
18,
588,
1868,
10663,
1082,
202,
430,
261,
3175,
18,
14963,
2932,
17,
76,
7923,
747,
1501,
18,
14963,
2932,
17,
5201,
6,
3719,
288,
9506,
202,
1188,
626,
457,
5357,
29000,
5621,
1082,
202,
97,
469,
309,
261,
3175,
18,
14963,
2932,
17,
1589,
6,
3719,
288,
9506,
202,
1188,
1444,
29000,
5621,
1082,
202,
97,
202,
202,
97,
202,
202,
698,
288,
1082,
202,
2704,
348,
25031,
21391,
2678,
12,
1968,
2934,
2670,
5621,
1082,
202,
55,
25031,
22178,
1989,
18,
1893,
55,
25031,
1444,
55,
11339,
5621,
1082,
202,
55,
25031,
22178,
1989,
18,
1893,
8791,
2375,
5268,
5621,
1082,
202,
7163,
1868,
4870,
13587,
5621,
202,
202,
97,
1044,
261,
6385,
22196,
276,
338,
13,
288,
1082,
202,
55,
25031,
1750,
1320,
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,
2774,
12,
6385,
514,
8526,
833,
13,
288,
202,
202,
5058,
18,
542,
6793,
1420,
2932,
2758,
18,
21668,
18,
5296,
25031,
18,
5642,
71,
6904,
8863,
368,
3354,
353,
610,
71,
6904,
18,
4738,
316,
2901,
18,
21668,
18,
5296,
25031,
9506,
202,
55,
25031,
1750,
1320,
18,
588,
2174,
3328,
7675,
1330,
12,
5058,
18,
588,
780,
2932,
17147,
67,
1985,
7923,
397,
4838,
18,
24924,
1769,
202,
202,
430,
261,
1968,
18,
2469,
422,
374,
13,
288,
1082,
202,
1188,
626,
457,
5357,
29000,
5621,
202,
202,
97,
202,
202,
430,
261,
1968,
18,
2469,
422,
404,
13,
288,
1082,
202,
6385,
514,
1501,
273,
833,
63,
20,
8009,
869,
5630,
2
] |
}
|
}
|
public TreeMap getCertificateProfiles(Admin admin) { TreeMap returnval = new TreeMap(); Collection result = null; try { result = certprofilehome.findAll(); if (result.size() > 0) { returnval = new TreeMap(); Iterator i = result.iterator(); while (i.hasNext()) { CertificateProfileDataLocal pdl = (CertificateProfileDataLocal) i.next(); returnval.put(pdl.getCertificateProfileName(), pdl.getCertificateProfile()); } } } catch (FinderException e) { } return returnval; }
|
4109 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4109/31d6aba7523c1171d3298c2d2f27b963fa299bfc/LocalCertificateStoreSessionBean.java/clean/src/java/se/anatom/ejbca/ca/store/LocalCertificateStoreSessionBean.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
16381,
27653,
12450,
12,
4446,
3981,
13,
288,
3639,
16381,
327,
1125,
273,
394,
16381,
5621,
3639,
2200,
563,
273,
446,
31,
3639,
775,
288,
5411,
563,
273,
3320,
5040,
8712,
18,
4720,
1595,
5621,
5411,
309,
261,
2088,
18,
1467,
1435,
405,
374,
13,
288,
7734,
327,
1125,
273,
394,
16381,
5621,
7734,
4498,
277,
273,
563,
18,
9838,
5621,
7734,
1323,
261,
77,
18,
5332,
2134,
10756,
288,
10792,
6660,
4029,
751,
2042,
4863,
80,
273,
261,
4719,
4029,
751,
2042,
13,
277,
18,
4285,
5621,
10792,
327,
1125,
18,
458,
12,
84,
5761,
18,
588,
4719,
4029,
461,
9334,
4863,
80,
18,
588,
4719,
4029,
10663,
7734,
289,
5411,
289,
3639,
289,
1044,
261,
8441,
503,
425,
13,
288,
3639,
289,
3639,
327,
327,
1125,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
16381,
27653,
12450,
12,
4446,
3981,
13,
288,
3639,
16381,
327,
1125,
273,
394,
16381,
5621,
3639,
2200,
563,
273,
446,
31,
3639,
775,
288,
5411,
563,
273,
3320,
5040,
8712,
18,
4720,
1595,
5621,
5411,
309,
261,
2088,
18,
1467,
1435,
405,
374,
13,
288,
7734,
327,
1125,
273,
394,
16381,
5621,
7734,
4498,
277,
273,
563,
18,
9838,
5621,
7734,
1323,
261,
77,
18,
5332,
2134,
10756,
288,
10792,
6660,
4029,
751,
2042,
4863,
80,
273,
261,
4719,
4029,
751,
2042,
13,
277,
18,
4285,
5621,
10792,
327,
1125,
18,
458,
12,
84,
5761,
18,
588,
4719,
4029,
461,
9334,
4863,
80,
18,
588,
4719,
4029,
10663,
7734,
289,
5411,
289,
3639,
289,
1044,
261,
2
] |
public org.quickfix.field.AllowableOneSidednessPct getAllowableOneSidednessPct() throws FieldNotFound { org.quickfix.field.AllowableOneSidednessPct value = new org.quickfix.field.AllowableOneSidednessPct();
|
public quickfix.field.AllowableOneSidednessPct getAllowableOneSidednessPct() throws FieldNotFound { quickfix.field.AllowableOneSidednessPct value = new quickfix.field.AllowableOneSidednessPct();
|
public org.quickfix.field.AllowableOneSidednessPct getAllowableOneSidednessPct() throws FieldNotFound { org.quickfix.field.AllowableOneSidednessPct value = new org.quickfix.field.AllowableOneSidednessPct(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderList.java/clean/src/java/src/quickfix/fix44/NewOrderList.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
31508,
3335,
55,
13898,
4496,
52,
299,
336,
31508,
3335,
55,
13898,
4496,
52,
299,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
31508,
3335,
55,
13898,
4496,
52,
299,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
31508,
3335,
55,
13898,
4496,
52,
299,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
31508,
3335,
55,
13898,
4496,
52,
299,
336,
31508,
3335,
55,
13898,
4496,
52,
299,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
31508,
3335,
55,
13898,
4496,
52,
299,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
31508,
3335,
55,
13898,
4496,
52,
299,
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
] |
public void setConfig(ConfigContext ctx, ConfigElement elt) { if ( elt.getDefinition().getToken().equals("position_transform_filter") ) { mContext = ctx; mElement = elt; PropertyDefinition prop_def = mElement.getDefinition().getPropertyDefinition("device_units"); Map dev_unit_map = prop_def.getEnums(); elt.addConfigElementListener(new ElementListener()); mSensorUnitsEditor = new PropertyEditorPanel(ctx, elt.getProperty("device_units", 0), elt.getDefinition().getPropertyDefinition("device_units"), elt, 0, Color.white); mCustomUnitsEditor = new PropertyEditorPanel(ctx, elt.getProperty("custom_scale", 0), elt.getDefinition().getPropertyDefinition("custom_scale"), elt, 0, Color.white); boolean enable_custom = ((Number) elt.getProperty("device_units", 0)).floatValue() == 0.0; mCustomUnitsEditor.setEnabled(enable_custom); mTrackerXPosField.setValue(elt.getProperty("pre_translate", 0)); mTrackerYPosField.setValue(elt.getProperty("pre_translate", 1)); mTrackerZPosField.setValue(elt.getProperty("pre_translate", 2)); double x_rot = ((Number) elt.getProperty("pre_rotation", 0)).doubleValue(); double y_rot = ((Number) elt.getProperty("pre_rotation", 1)).doubleValue(); double z_rot = ((Number) elt.getProperty("pre_rotation", 2)).doubleValue(); mTrackerXRotSpinner.setValue(new Double(x_rot)); mTrackerYRotSpinner.setValue(new Double(y_rot)); mTrackerZRotSpinner.setValue(new Double(z_rot)); // This is slow, but I don't think that there is a better way to do // it. int i; for ( i = 0; i < mCoordFrames.length; ++i ) { if ( mCoordFrames[i].getXRot() == x_rot && mCoordFrames[i].getYRot() == y_rot && mCoordFrames[i].getZRot() == z_rot ) { mTrackerCoordChooser.setSelectedIndex(i); break; } } System.out.println("[TrackerTransformPanel.setConfig()] i == " + i); System.out.println("[TrackerTransformPanel.setConfig()] mCoordFrames.length == " + mCoordFrames.length); // If the search through mCoordFrames turned up no match, then we // will enable the manual rotation editing just to be friendly. if ( i == mCoordFrames.length ) { mTrackerManualRotButton.setSelected(true); } try { jbInit(); } catch(Exception ex) { ex.printStackTrace(); } // The change listener should be added after the spinners are fully // set up. mTrackerXRotSpinner.addChangeListener(this); mTrackerYRotSpinner.addChangeListener(this); mTrackerZRotSpinner.addChangeListener(this); } else { throw new IllegalArgumentException("Cannot handle config element " + "of type '" + elt.getDefinition().getToken() + "'"); } }
|
7933 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7933/464c2d31d6ece4aee56742be40bc70c603b9a8a2/TransmitterTransformPanel.java/clean/modules/vrjuggler/vrjconfig/commoneditors/org/vrjuggler/vrjconfig/commoneditors/TransmitterTransformPanel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
15517,
12,
809,
1042,
1103,
16,
1903,
1046,
11572,
13,
282,
288,
1377,
309,
261,
11572,
18,
588,
1852,
7675,
588,
1345,
7675,
14963,
2932,
3276,
67,
6547,
67,
2188,
7923,
262,
1377,
288,
540,
312,
1042,
273,
1103,
31,
540,
312,
1046,
273,
11572,
31,
540,
4276,
1852,
2270,
67,
536,
273,
5411,
312,
1046,
18,
588,
1852,
7675,
588,
1396,
1852,
2932,
5964,
67,
7705,
8863,
540,
1635,
4461,
67,
4873,
67,
1458,
273,
2270,
67,
536,
18,
588,
3572,
87,
5621,
540,
11572,
18,
1289,
809,
1046,
2223,
12,
2704,
3010,
2223,
10663,
540,
312,
22294,
7537,
6946,
273,
5411,
394,
4276,
6946,
5537,
12,
5900,
16,
11572,
18,
588,
1396,
2932,
5964,
67,
7705,
3113,
374,
3631,
4766,
565,
11572,
18,
588,
1852,
7675,
588,
1396,
1852,
2932,
5964,
67,
7705,
6,
3631,
4766,
565,
11572,
16,
374,
16,
5563,
18,
14739,
1769,
540,
312,
3802,
7537,
6946,
273,
5411,
394,
4276,
6946,
5537,
12,
5900,
16,
11572,
18,
588,
1396,
2932,
3662,
67,
5864,
3113,
374,
3631,
4766,
565,
11572,
18,
588,
1852,
7675,
588,
1396,
1852,
2932,
3662,
67,
5864,
6,
3631,
4766,
565,
11572,
16,
374,
16,
5563,
18,
14739,
1769,
540,
1250,
4237,
67,
3662,
273,
5411,
14015,
1854,
13,
11572,
18,
588,
1396,
2932,
5964,
67,
7705,
3113,
374,
13,
2934,
5659,
620,
1435,
422,
374,
18,
20,
31,
540,
312,
3802,
7537,
6946,
18,
542,
1526,
12,
7589,
67,
3662,
1769,
540,
312,
8135,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
15517,
12,
809,
1042,
1103,
16,
1903,
1046,
11572,
13,
282,
288,
1377,
309,
261,
11572,
18,
588,
1852,
7675,
588,
1345,
7675,
14963,
2932,
3276,
67,
6547,
67,
2188,
7923,
262,
1377,
288,
540,
312,
1042,
273,
1103,
31,
540,
312,
1046,
273,
11572,
31,
540,
4276,
1852,
2270,
67,
536,
273,
5411,
312,
1046,
18,
588,
1852,
7675,
588,
1396,
1852,
2932,
5964,
67,
7705,
8863,
540,
1635,
4461,
67,
4873,
67,
1458,
273,
2270,
67,
536,
18,
588,
3572,
87,
5621,
540,
11572,
18,
1289,
809,
1046,
2223,
12,
2704,
3010,
2223,
10663,
540,
312,
22294,
7537,
6946,
273,
5411,
394,
4276,
6946,
5537,
12,
5900,
16,
11572,
18,
588,
1396,
2932,
5964,
2
] |
||
super(arguments, outStream); } protected void systemExit() { throw new IllegalStateException("Real CommandlineParser would perform " + "System.exit() because of a command line option error.");
|
super(new Main(System.in, out, err), arguments);
|
public void testParsingWithDashDash() { class TestableCommandlineParser extends CommandlineParser { public TestableCommandlineParser(String[] arguments) { super(arguments, outStream); } protected void systemExit() { throw new IllegalStateException("Real CommandlineParser would perform " + "System.exit() because of a command line option error."); } } CommandlineParser c = new TestableCommandlineParser(new String[] { "-I", "someLoadPath", "--", "simple.rb", "-v", "--version" }); assertEquals("someLoadPath", c.loadPaths().get(0)); assertEquals("simple.rb",c.getScriptFileName()); assertEquals("simple.rb", c.displayedFileName()); assertTrue("Should not be verbose. The -v flag should be a parameter to the script, not the jruby interpreter", !c.isVerbose()); assertEquals("Script should have two parameters",2,c.getScriptArguments().length); assertEquals("-v",c.getScriptArguments()[0]); assertEquals("--version",c.getScriptArguments()[1]); }
|
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/b4a189a27604d62c317938f16a124fb9dab1e94a/TestCommandlineParser.java/clean/test/org/jruby/test/TestCommandlineParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
13963,
1190,
21893,
21893,
1435,
288,
1377,
667,
7766,
429,
2189,
1369,
2678,
3231,
3498,
1369,
2678,
288,
3639,
1071,
7766,
429,
2189,
1369,
2678,
12,
780,
8526,
1775,
13,
288,
1850,
2240,
12,
7099,
16,
28997,
1769,
3639,
289,
7734,
4750,
918,
2619,
6767,
1435,
288,
1850,
604,
394,
5477,
2932,
6955,
3498,
1369,
2678,
4102,
3073,
315,
397,
2868,
315,
3163,
18,
8593,
1435,
2724,
434,
279,
1296,
980,
1456,
555,
1199,
1769,
3639,
289,
1377,
289,
5411,
3498,
1369,
2678,
276,
273,
394,
7766,
429,
2189,
1369,
2678,
12,
2704,
514,
8526,
288,
3701,
45,
3113,
315,
19068,
2563,
743,
3113,
5238,
3113,
315,
9647,
18,
6731,
3113,
3701,
90,
3113,
5238,
1589,
6,
15549,
1377,
1815,
8867,
2932,
19068,
2563,
743,
3113,
276,
18,
945,
4466,
7675,
588,
12,
20,
10019,
1377,
1815,
8867,
2932,
9647,
18,
6731,
3113,
71,
18,
588,
3651,
4771,
10663,
1377,
1815,
8867,
2932,
9647,
18,
6731,
3113,
276,
18,
5417,
329,
4771,
10663,
1377,
1815,
5510,
2932,
14309,
486,
506,
3988,
18,
1021,
300,
90,
2982,
1410,
506,
279,
1569,
358,
326,
2728,
16,
486,
326,
525,
27768,
16048,
3113,
401,
71,
18,
291,
14489,
10663,
1377,
1815,
8867,
2932,
3651,
1410,
1240,
2795,
1472,
3113,
22,
16,
71,
18,
588,
3651,
4628,
7675,
2469,
1769,
1377,
1815,
8867,
2932,
17,
90,
3113,
71,
18,
588,
3651,
4628,
1435,
63,
20,
19226,
1377,
1815,
8867,
2932,
413,
1589,
3113,
71,
18,
588,
3651,
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,
13963,
1190,
21893,
21893,
1435,
288,
1377,
667,
7766,
429,
2189,
1369,
2678,
3231,
3498,
1369,
2678,
288,
3639,
1071,
7766,
429,
2189,
1369,
2678,
12,
780,
8526,
1775,
13,
288,
1850,
2240,
12,
7099,
16,
28997,
1769,
3639,
289,
7734,
4750,
918,
2619,
6767,
1435,
288,
1850,
604,
394,
5477,
2932,
6955,
3498,
1369,
2678,
4102,
3073,
315,
397,
2868,
315,
3163,
18,
8593,
1435,
2724,
434,
279,
1296,
980,
1456,
555,
1199,
1769,
3639,
289,
1377,
289,
5411,
3498,
1369,
2678,
276,
273,
394,
7766,
429,
2189,
1369,
2678,
12,
2704,
514,
8526,
288,
3701,
45,
3113,
315,
19068,
2563,
743,
3113,
5238,
3113,
315,
9647,
18,
6731,
3113,
3701,
90,
3113,
5238,
2
] |
Set pks = PrimaryKeyUtil.getPrimaryKeyFields(cld.getModel(),
|
Set pks = PrimaryKeyUtil.getPrimaryKeyFields(fd.getClassDescriptor().getModel(),
|
public Map getKeyAttributes() throws Exception { if (keyAttributes == null) { keyAttributes = new HashMap(); Set pks = PrimaryKeyUtil.getPrimaryKeyFields(cld.getModel(), proxy.getObject().getClass()); for (Iterator i = pks.iterator(); i.hasNext();) { FieldDescriptor fd = (FieldDescriptor) i.next(); if (fd.isAttribute()) { Object fieldValue = TypeUtil.getFieldValue(proxy.getObject(), fd.getName()); keyAttributes.put(fd.getName(), fieldValue); } } } return keyAttributes; }
|
7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/20ded25018065120134a825d92e4884635a9d50a/DisplayReference.java/clean/intermine/web/main/src/org/intermine/web/results/DisplayReference.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1635,
3579,
2498,
1435,
1216,
1185,
288,
3639,
309,
261,
856,
2498,
422,
446,
13,
288,
5411,
498,
2498,
273,
394,
4317,
5621,
5411,
1000,
24871,
273,
15884,
653,
1304,
18,
588,
11575,
2314,
12,
8313,
18,
588,
797,
3187,
7675,
588,
1488,
9334,
4766,
7682,
2889,
18,
588,
921,
7675,
588,
797,
10663,
5411,
364,
261,
3198,
277,
273,
24871,
18,
9838,
5621,
277,
18,
5332,
2134,
5621,
13,
288,
7734,
13965,
5194,
273,
261,
974,
3187,
13,
277,
18,
4285,
5621,
7734,
309,
261,
8313,
18,
291,
1499,
10756,
288,
10792,
1033,
10729,
273,
1412,
1304,
18,
588,
13559,
12,
5656,
18,
588,
921,
9334,
5194,
18,
17994,
10663,
10792,
498,
2498,
18,
458,
12,
8313,
18,
17994,
9334,
10729,
1769,
7734,
289,
5411,
289,
3639,
289,
3639,
327,
498,
2498,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1635,
3579,
2498,
1435,
1216,
1185,
288,
3639,
309,
261,
856,
2498,
422,
446,
13,
288,
5411,
498,
2498,
273,
394,
4317,
5621,
5411,
1000,
24871,
273,
15884,
653,
1304,
18,
588,
11575,
2314,
12,
8313,
18,
588,
797,
3187,
7675,
588,
1488,
9334,
4766,
7682,
2889,
18,
588,
921,
7675,
588,
797,
10663,
5411,
364,
261,
3198,
277,
273,
24871,
18,
9838,
5621,
277,
18,
5332,
2134,
5621,
13,
288,
7734,
13965,
5194,
273,
261,
974,
3187,
13,
277,
18,
4285,
5621,
7734,
309,
261,
8313,
18,
291,
1499,
10756,
288,
10792,
1033,
10729,
273,
1412,
1304,
18,
588,
13559,
12,
5656,
18,
588,
921,
9334,
5194,
18,
17994,
10663,
10792,
498,
2498,
18,
458,
12,
2
] |
return b0.compareTo(b1) > 0;
|
return v0 > v1;
|
public Calc compileCall(FunCall call, ExpCompiler compiler) { final StringCalc calc0 = compiler.compileString(call.getArg(0)); final StringCalc calc1 = compiler.compileString(call.getArg(1)); return new AbstractBooleanCalc(call, new Calc[] {calc0, calc1}) { public boolean evaluateBoolean(Evaluator evaluator) { final String b0 = calc0.evaluateString(evaluator); final String b1 = calc1.evaluateString(evaluator); if (b0 == null || b1 == null) { return BooleanNull; } return b0.compareTo(b1) > 0; } }; }
|
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/5aca340e1cdbb6179077d96383341db48f0997be/BuiltinFunTable.java/buggy/src/main/mondrian/olap/fun/BuiltinFunTable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
29128,
4074,
1477,
12,
22783,
1477,
745,
16,
7784,
9213,
5274,
13,
288,
7734,
727,
514,
25779,
7029,
20,
273,
5274,
18,
11100,
780,
12,
1991,
18,
588,
4117,
12,
20,
10019,
7734,
727,
514,
25779,
7029,
21,
273,
5274,
18,
11100,
780,
12,
1991,
18,
588,
4117,
12,
21,
10019,
7734,
327,
394,
4115,
5507,
25779,
12,
1991,
16,
394,
29128,
8526,
288,
12448,
20,
16,
7029,
21,
6792,
288,
10792,
1071,
1250,
5956,
5507,
12,
15876,
18256,
13,
288,
13491,
727,
514,
324,
20,
273,
7029,
20,
18,
21024,
780,
12,
14168,
639,
1769,
13491,
727,
514,
324,
21,
273,
7029,
21,
18,
21024,
780,
12,
14168,
639,
1769,
13491,
309,
261,
70,
20,
422,
446,
747,
324,
21,
422,
446,
13,
288,
18701,
327,
3411,
2041,
31,
13491,
289,
13491,
327,
331,
20,
405,
331,
21,
31,
10792,
289,
7734,
289,
31,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
29128,
4074,
1477,
12,
22783,
1477,
745,
16,
7784,
9213,
5274,
13,
288,
7734,
727,
514,
25779,
7029,
20,
273,
5274,
18,
11100,
780,
12,
1991,
18,
588,
4117,
12,
20,
10019,
7734,
727,
514,
25779,
7029,
21,
273,
5274,
18,
11100,
780,
12,
1991,
18,
588,
4117,
12,
21,
10019,
7734,
327,
394,
4115,
5507,
25779,
12,
1991,
16,
394,
29128,
8526,
288,
12448,
20,
16,
7029,
21,
6792,
288,
10792,
1071,
1250,
5956,
5507,
12,
15876,
18256,
13,
288,
13491,
727,
514,
324,
20,
273,
7029,
20,
18,
21024,
780,
12,
14168,
639,
1769,
13491,
727,
514,
324,
21,
273,
7029,
21,
18,
21024,
780,
12,
14168,
639,
1769,
13491,
309,
261,
70,
20,
422,
2
] |
return (node != null) && (node.getLabel(getLanguage()) != null);
|
exists = (node != null) && (node.getLabel(getLanguage()) != null);
|
public boolean exists() throws DocumentException { SiteTree sitetree; try { sitetree = getPublication().getSiteTree(getArea()); SiteTreeNode node = sitetree.getNode(getId()); return (node != null) && (node.getLabel(getLanguage()) != null); } catch (SiteTreeException e) { throw new DocumentException(e); } }
|
45951 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45951/7f8f3bf99e36e034f17d4fd6d23e2c7c51b233a6/DefaultDocument.java/clean/src/java/org/apache/lenya/cms/publication/DefaultDocument.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1704,
1435,
1216,
4319,
503,
288,
3639,
9063,
2471,
10982,
31303,
31,
3639,
775,
288,
5411,
10982,
31303,
273,
17426,
367,
7675,
588,
4956,
2471,
12,
588,
5484,
10663,
5411,
9063,
12513,
756,
273,
10982,
31303,
18,
588,
907,
12,
26321,
10663,
5411,
1704,
273,
261,
2159,
480,
446,
13,
597,
261,
2159,
18,
588,
2224,
12,
588,
3779,
10756,
480,
446,
1769,
3639,
289,
1044,
261,
4956,
2471,
503,
425,
13,
288,
5411,
604,
394,
4319,
503,
12,
73,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1704,
1435,
1216,
4319,
503,
288,
3639,
9063,
2471,
10982,
31303,
31,
3639,
775,
288,
5411,
10982,
31303,
273,
17426,
367,
7675,
588,
4956,
2471,
12,
588,
5484,
10663,
5411,
9063,
12513,
756,
273,
10982,
31303,
18,
588,
907,
12,
26321,
10663,
5411,
1704,
273,
261,
2159,
480,
446,
13,
597,
261,
2159,
18,
588,
2224,
12,
588,
3779,
10756,
480,
446,
1769,
3639,
289,
1044,
261,
4956,
2471,
503,
425,
13,
288,
5411,
604,
394,
4319,
503,
12,
73,
1769,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Xpp3Dom testResources = dom.getChild( "sources" );
|
Xpp3Dom testResources = dom.getChild( "testResources" );
|
public ArchetypeDescriptor build( Reader reader ) throws Exception { ArchetypeDescriptor descriptor = new ArchetypeDescriptor(); Xpp3Dom dom = Xpp3DomBuilder.build( reader ); descriptor.setId( dom.getChild( "id" ).getValue() ); Xpp3Dom sources = dom.getChild( "sources" ); if ( sources != null ) { Xpp3Dom[] sourceList = sources.getChildren( "source" ); for ( int i = 0; i < sourceList.length; i++ ) { descriptor.addSource( sourceList[i].getValue() ); } } Xpp3Dom resources = dom.getChild( "resources" ); if ( resources != null ) { Xpp3Dom[] resourceList = resources.getChildren( "source" ); for ( int i = 0; i < resourceList.length; i++ ) { descriptor.addResource( resourceList[i].getValue() ); } } Xpp3Dom testSources = dom.getChild( "testSources" ); if ( testSources != null ) { Xpp3Dom[] testSourceList = testSources.getChildren( "source" ); for ( int i = 0; i < testSourceList.length; i++ ) { descriptor.addTestSource( testSourceList[i].getValue() ); } } Xpp3Dom testResources = dom.getChild( "sources" ); if ( testResources != null ) { Xpp3Dom[] testResourceList = sources.getChildren( "source" ); for ( int i = 0; i < testResourceList.length; i++ ) { descriptor.addTestResource( testResourceList[i].getValue() ); } } return descriptor; }
|
47050 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47050/244f6070e8f4a4ec0a89899b97e5a47b5a0eee3e/ArchetypeDescriptorBuilder.java/buggy/maven-archetype/maven-archetype-core/src/main/java/org/apache/maven/archetype/descriptor/ArchetypeDescriptorBuilder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
16959,
5872,
3187,
1361,
12,
5393,
2949,
262,
3639,
1216,
1185,
565,
288,
3639,
16959,
5872,
3187,
4950,
273,
394,
16959,
5872,
3187,
5621,
3639,
1139,
11858,
23,
8832,
4092,
273,
1139,
11858,
23,
8832,
1263,
18,
3510,
12,
2949,
11272,
3639,
4950,
18,
542,
548,
12,
4092,
18,
588,
1763,
12,
315,
350,
6,
262,
18,
24805,
1435,
11272,
3639,
1139,
11858,
23,
8832,
5550,
273,
4092,
18,
588,
1763,
12,
315,
10141,
6,
11272,
3639,
309,
261,
5550,
480,
446,
262,
3639,
288,
5411,
1139,
11858,
23,
8832,
8526,
1084,
682,
273,
5550,
18,
588,
4212,
12,
315,
3168,
6,
11272,
5411,
364,
261,
509,
277,
273,
374,
31,
277,
411,
1084,
682,
18,
2469,
31,
277,
9904,
262,
5411,
288,
7734,
4950,
18,
1289,
1830,
12,
1084,
682,
63,
77,
8009,
24805,
1435,
11272,
5411,
289,
3639,
289,
3639,
1139,
11858,
23,
8832,
2703,
273,
4092,
18,
588,
1763,
12,
315,
4683,
6,
11272,
3639,
309,
261,
2703,
480,
446,
262,
3639,
288,
5411,
1139,
11858,
23,
8832,
8526,
1058,
682,
273,
2703,
18,
588,
4212,
12,
315,
3168,
6,
11272,
5411,
364,
261,
509,
277,
273,
374,
31,
277,
411,
1058,
682,
18,
2469,
31,
277,
9904,
262,
5411,
288,
7734,
4950,
18,
1289,
1420,
12,
1058,
682,
63,
77,
8009,
24805,
1435,
11272,
5411,
289,
3639,
289,
3639,
1139,
11858,
23,
8832,
1842,
8628,
273,
4092,
18,
588,
1763,
12,
315,
3813,
8628,
6,
11272,
3639,
309,
261,
1842,
8628,
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,
16959,
5872,
3187,
1361,
12,
5393,
2949,
262,
3639,
1216,
1185,
565,
288,
3639,
16959,
5872,
3187,
4950,
273,
394,
16959,
5872,
3187,
5621,
3639,
1139,
11858,
23,
8832,
4092,
273,
1139,
11858,
23,
8832,
1263,
18,
3510,
12,
2949,
11272,
3639,
4950,
18,
542,
548,
12,
4092,
18,
588,
1763,
12,
315,
350,
6,
262,
18,
24805,
1435,
11272,
3639,
1139,
11858,
23,
8832,
5550,
273,
4092,
18,
588,
1763,
12,
315,
10141,
6,
11272,
3639,
309,
261,
5550,
480,
446,
262,
3639,
288,
5411,
1139,
11858,
23,
8832,
8526,
1084,
682,
273,
5550,
18,
588,
4212,
12,
315,
3168,
6,
11272,
5411,
364,
261,
509,
277,
273,
374,
31,
277,
411,
1084,
682,
18,
2469,
2
] |
visit_ifxx(JvmType.REFERENCE, address, X86Constants.JNE); }
|
visit_ifxx(JvmType.REFERENCE, address, X86Constants.JNE); }
|
public final void visit_ifnonnull(int address) { visit_ifxx(JvmType.REFERENCE, address, X86Constants.JNE); }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c9e1b93fdcd3878abf615621ec6a36bf839ab10/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
3757,
67,
430,
5836,
2011,
12,
474,
1758,
13,
288,
202,
202,
11658,
67,
430,
5279,
12,
6071,
559,
18,
14617,
16,
1758,
16,
1139,
5292,
2918,
18,
46,
5407,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
3757,
67,
430,
5836,
2011,
12,
474,
1758,
13,
288,
202,
202,
11658,
67,
430,
5279,
12,
6071,
559,
18,
14617,
16,
1758,
16,
1139,
5292,
2918,
18,
46,
5407,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
dbflags = xdr.xdrDecodeInt();
|
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { status = xdr.xdrDecodeInt(); dbcl_id = xdr.xdrDecodeInt(); type = xdr.xdrDecodeInt(); dbflags = xdr.xdrDecodeInt(); lorder = xdr.xdrDecodeInt(); }
|
2921 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2921/d03f220fde879509cab2ac1c73b71b7efb52b737/__db_open_reply.java/clean/db/rpc_server/java/gen/__db_open_reply.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
619,
3069,
6615,
12,
60,
3069,
1799,
4751,
1228,
619,
3069,
13,
6647,
1216,
2755,
71,
11647,
503,
16,
1860,
288,
3639,
1267,
273,
619,
3069,
18,
92,
3069,
6615,
1702,
5621,
3639,
1319,
830,
67,
350,
273,
619,
3069,
18,
92,
3069,
6615,
1702,
5621,
3639,
618,
273,
619,
3069,
18,
92,
3069,
6615,
1702,
5621,
9079,
328,
1019,
273,
619,
3069,
18,
92,
3069,
6615,
1702,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
619,
3069,
6615,
12,
60,
3069,
1799,
4751,
1228,
619,
3069,
13,
6647,
1216,
2755,
71,
11647,
503,
16,
1860,
288,
3639,
1267,
273,
619,
3069,
18,
92,
3069,
6615,
1702,
5621,
3639,
1319,
830,
67,
350,
273,
619,
3069,
18,
92,
3069,
6615,
1702,
5621,
3639,
618,
273,
619,
3069,
18,
92,
3069,
6615,
1702,
5621,
9079,
328,
1019,
273,
619,
3069,
18,
92,
3069,
6615,
1702,
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
] |
|
isDragging = false;
|
public void mousePressed(MouseEvent event) { // Check to see that the slider is enabled before proceeeding. if (!slider.isEnabled()) return; // Get mouse x, y positions. currentMouseX = event.getX(); currentMouseY = event.getY(); // If the slider has {@link #setFocusEnabled} true then // request focus. if (slider.isRequestFocusEnabled()) slider.requestFocus(); // Check to see if the thumb was clicked. if (thumbRect.contains(currentMouseX, currentMouseY)) { // Depending on orientation of the mouse. switch (slider.getOrientation()) { case JSlider.HORIZONTAL: offset = currentMouseX-thumbRect.x; break; case JSlider.VERTICAL: offset = currentMouseY-thumbRect.y; } isDragging = true; return; } if (showArrows) { if (minArrowRect.contains(currentMouseX, currentMouseY)) { int value = slider.getValue(); if (value > slider.getMinimum()) { scrollTimer.stop(); scrollListener.setScrollByBlock(false); scrollListener.setDirection(OneKnobSliderUI.NEGATIVE_SCROLL); scrollTimer.start(); slider.repaint(); } isDragging = false; return; } if (maxArrowRect.contains(currentMouseX, currentMouseY)) { int value = slider.getValue(); if (value < slider.getMaximum()) { scrollTimer.stop(); scrollListener.setScrollByBlock(false); scrollListener.setDirection( OneKnobSliderUI.POSITIVE_SCROLL); scrollTimer.start(); slider.repaint(); } isDragging = false; return; } } // We have clicked outside of the thumb and onto the track. isDragging = false; slider.repaint(); }
|
13273 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13273/1c6472710140ce7700bb1cb3c30b584ae3057a53/OneKnobSliderUI.java/clean/SRC/org/openmicroscopy/shoola/util/ui/slider/OneKnobSliderUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
7644,
24624,
12,
9186,
1133,
871,
13,
3196,
202,
95,
1082,
202,
759,
2073,
358,
2621,
716,
326,
18442,
353,
3696,
1865,
450,
311,
73,
329,
310,
18,
1875,
202,
430,
16051,
28372,
18,
291,
1526,
10756,
9506,
202,
2463,
31,
1082,
202,
759,
968,
7644,
619,
16,
677,
6865,
18,
1082,
202,
2972,
9186,
60,
273,
871,
18,
588,
60,
5621,
1082,
202,
2972,
9186,
61,
273,
871,
18,
588,
61,
5621,
1082,
202,
759,
971,
326,
18442,
711,
8901,
1232,
468,
542,
9233,
1526,
97,
638,
1508,
1875,
202,
759,
590,
7155,
18,
1082,
202,
430,
261,
28372,
18,
291,
691,
9233,
1526,
10756,
9506,
202,
28372,
18,
2293,
9233,
5621,
1082,
202,
759,
2073,
358,
2621,
309,
326,
11156,
1703,
17688,
18,
1875,
202,
430,
261,
21639,
6120,
18,
12298,
12,
2972,
9186,
60,
16,
783,
9186,
61,
3719,
1875,
202,
95,
9506,
202,
759,
4019,
2846,
603,
9820,
434,
326,
7644,
18,
4697,
202,
9610,
261,
28372,
18,
588,
14097,
10756,
288,
377,
9506,
202,
3593,
804,
21824,
18,
44,
20344,
30,
377,
6862,
202,
3348,
273,
783,
9186,
60,
17,
21639,
6120,
18,
92,
31,
377,
6862,
202,
8820,
31,
377,
9506,
202,
3593,
804,
21824,
18,
21654,
10109,
30,
377,
6862,
202,
3348,
273,
783,
9186,
61,
17,
21639,
6120,
18,
93,
31,
9506,
202,
97,
9506,
202,
291,
11728,
1998,
273,
638,
31,
9506,
202,
2463,
31,
1082,
202,
97,
25083,
202,
430,
261,
4500,
686,
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,
3196,
202,
482,
918,
7644,
24624,
12,
9186,
1133,
871,
13,
3196,
202,
95,
1082,
202,
759,
2073,
358,
2621,
716,
326,
18442,
353,
3696,
1865,
450,
311,
73,
329,
310,
18,
1875,
202,
430,
16051,
28372,
18,
291,
1526,
10756,
9506,
202,
2463,
31,
1082,
202,
759,
968,
7644,
619,
16,
677,
6865,
18,
1082,
202,
2972,
9186,
60,
273,
871,
18,
588,
60,
5621,
1082,
202,
2972,
9186,
61,
273,
871,
18,
588,
61,
5621,
1082,
202,
759,
971,
326,
18442,
711,
8901,
1232,
468,
542,
9233,
1526,
97,
638,
1508,
1875,
202,
759,
590,
7155,
18,
1082,
202,
430,
261,
28372,
18,
291,
691,
9233,
1526,
10756,
9506,
202,
28372,
18,
2293,
9233,
5621,
1082,
202,
2
] |
|
createChannelList(); DataService.getInstance().subscribedChannelsChanged(); mProgramTableModel.setShownChannels(ChannelList.getSubscribedChannels()); mDefaultToolBar.updateChannelChooser();
|
onSubscribedChannelsChanged();
|
public void showSettingsDialog() { SettingsDialog dlg = new SettingsDialog(this); dlg.centerAndShow(); if (Settings.settingHasChanged(new String[]{"font.programtitle","font.programinfo","font.programtime","font.channelname","usedefaultfonts"})) { util.ui.ProgramPanel.updateFonts(); tvbrowser.ui.programtable.ChannelPanel.fontChanged(); mProgramTableScrollPane.getProgramTable().fontChanged(); mProgramTableScrollPane.tableDataChanged(); mProgramTableScrollPane.getProgramTable().tableDataChanged(); } if (Settings.settingHasChanged(new String[]{"lookandfeel","skinLF.themepack","skinLF.enabled"})) { TVBrowser.updateLookAndFeel(); } if (Settings.settingHasChanged(new String[]{"applicationskin","useapplicationskin"})) { updateApplicationSkin(); } if (Settings.settingHasChanged(new String[]{"table.layout"})) { mProgramTableScrollPane.getProgramTable().setProgramTableLayout(null); } if (Settings.settingHasChanged(new String[]{"tablebgmode","tablebackground"})) { mProgramTableScrollPane.getProgramTable().updateBackground(); } if (Settings.settingHasChanged(new String[]{"updatebutton","preferencesbutton", "buttontype","hiddenbuttonplugins","plugins"})) { mDefaultToolBar.updateButtons(); } if (Settings.settingHasChanged(new String[]{"timebutton"})) { mDateTimeToolBar.updateButtons(); } if (Settings.settingHasChanged(new String[]{"subscribedchannels"})) { createChannelList(); DataService.getInstance().subscribedChannelsChanged(); mProgramTableModel.setShownChannels(ChannelList.getSubscribedChannels()); mDefaultToolBar.updateChannelChooser(); } if (Settings.settingHasChanged(new String[]{"programtable.endofday","programtable.startofday"})) { mProgramTableModel.setTimeRange(Settings.getProgramTableStartOfDay(),Settings.getProgramTableEndOfDay()); } if (Settings.settingHasChanged(new String[]{"columnwidth"})) { util.ui.ProgramPanel.updateColumnWidth(); mProgramTableScrollPane.setColumnWidth(Settings.getColumnWidth()); mProgramTableScrollPane.updateChannelPanel(); mProgramTableScrollPane.getProgramTable().updateLayout(); } }
|
9266 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9266/f717668ba6c889d9c3d03a8bd14e4f72867eff11/MainFrame.java/clean/tvbrowser/src/tvbrowser/ui/mainframe/MainFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
2405,
2628,
6353,
1435,
288,
565,
8709,
6353,
25840,
273,
394,
8709,
6353,
12,
2211,
1769,
565,
25840,
18,
5693,
1876,
5706,
5621,
10792,
309,
261,
2628,
18,
8920,
5582,
5033,
12,
2704,
514,
63,
7073,
6,
5776,
18,
12890,
2649,
15937,
5776,
18,
12890,
1376,
15937,
5776,
18,
12890,
957,
15937,
5776,
18,
4327,
529,
15937,
1202,
1886,
22052,
6,
31700,
288,
1377,
1709,
18,
4881,
18,
9459,
5537,
18,
2725,
5711,
87,
5621,
1377,
13521,
11213,
18,
4881,
18,
12890,
2121,
18,
2909,
5537,
18,
5776,
5033,
5621,
1377,
312,
9459,
1388,
26360,
18,
588,
9459,
1388,
7675,
5776,
5033,
5621,
1377,
312,
9459,
1388,
26360,
18,
2121,
751,
5033,
5621,
1377,
312,
9459,
1388,
26360,
18,
588,
9459,
1388,
7675,
2121,
751,
5033,
5621,
565,
289,
565,
309,
261,
2628,
18,
8920,
5582,
5033,
12,
2704,
514,
63,
7073,
6,
7330,
464,
3030,
292,
15937,
7771,
267,
9105,
18,
451,
351,
881,
484,
15937,
7771,
267,
9105,
18,
5745,
6,
31700,
288,
1377,
399,
58,
9132,
18,
2725,
9794,
1876,
2954,
292,
5621,
565,
289,
565,
309,
261,
2628,
18,
8920,
5582,
5033,
12,
2704,
514,
63,
7073,
6,
3685,
7771,
267,
15937,
1202,
3685,
7771,
267,
6,
31700,
288,
1377,
1089,
3208,
26827,
5621,
565,
289,
565,
309,
261,
2628,
18,
8920,
5582,
5033,
12,
2704,
514,
63,
7073,
6,
2121,
18,
6741,
6,
31700,
288,
1377,
312,
9459,
1388,
26360,
18,
588,
9459,
1388,
7675,
542,
9459,
1388,
3744,
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,
2405,
2628,
6353,
1435,
288,
565,
8709,
6353,
25840,
273,
394,
8709,
6353,
12,
2211,
1769,
565,
25840,
18,
5693,
1876,
5706,
5621,
10792,
309,
261,
2628,
18,
8920,
5582,
5033,
12,
2704,
514,
63,
7073,
6,
5776,
18,
12890,
2649,
15937,
5776,
18,
12890,
1376,
15937,
5776,
18,
12890,
957,
15937,
5776,
18,
4327,
529,
15937,
1202,
1886,
22052,
6,
31700,
288,
1377,
1709,
18,
4881,
18,
9459,
5537,
18,
2725,
5711,
87,
5621,
1377,
13521,
11213,
18,
4881,
18,
12890,
2121,
18,
2909,
5537,
18,
5776,
5033,
5621,
1377,
312,
9459,
1388,
26360,
18,
588,
9459,
1388,
7675,
5776,
5033,
5621,
1377,
312,
9459,
1388,
26360,
18,
2121,
751,
5033,
5621,
1377,
312,
9459,
2
] |
}
|
} else { addSource(); }
|
public void connectGraph() { if (ccStyleInit) { if (outputType != null) { output = new Channel(outputType, pushAmount); } if (inputType != null) { if (peekAmount == -1) peekAmount = popAmount; input = new Channel(inputType, popAmount, peekAmount); } } else if (multiPhaseStyle) { if (inType != null) { // if only one steady phase, pass the rates to the // Channel (for Eclipse debugger to find it there). if (initPhases.size()==0 && steadyPhases.size()==1) { PhaseInfo pi = (PhaseInfo)steadyPhases.get(0); input = new Channel(inType, pi.o, pi.e); } else { input = new Channel(inType); } } if (outType != null) { // if only one steady phase, pass the rates to the // Channel (for Eclipse debugger to find it there). if (initPhases.size()==0 && steadyPhases.size()==1) { PhaseInfo pi = (PhaseInfo)steadyPhases.get(0); output = new Channel(outType, pi.u); } else { output = new Channel(outType); } } } Channel myInput = getInputChannel(); Channel myOutput = getOutputChannel(); if (myOutput != null) { myOutput.setSource(this); } else { addSink(); } if (myInput != null) { myInput.setSink(this); } addFilter(); initCount(); }
|
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/07b4d082fc19f84d45b15d0983d25116e2fec607/Filter.java/buggy/streams/src/streamit/library/Filter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3077,
4137,
1435,
565,
288,
3639,
309,
261,
952,
2885,
2570,
13,
3639,
288,
5411,
309,
261,
2844,
559,
480,
446,
13,
5411,
288,
7734,
876,
273,
394,
5307,
12,
2844,
559,
16,
1817,
6275,
1769,
5411,
289,
469,
288,
527,
1830,
5621,
289,
5411,
309,
261,
2630,
559,
480,
446,
13,
5411,
288,
7734,
309,
261,
347,
3839,
6275,
422,
300,
21,
13,
10792,
8032,
6275,
273,
1843,
6275,
31,
7734,
810,
273,
394,
5307,
12,
2630,
559,
16,
1843,
6275,
16,
8032,
6275,
1769,
5411,
289,
469,
288,
527,
1830,
5621,
289,
3639,
289,
469,
288,
527,
1830,
5621,
289,
3639,
469,
309,
261,
7027,
11406,
2885,
13,
3639,
288,
5411,
309,
261,
267,
559,
480,
446,
13,
5411,
288,
202,
202,
759,
309,
1338,
1245,
384,
684,
93,
6855,
16,
1342,
326,
17544,
358,
326,
202,
202,
759,
5307,
261,
1884,
20840,
10472,
19977,
358,
1104,
518,
1915,
2934,
202,
202,
430,
261,
2738,
3731,
3304,
18,
1467,
1435,
631,
20,
597,
384,
684,
93,
3731,
3304,
18,
1467,
1435,
631,
21,
13,
288,
1082,
565,
19459,
966,
4790,
273,
261,
11406,
966,
13,
334,
684,
93,
3731,
3304,
18,
588,
12,
20,
1769,
1082,
565,
810,
273,
394,
5307,
12,
267,
559,
16,
4790,
18,
83,
16,
4790,
18,
73,
1769,
202,
202,
97,
469,
288,
527,
1830,
5621,
289,
469,
288,
1082,
565,
810,
273,
394,
5307,
12,
267,
559,
1769,
202,
202,
97,
469,
288,
527,
1830,
5621,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3077,
4137,
1435,
565,
288,
3639,
309,
261,
952,
2885,
2570,
13,
3639,
288,
5411,
309,
261,
2844,
559,
480,
446,
13,
5411,
288,
7734,
876,
273,
394,
5307,
12,
2844,
559,
16,
1817,
6275,
1769,
5411,
289,
469,
288,
527,
1830,
5621,
289,
5411,
309,
261,
2630,
559,
480,
446,
13,
5411,
288,
7734,
309,
261,
347,
3839,
6275,
422,
300,
21,
13,
10792,
8032,
6275,
273,
1843,
6275,
31,
7734,
810,
273,
394,
5307,
12,
2630,
559,
16,
1843,
6275,
16,
8032,
6275,
1769,
5411,
289,
469,
288,
527,
1830,
5621,
289,
3639,
289,
469,
288,
527,
1830,
5621,
289,
3639,
469,
309,
261,
7027,
11406,
2885,
13,
3639,
288,
5411,
309,
261,
267,
2
] |
( this, contentHandler, response, isPortlet, haveScriptAncestor );
|
( this, contentHandler, response, isPortlet, scriptDepth );
|
private State handleForm ( final String ns, final String lnam, final String qnam, final Attributes atts ) throws SAXException { final State ret; if ( "form".equals( lnam ) ) { final AttributesImpl newAtts = XMLUtils.getAttribsFromDefaultNamespace( atts ); final String actn = newAtts.getValue( "", ACTION_ATT ); final String newActn; if ( actn == null ) { newActn = response.rewriteActionURL( "" ); newAtts.addAttribute( "", ACTION_ATT, ACTION_ATT, "", newActn ); } else { final int idx = newAtts.getIndex( "", ACTION_ATT ); newActn = response.rewriteActionURL( actn ); newAtts.setValue( idx, newActn ); } if ( atts.getValue( "", METHOD_ATT ) == null && isPortlet ) { newAtts.addAttribute( "", METHOD_ATT, METHOD_ATT, "", "post" ); } final String isPrtltFrm = atts.getValue( "http://orbeon.org/oxf/xml/portlet", "is-portlet-form" ); if ( "true".equals( isPrtltFrm ) ) { ret = new NoRewriteState ( this, contentHandler, response, isPortlet, haveScriptAncestor ); } else { ret = this; } contentHandler.startElement( ns, lnam, qnam, newAtts ); } else { ret = null; } return ret; }
|
51410 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51410/f2f1624fa441b872f82bafeeaf06211c19ccd097/XHTMLRewrite.java/buggy/src/java/org/orbeon/oxf/processor/converter/XHTMLRewrite.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
3287,
1640,
1204,
3639,
261,
727,
514,
3153,
16,
727,
514,
7211,
301,
16,
727,
514,
1043,
17808,
16,
727,
9055,
15687,
262,
540,
1216,
14366,
288,
5411,
727,
3287,
325,
31,
5411,
309,
261,
315,
687,
9654,
14963,
12,
7211,
301,
262,
262,
288,
7734,
727,
9055,
2828,
394,
3075,
87,
273,
3167,
1989,
18,
588,
31292,
1265,
1868,
3402,
12,
15687,
11272,
7734,
727,
514,
1328,
82,
273,
394,
3075,
87,
18,
24805,
12,
23453,
11385,
67,
789,
56,
11272,
7734,
727,
514,
394,
2459,
82,
31,
7734,
309,
261,
1328,
82,
422,
446,
262,
288,
10792,
394,
2459,
82,
273,
766,
18,
21489,
1803,
1785,
12,
1408,
11272,
10792,
394,
3075,
87,
18,
1289,
1499,
12,
23453,
11385,
67,
789,
56,
16,
11385,
67,
789,
56,
16,
23453,
394,
2459,
82,
11272,
7734,
289,
469,
288,
10792,
727,
509,
2067,
273,
394,
3075,
87,
18,
588,
1016,
12,
23453,
11385,
67,
789,
56,
11272,
10792,
394,
2459,
82,
273,
766,
18,
21489,
1803,
1785,
12,
1328,
82,
11272,
10792,
394,
3075,
87,
18,
542,
620,
12,
2067,
16,
394,
2459,
82,
11272,
7734,
289,
27573,
309,
261,
15687,
18,
24805,
12,
23453,
10152,
67,
789,
56,
262,
422,
446,
597,
353,
18566,
262,
288,
10792,
394,
3075,
87,
18,
1289,
1499,
12,
23453,
10152,
67,
789,
56,
16,
10152,
67,
789,
56,
16,
23453,
315,
2767,
6,
11272,
7734,
289,
27573,
727,
514,
353,
2050,
88,
5618,
7167,
81,
5397,
273,
15687,
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,
3287,
1640,
1204,
3639,
261,
727,
514,
3153,
16,
727,
514,
7211,
301,
16,
727,
514,
1043,
17808,
16,
727,
9055,
15687,
262,
540,
1216,
14366,
288,
5411,
727,
3287,
325,
31,
5411,
309,
261,
315,
687,
9654,
14963,
12,
7211,
301,
262,
262,
288,
7734,
727,
9055,
2828,
394,
3075,
87,
273,
3167,
1989,
18,
588,
31292,
1265,
1868,
3402,
12,
15687,
11272,
7734,
727,
514,
1328,
82,
273,
394,
3075,
87,
18,
24805,
12,
23453,
11385,
67,
789,
56,
11272,
7734,
727,
514,
394,
2459,
82,
31,
7734,
309,
261,
1328,
82,
422,
446,
262,
288,
10792,
394,
2459,
82,
273,
766,
18,
21489,
1803,
1785,
12,
1408,
11272,
10792,
394,
3075,
87,
18,
1289,
2
] |
private void updateModule(IProject project) { IClasspathContainer container = getWebAppLibrariesContainer(project); if (container != null) { ((FlexibleProjectContainer) container).refresh(); } IProject[] earProjects = J2EEProjectUtilities.getReferencingEARProjects(project); if (earProjects.length == 0) { removeContainerFromModuleIfNecessary(project); return; } container = addContainerToModuleIfNecessary(project); if (container != null) { ((J2EEComponentClasspathContainer) container).update();
|
private void updateModule(final IProject project) { final IWorkspaceRunnable workspaceRunnable = new IWorkspaceRunnable() { public void run(IProgressMonitor monitor) { IClasspathContainer container = getWebAppLibrariesContainer(project); if (container != null) { ((FlexibleProjectContainer) container).refresh(); } IProject[] earProjects = J2EEProjectUtilities.getReferencingEARProjects(project); if (earProjects.length == 0) { removeContainerFromModuleIfNecessary(project); return; } container = addContainerToModuleIfNecessary(project); if (container != null) { ((J2EEComponentClasspathContainer) container).update(); } } }; final IWorkspace workspace = ResourcesPlugin.getWorkspace(); if (workspace.isTreeLocked()) { Runnable r = new Runnable() { public void run() { while (workspace.isTreeLocked()) { try { Thread.sleep(10); } catch (InterruptedException e) { } } try { workspace.run(workspaceRunnable, workspace.getRoot(), IWorkspace.AVOID_UPDATE, new NullProgressMonitor()); } catch (CoreException e) { Logger.getLogger().logError(e); } } }; Thread t = new Thread(r); t.start(); } else { try { workspace.run(workspaceRunnable, workspace.getRoot(), IWorkspace.AVOID_UPDATE, new NullProgressMonitor()); } catch (CoreException e) { Logger.getLogger().logError(e); }
|
private void updateModule(IProject project) { IClasspathContainer container = getWebAppLibrariesContainer(project); if (container != null) { ((FlexibleProjectContainer) container).refresh(); } IProject[] earProjects = J2EEProjectUtilities.getReferencingEARProjects(project); if (earProjects.length == 0) { removeContainerFromModuleIfNecessary(project); return; } container = addContainerToModuleIfNecessary(project); if (container != null) { ((J2EEComponentClasspathContainer) container).update(); } }
|
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/b15e3b450868f44220bf4cca43e115caad4fd26c/J2EEComponentClasspathUpdater.java/clean/plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/common/classpath/J2EEComponentClasspathUpdater.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1089,
3120,
12,
45,
4109,
1984,
13,
288,
202,
202,
45,
17461,
2170,
1478,
273,
20312,
3371,
31909,
2170,
12,
4406,
1769,
202,
202,
430,
261,
3782,
480,
446,
13,
288,
1082,
202,
12443,
19667,
1523,
4109,
2170,
13,
1478,
2934,
9144,
5621,
202,
202,
97,
202,
202,
45,
4109,
8526,
6897,
15298,
273,
804,
22,
9383,
4109,
11864,
18,
588,
426,
586,
15495,
9250,
15298,
12,
4406,
1769,
202,
202,
430,
261,
2091,
15298,
18,
2469,
422,
374,
13,
288,
1082,
202,
4479,
2170,
1265,
3120,
26034,
12,
4406,
1769,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
3782,
273,
527,
2170,
774,
3120,
26034,
12,
4406,
1769,
202,
202,
430,
261,
3782,
480,
446,
13,
288,
1082,
202,
12443,
46,
22,
9383,
1841,
17461,
2170,
13,
1478,
2934,
2725,
5621,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
1152,
918,
1089,
3120,
12,
45,
4109,
1984,
13,
288,
202,
202,
45,
17461,
2170,
1478,
273,
20312,
3371,
31909,
2170,
12,
4406,
1769,
202,
202,
430,
261,
3782,
480,
446,
13,
288,
1082,
202,
12443,
19667,
1523,
4109,
2170,
13,
1478,
2934,
9144,
5621,
202,
202,
97,
202,
202,
45,
4109,
8526,
6897,
15298,
273,
804,
22,
9383,
4109,
11864,
18,
588,
426,
586,
15495,
9250,
15298,
12,
4406,
1769,
202,
202,
430,
261,
2091,
15298,
18,
2469,
422,
374,
13,
288,
1082,
202,
4479,
2170,
1265,
3120,
26034,
12,
4406,
1769,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
3782,
273,
527,
2170,
774,
3120,
26034,
12,
4406,
1769,
202,
202,
430,
261,
3782,
2
] |
public void set(org.quickfix.field.DistribPaymentMethod value)
|
public void set(quickfix.field.DistribPaymentMethod value)
|
public void set(org.quickfix.field.DistribPaymentMethod value) { setField(value); }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/RegistrationInstructions.java/buggy/src/java/src/quickfix/fix44/RegistrationInstructions.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
12,
19525,
904,
18,
1518,
18,
1669,
665,
20776,
460,
13,
225,
288,
16331,
12,
1132,
1769,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
12,
19525,
904,
18,
1518,
18,
1669,
665,
20776,
460,
13,
225,
288,
16331,
12,
1132,
1769,
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
] |
return new ConversionSet(valueMap.entrySet());
|
return new ConversionMapEntrySet(getRuntime(), valueMap.entrySet());
|
public Set entrySet() { // TODO: Set.Entry must be wrapped appropriately...? return new ConversionSet(valueMap.entrySet()); }
|
46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/b46a9962586a768eaf50113d17bdb4aef7e22000/RubyHash.java/buggy/src/org/jruby/RubyHash.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1000,
6296,
1435,
288,
202,
202,
759,
2660,
30,
1000,
18,
1622,
1297,
506,
5805,
21419,
2777,
35,
202,
202,
2463,
394,
16401,
694,
12,
1132,
863,
18,
4099,
694,
10663,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1000,
6296,
1435,
288,
202,
202,
759,
2660,
30,
1000,
18,
1622,
1297,
506,
5805,
21419,
2777,
35,
202,
202,
2463,
394,
16401,
694,
12,
1132,
863,
18,
4099,
694,
10663,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
case CONSTRUCTOR_ID:
|
case Id_constructor:
|
public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { switch (methodId) { case CONSTRUCTOR_ID: return jsConstructor(args, thisObj == null); case Id_toString: return realThis(thisObj, f).jsFunction_toString(); case Id_valueOf: return wrap_boolean(realThis(thisObj, f).jsFunction_valueOf()); } return Scriptable.NOT_FOUND; }
|
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/b6331020dcf96bb85dae57ee2a2ce947b6b0477a/NativeBoolean.java/clean/js/rhino/org/mozilla/javascript/NativeBoolean.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
1620,
261,
2039,
548,
13,
288,
3639,
648,
3124,
67,
12316,
30,
5411,
327,
3828,
6293,
12,
1968,
16,
15261,
422,
446,
1769,
3639,
648,
3124,
67,
10492,
30,
5411,
327,
2863,
2503,
12,
2211,
2675,
16,
284,
2934,
2924,
2083,
67,
10492,
5621,
3639,
648,
3124,
67,
1132,
951,
30,
2398,
327,
2193,
67,
6494,
12,
7688,
2503,
12,
2211,
2675,
16,
284,
2934,
2924,
2083,
67,
1132,
951,
10663,
3639,
289,
3639,
327,
22780,
18,
4400,
67,
9294,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
1620,
261,
2039,
548,
13,
288,
3639,
648,
3124,
67,
12316,
30,
5411,
327,
3828,
6293,
12,
1968,
16,
15261,
422,
446,
1769,
3639,
648,
3124,
67,
10492,
30,
5411,
327,
2863,
2503,
12,
2211,
2675,
16,
284,
2934,
2924,
2083,
67,
10492,
5621,
3639,
648,
3124,
67,
1132,
951,
30,
2398,
327,
2193,
67,
6494,
12,
7688,
2503,
12,
2211,
2675,
16,
284,
2934,
2924,
2083,
67,
1132,
951,
10663,
3639,
289,
3639,
327,
22780,
18,
4400,
67,
9294,
31,
565,
289,
2
] |
ParameterBinding rb = getBinding(binding, operationName, resultPartName, com.sun.xml.ws.model.Mode.OUT);
|
ParameterBinding rb = getBinding(binding, operationName, resultPartName, false, com.sun.xml.ws.model.Mode.OUT);
|
protected void processRpcMethod(JavaMethod javaMethod, String methodName, WebMethod webMethod, String operationName, Method method, WebService webService) { boolean isOneway = method.isAnnotationPresent(Oneway.class); QName reqElementName = new QName(targetNamespace, operationName); QName resElementName = null; if (!isOneway) { resElementName = new QName(targetNamespace, operationName+RESPONSE); } TypeReference typeRef = new TypeReference(reqElementName, RPC_LIT_PAYLOAD_CLASS, new Annotation[0]); WrapperParameter requestWrapper = new WrapperParameter(typeRef, com.sun.xml.ws.model.Mode.IN, 0); javaMethod.addParameter(requestWrapper); WrapperParameter responseWrapper = null; if (!isOneway) { typeRef = new TypeReference(resElementName, RPC_LIT_PAYLOAD_CLASS, new Annotation[0]); responseWrapper = new WrapperParameter(typeRef, com.sun.xml.ws.model.Mode.OUT, -1); javaMethod.addParameter(responseWrapper); } Class returnType = method.getReturnType(); String resultName = RETURN;//null; String resultTNS = targetNamespace;//null; String resultPartName = resultName; // TODO this needs to be spec'ed QName resultQName = null; boolean isResultHeader = false; WebResult webResult = method.getAnnotation(WebResult.class); if (webResult != null) { if (webResult.name().length() > 0) resultName = webResult.name(); if (webResult.partName().length() > 0) resultPartName = webResult.partName(); else resultPartName = resultName; if (webResult.targetNamespace().length() > 0) resultTNS = webResult.targetNamespace(); isResultHeader = webResult.header(); } if (isResultHeader) resultQName = new QName(resultTNS, resultName); else resultQName = new QName(resultName); if(javaMethod.isAsync()){ returnType = getAsyncReturnType(method, returnType); } if (!isOneway && (returnType != null) && (!returnType.getName().equals("void"))) { Class returnClazz = returnType; Annotation[] rann = method.getAnnotations(); TypeReference rTypeReference = new TypeReference(resultQName, returnType, rann); Parameter returnParameter = new Parameter(rTypeReference, com.sun.xml.ws.model.Mode.OUT, -1); returnParameter.setPartName(resultPartName); if(isResultHeader){ returnParameter.setBinding(new ParameterBinding(SOAPBlock.HEADER)); javaMethod.addParameter(returnParameter); }else{ ParameterBinding rb = getBinding(binding, operationName, resultPartName, com.sun.xml.ws.model.Mode.OUT); returnParameter.setBinding(rb); if(rb.getBinding().isBody() || rb.getBinding().isUnbound()){ responseWrapper.addWrapperChild(returnParameter); }else{ javaMethod.addParameter(returnParameter); } } } //get WebParam Class<?>[] parameterTypes = method.getParameterTypes(); Type[] genericParameterTypes = method.getGenericParameterTypes(); Annotation[][] pannotations = method.getParameterAnnotations(); int pos = 0; QName paramQName = null; for (Class clazzType : parameterTypes) { Parameter param = null; String paramName = ""; String paramNamespace = ""; String partName = null; boolean isHeader = false; if(javaMethod.isAsync() && AsyncHandler.class.isAssignableFrom(clazzType)){ continue; } boolean isHolder = HOLDER_CLASS.isAssignableFrom(clazzType); //set the actual type argument of Holder in the TypeReference if (isHolder) { if (clazzType.getName().equals(Holder.class.getName())) clazzType = Navigator.REFLECTION.erasure(((ParameterizedType)genericParameterTypes[pos]).getActualTypeArguments()[0]); } com.sun.xml.ws.model.Mode paramMode = isHolder ? com.sun.xml.ws.model.Mode.INOUT : com.sun.xml.ws.model.Mode.IN; for (Annotation annotation : pannotations[pos]) { if (annotation.annotationType() == javax.jws.WebParam.class) { javax.jws.WebParam webParam = (javax.jws.WebParam) annotation; paramName = webParam.name(); partName = webParam.partName(); isHeader = webParam.header(); WebParam.Mode mode = webParam.mode(); paramNamespace = webParam.targetNamespace(); if (isHolder && mode == javax.jws.WebParam.Mode.IN) mode = javax.jws.WebParam.Mode.INOUT; paramMode = (mode == javax.jws.WebParam.Mode.IN) ? com.sun.xml.ws.model.Mode.IN : (mode == javax.jws.WebParam.Mode.INOUT) ? com.sun.xml.ws.model.Mode.INOUT : com.sun.xml.ws.model.Mode.OUT; break; } } if (paramName.length() == 0) { paramName = "arg"+pos; } if (!isHeader) { //its rpclit body param, set namespace to "" paramQName = new QName("", paramName); } else { if (paramNamespace.length() == 0) paramNamespace = targetNamespace; paramQName = new QName(paramNamespace, paramName); } typeRef = new TypeReference(paramQName, clazzType, pannotations[pos]); param = new Parameter(typeRef, paramMode, pos++); if(partName == null || (partName.length() == 0)){ partName = paramName; } param.setPartName(partName); if (isHeader) { param.setBinding(new ParameterBinding(SOAPBlock.HEADER)); javaMethod.addParameter(param); } else { ParameterBinding pb = getBinding(binding, operationName, partName, paramMode); param.setBinding(pb); if(pb.getBinding().isBody() || pb.getBinding().isUnbound()){ if (!paramMode.equals(com.sun.xml.ws.model.Mode.OUT)) { requestWrapper.addWrapperChild(param); } if (!paramMode.equals(com.sun.xml.ws.model.Mode.IN)) { if (isOneway) { throw new RuntimeModelerException("runtime.modeler.oneway.operation.no.out.parameters", new Object[] {portClass.getCanonicalName(), methodName}); } responseWrapper.addWrapperChild(param); } }else { javaMethod.addParameter(param); } } } processExceptions(javaMethod, method); }
|
9667 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9667/6200604565355885ba65f291977a296dc68e9045/RuntimeModeler.java/buggy/jaxws-ri/rt/src/com/sun/xml/ws/modeler/RuntimeModeler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1207,
11647,
1305,
12,
5852,
1305,
2252,
1305,
16,
514,
4918,
16,
3639,
2999,
1305,
3311,
1305,
16,
514,
22697,
16,
2985,
707,
16,
2999,
1179,
3311,
1179,
13,
288,
3639,
1250,
28181,
359,
528,
273,
707,
18,
291,
3257,
6351,
12,
1398,
359,
528,
18,
1106,
1769,
3639,
16723,
1111,
30584,
273,
394,
16723,
12,
3299,
3402,
16,
22697,
1769,
3639,
16723,
400,
30584,
273,
446,
31,
3639,
309,
16051,
291,
1398,
359,
528,
13,
288,
5411,
400,
30584,
273,
394,
16723,
12,
3299,
3402,
16,
22697,
15,
14508,
1769,
3639,
289,
3639,
31717,
618,
1957,
273,
7734,
394,
31717,
12,
3658,
30584,
16,
8295,
67,
15716,
67,
11389,
7783,
67,
5237,
16,
394,
6090,
63,
20,
19226,
3639,
18735,
1662,
590,
3611,
273,
394,
18735,
1662,
12,
723,
1957,
16,
5411,
532,
18,
16924,
18,
2902,
18,
4749,
18,
2284,
18,
2309,
18,
706,
16,
374,
1769,
3639,
2252,
1305,
18,
1289,
1662,
12,
2293,
3611,
1769,
3639,
18735,
1662,
766,
3611,
273,
446,
31,
3639,
309,
16051,
291,
1398,
359,
528,
13,
288,
5411,
618,
1957,
273,
394,
31717,
12,
455,
30584,
16,
8295,
67,
15716,
67,
11389,
7783,
67,
5237,
16,
4766,
3639,
394,
6090,
63,
20,
19226,
5411,
766,
3611,
273,
394,
18735,
1662,
12,
723,
1957,
16,
7734,
532,
18,
16924,
18,
2902,
18,
4749,
18,
2284,
18,
2309,
18,
5069,
16,
300,
21,
1769,
5411,
2252,
1305,
18,
1289,
1662,
12,
2740,
3611,
1769,
3639,
289,
3639,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1207,
11647,
1305,
12,
5852,
1305,
2252,
1305,
16,
514,
4918,
16,
3639,
2999,
1305,
3311,
1305,
16,
514,
22697,
16,
2985,
707,
16,
2999,
1179,
3311,
1179,
13,
288,
3639,
1250,
28181,
359,
528,
273,
707,
18,
291,
3257,
6351,
12,
1398,
359,
528,
18,
1106,
1769,
3639,
16723,
1111,
30584,
273,
394,
16723,
12,
3299,
3402,
16,
22697,
1769,
3639,
16723,
400,
30584,
273,
446,
31,
3639,
309,
16051,
291,
1398,
359,
528,
13,
288,
5411,
400,
30584,
273,
394,
16723,
12,
3299,
3402,
16,
22697,
15,
14508,
1769,
3639,
289,
3639,
31717,
618,
1957,
273,
7734,
394,
31717,
12,
3658,
30584,
16,
8295,
67,
15716,
67,
11389,
7783,
67,
5237,
16,
394,
6090,
2
] |
myCurrentDirectory = new SVNDirectoryInfo(myCurrentDirectory, path, false);
|
myCurrentDirectory = new SVNDirectoryInfo(myCurrentDirectory, path);
|
public void openDir(String path, long revision) throws SVNException { DebugLog.log("open dir"); myCurrentDirectory = new SVNDirectoryInfo(myCurrentDirectory, path, false); myCurrentDirectory.myBaseProperties = new HashMap(); myRepos.getDir(path, myRevision, myCurrentDirectory.myBaseProperties, (Collection) null); }
|
2776 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2776/6c2a9b21ad94c8ea1ae6d43c84b3c1225fe4e460/SVNRemoteDiffEditor.java/clean/javasvn/src/org/tmatesoft/svn/core/internal/wc/SVNRemoteDiffEditor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1696,
1621,
12,
780,
589,
16,
1525,
6350,
13,
1216,
29537,
50,
503,
288,
3639,
4015,
1343,
18,
1330,
2932,
3190,
1577,
8863,
3639,
3399,
3935,
2853,
273,
394,
29537,
50,
2853,
966,
12,
4811,
3935,
2853,
16,
589,
1769,
3639,
3399,
3935,
2853,
18,
4811,
2171,
2297,
273,
394,
4317,
5621,
3639,
3399,
28453,
18,
588,
1621,
12,
803,
16,
3399,
7939,
16,
3399,
3935,
2853,
18,
4811,
2171,
2297,
16,
261,
2532,
13,
446,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1696,
1621,
12,
780,
589,
16,
1525,
6350,
13,
1216,
29537,
50,
503,
288,
3639,
4015,
1343,
18,
1330,
2932,
3190,
1577,
8863,
3639,
3399,
3935,
2853,
273,
394,
29537,
50,
2853,
966,
12,
4811,
3935,
2853,
16,
589,
1769,
3639,
3399,
3935,
2853,
18,
4811,
2171,
2297,
273,
394,
4317,
5621,
3639,
3399,
28453,
18,
588,
1621,
12,
803,
16,
3399,
7939,
16,
3399,
3935,
2853,
18,
4811,
2171,
2297,
16,
261,
2532,
13,
446,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
following.push(FOLLOW_predicate_in_constraints1654);
|
following.push(FOLLOW_predicate_in_constraints1658);
|
public List constraints() throws RecognitionException { List constraints; constraints = new ArrayList(); try { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:668:17: ( opt_eol ( constraint[constraints] | predicate[constraints] ) ( opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) )* opt_eol ) // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:668:17: opt_eol ( constraint[constraints] | predicate[constraints] ) ( opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) )* opt_eol { following.push(FOLLOW_opt_eol_in_constraints1628); opt_eol(); following.pop(); // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:669:17: ( constraint[constraints] | predicate[constraints] ) int alt46=2; int LA46_0 = input.LA(1); if ( LA46_0==EOL||LA46_0==15 ) { alt46=1; } else if ( LA46_0==ID ) { int LA46_2 = input.LA(2); if ( LA46_2==30 ) { int LA46_3 = input.LA(3); if ( LA46_3==ID ) { int LA46_8 = input.LA(4); if ( LA46_8==50 ) { alt46=2; } else if ( LA46_8==EOL||LA46_8==15||(LA46_8>=22 && LA46_8<=23)||(LA46_8>=40 && LA46_8<=47) ) { alt46=1; } else { NoViableAltException nvae = new NoViableAltException("669:17: ( constraint[constraints] | predicate[constraints] )", 46, 8, input); throw nvae; } } else if ( LA46_3==EOL||LA46_3==15 ) { alt46=1; } else { NoViableAltException nvae = new NoViableAltException("669:17: ( constraint[constraints] | predicate[constraints] )", 46, 3, input); throw nvae; } } else if ( LA46_2==EOL||LA46_2==15||(LA46_2>=22 && LA46_2<=23)||(LA46_2>=40 && LA46_2<=47) ) { alt46=1; } else { NoViableAltException nvae = new NoViableAltException("669:17: ( constraint[constraints] | predicate[constraints] )", 46, 2, input); throw nvae; } } else { NoViableAltException nvae = new NoViableAltException("669:17: ( constraint[constraints] | predicate[constraints] )", 46, 0, input); throw nvae; } switch (alt46) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:669:18: constraint[constraints] { following.push(FOLLOW_constraint_in_constraints1633); constraint(constraints); following.pop(); } break; case 2 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:669:42: predicate[constraints] { following.push(FOLLOW_predicate_in_constraints1636); predicate(constraints); following.pop(); } break; } // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:670:17: ( opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) )* loop48: do { int alt48=2; alt48 = dfa48.predict(input); switch (alt48) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:670:19: opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) { following.push(FOLLOW_opt_eol_in_constraints1644); opt_eol(); following.pop(); match(input,22,FOLLOW_22_in_constraints1646); following.push(FOLLOW_opt_eol_in_constraints1648); opt_eol(); following.pop(); // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:670:39: ( constraint[constraints] | predicate[constraints] ) int alt47=2; int LA47_0 = input.LA(1); if ( LA47_0==EOL||LA47_0==15 ) { alt47=1; } else if ( LA47_0==ID ) { int LA47_2 = input.LA(2); if ( LA47_2==30 ) { int LA47_3 = input.LA(3); if ( LA47_3==ID ) { int LA47_8 = input.LA(4); if ( LA47_8==50 ) { alt47=2; } else if ( LA47_8==EOL||LA47_8==15||(LA47_8>=22 && LA47_8<=23)||(LA47_8>=40 && LA47_8<=47) ) { alt47=1; } else { NoViableAltException nvae = new NoViableAltException("670:39: ( constraint[constraints] | predicate[constraints] )", 47, 8, input); throw nvae; } } else if ( LA47_3==EOL||LA47_3==15 ) { alt47=1; } else { NoViableAltException nvae = new NoViableAltException("670:39: ( constraint[constraints] | predicate[constraints] )", 47, 3, input); throw nvae; } } else if ( LA47_2==EOL||LA47_2==15||(LA47_2>=22 && LA47_2<=23)||(LA47_2>=40 && LA47_2<=47) ) { alt47=1; } else { NoViableAltException nvae = new NoViableAltException("670:39: ( constraint[constraints] | predicate[constraints] )", 47, 2, input); throw nvae; } } else { NoViableAltException nvae = new NoViableAltException("670:39: ( constraint[constraints] | predicate[constraints] )", 47, 0, input); throw nvae; } switch (alt47) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:670:40: constraint[constraints] { following.push(FOLLOW_constraint_in_constraints1651); constraint(constraints); following.pop(); } break; case 2 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:670:64: predicate[constraints] { following.push(FOLLOW_predicate_in_constraints1654); predicate(constraints); following.pop(); } break; } } break; default : break loop48; } } while (true); following.push(FOLLOW_opt_eol_in_constraints1662); opt_eol(); following.pop(); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return constraints; }
|
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/7f81b86a0f548bd02b09afc74b46454cdf158154/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
6237,
1435,
1216,
9539,
288,
6647,
987,
6237,
31,
1171,
202,
202,
11967,
273,
394,
2407,
5621,
540,
202,
3639,
775,
288,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
6028,
28,
30,
4033,
30,
261,
2153,
67,
30951,
261,
4954,
63,
11967,
65,
571,
5641,
63,
11967,
65,
262,
261,
2153,
67,
30951,
3316,
2153,
67,
30951,
261,
4954,
63,
11967,
65,
571,
5641,
63,
11967,
65,
262,
8618,
2153,
67,
30951,
262,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
6028,
28,
30,
4033,
30,
2153,
67,
30951,
261,
4954,
63,
11967,
65,
571,
5641,
63,
11967,
65,
262,
261,
2153,
67,
30951,
3316,
2153,
67,
30951,
261,
4954,
63,
11967,
65,
571,
5641,
63,
11967,
65,
262,
8618,
2153,
67,
30951,
5411,
288,
5411,
3751,
18,
6206,
12,
29890,
67,
3838,
67,
30951,
67,
267,
67,
11967,
2313,
6030,
1769,
5411,
2153,
67,
30951,
5621,
5411,
3751,
18,
5120,
5621,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
6028,
29,
30,
4033,
30,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
6237,
1435,
1216,
9539,
288,
6647,
987,
6237,
31,
1171,
202,
202,
11967,
273,
394,
2407,
5621,
540,
202,
3639,
775,
288,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
6028,
28,
30,
4033,
30,
261,
2153,
67,
30951,
261,
4954,
63,
11967,
65,
571,
5641,
63,
11967,
65,
262,
261,
2153,
67,
30951,
3316,
2153,
67,
30951,
261,
4954,
63,
11967,
65,
571,
5641,
63,
11967,
65,
262,
8618,
2153,
67,
30951,
262,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
2
] |
jj_la1[10] = jj_gen;
|
jj_la1[12] = jj_gen;
|
final public void nonOpOrTerm() throws ParseException { label_7: while (true) { if (jj_2_3(2)) { ; } else { break label_7; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WHITE: jj_consume_token(WHITE); break; case COLON: case SLASH: case DOT: case ATSIGN: case APOSTROPHE: nonOpInfix(); break; case PLUS: case MINUS: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PLUS: jj_consume_token(PLUS); break; case MINUS: jj_consume_token(MINUS); break; default: jj_la1[10] = jj_gen; jj_consume_token(-1); throw new ParseException(); } nonTerm(); break; default: jj_la1[11] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } }
|
57484 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57484/0faf643f0efa6f2ad848fed686443d8e4c4ad978/NutchAnalysis.java/clean/src/java/org/apache/nutch/analysis/NutchAnalysis.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1071,
918,
1661,
3817,
1162,
4065,
1435,
1216,
10616,
288,
565,
1433,
67,
27,
30,
565,
1323,
261,
3767,
13,
288,
1377,
309,
261,
78,
78,
67,
22,
67,
23,
12,
22,
3719,
288,
3639,
274,
1377,
289,
469,
288,
3639,
898,
1433,
67,
27,
31,
1377,
289,
1377,
1620,
14015,
78,
78,
67,
496,
79,
631,
17,
21,
9945,
78,
78,
67,
496,
79,
13332,
78,
78,
67,
496,
79,
13,
288,
1377,
648,
24353,
30,
3639,
10684,
67,
21224,
67,
2316,
12,
16861,
1769,
3639,
898,
31,
1377,
648,
27856,
30,
1377,
648,
348,
16504,
30,
1377,
648,
15772,
30,
1377,
648,
14464,
11260,
30,
1377,
648,
432,
3798,
12578,
3900,
30,
3639,
1661,
3817,
382,
904,
5621,
3639,
898,
31,
1377,
648,
22443,
3378,
30,
1377,
648,
6989,
3378,
30,
3639,
1620,
14015,
78,
78,
67,
496,
79,
631,
17,
21,
9945,
78,
78,
67,
496,
79,
13332,
78,
78,
67,
496,
79,
13,
288,
3639,
648,
22443,
3378,
30,
1850,
10684,
67,
21224,
67,
2316,
12,
6253,
3378,
1769,
1850,
898,
31,
3639,
648,
6989,
3378,
30,
1850,
10684,
67,
21224,
67,
2316,
12,
6236,
3378,
1769,
1850,
898,
31,
3639,
805,
30,
1850,
10684,
67,
11821,
21,
63,
2138,
65,
273,
10684,
67,
4507,
31,
1850,
10684,
67,
21224,
67,
2316,
19236,
21,
1769,
1850,
604,
394,
10616,
5621,
3639,
289,
3639,
1661,
4065,
5621,
3639,
898,
31,
1377,
805,
30,
3639,
10684,
67,
11821,
21,
63,
2499,
65,
273,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1071,
918,
1661,
3817,
1162,
4065,
1435,
1216,
10616,
288,
565,
1433,
67,
27,
30,
565,
1323,
261,
3767,
13,
288,
1377,
309,
261,
78,
78,
67,
22,
67,
23,
12,
22,
3719,
288,
3639,
274,
1377,
289,
469,
288,
3639,
898,
1433,
67,
27,
31,
1377,
289,
1377,
1620,
14015,
78,
78,
67,
496,
79,
631,
17,
21,
9945,
78,
78,
67,
496,
79,
13332,
78,
78,
67,
496,
79,
13,
288,
1377,
648,
24353,
30,
3639,
10684,
67,
21224,
67,
2316,
12,
16861,
1769,
3639,
898,
31,
1377,
648,
27856,
30,
1377,
648,
348,
16504,
30,
1377,
648,
15772,
30,
1377,
648,
14464,
11260,
30,
1377,
648,
432,
3798,
12578,
3900,
30,
3639,
1661,
3817,
2
] |
public Identity(String name, Map<String, Object> attrs) { super(attrs, null); mName = name;
|
public Identity(String name, String id, Map<String, Object> attrs) { super(name, id, attrs, null);
|
public Identity(String name, Map<String, Object> attrs) { super(attrs, null); mName = name; }
|
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/ccffcc86bc776010089ae5cee350f389fe08da26/Identity.java/clean/ZimbraServer/src/java/com/zimbra/cs/account/Identity.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
7808,
12,
780,
508,
16,
1635,
32,
780,
16,
1033,
34,
3422,
13,
288,
3639,
2240,
12,
7039,
16,
446,
1769,
3639,
312,
461,
273,
508,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
1071,
7808,
12,
780,
508,
16,
1635,
32,
780,
16,
1033,
34,
3422,
13,
288,
3639,
2240,
12,
7039,
16,
446,
1769,
3639,
312,
461,
273,
508,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
borderCssStyle.setAttribute("width", "expression((document.getElementById('" + elementId + "').clientWidth-" + (borderHorizontalPixels) + ")+'px')");
|
borderCssStyle.setAttribute("width", "expression((document.getElementById('" + elementId + "').clientWidth-" + (borderHorizontalPixels) + ")+'px')");
|
private void renderBorder(RenderContext rc, Element windowDivElement, WindowPane windowPane) { FillImageBorder border = (FillImageBorder) windowPane.getRenderProperty(WindowPane.PROPERTY_BORDER, DEFAULT_BORDER); Color borderColor = border.getColor(); Insets borderInsets = border.getBorderInsets() == null ? new Insets(0) : border.getBorderInsets(); Document document = rc.getServerMessage().getDocument(); String elementId = ContainerInstance.getElementId(windowPane); boolean resizable = ((Boolean) windowPane.getRenderProperty(WindowPane.PROPERTY_RESIZABLE, Boolean.TRUE)).booleanValue(); boolean renderPositioningBothSides = !rc.getContainerInstance().getClientProperties() .getBoolean(ClientProperties.QUIRK_CSS_POSITIONING_ONE_SIDE_ONLY); boolean renderSizeExpression = !renderPositioningBothSides && rc.getContainerInstance().getClientProperties() .getBoolean(ClientProperties.PROPRIETARY_IE_CSS_EXPRESSIONS_SUPPORTED); int borderTopPixels = ExtentRender.toPixels(borderInsets.getTop(), 0); int borderLeftPixels = ExtentRender.toPixels(borderInsets.getLeft(), 0); int borderRightPixels = ExtentRender.toPixels(borderInsets.getRight(), 0); int borderBottomPixels = ExtentRender.toPixels(borderInsets.getBottom(), 0); int borderVerticalPixels = borderTopPixels + borderBottomPixels; int borderHorizontalPixels = borderLeftPixels + borderRightPixels; // Top Left Corner Element borderDivElement = document.createElement("div"); borderDivElement.setAttribute("id", elementId + "_border_tl"); CssStyle borderCssStyle = new CssStyle(); ColorRender.renderToStyle(borderCssStyle, null, borderColor); borderCssStyle.setAttribute("position", "absolute"); borderCssStyle.setAttribute("top", "0px"); borderCssStyle.setAttribute("left", "0px"); borderCssStyle.setAttribute("height", borderTopPixels + "px"); borderCssStyle.setAttribute("width", borderLeftPixels + "px"); if (resizable) { borderCssStyle.setAttribute("cursor", "nw-resize"); } FillImageRender.renderToStyle(borderCssStyle, rc, this, windowPane, IMAGE_ID_BORDER_TOP_LEFT, border.getFillImage(FillImageBorder.TOP_LEFT), false); borderDivElement.setAttribute("style", borderCssStyle.renderInline()); windowDivElement.appendChild(borderDivElement); // Top Side borderDivElement = document.createElement("div"); borderDivElement.setAttribute("id", elementId + "_border_t"); borderCssStyle = new CssStyle(); ColorRender.renderToStyle(borderCssStyle, null, borderColor); borderCssStyle.setAttribute("position", "absolute"); borderCssStyle.setAttribute("top", "0px"); borderCssStyle.setAttribute("left", borderLeftPixels + "px"); borderCssStyle.setAttribute("height", borderTopPixels + "px"); if (renderPositioningBothSides) { borderCssStyle.setAttribute("right", borderRightPixels + "px"); } else if (renderSizeExpression) { borderCssStyle.setAttribute("width", "expression((document.getElementById('" + elementId + "').clientWidth-" + (borderHorizontalPixels) + ")+'px')"); } if (resizable) { borderCssStyle.setAttribute("cursor", "n-resize"); } FillImageRender.renderToStyle(borderCssStyle, rc, this, windowPane, IMAGE_ID_BORDER_TOP, border.getFillImage(FillImageBorder.TOP), false); borderDivElement.setAttribute("style", borderCssStyle.renderInline()); windowDivElement.appendChild(borderDivElement); // Top Right Corner borderDivElement = document.createElement("div"); borderDivElement.setAttribute("id", elementId + "_border_tr"); borderCssStyle = new CssStyle(); ColorRender.renderToStyle(borderCssStyle, null, borderColor); borderCssStyle.setAttribute("position", "absolute"); borderCssStyle.setAttribute("top", "0px"); borderCssStyle.setAttribute("right", "0px"); borderCssStyle.setAttribute("height", borderTopPixels + "px"); borderCssStyle.setAttribute("width", borderRightPixels + "px"); if (resizable) { borderCssStyle.setAttribute("cursor", "ne-resize"); } FillImageRender.renderToStyle(borderCssStyle, rc, this, windowPane, IMAGE_ID_BORDER_TOP_RIGHT, border.getFillImage(FillImageBorder.TOP_RIGHT), false); borderDivElement.setAttribute("style", borderCssStyle.renderInline()); windowDivElement.appendChild(borderDivElement); // Left Side borderDivElement = document.createElement("div"); borderDivElement.setAttribute("id", elementId + "_border_l"); borderCssStyle = new CssStyle(); ColorRender.renderToStyle(borderCssStyle, null, borderColor); borderCssStyle.setAttribute("position", "absolute"); borderCssStyle.setAttribute("top", borderTopPixels + "px"); borderCssStyle.setAttribute("left", "0px"); borderCssStyle.setAttribute("width", borderLeftPixels + "px"); if (renderPositioningBothSides) { borderCssStyle.setAttribute("bottom", borderRightPixels + "px"); } else if (renderSizeExpression) { borderCssStyle.setAttribute("height", "expression((document.getElementById('" + elementId + "').clientHeight-" + (borderVerticalPixels) + ")+'px')"); } if (resizable) { borderCssStyle.setAttribute("cursor", "w-resize"); } FillImageRender.renderToStyle(borderCssStyle, rc, this, windowPane, IMAGE_ID_BORDER_LEFT, border.getFillImage(FillImageBorder.LEFT), false); borderDivElement.setAttribute("style", borderCssStyle.renderInline()); windowDivElement.appendChild(borderDivElement); // Right Side borderDivElement = document.createElement("div"); borderDivElement.setAttribute("id", elementId + "_border_r"); borderCssStyle = new CssStyle(); ColorRender.renderToStyle(borderCssStyle, null, borderColor); borderCssStyle.setAttribute("position", "absolute"); borderCssStyle.setAttribute("top", borderTopPixels + "px"); borderCssStyle.setAttribute("right", "0px"); borderCssStyle.setAttribute("width", borderRightPixels + "px"); if (renderPositioningBothSides) { borderCssStyle.setAttribute("bottom", borderRightPixels + "px"); } else if (renderSizeExpression) { borderCssStyle.setAttribute("height", "expression((document.getElementById('" + elementId + "').clientHeight-" + (borderVerticalPixels) + ")+'px')"); } if (resizable) { borderCssStyle.setAttribute("cursor", "e-resize"); } FillImageRender.renderToStyle(borderCssStyle, rc, this, windowPane, IMAGE_ID_BORDER_RIGHT, border.getFillImage(FillImageBorder.RIGHT), false); borderDivElement.setAttribute("style", borderCssStyle.renderInline()); windowDivElement.appendChild(borderDivElement); // Bottom Left Corner borderDivElement = document.createElement("div"); borderDivElement.setAttribute("id", elementId + "_border_bl"); borderCssStyle = new CssStyle(); ColorRender.renderToStyle(borderCssStyle, null, borderColor); borderCssStyle.setAttribute("position", "absolute"); borderCssStyle.setAttribute("bottom", "0px"); borderCssStyle.setAttribute("left", "0px"); borderCssStyle.setAttribute("height", borderBottomPixels + "px"); borderCssStyle.setAttribute("width", borderLeftPixels + "px"); if (resizable) { borderCssStyle.setAttribute("cursor", "sw-resize"); } FillImageRender.renderToStyle(borderCssStyle, rc, this, windowPane, IMAGE_ID_BORDER_BOTTOM_LEFT, border.getFillImage(FillImageBorder.BOTTOM_LEFT), false); borderDivElement.setAttribute("style", borderCssStyle.renderInline()); windowDivElement.appendChild(borderDivElement); // Bottom Side borderDivElement = document.createElement("div"); borderDivElement.setAttribute("id", elementId + "_border_b"); borderCssStyle = new CssStyle(); ColorRender.renderToStyle(borderCssStyle, null, borderColor); borderCssStyle.setAttribute("position", "absolute"); borderCssStyle.setAttribute("bottom", "0px"); borderCssStyle.setAttribute("left", borderLeftPixels + "px"); borderCssStyle.setAttribute("height", borderBottomPixels + "px"); if (renderPositioningBothSides) { borderCssStyle.setAttribute("right", borderRightPixels + "px"); } else if (renderSizeExpression) { borderCssStyle.setAttribute("width", "expression((document.getElementById('" + elementId + "').clientWidth-" + (borderHorizontalPixels) + ")+'px')"); } if (resizable) { borderCssStyle.setAttribute("cursor", "s-resize"); } FillImageRender.renderToStyle(borderCssStyle, rc, this, windowPane, IMAGE_ID_BORDER_BOTTOM, border.getFillImage(FillImageBorder.BOTTOM), false); borderDivElement.setAttribute("style", borderCssStyle.renderInline()); windowDivElement.appendChild(borderDivElement); // Bottom Right Side borderDivElement = document.createElement("div"); borderDivElement.setAttribute("id", elementId + "_border_br"); borderCssStyle = new CssStyle(); ColorRender.renderToStyle(borderCssStyle, null, borderColor); borderCssStyle.setAttribute("position", "absolute"); borderCssStyle.setAttribute("bottom", "0px"); borderCssStyle.setAttribute("right", "0px"); borderCssStyle.setAttribute("height", borderBottomPixels + "px"); borderCssStyle.setAttribute("width", borderRightPixels + "px"); if (resizable) { borderCssStyle.setAttribute("cursor", "se-resize"); } FillImageRender.renderToStyle(borderCssStyle, rc, this, windowPane, IMAGE_ID_BORDER_BOTTOM_RIGHT, border.getFillImage(FillImageBorder.BOTTOM_RIGHT), false); borderDivElement.setAttribute("style", borderCssStyle.renderInline()); windowDivElement.appendChild(borderDivElement); ServerMessage serverMessage = rc.getServerMessage(); if (resizable) { EventUpdate.createEventAdd(serverMessage, "mousedown", elementId + "_border_tl", "EchoWindowPane.windowResizeMouseDown"); EventUpdate.createEventAdd(serverMessage, "mousedown", elementId + "_border_t", "EchoWindowPane.windowResizeMouseDown"); EventUpdate.createEventAdd(serverMessage, "mousedown", elementId + "_border_tr", "EchoWindowPane.windowResizeMouseDown"); EventUpdate.createEventAdd(serverMessage, "mousedown", elementId + "_border_l", "EchoWindowPane.windowResizeMouseDown"); EventUpdate.createEventAdd(serverMessage, "mousedown", elementId + "_border_r", "EchoWindowPane.windowResizeMouseDown"); EventUpdate.createEventAdd(serverMessage, "mousedown", elementId + "_border_bl", "EchoWindowPane.windowResizeMouseDown"); EventUpdate.createEventAdd(serverMessage, "mousedown", elementId + "_border_b", "EchoWindowPane.windowResizeMouseDown"); EventUpdate.createEventAdd(serverMessage, "mousedown", elementId + "_border_br", "EchoWindowPane.windowResizeMouseDown"); } }
|
45635 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45635/0e16a2d76781ba8685883747d0d8f1c409e05d2f/WindowPanePeer.java/clean/src/webcontainer/java/nextapp/echo2/webcontainer/syncpeer/WindowPanePeer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1743,
8107,
12,
3420,
1042,
4519,
16,
3010,
2742,
7244,
1046,
16,
6076,
8485,
2742,
8485,
13,
288,
3639,
14192,
2040,
8107,
5795,
273,
261,
8026,
2040,
8107,
13,
2742,
8485,
18,
588,
3420,
1396,
12,
3829,
8485,
18,
9900,
67,
38,
7954,
16,
3331,
67,
38,
7954,
1769,
3639,
5563,
5795,
2957,
273,
5795,
18,
588,
2957,
5621,
3639,
22300,
5795,
382,
4424,
273,
5795,
18,
588,
8107,
382,
4424,
1435,
422,
446,
1171,
692,
394,
22300,
12,
20,
13,
294,
5795,
18,
588,
8107,
382,
4424,
5621,
3639,
4319,
1668,
273,
4519,
18,
588,
2081,
1079,
7675,
588,
2519,
5621,
3639,
514,
930,
548,
273,
4039,
1442,
18,
21336,
548,
12,
5668,
8485,
1769,
3639,
1250,
400,
6934,
273,
14015,
5507,
13,
2742,
8485,
18,
588,
3420,
1396,
12,
3829,
8485,
18,
9900,
67,
862,
2320,
62,
2782,
16,
3411,
18,
18724,
13,
2934,
6494,
620,
5621,
13491,
1250,
1743,
2555,
310,
20240,
55,
4369,
273,
401,
1310,
18,
588,
2170,
1442,
7675,
588,
1227,
2297,
1435,
7734,
263,
588,
5507,
12,
1227,
2297,
18,
3500,
7937,
47,
67,
10276,
67,
15258,
1360,
67,
5998,
67,
26498,
67,
10857,
1769,
3639,
1250,
1743,
1225,
2300,
273,
401,
5902,
2555,
310,
20240,
55,
4369,
597,
4519,
18,
588,
2170,
1442,
7675,
588,
1227,
2297,
1435,
7734,
263,
588,
5507,
12,
1227,
2297,
18,
3373,
7698,
1584,
6043,
67,
8732,
67,
10276,
67,
19111,
55,
67,
21134,
1769,
3639,
509,
5795,
3401,
18079,
273,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1743,
8107,
12,
3420,
1042,
4519,
16,
3010,
2742,
7244,
1046,
16,
6076,
8485,
2742,
8485,
13,
288,
3639,
14192,
2040,
8107,
5795,
273,
261,
8026,
2040,
8107,
13,
2742,
8485,
18,
588,
3420,
1396,
12,
3829,
8485,
18,
9900,
67,
38,
7954,
16,
3331,
67,
38,
7954,
1769,
3639,
5563,
5795,
2957,
273,
5795,
18,
588,
2957,
5621,
3639,
22300,
5795,
382,
4424,
273,
5795,
18,
588,
8107,
382,
4424,
1435,
422,
446,
1171,
692,
394,
22300,
12,
20,
13,
294,
5795,
18,
588,
8107,
382,
4424,
5621,
3639,
4319,
1668,
273,
4519,
18,
588,
2081,
1079,
7675,
588,
2519,
5621,
3639,
514,
930,
548,
273,
4039,
1442,
18,
21336,
548,
12,
5668,
8485,
1769,
2
] |
throw new MojoExecutionException( "This project is a snapshot (" + project.getVersion() + "). It appears that the release version has not been committed." );
|
parent.setVersion( incrementedVersion );
|
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 ); } } }
|
51807 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51807/625596d32f1138e016cf983748dd893bd640133a/PrepareReleaseMojo.java/clean/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
] |
JComponent toolbar = ActionManager.getInstance().createActionToolbar(ActionPlaces.FILEHISTORY_VIEW_TOOLBAR, group, true).getComponent();
|
JComponent toolbar = ActionManager.getInstance().createActionToolbar(ActionPlaces.FILEHISTORY_VIEW_TOOLBAR, group, true).getComponent();
|
public void showActiveHint(Range range, final Editor editor, Point point) { DefaultActionGroup group = new DefaultActionGroup(); final AnAction globalShowNextAction = ActionManager.getInstance().getAction("VcsShowNextChangeMarker"); final AnAction globalShowPrevAction = ActionManager.getInstance().getAction("VcsShowPrevChangeMarker"); final ShowPrevChangeMarkerAction localShowPrevAction = new ShowPrevChangeMarkerAction(getPrevRange(range), this, editor); final ShowNextChangeMarkerAction localShowNextAction = new ShowNextChangeMarkerAction(getNextRange(range), this, editor); JComponent editorComponent = editor.getComponent(); localShowNextAction.registerCustomShortcutSet(localShowNextAction.getShortcutSet(), editorComponent); localShowPrevAction.registerCustomShortcutSet(localShowPrevAction.getShortcutSet(), editorComponent); group.add(localShowPrevAction); group.add(localShowNextAction); localShowNextAction.copyFrom(globalShowNextAction); localShowPrevAction.copyFrom(globalShowPrevAction); group.add(new LineStatusTracker.RollbackAction(this, range, editor)); group.add(new LineStatusTracker.ShowDiffAction(this, range, editor)); final List<AnAction> actionList = (List<AnAction>)editorComponent.getClientProperty(AnAction.ourClientProperty); actionList.remove(globalShowPrevAction); actionList.remove(globalShowNextAction); JComponent toolbar = ActionManager.getInstance().createActionToolbar(ActionPlaces.FILEHISTORY_VIEW_TOOLBAR, group, true).getComponent(); final Color background = ((EditorEx)editor).getBackroundColor(); final Color foreground = editor.getColorsScheme().getColor(EditorColors.CARET_COLOR); toolbar.setBackground(background); toolbar.setBorder(new SideBorder2(foreground, foreground, range.getType() != Range.INSERTED ? null : foreground, foreground, 1)); JPanel component = new JPanel(new BorderLayout()); component.setOpaque(false); JPanel toolbarPanel = new JPanel(new BorderLayout()); toolbarPanel.setOpaque(false); toolbarPanel.add(toolbar, BorderLayout.WEST); component.add(toolbarPanel, BorderLayout.NORTH); if (range.getType() != Range.INSERTED) { DocumentEx doc = (DocumentEx)myUpToDateDocument; EditorImpl uEditor = new EditorImpl(doc, true, myProject); EditorHighlighter highlighter = HighlighterFactory.createHighlighter(myProject, getFileName()); uEditor.setHighlighter(highlighter); EditorFragmentComponent editorFragmentComponent = EditorFragmentComponent.createEditorFragmentComponent(uEditor, range.getUOffset1(), range.getUOffset2(), false, false); component.add(editorFragmentComponent, BorderLayout.CENTER); } LightweightHint lightweightHint = new LightweightHint(component); lightweightHint.addHintListener(new HintListener() { public void hintHidden(EventObject event) { actionList.remove(localShowPrevAction); actionList.remove(localShowNextAction); actionList.add(globalShowPrevAction); actionList.add(globalShowNextAction); } }); HintManager.getInstance().showEditorHint(lightweightHint, editor, point, HintManager.HIDE_BY_ANY_KEY | HintManager.HIDE_BY_TEXT_CHANGE | HintManager.HIDE_BY_OTHER_HINT | HintManager.HIDE_BY_SCROLLING, -1, false); }
|
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/a7795a37f1c8eebeea615883fffc7b0f9c34be31/LineStatusTracker.java/clean/source/com/intellij/openapi/vcs/ex/LineStatusTracker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
2405,
3896,
7002,
12,
2655,
1048,
16,
727,
18451,
4858,
16,
4686,
1634,
13,
288,
565,
2989,
1803,
1114,
1041,
273,
394,
2989,
1803,
1114,
5621,
565,
727,
1922,
1803,
2552,
5706,
2134,
1803,
273,
4382,
1318,
18,
588,
1442,
7675,
588,
1803,
2932,
58,
2143,
5706,
2134,
3043,
7078,
8863,
565,
727,
1922,
1803,
2552,
5706,
9958,
1803,
273,
4382,
1318,
18,
588,
1442,
7675,
588,
1803,
2932,
58,
2143,
5706,
9958,
3043,
7078,
8863,
565,
727,
9674,
9958,
3043,
7078,
1803,
1191,
5706,
9958,
1803,
273,
394,
9674,
9958,
3043,
7078,
1803,
12,
588,
9958,
2655,
12,
3676,
3631,
333,
16,
4858,
1769,
565,
727,
9674,
2134,
3043,
7078,
1803,
1191,
5706,
2134,
1803,
273,
394,
9674,
2134,
3043,
7078,
1803,
12,
588,
2134,
2655,
12,
3676,
3631,
333,
16,
4858,
1769,
565,
29058,
4858,
1841,
273,
4858,
18,
588,
1841,
5621,
565,
1191,
5706,
2134,
1803,
18,
4861,
3802,
15576,
694,
12,
3729,
5706,
2134,
1803,
18,
588,
15576,
694,
9334,
4858,
1841,
1769,
565,
1191,
5706,
9958,
1803,
18,
4861,
3802,
15576,
694,
12,
3729,
5706,
9958,
1803,
18,
588,
15576,
694,
9334,
4858,
1841,
1769,
565,
1041,
18,
1289,
12,
3729,
5706,
9958,
1803,
1769,
565,
1041,
18,
1289,
12,
3729,
5706,
2134,
1803,
1769,
565,
1191,
5706,
2134,
1803,
18,
3530,
1265,
12,
6347,
5706,
2134,
1803,
1769,
565,
1191,
5706,
9958,
1803,
18,
3530,
1265,
12,
6347,
5706,
9958,
1803,
1769,
565,
1041,
18,
1289,
12,
2704,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
2405,
3896,
7002,
12,
2655,
1048,
16,
727,
18451,
4858,
16,
4686,
1634,
13,
288,
565,
2989,
1803,
1114,
1041,
273,
394,
2989,
1803,
1114,
5621,
565,
727,
1922,
1803,
2552,
5706,
2134,
1803,
273,
4382,
1318,
18,
588,
1442,
7675,
588,
1803,
2932,
58,
2143,
5706,
2134,
3043,
7078,
8863,
565,
727,
1922,
1803,
2552,
5706,
9958,
1803,
273,
4382,
1318,
18,
588,
1442,
7675,
588,
1803,
2932,
58,
2143,
5706,
9958,
3043,
7078,
8863,
565,
727,
9674,
9958,
3043,
7078,
1803,
1191,
5706,
9958,
1803,
273,
394,
9674,
9958,
3043,
7078,
1803,
12,
588,
9958,
2655,
12,
3676,
3631,
333,
16,
4858,
1769,
565,
727,
9674,
2134,
3043,
7078,
1803,
1191,
5706,
2134,
1803,
2
] |
public void parameterDeclarationList() throws RecognitionException { try { // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:303:17: ( ( parameterDeclaration ( COMMA parameterDeclaration )* )? ) // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:303:17: ( parameterDeclaration ( COMMA parameterDeclaration )* )? { // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:303:17: ( parameterDeclaration ( COMMA parameterDeclaration )* )? int alt33=2; int LA33_0 = input.LA(1); if ( LA33_0==IDENT||(LA33_0>=68 && LA33_0<=76)||LA33_0==82 ) { alt33=1; } else if ( LA33_0==RPAREN ) { alt33=2; } else { NoViableAltException nvae = new NoViableAltException("303:17: ( parameterDeclaration ( COMMA parameterDeclaration )* )?", 33, 0, input); throw nvae; } switch (alt33) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:303:19: parameterDeclaration ( COMMA parameterDeclaration )* { following.push(FOLLOW_parameterDeclaration_in_parameterDeclarationList1116); parameterDeclaration(); following.pop(); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:303:40: ( COMMA parameterDeclaration )* loop32: do { int alt32=2; int LA32_0 = input.LA(1); if ( LA32_0==COMMA ) { alt32=1; } switch (alt32) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:303:42: COMMA parameterDeclaration { match(input,COMMA,FOLLOW_COMMA_in_parameterDeclarationList1120); following.push(FOLLOW_parameterDeclaration_in_parameterDeclarationList1122); parameterDeclaration(); following.pop(); } break; default : break loop32; } } while (true); } break; } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } }
|
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/024138fd0e08f5f4cd91a30959fe962d30fec435/JavaParser.java/clean/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
6775,
6094,
682,
1435,
15069,
5650,
7909,
503,
95,
698,
95,
28111,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
6290,
19,
3341,
19,
12215,
19,
18756,
19,
6290,
19,
4288,
19,
6290,
18,
75,
30,
23,
4630,
30,
4033,
30,
12443,
6775,
6094,
12,
4208,
5535,
6775,
6094,
13,
12437,
8535,
28111,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
6290,
19,
3341,
19,
12215,
19,
18756,
19,
6290,
19,
4288,
19,
6290,
18,
75,
30,
23,
4630,
30,
4033,
30,
12,
6775,
6094,
12,
4208,
5535,
6775,
6094,
17653,
9945,
95,
28111,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
6290,
19,
3341,
19,
12215,
19,
18756,
19,
6290,
19,
4288,
19,
6290,
18,
75,
30,
23,
4630,
30,
4033,
30,
12,
6775,
6094,
12,
4208,
5535,
6775,
6094,
17653,
9945,
474,
2390,
3707,
33,
22,
31,
474,
2534,
3707,
67,
20,
33,
2630,
18,
2534,
12,
21,
1769,
430,
12,
2534,
3707,
67,
20,
631,
13355,
20081,
12,
2534,
3707,
67,
20,
34,
33,
9470,
10,
10,
2534,
3707,
67,
20,
32,
33,
6669,
14047,
96,
2534,
3707,
67,
20,
631,
11149,
15329,
2390,
3707,
33,
21,
31,
97,
12107,
430,
12,
2534,
3707,
67,
20,
631,
54,
15111,
15329,
2390,
3707,
33,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
6775,
6094,
682,
1435,
15069,
5650,
7909,
503,
95,
698,
95,
28111,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
6290,
19,
3341,
19,
12215,
19,
18756,
19,
6290,
19,
4288,
19,
6290,
18,
75,
30,
23,
4630,
30,
4033,
30,
12443,
6775,
6094,
12,
4208,
5535,
6775,
6094,
13,
12437,
8535,
28111,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
6290,
19,
3341,
19,
12215,
19,
18756,
19,
6290,
19,
4288,
19,
6290,
18,
75,
30,
23,
4630,
30,
4033,
30,
12,
6775,
6094,
12,
4208,
5535,
6775,
6094,
17653,
2
] |
||
cNode.setForceCull(useModel); cNode2.setForceCull(!useModel);
|
cNode.setCullMode(useModel ? Spatial.CULL_ALWAYS : Spatial.CULL_DYNAMIC); cNode2.setCullMode(!useModel ? Spatial.CULL_ALWAYS : Spatial.CULL_DYNAMIC);
|
protected void simpleUpdate() { if (System.currentTimeMillis() - lastPress > 100) { if (KeyBindingManager .getKeyBindingManager() .isValidCommand("detail_down")) { if (useModel) cNode2.setTargetRecord( (cNode2.getTargetRecord()) + 10); else cNode.setTargetRecord( (cNode.getTargetRecord()) + 25); lastPress = System.currentTimeMillis(); } if (KeyBindingManager .getKeyBindingManager() .isValidCommand("detail_up")) { if (useModel) cNode2.setTargetRecord( (cNode2.getTargetRecord()) - 10); else cNode.setTargetRecord( (cNode.getTargetRecord()) - 25); lastPress = System.currentTimeMillis(); } } if (KeyBindingManager .getKeyBindingManager() .isValidCommand("switch_models", false)) { useModel = !useModel; cNode.setForceCull(useModel); cNode2.setForceCull(!useModel); } }
|
19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/4b3ef3571d0832ec40dac8b87005b4342fee8477/TestClodMesh.java/buggy/src/jmetest/renderer/TestClodMesh.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
4143,
1891,
1435,
288,
565,
309,
261,
3163,
18,
2972,
28512,
1435,
300,
1142,
11840,
405,
2130,
13,
288,
1377,
309,
261,
653,
5250,
1318,
1850,
263,
588,
653,
5250,
1318,
1435,
1850,
263,
26810,
2189,
2932,
8992,
67,
2378,
6,
3719,
288,
3639,
309,
261,
1202,
1488,
13,
1850,
276,
907,
22,
18,
542,
2326,
2115,
12,
261,
71,
907,
22,
18,
588,
2326,
2115,
10756,
397,
1728,
1769,
3639,
469,
1850,
276,
907,
18,
542,
2326,
2115,
12,
261,
71,
907,
18,
588,
2326,
2115,
10756,
397,
6969,
1769,
3639,
1142,
11840,
273,
2332,
18,
2972,
28512,
5621,
1377,
289,
1377,
309,
261,
653,
5250,
1318,
1850,
263,
588,
653,
5250,
1318,
1435,
1850,
263,
26810,
2189,
2932,
8992,
67,
416,
6,
3719,
288,
3639,
309,
261,
1202,
1488,
13,
1850,
276,
907,
22,
18,
542,
2326,
2115,
12,
261,
71,
907,
22,
18,
588,
2326,
2115,
10756,
300,
1728,
1769,
3639,
469,
1850,
276,
907,
18,
542,
2326,
2115,
12,
261,
71,
907,
18,
588,
2326,
2115,
10756,
300,
6969,
1769,
3639,
1142,
11840,
273,
2332,
18,
2972,
28512,
5621,
1377,
289,
565,
289,
565,
309,
261,
653,
5250,
1318,
3639,
263,
588,
653,
5250,
1318,
1435,
3639,
263,
26810,
2189,
2932,
9610,
67,
7665,
3113,
629,
3719,
288,
1377,
999,
1488,
273,
401,
1202,
1488,
31,
1377,
276,
907,
18,
542,
10997,
39,
420,
12,
1202,
1488,
1769,
1377,
276,
907,
22,
18,
542,
10997,
39,
420,
12,
5,
1202,
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,
4143,
1891,
1435,
288,
565,
309,
261,
3163,
18,
2972,
28512,
1435,
300,
1142,
11840,
405,
2130,
13,
288,
1377,
309,
261,
653,
5250,
1318,
1850,
263,
588,
653,
5250,
1318,
1435,
1850,
263,
26810,
2189,
2932,
8992,
67,
2378,
6,
3719,
288,
3639,
309,
261,
1202,
1488,
13,
1850,
276,
907,
22,
18,
542,
2326,
2115,
12,
261,
71,
907,
22,
18,
588,
2326,
2115,
10756,
397,
1728,
1769,
3639,
469,
1850,
276,
907,
18,
542,
2326,
2115,
12,
261,
71,
907,
18,
588,
2326,
2115,
10756,
397,
6969,
1769,
3639,
1142,
11840,
273,
2332,
18,
2972,
28512,
5621,
1377,
289,
1377,
309,
261,
653,
5250,
1318,
1850,
263,
588,
653,
5250,
1318,
1435,
1850,
2
] |
Object[] errArgs = { name, clazz.getName() }; throw new PropertyException( Context.getMessage("msg.no.overload", errArgs));
|
throw PropertyException.withMessage2 ("msg.no.overload", name, clazz.getName());
|
public void defineFunctionProperties(String[] names, Class clazz, int attributes) throws PropertyException { for (int i=0; i < names.length; i++) { String name = names[i]; Method[] m = FunctionObject.findMethods(clazz, name); if (m == null) { Object[] errArgs = { name, clazz.getName() }; throw new PropertyException( Context.getMessage("msg.method.not.found", errArgs)); } if (m.length > 1) { Object[] errArgs = { name, clazz.getName() }; throw new PropertyException( Context.getMessage("msg.no.overload", errArgs)); } FunctionObject f = new FunctionObject(name, m[0], this); defineProperty(name, f, attributes); } }
|
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/e737c6d867e82d4ba7fd00e7e388c9c8da824ff0/ScriptableObject.java/buggy/js/rhino/src/org/mozilla/javascript/ScriptableObject.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4426,
2083,
2297,
12,
780,
8526,
1257,
16,
1659,
4003,
16,
29159,
509,
1677,
13,
3639,
1216,
4276,
503,
565,
288,
3639,
364,
261,
474,
277,
33,
20,
31,
277,
411,
1257,
18,
2469,
31,
277,
27245,
288,
5411,
514,
508,
273,
1257,
63,
77,
15533,
5411,
2985,
8526,
312,
273,
4284,
921,
18,
4720,
4712,
12,
830,
3638,
16,
508,
1769,
5411,
309,
261,
81,
422,
446,
13,
288,
7734,
1033,
8526,
393,
2615,
273,
288,
508,
16,
4003,
18,
17994,
1435,
289,
31,
7734,
604,
394,
4276,
503,
12,
10792,
1772,
18,
24906,
2932,
3576,
18,
2039,
18,
902,
18,
7015,
3113,
393,
2615,
10019,
5411,
289,
5411,
309,
261,
81,
18,
2469,
405,
404,
13,
288,
7734,
1033,
8526,
393,
2615,
273,
288,
508,
16,
4003,
18,
17994,
1435,
289,
31,
7734,
604,
394,
4276,
503,
12,
10792,
1772,
18,
24906,
2932,
3576,
18,
2135,
18,
1643,
945,
3113,
393,
2615,
10019,
5411,
289,
5411,
4284,
921,
284,
273,
394,
4284,
921,
12,
529,
16,
312,
63,
20,
6487,
333,
1769,
5411,
14007,
12,
529,
16,
284,
16,
1677,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4426,
2083,
2297,
12,
780,
8526,
1257,
16,
1659,
4003,
16,
29159,
509,
1677,
13,
3639,
1216,
4276,
503,
565,
288,
3639,
364,
261,
474,
277,
33,
20,
31,
277,
411,
1257,
18,
2469,
31,
277,
27245,
288,
5411,
514,
508,
273,
1257,
63,
77,
15533,
5411,
2985,
8526,
312,
273,
4284,
921,
18,
4720,
4712,
12,
830,
3638,
16,
508,
1769,
5411,
309,
261,
81,
422,
446,
13,
288,
7734,
1033,
8526,
393,
2615,
273,
288,
508,
16,
4003,
18,
17994,
1435,
289,
31,
7734,
604,
394,
4276,
503,
12,
10792,
1772,
18,
24906,
2932,
3576,
18,
2039,
18,
902,
18,
7015,
3113,
393,
2615,
10019,
5411,
289,
5411,
309,
261,
81,
18,
2469,
405,
2
] |
return _doctypePublic;
|
return _doctypePublic;
|
public String getDoctypePublic() { return _doctypePublic; }
|
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/af047e33ee4283cd437ffa6760ccff3d3d2bf9ea/OutputFormat.java/buggy/src/org/apache/xml/serialize/OutputFormat.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
11165,
12387,
4782,
1435,
565,
288,
202,
2463,
389,
2896,
12387,
4782,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
377,
1071,
514,
11165,
12387,
4782,
1435,
565,
288,
202,
2463,
389,
2896,
12387,
4782,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return RubyFloat.newFloat(ruby, cal.getTimeInMillis() / 1000.0);
|
return RubyFloat.newFloat(ruby, getTimeInMillis() / 1000.0);
|
public RubyFloat to_f() { return RubyFloat.newFloat(ruby, cal.getTimeInMillis() / 1000.0); }
|
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/1d7a03bf28c697f2c006eafab8faa91982894617/RubyTime.java/clean/org/jruby/RubyTime.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
4723,
358,
67,
74,
1435,
288,
3639,
327,
19817,
4723,
18,
2704,
4723,
12,
27768,
16,
6135,
16620,
1435,
342,
4336,
18,
20,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
4723,
358,
67,
74,
1435,
288,
3639,
327,
19817,
4723,
18,
2704,
4723,
12,
27768,
16,
6135,
16620,
1435,
342,
4336,
18,
20,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
SVNUpdateClient client = createSVNUpdateClient(); try { client.doRelocate(new File(path).getAbsoluteFile(), from, to, recurse); } catch (SVNException e) { throwException(e); }
|
public void relocate(String from, String to, String path, boolean recurse) throws ClientException { // TODO Auto-generated method stub }
|
2776 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2776/abe0d296df0a27ce680a7e50116d15861c0c9f04/SVNClient.java/clean/javasvn/src/org/tigris/subversion/javahl/SVNClient.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
29537,
50,
1891,
1227,
1004,
273,
752,
23927,
50,
1891,
1227,
5621,
775,
288,
1004,
18,
2896,
1971,
504,
340,
12,
2704,
1387,
12,
803,
2934,
588,
10368,
812,
9334,
628,
16,
358,
16,
11502,
1769,
289,
1044,
261,
23927,
50,
503,
425,
13,
288,
18084,
12,
73,
1769,
289,
29537,
50,
1891,
1227,
1004,
273,
752,
23927,
50,
1891,
1227,
5621,
775,
288,
1004,
18,
2896,
1971,
504,
340,
12,
2704,
1387,
12,
803,
2934,
588,
10368,
812,
9334,
628,
16,
358,
16,
11502,
1769,
289,
1044,
261,
23927,
50,
503,
425,
13,
288,
18084,
12,
73,
1769,
289,
1071,
918,
283,
25450,
12,
780,
628,
16,
514,
358,
16,
514,
589,
16,
1250,
11502,
13,
1216,
20881,
288,
23927,
50,
1891,
1227,
1004,
273,
752,
23927,
50,
1891,
1227,
5621,
775,
288,
1004,
18,
2896,
1971,
504,
340,
12,
2704,
1387,
12,
803,
2934,
588,
10368,
812,
9334,
628,
16,
358,
16,
11502,
1769,
289,
1044,
261,
23927,
50,
503,
425,
13,
288,
18084,
12,
73,
1769,
289,
29537,
50,
1891,
1227,
1004,
273,
752,
23927,
50,
1891,
1227,
5621,
775,
288,
1004,
18,
2896,
1971,
504,
340,
12,
2704,
1387,
12,
803,
2934,
588,
10368,
812,
9334,
628,
16,
358,
16,
11502,
1769,
289,
1044,
261,
23927,
50,
503,
425,
13,
288,
18084,
12,
73,
1769,
289,
29537,
50,
1891,
1227,
1004,
273,
752,
23927,
50,
1891,
1227,
5621,
775,
288,
1004,
18,
2896,
1971,
504,
340,
12,
2704,
1387,
12,
803,
2934,
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,
29537,
50,
1891,
1227,
1004,
273,
752,
23927,
50,
1891,
1227,
5621,
775,
288,
1004,
18,
2896,
1971,
504,
340,
12,
2704,
1387,
12,
803,
2934,
588,
10368,
812,
9334,
628,
16,
358,
16,
11502,
1769,
289,
1044,
261,
23927,
50,
503,
425,
13,
288,
18084,
12,
73,
1769,
289,
29537,
50,
1891,
1227,
1004,
273,
752,
23927,
50,
1891,
1227,
5621,
775,
288,
1004,
18,
2896,
1971,
504,
340,
12,
2704,
1387,
12,
803,
2934,
588,
10368,
812,
9334,
628,
16,
358,
16,
11502,
1769,
289,
1044,
261,
23927,
50,
503,
425,
13,
288,
18084,
12,
73,
1769,
289,
1071,
918,
283,
25450,
12,
780,
628,
16,
514,
358,
16,
514,
589,
16,
1250,
11502,
13,
1216,
20881,
2
] |
|
public void onSuccess(FetchResult result, ClientGetter state) { // TODO ensure it works if(!state.getURI().equals(revocationURI)){ System.out.println("Found "+availableVersion); Logger.normal(this, "Found a new version! (" + availableVersion + ", setting up a new UpdatedVersionAviableUserAlert"); alert.set(availableVersion,true); alert.isValid(true); synchronized(this){ this.cg = state; this.result = result; if(this.isAutoUpdateAllowed) scheduleUpdate(); } }else{ // The key has been blown ! // FIXME: maybe we need a bigger warning message. String msg = null; try { byte[] buf = result.asByteArray(); msg = new String(buf); } catch (Throwable t) { try { Logger.error(this, "Failed to extract result when key blown: "+t, t); System.err.println("Failed to extract result when key blown: "+t); t.printStackTrace(); msg = "Failed to extract result when key blown: "+t; } catch (Throwable t1) { msg = "Internal error after retreiving revocation key"; } } blow(msg); } }
|
50915 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50915/d296236f0c3888b3327dcc9ff86ef0475d1d33dd/NodeUpdater.java/buggy/src/freenet/node/updater/NodeUpdater.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6459,
265,
4510,
12,
5005,
1253,
2088,
16,
1227,
8461,
2019,
15329,
202,
202,
759,
6241,
15735,
305,
18597,
202,
202,
430,
12,
5,
2019,
18,
588,
3098,
7675,
14963,
12,
9083,
4431,
3098,
3719,
95,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
2043,
6,
15,
5699,
1444,
1769,
1082,
202,
3328,
18,
6130,
12,
2211,
10837,
2043,
304,
359,
1589,
5,
2932,
15,
5699,
1444,
15,
3113,
8920,
416,
304,
359,
7381,
1444,
37,
522,
429,
1299,
13298,
8863,
1082,
202,
11798,
18,
542,
12,
5699,
1444,
16,
3767,
1769,
1082,
202,
11798,
18,
26810,
12,
3767,
1769,
6862,
202,
22043,
12,
2211,
15329,
9506,
202,
2211,
18,
26275,
33,
2019,
31,
9506,
202,
2211,
18,
2088,
33,
2088,
31,
9506,
202,
430,
12,
2211,
18,
291,
4965,
1891,
5042,
13,
6862,
202,
10676,
1891,
5621,
1082,
202,
97,
202,
202,
97,
12107,
95,
1082,
202,
759,
1986,
856,
5332,
2196,
275,
70,
821,
82,
5,
1082,
202,
759,
25810,
30,
24877,
70,
359,
4009,
329,
378,
2318,
8551,
2150,
18,
1082,
202,
780,
3576,
33,
2011,
31,
1082,
202,
698,
95,
9506,
202,
7229,
8526,
4385,
33,
2088,
18,
345,
8826,
5621,
9506,
202,
3576,
33,
2704,
780,
12,
4385,
1769,
1082,
202,
97,
14683,
12,
8282,
378,
1810,
15329,
9506,
202,
698,
95,
6862,
202,
3328,
18,
1636,
12,
2211,
10837,
2925,
869,
8004,
2088,
13723,
856,
70,
821,
82,
2773,
15,
88,
16,
88,
1769,
6862,
202,
3163,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6459,
265,
4510,
12,
5005,
1253,
2088,
16,
1227,
8461,
2019,
15329,
202,
202,
759,
6241,
15735,
305,
18597,
202,
202,
430,
12,
5,
2019,
18,
588,
3098,
7675,
14963,
12,
9083,
4431,
3098,
3719,
95,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
2043,
6,
15,
5699,
1444,
1769,
1082,
202,
3328,
18,
6130,
12,
2211,
10837,
2043,
304,
359,
1589,
5,
2932,
15,
5699,
1444,
15,
3113,
8920,
416,
304,
359,
7381,
1444,
37,
522,
429,
1299,
13298,
8863,
1082,
202,
11798,
18,
542,
12,
5699,
1444,
16,
3767,
1769,
1082,
202,
11798,
18,
26810,
12,
3767,
1769,
6862,
202,
22043,
12,
2211,
15329,
9506,
202,
2211,
18,
26275,
33,
2019,
31,
9506,
202,
2
] |
||
DisplayEditor display_editor = new DisplayEditor(); display_editor.setContext(context);
|
SimDisplayEditor display_editor = new SimDisplayEditor();
|
public void actionPerformed(ActionEvent evt) { ControlPanel control = (ControlPanel)evt.getSource(); Object value = control.getModel().getElementAt(evt.getID()); String item = (String)value; if (item.equals("D e v i c e s")) { showDevicesPanel(); } else if (item.equals("D i s p l a y")) { CustomEditor editor = CustomEditorRegistry.findEditor("display_window"); editor.setContext(context); pushCurrentBack(editor.getPanel()); } else if (item.equals("S i m u l a t o r")) { DisplayEditor display_editor = new DisplayEditor(); display_editor.setContext(context); pushCurrentBack(display_editor); } else if (item.equals("C l u s t e r")) { JDialog dlg = new JDialog( (Frame)SwingUtilities.getAncestorOfClass(Frame.class, ControlPanelView.this), "Sim Device Editor", true); dlg.getContentPane().setLayout(new BorderLayout()); SimAnalogDeviceEditor editor = new SimAnalogDeviceEditor(context); List chunks = getConfigBroker().getElements(context); ConfigElement device = (ConfigElement)ConfigUtilities.getElementsWithName(chunks, "Analog Simulator").get(0); editor.setDevice(device); dlg.getContentPane().add(editor, BorderLayout.CENTER); dlg.pack(); dlg.setVisible(true); } }
|
49828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49828/562266849c8e27d3bda062d7067b73f0d9662a33/ControlPanelView.java/buggy/modules/vrjuggler/vrjconfig/org/vrjuggler/vrjconfig/ControlPanelView.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1850,
1071,
918,
26100,
12,
1803,
1133,
6324,
13,
540,
288,
5411,
8888,
5537,
3325,
273,
261,
3367,
5537,
13,
73,
11734,
18,
588,
1830,
5621,
5411,
1033,
460,
273,
3325,
18,
588,
1488,
7675,
21336,
861,
12,
73,
11734,
18,
588,
734,
10663,
5411,
514,
761,
273,
261,
780,
13,
1132,
31,
5411,
309,
261,
1726,
18,
14963,
2932,
40,
425,
331,
277,
276,
425,
272,
6,
3719,
5411,
288,
9079,
2405,
10053,
5537,
5621,
5411,
289,
5411,
469,
309,
261,
1726,
18,
14963,
2932,
40,
277,
272,
293,
328,
279,
677,
6,
3719,
5411,
288,
9079,
6082,
6946,
4858,
273,
6082,
6946,
4243,
18,
4720,
6946,
2932,
5417,
67,
5668,
8863,
9079,
4858,
18,
542,
1042,
12,
2472,
1769,
9079,
1817,
3935,
2711,
12,
9177,
18,
588,
5537,
10663,
5411,
289,
5411,
469,
309,
261,
1726,
18,
14963,
2932,
55,
277,
312,
582,
328,
279,
268,
320,
436,
6,
3719,
5411,
288,
9079,
9311,
6946,
2562,
67,
9177,
273,
394,
9311,
6946,
5621,
9079,
2562,
67,
9177,
18,
542,
1042,
12,
2472,
1769,
9079,
1817,
3935,
2711,
12,
5417,
67,
9177,
1769,
5411,
289,
5411,
469,
309,
261,
1726,
18,
14963,
2932,
39,
328,
582,
272,
268,
425,
436,
6,
3719,
5411,
288,
9079,
804,
6353,
25840,
273,
394,
804,
6353,
12,
5397,
261,
3219,
13,
6050,
310,
11864,
18,
588,
15637,
951,
797,
12,
3219,
18,
1106,
16,
8888,
5537,
1767,
18,
2211,
3631,
5397,
315,
7993,
6077,
18451,
3113,
5397,
638,
1769,
9079,
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,
1850,
1071,
918,
26100,
12,
1803,
1133,
6324,
13,
540,
288,
5411,
8888,
5537,
3325,
273,
261,
3367,
5537,
13,
73,
11734,
18,
588,
1830,
5621,
5411,
1033,
460,
273,
3325,
18,
588,
1488,
7675,
21336,
861,
12,
73,
11734,
18,
588,
734,
10663,
5411,
514,
761,
273,
261,
780,
13,
1132,
31,
5411,
309,
261,
1726,
18,
14963,
2932,
40,
425,
331,
277,
276,
425,
272,
6,
3719,
5411,
288,
9079,
2405,
10053,
5537,
5621,
5411,
289,
5411,
469,
309,
261,
1726,
18,
14963,
2932,
40,
277,
272,
293,
328,
279,
677,
6,
3719,
5411,
288,
9079,
6082,
6946,
4858,
273,
6082,
6946,
4243,
18,
4720,
6946,
2932,
5417,
67,
5668,
8863,
9079,
4858,
18,
542,
1042,
12,
2
] |
declarator.getNameStartOffset(), declarator.getNameEndOffset(), declarator.getConstructorExpression());
|
getStartingLine(), declarator.getNameStartOffset(), declarator.getNameEndOffset(), declarator.getNameLine(), declarator.getConstructorExpression());
|
private IASTVariable createVariableASTNode(Declarator declarator, boolean nested ) throws ASTSemanticException { try { return astFactory.createVariable( scope, nested ? declarator.getOwnedDeclarator().getName() : declarator.getName(), isAuto(), declarator.getInitializerClause(), declarator.getBitFieldExpression(), astFactory.createAbstractDeclaration( constt, volatil, getTypeSpecifier(), declarator.getPointerOperators(), declarator.getArrayModifiers(), null, null), mutable, extern, register, staticc, getStartingOffset(), declarator.getNameStartOffset(), declarator.getNameEndOffset(), declarator.getConstructorExpression()); } catch (ASTSemanticException e) { throw e; } catch (Exception e) { throw new ASTSemanticException(); } }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/a38f5c4f0dd1208b4df07f8a318b103677fbf77a/DeclarationWrapper.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/DeclarationWrapper.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
467,
9053,
3092,
752,
3092,
9053,
907,
12,
31419,
3496,
5880,
16,
1250,
4764,
262,
1216,
9183,
13185,
9941,
503,
565,
288,
3639,
775,
3639,
288,
5411,
327,
3364,
1733,
18,
2640,
3092,
12,
7734,
2146,
16,
2398,
202,
12985,
692,
3496,
5880,
18,
588,
5460,
329,
31419,
7675,
17994,
1435,
294,
3496,
5880,
18,
17994,
9334,
7734,
27079,
9334,
7734,
3496,
5880,
18,
588,
14729,
7044,
9334,
7734,
3496,
5880,
18,
588,
5775,
974,
2300,
9334,
7734,
3364,
1733,
18,
2640,
7469,
6094,
12,
10792,
1866,
88,
16,
10792,
6626,
270,
330,
16,
10792,
3130,
21416,
9334,
10792,
3496,
5880,
18,
588,
4926,
24473,
9334,
3496,
5880,
18,
588,
1076,
11948,
9334,
446,
16,
446,
3631,
7734,
16074,
16,
7734,
18885,
16,
7734,
1744,
16,
7734,
760,
71,
16,
7734,
8635,
310,
2335,
9334,
7734,
8635,
310,
1670,
9334,
3496,
5880,
18,
17994,
1685,
2335,
9334,
3496,
5880,
18,
17994,
1638,
2335,
9334,
3496,
5880,
18,
17994,
1670,
9334,
3496,
5880,
18,
588,
6293,
2300,
10663,
3639,
289,
3639,
1044,
261,
9053,
13185,
9941,
503,
425,
13,
3639,
288,
5411,
604,
425,
31,
3639,
289,
3639,
1044,
261,
503,
425,
13,
3639,
288,
5411,
604,
394,
9183,
13185,
9941,
503,
5621,
3639,
289,
565,
289,
540,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
467,
9053,
3092,
752,
3092,
9053,
907,
12,
31419,
3496,
5880,
16,
1250,
4764,
262,
1216,
9183,
13185,
9941,
503,
565,
288,
3639,
775,
3639,
288,
5411,
327,
3364,
1733,
18,
2640,
3092,
12,
7734,
2146,
16,
2398,
202,
12985,
692,
3496,
5880,
18,
588,
5460,
329,
31419,
7675,
17994,
1435,
294,
3496,
5880,
18,
17994,
9334,
7734,
27079,
9334,
7734,
3496,
5880,
18,
588,
14729,
7044,
9334,
7734,
3496,
5880,
18,
588,
5775,
974,
2300,
9334,
7734,
3364,
1733,
18,
2640,
7469,
6094,
12,
10792,
1866,
88,
16,
10792,
6626,
270,
330,
16,
10792,
3130,
21416,
9334,
10792,
3496,
5880,
18,
588,
4926,
24473,
9334,
3496,
5880,
18,
588,
1076,
11948,
9334,
446,
16,
446,
3631,
2
] |
public Renderer3D(Renderer3DModel r3dm) { this.r3dm = r3dm;
|
public Renderer3D() { logger = new org.openscience.cdk.tools.LoggingTool(this.getClass().getName()); r3dm = new Renderer3DModel();
|
public Renderer3D(Renderer3DModel r3dm) { this.r3dm = r3dm; }
|
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/5722015c3abb7619509c0ce87eee2db9ebb054f4/Renderer3D.java/buggy/org/openscience/cdk/renderer/Renderer3D.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
17589,
23,
40,
12,
6747,
23,
40,
1488,
436,
23,
10956,
13,
288,
3639,
333,
18,
86,
23,
10956,
273,
436,
23,
10956,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
17589,
23,
40,
12,
6747,
23,
40,
1488,
436,
23,
10956,
13,
288,
3639,
333,
18,
86,
23,
10956,
273,
436,
23,
10956,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
{
|
{ log.info("Running test Queue19"); runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); FillJob fillJob = createDefaultFillJob(queueName, numMessages); fillJob.setDeliveryMode(DeliveryMode.NON_PERSISTENT); fillJob.setMsgSize(standardMessageSize); fillJob.setMf(new BytesMessageMessageFactory()); runJob(fillJob); String selector = "JMSMessageID IS NOT NULL AND NonExistentProperty IS NULL"; BrowserJob job = createDefaultBrowserJob(queueName); job.setSelector(selector); JobTimings result = runJob(job); Execution execution = createExecution("Queue19"); execution.addMeasurement(new Measurement("timeTaken", result.getTestTime())); pm.saveExecution(execution); log.info("Test Queue19 finished");
|
public void testQueue19() { //TODO No-local perf test }
|
3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/96f752d06dba37742f7716ee54f31f1982df763e/PerfRunner.java/clean/tests/src/org/jboss/test/messaging/jms/perf/PerfRunner.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
3183,
3657,
1435,
282,
288,
613,
18,
1376,
2932,
7051,
1842,
7530,
3657,
8863,
282,
1086,
2278,
12,
2640,
1868,
26896,
2278,
12,
4000,
461,
10019,
22975,
416,
5683,
12,
4000,
461,
16,
4529,
1079,
1225,
16,
629,
16,
17390,
2309,
18,
3993,
67,
3194,
28175,
16,
3877,
18,
18909,
67,
3649,
27091,
6687,
7113,
1769,
282,
14192,
2278,
3636,
2278,
273,
27346,
8026,
2278,
12,
4000,
461,
16,
818,
5058,
1769,
3636,
2278,
18,
542,
8909,
2309,
12,
8909,
2309,
18,
3993,
67,
3194,
28175,
1769,
3636,
2278,
18,
542,
3332,
1225,
12,
10005,
1079,
1225,
1769,
3636,
2278,
18,
542,
49,
74,
12,
2704,
5985,
1079,
1079,
1733,
10663,
1086,
2278,
12,
5935,
2278,
1769,
282,
514,
3451,
273,
315,
46,
3537,
1079,
734,
4437,
4269,
3206,
4116,
3858,
4786,
319,
1396,
4437,
3206,
14432,
225,
15408,
2278,
1719,
225,
273,
27346,
9132,
2278,
12,
4000,
461,
1769,
1719,
18,
542,
4320,
12,
9663,
1769,
3956,
10178,
899,
563,
273,
1086,
2278,
12,
4688,
1769,
225,
8687,
4588,
273,
752,
3210,
2932,
3183,
3657,
8863,
225,
4588,
18,
1289,
17933,
12,
2704,
26589,
2932,
957,
27486,
3113,
563,
18,
588,
4709,
950,
1435,
10019,
7430,
18,
5688,
3210,
12,
16414,
1769,
225,
613,
18,
1376,
2932,
4709,
7530,
3657,
6708,
8863,
6647,
368,
6241,
2631,
17,
3729,
14184,
1842,
282,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
3183,
3657,
1435,
282,
288,
613,
18,
1376,
2932,
7051,
1842,
7530,
3657,
8863,
282,
1086,
2278,
12,
2640,
1868,
26896,
2278,
12,
4000,
461,
10019,
22975,
416,
5683,
12,
4000,
461,
16,
4529,
1079,
1225,
16,
629,
16,
17390,
2309,
18,
3993,
67,
3194,
28175,
16,
3877,
18,
18909,
67,
3649,
27091,
6687,
7113,
1769,
282,
14192,
2278,
3636,
2278,
273,
27346,
8026,
2278,
12,
4000,
461,
16,
818,
5058,
1769,
3636,
2278,
18,
542,
8909,
2309,
12,
8909,
2309,
18,
3993,
67,
3194,
28175,
1769,
3636,
2278,
18,
542,
3332,
1225,
12,
10005,
1079,
1225,
1769,
3636,
2278,
18,
542,
49,
74,
12,
2704,
5985,
1079,
1079,
1733,
10663,
1086,
2278,
12,
5935,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.