rem
stringlengths 1
53.3k
| add
stringlengths 0
80.5k
| context
stringlengths 6
326k
| meta
stringlengths 141
403
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
public org.quickfix.field.UnderlyingCreditRating getUnderlyingCreditRating() throws FieldNotFound { org.quickfix.field.UnderlyingCreditRating value = new org.quickfix.field.UnderlyingCreditRating();
|
public quickfix.field.UnderlyingCreditRating getUnderlyingCreditRating() throws FieldNotFound { quickfix.field.UnderlyingCreditRating value = new quickfix.field.UnderlyingCreditRating();
|
public org.quickfix.field.UnderlyingCreditRating getUnderlyingCreditRating() throws FieldNotFound { org.quickfix.field.UnderlyingCreditRating value = new org.quickfix.field.UnderlyingCreditRating(); getField(value); return value; }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderSingle.java/clean/src/java/src/quickfix/fix44/NewOrderSingle.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
16520,
20388,
10833,
765,
6291,
16520,
20388,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
16520,
20388,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
16520,
20388,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
16520,
20388,
10833,
765,
6291,
16520,
20388,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
16520,
20388,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
16520,
20388,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen != 0 && !ISSPACE(c))) { if (IS_ARG()) {
|
if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (isArgState() && space_seen != 0 && !isSpace(c))) { if (isArgState()) {
|
private int yylex() { int c; int space_seen = 0; kwtable kw; retry : for (;;) { switch (c = nextc()) { case '\0' : // NUL case '\004' : // ^D case '\032' : // ^Z case -1 : //end of script. return 0; // white spaces case ' ' : case '\t' : case '\f' : case '\r' : case '\013' : // '\v' space_seen++; continue retry; case '#' : // it's a comment while ((c = nextc()) != '\n') { if (c == -1) { return 0; } } // fall through case '\n' : switch (ph.getLexState()) { case LexState.EXPR_BEG : case LexState.EXPR_FNAME : case LexState.EXPR_DOT : continue retry; default : break; } ph.setLexState(LexState.EXPR_BEG); return '\n'; case '*' : if ((c = nextc()) == '*') { ph.setLexState(LexState.EXPR_BEG); if (nextc() == '=') { yyVal = "**"; // ph.newId(Token.tPOW); return Token.tOP_ASGN; } pushback(c); return Token.tPOW; } if (c == '=') { yyVal = "*"; // ph.newId('*'); ph.setLexState(LexState.EXPR_BEG); return Token.tOP_ASGN; } pushback(c); if (IS_ARG() && space_seen != 0 && !ISSPACE(c)) { ph.rb_warning("'*' interpreted as argument prefix"); c = Token.tSTAR; } else if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tSTAR; } else { c = '*'; } ph.setLexState(LexState.EXPR_BEG); return c; case '!' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { return Token.tNEQ; } if (c == '~') { return Token.tNMATCH; } pushback(c); return '!'; case '=' : if (lex_p == 1) { // skip embedded rd document if (lex_curline.startsWith("=begin") && (lex_pend == 6 || ISSPACE(lex_curline.charAt(6)))) { for (;;) { lex_p = lex_pend; c = nextc(); if (c == -1) { ph.rb_compile_error("embedded document meets end of file"); return 0; } if (c != '=') { continue; } if (lex_curline.substring(lex_p, lex_p + 3).equals("end") && (lex_p + 3 == lex_pend || ISSPACE(lex_curline.charAt(lex_p + 3)))) { break; } } lex_p = lex_pend; continue retry; } } ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { if ((c = nextc()) == '=') { return Token.tEQQ; } pushback(c); return Token.tEQ; } if (c == '~') { return Token.tMATCH; } else if (c == '>') { return Token.tASSOC; } pushback(c); return '='; case '<' : c = nextc(); if (c == '<' && ph.getLexState() != LexState.EXPR_END && ph.getLexState() != LexState.EXPR_ENDARG && ph.getLexState() != LexState.EXPR_CLASS && (!IS_ARG() || space_seen != 0)) { int c2 = nextc(); int indent = 0; if (c2 == '-') { indent = 1; c2 = nextc(); } if (!ISSPACE(c2) && ("\"'`".indexOf(c2) != -1 || is_identchar(c2))) { return here_document(c2, indent); } pushback(c2); } ph.setLexState(LexState.EXPR_BEG); if (c == '=') { if ((c = nextc()) == '>') { return Token.tCMP; } pushback(c); return Token.tLEQ; } if (c == '<') { if (nextc() == '=') { yyVal = "<<"; // ph.newId(Token.tLSHFT); return Token.tOP_ASGN; } pushback(c); return Token.tLSHFT; } pushback(c); return '<'; case '>' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { return Token.tGEQ; } if (c == '>') { if ((c = nextc()) == '=') { yyVal = ">>"; //ph.newId(Token.tRSHFT); return Token.tOP_ASGN; } pushback(c); return Token.tRSHFT; } pushback(c); return '>'; case '"' : return parse_string(c, c, c); case '`' : if (ph.getLexState() == LexState.EXPR_FNAME) { return c; } if (ph.getLexState() == LexState.EXPR_DOT) { return c; } return parse_string(c, c, c); case '\'' : return parse_qstring(c, 0); case '?' : if (ph.getLexState() == LexState.EXPR_END) { ph.setLexState(LexState.EXPR_BEG); return '?'; } c = nextc(); if (c == -1) { /* FIX 1.6.5 */ ph.rb_compile_error("incomplete character syntax"); return 0; } if (IS_ARG() && ISSPACE(c)) { pushback(c); ph.setLexState(LexState.EXPR_BEG); return '?'; } if (c == '\\') { c = read_escape(); } c &= 0xff; yyVal = RubyFixnum.newFixnum(ruby, c); ph.setLexState(LexState.EXPR_END); return Token.tINTEGER; case '&' : if ((c = nextc()) == '&') { ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { yyVal = "&&"; // ph.newId(Token.tANDOP); return Token.tOP_ASGN; } pushback(c); return Token.tANDOP; } else if (c == '=') { yyVal = "&"; //ph.newId('&'); ph.setLexState(LexState.EXPR_BEG); return Token.tOP_ASGN; } pushback(c); if (IS_ARG() && space_seen != 0 && !ISSPACE(c)) { ph.rb_warning("`&' interpeted as argument prefix"); c = Token.tAMPER; } else if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tAMPER; } else { c = '&'; } ph.setLexState(LexState.EXPR_BEG); return c; case '|' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '|') { if ((c = nextc()) == '=') { yyVal = "||"; // ph.newId(Token.tOROP); return Token.tOP_ASGN; } pushback(c); return Token.tOROP; } else if (c == '=') { yyVal = "|"; //ph.newId('|'); return Token.tOP_ASGN; } pushback(c); return '|'; case '+' : c = nextc(); if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if (c == '@') { return Token.tUPLUS; } pushback(c); return '+'; } if (c == '=') { ph.setLexState(LexState.EXPR_BEG); yyVal = "+"; //ph.newId('+'); return Token.tOP_ASGN; } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen != 0 && !ISSPACE(c))) { if (IS_ARG()) { arg_ambiguous(); } ph.setLexState(LexState.EXPR_BEG); pushback(c); if (Character.isDigit((char) c)) { c = '+'; return start_num(c); } return Token.tUPLUS; } ph.setLexState(LexState.EXPR_BEG); pushback(c); return '+'; case '-' : c = nextc(); if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if (c == '@') { return Token.tUMINUS; } pushback(c); return '-'; } if (c == '=') { ph.setLexState(LexState.EXPR_BEG); yyVal = "-"; // ph.newId('-'); return Token.tOP_ASGN; } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen != 0 && !ISSPACE(c))) { if (IS_ARG()) { arg_ambiguous(); } ph.setLexState(LexState.EXPR_BEG); pushback(c); if (Character.isDigit((char) c)) { c = '-'; return start_num(c); } return Token.tUMINUS; } ph.setLexState(LexState.EXPR_BEG); pushback(c); return '-'; case '.' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '.') { if ((c = nextc()) == '.') { return Token.tDOT3; } pushback(c); return Token.tDOT2; } pushback(c); if (!Character.isDigit((char) c)) { ph.setLexState(LexState.EXPR_DOT); return '.'; } c = '.'; // fall through //start_num: case '0' : case '1' : case '2' : case '3' : case '4' : case '5' : case '6' : case '7' : case '8' : case '9' : return start_num(c); case ']' : case '}' : ph.setLexState(LexState.EXPR_END); return c; case ')' : if (cond_nest > 0) { cond_stack >>= 1; } ph.setLexState(LexState.EXPR_END); return c; case ':' : c = nextc(); if (c == ':') { if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen != 0)) { ph.setLexState(LexState.EXPR_BEG); return Token.tCOLON3; } ph.setLexState(LexState.EXPR_DOT); return Token.tCOLON2; } pushback(c); if (ph.getLexState() == LexState.EXPR_END || ISSPACE(c)) { ph.setLexState(LexState.EXPR_BEG); return ':'; } ph.setLexState(LexState.EXPR_FNAME); return Token.tSYMBEG; case '/' : if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { return parse_regx('/', '/'); } if ((c = nextc()) == '=') { ph.setLexState(LexState.EXPR_BEG); yyVal = "/"; // ph.newId('/'); return Token.tOP_ASGN; } pushback(c); if (IS_ARG() && space_seen != 0) { if (!ISSPACE(c)) { arg_ambiguous(); return parse_regx('/', '/'); } } ph.setLexState(LexState.EXPR_BEG); return '/'; case '^' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { yyVal = "^"; //ph.newId('^'); return Token.tOP_ASGN; } pushback(c); return '^'; case ',' : case ';' : ph.setLexState(LexState.EXPR_BEG); return c; case '~' : if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if ((c = nextc()) != '@') { pushback(c); } } ph.setLexState(LexState.EXPR_BEG); return '~'; case '(' : if (cond_nest > 0) { cond_stack = (cond_stack << 1) | 0; } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tLPAREN; } else if (ph.getLexState() == LexState.EXPR_ARG && space_seen != 0) { ph.rb_warning(tok() + " (...) interpreted as method call"); } ph.setLexState(LexState.EXPR_BEG); return c; case '[' : if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if ((c = nextc()) == ']') { if ((c = nextc()) == '=') { return Token.tASET; } pushback(c); return Token.tAREF; } pushback(c); return '['; } else if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tLBRACK; } else if (IS_ARG() && space_seen != 0) { c = Token.tLBRACK; } ph.setLexState(LexState.EXPR_BEG); return c; case '{' : if (ph.getLexState() != LexState.EXPR_END && ph.getLexState() != LexState.EXPR_ARG) { c = Token.tLBRACE; } ph.setLexState(LexState.EXPR_BEG); return c; case '\\' : c = nextc(); if (c == '\n') { space_seen = 1; continue retry; // skip \\n } pushback(c); return '\\'; case '%' : quotation : for (;;) { if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { int term; int paren; c = nextc(); if (!Character.isLetterOrDigit((char) c)) { term = c; c = 'Q'; } else { term = nextc(); } if (c == -1 || term == -1) { ph.rb_compile_error("unterminated quoted string meets end of file"); return 0; } paren = term; if (term == '(') { term = ')'; } else if (term == '[') { term = ']'; } else if (term == '{') { term = '}'; } else if (term == '<') { term = '>'; } else { paren = 0; } switch (c) { case 'Q' : return parse_string('"', term, paren); case 'q' : return parse_qstring(term, paren); case 'w' : return parse_quotedwords(term, paren); case 'x' : return parse_string('`', term, paren); case 'r' : return parse_regx(term, paren); default : yyerror("unknown type of %string"); return 0; } } if ((c = nextc()) == '=') { yyVal = "%"; //ph.newId('%'); return Token.tOP_ASGN; } if (IS_ARG() && space_seen != 0 && !ISSPACE(c)) { pushback(c); continue quotation; } break quotation; } ph.setLexState(LexState.EXPR_BEG); pushback(c); return '%'; case '$' : ph.setLexState(LexState.EXPR_END); newtok(); c = nextc(); switch (c) { case '_' : // $_: last read line string c = nextc(); if (is_identchar(c)) { tokadd('$'); tokadd('_'); break; } pushback(c); c = '_'; // fall through case '~' : // $~: match-data ph.getLocalIndex(String.valueOf(c)); // fall through case '*' : // $*: argv case '$' : // $$: pid case '?' : // $?: last status case '!' : // $!: error string case '@' : // $@: error position case '/' : // $/: input record separator case '\\' : // $\: output record separator case ';' : // $;: field separator case ',' : // $,: output field separator case '.' : // $.: last read line number case '=' : // $=: ignorecase case ':' : // $:: load path case '<' : // $<: reading filename case '>' : // $>: default output handle case '\"' : // $": already loaded files tokadd('$'); tokadd(c); tokfix(); yyVal = tok(); // ruby.intern(tok()); return Token.tGVAR; case '-' : tokadd('$'); tokadd(c); c = nextc(); tokadd(c); tokfix(); yyVal = tok(); // ruby.intern(tok()); /* xxx shouldn't check if valid option variable */ return Token.tGVAR; case '&' : // $&: last match case '`' : // $`: string before last match case '\'' : // $': string after last match case '+' : // $+: string matches last paren. yyVal = nf.newBackRef(c); return Token.tBACK_REF; case '1' : case '2' : case '3' : case '4' : case '5' : case '6' : case '7' : case '8' : case '9' : tokadd('$'); while (Character.isDigit((char) c)) { tokadd(c); c = nextc(); } if (is_identchar(c)) { break; } pushback(c); tokfix(); yyVal = nf.newNthRef(Integer.parseInt(tok().substring(1))); return Token.tNTH_REF; default : if (!is_identchar(c)) { pushback(c); return '$'; } case '0' : tokadd('$'); } break; case '@' : c = nextc(); newtok(); tokadd('@'); if (c == '@') { tokadd('@'); c = nextc(); } if (Character.isDigit((char) c)) { ph.rb_compile_error("`@" + c + "' is not a valid instance variable name"); } if (!is_identchar(c)) { pushback(c); return '@'; } break; default : if (!is_identchar(c) || Character.isDigit((char) c)) { ph.rb_compile_error("Invalid char `\\" + c + "' in expression"); continue retry; } newtok(); break; } break retry; } while (is_identchar(c)) { tokadd(c); c = nextc(); } if ((c == '!' || c == '?') && is_identchar(tok().charAt(0)) && !peek('=')) { tokadd(c); } else { pushback(c); } tokfix(); { int result = 0; switch (tok().charAt(0)) { case '$' : ph.setLexState(LexState.EXPR_END); result = Token.tGVAR; break; case '@' : ph.setLexState(LexState.EXPR_END); if (tok().charAt(1) == '@') { result = Token.tCVAR; } else { result = Token.tIVAR; } break; default : if (ph.getLexState() != LexState.EXPR_DOT) { // See if it is a reserved word. kw = rb_reserved_word(tok(), toklen()); if (kw != null) { // enum lex_state int state = ph.getLexState(); ph.setLexState(kw.state); if (state == LexState.EXPR_FNAME) { yyVal = kw.name; // ruby.intern(kw.name); } if (kw.id0 == Token.kDO) { if (COND_P()) { return Token.kDO_COND; } if (CMDARG_P()) { return Token.kDO_BLOCK; } return Token.kDO; } if (state == LexState.EXPR_BEG) { return kw.id0; } else { if (kw.id0 != kw.id1) { ph.setLexState(LexState.EXPR_BEG); } return kw.id1; } } } if (toklast() == '!' || toklast() == '?') { result = Token.tFID; } else { if (ph.getLexState() == LexState.EXPR_FNAME) { if ((c = nextc()) == '=' && !peek('~') && !peek('>') && (!peek('=') || lex_p + 1 < lex_pend && lex_curline.charAt(lex_p + 1) == '>')) { result = Token.tIDENTIFIER; tokadd(c); } else { pushback(c); } } if (result == 0 && Character.isUpperCase(tok().charAt(0))) { result = Token.tCONSTANT; } else { result = Token.tIDENTIFIER; } } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_DOT || ph.getLexState() == LexState.EXPR_ARG) { ph.setLexState(LexState.EXPR_ARG); } else { ph.setLexState(LexState.EXPR_END); } } tokfix(); yyVal = tok(); // ruby.intern(tok()); return result; } }
|
46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/d31a76ee29d5978a9bec41e3ac9134cee024bcab/DefaultRubyScanner.java/clean/org/jruby/parser/DefaultRubyScanner.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
677,
1362,
92,
1435,
288,
3639,
509,
276,
31,
3639,
509,
3476,
67,
15156,
273,
374,
31,
3639,
5323,
2121,
5323,
31,
3639,
3300,
294,
364,
261,
25708,
13,
288,
5411,
1620,
261,
71,
273,
1024,
71,
10756,
288,
7734,
648,
2337,
20,
11,
294,
368,
423,
1506,
7734,
648,
2337,
26565,
11,
294,
368,
3602,
40,
7734,
648,
2337,
20,
1578,
11,
294,
368,
3602,
62,
7734,
648,
300,
21,
294,
368,
409,
434,
2728,
18,
10792,
327,
374,
31,
10792,
368,
9578,
7292,
7734,
648,
296,
296,
294,
7734,
648,
2337,
88,
11,
294,
7734,
648,
2337,
74,
11,
294,
7734,
648,
2337,
86,
11,
294,
7734,
648,
2337,
1611,
23,
11,
294,
368,
2337,
90,
11,
10792,
3476,
67,
15156,
9904,
31,
10792,
1324,
3300,
31,
7734,
648,
6501,
294,
368,
518,
1807,
279,
2879,
10792,
1323,
14015,
71,
273,
1024,
71,
10756,
480,
2337,
82,
6134,
288,
13491,
309,
261,
71,
422,
300,
21,
13,
288,
18701,
327,
374,
31,
13491,
289,
10792,
289,
10792,
368,
4159,
3059,
7734,
648,
2337,
82,
11,
294,
10792,
1620,
261,
844,
18,
588,
14756,
1119,
10756,
288,
13491,
648,
15123,
1119,
18,
2294,
8025,
67,
5948,
43,
294,
13491,
648,
15123,
1119,
18,
2294,
8025,
67,
42,
1985,
294,
13491,
648,
15123,
1119,
18,
2294,
8025,
67,
17591,
294,
18701,
1324,
3300,
31,
13491,
805,
294,
18701,
898,
31,
10792,
289,
10792,
1844,
18,
542,
14756,
1119,
12,
14756,
1119,
18,
2294,
8025,
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,
677,
1362,
92,
1435,
288,
3639,
509,
276,
31,
3639,
509,
3476,
67,
15156,
273,
374,
31,
3639,
5323,
2121,
5323,
31,
3639,
3300,
294,
364,
261,
25708,
13,
288,
5411,
1620,
261,
71,
273,
1024,
71,
10756,
288,
7734,
648,
2337,
20,
11,
294,
368,
423,
1506,
7734,
648,
2337,
26565,
11,
294,
368,
3602,
40,
7734,
648,
2337,
20,
1578,
11,
294,
368,
3602,
62,
7734,
648,
300,
21,
294,
368,
409,
434,
2728,
18,
10792,
327,
374,
31,
10792,
368,
9578,
7292,
7734,
648,
296,
296,
294,
7734,
648,
2337,
88,
11,
294,
7734,
648,
2337,
74,
11,
294,
7734,
648,
2337,
86,
11,
294,
7734,
648,
2337,
1611,
23,
11,
294,
368,
2
] |
public final void applyCodePatches(VM_CompiledMethod cm) {
|
public final void applyCodePatches(VM_CompiledMethod cm) throws VM_PragmaInterruptible {
|
public final void applyCodePatches(VM_CompiledMethod cm) { if (patchMap != null) { INSTRUCTION[] code = cm.getInstructions(); for (int idx=0; idx<patchMap.length; idx += 2) { VM_Assembler.patchCode(code, patchMap[idx], patchMap[idx+1]); } } }
|
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/adc94596e6496781a4e0763b29a52be3daab1a7a/VM_OptCompiledMethod.java/buggy/rvm/src/vm/compilers/optimizing/vmInterface/services/VM_OptCompiledMethod.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
918,
2230,
1085,
23501,
12,
7397,
67,
20733,
1305,
5003,
13,
1216,
8251,
67,
2050,
9454,
14126,
1523,
288,
565,
309,
261,
2272,
863,
480,
446,
13,
288,
1377,
2120,
3902,
27035,
8526,
981,
273,
5003,
18,
588,
26712,
5621,
1377,
364,
261,
474,
2067,
33,
20,
31,
2067,
32,
2272,
863,
18,
2469,
31,
2067,
1011,
576,
13,
288,
202,
7397,
67,
1463,
5747,
749,
18,
2272,
1085,
12,
710,
16,
4729,
863,
63,
3465,
6487,
4729,
863,
63,
3465,
15,
21,
19226,
1377,
289,
565,
289,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
727,
918,
2230,
1085,
23501,
12,
7397,
67,
20733,
1305,
5003,
13,
1216,
8251,
67,
2050,
9454,
14126,
1523,
288,
565,
309,
261,
2272,
863,
480,
446,
13,
288,
1377,
2120,
3902,
27035,
8526,
981,
273,
5003,
18,
588,
26712,
5621,
1377,
364,
261,
474,
2067,
33,
20,
31,
2067,
32,
2272,
863,
18,
2469,
31,
2067,
1011,
576,
13,
288,
202,
7397,
67,
1463,
5747,
749,
18,
2272,
1085,
12,
710,
16,
4729,
863,
63,
3465,
6487,
4729,
863,
63,
3465,
15,
21,
19226,
1377,
289,
565,
289,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
vcs.move(p("dir1/file"), p("dir2"));
|
vcs.move(p("/dir1/file"), p("/dir2"));
|
public void testMovingFileFromOneDirectoryToAnother() { vcs.createDirectory(p("dir1")); vcs.createDirectory(p("dir2")); vcs.createFile(p("dir1/file"), null); vcs.apply(); vcs.move(p("dir1/file"), p("dir2")); vcs.apply(); assertTrue(vcs.hasEntry(p("dir2/file"))); assertFalse(vcs.hasEntry(p("dir1/file"))); vcs._revert(); assertFalse(vcs.hasEntry(p("dir2/file"))); assertTrue(vcs.hasEntry(p("dir1/file"))); }
|
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/8a6fdbc15b3cd4aaa232cf2026aa4a60418c162a/LocalVcsBasicsTest.java/buggy/LocalVcs/test/com/intellij/localvcs/LocalVcsBasicsTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
49,
13767,
812,
1265,
3335,
2853,
774,
37,
24413,
1435,
288,
565,
20255,
18,
2640,
2853,
12,
84,
2932,
1214,
21,
7923,
1769,
565,
20255,
18,
2640,
2853,
12,
84,
2932,
1214,
22,
7923,
1769,
565,
20255,
18,
2640,
812,
12,
84,
2932,
1214,
21,
19,
768,
6,
3631,
446,
1769,
565,
20255,
18,
9010,
5621,
565,
20255,
18,
8501,
12,
84,
2932,
19,
1214,
21,
19,
768,
6,
3631,
293,
2932,
19,
1214,
22,
7923,
1769,
565,
20255,
18,
9010,
5621,
565,
1815,
5510,
12,
18982,
18,
5332,
1622,
12,
84,
2932,
1214,
22,
19,
768,
6,
3719,
1769,
565,
1815,
8381,
12,
18982,
18,
5332,
1622,
12,
84,
2932,
1214,
21,
19,
768,
6,
3719,
1769,
565,
20255,
6315,
266,
1097,
5621,
565,
1815,
8381,
12,
18982,
18,
5332,
1622,
12,
84,
2932,
1214,
22,
19,
768,
6,
3719,
1769,
565,
1815,
5510,
12,
18982,
18,
5332,
1622,
12,
84,
2932,
1214,
21,
19,
768,
6,
3719,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
49,
13767,
812,
1265,
3335,
2853,
774,
37,
24413,
1435,
288,
565,
20255,
18,
2640,
2853,
12,
84,
2932,
1214,
21,
7923,
1769,
565,
20255,
18,
2640,
2853,
12,
84,
2932,
1214,
22,
7923,
1769,
565,
20255,
18,
2640,
812,
12,
84,
2932,
1214,
21,
19,
768,
6,
3631,
446,
1769,
565,
20255,
18,
9010,
5621,
565,
20255,
18,
8501,
12,
84,
2932,
19,
1214,
21,
19,
768,
6,
3631,
293,
2932,
19,
1214,
22,
7923,
1769,
565,
20255,
18,
9010,
5621,
565,
1815,
5510,
12,
18982,
18,
5332,
1622,
12,
84,
2932,
1214,
22,
19,
768,
6,
3719,
1769,
565,
1815,
8381,
12,
18982,
18,
5332,
1622,
12,
84,
2932,
1214,
21,
19,
768,
2
] |
public Pointcut concretize1(ResolvedType searchStart, IntMap bindings) {
|
public Pointcut concretize1(ResolvedType searchStart, ResolvedType declaringType, IntMap bindings) {
|
public Pointcut concretize1(ResolvedType searchStart, IntMap bindings) { if (concretizing) { //Thread.currentThread().dumpStack(); searchStart.getWorld().getMessageHandler().handleMessage( MessageUtil.error(WeaverMessages.format(WeaverMessages.CIRCULAR_POINTCUT,this), getSourceLocation())); return Pointcut.makeMatchesNothing(Pointcut.CONCRETE); } try { concretizing = true; ResolvedPointcutDefinition pointcutDec; if (onType != null) { searchStart = onType.resolve(searchStart.getWorld()); if (searchStart == ResolvedType.MISSING) { return Pointcut.makeMatchesNothing(Pointcut.CONCRETE); } } pointcutDec = searchStart.findPointcut(name); if (pointcutDec == null) { searchStart.getWorld().getMessageHandler().handleMessage( MessageUtil.error(WeaverMessages.format(WeaverMessages.CANT_FIND_POINTCUT,name,searchStart.getName()), getSourceLocation()) ); return Pointcut.makeMatchesNothing(Pointcut.CONCRETE); } if (pointcutDec.isAbstract()) { //Thread.currentThread().dumpStack(); ShadowMunger enclosingAdvice = bindings.getEnclosingAdvice(); searchStart.getWorld().showMessage(IMessage.ERROR, WeaverMessages.format(WeaverMessages.ABSTRACT_POINTCUT,pointcutDec), getSourceLocation(), (null == enclosingAdvice) ? null : enclosingAdvice.getSourceLocation()); return Pointcut.makeMatchesNothing(Pointcut.CONCRETE); } //System.err.println("start: " + searchStart); ResolvedType[] parameterTypes = searchStart.getWorld().resolve(pointcutDec.getParameterTypes()); TypePatternList arguments = this.arguments.resolveReferences(bindings); IntMap newBindings = new IntMap(); for (int i=0,len=arguments.size(); i < len; i++) { TypePattern p = arguments.get(i); if (p == TypePattern.NO) continue; //we are allowed to bind to pointcuts which use subtypes as this is type safe if (!p.matchesSubtypes(parameterTypes[i]) && !p.getExactType().equals(UnresolvedType.OBJECT)) { throw new BCException("illegal change to pointcut declaration: " + this); } if (p instanceof BindingTypePattern) { newBindings.put(i, ((BindingTypePattern)p).getFormalIndex()); } } if (searchStart.isParameterizedType()) { // build a type map mapping type variable names in the generic type to // the type parameters presented typeVariableMap = new HashMap(); ResolvedType underlyingGenericType = searchStart.getGenericType(); TypeVariable[] tVars = underlyingGenericType.getTypeVariables(); ResolvedType[] typeParams = searchStart.getResolvedTypeParameters(); for (int i = 0; i < tVars.length; i++) { typeVariableMap.put(tVars[i].getName(),typeParams[i]); } } newBindings.copyContext(bindings); newBindings.pushEnclosingDefinition(pointcutDec); try { Pointcut ret = pointcutDec.getPointcut(); if (typeVariableMap != null) ret = ret.parameterizeWith(typeVariableMap); return ret.concretize(searchStart, newBindings); } finally { newBindings.popEnclosingDefinitition(); } } finally { concretizing = false; } }
|
53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/8459fc93a9f455b2669ed2a758b10bdc6cd3903a/ReferencePointcut.java/buggy/weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4686,
5150,
20570,
1349,
554,
21,
12,
12793,
559,
1623,
1685,
16,
3094,
863,
7394,
13,
288,
202,
202,
430,
261,
11504,
1349,
6894,
13,
288,
1082,
202,
759,
3830,
18,
2972,
3830,
7675,
8481,
2624,
5621,
1082,
202,
3072,
1685,
18,
588,
18071,
7675,
24906,
1503,
7675,
4110,
1079,
12,
9506,
202,
1079,
1304,
18,
1636,
12,
3218,
21851,
5058,
18,
2139,
12,
3218,
21851,
5058,
18,
7266,
11529,
19545,
67,
8941,
39,
1693,
16,
2211,
3631,
6862,
6862,
202,
588,
1830,
2735,
1435,
10019,
1082,
202,
2463,
4686,
5150,
18,
6540,
6869,
23814,
12,
2148,
5150,
18,
2248,
5458,
1448,
1769,
202,
202,
97,
9506,
202,
698,
288,
1082,
202,
11504,
1349,
6894,
273,
638,
31,
6862,
202,
12793,
2148,
5150,
1852,
29774,
1799,
31,
1082,
202,
430,
261,
265,
559,
480,
446,
13,
288,
9506,
202,
3072,
1685,
273,
603,
559,
18,
10828,
12,
3072,
1685,
18,
588,
18071,
10663,
9506,
202,
430,
261,
3072,
1685,
422,
22776,
559,
18,
19466,
13,
288,
6862,
202,
2463,
4686,
5150,
18,
6540,
6869,
23814,
12,
2148,
5150,
18,
2248,
5458,
1448,
1769,
9506,
202,
97,
1082,
202,
97,
1082,
202,
1153,
5150,
1799,
273,
1623,
1685,
18,
4720,
2148,
5150,
12,
529,
1769,
1082,
202,
430,
261,
1153,
5150,
1799,
422,
446,
13,
288,
9506,
202,
3072,
1685,
18,
588,
18071,
7675,
24906,
1503,
7675,
4110,
1079,
12,
6862,
202,
1079,
1304,
18,
1636,
12,
3218,
21851,
5058,
18,
2139,
12,
3218,
21851,
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,
4686,
5150,
20570,
1349,
554,
21,
12,
12793,
559,
1623,
1685,
16,
3094,
863,
7394,
13,
288,
202,
202,
430,
261,
11504,
1349,
6894,
13,
288,
1082,
202,
759,
3830,
18,
2972,
3830,
7675,
8481,
2624,
5621,
1082,
202,
3072,
1685,
18,
588,
18071,
7675,
24906,
1503,
7675,
4110,
1079,
12,
9506,
202,
1079,
1304,
18,
1636,
12,
3218,
21851,
5058,
18,
2139,
12,
3218,
21851,
5058,
18,
7266,
11529,
19545,
67,
8941,
39,
1693,
16,
2211,
3631,
6862,
6862,
202,
588,
1830,
2735,
1435,
10019,
1082,
202,
2463,
4686,
5150,
18,
6540,
6869,
23814,
12,
2148,
5150,
18,
2248,
5458,
1448,
1769,
202,
202,
97,
9506,
202,
698,
288,
1082,
202,
11504,
1349,
6894,
273,
2
] |
public void addGroup(GroupInfo info) { checkForDuplicates(info); }
|
public void addGroup(GroupInfo info) { checkForDuplicates(info); }
|
private FinishedJobs() { listener = new IJobProgressManagerListener() { public void addJob(JobInfo info) { checkForDuplicates(info); } public void addGroup(GroupInfo info) { checkForDuplicates(info); } public void refreshJobInfo(JobInfo info) { checkTasks(info); } public void refreshGroup(GroupInfo info) { } public void refreshAll() { } public void removeJob(JobInfo info) { if (keep(info)) { checkForDuplicates(info); add(info); } } public void removeGroup(GroupInfo group) { } public boolean showsDebug() { return false; } }; ProgressManager.getInstance().addListener(listener); }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/61a3852dd97cae660315c88e82302cd4c0301d5d/FinishedJobs.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/FinishedJobs.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
29745,
7276,
1435,
288,
3639,
2991,
273,
394,
467,
2278,
5491,
1318,
2223,
1435,
288,
5411,
1071,
918,
527,
2278,
12,
2278,
966,
1123,
13,
288,
7734,
13855,
23897,
12,
1376,
1769,
5411,
289,
5411,
1071,
918,
18899,
12,
1114,
966,
1123,
13,
288,
7734,
13855,
23897,
12,
1376,
1769,
5411,
289,
5411,
1071,
918,
4460,
2278,
966,
12,
2278,
966,
1123,
13,
288,
7734,
866,
6685,
12,
1376,
1769,
5411,
289,
5411,
1071,
918,
4460,
1114,
12,
1114,
966,
1123,
13,
288,
5411,
289,
5411,
1071,
918,
4460,
1595,
1435,
288,
5411,
289,
5411,
1071,
918,
1206,
2278,
12,
2278,
966,
1123,
13,
288,
7734,
309,
261,
10102,
12,
1376,
3719,
288,
10792,
13855,
23897,
12,
1376,
1769,
10792,
527,
12,
1376,
1769,
7734,
289,
5411,
289,
5411,
1071,
918,
1206,
1114,
12,
1114,
966,
1041,
13,
288,
5411,
289,
5411,
1071,
1250,
17975,
2829,
1435,
288,
7734,
327,
629,
31,
5411,
289,
3639,
289,
31,
3639,
10980,
1318,
18,
588,
1442,
7675,
1289,
2223,
12,
12757,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
29745,
7276,
1435,
288,
3639,
2991,
273,
394,
467,
2278,
5491,
1318,
2223,
1435,
288,
5411,
1071,
918,
527,
2278,
12,
2278,
966,
1123,
13,
288,
7734,
13855,
23897,
12,
1376,
1769,
5411,
289,
5411,
1071,
918,
18899,
12,
1114,
966,
1123,
13,
288,
7734,
13855,
23897,
12,
1376,
1769,
5411,
289,
5411,
1071,
918,
4460,
2278,
966,
12,
2278,
966,
1123,
13,
288,
7734,
866,
6685,
12,
1376,
1769,
5411,
289,
5411,
1071,
918,
4460,
1114,
12,
1114,
966,
1123,
13,
288,
5411,
289,
5411,
1071,
918,
4460,
1595,
1435,
288,
5411,
289,
5411,
1071,
918,
1206,
2278,
12,
2278,
966,
1123,
13,
288,
7734,
309,
261,
10102,
12,
1376,
3719,
288,
10792,
13855,
23897,
12,
2
] |
return super.createValue(lu, engine);
|
return super.createValue( lu, engine );
|
public Value createValue(LexicalUnit lu, CSSEngine engine) throws DOMException { switch (lu.getLexicalUnitType()) { case LexicalUnit.SAC_IDENT: String s = lu.getStringValue().toLowerCase().intern(); Object v = values.get(s); if (v == null) { throw createInvalidIdentifierDOMException(lu.getStringValue()); } return (Value) v; } return super.createValue(lu, engine); }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/83de512a7dc3a128ad54fa2607c01f0ef928234c/BorderWidthManager.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/css/engine/value/css/BorderWidthManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1445,
752,
620,
12,
14756,
1706,
2802,
20072,
16,
6765,
4410,
4073,
13,
1082,
202,
15069,
4703,
503,
288,
202,
202,
9610,
261,
28832,
18,
588,
14756,
1706,
2802,
559,
10756,
288,
202,
202,
3593,
15123,
1706,
2802,
18,
55,
2226,
67,
13355,
30,
1082,
202,
780,
272,
273,
20072,
18,
588,
19733,
7675,
869,
5630,
7675,
267,
798,
5621,
1082,
202,
921,
331,
273,
924,
18,
588,
12,
87,
1769,
1082,
202,
430,
261,
90,
422,
446,
13,
288,
9506,
202,
12849,
752,
1941,
3004,
8168,
503,
12,
28832,
18,
588,
19733,
10663,
1082,
202,
97,
1082,
202,
2463,
261,
620,
13,
331,
31,
202,
202,
97,
202,
202,
2463,
2240,
18,
2640,
620,
12,
28832,
16,
4073,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1445,
752,
620,
12,
14756,
1706,
2802,
20072,
16,
6765,
4410,
4073,
13,
1082,
202,
15069,
4703,
503,
288,
202,
202,
9610,
261,
28832,
18,
588,
14756,
1706,
2802,
559,
10756,
288,
202,
202,
3593,
15123,
1706,
2802,
18,
55,
2226,
67,
13355,
30,
1082,
202,
780,
272,
273,
20072,
18,
588,
19733,
7675,
869,
5630,
7675,
267,
798,
5621,
1082,
202,
921,
331,
273,
924,
18,
588,
12,
87,
1769,
1082,
202,
430,
261,
90,
422,
446,
13,
288,
9506,
202,
12849,
752,
1941,
3004,
8168,
503,
12,
28832,
18,
588,
19733,
10663,
1082,
202,
97,
1082,
202,
2463,
261,
620,
13,
331,
31,
202,
202,
97,
202,
202,
2463,
2240,
18,
2640,
620,
12,
2
] |
Integer oldWidth = myWidth;
|
Integer oldWidth = getWidth();
|
public void setWidth(Integer _width) { Integer oldWidth = myWidth; myWidth = (Integer) _nullIfPrototyped(EOAttribute.WIDTH, _width); firePropertyChange(EOAttribute.WIDTH, oldWidth, getWidth()); }
|
46678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46678/0b3371f9954f17403da5e25363e71350cc422d19/EOAttribute.java/buggy/wolips/plugins/org.objectstyle.wolips.eomodeler/java/org/objectstyle/wolips/eomodeler/model/EOAttribute.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
20855,
12,
4522,
389,
2819,
13,
288,
565,
2144,
1592,
2384,
273,
8557,
5621,
565,
3399,
2384,
273,
261,
4522,
13,
389,
2011,
2047,
626,
3307,
6140,
12,
41,
51,
1499,
18,
10023,
16,
389,
2819,
1769,
565,
4452,
1396,
3043,
12,
41,
51,
1499,
18,
10023,
16,
1592,
2384,
16,
8557,
10663,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
282,
1071,
918,
20855,
12,
4522,
389,
2819,
13,
288,
565,
2144,
1592,
2384,
273,
8557,
5621,
565,
3399,
2384,
273,
261,
4522,
13,
389,
2011,
2047,
626,
3307,
6140,
12,
41,
51,
1499,
18,
10023,
16,
389,
2819,
1769,
565,
4452,
1396,
3043,
12,
41,
51,
1499,
18,
10023,
16,
1592,
2384,
16,
8557,
10663,
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
] |
logger.logThrow( Level.FINEST, exception, "createObject txn:{0} throws", txn); throw exception;
|
throw convertException( Level.FINEST, exception, "createObject txn:" + txn);
|
public long createObject(Transaction txn) { logger.log(Level.FINEST, "createObject txn:{0}", txn); RuntimeException exception; try { checkTxn(txn); long result; synchronized (objectIdLock) { if (nextObjectId > lastObjectId) { logger.log(Level.FINE, "Allocate more object IDs"); long newNextObjectId; com.sleepycat.db.Transaction bdbTxn = env.beginTransaction(null, null); boolean done = false; try { newNextObjectId = DataStoreHeader.getNextId( info, bdbTxn, allocationBlockSize); done = true; bdbTxn.commit(); } finally { if (!done) { bdbTxn.abort(); } } nextObjectId = newNextObjectId; lastObjectId = newNextObjectId + allocationBlockSize - 1; } result = nextObjectId++; } if (logger.isLoggable(Level.FINEST)) { logger.log(Level.FINEST, "createObject txn:{0} returns oid:{1,number,#}", txn, result); } return result; } catch (DatabaseException e) { exception = convertDatabaseException(e); } catch (RuntimeException e) { exception = e; } logger.logThrow( Level.FINEST, exception, "createObject txn:{0} throws", txn); throw exception; }
|
55380 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55380/f2409e3df45755d1dd89cfe075471660b1ad584d/DataStoreImpl.java/clean/src/server/j2se/com/sun/sgs/impl/service/data/store/DataStoreImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1525,
17109,
12,
3342,
7827,
13,
288,
202,
4901,
18,
1330,
12,
2355,
18,
42,
3740,
882,
16,
315,
2640,
921,
7827,
18611,
20,
1532,
16,
7827,
1769,
202,
11949,
1520,
31,
202,
698,
288,
202,
565,
866,
13789,
12,
24790,
1769,
202,
565,
1525,
563,
31,
202,
565,
3852,
261,
1612,
548,
2531,
13,
288,
202,
202,
430,
261,
4285,
16661,
405,
1142,
16661,
13,
288,
1082,
565,
1194,
18,
1330,
12,
2355,
18,
42,
3740,
16,
315,
27483,
1898,
733,
7115,
8863,
1082,
565,
1525,
394,
2134,
16661,
31,
1082,
565,
532,
18,
19607,
93,
2574,
18,
1966,
18,
3342,
324,
1966,
13789,
273,
1082,
202,
3074,
18,
10086,
3342,
12,
2011,
16,
446,
1769,
1082,
565,
1250,
2731,
273,
629,
31,
1082,
565,
775,
288,
1082,
202,
2704,
2134,
16661,
273,
22961,
1864,
18,
588,
2134,
548,
12,
9506,
565,
1123,
16,
324,
1966,
13789,
16,
13481,
22506,
1769,
1082,
202,
8734,
273,
638,
31,
1082,
202,
70,
1966,
13789,
18,
7371,
5621,
1082,
565,
289,
3095,
288,
1082,
202,
430,
16051,
8734,
13,
288,
9506,
565,
324,
1966,
13789,
18,
18623,
5621,
1082,
202,
97,
1082,
565,
289,
1082,
565,
1024,
16661,
273,
394,
2134,
16661,
31,
1082,
565,
1142,
16661,
273,
394,
2134,
16661,
397,
13481,
22506,
300,
404,
31,
202,
202,
97,
202,
202,
2088,
273,
1024,
16661,
9904,
31,
202,
565,
289,
202,
565,
309,
261,
4901,
18,
291,
1343,
8455,
12,
2355,
18,
42,
3740,
882,
3719,
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,
1525,
17109,
12,
3342,
7827,
13,
288,
202,
4901,
18,
1330,
12,
2355,
18,
42,
3740,
882,
16,
315,
2640,
921,
7827,
18611,
20,
1532,
16,
7827,
1769,
202,
11949,
1520,
31,
202,
698,
288,
202,
565,
866,
13789,
12,
24790,
1769,
202,
565,
1525,
563,
31,
202,
565,
3852,
261,
1612,
548,
2531,
13,
288,
202,
202,
430,
261,
4285,
16661,
405,
1142,
16661,
13,
288,
1082,
565,
1194,
18,
1330,
12,
2355,
18,
42,
3740,
16,
315,
27483,
1898,
733,
7115,
8863,
1082,
565,
1525,
394,
2134,
16661,
31,
1082,
565,
532,
18,
19607,
93,
2574,
18,
1966,
18,
3342,
324,
1966,
13789,
273,
1082,
202,
3074,
18,
10086,
3342,
12,
2011,
16,
446,
1769,
2
] |
def.putProp(Node.FUNCTION_PROP, new Short(i));
|
def.putIntProp(Node.FUNCTION_PROP, i);
|
private void generateFunctionInits(Vector fns) { // make an array to put them in, so they're available // for decompilation. push(fns.size()); addByteCode(ByteCode.ANEWARRAY, "org/mozilla/javascript/NativeFunction"); /* note that nested function decompilation currently * depends on the elements of the nestedFunctions array * being defined in source order. (per function/script, * starting from 0.) Change Parser and NativeFunction if * changing ordering. */ for (short i = 0; i < fns.size(); i++) { addByteCode(ByteCode.DUP); // make another reference to the array push(i); // to set up for aastore at end of loop Node def = (Node) fns.elementAt(i); Codegen codegen = new Codegen(); String fnClassName = codegen.generateCode(def, namesVector, classFilesVector, itsNameHelper); addByteCode(ByteCode.NEW, fnClassName); addByteCode(ByteCode.DUP); if (inFunction) { addByteCode(ByteCode.ALOAD_0); // load "this" argument } else { aload(variableObjectLocal); } aload(contextLocal); // load 'cx' addSpecialInvoke(fnClassName, "<init>", "(Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/Context;)", "V"); // 'fn' still on stack // load 'scope' if (inFunction) { addByteCode(ByteCode.ALOAD_0); // load "this" argument } else { aload(variableObjectLocal); } // load 'fnName' String str = def.getString(); if (str != null) { push(str); } else { addByteCode(ByteCode.ACONST_NULL); } // load 'cx' aload(contextLocal); // load boolean indicating whether fn name should be set in scope boolean setFnName = str != null && str.length() > 0 && ((FunctionNode) def).getFunctionType() == FunctionNode.FUNCTION_STATEMENT; addByteCode(setFnName ? ByteCode.ICONST_1 : ByteCode.ICONST_0); addScriptRuntimeInvoke("initFunction", "(Lorg/mozilla/javascript/NativeFunction;" + "Lorg/mozilla/javascript/Scriptable;" + "Ljava/lang/String;" + "Lorg/mozilla/javascript/Context;Z)", "Lorg/mozilla/javascript/NativeFunction;"); def.putProp(Node.FUNCTION_PROP, new Short(i)); addByteCode(ByteCode.AASTORE); // store NativeFunction // instance to array } // add the array as the nestedFunctions field; array should // still be on the stack. addByteCode(ByteCode.ALOAD_0); // load 'this' addByteCode(ByteCode.SWAP); // swap with original array reference classFile.add(ByteCode.PUTFIELD, "org/mozilla/javascript/NativeFunction", "nestedFunctions", "[Lorg/mozilla/javascript/NativeFunction;"); }
|
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/f6c346cc7699c007b0b9b27d9c3cdb5446052c64/Codegen.java/buggy/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
2083,
382,
1282,
12,
5018,
21930,
13,
288,
3639,
368,
1221,
392,
526,
358,
1378,
2182,
316,
16,
1427,
2898,
4565,
2319,
3639,
368,
364,
443,
2919,
6613,
18,
3639,
1817,
12,
74,
2387,
18,
1467,
10663,
3639,
527,
3216,
1085,
12,
3216,
1085,
18,
1258,
7245,
8552,
16,
315,
3341,
19,
8683,
15990,
19,
11242,
19,
9220,
2083,
8863,
3639,
1748,
4721,
716,
4764,
445,
443,
2919,
6613,
4551,
540,
380,
10935,
603,
326,
2186,
434,
326,
4764,
7503,
526,
540,
380,
3832,
2553,
316,
1084,
1353,
18,
225,
261,
457,
445,
19,
4263,
16,
540,
380,
5023,
628,
374,
12998,
225,
7576,
6783,
471,
16717,
2083,
309,
540,
380,
12770,
9543,
18,
540,
1195,
3639,
364,
261,
6620,
277,
273,
374,
31,
277,
411,
21930,
18,
1467,
5621,
277,
27245,
288,
5411,
527,
3216,
1085,
12,
3216,
1085,
18,
30387,
1769,
368,
1221,
4042,
2114,
358,
326,
526,
5411,
1817,
12,
77,
1769,
5411,
368,
358,
444,
731,
364,
279,
689,
479,
622,
679,
434,
2798,
5411,
2029,
1652,
273,
261,
907,
13,
21930,
18,
2956,
861,
12,
77,
1769,
5411,
3356,
4507,
23198,
273,
394,
3356,
4507,
5621,
5411,
514,
2295,
3834,
273,
23198,
18,
7163,
1085,
12,
536,
16,
1257,
5018,
16,
4766,
15604,
667,
2697,
5018,
16,
4766,
15604,
2097,
461,
2276,
1769,
13491,
527,
3216,
1085,
12,
3216,
1085,
18,
12917,
16,
2295,
3834,
1769,
5411,
527,
3216,
1085,
12,
3216,
1085,
18,
30387,
1769,
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,
3238,
918,
2103,
2083,
382,
1282,
12,
5018,
21930,
13,
288,
3639,
368,
1221,
392,
526,
358,
1378,
2182,
316,
16,
1427,
2898,
4565,
2319,
3639,
368,
364,
443,
2919,
6613,
18,
3639,
1817,
12,
74,
2387,
18,
1467,
10663,
3639,
527,
3216,
1085,
12,
3216,
1085,
18,
1258,
7245,
8552,
16,
315,
3341,
19,
8683,
15990,
19,
11242,
19,
9220,
2083,
8863,
3639,
1748,
4721,
716,
4764,
445,
443,
2919,
6613,
4551,
540,
380,
10935,
603,
326,
2186,
434,
326,
4764,
7503,
526,
540,
380,
3832,
2553,
316,
1084,
1353,
18,
225,
261,
457,
445,
19,
4263,
16,
540,
380,
5023,
628,
374,
12998,
225,
7576,
6783,
471,
16717,
2083,
309,
540,
380,
12770,
9543,
18,
540,
2
] |
markFilterSource.reset();
|
source.setBufferLine(buffer, bufferLine, bufferColumn);
|
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; }
|
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/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
] |
public org.quickfix.field.LegQty getLegQty() throws FieldNotFound { org.quickfix.field.LegQty value = new org.quickfix.field.LegQty();
|
public quickfix.field.LegQty getLegQty() throws FieldNotFound { quickfix.field.LegQty value = new quickfix.field.LegQty();
|
public org.quickfix.field.LegQty getLegQty() throws FieldNotFound { org.quickfix.field.LegQty value = new org.quickfix.field.LegQty(); getField(value); return value; }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/TradeCaptureReport.java/buggy/src/java/src/quickfix/fix44/TradeCaptureReport.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
53,
4098,
336,
8329,
53,
4098,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
53,
4098,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
53,
4098,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
53,
4098,
336,
8329,
53,
4098,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
53,
4098,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
53,
4098,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
haltTableUpdates(); IJobManager jobMan = Platform.getJobManager(); IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
|
haltTableUpdates(); IJobManager jobMan = Platform.getJobManager(); IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
|
private void internalRefresh(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException { int markerLimit = getMarkerLimit(); monitor .beginTask( Messages.getString("MarkerView.19"), markerLimit == -1 ? 60 : 100); //$NON-NLS-1$ haltTableUpdates(); IJobManager jobMan = Platform.getJobManager(); IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot(); try { monitor.subTask(WAITING_FOR_WORKSPACE_CHANGES_TO_FINISH); jobMan.beginRule(root, monitor); if (monitor.isCanceled()) { return; } monitor.subTask(SEARCHING_FOR_MARKERS); SubProgressMonitor subMonitor = new SubProgressMonitor(monitor, 10); MarkerList markerList = MarkerList.compute(getFilter(), subMonitor, true); if (monitor.isCanceled()) { return; } if (markerCountDirty) { monitor.subTask(REFRESHING_MARKER_COUNTS); totalMarkers = MarkerList.compute(getMarkerTypes()).length; markerCountDirty = false; } currentMarkers = markerList; } catch (CoreException e) { throw new InvocationTargetException(e); } finally { jobMan.endRule(root); } if (monitor.isCanceled()) { return; } // Exit immediately if the markers have changed in the meantime. Collection markers = Arrays.asList(currentMarkers.toArray()); if (markerLimit != -1) { monitor.subTask(FILTERING_ON_MARKER_LIMIT); SubProgressMonitor mon = new SubProgressMonitor(monitor, 40); markers = SortUtil.getFirst(markers, getSorter(), markerLimit, mon); if (monitor.isCanceled()) return; currentMarkers = new MarkerList(markers); } monitor.subTask(QUEUEING_VIEWER_UPDATES); SubProgressMonitor sub = new SubProgressMonitor(monitor, 50); setContents(markers, sub); if (monitor.isCanceled()) return; uiJob.schedule(); try { uiJob.join(); } catch (InterruptedException e) { uiJob.cancel(); monitor.done(); } finally { if (monitor.isCanceled()) { uiJob.cancel(); } } monitor.done(); }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/1ceb585b9b16047c6c580984b0c9962c41a22ba6/MarkerView.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerView.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2713,
8323,
12,
45,
5491,
7187,
6438,
13,
5411,
1216,
15342,
16,
7558,
288,
3639,
509,
5373,
3039,
273,
23232,
264,
3039,
5621,
3639,
6438,
7734,
263,
10086,
2174,
12,
13491,
4838,
18,
588,
780,
2932,
7078,
1767,
18,
3657,
6,
3631,
5373,
3039,
422,
300,
21,
692,
4752,
294,
2130,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
18389,
1388,
5121,
5621,
3639,
467,
2278,
1318,
1719,
5669,
273,
11810,
18,
588,
2278,
1318,
5621,
3639,
467,
8241,
2375,
1365,
273,
8128,
3773,
18,
588,
8241,
7675,
588,
2375,
5621,
3639,
775,
288,
5411,
6438,
18,
1717,
2174,
12,
19046,
1360,
67,
7473,
67,
10566,
6616,
67,
1792,
3388,
3991,
67,
4296,
67,
23259,
1769,
5411,
1719,
5669,
18,
10086,
2175,
12,
3085,
16,
6438,
1769,
5411,
309,
261,
10259,
18,
291,
23163,
10756,
288,
7734,
327,
31,
5411,
289,
5411,
6438,
18,
1717,
2174,
12,
17251,
1360,
67,
7473,
67,
12693,
11367,
1769,
5411,
2592,
5491,
7187,
720,
7187,
273,
394,
2592,
5491,
7187,
12,
10259,
16,
1728,
1769,
5411,
14742,
682,
5373,
682,
273,
14742,
682,
18,
9200,
12,
588,
1586,
9334,
720,
7187,
16,
638,
1769,
5411,
309,
261,
10259,
18,
291,
23163,
10756,
288,
7734,
327,
31,
5411,
289,
5411,
309,
261,
11145,
1380,
10785,
13,
288,
7734,
6438,
18,
1717,
2174,
12,
10771,
14753,
1360,
67,
25989,
67,
7240,
55,
1769,
7734,
2078,
21644,
273,
14742,
682,
18,
9200,
12,
588,
7078,
2016,
1435,
2934,
2469,
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,
2713,
8323,
12,
45,
5491,
7187,
6438,
13,
5411,
1216,
15342,
16,
7558,
288,
3639,
509,
5373,
3039,
273,
23232,
264,
3039,
5621,
3639,
6438,
7734,
263,
10086,
2174,
12,
13491,
4838,
18,
588,
780,
2932,
7078,
1767,
18,
3657,
6,
3631,
5373,
3039,
422,
300,
21,
692,
4752,
294,
2130,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
18389,
1388,
5121,
5621,
3639,
467,
2278,
1318,
1719,
5669,
273,
11810,
18,
588,
2278,
1318,
5621,
3639,
467,
8241,
2375,
1365,
273,
8128,
3773,
18,
588,
8241,
7675,
588,
2375,
5621,
3639,
775,
288,
5411,
6438,
18,
1717,
2174,
12,
19046,
1360,
67,
7473,
67,
10566,
6616,
67,
1792,
3388,
3991,
67,
4296,
67,
23259,
2
] |
log.warn(ex.getMessage());
|
public void run () { if (enhanced) sfParser = new WTDSFParser(this); while (keepTrucking) { try { bk = (Stream5250)dsq.get(); } catch (InterruptedException ie) { System.out.println(" vt thread interrupted and stopping "); keepTrucking = false; continue; } // lets play nicely with the others on the playground// me.yield(); Thread.yield(); invited = false; screen52.setCursorActive(false);// System.out.println("operation code: " + bk.getOpCode()); if (bk == null) continue; switch (bk.getOpCode()) { case 00:// System.out.println("No operation"); break; case 1:// System.out.println("Invite Operation"); parseIncoming();// screen52.setKeyboardLocked(false); pendingUnlock = true; cursorOn = true; setInvited(); break; case 2:// System.out.println("Output Only"); parseIncoming();// System.out.println(screen52.dirty); screen52.updateDirty(); // invited = true; break; case 3:// System.out.println("Put/Get Operation"); parseIncoming();// inviteIt =true; setInvited(); if (!firstScreen) { firstScreen = true; controller.fireSessionChanged(TN5250jConstants.STATE_CONNECTED); } break; case 4:// System.out.println("Save Screen Operation"); parseIncoming(); break; case 5:// System.out.println("Restore Screen Operation"); parseIncoming(); break; case 6:// System.out.println("Read Immediate"); sendAidKey(0); break; case 7:// System.out.println("Reserved"); break; case 8:// System.out.println("Read Screen Operation"); try { readScreen(); } catch (IOException ex) { } break; case 9:// System.out.println("Reserved"); break; case 10:// System.out.println("Cancel Invite Operation"); cancelInvite(); break; case 11:// System.out.println("Turn on message light"); screen52.setMessageLightOn(); screen52.setCursorActive(true); break; case 12:// System.out.println("Turn off Message light"); screen52.setMessageLightOff(); screen52.setCursorActive(true); break; default: break; } if (screen52.isUsingGuiInterface()) screen52.drawFields();// if (screen52.screen[0][1].getChar() == '#' &&// screen52.screen[0][2].getChar() == '!')// execCmd();// else { if (screen52.isHotSpots()) { screen52.checkHotSpots(); } try {// SwingUtilities.invokeAndWait(// new Runnable () {// public void run() {// screen52.updateDirty();// }// }// ); screen52.updateDirty(); controller.validate();// System.out.println("update dirty"); } catch (Exception exd ) { System.out.println(" tnvt.run: " + exd.getMessage()); exd.printStackTrace(); } if (pendingUnlock && !screen52.isStatusErrorCode()) { screen52.setKeyboardLocked(false); pendingUnlock = false; } if (cursorOn && !screen52.isKeyboardLocked()) { screen52.setCursorActive(true); cursorOn = false; } // lets play nicely with the others on the playground //me.yield(); Thread.yield(); } }
|
4212 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4212/41959614f13a424f5e04ebb4ca1b8fee5af0f908/tnvt.java/buggy/src/org/tn5250j/tnvt.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
613,
18,
8935,
12,
338,
18,
24906,
10663,
613,
18,
8935,
12,
338,
18,
24906,
10663,
613,
18,
8935,
12,
338,
18,
24906,
10663,
1071,
1330,
18,
8935,
12,
338,
18,
24906,
10663,
918,
1330,
18,
8935,
12,
338,
18,
24906,
10663,
1086,
1330,
18,
8935,
12,
338,
18,
24906,
10663,
1832,
1330,
18,
8935,
12,
338,
18,
24906,
10663,
288,
1330,
18,
8935,
12,
338,
18,
24906,
10663,
613,
18,
8935,
12,
338,
18,
24906,
10663,
613,
18,
8935,
12,
338,
18,
24906,
10663,
613,
18,
8935,
12,
338,
18,
24906,
10663,
613,
18,
8935,
12,
338,
18,
24906,
10663,
613,
18,
8935,
12,
338,
18,
24906,
10663,
309,
1330,
18,
8935,
12,
338,
18,
24906,
10663,
261,
275,
17221,
13,
1330,
18,
8935,
12,
338,
18,
24906,
10663,
613,
18,
8935,
12,
338,
18,
24906,
10663,
613,
18,
8935,
12,
338,
18,
24906,
10663,
613,
18,
8935,
12,
338,
18,
24906,
10663,
613,
18,
8935,
12,
338,
18,
24906,
10663,
613,
18,
8935,
12,
338,
18,
24906,
10663,
613,
18,
8935,
12,
338,
18,
24906,
10663,
613,
18,
8935,
12,
338,
18,
24906,
10663,
613,
18,
8935,
12,
338,
18,
24906,
10663,
9033,
2678,
1330,
18,
8935,
12,
338,
18,
24906,
10663,
273,
1330,
18,
8935,
12,
338,
18,
24906,
10663,
394,
1330,
18,
8935,
12,
338,
18,
24906,
10663,
678,
56,
3948,
42,
2678,
12,
2211,
1769,
1330,
18,
8935,
12,
338,
18,
24906,
10663,
613,
18,
8935,
12,
338,
18,
24906,
10663,
613,
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,
613,
18,
8935,
12,
338,
18,
24906,
10663,
613,
18,
8935,
12,
338,
18,
24906,
10663,
613,
18,
8935,
12,
338,
18,
24906,
10663,
1071,
1330,
18,
8935,
12,
338,
18,
24906,
10663,
918,
1330,
18,
8935,
12,
338,
18,
24906,
10663,
1086,
1330,
18,
8935,
12,
338,
18,
24906,
10663,
1832,
1330,
18,
8935,
12,
338,
18,
24906,
10663,
288,
1330,
18,
8935,
12,
338,
18,
24906,
10663,
613,
18,
8935,
12,
338,
18,
24906,
10663,
613,
18,
8935,
12,
338,
18,
24906,
10663,
613,
18,
8935,
12,
338,
18,
24906,
10663,
613,
18,
8935,
12,
338,
18,
24906,
10663,
613,
18,
8935,
12,
338,
18,
24906,
10663,
309,
1330,
18,
8935,
12,
338,
18,
24906,
10663,
261,
2
] |
|
OneToMany oneToMany = (OneToMany) collection.getElement(); String entityName = oneToMany.getReferencedEntityName(); PersistentClass referenced = mappings.getClass( entityName ); Backref prop = new Backref(); prop.setEntityName(property.getDomainClass().getFullName()); prop.setName('_' + property.getDomainClass().getShortName() + '_' + property.getName() + "Backref" ); prop.setUpdateable( true ); prop.setInsertable( true ); prop.setCollectionRole( collection.getRole() ); prop.setValue( collection.getKey() ); prop.setOptional( true ); referenced.addProperty( prop );
|
bindUnidirectionalOneToMany(property, mappings, collection);
|
private static void bindCollectionSecondPass(GrailsDomainClassProperty property, Mappings mappings, Map persistentClasses, Collection collection, Map inheritedMetas) { PersistentClass associatedClass = null; // Configure one-to-many if(collection.isOneToMany()) { OneToMany oneToMany = (OneToMany)collection.getElement(); String associatedClassName = oneToMany.getReferencedEntityName(); associatedClass = (PersistentClass)persistentClasses.get(associatedClassName); // if there is no persistent class for the association throw // exception if(associatedClass == null) { throw new MappingException( "Association references unmapped class: " + oneToMany.getReferencedEntityName() ); } oneToMany.setAssociatedClass( associatedClass ); if(!property.isManyToMany()) collection.setCollectionTable( associatedClass.getTable() ); collection.setLazy(true); // is it sorted? if(SortedSet.class.isAssignableFrom(property.getType())) { collection.setSorted(true); } LOG.info( "Mapping collection: " + collection.getRole() + " -> " + collection.getCollectionTable().getName() ); } // setup the primary key references KeyValue keyValue; String propertyRef = collection.getReferencedPropertyName(); // this is to support mapping by a property if(propertyRef == null) { keyValue = collection.getOwner().getIdentifier(); } else { keyValue = (KeyValue)collection.getOwner().getProperty( propertyRef ).getValue(); } DependantValue key = new DependantValue(collection.getCollectionTable(), keyValue); key.setTypeName(null); // if(property.isBidirectional()) { GrailsDomainClassProperty otherSide = property.getOtherSide(); if(otherSide.isManyToOne()) { collection.setInverse(true); Iterator mappedByColumns = associatedClass.getProperty( otherSide.getName() ).getValue().getColumnIterator(); while(mappedByColumns.hasNext()) { Column column = (Column)mappedByColumns.next(); linkValueUsingAColumnCopy(otherSide,column,key); } } else if(property.isManyToMany()) { if(!property.isOwningSide()) collection.setInverse(true); bindSimpleValue( property,key,mappings ); } } else { bindSimpleValue( property,key,mappings ); } collection.setKey( key ); // make required and non-updateable key.setNullable(false); key.setUpdateable(false); // if we have a many-to-many// if(property.isManyToMany()) {// ManyToOne element = new ManyToOne( collection.getCollectionTable() );// collection.setElement(element);// bindManyToOne(property,element, mappings);// } else if ( property.isOneToMany() && !property.isBidirectional() ) { // for non-inverse one-to-many, with a not-null fk, add a backref! OneToMany oneToMany = (OneToMany) collection.getElement(); String entityName = oneToMany.getReferencedEntityName(); PersistentClass referenced = mappings.getClass( entityName ); Backref prop = new Backref(); prop.setEntityName(property.getDomainClass().getFullName()); prop.setName('_' + property.getDomainClass().getShortName() + '_' + property.getName() + "Backref" ); prop.setUpdateable( true ); prop.setInsertable( true ); prop.setCollectionRole( collection.getRole() ); prop.setValue( collection.getKey() ); prop.setOptional( true ); referenced.addProperty( prop ); } }
|
26970 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/26970/fe351f9f0f376d45dd59d502c6d56321bf14f907/GrailsDomainBinder.java/buggy/src/persistence/org/codehaus/groovy/grails/orm/hibernate/cfg/GrailsDomainBinder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
1993,
2532,
8211,
6433,
12,
14571,
14573,
3748,
797,
1396,
1272,
16,
1635,
4675,
7990,
16,
1635,
9195,
4818,
16,
2200,
1849,
16,
1635,
12078,
30853,
13,
288,
202,
202,
11906,
797,
3627,
797,
273,
446,
31,
202,
202,
759,
11758,
1245,
17,
869,
17,
9353,
202,
202,
430,
12,
5548,
18,
291,
3335,
12601,
10756,
288,
1082,
202,
3335,
12601,
1245,
12601,
273,
261,
3335,
12601,
13,
5548,
18,
21336,
5621,
1082,
202,
780,
3627,
3834,
273,
1245,
12601,
18,
588,
22344,
19441,
5621,
25083,
202,
28441,
797,
273,
261,
11906,
797,
13,
19393,
4818,
18,
588,
12,
28441,
3834,
1769,
1082,
202,
759,
309,
1915,
353,
1158,
9195,
667,
364,
326,
6384,
604,
1082,
202,
759,
1520,
1082,
202,
430,
12,
28441,
797,
422,
446,
13,
288,
9506,
202,
12849,
394,
30896,
12,
315,
7174,
5351,
640,
13654,
667,
30,
315,
397,
1245,
12601,
18,
588,
22344,
19441,
1435,
11272,
1082,
202,
97,
25083,
202,
476,
12601,
18,
542,
19233,
797,
12,
3627,
797,
11272,
1082,
202,
430,
12,
5,
4468,
18,
291,
5594,
12601,
10756,
9506,
202,
5548,
18,
542,
2532,
1388,
12,
3627,
797,
18,
588,
1388,
1435,
11272,
1082,
202,
5548,
18,
542,
14443,
12,
3767,
1769,
25083,
202,
759,
353,
518,
3115,
35,
1082,
202,
430,
12,
11739,
694,
18,
1106,
18,
291,
7961,
1265,
12,
4468,
18,
588,
559,
1435,
3719,
288,
9506,
202,
5548,
18,
542,
11739,
12,
3767,
1769,
1082,
202,
97,
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,
1152,
760,
918,
1993,
2532,
8211,
6433,
12,
14571,
14573,
3748,
797,
1396,
1272,
16,
1635,
4675,
7990,
16,
1635,
9195,
4818,
16,
2200,
1849,
16,
1635,
12078,
30853,
13,
288,
202,
202,
11906,
797,
3627,
797,
273,
446,
31,
202,
202,
759,
11758,
1245,
17,
869,
17,
9353,
202,
202,
430,
12,
5548,
18,
291,
3335,
12601,
10756,
288,
1082,
202,
3335,
12601,
1245,
12601,
273,
261,
3335,
12601,
13,
5548,
18,
21336,
5621,
1082,
202,
780,
3627,
3834,
273,
1245,
12601,
18,
588,
22344,
19441,
5621,
25083,
202,
28441,
797,
273,
261,
11906,
797,
13,
19393,
4818,
18,
588,
12,
28441,
3834,
1769,
1082,
202,
759,
309,
1915,
353,
1158,
9195,
667,
364,
326,
6384,
2
] |
public void addMessage(String field, Severity severity, String message) { addMessage(new DefaultValidationMessage(field, severity, message));
|
public void addMessage(ValidationMessage validationMessage) { if (messages.add(validationMessage)) { messagesSubSets.clear(); }
|
public void addMessage(String field, Severity severity, String message) { addMessage(new DefaultValidationMessage(field, severity, message)); }
|
55916 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55916/a510d871fdc3c1c0e0496cec98edbe106dc25b4c/DefaultValidationResults.java/buggy/src/org/springframework/binding/validation/DefaultValidationResults.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
16487,
12,
780,
652,
16,
23760,
11426,
16,
514,
883,
13,
288,
3639,
16487,
12,
2704,
2989,
4354,
1079,
12,
1518,
16,
11426,
16,
883,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
16487,
12,
780,
652,
16,
23760,
11426,
16,
514,
883,
13,
288,
3639,
16487,
12,
2704,
2989,
4354,
1079,
12,
1518,
16,
11426,
16,
883,
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,
-100,
-100,
-100,
-100,
-100,
-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 IOHandler getIOHandlerByFileno(int fileno) { return (IOHandler) ((WeakReference) getRuntime().ioHandlers.get(new Integer(fileno))).get();
|
public IOHandler getIOHandlerByFileno(int aFileno) { return (IOHandler) ((WeakReference) getRuntime().ioHandlers.get(new Integer(aFileno))).get();
|
public IOHandler getIOHandlerByFileno(int fileno) { return (IOHandler) ((WeakReference) getRuntime().ioHandlers.get(new Integer(fileno))).get(); }
|
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/ca6b16e996ea9af83ce593594b9c69b9364a9924/RubyIO.java/buggy/src/org/jruby/RubyIO.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1665,
1503,
336,
4294,
1503,
858,
25579,
5764,
12,
474,
24256,
13,
288,
3639,
327,
261,
4294,
1503,
13,
14015,
3218,
581,
2404,
13,
18814,
7675,
1594,
6919,
18,
588,
12,
2704,
2144,
12,
7540,
5764,
3719,
2934,
588,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1665,
1503,
336,
4294,
1503,
858,
25579,
5764,
12,
474,
24256,
13,
288,
3639,
327,
261,
4294,
1503,
13,
14015,
3218,
581,
2404,
13,
18814,
7675,
1594,
6919,
18,
588,
12,
2704,
2144,
12,
7540,
5764,
3719,
2934,
588,
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
] |
/* * (non-Javadoc) * * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, * java.lang.Object, java.lang.Object) */ public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { if (newInput != null) {
|
/* * (non-Javadoc) * * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, * java.lang.Object, java.lang.Object) */ public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { if (newInput != null) {
|
protected void initContentProvider() { IContentProvider provider = new IStructuredContentProvider() { /* * (non-Javadoc) * * @see org.eclipse.jface.viewers.IContentProvider#dispose() */ public void dispose() { //Nothing of interest here } /* * (non-Javadoc) * * @see org.eclipse.jface.viewers.IStructuredContentProvider#getElements(java.lang.Object) */ public Object[] getElements(Object inputElement) { return getManager().getErrors().toArray(); } /* * (non-Javadoc) * * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, * java.lang.Object, java.lang.Object) */ public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { if (newInput != null) { refreshJobList(); } } }; jobListViewer.setContentProvider(provider); jobListViewer.setInput(getManager()); jobListViewer.setSelection(new StructuredSelection(selectedError)); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/3a0562fdabac5839be163527744a56eaeeb31ec5/JobErrorDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/JobErrorDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1208,
1350,
2249,
1435,
288,
3639,
467,
1350,
2249,
2893,
273,
394,
467,
30733,
1350,
2249,
1435,
288,
5411,
1748,
2398,
380,
261,
5836,
17,
24060,
13,
2398,
380,
2868,
380,
632,
5946,
2358,
18,
20416,
18,
78,
865,
18,
1945,
414,
18,
45,
1350,
2249,
7,
2251,
4150,
1435,
2398,
1195,
5411,
1071,
918,
15825,
1435,
288,
7734,
368,
23814,
434,
16513,
2674,
5411,
289,
5411,
1748,
2398,
380,
261,
5836,
17,
24060,
13,
2398,
380,
2868,
380,
632,
5946,
2358,
18,
20416,
18,
78,
865,
18,
1945,
414,
18,
45,
30733,
1350,
2249,
7,
588,
3471,
12,
6290,
18,
4936,
18,
921,
13,
2398,
1195,
5411,
1071,
1033,
8526,
8886,
12,
921,
810,
1046,
13,
288,
7734,
327,
14154,
7675,
588,
4229,
7675,
31447,
5621,
5411,
289,
5411,
1748,
2398,
380,
261,
5836,
17,
24060,
13,
2398,
380,
2868,
380,
632,
5946,
2358,
18,
20416,
18,
78,
865,
18,
1945,
414,
18,
45,
1350,
2249,
7,
2630,
5033,
12,
3341,
18,
20416,
18,
78,
865,
18,
1945,
414,
18,
18415,
16,
2398,
380,
1377,
2252,
18,
4936,
18,
921,
16,
2252,
18,
4936,
18,
921,
13,
2398,
1195,
5411,
1071,
918,
810,
5033,
12,
18415,
14157,
16,
1033,
1592,
1210,
16,
10792,
1033,
394,
1210,
13,
288,
7734,
309,
261,
2704,
1210,
480,
446,
13,
288,
6862,
202,
9144,
2278,
682,
5621,
9506,
202,
97,
5411,
289,
3639,
289,
31,
3639,
1719,
682,
18415,
18,
542,
1350,
2249,
12,
6778,
1769,
3639,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1208,
1350,
2249,
1435,
288,
3639,
467,
1350,
2249,
2893,
273,
394,
467,
30733,
1350,
2249,
1435,
288,
5411,
1748,
2398,
380,
261,
5836,
17,
24060,
13,
2398,
380,
2868,
380,
632,
5946,
2358,
18,
20416,
18,
78,
865,
18,
1945,
414,
18,
45,
1350,
2249,
7,
2251,
4150,
1435,
2398,
1195,
5411,
1071,
918,
15825,
1435,
288,
7734,
368,
23814,
434,
16513,
2674,
5411,
289,
5411,
1748,
2398,
380,
261,
5836,
17,
24060,
13,
2398,
380,
2868,
380,
632,
5946,
2358,
18,
20416,
18,
78,
865,
18,
1945,
414,
18,
45,
30733,
1350,
2249,
7,
588,
3471,
12,
6290,
18,
4936,
18,
921,
13,
2398,
1195,
5411,
1071,
1033,
8526,
8886,
12,
921,
810,
1046,
2
] |
if (argsList.size() > 0) { array = RubyArray.m_newArray(ruby, argsList);
|
if (args.size() > 0) { array = RubyArray.m_newArray(ruby, args);
|
public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // +++ = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby.getRubyScope().push(); if (getRefValue() != null) { // savedCref = ruby.getCRef(); s.a. ruby.setCRef(getRefValue()); ruby.getRubyFrame().setCbase(getRefValue()); } if (getTable() != null) { // ? +++ // List tmpList = Collections.nCopies(body.nd_tbl()[0].intValue() + 1, getRuby().getNil()); // ? --- // localVarsList = new ShiftableList(new ArrayList(tmpList)); // localVarsList.set(0, body); // localVarsList.shift(1); localVarsList = new RubyPointer(ruby.getNil(), getTable().getId(0).intValue() + 1); localVarsList.set(0, this); // +++ // localVarsList.set(3, argsList, argsList.size()); // --- localVarsList.inc(); ruby.getRubyScope().setLocalVars(localVarsList); ruby.getRubyScope().setLocalTbl(getTable()); } else { localVarsList = ruby.getRubyScope().getLocalVars(); ruby.getRubyScope().setLocalVars(null); ruby.getRubyScope().setLocalTbl(null); } Node body = getNextNode(); RubyVarmap.push(ruby); // PUSH_TAG(PROT_FUNC); RubyObject result = ruby.getNil(); try { Node node = null; int i; if (body.getType() == Constants.NODE_ARGS) { node = body; body = null; } else if (body.getType() == Constants.NODE_BLOCK) { node = body.getHeadNode(); body = body.getNextNode(); } if (node != null) { if (node.getType() != Constants.NODE_ARGS) { // rb_bug("no argument-node"); } i = node.getCount(); if (i > (args != null ? args.length : 0)) { throw new RubyArgumentException("wrong # of arguments(" + args.length + " for " + i + ")"); } if (node.getRest() == -1) { int opt = i; Node optNode = node.getOptNode(); while (optNode != null) { opt++; optNode = optNode.getNextNode(); } if (opt < (args != null ? args.length : 0)) { throw new RubyArgumentException("wrong # of arguments(" + args.length + " for " + opt + ")"); } ruby.getRubyFrame().setArgs(localVarsList != null ? localVarsList.getPointer(2) : null); } if (localVarsList != null) { if (i > 0) { localVarsList.inc(2); for (int j = 0; j < i; j++ ) { localVarsList.set(j, argsList.get(j)); } localVarsList.dec(2); } argsList.inc(i); if (node.getOptNode() != null) { Node optNode = node.getOptNode(); while (optNode != null && argsList.size() != 0) { ((AssignableNode)optNode.getHeadNode()).assign(ruby, recv, argsList.getRuby(0), true); argsList.inc(1); optNode = optNode.getNextNode(); } recv.eval(optNode); } if (node.getRest() >= 0) { RubyArray array = null; if (argsList.size() > 0) { array = RubyArray.m_newArray(ruby, argsList); } else { array = RubyArray.m_newArray(ruby, 0); } localVarsList.set(node.getRest(), array); } } } result = recv.eval(body); } catch (ReturnException rExcptn) { } RubyVarmap.pop(ruby); ruby.getRubyScope().pop(); ruby.setCRef(savedCref); return result; }
|
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
745,
12,
54,
10340,
22155,
16,
19817,
921,
10665,
16,
19817,
548,
612,
16,
19817,
921,
8526,
833,
16,
1250,
1158,
8051,
13,
288,
3639,
385,
1957,
907,
5198,
39,
1734,
273,
22155,
18,
588,
39,
1957,
5621,
368,
965,
15,
273,
446,
31,
3639,
368,
5848,
8526,
1191,
5555,
273,
446,
31,
7734,
19817,
4926,
833,
682,
273,
394,
19817,
4926,
12,
1968,
1769,
3639,
19817,
4926,
1191,
5555,
682,
273,
446,
31,
7734,
22155,
18,
588,
54,
10340,
3876,
7675,
6206,
5621,
7734,
309,
261,
588,
30556,
1435,
480,
446,
13,
288,
5411,
368,
5198,
39,
1734,
273,
22155,
18,
588,
39,
1957,
5621,
272,
18,
69,
18,
5411,
22155,
18,
542,
39,
1957,
12,
588,
30556,
10663,
5411,
22155,
18,
588,
54,
10340,
3219,
7675,
542,
39,
1969,
12,
588,
30556,
10663,
3639,
289,
3639,
309,
261,
588,
1388,
1435,
480,
446,
13,
288,
13491,
368,
692,
965,
15,
5411,
368,
987,
1853,
682,
273,
5737,
18,
82,
15670,
12,
3432,
18,
4880,
67,
16187,
1435,
63,
20,
8009,
474,
620,
1435,
397,
404,
16,
4170,
10340,
7675,
588,
12616,
10663,
5411,
368,
692,
9948,
5411,
368,
1191,
5555,
682,
273,
394,
2638,
430,
2121,
682,
12,
2704,
2407,
12,
5645,
682,
10019,
5411,
368,
1191,
5555,
682,
18,
542,
12,
20,
16,
1417,
1769,
5411,
368,
1191,
5555,
682,
18,
4012,
12,
21,
1769,
13491,
1191,
5555,
682,
273,
394,
19817,
4926,
12,
27768,
18,
588,
12616,
9334,
5638,
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,
19817,
921,
745,
12,
54,
10340,
22155,
16,
19817,
921,
10665,
16,
19817,
548,
612,
16,
19817,
921,
8526,
833,
16,
1250,
1158,
8051,
13,
288,
3639,
385,
1957,
907,
5198,
39,
1734,
273,
22155,
18,
588,
39,
1957,
5621,
368,
965,
15,
273,
446,
31,
3639,
368,
5848,
8526,
1191,
5555,
273,
446,
31,
7734,
19817,
4926,
833,
682,
273,
394,
19817,
4926,
12,
1968,
1769,
3639,
19817,
4926,
1191,
5555,
682,
273,
446,
31,
7734,
22155,
18,
588,
54,
10340,
3876,
7675,
6206,
5621,
7734,
309,
261,
588,
30556,
1435,
480,
446,
13,
288,
5411,
368,
5198,
39,
1734,
273,
22155,
18,
588,
39,
1957,
5621,
272,
18,
69,
18,
5411,
22155,
18,
542,
39,
2
] |
while (bytesRead != -1 && bytesRead != byteArray.length) bytesRead += input.read(byteArray, bytesRead, byteArray.length - bytesRead);
|
while (bytesRead != -1 && bytesRead != byteArray.length) bytesRead += input.read(byteArray, bytesRead, byteArray.length - bytesRead);
|
public Record next() { Leader ldr; int bytesRead = 0; record = factory.newRecord(); try { byte[] byteArray = new byte[24]; bytesRead = input.read(byteArray); if (bytesRead == -1) throw new MarcException("no data to read"); while (bytesRead != -1 && bytesRead != byteArray.length) bytesRead += input.read(byteArray, bytesRead, byteArray.length - bytesRead); try { ldr = parseLeader(byteArray); } catch (IOException e) { throw new MarcException("error parsing leader with data: " + new String(byteArray), e); } switch (ldr.getCharCodingScheme()) { case '#': if (encoding == null) encoding = "ISO8859_1"; break; case 'a': if (encoding == null) encoding = "UTF8"; } record.setLeader(ldr); int directoryLength = ldr.getBaseAddressOfData() - (24 + 1); if ((directoryLength % 12) != 0) throw new MarcException("invalid directory"); int size = directoryLength / 12; String[] tags = new String[size]; int[] lengths = new int[size]; byte[] tag = new byte[3]; byte[] length = new byte[4]; byte[] start = new byte[5]; String tmp; for (int i = 0; i < size; i++) { bytesRead = input.read(tag); while (bytesRead != -1 && bytesRead != tag.length) bytesRead += input.read(tag, bytesRead, tag.length - bytesRead); tmp = new String(tag); tags[i] = tmp; bytesRead = input.read(length); while (bytesRead != -1 && bytesRead != length.length) bytesRead += input.read(length, bytesRead, length.length - bytesRead); tmp = new String(length); lengths[i] = Integer.parseInt(tmp); bytesRead = input.read(start); while (bytesRead != -1 && bytesRead != start.length) bytesRead += input.read(start, bytesRead, start.length - bytesRead); } if (input.read() != Constants.FT) throw new MarcException( "expected field terminator at end of directory"); for (int i = 0; i < size; i++) { if (Verifier.isControlField(tags[i])) { byteArray = new byte[lengths[i] - 1]; bytesRead = input.read(byteArray); while (bytesRead != -1 && bytesRead != byteArray.length) bytesRead += input.read(byteArray, bytesRead, byteArray.length - bytesRead); if (input.read() != Constants.FT) throw new MarcException("expected field terminator at end of field"); ControlField field = factory.newControlField(); field.setTag(tags[i]); field.setData(getDataAsString(byteArray)); record.addVariableField(field); } else { byteArray = new byte[lengths[i]]; bytesRead = input.read(byteArray); while (bytesRead != -1 && bytesRead != byteArray.length) bytesRead += input.read(byteArray, bytesRead, byteArray.length - bytesRead); try { record.addVariableField(parseDataField(tags[i], byteArray)); } catch (IOException e) { throw new MarcException( "error parsing data field for tag: " + tags[i] + " with data: " + new String(byteArray), e); } } } if (input.read() != Constants.RT) throw new MarcException("expected record terminator"); } catch (IOException e) { throw new MarcException("an error occured reading input", e); } return record; }
|
54133 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54133/53a199c3caecdc6610e6f53a61b16c64b55391d8/MarcStreamReader.java/buggy/src/org/marc4j/MarcStreamReader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5059,
1024,
1435,
288,
202,
202,
15254,
328,
3069,
31,
202,
202,
474,
17244,
273,
374,
31,
202,
202,
3366,
273,
3272,
18,
2704,
2115,
5621,
202,
202,
698,
288,
1082,
202,
7229,
8526,
17774,
273,
394,
1160,
63,
3247,
15533,
1082,
202,
3890,
1994,
273,
810,
18,
896,
12,
7229,
1076,
1769,
1082,
202,
430,
261,
3890,
1994,
422,
300,
21,
13,
9506,
202,
12849,
394,
490,
11828,
503,
2932,
2135,
501,
358,
855,
8863,
1082,
202,
17523,
261,
3890,
1994,
480,
300,
21,
597,
17244,
480,
17774,
18,
2469,
13,
9506,
202,
3890,
1994,
1011,
810,
18,
896,
12,
7229,
1076,
16,
17244,
16,
17774,
18,
2469,
25083,
202,
17,
17244,
1769,
1082,
202,
698,
288,
9506,
202,
14796,
273,
1109,
15254,
12,
7229,
1076,
1769,
1082,
202,
97,
1044,
261,
14106,
425,
13,
288,
9506,
202,
12849,
394,
490,
11828,
503,
2932,
1636,
5811,
10302,
598,
501,
30,
315,
25083,
202,
15,
394,
514,
12,
7229,
1076,
3631,
425,
1769,
1082,
202,
97,
1082,
202,
9610,
261,
14796,
18,
588,
2156,
30315,
9321,
10756,
288,
1082,
202,
3593,
2946,
4278,
9506,
202,
430,
261,
5999,
422,
446,
13,
6862,
202,
5999,
273,
315,
12609,
17258,
67,
21,
14432,
9506,
202,
8820,
31,
1082,
202,
3593,
296,
69,
4278,
9506,
202,
430,
261,
5999,
422,
446,
13,
6862,
202,
5999,
273,
315,
5159,
28,
14432,
1082,
202,
97,
1082,
202,
3366,
18,
542,
15254,
12,
14796,
1769,
1082,
202,
474,
1867,
1782,
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,
5059,
1024,
1435,
288,
202,
202,
15254,
328,
3069,
31,
202,
202,
474,
17244,
273,
374,
31,
202,
202,
3366,
273,
3272,
18,
2704,
2115,
5621,
202,
202,
698,
288,
1082,
202,
7229,
8526,
17774,
273,
394,
1160,
63,
3247,
15533,
1082,
202,
3890,
1994,
273,
810,
18,
896,
12,
7229,
1076,
1769,
1082,
202,
430,
261,
3890,
1994,
422,
300,
21,
13,
9506,
202,
12849,
394,
490,
11828,
503,
2932,
2135,
501,
358,
855,
8863,
1082,
202,
17523,
261,
3890,
1994,
480,
300,
21,
597,
17244,
480,
17774,
18,
2469,
13,
9506,
202,
3890,
1994,
1011,
810,
18,
896,
12,
7229,
1076,
16,
17244,
16,
17774,
18,
2469,
25083,
202,
17,
17244,
1769,
1082,
202,
2
] |
map.addExpectedMissing("key"); assertEquals("one entry", null, map.get("key")); map.verify(); }
|
map.addExpectedMissing("key"); assertEquals("one entry", null, map.get("key")); map.verify(); }
|
public void testExpectMissingEntry() { ExpectationMap map = new ExpectationMap("map"); map.addExpectedMissing("key"); assertEquals("one entry", null, map.get("key")); map.verify(); }
|
54028 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54028/4aaf60d8fa76687c3492c508dd98678fbbd3d935/ExpectationMapTest.java/buggy/jmock/core/src/test/jmock/expectation/ExpectationMapTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
11988,
4841,
1622,
1435,
288,
3639,
15510,
367,
863,
852,
273,
394,
15510,
367,
863,
2932,
1458,
8863,
3639,
852,
18,
1289,
6861,
4841,
2932,
856,
8863,
3639,
1815,
8867,
2932,
476,
1241,
3113,
446,
16,
852,
18,
588,
2932,
856,
7923,
1769,
3639,
852,
18,
8705,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
11988,
4841,
1622,
1435,
288,
3639,
15510,
367,
863,
852,
273,
394,
15510,
367,
863,
2932,
1458,
8863,
3639,
852,
18,
1289,
6861,
4841,
2932,
856,
8863,
3639,
1815,
8867,
2932,
476,
1241,
3113,
446,
16,
852,
18,
588,
2932,
856,
7923,
1769,
3639,
852,
18,
8705,
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
] |
public RubyClass defineClass(String name, RubyClass superClass) { if (superClass == null) { superClass = getClasses().getObjectClass(); } RubyClass newClass = RubyClass.newClass(this, superClass, name); newClass.makeMetaClass(superClass.getMetaClass()); newClass.inheritedBy(superClass); classes.putClass(name, newClass); return newClass; }
|
46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/fffe7aa25510c5fa1f975232bea0ef0fd24762d7/Ruby.java/clean/src/org/jruby/Ruby.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
54,
10340,
797,
11255,
797,
12,
780,
529,
16,
54,
10340,
797,
9565,
797,
15329,
430,
12,
9565,
797,
631,
2011,
15329,
9565,
797,
33,
588,
4818,
7675,
588,
921,
797,
5621,
97,
54,
10340,
797,
2704,
797,
33,
54,
10340,
797,
18,
2704,
797,
12,
2211,
16,
9565,
797,
16,
529,
1769,
2704,
797,
18,
6540,
2781,
797,
12,
9565,
797,
18,
588,
2781,
797,
10663,
2704,
797,
18,
6018,
18696,
12,
9565,
797,
1769,
4701,
18,
458,
797,
12,
529,
16,
2704,
797,
1769,
2463,
2704,
797,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
54,
10340,
797,
11255,
797,
12,
780,
529,
16,
54,
10340,
797,
9565,
797,
15329,
430,
12,
9565,
797,
631,
2011,
15329,
9565,
797,
33,
588,
4818,
7675,
588,
921,
797,
5621,
97,
54,
10340,
797,
2704,
797,
33,
54,
10340,
797,
18,
2704,
797,
12,
2211,
16,
9565,
797,
16,
529,
1769,
2704,
797,
18,
6540,
2781,
797,
12,
9565,
797,
18,
588,
2781,
797,
10663,
2704,
797,
18,
6018,
18696,
12,
9565,
797,
1769,
4701,
18,
458,
797,
12,
529,
16,
2704,
797,
1769,
2463,
2704,
797,
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
] |
||
if (completed.size() == 0) { MessageDialog.openInformation(getShell(), TaskListMessages.PurgeCompleted_title, TaskListMessages.PurgeCompleted_noneCompleted); return; }
|
} if (completed.size() == 0) { MessageDialog.openInformation(getShell(), TaskListMessages.PurgeCompleted_title, TaskListMessages.PurgeCompleted_noneCompleted); return; }
|
public void run() { try { IResource resource = getTaskList().getResource(); int depth = getTaskList().getResourceDepth(); IMarker[] tasks = resource.findMarkers(IMarker.TASK, true, depth); final List completed = new ArrayList(); for (int i = 0; i < tasks.length; i++) { IMarker task = tasks[i]; if (MarkerUtil.isComplete(task) && !MarkerUtil.isReadOnly(task)) { completed.add(task); } } // Check if there is anything to do if (completed.size() == 0) { MessageDialog.openInformation(getShell(), TaskListMessages.PurgeCompleted_title, TaskListMessages.PurgeCompleted_noneCompleted); return; } // Verify. if (!MessageDialog.openConfirm(getShell(), TaskListMessages.PurgeCompleted_title, NLS.bind(TaskListMessages.PurgeCompleted_permanent,String.valueOf(completed.size())))) { return; } IMarker[] toDelete = new IMarker[completed.size()]; completed.toArray(toDelete); getTaskList().getWorkspace().deleteMarkers(toDelete); } catch (CoreException e) { ErrorDialog .openError( getShell(), TaskListMessages.PurgeCompleted_errorMessage, null, e.getStatus()); } }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/1fe5fd7b39eab71b7bac7df6eaec945ee1d5850f/PurgeCompletedAction.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/tasklist/PurgeCompletedAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
3639,
775,
288,
5411,
467,
1420,
1058,
273,
11478,
682,
7675,
588,
1420,
5621,
5411,
509,
3598,
273,
11478,
682,
7675,
588,
1420,
6148,
5621,
5411,
467,
7078,
8526,
4592,
273,
1058,
18,
4720,
21644,
12,
3445,
1313,
264,
18,
15580,
16,
638,
16,
3598,
1769,
5411,
727,
987,
5951,
273,
394,
2407,
5621,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
4592,
18,
2469,
31,
277,
27245,
288,
7734,
467,
7078,
1562,
273,
4592,
63,
77,
15533,
7734,
309,
261,
7078,
1304,
18,
291,
6322,
12,
4146,
13,
597,
401,
7078,
1304,
18,
291,
12066,
12,
4146,
3719,
288,
10792,
5951,
18,
1289,
12,
4146,
1769,
7734,
289,
5411,
289,
5411,
368,
2073,
309,
1915,
353,
6967,
358,
741,
5411,
309,
261,
13615,
18,
1467,
1435,
422,
374,
13,
288,
7734,
2350,
6353,
18,
3190,
5369,
12,
588,
13220,
9334,
3837,
682,
5058,
18,
21422,
9556,
67,
2649,
16,
7682,
3837,
682,
5058,
18,
21422,
9556,
67,
6102,
9556,
1769,
1171,
327,
31,
5411,
289,
5411,
368,
8553,
18,
5411,
309,
16051,
1079,
6353,
18,
3190,
11269,
12,
588,
13220,
9334,
3837,
682,
5058,
18,
21422,
9556,
67,
2649,
16,
10792,
29117,
18,
4376,
12,
2174,
682,
5058,
18,
21422,
9556,
67,
457,
4728,
319,
16,
780,
18,
1132,
951,
12,
13615,
18,
1467,
1435,
3719,
3719,
288,
7734,
327,
31,
5411,
289,
5411,
467,
7078,
8526,
358,
2613,
273,
394,
467,
7078,
63,
13615,
18,
1467,
1435,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
3639,
775,
288,
5411,
467,
1420,
1058,
273,
11478,
682,
7675,
588,
1420,
5621,
5411,
509,
3598,
273,
11478,
682,
7675,
588,
1420,
6148,
5621,
5411,
467,
7078,
8526,
4592,
273,
1058,
18,
4720,
21644,
12,
3445,
1313,
264,
18,
15580,
16,
638,
16,
3598,
1769,
5411,
727,
987,
5951,
273,
394,
2407,
5621,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
4592,
18,
2469,
31,
277,
27245,
288,
7734,
467,
7078,
1562,
273,
4592,
63,
77,
15533,
7734,
309,
261,
7078,
1304,
18,
291,
6322,
12,
4146,
13,
597,
401,
7078,
1304,
18,
291,
12066,
12,
4146,
3719,
288,
10792,
5951,
18,
1289,
12,
4146,
1769,
7734,
289,
5411,
289,
2
] |
return jjMoveStringLiteralDfa2_0(active0, 0x4000000L, active1, 0L, active2, 0L);
|
return jjMoveStringLiteralDfa2_0(active0, 0x8000000L, active1, 0L, active2, 0L);
|
static private final int jjMoveStringLiteralDfa1_0(long active0, long active1, long active2){ try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(0, active0, active1, active2); return 1; } switch(curChar) { case 10: if ((active0 & 0x8L) != 0L) return jjStopAtPos(1, 3); break; case 38: if ((active0 & 0x8000000000L) != 0L) return jjStopAtPos(1, 39); break; case 42: if ((active0 & 0x40L) != 0L) return jjStopAtPos(1, 6); else if ((active0 & 0x4000000000000000L) != 0L) return jjStopAtPos(1, 62); break; case 43: if ((active0 & 0x100000000000000L) != 0L) return jjStopAtPos(1, 56); break; case 45: if ((active0 & 0x200000000000000L) != 0L) return jjStopAtPos(1, 57); break; case 46: return jjMoveStringLiteralDfa2_0(active0, 0x4000000L, active1, 0L, active2, 0L); case 47: if ((active0 & 0x20L) != 0L) return jjStopAtPos(1, 5); break; case 58: if ((active0 & 0x200000L) != 0L) return jjStopAtPos(1, 21); break; case 60: if ((active0 & 0x2000000000000L) != 0L) { jjmatchedKind = 49; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_0(active0, 0x200000000L, active1, 0L, active2, 0L); case 61: if ((active0 & 0x10000000L) != 0L) return jjStopAtPos(1, 28); else if ((active0 & 0x20000000L) != 0L) return jjStopAtPos(1, 29); else if ((active0 & 0x40000000L) != 0L) return jjStopAtPos(1, 30); else if ((active0 & 0x80000000L) != 0L) return jjStopAtPos(1, 31); else if ((active0 & 0x100000000L) != 0L) return jjStopAtPos(1, 32); else if ((active0 & 0x800000000L) != 0L) return jjStopAtPos(1, 35); else if ((active0 & 0x1000000000L) != 0L) return jjStopAtPos(1, 36); else if ((active0 & 0x2000000000L) != 0L) return jjStopAtPos(1, 37); else if ((active0 & 0x80000000000L) != 0L) return jjStopAtPos(1, 43); else if ((active0 & 0x100000000000L) != 0L) return jjStopAtPos(1, 44); else if ((active0 & 0x800000000000L) != 0L) return jjStopAtPos(1, 47); else if ((active0 & 0x1000000000000L) != 0L) return jjStopAtPos(1, 48); break; case 62: if ((active0 & 0x4000000000000L) != 0L) { jjmatchedKind = 50; jjmatchedPos = 1; } else if ((active0 & 0x2000000000000000L) != 0L) { jjmatchedKind = 61; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_0(active0, 0x8000000400000000L, active1, 0L, active2, 0L); case 97: return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x100000000000cL, active2, 0L); case 101: return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x101c400180L, active2, 0L); case 102: if ((active1 & 0x40000L) != 0L) return jjStartNfaWithStates_0(1, 82, 33); break; case 104: return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x2202020000010L, active2, 0L); case 105: return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x400c0000000L, active2, 0x4L); case 108: return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x400004800L, active2, 0L); case 110: return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x30000181000L, active2, 0L); case 111: if ((active1 & 0x200L) != 0L) { jjmatchedKind = 73; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x180000228460L, active2, 0L); case 112: return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x400000000000L, active2, 0L); case 114: return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x804001810002L, active2, 0L); case 116: return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x300000000L, active2, 0L); case 117: return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x2000001L, active2, 0L); case 119: return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x800000000L, active2, 0L); case 120: return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x2000L, active2, 0L); case 121: return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x8000000000L, active2, 0L); case 124: if ((active0 & 0x4000000000L) != 0L) return jjStopAtPos(1, 38); break; default : break; } return jjStartNfa_0(0, active0, active1, active2);}
|
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/380243817238f20dded6aa323a249c33dbaceae3/CPPParserTokenManager.java/clean/pmd/src/net/sourceforge/pmd/cpd/cppast/CPPParserTokenManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
760,
3238,
727,
509,
10684,
7607,
28565,
40,
507,
21,
67,
20,
12,
5748,
2695,
20,
16,
1525,
2695,
21,
16,
1525,
2695,
22,
15329,
282,
775,
288,
662,
2156,
273,
810,
67,
3256,
18,
896,
2156,
5621,
289,
282,
1044,
12,
6290,
18,
1594,
18,
14106,
425,
13,
288,
1377,
10684,
4947,
28565,
40,
507,
67,
20,
12,
20,
16,
2695,
20,
16,
2695,
21,
16,
2695,
22,
1769,
1377,
327,
404,
31,
282,
289,
282,
1620,
12,
1397,
2156,
13,
282,
288,
1377,
648,
1728,
30,
540,
309,
14015,
3535,
20,
473,
374,
92,
28,
48,
13,
480,
374,
48,
13,
5411,
327,
10684,
4947,
861,
1616,
12,
21,
16,
890,
1769,
540,
898,
31,
1377,
648,
18012,
30,
540,
309,
14015,
3535,
20,
473,
374,
92,
28,
2787,
11706,
48,
13,
480,
374,
48,
13,
5411,
327,
10684,
4947,
861,
1616,
12,
21,
16,
16977,
1769,
540,
898,
31,
1377,
648,
14856,
30,
540,
309,
14015,
3535,
20,
473,
374,
92,
7132,
48,
13,
480,
374,
48,
13,
5411,
327,
10684,
4947,
861,
1616,
12,
21,
16,
1666,
1769,
540,
469,
309,
14015,
3535,
20,
473,
374,
92,
24,
12648,
17877,
48,
13,
480,
374,
48,
13,
5411,
327,
10684,
4947,
861,
1616,
12,
21,
16,
22684,
1769,
540,
898,
31,
1377,
648,
21193,
30,
540,
309,
14015,
3535,
20,
473,
374,
92,
21,
12648,
9449,
48,
13,
480,
374,
48,
13,
5411,
327,
10684,
4947,
861,
1616,
12,
21,
16,
13850,
1769,
540,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
760,
3238,
727,
509,
10684,
7607,
28565,
40,
507,
21,
67,
20,
12,
5748,
2695,
20,
16,
1525,
2695,
21,
16,
1525,
2695,
22,
15329,
282,
775,
288,
662,
2156,
273,
810,
67,
3256,
18,
896,
2156,
5621,
289,
282,
1044,
12,
6290,
18,
1594,
18,
14106,
425,
13,
288,
1377,
10684,
4947,
28565,
40,
507,
67,
20,
12,
20,
16,
2695,
20,
16,
2695,
21,
16,
2695,
22,
1769,
1377,
327,
404,
31,
282,
289,
282,
1620,
12,
1397,
2156,
13,
282,
288,
1377,
648,
1728,
30,
540,
309,
14015,
3535,
20,
473,
374,
92,
28,
48,
13,
480,
374,
48,
13,
5411,
327,
10684,
4947,
861,
1616,
12,
21,
16,
890,
1769,
540,
898,
31,
1377,
648,
2
] |
NewTypeWizardPage page= (NewTypeWizardPage) pages[0]; page.setTypeName(fNewTypeName, false);
|
NewTypeWizardPage page= (NewTypeWizardPage) pages[0]; fillInWizardPageName(page);
|
private NewTypeWizardPage configureWizardPage(NewElementWizard wizard) { IWizardPage[] pages= wizard.getPages(); Assert.isTrue(pages.length > 0 && pages[0] instanceof NewTypeWizardPage); NewTypeWizardPage page= (NewTypeWizardPage) pages[0]; page.setTypeName(fNewTypeName, false); fillInWizardPageSuperTypes(page); return page; }
|
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/39a996b77e4ab83f1d7e492f9b2414d25444b47e/NewCUCompletionUsingWizardProposal.java/buggy/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewCUCompletionUsingWizardProposal.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1166,
559,
27130,
1964,
5068,
27130,
1964,
12,
1908,
1046,
27130,
24204,
13,
288,
3639,
467,
27130,
1964,
8526,
4689,
33,
24204,
18,
588,
5716,
5621,
3639,
5452,
18,
291,
5510,
12,
7267,
18,
2469,
405,
374,
597,
4689,
63,
20,
65,
1276,
1166,
559,
27130,
1964,
1769,
3639,
1166,
559,
27130,
1964,
1363,
33,
261,
1908,
559,
27130,
1964,
13,
4689,
63,
20,
15533,
3639,
1363,
18,
542,
7947,
12,
74,
1908,
7947,
16,
629,
1769,
540,
202,
202,
5935,
382,
27130,
1964,
8051,
2016,
12,
2433,
1769,
202,
202,
2463,
1363,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1152,
1166,
559,
27130,
1964,
5068,
27130,
1964,
12,
1908,
1046,
27130,
24204,
13,
288,
3639,
467,
27130,
1964,
8526,
4689,
33,
24204,
18,
588,
5716,
5621,
3639,
5452,
18,
291,
5510,
12,
7267,
18,
2469,
405,
374,
597,
4689,
63,
20,
65,
1276,
1166,
559,
27130,
1964,
1769,
3639,
1166,
559,
27130,
1964,
1363,
33,
261,
1908,
559,
27130,
1964,
13,
4689,
63,
20,
15533,
3639,
1363,
18,
542,
7947,
12,
74,
1908,
7947,
16,
629,
1769,
540,
202,
202,
5935,
382,
27130,
1964,
8051,
2016,
12,
2433,
1769,
202,
202,
2463,
1363,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
case MethodType(Symbol[] vparams, _): if (vparams.length == 0) { break; }
|
case MethodType(_, _):
|
private void addSub(Symbol clasz, int count) { Name name = Names.SUB; Symbol symbol = clasz.lookup(name); assert symbol != Symbol.NONE : Debug.show(clasz) + "." + name; Symbol[] alts = symbol.alternativeSymbols(); // !!! assert count + 1 == alts.length : (count + 1) + " != " + alts.length; boolean pos = false; for (int i = 0; i < alts.length; i++) { switch (alts[i].type()) { case MethodType(Symbol[] vparams, _): if (vparams.length == 0) { // !!! System.out.println("!!! Ignoring pico bridge method " + Debug.show(clasz) + "." + name); break; } addPrimitive(alts[i], Primitive.SUB); count--; break; case PolyType(Symbol[] tparams, _): addPrimitive(alts[i], Primitive.NEG); assert !pos; pos = true; break; default: System.out.println("!!! symbol = " + Debug.show(alts[i])); throw Debug.abort("illegal case" , alts[i].type()); } } assert pos : pos; }
|
32355 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/32355/72a496a3c41ae105c852ea0f7fee1712efd68264/Primitives.java/buggy/sources/scalac/backend/Primitives.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
25716,
12,
5335,
23268,
94,
16,
509,
1056,
13,
288,
3639,
1770,
508,
273,
5276,
18,
8362,
31,
3639,
8565,
3273,
273,
23268,
94,
18,
8664,
12,
529,
1769,
3639,
1815,
3273,
480,
8565,
18,
9826,
294,
4015,
18,
4500,
12,
830,
345,
94,
13,
397,
4585,
397,
508,
31,
3639,
8565,
8526,
524,
3428,
273,
3273,
18,
27071,
14821,
5621,
3639,
368,
401,
8548,
1815,
1056,
397,
404,
422,
524,
3428,
18,
2469,
294,
261,
1883,
397,
404,
13,
397,
315,
480,
315,
397,
524,
3428,
18,
2469,
31,
3639,
1250,
949,
273,
629,
31,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
524,
3428,
18,
2469,
31,
277,
27245,
288,
5411,
1620,
261,
2390,
87,
63,
77,
8009,
723,
10756,
288,
5411,
648,
2985,
559,
12,
5335,
8526,
331,
2010,
16,
389,
4672,
7734,
309,
261,
90,
2010,
18,
2469,
422,
374,
13,
288,
10792,
368,
401,
8548,
2332,
18,
659,
18,
8222,
2932,
25885,
467,
16997,
293,
10764,
10105,
707,
315,
397,
4015,
18,
4500,
12,
830,
345,
94,
13,
397,
4585,
397,
508,
1769,
10792,
898,
31,
7734,
289,
7734,
527,
9840,
12,
2390,
87,
63,
77,
6487,
14488,
18,
8362,
1769,
7734,
1056,
413,
31,
7734,
898,
31,
5411,
648,
18394,
559,
12,
5335,
8526,
268,
2010,
16,
389,
4672,
7734,
527,
9840,
12,
2390,
87,
63,
77,
6487,
14488,
18,
5407,
43,
1769,
7734,
1815,
401,
917,
31,
7734,
949,
273,
638,
31,
7734,
898,
31,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
25716,
12,
5335,
23268,
94,
16,
509,
1056,
13,
288,
3639,
1770,
508,
273,
5276,
18,
8362,
31,
3639,
8565,
3273,
273,
23268,
94,
18,
8664,
12,
529,
1769,
3639,
1815,
3273,
480,
8565,
18,
9826,
294,
4015,
18,
4500,
12,
830,
345,
94,
13,
397,
4585,
397,
508,
31,
3639,
8565,
8526,
524,
3428,
273,
3273,
18,
27071,
14821,
5621,
3639,
368,
401,
8548,
1815,
1056,
397,
404,
422,
524,
3428,
18,
2469,
294,
261,
1883,
397,
404,
13,
397,
315,
480,
315,
397,
524,
3428,
18,
2469,
31,
3639,
1250,
949,
273,
629,
31,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
524,
3428,
18,
2469,
31,
277,
27245,
288,
5411,
1620,
2
] |
e.printStackTrace(); System.exit(1);
|
if (Constants.debug_level > 3) e.printStackTrace();
|
static SSLServerSocketFactory getServerSocketFactory(String type) { // set up key manager to do server authentication SSLContext ctx = null; KeyManagerFactory kmf = null; KeyStore ks = null; char[] passphrase = "netscape".toCharArray(); SSLServerSocketFactory ssf = null; // trust manager that trusts all cetificates TrustManager[] trustAllCerts = new TrustManager[]{ new X509TrustManager() { public boolean checkClientTrusted( java.security.cert.X509Certificate[] chain){ return true; } public boolean isServerTrusted( java.security.cert.X509Certificate[] chain){ return true; } public boolean isClientTrusted( java.security.cert.X509Certificate[] chain){ return true; } public java.security.cert.X509Certificate[] getAcceptedIssuers() { return null; } public void checkClientTrusted( java.security.cert.X509Certificate[] chain, String authType) {} public void checkServerTrusted( java.security.cert.X509Certificate[] chain, String authType) {} } }; if (type.equals("TLS")) { try { ctx = SSLContext.getInstance("TLS"); kmf = KeyManagerFactory.getInstance("SunX509"); ks = KeyStore.getInstance("PKCS12"); ks.load(new FileInputStream(getKeystoreLoc()), passphrase); kmf.init(ks, passphrase); ctx.init(kmf.getKeyManagers(), trustAllCerts, null); ssf = ctx.getServerSocketFactory(); return ssf; } catch (Exception e) { e.printStackTrace(); System.exit(1); } } else if (type.equals("SSLv3")) { try { ctx = SSLContext.getInstance("SSLv3"); kmf = KeyManagerFactory.getInstance("SunX509"); ks = KeyStore.getInstance("PKCS12"); ks.load(new FileInputStream("./" + getKeystoreLoc()), passphrase); kmf.init(ks, passphrase); ctx.init(kmf.getKeyManagers(), trustAllCerts, null); ssf = ctx.getServerSocketFactory(); return ssf; } catch (Exception e) { e.printStackTrace(); System.exit(1); } } return null; }
|
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/2c88207a24bea2d0af88356473969a2e94d3f349/JSSE_SSLServer.java/clean/security/jss/org/mozilla/jss/tests/JSSE_SSLServer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
7419,
2081,
4534,
1733,
11543,
4534,
1733,
12,
780,
618,
13,
288,
7734,
368,
444,
731,
498,
3301,
358,
741,
1438,
5107,
3639,
26886,
2398,
1103,
273,
446,
31,
3639,
1929,
20012,
1377,
417,
16126,
273,
446,
31,
3639,
17017,
7734,
11654,
273,
446,
31,
3639,
1149,
8526,
1850,
15244,
273,
315,
2758,
12476,
9654,
869,
15936,
5621,
3639,
7419,
2081,
4534,
1733,
5202,
74,
273,
446,
31,
7734,
368,
10267,
3301,
716,
10267,
87,
777,
276,
278,
1507,
815,
3639,
20246,
1318,
8526,
10267,
1595,
16273,
273,
394,
20246,
1318,
63,
7073,
5411,
394,
1139,
5995,
14146,
1318,
1435,
288,
7734,
1071,
1250,
866,
1227,
16950,
12,
13491,
2252,
18,
7462,
18,
7593,
18,
60,
5995,
4719,
8526,
2687,
15329,
10792,
327,
638,
31,
7734,
289,
7734,
1071,
1250,
353,
2081,
16950,
12,
13491,
2252,
18,
7462,
18,
7593,
18,
60,
5995,
4719,
8526,
2687,
15329,
10792,
327,
638,
31,
7734,
289,
7734,
1071,
1250,
353,
1227,
16950,
12,
13491,
2252,
18,
7462,
18,
7593,
18,
60,
5995,
4719,
8526,
2687,
15329,
10792,
327,
638,
31,
7734,
289,
7734,
1071,
2252,
18,
7462,
18,
7593,
18,
60,
5995,
4719,
8526,
13491,
4506,
4474,
329,
7568,
27307,
1435,
288,
10792,
327,
446,
31,
7734,
289,
7734,
1071,
918,
866,
1227,
16950,
12,
13491,
2252,
18,
7462,
18,
7593,
18,
60,
5995,
4719,
8526,
2687,
16,
13491,
514,
28514,
13,
2618,
7734,
1071,
918,
866,
2081,
16950,
12,
13491,
2252,
18,
7462,
18,
7593,
18,
60,
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,
7419,
2081,
4534,
1733,
11543,
4534,
1733,
12,
780,
618,
13,
288,
7734,
368,
444,
731,
498,
3301,
358,
741,
1438,
5107,
3639,
26886,
2398,
1103,
273,
446,
31,
3639,
1929,
20012,
1377,
417,
16126,
273,
446,
31,
3639,
17017,
7734,
11654,
273,
446,
31,
3639,
1149,
8526,
1850,
15244,
273,
315,
2758,
12476,
9654,
869,
15936,
5621,
3639,
7419,
2081,
4534,
1733,
5202,
74,
273,
446,
31,
7734,
368,
10267,
3301,
716,
10267,
87,
777,
276,
278,
1507,
815,
3639,
20246,
1318,
8526,
10267,
1595,
16273,
273,
394,
20246,
1318,
63,
7073,
5411,
394,
1139,
5995,
14146,
1318,
1435,
288,
7734,
1071,
1250,
866,
1227,
16950,
12,
13491,
2252,
18,
7462,
18,
7593,
18,
60,
5995,
2
] |
jj_la1[30] = jj_gen;
|
jj_la1[31] = jj_gen;
|
final public void ArrayInitializer() throws ParseException { /*@bgen(jjtree) ArrayInitializer */ ASTArrayInitializer jjtn000 = new ASTArrayInitializer(this, JJTARRAYINITIALIZER); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(LBRACE); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case LBRACE: case BANG: case TILDE: case INCR: case DECR: case PLUS: case MINUS: VariableInitializer(); label_13: while (true) { if (jj_2_10(2)) { ; } else { break label_13; } jj_consume_token(COMMA); VariableInitializer(); } break; default: jj_la1[29] = jj_gen; ; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: jj_consume_token(COMMA); break; default: jj_la1[30] = jj_gen; ; } jj_consume_token(RBRACE); } 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); } } }
|
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/0687038c0aeeacc81c38706b6c1d8dac4185836b/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1071,
918,
1510,
14729,
1435,
1216,
10616,
288,
1748,
36,
70,
4507,
12,
78,
78,
3413,
13,
1510,
14729,
1195,
225,
9183,
1076,
14729,
10684,
5088,
3784,
273,
394,
9183,
1076,
14729,
12,
2211,
16,
804,
46,
56,
8552,
12919,
15154,
654,
1769,
225,
1250,
10684,
5111,
3784,
273,
638,
31,
225,
10684,
3413,
18,
3190,
907,
3876,
12,
78,
78,
5088,
3784,
1769,
565,
775,
288,
1377,
10684,
67,
21224,
67,
2316,
12,
12995,
9254,
1769,
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,
18993,
30,
1377,
648,
20660,
30,
1377,
648,
12090,
30,
1377,
648,
14918,
30,
1377,
648,
4934,
30,
1377,
648,
15483,
30,
1377,
648,
6137,
30,
1377,
648,
14011,
30,
1377,
648,
12887,
30,
1377,
648,
3206,
30,
1377,
648,
20079,
30,
1377,
648,
16459,
654,
30,
1377,
648,
20676,
30,
1377,
648,
5383,
30,
1377,
648,
27085,
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,
1377,
648,
26765,
30,
1377,
648,
511,
15111,
30,
1377,
648,
511,
26980,
30,
1377,
648,
605,
3388,
30,
1377,
648,
399,
2627,
1639,
30,
1377,
648,
2120,
5093,
30,
1377,
648,
2030,
5093,
30,
1377,
648,
22443,
3378,
30,
1377,
648,
6989,
3378,
30,
3639,
7110,
14729,
5621,
3639,
1433,
67,
3437,
30,
3639,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1071,
918,
1510,
14729,
1435,
1216,
10616,
288,
1748,
36,
70,
4507,
12,
78,
78,
3413,
13,
1510,
14729,
1195,
225,
9183,
1076,
14729,
10684,
5088,
3784,
273,
394,
9183,
1076,
14729,
12,
2211,
16,
804,
46,
56,
8552,
12919,
15154,
654,
1769,
225,
1250,
10684,
5111,
3784,
273,
638,
31,
225,
10684,
3413,
18,
3190,
907,
3876,
12,
78,
78,
5088,
3784,
1769,
565,
775,
288,
1377,
10684,
67,
21224,
67,
2316,
12,
12995,
9254,
1769,
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,
18993,
30,
1377,
648,
20660,
30,
1377,
648,
12090,
30,
1377,
648,
14918,
2
] |
public void add(CmsAccessControlEntry entry){
|
public void add(CmsAccessControlEntry entry) {
|
public void add(CmsAccessControlEntry entry){ CmsPermissionSet permissions = (CmsPermissionSet)m_permissions.get(entry.getPrincipal()); if (permissions == null) permissions = new CmsPermissionSet(); permissions.addPermissions(entry.getPermissions()); m_permissions.put(entry.getPrincipal(),permissions); }
|
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/1104036294fd0c811760aaef40b5ca85f2668630/CmsAccessControlList.java/buggy/src/com/opencms/security/CmsAccessControlList.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
527,
12,
4747,
16541,
1622,
1241,
15329,
202,
202,
4747,
5041,
694,
4371,
273,
261,
4747,
5041,
694,
13,
81,
67,
9612,
18,
588,
12,
4099,
18,
588,
9155,
10663,
202,
202,
430,
261,
9612,
422,
446,
13,
1082,
202,
9612,
273,
394,
2149,
5041,
694,
5621,
9506,
202,
9612,
18,
1289,
6521,
12,
4099,
18,
588,
6521,
10663,
202,
202,
81,
67,
9612,
18,
458,
12,
4099,
18,
588,
9155,
9334,
9612,
1769,
225,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
527,
12,
4747,
16541,
1622,
1241,
15329,
202,
202,
4747,
5041,
694,
4371,
273,
261,
4747,
5041,
694,
13,
81,
67,
9612,
18,
588,
12,
4099,
18,
588,
9155,
10663,
202,
202,
430,
261,
9612,
422,
446,
13,
1082,
202,
9612,
273,
394,
2149,
5041,
694,
5621,
9506,
202,
9612,
18,
1289,
6521,
12,
4099,
18,
588,
6521,
10663,
202,
202,
81,
67,
9612,
18,
458,
12,
4099,
18,
588,
9155,
9334,
9612,
1769,
225,
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
] |
if ( newToc != inputGroup.getTocExpression( ) )
|
if ( newToc != null && !newToc.equals( inputGroup.getTocExpression( ) ) )
|
protected void okPressed( ) { try { inputGroup.setName( nameEditor.getText( ) ); String newToc = UIUtil.convertToModelString( tocEditor.getText( ), true ); if ( newToc != inputGroup.getTocExpression( ) ) { if ( newToc == null || !newToc.equals( inputGroup.getTocExpression( ) ) ) { inputGroup.setTocExpression( newToc ); } } int index = keyChooser.getSelectionIndex( ); String oldKeyExpr = inputGroup.getKeyExpr( ); String newKeyExpr = getKeyExpression( ); inputGroup.setKeyExpr( newKeyExpr ); if ( newKeyExpr != null && newKeyExpr.length( ) != 0 && !newKeyExpr.equals( oldKeyExpr ) && index != -1 ) { SlotHandle slotHandle = null; // SlotHandle headerHandle = null; if ( inputGroup instanceof ListGroupHandle ) { slotHandle = inputGroup.getHeader( ); // headerHandle = ( (ListHandle) inputGroup.getContainer( ) // ).getHeader( ); } else if ( inputGroup instanceof TableGroupHandle ) { if ( inputGroup.getHeader( ).getCount( ) != 0 ) { RowHandle rowHandle = ( (RowHandle) inputGroup.getHeader( ) .get( 0 ) ); CellHandle cellHandle = (CellHandle) rowHandle.getCells( ) .get( 0 ); slotHandle = cellHandle.getContent( ); } // headerHandle = ( (TableHandle) inputGroup.getContainer( ) // ).getHeader( ); // if ( headerHandle.getCount( ) != 0 ) // { // headerHandle = ( (RowHandle) headerHandle.get( 0 ) // ).getCells( ); // if ( headerHandle.getCount( ) != 0 ) // { // headerHandle = ( (CellHandle) headerHandle.get( 0 ) // ).getContent( ); // } // } } if ( slotHandle != null ) { DataItemHandle dataItemHandle = inputGroup.getElementFactory( ) .newDataItem( null ); dataItemHandle.setResultSetColumn( ( (ComputedColumnHandle) columnList.get( index ) ).getName( ) ); slotHandle.add( dataItemHandle ); } } index = intervalType.getSelectionIndex( ); inputGroup.setInterval( intervalChoices[index].getName( ) ); if ( index != 0 ) { inputGroup.setIntervalRange( intervalRange.getText( ) ); } else { inputGroup.setProperty( GroupHandle.INTERVAL_RANGE_PROP, null ); } if ( intervalBaseText.getEnabled( ) ) { inputGroup.setIntervalBase( UIUtil.convertToModelString( intervalBaseText.getText( ), false ) ); } else { inputGroup.setIntervalBase( null ); } inputGroup.setHideDetail( hideDetail.getSelection( ) ); if ( ascending.getSelection( ) ) { inputGroup.setSortDirection( DesignChoiceConstants.SORT_DIRECTION_ASC ); } else { inputGroup.setSortDirection( DesignChoiceConstants.SORT_DIRECTION_DESC ); } inputGroup.setPageBreakBefore( pagebreakBeforeChoicesAll[pagebreakBeforeCombo.getSelectionIndex( )].getName( ) ); inputGroup.setPageBreakAfter( pagebreakAfterChoicesAll[pagebreakAfterCombo.getSelectionIndex( )].getName( ) ); inputGroup.setRepeatHeader( repeatHeaderButton.getSelection( ) ); } catch ( SemanticException e ) { ExceptionHandler.handle( e ); return; } setResult( inputGroup ); super.okPressed( ); }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/3b58b67262026811495cb4f6871944d48d3247bd/GroupDialog.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/GroupDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1529,
24624,
12,
262,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
2630,
1114,
18,
542,
461,
12,
508,
6946,
18,
588,
1528,
12,
262,
11272,
1082,
202,
780,
394,
56,
504,
273,
6484,
1304,
18,
6283,
774,
1488,
780,
12,
17919,
6946,
18,
588,
1528,
12,
262,
16,
6862,
202,
3767,
11272,
1082,
202,
430,
261,
394,
56,
504,
480,
810,
1114,
18,
588,
56,
504,
2300,
12,
262,
262,
1082,
202,
95,
9506,
202,
430,
261,
394,
56,
504,
422,
446,
25083,
202,
20081,
401,
2704,
56,
504,
18,
14963,
12,
810,
1114,
18,
588,
56,
504,
2300,
12,
262,
262,
262,
9506,
202,
95,
6862,
202,
2630,
1114,
18,
542,
56,
504,
2300,
12,
394,
56,
504,
11272,
9506,
202,
97,
1082,
202,
97,
1082,
202,
474,
770,
273,
498,
17324,
18,
588,
6233,
1016,
12,
11272,
1082,
202,
780,
1592,
653,
4742,
273,
810,
1114,
18,
588,
653,
4742,
12,
11272,
1082,
202,
780,
16670,
4742,
273,
3579,
2300,
12,
11272,
1082,
202,
2630,
1114,
18,
542,
653,
4742,
12,
16670,
4742,
11272,
1082,
202,
430,
261,
16670,
4742,
480,
446,
6862,
202,
10,
10,
16670,
4742,
18,
2469,
12,
262,
480,
374,
6862,
202,
10,
10,
401,
2704,
653,
4742,
18,
14963,
12,
1592,
653,
4742,
262,
6862,
202,
10,
10,
770,
480,
300,
21,
262,
1082,
202,
95,
9506,
202,
8764,
3259,
4694,
3259,
273,
446,
31,
9506,
202,
759,
23195,
3259,
1446,
3259,
273,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1529,
24624,
12,
262,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
2630,
1114,
18,
542,
461,
12,
508,
6946,
18,
588,
1528,
12,
262,
11272,
1082,
202,
780,
394,
56,
504,
273,
6484,
1304,
18,
6283,
774,
1488,
780,
12,
17919,
6946,
18,
588,
1528,
12,
262,
16,
6862,
202,
3767,
11272,
1082,
202,
430,
261,
394,
56,
504,
480,
810,
1114,
18,
588,
56,
504,
2300,
12,
262,
262,
1082,
202,
95,
9506,
202,
430,
261,
394,
56,
504,
422,
446,
25083,
202,
20081,
401,
2704,
56,
504,
18,
14963,
12,
810,
1114,
18,
588,
56,
504,
2300,
12,
262,
262,
262,
9506,
202,
95,
6862,
202,
2630,
1114,
18,
542,
2
] |
48, 49, 0, 769, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 798, 0, 51, 52, 53, 54, 55, 56, 0, 483, 483, 483, 57, 483, 0, 0, 0, 483, 483, 0, 0, 0, 483, 0, 483, 483, 483, 483, 483, 483, 483, 0, 0, 0, 0, 483, 483, 483, 483, 483, 483, 483, 0, 0, 0, 0, 0, 0, 0, 0, 0, 483, 0, 0, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 0, 483, 483, 0, 483, 483, 59, 0, 0, 213, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 483, 0, 0, 483, 483, 483, 483, 0, 0, 0, 483, 483, 483, 483, 483, 483, 0, 4, 5, 6, 483, 8, 0,
|
48, 49, 0, 798, 0, 51, 52, 53, 54, 55, 56, 0, 483, 483, 483, 57, 483, 0, 0, 0, 483, 483, 0, 0, 0, 483, 0, 483, 483, 483, 483, 483, 483, 483, 0, 0, 0, 0, 483, 483, 483, 483, 483, 483, 483, 0, 0, 0, 0, 0, 0, 0, 0, 0, 483, 0, 0, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 0, 483, 483, 0, 483, 483, 59, 0, 0, 213, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 483, 0, 0, 483, 483, 483, 483, 0, 0, 0, 483, 483, 483, 483, 483, 483, 0, 4, 5, 6, 483, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 213, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 0, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0,
|
private static final short[] yyTable4() { return new short[] { 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 45, 58, 0, 46, 47, 48, 49, 0, 50, 0, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 57, 3, 4, 5, 6, 7, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 45, 233, 0, 261, 47, 48, 49, 0, 50, 412, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 57, 0, 0, 4, 5, 6, 7, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 59, 0, 0, 233, 0, 0, 0, 0, 45, 0, 0, 46, 47, 48, 49, 0, 50, 0, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 57, 0, 4, 5, 6, 7, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 0, 0, 0, 0, 0, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 45, 0, 0, 46, 47, 48, 49, 0, 50, 0, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 57, 0, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 231, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 231, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 414, 48, 49, 0, 231, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 611, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 615, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 611, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 804, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 808, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 812, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 251, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 867, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 251, 0, 0, 58, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 869, 232, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 881, 232, 51, 52, 53, 54, 55, 56, 0, 251, 251, 251, 57, 251, 0, 0, 0, 251, 251, 0, 0, 0, 251, 0, 251, 251, 251, 251, 251, 251, 251, 0, 0, 0, 0, 251, 251, 251, 251, 251, 251, 251, 0, 0, 0, 0, 0, 0, 0, 0, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 251, 0, 251, 251, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 251, 0, 0, 251, 251, 251, 251, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 4, 5, 6, 251, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 0, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 266, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 526, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 526, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 593, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 483, 0, 0, 0, 0, 0, 0, 483, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 641, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 483, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 769, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 59, 0, 0, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 798, 0, 51, 52, 53, 54, 55, 56, 0, 483, 483, 483, 57, 483, 0, 0, 0, 483, 483, 0, 0, 0, 483, 0, 483, 483, 483, 483, 483, 483, 483, 0, 0, 0, 0, 483, 483, 483, 483, 483, 483, 483, 0, 0, 0, 0, 0, 0, 0, 0, 0, 483, 0, 0, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 0, 483, 483, 0, 483, 483, 59, 0, 0, 213, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 483, 0, 0, 483, 483, 483, 483, 0, 0, 0, 483, 483, 483, 483, 483, 483, 0, 4, 5, 6, 483, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 213, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 0, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 47, 0, 207, 0, 0, 106, 47, 48, 49, 0, 47, 0, 51, 52, 53, 54, 55, 56, 0, 213, 213, 213, 57, 213, 0, 0, 0, 213, 213, 0, 0, 0, 213, 0, 213, 213, 213, 213, 213, 213, 213, 47, 0, 0, 0, 213, 213, 213, 213, 213, 213, 213, 0, 0, 0, 0, 0, 0, 47, 47, 0, 213, 0, 0, 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, 0, 213, 213, 0, 213, 213, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 213, 0, 0, 213, 213, 213, 213, 175, 0, 174, 213, 213, 213, 213, 213, 213, 0, 0, 0, 0, 213, 0, 0, 0, 0, 0, 0, 47, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 47, 47, 47, 0, 0, 47, 47, 47, 0, 47, 0, 0, 0, 0, 0, 0, 0, 0, 0, 47, 0, 0, 0, 0, 0, 0, 0, 0, 47, 47, 0, 47, 47, 47, 47, 47, 0, 0, 0, 0, 116, 117, 118, 119, 120, 121, 122, 123, 0, 0, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 192, 193, 194, 195, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 196, 197, 198, 158, 251, 0, 199, 0, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 173, 0, 200, 116, 117, 118, 119, 120, 121, 122, 123, 0, 0, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 192, 193, 194, 195, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 196, 197, 198, 158, 0, 0, 199, 0, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 183, 178, 0, 186, 0, 181, 179, 0, 180, 173, 182, 200, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 176, 182, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 0, 0, 0, 0, 0, 0, 0, 116, 117, 118, 119, 120, 121, 122, 123, 0, 0, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 35, 36, 159, 38, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 116, 117, 118, 119, 120, 121, 122, 123, 0, 173, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 192, 193, 194, 195, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 196, 197, 198, 158, 281, 282, 199, 283, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 183, 178, 0, 0, 0, 181, 179, 0, 180, 173, 182, 0, 0, 0, 520, 516, 0, 0, 521, 0, 0, 0, 0, 175, 0, 174, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 183, 178, 0, 0, 0, 181, 179, 0, 180, 173, 182, 0, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 176, 0, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 176, 177, 184, 185, 175, 0, 174, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 0, 0, 0, 0, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 116, 117, 118, 119, 120, 121, 122, 123, 0, 0, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 192, 193, 194, 195, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 196, 197, 198, 158, 0, 0, 199, 0, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 173, 0, 0, 0, 0, 546, 509, 0, 0, 547, 0, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 584, 509, 0, 0, 585, 0, 0, 0, 0, 173, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 0, 0, 0, 0, 0, 0, 587, 516, 0, 173, 588, 0, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 183, 178, 0, 0, 0, 181, 179, 0, 180, 173, 182, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 174, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 176, 177, 184, 185, 175, 0, 174, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 0, 175, 0, 174, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 176, 177, 184, 185, 175, 0, 174, 0, 0, 0, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 0, 175, 0, 174, 177, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 177, 184, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 602, 509, 0, 0, 603, 0, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 605, 516, 0, 0, 606, 0, 0, 0, 0, 173, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 0, 0, 0, 0, 0, 0, 643, 509, 0, 173, 644, 0, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 646, 516, 0, 0, 647, 0, 0, 0, 0, 173, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 0, 0, 0, 0, 0, 0, 857, 509, 0, 173, 858, 0, 0, 0, 0, 0, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 860, 516, 0, 0, 861, 0, 0, 0, 0, 173, 0, 0, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 0, 0, 4, 5, 6, 0, 8, 0, 0, 173, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 102, 34, 35, 36, 103, 38, 39, 40, 0, 41, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 104, 0, 0, 105, 0, 0, 106, 47, 48, 49, 0, 0, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 107, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 0, 0, 46, 47, 48, 49, 0, 50, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 107, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 276, 0, 0, 349, 47, 48, 49, 0, 350, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 107, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 276, 0, 0, 106, 47, 48, 49, 0, 0, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 107, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 787, 0, 0, 106, 47, 48, 49, 0, 0, 0, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 107, }; }
|
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/f5c9a1ebd775712f2dc086acfce1a14a123ec632/YyTables.java/buggy/src/org/jruby/parser/YyTables.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1388,
24,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
5411,
374,
16,
565,
374,
16,
565,
374,
16,
282,
5342,
16,
282,
4200,
16,
282,
9035,
16,
282,
11201,
16,
282,
10213,
16,
282,
4248,
16,
282,
6969,
16,
2398,
374,
16,
565,
374,
16,
282,
10659,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
282,
12732,
16,
282,
9131,
16,
5411,
12899,
16,
282,
5196,
16,
282,
8231,
16,
282,
3847,
16,
282,
13159,
16,
282,
13438,
16,
282,
13191,
16,
282,
6580,
16,
282,
18091,
16,
282,
18012,
16,
5411,
16977,
16,
282,
8063,
16,
565,
374,
16,
282,
20170,
16,
282,
14856,
16,
565,
374,
16,
282,
21193,
16,
282,
13291,
16,
565,
374,
16,
565,
374,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
282,
14995,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
282,
12292,
16,
282,
17066,
16,
565,
374,
16,
282,
17077,
16,
5411,
17495,
16,
282,
9934,
16,
282,
17160,
16,
565,
374,
16,
282,
6437,
16,
565,
374,
16,
282,
21119,
16,
282,
18106,
16,
282,
15935,
16,
282,
22431,
16,
5411,
21483,
16,
282,
13850,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
282,
15981,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1388,
24,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
5411,
374,
16,
565,
374,
16,
565,
374,
16,
282,
5342,
16,
282,
4200,
16,
282,
9035,
16,
282,
11201,
16,
282,
10213,
16,
282,
4248,
16,
282,
6969,
16,
2398,
374,
16,
565,
374,
16,
282,
10659,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
282,
12732,
16,
282,
9131,
16,
5411,
12899,
16,
282,
5196,
16,
282,
8231,
16,
282,
3847,
16,
282,
13159,
16,
282,
13438,
16,
282,
13191,
16,
282,
6580,
16,
282,
18091,
16,
282,
18012,
16,
5411,
16977,
16,
282,
8063,
16,
565,
374,
16,
282,
20170,
16,
2
] |
List<Path.Node> nodes=new LinkedList<Path.Node>();
|
List<Path.Node> nodes = new LinkedList<Path.Node>();
|
protected void createPath() { List<Path.Node> nodes=new LinkedList<Path.Node>(); setPath(nodes,false); }
|
4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/d512245d8e26069d9f1c5a15fba078b322c3b0ac/Semos.java/buggy/src/games/stendhal/server/maps/Semos.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
4750,
918,
752,
743,
1435,
3639,
288,
3639,
987,
32,
743,
18,
907,
34,
2199,
273,
394,
10688,
32,
743,
18,
907,
34,
5621,
3639,
16475,
12,
4690,
16,
5743,
1769,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
4750,
918,
752,
743,
1435,
3639,
288,
3639,
987,
32,
743,
18,
907,
34,
2199,
273,
394,
10688,
32,
743,
18,
907,
34,
5621,
3639,
16475,
12,
4690,
16,
5743,
1769,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
JMenuItem filterMenuItem = new JMenuItem("Filter bugs like this");
|
JMenuItem filterMenuItem = newJMenuItem("Filter bugs like this");
|
private JPopupMenu createBugPopupMenu() { JPopupMenu popupMenu = new JPopupMenu(); JMenuItem suppressMenuItem = new JMenuItem("Suppress this bug"); suppressMenuItem.addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent evt){ saveComments(currentSelectedBugLeaf, currentSelectedBugAspects); //This MUST be done in this order: //getIndexOfChild relies on the fact that things have not yet been removed from the tree! TreePath path=tree.getSelectionPath(); FilterMatcher.notifyListeners(FilterListener.SUPPRESSING, path); ProjectSettings.getInstance().getSuppressionMatcher().add(currentSelectedBugLeaf.getBug()); PreferencesFrame.getInstance().suppressionsChanged(currentSelectedBugLeaf); ((BugTreeModel)(tree.getModel())).resetData();//Necessary to keep suppressions from getting out of sync with tree. clearSourcePane(); updateStatusBar(); setProjectChanged(true); } }); popupMenu.add(suppressMenuItem); JMenuItem filterMenuItem = new JMenuItem("Filter bugs like this"); filterMenuItem.addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent evt){ new NewFilterFromBug(currentSelectedBugLeaf.getBug()); setProjectChanged(true); } }); popupMenu.add(filterMenuItem); JMenu changeDesignationMenu = new JMenu("Change bug designation"); int i = 0; int keyEvents [] = {KeyEvent.VK_1, KeyEvent.VK_2, KeyEvent.VK_3, KeyEvent.VK_4, KeyEvent.VK_5, KeyEvent.VK_6, KeyEvent.VK_7, KeyEvent.VK_8, KeyEvent.VK_9}; for(String key : I18N.instance().getUserDesignationKeys(true)) { String name = I18N.instance().getUserDesignation(key); comments.addDesignationItem(changeDesignationMenu, name, keyEvents[i++]); } popupMenu.add(changeDesignationMenu); return popupMenu; }
|
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/8030c91e4cc5c69deace557c469b6f68f3144426/MainFrame.java/buggy/findbugs/src/java5/edu/umd/cs/findbugs/gui2/MainFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
804,
13770,
4599,
752,
19865,
13770,
4599,
1435,
288,
202,
202,
46,
13770,
4599,
10431,
4599,
273,
394,
804,
13770,
4599,
5621,
9506,
202,
46,
12958,
12257,
12958,
273,
394,
804,
12958,
2932,
29282,
333,
7934,
8863,
9506,
202,
10840,
12958,
18,
1289,
1803,
2223,
12,
2704,
25962,
1435,
95,
1082,
202,
482,
918,
26100,
12,
1803,
1133,
6324,
15329,
6862,
9506,
202,
5688,
9051,
12,
2972,
7416,
19865,
9858,
16,
783,
7416,
19865,
17468,
87,
1769,
9506,
202,
759,
2503,
10685,
506,
2731,
316,
333,
1353,
30,
9506,
202,
759,
588,
31985,
1763,
14719,
281,
603,
326,
5410,
716,
9198,
1240,
486,
4671,
2118,
3723,
628,
326,
2151,
5,
9506,
202,
2471,
743,
589,
33,
3413,
18,
588,
6233,
743,
5621,
9506,
202,
1586,
6286,
18,
12336,
5583,
12,
1586,
2223,
18,
13272,
3670,
15102,
16,
589,
1769,
9506,
202,
4109,
2628,
18,
588,
1442,
7675,
588,
3088,
1337,
6286,
7675,
1289,
12,
2972,
7416,
19865,
9858,
18,
588,
19865,
10663,
6862,
25083,
202,
12377,
3219,
18,
588,
1442,
7675,
2859,
5012,
5033,
12,
2972,
7416,
19865,
9858,
1769,
9506,
202,
12443,
19865,
2471,
1488,
21433,
3413,
18,
588,
1488,
10756,
2934,
6208,
751,
5621,
759,
23961,
358,
3455,
1169,
5012,
628,
8742,
596,
434,
3792,
598,
2151,
18,
282,
9506,
202,
8507,
1830,
8485,
5621,
9506,
202,
2725,
1482,
5190,
5621,
6862,
9506,
202,
542,
4109,
5033,
12,
3767,
1769,
1082,
202,
97,
6862,
202,
22938,
9506,
202,
16086,
4599,
18,
1289,
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,
804,
13770,
4599,
752,
19865,
13770,
4599,
1435,
288,
202,
202,
46,
13770,
4599,
10431,
4599,
273,
394,
804,
13770,
4599,
5621,
9506,
202,
46,
12958,
12257,
12958,
273,
394,
804,
12958,
2932,
29282,
333,
7934,
8863,
9506,
202,
10840,
12958,
18,
1289,
1803,
2223,
12,
2704,
25962,
1435,
95,
1082,
202,
482,
918,
26100,
12,
1803,
1133,
6324,
15329,
6862,
9506,
202,
5688,
9051,
12,
2972,
7416,
19865,
9858,
16,
783,
7416,
19865,
17468,
87,
1769,
9506,
202,
759,
2503,
10685,
506,
2731,
316,
333,
1353,
30,
9506,
202,
759,
588,
31985,
1763,
14719,
281,
603,
326,
5410,
716,
9198,
1240,
486,
4671,
2118,
3723,
628,
326,
2151,
5,
9506,
202,
2471,
743,
589,
33,
2
] |
cfw.addInvoke(ByteCode.INVOKEVIRTUAL, generatedClassName, "initScript", "(Lorg/mozilla/javascript/Scriptable;" +"Lorg/mozilla/javascript/Context;" +")V");
|
cfw.addInvoke(ByteCode.INVOKEVIRTUAL, cfw.getClassName(), "initScript", SCRIPT_INIT_SIGNATURE);
|
private void generateExecute(Context cx) { cfw.startMethod("exec", "(Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;", (short)(ClassFileWriter.ACC_PUBLIC | ClassFileWriter.ACC_FINAL)); final byte ALOAD_CONTEXT = ByteCode.ALOAD_1; final byte ALOAD_SCOPE = ByteCode.ALOAD_2; // to begin a script, call the initScript method cfw.add(ByteCode.ALOAD_0); // load 'this' cfw.add(ALOAD_SCOPE); cfw.add(ALOAD_CONTEXT); cfw.addInvoke(ByteCode.INVOKEVIRTUAL, generatedClassName, "initScript", "(Lorg/mozilla/javascript/Scriptable;" +"Lorg/mozilla/javascript/Context;" +")V"); cfw.add(ByteCode.ALOAD_0); // load 'this' cfw.add(ALOAD_CONTEXT); cfw.add(ALOAD_SCOPE); cfw.add(ByteCode.DUP); cfw.add(ByteCode.ACONST_NULL); cfw.addInvoke(ByteCode.INVOKEVIRTUAL, generatedClassName, "call", "(Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +"Lorg/mozilla/javascript/Scriptable;" +"[Ljava/lang/Object;" +")Ljava/lang/Object;"); cfw.add(ByteCode.ARETURN); // 3 = this + context + scope cfw.stopMethod((short)3, null); }
|
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/3c9b84173796cf5a1eb1f786e5ba6af89b66fcab/Codegen.java/buggy/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
5289,
12,
1042,
9494,
13,
565,
288,
3639,
6080,
91,
18,
1937,
1305,
2932,
4177,
3113,
17311,
7751,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
1042,
4868,
17311,
397,
6,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
3651,
429,
4868,
17311,
397,
7923,
21159,
19,
4936,
19,
921,
31,
3113,
17311,
261,
6620,
21433,
797,
812,
2289,
18,
31414,
67,
14939,
4766,
1377,
571,
30614,
2289,
18,
31414,
67,
7263,
1013,
10019,
3639,
727,
1160,
432,
7783,
67,
13181,
273,
3506,
1085,
18,
1013,
51,
1880,
67,
21,
31,
3639,
727,
1160,
432,
7783,
67,
19444,
273,
3506,
1085,
18,
1013,
51,
1880,
67,
22,
31,
3639,
368,
358,
2376,
279,
2728,
16,
745,
326,
1208,
3651,
707,
3639,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
1013,
51,
1880,
67,
20,
1769,
368,
1262,
296,
2211,
11,
3639,
6080,
91,
18,
1289,
12,
1013,
51,
1880,
67,
19444,
1769,
3639,
6080,
91,
18,
1289,
12,
1013,
51,
1880,
67,
13181,
1769,
3639,
6080,
91,
18,
1289,
10969,
12,
3216,
1085,
18,
706,
17691,
41,
26854,
16,
8227,
4374,
3834,
16,
8227,
315,
2738,
3651,
3113,
8227,
7751,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
3651,
429,
4868,
8227,
397,
6,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
1042,
4868,
8227,
397,
7923,
58,
8863,
3639,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
1013,
51,
1880,
67,
20,
1769,
368,
1262,
296,
2211,
11,
3639,
6080,
91,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
5289,
12,
1042,
9494,
13,
565,
288,
3639,
6080,
91,
18,
1937,
1305,
2932,
4177,
3113,
17311,
7751,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
1042,
4868,
17311,
397,
6,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
3651,
429,
4868,
17311,
397,
7923,
21159,
19,
4936,
19,
921,
31,
3113,
17311,
261,
6620,
21433,
797,
812,
2289,
18,
31414,
67,
14939,
4766,
1377,
571,
30614,
2289,
18,
31414,
67,
7263,
1013,
10019,
3639,
727,
1160,
432,
7783,
67,
13181,
273,
3506,
1085,
18,
1013,
51,
1880,
67,
21,
31,
3639,
727,
1160,
432,
7783,
67,
19444,
273,
3506,
1085,
18,
1013,
51,
1880,
67,
22,
31,
3639,
368,
358,
2376,
279,
2728,
16,
2
] |
if(!force)
|
if(!force && !forcedownload) {
|
public void handleGet(URI uri, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { //String ks = uri.toString(); String ks = uri.getPath(); HTTPRequest httprequest = new HTTPRequest(uri); if (ks.equals("/")) { if (httprequest.isParameterSet("key")) { MultiValueTable headers = new MultiValueTable(); headers.put("Location", "/"+httprequest.getParam("key")); ctx.sendReplyHeaders(302, "Found", headers, null, 0); return; } RedirectException re = new RedirectException(); try { String querystring = uri.getQuery(); if (querystring == null) { re.newuri = new URI("/welcome/"); } else { // TODP possibly a proper URLEncode method querystring = querystring.replace(' ', '+'); re.newuri = new URI("/welcome/?"+querystring); } } catch (URISyntaxException e) { // HUH!?! } throw re; }else if(ks.equals("/favicon.ico")){ byte[] buf = new byte[1024]; int len; InputStream strm = getClass().getResourceAsStream("staticfiles/favicon.ico"); if (strm == null) { this.sendErrorPage(ctx, 404, "Path not found", "The specified path does not exist."); return; } ctx.sendReplyHeaders(200, "OK", null, "image/x-icon", strm.available()); while ( (len = strm.read(buf)) > 0) { ctx.writeData(buf, 0, len); } return; } if(ks.startsWith("/")) ks = ks.substring(1); long maxSize = httprequest.getLongParam("max-size", MAX_LENGTH); FreenetURI key; try { key = new FreenetURI(ks); } catch (MalformedURLException e) { this.writeReply(ctx, 400, "text/html", "Invalid key", "<html><head><title>Invalid key</title></head><body>Expected a freenet key, but got "+HTMLEncoder.encode(ks)+"</body></html>"); return; } try { Logger.minor(this, "Fproxy fetching "+key); FetchResult result = fetch(key, maxSize); // Now, is it safe? Bucket data = result.asBucket(); String typeName = result.getMimeType(); String reqParam = httprequest.getParam("type", null); if(reqParam != null) typeName = reqParam; Logger.minor(this, "Type: "+typeName+" ("+result.getMimeType()+" "+reqParam+")"); long now = System.currentTimeMillis(); String forceString = httprequest.getParam("force"); boolean force = false; if(forceString != null) { if(forceString.equals(getForceValue(key, now)) || forceString.equals(getForceValue(key, now-FORCE_GRAIN_INTERVAL))) force = true; } if(typeName.equals("application/x-msdownload")) { // Download to disk, this should be safe, and is set when we do "force download to disk" from a dangerous-content-warning page. force = true; } try { if(!force) data = ContentFilter.filter(data, ctx.getBucketFactory(), typeName); // Send the data, intact writeReply(ctx, 200, typeName, "OK", data); } catch (UnsafeContentTypeException e) { StringBuffer buf = new StringBuffer(); ctx.getPageMaker().makeHead(buf, "Potentially Dangerous Content"); buf.append("<h1>"); buf.append(e.getHTMLEncodedTitle()); buf.append("</h1>\n"); buf.append(e.getExplanation()); buf.append("<p>Your options are:</p><ul>\n"); buf.append("<li><a href=\"/"+key.toString(false)+"?type=text/plain\">Click here</a> to open the file as plain text (this should not be dangerous, but it may be garbled).</li>\n"); // FIXME: is this safe? See bug #131 buf.append("<li><a href=\"/"+key.toString(false)+"?type=application/x-msdownload\">Click here</a> to force your browser to download the file to disk.</li>\n"); buf.append("<li><a href=\"/"+key.toString(false)+"?force="+getForceValue(key, now)+"\">Click here</a> to open the file as "+HTMLEncoder.encode(typeName)+".</li>\n"); buf.append("<li><a href=\"/\">Click here</a> to go to the FProxy home page.</li>\n"); buf.append("</ul>"); ctx.getPageMaker().makeTail(buf); writeReply(ctx, 200, "text/html", "OK", buf.toString()); } } catch (FetchException e) { String msg = e.getMessage(); String extra = ""; if(e.mode == FetchException.NOT_ENOUGH_METASTRINGS) { this.writePermanentRedirect(ctx, "Not enough meta-strings", "/" + URLEncoder.encode(key.toString(false)) + "/"); } else if(e.newURI != null) { this.writePermanentRedirect(ctx, msg, "/"+e.newURI.toString()); } else if(e.mode == FetchException.TOO_BIG) { StringBuffer buf = new StringBuffer(); ctx.getPageMaker().makeHead(buf, "Large file"); buf.append("<table border=\"0\">\n"); String fnam = getFilename(e, key, e.getExpectedMimeType()); buf.append("<tr><td><b>Filename</b></td>"); buf.append("<a href=\"/"+URLEncoder.encode(key.toString(false))+"\">"); buf.append(fnam); buf.append("</a>"); buf.append("</td></tr>\n"); boolean finalized = e.finalizedSize(); if(e.expectedSize > 0) { buf.append("<tr><td><b>"); if(!finalized) buf.append("Expected size (may change)"); else buf.append("Size"); buf.append("</b></td><td>"); buf.append(SizeUtil.formatSize(e.expectedSize)); buf.append("</td></tr>\n"); } String mime = e.getExpectedMimeType(); if(mime != null) { buf.append("<tr><td><b>"); if(!finalized) buf.append("Expected MIME type"); else buf.append("MIME type"); buf.append("</b></td><td>"); buf.append(mime); buf.append(" bytes </td></tr>\n"); } // FIXME filename buf.append("</table>\n"); buf.append("<br>This is a large file, so it has not been streamed direct" + " to your browser, because Freenet cannot send any data to the " + "browser until it has the whole file, and this may take some time, " + "and also for resource usage reasons.\n"); buf.append("<br>What would you like to do with it?:<ul>"); buf.append("<li>"); buf.append("<form method=\"get\" action=\"/"+key.toString(false)+"\">"); buf.append("<input type=\"hidden\" name=\"max-size\" value=\""+e.expectedSize+"\">"); buf.append("<input type=\"submit\" name=\"fetch\" value=\"Fetch anyway\">"); buf.append("</form></li>"); buf.append("<li><form method=\"post\" action=\"/queue/\">"); buf.append("<input type=\"hidden\" name=\"key\" value=\""+key.toString(false)+"\">"); buf.append("<input type=\"hidden\" name=\"return-type\" value=\"disk\">"); buf.append("<input type=\"hidden\" name=\"persistence\" value=\"forever\">"); if(mime != null) buf.append("<input type=\"hidden\" name=\"type\" value=\""+URLEncoder.encode(mime)+"\">"); buf.append("<input type=\"submit\" name=\"download\" value=\"Download to disk in background\">"); buf.append("</form></li>"); // FIXME add a queue-a-download option.// buf.append("<li>Save it to disk at </li>"); // FIXME add return-to-referring-page //buf.append("<li>Return to the referring page: "); buf.append("<li>Return to the fproxy home page: <a href=\"/\">here</a>"); buf.append("</ul>"); ctx.getPageMaker().makeTail(buf); writeReply(ctx, 200, "text/html", "OK", buf.toString()); // FIXME provide option to queue write to disk. } else { if(e.errorCodes != null) extra = "<pre>"+e.errorCodes.toVerboseString()+"</pre>"; this.writeReply(ctx, 500 /* close enough - FIXME probably should depend on status code */, "text/html", msg, "<html><head><title>"+msg+"</title></head><body>Error: "+HTMLEncoder.encode(msg)+extra+"</body></html>"); } } catch (Throwable t) { Logger.error(this, "Caught "+t, t); String msg = "<html><head><title>Internal Error</title></head><body><h1>Internal Error: please report</h1><pre>"; StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw); t.printStackTrace(pw); pw.flush(); msg = msg + sw.toString() + "</pre></body></html>"; this.writeReply(ctx, 500, "text/html", "Internal Error", msg); } }
|
46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/a7064bfffe3ac1414491d365150286309d4162a2/FproxyToadlet.java/clean/src/freenet/clients/http/FproxyToadlet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1875,
202,
15069,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
202,
202,
759,
780,
11654,
273,
2003,
18,
10492,
5621,
202,
202,
780,
11654,
273,
2003,
18,
588,
743,
5621,
9506,
202,
23891,
1062,
2293,
273,
394,
25238,
12,
1650,
1769,
9506,
202,
430,
261,
7904,
18,
14963,
2932,
4898,
3719,
288,
1082,
202,
430,
261,
2022,
1484,
456,
18,
291,
1662,
694,
2932,
856,
6,
3719,
288,
9506,
202,
5002,
620,
1388,
1607,
273,
394,
5991,
620,
1388,
5621,
6862,
9506,
202,
2485,
18,
458,
2932,
2735,
3113,
4016,
15,
2022,
1484,
456,
18,
588,
786,
2932,
856,
7923,
1769,
9506,
202,
5900,
18,
4661,
7817,
3121,
12,
23,
3103,
16,
315,
2043,
3113,
1607,
16,
446,
16,
374,
1769,
9506,
202,
2463,
31,
1082,
202,
97,
25083,
202,
5961,
503,
283,
273,
394,
9942,
503,
5621,
1082,
202,
698,
288,
9506,
202,
780,
20741,
273,
2003,
18,
588,
1138,
5621,
6862,
9506,
202,
430,
261,
2271,
1080,
422,
446,
13,
288,
6862,
202,
266,
18,
2704,
1650,
273,
394,
3699,
2932,
19,
91,
16312,
4898,
1769,
9506,
202,
97,
469,
288,
6862,
202,
759,
399,
1212,
52,
10016,
279,
5338,
1976,
5509,
707,
6862,
202,
2271,
1080,
273,
20741,
18,
2079,
2668,
2265,
10058,
1769,
6862,
202,
266,
18,
2704,
1650,
273,
394,
3699,
2932,
19,
91,
16312,
19,
7225,
15,
2271,
1080,
1769,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1875,
202,
15069,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
202,
202,
759,
780,
11654,
273,
2003,
18,
10492,
5621,
202,
202,
780,
11654,
273,
2003,
18,
588,
743,
5621,
9506,
202,
23891,
1062,
2293,
273,
394,
25238,
12,
1650,
1769,
9506,
202,
430,
261,
7904,
18,
14963,
2932,
4898,
3719,
288,
1082,
202,
430,
261,
2022,
1484,
456,
18,
291,
1662,
694,
2932,
856,
6,
3719,
288,
9506,
202,
5002,
620,
1388,
1607,
273,
394,
5991,
620,
1388,
5621,
6862,
9506,
202,
2485,
18,
458,
2932,
2735,
3113,
4016,
15,
2022,
1484,
456,
18,
588,
786,
2932,
2
] |
MakeScannerInfo(IProject project) {
|
public MakeScannerInfo(IProject project) {
|
MakeScannerInfo(IProject project) { this.project = project; }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/e75bafa4a4e6c14b60634418bc08cee3200fcd49/MakeScannerInfo.java/buggy/build/org.eclipse.cdt.make.core/src/org/eclipse/cdt/make/core/MakeScannerInfo.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6464,
11338,
966,
12,
45,
4109,
1984,
13,
288,
202,
202,
2211,
18,
4406,
273,
1984,
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,
6464,
11338,
966,
12,
45,
4109,
1984,
13,
288,
202,
202,
2211,
18,
4406,
273,
1984,
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
] |
ArrayList allContexts = new ArrayList(replacements.length); for (int i = 0; i < replacements.length; i++) { IUndoContext[] opContexts = replacements[i].getContexts(); for (int j = 0; j < opContexts.length; j++) { allContexts.add(opContexts[j]);
|
for (int i = 0; i < replacements.length; i++) notifyAdd(replacements[i]); } else { synchronized (redoList) { index = redoList.indexOf(operation); if (index == -1) return; ArrayList allContexts = new ArrayList(replacements.length); redoList.remove(operation); for (int i = 0; i < replacements.length; i++) { IUndoContext[] opContexts = replacements[i].getContexts(); for (int j = 0; j < opContexts.length; j++) { allContexts.add(opContexts[j]); } redoList.add(index, replacements[i]);
|
public void replaceOperation(IUndoableOperation operation, IUndoableOperation[] replacements) { // check the undo history first. int index = undoList.indexOf(operation); if (index > -1) { undoList.remove(operation); internalRemove(operation); ArrayList allContexts = new ArrayList(replacements.length); for (int i = 0; i < replacements.length; i++) { IUndoContext[] opContexts = replacements[i].getContexts(); for (int j = 0; j < opContexts.length; j++) { allContexts.add(opContexts[j]); } undoList.add(index, replacements[i]); notifyAdd(replacements[i]); } // recheck all the limits. We do this at the end so the index // doesn't change during replacement for (int i = 0; i < allContexts.size(); i++) { IUndoContext context = (IUndoContext) allContexts.get(i); forceUndoLimit(context, getLimit(context)); } // look in the redo history } else { index = redoList.indexOf(operation); if (index == -1) return; ArrayList allContexts = new ArrayList(replacements.length); redoList.remove(operation); internalRemove(operation); for (int i = 0; i < replacements.length; i++) { IUndoContext[] opContexts = replacements[i].getContexts(); for (int j = 0; j < opContexts.length; j++) { allContexts.add(opContexts[j]); } redoList.add(index, replacements[i]); notifyAdd(replacements[i]); } // recheck all the limits. We do this at the end so the index // doesn't change during replacement for (int i = 0; i < allContexts.size(); i++) { IUndoContext context = (IUndoContext) allContexts.get(i); forceRedoLimit(context, getLimit(context)); } } }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/a37420692eb0aa38ecd5330932162f30392ae1f7/DefaultOperationHistory.java/clean/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/DefaultOperationHistory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1453,
2988,
12,
45,
31224,
429,
2988,
1674,
16,
1082,
202,
45,
31224,
429,
2988,
8526,
11413,
13,
288,
202,
202,
759,
866,
326,
15436,
4927,
1122,
18,
202,
202,
474,
770,
273,
15436,
682,
18,
31806,
12,
7624,
1769,
202,
202,
430,
261,
1615,
405,
300,
21,
13,
288,
1082,
202,
31226,
682,
18,
4479,
12,
7624,
1769,
1082,
202,
7236,
3288,
12,
7624,
1769,
1082,
202,
19558,
777,
15518,
273,
394,
2407,
12,
2079,
1346,
18,
2469,
1769,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
11413,
18,
2469,
31,
277,
27245,
288,
9506,
202,
45,
31224,
1042,
8526,
1061,
15518,
273,
11413,
63,
77,
8009,
588,
15518,
5621,
9506,
202,
1884,
261,
474,
525,
273,
374,
31,
525,
411,
1061,
15518,
18,
2469,
31,
525,
27245,
288,
6862,
202,
454,
15518,
18,
1289,
12,
556,
15518,
63,
78,
19226,
9506,
202,
97,
9506,
202,
31226,
682,
18,
1289,
12,
1615,
16,
11413,
63,
77,
19226,
9506,
202,
12336,
986,
12,
2079,
1346,
63,
77,
19226,
1082,
202,
97,
1082,
202,
759,
283,
1893,
777,
326,
8181,
18,
1660,
741,
333,
622,
326,
679,
1427,
326,
770,
1082,
202,
759,
3302,
1404,
2549,
4982,
6060,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
777,
15518,
18,
1467,
5621,
277,
27245,
288,
9506,
202,
45,
31224,
1042,
819,
273,
261,
45,
31224,
1042,
13,
777,
15518,
18,
588,
12,
77,
1769,
9506,
202,
5734,
31224,
3039,
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,
1453,
2988,
12,
45,
31224,
429,
2988,
1674,
16,
1082,
202,
45,
31224,
429,
2988,
8526,
11413,
13,
288,
202,
202,
759,
866,
326,
15436,
4927,
1122,
18,
202,
202,
474,
770,
273,
15436,
682,
18,
31806,
12,
7624,
1769,
202,
202,
430,
261,
1615,
405,
300,
21,
13,
288,
1082,
202,
31226,
682,
18,
4479,
12,
7624,
1769,
1082,
202,
7236,
3288,
12,
7624,
1769,
1082,
202,
19558,
777,
15518,
273,
394,
2407,
12,
2079,
1346,
18,
2469,
1769,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
11413,
18,
2469,
31,
277,
27245,
288,
9506,
202,
45,
31224,
1042,
8526,
1061,
15518,
273,
11413,
63,
77,
8009,
588,
15518,
5621,
9506,
2
] |
setSize(new Dimension(300, 200));
|
setSize(new Dimension(prefs.getInt("width", 300), prefs.getInt("height", 200)));
|
public TilePaletteDialog(MapEditor editor, Map map) { super(editor.getAppFrame(), DIALOG_TITLE, false); this.editor = editor; init(); setMap(map); setSize(new Dimension(300, 200)); setLocationRelativeTo(getOwner()); setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE); }
|
6621 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6621/8cf53681079451ebb6164f93f48bf0d706a1e200/TilePaletteDialog.java/clean/src/tiled/mapeditor/dialogs/TilePaletteDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
13791,
25863,
6353,
12,
863,
6946,
4858,
16,
1635,
852,
13,
288,
3639,
2240,
12,
9177,
18,
588,
3371,
3219,
9334,
3690,
18683,
67,
14123,
16,
629,
1769,
3639,
333,
18,
9177,
273,
4858,
31,
3639,
1208,
5621,
3639,
444,
863,
12,
1458,
1769,
3639,
19106,
12,
2704,
13037,
12,
1484,
2556,
18,
588,
1702,
2932,
2819,
3113,
11631,
3631,
15503,
18,
588,
1702,
2932,
4210,
3113,
4044,
3719,
1769,
3639,
21751,
8574,
774,
12,
588,
5541,
10663,
3639,
9277,
4605,
2988,
12,
46,
3219,
18,
44,
10385,
67,
673,
67,
13384,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
13791,
25863,
6353,
12,
863,
6946,
4858,
16,
1635,
852,
13,
288,
3639,
2240,
12,
9177,
18,
588,
3371,
3219,
9334,
3690,
18683,
67,
14123,
16,
629,
1769,
3639,
333,
18,
9177,
273,
4858,
31,
3639,
1208,
5621,
3639,
444,
863,
12,
1458,
1769,
3639,
19106,
12,
2704,
13037,
12,
1484,
2556,
18,
588,
1702,
2932,
2819,
3113,
11631,
3631,
15503,
18,
588,
1702,
2932,
4210,
3113,
4044,
3719,
1769,
3639,
21751,
8574,
774,
12,
588,
5541,
10663,
3639,
9277,
4605,
2988,
12,
46,
3219,
18,
44,
10385,
67,
673,
67,
13384,
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
] |
private int doXQueryC(String qry) throws RemoteException { QueryResponse rsp = query.xquery(sessionId,qry.getBytes()); int noHits = rsp.getHits(); if (noHits > 0) { String[] rsps = query.retrieveByDocument(sessionId,1,noHits,testColl + "/docA",true,false,"none"); for (int i = 0; i < rsps.length; i++) { System.out.println(rsps[i]); } noHits = rsps.length;
|
private int doXQueryC(String qry) throws RemoteException { QueryResponse rsp = query.xquery(sessionId,qry.getBytes()); int noHits = rsp.getHits(); if (noHits > 0) { String[] rsps = query.retrieveByDocument(sessionId,1,noHits,testColl + "/docA",true,false,"none"); for (int i = 0; i < rsps.length; i++) { System.out.println(rsps[i]); } noHits = rsps.length;
|
private int doXQueryC(String qry) throws RemoteException { QueryResponse rsp = query.xquery(sessionId,qry.getBytes()); int noHits = rsp.getHits(); if (noHits > 0) { String[] rsps = query.retrieveByDocument(sessionId,1,noHits,testColl + "/docA",true,false,"none"); for (int i = 0; i < rsps.length; i++) { System.out.println(rsps[i]); } noHits = rsps.length;// assertEquals(noHits,rsps.length); } else { System.out.println("No hits"); } return noHits; }
|
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/d8a9a41bcfc2db91febaa509dd518ba24c92cfe6/XQueryTest.java/buggy/src/org/exist/soap/test/XQueryTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
509,
741,
60,
1138,
39,
12,
780,
16788,
13,
1216,
18361,
202,
95,
202,
202,
1138,
1064,
12049,
273,
843,
18,
92,
2271,
12,
3184,
548,
16,
85,
1176,
18,
588,
2160,
10663,
202,
202,
474,
1158,
20950,
273,
12049,
18,
588,
20950,
5621,
202,
202,
430,
261,
2135,
20950,
405,
374,
13,
202,
202,
95,
1082,
202,
780,
8526,
3597,
1121,
273,
843,
18,
17466,
858,
2519,
12,
3184,
548,
16,
21,
16,
2135,
20950,
16,
3813,
13535,
397,
2206,
2434,
37,
3113,
3767,
16,
5743,
10837,
6102,
8863,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
3597,
1121,
18,
2469,
31,
277,
27245,
1082,
202,
95,
9506,
202,
3163,
18,
659,
18,
8222,
12,
5453,
1121,
63,
77,
19226,
1082,
202,
97,
1082,
202,
2135,
20950,
273,
3597,
1121,
18,
2469,
31,
759,
1082,
202,
11231,
8867,
12,
2135,
20950,
16,
5453,
1121,
18,
2469,
1769,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
2279,
11076,
8863,
202,
202,
97,
202,
202,
2463,
1158,
20950,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
509,
741,
60,
1138,
39,
12,
780,
16788,
13,
1216,
18361,
202,
95,
202,
202,
1138,
1064,
12049,
273,
843,
18,
92,
2271,
12,
3184,
548,
16,
85,
1176,
18,
588,
2160,
10663,
202,
202,
474,
1158,
20950,
273,
12049,
18,
588,
20950,
5621,
202,
202,
430,
261,
2135,
20950,
405,
374,
13,
202,
202,
95,
1082,
202,
780,
8526,
3597,
1121,
273,
843,
18,
17466,
858,
2519,
12,
3184,
548,
16,
21,
16,
2135,
20950,
16,
3813,
13535,
397,
2206,
2434,
37,
3113,
3767,
16,
5743,
10837,
6102,
8863,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
3597,
1121,
18,
2469,
31,
277,
27245,
1082,
202,
95,
9506,
202,
3163,
18,
659,
2
] |
{ final boolean previousRequiredState = inheritedInstanceData.getPreviousRequiredState(); final boolean newRequiredState = inheritedInstanceData.getRequired().get(); if ((valueChanged || previousRequiredState) && !newRequiredState) { for (Iterator i = getBoundControlsIterator(); i.hasNext();) eventsToDispatch.add(new XFormsOptionalEvent((XFormsEventTarget) i.next())); } else if ((valueChanged || !previousRequiredState) && newRequiredState) { for (Iterator i = getBoundControlsIterator(); i.hasNext();) eventsToDispatch.add(new XFormsRequiredEvent((XFormsEventTarget) i.next())); } } { final boolean previousRelevantState = inheritedInstanceData.getPreviousRelevantState(); final boolean newRelevantState = inheritedInstanceData.getRelevant().get(); if ((valueChanged || previousRelevantState) && !newRelevantState) { for (Iterator i = getBoundControlsIterator(); i.hasNext();) eventsToDispatch.add(new XFormsDisabledEvent((XFormsEventTarget) i.next())); } else if ((valueChanged || !previousRelevantState) && newRelevantState) { for (Iterator i = getBoundControlsIterator(); i.hasNext();) eventsToDispatch.add(new XFormsEnabledEvent((XFormsEventTarget) i.next())); } } { final boolean previousReadonlyState = inheritedInstanceData.getPreviousReadonlyState(); final boolean newReadonlyState = inheritedInstanceData.getReadonly().get(); if ((valueChanged || previousReadonlyState) && !newReadonlyState) { for (Iterator i = getBoundControlsIterator(); i.hasNext();) eventsToDispatch.add(new XFormsReadwriteEvent((XFormsEventTarget) i.next())); } else if ((valueChanged || !previousReadonlyState) && newReadonlyState) { for (Iterator i = getBoundControlsIterator(); i.hasNext();) eventsToDispatch.add(new XFormsReadonlyEvent((XFormsEventTarget) i.next())); } } { final boolean previousValidState = inheritedInstanceData.getPreviousValidState(); final boolean newValidState = inheritedInstanceData.getValid().get(); if ((valueChanged || previousValidState) && !newValidState) { for (Iterator i = getBoundControlsIterator(); i.hasNext();) eventsToDispatch.add(new XFormsInvalidEvent((XFormsEventTarget) i.next())); } else if ((valueChanged || !previousValidState) && newValidState) { for (Iterator i = getBoundControlsIterator(); i.hasNext();) eventsToDispatch.add(new XFormsValidEvent((XFormsEventTarget) i.next())); } }
|
public void performDefaultAction(final PipelineContext pipelineContext, XFormsEvent event) { final String eventName = event.getEventName(); if (XFormsEvents.XXFORMS_INITIALIZE_STATE.equals(eventName)) { // Internal event to restore state loadSchemasIfNeeded(pipelineContext); applyComputedExpressionBinds(pipelineContext, false); containingDocument.dispatchEvent(pipelineContext, new XFormsRevalidateEvent(this, false)); clearInstanceDataEventState(); } else if (XFormsEvents.XFORMS_MODEL_CONSTRUCT.equals(eventName)) { // 4.2.1 The xforms-model-construct Event // Bubbles: Yes / Cancelable: No / Context Info: None final Element modelElement = modelDocument.getRootElement(); // 1. All XML Schemas loaded (throws xforms-link-exception) // TODO: support multiple schemas // Get schema URI loadSchemasIfNeeded(pipelineContext); // TODO: throw exception event // 2. Create XPath data model from instance (inline or external) (throws xforms-link-exception) // Instance may not be specified. if (instances == null) { // Build initial instance document List instanceContainers = modelElement.elements(new QName("instance", XFormsConstants.XFORMS_NAMESPACE)); if (instanceContainers.size() > 0) { // Support multiple instances int instancePosition = 0; for (Iterator i = instanceContainers.iterator(); i.hasNext(); instancePosition++) { final Element instanceContainer = (Element) i.next(); final String srcAttribute = instanceContainer.attributeValue("src"); final Document instanceDocument; //= ProcessorUtils.createDocumentFromEmbeddedOrHref(Element element, String urlString) { if (srcAttribute == null) { // Inline instance final List children = instanceContainer.elements(); if (children == null || children.size() == 0) throw new OXFException("xforms:instance element must contain exactly one child element");// TODO: Throw XForms event? instanceDocument = Dom4jUtils.createDocumentCopyParentNamespaces((Element) children.get(0)); } else { // External instance // TODO: Handle relative URLs// if (serverSideRelative) {//// } else {//// }////// xxx final LocationData locationData = (LocationData) instanceContainer.getData(); final URL srcURL = ProcessorUtils.createRelativeURL(locationData, srcAttribute); final URLGenerator urlGenerator = new URLGenerator(srcURL); final DOMSerializer domSerializer = new DOMSerializer(); PipelineUtils.connect(urlGenerator, ProcessorImpl.OUTPUT_DATA, domSerializer, ProcessorImpl.INPUT_DATA); domSerializer.start(pipelineContext); instanceDocument = domSerializer.getDocument(pipelineContext); } setInstanceDocument(pipelineContext, instancePosition, instanceDocument); } } } // TODO: throw exception event // Call special listener to update instance if (instanceConstructListener != null) { for (Iterator i = getInstances().iterator(); i.hasNext();) { instanceConstructListener.updateInstance((XFormsInstance) i.next()); } } // 3. P3P (N/A) // 4. Instance data is constructed. Evaluate binds: // a. Evaluate nodeset // b. Apply model item properties on nodes // c. Throws xforms-binding-exception if the node has already model item property with same name // TODO: a, b, c xxx // 5. xforms-rebuild, xforms-recalculate, xforms-revalidate containingDocument.dispatchEvent(pipelineContext, new XFormsRebuildEvent(this)); containingDocument.dispatchEvent(pipelineContext, new XFormsRecalculateEvent(this, false)); containingDocument.dispatchEvent(pipelineContext, new XFormsRevalidateEvent(this, false));// clearInstanceDataEventState(); } else if (XFormsEvents.XFORMS_MODEL_CONSTRUCT_DONE.equals(eventName)) { // 4.2.2 The xforms-model-construct-done Event // Bubbles: Yes / Cancelable: No / Context Info: None // TODO: if instance exists (for now it does!), check that controls can bind, otherwise control must be "irrelevant" // TODO: implicit lazy instance construction } else if (XFormsEvents.XFORMS_REBUILD.equals(eventName)) { // 4.3.7 The xforms-rebuild Event // Bubbles: Yes / Cancelable: Yes / Context Info: None // TODO: rebuild computational dependency data structures } else if (XFormsEvents.XFORMS_RECALCULATE.equals(eventName)) { // 4.3.6 The xforms-recalculate Event // Bubbles: Yes / Cancelable: Yes / Context Info: None if (instances != null) { // Update computed expression binds applyComputedExpressionBinds(pipelineContext, true); } } else if (XFormsEvents.XFORMS_REVALIDATE.equals(eventName)) { // 4.3.5 The xforms-revalidate Event // Bubbles: Yes / Cancelable: Yes / Context Info: None if (instances != null) { // Clear validation state for (Iterator i = instances.iterator(); i.hasNext();) { XFormsUtils.iterateInstanceData(((XFormsInstance) i.next()).getDocument(), new XFormsUtils.InstanceWalker() { public void walk(Node node, InstanceData localInstanceData, InstanceData inheritedInstanceData) { if (localInstanceData != null) { localInstanceData.clearValidationState(); } } }); } // Run validation applySchemasIfNeeded(); applyBinds(new BindRunner() { public void applyBind(ModelBind modelBind, DocumentWrapper documentWrapper) { handleValidationBind(pipelineContext, modelBind, documentWrapper, this); } }); } } else if (XFormsEvents.XFORMS_REFRESH.equals(eventName)) { // 4.3.4 The xforms-refresh Event // Bubbles: Yes / Cancelable: Yes / Context Info: None // "1. All UI bindings should be reevaluated as necessary." // "2. A node can be changed by confirmed user input to a form control, by // xforms-recalculate (section 4.3.6) or by the setvalue (section 10.1.9) action. If the // value of an instance data node was changed, then the node must be marked for // dispatching the xforms-value-changed event." // "3. If the xforms-value-changed event is marked for dispatching, then all of the // appropriate model item property notification events must also be marked for // dispatching (xforms-optional or xforms-required, xforms-readwrite or xforms-readonly, // and xforms-enabled or xforms-disabled)." // "4. For each form control, each notification event that is marked for dispatching on // the bound node must be dispatched (xforms-value-changed, xforms-valid, // xforms-invalid, xforms-optional, xforms-required, xforms-readwrite, xforms-readonly, // and xforms-enabled, xforms-disabled). The notification events xforms-out-of-range or // xforms-in-range must also be dispatched as appropriate. This specification does not // specify an ordering for the events." final XFormsControls xformsControls = containingDocument.getXFormsControls(); if (xformsControls != null) { // Build list of events to send final List eventsToDispatch = new ArrayList(); for (Iterator i = instances.iterator(); i.hasNext();) { XFormsUtils.iterateInstanceData(((XFormsInstance) i.next()).getDocument(), new BoundNodeInstanceWalker(pipelineContext, xformsControls) { public void walk(Node node, InstanceData localInstanceData, InstanceData inheritedInstanceData) { setNode(node); // Check if value has changed final boolean valueChanged = inheritedInstanceData.isValueChanged(); // Dispatch xforms-optional/xforms-required { final boolean previousRequiredState = inheritedInstanceData.getPreviousRequiredState(); final boolean newRequiredState = inheritedInstanceData.getRequired().get(); if ((valueChanged || previousRequiredState) && !newRequiredState) { for (Iterator i = getBoundControlsIterator(); i.hasNext();) eventsToDispatch.add(new XFormsOptionalEvent((XFormsEventTarget) i.next())); } else if ((valueChanged || !previousRequiredState) && newRequiredState) { for (Iterator i = getBoundControlsIterator(); i.hasNext();) eventsToDispatch.add(new XFormsRequiredEvent((XFormsEventTarget) i.next())); } } // Dispatch xforms-enabled/xforms-disabled { final boolean previousRelevantState = inheritedInstanceData.getPreviousRelevantState(); final boolean newRelevantState = inheritedInstanceData.getRelevant().get(); if ((valueChanged || previousRelevantState) && !newRelevantState) { for (Iterator i = getBoundControlsIterator(); i.hasNext();) eventsToDispatch.add(new XFormsDisabledEvent((XFormsEventTarget) i.next())); } else if ((valueChanged || !previousRelevantState) && newRelevantState) { for (Iterator i = getBoundControlsIterator(); i.hasNext();) eventsToDispatch.add(new XFormsEnabledEvent((XFormsEventTarget) i.next())); } } // Dispatch xforms-readonly/xforms-readwrite { final boolean previousReadonlyState = inheritedInstanceData.getPreviousReadonlyState(); final boolean newReadonlyState = inheritedInstanceData.getReadonly().get(); if ((valueChanged || previousReadonlyState) && !newReadonlyState) { for (Iterator i = getBoundControlsIterator(); i.hasNext();) eventsToDispatch.add(new XFormsReadwriteEvent((XFormsEventTarget) i.next())); } else if ((valueChanged || !previousReadonlyState) && newReadonlyState) { for (Iterator i = getBoundControlsIterator(); i.hasNext();) eventsToDispatch.add(new XFormsReadonlyEvent((XFormsEventTarget) i.next())); } } // Dispatch xforms-valid/xforms-invalid // NOTE: There is no mention in the spec that these events should be // displatched automatically when the value has changed, contrary to the // other events above. { final boolean previousValidState = inheritedInstanceData.getPreviousValidState(); final boolean newValidState = inheritedInstanceData.getValid().get(); if ((valueChanged || previousValidState) && !newValidState) { for (Iterator i = getBoundControlsIterator(); i.hasNext();) eventsToDispatch.add(new XFormsInvalidEvent((XFormsEventTarget) i.next())); } else if ((valueChanged || !previousValidState) && newValidState) { for (Iterator i = getBoundControlsIterator(); i.hasNext();) eventsToDispatch.add(new XFormsValidEvent((XFormsEventTarget) i.next())); } } // Dispatch xforms-value-changed // NOTE: deferred behavior is broken in XForms 1.0; 1.1 should // introduce better behavior; howver, with the 1.0 behavior, it works // better for us for now to send xforms-value-changed last if (valueChanged) { for (Iterator i = getBoundControlsIterator(); i.hasNext();) eventsToDispatch.add(new XFormsValueChangeEvent((XFormsEventTarget) i.next())); } } }); } // Clear InstanceData event state clearInstanceDataEventState(); // Send events for (Iterator i = eventsToDispatch.iterator(); i.hasNext();) { containingDocument.dispatchEvent(pipelineContext, (XFormsEvent) i.next()); } // "5. The user interface reflects the state of the model, which means that all forms // controls reflect for their corresponding bound instance data:" if (xformsControls != null) { containingDocument.getXFormsControls().refreshForModel(pipelineContext, this); } } } else if (XFormsEvents.XFORMS_RESET.equals(eventName)) { // 4.3.8 The xforms-reset Event // Bubbles: Yes / Cancelable: Yes / Context Info: None // TODO // "The instance data is reset to the tree structure and values it had immediately // after having processed the xforms-ready event." // "Then, the events xforms-rebuild, xforms-recalculate, xforms-revalidate and // xforms-refresh are dispatched to the model element in sequence." containingDocument.dispatchEvent(pipelineContext, new XFormsRebuildEvent(XFormsModel.this)); containingDocument.dispatchEvent(pipelineContext, new XFormsRecalculateEvent(XFormsModel.this, true)); containingDocument.dispatchEvent(pipelineContext, new XFormsRevalidateEvent(XFormsModel.this, true)); containingDocument.dispatchEvent(pipelineContext, new XFormsRefreshEvent(XFormsModel.this)); } else if (XFormsEvents.XFORMS_COMPUTE_EXCEPTION.equals(eventName)) { // 4.5.4 The xforms-compute-exception Event // Bubbles: Yes / Cancelable: No / Context Info: Implementation-specific error string. // The default action for this event results in the following: Fatal error. // TODO } }
|
57229 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57229/08765f5dfa47c92ad95accd37caf0de0bfbf351e/XFormsModel.java/clean/src/java/org/orbeon/oxf/xforms/XFormsModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3073,
1868,
1803,
12,
6385,
13671,
1042,
5873,
1042,
16,
1139,
18529,
1133,
871,
13,
288,
3639,
727,
514,
7933,
273,
871,
18,
588,
24320,
5621,
3639,
309,
261,
60,
18529,
3783,
18,
5619,
4983,
55,
67,
28497,
15641,
67,
7998,
18,
14963,
12,
2575,
461,
3719,
288,
5411,
368,
3186,
871,
358,
5217,
919,
5411,
1262,
16749,
18299,
12,
14511,
1042,
1769,
5411,
2230,
17934,
2300,
17856,
12,
14511,
1042,
16,
629,
1769,
5411,
4191,
2519,
18,
10739,
1133,
12,
14511,
1042,
16,
394,
1139,
18529,
426,
5662,
1133,
12,
2211,
16,
629,
10019,
5411,
2424,
1442,
751,
1133,
1119,
5621,
3639,
289,
469,
309,
261,
60,
18529,
3783,
18,
60,
4983,
55,
67,
17391,
67,
26935,
18,
14963,
12,
2575,
461,
3719,
288,
5411,
368,
1059,
18,
22,
18,
21,
1021,
619,
9741,
17,
2284,
17,
10062,
2587,
5411,
368,
605,
22298,
1040,
30,
19925,
342,
10347,
429,
30,
2631,
342,
1772,
3807,
30,
599,
5411,
727,
3010,
938,
1046,
273,
938,
2519,
18,
588,
2375,
1046,
5621,
5411,
368,
404,
18,
4826,
3167,
348,
7753,
4203,
261,
15069,
619,
9741,
17,
1232,
17,
4064,
13,
5411,
368,
2660,
30,
2865,
3229,
12783,
5411,
368,
968,
1963,
3699,
5411,
1262,
16749,
18299,
12,
14511,
1042,
1769,
5411,
368,
2660,
30,
604,
1520,
871,
5411,
368,
576,
18,
1788,
10172,
501,
938,
628,
791,
261,
10047,
578,
3903,
13,
261,
15069,
619,
9741,
17,
1232,
17,
4064,
13,
5411,
368,
565,
5180,
2026,
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,
3073,
1868,
1803,
12,
6385,
13671,
1042,
5873,
1042,
16,
1139,
18529,
1133,
871,
13,
288,
3639,
727,
514,
7933,
273,
871,
18,
588,
24320,
5621,
3639,
309,
261,
60,
18529,
3783,
18,
5619,
4983,
55,
67,
28497,
15641,
67,
7998,
18,
14963,
12,
2575,
461,
3719,
288,
5411,
368,
3186,
871,
358,
5217,
919,
5411,
1262,
16749,
18299,
12,
14511,
1042,
1769,
5411,
2230,
17934,
2300,
17856,
12,
14511,
1042,
16,
629,
1769,
5411,
4191,
2519,
18,
10739,
1133,
12,
14511,
1042,
16,
394,
1139,
18529,
426,
5662,
1133,
12,
2211,
16,
629,
10019,
5411,
2424,
1442,
751,
1133,
1119,
5621,
3639,
289,
469,
309,
261,
60,
18529,
3783,
18,
60,
4983,
55,
67,
17391,
2
] |
|
if (doctype != null)
|
if (doctype != null)
|
public boolean setXHTMLDocType(Node root) { String fpi = " "; String sysid = ""; String namespace = XHTML_NAMESPACE; String dtdsub = null; Node doctype; int dtdlen = 0; doctype = root.findDocType(); fixHTMLNameSpace(root, namespace); // #427839 - fix by Evan Lenz 05 Sep 00 if (this.configuration.docTypeMode == Configuration.DOCTYPE_OMIT) { if (doctype != null) { Node.discardElement(doctype); } return true; } if (this.configuration.docTypeMode == Configuration.DOCTYPE_AUTO) { // see what flavor of XHTML this document matches if (TidyUtils.toBoolean(this.versions & Dict.VERS_HTML40_STRICT)) { // use XHTML strict fpi = "-//W3C//DTD XHTML 1.0 Strict//EN"; sysid = VOYAGER_STRICT; } else if (TidyUtils.toBoolean(this.versions & Dict.VERS_FRAMESET)) { // use XHTML frames fpi = "-//W3C//DTD XHTML 1.0 Frameset//EN"; sysid = VOYAGER_FRAMESET; } else if (TidyUtils.toBoolean(this.versions & Dict.VERS_LOOSE)) { fpi = "-//W3C//DTD XHTML 1.0 Transitional//EN"; sysid = VOYAGER_LOOSE; } else if (TidyUtils.toBoolean(this.versions & Dict.VERS_XHTML11)) { // use XHTML 1.1 fpi = "-//W3C//DTD XHTML 1.1//EN"; sysid = VOYAGER_11; } else { // proprietary fpi = null; sysid = ""; if (doctype != null)// #473490 - fix by Bjrn Hhrmann 10 Oct 01 { Node.discardElement(doctype); } } } else if (this.configuration.docTypeMode == Configuration.DOCTYPE_STRICT) { fpi = "-//W3C//DTD XHTML 1.0 Strict//EN"; sysid = VOYAGER_STRICT; } else if (this.configuration.docTypeMode == Configuration.DOCTYPE_LOOSE) { fpi = "-//W3C//DTD XHTML 1.0 Transitional//EN"; sysid = VOYAGER_LOOSE; } if (this.configuration.docTypeMode == Configuration.DOCTYPE_USER && this.configuration.docTypeStr != null) { fpi = this.configuration.docTypeStr; sysid = ""; } if (fpi == null) { return false; } if (doctype != null) { // Look for internal DTD subset if (configuration.xHTML || configuration.xmlOut) { int len = doctype.end - doctype.start + 1; String start = TidyUtils.getString(this.lexbuf, doctype.start, len); int dtdbeg = start.indexOf('['); if (dtdbeg >= 0) { int dtdend = start.substring(dtdbeg).indexOf(']'); if (dtdend >= 0) { dtdlen = dtdend + 1; dtdsub = start.substring(dtdbeg); } } } } else { if ((doctype = newXhtmlDocTypeNode(root)) == null) { return false; } } this.txtstart = this.lexsize; this.txtend = this.lexsize; // add public identifier addStringLiteral("html PUBLIC "); // check if the fpi is quoted or not if (fpi.charAt(0) == '"') { addStringLiteral(fpi); } else { addStringLiteral("\""); addStringLiteral(fpi); addStringLiteral("\""); } if (this.configuration.wraplen != 0 && sysid.length() + 6 >= this.configuration.wraplen) { addStringLiteral("\n\""); } else { // FG: don't wrap addStringLiteral(" \""); } // add system identifier addStringLiteral(sysid); addStringLiteral("\""); if (dtdlen > 0 && dtdsub != null) { addCharToLexer(' '); addStringLiteralLen(dtdsub, dtdlen); } this.txtend = this.lexsize; int length = this.txtend - this.txtstart; doctype.textarray = new byte[length]; System.arraycopy(this.lexbuf, this.txtstart, doctype.textarray, 0, length); doctype.start = 0; doctype.end = length; return false; }
|
3308 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3308/42682ce017e975705090b9d89fa1b43e011e9a6b/Lexer.java/clean/src/main/java/org/w3c/tidy/Lexer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
23733,
4870,
1759,
559,
12,
907,
1365,
13,
565,
288,
3639,
514,
4253,
77,
273,
315,
13636,
3639,
514,
2589,
350,
273,
1408,
31,
3639,
514,
1981,
273,
30551,
67,
11368,
31,
3639,
514,
3681,
72,
1717,
273,
446,
31,
3639,
2029,
24909,
31,
3639,
509,
3681,
72,
1897,
273,
374,
31,
3639,
24909,
273,
1365,
18,
4720,
1759,
559,
5621,
3639,
2917,
4870,
26857,
12,
3085,
16,
1981,
1769,
368,
468,
24,
5324,
28,
5520,
300,
2917,
635,
30964,
304,
6698,
94,
15331,
18032,
9631,
3639,
309,
261,
2211,
18,
7025,
18,
2434,
559,
2309,
422,
4659,
18,
29824,
67,
1872,
1285,
13,
3639,
288,
5411,
309,
261,
2896,
12387,
480,
446,
13,
5411,
288,
7734,
2029,
18,
31992,
1046,
12,
2896,
12387,
1769,
5411,
289,
5411,
327,
638,
31,
3639,
289,
3639,
309,
261,
2211,
18,
7025,
18,
2434,
559,
2309,
422,
4659,
18,
29824,
67,
18909,
13,
3639,
288,
5411,
368,
2621,
4121,
19496,
434,
30551,
333,
1668,
1885,
5411,
309,
261,
56,
29609,
1989,
18,
869,
5507,
12,
2211,
18,
10169,
473,
9696,
18,
21510,
67,
4870,
7132,
67,
30776,
3719,
5411,
288,
7734,
368,
999,
30551,
5490,
7734,
4253,
77,
273,
3701,
759,
59,
23,
39,
759,
25728,
30551,
404,
18,
20,
22307,
759,
1157,
14432,
7734,
2589,
350,
273,
776,
51,
61,
16302,
67,
30776,
31,
5411,
289,
5411,
469,
309,
261,
56,
29609,
1989,
18,
869,
5507,
12,
2211,
18,
10169,
473,
9696,
18,
21510,
67,
15072,
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,
1250,
23733,
4870,
1759,
559,
12,
907,
1365,
13,
565,
288,
3639,
514,
4253,
77,
273,
315,
13636,
3639,
514,
2589,
350,
273,
1408,
31,
3639,
514,
1981,
273,
30551,
67,
11368,
31,
3639,
514,
3681,
72,
1717,
273,
446,
31,
3639,
2029,
24909,
31,
3639,
509,
3681,
72,
1897,
273,
374,
31,
3639,
24909,
273,
1365,
18,
4720,
1759,
559,
5621,
3639,
2917,
4870,
26857,
12,
3085,
16,
1981,
1769,
368,
468,
24,
5324,
28,
5520,
300,
2917,
635,
30964,
304,
6698,
94,
15331,
18032,
9631,
3639,
309,
261,
2211,
18,
7025,
18,
2434,
559,
2309,
422,
4659,
18,
29824,
67,
1872,
1285,
13,
3639,
288,
5411,
309,
261,
2896,
12387,
480,
446,
13,
5411,
288,
2
] |
if (points[i].z < min.z) min.z = points[i].z; else if (points[i].z > max.z) max.z = points[i].z; }
|
if (points[i].z < min.z) min.z = points[i].z; else if (points[i].z > max.z) max.z = points[i].z; }
|
private void containAABB(Vector3f[] points) { if (points.length <= 0) { return; } Vector3f min = tempVa.set(points[0]); Vector3f max = tempVb.set(min); for (int i = 1; i < points.length; i++) { if (points[i].x < min.x) min.x = points[i].x; else if (points[i].x > max.x) max.x = points[i].x; if (points[i].y < min.y) min.y = points[i].y; else if (points[i].y > max.y) max.y = points[i].y; if (points[i].z < min.z) min.z = points[i].z; else if (points[i].z > max.z) max.z = points[i].z; } center.set(min.addLocal(max)); center.multLocal(0.5f); extent.set(max.x - center.x, max.y - center.y, max.z - center.z); xAxis.set(1, 0, 0); yAxis.set(0, 1, 0); zAxis.set(0, 0, 1); }
|
19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/6aaba14bb39fd6af9aea6f599180d9ac7dbd923d/OrientedBoundingBox.java/buggy/src/com/jme/bounding/OrientedBoundingBox.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
912,
37,
2090,
38,
12,
5018,
23,
74,
8526,
3143,
13,
288,
202,
202,
430,
261,
4139,
18,
2469,
1648,
374,
13,
288,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
5018,
23,
74,
1131,
273,
1906,
21557,
18,
542,
12,
4139,
63,
20,
19226,
202,
202,
5018,
23,
74,
943,
273,
1906,
58,
70,
18,
542,
12,
1154,
1769,
202,
202,
1884,
261,
474,
277,
273,
404,
31,
277,
411,
3143,
18,
2469,
31,
277,
27245,
288,
1082,
202,
430,
261,
4139,
63,
77,
8009,
92,
411,
1131,
18,
92,
13,
9506,
202,
1154,
18,
92,
273,
3143,
63,
77,
8009,
92,
31,
1082,
202,
12107,
309,
261,
4139,
63,
77,
8009,
92,
405,
943,
18,
92,
13,
9506,
202,
1896,
18,
92,
273,
3143,
63,
77,
8009,
92,
31,
1082,
202,
430,
261,
4139,
63,
77,
8009,
93,
411,
1131,
18,
93,
13,
9506,
202,
1154,
18,
93,
273,
3143,
63,
77,
8009,
93,
31,
1082,
202,
12107,
309,
261,
4139,
63,
77,
8009,
93,
405,
943,
18,
93,
13,
9506,
202,
1896,
18,
93,
273,
3143,
63,
77,
8009,
93,
31,
1082,
202,
430,
261,
4139,
63,
77,
8009,
94,
411,
1131,
18,
94,
13,
9506,
202,
1154,
18,
94,
273,
3143,
63,
77,
8009,
94,
31,
1082,
202,
12107,
309,
261,
4139,
63,
77,
8009,
94,
405,
943,
18,
94,
13,
9506,
202,
1896,
18,
94,
273,
3143,
63,
77,
8009,
94,
31,
202,
202,
97,
202,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
912,
37,
2090,
38,
12,
5018,
23,
74,
8526,
3143,
13,
288,
202,
202,
430,
261,
4139,
18,
2469,
1648,
374,
13,
288,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
5018,
23,
74,
1131,
273,
1906,
21557,
18,
542,
12,
4139,
63,
20,
19226,
202,
202,
5018,
23,
74,
943,
273,
1906,
58,
70,
18,
542,
12,
1154,
1769,
202,
202,
1884,
261,
474,
277,
273,
404,
31,
277,
411,
3143,
18,
2469,
31,
277,
27245,
288,
1082,
202,
430,
261,
4139,
63,
77,
8009,
92,
411,
1131,
18,
92,
13,
9506,
202,
1154,
18,
92,
273,
3143,
63,
77,
8009,
92,
31,
1082,
202,
12107,
309,
261,
4139,
63,
77,
8009,
92,
2
] |
lblActionType.setText("Action:");
|
lblActionType.setText(Messages.getString("TriggerDataComposite.Lbl.Action"));
|
private void placeComponents() { // Layout for the content composite GridLayout glCMPTrigger = new GridLayout(); glCMPTrigger.numColumns = 2; glCMPTrigger.horizontalSpacing = 16; glCMPTrigger.verticalSpacing = 5; glCMPTrigger.marginHeight = 0; glCMPTrigger.marginWidth = 0; // Layout for the Action Details group slValues = new StackLayout(); // Layout for script value composite GridLayout glScript = new GridLayout(); glScript.marginWidth = 4; glScript.marginHeight = 6; // Layout for toggle visibility value composite GridLayout glVisibility = new GridLayout(); glVisibility.marginWidth = 4; glVisibility.marginHeight = 6; glVisibility.horizontalSpacing = 6; glVisibility.numColumns = 3; // Layout for tooltip value composite GridLayout glTooltip = new GridLayout(); glTooltip.marginWidth = 2; glTooltip.marginHeight = 6; glTooltip.horizontalSpacing = 6; glTooltip.numColumns = 3; // Layout for url value composite GridLayout glURL = new GridLayout(); glURL.marginWidth = 2; glURL.marginHeight = 6; glURL.horizontalSpacing = 6; glURL.numColumns = 3; // Layout for script value composite GridLayout glParameter = new GridLayout(); glParameter.marginWidth = 2; glParameter.marginHeight = 6; glParameter.horizontalSpacing = 6; glParameter.numColumns = 3; // Main content composite this.setLayout(glCMPTrigger); Label lblTriggerType = new Label(this, SWT.NONE); GridData gdLBLTriggerType = new GridData(); gdLBLTriggerType.horizontalIndent = 4; lblTriggerType.setLayoutData(gdLBLTriggerType); lblTriggerType.setText("Type:"); cmbTriggerType = new Combo(this, SWT.DROP_DOWN | SWT.READ_ONLY); GridData gdCMBTriggerType = new GridData(GridData.FILL_HORIZONTAL); cmbTriggerType.setLayoutData(gdCMBTriggerType); cmbTriggerType.addSelectionListener(this); Label lblActionType = new Label(this, SWT.NONE); GridData gdLBLActionType = new GridData(); gdLBLActionType.horizontalIndent = 4; lblActionType.setLayoutData(gdLBLActionType); lblActionType.setText("Action:"); cmbActionType = new Combo(this, SWT.DROP_DOWN | SWT.READ_ONLY); GridData gdCMBActionType = new GridData(GridData.FILL_HORIZONTAL); cmbActionType.setLayoutData(gdCMBActionType); cmbActionType.addSelectionListener(this); grpValue = new Group(this, SWT.NONE); GridData gdGRPValue = new GridData(GridData.FILL_BOTH); gdGRPValue.horizontalSpan = 2; grpValue.setLayoutData(gdGRPValue); grpValue.setText("Action Details"); grpValue.setLayout(slValues); // Composite for script value cmpScript = new Composite(grpValue, SWT.NONE); cmpScript.setLayout(glScript); Label lblScript = new Label(cmpScript, SWT.NONE); GridData gdLBLScript = new GridData(); lblScript.setLayoutData(gdLBLScript); lblScript.setText("Script:"); txtScript = new Text(cmpScript, SWT.MULTI | SWT.BORDER | SWT.V_SCROLL); GridData gdTXTScript = new GridData(GridData.FILL_BOTH); txtScript.setLayoutData(gdTXTScript); // Composite for series value cmpVisibility = new Composite(grpValue, SWT.NONE); cmpVisibility.setLayout(glVisibility); Label lblSeries = new Label(cmpVisibility, SWT.NONE); GridData gdLBLSeries = new GridData(); gdLBLSeries.horizontalIndent = 2; lblSeries.setLayoutData(gdLBLSeries); lblSeries.setText("Series Definition:"); txtSeriesDefinition = new Text(cmpVisibility, SWT.BORDER); GridData gdTXTSeriesDefinition = new GridData(GridData.FILL_HORIZONTAL); gdTXTSeriesDefinition.horizontalSpan = 2; txtSeriesDefinition.setLayoutData(gdTXTSeriesDefinition); // Composite for tooltip value cmpTooltip = new Composite(grpValue, SWT.NONE); cmpTooltip.setLayout(glTooltip); Label lblDelay = new Label(cmpTooltip, SWT.NONE); GridData gdLBLDelay = new GridData(); gdLBLDelay.horizontalIndent = 2; lblDelay.setLayoutData(gdLBLDelay); lblDelay.setText("Tooltip Delay (in ms):"); iscDelay = new IntegerSpinControl(cmpTooltip, SWT.NONE, 200); GridData gdISCDelay = new GridData(); gdISCDelay.horizontalSpan = 2; gdISCDelay.widthHint = 50; iscDelay.setLayoutData(gdISCDelay); iscDelay.setMinimum(100); iscDelay.setMaximum(5000); iscDelay.setIncrement(100); Label lblText = new Label(cmpTooltip, SWT.NONE); GridData gdLBLText = new GridData(); gdLBLText.horizontalIndent = 2; gdLBLText.horizontalSpan = 3; lblText.setLayoutData(gdLBLText); lblText.setText("Tooltip Text:"); txtTooltipText = new Text(cmpTooltip, SWT.BORDER | SWT.MULTI | SWT.V_SCROLL); GridData gdTXTTooltipText = new GridData(GridData.FILL_BOTH); gdTXTTooltipText.horizontalSpan = 3; txtTooltipText.setLayoutData(gdTXTTooltipText); cmpURL = new Composite(grpValue, SWT.NONE); cmpURL.setLayout(glURL); Label lblBaseURL = new Label(cmpURL, SWT.NONE); GridData gdLBLBaseURL = new GridData(); gdLBLBaseURL.horizontalIndent = 2; lblBaseURL.setLayoutData(gdLBLBaseURL); lblBaseURL.setText("Base URL:"); txtBaseURL = new Text(cmpURL, SWT.BORDER); GridData gdTXTBaseURL = new GridData(GridData.FILL_HORIZONTAL); gdTXTBaseURL.horizontalSpan = 2; txtBaseURL.setLayoutData(gdTXTBaseURL); Label lblTarget = new Label(cmpURL, SWT.NONE); GridData gdLBLTarget = new GridData(); gdLBLTarget.horizontalIndent = 2; lblTarget.setLayoutData(gdLBLTarget); lblTarget.setText("Target:"); txtTarget = new Text(cmpURL, SWT.BORDER); GridData gdTXTTarget = new GridData(GridData.FILL_HORIZONTAL); gdTXTTarget.horizontalSpan = 2; txtTarget.setLayoutData(gdTXTTarget); grpParameters = new Group(cmpURL, SWT.NONE); GridData gdGRPParameters = new GridData(GridData.FILL_HORIZONTAL); gdGRPParameters.horizontalSpan = 3; grpParameters.setLayoutData(gdGRPParameters); grpParameters.setLayout(glParameter); grpParameters.setText("Parameter Names"); Label lblBaseParm = new Label(grpParameters, SWT.NONE); GridData gdLBLBaseParm = new GridData(); gdLBLBaseParm.horizontalIndent = 2; lblBaseParm.setLayoutData(gdLBLBaseParm); lblBaseParm.setText("Base Parameter:"); txtBaseParm = new Text(grpParameters, SWT.BORDER); GridData gdTXTBaseParm = new GridData(GridData.FILL_HORIZONTAL); gdTXTBaseParm.horizontalSpan = 2; txtBaseParm.setLayoutData(gdTXTBaseParm); Label lblValueParm = new Label(grpParameters, SWT.NONE); GridData gdLBLValueParm = new GridData(); gdLBLValueParm.horizontalIndent = 2; lblValueParm.setLayoutData(gdLBLValueParm); lblValueParm.setText("Value Parameter:"); txtValueParm = new Text(grpParameters, SWT.BORDER); GridData gdTXTValueParm = new GridData(GridData.FILL_HORIZONTAL); gdTXTValueParm.horizontalSpan = 2; txtValueParm.setLayoutData(gdTXTValueParm); Label lblSeriesParm = new Label(grpParameters, SWT.NONE); GridData gdLBLSeriesParm = new GridData(); gdLBLSeriesParm.horizontalIndent = 2; lblSeriesParm.setLayoutData(gdLBLSeriesParm); lblSeriesParm.setText("Series Parameter:"); txtSeriesParm = new Text(grpParameters, SWT.BORDER); GridData gdTXTSeriesParm = new GridData(GridData.FILL_HORIZONTAL); gdTXTSeriesParm.horizontalSpan = 2; txtSeriesParm.setLayoutData(gdTXTSeriesParm); populateLists(); slValues.topControl = cmpURL; }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/7793e94b4d7fab5891f226c6c937e37d85bebad8/TriggerDataComposite.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/TriggerDataComposite.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3166,
7171,
1435,
565,
288,
3639,
368,
9995,
364,
326,
913,
9635,
3639,
7145,
3744,
5118,
39,
4566,
6518,
273,
394,
7145,
3744,
5621,
3639,
5118,
39,
4566,
6518,
18,
2107,
3380,
273,
576,
31,
3639,
5118,
39,
4566,
6518,
18,
18396,
18006,
273,
2872,
31,
3639,
5118,
39,
4566,
6518,
18,
17824,
18006,
273,
1381,
31,
3639,
5118,
39,
4566,
6518,
18,
10107,
2686,
273,
374,
31,
3639,
5118,
39,
4566,
6518,
18,
10107,
2384,
273,
374,
31,
3639,
368,
9995,
364,
326,
4382,
21897,
1041,
3639,
2020,
1972,
273,
394,
7283,
3744,
5621,
3639,
368,
9995,
364,
2728,
460,
9635,
3639,
7145,
3744,
5118,
3651,
273,
394,
7145,
3744,
5621,
3639,
5118,
3651,
18,
10107,
2384,
273,
1059,
31,
3639,
5118,
3651,
18,
10107,
2686,
273,
1666,
31,
3639,
368,
9995,
364,
10486,
9478,
460,
9635,
3639,
7145,
3744,
5118,
10135,
273,
394,
7145,
3744,
5621,
3639,
5118,
10135,
18,
10107,
2384,
273,
1059,
31,
3639,
5118,
10135,
18,
10107,
2686,
273,
1666,
31,
3639,
5118,
10135,
18,
18396,
18006,
273,
1666,
31,
3639,
5118,
10135,
18,
2107,
3380,
273,
890,
31,
3639,
368,
9995,
364,
11915,
460,
9635,
3639,
7145,
3744,
5118,
22444,
273,
394,
7145,
3744,
5621,
3639,
5118,
22444,
18,
10107,
2384,
273,
576,
31,
3639,
5118,
22444,
18,
10107,
2686,
273,
1666,
31,
3639,
5118,
22444,
18,
18396,
18006,
273,
1666,
31,
3639,
5118,
22444,
18,
2107,
3380,
273,
890,
31,
3639,
368,
9995,
364,
880,
460,
9635,
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,
3166,
7171,
1435,
565,
288,
3639,
368,
9995,
364,
326,
913,
9635,
3639,
7145,
3744,
5118,
39,
4566,
6518,
273,
394,
7145,
3744,
5621,
3639,
5118,
39,
4566,
6518,
18,
2107,
3380,
273,
576,
31,
3639,
5118,
39,
4566,
6518,
18,
18396,
18006,
273,
2872,
31,
3639,
5118,
39,
4566,
6518,
18,
17824,
18006,
273,
1381,
31,
3639,
5118,
39,
4566,
6518,
18,
10107,
2686,
273,
374,
31,
3639,
5118,
39,
4566,
6518,
18,
10107,
2384,
273,
374,
31,
3639,
368,
9995,
364,
326,
4382,
21897,
1041,
3639,
2020,
1972,
273,
394,
7283,
3744,
5621,
3639,
368,
9995,
364,
2728,
460,
9635,
3639,
7145,
3744,
5118,
3651,
273,
394,
7145,
3744,
5621,
3639,
5118,
3651,
18,
2
] |
vcs.createFile(p("file"), "content"); vcs.changeFileContent(p("file"), "new content");
|
vcs.createFile(p("/file"), "content"); vcs.changeFileContent(p("/file"), "new content");
|
public void testAddingAndChangingSameFileBeforeApply() { vcs.createFile(p("file"), "content"); vcs.changeFileContent(p("file"), "new content"); vcs.apply(); assertEquals("new content", vcs.getEntry(p("file")).getContent()); }
|
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/8a6fdbc15b3cd4aaa232cf2026aa4a60418c162a/LocalVcsBasicsTest.java/clean/LocalVcs/test/com/intellij/localvcs/LocalVcsBasicsTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
13962,
1876,
782,
18183,
8650,
812,
4649,
7001,
1435,
288,
565,
20255,
18,
2640,
812,
12,
84,
2932,
768,
6,
3631,
315,
1745,
8863,
565,
20255,
18,
3427,
25391,
12,
84,
2932,
768,
6,
3631,
315,
2704,
913,
8863,
565,
20255,
18,
9010,
5621,
565,
1815,
8867,
2932,
2704,
913,
3113,
20255,
18,
588,
1622,
12,
84,
2932,
768,
7923,
2934,
588,
1350,
10663,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
13962,
1876,
782,
18183,
8650,
812,
4649,
7001,
1435,
288,
565,
20255,
18,
2640,
812,
12,
84,
2932,
768,
6,
3631,
315,
1745,
8863,
565,
20255,
18,
3427,
25391,
12,
84,
2932,
768,
6,
3631,
315,
2704,
913,
8863,
565,
20255,
18,
9010,
5621,
565,
1815,
8867,
2932,
2704,
913,
3113,
20255,
18,
588,
1622,
12,
84,
2932,
768,
7923,
2934,
588,
1350,
10663,
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
] |
public boolean getPaintTrack() { return false; }
|
public boolean getPaintTrack() { return paintTrack; }
|
public boolean getPaintTrack() { return false; // TODO } // getPaintTrack()
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/0788b89b7368770a1157f825d60dd8c5a9df183e/JSlider.java/buggy/core/src/classpath/javax/javax/swing/JSlider.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1689,
1598,
4402,
1435,
288,
202,
202,
2463,
629,
31,
368,
2660,
202,
97,
368,
1689,
1598,
4402,
1435,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1689,
1598,
4402,
1435,
288,
202,
202,
2463,
629,
31,
368,
2660,
202,
97,
368,
1689,
1598,
4402,
1435,
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
] |
Font unscaledFont = graphics.getFont(); float fontSize = getScreenSize(unscaledFont.getSize()); graphics.setFont(unscaledFont.deriveFont(fontSize)); graphics.drawString(caption, (int) screenCoords[0], (int) screenCoords[1]); graphics.setFont(unscaledFont); }
|
Font unscaledFont = graphics.getFont(); float fontSize = getScreenSize(unscaledFont.getSize()); graphics.setFont(unscaledFont.deriveFont(fontSize)); graphics.drawString(caption, (int)screenCoords[0], (int)screenCoords[1]); graphics.setFont(unscaledFont); }
|
public void paintBoundingBox(double[] minmax, String caption, int side, Graphics graphics) { int[] ints = new int[4]; ints[0] = (int) minmax[0] - side; // min x ints[1] = (int) minmax[1] - side; // min y ints[2] = (int) minmax[2] + side; // max x ints[3] = (int) minmax[3] + side; // max y int[] screenCoords = getScreenCoordinates(ints); int heigth = screenCoords[3] - screenCoords[1]; int width = screenCoords[2] - screenCoords[0]; graphics.drawRect((int) screenCoords[0], (int) screenCoords[1], width, heigth); // draw reaction ID Font unscaledFont = graphics.getFont(); float fontSize = getScreenSize(unscaledFont.getSize()); graphics.setFont(unscaledFont.deriveFont(fontSize)); graphics.drawString(caption, (int) screenCoords[0], (int) screenCoords[1]); graphics.setFont(unscaledFont); }
|
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/b7597d09b03980486670c72a7289affda9ea694b/Renderer2D.java/buggy/src/org/openscience/cdk/renderer/Renderer2D.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
12574,
19020,
12,
9056,
8526,
30112,
16,
514,
11006,
16,
1377,
509,
4889,
16,
16830,
17313,
13,
288,
565,
509,
8526,
15542,
273,
394,
509,
63,
24,
15533,
565,
15542,
63,
20,
65,
273,
261,
474,
13,
30112,
63,
20,
65,
300,
4889,
31,
565,
368,
1131,
619,
565,
15542,
63,
21,
65,
273,
261,
474,
13,
30112,
63,
21,
65,
300,
4889,
31,
565,
368,
1131,
677,
565,
15542,
63,
22,
65,
273,
261,
474,
13,
30112,
63,
22,
65,
397,
4889,
31,
565,
368,
943,
619,
565,
15542,
63,
23,
65,
273,
261,
474,
13,
30112,
63,
23,
65,
397,
4889,
31,
565,
368,
943,
677,
565,
509,
8526,
5518,
13089,
273,
22303,
13431,
12,
28142,
1769,
565,
509,
3904,
360,
451,
273,
5518,
13089,
63,
23,
65,
300,
5518,
13089,
63,
21,
15533,
565,
509,
1835,
273,
5518,
13089,
63,
22,
65,
300,
5518,
13089,
63,
20,
15533,
565,
17313,
18,
9446,
6120,
12443,
474,
13,
5518,
13089,
63,
20,
6487,
261,
474,
13,
5518,
13089,
63,
21,
6487,
1835,
16,
3904,
360,
451,
1769,
565,
368,
3724,
12836,
1599,
565,
10063,
16804,
12825,
5711,
273,
17313,
18,
588,
5711,
5621,
565,
1431,
16746,
273,
22303,
1225,
12,
318,
20665,
5711,
18,
588,
1225,
10663,
565,
17313,
18,
542,
5711,
12,
318,
20665,
5711,
18,
765,
688,
5711,
12,
5776,
1225,
10019,
565,
17313,
18,
9446,
780,
12,
15386,
16,
261,
474,
13,
5518,
13089,
63,
20,
6487,
261,
474,
13,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
12574,
19020,
12,
9056,
8526,
30112,
16,
514,
11006,
16,
1377,
509,
4889,
16,
16830,
17313,
13,
288,
565,
509,
8526,
15542,
273,
394,
509,
63,
24,
15533,
565,
15542,
63,
20,
65,
273,
261,
474,
13,
30112,
63,
20,
65,
300,
4889,
31,
565,
368,
1131,
619,
565,
15542,
63,
21,
65,
273,
261,
474,
13,
30112,
63,
21,
65,
300,
4889,
31,
565,
368,
1131,
677,
565,
15542,
63,
22,
65,
273,
261,
474,
13,
30112,
63,
22,
65,
397,
4889,
31,
565,
368,
943,
619,
565,
15542,
63,
23,
65,
273,
261,
474,
13,
30112,
63,
23,
65,
397,
4889,
31,
565,
368,
943,
677,
565,
509,
8526,
5518,
13089,
273,
22303,
13431,
2
] |
_t = __t1491;
|
_t = __t1496;
|
public final void argfunc(AST _t) throws RecognitionException { AST argfunc_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case AACBIT: { AST __t1396 = _t; AST tmp344_AST_in = (AST)_t; match(_t,AACBIT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1396; _t = _t.getNextSibling(); break; } case AAMSG: { AST __t1397 = _t; AST tmp345_AST_in = (AST)_t; match(_t,AAMSG); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1397; _t = _t.getNextSibling(); break; } case ABSOLUTE: { AST __t1398 = _t; AST tmp346_AST_in = (AST)_t; match(_t,ABSOLUTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1398; _t = _t.getNextSibling(); break; } case ALIAS: { AST __t1399 = _t; AST tmp347_AST_in = (AST)_t; match(_t,ALIAS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1399; _t = _t.getNextSibling(); break; } case ASC: { AST __t1400 = _t; AST tmp348_AST_in = (AST)_t; match(_t,ASC); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1400; _t = _t.getNextSibling(); break; } case BASE64DECODE: { AST __t1401 = _t; AST tmp349_AST_in = (AST)_t; match(_t,BASE64DECODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1401; _t = _t.getNextSibling(); break; } case BASE64ENCODE: { AST __t1402 = _t; AST tmp350_AST_in = (AST)_t; match(_t,BASE64ENCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1402; _t = _t.getNextSibling(); break; } case CANDO: { AST __t1403 = _t; AST tmp351_AST_in = (AST)_t; match(_t,CANDO); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1403; _t = _t.getNextSibling(); break; } case CANQUERY: { AST __t1404 = _t; AST tmp352_AST_in = (AST)_t; match(_t,CANQUERY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1404; _t = _t.getNextSibling(); break; } case CANSET: { AST __t1405 = _t; AST tmp353_AST_in = (AST)_t; match(_t,CANSET); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1405; _t = _t.getNextSibling(); break; } case CAPS: { AST __t1406 = _t; AST tmp354_AST_in = (AST)_t; match(_t,CAPS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1406; _t = _t.getNextSibling(); break; } case CHR: { AST __t1407 = _t; AST tmp355_AST_in = (AST)_t; match(_t,CHR); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1407; _t = _t.getNextSibling(); break; } case CODEPAGECONVERT: { AST __t1408 = _t; AST tmp356_AST_in = (AST)_t; match(_t,CODEPAGECONVERT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1408; _t = _t.getNextSibling(); break; } case COLLATE: { AST __t1409 = _t; AST tmp357_AST_in = (AST)_t; match(_t,COLLATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1409; _t = _t.getNextSibling(); break; } case COMPARE: { AST __t1410 = _t; AST tmp358_AST_in = (AST)_t; match(_t,COMPARE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1410; _t = _t.getNextSibling(); break; } case CONNECTED: { AST __t1411 = _t; AST tmp359_AST_in = (AST)_t; match(_t,CONNECTED); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1411; _t = _t.getNextSibling(); break; } case COUNTOF: { AST __t1412 = _t; AST tmp360_AST_in = (AST)_t; match(_t,COUNTOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1412; _t = _t.getNextSibling(); break; } case CURRENTRESULTROW: { AST __t1413 = _t; AST tmp361_AST_in = (AST)_t; match(_t,CURRENTRESULTROW); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1413; _t = _t.getNextSibling(); break; } case DATE: { AST __t1414 = _t; AST tmp362_AST_in = (AST)_t; match(_t,DATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1414; _t = _t.getNextSibling(); break; } case DATETIME: { AST __t1415 = _t; AST tmp363_AST_in = (AST)_t; match(_t,DATETIME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1415; _t = _t.getNextSibling(); break; } case DATETIMETZ: { AST __t1416 = _t; AST tmp364_AST_in = (AST)_t; match(_t,DATETIMETZ); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1416; _t = _t.getNextSibling(); break; } case DAY: { AST __t1417 = _t; AST tmp365_AST_in = (AST)_t; match(_t,DAY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1417; _t = _t.getNextSibling(); break; } case DBCODEPAGE: { AST __t1418 = _t; AST tmp366_AST_in = (AST)_t; match(_t,DBCODEPAGE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1418; _t = _t.getNextSibling(); break; } case DBCOLLATION: { AST __t1419 = _t; AST tmp367_AST_in = (AST)_t; match(_t,DBCOLLATION); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1419; _t = _t.getNextSibling(); break; } case DBPARAM: { AST __t1420 = _t; AST tmp368_AST_in = (AST)_t; match(_t,DBPARAM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1420; _t = _t.getNextSibling(); break; } case DBRESTRICTIONS: { AST __t1421 = _t; AST tmp369_AST_in = (AST)_t; match(_t,DBRESTRICTIONS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1421; _t = _t.getNextSibling(); break; } case DBTASKID: { AST __t1422 = _t; AST tmp370_AST_in = (AST)_t; match(_t,DBTASKID); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1422; _t = _t.getNextSibling(); break; } case DBTYPE: { AST __t1423 = _t; AST tmp371_AST_in = (AST)_t; match(_t,DBTYPE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1423; _t = _t.getNextSibling(); break; } case DBVERSION: { AST __t1424 = _t; AST tmp372_AST_in = (AST)_t; match(_t,DBVERSION); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1424; _t = _t.getNextSibling(); break; } case DECIMAL: { AST __t1425 = _t; AST tmp373_AST_in = (AST)_t; match(_t,DECIMAL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1425; _t = _t.getNextSibling(); break; } case DECRYPT: { AST __t1426 = _t; AST tmp374_AST_in = (AST)_t; match(_t,DECRYPT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1426; _t = _t.getNextSibling(); break; } case DYNAMICNEXTVALUE: { AST __t1427 = _t; AST tmp375_AST_in = (AST)_t; match(_t,DYNAMICNEXTVALUE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1427; _t = _t.getNextSibling(); break; } case ENCODE: { AST __t1428 = _t; AST tmp376_AST_in = (AST)_t; match(_t,ENCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1428; _t = _t.getNextSibling(); break; } case ENCRYPT: { AST __t1429 = _t; AST tmp377_AST_in = (AST)_t; match(_t,ENCRYPT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1429; _t = _t.getNextSibling(); break; } case EXP: { AST __t1430 = _t; AST tmp378_AST_in = (AST)_t; match(_t,EXP); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1430; _t = _t.getNextSibling(); break; } case FILL: { AST __t1431 = _t; AST tmp379_AST_in = (AST)_t; match(_t,FILL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1431; _t = _t.getNextSibling(); break; } case FIRST: { AST __t1432 = _t; AST tmp380_AST_in = (AST)_t; match(_t,FIRST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1432; _t = _t.getNextSibling(); break; } case FIRSTOF: { AST __t1433 = _t; AST tmp381_AST_in = (AST)_t; match(_t,FIRSTOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1433; _t = _t.getNextSibling(); break; } case GENERATEPBEKEY: { AST __t1434 = _t; AST tmp382_AST_in = (AST)_t; match(_t,GENERATEPBEKEY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1434; _t = _t.getNextSibling(); break; } case GETBITS: { AST __t1435 = _t; AST tmp383_AST_in = (AST)_t; match(_t,GETBITS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1435; _t = _t.getNextSibling(); break; } case GETBYTE: { AST __t1436 = _t; AST tmp384_AST_in = (AST)_t; match(_t,GETBYTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1436; _t = _t.getNextSibling(); break; } case GETBYTEORDER: { AST __t1437 = _t; AST tmp385_AST_in = (AST)_t; match(_t,GETBYTEORDER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1437; _t = _t.getNextSibling(); break; } case GETBYTES: { AST __t1438 = _t; AST tmp386_AST_in = (AST)_t; match(_t,GETBYTES); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1438; _t = _t.getNextSibling(); break; } case GETCOLLATIONS: { AST __t1439 = _t; AST tmp387_AST_in = (AST)_t; match(_t,GETCOLLATIONS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1439; _t = _t.getNextSibling(); break; } case GETDOUBLE: { AST __t1440 = _t; AST tmp388_AST_in = (AST)_t; match(_t,GETDOUBLE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1440; _t = _t.getNextSibling(); break; } case GETFLOAT: { AST __t1441 = _t; AST tmp389_AST_in = (AST)_t; match(_t,GETFLOAT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1441; _t = _t.getNextSibling(); break; } case GETLICENSE: { AST __t1442 = _t; AST tmp390_AST_in = (AST)_t; match(_t,GETLICENSE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1442; _t = _t.getNextSibling(); break; } case GETLONG: { AST __t1443 = _t; AST tmp391_AST_in = (AST)_t; match(_t,GETLONG); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1443; _t = _t.getNextSibling(); break; } case GETPOINTERVALUE: { AST __t1444 = _t; AST tmp392_AST_in = (AST)_t; match(_t,GETPOINTERVALUE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1444; _t = _t.getNextSibling(); break; } case GETSHORT: { AST __t1445 = _t; AST tmp393_AST_in = (AST)_t; match(_t,GETSHORT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1445; _t = _t.getNextSibling(); break; } case GETSIZE: { AST __t1446 = _t; AST tmp394_AST_in = (AST)_t; match(_t,GETSIZE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1446; _t = _t.getNextSibling(); break; } case GETSTRING: { AST __t1447 = _t; AST tmp395_AST_in = (AST)_t; match(_t,GETSTRING); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1447; _t = _t.getNextSibling(); break; } case GETUNSIGNEDSHORT: { AST __t1448 = _t; AST tmp396_AST_in = (AST)_t; match(_t,GETUNSIGNEDSHORT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1448; _t = _t.getNextSibling(); break; } case HEXDECODE: { AST __t1449 = _t; AST tmp397_AST_in = (AST)_t; match(_t,HEXDECODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1449; _t = _t.getNextSibling(); break; } case HEXENCODE: { AST __t1450 = _t; AST tmp398_AST_in = (AST)_t; match(_t,HEXENCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1450; _t = _t.getNextSibling(); break; } case INDEX: { AST __t1451 = _t; AST tmp399_AST_in = (AST)_t; match(_t,INDEX); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1451; _t = _t.getNextSibling(); break; } case INTEGER: { AST __t1452 = _t; AST tmp400_AST_in = (AST)_t; match(_t,INTEGER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1452; _t = _t.getNextSibling(); break; } case INTERVAL: { AST __t1453 = _t; AST tmp401_AST_in = (AST)_t; match(_t,INTERVAL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1453; _t = _t.getNextSibling(); break; } case ISCODEPAGEFIXED: { AST __t1454 = _t; AST tmp402_AST_in = (AST)_t; match(_t,ISCODEPAGEFIXED); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1454; _t = _t.getNextSibling(); break; } case ISCOLUMNCODEPAGE: { AST __t1455 = _t; AST tmp403_AST_in = (AST)_t; match(_t,ISCOLUMNCODEPAGE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1455; _t = _t.getNextSibling(); break; } case ISLEADBYTE: { AST __t1456 = _t; AST tmp404_AST_in = (AST)_t; match(_t,ISLEADBYTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1456; _t = _t.getNextSibling(); break; } case ISODATE: { AST __t1457 = _t; AST tmp405_AST_in = (AST)_t; match(_t,ISODATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1457; _t = _t.getNextSibling(); break; } case KBLABEL: { AST __t1458 = _t; AST tmp406_AST_in = (AST)_t; match(_t,KBLABEL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1458; _t = _t.getNextSibling(); break; } case KEYCODE: { AST __t1459 = _t; AST tmp407_AST_in = (AST)_t; match(_t,KEYCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1459; _t = _t.getNextSibling(); break; } case KEYFUNCTION: { AST __t1460 = _t; AST tmp408_AST_in = (AST)_t; match(_t,KEYFUNCTION); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1460; _t = _t.getNextSibling(); break; } case KEYLABEL: { AST __t1461 = _t; AST tmp409_AST_in = (AST)_t; match(_t,KEYLABEL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1461; _t = _t.getNextSibling(); break; } case KEYWORD: { AST __t1462 = _t; AST tmp410_AST_in = (AST)_t; match(_t,KEYWORD); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1462; _t = _t.getNextSibling(); break; } case KEYWORDALL: { AST __t1463 = _t; AST tmp411_AST_in = (AST)_t; match(_t,KEYWORDALL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1463; _t = _t.getNextSibling(); break; } case LAST: { AST __t1464 = _t; AST tmp412_AST_in = (AST)_t; match(_t,LAST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1464; _t = _t.getNextSibling(); break; } case LASTOF: { AST __t1465 = _t; AST tmp413_AST_in = (AST)_t; match(_t,LASTOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1465; _t = _t.getNextSibling(); break; } case LC: { AST __t1466 = _t; AST tmp414_AST_in = (AST)_t; match(_t,LC); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1466; _t = _t.getNextSibling(); break; } case LEFTTRIM: { AST __t1467 = _t; AST tmp415_AST_in = (AST)_t; match(_t,LEFTTRIM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1467; _t = _t.getNextSibling(); break; } case LIBRARY: { AST __t1468 = _t; AST tmp416_AST_in = (AST)_t; match(_t,LIBRARY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1468; _t = _t.getNextSibling(); break; } case LISTEVENTS: { AST __t1469 = _t; AST tmp417_AST_in = (AST)_t; match(_t,LISTEVENTS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1469; _t = _t.getNextSibling(); break; } case LISTQUERYATTRS: { AST __t1470 = _t; AST tmp418_AST_in = (AST)_t; match(_t,LISTQUERYATTRS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1470; _t = _t.getNextSibling(); break; } case LISTSETATTRS: { AST __t1471 = _t; AST tmp419_AST_in = (AST)_t; match(_t,LISTSETATTRS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1471; _t = _t.getNextSibling(); break; } case LISTWIDGETS: { AST __t1472 = _t; AST tmp420_AST_in = (AST)_t; match(_t,LISTWIDGETS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1472; _t = _t.getNextSibling(); break; } case LOADPICTURE: { AST __t1473 = _t; AST tmp421_AST_in = (AST)_t; match(_t,LOADPICTURE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1473; _t = _t.getNextSibling(); break; } case LOG: { AST __t1474 = _t; AST tmp422_AST_in = (AST)_t; match(_t,LOG); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1474; _t = _t.getNextSibling(); break; } case LOGICAL: { AST __t1475 = _t; AST tmp423_AST_in = (AST)_t; match(_t,LOGICAL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1475; _t = _t.getNextSibling(); break; } case LOOKUP: { AST __t1476 = _t; AST tmp424_AST_in = (AST)_t; match(_t,LOOKUP); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1476; _t = _t.getNextSibling(); break; } case MAXIMUM: { AST __t1477 = _t; AST tmp425_AST_in = (AST)_t; match(_t,MAXIMUM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1477; _t = _t.getNextSibling(); break; } case MD5DIGEST: { AST __t1478 = _t; AST tmp426_AST_in = (AST)_t; match(_t,MD5DIGEST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1478; _t = _t.getNextSibling(); break; } case MEMBER: { AST __t1479 = _t; AST tmp427_AST_in = (AST)_t; match(_t,MEMBER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1479; _t = _t.getNextSibling(); break; } case MINIMUM: { AST __t1480 = _t; AST tmp428_AST_in = (AST)_t; match(_t,MINIMUM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1480; _t = _t.getNextSibling(); break; } case MONTH: { AST __t1481 = _t; AST tmp429_AST_in = (AST)_t; match(_t,MONTH); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1481; _t = _t.getNextSibling(); break; } case NORMALIZE: { AST __t1482 = _t; AST tmp430_AST_in = (AST)_t; match(_t,NORMALIZE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1482; _t = _t.getNextSibling(); break; } case NUMENTRIES: { AST __t1483 = _t; AST tmp431_AST_in = (AST)_t; match(_t,NUMENTRIES); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1483; _t = _t.getNextSibling(); break; } case NUMRESULTS: { AST __t1484 = _t; AST tmp432_AST_in = (AST)_t; match(_t,NUMRESULTS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1484; _t = _t.getNextSibling(); break; } case OSGETENV: { AST __t1485 = _t; AST tmp433_AST_in = (AST)_t; match(_t,OSGETENV); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1485; _t = _t.getNextSibling(); break; } case PDBNAME: { AST __t1486 = _t; AST tmp434_AST_in = (AST)_t; match(_t,PDBNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1486; _t = _t.getNextSibling(); break; } case PROGRAMNAME: { AST __t1487 = _t; AST tmp435_AST_in = (AST)_t; match(_t,PROGRAMNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1487; _t = _t.getNextSibling(); break; } case QUERYOFFEND: { AST __t1488 = _t; AST tmp436_AST_in = (AST)_t; match(_t,QUERYOFFEND); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1488; _t = _t.getNextSibling(); break; } case QUOTER: { AST __t1489 = _t; AST tmp437_AST_in = (AST)_t; match(_t,QUOTER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1489; _t = _t.getNextSibling(); break; } case RINDEX: { AST __t1490 = _t; AST tmp438_AST_in = (AST)_t; match(_t,RINDEX); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1490; _t = _t.getNextSibling(); break; } case RANDOM: { AST __t1491 = _t; AST tmp439_AST_in = (AST)_t; match(_t,RANDOM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1491; _t = _t.getNextSibling(); break; } case REPLACE: { AST __t1492 = _t; AST tmp440_AST_in = (AST)_t; match(_t,REPLACE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1492; _t = _t.getNextSibling(); break; } case RGBVALUE: { AST __t1493 = _t; AST tmp441_AST_in = (AST)_t; match(_t,RGBVALUE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1493; _t = _t.getNextSibling(); break; } case RIGHTTRIM: { AST __t1494 = _t; AST tmp442_AST_in = (AST)_t; match(_t,RIGHTTRIM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1494; _t = _t.getNextSibling(); break; } case ROUND: { AST __t1495 = _t; AST tmp443_AST_in = (AST)_t; match(_t,ROUND); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1495; _t = _t.getNextSibling(); break; } case SDBNAME: { AST __t1496 = _t; AST tmp444_AST_in = (AST)_t; match(_t,SDBNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1496; _t = _t.getNextSibling(); break; } case SEARCH: { AST __t1497 = _t; AST tmp445_AST_in = (AST)_t; match(_t,SEARCH); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1497; _t = _t.getNextSibling(); break; } case SETDBCLIENT: { AST __t1498 = _t; AST tmp446_AST_in = (AST)_t; match(_t,SETDBCLIENT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1498; _t = _t.getNextSibling(); break; } case SETUSERID: { AST __t1499 = _t; AST tmp447_AST_in = (AST)_t; match(_t,SETUSERID); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1499; _t = _t.getNextSibling(); break; } case SHA1DIGEST: { AST __t1500 = _t; AST tmp448_AST_in = (AST)_t; match(_t,SHA1DIGEST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1500; _t = _t.getNextSibling(); break; } case SQRT: { AST __t1501 = _t; AST tmp449_AST_in = (AST)_t; match(_t,SQRT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1501; _t = _t.getNextSibling(); break; } case SSLSERVERNAME: { AST __t1502 = _t; AST tmp450_AST_in = (AST)_t; match(_t,SSLSERVERNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1502; _t = _t.getNextSibling(); break; } case STRING: { AST __t1503 = _t; AST tmp451_AST_in = (AST)_t; match(_t,STRING); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1503; _t = _t.getNextSibling(); break; } case SUBSTITUTE: { AST __t1504 = _t; AST tmp452_AST_in = (AST)_t; match(_t,SUBSTITUTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1504; _t = _t.getNextSibling(); break; } case TOROWID: { AST __t1505 = _t; AST tmp453_AST_in = (AST)_t; match(_t,TOROWID); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1505; _t = _t.getNextSibling(); break; } case TRIM: { AST __t1506 = _t; AST tmp454_AST_in = (AST)_t; match(_t,TRIM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1506; _t = _t.getNextSibling(); break; } case TRUNCATE: { AST __t1507 = _t; AST tmp455_AST_in = (AST)_t; match(_t,TRUNCATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1507; _t = _t.getNextSibling(); break; } case TYPEOF: { AST __t1508 = _t; AST tmp456_AST_in = (AST)_t; match(_t,TYPEOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1508; _t = _t.getNextSibling(); break; } case VALIDEVENT: { AST __t1509 = _t; AST tmp457_AST_in = (AST)_t; match(_t,VALIDEVENT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1509; _t = _t.getNextSibling(); break; } case VALIDHANDLE: { AST __t1510 = _t; AST tmp458_AST_in = (AST)_t; match(_t,VALIDHANDLE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1510; _t = _t.getNextSibling(); break; } case VALIDOBJECT: { AST __t1511 = _t; AST tmp459_AST_in = (AST)_t; match(_t,VALIDOBJECT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1511; _t = _t.getNextSibling(); break; } case WEEKDAY: { AST __t1512 = _t; AST tmp460_AST_in = (AST)_t; match(_t,WEEKDAY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1512; _t = _t.getNextSibling(); break; } case WIDGETHANDLE: { AST __t1513 = _t; AST tmp461_AST_in = (AST)_t; match(_t,WIDGETHANDLE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1513; _t = _t.getNextSibling(); break; } case YEAR: { AST __t1514 = _t; AST tmp462_AST_in = (AST)_t; match(_t,YEAR); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1514; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/f492fd11e745beb562b4e209643ba003aa8a6271/TreeParser01.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1501,
644,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1501,
644,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
432,
2226,
15650,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
3437,
10525,
273,
389,
88,
31,
1082,
202,
9053,
1853,
5026,
24,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
37,
2226,
15650,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
1082,
202,
12125,
1968,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
1082,
202,
67,
88,
273,
1001,
88,
3437,
10525,
31,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
432,
2192,
30820,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
3437,
10580,
273,
389,
88,
31,
1082,
202,
9053,
1853,
25574,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
37,
2192,
30820,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
1082,
202,
12125,
1968,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1501,
644,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1501,
644,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
432,
2226,
15650,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
3437,
10525,
273,
389,
88,
31,
1082,
202,
9053,
1853,
5026,
24,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
37,
2226,
15650,
1769,
1082,
202,
67,
88,
2
] |
buf.append(e.getShortMessage(e.mode)+"\n");
|
buf.append(FetchException.getShortMessage(e.mode)+"\n");
|
public void handleGet(URI uri, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { //String ks = uri.toString(); String ks = uri.getPath(); HTTPRequest httprequest = new HTTPRequest(uri); if (ks.equals("/")) { if (httprequest.isParameterSet("key")) { MultiValueTable headers = new MultiValueTable(); headers.put("Location", "/"+httprequest.getParam("key")); ctx.sendReplyHeaders(302, "Found", headers, null, 0); return; } RedirectException re = new RedirectException(); try { String querystring = uri.getQuery(); if (querystring == null) { re.newuri = new URI("/welcome/"); } else { // TODP possibly a proper URLEncode method querystring = querystring.replace(' ', '+'); re.newuri = new URI("/welcome/?"+querystring); } } catch (URISyntaxException e) { // HUH!?! } throw re; }else if(ks.equals("/favicon.ico")){ byte[] buf = new byte[1024]; int len; InputStream strm = getClass().getResourceAsStream("staticfiles/favicon.ico"); if (strm == null) { this.sendErrorPage(ctx, 404, "Path not found", "The specified path does not exist."); return; } ctx.sendReplyHeaders(200, "OK", null, "image/x-icon", strm.available()); while ( (len = strm.read(buf)) > 0) { ctx.writeData(buf, 0, len); } return; } if(ks.startsWith("/")) ks = ks.substring(1); long maxSize = httprequest.getLongParam("max-size", MAX_LENGTH); StringBuffer buf = new StringBuffer(); FreenetURI key; try { key = new FreenetURI(ks); } catch (MalformedURLException e) { ctx.getPageMaker().makeHead(buf, "Invalid key"); buf.append("<div class=\"infobox infobox-error\">\n"); buf.append("<div class=\"infobox-header\">\n"); buf.append("Invalid key\n"); buf.append("</div>\n"); buf.append("<div class=\"infobox-content\">\n"); buf.append("Expected a freenet key, but got "+HTMLEncoder.encode(ks)+"\n"); ctx.getPageMaker().makeBackLink(buf,ctx); buf.append("<br><a href=\"/\" title=\"Node Homepage\">Homepage</a>\n"); buf.append("</div>\n"); buf.append("</div>\n"); ctx.getPageMaker().makeTail(buf); this.writeReply(ctx, 400, "text/html", "Invalid key", buf.toString()); return; } try { Logger.minor(this, "FProxy fetching "+key); FetchResult result = fetch(key, maxSize); // Now, is it safe? Bucket data = result.asBucket(); String typeName = result.getMimeType(); String reqParam = httprequest.getParam("type", null); if(reqParam != null) typeName = reqParam; Logger.minor(this, "Type: "+typeName+" ("+result.getMimeType()+" "+reqParam+")"); long now = System.currentTimeMillis(); String forceString = httprequest.getParam("force"); boolean force = false; boolean forcedownload = false; if(forceString != null) { if(forceString.equals(getForceValue(key, now)) || forceString.equals(getForceValue(key, now-FORCE_GRAIN_INTERVAL))) force = true; } if(httprequest.isParameterSet("forcedownload")) { // Download to disk, this should be safe, and is set when we do "force download to disk" from a dangerous-content-warning page. typeName = "application/x-msdownload"; forcedownload = true; } try { if(!force && !forcedownload) { data = ContentFilter.filter(data, ctx.getBucketFactory(), typeName, uri, null); } if (forcedownload) { MultiValueTable headers = new MultiValueTable(); headers.put("Content-Disposition", "attachment"); ctx.sendReplyHeaders(200, "OK", headers, typeName, data.size()); ctx.writeData(data); } else { // Send the data, intact writeReply(ctx, 200, typeName, "OK", data); } } catch (UnsafeContentTypeException e) { ctx.getPageMaker().makeHead(buf, "Potentially Dangerous Content"); buf.append("<div class=\"infobox infobox-alert\">"); buf.append("<div class=\"infobox-header\">").append(e.getHTMLEncodedTitle()).append("</div>"); buf.append("<div class=\"infobox-content\">"); buf.append(e.getExplanation()); buf.append("<p>Your options are:</p><ul>\n"); buf.append("<li><a href=\"/"+key.toString(false)+"?type=text/plain\">Click here</a> to open the file as plain text (this should not be dangerous, but it may be garbled).</li>\n"); // FIXME: is this safe? See bug #131 buf.append("<li><a href=\"/"+key.toString(false)+"?forcedownload\">Click here</a> to force your browser to download the file to disk.</li>\n"); buf.append("<li><a href=\"/"+key.toString(false)+"?force="+getForceValue(key, now)+"\">Click here</a> to open the file as "+HTMLEncoder.encode(typeName)+".</li>\n"); buf.append("<li><a href=\"/\">Click here</a> to go to the FProxy home page.</li>\n"); buf.append("</ul></div>"); buf.append("</div>\n"); ctx.getPageMaker().makeTail(buf); writeReply(ctx, 200, "text/html", "OK", buf.toString()); } } catch (FetchException e) { String msg = e.getMessage(); String extra = ""; if(e.mode == FetchException.NOT_ENOUGH_METASTRINGS) { this.writePermanentRedirect(ctx, "Not enough meta-strings", "/" + URLEncoder.encode(key.toString(false)) + "/"); } else if(e.newURI != null) { this.writePermanentRedirect(ctx, msg, "/"+e.newURI.toString()); } else if(e.mode == FetchException.TOO_BIG) { ctx.getPageMaker().makeHead(buf, "Large file"); buf.append("<table border=\"0\">\n"); String fnam = getFilename(e, key, e.getExpectedMimeType()); buf.append("<tr><td><b>Filename</b></td><td>"); buf.append("<a href=\"/"+URLEncoder.encode(key.toString(false))+"\">"); buf.append(fnam); buf.append("</a>"); buf.append("</td></tr>\n"); boolean finalized = e.finalizedSize(); if(e.expectedSize > 0) { buf.append("<tr><td><b>"); if(!finalized) buf.append("Expected size (may change)"); else buf.append("Size"); buf.append("</b></td><td>"); buf.append(SizeUtil.formatSize(e.expectedSize)); buf.append("</td></tr>\n"); } String mime = e.getExpectedMimeType(); if(mime != null) { buf.append("<tr><td><b>"); if(!finalized) buf.append("Expected MIME type"); else buf.append("MIME type"); buf.append("</b></td><td>"); buf.append(mime); buf.append(" bytes </td></tr>\n"); } // FIXME filename buf.append("</table>\n"); buf.append("<br>This is a large file, so it has not been streamed direct" + " to your browser, because Freenet cannot send any data to the " + "browser until it has the whole file, and this may take some time, " + "and also for resource usage reasons.<br>\n"); buf.append("What would you like to do with it?"); buf.append("<ul>"); buf.append("<li><form method=\"get\" action=\"/"+key.toString(false)+"\">"); buf.append("<input type=\"hidden\" name=\"max-size\" value=\""+e.expectedSize+"\">"); buf.append("<input type=\"submit\" name=\"fetch\" value=\"Fetch anyway and display file in browser\">"); buf.append("</form></li>\n"); buf.append("<li><form method=\"post\" action=\"/queue/\">"); buf.append("<input type=\"hidden\" name=\"key\" value=\""+key.toString(false)+"\">"); buf.append("<input type=\"hidden\" name=\"return-type\" value=\"disk\">"); buf.append("<input type=\"hidden\" name=\"persistence\" value=\"forever\">"); buf.append("<input type=\"hidden\" name=\"formPassword\" value=\""+node.formPassword+"\">"); if(mime != null) buf.append("<input type=\"hidden\" name=\"type\" value=\""+URLEncoder.encode(mime)+"\">"); buf.append("<input type=\"submit\" name=\"download\" value=\"Download in background and store in downloads directory\">"); buf.append("</form></li>\n"); // FIXME add a queue-a-download option.// buf.append("<li>Save it to disk at </li>"); // FIXME add return-to-referring-page //buf.append("<li>Return to the referring page: "); buf.append("<li>Abort and return to the FProxy home page: <a href=\"/\">here</a></li>"); buf.append("</ul>"); ctx.getPageMaker().makeTail(buf); writeReply(ctx, 200, "text/html", "OK", buf.toString()); // FIXME provide option to queue write to disk. } else { if(e.errorCodes != null) extra = "<pre>"+e.errorCodes.toVerboseString()+"</pre>"; ctx.getPageMaker().makeHead(buf,e.getShortMessage(e.mode)); buf.append("<div class=\"infobox infobox-error\">\n"); buf.append("<div class=\"infobox-header\">\n"); buf.append(e.getShortMessage(e.mode)+"\n"); buf.append("</div>\n"); buf.append("<div class=\"infobox-content\">\n"); buf.append("Error: "+HTMLEncoder.encode(msg)+extra+"\n"); ctx.getPageMaker().makeBackLink(buf,ctx); buf.append("<br><a href=\"/\" title=\"Node Homepage\">Homepage</a>\n"); buf.append("</div>\n"); buf.append("</div>\n"); ctx.getPageMaker().makeTail(buf); this.writeReply(ctx, 500 /* close enough - FIXME probably should depend on status code */, "text/html", e.getShortMessage(e.mode), buf.toString()); } } catch (Throwable t) { Logger.error(this, "Caught "+t, t); String msg = "<html><head><title>Internal Error</title></head><body><h1>Internal Error: please report</h1><pre>"; StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw); t.printStackTrace(pw); pw.flush(); msg = msg + sw.toString() + "</pre></body></html>"; this.writeReply(ctx, 500, "text/html", "Internal Error", msg); } }
|
8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/435d4590fcc5417fb2c2aa2ad6187826e509ffea/FProxyToadlet.java/clean/src/freenet/clients/http/FProxyToadlet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1875,
202,
15069,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
202,
202,
759,
780,
11654,
273,
2003,
18,
10492,
5621,
202,
202,
780,
11654,
273,
2003,
18,
588,
743,
5621,
9506,
202,
23891,
1062,
2293,
273,
394,
25238,
12,
1650,
1769,
9506,
202,
430,
261,
7904,
18,
14963,
2932,
4898,
3719,
288,
1082,
202,
430,
261,
2022,
1484,
456,
18,
291,
1662,
694,
2932,
856,
6,
3719,
288,
9506,
202,
5002,
620,
1388,
1607,
273,
394,
5991,
620,
1388,
5621,
6862,
9506,
202,
2485,
18,
458,
2932,
2735,
3113,
4016,
15,
2022,
1484,
456,
18,
588,
786,
2932,
856,
7923,
1769,
9506,
202,
5900,
18,
4661,
7817,
3121,
12,
23,
3103,
16,
315,
2043,
3113,
1607,
16,
446,
16,
374,
1769,
9506,
202,
2463,
31,
1082,
202,
97,
25083,
202,
5961,
503,
283,
273,
394,
9942,
503,
5621,
1082,
202,
698,
288,
9506,
202,
780,
20741,
273,
2003,
18,
588,
1138,
5621,
6862,
9506,
202,
430,
261,
2271,
1080,
422,
446,
13,
288,
6862,
202,
266,
18,
2704,
1650,
273,
394,
3699,
2932,
19,
91,
16312,
4898,
1769,
9506,
202,
97,
469,
288,
6862,
202,
759,
399,
1212,
52,
10016,
279,
5338,
1976,
5509,
707,
6862,
202,
2271,
1080,
273,
20741,
18,
2079,
2668,
2265,
10058,
1769,
6862,
202,
266,
18,
2704,
1650,
273,
394,
3699,
2932,
19,
91,
16312,
19,
7225,
15,
2271,
1080,
1769,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1875,
202,
15069,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
202,
202,
759,
780,
11654,
273,
2003,
18,
10492,
5621,
202,
202,
780,
11654,
273,
2003,
18,
588,
743,
5621,
9506,
202,
23891,
1062,
2293,
273,
394,
25238,
12,
1650,
1769,
9506,
202,
430,
261,
7904,
18,
14963,
2932,
4898,
3719,
288,
1082,
202,
430,
261,
2022,
1484,
456,
18,
291,
1662,
694,
2932,
856,
6,
3719,
288,
9506,
202,
5002,
620,
1388,
1607,
273,
394,
5991,
620,
1388,
5621,
6862,
9506,
202,
2485,
18,
458,
2932,
2735,
3113,
4016,
15,
2022,
1484,
456,
18,
588,
786,
2932,
2
] |
synchronized (lock) {
|
synchronized(lock) {
|
public String[] keys() throws BackingStoreException { synchronized (lock) { if (isRemoved()) throw new IllegalStateException("Node removed"); return keysSpi(); } }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/71bd4a234ff464b217036c28c910b8210f375bad/AbstractPreferences.java/buggy/core/src/classpath/java/java/util/prefs/AbstractPreferences.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
8526,
1311,
1435,
1216,
4297,
310,
21151,
288,
202,
202,
22043,
261,
739,
13,
288,
1082,
202,
430,
261,
291,
10026,
10756,
9506,
202,
12849,
394,
5477,
2932,
907,
3723,
8863,
1082,
202,
2463,
1311,
21887,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
8526,
1311,
1435,
1216,
4297,
310,
21151,
288,
202,
202,
22043,
261,
739,
13,
288,
1082,
202,
430,
261,
291,
10026,
10756,
9506,
202,
12849,
394,
5477,
2932,
907,
3723,
8863,
1082,
202,
2463,
1311,
21887,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
deco.setWebappContextRoot("src/webapp");
|
deco.setWebappContextRoot("src/main/webapp");
|
public static Test suite(Class clazz) { // The javascript 'history' variable is not supported by // httpunit and we don't want httpunit to throw an // exception just because they can not handle it. HttpUnitOptions.setExceptionsThrownOnScriptError(false); TestSuite suite = new TestSuite(); suite.addTestSuite(clazz); JettyDecorator deco = new JettyDecorator(suite); deco.setPort(8098); deco.setWebappContextRoot("src/webapp"); deco.setContextPath("/wicket-examples"); return deco; }
|
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/c3fd99e202005f9b0d1ea738c33d326ee209adb2/WicketWebTestCase.java/clean/wicket-examples/src/test/java/wicket/examples/WicketWebTestCase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
7766,
11371,
12,
797,
4003,
13,
202,
95,
202,
202,
759,
1021,
11341,
296,
8189,
11,
2190,
353,
486,
3260,
635,
202,
202,
759,
1062,
4873,
471,
732,
2727,
1404,
2545,
1062,
4873,
358,
604,
392,
202,
202,
759,
1520,
2537,
2724,
2898,
848,
486,
1640,
518,
18,
202,
202,
2940,
2802,
1320,
18,
542,
11416,
29591,
1398,
3651,
668,
12,
5743,
1769,
202,
202,
4709,
13587,
11371,
273,
394,
7766,
13587,
5621,
202,
202,
30676,
18,
1289,
4709,
13587,
12,
830,
3638,
1769,
202,
202,
46,
22084,
10361,
2109,
83,
273,
394,
804,
22084,
10361,
12,
30676,
1769,
202,
202,
323,
2894,
18,
542,
2617,
12,
3672,
10689,
1769,
202,
202,
323,
2894,
18,
542,
4079,
2910,
1042,
2375,
2932,
4816,
19,
4875,
2910,
8863,
202,
202,
323,
2894,
18,
542,
1042,
743,
2932,
19,
91,
29378,
17,
16858,
8863,
202,
202,
2463,
2109,
83,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
482,
760,
7766,
11371,
12,
797,
4003,
13,
202,
95,
202,
202,
759,
1021,
11341,
296,
8189,
11,
2190,
353,
486,
3260,
635,
202,
202,
759,
1062,
4873,
471,
732,
2727,
1404,
2545,
1062,
4873,
358,
604,
392,
202,
202,
759,
1520,
2537,
2724,
2898,
848,
486,
1640,
518,
18,
202,
202,
2940,
2802,
1320,
18,
542,
11416,
29591,
1398,
3651,
668,
12,
5743,
1769,
202,
202,
4709,
13587,
11371,
273,
394,
7766,
13587,
5621,
202,
202,
30676,
18,
1289,
4709,
13587,
12,
830,
3638,
1769,
202,
202,
46,
22084,
10361,
2109,
83,
273,
394,
804,
22084,
10361,
12,
30676,
1769,
202,
202,
323,
2894,
18,
542,
2617,
12,
3672,
10689,
1769,
202,
202,
323,
2894,
18,
2
] |
}
|
}
|
protected void requireMyAnnotation(TextLabels labels) { if (requiredAnnotation!=null) { labels.require(requiredAnnotation,requiredAnnotationFileToLoad); } }
|
51753 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51753/537fff6c55c1a0779423d8870bf729fac0b132f8/SampleFE.java/buggy/src/edu/cmu/minorthird/text/learn/SampleFE.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1117,
918,
2583,
12062,
3257,
12,
1528,
5888,
3249,
13,
202,
202,
95,
1082,
202,
430,
261,
4718,
3257,
5,
33,
2011,
13,
288,
9506,
202,
5336,
18,
6528,
12,
4718,
3257,
16,
4718,
3257,
812,
26883,
1769,
1082,
202,
97,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1117,
918,
2583,
12062,
3257,
12,
1528,
5888,
3249,
13,
202,
202,
95,
1082,
202,
430,
261,
4718,
3257,
5,
33,
2011,
13,
288,
9506,
202,
5336,
18,
6528,
12,
4718,
3257,
16,
4718,
3257,
812,
26883,
1769,
1082,
202,
97,
1082,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
i,
|
cheese,
|
public void testLogicalAssertionsNot() throws Exception { final PackageBuilder builder = new PackageBuilder(); builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_LogicalAssertionsNot.drl" ) ) ); final Package pkg = builder.getPackage(); final RuleBase ruleBase = getRuleBase(); ruleBase.addPackage( pkg ); final WorkingMemory workingMemory = ruleBase.newWorkingMemory(); List list; final String a = new String( "a" ); final Integer i = new Integer( 1 ); workingMemory.setGlobal( "i", i ); workingMemory.fireAllRules(); list = workingMemory.getObjects(); assertEquals( "i was not asserted by not a => i.", 1, list.size() ); assertEquals( "i was not asserted by not a => i.", i, list.get( 0 ) ); final FactHandle h = workingMemory.assertObject( a ); // no need to fire rules, assertion alone removes justification for i, // so it should be retracted. // workingMemory.fireAllRules(); list = workingMemory.getObjects(); assertEquals( "a was not asserted or i not retracted.", 1, list.size() ); assertEquals( "a was asserted.", a, list.get( 0 ) ); assertFalse( "i was not rectracted.", list.contains( i ) ); // no rules should fire, but nevertheless... // workingMemory.fireAllRules(); assertEquals( "agenda should be empty.", 0, workingMemory.getAgenda().agendaSize() ); workingMemory.retractObject( h ); workingMemory.fireAllRules(); list = workingMemory.getObjects(); assertEquals( "i was not asserted by not a => i.", 1, list.size() ); assertEquals( "i was not asserted by not a => i.", i, list.get( 0 ) ); }
|
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/9b02adbf821ec4397b4bf91c3643063ace29cdf8/IntegrationCases.java/buggy/drools-compiler/src/test/java/org/drools/integrationtests/IntegrationCases.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
17955,
8213,
1115,
1248,
1435,
1216,
1185,
288,
3639,
727,
7508,
1263,
2089,
273,
394,
7508,
1263,
5621,
3639,
2089,
18,
1289,
2261,
1265,
40,
1321,
12,
394,
15322,
12,
2900,
7675,
588,
1420,
17052,
12,
315,
3813,
67,
17955,
8213,
1115,
1248,
18,
72,
1321,
6,
262,
262,
11272,
3639,
727,
7508,
3475,
273,
2089,
18,
588,
2261,
5621,
3639,
727,
6781,
2171,
1720,
2171,
273,
19048,
2171,
5621,
3639,
1720,
2171,
18,
1289,
2261,
12,
3475,
11272,
3639,
727,
22732,
6031,
5960,
6031,
273,
1720,
2171,
18,
2704,
14836,
6031,
5621,
3639,
987,
666,
31,
3639,
727,
514,
279,
273,
394,
514,
12,
315,
69,
6,
11272,
3639,
727,
2144,
277,
273,
394,
2144,
12,
404,
11272,
3639,
5960,
6031,
18,
542,
5160,
12,
315,
77,
3113,
4766,
277,
11272,
3639,
5960,
6031,
18,
12179,
1595,
4478,
5621,
3639,
666,
273,
5960,
6031,
18,
588,
4710,
5621,
3639,
1815,
8867,
12,
315,
77,
1703,
486,
1815,
329,
635,
486,
279,
516,
277,
1199,
16,
8227,
404,
16,
8227,
666,
18,
1467,
1435,
11272,
3639,
1815,
8867,
12,
315,
77,
1703,
486,
1815,
329,
635,
486,
279,
516,
277,
1199,
16,
8227,
19315,
3392,
16,
8227,
666,
18,
588,
12,
374,
262,
11272,
3639,
727,
29057,
3259,
366,
273,
5960,
6031,
18,
11231,
921,
12,
279,
11272,
3639,
368,
1158,
1608,
358,
4452,
2931,
16,
11240,
24068,
7157,
2537,
1480,
364,
19315,
3392,
16,
3639,
368,
1427,
518,
1410,
506,
283,
1575,
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,
17955,
8213,
1115,
1248,
1435,
1216,
1185,
288,
3639,
727,
7508,
1263,
2089,
273,
394,
7508,
1263,
5621,
3639,
2089,
18,
1289,
2261,
1265,
40,
1321,
12,
394,
15322,
12,
2900,
7675,
588,
1420,
17052,
12,
315,
3813,
67,
17955,
8213,
1115,
1248,
18,
72,
1321,
6,
262,
262,
11272,
3639,
727,
7508,
3475,
273,
2089,
18,
588,
2261,
5621,
3639,
727,
6781,
2171,
1720,
2171,
273,
19048,
2171,
5621,
3639,
1720,
2171,
18,
1289,
2261,
12,
3475,
11272,
3639,
727,
22732,
6031,
5960,
6031,
273,
1720,
2171,
18,
2704,
14836,
6031,
5621,
3639,
987,
666,
31,
3639,
727,
514,
279,
273,
394,
514,
12,
315,
69,
6,
11272,
3639,
727,
2144,
277,
273,
394,
2
] |
ParamInfo[] getParameters() { if (currentToken.dynamParamInfo != null) { ParamInfo[] params = new ParamInfo[currentToken.dynamParamInfo.length]; for (int i = 0; i < params.length; i++) { ColInfo ci = currentToken.dynamParamInfo[i]; ParamInfo pi = new ParamInfo(); pi.tdsType = ci.tdsType; pi.scale = ci.scale; pi.precision = ci.precision; pi.name = ci.name; pi.isOutput = false; pi.jdbcType = ci.jdbcType; pi.sqlType = ci.sqlType; params[i] = pi; } return params; } return EMPTY_PARAMETER_INFO; }
|
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/cdf547a3ca2494a8b3b49a4df7ae97612c64a298/TdsCore.java/buggy/src/main/net/sourceforge/jtds/jdbc/TdsCore.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3014,
966,
8526,
10028,
1435,
288,
3639,
309,
261,
2972,
1345,
18,
31129,
786,
966,
480,
446,
13,
288,
5411,
3014,
966,
8526,
859,
273,
394,
3014,
966,
63,
2972,
1345,
18,
31129,
786,
966,
18,
2469,
15533,
13491,
364,
261,
474,
277,
273,
374,
31,
277,
411,
859,
18,
2469,
31,
277,
27245,
288,
7734,
1558,
966,
9039,
273,
23719,
18,
31129,
786,
966,
63,
77,
15533,
7734,
3014,
966,
4790,
273,
394,
3014,
966,
5621,
27573,
4790,
18,
88,
2377,
559,
273,
9039,
18,
88,
2377,
559,
31,
7734,
4790,
18,
5864,
273,
9039,
18,
5864,
31,
7734,
4790,
18,
14548,
273,
9039,
18,
14548,
31,
7734,
4790,
18,
529,
273,
9039,
18,
529,
31,
7734,
4790,
18,
291,
1447,
273,
629,
31,
7734,
4790,
18,
24687,
559,
273,
9039,
18,
24687,
559,
31,
7734,
4790,
18,
4669,
559,
273,
9039,
18,
4669,
559,
31,
7734,
859,
63,
77,
65,
273,
4790,
31,
5411,
289,
13491,
327,
859,
31,
3639,
289,
7734,
327,
8984,
67,
9819,
67,
5923,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3014,
966,
8526,
10028,
1435,
288,
3639,
309,
261,
2972,
1345,
18,
31129,
786,
966,
480,
446,
13,
288,
5411,
3014,
966,
8526,
859,
273,
394,
3014,
966,
63,
2972,
1345,
18,
31129,
786,
966,
18,
2469,
15533,
13491,
364,
261,
474,
277,
273,
374,
31,
277,
411,
859,
18,
2469,
31,
277,
27245,
288,
7734,
1558,
966,
9039,
273,
23719,
18,
31129,
786,
966,
63,
77,
15533,
7734,
3014,
966,
4790,
273,
394,
3014,
966,
5621,
27573,
4790,
18,
88,
2377,
559,
273,
9039,
18,
88,
2377,
559,
31,
7734,
4790,
18,
5864,
273,
9039,
18,
5864,
31,
7734,
4790,
18,
14548,
273,
9039,
18,
14548,
31,
7734,
4790,
18,
529,
273,
9039,
18,
529,
31,
7734,
2
] |
||
else if ( IReportElementConstants.AUTOTEXT_PAGEXOFY.equalsIgnoreCase( type ) )
|
else if ( IReportElementConstants.AUTOTEXT_PAGEXOFY .equalsIgnoreCase( type ) )
|
public boolean preHandleMouseUp( ) { String type = (String) getRequest( ).getNewObjectType( ); String text = null; ModuleHandle reportHandle = SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ); // TextItemHandle textItemHandle = SessionHandleAdapter.getInstance( // ) // .getReportDesignHandle( ) // .getElementFactory( ) // .newTextItem( null ); TextItemHandle textItemHandle = DesignElementFactory.getInstance( ) .newTextItem( null ); try { if ( IReportElementConstants.AUTOTEXT_PAGE.equalsIgnoreCase( type ) ) { text = AUTOTEXT_LABEL_PAGE + "<value-of>GlobalBirt.CurrentPage</value-of>"; //$NON-NLS-1$ } else if ( IReportElementConstants.AUTOTEXT_DATE.equalsIgnoreCase( type ) ) { text = "<value-of>new Date()</value-of>"; //$NON-NLS-1$ textItemHandle.setContentType( DesignChoiceConstants.TEXT_CONTENT_TYPE_HTML ); } else if ( IReportElementConstants.AUTOTEXT_CREATEDON.equalsIgnoreCase( type ) ) { text = AUTOTEXT_LABEL_CREATE_ON + "<value-of>new Date()</value-of>"; //$NON-NLS-1$ textItemHandle.setContentType( DesignChoiceConstants.TEXT_CONTENT_TYPE_HTML ); } else if ( IReportElementConstants.AUTOTEXT_CREATEDBY.equalsIgnoreCase( type ) ) { text = AUTOTEXT_LABEL_CREATE_BY; String author = reportHandle.getAuthor( ); if ( author != null ) { text += author; } else { String pluginVersion = (String) ReportPlugin.getDefault( ) .getBundle( ) .getHeaders( ) .get( org.osgi.framework.Constants.BUNDLE_VERSION ); text += DEFAULT_AUTHOR + " " //$NON-NLS-1$ + pluginVersion; } } else if ( IReportElementConstants.AUTOTEXT_FILENAME.equalsIgnoreCase( type ) ) { text = AUTOTEXT_LABEL_FILENAME + reportHandle.getFileName( ); } else if ( IReportElementConstants.AUTOTEXT_LASTPRINTED.equalsIgnoreCase( type ) ) { text = AUTOTEXT_LABEL_LAST_PRINTED + "<value-of>new Date()</value-of>"; //$NON-NLS-1$ textItemHandle.setContentType( DesignChoiceConstants.TEXT_CONTENT_TYPE_HTML ); } else if ( IReportElementConstants.AUTOTEXT_PAGEXOFY.equalsIgnoreCase( type ) ) { text = AUTOTEXT_LABEL_PAGE_X_OF_Y; } else if ( !IReportElementConstants.REPORT_ELEMENT_TEXT.equalsIgnoreCase( type ) ) { return false; } if ( text != null ) { textItemHandle.setContent( text ); } } catch ( SemanticException e ) { ExceptionHandler.handle( e ); } setModel( textItemHandle ); return super.preHandleMouseUp( ); } /*
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/4f0c26ca98ecbb792f2b5f93329f788413e6ba1a/BasePaletteFactory.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/palette/BasePaletteFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1250,
675,
3259,
9186,
1211,
12,
262,
202,
202,
95,
1082,
202,
780,
618,
273,
261,
780,
13,
4328,
12,
262,
18,
588,
1908,
17610,
12,
11272,
1082,
202,
780,
977,
273,
446,
31,
1082,
202,
3120,
3259,
2605,
3259,
273,
3877,
3259,
4216,
18,
588,
1442,
12,
262,
6862,
202,
18,
588,
4820,
15478,
3259,
12,
11272,
1082,
202,
759,
3867,
1180,
3259,
977,
1180,
3259,
273,
3877,
3259,
4216,
18,
588,
1442,
12,
1082,
202,
759,
262,
1082,
202,
759,
263,
588,
4820,
15478,
3259,
12,
262,
1082,
202,
759,
263,
21336,
1733,
12,
262,
1082,
202,
759,
263,
2704,
1528,
1180,
12,
446,
11272,
1082,
202,
1528,
1180,
3259,
977,
1180,
3259,
273,
29703,
1046,
1733,
18,
588,
1442,
12,
262,
6862,
202,
18,
2704,
1528,
1180,
12,
446,
11272,
1082,
202,
698,
1082,
202,
95,
9506,
202,
430,
261,
467,
4820,
1046,
2918,
18,
18909,
5151,
67,
11219,
18,
14963,
5556,
12,
618,
262,
262,
9506,
202,
95,
6862,
202,
955,
273,
17191,
5151,
67,
13545,
67,
11219,
6862,
1082,
202,
15,
3532,
1132,
17,
792,
34,
5160,
38,
2714,
18,
3935,
1964,
1757,
1132,
17,
792,
2984,
31,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
97,
9506,
202,
12107,
309,
261,
467,
4820,
1046,
2918,
18,
18909,
5151,
67,
4594,
18,
14963,
5556,
12,
618,
262,
262,
9506,
202,
95,
6862,
202,
955,
273,
3532,
1132,
17,
792,
34,
2704,
2167,
1435,
1757,
1132,
17,
792,
2984,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1250,
675,
3259,
9186,
1211,
12,
262,
202,
202,
95,
1082,
202,
780,
618,
273,
261,
780,
13,
4328,
12,
262,
18,
588,
1908,
17610,
12,
11272,
1082,
202,
780,
977,
273,
446,
31,
1082,
202,
3120,
3259,
2605,
3259,
273,
3877,
3259,
4216,
18,
588,
1442,
12,
262,
6862,
202,
18,
588,
4820,
15478,
3259,
12,
11272,
1082,
202,
759,
3867,
1180,
3259,
977,
1180,
3259,
273,
3877,
3259,
4216,
18,
588,
1442,
12,
1082,
202,
759,
262,
1082,
202,
759,
263,
588,
4820,
15478,
3259,
12,
262,
1082,
202,
759,
263,
21336,
1733,
12,
262,
1082,
202,
759,
263,
2704,
1528,
1180,
12,
446,
11272,
1082,
202,
1528,
1180,
3259,
977,
1180,
3259,
273,
2
] |
public void setRoot(Object root) throws IllegalArgumentException {
|
public void setRoot(Object root) {
|
public void setRoot(Object root) throws IllegalArgumentException { if (!(root instanceof OMENode)) { throw new IllegalArgumentException( "This metadata store accepts root objects of type 'OMENode'."); } this.root = (OMENode) root; }
|
55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/76f0f24f6d6757c1f4133a42b987de82878422c1/OMEXMLMetadataStore.java/clean/loci/formats/OMEXMLMetadataStore.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
31706,
12,
921,
1365,
13,
288,
565,
309,
16051,
12,
3085,
1276,
531,
958,
907,
3719,
288,
1377,
604,
394,
2754,
12,
3639,
315,
2503,
1982,
1707,
8104,
1365,
2184,
434,
618,
296,
51,
958,
907,
14550,
1769,
565,
289,
565,
333,
18,
3085,
273,
261,
51,
958,
907,
13,
1365,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
31706,
12,
921,
1365,
13,
288,
565,
309,
16051,
12,
3085,
1276,
531,
958,
907,
3719,
288,
1377,
604,
394,
2754,
12,
3639,
315,
2503,
1982,
1707,
8104,
1365,
2184,
434,
618,
296,
51,
958,
907,
14550,
1769,
565,
289,
565,
333,
18,
3085,
273,
261,
51,
958,
907,
13,
1365,
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
] |
public Class defineClass(String name, byte data[]) {
|
public Class defineClass(String name, byte[] data) {
|
public Class defineClass(String name, byte data[]) { return super.defineClass(name, data, 0, data.length); }
|
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/bbb8216d370d6dc0604efa00ba7a2601c81cb9fb/DefiningClassLoader.java/buggy/js/rhino/src/org/mozilla/classfile/DefiningClassLoader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1659,
4426,
797,
12,
780,
508,
16,
1160,
8526,
501,
13,
288,
3639,
327,
2240,
18,
11255,
797,
12,
529,
16,
501,
16,
374,
16,
501,
18,
2469,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1659,
4426,
797,
12,
780,
508,
16,
1160,
8526,
501,
13,
288,
3639,
327,
2240,
18,
11255,
797,
12,
529,
16,
501,
16,
374,
16,
501,
18,
2469,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
for (int i = 0; i < pendingBlocks.length; i++) { Block b = pendingBlocks[i]; TreeSet containingNodes = (TreeSet) blocksMap.get(b); DatanodeInfo node = (DatanodeInfo) containingNodes.first(); for (Iterator it = node.getBlockIterator(); it.hasNext(); ) { Block cur = (Block) it.next(); if (b.getBlockId() == cur.getBlockId()) { b.setNumBytes(cur.getNumBytes()); break; }
|
for (int i = 0; i < nrBlocks; i++) { Block b = (Block)pendingBlocks[i]; TreeSet containingNodes = (TreeSet) blocksMap.get(b); DatanodeInfo node = (DatanodeInfo) containingNodes.first(); for (Iterator it = node.getBlockIterator(); it.hasNext(); ) { Block cur = (Block) it.next(); if (b.getBlockId() == cur.getBlockId()) { b.setNumBytes(cur.getNumBytes()); break;
|
public synchronized int completeFile(UTF8 src, UTF8 holder) { if (dir.getFile(src) != null || pendingCreates.get(src) == null) { LOG.info("Failed to complete " + src + " because dir.getFile()==" + dir.getFile(src) + " and " + pendingCreates.get(src)); return OPERATION_FAILED; } else if (! checkFileProgress(src)) { return STILL_WAITING; } else { Vector pendingVector = (Vector) pendingCreates.get(src); Block pendingBlocks[] = (Block[]) pendingVector.toArray(new Block[pendingVector.size()]); // // We have the pending blocks, but they won't have // length info in them (as they were allocated before // data-write took place). So we need to add the correct // length info to each // // REMIND - mjc - this is very inefficient! We should // improve this! // for (int i = 0; i < pendingBlocks.length; i++) { Block b = pendingBlocks[i]; TreeSet containingNodes = (TreeSet) blocksMap.get(b); DatanodeInfo node = (DatanodeInfo) containingNodes.first(); for (Iterator it = node.getBlockIterator(); it.hasNext(); ) { Block cur = (Block) it.next(); if (b.getBlockId() == cur.getBlockId()) { b.setNumBytes(cur.getNumBytes()); break; } } } // // Now we can add the (name,blocks) tuple to the filesystem // if (dir.addFile(src, pendingBlocks)) { // The file is no longer pending pendingCreates.remove(src); for (int i = 0; i < pendingBlocks.length; i++) { pendingCreateBlocks.remove(pendingBlocks[i]); } synchronized (leases) { Lease lease = (Lease) leases.get(holder); if (lease != null) { lease.completedCreate(src); if (! lease.hasLocks()) { leases.remove(holder); sortedLeases.remove(lease); } } } // // REMIND - mjc - this should be done only after we wait a few secs. // The namenode isn't giving datanodes enough time to report the // replicated blocks that are automatically done as part of a client // write. // // Now that the file is real, we need to be sure to replicate // the blocks. for (int i = 0; i < pendingBlocks.length; i++) { TreeSet containingNodes = (TreeSet) blocksMap.get(pendingBlocks[i]); if (containingNodes.size() < this.desiredReplication) { synchronized (neededReplications) { LOG.info("Completed file " + src + ", at holder " + holder + ". There is/are only " + containingNodes.size() + " copies of block " + pendingBlocks[i] + ", so replicating up to " + this.desiredReplication); neededReplications.add(pendingBlocks[i]); } } } return COMPLETE_SUCCESS; } else { System.out.println("AddFile() for " + src + " failed"); } LOG.info("Dropped through on file add...."); } return OPERATION_FAILED; }
|
53958 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53958/ba0ca973d8fbf49c1b7c2d29e7763226576364e8/FSNamesystem.java/clean/src/java/org/apache/hadoop/dfs/FSNamesystem.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
509,
3912,
812,
12,
5159,
28,
1705,
16,
6380,
28,
10438,
13,
288,
3639,
309,
261,
1214,
18,
29925,
12,
4816,
13,
480,
446,
747,
4634,
2729,
18,
588,
12,
4816,
13,
422,
446,
13,
288,
202,
565,
2018,
18,
1376,
2932,
2925,
358,
3912,
315,
397,
1705,
397,
315,
225,
2724,
1577,
18,
29925,
1435,
31713,
397,
1577,
18,
29925,
12,
4816,
13,
397,
315,
471,
315,
397,
4634,
2729,
18,
588,
12,
4816,
10019,
5411,
327,
31294,
67,
11965,
31,
3639,
289,
469,
309,
16051,
866,
812,
5491,
12,
4816,
3719,
288,
5411,
327,
2347,
15125,
67,
19046,
1360,
31,
3639,
289,
469,
288,
5411,
5589,
4634,
5018,
273,
261,
5018,
13,
4634,
2729,
18,
588,
12,
4816,
1769,
5411,
3914,
4634,
6450,
8526,
273,
261,
1768,
63,
5717,
4634,
5018,
18,
31447,
12,
2704,
3914,
63,
9561,
5018,
18,
1467,
1435,
19226,
5411,
368,
5411,
368,
1660,
1240,
326,
4634,
4398,
16,
1496,
2898,
8462,
1404,
1240,
5411,
368,
769,
1123,
316,
2182,
261,
345,
2898,
4591,
11977,
1865,
5411,
368,
501,
17,
2626,
23151,
3166,
2934,
225,
6155,
732,
1608,
358,
527,
326,
3434,
5411,
368,
769,
1123,
358,
1517,
5411,
368,
5411,
368,
2438,
49,
2356,
300,
312,
78,
71,
300,
333,
353,
8572,
316,
25403,
5,
225,
1660,
1410,
5411,
368,
21171,
333,
5,
5411,
368,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
4634,
6450,
18,
2469,
31,
277,
27245,
288,
7734,
3914,
324,
273,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
509,
3912,
812,
12,
5159,
28,
1705,
16,
6380,
28,
10438,
13,
288,
3639,
309,
261,
1214,
18,
29925,
12,
4816,
13,
480,
446,
747,
4634,
2729,
18,
588,
12,
4816,
13,
422,
446,
13,
288,
202,
565,
2018,
18,
1376,
2932,
2925,
358,
3912,
315,
397,
1705,
397,
315,
225,
2724,
1577,
18,
29925,
1435,
31713,
397,
1577,
18,
29925,
12,
4816,
13,
397,
315,
471,
315,
397,
4634,
2729,
18,
588,
12,
4816,
10019,
5411,
327,
31294,
67,
11965,
31,
3639,
289,
469,
309,
16051,
866,
812,
5491,
12,
4816,
3719,
288,
5411,
327,
2347,
15125,
67,
19046,
1360,
31,
3639,
289,
469,
288,
5411,
5589,
4634,
5018,
273,
261,
5018,
13,
4634,
2729,
2
] |
char c = iterator.next();
|
char c = iterator.current(); iterator.next();
|
public int next() { startPosition = iterator.getIndex(); char c = iterator.next(); if (c == CharacterIterator.DONE) { kind = EOF; } else if (Character.isJavaIdentifierStart(c)) { boolean couldBeKeyword = false; if (Character.isLowerCase(c)) { buf.append(c); couldBeKeyword = true; } while (true) { c = iterator.current(); if (!Character.isJavaIdentifierPart(c)) break; c = iterator.next(); if (couldBeKeyword) { if (!Character.isLowerCase(c) || buf.length() >= MAX_KEYWORD_LENGTH) couldBeKeyword = false; else buf.append(c); } } kind = NORMAL_TEXT; if (couldBeKeyword) { if (KEYWORDS.contains(buf.toString())) kind = KEYWORD; buf.setLength(0); } } else if (c == '/') { char c2 = iterator.current(); if (c2 == '/') { while (true) { c2 = iterator.next(); if (c2 == '\n' || c2 == '\r') break; } kind = COMMENT; return kind; } else if (c2 == '*') { scanComment: while (true) { c2 = iterator.next(); if (c2 == '*') { do { c2 = iterator.next(); if (c2 == '/') break scanComment; } while(c2 == '*'); } } kind = JAVADOC; return kind; } } else if (c == '"') { kind = QUOTE; while (true) { char c2 = iterator.next(); if (c2 == '"' || c2 == '\n' || c2 == '\r') break; if (c2 == '\\') { c2 = iterator.next(); if (c2 == '\n' || c2 == '\r') break; } } } else kind = NORMAL_TEXT; // System.out.println(kind + " " + startPosition + "-" + iterator.getIndex()); return kind; }
|
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/104fd59f92387d87c819f17400b213f05edcb62b/JavaScanner.java/buggy/findbugs/src/java5/edu/umd/cs/findbugs/sourceViewer/JavaScanner.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
1024,
1435,
288,
202,
202,
1937,
2555,
273,
2775,
18,
588,
1016,
5621,
202,
202,
3001,
276,
273,
2775,
18,
4285,
5621,
202,
202,
430,
261,
71,
422,
6577,
3198,
18,
26875,
13,
288,
1082,
202,
9224,
273,
6431,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
7069,
18,
291,
5852,
3004,
1685,
12,
71,
3719,
288,
1082,
202,
6494,
3377,
1919,
8736,
273,
629,
31,
1082,
202,
430,
261,
7069,
18,
291,
5630,
12,
71,
3719,
288,
9506,
202,
4385,
18,
6923,
12,
71,
1769,
9506,
202,
15195,
1919,
8736,
273,
638,
31,
1082,
202,
97,
1082,
202,
17523,
261,
3767,
13,
288,
9506,
202,
71,
273,
2775,
18,
2972,
5621,
9506,
202,
430,
16051,
7069,
18,
291,
5852,
3004,
1988,
12,
71,
3719,
6862,
202,
8820,
31,
9506,
202,
71,
273,
2775,
18,
4285,
5621,
9506,
202,
430,
261,
15195,
1919,
8736,
13,
288,
6862,
202,
430,
16051,
7069,
18,
291,
5630,
12,
71,
13,
6862,
1082,
202,
20081,
1681,
18,
2469,
1435,
1545,
4552,
67,
28813,
67,
7096,
13,
25083,
202,
15195,
1919,
8736,
273,
629,
31,
6862,
202,
12107,
25083,
202,
4385,
18,
6923,
12,
71,
1769,
9506,
202,
97,
1082,
202,
97,
1082,
202,
9224,
273,
16362,
67,
5151,
31,
1082,
202,
430,
261,
15195,
1919,
8736,
13,
288,
9506,
202,
430,
261,
3297,
23287,
18,
12298,
12,
4385,
18,
10492,
1435,
3719,
6862,
202,
9224,
273,
30191,
31,
9506,
202,
4385,
18,
542,
1782,
12,
20,
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,
1024,
1435,
288,
202,
202,
1937,
2555,
273,
2775,
18,
588,
1016,
5621,
202,
202,
3001,
276,
273,
2775,
18,
4285,
5621,
202,
202,
430,
261,
71,
422,
6577,
3198,
18,
26875,
13,
288,
1082,
202,
9224,
273,
6431,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
7069,
18,
291,
5852,
3004,
1685,
12,
71,
3719,
288,
1082,
202,
6494,
3377,
1919,
8736,
273,
629,
31,
1082,
202,
430,
261,
7069,
18,
291,
5630,
12,
71,
3719,
288,
9506,
202,
4385,
18,
6923,
12,
71,
1769,
9506,
202,
15195,
1919,
8736,
273,
638,
31,
1082,
202,
97,
1082,
202,
17523,
261,
3767,
13,
288,
9506,
202,
71,
273,
2775,
18,
2972,
5621,
9506,
202,
2
] |
parser = ParserFactory.createParser( ParserFactory.createScanner( new StringReader( code ), "code", new ScannerInfo(), mode, lang, quickParseCallback, new NullLogService()), quickParseCallback, mode, lang, null );
|
parser = ParserFactory.createParser( ParserFactory.createScanner( new StringReader( code ), "code", new ScannerInfo(), mode, lang, quickParseCallback, new NullLogService(), null), quickParseCallback, mode, lang, null );
|
protected IASTCompilationUnit parse( String code, boolean quick, boolean throwExceptionOnError, ParserLanguage lang ) throws ParserException, ParserFactoryError { ParserMode mode = quick ? ParserMode.QUICK_PARSE : ParserMode.COMPLETE_PARSE; quickParseCallback = ParserFactory.createQuickParseCallback(); parser = ParserFactory.createParser( ParserFactory.createScanner( new StringReader( code ), "code", new ScannerInfo(), mode, lang, quickParseCallback, new NullLogService()), quickParseCallback, mode, lang, null ); if( ! parser.parse() && throwExceptionOnError ) throw new ParserException("Parse failure"); return quickParseCallback.getCompilationUnit(); }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/68365e4ac0dcf1f0e969c7f6ab7b763b87c43216/BaseASTTest.java/buggy/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/BaseASTTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
467,
9053,
19184,
2802,
1109,
12,
514,
981,
16,
1250,
9549,
16,
1250,
18084,
11427,
16,
6783,
3779,
3303,
262,
1216,
27990,
16,
6783,
1733,
668,
202,
95,
202,
202,
2678,
2309,
1965,
273,
9549,
692,
6783,
2309,
18,
3500,
16656,
67,
21045,
294,
6783,
2309,
18,
15795,
67,
21045,
31,
3196,
202,
19525,
3201,
2428,
273,
6783,
1733,
18,
2640,
13663,
3201,
2428,
5621,
3196,
202,
4288,
273,
6783,
1733,
18,
2640,
2678,
12,
6783,
1733,
18,
2640,
11338,
12,
394,
26227,
12,
981,
262,
16,
315,
710,
3113,
394,
19074,
966,
9334,
1965,
16,
3303,
16,
9549,
3201,
2428,
16,
394,
4112,
1343,
1179,
1435,
3631,
9549,
3201,
2428,
16,
1965,
16,
3303,
16,
446,
11272,
202,
202,
430,
12,
401,
2082,
18,
2670,
1435,
597,
18084,
11427,
262,
1082,
202,
12849,
394,
27990,
2932,
3201,
5166,
8863,
202,
202,
2463,
9549,
3201,
2428,
18,
588,
19184,
2802,
5621,
1875,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
467,
9053,
19184,
2802,
1109,
12,
514,
981,
16,
1250,
9549,
16,
1250,
18084,
11427,
16,
6783,
3779,
3303,
262,
1216,
27990,
16,
6783,
1733,
668,
202,
95,
202,
202,
2678,
2309,
1965,
273,
9549,
692,
6783,
2309,
18,
3500,
16656,
67,
21045,
294,
6783,
2309,
18,
15795,
67,
21045,
31,
3196,
202,
19525,
3201,
2428,
273,
6783,
1733,
18,
2640,
13663,
3201,
2428,
5621,
3196,
202,
4288,
273,
6783,
1733,
18,
2640,
2678,
12,
6783,
1733,
18,
2640,
11338,
12,
394,
26227,
12,
981,
262,
16,
315,
710,
3113,
394,
19074,
966,
9334,
1965,
16,
3303,
16,
9549,
3201,
2428,
16,
394,
4112,
1343,
1179,
1435,
3631,
9549,
3201,
2428,
16,
1965,
16,
3303,
16,
2
] |
case TokenStream.SHEQ : --stackTop; valBln = do_sheq(stack, sDbl, stackTop);
|
} case TokenStream.SHEQ : { --stackTop; boolean valBln = do_sheq(stack, sDbl, stackTop);
|
public static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, NativeFunction fnOrScript, InterpreterData theData) throws JavaScriptException { if (cx.interpreterSecurityDomain != theData.securityDomain) { // If securityDomain is different, update domain in Cotext // and call self under new domain Object savedDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = theData.securityDomain; try { return interpret(cx, scope, thisObj, args, fnOrScript, theData); } finally { cx.interpreterSecurityDomain = savedDomain; } } int i; Object lhs; final int maxStack = theData.itsMaxStack; final int maxVars = (fnOrScript.argNames == null) ? 0 : fnOrScript.argNames.length; final int maxLocals = theData.itsMaxLocals; final int maxTryDepth = theData.itsMaxTryDepth; final int VAR_SHFT = maxStack; final int LOCAL_SHFT = VAR_SHFT + maxVars; final int TRY_SCOPE_SHFT = LOCAL_SHFT + maxLocals;// stack[0 <= i < VAR_SHFT]: stack data// stack[VAR_SHFT <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_SCOPE_SHFT]: used for newtemp/usetemp// stack[TRY_SCOPE_SHFT <= i]: try scopes// when 0 <= i < LOCAL_SHFT and stack[x] == DBL_MRK,// sDbl[i] gives the number value final Object DBL_MRK = Interpreter.DBL_MRK; Object[] stack = new Object[TRY_SCOPE_SHFT + maxTryDepth]; double[] sDbl = new double[TRY_SCOPE_SHFT]; int stackTop = -1; byte[] iCode = theData.itsICode; String[] strings = theData.itsStringTable; int pc = 0; int iCodeLength = theData.itsICodeTop; final Scriptable undefined = Undefined.instance; if (maxVars != 0) { int definedArgs = fnOrScript.argCount; if (definedArgs != 0) { if (definedArgs > args.length) { definedArgs = args.length; } for (i = 0; i != definedArgs; ++i) { stack[VAR_SHFT + i] = args[i]; } } for (i = definedArgs; i != maxVars; ++i) { stack[VAR_SHFT + i] = undefined; } } if (theData.itsNestedFunctions != null) { for (i = 0; i < theData.itsNestedFunctions.length; i++) createFunctionObject(theData.itsNestedFunctions[i], scope); } Object id; Object rhs, val; double valDbl; boolean valBln; int count; int slot; String name = null; Object[] outArgs; int lIntValue; double lDbl; int rIntValue; double rDbl;// tryStack[2 * i]: starting pc of catch block// tryStack[2 * i + 1]: starting pc of finally block int[] tryStack = null; int tryStackTop = 0; InterpreterFrame frame = null; if (cx.debugger != null) { frame = new InterpreterFrame(scope, theData, fnOrScript); cx.pushFrame(frame); } Object result = undefined; int pcPrevBranch = pc; final int instructionThreshold = cx.instructionThreshold; // During function call this will be set to -1 so catch can properly // adjust it int instructionCount = cx.instructionCount; // arbitrary number to add to instructionCount when calling // other functions final int INVOCATION_COST = 100; while (pc < iCodeLength) { try { switch (iCode[pc] & 0xff) { case TokenStream.ENDTRY : tryStackTop--; break; case TokenStream.TRY : if (tryStackTop == 0) { tryStack = new int[maxTryDepth * 2]; } i = getTarget(iCode, pc + 1); if (i == pc) i = 0; tryStack[tryStackTop * 2] = i; i = getTarget(iCode, pc + 3); if (i == (pc + 2)) i = 0; tryStack[tryStackTop * 2 + 1] = i; stack[TRY_SCOPE_SHFT + tryStackTop] = scope; ++tryStackTop; pc += 4; break; case TokenStream.GE : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && rDbl <= lDbl); } else { valBln = (1 == ScriptRuntime.cmp_LE(rhs, lhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.LE : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && lDbl <= rDbl); } else { valBln = (1 == ScriptRuntime.cmp_LE(lhs, rhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.GT : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && rDbl < lDbl); } else { valBln = (1 == ScriptRuntime.cmp_LT(rhs, lhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.LT : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && lDbl < rDbl); } else { valBln = (1 == ScriptRuntime.cmp_LT(lhs, rhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.IN : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); valBln = ScriptRuntime.in(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.INSTANCEOF : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); valBln = ScriptRuntime.instanceOf(scope, lhs, rhs); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.EQ : --stackTop; valBln = do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.NE : --stackTop; valBln = !do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.SHEQ : --stackTop; valBln = do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.SHNE : --stackTop; valBln = !do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.IFNE : val = stack[stackTop]; if (val != DBL_MRK) { valBln = !ScriptRuntime.toBoolean(val); } else { valDbl = sDbl[stackTop]; valBln = !(valDbl == valDbl && valDbl != 0.0); } --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount (instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; case TokenStream.IFEQ : val = stack[stackTop]; if (val != DBL_MRK) { valBln = ScriptRuntime.toBoolean(val); } else { valDbl = sDbl[stackTop]; valBln = (valDbl == valDbl && valDbl != 0.0); } --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount (instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; case TokenStream.GOTO : if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; case TokenStream.GOSUB : sDbl[++stackTop] = pc + 3; if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; case TokenStream.RETSUB : slot = (iCode[pc + 1] & 0xFF); if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = (int)sDbl[LOCAL_SHFT + slot]; continue; case TokenStream.POP : stackTop--; break; case TokenStream.DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; break; case TokenStream.POPV : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break; case TokenStream.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; pc = getTarget(iCode, pc + 1); break; case TokenStream.BITNOT : rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; break; case TokenStream.BITAND : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue & rIntValue; break; case TokenStream.BITOR : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue | rIntValue; break; case TokenStream.BITXOR : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue ^ rIntValue; break; case TokenStream.LSH : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue << rIntValue; break; case TokenStream.RSH : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue >> rIntValue; break; case TokenStream.URSH : rIntValue = stack_int32(stack, sDbl, stackTop) & 0x1F; --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ScriptRuntime.toUint32(lDbl) >>> rIntValue; break; case TokenStream.ADD : --stackTop; do_add(stack, sDbl, stackTop); break; case TokenStream.SUB : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl - rDbl; break; case TokenStream.NEG : rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; break; case TokenStream.POS : rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; break; case TokenStream.MUL : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl * rDbl; break; case TokenStream.DIV : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; // Detect the divide by zero or let Java do it ? sDbl[stackTop] = lDbl / rDbl; break; case TokenStream.MOD : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl % rDbl; break; case TokenStream.BINDNAME : name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.bind(scope, name); pc += 2; break; case TokenStream.GETBASE : name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.getBase(scope, name); pc += 2; break; case TokenStream.SETNAME : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; // what about class cast exception here for lhs? stack[stackTop] = ScriptRuntime.setName ((Scriptable)lhs, rhs, scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.DELPROP : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(lhs, rhs); break; case TokenStream.GETPROP : name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProp(lhs, name, scope); break; case TokenStream.SETPROP : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProp(lhs, name, rhs, scope); break; case TokenStream.GETELEM : do_getElem(cx, stack, sDbl, stackTop, scope); --stackTop; break; case TokenStream.SETELEM : do_setElem(cx, stack, sDbl, stackTop, scope); stackTop -= 2; break; case TokenStream.PROPINC : name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrement(lhs, name, scope); break; case TokenStream.PROPDEC : name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postDecrement(lhs, name, scope); break; case TokenStream.ELEMINC : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrementElem(lhs, rhs, scope); break; case TokenStream.ELEMDEC : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postDecrementElem(lhs, rhs, scope); break; case TokenStream.GETTHIS : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getThis((Scriptable)lhs); break; case TokenStream.NEWTEMP : slot = (iCode[++pc] & 0xFF); stack[LOCAL_SHFT + slot] = stack[stackTop]; sDbl[LOCAL_SHFT + slot] = sDbl[stackTop]; break; case TokenStream.USETEMP : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + slot]; sDbl[stackTop] = sDbl[LOCAL_SHFT + slot]; break; case TokenStream.CALLSPECIAL : if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int lineNum = getShort(iCode, pc + 1); name = strings[getShort(iCode, pc + 3)]; count = getShort(iCode, pc + 5); outArgs = getArgsArray(stack, sDbl, stackTop, count); stackTop -= count; rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.callSpecial( cx, lhs, rhs, outArgs, thisObj, scope, name, lineNum); pc += 6; instructionCount = cx.instructionCount; break; case TokenStream.CALL : if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } cx.instructionCount = instructionCount; count = getShort(iCode, pc + 3); outArgs = getArgsArray(stack, sDbl, stackTop, count); stackTop -= count; rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); if (lhs == undefined) { i = getShort(iCode, pc + 1); if (i != -1) lhs = strings[i]; } Scriptable calleeScope = scope; if (theData.itsNeedsActivation) { calleeScope = ScriptableObject. getTopLevelScope(scope); } stack[stackTop] = ScriptRuntime.call(cx, lhs, rhs, outArgs, calleeScope); pc += 4; instructionCount = cx.instructionCount; break; case TokenStream.NEW : if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } count = getShort(iCode, pc + 3); outArgs = getArgsArray(stack, sDbl, stackTop, count); stackTop -= count; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); if (lhs == undefined && getShort(iCode, pc + 1) != -1) { // special code for better error message for call // to undefined lhs = strings[getShort(iCode, pc + 1)]; } stack[stackTop] = ScriptRuntime.newObject(cx, lhs, outArgs, scope); pc += 4; instructionCount = cx.instructionCount; break; case TokenStream.TYPEOF : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); break; case TokenStream.TYPEOFNAME : name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.typeofName(scope, name); pc += 2; break; case TokenStream.STRING : stack[++stackTop] = strings[getShort(iCode, pc + 1)]; pc += 2; break; case SHORTNUMBER_ICODE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, pc + 1); pc += 2; break; case INTNUMBER_ICODE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, pc + 1); pc += 4; break; case TokenStream.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = theData. itsDoubleTable[getShort(iCode, pc + 1)]; pc += 2; break; case TokenStream.NAME : stack[++stackTop] = ScriptRuntime.name (scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.NAMEINC : stack[++stackTop] = ScriptRuntime.postIncrement (scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.NAMEDEC : stack[++stackTop] = ScriptRuntime.postDecrement (scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.SETVAR : slot = (iCode[++pc] & 0xFF); stack[VAR_SHFT + slot] = stack[stackTop]; sDbl[VAR_SHFT + slot] = sDbl[stackTop]; break; case TokenStream.GETVAR : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; break; case TokenStream.VARINC : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = stack_double(stack, sDbl, stackTop) + 1.0; break; case TokenStream.VARDEC : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = stack_double(stack, sDbl, stackTop) - 1.0; break; case TokenStream.ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; break; case TokenStream.ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; break; case TokenStream.NULL : stack[++stackTop] = null; break; case TokenStream.THIS : stack[++stackTop] = thisObj; break; case TokenStream.THISFN : stack[++stackTop] = fnOrScript; break; case TokenStream.FALSE : stack[++stackTop] = Boolean.FALSE; break; case TokenStream.TRUE : stack[++stackTop] = Boolean.TRUE; break; case TokenStream.UNDEFINED : stack[++stackTop] = Undefined.instance; break; case TokenStream.THROW : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; throw new JavaScriptException(result); case TokenStream.JTHROW : result = stack[stackTop]; // No need to check for DBL_MRK: result is Exception --stackTop; if (result instanceof JavaScriptException) throw (JavaScriptException)result; else throw (RuntimeException)result; case TokenStream.ENTERWITH : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); break; case TokenStream.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); break; case TokenStream.NEWSCOPE : stack[++stackTop] = ScriptRuntime.newScope(); break; case TokenStream.ENUMINIT : slot = (iCode[++pc] & 0xFF); lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + slot] = ScriptRuntime.initEnum(lhs, scope); break; case TokenStream.ENUMNEXT : slot = (iCode[++pc] & 0xFF); val = stack[LOCAL_SHFT + slot]; ++stackTop; stack[stackTop] = ScriptRuntime. nextEnum((Enumeration)val); break; case TokenStream.GETPROTO : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProto(lhs, scope); break; case TokenStream.GETPARENT : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getParent(lhs); break; case TokenStream.GETSCOPEPARENT : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getParent(lhs, scope); break; case TokenStream.SETPROTO : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProto(lhs, rhs, scope); break; case TokenStream.SETPARENT : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setParent(lhs, rhs, scope); break; case TokenStream.SCOPE : stack[++stackTop] = scope; break; case TokenStream.CLOSURE : i = getShort(iCode, pc + 1); stack[++stackTop] = new InterpretedFunction( theData.itsNestedFunctions[i], scope, cx); createFunctionObject( (InterpretedFunction)stack[stackTop], scope); pc += 2; break; case TokenStream.OBJECT : i = getShort(iCode, pc + 1); stack[++stackTop] = theData.itsRegExpLiterals[i]; pc += 2; break; case SOURCEFILE_ICODE : cx.interpreterSourceFile = theData.itsSourceFile; break; case LINE_ICODE : case BREAKPOINT_ICODE : i = getShort(iCode, pc + 1); cx.interpreterLine = i; if (frame != null) frame.setLineNumber(i); if ((iCode[pc] & 0xff) == BREAKPOINT_ICODE || cx.inLineStepMode) { cx.getDebuggableEngine(). getDebugger().handleBreakpointHit(cx); } pc += 2; break; default : dumpICode(theData); throw new RuntimeException("Unknown icode : " + (iCode[pc] & 0xff) + " @ pc : " + pc); } pc++; } catch (Throwable ex) { if (instructionThreshold != 0) { if (instructionCount < 0) { // throw during function call instructionCount = cx.instructionCount; } else { // throw during any other operation instructionCount += pc - pcPrevBranch; cx.instructionCount = instructionCount; } } final int SCRIPT_THROW = 0, ECMA = 1, RUNTIME = 2, OTHER = 3; int exType; Object errObj; // Object seen by catch for (;;) { if (ex instanceof JavaScriptException) { errObj = ScriptRuntime. unwrapJavaScriptException((JavaScriptException)ex); exType = SCRIPT_THROW; } else if (ex instanceof EcmaError) { // an offical ECMA error object, errObj = ((EcmaError)ex).getErrorObject(); exType = ECMA; } else if (ex instanceof WrappedException) { Object w = ((WrappedException) ex).unwrap(); if (w instanceof Throwable) { ex = (Throwable) w; continue; } errObj = ex; exType = RUNTIME; } else if (ex instanceof RuntimeException) { errObj = ex; exType = RUNTIME; } else { errObj = ex; // Error instance exType = OTHER; } break; } if (exType != OTHER && cx.debugger != null) { cx.debugger.handleExceptionThrown(cx, errObj); } boolean rethrow = true; if (exType != OTHER && tryStackTop > 0) { --tryStackTop; if (exType == SCRIPT_THROW || exType == ECMA) { // Check for catch only for // JavaScriptException and EcmaError pc = tryStack[tryStackTop * 2]; if (pc != 0) { // Has catch block rethrow = false; } } if (rethrow) { pc = tryStack[tryStackTop * 2 + 1]; if (pc != 0) { // has finally block rethrow = false; errObj = ex; } } } if (rethrow) { if (frame != null) cx.popFrame(); if (exType == SCRIPT_THROW) throw (JavaScriptException)ex; if (exType == ECMA || exType == RUNTIME) throw (RuntimeException)ex; throw (Error)ex; } // We caught an exception, // Notify instruction observer if necessary // and point pcPrevBranch to start of catch/finally block if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { // Note: this can throw Error cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc; // prepare stack and restore this function's security domain. scope = (Scriptable)stack[TRY_SCOPE_SHFT + tryStackTop]; stackTop = 0; stack[0] = errObj; } } if (frame != null) cx.popFrame(); if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } cx.instructionCount = instructionCount; } return result; }
|
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/052726b68e684efc593535d50a73767571084837/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
282,
22780,
15261,
16,
1033,
8526,
833,
16,
4766,
282,
16717,
2083,
2295,
1162,
3651,
16,
4766,
282,
5294,
11599,
751,
326,
751,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
261,
71,
92,
18,
2761,
11599,
4368,
3748,
480,
326,
751,
18,
7462,
3748,
13,
288,
6647,
368,
971,
4373,
3748,
353,
3775,
16,
1089,
2461,
316,
385,
352,
408,
6647,
368,
471,
745,
365,
3613,
394,
2461,
5411,
1033,
5198,
3748,
273,
9494,
18,
2761,
11599,
4368,
3748,
31,
5411,
9494,
18,
2761,
11599,
4368,
3748,
273,
326,
751,
18,
7462,
3748,
31,
5411,
775,
288,
7734,
327,
10634,
12,
71,
92,
16,
2146,
16,
15261,
16,
833,
16,
2295,
1162,
3651,
16,
326,
751,
1769,
5411,
289,
3095,
288,
7734,
9494,
18,
2761,
11599,
4368,
3748,
273,
5198,
3748,
31,
5411,
289,
3639,
289,
3639,
509,
277,
31,
3639,
1033,
8499,
31,
3639,
727,
509,
943,
2624,
273,
326,
751,
18,
1282,
2747,
2624,
31,
3639,
727,
509,
943,
5555,
273,
261,
4293,
1162,
3651,
18,
3175,
1557,
422,
446,
13,
18701,
692,
374,
294,
2295,
1162,
3651,
18,
3175,
1557,
18,
2469,
31,
3639,
727,
509,
943,
1333,
1031,
273,
326,
751,
18,
1282,
2747,
1333,
1031,
31,
3639,
727,
509,
943,
7833,
6148,
273,
326,
751,
18,
1282,
2747,
7833,
6148,
31,
3639,
727,
509,
8350,
67,
2664,
4464,
273,
943,
2624,
31,
3639,
727,
509,
15234,
67,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
282,
22780,
15261,
16,
1033,
8526,
833,
16,
4766,
282,
16717,
2083,
2295,
1162,
3651,
16,
4766,
282,
5294,
11599,
751,
326,
751,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
261,
71,
92,
18,
2761,
11599,
4368,
3748,
480,
326,
751,
18,
7462,
3748,
13,
288,
6647,
368,
971,
4373,
3748,
353,
3775,
16,
1089,
2461,
316,
385,
352,
408,
6647,
368,
471,
745,
365,
3613,
394,
2461,
5411,
1033,
5198,
3748,
273,
9494,
18,
2761,
11599,
4368,
3748,
31,
5411,
9494,
18,
2761,
11599,
4368,
3748,
273,
326,
751,
18,
7462,
3748,
31,
5411,
775,
288,
7734,
327,
10634,
12,
71,
92,
16,
2
] |
public void close(DbDispatcher server, __dbc_close_msg args, __dbc_close_reply reply) { try { dbc.close(); dbc = null;
|
public void close(Dispatcher server, __dbc_close_msg args, __dbc_close_reply reply) { try { dbc.close(); dbc = null;
|
public void close(DbDispatcher server, __dbc_close_msg args, __dbc_close_reply reply) { try { dbc.close(); dbc = null; if (isJoin) for(LocalIterator i = ((DbServer)server).cursor_list.iterator(); i.hasNext(); ) { RpcDbc rdbc = (RpcDbc)i.next(); // Unjoin cursors that were joined to create this if (rdbc != null && rdbc.timer == this) rdbc.timer = rdbc.orig_timer; } reply.status = 0; } catch(DbException e) { e.printStackTrace(DbServer.err); reply.status = e.getErrno(); } finally { server.delCursor(this, false); } }
|
9203 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9203/a13a53421f6b7cf095f9ff79d547541d8ea582e3/RpcDbc.java/clean/db/rpc_server/java/RpcDbc.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
225,
918,
1746,
12,
4331,
6681,
1438,
16,
202,
202,
972,
9137,
67,
4412,
67,
3576,
833,
16,
1001,
9137,
67,
4412,
67,
10629,
4332,
13,
202,
95,
202,
202,
698,
288,
1082,
202,
9137,
18,
4412,
5621,
1082,
202,
9137,
273,
446,
31,
1082,
202,
430,
261,
291,
4572,
13,
9506,
202,
1884,
12,
2042,
3198,
277,
273,
14015,
4331,
2081,
13,
3567,
2934,
9216,
67,
1098,
18,
9838,
5621,
277,
18,
5332,
2134,
5621,
262,
288,
6862,
202,
11647,
4331,
71,
436,
9137,
273,
261,
11647,
4331,
71,
13,
77,
18,
4285,
5621,
6862,
202,
759,
1351,
5701,
25326,
1383,
716,
4591,
12114,
358,
752,
333,
6862,
202,
430,
261,
86,
9137,
480,
446,
597,
436,
9137,
18,
12542,
422,
333,
13,
25083,
202,
86,
9137,
18,
12542,
273,
436,
9137,
18,
4949,
67,
12542,
31,
9506,
202,
97,
1082,
202,
10629,
18,
2327,
273,
374,
31,
202,
202,
97,
1044,
12,
4331,
503,
425,
13,
288,
1082,
202,
73,
18,
1188,
6332,
12,
4331,
2081,
18,
370,
1769,
1082,
202,
10629,
18,
2327,
273,
425,
18,
588,
2524,
2135,
5621,
202,
202,
97,
3095,
288,
1082,
202,
3567,
18,
3771,
6688,
12,
2211,
16,
629,
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,
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,
225,
202,
482,
225,
918,
1746,
12,
4331,
6681,
1438,
16,
202,
202,
972,
9137,
67,
4412,
67,
3576,
833,
16,
1001,
9137,
67,
4412,
67,
10629,
4332,
13,
202,
95,
202,
202,
698,
288,
1082,
202,
9137,
18,
4412,
5621,
1082,
202,
9137,
273,
446,
31,
1082,
202,
430,
261,
291,
4572,
13,
9506,
202,
1884,
12,
2042,
3198,
277,
273,
14015,
4331,
2081,
13,
3567,
2934,
9216,
67,
1098,
18,
9838,
5621,
277,
18,
5332,
2134,
5621,
262,
288,
6862,
202,
11647,
4331,
71,
436,
9137,
273,
261,
11647,
4331,
71,
13,
77,
18,
4285,
5621,
6862,
202,
759,
1351,
5701,
25326,
1383,
716,
4591,
12114,
358,
752,
333,
6862,
202,
430,
261,
86,
9137,
480,
446,
2
] |
private static void parseRequires(Element pRootElement,
|
private void parseRequires(Element pRootElement,
|
private static void parseRequires(Element pRootElement, PluginDescriptor pDescriptor) throws MalformedURLException { NodeList nodelist = pRootElement.getElementsByTagName("requires"); if (nodelist.getLength() > 0) { Element requires = (Element) nodelist.item(0); NodeList imports = requires.getElementsByTagName("import"); for (int i=0; i<imports.getLength(); i++) { Element anImport = (Element) imports.item(i); String plugin = anImport.getAttribute("plugin"); if (plugin != null) { pDescriptor.addDependency(plugin); } } } }
|
46828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46828/329ff64e9d7295aff108f85e9a8103f5e5f8f398/PluginManifestParser.java/buggy/src/java/org/apache/nutch/plugin/PluginManifestParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1109,
21671,
12,
1046,
293,
2375,
1046,
16,
4766,
1377,
6258,
3187,
293,
3187,
13,
3639,
1216,
20710,
288,
2868,
16781,
30068,
273,
293,
2375,
1046,
18,
588,
3471,
10401,
2932,
18942,
8863,
3639,
309,
261,
82,
24221,
18,
588,
1782,
1435,
405,
374,
13,
288,
5411,
3010,
4991,
273,
261,
1046,
13,
30068,
18,
1726,
12,
20,
1769,
5411,
16781,
10095,
273,
4991,
18,
588,
3471,
10401,
2932,
5666,
8863,
5411,
364,
261,
474,
277,
33,
20,
31,
277,
32,
21350,
18,
588,
1782,
5621,
277,
27245,
288,
7734,
3010,
392,
5010,
273,
261,
1046,
13,
10095,
18,
1726,
12,
77,
1769,
7734,
514,
1909,
273,
392,
5010,
18,
588,
1499,
2932,
4094,
8863,
7734,
309,
261,
4094,
480,
446,
13,
288,
5375,
293,
3187,
18,
1289,
7787,
12,
4094,
1769,
7734,
289,
5411,
289,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1109,
21671,
12,
1046,
293,
2375,
1046,
16,
4766,
1377,
6258,
3187,
293,
3187,
13,
3639,
1216,
20710,
288,
2868,
16781,
30068,
273,
293,
2375,
1046,
18,
588,
3471,
10401,
2932,
18942,
8863,
3639,
309,
261,
82,
24221,
18,
588,
1782,
1435,
405,
374,
13,
288,
5411,
3010,
4991,
273,
261,
1046,
13,
30068,
18,
1726,
12,
20,
1769,
5411,
16781,
10095,
273,
4991,
18,
588,
3471,
10401,
2932,
5666,
8863,
5411,
364,
261,
474,
277,
33,
20,
31,
277,
32,
21350,
18,
588,
1782,
5621,
277,
27245,
288,
7734,
3010,
392,
5010,
273,
261,
1046,
13,
10095,
18,
1726,
12,
77,
1769,
7734,
514,
1909,
273,
392,
5010,
18,
588,
1499,
2932,
4094,
8863,
7734,
2
] |
throw new ASN1Exception("ASN.1 string: constructed identifier at [" + tagOffset + "]. Not valid for DER.");
|
throw new ASN1Exception(Messages.getString("security.10A", tagOffset));
|
public void readString(ASN1StringType type) throws IOException { if (tag == type.constrId) { throw new ASN1Exception("ASN.1 string: constructed identifier at [" + tagOffset + "]. Not valid for DER."); } super.readString(type); }
|
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/c7fdc88348ff6da63262b6309c2810876f42c6d8/DerInputStream.java/clean/modules/security/src/main/java/common/org/apache/harmony/security/asn1/DerInputStream.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
18646,
12,
22269,
21,
780,
559,
618,
13,
1216,
1860,
288,
3639,
309,
261,
2692,
422,
618,
18,
591,
701,
548,
13,
288,
5411,
604,
394,
18598,
21,
503,
2932,
22269,
18,
21,
533,
30,
15688,
2756,
622,
8247,
10792,
397,
1047,
2335,
397,
315,
8009,
2288,
923,
364,
21801,
1199,
1769,
3639,
289,
3639,
2240,
18,
896,
780,
12,
723,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
18646,
12,
22269,
21,
780,
559,
618,
13,
1216,
1860,
288,
3639,
309,
261,
2692,
422,
618,
18,
591,
701,
548,
13,
288,
5411,
604,
394,
18598,
21,
503,
2932,
22269,
18,
21,
533,
30,
15688,
2756,
622,
8247,
10792,
397,
1047,
2335,
397,
315,
8009,
2288,
923,
364,
21801,
1199,
1769,
3639,
289,
3639,
2240,
18,
896,
780,
12,
723,
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
] |
ring.addElectronContainer(new Bond(atoms[vertices.size() - 1], atoms[0], 1));
|
ring.addElectronContainer(mol.getBond(atoms[vertices.size() - 1], atoms[0]));
|
private static RingSet toRingSet(Collection cycles) { RingSet ringSet = new RingSet(); Iterator cycleIterator = cycles.iterator(); while (cycleIterator.hasNext()) { Cycle cycle = (Cycle) cycleIterator.next(); Ring ring = new Ring(); List vertices = cycle.vertexList(); Atom[] atoms = new Atom[vertices.size()]; atoms[0] = (Atom) vertices.get(0); for (int i = 1; i < vertices.size(); i++) { atoms[i] = (Atom) vertices.get(i); ring.addElectronContainer(new Bond(atoms[i - 1], atoms[i], 1)); } ring.addElectronContainer(new Bond(atoms[vertices.size() - 1], atoms[0], 1)); ring.setAtoms(atoms); ringSet.add(ring); } return ringSet; }
|
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/377171c5907bab11cc813de19845b0f9ae108f55/SSSRFinder.java/buggy/src/org/openscience/cdk/ringsearch/SSSRFinder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
25463,
694,
358,
10369,
694,
12,
2532,
15139,
13,
288,
9506,
202,
10369,
694,
9221,
694,
273,
394,
25463,
694,
5621,
202,
202,
3198,
8589,
3198,
273,
15139,
18,
9838,
5621,
9506,
202,
17523,
261,
13946,
3198,
18,
5332,
2134,
10756,
288,
1082,
202,
13279,
8589,
273,
261,
13279,
13,
8589,
3198,
18,
4285,
5621,
25083,
202,
10369,
9221,
273,
394,
25463,
5621,
25083,
202,
682,
6928,
273,
8589,
18,
15281,
682,
5621,
25083,
202,
3641,
8526,
9006,
273,
394,
7149,
63,
17476,
18,
1467,
1435,
15533,
1082,
202,
14937,
63,
20,
65,
273,
261,
3641,
13,
6928,
18,
588,
12,
20,
1769,
1082,
202,
1884,
261,
474,
277,
273,
404,
31,
277,
411,
6928,
18,
1467,
5621,
277,
27245,
288,
9506,
202,
14937,
63,
77,
65,
273,
261,
3641,
13,
6928,
18,
588,
12,
77,
1769,
9506,
202,
8022,
18,
1289,
28621,
2170,
12,
2704,
605,
1434,
12,
14937,
63,
77,
300,
404,
6487,
9006,
63,
77,
6487,
404,
10019,
1082,
202,
97,
1082,
202,
8022,
18,
1289,
28621,
2170,
12,
2704,
605,
1434,
12,
14937,
63,
17476,
18,
1467,
1435,
300,
404,
6487,
9006,
63,
20,
6487,
404,
10019,
1082,
202,
8022,
18,
542,
14280,
12,
14937,
1769,
1082,
202,
8022,
694,
18,
1289,
12,
8022,
1769,
202,
202,
97,
9506,
202,
2463,
9221,
694,
31,
202,
282,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
25463,
694,
358,
10369,
694,
12,
2532,
15139,
13,
288,
9506,
202,
10369,
694,
9221,
694,
273,
394,
25463,
694,
5621,
202,
202,
3198,
8589,
3198,
273,
15139,
18,
9838,
5621,
9506,
202,
17523,
261,
13946,
3198,
18,
5332,
2134,
10756,
288,
1082,
202,
13279,
8589,
273,
261,
13279,
13,
8589,
3198,
18,
4285,
5621,
25083,
202,
10369,
9221,
273,
394,
25463,
5621,
25083,
202,
682,
6928,
273,
8589,
18,
15281,
682,
5621,
25083,
202,
3641,
8526,
9006,
273,
394,
7149,
63,
17476,
18,
1467,
1435,
15533,
1082,
202,
14937,
63,
20,
65,
273,
261,
3641,
13,
6928,
18,
588,
12,
20,
1769,
1082,
202,
1884,
261,
474,
277,
273,
404,
31,
277,
411,
6928,
2
] |
public MouseWheelEvent( Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int scrollType, int scrollAmount, int wheelRotation) { super(source, id, when, modifiers, x, y, clickCount, popupTrigger); this.scrollType = scrollType; this.scrollAmount = scrollAmount; this.wheelRotation = wheelRotation; }
|
public MouseWheelEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int scrollType, int scrollAmount, int wheelRotation) { super(source, id, when, modifiers, x, y, clickCount, popupTrigger); this.scrollType = scrollType; this.scrollAmount = scrollAmount; this.wheelRotation = wheelRotation; }
|
public MouseWheelEvent( Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int scrollType, int scrollAmount, int wheelRotation) { super(source, id, when, modifiers, x, y, clickCount, popupTrigger); this.scrollType = scrollType; this.scrollAmount = scrollAmount; this.wheelRotation = wheelRotation; }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/MouseWheelEvent.java/buggy/core/src/classpath/java/java/awt/event/MouseWheelEvent.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
17013,
59,
11648,
1133,
12,
202,
202,
1841,
1084,
16,
202,
202,
474,
612,
16,
202,
202,
5748,
1347,
16,
202,
202,
474,
10429,
16,
202,
202,
474,
619,
16,
202,
202,
474,
677,
16,
202,
202,
474,
4682,
1380,
16,
202,
202,
6494,
10431,
6518,
16,
202,
202,
474,
5532,
559,
16,
202,
202,
474,
5532,
6275,
16,
202,
202,
474,
19100,
14032,
13,
288,
202,
202,
9565,
12,
3168,
16,
612,
16,
1347,
16,
10429,
16,
619,
16,
677,
16,
4682,
1380,
16,
10431,
6518,
1769,
202,
202,
2211,
18,
12033,
559,
273,
5532,
559,
31,
202,
202,
2211,
18,
12033,
6275,
273,
5532,
6275,
31,
202,
202,
2211,
18,
21344,
14032,
273,
19100,
14032,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
17013,
59,
11648,
1133,
12,
202,
202,
1841,
1084,
16,
202,
202,
474,
612,
16,
202,
202,
5748,
1347,
16,
202,
202,
474,
10429,
16,
202,
202,
474,
619,
16,
202,
202,
474,
677,
16,
202,
202,
474,
4682,
1380,
16,
202,
202,
6494,
10431,
6518,
16,
202,
202,
474,
5532,
559,
16,
202,
202,
474,
5532,
6275,
16,
202,
202,
474,
19100,
14032,
13,
288,
202,
202,
9565,
12,
3168,
16,
612,
16,
1347,
16,
10429,
16,
619,
16,
677,
16,
4682,
1380,
16,
10431,
6518,
1769,
202,
202,
2211,
18,
12033,
559,
273,
5532,
559,
31,
202,
202,
2211,
18,
12033,
6275,
273,
5532,
6275,
31,
202,
202,
2211,
18,
21344,
14032,
273,
19100,
2
] |
case 647 : if (DEBUG) { System.out.println("DefaultValueopt ::="); }
|
case 648 : if (DEBUG) { System.out.println("DefaultValueopt ::="); }
|
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 137 : if (DEBUG) { System.out.println("ClassMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyClassMemberDeclaration(); break; case 140 : if (DEBUG) { System.out.println("FieldDeclaration ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFieldDeclaration(); break; case 142 : if (DEBUG) { System.out.println("VariableDeclarators ::= VariableDeclarators COMMA..."); } //$NON-NLS-1$ consumeVariableDeclarators(); break; case 145 : if (DEBUG) { System.out.println("EnterVariable ::="); } //$NON-NLS-1$ consumeEnterVariable(); break; case 146 : if (DEBUG) { System.out.println("ExitVariableWithInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithInitialization(); break; case 147 : if (DEBUG) { System.out.println("ExitVariableWithoutInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithoutInitialization(); break; case 148 : if (DEBUG) { System.out.println("ForceNoDiet ::="); } //$NON-NLS-1$ consumeForceNoDiet(); break; case 149 : if (DEBUG) { System.out.println("RestoreDiet ::="); } //$NON-NLS-1$ consumeRestoreDiet(); break; case 154 : 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 155 : if (DEBUG) { System.out.println("AbstractMethodDeclaration ::= MethodHeader SEMICOLON"); } //$NON-NLS-1$ // set to false to consume a method without body consumeMethodDeclaration(false); break; case 156 : if (DEBUG) { System.out.println("MethodHeader ::= MethodHeaderName FormalParameterListopt"); } //$NON-NLS-1$ consumeMethodHeader(); break; case 157 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt TypeParameters Type..."); } //$NON-NLS-1$ consumeMethodHeaderNameWithTypeParameters(); break; case 158 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt Type Identifier LPAREN"); } //$NON-NLS-1$ consumeMethodHeaderName(); break; case 159 : if (DEBUG) { System.out.println("MethodHeaderRightParen ::= RPAREN"); } //$NON-NLS-1$ consumeMethodHeaderRightParen(); break; case 160 : if (DEBUG) { System.out.println("MethodHeaderExtendedDims ::= Dimsopt"); } //$NON-NLS-1$ consumeMethodHeaderExtendedDims(); break; case 161 : if (DEBUG) { System.out.println("MethodHeaderThrowsClause ::= throws ClassTypeList"); } //$NON-NLS-1$ consumeMethodHeaderThrowsClause(); break; case 162 : if (DEBUG) { System.out.println("ConstructorHeader ::= ConstructorHeaderName..."); } //$NON-NLS-1$ consumeConstructorHeader(); break; case 163 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt TypeParameters..."); } //$NON-NLS-1$ consumeConstructorHeaderNameWithTypeParameters(); break; case 164 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt Identifier LPAREN"); } //$NON-NLS-1$ consumeConstructorHeaderName(); break; case 166 : if (DEBUG) { System.out.println("FormalParameterList ::= FormalParameterList COMMA..."); } //$NON-NLS-1$ consumeFormalParameterList(); break; case 167 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFormalParameter(false); break; case 168 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type ELLIPSIS..."); } //$NON-NLS-1$ consumeFormalParameter(true); break; case 170 : if (DEBUG) { System.out.println("ClassTypeList ::= ClassTypeList COMMA ClassTypeElt"); } //$NON-NLS-1$ consumeClassTypeList(); break; case 171 : if (DEBUG) { System.out.println("ClassTypeElt ::= ClassType"); } //$NON-NLS-1$ consumeClassTypeElt(); break; case 172 : if (DEBUG) { System.out.println("MethodBody ::= NestedMethod LBRACE BlockStatementsopt..."); } //$NON-NLS-1$ consumeMethodBody(); break; case 173 : if (DEBUG) { System.out.println("NestedMethod ::="); } //$NON-NLS-1$ consumeNestedMethod(); break; case 174 : if (DEBUG) { System.out.println("StaticInitializer ::= StaticOnly Block"); } //$NON-NLS-1$ consumeStaticInitializer(); break; case 175 : if (DEBUG) { System.out.println("StaticOnly ::= static"); } //$NON-NLS-1$ consumeStaticOnly(); break; case 176 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader MethodBody"); } //$NON-NLS-1$ consumeConstructorDeclaration() ; break; case 177 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader SEMICOLON"); } //$NON-NLS-1$ consumeInvalidConstructorDeclaration() ; break; case 178 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= this LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0, THIS_CALL); break; case 179 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments this"); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,THIS_CALL); break; case 180 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= super LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0,SUPER_CALL); break; case 181 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,SUPER_CALL); break; case 182 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT super..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, SUPER_CALL); break; case 183 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, SUPER_CALL); break; case 184 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT super LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, SUPER_CALL); break; case 185 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, SUPER_CALL); break; case 186 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT this..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, THIS_CALL); break; case 187 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, THIS_CALL); break; case 188 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT this LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, THIS_CALL); break; case 189 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, THIS_CALL); break; case 190 : if (DEBUG) { System.out.println("InterfaceDeclaration ::= InterfaceHeader InterfaceBody"); } //$NON-NLS-1$ consumeInterfaceDeclaration(); break; case 191 : if (DEBUG) { System.out.println("InterfaceHeader ::= InterfaceHeaderName..."); } //$NON-NLS-1$ consumeInterfaceHeader(); break; case 192 : if (DEBUG) { System.out.println("InterfaceHeaderName ::= InterfaceHeaderName1..."); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 194 : if (DEBUG) { System.out.println("InterfaceHeaderName1 ::= Modifiersopt interface..."); } //$NON-NLS-1$ consumeInterfaceHeaderName1(); break; case 196 : if (DEBUG) { System.out.println("InterfaceHeaderExtends ::= extends InterfaceTypeList"); } //$NON-NLS-1$ consumeInterfaceHeaderExtends(); break; case 199 : if (DEBUG) { System.out.println("InterfaceMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarations(); break; case 200 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclaration(); break; case 203 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= InvalidMethodDeclaration"); } //$NON-NLS-1$ ignoreMethodBody(); break; case 204 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ ignoreInvalidConstructorDeclaration(true); break; case 205 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ ignoreInvalidConstructorDeclaration(false); break; case 212 : if (DEBUG) { System.out.println("PushLeftBrace ::="); } //$NON-NLS-1$ consumePushLeftBrace(); break; case 213 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace ,opt RBRACE"); } //$NON-NLS-1$ consumeEmptyArrayInitializer(); break; case 214 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 215 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 217 : if (DEBUG) { System.out.println("VariableInitializers ::= VariableInitializers COMMA..."); } //$NON-NLS-1$ consumeVariableInitializers(); break; case 218 : if (DEBUG) { System.out.println("Block ::= OpenBlock LBRACE BlockStatementsopt RBRACE"); } //$NON-NLS-1$ consumeBlock(); break; case 219 : if (DEBUG) { System.out.println("OpenBlock ::="); } //$NON-NLS-1$ consumeOpenBlock() ; break; case 221 : if (DEBUG) { System.out.println("BlockStatements ::= BlockStatements BlockStatement"); } //$NON-NLS-1$ consumeBlockStatements() ; break; case 225 : if (DEBUG) { System.out.println("BlockStatement ::= InvalidInterfaceDeclaration"); } //$NON-NLS-1$ ignoreInterfaceDeclaration(); break; case 226 : if (DEBUG) { System.out.println("LocalVariableDeclarationStatement ::=..."); } //$NON-NLS-1$ consumeLocalVariableDeclarationStatement(); break; case 227 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Type PushModifiers..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 228 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Modifiers Type..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 229 : if (DEBUG) { System.out.println("PushModifiers ::="); } //$NON-NLS-1$ consumePushModifiers(); break; case 230 : if (DEBUG) { System.out.println("PushRealModifiers ::="); } //$NON-NLS-1$ consumePushRealModifiers(); break; case 256 : if (DEBUG) { System.out.println("EmptyStatement ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyStatement(); break; case 257 : if (DEBUG) { System.out.println("LabeledStatement ::= Identifier COLON Statement"); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 258 : if (DEBUG) { System.out.println("LabeledStatementNoShortIf ::= Identifier COLON..."); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 259 : if (DEBUG) { System.out.println("ExpressionStatement ::= StatementExpression SEMICOLON"); } //$NON-NLS-1$ consumeExpressionStatement(); break; case 268 : if (DEBUG) { System.out.println("IfThenStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfNoElse(); break; case 269 : if (DEBUG) { System.out.println("IfThenElseStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 270 : if (DEBUG) { System.out.println("IfThenElseStatementNoShortIf ::= if LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 271 : if (DEBUG) { System.out.println("SwitchStatement ::= switch LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementSwitch() ; break; case 272 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE RBRACE"); } //$NON-NLS-1$ consumeEmptySwitchBlock() ; break; case 275 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlock() ; break; case 277 : if (DEBUG) { System.out.println("SwitchBlockStatements ::= SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlockStatements() ; break; case 278 : if (DEBUG) { System.out.println("SwitchBlockStatement ::= SwitchLabels BlockStatements"); } //$NON-NLS-1$ consumeSwitchBlockStatement() ; break; case 280 : if (DEBUG) { System.out.println("SwitchLabels ::= SwitchLabels SwitchLabel"); } //$NON-NLS-1$ consumeSwitchLabels() ; break; case 281 : if (DEBUG) { System.out.println("SwitchLabel ::= case ConstantExpression COLON"); } //$NON-NLS-1$ consumeCaseLabel(); break; case 282 : if (DEBUG) { System.out.println("SwitchLabel ::= default COLON"); } //$NON-NLS-1$ consumeDefaultLabel(); break; case 283 : if (DEBUG) { System.out.println("WhileStatement ::= while LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 284 : if (DEBUG) { System.out.println("WhileStatementNoShortIf ::= while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 285 : if (DEBUG) { System.out.println("DoStatement ::= do Statement while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementDo() ; break; case 286 : if (DEBUG) { System.out.println("ForStatement ::= for LPAREN ForInitopt SEMICOLON..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 287 : if (DEBUG) { System.out.println("ForStatementNoShortIf ::= for LPAREN ForInitopt..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 288 : if (DEBUG) { System.out.println("ForInit ::= StatementExpressionList"); } //$NON-NLS-1$ consumeForInit() ; break; case 292 : if (DEBUG) { System.out.println("StatementExpressionList ::= StatementExpressionList..."); } //$NON-NLS-1$ consumeStatementExpressionList() ; break; case 293 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression SEMICOLON"); } //$NON-NLS-1$ consumeSimpleAssertStatement() ; break; case 294 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression COLON Expression"); } //$NON-NLS-1$ consumeAssertStatement() ; break; case 295 : if (DEBUG) { System.out.println("BreakStatement ::= break SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreak() ; break; case 296 : if (DEBUG) { System.out.println("BreakStatement ::= break Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreakWithLabel() ; break; case 297 : if (DEBUG) { System.out.println("ContinueStatement ::= continue SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinue() ; break; case 298 : if (DEBUG) { System.out.println("ContinueStatement ::= continue Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinueWithLabel() ; break; case 299 : if (DEBUG) { System.out.println("ReturnStatement ::= return Expressionopt SEMICOLON"); } //$NON-NLS-1$ consumeStatementReturn() ; break; case 300 : if (DEBUG) { System.out.println("ThrowStatement ::= throw Expression SEMICOLON"); } //$NON-NLS-1$ consumeStatementThrow(); break; case 301 : if (DEBUG) { System.out.println("SynchronizedStatement ::= OnlySynchronized LPAREN..."); } //$NON-NLS-1$ consumeStatementSynchronized(); break; case 302 : if (DEBUG) { System.out.println("OnlySynchronized ::= synchronized"); } //$NON-NLS-1$ consumeOnlySynchronized(); break; case 303 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catches"); } //$NON-NLS-1$ consumeStatementTry(false); break; case 304 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catchesopt Finally"); } //$NON-NLS-1$ consumeStatementTry(true); break; case 306 : if (DEBUG) { System.out.println("ExitTryBlock ::="); } //$NON-NLS-1$ consumeExitTryBlock(); break; case 308 : if (DEBUG) { System.out.println("Catches ::= Catches CatchClause"); } //$NON-NLS-1$ consumeCatches(); break; case 309 : if (DEBUG) { System.out.println("CatchClause ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeStatementCatch() ; break; case 311 : if (DEBUG) { System.out.println("PushLPAREN ::= LPAREN"); } //$NON-NLS-1$ consumeLeftParen(); break; case 312 : if (DEBUG) { System.out.println("PushRPAREN ::= RPAREN"); } //$NON-NLS-1$ consumeRightParen(); break; case 317 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayThis(); break; case 318 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Expression_NotName..."); } //$NON-NLS-1$ consumePrimaryNoNewArray(); break; case 319 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Name PushRPAREN"); } //$NON-NLS-1$ consumePrimaryNoNewArrayWithName(); break; case 322 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameThis(); break; case 323 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT super"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameSuper(); break; case 324 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayName(); break; case 325 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayArrayType(); break; case 326 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveArrayType(); break; case 327 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveType(); break; case 330 : if (DEBUG) { System.out.println("AllocationHeader ::= new ClassType LPAREN..."); } //$NON-NLS-1$ consumeAllocationHeader(); break; case 331 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionWithTypeArguments(); break; case 332 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new ClassType LPAREN"); } //$NON-NLS-1$ consumeClassInstanceCreationExpression(); break; case 333 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 334 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 335 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 336 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 337 : if (DEBUG) { System.out.println("ClassInstanceCreationExpressionName ::= Name DOT"); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionName() ; break; case 338 : if (DEBUG) { System.out.println("ClassBodyopt ::="); } //$NON-NLS-1$ consumeClassBodyopt(); break; case 340 : if (DEBUG) { System.out.println("ClassBodySimpleNameopt ::="); } //$NON-NLS-1$ consumeClassBodyopt(); break; case 342 : if (DEBUG) { System.out.println("EnterAnonymousClassBodySimpleName ::="); } //$NON-NLS-1$ consumeEnterAnonymousClassBodySimpleName(); break; case 343 : if (DEBUG) { System.out.println("EnterAnonymousClassBody ::="); } //$NON-NLS-1$ consumeEnterAnonymousClassBody(); break; case 345 : if (DEBUG) { System.out.println("ArgumentList ::= ArgumentList COMMA Expression"); } //$NON-NLS-1$ consumeArgumentList(); break; case 346 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new PrimitiveType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 347 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new ClassOrInterfaceType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 348 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 349 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new PrimitiveType"); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 350 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 351 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 353 : if (DEBUG) { System.out.println("DimWithOrWithOutExprs ::= DimWithOrWithOutExprs..."); } //$NON-NLS-1$ consumeDimWithOrWithOutExprs(); break; case 355 : if (DEBUG) { System.out.println("DimWithOrWithOutExpr ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeDimWithOrWithOutExpr(); break; case 356 : if (DEBUG) { System.out.println("Dims ::= DimsLoop"); } //$NON-NLS-1$ consumeDims(); break; case 359 : if (DEBUG) { System.out.println("OneDimLoop ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeOneDimLoop(); break; case 360 : if (DEBUG) { System.out.println("FieldAccess ::= Primary DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(false); break; case 361 : if (DEBUG) { System.out.println("FieldAccess ::= super DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(true); break; case 362 : if (DEBUG) { System.out.println("MethodInvocation ::= Name LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeMethodInvocationName(); break; case 363 : if (DEBUG) { System.out.println("MethodInvocation ::= Name DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationNameWithTypeArguments(); break; case 364 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationPrimaryWithTypeArguments(); break; case 365 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationPrimary(); break; case 366 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationSuperWithTypeArguments(); break; case 367 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationSuper(); break; case 368 : if (DEBUG) { System.out.println("ArrayAccess ::= Name LBRACKET Expression RBRACKET"); } //$NON-NLS-1$ consumeArrayAccess(true); break; case 369 : if (DEBUG) { System.out.println("ArrayAccess ::= PrimaryNoNewArray LBRACKET Expression..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 370 : if (DEBUG) { System.out.println("ArrayAccess ::= ArrayCreationWithArrayInitializer..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 372 : if (DEBUG) { System.out.println("PostfixExpression ::= Name"); } //$NON-NLS-1$ consumePostfixExpression(); break; case 375 : if (DEBUG) { System.out.println("PostIncrementExpression ::= PostfixExpression PLUS_PLUS"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,true); break; case 376 : if (DEBUG) { System.out.println("PostDecrementExpression ::= PostfixExpression..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,true); break; case 377 : if (DEBUG) { System.out.println("PushPosition ::="); } //$NON-NLS-1$ consumePushPosition(); break; case 380 : if (DEBUG) { System.out.println("UnaryExpression ::= PLUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 381 : if (DEBUG) { System.out.println("UnaryExpression ::= MINUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 383 : if (DEBUG) { System.out.println("PreIncrementExpression ::= PLUS_PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,false); break; case 384 : if (DEBUG) { System.out.println("PreDecrementExpression ::= MINUS_MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,false); break; case 386 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= TWIDDLE PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 387 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= NOT PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 389 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN PrimitiveType Dimsopt..."); } //$NON-NLS-1$ consumeCastExpressionWithPrimitiveType(); break; case 390 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithGenericsArray(); break; case 391 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithQualifiedGenericsArray(); break; case 392 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionLL1(); break; case 393 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name Dims PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionWithNameArray(); break; case 394 : if (DEBUG) { System.out.println("OnlyTypeArgumentsForCastExpression ::= OnlyTypeArguments"); } //$NON-NLS-1$ consumeOnlyTypeArgumentsForCastExpression(); break; case 395 : if (DEBUG) { System.out.println("InsideCastExpression ::="); } //$NON-NLS-1$ consumeInsideCastExpression(); break; case 396 : if (DEBUG) { System.out.println("InsideCastExpressionLL1 ::="); } //$NON-NLS-1$ consumeInsideCastExpressionLL1(); break; case 397 : if (DEBUG) { System.out.println("InsideCastExpressionWithQualifiedGenerics ::="); } //$NON-NLS-1$ consumeInsideCastExpressionWithQualifiedGenerics(); break; case 399 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 400 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 401 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 403 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression PLUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 404 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression MINUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 406 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 407 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 408 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 410 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 411 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression GREATER..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 412 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS_EQUAL"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 413 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 415 : if (DEBUG) { System.out.println("InstanceofExpression ::= InstanceofExpression instanceof"); } //$NON-NLS-1$ consumeInstanceOfExpression(OperatorIds.INSTANCEOF); break; case 417 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 418 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 420 : if (DEBUG) { System.out.println("AndExpression ::= AndExpression AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 422 : if (DEBUG) { System.out.println("ExclusiveOrExpression ::= ExclusiveOrExpression XOR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 424 : if (DEBUG) { System.out.println("InclusiveOrExpression ::= InclusiveOrExpression OR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 426 : if (DEBUG) { System.out.println("ConditionalAndExpression ::= ConditionalAndExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 428 : if (DEBUG) { System.out.println("ConditionalOrExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 430 : if (DEBUG) { System.out.println("ConditionalExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 433 : if (DEBUG) { System.out.println("Assignment ::= PostfixExpression AssignmentOperator..."); } //$NON-NLS-1$ consumeAssignment(); break; case 435 : if (DEBUG) { System.out.println("Assignment ::= InvalidArrayInitializerAssignement"); } //$NON-NLS-1$ ignoreExpressionAssignment(); break; case 436 : if (DEBUG) { System.out.println("AssignmentOperator ::= EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(EQUAL); break; case 437 : if (DEBUG) { System.out.println("AssignmentOperator ::= MULTIPLY_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MULTIPLY); break; case 438 : if (DEBUG) { System.out.println("AssignmentOperator ::= DIVIDE_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(DIVIDE); break; case 439 : if (DEBUG) { System.out.println("AssignmentOperator ::= REMAINDER_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(REMAINDER); break; case 440 : if (DEBUG) { System.out.println("AssignmentOperator ::= PLUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(PLUS); break; case 441 : if (DEBUG) { System.out.println("AssignmentOperator ::= MINUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MINUS); break; case 442 : if (DEBUG) { System.out.println("AssignmentOperator ::= LEFT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(LEFT_SHIFT); break; case 443 : if (DEBUG) { System.out.println("AssignmentOperator ::= RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(RIGHT_SHIFT); break; case 444 : if (DEBUG) { System.out.println("AssignmentOperator ::= UNSIGNED_RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(UNSIGNED_RIGHT_SHIFT); break; case 445 : if (DEBUG) { System.out.println("AssignmentOperator ::= AND_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(AND); break; case 446 : if (DEBUG) { System.out.println("AssignmentOperator ::= XOR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(XOR); break; case 447 : if (DEBUG) { System.out.println("AssignmentOperator ::= OR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(OR); break; case 451 : if (DEBUG) { System.out.println("Expressionopt ::="); } //$NON-NLS-1$ consumeEmptyExpression(); break; case 456 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyClassBodyDeclarationsopt(); break; case 457 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeClassBodyDeclarationsopt(); break; case 458 : if (DEBUG) { System.out.println("Modifiersopt ::="); } //$NON-NLS-1$ consumeDefaultModifiers(); break; case 459 : if (DEBUG) { System.out.println("Modifiersopt ::= Modifiers"); } //$NON-NLS-1$ consumeModifiers(); break; case 460 : if (DEBUG) { System.out.println("BlockStatementsopt ::="); } //$NON-NLS-1$ consumeEmptyBlockStatementsopt(); break; case 462 : if (DEBUG) { System.out.println("Dimsopt ::="); } //$NON-NLS-1$ consumeEmptyDimsopt(); break; case 464 : if (DEBUG) { System.out.println("ArgumentListopt ::="); } //$NON-NLS-1$ consumeEmptyArgumentListopt(); break; case 468 : if (DEBUG) { System.out.println("FormalParameterListopt ::="); } //$NON-NLS-1$ consumeFormalParameterListopt(); break; case 472 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclarationsopt(); break; case 473 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarationsopt(); break; case 474 : if (DEBUG) { System.out.println("NestedType ::="); } //$NON-NLS-1$ consumeNestedType(); break; case 475 : if (DEBUG) { System.out.println("ForInitopt ::="); } //$NON-NLS-1$ consumeEmptyForInitopt(); break; case 477 : if (DEBUG) { System.out.println("ForUpdateopt ::="); } //$NON-NLS-1$ consumeEmptyForUpdateopt(); break; case 481 : if (DEBUG) { System.out.println("Catchesopt ::="); } //$NON-NLS-1$ consumeEmptyCatchesopt(); break; case 483 : if (DEBUG) { System.out.println("EnumDeclaration ::= EnumHeader ClassHeaderImplementsopt"); } //$NON-NLS-1$ consumeEnumDeclaration(); break; case 484 : if (DEBUG) { System.out.println("EnumHeader ::= Modifiersopt enum Identifier"); } //$NON-NLS-1$ consumeEnumHeader(); break; case 485 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumBodyDeclarationsopt RBRACE"); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 486 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE COMMA EnumBodyDeclarationsopt..."); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 487 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants COMMA..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 488 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 490 : if (DEBUG) { System.out.println("EnumConstants ::= EnumConstants COMMA EnumConstant"); } //$NON-NLS-1$ consumeEnumConstants(); break; case 491 : if (DEBUG) { System.out.println("EnumConstantHeader ::= Identifier Argumentsopt"); } //$NON-NLS-1$ consumeEnumConstantHeader(); break; case 492 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader ClassBody"); } //$NON-NLS-1$ consumeEnumConstantWithClassBody(); break; case 493 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader"); } //$NON-NLS-1$ consumeEnumConstantNoClassBody(); break; case 494 : if (DEBUG) { System.out.println("Arguments ::= LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeArguments(); break; case 495 : if (DEBUG) { System.out.println("Argumentsopt ::="); } //$NON-NLS-1$ consumeEmptyArguments(); break; case 497 : if (DEBUG) { System.out.println("EnumDeclarations ::= SEMICOLON ClassBodyDeclarationsopt"); } //$NON-NLS-1$ consumeEnumDeclarations(); break; case 498 : if (DEBUG) { System.out.println("EnumBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyEnumDeclarations(); break; case 500 : if (DEBUG) { System.out.println("EnhancedForStatement ::= EnhancedForStatementHeader..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 501 : if (DEBUG) { System.out.println("EnhancedForStatementNoShortIf ::=..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 502 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::= for LPAREN Type..."); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(false); break; case 503 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::= for LPAREN Modifiers Type"); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(true); break; case 504 : if (DEBUG) { System.out.println("SingleStaticImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 505 : if (DEBUG) { System.out.println("SingleStaticImportDeclarationName ::= import static Name"); } //$NON-NLS-1$ consumeSingleStaticImportDeclarationName(); break; case 506 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 507 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclarationName ::= import static..."); } //$NON-NLS-1$ consumeStaticImportOnDemandDeclarationName(); break; case 508 : if (DEBUG) { System.out.println("TypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeTypeArguments(); break; case 509 : if (DEBUG) { System.out.println("OnlyTypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeOnlyTypeArguments(); break; case 511 : if (DEBUG) { System.out.println("TypeArgumentList1 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList1(); break; case 513 : if (DEBUG) { System.out.println("TypeArgumentList ::= TypeArgumentList COMMA TypeArgument"); } //$NON-NLS-1$ consumeTypeArgumentList(); break; case 514 : if (DEBUG) { System.out.println("TypeArgument ::= ReferenceType"); } //$NON-NLS-1$ consumeTypeArgument(); break; case 518 : if (DEBUG) { System.out.println("ReferenceType1 ::= ReferenceType GREATER"); } //$NON-NLS-1$ consumeReferenceType1(); break; case 519 : if (DEBUG) { System.out.println("ReferenceType1 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType1(); break; case 521 : if (DEBUG) { System.out.println("TypeArgumentList2 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList2(); break; case 524 : if (DEBUG) { System.out.println("ReferenceType2 ::= ReferenceType RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType2(); break; case 525 : if (DEBUG) { System.out.println("ReferenceType2 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType2(); break; case 527 : if (DEBUG) { System.out.println("TypeArgumentList3 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList3(); break; case 530 : if (DEBUG) { System.out.println("ReferenceType3 ::= ReferenceType UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType3(); break; case 531 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION"); } //$NON-NLS-1$ consumeWildcard(); break; case 532 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION WildcardBounds"); } //$NON-NLS-1$ consumeWildcardWithBounds(); break; case 533 : if (DEBUG) { System.out.println("WildcardBounds ::= extends ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsExtends(); break; case 534 : if (DEBUG) { System.out.println("WildcardBounds ::= super ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsSuper(); break; case 535 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION GREATER"); } //$NON-NLS-1$ consumeWildcard1(); break; case 536 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION WildcardBounds1"); } //$NON-NLS-1$ consumeWildcard1WithBounds(); break; case 537 : if (DEBUG) { System.out.println("WildcardBounds1 ::= extends ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Extends(); break; case 538 : if (DEBUG) { System.out.println("WildcardBounds1 ::= super ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Super(); break; case 539 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard2(); break; case 540 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION WildcardBounds2"); } //$NON-NLS-1$ consumeWildcard2WithBounds(); break; case 541 : if (DEBUG) { System.out.println("WildcardBounds2 ::= extends ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Extends(); break; case 542 : if (DEBUG) { System.out.println("WildcardBounds2 ::= super ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Super(); break; case 543 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard3(); break; case 544 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION WildcardBounds3"); } //$NON-NLS-1$ consumeWildcard3WithBounds(); break; case 545 : if (DEBUG) { System.out.println("WildcardBounds3 ::= extends ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Extends(); break; case 546 : if (DEBUG) { System.out.println("WildcardBounds3 ::= super ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Super(); break; case 547 : if (DEBUG) { System.out.println("TypeParameterHeader ::= Identifier"); } //$NON-NLS-1$ consumeTypeParameterHeader(); break; case 548 : if (DEBUG) { System.out.println("TypeParameters ::= LESS TypeParameterList1"); } //$NON-NLS-1$ consumeTypeParameters(); break; case 550 : if (DEBUG) { System.out.println("TypeParameterList ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList(); break; case 552 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtends(); break; case 553 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtendsAndBounds(); break; case 555 : if (DEBUG) { System.out.println("AdditionalBoundList ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList(); break; case 556 : if (DEBUG) { System.out.println("AdditionalBound ::= AND ReferenceType"); } //$NON-NLS-1$ consumeAdditionalBound(); break; case 558 : if (DEBUG) { System.out.println("TypeParameterList1 ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList1(); break; case 559 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader GREATER"); } //$NON-NLS-1$ consumeTypeParameter1(); break; case 560 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtends(); break; case 561 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtendsAndBounds(); break; case 563 : if (DEBUG) { System.out.println("AdditionalBoundList1 ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList1(); break; case 564 : if (DEBUG) { System.out.println("AdditionalBound1 ::= AND ReferenceType1"); } //$NON-NLS-1$ consumeAdditionalBound1(); break; case 570 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 571 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 574 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= TWIDDLE..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 575 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= NOT PushPosition"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 578 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 579 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name MULTIPLY..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MULTIPLY); break; case 580 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 581 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name DIVIDE..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.DIVIDE); break; case 582 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 583 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name REMAINDER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.REMAINDER); break; case 585 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 586 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name PLUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.PLUS); break; case 587 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 588 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name MINUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MINUS); break; case 590 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 591 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LEFT_SHIFT); break; case 592 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 593 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.RIGHT_SHIFT); break; case 594 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 595 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name UNSIGNED_RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 597 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 598 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS); break; case 599 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 600 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER); break; case 601 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 602 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS_EQUAL); break; case 603 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 604 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER_EQUAL); break; case 606 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::= Name instanceof..."); } //$NON-NLS-1$ consumeInstanceOfExpressionWithName(OperatorIds.INSTANCEOF); break; case 607 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::=..."); } //$NON-NLS-1$ consumeInstanceOfExpression(OperatorIds.INSTANCEOF); break; case 609 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 610 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.EQUAL_EQUAL); break; case 611 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 612 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.NOT_EQUAL); break; case 614 : if (DEBUG) { System.out.println("AndExpression_NotName ::= AndExpression_NotName AND..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 615 : if (DEBUG) { System.out.println("AndExpression_NotName ::= Name AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND); break; case 617 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 618 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::= Name XOR AndExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.XOR); break; case 620 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 621 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::= Name OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR); break; case 623 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 624 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::= Name AND_AND..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND_AND); break; case 626 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 627 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::= Name OR_OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR_OR); break; case 629 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 630 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::= Name QUESTION..."); } //$NON-NLS-1$ consumeConditionalExpressionWithName(OperatorIds.QUESTIONCOLON) ; break; case 634 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::= Modifiers AT..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeader() ; break; case 635 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::= AT PushModifiers..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeader() ; break; case 636 : if (DEBUG) { System.out.println("AnnotationTypeDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclaration() ; break; case 638 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyAnnotationTypeMemberDeclarationsopt() ; break; case 641 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarations() ; break; case 642 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationHeader ::= Modifiersopt"); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarationHeader() ; break; case 643 : if (DEBUG) { System.out.println("AnnotationTypeMemberHeaderExtendedDims ::= Dimsopt"); } //$NON-NLS-1$ consumeAnnotationTypeMemberHeaderExtendedDims() ; break; case 644 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclaration() ; break; case 647 : if (DEBUG) { System.out.println("DefaultValueopt ::="); } //$NON-NLS-1$ consumeEmptyDefaultValue() ; break; case 653 : if (DEBUG) { System.out.println("NormalAnnotation ::= AT Name LPAREN MemberValuePairsopt"); } //$NON-NLS-1$ consumeNormalAnnotation() ; break; case 654 : if (DEBUG) { System.out.println("MemberValuePairsopt ::="); } //$NON-NLS-1$ consumeEmptyMemberValuePairsopt() ; break; case 657 : if (DEBUG) { System.out.println("MemberValuePairs ::= MemberValuePairs COMMA..."); } //$NON-NLS-1$ consumeMemberValuePairs() ; break; case 658 : if (DEBUG) { System.out.println("MemberValuePair ::= SimpleName EQUAL MemberValue"); } //$NON-NLS-1$ consumeMemberValuePair() ; break; case 660 : if (DEBUG) { System.out.println("MemberValue ::= Name"); } //$NON-NLS-1$ consumeMemberValueAsName() ; break; case 663 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; 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$ consumeEmptyMemberValueArrayInitializer() ; break; case 666 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 668 : if (DEBUG) { System.out.println("MemberValues ::= MemberValues COMMA MemberValue"); } //$NON-NLS-1$ consumeMemberValues() ; break; case 669 : if (DEBUG) { System.out.println("MarkerAnnotation ::= AT Name"); } //$NON-NLS-1$ consumeMarkerAnnotation() ; break; case 670 : 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/7ff0d09aa487a0631f946435eaa975868c23d1f5/Parser.java/clean/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
] |
IMylarElement element = MylarPlugin.getContextManager().getElement(structureBridge.getHandleIdentifier(file));
|
IMylarElement element = ContextCorePlugin.getContextManager().getElement(structureBridge.getHandleIdentifier(file));
|
public void testPatternNotAddedMatching() throws CoreException { Set<String> previousExcludions = MylarIdePlugin.getDefault().getExcludedResourcePatterns(); Set<String> exclude = new HashSet<String>(); exclude.add(".*"); MylarIdePlugin.getDefault().setExcludedResourcePatterns(exclude); String pattern = ".*"; String segment = "boring"; String s = pattern.replaceAll("\\.", "\\\\.").replaceAll("\\*", ".*"); assertFalse(segment.matches(s)); assertTrue(".boring".matches(s)); IFile file = project.getProject().getFile(".boring"); file.create(null, true, null); assertTrue(file.exists()); IMylarElement element = MylarPlugin.getContextManager().getElement(structureBridge.getHandleIdentifier(file)); assertFalse(element.getInterest().isInteresting()); file = project.getProject().getFile("boring"); file.create(null, true, null); assertTrue(file.exists()); element = MylarPlugin.getContextManager().getElement(structureBridge.getHandleIdentifier(file)); assertTrue(element.getInterest().isInteresting()); MylarIdePlugin.getDefault().setExcludedResourcePatterns(previousExcludions); }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/b23efbfef800ff6f85224f036d6a11e9fab7acba/ResourceContextTest.java/buggy/org.eclipse.mylyn.ide.tests/src/org/eclipse/mylyn/ide/tests/ResourceContextTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
3234,
1248,
8602,
9517,
1435,
1216,
30015,
288,
202,
202,
694,
32,
780,
34,
2416,
424,
830,
1100,
1115,
273,
8005,
7901,
45,
323,
3773,
18,
588,
1868,
7675,
588,
16461,
1420,
11268,
5621,
202,
202,
694,
32,
780,
34,
4433,
273,
394,
6847,
32,
780,
34,
5621,
202,
202,
10157,
18,
1289,
2932,
4509,
8863,
202,
202,
12062,
7901,
45,
323,
3773,
18,
588,
1868,
7675,
542,
16461,
1420,
11268,
12,
10157,
1769,
9506,
202,
780,
1936,
273,
3552,
7388,
31,
202,
202,
780,
3267,
273,
315,
70,
6053,
14432,
9506,
202,
780,
272,
273,
1936,
18,
2079,
1595,
2932,
1695,
1199,
16,
1548,
19662,
1199,
2934,
2079,
1595,
2932,
1695,
14,
3113,
3552,
7388,
1769,
202,
202,
11231,
8381,
12,
9273,
18,
8436,
12,
87,
10019,
202,
202,
11231,
5510,
2932,
18,
70,
6053,
9654,
8436,
12,
87,
10019,
9506,
202,
45,
812,
585,
273,
1984,
18,
588,
4109,
7675,
29925,
2932,
18,
70,
6053,
8863,
202,
202,
768,
18,
2640,
12,
2011,
16,
638,
16,
446,
1769,
202,
202,
11231,
5510,
12,
768,
18,
1808,
10663,
202,
202,
3445,
93,
7901,
1046,
930,
273,
8005,
7901,
3773,
18,
29120,
1318,
7675,
21336,
12,
7627,
13691,
18,
588,
3259,
3004,
12,
768,
10019,
202,
202,
11231,
8381,
12,
2956,
18,
588,
29281,
7675,
291,
2465,
10100,
10663,
9506,
202,
768,
273,
1984,
18,
588,
4109,
7675,
29925,
2932,
70,
6053,
8863,
202,
202,
768,
18,
2640,
12,
2011,
16,
638,
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,
3234,
1248,
8602,
9517,
1435,
1216,
30015,
288,
202,
202,
694,
32,
780,
34,
2416,
424,
830,
1100,
1115,
273,
8005,
7901,
45,
323,
3773,
18,
588,
1868,
7675,
588,
16461,
1420,
11268,
5621,
202,
202,
694,
32,
780,
34,
4433,
273,
394,
6847,
32,
780,
34,
5621,
202,
202,
10157,
18,
1289,
2932,
4509,
8863,
202,
202,
12062,
7901,
45,
323,
3773,
18,
588,
1868,
7675,
542,
16461,
1420,
11268,
12,
10157,
1769,
9506,
202,
780,
1936,
273,
3552,
7388,
31,
202,
202,
780,
3267,
273,
315,
70,
6053,
14432,
9506,
202,
780,
272,
273,
1936,
18,
2079,
1595,
2932,
1695,
1199,
16,
1548,
19662,
1199,
2934,
2079,
1595,
2932,
1695,
14,
3113,
2
] |
rs.setColName(2, "TABLE_SCHEM");
|
public java.sql.ResultSet getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern) throws SQLException { String query = "exec sp_table_privileges ?, ?, ?"; if (catalog != null) { if (tdsVersion >= Driver.TDS70) { query = "exec [" + catalog + "]..sp_table_privileges ?, ?, ?"; } else { query = "exec " + catalog + "..sp_table_privileges ?, ?, ?"; } } CallableStatement s = connection.prepareCall(query); s.setString(1, tableNamePattern); s.setString(2, schemaPattern); s.setString(3, catalog); JtdsResultSet rs = (JtdsResultSet)s.executeQuery(); rs.setColName(1, "TABLE_CAT"); rs.setColLabel(1, "TABLE_CAT"); rs.setColName(2, "TABLE_SCHEM"); rs.setColLabel(2, "TABLE_SCHEM"); return rs; }
|
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/b9018ded623e94f46ccd633e0c0f32d7b3cc45a9/JtdsDatabaseMetaData.java/buggy/src/main/net/sourceforge/jtds/jdbc/JtdsDatabaseMetaData.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2252,
18,
4669,
18,
13198,
5638,
27692,
12,
780,
6222,
16,
4766,
1171,
514,
1963,
3234,
16,
4766,
1171,
514,
4775,
3234,
13,
565,
1216,
6483,
288,
3639,
514,
843,
273,
315,
4177,
1694,
67,
2121,
67,
28459,
2852,
20033,
20033,
692,
14432,
3639,
309,
261,
7199,
480,
446,
13,
288,
5411,
309,
261,
88,
2377,
1444,
1545,
9396,
18,
56,
3948,
7301,
13,
288,
7734,
843,
273,
315,
4177,
8247,
397,
6222,
397,
9850,
838,
1752,
67,
2121,
67,
28459,
2852,
20033,
20033,
692,
14432,
5411,
289,
469,
288,
7734,
843,
273,
315,
4177,
315,
397,
6222,
397,
315,
838,
1752,
67,
2121,
67,
28459,
2852,
20033,
20033,
692,
14432,
5411,
289,
3639,
289,
3639,
10464,
3406,
272,
273,
1459,
18,
9366,
1477,
12,
2271,
1769,
3639,
272,
18,
542,
780,
12,
21,
16,
4775,
3234,
1769,
3639,
272,
18,
542,
780,
12,
22,
16,
1963,
3234,
1769,
3639,
272,
18,
542,
780,
12,
23,
16,
6222,
1769,
3639,
804,
88,
2377,
13198,
3597,
273,
261,
46,
88,
2377,
13198,
13,
87,
18,
8837,
1138,
5621,
3639,
3597,
18,
542,
31187,
12,
21,
16,
315,
7775,
67,
14130,
8863,
3639,
3597,
18,
542,
914,
2224,
12,
21,
16,
315,
7775,
67,
14130,
8863,
9079,
3597,
18,
542,
914,
2224,
12,
22,
16,
315,
7775,
67,
55,
10390,
8863,
3639,
327,
3597,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2252,
18,
4669,
18,
13198,
5638,
27692,
12,
780,
6222,
16,
4766,
1171,
514,
1963,
3234,
16,
4766,
1171,
514,
4775,
3234,
13,
565,
1216,
6483,
288,
3639,
514,
843,
273,
315,
4177,
1694,
67,
2121,
67,
28459,
2852,
20033,
20033,
692,
14432,
3639,
309,
261,
7199,
480,
446,
13,
288,
5411,
309,
261,
88,
2377,
1444,
1545,
9396,
18,
56,
3948,
7301,
13,
288,
7734,
843,
273,
315,
4177,
8247,
397,
6222,
397,
9850,
838,
1752,
67,
2121,
67,
28459,
2852,
20033,
20033,
692,
14432,
5411,
289,
469,
288,
7734,
843,
273,
315,
4177,
315,
397,
6222,
397,
315,
838,
1752,
67,
2121,
67,
28459,
2852,
20033,
20033,
692,
14432,
5411,
289,
3639,
289,
3639,
10464,
2
] |
|
for (int i = 0; i < objects.length; i++) { if (objects[i] instanceof PerspectiveDescriptor) { IWorkbenchWindow[] windows = PlatformUI.getWorkbench().getWorkbenchWindows(); PerspectiveDescriptor desc = (PerspectiveDescriptor) objects[i]; for (int w = 0; w < windows.length; ++w) { IWorkbenchWindow window = windows[w]; IWorkbenchPage[] pages = window.getPages(); for (int p = 0; p < pages.length; ++p) { WorkbenchPage page = (WorkbenchPage) pages[p]; ClosePerspectiveAction.closePerspective(page, page.findPerspective(desc)); } }
|
for (int i = 0; i < objects.length; i++) { if (objects[i] instanceof PerspectiveDescriptor) { IWorkbenchWindow[] windows = PlatformUI.getWorkbench() .getWorkbenchWindows(); PerspectiveDescriptor desc = (PerspectiveDescriptor) objects[i]; for (int w = 0; w < windows.length; ++w) { IWorkbenchWindow window = windows[w]; IWorkbenchPage[] pages = window.getPages(); for (int p = 0; p < pages.length; ++p) { WorkbenchPage page = (WorkbenchPage) pages[p]; ClosePerspectiveAction.closePerspective(page, page .findPerspective(desc)); } }
|
public void removeExtension(IExtension source, Object[] objects) { for (int i = 0; i < objects.length; i++) { if (objects[i] instanceof PerspectiveDescriptor) { // close the perspective in all windows IWorkbenchWindow[] windows = PlatformUI.getWorkbench().getWorkbenchWindows(); PerspectiveDescriptor desc = (PerspectiveDescriptor) objects[i]; for (int w = 0; w < windows.length; ++w) { IWorkbenchWindow window = windows[w]; IWorkbenchPage[] pages = window.getPages(); for (int p = 0; p < pages.length; ++p) { WorkbenchPage page = (WorkbenchPage) pages[p]; ClosePerspectiveAction.closePerspective(page, page.findPerspective(desc)); } } // ((Workbench)PlatformUI.getWorkbench()).getPerspectiveHistory().removeItem(desc); internalDeletePerspective(desc); } } }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/0707a6aff6dbd240f7c0b2dae47e64da2f4fd627/PerspectiveRegistry.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/PerspectiveRegistry.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1206,
3625,
12,
45,
3625,
1084,
16,
1033,
8526,
2184,
13,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
2184,
18,
2469,
31,
277,
27245,
288,
5411,
309,
261,
6911,
63,
77,
65,
1276,
453,
414,
16772,
3187,
13,
288,
7734,
368,
1746,
326,
26651,
316,
777,
9965,
7734,
467,
2421,
22144,
3829,
8526,
9965,
273,
11810,
5370,
18,
588,
2421,
22144,
7675,
588,
2421,
22144,
10399,
5621,
7734,
453,
414,
16772,
3187,
3044,
273,
261,
14781,
16772,
3187,
13,
2184,
63,
77,
15533,
7734,
364,
261,
474,
341,
273,
374,
31,
341,
411,
9965,
18,
2469,
31,
965,
91,
13,
288,
10792,
467,
2421,
22144,
3829,
2742,
273,
9965,
63,
91,
15533,
10792,
467,
2421,
22144,
1964,
8526,
4689,
273,
2742,
18,
588,
5716,
5621,
10792,
364,
261,
474,
293,
273,
374,
31,
293,
411,
4689,
18,
2469,
31,
965,
84,
13,
288,
13491,
4147,
22144,
1964,
1363,
273,
261,
2421,
22144,
1964,
13,
4689,
63,
84,
15533,
13491,
3527,
14781,
16772,
1803,
18,
4412,
14781,
16772,
12,
2433,
16,
1363,
18,
4720,
14781,
16772,
12,
5569,
10019,
10792,
289,
7734,
289,
7734,
368,
14015,
2421,
22144,
13,
8201,
5370,
18,
588,
2421,
22144,
1435,
2934,
588,
14781,
16772,
5623,
7675,
4479,
1180,
12,
5569,
1769,
7734,
2713,
2613,
14781,
16772,
12,
5569,
1769,
5411,
289,
3639,
289,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1206,
3625,
12,
45,
3625,
1084,
16,
1033,
8526,
2184,
13,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
2184,
18,
2469,
31,
277,
27245,
288,
5411,
309,
261,
6911,
63,
77,
65,
1276,
453,
414,
16772,
3187,
13,
288,
7734,
368,
1746,
326,
26651,
316,
777,
9965,
7734,
467,
2421,
22144,
3829,
8526,
9965,
273,
11810,
5370,
18,
588,
2421,
22144,
7675,
588,
2421,
22144,
10399,
5621,
7734,
453,
414,
16772,
3187,
3044,
273,
261,
14781,
16772,
3187,
13,
2184,
63,
77,
15533,
7734,
364,
261,
474,
341,
273,
374,
31,
341,
411,
9965,
18,
2469,
31,
965,
91,
13,
288,
10792,
467,
2421,
22144,
3829,
2742,
273,
9965,
63,
91,
2
] |
ASTNode child, final Wrap wrap, final Alignment alignment, final Indent indent) {
|
final @NotNull ASTNode child, final Wrap wrap, final Alignment alignment, final Indent indent) {
|
private ASTNode processAllChildrenFrom(final List<Block> result, ASTNode child, final Wrap wrap, final Alignment alignment, final Indent indent) { ASTNode resultNode = child; while (child!= null && child.getElementType() != ElementType.XML_END_TAG_START) { if (!FormatterUtil.containsWhiteSpacesOnly(child)) { child = processChild(result, child, wrap, alignment, indent); resultNode = child; } if (child != null) { child = child.getTreeNext(); } } return resultNode; }
|
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/c7dbf58f919598395973c3486121fc2cbe9f50c6/AbstractXmlBlock.java/buggy/source/com/intellij/psi/formatter/xml/AbstractXmlBlock.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
9183,
907,
1207,
1595,
4212,
1265,
12,
6385,
987,
32,
1768,
34,
563,
16,
4766,
1377,
9183,
907,
1151,
16,
4766,
1377,
727,
4266,
2193,
16,
4766,
1377,
727,
17804,
8710,
16,
4766,
1377,
727,
28653,
3504,
13,
288,
565,
9183,
907,
563,
907,
273,
1151,
31,
565,
1323,
261,
3624,
5,
33,
446,
597,
1151,
18,
588,
17481,
1435,
480,
3010,
559,
18,
4201,
67,
4415,
67,
7927,
67,
7570,
13,
288,
1377,
309,
16051,
5074,
1304,
18,
12298,
13407,
12077,
3386,
12,
3624,
3719,
288,
3639,
1151,
273,
1207,
1763,
12,
2088,
16,
1151,
16,
2193,
16,
8710,
16,
3504,
1769,
3639,
563,
907,
273,
1151,
31,
1377,
289,
1377,
309,
261,
3624,
480,
446,
13,
288,
3639,
1151,
273,
1151,
18,
588,
2471,
2134,
5621,
1377,
289,
565,
289,
565,
327,
563,
907,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
9183,
907,
1207,
1595,
4212,
1265,
12,
6385,
987,
32,
1768,
34,
563,
16,
4766,
1377,
9183,
907,
1151,
16,
4766,
1377,
727,
4266,
2193,
16,
4766,
1377,
727,
17804,
8710,
16,
4766,
1377,
727,
28653,
3504,
13,
288,
565,
9183,
907,
563,
907,
273,
1151,
31,
565,
1323,
261,
3624,
5,
33,
446,
597,
1151,
18,
588,
17481,
1435,
480,
3010,
559,
18,
4201,
67,
4415,
67,
7927,
67,
7570,
13,
288,
1377,
309,
16051,
5074,
1304,
18,
12298,
13407,
12077,
3386,
12,
3624,
3719,
288,
3639,
1151,
273,
1207,
1763,
12,
2088,
16,
1151,
16,
2193,
16,
8710,
16,
3504,
1769,
3639,
563,
907,
273,
1151,
31,
1377,
289,
1377,
309,
261,
3624,
480,
446,
2
] |
assertEquals(3, set.size());
|
if(!System.getProperty("java.version").startsWith("1.3.")) { assertEquals(3, set.size()); }
|
public final void testInstancesUsedFromMultipleThreads() throws InterruptedException { final Set set = Collections.synchronizedSet(new HashSet()); final List list = Collections.synchronizedList(new ArrayList()); final ComponentAdapter componentAdapter = new ThreadLocalComponentAdapter(new ConstructorInjectionComponentAdapter( Touchable.class, SimpleTouchable.class, null)); final Touchable touchable = (Touchable)componentAdapter.getComponentInstance(null); final Thread[] threads = { new Thread(new Runner(touchable, list, set), "junit-1"), new Thread(new Runner(touchable, list, set), "junit-2"), new Thread(new Runner(touchable, list, set), "junit-3"),}; for (int i = threads.length; i-- > 0;) { threads[i].start(); } Thread.sleep(300); for (int i = threads.length; i-- > 0;) { synchronized (threads[i]) { threads[i].notify(); } } Thread.sleep(300); for (int i = threads.length; i-- > 0;) { threads[i].interrupt(); } Thread.sleep(300); assertEquals(6, list.size()); assertEquals(3, set.size()); }
|
9344 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9344/6e9507c725b5d5ea64f10da04e59e5d7cd96c0c6/ThreadLocalComponentAdapterTest.java/buggy/java/picocontainer/trunk/gems/src/test/org/picocontainer/gems/ThreadLocalComponentAdapterTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
918,
1842,
5361,
6668,
1265,
8438,
13233,
1435,
1216,
7558,
288,
3639,
727,
1000,
444,
273,
5737,
18,
22043,
694,
12,
2704,
6847,
10663,
3639,
727,
987,
666,
273,
5737,
18,
22043,
682,
12,
2704,
2407,
10663,
3639,
727,
5435,
4216,
1794,
4216,
273,
394,
4884,
2042,
1841,
4216,
12,
2704,
11417,
12039,
1841,
4216,
12,
7734,
24974,
429,
18,
1106,
16,
4477,
10491,
429,
18,
1106,
16,
446,
10019,
3639,
727,
24974,
429,
6920,
429,
273,
261,
10491,
429,
13,
4652,
4216,
18,
588,
1841,
1442,
12,
2011,
1769,
3639,
727,
4884,
8526,
7403,
273,
288,
7734,
394,
4884,
12,
2704,
22712,
12,
14084,
429,
16,
666,
16,
444,
3631,
315,
78,
4873,
17,
21,
6,
3631,
394,
4884,
12,
2704,
22712,
12,
14084,
429,
16,
666,
16,
444,
3631,
315,
78,
4873,
17,
22,
6,
3631,
7734,
394,
4884,
12,
2704,
22712,
12,
14084,
429,
16,
666,
16,
444,
3631,
315,
78,
4873,
17,
23,
6,
3631,
20451,
3639,
364,
261,
474,
277,
273,
7403,
18,
2469,
31,
277,
413,
405,
374,
30943,
288,
5411,
7403,
63,
77,
8009,
1937,
5621,
3639,
289,
3639,
4884,
18,
19607,
12,
19249,
1769,
3639,
364,
261,
474,
277,
273,
7403,
18,
2469,
31,
277,
413,
405,
374,
30943,
288,
5411,
3852,
261,
12495,
63,
77,
5717,
288,
7734,
7403,
63,
77,
8009,
12336,
5621,
5411,
289,
3639,
289,
3639,
4884,
18,
19607,
12,
19249,
1769,
3639,
364,
261,
474,
277,
273,
7403,
18,
2469,
31,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
918,
1842,
5361,
6668,
1265,
8438,
13233,
1435,
1216,
7558,
288,
3639,
727,
1000,
444,
273,
5737,
18,
22043,
694,
12,
2704,
6847,
10663,
3639,
727,
987,
666,
273,
5737,
18,
22043,
682,
12,
2704,
2407,
10663,
3639,
727,
5435,
4216,
1794,
4216,
273,
394,
4884,
2042,
1841,
4216,
12,
2704,
11417,
12039,
1841,
4216,
12,
7734,
24974,
429,
18,
1106,
16,
4477,
10491,
429,
18,
1106,
16,
446,
10019,
3639,
727,
24974,
429,
6920,
429,
273,
261,
10491,
429,
13,
4652,
4216,
18,
588,
1841,
1442,
12,
2011,
1769,
3639,
727,
4884,
8526,
7403,
273,
288,
7734,
394,
4884,
12,
2704,
22712,
12,
14084,
429,
16,
666,
16,
444,
3631,
315,
78,
4873,
17,
21,
2
] |
osw = (ObjectStoreWriterInterMineImpl) ObjectStoreWriterFactory.getObjectStoreWriter(oswAlias);
|
ObjectStore objectStore = ObjectStoreWriterFactory.getObjectStoreWriter(oswAlias); osw = (ObjectStoreWriterInterMineImpl) objectStore;
|
public void setUp() throws Exception { osw = (ObjectStoreWriterInterMineImpl) ObjectStoreWriterFactory.getObjectStoreWriter(oswAlias); }
|
7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/b4ff7499c1862459db2796c9cf864b3501e8c44c/TargetItemsTestCase.java/buggy/intermine/src/java/org/intermine/dataconversion/TargetItemsTestCase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
24292,
1435,
1216,
1185,
288,
3639,
1033,
2257,
31182,
273,
1033,
2257,
2289,
1733,
18,
588,
921,
2257,
2289,
12,
538,
91,
2936,
1769,
1140,
91,
273,
261,
921,
2257,
2289,
2465,
49,
558,
2828,
13,
31182,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24292,
1435,
1216,
1185,
288,
3639,
1033,
2257,
31182,
273,
1033,
2257,
2289,
1733,
18,
588,
921,
2257,
2289,
12,
538,
91,
2936,
1769,
1140,
91,
273,
261,
921,
2257,
2289,
2465,
49,
558,
2828,
13,
31182,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return ATTACHMENT;
|
if (temp.endsWith("-- ")) { return END; } else { return ATTACHMENT; }
|
public int parse(BufferedReader in, PrintWriter out, String attachment) throws IOException, MessageParseException { for (;;) { String temp = in.readLine(); if (temp == null) { throw new MessageParseException("Unexpected" + "end of message."); } if (temp.equals(".")) { return END; } if (temp.indexOf("=") != -1) { temp = unMime(temp, html); } if (temp.indexOf("://") != -1) { if (temp.toLowerCase().indexOf("href=") == -1) { temp = makeLink(temp); } } if (temp.indexOf("@") != -1) { if (temp.toLowerCase().indexOf("href=") == -1) { temp = makeEmailLink(temp); } } if (temp.startsWith("--" + attachment)) { return ATTACHMENT; } if (temp.endsWith("= ") && !temp.endsWith("== ")) { temp = temp.substring(0, temp.length() - 2); out.print(temp); } else { out.println(temp); } }// return ERROR; }
|
3248 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3248/fe92697fe1798fcd5ec62a59e22a256585b09172/MessageBodyParser.java/clean/mail/MessageBodyParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
1109,
12,
17947,
2514,
316,
16,
14071,
596,
16,
9506,
202,
780,
6042,
13,
1216,
1860,
16,
6862,
1082,
202,
1079,
13047,
288,
202,
202,
1884,
261,
25708,
13,
288,
1082,
202,
780,
1906,
273,
316,
18,
896,
1670,
5621,
1082,
202,
430,
261,
5814,
422,
446,
13,
288,
9506,
202,
12849,
394,
2350,
13047,
2932,
7762,
6,
397,
6862,
1082,
202,
6,
409,
434,
883,
1199,
1769,
1082,
202,
97,
1082,
202,
430,
261,
5814,
18,
14963,
2932,
1199,
3719,
288,
9506,
202,
2463,
7273,
31,
1082,
202,
97,
1082,
202,
430,
261,
5814,
18,
31806,
2932,
1546,
13,
480,
300,
21,
13,
288,
9506,
202,
5814,
273,
640,
13320,
12,
5814,
16,
1729,
1769,
1082,
202,
97,
1082,
202,
430,
261,
5814,
18,
31806,
2932,
2207,
7923,
480,
300,
21,
13,
288,
9506,
202,
430,
261,
5814,
18,
869,
5630,
7675,
31806,
2932,
7547,
1546,
13,
422,
300,
21,
13,
288,
6862,
202,
5814,
273,
1221,
2098,
12,
5814,
1769,
9506,
202,
97,
1082,
202,
97,
1082,
202,
430,
261,
5814,
18,
31806,
2932,
36,
7923,
480,
300,
21,
13,
288,
9506,
202,
430,
261,
5814,
18,
869,
5630,
7675,
31806,
2932,
7547,
1546,
13,
422,
300,
21,
13,
288,
6862,
202,
5814,
273,
1221,
4134,
2098,
12,
5814,
1769,
9506,
202,
97,
1082,
202,
97,
1082,
202,
430,
261,
5814,
18,
17514,
1190,
2932,
413,
6,
397,
6042,
3719,
288,
9506,
202,
2463,
7907,
18133,
3212,
31,
1082,
202,
97,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
1109,
12,
17947,
2514,
316,
16,
14071,
596,
16,
9506,
202,
780,
6042,
13,
1216,
1860,
16,
6862,
1082,
202,
1079,
13047,
288,
202,
202,
1884,
261,
25708,
13,
288,
1082,
202,
780,
1906,
273,
316,
18,
896,
1670,
5621,
1082,
202,
430,
261,
5814,
422,
446,
13,
288,
9506,
202,
12849,
394,
2350,
13047,
2932,
7762,
6,
397,
6862,
1082,
202,
6,
409,
434,
883,
1199,
1769,
1082,
202,
97,
1082,
202,
430,
261,
5814,
18,
14963,
2932,
1199,
3719,
288,
9506,
202,
2463,
7273,
31,
1082,
202,
97,
1082,
202,
430,
261,
5814,
18,
31806,
2932,
1546,
13,
480,
300,
21,
13,
288,
9506,
202,
5814,
273,
640,
13320,
12,
5814,
16,
1729,
2
] |
this.serverName = null;
|
public void recycle() { this.envelope = null; this.serverName = null; this.baseURI = null; }
|
45951 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45951/8850ed9d7a96f6e5540cecf0c1c814c9ff7ca08e/SimpleLinkRewritingTransformer.java/buggy/src/java/org/apache/lenya/cms/cocoon/transformation/SimpleLinkRewritingTransformer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
23493,
1435,
288,
3639,
333,
18,
30290,
273,
446,
31,
9079,
333,
18,
1969,
3098,
273,
446,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
23493,
1435,
288,
3639,
333,
18,
30290,
273,
446,
31,
9079,
333,
18,
1969,
3098,
273,
446,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
throw new BuildException(taskType + " doesn\'t support the executable attribute", getLocation());
|
throw new BuildException(taskType + " doesn\'t support the executable" + " attribute", getLocation());
|
public void setExecutable(String e) { throw new BuildException(taskType + " doesn\'t support the executable attribute", getLocation()); }
|
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/9d09e6bde08389d65066582f20d131c738628dfe/Chown.java/clean/src/main/org/apache/tools/ant/taskdefs/optional/unix/Chown.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
17709,
12,
780,
425,
13,
288,
3639,
604,
394,
18463,
12,
4146,
559,
397,
4766,
315,
3302,
3730,
88,
2865,
326,
9070,
1566,
3113,
4766,
13312,
10663,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
17709,
12,
780,
425,
13,
288,
3639,
604,
394,
18463,
12,
4146,
559,
397,
4766,
315,
3302,
3730,
88,
2865,
326,
9070,
1566,
3113,
4766,
13312,
10663,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if ( !clientgui.getClient().game.getOptions().booleanOption("minefields") &&
|
if ( !clientgui.getClient().game.getOptions().booleanOption("minefields") &&
|
private void setupMunitions() { GridBagLayout gbl = new GridBagLayout(); panMunitions.setLayout(gbl); GridBagConstraints gbc = new GridBagConstraints(); int row = 0; for (Enumeration e = entity.getAmmo(); e.hasMoreElements(); ) { Mounted m = (Mounted)e.nextElement(); AmmoType at = (AmmoType)m.getType(); Vector vTypes = new Vector(); Vector vAllTypes = AmmoType.getMunitionsFor(at.getAmmoType()); if (vAllTypes == null) { continue; } for (int x = 0, n = vAllTypes.size(); x < n; x++) { AmmoType atCheck = (AmmoType)vAllTypes.elementAt(x); boolean bTechMatch = (entity.getTechLevel() == atCheck.getTechType()); // allow all lvl2 IS units to use level 1 ammo // lvl1 IS units don't need to be allowed to use lvl1 ammo, // because there is no special lvl1 ammo, therefore it doesn't // need to show up in this display. if (!bTechMatch && entity.getTechLevel() == TechConstants.T_IS_LEVEL_2 && atCheck.getTechType() == TechConstants.T_IS_LEVEL_1) { bTechMatch = true; } // if is_eq_limits is unchecked allow l1 guys to use l2 stuff if (!clientgui.getClient().game.getOptions().booleanOption("is_eq_limits") && entity.getTechLevel() == TechConstants.T_IS_LEVEL_1 && atCheck.getTechType() == TechConstants.T_IS_LEVEL_2) { bTechMatch = true; } //allow mixed Tech Mechs to use both IS and Clan Ammo if (entity.getTechLevel() == TechConstants.T_MIXED_BASE_CLAN_LEVEL_2) { bTechMatch = TechConstants.T_CLAN_LEVEL_2 > atCheck.getTechType(); } if (entity.getTechLevel() == TechConstants.T_MIXED_BASE_IS_LEVEL_2) { bTechMatch = TechConstants.T_IS_LEVEL_2 >= atCheck.getTechType(); } // If clan_ignore_eq_limits is unchecked, // do NOT allow Clans to use IS-only ammo. // N.B. play bit-shifting games to allow "incendiary" // to be combined to other munition types. int muniType = atCheck.getMunitionType(); muniType &= ~AmmoType.M_INCENDIARY; if ( !clientgui.getClient().game.getOptions().booleanOption("clan_ignore_eq_limits") && entity.isClan() && ( muniType == AmmoType.M_SEMIGUIDED || muniType == AmmoType.M_THUNDER_AUGMENTED || muniType == AmmoType.M_THUNDER_INFERNO || muniType == AmmoType.M_THUNDER_VIBRABOMB || muniType == AmmoType.M_THUNDER_ACTIVE || muniType == AmmoType.M_INFERNO_IV || muniType == AmmoType.M_VIBRABOMB_IV)) { bTechMatch = false; } if ( !clientgui.getClient().game.getOptions().booleanOption("minefields") && AmmoType.canDeliverMinefield(atCheck) ) { continue; } // Only Protos can use Proto-specific ammo if ( atCheck.hasFlag(AmmoType.F_PROTOMECH) && !(entity instanceof Protomech) ) { continue; } // When dealing with machine guns, Protos can only // use proto-specific machine gun ammo if ( entity instanceof Protomech && atCheck.hasFlag(AmmoType.F_MG) && !atCheck.hasFlag(AmmoType.F_PROTOMECH) ) { continue; } // Battle Armor ammo can't be selected at all. // All other ammo types need to match on rack size and tech. if ( bTechMatch && atCheck.getRackSize() == at.getRackSize() && !atCheck.hasFlag(AmmoType.F_BATTLEARMOR) && atCheck.getTonnage(entity) == at.getTonnage(entity) ) { vTypes.addElement(atCheck); } } if (vTypes.size() < 2 && !client.game.getOptions().booleanOption("lobby_ammo_dump")) { continue; } gbc.gridy = row++; // Protomechs need special choice panels. MunitionChoicePanel mcp = null; if ( entity instanceof Protomech ) { mcp = new ProtomechMunitionChoicePanel(m, vTypes); } else { mcp = new MunitionChoicePanel(m, vTypes); } gbl.setConstraints(mcp, gbc); panMunitions.add(mcp); m_vMunitions.addElement(mcp); } }
|
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/c9f0f1d2e5ceb1c577004355102dc4109baf3a49/CustomMechDialog.java/clean/megamek/src/megamek/client/ui/AWT/CustomMechDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3875,
49,
318,
5029,
1435,
288,
7734,
7145,
5013,
3744,
314,
3083,
273,
394,
7145,
5013,
3744,
5621,
3639,
2800,
49,
318,
5029,
18,
542,
3744,
12,
75,
3083,
1769,
3639,
13075,
26432,
273,
394,
13075,
5621,
7734,
509,
1027,
273,
374,
31,
3639,
364,
261,
21847,
425,
273,
1522,
18,
588,
37,
7020,
83,
5621,
425,
18,
5332,
7417,
3471,
5621,
262,
288,
5411,
13076,
329,
312,
273,
261,
8725,
329,
13,
73,
18,
4285,
1046,
5621,
5411,
3986,
8683,
559,
622,
273,
261,
37,
7020,
83,
559,
13,
81,
18,
588,
559,
5621,
5411,
5589,
331,
2016,
273,
394,
5589,
5621,
5411,
5589,
331,
1595,
2016,
273,
3986,
8683,
559,
18,
588,
49,
318,
5029,
1290,
12,
270,
18,
588,
37,
7020,
83,
559,
10663,
5411,
309,
261,
90,
1595,
2016,
422,
446,
13,
288,
7734,
1324,
31,
5411,
289,
13491,
364,
261,
474,
619,
273,
374,
16,
290,
273,
331,
1595,
2016,
18,
1467,
5621,
619,
411,
290,
31,
619,
27245,
288,
7734,
3986,
8683,
559,
622,
1564,
273,
261,
37,
7020,
83,
559,
13,
90,
1595,
2016,
18,
2956,
861,
12,
92,
1769,
7734,
1250,
324,
56,
8987,
2060,
273,
261,
1096,
18,
588,
56,
8987,
2355,
1435,
422,
622,
1564,
18,
588,
56,
8987,
559,
10663,
4766,
7734,
368,
1699,
777,
14864,
22,
4437,
4971,
358,
999,
1801,
404,
2125,
8683,
7734,
368,
14864,
21,
4437,
4971,
2727,
1404,
1608,
358,
506,
2935,
358,
999,
14864,
21,
2125,
8683,
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,
3875,
49,
318,
5029,
1435,
288,
7734,
7145,
5013,
3744,
314,
3083,
273,
394,
7145,
5013,
3744,
5621,
3639,
2800,
49,
318,
5029,
18,
542,
3744,
12,
75,
3083,
1769,
3639,
13075,
26432,
273,
394,
13075,
5621,
7734,
509,
1027,
273,
374,
31,
3639,
364,
261,
21847,
425,
273,
1522,
18,
588,
37,
7020,
83,
5621,
425,
18,
5332,
7417,
3471,
5621,
262,
288,
5411,
13076,
329,
312,
273,
261,
8725,
329,
13,
73,
18,
4285,
1046,
5621,
5411,
3986,
8683,
559,
622,
273,
261,
37,
7020,
83,
559,
13,
81,
18,
588,
559,
5621,
5411,
5589,
331,
2016,
273,
394,
5589,
5621,
5411,
5589,
331,
1595,
2016,
273,
3986,
8683,
559,
18,
588,
49,
318,
2
] |
protected void checkClosed()
|
protected final void checkClosed()
|
protected void checkClosed() throws IOException { if (closed) throw new IOException("stream closed"); }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/ImageInputStreamImpl.java/buggy/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
727,
918,
866,
7395,
1435,
565,
1216,
1860,
225,
288,
565,
309,
261,
12204,
13,
1377,
604,
394,
1860,
2932,
3256,
4375,
8863,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
727,
918,
866,
7395,
1435,
565,
1216,
1860,
225,
288,
565,
309,
261,
12204,
13,
1377,
604,
394,
1860,
2932,
3256,
4375,
8863,
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
] |
classpath = new Path( getProject() );
|
classpath = new Path(getProject());
|
public Path createClasspath() { if (classpath == null) { classpath = new Path( getProject() ); } return classpath; }
|
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/c6c232893c39257745a8f7a618bcdb5c59791cae/IContract.java/buggy/src/main/org/apache/tools/ant/taskdefs/optional/IContract.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2666,
752,
17461,
1435,
288,
3639,
309,
261,
26302,
422,
446,
13,
288,
5411,
10006,
273,
394,
2666,
12,
588,
4109,
10663,
3639,
289,
3639,
327,
10006,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2666,
752,
17461,
1435,
288,
3639,
309,
261,
26302,
422,
446,
13,
288,
5411,
10006,
273,
394,
2666,
12,
588,
4109,
10663,
3639,
289,
3639,
327,
10006,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
ClientConnection c =
|
ClientConnection c =
|
public synchronized ClientConnection getConnection (org.omg.ETF.Profile profile) { /* look for an existing connection */ ClientConnection c = (ClientConnection)connections.get( profile ); if (c == null) { int tag = profile.tag(); Factories factories = transport_manager.getFactories (tag); if (factories == null) { throw new RuntimeException ("No transport plugin for profile tag " + tag); } GIOPConnection connection = giop_connection_manager.createClientGIOPConnection( profile, factories.create_connection (null), request_listener, null ); c = new ClientConnection( connection, orb, this, profile.toString(), true ); Debug.output( 2, "ClientConnectionManager: created new conn to target " + c.getInfo() ); connections.put( profile, c ); receptor_pool.connectionCreated( connection ); } else { Debug.output( 2, "ClientConnectionManager: found conn to target " + c.getInfo() ); } c.incClients(); return c; }
|
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/c22cf84cb20eae73cfae53e029be1ee626d74a88/ClientConnectionManager.java/buggy/src/org/jacorb/orb/giop/ClientConnectionManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
2445,
1952,
6742,
4766,
9079,
261,
3341,
18,
362,
75,
18,
1584,
42,
18,
4029,
3042,
13,
565,
288,
3639,
1748,
2324,
364,
392,
2062,
1459,
1195,
7734,
2445,
1952,
276,
273,
2398,
261,
1227,
1952,
13,
13313,
18,
588,
12,
3042,
11272,
3639,
309,
261,
71,
422,
446,
13,
3639,
288,
5411,
509,
1047,
273,
3042,
18,
2692,
5621,
5411,
29057,
2401,
17456,
273,
4736,
67,
4181,
18,
588,
19271,
261,
2692,
1769,
5411,
309,
261,
3493,
2401,
422,
446,
13,
5411,
288,
7734,
604,
394,
3235,
5397,
7566,
2279,
4736,
1909,
364,
3042,
1047,
315,
397,
1047,
1769,
5411,
289,
5411,
611,
45,
3665,
1952,
1459,
273,
1171,
16221,
556,
67,
4071,
67,
4181,
18,
2640,
1227,
13797,
3665,
1952,
12,
5397,
3042,
16,
10792,
17456,
18,
2640,
67,
4071,
261,
2011,
3631,
10792,
590,
67,
12757,
16,
10792,
446,
11272,
13491,
276,
273,
394,
2445,
1952,
12,
1459,
16,
16823,
16,
333,
16,
4766,
4202,
3042,
18,
10492,
9334,
638,
11272,
5411,
4015,
18,
2844,
12,
576,
16,
315,
1227,
1952,
1318,
30,
2522,
394,
1487,
358,
1018,
315,
397,
12900,
276,
18,
588,
966,
1435,
11272,
13491,
5921,
18,
458,
12,
3042,
16,
276,
11272,
5411,
283,
6757,
67,
6011,
18,
4071,
6119,
12,
1459,
11272,
3639,
289,
3639,
469,
3639,
288,
5411,
4015,
18,
2844,
12,
576,
16,
315,
1227,
1952,
1318,
30,
1392,
1487,
358,
1018,
315,
397,
12900,
276,
18,
588,
966,
1435,
11272,
3639,
289,
3639,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
2445,
1952,
6742,
4766,
9079,
261,
3341,
18,
362,
75,
18,
1584,
42,
18,
4029,
3042,
13,
565,
288,
3639,
1748,
2324,
364,
392,
2062,
1459,
1195,
7734,
2445,
1952,
276,
273,
2398,
261,
1227,
1952,
13,
13313,
18,
588,
12,
3042,
11272,
3639,
309,
261,
71,
422,
446,
13,
3639,
288,
5411,
509,
1047,
273,
3042,
18,
2692,
5621,
5411,
29057,
2401,
17456,
273,
4736,
67,
4181,
18,
588,
19271,
261,
2692,
1769,
5411,
309,
261,
3493,
2401,
422,
446,
13,
5411,
288,
7734,
604,
394,
3235,
5397,
7566,
2279,
4736,
1909,
364,
3042,
1047,
315,
397,
1047,
1769,
5411,
289,
5411,
611,
45,
3665,
1952,
1459,
273,
1171,
16221,
556,
67,
4071,
67,
4181,
2
] |
if (context != null) embedded.removeContext(context);
|
if (context != null){ if (context instanceof StandardContext){ StandardContext stdctx = (StandardContext)context; try{ stdctx.stop(); stdctx.destroy(); } catch (Exception e){ throw new RuntimeException(e); } } context.getParent().removeChild(context); }
|
public void removeContext(TomcatContext ctx) { Context context = ctx.getContext(); if (context != null) embedded.removeContext(context); }
|
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/96ed8eeb9310d50f1e9cab664d8ebcf8eded7df3/TomcatContainer.java/buggy/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatContainer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1206,
1042,
12,
56,
362,
2574,
1042,
1103,
13,
288,
3639,
1772,
819,
273,
1103,
18,
29120,
5621,
3639,
309,
261,
2472,
480,
446,
13,
5411,
7488,
18,
4479,
1042,
12,
2472,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1206,
1042,
12,
56,
362,
2574,
1042,
1103,
13,
288,
3639,
1772,
819,
273,
1103,
18,
29120,
5621,
3639,
309,
261,
2472,
480,
446,
13,
5411,
7488,
18,
4479,
1042,
12,
2472,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public DeviceBuffer () { this(2000);
|
public DeviceBuffer (int initialCapacity, int capacityIncrement) { buffer = new byte[initialCapacity]; this.capacityIncrement = capacityIncrement;
|
public DeviceBuffer () { this(2000); }
|
3911 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3911/de24f2ed33f31c7f35d748d8452d46a4a9612252/DeviceBuffer.java/clean/wings/src/org/wings/io/DeviceBuffer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6077,
1892,
1832,
288,
3639,
333,
12,
17172,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6077,
1892,
1832,
288,
3639,
333,
12,
17172,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
NormalizedFile lToDelete = new NormalizedFile(filename.getValue());
|
NormalizedFile lToDelete = new NormalizedFile(filename.toString());
|
public IRubyObject unlink(IRubyObject[] args) { for (int i = 0; i < args.length; i++) { RubyString filename = RubyString.stringValue(args[i]); filename.checkSafeString(); NormalizedFile lToDelete = new NormalizedFile(filename.getValue()); if (!lToDelete.exists()) { throw getRuntime().newErrnoENOENTError(" No such file or directory - \"" + filename.getValue() + "\""); } if (!lToDelete.delete()) { return getRuntime().getFalse(); } } return getRuntime().newFixnum(args.length); }
|
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/9f2efc63a858fa0507245b207025eab027840a04/FileMetaClass.java/buggy/src/org/jruby/runtime/builtin/meta/FileMetaClass.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
8255,
12,
7937,
10340,
921,
8526,
833,
13,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
833,
18,
2469,
31,
277,
27245,
288,
540,
202,
54,
10340,
780,
1544,
273,
19817,
780,
18,
1080,
620,
12,
1968,
63,
77,
19226,
5411,
1544,
18,
1893,
9890,
780,
5621,
5411,
8769,
1235,
812,
328,
14976,
273,
394,
8769,
1235,
812,
12,
3459,
18,
10492,
10663,
5411,
309,
16051,
80,
14976,
18,
1808,
10756,
288,
9506,
202,
12849,
18814,
7675,
2704,
2524,
2135,
1157,
51,
2222,
668,
2932,
2631,
4123,
585,
578,
1867,
300,
11843,
397,
1544,
18,
24805,
1435,
397,
11143,
1769,
1082,
202,
97,
5411,
309,
16051,
80,
14976,
18,
3733,
10756,
288,
7734,
327,
18814,
7675,
588,
8381,
5621,
5411,
289,
3639,
289,
3639,
327,
18814,
7675,
2704,
8585,
2107,
12,
1968,
18,
2469,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
8255,
12,
7937,
10340,
921,
8526,
833,
13,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
833,
18,
2469,
31,
277,
27245,
288,
540,
202,
54,
10340,
780,
1544,
273,
19817,
780,
18,
1080,
620,
12,
1968,
63,
77,
19226,
5411,
1544,
18,
1893,
9890,
780,
5621,
5411,
8769,
1235,
812,
328,
14976,
273,
394,
8769,
1235,
812,
12,
3459,
18,
10492,
10663,
5411,
309,
16051,
80,
14976,
18,
1808,
10756,
288,
9506,
202,
12849,
18814,
7675,
2704,
2524,
2135,
1157,
51,
2222,
668,
2932,
2631,
4123,
585,
578,
1867,
300,
11843,
397,
1544,
18,
24805,
1435,
397,
11143,
1769,
1082,
202,
97,
5411,
309,
16051,
80,
14976,
18,
3733,
10756,
2
] |
Dimension dim = new Dimension((int) w, (int) h); g2r.layout(g2, dim); Rectangle rect = g2r.getMinimumSize(); height = (int) rect.getHeight();
|
g2r.layout(g2, null); g2r.getPanel().assignPagePaintingPositions(g2, 0); } if (page >= g2r.getPanel().getRootLayer().getPages().size()) { return Printable.NO_SUCH_PAGE;
|
public int print(Graphics g, PageFormat pf, int page) { try { Graphics2D g2 = (Graphics2D) g; double x = pf.getImageableX(); double y = pf.getImageableY(); double w = pf.getImageableWidth(); double h = pf.getImageableHeight(); g2.translate(x, y); //Uu.p("printing: page = " + page + " clip = " + g.getClipRect()); //quit if this page would put us over the length of the document if (h * page > height) { //Uu.p("quitting: " + h*page); //Uu.p("height = " + height); return Printable.NO_SUCH_PAGE; } int trans = (int) (-h * page); //Uu.p("translating by " + trans); g2.translate(0, trans); // lay out the document if it's not already if (g2r == null) { //Uu.p("building new Graphics2DRenderer"); g2r = new Graphics2DRenderer(); g2r.getSharedContext().setPrint(true); g2r.getSharedContext().setInteractive(false); g2r.getSharedContext().setDPI(72f); g2r.getSharedContext().getTextRenderer().setSmoothingThreshold(0); g2r.getSharedContext().getTextRenderer().setSmoothingLevel(TextRenderer.HIGH); g2r.setDocument(panel.getSharedContext().getUac().getBaseURL()); Dimension dim = new Dimension((int) w, (int) h); g2r.layout(g2, dim); Rectangle rect = g2r.getMinimumSize(); //Uu.p("laid out height = " + rect.getHeight()); height = (int) rect.getHeight(); } // render the document g2r.render(g2); return Printable.PAGE_EXISTS; } catch (Exception ex) { Uu.p(ex); return Printable.NO_SUCH_PAGE; } }
|
8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/374d17ea4f8f5f5914c5c65d8a4c5a5ce9f4749d/XHTMLPrintable.java/clean/src/java/org/xhtmlrenderer/simple/XHTMLPrintable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
1172,
12,
17558,
314,
16,
3460,
1630,
10811,
16,
509,
1363,
13,
288,
3639,
775,
288,
5411,
16830,
22,
40,
314,
22,
273,
261,
17558,
22,
40,
13,
314,
31,
5411,
1645,
619,
273,
10811,
18,
588,
2040,
429,
60,
5621,
5411,
1645,
677,
273,
10811,
18,
588,
2040,
429,
61,
5621,
5411,
1645,
341,
273,
10811,
18,
588,
2040,
429,
2384,
5621,
5411,
1645,
366,
273,
10811,
18,
588,
2040,
429,
2686,
5621,
5411,
314,
22,
18,
13929,
12,
92,
16,
677,
1769,
13491,
368,
57,
89,
18,
84,
2932,
1188,
310,
30,
1363,
273,
315,
397,
1363,
397,
315,
6807,
273,
315,
397,
314,
18,
588,
15339,
6120,
10663,
13491,
368,
27176,
309,
333,
1363,
4102,
1378,
584,
1879,
326,
769,
434,
326,
1668,
5411,
309,
261,
76,
380,
1363,
405,
2072,
13,
288,
7734,
368,
57,
89,
18,
84,
2932,
27176,
1787,
30,
315,
397,
366,
14,
2433,
1769,
7734,
368,
57,
89,
18,
84,
2932,
4210,
273,
315,
397,
2072,
1769,
7734,
327,
3038,
429,
18,
3417,
67,
19958,
67,
11219,
31,
5411,
289,
5411,
509,
906,
273,
261,
474,
13,
24927,
76,
380,
1363,
1769,
5411,
368,
57,
89,
18,
84,
2932,
5379,
1776,
635,
315,
397,
906,
1769,
5411,
314,
22,
18,
13929,
12,
20,
16,
906,
1769,
13491,
368,
328,
528,
596,
326,
1668,
309,
518,
1807,
486,
1818,
5411,
309,
261,
75,
22,
86,
422,
446,
13,
288,
7734,
368,
57,
89,
18,
84,
2932,
3510,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
1172,
12,
17558,
314,
16,
3460,
1630,
10811,
16,
509,
1363,
13,
288,
3639,
775,
288,
5411,
16830,
22,
40,
314,
22,
273,
261,
17558,
22,
40,
13,
314,
31,
5411,
1645,
619,
273,
10811,
18,
588,
2040,
429,
60,
5621,
5411,
1645,
677,
273,
10811,
18,
588,
2040,
429,
61,
5621,
5411,
1645,
341,
273,
10811,
18,
588,
2040,
429,
2384,
5621,
5411,
1645,
366,
273,
10811,
18,
588,
2040,
429,
2686,
5621,
5411,
314,
22,
18,
13929,
12,
92,
16,
677,
1769,
13491,
368,
57,
89,
18,
84,
2932,
1188,
310,
30,
1363,
273,
315,
397,
1363,
397,
315,
6807,
273,
315,
397,
314,
18,
588,
15339,
6120,
10663,
13491,
368,
27176,
309,
333,
2
] |
String params[] = new String[this.arguments.size()+1];
|
String params[] = new String[this.arguments.size() + 1];
|
public boolean run (AbstractUIProcessHandler handler, VariableSubstitutor vs) { this.handler = handler; String params[] = new String[this.arguments.size()+1]; params[0] = vs.substitute(this.filename, "plain"); int i = 1; for (Iterator arg_it = this.arguments.iterator(); arg_it.hasNext(); ) { params[i++] = vs.substitute ((String)arg_it.next(), "plain"); } try { Process p = Runtime.getRuntime().exec (params); OutputMonitor stdoutMon = new OutputMonitor (this.handler, p.getInputStream(), false); OutputMonitor stderrMon = new OutputMonitor (this.handler, p.getErrorStream(), true); Thread stdoutThread = new Thread (stdoutMon); Thread stderrThread = new Thread (stderrMon); stdoutThread.setDaemon(true); stderrThread.setDaemon(true); stdoutThread.start(); stderrThread.start(); try { int exitStatus = p.waitFor (); stopMonitor(stdoutMon, stdoutThread); stopMonitor(stderrMon, stderrThread); if (exitStatus != 0) { if (this.handler.askQuestion("process execution failed", "Continue anyway?", AbstractUIHandler.CHOICES_YES_NO, AbstractUIHandler.ANSWER_YES) == AbstractUIHandler.ANSWER_NO) { return false; } } } catch (InterruptedException ie) { p.destroy (); this.handler.emitError ("process interrupted", ie.toString ()); return false; } } catch (IOException ioe) { this.handler.emitError("I/O error", ioe.toString()); return false; } return true; }
|
46579 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46579/6e8ab3930a21f787bcd0f3cf0b9937f9d50c80c0/ProcessPanelWorker.java/clean/src/lib/com/izforge/izpack/installer/ProcessPanelWorker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1086,
261,
7469,
5370,
2227,
1503,
1838,
16,
7110,
1676,
5223,
3408,
6195,
13,
565,
288,
1377,
333,
18,
4176,
273,
1838,
31,
1850,
514,
859,
8526,
273,
394,
514,
63,
2211,
18,
7099,
18,
1467,
1435,
397,
404,
15533,
2868,
859,
63,
20,
65,
273,
6195,
18,
1717,
17207,
12,
2211,
18,
3459,
16,
315,
7446,
8863,
7734,
509,
277,
273,
404,
31,
1377,
364,
261,
3198,
1501,
67,
305,
273,
333,
18,
7099,
18,
9838,
5621,
1501,
67,
305,
18,
5332,
2134,
5621,
262,
1377,
288,
3639,
859,
63,
77,
9904,
65,
273,
6195,
18,
1717,
17207,
14015,
780,
13,
3175,
67,
305,
18,
4285,
9334,
315,
7446,
8863,
1377,
289,
5411,
775,
1377,
288,
3639,
4389,
293,
273,
2509,
18,
588,
5576,
7675,
4177,
261,
2010,
1769,
7734,
3633,
7187,
3909,
11415,
273,
394,
3633,
7187,
261,
2211,
18,
4176,
16,
293,
18,
588,
4348,
9334,
629,
1769,
3639,
3633,
7187,
4514,
11415,
273,
394,
3633,
7187,
261,
2211,
18,
4176,
16,
293,
18,
588,
668,
1228,
9334,
638,
1769,
3639,
4884,
3909,
3830,
273,
394,
4884,
261,
10283,
11415,
1769,
3639,
4884,
4514,
3830,
273,
394,
4884,
261,
11241,
11415,
1769,
3639,
3909,
3830,
18,
542,
12858,
12,
3767,
1769,
3639,
4514,
3830,
18,
542,
12858,
12,
3767,
1769,
3639,
3909,
3830,
18,
1937,
5621,
3639,
4514,
3830,
18,
1937,
5621,
7734,
775,
3639,
288,
1850,
509,
2427,
1482,
273,
293,
18,
7048,
1290,
261,
1769,
10792,
2132,
7187,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1086,
261,
7469,
5370,
2227,
1503,
1838,
16,
7110,
1676,
5223,
3408,
6195,
13,
565,
288,
1377,
333,
18,
4176,
273,
1838,
31,
1850,
514,
859,
8526,
273,
394,
514,
63,
2211,
18,
7099,
18,
1467,
1435,
397,
404,
15533,
2868,
859,
63,
20,
65,
273,
6195,
18,
1717,
17207,
12,
2211,
18,
3459,
16,
315,
7446,
8863,
7734,
509,
277,
273,
404,
31,
1377,
364,
261,
3198,
1501,
67,
305,
273,
333,
18,
7099,
18,
9838,
5621,
1501,
67,
305,
18,
5332,
2134,
5621,
262,
1377,
288,
3639,
859,
63,
77,
9904,
65,
273,
6195,
18,
1717,
17207,
14015,
780,
13,
3175,
67,
305,
18,
4285,
9334,
315,
7446,
8863,
1377,
289,
5411,
775,
1377,
2
] |
jj_la1[84] = jj_gen;
|
jj_la1[86] = jj_gen;
|
final public void CastLookahead() throws ParseException { /*@bgen(jjtree) CastLookahead */ ASTCastLookahead jjtn000 = new ASTCastLookahead(this, JJTCASTLOOKAHEAD); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { if (jj_2_24(2)) { jj_consume_token(LPAREN); PrimitiveType(); } else if (jj_2_25(2147483647)) { jj_consume_token(LPAREN); Type(); jj_consume_token(LBRACKET); jj_consume_token(RBRACKET); } else { switch (jj_nt.kind) { case LPAREN: jj_consume_token(LPAREN); Type(); jj_consume_token(RPAREN); switch (jj_nt.kind) { case TILDE: jj_consume_token(TILDE); break; case BANG: jj_consume_token(BANG); break; case LPAREN: jj_consume_token(LPAREN); break; case IDENTIFIER: jj_consume_token(IDENTIFIER); break; case THIS: jj_consume_token(THIS); break; case SUPER: jj_consume_token(SUPER); break; case NEW: jj_consume_token(NEW); break; case FALSE: case NULL: case TRUE: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: Literal(); break; default: jj_la1[83] = jj_gen; jj_consume_token(-1); throw new ParseException(); } break; default: jj_la1[84] = 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 (Error)jjte000;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } }
|
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/3afd4630754ba5d6642f3e8a1c9aa5162eff7e9f/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1071,
918,
19782,
9794,
11617,
1435,
1216,
10616,
288,
1748,
36,
70,
4507,
12,
78,
78,
3413,
13,
19782,
9794,
11617,
1195,
225,
9183,
9735,
9794,
11617,
10684,
5088,
3784,
273,
394,
9183,
9735,
9794,
11617,
12,
2211,
16,
804,
46,
56,
21871,
1502,
3141,
37,
12458,
1769,
225,
1250,
10684,
5111,
3784,
273,
638,
31,
225,
10684,
3413,
18,
3190,
907,
3876,
12,
78,
78,
5088,
3784,
1769,
565,
775,
288,
1377,
309,
261,
78,
78,
67,
22,
67,
3247,
12,
22,
3719,
288,
3639,
10684,
67,
21224,
67,
2316,
12,
48,
15111,
1769,
3639,
14488,
559,
5621,
1377,
289,
469,
309,
261,
78,
78,
67,
22,
67,
2947,
12,
22,
3461,
30623,
30792,
3719,
288,
3639,
10684,
67,
21224,
67,
2316,
12,
48,
15111,
1769,
3639,
1412,
5621,
3639,
10684,
67,
21224,
67,
2316,
12,
48,
21217,
1769,
3639,
10684,
67,
21224,
67,
2316,
12,
54,
21217,
1769,
1377,
289,
469,
288,
3639,
1620,
261,
78,
78,
67,
496,
18,
9224,
13,
288,
3639,
648,
511,
15111,
30,
1850,
10684,
67,
21224,
67,
2316,
12,
48,
15111,
1769,
1850,
1412,
5621,
1850,
10684,
67,
21224,
67,
2316,
12,
54,
15111,
1769,
1850,
1620,
261,
78,
78,
67,
496,
18,
9224,
13,
288,
1850,
648,
399,
2627,
1639,
30,
5411,
10684,
67,
21224,
67,
2316,
12,
56,
2627,
1639,
1769,
5411,
898,
31,
1850,
648,
605,
3388,
30,
5411,
10684,
67,
21224,
67,
2316,
12,
38,
3388,
1769,
5411,
898,
31,
1850,
648,
511,
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,
19782,
9794,
11617,
1435,
1216,
10616,
288,
1748,
36,
70,
4507,
12,
78,
78,
3413,
13,
19782,
9794,
11617,
1195,
225,
9183,
9735,
9794,
11617,
10684,
5088,
3784,
273,
394,
9183,
9735,
9794,
11617,
12,
2211,
16,
804,
46,
56,
21871,
1502,
3141,
37,
12458,
1769,
225,
1250,
10684,
5111,
3784,
273,
638,
31,
225,
10684,
3413,
18,
3190,
907,
3876,
12,
78,
78,
5088,
3784,
1769,
565,
775,
288,
1377,
309,
261,
78,
78,
67,
22,
67,
3247,
12,
22,
3719,
288,
3639,
10684,
67,
21224,
67,
2316,
12,
48,
15111,
1769,
3639,
14488,
559,
5621,
1377,
289,
469,
309,
261,
78,
78,
67,
22,
67,
2947,
12,
22,
3461,
30623,
30792,
3719,
288,
2
] |
try { if (ct == null || ct.equals("application/x-www-form-urlencoded")) { data = new XMLSource(null, false); return; } ContentType contentType = new ContentType(ct); if (contentType.getParameter("type") == null) { contentType.setParameter("type", "text/xml"); } int contentTypeId = identifyContentType(contentType); boolean isFastInfoset = (contentTypeId & FI_ENCODED_FLAG) > 0; if ((contentTypeId & PLAIN_XML_FLAG) != 0) { data = new XMLSource(in, isFastInfoset); } else if ((contentTypeId & MIME_MULTIPART_FLAG) != 0) { data = new XMLDataSource(ct, in, isFastInfoset); } else { throw new XMLMessageException("xml.unknown.Content-Type"); } } catch (Exception ex) { throw new XMLMessageException("xml.cannot.internalize.message",ex); }
|
this.data = getData(ct, in);
|
public XMLMessage(MimeHeaders headers, final InputStream in) { this.headers = headers; String ct = null; if (headers != null) { ct = getContentType(headers); } try { // RESTful request if (ct == null || ct.equals("application/x-www-form-urlencoded")) { data = new XMLSource(null, false); return; } ContentType contentType = new ContentType(ct); // In the absence of type attribute we assume it to be text/xml. // That would mean we're easy on accepting the message and // generate the correct thing if (contentType.getParameter("type") == null) { contentType.setParameter("type", "text/xml"); } int contentTypeId = identifyContentType(contentType); boolean isFastInfoset = (contentTypeId & FI_ENCODED_FLAG) > 0; if ((contentTypeId & PLAIN_XML_FLAG) != 0) { data = new XMLSource(in, isFastInfoset); } else if ((contentTypeId & MIME_MULTIPART_FLAG) != 0) { data = new XMLDataSource(ct, in, isFastInfoset); } else { throw new XMLMessageException("xml.unknown.Content-Type"); } } catch (Exception ex) { throw new XMLMessageException("xml.cannot.internalize.message",ex); } }
|
9667 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9667/e62b376a7d7ff394179b2e7a9a3b852f1156f10d/XMLMessage.java/clean/jaxws-ri/rt/src/com/sun/xml/ws/encoding/xml/XMLMessage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3167,
1079,
12,
13320,
3121,
1607,
16,
727,
5037,
316,
13,
288,
3639,
333,
18,
2485,
273,
1607,
31,
3639,
514,
5691,
273,
446,
31,
3639,
309,
261,
2485,
480,
446,
13,
288,
5411,
5691,
273,
17470,
12,
2485,
1769,
3639,
289,
3639,
775,
288,
5411,
368,
8392,
2706,
590,
5411,
309,
261,
299,
422,
446,
747,
5691,
18,
14963,
2932,
3685,
19,
92,
17,
5591,
17,
687,
17,
19690,
6,
3719,
288,
7734,
501,
273,
394,
3167,
1830,
12,
2011,
16,
629,
1769,
7734,
327,
31,
5411,
289,
27573,
11691,
5064,
273,
394,
11691,
12,
299,
1769,
5411,
368,
657,
326,
2417,
802,
434,
618,
1566,
732,
6750,
518,
358,
506,
977,
19,
2902,
18,
5411,
368,
12466,
4102,
3722,
732,
4565,
12779,
603,
25806,
326,
883,
471,
5411,
368,
2103,
326,
3434,
7757,
5411,
309,
261,
22194,
18,
588,
1662,
2932,
723,
7923,
422,
446,
13,
288,
7734,
5064,
18,
542,
1662,
2932,
723,
3113,
315,
955,
19,
2902,
8863,
5411,
289,
5411,
509,
5064,
548,
273,
9786,
8046,
12,
22194,
1769,
5411,
1250,
353,
12305,
7655,
278,
273,
261,
1745,
11731,
473,
4011,
67,
1157,
9086,
2056,
67,
9651,
13,
405,
374,
31,
5411,
309,
14015,
1745,
11731,
473,
25564,
706,
67,
4201,
67,
9651,
13,
480,
374,
13,
288,
7734,
501,
273,
394,
3167,
1830,
12,
267,
16,
353,
12305,
7655,
278,
1769,
5411,
289,
5411,
469,
309,
14015,
1745,
11731,
473,
13195,
67,
24683,
4928,
67,
9651,
13,
480,
374,
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,
3167,
1079,
12,
13320,
3121,
1607,
16,
727,
5037,
316,
13,
288,
3639,
333,
18,
2485,
273,
1607,
31,
3639,
514,
5691,
273,
446,
31,
3639,
309,
261,
2485,
480,
446,
13,
288,
5411,
5691,
273,
17470,
12,
2485,
1769,
3639,
289,
3639,
775,
288,
5411,
368,
8392,
2706,
590,
5411,
309,
261,
299,
422,
446,
747,
5691,
18,
14963,
2932,
3685,
19,
92,
17,
5591,
17,
687,
17,
19690,
6,
3719,
288,
7734,
501,
273,
394,
3167,
1830,
12,
2011,
16,
629,
1769,
7734,
327,
31,
5411,
289,
27573,
11691,
5064,
273,
394,
11691,
12,
299,
1769,
5411,
368,
657,
326,
2417,
802,
434,
618,
1566,
732,
6750,
518,
358,
506,
977,
19,
2902,
18,
5411,
2
] |
geneList.add(dbItem.getIdentifier());
|
geneList.add(dbEntryItem.getIdentifier());
|
protected void translateBioEntity(Item srcItem, Item tgtItem) throws ObjectStoreException { Item gene = new Item(); Item vector = new Item(); Item synonym = new Item(); String s = null; String identifier = null; //prefetch done if (srcItem.hasReference("type")) { Item item = ItemHelper.convert(srcItemReader.getItemById( srcItem.getReference("type").getRefId())); if (item.hasAttribute("value")) { s = item.getAttribute("value").getValue(); if (s.equals("genomic_DNA")) { tgtItem.setClassName(tgtNs + "NuclearDNA"); } else if (s.equals("cDNA_clone")) { tgtItem.setClassName(tgtNs + "CDNAClone"); } else if (s.equals("vector")) { tgtItem.setClassName(tgtNs + "Vector"); } else { tgtItem = null; } } } // prefetch done if (srcItem.hasCollection("sequenceDatabases")) { ReferenceList rl = srcItem.getCollection("sequenceDatabases"); identifier = null; List geneList = new ArrayList(); List emblList = new ArrayList(); for (Iterator i = rl.getRefIds().iterator(); i.hasNext(); ) { Item dbEntryItem = ItemHelper.convert(srcItemReader. getItemById((String) i.next())); if (dbEntryItem.hasReference("database")) { Item dbItem = ItemHelper.convert(srcItemReader.getItemById( (String) dbEntryItem.getReference("database").getRefId())); String synonymSourceId = dbItem.getIdentifier(); if (dbItem.hasAttribute("name")) { String dbName = dbItem.getAttribute("name").getValue(); String organismDbId = dbEntryItem.getAttribute("accession").getValue(); if (dbName.equals("flybase") && organismDbId.startsWith("FBgn")) { gene = createGene(tgtNs + "Gene", "", dbEntryItem.getIdentifier(), organismDbId); geneList.add(dbItem.getIdentifier()); // } else if (dbName.equals("flybase") && organismDbId.startsWith("FBmc")) { // tgtItem.addAttribute(new Attribute("organismDbId", organismDbId)); } else if (dbName.equals("embl") && dbEntryItem.hasAttribute("accession")) { String accession = dbEntryItem.getAttribute("accession").getValue(); //make sure synonym only create once for same accession if (!synonymAccession.contains(accession)) { emblList.add(dbEntryItem.getIdentifier()); synonym = createSynonym(dbEntryItem, synonymSourceId, srcItem.getIdentifier()); synonymAccession.add(accession); //Set synonymMap.put(dbEntryItem.getIdentifier(), synonym); synonymAccessionMap.put(accession, synonym); } // result.add(synonym); } else { //getDatabaseRef(); } } } } if (!geneList.isEmpty()) { geneSet.add(gene); gene2BioEntity.put(gene.getIdentifier(), srcItem.getIdentifier()); } if (!emblList.isEmpty()) { ReferenceList synonymEmblRl = new ReferenceList("synonyms", emblList); tgtItem.addCollection(synonymEmblRl); } } if (tgtItem != null) { bioEntitySet.add(tgtItem); } }
|
7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/6facc64d84ef54a3065128ae71928eddcc5b8200/MageDataTranslator.java/clean/flymine/model/mage/src/java/org/flymine/dataconversion/MageDataTranslator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
4204,
38,
1594,
1943,
12,
1180,
1705,
1180,
16,
4342,
11680,
1180,
13,
3639,
1216,
1033,
21151,
288,
3639,
4342,
7529,
273,
394,
4342,
5621,
3639,
4342,
3806,
273,
394,
4342,
5621,
3639,
4342,
26308,
273,
394,
4342,
5621,
3639,
514,
272,
273,
446,
31,
3639,
514,
2756,
273,
446,
31,
3639,
368,
1484,
5754,
2731,
3639,
309,
261,
4816,
1180,
18,
5332,
2404,
2932,
723,
6,
3719,
288,
5411,
4342,
761,
273,
4342,
2276,
18,
6283,
12,
4816,
1180,
2514,
18,
588,
1180,
5132,
12,
1171,
9079,
1705,
1180,
18,
588,
2404,
2932,
723,
20387,
588,
1957,
548,
1435,
10019,
5411,
309,
261,
1726,
18,
5332,
1499,
2932,
1132,
6,
3719,
288,
7734,
272,
273,
761,
18,
588,
1499,
2932,
1132,
20387,
24805,
5621,
7734,
309,
261,
87,
18,
14963,
2932,
4507,
24721,
67,
8609,
37,
6,
3719,
288,
10402,
11680,
1180,
18,
542,
3834,
12,
29672,
10386,
397,
315,
50,
89,
8507,
8609,
37,
8863,
7734,
289,
469,
309,
261,
87,
18,
14963,
2932,
71,
8609,
37,
67,
14056,
6,
3719,
288,
10792,
11680,
1180,
18,
542,
3834,
12,
29672,
10386,
397,
315,
39,
8609,
37,
10930,
8863,
7734,
289,
469,
309,
261,
87,
18,
14963,
2932,
7737,
6,
3719,
288,
5397,
11680,
1180,
18,
542,
3834,
12,
29672,
10386,
397,
315,
5018,
8863,
7734,
289,
469,
288,
10792,
11680,
1180,
273,
446,
31,
7734,
289,
5411,
289,
3639,
289,
3639,
368,
17607,
2731,
3639,
309,
261,
4816,
1180,
18,
5332,
2532,
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,
4204,
38,
1594,
1943,
12,
1180,
1705,
1180,
16,
4342,
11680,
1180,
13,
3639,
1216,
1033,
21151,
288,
3639,
4342,
7529,
273,
394,
4342,
5621,
3639,
4342,
3806,
273,
394,
4342,
5621,
3639,
4342,
26308,
273,
394,
4342,
5621,
3639,
514,
272,
273,
446,
31,
3639,
514,
2756,
273,
446,
31,
3639,
368,
1484,
5754,
2731,
3639,
309,
261,
4816,
1180,
18,
5332,
2404,
2932,
723,
6,
3719,
288,
5411,
4342,
761,
273,
4342,
2276,
18,
6283,
12,
4816,
1180,
2514,
18,
588,
1180,
5132,
12,
1171,
9079,
1705,
1180,
18,
588,
2404,
2932,
723,
20387,
588,
1957,
548,
1435,
10019,
5411,
309,
261,
1726,
18,
5332,
1499,
2932,
1132,
6,
3719,
288,
7734,
272,
273,
2
] |
throw new Error ("not implemented");
|
if ((ranges & ~ALL_RANGES) != 0) throw new IllegalArgumentException("argument out of range"); return new NumericShaper(EUROPEAN, ranges);
|
public static NumericShaper getContextualShaper (int ranges) { throw new Error ("not implemented"); }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2fe995482ddd93e201e63c55d9ab773c376aa6f3/NumericShaper.java/clean/core/src/classpath/java/java/awt/font/NumericShaper.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
16980,
1555,
7294,
6474,
1462,
1555,
7294,
261,
474,
7322,
13,
225,
288,
565,
309,
14015,
14530,
473,
4871,
4685,
67,
54,
3388,
3991,
13,
480,
374,
13,
604,
394,
2754,
2932,
3446,
596,
434,
1048,
8863,
327,
394,
16980,
1555,
7294,
12,
41,
1099,
51,
1423,
1258,
16,
7322,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1071,
760,
16980,
1555,
7294,
6474,
1462,
1555,
7294,
261,
474,
7322,
13,
225,
288,
565,
309,
14015,
14530,
473,
4871,
4685,
67,
54,
3388,
3991,
13,
480,
374,
13,
604,
394,
2754,
2932,
3446,
596,
434,
1048,
8863,
327,
394,
16980,
1555,
7294,
12,
41,
1099,
51,
1423,
1258,
16,
7322,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
createClasspath().setRefid(r);
|
createLongClasspath().setRefid(r);
|
public void setClasspathRef(Reference r) { createClasspath().setRefid(r); }
|
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/a3d5e7e1921e2c1c10f6a1e60fdfc19983732097/PMDTask.java/buggy/pmd/src/net/sourceforge/pmd/ant/PMDTask.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
17461,
1957,
12,
2404,
436,
13,
288,
3639,
752,
3708,
17461,
7675,
542,
1957,
350,
12,
86,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
1071,
918,
444,
17461,
1957,
12,
2404,
436,
13,
288,
3639,
752,
3708,
17461,
7675,
542,
1957,
350,
12,
86,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
throws XMLStreamException
|
throws XMLStreamException
|
public void writeDefaultNamespace(String namespaceURI) throws XMLStreamException { if(!isOpen()) throw new XMLStreamException("A start element must be written before the default namespace"); write(" xmlns"); write("=\""); write(namespaceURI); write("\""); setPrefix(DEFAULTNS,namespaceURI); }
|
2047 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2047/a6a8aac939edbbae46f7f79d636745b31b3e4fd3/XMLWriterBase.java/clean/dev/src/com/bea/xml/stream/XMLWriterBase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1045,
1868,
3402,
12,
780,
19421,
13,
565,
1216,
21526,
282,
288,
565,
309,
12,
5,
291,
3678,
10756,
377,
604,
394,
21526,
2932,
37,
787,
930,
1297,
506,
5941,
1865,
326,
805,
1981,
8863,
565,
1045,
2932,
12302,
8863,
565,
1045,
2932,
5189,
8863,
565,
1045,
12,
4937,
3098,
1769,
565,
1045,
2932,
8530,
1769,
565,
444,
2244,
12,
5280,
3156,
16,
4937,
3098,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1045,
1868,
3402,
12,
780,
19421,
13,
565,
1216,
21526,
282,
288,
565,
309,
12,
5,
291,
3678,
10756,
377,
604,
394,
21526,
2932,
37,
787,
930,
1297,
506,
5941,
1865,
326,
805,
1981,
8863,
565,
1045,
2932,
12302,
8863,
565,
1045,
2932,
5189,
8863,
565,
1045,
12,
4937,
3098,
1769,
565,
1045,
2932,
8530,
1769,
565,
444,
2244,
12,
5280,
3156,
16,
4937,
3098,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public void startElement(QName element, XMLAttributes attributes, XSElementDecl elementDecl) throws XNIException { if (DEBUG_METHODS2) { System.out.println(toString()+"#startElement("+ "element={"+element+"},"+ "attributes=..."+attributes+ ")"); } for(int i = 0; i < fLocationPaths.length; i++) { // push context int startStep = fCurrentStep[i]; fStepIndexes[i].push(startStep); // try next xpath, if not matching if (fMatched[i] || fNoMatchDepth[i] > 0) { fNoMatchDepth[i]++; continue; } if (DEBUG_STACK) { System.out.println(toString()+": "+fStepIndexes[i]); } // consume self::node() steps XPath.Step[] steps = fLocationPaths[i].steps; while (fCurrentStep[i] < steps.length && steps[fCurrentStep[i]].axis.type == XPath.Axis.SELF) { if (DEBUG_MATCH) { XPath.Step step = steps[fCurrentStep[i]]; System.out.println(toString()+" [SELF] MATCHED!"); } fCurrentStep[i]++; } if (fCurrentStep[i] == steps.length) { if (DEBUG_MATCH) { System.out.println(toString()+" XPath MATCHED!"); } fMatched[i] = true; int j=0; for(; j<i && !fMatched[j]; j++); if(j==i) fBufferContent = fShouldBufferContent; continue; } // now if the current step is a descendant step, we let the next // step do its thing; if it fails, we reset ourselves // to look at this step for next time we're called. // so first consume all descendants: int descendantStep = fCurrentStep[i]; while(fCurrentStep[i] < steps.length && steps[fCurrentStep[i]].axis.type == XPath.Axis.DESCENDANT) { if (DEBUG_MATCH) { XPath.Step step = steps[fCurrentStep[i]]; System.out.println(toString()+" [DESCENDANT] MATCHED!"); } fCurrentStep[i]++; } if (fCurrentStep[i] == steps.length) { if (DEBUG_MATCH) { System.out.println(toString()+" XPath DIDN'T MATCH!"); } fNoMatchDepth[i]++; if (DEBUG_MATCH) { System.out.println(toString()+" [CHILD] after NO MATCH"); } continue; } // match child::... step, if haven't consumed any self::node() if ((fCurrentStep[i] == startStep || fCurrentStep[i] > descendantStep) && steps[fCurrentStep[i]].axis.type == XPath.Axis.CHILD) { XPath.Step step = steps[fCurrentStep[i]]; XPath.NodeTest nodeTest = step.nodeTest; if (DEBUG_MATCH) { System.out.println(toString()+" [CHILD] before"); } if (nodeTest.type == XPath.NodeTest.QNAME) { if (!nodeTest.name.equals(element)) { if(fCurrentStep[i] > descendantStep) { fCurrentStep[i] = descendantStep; continue; } fNoMatchDepth[i]++; if (DEBUG_MATCH) { System.out.println(toString()+" [CHILD] after NO MATCH"); } continue; } } fCurrentStep[i]++; if (DEBUG_MATCH) { System.out.println(toString()+" [CHILD] after MATCHED!"); } } if (fCurrentStep[i] == steps.length) { fMatched[i] = true; int j=0; for(; j<i && !fMatched[j]; j++); if(j==i) fBufferContent = fShouldBufferContent; continue; } // match attribute::... step if (fCurrentStep[i] < steps.length && steps[fCurrentStep[i]].axis.type == XPath.Axis.ATTRIBUTE) { if (DEBUG_MATCH) { System.out.println(toString()+" [ATTRIBUTE] before"); } int attrCount = attributes.getLength(); if (attrCount > 0) { XPath.NodeTest nodeTest = steps[fCurrentStep[i]].nodeTest; QName aname = new QName(); // REVISIT: cache this // Get the list of attributes from the element decl. // REVISIT - is this correct? This is what was done in xerces-1, // but is it right? XSAttributeGroupDecl attrGrp = null; if (elementDecl != null) { XSTypeDecl type = elementDecl.fType; if (type != null) { if (type.getXSType() == XSTypeDecl.COMPLEX_TYPE) { XSComplexTypeDecl ctype = (XSComplexTypeDecl)type; attrGrp = ctype.fAttrGrp; } } } for (int aindex = 0; aindex < attrCount; aindex++) { attributes.getName(aindex, aname); if (nodeTest.type != XPath.NodeTest.QNAME || nodeTest.name.equals(aname)) { fCurrentStep[i]++; if (fCurrentStep[i] == steps.length) { fMatched[i] = true; int j=0; for(; j<i && !fMatched[j]; j++); if(j==i) { String avalue = attributes.getValue(aindex); fMatchedString = avalue; // now, we have to go on the hunt for // datatype validator; not an easy or pleasant task... DatatypeValidator aValidator = null; if (attrGrp != null) { XSAttributeUse tempAttUse = attrGrp.getAttributeUse(aname.uri, aname.localpart); if (tempAttUse != null) { XSAttributeDecl tempAttDecl = tempAttUse.fAttrDecl; aValidator = tempAttDecl.fType; } } matched(fMatchedString, aValidator, false); } } break; } } } if (!fMatched[i]) { if(fCurrentStep[i] > descendantStep) { fCurrentStep[i] = descendantStep; continue; } fNoMatchDepth[i]++; if (DEBUG_MATCH) { System.out.println(toString()+" [ATTRIBUTE] after"); } continue; } if (DEBUG_MATCH) { System.out.println(toString()+" [ATTRIBUTE] after MATCHED!"); } } } } // startElement(QName,XMLAttrList,int)
|
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/5b0cf65d1d2e090172d69189c96c522d6a30ac2c/XPathMatcher.java/buggy/src/org/apache/xerces/impl/xs/identity/XPathMatcher.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
13591,
12,
13688,
930,
16,
3167,
2498,
1677,
16,
17311,
1139,
55,
1046,
3456,
930,
3456,
13,
540,
1216,
1139,
50,
45,
503,
288,
3639,
309,
261,
9394,
67,
25750,
22,
13,
288,
5411,
2332,
18,
659,
18,
8222,
12,
10492,
1435,
9078,
7,
1937,
1046,
2932,
15,
1171,
9079,
315,
2956,
5899,
6,
15,
2956,
9078,
5779,
6,
15,
1171,
9079,
315,
4350,
33,
7070,
15,
4350,
15,
1171,
9079,
7310,
1769,
3639,
289,
3639,
364,
12,
474,
277,
273,
374,
31,
277,
411,
284,
2735,
4466,
18,
2469,
31,
277,
27245,
288,
5411,
368,
1817,
819,
2398,
509,
787,
4160,
273,
284,
3935,
4160,
63,
77,
15533,
5411,
284,
4160,
8639,
63,
77,
8009,
6206,
12,
1937,
4160,
1769,
5411,
368,
775,
1024,
6748,
16,
309,
486,
3607,
5411,
309,
261,
74,
15400,
63,
77,
65,
747,
284,
2279,
2060,
6148,
63,
77,
65,
405,
374,
13,
288,
7734,
284,
2279,
2060,
6148,
63,
77,
3737,
15,
31,
7734,
1324,
31,
5411,
289,
5411,
309,
261,
9394,
67,
21971,
13,
288,
7734,
2332,
18,
659,
18,
8222,
12,
10492,
1435,
15,
6877,
13773,
74,
4160,
8639,
63,
77,
19226,
5411,
289,
5411,
368,
7865,
365,
2866,
2159,
1435,
6075,
5411,
10172,
18,
4160,
8526,
6075,
273,
284,
2735,
4466,
63,
77,
8009,
8986,
31,
5411,
1323,
261,
74,
3935,
4160,
63,
77,
65,
411,
6075,
18,
2469,
597,
5397,
6075,
63,
74,
3935,
4160,
63,
77,
65,
8009,
4890,
18,
723,
422,
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,
13591,
12,
13688,
930,
16,
3167,
2498,
1677,
16,
17311,
1139,
55,
1046,
3456,
930,
3456,
13,
540,
1216,
1139,
50,
45,
503,
288,
3639,
309,
261,
9394,
67,
25750,
22,
13,
288,
5411,
2332,
18,
659,
18,
8222,
12,
10492,
1435,
9078,
7,
1937,
1046,
2932,
15,
1171,
9079,
315,
2956,
5899,
6,
15,
2956,
9078,
5779,
6,
15,
1171,
9079,
315,
4350,
33,
7070,
15,
4350,
15,
1171,
9079,
7310,
1769,
3639,
289,
3639,
364,
12,
474,
277,
273,
374,
31,
277,
411,
284,
2735,
4466,
18,
2469,
31,
277,
27245,
288,
5411,
368,
1817,
819,
2398,
509,
787,
4160,
273,
284,
3935,
4160,
63,
77,
15533,
5411,
284,
4160,
8639,
63,
77,
8009,
2
] |
||
private double jsFunction_getYear(Context cx) { if (this.date != this.date) return this.date;
|
private static double jsFunction_getYear(Context cx, double date) {
|
private double jsFunction_getYear(Context cx) { if (this.date != this.date) return this.date; int result = YearFromTime(LocalTime(this.date)); /* * During the great date rewrite of 1.3, we tried to track the * evolving ECMA standard, which then had a definition of * getYear which always subtracted 1900. Which we * implemented, not realizing that it was incompatible with * the old behavior... now, rather than thrash the behavior * yet again, we've decided to leave it with the - 1900 * behavior and point people to the getFullYear method. But * we try to protect existing scripts that have specified a * version... */ int version = cx.getLanguageVersion(); if (version == Context.VERSION_1_0 || version == Context.VERSION_1_1 || version == Context.VERSION_1_2) { if (result >= 1900 && result < 2000) result -= 1900; } else { result -= 1900; } return result; }
|
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/dbefc5595ba41854ec04751abfc8db52f70a5796/NativeDate.java/buggy/src/org/mozilla/javascript/NativeDate.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1645,
3828,
2083,
67,
588,
5593,
12,
1042,
9494,
13,
288,
3639,
309,
261,
2211,
18,
712,
480,
333,
18,
712,
13,
5411,
327,
333,
18,
712,
31,
3639,
509,
563,
273,
16666,
1265,
950,
12,
2042,
950,
12,
2211,
18,
712,
10019,
3639,
1748,
540,
380,
463,
4017,
326,
18825,
1509,
10738,
434,
404,
18,
23,
16,
732,
12928,
358,
3298,
326,
540,
380,
2113,
355,
6282,
7773,
5535,
4529,
16,
1492,
1508,
9323,
279,
2379,
434,
540,
380,
30071,
1492,
3712,
10418,
329,
5342,
713,
18,
225,
21918,
732,
540,
380,
8249,
16,
486,
2863,
6894,
716,
518,
1703,
24430,
598,
540,
380,
326,
1592,
6885,
2777,
225,
2037,
16,
9178,
2353,
29142,
961,
326,
6885,
540,
380,
4671,
3382,
16,
732,
8081,
2109,
13898,
358,
8851,
518,
598,
326,
300,
5342,
713,
540,
380,
6885,
471,
1634,
16951,
358,
326,
31955,
707,
18,
225,
12484,
540,
380,
732,
775,
358,
17151,
2062,
8873,
716,
1240,
1269,
279,
540,
380,
1177,
2777,
540,
1195,
3639,
509,
1177,
273,
9494,
18,
588,
3779,
1444,
5621,
3639,
309,
261,
1589,
422,
1772,
18,
5757,
67,
21,
67,
20,
747,
5411,
1177,
422,
1772,
18,
5757,
67,
21,
67,
21,
747,
5411,
1177,
422,
1772,
18,
5757,
67,
21,
67,
22,
13,
3639,
288,
5411,
309,
261,
2088,
1545,
5342,
713,
597,
563,
411,
16291,
13,
7734,
563,
3947,
5342,
713,
31,
3639,
289,
469,
288,
5411,
563,
3947,
5342,
713,
31,
3639,
289,
3639,
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,
377,
3238,
1645,
3828,
2083,
67,
588,
5593,
12,
1042,
9494,
13,
288,
3639,
309,
261,
2211,
18,
712,
480,
333,
18,
712,
13,
5411,
327,
333,
18,
712,
31,
3639,
509,
563,
273,
16666,
1265,
950,
12,
2042,
950,
12,
2211,
18,
712,
10019,
3639,
1748,
540,
380,
463,
4017,
326,
18825,
1509,
10738,
434,
404,
18,
23,
16,
732,
12928,
358,
3298,
326,
540,
380,
2113,
355,
6282,
7773,
5535,
4529,
16,
1492,
1508,
9323,
279,
2379,
434,
540,
380,
30071,
1492,
3712,
10418,
329,
5342,
713,
18,
225,
21918,
732,
540,
380,
8249,
16,
486,
2863,
6894,
716,
518,
1703,
24430,
598,
540,
380,
326,
1592,
6885,
2777,
225,
2037,
16,
9178,
2353,
29142,
961,
326,
2
] |
public BinaryExpr createMultiplicativeExpr(Expr lhs, Expr rhs, int multiplicativeOperator) throws JaxenException { switch ( multiplicativeOperator ) { case MULTIPLY: { return new DefaultMultiplyExpr( lhs, rhs ); } case DIV: { return new DefaultDivExpr( lhs, rhs ); } case MOD: { return new DefaultModExpr( lhs, rhs ); } } throw new JaxenException( "Unhandled operator in createMultiplicativeExpr(): " + multiplicativeOperator ); }
|
12974 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12974/b2b8245c3f10c560d442911f2a4a99b31d6e660f/DefaultXPathFactory.java/clean/src/java/main/org/jaxen/expr/DefaultXPathFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
5905,
4742,
2640,
5002,
28884,
4742,
12,
4742,
80,
4487,
16,
2966,
523,
4487,
16,
474,
7027,
28884,
5592,
13,
15069,
46,
651,
275,
503,
95,
9610,
12,
7027,
28884,
5592,
15329,
3593,
24683,
7076,
18611,
2463,
2704,
1868,
26040,
4742,
12,
80,
4487,
16,
86,
4487,
1769,
97,
3593,
31901,
18611,
2463,
2704,
1868,
7244,
4742,
12,
80,
4487,
16,
86,
4487,
1769,
97,
3593,
6720,
18611,
2463,
2704,
1868,
1739,
4742,
12,
80,
4487,
16,
86,
4487,
1769,
9090,
12849,
2704,
46,
651,
275,
503,
2932,
26952,
9497,
267,
2640,
5002,
28884,
4742,
1435,
2773,
15,
7027,
28884,
5592,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1071,
5905,
4742,
2640,
5002,
28884,
4742,
12,
4742,
80,
4487,
16,
2966,
523,
4487,
16,
474,
7027,
28884,
5592,
13,
15069,
46,
651,
275,
503,
95,
9610,
12,
7027,
28884,
5592,
15329,
3593,
24683,
7076,
18611,
2463,
2704,
1868,
26040,
4742,
12,
80,
4487,
16,
86,
4487,
1769,
97,
3593,
31901,
18611,
2463,
2704,
1868,
7244,
4742,
12,
80,
4487,
16,
86,
4487,
1769,
97,
3593,
6720,
18611,
2463,
2704,
1868,
1739,
4742,
12,
80,
4487,
16,
86,
4487,
1769,
9090,
12849,
2704,
46,
651,
275,
503,
2932,
26952,
9497,
267,
2640,
5002,
28884,
4742,
1435,
2773,
15,
7027,
28884,
5592,
1769,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
if (importsInit)
|
if ((loaderFlags & FLAG_IMPORTSINIT) != 0)
|
private synchronized void addImportedPackages(ExportPackageDescription[] packages) { if (importsInit) return; if (packages != null && packages.length > 0) { if (importedSources == null) importedSources = new KeyedHashSet(packages.length, false); for (int i = 0; i < packages.length; i++) { PackageSource source = createExportPackageSource(packages[i]); if (source != null) importedSources.add(source); } } importsInit = true; }
|
2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/6f026e7f127541b98c72ab57387cf74fdbc59dd6/BundleLoader.java/buggy/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/BundleLoader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
3852,
918,
527,
24934,
11425,
12,
6144,
2261,
3291,
8526,
5907,
13,
288,
202,
202,
430,
261,
21350,
2570,
13,
1082,
202,
2463,
31,
202,
202,
430,
261,
10308,
480,
446,
597,
5907,
18,
2469,
405,
374,
13,
288,
1082,
202,
430,
261,
29266,
8628,
422,
446,
13,
9506,
202,
29266,
8628,
273,
394,
1929,
329,
13482,
12,
10308,
18,
2469,
16,
629,
1769,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
5907,
18,
2469,
31,
277,
27245,
288,
9506,
202,
2261,
1830,
1084,
273,
752,
6144,
2261,
1830,
12,
10308,
63,
77,
19226,
9506,
202,
430,
261,
3168,
480,
446,
13,
6862,
202,
29266,
8628,
18,
1289,
12,
3168,
1769,
1082,
202,
97,
202,
202,
97,
202,
202,
21350,
2570,
273,
638,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
3852,
918,
527,
24934,
11425,
12,
6144,
2261,
3291,
8526,
5907,
13,
288,
202,
202,
430,
261,
21350,
2570,
13,
1082,
202,
2463,
31,
202,
202,
430,
261,
10308,
480,
446,
597,
5907,
18,
2469,
405,
374,
13,
288,
1082,
202,
430,
261,
29266,
8628,
422,
446,
13,
9506,
202,
29266,
8628,
273,
394,
1929,
329,
13482,
12,
10308,
18,
2469,
16,
629,
1769,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
5907,
18,
2469,
31,
277,
27245,
288,
9506,
202,
2261,
1830,
1084,
273,
752,
6144,
2261,
1830,
12,
10308,
63,
77,
19226,
9506,
202,
430,
261,
3168,
480,
446,
13,
6862,
202,
29266,
8628,
18,
1289,
12,
3168,
1769,
1082,
202,
2
] |
destinationBrowseButton = new Button(destinationSelectionGroup, SWT.PUSH); destinationBrowseButton.setText(PreferencesMessages .getString("PreferencesExport.browse")); destinationBrowseButton.setLayoutData(new GridData( GridData.HORIZONTAL_ALIGN_FILL)); destinationBrowseButton.addListener(SWT.Selection, this);
|
destinationBrowseButton = new Button(destinationSelectionGroup, SWT.PUSH); destinationBrowseButton.setText(PreferencesMessages .getString("PreferencesExport.browse")); destinationBrowseButton.setLayoutData(new GridData( GridData.HORIZONTAL_ALIGN_FILL)); destinationBrowseButton.addListener(SWT.Selection, this);
|
protected void createDestinationGroup(Composite parent) { // destination specification group Composite destinationSelectionGroup = new Composite(parent, SWT.NONE); GridLayout layout = new GridLayout(); layout.numColumns = 3; destinationSelectionGroup.setLayout(layout); destinationSelectionGroup.setLayoutData(new GridData( GridData.HORIZONTAL_ALIGN_FILL | GridData.VERTICAL_ALIGN_FILL)); new Label(destinationSelectionGroup, SWT.NONE) .setText(getDestinationLabel()); // destination name entry field destinationNameField = new Combo(destinationSelectionGroup, SWT.SINGLE | SWT.BORDER); destinationNameField.addListener(SWT.Modify, this); destinationNameField.addListener(SWT.Selection, this); GridData data = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL); destinationNameField.setLayoutData(data); // destination browse button destinationBrowseButton = new Button(destinationSelectionGroup, SWT.PUSH); destinationBrowseButton.setText(PreferencesMessages .getString("PreferencesExport.browse")); //$NON-NLS-1$ destinationBrowseButton.setLayoutData(new GridData( GridData.HORIZONTAL_ALIGN_FILL)); destinationBrowseButton.addListener(SWT.Selection, this); new Label(parent, SWT.NONE); // vertical spacer }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/07624c67770db65cb83e43199aa059a496edb575/WizardPreferencesPage.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/preferences/WizardPreferencesPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
752,
5683,
1114,
12,
9400,
982,
13,
288,
202,
202,
759,
2929,
7490,
1041,
202,
202,
9400,
2929,
6233,
1114,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
202,
202,
6313,
3744,
3511,
273,
394,
7145,
3744,
5621,
202,
202,
6741,
18,
2107,
3380,
273,
890,
31,
202,
202,
10590,
6233,
1114,
18,
542,
3744,
12,
6741,
1769,
202,
202,
10590,
6233,
1114,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
9506,
202,
6313,
751,
18,
44,
20344,
67,
26439,
67,
29818,
571,
7145,
751,
18,
21654,
10109,
67,
26439,
67,
29818,
10019,
202,
202,
2704,
5287,
12,
10590,
6233,
1114,
16,
348,
8588,
18,
9826,
13,
9506,
202,
18,
542,
1528,
12,
588,
5683,
2224,
10663,
202,
202,
759,
2929,
508,
1241,
652,
202,
202,
10590,
461,
974,
273,
394,
1286,
1075,
12,
10590,
6233,
1114,
16,
348,
8588,
18,
20184,
9506,
202,
96,
348,
8588,
18,
38,
7954,
1769,
202,
202,
10590,
461,
974,
18,
1289,
2223,
12,
55,
8588,
18,
11047,
16,
333,
1769,
202,
202,
10590,
461,
974,
18,
1289,
2223,
12,
55,
8588,
18,
6233,
16,
333,
1769,
202,
202,
6313,
751,
501,
273,
394,
7145,
751,
12,
6313,
751,
18,
44,
20344,
67,
26439,
67,
29818,
9506,
202,
96,
7145,
751,
18,
6997,
2090,
67,
44,
20344,
1769,
202,
202,
10590,
461,
974,
18,
542,
3744,
751,
12,
892,
1769,
202,
202,
759,
2929,
21670,
3568,
202,
202,
10590,
27304,
3616,
273,
394,
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,
752,
5683,
1114,
12,
9400,
982,
13,
288,
202,
202,
759,
2929,
7490,
1041,
202,
202,
9400,
2929,
6233,
1114,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
202,
202,
6313,
3744,
3511,
273,
394,
7145,
3744,
5621,
202,
202,
6741,
18,
2107,
3380,
273,
890,
31,
202,
202,
10590,
6233,
1114,
18,
542,
3744,
12,
6741,
1769,
202,
202,
10590,
6233,
1114,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
9506,
202,
6313,
751,
18,
44,
20344,
67,
26439,
67,
29818,
571,
7145,
751,
18,
21654,
10109,
67,
26439,
67,
29818,
10019,
202,
202,
2704,
5287,
12,
10590,
6233,
1114,
16,
348,
8588,
18,
9826,
13,
9506,
202,
18,
542,
2
] |
metaInfHolder.setMinExclusiveFacet(Integer.parseInt(minEx.toString()));
|
metaInfHolder.setMinExclusiveFacet(Integer.parseInt(minEx.getValue().toString()));
|
private void processFacets(XmlSchemaObjectCollection facets,BeanWriterMetaInfoHolder metaInfHolder) { Iterator facetIterator = facets.getIterator(); while (facetIterator.hasNext()) { Object obj = facetIterator.next(); if ( obj instanceof XmlSchemaPatternFacet ) { XmlSchemaPatternFacet pattern = (XmlSchemaPatternFacet) obj; metaInfHolder.setPatternFacet(pattern.getValue().toString()); } else if ( obj instanceof XmlSchemaEnumerationFacet ) { XmlSchemaEnumerationFacet enumeration = (XmlSchemaEnumerationFacet) obj; metaInfHolder.addEnumFacet(enumeration.getValue().toString()); } else if ( obj instanceof XmlSchemaLengthFacet ) { XmlSchemaLengthFacet length = (XmlSchemaLengthFacet) obj; metaInfHolder.setLengthFacet(Integer.parseInt(length.toString())); } else if ( obj instanceof XmlSchemaMaxExclusiveFacet ) { XmlSchemaMaxExclusiveFacet maxEx = (XmlSchemaMaxExclusiveFacet) obj; metaInfHolder.setMaxExclusiveFacet(Integer.parseInt(maxEx.toString())); } else if ( obj instanceof XmlSchemaMinExclusiveFacet ) { XmlSchemaMinExclusiveFacet minEx = (XmlSchemaMinExclusiveFacet) obj; metaInfHolder.setMinExclusiveFacet(Integer.parseInt(minEx.toString())); } else if ( obj instanceof XmlSchemaMaxInclusiveFacet ) { XmlSchemaMaxInclusiveFacet maxIn = (XmlSchemaMaxInclusiveFacet) obj; metaInfHolder.setMaxInclusiveFacet(Integer.parseInt(maxIn.toString())); } else if ( obj instanceof XmlSchemaMinInclusiveFacet ) { XmlSchemaMinInclusiveFacet minIn = (XmlSchemaMinInclusiveFacet) obj; metaInfHolder.setMinInclusiveFacet(Integer.parseInt(minIn.toString())); } else if ( obj instanceof XmlSchemaMaxLengthFacet ) { XmlSchemaMaxLengthFacet maxLen = (XmlSchemaMaxLengthFacet) obj; metaInfHolder.setMaxLengthFacet(Integer.parseInt(maxLen.toString())); } else if ( obj instanceof XmlSchemaMinLengthFacet ) { XmlSchemaMinLengthFacet minLen = (XmlSchemaMinLengthFacet) obj; metaInfHolder.setMinLengthFacet(Integer.parseInt(minLen.toString())); } } }
|
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/c6125bae67fe8711f404dee2009076e2a5679db2/SchemaCompiler.java/clean/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
6645,
2413,
12,
4432,
3078,
921,
2532,
21681,
16,
3381,
2289,
2781,
966,
6064,
2191,
13149,
6064,
13,
288,
377,
202,
377,
202,
3198,
11082,
3198,
273,
21681,
18,
588,
3198,
5621,
9506,
202,
17523,
261,
21568,
3198,
18,
5332,
2134,
10756,
288,
5411,
1033,
1081,
273,
11082,
3198,
18,
4285,
5621,
13491,
309,
261,
1081,
1276,
5714,
3078,
3234,
11137,
262,
288,
9506,
202,
4432,
3078,
3234,
11137,
1936,
273,
261,
4432,
3078,
3234,
11137,
13,
1081,
31,
9506,
202,
3901,
13149,
6064,
18,
542,
3234,
11137,
12,
4951,
18,
24805,
7675,
10492,
10663,
1082,
202,
97,
2398,
1082,
202,
12107,
309,
261,
1081,
1276,
5714,
3078,
21847,
11137,
262,
288,
9506,
202,
4432,
3078,
21847,
11137,
16836,
273,
261,
4432,
3078,
21847,
11137,
13,
1081,
31,
9506,
202,
3901,
13149,
6064,
18,
1289,
3572,
11137,
12,
7924,
7067,
18,
24805,
7675,
10492,
10663,
1082,
202,
97,
25083,
202,
12107,
309,
261,
1081,
1276,
5714,
3078,
1782,
11137,
262,
288,
9506,
202,
4432,
3078,
1782,
11137,
769,
273,
261,
4432,
3078,
1782,
11137,
13,
1081,
31,
9506,
202,
3901,
13149,
6064,
18,
542,
1782,
11137,
12,
4522,
18,
2670,
1702,
12,
2469,
18,
10492,
1435,
10019,
1082,
202,
97,
25083,
202,
12107,
309,
261,
1081,
1276,
5714,
3078,
2747,
17075,
11137,
262,
288,
9506,
202,
4432,
3078,
2747,
17075,
11137,
943,
424,
273,
261,
4432,
3078,
2747,
17075,
11137,
13,
1081,
31,
9506,
202,
3901,
13149,
6064,
18,
542,
2747,
17075,
11137,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
6645,
2413,
12,
4432,
3078,
921,
2532,
21681,
16,
3381,
2289,
2781,
966,
6064,
2191,
13149,
6064,
13,
288,
377,
202,
377,
202,
3198,
11082,
3198,
273,
21681,
18,
588,
3198,
5621,
9506,
202,
17523,
261,
21568,
3198,
18,
5332,
2134,
10756,
288,
5411,
1033,
1081,
273,
11082,
3198,
18,
4285,
5621,
13491,
309,
261,
1081,
1276,
5714,
3078,
3234,
11137,
262,
288,
9506,
202,
4432,
3078,
3234,
11137,
1936,
273,
261,
4432,
3078,
3234,
11137,
13,
1081,
31,
9506,
202,
3901,
13149,
6064,
18,
542,
3234,
11137,
12,
4951,
18,
24805,
7675,
10492,
10663,
1082,
202,
97,
2398,
1082,
202,
12107,
309,
261,
1081,
1276,
5714,
3078,
21847,
11137,
262,
288,
9506,
202,
4432,
2
] |
} else { parameters[0] = ConvertUtils.convert(((String[]) value)[0], parameterTypes[0]);
|
public static void populate(Object bean, Map properties) throws IllegalAccessException, InvocationTargetException { if ((bean == null) || (properties == null)) return; // Identify the property descriptors supported by our JavaBean PropertyDescriptor descriptors[] = PropertyUtils.getPropertyDescriptors(bean); if (descriptors.length < 1) return; // Loop through the property name/value pairs to be set Iterator names = properties.keySet().iterator(); while (names.hasNext()) { // Identify the property name and value(s) to be assigned String name = (String) names.next(); Object value = properties.get(name); // String or String[] if (value == null) continue; // Identify the relevant setter method (if there is one) Method setter = null; Class parameterTypes[] = null; for (int i = 0; i < descriptors.length; i++) { if (!name.equals(descriptors[i].getName())) continue; setter = descriptors[i].getWriteMethod(); if (setter == null) continue; parameterTypes = setter.getParameterTypes(); if (parameterTypes.length != 1) { setter = null; continue; } break; } if (setter == null) continue; // Convert the parameter value as required for this setter method Object parameters[] = new Object[1]; if (parameterTypes[0].isArray()) { if (value instanceof String) { String values[] = new String[1]; values[0] = (String) value; parameters[0] = ConvertUtils.convert((String[]) values, parameterTypes[0]); } else { parameters[0] = ConvertUtils.convert((String[]) value, parameterTypes[0]); } } else { if (value instanceof String) { parameters[0] = ConvertUtils.convert((String) value, parameterTypes[0]); } else if (value instanceof FormFile) { parameters[0] = value; } else { parameters[0] = ConvertUtils.convert(((String[]) value)[0], parameterTypes[0]); } } // Invoke the setter method setter.invoke(bean, parameters); } }
|
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/e2dd2444a8b3e24355352a068345621a879c7004/BeanUtils.java/buggy/src/share/org/apache/struts/util/BeanUtils.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
6490,
12,
921,
3931,
16,
1635,
1790,
13,
3639,
1216,
11900,
16,
15342,
288,
3639,
309,
14015,
14496,
422,
446,
13,
747,
261,
4738,
422,
446,
3719,
5411,
327,
31,
3639,
368,
25622,
326,
1272,
14215,
3260,
635,
3134,
5110,
3381,
3639,
26761,
14215,
8526,
273,
5411,
4276,
1989,
18,
588,
1396,
12705,
12,
14496,
1769,
3639,
309,
261,
72,
8379,
18,
2469,
411,
404,
13,
5411,
327,
31,
3639,
368,
9720,
3059,
326,
1272,
508,
19,
1132,
5574,
358,
506,
444,
3639,
4498,
1257,
273,
1790,
18,
856,
694,
7675,
9838,
5621,
3639,
1323,
261,
1973,
18,
5332,
2134,
10756,
288,
5411,
368,
25622,
326,
1272,
508,
471,
460,
12,
87,
13,
358,
506,
6958,
5411,
514,
508,
273,
261,
780,
13,
1257,
18,
4285,
5621,
5411,
1033,
460,
273,
1790,
18,
588,
12,
529,
1769,
202,
759,
514,
578,
514,
8526,
5411,
309,
261,
1132,
422,
446,
13,
7734,
1324,
31,
5411,
368,
25622,
326,
9368,
7794,
707,
261,
430,
1915,
353,
1245,
13,
5411,
2985,
7794,
273,
446,
31,
5411,
1659,
20173,
8526,
273,
446,
31,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
14215,
18,
2469,
31,
277,
27245,
288,
7734,
309,
16051,
529,
18,
14963,
12,
72,
8379,
63,
77,
8009,
17994,
1435,
3719,
10792,
1324,
31,
7734,
7794,
273,
14215,
63,
77,
8009,
588,
3067,
1305,
5621,
7734,
309,
261,
18062,
422,
446,
13,
10792,
1324,
31,
7734,
20173,
273,
7794,
18,
588,
1662,
2016,
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,
6490,
12,
921,
3931,
16,
1635,
1790,
13,
3639,
1216,
11900,
16,
15342,
288,
3639,
309,
14015,
14496,
422,
446,
13,
747,
261,
4738,
422,
446,
3719,
5411,
327,
31,
3639,
368,
25622,
326,
1272,
14215,
3260,
635,
3134,
5110,
3381,
3639,
26761,
14215,
8526,
273,
5411,
4276,
1989,
18,
588,
1396,
12705,
12,
14496,
1769,
3639,
309,
261,
72,
8379,
18,
2469,
411,
404,
13,
5411,
327,
31,
3639,
368,
9720,
3059,
326,
1272,
508,
19,
1132,
5574,
358,
506,
444,
3639,
4498,
1257,
273,
1790,
18,
856,
694,
7675,
9838,
5621,
3639,
1323,
261,
1973,
18,
5332,
2134,
10756,
288,
5411,
368,
25622,
326,
1272,
508,
471,
460,
12,
87,
13,
358,
506,
2
] |
|
myCallback.run(myElements);
|
myCard.show(myCardContainer, card);
|
public void run() { myCallback.run(myElements); }
|
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/7e44010c95a80f7dacdf0dc0d0e135e7040b8081/ChooseByNameBase.java/clean/source/com/intellij/ide/util/gotoByName/ChooseByNameBase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
1850,
3399,
6415,
18,
4500,
12,
4811,
6415,
2170,
16,
5270,
1769,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
1850,
3399,
6415,
18,
4500,
12,
4811,
6415,
2170,
16,
5270,
1769,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (!closeparent) --renderindex;
|
if (!closeparent && lumps[renderindex].rsfID == null) --renderindex;
|
public static int dumpScan(XMLLump[] lumps, int renderindex, int basedepth, PrintOutputStream target, boolean closeparent) { int start = lumps[renderindex].start; char[] buffer = lumps[renderindex].buffer; while (true) { if (renderindex == lumps.length) break; XMLLump lump = lumps[renderindex]; if (lump.rsfID != null || lump.nestingdepth < basedepth) break;// target.print(lump.text); ++renderindex; } // ASSUMPTIONS: close tags are ONE LUMP if (!closeparent) --renderindex; int limit = (renderindex == lumps.length? buffer.length : lumps[renderindex].start); target.write(buffer, start, limit - start); return renderindex; }
|
45809 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45809/c4f2507d8290de63ab4dce95d536329006444337/RenderUtil.java/clean/src/uk/org/ponder/rsf/renderer/RenderUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
509,
4657,
7972,
12,
4201,
48,
2801,
8526,
328,
23868,
16,
509,
1743,
1615,
16,
509,
1026,
5979,
16,
3639,
3038,
4632,
1018,
16,
1250,
1746,
2938,
13,
288,
565,
509,
787,
273,
328,
23868,
63,
5902,
1615,
8009,
1937,
31,
565,
1149,
8526,
1613,
273,
328,
23868,
63,
5902,
1615,
8009,
4106,
31,
565,
1323,
261,
3767,
13,
288,
1377,
309,
261,
5902,
1615,
422,
328,
23868,
18,
2469,
13,
898,
31,
1377,
3167,
48,
2801,
328,
2801,
273,
328,
23868,
63,
5902,
1615,
15533,
1377,
309,
261,
80,
2801,
18,
5453,
74,
734,
480,
446,
747,
328,
2801,
18,
82,
10100,
5979,
411,
1026,
5979,
13,
898,
31,
759,
1377,
1018,
18,
1188,
12,
80,
2801,
18,
955,
1769,
1377,
965,
5902,
1615,
31,
565,
289,
565,
368,
17289,
2799,
3725,
55,
30,
1746,
2342,
854,
15623,
511,
23942,
565,
309,
16051,
4412,
2938,
597,
328,
23868,
63,
5902,
1615,
8009,
5453,
74,
734,
422,
446,
13,
1493,
5902,
1615,
31,
565,
509,
1800,
273,
261,
5902,
1615,
422,
328,
23868,
18,
2469,
35,
1613,
18,
2469,
294,
328,
23868,
63,
5902,
1615,
8009,
1937,
1769,
565,
1018,
18,
2626,
12,
4106,
16,
787,
16,
1800,
300,
787,
1769,
565,
327,
1743,
1615,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
509,
4657,
7972,
12,
4201,
48,
2801,
8526,
328,
23868,
16,
509,
1743,
1615,
16,
509,
1026,
5979,
16,
3639,
3038,
4632,
1018,
16,
1250,
1746,
2938,
13,
288,
565,
509,
787,
273,
328,
23868,
63,
5902,
1615,
8009,
1937,
31,
565,
1149,
8526,
1613,
273,
328,
23868,
63,
5902,
1615,
8009,
4106,
31,
565,
1323,
261,
3767,
13,
288,
1377,
309,
261,
5902,
1615,
422,
328,
23868,
18,
2469,
13,
898,
31,
1377,
3167,
48,
2801,
328,
2801,
273,
328,
23868,
63,
5902,
1615,
15533,
1377,
309,
261,
80,
2801,
18,
5453,
74,
734,
480,
446,
747,
328,
2801,
18,
82,
10100,
5979,
411,
1026,
5979,
13,
898,
31,
759,
1377,
1018,
18,
1188,
12,
2
] |
sig.append(" volatile");
|
sig.append(" volatile");
|
public String getTemplateSignature() { StringBuffer sig = new StringBuffer(getElementName()); if(getNumberOfTemplateParameters() > 0){ sig.append("<"); String[] paramTypes = getTemplateParameterTypes(); int i = 0; sig.append(paramTypes[i++]); while (i < paramTypes.length){ sig.append(", "); sig.append(paramTypes[i++]); } sig.append(">"); } else{ sig.append("<>"); } sig.append(this.getParameterClause()); if(isConst()) sig.append(" const"); if(isVolatile()) sig.append(" volatile"); if((this.getReturnType() != null) && (this.getReturnType().length() > 0)){ sig.append(" : "); sig.append(this.getReturnType()); } return sig.toString(); }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/6caa13a5b115851feae4e30a71898b7083f7e02f/MethodTemplate.java/buggy/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/MethodTemplate.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
10646,
5374,
1435,
288,
202,
202,
780,
1892,
3553,
273,
394,
6674,
12,
21336,
461,
10663,
202,
202,
430,
12,
588,
9226,
2283,
2402,
1435,
405,
374,
15329,
1082,
202,
7340,
18,
6923,
2932,
32,
8863,
1082,
202,
780,
8526,
21265,
273,
10646,
1662,
2016,
5621,
1082,
202,
474,
277,
273,
374,
31,
1082,
202,
7340,
18,
6923,
12,
891,
2016,
63,
77,
9904,
19226,
1082,
202,
17523,
261,
77,
411,
21265,
18,
2469,
15329,
9506,
202,
7340,
18,
6923,
2932,
16,
315,
1769,
9506,
202,
7340,
18,
6923,
12,
891,
2016,
63,
77,
9904,
19226,
1082,
202,
97,
1082,
202,
7340,
18,
6923,
2932,
2984,
1769,
202,
202,
97,
202,
202,
12107,
95,
1082,
202,
7340,
18,
6923,
2932,
32,
2984,
1769,
202,
202,
97,
202,
202,
7340,
18,
6923,
12,
2211,
18,
588,
1662,
7044,
10663,
202,
202,
430,
12,
291,
9661,
10756,
1082,
202,
7340,
18,
6923,
2932,
1866,
8863,
202,
202,
430,
12,
291,
17431,
20295,
10756,
1082,
202,
7340,
18,
6923,
2932,
31548,
8863,
202,
202,
430,
12443,
2211,
18,
588,
9102,
1435,
480,
446,
13,
597,
261,
2211,
18,
588,
9102,
7675,
2469,
1435,
405,
374,
3719,
95,
1875,
202,
7340,
18,
6923,
2932,
294,
315,
1769,
1082,
202,
7340,
18,
6923,
12,
2211,
18,
588,
9102,
10663,
202,
202,
97,
9506,
202,
2463,
3553,
18,
10492,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
10646,
5374,
1435,
288,
202,
202,
780,
1892,
3553,
273,
394,
6674,
12,
21336,
461,
10663,
202,
202,
430,
12,
588,
9226,
2283,
2402,
1435,
405,
374,
15329,
1082,
202,
7340,
18,
6923,
2932,
32,
8863,
1082,
202,
780,
8526,
21265,
273,
10646,
1662,
2016,
5621,
1082,
202,
474,
277,
273,
374,
31,
1082,
202,
7340,
18,
6923,
12,
891,
2016,
63,
77,
9904,
19226,
1082,
202,
17523,
261,
77,
411,
21265,
18,
2469,
15329,
9506,
202,
7340,
18,
6923,
2932,
16,
315,
1769,
9506,
202,
7340,
18,
6923,
12,
891,
2016,
63,
77,
9904,
19226,
1082,
202,
97,
1082,
202,
7340,
18,
6923,
2932,
2984,
1769,
202,
202,
97,
202,
202,
12107,
95,
1082,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.