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
jj_la1[44] = jj_gen;
jj_la1[46] = jj_gen;
final public void FormalParameter() throws ParseException { /*@bgen(jjtree) FormalParameter */ ASTFormalParameter jjtn000 = new ASTFormalParameter(this, JJTFORMALPARAMETER); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { label_16: while (true) { switch (jj_nt.kind) { case FINAL: case AT: ; break; default: jj_la1[43] = jj_gen; break label_16; } switch (jj_nt.kind) { case FINAL: jj_consume_token(FINAL); jjtn000.setFinal(); break; case AT: Annotation(); break; default: jj_la1[44] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } Type(); switch (jj_nt.kind) { case ELLIPSIS: jj_consume_token(ELLIPSIS); checkForBadVariableArgumentsUsage(); break; default: jj_la1[45] = jj_gen; ; } VariableDeclaratorId(); } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte000;} } if (jjte000 instanceof ParseException) { {if (true) throw (ParseException)jjte000;} } {if (true) throw (Error)jjte000;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/3afd4630754ba5d6642f3e8a1c9aa5162eff7e9f/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 478, 1687, 1662, 1435, 1216, 10616, 288, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 478, 1687, 1662, 1195, 225, 9183, 13985, 10684, 5088, 3784, 273, 394, 9183, 13985, 12, 2211, 16, 804, 46, 56, 4983, 1013, 9819, 1769, 225, 1250, 10684, 5111, 3784, 273, 638, 31, 225, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 565, 775, 288, 1377, 1433, 67, 2313, 30, 1377, 1323, 261, 3767, 13, 288, 3639, 1620, 261, 78, 78, 67, 496, 18, 9224, 13, 288, 3639, 648, 17563, 1013, 30, 3639, 648, 14464, 30, 1850, 274, 1850, 898, 31, 3639, 805, 30, 1850, 10684, 67, 11821, 21, 63, 8942, 65, 273, 10684, 67, 4507, 31, 1850, 898, 1433, 67, 2313, 31, 3639, 289, 3639, 1620, 261, 78, 78, 67, 496, 18, 9224, 13, 288, 3639, 648, 17563, 1013, 30, 1850, 10684, 67, 21224, 67, 2316, 12, 7263, 1013, 1769, 2868, 10684, 5088, 3784, 18, 542, 7951, 5621, 1850, 898, 31, 3639, 648, 14464, 30, 1850, 6090, 5621, 1850, 898, 31, 3639, 805, 30, 1850, 10684, 67, 11821, 21, 63, 8749, 65, 273, 10684, 67, 4507, 31, 1850, 10684, 67, 21224, 67, 2316, 19236, 21, 1769, 1850, 604, 394, 10616, 5621, 3639, 289, 1377, 289, 1377, 1412, 5621, 1377, 1620, 261, 78, 78, 67, 496, 18, 9224, 13, 288, 1377, 648, 14801, 2053, 52, 15664, 30, 3639, 10684, 67, 21224, 67, 2316, 12, 2247, 2053, 52, 15664, 1769, 5411, 13855, 6434, 3092, 4628, 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, 478, 1687, 1662, 1435, 1216, 10616, 288, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 478, 1687, 1662, 1195, 225, 9183, 13985, 10684, 5088, 3784, 273, 394, 9183, 13985, 12, 2211, 16, 804, 46, 56, 4983, 1013, 9819, 1769, 225, 1250, 10684, 5111, 3784, 273, 638, 31, 225, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 565, 775, 288, 1377, 1433, 67, 2313, 30, 1377, 1323, 261, 3767, 13, 288, 3639, 1620, 261, 78, 78, 67, 496, 18, 9224, 13, 288, 3639, 648, 17563, 1013, 30, 3639, 648, 14464, 30, 1850, 274, 1850, 898, 31, 3639, 805, 30, 1850, 10684, 67, 11821, 21, 63, 8942, 65, 273, 10684, 67, 4507, 2 ]
if(failonerror)
if(failonerror) {
protected void removeDir(File d) { String[] list = d.list(); if (list == null) list = new String[0]; for (int i = 0; i < list.length; i++) { String s = list[i]; File f = new File(d, s); if (f.isDirectory()) { removeDir(f); } else { log("Deleting " + f.getAbsolutePath(), verbosity); if (!f.delete()) { String message="Unable to delete file " + f.getAbsolutePath(); if(failonerror) throw new BuildException(message); else log(message, quiet ? Project.MSG_VERBOSE : Project.MSG_WARN); } } } log("Deleting directory " + d.getAbsolutePath(), verbosity); if (!d.delete()) { String message="Unable to delete directory " + dir.getAbsolutePath(); if(failonerror) throw new BuildException(message); else log(message, quiet ? Project.MSG_VERBOSE : Project.MSG_WARN); } }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/e3b6d1fe768d87352d3d0348638911045fc4668e/Delete.java/buggy/src/main/org/apache/tools/ant/taskdefs/Delete.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1206, 1621, 12, 812, 302, 13, 288, 3639, 514, 8526, 666, 273, 302, 18, 1098, 5621, 3639, 309, 261, 1098, 422, 446, 13, 666, 273, 394, 514, 63, 20, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 666, 18, 2469, 31, 277, 27245, 288, 5411, 514, 272, 273, 666, 63, 77, 15533, 5411, 1387, 284, 273, 394, 1387, 12, 72, 16, 272, 1769, 5411, 309, 261, 74, 18, 291, 2853, 10756, 288, 7734, 1206, 1621, 12, 74, 1769, 5411, 289, 469, 288, 7734, 613, 2932, 20433, 315, 397, 284, 18, 588, 10368, 743, 9334, 11561, 1769, 7734, 309, 16051, 74, 18, 3733, 10756, 288, 10792, 514, 883, 1546, 3370, 358, 1430, 585, 315, 397, 284, 18, 588, 10368, 743, 5621, 10792, 309, 12, 6870, 265, 1636, 13, 288, 13491, 604, 394, 18463, 12, 2150, 1769, 10792, 469, 13491, 613, 12, 2150, 16, 18701, 10902, 692, 5420, 18, 11210, 67, 21900, 294, 5420, 18, 11210, 67, 27999, 1769, 7734, 289, 5411, 289, 3639, 289, 3639, 613, 2932, 20433, 1867, 315, 397, 302, 18, 588, 10368, 743, 9334, 11561, 1769, 3639, 309, 16051, 72, 18, 3733, 10756, 288, 5411, 514, 883, 1546, 3370, 358, 1430, 1867, 315, 397, 1577, 18, 588, 10368, 743, 5621, 5411, 309, 12, 6870, 265, 1636, 13, 288, 7734, 604, 394, 18463, 12, 2150, 1769, 5411, 469, 7734, 613, 12, 2150, 16, 10792, 10902, 692, 5420, 18, 11210, 67, 21900, 294, 5420, 18, 11210, 67, 27999, 1769, 3639, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1206, 1621, 12, 812, 302, 13, 288, 3639, 514, 8526, 666, 273, 302, 18, 1098, 5621, 3639, 309, 261, 1098, 422, 446, 13, 666, 273, 394, 514, 63, 20, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 666, 18, 2469, 31, 277, 27245, 288, 5411, 514, 272, 273, 666, 63, 77, 15533, 5411, 1387, 284, 273, 394, 1387, 12, 72, 16, 272, 1769, 5411, 309, 261, 74, 18, 291, 2853, 10756, 288, 7734, 1206, 1621, 12, 74, 1769, 5411, 289, 469, 288, 7734, 613, 2932, 20433, 315, 397, 284, 18, 588, 10368, 743, 9334, 11561, 1769, 7734, 309, 16051, 74, 18, 3733, 10756, 288, 10792, 514, 883, 1546, 3370, 358, 1430, 585, 315, 2 ]
customer, "ian@darwinsys.com", "OpenBSD", messageBody);
customer, "ian@darwinsys.com", subject, messageBody);
public void sendMails() { Iterator it = custList.iterator(); while (it.hasNext()) { String customer = (String)it.next(); try { Mailer.send("mailhost", customer, "ian@darwinsys.com", "OpenBSD", messageBody); System.out.println(customer + " HANDOFF OK"); } catch (MessagingException e) { System.out.println(customer + " barfed: " + e.toString()); } } }
9469 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9469/235186a078ce66d9108bc369cd038431ef020387/BatchMailer.java/clean/src/main/java/email/BatchMailer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1366, 6759, 87, 1435, 288, 202, 202, 3198, 518, 273, 276, 641, 682, 18, 9838, 5621, 202, 202, 17523, 261, 305, 18, 5332, 2134, 10756, 288, 1082, 202, 780, 6666, 273, 261, 780, 13, 305, 18, 4285, 5621, 1082, 202, 698, 288, 9506, 202, 23666, 18, 4661, 2932, 4408, 2564, 3113, 4405, 202, 10061, 16, 315, 2779, 36, 72, 297, 91, 2679, 1900, 18, 832, 3113, 315, 3678, 30780, 3113, 883, 2250, 1769, 9506, 202, 3163, 18, 659, 18, 8222, 12, 10061, 397, 315, 670, 1258, 3191, 2246, 7791, 8863, 1082, 202, 97, 1044, 261, 23389, 503, 425, 13, 288, 9506, 202, 3163, 18, 659, 18, 8222, 12, 10061, 397, 315, 4653, 31835, 30, 315, 397, 425, 18, 10492, 10663, 1082, 202, 97, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1366, 6759, 87, 1435, 288, 202, 202, 3198, 518, 273, 276, 641, 682, 18, 9838, 5621, 202, 202, 17523, 261, 305, 18, 5332, 2134, 10756, 288, 1082, 202, 780, 6666, 273, 261, 780, 13, 305, 18, 4285, 5621, 1082, 202, 698, 288, 9506, 202, 23666, 18, 4661, 2932, 4408, 2564, 3113, 4405, 202, 10061, 16, 315, 2779, 36, 72, 297, 91, 2679, 1900, 18, 832, 3113, 315, 3678, 30780, 3113, 883, 2250, 1769, 9506, 202, 3163, 18, 659, 18, 8222, 12, 10061, 397, 315, 670, 1258, 3191, 2246, 7791, 8863, 1082, 202, 97, 1044, 261, 23389, 503, 425, 13, 288, 9506, 202, 3163, 18, 659, 18, 8222, 12, 10061, 397, 315, 4653, 31835, 30, 315, 2 ]
{ Integer sqlType = (Integer)sqlTypeCache.get(new Integer(oid));
{ Integer sqlType = (Integer)sqlTypeCache.get(new Integer(oid));
public int getSQLType(int oid) throws SQLException { Integer sqlType = (Integer)sqlTypeCache.get(new Integer(oid)); // it's not in the cache, so perform a query, and add the result to the cache if (sqlType == null) { ResultSet result = (org.postgresql.ResultSet)ExecSQL("select typname from pg_type where oid = " + oid); if (result.getColumnCount() != 1 || result.getTupleCount() != 1) throw new PSQLException("postgresql.unexpected"); result.next(); String pgType = result.getString(1); Integer iOid = new Integer(oid); sqlType = new Integer(getSQLType(result.getString(1))); sqlTypeCache.put(iOid, sqlType); pgTypeCache.put(iOid, pgType); result.close(); } return sqlType.intValue(); }
47288 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47288/e25c93c7eb4a9a1a50b771cc33448b9d3519f403/Connection.java/clean/src/interfaces/jdbc/org/postgresql/Connection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 21708, 559, 12, 474, 7764, 13, 1216, 6483, 202, 95, 202, 202, 4522, 1847, 559, 273, 261, 4522, 13, 4669, 559, 1649, 18, 588, 12, 2704, 2144, 12, 839, 10019, 202, 202, 759, 518, 1807, 486, 316, 326, 1247, 16, 1427, 3073, 279, 843, 16, 471, 527, 326, 563, 358, 326, 1247, 202, 202, 430, 261, 4669, 559, 422, 446, 13, 202, 202, 95, 1082, 202, 13198, 563, 273, 261, 3341, 18, 2767, 24330, 18, 13198, 13, 1905, 3997, 2932, 4025, 3815, 529, 628, 7184, 67, 723, 1625, 7764, 273, 315, 397, 7764, 1769, 1082, 202, 430, 261, 2088, 18, 588, 1494, 1380, 1435, 480, 404, 747, 563, 18, 588, 9038, 1380, 1435, 480, 404, 13, 9506, 202, 12849, 394, 453, 23116, 2932, 2767, 24330, 18, 21248, 8863, 1082, 202, 2088, 18, 4285, 5621, 1082, 202, 780, 7184, 559, 273, 563, 18, 588, 780, 12, 21, 1769, 1082, 202, 4522, 277, 19105, 273, 394, 2144, 12, 839, 1769, 1082, 202, 4669, 559, 273, 394, 2144, 12, 588, 3997, 559, 12, 2088, 18, 588, 780, 12, 21, 3719, 1769, 1082, 202, 4669, 559, 1649, 18, 458, 12, 77, 19105, 16, 1847, 559, 1769, 1082, 202, 8365, 559, 1649, 18, 458, 12, 77, 19105, 16, 7184, 559, 1769, 1082, 202, 2088, 18, 4412, 5621, 202, 202, 97, 202, 202, 2463, 1847, 559, 18, 474, 620, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 21708, 559, 12, 474, 7764, 13, 1216, 6483, 202, 95, 202, 202, 4522, 1847, 559, 273, 261, 4522, 13, 4669, 559, 1649, 18, 588, 12, 2704, 2144, 12, 839, 10019, 202, 202, 759, 518, 1807, 486, 316, 326, 1247, 16, 1427, 3073, 279, 843, 16, 471, 527, 326, 563, 358, 326, 1247, 202, 202, 430, 261, 4669, 559, 422, 446, 13, 202, 202, 95, 1082, 202, 13198, 563, 273, 261, 3341, 18, 2767, 24330, 18, 13198, 13, 1905, 3997, 2932, 4025, 3815, 529, 628, 7184, 67, 723, 1625, 7764, 273, 315, 397, 7764, 1769, 1082, 202, 430, 261, 2088, 18, 588, 1494, 1380, 1435, 480, 404, 747, 563, 18, 588, 9038, 1380, 1435, 480, 404, 2 ]
results.append(" checked=\"true\"");
results.append(" checked=\"checked\"");
public int doStartTag() throws JspException { // Create an appropriate "input" element based on our parameters StringBuffer results = new StringBuffer("<input type=\"checkbox\""); results.append(" name=\""); results.append(this.property); results.append("\""); if (accesskey != null) { results.append(" accesskey=\""); results.append(accesskey); results.append("\""); } if (tabindex != null) { results.append(" tabindex=\""); results.append(tabindex); results.append("\""); } results.append(" value=\""); if (value == null) results.append("on"); else results.append(value); results.append("\""); Object result = RequestUtils.lookup(pageContext, name, property, null); if (result == null) result = ""; if (!(result instanceof String)) result = result.toString(); String checked = (String) result; if (checked.equalsIgnoreCase("true") || checked.equalsIgnoreCase("yes") || checked.equalsIgnoreCase("on")) results.append(" checked=\"true\""); results.append(prepareEventHandlers()); results.append(prepareStyles()); results.append(">"); // Print this field to our output writer ResponseUtils.write(pageContext, results.toString()); // Continue processing this page this.text = null; return (EVAL_BODY_TAG); }
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/a7f8f9b496877b9652c91fba0d452f3c56b07358/CheckboxTag.java/clean/src/share/org/apache/struts/taglib/html/CheckboxTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 741, 30512, 1435, 1216, 27485, 288, 202, 759, 1788, 392, 5505, 315, 2630, 6, 930, 2511, 603, 3134, 1472, 202, 780, 1892, 1686, 273, 394, 6674, 2932, 32, 2630, 618, 5189, 12017, 8530, 1769, 202, 4717, 18, 6923, 2932, 508, 5189, 8863, 202, 4717, 18, 6923, 12, 2211, 18, 4468, 1769, 202, 4717, 18, 6923, 2932, 8530, 1769, 202, 430, 261, 3860, 856, 480, 446, 13, 288, 202, 565, 1686, 18, 6923, 2932, 2006, 856, 5189, 8863, 202, 565, 1686, 18, 6923, 12, 3860, 856, 1769, 202, 565, 1686, 18, 6923, 2932, 8530, 1769, 202, 97, 202, 430, 261, 7032, 1615, 480, 446, 13, 288, 202, 565, 1686, 18, 6923, 2932, 3246, 1615, 5189, 8863, 202, 565, 1686, 18, 6923, 12, 7032, 1615, 1769, 202, 565, 1686, 18, 6923, 2932, 8530, 1769, 202, 97, 3639, 1686, 18, 6923, 2932, 460, 5189, 8863, 3639, 309, 261, 1132, 422, 446, 13, 5411, 1686, 18, 6923, 2932, 265, 8863, 3639, 469, 5411, 1686, 18, 6923, 12, 1132, 1769, 3639, 1686, 18, 6923, 2932, 8530, 1769, 3639, 1033, 563, 273, 1567, 1989, 18, 8664, 12, 2433, 1042, 16, 508, 16, 4766, 5411, 1272, 16, 446, 1769, 3639, 309, 261, 2088, 422, 446, 13, 5411, 563, 273, 1408, 31, 3639, 309, 16051, 12, 2088, 1276, 514, 3719, 5411, 563, 273, 563, 18, 10492, 5621, 3639, 514, 5950, 273, 261, 780, 13, 563, 31, 202, 430, 261, 4532, 18, 14963, 5556, 2932, 3767, 7923, 5411, 747, 5950, 18, 14963, 5556, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 741, 30512, 1435, 1216, 27485, 288, 202, 759, 1788, 392, 5505, 315, 2630, 6, 930, 2511, 603, 3134, 1472, 202, 780, 1892, 1686, 273, 394, 6674, 2932, 32, 2630, 618, 5189, 12017, 8530, 1769, 202, 4717, 18, 6923, 2932, 508, 5189, 8863, 202, 4717, 18, 6923, 12, 2211, 18, 4468, 1769, 202, 4717, 18, 6923, 2932, 8530, 1769, 202, 430, 261, 3860, 856, 480, 446, 13, 288, 202, 565, 1686, 18, 6923, 2932, 2006, 856, 5189, 8863, 202, 565, 1686, 18, 6923, 12, 3860, 856, 1769, 202, 565, 1686, 18, 6923, 2932, 8530, 1769, 202, 97, 202, 430, 261, 7032, 1615, 480, 446, 13, 288, 202, 565, 1686, 18, 6923, 2932, 3246, 1615, 5189, 8863, 202, 2 ]
DocumentSet out_docs = getExpression(0).preselect(in_docs);
DocumentSet out_docs = getExpression(0).preselect(in_docs, context);
public DocumentSet preselect(DocumentSet in_docs) throws XPathException { if (getLength() == 0) return in_docs; DocumentSet out_docs = getExpression(0).preselect(in_docs); for (int i = 1; i < getLength(); i++) out_docs = out_docs.intersection(getExpression(i).preselect(out_docs)); return out_docs; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/bfcf33dba9c98234a0edaa282c8909b27b6a6ac4/OpAnd.java/buggy/src/org/exist/xpath/OpAnd.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4319, 694, 4075, 13759, 12, 2519, 694, 316, 67, 8532, 13, 1216, 10172, 503, 288, 202, 202, 430, 261, 588, 1782, 1435, 422, 374, 13, 1082, 202, 2463, 316, 67, 8532, 31, 202, 202, 2519, 694, 596, 67, 8532, 273, 16183, 12, 20, 2934, 12202, 13759, 12, 267, 67, 8532, 1769, 202, 202, 1884, 261, 474, 277, 273, 404, 31, 277, 411, 9888, 5621, 277, 27245, 1082, 202, 659, 67, 8532, 273, 596, 67, 8532, 18, 30231, 12, 588, 2300, 12, 77, 2934, 12202, 13759, 12, 659, 67, 8532, 10019, 202, 202, 2463, 596, 67, 8532, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4319, 694, 4075, 13759, 12, 2519, 694, 316, 67, 8532, 13, 1216, 10172, 503, 288, 202, 202, 430, 261, 588, 1782, 1435, 422, 374, 13, 1082, 202, 2463, 316, 67, 8532, 31, 202, 202, 2519, 694, 596, 67, 8532, 273, 16183, 12, 20, 2934, 12202, 13759, 12, 267, 67, 8532, 1769, 202, 202, 1884, 261, 474, 277, 273, 404, 31, 277, 411, 9888, 5621, 277, 27245, 1082, 202, 659, 67, 8532, 273, 596, 67, 8532, 18, 30231, 12, 588, 2300, 12, 77, 2934, 12202, 13759, 12, 659, 67, 8532, 10019, 202, 202, 2463, 596, 67, 8532, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
super("Group by Packages", null, IconLoader.getIcon("/general/smallConfigurableVcs.png"));
super("Group by Packages", null, Icons.GROUP_BY_PACKAGES);
public MyGroupByPackagesAction() { super("Group by Packages", null, IconLoader.getIcon("/general/smallConfigurableVcs.png")); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/1993fea826590feeda4a427f6fa53a2d386fd979/UpdateInfoTree.java/buggy/source/com/intellij/openapi/vcs/update/UpdateInfoTree.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8005, 26257, 11425, 1803, 1435, 288, 1377, 2240, 2932, 1114, 635, 7930, 1023, 3113, 446, 16, 467, 8559, 18, 8468, 67, 6486, 67, 19077, 55, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8005, 26257, 11425, 1803, 1435, 288, 1377, 2240, 2932, 1114, 635, 7930, 1023, 3113, 446, 16, 467, 8559, 18, 8468, 67, 6486, 67, 19077, 55, 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 ]
System.out.println("We recommend you move your old <filename>-<portnumber> files to <filename>, otherwise the node won't use them!");
public static void main(String[] args) throws IOException { if(args.length>1) { System.out.println("Usage: $ java freenet.node.Node <configFile>"); System.out.println("We recommend you move your old <filename>-<portnumber> files to <filename>, otherwise the node won't use them!"); return; } File configFilename; if(args.length == 0) { System.out.println("Using default config filename freenet.ini"); configFilename = new File("freenet.ini"); } else configFilename = new File(args[0]); FilePersistentConfig cfg = new FilePersistentConfig(configFilename); // First, set up logging. It is global, and may be shared between several nodes. SubConfig loggingConfig = new SubConfig("logger", cfg); try { logConfigHandler = new LoggingConfigHandler(loggingConfig); } catch (InvalidConfigValueException e) { System.err.println("Error: could not set up logging: "+e.getMessage()); e.printStackTrace(); return; } // Setup RNG RandomSource random = new Yarrow(); DiffieHellman.init(random); Thread t = new Thread(new MemoryChecker(), "Memory checker"); t.setPriority(Thread.MAX_PRIORITY); t.start(); /* SimpleToadletServer server = new SimpleToadletServer(port+2000); FproxyToadlet fproxy = new FproxyToadlet(n.makeClient(RequestStarter.INTERACTIVE_PRIORITY_CLASS)); PproxyToadlet pproxy = new PproxyToadlet(n.makeClient(RequestStarter.INTERACTIVE_PRIORITY_CLASS), n.pluginManager); server.register(fproxy, "/", false); server.register(pproxy, "/plugins/", true); System.out.println("Starting fproxy on port "+(port+2000)); new FCPServer(port+3000, n); System.out.println("Starting FCP server on port "+(port+3000)); SNMPAgent.setSNMPPort(port+4000); System.out.println("Starting SNMP server on port "+(port+4000)); SNMPStarter.initialize(); //server.register(fproxy, "/SSK@", false); //server.register(fproxy, "/KSK@", false); */ Node node; try { node = new Node(cfg, random); node.start(false); } catch (NodeInitException e) { System.err.println("Failed to load node: "+e.getMessage()); e.printStackTrace(); System.exit(e.exitCode); } }
46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/dcaa5bd222ef3a65ace770cee5fb953ee6d36f8d/Node.java/buggy/src/freenet/node/Node.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1860, 288, 377, 202, 430, 12, 1968, 18, 2469, 34, 21, 13, 288, 377, 202, 202, 3163, 18, 659, 18, 8222, 2932, 5357, 30, 271, 2252, 284, 2842, 278, 18, 2159, 18, 907, 411, 1425, 812, 2984, 1769, 377, 1082, 565, 202, 202, 2463, 31, 377, 202, 97, 377, 202, 377, 202, 812, 642, 5359, 31, 377, 202, 430, 12, 1968, 18, 2469, 422, 374, 13, 288, 377, 202, 202, 3163, 18, 659, 18, 8222, 2932, 7736, 805, 642, 1544, 284, 2842, 278, 18, 8767, 8863, 377, 202, 202, 1425, 5359, 273, 394, 1387, 2932, 74, 2842, 278, 18, 8767, 8863, 377, 202, 97, 469, 377, 202, 202, 1425, 5359, 273, 394, 1387, 12, 1968, 63, 20, 19226, 377, 202, 377, 202, 812, 11906, 809, 2776, 273, 394, 1387, 11906, 809, 12, 1425, 5359, 1769, 377, 202, 377, 202, 759, 5783, 16, 444, 731, 2907, 18, 2597, 353, 2552, 16, 471, 2026, 506, 5116, 3086, 11392, 2199, 18, 377, 202, 377, 202, 1676, 809, 2907, 809, 273, 394, 2592, 809, 2932, 4901, 3113, 2776, 1769, 377, 202, 377, 202, 698, 288, 1082, 202, 1330, 809, 1503, 273, 394, 10253, 809, 1503, 12, 11167, 809, 1769, 202, 202, 97, 1044, 261, 1941, 809, 9738, 425, 13, 288, 1082, 202, 3163, 18, 370, 18, 8222, 2932, 668, 30, 3377, 486, 444, 731, 2907, 30, 13773, 73, 18, 24906, 10663, 1082, 202, 73, 18, 1188, 6332, 5621, 1082, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1860, 288, 377, 202, 430, 12, 1968, 18, 2469, 34, 21, 13, 288, 377, 202, 202, 3163, 18, 659, 18, 8222, 2932, 5357, 30, 271, 2252, 284, 2842, 278, 18, 2159, 18, 907, 411, 1425, 812, 2984, 1769, 377, 1082, 565, 202, 202, 2463, 31, 377, 202, 97, 377, 202, 377, 202, 812, 642, 5359, 31, 377, 202, 430, 12, 1968, 18, 2469, 422, 374, 13, 288, 377, 202, 202, 3163, 18, 659, 18, 8222, 2932, 7736, 805, 642, 1544, 284, 2842, 278, 18, 8767, 8863, 377, 202, 202, 1425, 5359, 273, 394, 1387, 2932, 74, 2842, 278, 18, 8767, 8863, 377, 202, 97, 469, 377, 202, 202, 2 ]
super( value, name );
super( value, name, literal );
private DateFormatType( int value, String name ) { super( value, name ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/036e8c78765730b146e5854b9d6c397a296fed86/DateFormatType.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/DateFormatType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 18371, 559, 12, 509, 460, 16, 514, 508, 262, 202, 95, 202, 202, 9565, 12, 460, 16, 508, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 18371, 559, 12, 509, 460, 16, 514, 508, 262, 202, 95, 202, 202, 9565, 12, 460, 16, 508, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
aboutItemActionPerformed(evt);
mediumPriorityButtonActionPerformed(evt);
public void actionPerformed(java.awt.event.ActionEvent evt) { aboutItemActionPerformed(evt); }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/b7b4e4fb9f856b650413cac6c569db73fe6addca/FindBugsFrame.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 26100, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 6324, 13, 288, 7734, 16212, 8183, 3616, 19449, 12, 73, 11734, 1769, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2398, 1071, 918, 26100, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 6324, 13, 288, 7734, 16212, 8183, 3616, 19449, 12, 73, 11734, 1769, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
loc = tickRect.y;
loc = tickRect.y + 0.5;
public void paintTicks(Graphics g) { int max = slider.getMaximum(); int min = slider.getMinimum(); int majorSpace = slider.getMajorTickSpacing(); int minorSpace = slider.getMinorTickSpacing(); if (majorSpace > 0) { if (slider.getOrientation() == JSlider.HORIZONTAL) { double loc = tickRect.x; double increment = (max == min) ? 0 : majorSpace * (double) tickRect.width / (max - min); if (drawInverted()) { loc += tickRect.width; increment *= -1; } for (int i = min; i <= max; i += majorSpace) { paintMajorTickForHorizSlider(g, tickRect, (int) loc); loc += increment; } } else { double loc = tickRect.height + tickRect.y; double increment = (max == min) ? 0 : -majorSpace * (double) tickRect.height / (max - min); if (drawInverted()) { loc = tickRect.y; increment *= -1; } for (int i = min; i <= max; i += majorSpace) { paintMajorTickForVertSlider(g, tickRect, (int) loc); loc += increment; } } } if (minorSpace > 0) { if (slider.getOrientation() == JSlider.HORIZONTAL) { double loc = tickRect.x; double increment = (max == min) ? 0 : minorSpace * (double) tickRect.width / (max - min); if (drawInverted()) { loc += tickRect.width; increment *= -1; } for (int i = min; i <= max; i += minorSpace) { paintMinorTickForHorizSlider(g, tickRect, (int) loc); loc += increment; } } else { double loc = tickRect.height + tickRect.y; double increment = (max == min) ? 0 : -minorSpace * (double) tickRect.height / (max - min); if (drawInverted()) { loc = tickRect.y; increment *= -1; } for (int i = min; i <= max; i += minorSpace) { paintMinorTickForVertSlider(g, tickRect, (int) loc); loc += increment; } } } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c4eda97e6e5feb8e7650d83d5066d85580f1249c/BasicSliderUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicSliderUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 12574, 16610, 12, 17558, 314, 13, 225, 288, 565, 509, 943, 273, 18442, 18, 588, 13528, 5621, 565, 509, 1131, 273, 18442, 18, 588, 13042, 5621, 565, 509, 7888, 3819, 273, 18442, 18, 588, 17581, 6264, 18006, 5621, 565, 509, 8439, 3819, 273, 18442, 18, 588, 19549, 6264, 18006, 5621, 565, 309, 261, 14019, 3819, 405, 374, 13, 1377, 288, 202, 430, 261, 28372, 18, 588, 14097, 1435, 422, 804, 21824, 18, 44, 20344, 13, 202, 225, 288, 202, 565, 1645, 1515, 273, 4024, 6120, 18, 92, 31, 202, 565, 1645, 5504, 273, 261, 1896, 422, 1131, 13, 692, 374, 202, 4766, 294, 7888, 3819, 380, 261, 9056, 13, 4024, 6120, 18, 2819, 342, 261, 1896, 202, 4766, 300, 1131, 1769, 202, 565, 309, 261, 9446, 382, 25631, 10756, 202, 1377, 288, 202, 202, 1829, 1011, 4024, 6120, 18, 2819, 31, 202, 202, 15016, 6413, 300, 21, 31, 202, 1377, 289, 202, 565, 364, 261, 474, 277, 273, 1131, 31, 277, 1648, 943, 31, 277, 1011, 7888, 3819, 13, 202, 1377, 288, 202, 202, 84, 1598, 17581, 6264, 1290, 44, 5331, 21824, 12, 75, 16, 4024, 6120, 16, 261, 474, 13, 1515, 1769, 202, 202, 1829, 1011, 5504, 31, 202, 1377, 289, 202, 225, 289, 202, 12107, 202, 225, 288, 202, 565, 1645, 1515, 273, 4024, 6120, 18, 4210, 397, 4024, 6120, 18, 93, 31, 202, 565, 1645, 5504, 273, 261, 1896, 422, 1131, 13, 692, 374, 202, 4766, 294, 300, 14019, 3819, 380, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 12574, 16610, 12, 17558, 314, 13, 225, 288, 565, 509, 943, 273, 18442, 18, 588, 13528, 5621, 565, 509, 1131, 273, 18442, 18, 588, 13042, 5621, 565, 509, 7888, 3819, 273, 18442, 18, 588, 17581, 6264, 18006, 5621, 565, 509, 8439, 3819, 273, 18442, 18, 588, 19549, 6264, 18006, 5621, 565, 309, 261, 14019, 3819, 405, 374, 13, 1377, 288, 202, 430, 261, 28372, 18, 588, 14097, 1435, 422, 804, 21824, 18, 44, 20344, 13, 202, 225, 288, 202, 565, 1645, 1515, 273, 4024, 6120, 18, 92, 31, 202, 565, 1645, 5504, 273, 261, 1896, 422, 1131, 13, 692, 374, 202, 4766, 294, 7888, 3819, 380, 261, 9056, 13, 4024, 6120, 18, 2819, 342, 261, 1896, 2 ]
setResult(parser.isValidEditString(new EObjectAdapter(element), (String) value)); }
setResult(parser.isValidEditString(new EObjectAdapter(element), (String) value)); }
public void run() { setResult(parser.isValidEditString(new EObjectAdapter(element), (String) value)); }
56962 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56962/816096641504ba96db7bef449fe01a4b67ff0d37/OutputPinName2EditPart.java/clean/plugins/org.eclipse.uml2.diagram.activity/src/org/eclipse/uml2/diagram/activity/edit/parts/OutputPinName2EditPart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 17322, 202, 482, 918, 1086, 1435, 288, 6862, 25083, 202, 542, 1253, 12, 4288, 18, 26810, 4666, 780, 12, 2704, 8091, 4216, 12, 2956, 3631, 261, 780, 13, 460, 10019, 6862, 6862, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 17322, 202, 482, 918, 1086, 1435, 288, 6862, 25083, 202, 542, 1253, 12, 4288, 18, 26810, 4666, 780, 12, 2704, 8091, 4216, 12, 2956, 3631, 261, 780, 13, 460, 10019, 6862, 6862, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
new MSCursorResultSet(this, sql, spName, params, resultSetType, resultSetConcurrency);
new MSCursorResultSet(this, sql, spName, params, resultSetType, resultSetConcurrency);
protected ResultSet executeSQLQuery(String sql, String spName, ParamInfo[] params, boolean readAhead) throws SQLException { closeCurrentResultSet(); updateCount = -1; genKeyResultSet = null; // // Try to open a cursor result set if required // if (resultSetType != ResultSet.TYPE_FORWARD_ONLY || resultSetConcurrency != ResultSet.CONCUR_READ_ONLY) { try { if (connection.getServerType() == Driver.SQLSERVER) { JtdsResultSet rs = new MSCursorResultSet(this, sql, spName, params, resultSetType, resultSetConcurrency); currentResult = rs; return rs; } else { // Sybase cursor logic goes here (one day). } } catch (SQLException e) { if (connection == null || connection.isClosed()) { // Serious error so return exception to caller throw e; } } } // // Could not open a Cursor so try a direct select // tds.executeSQL(sql, spName, params, false, queryTimeout, maxRows); while (!tds.getMoreResults() && !tds.isEndOfResponse()); if (tds.isResultSet()) { JtdsResultSet rs = new JtdsResultSet(this, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY, tds.getColumns(), readAhead); currentResult = rs; } else { throw new SQLException( Messages.get("error.statement.noresult"), "24000"); } return currentResult; }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/f18464865cbac496cd34ae72689b9db6c38ac640/JtdsStatement.java/clean/src/main/net/sourceforge/jtds/jdbc/JtdsStatement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 10842, 1836, 3997, 1138, 12, 780, 1847, 16, 4766, 3639, 514, 1694, 461, 16, 4766, 3639, 3014, 966, 8526, 859, 16, 4766, 3639, 1250, 855, 24250, 13, 3639, 1216, 6483, 288, 3639, 1746, 3935, 13198, 5621, 3639, 1089, 1380, 273, 300, 21, 31, 3639, 3157, 653, 13198, 273, 446, 31, 3639, 368, 3639, 368, 6161, 358, 1696, 279, 3347, 563, 444, 309, 1931, 3639, 368, 3639, 309, 261, 2088, 25181, 480, 10842, 18, 2399, 67, 7473, 21343, 67, 10857, 5411, 747, 12168, 18273, 480, 10842, 18, 2248, 7509, 67, 6949, 67, 10857, 13, 288, 5411, 775, 288, 7734, 309, 261, 4071, 18, 588, 2081, 559, 1435, 422, 9396, 18, 3997, 4370, 13, 288, 10792, 804, 88, 2377, 13198, 3597, 273, 13491, 394, 490, 2312, 295, 2467, 13198, 12, 2211, 16, 4766, 2868, 1847, 16, 4766, 2868, 1694, 461, 16, 4766, 2868, 859, 16, 4766, 2868, 12168, 559, 16, 4766, 2868, 12168, 18273, 1769, 10792, 783, 1253, 273, 3597, 31, 10792, 327, 3597, 31, 7734, 289, 469, 288, 10792, 368, 16455, 1969, 3347, 4058, 13998, 2674, 261, 476, 2548, 2934, 7734, 289, 2398, 289, 1044, 261, 23116, 425, 13, 288, 1171, 309, 261, 4071, 422, 446, 747, 1459, 18, 291, 7395, 10756, 288, 5397, 368, 1275, 22774, 555, 1427, 327, 1520, 358, 4894, 5397, 604, 425, 31, 1171, 289, 2398, 289, 3639, 289, 3639, 368, 3639, 368, 14312, 486, 1696, 279, 13949, 1427, 775, 279, 2657, 2027, 3639, 368, 3639, 268, 2377, 18, 8837, 3997, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 10842, 1836, 3997, 1138, 12, 780, 1847, 16, 4766, 3639, 514, 1694, 461, 16, 4766, 3639, 3014, 966, 8526, 859, 16, 4766, 3639, 1250, 855, 24250, 13, 3639, 1216, 6483, 288, 3639, 1746, 3935, 13198, 5621, 3639, 1089, 1380, 273, 300, 21, 31, 3639, 3157, 653, 13198, 273, 446, 31, 3639, 368, 3639, 368, 6161, 358, 1696, 279, 3347, 563, 444, 309, 1931, 3639, 368, 3639, 309, 261, 2088, 25181, 480, 10842, 18, 2399, 67, 7473, 21343, 67, 10857, 5411, 747, 12168, 18273, 480, 10842, 18, 2248, 7509, 67, 6949, 67, 10857, 13, 288, 5411, 775, 288, 7734, 309, 261, 4071, 18, 588, 2081, 559, 1435, 422, 9396, 18, 3997, 4370, 13, 288, 10792, 804, 88, 2377, 2 ]
((ExtendFileSelector)dynselector).setParameters(paramArray);
((ExtendFileSelector) dynselector).setParameters(paramArray);
public boolean isSelected(File basedir, String filename, File file) throws BuildException { validate(); if (paramVec.size() > 0 && dynselector instanceof ExtendFileSelector) { Parameter[] paramArray = new Parameter[paramVec.size()]; paramVec.copyInto(paramArray); // We know that dynselector must be non-null if no error message ((ExtendFileSelector)dynselector).setParameters(paramArray); } return dynselector.isSelected(basedir,filename,file); }
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/f83f5c68c975f31a384cc24e94be4e5ebfa2da4d/ExtendSelector.java/clean/src/main/org/apache/tools/ant/types/selectors/ExtendSelector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 20956, 12, 812, 15573, 16, 514, 1544, 16, 1387, 585, 13, 5411, 1216, 18463, 288, 3639, 1954, 5621, 3639, 309, 261, 891, 12991, 18, 1467, 1435, 405, 374, 597, 19417, 9663, 1276, 27686, 812, 4320, 13, 288, 5411, 5498, 8526, 579, 1076, 273, 394, 5498, 63, 891, 12991, 18, 1467, 1435, 15533, 5411, 579, 12991, 18, 3530, 5952, 12, 891, 1076, 1769, 5411, 368, 1660, 5055, 716, 19417, 9663, 1297, 506, 1661, 17, 2011, 309, 1158, 555, 883, 5411, 14015, 16675, 812, 4320, 13, 19417, 9663, 2934, 542, 2402, 12, 891, 1076, 1769, 3639, 289, 3639, 327, 19417, 9663, 18, 291, 7416, 12, 31722, 16, 3459, 16, 768, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 20956, 12, 812, 15573, 16, 514, 1544, 16, 1387, 585, 13, 5411, 1216, 18463, 288, 3639, 1954, 5621, 3639, 309, 261, 891, 12991, 18, 1467, 1435, 405, 374, 597, 19417, 9663, 1276, 27686, 812, 4320, 13, 288, 5411, 5498, 8526, 579, 1076, 273, 394, 5498, 63, 891, 12991, 18, 1467, 1435, 15533, 5411, 579, 12991, 18, 3530, 5952, 12, 891, 1076, 1769, 5411, 368, 1660, 5055, 716, 19417, 9663, 1297, 506, 1661, 17, 2011, 309, 1158, 555, 883, 5411, 14015, 16675, 812, 4320, 13, 19417, 9663, 2934, 542, 2402, 12, 891, 1076, 1769, 3639, 289, 3639, 327, 19417, 9663, 18, 291, 7416, 12, 31722, 16, 3459, 16, 768, 1769, 565, 289, 2, -100, -100, -100, -100, -100 ]
if (path.segmentCount() == 1 && !binIncl.contains(libraryName))
if (path.segmentCount() == 1 && !binIncl.contains(libraryName))
protected void addAllJarsToBinIncludes(IBuildEntry binIncl, IProject project, IBuildModel model) { try { IResource[] members = project.members(); for (int i = 0; i < members.length; i++) { if (!(members[i] instanceof IFolder) && members[i].getFileExtension().equals("jar")) { //$NON-NLS-1$ binIncl.addToken(members[i].getName()); } } IBuildEntry[] libraries = BuildUtil.getBuildLibraries(model .getBuild().getBuildEntries()); if (libraries.length != 0) { for (int j = 0; j < libraries.length; j++) { String libraryName = libraries[j].getName().substring(7); IPath path = project.getFile(libraryName).getProjectRelativePath(); if (path.segmentCount() == 1 && !binIncl.contains(libraryName)) binIncl.addToken(libraryName); } } binIncl.removeToken("*.jar"); //$NON-NLS-1$ } catch (CoreException e) { PDEPlugin.logException(e); } }
8783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8783/8ef0d6ed33a0ada7aa654f23bd5c2b63fd6d7fd6/RuntimeInfoSection.java/clean/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/build/RuntimeInfoSection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 5428, 46, 5913, 774, 9913, 16815, 12, 45, 3116, 1622, 4158, 382, 830, 16, 1082, 202, 45, 4109, 1984, 16, 467, 3116, 1488, 938, 13, 288, 202, 202, 698, 288, 1082, 202, 45, 1420, 8526, 4833, 273, 1984, 18, 7640, 5621, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 4833, 18, 2469, 31, 277, 27245, 288, 9506, 202, 430, 16051, 12, 7640, 63, 77, 65, 1276, 467, 3899, 13, 25083, 202, 10, 10, 4833, 63, 77, 8009, 29925, 3625, 7675, 14963, 2932, 11930, 6, 3719, 288, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 4757, 382, 830, 18, 1289, 1345, 12, 7640, 63, 77, 8009, 17994, 10663, 9506, 202, 97, 1082, 202, 97, 25083, 202, 45, 3116, 1622, 8526, 14732, 273, 3998, 1304, 18, 588, 3116, 31909, 12, 2284, 6862, 202, 18, 588, 3116, 7675, 588, 3116, 5400, 10663, 1082, 202, 430, 261, 31417, 18, 2469, 480, 374, 13, 288, 9506, 202, 1884, 261, 474, 525, 273, 374, 31, 525, 411, 14732, 18, 2469, 31, 525, 27245, 288, 6862, 202, 780, 5313, 461, 273, 14732, 63, 78, 8009, 17994, 7675, 28023, 12, 27, 1769, 6862, 202, 45, 743, 589, 273, 1984, 18, 29925, 12, 12083, 461, 2934, 588, 4109, 16519, 5621, 6862, 202, 430, 261, 803, 18, 9273, 1380, 1435, 422, 404, 6862, 1082, 202, 10, 10, 401, 4757, 382, 830, 18, 12298, 12, 12083, 461, 3719, 25083, 202, 4757, 382, 830, 18, 1289, 1345, 12, 12083, 461, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 5428, 46, 5913, 774, 9913, 16815, 12, 45, 3116, 1622, 4158, 382, 830, 16, 1082, 202, 45, 4109, 1984, 16, 467, 3116, 1488, 938, 13, 288, 202, 202, 698, 288, 1082, 202, 45, 1420, 8526, 4833, 273, 1984, 18, 7640, 5621, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 4833, 18, 2469, 31, 277, 27245, 288, 9506, 202, 430, 16051, 12, 7640, 63, 77, 65, 1276, 467, 3899, 13, 25083, 202, 10, 10, 4833, 63, 77, 8009, 29925, 3625, 7675, 14963, 2932, 11930, 6, 3719, 288, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 4757, 382, 830, 18, 1289, 1345, 12, 7640, 63, 77, 8009, 17994, 10663, 9506, 202, 97, 1082, 2 ]
"mapred.child.heap.size instead. Meantime, interpolated " + "child.heap.size into child.java.opt: " + javaOpts);
"mapred.child.java.opt instead. Meantime, mapred.child.heap.size " + "is interpolated into mapred.child.java.opt: " + javaOpts);
private String handleDeprecatedHeapSize(String javaOpts, final String heapSize) { if (heapSize == null || heapSize.length() <= 0) { return javaOpts; } final String MX = "-Xmx"; int index = javaOpts.indexOf(MX); if (index < 0) { javaOpts = javaOpts + " " + MX + heapSize; } else { int end = javaOpts.indexOf(" ", index + MX.length()); javaOpts = javaOpts.substring(0, index + MX.length()) + heapSize + ((end < 0)? "": javaOpts.substring(end)); } LOG.warning("mapred.child.heap.size is deprecated. Use " + "mapred.child.heap.size instead. Meantime, interpolated " + "child.heap.size into child.java.opt: " + javaOpts); return javaOpts; }
50370 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50370/6b2aeb579b1af69afcbca129775ca37668003182/TaskRunner.java/buggy/src/java/org/apache/hadoop/mapred/TaskRunner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 514, 1640, 13534, 15648, 1225, 12, 780, 2252, 5476, 16, 1850, 727, 514, 10500, 1225, 13, 288, 565, 309, 261, 25506, 1225, 422, 446, 747, 10500, 1225, 18, 2469, 1435, 1648, 374, 13, 288, 3639, 327, 2252, 5476, 31, 565, 289, 565, 727, 514, 26929, 273, 3701, 60, 11023, 14432, 565, 509, 770, 273, 2252, 5476, 18, 31806, 12, 13874, 1769, 565, 309, 261, 1615, 411, 374, 13, 288, 3639, 2252, 5476, 273, 2252, 5476, 397, 315, 315, 397, 26929, 397, 10500, 1225, 31, 565, 289, 469, 288, 3639, 509, 679, 273, 2252, 5476, 18, 31806, 2932, 3104, 770, 397, 26929, 18, 2469, 10663, 3639, 2252, 5476, 273, 2252, 5476, 18, 28023, 12, 20, 16, 770, 397, 26929, 18, 2469, 10756, 397, 5411, 10500, 1225, 397, 14015, 409, 411, 374, 9945, 1408, 30, 2252, 5476, 18, 28023, 12, 409, 10019, 565, 289, 565, 2018, 18, 8551, 2932, 1458, 1118, 18, 3624, 18, 25506, 18, 1467, 353, 6849, 18, 2672, 315, 397, 3639, 315, 1458, 1118, 18, 3624, 18, 25506, 18, 1467, 3560, 18, 21979, 957, 16, 24985, 315, 397, 3639, 315, 3624, 18, 25506, 18, 1467, 1368, 1151, 18, 6290, 18, 3838, 30, 315, 397, 2252, 5476, 1769, 565, 327, 2252, 5476, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 514, 1640, 13534, 15648, 1225, 12, 780, 2252, 5476, 16, 1850, 727, 514, 10500, 1225, 13, 288, 565, 309, 261, 25506, 1225, 422, 446, 747, 10500, 1225, 18, 2469, 1435, 1648, 374, 13, 288, 3639, 327, 2252, 5476, 31, 565, 289, 565, 727, 514, 26929, 273, 3701, 60, 11023, 14432, 565, 509, 770, 273, 2252, 5476, 18, 31806, 12, 13874, 1769, 565, 309, 261, 1615, 411, 374, 13, 288, 3639, 2252, 5476, 273, 2252, 5476, 397, 315, 315, 397, 26929, 397, 10500, 1225, 31, 565, 289, 469, 288, 3639, 509, 679, 273, 2252, 5476, 18, 31806, 2932, 3104, 770, 397, 26929, 18, 2469, 10663, 3639, 2252, 5476, 273, 2252, 5476, 18, 28023, 12, 20, 16, 770, 397, 2 ]
SearchFor searchFor = getSearchForFromNode(node); ICSearchPattern pattern = SearchEngine.createSearchPattern( selNode.selText,searchFor,ICSearchConstants.DECLARATIONS,true); try { searchEngine.search(CUIPlugin.getWorkspace(), pattern, scope, resultCollector, true); } catch (InterruptedException e) { } elementsFound.addAll(resultCollector.getSearchResults());
public void run(IProgressMonitor monitor) { BasicSearchResultCollector resultCollector = new BasicSearchResultCollector(monitor); IWorkingCopyManager fManager = CUIPlugin.getDefault().getWorkingCopyManager(); ITranslationUnit unit = fManager.getWorkingCopy(fEditor.getEditorInput()); //TODO: Change to Project Scope ICElement[] projectScopeElement = new ICElement[1]; projectScopeElement[0] = unit.getCProject();//(ICElement)currentScope.getCProject(); ICSearchScope scope = SearchEngine.createCSearchScope(projectScopeElement, true); IFile resourceFile = fEditor.getInputFile(); IParser parser = setupParser(resourceFile); IASTNode node = null; try{ int selectionStart = selNode.selStart; int selectionEnd = selNode.selEnd; node = parser.parse(selectionStart,selectionEnd); } catch (ParseError er){} catch ( VirtualMachineError vmErr){ if (vmErr instanceof OutOfMemoryError){ org.eclipse.cdt.internal.core.model.Util.log(null, "Open Declarations Out Of Memory error: " + vmErr.getMessage() + " on File: " + resourceFile.getName(), ICLogConstants.CDT); //$NON-NLS-1$ //$NON-NLS-2$ } } catch (Exception ex){} finally{ if (node == null){ return; } SearchFor searchFor = getSearchForFromNode(node); ICSearchPattern pattern = SearchEngine.createSearchPattern( selNode.selText,searchFor,ICSearchConstants.DECLARATIONS,true); try { searchEngine.search(CUIPlugin.getWorkspace(), pattern, scope, resultCollector, true); } catch (InterruptedException e) { } elementsFound.addAll(resultCollector.getSearchResults()); } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/7a2c6de5fb3f720d4ccf6d80c100a157056f2b77/OpenDeclarationsAction.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/search/actions/OpenDeclarationsAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 9506, 202, 8252, 24916, 7134, 225, 563, 7134, 273, 225, 394, 7651, 24916, 7134, 12, 10259, 1769, 1082, 3196, 202, 45, 14836, 2951, 1318, 284, 1318, 273, 385, 5370, 3773, 18, 588, 1868, 7675, 588, 14836, 2951, 1318, 5621, 1082, 3196, 202, 45, 6717, 2802, 2836, 273, 284, 1318, 18, 588, 14836, 2951, 12, 74, 6946, 18, 588, 6946, 1210, 10663, 1082, 3196, 202, 759, 6241, 30, 7576, 358, 5420, 5468, 9506, 202, 2871, 1046, 8526, 1984, 3876, 1046, 273, 394, 26899, 1046, 63, 21, 15533, 9506, 202, 4406, 3876, 1046, 63, 20, 65, 273, 2836, 18, 588, 39, 4109, 5621, 759, 12, 2871, 1046, 13, 2972, 3876, 18, 588, 39, 4109, 5621, 9506, 202, 2871, 2979, 3876, 2146, 273, 5167, 4410, 18, 2640, 39, 2979, 3876, 12, 4406, 3876, 1046, 16, 638, 1769, 6862, 1082, 202, 45, 812, 1058, 812, 273, 284, 6946, 18, 588, 1210, 812, 5621, 9506, 202, 45, 2678, 2082, 273, 3875, 2678, 12, 3146, 812, 1769, 6862, 9506, 202, 45, 9053, 907, 756, 273, 446, 31, 6862, 9506, 202, 698, 95, 202, 1875, 3196, 202, 474, 4421, 1685, 273, 357, 907, 18, 1786, 1685, 31, 202, 1875, 3196, 202, 474, 4421, 1638, 273, 357, 907, 18, 1786, 1638, 31, 6862, 202, 2159, 273, 2082, 18, 2670, 12, 10705, 1685, 16, 10705, 1638, 1769, 9506, 202, 97, 4697, 202, 14683, 261, 21004, 6445, 13, 2916, 9506, 202, 14683, 261, 18452, 668, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 9506, 202, 8252, 24916, 7134, 225, 563, 7134, 273, 225, 394, 7651, 24916, 7134, 12, 10259, 1769, 1082, 3196, 202, 45, 14836, 2951, 1318, 284, 1318, 273, 385, 5370, 3773, 18, 588, 1868, 7675, 588, 14836, 2951, 1318, 5621, 1082, 3196, 202, 45, 6717, 2802, 2836, 273, 284, 1318, 18, 588, 14836, 2951, 12, 74, 6946, 18, 588, 6946, 1210, 10663, 1082, 3196, 202, 759, 6241, 30, 7576, 358, 5420, 5468, 9506, 202, 2871, 1046, 8526, 1984, 3876, 1046, 273, 394, 26899, 1046, 63, 21, 15533, 9506, 202, 4406, 3876, 1046, 63, 20, 65, 273, 2836, 18, 588, 39, 4109, 5621, 759, 12, 2871, 1046, 13, 2972, 2 ]
TestTextureState.class.getClassLoader().getResource("jmetest/data/images/Monkey.jpg"),
TestTextureState.class.getClassLoader().getResource("jmetest/data/model/marble.bmp"),
protected void initGame() { Vector3f[] verts = new Vector3f[3]; ColorRGBA[] color = new ColorRGBA[3]; Vector2f[] tex = new Vector2f[3]; verts[0] = new Vector3f(); verts[0].x = -50; verts[0].y = 0; verts[0].z = 0; verts[1] = new Vector3f(); verts[1].x = -50; verts[1].y = 25; verts[1].z = 25; verts[2] = new Vector3f(); verts[2].x = -50; verts[2].y = 25; verts[2].z = 0; tex[0] = new Vector2f(); tex[0].x = 1; tex[0].y = 0; tex[1] = new Vector2f(); tex[1].x = 1; tex[1].y = 1; tex[2] = new Vector2f(); tex[2].x = 0; tex[2].y = 1; color[0] = new ColorRGBA(); color[0].r = 1; color[0].g = 0; color[0].b = 0; color[0].a = 1; color[1] = new ColorRGBA(); color[1].r = 0; color[1].g = 1; color[1].b = 0; color[1].a = 1; color[2] = new ColorRGBA(); color[2].r = 0; color[2].g = 0; color[2].b = 1; color[2].a = 1; int[] indices = { 0, 1, 2 }; t = new TriMesh("Triangle", verts, null, color, tex, indices); t.setModelBound(new BoundingSphere()); t.updateModelBound(); Vector3f[] verts2 = new Vector3f[3]; ColorRGBA[] color2 = new ColorRGBA[3]; verts2[0] = new Vector3f(); verts2[0].x = -40; verts2[0].y = 10; verts2[0].z = 0; verts2[1] = new Vector3f(); verts2[1].x = -40; verts2[1].y = 35; verts2[1].z = 15; verts2[2] = new Vector3f(); verts2[2].x = -10; verts2[2].y = 35; verts2[2].z = -10; color2[0] = new ColorRGBA(); color2[0].r = 1; color2[0].g = 0; color2[0].b = 0; color2[0].a = 1; color2[1] = new ColorRGBA(); color2[1].r = 0; color2[1].g = 1; color2[1].b = 0; color2[1].a = 1; color2[2] = new ColorRGBA(); color2[2].r = 0; color2[2].g = 0; color2[2].b = 1; color2[2].a = 1; int[] indices2 = { 0, 1, 2 }; t2 = new TriMesh("Triangle 2", verts2, null, color2, tex, indices2); t2.setModelBound(new BoundingSphere()); t2.updateModelBound(); System.out.println(t.getModelBound()); cam.update(); scene = new Node("Scene Node"); scene.attachChild(t); scene.attachChild(t2); scene.setLocalTranslation(new Vector3f(0, -25, 0)); TextureState ts = display.getRenderer().getTextureState(); ts.setEnabled(true); ts.setTexture( TextureManager.loadTexture( TestTextureState.class.getClassLoader().getResource("jmetest/data/images/Monkey.jpg"), Texture.MM_LINEAR, Texture.FM_LINEAR, true)); t2.setRenderState(ts); cam.update(); scene.updateGeometricState(0.0f, true); }
19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/d34ad38a04f226f79e9314b91900031570c9cc0a/TestTextureState.java/buggy/src/jmetest/renderer/state/TestTextureState.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1208, 12496, 1435, 288, 3639, 5589, 23, 74, 8526, 19853, 273, 394, 5589, 23, 74, 63, 23, 15533, 3639, 5563, 23263, 8526, 2036, 273, 394, 5563, 23263, 63, 23, 15533, 3639, 5589, 22, 74, 8526, 16573, 273, 394, 5589, 22, 74, 63, 23, 15533, 3639, 19853, 63, 20, 65, 273, 394, 5589, 23, 74, 5621, 3639, 19853, 63, 20, 8009, 92, 273, 300, 3361, 31, 3639, 19853, 63, 20, 8009, 93, 273, 374, 31, 3639, 19853, 63, 20, 8009, 94, 273, 374, 31, 3639, 19853, 63, 21, 65, 273, 394, 5589, 23, 74, 5621, 3639, 19853, 63, 21, 8009, 92, 273, 300, 3361, 31, 3639, 19853, 63, 21, 8009, 93, 273, 6969, 31, 3639, 19853, 63, 21, 8009, 94, 273, 6969, 31, 3639, 19853, 63, 22, 65, 273, 394, 5589, 23, 74, 5621, 3639, 19853, 63, 22, 8009, 92, 273, 300, 3361, 31, 3639, 19853, 63, 22, 8009, 93, 273, 6969, 31, 3639, 19853, 63, 22, 8009, 94, 273, 374, 31, 3639, 16573, 63, 20, 65, 273, 394, 5589, 22, 74, 5621, 3639, 16573, 63, 20, 8009, 92, 273, 404, 31, 3639, 16573, 63, 20, 8009, 93, 273, 374, 31, 3639, 16573, 63, 21, 65, 273, 394, 5589, 22, 74, 5621, 3639, 16573, 63, 21, 8009, 92, 273, 404, 31, 3639, 16573, 63, 21, 8009, 93, 273, 404, 31, 3639, 16573, 63, 22, 65, 273, 394, 5589, 22, 74, 5621, 3639, 16573, 63, 22, 8009, 92, 273, 374, 31, 3639, 16573, 63, 22, 8009, 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, 1208, 12496, 1435, 288, 3639, 5589, 23, 74, 8526, 19853, 273, 394, 5589, 23, 74, 63, 23, 15533, 3639, 5563, 23263, 8526, 2036, 273, 394, 5563, 23263, 63, 23, 15533, 3639, 5589, 22, 74, 8526, 16573, 273, 394, 5589, 22, 74, 63, 23, 15533, 3639, 19853, 63, 20, 65, 273, 394, 5589, 23, 74, 5621, 3639, 19853, 63, 20, 8009, 92, 273, 300, 3361, 31, 3639, 19853, 63, 20, 8009, 93, 273, 374, 31, 3639, 19853, 63, 20, 8009, 94, 273, 374, 31, 3639, 19853, 63, 21, 65, 273, 394, 5589, 23, 74, 5621, 3639, 19853, 63, 21, 8009, 92, 273, 300, 3361, 31, 3639, 19853, 63, 21, 8009, 93, 273, 6969, 31, 3639, 19853, 63, 2 ]
new NoViableAltException("910:1: word returns [String word] : (id= ID | \'import\' | \'use\' | \'rule\' | \'query\' | \'salience\' | \'no-loop\' | \'when\' | \'then\' | \'end\' | str= STRING );", 61, 0, input);
new NoViableAltException("920:1: word returns [String word] : (id= ID | \'import\' | \'use\' | \'rule\' | \'query\' | \'salience\' | \'no-loop\' | \'when\' | \'then\' | \'end\' | str= STRING );", 61, 0, input);
public String word() throws RecognitionException { String word; Token id=null; Token str=null; word = null; try { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:914:17: (id= ID | 'import' | 'use' | 'rule' | 'query' | 'salience' | 'no-loop' | 'when' | 'then' | 'end' | str= STRING ) int alt61=11; switch ( input.LA(1) ) { case ID: alt61=1; break; case 17: alt61=2; break; case 57: alt61=3; break; case 28: alt61=4; break; case 26: alt61=5; break; case 33: alt61=6; break; case 34: alt61=7; break; case 29: alt61=8; break; case 31: alt61=9; break; case 27: alt61=10; break; case STRING: alt61=11; break; default: NoViableAltException nvae = new NoViableAltException("910:1: word returns [String word] : (id= ID | \'import\' | \'use\' | \'rule\' | \'query\' | \'salience\' | \'no-loop\' | \'when\' | \'then\' | \'end\' | str= STRING );", 61, 0, input); throw nvae; } switch (alt61) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:914:17: id= ID { id=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_word2643); word=id.getText(); } break; case 2 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:915:17: 'import' { match(input,17,FOLLOW_17_in_word2655); word="import"; } break; case 3 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:916:17: 'use' { match(input,57,FOLLOW_57_in_word2664); word="use"; } break; case 4 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:917:17: 'rule' { match(input,28,FOLLOW_28_in_word2676); word="rule"; } break; case 5 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:918:17: 'query' { match(input,26,FOLLOW_26_in_word2687); word="query"; } break; case 6 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:919:17: 'salience' { match(input,33,FOLLOW_33_in_word2697); word="salience"; } break; case 7 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:920:17: 'no-loop' { match(input,34,FOLLOW_34_in_word2705); word="no-loop"; } break; case 8 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:921:17: 'when' { match(input,29,FOLLOW_29_in_word2713); word="when"; } break; case 9 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:922:17: 'then' { match(input,31,FOLLOW_31_in_word2724); word="then"; } break; case 10 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:923:17: 'end' { match(input,27,FOLLOW_27_in_word2735); word="end"; } break; case 11 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:924:17: str= STRING { str=(Token)input.LT(1); match(input,STRING,FOLLOW_STRING_in_word2749); word=getString(str); } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return word; }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/ca87e40b5754cd366785b207f8cd109258275f53/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2076, 1435, 1216, 9539, 288, 6647, 514, 2076, 31, 3639, 3155, 612, 33, 2011, 31, 3639, 3155, 609, 33, 2011, 31, 540, 202, 202, 1095, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 29, 3461, 30, 4033, 30, 261, 350, 33, 1599, 571, 296, 5666, 11, 571, 296, 1202, 11, 571, 296, 5345, 11, 571, 296, 2271, 11, 571, 296, 21982, 6254, 11, 571, 296, 2135, 17, 6498, 11, 571, 296, 13723, 11, 571, 296, 15991, 11, 571, 296, 409, 11, 571, 609, 33, 9469, 262, 5411, 509, 3770, 9498, 33, 2499, 31, 5411, 1620, 261, 810, 18, 2534, 12, 21, 13, 262, 288, 5411, 648, 1599, 30, 7734, 3770, 9498, 33, 21, 31, 7734, 898, 31, 5411, 648, 8043, 30, 7734, 3770, 9498, 33, 22, 31, 7734, 898, 31, 5411, 648, 15981, 30, 7734, 3770, 9498, 33, 23, 31, 7734, 898, 31, 5411, 648, 9131, 30, 7734, 3770, 9498, 33, 24, 31, 7734, 898, 31, 5411, 648, 10659, 30, 7734, 3770, 9498, 33, 25, 31, 7734, 898, 31, 5411, 648, 13159, 30, 7734, 3770, 9498, 33, 26, 31, 7734, 898, 31, 5411, 648, 13438, 30, 7734, 3770, 9498, 33, 27, 31, 7734, 898, 31, 5411, 648, 12899, 30, 7734, 3770, 9498, 33, 28, 31, 7734, 898, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2076, 1435, 1216, 9539, 288, 6647, 514, 2076, 31, 3639, 3155, 612, 33, 2011, 31, 3639, 3155, 609, 33, 2011, 31, 540, 202, 202, 1095, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 29, 3461, 30, 4033, 30, 261, 350, 33, 1599, 571, 296, 5666, 11, 571, 296, 1202, 11, 571, 296, 5345, 11, 571, 296, 2271, 11, 571, 296, 21982, 6254, 11, 571, 296, 2135, 17, 6498, 11, 571, 296, 13723, 11, 571, 296, 15991, 11, 571, 296, 409, 2 ]
assert Debug.log("java mirror", Debug.show(symbol) + " -> " + mirror);
assert Debug.log("java mirror: ", symbol, " -> ", mirror);
public Field getField(Symbol symbol) { Object value = fields.get(symbol); if (value != null) return (Field)value; Field mirror = getField0(symbol); assert Debug.log("java mirror", Debug.show(symbol) + " -> " + mirror); fields.put(symbol, mirror); return mirror; }
32355 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/32355/8f1264daa9a230a81dc4b0a9b9f2c4751ed24229/JavaMirror.java/buggy/sources/scala/tools/scalai/JavaMirror.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2286, 5031, 12, 5335, 3273, 13, 288, 3639, 1033, 460, 273, 1466, 18, 588, 12, 7175, 1769, 3639, 309, 261, 1132, 480, 446, 13, 327, 261, 974, 13, 1132, 31, 3639, 2286, 15593, 273, 5031, 20, 12, 7175, 1769, 3639, 1815, 4015, 18, 1330, 2932, 6290, 15593, 30, 3104, 3273, 16, 315, 317, 3104, 15593, 1769, 3639, 1466, 18, 458, 12, 7175, 16, 15593, 1769, 3639, 327, 15593, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2286, 5031, 12, 5335, 3273, 13, 288, 3639, 1033, 460, 273, 1466, 18, 588, 12, 7175, 1769, 3639, 309, 261, 1132, 480, 446, 13, 327, 261, 974, 13, 1132, 31, 3639, 2286, 15593, 273, 5031, 20, 12, 7175, 1769, 3639, 1815, 4015, 18, 1330, 2932, 6290, 15593, 30, 3104, 3273, 16, 315, 317, 3104, 15593, 1769, 3639, 1466, 18, 458, 12, 7175, 16, 15593, 1769, 3639, 327, 15593, 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 ]
ScheduleUtil.assert(period > 0, "period must be positive");
ScheduleUtil.assertTrue(period > 0, "period must be positive");
WeeklyDateSchedule(Calendar begin, int period, int daysOfWeekBitmap) { this.period = period; ScheduleUtil.assert(period > 0, "period must be positive"); this.beginOrdinal = ScheduleUtil.julianDay( begin == null ? ScheduleUtil.epochDay : begin) / 7; this.daysOfWeekBitmap = daysOfWeekBitmap; ScheduleUtil.assert( (daysOfWeekBitmap & Schedule.allDaysOfWeekBitmap) != 0, "weekly schedule must have at least one day set"); ScheduleUtil.assert( (daysOfWeekBitmap & Schedule.allDaysOfWeekBitmap) == daysOfWeekBitmap, "weekly schedule has bad bits set: " + daysOfWeekBitmap); }
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/9b986104ae6648c216be1c5a4796621e92b2fccf/Schedule.java/clean/src/main/mondrian/util/Schedule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6630, 715, 1626, 6061, 12, 7335, 2376, 16, 509, 3879, 16, 509, 4681, 12250, 12224, 13, 288, 202, 202, 2211, 18, 6908, 273, 3879, 31, 202, 202, 6061, 1304, 18, 11231, 12, 6908, 405, 374, 16, 315, 6908, 1297, 506, 6895, 8863, 202, 202, 2211, 18, 10086, 22830, 273, 10674, 1304, 18, 78, 16042, 4245, 12, 9506, 202, 10086, 422, 446, 692, 10674, 1304, 18, 12015, 4245, 294, 2376, 13, 342, 2371, 31, 202, 202, 2211, 18, 9810, 12250, 12224, 273, 4681, 12250, 12224, 31, 202, 202, 6061, 1304, 18, 11231, 12, 9506, 202, 12, 9810, 12250, 12224, 473, 10674, 18, 454, 9384, 12250, 12224, 13, 480, 374, 16, 9506, 202, 6, 10741, 715, 4788, 1297, 1240, 622, 4520, 1245, 2548, 444, 8863, 202, 202, 6061, 1304, 18, 11231, 12, 9506, 202, 12, 9810, 12250, 12224, 473, 10674, 18, 454, 9384, 12250, 12224, 13, 422, 4681, 12250, 12224, 16, 9506, 202, 6, 10741, 715, 4788, 711, 5570, 4125, 444, 30, 315, 397, 4681, 12250, 12224, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6630, 715, 1626, 6061, 12, 7335, 2376, 16, 509, 3879, 16, 509, 4681, 12250, 12224, 13, 288, 202, 202, 2211, 18, 6908, 273, 3879, 31, 202, 202, 6061, 1304, 18, 11231, 12, 6908, 405, 374, 16, 315, 6908, 1297, 506, 6895, 8863, 202, 202, 2211, 18, 10086, 22830, 273, 10674, 1304, 18, 78, 16042, 4245, 12, 9506, 202, 10086, 422, 446, 692, 10674, 1304, 18, 12015, 4245, 294, 2376, 13, 342, 2371, 31, 202, 202, 2211, 18, 9810, 12250, 12224, 273, 4681, 12250, 12224, 31, 202, 202, 6061, 1304, 18, 11231, 12, 9506, 202, 12, 9810, 12250, 12224, 473, 10674, 18, 454, 9384, 12250, 12224, 13, 480, 374, 16, 9506, 202, 6, 10741, 715, 4788, 1297, 1240, 2 ]
schemaName = tableName.substring(0, index); tableName = tableName.substring( index + 1);
schemaName = tableName.substring( 0, index ); tableName = tableName.substring( index + 1 );
private void showTable(Event event) { TreeItem item = (TreeItem)event.item; if (item == null) return; if( item == rootNode ) return; if ( isSchemaNode( item ) ) { populateTableList( item.getText( ), item ); return; }//TODO String tableName = Utility.getTreeItemsName( item ); String catalogName = metaDataProvider.getCatalog(); String schemaName = null; String schemaSeparator = "."; if (metaDataProvider.isSchemaSupported()) { // remove the schema name from the fully qualified name int index = -1; if ((index = tableName.lastIndexOf(schemaSeparator)) != -1) { schemaName = tableName.substring(0, index); tableName = tableName.substring( index + 1); } } if ( item.getData( ) instanceof DbObject ) { DbObject obj = (DbObject) item.getData( ); if ( obj.getType( ) == DbObject.TABLE_TYPE || obj.getType( ) == DbObject.VIEW_TYPE ) { ArrayList columnList = metaDataProvider.getColumns( catalogName, schemaName, tableName, null ); TreeItem[] items = item.getItems( ); if ( items != null ) { for ( int i = 0; i < items.length; i++ ) { items[i].dispose( ); } } Utility.createTreeItems( item, columnList, SWT.NONE, columnImage ); } else if ( obj.getType( ) == DbObject.PROCEDURE_TYPE ) { ArrayList procedureList = metaDataProvider.getAllProcedure( catalogName, schemaName, getTailoredSearchText( searchTxt.getText() ) ); TreeItem[] items = item.getItems( ); if ( items != null ) { for ( int i = 0; i < items.length; i++ ) { items[i].dispose( ); } } Utility.createTreeItems( item, procedureList, SWT.NONE, columnImage ); //expand procedure TreeItem } } else if ( item.getData( ) instanceof Procedure ) { Procedure obj = (Procedure) item.getData( ); { ArrayList columnList = metaDataProvider.getProcedureColumns( obj.getCatalog( ), schemaName, tableName, getTailoredSearchText(null) ); TreeItem[] items = item.getItems( ); if ( items != null ) { for ( int i = 0; i < items.length; i++ ) { items[i].dispose( ); } } Utility.createTreeItems( item, columnList, SWT.NONE, columnImage ); } } }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/8887f296b0d9adc032ae9020f3349938893f43a3/SQLDataSetEditorPage.java/buggy/data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/editors/SQLDataSetEditorPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 1152, 918, 2405, 1388, 12, 1133, 871, 13, 1082, 202, 95, 9506, 202, 2471, 1180, 761, 273, 261, 2471, 1180, 13, 2575, 18, 1726, 31, 9506, 202, 430, 261, 1726, 422, 446, 13, 327, 31, 6862, 9506, 202, 430, 12, 761, 422, 10181, 262, 6862, 202, 2463, 31, 6862, 9506, 202, 430, 261, 353, 3078, 907, 12, 761, 262, 262, 9506, 202, 95, 6862, 202, 19936, 1388, 682, 12, 761, 18, 588, 1528, 12, 262, 16, 761, 11272, 6862, 202, 2463, 31, 9506, 202, 97, 759, 6241, 6862, 9506, 202, 780, 4775, 273, 13134, 18, 588, 2471, 3126, 461, 12, 761, 11272, 9506, 202, 780, 6222, 461, 273, 11651, 2249, 18, 588, 9769, 5621, 9506, 202, 780, 21960, 273, 446, 31, 6862, 6862, 202, 780, 1963, 6581, 273, 4585, 31, 6862, 6862, 202, 430, 261, 3901, 20757, 18, 291, 3078, 7223, 10756, 9506, 202, 95, 6862, 202, 759, 1206, 326, 1963, 508, 628, 326, 7418, 9348, 508, 6862, 202, 474, 770, 273, 300, 21, 31, 6862, 202, 430, 14015, 1615, 273, 4775, 18, 2722, 31985, 12, 4821, 6581, 3719, 480, 300, 21, 13, 6862, 202, 95, 25083, 202, 4821, 461, 273, 4775, 18, 28023, 12, 20, 16, 770, 1769, 25083, 202, 18033, 273, 4775, 18, 28023, 12, 770, 397, 404, 1769, 6862, 202, 97, 9506, 202, 97, 9506, 202, 430, 261, 761, 18, 588, 751, 12, 262, 1276, 8408, 921, 262, 9506, 202, 95, 6862, 202, 4331, 921, 1081, 273, 261, 4331, 921, 13, 761, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 1152, 918, 2405, 1388, 12, 1133, 871, 13, 1082, 202, 95, 9506, 202, 2471, 1180, 761, 273, 261, 2471, 1180, 13, 2575, 18, 1726, 31, 9506, 202, 430, 261, 1726, 422, 446, 13, 327, 31, 6862, 9506, 202, 430, 12, 761, 422, 10181, 262, 6862, 202, 2463, 31, 6862, 9506, 202, 430, 261, 353, 3078, 907, 12, 761, 262, 262, 9506, 202, 95, 6862, 202, 19936, 1388, 682, 12, 761, 18, 588, 1528, 12, 262, 16, 761, 11272, 6862, 202, 2463, 31, 9506, 202, 97, 759, 6241, 6862, 9506, 202, 780, 4775, 273, 13134, 18, 588, 2471, 3126, 461, 12, 761, 11272, 9506, 202, 780, 6222, 461, 273, 11651, 2249, 18, 588, 9769, 5621, 9506, 202, 780, 2 ]
public void addProperty(String name, String strValue) { if (strValue == null) { return; } name = capitalizeFirstLetter(name); Method adderMethod = getMethod("add" + name); if (adderMethod == null) { addError("No adder for property [" + name + "]."); return; } Class[] paramTypes = adderMethod.getParameterTypes(); if (paramTypes.length != 1) { addError("#params for setter != 1"); return; } Object arg; try { arg = convertArg(strValue, paramTypes[0]); } catch (Throwable t) { addError("Conversion to type [" + paramTypes[0] + "] failed. ", t); return; } if (arg == null) { addError("Conversion to type [" + paramTypes[0] + "] failed."); } else { try { adderMethod.invoke(obj, new Object[] { arg }); } catch (Exception ex) { addError("Failed to invoke adder for " + name, ex); } } }
48264 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48264/cd5686d976f1993d6cc606a0b2d7b9f8ae6f1a31/PropertySetter.java/clean/logback-core/src/main/java/ch/qos/logback/core/util/PropertySetter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 1289, 1396, 12, 780, 529, 16, 780, 701, 620, 15329, 430, 12, 701, 620, 631, 2011, 15329, 2463, 31, 97, 529, 33, 5909, 7053, 554, 3759, 13938, 12, 529, 1769, 1305, 361, 765, 1305, 33, 588, 1305, 2932, 1289, 6, 15, 529, 1769, 430, 12, 361, 765, 1305, 631, 2011, 15329, 1289, 668, 2932, 2279, 361, 765, 1884, 4468, 9614, 15, 529, 9078, 65, 1199, 1769, 2463, 31, 97, 797, 8526, 891, 2016, 33, 361, 765, 1305, 18, 588, 1662, 2016, 5621, 430, 12, 891, 2016, 18, 2469, 5, 33, 21, 15329, 1289, 668, 2932, 7, 2010, 1884, 18062, 5, 33, 21, 8863, 2463, 31, 97, 921, 3175, 31, 698, 95, 3175, 33, 6283, 4117, 12, 701, 620, 16, 891, 2016, 63, 20, 19226, 97, 14683, 12, 8282, 378, 1810, 15329, 1289, 668, 2932, 6814, 3836, 9614, 15, 891, 2016, 63, 20, 3737, 11929, 7307, 1199, 16, 88, 1769, 2463, 31, 97, 430, 12, 3175, 631, 2011, 15329, 1289, 668, 2932, 6814, 3836, 9614, 15, 891, 2016, 63, 20, 3737, 11929, 7307, 1199, 1769, 97, 12107, 95, 698, 95, 361, 765, 1305, 18, 14407, 12, 2603, 16, 2704, 921, 63, 7073, 3175, 22938, 97, 14683, 12, 503, 338, 15329, 1289, 668, 2932, 2925, 869, 5768, 601, 684, 765, 1884, 6, 15, 529, 16, 338, 1769, 9090, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 1289, 1396, 12, 780, 529, 16, 780, 701, 620, 15329, 430, 12, 701, 620, 631, 2011, 15329, 2463, 31, 97, 529, 33, 5909, 7053, 554, 3759, 13938, 12, 529, 1769, 1305, 361, 765, 1305, 33, 588, 1305, 2932, 1289, 6, 15, 529, 1769, 430, 12, 361, 765, 1305, 631, 2011, 15329, 1289, 668, 2932, 2279, 361, 765, 1884, 4468, 9614, 15, 529, 9078, 65, 1199, 1769, 2463, 31, 97, 797, 8526, 891, 2016, 33, 361, 765, 1305, 18, 588, 1662, 2016, 5621, 430, 12, 891, 2016, 18, 2469, 5, 33, 21, 15329, 1289, 668, 2932, 7, 2010, 1884, 18062, 5, 33, 21, 8863, 2463, 31, 97, 921, 3175, 31, 698, 95, 3175, 33, 6283, 4117, 12, 701, 2 ]
public AbstractExpectationCollection(String name) { super(name); }
public AbstractExpectationCollection( String name ) { super(name); }
public AbstractExpectationCollection(String name) { super(name); }
2796 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2796/065d08edd62599d5d244a9317db470157690f4f9/AbstractExpectationCollection.java/buggy/jmock/core/src/org/jmock/expectation/AbstractExpectationCollection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4115, 11988, 367, 2532, 12, 780, 508, 13, 288, 3639, 2240, 12, 529, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4115, 11988, 367, 2532, 12, 780, 508, 13, 288, 3639, 2240, 12, 529, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ModelItem anObject = (ModelItem)enumerator.nextElement();
ModelItem anObject = (ModelItem)enumerator.next();
public void showTypes(boolean value) { for (Enumeration enumerator = array.elements(); enumerator.hasMoreElements(); ) { ModelItem anObject = (ModelItem)enumerator.nextElement(); if (anObject.isNode()) { ((Node) anObject).setShowType(value); } } controller.modelChanged(); }
364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/364/03c9e81600733191aa231cee1b47ab99ba816b6b/ArcNodeList.java/buggy/rdfweb.org/RDFAuthor/ArcNodeList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2405, 2016, 12, 6494, 460, 13, 565, 288, 3639, 364, 261, 21847, 24679, 273, 526, 18, 6274, 5621, 24679, 18, 5332, 7417, 3471, 5621, 262, 3639, 288, 5411, 3164, 1180, 392, 921, 273, 261, 1488, 1180, 13, 7924, 7385, 18, 4285, 5621, 5411, 309, 261, 304, 921, 18, 291, 907, 10756, 5411, 288, 7734, 14015, 907, 13, 392, 921, 2934, 542, 5706, 559, 12, 1132, 1769, 5411, 289, 3639, 289, 7734, 2596, 18, 2284, 5033, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2405, 2016, 12, 6494, 460, 13, 565, 288, 3639, 364, 261, 21847, 24679, 273, 526, 18, 6274, 5621, 24679, 18, 5332, 7417, 3471, 5621, 262, 3639, 288, 5411, 3164, 1180, 392, 921, 273, 261, 1488, 1180, 13, 7924, 7385, 18, 4285, 5621, 5411, 309, 261, 304, 921, 18, 291, 907, 10756, 5411, 288, 7734, 14015, 907, 13, 392, 921, 2934, 542, 5706, 559, 12, 1132, 1769, 5411, 289, 3639, 289, 7734, 2596, 18, 2284, 5033, 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 ]
Object[] errArgs = { ((NativeFunction) funObj).js_getName() };
Object[] errArgs = { ((NativeFunction) funObj).jsGet_name() };
private static Object execSub(Context cx, Scriptable thisObj, Object[] args, Scriptable scopeObj, boolean test, Function funObj) { if (!(thisObj instanceof NativeRegExp)) { Object[] errArgs = { ((NativeFunction) funObj).js_getName() }; throw Context.reportRuntimeError( ScriptRuntime.getMessage("msg.incompat.call", errArgs)); } NativeRegExp re = (NativeRegExp) thisObj; String str; if (args.length == 0) { str = getImpl(cx).input; if (str == null) { Object[] errArgs = { re.toString() }; throw Context.reportRuntimeError(ScriptRuntime.getMessage ("msg.no.re.input.for", errArgs)); } } else { str = ScriptRuntime.toString(args[0]); } int i; if ((re.flags & GLOB) != 0) { i = re.lastIndex; } else { i = 0; } int indexp[] = { i }; Object rval = re.executeRegExp(scopeObj, str, indexp, test); if ((re.flags & GLOB) != 0) re.lastIndex = (rval == null) ? 0 : indexp[0]; return rval; }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/75d18cd3322ae42f1bf6a1ed46bb0d9ff1286810/NativeRegExp.java/buggy/js/rhino/src/org/mozilla/javascript/regexp/NativeRegExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1033, 1196, 1676, 12, 1042, 9494, 16, 22780, 15261, 16, 21394, 1033, 8526, 833, 16, 22780, 2146, 2675, 16, 21394, 1250, 1842, 16, 4284, 9831, 2675, 13, 565, 288, 3639, 309, 16051, 12, 2211, 2675, 1276, 16717, 13673, 3719, 288, 5411, 1033, 8526, 393, 2615, 273, 288, 14015, 9220, 2083, 13, 9831, 2675, 2934, 2924, 967, 67, 529, 1435, 289, 31, 5411, 604, 1772, 18, 6006, 5576, 668, 12, 7734, 7739, 5576, 18, 24906, 2932, 3576, 18, 267, 16239, 18, 1991, 3113, 393, 2615, 10019, 3639, 289, 3639, 16717, 13673, 283, 273, 261, 9220, 13673, 13, 15261, 31, 3639, 514, 609, 31, 3639, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 5411, 609, 273, 336, 2828, 12, 71, 92, 2934, 2630, 31, 5411, 309, 261, 701, 422, 446, 13, 288, 7734, 1033, 8526, 393, 2615, 273, 288, 283, 18, 10492, 1435, 289, 31, 7734, 604, 1772, 18, 6006, 5576, 668, 12, 3651, 5576, 18, 24906, 4766, 1171, 7566, 3576, 18, 2135, 18, 266, 18, 2630, 18, 1884, 3113, 4766, 5375, 393, 2615, 10019, 5411, 289, 3639, 289, 469, 288, 5411, 609, 273, 7739, 5576, 18, 10492, 12, 1968, 63, 20, 19226, 3639, 289, 3639, 509, 277, 31, 3639, 309, 14015, 266, 18, 7133, 473, 611, 6038, 13, 480, 374, 13, 288, 5411, 277, 273, 283, 18, 2722, 1016, 31, 3639, 289, 469, 288, 5411, 277, 273, 374, 31, 3639, 289, 3639, 509, 770, 84, 8526, 273, 288, 277, 289, 31, 3639, 1033, 14267, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1033, 1196, 1676, 12, 1042, 9494, 16, 22780, 15261, 16, 21394, 1033, 8526, 833, 16, 22780, 2146, 2675, 16, 21394, 1250, 1842, 16, 4284, 9831, 2675, 13, 565, 288, 3639, 309, 16051, 12, 2211, 2675, 1276, 16717, 13673, 3719, 288, 5411, 1033, 8526, 393, 2615, 273, 288, 14015, 9220, 2083, 13, 9831, 2675, 2934, 2924, 967, 67, 529, 1435, 289, 31, 5411, 604, 1772, 18, 6006, 5576, 668, 12, 7734, 7739, 5576, 18, 24906, 2932, 3576, 18, 267, 16239, 18, 1991, 3113, 393, 2615, 10019, 3639, 289, 3639, 16717, 13673, 283, 273, 261, 9220, 13673, 13, 15261, 31, 3639, 514, 609, 31, 3639, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 5411, 609, 273, 336, 2 ]
this.pack(); this.setSize(370, 240);
public AuthenticationWindow(MainFrame mainFrame, ProtocolProviderService protocolProvider, String realm, UserCredentials userCredentials) { super(mainFrame); this.userCredentials = userCredentials; this.realm = realm; this.setModal(true); backgroundPanel = new LoginWindowBackground( Constants.getProtocolBigIcon( protocolProvider.getProtocolName())); this.backgroundPanel.setLayout(new FlowLayout(FlowLayout.RIGHT)); this.backgroundPanel.setBorder( BorderFactory.createEmptyBorder(45, 5, 5, 5)); this.getContentPane().setLayout(new BorderLayout()); this.init(); this.getContentPane().add(backgroundPanel, BorderLayout.CENTER); this.pack(); this.setSize(370, 240); this.setResizable(false); this.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); this.setTitle(Messages.getString("authenticationWindowTitle")); this.enableKeyActions(); }
27035 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27035/54489a0aa7ab17d7b2e10707203f786e9ae9b1f7/AuthenticationWindow.java/buggy/src/net/java/sip/communicator/impl/gui/main/login/AuthenticationWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8665, 3829, 12, 6376, 3219, 2774, 3219, 16, 7734, 4547, 2249, 1179, 1771, 2249, 16, 7734, 514, 11319, 16, 7734, 2177, 6163, 729, 6163, 13, 288, 3639, 2240, 12, 5254, 3219, 1769, 3639, 333, 18, 1355, 6163, 273, 729, 6163, 31, 3639, 333, 18, 24056, 273, 11319, 31, 3639, 333, 18, 542, 20191, 12, 3767, 1769, 3639, 5412, 5537, 273, 394, 11744, 3829, 8199, 12, 7734, 5245, 18, 588, 5752, 9901, 5554, 12, 13491, 1771, 2249, 18, 588, 5752, 461, 1435, 10019, 3639, 333, 18, 9342, 5537, 18, 542, 3744, 12, 2704, 9473, 3744, 12, 5249, 3744, 18, 11847, 10019, 3639, 333, 18, 9342, 5537, 18, 542, 8107, 12, 7734, 13525, 1733, 18, 2640, 1921, 8107, 12, 7950, 16, 1381, 16, 1381, 16, 1381, 10019, 3639, 333, 18, 588, 1350, 8485, 7675, 542, 3744, 12, 2704, 30814, 10663, 3639, 333, 18, 2738, 5621, 3639, 333, 18, 588, 1350, 8485, 7675, 1289, 12, 9342, 5537, 16, 30814, 18, 19835, 1769, 3639, 333, 18, 2920, 5621, 3639, 333, 18, 542, 1225, 12, 6418, 20, 16, 27610, 1769, 3639, 333, 18, 542, 607, 6934, 12, 5743, 1769, 3639, 333, 18, 542, 1868, 4605, 2988, 12, 46, 6353, 18, 13498, 23757, 67, 673, 67, 13384, 1769, 3639, 333, 18, 542, 4247, 12, 5058, 18, 588, 780, 2932, 12293, 3829, 4247, 7923, 1769, 3639, 333, 18, 7589, 653, 6100, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8665, 3829, 12, 6376, 3219, 2774, 3219, 16, 7734, 4547, 2249, 1179, 1771, 2249, 16, 7734, 514, 11319, 16, 7734, 2177, 6163, 729, 6163, 13, 288, 3639, 2240, 12, 5254, 3219, 1769, 3639, 333, 18, 1355, 6163, 273, 729, 6163, 31, 3639, 333, 18, 24056, 273, 11319, 31, 3639, 333, 18, 542, 20191, 12, 3767, 1769, 3639, 5412, 5537, 273, 394, 11744, 3829, 8199, 12, 7734, 5245, 18, 588, 5752, 9901, 5554, 12, 13491, 1771, 2249, 18, 588, 5752, 461, 1435, 10019, 3639, 333, 18, 9342, 5537, 18, 542, 3744, 12, 2704, 9473, 3744, 12, 5249, 3744, 18, 11847, 10019, 3639, 333, 18, 9342, 5537, 18, 542, 8107, 12, 7734, 13525, 1733, 18, 2640, 1921, 8107, 12, 2 ]
public NewsChannelContentDefinition(String name) throws CmsException { Connection con = null; PreparedStatement statement = null; ResultSet res = null; try { con = DriverManager.getConnection(c_pool); statement = con.prepareStatement(C_SELECT_NAME); statement.setString(1, name); res = statement.executeQuery(); if(res.next()){ m_id = res.getInt(1); m_name = res.getString(2); m_descr = res.getString(3); m_lockstate = res.getInt(4); } }catch(SQLException e) { throw new CmsException("[" + this.getClass().getName() + "] " + e.getMessage(), CmsException.C_SQL_ERROR, e); }finally{ try{ res.close(); }catch (Exception e) { } try{ statement.close(); }catch (Exception e) { } try{ con.close(); }catch (Exception e) { } }
public NewsChannelContentDefinition() { super();
public NewsChannelContentDefinition(String name) throws CmsException { //System.err.println("NewsChannelContentDefinition: will lesen, name= "+name); Connection con = null; PreparedStatement statement = null; ResultSet res = null; try { con = DriverManager.getConnection(c_pool); statement = con.prepareStatement(C_SELECT_NAME); statement.setString(1, name); // choose id of the Element "where id == " res = statement.executeQuery(); if(res.next()){ // read the items from the resultset m_id = res.getInt(1); m_name = res.getString(2); m_descr = res.getString(3); m_lockstate = res.getInt(4); } }catch(SQLException e) { throw new CmsException("[" + this.getClass().getName() + "] " + e.getMessage(), CmsException.C_SQL_ERROR, e); }finally{ try{ res.close(); }catch (Exception e) { // ignore the exception } try{ statement.close(); }catch (Exception e) { // ignore the exception } try{ con.close(); }catch (Exception e) { // ignore the exception } } }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/a80dad293083ec36179f99a238625d3037b6083c/NewsChannelContentDefinition.java/buggy/modules/news/src/com/opencms/modules/homepage/news/NewsChannelContentDefinition.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 27061, 2909, 1350, 1852, 12, 780, 508, 13, 1216, 11228, 288, 202, 202, 759, 3163, 18, 370, 18, 8222, 2932, 17948, 2909, 1350, 1852, 30, 903, 18022, 275, 16, 508, 33, 13773, 529, 1769, 565, 4050, 356, 273, 446, 31, 202, 202, 29325, 3021, 273, 446, 31, 202, 202, 13198, 400, 273, 446, 31, 202, 202, 698, 288, 1377, 356, 273, 9396, 1318, 18, 588, 1952, 12, 71, 67, 6011, 1769, 1082, 225, 202, 11516, 273, 356, 18, 9366, 3406, 12, 39, 67, 4803, 67, 1985, 1769, 1082, 202, 11516, 18, 542, 780, 12, 21, 16, 508, 1769, 225, 368, 9876, 612, 434, 326, 3010, 225, 315, 6051, 612, 422, 315, 1082, 202, 455, 273, 3021, 18, 8837, 1138, 5621, 1082, 202, 430, 12, 455, 18, 4285, 10756, 95, 9506, 202, 759, 855, 326, 1516, 628, 326, 26539, 9506, 202, 81, 67, 350, 273, 400, 18, 588, 1702, 12, 21, 1769, 9506, 202, 81, 67, 529, 273, 400, 18, 588, 780, 12, 22, 1769, 9506, 202, 81, 67, 28313, 273, 400, 18, 588, 780, 12, 23, 1769, 9506, 202, 81, 67, 739, 2019, 273, 400, 18, 588, 1702, 12, 24, 1769, 1082, 202, 97, 202, 202, 97, 14683, 12, 23116, 425, 13, 288, 1082, 202, 12849, 394, 11228, 2932, 9614, 397, 333, 18, 588, 797, 7675, 17994, 1435, 397, 9850, 315, 397, 425, 18, 24906, 9334, 9506, 202, 4747, 503, 18, 39, 67, 3997, 67, 3589, 16, 425, 1769, 202, 202, 97, 23417, 95, 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, 27061, 2909, 1350, 1852, 12, 780, 508, 13, 1216, 11228, 288, 202, 202, 759, 3163, 18, 370, 18, 8222, 2932, 17948, 2909, 1350, 1852, 30, 903, 18022, 275, 16, 508, 33, 13773, 529, 1769, 565, 4050, 356, 273, 446, 31, 202, 202, 29325, 3021, 273, 446, 31, 202, 202, 13198, 400, 273, 446, 31, 202, 202, 698, 288, 1377, 356, 273, 9396, 1318, 18, 588, 1952, 12, 71, 67, 6011, 1769, 1082, 225, 202, 11516, 273, 356, 18, 9366, 3406, 12, 39, 67, 4803, 67, 1985, 1769, 1082, 202, 11516, 18, 542, 780, 12, 21, 16, 508, 1769, 225, 368, 9876, 612, 434, 326, 3010, 225, 315, 6051, 612, 422, 315, 1082, 202, 455, 273, 3021, 2 ]
}
}
protected void showList(Shell parentShell, int x, int y) { // final R21PaneFolder tabFolder = getTabFolder(); // // int shellStyle = SWT.RESIZE | SWT.ON_TOP | SWT.NO_TRIM; // int tableStyle = SWT.V_SCROLL | SWT.H_SCROLL; // final BasicStackList editorList = new BasicStackList(tabFolder.getControl().getShell(), // shellStyle, tableStyle); // editorList.setInput(this); // Point size = editorList.computeSizeHint(); // // Rectangle bounds = Display.getCurrent().getBounds(); // if (x + size.x > bounds.width) x = bounds.width - size.x; // if (y + size.y > bounds.height) y = bounds.height - size.y; // editorList.setLocation(new Point(x, y)); // editorList.setVisible(true); // editorList.setFocus(); // editorList.getTableViewer().getTable().getShell().addListener( // SWT.Deactivate, new Listener() { // // public void handleEvent(Event event) { // editorList.setVisible(false); // } // }); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/38085a8072ad4fd21bad0983f8bc31ac736c9f72/R21BasicStackPresentation.java/buggy/bundles/org.eclipse.ui.presentations.r21/src/org/eclipse/ui/internal/presentations/R21BasicStackPresentation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 2405, 682, 12, 13220, 982, 13220, 16, 509, 619, 16, 509, 677, 13, 288, 3639, 368, 3639, 727, 534, 5340, 8485, 3899, 3246, 3899, 273, 3181, 378, 3899, 5621, 3639, 368, 3639, 368, 3639, 509, 5972, 2885, 273, 348, 8588, 18, 862, 4574, 571, 348, 8588, 18, 673, 67, 10462, 571, 348, 8588, 18, 3417, 67, 6566, 49, 31, 3639, 368, 3639, 509, 1014, 2885, 273, 348, 8588, 18, 58, 67, 2312, 14555, 571, 348, 8588, 18, 44, 67, 2312, 14555, 31, 3639, 368, 3639, 727, 7651, 2624, 682, 4858, 682, 273, 394, 7651, 2624, 682, 12, 7032, 3899, 18, 588, 3367, 7675, 588, 13220, 9334, 3639, 368, 7734, 5972, 2885, 16, 1014, 2885, 1769, 3639, 368, 3639, 4858, 682, 18, 542, 1210, 12, 2211, 1769, 3639, 368, 3639, 4686, 963, 273, 4858, 682, 18, 9200, 1225, 7002, 5621, 3639, 368, 7734, 368, 3639, 13264, 4972, 273, 9311, 18, 588, 3935, 7675, 588, 5694, 5621, 3639, 368, 3639, 309, 261, 92, 397, 963, 18, 92, 405, 4972, 18, 2819, 13, 619, 273, 4972, 18, 2819, 300, 963, 18, 92, 31, 3639, 368, 3639, 309, 261, 93, 397, 963, 18, 93, 405, 4972, 18, 4210, 13, 677, 273, 4972, 18, 4210, 300, 963, 18, 93, 31, 3639, 368, 3639, 4858, 682, 18, 542, 2735, 12, 2704, 4686, 12, 92, 16, 677, 10019, 3639, 368, 3639, 4858, 682, 18, 542, 6207, 12, 3767, 1769, 3639, 368, 3639, 4858, 682, 18, 542, 9233, 5621, 3639, 368, 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, 2405, 682, 12, 13220, 982, 13220, 16, 509, 619, 16, 509, 677, 13, 288, 3639, 368, 3639, 727, 534, 5340, 8485, 3899, 3246, 3899, 273, 3181, 378, 3899, 5621, 3639, 368, 3639, 368, 3639, 509, 5972, 2885, 273, 348, 8588, 18, 862, 4574, 571, 348, 8588, 18, 673, 67, 10462, 571, 348, 8588, 18, 3417, 67, 6566, 49, 31, 3639, 368, 3639, 509, 1014, 2885, 273, 348, 8588, 18, 58, 67, 2312, 14555, 571, 348, 8588, 18, 44, 67, 2312, 14555, 31, 3639, 368, 3639, 727, 7651, 2624, 682, 4858, 682, 273, 394, 7651, 2624, 682, 12, 7032, 3899, 18, 588, 3367, 7675, 588, 13220, 9334, 3639, 368, 7734, 5972, 2885, 16, 1014, 2885, 1769, 3639, 2 ]
if (itemName == null || insertItemOrder == null || itemUrgent == null || insertItemOrder == null) {
if (itemName == null || insertItemOrder == null || insertItemOrder == null) {
public void insertItem(String itemName, String itemInformation, Boolean itemUrgent, Integer insertItemOrder) throws DomainException { if (itemName == null || insertItemOrder == null || itemUrgent == null || insertItemOrder == null) { throw new NullPointerException(); } for (Item item : this.getAssociatedItems()) { if (item.getName().equals(itemName)) throw new DomainException("error.duplicate.item"); } Item item = new Item(); // item.setInformation(itemInformation); // item.setName(itemName); item.setUrgent(itemUrgent); Integer itemOrder = new Integer(organizeExistingItemsOrder(insertItemOrder.intValue())); item.setItemOrder(itemOrder); item.setSection(this); }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/af85e8f72a4392e5e1b7c9b91b136c3b815b9988/Section.java/clean/src/net/sourceforge/fenixedu/domain/Section.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2243, 1180, 12, 780, 23488, 16, 514, 761, 5369, 16, 3411, 761, 57, 26876, 319, 16, 202, 565, 2144, 2243, 1180, 2448, 13, 1216, 24569, 288, 202, 430, 261, 1726, 461, 422, 446, 747, 2243, 1180, 2448, 422, 446, 747, 761, 57, 26876, 319, 422, 446, 747, 2243, 1180, 2448, 422, 446, 13, 288, 202, 565, 604, 394, 10108, 5621, 202, 97, 202, 1884, 261, 1180, 761, 294, 333, 18, 588, 19233, 3126, 10756, 288, 202, 565, 309, 261, 1726, 18, 17994, 7675, 14963, 12, 1726, 461, 3719, 202, 202, 12849, 394, 24569, 2932, 1636, 18, 17342, 18, 1726, 8863, 202, 97, 202, 1180, 761, 273, 394, 4342, 5621, 202, 759, 761, 18, 542, 5369, 12, 1726, 5369, 1769, 202, 759, 761, 18, 542, 461, 12, 1726, 461, 1769, 202, 1726, 18, 542, 57, 26876, 319, 12, 1726, 57, 26876, 319, 1769, 202, 4522, 761, 2448, 273, 394, 2144, 12, 22543, 554, 9895, 3126, 2448, 12, 6387, 1180, 2448, 18, 474, 620, 1435, 10019, 202, 1726, 18, 542, 1180, 2448, 12, 1726, 2448, 1769, 202, 1726, 18, 542, 5285, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2243, 1180, 12, 780, 23488, 16, 514, 761, 5369, 16, 3411, 761, 57, 26876, 319, 16, 202, 565, 2144, 2243, 1180, 2448, 13, 1216, 24569, 288, 202, 430, 261, 1726, 461, 422, 446, 747, 2243, 1180, 2448, 422, 446, 747, 761, 57, 26876, 319, 422, 446, 747, 2243, 1180, 2448, 422, 446, 13, 288, 202, 565, 604, 394, 10108, 5621, 202, 97, 202, 1884, 261, 1180, 761, 294, 333, 18, 588, 19233, 3126, 10756, 288, 202, 565, 309, 261, 1726, 18, 17994, 7675, 14963, 12, 1726, 461, 3719, 202, 202, 12849, 394, 24569, 2932, 1636, 18, 17342, 18, 1726, 8863, 202, 97, 202, 1180, 761, 273, 394, 4342, 5621, 202, 759, 761, 18, 542, 5369, 12, 2 ]
public MethodInfo getMethod(String name) { ArrayList list = methods; int n = list.size(); for (int i = 0; i < n; ++i) { MethodInfo minfo = (MethodInfo)list.get(i); if (minfo.getName().equals(name)) return minfo; }
public MethodInfo getMethod(String name) { ArrayList list = methods; int n = list.size(); for (int i = 0; i < n; ++i) { MethodInfo minfo = (MethodInfo) list.get(i); if (minfo.getName().equals(name)) return minfo; }
public MethodInfo getMethod(String name) { ArrayList list = methods; int n = list.size(); for (int i = 0; i < n; ++i) { MethodInfo minfo = (MethodInfo)list.get(i); if (minfo.getName().equals(name)) return minfo; } return null; }
56357 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56357/f5d84c890b70def694dbd2904f1e6d2f7f1b70e3/ClassFile.java/buggy/src/main/javassist/bytecode/ClassFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2985, 966, 6272, 12, 780, 508, 13, 288, 3639, 2407, 666, 273, 2590, 31, 3639, 509, 290, 273, 666, 18, 1467, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 290, 31, 965, 77, 13, 288, 5411, 2985, 966, 1131, 617, 273, 261, 1305, 966, 13, 1098, 18, 588, 12, 77, 1769, 5411, 309, 261, 1154, 617, 18, 17994, 7675, 14963, 12, 529, 3719, 7734, 327, 1131, 617, 31, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2985, 966, 6272, 12, 780, 508, 13, 288, 3639, 2407, 666, 273, 2590, 31, 3639, 509, 290, 273, 666, 18, 1467, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 290, 31, 965, 77, 13, 288, 5411, 2985, 966, 1131, 617, 273, 261, 1305, 966, 13, 1098, 18, 588, 12, 77, 1769, 5411, 309, 261, 1154, 617, 18, 17994, 7675, 14963, 12, 529, 3719, 7734, 327, 1131, 617, 31, 3639, 289, 3639, 327, 446, 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 ]
ChemModel model = panel.getChemModel();
ChemModel model = (ChemModel)panel.getChemModel();
private void maybeShowPopup(MouseEvent e) { if (e.isPopupTrigger()) { popupMenu.show(e.getComponent(), e.getX(), e.getY()); } else { JFrame frame = null; if (e.getButton() == 1 && e.getClickCount() == 2) { if (panel instanceof JChemPaintViewerOnlyPanel) { frame = new JFrame(); frame.addWindowListener( new WindowAdapter() { public void windowClosing(WindowEvent e) { parent.add(panel); parent.repaint(); } }); parent=panel.getParent(); panel.getParent().remove(panel); frame.getContentPane().add(panel); } else if (panel instanceof JChemPaintEditorPanel) { panel = (JChemPaintEditorPanel) panel; ChemModel model = panel.getChemModel(); frame =JChemPaintEditorPanel.getNewFrame(new JChemPaintModel(model)); JChemPaintEditorPanel newPanel = (JChemPaintEditorPanel) frame.getContentPane().getComponent(0); newPanel.scaleAndCenterMolecule(model); newPanel.addChangeListener(panel); newPanel.setEmbedded(); newPanel.setIsOpenedByViewer(true); JViewport viewPort =((JScrollPane) ((Container) panel.getComponent(0)).getComponent(0)).getViewport(); DrawingPanel draw = (DrawingPanel) (viewPort.getView()); panel.drawingPanel = draw; viewPort.remove(draw); } frame.show(); frame.pack(); } } }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/c4db5e797f99f4c93f7d431c899e4e7cffe22bb4/JChemPaintPanel.java/buggy/src/org/openscience/cdk/applications/jchempaint/JChemPaintPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1377, 202, 1152, 918, 6944, 5706, 13770, 12, 9186, 1133, 425, 13, 288, 377, 202, 565, 309, 261, 73, 18, 291, 13770, 6518, 10756, 288, 377, 1082, 202, 16086, 4599, 18, 4500, 12, 73, 18, 588, 1841, 9334, 377, 6862, 202, 73, 18, 588, 60, 9334, 425, 18, 588, 61, 10663, 377, 202, 202, 97, 469, 288, 377, 1082, 565, 804, 3219, 2623, 273, 446, 31, 377, 1082, 565, 309, 261, 73, 18, 588, 3616, 1435, 422, 404, 597, 425, 18, 588, 6563, 1380, 1435, 422, 576, 13, 288, 377, 1082, 3639, 309, 261, 13916, 1276, 804, 20200, 12699, 18415, 3386, 5537, 13, 288, 202, 377, 1082, 3639, 2623, 273, 394, 804, 3219, 5621, 202, 377, 1082, 3639, 2623, 18, 1289, 3829, 2223, 12, 202, 377, 1082, 7734, 394, 6076, 4216, 1435, 288, 202, 377, 1082, 10792, 1071, 918, 2742, 15745, 12, 3829, 1133, 425, 13, 288, 202, 377, 1082, 13491, 982, 18, 1289, 12, 13916, 1769, 202, 377, 1082, 13491, 982, 18, 14462, 1598, 5621, 202, 377, 1082, 10792, 289, 202, 377, 1082, 7734, 15549, 202, 377, 1082, 3639, 982, 33, 13916, 18, 588, 3054, 5621, 202, 377, 1082, 3639, 6594, 18, 588, 3054, 7675, 4479, 12, 13916, 1769, 202, 377, 1082, 3639, 2623, 18, 588, 1350, 8485, 7675, 1289, 12, 13916, 1769, 202, 377, 1082, 5411, 1082, 3639, 289, 377, 1082, 3639, 469, 309, 261, 13916, 1276, 804, 20200, 12699, 6946, 5537, 13, 288, 377, 1082, 1850, 6594, 273, 261, 46, 20200, 12699, 6946, 5537, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1377, 202, 1152, 918, 6944, 5706, 13770, 12, 9186, 1133, 425, 13, 288, 377, 202, 565, 309, 261, 73, 18, 291, 13770, 6518, 10756, 288, 377, 1082, 202, 16086, 4599, 18, 4500, 12, 73, 18, 588, 1841, 9334, 377, 6862, 202, 73, 18, 588, 60, 9334, 425, 18, 588, 61, 10663, 377, 202, 202, 97, 469, 288, 377, 1082, 565, 804, 3219, 2623, 273, 446, 31, 377, 1082, 565, 309, 261, 73, 18, 588, 3616, 1435, 422, 404, 597, 425, 18, 588, 6563, 1380, 1435, 422, 576, 13, 288, 377, 1082, 3639, 309, 261, 13916, 1276, 804, 20200, 12699, 18415, 3386, 5537, 13, 288, 202, 377, 1082, 3639, 2623, 273, 394, 804, 3219, 5621, 202, 377, 1082, 3639, 2623, 2 ]
return String.valueOf(element.isDerived());
if (element.isDerived()) return IDEPropertiesMessages.ResourceProperty_true; return IDEPropertiesMessages.ResourceProperty_false;
public Object getPropertyValue(Object name) { if (name.equals(IBasicPropertyConstants.P_TEXT)) { return element.getName(); } if (name.equals(IResourcePropertyConstants.P_PATH_RES)) { return TextProcessor.process(element.getFullPath().toString()); } if (name.equals(IResourcePropertyConstants.P_LAST_MODIFIED_RES)) { return IDEResourceInfoUtils.getDateStringValue(element); } if (name.equals(IResourcePropertyConstants.P_EDITABLE_RES)) { final ResourceAttributes attributes = element.getResourceAttributes(); if (attributes == null || attributes.isReadOnly()) { return IDEPropertiesMessages.ResourceProperty_false; } return IDEPropertiesMessages.ResourceProperty_true; } if (name.equals(IResourcePropertyConstants.P_DERIVED_RES)) { return String.valueOf(element.isDerived()); } if (name.equals(IResourcePropertyConstants.P_LINKED_RES)) { return String.valueOf(element.isLinked()); } if (name.equals(IResourcePropertyConstants.P_LOCATION_RES)) { return TextProcessor.process(IDEResourceInfoUtils.getLocationText(element)); } if (name.equals(IResourcePropertyConstants.P_RESOLVED_LOCATION_RES)) { return TextProcessor.process(IDEResourceInfoUtils.getResolvedLocationText(element)); } return null; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/48814f3fd774c98204cc7ddc625bcaf81f1cb75d/ResourcePropertySource.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/properties/ResourcePropertySource.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 21694, 12, 921, 508, 13, 288, 3639, 309, 261, 529, 18, 14963, 12, 45, 8252, 1396, 2918, 18, 52, 67, 5151, 3719, 288, 5411, 327, 930, 18, 17994, 5621, 3639, 289, 3639, 309, 261, 529, 18, 14963, 12, 45, 1420, 1396, 2918, 18, 52, 67, 4211, 67, 7031, 3719, 288, 5411, 327, 3867, 5164, 18, 2567, 12, 2956, 18, 588, 24173, 7675, 10492, 10663, 3639, 289, 3639, 309, 261, 529, 18, 14963, 12, 45, 1420, 1396, 2918, 18, 52, 67, 14378, 67, 21143, 67, 7031, 3719, 288, 5411, 327, 1599, 41, 1420, 966, 1989, 18, 588, 1626, 19733, 12, 2956, 1769, 3639, 289, 3639, 309, 261, 529, 18, 14963, 12, 45, 1420, 1396, 2918, 18, 52, 67, 10776, 2782, 67, 7031, 3719, 288, 5411, 727, 2591, 2498, 1677, 273, 930, 18, 588, 1420, 2498, 5621, 1082, 202, 430, 261, 4350, 422, 446, 747, 1677, 18, 291, 12066, 10756, 288, 9506, 202, 2463, 1599, 41, 2297, 5058, 18, 1420, 1396, 67, 5743, 31, 1082, 202, 97, 1875, 202, 2463, 1599, 41, 2297, 5058, 18, 1420, 1396, 67, 3767, 31, 3639, 289, 3639, 309, 261, 529, 18, 14963, 12, 45, 1420, 1396, 2918, 18, 52, 67, 30086, 67, 7031, 3719, 288, 5411, 309, 261, 2956, 18, 291, 21007, 10756, 327, 1599, 41, 2297, 5058, 18, 1420, 1396, 67, 3767, 31, 327, 1599, 41, 2297, 5058, 18, 1420, 1396, 67, 5743, 31, 3639, 289, 3639, 309, 261, 529, 18, 14963, 12, 45, 1420, 1396, 2918, 18, 52, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 21694, 12, 921, 508, 13, 288, 3639, 309, 261, 529, 18, 14963, 12, 45, 8252, 1396, 2918, 18, 52, 67, 5151, 3719, 288, 5411, 327, 930, 18, 17994, 5621, 3639, 289, 3639, 309, 261, 529, 18, 14963, 12, 45, 1420, 1396, 2918, 18, 52, 67, 4211, 67, 7031, 3719, 288, 5411, 327, 3867, 5164, 18, 2567, 12, 2956, 18, 588, 24173, 7675, 10492, 10663, 3639, 289, 3639, 309, 261, 529, 18, 14963, 12, 45, 1420, 1396, 2918, 18, 52, 67, 14378, 67, 21143, 67, 7031, 3719, 288, 5411, 327, 1599, 41, 1420, 966, 1989, 18, 588, 1626, 19733, 12, 2956, 1769, 3639, 289, 3639, 309, 261, 529, 18, 14963, 12, 45, 1420, 1396, 2918, 18, 52, 2 ]
public String getName() { return "Rebuild tunnel"; }
public String getName() { if (_pool.getSettings().isExploratory()) { if (_pool.getSettings().isInbound()) { return "Rebuild exploratory inbound tunnel"; } else { return "Rebuild exploratory outbound tunnel"; } } else { StringBuffer rv = new StringBuffer(32); if (_pool.getSettings().isInbound()) rv.append("Rebuild inbound client tunnel for "); else rv.append("Rebuild outbound client tunnel for "); if (_pool.getSettings().getDestinationNickname() != null) rv.append(_pool.getSettings().getDestinationNickname()); else rv.append(_pool.getSettings().getDestination().toBase64().substring(0,4)); return rv.toString(); } }
public String getName() { return "Rebuild tunnel"; }
45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/ab4f3008cb78a7ef0ea6b25b04e9b6eeb83f8443/RebuildJob.java/clean/router/java/src/net/i2p/router/tunnel/pool/RebuildJob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1723, 1435, 288, 327, 315, 426, 3510, 14825, 14432, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1723, 1435, 288, 327, 315, 426, 3510, 14825, 14432, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
iVisited.accept(_Payload);
_Payload.visitDRegxOnceNode(iVisited);
public void visitDRegxOnceNode(DRegxOnceNode iVisited) { iVisited.accept(_Payload); }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/043fa4419ad506aa6f8843684eb8114b226fe4b5/DefaultIteratorVisitor.java/buggy/org/jruby/nodes/visitor/DefaultIteratorVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 40, 1617, 92, 12212, 907, 12, 40, 1617, 92, 12212, 907, 277, 30019, 13, 288, 202, 202, 77, 30019, 18, 9436, 24899, 6110, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 40, 1617, 92, 12212, 907, 12, 40, 1617, 92, 12212, 907, 277, 30019, 13, 288, 202, 202, 77, 30019, 18, 9436, 24899, 6110, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public synchronized int getNumPackets() {
public synchronized int getNumPackets() throws AbortedException {
public synchronized int getNumPackets() { if (_aborted) { throw new RuntimeException("PRB is aborted"); } return _packets; }
50287 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50287/b4ecaa4055b5835413830d4125c72de27d68e306/PartiallyReceivedBlock.java/clean/src/freenet/io/xfer/PartiallyReceivedBlock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 509, 11187, 27328, 1435, 288, 202, 202, 430, 261, 67, 18623, 329, 13, 288, 1082, 202, 12849, 394, 3235, 2932, 8025, 38, 353, 18166, 8863, 202, 202, 97, 202, 202, 2463, 389, 28717, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 509, 11187, 27328, 1435, 288, 202, 202, 430, 261, 67, 18623, 329, 13, 288, 1082, 202, 12849, 394, 3235, 2932, 8025, 38, 353, 18166, 8863, 202, 202, 97, 202, 202, 2463, 389, 28717, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
result = ServiceUtil.returnSuccess();
result = ServiceUtil.returnSuccess();
public Map setCheckOutDates(Timestamp shipBefore, Timestamp shipAfter) { List errorMessages = new ArrayList(); Map result = null; String errMsg = null; if (this.cart != null && this.cart.size() > 0) { this.cart.setShipBeforeDate(shipBefore); this.cart.setShipAfterDate(shipAfter); } else { errMsg = UtilProperties.getMessage(resource,"checkhelper.no_items_in_cart", (cart != null ? cart.getLocale() : Locale.getDefault())); errorMessages.add(errMsg); } if (errorMessages.size() == 1) { result = ServiceUtil.returnError(errorMessages.get(0).toString()); } else if (errorMessages.size() > 0) { result = ServiceUtil.returnError(errorMessages); } else { result = ServiceUtil.returnSuccess(); } return result; }
45953 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45953/72622be566e2f1898c139be1ad31c7eefd06d2fe/CheckOutHelper.java/clean/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1635, 444, 1564, 1182, 15578, 12, 4921, 24316, 4649, 16, 8159, 24316, 4436, 13, 288, 1850, 987, 22241, 273, 394, 2407, 5621, 1850, 1635, 563, 273, 446, 31, 1850, 514, 12412, 273, 446, 31, 1850, 309, 261, 2211, 18, 11848, 480, 446, 597, 333, 18, 11848, 18, 1467, 1435, 405, 374, 13, 288, 6647, 202, 2211, 18, 11848, 18, 542, 26358, 4649, 1626, 12, 3261, 4649, 1769, 6647, 202, 2211, 18, 11848, 18, 542, 26358, 4436, 1626, 12, 3261, 4436, 1769, 1850, 289, 469, 288, 6647, 202, 370, 3332, 273, 3564, 2297, 18, 24906, 12, 3146, 10837, 1893, 4759, 18, 2135, 67, 3319, 67, 267, 67, 11848, 3113, 4766, 5397, 261, 11848, 480, 446, 692, 7035, 18, 588, 3916, 1435, 294, 6458, 18, 588, 1868, 1435, 10019, 6647, 202, 1636, 5058, 18, 1289, 12, 370, 3332, 1769, 1850, 289, 1850, 309, 261, 1636, 5058, 18, 1467, 1435, 422, 404, 13, 288, 6647, 202, 2088, 273, 1956, 1304, 18, 2463, 668, 12, 1636, 5058, 18, 588, 12, 20, 2934, 10492, 10663, 1850, 289, 469, 309, 261, 1636, 5058, 18, 1467, 1435, 405, 374, 13, 288, 6647, 202, 2088, 273, 1956, 1304, 18, 2463, 668, 12, 1636, 5058, 1769, 1850, 289, 469, 288, 6647, 202, 2088, 273, 1956, 1304, 18, 2463, 4510, 5621, 1850, 289, 1850, 327, 563, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1635, 444, 1564, 1182, 15578, 12, 4921, 24316, 4649, 16, 8159, 24316, 4436, 13, 288, 1850, 987, 22241, 273, 394, 2407, 5621, 1850, 1635, 563, 273, 446, 31, 1850, 514, 12412, 273, 446, 31, 1850, 309, 261, 2211, 18, 11848, 480, 446, 597, 333, 18, 11848, 18, 1467, 1435, 405, 374, 13, 288, 6647, 202, 2211, 18, 11848, 18, 542, 26358, 4649, 1626, 12, 3261, 4649, 1769, 6647, 202, 2211, 18, 11848, 18, 542, 26358, 4436, 1626, 12, 3261, 4436, 1769, 1850, 289, 469, 288, 6647, 202, 370, 3332, 273, 3564, 2297, 18, 24906, 12, 3146, 10837, 1893, 4759, 18, 2135, 67, 3319, 67, 267, 67, 11848, 3113, 4766, 5397, 261, 11848, 480, 446, 692, 7035, 18, 2 ]
MavenExecutionResponse response = processProject( request, project, dispatcher );
MavenExecutionResponse response = processProject( session, goals, project, dispatcher );
public MavenExecutionResponse execute( MavenExecutionRequest request ) throws ReactorException { if ( request.getSettings().isOffline() ) { getLogger().info( "Maven is running in offline mode." ); } try { resolveParameters( request.getSettings() ); } catch ( ComponentLookupException e ) { throw new ReactorException( "Unable to configure Maven for execution", e ); } catch ( ComponentLifecycleException e ) { throw new ReactorException( "Unable to configure Maven for execution", e ); } EventDispatcher dispatcher = request.getEventDispatcher(); String event = MavenEvents.REACTOR_EXECUTION; dispatcher.dispatchStart( event, request.getBaseDirectory() ); List projects; try { projects = collectProjects( request.getFiles(), request.getLocalRepository(), request.isRecursive(), request.getSettings() ); projects = ProjectSorter.getSortedProjects( projects ); if ( projects.isEmpty() ) { List externalProfiles = getActiveExternalProfiles( null, request.getSettings() ); projects.add( projectBuilder.buildStandaloneSuperProject( request.getLocalRepository(), externalProfiles ) ); } } catch ( IOException e ) { throw new ReactorException( "Error processing projects for the reactor: ", e ); } catch ( CycleDetectedException e ) { throw new ReactorException( "Error processing projects for the reactor: ", e ); } catch ( ArtifactResolutionException e ) { dispatcher.dispatchError( event, request.getBaseDirectory(), e ); MavenExecutionResponse response = new MavenExecutionResponse(); response.setStart( new Date() ); response.setFinish( new Date() ); response.setException( e ); logFailure( response, e, null ); return response; } catch ( ProjectBuildingException e ) { dispatcher.dispatchError( event, request.getBaseDirectory(), e ); MavenExecutionResponse response = new MavenExecutionResponse(); response.setStart( new Date() ); response.setFinish( new Date() ); response.setException( e ); logFailure( response, e, null ); return response; } try { for ( Iterator iterator = projects.iterator(); iterator.hasNext(); ) { MavenProject project = (MavenProject) iterator.next(); line(); getLogger().info( "Building " + project.getName() ); line(); try { MavenExecutionResponse response = processProject( request, project, dispatcher ); if ( response.isExecutionFailure() ) { dispatcher.dispatchError( event, request.getBaseDirectory(), response.getException() ); return response; } } catch ( LifecycleExecutionException e ) { throw new ReactorException( "Error executing project within the reactor", e ); } } dispatcher.dispatchEnd( event, request.getBaseDirectory() ); // TODO: not really satisfactory return null; } catch ( ReactorException e ) { dispatcher.dispatchError( event, request.getBaseDirectory(), e ); throw e; } }
1315 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1315/701ef520a30c7b30dcdf2e4a4f06548cc06fbf0b/DefaultMaven.java/clean/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 17176, 3210, 1064, 1836, 12, 17176, 3210, 691, 590, 262, 3639, 1216, 868, 3362, 503, 565, 288, 3639, 309, 261, 590, 18, 588, 2628, 7675, 291, 23106, 1435, 262, 3639, 288, 5411, 7156, 7675, 1376, 12, 315, 49, 7638, 353, 3549, 316, 13493, 1965, 1199, 11272, 3639, 289, 3639, 775, 3639, 288, 5411, 2245, 2402, 12, 590, 18, 588, 2628, 1435, 11272, 3639, 289, 3639, 1044, 261, 5435, 6609, 503, 425, 262, 3639, 288, 5411, 604, 394, 868, 3362, 503, 12, 315, 3370, 358, 5068, 17176, 364, 4588, 3113, 425, 11272, 3639, 289, 3639, 1044, 261, 5435, 9977, 503, 425, 262, 3639, 288, 5411, 604, 394, 868, 3362, 503, 12, 315, 3370, 358, 5068, 17176, 364, 4588, 3113, 425, 11272, 3639, 289, 3639, 31153, 7393, 273, 590, 18, 588, 1133, 6681, 5621, 3639, 514, 871, 273, 17176, 3783, 18, 862, 6526, 916, 67, 15271, 13269, 31, 3639, 7393, 18, 10739, 1685, 12, 871, 16, 590, 18, 588, 2171, 2853, 1435, 11272, 3639, 987, 10137, 31, 3639, 775, 3639, 288, 5411, 10137, 273, 3274, 15298, 12, 590, 18, 588, 2697, 9334, 590, 18, 588, 2042, 3305, 9334, 590, 18, 291, 10483, 9334, 4766, 3639, 590, 18, 588, 2628, 1435, 11272, 5411, 10137, 273, 5420, 24952, 18, 588, 11739, 15298, 12, 10137, 11272, 5411, 309, 261, 10137, 18, 291, 1921, 1435, 262, 5411, 288, 7734, 987, 3903, 12450, 273, 11960, 6841, 12450, 12, 446, 16, 590, 18, 588, 2628, 1435, 11272, 7734, 10137, 18, 1289, 12, 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, 17176, 3210, 1064, 1836, 12, 17176, 3210, 691, 590, 262, 3639, 1216, 868, 3362, 503, 565, 288, 3639, 309, 261, 590, 18, 588, 2628, 7675, 291, 23106, 1435, 262, 3639, 288, 5411, 7156, 7675, 1376, 12, 315, 49, 7638, 353, 3549, 316, 13493, 1965, 1199, 11272, 3639, 289, 3639, 775, 3639, 288, 5411, 2245, 2402, 12, 590, 18, 588, 2628, 1435, 11272, 3639, 289, 3639, 1044, 261, 5435, 6609, 503, 425, 262, 3639, 288, 5411, 604, 394, 868, 3362, 503, 12, 315, 3370, 358, 5068, 17176, 364, 4588, 3113, 425, 11272, 3639, 289, 3639, 1044, 261, 5435, 9977, 503, 425, 262, 3639, 288, 5411, 604, 394, 868, 3362, 503, 12, 315, 3370, 358, 5068, 17176, 364, 4588, 2 ]
manager = CacheManager.create(); cache = new Cache(CACHE_NAME, Integer.MAX_VALUE, false, false, minutesToIdle * 60, minutesToIdle * 60); manager.addCache(cache);
public void afterPropertiesSet() throws Exception { if (CacheManager.getInstance().cacheExists(CACHE_NAME)) { CacheManager.getInstance().removeCache(CACHE_NAME); } manager = CacheManager.create(); // Cache name, max memory, overflowToDisk, eternal, timeToLive, timeToIdle cache = new Cache(CACHE_NAME, Integer.MAX_VALUE, false, false, minutesToIdle * 60, minutesToIdle * 60); manager.addCache(cache); }
57740 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57740/3648073461474b43e108b9969549f2648feb3e07/EhCacheBasedTicketCache.java/buggy/core/src/main/java/org/acegisecurity/providers/cas/cache/EhCacheBasedTicketCache.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1839, 2297, 694, 1435, 1216, 1185, 288, 3639, 309, 261, 27706, 18, 588, 1442, 7675, 2493, 4002, 12, 8495, 67, 1985, 3719, 288, 5411, 4379, 1318, 18, 588, 1442, 7675, 4479, 1649, 12, 8495, 67, 1985, 1769, 3639, 289, 3639, 3301, 273, 4379, 1318, 18, 2640, 5621, 3639, 368, 4379, 508, 16, 943, 3778, 16, 9391, 774, 6247, 16, 225, 847, 82, 287, 16, 23813, 12328, 16, 23813, 13834, 3639, 1247, 273, 394, 4379, 12, 8495, 67, 1985, 16, 2144, 18, 6694, 67, 4051, 16, 629, 16, 629, 16, 7734, 6824, 774, 13834, 380, 4752, 16, 6824, 774, 13834, 380, 4752, 1769, 3639, 3301, 18, 1289, 1649, 12, 2493, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1839, 2297, 694, 1435, 1216, 1185, 288, 3639, 309, 261, 27706, 18, 588, 1442, 7675, 2493, 4002, 12, 8495, 67, 1985, 3719, 288, 5411, 4379, 1318, 18, 588, 1442, 7675, 4479, 1649, 12, 8495, 67, 1985, 1769, 3639, 289, 3639, 3301, 273, 4379, 1318, 18, 2640, 5621, 3639, 368, 4379, 508, 16, 943, 3778, 16, 9391, 774, 6247, 16, 225, 847, 82, 287, 16, 23813, 12328, 16, 23813, 13834, 3639, 1247, 273, 394, 4379, 12, 8495, 67, 1985, 16, 2144, 18, 6694, 67, 4051, 16, 629, 16, 629, 16, 7734, 6824, 774, 13834, 380, 4752, 16, 6824, 774, 13834, 380, 4752, 1769, 3639, 3301, 18, 1289, 1649, 12, 2493, 1769, 565, 289, 2, -100, -100, -100, -100 ]
return MOVE_FOLDED;
return DefUseEffect.MOVE_FOLDED;
private static byte instanceOfNotNull(OPT_Instruction s) { { OPT_Operand ref = InstanceOf.getRef(s); VM_TypeReference lhsType = InstanceOf.getType(s).getTypeRef(); VM_TypeReference rhsType = ref.getType(); byte ans = OPT_ClassLoaderProxy.includesType(lhsType, rhsType); if (ans == OPT_Constants.YES) { Move.mutate(s, INT_MOVE, InstanceOf.getClearResult(s), IC(1)); return MOVE_FOLDED; } else if (ans == OPT_Constants.NO) { VM_Type rType = rhsType.peekResolvedType(); if (rType != null && rType.isClassType() && rType.asClass().isFinal()) { // only final (or precise) rhs types can be optimized since rhsType may be conservative Move.mutate(s, INT_MOVE, InstanceOf.getClearResult(s), IC(0)); return MOVE_FOLDED; } } } return UNCHANGED; }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/eb4369b6f8fdd0cd15c56bc3cbfa8673171db226/OPT_Simplifier.java/clean/rvm/src/com/ibm/jikesrvm/opt/OPT_Simplifier.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 1160, 28397, 5962, 12, 15620, 67, 11983, 272, 13, 288, 282, 288, 1377, 16456, 67, 10265, 1278, 273, 5180, 951, 18, 588, 1957, 12, 87, 1769, 1377, 8251, 67, 7534, 8499, 559, 273, 5180, 951, 18, 588, 559, 12, 87, 2934, 588, 25950, 5621, 1377, 8251, 67, 7534, 7711, 559, 273, 1278, 18, 588, 559, 5621, 1377, 1160, 4152, 273, 16456, 67, 7805, 3886, 18, 18499, 559, 12, 80, 4487, 559, 16, 7711, 559, 1769, 1377, 309, 261, 634, 422, 16456, 67, 2918, 18, 29081, 13, 288, 3639, 9933, 18, 10735, 340, 12, 87, 16, 6137, 67, 16537, 16, 5180, 951, 18, 588, 9094, 1253, 12, 87, 3631, 26899, 12, 21, 10019, 3639, 327, 10922, 3727, 12477, 18, 16537, 67, 42, 1741, 7660, 31, 1377, 289, 469, 309, 261, 634, 422, 16456, 67, 2918, 18, 3417, 13, 288, 3639, 8251, 67, 559, 436, 559, 273, 7711, 559, 18, 347, 3839, 12793, 559, 5621, 3639, 309, 261, 86, 559, 480, 446, 597, 436, 559, 18, 291, 18328, 1435, 597, 436, 559, 18, 345, 797, 7675, 291, 7951, 10756, 288, 1850, 368, 1338, 727, 261, 280, 31293, 13, 7711, 1953, 848, 506, 15411, 3241, 7711, 559, 2026, 506, 356, 23039, 1535, 1850, 9933, 18, 10735, 340, 12, 87, 16, 6137, 67, 16537, 16, 5180, 951, 18, 588, 9094, 1253, 12, 87, 3631, 26899, 12, 20, 10019, 1850, 327, 10922, 3727, 12477, 18, 16537, 67, 42, 1741, 7660, 31, 3639, 289, 1377, 289, 565, 289, 565, 327, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 1160, 28397, 5962, 12, 15620, 67, 11983, 272, 13, 288, 282, 288, 1377, 16456, 67, 10265, 1278, 273, 5180, 951, 18, 588, 1957, 12, 87, 1769, 1377, 8251, 67, 7534, 8499, 559, 273, 5180, 951, 18, 588, 559, 12, 87, 2934, 588, 25950, 5621, 1377, 8251, 67, 7534, 7711, 559, 273, 1278, 18, 588, 559, 5621, 1377, 1160, 4152, 273, 16456, 67, 7805, 3886, 18, 18499, 559, 12, 80, 4487, 559, 16, 7711, 559, 1769, 1377, 309, 261, 634, 422, 16456, 67, 2918, 18, 29081, 13, 288, 3639, 9933, 18, 10735, 340, 12, 87, 16, 6137, 67, 16537, 16, 5180, 951, 18, 588, 9094, 1253, 12, 87, 3631, 26899, 12, 21, 10019, 3639, 327, 10922, 3727, 2 ]
}
}
private void setValueMembers(org.omg.CORBA.ValueMember[] members) { member_count = (members != null) ? members.length : 0; member_name = new String[member_count]; member_type = new TypeCode[member_count]; member_visibility = new short[member_count]; for( int i = 0; i < member_count; i++ ) { member_name[i] = members[i].name; member_type[i] = (TypeCode)members[i].type; member_visibility[i] = members[i].access; } }
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/7271c3cbb78470b90b072d36661a5ab67199cc91/TypeCode.java/buggy/src/org/jacorb/orb/TypeCode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5524, 6918, 12, 3341, 18, 362, 75, 18, 9428, 12536, 18, 620, 4419, 8526, 4833, 13, 565, 288, 3639, 3140, 67, 1883, 273, 261, 7640, 480, 446, 13, 692, 4833, 18, 2469, 294, 374, 31, 3639, 3140, 67, 529, 273, 394, 514, 63, 5990, 67, 1883, 15533, 3639, 3140, 67, 723, 273, 394, 30332, 63, 5990, 67, 1883, 15533, 3639, 3140, 67, 14422, 273, 394, 3025, 63, 5990, 67, 1883, 15533, 3639, 364, 12, 509, 277, 273, 374, 31, 277, 411, 3140, 67, 1883, 31, 277, 9904, 262, 3639, 288, 5411, 3140, 67, 529, 63, 77, 65, 273, 4833, 63, 77, 8009, 529, 31, 5411, 3140, 67, 723, 63, 77, 65, 273, 261, 15460, 13, 7640, 63, 77, 8009, 723, 31, 5411, 3140, 67, 14422, 63, 77, 65, 273, 4833, 63, 77, 8009, 3860, 31, 3639, 289, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5524, 6918, 12, 3341, 18, 362, 75, 18, 9428, 12536, 18, 620, 4419, 8526, 4833, 13, 565, 288, 3639, 3140, 67, 1883, 273, 261, 7640, 480, 446, 13, 692, 4833, 18, 2469, 294, 374, 31, 3639, 3140, 67, 529, 273, 394, 514, 63, 5990, 67, 1883, 15533, 3639, 3140, 67, 723, 273, 394, 30332, 63, 5990, 67, 1883, 15533, 3639, 3140, 67, 14422, 273, 394, 3025, 63, 5990, 67, 1883, 15533, 3639, 364, 12, 509, 277, 273, 374, 31, 277, 411, 3140, 67, 1883, 31, 277, 9904, 262, 3639, 288, 5411, 3140, 67, 529, 63, 77, 65, 273, 4833, 63, 77, 8009, 529, 31, 5411, 3140, 67, 723, 63, 77, 65, 273, 261, 15460, 13, 7640, 2 ]
SetCurrentEditModelCommand c = new SetCurrentEditModelCommand( getNewObject() );
SetCurrentEditModelCommand c = new SetCurrentEditModelCommand( getNewObject(),LibraryHandleAdapter.CREATE_ELEMENT );
protected org.eclipse.gef.commands.Command getCreateCommand( CreateRequest request ) { List list = getHost( ).getChildren( ); Boolean direct = (Boolean) request.getExtendedData( ).get( DesignerConstants.DIRECT_CREATEITEM ); if ( list.size( ) != 0 && !( list.get( 0 ) instanceof EmptyEditPart ) && (direct == null || !direct.booleanValue( ))) { return UnexecutableCommand.INSTANCE; } // EditPart after = getInsertionReference( request );// final DesignElementHandle newObject = (DesignElementHandle) request.getExtendedData( )// .get( DesignerConstants.KEY_NEWOBJECT ); CreateCommand command = new CreateCommand( request.getExtendedData( ) ) { public void execute( ) { super.execute( ); Display.getCurrent( ) .asyncExec( new Runnable( ) { public void run( ) { SetCurrentEditModelCommand c = new SetCurrentEditModelCommand( getNewObject() ); c.execute( ); } } ); } }; Object model = this.getHost( ).getModel( ); if ( model instanceof ReportElementModel ) { command.setParent( ( (ReportElementModel) model ).getSlotHandle( ) ); } else if ( model instanceof ListBandProxy ) { command.setParent( ( (ListBandProxy) model ).getSlotHandle( ) ); } else { command.setParent( model ); } // No previous edit part // if ( after != null ) // { // command.setAfter( after.getModel( ) ); // } return command; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/d280151a56995a114d6763867c3153a929db34ad/LibraryReportDesignEditPart.java/buggy/UI/org.eclipse.birt.report.designer.ui.lib/src/org/eclipse/birt/report/designer/internal/lib/editparts/LibraryReportDesignEditPart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 1117, 2358, 18, 20416, 18, 908, 74, 18, 7847, 18, 2189, 25667, 2189, 12, 6862, 1082, 202, 1684, 691, 590, 262, 6862, 202, 95, 25083, 202, 682, 666, 273, 8580, 12, 262, 18, 588, 4212, 12, 11272, 25083, 202, 5507, 2657, 273, 261, 5507, 13, 590, 18, 588, 11456, 751, 12, 262, 18, 588, 12, 29703, 264, 2918, 18, 17541, 67, 9344, 12674, 11272, 25083, 202, 430, 261, 666, 18, 1467, 12, 262, 480, 374, 6862, 9506, 202, 10, 10, 401, 12, 666, 18, 588, 12, 374, 262, 1276, 8953, 4666, 1988, 262, 20982, 202, 10, 10, 225, 261, 7205, 422, 446, 747, 17322, 202, 401, 7205, 18, 6494, 620, 12, 262, 3719, 25083, 202, 95, 6862, 1082, 202, 2463, 1351, 17751, 2189, 18, 13341, 31, 25083, 202, 97, 25083, 202, 759, 15328, 1988, 1839, 273, 336, 29739, 2404, 12, 590, 11272, 759, 25083, 202, 6385, 29703, 1046, 3259, 24518, 273, 261, 15478, 1046, 3259, 13, 590, 18, 588, 11456, 751, 12, 262, 759, 6862, 9506, 202, 18, 588, 12, 29703, 264, 2918, 18, 3297, 67, 12917, 9422, 11272, 6862, 6862, 9506, 202, 1684, 2189, 1296, 273, 394, 1788, 2189, 12, 590, 18, 588, 11456, 751, 12, 262, 262, 9944, 202, 95, 6862, 1082, 202, 482, 918, 1836, 12, 262, 6862, 1082, 202, 95, 6862, 9506, 202, 9565, 18, 8837, 12, 11272, 6862, 9506, 202, 4236, 18, 588, 3935, 12, 262, 6862, 25083, 202, 18, 3810, 1905, 12, 394, 10254, 12, 262, 288, 6862, 6862, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 1117, 2358, 18, 20416, 18, 908, 74, 18, 7847, 18, 2189, 25667, 2189, 12, 6862, 1082, 202, 1684, 691, 590, 262, 6862, 202, 95, 25083, 202, 682, 666, 273, 8580, 12, 262, 18, 588, 4212, 12, 11272, 25083, 202, 5507, 2657, 273, 261, 5507, 13, 590, 18, 588, 11456, 751, 12, 262, 18, 588, 12, 29703, 264, 2918, 18, 17541, 67, 9344, 12674, 11272, 25083, 202, 430, 261, 666, 18, 1467, 12, 262, 480, 374, 6862, 9506, 202, 10, 10, 401, 12, 666, 18, 588, 12, 374, 262, 1276, 8953, 4666, 1988, 262, 20982, 202, 10, 10, 225, 261, 7205, 422, 446, 747, 17322, 202, 401, 7205, 18, 6494, 620, 12, 262, 3719, 25083, 202, 95, 6862, 2 ]
message = REZ.getString( "property.no-value.error" ); executeTargetExpectError( projectFile, "missing-value", message );
messages = new String[] { null, REZ.getString( "property.no-value.error" ) }; executeTargetExpectError( projectFile, "missing-value", messages );
public void testValidation() throws Exception { final File projectFile = getTestResource( "property.ant" ); // Missing name String message = REZ.getString( "property.no-name.error" ); executeTargetExpectError( projectFile, "missing-name", message ); // Missing value message = REZ.getString( "property.no-value.error" ); executeTargetExpectError( projectFile, "missing-value", message ); // Too many values String[] messages = { null, null, REZ.getString( "property.multi-set.error" ) }; executeTargetExpectError( projectFile, "too-many-values1", messages ); executeTargetExpectError( projectFile, "too-many-values2", messages ); }
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/5b87919be6a8db15efe30f2de6e617aba31ef619/PropertyTest.java/buggy/proposal/myrmidon/src/testcases/org/apache/antlib/core/PropertyTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 4354, 1435, 3639, 1216, 1185, 565, 288, 3639, 727, 1387, 1984, 812, 273, 29384, 1420, 12, 315, 4468, 18, 970, 6, 11272, 3639, 368, 10230, 508, 3639, 514, 883, 273, 2438, 62, 18, 588, 780, 12, 315, 4468, 18, 2135, 17, 529, 18, 1636, 6, 11272, 3639, 1836, 2326, 11988, 668, 12, 1984, 812, 16, 315, 7337, 17, 529, 3113, 883, 11272, 3639, 368, 10230, 460, 3639, 883, 273, 2438, 62, 18, 588, 780, 12, 315, 4468, 18, 2135, 17, 1132, 18, 1636, 6, 11272, 3639, 1836, 2326, 11988, 668, 12, 1984, 812, 16, 315, 7337, 17, 1132, 3113, 883, 11272, 3639, 368, 15869, 4906, 924, 3639, 514, 8526, 2743, 273, 288, 5411, 446, 16, 5411, 446, 16, 5411, 2438, 62, 18, 588, 780, 12, 315, 4468, 18, 7027, 17, 542, 18, 1636, 6, 262, 3639, 289, 31, 3639, 1836, 2326, 11988, 668, 12, 1984, 812, 16, 315, 16431, 17, 9353, 17, 2372, 21, 3113, 2743, 11272, 3639, 1836, 2326, 11988, 668, 12, 1984, 812, 16, 315, 16431, 17, 9353, 17, 2372, 22, 3113, 2743, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 4354, 1435, 3639, 1216, 1185, 565, 288, 3639, 727, 1387, 1984, 812, 273, 29384, 1420, 12, 315, 4468, 18, 970, 6, 11272, 3639, 368, 10230, 508, 3639, 514, 883, 273, 2438, 62, 18, 588, 780, 12, 315, 4468, 18, 2135, 17, 529, 18, 1636, 6, 11272, 3639, 1836, 2326, 11988, 668, 12, 1984, 812, 16, 315, 7337, 17, 529, 3113, 883, 11272, 3639, 368, 10230, 460, 3639, 883, 273, 2438, 62, 18, 588, 780, 12, 315, 4468, 18, 2135, 17, 1132, 18, 1636, 6, 11272, 3639, 1836, 2326, 11988, 668, 12, 1984, 812, 16, 315, 7337, 17, 1132, 3113, 883, 11272, 3639, 368, 15869, 4906, 924, 3639, 514, 8526, 2743, 273, 288, 5411, 446, 16, 2 ]
int index = getIndex(namespaceURI, qualifiedName); if (index<0) {
boolean found = false; for (int i = 0; i < attrsEnd; i++) { AttrImpl attr = (AttrImpl)m_children[i]; if (attr.getLocalName().equals(attrImpl.getLocalName()) && attr.getNamespaceURI().equals(attrImpl.getNamespaceURI())) { m_children[i] = attrImpl; found = true; break; } } if (!found) {
public Attr createAttributeNS(String namespaceURI, String qualifiedName) throws DOMException { // System.out.println("qualifiedName: "+qualifiedName); AttrImplNS attrImpl = new AttrImplNS(namespaceURI, qualifiedName, ""); int index = getIndex(namespaceURI, qualifiedName); if (index<0) { appendChild(attrImpl); attrsEnd++; } else m_children[index] = attrImpl; return (Attr)attrImpl; }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/403d05e3a5696c2205daae1562647b66950ac9d5/ElementImpl.java/clean/src/org/apache/xalan/stree/ElementImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 11289, 9079, 752, 1499, 3156, 12, 780, 19421, 16, 4766, 2868, 514, 24133, 13, 565, 1216, 4703, 503, 225, 288, 565, 368, 2332, 18, 659, 18, 8222, 2932, 19724, 461, 30, 13773, 19724, 461, 1769, 565, 11289, 2828, 3156, 1604, 2828, 273, 394, 11289, 2828, 3156, 12, 4937, 3098, 16, 24133, 16, 1408, 1769, 565, 509, 770, 273, 8088, 12, 4937, 3098, 16, 24133, 1769, 565, 309, 261, 1615, 32, 20, 13, 565, 288, 3639, 5833, 12, 1747, 2828, 1769, 1377, 3422, 1638, 9904, 31, 565, 289, 1377, 469, 1377, 312, 67, 5906, 63, 1615, 65, 273, 1604, 2828, 31, 565, 327, 261, 3843, 13, 1747, 2828, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 11289, 9079, 752, 1499, 3156, 12, 780, 19421, 16, 4766, 2868, 514, 24133, 13, 565, 1216, 4703, 503, 225, 288, 565, 368, 2332, 18, 659, 18, 8222, 2932, 19724, 461, 30, 13773, 19724, 461, 1769, 565, 11289, 2828, 3156, 1604, 2828, 273, 394, 11289, 2828, 3156, 12, 4937, 3098, 16, 24133, 16, 1408, 1769, 565, 509, 770, 273, 8088, 12, 4937, 3098, 16, 24133, 1769, 565, 309, 261, 1615, 32, 20, 13, 565, 288, 3639, 5833, 12, 1747, 2828, 1769, 1377, 3422, 1638, 9904, 31, 565, 289, 1377, 469, 1377, 312, 67, 5906, 63, 1615, 65, 273, 1604, 2828, 31, 565, 327, 261, 3843, 13, 1747, 2828, 31, 1377, 289, 2, -100, -100, -100, -100, -100, -100, -100 ]
if (super.checkParameters(req, res, params) == false) {
if (super.checkParameters(req, res, params) == false){
public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { // Lets validate the session, e.g has the user logged in to Janus? //mste kolla s att metoden funkar i ChatBase if (super.checkSession(req,res) == false) return ; // Lets get the standard SESSION parameters and validate them //mste ox kollas s att de funkar Properties params = this.getSessionParameters(req) ; if (params == null) { log("the params was null so return"); return; } //log("params :"+params); if (super.checkParameters(req, res, params) == false) { log("return i checkparameters"); return ; } // Lets get the user object //mste kolla s att metoden funkar i ChatBase imcode.server.User user = super.getUserObj(req,res) ; if(user == null) return ; if ( !isUserAuthorized( req, res, user ) ) { log("user not authorized"); return; } // Lets get serverinformation String host = req.getHeader("Host") ; String imcServer = Utility.getDomainPref("userserver",host) ; String confPoolServer = Utility.getDomainPref("chat_server",host) ; // Lets get the url to the servlets directory //mste kolla s att det r till rtt server String servletHome = MetaInfo.getServletPath(req) ; servletHome += "ChatBoard"; // Lets get parameters String metaId = params.getProperty("META_ID") ; //log("metaId = "+metaId); // int metaId = Integer.parseInt( metaId ); String aChatId = params.getProperty("CHAT_ID") ;//=id strngen fr chatten ???? // log("aChatId = "+aChatId); HttpSession session = req.getSession(false) ; ServletContext myContext = getServletContext(); //ok lets get the settings //this buffer is used to store all the msgs to send to the page StringBuffer sendMsgString = new StringBuffer(""); String chatRefresh = ""; //ok let's get all the messages and add them into the buffer if (true)//(req.getParameter("ROOM_ID") != null ) { //log("nu r vi inne"); if(session == null) { log("session was null so return"); return; } ChatMember myMember = (ChatMember)session.getValue("theChatMember"); if (myMember==null) { log("membern was null so return"); return; } Chat myChat = myMember.getMyParent(); if (myChat==null) { log("myChat was null so return"); return; } ChatGroup myGrupp = myMember.getMyGroup(); if (myGrupp==null) { log("myGrupp was null so return"); return; } File templetUrl = super.getExternalTemplateFolder(req); HtmlGenerator generator = new HtmlGenerator(templetUrl,HTML_LINE); //lets get all the settings for this page Hashtable theSettings = (Hashtable) session.getValue("ChatBoardHashTable"); if (theSettings == null) { log("chatHashTable was null so return"); return; } //lets get it all out from it boolean dateOn = ((Boolean)theSettings.get("dateTimeBoolean")).booleanValue(); boolean publicMsg = ((Boolean)theSettings.get("publicMsgBoolean")).booleanValue(); boolean privateMsg = ((Boolean)theSettings.get("privateMsgBoolean")).booleanValue(); boolean autoReload = ((Boolean)theSettings.get("reloadBoolean")).booleanValue(); boolean inOut = ((Boolean)theSettings.get("inOutBoolean")).booleanValue(); int fontSizeInt = ((Integer)theSettings.get("fontSizeInteger")).intValue(); //log("%%%= "+ fontSizeInt); String time = ((Integer)theSettings.get("reloadInteger")).toString(); //log("reload"+time); String fontSize = Integer.toString(fontSizeInt); //log("autoReload = "+autoReload); //lets set up the autoreload or not if (autoReload) { chatRefresh = "<META HTTP-EQUIV=\"Refresh\" CONTENT=\""+time+";URL="+servletHome +"\">"; } //lets get the ignore-list //doesnt have one yet int lastMsgInt = myMember.getLastMsgNr(); //let's get all the messages ListIterator msgIter = myMember.getMessages(); Vector dataV = new Vector(); //lets fix the html-string containing all messags while(msgIter.hasNext()) { VariableManager vm = new VariableManager(); boolean parse = false; ChatMsg tempMsg = (ChatMsg) msgIter.next(); //must check if it is a public msg if (tempMsg.getMsgType() == 101) { if (privateMsg)//show private messages { if (tempMsg.getReciever() == myMember.getUserId())//ok it's to mee { vm.addProperty("color","Green"); vm.addProperty("size",fontSize); if (dateOn)//show dateTime { vm.addProperty("date",tempMsg.getDateTime()); } else { vm.addProperty("date",""); } vm.addProperty("sender",tempMsg.getSenderStr()); vm.addProperty("msgType",tempMsg.getMsgTypeStr()); vm.addProperty("reciever",tempMsg.getRecieverStr()); vm.addProperty("message",tempMsg.getMessage() ); parse = true; }else if(tempMsg.getSender()== myMember.getUserId())//it's was I who sent it { vm.addProperty("color","Blue"); vm.addProperty("size",fontSize); if (dateOn)//show dateTime { vm.addProperty("date",tempMsg.getDateTime()); } else { vm.addProperty("date",""); } vm.addProperty("sender",tempMsg.getSenderStr()); vm.addProperty("msgType",tempMsg.getMsgTypeStr()); vm.addProperty("reciever",tempMsg.getRecieverStr()); vm.addProperty("message",tempMsg.getMessage() ); parse = true; } }//end privateMsg }else //it was a public message { if (tempMsg.getMsgType() == CHAT_ENTER_LEAVE_INT)//it's a enter/leave msg { if (inOut)//show enter/leave messages { vm.addProperty("color","Black"); vm.addProperty("size",fontSize); if (dateOn)//show dateTime { vm.addProperty("date",tempMsg.getDateTime()); } else { vm.addProperty("date",""); } vm.addProperty("sender",tempMsg.getSenderStr()); vm.addProperty("msgType",tempMsg.getMsgTypeStr()); vm.addProperty("reciever",tempMsg.getRecieverStr()); vm.addProperty("message",tempMsg.getMessage() ); parse = true; } }else { if (true)//(publicMsg)//show public messages { vm.addProperty("color","Black"); vm.addProperty("size",fontSize); if (dateOn)//show dateTime { vm.addProperty("date",tempMsg.getDateTime()); } else { vm.addProperty("date",""); } vm.addProperty("sender",tempMsg.getSenderStr()); vm.addProperty("msgType",tempMsg.getMsgTypeStr()); vm.addProperty("reciever",tempMsg.getRecieverStr()); vm.addProperty("message",tempMsg.getMessage() ); parse = true; } } }//end it was a public message //lets parse this line if (parse) { sendMsgString.append(generator.createHtmlString(vm, req)+"<br>\n"); if (lastMsgInt == tempMsg.getIdNumber()) { sendMsgString.append("<a name='#bottom'></a><hr>\n"); } } }//end while loop }//end if (req.getParameter("ROOM_ID") != null ) res.setHeader("Cashe-Control","no-cache"); res.setHeader("Pragma","no-cache"); //<META HTTP-EQUIV="Refresh" CONTENT="3;URL=http://www.????.com"> //log("chatRefresh = "+chatRefresh); VariableManager vm = new VariableManager() ; vm.addProperty("CHAT_REFRESH", chatRefresh); vm.addProperty("CHAT_MESSAGES", sendMsgString.toString() ); this.sendHtml(req,res,vm, HTML_TEMPLATE) ; // this.showSession(req) ; //log("ChatBoard doGet r frdig") ; } //*** end DoGet ***** end doGet ***** end doGet ***** end doGet ***
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/430d9ed54a9461e77ea6e2de9ce4a477357217e2/ChatBoard.java/buggy/servlets/chat/ChatBoard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 23611, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 202, 15069, 16517, 16, 1860, 202, 95, 202, 202, 759, 511, 2413, 1954, 326, 1339, 16, 425, 18, 75, 711, 326, 729, 7545, 316, 358, 23214, 407, 35, 202, 202, 759, 27523, 73, 417, 355, 11821, 272, 2403, 5100, 369, 275, 284, 1683, 297, 277, 16903, 2171, 202, 202, 430, 261, 9565, 18, 1893, 2157, 12, 3658, 16, 455, 13, 422, 629, 13, 202, 2463, 274, 202, 202, 759, 511, 2413, 336, 326, 4529, 10307, 1472, 471, 1954, 2182, 202, 202, 759, 27523, 73, 6965, 417, 355, 9521, 272, 2403, 443, 284, 1683, 297, 202, 202, 2297, 859, 273, 333, 18, 588, 2157, 2402, 12, 3658, 13, 274, 202, 202, 430, 261, 2010, 422, 446, 13, 202, 202, 95, 1082, 202, 1330, 2932, 5787, 859, 1703, 446, 1427, 327, 8863, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 759, 1330, 2932, 2010, 20514, 15, 2010, 1769, 202, 202, 430, 261, 9565, 18, 1893, 2402, 12, 3658, 16, 400, 16, 859, 13, 422, 629, 13, 202, 202, 95, 1082, 202, 1330, 2932, 2463, 277, 866, 3977, 8863, 1082, 202, 2463, 274, 202, 202, 97, 202, 202, 759, 511, 2413, 336, 326, 729, 733, 202, 202, 759, 27523, 73, 417, 355, 11821, 272, 2403, 5100, 369, 275, 284, 1683, 297, 277, 16903, 2171, 202, 202, 381, 710, 18, 3567, 18, 1299, 729, 273, 2240, 18, 588, 1299, 2675, 12, 3658, 16, 455, 13, 274, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 23611, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 202, 15069, 16517, 16, 1860, 202, 95, 202, 202, 759, 511, 2413, 1954, 326, 1339, 16, 425, 18, 75, 711, 326, 729, 7545, 316, 358, 23214, 407, 35, 202, 202, 759, 27523, 73, 417, 355, 11821, 272, 2403, 5100, 369, 275, 284, 1683, 297, 277, 16903, 2171, 202, 202, 430, 261, 9565, 18, 1893, 2157, 12, 3658, 16, 455, 13, 422, 629, 13, 202, 2463, 274, 202, 202, 759, 511, 2413, 336, 326, 4529, 10307, 1472, 471, 1954, 2182, 202, 202, 759, 27523, 73, 6965, 417, 355, 9521, 272, 2403, 443, 284, 1683, 297, 202, 202, 2297, 859, 273, 333, 18, 588, 2157, 2402, 12, 3658, 2 ]
final MondrianProperties properties = MondrianProperties.instance(); Test test = suite(); if (properties.getWarmup()) { System.out.println("Starting warmup run..."); MondrianTestRunner runner = new MondrianTestRunner(); TestResult tres = runner.doRun(test); if (!tres.wasSuccessful()) { System.out.println("Warmup run failed. Regular tests will not be run."); System.exit(1); } System.out.println("Warmup run complete. Starting regular run..."); } MondrianTestRunner runner = new MondrianTestRunner(); runner.setIterations(properties.getIterations()); runner.setVUsers(properties.getVUsers()); runner.setTimeLimit(properties.getTimeLimit());
final MondrianProperties properties = MondrianProperties.instance(); Test test = suite(); if (properties.getWarmup()) { System.out.println("Starting warmup run..."); MondrianTestRunner runner = new MondrianTestRunner(); TestResult tres = runner.doRun(test); if (!tres.wasSuccessful()) { System.out.println("Warmup run failed. Regular tests will not be run."); System.exit(1); } System.out.println("Warmup run complete. Starting regular run..."); } MondrianTestRunner runner = new MondrianTestRunner(); runner.setIterations(properties.getIterations()); runner.setVUsers(properties.getVUsers()); runner.setTimeLimit(properties.getTimeLimit());
void run(String[] args) throws Exception { final MondrianProperties properties = MondrianProperties.instance(); Test test = suite(); if (properties.getWarmup()) { System.out.println("Starting warmup run..."); MondrianTestRunner runner = new MondrianTestRunner(); TestResult tres = runner.doRun(test); if (!tres.wasSuccessful()) { System.out.println("Warmup run failed. Regular tests will not be run."); System.exit(1); } System.out.println("Warmup run complete. Starting regular run..."); } MondrianTestRunner runner = new MondrianTestRunner(); runner.setIterations(properties.getIterations()); runner.setVUsers(properties.getVUsers()); runner.setTimeLimit(properties.getTimeLimit()); TestResult tres = runner.doRun(test); if (!tres.wasSuccessful()) System.exit(1); }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/b5b5168edc3af09cb74945a80b0c36e6630ed502/Main.java/clean/testsrc/main/mondrian/test/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 1086, 12, 780, 8526, 833, 13, 1216, 1185, 288, 202, 202, 6385, 490, 1434, 566, 304, 2297, 1790, 273, 490, 1434, 566, 304, 2297, 18, 1336, 5621, 202, 202, 4709, 1842, 273, 11371, 5621, 202, 202, 430, 261, 4738, 18, 588, 59, 4610, 416, 10756, 288, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 11715, 22975, 416, 1086, 7070, 1769, 1082, 202, 49, 1434, 566, 304, 4709, 9709, 8419, 273, 394, 490, 1434, 566, 304, 4709, 9709, 5621, 202, 3639, 7766, 1253, 268, 455, 273, 8419, 18, 2896, 1997, 12, 3813, 1769, 202, 3639, 309, 16051, 88, 455, 18, 17416, 14277, 10756, 288, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 59, 4610, 416, 1086, 2535, 18, 24544, 7434, 903, 486, 506, 1086, 1199, 1769, 202, 540, 202, 3163, 18, 8593, 12, 21, 1769, 202, 3639, 289, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 59, 4610, 416, 1086, 3912, 18, 24591, 6736, 1086, 7070, 1769, 202, 202, 97, 202, 202, 49, 1434, 566, 304, 4709, 9709, 8419, 273, 394, 490, 1434, 566, 304, 4709, 9709, 5621, 202, 202, 18156, 18, 542, 21213, 12, 4738, 18, 588, 21213, 10663, 202, 202, 18156, 18, 542, 58, 6588, 12, 4738, 18, 588, 58, 6588, 10663, 202, 202, 18156, 18, 542, 950, 3039, 12, 4738, 18, 588, 950, 3039, 10663, 3639, 7766, 1253, 268, 455, 273, 8419, 18, 2896, 1997, 12, 3813, 1769, 3639, 309, 16051, 88, 455, 18, 17416, 14277, 10756, 540, 202, 3163, 18, 8593, 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, 6459, 1086, 12, 780, 8526, 833, 13, 1216, 1185, 288, 202, 202, 6385, 490, 1434, 566, 304, 2297, 1790, 273, 490, 1434, 566, 304, 2297, 18, 1336, 5621, 202, 202, 4709, 1842, 273, 11371, 5621, 202, 202, 430, 261, 4738, 18, 588, 59, 4610, 416, 10756, 288, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 11715, 22975, 416, 1086, 7070, 1769, 1082, 202, 49, 1434, 566, 304, 4709, 9709, 8419, 273, 394, 490, 1434, 566, 304, 4709, 9709, 5621, 202, 3639, 7766, 1253, 268, 455, 273, 8419, 18, 2896, 1997, 12, 3813, 1769, 202, 3639, 309, 16051, 88, 455, 18, 17416, 14277, 10756, 288, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 59, 4610, 416, 1086, 2535, 2 ]
{ if (isReadOnly(column)) return true; else return false; }
{ if (isReadOnly(column)) return true; else return false; }
public boolean isWritable(int column) throws SQLException { if (isReadOnly(column)) return true; else return false; }
45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/6a061da272f04e1463864065f87f1f3fd61d6162/ResultSetMetaData.java/clean/src/interfaces/jdbc/postgresql/ResultSetMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 12061, 12, 474, 1057, 13, 1216, 6483, 202, 95, 202, 202, 430, 261, 291, 12066, 12, 2827, 3719, 1082, 202, 2463, 638, 31, 202, 202, 12107, 1082, 202, 2463, 629, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1250, 353, 12061, 12, 474, 1057, 13, 1216, 6483, 202, 95, 202, 202, 430, 261, 291, 12066, 12, 2827, 3719, 1082, 202, 2463, 638, 31, 202, 202, 12107, 1082, 202, 2463, 629, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void setVisibleRowCount(int visibleRowCount) { visibles = visibleRowCount; invalidate(); repaint(); }
public void setVisibleRowCount(int vc) { visibleRowCount = vc; revalidate(); repaint(); }
public void setVisibleRowCount(int visibleRowCount) { visibles = visibleRowCount; invalidate(); repaint(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0788b89b7368770a1157f825d60dd8c5a9df183e/JList.java/buggy/core/src/classpath/javax/javax/swing/JList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 16697, 26359, 12, 474, 6021, 26359, 13, 565, 288, 202, 3516, 495, 1040, 273, 225, 6021, 26359, 31, 202, 5387, 340, 5621, 202, 14462, 1598, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 918, 16697, 26359, 12, 474, 6021, 26359, 13, 565, 288, 202, 3516, 495, 1040, 273, 225, 6021, 26359, 31, 202, 5387, 340, 5621, 202, 14462, 1598, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 (getTable() != null) {
if (getTable() != null) {
public RubyObject eval(Ruby ruby, RubyObject self) { CRefNode savedCRef = null; ruby.getRubyFrame().tmpPush(); ruby.getScope().push(); CRefNode lRefValue = getRefValue(); if (lRefValue != null) { savedCRef = ruby.getCRef(); ruby.setCRef(lRefValue); ruby.getRubyFrame().setCbase(lRefValue); } if (getTable() != null) { ruby.getScope().setLocalValues(new ArrayList(Collections.nCopies(getTable().size(), ruby.getNil()))); ruby.getScope().setLocalNames(getTable()); } /* else { ruby.getRubyScope().setLocalValues(null); ruby.getRubyScope().setLocalNames(null); }*/ // unneeded, it is done in RubyScope.push() Benoit RubyObject result = getNextNode().eval(ruby, self); ruby.getScope().pop(); ruby.getRubyFrame().tmpPop(); if (savedCRef != null) { ruby.setCRef(savedCRef); } return result; }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/7798138390a306a202dcec9bde45928dae2e852e/ScopeNode.java/buggy/org/jruby/nodes/ScopeNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 921, 5302, 12, 54, 10340, 22155, 16, 19817, 921, 365, 13, 288, 202, 202, 39, 1957, 907, 5198, 39, 1957, 273, 446, 31, 202, 202, 27768, 18, 588, 54, 10340, 3219, 7675, 5645, 7621, 5621, 202, 202, 27768, 18, 588, 3876, 7675, 6206, 5621, 202, 202, 39, 1957, 907, 328, 30556, 273, 17404, 620, 5621, 202, 202, 430, 261, 80, 30556, 480, 446, 13, 288, 1082, 202, 14077, 39, 1957, 273, 22155, 18, 588, 39, 1957, 5621, 1082, 202, 27768, 18, 542, 39, 1957, 12, 80, 30556, 1769, 1082, 202, 27768, 18, 588, 54, 10340, 3219, 7675, 542, 39, 1969, 12, 80, 30556, 1769, 202, 202, 97, 202, 202, 430, 261, 588, 1388, 1435, 480, 446, 13, 288, 5411, 22155, 18, 588, 3876, 7675, 542, 2042, 1972, 12, 2704, 2407, 12, 15150, 18, 82, 15670, 12, 588, 1388, 7675, 1467, 9334, 22155, 18, 588, 12616, 1435, 3719, 1769, 1082, 202, 27768, 18, 588, 3876, 7675, 542, 2042, 1557, 12, 588, 1388, 10663, 3639, 289, 1748, 469, 1082, 202, 95, 1082, 202, 27768, 18, 588, 54, 10340, 3876, 7675, 542, 2042, 1972, 12, 2011, 1769, 1082, 202, 27768, 18, 588, 54, 10340, 3876, 7675, 542, 2042, 1557, 12, 2011, 1769, 1082, 202, 97, 5549, 368, 16209, 8033, 16, 518, 353, 2731, 316, 19817, 3876, 18, 6206, 1435, 605, 5764, 305, 202, 202, 54, 10340, 921, 563, 273, 6927, 907, 7675, 8622, 12, 27768, 16, 365, 1769, 202, 202, 27768, 18, 588, 3876, 7675, 5120, 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, 19817, 921, 5302, 12, 54, 10340, 22155, 16, 19817, 921, 365, 13, 288, 202, 202, 39, 1957, 907, 5198, 39, 1957, 273, 446, 31, 202, 202, 27768, 18, 588, 54, 10340, 3219, 7675, 5645, 7621, 5621, 202, 202, 27768, 18, 588, 3876, 7675, 6206, 5621, 202, 202, 39, 1957, 907, 328, 30556, 273, 17404, 620, 5621, 202, 202, 430, 261, 80, 30556, 480, 446, 13, 288, 1082, 202, 14077, 39, 1957, 273, 22155, 18, 588, 39, 1957, 5621, 1082, 202, 27768, 18, 542, 39, 1957, 12, 80, 30556, 1769, 1082, 202, 27768, 18, 588, 54, 10340, 3219, 7675, 542, 39, 1969, 12, 80, 30556, 1769, 202, 202, 97, 202, 202, 430, 261, 588, 1388, 1435, 480, 2 ]
public abstract long getLength(File f) throws IOException;
public long getLength(File f) throws IOException { return getLength(new Path(f.toString())); }
public abstract long getLength(File f) throws IOException;
50370 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50370/ee01fef4b4fb82c7492a4a747793839a4d14cd39/FileSystem.java/buggy/src/java/org/apache/hadoop/fs/FileSystem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8770, 1525, 9888, 12, 812, 284, 13, 1216, 1860, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8770, 1525, 9888, 12, 812, 284, 13, 1216, 1860, 31, 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 ]
for(Bot b : this.botsToStop)
for(Bot b : this.botsToStop) {
private synchronized void startBots() { // TODO: Shuold be a set? for(Bot b : this.botsToStart) this.botList.add(b); for(Bot b : this.botsToStop) b.stop(); for(Bot b : this.botsToStart) { b.start(); // TODO: //((CtBot)b).setSensRc5(CtBot.RC5_CODE_5); System.out.println("Bot gestartet: "+b.getName()); //$NON-NLS-1$ } this.botsToStart = new ArrayList<Bot>(); }
49082 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49082/d5082b658b3a52a12a04b5b29a9d86877a2f2b55/Controller.java/buggy/ctSim/controller/Controller.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 3852, 918, 787, 6522, 87, 1435, 288, 9506, 202, 759, 2660, 30, 2638, 89, 1673, 506, 279, 444, 35, 202, 202, 1884, 12, 6522, 324, 294, 333, 18, 4819, 11634, 1685, 13, 1082, 202, 2211, 18, 4819, 682, 18, 1289, 12, 70, 1769, 9506, 202, 1884, 12, 6522, 324, 294, 333, 18, 4819, 11634, 4947, 13, 1082, 202, 70, 18, 5681, 5621, 9506, 202, 1884, 12, 6522, 324, 294, 333, 18, 4819, 11634, 1685, 13, 288, 1082, 202, 70, 18, 1937, 5621, 1082, 202, 759, 2660, 30, 1082, 202, 759, 12443, 39, 88, 6522, 13, 70, 2934, 542, 55, 773, 24599, 25, 12, 39, 88, 6522, 18, 11529, 25, 67, 5572, 67, 25, 1769, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 6522, 314, 27893, 278, 30, 13773, 70, 18, 17994, 10663, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 9506, 202, 2211, 18, 4819, 11634, 1685, 273, 394, 2407, 32, 6522, 34, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 3852, 918, 787, 6522, 87, 1435, 288, 9506, 202, 759, 2660, 30, 2638, 89, 1673, 506, 279, 444, 35, 202, 202, 1884, 12, 6522, 324, 294, 333, 18, 4819, 11634, 1685, 13, 1082, 202, 2211, 18, 4819, 682, 18, 1289, 12, 70, 1769, 9506, 202, 1884, 12, 6522, 324, 294, 333, 18, 4819, 11634, 4947, 13, 1082, 202, 70, 18, 5681, 5621, 9506, 202, 1884, 12, 6522, 324, 294, 333, 18, 4819, 11634, 1685, 13, 288, 1082, 202, 70, 18, 1937, 5621, 1082, 202, 759, 2660, 30, 1082, 202, 759, 12443, 39, 88, 6522, 13, 70, 2934, 542, 55, 773, 24599, 25, 12, 39, 88, 6522, 18, 11529, 25, 67, 5572, 67, 25, 1769, 1082, 202, 2 ]
AST tmp616_AST_in = (AST)_t;
AST tmp615_AST_in = (AST)_t;
public final void array_subscript(AST _t) throws RecognitionException { AST array_subscript_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1598 = _t; AST tmp614_AST_in = (AST)_t; match(_t,Array_subscript); _t = _t.getFirstChild(); AST tmp615_AST_in = (AST)_t; match(_t,LEFTBRACE); _t = _t.getNextSibling(); expression(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case FOR: { AST tmp616_AST_in = (AST)_t; match(_t,FOR); _t = _t.getNextSibling(); expression(_t); _t = _retTree; break; } case RIGHTBRACE: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp617_AST_in = (AST)_t; match(_t,RIGHTBRACE); _t = _t.getNextSibling(); _t = __t1598; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/041a16c78289f1c3ae5e575d3edc5e893a658e50/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 526, 67, 1717, 4263, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 526, 67, 1717, 4263, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 3600, 10689, 273, 389, 88, 31, 202, 202, 9053, 1853, 26, 3461, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 1076, 67, 1717, 4263, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 9053, 1853, 26, 3600, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 10066, 26980, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 202, 202, 8692, 24899, 88, 1769, 202, 202, 67, 88, 273, 389, 1349, 2471, 31, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 12108, 30, 202, 202, 95, 1082, 202, 9053, 1853, 26, 2313, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 7473, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8692, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 526, 67, 1717, 4263, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 526, 67, 1717, 4263, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 3600, 10689, 273, 389, 88, 31, 202, 202, 9053, 1853, 26, 3461, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 1076, 67, 1717, 4263, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 9053, 1853, 26, 3600, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 2 ]
System.getProperty("line.separator") + methodCall.getReifiedMethod();
System.getProperty("line.separator") + methodCall.getReifiedMethod();
private Object invokeOnBody(MethodCall methodCall) throws Exception, RenegotiateSessionException, Throwable { // Now gives the MethodCall object to the body try { if (isOneWayCall(methodCall)) { reifyAsOneWay(methodCall); return null; } String reason = methodCall.getSynchronousReason(); if (reason == null) { return reifyAsAsynchronous(methodCall); } if (syncCallLogger.isEnabledFor(Level.WARN)) { String msg = "SYNC: Synchronous Method Call: " + reason + System.getProperty("line.separator") + methodCall.getReifiedMethod(); if (loggedSyncCalls.add(msg)) { syncCallLogger.warn(msg); } } return reifyAsSynchronous(methodCall); } catch (MethodCallExecutionFailedException e) { throw new ProActiveRuntimeException(e.getMessage(), e.getTargetException()); } }
14315 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14315/e49bec3d5af79e5511e71fa2ce4235855b0d0324/AbstractBodyProxy.java/buggy/src/org/objectweb/proactive/core/body/proxy/AbstractBodyProxy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 4356, 1398, 2250, 12, 12592, 707, 1477, 13, 3639, 1216, 1185, 16, 25921, 27445, 3840, 2157, 503, 16, 4206, 288, 3639, 368, 4494, 14758, 326, 2985, 1477, 733, 358, 326, 1417, 3639, 775, 288, 5411, 309, 261, 291, 3335, 21831, 1477, 12, 2039, 1477, 3719, 288, 7734, 283, 1164, 1463, 3335, 21831, 12, 2039, 1477, 1769, 7734, 327, 446, 31, 5411, 289, 5411, 514, 3971, 273, 707, 1477, 18, 588, 55, 7121, 8385, 5621, 5411, 309, 261, 10579, 422, 446, 13, 288, 7734, 327, 283, 1164, 1463, 1463, 7121, 12, 2039, 1477, 1769, 5411, 289, 5411, 309, 261, 8389, 1477, 3328, 18, 291, 1526, 1290, 12, 2355, 18, 27999, 3719, 288, 7734, 514, 1234, 273, 315, 25142, 30, 348, 7121, 2985, 3049, 30, 315, 397, 3971, 397, 15604, 2332, 18, 588, 1396, 2932, 1369, 18, 11287, 7923, 397, 707, 1477, 18, 588, 426, 939, 1305, 5621, 7734, 309, 261, 19385, 4047, 10125, 18, 1289, 12, 3576, 3719, 288, 10792, 3792, 1477, 3328, 18, 8935, 12, 3576, 1769, 1171, 289, 5411, 289, 5411, 327, 283, 1164, 1463, 55, 7121, 12, 2039, 1477, 1769, 3639, 289, 1044, 261, 12592, 3210, 12417, 425, 13, 288, 5411, 604, 394, 1186, 3896, 11949, 12, 73, 18, 24906, 9334, 7734, 425, 18, 588, 14950, 10663, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 4356, 1398, 2250, 12, 12592, 707, 1477, 13, 3639, 1216, 1185, 16, 25921, 27445, 3840, 2157, 503, 16, 4206, 288, 3639, 368, 4494, 14758, 326, 2985, 1477, 733, 358, 326, 1417, 3639, 775, 288, 5411, 309, 261, 291, 3335, 21831, 1477, 12, 2039, 1477, 3719, 288, 7734, 283, 1164, 1463, 3335, 21831, 12, 2039, 1477, 1769, 7734, 327, 446, 31, 5411, 289, 5411, 514, 3971, 273, 707, 1477, 18, 588, 55, 7121, 8385, 5621, 5411, 309, 261, 10579, 422, 446, 13, 288, 7734, 327, 283, 1164, 1463, 1463, 7121, 12, 2039, 1477, 1769, 5411, 289, 5411, 309, 261, 8389, 1477, 3328, 18, 291, 1526, 1290, 12, 2355, 18, 27999, 3719, 288, 7734, 514, 1234, 273, 315, 2 ]
mComponent.setSize(currentSize);
public int print(Graphics g, PageFormat pageFormat, int pageIndex){ System.out.println("PRIIIIINT"); if (pageIndex > 0) return NO_SUCH_PAGE; pageFormat.setOrientation(PageFormat.LANDSCAPE); Graphics2D g2 = (Graphics2D)g; g2.translate(pageFormat.getImageableX(), pageFormat.getImageableY()); boolean wasBuffered = disableDoubleBuffering(mComponent); Dimension currentSize = mComponent.getSize(); System.out.println((int)pageFormat.getImageableWidth() + " " + (int)pageFormat.getImageableHeight()); //mComponent.setSize(new Dimension((int)pageFormat.getImageableWidth(), (int)pageFormat.getImageableHeight())); mComponent.paint(g2); mComponent.setSize(currentSize); restoreDoubleBuffering(mComponent, wasBuffered); return PAGE_EXISTS; }
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/05fbd6f8f93e8d8ee584af92a8f3b25af932b163/ComponentPrintable.java/buggy/src/edu/sc/seis/fissuresUtil/display/ComponentPrintable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 1172, 12, 17558, 314, 16, 3460, 1630, 1363, 1630, 16, 509, 1363, 1016, 15329, 202, 3163, 18, 659, 18, 8222, 2932, 7698, 6954, 45, 3217, 8863, 202, 430, 261, 2433, 1016, 405, 374, 13, 327, 3741, 67, 19958, 67, 11219, 31, 202, 2433, 1630, 18, 542, 14097, 12, 1964, 1630, 18, 48, 4307, 24278, 1769, 202, 17558, 22, 40, 314, 22, 273, 261, 17558, 22, 40, 13, 75, 31, 202, 75, 22, 18, 13929, 12, 2433, 1630, 18, 588, 2040, 429, 60, 9334, 1363, 1630, 18, 588, 2040, 429, 61, 10663, 202, 6494, 1703, 17947, 273, 4056, 5265, 1892, 310, 12, 81, 1841, 1769, 202, 8611, 783, 1225, 273, 312, 1841, 18, 588, 1225, 5621, 202, 3163, 18, 659, 18, 8222, 12443, 474, 13, 2433, 1630, 18, 588, 2040, 429, 2384, 1435, 397, 315, 315, 397, 225, 261, 474, 13, 2433, 1630, 18, 588, 2040, 429, 2686, 10663, 202, 759, 81, 1841, 18, 542, 1225, 12, 2704, 13037, 12443, 474, 13, 2433, 1630, 18, 588, 2040, 429, 2384, 9334, 261, 474, 13, 2433, 1630, 18, 588, 2040, 429, 2686, 1435, 10019, 202, 565, 202, 81, 1841, 18, 84, 1598, 12, 75, 22, 1769, 202, 81, 1841, 18, 542, 1225, 12, 2972, 1225, 1769, 202, 13991, 5265, 1892, 310, 12, 81, 1841, 16, 1703, 17947, 1769, 202, 2463, 11549, 67, 21205, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 509, 1172, 12, 17558, 314, 16, 3460, 1630, 1363, 1630, 16, 509, 1363, 1016, 15329, 202, 3163, 18, 659, 18, 8222, 2932, 7698, 6954, 45, 3217, 8863, 202, 430, 261, 2433, 1016, 405, 374, 13, 327, 3741, 67, 19958, 67, 11219, 31, 202, 2433, 1630, 18, 542, 14097, 12, 1964, 1630, 18, 48, 4307, 24278, 1769, 202, 17558, 22, 40, 314, 22, 273, 261, 17558, 22, 40, 13, 75, 31, 202, 75, 22, 18, 13929, 12, 2433, 1630, 18, 588, 2040, 429, 60, 9334, 1363, 1630, 18, 588, 2040, 429, 61, 10663, 202, 6494, 1703, 17947, 273, 4056, 5265, 1892, 310, 12, 81, 1841, 1769, 202, 8611, 783, 1225, 273, 312, 1841, 18, 588, 1225, 5621, 202, 2 ]
if (Character.isLetterOrDigit(type)) { openQuote = support.read(); } else { type = 'Q'; }
if (Character.isLetterOrDigit(type)) { openQuote = support.read(); } else { type = 'Q'; }
private int parseQuotation() { char type = support.read(); char openQuote = type; if (Character.isLetterOrDigit(type)) { openQuote = support.read(); } else { type = 'Q'; } if (type == '\0' || openQuote == '\0') { errorHandler.handleError(IErrors.COMPILE_ERROR, support.getPosition(), Messages.getString("unterminated_quoted_string")); //$NON-NLS-1$ return 0; } char closeQuote = openQuote; if (openQuote == '(') { closeQuote = ')'; } else if (openQuote == '[') { closeQuote = ']'; } else if (openQuote == '{') { closeQuote = '}'; } else if (openQuote == '<') { closeQuote = '>'; } else { openQuote = '\0'; } switch (type) { case 'Q' : return parseString('"', closeQuote, openQuote); case 'q' : return parseSingleQuotedString(closeQuote, openQuote); case 'w' : return parseQuotedWords(closeQuote, openQuote); case 'x' : return parseString('`', closeQuote, openQuote); case 'r' : return parseRegexp(closeQuote, openQuote); default : errorHandler.handleError(IErrors.SYNTAX_ERROR, support.getPosition(), Messages.getString("unknown_quotation_type", Character.toString(type))); //$NON-NLS-1$ return 0; } }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/af104711597d4d5b2089320e2517b95b8df14492/RubyYaccLexer.java/buggy/org/jruby/lexer/yacc/RubyYaccLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 509, 1109, 7678, 367, 1435, 288, 1082, 202, 3001, 618, 273, 2865, 18, 896, 5621, 1082, 202, 3001, 1696, 10257, 273, 618, 31, 1082, 202, 430, 261, 7069, 18, 291, 13938, 1162, 10907, 12, 723, 3719, 288, 9506, 202, 3190, 10257, 273, 2865, 18, 896, 5621, 1082, 202, 97, 469, 288, 9506, 202, 723, 273, 296, 53, 13506, 1082, 202, 97, 1082, 202, 430, 261, 723, 422, 2337, 20, 11, 747, 1696, 10257, 422, 2337, 20, 6134, 288, 9506, 202, 1636, 1503, 18, 4110, 668, 12, 45, 4229, 18, 31075, 900, 67, 3589, 16, 2865, 18, 588, 2555, 9334, 4838, 18, 588, 780, 2932, 318, 29133, 67, 15179, 67, 1080, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 2463, 374, 31, 1082, 202, 97, 1082, 202, 3001, 1746, 10257, 273, 1696, 10257, 31, 1082, 202, 430, 261, 3190, 10257, 422, 7321, 13, 288, 9506, 202, 4412, 10257, 273, 5777, 31, 1082, 202, 97, 469, 309, 261, 3190, 10257, 422, 8375, 13, 288, 9506, 202, 4412, 10257, 273, 8641, 31, 1082, 202, 97, 469, 309, 261, 3190, 10257, 422, 2292, 6134, 288, 9506, 202, 4412, 10257, 273, 9571, 31, 1082, 202, 97, 469, 309, 261, 3190, 10257, 422, 2368, 6134, 288, 9506, 202, 4412, 10257, 273, 7481, 31, 1082, 202, 97, 469, 288, 9506, 202, 3190, 10257, 273, 2337, 20, 13506, 1082, 202, 97, 1082, 202, 9610, 261, 723, 13, 288, 9506, 202, 3593, 296, 53, 11, 294, 6862, 202, 2463, 23659, 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, 1152, 509, 1109, 7678, 367, 1435, 288, 1082, 202, 3001, 618, 273, 2865, 18, 896, 5621, 1082, 202, 3001, 1696, 10257, 273, 618, 31, 1082, 202, 430, 261, 7069, 18, 291, 13938, 1162, 10907, 12, 723, 3719, 288, 9506, 202, 3190, 10257, 273, 2865, 18, 896, 5621, 1082, 202, 97, 469, 288, 9506, 202, 723, 273, 296, 53, 13506, 1082, 202, 97, 1082, 202, 430, 261, 723, 422, 2337, 20, 11, 747, 1696, 10257, 422, 2337, 20, 6134, 288, 9506, 202, 1636, 1503, 18, 4110, 668, 12, 45, 4229, 18, 31075, 900, 67, 3589, 16, 2865, 18, 588, 2555, 9334, 4838, 18, 588, 780, 2932, 318, 29133, 67, 15179, 67, 1080, 7923, 1769, 4329, 3993, 17, 5106, 2 ]
for(int i=0;i<dataURIs.length;i++) { if(dataURIs[i] == null) { Logger.error(this, "Data URI "+i+" is null"); return;
for(int i=0;i<dataURIs.length;i++) { if(dataURIs[i] == null) { Logger.error(this, "Data URI "+i+" is null"); return; }
public void onEncode(ClientKey key, ClientPutState state) { SingleBlockInserter sbi = (SingleBlockInserter)state; int x = sbi.token; synchronized(this) { if(finished) return; if(x >= dataBlocks.length) { if(checkURIs[x-dataBlocks.length] != null) { Logger.normal(this, "Got uri twice for check block "+x+" on "+this); return; } checkURIs[x-dataBlocks.length] = key.getURI(); } else { if(dataURIs[x] != null) { Logger.normal(this, "Got uri twice for data block "+x+" on "+this); return; } dataURIs[x] = key.getURI(); } blocksGotURI++; if(blocksGotURI != dataBlocks.length + checkBlocks.length) return; } // Double check for(int i=0;i<checkURIs.length;i++) if(checkURIs[i] == null) { Logger.error(this, "Check URI "+i+" is null"); return; } for(int i=0;i<dataURIs.length;i++) { if(dataURIs[i] == null) { Logger.error(this, "Data URI "+i+" is null"); return; } } parent.segmentHasURIs(this); }
56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/4ca04e00097bc75c6db60d8f51a8350367f45de2/SplitFileInserterSegment.java/clean/src/freenet/client/async/SplitFileInserterSegment.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 603, 5509, 12, 1227, 653, 498, 16, 2445, 6426, 1119, 919, 13, 288, 202, 202, 5281, 1768, 382, 550, 387, 2393, 77, 273, 261, 5281, 1768, 382, 550, 387, 13, 2019, 31, 202, 202, 474, 619, 273, 2393, 77, 18, 2316, 31, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 430, 12, 13527, 13, 327, 31, 1082, 202, 430, 12, 92, 1545, 501, 6450, 18, 2469, 13, 288, 9506, 202, 430, 12, 1893, 1099, 2520, 63, 92, 17, 892, 6450, 18, 2469, 65, 480, 446, 13, 288, 6862, 202, 3328, 18, 6130, 12, 2211, 16, 315, 15617, 2003, 13605, 364, 866, 1203, 13773, 92, 9078, 603, 13773, 2211, 1769, 6862, 202, 2463, 31, 9506, 202, 97, 9506, 202, 1893, 1099, 2520, 63, 92, 17, 892, 6450, 18, 2469, 65, 273, 498, 18, 588, 3098, 5621, 1082, 202, 97, 469, 288, 9506, 202, 430, 12, 892, 1099, 2520, 63, 92, 65, 480, 446, 13, 288, 6862, 202, 3328, 18, 6130, 12, 2211, 16, 315, 15617, 2003, 13605, 364, 501, 1203, 13773, 92, 9078, 603, 13773, 2211, 1769, 6862, 202, 2463, 31, 9506, 202, 97, 9506, 202, 892, 1099, 2520, 63, 92, 65, 273, 498, 18, 588, 3098, 5621, 1082, 202, 97, 1082, 202, 7996, 15617, 3098, 9904, 31, 1082, 202, 430, 12, 7996, 15617, 3098, 480, 501, 6450, 18, 2469, 397, 866, 6450, 18, 2469, 13, 327, 31, 202, 202, 97, 202, 202, 759, 3698, 866, 202, 202, 1884, 12, 474, 277, 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, 225, 202, 482, 918, 603, 5509, 12, 1227, 653, 498, 16, 2445, 6426, 1119, 919, 13, 288, 202, 202, 5281, 1768, 382, 550, 387, 2393, 77, 273, 261, 5281, 1768, 382, 550, 387, 13, 2019, 31, 202, 202, 474, 619, 273, 2393, 77, 18, 2316, 31, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 430, 12, 13527, 13, 327, 31, 1082, 202, 430, 12, 92, 1545, 501, 6450, 18, 2469, 13, 288, 9506, 202, 430, 12, 1893, 1099, 2520, 63, 92, 17, 892, 6450, 18, 2469, 65, 480, 446, 13, 288, 6862, 202, 3328, 18, 6130, 12, 2211, 16, 315, 15617, 2003, 13605, 364, 866, 1203, 13773, 92, 9078, 603, 13773, 2211, 1769, 6862, 202, 2463, 31, 9506, 2 ]
if(max == null) { this.appliedConstraints.remove( MAX_CONSTRAINT ); return; }
if(max == null) { this.appliedConstraints.remove( MAX_CONSTRAINT ); return; }
public void setMax(Comparable max) { if(max == null) { this.appliedConstraints.remove( MAX_CONSTRAINT ); return; } if(!propertyType.equals( max.getClass() )) { throw new MissingPropertyException(MAX_CONSTRAINT,propertyType); } Range r = getRange(); if(r != null) { LOG.warn("Range constraint already set ignoring constraint ["+MAX_CONSTRAINT+"] for value ["+max+"]"); return; } Constraint c = (MaxConstraint)this.appliedConstraints.get( MAX_CONSTRAINT ); if(c != null) { c.setParameter(max); } else { c = new MaxConstraint(); c.setOwningClass(this.owningClass); c.setPropertyName(this.propertyName); c.setParameter(max); this.appliedConstraints.put( MAX_CONSTRAINT, c ); } }
6460 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6460/975905c7e8c55e5fe91c94dc583c4269318ca341/ConstrainedProperty.java/buggy/src/commons/org/codehaus/groovy/grails/validation/ConstrainedProperty.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 10851, 12, 799, 10207, 943, 13, 288, 202, 202, 430, 12, 1896, 422, 446, 13, 288, 1082, 202, 2211, 18, 438, 3110, 4878, 18, 4479, 12, 4552, 67, 15199, 11272, 1082, 202, 2463, 31, 202, 202, 97, 3639, 309, 12, 5, 4468, 559, 18, 14963, 12, 943, 18, 588, 797, 1435, 8623, 288, 1082, 202, 12849, 394, 10230, 1396, 503, 12, 6694, 67, 15199, 16, 4468, 559, 1769, 202, 202, 97, 202, 202, 2655, 436, 273, 22373, 5621, 202, 202, 430, 12, 86, 480, 446, 13, 288, 1082, 202, 4842, 18, 8935, 2932, 2655, 4954, 1818, 444, 14398, 4954, 8247, 15, 6694, 67, 15199, 9078, 65, 364, 460, 8247, 15, 1896, 9078, 4279, 1769, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 5806, 276, 273, 261, 2747, 5806, 13, 2211, 18, 438, 3110, 4878, 18, 588, 12, 4552, 67, 15199, 11272, 202, 202, 430, 12, 71, 480, 446, 13, 288, 1082, 202, 71, 18, 542, 1662, 12, 1896, 1769, 9506, 202, 97, 202, 202, 12107, 288, 1082, 202, 71, 273, 394, 4238, 5806, 5621, 1082, 202, 71, 18, 542, 3494, 2093, 797, 12, 2211, 18, 995, 310, 797, 1769, 1082, 202, 71, 18, 542, 13073, 12, 2211, 18, 4468, 461, 1769, 1082, 202, 71, 18, 542, 1662, 12, 1896, 1769, 1082, 202, 2211, 18, 438, 3110, 4878, 18, 458, 12, 4552, 67, 15199, 16, 276, 11272, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 10851, 12, 799, 10207, 943, 13, 288, 202, 202, 430, 12, 1896, 422, 446, 13, 288, 1082, 202, 2211, 18, 438, 3110, 4878, 18, 4479, 12, 4552, 67, 15199, 11272, 1082, 202, 2463, 31, 202, 202, 97, 3639, 309, 12, 5, 4468, 559, 18, 14963, 12, 943, 18, 588, 797, 1435, 8623, 288, 1082, 202, 12849, 394, 10230, 1396, 503, 12, 6694, 67, 15199, 16, 4468, 559, 1769, 202, 202, 97, 202, 202, 2655, 436, 273, 22373, 5621, 202, 202, 430, 12, 86, 480, 446, 13, 288, 1082, 202, 4842, 18, 8935, 2932, 2655, 4954, 1818, 444, 14398, 4954, 8247, 15, 6694, 67, 15199, 9078, 65, 364, 460, 8247, 15, 1896, 9078, 4279, 1769, 1082, 2 ]
assert _annoAstNode != null : "annotation ast node missing.";
assert _domAnnotation != null : "annotation node missing.";
public AnnotationMirrorImpl(Annotation annotationAstNode, DeclarationImpl decl, ProcessorEnvImpl env) { _annoAstNode = annotationAstNode; _env = env; _annotated = decl; assert _annoAstNode != null : "annotation ast node missing."; assert _annotated != null : "missing the declaration that is annotated with this annotation."; }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/2ed8d2842cd060fd2ed1992ac37d7e3f157e19c9/AnnotationMirrorImpl.java/buggy/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/AnnotationMirrorImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6090, 13035, 2828, 12, 3257, 3204, 21385, 907, 16, 16110, 4302, 2828, 3496, 16, 15476, 3491, 2828, 1550, 13, 565, 288, 3639, 389, 1072, 83, 21385, 907, 273, 3204, 21385, 907, 31, 3639, 389, 3074, 273, 1550, 31, 3639, 389, 18338, 690, 273, 3496, 31, 3639, 1815, 389, 9859, 3257, 480, 446, 294, 315, 11495, 756, 3315, 1199, 31, 3639, 1815, 389, 18338, 690, 282, 480, 446, 294, 315, 7337, 326, 8266, 716, 353, 10529, 598, 333, 3204, 1199, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6090, 13035, 2828, 12, 3257, 3204, 21385, 907, 16, 16110, 4302, 2828, 3496, 16, 15476, 3491, 2828, 1550, 13, 565, 288, 3639, 389, 1072, 83, 21385, 907, 273, 3204, 21385, 907, 31, 3639, 389, 3074, 273, 1550, 31, 3639, 389, 18338, 690, 273, 3496, 31, 3639, 1815, 389, 9859, 3257, 480, 446, 294, 315, 11495, 756, 3315, 1199, 31, 3639, 1815, 389, 18338, 690, 282, 480, 446, 294, 315, 7337, 326, 8266, 716, 353, 10529, 598, 333, 3204, 1199, 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 ]
void last( int groupLevel ) throws DataException
public void last( int groupLevel ) throws DataException
void last( int groupLevel ) throws DataException { if ( groupLevel > groups.length || groupLevel < 0 ) throw new DataException( ResourceConstants.INVALID_GROUP_LEVEL, new Integer( groupLevel ) ); groupLevel--; // change to 0-based index // First find current group at the specified group level int currentGroupIdx = -1; if ( groupLevel >= 0 ) currentGroupIdx = findCurrentGroup( groupLevel ); if ( groupLevel < 0 || // an input of 0 means moving to last row in // list currentGroupIdx >= groups[groupLevel].size( ) - 1 ) { // Move to last row in entire list // Last row is in the last leaf group int currentRowID = cacheProvider.getCount( ) - 1; cacheProvider.moveTo( currentRowID ); if ( groups.length > 0 ) leafGroupIdx = groups[groups.length - 1].size( ) - 1; return; } // Find first row in the next group ++currentGroupIdx; for ( int i = groupLevel + 1; i < groups.length; i++ ) { currentGroupIdx = findGroup( i - 1, currentGroupIdx ).firstChild; } // Move back one row and one leaf group int currentRowID = findGroup( groups.length - 1, currentGroupIdx ).firstChild - 1; cacheProvider.moveTo( currentRowID ); leafGroupIdx = currentGroupIdx - 1; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/5ec5d7f41b491569b61310c9e9a0a719aa271a7c/RDGroupUtil.java/clean/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/document/RDGroupUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 1142, 12, 509, 1041, 2355, 262, 1216, 1910, 503, 202, 95, 202, 202, 430, 261, 1041, 2355, 405, 3252, 18, 2469, 747, 1041, 2355, 411, 374, 262, 1082, 202, 12849, 394, 1910, 503, 12, 2591, 2918, 18, 9347, 67, 8468, 67, 10398, 16, 6862, 202, 2704, 2144, 12, 1041, 2355, 262, 11272, 202, 202, 1655, 2355, 413, 31, 368, 2549, 358, 374, 17, 12261, 770, 202, 202, 759, 5783, 1104, 783, 1041, 622, 326, 1269, 1041, 1801, 202, 202, 474, 783, 1114, 4223, 273, 300, 21, 31, 202, 202, 430, 261, 1041, 2355, 1545, 374, 262, 1082, 202, 2972, 1114, 4223, 273, 1104, 3935, 1114, 12, 1041, 2355, 11272, 202, 202, 430, 261, 1041, 2355, 411, 374, 747, 368, 392, 810, 434, 374, 4696, 12499, 358, 1142, 1027, 316, 9506, 202, 759, 666, 9506, 202, 2972, 1114, 4223, 1545, 3252, 63, 1655, 2355, 8009, 1467, 12, 262, 300, 404, 262, 202, 202, 95, 1082, 202, 759, 9933, 358, 1142, 1027, 316, 7278, 666, 1082, 202, 759, 6825, 1027, 353, 316, 326, 1142, 7839, 1041, 1082, 202, 474, 31185, 734, 273, 1247, 2249, 18, 588, 1380, 12, 262, 300, 404, 31, 25083, 202, 2493, 2249, 18, 8501, 774, 12, 31185, 734, 11272, 1082, 202, 430, 261, 3252, 18, 2469, 405, 374, 262, 9506, 202, 12070, 1114, 4223, 273, 3252, 63, 4650, 18, 2469, 300, 404, 8009, 1467, 12, 262, 300, 404, 31, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 759, 4163, 1122, 1027, 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, 6459, 1142, 12, 509, 1041, 2355, 262, 1216, 1910, 503, 202, 95, 202, 202, 430, 261, 1041, 2355, 405, 3252, 18, 2469, 747, 1041, 2355, 411, 374, 262, 1082, 202, 12849, 394, 1910, 503, 12, 2591, 2918, 18, 9347, 67, 8468, 67, 10398, 16, 6862, 202, 2704, 2144, 12, 1041, 2355, 262, 11272, 202, 202, 1655, 2355, 413, 31, 368, 2549, 358, 374, 17, 12261, 770, 202, 202, 759, 5783, 1104, 783, 1041, 622, 326, 1269, 1041, 1801, 202, 202, 474, 783, 1114, 4223, 273, 300, 21, 31, 202, 202, 430, 261, 1041, 2355, 1545, 374, 262, 1082, 202, 2972, 1114, 4223, 273, 1104, 3935, 1114, 12, 1041, 2355, 11272, 202, 202, 430, 261, 1041, 2355, 411, 2 ]
} else {
} else {
protected Version getCvsServerVersion() { if (cvsServerVersion == null) { Commandline commandLine = getCommandline(); commandLine.setExecutable("cvs"); if (cvsroot != null) { commandLine.createArgument().setValue("-d"); commandLine.createArgument().setValue(cvsroot); } commandLine.createArgument().setLine("version"); Process p = null; try { if (local != null) { commandLine.setWorkingDirectory(local); } p = commandLine.execute(); logErrorStream(p); InputStream is = p.getInputStream(); BufferedReader in = new BufferedReader(new InputStreamReader(is)); String line = in.readLine(); if (line.startsWith("Client:")) { line = in.readLine(); if (!line.startsWith("Server:")) { System.err.println("Warning expected a line starting with \"Server:\" but got " + line); // we try anyway } } log.debug("server version line: " + line); int nameBegin = line.indexOf(" ("); int nameEnd = line.indexOf(") ", nameBegin); final String name; final String version; if (nameBegin == -1 || nameEnd < nameBegin || nameBegin + 2 >= line.length()) { name = ""; } else { name = line.substring(nameBegin + 2, nameEnd); } int verEnd = line.indexOf(" ", nameEnd + 2); if (verEnd < nameEnd + 2) { version = ""; } else { version = line.substring(nameEnd + 2, verEnd); } cvsServerVersion = new Version(name, version); log.debug("cvs server version: " + cvsServerVersion); p.waitFor(); p.getInputStream().close(); p.getOutputStream().close(); p.getErrorStream().close(); } catch (Exception e) { log.error("Failed reading cvs server version", e); } if (p == null || p.exitValue() != 0) { if (p == null) { log.debug("Process p was null in CVS.getCvsServerVersion()"); } else { log.debug("Process exit value = " + p.exitValue()); } cvsServerVersion = new Version(OFFICIAL_CVS_NAME, "1.11"); log.warn("problem getting cvs server version; using " + cvsServerVersion); } } return cvsServerVersion; }
52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/3dc2955cbddc28afb10935d8a683adfc2d687708/CVS.java/clean/main/src/net/sourceforge/cruisecontrol/sourcecontrols/CVS.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 4049, 1927, 6904, 2081, 1444, 1435, 288, 3639, 309, 261, 71, 6904, 2081, 1444, 422, 446, 13, 288, 5411, 3498, 1369, 20894, 273, 12856, 1369, 5621, 5411, 20894, 18, 542, 17709, 2932, 71, 6904, 8863, 5411, 309, 261, 71, 6904, 3085, 480, 446, 13, 288, 7734, 20894, 18, 2640, 1379, 7675, 542, 620, 2932, 17, 72, 8863, 7734, 20894, 18, 2640, 1379, 7675, 542, 620, 12, 71, 6904, 3085, 1769, 5411, 289, 5411, 20894, 18, 2640, 1379, 7675, 542, 1670, 2932, 1589, 8863, 5411, 4389, 293, 273, 446, 31, 5411, 775, 288, 7734, 309, 261, 3729, 480, 446, 13, 288, 10792, 20894, 18, 542, 14836, 2853, 12, 3729, 1769, 7734, 289, 7734, 293, 273, 20894, 18, 8837, 5621, 7734, 20638, 1228, 12, 84, 1769, 7734, 5037, 353, 273, 293, 18, 588, 4348, 5621, 7734, 10633, 316, 273, 394, 10633, 12, 2704, 15322, 12, 291, 10019, 7734, 514, 980, 273, 316, 18, 896, 1670, 5621, 7734, 309, 261, 1369, 18, 17514, 1190, 2932, 1227, 2773, 3719, 288, 10792, 980, 273, 316, 18, 896, 1670, 5621, 10792, 309, 16051, 1369, 18, 17514, 1190, 2932, 2081, 2773, 3719, 288, 13491, 2332, 18, 370, 18, 8222, 2932, 6210, 2665, 279, 980, 5023, 598, 1239, 2081, 30, 2412, 1496, 2363, 315, 397, 980, 1769, 13491, 368, 732, 775, 13466, 10792, 289, 7734, 289, 7734, 613, 18, 4148, 2932, 3567, 1177, 980, 30, 315, 397, 980, 1769, 7734, 509, 508, 8149, 273, 980, 18, 31806, 2932, 7566, 1769, 7734, 509, 508, 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, 4049, 1927, 6904, 2081, 1444, 1435, 288, 3639, 309, 261, 71, 6904, 2081, 1444, 422, 446, 13, 288, 5411, 3498, 1369, 20894, 273, 12856, 1369, 5621, 5411, 20894, 18, 542, 17709, 2932, 71, 6904, 8863, 5411, 309, 261, 71, 6904, 3085, 480, 446, 13, 288, 7734, 20894, 18, 2640, 1379, 7675, 542, 620, 2932, 17, 72, 8863, 7734, 20894, 18, 2640, 1379, 7675, 542, 620, 12, 71, 6904, 3085, 1769, 5411, 289, 5411, 20894, 18, 2640, 1379, 7675, 542, 1670, 2932, 1589, 8863, 5411, 4389, 293, 273, 446, 31, 5411, 775, 288, 7734, 309, 261, 3729, 480, 446, 13, 288, 10792, 20894, 18, 542, 14836, 2853, 12, 3729, 1769, 7734, 289, 7734, 293, 273, 20894, 18, 8837, 2 ]
protected Object generateSignature() throws IllegalStateException { // 1. EMSA-PKCS1-v1_5 encoding: Apply the EMSA-PKCS1-v1_5 encoding // operation (Section 9.2) to the message M to produce an encoded // message EM of length k octets: // // EM = EMSA-PKCS1-V1_5-ENCODE (M, k). // // If the encoding operation outputs "message too long," output // "message too long" and stop. If the encoding operation outputs // "intended encoded message length too short," output "RSA modulus // too short" and stop. final int modBits = ((RSAPrivateKey) privateKey).getModulus().bitLength(); final int k = (modBits + 7) / 8; final byte[] EM = pkcs1.encode(md.digest(), k); // 2. RSA signature: // a. Convert the encoded message EM to an integer message epresentative // m (see Section 4.2): m = OS2IP (EM). final BigInteger m = new BigInteger(1, EM); // b. Apply the RSASP1 signature primitive (Section 5.2.1) to the RSA // private key K and the message representative m to produce an // integer signature representative s: s = RSASP1 (K, m). final BigInteger s = RSA.sign(privateKey, m); // c. Convert the signature representative s to a signature S of length // k octets (see Section 4.1): S = I2OSP (s, k). // 3. Output the signature S. return RSA.I2OSP(s, k); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAPKCS1V1_5Signature.java/buggy/core/src/classpath/gnu/gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 921, 7163, 5374, 1435, 15069, 12195, 5060, 95, 759, 21, 18, 3375, 5233, 17, 26044, 21, 17, 90, 21, 67, 25, 5999, 30, 7001, 5787, 3375, 5233, 17, 26044, 21, 17, 90, 21, 67, 25, 5999, 759, 7624, 12, 5285, 29, 18, 22, 13, 3307, 76, 351, 615, 49, 3669, 303, 2544, 31393, 10787, 759, 2150, 3375, 792, 2469, 79, 13410, 2413, 30, 1307, 3375, 33, 3375, 5233, 17, 26044, 21, 17, 58, 21, 67, 25, 17, 1157, 5572, 12, 49, 16, 79, 2934, 1307, 2047, 5787, 5999, 7624, 12295, 6, 81, 403, 346, 278, 1371, 932, 10837, 2844, 759, 6, 81, 403, 346, 278, 1371, 932, 6, 464, 5681, 18, 2047, 5787, 5999, 7624, 12295, 759, 6, 474, 3934, 10787, 81, 403, 346, 292, 1288, 869, 538, 15571, 10837, 2844, 6, 15248, 1711, 17284, 759, 869, 538, 15571, 6, 464, 5681, 18, 6385, 474, 1711, 6495, 33, 12443, 15248, 10824, 13, 1152, 653, 2934, 588, 1739, 17284, 7675, 3682, 1782, 5621, 6385, 474, 79, 28657, 1711, 6495, 15, 27, 13176, 28, 31, 6385, 7229, 8526, 3375, 33, 5465, 2143, 21, 18, 3015, 12, 1264, 18, 10171, 9334, 79, 1769, 759, 22, 18, 13225, 1463, 724, 1231, 2207, 69, 18, 2723, 5787, 10787, 2150, 3375, 869, 304, 7745, 2150, 881, 1581, 1535, 759, 81, 12, 5946, 5285, 24, 18, 22, 4672, 81, 33, 4618, 22, 2579, 12, 3375, 2934, 6385, 24198, 81, 33, 2704, 24198, 12, 21, 16, 3375, 1769, 759, 70, 18, 7001, 5787, 13225, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 921, 7163, 5374, 1435, 15069, 12195, 5060, 95, 759, 21, 18, 3375, 5233, 17, 26044, 21, 17, 90, 21, 67, 25, 5999, 30, 7001, 5787, 3375, 5233, 17, 26044, 21, 17, 90, 21, 67, 25, 5999, 759, 7624, 12, 5285, 29, 18, 22, 13, 3307, 76, 351, 615, 49, 3669, 303, 2544, 31393, 10787, 759, 2150, 3375, 792, 2469, 79, 13410, 2413, 30, 1307, 3375, 33, 3375, 5233, 17, 26044, 21, 17, 58, 21, 67, 25, 17, 1157, 5572, 12, 49, 16, 79, 2934, 1307, 2047, 5787, 5999, 7624, 12295, 6, 81, 403, 346, 278, 1371, 932, 10837, 2844, 759, 6, 81, 403, 346, 278, 1371, 932, 6, 464, 5681, 18, 2047, 5787, 5999, 7624, 12295, 759, 6, 2 ]
int total_inf_and_proto_turns = 0; int total_oth_turns = 0; int idx;
int total_last_turns = 0; int total_normal_turns = 0; int index;
public static TurnVectors generateTurnOrder(Vector v, boolean infAndProtosLast) { int[] num_inf_and_proto_turns = new int[v.size()]; int[] num_oth_turns = new int[v.size()]; int total_inf_and_proto_turns = 0; int total_oth_turns = 0; int idx; TurnOrdered[] order = new TurnOrdered[v.size()]; int oi = 0; com.sun.java.util.collections.ArrayList plist = new com.sun.java.util.collections.ArrayList(v.size()); for (Enumeration i = v.elements(); i.hasMoreElements();) { Object item = i.nextElement(); plist.add(item); } com.sun.java.util.collections.Collections.sort(plist, new com.sun.java.util.collections.Comparator() { public int compare(Object o1, Object o2) { return ((TurnOrdered)o1).getInitiative().compareTo(((TurnOrdered)o2).getInitiative()); } }); for (com.sun.java.util.collections.Iterator i = plist.iterator(); i.hasNext();) { final TurnOrdered item = (TurnOrdered)i.next(); order[oi] = item; // If infantry/protos are last, separate them. // Otherwise, place all 'turns' in one pile if (infAndProtosLast) { num_inf_and_proto_turns[oi] = item.getInfantryAndProtomechCount(); num_oth_turns[oi] = item.getTankCount() + item.getMechCount(); } else { num_inf_and_proto_turns[oi] = 0; num_oth_turns[oi] = item.getTankCount() + item.getMechCount() + item.getInfantryAndProtomechCount(); } total_inf_and_proto_turns += num_inf_and_proto_turns[oi]; total_oth_turns += num_oth_turns[oi]; oi++; } int min; int turns_left; TurnVectors turns = new TurnVectors(total_oth_turns, total_inf_and_proto_turns); // We will do the 'other' units first (mechs and vehicles, and // if infAndProtosLast is false, infantry and protomechs) min = Integer.MAX_VALUE; for(idx = 0; idx < oi ; idx++) { if ( num_oth_turns[idx] != 0 && num_oth_turns[idx] < min) min = num_oth_turns[idx]; } turns_left = total_oth_turns; while(turns_left > 0) { for(idx = 0; idx < oi; idx++) { // If you have no turns here, skip if (num_oth_turns[idx] == 0) continue; /* If you have less than twice the lowest, move 1. Otherwise, move more. */ int ntm = (int)Math.floor( ((double)num_oth_turns[idx]) / ((double)min) ); for (int j = 0; j < ntm; j++) { turns.non_infantry_non_protomechs.addElement(order[idx]); num_oth_turns[idx]--; turns_left--; } } // Since the smallest unit count had to place 1, reduce min) min--; } // Now, we do the 'infantry/protomech' turns. if (infAndProtosLast) { min = Integer.MAX_VALUE; for(idx = 0; idx < oi ; idx++) { if ( num_inf_and_proto_turns[idx] != 0 && num_inf_and_proto_turns[idx] < min) min = num_inf_and_proto_turns[idx]; } turns_left = total_inf_and_proto_turns; while(turns_left > 0) { for(idx = 0; idx < oi; idx++) { // If you have no turns here, skip if (num_inf_and_proto_turns[idx] == 0) continue; /* If you have less than twice the lowest, move 1. Otherwise, move more. */ int ntm = (int)Math.floor( ((double)num_inf_and_proto_turns[idx]) / ((double)min) ); for (int j = 0; j < ntm; j++) { turns.infantry_and_protomechs.addElement(order[idx]); num_inf_and_proto_turns[idx]--; turns_left--; } } // Since the smallest unit count had to place 1, reduce min) min--; } } return turns; }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/6fa7a915a9c48dac94fa163b03ae6a0e99765cad/TurnOrdered.java/clean/megamek/src/megamek/common/TurnOrdered.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 22425, 21680, 2103, 15858, 2448, 12, 5018, 331, 16, 1250, 8286, 1876, 626, 14627, 3024, 13, 565, 288, 202, 474, 8526, 818, 67, 10625, 67, 464, 67, 9393, 67, 20922, 87, 273, 394, 509, 63, 90, 18, 1467, 1435, 15533, 202, 474, 8526, 818, 67, 10370, 67, 20922, 87, 273, 394, 509, 63, 90, 18, 1467, 1435, 15533, 3639, 202, 474, 2078, 67, 10625, 67, 464, 67, 9393, 67, 20922, 87, 273, 374, 31, 202, 474, 2078, 67, 10370, 67, 20922, 87, 273, 374, 31, 202, 474, 2067, 31, 3639, 22425, 16756, 8526, 1353, 273, 394, 22425, 16756, 63, 90, 18, 1467, 1435, 15533, 3639, 509, 24971, 273, 374, 31, 3639, 532, 18, 16924, 18, 6290, 18, 1367, 18, 19246, 18, 19558, 21074, 273, 3196, 565, 394, 532, 18, 16924, 18, 6290, 18, 1367, 18, 19246, 18, 19558, 12, 90, 18, 1467, 10663, 3639, 364, 261, 21847, 277, 273, 331, 18, 6274, 5621, 277, 18, 5332, 7417, 3471, 5621, 13, 288, 5411, 1033, 761, 273, 277, 18, 4285, 1046, 5621, 5411, 21074, 18, 1289, 12, 1726, 1769, 3639, 289, 3639, 532, 18, 16924, 18, 6290, 18, 1367, 18, 19246, 18, 15150, 18, 3804, 12, 17842, 16, 394, 532, 18, 16924, 18, 6290, 18, 1367, 18, 19246, 18, 5559, 1435, 288, 5411, 1071, 509, 3400, 12, 921, 320, 21, 16, 1033, 320, 22, 13, 288, 7734, 327, 14015, 15858, 16756, 13, 83, 21, 2934, 588, 2570, 77, 1535, 7675, 9877, 774, 12443, 12, 15858, 16756, 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, 22425, 21680, 2103, 15858, 2448, 12, 5018, 331, 16, 1250, 8286, 1876, 626, 14627, 3024, 13, 565, 288, 202, 474, 8526, 818, 67, 10625, 67, 464, 67, 9393, 67, 20922, 87, 273, 394, 509, 63, 90, 18, 1467, 1435, 15533, 202, 474, 8526, 818, 67, 10370, 67, 20922, 87, 273, 394, 509, 63, 90, 18, 1467, 1435, 15533, 3639, 202, 474, 2078, 67, 10625, 67, 464, 67, 9393, 67, 20922, 87, 273, 374, 31, 202, 474, 2078, 67, 10370, 67, 20922, 87, 273, 374, 31, 202, 474, 2067, 31, 3639, 22425, 16756, 8526, 1353, 273, 394, 22425, 16756, 63, 90, 18, 1467, 1435, 15533, 3639, 509, 24971, 273, 374, 31, 3639, 532, 18, 16924, 18, 6290, 2 ]
public void execute(JobExecutionContext context) throws JobExecutionException { String jobName = context.getJobDetail().getFullName(); // if the job is recovering print a message if (context.isRecovering()) { _log.info("SimpleRecoveryJob: " + jobName + " RECOVERING at " + new Date()); } else { _log.info("SimpleRecoveryJob: " + jobName + " starting at " + new Date()); } // delay for ten seconds long delay = 10L * 1000L; try { Thread.sleep(delay); } catch (Exception e) { } JobDataMap data = context.getJobDetail().getJobDataMap(); int count; if (data.containsKey(COUNT)) { count = data.getInt(COUNT); } else { count = 0; } count++; data.put(COUNT, count); _log.info("SimpleRecoveryJob: " + jobName + " done at " + new Date() + "\n Execution #" + count); }
3431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3431/8441c8be6e16f3f87693ab6cfeae2bf90caf7159/SimpleRecoveryJob.java/buggy/examples/src/java/org/quartz/examples/example13/SimpleRecoveryJob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1836, 12, 31498, 1042, 819, 13, 1082, 202, 15069, 3956, 14576, 288, 202, 202, 780, 17833, 273, 819, 18, 588, 2278, 6109, 7675, 588, 19223, 5621, 202, 202, 759, 309, 326, 1719, 353, 5910, 310, 1172, 279, 883, 3639, 309, 261, 2472, 18, 291, 27622, 310, 10756, 288, 5411, 389, 1330, 18, 1376, 2932, 5784, 11548, 2278, 30, 315, 397, 17833, 397, 315, 2438, 3865, 2204, 1360, 622, 315, 397, 394, 2167, 10663, 3639, 289, 3639, 469, 288, 5411, 389, 1330, 18, 1376, 2932, 5784, 11548, 2278, 30, 315, 397, 17833, 397, 315, 5023, 622, 315, 397, 394, 2167, 10663, 3639, 289, 3639, 368, 4624, 364, 19572, 3974, 3639, 1525, 4624, 273, 1728, 48, 380, 4336, 48, 31, 3639, 775, 288, 540, 202, 3830, 18, 19607, 12, 10790, 1769, 3639, 289, 3639, 1044, 261, 503, 425, 13, 288, 3639, 289, 3639, 3956, 31982, 501, 273, 819, 18, 588, 2278, 6109, 7675, 588, 2278, 31982, 5621, 3639, 509, 1056, 31, 3639, 309, 261, 892, 18, 12298, 653, 12, 7240, 3719, 288, 540, 202, 1883, 273, 501, 18, 588, 1702, 12, 7240, 1769, 3639, 289, 3639, 469, 288, 540, 202, 1883, 273, 374, 31, 3639, 289, 3639, 1056, 9904, 31, 3639, 501, 18, 458, 12, 7240, 16, 1056, 1769, 7734, 389, 1330, 18, 1376, 2932, 5784, 11548, 2278, 30, 315, 397, 17833, 397, 1850, 202, 202, 6, 2731, 622, 315, 397, 394, 2167, 1435, 397, 1850, 202, 202, 12691, 82, 8687, 31526, 397, 1056, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1836, 12, 31498, 1042, 819, 13, 1082, 202, 15069, 3956, 14576, 288, 202, 202, 780, 17833, 273, 819, 18, 588, 2278, 6109, 7675, 588, 19223, 5621, 202, 202, 759, 309, 326, 1719, 353, 5910, 310, 1172, 279, 883, 3639, 309, 261, 2472, 18, 291, 27622, 310, 10756, 288, 5411, 389, 1330, 18, 1376, 2932, 5784, 11548, 2278, 30, 315, 397, 17833, 397, 315, 2438, 3865, 2204, 1360, 622, 315, 397, 394, 2167, 10663, 3639, 289, 3639, 469, 288, 5411, 389, 1330, 18, 1376, 2932, 5784, 11548, 2278, 30, 315, 397, 17833, 397, 315, 5023, 622, 315, 397, 394, 2167, 10663, 3639, 289, 3639, 368, 4624, 364, 19572, 3974, 3639, 1525, 4624, 273, 1728, 48, 380, 2 ]
protected void setKeyboardActions() { Action deleteAction = new AbstractAction() { public void actionPerformed(ActionEvent evt) { MatrixTreeNode[] nodes = getSelectionNodes(); if (nodes == null) { return; } DeleteDialog deleteDialog = DeleteDialog.getDeleteDialog(nodes, getLocationOnScreen(), getSize()); deleteDialog.show(); //deleteDialog.setVisible(true); //GUIUtilities.showInScreenCenter(deleteDialog); } }; Action searchAction = new AbstractAction() { public void actionPerformed(ActionEvent evt) { Point topLeft = new Point(getLocationOnScreen()); SearchDialog searchDialog = SearchDialog.getSearchDialog(topLeft, getSize()); searchDialog.show(); } }; /* Action openSelectionAction = new AbstractAction() { public void actionPerformed(ActionEvent evt) { MatrixTreeNode[] nodes = getSelectionNodes(); if (nodes == null) { return; } SelectionDialog selectionDialog = SelectionDialog.getSelectionDialog(nodes); GUIUtilities.showInScreenCenter(selectionDialog); } }; Action createSelectionAction = new AbstractAction() { public void actionPerformed(ActionEvent evt) { createSelection(); } };*/ /*Action findAssetAction = new AbstractAction() { public void actionPerformed(ActionEvent evt) { } };*/ getInputMap().put(KeyStroke.getKeyStroke("DELETE"), "delete"); getActionMap().put("delete", deleteAction); getInputMap().put(KeyStroke.getKeyStroke("shift ctrl J"), "search"); getActionMap().put("search", searchAction); /*getInputMap().put(KeyStroke.getKeyStroke("shift ctrl S"), "open selection"); getActionMap().put("open selection", openSelectionAction); getInputMap().put(KeyStroke.getKeyStroke("shift ctrl C"), "create selection"); getActionMap().put("create selection", createSelectionAction); getInputMap().put(KeyStroke.getKeyStroke("shift ctrl A"), "find asset"); getActionMap().put("find asset", findAssetAction);*/ }
7783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7783/2e0ba0f92c19c555d277beef3df40501c8214d09/MatrixTree.java/buggy/core/lib/asset_map/java/src/net/squiz/matrix/matrixtree/MatrixTree.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 16696, 3752, 6100, 1435, 288, 202, 202, 1803, 1430, 1803, 273, 394, 4115, 1803, 1435, 288, 1082, 202, 482, 918, 26100, 12, 1803, 1133, 6324, 13, 288, 9506, 202, 4635, 12513, 8526, 2199, 273, 23204, 3205, 5621, 9506, 202, 430, 261, 4690, 422, 446, 13, 288, 6862, 202, 2463, 31, 9506, 202, 97, 9506, 202, 2613, 6353, 1430, 6353, 273, 2504, 6353, 18, 588, 2613, 6353, 12, 4690, 16, 13312, 1398, 7956, 9334, 9950, 10663, 9506, 202, 3733, 6353, 18, 4500, 5621, 9506, 202, 759, 3733, 6353, 18, 542, 6207, 12, 3767, 1769, 9506, 202, 759, 43, 5370, 11864, 18, 4500, 382, 7956, 8449, 12, 3733, 6353, 1769, 1082, 202, 97, 202, 202, 20451, 202, 202, 1803, 1623, 1803, 273, 394, 4115, 1803, 1435, 288, 1082, 202, 482, 918, 26100, 12, 1803, 1133, 6324, 13, 288, 9506, 202, 2148, 1760, 3910, 273, 394, 4686, 12, 588, 2735, 1398, 7956, 10663, 9506, 202, 2979, 6353, 1623, 6353, 273, 5167, 6353, 18, 588, 2979, 6353, 12, 3669, 3910, 16, 9950, 10663, 9506, 202, 3072, 6353, 18, 4500, 5621, 1082, 202, 97, 202, 202, 20451, 202, 20308, 202, 1803, 1696, 6233, 1803, 273, 394, 4115, 1803, 1435, 288, 1082, 202, 482, 918, 26100, 12, 1803, 1133, 6324, 13, 288, 9506, 202, 4635, 12513, 8526, 2199, 273, 23204, 3205, 5621, 9506, 202, 430, 261, 4690, 422, 446, 13, 288, 6862, 202, 2463, 31, 9506, 202, 97, 9506, 202, 6233, 6353, 4421, 6353, 273, 12977, 6353, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 16696, 3752, 6100, 1435, 288, 202, 202, 1803, 1430, 1803, 273, 394, 4115, 1803, 1435, 288, 1082, 202, 482, 918, 26100, 12, 1803, 1133, 6324, 13, 288, 9506, 202, 4635, 12513, 8526, 2199, 273, 23204, 3205, 5621, 9506, 202, 430, 261, 4690, 422, 446, 13, 288, 6862, 202, 2463, 31, 9506, 202, 97, 9506, 202, 2613, 6353, 1430, 6353, 273, 2504, 6353, 18, 588, 2613, 6353, 12, 4690, 16, 13312, 1398, 7956, 9334, 9950, 10663, 9506, 202, 3733, 6353, 18, 4500, 5621, 9506, 202, 759, 3733, 6353, 18, 542, 6207, 12, 3767, 1769, 9506, 202, 759, 43, 5370, 11864, 18, 4500, 382, 7956, 8449, 12, 3733, 6353, 1769, 1082, 202, 97, 202, 202, 20451, 202, 2 ]
super(config); configure(config); }
super(config); configure(config); }
public Max(final Configuration config) throws ConfigurationException, GeneralException { super(config); //long t = System.currentTimeMillis(); configure(config); // System.err.println("init: " + // Long.toString(System.currentTimeMillis() - // t) + "ms"); }
9123 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9123/cd4ac13f5edb5c26f1268369583e74137315d1bd/Max.java/clean/ExTeX/src/java/de/dante/extex/interpreter/max/Max.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4238, 12, 6385, 4659, 642, 13, 5411, 1216, 22196, 16, 7734, 9544, 503, 288, 3639, 2240, 12, 1425, 1769, 3639, 368, 5748, 268, 273, 2332, 18, 2972, 28512, 5621, 3639, 5068, 12, 1425, 1769, 3639, 368, 3639, 2332, 18, 370, 18, 8222, 2932, 2738, 30, 315, 397, 3639, 368, 21821, 3407, 18, 10492, 12, 3163, 18, 2972, 28512, 1435, 300, 3639, 368, 29159, 268, 13, 397, 315, 959, 8863, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4238, 12, 6385, 4659, 642, 13, 5411, 1216, 22196, 16, 7734, 9544, 503, 288, 3639, 2240, 12, 1425, 1769, 3639, 368, 5748, 268, 273, 2332, 18, 2972, 28512, 5621, 3639, 5068, 12, 1425, 1769, 3639, 368, 3639, 2332, 18, 370, 18, 8222, 2932, 2738, 30, 315, 397, 3639, 368, 21821, 3407, 18, 10492, 12, 3163, 18, 2972, 28512, 1435, 300, 3639, 368, 29159, 268, 13, 397, 315, 959, 8863, 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 ]
public final void addChangeListener(Feature f, ChangeListener cl, ChangeType ct) { if (!f.isUnchanging(ct)) { PFChangeForwarder forwarder = (PFChangeForwarder) forwardersByFeature.get(f); if (forwarder == null) { forwarder = new PFChangeForwarder(f); forwardersByFeature.put(f, forwarder); f.addChangeListener(forwarder, ChangeType.UNKNOWN); } forwarder.addChangeListener(cl, ct); } }
50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/6af69e6d2e15b3553ee1bc70f261ad615ee61682/ReparentContext.java/clean/src/org/biojava/bio/seq/projection/ReparentContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6385, 6459, 1289, 15744, 12, 4595, 74, 16, 15744, 830, 16, 3043, 559, 299, 15329, 430, 12, 5, 74, 18, 291, 984, 343, 18183, 12, 299, 3719, 95, 22026, 3043, 30839, 1884, 20099, 28657, 22026, 3043, 30839, 13, 11565, 414, 858, 4595, 18, 588, 12, 74, 1769, 430, 12, 1884, 20099, 631, 2011, 15329, 1884, 20099, 33, 2704, 22026, 3043, 30839, 12, 74, 1769, 11565, 414, 858, 4595, 18, 458, 12, 74, 16, 1884, 20099, 1769, 74, 18, 1289, 15744, 12, 1884, 20099, 16, 3043, 559, 18, 14737, 1769, 97, 1884, 20099, 18, 1289, 15744, 12, 830, 16, 299, 1769, 9090, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6385, 6459, 1289, 15744, 12, 4595, 74, 16, 15744, 830, 16, 3043, 559, 299, 15329, 430, 12, 5, 74, 18, 291, 984, 343, 18183, 12, 299, 3719, 95, 22026, 3043, 30839, 1884, 20099, 28657, 22026, 3043, 30839, 13, 11565, 414, 858, 4595, 18, 588, 12, 74, 1769, 430, 12, 1884, 20099, 631, 2011, 15329, 1884, 20099, 33, 2704, 22026, 3043, 30839, 12, 74, 1769, 11565, 414, 858, 4595, 18, 458, 12, 74, 16, 1884, 20099, 1769, 74, 18, 1289, 15744, 12, 1884, 20099, 16, 3043, 559, 18, 14737, 1769, 97, 1884, 20099, 18, 1289, 15744, 12, 830, 16, 299, 1769, 9090, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
try
try
public ResultSet executeQuery(String sql) throws SQLException { try { c.ensureInTransaction(); if (!internalExecute(sql)) { throw new SQLException("query did not return a result set: " + sql); } if (c.willEndTransaction()) { ResultSet rs = getCachedResultSet(false); //autocommits. return rs; } // end of if () else { return getResultSet(); } // end of else } catch (ResourceException re) { log.warn("resource exception", re); throw new SQLException("ResourceException: " + re); } // end of try-catch catch (GDSException ge) { throw new SQLException("GDSException: " + ge); } // end of try-catch finally { c.checkEndTransaction(); } // end of finally }
6960 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6960/9cf27406d17b25f7d34d0bda4d11841de282d260/FBStatement.java/buggy/src/org/firebirdsql/jdbc/FBStatement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10842, 14304, 12, 780, 1847, 13, 1216, 225, 6483, 288, 3639, 775, 540, 288, 5411, 276, 18, 15735, 382, 3342, 5621, 5411, 309, 16051, 7236, 5289, 12, 4669, 3719, 288, 7734, 604, 394, 6483, 2932, 2271, 5061, 486, 327, 279, 563, 444, 30, 315, 397, 1847, 1769, 5411, 289, 5411, 309, 261, 71, 18, 20194, 1638, 3342, 10756, 2398, 288, 7734, 10842, 3597, 273, 20543, 13198, 12, 5743, 1769, 7734, 368, 5854, 9970, 22679, 18, 7734, 327, 3597, 31, 10402, 289, 368, 679, 434, 309, 1832, 5411, 469, 2398, 288, 7734, 327, 8601, 694, 5621, 5411, 289, 368, 679, 434, 469, 3639, 289, 3639, 1044, 261, 14785, 283, 13, 540, 288, 6647, 613, 18, 8935, 2932, 3146, 1520, 3113, 283, 1769, 6647, 604, 394, 6483, 2932, 14785, 30, 315, 397, 283, 1769, 3639, 289, 368, 679, 434, 775, 17, 14683, 3639, 1044, 261, 43, 3948, 503, 8244, 13, 540, 288, 5411, 604, 394, 6483, 2932, 43, 3948, 503, 30, 315, 397, 8244, 1769, 3639, 289, 368, 679, 434, 775, 17, 14683, 3639, 3095, 540, 288, 5411, 276, 18, 1893, 1638, 3342, 5621, 3639, 289, 368, 679, 434, 3095, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10842, 14304, 12, 780, 1847, 13, 1216, 225, 6483, 288, 3639, 775, 540, 288, 5411, 276, 18, 15735, 382, 3342, 5621, 5411, 309, 16051, 7236, 5289, 12, 4669, 3719, 288, 7734, 604, 394, 6483, 2932, 2271, 5061, 486, 327, 279, 563, 444, 30, 315, 397, 1847, 1769, 5411, 289, 5411, 309, 261, 71, 18, 20194, 1638, 3342, 10756, 2398, 288, 7734, 10842, 3597, 273, 20543, 13198, 12, 5743, 1769, 7734, 368, 5854, 9970, 22679, 18, 7734, 327, 3597, 31, 10402, 289, 368, 679, 434, 309, 1832, 5411, 469, 2398, 288, 7734, 327, 8601, 694, 5621, 5411, 289, 368, 679, 434, 469, 3639, 289, 3639, 1044, 261, 14785, 283, 13, 540, 288, 6647, 613, 18, 8935, 2932, 3146, 2 ]
VMRunnerConfiguration config= new VMRunnerConfiguration("org.eclipse.jdt.internal.ui.snippeteditor.ScrapbookMain", classPath);
private boolean doLaunch(IJavaProject p, String mode, IFile page, String[] classPath, ILauncher launcherProxy) { try { IVMRunner runner= getVMRunner(p, mode); if (runner == null) { return false; } VMRunnerConfiguration config= new VMRunnerConfiguration("org.eclipse.jdt.internal.ui.snippeteditor.ScrapbookMain", classPath); //$NON-NLS-1$ ISourceLocator sl= new ProjectSourceLocator(p); try { IPath outputLocation = p.getOutputLocation(); IResource outputFolder = p.getProject().getWorkspace().getRoot().findMember(outputLocation); if (outputFolder == null) { return false; } IPath osPath = outputFolder.getLocation(); java.io.File f = new java.io.File(osPath.toOSString()); URL u = null; try { u = f.toURL(); } catch (MalformedURLException e) { return false; } String url = u.toExternalForm(); config.setProgramArguments(new String[] {url}); } catch (JavaModelException e) { return false; } VMRunnerResult result= runner.run(config); if (result != null) { IDebugTarget dt = result.getDebugTarget(); IBreakpoint magicBreakpoint = createMagicBreakpoint(getMainType(p)); fScrapbookToVMs.put(page, dt); fVMsToScrapbooks.put(dt, page); fVMsToBreakpoints.put(dt, magicBreakpoint); dt.breakpointAdded(magicBreakpoint); Launch newLaunch= new Launch(launcherProxy, mode, page, sl,result.getProcesses(), dt); IDebugUIEventFilter filter = new ScrapbookEventFilter(newLaunch); fVMsToFilters.put(dt, filter); DebugUITools.addEventFilter(filter); DebugPlugin.getDefault().getLaunchManager().registerLaunch(newLaunch); return true; } } catch (CoreException e) { JavaPlugin.log(e); ErrorDialog.openError(JavaPlugin.getActiveWorkbenchShell(), SnippetMessages.getString("ScrapbookLauncher.error.title"), SnippetMessages.getString("ScrapbookLauncher.error.exception"), e.getStatus()); //$NON-NLS-2$ //$NON-NLS-1$ } return false; }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/2db0904a35cd95a4d061961dc64f7371c0fa3588/ScrapbookLauncherDelegate.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/snippeteditor/ScrapbookLauncherDelegate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 741, 9569, 12, 45, 5852, 4109, 293, 16, 514, 1965, 16, 467, 812, 1363, 16, 514, 8526, 22503, 16, 467, 28820, 26618, 3886, 13, 288, 202, 202, 698, 288, 1082, 202, 45, 7397, 9709, 8419, 33, 336, 7397, 9709, 12, 84, 16, 1965, 1769, 1082, 202, 430, 261, 18156, 422, 446, 13, 288, 9506, 202, 2463, 629, 31, 1082, 202, 97, 25083, 202, 7397, 9709, 1750, 642, 33, 394, 8251, 9709, 1750, 2932, 3341, 18, 20416, 18, 78, 7510, 18, 7236, 18, 4881, 18, 25788, 9177, 18, 1541, 1266, 3618, 6376, 3113, 22503, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 45, 1830, 5786, 2020, 33, 394, 5420, 1830, 5786, 12, 84, 1769, 1082, 202, 698, 288, 9506, 202, 45, 743, 876, 2735, 273, 202, 84, 18, 588, 1447, 2735, 5621, 9506, 202, 45, 1420, 876, 3899, 273, 293, 18, 588, 4109, 7675, 588, 8241, 7675, 588, 2375, 7675, 4720, 4419, 12, 2844, 2735, 1769, 9506, 202, 430, 261, 2844, 3899, 422, 446, 13, 288, 6862, 202, 2463, 629, 31, 9506, 202, 97, 9506, 202, 45, 743, 1140, 743, 273, 876, 3899, 18, 588, 2735, 5621, 9506, 202, 6290, 18, 1594, 18, 812, 284, 273, 394, 2252, 18, 1594, 18, 812, 12, 538, 743, 18, 869, 4618, 780, 10663, 9506, 202, 1785, 582, 273, 446, 31, 9506, 202, 698, 288, 6862, 202, 89, 273, 284, 18, 869, 1785, 5621, 9506, 202, 97, 1044, 261, 18695, 20160, 425, 13, 288, 6862, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 741, 9569, 12, 45, 5852, 4109, 293, 16, 514, 1965, 16, 467, 812, 1363, 16, 514, 8526, 22503, 16, 467, 28820, 26618, 3886, 13, 288, 202, 202, 698, 288, 1082, 202, 45, 7397, 9709, 8419, 33, 336, 7397, 9709, 12, 84, 16, 1965, 1769, 1082, 202, 430, 261, 18156, 422, 446, 13, 288, 9506, 202, 2463, 629, 31, 1082, 202, 97, 25083, 202, 7397, 9709, 1750, 642, 33, 394, 8251, 9709, 1750, 2932, 3341, 18, 20416, 18, 78, 7510, 18, 7236, 18, 4881, 18, 25788, 9177, 18, 1541, 1266, 3618, 6376, 3113, 22503, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 45, 1830, 5786, 2020, 33, 394, 5420, 1830, 5786, 12, 84, 1769, 2 ]
{
{
public Element getElement() { return elt; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/View.java/buggy/core/src/classpath/javax/javax/swing/text/View.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3010, 7426, 1435, 565, 288, 565, 327, 11572, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3010, 7426, 1435, 565, 288, 565, 327, 11572, 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, -100, -100, -100, -100, -100 ]
public static <T extends Enum&NamedEnum> T getEnumElementByValue(final Class<T> enumClass, final String value) { for (final T t : enumClass.getEnumConstants()) { if (Comparing.equal(t.getValue(), value)) { return t;
public static <T extends Enum> T getEnumElementByValue(final Class<T> enumClass, final String value) { if (NamedEnum.class.isAssignableFrom(enumClass)) { for (final T t : enumClass.getEnumConstants()) { if (Comparing.equal(((NamedEnum)t).getValue(), value)) { return t; }
public static <T extends Enum&NamedEnum> T getEnumElementByValue(final Class<T> enumClass, final String value) { for (final T t : enumClass.getEnumConstants()) { if (Comparing.equal(t.getValue(), value)) { return t; } } return null; }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/4f8dac39610170c27c1c3aa26dad4382b5bfea7d/NamedEnumUtil.java/buggy/source/com/intellij/util/xml/NamedEnumUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 411, 56, 3231, 6057, 10, 7604, 3572, 34, 399, 26813, 1046, 30110, 12, 6385, 1659, 32, 56, 34, 2792, 797, 16, 727, 514, 460, 13, 288, 565, 364, 261, 6385, 399, 268, 294, 2792, 797, 18, 588, 3572, 2918, 10756, 288, 1377, 309, 261, 799, 12583, 18, 9729, 12, 88, 18, 24805, 9334, 460, 3719, 288, 3639, 327, 268, 31, 1377, 289, 565, 289, 565, 327, 446, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 411, 56, 3231, 6057, 10, 7604, 3572, 34, 399, 26813, 1046, 30110, 12, 6385, 1659, 32, 56, 34, 2792, 797, 16, 727, 514, 460, 13, 288, 565, 364, 261, 6385, 399, 268, 294, 2792, 797, 18, 588, 3572, 2918, 10756, 288, 1377, 309, 261, 799, 12583, 18, 9729, 12, 88, 18, 24805, 9334, 460, 3719, 288, 3639, 327, 268, 31, 1377, 289, 565, 289, 565, 327, 446, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
synthetic.reflection.Field m_nsSupport= tClass.declareField("m_nsSupport"); m_nsSupport.setType(tClass.forClass(org.xml.sax.helpers.NamespaceSupport.class)); m_nsSupport.setInitializer("new org.xml.sax.helpers.NamespaceSupport()");
synthetic.reflection.Field m_nsThreadContexts= tClass.declareField("m_nsThreadContexts"); m_nsThreadContexts.setType(tClass.forClass(java.util.Hashtable.class)); m_nsThreadContexts.setInitializer("new java.util.Hashtable()");
ElemTemplate compileTemplate(ElemTemplate source) { ElemTemplate instance=source; String className=generateUniqueClassName(); try { // public class ACompiledTemplate000... extends ElemTemplate // implements CompiledTemplate synthetic.Class tClass= synthetic.Class.declareClass(className); tClass.setModifiers(java.lang.reflect.Modifier.PUBLIC); tClass.setSuperClass(ElemTemplate.class); tClass.addImplements(tClass.forName("org.apache.xalan.processor.CompiledTemplate")); // Object[] interpretArray is used to // bind to nodes we don't yet know how to compile. // Set at construction. ElemTemplateElements and AVTs... // Synthesis needs a more elegant way to declare array classes // given a base class... synthetic.reflection.Field interpretArray= tClass.declareField("interpretArray"); // org.apache.xalan.templates.ElemTemplateElement interpretArray.setType(tClass.forName("java.lang.Object[]")); // Namespace context tracking. Note that this is dynamic state // during execution, _NOT_ the static state tied to a single // ElemTemplateElement during parsing//GONK// // TODO: ***** PROBLEM: THIS ISN'T THREADSAFE. It needs to be // a class field rather than an automatic in order to support // callback via getNamespaceForPrefix. But it also needs to be // thread-specific. Unfortunately, that callback doesn't pass // the xctxt as a parameter, so we can't stash it there. // Best thought I've got is a Thread-indexed hashtable... ugh. synthetic.reflection.Field m_nsSupport= tClass.declareField("m_nsSupport"); m_nsSupport.setType(tClass.forClass(org.xml.sax.helpers.NamespaceSupport.class)); m_nsSupport.setInitializer("new org.xml.sax.helpers.NamespaceSupport()"); // And accessor, to let kids query current state synthetic.reflection.Method getNSURI = tClass.declareMethod("getNamespaceForPrefix"); getNSURI.addParameter(tClass.forClass(java.lang.String.class),"nsprefix"); getNSURI.setReturnType(tClass.forClass(java.lang.String.class)); getNSURI.setModifiers(java.lang.reflect.Modifier.PUBLIC); getNSURI.getBody().append( "String nsuri=m_nsSupport.getURI(nsprefix);\n" +"if(null==nsuri || nsuri.length()==0)\n" +"nsuri=m_parentNode.getNamespaceForPrefix(nsprefix);\n" +"return nsuri;\n" ); // public constructor: Copy values from original // template object, pick up "uncompiled children" // array from compilation/instantiation process. synthetic.reflection.Constructor ctor= tClass.declareConstructor(); ctor.setModifiers(java.lang.reflect.Modifier.PUBLIC); ctor.addParameter(tClass.getSuperclass(),"original"); ctor.addParameter(interpretArray.getType(),"interpretArray"); // It'd be easiest in most cases to copy values direct from the // "original" template during instantiation. However, I want to make // as many as possible into literals, for efficiency and debugability. ctor.getBody().append( "org.xml.sax.helpers.LocatorImpl locator=new org.xml.sax.helpers.LocatorImpl();\n" +"locator.setLineNumber("+source.getLineNumber()+");\n" +"locator.setColumnNumber("+source.getColumnNumber()+");\n" +"locator.setPublicId("+makeQuotedString(source.getPublicId())+");\n" +"locator.setSystemId("+makeQuotedString(source.getSystemId())+");\n" +"setLocaterInfo(locator); // yes, or/er clash\n" +"// uncompiled descendents/children\n" +"this.interpretArray=interpretArray;\n" +"// other context values which seem to be needed\n" +"setMatch(original.getMatch());\n" +"setMode(original.getMode());\n" +"setName(original.getName());\n" +"setPriority(original.getPriority());\n" +"setStylesheet(original.getStylesheet());\n\n" //+"setLocatorInfo(new Locator(original.getPublicID(),original.getSystemID()));\n" // Reparent the interpreted ElemTemplateElements, // to break their dependency on interpretive code. // AVTs in this array don't need proceessing, as they are // apparently not directly aware of their Elements. +"for(int i=0;i<interpretArray.length;++i)\n{\n" +"\tif(interpretArray[i] instanceof org.apache.xalan.templates.ElemTemplateElement)\n" +"\t{\n" +"\torg.apache.xalan.templates.ElemTemplateElement ete=(org.apache.xalan.templates.ElemTemplateElement)interpretArray[i];\n" // Append alone is not enough; it's lightweight, and assumes // the child had no previous parent. Need to remove first. // (We know that there _was_ a previous parent, of course!) +"\tappendChild(ete.getParentElem().removeChild(ete));\n" +"\t}\n}\n" ); // Corresponding vector built during compilation Vector interpretVector=new Vector(); // Now for the big guns: the execute() method is where all the // actual work of the template is performed, and is what we've // really set out to compile. // public void execute(TransformerImpl transformer, // Node sourceNode, QName mode) synthetic.reflection.Method exec= tClass.declareMethod("execute"); exec.setModifiers(java.lang.reflect.Modifier.PUBLIC); exec.addParameter( tClass.forClass(org.apache.xalan.transformer.TransformerImpl.class), "transformer"); exec.addParameter( tClass.forClass(org.w3c.dom.Node.class),"sourceNode"); exec.addParameter( tClass.forClass(org.apache.xalan.utils.QName.class),"mode"); exec.addExceptionType( tClass.forClass(org.xml.sax.SAXException.class)); // If there are no kids, the body is a no-op. ElemTemplateElement firstChild = source.getFirstChildElem(); if(null == firstChild) { exec.getBody().append("//empty template"); } else { // Body startup // **** FIRST DRAFT, I'm continuing to use ResultTreeHandler // In future we might want to move toward direct SAX generation, // (though that requires reordering data into normal SAX // event order, generating trace events, and figuring // out how to cooperate w/ template fragments not yet // switched over to compiled mode)... or to raw text output, // though I doubt that's significantly faster than SAX and it's // definitely less convenient if further processing is desired. StringBuffer body=exec.getBody().append( "if(transformer.S_DEBUG)\n" +" transformer.getTraceManager().fireTraceEvent(sourceNode, mode, this);\n" +"org.apache.xalan.transformer.ResultTreeHandler rhandler = transformer.getResultTreeHandler();\n" +"org.xml.sax.ContentHandler saxChandler = rhandler.getContentHandler();\n" +"if(null == sourceNode) {\n" // throws(org.xml.sax.SAXException +" transformer.getMsgMgr().error(this, sourceNode,\n" +" org.apache.xalan.res.XSLTErrorResources.ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES);\n" //sourceNode is null in handleApplyTemplatesInstruction! +" return; }\n" +"org.apache.xpath.XPathContext xctxt = transformer.getXPathContext();\n" +"// Check for infinite loops if requested\n" +"boolean check = (transformer.getRecursionLimit() > -1);\n" +"if (check)\n" +" transformer.getStackGuard().push(this, sourceNode);\n" +"String avtStringedValue; // ***** Optimize away?\n\n" ); compileChildTemplates(source,body,interpretVector); body.append( "// Decrement infinite-loop check\n" +"if (check)\n" +" transformer.getStackGuard().pop();\n" ); } // Compile the new class // TODO: ***** ISSUE: Where write out the class? Needs to // be somewhere on the classpath. // TODO: ***** ISSUE: What if file already exists? // I think the answer in this case is "overwrite it.". Class realclass=compileSyntheticClass(tClass,"."); // Prepare the array of execute()ables Object[] eteParms=new Object[interpretVector.size()]; interpretVector.copyInto(eteParms); // Instantiate -- note that this will be a singleton, // as each template is probably unique synthetic.reflection.Constructor c= tClass.getConstructor(ctor.getParameterTypes()); Object[] parms={source,eteParms}; instance=(ElemTemplate)c.newInstance(parms); } catch(synthetic.SynthesisException e) { System.out.println("CompilingStylesheetHandler class synthesis error"); e.printStackTrace(); } catch(java.lang.ClassNotFoundException e) { System.out.println("CompilingStylesheetHandler class resolution error"); e.printStackTrace(); } catch(java.lang.IllegalAccessException e) { System.out.println("CompilingStylesheetHandler class comilation error"); e.printStackTrace(); } catch(java.lang.NoSuchMethodException e) { System.out.println("CompilingStylesheetHandler constructor resolution error"); e.printStackTrace(); } catch(java.lang.InstantiationException e) { System.out.println("CompilingStylesheetHandler constructor invocation error"); e.printStackTrace(); } catch(java.lang.reflect.InvocationTargetException e) { System.out.println("CompilingStylesheetHandler constructor invocation error"); e.printStackTrace(); } return instance; }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/0f57c9713ed827ec1bd216de89080c15e075ea16/CompilingStylesheetHandler.java/buggy/src/org/apache/xalan/processor/CompilingStylesheetHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 10223, 2283, 4074, 2283, 12, 7498, 2283, 1084, 13, 225, 288, 565, 10223, 2283, 791, 33, 3168, 31, 565, 514, 2658, 33, 7163, 6303, 3834, 5621, 5411, 775, 565, 288, 3639, 368, 1071, 667, 432, 20733, 2283, 3784, 2777, 3231, 10223, 2283, 202, 202, 759, 4792, 25854, 2283, 3639, 25535, 18, 797, 268, 797, 33, 5411, 25535, 18, 797, 18, 29554, 797, 12, 12434, 1769, 3639, 268, 797, 18, 542, 11948, 12, 6290, 18, 4936, 18, 1734, 1582, 18, 9829, 18, 14939, 1769, 3639, 268, 797, 18, 542, 8051, 797, 12, 7498, 2283, 18, 1106, 1769, 3639, 268, 797, 18, 1289, 17516, 12, 88, 797, 18, 1884, 461, 2932, 3341, 18, 19211, 18, 92, 4316, 18, 8700, 18, 20733, 2283, 7923, 1769, 3639, 368, 1033, 8526, 10634, 1076, 353, 1399, 358, 3639, 368, 1993, 358, 2199, 732, 2727, 1404, 4671, 5055, 3661, 358, 4074, 18, 3639, 368, 1000, 622, 16171, 18, 10223, 2283, 3471, 471, 15068, 17218, 2777, 3639, 368, 16091, 20432, 4260, 279, 1898, 415, 1332, 970, 4031, 358, 14196, 526, 3318, 3639, 368, 864, 279, 1026, 667, 2777, 540, 25535, 18, 26606, 18, 974, 10634, 1076, 33, 5411, 268, 797, 18, 29554, 974, 2932, 24713, 1076, 8863, 3639, 368, 2358, 18, 19211, 18, 92, 4316, 18, 8502, 18, 7498, 2283, 1046, 3639, 10634, 1076, 18, 542, 559, 12, 88, 797, 18, 1884, 461, 2932, 6290, 18, 4936, 18, 921, 63, 4279, 10019, 3639, 368, 6005, 819, 11093, 18, 3609, 716, 333, 353, 5976, 919, 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, 10223, 2283, 4074, 2283, 12, 7498, 2283, 1084, 13, 225, 288, 565, 10223, 2283, 791, 33, 3168, 31, 565, 514, 2658, 33, 7163, 6303, 3834, 5621, 5411, 775, 565, 288, 3639, 368, 1071, 667, 432, 20733, 2283, 3784, 2777, 3231, 10223, 2283, 202, 202, 759, 4792, 25854, 2283, 3639, 25535, 18, 797, 268, 797, 33, 5411, 25535, 18, 797, 18, 29554, 797, 12, 12434, 1769, 3639, 268, 797, 18, 542, 11948, 12, 6290, 18, 4936, 18, 1734, 1582, 18, 9829, 18, 14939, 1769, 3639, 268, 797, 18, 542, 8051, 797, 12, 7498, 2283, 18, 1106, 1769, 3639, 268, 797, 18, 1289, 17516, 12, 88, 797, 18, 1884, 461, 2932, 3341, 18, 19211, 18, 92, 4316, 18, 8700, 18, 2 ]
rows[i]=posX++; cols[i]=posY;
rows[idx]=posX++; cols[idx]=posY;
public static SpaceTimeSchedule layout(Trace[] traces,int row,int col) { SpaceTimeSchedule sched=new SpaceTimeSchedule(row,col); final int len=row*2+col*2-4; int[] rows=new int[len]; int[] cols=new int[len]; rows[0]=0; cols[0]=0; row--; col--; int idx=1; int posX=0; int posY=1; for(;idx<row;idx++) { rows[idx]=posX; cols[idx]=posY++; //System.out.println("("+rows[idx]+","+cols[idx]+")"); } for(int i=0;i<col;i++,idx++) { rows[i]=posX++; cols[i]=posY; //System.out.println("("+rows[i]+","+cols[i]+")"); } for(int i=0;i<row;i++,idx++) { rows[i]=posX; cols[i]=posY--; //System.out.println("("+rows[i]+","+cols[i]+")"); } for(int i=0;i<col;i++,idx++) { rows[i]=posX--; cols[i]=posY; //System.out.println("("+rows[i]+","+cols[i]+")"); } idx=0; final int tracesLen=traces.length; for(int i=0;i<tracesLen;i++) { Trace trace=traces[i]; //System.out.println("Laying out: "+trace); int size=trace.size(); TraceNode filter=trace.getHead().getNext(); //System.out.println(idx); int curRow=rows[idx]; int curCol=cols[idx]; ((FilterTraceNode)filter).setXY(curRow,curCol); sched.addHead(trace,curRow,curCol); idx++; if(idx==len) idx=0; filter=filter.getNext(); for(int j=1;j<size;j++) { //System.out.println(idx); curRow=rows[idx]; curCol=cols[idx]; ((FilterTraceNode)filter).setXY(curRow,curCol); sched.add(trace,curRow,curCol); idx++; if(idx==len) idx=0; filter=filter.getNext(); } } return sched; }
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/179ae535baf9a54e1126bc0cf311731f60f77700/TestLayout.java/buggy/streams/src/at/dms/kjc/spacetime/TestLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 14059, 950, 6061, 3511, 12, 3448, 8526, 19649, 16, 474, 1027, 16, 474, 645, 13, 288, 202, 3819, 950, 6061, 23964, 33, 2704, 14059, 950, 6061, 12, 492, 16, 1293, 1769, 202, 6385, 509, 562, 33, 492, 14, 22, 15, 1293, 14, 22, 17, 24, 31, 202, 474, 8526, 2595, 33, 2704, 509, 63, 1897, 15533, 202, 474, 8526, 5347, 33, 2704, 509, 63, 1897, 15533, 202, 3870, 63, 20, 65, 33, 20, 31, 202, 6842, 63, 20, 65, 33, 20, 31, 202, 492, 413, 31, 202, 1293, 413, 31, 202, 474, 2067, 33, 21, 31, 202, 474, 949, 60, 33, 20, 31, 202, 474, 949, 61, 33, 21, 31, 202, 1884, 12, 31, 3465, 32, 492, 31, 3465, 27245, 288, 202, 565, 2595, 63, 3465, 65, 33, 917, 60, 31, 202, 565, 5347, 63, 3465, 65, 33, 917, 61, 9904, 31, 202, 565, 368, 3163, 18, 659, 18, 8222, 2932, 2932, 15, 3870, 63, 3465, 3737, 15937, 15, 6842, 63, 3465, 3737, 6, 2225, 1769, 202, 97, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 1293, 31, 77, 9904, 16, 3465, 27245, 288, 202, 565, 2595, 63, 77, 65, 33, 917, 60, 9904, 31, 202, 565, 5347, 63, 77, 65, 33, 917, 61, 31, 202, 565, 368, 3163, 18, 659, 18, 8222, 2932, 2932, 15, 3870, 63, 77, 3737, 15937, 15, 6842, 63, 77, 3737, 6, 2225, 1769, 202, 97, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 492, 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, 14059, 950, 6061, 3511, 12, 3448, 8526, 19649, 16, 474, 1027, 16, 474, 645, 13, 288, 202, 3819, 950, 6061, 23964, 33, 2704, 14059, 950, 6061, 12, 492, 16, 1293, 1769, 202, 6385, 509, 562, 33, 492, 14, 22, 15, 1293, 14, 22, 17, 24, 31, 202, 474, 8526, 2595, 33, 2704, 509, 63, 1897, 15533, 202, 474, 8526, 5347, 33, 2704, 509, 63, 1897, 15533, 202, 3870, 63, 20, 65, 33, 20, 31, 202, 6842, 63, 20, 65, 33, 20, 31, 202, 492, 413, 31, 202, 1293, 413, 31, 202, 474, 2067, 33, 21, 31, 202, 474, 949, 60, 33, 20, 31, 202, 474, 949, 61, 33, 21, 31, 202, 1884, 12, 31, 3465, 32, 2 ]
} catch (InterruptedException e) {
} catch (InterruptedException e) {
public void run() { while(!disposing.get()) { if(connector.isStarted()) { UMOEvent event = null; try { try { event = (UMOEvent)queue.take(); UMOMessageAdapter adapter = connector.getMessageAdapter(new MuleMessage(event.getTransformedMessage(), event.getProperties())); routeMessage(new MuleMessage(adapter), event.isSynchronous()); } catch (InterruptedException e) { //ignore } } catch (Exception e) { logger.error("Failed to dispatch event from VM receiver: " + e.getMessage(), e); if(e instanceof UMOException) { connector.getExceptionListener().exceptionThrown(e); } else { connector.getExceptionListener().exceptionThrown(new DispatchException(event.getMessage(), event.getEndpoint(), e)); } } finally { if(event!=null) { queue.remove(event); } } } } }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/28ad5cc0383797e69228b99706befc2cab2cb907/VMMessageReceiver.java/clean/providers/vm/src/java/org/mule/providers/vm/VMMessageReceiver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 565, 288, 3639, 1323, 12, 5, 2251, 24014, 18, 588, 10756, 3639, 288, 5411, 309, 12, 23159, 18, 291, 9217, 10756, 5411, 288, 7734, 587, 5980, 1133, 871, 273, 446, 31, 7734, 775, 7734, 288, 10792, 775, 10792, 288, 13491, 871, 273, 261, 2799, 51, 1133, 13, 4000, 18, 22188, 5621, 13491, 587, 5980, 1079, 4216, 4516, 273, 8703, 18, 24906, 4216, 12, 2704, 490, 725, 1079, 12, 2575, 18, 588, 4059, 329, 1079, 9334, 871, 18, 588, 2297, 1435, 10019, 13491, 1946, 1079, 12, 2704, 490, 725, 1079, 12, 10204, 3631, 871, 18, 291, 55, 7121, 10663, 10792, 289, 1044, 261, 24485, 503, 425, 13, 10792, 288, 13491, 368, 6185, 10792, 289, 7734, 289, 1044, 261, 503, 425, 13, 7734, 288, 10792, 1194, 18, 1636, 2932, 2925, 358, 3435, 871, 628, 8251, 5971, 30, 315, 397, 425, 18, 24906, 9334, 425, 1769, 10792, 309, 12, 73, 1276, 587, 5980, 503, 13, 288, 13491, 8703, 18, 588, 503, 2223, 7675, 4064, 29591, 12, 73, 1769, 10792, 289, 469, 288, 13491, 8703, 18, 588, 503, 2223, 7675, 4064, 29591, 12, 2704, 11552, 503, 12, 2575, 18, 24906, 9334, 871, 18, 588, 3293, 9334, 425, 10019, 10792, 289, 7734, 289, 3095, 288, 10792, 309, 12, 2575, 5, 33, 2011, 13, 288, 13491, 2389, 18, 4479, 12, 2575, 1769, 10792, 289, 7734, 289, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 565, 288, 3639, 1323, 12, 5, 2251, 24014, 18, 588, 10756, 3639, 288, 5411, 309, 12, 23159, 18, 291, 9217, 10756, 5411, 288, 7734, 587, 5980, 1133, 871, 273, 446, 31, 7734, 775, 7734, 288, 10792, 775, 10792, 288, 13491, 871, 273, 261, 2799, 51, 1133, 13, 4000, 18, 22188, 5621, 13491, 587, 5980, 1079, 4216, 4516, 273, 8703, 18, 24906, 4216, 12, 2704, 490, 725, 1079, 12, 2575, 18, 588, 4059, 329, 1079, 9334, 871, 18, 588, 2297, 1435, 10019, 13491, 1946, 1079, 12, 2704, 490, 725, 1079, 12, 10204, 3631, 871, 18, 291, 55, 7121, 10663, 10792, 289, 1044, 261, 24485, 503, 425, 13, 10792, 288, 13491, 368, 6185, 10792, 289, 7734, 2 ]
if (doDistanceSort) { calculateWeights(molecule); System.out.println("listing atom weights before sorting..."); for (int f = 0; f < atomsToDraw.size(); f++) { atom = (Atom)atomsToDraw.elementAt(f); System.out.println("Atom " + (f + 1) + ": " + atom.getProperty("Weight")); } System.out.println("...done."); Collections.sort(atomsToDraw, ATOM_ORDER); System.out.println("listing atom weights after sorting..."); for (int f = 0; f < atomsToDraw.size(); f++) { atom = (Atom)atomsToDraw.elementAt(f); System.out.println("Atom " + (f + 1) + ": " + atom.getProperty("Weight")); } System.out.println("...done."); }
public void populatePolygonCorners(Vector atomsToDraw, Point2d rotationCenter, double startAngle, double addAngle, double radius, boolean doDistanceSort) { Atom connectAtom = null; double angle = startAngle; double newX; double newY; double x; double y; logger.debug("populatePolygonCorners->startAngle: " + Math.toDegrees(angle)); Vector points = new Vector(); Atom atom = null; if (doDistanceSort) { calculateWeights(molecule); System.out.println("listing atom weights before sorting..."); for (int f = 0; f < atomsToDraw.size(); f++) { atom = (Atom)atomsToDraw.elementAt(f); System.out.println("Atom " + (f + 1) + ": " + atom.getProperty("Weight")); } System.out.println("...done."); Collections.sort(atomsToDraw, ATOM_ORDER); System.out.println("listing atom weights after sorting..."); for (int f = 0; f < atomsToDraw.size(); f++) { atom = (Atom)atomsToDraw.elementAt(f); System.out.println("Atom " + (f + 1) + ": " + atom.getProperty("Weight")); } System.out.println("...done."); } for (int i = 0; i < atomsToDraw.size(); i++) { angle = angle + addAngle; if (angle >= 2 * Math.PI) { angle -= 2 * Math.PI; } logger.debug("populatePolygonCorners->angle: " + Math.toDegrees(angle)); x = Math.cos(angle) * radius; y = Math.sin(angle) * radius; newX = x + rotationCenter.x; newY = y + rotationCenter.y; points.addElement(new Point2d(newX, newY)); try { logger.debug("populatePolygonCorners->connectAtom: " + (molecule.getAtomNumber(connectAtom) + 1) + " placed at " + connectAtom.getPoint2D()); } catch (Exception exc) { //nothing to catch here. This is just for logging } } for (int i = 0; i < atomsToDraw.size(); i++) { connectAtom = (Atom) atomsToDraw.elementAt(i); connectAtom.setPoint2D((Point2d)points.elementAt(i)); connectAtom.setFlag(CDKConstants.ISPLACED, true); } }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/eebdc3ba3a09a01afe679873d6b9f2d6f48e4950/AtomPlacer.java/clean/src/org/openscience/cdk/layout/AtomPlacer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 6490, 11787, 6217, 9646, 12, 5018, 9006, 774, 6493, 16, 4686, 22, 72, 6752, 8449, 16, 1645, 787, 8467, 16, 1645, 527, 8467, 16, 1645, 5725, 16, 1250, 741, 7200, 4416, 13, 202, 95, 202, 202, 3641, 3077, 3641, 273, 446, 31, 202, 202, 9056, 5291, 273, 787, 8467, 31, 202, 202, 9056, 394, 60, 31, 202, 202, 9056, 394, 61, 31, 202, 202, 9056, 619, 31, 202, 202, 9056, 677, 31, 202, 202, 4901, 18, 4148, 2932, 19936, 11787, 6217, 9646, 2122, 1937, 8467, 30, 315, 397, 2361, 18, 869, 24400, 12, 4341, 10019, 202, 202, 5018, 3143, 273, 394, 5589, 5621, 202, 202, 3641, 3179, 273, 446, 31, 202, 202, 430, 261, 2896, 7200, 4416, 13, 202, 202, 95, 202, 26924, 202, 11162, 16595, 12, 81, 10545, 1769, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 21228, 3179, 5376, 1865, 9602, 7070, 1769, 1082, 202, 1884, 261, 474, 284, 273, 374, 31, 284, 411, 9006, 774, 6493, 18, 1467, 5621, 284, 27245, 1082, 202, 95, 9506, 202, 7466, 273, 261, 3641, 13, 7466, 11634, 6493, 18, 2956, 861, 12, 74, 1769, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 3641, 315, 397, 261, 74, 397, 404, 13, 397, 6398, 315, 397, 3179, 18, 588, 1396, 2932, 6544, 7923, 1769, 9506, 202, 97, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 2777, 8734, 1199, 1769, 1082, 202, 15150, 18, 3804, 12, 7466, 11634, 6493, 16, 27460, 67, 7954, 1769, 1082, 202, 3163, 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, 6490, 11787, 6217, 9646, 12, 5018, 9006, 774, 6493, 16, 4686, 22, 72, 6752, 8449, 16, 1645, 787, 8467, 16, 1645, 527, 8467, 16, 1645, 5725, 16, 1250, 741, 7200, 4416, 13, 202, 95, 202, 202, 3641, 3077, 3641, 273, 446, 31, 202, 202, 9056, 5291, 273, 787, 8467, 31, 202, 202, 9056, 394, 60, 31, 202, 202, 9056, 394, 61, 31, 202, 202, 9056, 619, 31, 202, 202, 9056, 677, 31, 202, 202, 4901, 18, 4148, 2932, 19936, 11787, 6217, 9646, 2122, 1937, 8467, 30, 315, 397, 2361, 18, 869, 24400, 12, 4341, 10019, 202, 202, 5018, 3143, 273, 394, 5589, 5621, 202, 202, 3641, 3179, 273, 446, 31, 202, 202, 430, 261, 2896, 2 ]
String key = (String)i.next(); String value = (String)queryHash.get(key); request.setAttribute(key, value); }
String key = (String)i.next(); String value = (String)queryHash.get(key); request.setAttribute(key, value); }
protected void doDSGet(Context context, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException, AuthorizeException { // Get the query String query = request.getParameter("query"); int start = UIUtil.getIntParameter(request, "start"); String advanced = request.getParameter("advanced"); String fromAdvanced = request.getParameter("from_advanced"); String advancedQuery = ""; HashMap queryHash = new HashMap(); // can't start earlier than 0 in the results! if( start < 0 ) { start = 0; } List itemHandles = new ArrayList(); List collectionHandles = new ArrayList(); List communityHandles = new ArrayList(); Item [] resultsItems; Collection [] resultsCollections; Community [] resultsCommunities; QueryResults qResults = null; QueryArgs qArgs = new QueryArgs(); // if the "advanced" flag is set, build the query string from the // multiple query fields if (advanced != null) { query = qArgs.buildQuery(request); advancedQuery = qArgs.buildHTTPQuery(request); } // Ensure the query is non-null if (query == null) { query = ""; } // Get the location parameter, if any String location = request.getParameter("location"); String newURL; // If there is a location parameter, we should redirect to // do the search with the correct location. if (location != null && !location.equals("")) { String url = ""; if (!location.equals("/")) { // Location is a Handle url = "/handle/" + location; } // Encode the query query = URLEncoder.encode(query); if (advancedQuery.length() > 0) { query = query + "&from_advanced=true&" + advancedQuery; } // Do the redirect response.sendRedirect(response.encodeRedirectURL( request.getContextPath() + url + "/simple-search?query=" + query)); return; } // Build log information String logInfo = ""; // Get our location Community community = UIUtil.getCommunityLocation(request); Collection collection = UIUtil.getCollectionLocation(request); // get the start of the query results page // List resultObjects = null; qArgs.setQuery( query ); qArgs.setStart( start ); // Perform the search try { if (collection != null) { logInfo = "collection_id=" + collection.getID() + ","; // Values for drop-down box request.setAttribute("community", community ); request.setAttribute("collection", collection); qResults = DSQuery.doQuery(context, qArgs, collection); } else if (community != null) { logInfo = "community_id=" + community.getID() + ","; request.setAttribute("community", community); // Get the collections within the community for the dropdown box request.setAttribute("collection.array", community.getCollections()); qResults = DSQuery.doQuery(context, qArgs, community); } else { // Get all communities for dropdown box Community[] communities = Community.findAll(context); request.setAttribute("community.array", communities); qResults = DSQuery.doQuery(context, qArgs); } // now instantiate the results and put them in their buckets for( int i = 0; i < qResults.getHitHandles().size(); i++ ) { String myHandle = (String )qResults.getHitHandles().get(i); Integer myType = (Integer)qResults.getHitTypes().get(i); // add the handle to the appropriate lists switch( myType.intValue() ) { case Constants.ITEM: itemHandles.add( myHandle ); break; case Constants.COLLECTION: collectionHandles.add( myHandle ); break; case Constants.COMMUNITY: communityHandles.add( myHandle ); break; } } int numCommunities = communityHandles.size(); int numCollections = collectionHandles.size(); int numItems = itemHandles.size(); // Make objects from the handles - make arrays, fill them out resultsCommunities = new Community [numCommunities]; resultsCollections = new Collection[numCollections]; resultsItems = new Item [numItems ]; for (int i = 0; i < numItems; i++) { String myhandle = (String) itemHandles.get(i); Object o = HandleManager.resolveToObject(context, myhandle); resultsItems[i] = (Item)o; if (resultsItems[i] == null) { throw new SQLException("Query \"" + query + "\" returned unresolvable handle: " + myhandle); } } for (int i = 0; i < collectionHandles.size(); i++) { String myhandle = (String) collectionHandles.get(i); Object o = HandleManager.resolveToObject(context, myhandle); resultsCollections[i] = (Collection)o; if (resultsCollections[i] == null) { throw new SQLException("Query \"" + query + "\" returned unresolvable handle: " + myhandle); } } for (int i = 0; i < communityHandles.size(); i++) { String myhandle = (String) communityHandles.get(i); Object o = HandleManager.resolveToObject(context, myhandle); resultsCommunities[i] = (Community)o; if (resultsCommunities[i] == null) { throw new SQLException("Query \"" + query + "\" returned unresolvable handle: " + myhandle); } } // Log log.info(LogManager.getHeader(context, "search", logInfo + "query=\"" + query + "\",results=(" + resultsCommunities.length + "," + resultsCollections.length + "," + resultsItems.length + ")")); } catch (ParseException pe) { /* * A parse exception means there were some weird characters in * the query we couldn't resolve. We'll pretend the search went * OK but with no results for the user, but log the error, since * this shouldn't really happen. */ log.warn(LogManager.getHeader(context, "search_exception", logInfo + "query=\"" + query + "\""), pe); // Empty results resultsItems = new Item [0]; resultsCommunities = new Community [0]; resultsCollections = new Collection[0]; } catch (TokenMgrError tme) { // Similar to parse exception log.warn(LogManager.getHeader(context, "search_exception", logInfo + "query=\"" + query + "\""), tme); // Empty results resultsItems = new Item [0]; resultsCommunities = new Community [0]; resultsCollections = new Collection[0]; } // Pass in some page qualities // total number of pages int pageTotal = 1 + (qResults.getHitCount() - 1)/qResults.getPageSize(); // current page being displayed int pageCurrent= 1 + (qResults.getStart()/qResults.getPageSize()); // pageLast = min(pageCurrent+9,pageTotal) int pageLast = (pageCurrent + 9) > pageTotal ? pageTotal : (pageCurrent+9); // pageFirst = max(1,pageCurrent-9) int pageFirst = (pageCurrent - 9) > 1 ? (pageCurrent - 9) : 1; // Pass the results to the display JSP request.setAttribute("items", resultsItems ); request.setAttribute("communities", resultsCommunities); request.setAttribute("collections", resultsCollections); request.setAttribute("pagetotal", new Integer(pageTotal ) ); request.setAttribute("pagecurrent", new Integer(pageCurrent) ); request.setAttribute("pagelast", new Integer(pageLast ) ); request.setAttribute("pagefirst", new Integer(pageFirst ) ); request.setAttribute("queryresults", qResults ); // And the original query string request.setAttribute("query", query); if ((fromAdvanced != null) && (qResults.getHitCount() == 0)) { // send back to advanced form if no results Community[] communities = Community.findAll(context); request.setAttribute("communities", communities); request.setAttribute("no_results", "yes"); queryHash = qArgs.buildQueryHash(request); Iterator i = queryHash.keySet().iterator(); while(i.hasNext()) { String key = (String)i.next(); String value = (String)queryHash.get(key); request.setAttribute(key, value); } JSPManager.showJSP(request, response, "/search/advanced.jsp"); } else { JSPManager.showJSP(request, response, "/search/results.jsp"); } }
1868 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1868/2d4d8c52c85a4e3ae8a0730741d5c00415955b7e/SimpleSearchServlet.java/clean/dspace/src/org/dspace/app/webui/servlet/SimpleSearchServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 741, 3948, 967, 12, 1042, 819, 16, 3639, 9984, 590, 16, 3639, 12446, 766, 13, 3639, 1216, 16517, 16, 1860, 16, 6483, 16, 23859, 503, 565, 288, 3639, 368, 968, 326, 843, 3639, 514, 843, 3196, 225, 273, 590, 18, 588, 1662, 2932, 2271, 8863, 3639, 509, 565, 787, 3196, 225, 273, 6484, 1304, 18, 588, 1702, 1662, 12, 2293, 16, 315, 1937, 8863, 3639, 514, 16111, 282, 273, 590, 18, 588, 1662, 2932, 27080, 8863, 3639, 514, 628, 23618, 282, 273, 590, 18, 588, 1662, 2932, 2080, 67, 27080, 8863, 3639, 514, 16111, 1138, 273, 1408, 31, 3639, 4317, 843, 2310, 273, 394, 4317, 5621, 7734, 368, 848, 1404, 787, 13805, 2353, 374, 316, 326, 1686, 5, 3639, 309, 12, 787, 411, 374, 262, 288, 787, 273, 374, 31, 289, 7734, 987, 761, 8788, 4202, 273, 394, 2407, 5621, 3639, 987, 1849, 8788, 273, 394, 2407, 5621, 3639, 987, 19833, 8788, 225, 273, 394, 2407, 5621, 3639, 4342, 4202, 5378, 1686, 3126, 31, 3639, 2200, 5378, 1686, 15150, 31, 3639, 16854, 13352, 225, 5378, 1686, 12136, 318, 1961, 31, 3639, 2770, 3447, 1043, 3447, 273, 446, 31, 3639, 2770, 2615, 565, 1043, 2615, 565, 273, 394, 2770, 2615, 5621, 202, 202, 759, 309, 326, 315, 27080, 6, 2982, 353, 444, 16, 1361, 326, 843, 533, 628, 326, 3196, 202, 759, 3229, 843, 1466, 3639, 309, 261, 27080, 480, 446, 13, 540, 288, 540, 202, 2271, 273, 1043, 2615, 18, 3510, 1138, 12, 2293, 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, 741, 3948, 967, 12, 1042, 819, 16, 3639, 9984, 590, 16, 3639, 12446, 766, 13, 3639, 1216, 16517, 16, 1860, 16, 6483, 16, 23859, 503, 565, 288, 3639, 368, 968, 326, 843, 3639, 514, 843, 3196, 225, 273, 590, 18, 588, 1662, 2932, 2271, 8863, 3639, 509, 565, 787, 3196, 225, 273, 6484, 1304, 18, 588, 1702, 1662, 12, 2293, 16, 315, 1937, 8863, 3639, 514, 16111, 282, 273, 590, 18, 588, 1662, 2932, 27080, 8863, 3639, 514, 628, 23618, 282, 273, 590, 18, 588, 1662, 2932, 2080, 67, 27080, 8863, 3639, 514, 16111, 1138, 273, 1408, 31, 3639, 4317, 843, 2310, 273, 394, 4317, 5621, 7734, 368, 848, 1404, 787, 13805, 2353, 374, 316, 326, 2 ]
public void endCDATA(Augmentations augs) throws XNIException {
public void endCDATA (Augmentations augs) throws XNIException {
public void endCDATA(Augmentations augs) throws XNIException { fInCDATASection = false; if (!fDeferNodeExpansion) { if (fFilterReject) { return; } if (fCurrentCDATASection !=null) { if (fDOMFilter !=null && (fDOMFilter.getWhatToShow() & NodeFilter.SHOW_CDATA_SECTION)!= 0) { short code = fDOMFilter.acceptNode(fCurrentCDATASection); switch (code) { case LSParserFilter.FILTER_INTERRUPT:{ throw new RuntimeException("The normal processing of the document was interrupted."); } case LSParserFilter.FILTER_REJECT:{ // fall through to SKIP since CDATA section has no children. } case LSParserFilter.FILTER_SKIP: { Node parent = fCurrentNode.getParentNode(); parent.removeChild(fCurrentCDATASection); fCurrentNode = parent; return; } default: { // accept node } } } fCurrentNode = fCurrentNode.getParentNode(); fCurrentCDATASection = null; } } else { if (fCurrentCDATASectionIndex !=-1) { fCurrentNodeIndex = fDeferredDocumentImpl.getParentNode(fCurrentNodeIndex, false); fCurrentCDATASectionIndex = -1; } } } // endCDATA()
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/9d1dbf89c75cf6f564facc2b605dd9f2cf2dac4d/AbstractDOMParser.java/clean/src/org/apache/xerces/parsers/AbstractDOMParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 679, 18375, 261, 37, 14870, 1012, 279, 9024, 13, 1216, 1139, 50, 45, 503, 288, 3639, 284, 382, 10160, 789, 3033, 794, 273, 629, 31, 3639, 309, 16051, 74, 758, 586, 907, 2966, 12162, 13, 288, 5411, 309, 261, 74, 1586, 21705, 13, 288, 7734, 327, 31, 5411, 289, 5411, 309, 261, 74, 3935, 10160, 789, 3033, 794, 480, 2011, 13, 288, 7734, 309, 261, 74, 8168, 1586, 480, 2011, 597, 5397, 261, 74, 8168, 1586, 18, 588, 23801, 774, 5706, 1435, 473, 2029, 1586, 18, 16677, 67, 18375, 67, 19082, 13, 5, 33, 374, 13, 288, 10792, 3025, 981, 273, 284, 8168, 1586, 18, 9436, 907, 12, 74, 3935, 10160, 789, 3033, 794, 1769, 10792, 1620, 261, 710, 13, 288, 13491, 648, 29204, 2678, 1586, 18, 11126, 67, 9125, 19866, 1856, 18611, 18701, 604, 394, 3235, 2932, 1986, 2212, 4929, 434, 326, 1668, 1703, 15711, 1199, 1769, 11794, 289, 21821, 648, 29204, 2678, 1586, 18, 11126, 67, 862, 5304, 18611, 18701, 368, 4159, 3059, 358, 18420, 3241, 28294, 2442, 711, 1158, 2325, 18, 13491, 289, 13491, 648, 29204, 2678, 1586, 18, 11126, 67, 22589, 30, 288, 18701, 2029, 982, 273, 284, 3935, 907, 18, 588, 3054, 907, 5621, 4766, 7734, 982, 18, 4479, 1763, 12, 74, 3935, 10160, 789, 3033, 794, 1769, 18701, 284, 3935, 907, 273, 982, 31, 18701, 327, 31, 13491, 289, 13491, 805, 30, 288, 18701, 368, 2791, 756, 7682, 289, 10792, 289, 7734, 289, 7734, 284, 3935, 907, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 679, 18375, 261, 37, 14870, 1012, 279, 9024, 13, 1216, 1139, 50, 45, 503, 288, 3639, 284, 382, 10160, 789, 3033, 794, 273, 629, 31, 3639, 309, 16051, 74, 758, 586, 907, 2966, 12162, 13, 288, 5411, 309, 261, 74, 1586, 21705, 13, 288, 7734, 327, 31, 5411, 289, 5411, 309, 261, 74, 3935, 10160, 789, 3033, 794, 480, 2011, 13, 288, 7734, 309, 261, 74, 8168, 1586, 480, 2011, 597, 5397, 261, 74, 8168, 1586, 18, 588, 23801, 774, 5706, 1435, 473, 2029, 1586, 18, 16677, 67, 18375, 67, 19082, 13, 5, 33, 374, 13, 288, 10792, 3025, 981, 273, 284, 8168, 1586, 18, 9436, 907, 12, 74, 3935, 10160, 789, 3033, 794, 1769, 10792, 2 ]
Template template = templateEngine.createTemplate(new File("src/grails/templates/grails-app/views/scaffolding/java.util.Locale.template"));
Template template = templateEngine.createTemplate(new File("src/grails/templates/grails-app/views/scaffolding/java.util.Locale.gsp"));
public void testLocaleTemplate() throws Exception { SimpleTemplateEngine templateEngine = new SimpleTemplateEngine(); Template template = templateEngine.createTemplate(new File("src/grails/templates/grails-app/views/scaffolding/java.util.Locale.template")); Map binding = new HashMap(); binding.put("name", "testLocale"); binding.put("value", Locale.getDefault()); binding.put("constraints", null); System.out.println(template.make(binding).toString()); Document xml = DocumentHelper.parseText(template.make(binding).toString()); }
50670 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50670/e1e00078eb06a5b2e8559d10769ae85a32065cd3/ScaffoldTemplateTests.java/clean/test/scaffolding/org/codehaus/groovy/grails/scaffolding/ScaffoldTemplateTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3916, 2283, 1435, 1216, 1185, 288, 3639, 4477, 2283, 4410, 1542, 4410, 273, 394, 4477, 2283, 4410, 5621, 3639, 5035, 1542, 273, 1542, 4410, 18, 2640, 2283, 12, 2704, 1387, 2932, 4816, 19, 2752, 14573, 19, 8502, 19, 2752, 14573, 17, 2910, 19, 7061, 19, 31105, 310, 19, 6290, 18, 1367, 18, 3916, 18, 564, 84, 7923, 1769, 3639, 1635, 5085, 273, 394, 4317, 5621, 3639, 5085, 18, 458, 2932, 529, 3113, 315, 3813, 3916, 8863, 3639, 5085, 18, 458, 2932, 1132, 3113, 6458, 18, 588, 1868, 10663, 3639, 5085, 18, 458, 2932, 11967, 3113, 446, 1769, 3639, 2332, 18, 659, 18, 8222, 12, 3202, 18, 6540, 12, 7374, 2934, 10492, 10663, 3639, 4319, 2025, 273, 4319, 2276, 18, 2670, 1528, 12, 3202, 18, 6540, 12, 7374, 2934, 10492, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3916, 2283, 1435, 1216, 1185, 288, 3639, 4477, 2283, 4410, 1542, 4410, 273, 394, 4477, 2283, 4410, 5621, 3639, 5035, 1542, 273, 1542, 4410, 18, 2640, 2283, 12, 2704, 1387, 2932, 4816, 19, 2752, 14573, 19, 8502, 19, 2752, 14573, 17, 2910, 19, 7061, 19, 31105, 310, 19, 6290, 18, 1367, 18, 3916, 18, 564, 84, 7923, 1769, 3639, 1635, 5085, 273, 394, 4317, 5621, 3639, 5085, 18, 458, 2932, 529, 3113, 315, 3813, 3916, 8863, 3639, 5085, 18, 458, 2932, 1132, 3113, 6458, 18, 588, 1868, 10663, 3639, 5085, 18, 458, 2932, 11967, 3113, 446, 1769, 3639, 2332, 18, 659, 18, 8222, 12, 3202, 18, 6540, 12, 7374, 2934, 10492, 10663, 3639, 4319, 2025, 2 ]
} else {
} else if (other instanceof RubyNumeric) {
public IRubyObject op_minus(IRubyObject other) { if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).op_minus(other); } else if (other instanceof RubyBignum) { return RubyBignum.newBignum(getRuntime(), value).op_minus(other); } else { long otherValue = ((RubyNumeric) other).getLongValue(); long result = value - otherValue; if ((value <= 0 && otherValue >= 0 && (result > 0 || result < -MAX)) || (value >= 0 && otherValue <= 0 && (result < 0 || result > MAX))) { return RubyBignum.newBignum(getRuntime(), value).op_minus(other); } return newFixnum(result); } }
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/df3ba2646cbb9e6b1bf4f1687ed12226cdf7b3ad/RubyFixnum.java/buggy/src/org/jruby/RubyFixnum.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 1061, 67, 19601, 12, 7937, 10340, 921, 1308, 13, 288, 3639, 309, 261, 3011, 1276, 19817, 4723, 13, 288, 5411, 327, 19817, 4723, 18, 2704, 4723, 12, 588, 5576, 9334, 16097, 620, 1435, 2934, 556, 67, 19601, 12, 3011, 1769, 3639, 289, 469, 309, 261, 3011, 1276, 19817, 38, 724, 379, 13, 288, 5411, 327, 19817, 38, 724, 379, 18, 2704, 38, 724, 379, 12, 588, 5576, 9334, 460, 2934, 556, 67, 19601, 12, 3011, 1769, 3639, 289, 469, 309, 261, 3011, 1276, 19817, 9902, 13, 288, 5411, 1525, 1308, 620, 273, 14015, 54, 10340, 9902, 13, 1308, 2934, 588, 3708, 620, 5621, 5411, 1525, 563, 273, 460, 300, 1308, 620, 31, 5411, 309, 14015, 1132, 1648, 374, 597, 1308, 620, 1545, 374, 597, 261, 2088, 405, 374, 747, 563, 411, 300, 6694, 3719, 747, 3196, 202, 12, 1132, 1545, 374, 597, 1308, 620, 1648, 374, 597, 261, 2088, 411, 374, 747, 563, 405, 4552, 20349, 288, 7734, 327, 19817, 38, 724, 379, 18, 2704, 38, 724, 379, 12, 588, 5576, 9334, 460, 2934, 556, 67, 19601, 12, 3011, 1769, 5411, 289, 5411, 327, 394, 8585, 2107, 12, 2088, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 1061, 67, 19601, 12, 7937, 10340, 921, 1308, 13, 288, 3639, 309, 261, 3011, 1276, 19817, 4723, 13, 288, 5411, 327, 19817, 4723, 18, 2704, 4723, 12, 588, 5576, 9334, 16097, 620, 1435, 2934, 556, 67, 19601, 12, 3011, 1769, 3639, 289, 469, 309, 261, 3011, 1276, 19817, 38, 724, 379, 13, 288, 5411, 327, 19817, 38, 724, 379, 18, 2704, 38, 724, 379, 12, 588, 5576, 9334, 460, 2934, 556, 67, 19601, 12, 3011, 1769, 3639, 289, 469, 309, 261, 3011, 1276, 19817, 9902, 13, 288, 5411, 1525, 1308, 620, 273, 14015, 54, 10340, 9902, 13, 1308, 2934, 588, 3708, 620, 5621, 5411, 1525, 563, 273, 460, 300, 1308, 620, 31, 5411, 309, 2 ]
long time = (_context.clock().now() - _msg.getArrival().getTime());
long time = (getContext().clock().now() - _msg.getArrival().getTime());
public void runJob() { long time = (_context.clock().now() - _msg.getArrival().getTime()); if (_log.shouldLog(Log.INFO)) _log.info("Test of tunnel " + _primaryId+ " successfull after " + time + "ms waiting for " + _nonce); TunnelInfo info = _pool.getTunnelInfo(_primaryId); if (info != null) { TestTunnelJob.this._context.messageHistory().tunnelValid(info, time); updateProfiles(info, time); } info = _pool.getTunnelInfo(_secondaryId); if (info != null) { TestTunnelJob.this._context.messageHistory().tunnelValid(info, time); updateProfiles(info, time); } _context.statManager().addRateData("tunnel.testSuccessTime", time, time); }
27493 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27493/e737e5c9507ed0d463dc9e45a8f63657f466b177/TestTunnelJob.java/clean/router/java/src/net/i2p/router/tunnelmanager/TestTunnelJob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 2278, 1435, 288, 5411, 1525, 813, 273, 261, 29120, 7675, 18517, 7675, 3338, 1435, 300, 389, 3576, 18, 588, 5715, 5162, 7675, 588, 950, 10663, 5411, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 5923, 3719, 7734, 389, 1330, 18, 1376, 2932, 4709, 434, 14825, 315, 397, 389, 8258, 548, 15, 315, 2216, 2854, 1839, 315, 21821, 397, 813, 397, 315, 959, 7336, 364, 315, 397, 389, 12824, 1769, 5411, 399, 8564, 966, 1123, 273, 389, 6011, 18, 588, 20329, 966, 24899, 8258, 548, 1769, 5411, 309, 261, 1376, 480, 446, 13, 288, 7734, 7766, 20329, 2278, 18, 2211, 6315, 2472, 18, 2150, 5623, 7675, 19878, 1556, 12, 1376, 16, 813, 1769, 7734, 1089, 12450, 12, 1376, 16, 813, 1769, 5411, 289, 13491, 1123, 273, 389, 6011, 18, 588, 20329, 966, 24899, 19674, 548, 1769, 5411, 309, 261, 1376, 480, 446, 13, 288, 7734, 7766, 20329, 2278, 18, 2211, 6315, 2472, 18, 2150, 5623, 7675, 19878, 1556, 12, 1376, 16, 813, 1769, 7734, 1089, 12450, 12, 1376, 16, 813, 1769, 5411, 289, 5411, 389, 2472, 18, 5642, 1318, 7675, 1289, 4727, 751, 2932, 19878, 18, 3813, 4510, 950, 3113, 813, 16, 813, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 2278, 1435, 288, 5411, 1525, 813, 273, 261, 29120, 7675, 18517, 7675, 3338, 1435, 300, 389, 3576, 18, 588, 5715, 5162, 7675, 588, 950, 10663, 5411, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 5923, 3719, 7734, 389, 1330, 18, 1376, 2932, 4709, 434, 14825, 315, 397, 389, 8258, 548, 15, 315, 2216, 2854, 1839, 315, 21821, 397, 813, 397, 315, 959, 7336, 364, 315, 397, 389, 12824, 1769, 5411, 399, 8564, 966, 1123, 273, 389, 6011, 18, 588, 20329, 966, 24899, 8258, 548, 1769, 5411, 309, 261, 1376, 480, 446, 13, 288, 7734, 7766, 20329, 2278, 18, 2211, 6315, 2472, 18, 2150, 5623, 7675, 19878, 1556, 12, 1376, 16, 813, 1769, 7734, 2 ]
logger.debug(
if (debug) logger.debug(
protected void storeAtomData() { logger.debug("No atoms: " + atomCounter); if (atomCounter == 0) { return; } boolean hasID = false; boolean has3D = false; boolean has3Dfract = false; boolean has2D = false; boolean hasFormalCharge = false; boolean hasPartialCharge = false; boolean hasHCounts = false; boolean hasSymbols = false; boolean hasTitles = false; boolean hasIsotopes = false; boolean hasDictRefs = false; if (elid.size() == atomCounter) { hasID = true; } else { logger.debug( "No atom ids: " + elid.size() + " != " + atomCounter); } if (elsym.size() == atomCounter) { hasSymbols = true; } else { logger.debug( "No atom symbols: " + elsym.size() + " != " + atomCounter); } if (eltitles.size() == atomCounter) { hasTitles = true; } else { logger.debug( "No atom titles: " + eltitles.size() + " != " + atomCounter); } if ((x3.size() == atomCounter) && (y3.size() == atomCounter) && (z3.size() == atomCounter)) { has3D = true; } else { logger.debug( "No 3D info: " + x3.size() + " " + y3.size() + " " + z3.size() + " != " + atomCounter); } if ((xfract.size() == atomCounter) && (yfract.size() == atomCounter) && (zfract.size() == atomCounter)) { has3Dfract = true; } else { logger.debug( "No 3D fractional info: " + xfract.size() + " " + yfract.size() + " " + zfract.size() + " != " + atomCounter); } if ((x2.size() == atomCounter) && (y2.size() == atomCounter)) { has2D = true; } else { logger.debug( "No 2D info: " + x2.size() + " " + y2.size() + " != " + atomCounter); } if (formalCharges.size() == atomCounter) { hasFormalCharge = true; } else { logger.debug( "No formal Charge info: " + formalCharges.size() + " != " + atomCounter); } if (partialCharges.size() == atomCounter) { hasPartialCharge = true; } else { logger.debug( "No partial Charge info: " + partialCharges.size() + " != " + atomCounter); } if (hCounts.size() == atomCounter) { hasHCounts = true; } else { logger.debug( "No hydrogen Count info: " + hCounts.size() + " != " + atomCounter); } if (atomDictRefs.size() == atomCounter) { hasDictRefs = true; } else { logger.debug( "No dictRef info: " + atomDictRefs.size() + " != " + atomCounter); } if (isotope.size() == atomCounter) { hasIsotopes = true; } else { logger.debug( "No isotope info: " + isotope.size() + " != " + atomCounter); } for (int i = 0; i < atomCounter; i++) { logger.info("Storing atom: " + i); cdo.startObject("Atom"); if (hasID) { cdo.setObjectProperty("Atom", "id", (String)elid.elementAt(i)); } if (hasTitles) { if (hasSymbols) { String symbol = (String)elsym.elementAt(i); if (symbol.equals("Du") || symbol.equals("Dummy")) { cdo.setObjectProperty("PseudoAtom", "label", (String)eltitles.elementAt(i)); } else { cdo.setObjectProperty("Atom", "title", (String)eltitles.elementAt(i)); } } else { cdo.setObjectProperty("Atom", "title", (String)eltitles.elementAt(i)); } } // store optional atom properties if (hasSymbols) { String symbol = (String)elsym.elementAt(i); if (symbol.equals("Du") || symbol.equals("Dummy")) { symbol = "R"; } cdo.setObjectProperty("Atom", "type", symbol); } if (has3D) { cdo.setObjectProperty("Atom", "x3", (String)x3.elementAt(i)); cdo.setObjectProperty("Atom", "y3", (String)y3.elementAt(i)); cdo.setObjectProperty("Atom", "z3", (String)z3.elementAt(i)); } if (has3Dfract) { // ok, need to convert fractional into eucledian coordinates double[] coord = new double[3]; coord[0] = Double.parseDouble((String)xfract.elementAt(i)); coord[1] = Double.parseDouble((String)yfract.elementAt(i)); coord[2] = Double.parseDouble((String)zfract.elementAt(i)); if (!cartesianAxesSet) { logger.error("Cannot convert fractional atomic coord to cartesian if axes are not known"); } else { double[] cartCoord = CrystalGeometryTools.fractionalToCartesian(a,b,c,coord); cdo.setObjectProperty("Atom", "x3", new Double(cartCoord[0]).toString()); cdo.setObjectProperty("Atom", "y3", new Double(cartCoord[1]).toString()); cdo.setObjectProperty("Atom", "z3", new Double(cartCoord[2]).toString()); } } if (hasFormalCharge) { cdo.setObjectProperty("Atom", "formalCharge", (String)formalCharges.elementAt(i)); } if (hasPartialCharge) { logger.debug("Storing partial atomic charge..."); cdo.setObjectProperty("Atom", "partialCharge", (String)partialCharges.elementAt(i)); } if (hasHCounts) { cdo.setObjectProperty("Atom", "hydrogenCount", (String)hCounts.elementAt(i)); } if (has2D) { if (x2.elementAt(i) != null) cdo.setObjectProperty("Atom", "x2", (String)x2.elementAt(i)); if (y2.elementAt(i) != null) cdo.setObjectProperty("Atom", "y2", (String)y2.elementAt(i)); } if (hasDictRefs) { cdo.setObjectProperty("Atom", "dictRef", (String)atomDictRefs.elementAt(i)); } if (hasIsotopes) { cdo.setObjectProperty("Atom", "massNumber", (String)isotope.elementAt(i)); } cdo.endObject("Atom"); } if (elid.size() > 0) { // assume this is the current working list bondElid = elid; } newAtomData(); }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/85b1def8500569c307eef07a73f9886549ea9364/CMLCoreModule.java/buggy/src/org/openscience/cdk/io/cml/CMLCoreModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1707, 3641, 751, 1435, 288, 3639, 1194, 18, 4148, 2932, 2279, 9006, 30, 315, 397, 3179, 4789, 1769, 3639, 309, 261, 7466, 4789, 422, 374, 13, 288, 5411, 327, 31, 3639, 289, 3639, 1250, 711, 734, 273, 629, 31, 3639, 1250, 711, 23, 40, 273, 629, 31, 3639, 1250, 711, 23, 40, 74, 14266, 273, 629, 31, 3639, 1250, 711, 22, 40, 273, 629, 31, 3639, 1250, 711, 12183, 17649, 273, 629, 31, 3639, 1250, 711, 9447, 17649, 273, 629, 31, 3639, 1250, 711, 44, 9211, 273, 629, 31, 3639, 1250, 711, 14821, 273, 629, 31, 3639, 1250, 711, 25088, 273, 629, 31, 3639, 1250, 711, 2520, 352, 5239, 273, 629, 31, 3639, 1250, 711, 5014, 9837, 273, 629, 31, 3639, 309, 261, 292, 350, 18, 1467, 1435, 422, 3179, 4789, 13, 288, 5411, 711, 734, 273, 638, 31, 3639, 289, 469, 288, 5411, 309, 261, 4148, 13, 1194, 18, 4148, 12, 10792, 315, 2279, 3179, 3258, 30, 315, 397, 415, 350, 18, 1467, 1435, 397, 315, 480, 315, 397, 3179, 4789, 1769, 3639, 289, 3639, 309, 261, 292, 8117, 18, 1467, 1435, 422, 3179, 4789, 13, 288, 5411, 711, 14821, 273, 638, 31, 3639, 289, 469, 288, 5411, 309, 261, 4148, 13, 1194, 18, 4148, 12, 10792, 315, 2279, 3179, 7963, 30, 315, 397, 7842, 2942, 18, 1467, 1435, 397, 315, 480, 315, 397, 3179, 4789, 1769, 3639, 289, 3639, 309, 261, 292, 17643, 18, 1467, 1435, 422, 3179, 4789, 13, 288, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1707, 3641, 751, 1435, 288, 3639, 1194, 18, 4148, 2932, 2279, 9006, 30, 315, 397, 3179, 4789, 1769, 3639, 309, 261, 7466, 4789, 422, 374, 13, 288, 5411, 327, 31, 3639, 289, 3639, 1250, 711, 734, 273, 629, 31, 3639, 1250, 711, 23, 40, 273, 629, 31, 3639, 1250, 711, 23, 40, 74, 14266, 273, 629, 31, 3639, 1250, 711, 22, 40, 273, 629, 31, 3639, 1250, 711, 12183, 17649, 273, 629, 31, 3639, 1250, 711, 9447, 17649, 273, 629, 31, 3639, 1250, 711, 44, 9211, 273, 629, 31, 3639, 1250, 711, 14821, 273, 629, 31, 3639, 1250, 711, 25088, 273, 629, 31, 3639, 1250, 711, 2520, 352, 5239, 273, 629, 31, 3639, 1250, 711, 5014, 2 ]
int limit = offsets.contextLimit;
int limit = offsets.limit;
protected void handleTransliterate(Replaceable text, Position offsets, boolean incremental) { /** * Performs transliteration changing all characters to * Unicode hexadecimal escapes. For example, '@' -> "U+0040", * assuming the prefix is "U+". */ int cursor = offsets.start; int limit = offsets.contextLimit; UnicodeFilter filter = getFilter(); StringBuffer hex = new StringBuffer(prefix); int prefixLen = prefix.length(); while (cursor < limit) { char c = text.charAt(cursor); if (filter != null && !filter.contains(c)) { ++cursor; continue; } hex.setLength(prefixLen); boolean showRest = false; for (int i=3; i>=0; --i) { int d = (c >> (i*4)) & 0xF; if (showRest || (d != 0) || minDigits > i) { hex.append(HEX_DIGITS[uppercase ? (d|16) : d]); showRest = true; } } hex.append(suffix); text.replace(cursor, cursor+1, hex.toString()); int len = hex.length(); cursor += len; // Advance cursor by 1 and adjust for new text --len; limit += len; } offsets.contextLimit = limit; offsets.start = cursor; }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/0067d14bf080468f732888d0970cb818e7c7fdf3/UnicodeToHexTransliterator.java/clean/icu4j/src/com/ibm/icu/text/UnicodeToHexTransliterator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1640, 3873, 18793, 12, 5729, 429, 977, 16, 4766, 4202, 11010, 8738, 16, 1250, 20649, 13, 288, 3639, 1783, 540, 380, 27391, 2162, 16108, 12770, 777, 3949, 358, 540, 380, 9633, 20070, 23802, 18, 225, 2457, 3454, 16, 9175, 317, 315, 57, 15, 713, 7132, 3113, 540, 380, 15144, 326, 1633, 353, 315, 57, 9078, 18, 1850, 1195, 3639, 509, 3347, 273, 8738, 18, 1937, 31, 3639, 509, 1800, 273, 8738, 18, 3595, 31, 3639, 9633, 1586, 1034, 273, 12267, 5621, 3639, 6674, 3827, 273, 394, 6674, 12, 3239, 1769, 3639, 509, 1633, 2891, 273, 1633, 18, 2469, 5621, 3639, 1323, 261, 9216, 411, 1800, 13, 288, 5411, 1149, 276, 273, 977, 18, 3001, 861, 12, 9216, 1769, 5411, 309, 261, 2188, 480, 446, 597, 401, 2188, 18, 12298, 12, 71, 3719, 288, 7734, 965, 9216, 31, 7734, 1324, 31, 5411, 289, 5411, 3827, 18, 542, 1782, 12, 3239, 2891, 1769, 5411, 1250, 2405, 5188, 273, 629, 31, 5411, 364, 261, 474, 277, 33, 23, 31, 277, 34, 33, 20, 31, 1493, 77, 13, 288, 7734, 509, 302, 273, 261, 71, 1671, 261, 77, 14, 24, 3719, 473, 374, 16275, 31, 7734, 309, 261, 4500, 5188, 747, 261, 72, 480, 374, 13, 747, 1131, 9537, 405, 277, 13, 288, 10792, 3827, 18, 6923, 12, 20661, 67, 21243, 10158, 63, 5797, 3593, 692, 261, 72, 96, 2313, 13, 294, 302, 19226, 10792, 2405, 5188, 273, 638, 31, 7734, 289, 5411, 289, 5411, 3827, 18, 6923, 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, 1640, 3873, 18793, 12, 5729, 429, 977, 16, 4766, 4202, 11010, 8738, 16, 1250, 20649, 13, 288, 3639, 1783, 540, 380, 27391, 2162, 16108, 12770, 777, 3949, 358, 540, 380, 9633, 20070, 23802, 18, 225, 2457, 3454, 16, 9175, 317, 315, 57, 15, 713, 7132, 3113, 540, 380, 15144, 326, 1633, 353, 315, 57, 9078, 18, 1850, 1195, 3639, 509, 3347, 273, 8738, 18, 1937, 31, 3639, 509, 1800, 273, 8738, 18, 3595, 31, 3639, 9633, 1586, 1034, 273, 12267, 5621, 3639, 6674, 3827, 273, 394, 6674, 12, 3239, 1769, 3639, 509, 1633, 2891, 273, 1633, 18, 2469, 5621, 3639, 1323, 261, 9216, 411, 1800, 13, 288, 5411, 1149, 276, 273, 977, 18, 3001, 861, 12, 2 ]
setPaused(playButton.getLabel().equals("Pause"));
player.setPaused(playButton.getLabel().equals("Pause"));
public void actionPerformed(ActionEvent evt) { if (evt.getSource() == playButton) { setPaused(playButton.getLabel().equals("Pause")); } else if (evt.getSource() == posText) { player.setPos(Integer.parseInt(posText.getText())); } }
5301 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5301/972c25718c13f963dbd1d4ce6a885f3e66f2931f/ButtonPanel.java/clean/java/src/com/tightvnc/rfbplayer/ButtonPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 26100, 12, 1803, 1133, 6324, 13, 288, 565, 309, 261, 73, 11734, 18, 588, 1830, 1435, 422, 6599, 3616, 13, 288, 1377, 7291, 18, 542, 28590, 12, 1601, 3616, 18, 588, 2224, 7675, 14963, 2932, 19205, 7923, 1769, 565, 289, 469, 309, 261, 73, 11734, 18, 588, 1830, 1435, 422, 949, 1528, 13, 288, 1377, 7291, 18, 542, 1616, 12, 4522, 18, 2670, 1702, 12, 917, 1528, 18, 588, 1528, 1435, 10019, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 26100, 12, 1803, 1133, 6324, 13, 288, 565, 309, 261, 73, 11734, 18, 588, 1830, 1435, 422, 6599, 3616, 13, 288, 1377, 7291, 18, 542, 28590, 12, 1601, 3616, 18, 588, 2224, 7675, 14963, 2932, 19205, 7923, 1769, 565, 289, 469, 309, 261, 73, 11734, 18, 588, 1830, 1435, 422, 949, 1528, 13, 288, 1377, 7291, 18, 542, 1616, 12, 4522, 18, 2670, 1702, 12, 917, 1528, 18, 588, 1528, 1435, 10019, 565, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
configuration.addResolution(String.copyValueOf(ch, start, length));
parsedValue.append(String.copyValueOf(ch, start, length));
public void characters(char[] ch, int start, int length) throws SAXException { switch (state) { case IN_PRODUCTS | IN_LI | IN_NAME: configuration.addProduct(String.copyValueOf(ch, start, length)); //configuration.addAttributeValue(BugzillaReportElement.PRODUCT.getKeyString(), String.copyValueOf(ch, start, length)); currentProduct = String.copyValueOf(ch, start, length); break; case IN_COMPONENTS | IN_LI | IN_COMPONENT | IN_NAME: String comp = String.copyValueOf(ch, start, length); if (about != null) { componentNames.put(about, comp); // System.err.println("Component: "+about+" ---> "+name); } //configuration.addAttributeValue(BugzillaReportElement.COMPONENT.getKeyString(), comp); break; case IN_VERSIONS | IN_LI | IN_VERSION | IN_NAME: String ver = String.copyValueOf(ch, start, length); if (about != null) { versionNames.put(about, ver); // System.err.println("Version: "+about+" ---> "+name); } //configuration.addAttributeValue(BugzillaReportElement.VERSION.getKeyString(), ver); break; case IN_TARGET_MILESTONES | IN_LI | IN_TARGET_MILESTONE | IN_NAME: String target = String.copyValueOf(ch, start, length); if (about != null) { milestoneNames.put(about, target); // System.err.println("Version: "+about+" ---> "+name); } //configuration.addAttributeValue(BugzillaReportElement.TARGET_MILESTONE.getKeyString(), target); break; case IN_PLATFORM | IN_LI: configuration.addPlatform(String.copyValueOf(ch, start, length)); //configuration.addAttributeValue(BugzillaReportElement.REP_PLATFORM.getKeyString(), String.copyValueOf(ch, start, length)); break; case IN_OP_SYS | IN_LI: configuration.addOS(String.copyValueOf(ch, start, length)); //configuration.addAttributeValue(BugzillaReportElement.OP_SYS.getKeyString(), String.copyValueOf(ch, start, length)); break; case IN_PRIORITY | IN_LI: //configuration.addAttributeValue(BugzillaReportElement.PRIORITY.getKeyString(), String.copyValueOf(ch, start, length)); configuration.addPriority(String.copyValueOf(ch, start, length)); break; case IN_SEVERITY | IN_LI: //configuration.addAttributeValue(BugzillaReportElement.BUG_SEVERITY.getKeyString(), String.copyValueOf(ch, start, length)); configuration.addSeverity(String.copyValueOf(ch, start, length)); break; case IN_INSTALL_VERSION: //configuration.addAttributeValue(BugzillaReportElement.INSTALL_VERSION.getKeyString(), String.copyValueOf(ch, start, length)); configuration.setInstallVersion(String.copyValueOf(ch, start, length)); break; case IN_STATUS | IN_LI: //configuration.addAttributeValue(BugzillaReportElement.BUG_STATUS.getKeyString(), String.copyValueOf(ch, start, length)); configuration.addStatus(String.copyValueOf(ch, start, length)); break; case IN_RESOLUTION | IN_LI: //configuration.addAttributeValue(BugzillaReportElement.RESOLUTION.getKeyString(), String.copyValueOf(ch, start, length)); configuration.addResolution(String.copyValueOf(ch, start, length)); break; case IN_KEYWORD | IN_LI: //configuration.addAttributeValue(BugzillaReportElement.KEYWORDS.getKeyString(), String.copyValueOf(ch, start, length)); configuration.addKeyword(String.copyValueOf(ch, start, length)); break; case IN_STATUS_OPEN | IN_LI: //configuration.addAttributeValue(BugzillaReportElement.STATUS_OPEN.getKeyString(), String.copyValueOf(ch, start, length)); configuration.addOpenStatusValue(String.copyValueOf(ch, start, length)); break; } }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/584278fd36588570d799890a990adc5ef6e02a9d/SaxConfigurationContentHandler.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/SaxConfigurationContentHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3949, 12, 3001, 8526, 462, 16, 509, 787, 16, 509, 769, 13, 1216, 14366, 288, 202, 202, 9610, 261, 2019, 13, 288, 202, 202, 3593, 2120, 67, 25883, 55, 571, 2120, 67, 2053, 571, 2120, 67, 1985, 30, 1082, 202, 7025, 18, 1289, 4133, 12, 780, 18, 3530, 620, 951, 12, 343, 16, 787, 16, 769, 10019, 1082, 202, 759, 7025, 18, 1289, 14942, 12, 19865, 15990, 4820, 1046, 18, 25883, 18, 588, 653, 780, 9334, 514, 18, 3530, 620, 951, 12, 343, 16, 787, 16, 769, 10019, 1082, 202, 2972, 4133, 273, 514, 18, 3530, 620, 951, 12, 343, 16, 787, 16, 769, 1769, 1082, 202, 8820, 31, 202, 202, 3593, 2120, 67, 22922, 55, 571, 2120, 67, 2053, 571, 2120, 67, 22922, 571, 2120, 67, 1985, 30, 1082, 202, 780, 1161, 273, 514, 18, 3530, 620, 951, 12, 343, 16, 787, 16, 769, 1769, 1082, 202, 430, 261, 21071, 480, 446, 13, 288, 9506, 202, 4652, 1557, 18, 458, 12, 21071, 16, 1161, 1769, 9506, 202, 759, 2332, 18, 370, 18, 8222, 2932, 1841, 30, 13773, 21071, 9078, 9948, 34, 13773, 529, 1769, 1082, 202, 97, 25083, 202, 759, 7025, 18, 1289, 14942, 12, 19865, 15990, 4820, 1046, 18, 22922, 18, 588, 653, 780, 9334, 1161, 1769, 1082, 202, 8820, 31, 202, 202, 3593, 2120, 67, 5757, 55, 571, 2120, 67, 2053, 571, 2120, 67, 5757, 571, 2120, 67, 1985, 30, 1082, 202, 780, 1924, 273, 514, 18, 3530, 620, 951, 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, 3949, 12, 3001, 8526, 462, 16, 509, 787, 16, 509, 769, 13, 1216, 14366, 288, 202, 202, 9610, 261, 2019, 13, 288, 202, 202, 3593, 2120, 67, 25883, 55, 571, 2120, 67, 2053, 571, 2120, 67, 1985, 30, 1082, 202, 7025, 18, 1289, 4133, 12, 780, 18, 3530, 620, 951, 12, 343, 16, 787, 16, 769, 10019, 1082, 202, 759, 7025, 18, 1289, 14942, 12, 19865, 15990, 4820, 1046, 18, 25883, 18, 588, 653, 780, 9334, 514, 18, 3530, 620, 951, 12, 343, 16, 787, 16, 769, 10019, 1082, 202, 2972, 4133, 273, 514, 18, 3530, 620, 951, 12, 343, 16, 787, 16, 769, 1769, 1082, 202, 8820, 31, 202, 202, 3593, 2120, 67, 22922, 2 ]
AST tmp18_AST_in = (AST)_t;
AST tmp22_AST_in = (AST)_t;
public final Expression pathExpr(AST _t, PathExpr path ) throws RecognitionException, PermissionDeniedException,EXistException { Expression step; AST pathExpr_AST_in = (AST)_t; AST c = null; AST i = null; AST dec = null; AST dbl = null; AST qn = null; AST nc1 = null; AST nc = null; AST attr = null; AST nc2 = null; AST nc3 = null; Expression rightStep = null; step = null; int axis = Constants.CHILD_AXIS; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case STRING_LITERAL: { c = (AST)_t; match(_t,STRING_LITERAL); _t = _t.getNextSibling(); step = new Literal(c.getText()); path.add(step); break; } case INTEGER_LITERAL: { i = (AST)_t; match(_t,INTEGER_LITERAL); _t = _t.getNextSibling(); step = new IntNumber(Integer.parseInt(i.getText())); path.add(step); break; } case DOUBLE_LITERAL: case DECIMAL_LITERAL: { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case DECIMAL_LITERAL: { dec = (AST)_t; match(_t,DECIMAL_LITERAL); _t = _t.getNextSibling(); step = new IntNumber(Double.parseDouble(dec.getText())); break; } case DOUBLE_LITERAL: { dbl = (AST)_t; match(_t,DOUBLE_LITERAL); _t = _t.getNextSibling(); step = new IntNumber(Double.parseDouble(dbl.getText())); break; } default: { throw new NoViableAltException(_t); } } } path.add(step); break; } case FUNCTION: { step=functionCall(_t,path); _t = _retTree; break; } case QNAME: case WILDCARD: case PREFIX_WILDCARD: case NCNAME: case LITERAL_text: case LITERAL_node: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 51: case 52: case LITERAL_parent: case LITERAL_ancestor: case 55: case 56: { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 51: case 52: case LITERAL_parent: case LITERAL_ancestor: case 55: case 56: { axis=forwardAxis(_t); _t = _retTree; break; } case QNAME: case WILDCARD: case PREFIX_WILDCARD: case NCNAME: case LITERAL_text: case LITERAL_node: { break; } default: { throw new NoViableAltException(_t); } } } NodeTest test; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: { qn = (AST)_t; match(_t,QNAME); _t = _t.getNextSibling(); QName qname = QName.parse(context, qn.getText()); test = new NameTest(Type.ELEMENT, qname); break; } case PREFIX_WILDCARD: { AST __t106 = _t; AST tmp9_AST_in = (AST)_t; match(_t,PREFIX_WILDCARD); _t = _t.getFirstChild(); nc1 = (AST)_t; match(_t,NCNAME); _t = _t.getNextSibling(); _t = __t106; _t = _t.getNextSibling(); QName qname = new QName(nc1.getText(), null, null); test = new NameTest(Type.ELEMENT, qname); break; } case NCNAME: { AST __t107 = _t; nc = _t==ASTNULL ? null :(AST)_t; match(_t,NCNAME); _t = _t.getFirstChild(); AST tmp10_AST_in = (AST)_t; match(_t,WILDCARD); _t = _t.getNextSibling(); _t = __t107; _t = _t.getNextSibling(); String namespaceURI = context.getURIForPrefix(nc.getText()); QName qname = new QName(null, namespaceURI, null); test = new NameTest(Type.ELEMENT, qname); break; } case WILDCARD: { AST tmp11_AST_in = (AST)_t; match(_t,WILDCARD); _t = _t.getNextSibling(); test = new TypeTest(Type.ELEMENT); break; } case LITERAL_node: { AST tmp12_AST_in = (AST)_t; match(_t,LITERAL_node); _t = _t.getNextSibling(); test = new AnyNodeTest(); break; } case LITERAL_text: { AST tmp13_AST_in = (AST)_t; match(_t,LITERAL_text); _t = _t.getNextSibling(); test = new TypeTest(Type.TEXT); break; } default: { throw new NoViableAltException(_t); } } } step = new LocationStep(axis, test); path.add(step); { _loop109: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==PREDICATE)) { predicate(_t,(LocationStep)step); _t = _retTree; } else { break _loop109; } } while (true); } break; } case AT: { AST tmp14_AST_in = (AST)_t; match(_t,AT); _t = _t.getNextSibling(); QName qname; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: { attr = (AST)_t; match(_t,QNAME); _t = _t.getNextSibling(); qname = QName.parse(context, attr.getText()); break; } case PREFIX_WILDCARD: { AST __t111 = _t; AST tmp15_AST_in = (AST)_t; match(_t,PREFIX_WILDCARD); _t = _t.getFirstChild(); nc2 = (AST)_t; match(_t,NCNAME); _t = _t.getNextSibling(); _t = __t111; _t = _t.getNextSibling(); qname = new QName(nc2.getText(), null, null); break; } case NCNAME: { AST __t112 = _t; nc3 = _t==ASTNULL ? null :(AST)_t; match(_t,NCNAME); _t = _t.getFirstChild(); AST tmp16_AST_in = (AST)_t; match(_t,WILDCARD); _t = _t.getNextSibling(); _t = __t112; _t = _t.getNextSibling(); String namespaceURI = context.getURIForPrefix(nc3.getText()); if(namespaceURI == null) throw new EXistException("No namespace defined for prefix " + nc.getText()); qname = new QName(null, namespaceURI, null); break; } default: { throw new NoViableAltException(_t); } } } step = new LocationStep(Constants.ATTRIBUTE_AXIS, new NameTest(Type.ATTRIBUTE, qname)); path.add(step); { _loop114: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==PREDICATE)) { predicate(_t,(LocationStep)step); _t = _retTree; } else { break _loop114; } } while (true); } break; } case SELF: { AST tmp17_AST_in = (AST)_t; match(_t,SELF); _t = _t.getNextSibling(); step = new LocationStep(Constants.SELF_AXIS, new TypeTest(Type.NODE)); path.add(step); { _loop116: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==PREDICATE)) { predicate(_t,(LocationStep)step); _t = _retTree; } else { break _loop116; } } while (true); } break; } case PARENT: { AST tmp18_AST_in = (AST)_t; match(_t,PARENT); _t = _t.getNextSibling(); step = new LocationStep(Constants.PARENT_AXIS, new TypeTest(Type.NODE)); path.add(step); { _loop118: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==PREDICATE)) { predicate(_t,(LocationStep)step); _t = _retTree; } else { break _loop118; } } while (true); } break; } case SLASH: { AST __t119 = _t; AST tmp19_AST_in = (AST)_t; match(_t,SLASH); _t = _t.getFirstChild(); step=pathExpr(_t,path); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case NCNAME: case STRING_LITERAL: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 51: case 52: case LITERAL_parent: case LITERAL_ancestor: case 55: case 56: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: { rightStep=pathExpr(_t,path); _t = _retTree; if(rightStep instanceof LocationStep && ((LocationStep)rightStep).getAxis() == -1) ((LocationStep)rightStep).setAxis(Constants.CHILD_AXIS); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t119; _t = _t.getNextSibling(); if(rightStep instanceof LocationStep && ((LocationStep)rightStep).getAxis() == -1) ((LocationStep)step).setAxis(Constants.CHILD_AXIS); break; } case DSLASH: { AST __t121 = _t; AST tmp20_AST_in = (AST)_t; match(_t,DSLASH); _t = _t.getFirstChild(); step=pathExpr(_t,path); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case NCNAME: case STRING_LITERAL: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 51: case 52: case LITERAL_parent: case LITERAL_ancestor: case 55: case 56: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: { rightStep=pathExpr(_t,path); _t = _retTree; if(rightStep instanceof LocationStep) { LocationStep rs = (LocationStep)rightStep; if(rs.getAxis() == Constants.ATTRIBUTE_AXIS) rs.setAxis(Constants.DESCENDANT_ATTRIBUTE_AXIS); else rs.setAxis(Constants.DESCENDANT_SELF_AXIS); } break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t121; _t = _t.getNextSibling(); if(step instanceof LocationStep) ((LocationStep)step).setAxis(Constants.DESCENDANT_SELF_AXIS); break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; return step; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/ad9d55f515de2cb1fa50cf09c9e42150efc8374f/XPathTreeParser2.java/clean/src/org/exist/parser/XPathTreeParser2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 5371, 225, 589, 4742, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 288, 202, 202, 2300, 2235, 31, 9506, 202, 9053, 589, 4742, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 276, 273, 446, 31, 202, 202, 9053, 277, 273, 446, 31, 202, 202, 9053, 2109, 273, 446, 31, 202, 202, 9053, 1319, 80, 273, 446, 31, 202, 202, 9053, 31054, 273, 446, 31, 202, 202, 9053, 8194, 21, 273, 446, 31, 202, 202, 9053, 8194, 273, 446, 31, 202, 202, 9053, 1604, 273, 446, 31, 202, 202, 9053, 8194, 22, 273, 446, 31, 202, 202, 9053, 8194, 23, 273, 446, 31, 6862, 202, 2300, 2145, 4160, 273, 446, 31, 1082, 202, 4119, 273, 446, 31, 1082, 202, 474, 2654, 273, 5245, 18, 27043, 67, 25614, 31, 25083, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 9469, 67, 23225, 30, 202, 202, 95, 1082, 202, 71, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 5804, 67, 23225, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 6862, 6862, 202, 4119, 273, 394, 14392, 12, 71, 18, 588, 1528, 10663, 25083, 202, 803, 18, 1289, 12, 4119, 1769, 6862, 9506, 202, 8820, 31, 202, 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, 727, 5371, 225, 589, 4742, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 288, 202, 202, 2300, 2235, 31, 9506, 202, 9053, 589, 4742, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 276, 273, 446, 31, 202, 202, 9053, 277, 273, 446, 31, 202, 202, 9053, 2109, 273, 446, 31, 202, 202, 9053, 1319, 80, 273, 446, 31, 202, 202, 9053, 31054, 273, 446, 31, 202, 202, 9053, 8194, 21, 273, 446, 31, 202, 202, 9053, 8194, 273, 446, 31, 202, 202, 9053, 1604, 273, 446, 31, 202, 202, 9053, 8194, 22, 273, 446, 31, 202, 202, 2 ]
if(Logger.shouldLog(Logger.DEBUG, this)) Logger.debug(this, "Encrypting with "+HexUtil.bytesToHex(kt.sessionKey));
Logger.minor(this, "Encrypting with "+HexUtil.bytesToHex(kt.sessionKey));
private void processOutgoingFullyFormatted(byte[] plaintext, KeyTracker kt, AsyncMessageCallback[] callbacks) { BlockCipher sessionCipher = kt.sessionCipher; if(Logger.shouldLog(Logger.DEBUG, this)) Logger.debug(this, "Encrypting with "+HexUtil.bytesToHex(kt.sessionKey)); if(sessionCipher == null) { Logger.error(this, "Dropping packet send - have not handshaked yet"); return; } int blockSize = sessionCipher.getBlockSize() >> 3; if(sessionCipher.getKeySize() != sessionCipher.getBlockSize()) throw new IllegalStateException("Block size must be half key size: blockSize="+ sessionCipher.getBlockSize()+", keySize="+sessionCipher.getKeySize()); MessageDigest md; try { md = MessageDigest.getInstance("SHA-256"); } catch (NoSuchAlgorithmException e) { throw new Error(e); } int digestLength = md.getDigestLength(); if(digestLength != blockSize) throw new IllegalStateException("Block size must be digest length!"); byte[] output = new byte[plaintext.length + digestLength]; System.arraycopy(plaintext, 0, output, digestLength, plaintext.length); md.update(plaintext); //Logger.minor(this, "Plaintext:\n"+HexUtil.bytesToHex(plaintext)); byte[] digestTemp; digestTemp = md.digest(); //Logger.minor(this, "\nHash: "+HexUtil.bytesToHex(digestTemp)); // Put plaintext in output System.arraycopy(digestTemp, 0, output, 0, digestLength); sessionCipher.encipher(digestTemp, digestTemp); // Now copy it back System.arraycopy(digestTemp, 0, output, 0, digestLength); // Yay, we have an encrypted hash //Logger.minor(this, "\nEncrypted: "+HexUtil.bytesToHex(digestTemp)+" ("+plaintext.length+" bytes plaintext)"); PCFBMode pcfb = new PCFBMode(sessionCipher, digestTemp); pcfb.blockEncipher(output, digestLength, plaintext.length); //Logger.minor(this, "Ciphertext:\n"+HexUtil.bytesToHex(output, digestLength, plaintext.length)); // We have a packet // Send it Logger.minor(this,"Sending packet of length "+output.length+" to "+kt.pn); // pn.getPeer() cannot be null usm.sendPacket(output, kt.pn.getPeer()); kt.pn.sentPacket(); }
50287 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50287/32291975fc543ab3b9ddc50a4bcd992394800348/FNPPacketMangler.java/buggy/src/freenet/node/FNPPacketMangler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1207, 24866, 16999, 18298, 12, 7229, 8526, 11917, 16, 1929, 8135, 417, 88, 16, 9672, 1079, 2428, 8526, 6689, 13, 288, 3639, 3914, 13896, 1339, 13896, 273, 417, 88, 18, 3184, 13896, 31, 3639, 309, 12, 3328, 18, 13139, 1343, 12, 3328, 18, 9394, 16, 333, 3719, 5411, 4242, 18, 4148, 12, 2211, 16, 315, 13129, 310, 598, 13773, 7037, 1304, 18, 3890, 774, 7037, 12, 8629, 18, 3184, 653, 10019, 3639, 309, 12, 3184, 13896, 422, 446, 13, 288, 5411, 4242, 18, 1636, 12, 2211, 16, 315, 7544, 1382, 4414, 1366, 300, 1240, 486, 948, 674, 9477, 4671, 8863, 5411, 327, 31, 3639, 289, 3639, 509, 13766, 273, 1339, 13896, 18, 588, 22506, 1435, 1671, 890, 31, 3639, 309, 12, 3184, 13896, 18, 588, 653, 1225, 1435, 480, 1339, 13896, 18, 588, 22506, 10756, 5411, 604, 394, 5477, 2932, 1768, 963, 1297, 506, 8816, 498, 963, 30, 13766, 1546, 15, 10792, 1339, 13896, 18, 588, 22506, 1435, 15, 3113, 498, 1225, 1546, 15, 3184, 13896, 18, 588, 653, 1225, 10663, 7734, 22485, 3481, 31, 3639, 775, 288, 5411, 3481, 273, 22485, 18, 588, 1442, 2932, 8325, 17, 5034, 8863, 3639, 289, 1044, 261, 28341, 17293, 425, 13, 288, 5411, 604, 394, 1068, 12, 73, 1769, 3639, 289, 7734, 509, 5403, 1782, 273, 3481, 18, 588, 9568, 1782, 5621, 7734, 309, 12, 10171, 1782, 480, 13766, 13, 5411, 604, 394, 5477, 2932, 1768, 963, 1297, 506, 5403, 769, 4442, 1769, 7734, 1160, 8526, 876, 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, 24866, 16999, 18298, 12, 7229, 8526, 11917, 16, 1929, 8135, 417, 88, 16, 9672, 1079, 2428, 8526, 6689, 13, 288, 3639, 3914, 13896, 1339, 13896, 273, 417, 88, 18, 3184, 13896, 31, 3639, 309, 12, 3328, 18, 13139, 1343, 12, 3328, 18, 9394, 16, 333, 3719, 5411, 4242, 18, 4148, 12, 2211, 16, 315, 13129, 310, 598, 13773, 7037, 1304, 18, 3890, 774, 7037, 12, 8629, 18, 3184, 653, 10019, 3639, 309, 12, 3184, 13896, 422, 446, 13, 288, 5411, 4242, 18, 1636, 12, 2211, 16, 315, 7544, 1382, 4414, 1366, 300, 1240, 486, 948, 674, 9477, 4671, 8863, 5411, 327, 31, 3639, 289, 3639, 509, 13766, 273, 1339, 13896, 18, 588, 22506, 1435, 1671, 2 ]
inputParameter.setDisplayName( UIUtil.convertToModelString( promptTextEditor.getText( ),
inputParameter.setPromptText( UIUtil.convertToModelString( promptTextEditor.getText( ),
protected void okPressed( ) { try { inputParameter.setName( nameEditor.getText( ) ); inputParameter.setDisplayName( UIUtil.convertToModelString( promptTextEditor.getText( ), true ) ); if ( !isStatic( ) && !StringUtil.isBlank( listLimit.getText( ) ) ) { try { inputParameter.setListlimit( Integer.parseInt( listLimit.getText( ) ) ); } catch ( NumberFormatException ex ) { ExceptionHandler.openErrorMessageBox( ERROR_TITLE_INVALID_LIST_LIMIT, MessageFormat.format( ERROR_MSG_INVALID_LIST_LIMIT, new Object[]{ Integer.toString( Integer.MAX_VALUE ) } ) ); } } else { inputParameter.setProperty( ScalarParameterHandle.LIST_LIMIT_PROP, null ); } String newControlType = getSelectedControlType( ); if ( PARAM_CONTROL_COMBO.equals( newControlType ) ) { newControlType = DesignChoiceConstants.PARAM_CONTROL_LIST_BOX; inputParameter.setMustMatch( true ); } else if ( PARAM_CONTROL_LIST.equals( newControlType ) ) { newControlType = DesignChoiceConstants.PARAM_CONTROL_LIST_BOX; inputParameter.setMustMatch( false ); } else { inputParameter.setProperty( ScalarParameterHandle.MUCH_MATCH_PROP, null ); } inputParameter.setControlType( newControlType ); String format = formatCategroy; if ( formatPattern != null ) { format += ":" + formatPattern; //$NON-NLS-1$ } inputParameter.setFormat( format ); if ( isStatic( ) && ( PARAM_CONTROL_COMBO.equals( getSelectedControlType( ) ) || DesignChoiceConstants.PARAM_CONTROL_RADIO_BUTTON.equals( getSelectedControlType( ) ) ) && !containValue( null, defaultValue, COLUMN_VALUE ) ) { defaultValue = null; } if ( ( isStatic( ) && !getSelectedControlType( ).equals( DesignChoiceConstants.PARAM_CONTROL_TEXT_BOX ) ) && ( DesignChoiceConstants.PARAM_TYPE_DATETIME.equals( getSelectedDataType( ) ) || DesignChoiceConstants.PARAM_TYPE_STRING.equals( getSelectedDataType( ) ) ) && defaultValue != null ) { inputParameter.setDefaultValue( "\"" + defaultValue + "\"" );//$NON-NLS-1$//$NON-NLS-2$ } else { inputParameter.setDefaultValue( defaultValue ); } if ( dirtyProperties.containsKey( CHECKBOX_HIDDEN ) ) { inputParameter.setHidden( getProperty( CHECKBOX_HIDDEN ) ); } inputParameter.setHelpText( UIUtil.convertToModelString( helpTextEditor.getText( ), false ) ); if ( PARAM_CONTROL_LIST.equals( getSelectedControlType( ) ) || DesignChoiceConstants.PARAM_CONTROL_TEXT_BOX.equals( getSelectedControlType( ) ) ) { if ( dirtyProperties.containsKey( CHECKBOX_ALLOW_BLANK ) ) { inputParameter.setAllowBlank( getProperty( CHECKBOX_ALLOW_BLANK ) ); } if ( dirtyProperties.containsKey( CHECKBOX_ALLOW_NULL ) ) { inputParameter.setAllowNull( getProperty( CHECKBOX_ALLOW_NULL ) ); } } else { inputParameter.setProperty( ScalarParameterHandle.ALLOW_BLANK_PROP, null ); inputParameter.setProperty( ScalarParameterHandle.ALLOW_NULL_PROP, null ); } if ( DesignChoiceConstants.PARAM_CONTROL_TEXT_BOX.equals( getSelectedControlType( ) ) ) { if ( dirtyProperties.containsKey( CHECKBOX_DO_NOT_ECHO ) ) { inputParameter.setConcealValue( getProperty( CHECKBOX_DO_NOT_ECHO ) ); } } else { inputParameter.setProperty( ScalarParameterHandle.CONCEAL_VALUE_PROP, null ); } if ( DesignChoiceConstants.PARAM_CONTROL_TEXT_BOX.equals( newControlType ) || DesignChoiceConstants.PARAM_CONTROL_CHECK_BOX.equals( newControlType ) ) { inputParameter.setProperty( ScalarParameterHandle.FIXED_ORDER_PROP, null ); } else { if ( dirtyProperties.containsKey( CHECKBOX_SORT ) ) { inputParameter.setFixedOrder( !getProperty( CHECKBOX_SORT ) ); } } PropertyHandle selectionChioceList = inputParameter.getPropertyHandle( ScalarParameterHandle.SELECTION_LIST_PROP ); selectionChioceList.setValue( null ); inputParameter.setDataType( dataType.findChoiceByDisplayName( dataTypeChooser.getText( ) ) .getName( ) ); if ( isStatic( ) ) { inputParameter.setValueType( DesignChoiceConstants.PARAM_VALUE_TYPE_STATIC ); if ( !DesignChoiceConstants.PARAM_CONTROL_TEXT_BOX.equals( newControlType ) && !DesignChoiceConstants.PARAM_CONTROL_CHECK_BOX.equals( newControlType ) ) { for ( Iterator iter = choiceList.iterator( ); iter.hasNext( ); ) { SelectionChoice choice = (SelectionChoice) iter.next( ); if ( isValidValue( choice.getValue( ) ) == null ) { selectionChioceList.addItem( choice ); } } } inputParameter.setDataSetName( null ); inputParameter.setValueExpr( null ); inputParameter.setLabelExpr( null ); } else { inputParameter.setValueType( DesignChoiceConstants.PARAM_VALUE_TYPE_DYNAMIC ); inputParameter.setDataSetName( dataSetChooser.getText( ) ); inputParameter.setValueExpr( getExpression( columnChooser.getText( ) ) ); inputParameter.setLabelExpr( getExpression( displayTextChooser.getText( ) ) ); } } catch ( Exception e ) { ExceptionHandler.handle( e ); return; } setResult( inputParameter ); super.okPressed( ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/6fb13bbf69174d2503824b9dbe1439147b493bfa/ParameterDialog.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1529, 24624, 12, 262, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 2630, 1662, 18, 542, 461, 12, 508, 6946, 18, 588, 1528, 12, 262, 11272, 1082, 202, 2630, 1662, 18, 542, 20524, 12, 6484, 1304, 18, 6283, 774, 1488, 780, 12, 6866, 1528, 6946, 18, 588, 1528, 12, 262, 16, 6862, 202, 3767, 262, 11272, 1082, 202, 430, 261, 401, 291, 5788, 12, 262, 597, 401, 13565, 18, 291, 7796, 12, 666, 3039, 18, 588, 1528, 12, 262, 262, 262, 1082, 202, 95, 9506, 202, 698, 9506, 202, 95, 6862, 202, 2630, 1662, 18, 542, 682, 3595, 12, 2144, 18, 2670, 1702, 12, 666, 3039, 18, 588, 1528, 12, 262, 262, 11272, 9506, 202, 97, 9506, 202, 14683, 261, 12100, 431, 262, 9506, 202, 95, 6862, 202, 18894, 18, 3190, 14935, 3514, 12, 5475, 67, 14123, 67, 9347, 67, 7085, 67, 8283, 16, 6862, 1082, 202, 1079, 1630, 18, 2139, 12, 5475, 67, 11210, 67, 9347, 67, 7085, 67, 8283, 16, 6862, 6862, 202, 2704, 1033, 63, 7073, 6862, 25083, 202, 4522, 18, 10492, 12, 2144, 18, 6694, 67, 4051, 262, 6862, 6862, 202, 97, 262, 11272, 9506, 202, 97, 1082, 202, 97, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 2630, 1662, 18, 542, 1396, 12, 15791, 1662, 3259, 18, 7085, 67, 8283, 67, 15811, 16, 25083, 202, 2011, 11272, 1082, 202, 97, 1082, 202, 780, 394, 3367, 559, 273, 16625, 3367, 559, 12, 11272, 1082, 202, 430, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1529, 24624, 12, 262, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 2630, 1662, 18, 542, 461, 12, 508, 6946, 18, 588, 1528, 12, 262, 11272, 1082, 202, 2630, 1662, 18, 542, 20524, 12, 6484, 1304, 18, 6283, 774, 1488, 780, 12, 6866, 1528, 6946, 18, 588, 1528, 12, 262, 16, 6862, 202, 3767, 262, 11272, 1082, 202, 430, 261, 401, 291, 5788, 12, 262, 597, 401, 13565, 18, 291, 7796, 12, 666, 3039, 18, 588, 1528, 12, 262, 262, 262, 1082, 202, 95, 9506, 202, 698, 9506, 202, 95, 6862, 202, 2630, 1662, 18, 542, 682, 3595, 12, 2144, 18, 2670, 1702, 12, 666, 3039, 18, 588, 1528, 12, 262, 262, 11272, 2 ]
public org.quickfix.field.UnderlyingSecurityType getUnderlyingSecurityType() throws FieldNotFound { org.quickfix.field.UnderlyingSecurityType value = new org.quickfix.field.UnderlyingSecurityType();
public quickfix.field.UnderlyingSecurityType getUnderlyingSecurityType() throws FieldNotFound { quickfix.field.UnderlyingSecurityType value = new quickfix.field.UnderlyingSecurityType();
public org.quickfix.field.UnderlyingSecurityType getUnderlyingSecurityType() throws FieldNotFound { org.quickfix.field.UnderlyingSecurityType value = new org.quickfix.field.UnderlyingSecurityType(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/SecurityDefinitionRequest.java/buggy/src/java/src/quickfix/fix42/SecurityDefinitionRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 559, 10833, 765, 6291, 4368, 559, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 559, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 559, 10833, 765, 6291, 4368, 559, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 559, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
XMLUtil.writeXmlFile(lineCountsBuilder.getDocument(), "lineCounts.xml");
XMLUtil.writeXmlFile(lineCountsBuilder.getDocument(), lineCountsFileName);
protected void handleLineCounts(SAXParserFactory factory) throws IOException { long startTime = System.currentTimeMillis(); LineCountsBuilder lineCountsBuilder = new LineCountsBuilder(builder); try { FileInputStream lineCountsFile = new FileInputStream("lineCounts.xml"); SAXParser parser = factory.newSAXParser(); parser.parse(lineCountsFile, new SvnXmlLineCountsFileHandler(lineCountsBuilder)); // XMLUtil.writeXmlFile(lineCountsBuilder.getDocument(), // "lineCounts2.xml"); } catch (ParserConfigurationException e) { } catch (SAXException e) { } catch (IOException e) { } logger.fine("parsing line counts finished in " + (System.currentTimeMillis() - startTime) + " ms."); startTime = System.currentTimeMillis(); int limit = 20000; int c = 0; Collection fileBuilders = builder.getFileBuilders().values(); for (Iterator iter = fileBuilders.iterator(); iter.hasNext();) { FileBuilder fileBuilder = (FileBuilder) iter.next(); if (fileBuilder.isBinary()) continue; String fileName = fileBuilder.getName(); List revisions = fileBuilder.getRevisions(); for (int i = 0; i < revisions.size(); i++) { if (i + 1 < revisions.size() && ((RevisionData) revisions.get(i)).hasNoLines() && !((RevisionData) revisions.get(i)).isDeletion()) { if (((RevisionData) revisions.get(i + 1)).isDeletion()) continue; String revNrNew = ((RevisionData) revisions.get(i)).getRevisionNumber(); String revNrOld = ((RevisionData) revisions.get(i + 1)).getRevisionNumber(); int lineDiff[] = repositoryFileManager.getLineDiff(revNrOld, revNrNew, fileName); if (lineDiff[0] != -1 && lineDiff[1] != -1) { builder.updateRevision(fileName, revNrNew, lineDiff[0], lineDiff[1]); lineCountsBuilder.newRevision(fileName, revNrNew, lineDiff[0] + "", lineDiff[1] + ""); } else { // file is binary and has been deleted fileBuilder.setBinary(true); break; } } } if (c++ > limit) break; } XMLUtil.writeXmlFile(lineCountsBuilder.getDocument(), "lineCounts.xml"); logger.fine("parsing svn diff finished in " + (System.currentTimeMillis() - startTime) + " ms."); }
48585 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48585/2dabe7da69e8662d2a708d5acda18737663ff88e/SvnLogfileParser.java/buggy/statsvn/src/net/sf/statcvs/input/SvnLogfileParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1640, 1670, 9211, 12, 55, 2501, 2678, 1733, 3272, 13, 1216, 1860, 288, 3639, 1525, 8657, 273, 2332, 18, 2972, 28512, 5621, 3639, 5377, 9211, 1263, 980, 9211, 1263, 273, 394, 5377, 9211, 1263, 12, 9574, 1769, 3639, 775, 288, 5411, 11907, 980, 9211, 812, 273, 394, 11907, 2932, 1369, 9211, 18, 2902, 8863, 5411, 10168, 2678, 2082, 273, 3272, 18, 2704, 55, 2501, 2678, 5621, 5411, 2082, 18, 2670, 12, 1369, 9211, 812, 16, 394, 348, 25031, 4432, 1670, 9211, 28942, 12, 1369, 9211, 1263, 10019, 5411, 368, 3167, 1304, 18, 2626, 4432, 812, 12, 1369, 9211, 1263, 18, 588, 2519, 9334, 5411, 368, 315, 1369, 9211, 22, 18, 2902, 8863, 3639, 289, 1044, 261, 2678, 10737, 425, 13, 288, 3639, 289, 1044, 261, 55, 2501, 503, 425, 13, 288, 3639, 289, 1044, 261, 14106, 425, 13, 288, 3639, 289, 3639, 1194, 18, 74, 558, 2932, 24979, 980, 6880, 6708, 316, 315, 397, 261, 3163, 18, 2972, 28512, 1435, 300, 8657, 13, 397, 315, 4086, 1199, 1769, 3639, 8657, 273, 2332, 18, 2972, 28512, 5621, 3639, 509, 1800, 273, 576, 2787, 31, 3639, 509, 276, 273, 374, 31, 3639, 2200, 585, 20460, 273, 2089, 18, 29925, 20460, 7675, 2372, 5621, 3639, 364, 261, 3198, 1400, 273, 585, 20460, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 5411, 1387, 1263, 585, 1263, 273, 261, 812, 1263, 13, 1400, 18, 4285, 5621, 5411, 309, 261, 768, 1263, 18, 291, 5905, 10756, 7734, 1324, 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, 1640, 1670, 9211, 12, 55, 2501, 2678, 1733, 3272, 13, 1216, 1860, 288, 3639, 1525, 8657, 273, 2332, 18, 2972, 28512, 5621, 3639, 5377, 9211, 1263, 980, 9211, 1263, 273, 394, 5377, 9211, 1263, 12, 9574, 1769, 3639, 775, 288, 5411, 11907, 980, 9211, 812, 273, 394, 11907, 2932, 1369, 9211, 18, 2902, 8863, 5411, 10168, 2678, 2082, 273, 3272, 18, 2704, 55, 2501, 2678, 5621, 5411, 2082, 18, 2670, 12, 1369, 9211, 812, 16, 394, 348, 25031, 4432, 1670, 9211, 28942, 12, 1369, 9211, 1263, 10019, 5411, 368, 3167, 1304, 18, 2626, 4432, 812, 12, 1369, 9211, 1263, 18, 588, 2519, 9334, 5411, 368, 315, 1369, 9211, 22, 18, 2902, 8863, 3639, 289, 1044, 261, 2 ]
StylesheetHandler handler, String uri, String name, String rawName, String value)
StylesheetHandler handler, String uri, String name, String rawName, String value, ElemTemplateElement owner)
Object processCHAR( StylesheetHandler handler, String uri, String name, String rawName, String value) throws org.xml.sax.SAXException { if (value.length() != 1) { handler.error( XSLMessages.createMessage(XSLTErrorResources.ER_ATTR_T_CHAR_ONE_CHAR, null), null); //"An XSLT attribute of type T_CHAR must be only 1 character!", null); } return new Character(value.charAt(0)); }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/24e9e48ff438546502d53b30fd9e53ba9f7d107f/XSLTAttributeDef.java/buggy/src/org/apache/xalan/processor/XSLTAttributeDef.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1033, 1207, 7305, 12, 1850, 29483, 2963, 1503, 1838, 16, 514, 2003, 16, 514, 508, 16, 514, 1831, 461, 16, 514, 460, 16, 10223, 2283, 1046, 3410, 13, 5411, 1216, 2358, 18, 2902, 18, 87, 651, 18, 55, 2501, 503, 225, 288, 565, 309, 261, 1132, 18, 2469, 1435, 480, 404, 13, 565, 288, 1377, 1838, 18, 1636, 12, 3639, 17243, 5058, 18, 2640, 1079, 12, 60, 4559, 56, 668, 3805, 18, 654, 67, 12043, 67, 56, 67, 7305, 67, 5998, 67, 7305, 16, 446, 3631, 446, 1769, 368, 6, 979, 20751, 1566, 434, 618, 399, 67, 7305, 1297, 506, 1338, 404, 3351, 5, 3113, 446, 1769, 565, 289, 565, 327, 394, 6577, 12, 1132, 18, 3001, 861, 12, 20, 10019, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1033, 1207, 7305, 12, 1850, 29483, 2963, 1503, 1838, 16, 514, 2003, 16, 514, 508, 16, 514, 1831, 461, 16, 514, 460, 16, 10223, 2283, 1046, 3410, 13, 5411, 1216, 2358, 18, 2902, 18, 87, 651, 18, 55, 2501, 503, 225, 288, 565, 309, 261, 1132, 18, 2469, 1435, 480, 404, 13, 565, 288, 1377, 1838, 18, 1636, 12, 3639, 17243, 5058, 18, 2640, 1079, 12, 60, 4559, 56, 668, 3805, 18, 654, 67, 12043, 67, 56, 67, 7305, 67, 5998, 67, 7305, 16, 446, 3631, 446, 1769, 368, 6, 979, 20751, 1566, 434, 618, 399, 67, 7305, 1297, 506, 1338, 404, 3351, 5, 3113, 446, 1769, 565, 289, 565, 327, 394, 6577, 12, 1132, 18, 3001, 861, 2 ]
return address;
return address;
public String getAddress() { return address; }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/f2ed60b5417a9a7d4bcf5fcf0cdc3f70cc3c9b8f/BookBean.java/buggy/src/net/sourceforge/fenixedu/dataTransferObject/research/result/publication/BookBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 14808, 1435, 288, 3639, 327, 1758, 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, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 14808, 1435, 288, 3639, 327, 1758, 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, -100, -100, -100, -100, -100, -100 ]
StringBuffer buffer = new StringBuffer("const int x = 10;\n"); buffer.append("int y [ const static x ];"); ICASTArrayModifier mod = (ICASTArrayModifier) ((IASTArrayDeclarator) ((IASTSimpleDeclaration) parse( buffer.toString(), ParserLanguage.C).getDeclarations()[1]) .getDeclarators()[0]).getArrayModifiers()[0]; assertTrue(mod.isConst()); assertTrue(mod.isStatic()); assertFalse(mod.isRestrict()); assertFalse(mod.isVolatile()); assertFalse(mod.isVariableSized()); }
StringBuffer buffer = new StringBuffer("const int x = 10;\n"); buffer.append("int y [ const static x ];"); ICASTArrayModifier mod = (ICASTArrayModifier) ((IASTArrayDeclarator) ((IASTSimpleDeclaration) parse( buffer.toString(), ParserLanguage.C).getDeclarations()[1]) .getDeclarators()[0]).getArrayModifiers()[0]; assertTrue(mod.isConst()); assertTrue(mod.isStatic()); assertFalse(mod.isRestrict()); assertFalse(mod.isVolatile()); assertFalse(mod.isVariableSized()); }
public void testBug80992() throws Exception { StringBuffer buffer = new StringBuffer("const int x = 10;\n"); //$NON-NLS-1$ buffer.append("int y [ const static x ];"); //$NON-NLS-1$ ICASTArrayModifier mod = (ICASTArrayModifier) ((IASTArrayDeclarator) ((IASTSimpleDeclaration) parse( buffer.toString(), ParserLanguage.C).getDeclarations()[1]) .getDeclarators()[0]).getArrayModifiers()[0]; assertTrue(mod.isConst()); assertTrue(mod.isStatic()); assertFalse(mod.isRestrict()); assertFalse(mod.isVolatile()); assertFalse(mod.isVariableSized()); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/98145350e052e39e57313251e0f805a20472a08d/AST2Tests.java/buggy/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1842, 19865, 3672, 2733, 22, 1435, 1216, 1185, 288, 1377, 6674, 1613, 273, 394, 6674, 2932, 10248, 509, 619, 273, 1728, 9747, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1377, 1613, 18, 6923, 2932, 474, 677, 306, 1866, 760, 619, 308, 4868, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1377, 467, 21871, 1076, 9829, 681, 273, 261, 2871, 9053, 1076, 9829, 13, 14015, 45, 9053, 1076, 31419, 13, 14015, 45, 9053, 5784, 6094, 13, 1109, 12, 5411, 1613, 18, 10492, 9334, 6783, 3779, 18, 39, 2934, 588, 21408, 1435, 63, 21, 5717, 5411, 263, 588, 3456, 297, 3062, 1435, 63, 20, 65, 2934, 588, 1076, 11948, 1435, 63, 20, 15533, 1377, 1815, 5510, 12, 1711, 18, 291, 9661, 10663, 1377, 1815, 5510, 12, 1711, 18, 291, 5788, 10663, 1377, 1815, 8381, 12, 1711, 18, 291, 29371, 10663, 1377, 1815, 8381, 12, 1711, 18, 291, 17431, 20295, 10663, 1377, 1815, 8381, 12, 1711, 18, 291, 3092, 55, 1235, 10663, 282, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1842, 19865, 3672, 2733, 22, 1435, 1216, 1185, 288, 1377, 6674, 1613, 273, 394, 6674, 2932, 10248, 509, 619, 273, 1728, 9747, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1377, 1613, 18, 6923, 2932, 474, 677, 306, 1866, 760, 619, 308, 4868, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1377, 467, 21871, 1076, 9829, 681, 273, 261, 2871, 9053, 1076, 9829, 13, 14015, 45, 9053, 1076, 31419, 13, 14015, 45, 9053, 5784, 6094, 13, 1109, 12, 5411, 1613, 18, 10492, 9334, 6783, 3779, 18, 39, 2934, 588, 21408, 1435, 63, 21, 5717, 5411, 263, 588, 3456, 297, 3062, 1435, 63, 20, 65, 2934, 588, 1076, 11948, 1435, 63, 20, 15533, 1377, 1815, 5510, 2 ]
{ _group_template = group_template_name; }
{ _group_template_name = group_template_name; }
public void set_group_template(IIR_Name group_template_name) { _group_template = group_template_name; }
2866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2866/453557ab1ab1101b4851d4adfa20619e571d1462/IIR_GroupDeclaration.java/clean/IR/AIRE/IIR_GroupDeclaration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 67, 1655, 67, 3202, 12, 6954, 54, 67, 461, 1041, 67, 3202, 67, 529, 13, 565, 288, 389, 1655, 67, 3202, 273, 1041, 67, 3202, 67, 529, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 67, 1655, 67, 3202, 12, 6954, 54, 67, 461, 1041, 67, 3202, 67, 529, 13, 565, 288, 389, 1655, 67, 3202, 273, 1041, 67, 3202, 67, 529, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
refreshLeftArea( ); DataDefinitionTextManager.getInstance( ).refreshAll( );
public void run( ) { manageColorAndQuery( query ); refreshLeftArea( ); // Refresh all data definition text DataDefinitionTextManager.getInstance( ).refreshAll( ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/ee7f46f4c99fefba65a0acb1d1f4be2f89a57d3c/TaskSelectData.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/TaskSelectData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1086, 12, 262, 202, 202, 95, 1082, 202, 12633, 2957, 1876, 1138, 12, 843, 11272, 1082, 202, 9144, 3910, 5484, 12, 11272, 1082, 202, 759, 14179, 777, 501, 2379, 977, 1082, 202, 751, 1852, 1528, 1318, 18, 588, 1442, 12, 262, 18, 9144, 1595, 12, 11272, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1086, 12, 262, 202, 202, 95, 1082, 202, 12633, 2957, 1876, 1138, 12, 843, 11272, 1082, 202, 9144, 3910, 5484, 12, 11272, 1082, 202, 759, 14179, 777, 501, 2379, 977, 1082, 202, 751, 1852, 1528, 1318, 18, 588, 1442, 12, 262, 18, 9144, 1595, 12, 11272, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
factory[i].makeVerifier(nonce, 3, 2048, bad, 9);
factory[i].makeVerifier(nonce, 7, 256, 2, bad, 9);
public void testExceptions() { byte[] nonce = new byte[4]; rand.nextBytes(nonce); for (int i = 0; i < factory.length; i++) { try { int[] bad = new int[12]; MemoryBoundFunction mbf = factory[i].makeVerifier(nonce, 3, 2048, bad, 9); fail(names[i] + ": didn't throw exception on too-long proof"); } catch (MemoryBoundFunctionException ex) { // No action intended } catch (Exception ex) { fail(names[i] + ": threw " + ex.toString()); } } }
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/ac1c43b2f21056159f71ff537fe5d6c109bf20b7/TestMemoryBoundFunction.java/buggy/test/src/org/lockss/mbf/TestMemoryBoundFunction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 11416, 1435, 288, 565, 1160, 8526, 7448, 273, 394, 1160, 63, 24, 15533, 565, 5605, 18, 4285, 2160, 12, 12824, 1769, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3272, 18, 2469, 31, 277, 27245, 288, 1377, 775, 288, 202, 474, 8526, 5570, 273, 394, 509, 63, 2138, 15533, 202, 6031, 3499, 2083, 4903, 74, 273, 202, 225, 3272, 63, 77, 8009, 6540, 17758, 12, 12824, 16, 890, 16, 21907, 16, 5570, 16, 2468, 1769, 202, 6870, 12, 1973, 63, 77, 65, 397, 6398, 10242, 1404, 604, 1520, 603, 4885, 17, 5748, 14601, 8863, 1377, 289, 1044, 261, 6031, 3499, 2083, 503, 431, 13, 288, 202, 759, 2631, 1301, 12613, 1377, 289, 1044, 261, 503, 431, 13, 288, 202, 6870, 12, 1973, 63, 77, 65, 397, 6398, 21146, 315, 397, 431, 18, 10492, 10663, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 11416, 1435, 288, 565, 1160, 8526, 7448, 273, 394, 1160, 63, 24, 15533, 565, 5605, 18, 4285, 2160, 12, 12824, 1769, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3272, 18, 2469, 31, 277, 27245, 288, 1377, 775, 288, 202, 474, 8526, 5570, 273, 394, 509, 63, 2138, 15533, 202, 6031, 3499, 2083, 4903, 74, 273, 202, 225, 3272, 63, 77, 8009, 6540, 17758, 12, 12824, 16, 890, 16, 21907, 16, 5570, 16, 2468, 1769, 202, 6870, 12, 1973, 63, 77, 65, 397, 6398, 10242, 1404, 604, 1520, 603, 4885, 17, 5748, 14601, 8863, 1377, 289, 1044, 261, 6031, 3499, 2083, 503, 431, 13, 288, 202, 759, 2631, 1301, 12613, 1377, 289, 1044, 2 ]
int LA16_307 = input.LA(1); if ( LA16_307=='t' ) {return s372;} return s50;
int LA16_308 = input.LA(1); if ( LA16_308=='t' ) {return s373;} return s51;
public DFA.State transition(IntStream input) throws RecognitionException { int LA16_307 = input.LA(1); if ( LA16_307=='t' ) {return s372;} return s50; }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/cb210a30853642e270a3bba6ce570409f6046852/RuleParserLexer.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 463, 2046, 18, 1119, 6007, 12, 1702, 1228, 810, 13, 1216, 9539, 288, 7734, 509, 2928, 2313, 67, 5082, 27, 273, 810, 18, 2534, 12, 21, 1769, 7734, 309, 261, 2928, 2313, 67, 5082, 27, 18920, 88, 11, 262, 288, 2463, 272, 6418, 22, 31, 97, 7734, 327, 272, 3361, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 463, 2046, 18, 1119, 6007, 12, 1702, 1228, 810, 13, 1216, 9539, 288, 7734, 509, 2928, 2313, 67, 5082, 27, 273, 810, 18, 2534, 12, 21, 1769, 7734, 309, 261, 2928, 2313, 67, 5082, 27, 18920, 88, 11, 262, 288, 2463, 272, 6418, 22, 31, 97, 7734, 327, 272, 3361, 31, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static String jsFunction_toLocaleString(Context cx, Scriptable thisObj, Object[] args, Function funObj)
private static String jsFunction_toLocaleString(Context cx, Scriptable thisObj, Object[] args)
public static String jsFunction_toLocaleString(Context cx, Scriptable thisObj, Object[] args, Function funObj) throws JavaScriptException { return toStringHelper(cx, thisObj, false, true); }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/b6331020dcf96bb85dae57ee2a2ce947b6b0477a/NativeArray.java/clean/js/rhino/src/org/mozilla/javascript/NativeArray.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 3828, 2083, 67, 869, 3916, 780, 12, 1042, 9494, 16, 4766, 10792, 22780, 15261, 16, 4766, 10402, 1033, 8526, 833, 16, 4766, 10792, 4284, 9831, 2675, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 327, 1762, 2276, 12, 71, 92, 16, 15261, 16, 629, 16, 638, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 3828, 2083, 67, 869, 3916, 780, 12, 1042, 9494, 16, 4766, 10792, 22780, 15261, 16, 4766, 10402, 1033, 8526, 833, 16, 4766, 10792, 4284, 9831, 2675, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 327, 1762, 2276, 12, 71, 92, 16, 15261, 16, 629, 16, 638, 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 ]
StringTokenizer agtArr = new StringTokenizer(agt, " ");
StringTokenizer agtArr = new StringTokenizer(agt, " ;()");
private static Map<String,String> parseUserAgent(String agent) { Map<String,String> macros = new HashMap<String,String>(); // state double browserVersion = -1.0; double geckoDate = 0; double mozVersion = -1; boolean isMac = false; boolean isWindows = false; boolean isLinux = false; boolean isNav = false; boolean isIE = false; boolean isNav4 = false; boolean trueNs = true; boolean isNav6 = false; boolean isNav6up = false; boolean isNav7 = false; boolean isIE3 = false; boolean isIE4 = false; boolean isIE4up = false; boolean isIE5 = false; boolean isIE5_5 = false; boolean isIE5up = false; boolean isIE5_5up = false; boolean isIE6 = false; boolean isIE6up = false; boolean isFirefox = false; boolean isFirefox1up = false; boolean isFirefox1_5up = false; boolean isMozilla = false; boolean isMozilla1_4up = false; boolean isSafari = false; boolean isGeckoBased = false; boolean isOpera = false; // parse user agent String agt = agent.toLowerCase(); //System.err.println("USER-AGENT: "+agt); StringTokenizer agtArr = new StringTokenizer(agt, " "); int i = 0; int index = -1; boolean isSpoofer = false; boolean isWebTv = false; boolean isHotJava = false; boolean beginsWithMozilla = false; boolean isCompatible = false; if (agtArr.hasMoreTokens()) { String token = agtArr.nextToken(); Pattern pattern = Pattern.compile("\\s*mozilla"); Matcher mozilla = pattern.matcher(token); if (mozilla.find()){ index = mozilla.start(); beginsWithMozilla = true; browserVersion = parseFloat(token.substring(index + 8)); isNav = true; } do { //System.err.println("TOKEN: "+token); if (token.indexOf("compatible") != -1 ) { isCompatible = true; isNav = false; } else if ((token.indexOf("opera")) != -1){ isOpera = true; isNav = false; if (agtArr.hasMoreTokens()) { browserVersion = parseFloat(agtArr.nextToken()); } token = agtArr.hasMoreTokens() ? agtArr.nextToken() : null; continue; } else if ((token.indexOf("spoofer")) != -1){ isSpoofer = true; isNav = false; } else if ((token.indexOf("webtv")) != -1) { isWebTv = true; isNav = false; } else if ((token.indexOf("hotjava")) != -1) { isHotJava = true; isNav = false; } else if ((index = token.indexOf("msie")) != -1) { isIE = true; if (agtArr.hasMoreTokens()) { browserVersion = parseFloat(agtArr.nextToken()); } token = agtArr.hasMoreTokens() ? agtArr.nextToken() : null; continue; } else if ((index = token.indexOf("gecko/")) != -1){ isGeckoBased = true; geckoDate = Float.parseFloat(token.substring(index + 6)); } else if ((index = token.indexOf("rv:")) != -1){ mozVersion = parseFloat(token.substring(index + 3)); browserVersion = mozVersion; } else if ((index = token.indexOf("firefox/")) != -1){ isFirefox = true; browserVersion = parseFloat(token.substring(index + 8)); } else if ((index = token.indexOf("netscape6/")) != -1){ trueNs = true; browserVersion = parseFloat(token.substring(index + 10)); } else if ((index = token.indexOf("netscape/")) != -1){ trueNs = true; browserVersion = parseFloat(token.substring(index + 9)); } else if ((index = token.indexOf("safari/")) != -1){ isSafari = true; browserVersion = parseFloat(token.substring(index + 7)); } else if (token.indexOf("windows") != -1){ isWindows = true; } else if ((token.indexOf("macintosh") != -1) || (token.indexOf("mac_") != -1)){ isMac = true; } else if (token.indexOf("linux") != -1){ isLinux = true; } token = agtArr.hasMoreTokens() ? agtArr.nextToken() : null; } while (token != null); // Note: Opera and WebTV spoof Navigator. // We do strict client detection. isNav = (beginsWithMozilla && !isSpoofer && !isCompatible && !isOpera && !isWebTv && !isHotJava && !isSafari); isIE = (isIE && !isOpera); isNav4 = (isNav && (browserVersion == 4) && (!isIE)); isNav6 = (isNav && trueNs && (browserVersion >=6.0) && (browserVersion < 7.0)); isNav6up = (isNav && trueNs && (browserVersion >= 6.0)); isNav7 = (isNav && trueNs && (browserVersion == 7.0)); isIE3 = (isIE && (browserVersion < 4)); isIE4 = (isIE && (browserVersion == 4) && (browserVersion == 4.0)); isIE4up = (isIE && (browserVersion >= 4)); isIE5 = (isIE && (browserVersion == 4) && (browserVersion == 5.0)); isIE5_5 = (isIE && (browserVersion == 4) && (browserVersion == 5.5)); isIE5up = (isIE && (browserVersion >= 5.0)); isIE5_5up =(isIE && (browserVersion >= 5.5)); isIE6 = (isIE && (browserVersion == 6.0)); isIE6up = (isIE && (browserVersion >= 6.0)); isMozilla = ((isNav && mozVersion > -1.0 && isGeckoBased && (geckoDate != 0))); isMozilla1_4up = (isMozilla && (mozVersion >= 1.4)); isFirefox = ((isMozilla && isFirefox)); isFirefox1up = (isFirefox && browserVersion >= 1.0); isFirefox1_5up = (isFirefox && browserVersion >= 1.5); // operating systems define(macros, "WINDOWS", isWindows); define(macros, "MACINTOSH", isMac); define(macros, "LINUX", isLinux); // browser variants define(macros, "NAVIGATOR", isNav); define(macros, "NAVIGATOR_4", isNav4); define(macros, "NAVIGATOR_6", isNav6); define(macros, "NAVIGATOR_6_OR_HIGHER", isNav6up); define(macros, "NAVIGATOR_7", isNav7); define(macros, "NAVIGATOR_COMPATIBLE", isCompatible); define(macros, "MOZILLA", isMozilla); define(macros, "MOZILLA_1_4_OR_HIGHER", isMozilla1_4up); define(macros, "FIREFOX", isFirefox); define(macros, "FIREFOX_1_OR_HIGHER", isFirefox1up); define(macros, "FIREFOX_1_5_OR_HIGHER", isFirefox1_5up); define(macros, "GECKO", isGeckoBased); define(macros, "MSIE", isIE); define(macros, "MSIE_3", isIE3); define(macros, "MSIE_4", isIE4); define(macros, "MSIE_4_OR_HIGHER", isIE4up); define(macros, "MSIE_5", isIE5); define(macros, "MSIE_5_OR_HIGHER", isIE5up); define(macros, "MSIE_5_5", isIE5_5); define(macros, "MSIE_5_5_OR_HIGHER", isIE5_5up); define(macros, "MSIE_6", isIE6); define(macros, "MSIE_6_OR_HIGHER", isIE6up); define(macros, "SAFARI", isSafari); define(macros, "WEBTV", isWebTv); define(macros, "HOTJAVA", isHotJava); } return macros; } // parseUserAgent(String,Map<String,String>)
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/fea247a33b2a39b897009b172ac6c4ac114a6142/SkinResources.java/clean/ZimbraWebClient/src/com/zimbra/webClient/servlet/SkinResources.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 1635, 32, 780, 16, 780, 34, 1109, 12276, 12, 780, 4040, 13, 288, 202, 202, 863, 32, 780, 16, 780, 34, 24302, 273, 394, 4317, 32, 780, 16, 780, 34, 5621, 202, 202, 759, 919, 202, 202, 9056, 4748, 1444, 273, 300, 21, 18, 20, 31, 202, 202, 9056, 314, 31319, 1626, 273, 374, 31, 202, 202, 9056, 7344, 94, 1444, 273, 300, 21, 31, 202, 202, 6494, 353, 9990, 273, 629, 31, 202, 202, 6494, 353, 10399, 273, 629, 31, 202, 202, 6494, 353, 19475, 273, 629, 31, 202, 202, 6494, 8197, 842, 225, 273, 629, 31, 202, 202, 6494, 353, 8732, 273, 629, 31, 202, 202, 6494, 8197, 842, 24, 273, 629, 31, 202, 202, 6494, 638, 10386, 273, 638, 31, 202, 202, 6494, 8197, 842, 26, 273, 629, 31, 202, 202, 6494, 8197, 842, 26, 416, 273, 629, 31, 202, 202, 6494, 8197, 842, 27, 273, 629, 31, 202, 202, 6494, 353, 8732, 23, 273, 629, 31, 202, 202, 6494, 353, 8732, 24, 273, 629, 31, 202, 202, 6494, 353, 8732, 24, 416, 273, 629, 31, 202, 202, 6494, 353, 8732, 25, 273, 629, 31, 202, 202, 6494, 353, 8732, 25, 67, 25, 273, 629, 31, 202, 202, 6494, 353, 8732, 25, 416, 273, 629, 31, 202, 202, 6494, 353, 8732, 25, 67, 25, 416, 273, 629, 31, 202, 202, 6494, 353, 8732, 26, 225, 273, 629, 31, 202, 202, 6494, 353, 8732, 26, 416, 273, 629, 31, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 1635, 32, 780, 16, 780, 34, 1109, 12276, 12, 780, 4040, 13, 288, 202, 202, 863, 32, 780, 16, 780, 34, 24302, 273, 394, 4317, 32, 780, 16, 780, 34, 5621, 202, 202, 759, 919, 202, 202, 9056, 4748, 1444, 273, 300, 21, 18, 20, 31, 202, 202, 9056, 314, 31319, 1626, 273, 374, 31, 202, 202, 9056, 7344, 94, 1444, 273, 300, 21, 31, 202, 202, 6494, 353, 9990, 273, 629, 31, 202, 202, 6494, 353, 10399, 273, 629, 31, 202, 202, 6494, 353, 19475, 273, 629, 31, 202, 202, 6494, 8197, 842, 225, 273, 629, 31, 202, 202, 6494, 353, 8732, 273, 629, 31, 202, 202, 6494, 8197, 842, 24, 273, 629, 31, 2 ]
oprops.setIndenting( true );
oprops.setIndent( true );
public static void exampleOutputFormat(String sourceID, String xslID) throws ProcessorException, ProcessorFactoryException, TransformException, SAXException, IOException { Processor processor = Processor.newInstance("xslt"); Templates templates = processor.process(new InputSource(xslID)); OutputFormat oprops = templates.getOutputFormat(); oprops.setIndenting( true ); Transformer transformer = templates.newTransformer(); transformer.setOutputFormat(oprops); transformer.transform(new InputSource(sourceID), new Result(System.out)); }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/0a59c863c802607a229820e928e851db21b9d055/Examples.java/clean/src/trax/Examples.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 3454, 1447, 1630, 12, 780, 1084, 734, 16, 514, 20791, 734, 13, 565, 1216, 15476, 503, 16, 15476, 1733, 503, 16, 5411, 11514, 503, 16, 14366, 16, 1860, 225, 288, 1377, 15476, 6659, 273, 15476, 18, 2704, 1442, 2932, 92, 14414, 8863, 565, 26212, 5539, 273, 6659, 18, 2567, 12, 2704, 23699, 12, 30903, 734, 10019, 565, 3633, 1630, 320, 9693, 273, 5539, 18, 588, 1447, 1630, 5621, 565, 320, 9693, 18, 542, 7790, 12, 638, 11272, 565, 11519, 8360, 273, 5539, 18, 2704, 8319, 5621, 565, 8360, 18, 542, 1447, 1630, 12, 556, 16703, 1769, 3639, 8360, 18, 6547, 12, 2704, 23699, 12, 3168, 734, 3631, 394, 3438, 12, 3163, 18, 659, 10019, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 3454, 1447, 1630, 12, 780, 1084, 734, 16, 514, 20791, 734, 13, 565, 1216, 15476, 503, 16, 15476, 1733, 503, 16, 5411, 11514, 503, 16, 14366, 16, 1860, 225, 288, 1377, 15476, 6659, 273, 15476, 18, 2704, 1442, 2932, 92, 14414, 8863, 565, 26212, 5539, 273, 6659, 18, 2567, 12, 2704, 23699, 12, 30903, 734, 10019, 565, 3633, 1630, 320, 9693, 273, 5539, 18, 588, 1447, 1630, 5621, 565, 320, 9693, 18, 542, 7790, 12, 638, 11272, 565, 11519, 8360, 273, 5539, 18, 2704, 8319, 5621, 565, 8360, 18, 542, 1447, 1630, 12, 556, 16703, 1769, 3639, 8360, 18, 6547, 12, 2704, 23699, 12, 3168, 734, 3631, 394, 3438, 12, 3163, 18, 659, 10019, 225, 2 ]
s += (b[i] == '\r' ? "\\r" : b[i] == '\n' ? "\\n" : b[i] == '\t' ? "\\t" :
s += (b[i] == (byte)'\r' ? "\\r" : b[i] == (byte)'\n' ? "\\n" : b[i] == (byte)(byte)'\t' ? "\\t" :
protected synchronized void readLine(ByteBuf into_buf) throws IOException { flushDotStream(); // Note that `input' is a LineBufferingInputStream, which means that // `read' will only return chunks consisting of a single line (or // max_bytes, whichever is smaller.) // into_buf.setLength(0); into_buf.read(input, 10240); // NNTP spec limits lines to 1000 characters if (DEBUG) { String s = "NNTP: <== "; byte b[] = into_buf.toBytes(); for (int i = 0; i < into_buf.length(); i++) s += (b[i] == '\r' ? "\\r" : b[i] == '\n' ? "\\n" : b[i] == '\t' ? "\\t" : b[i] == '\\' ? "\\\\" : new String(b, i, 1)); System.err.print(s + "\n"); } // strip off trailing newlines (really, all ctl chars) int i = into_buf.length(); int j = i; while (j > 0 && (into_buf.byteAt(j-1) == '\r' || into_buf.byteAt(j-1) == '\n')) j--; if (i != j) into_buf.setLength(j); }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/384bf6d0fb445a73c9ef52dc035e7b964ea203af/NNTPConnection.java/clean/grendel/storage/NNTPConnection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 3852, 918, 12273, 12, 3216, 5503, 1368, 67, 4385, 13, 1216, 1860, 288, 565, 3663, 10412, 1228, 5621, 565, 368, 3609, 716, 1375, 2630, 11, 353, 279, 5377, 1892, 310, 4348, 16, 1492, 4696, 716, 565, 368, 1375, 896, 11, 903, 1338, 327, 6055, 23570, 434, 279, 2202, 980, 261, 280, 565, 368, 943, 67, 3890, 16, 600, 335, 580, 502, 353, 10648, 12998, 565, 368, 565, 1368, 67, 4385, 18, 542, 1782, 12, 20, 1769, 565, 1368, 67, 4385, 18, 896, 12, 2630, 16, 6250, 20, 1769, 225, 368, 423, 1784, 52, 857, 8181, 2362, 358, 4336, 3949, 565, 309, 261, 9394, 13, 288, 1377, 514, 272, 273, 315, 50, 1784, 52, 30, 411, 631, 13636, 1377, 1160, 324, 8526, 273, 1368, 67, 4385, 18, 869, 2160, 5621, 1377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1368, 67, 4385, 18, 2469, 5621, 277, 27245, 3639, 272, 1011, 261, 70, 63, 77, 65, 422, 2337, 86, 11, 692, 8422, 86, 6, 294, 2868, 324, 63, 77, 65, 422, 2337, 82, 11, 692, 8422, 82, 6, 294, 2868, 324, 63, 77, 65, 422, 2337, 88, 11, 692, 8422, 88, 6, 294, 2868, 324, 63, 77, 65, 422, 5282, 692, 28040, 2412, 294, 2868, 394, 514, 12, 70, 16, 277, 16, 404, 10019, 1377, 2332, 18, 370, 18, 1188, 12, 87, 397, 1548, 82, 8863, 565, 289, 565, 368, 2569, 3397, 7341, 19181, 261, 266, 1230, 16, 777, 21903, 5230, 13, 565, 509, 277, 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, 4750, 3852, 918, 12273, 12, 3216, 5503, 1368, 67, 4385, 13, 1216, 1860, 288, 565, 3663, 10412, 1228, 5621, 565, 368, 3609, 716, 1375, 2630, 11, 353, 279, 5377, 1892, 310, 4348, 16, 1492, 4696, 716, 565, 368, 1375, 896, 11, 903, 1338, 327, 6055, 23570, 434, 279, 2202, 980, 261, 280, 565, 368, 943, 67, 3890, 16, 600, 335, 580, 502, 353, 10648, 12998, 565, 368, 565, 1368, 67, 4385, 18, 542, 1782, 12, 20, 1769, 565, 1368, 67, 4385, 18, 896, 12, 2630, 16, 6250, 20, 1769, 225, 368, 423, 1784, 52, 857, 8181, 2362, 358, 4336, 3949, 565, 309, 261, 9394, 13, 288, 1377, 514, 272, 273, 315, 50, 1784, 52, 30, 411, 631, 13636, 2 ]
static void setupProcessor (VM_Processor st) {
static void setupProcessor(VM_Processor st) throws VM_PragmaInterruptible {
static void setupProcessor (VM_Processor st) { // for the PRIMORDIAL processor allocation of sizes, etc occurs // during init(), nothing more needs to be done // if (st.id > VM_Scheduler.PRIMORDIAL_PROCESSOR_ID) smallHeap.setupProcessor(st); }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/6cf275a6b609ccc0eb35537fbd0223d5fd08340b/VM_Allocator.java/buggy/rvm/src/vm/memoryManagers/watson/markAndSweep/VM_Allocator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 918, 3875, 5164, 12, 7397, 67, 5164, 384, 13, 1216, 8251, 67, 2050, 9454, 14126, 1523, 288, 565, 368, 364, 326, 10365, 49, 916, 2565, 1013, 6659, 13481, 434, 8453, 16, 5527, 9938, 565, 368, 4982, 1208, 9334, 5083, 1898, 4260, 358, 506, 2731, 565, 368, 565, 309, 261, 334, 18, 350, 405, 8251, 67, 11870, 18, 7698, 49, 916, 2565, 1013, 67, 16560, 916, 67, 734, 13, 4202, 5264, 15648, 18, 8401, 5164, 12, 334, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 918, 3875, 5164, 12, 7397, 67, 5164, 384, 13, 1216, 8251, 67, 2050, 9454, 14126, 1523, 288, 565, 368, 364, 326, 10365, 49, 916, 2565, 1013, 6659, 13481, 434, 8453, 16, 5527, 9938, 565, 368, 4982, 1208, 9334, 5083, 1898, 4260, 358, 506, 2731, 565, 368, 565, 309, 261, 334, 18, 350, 405, 8251, 67, 11870, 18, 7698, 49, 916, 2565, 1013, 67, 16560, 916, 67, 734, 13, 4202, 5264, 15648, 18, 8401, 5164, 12, 334, 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 ]