rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
declareClassVar(id, value); }
declareClassVar(id, value); }
public void defineClassVariable(String name, RubyObject value) { RubyId id = getRuby().intern(name); if (!id.isClassId()) { throw new RubyNameException(getRuby(), "wrong class variable name " + name); } declareClassVar(id, value); }
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/clean/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4426, 797, 3092, 12, 780, 508, 16, 19817, 921, 460, 13, 288, 202, 202, 54, 10340, 548, 612, 273, 4170, 10340, 7675, 267, 798, 12, 529, 1769, 202, 202, 430, 16051, 350, 18, 291, 797, 548, 10756, 288, 1082, 202, 12849, 394, 19817, 26771, 12, 588, 54, 10340, 9334, 315, 21530, 667, 2190, 508, 315, 397, 508, 1769, 202, 202, 97, 202, 202, 29554, 797, 1537, 12, 350, 16, 460, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4426, 797, 3092, 12, 780, 508, 16, 19817, 921, 460, 13, 288, 202, 202, 54, 10340, 548, 612, 273, 4170, 10340, 7675, 267, 798, 12, 529, 1769, 202, 202, 430, 16051, 350, 18, 291, 797, 548, 10756, 288, 1082, 202, 12849, 394, 19817, 26771, 12, 588, 54, 10340, 9334, 315, 21530, 667, 2190, 508, 315, 397, 508, 1769, 202, 202, 97, 202, 202, 29554, 797, 1537, 12, 350, 16, 460, 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 ]
if (jj_scan_token(CONTINUE)) return true;
final private boolean jj_3R_324() { if (jj_scan_token(CONTINUE)) return true; Token xsp; xsp = jj_scanpos; if (jj_scan_token(74)) jj_scanpos = xsp; if (jj_scan_token(SEMICOLON)) return true; return false; }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/9aa0c6bec51662a685ea4b86bc02a52c9e593d8a/Parser.java/clean/dynamicjava/src/koala/dynamicjava/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 1578, 24, 1435, 288, 4202, 3155, 619, 1752, 31, 565, 619, 1752, 273, 10684, 67, 9871, 917, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 5608, 3719, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 1090, 22972, 1741, 673, 3719, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 1578, 24, 1435, 288, 4202, 3155, 619, 1752, 31, 565, 619, 1752, 273, 10684, 67, 9871, 917, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 5608, 3719, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 1090, 22972, 1741, 673, 3719, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
source.addCurrentLine();
private int parseHereDocument(int term, boolean indent) { int c; Node list = null; int linesave = ruby.getSourceLine(); newtok(); switch (term) { case '\'' : case '"' : case '`' : while ((c = nextc()) != term) { tokadd(c); } if (term == '\'') { term = 0; } break; default : c = term; term = '"'; if (!isIdentifierChar(c)) { ph.rb_warn("use of bare << to mean <<\"\" is deprecated"); break; } while (isIdentifierChar(c)) { tokadd(c); c = nextc(); } pushback(c); break; } markFilterSource.mark(); support.readLine(); String eos = tok(); StringBuffer sb = new StringBuffer(); while (true) { // test if the end of file or end of string is reached. String line = support.readLine(); if (line == null) { // error: ruby.setSourceLine(linesave); ph.rb_compile_error("can't find string \"" + eos + "\" anywhere before EOF"); return 0; } else if ((indent && line.trim().startsWith(eos)) || line.startsWith(eos)) { if (line.trim().length() == eos.length()) { source.addCurrentLine(); break; } } source.unread(line.length() + 1); while (true) { switch (parse_string(term, '\n', '\n')) { case Token.tSTRING : case Token.tXSTRING : ((RubyString) yyVal).cat("\n"); if (list == null) { sb.append(yyVal.toString()); } else { ph.list_append(list, nf.newStr((RubyObject) yyVal)); } break; case Token.tDSTRING : if (list == null) { list = nf.newDStr(RubyString.newString(ruby, sb.toString())); } /* fall through */ case Token.tDXSTRING : if (list == null) { list = nf.newDXStr(RubyString.newString(ruby, sb.toString())); } ph.list_append((Node) yyVal, nf.newStr(RubyString.newString(ruby, "\n"))); ((StrNodeConvertable) yyVal).convertToStrNode(); yyVal = nf.newList((Node) yyVal); ((Node) yyVal).setNextNode(((Node) yyVal).getHeadNode().getNextNode()); ph.list_concat(list, (Node) yyVal); break; case 0 : // goto error; ruby.setSourceLine(linesave); ph.rb_compile_error("can't find string \"" + eos + "\" anywhere before EOF"); return 0; } if (source.isEOL()) { source.addCurrentLine(); break; } } } ph.setLexState(LexState.EXPR_END); ph.setHeredocEnd(ruby.getSourceLine()); ruby.setSourceLine(linesave); markFilterSource.reset(); if (list != null) { list.setLine(linesave + 1); yyVal = list; } switch (term) { case '\0' : case '\'' : case '"' : if (list != null) { return Token.tDSTRING; } yyVal = RubyString.newString(ruby, sb.toString()); return Token.tSTRING; case '`' : if (list != null) { return Token.tDXSTRING; } yyVal = RubyString.newString(ruby, sb.toString()); return Token.tXSTRING; } return 0; }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/4e4bb40b2eb2d38881d15ca8ef7cda4c34323793/DefaultRubyScanner.java/clean/org/jruby/parser/DefaultRubyScanner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 1109, 26715, 2519, 12, 474, 2481, 16, 1250, 3504, 13, 288, 3639, 509, 276, 31, 3639, 2029, 666, 273, 446, 31, 3639, 509, 2362, 836, 273, 22155, 18, 588, 1830, 1670, 5621, 3639, 394, 17692, 5621, 3639, 1620, 261, 6408, 13, 288, 5411, 648, 15053, 294, 5411, 648, 4754, 294, 5411, 648, 14793, 294, 7734, 1323, 14015, 71, 273, 1024, 71, 10756, 480, 2481, 13, 288, 10792, 946, 1289, 12, 71, 1769, 7734, 289, 7734, 309, 261, 6408, 422, 14118, 6134, 288, 10792, 2481, 273, 374, 31, 7734, 289, 7734, 898, 31, 5411, 805, 294, 7734, 276, 273, 2481, 31, 7734, 2481, 273, 4754, 31, 7734, 309, 16051, 291, 3004, 2156, 12, 71, 3719, 288, 10792, 1844, 18, 6731, 67, 8935, 2932, 1202, 434, 18208, 2296, 358, 3722, 2296, 2412, 2412, 353, 6849, 8863, 10792, 898, 31, 7734, 289, 7734, 1323, 261, 291, 3004, 2156, 12, 71, 3719, 288, 10792, 946, 1289, 12, 71, 1769, 10792, 276, 273, 1024, 71, 5621, 7734, 289, 7734, 1817, 823, 12, 71, 1769, 7734, 898, 31, 3639, 289, 7734, 2267, 1586, 1830, 18, 3355, 5621, 3639, 2865, 18, 896, 1670, 5621, 3639, 514, 425, 538, 273, 946, 5621, 3639, 6674, 2393, 273, 394, 6674, 5621, 3639, 1323, 261, 3767, 13, 288, 5411, 368, 1842, 309, 326, 679, 434, 585, 578, 679, 434, 533, 353, 8675, 18, 5411, 514, 980, 273, 2865, 18, 896, 1670, 5621, 5411, 309, 261, 1369, 422, 446, 13, 288, 7734, 368, 555, 30, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 1109, 26715, 2519, 12, 474, 2481, 16, 1250, 3504, 13, 288, 3639, 509, 276, 31, 3639, 2029, 666, 273, 446, 31, 3639, 509, 2362, 836, 273, 22155, 18, 588, 1830, 1670, 5621, 3639, 394, 17692, 5621, 3639, 1620, 261, 6408, 13, 288, 5411, 648, 15053, 294, 5411, 648, 4754, 294, 5411, 648, 14793, 294, 7734, 1323, 14015, 71, 273, 1024, 71, 10756, 480, 2481, 13, 288, 10792, 946, 1289, 12, 71, 1769, 7734, 289, 7734, 309, 261, 6408, 422, 14118, 6134, 288, 10792, 2481, 273, 374, 31, 7734, 289, 7734, 898, 31, 5411, 805, 294, 7734, 276, 273, 2481, 31, 7734, 2481, 273, 4754, 31, 7734, 309, 16051, 291, 3004, 2156, 12, 71, 3719, 288, 10792, 2 ]
new OPT_IntConstantOperand(STACKFRAME_FRAME_POINTER_OFFSET),
new OPT_AddressConstantOperand(Offset.fromIntSignExtend(STACKFRAME_FRAME_POINTER_OFFSET)),
static boolean generateMagic (OPT_BC2IR bc2ir, OPT_GenerationContext gc, VM_MethodReference meth) throws OPT_MagicNotImplementedException { VM_Atom methodName = meth.getName(); if (methodName == VM_MagicNames.getFramePointer) { bc2ir.push(gc.temps.makeFPOp()); gc.allocFrame = true; } else if (methodName == VM_MagicNames.getTocPointer) { bc2ir.push(gc.temps.makeJTOCOp(null,null)); } else if (methodName == VM_MagicNames.getJTOC) { bc2ir.push(gc.temps.makeTocOp()); } else if (methodName == VM_MagicNames.getCallerFramePointer) { OPT_Operand fp = bc2ir.popAddress(); OPT_RegisterOperand val = gc.temps.makeTemp(VM_TypeReference.Address); bc2ir.appendInstruction(Load.create(REF_LOAD, val, fp, new OPT_IntConstantOperand(STACKFRAME_FRAME_POINTER_OFFSET), null)); bc2ir.push(val.copyD2U()); } else if (methodName == VM_MagicNames.setCallerFramePointer) { OPT_Operand val = bc2ir.popAddress(); OPT_Operand fp = bc2ir.popAddress(); bc2ir.appendInstruction(Store.create(REF_STORE, val, fp, new OPT_IntConstantOperand(STACKFRAME_FRAME_POINTER_OFFSET), null)); } else if (methodName == VM_MagicNames.getCompiledMethodID) { OPT_Operand fp = bc2ir.popAddress(); OPT_RegisterOperand val = gc.temps.makeTempInt(); bc2ir.appendInstruction(Load.create(INT_LOAD, val, fp, new OPT_IntConstantOperand(STACKFRAME_METHOD_ID_OFFSET), null)); bc2ir.push(val.copyD2U()); } else if (methodName == VM_MagicNames.setCompiledMethodID) { OPT_Operand val = bc2ir.popInt(); OPT_Operand fp = bc2ir.popAddress(); bc2ir.appendInstruction(Store.create(INT_STORE, val, fp, new OPT_IntConstantOperand(STACKFRAME_METHOD_ID_OFFSET), null)); } else if (methodName == VM_MagicNames.getNextInstructionAddress) { OPT_Operand fp = bc2ir.popAddress(); OPT_RegisterOperand val = gc.temps.makeTemp(VM_TypeReference.Address); bc2ir.appendInstruction(Load.create(REF_LOAD, val, fp, new OPT_IntConstantOperand(STACKFRAME_NEXT_INSTRUCTION_OFFSET), null)); bc2ir.push(val.copyD2U()); } else if (methodName == VM_MagicNames.setNextInstructionAddress) { OPT_Operand val = bc2ir.popAddress(); OPT_Operand fp = bc2ir.popAddress(); bc2ir.appendInstruction(Store.create(REF_STORE, val, fp, new OPT_IntConstantOperand(STACKFRAME_NEXT_INSTRUCTION_OFFSET), null)); } else if (methodName == VM_MagicNames.getReturnAddressLocation) { OPT_Operand fp = bc2ir.popAddress(); OPT_RegisterOperand callerFP = gc.temps.makeTemp(VM_TypeReference.Address); OPT_RegisterOperand val = gc.temps.makeTemp(VM_TypeReference.Address); bc2ir.appendInstruction(Load.create(REF_LOAD, callerFP, fp, new OPT_IntConstantOperand(STACKFRAME_FRAME_POINTER_OFFSET), null)); bc2ir.appendInstruction(Binary.create(REF_ADD, val, callerFP, new OPT_IntConstantOperand(STACKFRAME_NEXT_INSTRUCTION_OFFSET))); bc2ir.push(val.copyD2U()); } else if (methodName == VM_MagicNames.isync) { if (!gc.options.NO_CACHE_FLUSH) bc2ir.appendInstruction(Empty.create(READ_CEILING)); } else if (methodName == VM_MagicNames.sync) { if (!gc.options.NO_CACHE_FLUSH) bc2ir.appendInstruction(Empty.create(WRITE_FLOOR)); } else if (methodName == VM_MagicNames.dcbst) { bc2ir.appendInstruction(CacheOp.create(DCBST, bc2ir.popInt())); } else if (methodName == VM_MagicNames.icbi) { bc2ir.appendInstruction(CacheOp.create(ICBI, bc2ir.popInt())); } else { // Distinguish between magics that we know we don't implement // (and never plan to implement) and those (usually new ones) // that we want to be warned that we don't implement. String msg = "Magic method not implemented: " + meth; if (methodName == VM_MagicNames.returnToNewStack) { throw OPT_MagicNotImplementedException.EXPECTED(msg); } else { return false; // throw OPT_MagicNotImplementedException.UNEXPECTED(msg); } } return true; }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/71f0481e0131f8f2137e2feea85ae32a28daffcc/OPT_GenerateMachineSpecificMagic.java/buggy/rvm/src/vm/arch/powerPC/compilers/optimizing/OPT_GenerateMachineSpecificMagic.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 1250, 2103, 19289, 261, 15620, 67, 16283, 22, 7937, 6533, 22, 481, 16, 4766, 16456, 67, 13842, 1042, 8859, 16, 4766, 8251, 67, 1305, 2404, 7917, 13, 377, 1216, 16456, 67, 19289, 1248, 8644, 503, 288, 565, 8251, 67, 3641, 4918, 273, 7917, 18, 17994, 5621, 565, 309, 261, 2039, 461, 422, 8251, 67, 19289, 1557, 18, 588, 3219, 4926, 13, 288, 1377, 6533, 22, 481, 18, 6206, 12, 13241, 18, 874, 1121, 18, 6540, 42, 2419, 84, 10663, 1377, 8859, 18, 9853, 3219, 273, 638, 31, 565, 289, 469, 309, 261, 2039, 461, 422, 8251, 67, 19289, 1557, 18, 588, 56, 504, 4926, 13, 288, 1377, 6533, 22, 481, 18, 6206, 12, 13241, 18, 874, 1121, 18, 6540, 46, 4296, 39, 3817, 12, 2011, 16, 2011, 10019, 565, 289, 469, 309, 261, 2039, 461, 422, 8251, 67, 19289, 1557, 18, 588, 46, 4296, 39, 13, 288, 1377, 6533, 22, 481, 18, 6206, 12, 13241, 18, 874, 1121, 18, 6540, 56, 504, 3817, 10663, 565, 289, 469, 309, 261, 2039, 461, 422, 8251, 67, 19289, 1557, 18, 588, 11095, 3219, 4926, 13, 288, 1377, 16456, 67, 10265, 4253, 273, 6533, 22, 481, 18, 5120, 1887, 5621, 1377, 16456, 67, 3996, 10265, 1244, 273, 8859, 18, 874, 1121, 18, 6540, 7185, 12, 7397, 67, 7534, 18, 1887, 1769, 1377, 6533, 22, 481, 18, 6923, 11983, 12, 2563, 18, 2640, 12, 10771, 67, 7783, 16, 1244, 16, 4766, 6647, 4253, 16, 4766, 1850, 394, 16456, 67, 1887, 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, 760, 1250, 2103, 19289, 261, 15620, 67, 16283, 22, 7937, 6533, 22, 481, 16, 4766, 16456, 67, 13842, 1042, 8859, 16, 4766, 8251, 67, 1305, 2404, 7917, 13, 377, 1216, 16456, 67, 19289, 1248, 8644, 503, 288, 565, 8251, 67, 3641, 4918, 273, 7917, 18, 17994, 5621, 565, 309, 261, 2039, 461, 422, 8251, 67, 19289, 1557, 18, 588, 3219, 4926, 13, 288, 1377, 6533, 22, 481, 18, 6206, 12, 13241, 18, 874, 1121, 18, 6540, 42, 2419, 84, 10663, 1377, 8859, 18, 9853, 3219, 273, 638, 31, 565, 289, 469, 309, 261, 2039, 461, 422, 8251, 67, 19289, 1557, 18, 588, 56, 504, 4926, 13, 288, 1377, 6533, 22, 481, 18, 6206, 12, 13241, 18, 874, 1121, 2 ]
Chat chat1 = new Chat(getConnection(1), getBareJID(0)); Chat chat2 = new Chat(conn, getBareJID(0));
Chat chat1 = new Chat(getConnection(1), getBareJID(0), chat0.getThreadID()); Chat chat2 = new Chat(conn, getBareJID(0), chat0.getThreadID());
public void testMessageToHighestPriority() { XMPPConnection conn = null; try { // User_1 will log in again using another resource conn = new XMPPConnection(getHost(), getPort()); conn.login(getUsername(1), getUsername(1), "OtherPlace"); // Change the presence priorities of User_1 getConnection(1).sendPacket(new Presence(Presence.Type.AVAILABLE, null, 1, Presence.Mode.AVAILABLE)); conn.sendPacket(new Presence(Presence.Type.AVAILABLE, null, 2, Presence.Mode.AVAILABLE)); Thread.sleep(150); // Create the chats between the participants Chat chat0 = new Chat(getConnection(0), getBareJID(1)); Chat chat1 = new Chat(getConnection(1), getBareJID(0)); Chat chat2 = new Chat(conn, getBareJID(0)); // Test delivery of message to the presence with highest priority chat0.sendMessage("Hello"); assertNotNull("Resource with highest priority didn't receive the message", chat2.nextMessage(2000)); assertNull("Resource with lowest priority received the message", chat1.nextMessage(1000)); // Invert the presence priorities of User_1 getConnection(1).sendPacket(new Presence(Presence.Type.AVAILABLE, null, 2, Presence.Mode.AVAILABLE)); conn.sendPacket(new Presence(Presence.Type.AVAILABLE, null, 1, Presence.Mode.AVAILABLE)); Thread.sleep(150); // Test delivery of message to the presence with highest priority chat0.sendMessage("Hello"); assertNotNull("Resource with highest priority didn't receive the message", chat1.nextMessage(2000)); assertNull("Resource with lowest priority received the message", chat2.nextMessage(1000)); // User_1 closes his connection chat2 = null; conn.close(); Thread.sleep(150); // Test delivery of message to the unique presence of the user_1 chat0.sendMessage("Hello"); assertNotNull("Resource with highest priority didn't receive the message", chat1.nextMessage(2000)); getConnection(1).sendPacket(new Presence(Presence.Type.AVAILABLE, null, 2, Presence.Mode.AVAILABLE)); // User_1 will log in again using another resource conn = new XMPPConnection(getHost(), getPort()); conn.login(getUsername(1), getUsername(1), "OtherPlace"); conn.sendPacket(new Presence(Presence.Type.AVAILABLE, null, 1, Presence.Mode.AVAILABLE)); chat2 = new Chat(conn, getBareJID(0)); Thread.sleep(150); // Test delivery of message to the presence with highest priority chat0.sendMessage("Hello"); assertNotNull("Resource with highest priority didn't receive the message", chat1.nextMessage(2000)); assertNull("Resource with lowest priority received the message", chat2.nextMessage(1000)); // Invert the presence priorities of User_1 getConnection(1).sendPacket(new Presence(Presence.Type.AVAILABLE, null, 1, Presence.Mode.AVAILABLE)); conn.sendPacket(new Presence(Presence.Type.AVAILABLE, null, 2, Presence.Mode.AVAILABLE)); Thread.sleep(150); // Test delivery of message to the presence with highest priority chat0.sendMessage("Hello"); assertNotNull("Resource with highest priority didn't receive the message", chat2.nextMessage(2000)); assertNull("Resource with lowest priority received the message", chat1.nextMessage(1000)); } catch (Exception e) { e.printStackTrace(); fail(e.getMessage()); } finally { if (conn != null) { conn.close(); } } }
47643 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47643/3db31f9169aa9f0526688f32bcb1c1f60e50f9cb/PresencePriorityTest.java/clean/test/org/jivesoftware/smack/PresencePriorityTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1079, 774, 8573, 395, 8183, 1435, 288, 3639, 23216, 1952, 1487, 273, 446, 31, 3639, 775, 288, 5411, 368, 2177, 67, 21, 903, 613, 316, 3382, 1450, 4042, 1058, 5411, 1487, 273, 394, 23216, 1952, 12, 588, 2594, 9334, 11036, 10663, 5411, 1487, 18, 5819, 12, 588, 8575, 12, 21, 3631, 17827, 12, 21, 3631, 315, 8290, 6029, 8863, 5411, 368, 7576, 326, 9805, 26783, 434, 2177, 67, 21, 5411, 6742, 12, 21, 2934, 4661, 6667, 12, 2704, 31517, 12, 22590, 18, 559, 18, 23222, 16, 446, 16, 404, 16, 10792, 31517, 18, 2309, 18, 23222, 10019, 5411, 1487, 18, 4661, 6667, 12, 2704, 31517, 12, 22590, 18, 559, 18, 23222, 16, 446, 16, 576, 16, 10792, 31517, 18, 2309, 18, 23222, 10019, 5411, 4884, 18, 19607, 12, 23014, 1769, 5411, 368, 1788, 326, 462, 2323, 3086, 326, 22346, 5411, 16903, 7916, 20, 273, 394, 16903, 12, 588, 1952, 12, 20, 3631, 2882, 834, 46, 734, 12, 21, 10019, 5411, 16903, 7916, 21, 273, 394, 16903, 12, 588, 1952, 12, 21, 3631, 2882, 834, 46, 734, 12, 20, 10019, 5411, 16903, 7916, 22, 273, 394, 16903, 12, 4646, 16, 2882, 834, 46, 734, 12, 20, 10019, 5411, 368, 7766, 7912, 434, 883, 358, 326, 9805, 598, 9742, 4394, 5411, 7916, 20, 18, 4661, 1079, 2932, 18601, 8863, 5411, 25395, 2932, 1420, 598, 9742, 4394, 10242, 1404, 6798, 326, 883, 3113, 10792, 7916, 22, 18, 4285, 1079, 12, 17172, 10019, 5411, 1815, 2041, 2932, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1079, 774, 8573, 395, 8183, 1435, 288, 3639, 23216, 1952, 1487, 273, 446, 31, 3639, 775, 288, 5411, 368, 2177, 67, 21, 903, 613, 316, 3382, 1450, 4042, 1058, 5411, 1487, 273, 394, 23216, 1952, 12, 588, 2594, 9334, 11036, 10663, 5411, 1487, 18, 5819, 12, 588, 8575, 12, 21, 3631, 17827, 12, 21, 3631, 315, 8290, 6029, 8863, 5411, 368, 7576, 326, 9805, 26783, 434, 2177, 67, 21, 5411, 6742, 12, 21, 2934, 4661, 6667, 12, 2704, 31517, 12, 22590, 18, 559, 18, 23222, 16, 446, 16, 404, 16, 10792, 31517, 18, 2309, 18, 23222, 10019, 5411, 1487, 18, 4661, 6667, 12, 2704, 31517, 12, 22590, 18, 559, 18, 23222, 16, 446, 16, 576, 2 ]
df.format(begin - start), df.format(result- begin), df.format(iterate - result), df.format(commit - iterate), df.format(close - commit)));
DF.format(begin - start), DF.format(result - begin), DF.format(iterate - result), DF.format(commit - iterate), DF.format(close - commit)));
public void testReadWriteEmpty() throws Exception { long start = System.currentTimeMillis(); db = (DatabaseImpl) _jdo.getDatabase(); db.getCacheManager().expireCache(); db.begin(); long begin = System.currentTimeMillis(); OQLQuery query = db.getOQLQuery( "SELECT o FROM " + Locked.class.getName() + " o order by o.id"); QueryResults results = query.execute(); long result = System.currentTimeMillis(); initIterateQueries(); int count = 0; while (results.hasMore()) { iterateStates((Locked) results.next(), Database.Shared); count++; } long iterate = System.currentTimeMillis(); db.commit(); long commit = System.currentTimeMillis(); db.close(); long close = System.currentTimeMillis(); LOG.info(format("ReadWriteEmpty", df.format(begin - start), df.format(result- begin), df.format(iterate - result), df.format(commit - iterate), df.format(close - commit))); }
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/dd1523da0d80afe68cbe531453f26c85802eb5e5/TestLoadUni1toN.java/buggy/trunk/castor/src/tests/ptf/jdo/rel1toN/TestLoadUni1toN.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1994, 3067, 1921, 1435, 1216, 1185, 288, 3639, 1525, 787, 273, 2332, 18, 2972, 28512, 5621, 7734, 1319, 273, 261, 4254, 2828, 13, 389, 78, 2896, 18, 588, 4254, 5621, 3639, 1319, 18, 588, 27706, 7675, 14070, 1649, 5621, 3639, 1319, 18, 10086, 5621, 7734, 1525, 2376, 273, 2332, 18, 2972, 28512, 5621, 7734, 531, 2024, 1138, 843, 273, 1319, 18, 588, 51, 2024, 1138, 12, 7734, 315, 4803, 320, 4571, 315, 397, 3488, 329, 18, 1106, 18, 17994, 1435, 397, 315, 320, 1353, 635, 320, 18, 350, 8863, 3639, 2770, 3447, 1686, 273, 843, 18, 8837, 5621, 7734, 1525, 563, 273, 2332, 18, 2972, 28512, 5621, 7734, 1208, 14916, 9592, 5621, 3639, 509, 1056, 273, 374, 31, 3639, 1323, 261, 4717, 18, 5332, 7417, 10756, 288, 5411, 7401, 7629, 12443, 8966, 13, 1686, 18, 4285, 9334, 5130, 18, 7887, 1769, 5411, 1056, 9904, 31, 3639, 289, 7734, 1525, 7401, 273, 2332, 18, 2972, 28512, 5621, 7734, 1319, 18, 7371, 5621, 7734, 1525, 3294, 273, 2332, 18, 2972, 28512, 5621, 7734, 1319, 18, 4412, 5621, 3639, 1525, 1746, 273, 2332, 18, 2972, 28512, 5621, 7734, 2018, 18, 1376, 12, 2139, 2932, 1994, 3067, 1921, 3113, 7682, 3013, 18, 2139, 12, 10086, 300, 787, 3631, 7682, 3013, 18, 2139, 12, 2088, 17, 2376, 3631, 7682, 3013, 18, 2139, 12, 18793, 300, 563, 3631, 7682, 3013, 18, 2139, 12, 7371, 300, 7401, 3631, 7682, 3013, 18, 2139, 12, 4412, 300, 3294, 3719, 1769, 565, 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, 1071, 918, 1842, 1994, 3067, 1921, 1435, 1216, 1185, 288, 3639, 1525, 787, 273, 2332, 18, 2972, 28512, 5621, 7734, 1319, 273, 261, 4254, 2828, 13, 389, 78, 2896, 18, 588, 4254, 5621, 3639, 1319, 18, 588, 27706, 7675, 14070, 1649, 5621, 3639, 1319, 18, 10086, 5621, 7734, 1525, 2376, 273, 2332, 18, 2972, 28512, 5621, 7734, 531, 2024, 1138, 843, 273, 1319, 18, 588, 51, 2024, 1138, 12, 7734, 315, 4803, 320, 4571, 315, 397, 3488, 329, 18, 1106, 18, 17994, 1435, 397, 315, 320, 1353, 635, 320, 18, 350, 8863, 3639, 2770, 3447, 1686, 273, 843, 18, 8837, 5621, 7734, 1525, 563, 273, 2332, 18, 2972, 28512, 5621, 7734, 1208, 14916, 9592, 5621, 3639, 509, 1056, 2 ]
Set<TaskCategory> readCats = manager.getTaskList().getTaskCategories();
Set<AbstractTaskContainer> readCats = manager.getTaskList().getTaskContainers();
public void testRepositoryTasksAndCategoriesMultiRead() { TaskCategory cat1 = new TaskCategory("Category 1", manager.getTaskList()); manager.getTaskList().addCategory(cat1); BugzillaTask reportInCat1 = new BugzillaTask("123", "label 123", true); manager.getTaskList().moveToCategory(cat1, reportInCat1); assertEquals(cat1, reportInCat1.getCategory()); manager.saveTaskList(); assertNotNull(manager.getTaskList()); manager.resetTaskList();// manager.getTaskList().clear();// manager.setTaskList(new TaskList()); manager.readExistingOrCreateNewList(); // read once Set<TaskCategory> readCats = manager.getTaskList().getTaskCategories(); assertTrue(manager.getTaskList().getCategories().contains(cat1)); Iterator<TaskCategory> iterator = readCats.iterator(); TaskCategory readCat1 = iterator.next(); assertEquals(cat1, readCat1); assertEquals(1, readCat1.getChildren().size()); manager.saveTaskList(); assertNotNull(manager.getTaskList()); manager.resetTaskList();// manager.getTaskList().clear();// manager.setTaskList(new TaskList()); manager.readExistingOrCreateNewList(); // read again readCats = manager.getTaskList().getTaskCategories(); assertTrue(manager.getTaskList().getCategories().contains(cat1)); iterator = readCats.iterator(); readCat1 = iterator.next(); assertEquals(cat1, readCat1); assertEquals(1, readCat1.getChildren().size()); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/d14e3655b3944fa732da6ec83d603c802b608f3d/TaskListManagerTest.java/clean/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/TaskListManagerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 3305, 6685, 1876, 10487, 5002, 1994, 1435, 288, 202, 202, 2174, 4457, 6573, 21, 273, 394, 3837, 4457, 2932, 4457, 404, 3113, 3301, 18, 588, 2174, 682, 10663, 202, 202, 4181, 18, 588, 2174, 682, 7675, 1289, 4457, 12, 2574, 21, 1769, 202, 202, 19865, 15990, 2174, 2605, 382, 11554, 21, 273, 394, 16907, 15990, 2174, 2932, 12936, 3113, 315, 1925, 17335, 3113, 638, 1769, 202, 202, 4181, 18, 588, 2174, 682, 7675, 8501, 774, 4457, 12, 2574, 21, 16, 2605, 382, 11554, 21, 1769, 202, 202, 11231, 8867, 12, 2574, 21, 16, 2605, 382, 11554, 21, 18, 588, 4457, 10663, 202, 202, 4181, 18, 5688, 2174, 682, 5621, 202, 202, 11231, 5962, 12, 4181, 18, 588, 2174, 682, 10663, 202, 202, 4181, 18, 6208, 2174, 682, 5621, 759, 202, 202, 4181, 18, 588, 2174, 682, 7675, 8507, 5621, 759, 202, 202, 4181, 18, 542, 2174, 682, 12, 2704, 3837, 682, 10663, 202, 202, 4181, 18, 896, 9895, 17717, 1908, 682, 5621, 202, 202, 759, 855, 3647, 202, 202, 694, 32, 2174, 4457, 34, 855, 39, 2323, 273, 3301, 18, 588, 2174, 682, 7675, 588, 2174, 10487, 5621, 202, 202, 11231, 5510, 12, 4181, 18, 588, 2174, 682, 7675, 588, 10487, 7675, 12298, 12, 2574, 21, 10019, 202, 202, 3198, 32, 2174, 4457, 34, 2775, 273, 855, 39, 2323, 18, 9838, 5621, 202, 202, 2174, 4457, 855, 11554, 21, 273, 2775, 18, 4285, 5621, 202, 202, 11231, 8867, 12, 2574, 21, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 3305, 6685, 1876, 10487, 5002, 1994, 1435, 288, 202, 202, 2174, 4457, 6573, 21, 273, 394, 3837, 4457, 2932, 4457, 404, 3113, 3301, 18, 588, 2174, 682, 10663, 202, 202, 4181, 18, 588, 2174, 682, 7675, 1289, 4457, 12, 2574, 21, 1769, 202, 202, 19865, 15990, 2174, 2605, 382, 11554, 21, 273, 394, 16907, 15990, 2174, 2932, 12936, 3113, 315, 1925, 17335, 3113, 638, 1769, 202, 202, 4181, 18, 588, 2174, 682, 7675, 8501, 774, 4457, 12, 2574, 21, 16, 2605, 382, 11554, 21, 1769, 202, 202, 11231, 8867, 12, 2574, 21, 16, 2605, 382, 11554, 21, 18, 588, 4457, 10663, 202, 202, 4181, 18, 5688, 2174, 682, 5621, 202, 202, 11231, 5962, 12, 2 ]
containerVersionId, publishedBy, publishedOn);
versionId, publishedBy, publishedOn);
void handleArtifactPublished(final JabberId publishedBy, final Calendar publishedOn, final UUID containerUniqueId, final Long containerVersionId, final String containerName, final UUID artifactUniqueId, final Long artifactVersionId, final String artifactName, final ArtifactType artifactType, final String artifactChecksum, final byte[] artifactBytes) { logApiId(); logVariable("publishedBy", publishedBy); logVariable("publishedOn", publishedOn); logVariable("containerUniqueId", containerUniqueId); logVariable("containerVersionId", containerVersionId); logVariable("containerName", containerName); logVariable("artifactUniqueId", artifactUniqueId); logVariable("artifactVersionId", artifactVersionId); logVariable("artifactName", artifactName); logVariable("artifactType", artifactType); logVariable("artifactChecksum", artifactChecksum); logVariable("artifactBytes", artifactBytes); try { // determine the existance of the container and the version. final InternalArtifactModel artifactModel = getInternalArtifactModel(); final Boolean doesExist = artifactModel.doesExist(containerUniqueId); final Boolean doesVersionExist; final Long containerId; final Container container; final ContainerVersion version; if (doesExist) { containerId = artifactModel.readId(containerUniqueId); container = read(containerId); doesVersionExist = artifactModel.doesVersionExist(containerId, containerVersionId); if (doesVersionExist) { version = readVersion(container.getId(), containerVersionId); } else { version = createVersion(container.getId(), containerVersionId, publishedBy, publishedOn); } } else { doesVersionExist = Boolean.FALSE; container = new Container(); container.setCreatedBy(publishedBy.getUsername()); container.setCreatedOn(publishedOn); container.setName(containerName); container.setState(ArtifactState.ACTIVE); container.setType(ArtifactType.CONTAINER); container.setUniqueId(containerUniqueId); container.setUpdatedBy(container.getCreatedBy()); container.setUpdatedOn(container.getCreatedOn()); // create containerIO.create(container); // create version version = createVersion(container.getId(), containerVersionId, publishedBy, publishedOn); // create remote info artifactModel.createRemoteInfo(container.getId(), publishedBy, container.getCreatedOn()); // index indexor.create(container.getId(), container.getName()); } // handle the artifact by specific type final ArtifactVersion artifactVersion; switch(artifactType) { case DOCUMENT: artifactVersion = handleDocumentPublished(publishedBy, publishedOn, artifactUniqueId, artifactVersionId, artifactName, artifactChecksum, artifactBytes); break; case CONTAINER: default: throw Assert.createUnreachable("UNKNOWN ARTIFACT TYPE"); } containerIO.addVersion(version.getArtifactId(), version.getVersionId(), artifactVersion.getArtifactId(), artifactVersion.getVersionId(), artifactVersion.getArtifactType()); final Container postPublish = read(container.getId()); final ContainerVersion postPublishVersion = readVersion(version.getArtifactId(), version.getVersionId()); notifyContainerPublished(postPublish, null, postPublishVersion, remoteEventGenerator); } catch(final Throwable t) { throw translateError(getApiId("[HANDLE ARTIFACT SENT]"), t); } }
53635 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53635/41eddff52230d01def2ddcb3326068e890b6efd6/ContainerModelImpl.java/clean/client-model/src/main/java/com/thinkparity/model/parity/model/container/ContainerModelImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1640, 7581, 16451, 12, 6385, 804, 378, 744, 548, 9487, 858, 16, 5411, 727, 5542, 9487, 1398, 16, 727, 5866, 1478, 24174, 16, 5411, 727, 3407, 1478, 28039, 16, 727, 514, 20408, 16, 5411, 727, 5866, 6462, 24174, 16, 727, 3407, 6462, 28039, 16, 5411, 727, 514, 6462, 461, 16, 727, 14022, 559, 6462, 559, 16, 5411, 727, 514, 6462, 10723, 16, 727, 1160, 8526, 6462, 2160, 13, 288, 3639, 613, 21592, 5621, 3639, 613, 3092, 2932, 12614, 858, 3113, 9487, 858, 1769, 3639, 613, 3092, 2932, 12614, 1398, 3113, 9487, 1398, 1769, 3639, 613, 3092, 2932, 3782, 24174, 3113, 1478, 24174, 1769, 3639, 613, 3092, 2932, 3782, 28039, 3113, 1478, 28039, 1769, 3639, 613, 3092, 2932, 3782, 461, 3113, 20408, 1769, 3639, 613, 3092, 2932, 17706, 24174, 3113, 6462, 24174, 1769, 3639, 613, 3092, 2932, 17706, 28039, 3113, 6462, 28039, 1769, 3639, 613, 3092, 2932, 17706, 461, 3113, 6462, 461, 1769, 3639, 613, 3092, 2932, 17706, 559, 3113, 6462, 559, 1769, 3639, 613, 3092, 2932, 17706, 10723, 3113, 6462, 10723, 1769, 3639, 613, 3092, 2932, 17706, 2160, 3113, 6462, 2160, 1769, 3639, 775, 288, 5411, 368, 4199, 326, 1005, 1359, 434, 326, 1478, 471, 326, 1177, 18, 5411, 727, 3186, 7581, 1488, 6462, 1488, 273, 16918, 7581, 1488, 5621, 5411, 727, 3411, 1552, 4786, 273, 6462, 1488, 18, 20657, 4786, 12, 3782, 24174, 1769, 5411, 727, 3411, 1552, 1444, 4786, 31, 5411, 727, 3407, 27142, 31, 5411, 727, 4039, 1478, 31, 5411, 727, 4039, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1640, 7581, 16451, 12, 6385, 804, 378, 744, 548, 9487, 858, 16, 5411, 727, 5542, 9487, 1398, 16, 727, 5866, 1478, 24174, 16, 5411, 727, 3407, 1478, 28039, 16, 727, 514, 20408, 16, 5411, 727, 5866, 6462, 24174, 16, 727, 3407, 6462, 28039, 16, 5411, 727, 514, 6462, 461, 16, 727, 14022, 559, 6462, 559, 16, 5411, 727, 514, 6462, 10723, 16, 727, 1160, 8526, 6462, 2160, 13, 288, 3639, 613, 21592, 5621, 3639, 613, 3092, 2932, 12614, 858, 3113, 9487, 858, 1769, 3639, 613, 3092, 2932, 12614, 1398, 3113, 9487, 1398, 1769, 3639, 613, 3092, 2932, 3782, 24174, 3113, 1478, 24174, 1769, 3639, 613, 3092, 2932, 3782, 28039, 3113, 1478, 28039, 1769, 3639, 613, 3092, 2932, 2 ]
if (number.matches(numberMatcher)) this.number = number;
if (number.matches(numberMatcher)) this.number = number;
public void setNumber(String number) { if (number.matches(numberMatcher)) this.number = number; refactorNumber(); }
7476 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7476/556f1ed7b11cc33c0b37b61e451d60131907759d/PhoneNumber.java/clean/jfritz/src/de/moonflower/jfritz/struct/PhoneNumber.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 1854, 12, 780, 1300, 13, 288, 202, 202, 430, 261, 2696, 18, 8436, 12, 2696, 6286, 3719, 333, 18, 2696, 273, 1300, 31, 202, 202, 266, 6812, 1854, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 1854, 12, 780, 1300, 13, 288, 202, 202, 430, 261, 2696, 18, 8436, 12, 2696, 6286, 3719, 333, 18, 2696, 273, 1300, 31, 202, 202, 266, 6812, 1854, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (this.serviceInfo.getFreeLoad() > 0) { this.setLoad(this.serviceInfo.getFreeLoad() - 1); if (logger.isInfoEnabled()) logger.info(this.completeUrl + " give is ProActiveRuntime");
if (logger.isInfoEnabled()) { logger.info(this.getServiceName() + " give is ProActiveRuntime"); }
public Object getProActiveRuntime() { if (this.serviceInfo.getFreeLoad() > 0) { this.setLoad(this.serviceInfo.getFreeLoad() - 1); if (logger.isInfoEnabled()) logger.info(this.completeUrl + " give is ProActiveRuntime"); return this.runtime; } else { // As it's not possible to return null when using Future we return a NullProActiveRuntime object if (logger.isInfoEnabled()) logger.info(this.completeUrl + " doesn't give is ProActiveRuntime because load is full"); return this.fakeProActiveRuntime; } }
58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/42ae6f8342b0a127515dc21e23375b932806a4a2/P2PServiceImpl.java/buggy/src/org/objectweb/proactive/p2p/core/service/P2PServiceImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 3570, 3896, 5576, 1435, 288, 3639, 309, 261, 2211, 18, 3278, 966, 18, 588, 9194, 2563, 1435, 405, 374, 13, 3639, 288, 5411, 333, 18, 542, 2563, 12, 2211, 18, 3278, 966, 18, 588, 9194, 2563, 1435, 300, 404, 1769, 13491, 309, 261, 4901, 18, 291, 966, 1526, 10756, 1171, 1194, 18, 1376, 12, 2211, 18, 6226, 1489, 397, 315, 8492, 353, 1186, 3896, 5576, 8863, 13491, 327, 333, 18, 9448, 31, 3639, 289, 3639, 469, 540, 288, 5411, 368, 2970, 518, 1807, 486, 3323, 358, 327, 446, 1347, 1450, 9108, 732, 327, 279, 4112, 626, 3896, 5576, 733, 5411, 309, 261, 4901, 18, 291, 966, 1526, 10756, 7734, 1194, 18, 1376, 12, 2211, 18, 6226, 1489, 397, 315, 3302, 1404, 8492, 353, 1186, 3896, 5576, 2724, 1262, 353, 1983, 8863, 5411, 327, 333, 18, 28395, 626, 3896, 5576, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 3570, 3896, 5576, 1435, 288, 3639, 309, 261, 2211, 18, 3278, 966, 18, 588, 9194, 2563, 1435, 405, 374, 13, 3639, 288, 5411, 333, 18, 542, 2563, 12, 2211, 18, 3278, 966, 18, 588, 9194, 2563, 1435, 300, 404, 1769, 13491, 309, 261, 4901, 18, 291, 966, 1526, 10756, 1171, 1194, 18, 1376, 12, 2211, 18, 6226, 1489, 397, 315, 8492, 353, 1186, 3896, 5576, 8863, 13491, 327, 333, 18, 9448, 31, 3639, 289, 3639, 469, 540, 288, 5411, 368, 2970, 518, 1807, 486, 3323, 358, 327, 446, 1347, 1450, 9108, 732, 327, 279, 4112, 626, 3896, 5576, 733, 5411, 309, 261, 4901, 18, 291, 966, 1526, 10756, 7734, 1194, 18, 1376, 12, 2211, 18, 6226, 2 ]
if (hasTaskInfo()) return getTaskInfo().getDisplayStringWithoutTask();
TaskInfo info = getTaskInfo(); if (info != null) return info.getDisplayStringWithoutTask();
String getCondensedDisplayString() { if (hasTaskInfo()) return getTaskInfo().getDisplayStringWithoutTask(); return getJob().getName(); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/62f626e493ebbff4af9a760b2cd50482eff1a597/JobInfo.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/JobInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 514, 336, 12441, 28003, 4236, 780, 1435, 288, 3639, 309, 261, 5332, 2174, 966, 10756, 5411, 327, 11478, 966, 7675, 588, 4236, 780, 8073, 2174, 5621, 3639, 327, 13024, 7675, 17994, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 514, 336, 12441, 28003, 4236, 780, 1435, 288, 3639, 309, 261, 5332, 2174, 966, 10756, 5411, 327, 11478, 966, 7675, 588, 4236, 780, 8073, 2174, 5621, 3639, 327, 13024, 7675, 17994, 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 ]
ImageDescriptor imageDescriptor = perspective.getImageDescriptor(); if (imageDescriptor != null) { image = imageDescriptor.createImage(); } else { image = WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_ETOOL_DEF_PERSPECTIVE) .createImage(); }
createImage();
public void fill(ToolBar parent, int index) { if (toolItem == null && parent != null && !parent.isDisposed()) { if (index >= 0) toolItem = new ToolItem(parent, SWT.CHECK, index); else toolItem = new ToolItem(parent, SWT.CHECK); if (image == null || image.isDisposed()) { ImageDescriptor imageDescriptor = perspective.getImageDescriptor(); if (imageDescriptor != null) { image = imageDescriptor.createImage(); } else { image = WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_ETOOL_DEF_PERSPECTIVE) .createImage(); } } toolItem.setImage(image); toolItem.setToolTipText(WorkbenchMessages.format( "PerspectiveBarContributionItem.toolTip", //$NON-NLS-1$ new Object[] { perspective.getLabel()})); toolItem.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent event) { select(); } }); toolItem.setData(this); //TODO review need for this update(); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/07b0705542a3d52889a392ff1532a494bdb75fdd/PerspectiveBarContributionItem.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PerspectiveBarContributionItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3636, 12, 6364, 5190, 982, 16, 509, 770, 13, 288, 3639, 309, 261, 6738, 1180, 422, 446, 597, 982, 480, 446, 597, 401, 2938, 18, 291, 1669, 7423, 10756, 288, 5411, 309, 261, 1615, 1545, 374, 13, 7734, 5226, 1180, 273, 394, 13288, 1180, 12, 2938, 16, 348, 8588, 18, 10687, 16, 770, 1769, 5411, 469, 7734, 5226, 1180, 273, 394, 13288, 1180, 12, 2938, 16, 348, 8588, 18, 10687, 1769, 5411, 309, 261, 2730, 422, 446, 747, 1316, 18, 291, 1669, 7423, 10756, 288, 202, 5411, 3421, 3187, 1316, 3187, 273, 26651, 18, 588, 2040, 3187, 5621, 202, 5411, 309, 261, 2730, 3187, 480, 446, 13, 288, 202, 2398, 202, 2730, 273, 1316, 3187, 18, 2640, 2040, 5621, 202, 5411, 289, 469, 288, 202, 2398, 202, 2730, 273, 4147, 22144, 8946, 18, 588, 2040, 3187, 12, 202, 13491, 467, 2421, 22144, 29459, 2918, 18, 3445, 43, 67, 1584, 51, 1741, 67, 12904, 67, 3194, 23810, 1268, 5354, 13, 202, 13491, 263, 2640, 2040, 5621, 202, 5411, 289, 5411, 289, 5411, 5226, 1180, 18, 542, 2040, 12, 2730, 1769, 18701, 5226, 1180, 18, 542, 29250, 1528, 12, 2421, 22144, 5058, 18, 2139, 12, 10792, 315, 14781, 16772, 5190, 442, 4027, 1180, 18, 6738, 14189, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 10792, 394, 1033, 8526, 288, 26651, 18, 588, 2224, 1435, 6792, 1769, 5411, 5226, 1180, 18, 1289, 6233, 2223, 12, 2704, 12977, 4216, 1435, 288, 7734, 1071, 918, 3604, 7416, 12, 6233, 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, 3636, 12, 6364, 5190, 982, 16, 509, 770, 13, 288, 3639, 309, 261, 6738, 1180, 422, 446, 597, 982, 480, 446, 597, 401, 2938, 18, 291, 1669, 7423, 10756, 288, 5411, 309, 261, 1615, 1545, 374, 13, 7734, 5226, 1180, 273, 394, 13288, 1180, 12, 2938, 16, 348, 8588, 18, 10687, 16, 770, 1769, 5411, 469, 7734, 5226, 1180, 273, 394, 13288, 1180, 12, 2938, 16, 348, 8588, 18, 10687, 1769, 5411, 309, 261, 2730, 422, 446, 747, 1316, 18, 291, 1669, 7423, 10756, 288, 202, 5411, 3421, 3187, 1316, 3187, 273, 26651, 18, 588, 2040, 3187, 5621, 202, 5411, 309, 261, 2730, 3187, 480, 446, 13, 288, 202, 2398, 202, 2730, 273, 1316, 3187, 18, 2 ]
ReteooWorkingMemory workingMemory) {
InternalWorkingMemory workingMemory) {
public void retractTuple(ReteTuple leftTuple, PropagationContext context, ReteooWorkingMemory workingMemory) { final BetaMemory memory = (BetaMemory) workingMemory.getNodeMemory( this ); memory.remove( workingMemory, leftTuple ); final Map matches = leftTuple.getTupleMatches(); if ( !matches.isEmpty() ) { for ( final Iterator it = matches.values().iterator(); it.hasNext(); ) { final TupleMatch tupleMatch = (TupleMatch) it.next(); propagateRetractTuple( tupleMatch, context, workingMemory ); workingMemory.getFactHandleFactory().destroyFactHandle( tupleMatch.getObjectMatches().getFactHandle() ); } } }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/f8e669f7d23ddc7d371af6f1eede91324ed01f36/FromNode.java/buggy/drools-core/src/main/java/org/drools/reteoo/FromNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 283, 1575, 9038, 12, 7055, 73, 9038, 2002, 9038, 16, 11794, 1186, 9095, 367, 1042, 819, 16, 11794, 3186, 14836, 6031, 5960, 6031, 13, 288, 3639, 727, 16393, 6031, 3778, 273, 261, 38, 1066, 6031, 13, 5960, 6031, 18, 588, 907, 6031, 12, 333, 11272, 3639, 3778, 18, 4479, 12, 5960, 6031, 16, 15604, 2002, 9038, 11272, 7734, 727, 1635, 1885, 273, 2002, 9038, 18, 588, 9038, 6869, 5621, 3639, 309, 261, 401, 8436, 18, 291, 1921, 1435, 262, 288, 5411, 364, 261, 727, 4498, 518, 273, 1885, 18, 2372, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 7734, 727, 7257, 2060, 3193, 2060, 273, 261, 9038, 2060, 13, 518, 18, 4285, 5621, 7734, 13551, 7055, 14266, 9038, 12, 3193, 2060, 16, 4766, 4202, 819, 16, 4766, 4202, 5960, 6031, 11272, 7734, 5960, 6031, 18, 588, 9766, 3259, 1733, 7675, 11662, 9766, 3259, 12, 3193, 2060, 18, 588, 921, 6869, 7675, 588, 9766, 3259, 1435, 11272, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 283, 1575, 9038, 12, 7055, 73, 9038, 2002, 9038, 16, 11794, 1186, 9095, 367, 1042, 819, 16, 11794, 3186, 14836, 6031, 5960, 6031, 13, 288, 3639, 727, 16393, 6031, 3778, 273, 261, 38, 1066, 6031, 13, 5960, 6031, 18, 588, 907, 6031, 12, 333, 11272, 3639, 3778, 18, 4479, 12, 5960, 6031, 16, 15604, 2002, 9038, 11272, 7734, 727, 1635, 1885, 273, 2002, 9038, 18, 588, 9038, 6869, 5621, 3639, 309, 261, 401, 8436, 18, 291, 1921, 1435, 262, 288, 5411, 364, 261, 727, 4498, 518, 273, 1885, 18, 2372, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 7734, 727, 7257, 2060, 3193, 2060, 273, 261, 9038, 2060, 13, 518, 18, 4285, 5621, 7734, 2 ]
reserved = 0; committed = 0;
this.pageBudget = pageBudget;
public void reset() { lock(); reserved = 0; committed = 0; unlock(); }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/ee7f4d807b4ceb99a99b97ba7fa8a9c40ac55510/MemoryResource.java/buggy/rvm/src/vm/memoryManagers/JMTk/utility/MemoryResource.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2715, 1435, 288, 565, 2176, 5621, 565, 8735, 273, 374, 31, 565, 16015, 273, 374, 31, 565, 7186, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 918, 2715, 1435, 288, 565, 2176, 5621, 565, 8735, 273, 374, 31, 565, 16015, 273, 374, 31, 565, 7186, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
key = KeyStroke.getKeyStroke(KeyEvent.VK_O, KeyEvent.CTRL_MASK); inputMap.put(key, ZOOM_OUT_ACTION);
key = KeyStroke.getKeyStroke(KeyEvent.VK_O, KeyEvent.CTRL_MASK); inputMap.put(key, ZOOM_OUT_ACTION);
protected void installKeyboardActions() { InputMap inputMap = getInputMap(JComponent.WHEN_FOCUSED); KeyStroke key; key = KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, 0); inputMap.put(key, SCROLL_RIGHT_ACTION); key = KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, 0); inputMap.put(key, SCROLL_LEFT_ACTION); key = KeyStroke.getKeyStroke(KeyEvent.VK_UP, 0); inputMap.put(key, SCROLL_UP_ACTION); key = KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, 0); inputMap.put(key, SCROLL_DOWN_ACTION); key = KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, KeyEvent.SHIFT_MASK); inputMap.put(key, FAST_SCROLL_RIGHT_ACTION); key = KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, KeyEvent.SHIFT_MASK); inputMap.put(key, FAST_SCROLL_LEFT_ACTION); key = KeyStroke.getKeyStroke(KeyEvent.VK_UP, KeyEvent.SHIFT_MASK); inputMap.put(key, FAST_SCROLL_UP_ACTION); key = KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, KeyEvent.SHIFT_MASK); inputMap.put(key, FAST_SCROLL_DOWN_ACTION); key = KeyStroke.getKeyStroke(KeyEvent.VK_I, KeyEvent.CTRL_MASK); inputMap.put(key, ZOOM_IN_ACTION); key = KeyStroke.getKeyStroke(KeyEvent.VK_O, KeyEvent.CTRL_MASK); inputMap.put(key, ZOOM_OUT_ACTION); key = KeyStroke.getKeyStroke(KeyEvent.VK_T, KeyEvent.CTRL_MASK); inputMap.put(key, RESET_TRANSFORM_ACTION); }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/38db9dfe2d4053c62ca696ac125d592a1ff62502/JSVGCanvas.java/buggy/sources/org/apache/batik/swing/JSVGCanvas.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 3799, 17872, 6100, 1435, 288, 202, 1210, 863, 810, 863, 273, 12353, 863, 12, 46, 1841, 18, 12557, 1157, 67, 3313, 39, 20093, 1769, 202, 653, 14602, 498, 31, 202, 856, 273, 1929, 14602, 18, 588, 653, 14602, 12, 653, 1133, 18, 58, 47, 67, 11847, 16, 374, 1769, 202, 2630, 863, 18, 458, 12, 856, 16, 8795, 14555, 67, 11847, 67, 12249, 1769, 202, 856, 273, 1929, 14602, 18, 588, 653, 14602, 12, 653, 1133, 18, 58, 47, 67, 10066, 16, 374, 1769, 202, 2630, 863, 18, 458, 12, 856, 16, 8795, 14555, 67, 10066, 67, 12249, 1769, 202, 856, 273, 1929, 14602, 18, 588, 653, 14602, 12, 653, 1133, 18, 58, 47, 67, 3079, 16, 374, 1769, 202, 2630, 863, 18, 458, 12, 856, 16, 8795, 14555, 67, 3079, 67, 12249, 1769, 202, 856, 273, 1929, 14602, 18, 588, 653, 14602, 12, 653, 1133, 18, 58, 47, 67, 12711, 16, 374, 1769, 202, 2630, 863, 18, 458, 12, 856, 16, 8795, 14555, 67, 12711, 67, 12249, 1769, 202, 856, 273, 1929, 14602, 18, 588, 653, 14602, 12, 653, 1133, 18, 58, 47, 67, 11847, 16, 23737, 18, 23191, 67, 11704, 1769, 202, 2630, 863, 18, 458, 12, 856, 16, 24239, 67, 2312, 14555, 67, 11847, 67, 12249, 1769, 202, 856, 273, 1929, 14602, 18, 588, 653, 14602, 12, 653, 1133, 18, 58, 47, 67, 10066, 16, 23737, 18, 23191, 67, 11704, 1769, 202, 2630, 863, 18, 458, 12, 856, 16, 24239, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 3799, 17872, 6100, 1435, 288, 202, 1210, 863, 810, 863, 273, 12353, 863, 12, 46, 1841, 18, 12557, 1157, 67, 3313, 39, 20093, 1769, 202, 653, 14602, 498, 31, 202, 856, 273, 1929, 14602, 18, 588, 653, 14602, 12, 653, 1133, 18, 58, 47, 67, 11847, 16, 374, 1769, 202, 2630, 863, 18, 458, 12, 856, 16, 8795, 14555, 67, 11847, 67, 12249, 1769, 202, 856, 273, 1929, 14602, 18, 588, 653, 14602, 12, 653, 1133, 18, 58, 47, 67, 10066, 16, 374, 1769, 202, 2630, 863, 18, 458, 12, 856, 16, 8795, 14555, 67, 10066, 67, 12249, 1769, 202, 856, 273, 1929, 14602, 18, 588, 653, 14602, 12, 653, 1133, 18, 58, 47, 67, 3079, 2 ]
throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "Valid priorities are from "+RequestStarter.MAXIMUM_PRIORITY_CLASS+" to "+RequestStarter.MINIMUM_PRIORITY_CLASS, identifier);
throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "Valid priorities are from "+RequestStarter.MAXIMUM_PRIORITY_CLASS+" to "+RequestStarter.MINIMUM_PRIORITY_CLASS, identifier, global);
public ClientPutMessage(SimpleFieldSet fs) throws MessageInvalidException { String fnam = null; identifier = fs.get("Identifier"); if(identifier == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "No Identifier", null); try { String u = fs.get("URI"); if(u == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "No URI", identifier); FreenetURI uu = new FreenetURI(fs.get("URI")); String[] metas = uu.getAllMetaStrings(); if(metas != null && metas.length == 1) { fnam = metas[0]; uu = uu.setMetaString(null); } // if >1, will fail later uri = uu; } catch (MalformedURLException e) { throw new MessageInvalidException(ProtocolErrorMessage.URI_PARSE_ERROR, e.getMessage(), identifier); } global = Fields.stringToBool(fs.get("Global"), false); String verbosityString = fs.get("Verbosity"); if(verbosityString == null) verbosity = 0; else { try { verbosity = Integer.parseInt(verbosityString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing Verbosity field: "+e.getMessage(), identifier); } } contentType = fs.get("Metadata.ContentType"); String maxRetriesString = fs.get("MaxRetries"); if(maxRetriesString == null) // default to 0 maxRetries = 0; else { try { maxRetries = Integer.parseInt(maxRetriesString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing MaxSize field: "+e.getMessage(), identifier); } } getCHKOnly = Fields.stringToBool(fs.get("GetCHKOnly"), false); String priorityString = fs.get("PriorityClass"); if(priorityString == null) { // defaults to the one just below FProxy priorityClass = RequestStarter.IMMEDIATE_SPLITFILE_PRIORITY_CLASS; } else { try { priorityClass = Short.parseShort(priorityString, 10); if((priorityClass < RequestStarter.MAXIMUM_PRIORITY_CLASS) || (priorityClass > RequestStarter.MINIMUM_PRIORITY_CLASS)) throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "Valid priorities are from "+RequestStarter.MAXIMUM_PRIORITY_CLASS+" to "+RequestStarter.MINIMUM_PRIORITY_CLASS, identifier); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing PriorityClass field: "+e.getMessage(), identifier); } } String uploadFrom = fs.get("UploadFrom"); if((uploadFrom == null) || uploadFrom.equalsIgnoreCase("direct")) { uploadFromType = UPLOAD_FROM_DIRECT; String dataLengthString = fs.get("DataLength"); if(dataLengthString == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "Need DataLength on a ClientPut", identifier); try { dataLength = Long.parseLong(dataLengthString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing DataLength field: "+e.getMessage(), identifier); } this.origFilename = null; redirectTarget = null; } else if(uploadFrom.equalsIgnoreCase("disk")) { uploadFromType = UPLOAD_FROM_DISK; String filename = fs.get("Filename"); if(filename == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "Missing field Filename", identifier); File f = new File(filename); if(!(f.exists() && f.isFile() && f.canRead())) throw new MessageInvalidException(ProtocolErrorMessage.FILE_NOT_FOUND, null, identifier); dataLength = f.length(); FileBucket fileBucket = new FileBucket(f, true, false, false, false); this.bucket = fileBucket; this.origFilename = f; redirectTarget = null; if(fnam == null) fnam = origFilename.getName(); } else if(uploadFrom.equalsIgnoreCase("redirect")) { uploadFromType = UPLOAD_FROM_REDIRECT; String target = fs.get("TargetURI"); if(target == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "TargetURI missing but UploadFrom=redirect", identifier); try { redirectTarget = new FreenetURI(target); } catch (MalformedURLException e) { throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "Invalid TargetURI: "+e, identifier); } dataLength = 0; origFilename = null; bucket = null; } else throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "UploadFrom invalid or unrecognized: "+uploadFrom, identifier); dontCompress = Fields.stringToBool(fs.get("DontCompress"), false); String persistenceString = fs.get("Persistence"); if((persistenceString == null) || persistenceString.equalsIgnoreCase("connection")) { // Default: persists until connection loss. persistenceType = ClientRequest.PERSIST_CONNECTION; } else if(persistenceString.equalsIgnoreCase("reboot")) { // Reports to client by name; persists over connection loss. // Not saved to disk, so dies on reboot. persistenceType = ClientRequest.PERSIST_REBOOT; } else if(persistenceString.equalsIgnoreCase("forever")) { // Same as reboot but saved to disk, persists forever. persistenceType = ClientRequest.PERSIST_FOREVER; } else { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing Persistence field: "+persistenceString, identifier); } clientToken = fs.get("ClientToken"); String f = fs.get("TargetFilename"); if(f != null) fnam = f; if(fnam != null && fnam.indexOf('/') > -1) { throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "TargetFilename must not contain slashes", identifier); } if(fnam != null && fnam.length() == 0) { fnam = null; // Deliberate override to tell us not to create one. } if(uri.getKeyType().equals("CHK")) targetFilename = fnam; else targetFilename = null; earlyEncode = Fields.stringToBool(fs.get("EarlyEncode"), false); }
48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/bbb3c23ec38ea1c7abb48040a17f5fc7932248bc/ClientPutMessage.java/buggy/src/freenet/node/fcp/ClientPutMessage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2445, 6426, 1079, 12, 5784, 974, 694, 2662, 13, 1216, 2350, 1941, 503, 288, 202, 202, 780, 2295, 301, 273, 446, 31, 202, 202, 5644, 273, 2662, 18, 588, 2932, 3004, 8863, 202, 202, 430, 12, 5644, 422, 446, 13, 1082, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 19466, 67, 6776, 16, 315, 2279, 10333, 3113, 446, 1769, 202, 202, 698, 288, 1082, 202, 780, 582, 273, 2662, 18, 588, 2932, 3098, 8863, 1082, 202, 430, 12, 89, 422, 446, 13, 9506, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 19466, 67, 6776, 16, 315, 2279, 3699, 3113, 2756, 1769, 1082, 202, 42, 2842, 278, 3098, 582, 89, 273, 394, 478, 2842, 278, 3098, 12, 2556, 18, 588, 2932, 3098, 7923, 1769, 1082, 202, 780, 8526, 21232, 273, 582, 89, 18, 588, 1595, 2781, 7957, 5621, 1082, 202, 430, 12, 10578, 345, 480, 446, 597, 21232, 18, 2469, 422, 404, 13, 288, 9506, 202, 4293, 301, 273, 21232, 63, 20, 15533, 9506, 202, 24286, 273, 582, 89, 18, 542, 2781, 780, 12, 2011, 1769, 1082, 202, 97, 368, 309, 405, 21, 16, 903, 2321, 5137, 1082, 202, 1650, 273, 582, 89, 31, 202, 202, 97, 1044, 261, 18695, 20160, 425, 13, 288, 1082, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 3098, 67, 21045, 67, 3589, 16, 425, 18, 24906, 9334, 2756, 1769, 202, 202, 97, 202, 202, 6347, 273, 7190, 18, 1080, 774, 7464, 12, 2556, 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, 2445, 6426, 1079, 12, 5784, 974, 694, 2662, 13, 1216, 2350, 1941, 503, 288, 202, 202, 780, 2295, 301, 273, 446, 31, 202, 202, 5644, 273, 2662, 18, 588, 2932, 3004, 8863, 202, 202, 430, 12, 5644, 422, 446, 13, 1082, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 19466, 67, 6776, 16, 315, 2279, 10333, 3113, 446, 1769, 202, 202, 698, 288, 1082, 202, 780, 582, 273, 2662, 18, 588, 2932, 3098, 8863, 1082, 202, 430, 12, 89, 422, 446, 13, 9506, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 19466, 67, 6776, 16, 315, 2279, 3699, 3113, 2756, 1769, 1082, 202, 42, 2842, 278, 3098, 582, 89, 273, 394, 478, 2 ]
} else if (evt.getPropertyName() .equals(ProjectManager.SAVE_STATE_PROPERTY_NAME)) { updateTitle();
public void propertyChange(PropertyChangeEvent evt) { // the project changed if (evt.getPropertyName() .equals(ProjectManager.CURRENT_PROJECT_PROPERTY_NAME)) { Project p = (Project) evt.getNewValue(); if (p != null) { buildTitle(p.getName()); //Designer.TheDesigner.getToDoList().removeAllElements(); Designer.setCritiquingRoot(p); // update all panes TargetManager.getInstance().setTarget(p.getInitialTarget()); } } else if (evt.getPropertyName() .equals(ProjectManager.SAVE_STATE_PROPERTY_NAME)) { // the save state changed // TODO: remove after 0.20. We don't need to listen for this // but now is not a good time to change. updateTitle(); } }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/38c940397a741f46590371c7b449295d1a7a58ff/ProjectBrowser.java/clean/src_new/org/argouml/ui/ProjectBrowser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1272, 3043, 12, 1396, 20930, 6324, 13, 288, 3639, 368, 326, 1984, 3550, 3639, 309, 261, 73, 11734, 18, 588, 13073, 1435, 5411, 263, 14963, 12, 4109, 1318, 18, 15487, 67, 17147, 67, 9900, 67, 1985, 3719, 288, 5411, 5420, 293, 273, 261, 4109, 13, 6324, 18, 588, 1908, 620, 5621, 5411, 309, 261, 84, 480, 446, 13, 288, 7734, 1361, 4247, 12, 84, 18, 17994, 10663, 7734, 368, 15478, 264, 18, 1986, 15478, 264, 18, 588, 774, 3244, 682, 7675, 4479, 1595, 3471, 5621, 7734, 29703, 264, 18, 542, 39, 583, 18988, 310, 2375, 12, 84, 1769, 7734, 368, 1089, 777, 2800, 281, 7734, 5916, 1318, 18, 588, 1442, 7675, 542, 2326, 12, 84, 18, 588, 4435, 2326, 10663, 5411, 289, 3639, 289, 469, 309, 261, 73, 11734, 18, 588, 13073, 1435, 5411, 263, 14963, 12, 4109, 1318, 18, 25242, 67, 7998, 67, 9900, 67, 1985, 3719, 288, 5411, 368, 326, 1923, 919, 3550, 5411, 368, 2660, 30, 1206, 1839, 374, 18, 3462, 18, 1660, 2727, 1404, 1608, 358, 6514, 364, 333, 5411, 368, 1496, 2037, 353, 486, 279, 7494, 813, 358, 2549, 18, 5411, 1089, 4247, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1272, 3043, 12, 1396, 20930, 6324, 13, 288, 3639, 368, 326, 1984, 3550, 3639, 309, 261, 73, 11734, 18, 588, 13073, 1435, 5411, 263, 14963, 12, 4109, 1318, 18, 15487, 67, 17147, 67, 9900, 67, 1985, 3719, 288, 5411, 5420, 293, 273, 261, 4109, 13, 6324, 18, 588, 1908, 620, 5621, 5411, 309, 261, 84, 480, 446, 13, 288, 7734, 1361, 4247, 12, 84, 18, 17994, 10663, 7734, 368, 15478, 264, 18, 1986, 15478, 264, 18, 588, 774, 3244, 682, 7675, 4479, 1595, 3471, 5621, 7734, 29703, 264, 18, 542, 39, 583, 18988, 310, 2375, 12, 84, 1769, 7734, 368, 1089, 777, 2800, 281, 7734, 5916, 1318, 18, 588, 1442, 7675, 542, 2326, 12, 84, 18, 2 ]
public void keepStatusOnAction() { this.keepStatus = true; }
52001 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52001/28c8fcc21bada2ccb6df17d99a75dae320cb8831/SelectionBox.java/buggy/src/java/com/idega/presentation/ui/SelectionBox.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6459, 10102, 1482, 1398, 1803, 1435, 95, 202, 202, 2211, 18, 10102, 1482, 33, 3767, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6459, 10102, 1482, 1398, 1803, 1435, 95, 202, 202, 2211, 18, 10102, 1482, 33, 3767, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
g = new SimpleGraph<String, Edge<String>>();
g = new SimpleGraph<String, DefaultEdge>( DefaultEdge.class);
private Graph<String, Edge<String>> init(boolean listenable) { Graph<String,Edge<String>> g; if (listenable) { g = new ListenableUndirectedGraph<String, Edge<String>>(); } else { g = new SimpleGraph<String, Edge<String>>(); } g.addVertex(_v1); g.addVertex(_v2); g.addVertex(_v3); g.addVertex(_v4); g.addEdge(_v1, _v2); g.addEdge(_v2, _v3); g.addEdge(_v3, _v1); g.addEdge(_v1, _v4); return g; }
47032 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47032/c3e5aa9fad3b9e0927939b2a916ae5049377758b/SubgraphTest.java/buggy/testsrc/org/jgrapht/graph/SubgraphTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 5601, 32, 780, 16, 11342, 32, 780, 9778, 1208, 12, 6494, 6514, 429, 13, 565, 288, 3639, 5601, 32, 780, 16, 6098, 32, 780, 9778, 314, 31, 3639, 309, 261, 1098, 7589, 13, 288, 5411, 314, 273, 394, 987, 7589, 984, 26830, 4137, 32, 780, 16, 11342, 32, 780, 9778, 5621, 3639, 289, 469, 288, 5411, 314, 273, 394, 4477, 4137, 32, 780, 16, 2989, 6098, 34, 12, 2989, 6098, 18, 1106, 1769, 3639, 289, 3639, 314, 18, 1289, 6475, 24899, 90, 21, 1769, 3639, 314, 18, 1289, 6475, 24899, 90, 22, 1769, 3639, 314, 18, 1289, 6475, 24899, 90, 23, 1769, 3639, 314, 18, 1289, 6475, 24899, 90, 24, 1769, 3639, 314, 18, 1289, 6098, 24899, 90, 21, 16, 389, 90, 22, 1769, 3639, 314, 18, 1289, 6098, 24899, 90, 22, 16, 389, 90, 23, 1769, 3639, 314, 18, 1289, 6098, 24899, 90, 23, 16, 389, 90, 21, 1769, 3639, 314, 18, 1289, 6098, 24899, 90, 21, 16, 389, 90, 24, 1769, 3639, 327, 314, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 5601, 32, 780, 16, 11342, 32, 780, 9778, 1208, 12, 6494, 6514, 429, 13, 565, 288, 3639, 5601, 32, 780, 16, 6098, 32, 780, 9778, 314, 31, 3639, 309, 261, 1098, 7589, 13, 288, 5411, 314, 273, 394, 987, 7589, 984, 26830, 4137, 32, 780, 16, 11342, 32, 780, 9778, 5621, 3639, 289, 469, 288, 5411, 314, 273, 394, 4477, 4137, 32, 780, 16, 2989, 6098, 34, 12, 2989, 6098, 18, 1106, 1769, 3639, 289, 3639, 314, 18, 1289, 6475, 24899, 90, 21, 1769, 3639, 314, 18, 1289, 6475, 24899, 90, 22, 1769, 3639, 314, 18, 1289, 6475, 24899, 90, 23, 1769, 3639, 314, 18, 1289, 6475, 24899, 90, 24, 1769, 3639, 314, 18, 1289, 6098, 24899, 2 ]
boolean needChange = true; String lastChangeNode = "";
public void moveAgents(Map layout) { String communityName = model.getCommunityName(); Map oldnodes = new HashMap(); //save all nodes and the number of agents in each current node Map newnodes = new HashMap(); //save all nodes and the number of agents in each node after balancing Map temp = new HashMap(); synchronized (layout) { temp.putAll(layout); } //remove all agents who don't need move. for (Iterator it = temp.entrySet().iterator(); it.hasNext(); ) { Map.Entry me = (Map.Entry) it.next(); String agent = (String) me.getKey(); String newNode = (String) me.getValue(); increaseCounts(newnodes, newNode); String currentNode = model.getLocation(agent); if (currentNode != null) { increaseCounts(oldnodes, currentNode); if (newNode.equals(currentNode)) { it.remove(); } } else { it.remove(); } }//logger.info("oldnodes: " + oldnodes);//logger.info("newnodes: " + newnodes);//logger.info("temp: " + temp); /** * This loop does the following jobs to keep node balancing during agents moving: * 1. Find the node who has the most number of agents need to be moved out. * 2. Move five agents from the node to destinations. * 3. Repeat step1 to step2 until all agents get destinations. */ while (!temp.isEmpty()) { String node = getBiggestDifference(oldnodes, newnodes); int count = 0; for (Iterator it = temp.keySet().iterator(); it.hasNext(); ) { if (count == 5) { break; } String agent = (String) it.next(); String newNode = (String) temp.get(agent); String currentNode = model.getLocation(agent); if ( (currentNode.equals(node) && ! (newNode.equals(currentNode))) || node.equals("")) { logger.debug("move agent " + agent + " from " + currentNode + " to " + newNode + " in comm " + communityName); moveHelper.moveAgent(agent, currentNode, newNode, communityName); count++; int num = ( (Integer) oldnodes.get(currentNode)).intValue(); oldnodes.put(currentNode, new Integer(num - 1)); if (oldnodes.containsKey(newNode)) { num = ( (Integer) oldnodes.get(newNode)).intValue(); oldnodes.put(newNode, new Integer(num + 1)); } else { oldnodes.put(newNode, new Integer(1)); } it.remove(); } }//logger.info("after move: oldnodes=" + oldnodes + ", newnodes=" + newnodes); } logger.debug("LoadBalance finished."); }
11869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11869/f8d09a4c7d655cb8c40f2915f4b70de64c15c684/LoadBalancer.java/clean/mgmt_agent/src/org/cougaar/tools/robustness/ma/util/LoadBalancer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3635, 23400, 12, 863, 3511, 13, 288, 6494, 1608, 3043, 273, 638, 31, 514, 1142, 3043, 907, 273, 1408, 31, 514, 19833, 461, 273, 938, 18, 588, 12136, 13352, 461, 5621, 6494, 1608, 3043, 273, 638, 31, 514, 1142, 3043, 907, 273, 1408, 31, 1635, 1592, 4690, 273, 394, 4317, 5621, 368, 5688, 777, 2199, 471, 326, 1300, 434, 16423, 316, 1517, 783, 756, 6494, 1608, 3043, 273, 638, 31, 514, 1142, 3043, 907, 273, 1408, 31, 1635, 394, 4690, 273, 394, 4317, 5621, 368, 5688, 777, 2199, 471, 326, 1300, 434, 16423, 316, 1517, 756, 1839, 324, 16142, 6494, 1608, 3043, 273, 638, 31, 514, 1142, 3043, 907, 273, 1408, 31, 1635, 1906, 273, 394, 4317, 5621, 6494, 1608, 3043, 273, 638, 31, 514, 1142, 3043, 907, 273, 1408, 31, 3852, 261, 6741, 13, 288, 6494, 1608, 3043, 273, 638, 31, 514, 1142, 3043, 907, 273, 1408, 31, 282, 1906, 18, 458, 1595, 12, 6741, 1769, 6494, 1608, 3043, 273, 638, 31, 514, 1142, 3043, 907, 273, 1408, 31, 289, 6494, 1608, 3043, 273, 638, 31, 514, 1142, 3043, 907, 273, 1408, 31, 368, 4479, 777, 16423, 10354, 2727, 1404, 1608, 3635, 18, 6494, 1608, 3043, 273, 638, 31, 514, 1142, 3043, 907, 273, 1408, 31, 364, 261, 3198, 518, 273, 1906, 18, 4099, 694, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 6494, 1608, 3043, 273, 638, 31, 514, 1142, 3043, 907, 273, 1408, 31, 282, 1635, 18, 1622, 1791, 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, 3635, 23400, 12, 863, 3511, 13, 288, 6494, 1608, 3043, 273, 638, 31, 514, 1142, 3043, 907, 273, 1408, 31, 514, 19833, 461, 273, 938, 18, 588, 12136, 13352, 461, 5621, 6494, 1608, 3043, 273, 638, 31, 514, 1142, 3043, 907, 273, 1408, 31, 1635, 1592, 4690, 273, 394, 4317, 5621, 368, 5688, 777, 2199, 471, 326, 1300, 434, 16423, 316, 1517, 783, 756, 6494, 1608, 3043, 273, 638, 31, 514, 1142, 3043, 907, 273, 1408, 31, 1635, 394, 4690, 273, 394, 4317, 5621, 368, 5688, 777, 2199, 471, 326, 1300, 434, 16423, 316, 1517, 756, 1839, 324, 16142, 6494, 1608, 3043, 273, 638, 31, 514, 1142, 3043, 907, 273, 1408, 31, 1635, 1906, 273, 394, 2 ]
mods = execHistoryCommand( buildHistoryCommand(lastBuild, now).getCommandline());
mods = execHistoryCommand(buildHistoryCommand(lastBuild, now));
public ArrayList getHistory(Date lastBuild, Date now, long quietPeriod) { setLastModified(lastBuild); ArrayList mods = null; try { mods = execHistoryCommand( buildHistoryCommand(lastBuild, now).getCommandline()); } catch (Exception e) { log("Log command failed to execute succesfully"); e.printStackTrace(); } if (mods == null) { return new ArrayList(); } return mods; }
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/9d9d4aea8f6689ed05c43f0a68fca890e9437ea0/CVSElement.java/buggy/main/src/net/sourceforge/cruisecontrol/CVSElement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2407, 336, 5623, 12, 1626, 1142, 3116, 16, 2167, 2037, 16, 1525, 10902, 5027, 13, 288, 3639, 444, 14747, 12, 2722, 3116, 1769, 3639, 2407, 15546, 273, 446, 31, 3639, 775, 288, 5411, 15546, 273, 1196, 5623, 2189, 12, 2398, 1361, 5623, 2189, 12, 2722, 3116, 16, 2037, 2934, 588, 2189, 1369, 10663, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 613, 2932, 1343, 1296, 2535, 358, 1836, 8667, 764, 4095, 8863, 5411, 425, 18, 1188, 6332, 5621, 3639, 289, 7734, 309, 261, 22760, 422, 446, 13, 288, 5411, 327, 394, 2407, 5621, 3639, 289, 3639, 327, 15546, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2407, 336, 5623, 12, 1626, 1142, 3116, 16, 2167, 2037, 16, 1525, 10902, 5027, 13, 288, 3639, 444, 14747, 12, 2722, 3116, 1769, 3639, 2407, 15546, 273, 446, 31, 3639, 775, 288, 5411, 15546, 273, 1196, 5623, 2189, 12, 2398, 1361, 5623, 2189, 12, 2722, 3116, 16, 2037, 2934, 588, 2189, 1369, 10663, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 613, 2932, 1343, 1296, 2535, 358, 1836, 8667, 764, 4095, 8863, 5411, 425, 18, 1188, 6332, 5621, 3639, 289, 7734, 309, 261, 22760, 422, 446, 13, 288, 5411, 327, 394, 2407, 5621, 3639, 289, 3639, 327, 15546, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (bigram == null) { System.out.println("did not find bigram in bigramBuffer: " + numberBigramBuffer); } } else { System.out.println("unigram has no bigram");
private BigramProbability findBigram(int firstWordID, int secondWordID) { BigramProbability bigram = null; int numberBigramBuffer = unigrams[firstWordID+1].getFirstBigramEntry() - unigrams[firstWordID].getFirstBigramEntry(); if (numberBigramBuffer > 0) { // load all the bigram followers of firstWord // and then find the bigram with the secondWord BigramBuffer followers = (BigramBuffer) loadedBigramBuffer.get(new Integer(firstWordID)); if (followers == null) { followers = loadBigramBuffer(firstWordID, numberBigramBuffer); loadedBigramBuffer.put(new Integer(firstWordID), followers); } bigram = followers.findBigram(secondWordID); if (bigram == null) { System.out.println("did not find bigram in bigramBuffer: " + numberBigramBuffer); } } else { System.out.println("unigram has no bigram"); } return bigram; }
7874 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7874/f5f898e380370e6e4f4fc7ed553e555c3e21f385/LargeTrigramModel.java/clean/edu/cmu/sphinx/knowledge/language/large/LargeTrigramModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 4454, 1940, 25598, 1104, 9901, 1940, 12, 474, 1122, 3944, 734, 16, 509, 2205, 3944, 734, 13, 288, 3639, 4454, 1940, 25598, 5446, 1940, 273, 446, 31, 7734, 509, 1300, 9901, 1940, 1892, 273, 2398, 640, 360, 31454, 63, 3645, 3944, 734, 15, 21, 8009, 588, 3759, 9901, 1940, 1622, 1435, 300, 5411, 640, 360, 31454, 63, 3645, 3944, 734, 8009, 588, 3759, 9901, 1940, 1622, 5621, 7734, 309, 261, 2696, 9901, 1940, 1892, 405, 374, 13, 288, 5411, 368, 1262, 777, 326, 5446, 1940, 2805, 414, 434, 1122, 3944, 5411, 368, 471, 1508, 1104, 326, 5446, 1940, 598, 326, 2205, 3944, 5411, 4454, 1940, 1892, 2805, 414, 273, 261, 9901, 1940, 1892, 13, 3196, 202, 4230, 9901, 1940, 1892, 18, 588, 12, 2704, 2144, 12, 3645, 3944, 734, 10019, 202, 565, 309, 261, 14641, 414, 422, 446, 13, 288, 7734, 2805, 414, 273, 1262, 9901, 1940, 1892, 12, 3645, 3944, 734, 16, 1300, 9901, 1940, 1892, 1769, 202, 202, 4230, 9901, 1940, 1892, 18, 458, 12, 2704, 2144, 12, 3645, 3944, 734, 3631, 2805, 414, 1769, 202, 565, 289, 5411, 5446, 1940, 273, 2805, 414, 18, 4720, 9901, 1940, 12, 8538, 3944, 734, 1769, 5411, 309, 261, 14002, 1940, 422, 446, 13, 288, 7734, 2332, 18, 659, 18, 8222, 2932, 14044, 486, 1104, 5446, 1940, 316, 5446, 1940, 1892, 30, 315, 397, 4766, 282, 1300, 9901, 1940, 1892, 1769, 5411, 289, 3639, 289, 469, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 318, 360, 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, 4454, 1940, 25598, 1104, 9901, 1940, 12, 474, 1122, 3944, 734, 16, 509, 2205, 3944, 734, 13, 288, 3639, 4454, 1940, 25598, 5446, 1940, 273, 446, 31, 7734, 509, 1300, 9901, 1940, 1892, 273, 2398, 640, 360, 31454, 63, 3645, 3944, 734, 15, 21, 8009, 588, 3759, 9901, 1940, 1622, 1435, 300, 5411, 640, 360, 31454, 63, 3645, 3944, 734, 8009, 588, 3759, 9901, 1940, 1622, 5621, 7734, 309, 261, 2696, 9901, 1940, 1892, 405, 374, 13, 288, 5411, 368, 1262, 777, 326, 5446, 1940, 2805, 414, 434, 1122, 3944, 5411, 368, 471, 1508, 1104, 326, 5446, 1940, 598, 326, 2205, 3944, 5411, 4454, 1940, 1892, 2805, 414, 273, 261, 9901, 1940, 1892, 13, 3196, 202, 4230, 2 ]
final String htmlContent = "<html><head><title>foo</title></head><body>" + "</body></html>";
final String htmlContent = "<html><head><title>foo</title></head><body></body></html>";
public void testLoadFilePage() throws Exception { // create a real file to read // it could be usefull to have existing files to test in a special location in filesystem. // It will be really needed when we have to test binary files using the file protocol. final String htmlContent = "<html><head><title>foo</title></head><body>" + "</body></html>"; File tmpFile = File.createTempFile("test", ".html"); tmpFile.deleteOnExit(); final String encoding = (new OutputStreamWriter(new ByteArrayOutputStream())).getEncoding(); FileUtils.writeStringToFile(tmpFile, htmlContent, encoding); URL fileURL = new URL("file://" + tmpFile.getCanonicalPath()); final WebClient client = new WebClient(); final HtmlPage page = (HtmlPage) client.getPage(fileURL); assertEquals( htmlContent, page.getWebResponse().getContentAsString() ); assertEquals( "text/html", page.getWebResponse().getContentType() ); assertEquals( 200, page.getWebResponse().getStatusCode() ); assertEquals( "foo", page.getTitleText() ); }
47843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47843/886e944f52ced96bba3eeca24e83a8f2d4c622fa/WebClientTest.java/clean/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/WebClientTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2563, 812, 1964, 1435, 1216, 1185, 288, 377, 202, 759, 752, 279, 2863, 585, 358, 855, 1377, 202, 759, 518, 3377, 506, 999, 2854, 358, 1240, 2062, 1390, 358, 1842, 316, 279, 4582, 2117, 316, 6496, 18, 1377, 202, 759, 2597, 903, 506, 8654, 3577, 1347, 732, 1240, 358, 1842, 3112, 1390, 1450, 326, 585, 1771, 18, 3639, 727, 514, 1729, 1350, 1171, 273, 3532, 2620, 4438, 1978, 4438, 2649, 34, 11351, 1757, 2649, 4695, 1978, 4438, 3432, 2984, 1171, 397, 6823, 3432, 4695, 2620, 2984, 31, 3639, 1387, 18504, 273, 1387, 18, 2640, 20181, 2932, 3813, 3113, 3552, 2620, 8863, 3639, 18504, 18, 3733, 1398, 6767, 5621, 377, 202, 6385, 514, 2688, 273, 261, 2704, 24248, 12, 2704, 11559, 10756, 2934, 588, 4705, 5621, 377, 202, 812, 1989, 18, 2626, 780, 15450, 12, 5645, 812, 16, 1729, 1350, 16, 2688, 1769, 377, 202, 377, 202, 1785, 585, 1785, 273, 394, 1976, 2932, 768, 14334, 397, 18504, 18, 588, 15512, 743, 10663, 7734, 727, 2999, 1227, 1004, 273, 394, 2999, 1227, 5621, 3639, 727, 5430, 1964, 1363, 273, 261, 4353, 1964, 13, 1004, 18, 588, 1964, 12, 768, 1785, 1769, 3639, 1815, 8867, 12, 5411, 1729, 1350, 16, 5411, 1363, 18, 588, 4079, 1064, 7675, 588, 1350, 8092, 1435, 11272, 3639, 1815, 8867, 12, 7734, 315, 955, 19, 2620, 3113, 202, 5411, 1363, 18, 588, 4079, 1064, 7675, 588, 8046, 1435, 11272, 3639, 1815, 8867, 12, 7734, 4044, 16, 202, 5411, 1363, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2563, 812, 1964, 1435, 1216, 1185, 288, 377, 202, 759, 752, 279, 2863, 585, 358, 855, 1377, 202, 759, 518, 3377, 506, 999, 2854, 358, 1240, 2062, 1390, 358, 1842, 316, 279, 4582, 2117, 316, 6496, 18, 1377, 202, 759, 2597, 903, 506, 8654, 3577, 1347, 732, 1240, 358, 1842, 3112, 1390, 1450, 326, 585, 1771, 18, 3639, 727, 514, 1729, 1350, 1171, 273, 3532, 2620, 4438, 1978, 4438, 2649, 34, 11351, 1757, 2649, 4695, 1978, 4438, 3432, 2984, 1171, 397, 6823, 3432, 4695, 2620, 2984, 31, 3639, 1387, 18504, 273, 1387, 18, 2640, 20181, 2932, 3813, 3113, 3552, 2620, 8863, 3639, 18504, 18, 3733, 1398, 6767, 5621, 377, 202, 6385, 514, 2688, 273, 261, 2 ]
public void ruleAction(int ruleNumber) { if (bad_rule != 0) return; switch (ruleNumber) { // // Rule 1: identifier ::= IDENTIFIER // case 1: { if (prsStream.getKind(btParser.getToken(1)) != X10Parsersym.TK_IDENTIFIER && (Report.should_report("parser", 2))) { Report.report(2,"Parser turning keyword " + prsStream.getName(btParser.getToken(1)) + " at " + prsStream.getLine(btParser.getToken(1)) + ":" + prsStream.getColumn(btParser.getToken(1)) + " into an identifier"); } break; } // // Rule 2: PrimitiveType ::= NumericType // case 2: break; // // Rule 3: PrimitiveType ::= boolean // case 3: { btParser.setSym1(nf.CanonicalTypeNode(pos(), ts.Boolean())); break; } // // Rule 4: NumericType ::= IntegralType // case 4: break; // // Rule 5: NumericType ::= FloatingPointType // case 5: break; // // Rule 6: IntegralType ::= byte // case 6: { btParser.setSym1(nf.CanonicalTypeNode(pos(), ts.Byte())); break; } // // Rule 7: IntegralType ::= char // case 7: { btParser.setSym1(nf.CanonicalTypeNode(pos(), ts.Char())); break; } // // Rule 8: IntegralType ::= short // case 8: { btParser.setSym1(nf.CanonicalTypeNode(pos(), ts.Short())); break; } // // Rule 9: IntegralType ::= int // case 9: { btParser.setSym1(nf.CanonicalTypeNode(pos(), ts.Int())); break; } // // Rule 10: IntegralType ::= long // case 10: { btParser.setSym1(nf.CanonicalTypeNode(pos(), ts.Long())); break; } // // Rule 11: FloatingPointType ::= float // case 11: { btParser.setSym1(nf.CanonicalTypeNode(pos(), ts.Float())); break; } // // Rule 12: FloatingPointType ::= double // case 12: { btParser.setSym1(nf.CanonicalTypeNode(pos(), ts.Double())); break; } // // Rule 13: ReferenceType ::= ClassOrInterfaceType // case 13: break; // // Rule 14: ReferenceType ::= ArrayType // case 14: break; // // Rule 15: ClassType ::= TypeName // case 15: {//vj assert(btParser.getSym(2) == null); // generic not yet supported Name a = (Name) btParser.getSym(1); btParser.setSym1(a.toType()); break; } // // Rule 16: InterfaceType ::= TypeName // case 16: {//vj assert(btParser.getSym(2) == null); // generic not yet supported Name a = (Name) btParser.getSym(1); btParser.setSym1(a.toType()); break; } // // Rule 17: TypeName ::= identifier // case 17: { polyglot.lex.Identifier a = id(btParser.getToken(1)); btParser.setSym1(new Name(nf, ts, pos(), a.getIdentifier())); break; } // // Rule 18: TypeName ::= TypeName . identifier // case 18: { Name a = (Name) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(3)); btParser.setSym1(new Name(nf, ts, pos(btParser.getFirstToken(), btParser.getLastToken()), a, b.getIdentifier())); break; } // // Rule 19: ClassName ::= TypeName // case 19: break; // // Rule 20: TypeVariable ::= identifier // case 20: break; // // Rule 21: ArrayType ::= Type [ ] // case 21: { TypeNode a = (TypeNode) btParser.getSym(1); btParser.setSym1(nf.array(a, pos(), 1)); break; } // // Rule 22: TypeParameter ::= TypeVariable TypeBoundopt // case 22: bad_rule = 22; break; // // Rule 23: TypeBound ::= extends ClassOrInterfaceType AdditionalBoundListopt // case 23: bad_rule = 23; break; // // Rule 24: AdditionalBoundList ::= AdditionalBound // case 24: bad_rule = 24; break; // // Rule 25: AdditionalBoundList ::= AdditionalBoundList AdditionalBound // case 25: bad_rule = 25; break; // // Rule 26: AdditionalBound ::= & InterfaceType // case 26: bad_rule = 26; break; // // Rule 27: TypeArguments ::= < ActualTypeArgumentList > // case 27: bad_rule = 27; break; // // Rule 28: ActualTypeArgumentList ::= ActualTypeArgument // case 28: bad_rule = 28; break; // // Rule 29: ActualTypeArgumentList ::= ActualTypeArgumentList , ActualTypeArgument // case 29: bad_rule = 29; break; // // Rule 30: Wildcard ::= ? WildcardBoundsOpt // case 30: bad_rule = 30; break; // // Rule 31: WildcardBounds ::= extends ReferenceType // case 31: bad_rule = 31; break; // // Rule 32: WildcardBounds ::= super ReferenceType // case 32: bad_rule = 32; break; // // Rule 33: PackageName ::= identifier // case 33: { polyglot.lex.Identifier a = id(btParser.getToken(1)); btParser.setSym1(new Name(nf, ts, pos(), a.getIdentifier())); break; } // // Rule 34: PackageName ::= PackageName . identifier // case 34: { Name a = (Name) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(3)); btParser.setSym1(new Name(nf, ts, pos(btParser.getFirstToken(), btParser.getLastToken()), a, b.getIdentifier())); break; } // // Rule 35: ExpressionName ::= identifier // case 35: { polyglot.lex.Identifier a = id(btParser.getToken(1)); btParser.setSym1(new Name(nf, ts, pos(), a.getIdentifier())); break; } // // Rule 36: ExpressionName ::= AmbiguousName . identifier // case 36: { Name a = (Name) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(3)); btParser.setSym1(new Name(nf, ts, pos(btParser.getFirstToken(), btParser.getLastToken()), a, b.getIdentifier())); break; } // // Rule 37: MethodName ::= identifier // case 37: { polyglot.lex.Identifier a = id(btParser.getToken(1)); btParser.setSym1(new Name(nf, ts, pos(), a.getIdentifier())); break; } // // Rule 38: MethodName ::= AmbiguousName . identifier // case 38: { Name a = (Name) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(3)); btParser.setSym1(new Name(nf, ts, pos(btParser.getFirstToken(), btParser.getLastToken()), a, b.getIdentifier())); break; } // // Rule 39: PackageOrTypeName ::= identifier // case 39: { polyglot.lex.Identifier a = id(btParser.getToken(1)); btParser.setSym1(new Name(nf, ts, pos(), a.getIdentifier())); break; } // // Rule 40: PackageOrTypeName ::= PackageOrTypeName . identifier // case 40: { Name a = (Name) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(3)); btParser.setSym1(new Name(nf, ts, pos(btParser.getFirstToken(), btParser.getLastToken()), a, b.getIdentifier())); break; } // // Rule 41: AmbiguousName ::= identifier // case 41: { polyglot.lex.Identifier a = id(btParser.getToken(1)); btParser.setSym1(new Name(nf, ts, pos(), a.getIdentifier())); break; } // // Rule 42: AmbiguousName ::= AmbiguousName . identifier // case 42: { Name a = (Name) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(3)); btParser.setSym1(new Name(nf, ts, pos(btParser.getFirstToken(), btParser.getLastToken()), a, b.getIdentifier())); break; } // // Rule 43: CompilationUnit ::= PackageDeclarationopt ImportDeclarationsopt TypeDeclarationsopt // case 43: { PackageNode a = (PackageNode) btParser.getSym(1); List b = (List) btParser.getSym(2), c = (List) btParser.getSym(3); // Add import x10.lang.* by default. Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); Import x10LangImport = nf.Import(pos(btParser.getFirstToken(), btParser.getLastToken()), Import.PACKAGE, x10Lang.toString()); b.add(x10LangImport); btParser.setSym1(nf.SourceFile(pos(btParser.getFirstToken(), btParser.getLastToken()), a, b, c)); break; } // // Rule 44: ImportDeclarations ::= ImportDeclaration // case 44: { List l = new TypedList(new LinkedList(), Import.class, false); Import a = (Import) btParser.getSym(1); l.add(a); btParser.setSym1(l); break; } // // Rule 45: ImportDeclarations ::= ImportDeclarations ImportDeclaration // case 45: { List l = (TypedList) btParser.getSym(1); Import b = (Import) btParser.getSym(2); if (b != null) l.add(b); //btParser.setSym1(l); break; } // // Rule 46: TypeDeclarations ::= TypeDeclaration // case 46: { List l = new TypedList(new LinkedList(), TopLevelDecl.class, false); TopLevelDecl a = (TopLevelDecl) btParser.getSym(1); if (a != null) l.add(a); btParser.setSym1(l); break; } // // Rule 47: TypeDeclarations ::= TypeDeclarations TypeDeclaration // case 47: { List l = (TypedList) btParser.getSym(1); TopLevelDecl b = (TopLevelDecl) btParser.getSym(2); if (b != null) l.add(b); //btParser.setSym1(l); break; } // // Rule 48: PackageDeclaration ::= package PackageName ; // case 48: {//vj assert(btParser.getSym(1) == null); // generic not yet supported Name a = (Name) btParser.getSym(2); btParser.setSym1(a.toPackage()); break; } // // Rule 49: ImportDeclaration ::= SingleTypeImportDeclaration // case 49: break; // // Rule 50: ImportDeclaration ::= TypeImportOnDemandDeclaration // case 50: break; // // Rule 51: ImportDeclaration ::= SingleStaticImportDeclaration // case 51: break; // // Rule 52: ImportDeclaration ::= StaticImportOnDemandDeclaration // case 52: break; // // Rule 53: SingleTypeImportDeclaration ::= import TypeName ; // case 53: { Name a = (Name) btParser.getSym(2); btParser.setSym1(nf.Import(pos(btParser.getFirstToken(), btParser.getLastToken()), Import.CLASS, a.toString())); break; } // // Rule 54: TypeImportOnDemandDeclaration ::= import PackageOrTypeName . * ; // case 54: { Name a = (Name) btParser.getSym(2); btParser.setSym1(nf.Import(pos(btParser.getFirstToken(), btParser.getLastToken()), Import.PACKAGE, a.toString())); break; } // // Rule 55: SingleStaticImportDeclaration ::= import static TypeName . identifier ; // case 55: bad_rule = 55; break; // // Rule 56: StaticImportOnDemandDeclaration ::= import static TypeName . * ; // case 56: bad_rule = 56; break; // // Rule 57: TypeDeclaration ::= ClassDeclaration // case 57: break; // // Rule 58: TypeDeclaration ::= InterfaceDeclaration // case 58: break; // // Rule 59: TypeDeclaration ::= ; // case 59: { btParser.setSym1(null); break; } // // Rule 60: ClassDeclaration ::= NormalClassDeclaration // case 60: break; // // Rule 61: NormalClassDeclaration ::= ClassModifiersopt class identifier Superopt Interfacesopt ClassBody // case 61: { Flags a = (Flags) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(3));//vj assert(btParser.getSym(4) == null); TypeNode c = (TypeNode) btParser.getSym(4); // by default extend x10.lang.Object if (c == null) { c= new Name(nf, ts, pos(), "x10.lang.Object").toType(); } List d = (List) btParser.getSym(5); ClassBody e = (ClassBody) btParser.getSym(6); btParser.setSym1(a.isValue() ? nf.ValueClassDecl(pos(btParser.getFirstToken(), btParser.getLastToken()), a, b.getIdentifier(), c, d, e) : nf.ClassDecl(pos(btParser.getFirstToken(), btParser.getLastToken()), a, b.getIdentifier(), c, d, e)); break; } // // Rule 62: ClassModifiers ::= ClassModifier // case 62: break; // // Rule 63: ClassModifiers ::= ClassModifiers ClassModifier // case 63: { Flags a = (Flags) btParser.getSym(1), b = (Flags) btParser.getSym(2); btParser.setSym1(a.set(b)); break; } // // Rule 64: ClassModifier ::= public // case 64: { btParser.setSym1(Flags.PUBLIC); break; } // // Rule 65: ClassModifier ::= protected // case 65: { btParser.setSym1(Flags.PROTECTED); break; } // // Rule 66: ClassModifier ::= private // case 66: { btParser.setSym1(Flags.PRIVATE); break; } // // Rule 67: ClassModifier ::= abstract // case 67: { btParser.setSym1(Flags.ABSTRACT); break; } // // Rule 68: ClassModifier ::= static // case 68: { btParser.setSym1(Flags.STATIC); break; } // // Rule 69: ClassModifier ::= final // case 69: { btParser.setSym1(Flags.FINAL); break; } // // Rule 70: ClassModifier ::= strictfp // case 70: { btParser.setSym1(Flags.STRICTFP); break; } // // Rule 71: TypeParameters ::= < TypeParameterList > // case 71: bad_rule = 71; break; // // Rule 72: TypeParameterList ::= TypeParameter // case 72: bad_rule = 72; break; // // Rule 73: TypeParameterList ::= TypeParameterList , TypeParameter // case 73: bad_rule = 73; break; // // Rule 74: Super ::= extends ClassType // case 74: { btParser.setSym1(btParser.getSym(2)); break; } // // Rule 75: Interfaces ::= implements InterfaceTypeList // case 75: { btParser.setSym1(btParser.getSym(2)); break; } // // Rule 76: InterfaceTypeList ::= InterfaceType // case 76: { List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 77: InterfaceTypeList ::= InterfaceTypeList , InterfaceType // case 77: { List l = (TypedList) btParser.getSym(1); l.add(btParser.getSym(2)); btParser.setSym1(l); break; } // // Rule 78: ClassBody ::= { ClassBodyDeclarationsopt } // case 78: { btParser.setSym1(nf.ClassBody(pos(btParser.getFirstToken(), btParser.getLastToken()), (List) btParser.getSym(2))); break; } // // Rule 79: ClassBodyDeclarations ::= ClassBodyDeclaration // case 79: break; // // Rule 80: ClassBodyDeclarations ::= ClassBodyDeclarations ClassBodyDeclaration // case 80: { List a = (List) btParser.getSym(1), b = (List) btParser.getSym(2); a.addAll(b); // btParser.setSym1(a); break; } // // Rule 81: ClassBodyDeclaration ::= ClassMemberDeclaration // case 81: break; // // Rule 82: ClassBodyDeclaration ::= InstanceInitializer // case 82: { List l = new TypedList(new LinkedList(), ClassMember.class, false); Block a = (Block) btParser.getSym(1); l.add(nf.Initializer(pos(), Flags.NONE, a)); btParser.setSym1(l); break; } // // Rule 83: ClassBodyDeclaration ::= StaticInitializer // case 83: { List l = new TypedList(new LinkedList(), ClassMember.class, false); Block a = (Block) btParser.getSym(1); l.add(nf.Initializer(pos(), Flags.STATIC, a)); btParser.setSym1(l); break; } // // Rule 84: ClassBodyDeclaration ::= ConstructorDeclaration // case 84: { List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 85: ClassMemberDeclaration ::= FieldDeclaration // case 85: break; // // Rule 86: ClassMemberDeclaration ::= MethodDeclaration // case 86: { List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 87: ClassMemberDeclaration ::= ClassDeclaration // case 87: { List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 88: ClassMemberDeclaration ::= InterfaceDeclaration // case 88: { List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 89: ClassMemberDeclaration ::= ; // case 89: { List l = new TypedList(new LinkedList(), ClassMember.class, false); btParser.setSym1(l); break; } // // Rule 90: FieldDeclaration ::= FieldModifiersopt Type VariableDeclarators ; // case 90: { List l = new TypedList(new LinkedList(), ClassMember.class, false); Flags a = (Flags) btParser.getSym(1); TypeNode b = (TypeNode) btParser.getSym(2); List c = (List) btParser.getSym(3); for (Iterator i = c.iterator(); i.hasNext();) { X10VarDeclarator d = (X10VarDeclarator) i.next(); if (d.hasExplodedVars()) // TODO: Report this exception correctly. throw new Error("Field Declarations may not have exploded variables." + pos()); d.setFlag(a); l.add(nf.FieldDecl(pos(btParser.getFirstToken(2), btParser.getLastToken()), d.flags, nf.array(b, pos(btParser.getFirstToken(2), btParser.getLastToken(2)), d.dims), d.name, d.init)); } btParser.setSym1(l); break; } // // Rule 91: VariableDeclarators ::= VariableDeclarator // case 91: { List l = new TypedList(new LinkedList(), X10VarDeclarator.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 92: VariableDeclarators ::= VariableDeclarators , VariableDeclarator // case 92: { List l = (List) btParser.getSym(1); l.add(btParser.getSym(3)); // btParser.setSym1(l); break; } // // Rule 93: VariableDeclarator ::= VariableDeclaratorId // case 93: break; // // Rule 94: VariableDeclarator ::= VariableDeclaratorId = VariableInitializer // case 94: { X10VarDeclarator a = (X10VarDeclarator) btParser.getSym(1); Expr b = (Expr) btParser.getSym(3); a.init = b; // btParser.setSym1(a); break; } // // Rule 95: VariableDeclaratorId ::= identifier // case 95: { polyglot.lex.Identifier a = id(btParser.getToken(1)); btParser.setSym1(new X10VarDeclarator(pos(), a.getIdentifier())); break; } // // Rule 96: VariableDeclaratorId ::= VariableDeclaratorId [ ] // case 96: { X10VarDeclarator a = (X10VarDeclarator) btParser.getSym(1); a.dims++; // btParser.setSym1(a); break; } // // Rule 97: VariableDeclaratorId ::= identifier [ IdentifierList ] // case 97: { polyglot.lex.Identifier a = id(btParser.getToken(1)); List paramList = (List) btParser.getSym(3); btParser.setSym1(new X10VarDeclarator(pos(), a.getIdentifier(), paramList)); break; } // // Rule 98: VariableDeclaratorId ::= [ IdentifierList ] // case 98: { String name = polyglot.ext.x10.visit.X10PrettyPrinterVisitor.getId(); List paramList = (List) btParser.getSym(2); btParser.setSym1(new X10VarDeclarator(pos(), name, paramList)); break; } // // Rule 99: VariableInitializer ::= Expression // case 99: break; // // Rule 100: VariableInitializer ::= ArrayInitializer // case 100: break; // // Rule 101: FieldModifiers ::= FieldModifier // case 101: break; // // Rule 102: FieldModifiers ::= FieldModifiers FieldModifier // case 102: { Flags a = (Flags) btParser.getSym(1), b = (Flags) btParser.getSym(2); btParser.setSym1(a.set(b)); break; } // // Rule 103: FieldModifier ::= public // case 103: { btParser.setSym1(Flags.PUBLIC); break; } // // Rule 104: FieldModifier ::= protected // case 104: { btParser.setSym1(Flags.PROTECTED); break; } // // Rule 105: FieldModifier ::= private // case 105: { btParser.setSym1(Flags.PRIVATE); break; } // // Rule 106: FieldModifier ::= static // case 106: { btParser.setSym1(Flags.STATIC); break; } // // Rule 107: FieldModifier ::= final // case 107: { btParser.setSym1(Flags.FINAL); break; } // // Rule 108: FieldModifier ::= transient // case 108: { btParser.setSym1(Flags.TRANSIENT); break; } // // Rule 109: FieldModifier ::= volatile // case 109: { btParser.setSym1(Flags.VOLATILE); break; } // // Rule 110: MethodDeclaration ::= MethodHeader MethodBody // case 110: { MethodDecl a = (MethodDecl) btParser.getSym(1); List l = a.formals(); List s = new TypedList(new LinkedList(), Stmt.class, false); Block b = (Block) btParser.getSym(2); for (Iterator i = l.iterator(); i.hasNext(); ) { X10Formal d = (X10Formal) i.next(); if (d.hasExplodedVars()) s.addAll( d.explode()); } if (! s.isEmpty()) { s.addAll(b.statements()); b = b.statements(s); } Flags f = a.flags(); if (f.contains(Flags.ATOMIC)) { List ss = new TypedList(new LinkedList(), Stmt.class, false); ss.add(nf.Atomic(pos(), nf.Here(pos()), b)); b = b.statements(ss); a = a.flags(f.clear(Flags.ATOMIC)); } btParser.setSym1(a.body(b)); break; } // // Rule 111: MethodHeader ::= MethodModifiersopt ResultType MethodDeclarator Throwsopt // case 111: { Flags a = (Flags) btParser.getSym(1);//vj assert(btParser.getSym(2) == null); TypeNode b = (TypeNode) btParser.getSym(2); Object[] o = (Object []) btParser.getSym(3); Name c = (Name) o[0]; List d = (List) o[1]; Integer e = (Integer) o[2]; List f = (List) btParser.getSym(4); if (b.type() == ts.Void() && e.intValue() > 0) { // TODO: error!!! assert(false); } btParser.setSym1(nf.MethodDecl(pos(btParser.getFirstToken(2), btParser.getLastToken(3)), a, nf.array((TypeNode) b, pos(btParser.getFirstToken(2), btParser.getLastToken(2)), e.intValue()), c.toString(), d, f, null)); break; } // // Rule 112: ResultType ::= Type // case 112: break; // // Rule 113: ResultType ::= void // case 113: { btParser.setSym1(nf.CanonicalTypeNode(pos(), ts.Void())); break; } // // Rule 114: MethodDeclarator ::= identifier ( FormalParameterListopt ) // case 114: { Object[] a = new Object[3]; a[0] = new Name(nf, ts, pos(), id(btParser.getToken(1)).getIdentifier()); a[1] = btParser.getSym(3); a[2] = new Integer(0); btParser.setSym1(a); break; } // // Rule 115: MethodDeclarator ::= MethodDeclarator [ ] // case 115: { Object[] a = (Object []) btParser.getSym(1); a[2] = new Integer(((Integer) a[2]).intValue() + 1); // btParser.setSym1(a); break; } // // Rule 116: FormalParameterList ::= LastFormalParameter // case 116: { List l = new TypedList(new LinkedList(), Formal.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 117: FormalParameterList ::= FormalParameters , LastFormalParameter // case 117: { List l = (List) btParser.getSym(1); l.add(btParser.getSym(3)); // btParser.setSym1(l); break; } // // Rule 118: FormalParameters ::= FormalParameter // case 118: { List l = new TypedList(new LinkedList(), Formal.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 119: FormalParameters ::= FormalParameters , FormalParameter // case 119: { List l = (List) btParser.getSym(1); l.add(btParser.getSym(3)); // btParser.setSym1(l); break; } // // Rule 120: FormalParameter ::= VariableModifiersopt Type VariableDeclaratorId // case 120: { Flags f = (Flags) btParser.getSym(1); TypeNode a = (TypeNode) btParser.getSym(2); X10VarDeclarator b = (X10VarDeclarator) btParser.getSym(3); b.setFlag(f); btParser.setSym1(nf.Formal(pos(), nf.array(a, pos(btParser.getFirstToken(2), btParser.getLastToken(2)), b.dims), b)); break; } // // Rule 122: VariableModifiers ::= VariableModifiers VariableModifier // case 122: { Flags a = (Flags) btParser.getSym(1), b = (Flags) btParser.getSym(2); btParser.setSym1(a.set(b)); break; } // // Rule 123: VariableModifier ::= final // case 123: { btParser.setSym1(Flags.FINAL); break; } // // Rule 124: LastFormalParameter ::= VariableModifiersopt Type ...opt VariableDeclaratorId // case 124: { Flags f = (Flags) btParser.getSym(1); TypeNode a = (TypeNode) btParser.getSym(2); assert(btParser.getSym(3) == null); X10VarDeclarator b = (X10VarDeclarator) btParser.getSym(4); b.setFlag(f); btParser.setSym1(nf.Formal(pos(), nf.array(a, pos(btParser.getFirstToken(2), btParser.getLastToken(2)), b.dims), b)); break; } // // Rule 125: MethodModifiers ::= MethodModifier // case 125: break; // // Rule 126: MethodModifiers ::= MethodModifiers MethodModifier // case 126: { Flags a = (Flags) btParser.getSym(1), b = (Flags) btParser.getSym(2); btParser.setSym1(a.set(b)); break; } // // Rule 127: MethodModifier ::= public // case 127: { btParser.setSym1(Flags.PUBLIC); break; } // // Rule 128: MethodModifier ::= protected // case 128: { btParser.setSym1(Flags.PROTECTED); break; } // // Rule 129: MethodModifier ::= private // case 129: { btParser.setSym1(Flags.PRIVATE); break; } // // Rule 130: MethodModifier ::= abstract // case 130: { btParser.setSym1(Flags.ABSTRACT); break; } // // Rule 131: MethodModifier ::= static // case 131: { btParser.setSym1(Flags.STATIC); break; } // // Rule 132: MethodModifier ::= final // case 132: { btParser.setSym1(Flags.FINAL); break; } // // Rule 133: MethodModifier ::= synchronized // case 133: { btParser.setSym1(Flags.SYNCHRONIZED); break; } // // Rule 134: MethodModifier ::= native // case 134: { btParser.setSym1(Flags.NATIVE); break; } // // Rule 135: MethodModifier ::= strictfp // case 135: { btParser.setSym1(Flags.STRICTFP); break; } // // Rule 136: Throws ::= throws ExceptionTypeList // case 136: { btParser.setSym1(btParser.getSym(2)); break; } // // Rule 137: ExceptionTypeList ::= ExceptionType // case 137: { List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 138: ExceptionTypeList ::= ExceptionTypeList , ExceptionType // case 138: { List l = (List) btParser.getSym(1); l.add(btParser.getSym(3)); // btParser.setSym1(l); break; } // // Rule 139: ExceptionType ::= ClassType // case 139: break; // // Rule 140: MethodBody ::= Block // case 140: break; // // Rule 141: MethodBody ::= ; // case 141: btParser.setSym1(null); break; // // Rule 142: InstanceInitializer ::= Block // case 142: break; // // Rule 143: StaticInitializer ::= static Block // case 143: { btParser.setSym1(btParser.getSym(2)); break; } // // Rule 144: ConstructorDeclaration ::= ConstructorModifiersopt ConstructorDeclarator Throwsopt ConstructorBody // case 144: { Flags m = (Flags) btParser.getSym(1); Object[] o = (Object []) btParser.getSym(2); Name a = (Name) o[1]; List b = (List) o[2]; List c = (List) btParser.getSym(3); Block d = (Block) btParser.getSym(4); btParser.setSym1(nf.ConstructorDecl(pos(), m, a.toString(), b, c, d)); break; } // // Rule 145: ConstructorDeclarator ::= SimpleTypeName ( FormalParameterListopt ) // case 145: {//vj assert(btParser.getSym(1) == null); Object[] a = new Object[3];//vj a[0] = btParser.getSym(1); a[1] = btParser.getSym(1); a[2] = btParser.getSym(3); btParser.setSym1(a); break; } // // Rule 146: SimpleTypeName ::= identifier // case 146: { polyglot.lex.Identifier a = id(btParser.getToken(1)); btParser.setSym1(new Name(nf, ts, pos(), a.getIdentifier())); break; } // // Rule 147: ConstructorModifiers ::= ConstructorModifier // case 147: break; // // Rule 148: ConstructorModifiers ::= ConstructorModifiers ConstructorModifier // case 148: { Flags a = (Flags) btParser.getSym(1), b = (Flags) btParser.getSym(2); btParser.setSym1(a.set(b)); break; } // // Rule 149: ConstructorModifier ::= public // case 149: { btParser.setSym1(Flags.PUBLIC); break; } // // Rule 150: ConstructorModifier ::= protected // case 150: { btParser.setSym1(Flags.PROTECTED); break; } // // Rule 151: ConstructorModifier ::= private // case 151: { btParser.setSym1(Flags.PRIVATE); break; } // // Rule 152: ConstructorBody ::= { ExplicitConstructorInvocationopt BlockStatementsopt } // case 152: { Stmt a = (Stmt) btParser.getSym(2); List l; if (a == null) l = (List) btParser.getSym(3); else { l = new TypedList(new LinkedList(), Stmt.class, false); List l2 = (List) btParser.getSym(3); l.add(a); l.addAll(l2); } btParser.setSym1(nf.Block(pos(), l)); break; } // // Rule 153: ExplicitConstructorInvocation ::= this ( ArgumentListopt ) ; // case 153: {//vj assert(btParser.getSym(1) == null); List b = (List) btParser.getSym(3); btParser.setSym1(nf.ThisCall(pos(), b)); break; } // // Rule 154: ExplicitConstructorInvocation ::= super ( ArgumentListopt ) ; // case 154: {//vj assert(btParser.getSym(1) == null); List b = (List) btParser.getSym(3); btParser.setSym1(nf.SuperCall(pos(), b)); break; } // // Rule 155: ExplicitConstructorInvocation ::= Primary . this ( ArgumentListopt ) ; // case 155: { Expr a = (Expr) btParser.getSym(1);//vj assert(btParser.getSym(2) == null); List b = (List) btParser.getSym(5); btParser.setSym1(nf.ThisCall(pos(), a, b)); break; } // // Rule 156: ExplicitConstructorInvocation ::= Primary . super ( ArgumentListopt ) ; // case 156: { Expr a = (Expr) btParser.getSym(1);//vj assert(btParser.getSym(2) == null); List b = (List) btParser.getSym(5); btParser.setSym1(nf.SuperCall(pos(), a, b)); break; } // // Rule 157: EnumDeclaration ::= ClassModifiersopt enum identifier Interfacesopt EnumBody // case 157: bad_rule = 157; break; // // Rule 158: EnumBody ::= { EnumConstantsopt ,opt EnumBodyDeclarationsopt } // case 158: bad_rule = 158; break; // // Rule 159: EnumConstants ::= EnumConstant // case 159: bad_rule = 159; break; // // Rule 160: EnumConstants ::= EnumConstants , EnumConstant // case 160: bad_rule = 160; break; // // Rule 161: EnumConstant ::= identifier Argumentsopt ClassBodyopt // case 161: bad_rule = 161; break; // // Rule 162: Arguments ::= ( ArgumentListopt ) // case 162: { btParser.setSym1(btParser.getSym(2)); break; } // // Rule 163: EnumBodyDeclarations ::= ; ClassBodyDeclarationsopt // case 163: bad_rule = 163; break; // // Rule 164: InterfaceDeclaration ::= NormalInterfaceDeclaration // case 164: break; // // Rule 165: NormalInterfaceDeclaration ::= InterfaceModifiersopt interface identifier ExtendsInterfacesopt InterfaceBody // case 165: { Flags a = (Flags) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(3));//vj assert(btParser.getSym(4) == null); List c = (List) btParser.getSym(4); ClassBody d = (ClassBody) btParser.getSym(5); btParser.setSym1(nf.ClassDecl(pos(), a.Interface(), b.getIdentifier(), null, c, d)); break; } // // Rule 166: InterfaceModifiers ::= InterfaceModifier // case 166: break; // // Rule 167: InterfaceModifiers ::= InterfaceModifiers InterfaceModifier // case 167: { Flags a = (Flags) btParser.getSym(1), b = (Flags) btParser.getSym(2); btParser.setSym1(a.set(b)); break; } // // Rule 168: InterfaceModifier ::= public // case 168: { btParser.setSym1(Flags.PUBLIC); break; } // // Rule 169: InterfaceModifier ::= protected // case 169: { btParser.setSym1(Flags.PROTECTED); break; } // // Rule 170: InterfaceModifier ::= private // case 170: { btParser.setSym1(Flags.PRIVATE); break; } // // Rule 171: InterfaceModifier ::= abstract // case 171: { btParser.setSym1(Flags.ABSTRACT); break; } // // Rule 172: InterfaceModifier ::= static // case 172: { btParser.setSym1(Flags.STATIC); break; } // // Rule 173: InterfaceModifier ::= strictfp // case 173: { btParser.setSym1(Flags.STRICTFP); break; } // // Rule 174: ExtendsInterfaces ::= extends InterfaceType // case 174: { List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(btParser.getSym(2)); btParser.setSym1(l); break; } // // Rule 175: ExtendsInterfaces ::= ExtendsInterfaces , InterfaceType // case 175: { List l = (List) btParser.getSym(1); l.add(btParser.getSym(3)); // btParser.setSym1(l); break; } // // Rule 176: InterfaceBody ::= { InterfaceMemberDeclarationsopt } // case 176: { List a = (List)btParser.getSym(2); btParser.setSym1(nf.ClassBody(pos(), a)); break; } // // Rule 177: InterfaceMemberDeclarations ::= InterfaceMemberDeclaration // case 177: break; // // Rule 178: InterfaceMemberDeclarations ::= InterfaceMemberDeclarations InterfaceMemberDeclaration // case 178: { List l = (List) btParser.getSym(1), l2 = (List) btParser.getSym(2); l.addAll(l2); // btParser.setSym1(l); break; } // // Rule 179: InterfaceMemberDeclaration ::= ConstantDeclaration // case 179: break; // // Rule 180: InterfaceMemberDeclaration ::= AbstractMethodDeclaration // case 180: { List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 181: InterfaceMemberDeclaration ::= ClassDeclaration // case 181: { List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 182: InterfaceMemberDeclaration ::= InterfaceDeclaration // case 182: { List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 183: InterfaceMemberDeclaration ::= ; // case 183: { btParser.setSym1(Collections.EMPTY_LIST); break; } // // Rule 184: ConstantDeclaration ::= ConstantModifiersopt Type VariableDeclarators // case 184: { List l = new TypedList(new LinkedList(), ClassMember.class, false); Flags a = (Flags) btParser.getSym(1); TypeNode b = (TypeNode) btParser.getSym(2); List c = (List) btParser.getSym(3); for (Iterator i = c.iterator(); i.hasNext();) { X10VarDeclarator d = (X10VarDeclarator) i.next(); if (d.hasExplodedVars()) // TODO: Report this exception correctly. throw new Error("Field Declarations may not have exploded variables." + pos()); l.add(nf.FieldDecl(pos(btParser.getFirstToken(2), btParser.getLastToken()), a, nf.array(b, pos(btParser.getFirstToken(2), btParser.getLastToken(2)), d.dims), d.name, d.init)); } btParser.setSym1(l); break; } // // Rule 185: ConstantModifiers ::= ConstantModifier // case 185: break; // // Rule 186: ConstantModifiers ::= ConstantModifiers ConstantModifier // case 186: { Flags a = (Flags) btParser.getSym(1), b = (Flags) btParser.getSym(2); btParser.setSym1(a.set(b)); break; } // // Rule 187: ConstantModifier ::= public // case 187: { btParser.setSym1(Flags.PUBLIC); break; } // // Rule 188: ConstantModifier ::= static // case 188: { btParser.setSym1(Flags.STATIC); break; } // // Rule 189: ConstantModifier ::= final // case 189: { btParser.setSym1(Flags.FINAL); break; } // // Rule 190: AbstractMethodDeclaration ::= AbstractMethodModifiersopt ResultType MethodDeclarator Throwsopt ; // case 190: { Flags a = (Flags) btParser.getSym(1);//vj assert(btParser.getSym(2) == null); TypeNode b = (TypeNode) btParser.getSym(2); Object[] o = (Object []) btParser.getSym(3); Name c = (Name) o[0]; List d = (List) o[1]; Integer e = (Integer) o[2]; List f = (List) btParser.getSym(4); if (b.type() == ts.Void() && e.intValue() > 0) { // TODO: error!!! assert(false); } btParser.setSym1(nf.MethodDecl(pos(btParser.getFirstToken(2), btParser.getLastToken(3)), a, nf.array((TypeNode) b, pos(btParser.getFirstToken(2), btParser.getLastToken(2)), e.intValue()), c.toString(), d, f, null)); break; } // // Rule 191: AbstractMethodModifiers ::= AbstractMethodModifier // case 191: break; // // Rule 192: AbstractMethodModifiers ::= AbstractMethodModifiers AbstractMethodModifier // case 192: { Flags a = (Flags) btParser.getSym(1), b = (Flags) btParser.getSym(2); btParser.setSym1(a.set(b)); break; } // // Rule 193: AbstractMethodModifier ::= public // case 193: { btParser.setSym1(Flags.PUBLIC); break; } // // Rule 194: AbstractMethodModifier ::= abstract // case 194: { btParser.setSym1(Flags.ABSTRACT); break; } // // Rule 195: AnnotationTypeDeclaration ::= InterfaceModifiersopt @ interface identifier AnnotationTypeBody // case 195: bad_rule = 195; break; // // Rule 196: AnnotationTypeBody ::= { AnnotationTypeElementDeclarationsopt } // case 196: bad_rule = 196; break; // // Rule 197: AnnotationTypeElementDeclarations ::= AnnotationTypeElementDeclaration // case 197: bad_rule = 197; break; // // Rule 198: AnnotationTypeElementDeclarations ::= AnnotationTypeElementDeclarations AnnotationTypeElementDeclaration // case 198: bad_rule = 198; break; // // Rule 199: AnnotationTypeElementDeclaration ::= AbstractMethodModifiersopt Type identifier ( ) DefaultValueopt ; // case 199: bad_rule = 199; break; // // Rule 200: AnnotationTypeElementDeclaration ::= ConstantDeclaration // case 200: bad_rule = 200; break; // // Rule 201: AnnotationTypeElementDeclaration ::= ClassDeclaration // case 201: bad_rule = 201; break; // // Rule 202: AnnotationTypeElementDeclaration ::= InterfaceDeclaration // case 202: bad_rule = 202; break; // // Rule 203: AnnotationTypeElementDeclaration ::= EnumDeclaration // case 203: bad_rule = 203; break; // // Rule 204: AnnotationTypeElementDeclaration ::= AnnotationTypeDeclaration // case 204: bad_rule = 204; break; // // Rule 205: AnnotationTypeElementDeclaration ::= ; // case 205: bad_rule = 205; break; // // Rule 206: DefaultValue ::= default ElementValue // case 206: bad_rule = 206; break; // // Rule 207: Annotations ::= Annotation // case 207: bad_rule = 207; break; // // Rule 208: Annotations ::= Annotations Annotation // case 208: bad_rule = 208; break; // // Rule 209: Annotation ::= NormalAnnotation // case 209: bad_rule = 209; break; // // Rule 210: Annotation ::= MarkerAnnotation // case 210: bad_rule = 210; break; // // Rule 211: Annotation ::= SingleElementAnnotation // case 211: bad_rule = 211; break; // // Rule 212: NormalAnnotation ::= @ TypeName ( ElementValuePairsopt ) // case 212: bad_rule = 212; break; // // Rule 213: ElementValuePairs ::= ElementValuePair // case 213: bad_rule = 213; break; // // Rule 214: ElementValuePairs ::= ElementValuePairs , ElementValuePair // case 214: bad_rule = 214; break; // // Rule 215: ElementValuePair ::= SimpleName = ElementValue // case 215: bad_rule = 215; break; // // Rule 216: SimpleName ::= identifier // case 216: { polyglot.lex.Identifier a = id(btParser.getToken(1)); btParser.setSym1(new Name(nf, ts, pos(), a.getIdentifier())); break; } // // Rule 217: ElementValue ::= ConditionalExpression // case 217: bad_rule = 217; break; // // Rule 218: ElementValue ::= Annotation // case 218: bad_rule = 218; break; // // Rule 219: ElementValue ::= ElementValueArrayInitializer // case 219: bad_rule = 219; break; // // Rule 220: ElementValueArrayInitializer ::= { ElementValuesopt ,opt } // case 220: bad_rule = 220; break; // // Rule 221: ElementValues ::= ElementValue // case 221: bad_rule = 221; break; // // Rule 222: ElementValues ::= ElementValues , ElementValue // case 222: bad_rule = 222; break; // // Rule 223: MarkerAnnotation ::= @ TypeName // case 223: bad_rule = 223; break; // // Rule 224: SingleElementAnnotation ::= @ TypeName ( ElementValue ) // case 224: bad_rule = 224; break; // // Rule 225: ArrayInitializer ::= { VariableInitializersopt ,opt } // case 225: { List a = (List) btParser.getSym(2); if (a == null) btParser.setSym1(nf.ArrayInit(pos())); else btParser.setSym1(nf.ArrayInit(pos(), a)); break; } // // Rule 226: VariableInitializers ::= VariableInitializer // case 226: { List l = new TypedList(new LinkedList(), Expr.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 227: VariableInitializers ::= VariableInitializers , VariableInitializer // case 227: { List l = (List) btParser.getSym(1); l.add(btParser.getSym(3)); //btParser.setSym1(l); break; } // // Rule 228: Block ::= { BlockStatementsopt } // case 228: { List l = (List) btParser.getSym(2); btParser.setSym1(nf.Block(pos(), l)); break; } // // Rule 229: BlockStatements ::= BlockStatement // case 229: { List l = new TypedList(new LinkedList(), Stmt.class, false), l2 = (List) btParser.getSym(1); l.addAll(l2); btParser.setSym1(l); break; } // // Rule 230: BlockStatements ::= BlockStatements BlockStatement // case 230: { List l = (List) btParser.getSym(1), l2 = (List) btParser.getSym(2); l.addAll(l2); //btParser.setSym1(l); break; } // // Rule 231: BlockStatement ::= LocalVariableDeclarationStatement // case 231: break; // // Rule 232: BlockStatement ::= ClassDeclaration // case 232: { ClassDecl a = (ClassDecl) btParser.getSym(1); List l = new TypedList(new LinkedList(), Stmt.class, false); l.add(nf.LocalClassDecl(pos(), a)); btParser.setSym1(l); break; } // // Rule 233: BlockStatement ::= Statement // case 233: { List l = new TypedList(new LinkedList(), Stmt.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 234: LocalVariableDeclarationStatement ::= LocalVariableDeclaration ; // case 234: break; // // Rule 235: LocalVariableDeclaration ::= VariableModifiersopt Type VariableDeclarators // case 235: { Flags flags = (Flags) btParser.getSym(1); TypeNode a = (TypeNode) btParser.getSym(2); List b = (List) btParser.getSym(3); List l = new TypedList(new LinkedList(), LocalDecl.class, false); List s = new TypedList(new LinkedList(), Stmt.class, false); for (Iterator i = b.iterator(); i.hasNext(); ) { X10VarDeclarator d = (X10VarDeclarator) i.next(); d.setFlag( flags ); // use d.flags below and not flags, setFlag may change it. l.add(nf.LocalDecl(d.pos, d.flags, nf.array(a, pos(d), d.dims), d.name, d.init)); if (d.hasExplodedVars()) s.addAll( d.explode() ); } l.addAll(s); btParser.setSym1(l); break; } // // Rule 236: Statement ::= StatementWithoutTrailingSubstatement // case 236: break; // // Rule 237: Statement ::= LabeledStatement // case 237: break; // // Rule 238: Statement ::= IfThenStatement // case 238: break; // // Rule 239: Statement ::= IfThenElseStatement // case 239: break; // // Rule 240: Statement ::= WhileStatement // case 240: break; // // Rule 241: Statement ::= ForStatement // case 241: break; // // Rule 242: StatementWithoutTrailingSubstatement ::= Block // case 242: break; // // Rule 243: StatementWithoutTrailingSubstatement ::= EmptyStatement // case 243: break; // // Rule 244: StatementWithoutTrailingSubstatement ::= ExpressionStatement // case 244: break; // // Rule 245: StatementWithoutTrailingSubstatement ::= AssertStatement // case 245: break; // // Rule 246: StatementWithoutTrailingSubstatement ::= SwitchStatement // case 246: break; // // Rule 247: StatementWithoutTrailingSubstatement ::= DoStatement // case 247: break; // // Rule 248: StatementWithoutTrailingSubstatement ::= BreakStatement // case 248: break; // // Rule 249: StatementWithoutTrailingSubstatement ::= ContinueStatement // case 249: break; // // Rule 250: StatementWithoutTrailingSubstatement ::= ReturnStatement // case 250: break; // // Rule 251: StatementWithoutTrailingSubstatement ::= SynchronizedStatement // case 251: break; // // Rule 252: StatementWithoutTrailingSubstatement ::= ThrowStatement // case 252: break; // // Rule 253: StatementWithoutTrailingSubstatement ::= TryStatement // case 253: break; // // Rule 254: StatementNoShortIf ::= StatementWithoutTrailingSubstatement // case 254: break; // // Rule 255: StatementNoShortIf ::= LabeledStatementNoShortIf // case 255: break; // // Rule 256: StatementNoShortIf ::= IfThenElseStatementNoShortIf // case 256: break; // // Rule 257: StatementNoShortIf ::= WhileStatementNoShortIf // case 257: break; // // Rule 258: StatementNoShortIf ::= ForStatementNoShortIf // case 258: break; // // Rule 259: IfThenStatement ::= if ( Expression ) Statement // case 259: { Expr a = (Expr) btParser.getSym(3); Stmt b = (Stmt) btParser.getSym(5); btParser.setSym1(nf.If(pos(), a, b)); break; } // // Rule 260: IfThenElseStatement ::= if ( Expression ) StatementNoShortIf else Statement // case 260: { Expr a = (Expr) btParser.getSym(3); Stmt b = (Stmt) btParser.getSym(5); Stmt c = (Stmt) btParser.getSym(7); btParser.setSym1(nf.If(pos(), a, b, c)); break; } // // Rule 261: IfThenElseStatementNoShortIf ::= if ( Expression ) StatementNoShortIf else StatementNoShortIf // case 261: { Expr a = (Expr) btParser.getSym(3); Stmt b = (Stmt) btParser.getSym(5); Stmt c = (Stmt) btParser.getSym(7); btParser.setSym1(nf.If(pos(), a, b, c)); break; } // // Rule 262: EmptyStatement ::= ; // case 262: { btParser.setSym1(nf.Empty(pos())); break; } // // Rule 263: LabeledStatement ::= identifier : Statement // case 263: { polyglot.lex.Identifier a = id(btParser.getToken(1)); Stmt b = (Stmt) btParser.getSym(3); btParser.setSym1(nf.Labeled(pos(), a.getIdentifier(), b)); break; } // // Rule 264: LabeledStatementNoShortIf ::= identifier : StatementNoShortIf // case 264: { polyglot.lex.Identifier a = id(btParser.getToken(1)); Stmt b = (Stmt) btParser.getSym(3); btParser.setSym1(nf.Labeled(pos(), a.getIdentifier(), b)); break; } // // Rule 265: ExpressionStatement ::= StatementExpression ; // case 265: { Expr a = (Expr) btParser.getSym(1); btParser.setSym1(nf.Eval(pos(), a)); break; } // // Rule 266: StatementExpression ::= Assignment // case 266: break; // // Rule 267: StatementExpression ::= PreIncrementExpression // case 267: break; // // Rule 268: StatementExpression ::= PreDecrementExpression // case 268: break; // // Rule 269: StatementExpression ::= PostIncrementExpression // case 269: break; // // Rule 270: StatementExpression ::= PostDecrementExpression // case 270: break; // // Rule 271: StatementExpression ::= MethodInvocation // case 271: break; // // Rule 272: StatementExpression ::= ClassInstanceCreationExpression // case 272: break; // // Rule 273: AssertStatement ::= assert Expression ; // case 273: { Expr a = (Expr) btParser.getSym(2); btParser.setSym1(nf.Assert(pos(), a)); break; } // // Rule 274: AssertStatement ::= assert Expression : Expression ; // case 274: { Expr a = (Expr) btParser.getSym(2), b = (Expr) btParser.getSym(4); btParser.setSym1(nf.Assert(pos(), a, b)); break; } // // Rule 275: SwitchStatement ::= switch ( Expression ) SwitchBlock // case 275: { Expr a = (Expr) btParser.getSym(3); List b = (List) btParser.getSym(5); btParser.setSym1(nf.Switch(pos(), a, b)); break; } // // Rule 276: SwitchBlock ::= { SwitchBlockStatementGroupsopt SwitchLabelsopt } // case 276: { List l = (List) btParser.getSym(2), l2 = (List) btParser.getSym(3); l.addAll(l2); btParser.setSym1(l); break; } // // Rule 277: SwitchBlockStatementGroups ::= SwitchBlockStatementGroup // case 277: break; // // Rule 278: SwitchBlockStatementGroups ::= SwitchBlockStatementGroups SwitchBlockStatementGroup // case 278: { List l = (List) btParser.getSym(1), l2 = (List) btParser.getSym(2); l.addAll(l2); // btParser.setSym1(l); break; } // // Rule 279: SwitchBlockStatementGroup ::= SwitchLabels BlockStatements // case 279: { List l = new TypedList(new LinkedList(), SwitchElement.class, false); List l1 = (List) btParser.getSym(1), l2 = (List) btParser.getSym(2); l.addAll(l1); l.add(nf.SwitchBlock(pos(), l2)); btParser.setSym1(l); break; } // // Rule 280: SwitchLabels ::= SwitchLabel // case 280: { List l = new TypedList(new LinkedList(), Case.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 281: SwitchLabels ::= SwitchLabels SwitchLabel // case 281: { List l = (List) btParser.getSym(1); l.add(btParser.getSym(2)); //btParser.setSym1(l); break; } // // Rule 282: SwitchLabel ::= case ConstantExpression : // case 282: { Expr a = (Expr) btParser.getSym(2); btParser.setSym1(nf.Case(pos(), a)); break; } // // Rule 283: SwitchLabel ::= case EnumConstant : // case 283: bad_rule = 283; break; // // Rule 284: SwitchLabel ::= default : // case 284: { btParser.setSym1(nf.Default(pos())); break; } // // Rule 285: EnumConstant ::= identifier // case 285: bad_rule = 285; break; // // Rule 286: WhileStatement ::= while ( Expression ) Statement // case 286: { Expr a = (Expr) btParser.getSym(3); Stmt b = (Stmt) btParser.getSym(5); btParser.setSym1(nf.While(pos(), a, b)); break; } // // Rule 287: WhileStatementNoShortIf ::= while ( Expression ) StatementNoShortIf // case 287: { Expr a = (Expr) btParser.getSym(3); Stmt b = (Stmt) btParser.getSym(5); btParser.setSym1(nf.While(pos(), a, b)); break; } // // Rule 288: DoStatement ::= do Statement while ( Expression ) ; // case 288: { Stmt a = (Stmt) btParser.getSym(2); Expr b = (Expr) btParser.getSym(5); btParser.setSym1(nf.Do(pos(), a, b)); break; } // // Rule 289: ForStatement ::= BasicForStatement // case 289: break; // // Rule 290: ForStatement ::= EnhancedForStatement // case 290: break; // // Rule 291: BasicForStatement ::= for ( ForInitopt ; Expressionopt ; ForUpdateopt ) Statement // case 291: { List a = (List) btParser.getSym(3); Expr b = (Expr) btParser.getSym(5); List c = (List) btParser.getSym(7); Stmt d = (Stmt) btParser.getSym(9); btParser.setSym1(nf.For(pos(), a, b, c, d)); break; } // // Rule 292: ForStatementNoShortIf ::= for ( ForInitopt ; Expressionopt ; ForUpdateopt ) StatementNoShortIf // case 292: { List a = (List) btParser.getSym(3); Expr b = (Expr) btParser.getSym(5); List c = (List) btParser.getSym(7); Stmt d = (Stmt) btParser.getSym(9); btParser.setSym1(nf.For(pos(), a, b, c, d)); break; } // // Rule 293: ForInit ::= StatementExpressionList // case 293: break; // // Rule 294: ForInit ::= LocalVariableDeclaration // case 294: { List l = new TypedList(new LinkedList(), ForInit.class, false), l2 = (List) btParser.getSym(1); l.addAll(l2); //btParser.setSym1(l); break; } // // Rule 295: ForUpdate ::= StatementExpressionList // case 295: break; // // Rule 296: StatementExpressionList ::= StatementExpression // case 296: { List l = new TypedList(new LinkedList(), Eval.class, false); Expr a = (Expr) btParser.getSym(1); l.add(nf.Eval(pos(), a)); btParser.setSym1(l); break; } // // Rule 297: StatementExpressionList ::= StatementExpressionList , StatementExpression // case 297: { List l = (List) btParser.getSym(1); Expr a = (Expr) btParser.getSym(3); l.add(nf.Eval(pos(), a)); //btParser.setSym1(l); break; } // // Rule 298: BreakStatement ::= break identifieropt ; // case 298: { Name a = (Name) btParser.getSym(2); if (a == null) btParser.setSym1(nf.Break(pos())); else btParser.setSym1(nf.Break(pos(), a.toString())); break; } // // Rule 299: ContinueStatement ::= continue identifieropt ; // case 299: { Name a = (Name) btParser.getSym(2); if (a == null) btParser.setSym1(nf.Continue(pos())); else btParser.setSym1(nf.Continue(pos(), a.toString())); break; } // // Rule 300: ReturnStatement ::= return Expressionopt ; // case 300: { Expr a = (Expr) btParser.getSym(2); btParser.setSym1(nf.Return(pos(), a)); break; } // // Rule 301: ThrowStatement ::= throw Expression ; // case 301: { Expr a = (Expr) btParser.getSym(2); btParser.setSym1(nf.Throw(pos(), a)); break; } // // Rule 302: SynchronizedStatement ::= synchronized ( Expression ) Block // case 302: { Expr a = (Expr) btParser.getSym(3); Block b = (Block) btParser.getSym(5); btParser.setSym1(nf.Synchronized(pos(), a, b)); break; } // // Rule 303: TryStatement ::= try Block Catches // case 303: { Block a = (Block) btParser.getSym(2); List b = (List) btParser.getSym(3); btParser.setSym1(nf.Try(pos(), a, b)); break; } // // Rule 304: TryStatement ::= try Block Catchesopt Finally // case 304: { Block a = (Block) btParser.getSym(2); List b = (List) btParser.getSym(3); Block c = (Block) btParser.getSym(4); btParser.setSym1(nf.Try(pos(), a, b, c)); break; } // // Rule 305: Catches ::= CatchClause // case 305: { List l = new TypedList(new LinkedList(), Catch.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 306: Catches ::= Catches CatchClause // case 306: { List l = (List) btParser.getSym(1); l.add(btParser.getSym(2)); //btParser.setSym1(l); break; } // // Rule 307: CatchClause ::= catch ( FormalParameter ) Block // case 307: { Formal a = (Formal) btParser.getSym(3); Block b = (Block) btParser.getSym(5); btParser.setSym1(nf.Catch(pos(), a, b)); break; } // // Rule 308: Finally ::= finally Block // case 308: { btParser.setSym1(btParser.getSym(2)); break; } // // Rule 309: Primary ::= PrimaryNoNewArray // case 309: break; // // Rule 310: Primary ::= ArrayCreationExpression // case 310: break; // // Rule 311: PrimaryNoNewArray ::= Literal // case 311: break; // // Rule 312: PrimaryNoNewArray ::= Type . class // case 312: { Object o = btParser.getSym(1); if (o instanceof Name) { Name a = (Name) o; btParser.setSym1(nf.ClassLit(pos(), a.toType())); } else if (o instanceof TypeNode) { TypeNode a = (TypeNode) o; btParser.setSym1(nf.ClassLit(pos(), a)); } else if (o instanceof CanonicalTypeNode) { CanonicalTypeNode a = (CanonicalTypeNode) o; btParser.setSym1(nf.ClassLit(pos(), a)); } else assert(false); break; } // // Rule 313: PrimaryNoNewArray ::= void . class // case 313: { btParser.setSym1(nf.ClassLit(pos(), nf.CanonicalTypeNode(pos(btParser.getToken(1)), ts.Void()))); break; } // // Rule 314: PrimaryNoNewArray ::= this // case 314: { btParser.setSym1(nf.This(pos())); break; } // // Rule 315: PrimaryNoNewArray ::= ClassName . this // case 315: { Name a = (Name) btParser.getSym(1); btParser.setSym1(nf.This(pos(), a.toType())); break; } // // Rule 316: PrimaryNoNewArray ::= ( Expression ) // case 316: { btParser.setSym1(btParser.getSym(2)); break; } // // Rule 317: PrimaryNoNewArray ::= ClassInstanceCreationExpression // case 317: break; // // Rule 318: PrimaryNoNewArray ::= FieldAccess // case 318: break; // // Rule 319: PrimaryNoNewArray ::= MethodInvocation // case 319: break; // // Rule 320: PrimaryNoNewArray ::= ArrayAccess // case 320: break; // // Rule 321: Literal ::= IntegerLiteral // case 321: { polyglot.lex.IntegerLiteral a = int_lit(btParser.getToken(1)); btParser.setSym1(nf.IntLit(pos(), IntLit.INT, a.getValue().intValue())); break; } // // Rule 322: Literal ::= LongLiteral // case 322: { polyglot.lex.LongLiteral a = long_lit(btParser.getToken(1)); btParser.setSym1(nf.IntLit(pos(), IntLit.LONG, a.getValue().longValue())); break; } // // Rule 323: Literal ::= FloatingPointLiteral // case 323: { polyglot.lex.FloatLiteral a = float_lit(btParser.getToken(1)); btParser.setSym1(nf.FloatLit(pos(), FloatLit.FLOAT, a.getValue().floatValue())); break; } // // Rule 324: Literal ::= DoubleLiteral // case 324: { polyglot.lex.DoubleLiteral a = double_lit(btParser.getToken(1)); btParser.setSym1(nf.FloatLit(pos(), FloatLit.DOUBLE, a.getValue().doubleValue())); break; } // // Rule 325: Literal ::= BooleanLiteral // case 325: { polyglot.lex.BooleanLiteral a = boolean_lit(btParser.getToken(1)); btParser.setSym1(nf.BooleanLit(pos(), a.getValue().booleanValue())); break; } // // Rule 326: Literal ::= CharacterLiteral // case 326: { polyglot.lex.CharacterLiteral a = char_lit(btParser.getToken(1)); btParser.setSym1(nf.CharLit(pos(), a.getValue().charValue())); break; } // // Rule 327: Literal ::= StringLiteral // case 327: { polyglot.lex.StringLiteral a = string_lit(btParser.getToken(1)); btParser.setSym1(nf.StringLit(pos(), a.getValue())); break; } // // Rule 328: Literal ::= null // case 328: { btParser.setSym1(nf.NullLit(pos())); break; } // // Rule 329: BooleanLiteral ::= true // case 329: break; // // Rule 330: BooleanLiteral ::= false // case 330: break; // // Rule 331: ClassInstanceCreationExpression ::= new ClassOrInterfaceType ( ArgumentListopt ) ClassBodyopt // case 331: {//vj assert(btParser.getSym(2) == null); TypeNode a = (TypeNode) btParser.getSym(2);//vj assert(btParser.getSym(4) == null); List b = (List) btParser.getSym(4); ClassBody c = (ClassBody) btParser.getSym(6); if (c == null) btParser.setSym1(nf.New(pos(), a, b)); else btParser.setSym1(nf.New(pos(), a, b, c)); break; } // // Rule 332: ClassInstanceCreationExpression ::= Primary . new identifier ( ArgumentListopt ) ClassBodyopt // case 332: { Expr a = (Expr) btParser.getSym(1);//vj assert(btParser.getSym(2) == null); Name b = new Name(nf, ts, pos(), id(btParser.getToken(4)).getIdentifier());//vj assert(btParser.getSym(4) == null); List c = (List) btParser.getSym(6); ClassBody d = (ClassBody) btParser.getSym(8); if (d == null) btParser.setSym1(nf.New(pos(), a, b.toType(), c)); else btParser.setSym1(nf.New(pos(), a, b.toType(), c, d)); break; } // // Rule 333: ClassInstanceCreationExpression ::= AmbiguousName . new identifier ( ArgumentListopt ) ClassBodyopt // case 333: { Name a = (Name) btParser.getSym(1);//vj assert(btParser.getSym(4) == null); Name b = new Name(nf, ts, pos(), id(btParser.getToken(4)).getIdentifier());//vj assert(btParser.getSym(6) == null); List c = (List) btParser.getSym(6); ClassBody d = (ClassBody) btParser.getSym(8); if (d == null) btParser.setSym1(nf.New(pos(), a.toExpr(), b.toType(), c)); else btParser.setSym1(nf.New(pos(), a.toExpr(), b.toType(), c, d)); break; } // // Rule 334: ArgumentList ::= Expression // case 334: { List l = new TypedList(new LinkedList(), Expr.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 335: ArgumentList ::= ArgumentList , Expression // case 335: { List l = (List) btParser.getSym(1); l.add(btParser.getSym(3)); //btParser.setSym1(l); break; } // // Rule 336: DimExprs ::= DimExpr // case 336: { List l = new TypedList(new LinkedList(), Expr.class, false); l.add(btParser.getSym(1)); btParser.setSym1(l); break; } // // Rule 337: DimExprs ::= DimExprs DimExpr // case 337: { List l = (List) btParser.getSym(1); l.add(btParser.getSym(2)); //btParser.setSym1(l); break; } // // Rule 338: DimExpr ::= [ Expression ] // case 338: { Expr a = (Expr) btParser.getSym(2); btParser.setSym1(a.position(pos())); break; } // // Rule 339: Dims ::= [ ] // case 339: { btParser.setSym1(new Integer(1)); break; } // // Rule 340: Dims ::= Dims [ ] // case 340: { Integer a = (Integer) btParser.getSym(1); btParser.setSym1(new Integer(a.intValue() + 1)); break; } // // Rule 341: FieldAccess ::= Primary . identifier // case 341: { Expr a = (Expr) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(3)); btParser.setSym1(nf.Field(pos(), a, b.getIdentifier())); break; } // // Rule 342: FieldAccess ::= super . identifier // case 342: { polyglot.lex.Identifier a = id(btParser.getToken(3)); btParser.setSym1(nf.Field(pos(btParser.getLastToken()), nf.Super(pos(btParser.getFirstToken())), a.getIdentifier())); break; } // // Rule 343: FieldAccess ::= ClassName . super . identifier // case 343: { Name a = (Name) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(3)); btParser.setSym1(nf.Field(pos(btParser.getLastToken()), nf.Super(pos(btParser.getFirstToken(3)), a.toType()), b.getIdentifier())); break; } // // Rule 344: MethodInvocation ::= MethodName ( ArgumentListopt ) // case 344: { Name a = (Name) btParser.getSym(1); List b = (List) btParser.getSym(3); btParser.setSym1(nf.Call(pos(), a.prefix == null ? null : a.prefix.toReceiver(), a.name, b)); break; } // // Rule 345: MethodInvocation ::= Primary . identifier ( ArgumentListopt ) // case 345: { Expr a = (Expr) btParser.getSym(1);//vj assert(btParser.getSym(3) == null); polyglot.lex.Identifier b = id(btParser.getToken(3)); List c = (List) btParser.getSym(5); btParser.setSym1(nf.Call(pos(), a, b.getIdentifier(), c)); break; } // // Rule 346: MethodInvocation ::= super . identifier ( ArgumentListopt ) // case 346: {//vj assert(btParser.getSym(3) == null); polyglot.lex.Identifier b = id(btParser.getToken(3)); List c = (List) btParser.getSym(5); btParser.setSym1(nf.Call(pos(), nf.Super(pos(btParser.getFirstToken())), b.getIdentifier(), c)); break; } // // Rule 347: MethodInvocation ::= ClassName . super . identifier ( ArgumentListopt ) // case 347: { Name a = (Name) btParser.getSym(1);//vj assert(btParser.getSym(5) == null); polyglot.lex.Identifier b = id(btParser.getToken(5)); List c = (List) btParser.getSym(7); btParser.setSym1(nf.Call(pos(), nf.Super(pos(btParser.getFirstToken(3)), a.toType()), b.getIdentifier(), c)); break; } // // Rule 348: PostfixExpression ::= Primary // case 348: break; // // Rule 349: PostfixExpression ::= ExpressionName // case 349: { Name a = (Name) btParser.getSym(1); btParser.setSym1(a.toExpr()); break; } // // Rule 350: PostfixExpression ::= PostIncrementExpression // case 350: break; // // Rule 351: PostfixExpression ::= PostDecrementExpression // case 351: break; // // Rule 352: PostIncrementExpression ::= PostfixExpression ++ // case 352: { Expr a = (Expr) btParser.getSym(1); btParser.setSym1(nf.Unary(pos(), a, Unary.POST_INC)); break; } // // Rule 353: PostDecrementExpression ::= PostfixExpression -- // case 353: { Expr a = (Expr) btParser.getSym(1); btParser.setSym1(nf.Unary(pos(), a, Unary.POST_DEC)); break; } // // Rule 354: UnaryExpression ::= PreIncrementExpression // case 354: break; // // Rule 355: UnaryExpression ::= PreDecrementExpression // case 355: break; // // Rule 356: UnaryExpression ::= + UnaryExpression // case 356: { Expr a = (Expr) btParser.getSym(2); btParser.setSym1(nf.Unary(pos(), Unary.POS, a)); break; } // // Rule 357: UnaryExpression ::= - UnaryExpression // case 357: { Expr a = (Expr) btParser.getSym(2); btParser.setSym1(nf.Unary(pos(), Unary.NEG, a)); break; } // // Rule 359: PreIncrementExpression ::= ++ UnaryExpression // case 359: { Expr a = (Expr) btParser.getSym(2); btParser.setSym1(nf.Unary(pos(), Unary.PRE_INC, a)); break; } // // Rule 360: PreDecrementExpression ::= -- UnaryExpression // case 360: { Expr a = (Expr) btParser.getSym(2); btParser.setSym1(nf.Unary(pos(), Unary.PRE_DEC, a)); break; } // // Rule 361: UnaryExpressionNotPlusMinus ::= PostfixExpression // case 361: break; // // Rule 362: UnaryExpressionNotPlusMinus ::= ~ UnaryExpression // case 362: { Expr a = (Expr) btParser.getSym(2); btParser.setSym1(nf.Unary(pos(), Unary.BIT_NOT, a)); break; } // // Rule 363: UnaryExpressionNotPlusMinus ::= ! UnaryExpression // case 363: { Expr a = (Expr) btParser.getSym(2); btParser.setSym1(nf.Unary(pos(), Unary.NOT, a)); break; } // // Rule 365: MultiplicativeExpression ::= UnaryExpression // case 365: break; // // Rule 366: MultiplicativeExpression ::= MultiplicativeExpression * UnaryExpression // case 366: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.MUL, b)); break; } // // Rule 367: MultiplicativeExpression ::= MultiplicativeExpression / UnaryExpression // case 367: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.DIV, b)); break; } // // Rule 368: MultiplicativeExpression ::= MultiplicativeExpression % UnaryExpression // case 368: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.MOD, b)); break; } // // Rule 369: AdditiveExpression ::= MultiplicativeExpression // case 369: break; // // Rule 370: AdditiveExpression ::= AdditiveExpression + MultiplicativeExpression // case 370: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.ADD, b)); break; } // // Rule 371: AdditiveExpression ::= AdditiveExpression - MultiplicativeExpression // case 371: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.SUB, b)); break; } // // Rule 372: ShiftExpression ::= AdditiveExpression // case 372: break; // // Rule 373: ShiftExpression ::= ShiftExpression << AdditiveExpression // case 373: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.SHL, b)); break; } // // Rule 374: ShiftExpression ::= ShiftExpression > > AdditiveExpression // case 374: { // TODO: make sure that there is no space between the ">" signs Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(4); btParser.setSym1(nf.Binary(pos(), a, Binary.SHR, b)); break; } // // Rule 375: ShiftExpression ::= ShiftExpression > > > AdditiveExpression // case 375: { // TODO: make sure that there is no space between the ">" signs Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(5); btParser.setSym1(nf.Binary(pos(), a, Binary.USHR, b)); break; } // // Rule 376: RelationalExpression ::= ShiftExpression // case 376: break; // // Rule 377: RelationalExpression ::= RelationalExpression < ShiftExpression // case 377: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.LT, b)); break; } // // Rule 378: RelationalExpression ::= RelationalExpression > ShiftExpression // case 378: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.GT, b)); break; } // // Rule 379: RelationalExpression ::= RelationalExpression <= ShiftExpression // case 379: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.LE, b)); break; } // // Rule 380: RelationalExpression ::= RelationalExpression > = ShiftExpression // case 380: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(4); btParser.setSym1(nf.Binary(pos(), a, Binary.GE, b)); break; } // // Rule 381: EqualityExpression ::= RelationalExpression // case 381: break; // // Rule 382: EqualityExpression ::= EqualityExpression == RelationalExpression // case 382: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.EQ, b)); break; } // // Rule 383: EqualityExpression ::= EqualityExpression != RelationalExpression // case 383: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.NE, b)); break; } // // Rule 384: AndExpression ::= EqualityExpression // case 384: break; // // Rule 385: AndExpression ::= AndExpression & EqualityExpression // case 385: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.BIT_AND, b)); break; } // // Rule 386: ExclusiveOrExpression ::= AndExpression // case 386: break; // // Rule 387: ExclusiveOrExpression ::= ExclusiveOrExpression ^ AndExpression // case 387: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.BIT_XOR, b)); break; } // // Rule 388: InclusiveOrExpression ::= ExclusiveOrExpression // case 388: break; // // Rule 389: InclusiveOrExpression ::= InclusiveOrExpression | ExclusiveOrExpression // case 389: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.BIT_OR, b)); break; } // // Rule 390: ConditionalAndExpression ::= InclusiveOrExpression // case 390: break; // // Rule 391: ConditionalAndExpression ::= ConditionalAndExpression && InclusiveOrExpression // case 391: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.COND_AND, b)); break; } // // Rule 392: ConditionalOrExpression ::= ConditionalAndExpression // case 392: break; // // Rule 393: ConditionalOrExpression ::= ConditionalOrExpression || ConditionalAndExpression // case 393: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3); btParser.setSym1(nf.Binary(pos(), a, Binary.COND_OR, b)); break; } // // Rule 394: ConditionalExpression ::= ConditionalOrExpression // case 394: break; // // Rule 395: ConditionalExpression ::= ConditionalOrExpression ? Expression : ConditionalExpression // case 395: { Expr a = (Expr) btParser.getSym(1), b = (Expr) btParser.getSym(3), c = (Expr) btParser.getSym(5); btParser.setSym1(nf.Conditional(pos(), a, b, c)); break; } // // Rule 396: AssignmentExpression ::= ConditionalExpression // case 396: break; // // Rule 397: AssignmentExpression ::= Assignment // case 397: break; // // Rule 398: Assignment ::= LeftHandSide AssignmentOperator AssignmentExpression // case 398: { Expr a = (Expr) btParser.getSym(1); Assign.Operator b = (Assign.Operator) btParser.getSym(2); Expr c = (Expr) btParser.getSym(3); btParser.setSym1(nf.Assign(pos(), a, b, c)); break; } // // Rule 399: LeftHandSide ::= ExpressionName // case 399: { Name a = (Name) btParser.getSym(1); btParser.setSym1(a.toExpr()); break; } // // Rule 400: LeftHandSide ::= FieldAccess // case 400: break; // // Rule 401: LeftHandSide ::= ArrayAccess // case 401: break; // // Rule 402: AssignmentOperator ::= = // case 402: { btParser.setSym1(Assign.ASSIGN); break; } // // Rule 403: AssignmentOperator ::= *= // case 403: { btParser.setSym1(Assign.MUL_ASSIGN); break; } // // Rule 404: AssignmentOperator ::= /= // case 404: { btParser.setSym1(Assign.DIV_ASSIGN); break; } // // Rule 405: AssignmentOperator ::= %= // case 405: { btParser.setSym1(Assign.MOD_ASSIGN); break; } // // Rule 406: AssignmentOperator ::= += // case 406: { btParser.setSym1(Assign.ADD_ASSIGN); break; } // // Rule 407: AssignmentOperator ::= -= // case 407: { btParser.setSym1(Assign.SUB_ASSIGN); break; } // // Rule 408: AssignmentOperator ::= <<= // case 408: { btParser.setSym1(Assign.SHL_ASSIGN); break; } // // Rule 409: AssignmentOperator ::= > > = // case 409: { // TODO: make sure that there is no space between the ">" signs btParser.setSym1(Assign.SHR_ASSIGN); break; } // // Rule 410: AssignmentOperator ::= > > > = // case 410: { // TODO: make sure that there is no space between the ">" signs btParser.setSym1(Assign.USHR_ASSIGN); break; } // // Rule 411: AssignmentOperator ::= &= // case 411: { btParser.setSym1(Assign.BIT_AND_ASSIGN); break; } // // Rule 412: AssignmentOperator ::= ^= // case 412: { btParser.setSym1(Assign.BIT_XOR_ASSIGN); break; } // // Rule 413: AssignmentOperator ::= |= // case 413: { btParser.setSym1(Assign.BIT_OR_ASSIGN); break; } // // Rule 414: Expression ::= AssignmentExpression // case 414: break; // // Rule 415: ConstantExpression ::= Expression // case 415: break; // // Rule 416: Dimsopt ::= $Empty // case 416: { btParser.setSym1(new Integer(0)); break; } // // Rule 417: Dimsopt ::= Dims // case 417: break; // // Rule 418: Catchesopt ::= $Empty // case 418: { btParser.setSym1(new TypedList(new LinkedList(), Catch.class, false)); break; } // // Rule 419: Catchesopt ::= Catches // case 419: break; // // Rule 420: identifieropt ::= $Empty // case 420: btParser.setSym1(null); break; // // Rule 421: identifieropt ::= identifier // case 421: { polyglot.lex.Identifier a = id(btParser.getToken(1)); btParser.setSym1(new Name(nf, ts, pos(), a.getIdentifier())); break; } // // Rule 422: ForUpdateopt ::= $Empty // case 422: { btParser.setSym1(new TypedList(new LinkedList(), ForUpdate.class, false)); break; } // // Rule 423: ForUpdateopt ::= ForUpdate // case 423: break; // // Rule 424: Expressionopt ::= $Empty // case 424: btParser.setSym1(null); break; // // Rule 425: Expressionopt ::= Expression // case 425: break; // // Rule 426: ForInitopt ::= $Empty // case 426: { btParser.setSym1(new TypedList(new LinkedList(), ForInit.class, false)); break; } // // Rule 427: ForInitopt ::= ForInit // case 427: break; // // Rule 428: SwitchLabelsopt ::= $Empty // case 428: { btParser.setSym1(new TypedList(new LinkedList(), Case.class, false)); break; } // // Rule 429: SwitchLabelsopt ::= SwitchLabels // case 429: break; // // Rule 430: SwitchBlockStatementGroupsopt ::= $Empty // case 430: { btParser.setSym1(new TypedList(new LinkedList(), SwitchElement.class, false)); break; } // // Rule 431: SwitchBlockStatementGroupsopt ::= SwitchBlockStatementGroups // case 431: break; // // Rule 432: VariableModifiersopt ::= $Empty // case 432: { btParser.setSym1(Flags.NONE); break; } // // Rule 433: VariableModifiersopt ::= VariableModifiers // case 433: break; // // Rule 434: VariableInitializersopt ::= $Empty // case 434: btParser.setSym1(null); break; // // Rule 435: VariableInitializersopt ::= VariableInitializers // case 435: break; // // Rule 436: ElementValuesopt ::= $Empty // case 436: btParser.setSym1(null); break; // // Rule 437: ElementValuesopt ::= ElementValues // case 437: bad_rule = 437; break; // // Rule 438: ElementValuePairsopt ::= $Empty // case 438: btParser.setSym1(null); break; // // Rule 439: ElementValuePairsopt ::= ElementValuePairs // case 439: bad_rule = 439; break; // // Rule 440: DefaultValueopt ::= $Empty // case 440: btParser.setSym1(null); break; // // Rule 441: DefaultValueopt ::= DefaultValue // case 441: break; // // Rule 442: AnnotationTypeElementDeclarationsopt ::= $Empty // case 442: btParser.setSym1(null); break; // // Rule 443: AnnotationTypeElementDeclarationsopt ::= AnnotationTypeElementDeclarations // case 443: bad_rule = 443; break; // // Rule 444: AbstractMethodModifiersopt ::= $Empty // case 444: { btParser.setSym1(Flags.NONE); break; } // // Rule 445: AbstractMethodModifiersopt ::= AbstractMethodModifiers // case 445: break; // // Rule 446: ConstantModifiersopt ::= $Empty // case 446: { btParser.setSym1(Flags.NONE); break; } // // Rule 447: ConstantModifiersopt ::= ConstantModifiers // case 447: break; // // Rule 448: InterfaceMemberDeclarationsopt ::= $Empty // case 448: { btParser.setSym1(new TypedList(new LinkedList(), ClassMember.class, false)); break; } // // Rule 449: InterfaceMemberDeclarationsopt ::= InterfaceMemberDeclarations // case 449: break; // // Rule 450: ExtendsInterfacesopt ::= $Empty // case 450: { btParser.setSym1(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 451: ExtendsInterfacesopt ::= ExtendsInterfaces // case 451: break; // // Rule 452: InterfaceModifiersopt ::= $Empty // case 452: { btParser.setSym1(Flags.NONE); break; } // // Rule 453: InterfaceModifiersopt ::= InterfaceModifiers // case 453: break; // // Rule 454: ClassBodyopt ::= $Empty // case 454: btParser.setSym1(null); break; // // Rule 455: ClassBodyopt ::= ClassBody // case 455: break; // // Rule 456: Argumentsopt ::= $Empty // case 456: btParser.setSym1(null); break; // // Rule 457: Argumentsopt ::= Arguments // case 457: bad_rule = 457; break; // // Rule 458: EnumBodyDeclarationsopt ::= $Empty // case 458: btParser.setSym1(null); break; // // Rule 459: EnumBodyDeclarationsopt ::= EnumBodyDeclarations // case 459: bad_rule = 459; break; // // Rule 460: ,opt ::= $Empty // case 460: btParser.setSym1(null); break; // // Rule 461: ,opt ::= , // case 461: break; // // Rule 462: EnumConstantsopt ::= $Empty // case 462: btParser.setSym1(null); break; // // Rule 463: EnumConstantsopt ::= EnumConstants // case 463: bad_rule = 463; break; // // Rule 464: ArgumentListopt ::= $Empty // case 464: { btParser.setSym1(new TypedList(new LinkedList(), Catch.class, false)); break; } // // Rule 465: ArgumentListopt ::= ArgumentList // case 465: break; // // Rule 466: BlockStatementsopt ::= $Empty // case 466: { btParser.setSym1(new TypedList(new LinkedList(), Stmt.class, false)); break; } // // Rule 467: BlockStatementsopt ::= BlockStatements // case 467: break; // // Rule 468: ExplicitConstructorInvocationopt ::= $Empty // case 468: btParser.setSym1(null); break; // // Rule 469: ExplicitConstructorInvocationopt ::= ExplicitConstructorInvocation // case 469: break; // // Rule 470: ConstructorModifiersopt ::= $Empty // case 470: { btParser.setSym1(Flags.NONE); break; } // // Rule 471: ConstructorModifiersopt ::= ConstructorModifiers // case 471: break; // // Rule 472: ...opt ::= $Empty // case 472: btParser.setSym1(null); break; // // Rule 473: ...opt ::= ... // case 473: break; // // Rule 474: FormalParameterListopt ::= $Empty // case 474: { btParser.setSym1(new TypedList(new LinkedList(), Formal.class, false)); break; } // // Rule 475: FormalParameterListopt ::= FormalParameterList // case 475: break; // // Rule 476: Throwsopt ::= $Empty // case 476: { btParser.setSym1(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 477: Throwsopt ::= Throws // case 477: break; // // Rule 478: MethodModifiersopt ::= $Empty // case 478: { btParser.setSym1(Flags.NONE); break; } // // Rule 479: MethodModifiersopt ::= MethodModifiers // case 479: break; // // Rule 480: FieldModifiersopt ::= $Empty // case 480: { btParser.setSym1(Flags.NONE); break; } // // Rule 481: FieldModifiersopt ::= FieldModifiers // case 481: break; // // Rule 482: ClassBodyDeclarationsopt ::= $Empty // case 482: { btParser.setSym1(new TypedList(new LinkedList(), ClassMember.class, false)); break; } // // Rule 483: ClassBodyDeclarationsopt ::= ClassBodyDeclarations // case 483: break; // // Rule 484: Interfacesopt ::= $Empty // case 484: { btParser.setSym1(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 485: Interfacesopt ::= Interfaces // case 485: break; // // Rule 486: Superopt ::= $Empty // case 486: btParser.setSym1(null); break; // // Rule 487: Superopt ::= Super // case 487: break; // // Rule 488: TypeParametersopt ::= $Empty // case 488: btParser.setSym1(null); break; // // Rule 489: TypeParametersopt ::= TypeParameters // case 489: break; // // Rule 490: ClassModifiersopt ::= $Empty // case 490: { btParser.setSym1(Flags.NONE); break; } // // Rule 491: ClassModifiersopt ::= ClassModifiers // case 491: break; // // Rule 492: Annotationsopt ::= $Empty // case 492: btParser.setSym1(null); break; // // Rule 493: Annotationsopt ::= Annotations // case 493: bad_rule = 493; break; // // Rule 494: TypeDeclarationsopt ::= $Empty // case 494: { btParser.setSym1(new TypedList(new LinkedList(), TopLevelDecl.class, false)); break; } // // Rule 495: TypeDeclarationsopt ::= TypeDeclarations // case 495: break; // // Rule 496: ImportDeclarationsopt ::= $Empty // case 496: { btParser.setSym1(new TypedList(new LinkedList(), Import.class, false)); break; } // // Rule 497: ImportDeclarationsopt ::= ImportDeclarations // case 497: break; // // Rule 498: PackageDeclarationopt ::= $Empty // case 498: btParser.setSym1(null); break; // // Rule 499: PackageDeclarationopt ::= PackageDeclaration // case 499: break; // // Rule 500: WildcardBoundsOpt ::= $Empty // case 500: btParser.setSym1(null); break; // // Rule 501: WildcardBoundsOpt ::= WildcardBounds // case 501: bad_rule = 501; break; // // Rule 502: AdditionalBoundListopt ::= $Empty // case 502: btParser.setSym1(null); break; // // Rule 503: AdditionalBoundListopt ::= AdditionalBoundList // case 503: bad_rule = 503; break; // // Rule 504: TypeBoundopt ::= $Empty // case 504: btParser.setSym1(null); break; // // Rule 505: TypeBoundopt ::= TypeBound // case 505: bad_rule = 505; break; // // Rule 506: TypeArgumentsopt ::= $Empty // case 506: btParser.setSym1(null); break; // // Rule 507: TypeArgumentsopt ::= TypeArguments // case 507: bad_rule = 507; break; // // Rule 508: Type ::= DataType PlaceTypeSpecifieropt // case 508: { // Just parse the placetype and drop it for now. break; } // // Rule 509: Type ::= nullable < Type > // case 509: { TypeNode a = (TypeNode) btParser.getSym(3); btParser.setSym1(nf.Nullable(pos(), a)); break; } // // Rule 510: Type ::= future < Type > // case 510: { TypeNode a = (TypeNode) btParser.getSym(3); btParser.setSym1(nf.Future(pos(), a)); break; } // // Rule 511: DataType ::= PrimitiveType // case 511: break; // // Rule 512: DataType ::= ClassOrInterfaceType // case 512: break; // // Rule 513: DataType ::= ArrayType // case 513: break; // // Rule 514: PlaceTypeSpecifier ::= @ PlaceType // case 514: break; // // Rule 515: PlaceType ::= place // case 515: break; // // Rule 516: PlaceType ::= activity // case 516: break; // // Rule 517: PlaceType ::= method // case 517: break; // // Rule 518: PlaceType ::= current // case 518: break; // // Rule 519: PlaceType ::= PlaceExpression // case 519: break; // // Rule 520: ClassOrInterfaceType ::= TypeName DepParametersopt // case 520: { Name a = (Name) btParser.getSym(1); TypeNode t = a.toType(); DepParameterExpr b = (DepParameterExpr) btParser.getSym(2); btParser.setSym1(b == null ? t : nf.ParametricTypeNode(pos(), t, b)); break; } // // Rule 521: DepParameters ::= ( DepParameterExpr ) // case 521: break; // // Rule 522: DepParameterExpr ::= ArgumentList WhereClauseopt // case 522: { List a = (List) btParser.getSym(1); Expr b = (Expr) btParser.getSym(2); btParser.setSym1(nf.DepParameterExpr(pos(),a,b)); break; } // // Rule 523: DepParameterExpr ::= WhereClause // case 523: { Expr b = (Expr) btParser.getSym(1); btParser.setSym1(nf.DepParameterExpr(pos(), null, b)); break; } // // Rule 524: WhereClause ::= : Expression // case 524: break; // // Rule 526: X10ArrayType ::= Type [ . ] // case 526: { TypeNode a = (TypeNode) btParser.getSym(1); TypeNode t = nf.X10ArrayTypeNode(pos(), a, false, null); btParser.setSym1(t); break; } // // Rule 527: X10ArrayType ::= Type reference [ . ] // case 527: { TypeNode a = (TypeNode) btParser.getSym(1); btParser.setSym1(nf.X10ArrayTypeNode(pos(), a, false, null)); break; } // // Rule 528: X10ArrayType ::= Type value [ . ] // case 528: { TypeNode a = (TypeNode) btParser.getSym(1); btParser.setSym1(nf.X10ArrayTypeNode(pos(), a, true, null)); break; } // // Rule 529: X10ArrayType ::= Type [ DepParameterExpr ] // case 529: { TypeNode a = (TypeNode) btParser.getSym(1); DepParameterExpr b = (DepParameterExpr) btParser.getSym(2); btParser.setSym1(nf.X10ArrayTypeNode(pos(), a, false, b)); break; } // // Rule 530: X10ArrayType ::= Type reference [ DepParameterExpr ] // case 530: { TypeNode a = (TypeNode) btParser.getSym(1); DepParameterExpr b = (DepParameterExpr) btParser.getSym(2); btParser.setSym1(nf.X10ArrayTypeNode(pos(), a, false, b)); break; } // // Rule 531: X10ArrayType ::= Type value [ DepParameterExpr ] // case 531: { TypeNode a = (TypeNode) btParser.getSym(1); DepParameterExpr b = (DepParameterExpr) btParser.getSym(2); btParser.setSym1(nf.X10ArrayTypeNode(pos(), a, true, b)); break; } // // Rule 532: ObjectKind ::= value // case 532: bad_rule = 532; break; // // Rule 533: ObjectKind ::= reference // case 533: bad_rule = 533; break; // // Rule 534: MethodModifier ::= atomic // case 534: { btParser.setSym1(Flags.ATOMIC); break; } // // Rule 535: MethodModifier ::= extern // case 535: { btParser.setSym1(Flags.NATIVE); break; } // // Rule 536: ClassDeclaration ::= ValueClassDeclaration // case 536: break; // // Rule 537: ValueClassDeclaration ::= ClassModifiersopt value identifier Superopt Interfacesopt ClassBody // case 537: { Flags a = (Flags) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(3)); TypeNode c = (TypeNode) btParser.getSym(4); List d = (List) btParser.getSym(5); ClassBody e = (ClassBody) btParser.getSym(6); btParser.setSym1(nf.ValueClassDecl(pos(btParser.getFirstToken(), btParser.getLastToken()), a, b.getIdentifier(), c, d, e)); break; } // // Rule 538: ValueClassDeclaration ::= ClassModifiersopt value class identifier Superopt Interfacesopt ClassBody // case 538: { Flags a = (Flags) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(4)); TypeNode c = (TypeNode) btParser.getSym(5); List d = (List) btParser.getSym(6); ClassBody e = (ClassBody) btParser.getSym(7); btParser.setSym1(nf.ValueClassDecl(pos(btParser.getFirstToken(), btParser.getLastToken()), a, b.getIdentifier(), c, d, e)); break; } // // Rule 539: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt [ ] ArrayInitializer // case 539: { TypeNode a = (TypeNode) btParser.getSym(2); ArrayInit d = (ArrayInit) btParser.getSym(6); // btParser.setSym1(nf.ArrayConstructor(pos(), a, false, null, d)); btParser.setSym1(nf.NewArray(pos(), a, 1, d)); break; } // // Rule 540: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt [ Expression ] // case 540: { TypeNode a = (TypeNode) btParser.getSym(2); boolean unsafe = (btParser.getSym(3) != null); Expr c = (Expr) btParser.getSym(5); btParser.setSym1(nf.ArrayConstructor(pos(), a, unsafe, false, c, null)); break; } // // Rule 541: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt [ Expression ] Expression // case 541: { TypeNode a = (TypeNode) btParser.getSym(2); boolean unsafe = (btParser.getSym(3) != null); Expr distr = (Expr) btParser.getSym(5); Expr initializer = (Expr) btParser.getSym(7); btParser.setSym1(nf.ArrayConstructor(pos(), a, unsafe, false, distr, initializer)); break; } // // Rule 542: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt [ Expression ] ( FormalParameter ) MethodBody // case 542: { TypeNode a = (TypeNode) btParser.getSym(2); boolean unsafe = (btParser.getSym(3) != null); Expr distr = (Expr) btParser.getSym(5); X10Formal f = (X10Formal) btParser.getSym(8); Block body = (Block) btParser.getSym(10); New initializer = makeInitializer( pos(btParser.getFirstToken(7), btParser.getLastToken(10)), a, f, body ); btParser.setSym1(nf.ArrayConstructor(pos(), a, unsafe, false, distr, initializer)); break; } // // Rule 543: ArrayCreationExpression ::= new ArrayBaseType value Unsafeopt [ Expression ] // case 543: { TypeNode a = (TypeNode) btParser.getSym(2); boolean unsafe = (btParser.getSym(3) != null); Expr c = (Expr) btParser.getSym(6); btParser.setSym1(nf.ArrayConstructor(pos(), a, unsafe, true, c, null)); break; } // // Rule 544: ArrayCreationExpression ::= new ArrayBaseType value Unsafeopt [ Expression ] Expression // case 544: { TypeNode a = (TypeNode) btParser.getSym(2); boolean unsafe = (btParser.getSym(4) != null); Expr c = (Expr) btParser.getSym(6); Expr d = (Expr) btParser.getSym(8); btParser.setSym1(nf.ArrayConstructor(pos(), a, unsafe, true, c, d)); break; } // // Rule 545: X10ArrayInitializer ::= Expression // case 545: break; // Sigh this is not trivial to do just yet :-( // // Rule 546: X10ArrayInitializer ::= ( FormalParameter ) MethodBody // case 546: bad_rule = 546; break; // // Rule 547: ArrayBaseType ::= PrimitiveType // case 547: break; // // Rule 548: ArrayBaseType ::= ClassOrInterfaceType // case 548: break; // // Rule 549: ArrayAccess ::= ExpressionName [ ArgumentList ] // case 549: { Name e = (Name) btParser.getSym(1); List b = (List) btParser.getSym(3); if (b.size() == 1) btParser.setSym1(nf.X10ArrayAccess1(pos(), e.toExpr(), (Expr) b.get(0))); else btParser.setSym1(nf.X10ArrayAccess(pos(), e.toExpr(), b)); break; } // // Rule 550: ArrayAccess ::= PrimaryNoNewArray [ ArgumentList ] // case 550: { Expr a = (Expr) btParser.getSym(1); List b = (List) btParser.getSym(3); if (b.size() == 1) btParser.setSym1(nf.X10ArrayAccess1(pos(), a, (Expr) b.get(0))); else btParser.setSym1(nf.X10ArrayAccess(pos(), a, b)); break; } // // Rule 551: Statement ::= NowStatement // case 551: break; // // Rule 552: Statement ::= ClockedStatement // case 552: break; // // Rule 553: Statement ::= AsyncStatement // case 553: break; // // Rule 554: Statement ::= AtomicStatement // case 554: break; // // Rule 555: Statement ::= WhenStatement // case 555: break; // // Rule 556: Statement ::= ForEachStatement // case 556: break; // // Rule 557: Statement ::= AtEachStatement // case 557: break; // // Rule 558: Statement ::= FinishStatement // case 558: break; // // Rule 559: StatementWithoutTrailingSubstatement ::= NextStatement // case 559: break; // // Rule 560: StatementWithoutTrailingSubstatement ::= AwaitStatement // case 560: break; // // Rule 561: StatementNoShortIf ::= NowStatementNoShortIf // case 561: break; // // Rule 562: StatementNoShortIf ::= ClockedStatementNoShortIf // case 562: break; // // Rule 563: StatementNoShortIf ::= AsyncStatementNoShortIf // case 563: break; // // Rule 564: StatementNoShortIf ::= AtomicStatementNoShortIf // case 564: break; // // Rule 565: StatementNoShortIf ::= WhenStatementNoShortIf // case 565: break; // // Rule 566: StatementNoShortIf ::= ForEachStatementNoShortIf // case 566: break; // // Rule 567: StatementNoShortIf ::= AtEachStatementNoShortIf // case 567: break; // // Rule 568: StatementNoShortIf ::= FinishStatementNoShortIf // case 568: break; // // Rule 569: NowStatement ::= now ( Clock ) Statement // case 569: { Name a = (Name) btParser.getSym(3); Stmt b = (Stmt) btParser.getSym(5); btParser.setSym1(nf.Now(pos(), a.toExpr(), b)); break; } // // Rule 570: ClockedStatement ::= clocked ( ClockList ) Statement // case 570: { List a = (List) btParser.getSym(3); Block b = (Block) btParser.getSym(5); btParser.setSym1(nf.Clocked(pos(), a, b)); break; } // // Rule 571: AsyncStatement ::= async PlaceExpressionSingleListopt Statement // case 571: { Expr e = (Expr) btParser.getSym(2); Stmt b = (Stmt) btParser.getSym(3); btParser.setSym1(nf.Async(pos(), (e == null ? nf.Here(pos(btParser.getFirstToken())) : e), b)); break; } // // Rule 572: AtomicStatement ::= atomic PlaceExpressionSingleListopt Statement // case 572: { Expr e = (Expr) btParser.getSym(2); Stmt b = (Stmt) btParser.getSym(3); btParser.setSym1(nf.Atomic(pos(), (e == null ? nf.Here(pos(btParser.getFirstToken())) : e), b)); break; } // // Rule 573: WhenStatement ::= when ( Expression ) Statement // case 573: { Expr e = (Expr) btParser.getSym(3); Stmt s = (Stmt) btParser.getSym(5); btParser.setSym1(nf.When(pos(), e,s)); break; } // // Rule 574: WhenStatement ::= WhenStatement or ( Expression ) Statement // case 574: { When w = (When) btParser.getSym(1); Expr e = (Expr) btParser.getSym(4); Stmt s = (Stmt) btParser.getSym(6); When.Branch wb = nf.WhenBranch(pos(btParser.getFirstToken(2), btParser.getLastToken(6)), e, s); w.add(wb); btParser.setSym1(w); break; } // // Rule 575: ForEachStatement ::= foreach ( FormalParameter : Expression ) Statement // case 575: { X10Formal f = (X10Formal) btParser.getSym(3); Formal ff = f.flags(f.flags().Final()); // make it final Expr e = (Expr) btParser.getSym(5); Stmt s = (Stmt) btParser.getSym(7); X10Loop x = nf.ForEach(pos(), ff, e, f.hasExplodedVars() ? nf.Block(pos(), f.explode(s)) : s); btParser.setSym1(x); break; } // // Rule 576: AtEachStatement ::= ateach ( FormalParameter : Expression ) Statement // case 576: { X10Formal f = (X10Formal) btParser.getSym(3); Formal ff = f.flags(f.flags().Final()); // make it final Expr e = (Expr) btParser.getSym(5); Stmt s = (Stmt) btParser.getSym(7); X10Loop x = nf.AtEach(pos(), ff, e, f.hasExplodedVars() ? nf.Block(pos(), f.explode(s)) : s); btParser.setSym1(x); break; } // // Rule 577: EnhancedForStatement ::= for ( FormalParameter : Expression ) Statement // case 577: { X10Formal f = (X10Formal) btParser.getSym(3); Formal ff = f.flags(f.flags().Final()); // make it final Expr e = (Expr) btParser.getSym(5); Stmt s = (Stmt) btParser.getSym(7); X10Loop x = nf.ForLoop(pos(), ff, e, f.hasExplodedVars() ? nf.Block(pos(), f.explode(s)) : s); btParser.setSym1(x); break; } // // Rule 578: FinishStatement ::= finish Statement // case 578: { Stmt b = (Stmt) btParser.getSym(2); btParser.setSym1(nf.Finish(pos(), b)); break; } // // Rule 579: NowStatementNoShortIf ::= now ( Clock ) StatementNoShortIf // case 579: { Name a = (Name) btParser.getSym(3); Stmt b = (Stmt) btParser.getSym(5); btParser.setSym1(nf.Now(pos(), a.toExpr(), b)); break; } // // Rule 580: ClockedStatementNoShortIf ::= clocked ( ClockList ) StatementNoShortIf // case 580: { List a = (List) btParser.getSym(3); Stmt b = (Stmt) btParser.getSym(5); btParser.setSym1(nf.Clocked(pos(), a, b)); break; } // // Rule 581: AsyncStatementNoShortIf ::= async PlaceExpressionSingleListopt StatementNoShortIf // case 581: { Expr e = (Expr) btParser.getSym(2); Stmt b = (Stmt) btParser.getSym(3); btParser.setSym1(nf.Async(pos(), (e == null ? nf.Here(pos(btParser.getFirstToken())) : e), b)); break; } // // Rule 582: AtomicStatementNoShortIf ::= atomic StatementNoShortIf // case 582: { Expr e = (Expr) btParser.getSym(2); Stmt b = (Stmt) btParser.getSym(3); btParser.setSym1(nf.Atomic(pos(), (e == null ? nf.Here(pos(btParser.getFirstToken())) : e), b)); break; } // // Rule 583: WhenStatementNoShortIf ::= when ( Expression ) StatementNoShortIf // case 583: { Expr e = (Expr) btParser.getSym(3); Stmt s = (Stmt) btParser.getSym(5); btParser.setSym1(nf.When(pos(), e,s)); break; } // // Rule 584: WhenStatementNoShortIf ::= WhenStatement or ( Expression ) StatementNoShortIf // case 584: { When w = (When) btParser.getSym(1); Expr e = (Expr) btParser.getSym(4); Stmt s = (Stmt) btParser.getSym(6); When.Branch wb = nf.WhenBranch(pos(btParser.getFirstToken(2), btParser.getLastToken(6)), e, s); w.add(wb); btParser.setSym1(w); break; } // // Rule 585: ForEachStatementNoShortIf ::= foreach ( FormalParameter : Expression ) StatementNoShortIf // case 585: { X10Formal f = (X10Formal) btParser.getSym(3); Formal ff = f.flags(f.flags().Final()); // make it final Expr e = (Expr) btParser.getSym(5); Stmt s = (Stmt) btParser.getSym(7); X10Loop x = nf.ForEach(pos(), ff, e, f.hasExplodedVars() ? nf.Block(pos(), f.explode(s)) : s); btParser.setSym1(x); break; } // // Rule 586: AtEachStatementNoShortIf ::= ateach ( FormalParameter : Expression ) StatementNoShortIf // case 586: { X10Formal f = (X10Formal) btParser.getSym(3); Formal ff = f.flags(f.flags().Final()); // make it final Expr e = (Expr) btParser.getSym(5); Stmt s = (Stmt) btParser.getSym(7); X10Loop x = nf.AtEach(pos(), ff, e, f.hasExplodedVars() ? nf.Block(pos(), f.explode(s)) : s); btParser.setSym1(x); break; } // // Rule 587: EnhancedForStatementNoShortIf ::= for ( FormalParameter : Expression ) StatementNoShortIf // case 587: { X10Formal f = (X10Formal) btParser.getSym(3); Formal ff = f.flags(f.flags().Final()); // make it final Expr e = (Expr) btParser.getSym(5); Stmt s = (Stmt) btParser.getSym(7); X10Loop x = nf.ForLoop(pos(), ff, e, f.hasExplodedVars() ? nf.Block(pos(), f.explode(s)) : s); btParser.setSym1(x); break; } // // Rule 588: FinishStatementNoShortIf ::= finish StatementNoShortIf // case 588: { Stmt b = (Stmt) btParser.getSym(2); btParser.setSym1(nf.Finish(pos(), b)); break; } // // Rule 589: PlaceExpressionSingleList ::= ( PlaceExpression ) // case 589: { btParser.setSym1(btParser.getSym(2)); break; } // // Rule 590: PlaceExpression ::= here // case 590: { btParser.setSym1(nf.Here(pos(btParser.getFirstToken()))); break; } // // Rule 591: PlaceExpression ::= this // case 591: { btParser.setSym1(nf.Field(pos(btParser.getFirstToken()), nf.This(pos(btParser.getFirstToken())), "place")); break; } // // Rule 592: PlaceExpression ::= Expression // case 592: break; // // Rule 593: PlaceExpression ::= ArrayAccess // case 593: bad_rule = 593; break; // // Rule 594: NextStatement ::= next ; // case 594: { btParser.setSym1(nf.Next(pos())); break; } // // Rule 595: AwaitStatement ::= await Expression ; // case 595: { Expr e = (Expr) btParser.getSym(2); btParser.setSym1(nf.Await(pos(), e)); break; } // // Rule 596: ClockList ::= Clock // case 596: { Name c = (Name) btParser.getSym(1); List l = new TypedList(new LinkedList(), Expr.class, false); l.add(c.toExpr()); btParser.setSym1(l); break; } // // Rule 597: ClockList ::= ClockList , Clock // case 597: { List l = (List) btParser.getSym(1); Name c = (Name) btParser.getSym(3); l.add(c.toExpr()); // btParser.setSym1(l); break; } // // Rule 598: Clock ::= identifier // case 598: { polyglot.lex.Identifier a = id(btParser.getToken(1)); btParser.setSym1(new Name(nf, ts, pos(), a.getIdentifier())); break; } // // Rule 599: CastExpression ::= ( Type ) UnaryExpressionNotPlusMinus // case 599: { TypeNode a = (TypeNode) btParser.getSym(2); Expr b = (Expr) btParser.getSym(4); btParser.setSym1(nf.Cast(pos(), a, b)); break; } // // Rule 600: MethodInvocation ::= Primary -> identifier ( ArgumentListopt ) // case 600: { Expr a = (Expr) btParser.getSym(1); polyglot.lex.Identifier b = id(btParser.getToken(3)); List c = (List) btParser.getSym(5); btParser.setSym1(nf.RemoteCall(pos(), a, b.getIdentifier(), c)); break; } // // Rule 601: RelationalExpression ::= RelationalExpression instanceof Type // case 601: { Expr a = (Expr) btParser.getSym(1); TypeNode b = (TypeNode) btParser.getSym(3); btParser.setSym1(nf.Instanceof(pos(), a, b)); break; } // // Rule 602: ExpressionName ::= here // case 602: { btParser.setSym1(new Name(nf, ts, pos(), "here"){ public Expr toExpr() { return ((X10NodeFactory) nf).Here(pos); } }); break; } // // Rule 603: IdentifierList ::= IdentifierList , identifier // case 603: { List l = (List) btParser.getSym(1); polyglot.lex.Identifier a = id(btParser.getToken(3)); l.add(new Name(nf, ts, pos(), a.getIdentifier())); btParser.setSym1(l); break; } // // Rule 604: IdentifierList ::= identifier // case 604: { polyglot.lex.Identifier a = id(btParser.getToken(1)); List l = new TypedList(new LinkedList(), Name.class, false); l.add(new Name(nf, ts, pos(), a.getIdentifier())); btParser.setSym1(l); break; } // // Rule 605: Primary ::= FutureExpression // case 605: break; // // Rule 606: Primary ::= [ ArgumentList ] // case 606: { Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); Name x10LangRegion = new Name(nf, ts, pos(), x10Lang, "region"); Name x10LangRegionFactory = new Name(nf, ts, pos(), x10LangRegion, "factory"); Name x10LangRegionFactoryRegion = new Name(nf, ts, pos(), x10LangRegionFactory, "region"); Name x10LangPoint = new Name(nf, ts, pos(), x10Lang, "point"); Name x10LangPointFactory = new Name(nf, ts, pos(), x10LangPoint, "factory"); Name x10LangPointFactoryPoint = new Name(nf, ts, pos(), x10LangPointFactory, "point"); List a = (List) btParser.getSym(2); Tuple tuple = nf.Tuple(pos(), x10LangPointFactoryPoint, x10LangRegionFactoryRegion, a); btParser.setSym1(tuple); break; } // // Rule 607: AssignmentExpression ::= Expression -> Expression // case 607: { Expr a = (Expr) btParser.getSym(1); Expr b = (Expr) btParser.getSym(3); //System.out.println("Distribution:" + a + "|" + b + "|"); // x10.lang.region.factory.region( ArgumentList ) // Construct the MethodName Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); Name x10LangDistribution = new Name(nf, ts, pos(), x10Lang, "distribution"); Name x10LangDistributionFactory = new Name(nf, ts, pos(), x10LangDistribution, "factory"); Name x10LangDistributionFactoryConstant = new Name(nf, ts, pos(), x10LangDistributionFactory, "constant"); List l = new TypedList(new LinkedList(), Expr.class, false); l.add(a); l.add(b); Call call = nf.Call(pos(), x10LangDistributionFactoryConstant.prefix.toReceiver(), "constant", l); btParser.setSym1(call); break; } // // Rule 608: Primary ::= Expression : Expression // case 608: { Expr a = (Expr) btParser.getSym(1); Expr b = (Expr) btParser.getSym(3); Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); Name x10LangRegion = new Name(nf, ts, pos(), x10Lang, "region"); Name x10LangRegionFactory = new Name(nf, ts, pos(), x10LangRegion, "factory"); Name x10LangRegionFactoryRegion = new Name(nf, ts, pos(), x10LangRegionFactory, "region"); List l = new TypedList(new LinkedList(), Expr.class, false); l.add(a); l.add(b); Call regionCall = nf.Call( pos(), x10LangRegionFactoryRegion.prefix.toReceiver(), "region", l ); btParser.setSym1(regionCall); break; } // // Rule 609: FutureExpression ::= future PlaceExpressionSingleListopt { Expression } // case 609: { Expr e1 = (Expr) btParser.getSym(2), e2 = (Expr) btParser.getSym(4); btParser.setSym1(nf.Future(pos(), (e1 == null ? nf.Here(pos(btParser.getFirstToken())) : e1), e2)); break; } // // Rule 610: FieldModifier ::= mutable // case 610: { btParser.setSym1(Flags.MUTABLE); break; } // // Rule 611: FieldModifier ::= const // case 611: { btParser.setSym1(Flags.PUBLIC.set(Flags.STATIC).set(Flags.FINAL)); break; } // // Rule 612: FunExpression ::= fun Type ( FormalParameterListopt ) { Expression } // case 612: bad_rule = 612; break; // // Rule 613: MethodInvocation ::= MethodName ( ArgumentListopt ) ( ArgumentListopt ) // case 613: bad_rule = 613; break; // // Rule 614: MethodInvocation ::= Primary . identifier ( ArgumentListopt ) ( ArgumentListopt ) // case 614: bad_rule = 614; break; // // Rule 615: MethodInvocation ::= super . identifier ( ArgumentListopt ) ( ArgumentListopt ) // case 615: bad_rule = 615; break; // // Rule 616: MethodInvocation ::= ClassName . super . identifier ( ArgumentListopt ) ( ArgumentListopt ) // case 616: bad_rule = 616; break; // // Rule 617: MethodInvocation ::= TypeName . identifier ( ArgumentListopt ) ( ArgumentListopt ) // case 617: bad_rule = 617; break; // // Rule 618: ClassInstanceCreationExpression ::= new ClassOrInterfaceType ( ArgumentListopt ) ( ArgumentListopt ) ClassBodyopt // case 618: bad_rule = 618; break; // // Rule 619: ClassInstanceCreationExpression ::= Primary . new identifier ( ArgumentListopt ) ( ArgumentListopt ) ClassBodyopt // case 619: bad_rule = 619; break; // // Rule 620: ClassInstanceCreationExpression ::= AmbiguousName . new identifier ( ArgumentListopt ) ( ArgumentListopt ) ClassBodyopt // case 620: bad_rule = 620; break; // // Rule 621: PlaceTypeSpecifieropt ::= $Empty // case 621: btParser.setSym1(null); break; // // Rule 622: PlaceTypeSpecifieropt ::= PlaceTypeSpecifier // case 622: break; // // Rule 623: DepParametersopt ::= $Empty // case 623: btParser.setSym1(null); break; // // Rule 624: DepParametersopt ::= DepParameters // case 624: break; // // Rule 625: WhereClauseopt ::= $Empty // case 625: btParser.setSym1(null); break; // // Rule 626: WhereClauseopt ::= WhereClause // case 626: break; // // Rule 627: ObjectKindopt ::= $Empty // case 627: btParser.setSym1(null); break; // // Rule 628: ObjectKindopt ::= ObjectKind // case 628: break; // // Rule 629: ArrayInitializeropt ::= $Empty // case 629: btParser.setSym1(null); break; // // Rule 630: ArrayInitializeropt ::= ArrayInitializer // case 630: break; // // Rule 631: PlaceExpressionSingleListopt ::= $Empty // case 631: btParser.setSym1(null); break; // // Rule 632: PlaceExpressionSingleListopt ::= PlaceExpressionSingleList // case 632: break; // // Rule 633: ArgumentListopt ::= $Empty // case 633: btParser.setSym1(null); break; // // Rule 634: ArgumentListopt ::= ArgumentList // case 634: break; // // Rule 635: DepParametersopt ::= $Empty // case 635: btParser.setSym1(null); break; // // Rule 636: DepParametersopt ::= DepParameters // case 636: break; // // Rule 637: Unsafeopt ::= $Empty // case 637: btParser.setSym1(null); break; // // Rule 638: Unsafeopt ::= unsafe // case 638: { btParser.setSym1(nf.Here(pos(btParser.getFirstToken(1)))); break; } // // Rule 639: ParamIdopt ::= $Empty // case 639: btParser.setSym1(null); break; // // Rule 640: ParamIdopt ::= identifier // case 640: { polyglot.lex.Identifier a = id(btParser.getToken(1)); btParser.setSym1(new Name(nf, ts, pos(), a.getIdentifier())); break; } default: break; } return; }
1832 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1832/0c6c148f7be6e4cc0e87c12a307232047c894d1b/X10Parser.java/buggy/x10.compiler/src/x10/parser/X10Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1720, 1803, 12, 474, 1720, 1854, 13, 565, 288, 3639, 309, 261, 8759, 67, 5345, 480, 374, 13, 5411, 327, 31, 3639, 1620, 261, 5345, 1854, 13, 3639, 288, 2398, 368, 5411, 368, 6781, 404, 30, 225, 2756, 493, 33, 26765, 5411, 368, 5411, 648, 404, 30, 288, 377, 309, 261, 683, 87, 1228, 18, 588, 5677, 12, 23602, 2678, 18, 588, 1345, 12, 21, 3719, 480, 1139, 2163, 26954, 2942, 18, 56, 47, 67, 16606, 540, 597, 261, 4820, 18, 13139, 67, 6006, 2932, 4288, 3113, 576, 20349, 288, 540, 8706, 18, 6006, 12, 22, 10837, 2678, 7005, 310, 4932, 315, 397, 15604, 846, 87, 1228, 18, 17994, 12, 23602, 2678, 18, 588, 1345, 12, 21, 3719, 397, 15604, 315, 622, 315, 397, 15604, 846, 87, 1228, 18, 588, 1670, 12, 23602, 2678, 18, 588, 1345, 12, 21, 3719, 397, 15604, 6153, 397, 15604, 846, 87, 1228, 18, 588, 1494, 12, 23602, 2678, 18, 588, 1345, 12, 21, 3719, 397, 15604, 315, 1368, 392, 2756, 8863, 1377, 289, 7734, 898, 31, 5411, 289, 1171, 368, 5411, 368, 6781, 576, 30, 225, 14488, 559, 493, 33, 16980, 559, 5411, 368, 5411, 648, 576, 30, 7734, 898, 31, 2398, 368, 5411, 368, 6781, 890, 30, 225, 14488, 559, 493, 33, 1250, 5411, 368, 5411, 648, 890, 30, 288, 7734, 10921, 2678, 18, 542, 11901, 21, 12, 82, 74, 18, 15512, 559, 907, 12, 917, 9334, 3742, 18, 5507, 1435, 10019, 7734, 898, 31, 5411, 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, 1071, 918, 1720, 1803, 12, 474, 1720, 1854, 13, 565, 288, 3639, 309, 261, 8759, 67, 5345, 480, 374, 13, 5411, 327, 31, 3639, 1620, 261, 5345, 1854, 13, 3639, 288, 2398, 368, 5411, 368, 6781, 404, 30, 225, 2756, 493, 33, 26765, 5411, 368, 5411, 648, 404, 30, 288, 377, 309, 261, 683, 87, 1228, 18, 588, 5677, 12, 23602, 2678, 18, 588, 1345, 12, 21, 3719, 480, 1139, 2163, 26954, 2942, 18, 56, 47, 67, 16606, 540, 597, 261, 4820, 18, 13139, 67, 6006, 2932, 4288, 3113, 576, 20349, 288, 540, 8706, 18, 6006, 12, 22, 10837, 2678, 7005, 310, 4932, 315, 397, 15604, 846, 87, 1228, 18, 17994, 12, 23602, 2678, 18, 588, 1345, 12, 2 ]
if (jj_3R_51()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_355()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; }
final private boolean jj_3R_343() { if (jj_scan_token(ASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_3R_51()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/050f1d327a4f37a9453fd61c6eb891b6097d82f6/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 5026, 23, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 23289, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 10593, 10756, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 5026, 23, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 23289, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 10593, 10756, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(A_OpenCms.isLogging()) {
if((A_OpenCms.isLogging() && I_CmsLogChannels.C_PREPROCESSOR_IS_LOGGING)) {
protected byte[] generateOutput(CmsObject cms, CmsFile file, String startTemplateClass, I_CmsRequest req, A_OpenCms openCms) throws CmsException { byte[] output = null; // Hashtable for collecting all parameters. Hashtable newParameters = new Hashtable(); // Parameters used for element cache boolean elementCacheEnabled = cms.getRequestContext().isElementCacheEnabled(); CmsElementCache elementCache = null; String uri = cms.getRequestContext().getUri(); CmsUriDescriptor uriDesc = null; CmsUriLocator uriLoc = null; CmsUri cmsUri = null; String templateClass = null; String templateName = null; CmsXmlControlFile doc = null; if(elementCacheEnabled) { // Get the global element cache object elementCache = cms.getRequestContext().getElementCache(); // Prepare URI Locator uriDesc = new CmsUriDescriptor(uri); uriLoc = elementCache.getUriLocator(); cmsUri = uriLoc.get(uriDesc); } if(cmsUri == null || !elementCacheEnabled) { // Entry point to page file analysis. // For performance reasons this should only be done if the element // cache is not activated or if it's activated but no URI object could be found. // Parse the page file try { doc = new CmsXmlControlFile(cms, file); } catch(Exception e) { // there was an error while parsing the document. // No chance to go on here. handleException(cms, e, "There was an error while parsing XML page file " + file.getAbsolutePath()); return "".getBytes(); } // Get the names of the master template and the template class from // the parsed page file. Fall back to default value, if template class // is not defined templateClass = doc.getTemplateClass(); if(templateClass == null || "".equals(templateClass)) { templateClass = startTemplateClass; } if(templateClass == null || "".equals(templateClass)) { templateClass = "com.opencms.template.CmsXmlTemplate"; } templateName = doc.getMasterTemplate(); // Previously, the template class was loaded here. // We avoid doing this so early, since in element cache mode the template // class is not needed here. // Now look for parameters in the page file... // ... first the params of the master template... Enumeration masterTemplateParams = doc.getParameterNames(); while(masterTemplateParams.hasMoreElements()) { String paramName = (String)masterTemplateParams.nextElement(); String paramValue = doc.getParameter(paramName); newParameters.put(C_ROOT_TEMPLATE_NAME + "." + paramName, paramValue); } // ... and now the params of all subtemplates Enumeration elementDefinitions = doc.getElementDefinitions(); while(elementDefinitions.hasMoreElements()) { String elementName = (String)elementDefinitions.nextElement(); if(doc.isElementClassDefined(elementName)) { newParameters.put(elementName + "._CLASS_", doc.getElementClass(elementName)); } if(doc.isElementTemplateDefined(elementName)) { newParameters.put(elementName + "._TEMPLATE_", doc.getElementTemplate(elementName)); } if(doc.isElementTemplSelectorDefined(elementName)) { newParameters.put(elementName + "._TEMPLATESELECTOR_", doc.getElementTemplSelector(elementName)); } Enumeration parameters = doc.getElementParameterNames(elementName); while(parameters.hasMoreElements()) { String paramName = (String)parameters.nextElement(); String paramValue = doc.getElementParameter(elementName, paramName); if(paramValue != null) { newParameters.put(elementName + "." + paramName, paramValue); } else { if(A_OpenCms.isLogging()) { A_OpenCms.log(C_OPENCMS_INFO, getClassName() + "Empty parameter \"" + paramName + "\" found."); } } } } } // URL parameters ary really dynamic. // We cannot store them in an element cache. // Therefore these parameters must be collected in ANY case! String datafor = req.getParameter("datafor"); if(datafor == null) { datafor = ""; } else { if(!"".equals(datafor)) { datafor = datafor + "."; } } Enumeration urlParameterNames = req.getParameterNames(); while(urlParameterNames.hasMoreElements()) { String pname = (String)urlParameterNames.nextElement(); String paramValue = req.getParameter(pname); if(paramValue != null) { if((!"datafor".equals(pname)) && (!"_clearcache".equals(pname))) { newParameters.put(datafor + pname, paramValue); } } else { if(A_OpenCms.isLogging()) { A_OpenCms.log(C_OPENCMS_INFO, getClassName() + "Empty URL parameter \"" + pname + "\" found."); } } } if(elementCacheEnabled && cmsUri == null) { // ---- element cache stuff -------- // No URI could be found in cache. // So create a new URI object with a start element and store it using the UriLocator CmsElementDescriptor elemDesc = new CmsElementDescriptor(templateClass, templateName); CmsElementDefinitionCollection eldefs = doc.getElementDefinitionCollection(); cmsUri = new CmsUri(elemDesc, null, eldefs); elementCache.getUriLocator().put(uriDesc, cmsUri); } if(elementCacheEnabled) { output = elementCache.callCanonicalRoot(cms, newParameters); } else { // ----- traditional stuff ------ // Element cache is deactivated. So let's go on as usual. try { CmsFile masterTemplate = loadMasterTemplateFile(cms, templateName, doc); I_CmsTemplate tmpl = getTemplateClass(cms, templateClass); if(!(tmpl instanceof I_CmsXmlTemplate)) { String errorMessage = "Error in " + file.getAbsolutePath() + ": " + templateClass + " is not a XML template class."; if(A_OpenCms.isLogging()) { A_OpenCms.log(C_OPENCMS_CRITICAL, getClassName() + errorMessage); } throw new CmsException(errorMessage, CmsException.C_XML_WRONG_TEMPLATE_CLASS); } output = callCanonicalRoot(cms, (I_CmsTemplate)tmpl, masterTemplate, newParameters); } catch(CmsException e) { if(A_OpenCms.isLogging()) { A_OpenCms.log(C_OPENCMS_INFO, "[CmsXmlLauncher] There were exceptions while generating output for " + file.getAbsolutePath()); A_OpenCms.log(C_OPENCMS_INFO, "[CmsXmlLauncher] Clearing template file cache for this file."); } doc.removeFromFileCache(); throw e; } } return output; }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/65fec749058083642e3e85283287c65357fa8690/CmsXmlLauncher.java/clean/src/com/opencms/launcher/CmsXmlLauncher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1160, 8526, 2103, 1447, 12, 4747, 921, 6166, 16, 28118, 585, 16, 514, 787, 2283, 797, 16, 467, 67, 4747, 691, 1111, 16, 432, 67, 3678, 4747, 1696, 4747, 13, 1216, 11228, 288, 3639, 1160, 8526, 876, 273, 446, 31, 3639, 368, 18559, 364, 30160, 777, 1472, 18, 3639, 18559, 394, 2402, 273, 394, 18559, 5621, 3639, 368, 7012, 1399, 364, 930, 1247, 3639, 1250, 930, 1649, 1526, 273, 6166, 18, 588, 21426, 7675, 291, 1046, 1649, 1526, 5621, 3639, 2149, 1046, 1649, 930, 1649, 273, 446, 31, 3639, 514, 2003, 273, 6166, 18, 588, 21426, 7675, 588, 3006, 5621, 3639, 2149, 3006, 3187, 2003, 4217, 273, 446, 31, 3639, 2149, 3006, 5786, 2003, 1333, 273, 446, 31, 3639, 2149, 3006, 6166, 3006, 273, 446, 31, 3639, 514, 1542, 797, 273, 446, 31, 3639, 514, 15523, 273, 446, 31, 3639, 16084, 3367, 812, 997, 273, 446, 31, 3639, 309, 12, 2956, 1649, 1526, 13, 288, 5411, 368, 968, 326, 2552, 930, 1247, 733, 5411, 930, 1649, 273, 6166, 18, 588, 21426, 7675, 21336, 1649, 5621, 5411, 368, 7730, 3699, 2851, 639, 5411, 2003, 4217, 273, 394, 2149, 3006, 3187, 12, 1650, 1769, 5411, 2003, 1333, 273, 930, 1649, 18, 588, 3006, 5786, 5621, 5411, 6166, 3006, 273, 2003, 1333, 18, 588, 12, 1650, 4217, 1769, 3639, 289, 3639, 309, 12, 6851, 3006, 422, 446, 747, 401, 2956, 1649, 1526, 13, 288, 5411, 368, 3841, 1634, 358, 1363, 585, 6285, 18, 5411, 368, 2457, 9239, 14000, 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, 1160, 8526, 2103, 1447, 12, 4747, 921, 6166, 16, 28118, 585, 16, 514, 787, 2283, 797, 16, 467, 67, 4747, 691, 1111, 16, 432, 67, 3678, 4747, 1696, 4747, 13, 1216, 11228, 288, 3639, 1160, 8526, 876, 273, 446, 31, 3639, 368, 18559, 364, 30160, 777, 1472, 18, 3639, 18559, 394, 2402, 273, 394, 18559, 5621, 3639, 368, 7012, 1399, 364, 930, 1247, 3639, 1250, 930, 1649, 1526, 273, 6166, 18, 588, 21426, 7675, 291, 1046, 1649, 1526, 5621, 3639, 2149, 1046, 1649, 930, 1649, 273, 446, 31, 3639, 514, 2003, 273, 6166, 18, 588, 21426, 7675, 588, 3006, 5621, 3639, 2149, 3006, 3187, 2003, 4217, 273, 446, 31, 3639, 2149, 3006, 5786, 2003, 1333, 273, 446, 2 ]
eDynamicUnset( eFeature );
super.eUnset( featureID );
public void eUnset( EStructuralFeature eFeature ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case TypePackage.PIE_SERIES__VISIBLE : unsetVisible( ); return; case TypePackage.PIE_SERIES__LABEL : setLabel( (Label) null ); return; case TypePackage.PIE_SERIES__DATA_DEFINITION : getDataDefinition( ).clear( ); return; case TypePackage.PIE_SERIES__SERIES_IDENTIFIER : setSeriesIdentifier( SERIES_IDENTIFIER_EDEFAULT ); return; case TypePackage.PIE_SERIES__DATA_POINT : setDataPoint( (DataPoint) null ); return; case TypePackage.PIE_SERIES__DATA_SETS : getDataSets( ).clear( ); return; case TypePackage.PIE_SERIES__LABEL_POSITION : unsetLabelPosition( ); return; case TypePackage.PIE_SERIES__STACKED : unsetStacked( ); return; case TypePackage.PIE_SERIES__TRIGGERS : getTriggers( ).clear( ); return; case TypePackage.PIE_SERIES__TRANSLUCENT : unsetTranslucent( ); return; case TypePackage.PIE_SERIES__CURVE_FITTING : setCurveFitting( (CurveFitting) null ); return; case TypePackage.PIE_SERIES__EXPLOSION : unsetExplosion( ); return; case TypePackage.PIE_SERIES__EXPLOSION_EXPRESSION : setExplosionExpression( EXPLOSION_EXPRESSION_EDEFAULT ); return; case TypePackage.PIE_SERIES__TITLE : setTitle( (Label) null ); return; case TypePackage.PIE_SERIES__TITLE_POSITION : unsetTitlePosition( ); return; case TypePackage.PIE_SERIES__LEADER_LINE_ATTRIBUTES : setLeaderLineAttributes( (LineAttributes) null ); return; case TypePackage.PIE_SERIES__LEADER_LINE_STYLE : unsetLeaderLineStyle( ); return; case TypePackage.PIE_SERIES__LEADER_LINE_LENGTH : unsetLeaderLineLength( ); return; case TypePackage.PIE_SERIES__SLICE_OUTLINE : setSliceOutline( (ColorDefinition) null ); return; case TypePackage.PIE_SERIES__RATIO : unsetRatio( ); return; } eDynamicUnset( eFeature ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/036e8c78765730b146e5854b9d6c397a296fed86/PieSeriesImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/impl/PieSeriesImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 19698, 12, 512, 14372, 4595, 425, 4595, 262, 202, 95, 202, 202, 9610, 261, 425, 21007, 14372, 4595, 734, 12, 425, 4595, 262, 262, 202, 202, 95, 1082, 202, 3593, 1412, 2261, 18, 24414, 67, 2123, 8805, 972, 29588, 294, 9506, 202, 18579, 6207, 12, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 1412, 2261, 18, 24414, 67, 2123, 8805, 972, 13545, 294, 9506, 202, 542, 2224, 12, 261, 2224, 13, 446, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 1412, 2261, 18, 24414, 67, 2123, 8805, 972, 4883, 67, 25312, 294, 9506, 202, 588, 751, 1852, 12, 262, 18, 8507, 12, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 1412, 2261, 18, 24414, 67, 2123, 8805, 972, 2123, 8805, 67, 16606, 294, 9506, 202, 542, 6485, 3004, 12, 7758, 8805, 67, 16606, 67, 11236, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 1412, 2261, 18, 24414, 67, 2123, 8805, 972, 4883, 67, 8941, 294, 9506, 202, 542, 751, 2148, 12, 261, 751, 2148, 13, 446, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 1412, 2261, 18, 24414, 67, 2123, 8805, 972, 4883, 67, 28092, 294, 9506, 202, 588, 751, 2785, 12, 262, 18, 8507, 12, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 1412, 2261, 18, 24414, 67, 2123, 8805, 972, 13545, 67, 15258, 294, 9506, 202, 18579, 2224, 2555, 12, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 1412, 2261, 18, 24414, 67, 2123, 8805, 972, 21971, 2056, 294, 9506, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 19698, 12, 512, 14372, 4595, 425, 4595, 262, 202, 95, 202, 202, 9610, 261, 425, 21007, 14372, 4595, 734, 12, 425, 4595, 262, 262, 202, 202, 95, 1082, 202, 3593, 1412, 2261, 18, 24414, 67, 2123, 8805, 972, 29588, 294, 9506, 202, 18579, 6207, 12, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 1412, 2261, 18, 24414, 67, 2123, 8805, 972, 13545, 294, 9506, 202, 542, 2224, 12, 261, 2224, 13, 446, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 1412, 2261, 18, 24414, 67, 2123, 8805, 972, 4883, 67, 25312, 294, 9506, 202, 588, 751, 1852, 12, 262, 18, 8507, 12, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 1412, 2261, 18, 24414, 67, 2 ]
return null;
return;
private MavenProject addDependency( XMLWriter writer, Artifact artifact, List reactorProjects ) { MavenProject reactorProject = findReactorProject( reactorProjects, artifact ); String path = null; String kind = null; if (reactorProject != null) { path = "/" + reactorProject.getArtifactId(); kind = "src"; } else { File artifactPath = artifact.getFile(); if ( artifactPath == null ) { log.error( "The artifacts path was null. Artifact id: " + artifact.getId() ); return null; } path = "M2_REPO/" + toRelative( localRepository, artifactPath.getPath() ); kind = "var"; } writer.startElement( "classpathentry" ); writer.addAttribute( "kind", kind ); writer.addAttribute( "path", path ); writer.endElement(); return reactorProject; }
51807 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51807/76ade2159aba8d04fc2fe68271e7f14bea341ccb/EclipseWriter.java/clean/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 17176, 4109, 527, 7787, 12, 3167, 2289, 2633, 16, 14022, 6462, 16, 987, 19178, 15298, 262, 565, 288, 3639, 17176, 4109, 19178, 4109, 273, 1104, 426, 3362, 4109, 12, 19178, 15298, 16, 6462, 11272, 3639, 514, 589, 273, 446, 31, 7734, 514, 3846, 273, 446, 31, 7734, 309, 261, 266, 3362, 4109, 480, 446, 13, 3639, 288, 5411, 589, 273, 4016, 397, 19178, 4109, 18, 588, 7581, 548, 5621, 13491, 3846, 273, 315, 4816, 14432, 3639, 289, 3639, 469, 3639, 288, 5411, 1387, 6462, 743, 273, 6462, 18, 29925, 5621, 5411, 309, 261, 6462, 743, 422, 446, 262, 5411, 288, 7734, 613, 18, 1636, 12, 315, 1986, 16259, 589, 1703, 446, 18, 14022, 612, 30, 315, 397, 6462, 18, 26321, 1435, 11272, 10792, 327, 31, 5411, 289, 13491, 589, 273, 315, 49, 22, 67, 862, 2419, 4898, 397, 358, 8574, 12, 1191, 3305, 16, 6462, 743, 18, 588, 743, 1435, 11272, 13491, 3846, 273, 315, 1401, 14432, 3639, 289, 3639, 2633, 18, 1937, 1046, 12, 315, 26302, 4099, 6, 11272, 3639, 2633, 18, 1289, 1499, 12, 315, 9224, 3113, 3846, 11272, 3639, 2633, 18, 1289, 1499, 12, 315, 803, 3113, 589, 11272, 3639, 2633, 18, 409, 1046, 5621, 7734, 327, 19178, 4109, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 17176, 4109, 527, 7787, 12, 3167, 2289, 2633, 16, 14022, 6462, 16, 987, 19178, 15298, 262, 565, 288, 3639, 17176, 4109, 19178, 4109, 273, 1104, 426, 3362, 4109, 12, 19178, 15298, 16, 6462, 11272, 3639, 514, 589, 273, 446, 31, 7734, 514, 3846, 273, 446, 31, 7734, 309, 261, 266, 3362, 4109, 480, 446, 13, 3639, 288, 5411, 589, 273, 4016, 397, 19178, 4109, 18, 588, 7581, 548, 5621, 13491, 3846, 273, 315, 4816, 14432, 3639, 289, 3639, 469, 3639, 288, 5411, 1387, 6462, 743, 273, 6462, 18, 29925, 5621, 5411, 309, 261, 6462, 743, 422, 446, 262, 5411, 288, 7734, 613, 18, 1636, 12, 315, 1986, 16259, 589, 1703, 446, 18, 14022, 612, 30, 315, 397, 2 ]
ConditionalPermissionAdminImpl.storage = permissionStorage;
this.storage = permissionStorage;
public ConditionalPermissionAdminImpl(Framework framework, PermissionStorage permissionStorage) { this.framework = framework; ConditionalPermissionAdminImpl.storage = permissionStorage; try { condPerms = (Vector) permissionStorage.deserializeConditionalPermissionInfos(); } catch (IOException e) { framework.publishFrameworkEvent(FrameworkEvent.ERROR, framework.systemBundle, e); condPerms = new Vector(); } }
2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/72d40a87c8960cc1ff7cec0842eeb4b73cf56d39/ConditionalPermissionAdminImpl.java/buggy/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/ConditionalPermissionAdminImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 22466, 5041, 4446, 2828, 12, 13701, 8257, 16, 8509, 3245, 4132, 3245, 13, 288, 202, 202, 2211, 18, 12303, 273, 8257, 31, 202, 202, 14132, 5041, 4446, 2828, 18, 5697, 273, 4132, 3245, 31, 202, 202, 698, 288, 1082, 202, 10013, 27256, 273, 261, 5018, 13, 4132, 3245, 18, 18109, 14132, 5041, 7655, 5621, 202, 202, 97, 1044, 261, 14106, 425, 13, 288, 1082, 202, 12303, 18, 6543, 13701, 1133, 12, 13701, 1133, 18, 3589, 16, 8257, 18, 4299, 3405, 16, 425, 1769, 1082, 202, 10013, 27256, 273, 394, 5589, 5621, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 22466, 5041, 4446, 2828, 12, 13701, 8257, 16, 8509, 3245, 4132, 3245, 13, 288, 202, 202, 2211, 18, 12303, 273, 8257, 31, 202, 202, 14132, 5041, 4446, 2828, 18, 5697, 273, 4132, 3245, 31, 202, 202, 698, 288, 1082, 202, 10013, 27256, 273, 261, 5018, 13, 4132, 3245, 18, 18109, 14132, 5041, 7655, 5621, 202, 202, 97, 1044, 261, 14106, 425, 13, 288, 1082, 202, 12303, 18, 6543, 13701, 1133, 12, 13701, 1133, 18, 3589, 16, 8257, 18, 4299, 3405, 16, 425, 1769, 1082, 202, 10013, 27256, 273, 394, 5589, 5621, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return parentMgr; }
return parentMgr; }
public IContributionManager getParent() { return parentMgr;}
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/5ddde0e384bac44f41aeb754525f7bdab6a04e11/SubContributionManager.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/action/SubContributionManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 467, 442, 4027, 1318, 5089, 1435, 288, 202, 2463, 982, 9455, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 467, 442, 4027, 1318, 5089, 1435, 288, 202, 2463, 982, 9455, 31, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
jj_la1[84] = jj_gen;
jj_la1[85] = jj_gen;
final public void PrimaryPrefix() throws ParseException { /*@bgen(jjtree) PrimaryPrefix */ ASTPrimaryPrefix jjtn000 = new ASTPrimaryPrefix(this, JJTPRIMARYPREFIX); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000);Token t; try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case FALSE: case NULL: case TRUE: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: Literal(); break; case THIS: jj_consume_token(THIS); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.setUsesThisModifier(); break; case SUPER: jj_consume_token(SUPER); jjtn000.setUsesSuperModifier(); jj_consume_token(DOT); t = jj_consume_token(IDENTIFIER); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.setImage(t.image); break; case LPAREN: jj_consume_token(LPAREN); Expression(); jj_consume_token(RPAREN); break; case NEW: AllocationExpression(); break; default: jj_la1[84] = jj_gen; if (jj_2_27(2147483647)) { ResultType(); jj_consume_token(DOT); jj_consume_token(CLASS); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case IDENTIFIER: Name(); break; default: jj_la1[85] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } } } 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 (RuntimeException)jjte000;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/c02806442559ca74c050ba0d574007ed840a210a/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 15884, 2244, 1435, 1216, 10616, 288, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 15884, 2244, 1195, 9183, 6793, 2244, 10684, 5088, 3784, 273, 394, 9183, 6793, 2244, 12, 2211, 16, 804, 46, 56, 18864, 6307, 1769, 1250, 10684, 5111, 3784, 273, 638, 31, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 1345, 268, 31, 565, 775, 288, 1377, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 1377, 648, 4934, 30, 1377, 648, 3206, 30, 1377, 648, 5383, 30, 1377, 648, 16481, 67, 23225, 30, 1377, 648, 15483, 1360, 67, 8941, 67, 23225, 30, 1377, 648, 27517, 67, 23225, 30, 1377, 648, 9469, 67, 23225, 30, 3639, 14392, 5621, 3639, 898, 31, 1377, 648, 20676, 30, 3639, 10684, 67, 21224, 67, 2316, 12, 2455, 5127, 1769, 6647, 10684, 3413, 18, 4412, 907, 3876, 12, 78, 78, 5088, 3784, 16, 638, 1769, 6647, 10684, 5111, 3784, 273, 629, 31, 1850, 10684, 5088, 3784, 18, 542, 15128, 2503, 9829, 5621, 3639, 898, 31, 1377, 648, 16459, 654, 30, 3639, 10684, 67, 21224, 67, 2316, 12, 13272, 654, 1769, 6647, 10684, 5088, 3784, 18, 542, 15128, 8051, 9829, 5621, 3639, 10684, 67, 21224, 67, 2316, 12, 17591, 1769, 3639, 268, 273, 10684, 67, 21224, 67, 2316, 12, 16606, 1769, 28524, 10684, 3413, 18, 4412, 907, 3876, 12, 78, 78, 5088, 3784, 16, 638, 1769, 28524, 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, 15884, 2244, 1435, 1216, 10616, 288, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 15884, 2244, 1195, 9183, 6793, 2244, 10684, 5088, 3784, 273, 394, 9183, 6793, 2244, 12, 2211, 16, 804, 46, 56, 18864, 6307, 1769, 1250, 10684, 5111, 3784, 273, 638, 31, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 1345, 268, 31, 565, 775, 288, 1377, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 1377, 648, 4934, 30, 1377, 648, 3206, 30, 1377, 648, 5383, 30, 1377, 648, 16481, 67, 23225, 30, 1377, 648, 15483, 1360, 67, 8941, 67, 23225, 30, 2 ]
printList( StaticEntity.getClient().conditions );
printList( conditions );
public boolean executeConditionsCommand( String parameters ) { AdventureResult condition = null; String option = parameters.split( " " )[0]; if ( option.equals( "clear" ) ) { StaticEntity.getClient().conditions.clear(); return true; } else if ( option.equals( "check" ) ) { StaticEntity.getClient().checkRequirements( StaticEntity.getClient().conditions ); StaticEntity.getClient().conditions.clear(); StaticEntity.getClient().conditions.addAll( StaticEntity.getClient().missingItems ); updateDisplay( "Conditions list validated against available items." ); return true; } else if ( option.equals( "mode" ) ) { String conditionString = parameters.substring( option.length() ).trim(); if ( conditionString.startsWith( "conjunction" ) || conditionString.startsWith( "and" ) ) StaticEntity.getClient().useDisjunction = false; else if ( conditionString.startsWith( "disjunction" ) || conditionString.startsWith( "or" ) ) StaticEntity.getClient().useDisjunction = true; if ( StaticEntity.getClient().useDisjunction ) updateDisplay( "All non-stat conditions will be ORed together." ); else updateDisplay( "All non-stat conditions will be ANDed together." ); return true; } else if ( option.equals( "add" ) ) { String conditionString = parameters.substring( option.length() ).toLowerCase().trim(); if ( conditionString.length() == 0 ) return true; Matcher meatMatcher = Pattern.compile( "[\\d,]+ meat" ).matcher( conditionString ); boolean isMeatCondition = meatMatcher.find() ? meatMatcher.group().length() == conditionString.length() : false; if ( isMeatCondition ) { String [] splitCondition = conditionString.split( "\\s+" ); int amount = StaticEntity.parseInt( splitCondition[0] ); condition = new AdventureResult( AdventureResult.MEAT, amount ); } else if ( conditionString.endsWith( "choiceadv" ) || conditionString.endsWith( "choices" ) || conditionString.endsWith( "choice" ) ) { // If it's a choice adventure condition, parse out the // number of choice adventures the user wishes to do. String [] splitCondition = conditionString.split( "\\s+" ); condition = new AdventureResult( AdventureResult.CHOICE, splitCondition.length > 1 ? StaticEntity.parseInt( splitCondition[0] ) : 1 ); } else if ( conditionString.startsWith( "level" ) ) { // If the condition is a level, then determine how many // substat points are required to the next level and // add the substat points as a condition. String [] splitCondition = conditionString.split( "\\s+" ); int level = StaticEntity.parseInt( splitCondition[1] ); int [] subpoints = new int[3]; int primeIndex = KoLCharacter.getPrimeIndex(); subpoints[ primeIndex ] = KoLCharacter.calculateSubpoints( (level - 1) * (level - 1) + 4, 0 ) - KoLCharacter.getTotalPrime(); for ( int i = 0; i < subpoints.length; ++i ) subpoints[i] = Math.max( 0, subpoints[i] ); condition = new AdventureResult( AdventureResult.SUBSTATS, subpoints ); // Make sure that if there was a previous substat condition, // and it modifies the same stat as this condition, that the // greater of the two remains and the two aren't added. int previousIndex = StaticEntity.getClient().conditions.indexOf( condition ); if ( previousIndex != -1 ) { AdventureResult previousCondition = (AdventureResult) StaticEntity.getClient().conditions.get( previousIndex ); for ( int i = 0; i < subpoints.length; ++i ) if ( subpoints[i] != 0 && previousCondition.getCount(i) != 0 ) subpoints[i] = Math.max( 0, subpoints[i] - previousCondition.getCount(i) ); condition = new AdventureResult( AdventureResult.SUBSTATS, subpoints ); } } else if ( conditionString.endsWith( "mus" ) || conditionString.endsWith( "muscle" ) || conditionString.endsWith( "moxie" ) || conditionString.endsWith( "mys" ) || conditionString.endsWith( "myst" ) || conditionString.endsWith( "mysticality" ) ) { String [] splitCondition = conditionString.split( "\\s+" ); int points = StaticEntity.parseInt( splitCondition[0] ); int [] subpoints = new int[3]; int statIndex = conditionString.indexOf( "mus" ) != -1 ? 0 : conditionString.indexOf( "mys" ) != -1 ? 1 : 2; subpoints[ statIndex ] = KoLCharacter.calculateSubpoints( points, 0 ); subpoints[ statIndex ] -= conditionString.indexOf( "mus" ) != -1 ? KoLCharacter.getTotalMuscle() : conditionString.indexOf( "mys" ) != -1 ? KoLCharacter.getTotalMysticality() : KoLCharacter.getTotalMoxie(); for ( int i = 0; i < subpoints.length; ++i ) subpoints[i] = Math.max( 0, subpoints[i] ); condition = new AdventureResult( AdventureResult.SUBSTATS, subpoints ); // Make sure that if there was a previous substat condition, // and it modifies the same stat as this condition, that the // greater of the two remains and the two aren't added. int previousIndex = StaticEntity.getClient().conditions.indexOf( condition ); if ( previousIndex != -1 ) { AdventureResult previousCondition = (AdventureResult) StaticEntity.getClient().conditions.get( previousIndex ); for ( int i = 0; i < subpoints.length; ++i ) if ( subpoints[i] != 0 && previousCondition.getCount(i) != 0 ) subpoints[i] = Math.max( 0, subpoints[i] - previousCondition.getCount(i) ); condition = new AdventureResult( AdventureResult.SUBSTATS, subpoints ); } } else if ( conditionString.endsWith( "health" ) || conditionString.endsWith( "mana" ) ) { String numberString = conditionString.split( "\\s+" )[0]; int points = StaticEntity.parseInt( numberString.endsWith( "%" ) ? numberString.substring( 0, numberString.length() - 1 ) : numberString ); if ( numberString.endsWith( "%" ) ) { if ( conditionString.endsWith( "health" ) ) points = (int) ((float) points * (float)KoLCharacter.getMaximumHP() / 100.0f); else if ( conditionString.endsWith( "mana" ) ) points = (int) ((float) points * (float)KoLCharacter.getMaximumMP() / 100.0f); } points -= conditionString.endsWith( "health" ) ? KoLCharacter.getCurrentHP() : KoLCharacter.getCurrentMP(); condition = new AdventureResult( conditionString.endsWith( "health" ) ? AdventureResult.HP : AdventureResult.MP, points ); int previousIndex = StaticEntity.getClient().conditions.indexOf( condition ); if ( previousIndex != -1 ) { AdventureResult previousCondition = (AdventureResult) StaticEntity.getClient().conditions.get( previousIndex ); condition = condition.getInstance( condition.getCount() - previousCondition.getCount() ); } } else if ( conditionString.endsWith( "outfit" ) ) { // Usage: conditions add <location> outfit String outfitLocation; if (conditionString.equals("outfit")) outfitLocation = StaticEntity.getProperty("lastAdventure"); else outfitLocation = conditionString.substring(0, conditionString.length() - 7); // Try to support outfit names by mapping some outfits to their locations if (outfitLocation.equals("guard") || outfitLocation.equals("elite") || outfitLocation.equals("elite guard")) outfitLocation = "treasury"; if (outfitLocation.equals("rift")) outfitLocation = "battlefield"; if (outfitLocation.equals("cloaca-cola") || outfitLocation.equals("cloaca cola")) outfitLocation = "cloaca"; if( outfitLocation.equals("dyspepsi-cola") || outfitLocation.equals("dyspepsi cola")) outfitLocation = "dyspepsi"; KoLAdventure lastAdventure = AdventureDatabase.getAdventure( outfitLocation ); if ( !(lastAdventure instanceof KoLAdventure) ) updateDisplay( ERROR_STATE, "Unrecognized location: "+ outfitLocation); else if ( !EquipmentDatabase.addOutfitConditions(lastAdventure )) updateDisplay( ERROR_STATE, "No outfit corresponds to " + lastAdventure.getAdventureName() + "."); } else { // Otherwise, it's an item or status-effect condition, so parse // out which item or effect is desired and set that as the condition. condition = getFirstMatchingItem( conditionString ); } } if ( condition == null ) { printList( StaticEntity.getClient().conditions ); return false; } if ( condition.getCount() > 0 ) { AdventureResult.addResultToList( StaticEntity.getClient().conditions, condition ); updateDisplay( "Condition added: " + condition ); } else { updateDisplay( "Condition already met: " + condition ); } return true; }
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/e62c220071db475c697de817376ca4486bbcebd6/KoLmafiaCLI.java/clean/src/net/sourceforge/kolmafia/KoLmafiaCLI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1836, 8545, 2189, 12, 514, 1472, 262, 202, 95, 202, 202, 1871, 616, 594, 1253, 2269, 273, 446, 31, 202, 202, 780, 1456, 273, 1472, 18, 4939, 12, 315, 315, 262, 63, 20, 15533, 202, 202, 430, 261, 1456, 18, 14963, 12, 315, 8507, 6, 262, 262, 202, 202, 95, 1082, 202, 5788, 1943, 18, 588, 1227, 7675, 6381, 18, 8507, 5621, 1082, 202, 2463, 638, 31, 202, 202, 97, 202, 202, 12107, 309, 261, 1456, 18, 14963, 12, 315, 1893, 6, 262, 262, 202, 202, 95, 1082, 202, 5788, 1943, 18, 588, 1227, 7675, 1893, 15465, 12, 10901, 1943, 18, 588, 1227, 7675, 6381, 11272, 1082, 202, 5788, 1943, 18, 588, 1227, 7675, 6381, 18, 8507, 5621, 1082, 202, 5788, 1943, 18, 588, 1227, 7675, 6381, 18, 1289, 1595, 12, 10901, 1943, 18, 588, 1227, 7675, 7337, 3126, 11272, 1082, 202, 2725, 4236, 12, 315, 8545, 666, 10266, 5314, 2319, 1516, 1199, 11272, 1082, 202, 2463, 638, 31, 202, 202, 97, 202, 202, 12107, 309, 261, 1456, 18, 14963, 12, 315, 3188, 6, 262, 262, 202, 202, 95, 1082, 202, 780, 2269, 780, 273, 1472, 18, 28023, 12, 1456, 18, 2469, 1435, 262, 18, 5290, 5621, 1082, 202, 430, 261, 2269, 780, 18, 17514, 1190, 12, 315, 591, 18323, 6, 262, 747, 2269, 780, 18, 17514, 1190, 12, 315, 464, 6, 262, 262, 9506, 202, 5788, 1943, 18, 588, 1227, 7675, 1202, 1669, 18323, 273, 629, 31, 1082, 202, 12107, 309, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1836, 8545, 2189, 12, 514, 1472, 262, 202, 95, 202, 202, 1871, 616, 594, 1253, 2269, 273, 446, 31, 202, 202, 780, 1456, 273, 1472, 18, 4939, 12, 315, 315, 262, 63, 20, 15533, 202, 202, 430, 261, 1456, 18, 14963, 12, 315, 8507, 6, 262, 262, 202, 202, 95, 1082, 202, 5788, 1943, 18, 588, 1227, 7675, 6381, 18, 8507, 5621, 1082, 202, 2463, 638, 31, 202, 202, 97, 202, 202, 12107, 309, 261, 1456, 18, 14963, 12, 315, 1893, 6, 262, 262, 202, 202, 95, 1082, 202, 5788, 1943, 18, 588, 1227, 7675, 1893, 15465, 12, 10901, 1943, 18, 588, 1227, 7675, 6381, 11272, 1082, 202, 5788, 1943, 18, 588, 1227, 7675, 6381, 2 ]
getImageableWidth() { return(paper.getImageableWidth()); }
public double getImageableWidth() { return paper.getImageableWidth(); }
getImageableWidth(){ return(paper.getImageableWidth());}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/392a873c7dc1067cc2cc414042ead4e3b43e4483/PageFormat.java/clean/core/src/classpath/java/java/awt/print/PageFormat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 10567, 429, 2384, 1435, 95, 225, 327, 12, 27400, 18, 588, 2040, 429, 2384, 10663, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 10567, 429, 2384, 1435, 95, 225, 327, 12, 27400, 18, 588, 2040, 429, 2384, 10663, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
} else if (pn.equals("displayName")) {
} else if ("displayName".equals(pn)) {
public void propertyChange(PropertyChangeEvent e) { String pn = e.getPropertyName(); if ( (e.getOldValue() == null && e.getNewValue() != null) || (e.getOldValue() != null && e.getNewValue() == null) || (e.getOldValue() != null && e.getNewValue() != null && !e.getOldValue().equals(e.getNewValue())) ) { if (pn.equals("url") || pn.equals("driverClass") || pn.equals("user")) { reset(); } else if (pn.equals("displayName")) { fireDbObjectChanged("shortDisplayName"); } } }
53257 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53257/2edf98ec9eff46c2fc651331737bf52eccd6fad0/SQLDatabase.java/buggy/src/ca/sqlpower/architect/SQLDatabase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1272, 3043, 12, 1396, 20930, 425, 13, 288, 202, 202, 780, 11059, 273, 425, 18, 588, 13073, 5621, 202, 202, 430, 261, 261, 73, 18, 588, 7617, 620, 1435, 422, 446, 597, 425, 18, 588, 1908, 620, 1435, 480, 446, 13, 9506, 747, 261, 73, 18, 588, 7617, 620, 1435, 480, 446, 597, 425, 18, 588, 1908, 620, 1435, 422, 446, 13, 9506, 747, 261, 73, 18, 588, 7617, 620, 1435, 480, 446, 597, 425, 18, 588, 1908, 620, 1435, 480, 446, 4405, 597, 401, 73, 18, 588, 7617, 620, 7675, 14963, 12, 73, 18, 588, 1908, 620, 1435, 3719, 262, 288, 1082, 202, 430, 261, 7449, 18, 14963, 2932, 718, 7923, 747, 11059, 18, 14963, 2932, 7407, 797, 7923, 747, 11059, 18, 14963, 2932, 1355, 6, 3719, 288, 9506, 202, 6208, 5621, 1082, 202, 97, 469, 309, 261, 7449, 18, 14963, 2932, 5417, 461, 6, 3719, 288, 9506, 202, 12179, 4331, 921, 5033, 2932, 6620, 20524, 8863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 482, 918, 1272, 3043, 12, 1396, 20930, 425, 13, 288, 202, 202, 780, 11059, 273, 425, 18, 588, 13073, 5621, 202, 202, 430, 261, 261, 73, 18, 588, 7617, 620, 1435, 422, 446, 597, 425, 18, 588, 1908, 620, 1435, 480, 446, 13, 9506, 747, 261, 73, 18, 588, 7617, 620, 1435, 480, 446, 597, 425, 18, 588, 1908, 620, 1435, 422, 446, 13, 9506, 747, 261, 73, 18, 588, 7617, 620, 1435, 480, 446, 597, 425, 18, 588, 1908, 620, 1435, 480, 446, 4405, 597, 401, 73, 18, 588, 7617, 620, 7675, 14963, 12, 73, 18, 588, 1908, 620, 1435, 3719, 262, 288, 1082, 202, 430, 261, 7449, 18, 14963, 2932, 718, 7923, 747, 11059, 18, 2 ]
boolean ab = ((Set)prec_rel.get(a)).contains(b); boolean ba = ((Set)prec_rel.get(b)).contains(a); return ab ? ba ? PRECEDENCE_CONFLICT : PRECEDENCE_FIRST : ba ? PRECEDENCE_SECOND : PRECEDENCE_NONE;
boolean ab = ((Set)prec_rel.get(a)).contains(b); boolean ba = ((Set)prec_rel.get(b)).contains(a); return ab ? ba ? PRECEDENCE_CONFLICT : PRECEDENCE_FIRST : ba ? PRECEDENCE_SECOND : PRECEDENCE_NONE;
public int getPrecedence(String a, String b) { int prec; if (!prec_rel.containsKey(a) || !prec_rel.containsKey(b)) return PRECEDENCE_NONE; boolean ab = ((Set)prec_rel.get(a)).contains(b); boolean ba = ((Set)prec_rel.get(b)).contains(a); return ab ? ba ? PRECEDENCE_CONFLICT : PRECEDENCE_FIRST : ba ? PRECEDENCE_SECOND : PRECEDENCE_NONE; }
236 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/236/5382352ea23b31b8a89782dd250eadeaa5ff26cb/GlobalAspectInfo.java/buggy/aop/abc/src/abc/weaving/aspectinfo/GlobalAspectInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 12822, 24092, 12, 780, 279, 16, 514, 324, 13, 288, 202, 474, 13382, 31, 202, 430, 16051, 4036, 67, 2878, 18, 12298, 653, 12, 69, 13, 747, 401, 4036, 67, 2878, 18, 12298, 653, 12, 70, 3719, 202, 565, 327, 7071, 23552, 7535, 67, 9826, 31, 202, 6494, 1223, 273, 14015, 694, 13, 4036, 67, 2878, 18, 588, 12, 69, 13, 2934, 12298, 12, 70, 1769, 202, 6494, 9846, 273, 14015, 694, 13, 4036, 67, 2878, 18, 588, 12, 70, 13, 2934, 12298, 12, 69, 1769, 202, 2463, 1223, 692, 202, 565, 9846, 692, 7071, 23552, 7535, 67, 14497, 29280, 294, 7071, 23552, 7535, 67, 15354, 294, 202, 565, 9846, 692, 7071, 23552, 7535, 67, 16328, 294, 7071, 23552, 7535, 67, 9826, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 12822, 24092, 12, 780, 279, 16, 514, 324, 13, 288, 202, 474, 13382, 31, 202, 430, 16051, 4036, 67, 2878, 18, 12298, 653, 12, 69, 13, 747, 401, 4036, 67, 2878, 18, 12298, 653, 12, 70, 3719, 202, 565, 327, 7071, 23552, 7535, 67, 9826, 31, 202, 6494, 1223, 273, 14015, 694, 13, 4036, 67, 2878, 18, 588, 12, 69, 13, 2934, 12298, 12, 70, 1769, 202, 6494, 9846, 273, 14015, 694, 13, 4036, 67, 2878, 18, 588, 12, 70, 13, 2934, 12298, 12, 69, 1769, 202, 2463, 1223, 692, 202, 565, 9846, 692, 7071, 23552, 7535, 67, 14497, 29280, 294, 7071, 23552, 7535, 67, 15354, 294, 202, 565, 9846, 692, 7071, 23552, 7535, 67, 16328, 2 ]
} else { return filename.substring( index + 1 );
} else { return filename.substring(index + 1);
public static String getExtension( final String filename ) { final int index = filename.lastIndexOf( '.' ); if( -1 == index ) { return ""; } else { return filename.substring( index + 1 ); } }
56629 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56629/d9d353082503a217fa6c6510622973d018db0e26/FileUtils.java/clean/src/java/org/apache/commons/io/FileUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 12374, 12, 727, 514, 1544, 262, 565, 288, 3639, 727, 509, 770, 273, 1544, 18, 2722, 31985, 12, 2611, 11272, 3639, 309, 12, 300, 21, 422, 770, 262, 3639, 288, 5411, 327, 1408, 31, 3639, 289, 3639, 469, 3639, 288, 5411, 327, 1544, 18, 28023, 12, 770, 397, 404, 11272, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12374, 12, 727, 514, 1544, 262, 565, 288, 3639, 727, 509, 770, 273, 1544, 18, 2722, 31985, 12, 2611, 11272, 3639, 309, 12, 300, 21, 422, 770, 262, 3639, 288, 5411, 327, 1408, 31, 3639, 289, 3639, 469, 3639, 288, 5411, 327, 1544, 18, 28023, 12, 770, 397, 404, 11272, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (jj_scan_token(LBRACE)) return true;
if (jj_scan_token(WS)) return true;
final private boolean jj_3R_16() { if (jj_scan_token(LBRACE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/f5ebf1fa86f338484c8f14f11ac1fbcc329367a3/WMParser_impl.java/clean/webmacro/src/org/webmacro/parser/WMParser_impl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 2313, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 2651, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 2313, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 2651, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
x = newChunk.width;
newChunk.x = firstNonWhiteSpace; x = firstNonWhiteSpace + newChunk.width;
public static void lineToChunkList(Segment seg, Token tokens, SyntaxStyle[] styles, FontRenderContext fontRenderContext, TabExpander e, float wrapMargin, java.util.List out) { float x = 0.0f; boolean seenNonWhiteSpace = false; float firstNonWhiteSpace = 0.0f; Chunk first = null; Chunk current = null; int tokenListOffset = 0; while(tokens.id != Token.END) { int flushIndex = tokenListOffset; for(int i = tokenListOffset; i < tokenListOffset + tokens.length; i++) { char ch = seg.array[seg.offset + i]; if(ch == ' ' || ch == '\t') { if(i != flushIndex) { Chunk newChunk = new Chunk( tokens.id,seg,flushIndex, i,styles,fontRenderContext); if(wrapMargin != 0 && x + newChunk.width > wrapMargin) { if(first != null) out.add(first); first = null; newChunk.x = firstNonWhiteSpace; x = firstNonWhiteSpace + newChunk.width; } else { newChunk.x = x; x += newChunk.width; } if(first == null) first = current = newChunk; else { current.next = newChunk; current = newChunk; } seenNonWhiteSpace = true; } if(ch == ' ') { Chunk newChunk = new Chunk( tokens.id,seg,i,i + 1, styles,fontRenderContext); newChunk.x = x; if(first == null) first = current = newChunk; else { current.next = newChunk; current = newChunk; } x += current.width; } else if(ch == '\t') { Chunk newChunk = new Chunk( tokens.id,seg,i,i, styles,fontRenderContext); newChunk.x = x; if(first == null) first = current = newChunk; else { current.next = newChunk; current = newChunk; } x = e.nextTabStop(x,i + tokenListOffset); current.width = x - current.x; current.length = 1; } if(!seenNonWhiteSpace) firstNonWhiteSpace = x; if(first == null) first = current; flushIndex = i + 1; } else if(i == tokenListOffset + tokens.length - 1) { Chunk newChunk = new Chunk( tokens.id,seg,flushIndex, i + 1,styles,fontRenderContext); if(i == seg.count - 1 && wrapMargin != 0 && x + newChunk.width > wrapMargin) { if(first != null) out.add(first); first = null; x = newChunk.width; } else { newChunk.x = x; x += newChunk.width; } if(first == null) first = current = newChunk; else { current.next = newChunk; current = newChunk; } } } tokenListOffset += tokens.length; tokens = tokens.next; } if(first != null) out.add(first); } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/caed3f5ff32eba0d897f16bd04b403525373c3fa/TextUtilities.java/clean/org/gjt/sp/jedit/TextUtilities.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 19785, 5579, 682, 12, 4131, 2291, 16, 3155, 2430, 16, 202, 202, 8070, 2885, 8526, 5687, 16, 10063, 3420, 1042, 3512, 3420, 1042, 16, 202, 202, 5661, 12271, 264, 425, 16, 1431, 2193, 9524, 16, 2252, 18, 1367, 18, 682, 596, 13, 202, 95, 202, 202, 5659, 619, 273, 374, 18, 20, 74, 31, 202, 202, 6494, 5881, 3989, 23108, 273, 629, 31, 202, 202, 5659, 1122, 3989, 23108, 273, 374, 18, 20, 74, 31, 202, 202, 5579, 1122, 273, 446, 31, 202, 202, 5579, 783, 273, 446, 31, 202, 202, 474, 1147, 682, 2335, 273, 374, 31, 202, 202, 17523, 12, 7860, 18, 350, 480, 3155, 18, 4415, 13, 202, 202, 95, 1082, 202, 474, 3663, 1016, 273, 1147, 682, 2335, 31, 1082, 202, 1884, 12, 474, 277, 273, 1147, 682, 2335, 31, 277, 411, 1147, 682, 2335, 397, 2430, 18, 2469, 31, 277, 27245, 1082, 202, 95, 9506, 202, 3001, 462, 273, 2291, 18, 1126, 63, 5680, 18, 3348, 397, 277, 15533, 9506, 202, 430, 12, 343, 422, 296, 296, 747, 462, 422, 2337, 88, 6134, 9506, 202, 95, 6862, 202, 430, 12, 77, 480, 3663, 1016, 13, 6862, 202, 95, 25083, 202, 5579, 394, 5579, 273, 394, 13021, 12, 6862, 1082, 202, 7860, 18, 350, 16, 5680, 16, 11330, 1016, 16, 6862, 1082, 202, 77, 16, 10218, 16, 5776, 3420, 1042, 1769, 25083, 202, 430, 12, 4113, 9524, 480, 374, 6862, 1082, 202, 10, 10, 619, 397, 394, 5579, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 19785, 5579, 682, 12, 4131, 2291, 16, 3155, 2430, 16, 202, 202, 8070, 2885, 8526, 5687, 16, 10063, 3420, 1042, 3512, 3420, 1042, 16, 202, 202, 5661, 12271, 264, 425, 16, 1431, 2193, 9524, 16, 2252, 18, 1367, 18, 682, 596, 13, 202, 95, 202, 202, 5659, 619, 273, 374, 18, 20, 74, 31, 202, 202, 6494, 5881, 3989, 23108, 273, 629, 31, 202, 202, 5659, 1122, 3989, 23108, 273, 374, 18, 20, 74, 31, 202, 202, 5579, 1122, 273, 446, 31, 202, 202, 5579, 783, 273, 446, 31, 202, 202, 474, 1147, 682, 2335, 273, 374, 31, 202, 202, 17523, 12, 7860, 18, 350, 480, 3155, 18, 4415, 13, 202, 202, 95, 1082, 2 ]
ci.displaySize = types[SYBDATETIME4].displaySize;
ci.displaySize = types[SYBDATETIME4].displaySize;
static int readType(ResponseStream in, ColInfo ci) throws IOException, ProtocolException { boolean isTds8 = in.getTdsVersion() == TdsCore.TDS80; int bytesRead = 1; // Get the TDS data type code int type = in.read(); if (types[type] == null) { throw new ProtocolException("Invalid TDS data type 0x" + Integer.toHexString(type)); } ci.tdsType = type; ci.jdbcType = types[type].jdbcType; ci.displaySize = -1; ci.tableName = ""; ci.bufferSize = types[type].size; ci.nullable = java.sql.ResultSetMetaData.columnNoNulls; // Now get the buffersize if required if (ci.bufferSize == -5) { // sql_variant ci.bufferSize = in.readInt(); bytesRead += 4; } else if (ci.bufferSize == -4) { // text or image ci.bufferSize = in.readInt(); if (isTds8) bytesRead += getCollation(in, ci); int lenName = in.readShort(); ci.tableName = in.readString(lenName); bytesRead += 6 + ((in.getTdsVersion() >= TdsCore.TDS70)? lenName * 2: lenName); } else if (ci.bufferSize == -2) { // longvarchar longvarbinary ci.bufferSize = in.readShort(); if (isTds8) bytesRead += getCollation(in, ci); bytesRead += 2; } else if (ci.bufferSize == -1) { // varchar varbinary decimal etc bytesRead += 1; ci.bufferSize = in.read(); } // Set scale for money and date types if (isCurrency(ci)) { ci.scale = 4; } else if (type == SYBDATETIME ||(type == SYBDATETIMN && ci.bufferSize == 8)) { ci.scale = 3; } // Set default displaySize and precision ci.displaySize = types[type].displaySize; ci.precision = types[type].precision; ci.sqlType = types[type].sqlType; // Now fine tune sizes for specific types if (type == SYBDATETIMN) { ci.nullable = java.sql.ResultSetMetaData.columnNullable; if (ci.bufferSize == 8) { ci.displaySize = types[SYBDATETIME].displaySize; ci.precision = types[SYBDATETIME].precision; } else { ci.displaySize = types[SYBDATETIME4].displaySize; ci.precision = types[SYBDATETIME4].precision; ci.sqlType = types[SYBDATETIME4].sqlType; } } else if (type == SYBFLTN) { ci.nullable = java.sql.ResultSetMetaData.columnNullable; if (ci.bufferSize == 8) { ci.displaySize = types[SYBFLT8].displaySize; ci.precision = types[SYBFLT8].precision; } else { ci.displaySize = types[SYBREAL].displaySize; ci.precision = types[SYBREAL].precision; ci.jdbcType = java.sql.Types.FLOAT; ci.sqlType = types[SYBREAL].sqlType; } } else if (type == SYBINTN) { ci.nullable = java.sql.ResultSetMetaData.columnNullable; if (ci.bufferSize == 8) { ci.displaySize = types[SYBINT8].displaySize; ci.precision = types[SYBINT8].precision; ci.sqlType = types[SYBINT8].sqlType; } else if (ci.bufferSize == 4) { ci.displaySize = types[SYBINT4].displaySize; ci.precision = types[SYBINT4].precision; } else if (ci.bufferSize == 2) { ci.displaySize = types[SYBINT2].displaySize; ci.precision = types[SYBINT2].precision; ci.jdbcType = java.sql.Types.SMALLINT; ci.sqlType = types[SYBINT2].sqlType; } else { ci.displaySize = types[SYBINT1].displaySize; ci.precision = types[SYBINT1].precision; ci.jdbcType = java.sql.Types.TINYINT; ci.sqlType = types[SYBINT1].sqlType; } } else if (type == SYBMONEYN) { ci.nullable = java.sql.ResultSetMetaData.columnNullable; if (ci.bufferSize == 8) { ci.displaySize = types[SYBMONEY].displaySize; ci.precision = types[SYBMONEY].precision; } else { ci.displaySize = types[SYBMONEY4].displaySize; ci.precision = types[SYBMONEY4].precision; ci.sqlType = types[SYBMONEY4].sqlType; } } // Set sizes for character types if (ci.precision == -1) { ci.precision = ci.bufferSize; if (ci.displaySize == -2) { ci.displaySize = ci.bufferSize / 2; } else if (ci.displaySize == 2) { ci.displaySize = ci.precision * 2; } else { ci.displaySize = ci.precision; } } // Read in scale and precision for decimal types if (type == SYBDECIMAL || type == SYBNUMERIC) { ci.precision = in.read(); ci.scale = in.read(); ci.displaySize = ((ci.scale > 0)? 2 : 1) + ci.precision; bytesRead += 2; StringBuffer tmp = new StringBuffer(16); tmp.append(types[type].sqlType).append('(').append(ci.precision); if (ci.scale > 0) tmp.append(',').append(ci.scale); tmp.append(')'); ci.sqlType = tmp.toString(); } return bytesRead; }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/9afe478d809db444a6ae429180e144eb579509a3/TdsData.java/buggy/src/main/net/sourceforge/jtds/jdbc/TdsData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 509, 855, 559, 12, 1064, 1228, 316, 16, 1558, 966, 9039, 13, 565, 1216, 1860, 16, 4547, 503, 288, 3639, 1250, 353, 56, 2377, 28, 273, 316, 18, 588, 56, 2377, 1444, 1435, 422, 399, 2377, 4670, 18, 56, 3948, 3672, 31, 3639, 509, 17244, 273, 404, 31, 3639, 368, 968, 326, 399, 3948, 501, 618, 981, 3639, 509, 618, 273, 316, 18, 896, 5621, 3639, 309, 261, 2352, 63, 723, 65, 422, 446, 13, 288, 5411, 604, 394, 4547, 503, 2932, 1941, 399, 3948, 501, 618, 374, 92, 6, 397, 2144, 18, 869, 14866, 12, 723, 10019, 3639, 289, 3639, 9039, 18, 88, 2377, 559, 377, 273, 618, 31, 3639, 9039, 18, 24687, 559, 565, 273, 1953, 63, 723, 8009, 24687, 559, 31, 3639, 9039, 18, 5417, 1225, 273, 300, 21, 31, 3639, 9039, 18, 18033, 282, 273, 1408, 31, 3639, 9039, 18, 4106, 1225, 225, 273, 1953, 63, 723, 8009, 1467, 31, 3639, 9039, 18, 20247, 565, 273, 2252, 18, 4669, 18, 13198, 6998, 18, 2827, 2279, 31326, 31, 3639, 368, 4494, 336, 326, 9664, 554, 309, 1931, 3639, 309, 261, 8450, 18, 4106, 1225, 422, 300, 25, 13, 288, 5411, 368, 1847, 67, 8688, 5411, 9039, 18, 4106, 1225, 273, 316, 18, 896, 1702, 5621, 5411, 17244, 1011, 1059, 31, 3639, 289, 469, 309, 261, 8450, 18, 4106, 1225, 422, 300, 24, 13, 288, 5411, 368, 977, 578, 1316, 5411, 9039, 18, 4106, 1225, 273, 316, 18, 896, 1702, 5621, 5411, 309, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 509, 855, 559, 12, 1064, 1228, 316, 16, 1558, 966, 9039, 13, 565, 1216, 1860, 16, 4547, 503, 288, 3639, 1250, 353, 56, 2377, 28, 273, 316, 18, 588, 56, 2377, 1444, 1435, 422, 399, 2377, 4670, 18, 56, 3948, 3672, 31, 3639, 509, 17244, 273, 404, 31, 3639, 368, 968, 326, 399, 3948, 501, 618, 981, 3639, 509, 618, 273, 316, 18, 896, 5621, 3639, 309, 261, 2352, 63, 723, 65, 422, 446, 13, 288, 5411, 604, 394, 4547, 503, 2932, 1941, 399, 3948, 501, 618, 374, 92, 6, 397, 2144, 18, 869, 14866, 12, 723, 10019, 3639, 289, 3639, 9039, 18, 88, 2377, 559, 377, 273, 618, 31, 3639, 9039, 18, 24687, 559, 565, 273, 2 ]
value = val;
s1.setValue(val); s2.setValue(Math.min(val, p2));
public void setValue(int val) { if (val > getMaximumValue()) { value = getMaximumValue(); } else if (val < getMinimumValue()) { value = getMinimumValue(); } else { value = val; } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/7cc107e01ff95c250142dda3e246542e1b0c0794/Spring.java/clean/core/src/classpath/javax/javax/swing/Spring.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 5524, 12, 474, 1244, 13, 565, 288, 1377, 309, 261, 1125, 405, 25194, 620, 10756, 3639, 288, 1850, 460, 273, 25194, 620, 5621, 202, 97, 1377, 469, 309, 261, 1125, 411, 30665, 620, 10756, 3639, 288, 1850, 460, 273, 30665, 620, 5621, 3639, 289, 1377, 469, 3639, 288, 1850, 272, 21, 18, 542, 620, 12, 1125, 1769, 272, 22, 18, 542, 620, 12, 10477, 18, 1154, 12, 1125, 16, 293, 22, 10019, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 918, 5524, 12, 474, 1244, 13, 565, 288, 1377, 309, 261, 1125, 405, 25194, 620, 10756, 3639, 288, 1850, 460, 273, 25194, 620, 5621, 202, 97, 1377, 469, 309, 261, 1125, 411, 30665, 620, 10756, 3639, 288, 1850, 460, 273, 30665, 620, 5621, 3639, 289, 1377, 469, 3639, 288, 1850, 272, 21, 18, 542, 620, 12, 1125, 1769, 272, 22, 18, 542, 620, 12, 10477, 18, 1154, 12, 1125, 16, 293, 22, 10019, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (element instanceof ITaskListElement) { ITaskListElement task = (ITaskListElement) element; return task.getFont();
if (!(element instanceof ITaskListElement)) { return null; } if (element instanceof AbstractRepositoryTask) { AbstractRepositoryTask repositoryTask = (AbstractRepositoryTask)element; if (repositoryTask.isCurrentlyDownloading()) { return TaskListImages.ITALIC; } } ITask task = getCorrespondingTask((ITaskListElement)element); if (task != null) { if (task.isActive()) return TaskListImages.BOLD; for (ITask child : task.getChildren()) { if (child.isActive()) return TaskListImages.BOLD; } } else if (element instanceof ITaskContainer) { for (ITask child : ((ITaskContainer)element).getChildren()) { if (child.isActive()) return TaskListImages.BOLD; }
public Font getFont(Object element) { if (element instanceof ITaskListElement) { ITaskListElement task = (ITaskListElement) element; return task.getFont(); } return null; }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/98a517f71452e6ab520dca4beb4a09784043d5d5/TaskElementLabelProvider.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/views/TaskElementLabelProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 10063, 18776, 12, 921, 930, 13, 288, 202, 202, 430, 261, 2956, 1276, 467, 2174, 682, 1046, 13, 288, 1082, 202, 1285, 835, 682, 1046, 1562, 273, 261, 1285, 835, 682, 1046, 13, 930, 31, 1082, 202, 2463, 1562, 18, 588, 5711, 5621, 202, 202, 97, 3196, 202, 2463, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 10063, 18776, 12, 921, 930, 13, 288, 202, 202, 430, 261, 2956, 1276, 467, 2174, 682, 1046, 13, 288, 1082, 202, 1285, 835, 682, 1046, 1562, 273, 261, 1285, 835, 682, 1046, 13, 930, 31, 1082, 202, 2463, 1562, 18, 588, 5711, 5621, 202, 202, 97, 3196, 202, 2463, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static FontData[] readFontData(String fontDataValue){
public static FontData[] readFontData(String fontDataValue) {
public static FontData[] readFontData(String fontDataValue){ return basicGetFontData(fontDataValue); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/fe04f125211730b7fe91f7109dc454a63e0cb31c/PreferenceConverter.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceConverter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 10063, 751, 8526, 855, 5711, 751, 12, 780, 3512, 28013, 15329, 202, 202, 2463, 5337, 967, 5711, 751, 12, 5776, 28013, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 760, 10063, 751, 8526, 855, 5711, 751, 12, 780, 3512, 28013, 15329, 202, 202, 2463, 5337, 967, 5711, 751, 12, 5776, 28013, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Object externalizerObject = element.createExecutableExtension(ATTR_EXTERNALIZER_CLASS);
Object externalizerObject = element.createExecutableExtension(ATTR_CLASS);
private static void readExternalizer(IConfigurationElement element, List<ITaskListExternalizer> externalizers) { try { Object externalizerObject = element.createExecutableExtension(ATTR_EXTERNALIZER_CLASS); if (externalizerObject instanceof ITaskListExternalizer) { ITaskListExternalizer externalizer = (ITaskListExternalizer) externalizerObject; externalizers.add((ITaskListExternalizer) externalizer); } else { MylarStatusHandler.log("Could not load externalizer: " + externalizerObject.getClass().getCanonicalName() + " must implement " + ITaskListExternalizer.class.getCanonicalName(), null); } // Object taskHandler = // element.createExecutableExtension(ATTR_ACTION_CONTRIBUTOR_CLASS); // if (taskHandler instanceof ITaskHandler) { // MylarTaskListPlugin.getDefault().addTaskHandler((ITaskHandler) // taskHandler); // } else { // MylarStatusHandler.log("Could not load contributor: " + // taskHandler.getClass().getCanonicalName() // + " must implement " + ITaskHandler.class.getCanonicalName(), // null); // } } catch (CoreException e) { MylarStatusHandler.log(e, "Could not load task handler extension"); } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/25874780bb4a9552d8a46df6805b69026b91f259/TaskListExtensionReader.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/util/TaskListExtensionReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 918, 855, 6841, 1824, 12, 45, 1750, 1046, 930, 16, 987, 32, 1285, 835, 682, 6841, 1824, 34, 3903, 8426, 13, 288, 202, 202, 698, 288, 1082, 202, 921, 3903, 1824, 921, 273, 930, 18, 2640, 17709, 3625, 12, 12043, 67, 2294, 11702, 6867, 654, 67, 5237, 1769, 1082, 202, 430, 261, 9375, 1824, 921, 1276, 467, 2174, 682, 6841, 1824, 13, 288, 9506, 202, 1285, 835, 682, 6841, 1824, 3903, 1824, 273, 261, 1285, 835, 682, 6841, 1824, 13, 3903, 1824, 921, 31, 9506, 202, 9375, 8426, 18, 1289, 12443, 1285, 835, 682, 6841, 1824, 13, 3903, 1824, 1769, 1082, 202, 97, 469, 288, 9506, 202, 12062, 7901, 1482, 1503, 18, 1330, 2932, 4445, 486, 1262, 3903, 1824, 30, 315, 25083, 202, 15, 3903, 1824, 921, 18, 588, 797, 7675, 588, 15512, 461, 1435, 397, 315, 1297, 2348, 315, 25083, 202, 15, 467, 2174, 682, 6841, 1824, 18, 1106, 18, 588, 15512, 461, 9334, 446, 1769, 1082, 202, 97, 1082, 202, 759, 1033, 1562, 1503, 273, 1082, 202, 759, 930, 18, 2640, 17709, 3625, 12, 12043, 67, 12249, 67, 6067, 2259, 38, 1693, 916, 67, 5237, 1769, 1082, 202, 759, 309, 261, 4146, 1503, 1276, 467, 2174, 1503, 13, 288, 1082, 202, 759, 8005, 7901, 2174, 682, 3773, 18, 588, 1868, 7675, 1289, 2174, 1503, 12443, 1285, 835, 1503, 13, 1082, 202, 759, 1562, 1503, 1769, 1082, 202, 759, 289, 469, 288, 1082, 202, 759, 8005, 7901, 1482, 1503, 18, 1330, 2932, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 918, 855, 6841, 1824, 12, 45, 1750, 1046, 930, 16, 987, 32, 1285, 835, 682, 6841, 1824, 34, 3903, 8426, 13, 288, 202, 202, 698, 288, 1082, 202, 921, 3903, 1824, 921, 273, 930, 18, 2640, 17709, 3625, 12, 12043, 67, 2294, 11702, 6867, 654, 67, 5237, 1769, 1082, 202, 430, 261, 9375, 1824, 921, 1276, 467, 2174, 682, 6841, 1824, 13, 288, 9506, 202, 1285, 835, 682, 6841, 1824, 3903, 1824, 273, 261, 1285, 835, 682, 6841, 1824, 13, 3903, 1824, 921, 31, 9506, 202, 9375, 8426, 18, 1289, 12443, 1285, 835, 682, 6841, 1824, 13, 3903, 1824, 1769, 1082, 202, 97, 469, 288, 9506, 202, 12062, 7901, 1482, 1503, 18, 1330, 2932, 4445, 2 ]
printText( "&" + name + ";" );
_printer.printText( '&' ); _printer.printText( name ); _printer.printText( ';' );
public void skippedEntity ( String name ) throws SAXException { endCDATA(); content(); printText( "&" + name + ";" ); }
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/1e1ce544975980cfc9bc8941ab7c8166d350c04d/BaseMarkupSerializer.java/buggy/src/org/apache/xml/serialize/BaseMarkupSerializer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 9700, 1943, 261, 514, 508, 262, 3639, 1216, 14366, 565, 288, 3639, 679, 18375, 5621, 3639, 913, 5621, 3639, 389, 30439, 18, 1188, 1528, 12, 9824, 11272, 389, 30439, 18, 1188, 1528, 12, 508, 11272, 389, 30439, 18, 1188, 1528, 12, 7554, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 9700, 1943, 261, 514, 508, 262, 3639, 1216, 14366, 565, 288, 3639, 679, 18375, 5621, 3639, 913, 5621, 3639, 389, 30439, 18, 1188, 1528, 12, 9824, 11272, 389, 30439, 18, 1188, 1528, 12, 508, 11272, 389, 30439, 18, 1188, 1528, 12, 7554, 11272, 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 ]
private void handlePageSetup(Report report) {
private void handlePageSetup( Report report ) {
private void handlePageSetup(Report report) { // first create the master page defined in the report design PageSetupContent pageSetup = new PageSetupContent( report .getPageSetup( ) ); IPageSetupEmitter pageSetupEmitter = emitter.getPageSetupEmitter(); pageSetupEmitter.startPageSetup( ); for ( int i = 0; i < report.getPageSetup( ).getMasterPageCount( ); i++ ) { // context.initStyleStack( ); // IMasterPageEmitter mpEmitter = emitter.getMasterPageEmitter( ); // if ( mpEmitter != null ) { MasterPageDesign masterPage = report.getPageSetup( ) .getMasterPage( i ); MasterPageContent masterPageContent = new MasterPageContent( masterPage ); pageSetup.addMasterPage( masterPageContent ); pageSetupEmitter.startMasterPage( masterPageContent ); pageSetupEmitter.endMasterPage( ); } } //then output the page sequence defined in the report define for ( int i = 0; i < report.getPageSetup( ).getPageSequenceCount( ); i++ ) { //IPageSetupEmitter psEmitter = emitter.getPageSequenceEmitter( ); //if ( psEmitter != null ) { PageSequenceDesign psDesign = report.getPageSetup( ) .getPageSequence( i ); PageSequenceContent psContent = new PageSequenceContent( pageSetup, psDesign ); pageSetup.addPageSequence( psContent ); pageSetupEmitter.startPageSequence( psContent ); pageSetupEmitter.endPageSequence( ); } } pageSetupEmitter.endPageSetup( ); context.setPageSetup( pageSetup ); setDefaultMasterPage( report ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/f5a9bea2073cca10b0308809092763f54b6c3f16/ReportExecutor.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ReportExecutor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1640, 1964, 7365, 12, 4820, 2605, 13, 288, 202, 202, 759, 1122, 752, 326, 4171, 1363, 2553, 316, 326, 2605, 8281, 202, 202, 1964, 7365, 1350, 1363, 7365, 273, 394, 3460, 7365, 1350, 12, 2605, 9506, 202, 18, 588, 1964, 7365, 12, 262, 11272, 202, 202, 45, 1964, 7365, 13476, 1363, 7365, 13476, 273, 11520, 18, 588, 1964, 7365, 13476, 5621, 1082, 202, 2433, 7365, 13476, 18, 1937, 1964, 7365, 12, 11272, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 2605, 18, 588, 1964, 7365, 12, 262, 18, 588, 7786, 1964, 1380, 12, 11272, 277, 9904, 262, 202, 202, 95, 1082, 202, 759, 202, 2472, 18, 2738, 2885, 2624, 12, 11272, 1082, 202, 759, 6246, 2440, 1964, 13476, 6749, 13476, 273, 11520, 18, 588, 7786, 1964, 13476, 12, 11272, 1082, 202, 759, 309, 261, 6749, 13476, 480, 446, 262, 1082, 202, 95, 9506, 202, 7786, 1964, 15478, 4171, 1964, 273, 2605, 18, 588, 1964, 7365, 12, 262, 25083, 202, 18, 588, 7786, 1964, 12, 277, 11272, 9506, 202, 7786, 1964, 1350, 4171, 1964, 1350, 273, 394, 13453, 1964, 1350, 12, 25083, 202, 7525, 1964, 11272, 9506, 202, 2433, 7365, 18, 1289, 7786, 1964, 12, 4171, 1964, 1350, 11272, 9506, 202, 2433, 7365, 13476, 18, 1937, 7786, 1964, 12, 4171, 1964, 1350, 11272, 9506, 202, 2433, 7365, 13476, 18, 409, 7786, 1964, 12, 11272, 1082, 202, 97, 202, 202, 97, 9506, 202, 759, 15991, 876, 326, 1363, 3102, 2553, 316, 326, 2605, 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, 1640, 1964, 7365, 12, 4820, 2605, 13, 288, 202, 202, 759, 1122, 752, 326, 4171, 1363, 2553, 316, 326, 2605, 8281, 202, 202, 1964, 7365, 1350, 1363, 7365, 273, 394, 3460, 7365, 1350, 12, 2605, 9506, 202, 18, 588, 1964, 7365, 12, 262, 11272, 202, 202, 45, 1964, 7365, 13476, 1363, 7365, 13476, 273, 11520, 18, 588, 1964, 7365, 13476, 5621, 1082, 202, 2433, 7365, 13476, 18, 1937, 1964, 7365, 12, 11272, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 2605, 18, 588, 1964, 7365, 12, 262, 18, 588, 7786, 1964, 1380, 12, 11272, 277, 9904, 262, 202, 202, 95, 1082, 202, 759, 202, 2472, 18, 2738, 2885, 2624, 12, 11272, 1082, 202, 2 ]
this.part = part; this.page = page; }
this.part = part; this.page = page; }
public PageRec(IWorkbenchPart part, IPage page) { this.part = part; this.page = page; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/9ff1117bd4d0d76888bfb35def7ce85f6378a2d3/PageBookView.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/part/PageBookView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 3460, 5650, 12, 45, 2421, 22144, 1988, 1087, 16, 467, 1964, 1363, 13, 288, 5411, 333, 18, 2680, 273, 1087, 31, 5411, 333, 18, 2433, 273, 1363, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 3460, 5650, 12, 45, 2421, 22144, 1988, 1087, 16, 467, 1964, 1363, 13, 288, 5411, 333, 18, 2680, 273, 1087, 31, 5411, 333, 18, 2433, 273, 1363, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 (parent != null) tempAclDlg.setLocation(parent.getX() + (parent.getWidth() - tempAclDlg.getWidth()) / 2, parent.getY() + (parent.getHeight() - tempAclDlg.getHeight()) / 2);
if (parent != null) { int locx = parent.getX() + (parent.getWidth() - tempAclDlg.getWidth()) / 2; if (locx < 0) locx = 0; int locy = parent.getY() + (parent.getHeight() - tempAclDlg.getHeight()) / 2; if (locy < 0) locy = 0; tempAclDlg.setLocation(locx,locy); }
public static void showMsgInDialog(ACLMessage msg, Frame parent) { final JDialog tempAclDlg = new JDialog(parent, "ACL Message", true); AclGui aclPanel = new AclGui(); aclPanel.setBorder(new BevelBorder(BevelBorder.RAISED)); aclPanel.setEnabled(false); aclPanel.setMsg(msg); JButton okButton = new JButton("OK"); JPanel buttonPanel = new JPanel(); // Use default (FlowLayout) layout manager to dispose the OK button buttonPanel.add(okButton); tempAclDlg.getContentPane().setLayout(new BorderLayout()); tempAclDlg.getContentPane().add("Center", aclPanel); tempAclDlg.getContentPane().add("South", buttonPanel); okButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { tempAclDlg.dispose(); } } ); tempAclDlg.pack(); tempAclDlg.setResizable(false); if (parent != null) tempAclDlg.setLocation(parent.getX() + (parent.getWidth() - tempAclDlg.getWidth()) / 2, parent.getY() + (parent.getHeight() - tempAclDlg.getHeight()) / 2); tempAclDlg.show(); }
5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/c3a576f5a27312baecf3700230505705435ddf8f/AclGui.java/buggy/src/jade/gui/AclGui.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2405, 3332, 382, 6353, 12, 9486, 1079, 1234, 16, 8058, 982, 13, 202, 95, 202, 202, 6385, 804, 6353, 1906, 13538, 40, 23623, 273, 394, 804, 6353, 12, 2938, 16, 315, 9486, 2350, 3113, 638, 1769, 202, 202, 13538, 18070, 7895, 5537, 273, 394, 23887, 18070, 5621, 202, 202, 10150, 5537, 18, 542, 8107, 12, 2704, 4823, 941, 8107, 12, 1919, 941, 8107, 18, 2849, 45, 18204, 10019, 202, 202, 10150, 5537, 18, 542, 1526, 12, 5743, 1769, 202, 202, 10150, 5537, 18, 542, 3332, 12, 3576, 1769, 202, 202, 46, 3616, 1529, 3616, 273, 394, 28804, 2932, 3141, 8863, 202, 202, 46, 5537, 3568, 5537, 273, 394, 24048, 5621, 202, 202, 759, 2672, 805, 261, 5249, 3744, 13, 3511, 3301, 358, 15825, 326, 7791, 3568, 202, 202, 5391, 5537, 18, 1289, 12, 601, 3616, 1769, 202, 202, 5814, 13538, 40, 23623, 18, 588, 1350, 8485, 7675, 542, 3744, 12, 2704, 30814, 10663, 202, 202, 5814, 13538, 40, 23623, 18, 588, 1350, 8485, 7675, 1289, 2932, 8449, 3113, 7895, 5537, 1769, 202, 202, 5814, 13538, 40, 23623, 18, 588, 1350, 8485, 7675, 1289, 2932, 55, 15347, 3113, 3568, 5537, 1769, 202, 202, 601, 3616, 18, 1289, 1803, 2223, 12, 2704, 25962, 1435, 6862, 25083, 282, 288, 6862, 6862, 1082, 202, 482, 918, 26100, 12, 1803, 1133, 425, 13, 6862, 6862, 1082, 202, 95, 6862, 6862, 9506, 202, 5814, 13538, 40, 23623, 18, 2251, 4150, 5621, 6862, 6862, 1082, 202, 97, 6862, 25083, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2405, 3332, 382, 6353, 12, 9486, 1079, 1234, 16, 8058, 982, 13, 202, 95, 202, 202, 6385, 804, 6353, 1906, 13538, 40, 23623, 273, 394, 804, 6353, 12, 2938, 16, 315, 9486, 2350, 3113, 638, 1769, 202, 202, 13538, 18070, 7895, 5537, 273, 394, 23887, 18070, 5621, 202, 202, 10150, 5537, 18, 542, 8107, 12, 2704, 4823, 941, 8107, 12, 1919, 941, 8107, 18, 2849, 45, 18204, 10019, 202, 202, 10150, 5537, 18, 542, 1526, 12, 5743, 1769, 202, 202, 10150, 5537, 18, 542, 3332, 12, 3576, 1769, 202, 202, 46, 3616, 1529, 3616, 273, 394, 28804, 2932, 3141, 8863, 202, 202, 46, 5537, 3568, 5537, 273, 394, 24048, 5621, 202, 202, 759, 2672, 2 ]
}
public void addUserName(String name) { if (!containsUserName(name)) { String[] newNames = new String[userNames.length + 1]; for (int i=0; i<userNames.length; i++) { newNames[i] = userNames[i]; } newNames[newNames.length - 1] = name; setUserNames(newNames); } }
47551 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47551/f14c5eedda256457bb4de934cfa0656bce4f9a3c/DefaultUserNameStore.java/buggy/src/java/org/jdesktop/swingx/auth/DefaultUserNameStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 527, 15296, 12, 780, 508, 13, 288, 7734, 309, 16051, 12298, 15296, 12, 529, 3719, 288, 5411, 514, 8526, 394, 1557, 273, 394, 514, 63, 1355, 1557, 18, 2469, 397, 404, 15533, 5411, 364, 261, 474, 277, 33, 20, 31, 277, 32, 1355, 1557, 18, 2469, 31, 277, 27245, 288, 7734, 394, 1557, 63, 77, 65, 273, 729, 1557, 63, 77, 15533, 15604, 394, 1557, 63, 2704, 1557, 18, 2469, 300, 404, 65, 273, 508, 31, 5411, 14365, 1557, 12, 2704, 1557, 1769, 15604, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 527, 15296, 12, 780, 508, 13, 288, 7734, 309, 16051, 12298, 15296, 12, 529, 3719, 288, 5411, 514, 8526, 394, 1557, 273, 394, 514, 63, 1355, 1557, 18, 2469, 397, 404, 15533, 5411, 364, 261, 474, 277, 33, 20, 31, 277, 32, 1355, 1557, 18, 2469, 31, 277, 27245, 288, 7734, 394, 1557, 63, 77, 65, 273, 729, 1557, 63, 77, 15533, 15604, 394, 1557, 63, 2704, 1557, 18, 2469, 300, 404, 65, 273, 508, 31, 5411, 14365, 1557, 12, 2704, 1557, 1769, 15604, 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 ]
return;
public void handleFrameClosed(PortletFrameEvent event) { List scomponents = Collections.synchronizedList(components); synchronized (scomponents) { Iterator it = scomponents.iterator(); PortletComponent p = null; int id = event.getID(); while (it.hasNext()) { p = (PortletComponent) it.next(); // check for the frame that has been closed if (p.getComponentID() == id) { if (p instanceof PortletFrame) { this.removePortletComponent(p); try { PortletPageFactory pageFactory = PortletPageFactory.getInstance(); PortletPage page = pageFactory.createPortletPage(event.getRequest()); page.init(event.getRequest(), new Vector()); page.save(); } catch (Exception e) { //log.error("Unable to save portlet page", e); } finally { return; } } } } } }
49343 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49343/08e6d65dc4b33e716c12a2532cea11b7ba150aea/PortletFrameLayout.java/clean/src/org/gridlab/gridsphere/layout/PortletFrameLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 327, 31, 327, 31, 327, 31, 327, 31, 1071, 2463, 31, 918, 2463, 31, 1640, 3219, 7395, 12, 18566, 3219, 1133, 2463, 31, 871, 13, 2463, 31, 288, 2463, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 987, 2463, 31, 272, 8119, 2463, 31, 273, 2463, 31, 5737, 18, 22043, 682, 12, 8119, 1769, 2463, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 3852, 2463, 31, 261, 87, 8119, 13, 2463, 31, 288, 2463, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 4498, 2463, 31, 518, 2463, 31, 273, 2463, 31, 272, 8119, 18, 9838, 5621, 2463, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 21305, 1841, 2463, 31, 675, 20922, 31, 273, 2463, 31, 446, 31, 2463, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 509, 2463, 31, 612, 2463, 31, 273, 2463, 31, 871, 18, 588, 734, 5621, 2463, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 600, 2895, 851, 31, 261, 305, 18, 5332, 2134, 10756, 2463, 31, 288, 2463, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 675, 20922, 31, 273, 2463, 31, 261, 18566, 1841, 13, 2463, 31, 518, 18, 4285, 5621, 2463, 31, 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, 327, 31, 327, 31, 327, 31, 327, 31, 1071, 2463, 31, 918, 2463, 31, 1640, 3219, 7395, 12, 18566, 3219, 1133, 2463, 31, 871, 13, 2463, 31, 288, 2463, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 987, 2463, 31, 272, 8119, 2463, 31, 273, 2463, 31, 5737, 18, 22043, 682, 12, 8119, 1769, 2463, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 3852, 2463, 31, 261, 87, 8119, 13, 2463, 31, 288, 2463, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 327, 31, 4498, 2463, 31, 518, 2463, 31, 273, 2463, 31, 272, 8119, 18, 9838, 5621, 2463, 31, 2 ]
}
public void whenTrue(Runnable action) throws InterruptedException { synchronized (lock_) { while (!value_) lock_.wait(); if (action != null) action.run(); } }
4082 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4082/a6a25004fd5e24a1bc5f053aa539d01dc2553fbf/WaitableBoolean.java/clean/src/java/org/logicalcobwebs/concurrent/WaitableBoolean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 225, 918, 1347, 5510, 12, 20013, 1301, 13, 1216, 7558, 288, 565, 3852, 261, 739, 67, 13, 288, 1377, 1323, 16051, 1132, 67, 13, 2176, 27799, 7048, 5621, 1377, 309, 261, 1128, 480, 446, 13, 1301, 18, 2681, 5621, 377, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 225, 918, 1347, 5510, 12, 20013, 1301, 13, 1216, 7558, 288, 565, 3852, 261, 739, 67, 13, 288, 1377, 1323, 16051, 1132, 67, 13, 2176, 27799, 7048, 5621, 1377, 309, 261, 1128, 480, 446, 13, 1301, 18, 2681, 5621, 377, 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 ]
case 312 : if (DEBUG) { System.out.println("PushLPAREN ::= LPAREN"); }
case 313 : if (DEBUG) { System.out.println("PushLPAREN ::= LPAREN"); }
protected void consumeRule(int act) { switch ( act ) { case 26 : if (DEBUG) { System.out.println("Type ::= PrimitiveType"); } //$NON-NLS-1$ consumePrimitiveType(); break; case 40 : if (DEBUG) { System.out.println("ReferenceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeReferenceType(); break; case 44 : if (DEBUG) { System.out.println("ClassOrInterface ::= Name"); } //$NON-NLS-1$ consumeClassOrInterfaceName(); break; case 45 : if (DEBUG) { System.out.println("ClassOrInterface ::= GenericType DOT Name"); } //$NON-NLS-1$ consumeClassOrInterface(); break; case 46 : if (DEBUG) { System.out.println("GenericType ::= ClassOrInterface TypeArguments"); } //$NON-NLS-1$ consumeGenericType(); break; case 47 : if (DEBUG) { System.out.println("ArrayTypeWithTypeArgumentsName ::= GenericType DOT Name"); } //$NON-NLS-1$ consumeArrayTypeWithTypeArgumentsName(); break; case 48 : if (DEBUG) { System.out.println("ArrayType ::= PrimitiveType Dims"); } //$NON-NLS-1$ consumePrimitiveArrayType(); break; case 49 : if (DEBUG) { System.out.println("ArrayType ::= Name Dims"); } //$NON-NLS-1$ consumeNameArrayType(); break; case 50 : if (DEBUG) { System.out.println("ArrayType ::= ArrayTypeWithTypeArgumentsName Dims"); } //$NON-NLS-1$ consumeGenericTypeNameArrayType(); break; case 51 : if (DEBUG) { System.out.println("ArrayType ::= GenericType Dims"); } //$NON-NLS-1$ consumeGenericTypeArrayType(); break; case 56 : if (DEBUG) { System.out.println("QualifiedName ::= Name DOT SimpleName"); } //$NON-NLS-1$ consumeQualifiedName(); break; case 57 : if (DEBUG) { System.out.println("CompilationUnit ::= EnterCompilationUnit..."); } //$NON-NLS-1$ consumeCompilationUnit(); break; case 58 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration"); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 59 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 60 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 61 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 62 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 63 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= TypeDeclarations"); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 64 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 65 : if (DEBUG) { System.out.println("InternalCompilationUnit ::="); } //$NON-NLS-1$ consumeEmptyInternalCompilationUnit(); break; case 66 : if (DEBUG) { System.out.println("ReduceImports ::="); } //$NON-NLS-1$ consumeReduceImports(); break; case 67 : if (DEBUG) { System.out.println("EnterCompilationUnit ::="); } //$NON-NLS-1$ consumeEnterCompilationUnit(); break; case 78 : if (DEBUG) { System.out.println("CatchHeader ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeCatchHeader(); break; case 80 : if (DEBUG) { System.out.println("ImportDeclarations ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeImportDeclarations(); break; case 82 : if (DEBUG) { System.out.println("TypeDeclarations ::= TypeDeclarations TypeDeclaration"); } //$NON-NLS-1$ consumeTypeDeclarations(); break; case 83 : if (DEBUG) { System.out.println("PackageDeclaration ::= PackageDeclarationName SEMICOLON"); } //$NON-NLS-1$ consumePackageDeclaration(); break; case 84 : if (DEBUG) { System.out.println("PackageDeclarationName ::= Modifiers package..."); } //$NON-NLS-1$ consumePackageDeclarationNameWithModifiers(); break; case 85 : if (DEBUG) { System.out.println("PackageDeclarationName ::= package Name"); } //$NON-NLS-1$ consumePackageDeclarationName(); break; case 90 : if (DEBUG) { System.out.println("SingleTypeImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 91 : if (DEBUG) { System.out.println("SingleTypeImportDeclarationName ::= import Name"); } //$NON-NLS-1$ consumeSingleTypeImportDeclarationName(); break; case 92 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 93 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclarationName ::= import Name DOT..."); } //$NON-NLS-1$ consumeTypeImportOnDemandDeclarationName(); break; case 96 : if (DEBUG) { System.out.println("TypeDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyTypeDeclaration(); break; case 100 : if (DEBUG) { System.out.println("Modifiers ::= Modifiers Modifier"); } //$NON-NLS-1$ consumeModifiers2(); break; case 112 : if (DEBUG) { System.out.println("Modifier ::= Annotation"); } //$NON-NLS-1$ consumeAnnotationAsModifier(); break; case 113 : if (DEBUG) { System.out.println("ClassDeclaration ::= ClassHeader ClassBody"); } //$NON-NLS-1$ consumeClassDeclaration(); break; case 114 : if (DEBUG) { System.out.println("ClassHeader ::= ClassHeaderName ClassHeaderExtendsopt..."); } //$NON-NLS-1$ consumeClassHeader(); break; case 115 : if (DEBUG) { System.out.println("ClassHeaderName ::= ClassHeaderName1 TypeParameters"); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 117 : if (DEBUG) { System.out.println("ClassHeaderName1 ::= Modifiersopt class Identifier"); } //$NON-NLS-1$ consumeClassHeaderName1(); break; case 118 : if (DEBUG) { System.out.println("ClassHeaderExtends ::= extends ClassType"); } //$NON-NLS-1$ consumeClassHeaderExtends(); break; case 119 : if (DEBUG) { System.out.println("ClassHeaderImplements ::= implements InterfaceTypeList"); } //$NON-NLS-1$ consumeClassHeaderImplements(); break; case 121 : if (DEBUG) { System.out.println("InterfaceTypeList ::= InterfaceTypeList COMMA..."); } //$NON-NLS-1$ consumeInterfaceTypeList(); break; case 122 : if (DEBUG) { System.out.println("InterfaceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeInterfaceType(); break; case 125 : if (DEBUG) { System.out.println("ClassBodyDeclarations ::= ClassBodyDeclarations..."); } //$NON-NLS-1$ consumeClassBodyDeclarations(); break; case 129 : if (DEBUG) { System.out.println("ClassBodyDeclaration ::= Diet NestedMethod Block"); } //$NON-NLS-1$ consumeClassBodyDeclaration(); break; case 130 : if (DEBUG) { System.out.println("Diet ::="); } //$NON-NLS-1$ consumeDiet(); break; case 131 : if (DEBUG) { System.out.println("Initializer ::= Diet NestedMethod Block"); } //$NON-NLS-1$ consumeClassBodyDeclaration(); break; case 138 : if (DEBUG) { System.out.println("ClassMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyClassMemberDeclaration(); break; case 141 : if (DEBUG) { System.out.println("FieldDeclaration ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFieldDeclaration(); break; case 143 : if (DEBUG) { System.out.println("VariableDeclarators ::= VariableDeclarators COMMA..."); } //$NON-NLS-1$ consumeVariableDeclarators(); break; case 146 : if (DEBUG) { System.out.println("EnterVariable ::="); } //$NON-NLS-1$ consumeEnterVariable(); break; case 147 : if (DEBUG) { System.out.println("ExitVariableWithInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithInitialization(); break; case 148 : if (DEBUG) { System.out.println("ExitVariableWithoutInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithoutInitialization(); break; case 149 : if (DEBUG) { System.out.println("ForceNoDiet ::="); } //$NON-NLS-1$ consumeForceNoDiet(); break; case 150 : if (DEBUG) { System.out.println("RestoreDiet ::="); } //$NON-NLS-1$ consumeRestoreDiet(); break; case 155 : if (DEBUG) { System.out.println("MethodDeclaration ::= MethodHeader MethodBody"); } //$NON-NLS-1$ // set to true to consume a method with a body consumeMethodDeclaration(true); break; case 156 : if (DEBUG) { System.out.println("AbstractMethodDeclaration ::= MethodHeader SEMICOLON"); } //$NON-NLS-1$ // set to false to consume a method without body consumeMethodDeclaration(false); break; case 157 : if (DEBUG) { System.out.println("MethodHeader ::= MethodHeaderName FormalParameterListopt"); } //$NON-NLS-1$ consumeMethodHeader(); break; case 158 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt TypeParameters Type..."); } //$NON-NLS-1$ consumeMethodHeaderNameWithTypeParameters(); break; case 159 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt Type Identifier LPAREN"); } //$NON-NLS-1$ consumeMethodHeaderName(); break; case 160 : if (DEBUG) { System.out.println("MethodHeaderRightParen ::= RPAREN"); } //$NON-NLS-1$ consumeMethodHeaderRightParen(); break; case 161 : if (DEBUG) { System.out.println("MethodHeaderExtendedDims ::= Dimsopt"); } //$NON-NLS-1$ consumeMethodHeaderExtendedDims(); break; case 162 : if (DEBUG) { System.out.println("MethodHeaderThrowsClause ::= throws ClassTypeList"); } //$NON-NLS-1$ consumeMethodHeaderThrowsClause(); break; case 163 : if (DEBUG) { System.out.println("ConstructorHeader ::= ConstructorHeaderName..."); } //$NON-NLS-1$ consumeConstructorHeader(); break; case 164 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt TypeParameters..."); } //$NON-NLS-1$ consumeConstructorHeaderNameWithTypeParameters(); break; case 165 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt Identifier LPAREN"); } //$NON-NLS-1$ consumeConstructorHeaderName(); break; case 167 : if (DEBUG) { System.out.println("FormalParameterList ::= FormalParameterList COMMA..."); } //$NON-NLS-1$ consumeFormalParameterList(); break; case 168 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFormalParameter(false); break; case 169 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type ELLIPSIS..."); } //$NON-NLS-1$ consumeFormalParameter(true); break; case 171 : if (DEBUG) { System.out.println("ClassTypeList ::= ClassTypeList COMMA ClassTypeElt"); } //$NON-NLS-1$ consumeClassTypeList(); break; case 172 : if (DEBUG) { System.out.println("ClassTypeElt ::= ClassType"); } //$NON-NLS-1$ consumeClassTypeElt(); break; case 173 : if (DEBUG) { System.out.println("MethodBody ::= NestedMethod LBRACE BlockStatementsopt..."); } //$NON-NLS-1$ consumeMethodBody(); break; case 174 : if (DEBUG) { System.out.println("NestedMethod ::="); } //$NON-NLS-1$ consumeNestedMethod(); break; case 175 : if (DEBUG) { System.out.println("StaticInitializer ::= StaticOnly Block"); } //$NON-NLS-1$ consumeStaticInitializer(); break; case 176 : if (DEBUG) { System.out.println("StaticOnly ::= static"); } //$NON-NLS-1$ consumeStaticOnly(); break; case 177 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader MethodBody"); } //$NON-NLS-1$ consumeConstructorDeclaration() ; break; case 178 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader SEMICOLON"); } //$NON-NLS-1$ consumeInvalidConstructorDeclaration() ; break; case 179 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= this LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0, THIS_CALL); break; case 180 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments this"); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,THIS_CALL); break; case 181 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= super LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0,SUPER_CALL); break; case 182 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,SUPER_CALL); break; case 183 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT super..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, SUPER_CALL); break; case 184 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, SUPER_CALL); break; case 185 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT super LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, SUPER_CALL); break; case 186 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, SUPER_CALL); break; case 187 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT this..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, THIS_CALL); break; case 188 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, THIS_CALL); break; case 189 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT this LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, THIS_CALL); break; case 190 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, THIS_CALL); break; case 191 : if (DEBUG) { System.out.println("InterfaceDeclaration ::= InterfaceHeader InterfaceBody"); } //$NON-NLS-1$ consumeInterfaceDeclaration(); break; case 192 : if (DEBUG) { System.out.println("InterfaceHeader ::= InterfaceHeaderName..."); } //$NON-NLS-1$ consumeInterfaceHeader(); break; case 193 : if (DEBUG) { System.out.println("InterfaceHeaderName ::= InterfaceHeaderName1..."); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 195 : if (DEBUG) { System.out.println("InterfaceHeaderName1 ::= Modifiersopt interface..."); } //$NON-NLS-1$ consumeInterfaceHeaderName1(); break; case 197 : if (DEBUG) { System.out.println("InterfaceHeaderExtends ::= extends InterfaceTypeList"); } //$NON-NLS-1$ consumeInterfaceHeaderExtends(); break; case 200 : if (DEBUG) { System.out.println("InterfaceMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarations(); break; case 201 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclaration(); break; case 204 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= InvalidMethodDeclaration"); } //$NON-NLS-1$ ignoreMethodBody(); break; case 205 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ ignoreInvalidConstructorDeclaration(true); break; case 206 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ ignoreInvalidConstructorDeclaration(false); break; case 213 : if (DEBUG) { System.out.println("PushLeftBrace ::="); } //$NON-NLS-1$ consumePushLeftBrace(); break; case 214 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace ,opt RBRACE"); } //$NON-NLS-1$ consumeEmptyArrayInitializer(); break; case 215 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 216 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 218 : if (DEBUG) { System.out.println("VariableInitializers ::= VariableInitializers COMMA..."); } //$NON-NLS-1$ consumeVariableInitializers(); break; case 219 : if (DEBUG) { System.out.println("Block ::= OpenBlock LBRACE BlockStatementsopt RBRACE"); } //$NON-NLS-1$ consumeBlock(); break; case 220 : if (DEBUG) { System.out.println("OpenBlock ::="); } //$NON-NLS-1$ consumeOpenBlock() ; break; case 222 : if (DEBUG) { System.out.println("BlockStatements ::= BlockStatements BlockStatement"); } //$NON-NLS-1$ consumeBlockStatements() ; break; case 226 : if (DEBUG) { System.out.println("BlockStatement ::= InvalidInterfaceDeclaration"); } //$NON-NLS-1$ ignoreInterfaceDeclaration(); break; case 227 : if (DEBUG) { System.out.println("LocalVariableDeclarationStatement ::=..."); } //$NON-NLS-1$ consumeLocalVariableDeclarationStatement(); break; case 228 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Type PushModifiers..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 229 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Modifiers Type..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 230 : if (DEBUG) { System.out.println("PushModifiers ::="); } //$NON-NLS-1$ consumePushModifiers(); break; case 231 : if (DEBUG) { System.out.println("PushRealModifiers ::="); } //$NON-NLS-1$ consumePushRealModifiers(); break; case 257 : if (DEBUG) { System.out.println("EmptyStatement ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyStatement(); break; case 258 : if (DEBUG) { System.out.println("LabeledStatement ::= Identifier COLON Statement"); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 259 : if (DEBUG) { System.out.println("LabeledStatementNoShortIf ::= Identifier COLON..."); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 260 : if (DEBUG) { System.out.println("ExpressionStatement ::= StatementExpression SEMICOLON"); } //$NON-NLS-1$ consumeExpressionStatement(); break; case 269 : if (DEBUG) { System.out.println("IfThenStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfNoElse(); break; case 270 : if (DEBUG) { System.out.println("IfThenElseStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 271 : if (DEBUG) { System.out.println("IfThenElseStatementNoShortIf ::= if LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 272 : if (DEBUG) { System.out.println("SwitchStatement ::= switch LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementSwitch() ; break; case 273 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE RBRACE"); } //$NON-NLS-1$ consumeEmptySwitchBlock() ; break; case 276 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlock() ; break; case 278 : if (DEBUG) { System.out.println("SwitchBlockStatements ::= SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlockStatements() ; break; case 279 : if (DEBUG) { System.out.println("SwitchBlockStatement ::= SwitchLabels BlockStatements"); } //$NON-NLS-1$ consumeSwitchBlockStatement() ; break; case 281 : if (DEBUG) { System.out.println("SwitchLabels ::= SwitchLabels SwitchLabel"); } //$NON-NLS-1$ consumeSwitchLabels() ; break; case 282 : if (DEBUG) { System.out.println("SwitchLabel ::= case ConstantExpression COLON"); } //$NON-NLS-1$ consumeCaseLabel(); break; case 283 : if (DEBUG) { System.out.println("SwitchLabel ::= default COLON"); } //$NON-NLS-1$ consumeDefaultLabel(); break; case 284 : if (DEBUG) { System.out.println("WhileStatement ::= while LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 285 : if (DEBUG) { System.out.println("WhileStatementNoShortIf ::= while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 286 : if (DEBUG) { System.out.println("DoStatement ::= do Statement while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementDo() ; break; case 287 : if (DEBUG) { System.out.println("ForStatement ::= for LPAREN ForInitopt SEMICOLON..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 288 : if (DEBUG) { System.out.println("ForStatementNoShortIf ::= for LPAREN ForInitopt..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 289 : if (DEBUG) { System.out.println("ForInit ::= StatementExpressionList"); } //$NON-NLS-1$ consumeForInit() ; break; case 293 : if (DEBUG) { System.out.println("StatementExpressionList ::= StatementExpressionList..."); } //$NON-NLS-1$ consumeStatementExpressionList() ; break; case 294 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression SEMICOLON"); } //$NON-NLS-1$ consumeSimpleAssertStatement() ; break; case 295 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression COLON Expression"); } //$NON-NLS-1$ consumeAssertStatement() ; break; case 296 : if (DEBUG) { System.out.println("BreakStatement ::= break SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreak() ; break; case 297 : if (DEBUG) { System.out.println("BreakStatement ::= break Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreakWithLabel() ; break; case 298 : if (DEBUG) { System.out.println("ContinueStatement ::= continue SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinue() ; break; case 299 : if (DEBUG) { System.out.println("ContinueStatement ::= continue Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinueWithLabel() ; break; case 300 : if (DEBUG) { System.out.println("ReturnStatement ::= return Expressionopt SEMICOLON"); } //$NON-NLS-1$ consumeStatementReturn() ; break; case 301 : if (DEBUG) { System.out.println("ThrowStatement ::= throw Expression SEMICOLON"); } //$NON-NLS-1$ consumeStatementThrow(); break; case 302 : if (DEBUG) { System.out.println("SynchronizedStatement ::= OnlySynchronized LPAREN..."); } //$NON-NLS-1$ consumeStatementSynchronized(); break; case 303 : if (DEBUG) { System.out.println("OnlySynchronized ::= synchronized"); } //$NON-NLS-1$ consumeOnlySynchronized(); break; case 304 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catches"); } //$NON-NLS-1$ consumeStatementTry(false); break; case 305 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catchesopt Finally"); } //$NON-NLS-1$ consumeStatementTry(true); break; case 307 : if (DEBUG) { System.out.println("ExitTryBlock ::="); } //$NON-NLS-1$ consumeExitTryBlock(); break; case 309 : if (DEBUG) { System.out.println("Catches ::= Catches CatchClause"); } //$NON-NLS-1$ consumeCatches(); break; case 310 : if (DEBUG) { System.out.println("CatchClause ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeStatementCatch() ; break; case 312 : if (DEBUG) { System.out.println("PushLPAREN ::= LPAREN"); } //$NON-NLS-1$ consumeLeftParen(); break; case 313 : if (DEBUG) { System.out.println("PushRPAREN ::= RPAREN"); } //$NON-NLS-1$ consumeRightParen(); break; case 318 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayThis(); break; case 319 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Expression_NotName..."); } //$NON-NLS-1$ consumePrimaryNoNewArray(); break; case 320 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Name PushRPAREN"); } //$NON-NLS-1$ consumePrimaryNoNewArrayWithName(); break; case 323 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameThis(); break; case 324 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT super"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameSuper(); break; case 325 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayName(); break; case 326 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayArrayType(); break; case 327 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveArrayType(); break; case 328 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveType(); break; case 331 : if (DEBUG) { System.out.println("AllocationHeader ::= new ClassType LPAREN..."); } //$NON-NLS-1$ consumeAllocationHeader(); break; case 332 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionWithTypeArguments(); break; case 333 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new ClassType LPAREN"); } //$NON-NLS-1$ consumeClassInstanceCreationExpression(); break; case 334 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 335 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 336 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 337 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 338 : if (DEBUG) { System.out.println("ClassInstanceCreationExpressionName ::= Name DOT"); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionName() ; break; case 339 : if (DEBUG) { System.out.println("ClassBodyopt ::="); } //$NON-NLS-1$ consumeClassBodyopt(); break; case 341 : if (DEBUG) { System.out.println("ClassBodySimpleNameopt ::="); } //$NON-NLS-1$ consumeClassBodyopt(); break; case 343 : if (DEBUG) { System.out.println("EnterAnonymousClassBodySimpleName ::="); } //$NON-NLS-1$ consumeEnterAnonymousClassBodySimpleName(); break; case 344 : if (DEBUG) { System.out.println("EnterAnonymousClassBody ::="); } //$NON-NLS-1$ consumeEnterAnonymousClassBody(); break; case 346 : if (DEBUG) { System.out.println("ArgumentList ::= ArgumentList COMMA Expression"); } //$NON-NLS-1$ consumeArgumentList(); break; case 347 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new PrimitiveType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 348 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new ClassOrInterfaceType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 349 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 350 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new PrimitiveType"); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 351 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 352 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 354 : if (DEBUG) { System.out.println("DimWithOrWithOutExprs ::= DimWithOrWithOutExprs..."); } //$NON-NLS-1$ consumeDimWithOrWithOutExprs(); break; case 356 : if (DEBUG) { System.out.println("DimWithOrWithOutExpr ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeDimWithOrWithOutExpr(); break; case 357 : if (DEBUG) { System.out.println("Dims ::= DimsLoop"); } //$NON-NLS-1$ consumeDims(); break; case 360 : if (DEBUG) { System.out.println("OneDimLoop ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeOneDimLoop(); break; case 361 : if (DEBUG) { System.out.println("FieldAccess ::= Primary DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(false); break; case 362 : if (DEBUG) { System.out.println("FieldAccess ::= super DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(true); break; case 363 : if (DEBUG) { System.out.println("MethodInvocation ::= Name LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeMethodInvocationName(); break; case 364 : if (DEBUG) { System.out.println("MethodInvocation ::= Name DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationNameWithTypeArguments(); break; case 365 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationPrimaryWithTypeArguments(); break; case 366 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationPrimary(); break; case 367 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationSuperWithTypeArguments(); break; case 368 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationSuper(); break; case 369 : if (DEBUG) { System.out.println("ArrayAccess ::= Name LBRACKET Expression RBRACKET"); } //$NON-NLS-1$ consumeArrayAccess(true); break; case 370 : if (DEBUG) { System.out.println("ArrayAccess ::= PrimaryNoNewArray LBRACKET Expression..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 371 : if (DEBUG) { System.out.println("ArrayAccess ::= ArrayCreationWithArrayInitializer..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 373 : if (DEBUG) { System.out.println("PostfixExpression ::= Name"); } //$NON-NLS-1$ consumePostfixExpression(); break; case 376 : if (DEBUG) { System.out.println("PostIncrementExpression ::= PostfixExpression PLUS_PLUS"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,true); break; case 377 : if (DEBUG) { System.out.println("PostDecrementExpression ::= PostfixExpression..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,true); break; case 378 : if (DEBUG) { System.out.println("PushPosition ::="); } //$NON-NLS-1$ consumePushPosition(); break; case 381 : if (DEBUG) { System.out.println("UnaryExpression ::= PLUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 382 : if (DEBUG) { System.out.println("UnaryExpression ::= MINUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 384 : if (DEBUG) { System.out.println("PreIncrementExpression ::= PLUS_PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,false); break; case 385 : if (DEBUG) { System.out.println("PreDecrementExpression ::= MINUS_MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,false); break; case 387 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= TWIDDLE PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 388 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= NOT PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 390 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN PrimitiveType Dimsopt..."); } //$NON-NLS-1$ consumeCastExpressionWithPrimitiveType(); break; case 391 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithGenericsArray(); break; case 392 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithQualifiedGenericsArray(); break; case 393 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionLL1(); break; case 394 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name Dims PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionWithNameArray(); break; case 395 : if (DEBUG) { System.out.println("OnlyTypeArgumentsForCastExpression ::= OnlyTypeArguments"); } //$NON-NLS-1$ consumeOnlyTypeArgumentsForCastExpression(); break; case 396 : if (DEBUG) { System.out.println("InsideCastExpression ::="); } //$NON-NLS-1$ consumeInsideCastExpression(); break; case 397 : if (DEBUG) { System.out.println("InsideCastExpressionLL1 ::="); } //$NON-NLS-1$ consumeInsideCastExpressionLL1(); break; case 398 : if (DEBUG) { System.out.println("InsideCastExpressionWithQualifiedGenerics ::="); } //$NON-NLS-1$ consumeInsideCastExpressionWithQualifiedGenerics(); break; case 400 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 401 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 402 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 404 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression PLUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 405 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression MINUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 407 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 408 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 409 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 411 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 412 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression GREATER..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 413 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS_EQUAL"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 414 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 416 : if (DEBUG) { System.out.println("InstanceofExpression ::= InstanceofExpression instanceof"); } //$NON-NLS-1$ consumeInstanceOfExpression(OperatorIds.INSTANCEOF); break; case 418 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 419 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 421 : if (DEBUG) { System.out.println("AndExpression ::= AndExpression AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 423 : if (DEBUG) { System.out.println("ExclusiveOrExpression ::= ExclusiveOrExpression XOR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 425 : if (DEBUG) { System.out.println("InclusiveOrExpression ::= InclusiveOrExpression OR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 427 : if (DEBUG) { System.out.println("ConditionalAndExpression ::= ConditionalAndExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 429 : if (DEBUG) { System.out.println("ConditionalOrExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 431 : if (DEBUG) { System.out.println("ConditionalExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 434 : if (DEBUG) { System.out.println("Assignment ::= PostfixExpression AssignmentOperator..."); } //$NON-NLS-1$ consumeAssignment(); break; case 436 : if (DEBUG) { System.out.println("Assignment ::= InvalidArrayInitializerAssignement"); } //$NON-NLS-1$ ignoreExpressionAssignment(); break; case 437 : if (DEBUG) { System.out.println("AssignmentOperator ::= EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(EQUAL); break; case 438 : if (DEBUG) { System.out.println("AssignmentOperator ::= MULTIPLY_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MULTIPLY); break; case 439 : if (DEBUG) { System.out.println("AssignmentOperator ::= DIVIDE_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(DIVIDE); break; case 440 : if (DEBUG) { System.out.println("AssignmentOperator ::= REMAINDER_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(REMAINDER); break; case 441 : if (DEBUG) { System.out.println("AssignmentOperator ::= PLUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(PLUS); break; case 442 : if (DEBUG) { System.out.println("AssignmentOperator ::= MINUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MINUS); break; case 443 : if (DEBUG) { System.out.println("AssignmentOperator ::= LEFT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(LEFT_SHIFT); break; case 444 : if (DEBUG) { System.out.println("AssignmentOperator ::= RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(RIGHT_SHIFT); break; case 445 : if (DEBUG) { System.out.println("AssignmentOperator ::= UNSIGNED_RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(UNSIGNED_RIGHT_SHIFT); break; case 446 : if (DEBUG) { System.out.println("AssignmentOperator ::= AND_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(AND); break; case 447 : if (DEBUG) { System.out.println("AssignmentOperator ::= XOR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(XOR); break; case 448 : if (DEBUG) { System.out.println("AssignmentOperator ::= OR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(OR); break; case 452 : if (DEBUG) { System.out.println("Expressionopt ::="); } //$NON-NLS-1$ consumeEmptyExpression(); break; case 457 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyClassBodyDeclarationsopt(); break; case 458 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeClassBodyDeclarationsopt(); break; case 459 : if (DEBUG) { System.out.println("Modifiersopt ::="); } //$NON-NLS-1$ consumeDefaultModifiers(); break; case 460 : if (DEBUG) { System.out.println("Modifiersopt ::= Modifiers"); } //$NON-NLS-1$ consumeModifiers(); break; case 461 : if (DEBUG) { System.out.println("BlockStatementsopt ::="); } //$NON-NLS-1$ consumeEmptyBlockStatementsopt(); break; case 463 : if (DEBUG) { System.out.println("Dimsopt ::="); } //$NON-NLS-1$ consumeEmptyDimsopt(); break; case 465 : if (DEBUG) { System.out.println("ArgumentListopt ::="); } //$NON-NLS-1$ consumeEmptyArgumentListopt(); break; case 469 : if (DEBUG) { System.out.println("FormalParameterListopt ::="); } //$NON-NLS-1$ consumeFormalParameterListopt(); break; case 473 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclarationsopt(); break; case 474 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarationsopt(); break; case 475 : if (DEBUG) { System.out.println("NestedType ::="); } //$NON-NLS-1$ consumeNestedType(); break; case 476 : if (DEBUG) { System.out.println("ForInitopt ::="); } //$NON-NLS-1$ consumeEmptyForInitopt(); break; case 478 : if (DEBUG) { System.out.println("ForUpdateopt ::="); } //$NON-NLS-1$ consumeEmptyForUpdateopt(); break; case 482 : if (DEBUG) { System.out.println("Catchesopt ::="); } //$NON-NLS-1$ consumeEmptyCatchesopt(); break; case 484 : if (DEBUG) { System.out.println("EnumDeclaration ::= EnumHeader ClassHeaderImplementsopt"); } //$NON-NLS-1$ consumeEnumDeclaration(); break; case 485 : if (DEBUG) { System.out.println("EnumHeader ::= Modifiersopt enum Identifier"); } //$NON-NLS-1$ consumeEnumHeader(); break; case 486 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumBodyDeclarationsopt RBRACE"); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 487 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE COMMA EnumBodyDeclarationsopt..."); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 488 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants COMMA..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 489 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 491 : if (DEBUG) { System.out.println("EnumConstants ::= EnumConstants COMMA EnumConstant"); } //$NON-NLS-1$ consumeEnumConstants(); break; case 492 : if (DEBUG) { System.out.println("EnumConstantHeader ::= Identifier Argumentsopt"); } //$NON-NLS-1$ consumeEnumConstantHeader(); break; case 493 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader ClassBody"); } //$NON-NLS-1$ consumeEnumConstantWithClassBody(); break; case 494 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader"); } //$NON-NLS-1$ consumeEnumConstantNoClassBody(); break; case 495 : if (DEBUG) { System.out.println("Arguments ::= LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeArguments(); break; case 496 : if (DEBUG) { System.out.println("Argumentsopt ::="); } //$NON-NLS-1$ consumeEmptyArguments(); break; case 498 : if (DEBUG) { System.out.println("EnumDeclarations ::= SEMICOLON ClassBodyDeclarationsopt"); } //$NON-NLS-1$ consumeEnumDeclarations(); break; case 499 : if (DEBUG) { System.out.println("EnumBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyEnumDeclarations(); break; case 501 : if (DEBUG) { System.out.println("EnhancedForStatement ::= EnhancedForStatementHeader..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 502 : if (DEBUG) { System.out.println("EnhancedForStatementNoShortIf ::=..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 503 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::= for LPAREN Type..."); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(false); break; case 504 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::= for LPAREN Modifiers Type"); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(true); break; case 505 : if (DEBUG) { System.out.println("SingleStaticImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 506 : if (DEBUG) { System.out.println("SingleStaticImportDeclarationName ::= import static Name"); } //$NON-NLS-1$ consumeSingleStaticImportDeclarationName(); break; case 507 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 508 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclarationName ::= import static..."); } //$NON-NLS-1$ consumeStaticImportOnDemandDeclarationName(); break; case 509 : if (DEBUG) { System.out.println("TypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeTypeArguments(); break; case 510 : if (DEBUG) { System.out.println("OnlyTypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeOnlyTypeArguments(); break; case 512 : if (DEBUG) { System.out.println("TypeArgumentList1 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList1(); break; case 514 : if (DEBUG) { System.out.println("TypeArgumentList ::= TypeArgumentList COMMA TypeArgument"); } //$NON-NLS-1$ consumeTypeArgumentList(); break; case 515 : if (DEBUG) { System.out.println("TypeArgument ::= ReferenceType"); } //$NON-NLS-1$ consumeTypeArgument(); break; case 519 : if (DEBUG) { System.out.println("ReferenceType1 ::= ReferenceType GREATER"); } //$NON-NLS-1$ consumeReferenceType1(); break; case 520 : if (DEBUG) { System.out.println("ReferenceType1 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType1(); break; case 522 : if (DEBUG) { System.out.println("TypeArgumentList2 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList2(); break; case 525 : if (DEBUG) { System.out.println("ReferenceType2 ::= ReferenceType RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType2(); break; case 526 : if (DEBUG) { System.out.println("ReferenceType2 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType2(); break; case 528 : if (DEBUG) { System.out.println("TypeArgumentList3 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList3(); break; case 531 : if (DEBUG) { System.out.println("ReferenceType3 ::= ReferenceType UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType3(); break; case 532 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION"); } //$NON-NLS-1$ consumeWildcard(); break; case 533 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION WildcardBounds"); } //$NON-NLS-1$ consumeWildcardWithBounds(); break; case 534 : if (DEBUG) { System.out.println("WildcardBounds ::= extends ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsExtends(); break; case 535 : if (DEBUG) { System.out.println("WildcardBounds ::= super ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsSuper(); break; case 536 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION GREATER"); } //$NON-NLS-1$ consumeWildcard1(); break; case 537 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION WildcardBounds1"); } //$NON-NLS-1$ consumeWildcard1WithBounds(); break; case 538 : if (DEBUG) { System.out.println("WildcardBounds1 ::= extends ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Extends(); break; case 539 : if (DEBUG) { System.out.println("WildcardBounds1 ::= super ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Super(); break; case 540 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard2(); break; case 541 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION WildcardBounds2"); } //$NON-NLS-1$ consumeWildcard2WithBounds(); break; case 542 : if (DEBUG) { System.out.println("WildcardBounds2 ::= extends ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Extends(); break; case 543 : if (DEBUG) { System.out.println("WildcardBounds2 ::= super ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Super(); break; case 544 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard3(); break; case 545 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION WildcardBounds3"); } //$NON-NLS-1$ consumeWildcard3WithBounds(); break; case 546 : if (DEBUG) { System.out.println("WildcardBounds3 ::= extends ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Extends(); break; case 547 : if (DEBUG) { System.out.println("WildcardBounds3 ::= super ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Super(); break; case 548 : if (DEBUG) { System.out.println("TypeParameterHeader ::= Identifier"); } //$NON-NLS-1$ consumeTypeParameterHeader(); break; case 549 : if (DEBUG) { System.out.println("TypeParameters ::= LESS TypeParameterList1"); } //$NON-NLS-1$ consumeTypeParameters(); break; case 551 : if (DEBUG) { System.out.println("TypeParameterList ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList(); break; case 553 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtends(); break; case 554 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtendsAndBounds(); break; case 556 : if (DEBUG) { System.out.println("AdditionalBoundList ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList(); break; case 557 : if (DEBUG) { System.out.println("AdditionalBound ::= AND ReferenceType"); } //$NON-NLS-1$ consumeAdditionalBound(); break; case 559 : if (DEBUG) { System.out.println("TypeParameterList1 ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList1(); break; case 560 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader GREATER"); } //$NON-NLS-1$ consumeTypeParameter1(); break; case 561 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtends(); break; case 562 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtendsAndBounds(); break; case 564 : if (DEBUG) { System.out.println("AdditionalBoundList1 ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList1(); break; case 565 : if (DEBUG) { System.out.println("AdditionalBound1 ::= AND ReferenceType1"); } //$NON-NLS-1$ consumeAdditionalBound1(); break; case 571 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 572 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 575 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= TWIDDLE..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 576 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= NOT PushPosition"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 579 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 580 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name MULTIPLY..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MULTIPLY); break; case 581 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 582 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name DIVIDE..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.DIVIDE); break; case 583 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 584 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name REMAINDER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.REMAINDER); break; case 586 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 587 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name PLUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.PLUS); break; case 588 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 589 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name MINUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MINUS); break; case 591 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 592 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LEFT_SHIFT); break; case 593 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 594 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.RIGHT_SHIFT); break; case 595 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 596 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name UNSIGNED_RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 598 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 599 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS); break; case 600 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 601 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER); break; case 602 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 603 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS_EQUAL); break; case 604 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 605 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER_EQUAL); break; case 607 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::= Name instanceof..."); } //$NON-NLS-1$ consumeInstanceOfExpressionWithName(OperatorIds.INSTANCEOF); break; case 608 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::=..."); } //$NON-NLS-1$ consumeInstanceOfExpression(OperatorIds.INSTANCEOF); break; case 610 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 611 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.EQUAL_EQUAL); break; case 612 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 613 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.NOT_EQUAL); break; case 615 : if (DEBUG) { System.out.println("AndExpression_NotName ::= AndExpression_NotName AND..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 616 : if (DEBUG) { System.out.println("AndExpression_NotName ::= Name AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND); break; case 618 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 619 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::= Name XOR AndExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.XOR); break; case 621 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 622 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::= Name OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR); break; case 624 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 625 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::= Name AND_AND..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND_AND); break; case 627 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 628 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::= Name OR_OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR_OR); break; case 630 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 631 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::= Name QUESTION..."); } //$NON-NLS-1$ consumeConditionalExpressionWithName(OperatorIds.QUESTIONCOLON) ; break; case 635 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::= Modifiers AT..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeader() ; break; case 636 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::= AT PushModifiers..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeader() ; break; case 637 : if (DEBUG) { System.out.println("AnnotationTypeDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclaration() ; break; case 639 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyAnnotationTypeMemberDeclarationsopt() ; break; case 642 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarations() ; break; case 643 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationHeader ::= Modifiersopt"); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarationHeader() ; break; case 644 : if (DEBUG) { System.out.println("AnnotationTypeMemberHeaderExtendedDims ::= Dimsopt"); } //$NON-NLS-1$ consumeAnnotationTypeMemberHeaderExtendedDims() ; break; case 645 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclaration() ; break; case 648 : if (DEBUG) { System.out.println("DefaultValueopt ::="); } //$NON-NLS-1$ consumeEmptyDefaultValue() ; break; case 654 : if (DEBUG) { System.out.println("NormalAnnotation ::= AT Name LPAREN MemberValuePairsopt"); } //$NON-NLS-1$ consumeNormalAnnotation() ; break; case 655 : if (DEBUG) { System.out.println("MemberValuePairsopt ::="); } //$NON-NLS-1$ consumeEmptyMemberValuePairsopt() ; break; case 658 : if (DEBUG) { System.out.println("MemberValuePairs ::= MemberValuePairs COMMA..."); } //$NON-NLS-1$ consumeMemberValuePairs() ; break; case 659 : if (DEBUG) { System.out.println("MemberValuePair ::= SimpleName EQUAL MemberValue"); } //$NON-NLS-1$ consumeMemberValuePair() ; break; case 661 : if (DEBUG) { System.out.println("MemberValue ::= Name"); } //$NON-NLS-1$ consumeMemberValueAsName() ; break; case 664 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; break; case 665 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; break; case 666 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 667 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 669 : if (DEBUG) { System.out.println("MemberValues ::= MemberValues COMMA MemberValue"); } //$NON-NLS-1$ consumeMemberValues() ; break; case 670 : if (DEBUG) { System.out.println("MarkerAnnotation ::= AT Name"); } //$NON-NLS-1$ consumeMarkerAnnotation() ; break; case 671 : if (DEBUG) { System.out.println("SingleMemberAnnotation ::= AT Name LPAREN MemberValue..."); } //$NON-NLS-1$ consumeSingleMemberAnnotation() ; break; }}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/824f8fe833a1ba72b3abeaae68c054814da34c63/Parser.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 7865, 2175, 12, 474, 1328, 13, 288, 225, 1620, 261, 1328, 262, 288, 565, 648, 10659, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 559, 493, 33, 14488, 559, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 9840, 559, 5621, 26924, 202, 8820, 31, 377, 648, 8063, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 2404, 559, 493, 33, 1659, 1162, 1358, 559, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 2404, 559, 5621, 565, 1082, 202, 8820, 31, 377, 648, 13291, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 797, 1162, 1358, 493, 33, 1770, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 797, 1162, 24730, 5621, 565, 1082, 202, 8820, 31, 377, 648, 12292, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 797, 1162, 1358, 493, 33, 7928, 559, 15772, 1770, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 797, 1162, 1358, 5621, 565, 1082, 202, 8820, 31, 377, 648, 17077, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 30982, 493, 33, 1659, 1162, 1358, 1412, 4628, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 30982, 5621, 565, 1082, 202, 8820, 31, 377, 648, 17495, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 27182, 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, 918, 7865, 2175, 12, 474, 1328, 13, 288, 225, 1620, 261, 1328, 262, 288, 565, 648, 10659, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 559, 493, 33, 14488, 559, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 9840, 559, 5621, 26924, 202, 8820, 31, 377, 648, 8063, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 2404, 559, 493, 33, 1659, 1162, 1358, 559, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 2404, 559, 5621, 565, 1082, 202, 8820, 31, 377, 648, 13291, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 797, 1162, 1358, 493, 33, 2 ]
final PsiFileImpl psiFile = (PsiFileImpl)getPsi(getBaseLanguage());
final PsiFileImpl psiFile = (PsiFileImpl)viewProvider.getPsi(getBaseLanguage());
public CompositeLanguageFileViewProvider clone() { final CompositeLanguageFileViewProvider viewProvider = cloneInner(); final PsiFileImpl psiFile = (PsiFileImpl)getPsi(getBaseLanguage()); // copying main tree final FileElement treeClone = (FileElement)psiFile.calcTreeElement().clone(); // base language tree clone psiFile.setTreeElementPointer(treeClone); // should not use setTreeElement here because cloned file still have VirtualFile (SCR17963) treeClone.setPsiElement(psiFile); final XmlText[] xmlTexts = JspImplUtil.gatherTexts((XmlFile)psiFile); for (Map.Entry<Language, PsiFile> entry : myRoots.entrySet()) { final PsiFile root = entry.getValue(); if (root instanceof PsiFileImpl && root != psiFile) { final PsiFileImpl copy = (PsiFileImpl)viewProvider.getPsi(entry.getKey()); JspImplUtil.copyRoot((PsiFileImpl)root, xmlTexts, copy); } } return viewProvider; }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/263988ee2a3f36d9031dddeb8214de24bf6dd2b0/CompositeLanguageFileViewProvider.java/buggy/source/com/intellij/psi/CompositeLanguageFileViewProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 14728, 3779, 812, 1767, 2249, 3236, 1435, 288, 565, 727, 14728, 3779, 812, 1767, 2249, 1476, 2249, 273, 3236, 2857, 5621, 565, 727, 453, 7722, 812, 2828, 23921, 812, 273, 261, 52, 7722, 812, 2828, 13, 1945, 2249, 18, 588, 52, 7722, 12, 588, 2171, 3779, 10663, 565, 368, 8933, 2774, 2151, 565, 727, 1387, 1046, 2151, 10930, 273, 261, 812, 1046, 13, 24275, 812, 18, 12448, 2471, 1046, 7675, 14056, 5621, 368, 1026, 2653, 2151, 3236, 565, 23921, 812, 18, 542, 2471, 1046, 4926, 12, 3413, 10930, 1769, 368, 1410, 486, 999, 444, 2471, 1046, 2674, 2724, 13027, 585, 4859, 1240, 7269, 812, 261, 2312, 54, 28814, 4449, 13, 565, 2151, 10930, 18, 542, 52, 7722, 1046, 12, 24275, 812, 1769, 565, 727, 5714, 1528, 8526, 2025, 30114, 273, 19300, 2828, 1304, 18, 75, 4806, 30114, 12443, 4432, 812, 13, 24275, 812, 1769, 565, 364, 261, 863, 18, 1622, 32, 3779, 16, 453, 7722, 812, 34, 1241, 294, 3399, 17540, 18, 4099, 694, 10756, 288, 1377, 727, 453, 7722, 812, 1365, 273, 1241, 18, 24805, 5621, 1377, 309, 261, 3085, 1276, 453, 7722, 812, 2828, 597, 1365, 480, 23921, 812, 13, 288, 3639, 727, 453, 7722, 812, 2828, 1610, 273, 261, 52, 7722, 812, 2828, 13, 1945, 2249, 18, 588, 52, 7722, 12, 4099, 18, 588, 653, 10663, 3639, 19300, 2828, 1304, 18, 3530, 2375, 12443, 52, 7722, 812, 2828, 13, 3085, 16, 2025, 30114, 16, 1610, 1769, 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, 1071, 14728, 3779, 812, 1767, 2249, 3236, 1435, 288, 565, 727, 14728, 3779, 812, 1767, 2249, 1476, 2249, 273, 3236, 2857, 5621, 565, 727, 453, 7722, 812, 2828, 23921, 812, 273, 261, 52, 7722, 812, 2828, 13, 1945, 2249, 18, 588, 52, 7722, 12, 588, 2171, 3779, 10663, 565, 368, 8933, 2774, 2151, 565, 727, 1387, 1046, 2151, 10930, 273, 261, 812, 1046, 13, 24275, 812, 18, 12448, 2471, 1046, 7675, 14056, 5621, 368, 1026, 2653, 2151, 3236, 565, 23921, 812, 18, 542, 2471, 1046, 4926, 12, 3413, 10930, 1769, 368, 1410, 486, 999, 444, 2471, 1046, 2674, 2724, 13027, 585, 4859, 1240, 7269, 812, 261, 2312, 54, 28814, 4449, 13, 565, 2151, 10930, 18, 542, 52, 7722, 2 ]
public void addWarning(String msg) { DriverManager.println(msg); // Add the warning to the chain if(firstWarning!=null) firstWarning.setNextWarning(new SQLWarning(msg)); else firstWarning = new SQLWarning(msg); // Now check for some specific messages // This is obsolete in 6.5, but I've left it in here so if we need to use this // technique again, we'll know where to place it. // // This is generated by the SQL "show datestyle" //if(msg.startsWith("NOTICE:") && msg.indexOf("DateStyle")>0) { //// 13 is the length off "DateStyle is " //msg = msg.substring(msg.indexOf("DateStyle is ")+13); // //for(int i=0;i<dateStyles.length;i+=2) //if(msg.startsWith(dateStyles[i])) //currentDateStyle=i+1; // this is the index of the format //} }
47293 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47293/839b9bc0117946afd62ee385a4c8a36c01b3053b/Connection.java/clean/src/interfaces/jdbc/org/postgresql/Connection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 6210, 12, 780, 1234, 13, 565, 288, 202, 4668, 1318, 18, 8222, 12, 3576, 1769, 202, 759, 1436, 326, 3436, 358, 326, 2687, 202, 430, 12, 3645, 6210, 5, 33, 2011, 13, 202, 565, 1122, 6210, 18, 542, 2134, 6210, 12, 2704, 3063, 6210, 12, 3576, 10019, 202, 12107, 202, 565, 1122, 6210, 273, 394, 3063, 6210, 12, 3576, 1769, 202, 759, 4494, 866, 364, 2690, 2923, 2743, 202, 759, 1220, 353, 27191, 316, 1666, 18, 25, 16, 1496, 467, 8081, 2002, 518, 316, 2674, 1427, 309, 732, 1608, 358, 999, 333, 202, 759, 17734, 2161, 3382, 16, 732, 5614, 5055, 1625, 358, 3166, 518, 18, 202, 759, 202, 759, 1220, 353, 4374, 635, 326, 3063, 315, 4500, 1150, 19706, 6, 202, 759, 430, 12, 3576, 18, 17514, 1190, 2932, 20559, 2773, 13, 597, 1234, 18, 31806, 2932, 1626, 2885, 7923, 34, 20, 13, 288, 202, 1307, 5958, 353, 326, 769, 3397, 315, 1626, 2885, 353, 315, 202, 759, 3576, 273, 1234, 18, 28023, 12, 3576, 18, 31806, 2932, 1626, 2885, 353, 9369, 15, 3437, 1769, 202, 759, 202, 759, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 712, 9725, 18, 2469, 31, 77, 15, 33, 22, 13, 202, 759, 430, 12, 3576, 18, 17514, 1190, 12, 712, 9725, 63, 77, 22643, 202, 759, 2972, 1626, 2885, 33, 77, 15, 21, 31, 368, 333, 353, 326, 770, 434, 326, 740, 202, 759, 97, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 6210, 12, 780, 1234, 13, 565, 288, 202, 4668, 1318, 18, 8222, 12, 3576, 1769, 202, 759, 1436, 326, 3436, 358, 326, 2687, 202, 430, 12, 3645, 6210, 5, 33, 2011, 13, 202, 565, 1122, 6210, 18, 542, 2134, 6210, 12, 2704, 3063, 6210, 12, 3576, 10019, 202, 12107, 202, 565, 1122, 6210, 273, 394, 3063, 6210, 12, 3576, 1769, 202, 759, 4494, 866, 364, 2690, 2923, 2743, 202, 759, 1220, 353, 27191, 316, 1666, 18, 25, 16, 1496, 467, 8081, 2002, 518, 316, 2674, 1427, 309, 732, 1608, 358, 999, 333, 202, 759, 17734, 2161, 3382, 16, 732, 5614, 5055, 1625, 358, 3166, 518, 18, 202, 759, 202, 759, 1220, 353, 4374, 635, 326, 2 ]
Set peers=_kernel.listGBeans(on); for (Iterator i=peers.iterator(); i.hasNext();) { ObjectName tmp=(ObjectName)i.next(); try { _log.info("stopping: "+tmp); _kernel.stopGBean(tmp); _log.info("unloading: "+tmp); _kernel.unloadGBean(tmp); } catch (Exception e) { _log.warn("problem decommissioning POJO peer GBean: "+tmp, e); }
Set peers = _kernel.listGBeans(on); for (Iterator i = peers.iterator(); i.hasNext();) { ObjectName tmp = (ObjectName) i.next(); try { _log.debug("stopping: " + tmp); _kernel.stopGBean(tmp); _log.debug("unloading: " + tmp); _kernel.unloadGBean(tmp); } catch (Exception e) { _log.warn("problem decommissioning POJO peer GBean: " + tmp, e); } } _factory.destroySingletons();
tidyUp() throws Exception { // can we put this as a spring aspect around each POJO ? would be better... String pattern=_jmxName.getDomain()+":J2EEApplication="+_jmxName.getKeyProperty("J2EEApplication")+",J2EEServer="+_jmxName.getKeyProperty("J2EEServer")+",SpringModule="+_jmxName.getKeyProperty("name")+",j2eeType=SpringBean,*"; ObjectName on=new ObjectName(pattern); // can't we do it like this - much less typo-prone... // Hashtable props =new Hashtable(_jmxName.getKeyPropertyList()); // props.put("SpringModule" , props.get("name")); // props.put("j2eeType" , "SpringBean"); // props.remove("name"); // props.put("*", ""); // ObjectName on=new ObjectName(_jmxName.getDomain(), props); Set peers=_kernel.listGBeans(on); for (Iterator i=peers.iterator(); i.hasNext();) { ObjectName tmp=(ObjectName)i.next(); try { _log.info("stopping: "+tmp); _kernel.stopGBean(tmp); _log.info("unloading: "+tmp); _kernel.unloadGBean(tmp); } catch (Exception e) { _log.warn("problem decommissioning POJO peer GBean: "+tmp, e); } } _factory.destroySingletons(); }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/a2608ecf073f21457f97954cda18ce59a88fe2c6/SpringGBean.java/buggy/modules/spring/src/java/org/apache/geronimo/spring/SpringGBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 28792, 1211, 1435, 565, 1216, 1185, 225, 288, 565, 368, 848, 732, 1378, 333, 487, 279, 25974, 9648, 6740, 1517, 13803, 22720, 692, 4102, 506, 7844, 2777, 565, 514, 1936, 33, 67, 78, 11023, 461, 18, 588, 3748, 1435, 15, 6877, 46, 22, 9383, 3208, 1546, 15, 67, 78, 11023, 461, 18, 588, 653, 1396, 2932, 46, 22, 9383, 3208, 7923, 15, 3113, 46, 22, 9383, 2081, 1546, 15, 67, 78, 11023, 461, 18, 588, 653, 1396, 2932, 46, 22, 9383, 2081, 7923, 15, 3113, 55, 11638, 3120, 1546, 15, 67, 78, 11023, 461, 18, 588, 653, 1396, 2932, 529, 7923, 15, 3113, 78, 22, 1340, 559, 33, 55, 11638, 3381, 16, 7388, 31, 565, 21013, 603, 33, 2704, 21013, 12, 4951, 1769, 565, 368, 848, 1404, 732, 741, 518, 3007, 333, 300, 9816, 5242, 3815, 83, 17, 683, 476, 2777, 565, 368, 377, 18559, 3458, 225, 273, 2704, 18559, 24899, 78, 11023, 461, 18, 588, 653, 1396, 682, 10663, 565, 368, 377, 3458, 18, 458, 2932, 55, 11638, 3120, 6, 269, 3458, 18, 588, 2932, 529, 7923, 1769, 565, 368, 377, 3458, 18, 458, 2932, 78, 22, 1340, 559, 6, 377, 269, 315, 55, 11638, 3381, 8863, 565, 368, 377, 3458, 18, 4479, 2932, 529, 8863, 565, 368, 377, 3458, 18, 458, 2932, 14, 3113, 1408, 1769, 565, 368, 377, 21013, 603, 33, 2704, 21013, 24899, 78, 11023, 461, 18, 588, 3748, 9334, 3458, 1769, 565, 1000, 10082, 33, 67, 8111, 18, 1098, 43, 14495, 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, 28792, 1211, 1435, 565, 1216, 1185, 225, 288, 565, 368, 848, 732, 1378, 333, 487, 279, 25974, 9648, 6740, 1517, 13803, 22720, 692, 4102, 506, 7844, 2777, 565, 514, 1936, 33, 67, 78, 11023, 461, 18, 588, 3748, 1435, 15, 6877, 46, 22, 9383, 3208, 1546, 15, 67, 78, 11023, 461, 18, 588, 653, 1396, 2932, 46, 22, 9383, 3208, 7923, 15, 3113, 46, 22, 9383, 2081, 1546, 15, 67, 78, 11023, 461, 18, 588, 653, 1396, 2932, 46, 22, 9383, 2081, 7923, 15, 3113, 55, 11638, 3120, 1546, 15, 67, 78, 11023, 461, 18, 588, 653, 1396, 2932, 529, 7923, 15, 3113, 78, 22, 1340, 559, 33, 55, 11638, 3381, 16, 7388, 31, 565, 21013, 603, 33, 2 ]
if (major > areaMajor)
if (major > areaMajor) {
private void layoutTrim(TrimArea trimArea, Rectangle areaBounds) { boolean horizontal = trimArea.orientation == SWT.TOP || trimArea.orientation == SWT.BOTTOM; // How much space do we have to 'tile' into? int areaMajor = horizontal ? areaBounds.width : areaBounds.height; // Get the tiled 'List of Lists' for the trim List tileAreas = trimArea.trimLines; // Tile each 'line' into the trim int tilePosMinor = horizontal ? areaBounds.y : areaBounds.x; for (Iterator areaIter = tileAreas.iterator(); areaIter.hasNext();) { TrimLine curLine = (TrimLine) areaIter.next(); // Compute how much space to give to 'resizable' controls. Note that // we can end up computing -negative- 'extraSpace' values if the // control's // preferred 'major' size is actually > the 'major' size for the // trim area int resizePadding = 0; if (curLine.resizableCount > 0 && curLine.extraSpace > 0) resizePadding = curLine.extraSpace / curLine.resizableCount; // Tile each line int tilePosMajor = horizontal ? areaBounds.x : areaBounds.y; for (Iterator iter = curLine.controls.iterator(); iter.hasNext();) { Control control = (Control) iter.next(); TrimLayoutData td = (TrimLayoutData) control.getLayoutData(); Point prefSize = control.computeSize(SWT.DEFAULT, SWT.DEFAULT); int major = horizontal ? prefSize.x : prefSize.y; int minor = horizontal ? prefSize.y : prefSize.x; // Ensure that controls that are too wide for the area get // 'clipped' if (major > areaMajor) major = areaMajor; // If desired, extend the 'minor' size of the control to fill // the area if ((td.flags & TrimLayoutData.GRAB_EXCESS_MINOR) != 0) minor = curLine.minorMax; // If desired, extend the 'major' size of the control to fill // the area if ((td.flags & TrimLayoutData.GROWABLE) != 0) major += resizePadding; // If we have to show a drag handle then do it here if (td.listener != null) { TrimCommonUIHandle handle = getDragHandle(trimArea.orientation);// handle.setControl(control); if (horizontal) handle.setBounds(tilePosMajor, tilePosMinor, getHandleSize(true), curLine.minorMax); else handle.setBounds(tilePosMinor, tilePosMajor, curLine.minorMax, getHandleSize(false)); tilePosMajor += horizontal ? getHandleSize(true) : getHandleSize(false); } // Now, lay out the actual control switch (trimArea.orientation) { case SWT.TOP: control.setBounds(tilePosMajor, tilePosMinor, major, minor); break; case SWT.LEFT: control.setBounds(tilePosMinor, tilePosMajor, minor, major); break; case SWT.RIGHT: // Here we want to tile the control to the RIGHT edge int rightEdge = tilePosMinor + curLine.minorMax; control.setBounds(rightEdge - minor, tilePosMajor, minor, major); break; case SWT.BOTTOM: // Here we want to tile the control to the RIGHT edge int bottomEdge = tilePosMinor + curLine.minorMax; control.setBounds(tilePosMajor, bottomEdge - minor, major, minor); break; } // Ensure that the control is above the trim control tilePosMajor += major + spacing; } tilePosMinor += curLine.minorMax; tilePosMajor = horizontal ? areaBounds.x : areaBounds.y; } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/WorkbenchLayout.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3511, 14795, 12, 14795, 5484, 2209, 5484, 16, 13264, 5091, 5694, 13, 288, 202, 202, 6494, 10300, 273, 2209, 5484, 18, 19235, 422, 348, 8588, 18, 10462, 9506, 202, 20081, 2209, 5484, 18, 19235, 422, 348, 8588, 18, 28891, 31, 202, 202, 759, 9017, 9816, 3476, 741, 732, 1240, 358, 296, 15368, 11, 1368, 35, 202, 202, 474, 5091, 17581, 273, 10300, 692, 5091, 5694, 18, 2819, 294, 5091, 5694, 18, 4210, 31, 202, 202, 759, 968, 326, 268, 1411, 296, 682, 434, 11592, 11, 364, 326, 2209, 202, 202, 682, 4769, 28377, 273, 2209, 5484, 18, 5290, 5763, 31, 202, 202, 759, 13791, 1517, 296, 1369, 11, 1368, 326, 2209, 202, 202, 474, 4769, 1616, 19549, 273, 10300, 692, 5091, 5694, 18, 93, 294, 5091, 5694, 18, 92, 31, 202, 202, 1884, 261, 3198, 5091, 2360, 273, 4769, 28377, 18, 9838, 5621, 5091, 2360, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 14795, 1670, 662, 1670, 273, 261, 14795, 1670, 13, 5091, 2360, 18, 4285, 5621, 1082, 202, 759, 8155, 3661, 9816, 3476, 358, 8492, 358, 296, 455, 6934, 11, 11022, 18, 3609, 716, 1082, 202, 759, 732, 848, 679, 731, 20303, 300, 13258, 17, 296, 7763, 3819, 11, 924, 309, 326, 1082, 202, 759, 3325, 1807, 1082, 202, 759, 9119, 296, 14019, 11, 963, 353, 6013, 405, 326, 296, 14019, 11, 963, 364, 326, 1082, 202, 759, 2209, 5091, 1082, 202, 474, 7041, 9485, 273, 374, 31, 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, 1152, 918, 3511, 14795, 12, 14795, 5484, 2209, 5484, 16, 13264, 5091, 5694, 13, 288, 202, 202, 6494, 10300, 273, 2209, 5484, 18, 19235, 422, 348, 8588, 18, 10462, 9506, 202, 20081, 2209, 5484, 18, 19235, 422, 348, 8588, 18, 28891, 31, 202, 202, 759, 9017, 9816, 3476, 741, 732, 1240, 358, 296, 15368, 11, 1368, 35, 202, 202, 474, 5091, 17581, 273, 10300, 692, 5091, 5694, 18, 2819, 294, 5091, 5694, 18, 4210, 31, 202, 202, 759, 968, 326, 268, 1411, 296, 682, 434, 11592, 11, 364, 326, 2209, 202, 202, 682, 4769, 28377, 273, 2209, 5484, 18, 5290, 5763, 31, 202, 202, 759, 13791, 1517, 296, 1369, 11, 1368, 326, 2209, 202, 202, 474, 4769, 2 ]
Map propertyMap = (Map)map; for (Iterator i = propertyMap.keySet().iterator(); i.hasNext();) { String propertyName = (String) i.next(); Object propertyValue = propertyMap.get(propertyName); if(propertyValue == null) continue; if(LOG.isDebugEnabled()) LOG.debug("Attempting to set property '"+propertyName+"' to value '"+propertyValue+"' on instance '"+instance+"'"); try { Ognl.setValue(propertyName,instance,propertyValue); } catch (NoSuchPropertyException nspe) { if(LOG.isDebugEnabled()) LOG.debug("Unable to set property '"+propertyName+"' to value '"+propertyValue+"' for object '"+instance+"' property doesn't exist." + nspe.getMessage()); }catch (OgnlException e) { if(LOG.isDebugEnabled()) LOG.debug("OGNL error attempt to set '"+propertyName+"' to value '"+propertyValue+"' for object '"+instance+"':" + e.getMessage(),e); } }
DataBinder dataBinder = new DataBinder(instance); PropertyValues pv = new MutablePropertyValues((Map)map); dataBinder.bind(pv);
public Object invoke(Class clazz, Object[] args) { Object map = args[0]; Object instance; try { instance = clazz.newInstance(); } catch (InstantiationException e1) { throw new GrailsDomainException("Error instantiated class [" + clazz + "]: " + e1.getMessage(),e1); } catch (IllegalAccessException e1) { throw new GrailsDomainException("Illegal access instantiated class [" + clazz + "]: " + e1.getMessage(),e1); } if(map instanceof GrailsParameterMap) { GrailsParameterMap parameterMap = (GrailsParameterMap)map; HttpServletRequest request = parameterMap.getRequest(); ServletRequestDataBinder dataBinder = GrailsDataBinder.createBinder(map, instance.getClass().getName(),request); dataBinder.bind(request); return instance; } else if (map instanceof HttpServletRequest) { HttpServletRequest request = (HttpServletRequest)map; ServletRequestDataBinder dataBinder = GrailsDataBinder.createBinder(map, instance.getClass().getName(),request); dataBinder.bind(request); return instance; } else if(map instanceof Map) { Map propertyMap = (Map)map; for (Iterator i = propertyMap.keySet().iterator(); i.hasNext();) { String propertyName = (String) i.next(); Object propertyValue = propertyMap.get(propertyName); // if null skip if(propertyValue == null) continue; if(LOG.isDebugEnabled()) LOG.debug("Attempting to set property '"+propertyName+"' to value '"+propertyValue+"' on instance '"+instance+"'"); try { Ognl.setValue(propertyName,instance,propertyValue); } catch (NoSuchPropertyException nspe) { if(LOG.isDebugEnabled()) LOG.debug("Unable to set property '"+propertyName+"' to value '"+propertyValue+"' for object '"+instance+"' property doesn't exist." + nspe.getMessage()); }catch (OgnlException e) { if(LOG.isDebugEnabled()) LOG.debug("OGNL error attempt to set '"+propertyName+"' to value '"+propertyValue+"' for object '"+instance+"':" + e.getMessage(),e); } } } return instance; }
50670 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50670/b6ef9ddec7862d8efa8e6b63db67dfa714830c8a/DataBindingDynamicConstructor.java/buggy/src/persistence/org/codehaus/groovy/grails/metaclass/DataBindingDynamicConstructor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 4356, 12, 797, 4003, 16, 1033, 8526, 833, 13, 288, 202, 202, 921, 852, 273, 833, 63, 20, 15533, 202, 202, 921, 791, 31, 202, 202, 698, 288, 1082, 202, 1336, 273, 4003, 18, 2704, 1442, 5621, 202, 202, 97, 1044, 261, 10675, 7072, 503, 425, 21, 13, 288, 1082, 202, 12849, 394, 10812, 14573, 3748, 503, 2932, 668, 17651, 667, 8247, 397, 4003, 397, 9850, 30, 315, 397, 425, 21, 18, 24906, 9334, 73, 21, 1769, 202, 202, 97, 1044, 261, 12195, 9773, 425, 21, 13, 288, 1082, 202, 12849, 394, 10812, 14573, 3748, 503, 2932, 12195, 2006, 17651, 667, 8247, 397, 4003, 397, 9850, 30, 315, 397, 425, 21, 18, 24906, 9334, 73, 21, 1769, 202, 202, 97, 9506, 202, 430, 12, 1458, 1276, 10812, 14573, 1662, 863, 13, 288, 1082, 202, 14571, 14573, 1662, 863, 1569, 863, 273, 261, 14571, 14573, 1662, 863, 13, 1458, 31, 1082, 202, 2940, 18572, 590, 273, 1569, 863, 18, 588, 691, 5621, 25083, 202, 4745, 17031, 17700, 501, 17700, 273, 10812, 14573, 751, 17700, 18, 2640, 17700, 12, 1458, 16, 791, 18, 588, 797, 7675, 17994, 9334, 2293, 1769, 1875, 202, 892, 17700, 18, 4376, 12, 2293, 1769, 1082, 202, 2463, 791, 31, 202, 202, 97, 202, 202, 12107, 309, 261, 1458, 1276, 9984, 13, 288, 1082, 202, 2940, 18572, 590, 273, 261, 2940, 18572, 13, 1458, 31, 1082, 202, 4745, 17031, 17700, 501, 17700, 273, 10812, 14573, 751, 17700, 18, 2640, 17700, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 4356, 12, 797, 4003, 16, 1033, 8526, 833, 13, 288, 202, 202, 921, 852, 273, 833, 63, 20, 15533, 202, 202, 921, 791, 31, 202, 202, 698, 288, 1082, 202, 1336, 273, 4003, 18, 2704, 1442, 5621, 202, 202, 97, 1044, 261, 10675, 7072, 503, 425, 21, 13, 288, 1082, 202, 12849, 394, 10812, 14573, 3748, 503, 2932, 668, 17651, 667, 8247, 397, 4003, 397, 9850, 30, 315, 397, 425, 21, 18, 24906, 9334, 73, 21, 1769, 202, 202, 97, 1044, 261, 12195, 9773, 425, 21, 13, 288, 1082, 202, 12849, 394, 10812, 14573, 3748, 503, 2932, 12195, 2006, 17651, 667, 8247, 397, 4003, 397, 9850, 30, 315, 397, 425, 21, 18, 24906, 9334, 73, 2 ]
Vector res = new Vector(); if (port instanceof MClassifierRole) { MClassifierRole cr = (MClassifierRole) port; Collection ends = cr.getAssociationEnds(); if (ends == null) return res; Iterator iter = ends.iterator(); while (iter.hasNext()) { MAssociationEndRole aer = (MAssociationEndRole) iter.next(); res.addElement(aer.getAssociation()); }
Vector res = new Vector(); if (port instanceof MClassifierRole) { MClassifierRole cr = (MClassifierRole) port; Collection ends = cr.getAssociationEnds(); if (ends == null) return res; Iterator iter = ends.iterator(); while (iter.hasNext()) { MAssociationEndRole aer = (MAssociationEndRole) iter.next(); res.addElement(aer.getAssociation()); } } return res;
public Vector getInEdges(Object port) { Vector res = new Vector(); //wasteful! if (port instanceof MClassifierRole) { MClassifierRole cr = (MClassifierRole) port; Collection ends = cr.getAssociationEnds(); if (ends == null) return res; // empty Vector Iterator iter = ends.iterator(); while (iter.hasNext()) { MAssociationEndRole aer = (MAssociationEndRole) iter.next(); res.addElement(aer.getAssociation()); } } return res; }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/CollabDiagramGraphModel.java/clean/src_new/org/argouml/uml/diagram/collaboration/CollabDiagramGraphModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 5589, 7854, 10697, 12, 921, 1756, 13, 288, 565, 5589, 400, 273, 394, 5589, 5621, 368, 91, 14725, 2706, 5, 565, 309, 261, 655, 1276, 490, 13860, 2996, 13, 288, 1377, 490, 13860, 2996, 4422, 273, 261, 49, 13860, 2996, 13, 1756, 31, 1377, 2200, 3930, 273, 4422, 18, 588, 7174, 24980, 5621, 1377, 309, 261, 5839, 422, 446, 13, 327, 400, 31, 368, 1008, 5589, 202, 225, 4498, 1400, 273, 3930, 18, 9838, 5621, 1377, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 202, 565, 490, 7174, 1638, 2996, 279, 264, 273, 261, 49, 7174, 1638, 2996, 13, 1400, 18, 4285, 5621, 202, 565, 400, 18, 1289, 1046, 12, 69, 264, 18, 588, 7174, 10663, 1377, 289, 565, 289, 565, 327, 400, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 5589, 7854, 10697, 12, 921, 1756, 13, 288, 565, 5589, 400, 273, 394, 5589, 5621, 368, 91, 14725, 2706, 5, 565, 309, 261, 655, 1276, 490, 13860, 2996, 13, 288, 1377, 490, 13860, 2996, 4422, 273, 261, 49, 13860, 2996, 13, 1756, 31, 1377, 2200, 3930, 273, 4422, 18, 588, 7174, 24980, 5621, 1377, 309, 261, 5839, 422, 446, 13, 327, 400, 31, 368, 1008, 5589, 202, 225, 4498, 1400, 273, 3930, 18, 9838, 5621, 1377, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 202, 565, 490, 7174, 1638, 2996, 279, 264, 273, 261, 49, 7174, 1638, 2996, 13, 1400, 18, 4285, 5621, 202, 565, 400, 18, 1289, 1046, 12, 69, 264, 18, 588, 7174, 10663, 1377, 2 ]
System.out.println("CHILD COUNT: " + field.getChildCount());
public void encodeBegin(FacesContext context, UIComponent component) throws IOException { ResponseWriter writer = context.getResponseWriter(); FBFormComponent field = (FBFormComponent) component; writer.startElement("DIV", field); writer.writeAttribute("class", field.getStyleClass(), "styleClass"); System.out.println("NEW COMPONENT ID: " + field.getClientId(context)); writer.writeAttribute("id", field.getId(), "id"); try { field.initializeComponent(context); } catch(FBPostponedException pe) { pe.printStackTrace(); } writer.writeAttribute("onclick", field.getOnclick(), "onclick"); System.out.println("CHILD COUNT: " + field.getChildCount()); DOMTransformer.renderNode(field.getElement(), field, writer); }
56193 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56193/d1561dbc686191a2e5ec0a03dabf3e7588133788/FormComponentRenderer.java/clean/src/java/com/idega/formbuilder/presentation/renderkit/FormComponentRenderer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2017, 8149, 12, 17268, 1042, 819, 16, 18907, 1794, 13, 1216, 1860, 288, 202, 202, 1064, 2289, 2633, 273, 819, 18, 588, 1064, 2289, 5621, 202, 202, 22201, 1204, 1841, 652, 273, 261, 22201, 1204, 1841, 13, 1794, 31, 202, 202, 6299, 18, 1937, 1046, 2932, 31901, 3113, 652, 1769, 202, 202, 6299, 18, 2626, 1499, 2932, 1106, 3113, 652, 18, 588, 2885, 797, 9334, 315, 4060, 797, 8863, 202, 202, 3163, 18, 659, 18, 8222, 2932, 12917, 13846, 15624, 1599, 30, 315, 397, 652, 18, 588, 23526, 12, 2472, 10019, 202, 202, 6299, 18, 2626, 1499, 2932, 350, 3113, 652, 18, 26321, 9334, 315, 350, 8863, 202, 202, 698, 288, 1082, 202, 1518, 18, 11160, 1841, 12, 2472, 1769, 202, 202, 97, 1044, 12, 22201, 3349, 500, 329, 503, 2804, 13, 288, 1082, 202, 347, 18, 1188, 6332, 5621, 202, 202, 97, 202, 202, 6299, 18, 2626, 1499, 2932, 265, 7475, 3113, 652, 18, 588, 1398, 7475, 9334, 315, 265, 7475, 8863, 202, 202, 3163, 18, 659, 18, 8222, 2932, 27043, 12666, 30, 315, 397, 652, 18, 588, 1763, 1380, 10663, 9506, 202, 8168, 8319, 18, 5902, 907, 12, 1518, 18, 21336, 9334, 652, 16, 2633, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2017, 8149, 12, 17268, 1042, 819, 16, 18907, 1794, 13, 1216, 1860, 288, 202, 202, 1064, 2289, 2633, 273, 819, 18, 588, 1064, 2289, 5621, 202, 202, 22201, 1204, 1841, 652, 273, 261, 22201, 1204, 1841, 13, 1794, 31, 202, 202, 6299, 18, 1937, 1046, 2932, 31901, 3113, 652, 1769, 202, 202, 6299, 18, 2626, 1499, 2932, 1106, 3113, 652, 18, 588, 2885, 797, 9334, 315, 4060, 797, 8863, 202, 202, 3163, 18, 659, 18, 8222, 2932, 12917, 13846, 15624, 1599, 30, 315, 397, 652, 18, 588, 23526, 12, 2472, 10019, 202, 202, 6299, 18, 2626, 1499, 2932, 350, 3113, 652, 18, 26321, 9334, 315, 350, 8863, 202, 202, 698, 288, 1082, 202, 1518, 18, 2 ]
/** * Determine if the listener is currently distracted. * * @return <code>true</code> if the listener is ignoring events. */ public boolean isIgnoringEvents() { return this.distracted.isIgnoringEvents(); } /** * Specify if the listener should be distracted. * * @param distract <code>true</code> if the listener should ignore events * <code>false</code> if the listener should pay attention again. * Events that occured while the listener was distracted NOT * going to be processed. */ public void setIgnoringEvents( boolean distracted ) { this.distracted.setIgnoringEvents( distracted ); } /** * Retrieve the "Done" button of this object. * * @return the <code>java.awt.Button</code> that activates this * object's "Done" action. */ public Button getDoneButton() { return butDone; } /** * Stop just ignoring events and actually stop listening to them. */ public void removeAllListeners() { client.removeGameListener(this); client.game.board.removeBoardListener(this); } /** * Get the secondary display section of this phase. * * @return the <code>Component</code> which is displayed in the * secondary section during this phase. */ public Component getSecondaryDisplay() { return labStatus; }
loadMech(); } catch (Exception e) { System.out.println("Thread.join() exception in ChatLounge.loadMech()"); } } else if (ev.getSource() == butCustom || ev.getSource() == lisEntities) { customizeMech(); } else if (ev.getSource() == butDelete) { // delete mech if (lisEntities.getSelectedIndex() != -1) { client.sendDeleteEntity(entityCorrespondance[lisEntities.getSelectedIndex()]); } } else if (ev.getSource() == butDeleteAll) { // Build a Vector of this player's entities. Vector currentUnits = client.game.getPlayerEntities ( client.getLocalPlayer() ); // Walk through the vector, deleting the entities. Enumeration entities = currentUnits.elements(); while ( entities.hasMoreElements() ) { final Entity entity = (Entity) entities.nextElement(); client.sendDeleteEntity( entity.getId() ); } } else if (ev.getSource() == butChangeBoard || ev.getSource() == lisBoardsSelected) { // board settings client.getBoardSelectionDialog().update(client.getMapSettings(), true); client.getBoardSelectionDialog().show(); } else if (ev.getSource() == butOptions) { // Make sure the game options dialog is editable. if ( !client.getGameOptionsDialog().isEditable() ) { client.getGameOptionsDialog().setEditable( true ); } // Display the game options dialog. client.getGameOptionsDialog().update(client.game.getOptions()); client.getGameOptionsDialog().show(); } else if (ev.getSource() == butChangeStart || ev.getSource() == lisStarts) { client.getStartingPositionDialog().update(); client.getStartingPositionDialog().show(); } else if (ev.getSource() == butMechReadout) { mechReadout(); } else if ( ev.getSource() == butLoadList ) { // Allow the player to replace their current // list of entities with a list from a file. client.loadListFile(); } else if ( ev.getSource() == butSaveList ) { // Allow the player to save their current // list of entities to a file. client.saveListFile ( client.game.getPlayerEntities(client.getLocalPlayer()) ); } else if (ev.getSource() == butMinefield) { updateMinefield(); } else if (ev.getSource() == butCamo) { camoDialog.show(); } } }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/6fa7a915a9c48dac94fa163b03ae6a0e99765cad/ChatLounge.java/clean/megamek/src/megamek/client/ui/AWT/ChatLounge.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1783, 380, 10229, 309, 326, 2991, 353, 4551, 1015, 1575, 329, 18, 380, 380, 632, 2463, 225, 411, 710, 34, 3767, 1757, 710, 34, 309, 326, 2991, 353, 14398, 2641, 18, 1195, 1071, 1250, 353, 21702, 3783, 1435, 288, 327, 333, 18, 2251, 1575, 329, 18, 291, 21702, 3783, 5621, 289, 225, 1783, 380, 21664, 309, 326, 2991, 1410, 506, 1015, 1575, 329, 18, 380, 380, 632, 891, 282, 1015, 1575, 411, 710, 34, 3767, 1757, 710, 34, 309, 326, 2991, 1410, 2305, 2641, 380, 1850, 411, 710, 34, 5743, 1757, 710, 34, 309, 326, 2991, 1410, 8843, 17278, 3382, 18, 380, 1850, 9043, 716, 16206, 1323, 326, 2991, 1703, 1015, 1575, 329, 4269, 380, 1850, 8554, 358, 506, 5204, 18, 1195, 1071, 918, 20691, 16997, 3783, 12, 1250, 1015, 1575, 329, 262, 288, 333, 18, 2251, 1575, 329, 18, 542, 21702, 3783, 12, 1015, 1575, 329, 11272, 289, 225, 1783, 380, 10708, 326, 315, 7387, 6, 3568, 434, 333, 733, 18, 380, 380, 632, 2463, 225, 326, 411, 710, 34, 6290, 18, 2219, 88, 18, 3616, 1757, 710, 34, 716, 5981, 815, 333, 380, 1850, 733, 1807, 315, 7387, 6, 1301, 18, 1195, 1071, 12569, 2343, 476, 3616, 1435, 288, 327, 1496, 7387, 31, 289, 225, 1783, 380, 5131, 2537, 14398, 2641, 471, 6013, 2132, 13895, 358, 2182, 18, 1195, 1071, 918, 12787, 5583, 1435, 288, 1004, 18, 4479, 12496, 2223, 12, 2211, 1769, 1004, 18, 13957, 18, 3752, 18, 4479, 22233, 2223, 12, 2211, 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, 1783, 380, 10229, 309, 326, 2991, 353, 4551, 1015, 1575, 329, 18, 380, 380, 632, 2463, 225, 411, 710, 34, 3767, 1757, 710, 34, 309, 326, 2991, 353, 14398, 2641, 18, 1195, 1071, 1250, 353, 21702, 3783, 1435, 288, 327, 333, 18, 2251, 1575, 329, 18, 291, 21702, 3783, 5621, 289, 225, 1783, 380, 21664, 309, 326, 2991, 1410, 506, 1015, 1575, 329, 18, 380, 380, 632, 891, 282, 1015, 1575, 411, 710, 34, 3767, 1757, 710, 34, 309, 326, 2991, 1410, 2305, 2641, 380, 1850, 411, 710, 34, 5743, 1757, 710, 34, 309, 326, 2991, 1410, 8843, 17278, 3382, 18, 380, 1850, 9043, 716, 16206, 1323, 326, 2991, 1703, 1015, 1575, 329, 4269, 380, 1850, 8554, 358, 2 ]
double yTranslate = height - (height - leftAxisLabelBounds.getWidth())/2;
double yTranslate = height - bottom + top - (height - bottom + top - leftAxisLabelBounds.getWidth())/2;
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Graphics2D copy = (Graphics2D)g.create(); if (copy != null) { copy.translate(x,y); try { copy.setFont(DisplayUtils.BORDER_FONT); // in case there are borders inside of this one Insets insets = ((JComponent)c).getInsets(); FontMetrics fm = copy.getFontMetrics(); String label; // top int numTicks; int pixelLoc; if (topScaleMap != null) { numTicks = topScaleMap.getNumTicks(); for (int i=0; i<numTicks; i++) { pixelLoc = insets.left + topScaleMap.getPixelLocation(i); if(topScaleMap.isMajorTick(i)) copy.draw(new Line2D.Float(pixelLoc, top, pixelLoc, top - majorTickLength)); else copy.draw(new Line2D.Float(pixelLoc, top, pixelLoc, top - minorTickLength)); label = topScaleMap.getLabel(i); if (label != null && label.length() != 0 ) { int labelWidth = (int)fm.getStringBounds(label, copy).getWidth(); if(pixelLoc + labelWidth < width){ copy.drawString(label, pixelLoc - labelWidth/2, top - majorTickLength- fm.getLeading()); } } } copy.drawString(topScaleMap.getAxisLabel(), width/2, fontHeight); } // left if (leftScaleMap != null) { numTicks = leftScaleMap.getNumTicks(); if ( numTicks == 0 || numTicks ==1) { copy.drawString("No Data", fontHeight + 2, top + (height - top - bottom)/2- fm.getLeading()); } // end of if () for (int i=0; i<numTicks; i++) { pixelLoc = height - leftScaleMap.getPixelLocation(i) - bottom; if (leftScaleMap.isMajorTick(i)) { copy.draw(new Line2D.Float(insets.left -majorTickLength - insets.right, pixelLoc, insets.left - insets.right, pixelLoc)); } else { copy.draw(new Line2D.Float(insets.left - insets.right - minorTickLength, pixelLoc, insets.left - insets.right, pixelLoc)); } label = leftScaleMap.getLabel(i); if (label != null && label.length() != 0) { if(i == 0) copy.drawString(label, insets.left - insets.right - 45, pixelLoc + 5); else if(i == numTicks - 1) copy.drawString(label, insets.left - insets.right - 45, pixelLoc + 5); else copy.drawString(label, insets.left - insets.right - 45, pixelLoc); } } if(leftAxisLabelBounds == null){ leftAxisLabelBounds = copy.getFontMetrics().getStringBounds(leftScaleMap.getAxisLabel(), copy); } double yTranslate = height - (height - leftAxisLabelBounds.getWidth())/2; double xTranslate = leftAxisLabelBounds.getHeight(); copy.translate(xTranslate, yTranslate); copy.rotate(-Math.PI/2); copy.drawString(leftScaleMap.getAxisLabel(), 0, 0); copy.rotate(Math.PI/2); copy.translate(-xTranslate, -yTranslate); } // bottom if (bottomScaleMap != null) { numTicks = bottomScaleMap.getNumTicks(); for (int i=0; i<numTicks; i++) { pixelLoc = insets.left + bottomScaleMap.getPixelLocation(i); if (bottomScaleMap.isMajorTick(i)) { copy.draw(new Line2D.Float(pixelLoc, height-bottom, pixelLoc, height-bottom+majorTickLength)); } else { copy.draw(new Line2D.Float(pixelLoc, height-bottom, pixelLoc, height-bottom+minorTickLength)); } label = bottomScaleMap.getLabel(i); int labelWidth = (int)fm.getStringBounds(label, copy).getWidth(); if (label != null && label.length() != 0 && pixelLoc + labelWidth < width) { copy.drawString(label, pixelLoc - labelWidth/2, height-fm.getLeading()); } } } // right if (rightScaleMap != null) { numTicks = rightScaleMap.getNumTicks(); for (int i=0; i<numTicks; i++) { pixelLoc = height - rightScaleMap.getPixelLocation(i) - bottom; copy.draw(new Line2D.Float(pixelLoc, c.getSize().height-bottom, pixelLoc, c.getSize().height-bottom/2)); label = rightScaleMap.getLabel(i); if (label != null && label.length() != 0) { copy.drawString(label, pixelLoc, c.getSize().height-fm.getLeading()); } } } } finally { copy.dispose(); } } }
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/72e30babb16413fe8c13365f17aef60cd2a7534a/ScaleBorder.java/buggy/src/edu/sc/seis/fissuresUtil/display/ScaleBorder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 12574, 8107, 12, 1841, 276, 16, 18701, 16830, 314, 16, 18701, 509, 619, 16, 18701, 509, 677, 16, 18701, 509, 1835, 16, 18701, 509, 2072, 13, 288, 3639, 16830, 22, 40, 1610, 273, 261, 17558, 22, 40, 13, 75, 18, 2640, 5621, 3639, 309, 261, 3530, 480, 446, 13, 288, 5411, 1610, 18, 13929, 12, 92, 16, 93, 1769, 5411, 775, 288, 7734, 1610, 18, 542, 5711, 12, 4236, 1989, 18, 38, 7954, 67, 25221, 1769, 7734, 368, 316, 648, 1915, 854, 24028, 4832, 434, 333, 1245, 7734, 22300, 23576, 273, 14015, 46, 1841, 13, 71, 2934, 588, 382, 4424, 5621, 7734, 10063, 5653, 10940, 273, 1610, 18, 588, 5711, 5653, 5621, 7734, 514, 1433, 31, 7734, 368, 1760, 7734, 509, 818, 16610, 31, 7734, 509, 4957, 1333, 31, 7734, 309, 261, 3669, 5587, 863, 480, 446, 13, 288, 10792, 818, 16610, 273, 1760, 5587, 863, 18, 588, 2578, 16610, 5621, 10792, 364, 261, 474, 277, 33, 20, 31, 277, 32, 2107, 16610, 31, 277, 27245, 288, 13491, 4957, 1333, 273, 23576, 18, 4482, 397, 1760, 5587, 863, 18, 588, 9037, 2735, 12, 77, 1769, 13491, 309, 12, 3669, 5587, 863, 18, 291, 17581, 6264, 12, 77, 3719, 18701, 1610, 18, 9446, 12, 2704, 5377, 22, 40, 18, 4723, 12, 11743, 1333, 16, 1760, 16, 4957, 1333, 16, 1760, 300, 7888, 6264, 1782, 10019, 13491, 469, 18701, 1610, 18, 9446, 12, 2704, 5377, 22, 40, 18, 4723, 12, 11743, 1333, 16, 1760, 16, 4957, 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, 12574, 8107, 12, 1841, 276, 16, 18701, 16830, 314, 16, 18701, 509, 619, 16, 18701, 509, 677, 16, 18701, 509, 1835, 16, 18701, 509, 2072, 13, 288, 3639, 16830, 22, 40, 1610, 273, 261, 17558, 22, 40, 13, 75, 18, 2640, 5621, 3639, 309, 261, 3530, 480, 446, 13, 288, 5411, 1610, 18, 13929, 12, 92, 16, 93, 1769, 5411, 775, 288, 7734, 1610, 18, 542, 5711, 12, 4236, 1989, 18, 38, 7954, 67, 25221, 1769, 7734, 368, 316, 648, 1915, 854, 24028, 4832, 434, 333, 1245, 7734, 22300, 23576, 273, 14015, 46, 1841, 13, 71, 2934, 588, 382, 4424, 5621, 7734, 10063, 5653, 10940, 273, 1610, 18, 588, 5711, 5653, 5621, 7734, 514, 1433, 31, 2 ]
private void changed(MatcherEditor editor, Matcher matcher) { ((InternalReadWriteLock)getReadWriteLock()).internalLock().lock(); try { // update my matchers if(currentEditor != editor) throw new IllegalStateException(); currentMatcher = matcher; // all of these changes to this list happen "atomically" updates.beginEvent(); // for all source items, see what the change is for(BarcodeIterator i = flagList.iterator();i.hasNext(); ) { i.next(); // determine if this value was already filtered out or not int filteredIndex = i.getBlackIndex(); boolean wasIncluded = filteredIndex != -1; // whether we should add this item boolean include = currentMatcher.matches(source.get(i.getIndex())); // this element is being removed as a result of the change if(wasIncluded && !include) { i.setWhite(); updates.addDelete(filteredIndex); // this element is being added as a result of the change } else if(!wasIncluded && include) { updates.addInsert(i.setBlack()); } } // commit the changes and notify listeners updates.commitEvent(); } finally { ((InternalReadWriteLock)getReadWriteLock()).internalLock().unlock(); } }
10062 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10062/7e875b3e960ad3654609175ae66f1e429fd81b85/FilterList.java/buggy/source/ca/odell/glazedlists/FilterList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 918, 3550, 12, 6286, 6946, 4858, 16, 9757, 4546, 13, 288, 5411, 14015, 3061, 1994, 3067, 2531, 13, 588, 1994, 3067, 2531, 1435, 2934, 7236, 2531, 7675, 739, 5621, 5411, 775, 288, 7734, 368, 1089, 3399, 17609, 7734, 309, 12, 2972, 6946, 480, 4858, 13, 604, 394, 5477, 5621, 7734, 783, 6286, 273, 4546, 31, 27573, 368, 777, 434, 4259, 3478, 358, 333, 666, 5865, 315, 7466, 6478, 6, 7734, 4533, 18, 10086, 1133, 5621, 13491, 368, 364, 777, 1084, 1516, 16, 2621, 4121, 326, 2549, 353, 7734, 364, 12, 5190, 710, 3198, 277, 273, 2982, 682, 18, 9838, 5621, 77, 18, 5332, 2134, 5621, 262, 288, 10792, 277, 18, 4285, 5621, 18701, 368, 4199, 309, 333, 460, 1703, 1818, 5105, 596, 578, 486, 10792, 509, 5105, 1016, 273, 277, 18, 588, 13155, 1016, 5621, 10792, 1250, 1703, 19323, 273, 5105, 1016, 480, 300, 21, 31, 10792, 368, 2856, 732, 1410, 527, 333, 761, 10792, 1250, 2341, 273, 783, 6286, 18, 8436, 12, 3168, 18, 588, 12, 77, 18, 588, 1016, 1435, 10019, 18701, 368, 333, 930, 353, 3832, 3723, 487, 279, 563, 434, 326, 2549, 10792, 309, 12, 17416, 19323, 597, 401, 6702, 13, 288, 13491, 277, 18, 542, 13407, 5621, 13491, 4533, 18, 1289, 2613, 12, 12071, 1016, 1769, 18701, 368, 333, 930, 353, 3832, 3096, 487, 279, 563, 434, 326, 2549, 10792, 289, 469, 309, 12, 5, 17416, 19323, 597, 2341, 13, 288, 13491, 4533, 18, 1289, 4600, 12, 77, 18, 542, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 918, 3550, 12, 6286, 6946, 4858, 16, 9757, 4546, 13, 288, 5411, 14015, 3061, 1994, 3067, 2531, 13, 588, 1994, 3067, 2531, 1435, 2934, 7236, 2531, 7675, 739, 5621, 5411, 775, 288, 7734, 368, 1089, 3399, 17609, 7734, 309, 12, 2972, 6946, 480, 4858, 13, 604, 394, 5477, 5621, 7734, 783, 6286, 273, 4546, 31, 27573, 368, 777, 434, 4259, 3478, 358, 333, 666, 5865, 315, 7466, 6478, 6, 7734, 4533, 18, 10086, 1133, 5621, 13491, 368, 364, 777, 1084, 1516, 16, 2621, 4121, 326, 2549, 353, 7734, 364, 12, 5190, 710, 3198, 277, 273, 2982, 682, 18, 9838, 5621, 77, 18, 5332, 2134, 5621, 262, 288, 10792, 277, 18, 4285, 5621, 18701, 368, 4199, 309, 333, 2 ]
for (int i = 0; i < b.length; i++) { b[i] = data[pointer++]; }
for (int i = 0; i < b.length; i++) { b[i] = data[pointer++]; }
public void readFully(byte[] b) { for (int i = 0; i < b.length; i++) { b[i] = data[pointer++]; } }
57341 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57341/f1a2e8bd347e294e5391728379b76d4500a7093d/TTFMemoryInput.java/clean/freehep-graphicsio/src/main/java/org/freehep/graphicsio/font/truetype/TTFMemoryInput.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 31803, 12, 7229, 8526, 324, 13, 288, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 324, 18, 2469, 31, 277, 27245, 288, 202, 565, 324, 63, 77, 65, 273, 501, 63, 10437, 9904, 15533, 202, 97, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 31803, 12, 7229, 8526, 324, 13, 288, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 324, 18, 2469, 31, 277, 27245, 288, 202, 565, 324, 63, 77, 65, 273, 501, 63, 10437, 9904, 15533, 202, 97, 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 ]
mature = new CopyLocal(GenCopy.toSpace()); }
mature = new CopyLocal(GenCopy.toSpace()); }
public GenCopyMutator() { mature = new CopyLocal(GenCopy.toSpace()); }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/57a34fa3e6e607d84b46e06082997a4771a25a85/GenCopyMutator.java/buggy/MMTk/src/org/mmtk/plan/generational/copying/GenCopyMutator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 10938, 2951, 28410, 1435, 288, 202, 202, 81, 1231, 273, 394, 5631, 2042, 12, 7642, 2951, 18, 869, 3819, 10663, 202, 97, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 10938, 2951, 28410, 1435, 288, 202, 202, 81, 1231, 273, 394, 5631, 2042, 12, 7642, 2951, 18, 869, 3819, 10663, 202, 97, 282, 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 ]
Iterator policyRefElements = config_element.getChildrenWithName(new QName(POLICY_NS_URI, TAG_POLICY_REF));
Iterator policyRefElements = config_element.getChildrenWithName(new QName(POLICY_NS_URI, TAG_POLICY_REF));
public void populateConfig() throws DeploymentException { try { OMElement config_element = buildOM(); // processing Parameters // Processing service level parameters Iterator itr = config_element.getChildrenWithName(new QName(TAG_PARAMETER)); processParameters(itr, axisConfiguration, axisConfiguration); // process MessageReciver OMElement messageReceiver = config_element.getFirstChildWithName(new QName(TAG_MESSAGE_RECEIVERS)); if (messageReceiver != null) { HashMap mrs = processMessageReceivers(messageReceiver); Iterator keys = mrs.keySet().iterator(); while (keys.hasNext()) { String key = (String) keys.next(); axisConfig.addMessageReceiver(key, (MessageReceiver) mrs.get(key)); } } // Process Module refs Iterator moduleitr = config_element.getChildrenWithName(new QName(DeploymentConstants.TAG_MODULE)); processModuleRefs(moduleitr); // Proccessing Transport Senders Iterator trs_senders = config_element.getChildrenWithName(new QName(TAG_TRANSPORT_SENDER)); processTransportSenders(trs_senders); // Proccessing Transport Receivers Iterator trs_Reivers = config_element.getChildrenWithName(new QName(TAG_TRANSPORT_RECEIVER)); processTransportReceivers(trs_Reivers); // Process Observers Iterator obs_ittr = config_element.getChildrenWithName(new QName(TAG_LISTENER)); processObservers(obs_ittr); // processing Phase orders Iterator phaseorders = config_element.getChildrenWithName(new QName(TAG_PHASE_ORDER)); processPhaseOrders(phaseorders); Iterator moduleConfigs = config_element.getChildrenWithName(new QName(TAG_MODULE_CONFIG)); processModuleConfig(moduleConfigs, axisConfiguration, axisConfiguration); // setting host configuration OMElement hostElement = config_element.getFirstChildWithName(new QName(TAG_HOST_CONFIG)); if (hostElement != null) { processHostCongiguration(hostElement, axisConfiguration); } // setting the PolicyInclude PolicyInclude policyInclude = new PolicyInclude(); axisConfiguration.setPolicyInclude(policyInclude); // processing <wsp:Policy> .. </..> elements Iterator policyElements = config_element.getChildrenWithName(new QName(POLICY_NS_URI, TAG_POLICY)); if (policyElements != null) { processPolicyElements(policyElements, axisConfiguration.getPolicyInclude()); } // processing <wsp:PolicyReference> .. </..> elements Iterator policyRefElements = config_element.getChildrenWithName(new QName(POLICY_NS_URI, TAG_POLICY_REF)); if (policyRefElements != null) { processPolicyRefElements(policyElements, axisConfiguration.getPolicyInclude()); } } catch (XMLStreamException e) { throw new DeploymentException(e); } }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/8baa74e67adc60139306df51be4a393501d5b175/AxisConfigBuilder.java/clean/modules/core/src/org/apache/axis2/deployment/AxisConfigBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 6490, 809, 1435, 1216, 8587, 503, 288, 3639, 775, 288, 5411, 531, 12310, 642, 67, 2956, 273, 1361, 1872, 5621, 5411, 368, 4929, 7012, 5411, 368, 19652, 1156, 1801, 1472, 5411, 4498, 11176, 273, 642, 67, 2956, 18, 588, 4212, 17557, 12, 2704, 16723, 12, 7927, 67, 9819, 10019, 5411, 1207, 2402, 12, 305, 86, 16, 2654, 1750, 16, 2654, 1750, 1769, 5411, 368, 1207, 2350, 5650, 1667, 5411, 531, 12310, 883, 12952, 273, 642, 67, 2956, 18, 588, 3759, 1763, 17557, 12, 2704, 16723, 12, 7927, 67, 8723, 67, 27086, 45, 21510, 10019, 5411, 309, 261, 2150, 12952, 480, 446, 13, 288, 7734, 4317, 312, 5453, 273, 1207, 1079, 4779, 6760, 12, 2150, 12952, 1769, 7734, 4498, 1311, 273, 312, 5453, 18, 856, 694, 7675, 9838, 5621, 7734, 1323, 261, 2452, 18, 5332, 2134, 10756, 288, 10792, 514, 498, 273, 261, 780, 13, 1311, 18, 4285, 5621, 10792, 2654, 809, 18, 1289, 1079, 12952, 12, 856, 16, 261, 1079, 12952, 13, 312, 5453, 18, 588, 12, 856, 10019, 7734, 289, 5411, 289, 5411, 368, 4389, 5924, 9047, 5411, 4498, 1605, 305, 86, 273, 10792, 642, 67, 2956, 18, 588, 4212, 17557, 12, 2704, 16723, 12, 6733, 2918, 18, 7927, 67, 12194, 10019, 5411, 1207, 3120, 9837, 12, 2978, 305, 86, 1769, 5411, 368, 1186, 850, 310, 9514, 2479, 414, 5411, 4498, 433, 87, 67, 4661, 414, 273, 642, 67, 2956, 18, 588, 4212, 17557, 12, 2704, 16723, 12, 7927, 67, 8989, 31943, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 6490, 809, 1435, 1216, 8587, 503, 288, 3639, 775, 288, 5411, 531, 12310, 642, 67, 2956, 273, 1361, 1872, 5621, 5411, 368, 4929, 7012, 5411, 368, 19652, 1156, 1801, 1472, 5411, 4498, 11176, 273, 642, 67, 2956, 18, 588, 4212, 17557, 12, 2704, 16723, 12, 7927, 67, 9819, 10019, 5411, 1207, 2402, 12, 305, 86, 16, 2654, 1750, 16, 2654, 1750, 1769, 5411, 368, 1207, 2350, 5650, 1667, 5411, 531, 12310, 883, 12952, 273, 642, 67, 2956, 18, 588, 3759, 1763, 17557, 12, 2704, 16723, 12, 7927, 67, 8723, 67, 27086, 45, 21510, 10019, 5411, 309, 261, 2150, 12952, 480, 446, 13, 288, 7734, 4317, 312, 5453, 273, 1207, 1079, 4779, 6760, 12, 2150, 12952, 1769, 2 ]
Molecule molecule = (new SmilesParser()).parseSmiles("O=c1ccc2ccc4c5ccccc5Oc3c(OC)cc1c2c34");
Molecule molecule = (new SmilesParser()).parseSmiles("O=C1C=Cc2ccc4c5ccccc5Oc3c(OC)cc1c2c34");
public void test4Sphere() { String[] result = { "O-1;=C(CC/CC,C/CC,C,&)", "C-3;=OCC(,CC,C/CC,C,&/CC,&C,&O)", "C-2;CC(=OC,C/,CC,&C/C&,C,C)", "C-2;CC(C,CC/=OC,C&,C/,&C,CC,&)", "C-3;CCC(CC,C,C/CC,CC,&,&/=O&,C,C&,&O)", "C-2;CC(CC,C/CC,C,&C/C&,CC,&,CC)", "C-2;CC(CC,C/CC,CC,&C/C&,CO,C&,C,C)", "C-3;CCC(CC,CC,C/CC,CO,C&,C,&/CC,C&,&O,&,C,&)", "C-3;CCC(CC,OC,C/CC,C,&,C,&/CC,C&,&,&)", "C-2;CC(CC,C/CC,CO,&/CC,C,&,&)", "C-2;CC(C,C/CC,&/CC,&O)", "C-2;CC(C,C/CO,&/C&,C)", "C-2;CC(CO,C/CC,C,&/CC,&,&C)", "C-3;COC(CC,C,C/CC,C,&C,&/C&,C,&,CO)", "O-2;CC(CC,CC/CC,CO,&C,C/CC,&C,&,C,C,&)", "C-3;CCO(CC,CO,C/CC,CC,&,C,&C/&C,CC,&C,&,,C)", "C-3;CCO(C,CO,C/CC,&C,C,/=OC,&C,CC,&C)", "O-2;CC(CC,/CO,C/CC,C,&C)", "C-1;O(C/CC/CO,C)", "C-2;CC(CC,CO/=OC,CC,&O,C/,C,&C,&C,C,)", "C-3;CCC(=OC,CC,C/,C,CC,&C,&O/&,CC,&O,&,C)", "C-3;CCC(CC,CC,CC/=OC,C,CC,&O,&,&/,&,&O,CC,&,&)", "C-3;CCC(CC,CC,CO/CC,CC,CC,&,&O,&/=OC,&,&,&,C&,C,C)" }; try { Molecule molecule = (new SmilesParser()).parseSmiles("O=c1ccc2ccc4c5ccccc5Oc3c(OC)cc1c2c34"); boolean isAromatic = HueckelAromaticityDetector.detectAromaticity(molecule); HOSECodeGenerator hcg = new HOSECodeGenerator(); String s = null; for (int f = 0; f < molecule.getAtomCount(); f++) { s = hcg.getHOSECode(molecule, molecule.getAtomAt(f), 4); assertTrue(result[f].equals(s)); } } catch (Exception exc) { exc.printStackTrace(); } }
45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/6d8aa3922ced07dd7b9196063ada12eff10f95ef/HOSECodeTest.java/buggy/src/org/openscience/cdk/test/tools/HOSECodeTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 24, 22747, 1435, 202, 95, 202, 202, 780, 8526, 563, 273, 288, 1875, 377, 315, 51, 17, 21, 31, 33, 39, 12, 6743, 19, 6743, 16, 39, 19, 6743, 16, 39, 16, 10, 2225, 16, 377, 315, 39, 17, 23, 31, 33, 51, 6743, 12, 16, 6743, 16, 39, 19, 6743, 16, 39, 16, 10, 19, 6743, 16, 10, 39, 16, 10, 51, 2225, 16, 377, 315, 39, 17, 22, 31, 6743, 12, 33, 10809, 16, 39, 19, 16, 6743, 16, 10, 39, 19, 39, 10, 16, 39, 16, 39, 2225, 16, 377, 315, 39, 17, 22, 31, 6743, 12, 39, 16, 6743, 19, 33, 10809, 16, 39, 10, 16, 39, 19, 16, 10, 39, 16, 6743, 16, 10, 2225, 16, 377, 315, 39, 17, 23, 31, 6743, 39, 12, 6743, 16, 39, 16, 39, 19, 6743, 16, 6743, 16, 10, 16, 10, 19, 33, 51, 10, 16, 39, 16, 39, 10, 16, 10, 51, 2225, 16, 377, 315, 39, 17, 22, 31, 6743, 12, 6743, 16, 39, 19, 6743, 16, 39, 16, 10, 39, 19, 39, 10, 16, 6743, 16, 10, 16, 6743, 2225, 16, 377, 315, 39, 17, 22, 31, 6743, 12, 6743, 16, 39, 19, 6743, 16, 6743, 16, 10, 39, 19, 39, 10, 16, 3865, 16, 39, 10, 16, 39, 16, 39, 2225, 16, 377, 315, 39, 17, 23, 31, 6743, 39, 12, 6743, 16, 6743, 16, 39, 19, 6743, 16, 3865, 16, 39, 10, 16, 39, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 24, 22747, 1435, 202, 95, 202, 202, 780, 8526, 563, 273, 288, 1875, 377, 315, 51, 17, 21, 31, 33, 39, 12, 6743, 19, 6743, 16, 39, 19, 6743, 16, 39, 16, 10, 2225, 16, 377, 315, 39, 17, 23, 31, 33, 51, 6743, 12, 16, 6743, 16, 39, 19, 6743, 16, 39, 16, 10, 19, 6743, 16, 10, 39, 16, 10, 51, 2225, 16, 377, 315, 39, 17, 22, 31, 6743, 12, 33, 10809, 16, 39, 19, 16, 6743, 16, 10, 39, 19, 39, 10, 16, 39, 16, 39, 2225, 16, 377, 315, 39, 17, 22, 31, 6743, 12, 39, 16, 6743, 19, 33, 10809, 16, 39, 10, 16, 39, 19, 16, 10, 2 ]
if (!Stream.scheduledRun && !(this instanceof ChannelConnectFilter)) { PhaseInfo phase = getCurrentPhase(); advancePhase();
if (!Stream.scheduledRun) {
public void prepareToWork() { if (!Stream.scheduledRun && !(this instanceof ChannelConnectFilter)) { // this is where phase is advanced for unscheduled run PhaseInfo phase = getCurrentPhase(); advancePhase(); // if the phase is static-rate, we require enough inputs // to execute the whole phase. This ensures that all // upstream messages are sent (and hence received by this // filter) prior to execution. if (phase.e!=Rate.DYNAMIC_RATE && phase.e>0) { input.ensureData(phase.e); } } super.prepareToWork(); }
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/43b1435869fba9b5812c57ec6c212dab609758e2/Filter.java/buggy/streams/src/streamit/library/Filter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2911, 774, 2421, 1435, 288, 202, 430, 16051, 1228, 18, 23307, 1997, 597, 401, 12, 2211, 1276, 5307, 5215, 1586, 3719, 288, 202, 565, 368, 333, 353, 1625, 6855, 353, 16111, 364, 640, 23307, 1086, 202, 565, 19459, 966, 6855, 273, 5175, 11406, 5621, 202, 565, 8312, 11406, 5621, 202, 377, 202, 565, 368, 309, 326, 6855, 353, 760, 17, 5141, 16, 732, 2583, 7304, 4540, 202, 565, 368, 358, 1836, 326, 7339, 6855, 18, 225, 1220, 11932, 716, 777, 202, 565, 368, 13505, 2743, 854, 3271, 261, 464, 20356, 5079, 635, 333, 202, 565, 368, 1034, 13, 6432, 358, 4588, 18, 202, 565, 309, 261, 13961, 18, 73, 5, 33, 4727, 18, 40, 25145, 67, 24062, 597, 6855, 18, 73, 34, 20, 13, 288, 202, 202, 2630, 18, 15735, 751, 12, 13961, 18, 73, 1769, 202, 565, 289, 202, 97, 202, 9565, 18, 9366, 774, 2421, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2911, 774, 2421, 1435, 288, 202, 430, 16051, 1228, 18, 23307, 1997, 597, 401, 12, 2211, 1276, 5307, 5215, 1586, 3719, 288, 202, 565, 368, 333, 353, 1625, 6855, 353, 16111, 364, 640, 23307, 1086, 202, 565, 19459, 966, 6855, 273, 5175, 11406, 5621, 202, 565, 8312, 11406, 5621, 202, 377, 202, 565, 368, 309, 326, 6855, 353, 760, 17, 5141, 16, 732, 2583, 7304, 4540, 202, 565, 368, 358, 1836, 326, 7339, 6855, 18, 225, 1220, 11932, 716, 777, 202, 565, 368, 13505, 2743, 854, 3271, 261, 464, 20356, 5079, 635, 333, 202, 565, 368, 1034, 13, 6432, 358, 4588, 18, 202, 565, 309, 261, 13961, 18, 73, 5, 33, 4727, 18, 40, 25145, 67, 2 ]
return (lockArray.length == 1);
return (lockArray.length > 0);
public boolean existsInStore(IEntityLock lock) throws LockingException{ Class entityType = lock.getEntityType(); String key = lock.getEntityKey(); Integer lockType = new Integer(lock.getLockType()); Date expiration = lock.getExpirationTime(); String owner = lock.getLockOwner(); IEntityLock[] lockArray = getLockStore().find(entityType, key, lockType, expiration, owner); return (lockArray.length == 1);}
24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/dc7f45de201252ec94182c3da97c5da5e6645e22/ReferenceEntityLockService.java/clean/source/org/jasig/portal/concurrency/locking/ReferenceEntityLockService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1250, 1704, 382, 2257, 12, 45, 1943, 2531, 2176, 13, 1216, 3488, 21546, 95, 565, 1659, 12665, 273, 2176, 18, 588, 22562, 5621, 565, 514, 498, 273, 2176, 18, 588, 1943, 653, 5621, 565, 2144, 2176, 559, 273, 394, 2144, 12, 739, 18, 588, 2531, 559, 10663, 565, 2167, 7686, 273, 2176, 18, 588, 12028, 950, 5621, 565, 514, 3410, 273, 2176, 18, 588, 2531, 5541, 5621, 565, 29202, 2531, 8526, 2176, 1076, 273, 22206, 2257, 7675, 4720, 12, 1096, 559, 16, 498, 16, 2176, 559, 16, 7686, 16, 3410, 1769, 565, 327, 261, 739, 1076, 18, 2469, 422, 404, 1769, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1250, 1704, 382, 2257, 12, 45, 1943, 2531, 2176, 13, 1216, 3488, 21546, 95, 565, 1659, 12665, 273, 2176, 18, 588, 22562, 5621, 565, 514, 498, 273, 2176, 18, 588, 1943, 653, 5621, 565, 2144, 2176, 559, 273, 394, 2144, 12, 739, 18, 588, 2531, 559, 10663, 565, 2167, 7686, 273, 2176, 18, 588, 12028, 950, 5621, 565, 514, 3410, 273, 2176, 18, 588, 2531, 5541, 5621, 565, 29202, 2531, 8526, 2176, 1076, 273, 22206, 2257, 7675, 4720, 12, 1096, 559, 16, 498, 16, 2176, 559, 16, 7686, 16, 3410, 1769, 565, 327, 261, 739, 1076, 18, 2469, 422, 404, 1769, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
logger.debug("Remote peer localy registered: " + ProActive.getActiveObjectNodeUrl(service));
if (logger.isDebugEnabled()) { logger.debug("Remote peer localy registered: " + ProActive.getActiveObjectNodeUrl(service)); }
public void register(P2PService service) { this.acquaintanceManager.add(service); logger.debug("Remote peer localy registered: " + ProActive.getActiveObjectNodeUrl(service)); // Wake up all node accessor, because new peers are know this.wakeUpEveryBody(); }
23362 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/23362/2af7f2743a6477e582d63ba554bbf3751bc584ee/P2PService.java/buggy/src/org/objectweb/proactive/p2p/service/P2PService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1744, 12, 52, 22, 52, 1179, 1156, 13, 288, 3639, 333, 18, 1077, 372, 1598, 1359, 1318, 18, 1289, 12, 3278, 1769, 3639, 1194, 18, 4148, 2932, 5169, 4261, 1191, 93, 4104, 30, 315, 397, 5411, 1186, 3896, 18, 588, 3896, 921, 907, 1489, 12, 3278, 10019, 3639, 368, 678, 911, 731, 777, 756, 9789, 16, 2724, 394, 10082, 854, 5055, 3639, 333, 18, 91, 911, 1211, 21465, 2250, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1744, 12, 52, 22, 52, 1179, 1156, 13, 288, 3639, 333, 18, 1077, 372, 1598, 1359, 1318, 18, 1289, 12, 3278, 1769, 3639, 1194, 18, 4148, 2932, 5169, 4261, 1191, 93, 4104, 30, 315, 397, 5411, 1186, 3896, 18, 588, 3896, 921, 907, 1489, 12, 3278, 10019, 3639, 368, 678, 911, 731, 777, 756, 9789, 16, 2724, 394, 10082, 854, 5055, 3639, 333, 18, 91, 911, 1211, 21465, 2250, 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 ]
conn = this.getConnection();
conn = WikiDatabase.getConnection();
public void setupSpecialPages(Locale locale, WikiUser user, VirtualWiki virtualWiki) throws Exception { Connection conn = null; try { conn = this.getConnection(); // create the default topics setupSpecialPage(locale, virtualWiki.getName(), WikiBase.SPECIAL_PAGE_STARTING_POINTS, user, false, conn); setupSpecialPage(locale, virtualWiki.getName(), WikiBase.SPECIAL_PAGE_LEFT_MENU, user, true, conn); setupSpecialPage(locale, virtualWiki.getName(), WikiBase.SPECIAL_PAGE_BOTTOM_AREA, user, true, conn); setupSpecialPage(locale, virtualWiki.getName(), WikiBase.SPECIAL_PAGE_STYLESHEET, user, true, conn); } catch (Exception e) { DatabaseConnection.handleErrors(conn); throw e; } finally { this.releaseParams(conn); } }
50517 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50517/513a238e3f29ddefa148a3c1e845ad0af9dd6c29/DatabaseHandler.java/buggy/src/java/org/jamwiki/db/DatabaseHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3875, 12193, 5716, 12, 3916, 2573, 16, 28268, 1299, 729, 16, 7269, 25438, 5024, 25438, 13, 1216, 1185, 288, 202, 202, 1952, 1487, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 4646, 273, 333, 18, 588, 1952, 5621, 1082, 202, 759, 752, 326, 805, 11204, 1082, 202, 8401, 12193, 1964, 12, 6339, 16, 5024, 25438, 18, 17994, 9334, 28268, 2171, 18, 13847, 6365, 67, 11219, 67, 7570, 1360, 67, 8941, 55, 16, 729, 16, 629, 16, 1487, 1769, 1082, 202, 8401, 12193, 1964, 12, 6339, 16, 5024, 25438, 18, 17994, 9334, 28268, 2171, 18, 13847, 6365, 67, 11219, 67, 10066, 67, 29227, 16, 729, 16, 638, 16, 1487, 1769, 1082, 202, 8401, 12193, 1964, 12, 6339, 16, 5024, 25438, 18, 17994, 9334, 28268, 2171, 18, 13847, 6365, 67, 11219, 67, 28891, 67, 20933, 16, 729, 16, 638, 16, 1487, 1769, 1082, 202, 8401, 12193, 1964, 12, 6339, 16, 5024, 25438, 18, 17994, 9334, 28268, 2171, 18, 13847, 6365, 67, 11219, 67, 15066, 2664, 41, 1584, 16, 729, 16, 638, 16, 1487, 1769, 202, 202, 97, 1044, 261, 503, 425, 13, 288, 1082, 202, 4254, 1952, 18, 4110, 4229, 12, 4646, 1769, 1082, 202, 12849, 425, 31, 202, 202, 97, 3095, 288, 1082, 202, 2211, 18, 9340, 1370, 12, 4646, 1769, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3875, 12193, 5716, 12, 3916, 2573, 16, 28268, 1299, 729, 16, 7269, 25438, 5024, 25438, 13, 1216, 1185, 288, 202, 202, 1952, 1487, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 4646, 273, 333, 18, 588, 1952, 5621, 1082, 202, 759, 752, 326, 805, 11204, 1082, 202, 8401, 12193, 1964, 12, 6339, 16, 5024, 25438, 18, 17994, 9334, 28268, 2171, 18, 13847, 6365, 67, 11219, 67, 7570, 1360, 67, 8941, 55, 16, 729, 16, 629, 16, 1487, 1769, 1082, 202, 8401, 12193, 1964, 12, 6339, 16, 5024, 25438, 18, 17994, 9334, 28268, 2171, 18, 13847, 6365, 67, 11219, 67, 10066, 67, 29227, 16, 729, 16, 638, 16, 1487, 1769, 1082, 202, 8401, 12193, 1964, 2 ]
rowObject.setCurrentRowIndex( rowIndex );
public boolean process( IResultObject resultObject ) throws DataException { logger.entering( ComputedColumnHelper.class.getName( ), "process" ); assert resultObject != null; IResultClass resultClass = resultObject.getResultClass( ); if ( isPrepared == false ) prepare( resultClass ); // check if no computed columns are found as custom fields in the result // set if ( columnExprArray.length == 0 ) { logger.exiting( ComputedColumnHelper.class.getName( ), "process" ); return true; // done } // bind new object to row script object rowObject.setRowObject( resultObject, true ); // now assign the computed value to each of its projected computed // columns Context cx = Context.enter( ); try { // iterate through each projected computed column, // and assign it the computed value for ( int i = 0; i < columnExprArray.length; i++ ) { if ( columnExprArray[i] != null && columnExprArray[i].trim( ).length( ) >0 ) { Object value = ScriptEvalUtil.evaluateJSAsExpr( cx, scope, columnExprArray[i], "ComputedColumn", 0 ); try { value = DataTypeUtil.convert( value, resultClass.getFieldValueClass( columnIndexArray[i] ) ); } catch ( BirtException e ) { // Data Type of computed column is not correct throw new DataException( ResourceConstants.WRONG_DATA_TYPE_COMPUTED_COLUMN, new Object[]{ resultClass.getFieldName( columnIndexArray[i] ), resultClass.getFieldValueClass( columnIndexArray[i] ) .getName( ), value.toString( ), } ); } resultObject.setCustomFieldValue( columnIndexArray[i], value ); } else { throw new DataException( ResourceConstants.EXPR_INVALID_COMPUTED_COLUMN, resultObject.getResultClass( ) .getFieldName( columnIndexArray[i] ) ); } } } finally { Context.exit( ); } logger.exiting( ComputedColumnHelper.class.getName( ), "process" ); return true; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/fb30d1ba06f2ec3809a1cac9e968e69cc9037106/ComputedColumnHelper.java/buggy/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ComputedColumnHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 1250, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 1207, 12, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 467, 1253, 921, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 563, 921, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 262, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 1216, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 1910, 503, 202, 95, 1082, 202, 4901, 18, 2328, 310, 12, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 14169, 329, 1494, 2276, 18, 1106, 18, 17994, 12, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 262, 16, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 315, 2567, 6, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 11272, 202, 202, 11231, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 563, 921, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 480, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 446, 31, 9506, 202, 45, 1253, 797, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 563, 797, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 273, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 563, 921, 18, 588, 1253, 797, 12, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 11272, 202, 202, 430, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 261, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 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, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 1250, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 1207, 12, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 467, 1253, 921, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 563, 921, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 262, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 1216, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 1910, 503, 202, 95, 1082, 202, 4901, 18, 2328, 310, 12, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 14169, 329, 1494, 2276, 18, 1106, 18, 17994, 12, 492, 921, 18, 542, 3935, 21769, 12, 15361, 11272, 262, 16, 492, 921, 18, 2 ]
if ( "solid".equalsIgnoreCase(borders[i].borderStyle) ) { if (null == solid) { solid = new ArrayList(); } solid.add(borders[i]); } if ( "dashed".equalsIgnoreCase(borders[i].borderStyle) )
else if ( "dashed".equalsIgnoreCase(borders[i].borderStyle) )
private void drawBorder(BorderInfo[] borders) { //double>solid>dashed>dotted>none ArrayList dbl = null; ArrayList solid = null; ArrayList dashed = null; ArrayList dotted = null; for(int i=0; i<borders.length; i++) { if ( "double".equalsIgnoreCase(borders[i].borderStyle) ) //$NON-NLS-1$ { if (null == dbl) { dbl = new ArrayList(); } dbl.add(borders[i]); } if ( "solid".equalsIgnoreCase(borders[i].borderStyle) ) //$NON-NLS-1$ { if (null == solid) { solid = new ArrayList(); } solid.add(borders[i]); } if ( "dashed".equalsIgnoreCase(borders[i].borderStyle) ) //$NON-NLS-1$ { if (null == dashed) { dashed = new ArrayList(); } dashed.add(borders[i]); } if ( "dotted".equalsIgnoreCase(borders[i].borderStyle) ) //$NON-NLS-1$ { if (null == dotted) { dotted = new ArrayList(); } dotted.add(borders[i]); } } if ( null != dotted ) { for (Iterator it=dotted.iterator(); it.hasNext();) { BorderInfo bi = (BorderInfo)it.next(); drawLine( layoutPointX2PDF( bi.startX ), layoutPointY2PDF( bi.startY ), layoutPointX2PDF( bi.endX ), layoutPointY2PDF( bi.endY ), pdfMeasure(bi.borderWidth), bi.borderColor, "dotted", cb ); //$NON-NLS-1$ } } if ( null != dashed ) { for (Iterator it=dashed.iterator(); it.hasNext();) { BorderInfo bi = (BorderInfo)it.next(); drawLine( layoutPointX2PDF( bi.startX ), layoutPointY2PDF( bi.startY ), layoutPointX2PDF( bi.endX ), layoutPointY2PDF( bi.endY ), pdfMeasure(bi.borderWidth), bi.borderColor, "dashed", cb ); //$NON-NLS-1$ } } if ( null != solid ) { for (Iterator it=solid.iterator(); it.hasNext();) { BorderInfo bi = (BorderInfo)it.next(); drawLine( layoutPointX2PDF( bi.startX ), layoutPointY2PDF( bi.startY ), layoutPointX2PDF( bi.endX ), layoutPointY2PDF( bi.endY ), pdfMeasure(bi.borderWidth), bi.borderColor, "solid", cb ); //$NON-NLS-1$ } } if ( null != dbl ) { for (Iterator it=dbl.iterator(); it.hasNext();) { BorderInfo bi = (BorderInfo)it.next(); int outerBorderWidth=bi.borderWidth/3, innerBorderWidth=bi.borderWidth/3; switch (bi.borderType) { case BorderInfo.TOP_BORDER: drawLine( layoutPointX2PDF( bi.startX ), layoutPointY2PDF( bi.startY-bi.borderWidth/2+outerBorderWidth/2 ), layoutPointX2PDF( bi.endX ), layoutPointY2PDF( bi.endY-bi.borderWidth/2+outerBorderWidth/2 ), pdfMeasure(outerBorderWidth), bi.borderColor, "solid", cb ); //$NON-NLS-1$ drawLine( layoutPointX2PDF( bi.startX+2*borders[BorderInfo.LEFT_BORDER].borderWidth/3 ), layoutPointY2PDF( bi.startY+bi.borderWidth/2-innerBorderWidth/2 ), layoutPointX2PDF( bi.endX-2*borders[BorderInfo.RIGHT_BORDER].borderWidth/3 ), layoutPointY2PDF( bi.endY+bi.borderWidth/2-innerBorderWidth/2 ), pdfMeasure(innerBorderWidth), bi.borderColor, "solid", cb ); //$NON-NLS-1$ break; case BorderInfo.RIGHT_BORDER: drawLine( layoutPointX2PDF( bi.startX+bi.borderWidth/2-outerBorderWidth/2 ), layoutPointY2PDF( bi.startY ), layoutPointX2PDF( bi.endX+bi.borderWidth/2-outerBorderWidth/2 ), layoutPointY2PDF( bi.endY ), pdfMeasure(outerBorderWidth), bi.borderColor, "solid", cb ); //$NON-NLS-1$ drawLine( layoutPointX2PDF( bi.startX-bi.borderWidth/2+innerBorderWidth/2 ), layoutPointY2PDF( bi.startY+2*borders[BorderInfo.TOP_BORDER].borderWidth/3 ), layoutPointX2PDF( bi.endX-bi.borderWidth/2+innerBorderWidth/2 ), layoutPointY2PDF( bi.endY-2*borders[BorderInfo.BOTTOM_BORDER].borderWidth/3 ), pdfMeasure(innerBorderWidth), bi.borderColor, "solid", cb ); //$NON-NLS-1$ break; case BorderInfo.BOTTOM_BORDER: drawLine( layoutPointX2PDF( bi.startX ), layoutPointY2PDF( bi.startY+bi.borderWidth/2-outerBorderWidth/2 ), layoutPointX2PDF( bi.endX ), layoutPointY2PDF( bi.endY+bi.borderWidth/2-outerBorderWidth/2 ), pdfMeasure(outerBorderWidth), bi.borderColor, "solid", cb ); //$NON-NLS-1$ drawLine( layoutPointX2PDF( bi.startX+2*borders[BorderInfo.LEFT_BORDER].borderWidth/3 ), layoutPointY2PDF( bi.startY-bi.borderWidth/2+innerBorderWidth/2 ), layoutPointX2PDF( bi.endX-2*borders[BorderInfo.RIGHT_BORDER].borderWidth/3 ), layoutPointY2PDF( bi.endY-bi.borderWidth/2+innerBorderWidth/2 ), pdfMeasure(innerBorderWidth), bi.borderColor, "solid", cb ); //$NON-NLS-1$ break; case BorderInfo.LEFT_BORDER: drawLine( layoutPointX2PDF( bi.startX-bi.borderWidth/2+outerBorderWidth/2 ), layoutPointY2PDF( bi.startY ), layoutPointX2PDF( bi.endX-bi.borderWidth/2+outerBorderWidth/2 ), layoutPointY2PDF( bi.endY ), pdfMeasure(outerBorderWidth), bi.borderColor, "solid", cb ); //$NON-NLS-1$ drawLine( layoutPointX2PDF( bi.startX+bi.borderWidth/2-innerBorderWidth/2 ), layoutPointY2PDF( bi.startY+2*borders[BorderInfo.TOP_BORDER].borderWidth/3 ), layoutPointX2PDF( bi.endX+bi.borderWidth/2-innerBorderWidth/2 ), layoutPointY2PDF( bi.endY-2*borders[BorderInfo.BOTTOM_BORDER].borderWidth/3 ), pdfMeasure(innerBorderWidth), bi.borderColor, "solid", cb ); //$NON-NLS-1$ break; } } } }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e18d58fe2fd81052ce23c4a1d562fba26e7d1aaf/PDFEmitter.java/clean/engine/org.eclipse.birt.report.engine.emitter.pdf/src/org/eclipse/birt/report/engine/emitter/pdf/PDFEmitter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 918, 3724, 8107, 12, 8107, 966, 8526, 24028, 13, 202, 202, 95, 1082, 202, 759, 9056, 34, 30205, 34, 72, 13912, 34, 9811, 2344, 34, 6102, 1082, 202, 19558, 1319, 80, 273, 446, 31, 1082, 202, 19558, 18035, 273, 446, 31, 1082, 202, 19558, 12558, 329, 273, 446, 31, 1082, 202, 19558, 20965, 273, 446, 31, 6862, 3196, 202, 1884, 12, 474, 277, 33, 20, 31, 277, 32, 70, 9972, 18, 2469, 31, 277, 27245, 1082, 202, 95, 9506, 202, 430, 261, 315, 9056, 9654, 14963, 5556, 12, 70, 9972, 63, 77, 8009, 8815, 2885, 13, 262, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 95, 6862, 202, 430, 261, 2011, 422, 1319, 80, 13, 6862, 202, 95, 25083, 202, 1966, 80, 273, 394, 2407, 5621, 6862, 202, 97, 6862, 202, 1966, 80, 18, 1289, 12, 70, 9972, 63, 77, 19226, 9506, 202, 97, 9506, 202, 430, 261, 315, 30205, 9654, 14963, 5556, 12, 70, 9972, 63, 77, 8009, 8815, 2885, 13, 262, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 95, 6862, 202, 430, 261, 2011, 422, 18035, 13, 6862, 202, 95, 25083, 202, 30205, 273, 394, 2407, 5621, 6862, 202, 97, 6862, 202, 30205, 18, 1289, 12, 70, 9972, 63, 77, 19226, 9506, 202, 97, 9506, 202, 430, 261, 315, 72, 13912, 9654, 14963, 5556, 12, 70, 9972, 63, 77, 8009, 8815, 2885, 13, 262, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 95, 6862, 202, 430, 261, 2011, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 918, 3724, 8107, 12, 8107, 966, 8526, 24028, 13, 202, 202, 95, 1082, 202, 759, 9056, 34, 30205, 34, 72, 13912, 34, 9811, 2344, 34, 6102, 1082, 202, 19558, 1319, 80, 273, 446, 31, 1082, 202, 19558, 18035, 273, 446, 31, 1082, 202, 19558, 12558, 329, 273, 446, 31, 1082, 202, 19558, 20965, 273, 446, 31, 6862, 3196, 202, 1884, 12, 474, 277, 33, 20, 31, 277, 32, 70, 9972, 18, 2469, 31, 277, 27245, 1082, 202, 95, 9506, 202, 430, 261, 315, 9056, 9654, 14963, 5556, 12, 70, 9972, 63, 77, 8009, 8815, 2885, 13, 262, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 95, 6862, 202, 430, 261, 2011, 422, 1319, 80, 13, 2 ]
needPageBreak = true;
setPageBreakBeforeForNextGroup( );
protected void handlePageBreakAfterOfGroup( ) { boolean needPageBreak = false; GroupDesign groupDesign = (GroupDesign) design; if ( groupDesign != null ) { String pageBreakAfter = groupDesign.getPageBreakAfter( ); int groupLevel = groupDesign.getGroupLevel( ); if ( DesignChoiceConstants.PAGE_BREAK_AFTER_ALWAYS .equals( pageBreakAfter ) ) { needPageBreak = true; } if ( DesignChoiceConstants.PAGE_BREAK_AFTER_ALWAYS_EXCLUDING_LAST .equals( pageBreakAfter ) ) { int endGroup = rset.getEndingGroupLevel( ); if ( endGroup >= groupLevel + 1 ) { needPageBreak = true; } } if ( needPageBreak ) { content.getStyle( ).setProperty( IStyle.STYLE_PAGE_BREAK_AFTER, IStyle.ALWAYS_VALUE ); } } }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e55c70c3819e4fb0896313c8307ebf1dd2e752dd/GroupExecutor.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/GroupExecutor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1640, 1964, 7634, 4436, 951, 1114, 12, 262, 202, 95, 202, 202, 6494, 1608, 1964, 7634, 273, 629, 31, 202, 202, 1114, 15478, 1041, 15478, 273, 261, 1114, 15478, 13, 8281, 31, 202, 202, 430, 261, 1041, 15478, 480, 446, 262, 202, 202, 95, 1082, 202, 780, 1363, 7634, 4436, 273, 1041, 15478, 18, 588, 1964, 7634, 4436, 12, 11272, 1082, 202, 474, 1041, 2355, 273, 1041, 15478, 18, 588, 1114, 2355, 12, 11272, 1082, 202, 430, 261, 29703, 10538, 2918, 18, 11219, 67, 27960, 67, 18249, 67, 1013, 29295, 6862, 202, 18, 14963, 12, 1363, 7634, 4436, 262, 262, 1082, 202, 95, 9506, 202, 14891, 1964, 7634, 273, 638, 31, 1082, 202, 97, 1082, 202, 430, 261, 29703, 10538, 2918, 18, 11219, 67, 27960, 67, 18249, 67, 1013, 29295, 67, 2294, 11686, 40, 1360, 67, 14378, 6862, 202, 18, 14963, 12, 1363, 7634, 4436, 262, 262, 1082, 202, 95, 9506, 202, 474, 679, 1114, 273, 436, 542, 18, 588, 25674, 1114, 2355, 12, 11272, 9506, 202, 430, 261, 679, 1114, 1545, 1041, 2355, 397, 404, 262, 9506, 202, 95, 6862, 202, 14891, 1964, 7634, 273, 638, 31, 9506, 202, 97, 1082, 202, 97, 1082, 202, 430, 261, 1608, 1964, 7634, 262, 1082, 202, 95, 9506, 202, 1745, 18, 588, 2885, 12, 262, 18, 542, 1396, 12, 467, 2885, 18, 15066, 67, 11219, 67, 27960, 67, 18249, 16, 25083, 202, 45, 2885, 18, 1013, 29295, 67, 4051, 11272, 1082, 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, 1117, 918, 1640, 1964, 7634, 4436, 951, 1114, 12, 262, 202, 95, 202, 202, 6494, 1608, 1964, 7634, 273, 629, 31, 202, 202, 1114, 15478, 1041, 15478, 273, 261, 1114, 15478, 13, 8281, 31, 202, 202, 430, 261, 1041, 15478, 480, 446, 262, 202, 202, 95, 1082, 202, 780, 1363, 7634, 4436, 273, 1041, 15478, 18, 588, 1964, 7634, 4436, 12, 11272, 1082, 202, 474, 1041, 2355, 273, 1041, 15478, 18, 588, 1114, 2355, 12, 11272, 1082, 202, 430, 261, 29703, 10538, 2918, 18, 11219, 67, 27960, 67, 18249, 67, 1013, 29295, 6862, 202, 18, 14963, 12, 1363, 7634, 4436, 262, 262, 1082, 202, 95, 9506, 202, 14891, 1964, 7634, 273, 638, 31, 1082, 202, 97, 1082, 2 ]
securityManager.deleteResource( cms.getRequestContext(), resource, siblingMode);
securityManager.deleteResource(cms.getRequestContext(), resource, siblingMode);
public void deleteResource( CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int siblingMode ) throws CmsException { securityManager.deleteResource( cms.getRequestContext(), resource, siblingMode); }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/c7083871cfaaede3aa187a175b34be606d8431f2/A_CmsResourceType.java/clean/src/org/opencms/file/types/A_CmsResourceType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1430, 1420, 12, 3639, 14371, 6166, 16, 540, 2149, 4368, 1318, 4373, 1318, 16, 540, 7630, 1058, 16, 540, 509, 10841, 2309, 565, 262, 1216, 11228, 288, 3639, 4373, 1318, 18, 3733, 1420, 12, 5411, 6166, 18, 588, 21426, 9334, 2398, 1058, 16, 2398, 10841, 2309, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1430, 1420, 12, 3639, 14371, 6166, 16, 540, 2149, 4368, 1318, 4373, 1318, 16, 540, 7630, 1058, 16, 540, 509, 10841, 2309, 565, 262, 1216, 11228, 288, 3639, 4373, 1318, 18, 3733, 1420, 12, 5411, 6166, 18, 588, 21426, 9334, 2398, 1058, 16, 2398, 10841, 2309, 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 ]
public void setFlag(int f) { this.flag_pm = f; }
public void setFlag(int f) { this.flag_pm = f; }
public void setFlag(int f) { this.flag_pm = f; }
12667 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12667/7faacb2f15fd2a7082ec1a40f155d879f6a11b69/FrmProduct.java/buggy/src/nom/FrmProduct.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 444, 4678, 12, 474, 284, 13, 282, 288, 4202, 333, 18, 6420, 67, 7755, 273, 284, 31, 1850, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 444, 4678, 12, 474, 284, 13, 282, 288, 4202, 333, 18, 6420, 67, 7755, 273, 284, 31, 1850, 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 ]
public abstract SettingSet buildModel(File modelFile);
public abstract SettingSet buildModel(File modelFile, Setting parent);
public abstract SettingSet buildModel(File modelFile);
12962 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12962/e9da4f10fce82585660c58be4ae0e97c8c637341/ModelBuilder.java/buggy/sipXconfig/neoconf/src/org/sipfoundry/sipxconfig/setting/ModelBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8770, 13274, 694, 1361, 1488, 12, 812, 938, 812, 1769, 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, 13274, 694, 1361, 1488, 12, 812, 938, 812, 1769, 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 ]
return TokenResult.NONE;
return new TokenResult( new Token[] { reply }, null );
private TokenResult eprtReply( FtpReply reply ) throws TokenException { return TokenResult.NONE; }
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/1e83604fd730e0932a853f098ccdc59cc6c07d80/NatFtpHandler.java/clean/tran/nat/main/com/metavize/tran/nat/NatFtpHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3155, 1253, 425, 683, 88, 7817, 12, 478, 6834, 7817, 4332, 262, 1216, 3155, 503, 565, 288, 3639, 327, 394, 3155, 1253, 12, 394, 3155, 8526, 288, 4332, 19879, 446, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3155, 1253, 425, 683, 88, 7817, 12, 478, 6834, 7817, 4332, 262, 1216, 3155, 503, 565, 288, 3639, 327, 394, 3155, 1253, 12, 394, 3155, 8526, 288, 4332, 19879, 446, 11272, 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 ]
/* register the WMI assistant */ registerAssistant( this.wmiAssistant );
private LocalPhoneBookImpl() { /* have to build the WMI assistant */ this.wmiAssistant = new WMIAssistant(); /* register the WMI assistant */ registerAssistant( this.wmiAssistant ); }
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/1d83234b319961bbbb9ff310922664ecadfaf21e/LocalPhoneBookImpl.java/buggy/mvvm/impl/com/metavize/mvvm/user/LocalPhoneBookImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3566, 9451, 9084, 2828, 1435, 565, 288, 3639, 1748, 1240, 358, 1361, 326, 678, 7492, 28779, 1195, 3639, 333, 18, 91, 9197, 2610, 17175, 273, 394, 678, 7492, 2610, 17175, 5621, 3639, 1748, 1744, 326, 678, 7492, 28779, 1195, 3639, 1744, 2610, 17175, 12, 333, 18, 91, 9197, 2610, 17175, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 377, 3238, 3566, 9451, 9084, 2828, 1435, 565, 288, 3639, 1748, 1240, 358, 1361, 326, 678, 7492, 28779, 1195, 3639, 333, 18, 91, 9197, 2610, 17175, 273, 394, 678, 7492, 2610, 17175, 5621, 3639, 1748, 1744, 326, 678, 7492, 28779, 1195, 3639, 1744, 2610, 17175, 12, 333, 18, 91, 9197, 2610, 17175, 11272, 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 ]
traceIn("moduleDecl"); try { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST moduleDecl_AST = null; Token prefix = null; org.exist.xquery.parser.XQueryAST prefix_AST = null; Token uri = null; org.exist.xquery.parser.XQueryAST uri_AST = null;
returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST moduleDecl_AST = null; Token prefix = null; org.exist.xquery.parser.XQueryAST prefix_AST = null; Token uri = null; org.exist.xquery.parser.XQueryAST uri_AST = null; match(LITERAL_module); match(LITERAL_namespace); prefix = LT(1); prefix_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(prefix); astFactory.addASTChild(currentAST, prefix_AST); match(NCNAME); match(EQ); uri = LT(1); uri_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(uri); astFactory.addASTChild(currentAST, uri_AST); match(STRING_LITERAL); match(SEMICOLON); if ( inputState.guessing==0 ) { moduleDecl_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;
public final void moduleDecl() throws RecognitionException, TokenStreamException { traceIn("moduleDecl"); try { // debugging returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST moduleDecl_AST = null; Token prefix = null; org.exist.xquery.parser.XQueryAST prefix_AST = null; Token uri = null; org.exist.xquery.parser.XQueryAST uri_AST = null; match(LITERAL_module); match(LITERAL_namespace); prefix = LT(1); prefix_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(prefix); astFactory.addASTChild(currentAST, prefix_AST); match(NCNAME); match(EQ); uri = LT(1); uri_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(uri); astFactory.addASTChild(currentAST, uri_AST); match(STRING_LITERAL); match(SEMICOLON); if ( inputState.guessing==0 ) { moduleDecl_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; moduleDecl_AST = (org.exist.xquery.parser.XQueryAST)astFactory.make( (new ASTArray(2)).add((org.exist.xquery.parser.XQueryAST)astFactory.create(MODULE_DECL,prefix.getText())).add(uri_AST)); currentAST.root = moduleDecl_AST; currentAST.child = moduleDecl_AST!=null &&moduleDecl_AST.getFirstChild()!=null ? moduleDecl_AST.getFirstChild() : moduleDecl_AST; currentAST.advanceChildToEnd(); } moduleDecl_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; returnAST = moduleDecl_AST; } finally { // debugging traceOut("moduleDecl"); } }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/036ccdd3fe4cdde6cf0f24f284e57caec99eaa4a/XQueryParser.java/buggy/src/org/exist/xquery/parser/XQueryParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1605, 3456, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 5129, 382, 2932, 2978, 3456, 8863, 202, 202, 698, 288, 368, 10450, 1082, 202, 2463, 9053, 273, 446, 31, 1082, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 1082, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1605, 3456, 67, 9053, 273, 446, 31, 1082, 202, 1345, 225, 1633, 273, 446, 31, 1082, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1633, 67, 9053, 273, 446, 31, 1082, 202, 1345, 225, 2003, 273, 446, 31, 1082, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 2003, 67, 9053, 273, 446, 31, 25083, 202, 1916, 12, 23225, 67, 2978, 1769, 1082, 202, 1916, 12, 23225, 67, 4937, 1769, 1082, 202, 3239, 273, 11807, 12, 21, 1769, 1082, 202, 3239, 67, 9053, 273, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 689, 1733, 18, 2640, 12, 3239, 1769, 1082, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 1633, 67, 9053, 1769, 1082, 202, 1916, 12, 10346, 1985, 1769, 1082, 202, 1916, 12, 27247, 1769, 1082, 202, 1650, 273, 11807, 12, 21, 1769, 1082, 202, 1650, 67, 9053, 273, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 689, 1733, 18, 2640, 12, 1650, 1769, 1082, 202, 689, 1733, 18, 1289, 9053, 1763, 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, 1605, 3456, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 5129, 382, 2932, 2978, 3456, 8863, 202, 202, 698, 288, 368, 10450, 1082, 202, 2463, 9053, 273, 446, 31, 1082, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 1082, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1605, 3456, 67, 9053, 273, 446, 31, 1082, 202, 1345, 225, 1633, 273, 446, 31, 1082, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1633, 67, 9053, 273, 446, 31, 1082, 202, 1345, 225, 2003, 273, 446, 31, 1082, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 2003, 2 ]
public static void putstaticWriteBarrier(int offset, Object value)
public static void putstaticWriteBarrier(Offset offset, Object value)
public static void putstaticWriteBarrier(int offset, Object value) throws InlinePragma { // putstatic barrier currently unimplemented if (VM.VerifyAssertions) VM._assert(false);// Address jtoc = VM_Magic.objectAsAddress(VM_Magic.getJTOC());// VM_Interface.getPlan().writeBarrier(jtoc,// jtoc.add(offset),// VM_Magic.objectAsAddress(value),// PUTSTATIC_WRITE_BARRIER); }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/3a1409586ed0fc007c4120f3a96d6f7a1ae3593c/MM_Interface.java/buggy/rvm/src/vm/memoryManagers/JMTk/vmInterface/MM_Interface.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 1378, 3845, 3067, 5190, 10342, 12, 2335, 1384, 16, 1033, 460, 13, 565, 1216, 16355, 2050, 9454, 288, 377, 368, 1378, 3845, 24651, 4551, 640, 21099, 565, 309, 261, 7397, 18, 8097, 8213, 1115, 13, 8251, 6315, 11231, 12, 5743, 1769, 759, 377, 5267, 525, 1391, 273, 8251, 67, 19289, 18, 1612, 1463, 1887, 12, 7397, 67, 19289, 18, 588, 46, 4296, 39, 10663, 759, 377, 8251, 67, 1358, 18, 588, 5365, 7675, 2626, 5190, 10342, 12, 78, 1391, 16, 759, 29159, 525, 1391, 18, 1289, 12, 3348, 3631, 759, 29159, 8251, 67, 19289, 18, 1612, 1463, 1887, 12, 1132, 3631, 759, 29159, 11443, 22741, 67, 11677, 67, 21908, 2259, 654, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 1378, 3845, 3067, 5190, 10342, 12, 2335, 1384, 16, 1033, 460, 13, 565, 1216, 16355, 2050, 9454, 288, 377, 368, 1378, 3845, 24651, 4551, 640, 21099, 565, 309, 261, 7397, 18, 8097, 8213, 1115, 13, 8251, 6315, 11231, 12, 5743, 1769, 759, 377, 5267, 525, 1391, 273, 8251, 67, 19289, 18, 1612, 1463, 1887, 12, 7397, 67, 19289, 18, 588, 46, 4296, 39, 10663, 759, 377, 8251, 67, 1358, 18, 588, 5365, 7675, 2626, 5190, 10342, 12, 78, 1391, 16, 759, 29159, 525, 1391, 18, 1289, 12, 3348, 3631, 759, 29159, 8251, 67, 19289, 18, 1612, 1463, 1887, 12, 1132, 3631, 759, 29159, 11443, 22741, 67, 11677, 67, 21908, 2259, 654, 1769, 225, 289, 2, -100 ]
int initialFoldLevel = buffer.getFoldLevel(line); if(line != lineCount - 1 && isLineVisible(line) && !isLineVisible(line + 1) && buffer.getFoldLevel(line + 1) > initialFoldLevel)
for(int i = line + 1; i < lineCount; i++)
public int expandFold(int line, boolean fully) { // the first sub-fold. used by JEditTextArea.expandFold(). int returnValue = -1; int lineCount = buffer.getLineCount(); int start = 0; int end = lineCount - 1; try { buffer.writeLock(); int initialFoldLevel = buffer.getFoldLevel(line); //{{{ Find fold start and fold end... if(line != lineCount - 1 && isLineVisible(line) && !isLineVisible(line + 1) && buffer.getFoldLevel(line + 1) > initialFoldLevel) { // this line is the start of a fold start = line + 1; for(int i = line + 1; i < lineCount; i++) { if(/* isLineVisible(i) && */ buffer.getFoldLevel(i) <= initialFoldLevel) { end = i - 1; break; } } } else { boolean ok = false; // scan backwards looking for the start for(int i = line - 1; i >= 0; i--) { //XXX if(isLineVisible(i) && buffer.getFoldLevel(i) < initialFoldLevel) { start = i + 1; ok = true; break; } } if(!ok) { // no folds in buffer return -1; } for(int i = line + 1; i < lineCount; i++) { //XXX if((isLineVisible(i) && buffer.getFoldLevel(i) < initialFoldLevel) || i == getLastVisibleLine()) { end = i - 1; break; } } } //}}} //{{{ Expand the fold... if(fully) { showLineRange(start,end); } else { // we need a different value of initialFoldLevel here! initialFoldLevel = buffer.getFoldLevel(start); int firstVisible = start; for(int i = start; i <= end; i++) { if(buffer.getFoldLevel(i) > initialFoldLevel) { if(returnValue == -1 && i != 0 && buffer.isFoldStart(i - 1)) { returnValue = i - 1; } if(firstVisible != i) { showLineRange(firstVisible,i - 1); } firstVisible = i + 1; } } if(firstVisible != end + 1) showLineRange(firstVisible,end); if(!isLineVisible(line)) { // this is a hack, and really needs to be done better. expandFold(line,false); return returnValue; } } //}}} } finally { buffer.writeUnlock(); } _notifyScreenLineChanges(); textArea.foldStructureChanged(); return returnValue; } //}}}
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/a010bcb74ed7af964ecaa344db4d894b3557ae58/DisplayManager.java/buggy/org/gjt/sp/jedit/textarea/DisplayManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 4542, 15592, 12, 474, 980, 16, 1250, 7418, 13, 202, 95, 202, 202, 759, 326, 1122, 720, 17, 16007, 18, 1399, 635, 804, 4666, 1528, 5484, 18, 12320, 15592, 7675, 202, 202, 474, 7750, 273, 300, 21, 31, 202, 202, 474, 980, 1380, 273, 1613, 18, 588, 1670, 1380, 5621, 202, 202, 474, 787, 273, 374, 31, 202, 202, 474, 679, 273, 980, 1380, 300, 404, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 4106, 18, 2626, 2531, 5621, 1082, 202, 474, 2172, 15592, 2355, 273, 1613, 18, 588, 15592, 2355, 12, 1369, 1769, 1082, 202, 759, 12187, 95, 4163, 11590, 787, 471, 11590, 679, 2777, 1082, 202, 430, 12, 1369, 480, 980, 1380, 300, 404, 9506, 202, 10, 10, 353, 1670, 6207, 12, 1369, 13, 9506, 202, 10, 10, 401, 291, 1670, 6207, 12, 1369, 397, 404, 13, 9506, 202, 10, 10, 1613, 18, 588, 15592, 2355, 12, 1369, 397, 404, 13, 405, 2172, 15592, 2355, 13, 1082, 202, 95, 9506, 202, 759, 333, 980, 353, 326, 787, 434, 279, 11590, 9506, 202, 1937, 273, 980, 397, 404, 31, 9506, 202, 1884, 12, 474, 277, 273, 980, 397, 404, 31, 277, 411, 980, 1380, 31, 277, 27245, 9506, 202, 95, 6862, 202, 430, 12, 20308, 353, 1670, 6207, 12, 77, 13, 597, 1195, 25083, 202, 4106, 18, 588, 15592, 2355, 12, 77, 13, 1648, 2172, 15592, 2355, 13, 6862, 202, 95, 25083, 202, 409, 273, 277, 300, 404, 31, 25083, 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, 509, 4542, 15592, 12, 474, 980, 16, 1250, 7418, 13, 202, 95, 202, 202, 759, 326, 1122, 720, 17, 16007, 18, 1399, 635, 804, 4666, 1528, 5484, 18, 12320, 15592, 7675, 202, 202, 474, 7750, 273, 300, 21, 31, 202, 202, 474, 980, 1380, 273, 1613, 18, 588, 1670, 1380, 5621, 202, 202, 474, 787, 273, 374, 31, 202, 202, 474, 679, 273, 980, 1380, 300, 404, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 4106, 18, 2626, 2531, 5621, 1082, 202, 474, 2172, 15592, 2355, 273, 1613, 18, 588, 15592, 2355, 12, 1369, 1769, 1082, 202, 759, 12187, 95, 4163, 11590, 787, 471, 11590, 679, 2777, 1082, 202, 430, 12, 1369, 480, 980, 1380, 2 ]
if (monitor.isCanceled()) {
if (monitor.isCanceled())
public void buildAllMarkers(IProgressMonitor monitor) { building = true; try { int markerLimit = view.getMarkerLimit(); monitor.beginTask(MarkerMessages.MarkerView_19, markerLimit == -1 ? 60 : 100); try { monitor.subTask(MarkerMessages.MarkerView_waiting_on_changes); if (monitor.isCanceled()) { return; } monitor .subTask(MarkerMessages.MarkerView_searching_for_markers); SubProgressMonitor subMonitor = new SubProgressMonitor(monitor, 10); lastMarkers = MarkerList.compute(view.getEnabledFilters(), subMonitor, true); if (monitor.isCanceled()) { return; } view.refreshMarkerCounts(monitor); } catch (CoreException e) { Util.log(e); lastMarkers = new MarkerList(); return; } if (monitor.isCanceled()) { return; } ViewerSorter sorter = view.getViewer().getSorter(); if (markerLimit == -1 || isShowingHierarchy()) { sorter.sort(view.getViewer(), lastMarkers.toArray()); } else { monitor.subTask(MarkerMessages.MarkerView_18); SubProgressMonitor mon = new SubProgressMonitor(monitor, 40); lastMarkers = SortUtil.getFirst(lastMarkers, (Comparator) sorter, markerLimit, mon); if (monitor.isCanceled()) { return; } sorter.sort(view.getViewer(), lastMarkers.toArray()); } if (lastMarkers.getSize() == 0) { categories = new MarkerCategory[0]; monitor.done(); return; } monitor.subTask(MarkerMessages.MarkerView_queueing_updates); if (isShowingHierarchy()) { categories = buildHierarchy(lastMarkers, 0, lastMarkers .getSize() - 1, 0); } if (monitor.isCanceled()) { return; } monitor.done(); } finally { building = false; } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/463fb046537cc5974ca1c2e10d796b2225e725a8/MarkerAdapter.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1361, 1595, 21644, 12, 45, 5491, 7187, 6438, 13, 288, 202, 202, 3510, 310, 273, 638, 31, 202, 202, 698, 288, 1082, 202, 474, 5373, 3039, 273, 1476, 18, 588, 7078, 3039, 5621, 1082, 202, 10259, 18, 10086, 2174, 12, 7078, 5058, 18, 7078, 1767, 67, 3657, 16, 6862, 202, 11145, 3039, 422, 300, 21, 692, 4752, 294, 2130, 1769, 1082, 202, 698, 288, 9506, 202, 10259, 18, 1717, 2174, 12, 7078, 5058, 18, 7078, 1767, 67, 20241, 67, 265, 67, 6329, 1769, 9506, 202, 430, 261, 10259, 18, 291, 23163, 10756, 288, 6862, 202, 2463, 31, 9506, 202, 97, 9506, 202, 10259, 25083, 202, 18, 1717, 2174, 12, 7078, 5058, 18, 7078, 1767, 67, 3072, 310, 67, 1884, 67, 22807, 1769, 9506, 202, 1676, 5491, 7187, 720, 7187, 273, 394, 2592, 5491, 7187, 12, 10259, 16, 25083, 202, 2163, 1769, 9506, 202, 2722, 21644, 273, 14742, 682, 18, 9200, 12, 1945, 18, 588, 1526, 5422, 9334, 25083, 202, 1717, 7187, 16, 638, 1769, 9506, 202, 430, 261, 10259, 18, 291, 23163, 10756, 288, 6862, 202, 2463, 31, 9506, 202, 97, 9506, 202, 1945, 18, 9144, 7078, 9211, 12, 10259, 1769, 1082, 202, 97, 1044, 261, 25341, 425, 13, 288, 9506, 202, 1304, 18, 1330, 12, 73, 1769, 9506, 202, 2722, 21644, 273, 394, 14742, 682, 5621, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 430, 261, 10259, 18, 291, 23163, 10756, 288, 9506, 202, 2463, 31, 1082, 202, 97, 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, 225, 202, 482, 918, 1361, 1595, 21644, 12, 45, 5491, 7187, 6438, 13, 288, 202, 202, 3510, 310, 273, 638, 31, 202, 202, 698, 288, 1082, 202, 474, 5373, 3039, 273, 1476, 18, 588, 7078, 3039, 5621, 1082, 202, 10259, 18, 10086, 2174, 12, 7078, 5058, 18, 7078, 1767, 67, 3657, 16, 6862, 202, 11145, 3039, 422, 300, 21, 692, 4752, 294, 2130, 1769, 1082, 202, 698, 288, 9506, 202, 10259, 18, 1717, 2174, 12, 7078, 5058, 18, 7078, 1767, 67, 20241, 67, 265, 67, 6329, 1769, 9506, 202, 430, 261, 10259, 18, 291, 23163, 10756, 288, 6862, 202, 2463, 31, 9506, 202, 97, 9506, 202, 10259, 25083, 202, 18, 1717, 2174, 12, 7078, 5058, 18, 7078, 1767, 67, 2 ]
public void write(byte b[], int off, int len) throws IOException {
public void write(int b) throws IOException {
public void write(byte b[], int off, int len) throws IOException { if (debug) { for (int i = 0; i < len; i++) { traceStream.write(b[off + i]); } } super.write(b, off, len); }
54275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54275/95ebd4fdd0f0543545ebf966dda42c9add3dcbbb/TraceOutputStream.java/buggy/javamail-provider-1.3/src/java/org/apache/geronimo/javamail/util/TraceOutputStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1045, 12, 474, 324, 13, 1216, 1860, 288, 3639, 309, 261, 4148, 13, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 562, 31, 277, 27245, 288, 7734, 2606, 1228, 18, 2626, 12, 70, 63, 3674, 397, 277, 19226, 5411, 289, 3639, 289, 3639, 2240, 18, 2626, 12, 70, 16, 3397, 16, 562, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1045, 12, 474, 324, 13, 1216, 1860, 288, 3639, 309, 261, 4148, 13, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 562, 31, 277, 27245, 288, 7734, 2606, 1228, 18, 2626, 12, 70, 63, 3674, 397, 277, 19226, 5411, 289, 3639, 289, 3639, 2240, 18, 2626, 12, 70, 16, 3397, 16, 562, 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 ]
Logger.normal(RealNodeRoutingTest.class, "Routed ping "+pings+" success: "+hopsTaken+" "+randomNode.portNumber+" to "+randomNode2.portNumber+" (long:"+ratio+", short:"+avg.currentValue()+", vague:"+avg2.currentValue()+")");
Logger.normal(RealNodeRoutingTest.class, "Routed ping "+pings+" success: "+hopsTaken+ ' ' +randomNode.portNumber+" to "+randomNode2.portNumber+" (long:"+ratio+", short:"+avg.currentValue()+", vague:"+avg2.currentValue()+ ')');
public static void main(String[] args) throws FSParseException, PeerParseException { PeerNode.disableProbabilisticHTLs = true; Node.MAX_HTL = 6; FileLoggerHook fh = Logger.setupStdoutLogging(Logger.NORMAL, "freenet.node.CPUAdjustingSwapRequestInterval:minor" /*"freenet.node.LocationManager:debug,freenet.node.FNPPacketManager:normal,freenet.io.comm.UdpSocketManager:debug"*/); System.out.println("Routing test using real nodes:"); System.out.println(); String wd = "realNodeRequestInsertTest"; new File(wd).mkdir(); DummyRandomSource random = new DummyRandomSource(); DiffieHellman.init(random); Node[] nodes = new Node[NUMBER_OF_NODES]; Logger.normal(RealNodeRoutingTest.class, "Creating nodes..."); for(int i=0;i<NUMBER_OF_NODES;i++) { nodes[i] = new Node(5000+i, random, null, wd+File.separator, 0, false, fh, 0); Logger.normal(RealNodeRoutingTest.class, "Created node "+i); } SimpleFieldSet refs[] = new SimpleFieldSet[NUMBER_OF_NODES]; for(int i=0;i<NUMBER_OF_NODES;i++) refs[i] = nodes[i].exportPublicFieldSet(); Logger.normal(RealNodeRoutingTest.class, "Created "+NUMBER_OF_NODES+" nodes"); // Now link them up // Connect the set for(int i=0;i<NUMBER_OF_NODES;i++) { int next = (i+1) % NUMBER_OF_NODES; int prev = (i+NUMBER_OF_NODES-1)%NUMBER_OF_NODES; nodes[i].peers.connect(refs[next]); nodes[i].peers.connect(refs[prev]); } Logger.normal(RealNodeRoutingTest.class, "Connected nodes"); // Now add some random links for(int i=0;i<NUMBER_OF_NODES*5;i++) { if(i % NUMBER_OF_NODES == 0) Logger.normal(RealNodeRoutingTest.class, ""+i); int length = (int)Math.pow(NUMBER_OF_NODES, random.nextDouble()); int nodeA = random.nextInt(NUMBER_OF_NODES); int nodeB = (nodeA+length)%NUMBER_OF_NODES; //System.out.println(""+nodeA+" -> "+nodeB); Node a = nodes[nodeA]; Node b = nodes[nodeB]; a.peers.connect(b.exportPublicFieldSet()); b.peers.connect(a.exportPublicFieldSet()); } Logger.normal(RealNodeRoutingTest.class, "Added random links"); SwapRequestInterval sri = new CPUAdjustingSwapRequestInterval(((500*1000*NUMBER_OF_NODES)/200), 50); for(int i=0;i<NUMBER_OF_NODES;i++) nodes[i].start(sri); // Now sit back and watch the fireworks! int cycleNumber = 0; int lastSwaps = 0; int lastNoSwaps = 0; int failures = 0; int successes = 0; RunningAverage avg = new SimpleRunningAverage(100, 0.0); RunningAverage avg2 = new BootstrappingDecayingRunningAverage(0.0, 0.0, 1.0, 100); int pings = 0; while(true) { cycleNumber++; try { Thread.sleep(5000); } catch (InterruptedException e) { // Ignore } for(int i=0;i<NUMBER_OF_NODES;i++) { Logger.normal(RealNodeRoutingTest.class, "Cycle "+cycleNumber+" node "+i+": "+nodes[i].lm.getLocation().getValue()); } int newSwaps = LocationManager.swaps; int totalStarted = LocationManager.startedSwaps; int noSwaps = LocationManager.noSwaps; Logger.normal(RealNodeRoutingTest.class, "Swaps: "+(newSwaps-lastSwaps)); Logger.normal(RealNodeRoutingTest.class, "\nTotal swaps: Started*2: "+totalStarted*2+", succeeded: "+newSwaps+", last minute failures: "+noSwaps+ ", ratio "+(double)noSwaps/(double)newSwaps+", early failures: "+((totalStarted*2)-(noSwaps+newSwaps))); Logger.normal(RealNodeRoutingTest.class, "This cycle ratio: "+((double)(noSwaps-lastNoSwaps)) / ((double)(newSwaps - lastSwaps))); lastNoSwaps = noSwaps; Logger.normal(RealNodeRoutingTest.class, "Swaps rejected (already locked): "+LocationManager.swapsRejectedAlreadyLocked); Logger.normal(RealNodeRoutingTest.class, "Swaps rejected (nowhere to go): "+LocationManager.swapsRejectedNowhereToGo); Logger.normal(RealNodeRoutingTest.class, "Swaps rejected (rate limit): "+LocationManager.swapsRejectedRateLimit); Logger.normal(RealNodeRoutingTest.class, "Swaps rejected (loop): "+LocationManager.swapsRejectedLoop); Logger.normal(RealNodeRoutingTest.class, "Swaps rejected (recognized ID):" +LocationManager.swapsRejectedRecognizedID); lastSwaps = newSwaps; // Do some (routed) test-pings for(int i=0;i<10;i++) { try { Thread.sleep(5000); } catch (InterruptedException e1) { } try { Node randomNode = nodes[random.nextInt(NUMBER_OF_NODES)]; Node randomNode2 = randomNode; while(randomNode2 == randomNode) randomNode2 = nodes[random.nextInt(NUMBER_OF_NODES)]; Logger.normal(RealNodeRoutingTest.class, "Pinging "+randomNode2.portNumber+" from "+randomNode.portNumber); double loc2 = randomNode2.lm.getLocation().getValue(); int hopsTaken = randomNode.routedPing(loc2); pings++; if(hopsTaken < 0) { failures++; avg.report(0.0); avg2.report(0.0); double ratio = (double)successes / ((double)(failures+successes)); Logger.normal(RealNodeRoutingTest.class, "Routed ping "+pings+" FAILED from "+randomNode.portNumber+" to "+randomNode2.portNumber+" (long:"+ratio+", short:"+avg.currentValue()+", vague:"+avg2.currentValue()+")"); } else { successes++; avg.report(1.0); avg2.report(1.0); double ratio = (double)successes / ((double)(failures+successes)); Logger.normal(RealNodeRoutingTest.class, "Routed ping "+pings+" success: "+hopsTaken+" "+randomNode.portNumber+" to "+randomNode2.portNumber+" (long:"+ratio+", short:"+avg.currentValue()+", vague:"+avg2.currentValue()+")"); } } catch (Throwable t) { Logger.error(RealNodeRoutingTest.class, "Caught "+t, t); } } } }
50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/62fd59041864b4ed1f43adc676de6bfb5ea977f3/RealNodeRoutingTest.java/buggy/src/freenet/node/RealNodeRoutingTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 9247, 13047, 16, 10669, 13047, 288, 3639, 10669, 907, 18, 8394, 9152, 22681, 5846, 5062, 48, 87, 273, 638, 31, 3639, 2029, 18, 6694, 67, 5062, 48, 273, 1666, 31, 3639, 1387, 3328, 5394, 7625, 273, 4242, 18, 8401, 27334, 7735, 12, 3328, 18, 15480, 16, 315, 74, 2842, 278, 18, 2159, 18, 15222, 10952, 310, 12521, 691, 4006, 30, 17364, 6, 1748, 6, 74, 2842, 278, 18, 2159, 18, 2735, 1318, 30, 4148, 16, 74, 2842, 278, 18, 2159, 18, 19793, 52, 6667, 1318, 30, 6130, 16, 74, 2842, 278, 18, 1594, 18, 5702, 18, 57, 9295, 4534, 1318, 30, 4148, 6, 5549, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 13966, 1842, 1450, 2863, 2199, 2773, 1769, 3639, 2332, 18, 659, 18, 8222, 5621, 3639, 514, 14452, 273, 315, 7688, 907, 691, 4600, 4709, 14432, 3639, 394, 1387, 12, 3623, 2934, 26686, 5621, 3639, 28622, 8529, 1830, 2744, 273, 394, 28622, 8529, 1830, 5621, 3639, 13008, 1385, 44, 1165, 4728, 18, 2738, 12, 9188, 1769, 3639, 2029, 8526, 2199, 273, 394, 2029, 63, 9931, 67, 3932, 67, 8744, 55, 15533, 3639, 4242, 18, 6130, 12, 6955, 907, 13966, 4709, 18, 1106, 16, 315, 11092, 2199, 7070, 1769, 3639, 364, 12, 474, 277, 33, 20, 31, 77, 32, 9931, 67, 3932, 67, 8744, 55, 31, 77, 27245, 288, 5411, 2199, 63, 77, 65, 273, 394, 2029, 12, 25, 3784, 15, 77, 16, 2744, 16, 446, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 9247, 13047, 16, 10669, 13047, 288, 3639, 10669, 907, 18, 8394, 9152, 22681, 5846, 5062, 48, 87, 273, 638, 31, 3639, 2029, 18, 6694, 67, 5062, 48, 273, 1666, 31, 3639, 1387, 3328, 5394, 7625, 273, 4242, 18, 8401, 27334, 7735, 12, 3328, 18, 15480, 16, 315, 74, 2842, 278, 18, 2159, 18, 15222, 10952, 310, 12521, 691, 4006, 30, 17364, 6, 1748, 6, 74, 2842, 278, 18, 2159, 18, 2735, 1318, 30, 4148, 16, 74, 2842, 278, 18, 2159, 18, 19793, 52, 6667, 1318, 30, 6130, 16, 74, 2842, 278, 18, 1594, 18, 5702, 18, 57, 9295, 4534, 1318, 30, 4148, 6, 5549, 1769, 3639, 2332, 18, 2 ]
p.show();
p.setVisible(true);
public void actionPerformed(ActionEvent e) { if (log.isDebugEnabled()) log.debug("Pane programmer requested"); // create the initial frame that steers final JmriJFrame f = new JmriJFrame("Ops-mode Programmer Setup"); f.getContentPane().setLayout(new BoxLayout(f.getContentPane(), BoxLayout.Y_AXIS)); // add the Roster menu JMenuBar menuBar = new JMenuBar(); // menuBar.setBorder(new BevelBorder(BevelBorder.RAISED)); menuBar.add(new jmri.jmrit.roster.RosterMenu("Roster", jmri.jmrit.roster.RosterMenu.MAINMENU, f)); f.setJMenuBar(menuBar); // known loco on main track JLabel last; JPanel pane1 = new KnownLocoSelPane(false){ // no ident in ops mode yet protected void startProgrammer(DecoderFile decoderFile, RosterEntry re, String filename) { String title = "Program "+re.getId()+" on main track"; // find the ops-mode programmer int address = Integer.parseInt(re.getDccAddress()); boolean longAddr = true; if (address<100) longAddr = false; Programmer programmer = InstanceManager.programmerManagerInstance() .getOpsModeProgrammer(longAddr, address); // and created the frame JFrame p = new PaneOpsProgFrame(decoderFile, re, title, "programmers"+File.separator+filename+".xml", programmer); p.pack(); p.show(); // f.setVisible(false); // f.dispose(); } }; // load primary frame pane1.setAlignmentX(JLabel.CENTER_ALIGNMENT); f.getContentPane().add(pane1); f.pack(); if (log.isDebugEnabled()) log.debug("Tab-Programmer setup created"); f.show(); }
2652 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2652/399be17e0adbfcb2af24f51789f50725b30c8181/PaneOpsProgAction.java/buggy/jmri/jmrit/symbolicprog/tabbedframe/PaneOpsProgAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 8485, 5402, 6592, 3764, 8863, 3639, 368, 752, 326, 2172, 2623, 716, 18654, 414, 3639, 727, 804, 81, 566, 46, 3219, 284, 273, 394, 804, 81, 566, 46, 3219, 2932, 8132, 17, 3188, 13586, 6592, 10939, 8863, 3639, 284, 18, 588, 1350, 8485, 7675, 542, 3744, 12, 2704, 8549, 3744, 12, 74, 18, 588, 1350, 8485, 9334, 8549, 3744, 18, 61, 67, 25614, 10019, 3639, 368, 527, 326, 534, 29811, 3824, 3639, 804, 4599, 5190, 3824, 5190, 273, 394, 804, 4599, 5190, 5621, 3639, 368, 3824, 5190, 18, 542, 8107, 12, 2704, 4823, 941, 8107, 12, 1919, 941, 8107, 18, 2849, 45, 18204, 10019, 3639, 3824, 5190, 18, 1289, 12, 2704, 28296, 566, 18, 78, 81, 583, 18, 303, 8190, 18, 54, 29811, 4599, 2932, 54, 29811, 3113, 28296, 566, 18, 78, 81, 583, 18, 303, 8190, 18, 54, 29811, 4599, 18, 19803, 29227, 16, 284, 10019, 3639, 284, 18, 542, 46, 4599, 5190, 12, 5414, 5190, 1769, 3639, 368, 4846, 1515, 83, 603, 2774, 3298, 3639, 21403, 1142, 31, 3639, 24048, 13618, 21, 273, 394, 30036, 1333, 83, 1877, 8485, 12, 5743, 15329, 225, 368, 1158, 3390, 316, 6727, 1965, 4671, 5411, 4750, 918, 787, 9459, 6592, 12, 7975, 812, 8320, 812, 16, 534, 29811, 1622, 283, 16, 4766, 7734, 514, 1544, 13, 288, 7734, 514, 2077, 273, 315, 9459, 13773, 266, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 8485, 5402, 6592, 3764, 8863, 3639, 368, 752, 326, 2172, 2623, 716, 18654, 414, 3639, 727, 804, 81, 566, 46, 3219, 284, 273, 394, 804, 81, 566, 46, 3219, 2932, 8132, 17, 3188, 13586, 6592, 10939, 8863, 3639, 284, 18, 588, 1350, 8485, 7675, 542, 3744, 12, 2704, 8549, 3744, 12, 74, 18, 588, 1350, 8485, 9334, 8549, 3744, 18, 61, 67, 25614, 10019, 3639, 368, 527, 326, 534, 29811, 3824, 3639, 804, 4599, 5190, 3824, 5190, 273, 394, 804, 4599, 5190, 5621, 3639, 368, 3824, 5190, 18, 542, 8107, 12, 2704, 4823, 941, 8107, 12, 2 ]
List encodings = getIDEEncodingsPreference();
List encodings = getIDEEncodingsPreference();
public static List getIDEEncodings() { List encodings = getIDEEncodingsPreference(); encodings.addAll(WorkbenchEncoding.getDefinedEncodings()); String enc = getResourceEncoding(); if (!(enc == null || encodings.contains(enc))) encodings.add(enc); Collections.sort(encodings); return encodings; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/4891f4c54ceeb1930de3a4273df47d343d58c273/IDEEncoding.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/IDEEncoding.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 987, 336, 10385, 25100, 899, 1435, 288, 202, 202, 682, 24118, 273, 225, 336, 10385, 25100, 899, 9624, 5621, 1082, 202, 1331, 369, 899, 18, 1289, 1595, 12, 2421, 22144, 4705, 18, 588, 8116, 25100, 899, 10663, 9506, 202, 780, 2446, 273, 5070, 4705, 5621, 202, 202, 430, 16051, 12, 1331, 422, 446, 747, 24118, 18, 12298, 12, 1331, 20349, 1875, 202, 1331, 369, 899, 18, 1289, 12, 1331, 1769, 9506, 202, 15150, 18, 3804, 12, 1331, 369, 899, 1769, 202, 202, 2463, 24118, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 987, 336, 10385, 25100, 899, 1435, 288, 202, 202, 682, 24118, 273, 225, 336, 10385, 25100, 899, 9624, 5621, 1082, 202, 1331, 369, 899, 18, 1289, 1595, 12, 2421, 22144, 4705, 18, 588, 8116, 25100, 899, 10663, 9506, 202, 780, 2446, 273, 5070, 4705, 5621, 202, 202, 430, 16051, 12, 1331, 422, 446, 747, 24118, 18, 12298, 12, 1331, 20349, 1875, 202, 1331, 369, 899, 18, 1289, 12, 1331, 1769, 9506, 202, 15150, 18, 3804, 12, 1331, 369, 899, 1769, 202, 202, 2463, 24118, 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 ]
return RubyFixnum.newFixnum(getRuntime(),
return getRuntime().newFixnum(
public IRubyObject cmp(IRubyObject other) { if (!(other instanceof RubyNumeric)) { return getRuntime().getNil(); } return RubyFixnum.newFixnum(getRuntime(), compareValue((RubyNumeric) other)); }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyNumeric.java/clean/src/org/jruby/RubyNumeric.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 9411, 12, 7937, 10340, 921, 1308, 13, 288, 377, 202, 430, 16051, 12, 3011, 1276, 19817, 9902, 3719, 288, 377, 202, 202, 2463, 18814, 7675, 588, 12616, 5621, 377, 202, 97, 377, 202, 3639, 327, 18814, 7675, 2704, 8585, 2107, 12, 1850, 202, 202, 9877, 620, 12443, 54, 10340, 9902, 13, 1308, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 9411, 12, 7937, 10340, 921, 1308, 13, 288, 377, 202, 430, 16051, 12, 3011, 1276, 19817, 9902, 3719, 288, 377, 202, 202, 2463, 18814, 7675, 588, 12616, 5621, 377, 202, 97, 377, 202, 3639, 327, 18814, 7675, 2704, 8585, 2107, 12, 1850, 202, 202, 9877, 620, 12443, 54, 10340, 9902, 13, 1308, 10019, 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 ]
return R.toString();
return s;
private Object js_unescape(Context cx, Object[] args) { String s = ScriptRuntime.toString(args, 0); StringBuffer R = new StringBuffer(); stringIter: for (int k = 0; k < s.length(); k++) { char c = s.charAt(k); if (c != '%' || k == s.length() -1) { R.append(c); continue; } String hex; int end, start; if (s.charAt(k+1) == 'u') { start = k+2; end = k+6; } else { start = k+1; end = k+3; } if (end > s.length()) { R.append('%'); continue; } hex = s.substring(start, end); for (int i = 0; i < hex.length(); i++) if (!TokenStream.isXDigit(hex.charAt(i))) { R.append('%'); continue stringIter; } k = end - 1; R.append((new Character((char) Integer.valueOf(hex, 16).intValue()))); } return R.toString(); }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/8214f675cafcc8a0efa75a02977cc2ee98539d71/NativeGlobal.java/buggy/js/rhino/src/org/mozilla/javascript/NativeGlobal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 3828, 67, 318, 6939, 12, 1042, 9494, 16, 1033, 8526, 833, 13, 565, 288, 3639, 514, 272, 273, 7739, 5576, 18, 10492, 12, 1968, 16, 374, 1769, 3639, 6674, 534, 273, 394, 6674, 5621, 3639, 533, 2360, 30, 364, 261, 474, 417, 273, 374, 31, 417, 411, 272, 18, 2469, 5621, 417, 27245, 288, 5411, 1149, 276, 273, 272, 18, 3001, 861, 12, 79, 1769, 5411, 309, 261, 71, 480, 9089, 747, 417, 422, 272, 18, 2469, 1435, 300, 21, 13, 288, 7734, 534, 18, 6923, 12, 71, 1769, 7734, 1324, 31, 5411, 289, 5411, 514, 3827, 31, 5411, 509, 679, 16, 787, 31, 5411, 309, 261, 87, 18, 3001, 861, 12, 79, 15, 21, 13, 422, 296, 89, 6134, 288, 7734, 787, 273, 417, 15, 22, 31, 7734, 679, 273, 417, 15, 26, 31, 5411, 289, 469, 288, 7734, 787, 273, 417, 15, 21, 31, 7734, 679, 273, 417, 15, 23, 31, 5411, 289, 5411, 309, 261, 409, 405, 272, 18, 2469, 10756, 288, 7734, 534, 18, 6923, 29909, 8284, 7734, 1324, 31, 5411, 289, 5411, 3827, 273, 272, 18, 28023, 12, 1937, 16, 679, 1769, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3827, 18, 2469, 5621, 277, 27245, 7734, 309, 16051, 1345, 1228, 18, 291, 60, 10907, 12, 7118, 18, 3001, 861, 12, 77, 20349, 288, 10792, 534, 18, 6923, 29909, 8284, 10792, 1324, 533, 2360, 31, 7734, 289, 5411, 417, 273, 679, 300, 404, 31, 5411, 534, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 3828, 67, 318, 6939, 12, 1042, 9494, 16, 1033, 8526, 833, 13, 565, 288, 3639, 514, 272, 273, 7739, 5576, 18, 10492, 12, 1968, 16, 374, 1769, 3639, 6674, 534, 273, 394, 6674, 5621, 3639, 533, 2360, 30, 364, 261, 474, 417, 273, 374, 31, 417, 411, 272, 18, 2469, 5621, 417, 27245, 288, 5411, 1149, 276, 273, 272, 18, 3001, 861, 12, 79, 1769, 5411, 309, 261, 71, 480, 9089, 747, 417, 422, 272, 18, 2469, 1435, 300, 21, 13, 288, 7734, 534, 18, 6923, 12, 71, 1769, 7734, 1324, 31, 5411, 289, 5411, 514, 3827, 31, 5411, 509, 679, 16, 787, 31, 5411, 309, 261, 87, 18, 3001, 861, 12, 79, 15, 21, 13, 2 ]
public Convertor (boolean useCmlIdentifiers, boolean setNamespaceUri, boolean schemaInstanceOutput, String instanceLocation, String prefix) { logger = new LoggingTool(this); try { isotopeFactory = IsotopeFactory.getInstance(); } catch (Exception exception) { logger.error("Failed to initiate isotope factory: ", exception.getMessage()); logger.debug(exception); } this.useCmlIdentifiers = useCmlIdentifiers; this.setNamespaceUri = setNamespaceUri; this.schemaInstanceOutput = schemaInstanceOutput; this.instanceLocation = instanceLocation; this.prefix = prefix;
public Convertor() { this(true, false, false, "", "");
public Convertor (boolean useCmlIdentifiers, boolean setNamespaceUri, boolean schemaInstanceOutput, String instanceLocation, String prefix) { logger = new LoggingTool(this); try { isotopeFactory = IsotopeFactory.getInstance(); } catch (Exception exception) { logger.error("Failed to initiate isotope factory: ", exception.getMessage()); logger.debug(exception); } this.useCmlIdentifiers = useCmlIdentifiers; this.setNamespaceUri = setNamespaceUri; this.schemaInstanceOutput = schemaInstanceOutput; this.instanceLocation = instanceLocation; this.prefix = prefix; }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/0e8683953bbba735847e55507974fed0326c5fc1/Convertor.java/buggy/src/org/openscience/cdk/libio/cml/Convertor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4037, 280, 261, 6494, 999, 39, 781, 12745, 16, 1250, 27372, 3006, 16, 1250, 1963, 1442, 1447, 16, 514, 791, 2735, 16, 514, 1633, 13, 288, 3639, 1194, 273, 394, 10253, 6364, 12, 2211, 1769, 3639, 775, 288, 5411, 27835, 1733, 273, 2585, 18946, 1733, 18, 588, 1442, 5621, 3639, 289, 1044, 261, 503, 1520, 13, 288, 5411, 1194, 18, 1636, 2932, 2925, 358, 18711, 27835, 3272, 30, 3104, 1520, 18, 24906, 10663, 5411, 1194, 18, 4148, 12, 4064, 1769, 3639, 289, 3639, 333, 18, 1202, 39, 781, 12745, 273, 999, 39, 781, 12745, 31, 3639, 333, 18, 542, 3402, 3006, 273, 27372, 3006, 31, 3639, 333, 18, 4821, 1442, 1447, 273, 1963, 1442, 1447, 31, 3639, 333, 18, 1336, 2735, 273, 791, 2735, 31, 3639, 333, 18, 3239, 273, 1633, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4037, 280, 261, 6494, 999, 39, 781, 12745, 16, 1250, 27372, 3006, 16, 1250, 1963, 1442, 1447, 16, 514, 791, 2735, 16, 514, 1633, 13, 288, 3639, 1194, 273, 394, 10253, 6364, 12, 2211, 1769, 3639, 775, 288, 5411, 27835, 1733, 273, 2585, 18946, 1733, 18, 588, 1442, 5621, 3639, 289, 1044, 261, 503, 1520, 13, 288, 5411, 1194, 18, 1636, 2932, 2925, 358, 18711, 27835, 3272, 30, 3104, 1520, 18, 24906, 10663, 5411, 1194, 18, 4148, 12, 4064, 1769, 3639, 289, 3639, 333, 18, 1202, 39, 781, 12745, 273, 999, 39, 781, 12745, 31, 3639, 333, 18, 542, 3402, 3006, 273, 27372, 3006, 31, 3639, 333, 18, 4821, 1442, 1447, 273, 1963, 1442, 1447, 31, 3639, 2 ]
methodMetaDataList.remove(methodMetaData);
; } else { methodMetaDataListFiltered.add(methodMetaData);
private void addIntroductions(final Context context, final ClassGen cg, final ConstantPoolGen cpg, final InstructionFactory factory) { for (Iterator it = m_definition.getIntroductionNames(cg.getClassName()).iterator(); it.hasNext();) { String introductionName = (String)it.next(); String introductionImplName = m_definition.getIntroductionImplName(introductionName); if (introductionImplName == null) { continue; } int introductionIndex = 0; List methodMetaDataList = Collections.synchronizedList(new ArrayList()); try { introductionIndex = m_definition.getIntroductionIndex(introductionName);// methodMetaDataList = m_definition.getIntroductionMethodsMetaData(introductionName); // get the method meta-data for the class boolean match = false; Map metaDataRepository = context.getMetaDataRepository(); for (Iterator it2 = metaDataRepository.values().iterator(); it2.hasNext();) { if (match) break; Set metaDataSet = (Set)it2.next(); for (Iterator it3 = metaDataSet.iterator(); it3.hasNext();) { ClassMetaData classMetaData = (ClassMetaData)it3.next(); if (classMetaData.getName().equals(introductionImplName)) { methodMetaDataList = (List)SerializationUtils. clone((java.io.Serializable)classMetaData.getMethods()); match = true; break; } } } if (methodMetaDataList == null) { throw new RuntimeException("no meta-data for introduction " + introductionImplName + " could be found in repository"); } } catch (Exception e) { throw new DefinitionException("trying to weave introduction with null or empty string as name to class " + cg.getClassName() + ": definition file is not consistent"); } if (methodMetaDataList == null) { continue; // interface introduction } for (Iterator it2 = methodMetaDataList.iterator(); it2.hasNext();) { MethodMetaData methodMetaData = (MethodMetaData)it2.next(); // remove the ___AW_getUuid, ___AW_getMetaData, ___AW_addMetaData and class$ methods // as well as the added proxy methods before sorting the method list if ( methodMetaData.getName().equals("equals") || methodMetaData.getName().equals("hashCode") || methodMetaData.getName().equals("getClass") || methodMetaData.getName().equals("toString") || methodMetaData.getName().equals("wait") || methodMetaData.getName().equals("notify") || methodMetaData.getName().equals("notifyAll") || methodMetaData.getName().equals( TransformationUtil.GET_UUID_METHOD) || methodMetaData.getName().equals( TransformationUtil.GET_UUID_METHOD) || methodMetaData.getName().equals( TransformationUtil.GET_META_DATA_METHOD) || methodMetaData.getName().equals( TransformationUtil.SET_META_DATA_METHOD) || methodMetaData.getName().equals( TransformationUtil.CLASS_LOOKUP_METHOD) || methodMetaData.getName().startsWith( TransformationUtil.ORIGINAL_METHOD_PREFIX)) { methodMetaDataList.remove(methodMetaData); } } // sort the list so that we can enshure that the indexes are in synch // see AbstractIntroductionContainerStrategy#AbstractIntroductionContainerStrategy Collections.sort(methodMetaDataList, MethodComparator. getInstance(MethodComparator.METHOD_META_DATA)); int methodIndex = -1; // start with -1 since the method array is 0 indexed for (Iterator it2 = methodMetaDataList.iterator(); it2.hasNext();) { MethodMetaData methodMetaData = (MethodMetaData)it2.next(); if (methodMetaData.getReturnType() == null) { continue; // constructor => skip } methodIndex++; createProxyMethod( cg, cpg, factory, methodMetaData, introductionIndex, methodIndex, m_definition.getUuid()); } } }
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/e83a4e719e058c5f1aa8f46fbdafe6da9d7124e6/AddImplementationTransformer.java/clean/aspectwerkz/src/main/org/codehaus/aspectwerkz/transform/AddImplementationTransformer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 527, 1702, 303, 2544, 349, 87, 12, 6385, 1772, 819, 16, 21394, 727, 1659, 7642, 14947, 16, 21394, 727, 10551, 2864, 7642, 3283, 75, 16, 21394, 727, 24605, 1733, 3272, 13, 288, 3639, 364, 261, 3198, 518, 273, 312, 67, 6907, 18, 588, 1702, 303, 2544, 349, 1557, 12, 26275, 18, 588, 3834, 1435, 2934, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 5411, 514, 16658, 349, 461, 273, 261, 780, 13, 305, 18, 4285, 5621, 5411, 514, 16658, 349, 2828, 461, 273, 312, 67, 6907, 18, 588, 1702, 303, 2544, 349, 2828, 461, 12, 23342, 2544, 349, 461, 1769, 5411, 309, 261, 23342, 2544, 349, 2828, 461, 422, 446, 13, 288, 7734, 1324, 31, 5411, 289, 5411, 509, 16658, 349, 1016, 273, 374, 31, 5411, 987, 707, 6998, 682, 273, 5737, 18, 22043, 682, 12, 2704, 2407, 10663, 5411, 775, 288, 7734, 16658, 349, 1016, 273, 312, 67, 6907, 18, 588, 1702, 303, 2544, 349, 1016, 12, 23342, 2544, 349, 461, 1769, 759, 7734, 707, 6998, 682, 273, 312, 67, 6907, 18, 588, 1702, 303, 2544, 349, 4712, 6998, 12, 23342, 2544, 349, 461, 1769, 7734, 368, 336, 326, 707, 2191, 17, 892, 364, 326, 667, 7734, 1250, 845, 273, 629, 31, 7734, 1635, 11651, 3305, 273, 819, 18, 588, 6998, 3305, 5621, 7734, 364, 261, 3198, 518, 22, 273, 11651, 3305, 18, 2372, 7675, 9838, 5621, 518, 22, 18, 5332, 2134, 5621, 13, 288, 10792, 309, 261, 1916, 13, 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, 3238, 918, 527, 1702, 303, 2544, 349, 87, 12, 6385, 1772, 819, 16, 21394, 727, 1659, 7642, 14947, 16, 21394, 727, 10551, 2864, 7642, 3283, 75, 16, 21394, 727, 24605, 1733, 3272, 13, 288, 3639, 364, 261, 3198, 518, 273, 312, 67, 6907, 18, 588, 1702, 303, 2544, 349, 1557, 12, 26275, 18, 588, 3834, 1435, 2934, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 5411, 514, 16658, 349, 461, 273, 261, 780, 13, 305, 18, 4285, 5621, 5411, 514, 16658, 349, 2828, 461, 273, 312, 67, 6907, 18, 588, 1702, 303, 2544, 349, 2828, 461, 12, 23342, 2544, 349, 461, 1769, 5411, 309, 261, 23342, 2544, 349, 2828, 461, 422, 446, 13, 288, 7734, 1324, 31, 2 ]
updateParentState(resource);
updateParentState(element, state);
public void run() { IResource resource = (IResource) event.getElement(); boolean state = event.getChecked(); tree.setGrayed(resource, false); if (resource instanceof IContainer) { setSubtreeChecked((IContainer) resource, state, true); } updateParentState(resource); validateInput(); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/ead46b18a7f254959c1428306b90fb9479690b28/CElementWorkingSetPage.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/workingsets/CElementWorkingSetPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 1435, 288, 9506, 202, 45, 1420, 1058, 273, 261, 45, 1420, 13, 871, 18, 21336, 5621, 9506, 202, 6494, 919, 273, 871, 18, 588, 11454, 5621, 6862, 9506, 202, 3413, 18, 542, 23521, 329, 12, 3146, 16, 629, 1769, 9506, 202, 430, 261, 3146, 1276, 467, 2170, 13, 288, 6862, 202, 542, 18615, 11454, 12443, 45, 2170, 13, 1058, 16, 919, 16, 638, 1769, 9506, 202, 97, 9506, 202, 2725, 3054, 1119, 12, 3146, 1769, 9506, 202, 5662, 1210, 5621, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 1435, 288, 9506, 202, 45, 1420, 1058, 273, 261, 45, 1420, 13, 871, 18, 21336, 5621, 9506, 202, 6494, 919, 273, 871, 18, 588, 11454, 5621, 6862, 9506, 202, 3413, 18, 542, 23521, 329, 12, 3146, 16, 629, 1769, 9506, 202, 430, 261, 3146, 1276, 467, 2170, 13, 288, 6862, 202, 542, 18615, 11454, 12443, 45, 2170, 13, 1058, 16, 919, 16, 638, 1769, 9506, 202, 97, 9506, 202, 2725, 3054, 1119, 12, 3146, 1769, 9506, 202, 5662, 1210, 5621, 1082, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Log.log(Log.TRACE, MODULE, "preloadThumbnailFilenameFirst " + filename);
Log.log(Log.LEVEL_TRACE, MODULE, "preloadThumbnailFilenameFirst " + filename);
public void preloadThumbnailFilenameFirst( String filename ) { Log.log(Log.TRACE, MODULE, "preloadThumbnailFilenameFirst " + filename); if (!thumbnails.containsKey(filename)) { toLoad.push( filename ); rerun(); } }
5431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5431/1faa1edcd69ba6f773ebcc5a8a21f029bd9e2263/ThumbnailCache.java/buggy/gallery_remote/com/gallery/GalleryRemote/ThumbnailCache.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 20941, 16270, 5359, 3759, 12, 514, 1544, 262, 288, 202, 202, 1343, 18, 1330, 12, 1343, 18, 23827, 16, 14057, 16, 315, 1484, 945, 16270, 5359, 3759, 315, 397, 1544, 1769, 202, 202, 430, 16051, 14904, 87, 18, 12298, 653, 12, 3459, 3719, 288, 1082, 202, 869, 2563, 18, 6206, 12, 1544, 11272, 1082, 202, 30954, 5621, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 20941, 16270, 5359, 3759, 12, 514, 1544, 262, 288, 202, 202, 1343, 18, 1330, 12, 1343, 18, 23827, 16, 14057, 16, 315, 1484, 945, 16270, 5359, 3759, 315, 397, 1544, 1769, 202, 202, 430, 16051, 14904, 87, 18, 12298, 653, 12, 3459, 3719, 288, 1082, 202, 869, 2563, 18, 6206, 12, 1544, 11272, 1082, 202, 30954, 5621, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
final String text = jdp.getJavaDoc();
final String text = provider.getJavaDoc();
public void run() { ApplicationManager.getApplication().runReadAction(new Runnable() { public void run() { final String text = jdp.getJavaDoc(); SwingUtilities.invokeLater(new Runnable() { public void run() { if (text == null) { component.setText("No documentation found.", true); } else if (text.length() == 0) { component.setText(component.getText(), true); } else { component.setData(jdp.getElement(), text); } } }); } }); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/d5a04104a970b332d31d6272573989f51a944d64/JavaDocManager.java/clean/source/com/intellij/codeInsight/javadoc/JavaDocManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 1086, 1435, 288, 3639, 4257, 1318, 18, 588, 3208, 7675, 2681, 1994, 1803, 12, 2704, 10254, 1435, 288, 1850, 1071, 918, 1086, 1435, 288, 5411, 727, 514, 977, 273, 2893, 18, 588, 5852, 1759, 5621, 5411, 26145, 11864, 18, 14407, 20607, 12, 2704, 10254, 1435, 288, 2868, 1071, 918, 1086, 1435, 288, 7734, 309, 261, 955, 422, 446, 13, 288, 5375, 1794, 18, 542, 1528, 2932, 2279, 7323, 1392, 1199, 16, 638, 1769, 7734, 289, 7734, 469, 309, 261, 955, 18, 2469, 1435, 422, 374, 13, 288, 5375, 1794, 18, 542, 1528, 12, 4652, 18, 588, 1528, 9334, 638, 1769, 7734, 289, 7734, 469, 288, 5375, 1794, 18, 542, 751, 12, 78, 9295, 18, 21336, 9334, 977, 1769, 7734, 289, 2868, 289, 5411, 15549, 1850, 289, 3639, 15549, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 1086, 1435, 288, 3639, 4257, 1318, 18, 588, 3208, 7675, 2681, 1994, 1803, 12, 2704, 10254, 1435, 288, 1850, 1071, 918, 1086, 1435, 288, 5411, 727, 514, 977, 273, 2893, 18, 588, 5852, 1759, 5621, 5411, 26145, 11864, 18, 14407, 20607, 12, 2704, 10254, 1435, 288, 2868, 1071, 918, 1086, 1435, 288, 7734, 309, 261, 955, 422, 446, 13, 288, 5375, 1794, 18, 542, 1528, 2932, 2279, 7323, 1392, 1199, 16, 638, 1769, 7734, 289, 7734, 469, 309, 261, 955, 18, 2469, 1435, 422, 374, 13, 288, 5375, 1794, 18, 542, 1528, 12, 4652, 18, 588, 1528, 9334, 638, 1769, 7734, 289, 7734, 469, 288, 5375, 1794, 18, 542, 751, 12, 78, 9295, 18, 21336, 9334, 2 ]
public void resumeAll(SchedulingContext ctxt) throws JobPersistenceException;
void resumeAll(SchedulingContext ctxt) throws JobPersistenceException;
public void resumeAll(SchedulingContext ctxt) throws JobPersistenceException;
55677 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55677/cf7f5f77ce5bb6364145230d302b86f1cdadea88/JobStore.java/clean/src/java/org/quartz/spi/JobStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 10774, 1595, 12, 25401, 1042, 14286, 13, 5411, 1216, 3956, 13182, 503, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 10774, 1595, 12, 25401, 1042, 14286, 13, 5411, 1216, 3956, 13182, 503, 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 ]
return cms.hasPermissions(res, C_READ_ACCESS);
return cms.hasPermissions(res, CmsPermissionSet.ACCESS_READ);
private boolean isReadable(CmsObject cms, String resPath) throws CmsException { CmsResource res = cms.readResource(resPath, CmsResourceFilter.IGNORE_EXPIRATION); return cms.hasPermissions(res, C_READ_ACCESS); }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/f0e3cb28447c785c94d99b78261405c3fa88b2da/CmsAdminSyncProperties.java/clean/src/com/opencms/workplace/CmsAdminSyncProperties.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 31255, 12, 4747, 921, 6166, 16, 514, 400, 743, 13, 225, 1216, 11228, 288, 3639, 7630, 400, 273, 6166, 18, 896, 1420, 12, 455, 743, 16, 21082, 18, 20118, 67, 18433, 24284, 1769, 3639, 327, 6166, 18, 5332, 6521, 12, 455, 16, 2149, 5041, 694, 18, 13204, 67, 6949, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 3238, 1250, 31255, 12, 4747, 921, 6166, 16, 514, 400, 743, 13, 225, 1216, 11228, 288, 3639, 7630, 400, 273, 6166, 18, 896, 1420, 12, 455, 743, 16, 21082, 18, 20118, 67, 18433, 24284, 1769, 3639, 327, 6166, 18, 5332, 6521, 12, 455, 16, 2149, 5041, 694, 18, 13204, 67, 6949, 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 ]
for(Object aExceptionsThrown : exceptionsThrown){ final PsiType typeThrown = (PsiType) aExceptionsThrown;
if(exceptionsThrown.contains(typeCaught)){ continue; } for(PsiType typeThrown : exceptionsThrown){
public void visitTryStatement(@NotNull PsiTryStatement statement){ super.visitTryStatement(statement); final PsiCodeBlock tryBlock = statement.getTryBlock(); if(tryBlock == null){ return; } final Set<PsiType> exceptionsThrown = ExceptionUtils.calculateExceptionsThrown(tryBlock); final int numExceptionsThrown = exceptionsThrown.size(); final Set<PsiType> exceptionsCaught = new HashSet<PsiType>(numExceptionsThrown); final PsiParameter[] parameters = statement.getCatchBlockParameters(); for(final PsiParameter parameter : parameters){ final PsiType typeCaught = parameter.getType(); for(Object aExceptionsThrown : exceptionsThrown){ final PsiType typeThrown = (PsiType) aExceptionsThrown; if(exceptionsCaught.contains(typeThrown)){ // don't do anything } else if(typeCaught.equals(typeThrown)){ exceptionsCaught.add(typeCaught); } else if(typeCaught.isAssignableFrom(typeThrown)){ exceptionsCaught.add(typeCaught); final PsiTypeElement typeElement = parameter.getTypeElement(); registerError(typeElement); return; } } } }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/b12576899e3baa3c1964bf890c307328cc29d90c/TooBroadCatchInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/errorhandling/TooBroadCatchInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3757, 7833, 3406, 26964, 5962, 453, 7722, 7833, 3406, 3021, 15329, 5411, 2240, 18, 11658, 7833, 3406, 12, 11516, 1769, 5411, 727, 453, 7722, 1085, 1768, 775, 1768, 273, 3021, 18, 588, 7833, 1768, 5621, 5411, 309, 12, 698, 1768, 422, 446, 15329, 7734, 327, 31, 5411, 289, 5411, 727, 1000, 32, 52, 7722, 559, 34, 4798, 29591, 273, 1185, 1989, 18, 11162, 11416, 29591, 12, 698, 1768, 1769, 5411, 727, 509, 818, 11416, 29591, 273, 4798, 29591, 18, 1467, 5621, 5411, 727, 1000, 32, 52, 7722, 559, 34, 4798, 24512, 273, 394, 6847, 32, 52, 7722, 559, 34, 12, 2107, 11416, 29591, 1769, 5411, 727, 453, 7722, 1662, 8526, 1472, 273, 3021, 18, 588, 14842, 1768, 2402, 5621, 5411, 364, 12, 6385, 453, 7722, 1662, 1569, 294, 1472, 15329, 7734, 727, 453, 7722, 559, 618, 24512, 273, 1569, 18, 588, 559, 5621, 7734, 364, 12, 921, 279, 11416, 29591, 294, 4798, 29591, 15329, 10792, 727, 453, 7722, 559, 618, 29591, 273, 261, 52, 7722, 559, 13, 279, 11416, 29591, 31, 10792, 309, 12, 11855, 24512, 18, 12298, 12, 723, 29591, 3719, 95, 13491, 368, 2727, 1404, 741, 6967, 10792, 289, 469, 309, 12, 723, 24512, 18, 14963, 12, 723, 29591, 3719, 95, 13491, 4798, 24512, 18, 1289, 12, 723, 24512, 1769, 10792, 289, 469, 309, 12, 723, 24512, 18, 291, 7961, 1265, 12, 723, 29591, 3719, 95, 13491, 4798, 24512, 18, 1289, 12, 723, 24512, 1769, 13491, 727, 453, 7722, 559, 1046, 27436, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3757, 7833, 3406, 26964, 5962, 453, 7722, 7833, 3406, 3021, 15329, 5411, 2240, 18, 11658, 7833, 3406, 12, 11516, 1769, 5411, 727, 453, 7722, 1085, 1768, 775, 1768, 273, 3021, 18, 588, 7833, 1768, 5621, 5411, 309, 12, 698, 1768, 422, 446, 15329, 7734, 327, 31, 5411, 289, 5411, 727, 1000, 32, 52, 7722, 559, 34, 4798, 29591, 273, 1185, 1989, 18, 11162, 11416, 29591, 12, 698, 1768, 1769, 5411, 727, 509, 818, 11416, 29591, 273, 4798, 29591, 18, 1467, 5621, 5411, 727, 1000, 32, 52, 7722, 559, 34, 4798, 24512, 273, 394, 6847, 32, 52, 7722, 559, 34, 12, 2107, 11416, 29591, 1769, 5411, 727, 453, 7722, 1662, 8526, 1472, 273, 3021, 18, 588, 14842, 2 ]
AssertMo.assertIncludes( "contains expected description", "returns a default value", stub.describeTo(new StringBuffer()).toString() );
AssertMo.assertIncludes("contains expected description", "returns a default value", stub.describeTo(new StringBuffer()).toString());
public void testWritesDescritionToStringBuffer() { AssertMo.assertIncludes( "contains expected description", "returns a default value", stub.describeTo(new StringBuffer()).toString() ); }
57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/4aaf60d8fa76687c3492c508dd98678fbbd3d935/DefaultResultStubTest.java/clean/jmock/core/src/test/jmock/core/stub/DefaultResultStubTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 8368, 4217, 583, 285, 5808, 1892, 1435, 288, 202, 202, 8213, 16727, 18, 11231, 16815, 12, 315, 12298, 2665, 2477, 3113, 1875, 202, 6, 6154, 279, 805, 460, 3113, 2398, 7168, 18, 22748, 774, 12, 2704, 6674, 1435, 2934, 10492, 1435, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 8368, 4217, 583, 285, 5808, 1892, 1435, 288, 202, 202, 8213, 16727, 18, 11231, 16815, 12, 315, 12298, 2665, 2477, 3113, 1875, 202, 6, 6154, 279, 805, 460, 3113, 2398, 7168, 18, 22748, 774, 12, 2704, 6674, 1435, 2934, 10492, 1435, 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 ]
StringTokenizer tokens = new StringTokenizer(module); while(tokens.hasMoreTokens()) { String moduleName = tokens.nextToken();
Set<String> moduleNames = new TreeSet(Collections.list(new StringTokenizer(module))); File[] subdirs = workspace.getLocal().listFiles(); if (subdirs != null) { for (File s : subdirs) { if (new File(s, "CVS").isDirectory()) { moduleNames.add(s.getName()); } } } for (String moduleName : moduleNames) {
public List<String> update(boolean dryRun, Launcher launcher, FilePath workspace, TaskListener listener) throws IOException { List<String> changedFileNames = new ArrayList<String>(); // file names relative to the workspace ArgumentListBuilder cmd = new ArgumentListBuilder(); cmd.add("cvs","-q","-z9"); if(dryRun) cmd.add("-n"); cmd.add("update","-PdC"); if(flatten) { ByteArrayOutputStream baos = new ByteArrayOutputStream(); if(!run(launcher,cmd,listener,workspace, new ForkOutputStream(baos,listener.getLogger()))) return null; parseUpdateOutput("",baos, changedFileNames); } else { StringTokenizer tokens = new StringTokenizer(module); while(tokens.hasMoreTokens()) { String moduleName = tokens.nextToken(); // capture the output during update ByteArrayOutputStream baos = new ByteArrayOutputStream(); if(!run(launcher,cmd,listener, new FilePath(workspace, moduleName), new ForkOutputStream(baos,listener.getLogger()))) return null; // we'll run one "cvs log" command with workspace as the base, // so use path names that are relative to moduleName. parseUpdateOutput(moduleName+'/',baos, changedFileNames); } } return changedFileNames; }
56266 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56266/ea4628ba920d10da006f5dc946fc71a2716c497c/CVSSCM.java/buggy/hudson/main/core/src/main/java/hudson/scm/CVSSCM.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 32, 780, 34, 1089, 12, 6494, 26147, 16, 14643, 264, 26618, 16, 24564, 6003, 16, 3837, 2223, 2991, 13, 1216, 1860, 288, 3639, 987, 32, 780, 34, 3550, 812, 1557, 273, 394, 2407, 32, 780, 34, 5621, 565, 368, 585, 1257, 3632, 358, 326, 6003, 3639, 5067, 682, 1263, 1797, 273, 394, 5067, 682, 1263, 5621, 3639, 1797, 18, 1289, 2932, 71, 6904, 15937, 17, 85, 15937, 17, 94, 29, 8863, 3639, 309, 12, 72, 15721, 13, 5411, 1797, 18, 1289, 2932, 17, 82, 8863, 3639, 1797, 18, 1289, 2932, 2725, 15937, 17, 52, 72, 39, 8863, 3639, 309, 12, 16940, 13, 288, 5411, 11559, 17548, 273, 394, 11559, 5621, 5411, 309, 12, 5, 2681, 12, 20738, 264, 16, 4172, 16, 12757, 16, 14915, 16, 7734, 394, 27599, 4632, 12, 12124, 538, 16, 12757, 18, 588, 3328, 1435, 20349, 7734, 327, 446, 31, 5411, 1109, 1891, 1447, 2932, 3113, 12124, 538, 16, 3550, 812, 1557, 1769, 3639, 289, 469, 288, 5411, 16370, 2430, 273, 394, 16370, 12, 2978, 1769, 5411, 1323, 12, 7860, 18, 5332, 7417, 5157, 10756, 288, 7734, 514, 9780, 273, 2430, 18, 4285, 1345, 5621, 7734, 368, 7477, 326, 876, 4982, 1089, 7734, 11559, 17548, 273, 394, 11559, 5621, 7734, 309, 12, 5, 2681, 12, 20738, 264, 16, 4172, 16, 12757, 16, 10792, 394, 24564, 12, 14915, 16, 9780, 3631, 10792, 394, 27599, 4632, 12, 12124, 538, 16, 12757, 18, 588, 3328, 1435, 20349, 10792, 327, 446, 31, 7734, 368, 732, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 32, 780, 34, 1089, 12, 6494, 26147, 16, 14643, 264, 26618, 16, 24564, 6003, 16, 3837, 2223, 2991, 13, 1216, 1860, 288, 3639, 987, 32, 780, 34, 3550, 812, 1557, 273, 394, 2407, 32, 780, 34, 5621, 565, 368, 585, 1257, 3632, 358, 326, 6003, 3639, 5067, 682, 1263, 1797, 273, 394, 5067, 682, 1263, 5621, 3639, 1797, 18, 1289, 2932, 71, 6904, 15937, 17, 85, 15937, 17, 94, 29, 8863, 3639, 309, 12, 72, 15721, 13, 5411, 1797, 18, 1289, 2932, 17, 82, 8863, 3639, 1797, 18, 1289, 2932, 2725, 15937, 17, 52, 72, 39, 8863, 3639, 309, 12, 16940, 13, 288, 5411, 11559, 17548, 273, 394, 11559, 5621, 5411, 309, 12, 5, 2681, 12, 2 ]
if(Logger.shouldLog(Logger.DEBUG, this)) Logger.debug(this, "Decrypting with "+HexUtil.bytesToHex(tracker.sessionKey));
Logger.minor(this, "Decrypting with "+HexUtil.bytesToHex(tracker.sessionKey));
private boolean tryProcess(byte[] buf, int offset, int length, KeyTracker tracker) { // Need to be able to call with tracker == null to simplify code above if(tracker == null) { Logger.minor(this, "Tracker == null"); return false; } Logger.minor(this,"Entering tryProcess: "+buf+","+offset+","+length+","+tracker); /** * E_pcbc_session(H(seq+random+data)) E_pcfb_session(seq+random+data) * * So first two blocks are the hash, PCBC encoded (meaning the * first one is ECB, and the second one is ECB XORed with the * ciphertext and plaintext of the first block). */ BlockCipher sessionCipher = tracker.sessionCipher; if(sessionCipher == null) { Logger.minor(this, "No cipher"); return false; } if(Logger.shouldLog(Logger.DEBUG, this)) Logger.debug(this, "Decrypting with "+HexUtil.bytesToHex(tracker.sessionKey)); int blockSize = sessionCipher.getBlockSize() >> 3; if(sessionCipher.getKeySize() != sessionCipher.getBlockSize()) throw new IllegalStateException("Block size must be equal to key size"); if(HASH_LENGTH != blockSize) throw new IllegalStateException("Block size must be digest length!"); byte[] packetHash = new byte[HASH_LENGTH]; System.arraycopy(buf, offset, packetHash, 0, HASH_LENGTH); // Decrypt the sequence number and see if it's plausible // Verify the hash later PCFBMode pcfb; pcfb = new PCFBMode(sessionCipher); // Set IV to the hash, after it is encrypted pcfb.reset(packetHash); //Logger.minor(this,"IV:\n"+HexUtil.bytesToHex(packetHash)); byte[] seqBuf = new byte[4]; System.arraycopy(buf, offset+HASH_LENGTH, seqBuf, 0, 4); //Logger.minor(this, "Encypted sequence number: "+HexUtil.bytesToHex(seqBuf)); pcfb.blockDecipher(seqBuf, 0, 4); //Logger.minor(this, "Decrypted sequence number: "+HexUtil.bytesToHex(seqBuf)); int seqNumber = ((((((seqBuf[0] & 0xff) << 8) + (seqBuf[1] & 0xff)) << 8) + (seqBuf[2] & 0xff)) << 8) + (seqBuf[3] & 0xff); int targetSeqNumber = tracker.highestReceivedIncomingSeqNumber(); Logger.minor(this, "Target seq: "+targetSeqNumber); Logger.minor(this, "Sequence number: "+seqNumber+"="+Integer.toHexString(seqNumber)); if(seqNumber == -1) { // Ack/resendreq-only packet } else { // Now is it credible? // As long as it's within +/- 256, this is valid. if(targetSeqNumber != -1 && Math.abs(targetSeqNumber - seqNumber) > MAX_PACKETS_IN_FLIGHT) return false; } Logger.minor(this, "Sequence number received: "+seqNumber); // Plausible, so lets decrypt the rest of the data byte[] plaintext = new byte[length-(4+HASH_LENGTH)]; System.arraycopy(buf, offset+HASH_LENGTH+4, plaintext, 0, length-(HASH_LENGTH+4)); pcfb.blockDecipher(plaintext, 0, length-(HASH_LENGTH+4)); //Logger.minor(this, "Plaintext:\n"+HexUtil.bytesToHex(plaintext)); MessageDigest md = getDigest(); md.update(seqBuf); md.update(plaintext); byte[] realHash = md.digest(); // Now decrypt the original hash byte[] temp = new byte[blockSize]; System.arraycopy(buf, offset, temp, 0, blockSize); sessionCipher.decipher(temp, temp); System.arraycopy(temp, 0, packetHash, 0, blockSize); // Check the hash if(!java.util.Arrays.equals(packetHash, realHash)) { Logger.minor(this, "Packet possibly from "+tracker+" hash does not match:\npacketHash="+ HexUtil.bytesToHex(packetHash)+"\n realHash="+HexUtil.bytesToHex(realHash)+" ("+(length-HASH_LENGTH)+" bytes payload)"); return false; } // Verify tracker.pn.verified(tracker); if(seqNumber != -1 && tracker.alreadyReceived(seqNumber)) { tracker.queueAck(seqNumber); Logger.normal(this, "Received packet twice: "+seqNumber); return true; } for(int i=0;i<md.getDigestLength();i++) { packetHash[i] ^= buf[offset+i]; } node.random.acceptEntropyBytes(myPacketDataSource, packetHash, 0, md.getDigestLength(), 0.5); // Lots more to do yet! processDecryptedData(plaintext, seqNumber, tracker); return true; }
56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/32291975fc543ab3b9ddc50a4bcd992394800348/FNPPacketMangler.java/clean/src/freenet/node/FNPPacketMangler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 775, 2227, 12, 7229, 8526, 1681, 16, 509, 1384, 16, 509, 769, 16, 1929, 8135, 9745, 13, 288, 3639, 368, 12324, 358, 506, 7752, 358, 745, 598, 9745, 422, 446, 358, 16499, 981, 5721, 3639, 309, 12, 16543, 422, 446, 13, 288, 5411, 4242, 18, 17364, 12, 2211, 16, 315, 8135, 422, 446, 8863, 5411, 327, 629, 31, 3639, 289, 3639, 4242, 18, 17364, 12, 2211, 10837, 10237, 310, 775, 2227, 30, 13773, 4385, 15, 15937, 15, 3348, 15, 15937, 15, 2469, 15, 15937, 15, 16543, 1769, 3639, 1783, 540, 380, 512, 67, 2436, 13459, 67, 3184, 12, 44, 12, 5436, 15, 9188, 15, 892, 3719, 512, 67, 2436, 19192, 67, 3184, 12, 5436, 15, 9188, 15, 892, 13, 540, 380, 1850, 380, 6155, 1122, 2795, 4398, 854, 326, 1651, 16, 453, 21813, 3749, 261, 7079, 310, 326, 540, 380, 1122, 1245, 353, 7773, 38, 16, 471, 326, 2205, 1245, 353, 7773, 38, 28086, 329, 598, 326, 1850, 380, 12657, 471, 11917, 434, 326, 1122, 1203, 2934, 540, 1195, 3639, 3914, 13896, 1339, 13896, 273, 9745, 18, 3184, 13896, 31, 3639, 309, 12, 3184, 13896, 422, 446, 13, 288, 5411, 4242, 18, 17364, 12, 2211, 16, 315, 2279, 5867, 8863, 5411, 327, 629, 31, 3639, 289, 3639, 309, 12, 3328, 18, 13139, 1343, 12, 3328, 18, 9394, 16, 333, 3719, 5411, 4242, 18, 4148, 12, 2211, 16, 315, 17306, 310, 598, 13773, 7037, 1304, 18, 3890, 774, 7037, 12, 16543, 18, 3184, 653, 10019, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 775, 2227, 12, 7229, 8526, 1681, 16, 509, 1384, 16, 509, 769, 16, 1929, 8135, 9745, 13, 288, 3639, 368, 12324, 358, 506, 7752, 358, 745, 598, 9745, 422, 446, 358, 16499, 981, 5721, 3639, 309, 12, 16543, 422, 446, 13, 288, 5411, 4242, 18, 17364, 12, 2211, 16, 315, 8135, 422, 446, 8863, 5411, 327, 629, 31, 3639, 289, 3639, 4242, 18, 17364, 12, 2211, 10837, 10237, 310, 775, 2227, 30, 13773, 4385, 15, 15937, 15, 3348, 15, 15937, 15, 2469, 15, 15937, 15, 16543, 1769, 3639, 1783, 540, 380, 512, 67, 2436, 13459, 67, 3184, 12, 44, 12, 5436, 15, 9188, 15, 892, 3719, 512, 67, 2436, 19192, 67, 3184, 12, 5436, 15, 9188, 2 ]
while ( (currentLine = input.readLine ()) != null) { currentTokens = new StringTokenizer (currentLine, "=\t\r\n"); if (currentTokens.hasMoreTokens ()) Key = currentTokens.nextToken ().trim (); if ( (Key != null) && !Key.startsWith ("#") && currentTokens.hasMoreTokens ()) {
while ((currentLine = input.readLine()) != null) { currentTokens = new StringTokenizer(currentLine, "=\t\r\n"); if (currentTokens.hasMoreTokens()) Key = currentTokens.nextToken().trim(); if ((Key != null) && !Key.startsWith("#") && currentTokens.hasMoreTokens()) {
OrderedProps (InputStream inputStream) throws IOException { BufferedReader input = new BufferedReader (new InputStreamReader (inputStream)); String currentLine, Key = null; StringTokenizer currentTokens; while ( (currentLine = input.readLine ()) != null) { currentTokens = new StringTokenizer (currentLine, "=\t\r\n"); if (currentTokens.hasMoreTokens ()) Key = currentTokens.nextToken ().trim (); if ( (Key != null) && !Key.startsWith ("#") && currentTokens.hasMoreTokens ()) { String temp[] = new String[2]; temp[0] = Key; temp[1] = currentTokens.nextToken ().trim (); attVec.addElement (temp); } } }
1895 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1895/7afa788066f31cf90db79de016f817aa843a0339/StylesheetSet.java/clean/source/org/jasig/portal/StylesheetSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 8524, 5047, 261, 4348, 10010, 13, 1216, 1860, 565, 288, 1377, 10633, 810, 225, 273, 394, 10633, 261, 2704, 15322, 261, 2630, 1228, 10019, 1377, 514, 22325, 16, 1929, 273, 446, 31, 1377, 16370, 783, 5157, 31, 1377, 1323, 261, 261, 2972, 1670, 273, 810, 18, 896, 1670, 1832, 13, 480, 446, 13, 1377, 288, 3639, 783, 5157, 273, 394, 16370, 261, 2972, 1670, 16, 315, 18206, 88, 64, 86, 64, 82, 8863, 3639, 309, 261, 2972, 5157, 18, 5332, 7417, 5157, 1832, 13, 1850, 1929, 273, 783, 5157, 18, 4285, 1345, 1832, 18, 5290, 261, 1769, 3639, 309, 261, 261, 653, 480, 446, 13, 597, 401, 653, 18, 17514, 1190, 7566, 7, 7923, 597, 783, 5157, 18, 5332, 7417, 5157, 1832, 13, 3639, 288, 1850, 514, 1906, 8526, 273, 394, 514, 63, 22, 15533, 1850, 1906, 63, 20, 65, 273, 1929, 31, 1906, 63, 21, 65, 273, 783, 5157, 18, 4285, 1345, 1832, 18, 5290, 261, 1769, 1850, 2403, 12991, 18, 1289, 1046, 261, 5814, 1769, 3639, 289, 1377, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 8524, 5047, 261, 4348, 10010, 13, 1216, 1860, 565, 288, 1377, 10633, 810, 225, 273, 394, 10633, 261, 2704, 15322, 261, 2630, 1228, 10019, 1377, 514, 22325, 16, 1929, 273, 446, 31, 1377, 16370, 783, 5157, 31, 1377, 1323, 261, 261, 2972, 1670, 273, 810, 18, 896, 1670, 1832, 13, 480, 446, 13, 1377, 288, 3639, 783, 5157, 273, 394, 16370, 261, 2972, 1670, 16, 315, 18206, 88, 64, 86, 64, 82, 8863, 3639, 309, 261, 2972, 5157, 18, 5332, 7417, 5157, 1832, 13, 1850, 1929, 273, 783, 5157, 18, 4285, 1345, 1832, 18, 5290, 261, 1769, 3639, 309, 261, 261, 653, 480, 446, 13, 597, 401, 653, 18, 17514, 1190, 7566, 7, 7923, 597, 783, 5157, 18, 2 ]
new Class[] { aInterface, XPCOMJavaProxyBase.class }, new XPCOMJavaProxy(aXPCOMInstance));
new Class[] { aInterface, XPCOMJavaProxyBase.class }, new XPCOMJavaProxy(aXPCOMInstance));
protected static Object createProxy(Class aInterface, long aXPCOMInstance) { return Proxy.newProxyInstance(aInterface.getClassLoader(), new Class[] { aInterface, XPCOMJavaProxyBase.class }, new XPCOMJavaProxy(aXPCOMInstance)); }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/c640f3ef93fe424a02e6332def1cfa1efc5416af/XPCOMJavaProxy.java/buggy/extensions/java/xpcom/src/org/mozilla/xpcom/internal/XPCOMJavaProxy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 760, 1033, 752, 3886, 12, 797, 279, 1358, 16, 1525, 279, 60, 3513, 1872, 1442, 13, 225, 288, 565, 327, 7659, 18, 2704, 3886, 1442, 12, 69, 1358, 18, 588, 7805, 9334, 21394, 394, 1659, 8526, 288, 279, 1358, 16, 4766, 7734, 1139, 3513, 1872, 5852, 3886, 2171, 18, 1106, 19879, 21394, 394, 1139, 3513, 1872, 5852, 3886, 12, 69, 60, 3513, 1872, 1442, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 760, 1033, 752, 3886, 12, 797, 279, 1358, 16, 1525, 279, 60, 3513, 1872, 1442, 13, 225, 288, 565, 327, 7659, 18, 2704, 3886, 1442, 12, 69, 1358, 18, 588, 7805, 9334, 21394, 394, 1659, 8526, 288, 279, 1358, 16, 4766, 7734, 1139, 3513, 1872, 5852, 3886, 2171, 18, 1106, 19879, 21394, 394, 1139, 3513, 1872, 5852, 3886, 12, 69, 60, 3513, 1872, 1442, 10019, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]