rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
case 192: break;
case 195: break;
public Symbol next_token() throws java.io.IOException { int yyFlexInput; int yyFlexAction; int [] yyFlexTransL = YY_TRANS; int [] yyFlexRowMapL = YY_ROWMAP; int [] yyFlexAttrL = YY_ATTRIBUTE; int yyFlexPushbackPos_l = yyFlexPushbackPos = -1; boolean yy_was_pushback; while (true) { // cached fields: int yyFlexCurrentPosL; int yyFlexMarkedPosL = yyFlexMarkedPos; int yyFlexEndReadL = yyFlexEndRead; char [] yyFlexBufferL = yyFlexBuffer; char [] yyCMapL = YY_CMAP; boolean yyFlexR = false; for (yyFlexCurrentPosL = yyFlexStartRead; yyFlexCurrentPosL < yyFlexMarkedPosL; yyFlexCurrentPosL++) { switch (yyFlexBufferL[yyFlexCurrentPosL]) { case '\u000B': case '\u000C': case '\u0085': case '\u2028': case '\u2029': yyline++; yycolumn = 0; yyFlexR = false; break; case '\r': yyline++; yycolumn = 0; yyFlexR = true; break; case '\n': if (yyFlexR) yyFlexR = false; else { yyline++; yycolumn = 0; } break; default: yyFlexR = false; yycolumn++; } } if (yyFlexR) { // peek one character ahead if it is \n (if we have counted one line too much) boolean yyFlexPeek; if (yyFlexMarkedPosL < yyFlexEndReadL) yyFlexPeek = yyFlexBufferL[yyFlexMarkedPosL] == '\n'; else if (yyFlexAtEOF) yyFlexPeek = false; else { boolean eof = yyFlexRefill(); yyFlexMarkedPosL = yyFlexMarkedPos; yyFlexBufferL = yyFlexBuffer; if (eof) yyFlexPeek = false; else yyFlexPeek = yyFlexBufferL[yyFlexMarkedPosL] == '\n'; } if (yyFlexPeek) yyline--; } if (yyFlexMarkedPosL > yyFlexStartRead) { switch (yyFlexBufferL[yyFlexMarkedPosL-1]) { case '\n': case '\u000B': case '\u000C': case '\u0085': case '\u2028': case '\u2029': yyFlexAtBOL = true; break; case '\r': if (yyFlexMarkedPosL < yyFlexEndReadL) yyFlexAtBOL = yyFlexBufferL[yyFlexMarkedPosL] != '\n'; else if (yyFlexAtEOF) yyFlexAtBOL = false; else { boolean eof = yyFlexRefill(); yyFlexMarkedPosL = yyFlexMarkedPos; yyFlexBufferL = yyFlexBuffer; if (eof) yyFlexAtBOL = false; else yyFlexAtBOL = yyFlexBufferL[yyFlexMarkedPosL] != '\n'; } break; default: yyFlexAtBOL = false; } } yyFlexAction = -1; yyFlexCurrentPosL = yyFlexCurrentPos = yyFlexStartRead = yyFlexMarkedPosL; if (yyFlexAtBOL) yyFlexState = YY_LEXSTATE[yyFlexLexicalState+1]; else yyFlexState = YY_LEXSTATE[yyFlexLexicalState]; yy_was_pushback = false; yy_forAction: { while (true) { if (yyFlexCurrentPosL < yyFlexEndReadL) yyFlexInput = yyFlexBufferL[yyFlexCurrentPosL++]; else if (yyFlexAtEOF) { yyFlexInput = YYEOF; break yy_forAction; } else { // store back cached positions yyFlexCurrentPos = yyFlexCurrentPosL; yyFlexMarkedPos = yyFlexMarkedPosL; yyFlexPushbackPos = yyFlexPushbackPos_l; boolean eof = yyFlexRefill(); // get translated positions and possibly new buffer yyFlexCurrentPosL = yyFlexCurrentPos; yyFlexMarkedPosL = yyFlexMarkedPos; yyFlexBufferL = yyFlexBuffer; yyFlexEndReadL = yyFlexEndRead; yyFlexPushbackPos_l = yyFlexPushbackPos; if (eof) { yyFlexInput = YYEOF; break yy_forAction; } else { yyFlexInput = yyFlexBufferL[yyFlexCurrentPosL++]; } } int yyFlexNext = yyFlexTransL[ yyFlexRowMapL[yyFlexState] + yyCMapL[yyFlexInput] ]; if (yyFlexNext == -1) break yy_forAction; yyFlexState = yyFlexNext; int yyFlexAttributes = yyFlexAttrL[yyFlexState]; if ( (yyFlexAttributes & 2) == 2 ) yyFlexPushbackPos_l = yyFlexCurrentPosL; if ( (yyFlexAttributes & 1) == 1 ) { yy_was_pushback = (yyFlexAttributes & 4) == 4; yyFlexAction = yyFlexState; yyFlexMarkedPosL = yyFlexCurrentPosL; if ( (yyFlexAttributes & 8) == 8 ) break yy_forAction; } } } // store back cached position yyFlexMarkedPos = yyFlexMarkedPosL; if (yy_was_pushback) yyFlexMarkedPos = yyFlexPushbackPos_l; switch (yyFlexAction < 0 ? yyFlexAction : YY_ACTION[yyFlexAction]) { case 85: { return symbol(FULL); } case 141: break; case 92: { debugOption = true; } case 142: break; case 57: { return symbol(CHAR,new Character('\t')); } case 143: break; case 107: { throw new ScannerException(file,ErrorMessages.NO_BUFFER_SIZE, yyline); } case 144: break; case 91: { isYYEOF = true; } case 145: break; case 54: { return symbol(CHAR, new Character(yytext().charAt(1))); } case 146: break; case 11: { yybegin(REGEXP); } case 147: break; case 112: { isAbstract = true; } case 148: break; case 101: { initCode = conc(initCode,string); yybegin(MACROS); } case 149: break; case 45: { throw new ScannerException(file,ErrorMessages.UNEXPECTED_NL, yyline, yycolumn); } case 150: break; case 12: { return symbol_countUpdate(RBRACE, null); } case 151: break; case 74: { return symbol(REPEAT, new Integer(yytext().substring(1).trim())); } case 152: break; case 55: { return symbol(CHAR, new Character( (char) Integer.parseInt(yytext().substring(1,yytext().length()), 8))); } case 153: break; case 97: { columnCount = true; } case 154: break; case 122: { return symbol(LETTERCLASS); } case 155: break; case 15: { if (macroDefinition) { yybegin(MACROS); } return symbol(REGEXPEND); } case 156: break; case 77: { inclusive_states = true; yybegin(STATELIST); } case 157: break; case 56: { return symbol(CHAR,new Character('\n')); } case 158: break; case 81: { return symbol(MACROUSE, yytext().substring(1,yytext().length()-1)); } case 159: break; case 25: { return symbol(OPENBRACKET); } case 160: break; case 123: { throw new ScannerException(file,ErrorMessages.QUIL_INITTHROW, yyline); } case 161: break; case 126: { visibility = "private"; Skeleton.makePrivate(); } case 162: break; case 49: { commentbalance++; } case 163: break; case 9: { throw new ScannerException(file,ErrorMessages.UNKNOWN_OPTION, yyline, yycolumn); } case 164: break; case 68: { string.append('\n'); } case 165: break; case 33: { balance++; actionText.append('{'); } case 166: break; case 48: { if (commentbalance > 0) commentbalance--; else yybegin(nextState); } case 167: break; case 67: { string.append('\"'); } case 168: break; case 95: { tokenType = yytext().substring(6).trim(); } case 169: break; case 79: { return symbol_countUpdate(MACROUSE, makeMacroIdent()); } case 170: break; case 14: { return symbol(CHAR, new Character(yytext().charAt(0))); } case 171: break; case 32: { if (balance > 0) { balance--; actionText.append('}'); } else { yybegin(REGEXPSTART); Action a = new Action(actionText.toString(), action_line); actions.addElement(a); return symbol(ACTION, a); } } case 172: break; case 108: { actionText.setLength(0); yybegin(JAVA_CODE); action_line = yyline+1; return symbol_countUpdate(EOFRULE, null); } case 173: break; case 120: { isExtending = yytext().substring(9).trim(); } case 174: break; case 113: { cupSymbol = yytext().substring(8).trim(); if (cupCompatible) Out.warning(ErrorMessages.CUPSYM_AFTER_CUP, yyline); } case 175: break; case 63: { yybegin(REPEATEXP); return symbol(REPEAT, new Integer(yytext().trim().substring(1).trim())); } case 176: break; case 88: { packed = true; useRowMap = true; } case 177: break; case 27: { return symbol(PLUS); } case 178: break; case 99: { isPublic = true; } case 179: break; case 70: { string.append('\r'); } case 180: break; case 76: { inclusive_states = false; yybegin(STATELIST); } case 181: break; case 3: { userCode.append(yytext()); } case 182: break; case 19: { lookAheadUsed = true; return symbol(LOOKAHEAD); } case 183: break; case 110: { lexThrow = concExc(lexThrow,yytext().substring(8).trim()); } case 184: break; case 26: { return symbol(CLOSEBRACKET); } case 185: break; case 80: { string.append( (char) Integer.parseInt(yytext().substring(2,yytext().length()), 16)); } case 186: break; case 37: { throw new ScannerException(file,ErrorMessages.UNTERMINATED_STR, yyline, yycolumn); } case 187: break; case 111: { eofCode = conc(eofCode, " yyclose();"); eofThrow = concExc(eofThrow, "java.io.IOException"); } case 188: break; case 69: { string.append('\t'); } case 189: break; case 23: { return symbol(BANG); } case 190: break; case 17: { yybegin(CHARCLASS); return symbol(OPENCLASS); } case 191: break; case 114: { cupDebug = true; } case 192: break; case 87: { charCount = true; } case 193: break; case 58: { return symbol(CHAR,new Character('\r')); } case 194: break; case 66: { string.append( (char) Integer.parseInt(yytext().substring(1,yytext().length()), 8)); } case 195: break; case 134: { scanErrorException = yytext().substring(11).trim(); } case 196: break; case 60: { return symbol(CHAR,new Character('\b')); } case 197: break; case 35: { yybegin(REGEXP); return symbol(MORETHAN); } case 198: break; case 132: { isImplementing = concExc(isImplementing, yytext().substring(12).trim()); } case 199: break; case 78: { return symbol(CHAR, new Character( (char) Integer.parseInt(yytext().substring(2,yytext().length()), 16))); } case 200: break; case 90: { isFinal = true; } case 201: break; case 137: { return symbol(UPPERCLASS); } case 202: break; case 46: { yybegin(REGEXP); return symbol(RBRACE); } case 203: break; case 51: { Out.warning(ErrorMessages.NOT_AT_BOL, yyline); yypushback(1); } case 204: break; case 28: { return symbol(QUESTION); } case 205: break; case 36: { string.append(yytext()); } case 206: break; case 135: { initThrow = concExc(initThrow,string); yybegin(MACROS); } case 207: break; case 140: { return symbol(JLETTERDIGITCLASS); } case 208: break; case 53: { nextState = REGEXPSTART; yybegin(COMMENT); } case 209: break; case 130: { eofThrow = concExc(eofThrow,string); yybegin(MACROS); } case 210: break; case 61: { actionText.setLength(0); yybegin(JAVA_CODE); action_line = yyline+1; return symbol(REGEXPEND); } case 211: break; case 138: { return symbol(LOWERCLASS); } case 212: break; case 38: { yybegin(nextState); return symbol(STRING, string.toString()); } case 213: break; case 82: { classCode = conc(classCode,string); yybegin(MACROS); } case 214: break; case 8: { return symbol(IDENT, yytext()); } case 215: break; case 43: { return symbol(HAT); } case 216: break; case 29: { lookAheadUsed = true; return symbol(DOLLAR); } case 217: break; case 124: { eofThrow = concExc(eofThrow,yytext().substring(10).trim()); } case 218: break; case 5: { states.insert(yytext(),inclusive_states); } case 219: break; case 84: { cupCompatible = true; isImplementing = concExc(isImplementing, "java_cup.runtime.Scanner"); if (functionName == null) functionName = "next_token"; if (tokenType == null) tokenType = "java_cup.runtime.Symbol"; if (eofVal == null) eofVal = "return new java_cup.runtime.Symbol("+cupSymbol+".EOF);"; eofCode = conc(eofCode, " yyclose();"); eofThrow = concExc(eofThrow, "java.io.IOException"); } case 220: break; case 127: { standalone = true; isInteger = true; } case 221: break; case 4: { throw new ScannerException(file,ErrorMessages.UNEXPECTED_CHAR, yyline, yycolumn); } case 222: break; case 47: { t.start(); yybegin(MACROS); macroDefinition = true; return symbol(USERCODE,userCode); } case 223: break; case 59: { return symbol(CHAR,new Character('\f')); } case 224: break; case 94: { eofCode = conc(eofCode,string); yybegin(MACROS); } case 225: break; case 65: { string.append(yytext().charAt(1)); } case 226: break; case 115: { caseless = true; } case 227: break; case 39: { throw new ScannerException(file,ErrorMessages.EOL_IN_CHARCLASS,yyline,yycolumn); } case 228: break; case 117: { return symbol(DIGITCLASS); } case 229: break; case 64: { if (macroDefinition) { yybegin(EATWSPNL); return symbol(BAR); } else { yybegin(REGEXPSTART); return symbol(NOACTION); } } case 230: break; case 30: { bolUsed = true; return symbol(HAT); } case 231: break; case 105: { throw new ScannerException(file,ErrorMessages.QUIL_CUPSYM, yyline); } case 232: break; case 102: { isIntWrap = true; } case 233: break; case 41: { if (balance > 0) balance--; else yybegin(REGEXP); return symbol(CLOSECLASS); } case 234: break; case 116: { bufferSize = Integer.parseInt(yytext().substring(8).trim()); } case 235: break; case 31: { actionText.append(yytext()); } case 236: break; case 86: { lineCount = true; } case 237: break; case 128: { throw new ScannerException(file,ErrorMessages.QUIL_SCANERROR, yyline); } case 238: break; case 104: { throw new ScannerException(file,ErrorMessages.QUIL_THROW, yyline); } case 239: break; case 83: { isInteger = true; } case 240: break; case 129: { return symbol(JLETTERCLASS); } case 241: break; case 98: { isInteger = true; if (eofVal == null) eofVal = "return 0;"; eofCode = conc(eofCode, " yyclose();"); eofThrow = concExc(eofThrow, "java.io.IOException"); } case 242: break; case 18: { return symbol(STAR); } case 243: break; case 121: { throw new ScannerException(file,ErrorMessages.QUIL_EOFTHROW, yyline); } case 244: break; case 44: { return symbol(DASH); } case 245: break; case 106: { className = yytext().substring(7).trim(); } case 246: break; case 62: { nextState = REGEXP; yybegin(COMMENT); } case 247: break; case 136: { lexThrow = concExc(lexThrow,yytext().substring(12).trim()); } case 248: break; case 22: { return symbol(BAR); } case 249: break; case 125: { functionName = yytext().substring(10).trim(); } case 250: break; case 13: { yybegin(STATES); return symbol_countUpdate(LESSTHAN, null); } case 251: break; case 119: { eofVal = string.toString(); yybegin(MACROS); } case 252: break; case 73: { yypushback(1); yycolumn--; return symbol(CHAR, new Character(yytext().charAt(0))); } case 253: break; case 24: { return symbol(TILDE); } case 254: break; case 139: { lexThrow = concExc(lexThrow,string); yybegin(MACROS); } case 255: break; case 103: { notUnix = true; } case 256: break; case 89: { packed = false; useRowMap = true; } case 257: break; case 20: { string.setLength(0); nextState = REGEXP; yybegin(STRING_CONTENT); } case 258: break; case 2: { /* ignore */ } case 259: break; case 93: { return symbol(UNICODE); } case 260: break; case 16: { return symbol(POINT); } case 261: break; case 72: { string.append('\b'); } case 262: break; case 21: { yybegin(REGEXPSTART); return symbol(LBRACE); } case 263: break; case 131: { initThrow = concExc(initThrow,yytext().substring(11).trim()); } case 264: break; case 96: { packed = false; useRowMap = false; } case 265: break; case 7: { yybegin(MACROS); } case 266: break; case 75: { string.setLength(0); yybegin(COPY); } case 267: break; case 42: { string.setLength(0); nextState = CHARCLASS; yybegin(STRING_CONTENT); } case 268: break; case 118: { actionText.setLength(0); yybegin(JAVA_CODE); action_line = yyline+1; return symbol(EOFRULE); } case 269: break; case 52: { macroDefinition = false; yybegin(REGEXPSTART); return symbol(DELIMITER); } case 270: break; case 50: { nextState = MACROS; yybegin(COMMENT); } case 271: break; case 10: { yybegin(REGEXP); return symbol(EQUALS); } case 272: break; case 34: { return symbol(COMMA); } case 273: break; case 1: { return symbol(EOF); } case 274: break; case 100: { throw new ScannerException(file,ErrorMessages.EOF_WO_ACTION); } case 275: break; case 71: { string.append('\f'); } case 276: break; case 40: { balance++; return symbol(OPENCLASS); } case 277: break; case 133: { throw new ScannerException(file,ErrorMessages.QUIL_YYLEXTHROW, yyline); } case 278: break; case 109: { File f = new File(yytext().substring(9).trim()); if ( !f.canRead() ) throw new ScannerException(file,ErrorMessages.NOT_READABLE, yyline); // check for cycle if (files.search(f) > 0) throw new ScannerException(file,ErrorMessages.FILE_CYCLE, yyline); try { yypushStream( new FileReader(f) ); files.push(file); file = f; Out.println("Including \""+file+"\""); } catch (FileNotFoundException e) { throw new ScannerException(file,ErrorMessages.NOT_READABLE, yyline); } } case 279: break; case 6: { } case 280: break; default: if (yyFlexInput == YYEOF && yyFlexStartRead == yyFlexCurrentPos) { yyFlexAtEOF = true; yyFlexDoEOF(); switch (yyFlexLexicalState) { case STRING_CONTENT: { throw new ScannerException(file,ErrorMessages.EOF_IN_STRING); } case 745: break; case MACROS: { if ( yymoreStreams() ) { file = (File) files.pop(); yypopStream(); } else throw new ScannerException(file,ErrorMessages.EOF_IN_MACROS); } case 746: break; case STATELIST: { throw new ScannerException(file,ErrorMessages.EOF_IN_MACROS); } case 747: break; case CHARCLASS: { throw new ScannerException(file,ErrorMessages.EOF_IN_REGEXP); } case 748: break; case JAVA_CODE: { throw new ScannerException(file,ErrorMessages.EOF_IN_ACTION, action_line-1); } case 749: break; case REPEATEXP: { throw new ScannerException(file,ErrorMessages.EOF_IN_REGEXP); } case 750: break; case COMMENT: { throw new ScannerException(file,ErrorMessages.EOF_IN_COMMENT); } case 751: break; case STATES: { throw new ScannerException(file,ErrorMessages.EOF_IN_STATES); } case 752: break; case COPY: { throw new ScannerException(file,ErrorMessages.EOF_IN_MACROS); } case 753: break; default: { if ( yymoreStreams() ) { file = (File) files.pop(); yypopStream(); } else return symbol(EOF); } } } else { yyFlexScanError(YY_NO_MATCH); } } } }
6220 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6220/9b61944465740d14ca2a4b7d70253b3cd65d7570/LexScan.java/clean/jflex/src/JFlex/LexScan.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8565, 1024, 67, 2316, 1435, 1216, 2252, 18, 1594, 18, 14106, 288, 565, 509, 9016, 19667, 1210, 31, 565, 509, 9016, 19667, 1803, 31, 565, 509, 5378, 9016, 19667, 1429, 48, 273, 1624, 61, 67, 16596, 31, 565, 509, 5378, 9016, 19667, 1999, 863, 48, 273, 1624, 61, 67, 11226, 8352, 31, 565, 509, 5378, 9016, 19667, 3843, 48, 273, 1624, 61, 67, 11616, 31, 565, 509, 9016, 19667, 7621, 823, 1616, 67, 80, 273, 9016, 19667, 7621, 823, 1616, 273, 300, 21, 31, 565, 1250, 9016, 67, 17416, 67, 6206, 823, 31, 565, 1323, 261, 3767, 13, 288, 1377, 368, 3472, 1466, 30, 1377, 509, 9016, 19667, 3935, 1616, 48, 31, 1377, 509, 9016, 19667, 21486, 1616, 48, 273, 9016, 19667, 21486, 1616, 31, 1377, 509, 9016, 19667, 1638, 1994, 48, 273, 9016, 19667, 1638, 1994, 31, 1377, 1149, 5378, 9016, 19667, 1892, 48, 273, 9016, 19667, 1892, 31, 1377, 1149, 5378, 9016, 39, 863, 48, 273, 1624, 61, 67, 39, 8352, 31, 1377, 1250, 9016, 19667, 54, 273, 629, 31, 1377, 364, 261, 6795, 19667, 3935, 1616, 48, 273, 9016, 19667, 1685, 1994, 31, 9016, 19667, 3935, 1616, 48, 411, 9016, 19667, 21486, 1616, 48, 31, 4766, 11794, 9016, 19667, 3935, 1616, 48, 27245, 288, 3639, 1620, 261, 6795, 19667, 1892, 48, 63, 6795, 19667, 3935, 1616, 48, 5717, 288, 3639, 648, 2337, 89, 3784, 38, 4278, 3639, 648, 2337, 89, 3784, 39, 4278, 3639, 648, 2337, 89, 713, 7140, 4278, 3639, 648, 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, 8565, 1024, 67, 2316, 1435, 1216, 2252, 18, 1594, 18, 14106, 288, 565, 509, 9016, 19667, 1210, 31, 565, 509, 9016, 19667, 1803, 31, 565, 509, 5378, 9016, 19667, 1429, 48, 273, 1624, 61, 67, 16596, 31, 565, 509, 5378, 9016, 19667, 1999, 863, 48, 273, 1624, 61, 67, 11226, 8352, 31, 565, 509, 5378, 9016, 19667, 3843, 48, 273, 1624, 61, 67, 11616, 31, 565, 509, 9016, 19667, 7621, 823, 1616, 67, 80, 273, 9016, 19667, 7621, 823, 1616, 273, 300, 21, 31, 565, 1250, 9016, 67, 17416, 67, 6206, 823, 31, 565, 1323, 261, 3767, 13, 288, 1377, 368, 3472, 1466, 30, 1377, 509, 9016, 19667, 3935, 1616, 48, 31, 1377, 509, 9016, 19667, 21486, 2 ]
this.peerCryptoGroup = DSAGroup.create(fs.subset("dsaGroup")); this.peerPubKey = DSAPublicKey.create(fs.subset("dsaPubKey"), peerCryptoGroup);
SimpleFieldSet sfs = fs.subset("dsaGroup"); if(sfs == null) this.peerCryptoGroup = null; else this.peerCryptoGroup = DSAGroup.create(sfs); sfs = fs.subset("dsaPubKey"); if(sfs == null) this.peerPubKey = null; else this.peerPubKey = DSAPublicKey.create(sfs, peerCryptoGroup);
public PeerNode(SimpleFieldSet fs, Node node2, boolean fromLocal) throws FSParseException, PeerParseException, ReferenceSignatureVerificationException { logMINOR = Logger.shouldLog(Logger.MINOR, this); this.node = node2; String identityString = fs.get("identity"); if(identityString == null) throw new PeerParseException("No identity!"); try { identity = Base64.decode(identityString); } catch (NumberFormatException e) { throw new FSParseException(e); } catch (IllegalBase64Exception e) { throw new FSParseException(e); } MessageDigest md; try { md = MessageDigest.getInstance("SHA-256"); } catch (NoSuchAlgorithmException e2) { throw new Error(e2); } if(identity == null) throw new FSParseException("No identity"); identityHash = md.digest(identity); hashCode = Fields.hashCode(identityHash); version = fs.get("version"); Version.seenVersion(version); String locationString = fs.get("location"); if(locationString == null) throw new FSParseException("No location"); currentLocation = new Location(locationString); // FIXME make mandatory once everyone has upgraded lastGoodVersion = fs.get("lastGoodVersion"); String name = fs.get("myName"); if(name == null) throw new FSParseException("No name"); myName = name; String testnet = fs.get("testnet"); testnetEnabled = testnet == null ? false : (testnet.equalsIgnoreCase("true") || testnet.equalsIgnoreCase("yes")); if(testnetEnabled != node.testnetEnabled) { String err = "Ignoring incompatible node "+detectedPeer+" - peer.testnet="+testnetEnabled+"("+testnet+") but node.testnet="+node.testnetEnabled; Logger.error(this, err); throw new PeerParseException(err); } nominalPeer=new Vector(); nominalPeer.removeAllElements(); try{ String physical[]=fs.getAll("physical.udp"); if(physical==null){ // Be tolerant of nonexistent domains. Peer p = new Peer(fs.get("physical.udp"), true); if(p != null) nominalPeer.addElement(p); }else{ for(int i=0;i<physical.length;i++){ Peer p = new Peer(physical[i], true); if(!nominalPeer.contains(p)) nominalPeer.addElement(p); } } } catch (Exception e1) { throw new FSParseException(e1); } if(nominalPeer.isEmpty()) { Logger.normal(this, "No IP addresses found for identity '"+Base64.encode(identity)+"', possibly at location '"+Double.toString(currentLocation.getValue())+"' with name '"+getName()+"'"); detectedPeer = null; } else { detectedPeer = (Peer) nominalPeer.firstElement(); } /* Read the DSA key material for the peer */ try { this.peerCryptoGroup = DSAGroup.create(fs.subset("dsaGroup")); this.peerPubKey = DSAPublicKey.create(fs.subset("dsaPubKey"), peerCryptoGroup); String signature = fs.get("sig"); fs.removeValue("sig"); this.isSignatureVerificationSuccessfull = DSA.verify(peerPubKey, new DSASignature(signature), new BigInteger(fs.toOrderedString().getBytes())); if(!isSignatureVerificationSuccessfull){ Logger.error(this, "The integrity of the reference has been compromized!"); throw new ReferenceSignatureVerificationException("The integrity of the reference has been compromized!"); } } catch (IllegalBase64Exception e) { Logger.error(this, "Caught "+e, e); throw new FSParseException(e); } catch (NullPointerException npe){ /* FIXME: REMOVE: backward compatibility hack */ Logger.normal(this, "Probably trying to add an old reference : "+npe); this.isSignatureVerificationSuccessfull=false; } /* FIXME: All the following is useless once we have definitely switched to STS! */ // Setup incoming and outgoing setup ciphers byte[] nodeKey = node.identityHash; byte[] nodeKeyHash = node.identityHashHash; byte[] setupKeyHash = md.digest(identityHash); int digestLength = md.getDigestLength(); incomingSetupKey = new byte[digestLength]; for(int i=0;i<incomingSetupKey.length;i++) incomingSetupKey[i] = (byte) (nodeKey[i] ^ setupKeyHash[i]); outgoingSetupKey = new byte[digestLength]; for(int i=0;i<outgoingSetupKey.length;i++) outgoingSetupKey[i] = (byte) (nodeKeyHash[i] ^ identityHash[i]); if(logMINOR) Logger.minor(this, "Keys:\nIdentity: "+HexUtil.bytesToHex(node.myIdentity)+ "\nThisIdent: "+HexUtil.bytesToHex(identity)+ "\nNode: "+HexUtil.bytesToHex(nodeKey)+ "\nNode hash: "+HexUtil.bytesToHex(nodeKeyHash)+ "\nThis: "+HexUtil.bytesToHex(identityHash)+ "\nThis hash: "+HexUtil.bytesToHex(setupKeyHash)+ "\nFor: "+getDetectedPeer()); try { incomingSetupCipher = new Rijndael(256,256); incomingSetupCipher.initialize(incomingSetupKey); outgoingSetupCipher = new Rijndael(256,256); outgoingSetupCipher.initialize(outgoingSetupKey); } catch (UnsupportedCipherException e1) { Logger.error(this, "Caught: "+e1); throw new Error(e1); } // Don't create trackers until we have a key currentTracker = null; previousTracker = null; timeLastSentPacket = -1; timeLastReceivedPacket = -1; timeLastReceivedSwapRequest = -1; timeLastConnected = -1; timeLastRoutable = -1; randomizeMaxTimeBetweenPacketSends(); swapRequestsInterval = new SimpleRunningAverage(50, Node.MIN_INTERVAL_BETWEEN_INCOMING_SWAP_REQUESTS); // Not connected yet; need to handshake isConnected = false; node.addPeerNodeStatus(Node.PEER_NODE_STATUS_DISCONNECTED, this); messagesToSendNow = new LinkedList(); decrementHTLAtMaximum = node.random.nextFloat() < Node.DECREMENT_AT_MAX_PROB; decrementHTLAtMinimum = node.random.nextFloat() < Node.DECREMENT_AT_MIN_PROB; pingNumber = node.random.nextLong(); // A SimpleRunningAverage would be a bad choice because it would cause oscillations. // So go for a filter. pingAverage = new TimeDecayingRunningAverage(1, 600*1000 /* should be significantly longer than a typical transfer */, 0, Long.MAX_VALUE); // TDRA for probability of rejection pRejected = new TimeDecayingRunningAverage(0, 600*1000, 0.0, 1.0); // ARK stuff. parseARK(fs, true); // Now for the metadata. // The metadata sub-fieldset contains data about the node which is not part of the node reference. // It belongs to this node, not to the node being described. // Therefore, if we are parsing a remotely supplied ref, ignore it. long now = System.currentTimeMillis(); if(fromLocal) { SimpleFieldSet metadata = fs.subset("metadata"); if(metadata != null) { // Don't be tolerant of nonexistant domains; this should be an IP address. Peer p; try { String detectedUDPString = metadata.get("detected.udp"); p = null; if(detectedUDPString != null) p = new Peer(detectedUDPString, false); } catch (UnknownHostException e) { p = null; Logger.error(this, "detected.udp = "+metadata.get("detected.udp")+" - "+e, e); } catch (PeerParseException e) { p = null; Logger.error(this, "detected.udp = "+metadata.get("detected.udp")+" - "+e, e); } if(p != null) detectedPeer = p; String tempTimeLastReceivedPacketString = metadata.get("timeLastReceivedPacket"); if(tempTimeLastReceivedPacketString != null) { long tempTimeLastReceivedPacket = Long.parseLong(tempTimeLastReceivedPacketString); timeLastReceivedPacket = tempTimeLastReceivedPacket; } String tempTimeLastConnectedString = metadata.get("timeLastConnected"); if(tempTimeLastConnectedString != null) { long tempTimeLastConnected = Long.parseLong(tempTimeLastConnectedString); timeLastConnected = tempTimeLastConnected; } String tempTimeLastRoutableString = metadata.get("timeLastRoutable"); if(tempTimeLastRoutableString != null) { long tempTimeLastRoutable = Long.parseLong(tempTimeLastRoutableString); timeLastRoutable = tempTimeLastRoutable; } if(timeLastConnected < 1 && timeLastReceivedPacket > 1) { timeLastConnected = timeLastReceivedPacket; } if(timeLastRoutable < 1 && timeLastReceivedPacket > 1) { timeLastRoutable = timeLastReceivedPacket; } String tempPeerAddedTimeString = metadata.get("peerAddedTime"); if(tempPeerAddedTimeString != null) { long tempPeerAddedTime = Long.parseLong(tempPeerAddedTimeString); peerAddedTime = tempPeerAddedTime; } else { peerAddedTime = 0; } neverConnected = Fields.stringToBool(metadata.get("neverConnected"), false); if((now - peerAddedTime) > (((long) 30)*24*60*60*1000)) { // 30 days peerAddedTime = 0; // don't store anymore } if(!neverConnected) { peerAddedTime = 0; // don't store anymore } isDisabled = Fields.stringToBool(metadata.get("isDisabled"), false); isListenOnly = Fields.stringToBool(metadata.get("isListenOnly"), false); isBurstOnly = Fields.stringToBool(metadata.get("isBurstOnly"), false); allowLocalAddresses = Fields.stringToBool(metadata.get("allowLocalAddresses"), false); } } else { neverConnected = true; peerAddedTime = now; } // populate handshakeIPs so handshakes can start ASAP lastAttemptedHandshakeIPUpdateTime=0; maybeUpdateHandshakeIPs(true); sendHandshakeTime = now; // Be sure we're ready to handshake right away listeningHandshakeBurstCount = 0; listeningHandshakeBurstSize = Node.MIN_BURSTING_HANDSHAKE_BURST_SIZE + node.random.nextInt(Node.RANDOMIZED_BURSTING_HANDSHAKE_BURST_SIZE); if(isBurstOnly) { Logger.minor(this, "First BurstOnly mode handshake in "+(sendHandshakeTime - now)+"ms for "+getName()+" (count: "+listeningHandshakeBurstCount+", size: "+listeningHandshakeBurstSize+")"); } // status may have changed from PEER_NODE_STATUS_DISCONNECTED to PEER_NODE_STATUS_NEVER_CONNECTED setPeerNodeStatus(now); // Setup the private darknet comment note privateDarknetComment = new String(); privateDarknetCommentFileNumber = -1; // Setup the extraPeerDataFileNumbers extraPeerDataFileNumbers = new Vector(); extraPeerDataFileNumbers.removeAllElements(); // Setup the queuedToSendN2NTMExtraPeerDataFileNumbers queuedToSendN2NTMExtraPeerDataFileNumbers = new Vector(); queuedToSendN2NTMExtraPeerDataFileNumbers.removeAllElements(); }
46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/54b58d5a98907bfb2296c0fea2a4e5f0489e9e75/PeerNode.java/clean/src/freenet/node/PeerNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10669, 907, 12, 5784, 974, 694, 2662, 16, 2029, 756, 22, 16, 1250, 628, 2042, 13, 1216, 9247, 13047, 16, 10669, 13047, 16, 6268, 5374, 13483, 503, 288, 377, 202, 1330, 6236, 916, 273, 4242, 18, 13139, 1343, 12, 3328, 18, 6236, 916, 16, 333, 1769, 3639, 333, 18, 2159, 273, 756, 22, 31, 3639, 514, 4215, 780, 273, 2662, 18, 588, 2932, 10781, 8863, 377, 202, 430, 12, 10781, 780, 422, 446, 13, 377, 202, 202, 12849, 394, 10669, 13047, 2932, 2279, 4215, 4442, 1769, 3639, 775, 288, 202, 540, 202, 202, 10781, 273, 3360, 1105, 18, 3922, 12, 10781, 780, 1769, 3639, 289, 1044, 261, 1854, 9291, 425, 13, 288, 5411, 604, 394, 9247, 13047, 12, 73, 1769, 3639, 289, 1044, 261, 12195, 2171, 1105, 503, 425, 13, 288, 5411, 604, 394, 9247, 13047, 12, 73, 1769, 202, 202, 97, 7734, 22485, 3481, 31, 3639, 775, 288, 5411, 3481, 273, 22485, 18, 588, 1442, 2932, 8325, 17, 5034, 8863, 3639, 289, 1044, 261, 28341, 17293, 425, 22, 13, 288, 5411, 604, 394, 1068, 12, 73, 22, 1769, 3639, 289, 7734, 309, 12, 10781, 422, 446, 13, 604, 394, 9247, 13047, 2932, 2279, 4215, 8863, 3639, 4215, 2310, 273, 3481, 18, 10171, 12, 10781, 1769, 3639, 13374, 273, 7190, 18, 2816, 1085, 12, 10781, 2310, 1769, 3639, 1177, 273, 2662, 18, 588, 2932, 1589, 8863, 3639, 4049, 18, 15156, 1444, 12, 1589, 1769, 3639, 514, 2117, 780, 273, 2662, 18, 588, 2932, 3562, 8863, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10669, 907, 12, 5784, 974, 694, 2662, 16, 2029, 756, 22, 16, 1250, 628, 2042, 13, 1216, 9247, 13047, 16, 10669, 13047, 16, 6268, 5374, 13483, 503, 288, 377, 202, 1330, 6236, 916, 273, 4242, 18, 13139, 1343, 12, 3328, 18, 6236, 916, 16, 333, 1769, 3639, 333, 18, 2159, 273, 756, 22, 31, 3639, 514, 4215, 780, 273, 2662, 18, 588, 2932, 10781, 8863, 377, 202, 430, 12, 10781, 780, 422, 446, 13, 377, 202, 202, 12849, 394, 10669, 13047, 2932, 2279, 4215, 4442, 1769, 3639, 775, 288, 202, 540, 202, 202, 10781, 273, 3360, 1105, 18, 3922, 12, 10781, 780, 1769, 3639, 289, 1044, 261, 1854, 9291, 425, 13, 288, 5411, 604, 394, 9247, 13047, 2 ]
CLIENT_SETTINGS.put( "relayMovesManeuver", "true" );
private static synchronized void initializeMaps() { // Do not initialize the maps more than once, as this // would not serve any purpose. if ( !CLIENT_SETTINGS.isEmpty() ) return; CLIENT_SETTINGS.put( "alwaysGetBreakfast", "true" ); CLIENT_SETTINGS.put( "autoLogin", "" ); CLIENT_SETTINGS.put( "autoRepairBoxes", "false" ); CLIENT_SETTINGS.put( "autoSatisfyChecks", "false" ); CLIENT_SETTINGS.put( "autoSaveChatLogs", "true" ); CLIENT_SETTINGS.put( "battleStop", "0.0" ); CLIENT_SETTINGS.put( "breakfastSoftcore", "Summon Snowcone,Summon Hilarious Objects,Advanced Saucecrafting,Pastamastery,Advanced Cocktailcrafting" ); CLIENT_SETTINGS.put( "breakfastHardcore", "Summon Snowcone,Advanced Saucecrafting,Pastamastery,Advanced Cocktailcrafting" ); CLIENT_SETTINGS.put( "browserBookmarks", "" ); CLIENT_SETTINGS.put( "chatStyle", "0" ); CLIENT_SETTINGS.put( "chosenTrip", "" ); CLIENT_SETTINGS.put( "clanRosterHeader", ClanSnapshotTable.getDefaultHeader() ); CLIENT_SETTINGS.put( "cloverProtectActive", "false" ); CLIENT_SETTINGS.put( "createWithoutBoxServants", "false" ); CLIENT_SETTINGS.put( "defaultDropdown1", "0" ); CLIENT_SETTINGS.put( "defaultDropdown2", "1" ); CLIENT_SETTINGS.put( "defaultLimit", "5" ); CLIENT_SETTINGS.put( "defaultToRelayBrowser", "true" ); CLIENT_SETTINGS.put( "eSoluScriptType", "0" ); CLIENT_SETTINGS.put( "fontSize", "3" ); CLIENT_SETTINGS.put( "guiUsesOneWindow", "false" ); CLIENT_SETTINGS.put( "highlightList", "" ); CLIENT_SETTINGS.put( "http.proxyHost", "" ); CLIENT_SETTINGS.put( "http.proxyPort", "" ); CLIENT_SETTINGS.put( "http.proxyUser", "" ); CLIENT_SETTINGS.put( "http.proxyPassword", "" ); CLIENT_SETTINGS.put( "initialDesktop", "AdventureFrame,MallSearchFrame,SkillBuffFrame" ); CLIENT_SETTINGS.put( "initialFrames", "EventsFrame" ); CLIENT_SETTINGS.put( "lastUsername", "" ); CLIENT_SETTINGS.put( "loginServer", "0" ); CLIENT_SETTINGS.put( "luckySewerAdventure", "stolen accordion" ); CLIENT_SETTINGS.put( "makeBrowserDecisions", "false" ); CLIENT_SETTINGS.put( "proxySet", "false" ); CLIENT_SETTINGS.put( "relayAddsCommandLineLinks", "true" ); CLIENT_SETTINGS.put( "relayAddsSimulatorLinks", "true" ); CLIENT_SETTINGS.put( "relayAddsUseLinks", "true" ); CLIENT_SETTINGS.put( "relayMovesManeuver", "true" ); CLIENT_SETTINGS.put( "relayAddsPlinking", "false" ); CLIENT_SETTINGS.put( "saveState", "" ); CLIENT_SETTINGS.put( "scriptButtonPosition", "0" ); CLIENT_SETTINGS.put( "scriptList", "win game" ); CLIENT_SETTINGS.put( "serverFriendly", "false" ); CLIENT_SETTINGS.put( "showAdventureZone", "true" ); CLIENT_SETTINGS.put( "showAllRequests", "false" ); CLIENT_SETTINGS.put( "showClosetDrivenCreations", "true" ); CLIENT_SETTINGS.put( "sortAdventures", "false" ); CLIENT_SETTINGS.put( "toolbarPosition", "1" ); CLIENT_SETTINGS.put( "useSystemTrayIcon", "false" ); CLIENT_SETTINGS.put( "usePopupContacts", "1" ); CLIENT_SETTINGS.put( "useTabbedChat", "1" ); CLIENT_SETTINGS.put( "useTextHeavySidepane", "true" ); CLIENT_SETTINGS.put( "useToolbars", "true" ); CLIENT_SETTINGS.put( "violetFogGoal", "0" ); CLIENT_SETTINGS.put( "zoneExcludeList", "Removed" ); PLAYER_SETTINGS.put( "battleAction", "attack" ); PLAYER_SETTINGS.put( "betweenBattleScript", "" ); PLAYER_SETTINGS.put( "buffBotCasting", "" ); PLAYER_SETTINGS.put( "buffBotMessageDisposal", "0" ); PLAYER_SETTINGS.put( "currentMood", "default" ); PLAYER_SETTINGS.put( "hpAutoRecovery", "0.3" ); PLAYER_SETTINGS.put( "hpAutoRecoveryTarget", "1.0" ); PLAYER_SETTINGS.put( "hpAutoRecoveryItems", "tongue of the otter;soft green echo eyedrop antidote;tiny house;cannelloni cocoon;scroll of drastic healing;medicinal herb's medicinal herbs;tongue of the walrus;lasagna bandages;disco power nap;disco nap;phonics down;cast;doc galaktik's homeopathic elixir;doc galaktik's restorative balm;doc galaktik's pungent unguent;doc galaktik's ailment ointment" ); PLAYER_SETTINGS.put( "invalidBuffMessage", "You sent an amount which was not a valid buff amount." ); PLAYER_SETTINGS.put( "lastFaucetLocation", "-1" ); PLAYER_SETTINGS.put( "lastFaucetUse", "0: " ); PLAYER_SETTINGS.put( "lastAdventure", "" ); PLAYER_SETTINGS.put( "lastMessageID", "" ); PLAYER_SETTINGS.put( "mpAutoRecovery", "0.0" ); PLAYER_SETTINGS.put( "mpAutoRecoveryTarget", "0.0" ); PLAYER_SETTINGS.put( "mpAutoRecoveryItems", "Dyspepsi-Cola;Cloaca-Cola;phonics down;Knob Goblin superseltzer;Knob Goblin seltzer;magical mystery juice;soda water" ); PLAYER_SETTINGS.put( "nextAdventure", "" ); PLAYER_SETTINGS.put( "retrieveContacts", "true" ); PLAYER_SETTINGS.put( "thanksMessage", "Thank you for the donation!" ); PLAYER_SETTINGS.put( "whiteList", "" ); // These are settings related to choice adventures. // Ensure that they exist, and if they do not, load // them to their default settings. // KoL no longer allows you to "ignore" a choice adventure, // although some of them have a setting that is the equivalent // of "ignore". // Choices that have an "ignore" setting: use ensureProperty // Choices that have no "ignore" setting: use ensureNonZeroProperty CLIENT_SETTINGS.put( "choiceAdventure2", "2" ); CLIENT_SETTINGS.put( "choiceAdventure3", "3" ); CLIENT_SETTINGS.put( "choiceAdventure4", "3" ); CLIENT_SETTINGS.put( "choiceAdventure5", "2" ); CLIENT_SETTINGS.put( "choiceAdventure7", "2" ); CLIENT_SETTINGS.put( "choiceAdventure8", "3" ); CLIENT_SETTINGS.put( "choiceAdventure9", "1" ); CLIENT_SETTINGS.put( "choiceAdventure10", "1" ); CLIENT_SETTINGS.put( "choiceAdventure11", "3" ); CLIENT_SETTINGS.put( "choiceAdventure12", "2" ); CLIENT_SETTINGS.put( "choiceAdventure14", "4" ); CLIENT_SETTINGS.put( "choiceAdventure15", "4" ); CLIENT_SETTINGS.put( "choiceAdventure16", "4" ); CLIENT_SETTINGS.put( "choiceAdventure17", "4" ); CLIENT_SETTINGS.put( "choiceAdventure18", "4" ); CLIENT_SETTINGS.put( "choiceAdventure19", "4" ); CLIENT_SETTINGS.put( "choiceAdventure20", "4" ); CLIENT_SETTINGS.put( "choiceAdventure21", "2" ); CLIENT_SETTINGS.put( "choiceAdventure22", "4" ); CLIENT_SETTINGS.put( "choiceAdventure23", "4" ); CLIENT_SETTINGS.put( "choiceAdventure24", "4" ); CLIENT_SETTINGS.put( "choiceAdventure25", "2" ); CLIENT_SETTINGS.put( "choiceAdventure26", "3" ); CLIENT_SETTINGS.put( "choiceAdventure27", "2" ); CLIENT_SETTINGS.put( "choiceAdventure28", "2" ); CLIENT_SETTINGS.put( "choiceAdventure29", "2" ); CLIENT_SETTINGS.put( "choiceAdventure40", "3" ); CLIENT_SETTINGS.put( "choiceAdventure41", "3" ); CLIENT_SETTINGS.put( "choiceAdventure42", "3" ); CLIENT_SETTINGS.put( "choiceAdventure45", "0" ); CLIENT_SETTINGS.put( "choiceAdventure46", "3" ); CLIENT_SETTINGS.put( "choiceAdventure47", "2" ); CLIENT_SETTINGS.put( "choiceAdventure71", "1" ); }
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/2db6d820dba70b467c1f49f720ab8d4d16b9cbea/KoLSettings.java/buggy/src/net/sourceforge/kolmafia/KoLSettings.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 3852, 918, 4046, 8903, 1435, 202, 95, 202, 202, 759, 2256, 486, 4046, 326, 7565, 1898, 2353, 3647, 16, 487, 333, 202, 202, 759, 4102, 486, 12175, 1281, 13115, 18, 202, 202, 430, 261, 401, 11935, 67, 19428, 18, 291, 1921, 1435, 262, 1082, 202, 2463, 31, 202, 202, 11935, 67, 19428, 18, 458, 12, 315, 17737, 967, 7634, 8076, 3113, 315, 3767, 6, 11272, 202, 202, 11935, 67, 19428, 18, 458, 12, 315, 6079, 5358, 3113, 1408, 11272, 202, 202, 11935, 67, 19428, 18, 458, 12, 315, 6079, 426, 6017, 29521, 3113, 315, 5743, 6, 11272, 202, 202, 11935, 67, 19428, 18, 458, 12, 315, 6079, 15163, 7396, 93, 4081, 3113, 315, 5743, 6, 11272, 202, 202, 11935, 67, 19428, 18, 458, 12, 315, 6079, 4755, 14163, 7777, 3113, 315, 3767, 6, 11272, 202, 202, 11935, 67, 19428, 18, 458, 12, 315, 70, 4558, 298, 4947, 3113, 315, 20, 18, 20, 6, 11272, 202, 202, 11935, 67, 19428, 18, 458, 12, 315, 8820, 8076, 12468, 3644, 3113, 315, 3495, 2586, 31040, 71, 476, 16, 3495, 2586, 670, 5611, 22774, 8487, 16, 23618, 348, 69, 3965, 71, 5015, 310, 16, 52, 689, 301, 689, 627, 16, 23618, 385, 975, 13101, 71, 5015, 310, 6, 11272, 202, 202, 11935, 67, 19428, 18, 458, 12, 315, 8820, 8076, 29601, 3644, 3113, 315, 3495, 2586, 31040, 71, 476, 16, 23618, 348, 69, 3965, 71, 5015, 310, 16, 52, 689, 301, 689, 627, 16, 23618, 385, 975, 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, 3852, 918, 4046, 8903, 1435, 202, 95, 202, 202, 759, 2256, 486, 4046, 326, 7565, 1898, 2353, 3647, 16, 487, 333, 202, 202, 759, 4102, 486, 12175, 1281, 13115, 18, 202, 202, 430, 261, 401, 11935, 67, 19428, 18, 291, 1921, 1435, 262, 1082, 202, 2463, 31, 202, 202, 11935, 67, 19428, 18, 458, 12, 315, 17737, 967, 7634, 8076, 3113, 315, 3767, 6, 11272, 202, 202, 11935, 67, 19428, 18, 458, 12, 315, 6079, 5358, 3113, 1408, 11272, 202, 202, 11935, 67, 19428, 18, 458, 12, 315, 6079, 426, 6017, 29521, 3113, 315, 5743, 6, 11272, 202, 202, 11935, 67, 19428, 18, 458, 12, 315, 6079, 15163, 7396, 93, 4081, 3113, 315, 5743, 6, 2 ]
public org.quickfix.field.MiscFeeCurr getMiscFeeCurr() throws FieldNotFound { org.quickfix.field.MiscFeeCurr value = new org.quickfix.field.MiscFeeCurr();
public quickfix.field.MiscFeeCurr getMiscFeeCurr() throws FieldNotFound { quickfix.field.MiscFeeCurr value = new quickfix.field.MiscFeeCurr();
public org.quickfix.field.MiscFeeCurr getMiscFeeCurr() throws FieldNotFound { org.quickfix.field.MiscFeeCurr value = new org.quickfix.field.MiscFeeCurr(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/ExecutionReport.java/buggy/src/java/src/quickfix/fix44/ExecutionReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 11729, 71, 14667, 20143, 2108, 291, 71, 14667, 20143, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 11729, 71, 14667, 20143, 460, 273, 394, 2358, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 11729, 71, 14667, 20143, 2108, 291, 71, 14667, 20143, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 11729, 71, 14667, 20143, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 11729, 71, 14667, 20143, 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 ]
public AttributeDescr auto_focus() throws RecognitionException { AttributeDescr d; Token loc=null; Token t=null; d = null; try { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:487:17: ( (loc= 'auto-focus' opt_eol ( ';' )? opt_eol ) | (loc= 'auto-focus' t= BOOL opt_eol ( ';' )? opt_eol ) ) int alt36=2; int LA36_0 = input.LA(1); if ( LA36_0==35 ) { int LA36_1 = input.LA(2); if ( LA36_1==BOOL ) { alt36=2; } else if ( LA36_1==EOL||LA36_1==15||LA36_1==22||LA36_1==27||LA36_1==29||LA36_1==31||(LA36_1>=33 && LA36_1<=38) ) { alt36=1; } else { NoViableAltException nvae = new NoViableAltException("482:1: auto_focus returns [AttributeDescr d] : ( (loc= \'auto-focus\' opt_eol ( \';\' )? opt_eol ) | (loc= \'auto-focus\' t= BOOL opt_eol ( \';\' )? opt_eol ) );", 36, 1, input); throw nvae; } } else { NoViableAltException nvae = new NoViableAltException("482:1: auto_focus returns [AttributeDescr d] : ( (loc= \'auto-focus\' opt_eol ( \';\' )? opt_eol ) | (loc= \'auto-focus\' t= BOOL opt_eol ( \';\' )? opt_eol ) );", 36, 0, input); throw nvae; } switch (alt36) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:487:17: (loc= 'auto-focus' opt_eol ( ';' )? opt_eol ) { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:487:17: (loc= 'auto-focus' opt_eol ( ';' )? opt_eol ) // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:488:25: loc= 'auto-focus' opt_eol ( ';' )? opt_eol { loc=(Token)input.LT(1); match(input,35,FOLLOW_35_in_auto_focus1035); following.push(FOLLOW_opt_eol_in_auto_focus1037); opt_eol(); following.pop(); // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:488:50: ( ';' )? int alt34=2; int LA34_0 = input.LA(1); if ( LA34_0==15 ) { alt34=1; } else if ( LA34_0==EOL||LA34_0==22||LA34_0==27||LA34_0==29||LA34_0==31||(LA34_0>=33 && LA34_0<=38) ) { alt34=2; } else { NoViableAltException nvae = new NoViableAltException("488:50: ( \';\' )?", 34, 0, input); throw nvae; } switch (alt34) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:488:50: ';' { match(input,15,FOLLOW_15_in_auto_focus1039); } break; } following.push(FOLLOW_opt_eol_in_auto_focus1042); opt_eol(); following.pop(); d = new AttributeDescr( "auto-focus", "true" ); d.setLocation( offset(loc.getLine()), loc.getCharPositionInLine() ); } } break; case 2 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:495:17: (loc= 'auto-focus' t= BOOL opt_eol ( ';' )? opt_eol ) { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:495:17: (loc= 'auto-focus' t= BOOL opt_eol ( ';' )? opt_eol ) // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:496:25: loc= 'auto-focus' t= BOOL opt_eol ( ';' )? opt_eol { loc=(Token)input.LT(1); match(input,35,FOLLOW_35_in_auto_focus1067); t=(Token)input.LT(1); match(input,BOOL,FOLLOW_BOOL_in_auto_focus1071); following.push(FOLLOW_opt_eol_in_auto_focus1073); opt_eol(); following.pop(); // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:496:57: ( ';' )? int alt35=2; int LA35_0 = input.LA(1); if ( LA35_0==15 ) { alt35=1; } else if ( LA35_0==EOL||LA35_0==22||LA35_0==27||LA35_0==29||LA35_0==31||(LA35_0>=33 && LA35_0<=38) ) { alt35=2; } else { NoViableAltException nvae = new NoViableAltException("496:57: ( \';\' )?", 35, 0, input); throw nvae; } switch (alt35) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:496:57: ';' { match(input,15,FOLLOW_15_in_auto_focus1075); } break; } following.push(FOLLOW_opt_eol_in_auto_focus1078); opt_eol(); following.pop(); d = new AttributeDescr( "auto-focus", t.getText() ); d.setLocation( offset(loc.getLine()), loc.getCharPositionInLine() ); } } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return d; }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/e3fb9256ae6e5fcb8c78a2c3dbd47f678d9b1287/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3601, 16198, 3656, 67, 13923, 1435, 1216, 9539, 288, 6647, 3601, 16198, 302, 31, 3639, 3155, 1515, 33, 2011, 31, 3639, 3155, 268, 33, 2011, 31, 1171, 202, 202, 72, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 8875, 27, 30, 4033, 30, 261, 261, 1829, 33, 296, 6079, 17, 13923, 11, 2153, 67, 30951, 261, 7554, 7851, 2153, 67, 30951, 262, 571, 261, 1829, 33, 296, 6079, 17, 13923, 11, 268, 33, 9784, 1741, 2153, 67, 30951, 261, 7554, 7851, 2153, 67, 30951, 262, 262, 5411, 509, 3770, 5718, 33, 22, 31, 5411, 509, 2928, 5718, 67, 20, 273, 810, 18, 2534, 12, 21, 1769, 5411, 309, 261, 2928, 5718, 67, 20, 631, 4763, 262, 288, 7734, 509, 2928, 5718, 67, 21, 273, 810, 18, 2534, 12, 22, 1769, 7734, 309, 261, 2928, 5718, 67, 21, 631, 19040, 262, 288, 10792, 3770, 5718, 33, 22, 31, 7734, 289, 7734, 469, 309, 261, 2928, 5718, 67, 21, 631, 5842, 20081, 2534, 5718, 67, 21, 631, 3600, 20081, 2534, 5718, 67, 21, 631, 3787, 20081, 2534, 5718, 67, 21, 631, 5324, 20081, 2534, 5718, 67, 21, 631, 5540, 20081, 2534, 5718, 67, 21, 631, 6938, 20081, 12, 2534, 5718, 67, 21, 34, 33, 3707, 597, 2928, 5718, 67, 21, 32, 33, 7414, 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, 3601, 16198, 3656, 67, 13923, 1435, 1216, 9539, 288, 6647, 3601, 16198, 302, 31, 3639, 3155, 1515, 33, 2011, 31, 3639, 3155, 268, 33, 2011, 31, 1171, 202, 202, 72, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 8875, 27, 30, 4033, 30, 261, 261, 1829, 33, 296, 6079, 17, 13923, 11, 2153, 67, 30951, 261, 7554, 7851, 2153, 67, 30951, 262, 571, 261, 1829, 33, 296, 6079, 17, 13923, 11, 268, 33, 9784, 1741, 2153, 67, 30951, 261, 7554, 7851, 2153, 67, 2 ]
getDTDModel().beginRecording(this, DTDPlugin.getDTDString("_UI_LABEL_DTD_FILE_ADD_COMMENT"));
getDTDModel().beginRecording(this, DTDCorePlugin.getDTDString("_UI_LABEL_DTD_FILE_ADD_COMMENT"));
public void createComment(DTDNode node, String name, boolean isAfter) { getDTDModel().beginRecording(this, DTDPlugin.getDTDString("_UI_LABEL_DTD_FILE_ADD_COMMENT")); //$NON-NLS-1$ DTDNode topLevelNode = null; String newStream = "<!-- " + name + " -->\n"; //$NON-NLS-1$ //$NON-NLS-2$ int offset = getInsertOffset(node, isAfter); getStructuredDocument().replaceText(this, offset, 0, newStream); getDTDModel().endRecording(this); }
13989 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13989/425ffe7b68526a8574007dbae9d4ecfb097cff08/DTDFile.java/buggy/bundles/org.eclipse.wst.dtd.core/src/org/eclipse/wst/dtd/core/DTDFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 752, 4469, 12, 25728, 907, 756, 16, 514, 508, 16, 1250, 353, 4436, 13, 288, 202, 202, 588, 25728, 1488, 7675, 10086, 21037, 12, 2211, 16, 10696, 40, 4670, 3773, 18, 588, 25728, 780, 2932, 67, 5370, 67, 13545, 67, 25728, 67, 3776, 67, 8355, 67, 12200, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 25728, 907, 21289, 907, 273, 446, 31, 202, 202, 780, 394, 1228, 273, 3532, 22772, 315, 397, 508, 397, 315, 1493, 5333, 82, 14432, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 202, 202, 474, 1384, 273, 336, 4600, 2335, 12, 2159, 16, 353, 4436, 1769, 202, 202, 588, 30733, 2519, 7675, 2079, 1528, 12, 2211, 16, 1384, 16, 374, 16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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 752, 4469, 12, 25728, 907, 756, 16, 514, 508, 16, 1250, 353, 4436, 13, 288, 202, 202, 588, 25728, 1488, 7675, 10086, 21037, 12, 2211, 16, 10696, 40, 4670, 3773, 18, 588, 25728, 780, 2932, 67, 5370, 67, 13545, 67, 25728, 67, 3776, 67, 8355, 67, 12200, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 25728, 907, 21289, 907, 273, 446, 31, 202, 202, 780, 394, 1228, 273, 3532, 22772, 315, 397, 508, 397, 315, 1493, 5333, 82, 14432, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 202, 202, 474, 1384, 273, 336, 4600, 2335, 12, 2159, 16, 353, 4436, 1769, 202, 202, 588, 30733, 2519, 2 ]
System.err.println( this.slaves.size() + " slaves registered" );
public void addSlave(NodeInfo slave, int jvmId) { System.err.println( "add slave : " + slave ); synchronized ( this.slaves ) { this.slaves.add( new SlaveInfo( slave, jvmId ) ); if ( this.slaves.size() == getSystemTestInfo().getTotalJvms() ) { System.err.println( this.slaves.size() + " slaves registered" ); this.slaves.notifyAll(); } } }
4523 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4523/44f09ca0fa0653b2cd30b8be246b5339f9c3c0ef/MasterNode.java/clean/sysunit/src/main/org/sysunit/testmesh/master/MasterNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 20302, 12, 25392, 11735, 16, 7682, 509, 13555, 548, 13, 565, 288, 3639, 2332, 18, 370, 18, 8222, 12, 315, 1289, 11735, 294, 315, 397, 11735, 11272, 3639, 3852, 261, 333, 18, 2069, 6606, 262, 3639, 288, 5411, 333, 18, 2069, 6606, 18, 1289, 12, 394, 9708, 836, 966, 12, 11735, 16, 4766, 5411, 13555, 548, 262, 11272, 13491, 309, 261, 333, 18, 2069, 6606, 18, 1467, 1435, 422, 12996, 4709, 966, 7675, 588, 5269, 46, 31032, 1435, 262, 5411, 288, 1171, 9079, 333, 18, 2069, 6606, 18, 12336, 1595, 5621, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 20302, 12, 25392, 11735, 16, 7682, 509, 13555, 548, 13, 565, 288, 3639, 2332, 18, 370, 18, 8222, 12, 315, 1289, 11735, 294, 315, 397, 11735, 11272, 3639, 3852, 261, 333, 18, 2069, 6606, 262, 3639, 288, 5411, 333, 18, 2069, 6606, 18, 1289, 12, 394, 9708, 836, 966, 12, 11735, 16, 4766, 5411, 13555, 548, 262, 11272, 13491, 309, 261, 333, 18, 2069, 6606, 18, 1467, 1435, 422, 12996, 4709, 966, 7675, 588, 5269, 46, 31032, 1435, 262, 5411, 288, 1171, 9079, 333, 18, 2069, 6606, 18, 12336, 1595, 5621, 5411, 289, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if ( !ExtensionManager.getInstance( ).getEmitterExtensions( ) .containsKey( format ) )
if ( !ExtensionManager.getInstance( ).getSupportedFormat() .contains( format ) )
protected void doRender( long pageNumber ) throws EngineException { // create the emitter services object that is needed in the emitters. EngineEmitterServices services = new EngineEmitterServices( this ); services.setRenderOption( renderOptions ); EngineConfig config = engine.getConfig( ); if ( config != null ) services .setEmitterConfig( engine.getConfig( ).getEmitterConfigs( ) ); services.setRenderContext( context ); services.setReportRunnable( runnable ); // register default parameters usingParameterValues( ); // After setting up the parameter values and before executing the // report, we need to call onPrepare on all items. // Create IReportContext and set it to execution context ReportContextImpl reportContext = new ReportContextImpl( executionContext.getParams( ), config.getConfigMap( ), executionContext.getAppContext( ) ); executionContext.setReportContext( reportContext ); // setup runtime configurations // user defined configs are overload using system properties. executionContext.getConfigs( ).putAll( runnable.getTestConfig( ) ); executionContext.getConfigs( ).putAll( System.getProperties( ) ); // Set up rendering environment and check for supported format executionContext.setRenderOption( renderOptions ); String format = renderOptions.getOutputFormat( ); if ( format == null || format.length( ) == 0 ) // $NON-NLS-1 { renderOptions.setOutputFormat( "html" ); // $NON-NLS-1 format = "html"; // $NON-NLS-1 } else if ( renderOptions != null && format.equalsIgnoreCase( "fo" ) // $NON-NLS-1 && ( (FORenderOption) renderOptions ).getTailoredForFOP( ) ) { format = "fop"; // $NON-NLS-1 } if ( !ExtensionManager.getInstance( ).getEmitterExtensions( ) .containsKey( format ) ) { log.log( Level.SEVERE, MessageConstants.FORMAT_NOT_SUPPORTED_EXCEPTION, format ); throw new EngineException( MessageConstants.FORMAT_NOT_SUPPORTED_EXCEPTION, format ); } IContentEmitter emitter = ExtensionManager.getInstance( ) .createEmitter( format, emitterID ); if ( emitter == null ) { log.log( Level.SEVERE, "Report engine can not create {0} emitter.", format ); // $NON-NLS-1$ throw new EngineException( MessageConstants.CANNOT_CREATE_EMITTER_EXCEPTION ); } ReportExecutor executor = new ReportExecutor( executionContext ); services.setExecutor( executor ); // localized emitter emitter = new LocalizedEmitter( executionContext, emitter ); // emitter is not null emitter.initialize( services ); try { ReportContentLoader loader = new ReportContentLoader( executionContext ); loader.loadPage( pageNumber, emitter ); } catch ( Exception ex ) { log.log( Level.SEVERE, "An error happened while running the report. Cause:", ex ); //$NON-NLS-1$ } catch ( OutOfMemoryError err ) { log.log( Level.SEVERE, "An OutOfMemory error happened while running the report." ); //$NON-NLS-1$ throw err; } }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/1d8d582eae226915b0af0dada3168441cc0fb0a2/RenderTask.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/RenderTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 741, 3420, 12, 1525, 26484, 262, 1216, 10507, 503, 202, 95, 202, 202, 759, 752, 326, 11520, 4028, 733, 716, 353, 3577, 316, 326, 3626, 5432, 18, 202, 202, 4410, 13476, 5676, 4028, 273, 394, 10507, 13476, 5676, 12, 333, 11272, 202, 202, 8387, 18, 542, 3420, 1895, 12, 1743, 1320, 11272, 202, 202, 4410, 809, 642, 273, 4073, 18, 588, 809, 12, 11272, 202, 202, 430, 261, 642, 480, 446, 262, 1082, 202, 8387, 6862, 202, 18, 542, 13476, 809, 12, 4073, 18, 588, 809, 12, 262, 18, 588, 13476, 8062, 12, 262, 11272, 202, 202, 8387, 18, 542, 3420, 1042, 12, 819, 11272, 202, 202, 8387, 18, 542, 4820, 20013, 12, 14685, 11272, 202, 202, 759, 1744, 805, 1472, 202, 202, 9940, 1662, 1972, 12, 11272, 202, 202, 759, 7360, 3637, 731, 326, 1569, 924, 471, 1865, 11274, 326, 202, 202, 759, 2605, 16, 732, 1608, 358, 745, 603, 7543, 603, 777, 1516, 18, 202, 202, 759, 1788, 467, 4820, 1042, 471, 444, 518, 358, 4588, 819, 202, 202, 4820, 1042, 2828, 2605, 1042, 273, 394, 8706, 1042, 2828, 12, 9506, 202, 16414, 1042, 18, 588, 1370, 12, 262, 16, 642, 18, 588, 22666, 12, 262, 16, 9506, 202, 16414, 1042, 18, 588, 3371, 1042, 12, 262, 11272, 202, 202, 16414, 1042, 18, 542, 4820, 1042, 12, 2605, 1042, 11272, 202, 202, 759, 3875, 3099, 10459, 202, 202, 759, 729, 2553, 6784, 854, 30402, 1450, 2619, 1790, 18, 202, 202, 16414, 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, 741, 3420, 12, 1525, 26484, 262, 1216, 10507, 503, 202, 95, 202, 202, 759, 752, 326, 11520, 4028, 733, 716, 353, 3577, 316, 326, 3626, 5432, 18, 202, 202, 4410, 13476, 5676, 4028, 273, 394, 10507, 13476, 5676, 12, 333, 11272, 202, 202, 8387, 18, 542, 3420, 1895, 12, 1743, 1320, 11272, 202, 202, 4410, 809, 642, 273, 4073, 18, 588, 809, 12, 11272, 202, 202, 430, 261, 642, 480, 446, 262, 1082, 202, 8387, 6862, 202, 18, 542, 13476, 809, 12, 4073, 18, 588, 809, 12, 262, 18, 588, 13476, 8062, 12, 262, 11272, 202, 202, 8387, 18, 542, 3420, 1042, 12, 819, 11272, 202, 202, 8387, 18, 542, 4820, 20013, 12, 14685, 11272, 2 ]
IMemento[] mementos = memento.getChildren("stroke");
IMemento[] mementos = memento.getChildren("stroke");
private static int[] readDeprecatedSequence(IMemento memento) { if (memento == null) throw new NullPointerException(); IMemento[] mementos = memento.getChildren("stroke"); //$NON-NLS-1$ if (mementos == null) throw new NullPointerException(); int[] strokes = new int[mementos.length]; for (int i = 0; i < mementos.length; i++) strokes[i] = readDeprecatedStroke(mementos[i]); return strokes; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/664efbbd6fd6dba5c4d118b10afe31ab34b6890a/Persistence.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/commands/Persistence.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 509, 8526, 855, 13534, 4021, 12, 3445, 820, 83, 312, 820, 83, 13, 288, 202, 202, 430, 261, 81, 820, 83, 422, 446, 13, 1082, 202, 12849, 394, 10108, 5621, 202, 202, 3445, 820, 83, 8526, 312, 820, 538, 273, 312, 820, 83, 18, 588, 4212, 2932, 16181, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3196, 202, 430, 261, 81, 820, 538, 422, 446, 13, 1082, 202, 12849, 394, 10108, 5621, 202, 202, 474, 8526, 384, 3250, 281, 273, 394, 509, 63, 81, 820, 538, 18, 2469, 15533, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 312, 820, 538, 18, 2469, 31, 277, 27245, 1082, 202, 334, 3250, 281, 63, 77, 65, 273, 855, 13534, 14602, 12, 81, 820, 538, 63, 77, 19226, 202, 202, 2463, 384, 3250, 281, 31, 202, 97, 2, 0, 0, 0, 0,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, 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, 509, 8526, 855, 13534, 4021, 12, 3445, 820, 83, 312, 820, 83, 13, 288, 202, 202, 430, 261, 81, 820, 83, 422, 446, 13, 1082, 202, 12849, 394, 10108, 5621, 202, 202, 3445, 820, 83, 8526, 312, 820, 538, 273, 312, 820, 83, 18, 588, 4212, 2932, 16181, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3196, 202, 430, 261, 81, 820, 538, 422, 446, 13, 1082, 202, 12849, 394, 10108, 5621, 202, 202, 474, 8526, 384, 3250, 281, 273, 394, 509, 63, 81, 820, 538, 18, 2469, 15533, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 312, 820, 538, 18, 2469, 31, 277, 27245, 1082, 202, 334, 3250, 281, 63, 77, 2 ]
+ "declare function make-file ($x as string) {File:new($x)};\n" + "declare function parent ($x) {java.io.File:getParent($x)};\n" + "parent(make-file('dir/mine.txt'))", "dir");
+ "declare function local:make-file ($x as string) {File:new($x)};\n" + "declare function local:parent ($x) {java.io.File:getParent($x)};\n" + "local:parent(local:make-file('dir/mine.txt'))", "dir");
public static void main(String[] args) { // gnu.expr.ModuleExp.dumpZipPrefix = "kawa-zip-dump-"; // gnu.expr.ModuleExp.debugPrintExpr = true; // Compilation.debugPrintFinalExpr = true; evalTest("3.5+1", "4.5"); evalTest("3.5+1 ,4*2.5", "4.5 10.0"); evalTest("3<5", "true"); evalTest("let $x:=3+4 return $x", "7"); evalTest("let $x:=3+4 return <a>{$x}</a>", "<a>7</a>"); // We resolve $request and $response to servlet request/response, // but only when they're not lexially bound. evalTest("let $request:=2, $response:=3 return ($request+$response)", "5"); evalTest("some $x in (1, 2, 3), $y in (2, 3, 4)" + " satisfies $x + $y = 4", "true"); evalTest("every $x in (1, 2, 3), $y in (2, 3, 4)" + " satisfies $x + $y = 4", "false"); evalTest("every $x in (11, 12, 13), $y in (2, 3, 4)" + " satisfies $x > $y", "true"); evalTest("for $y in (4,5,2+4) return <b>{10+$y}</b>", "<b>14</b><b>15</b><b>16</b>"); evalTest("for $i in (1 to 10) where ($i mod 2)=1 return 20+$i", "21 23 25 27 29"); evalTest("for $car at $i in ('Ford', 'Chevy')," + "$pet at $j in ('Cat', 'Dog') " + "return ($i, '/', $car, '/', $j, '/', $pet, ';')", "1/Ford/1/Cat;1/Ford/2/Dog;2/Chevy/1/Cat;2/Chevy/2/Dog;"); evalTest("(3,4,5)[3]", "5"); evalTest("1,((2,3)[false()]),5", "1 5"); evalTest("1,((2 to 4)[true()]),5", "1 2 3 4 5"); evalTest("(for $y in (5,4) return <b>{10+$y}</b>)[2]", "<b>14</b>"); evalTest("for $a in (<a><b c='1' d='3'/><b c='2' d='6'/></a>)/b/@c" + " return concat('c: ', $a, ' d: ', $a/../@d, ';')", "c: 1 d: 3;c: 2 d: 6;"); String tabNsNodes = " xmlns:h=\"H\" xmlns:j=\"J\" xmlns:k=\"J\""; evalTest("doc('tab.xml')/result", "<result"+tabNsNodes+">\n" + "<row>\n" + "<fld1>a1</fld1>\n" + "<fld2 align=\"right\"><!--ignore-this-comment-->12</fld2>\n" + "</row>\n" + "<row>\n" + "<fld1 align=\"left\">b1</fld1>\n" + "<fld2 align=\"right\">22</fld2>\n" + "</row>\n" + "<h:row>\n" + "<j:fld1><![CDATA[c]]><![CDATA[1]]></j:fld1>\n" + "<h:fld2><![CDATA[33]]></h:fld2>\n" + "<j:fld3>44</j:fld3>\n" + "<k:fld1>c2</k:fld1>\n" + "</h:row>\n" + "</result>"); evalTest("doc('tab.xml')/result/row/fld2", "<fld2"+tabNsNodes+" align=\"right\"><!--ignore-this-comment-->12</fld2>" +"<fld2"+tabNsNodes+" align=\"right\">22</fld2>"); evalTest("doc('tab.xml')/result/row[fld2]", "<row"+tabNsNodes+">\n" + "<fld1>a1</fld1>\n" + "<fld2 align=\"right\"><!--ignore-this-comment-->12</fld2>\n</row>" + "<row"+tabNsNodes+">\n" + "<fld1 align=\"left\">b1</fld1>\n" + "<fld2 align=\"right\">22</fld2>\n" + "</row>"); evalTest("doc('tab.xml')/result/row/*", "<fld1"+tabNsNodes+">a1</fld1><fld2"+tabNsNodes+" align=\"right\"><!--ignore-this-comment-->12</fld2><fld1"+tabNsNodes+" align=\"left\">b1</fld1><fld2"+tabNsNodes+" align=\"right\">22</fld2>"); evalTest("doc('tab.xml')/result/row[2]", "<row"+tabNsNodes+">\n" + "<fld1 align=\"left\">b1</fld1>\n" + "<fld2 align=\"right\">22</fld2>\n" + "</row>"); evalTest("for $x in doc('tab.xml')/result/row[2]/node()" + " return ('[',$x,']')", "[\n][<fld1"+tabNsNodes+" align=\"left\">b1</fld1>][\n" + "][<fld2"+tabNsNodes+" align=\"right\">22</fld2>][\n]"); evalTest("for $x in doc('tab.xml')/result/row[2]/text()" + " return ('[',$x,']')", "[\n][\n][\n]"); evalTest("for $x in doc('tab.xml')/result/row[2]//text()" + " return ('[',$x,']')", "[\n][b1][\n][22][\n]"); evalTest("doc('tab.xml')/result/row/*[2]", "<fld2"+tabNsNodes+" align=\"right\"><!--ignore-this-comment-->12</fld2>" + "<fld2"+tabNsNodes+" align=\"right\">22</fld2>"); evalTest("for $x in <T>r1<fld1>a1</fld1><fld3/>r2<fld2>12</fld2></T>" + " /node()" + " return ('[',$x,']')", "[r1][<fld1>a1</fld1>][<fld3 />][r2][<fld2>12</fld2>]"); evalTest("(doc('tab.xml')/result/row/*)[2]", "<fld2"+tabNsNodes+" align=\"right\"><!--ignore-this-comment-->12</fld2>"); evalTest("(doc('tab.xml')/result/row/*)[2 to 3]", "<fld2"+tabNsNodes+" align=\"right\"><!--ignore-this-comment-->12</fld2>" +" <fld1"+tabNsNodes+" align=\"left\">b1</fld1>"); evalTest("(doc('tab.xml')/result/row/*)[position()>1]", "<fld2"+tabNsNodes+" align=\"right\"><!--ignore-this-comment-->12</fld2>" +"<fld1"+tabNsNodes+" align=\"left\">b1</fld1>" +"<fld2"+tabNsNodes+" align=\"right\">22</fld2>"); evalTest("(doc('tab.xml')/result/row/*)[position()>1][2]", "<fld1"+tabNsNodes+" align=\"left\">b1</fld1>"); evalTest("doc('tab.xml')/result/row/(fld2,fld1)", "<fld1"+tabNsNodes+">a1</fld1>" +"<fld2"+tabNsNodes+" align=\"right\"><!--ignore-this-comment-->12</fld2>" +"<fld1"+tabNsNodes+" align=\"left\">b1</fld1>" +"<fld2"+tabNsNodes+" align=\"right\">22</fld2>"); evalTest("string-value(doc('tab.xml'))", "\n\na1\n12\n\n\nb1\n22\n\n\nc1\n33\n44\nc2\n\n\n"); evalTest("string(doc('tab.xml'))", "\n\na1\n12\n\n\nb1\n22\n\n\nc1\n33\n44\nc2\n\n\n"); evalTest("string(doc('tab.xml')/result/row/fld1/@align)", "left"); evalTest("string(doc('tab.xml')/result/row/fld2/@align)", "rightright"); evalTest("for $x in children(<a>xy{3+4}kl<c>def</c>{9}{11}</a>)" + " return ('[',$x,']')", "[xy 7 kl][<c>def</c>][9 11]"); evalTest("children(<a>xy{3+4}kl<c>def</c>{9}{11}</a>)", "xy 7 kl<c>def</c>9 11"); evalTest("<a>aab</a> ='aab'", "true"); evalTest("<a>abc</a>='abb'", "false"); evalTest("string(<a>{'aa''bb&#88;cc&#x5a;dd'}</a>)", "aa'bbXccZdd"); evalTest("doc('tab.xml')/result/row[fld1]", "<row"+tabNsNodes+">\n" + "<fld1>a1</fld1>\n" + "<fld2 align=\"right\"><!--ignore-this-comment-->12</fld2>\n</row>" + "<row"+tabNsNodes+">\n" + "<fld1 align=\"left\">b1</fld1>\n" + "<fld2 align=\"right\">22</fld2>\n" + "</row>"); evalTest("doc('tab.xml')/result/row[fld3]", ""); evalTest("doc('tab.xml')/result/row/fld1[@align]", "<fld1"+tabNsNodes+" align=\"left\">b1</fld1>"); evalTest("doc('tab.xml')/result/row/fld2[@align]", "<fld2"+tabNsNodes+" align=\"right\"><!--ignore-this-comment-->12</fld2>" +"<fld2"+tabNsNodes+" align=\"right\">22</fld2>"); evalTest("'a',doc('tab.xml')/result/row/fld1[@align='left']", "a<fld1"+tabNsNodes+" align=\"left\">b1</fld1>"); evalTest("'a',doc('tab.xml')/result/row/fld1[@align='right']", "a"); evalTest("let $x:=12,\n" + " $y:=<a>{$x+$x}</a>\n" + " return <b atr1='11' atr2=\"{$x}\">{($y,99,$y)}</b>", "<b atr1=\"11\" atr2=\"12\"><a>24</a>99<a>24</a></b>"); evalTest("let $el := 'elm' return " + "document{element {$el} {attribute at{\"abc\"}, \"data\"}}/elm", "<elm at=\"abc\">data</elm>"); evalTest("let $a := <a at1='val1'><b/><c/></a>," + " $b0 := <b/>," + " $b := $a/b return" + " ($a is $a, $a << $b, $b >> $b," + " $a isnot $b, $b, $b0, $b is $b0)", "true true false true <b /> <b /> false"); evalTest("let $a := <a at1='val1'><b/><c/></a>," + " $b := $a/b, $c := $a/c return" + " for $n in distinct-nodes(($c, $a/@at1, $a, $c, $b, $b, $c))" + " return ('[', $n, ']')", "[<a at1=\"val1\"><b /><c /></a>][ at1=\"val1\"][<b />][<c />]"); // Boundary whitsapce (xmlspace) tests: evalTest("declare xmlspace preserve;\n" + "for $n in (<a> <b/> {' x '} </a>)/node() return ($n,';')", " ;<b/>; x ;"); evalTest("declare xmlspace skip;\n" + "for $n in (<a> <b/> {' x '} </a>)/node() return ($n,';')", "<b/>; x ;"); evalTest("declare xmlspace skip;\n" + "for $n in (<a> x <b/> y<c/>&#x20;</a>)/node() return ($n,';')", " x ;<b/>; y;<c/>; ;"); evalTest("for $n in (<a> <b/> </a>)/node() return ($n,';')", "<b/>;"); evalTest("<a> {3} {4} </a>", "<a>34</a>"); // This actually succeeds because evalTest ignores spaces. // failureExpectedNext = "fix space handling in constructors"; evalTest("<a>{3,4}{5,6}</a>", "<a>3 45 6</a>"); failureExpectedNext = "fix space handling in constructors"; evalTest("let $x := <a>{3,4}{5,6}</a> return <b>{$x, $x}</b>", "<ba><a>3 45 6</a><a>3 45 6</a></b>"); evalTest("for $n in <a><?xq doit?>abc<![CDATA[<X>]]>d<!--a comment--></a>/node()" + " return ($n,';')", "<?xq doit?>;abc<![CDATA[<X>]]>d;<!--a comment-->;"); evalTest("for $n in <a><?xq doit?>abc<![CDATA[<X>]]>d<!--a comment--></a>/node()" + " return (string($n),';')", "doit;abc&lt;X&gt;d;a comment;"); evalTest("string(<a><?xq doit?>abc<![CDATA[<X>]]>d<!--a comment--></a>)", "abc&lt;X&gt;d"); // Simple namespace tests. evalTest("declare namespace xx='XXX';\n <xx:a>XX</xx:a>", "<xx:a xmlns:xx=\"XXX\">XX</xx:a>"); evalTest("declare namespace x1='XXX';\n declare namespace x2='XXX';\n" + "string((<top><x1:ab>X1</x1:ab><x2:ab>X2</x2:ab></top>)/x2:ab)", "X1X2"); evalTest("declare namespace x1='XXX';\n declare namespace x2='YYY';\n" + "string((<top><x1:ab>X1</x1:ab><x2:ab>X2</x2:ab></top>)/x2:ab)", "X2"); evalTest("declare namespace x1='XXX';\n declare namespace x2='YYY';\n" + "string((<top><x1:ab>X1</x1:ab><x2:ab>X2</x2:ab></top>)/*)", "X1X2"); evalTest("declare namespace x1='XXX';\n declare namespace x2='YYY';\n" + "string((<top><x1:ab>X1</x1:ab><x2:ab>X2</x2:ab></top>)/*:*)", "X1X2"); evalTest("declare namespace x1='XXX';\n declare namespace x2='YYY';\n" + "string((<top><x1:ab>X1</x1:ab><x2:ab>X2</x2:ab></top>)/x1:*)", "X1"); evalTest("declare namespace x1='XXX';\n declare namespace x2='YYY';\n" + "string((<top><x1:ab>X1</x1:ab><x2:ab>X2</x2:ab></top>)/*:ab)", "X1X2"); evalTest("declare namespace x1='XXX';\n declare namespace x2='YYY';\n" + "string((<top><x1:ab>X1</x1:ab><x2:cd>X2</x2:cd></top>)/*:cd)", "X2"); evalTest("declare namespace h='H';\n" + "string(doc('tab.xml')/result/h:row)", "\nc1\n33\n44\nc2\n"); evalTest("declare namespace xx='H';\n" + "string(doc('tab.xml')/result/xx:row)", "\nc1\n33\n44\nc2\n"); evalTest("string(doc('tab.xml')/result/*:row)", "\na1\n12\n\nb1\n22\n\nc1\n33\n44\nc2\n"); evalTest("string(doc('tab.xml')/result/*:row/*:fld1)", "a1b1c1c2"); evalTest("declare namespace k='J';\n" + "string(doc('tab.xml')/result/*:row/k:fld1)", "c1c2"); evalTest("declare namespace k='J';\n" + "string(doc('tab.xml')/result/*:row[k:fld1])", "\nc1\n33\n44\nc2\n"); evalTest("declare namespace m1 = 'bb'; declare namespace m2 = 'cc';" + "let $m1:x := 3 return let $m2:x := 4 return" + " <m2:a a:c='{$a:x}' xmlns:a='bb'>{ count($a:x) }</m2:a>", "<m2:a xmlns:m2=\"cc\" xmlns:a=\"bb\" a:c=\"3\">1</m2:a>"); evalTest("doc('tab.xml')/result/row[1]/descendant::*", "<fld1"+tabNsNodes+">a1</fld1>" +"<fld2"+tabNsNodes+" align=\"right\"><!--ignore-this-comment-->12</fld2>"); evalTest("for $x in doc('tab.xml')/result/row[1]/descendant::node() return ($x,';')", "\n;<fld1"+tabNsNodes+">a1</fld1>;a1;\n;" + "<fld2"+tabNsNodes+" align=\"right\"><!--ignore-this-comment-->12</fld2>;<!--ignore-this-comment-->;12;\n;"); evalTest("doc('tab.xml')/result/row[1]/descendant::text()", "a112"); evalTest("doc('tab.xml')/result/row[1]/descendant-or-self::*", "<row"+tabNsNodes+"><fld1>a1</fld1>" + "<fld2 align=\"right\"><!--ignore-this-comment-->12</fld2></row>" + "<fld1"+tabNsNodes+">a1</fld1>" + "<fld2"+tabNsNodes+" align=\"right\"><!--ignore-this-comment-->12</fld2>"); evalTest("for $n in doc('tab.xml')/result/* return node-name($n)", // Should perhaps be: "row row h:row" FIXME "row row {H}row"); evalTest("for $n in doc('tab.xml')/result/row/* " + "return local-name-from-QName(node-name($n))", "fld1 fld2 fld1 fld2"); evalTest("for $n in doc('tab.xml')/result/*:row/*:fld1 " + "return <n>{namespace-uri-from-QName(node-name($n))}</n>", "<n></n><n></n><n>J</n><n>J</n>"); evalTest("for $n in doc('tab.xml')/result/*:row/*:fld1 return " + "('[', for $p in ('', 'k', 'h') return" + " (namespace-uri-for-prefix($p,$n),';'), ']')", "[;J;H;][;J;H;][;J;H;][;J;H;]"); // Based on bugs reported by Francois Leygues <vizawalou@wanadoo.fr>: evalTest("let $bx := <b x='xx'></b> return" + " let $x := <a>{for $y in $bx return $y}</a>" + " return $x/b", "<b x=\"xx\" />"); evalTest("element r {let $y := <b x='1'/>" + " let $x:=<a>{$y}</a> return $x/b/@x}", "<r x=\"1\" />"); evalTest("declare function x(){<a><b x='1'/><b x='2'/></a>};" + " let $i := <a>{for $a in x()/b return $a}</a> return $i/b/@x", " x=\"1\" x=\"2\""); evalTest("declare function s(){ <a x='10'>{for $n in (<b x='2'/>) return ($n) }</a>};" + " let $st := s()/b return (" + " '[',$st/@x ,'] [',$st ,']')", "[ x=\"2\"] [<b x=\"2\" />]"); // Testcase from <Seshukumar_Adiraju@infosys.com>: evalTest("let $books := " + "<books><book id='book1'/><book id='book2'/></books> " + "for $book in $books/book return <p>{string($book/@id)}</p>", "<p>book1</p><p>book2</p>"); evalTest("for $n in children(<a>xx<b/>yy</a>) return $n instanceof node()", "true true true"); evalTest("for $n in children(<a>xx<b/>yy</a>) return $n instanceof text ( )", "true false true"); evalTest("for $n in children(<a>xx<b/>yy</a>) return $n instanceof element(a,*)", "false false false"); evalTest("for $n in <a>xx<b/>yy</a>/node() return $n instanceof element(b,*)", "false true false"); // FIXME: evalTest("<a>xx<b/>yy</a>/node() instanceof node()", "false"); evalTest("<a>xx<b/>yy</a>/node() instanceof node()?", "false"); evalTest("<a>xx<b/>yy</a>/node() instanceof node()+", "true"); evalTest("<a>xx<b/>yy</a>/node() instanceof node()*", "true"); evalTest("<a>xx<b/>yy</a>/node() instanceof item()+", "true"); evalTest("(3,4,5) instanceof item()+", "true"); evalTest("('a','b') instanceof string+", "true"); evalTest("(2,3) instanceof string?", "false"); evalTest("(2,3) instanceof string+", "false"); evalTest("() instanceof string?", "true"); evalTest("() instanceof string+", "false"); evalTest("() instanceof string*", "true"); evalTest("('2') instanceof string?", "true"); evalTest("('2') instanceof string+", "true"); evalTest("('2') instanceof string*", "true"); evalTest("('2','3') instanceof string?", "false"); evalTest("('2','3') instanceof string+", "true"); evalTest("('2','3') instanceof string*", "true"); evalTest("declare namespace Int='class:java.lang.Integer';\n" + "Int:toHexString(266)", "10a"); evalTest("declare namespace File='class:java.io.File';\n" + "declare function make-file ($x as string) {File:new($x)};\n" + "declare function parent ($x) {java.io.File:getParent($x)};\n" + "parent(make-file('dir/mine.txt'))", "dir"); evalTest("java.lang.Integer:toHexString(255)", "ff"); // String functions evalTest("substring('motor car', 6)", "car"); evalTest("substring('metadata', 4, 3)", "ada"); // evalTest("substring('metadata', -INF, 3)", "met"); evalTest("(1 to 20)[. mod 5 = 0]", "5 10 15 20"); evalTest("(1 to 20)[. mod 5 ge 3]", "3 4 8 9 13 14 18 19"); evalTest("1,(99 to 0),3", "1 3"); evalTest("-10 to -2", "-10 -9 -8 -7 -6 -5 -4 -3 -2"); String some_elements = "let $top := <top><a/><b/><c/><d/></top>," + " $a:=$top/a, $b:=$top/b, $c:=$top/c, $d:=$top/d return "; evalNodeNames(some_elements+"($b, $a) union ($a, $b)", "a;b;"); evalNodeNames(some_elements+"($b, $a) union ($b, $c)", "a;b;c;"); evalNodeNames(some_elements+"($b, $a) intersect ($a, $b)", "a;b;"); evalNodeNames(some_elements+"($b, $a) intersect ($b, $c)", "b;"); evalNodeNames(some_elements+"($b, $a) except ($a, $b)", ""); evalNodeNames(some_elements+"($b, $a) except ($b, $c)", "a;"); evalNodeNames(some_elements+"($b, $a, $b, $d) intersect ($b, $d)", "b;d;"); evalNodeNames(some_elements+"($b, $a, $b, $d) except ($b, $d)", "a;"); evalNodeNames(some_elements+"($b, $a, $b, $d) except ()", "a;b;d;"); // Check for catching errors: evalTest("+ +", "*** syntax error - <string>:1:3: missing expression"); evalTest("declare namespace x1='XXX", "*** caught SyntaxException - <string>:1:26: " + "unexpected end-of-file in string"); evalTest("unescaped-data('<?--->'),let $x:=unescaped-data('an &amp;oslash;') return <b>{unescaped-data('<![CDATA[saw]]>')} {$x}</b>", "<?---><b><![CDATA[saw]]> an &oslash;</b>"); evalTestIdAttrs("doc('outline.xml')/book/part/chapter/ancestor::*", "b1;P1;"); evalTestIdAttrs("doc('outline.xml')/book/part/" +"chapter/ancestor-or-self::node()", ";b1;P1;c1;c2;"); evalTestIdAttrs("doc('outline.xml')//" +"section[@id='s1']/following-sibling::*", "s2;s3;"); evalTestIdAttrs("doc('outline.xml')//chapter/self::*", "c1;c2;"); evalTestIdAttrs("doc('outline.xml')//" +"para[@id='p31']/preceding::*", "s1;s11;s2;"); evalTestIdAttrs("doc('outline.xml')//" +"section[@id='s5']/preceding-sibling::*", "s4;"); evalTestIdAttrs("doc('outline.xml')//" +"chapter[@id='c1']/following::*", "c2;s4;s5;"); evalTestIdAttrs("doc('outline.xml')//" +"section[@id='s1']/(/book)", "b1;"); evalTestIdAttrs("doc('outline.xml')//" +"section[@id='s1']/(//chapter)", "c1;c2;"); evalTest("declare namespace XQuery = 'class:gnu.xquery.lang.XQuery';" + "XQuery:eval-with-focus(XQuery:getInstance()," + " '<r pos=\"{position()}\">{.}</r>', (<b/>, 3))", "<r pos=\"1\"><b /></r><r pos=\"2\">3</r>"); evalTest("declare namespace XQuery = 'class:gnu.xquery.lang.XQuery';" + "XQuery:eval-with-focus(XQuery:getInstance()," + " '<r pos=\"{position()}\">{.}</r>', <b/>, 3, 4)", "<r pos=\"3\"><b /></r>"); Object r; String e = "<r pos='{position()}' size='{last()}'>{.}</r>"; try { r = toString(interp.evalWithFocus(e, interp.eval("2,3,4"))); } catch (Throwable ex) { r = ex; } matchTest(e, r, "<r pos=\"1\" size=\"3\">2</r>" + "<r pos=\"2\" size=\"3\">3</r>" + "<r pos=\"3\" size=\"3\">4</r>"); try { r = toString(interp.evalWithFocus(e, interp.eval("<b/>"), 4, 10)); } catch (Throwable ex) { r = ex; } matchTest(e, r, "<r pos=\"4\" size=\"10\"><b/></r>"); printSummary(); }
41089 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41089/a66e09dca5fb4e0596774e8446f60e583e93eee8/TestMisc.java/clean/gnu/xquery/testsuite/TestMisc.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 225, 288, 565, 368, 314, 13053, 18, 8638, 18, 3120, 2966, 18, 8481, 9141, 2244, 273, 315, 79, 2219, 69, 17, 4450, 17, 8481, 10951, 31, 565, 368, 314, 13053, 18, 8638, 18, 3120, 2966, 18, 4148, 5108, 4742, 273, 638, 31, 565, 368, 22416, 18, 4148, 5108, 7951, 4742, 273, 638, 31, 565, 5302, 4709, 2932, 23, 18, 25, 15, 21, 3113, 315, 24, 18, 25, 8863, 565, 5302, 4709, 2932, 23, 18, 25, 15, 21, 269, 24, 14, 22, 18, 25, 3113, 315, 24, 18, 25, 1728, 18, 20, 8863, 565, 5302, 4709, 2932, 23, 32, 25, 3113, 315, 3767, 8863, 565, 5302, 4709, 2932, 1810, 271, 92, 30, 33, 23, 15, 24, 327, 271, 92, 3113, 315, 27, 8863, 565, 5302, 4709, 2932, 1810, 271, 92, 30, 33, 23, 15, 24, 327, 411, 69, 20511, 92, 12863, 69, 2984, 16, 3532, 69, 34, 27, 1757, 69, 2984, 1769, 565, 368, 1660, 2245, 271, 2293, 471, 271, 2740, 358, 8100, 590, 19, 2740, 16, 565, 368, 1496, 1338, 1347, 2898, 4565, 486, 5275, 6261, 2489, 18, 565, 5302, 4709, 2932, 1810, 271, 2293, 30, 33, 22, 16, 271, 2740, 30, 33, 23, 327, 9253, 2293, 26020, 2740, 2225, 16, 315, 25, 8863, 565, 5302, 4709, 2932, 19068, 271, 92, 316, 261, 21, 16, 576, 16, 890, 3631, 271, 93, 316, 261, 22, 16, 890, 16, 1059, 2225, 202, 377, 397, 315, 17917, 271, 92, 397, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 225, 288, 565, 368, 314, 13053, 18, 8638, 18, 3120, 2966, 18, 8481, 9141, 2244, 273, 315, 79, 2219, 69, 17, 4450, 17, 8481, 10951, 31, 565, 368, 314, 13053, 18, 8638, 18, 3120, 2966, 18, 4148, 5108, 4742, 273, 638, 31, 565, 368, 22416, 18, 4148, 5108, 7951, 4742, 273, 638, 31, 565, 5302, 4709, 2932, 23, 18, 25, 15, 21, 3113, 315, 24, 18, 25, 8863, 565, 5302, 4709, 2932, 23, 18, 25, 15, 21, 269, 24, 14, 22, 18, 25, 3113, 315, 24, 18, 25, 1728, 18, 20, 8863, 565, 5302, 4709, 2932, 23, 32, 25, 3113, 315, 3767, 8863, 565, 5302, 4709, 2932, 1810, 271, 2 ]
nf, ts, tb, ar, tc, p) : new MethodInstanceOfChecking(nf, ts, tb, ar, tc, p);
tb, ar, tc, p) : new MethodInstanceOfChecking(tb, ar, tc, p);
public Expr ascribe(Expr e, Type toType) throws SemanticException { Type fromType = e.type(); Expr ret_notype = e; if (this.castCheckClassNotLoaded) { ((Type) ts.systemResolver().find("x10.lang.RuntimeCastChecker")).toClass(); castCheckClassNotLoaded = false; } if (toType == null) { return e; } Position p = e.position(); if ((e instanceof Cast) || (e instanceof Instanceof)) { TypeBuilder tb = new TypeBuilder(job, ts, nf); AmbiguityRemover ar = new AmbiguityRemover(job, ts, nf); TypeChecker tc = new TypeChecker(job, ts, nf); ar = (AmbiguityRemover) ar.context(context()); tc = (TypeChecker) tc.context(context()); X10CastInfo cast = (X10CastInfo) ret_notype; // First some checks related to nullable, // that may avoid to perform a runtime check if (cast.isToTypeNullable()) { // Check expression like litteral null to nullable type if (e instanceof Instanceof) { if (cast.expr().type().isNull()) { // null instanceof nullable<T> || T is always false return (Expr) nf.BooleanLit(p,false).visit(tc); } } if (e instanceof Cast) { // obviously it is cast if (cast.expr().type().isNull()) { // target type is nullable hence cast is always valid, we rewrite the node return (Expr) nf.NullLit(p).visit(tc); } } } if (cast.isDepTypeCheckingNeeded()) { // dynamic cast is needed which means toType may have constraint // we must check at runtime // may be replaced by some pattern MethodChecking mc = (e instanceof Cast) ? new MethodCastChecking( nf, ts, tb, ar, tc, p) : new MethodInstanceOfChecking(nf, ts, tb, ar, tc, p); return mc.getRuntimeCheckingExpr(ret_notype); } else { if (cast.notNullRequired() && (e instanceof Cast)) { // Here type cast is T <-- nullable<T> // Hence we don't want the regulat java cast (T) NullType) works. MethodChecking mc = new MethodCastChecking(nf, ts, tb, ar, tc, p); return mc.getNonNullableCheckingExpr(ret_notype); } } } return e; }
1769 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1769/4ecbbe169dfdbc58a1c8da74af34626f185f8cb1/X10Caster.java/buggy/x10.compiler/src/polyglot/ext/x10/visit/X10Caster.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 8074, 6972, 1902, 12, 4742, 425, 16, 1412, 28234, 13, 1216, 24747, 503, 288, 202, 202, 559, 628, 559, 273, 425, 18, 723, 5621, 202, 202, 4742, 325, 67, 902, 388, 273, 425, 31, 202, 202, 430, 261, 2211, 18, 4155, 1564, 797, 1248, 8835, 13, 288, 1082, 202, 12443, 559, 13, 3742, 18, 4299, 4301, 7675, 4720, 2932, 92, 2163, 18, 4936, 18, 5576, 9735, 8847, 7923, 2934, 869, 797, 5621, 1082, 202, 4155, 1564, 797, 1248, 8835, 273, 629, 31, 202, 202, 97, 9506, 202, 430, 261, 869, 559, 422, 446, 13, 288, 1082, 202, 2463, 425, 31, 202, 202, 97, 9506, 202, 2555, 293, 273, 425, 18, 3276, 5621, 202, 202, 430, 14015, 73, 1276, 19782, 13, 747, 261, 73, 1276, 5180, 792, 3719, 288, 1082, 202, 559, 1263, 8739, 273, 394, 1412, 1263, 12, 4688, 16, 3742, 16, 13958, 1769, 1082, 202, 30706, 8810, 560, 1933, 1643, 419, 273, 394, 432, 1627, 8810, 560, 1933, 1643, 12, 4688, 16, 3742, 16, 13958, 1769, 1082, 202, 559, 8847, 1715, 273, 394, 1412, 8847, 12, 4688, 16, 3742, 16, 13958, 1769, 1082, 202, 297, 273, 261, 30706, 8810, 560, 1933, 1643, 13, 419, 18, 2472, 12, 2472, 10663, 1082, 202, 5111, 273, 261, 559, 8847, 13, 1715, 18, 2472, 12, 2472, 10663, 1082, 202, 60, 2163, 9735, 966, 4812, 273, 261, 60, 2163, 9735, 966, 13, 325, 67, 902, 388, 31, 1082, 202, 759, 5783, 2690, 4271, 3746, 358, 8413, 16, 1875, 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, 8074, 6972, 1902, 12, 4742, 425, 16, 1412, 28234, 13, 1216, 24747, 503, 288, 202, 202, 559, 628, 559, 273, 425, 18, 723, 5621, 202, 202, 4742, 325, 67, 902, 388, 273, 425, 31, 202, 202, 430, 261, 2211, 18, 4155, 1564, 797, 1248, 8835, 13, 288, 1082, 202, 12443, 559, 13, 3742, 18, 4299, 4301, 7675, 4720, 2932, 92, 2163, 18, 4936, 18, 5576, 9735, 8847, 7923, 2934, 869, 797, 5621, 1082, 202, 4155, 1564, 797, 1248, 8835, 273, 629, 31, 202, 202, 97, 9506, 202, 430, 261, 869, 559, 422, 446, 13, 288, 1082, 202, 2463, 425, 31, 202, 202, 97, 9506, 202, 2555, 293, 273, 425, 18, 3276, 5621, 202, 202, 430, 14015, 2 ]
"125:9: Definition of 'equals()' without corresponding defnition of 'hashCode()'.", "162:13: Definition of 'equals()' without corresponding defnition of 'hashCode()'.",
"126:9: Definition of 'equals()' without corresponding defnition of 'hashCode()'.", "163:13: Definition of 'equals()' without corresponding defnition of 'hashCode()'.",
public void testIt() throws Exception { final CheckConfiguration checkConfig = new CheckConfiguration(); checkConfig.setClassname(EqualsHashCodeCheck.class.getName()); final Checker c = createChecker(checkConfig); final String fname = getPath("InputSemantic.java"); final String[] expected = { "125:9: Definition of 'equals()' without corresponding defnition of 'hashCode()'.", "162:13: Definition of 'equals()' without corresponding defnition of 'hashCode()'.", }; verify(c, fname, expected); }
31427 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31427/c2b22a74a2e85bbb2cfd4e0e2379bb062cb58dd1/EqualsHashCodeCheckTest.java/clean/src/tests/com/puppycrawl/tools/checkstyle/EqualsHashCodeCheckTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 7193, 1435, 1216, 1185, 565, 288, 3639, 727, 2073, 1750, 866, 809, 273, 394, 2073, 1750, 5621, 3639, 866, 809, 18, 542, 20531, 12, 8867, 21952, 1564, 18, 1106, 18, 17994, 10663, 3639, 727, 31577, 276, 273, 752, 8847, 12, 1893, 809, 1769, 3639, 727, 514, 5299, 273, 4339, 2932, 1210, 13185, 9941, 18, 6290, 8863, 3639, 727, 514, 8526, 2665, 273, 288, 5411, 315, 18473, 30, 29, 30, 10849, 434, 296, 14963, 11866, 2887, 4656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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7193, 1435, 1216, 1185, 565, 288, 3639, 727, 2073, 1750, 866, 809, 273, 394, 2073, 1750, 5621, 3639, 866, 809, 18, 542, 20531, 12, 8867, 21952, 1564, 18, 1106, 18, 17994, 10663, 3639, 727, 31577, 276, 273, 752, 8847, 12, 1893, 809, 1769, 3639, 727, 514, 5299, 273, 4339, 2932, 1210, 13185, 9941, 18, 6290, 8863, 3639, 727, 514, 8526, 2665, 273, 288, 5411, 315, 18473, 30, 29, 30, 10849, 434, 296, 14963, 11866, 2887, 4656, 1652, 82, 608, 434, 296, 2816, 1085, 11866, 1199, 16, 5411, 315, 30042, 30, 3437, 30, 10849, 434, 296, 14963, 11866, 2887, 4656, 1652, 82, 608, 434, 296, 2816, 1085, 11866, 1199, 16, 3639, 289, 31, 3639, 3929, 12, 2 ]
return service.sqlQuery( "SELECT code FROM classification", new String[0] );
return database.sqlQuery( "SELECT code FROM classification", new String[0] );
private String[] getAllKeywords() { return service.sqlQuery( "SELECT code FROM classification", new String[0] ); }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/db5610ad5156af24cbe4ef33bd3966d7eb2a7c1b/DocumentMapper.java/buggy/server/src/imcode/server/document/DocumentMapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 8526, 5514, 14149, 1435, 288, 3639, 327, 2063, 18, 4669, 1138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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 8526, 5514, 14149, 1435, 288, 3639, 327, 2063, 18, 4669, 1138, 12, 315, 4803, 981, 4571, 13804, 3113, 394, 514, 63, 20, 65, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return new MyDemo().setFormat(df); }
return new MyDemo().setFormat(df); }
public SimpleDemo getDemo() { return new MyDemo().setFormat(df); }
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/5f498162d259bda29596000157c48b05c3fae30e/CheckNumbers.java/clean/tools/java/org/unicode/cldr/test/C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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 4477, 27126, 2343, 351, 83, 1435, 288, 1082, 202, 2463, 394, 8005, 27126, 7675, 542, 1630, 12, 2180, 1769, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 (tabLevel > 0) --tabLevel;
if (_tabLevel > 0) { --_tabLevel; }
public void unindent() { if (tabLevel > 0) --tabLevel; } //-- decreaseIndent
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/34c708e3c0e8dd4b42534f5834f9a280e0c9968b/JSourceWriter.java/clean/castor/trunk/src/main/java/org/exolab/javasource/JSourceWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 640, 9355, 1435, 288, 3639, 309, 261, 67, 7032, 2355, 405, 374, 13, 288, 1493, 67, 7032, 2355, 31, 289, 565, 289, 368, 413, 20467, 7790, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 640, 9355, 1435, 288, 3639, 309, 261, 67, 7032, 2355, 405, 374, 13, 288, 1493, 67, 7032, 2355, 31, 289, 565, 289, 368, 413, 20467, 7790, 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 ]
sql = sql + " LIKE \"" + qualifier + "\";";
sql = sql + " LIKE '" + qualifier + "';";
public static DCType findByElement(Context context, String element, String qualifier) throws SQLException { String sql = "SELECT * FROM dctyperegistry WHERE element LIKE \"" + element + "\" AND qualifier"; if (qualifier==null) { sql = sql + "=null;"; } else { sql = sql + " LIKE \"" + qualifier + "\";"; } TableRowIterator tri = DatabaseManager.query(context, "dctyperegistry", sql); // Return the first matching element (if two match there's a problem, // but not one dealt with here) if (tri.hasNext()) { return new DCType(context, tri.next()); } else { // No match means there's no corresponding element return null; } }
49711 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49711/cce44b43d94dd70675266da89dbc37a0419208f7/DCType.java/buggy/dspace/src/org/dspace/administer/DCType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 21533, 559, 6224, 1046, 12, 1042, 819, 16, 514, 930, 16, 3639, 514, 12327, 13, 3639, 1216, 6483, 565, 288, 3639, 514, 1847, 273, 315, 4803, 380, 4571, 18253, 8300, 1332, 2128, 4852, 930, 13161, 11843, 397, 5411, 930, 397, 7023, 4116, 12327, 14432, 7734, 309, 261, 28157, 631, 2011, 13, 3639, 288, 5411, 1847, 273, 1847, 397, 29199, 2011, 4868, 31, 3639, 289, 3639, 469, 3639, 288, 5411, 1847, 273, 1847, 397, 315, 13161, 2119, 397, 12327, 397, 2491, 4868, 31, 3639, 289, 3639, 3555, 1999, 3198, 6882, 273, 5130, 1318, 18, 2271, 12, 2472, 16, 5411, 315, 72, 299, 8300, 1332, 2128, 3113, 5411, 1847, 1769, 3639, 368, 2000, 326, 1122, 3607, 930, 261, 430, 2795, 845, 1915, 1807, 279, 6199, 16, 3639, 368, 1496, 486, 1245, 443, 2390, 598, 2674, 13, 3639, 309, 261, 16857, 18, 5332, 2134, 10756, 3639, 288, 5411, 327, 394, 21533, 559, 12, 2472, 16, 6882, 18, 4285, 10663, 3639, 289, 3639, 469, 3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 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 21533, 559, 6224, 1046, 12, 1042, 819, 16, 514, 930, 16, 3639, 514, 12327, 13, 3639, 1216, 6483, 565, 288, 3639, 514, 1847, 273, 315, 4803, 380, 4571, 18253, 8300, 1332, 2128, 4852, 930, 13161, 11843, 397, 5411, 930, 397, 7023, 4116, 12327, 14432, 7734, 309, 261, 28157, 631, 2011, 13, 3639, 288, 5411, 1847, 273, 1847, 397, 29199, 2011, 4868, 31, 3639, 289, 3639, 469, 3639, 288, 5411, 1847, 273, 1847, 397, 315, 13161, 2119, 397, 12327, 397, 2491, 4868, 31, 3639, 289, 3639, 3555, 1999, 3198, 6882, 273, 5130, 1318, 18, 2271, 12, 2472, 16, 5411, 315, 72, 299, 8300, 1332, 2128, 3113, 5411, 1847, 1769, 3639, 368, 2000, 326, 1122, 3607, 930, 261, 2 ]
PreparedStatement delete_biosequence = conn.prepareStatement("delete from biosequence where bioentry_id = ?"); delete_biosequence.setInt(1, bioentry_id); delete_biosequence.executeUpdate(); delete_biosequence.close();
PreparedStatement delete_entry = conn.prepareStatement("delete from bioentry where bioentry_id = ?"); delete_entry.setInt(1, bioentry_id); delete_entry.executeUpdate(); delete_entry.close(); } rs.close(); get_sequence.close();
private void _removeSequence(String id) throws BioException, ChangeVetoException { Sequence seq = (Sequence) sequencesByName.get(id); if (seq != null) { seq = null; // Don't want to be holding the reference ourselves! try { Thread.sleep(100L); System.gc(); } catch (Exception ex) { ex.printStackTrace(); } seq = (Sequence) sequencesByName.get(id); if (seq != null) { throw new BioException("There are still references to sequence with ID " + id + " from this database."); } } Connection conn = null; try { conn = dataSource.getConnection(); conn.setAutoCommit(false); PreparedStatement get_sequence = conn.prepareStatement("select bioentry.bioentry_id " + "from bioentry " + "where bioentry.accession = ?" ); get_sequence.setString(1, id); ResultSet rs = get_sequence.executeQuery(); boolean exists; if ((exists = rs.next())) { int bioentry_id = rs.getInt(1); PreparedStatement delete_reference = conn.prepareStatement("delete from bioentry_reference where bioentry_id = ?"); delete_reference.setInt(1, bioentry_id); delete_reference.executeUpdate(); delete_reference.close(); boolean commentSupported = getDBHelper().containsTable(dataSource, "comment"); String commentTableName = getCommentTableName(); if (commentTableName != null) { PreparedStatement delete_comment = conn.prepareStatement("delete from " + commentTableName + " where bioentry_id = ?"); delete_comment.setInt(1, bioentry_id); delete_comment.executeUpdate(); delete_comment.close(); } PreparedStatement delete_qv = conn.prepareStatement("delete from bioentry_qualifier_value where bioentry_id = ?"); delete_qv.setInt(1, bioentry_id); delete_qv.executeUpdate(); delete_qv.close(); DBHelper.DeleteStyle dstyle = getDBHelper().getDeleteStyle(); ArrayList generic_ids = null; // default delete style will cache seqfeature_id's that need to be deleted PreparedStatement delete_locs; if (dstyle == DBHelper.DELETE_MYSQL4) { delete_locs = conn.prepareStatement("delete from location" + " using location, seqfeature" + " where location.seqfeature_id = seqfeature.seqfeature_id and" + " seqfeature.bioentry_id = ?"); delete_locs.setInt(1, bioentry_id); delete_locs.executeUpdate(); delete_locs.close(); } else if (dstyle == DBHelper.DELETE_POSTGRESQL) { delete_locs = conn.prepareStatement("delete from location" + " where location.seqfeature_id = seqfeature.seqfeature_id and" + " seqfeature.bioentry_id = ?"); delete_locs.setInt(1, bioentry_id); delete_locs.executeUpdate(); delete_locs.close(); } else { delete_locs = conn.prepareStatement("delete from location where seqfeature_id = ?"); PreparedStatement get_seqfeats = conn.prepareStatement("select seqfeature_id" + " from seqfeature" + " where bioentry_id = ?" ); get_seqfeats.setInt(1, bioentry_id); ResultSet sfids = get_seqfeats.executeQuery(); generic_ids = new ArrayList(); while (sfids.next()) { int sfid = sfids.getInt(1); generic_ids.add(new Integer(sfid)); delete_locs.setInt(1, sfid); delete_locs.executeUpdate(); } sfids.close(); get_seqfeats.close(); } delete_locs.close(); PreparedStatement delete_fqv; if (dstyle == DBHelper.DELETE_MYSQL4) { delete_fqv = conn.prepareStatement("delete from seqfeature_qualifier_value" + " using seqfeature_qualifier_value, seqfeature" + " where seqfeature_qualifier_value.seqfeature_id = seqfeature.seqfeature_id" + " and seqfeature.bioentry_id = ?"); delete_fqv.setInt(1, bioentry_id); delete_fqv.executeUpdate(); } else if (dstyle == DBHelper.DELETE_POSTGRESQL) { delete_fqv = conn.prepareStatement("delete from seqfeature_qualifier_value" + " where seqfeature_qualifier_value.seqfeature_id = seqfeature.seqfeature_id" + " and seqfeature.bioentry_id = ?"); delete_fqv.setInt(1, bioentry_id); delete_fqv.executeUpdate(); } else { delete_fqv = conn.prepareStatement("delete from seqfeature_qualifier_value" + " where seqfeature_qualifier_value.seqfeature_id = ?"); for (int i = 0; i < generic_ids.size(); i++) { int sfid = ((Integer) generic_ids.get(i)).intValue(); delete_fqv.setInt(1, sfid); delete_fqv.executeUpdate(); } } delete_fqv.close(); PreparedStatement delete_rel; if (dstyle == DBHelper.DELETE_MYSQL4) { delete_rel = conn.prepareStatement("delete from seqfeature_relationship" + " using seqfeature_relationship, seqfeature" + " where object_seqfeature_id = seqfeature.seqfeature_id" + " and seqfeature.bioentry_id = ?"); delete_rel.setInt(1, bioentry_id); delete_rel.executeUpdate(); } else if (dstyle == DBHelper.DELETE_POSTGRESQL) { delete_rel = conn.prepareStatement("delete from seqfeature_relationship" + " where object_seqfeature_id = seqfeature.seqfeature_id" + " and seqfeature.bioentry_id = ?"); delete_rel.setInt(1, bioentry_id); delete_rel.executeUpdate(); } else { delete_rel = conn.prepareStatement("delete from seqfeature_relationship" + " where object_seqfeature_id = ?"); for (int i = 0; i < generic_ids.size(); i++) { int sfid = ((Integer) generic_ids.get(i)).intValue(); delete_rel.setInt(1, sfid); delete_rel.executeUpdate(); } } delete_rel.close(); PreparedStatement delete_features = conn.prepareStatement("delete from seqfeature " + " where bioentry_id = ?"); delete_features.setInt(1, bioentry_id); delete_features.executeUpdate(); delete_features.close(); PreparedStatement delete_biosequence = conn.prepareStatement("delete from biosequence where bioentry_id = ?"); delete_biosequence.setInt(1, bioentry_id); delete_biosequence.executeUpdate(); delete_biosequence.close(); PreparedStatement delete_entry = conn.prepareStatement("delete from bioentry where bioentry_id = ?"); delete_entry.setInt(1, bioentry_id); delete_entry.executeUpdate(); delete_entry.close(); } rs.close(); get_sequence.close(); conn.commit(); conn.close(); if (!exists) { throw new IllegalIDException("Sequence " + id + " didn't exist"); } } catch (SQLException ex) { boolean rolledback = false; if (conn != null) { try { conn.rollback(); rolledback = true; } catch (SQLException ex2) {} } throw new BioException("Error removing from BioSQL tables" + (rolledback ? " (rolled back successfully)" : ""), ex); } }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/8a46d5de3fe9090d980d1d2a6af0d1a91dc8dba3/BioSQLSequenceDB.java/clean/src/org/biojava/bio/seq/db/biosql/BioSQLSequenceDB.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 389, 4479, 4021, 12, 780, 612, 13, 3639, 1216, 21209, 503, 16, 7576, 58, 11453, 503, 565, 288, 202, 4021, 3833, 273, 261, 4021, 13, 8463, 5911, 18, 588, 12, 350, 1769, 202, 430, 261, 5436, 480, 446, 13, 288, 202, 565, 3833, 273, 446, 31, 225, 368, 7615, 1404, 2545, 358, 506, 19918, 326, 2114, 19801, 5, 202, 565, 775, 288, 202, 202, 3830, 18, 19607, 12, 6625, 48, 1769, 202, 202, 3163, 18, 13241, 5621, 202, 565, 289, 1044, 261, 503, 431, 13, 288, 202, 202, 338, 18, 1188, 6332, 5621, 202, 565, 289, 202, 565, 3833, 273, 261, 4021, 13, 8463, 5911, 18, 588, 12, 350, 1769, 202, 565, 309, 261, 5436, 480, 446, 13, 288, 202, 202, 12849, 394, 21209, 503, 2932, 9828, 854, 4859, 5351, 358, 3102, 598, 1599, 315, 397, 612, 397, 315, 628, 333, 2063, 1199, 1769, 202, 565, 289, 202, 97, 202, 1952, 1487, 273, 446, 31, 202, 698, 288, 202, 565, 1487, 273, 10233, 18, 588, 1952, 5621, 202, 565, 1487, 18, 542, 4965, 5580, 12, 5743, 1769, 202, 565, 16913, 336, 67, 6178, 273, 1487, 18, 9366, 3406, 2932, 4025, 25091, 4099, 18, 21010, 4099, 67, 350, 315, 397, 6862, 6862, 282, 315, 2080, 25091, 4099, 315, 397, 6862, 6862, 282, 315, 6051, 25091, 4099, 18, 3860, 285, 273, 17921, 4766, 282, 11272, 202, 565, 336, 67, 6178, 18, 542, 780, 12, 21, 16, 612, 1769, 202, 565, 10842, 3597, 273, 336, 67, 6178, 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, 389, 4479, 4021, 12, 780, 612, 13, 3639, 1216, 21209, 503, 16, 7576, 58, 11453, 503, 565, 288, 202, 4021, 3833, 273, 261, 4021, 13, 8463, 5911, 18, 588, 12, 350, 1769, 202, 430, 261, 5436, 480, 446, 13, 288, 202, 565, 3833, 273, 446, 31, 225, 368, 7615, 1404, 2545, 358, 506, 19918, 326, 2114, 19801, 5, 202, 565, 775, 288, 202, 202, 3830, 18, 19607, 12, 6625, 48, 1769, 202, 202, 3163, 18, 13241, 5621, 202, 565, 289, 1044, 261, 503, 431, 13, 288, 202, 202, 338, 18, 1188, 6332, 5621, 202, 565, 289, 202, 565, 3833, 273, 261, 4021, 13, 8463, 5911, 18, 588, 12, 350, 1769, 202, 565, 309, 261, 5436, 480, 2 ]
tableColumnCommand.setText(Util.translateString(RESOURCE_BUNDLE, "tableColumnCommand"));
tableColumnCommand .setText(UNSORTED_COLUMN_NAMES[VIEW_COMMAND_COLUMN_INDEX]);
private final Composite createViewTab(final TabFolder parent) { GridData gridData = null; // Create the composite for the tab. final Composite composite = new Composite(parent, SWT.NONE); composite.setLayoutData(new GridData(GridData.FILL_BOTH)); composite.setLayout(new GridLayout()); // Place a table inside the tab. tableKeyBindings = new Table(composite, SWT.BORDER | SWT.FULL_SELECTION | SWT.H_SCROLL | SWT.V_SCROLL); tableKeyBindings.setHeaderVisible(true); gridData = new GridData(GridData.FILL_BOTH); gridData.widthHint = 800; gridData.heightHint = 400; tableKeyBindings.setLayoutData(gridData); final TableColumn tableColumnCategory = new TableColumn( tableKeyBindings, SWT.NONE, VIEW_CATEGORY_COLUMN_INDEX); tableColumnCategory.setText(Util.translateString(RESOURCE_BUNDLE, "tableColumnCategory")); //$NON-NLS-1$ tableColumnCategory .addSelectionListener(new SortOrderSelectionListener( SORT_COLUMN_CATEGORY)); final TableColumn tableColumnCommand = new TableColumn( tableKeyBindings, SWT.NONE, VIEW_COMMAND_COLUMN_INDEX); tableColumnCommand.setText(Util.translateString(RESOURCE_BUNDLE, "tableColumnCommand")); //$NON-NLS-1$ tableColumnCommand.addSelectionListener(new SortOrderSelectionListener( SORT_COLUMN_COMMAND)); final TableColumn tableColumnKeySequence = new TableColumn( tableKeyBindings, SWT.NONE, VIEW_KEY_SEQUENCE_COLUMN_INDEX); tableColumnKeySequence.setText(Util.translateString(RESOURCE_BUNDLE, "tableColumnKeySequence")); //$NON-NLS-1$ tableColumnKeySequence .addSelectionListener(new SortOrderSelectionListener( SORT_COLUMN_KEY_SEQUENCE)); final TableColumn tableColumnContext = new TableColumn( tableKeyBindings, SWT.NONE, VIEW_CONTEXT_COLUMN_INDEX); tableColumnContext.setText(Util.translateString(RESOURCE_BUNDLE, "tableColumnContext")); //$NON-NLS-1$ tableColumnContext.addSelectionListener(new SortOrderSelectionListener( SORT_COLUMN_CONTEXT)); // A button for exporting the contents to a file. final Button button = new Button(composite, SWT.PUSH); gridData = new GridData(); gridData.horizontalAlignment = GridData.END; gridData.heightHint = convertVerticalDLUsToPixels(IDialogConstants.BUTTON_HEIGHT); final int widthHint = convertHorizontalDLUsToPixels(IDialogConstants.BUTTON_WIDTH); gridData.widthHint = Math.max(widthHint, button.computeSize( SWT.DEFAULT, SWT.DEFAULT, true).x) + 5; button.setLayoutData(gridData); button.setText(Util.translateString(RESOURCE_BUNDLE, "buttonExport")); //$NON-NLS-1$ button.addSelectionListener(new SelectionListener() { /* * (non-Javadoc) * * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent) */ public final void widgetDefaultSelected(final SelectionEvent event) { selectedButtonExport(); } /* * (non-Javadoc) * * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent) */ public void widgetSelected(SelectionEvent e) { widgetDefaultSelected(e); } }); return composite; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/4a62e78681d79a080be40988ef978dc8e4dfc875/KeysPreferencePage.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/commands/KeysPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 727, 14728, 15193, 5661, 12, 6385, 9483, 3899, 982, 13, 288, 3639, 7145, 751, 3068, 751, 273, 446, 31, 3639, 368, 1788, 326, 9635, 364, 326, 3246, 18, 3639, 727, 14728, 9635, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 3639, 9635, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 10019, 3639, 9635, 18, 542, 3744, 12, 2704, 7145, 3744, 10663, 3639, 368, 13022, 279, 1014, 4832, 326, 3246, 18, 3639, 1014, 653, 10497, 273, 394, 3555, 12, 27676, 16, 348, 8588, 18, 38, 7954, 571, 348, 8588, 18, 18111, 67, 1090, 15445, 7734, 571, 348, 8588, 18, 44, 67, 2312, 14555, 571, 348, 8588, 18, 58, 67, 2312, 14555, 1769, 3639, 1014, 653, 10497, 18, 542, 1864, 6207, 12, 3767, 1769, 3639, 3068, 751, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 1769, 3639, 3068, 751, 18, 2819, 7002, 273, 1725, 713, 31, 3639, 3068, 751, 18, 4210, 7002, 273, 7409, 31, 3639, 1014, 653, 10497, 18, 542, 3744, 751, 12, 5222, 751, 1769, 3639, 727, 3555, 1494, 1014, 1494, 4457, 273, 394, 3555, 1494, 12, 7734, 1014, 653, 10497, 16, 348, 8588, 18, 9826, 16, 21794, 67, 24847, 67, 11009, 67, 9199, 1769, 3639, 1014, 1494, 4457, 18, 542, 1528, 12, 1304, 18, 13929, 780, 12, 11395, 67, 30245, 16, 7734, 315, 2121, 1494, 4457, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1014, 1494, 4457, 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, 727, 14728, 15193, 5661, 12, 6385, 9483, 3899, 982, 13, 288, 3639, 7145, 751, 3068, 751, 273, 446, 31, 3639, 368, 1788, 326, 9635, 364, 326, 3246, 18, 3639, 727, 14728, 9635, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 3639, 9635, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 10019, 3639, 9635, 18, 542, 3744, 12, 2704, 7145, 3744, 10663, 3639, 368, 13022, 279, 1014, 4832, 326, 3246, 18, 3639, 1014, 653, 10497, 273, 394, 3555, 12, 27676, 16, 348, 8588, 18, 38, 7954, 571, 348, 8588, 18, 18111, 67, 1090, 15445, 7734, 571, 348, 8588, 18, 44, 67, 2312, 14555, 571, 348, 8588, 18, 2 ]
if(progress >= 100)
if(this.progress >= 100)
public boolean isFinished() { if(progress >= 100) return true; return false; }
47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/88402a3bc59123261d50a7cfed0ac20de2b772f6/FCPClientGet.java/clean/src/thaw/fcp/FCPClientGet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 10577, 1435, 288, 202, 202, 430, 12, 8298, 1545, 2130, 13, 1082, 202, 2463, 638, 31, 202, 202, 2463, 629, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 10577, 1435, 288, 202, 202, 430, 12, 8298, 1545, 2130, 13, 1082, 202, 2463, 638, 31, 202, 202, 2463, 629, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ICompilationUnit unit= fCompilationUnit;
ICompilationUnit unit= getCompilationUnit();
private CompilationUnitCompletion guessVariableNames() { ICompilationUnit unit= fCompilationUnit; int start= getStart(); if (unit == null) return null; try { CompilationUnitCompletion collector= new CompilationUnitCompletion(unit); unit.codeComplete(start, collector); return collector; } catch (JavaModelException e) { JavaPlugin.log(e); openErrorDialog(null, e); return null; } }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/019e4fcbc8f50045c8c15cb6b79f13954ba26d46/JavaContext.java/clean/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 22416, 2802, 11238, 7274, 3092, 1557, 1435, 288, 202, 202, 45, 19184, 2802, 2836, 33, 284, 19184, 2802, 31, 202, 202, 474, 787, 33, 8635, 5621, 9506, 202, 430, 261, 4873, 422, 446, 13, 1082, 202, 2463, 446, 31, 9506, 202, 698, 288, 1082, 202, 19184, 2802, 11238, 8543, 33, 394, 22416, 2802, 11238, 12, 4873, 1769, 1082, 202, 4873, 18, 710, 6322, 12, 1937, 16, 8543, 1769, 25083, 202, 2463, 8543, 31, 9506, 202, 97, 1044, 261, 5852, 1488, 503, 425, 13, 288, 1082, 202, 5852, 3773, 18, 1330, 12, 73, 1769, 1082, 202, 3190, 668, 6353, 12, 2011, 16, 425, 1769, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 97, 202, 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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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, 22416, 2802, 11238, 7274, 3092, 1557, 1435, 288, 202, 202, 45, 19184, 2802, 2836, 33, 284, 19184, 2802, 31, 202, 202, 474, 787, 33, 8635, 5621, 9506, 202, 430, 261, 4873, 422, 446, 13, 1082, 202, 2463, 446, 31, 9506, 202, 698, 288, 1082, 202, 19184, 2802, 11238, 8543, 33, 394, 22416, 2802, 11238, 12, 4873, 1769, 1082, 202, 4873, 18, 710, 6322, 12, 1937, 16, 8543, 1769, 25083, 202, 2463, 8543, 31, 9506, 202, 97, 1044, 261, 5852, 1488, 503, 425, 13, 288, 1082, 202, 5852, 3773, 18, 1330, 12, 73, 1769, 1082, 202, 3190, 668, 6353, 12, 2011, 16, 425, 1769, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 97, 202, 2, -100, -100 ]
try { _debugger.scrollToSource(getSelectedStackItem()); } catch (DebugException de) { _frame._showDebugError(de); }
_scrollToSourceIfBreakpoint();
public void actionPerformed(ActionEvent e) { try { _debugger.scrollToSource(getSelectedStackItem()); } catch (DebugException de) { _frame._showDebugError(de); } }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/6222fd84e3aa6c7b8b3da9d73ccf7a9a3370487b/DebugPanel.java/clean/drjava/src/edu/rice/cs/drjava/ui/DebugPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 775, 288, 1850, 389, 4148, 693, 18, 12033, 774, 1830, 12, 588, 7416, 2624, 1180, 10663, 3639, 289, 3639, 1044, 261, 2829, 503, 443, 13, 288, 1850, 389, 3789, 6315, 4500, 2829, 668, 12, 323, 1769, 3639, 289, 1377, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 775, 288, 1850, 389, 4148, 693, 18, 12033, 774, 1830, 12, 588, 7416, 2624, 1180, 10663, 3639, 289, 3639, 1044, 261, 2829, 503, 443, 13, 288, 1850, 389, 3789, 6315, 4500, 2829, 668, 12, 323, 1769, 3639, 289, 1377, 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 ]
iconic.setShortBoolean(field_5_options, isiconic);
field_5_options = iconic.setShortBoolean(field_5_options, isiconic);
public void setIconic(boolean isiconic) { iconic.setShortBoolean(field_5_options, isiconic); }
509 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/509/449540d6cef3b20a2687fe7373bdb1fe31c6cf58/WindowOneRecord.java/buggy/src/java/org/apache/poi/hssf/record/WindowOneRecord.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 21481, 335, 12, 6494, 353, 3950, 335, 13, 565, 288, 3639, 652, 67, 25, 67, 2116, 273, 4126, 335, 18, 542, 4897, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 21481, 335, 12, 6494, 353, 3950, 335, 13, 565, 288, 3639, 652, 67, 25, 67, 2116, 273, 4126, 335, 18, 542, 4897, 5507, 12, 1518, 67, 25, 67, 2116, 16, 353, 3950, 335, 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 ]
OldLogFile olf = new OldLogFile(currentFilename, startTime, lastTime, length);
OldLogFile olf = new OldLogFile(currentFilename, lastTime, thisTime, length);
public void run() { File currentFilename = null; Object o = null; long thisTime = System.currentTimeMillis(); long lastTime = thisTime; long startTime = -1; long nextHour = -1; GregorianCalendar gc = null; String filename = null; if (baseFilename != null) { latestFilename = new File(baseFilename+"-latest.log"); previousFilename = new File(baseFilename+"-previous.log"); findOldLogFiles(); gc = new GregorianCalendar(); switch (INTERVAL) { case Calendar.YEAR : gc.set(Calendar.MONTH, 0); case Calendar.MONTH : gc.set(Calendar.DAY_OF_MONTH, 0); case Calendar.WEEK_OF_YEAR : if (INTERVAL == Calendar.WEEK_OF_YEAR) gc.set(Calendar.DAY_OF_WEEK, 0); case Calendar.DAY_OF_MONTH : gc.set(Calendar.HOUR, 0); case Calendar.HOUR : gc.set(Calendar.MINUTE, 0); case Calendar.MINUTE : gc.set(Calendar.SECOND, 0); gc.set(Calendar.MILLISECOND, 0); } if(INTERVAL_MULTIPLIER > 1) { int x = gc.get(INTERVAL); gc.set(INTERVAL, (x / INTERVAL_MULTIPLIER) * INTERVAL_MULTIPLIER); } filename = getHourLogName(gc, true); currentFilename = new File(filename); logStream = openNewLogFile(currentFilename, true); if(latestFilename != null) { altLogStream = openNewLogFile(latestFilename, false); } System.err.println("Created log files"); startTime = gc.getTimeInMillis(); gc.add(INTERVAL, INTERVAL_MULTIPLIER); nextHour = gc.getTimeInMillis(); } while (true) { try { thisTime = System.currentTimeMillis(); if (baseFilename != null) { if (thisTime > nextHour) { // Switch logs try { logStream.flush(); if(altLogStream != null) altLogStream.flush(); } catch (IOException e) { System.err.println( "Flushing on change caught " + e); } String oldFilename = filename; long length = currentFilename.length(); OldLogFile olf = new OldLogFile(currentFilename, startTime, lastTime, length); lastTime = thisTime; synchronized(logFiles) { logFiles.addLast(olf); } oldLogFilesDiskSpaceUsage += length; trimOldLogFiles(); try { logStream.close(); } catch (IOException e) { System.err.println( "Closing on change caught " + e); } // Rotate primary log stream filename = getHourLogName(gc, true); currentFilename = new File(filename); logStream = openNewLogFile(new File(filename), true); if(latestFilename != null) { try { altLogStream.close(); } catch (IOException e) { System.err.println( "Closing alt on change caught " + e); } if(previousFilename != null) { previousFilename.delete(); latestFilename.renameTo(previousFilename); latestFilename.delete(); } else { latestFilename.delete(); } altLogStream = openNewLogFile(latestFilename, false); } System.err.println("Rotated log files: "+filename); //System.err.println("Almost rotated"); gc.add(INTERVAL, INTERVAL_MULTIPLIER); nextHour = gc.getTimeInMillis(); //System.err.println("Rotated"); } } if(list.size() == 0) { myWrite(logStream, null); if(altLogStream != null) myWrite(altLogStream, null); } synchronized (list) { while (list.size() == 0) { if (closed) { return; } try { list.wait(500); } catch (InterruptedException e) { // Ignored. } } o = list.removeFirst(); listBytes -= (((byte[]) o).length + 16); } myWrite(logStream, ((byte[]) o)); if(altLogStream != null) myWrite(altLogStream, (byte[]) o); } catch (OutOfMemoryError e) { // FIXME //freenet.node.Main.dumpInterestingObjects(); } catch (Throwable t) { System.err.println("FileLoggerHook log writer caught " + t); t.printStackTrace(System.err); } } }
49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/471e8a67c4fbabf6d0b7e2eca8906ca553f5dc52/FileLoggerHook.java/clean/src/freenet/support/FileLoggerHook.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1086, 1435, 288, 1082, 202, 812, 783, 5359, 273, 446, 31, 1082, 202, 921, 320, 273, 446, 31, 1082, 202, 5748, 333, 950, 273, 2332, 18, 2972, 28512, 5621, 1082, 202, 5748, 31323, 273, 333, 950, 31, 1082, 202, 5748, 8657, 273, 300, 21, 31, 1082, 202, 5748, 1024, 13433, 273, 300, 21, 31, 1082, 202, 31560, 7335, 8859, 273, 446, 31, 1082, 202, 780, 1544, 273, 446, 31, 1082, 202, 430, 261, 1969, 5359, 480, 446, 13, 288, 9506, 202, 13550, 5359, 273, 394, 1387, 12, 1969, 5359, 9078, 17, 13550, 18, 1330, 8863, 9506, 202, 11515, 5359, 273, 394, 1387, 12, 1969, 5359, 9078, 17, 11515, 18, 1330, 8863, 9506, 202, 4720, 7617, 1343, 2697, 5621, 9506, 202, 13241, 273, 394, 28033, 5621, 9506, 202, 9610, 261, 16435, 13, 288, 6862, 202, 3593, 5542, 18, 15137, 294, 25083, 202, 13241, 18, 542, 12, 7335, 18, 13942, 16, 374, 1769, 6862, 202, 3593, 5542, 18, 13942, 294, 25083, 202, 13241, 18, 542, 12, 7335, 18, 10339, 67, 3932, 67, 13942, 16, 374, 1769, 6862, 202, 3593, 5542, 18, 20274, 67, 3932, 67, 15137, 294, 25083, 202, 430, 261, 16435, 422, 5542, 18, 20274, 67, 3932, 67, 15137, 13, 6862, 1082, 202, 13241, 18, 542, 12, 7335, 18, 10339, 67, 3932, 67, 20274, 16, 374, 1769, 6862, 202, 3593, 5542, 18, 10339, 67, 3932, 67, 13942, 294, 25083, 202, 13241, 18, 542, 12, 7335, 18, 21372, 16, 374, 1769, 6862, 202, 3593, 5542, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1086, 1435, 288, 1082, 202, 812, 783, 5359, 273, 446, 31, 1082, 202, 921, 320, 273, 446, 31, 1082, 202, 5748, 333, 950, 273, 2332, 18, 2972, 28512, 5621, 1082, 202, 5748, 31323, 273, 333, 950, 31, 1082, 202, 5748, 8657, 273, 300, 21, 31, 1082, 202, 5748, 1024, 13433, 273, 300, 21, 31, 1082, 202, 31560, 7335, 8859, 273, 446, 31, 1082, 202, 780, 1544, 273, 446, 31, 1082, 202, 430, 261, 1969, 5359, 480, 446, 13, 288, 9506, 202, 13550, 5359, 273, 394, 1387, 12, 1969, 5359, 9078, 17, 13550, 18, 1330, 8863, 9506, 202, 11515, 5359, 273, 394, 1387, 12, 1969, 5359, 9078, 17, 11515, 18, 1330, 8863, 9506, 202, 4720, 7617, 2 ]
sym2label.put(sym, l);
sym2label.put(sym, new LabelDescr(l, params));
private Item gen0(Tree tree, MSILType toType) { Symbol sym = tree.hasSymbol() ? tree.symbol() : null; Item item = null; switch (tree) { case Empty: return items.VoidItem(); case Block(Tree[] stats, Tree value): boolean tmpLastExpr = lastExpr; lastExpr = false; for (int i = 0; i < stats.length; i++) { drop(gen(stats[i], MSILType.VOID)); } lastExpr = tmpLastExpr; return gen(value, toType); case ValDef(_, Name name, Tree tpe, Tree rhs): LocalBuilder local = code.DeclareLocal(tc.getType(sym)); //local.SetLocalSymInfo(name.toString()); local.SetLocalSymInfo(tree.symbol().name.toString()); locals.put(sym, local); if (rhs == Tree.Empty) return items.VoidItem(); MSILType type = msilType(tpe.type); genLoad(rhs, type); return check(store(items.LocalItem(local))); case Ident(_): if (sym.isModule()) { FieldInfo field = tc.getModuleField(sym); // force the loading of the module item = coerce(load(items.StaticItem(field)), toType); } else { MSILType type = msilType(sym.info()); Integer slot = (Integer) params.get(sym); if (slot != null) { item = items.ArgItem(type, slot.intValue()); } else { LocalBuilder local = (LocalBuilder) locals.get(sym); if (local != null) item = items.LocalItem(local); else { assert sym.isStatic() : Debug.show(sym); //global.fail("Ident = " + Debug.show(sym)); FieldInfo field = tc.getField(sym); assert field != null : Debug.show(sym); if (field.IsLiteral()) { assert field.FieldType.IsEnum() && field.getValue() != null : field.toString(); return coerce(mkLiteral(msilType(field.FieldType), field.getValue()), toType); } return coerce(items.StaticItem(field), toType); } } } return coerce(item, toType); case Select(Tree qualifier, _): if (sym.isModule()) { assert !sym.isJava() : "Cannot treat Java class '" + Debug.show(sym) + "' as value."; //System.out.println("gen2.Select: object " + Debug.show(qualifier) // + " . " + Debug.show(sym)); return coerce(load(items.StaticItem(tc.getModuleField(sym))), toType); } assert !sym.isStatic() :Debug.show(sym); item = items.SelectItem(genLoad(qualifier, msilType(qualifier)), tc.getField(sym)); return coerce(item, toType); case Apply(Tree fun, Tree[] args): Item i = check(genApply(fun, args, msilType(tree.type)));// System.out.println("gen.Apply: " + Debug.show(fun.symbol()) + " toType = " + toType +// "; tree.type = " + msilType(tree.type) + "; result = " + i); return coerce(i, toType); case Assign(Tree lhs, Tree rhs): boolean tmpLastExpr = lastExpr; lastExpr = false; MSILType type = msilType(lhs.type); Item var = gen(lhs, type); genLoad(rhs, type); lastExpr = tmpLastExpr; return check(store(var)); case New(Tree init): switch (init) { case Apply(Tree fun, Tree[] args): ConstructorInfo ctor = (ConstructorInfo) tc.getMethod(fun.symbol()); loadArgs(args, ctor.GetParameters()); code.Emit(OpCodes.Newobj, ctor); return coerce(items.StackItem(msilType(ctor.DeclaringType)), toType); default: throw Debug.abort("Incorrect tree", init); } case This(_): //return items.SelfItem(tc.getType(currentClass)); return coerce(items.SelfItem(tc.getType(sym)), toType); case Super(_, _):// Item retItem = items.SelfItem(tc.getType(currentClass));// return retItem; return coerce(items.SelfItem(tc.getType(sym)), toType); case Literal(AConstant value): if (toType == MSILType.VOID) return items.VoidItem(); return coerce(items.LiteralItem(value), toType); case Return(Tree expr): //System.out.println(Debug.show(expr) + "; toType = " + toType); genLoad(expr, msilType(expr)); //code.Emit(OpCodes.Ret); code.Emit(OpCodes.Br, methodEnd); return items.VoidItem(); case If(Tree cond, Tree thenp, Tree elsep): item = genIf(cond, thenp, elsep, toType); return check(item); case LabelDef(_, _ /*Ident[] params*/, Tree rhs): Label l = code.DefineLabel(); code.MarkLabel(l); sym2label.put(sym, l); return gen(rhs, toType); case Switch(Tree test, int[] tags, Tree[] bodies, Tree otherwise): LocalBuilder testLoc = code.DeclareLocal(tc.INT); Item loc = items.LocalItem(testLoc); boolean tmpLastExpr = lastExpr; lastExpr = false; genLoad(test, MSILType.I4); store(loc); lastExpr = tmpLastExpr; Label exit = code.DefineLabel(); Label nextCase = code.DefineLabel(); assert tags.length == bodies.length; for (int i = 0; i < tags.length; i++) { load(loc); loadI4(tags[i]); code.Emit(OpCodes.Bne_Un, nextCase); genLoad(bodies[i], toType);// if (lastExpr)// code.Emit(OpCodes.Ret);// else if (willReturn) code.Emit(OpCodes.Br, exit); code.MarkLabel(nextCase); nextCase = code.DefineLabel(); } Item i = genLoad(otherwise, toType); code.MarkLabel(exit); return i; default: throw Debug.abort("Dunno what to do", tree); } } //gen()
10130 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10130/000493ef6025c2778ec96975d8bf7d58a3f853f3/GenMSIL.java/buggy/sources/scalac/backend/msil/GenMSIL.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 4342, 3157, 20, 12, 2471, 2151, 16, 490, 2320, 48, 559, 28234, 13, 288, 202, 5335, 5382, 273, 2151, 18, 5332, 5335, 1435, 692, 2151, 18, 7175, 1435, 294, 446, 31, 202, 1180, 761, 273, 446, 31, 202, 9610, 261, 3413, 13, 288, 202, 3593, 8953, 30, 202, 565, 327, 1516, 18, 19038, 1180, 5621, 202, 3593, 3914, 12, 2471, 8526, 3177, 16, 4902, 460, 4672, 5411, 1250, 1853, 3024, 4742, 273, 1142, 4742, 31, 1142, 4742, 273, 629, 31, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3177, 18, 2469, 31, 277, 27245, 288, 7734, 3640, 12, 4507, 12, 5296, 63, 77, 6487, 490, 2320, 48, 559, 18, 58, 12945, 10019, 5411, 289, 5411, 1142, 4742, 273, 1853, 3024, 4742, 31, 5411, 327, 3157, 12, 1132, 16, 28234, 1769, 202, 3593, 12747, 3262, 24899, 16, 1770, 508, 16, 4902, 268, 347, 16, 4902, 7711, 4672, 202, 565, 3566, 1263, 1191, 273, 981, 18, 3456, 834, 2042, 12, 5111, 18, 588, 559, 12, 8117, 10019, 202, 565, 368, 3729, 18, 694, 2042, 11901, 966, 12, 529, 18, 10492, 10663, 202, 565, 1191, 18, 694, 2042, 11901, 966, 12, 3413, 18, 7175, 7675, 529, 18, 10492, 10663, 202, 565, 8985, 18, 458, 12, 8117, 16, 1191, 1769, 202, 565, 309, 261, 86, 4487, 422, 4902, 18, 1921, 13, 202, 202, 2463, 1516, 18, 19038, 1180, 5621, 202, 565, 490, 2320, 48, 559, 618, 273, 4086, 330, 559, 12, 88, 347, 18, 723, 1769, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 4342, 3157, 20, 12, 2471, 2151, 16, 490, 2320, 48, 559, 28234, 13, 288, 202, 5335, 5382, 273, 2151, 18, 5332, 5335, 1435, 692, 2151, 18, 7175, 1435, 294, 446, 31, 202, 1180, 761, 273, 446, 31, 202, 9610, 261, 3413, 13, 288, 202, 3593, 8953, 30, 202, 565, 327, 1516, 18, 19038, 1180, 5621, 202, 3593, 3914, 12, 2471, 8526, 3177, 16, 4902, 460, 4672, 5411, 1250, 1853, 3024, 4742, 273, 1142, 4742, 31, 1142, 4742, 273, 629, 31, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3177, 18, 2469, 31, 277, 27245, 288, 7734, 3640, 12, 4507, 12, 5296, 63, 77, 6487, 490, 2320, 48, 559, 18, 58, 12945, 10019, 5411, 289, 5411, 2 ]
aboutInfo.getFeatureId())) return true;
aboutInfo.getFeatureId())) { return true; }
public boolean equals(Object o) { if ((o != null) && (o instanceof WelcomeEditorInput)) { if (((WelcomeEditorInput) o).aboutInfo.getFeatureId().equals( aboutInfo.getFeatureId())) return true; } return false; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/WelcomeEditorInput.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/WelcomeEditorInput.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1606, 12, 921, 320, 13, 288, 3639, 309, 14015, 83, 480, 446, 13, 597, 261, 83, 1276, 678, 16312, 6946, 1210, 3719, 288, 5411, 309, 261, 12443, 59, 16312, 6946, 1210, 13, 320, 2934, 21071, 966, 18, 588, 4595, 548, 7675, 14963, 12, 10792, 2973, 966, 18, 588, 4595, 548, 1435, 3719, 7734, 327, 638, 31, 3639, 289, 3639, 327, 629, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1250, 1606, 12, 921, 320, 13, 288, 3639, 309, 14015, 83, 480, 446, 13, 597, 261, 83, 1276, 678, 16312, 6946, 1210, 3719, 288, 5411, 309, 261, 12443, 59, 16312, 6946, 1210, 13, 320, 2934, 21071, 966, 18, 588, 4595, 548, 7675, 14963, 12, 10792, 2973, 966, 18, 588, 4595, 548, 1435, 3719, 7734, 327, 638, 31, 3639, 289, 3639, 327, 629, 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 ]
m_afterGroupsMap= new HashMap<String, ITestNGMethod>(); for(ITestNGMethod m : m_allMethods) { String[] groups= m.getGroups(); for(String g : groups) { m_afterGroupsMap.put(g, m); } }
m_afterGroupsMap= initializeAfterGroupsMap();
public synchronized boolean isLastMethodForGroup(String group, ITestNGMethod method) { // If we have more invocation to do, this is not the last one yet int invocationCount= method.getCurrentInvocationCount(); if(invocationCount < (method.getInvocationCount() * method.getParameterInvocationCount())) { return false; } // Lazy initialization since we might never be called if(m_afterGroupsMap == null) { m_afterGroupsMap= new HashMap<String, ITestNGMethod>(); for(ITestNGMethod m : m_allMethods) { String[] groups= m.getGroups(); for(String g : groups) { m_afterGroupsMap.put(g, m); } } } // Note: == is not good enough here as we may work with ITestNGMethod clones return m_afterGroupsMap.isEmpty() ? false : m_afterGroupsMap.get(group).equals(method); }
46166 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46166/4a9f5e1bbd5511495182bbd21cb62ce6eb71985d/ConfigurationGroupMethods.java/buggy/src/main/org/testng/internal/ConfigurationGroupMethods.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3852, 1250, 23075, 1305, 1290, 1114, 12, 780, 1041, 16, 467, 4709, 4960, 1305, 707, 13, 288, 565, 368, 971, 732, 1240, 1898, 9495, 358, 741, 16, 333, 353, 486, 326, 1142, 1245, 4671, 565, 509, 9495, 1380, 33, 707, 18, 588, 3935, 9267, 1380, 5621, 565, 309, 12, 5768, 4431, 1380, 411, 261, 2039, 18, 588, 9267, 1380, 1435, 380, 707, 18, 588, 1662, 9267, 1380, 1435, 3719, 288, 1377, 327, 629, 31, 565, 289, 565, 368, 12805, 10313, 3241, 732, 4825, 5903, 506, 2566, 565, 309, 12, 81, 67, 5205, 3621, 863, 422, 446, 13, 288, 1377, 312, 67, 5205, 3621, 863, 33, 394, 4317, 32, 780, 16, 467, 4709, 4960, 1305, 34, 5621, 1377, 364, 12, 1285, 395, 4960, 1305, 312, 294, 312, 67, 454, 4712, 13, 288, 3639, 514, 8526, 3252, 33, 312, 18, 588, 3621, 5621, 3639, 364, 12, 780, 314, 294, 3252, 13, 288, 1850, 312, 67, 5205, 3621, 863, 18, 458, 12, 75, 16, 312, 1769, 3639, 289, 1377, 289, 565, 289, 565, 368, 3609, 30, 225, 422, 353, 486, 7494, 7304, 2674, 487, 732, 2026, 1440, 598, 467, 4709, 4960, 1305, 927, 5322, 565, 327, 312, 67, 5205, 3621, 863, 18, 291, 1921, 1435, 692, 629, 294, 312, 67, 5205, 3621, 863, 18, 588, 12, 1655, 2934, 14963, 12, 2039, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3852, 1250, 23075, 1305, 1290, 1114, 12, 780, 1041, 16, 467, 4709, 4960, 1305, 707, 13, 288, 565, 368, 971, 732, 1240, 1898, 9495, 358, 741, 16, 333, 353, 486, 326, 1142, 1245, 4671, 565, 509, 9495, 1380, 33, 707, 18, 588, 3935, 9267, 1380, 5621, 565, 309, 12, 5768, 4431, 1380, 411, 261, 2039, 18, 588, 9267, 1380, 1435, 380, 707, 18, 588, 1662, 9267, 1380, 1435, 3719, 288, 1377, 327, 629, 31, 565, 289, 565, 368, 12805, 10313, 3241, 732, 4825, 5903, 506, 2566, 565, 309, 12, 81, 67, 5205, 3621, 863, 422, 446, 13, 288, 1377, 312, 67, 5205, 3621, 863, 33, 394, 4317, 32, 780, 16, 467, 4709, 4960, 1305, 34, 5621, 1377, 2 ]
old = opt.getMarkCol();
old = opt.getColorValueForKey("MARK_COLOR", Color.YELLOW);
public AppOptions run() { Container content; JPanel genOpts, buttons, colours, options; content = getContentPane(); content.setLayout(new BorderLayout()); askSave = new JCheckBox(java.util.ResourceBundle.getBundle("global").getString("askSave")); askSave.setToolTipText(java.util.ResourceBundle.getBundle("global").getString("askSaveTT")); askSave.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { opt.setAskSave(askSave.isSelected()); } }); // Panel erzeugen, Border hinzufgen, allgemeine Optionen genOpts = new JPanel(); genOpts.setBorder(new TitledBorder(java.util.ResourceBundle.getBundle("global").getString("common"))); genOpts.setLayout(new GridLayout(1,1)); genOpts.add(askSave); // Panel fr die Farboptionen colours = new JPanel(); colours.setBorder(new TitledBorder(java.util.ResourceBundle.getBundle("global").getString("colors"))); colours.setLayout(new GridLayout(5,2)); JButton lineCol, backCol, charCol, markCol, transCol; lineCol = new JButton(java.util.ResourceBundle.getBundle("global").getString("lineColor")); lineCol.setToolTipText(java.util.ResourceBundle.getBundle("global").getString("lineColorTT")); currLineCol = new JPanel(); currLineCol.setBackground(opt.getLineCol()); backCol = new JButton(java.util.ResourceBundle.getBundle("global").getString("bg")); backCol.setToolTipText(java.util.ResourceBundle.getBundle("global").getString("bgTT")); currBackCol = new JPanel(); charCol = new JButton(java.util.ResourceBundle.getBundle("global").getString("transChars")); charCol.setToolTipText(java.util.ResourceBundle.getBundle("global").getString("transCharsTT")); currCharCol = new JPanel(); markCol = new JButton(java.util.ResourceBundle.getBundle("global").getString("markedState")); markCol.setToolTipText(java.util.ResourceBundle.getBundle("global").getString("markedStateTT")); currMarkCol = new JPanel(); transCol = new JButton(java.util.ResourceBundle.getBundle("global").getString("specMark")); transCol.setToolTipText(java.util.ResourceBundle.getBundle("global").getString("specMarkTT")); currTransCol = new JPanel(); colours.add(lineCol); colours.add(currLineCol); colours.add(backCol); colours.add(currBackCol); colours.add(charCol); colours.add(currCharCol); colours.add(markCol); colours.add(currMarkCol); colours.add(transCol); colours.add(currTransCol); lineCol.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { Color c, old; old = opt.getLineCol(); c = getColor(old); if (c!=null) { opt.setLineCol(c); update(); } } }); charCol.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { Color c, old; old = opt.getCharCol(); c = getColor(old); if (c!=null) { opt.setCharCol(c); update(); } } }); markCol.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { Color c, old; old = opt.getMarkCol(); c = getColor(old); if (c!=null) { opt.setMarkCol(c); update(); } } }); transCol.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { Color c, old; old = opt.getTransCol(); c = getColor(old); if (c!=null) { opt.setTransCol(c); update(); } } }); backCol.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { Color c, old; old = opt.getBackCol(); c = getColor(old); if (c!=null) { opt.setBackCol(c); update(); } } }); // ok und cancel butten buttons = new JPanel(); buttons.setLayout(new GridLayout(1,3)); JButton okButton, defaultButton, cancelButton; // Optionen anzeigen update(); okButton = new JButton(java.util.ResourceBundle.getBundle("global").getString("OK")); defaultButton = new JButton(java.util.ResourceBundle.getBundle("global").getString("default")); cancelButton = new JButton(java.util.ResourceBundle.getBundle("global").getString("cancel")); defaultButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { opt.setDefault(); update(); } }); cancelButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { opt.setOptionsFrom(old_opt); dispose(); } }); okButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { dispose(); } }); buttons.add(okButton); buttons.add(defaultButton); buttons.add(cancelButton); options = new JPanel(); options.setLayout(new GridLayout(2,1)); options.add(genOpts); options.add(colours); content.add(options, BorderLayout.CENTER); content.add(buttons, BorderLayout.SOUTH); setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); pack(); setLocation(70,70); setVisible(true); return opt; }
11750 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11750/e52bc9bb7a81f5b8a747c29cc00e1456e4c54c6e/OptionDlg.java/buggy/src/gui/dialogs/OptionDlg.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4677, 1320, 1086, 1435, 288, 3639, 4039, 913, 31, 3639, 24048, 3157, 5476, 16, 9502, 16, 645, 4390, 16, 702, 31, 7734, 913, 273, 5154, 8485, 5621, 7734, 913, 18, 542, 3744, 12, 2704, 30814, 10663, 7734, 6827, 4755, 273, 394, 804, 19174, 12, 6290, 18, 1367, 18, 18731, 18, 588, 3405, 2932, 6347, 20387, 588, 780, 2932, 835, 4755, 7923, 1769, 7734, 6827, 4755, 18, 542, 29250, 1528, 12, 6290, 18, 1367, 18, 18731, 18, 588, 3405, 2932, 6347, 20387, 588, 780, 2932, 835, 4755, 1470, 7923, 1769, 3639, 6827, 4755, 18, 1289, 1803, 2223, 12, 2704, 25962, 1435, 288, 5411, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 7734, 2153, 18, 542, 23663, 4755, 12, 835, 4755, 18, 291, 7416, 10663, 5411, 289, 3639, 15549, 7734, 368, 23641, 6445, 31688, 275, 16, 13525, 366, 267, 94, 696, 4507, 16, 777, 75, 4698, 558, 2698, 275, 3639, 3157, 5476, 273, 394, 24048, 5621, 3639, 3157, 5476, 18, 542, 8107, 12, 2704, 399, 305, 1259, 8107, 12, 6290, 18, 1367, 18, 18731, 18, 588, 3405, 2932, 6347, 20387, 588, 780, 2932, 6054, 6, 3719, 1769, 3639, 3157, 5476, 18, 542, 3744, 12, 2704, 7145, 3744, 12, 21, 16, 21, 10019, 7734, 3157, 5476, 18, 1289, 12, 835, 4755, 1769, 7734, 368, 23641, 3812, 10387, 478, 297, 1075, 375, 275, 7734, 645, 4390, 273, 394, 24048, 5621, 3639, 645, 4390, 18, 542, 8107, 12, 2704, 399, 305, 1259, 8107, 12, 6290, 18, 1367, 18, 18731, 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, 4677, 1320, 1086, 1435, 288, 3639, 4039, 913, 31, 3639, 24048, 3157, 5476, 16, 9502, 16, 645, 4390, 16, 702, 31, 7734, 913, 273, 5154, 8485, 5621, 7734, 913, 18, 542, 3744, 12, 2704, 30814, 10663, 7734, 6827, 4755, 273, 394, 804, 19174, 12, 6290, 18, 1367, 18, 18731, 18, 588, 3405, 2932, 6347, 20387, 588, 780, 2932, 835, 4755, 7923, 1769, 7734, 6827, 4755, 18, 542, 29250, 1528, 12, 6290, 18, 1367, 18, 18731, 18, 588, 3405, 2932, 6347, 20387, 588, 780, 2932, 835, 4755, 1470, 7923, 1769, 3639, 6827, 4755, 18, 1289, 1803, 2223, 12, 2704, 25962, 1435, 288, 5411, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 7734, 2153, 18, 542, 23663, 4755, 2 ]
catch (Exception e) {
catch (Throwable e) {
public void test() throws Throwable { selenium.setContext("Test Visiblity", "info"); /* Test Visiblity */ // open|./tests/html/test_visibility.html| selenium.open("./tests/html/test_visibility.html"); boolean sawThrow4 = false; try { // originally verifyVisible|visibleParagraph| selenium.assertVisible("visibleParagraph"); } catch (Exception e) { sawThrow4 = true; } verifyFalse(sawThrow4); boolean sawThrow5 = false; try { // originally verifyNotVisible|hiddenParagraph| selenium.assertNotVisible("hiddenParagraph"); } catch (Exception e) { sawThrow5 = true; } verifyFalse(sawThrow5); boolean sawThrow6 = false; try { // originally verifyNotVisible|suppressedParagraph| selenium.assertNotVisible("suppressedParagraph"); } catch (Exception e) { sawThrow6 = true; } verifyFalse(sawThrow6); boolean sawThrow7 = false; try { // originally verifyNotVisible|classSuppressedParagraph| selenium.assertNotVisible("classSuppressedParagraph"); } catch (Exception e) { sawThrow7 = true; } verifyFalse(sawThrow7); boolean sawThrow8 = false; try { // originally verifyNotVisible|jsClassSuppressedParagraph| selenium.assertNotVisible("jsClassSuppressedParagraph"); } catch (Exception e) { sawThrow8 = true; } verifyFalse(sawThrow8); boolean sawThrow9 = false; try { // originally verifyNotVisible|hiddenSubElement| selenium.assertNotVisible("hiddenSubElement"); } catch (Exception e) { sawThrow9 = true; } verifyFalse(sawThrow9); boolean sawThrow10 = false; try { // originally verifyVisible|visibleSubElement| selenium.assertVisible("visibleSubElement"); } catch (Exception e) { sawThrow10 = true; } verifyFalse(sawThrow10); boolean sawThrow11 = false; try { // originally verifyNotVisible|suppressedSubElement| selenium.assertNotVisible("suppressedSubElement"); } catch (Exception e) { sawThrow11 = true; } verifyFalse(sawThrow11); boolean sawThrow12 = false; try { // originally verifyNotVisible|jsHiddenParagraph| selenium.assertNotVisible("jsHiddenParagraph"); } catch (Exception e) { sawThrow12 = true; } verifyFalse(sawThrow12); boolean sawThrow13 = false; try { // originally verifyNotVisible|nonExistantElement| selenium.assertNotVisible("nonExistantElement"); } catch (Exception e) { sawThrow13 = true; } verifyFalse(sawThrow13); checkForVerificationErrors(); }
50930 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50930/15660ffa40e3fe9cdf6de2752e79d93831571a27/TestVisibility.java/buggy/clients/java/src/test/java/com/thoughtworks/selenium/generated/TestVisibility.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1842, 1435, 1216, 4206, 288, 202, 202, 1786, 17327, 18, 542, 1042, 2932, 4709, 8077, 495, 80, 560, 3113, 315, 1376, 8863, 225, 1748, 7766, 8077, 495, 80, 560, 4202, 1195, 1082, 202, 759, 1696, 96, 18, 19, 16341, 19, 2620, 19, 3813, 67, 14422, 18, 2620, 96, 1082, 202, 1786, 17327, 18, 3190, 2932, 18, 19, 16341, 19, 2620, 19, 3813, 67, 14422, 18, 2620, 8863, 202, 202, 6494, 19821, 8282, 24, 273, 629, 31, 202, 202, 698, 288, 1082, 202, 759, 24000, 3929, 6207, 96, 8613, 17719, 96, 202, 202, 1786, 17327, 18, 11231, 6207, 2932, 8613, 17719, 8863, 202, 202, 97, 202, 202, 14683, 261, 503, 425, 13, 288, 1082, 202, 87, 2219, 8282, 24, 273, 638, 31, 202, 202, 97, 202, 202, 8705, 8381, 12, 87, 2219, 8282, 24, 1769, 9506, 202, 6494, 19821, 8282, 25, 273, 629, 31, 202, 202, 698, 288, 1082, 202, 759, 24000, 3929, 1248, 6207, 96, 6345, 17719, 96, 202, 202, 1786, 17327, 18, 11231, 1248, 6207, 2932, 6345, 17719, 8863, 202, 202, 97, 202, 202, 14683, 261, 503, 425, 13, 288, 1082, 202, 87, 2219, 8282, 25, 273, 638, 31, 202, 202, 97, 202, 202, 8705, 8381, 12, 87, 2219, 8282, 25, 1769, 9506, 202, 6494, 19821, 8282, 26, 273, 629, 31, 202, 202, 698, 288, 1082, 202, 759, 24000, 3929, 1248, 6207, 96, 2859, 10906, 17719, 96, 202, 202, 1786, 17327, 18, 11231, 1248, 6207, 2932, 2859, 10906, 17719, 8863, 202, 202, 97, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1842, 1435, 1216, 4206, 288, 202, 202, 1786, 17327, 18, 542, 1042, 2932, 4709, 8077, 495, 80, 560, 3113, 315, 1376, 8863, 225, 1748, 7766, 8077, 495, 80, 560, 4202, 1195, 1082, 202, 759, 1696, 96, 18, 19, 16341, 19, 2620, 19, 3813, 67, 14422, 18, 2620, 96, 1082, 202, 1786, 17327, 18, 3190, 2932, 18, 19, 16341, 19, 2620, 19, 3813, 67, 14422, 18, 2620, 8863, 202, 202, 6494, 19821, 8282, 24, 273, 629, 31, 202, 202, 698, 288, 1082, 202, 759, 24000, 3929, 6207, 96, 8613, 17719, 96, 202, 202, 1786, 17327, 18, 11231, 6207, 2932, 8613, 17719, 8863, 202, 202, 97, 202, 202, 14683, 261, 503, 425, 13, 288, 1082, 202, 87, 2219, 2 ]
return groups.get(new Integer(field)) != null; }
return groups.containsKey(new Integer(field)); }
private boolean isGroupField(int field) { return groups.get(new Integer(field)) != null; }
52526 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52526/e9fcfc3f00e226dd4afab95dedec942fad2fd51b/FieldMap.java/buggy/src/quickfix/FieldMap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 353, 1114, 974, 12, 474, 652, 13, 288, 202, 202, 2463, 3252, 18, 588, 12, 2704, 2144, 12, 1518, 3719, 480, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 353, 1114, 974, 12, 474, 652, 13, 288, 202, 202, 2463, 3252, 18, 588, 12, 2704, 2144, 12, 1518, 3719, 480, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Log.warn("Ignoring call to sendError(" + sc + ", " + msg + ")");
log.warn("Ignoring call to sendError(" + sc + ", " + msg + ")");
public void sendError(int sc, String msg) throws IOException { Log.warn("Ignoring call to sendError(" + sc + ", " + msg + ")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ }
45384 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45384/3278903455cc8ccea02b35ddb45d6f6200368bb7/SwallowingHttpServletResponse.java/buggy/java/uk/ltd/getahead/dwr/util/SwallowingHttpServletResponse.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 17538, 12, 474, 888, 16, 514, 1234, 13, 1216, 1860, 565, 288, 3639, 613, 18, 8935, 2932, 21702, 745, 358, 17538, 2932, 397, 888, 397, 3104, 315, 397, 1234, 397, 7310, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 4329, 3993, 17, 5106, 17, 23, 8, 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, 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, 4329, 3993, 17, 5106, 17, 23, 8, 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 ]
log.error(e);
System.err.println(e);
public void sendLoop() throws Exception { Thread task = new Thread(new Runnable() { public void run() { while (! closed) { try { synchronized (Coordinator.this) { channel.send(null, null, new Integer(++cnt)); log.error("send cnt=" + cnt); } Thread.sleep(1000); } catch (ChannelNotConnectedException not) { break; } catch (ChannelClosedException closed) { break; } catch (Exception e) { log.error(e); continue; } } } }); task.start(); }
47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/13de68466e3cf7fde6ee0bde0cee09a33e837e89/STATE_TRANSFER_Test.java/buggy/tests/junit/org/jgroups/protocols/STATE_TRANSFER_Test.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 1366, 6452, 1435, 1216, 1185, 288, 540, 4884, 1562, 273, 394, 4884, 12, 2704, 10254, 1435, 288, 5411, 1071, 918, 1086, 1435, 288, 9079, 1323, 16051, 4375, 13, 288, 5375, 775, 288, 5397, 3852, 261, 25307, 18, 2211, 13, 288, 13491, 1904, 18, 4661, 12, 2011, 16, 446, 16, 394, 2144, 12, 9904, 13085, 10019, 13491, 613, 18, 1636, 2932, 4661, 7599, 1546, 397, 7599, 1769, 5397, 289, 5397, 4884, 18, 19607, 12, 18088, 1769, 5375, 289, 1044, 261, 2909, 1248, 8932, 503, 486, 13, 288, 5397, 898, 31, 5375, 289, 1044, 261, 2909, 7395, 503, 4375, 13, 288, 5397, 898, 31, 5375, 289, 1044, 261, 503, 425, 13, 288, 5397, 2332, 18, 370, 18, 8222, 12, 73, 1769, 5397, 1324, 31, 5375, 289, 9079, 289, 5411, 289,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 1366, 6452, 1435, 1216, 1185, 288, 540, 4884, 1562, 273, 394, 4884, 12, 2704, 10254, 1435, 288, 5411, 1071, 918, 1086, 1435, 288, 9079, 1323, 16051, 4375, 13, 288, 5375, 775, 288, 5397, 3852, 261, 25307, 18, 2211, 13, 288, 13491, 1904, 18, 4661, 12, 2011, 16, 446, 16, 394, 2144, 12, 9904, 13085, 10019, 13491, 613, 18, 1636, 2932, 4661, 7599, 1546, 397, 7599, 1769, 5397, 289, 5397, 4884, 18, 19607, 12, 18088, 1769, 5375, 289, 1044, 261, 2909, 1248, 8932, 503, 486, 13, 288, 5397, 898, 31, 5375, 289, 1044, 261, 2909, 7395, 503, 4375, 13, 288, 5397, 898, 31, 5375, 289, 1044, 261, 503, 425, 13, 288, 5397, 2332, 18, 370, 18, 8222, 2 ]
if (jj_scan_token(QUOTE)) return true;
if (jj_scan_token(SOARCMD)) return true;
final private boolean jj_3_3() { if (jj_scan_token(QUOTE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/febc6aa07cc9db7fe8accccebc781a6bba1e9a18/SoarParser.java/clean/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/parser/SoarParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 67, 23, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 3584, 985, 19473, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 67, 23, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 3584, 985, 19473, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 11821, 422, 374, 597, 10684, 67, 9871, 917, 422, 10684, 67, 2722, 917, 13, 327, 629, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
}); addAnnotation(getChart_SeriesHints(), source, new String[] { "kind", "element", "name", "SeriesHints"
protected void createExtendedMetaDataAnnotations() { String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData"; addAnnotation(chartEClass, source, new String[] { "name", "Chart", "kind", "elementOnly" }); addAnnotation(getChart_Version(), source, new String[] { "kind", "element", "name", "Version" }); addAnnotation(getChart_Type(), source, new String[] { "kind", "element", "name", "Type" }); addAnnotation(getChart_SubType(), source, new String[] { "kind", "element", "name", "SubType" }); addAnnotation(getChart_Description(), source, new String[] { "kind", "element", "name", "Description" }); addAnnotation(getChart_Block(), source, new String[] { "kind", "element", "name", "Block" }); addAnnotation(getChart_Dimension(), source, new String[] { "kind", "element", "name", "Dimension" }); addAnnotation(getChart_Script(), source, new String[] { "kind", "element", "name", "Script" }); addAnnotation(getChart_Units(), source, new String[] { "kind", "element", "name", "Units" }); addAnnotation(getChart_SeriesThickness(), source, new String[] { "kind", "element", "name", "SeriesThickness" }); addAnnotation(getChart_SeriesHints(), source, new String[] { "kind", "element", "name", "SeriesHints" }); addAnnotation(getChart_GridColumnCount(), source, new String[] { "kind", "element", "name", "GridColumnCount" }); addAnnotation(getChart_ExtendedProperties(), source, new String[] { "kind", "element", "name", "ExtendedProperties" }); addAnnotation(getChart_SampleData(), source, new String[] { "kind", "element", "name", "SampleData" }); addAnnotation(chartWithAxesEClass, source, new String[] { "name", "ChartWithAxes", "kind", "elementOnly" }); addAnnotation(getChartWithAxes_Axes(), source, new String[] { "kind", "element", "name", "Axes" }); addAnnotation(getChartWithAxes_WallFill(), source, new String[] { "kind", "element", "name", "WallFill" }); addAnnotation(getChartWithAxes_FloorFill(), source, new String[] { "kind", "element", "name", "FloorFill" }); addAnnotation(getChartWithAxes_Orientation(), source, new String[] { "kind", "element", "name", "Orientation" }); addAnnotation(getChartWithAxes_UnitSpacing(), source, new String[] { "kind", "element", "name", "UnitSpacing" }); addAnnotation(chartWithoutAxesEClass, source, new String[] { "name", "ChartWithoutAxes", "kind", "elementOnly" }); addAnnotation(getChartWithoutAxes_SeriesDefinitions(), source, new String[] { "kind", "element", "name", "SeriesDefinitions" }); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/869b9dc91ef4dd13d07f589c6394484a744642f0/ModelPackageImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/impl/ModelPackageImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 752, 11456, 6998, 5655, 1435, 565, 288, 3639, 514, 1084, 273, 315, 2505, 2207, 19, 3341, 19, 20416, 19, 351, 74, 19, 557, 479, 19, 1367, 19, 11456, 6998, 14432, 3639, 24145, 12, 11563, 5720, 16, 1084, 16, 394, 514, 8526, 3639, 288, 5411, 315, 529, 3113, 315, 7984, 3113, 315, 9224, 3113, 315, 2956, 3386, 6, 3639, 15549, 3639, 24145, 12, 588, 7984, 67, 1444, 9334, 1084, 16, 394, 514, 8526, 3639, 288, 5411, 315, 9224, 3113, 315, 2956, 3113, 315, 529, 3113, 315, 1444, 6, 3639, 15549, 3639, 24145, 12, 588, 7984, 67, 559, 9334, 1084, 16, 394, 514, 8526, 3639, 288, 5411, 315, 9224, 3113, 315, 2956, 3113, 315, 529, 3113, 315, 559, 6, 3639, 15549, 3639, 24145, 12, 588, 7984, 67, 30511, 9334, 1084, 16, 394, 514, 8526, 3639, 288, 5411, 315, 9224, 3113, 315, 2956, 3113, 315, 529, 3113, 315, 30511, 6, 3639, 15549, 3639, 24145, 12, 588, 7984, 67, 3291, 9334, 1084, 16, 394, 514, 8526, 3639, 288, 5411, 315, 9224, 3113, 315, 2956, 3113, 315, 529, 3113, 315, 3291, 6, 3639, 15549, 3639, 24145, 12, 588, 7984, 67, 1768, 9334, 1084, 16, 394, 514, 8526, 3639, 288, 5411, 315, 9224, 3113, 315, 2956, 3113, 315, 529, 3113, 315, 1768, 6, 3639, 15549, 3639, 24145, 12, 588, 7984, 67, 8611, 9334, 1084, 16, 394, 514, 8526, 3639, 288, 5411, 315, 9224, 3113, 315, 2956, 3113, 315, 529, 3113, 315, 8611, 6, 3639, 15549, 3639, 24145, 12, 588, 7984, 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, 752, 11456, 6998, 5655, 1435, 565, 288, 3639, 514, 1084, 273, 315, 2505, 2207, 19, 3341, 19, 20416, 19, 351, 74, 19, 557, 479, 19, 1367, 19, 11456, 6998, 14432, 3639, 24145, 12, 11563, 5720, 16, 1084, 16, 394, 514, 8526, 3639, 288, 5411, 315, 529, 3113, 315, 7984, 3113, 315, 9224, 3113, 315, 2956, 3386, 6, 3639, 15549, 3639, 24145, 12, 588, 7984, 67, 1444, 9334, 1084, 16, 394, 514, 8526, 3639, 288, 5411, 315, 9224, 3113, 315, 2956, 3113, 315, 529, 3113, 315, 1444, 6, 3639, 15549, 3639, 24145, 12, 588, 7984, 67, 559, 9334, 1084, 16, 394, 514, 8526, 3639, 288, 5411, 315, 9224, 3113, 315, 2956, 3113, 315, 529, 3113, 315, 559, 2 ]
long before = _context.clock().now(); _message = GarlicMessageBuilder.buildMessage(_context, _config, _wrappedKey, _wrappedTags); long after = _context.clock().now();
long before = getContext().clock().now(); _message = GarlicMessageBuilder.buildMessage(getContext(), _config, _wrappedKey, _wrappedTags); long after = getContext().clock().now();
public void runJob() { long before = _context.clock().now(); _message = GarlicMessageBuilder.buildMessage(_context, _config, _wrappedKey, _wrappedTags); long after = _context.clock().now(); if ( (after - before) > 1000) { _log.warn("Building the garlic took too long [" + (after-before)+" ms]", getAddedBy()); } else { _log.debug("Building the garlic was fast! " + (after - before) + " ms"); } _context.jobQueue().addJob(new SendJob()); }
3808 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3808/e737e5c9507ed0d463dc9e45a8f63657f466b177/SendGarlicJob.java/clean/router/java/src/net/i2p/router/message/SendGarlicJob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 2278, 1435, 288, 3639, 1525, 1865, 273, 389, 2472, 18, 18517, 7675, 3338, 5621, 3639, 389, 2150, 273, 611, 13007, 335, 1079, 1263, 18, 3510, 1079, 24899, 2472, 16, 389, 1425, 16, 389, 18704, 653, 16, 389, 18704, 3453, 1769, 3639, 1525, 1839, 273, 389, 2472, 18, 18517, 7675, 3338, 5621, 3639, 309, 261, 261, 5205, 300, 1865, 13, 405, 4336, 13, 288, 5411, 389, 1330, 18, 8935, 2932, 16713, 326, 314, 13007, 335, 23151, 4885, 1525, 8247, 397, 261, 5205, 17, 5771, 13, 9078, 4086, 65, 3113, 336, 8602, 858, 10663, 3639, 289, 469, 288, 5411, 389, 1330, 18, 4148, 2932, 16713, 326, 314, 13007, 335, 1703, 4797, 5, 315, 397, 261, 5205, 300, 1865, 13, 397, 315, 4086, 8863, 3639, 289, 3639, 389, 2472, 18, 4688, 3183, 7675, 1289, 2278, 12, 2704, 2479, 2278, 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, 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 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 2278, 1435, 288, 3639, 1525, 1865, 273, 389, 2472, 18, 18517, 7675, 3338, 5621, 3639, 389, 2150, 273, 611, 13007, 335, 1079, 1263, 18, 3510, 1079, 24899, 2472, 16, 389, 1425, 16, 389, 18704, 653, 16, 389, 18704, 3453, 1769, 3639, 1525, 1839, 273, 389, 2472, 18, 18517, 7675, 3338, 5621, 3639, 309, 261, 261, 5205, 300, 1865, 13, 405, 4336, 13, 288, 5411, 389, 1330, 18, 8935, 2932, 16713, 326, 314, 13007, 335, 23151, 4885, 1525, 8247, 397, 261, 5205, 17, 5771, 13, 9078, 4086, 65, 3113, 336, 8602, 858, 10663, 3639, 289, 469, 288, 5411, 389, 1330, 18, 4148, 2932, 16713, 326, 314, 13007, 335, 1703, 4797, 5, 315, 397, 261, 5205, 300, 2 ]
Object[] args = { ((NativeFunction) funObj).names[0] }; String msg = Context.getMessage("msg.incompat.call", args);
String name = ((NativeFunction) funObj).names[0]; String msg = Context.getMessage1("msg.incompat.call", name);
private static NativeDate checkInstance(Scriptable obj, Function funObj) { if (obj == null || !(obj instanceof NativeDate)) { Context cx = Context.getCurrentContext(); Object[] args = { ((NativeFunction) funObj).names[0] }; String msg = Context.getMessage("msg.incompat.call", args); throw NativeGlobal.constructError(cx, "TypeError", msg, funObj); } return (NativeDate) obj; }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/e737c6d867e82d4ba7fd00e7e388c9c8da824ff0/NativeDate.java/clean/js/rhino/org/mozilla/javascript/NativeDate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 16717, 1626, 866, 1442, 12, 3651, 429, 1081, 16, 4766, 5411, 4284, 9831, 2675, 13, 288, 3639, 309, 261, 2603, 422, 446, 747, 401, 12, 2603, 1276, 16717, 1626, 3719, 288, 5411, 1772, 9494, 273, 1772, 18, 588, 3935, 1042, 5621, 5411, 1033, 8526, 833, 273, 288, 14015, 9220, 2083, 13, 9831, 2675, 2934, 1973, 63, 20, 65, 289, 31, 5411, 514, 1234, 273, 1772, 18, 24906, 2932, 3576, 18, 267, 16239, 18, 1991, 3113, 833, 1769, 5411, 604, 16717, 5160, 18, 10062, 668, 12, 71, 92, 16, 315, 19030, 3113, 1234, 16, 9831, 2675, 1769, 3639, 289, 3639, 327, 261, 9220, 1626, 13, 1081, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 16717, 1626, 866, 1442, 12, 3651, 429, 1081, 16, 4766, 5411, 4284, 9831, 2675, 13, 288, 3639, 309, 261, 2603, 422, 446, 747, 401, 12, 2603, 1276, 16717, 1626, 3719, 288, 5411, 1772, 9494, 273, 1772, 18, 588, 3935, 1042, 5621, 5411, 1033, 8526, 833, 273, 288, 14015, 9220, 2083, 13, 9831, 2675, 2934, 1973, 63, 20, 65, 289, 31, 5411, 514, 1234, 273, 1772, 18, 24906, 2932, 3576, 18, 267, 16239, 18, 1991, 3113, 833, 1769, 5411, 604, 16717, 5160, 18, 10062, 668, 12, 71, 92, 16, 315, 19030, 3113, 1234, 16, 9831, 2675, 1769, 3639, 289, 3639, 327, 261, 9220, 1626, 13, 1081, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100 ]
{
{ if (value == INDIRECT_FLUIDS) return base.setWithSave(newValue);
public synchronized Object setWithSave (Object newValue) { Object old; if (base != null) { old = base; base = null; } else { old = value; } value = newValue; return old; }
36952 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36952/1c4f77e28a3b3448ff20af27a8ba2f4d7d346b51/SharedLocation.java/buggy/gnu/mapping/SharedLocation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3852, 1033, 444, 1190, 4755, 261, 921, 6129, 13, 225, 288, 309, 261, 1132, 422, 2120, 17541, 67, 19054, 3060, 55, 13, 327, 1026, 18, 542, 1190, 4755, 12, 2704, 620, 1769, 565, 1033, 1592, 31, 565, 309, 261, 1969, 480, 446, 13, 1377, 288, 202, 1673, 273, 1026, 31, 202, 1969, 273, 446, 31, 1377, 289, 565, 469, 1377, 288, 202, 1673, 273, 460, 31, 1377, 289, 565, 460, 273, 6129, 31, 565, 327, 1592, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3852, 1033, 444, 1190, 4755, 261, 921, 6129, 13, 225, 288, 309, 261, 1132, 422, 2120, 17541, 67, 19054, 3060, 55, 13, 327, 1026, 18, 542, 1190, 4755, 12, 2704, 620, 1769, 565, 1033, 1592, 31, 565, 309, 261, 1969, 480, 446, 13, 1377, 288, 202, 1673, 273, 1026, 31, 202, 1969, 273, 446, 31, 1377, 289, 565, 469, 1377, 288, 202, 1673, 273, 460, 31, 1377, 289, 565, 460, 273, 6129, 31, 565, 327, 1592, 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 ]
public void init(ServletConfig config, AxisConfiguration axisConf) throws ServletException {
public void init(ServletConfig config, AxisConfiguration axisConf) throws ServletException {
public void init(ServletConfig config, AxisConfiguration axisConf) throws ServletException { _axisConfig = axisConf; _appRoot = new File(config.getServletContext().getRealPath("/WEB-INF")); TempFileManager.setWorkingDirectory(_appRoot); __log.debug("Loading properties"); String confDir = System.getProperty("org.apache.ode.configDir"); if (confDir == null) _odeConfig = new ODEConfigProperties(new File(_appRoot, "conf")); else _odeConfig = new ODEConfigProperties(new File(confDir)); _odeConfig.load(); String wdir = _odeConfig.getWorkingDir(); if (wdir == null) _workRoot = _appRoot; else _workRoot = new File(wdir.trim()); __log.debug("Initializing transaction manager"); initTxMgr(); __log.debug("Creating data source."); initDataSource(); __log.debug("Starting Hibernate."); initHibernate(); __log.debug("Hibernate started."); __log.debug("Initializing BPEL process store."); initProcessStore(); __log.debug("Initializing BPEL server."); initBpelServer(); try { _server.start(); } catch (Exception ex) { String errmsg = __msgs.msgOdeBpelServerStartFailure(); __log.error(errmsg,ex); throw new ServletException(errmsg, ex); } __log.debug("Initializing JCA adapter."); initConnector(); File deploymentDir = new File(_workRoot, "processes"); _poller = new DeploymentPoller(deploymentDir, this); new ManagementService().enableService(_axisConfig, _server, _appRoot.getAbsolutePath()); new DeploymentWebService().enableService(_axisConfig, _server, _store, _poller, _appRoot.getAbsolutePath(), _workRoot.getAbsolutePath()); _poller.start(); __log.info(__msgs.msgPollingStarted(deploymentDir.getAbsolutePath())); __log.info(__msgs.msgOdeStarted()); }
45373 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45373/7512124f757dc01ef69acfd5242181679ec0293d/ODEServer.java/buggy/axis2/src/main/java/org/apache/ode/axis2/ODEServer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 12, 4745, 809, 642, 16, 15509, 1750, 2654, 3976, 13, 1216, 16517, 288, 3639, 389, 4890, 809, 273, 2654, 3976, 31, 3639, 389, 2910, 2375, 273, 394, 1387, 12, 1425, 18, 588, 4745, 1042, 7675, 588, 6955, 743, 2932, 19, 14778, 17, 19212, 7923, 1769, 3639, 16380, 812, 1318, 18, 542, 14836, 2853, 24899, 2910, 2375, 1769, 3639, 1001, 1330, 18, 4148, 2932, 10515, 1790, 8863, 3639, 514, 2195, 1621, 273, 2332, 18, 588, 1396, 2932, 3341, 18, 19211, 18, 390, 18, 1425, 1621, 8863, 3639, 309, 261, 3923, 1621, 422, 446, 13, 389, 390, 809, 273, 394, 531, 1639, 809, 2297, 12, 2704, 1387, 24899, 2910, 2375, 16, 315, 3923, 7923, 1769, 3639, 469, 389, 390, 809, 273, 394, 531, 1639, 809, 2297, 12, 2704, 1387, 12, 3923, 1621, 10019, 3639, 389, 390, 809, 18, 945, 5621, 3639, 514, 341, 1214, 273, 389, 390, 809, 18, 588, 14836, 1621, 5621, 3639, 309, 261, 91, 1214, 422, 446, 13, 389, 1252, 2375, 273, 389, 2910, 2375, 31, 3639, 469, 389, 1252, 2375, 273, 394, 1387, 12, 91, 1214, 18, 5290, 10663, 3639, 1001, 1330, 18, 4148, 2932, 29782, 2492, 3301, 8863, 3639, 1208, 4188, 9455, 5621, 3639, 1001, 1330, 18, 4148, 2932, 11092, 501, 1084, 1199, 1769, 3639, 1208, 8597, 5621, 3639, 1001, 1330, 18, 4148, 2932, 11715, 670, 24360, 1199, 1769, 3639, 1208, 44, 24360, 5621, 3639, 1001, 1330, 18, 4148, 2932, 44, 24360, 5746, 1199, 1769, 3639, 1001, 1330, 18, 4148, 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, 1208, 12, 4745, 809, 642, 16, 15509, 1750, 2654, 3976, 13, 1216, 16517, 288, 3639, 389, 4890, 809, 273, 2654, 3976, 31, 3639, 389, 2910, 2375, 273, 394, 1387, 12, 1425, 18, 588, 4745, 1042, 7675, 588, 6955, 743, 2932, 19, 14778, 17, 19212, 7923, 1769, 3639, 16380, 812, 1318, 18, 542, 14836, 2853, 24899, 2910, 2375, 1769, 3639, 1001, 1330, 18, 4148, 2932, 10515, 1790, 8863, 3639, 514, 2195, 1621, 273, 2332, 18, 588, 1396, 2932, 3341, 18, 19211, 18, 390, 18, 1425, 1621, 8863, 3639, 309, 261, 3923, 1621, 422, 446, 13, 389, 390, 809, 273, 394, 531, 1639, 809, 2297, 12, 2704, 1387, 24899, 2910, 2375, 16, 315, 3923, 7923, 1769, 3639, 469, 2 ]
unlock(ses);
if (ses != null) { unlock(ses); }
public String intercept(ActionInvocation invocation) throws Exception { String result = null; Map ses = ActionContext.getContext().getSession(); before(invocation); try { result = invocation.invoke(); after(invocation, result); } finally { unlock(ses); } return result; }
15560 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15560/2b0e76f7f0c1e8bcf5a9aeb985b8389430677934/ScopeInterceptor.java/clean/src/java/com/opensymphony/webwork/interceptor/ScopeInterceptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 10883, 12, 1803, 9267, 9495, 13, 1216, 1185, 288, 3639, 514, 563, 273, 446, 31, 3639, 1635, 24138, 273, 4382, 1042, 18, 29120, 7675, 588, 2157, 5621, 3639, 1865, 12, 5768, 4431, 1769, 3639, 775, 288, 5411, 563, 273, 9495, 18, 14407, 5621, 5411, 1839, 12, 5768, 4431, 16, 563, 1769, 3639, 289, 3095, 288, 5411, 309, 261, 2420, 480, 446, 13, 288, 7186, 12, 2420, 1769, 289, 3639, 289, 3639, 327, 563, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 10883, 12, 1803, 9267, 9495, 13, 1216, 1185, 288, 3639, 514, 563, 273, 446, 31, 3639, 1635, 24138, 273, 4382, 1042, 18, 29120, 7675, 588, 2157, 5621, 3639, 1865, 12, 5768, 4431, 1769, 3639, 775, 288, 5411, 563, 273, 9495, 18, 14407, 5621, 5411, 1839, 12, 5768, 4431, 16, 563, 1769, 3639, 289, 3095, 288, 5411, 309, 261, 2420, 480, 446, 13, 288, 7186, 12, 2420, 1769, 289, 3639, 289, 3639, 327, 563, 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 ]
return new RubyBignum(runtime, value.xor(bigIntValue(other)));
return new RubyBignum(getRuntime(), value.xor(bigIntValue(other)));
public RubyInteger op_xor(RubyNumeric other) { return new RubyBignum(runtime, value.xor(bigIntValue(other))); }
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyBignum.java/buggy/src/org/jruby/RubyBignum.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 4522, 1061, 67, 31346, 12, 54, 10340, 9902, 1308, 13, 288, 3639, 327, 394, 19817, 38, 724, 379, 12, 588, 5576, 9334, 460, 18, 31346, 12, 14002, 1702, 620, 12, 3011, 3719, 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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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 ]
Object selectedObject = ((IStructuredSelection)getViewer().getSelection()).getFirstElement(); if(selectedObject instanceof ITaskListElement){ updateActionEnablement(rename, (ITaskListElement)selectedObject);
Object selectedObject = ((IStructuredSelection) getViewer().getSelection()).getFirstElement(); if (selectedObject instanceof ITaskListElement) { updateActionEnablement(rename, (ITaskListElement) selectedObject);
public void createPartControl(Composite parent) { tree = new FilteredTree(parent, SWT.VERTICAL | SWT.H_SCROLL | SWT.V_SCROLL | SWT.FULL_SELECTION | SWT.HIDE_SELECTION, new TaskListPatternFilter());// addToolTipHandler(); // ((Text)tree.getFilterControl()).setText(FILTER_LABEL); getViewer().getTree().setHeaderVisible(true); getViewer().getTree().setLinesVisible(true); getViewer().setColumnProperties(columnNames); getViewer().setUseHashlookup(true); columns = new TreeColumn[columnNames.length]; for (int i = 0; i < columnNames.length; i++) { columns[i] = new TreeColumn(getViewer().getTree(), 0); // SWT.LEFT columns[i].setText(columnNames[i]); columns[i].setWidth(columnWidths[i]); final int index = i; columns[i].addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { sortIndex = index; getViewer().setSorter(new TaskListTableSorter(columnNames[sortIndex])); } }); columns[i].addControlListener(new ControlListener () { public void controlResized(ControlEvent e) { for (int j = 0; j < columnWidths.length; j++) { if (columns[j].equals(e.getSource())) { columnWidths[j] = columns[j].getWidth(); } } } public void controlMoved(ControlEvent e) { // don't care if the control is moved } }); } CellEditor[] editors = new CellEditor[columnNames.length]; TextCellEditor textEditor = new TextCellEditor(getViewer().getTree()); ((Text) textEditor.getControl()).setOrientation(SWT.LEFT_TO_RIGHT); editors[0] = new CheckboxCellEditor(); editors[1] = textEditor; editors[2] = new ComboBoxCellEditor(getViewer().getTree(), PRIORITY_LEVELS, SWT.READ_ONLY); editors[3] = textEditor; getViewer().setCellEditors(editors); getViewer().setCellModifier(new TaskListCellModifier()); getViewer().setSorter(new TaskListTableSorter(columnNames[sortIndex])); drillDownAdapter = new DrillDownAdapter(getViewer()); getViewer().setContentProvider(new TaskListContentProvider(this)); TaskListLabelProvider labelProvider = new TaskListLabelProvider(); labelProvider.setBackgroundColor(parent.getBackground()); getViewer().setLabelProvider(labelProvider); getViewer().setInput(getViewSite()); getViewer().getTree().addKeyListener(new KeyListener(){ public void keyPressed(KeyEvent e) { if (e.keyCode == SWT.F2 && e.stateMask == 0){ if(rename.isEnabled()){ rename.run(); } } else if (e.keyCode == 'c' && e.stateMask == SWT.MOD1) { copyDescriptionAction.run(); } else if (e.keyCode == SWT.DEL) { deleteAction.run(); } else if (e.keyCode == SWT.INSERT) { createTaskAction.run(); } } public void keyReleased(KeyEvent e) {} }); // HACK to support right click anywhere to select an item getViewer().getTree().addMouseListener(new MouseListener(){ public void mouseDoubleClick(MouseEvent e) {} public void mouseDown(MouseEvent e) { Tree t = getViewer().getTree(); TreeItem item = t.getItem(new Point(e.x, e.y)); if(e.button == 3 && item != null){ getViewer().setSelection(new StructuredSelection(item.getData())); } else if(item == null){ getViewer().setSelection(new StructuredSelection()); } } public void mouseUp(MouseEvent e) {} }); getViewer().addSelectionChangedListener(new ISelectionChangedListener(){ public void selectionChanged(SelectionChangedEvent event) { Object selectedObject = ((IStructuredSelection)getViewer().getSelection()).getFirstElement(); if(selectedObject instanceof ITaskListElement){ updateActionEnablement(rename, (ITaskListElement)selectedObject); } } }); makeActions(); hookContextMenu(); hookOpenAction(); contributeToActionBars(); ToolTipHandler toolTipHandler = new ToolTipHandler(getViewer().getControl().getShell()); toolTipHandler.activateHoverHelp(getViewer().getControl()); initDragAndDrop(parent); expandToActiveTasks(); restoreState(); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/d1509cef0732a1841f8062e4058ceb7dced6436a/TaskListView.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/TaskListView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 752, 1988, 3367, 12, 9400, 982, 13, 288, 377, 202, 3413, 273, 394, 4008, 329, 2471, 12, 2938, 16, 348, 8588, 18, 21654, 10109, 571, 348, 8588, 18, 44, 67, 2312, 14555, 571, 348, 8588, 18, 58, 67, 2312, 14555, 571, 348, 8588, 18, 18111, 67, 1090, 15445, 571, 348, 8588, 18, 44, 10385, 67, 1090, 15445, 16, 394, 3837, 682, 3234, 1586, 10663, 759, 377, 202, 1289, 29250, 1503, 5621, 377, 202, 759, 377, 202, 12443, 1528, 13, 3413, 18, 588, 1586, 3367, 1435, 2934, 542, 1528, 12, 11126, 67, 13545, 1769, 377, 202, 588, 18415, 7675, 588, 2471, 7675, 542, 1864, 6207, 12, 3767, 1769, 377, 202, 588, 18415, 7675, 588, 2471, 7675, 542, 5763, 6207, 12, 3767, 1769, 377, 202, 588, 18415, 7675, 542, 1494, 2297, 12, 2827, 1557, 1769, 377, 202, 588, 18415, 7675, 542, 3727, 2310, 8664, 12, 3767, 1769, 12900, 2168, 273, 394, 4902, 1494, 63, 2827, 1557, 18, 2469, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 19975, 18, 2469, 31, 277, 27245, 288, 5411, 2168, 63, 77, 65, 273, 394, 4902, 1494, 12, 588, 18415, 7675, 588, 2471, 9334, 374, 1769, 368, 348, 8588, 18, 10066, 5411, 2168, 63, 77, 8009, 542, 1528, 12, 2827, 1557, 63, 77, 19226, 5411, 2168, 63, 77, 8009, 542, 2384, 12, 2827, 22407, 63, 77, 19226, 5411, 727, 509, 770, 273, 277, 31, 5411, 2168, 63, 77, 8009, 1289, 6233, 2223, 12, 2704, 12977, 4216, 1435, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 752, 1988, 3367, 12, 9400, 982, 13, 288, 377, 202, 3413, 273, 394, 4008, 329, 2471, 12, 2938, 16, 348, 8588, 18, 21654, 10109, 571, 348, 8588, 18, 44, 67, 2312, 14555, 571, 348, 8588, 18, 58, 67, 2312, 14555, 571, 348, 8588, 18, 18111, 67, 1090, 15445, 571, 348, 8588, 18, 44, 10385, 67, 1090, 15445, 16, 394, 3837, 682, 3234, 1586, 10663, 759, 377, 202, 1289, 29250, 1503, 5621, 377, 202, 759, 377, 202, 12443, 1528, 13, 3413, 18, 588, 1586, 3367, 1435, 2934, 542, 1528, 12, 11126, 67, 13545, 1769, 377, 202, 588, 18415, 7675, 588, 2471, 7675, 542, 1864, 6207, 12, 3767, 1769, 377, 202, 588, 18415, 7675, 588, 2471, 7675, 542, 2 ]
if ( vTaskIDs.size( ) == 0 ) { return null; }
public IWizardContext open( String[] sTasks, String topTaskId, IWizardContext initialContext ) { // Update initial context context = initialContext; // Initialize UI elelents GridLayout glShell = new GridLayout( ); glShell.marginHeight = 0; glShell.marginWidth = 0; glShell.verticalSpacing = 0; display = Display.getDefault( ); if ( PlatformUI.isWorkbenchRunning( ) ) { shell = new Shell( PlatformUI.getWorkbench( ) .getDisplay( ) .getActiveShell( ), SWT.DIALOG_TRIM | SWT.RESIZE | SWT.APPLICATION_MODAL ); } else { shell = new Shell( display, SWT.DIALOG_TRIM | SWT.RESIZE | SWT.APPLICATION_MODAL ); } // Set shell properties shell.setLayout( glShell ); shell.setSize( iWizardWidth, iWizardHeight ); shell.setText( wizardTitle ); if ( wizardImage != null ) { shell.setImage( wizardImage ); } shell.addControlListener( this ); // Initialize and layout UI components of the framework tasklist = new TaskList( shell, SWT.NONE, this ); Label lblSeparator = new Label( shell, SWT.SEPARATOR | SWT.HORIZONTAL ); lblSeparator.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); placeComponents( ); lblSeparator = new Label( shell, SWT.SEPARATOR | SWT.HORIZONTAL ); lblSeparator.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); Composite cmpButton = new Composite( shell, SWT.NONE ); { cmpButton.setLayout( new GridLayout( ) ); GridData gd = new GridData( ); gd.horizontalAlignment = SWT.END; cmpButton.setLayoutData( gd ); } buttonpanel = new ButtonPanel( cmpButton, SWT.NONE, this ); // Add tasks String[] allTasks = TasksManager.instance( ) .getTasksForWizard( sWizardID ); // ADD DEFAULT TASKS AS DEFINED BY EXTENSIONS for ( int i = 0; i < allTasks.length; i++ ) { addTask( allTasks[i] ); } // ADD TASKS SPECIFIED DURING INVOCATION if ( sTasks != null && sTasks.length > 0 ) { for ( int i = 0; i < sTasks.length; i++ ) { if ( !vTaskIDs.contains( sTasks[i] ) ) { addTask( sTasks[i] ); } } } // Check task existence if ( vTaskIDs.size( ) == 0 ) { return null; } // Open the specified task if ( topTaskId == null ) { sCurrentActiveTask = vTaskIDs.get( 0 ).toString( ); if ( vTaskIDs.size( ) > 1 ) { buttonpanel.setButtonEnabled( ButtonPanel.NEXT, true ); } } else { assert vTaskIDs.contains( topTaskId ); sCurrentActiveTask = topTaskId; int taskIndex = vTaskIDs.indexOf( topTaskId ); if ( taskIndex > 0 ) { buttonpanel.setButtonEnabled( ButtonPanel.BACK, true ); } if ( taskIndex < vTaskIDs.size( ) - 1 ) { buttonpanel.setButtonEnabled( ButtonPanel.NEXT, true ); } } getCurrentTask( ).setContext( initialContext ); switchTo( sCurrentActiveTask ); shell.setLocation( ( display.getClientArea( ).width / 2 - ( shell.getSize( ).x / 2 ) ), ( display.getClientArea( ).height / 2 ) - ( shell.getSize( ).y / 2 ) ); shell.addDisposeListener( this ); shell.open( ); while ( !shell.isDisposed( ) ) { if ( !display.readAndDispatch( ) ) { display.sleep( ); } } if ( !bWasCancelled ) { return this.context; } return null; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/df749af233ec4b7ab4ff5a2378a06e2616f2033a/WizardBase.java/buggy/core/org.eclipse.birt.core.ui/src/org/eclipse/birt/core/ui/frameworks/taskwizard/WizardBase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 27130, 1042, 1696, 12, 514, 8526, 272, 6685, 16, 514, 1760, 30182, 16, 1082, 202, 45, 27130, 1042, 2172, 1042, 262, 202, 95, 202, 202, 759, 2315, 2172, 819, 202, 202, 2472, 273, 2172, 1042, 31, 202, 202, 759, 9190, 6484, 415, 292, 4877, 202, 202, 6313, 3744, 5118, 13220, 273, 394, 7145, 3744, 12, 11272, 202, 202, 7043, 13220, 18, 10107, 2686, 273, 374, 31, 202, 202, 7043, 13220, 18, 10107, 2384, 273, 374, 31, 202, 202, 7043, 13220, 18, 17824, 18006, 273, 374, 31, 202, 202, 5417, 273, 9311, 18, 588, 1868, 12, 11272, 202, 202, 430, 261, 11810, 5370, 18, 291, 2421, 22144, 7051, 12, 262, 262, 202, 202, 95, 1082, 202, 10304, 273, 394, 19433, 12, 11810, 5370, 18, 588, 2421, 22144, 12, 262, 6862, 202, 18, 588, 4236, 12, 262, 6862, 202, 18, 588, 3896, 13220, 12, 262, 16, 348, 8588, 18, 2565, 18683, 67, 6566, 49, 6862, 202, 96, 348, 8588, 18, 862, 4574, 571, 348, 8588, 18, 25039, 67, 6720, 1013, 11272, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 10304, 273, 394, 19433, 12, 2562, 16, 348, 8588, 18, 2565, 18683, 67, 6566, 49, 6862, 202, 96, 348, 8588, 18, 862, 4574, 571, 348, 8588, 18, 25039, 67, 6720, 1013, 11272, 202, 202, 97, 202, 202, 759, 1000, 5972, 1790, 202, 202, 10304, 18, 542, 3744, 12, 5118, 13220, 11272, 202, 202, 10304, 18, 542, 1225, 12, 277, 27130, 2384, 16, 277, 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, 467, 27130, 1042, 1696, 12, 514, 8526, 272, 6685, 16, 514, 1760, 30182, 16, 1082, 202, 45, 27130, 1042, 2172, 1042, 262, 202, 95, 202, 202, 759, 2315, 2172, 819, 202, 202, 2472, 273, 2172, 1042, 31, 202, 202, 759, 9190, 6484, 415, 292, 4877, 202, 202, 6313, 3744, 5118, 13220, 273, 394, 7145, 3744, 12, 11272, 202, 202, 7043, 13220, 18, 10107, 2686, 273, 374, 31, 202, 202, 7043, 13220, 18, 10107, 2384, 273, 374, 31, 202, 202, 7043, 13220, 18, 17824, 18006, 273, 374, 31, 202, 202, 5417, 273, 9311, 18, 588, 1868, 12, 11272, 202, 202, 430, 261, 11810, 5370, 18, 291, 2421, 22144, 7051, 12, 262, 262, 202, 202, 95, 1082, 202, 2 ]
GridData gd = new GridData( ); gd.widthHint = 200; cmbTypes.setLayoutData( gd ); cmbTypes.addSelectionListener( this );
btnTitleVisible.setText( Messages.getString( "ChartSheetImpl.Label.Visible" ) ); btnTitleVisible.setSelection( getChart( ).getTitle( ).isVisible( ) ); btnTitleVisible.addSelectionListener( this ); btnTitleVisible.setSelection( getAxisForProcessing( ).getTitle( ) .isVisible( ) );
public void createControl( Composite parent ) { cmpContent = new Composite( parent, SWT.NONE ); { GridLayout glContent = new GridLayout( 2, false ); cmpContent.setLayout( glContent ); GridData gd = new GridData( GridData.FILL_BOTH ); cmpContent.setLayoutData( gd ); } Composite cmpBasic = new Composite( cmpContent, SWT.NONE ); { cmpBasic.setLayout( new GridLayout( 3, false ) ); cmpBasic.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); } new Label( cmpBasic, SWT.NONE ).setText( Messages.getString( "AxisYSheetImpl.Label.Title" ) ); //$NON-NLS-1$ List keys = null; IUIServiceProvider serviceprovider = getContext( ).getUIServiceProvider( ); if ( serviceprovider != null ) { keys = serviceprovider.getRegisteredKeys( ); } txtTitle = new ExternalizedTextEditorComposite( cmpBasic, SWT.BORDER | SWT.SINGLE, -1, -1, keys, serviceprovider, getAxisForProcessing( ).getTitle( ).getCaption( ).getValue( ) ); { GridData gd = new GridData( ); gd.widthHint = 250; gd.horizontalSpan = 2; txtTitle.setLayoutData( gd ); txtTitle.addListener( this ); } Label lblType = new Label( cmpBasic, SWT.NONE ); lblType.setText( Messages.getString( "OrthogonalAxisDataSheetImpl.Lbl.Type" ) ); //$NON-NLS-1$ cmbTypes = new Combo( cmpBasic, SWT.DROP_DOWN | SWT.READ_ONLY ); { GridData gd = new GridData( ); gd.widthHint = 200; cmbTypes.setLayoutData( gd ); cmbTypes.addSelectionListener( this ); } btnFormatSpecifier = new Button( cmpBasic, SWT.PUSH ); { GridData gdBTNFormatSpecifier = new GridData( ); gdBTNFormatSpecifier.widthHint = 20; gdBTNFormatSpecifier.horizontalIndent = -3; btnFormatSpecifier.setLayoutData( gdBTNFormatSpecifier ); btnFormatSpecifier.setImage( UIHelper.getImage( "icons/obj16/formatbuilder.gif" ) ); //$NON-NLS-1$ btnFormatSpecifier.setToolTipText( Messages.getString( "Shared.Tooltip.FormatSpecifier" ) ); //$NON-NLS-1$ btnFormatSpecifier.addSelectionListener( this ); btnFormatSpecifier.getImage( ) .setBackground( btnFormatSpecifier.getBackground( ) ); } // Origin is not supported in 3D if ( getChart( ).getDimension( ).getValue( ) != ChartDimension.THREE_DIMENSIONAL ) { Label lblOrigin = new Label( cmpBasic, SWT.NONE ); lblOrigin.setText( Messages.getString( "OrthogonalAxisDataSheetImpl.Lbl.Origin" ) ); //$NON-NLS-1$ cmbOrigin = new Combo( cmpBasic, SWT.DROP_DOWN | SWT.READ_ONLY ); { GridData gd = new GridData( ); gd.widthHint = 200; gd.horizontalSpan = 2; cmbOrigin.setLayoutData( gd ); cmbOrigin.addSelectionListener( this ); } boolean bValueOrigin = false; if ( getAxisForProcessing( ).getOrigin( ) != null ) { if ( getAxisForProcessing( ).getOrigin( ) .getType( ) .equals( IntersectionType.VALUE_LITERAL ) ) { bValueOrigin = true; } } lblValue = new Label( cmpBasic, SWT.NONE ); { lblValue.setText( Messages.getString( "BaseAxisDataSheetImpl.Lbl.Value" ) ); //$NON-NLS-1$ lblValue.setEnabled( bValueOrigin ); } txtValue = new TextEditorComposite( cmpBasic, SWT.BORDER | SWT.SINGLE ); { GridData gd = new GridData( ); gd.widthHint = 225; gd.horizontalSpan = 2; txtValue.setLayoutData( gd ); txtValue.addListener( this ); txtValue.setEnabled( bValueOrigin ); } } new Label( cmpBasic, SWT.NONE ).setText( Messages.getString( "AxisYSheetImpl.Label.Labels" ) ); //$NON-NLS-1$ btnVisible = new Button( cmpBasic, SWT.CHECK ); { btnVisible.setText( Messages.getString( "AxisYSheetImpl.Label.Visible" ) ); //$NON-NLS-1$ GridData gd = new GridData( GridData.FILL_HORIZONTAL ); gd.horizontalSpan = 2; btnVisible.setLayoutData( gd ); btnVisible.addSelectionListener( this ); btnVisible.setSelection( getAxisForProcessing( ).getLabel( ) .isVisible( ) ); } createButtonGroup( cmpContent ); populateLists( ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/a8cbb3bd39fd0de535656d42c24e44059a9ca11b/AbstractAxisSubtask.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/axis/AbstractAxisSubtask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 752, 3367, 12, 14728, 982, 262, 202, 95, 202, 202, 9625, 1350, 273, 394, 14728, 12, 982, 16, 348, 8588, 18, 9826, 11272, 202, 202, 95, 1082, 202, 6313, 3744, 5118, 1350, 273, 394, 7145, 3744, 12, 576, 16, 629, 11272, 1082, 202, 9625, 1350, 18, 542, 3744, 12, 5118, 1350, 11272, 1082, 202, 6313, 751, 15551, 273, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 38, 18307, 11272, 1082, 202, 9625, 1350, 18, 542, 3744, 751, 12, 15551, 11272, 202, 202, 97, 202, 202, 9400, 9411, 8252, 273, 394, 14728, 12, 9411, 1350, 16, 348, 8588, 18, 9826, 11272, 202, 202, 95, 1082, 202, 9625, 8252, 18, 542, 3744, 12, 394, 7145, 3744, 12, 890, 16, 629, 262, 11272, 1082, 202, 9625, 8252, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 262, 11272, 202, 202, 97, 202, 202, 2704, 5287, 12, 9411, 8252, 16, 348, 8588, 18, 9826, 262, 18, 542, 1528, 12, 4838, 18, 588, 780, 12, 315, 6558, 61, 8229, 2828, 18, 2224, 18, 4247, 6, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 682, 1311, 273, 446, 31, 202, 202, 45, 5370, 16300, 1156, 6778, 273, 6474, 12, 262, 18, 588, 5370, 16300, 12, 11272, 202, 202, 430, 261, 1156, 6778, 480, 446, 262, 202, 202, 95, 1082, 202, 2452, 273, 1156, 6778, 18, 588, 10868, 2396, 12, 11272, 202, 202, 97, 202, 202, 5830, 4247, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 752, 3367, 12, 14728, 982, 262, 202, 95, 202, 202, 9625, 1350, 273, 394, 14728, 12, 982, 16, 348, 8588, 18, 9826, 11272, 202, 202, 95, 1082, 202, 6313, 3744, 5118, 1350, 273, 394, 7145, 3744, 12, 576, 16, 629, 11272, 1082, 202, 9625, 1350, 18, 542, 3744, 12, 5118, 1350, 11272, 1082, 202, 6313, 751, 15551, 273, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 38, 18307, 11272, 1082, 202, 9625, 1350, 18, 542, 3744, 751, 12, 15551, 11272, 202, 202, 97, 202, 202, 9400, 9411, 8252, 273, 394, 14728, 12, 9411, 1350, 16, 348, 8588, 18, 9826, 11272, 202, 202, 95, 1082, 202, 9625, 8252, 18, 542, 3744, 12, 394, 7145, 3744, 2 ]
udpService.send(pr,toQuery.getAddress(),toQuery.getPort());
try { udpService.send(pr,toQuery.getAddress(), toQuery.getPort()); } catch(IOException ioe) { ErrorService.error(ioe, "ip/port: " + toQuery.getAddress() + ":" + toQuery.getPort()); }
private void queryLoop() { UDPService udpService = UDPService.instance(); while (_shouldRun) { try { waitForQueries(); GUESSEndpoint toQuery = getUnicastHost(); // no query key to use in my query! if (!_queryKeys.containsKey(toQuery)) { // send a QueryKey Request PingRequest pr = new PingRequest(); udpService.send(pr,toQuery.getAddress(),toQuery.getPort()); if(RECORD_STATS) SentMessageStatHandler.UDP_PING_REQUESTS.addMessage(pr); // DO NOT RE-ADD ENDPOINT - we'll do that if we get a // QueryKey Reply!! continue; // try another up above.... } QueryKey queryKey = ((QueryKeyBundle) _queryKeys.get(toQuery))._queryKey; purgeGuidsInternal(); // in case any were added while asleep boolean currentHostUsed = false; synchronized (_queries) { Iterator iter = _queries.values().iterator(); while (iter.hasNext()) { QueryBundle currQB = (QueryBundle)iter.next(); if ((currQB._numResults > QueryBundle.MAX_RESULTS) || (currQB._hostsQueried.size() > QueryBundle.MAX_QUERIES) ) // query is now stale.... _qGuidsToRemove.add(new GUID(currQB._qr.getGUID())); else if (currQB._hostsQueried.contains(toQuery)) ; // don't send another.... else { InetAddress ip = toQuery.getAddress(); QueryRequest qrToSend = QueryRequest.createQueryKeyQuery(currQB._qr, queryKey); udpService.send(qrToSend, ip, toQuery.getPort()); currentHostUsed = true; if(RECORD_STATS) SentMessageStatHandler.UDP_QUERY_REQUESTS. addMessage(qrToSend); currQB._hostsQueried.add(toQuery); } } } // add the current host back to the list if it was not used for // any query if(!currentHostUsed) { addUnicastEndpoint(toQuery); } // purge stale queries, hold lock so you don't miss any... synchronized (_qGuidsToRemove) { purgeGuidsInternal(); _qGuidsToRemove.clear(); } Thread.sleep(ITERATION_TIME); } catch (InterruptedException ignored) {} } }
5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/81de2144e372569eb7b3cc1e42071aaf5f04a23d/QueryUnicaster.java/clean/components/gnutella-core/src/main/java/com/limegroup/gnutella/QueryUnicaster.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 843, 6452, 1435, 288, 3639, 16230, 1179, 16673, 1179, 273, 16230, 1179, 18, 1336, 5621, 3639, 1323, 261, 67, 13139, 1997, 13, 288, 5411, 775, 288, 7734, 10712, 9592, 5621, 7734, 611, 1821, 1260, 3293, 358, 1138, 273, 10833, 12544, 2594, 5621, 7734, 368, 1158, 843, 498, 358, 999, 316, 3399, 843, 5, 7734, 309, 16051, 67, 2271, 2396, 18, 12298, 653, 12, 869, 1138, 3719, 288, 5397, 368, 1366, 279, 2770, 653, 1567, 10792, 18214, 691, 846, 273, 394, 18214, 691, 5621, 10792, 775, 288, 16673, 1179, 18, 4661, 12, 683, 16, 869, 1138, 18, 588, 1887, 9334, 358, 1138, 18, 588, 2617, 10663, 289, 1044, 12, 14106, 10847, 13, 288, 1068, 1179, 18, 1636, 12, 1594, 73, 16, 315, 625, 19, 655, 30, 315, 397, 358, 1138, 18, 588, 1887, 1435, 397, 6153, 397, 358, 1138, 18, 588, 2617, 10663, 289, 10792, 309, 12, 22261, 67, 31983, 13, 13491, 16695, 1079, 5000, 1503, 18, 20352, 67, 20002, 67, 5519, 55, 18, 1289, 1079, 12, 683, 1769, 10792, 368, 5467, 4269, 2438, 17, 8355, 23107, 300, 732, 5614, 741, 716, 309, 732, 336, 279, 10792, 368, 2770, 653, 16202, 8548, 10792, 1324, 31, 368, 775, 4042, 731, 5721, 6265, 7734, 289, 7734, 2770, 653, 843, 653, 273, 5397, 14015, 1138, 653, 3405, 13, 389, 2271, 2396, 18, 588, 12, 869, 1138, 13, 2934, 67, 2271, 653, 31, 7734, 11668, 43, 21428, 3061, 5621, 368, 316, 648, 1281, 4591, 3096, 1323, 487, 4265, 9506, 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, 843, 6452, 1435, 288, 3639, 16230, 1179, 16673, 1179, 273, 16230, 1179, 18, 1336, 5621, 3639, 1323, 261, 67, 13139, 1997, 13, 288, 5411, 775, 288, 7734, 10712, 9592, 5621, 7734, 611, 1821, 1260, 3293, 358, 1138, 273, 10833, 12544, 2594, 5621, 7734, 368, 1158, 843, 498, 358, 999, 316, 3399, 843, 5, 7734, 309, 16051, 67, 2271, 2396, 18, 12298, 653, 12, 869, 1138, 3719, 288, 5397, 368, 1366, 279, 2770, 653, 1567, 10792, 18214, 691, 846, 273, 394, 18214, 691, 5621, 10792, 775, 288, 16673, 1179, 18, 4661, 12, 683, 16, 869, 1138, 18, 588, 1887, 9334, 358, 1138, 18, 588, 2617, 10663, 289, 1044, 12, 14106, 10847, 13, 288, 1068, 1179, 18, 1636, 2 ]
output.setEntries( store.getAllEntries(false) );
output.setEntries( store.getEntries(false) );
public void execute(Map arguments, Registry registry, Output output) throws Exception { EntryStore store = (EntryStore) registry.getPlugin("store"); output.setEntries( store.getAllEntries(false) ); }
13116 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13116/f990026a37a43a99615d3425761f66b16aa52cd9/ListAllCommand.java/buggy/trunk/src/org/roosster/commands/ListAllCommand.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 12, 863, 1775, 16, 5438, 4023, 16, 3633, 876, 13, 1171, 1216, 1185, 565, 288, 3639, 3841, 2257, 1707, 273, 261, 1622, 2257, 13, 4023, 18, 588, 3773, 2932, 2233, 8863, 3639, 876, 18, 542, 5400, 12, 1707, 18, 588, 5400, 12, 5743, 13, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 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, 1836, 12, 863, 1775, 16, 5438, 4023, 16, 3633, 876, 13, 1171, 1216, 1185, 565, 288, 3639, 3841, 2257, 1707, 273, 261, 1622, 2257, 13, 4023, 18, 588, 3773, 2932, 2233, 8863, 3639, 876, 18, 542, 5400, 12, 1707, 18, 588, 5400, 12, 5743, 13, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void curve(float x1, float y1,
public void curve(float x1, float y1,
public void curve(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) { beginShape(LINE_STRIP); //curveVertex(x1, y1); curveVertex(x1, y1); curveVertex(x2, y2); curveVertex(x3, y3); curveVertex(x4, y4); //curveVertex(x4, y4); endShape(); }
8833 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8833/d877999f6e97d3c619ae60b800d586ac00acf618/PGraphics.java/clean/core/PGraphics.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 8882, 12, 5659, 619, 21, 16, 1431, 677, 21, 16, 5397, 1431, 619, 22, 16, 1431, 677, 22, 16, 10792, 1431, 619, 23, 16, 1431, 677, 23, 16, 10792, 1431, 619, 24, 16, 1431, 677, 24, 13, 288, 565, 2376, 8500, 12, 5997, 67, 15765, 52, 1769, 565, 368, 16683, 6475, 12, 92, 21, 16, 677, 21, 1769, 565, 8882, 6475, 12, 92, 21, 16, 677, 21, 1769, 565, 8882, 6475, 12, 92, 22, 16, 677, 22, 1769, 565, 8882, 6475,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8882, 12, 5659, 619, 21, 16, 1431, 677, 21, 16, 5397, 1431, 619, 22, 16, 1431, 677, 22, 16, 10792, 1431, 619, 23, 16, 1431, 677, 23, 16, 10792, 1431, 619, 24, 16, 1431, 677, 24, 13, 288, 565, 2376, 8500, 12, 5997, 67, 15765, 52, 1769, 565, 368, 16683, 6475, 12, 92, 21, 16, 677, 21, 1769, 565, 8882, 6475, 12, 92, 21, 16, 677, 21, 1769, 565, 8882, 6475, 12, 92, 22, 16, 677, 22, 1769, 565, 8882, 6475, 12, 92, 23, 16, 677, 23, 1769, 565, 8882, 6475, 12, 92, 24, 16, 677, 24, 1769, 565, 368, 16683, 6475, 12, 92, 24, 16, 677, 24, 1769, 565, 679, 8500, 5621, 225, 289, 2, -100 ]
return getProduct().startsWith("Informix"); }
return getProduct().startsWith("Informix"); }
public boolean isInformix() { return getProduct().startsWith("Informix"); }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/b5b5168edc3af09cb74945a80b0c36e6630ed502/SqlQuery.java/buggy/src/main/mondrian/rolap/sql/SqlQuery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 8048, 687, 697, 1435, 288, 202, 202, 2463, 15880, 7675, 17514, 1190, 2932, 25541, 697, 8863, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8048, 687, 697, 1435, 288, 202, 202, 2463, 15880, 7675, 17514, 1190, 2932, 25541, 697, 8863, 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 ]
if (syncChildren() == false ) {
if (syncChildren()) {
private void writeObject(ObjectOutputStream out) throws IOException { // synchronize chilren if (syncChildren() == false ) { synchronizeChildren(); } // write object out.defaultWriteObject(); } // writeObject(ObjectOutputStream)
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/6f1fe44987d563d73d6d6ea1aab56d75554d7e96/ChildAndParentNode.java/clean/src/org/apache/xerces/dom/ChildAndParentNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16306, 12, 921, 4632, 596, 13, 1216, 1860, 288, 3639, 368, 16978, 462, 330, 1187, 3639, 309, 261, 8389, 4212, 10756, 288, 5411, 16978, 4212, 5621, 3639, 289, 3639, 368, 1045, 733, 3639, 596, 18, 1886, 3067, 921, 5621, 565, 289, 368, 16306, 12, 921, 4632, 13, 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 ]
addPage(1, myEntityEditor, getEditorInput()); setPageText(1, Messages.getString("EOModelEditor.noEntitySelected"));
addPage(EOModelEditor.EOENTITY_PAGE, myEntityEditor, getEditorInput()); setPageText(EOModelEditor.EOENTITY_PAGE, Messages.getString("EOModelEditor.noEntitySelected"));
protected void createPages() { try { myEntitiesTableEditor = new EOEntitiesTableEditor(); addPage(0, myEntitiesTableEditor, getEditorInput()); setPageText(0, Messages.getString("EOModelEditor.entitiesTab")); //$NON-NLS-1$ myEntityEditor = new EOEntityEditor(); addPage(1, myEntityEditor, getEditorInput()); setPageText(1, Messages.getString("EOModelEditor.noEntitySelected")); //$NON-NLS-1$ EOModelSelectionChangedListener modelSelectionChangedListener = new EOModelSelectionChangedListener(); myEntitiesTableEditor.addSelectionChangedListener(modelSelectionChangedListener); myEntitiesTableEditor.setModel(myModel); EOEntitySelectionChangedListener entitySelectionChangedListener = new EOEntitySelectionChangedListener(); myEntityEditor.addSelectionChangedListener(entitySelectionChangedListener); if (myOpeningEntity != null) { setSelectedEntity(myOpeningEntity); setActivePage(1); } } catch (PartInitException e) { ErrorDialog.openError(getSite().getShell(), "Error creating editor.", null, e.getStatus()); } }
50596 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50596/d928b49aa0253c6ecb4869ae5c835c8362ad2cc8/EOModelEditor.java/buggy/wolips/plugins/org.objectstyle.wolips.eomodeler/java/org/objectstyle/wolips/eomodeler/editors/EOModelEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 752, 5716, 1435, 288, 565, 775, 288, 1377, 3399, 8108, 1388, 6946, 273, 394, 512, 51, 8108, 1388, 6946, 5621, 1377, 527, 1964, 12, 20, 16, 3399, 8108, 1388, 6946, 16, 336, 6946, 1210, 10663, 1377, 18663, 1528, 12, 20, 16, 4838, 18, 588, 780, 2932, 41, 51, 1488, 6946, 18, 9996, 5661, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1377, 3399, 1943, 6946, 273, 394, 512, 51, 1943, 6946, 5621, 1377, 527, 1964, 12, 21, 16, 3399, 1943, 6946, 16, 336, 6946, 1210, 10663, 1377, 18663, 1528, 12, 21, 16, 4838, 18, 588, 780, 2932, 41, 51, 1488, 6946, 18, 2135, 1943, 7416, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1377, 512, 51, 1488, 6233, 5033, 2223, 938, 6233, 5033, 2223, 273, 394, 512, 51, 1488, 6233, 5033, 2223, 5621, 1377, 3399, 8108, 1388, 6946, 18, 1289, 6233, 5033, 2223, 12, 2284, 6233, 5033, 2223, 1769, 1377, 3399, 8108, 1388, 6946, 18, 542, 1488, 12, 4811, 1488, 1769, 1377, 512, 51, 1943, 6233, 5033, 2223, 1522, 6233, 5033, 2223, 273, 394, 512, 51, 1943, 6233, 5033, 2223, 5621, 1377, 3399, 1943, 6946, 18, 1289, 6233, 5033, 2223, 12, 1096, 6233, 5033, 2223, 1769, 1377, 309, 261, 4811, 21378, 1943, 480, 446, 13, 288, 3639, 23006, 1943, 12, 4811, 21378, 1943, 1769, 3639, 20669, 1964, 12, 21, 1769, 1377, 289, 565, 289, 565, 1044, 261, 1988, 2570, 503, 425, 13, 288, 1377, 1068, 6353, 18, 3190, 668, 12, 588, 4956, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 752, 5716, 1435, 288, 565, 775, 288, 1377, 3399, 8108, 1388, 6946, 273, 394, 512, 51, 8108, 1388, 6946, 5621, 1377, 527, 1964, 12, 20, 16, 3399, 8108, 1388, 6946, 16, 336, 6946, 1210, 10663, 1377, 18663, 1528, 12, 20, 16, 4838, 18, 588, 780, 2932, 41, 51, 1488, 6946, 18, 9996, 5661, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1377, 3399, 1943, 6946, 273, 394, 512, 51, 1943, 6946, 5621, 1377, 527, 1964, 12, 21, 16, 3399, 1943, 6946, 16, 336, 6946, 1210, 10663, 1377, 18663, 1528, 12, 21, 16, 4838, 18, 588, 780, 2932, 41, 51, 1488, 6946, 18, 2135, 1943, 7416, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1377, 2 ]
return defaultValue;
return null;
public static Integer getInteger(String string, Integer defaultValue) { if (string == null || string.length() == 0) return defaultValue; String prop = System.getProperty(string); if (prop == null) return defaultValue; try { return decode(prop); } catch (NumberFormatException ex) { return defaultValue; } }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/05d418921ff60e1f4923fdfa958156a76ce9c068/Integer.java/buggy/modules/luni/src/main/java/java/lang/Integer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 2144, 19921, 12, 780, 533, 16, 2144, 4593, 13, 288, 202, 202, 430, 261, 1080, 422, 446, 747, 533, 18, 2469, 1435, 422, 374, 13, 1082, 202, 2463, 4593, 31, 202, 202, 780, 2270, 273, 2332, 18, 588, 1396, 12, 1080, 1769, 202, 202, 430, 261, 5986, 422, 446, 13, 1082, 202, 2463, 4593, 31, 202, 202, 698, 288, 1082, 202, 2463, 2495, 12, 5986, 1769, 202, 202, 97, 1044, 261, 1854, 9291, 431, 13, 288, 1082, 202, 2463, 4593, 31, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 2144, 19921, 12, 780, 533, 16, 2144, 4593, 13, 288, 202, 202, 430, 261, 1080, 422, 446, 747, 533, 18, 2469, 1435, 422, 374, 13, 1082, 202, 2463, 4593, 31, 202, 202, 780, 2270, 273, 2332, 18, 588, 1396, 12, 1080, 1769, 202, 202, 430, 261, 5986, 422, 446, 13, 1082, 202, 2463, 4593, 31, 202, 202, 698, 288, 1082, 202, 2463, 2495, 12, 5986, 1769, 202, 202, 97, 1044, 261, 1854, 9291, 431, 13, 288, 1082, 202, 2463, 4593, 31, 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 ]
public void add(BooleanClause clause) { if (clauses.size() >= maxClauseCount) throw new TooManyClauses(); clauses.addElement(clause);
public void add(Query query, boolean required, boolean prohibited) { add(new BooleanClause(query, required, prohibited));
public void add(BooleanClause clause) { if (clauses.size() >= maxClauseCount) throw new TooManyClauses(); clauses.addElement(clause); }
50125 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50125/217ac20c305d19a03ae239583b288daa7b369b29/BooleanQuery.java/buggy/src/java/org/apache/lucene/search/BooleanQuery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 527, 12, 5507, 7044, 6591, 13, 288, 565, 309, 261, 830, 9608, 18, 1467, 1435, 1545, 943, 7044, 1380, 13, 1377, 604, 394, 15869, 5594, 22434, 5621, 565, 14093, 18, 1289, 1046, 12, 18128, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 527, 12, 5507, 7044, 6591, 13, 288, 565, 309, 261, 830, 9608, 18, 1467, 1435, 1545, 943, 7044, 1380, 13, 1377, 604, 394, 15869, 5594, 22434, 5621, 565, 14093, 18, 1289, 1046, 12, 18128, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public boolean eIsSet( EStructuralFeature eFeature )
public boolean eIsSet( int featureID )
public boolean eIsSet( EStructuralFeature eFeature ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case DataPackage.SERIES_GROUPING__ENABLED : return isSetEnabled( ); case DataPackage.SERIES_GROUPING__GROUPING_UNIT : return isSetGroupingUnit( ); case DataPackage.SERIES_GROUPING__GROUPING_ORIGIN : return groupingOrigin != null; case DataPackage.SERIES_GROUPING__GROUPING_INTERVAL : return isSetGroupingInterval( ); case DataPackage.SERIES_GROUPING__GROUP_TYPE : return isSetGroupType( ); case DataPackage.SERIES_GROUPING__AGGREGATE_EXPRESSION : return AGGREGATE_EXPRESSION_EDEFAULT == null ? aggregateExpression != null : !AGGREGATE_EXPRESSION_EDEFAULT.equals( aggregateExpression ); } return eDynamicIsSet( eFeature ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/036e8c78765730b146e5854b9d6c397a296fed86/SeriesGroupingImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/data/impl/SeriesGroupingImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 20372, 12, 512, 14372, 4595, 425, 4595, 262, 202, 95, 202, 202, 9610, 261, 425, 21007, 14372, 4595, 734, 12, 425, 4595, 262, 262, 202, 202, 95, 1082, 202, 3593, 1910, 2261, 18, 2123, 8805, 67, 8468, 1360, 972, 13560, 294, 9506, 202, 2463, 13532, 1526, 12, 11272, 1082, 202, 3593, 1910, 2261, 18, 2123, 8805, 67, 8468, 1360, 972, 8468, 1360, 67, 15736, 294, 9506, 202, 2463, 13532, 21014, 2802, 12, 11272, 1082, 202, 3593, 1910, 2261, 18, 2123, 8805, 67, 8468, 1360, 972, 8468, 1360, 67, 24685, 294, 9506, 202, 2463, 12116, 7571, 480, 446, 31, 1082, 202, 3593, 1910, 2261, 18, 2123, 8805, 67, 8468, 1360, 972, 8468, 1360, 67, 16435, 294, 9506, 202, 2463, 13532, 21014, 4006, 12, 11272, 1082, 202, 3593, 1910, 2261, 18, 2123, 8805, 67, 8468, 1360, 972, 8468, 67, 2399, 294, 9506, 202, 2463, 13532, 1114, 559, 12, 11272, 1082, 202, 3593, 1910, 2261, 18, 2123, 8805, 67, 8468, 1360, 972, 1781, 43, 5937, 1777, 67, 19111, 294, 9506, 202, 2463, 432, 19491, 5937, 1777, 67, 19111, 67, 11236, 422, 446, 692, 7047, 2300, 480, 446, 25083, 202, 30, 401, 1781, 43, 5937, 1777, 67, 19111, 67, 11236, 18, 14963, 12, 7047, 2300, 11272, 202, 202, 97, 202, 202, 2463, 425, 9791, 15737, 12, 425, 4595, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 20372, 12, 512, 14372, 4595, 425, 4595, 262, 202, 95, 202, 202, 9610, 261, 425, 21007, 14372, 4595, 734, 12, 425, 4595, 262, 262, 202, 202, 95, 1082, 202, 3593, 1910, 2261, 18, 2123, 8805, 67, 8468, 1360, 972, 13560, 294, 9506, 202, 2463, 13532, 1526, 12, 11272, 1082, 202, 3593, 1910, 2261, 18, 2123, 8805, 67, 8468, 1360, 972, 8468, 1360, 67, 15736, 294, 9506, 202, 2463, 13532, 21014, 2802, 12, 11272, 1082, 202, 3593, 1910, 2261, 18, 2123, 8805, 67, 8468, 1360, 972, 8468, 1360, 67, 24685, 294, 9506, 202, 2463, 12116, 7571, 480, 446, 31, 1082, 202, 3593, 1910, 2261, 18, 2123, 8805, 67, 8468, 1360, 972, 8468, 1360, 67, 16435, 294, 2 ]
private CurrentJvmHandler(){ }
private CurrentJvmHandler() { }
private CurrentJvmHandler(){ }
50951 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50951/c171c3550f70b496c1228bbed45f5f8feea45a9c/DeploymentHandler.java/buggy/src/org/objectweb/proactive/core/descriptor/xml/DeploymentHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 1152, 6562, 6071, 1503, 1435, 95, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 1152, 6562, 6071, 1503, 1435, 95, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
String sortKey = (String)valueForBinding("sortKey"); if(sortKey != null) { _sections = (NSMutableArray)_sections.valueForKeyPath(sortKey); }
} String sortKey = (String)valueForBinding("sortKey"); if(sortKey != null) { _sections = (NSMutableArray)_sections.valueForKeyPath(sortKey);
public NSArray sections() { if (_sections==null) { _sections= new NSMutableArray(); NSArray list=(NSArray)valueForBinding("list"); if (list!=null) { for (Enumeration e=list.objectEnumerator(); e.hasMoreElements();) { Object item=e.nextElement(); if(log.isDebugEnabled()) log.debug("item = "+item); setValueForBinding(item,"item"); // Sections have to be copiable objects -- no EOs!! Object section=valueForBinding("sectionForItem"); if(log.isDebugEnabled()) log.debug("section = "+section); if (section==null) section=NULL; Object sectionKey=copiableKeyForSection(section); if(log.isDebugEnabled()) log.debug("copiableKeyForSection = "+sectionKey); NSMutableArray itemsForSection=null; if (_sections.containsObject(section)) itemsForSection=(NSMutableArray)_itemsPerSection.objectForKey(sectionKey); else { _sections.addObject(section); itemsForSection=new NSMutableArray(); _itemsPerSection.setObjectForKey(itemsForSection,sectionKey); } itemsForSection.addObject(item); } String sortKey = (String)valueForBinding("sortKey"); //the key act on the array, so it must be in the form "@sortAsc.someKey" if(sortKey != null) { _sections = (NSMutableArray)_sections.valueForKeyPath(sortKey); } } } return _sections; }
46145 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46145/e489aa1db4e87de7bb1dac65a3fc669e5dd6716e/ERXGroupingRepetition.java/buggy/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXGroupingRepetition.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11472, 1076, 7178, 1435, 288, 3639, 309, 261, 67, 11657, 631, 2011, 13, 288, 5411, 389, 11657, 33, 394, 423, 7303, 3050, 1076, 5621, 5411, 11472, 1076, 666, 28657, 3156, 1076, 13, 1132, 1290, 5250, 2932, 1098, 8863, 5411, 309, 261, 1098, 5, 33, 2011, 13, 288, 7734, 364, 261, 21847, 425, 33, 1098, 18, 1612, 3572, 7385, 5621, 425, 18, 5332, 7417, 3471, 5621, 13, 288, 10792, 1033, 761, 33, 73, 18, 4285, 1046, 5621, 10792, 309, 12, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 1726, 273, 13773, 1726, 1769, 10792, 5524, 1290, 5250, 12, 1726, 10837, 1726, 8863, 10792, 368, 10092, 87, 1240, 358, 506, 6529, 2214, 2184, 1493, 1158, 512, 15112, 8548, 10792, 1033, 2442, 33, 1132, 1290, 5250, 2932, 3464, 1290, 1180, 8863, 10792, 309, 12, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 3464, 273, 13773, 3464, 1769, 10792, 309, 261, 3464, 631, 2011, 13, 2442, 33, 8560, 31, 10792, 1033, 2442, 653, 33, 22295, 2214, 653, 1290, 5285, 12, 3464, 1769, 10792, 309, 12, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 22295, 2214, 653, 1290, 5285, 273, 13773, 3464, 653, 1769, 10792, 423, 7303, 3050, 1076, 1516, 1290, 5285, 33, 2011, 31, 10792, 309, 261, 67, 11657, 18, 12298, 921, 12, 3464, 3719, 13491, 1516, 1290, 5285, 28657, 3156, 19536, 1076, 13, 67, 3319, 2173, 5285, 18, 1612, 19759, 12, 3464, 653, 1769, 10792, 469, 288, 13491, 389, 11657, 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, 377, 1071, 11472, 1076, 7178, 1435, 288, 3639, 309, 261, 67, 11657, 631, 2011, 13, 288, 5411, 389, 11657, 33, 394, 423, 7303, 3050, 1076, 5621, 5411, 11472, 1076, 666, 28657, 3156, 1076, 13, 1132, 1290, 5250, 2932, 1098, 8863, 5411, 309, 261, 1098, 5, 33, 2011, 13, 288, 7734, 364, 261, 21847, 425, 33, 1098, 18, 1612, 3572, 7385, 5621, 425, 18, 5332, 7417, 3471, 5621, 13, 288, 10792, 1033, 761, 33, 73, 18, 4285, 1046, 5621, 10792, 309, 12, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 1726, 273, 13773, 1726, 1769, 10792, 5524, 1290, 5250, 12, 1726, 10837, 1726, 8863, 10792, 368, 10092, 87, 1240, 358, 506, 6529, 2214, 2184, 1493, 1158, 512, 15112, 2 ]
DataSessionContext context = new DataSessionContext( DataSessionContext.MODE_DIRECT_PRESENTATION, dataSet.getModuleHandle( ), null );
DataSessionContext context = new DataSessionContext( DataSessionContext.MODE_DIRECT_PRESENTATION, dataSet .getModuleHandle( ), null );
public void clearCache( DataSetHandle dataSet ) throws BirtException { DataSessionContext context = new DataSessionContext( DataSessionContext.MODE_DIRECT_PRESENTATION, dataSet.getModuleHandle( ), null ); DataRequestSession requestSession = DataRequestSession.newSession( context ); IModelAdapter modelAdaptor = requestSession.getModelAdaptor( ); DataSourceHandle dataSource = dataSet.getDataSource( ); IBaseDataSourceDesign sourceDesign = modelAdaptor.adaptDataSource( dataSource ); IBaseDataSetDesign dataSetDesign = modelAdaptor.adaptDataSet( dataSet ); requestSession.clearCache( sourceDesign, dataSetDesign ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/4ea91dbf969b6a2c94d239aeb7a50028eecd14bb/ReportEngineService.java/clean/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 19346, 12, 14065, 3259, 14837, 262, 1216, 605, 2714, 503, 202, 95, 202, 202, 751, 2157, 1042, 819, 273, 394, 1910, 2157, 1042, 12, 1910, 2157, 1042, 18, 7038, 67, 17541, 67, 3670, 17418, 2689, 16, 9506, 202, 892, 694, 18, 588, 3120, 3259, 12, 262, 16, 9506, 202, 2011, 11272, 202, 202, 751, 691, 2157, 590, 2157, 273, 1910, 691, 2157, 18, 2704, 2157, 12, 819, 11272, 202, 202, 45, 1488, 4216, 938, 29888, 273, 590, 2157, 18, 588, 1488, 29888, 12, 11272, 202, 202, 8597, 3259, 10233, 273, 14837, 18, 588, 8597, 12, 11272, 202, 202, 45, 2171, 8597, 15478, 1084, 15478, 273, 938, 29888, 18, 19195, 8597, 12, 10233, 11272, 202, 202, 45, 2171, 13676, 15478, 14837, 15478, 273, 938, 29888, 18, 19195, 13676, 12, 14837, 11272, 202, 202, 2293, 2157, 18, 8507, 1649, 12, 1084, 15478, 16, 14837, 15478, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 19346, 12, 14065, 3259, 14837, 262, 1216, 605, 2714, 503, 202, 95, 202, 202, 751, 2157, 1042, 819, 273, 394, 1910, 2157, 1042, 12, 1910, 2157, 1042, 18, 7038, 67, 17541, 67, 3670, 17418, 2689, 16, 9506, 202, 892, 694, 18, 588, 3120, 3259, 12, 262, 16, 9506, 202, 2011, 11272, 202, 202, 751, 691, 2157, 590, 2157, 273, 1910, 691, 2157, 18, 2704, 2157, 12, 819, 11272, 202, 202, 45, 1488, 4216, 938, 29888, 273, 590, 2157, 18, 588, 1488, 29888, 12, 11272, 202, 202, 8597, 3259, 10233, 273, 14837, 18, 588, 8597, 12, 11272, 202, 202, 45, 2171, 8597, 15478, 1084, 15478, 273, 938, 29888, 18, 19195, 8597, 12, 10233, 11272, 202, 202, 2 ]
public XPathContext(Object owner)
public XPathContext()
public XPathContext(Object owner) { m_owner = owner; try { m_ownerGetErrorListener = m_owner.getClass().getMethod("getErrorListener", new Class[] {}); } catch (NoSuchMethodException nsme) {} m_prefixResolvers[m_prefixResolversTop++] = null; m_currentNodes[m_currentNodesFirstFree++] = DTM.NULL; m_currentNodes[m_currentExpressionNodesFirstFree++] = DTM.NULL; m_saxLocations[m_saxLocationsTop++] = null; }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/4b68e624cd64a4991ef368332aab9c90b97bb508/XPathContext.java/buggy/src/org/apache/xpath/XPathContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 10172, 1042, 1435, 225, 288, 565, 312, 67, 8443, 273, 3410, 31, 565, 775, 288, 1377, 312, 67, 8443, 967, 668, 2223, 273, 312, 67, 8443, 18, 588, 797, 7675, 588, 1305, 2932, 588, 668, 2223, 3113, 394, 1659, 8526, 2618, 1769, 565, 289, 565, 1044, 261, 28341, 14513, 3153, 3501, 13, 2618, 565, 312, 67, 3239, 28715, 63, 81, 67, 3239, 28715, 3401, 9904, 65, 273, 446, 31, 565, 312, 67, 2972, 3205, 63, 81, 67, 2972, 3205, 3759, 9194, 9904, 65, 273, 19854, 18, 8560, 31, 565, 312, 67, 2972, 3205, 63, 81, 67, 2972, 2300, 3205, 3759, 9194, 9904, 65, 273, 19854, 18, 8560, 31, 565, 312, 67, 87, 651, 10985, 63, 81, 67, 87, 651, 10985, 3401, 9904, 65, 273, 446, 31, 225, 289, 2, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 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, 10172, 1042, 1435, 225, 288, 565, 312, 67, 8443, 273, 3410, 31, 565, 775, 288, 1377, 312, 67, 8443, 967, 668, 2223, 273, 312, 67, 8443, 18, 588, 797, 7675, 588, 1305, 2932, 588, 668, 2223, 3113, 394, 1659, 8526, 2618, 1769, 565, 289, 565, 1044, 261, 28341, 14513, 3153, 3501, 13, 2618, 565, 312, 67, 3239, 28715, 63, 81, 67, 3239, 28715, 3401, 9904, 65, 273, 446, 31, 565, 312, 67, 2972, 3205, 63, 81, 67, 2972, 3205, 3759, 9194, 9904, 65, 273, 19854, 18, 8560, 31, 565, 312, 67, 2972, 3205, 63, 81, 67, 2972, 2300, 3205, 3759, 9194, 9904, 65, 273, 19854, 18, 8560, 31, 565, 312, 67, 87, 651, 10985, 63, 81, 67, 2 ]
myExpectation.setExpected(100.0);
myExpectation.setExpected(100.0);
public void testDoubleFail() { myExpectation.setExpected(100.0); boolean testPasses = false; try { myExpectation.setActual(150.0); } catch (AssertionFailedError ex) { testPasses = true; } assertTrue("Should fail fast on double", testPasses); }
2796 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2796/a917aff361c58c31c5dce12a5e8052df6803dbe1/ExpectationValueTest.java/buggy/jmock/core/src/test/jmock/expectation/ExpectationValueTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 5265, 3754, 1435, 288, 202, 202, 4811, 11988, 367, 18, 542, 6861, 12, 6625, 18, 20, 1769, 202, 202, 6494, 1842, 6433, 281, 273, 629, 31, 202, 202, 698, 288, 1082, 202, 4811, 11988, 367, 18, 542, 11266, 12, 23014, 18, 20, 1769, 202, 202, 97, 202, 202, 14683, 261, 14979, 2925, 668, 431, 13, 288, 1082, 202, 3813, 6433, 281, 273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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 5265, 3754, 1435, 288, 202, 202, 4811, 11988, 367, 18, 542, 6861, 12, 6625, 18, 20, 1769, 202, 202, 6494, 1842, 6433, 281, 273, 629, 31, 202, 202, 698, 288, 1082, 202, 4811, 11988, 367, 18, 542, 11266, 12, 23014, 18, 20, 1769, 202, 202, 97, 202, 202, 14683, 261, 14979, 2925, 668, 431, 13, 288, 1082, 202, 3813, 6433, 281, 273, 638, 31, 202, 202, 97, 202, 202, 11231, 5510, 2932, 14309, 2321, 4797, 603, 1645, 3113, 1842, 6433, 281, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
tuple[9] = "10".getBytes();
tuple[9] = "10".getBytes(); }
public java.sql.ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException { Vector v = new Vector(); // The new ResultSet tuple stuff Field f[] = new Field[18]; // The field descriptors for the new ResultSet f[0] = new Field(connection, "TABLE_CAT", iVarcharOid, 32); f[1] = new Field(connection, "TABLE_SCHEM", iVarcharOid, 32); f[2] = new Field(connection, "TABLE_NAME", iVarcharOid, 32); f[3] = new Field(connection, "COLUMN_NAME", iVarcharOid, 32); f[4] = new Field(connection, "DATA_TYPE", iInt2Oid, 2); f[5] = new Field(connection, "TYPE_NAME", iVarcharOid, 32); f[6] = new Field(connection, "COLUMN_SIZE", iInt4Oid, 4); f[7] = new Field(connection, "BUFFER_LENGTH", iVarcharOid, 32); f[8] = new Field(connection, "DECIMAL_DIGITS", iInt4Oid, 4); f[9] = new Field(connection, "NUM_PREC_RADIX", iInt4Oid, 4); f[10] = new Field(connection, "NULLABLE", iInt4Oid, 4); f[11] = new Field(connection, "REMARKS", iVarcharOid, 32); f[12] = new Field(connection, "COLUMN_DEF", iVarcharOid, 32); f[13] = new Field(connection, "SQL_DATA_TYPE", iInt4Oid, 4); f[14] = new Field(connection, "SQL_DATETIME_SUB", iInt4Oid, 4); f[15] = new Field(connection, "CHAR_OCTET_LENGTH", iVarcharOid, 32); f[16] = new Field(connection, "ORDINAL_POSITION", iInt4Oid, 4); f[17] = new Field(connection, "IS_NULLABLE", iVarcharOid, 32); StringBuffer sql = new StringBuffer(512); /* Build a >= 7.1 SQL statement to list all columns */ sql.append("select " + (connection.haveMinimumServerVersion("7.2") ? "a.attrelid, " : "a.oid, ") + " c.relname, " + " a.attname, " + " a.atttypid, " + " a.attnum, " + " a.attnotnull, " + " a.attlen, " + " a.atttypmod, " + " d.adsrc, " + " t.typname, " + /* Use the new col_description in 7.2 or an additional outer join in 7.1 */ (connection.haveMinimumServerVersion("7.2") ? "col_description(a.attrelid, a.attnum) " : "e.description ") + "from" + " (" + " (pg_class c inner join pg_attribute a on" + " (" + " a.attrelid=c.oid"); if ((tableNamePattern != null) && ! tableNamePattern.equals("%")) { sql.append(" and c.relname like \'" + tableNamePattern + "\'"); } if ((columnNamePattern != null) && ! columnNamePattern.equals("%")) { sql.append(" and a.attname like \'" + columnNamePattern + "\'"); } sql.append( " and a.attnum > 0" + " )" + " ) inner join pg_type t on" + " (" + " t.oid = a.atttypid" + " )" + " )" + " left outer join pg_attrdef d on" + " (" + " c.oid = d.adrelid" + " and a.attnum = d.adnum" + " ) "); if (!connection.haveMinimumServerVersion("7.2")) { /* Only for 7.1 */ sql.append( " left outer join pg_description e on" + " (" + " e.objoid = a.oid" + " ) "); } sql.append("order by" + " c.relname, a.attnum"); java.sql.ResultSet r = connection.ExecSQL(sql.toString()); while (r.next()) { byte[][] tuple = new byte[18][0]; String nullFlag = r.getString(6); String typname = r.getString(10); tuple[0] = null; // Catalog name, not supported tuple[1] = null; // Schema name, not supported tuple[2] = r.getBytes(2); // Table name tuple[3] = r.getBytes(3); // Column name tuple[4] = Integer.toString(connection.getSQLType(typname)).getBytes(); // Data type tuple[5] = typname.getBytes(); // Type name // Column size // Looking at the psql source, // I think the length of a varchar as specified when the table was created // should be extracted from atttypmod which contains this length + sizeof(int32) if (typname.equals("bpchar") || typname.equals("varchar")) { int atttypmod = r.getInt(8); tuple[6] = Integer.toString(atttypmod != -1 ? atttypmod - VARHDRSZ : 0).getBytes(); } else { tuple[6] = r.getBytes(7); } tuple[7] = null; // Buffer length // Decimal digits = scale // From the source (see e.g. backend/utils/adt/numeric.c, // function numeric()) the scale and precision can be calculated // from the typmod value. if (typname.equals("numeric") || typname.equals("decimal")) { int attypmod = r.getInt(8); tuple[8] = Integer.toString((attypmod - VARHDRSZ) & 0xffff).getBytes(); } else tuple[8] = "0".getBytes(); tuple[9] = "10".getBytes(); // Num Prec Radix - assume decimal tuple[10] = Integer.toString(nullFlag.equals("f") ? java.sql.DatabaseMetaData.columnNullable : java.sql.DatabaseMetaData.columnNoNulls).getBytes(); // Nullable tuple[11] = r.getBytes(11); // Description (if any) tuple[12] = r.getBytes(9); // Column default tuple[13] = null; // sql data type (unused) tuple[14] = null; // sql datetime sub (unused) tuple[15] = tuple[6]; // char octet length tuple[16] = r.getBytes(5); // ordinal position tuple[17] = (nullFlag.equals("f") ? "YES" : "NO").getBytes(); // Is nullable v.addElement(tuple); } r.close(); return new ResultSet(connection, f, v, "OK", 1); }
45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/521017c5d090f18278b0fa9e8b949f7e57e6e050/DatabaseMetaData.java/clean/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2252, 18, 4669, 18, 13198, 14226, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 4775, 3234, 16, 514, 7578, 3234, 13, 1216, 6483, 202, 95, 202, 202, 5018, 331, 273, 394, 5589, 5621, 202, 202, 759, 1021, 394, 10842, 3193, 10769, 202, 202, 974, 284, 8526, 273, 394, 2286, 63, 2643, 15533, 202, 202, 759, 1021, 652, 14215, 364, 326, 394, 10842, 202, 202, 74, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 22, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 23, 65, 273, 394, 2286, 12, 4071, 16, 315, 11009, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 24, 65, 273, 394, 2286, 12, 4071, 16, 315, 4883, 67, 2399, 3113, 277, 1702, 22, 19105, 16, 576, 1769, 202, 202, 74, 63, 25, 65, 273, 394, 2286, 12, 4071, 16, 315, 2399, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 26, 65, 273, 394, 2286, 12, 4071, 16, 315, 11009, 67, 4574, 3113, 277, 1702, 24, 19105, 16, 1059, 1769, 202, 202, 74, 63, 27, 65, 273, 394, 2286, 12, 4071, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2252, 18, 4669, 18, 13198, 14226, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 4775, 3234, 16, 514, 7578, 3234, 13, 1216, 6483, 202, 95, 202, 202, 5018, 331, 273, 394, 5589, 5621, 202, 202, 759, 1021, 394, 10842, 3193, 10769, 202, 202, 974, 284, 8526, 273, 394, 2286, 63, 2643, 15533, 202, 202, 759, 1021, 652, 14215, 364, 326, 394, 10842, 202, 202, 74, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 2 ]
public void outAValueValOrSid(AValueValOrSid node) { //currEntryInfo.append(node.getStringLiteral().getText().replaceAll("\\s+", " ")); String fieldValue = node.getStringLiteral().getText().replaceAll("\\s+", " "); String[] fieldValues = new String[0]; currEntryInfo.append(fieldValue); // TODO testing new nodes if ("author".equals(currField) || "editor".equals(currField)) { currEntry.author = fieldValue; } else if ("journal".equals(currField)) { currEntry.journal = fieldValue; } else if ("year".equals(currField)) { currEntry.year = fieldValue; } // add the entry to the index// BibStringTriMap<ReferenceEntry> index = sortIndex.get(currField);// if (index != null) {// if (currField.equals("author") || currField.equals("editor")) {// fieldValues = fieldValue.split(" and ");// } else {// fieldValues = new String[1];// fieldValues[0] = fieldValue;// }// for (String fV : fieldValues) {// fV = fV.trim();// try {// index.put(fV, currEntry);// } catch (NonUniqueException e) {// warnings.add(new ParseErrorMessage(currEntry.startLine,// node.getStringLiteral().getPos(),0,// "BibTex field " + currField + " with value " + fV + " is not unique",// IMarker.SEVERITY_WARNING));// } // }// } // Test for empty fields if (fieldValue.equalsIgnoreCase("")) { warnings.add(new ParseErrorMessage(node.getStringLiteral().getLine(), node.getStringLiteral().getPos(),0, currField + " is empty in " + currEntry.key, IMarker.SEVERITY_WARNING)); } }
9028 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9028/9ba080b0c901d335db2cb543a5bc7d76ff474439/EntryRetriever.java/buggy/source/net/sourceforge/texlipse/bibparser/EntryRetriever.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 596, 37, 620, 3053, 1162, 11067, 12, 37, 620, 3053, 1162, 11067, 756, 13, 288, 3639, 368, 17016, 1622, 966, 18, 6923, 12, 2159, 18, 588, 28565, 7675, 588, 1528, 7675, 2079, 1595, 2932, 1695, 87, 15, 3113, 315, 9369, 1769, 3639, 514, 10729, 273, 756, 18, 588, 28565, 7675, 588, 1528, 7675, 2079, 1595, 2932, 1695, 87, 15, 3113, 315, 315, 1769, 3639, 514, 8526, 24976, 273, 394, 514, 63, 20, 15533, 7734, 4306, 1622, 966, 18, 6923, 12, 1518, 620, 1769, 7734, 368, 2660, 7769, 394, 2199, 3639, 309, 7566, 4161, 9654, 14963, 12, 17016, 974, 13, 747, 315, 9177, 9654, 14963, 12, 17016, 974, 3719, 288, 5411, 4306, 1622, 18, 4161, 273, 10729, 31, 3639, 289, 469, 309, 7566, 22644, 9654, 14963, 12, 17016, 974, 3719, 288, 5411, 4306, 1622, 18, 22644, 273, 10729, 31, 3639, 289, 469, 309, 7566, 6874, 9654, 14963, 12, 17016, 974, 3719, 288, 5411, 4306, 1622, 18, 6874, 273, 10729, 31, 3639, 289, 368, 527, 326, 1241, 358, 326, 770, 759, 3639, 605, 495, 780, 6251, 863, 32, 2404, 1622, 34, 770, 273, 1524, 1016, 18, 588, 12, 17016, 974, 1769, 759, 3639, 309, 261, 1615, 480, 446, 13, 288, 759, 5411, 309, 261, 17016, 974, 18, 14963, 2932, 4161, 7923, 747, 4306, 974, 18, 14963, 2932, 9177, 6, 3719, 288, 759, 7734, 24976, 273, 10729, 18, 4939, 2932, 471, 315, 1769, 759, 5411, 289, 469, 288, 759, 7734, 24976, 273, 394, 514, 63, 21, 15533, 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, 596, 37, 620, 3053, 1162, 11067, 12, 37, 620, 3053, 1162, 11067, 756, 13, 288, 3639, 368, 17016, 1622, 966, 18, 6923, 12, 2159, 18, 588, 28565, 7675, 588, 1528, 7675, 2079, 1595, 2932, 1695, 87, 15, 3113, 315, 9369, 1769, 3639, 514, 10729, 273, 756, 18, 588, 28565, 7675, 588, 1528, 7675, 2079, 1595, 2932, 1695, 87, 15, 3113, 315, 315, 1769, 3639, 514, 8526, 24976, 273, 394, 514, 63, 20, 15533, 7734, 4306, 1622, 966, 18, 6923, 12, 1518, 620, 1769, 7734, 368, 2660, 7769, 394, 2199, 3639, 309, 7566, 4161, 9654, 14963, 12, 17016, 974, 13, 747, 315, 9177, 9654, 14963, 12, 17016, 974, 3719, 288, 5411, 4306, 1622, 18, 4161, 273, 10729, 2 ]
push(this.name);
push(generatedClassName);
private void generateMain(Context cx) { startNewMethod("main", "([Ljava/lang/String;)V", 1, true, true); push(this.name); // load the name of this class classFile.add(ByteCode.INVOKESTATIC, "java/lang/Class", "forName", "(Ljava/lang/String;)", "Ljava/lang/Class;"); addByteCode(ByteCode.ALOAD_0); // load 'args' addScriptRuntimeInvoke("main", "(Ljava/lang/Class;[Ljava/lang/String;)", "V"); addByteCode(ByteCode.RETURN); finishMethod(cx, null); }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/9d6bb8957ead2c95a3562b84a47b63afc8cfc761/Codegen.java/clean/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 6376, 12, 1042, 9494, 13, 288, 3639, 787, 1908, 1305, 2932, 5254, 3113, 315, 3816, 21159, 19, 4936, 19, 780, 30943, 58, 3113, 404, 16, 638, 16, 638, 1769, 3639, 1817, 12, 11168, 3834, 1769, 3639, 368, 1262, 326, 508, 434, 333, 667, 3639, 29728, 18, 1289, 12, 3216, 1085, 18, 706, 17691, 11027, 11781, 16, 8227, 315, 6290, 19, 4936, 19, 797, 3113, 8227, 315, 1884, 461, 3113, 8227, 7751, 21159, 19, 4936, 19, 780, 31, 2225, 16, 8227, 315, 21159, 19, 4936, 19, 797, 4868, 1769, 3639, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 368, 1262, 296, 1968, 11, 3639, 527, 3651, 5576, 10969, 2932, 5254, 3113, 17311, 7751, 21159, 19, 4936, 19, 797, 31, 63, 21159, 19, 4936, 19, 780, 31, 2225, 16, 17311, 315, 58, 8863, 3639, 527, 3216, 1085, 12, 3216, 1085, 18, 14033, 1769, 3639, 4076, 1305, 12, 71, 92, 16, 446, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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667, 3639, 29728, 18, 1289, 12, 3216, 1085, 18, 706, 17691, 11027, 11781, 16, 8227, 315, 6290, 19, 4936, 19, 797, 3113, 8227, 315, 1884, 461, 3113, 8227, 7751, 21159, 19, 4936, 19, 780, 31, 2225, 16, 8227, 315, 21159, 19, 4936, 19, 797, 4868, 1769, 3639, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 368, 1262, 296, 1968, 11, 3639, 527, 3651, 5576, 10969, 2932, 5254, 3113, 2 ]
emitBLRL ();
emitBCTRL ();
void emitCall (int spSaveAreaOffset) { emitST(SP, spSaveAreaOffset, FP); // save SP emitBLRL (); emitL (SP, spSaveAreaOffset, FP); // restore SP }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/1ddb8201a1da4799eb25b7fdece3519b94cf9112/VM_Assembler.java/buggy/rvm/src/vm/arch/powerPC/compilers/baseline/VM_Assembler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 3626, 1477, 261, 474, 1694, 4755, 5484, 2335, 13, 288, 565, 3626, 882, 12, 3118, 16, 1694, 4755, 5484, 2335, 16, 28740, 1769, 368, 1923, 11405, 565, 3626, 38, 23876, 48, 225, 261, 1769, 565, 3626, 48, 261, 3118, 16, 1694, 4755, 5484, 2335, 16, 28740, 1769, 368, 5217, 11405, 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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0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 3626, 1477, 261, 474, 1694, 4755, 5484, 2335, 13, 288, 565, 3626, 882, 12, 3118, 16, 1694, 4755, 5484, 2335, 16, 28740, 1769, 368, 1923, 11405, 565, 3626, 38, 23876, 48, 225, 261, 1769, 565, 3626, 48, 261, 3118, 16, 1694, 4755, 5484, 2335, 16, 28740, 1769, 368, 5217, 11405, 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 ]
Class.forName("javax.servlet.jsp.tagext.IterationTag");
Class.forName("javax.servlet.jsp.tagext.IterationTag");
public PropertyDescriptor[] getPropertyDescriptors() { List proplist = new ArrayList(); try { proplist.add(new PropertyDescriptor("cellpadding", TableTag.class, null, "setCellpadding")); proplist.add(new PropertyDescriptor("cellspacing", TableTag.class, null, "setCellspacing")); proplist.add(new PropertyDescriptor("class", TableTag.class, null, "setClass")); proplist.add(new PropertyDescriptor("decorator", TableTag.class, null, "setDecorator")); proplist.add(new PropertyDescriptor("defaultorder", TableTag.class, null, "setDefaultorder")); proplist.add(new PropertyDescriptor("defaultsort", TableTag.class, null, "setDefaultsort")); proplist.add(new PropertyDescriptor("export", TableTag.class, null, "setExport")); proplist.add(new PropertyDescriptor("frame", TableTag.class, null, "setFrame")); proplist.add(new PropertyDescriptor("length", TableTag.class, null, "setLength")); proplist.add(new PropertyDescriptor("offset", TableTag.class, null, "setOffset")); proplist.add(new PropertyDescriptor("pagesize", TableTag.class, null, "setPagesize")); proplist.add(new PropertyDescriptor("requestURI", TableTag.class, null, "setRequestURI")); proplist.add(new PropertyDescriptor("rules", TableTag.class, null, "setRules")); proplist.add(new PropertyDescriptor("sort", TableTag.class, null, "setSort")); proplist.add(new PropertyDescriptor("style", TableTag.class, null, "setStyle")); proplist.add(new PropertyDescriptor("summary", TableTag.class, null, "setSummary")); // can't be evaluated proplist.add(new PropertyDescriptor("id", TableTag.class, null, "setId")); // deprecated attributes proplist.add(new PropertyDescriptor("list", TableTag.class, null, "setList")); proplist.add(new PropertyDescriptor("property", TableTag.class, null, "setProperty")); proplist.add(new PropertyDescriptor("scope", TableTag.class, null, "setScope")); proplist.add(new PropertyDescriptor("width", TableTag.class, null, "setWidth")); proplist.add(new PropertyDescriptor("styleClass", TableTag.class, null, "setClass")); proplist.add(new PropertyDescriptor("border", TableTag.class, null, "setBorder")); proplist.add(new PropertyDescriptor("align", TableTag.class, null, "setAlign")); proplist.add(new PropertyDescriptor("background", TableTag.class, null, "setBackground")); proplist.add(new PropertyDescriptor("bgcolor", TableTag.class, null, "setBgcolor")); proplist.add(new PropertyDescriptor("height", TableTag.class, null, "setHeight")); proplist.add(new PropertyDescriptor("hspace", TableTag.class, null, "setHspace")); proplist.add(new PropertyDescriptor("vspace", TableTag.class, null, "setVspace")); try { Class.forName("javax.servlet.jsp.tagext.IterationTag"); // jsp >= 1.2 proplist.add(new PropertyDescriptor("name", TableTag.class, null, "setName")); } catch (Throwable e) { // jsp 1.1, can't use a setter with an Object parameter proplist.add(new PropertyDescriptor("name", TableTag.class, null, "setNameString")); } } catch (IntrospectionException ex) { // ignore, this should never happen } PropertyDescriptor[] result = new PropertyDescriptor[proplist.size()]; return ((PropertyDescriptor[]) proplist.toArray(result)); }
7284 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7284/101977ad06aad488b3652f70bcee7359487e87db/TableTagBeanInfo.java/buggy/displaytag/src/main/java/org/displaytag/tags/TableTagBeanInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 987, 450, 17842, 273, 394, 2407, 5621, 3639, 775, 3639, 288, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 3855, 9598, 3113, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 4020, 9598, 7923, 1769, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 3855, 14080, 3113, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 4020, 14080, 7923, 1769, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 1106, 3113, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 797, 7923, 1769, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 19142, 3113, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 10361, 7923, 1769, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 1886, 1019, 3113, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 1868, 1019, 7923, 1769, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 1886, 3804, 3113, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 1868, 3804, 7923, 1769, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 6530, 3113, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 6144, 7923, 1769, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 3789, 3113, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 3219, 7923, 1769, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 2469, 3113, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 1782, 7923, 1769, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 3348, 3113, 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, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 987, 450, 17842, 273, 394, 2407, 5621, 3639, 775, 3639, 288, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 3855, 9598, 3113, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 4020, 9598, 7923, 1769, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 3855, 14080, 3113, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 4020, 14080, 7923, 1769, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 1106, 3113, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 797, 7923, 1769, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 19142, 3113, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 10361, 7923, 1769, 5411, 450, 2 ]
if (m_isCompacted_ || !UCharacter.isLegal(ch)) {
if (m_isCompacted_ || ch > UCharacter.MAX_VALUE || ch < UCharacter.MIN_VALUE) {
public boolean isInZeroBlock(int ch) { // valid, uncompacted trie and valid c? if (m_isCompacted_ || !UCharacter.isLegal(ch)) { return true; } return m_index_[ch >> SHIFT_] == 0; }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/43e19956a5701929d149e369b89373b7ebc8c7b6/TrieBuilder.java/buggy/icu4j/src/com/ibm/icu/impl/TrieBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 8048, 7170, 1768, 12, 474, 462, 13, 377, 288, 3639, 368, 923, 16, 12704, 84, 25487, 19080, 471, 923, 276, 35, 3639, 309, 261, 81, 67, 291, 16863, 329, 67, 747, 462, 405, 587, 7069, 18, 6694, 67, 4051, 747, 462, 411, 587, 7069, 18, 6236, 67, 4051, 13, 288, 5411, 327, 638, 31, 3639, 289, 5411, 327, 312, 67, 1615, 67, 63, 343, 1671, 6122, 17925, 67, 65, 422, 374, 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, 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, 18, 6236, 67, 4051, 13, 288, 5411, 327, 638, 31, 3639, 289, 5411, 327, 312, 67, 1615, 67, 63, 343, 1671, 6122, 17925, 67, 65, 422, 374, 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 ]
if ((active1 & 0x100000000L) != 0L) return jjStopAtPos(1, 96);
if ((active1 & 0x80000000L) != 0L) return jjStopAtPos(1, 95);
private final int jjMoveStringLiteralDfa1_0(long active0, long active1){ try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(0, active0, active1); return 1; } switch(curChar) { case 38: if ((active1 & 0x100000000L) != 0L) return jjStopAtPos(1, 96); break; case 42: if ((active0 & 0x100L) != 0L) return jjStartNfaWithStates_0(1, 8, 54); break; case 43: if ((active1 & 0x200000000L) != 0L) return jjStopAtPos(1, 97); break; case 45: if ((active1 & 0x400000000L) != 0L) return jjStopAtPos(1, 98); break; case 60: if ((active1 & 0x80000000000L) != 0L) { jjmatchedKind = 107; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x40000000000000L); case 61: if ((active1 & 0x8000000L) != 0L) return jjStopAtPos(1, 91); else if ((active1 & 0x10000000L) != 0L) return jjStopAtPos(1, 92); else if ((active1 & 0x20000000L) != 0L) return jjStopAtPos(1, 93); else if ((active1 & 0x40000000L) != 0L) return jjStopAtPos(1, 94); else if ((active1 & 0x400000000000L) != 0L) return jjStopAtPos(1, 110); else if ((active1 & 0x800000000000L) != 0L) return jjStopAtPos(1, 111); else if ((active1 & 0x1000000000000L) != 0L) return jjStopAtPos(1, 112); else if ((active1 & 0x2000000000000L) != 0L) return jjStopAtPos(1, 113); else if ((active1 & 0x4000000000000L) != 0L) return jjStopAtPos(1, 114); else if ((active1 & 0x8000000000000L) != 0L) return jjStopAtPos(1, 115); else if ((active1 & 0x10000000000000L) != 0L) return jjStopAtPos(1, 116); else if ((active1 & 0x20000000000000L) != 0L) return jjStopAtPos(1, 117); break; case 62: if ((active1 & 0x100000000000L) != 0L) { jjmatchedKind = 108; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x180200000000000L); case 91: return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x400000000000000L); case 97: return jjMoveStringLiteralDfa2_0(active0, 0x90008030000L, active1, 0L); case 98: return jjMoveStringLiteralDfa2_0(active0, 0x1000L, active1, 0L); case 101: return jjMoveStringLiteralDfa2_0(active0, 0x820000400000L, active1, 0L); case 102: if ((active0 & 0x200000000L) != 0L) return jjStartNfaWithStates_0(1, 33, 28); break; case 104: return jjMoveStringLiteralDfa2_0(active0, 0x20e1000000040000L, active1, 0L); case 105: return jjMoveStringLiteralDfa2_0(active0, 0x30000000L, active1, 0L); case 108: return jjMoveStringLiteralDfa2_0(active0, 0x42080000L, active1, 0L); case 109: return jjMoveStringLiteralDfa2_0(active0, 0xc00000000L, active1, 0L); case 110: return jjMoveStringLiteralDfa2_0(active0, 0x7000000000L, active1, 0L); case 111: if ((active0 & 0x800000L) != 0L) { jjmatchedKind = 23; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_0(active0, 0x1800008181302000L, active1, 0L); case 114: return jjMoveStringLiteralDfa2_0(active0, 0x700300000004000L, active1, 0L); case 115: return jjMoveStringLiteralDfa2_0(active0, 0x8000000000000000L, active1, 0L); case 116: return jjMoveStringLiteralDfa2_0(active0, 0x4002000000000000L, active1, 0L); case 117: return jjMoveStringLiteralDfa2_0(active0, 0x4440000000000L, active1, 0L); case 119: return jjMoveStringLiteralDfa2_0(active0, 0x8000000000000L, active1, 0L); case 120: return jjMoveStringLiteralDfa2_0(active0, 0x4000000L, active1, 0L); case 121: return jjMoveStringLiteralDfa2_0(active0, 0x10000000008000L, active1, 0L); case 124: if ((active1 & 0x80000000L) != 0L) return jjStopAtPos(1, 95); break; default : break; } return jjStartNfa_0(0, active0, active1);}
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/83d81b076b32acdf3f82077c7f4c2a2e160aa32f/JavaParserTokenManager.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 28565, 40, 507, 21, 67, 20, 12, 5748, 2695, 20, 16, 1525, 2695, 21, 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, 1769, 1377, 327, 404, 31, 282, 289, 282, 1620, 12, 1397, 2156, 13, 282, 288, 1377, 648, 18012, 30, 540, 309, 14015, 3535, 21, 473, 374, 92, 21, 12648, 48, 13, 480, 374, 48, 13, 5411, 327, 10684, 4947, 861, 1616, 12, 21, 16, 19332, 1769, 540, 898, 31, 1377, 648, 14856, 30, 540, 309, 14015, 3535, 20, 473, 374, 92, 6625, 48, 13, 480, 374, 48, 13, 5411, 327, 10684, 1685, 50, 507, 1190, 7629, 67, 20, 12, 21, 16, 1725, 16, 22431, 1769, 540, 898, 31, 1377, 648, 21193, 30, 540, 309, 14015, 3535, 21, 473, 374, 92, 22, 12648, 48, 13, 480, 374, 48, 13, 5411, 327, 10684, 4947, 861, 1616, 12, 21, 16, 16340, 1769, 540, 898, 31, 1377, 648, 12292, 30, 540, 309, 14015, 3535, 21, 473, 374, 92, 24, 12648, 48, 13, 480, 374, 48, 13, 5411, 327, 10684, 4947, 861, 1616, 12, 21, 16, 24645, 1769, 540, 898, 31, 1377, 648, 4752, 30, 540, 309, 14015, 3535, 21, 473, 374, 92, 28, 2787, 9449, 48, 13, 480, 374, 48, 13, 540, 288, 5411, 10684, 11073, 5677, 273, 1728, 27, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 28565, 40, 507, 21, 67, 20, 12, 5748, 2695, 20, 16, 1525, 2695, 21, 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, 1769, 1377, 327, 404, 31, 282, 289, 282, 1620, 12, 1397, 2156, 13, 282, 288, 1377, 648, 18012, 30, 540, 309, 14015, 3535, 21, 473, 374, 92, 21, 12648, 48, 13, 480, 374, 48, 13, 5411, 327, 10684, 4947, 861, 1616, 12, 21, 16, 19332, 1769, 540, 898, 31, 1377, 648, 14856, 30, 540, 309, 14015, 3535, 20, 2 ]
RubyArray args = (RubyArray)runtime.getGlobalVariables().get("$*");
RubyArray args = (RubyArray)getRuntime().getGlobalVariables().get("$*");
protected boolean nextArgsFile() { RubyArray args = (RubyArray)runtime.getGlobalVariables().get("$*"); if (args.getLength() == 0) { if (currentFile == null) { currentFile = (RubyIO) runtime.getGlobalVariables().get("$stdin"); ((RubyString) runtime.getGlobalVariables().get("$FILENAME")).setValue("-"); currentLineNumber = 0; return true; } return false; } String filename = ((RubyString) args.shift()).getValue(); ((RubyString) runtime.getGlobalVariables().get("$FILENAME")).setValue(filename); if (filename.equals("-")) { currentFile = (RubyIO) runtime.getGlobalVariables().get("$stdin"); } else { currentFile = new RubyFile(runtime, filename); } return true; }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyArgsFile.java/buggy/src/org/jruby/RubyArgsFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 1024, 2615, 812, 1435, 288, 3639, 19817, 1076, 833, 273, 261, 54, 10340, 1076, 13, 588, 5576, 7675, 588, 5160, 6158, 7675, 588, 2932, 8, 7388, 1769, 3639, 309, 261, 1968, 18, 588, 1782, 1435, 422, 374, 13, 288, 5411, 309, 261, 2972, 812, 422, 446, 13, 288, 1171, 22650, 273, 261, 54, 10340, 4294, 13, 3099, 18, 588, 5160, 6158, 7675, 588, 2932, 8, 21772, 8863, 7734, 14015, 54, 10340, 780, 13, 3099, 18, 588, 5160, 6158, 7675, 588, 2932, 8, 16080, 7923, 2934, 542, 620, 2932, 17, 8863, 7734, 22325, 1854, 273, 374, 31, 7734, 327, 638, 31, 5411, 289, 5411, 327, 629, 31, 3639, 289, 3639, 514, 1544, 273, 14015, 54, 10340, 780, 13, 833, 18, 4012, 1435, 2934, 24805, 5621, 3639, 14015, 54, 10340, 780, 13, 3099, 18, 588, 5160, 6158, 7675, 588, 2932, 8, 16080, 7923, 2934, 542, 620, 12, 3459, 1769, 3639, 309, 261, 3459, 18, 14963, 2932, 10951, 3719, 288, 5411, 22650, 273, 261, 54, 10340, 4294, 13, 3099, 18, 588, 5160, 6158, 7675, 588, 2932, 8, 21772, 8863, 3639, 289, 469, 288, 5411, 22650, 273, 394, 19817, 812, 12, 9448, 16, 1544, 1769, 540, 289, 3639, 327, 638, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 1024, 2615, 812, 1435, 288, 3639, 19817, 1076, 833, 273, 261, 54, 10340, 1076, 13, 588, 5576, 7675, 588, 5160, 6158, 7675, 588, 2932, 8, 7388, 1769, 3639, 309, 261, 1968, 18, 588, 1782, 1435, 422, 374, 13, 288, 5411, 309, 261, 2972, 812, 422, 446, 13, 288, 1171, 22650, 273, 261, 54, 10340, 4294, 13, 3099, 18, 588, 5160, 6158, 7675, 588, 2932, 8, 21772, 8863, 7734, 14015, 54, 10340, 780, 13, 3099, 18, 588, 5160, 6158, 7675, 588, 2932, 8, 16080, 7923, 2934, 542, 620, 2932, 17, 8863, 7734, 22325, 1854, 273, 374, 31, 7734, 327, 638, 31, 5411, 289, 5411, 327, 629, 31, 3639, 289, 3639, 514, 1544, 273, 14015, 54, 10340, 780, 2 ]
if(!memberName.equals(member.getShortName())) {
if (!memberName.equals(member.getShortName())) { index++; while(index < members.size()) { member = members.get(index); if (memberName.equals(member.getShortName())) { throw new IndexAdjustmentException(index); } else { index++; } }
private Member getMember(String memberType, int index, List<Member> members, String memberName, SourcePosition position) { Member member = null; try { member = members.get(index); if(!memberName.equals(member.getShortName())) { throw new Exception(); } } catch (Exception e) { String message = "parser can't find " + memberType + " " + memberName; for (RubyParser.WarningListener listener : problemListeners) { listener.error(position, message); } throw new SyntaxException(position, message); } return member; }
13291 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13291/615094576784f8eacf0891411a5b25d98778892b/RubyNodeVisitor.java/buggy/src/org/jedit/ruby/parser/RubyNodeVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 8596, 18925, 12, 780, 3140, 559, 16, 509, 770, 16, 987, 32, 4419, 34, 4833, 16, 514, 3140, 461, 16, 4998, 2555, 1754, 13, 288, 3639, 8596, 3140, 273, 446, 31, 3639, 775, 288, 5411, 3140, 273, 4833, 18, 588, 12, 1615, 1769, 5411, 309, 16051, 5990, 461, 18, 14963, 12, 5990, 18, 588, 29983, 1435, 3719, 288, 770, 9904, 31, 1323, 12, 1615, 411, 4833, 18, 1467, 10756, 288, 3140, 273, 4833, 18, 588, 12, 1615, 1769, 309, 261, 5990, 461, 18, 14963, 12, 5990, 18, 588, 29983, 1435, 3719, 288, 604, 394, 3340, 19985, 503, 12, 1615, 1769, 289, 469, 288, 770, 9904, 31, 289, 289, 7734, 604, 394, 1185, 5621, 5411, 289, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 514, 883, 273, 315, 4288, 848, 1404, 1104, 315, 397, 3140, 559, 397, 315, 315, 397, 3140, 461, 31, 5411, 364, 261, 54, 10340, 2678, 18, 6210, 2223, 2991, 294, 6199, 5583, 13, 288, 7734, 2991, 18, 1636, 12, 3276, 16, 883, 1769, 5411, 289, 5411, 604, 394, 11517, 503, 12, 3276, 16, 883, 1769, 3639, 289, 3639, 327, 3140, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 8596, 18925, 12, 780, 3140, 559, 16, 509, 770, 16, 987, 32, 4419, 34, 4833, 16, 514, 3140, 461, 16, 4998, 2555, 1754, 13, 288, 3639, 8596, 3140, 273, 446, 31, 3639, 775, 288, 5411, 3140, 273, 4833, 18, 588, 12, 1615, 1769, 5411, 309, 16051, 5990, 461, 18, 14963, 12, 5990, 18, 588, 29983, 1435, 3719, 288, 770, 9904, 31, 1323, 12, 1615, 411, 4833, 18, 1467, 10756, 288, 3140, 273, 4833, 18, 588, 12, 1615, 1769, 309, 261, 5990, 461, 18, 14963, 12, 5990, 18, 588, 29983, 1435, 3719, 288, 604, 394, 3340, 19985, 503, 12, 1615, 1769, 289, 469, 288, 770, 9904, 31, 289, 289, 7734, 604, 394, 1185, 5621, 5411, 289, 3639, 289, 2 ]
if (tds.getTdsVer() == Tds.TDS70) {
if (tds.getServerType() == Tds.SQLSERVER && tds.getDatabaseMajorVersion() >= 8) {
private void internalGetGeneratedKeys(Tds tds, boolean result, boolean alreadySubmitted) throws SQLException { this.lastGeneratedKey = null; if ((this.returnKeys || this.statementReturnsKeys) && !result && (tds.moreResults() == alreadySubmitted)) { // // Routine only used by Statement // int saveCount = this.updateCount; // Original value will be reset to -1 by getMoreResults() try { SQLWarningChain tmpWarnings = new SQLWarningChain(); if (!alreadySubmitted) { // SCOPE_IDENTITY() is prefered as it avoids problems with // counts returned from triggers. // @@IDENTITY is required for SQL 6.5/Sybase in all cases. // String sql; if (tds.getTdsVer() == Tds.TDS70) { sql = "SELECT SCOPE_IDENTITY() AS ID"; } else { sql = "SELECT @@IDENTITY AS ID"; } tds.executeQuery(sql, this, tmpWarnings, timeout); } if (getMoreResults(tds, tmpWarnings, false)) { // Construct a special result set. this.lastGeneratedKey = new GenKeyResultSet(this, this.results); this.results.close(); this.results = null; } else { throw new SQLException( "Expected generated keys ResultSet."); } } catch (SQLException ex) { throw ex; } catch (Exception ex) { throw new SQLException(ex.getMessage()); } finally { this.results = null; // Tidy up. this.updateCount = saveCount; // Restore original count. } } }
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/9db5c1e6691a6fe3d8b463f25975f411ab0e317c/TdsStatement.java/buggy/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/TdsStatement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2713, 967, 7823, 2396, 12, 56, 2377, 268, 2377, 16, 4766, 1850, 1250, 563, 16, 4766, 1850, 1250, 1818, 28882, 13, 5411, 1216, 6483, 288, 3639, 333, 18, 2722, 7823, 653, 273, 446, 31, 3639, 309, 14015, 2211, 18, 2463, 2396, 747, 333, 18, 11516, 1356, 2396, 13, 5411, 597, 401, 2088, 5411, 597, 261, 88, 2377, 18, 10161, 3447, 1435, 422, 1818, 28882, 3719, 288, 5411, 368, 5411, 368, 7271, 558, 1338, 1399, 635, 8056, 5411, 368, 5411, 509, 1923, 1380, 273, 333, 18, 2725, 1380, 31, 368, 19225, 460, 903, 506, 2715, 358, 300, 21, 635, 2108, 479, 3447, 1435, 5411, 775, 288, 7734, 3063, 6210, 3893, 1853, 4312, 273, 394, 3063, 6210, 3893, 5621, 7734, 309, 16051, 17583, 28882, 13, 288, 10792, 368, 19296, 67, 29413, 1435, 353, 13256, 329, 487, 518, 24192, 9688, 598, 10792, 368, 6880, 2106, 628, 11752, 18, 10792, 368, 22175, 29413, 353, 1931, 364, 3063, 1666, 18, 25, 19, 10876, 1969, 316, 777, 6088, 18, 10792, 368, 10792, 514, 1847, 31, 10792, 309, 261, 88, 2377, 18, 588, 2081, 559, 1435, 422, 399, 2377, 18, 3997, 4370, 597, 268, 2377, 18, 588, 4254, 17581, 1444, 1435, 1545, 1725, 13, 288, 13491, 1847, 273, 315, 4803, 19296, 67, 29413, 1435, 5355, 1599, 14432, 10792, 289, 469, 288, 13491, 1847, 273, 315, 4803, 22175, 29413, 5355, 1599, 14432, 10792, 289, 10792, 268, 2377, 18, 8837, 1138, 12, 4669, 16, 333, 16, 1853, 4312, 16, 2021, 1769, 7734, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2713, 967, 7823, 2396, 12, 56, 2377, 268, 2377, 16, 4766, 1850, 1250, 563, 16, 4766, 1850, 1250, 1818, 28882, 13, 5411, 1216, 6483, 288, 3639, 333, 18, 2722, 7823, 653, 273, 446, 31, 3639, 309, 14015, 2211, 18, 2463, 2396, 747, 333, 18, 11516, 1356, 2396, 13, 5411, 597, 401, 2088, 5411, 597, 261, 88, 2377, 18, 10161, 3447, 1435, 422, 1818, 28882, 3719, 288, 5411, 368, 5411, 368, 7271, 558, 1338, 1399, 635, 8056, 5411, 368, 5411, 509, 1923, 1380, 273, 333, 18, 2725, 1380, 31, 368, 19225, 460, 903, 506, 2715, 358, 300, 21, 635, 2108, 479, 3447, 1435, 5411, 775, 288, 7734, 3063, 6210, 3893, 1853, 4312, 273, 394, 3063, 6210, 3893, 2 ]
public DataSource createDataSource(Account account, DataSource.Type dsType, String dsName, Map<String, Object> dataSourceAttrs) throws ServiceException { removeAttrIgnoreCase("objectclass", dataSourceAttrs); LdapEntry ldapEntry = (LdapEntry) (account instanceof LdapEntry ? account : getAccountById(account.getId())); if (ldapEntry == null) throw AccountServiceException.NO_SUCH_ACCOUNT(account.getName()); List<DataSource> existing = getAllDataSources(account); if (existing.size() >= account.getLongAttr(A_zimbraDataSourceMaxNumEntries, 20)) throw AccountServiceException.TOO_MANY_DATA_SOURCES(); dataSourceAttrs.put(A_zimbraDataSourceName, dsName); // must be the same HashMap attrManagerContext = new HashMap(); AttributeManager.getInstance().preModify(dataSourceAttrs, null, attrManagerContext, true, true); DirContext ctxt = null; try { ctxt = LdapUtil.getDirContext(true); String dn = getDataSourceDn(ldapEntry, dsName); Attributes attrs = new BasicAttributes(true); LdapUtil.mapToAttrs(dataSourceAttrs, attrs); Attribute oc = LdapUtil.addAttr(attrs, A_objectClass, "zimbraDataSource"); oc.add(LdapDataSource.getObjectClass(dsType)); String dsId = LdapUtil.generateUUID(); attrs.put(A_zimbraDataSourceId, dsId); createSubcontext(ctxt, dn, attrs, "createDataSource"); DataSource ds = getDataSourceById(ldapEntry, dsId, ctxt); AttributeManager.getInstance().postModify(dataSourceAttrs, ds, attrManagerContext, true); return ds; } catch (NameAlreadyBoundException nabe) { throw AccountServiceException.DATA_SOURCE_EXISTS(dsName); } finally { LdapUtil.closeContext(ctxt); } }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/008d9cd3b043bc1416a3ab732d66a770c2647d4d/LdapProvisioning.java/buggy/ZimbraServer/src/java/com/zimbra/cs/account/ldap/LdapProvisioning.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 8597, 2640, 8597, 12, 3032, 4631, 16, 8597, 18, 11985, 87, 559, 16, 780, 2377, 461, 16, 863, 32, 780, 16, 921, 34, 892, 1830, 8262, 13, 15069, 15133, 95, 4479, 3843, 5556, 2932, 1612, 1106, 3113, 892, 1830, 8262, 1769, 18437, 1622, 14394, 1622, 28657, 18437, 1622, 21433, 4631, 1336, 792, 18437, 1622, 35, 4631, 30, 588, 3032, 5132, 12, 4631, 18, 26321, 1435, 10019, 430, 12, 14394, 1622, 631, 2011, 13, 12849, 3032, 15133, 18, 3417, 67, 19958, 67, 21690, 12, 4631, 18, 17994, 10663, 682, 32, 8597, 34, 11711, 33, 588, 1595, 751, 8628, 12, 4631, 1769, 430, 12, 11711, 18, 1467, 1435, 34, 33, 4631, 18, 588, 3708, 3843, 12, 37, 67, 94, 381, 15397, 8597, 2747, 2578, 5400, 16, 3462, 3719, 12849, 3032, 15133, 18, 4296, 51, 67, 24177, 67, 4883, 67, 6537, 55, 5621, 892, 1830, 8262, 18, 458, 12, 37, 67, 94, 381, 15397, 8597, 461, 16, 2377, 461, 1769, 759, 11926, 70, 546, 281, 339, 8658, 1747, 1318, 1042, 33, 2704, 8658, 5621, 1499, 1318, 18, 588, 1442, 7675, 1484, 11047, 12, 892, 1830, 8262, 16, 2011, 16, 1747, 1318, 1042, 16, 3767, 16, 3767, 1769, 1621, 1042, 20364, 33, 2011, 31, 698, 95, 20364, 33, 18437, 1304, 18, 588, 1621, 1042, 12, 3767, 1769, 780, 5176, 33, 588, 8597, 19053, 12, 14394, 1622, 16, 2377, 461, 1769, 2498, 7039, 33, 2704, 8252, 2498, 12, 3767, 1769, 18437, 1304, 18, 1458, 774, 8262, 12, 892, 1830, 8262, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 8597, 2640, 8597, 12, 3032, 4631, 16, 8597, 18, 11985, 87, 559, 16, 780, 2377, 461, 16, 863, 32, 780, 16, 921, 34, 892, 1830, 8262, 13, 15069, 15133, 95, 4479, 3843, 5556, 2932, 1612, 1106, 3113, 892, 1830, 8262, 1769, 18437, 1622, 14394, 1622, 28657, 18437, 1622, 21433, 4631, 1336, 792, 18437, 1622, 35, 4631, 30, 588, 3032, 5132, 12, 4631, 18, 26321, 1435, 10019, 430, 12, 14394, 1622, 631, 2011, 13, 12849, 3032, 15133, 18, 3417, 67, 19958, 67, 21690, 12, 4631, 18, 17994, 10663, 682, 32, 8597, 34, 11711, 33, 588, 1595, 751, 8628, 12, 4631, 1769, 430, 12, 11711, 18, 1467, 1435, 34, 33, 4631, 18, 588, 3708, 3843, 12, 37, 67, 94, 381, 2 ]
return props;
public static Properties getProperties(IStorage storage) { if (storage == null) return null; Properties props= new Properties(); InputStream is= null; ITextFileBufferManager manager= FileBuffers.getTextFileBufferManager(); try { if (manager != null) { ITextFileBuffer buffer= manager.getTextFileBuffer(storage.getFullPath()); if (buffer != null) { IDocument document= buffer.getDocument(); is= new ByteArrayInputStream(document.get().getBytes()); } } // Fallback: read from storage if (is == null) is= storage.getContents(); props.load(is); } catch (IOException e) { // sorry no properties return null; } catch (CoreException e) { // sorry no properties return null; } finally { if (is != null) try { is.close(); } catch (IOException e) { // return properties anyway but log JavaPlugin.log(e); } } return props; }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/6b407ecb3f5501d41501bc0e566e7421ab502dd5/NLSHintHelper.java/buggy/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/NLSHintHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 6183, 9392, 12, 45, 3245, 2502, 13, 288, 202, 202, 430, 261, 5697, 422, 446, 13, 1082, 202, 2463, 446, 31, 202, 202, 2297, 3458, 33, 394, 6183, 5621, 202, 202, 4348, 353, 33, 446, 31, 9506, 202, 1285, 408, 812, 1892, 1318, 3301, 33, 1387, 13699, 18, 588, 1528, 812, 1892, 1318, 5621, 202, 202, 698, 288, 1082, 202, 430, 261, 4181, 480, 446, 13, 288, 9506, 202, 1285, 408, 812, 1892, 1613, 33, 3301, 18, 588, 1528, 812, 1892, 12, 5697, 18, 588, 24173, 10663, 9506, 202, 430, 261, 4106, 480, 446, 13, 288, 6862, 202, 734, 504, 650, 1668, 33, 1613, 18, 588, 2519, 5621, 6862, 202, 291, 33, 394, 16180, 12, 5457, 18, 588, 7675, 588, 2160, 10663, 9506, 202, 97, 1082, 202, 97, 25083, 202, 759, 21725, 30, 855, 628, 2502, 1082, 202, 430, 261, 291, 422, 446, 13, 9506, 202, 291, 33, 2502, 18, 588, 6323, 5621, 25083, 202, 9693, 18, 945, 12, 291, 1769, 6862, 202, 97, 1044, 261, 14106, 425, 13, 288, 1082, 202, 759, 272, 21637, 1158, 1790, 1082, 202, 2463, 446, 31, 202, 202, 97, 1044, 261, 25341, 425, 13, 288, 1082, 202, 759, 272, 21637, 1158, 1790, 1082, 202, 2463, 446, 31, 202, 202, 97, 3095, 288, 1082, 202, 430, 261, 291, 480, 446, 13, 775, 288, 9506, 202, 291, 18, 4412, 5621, 1082, 202, 97, 1044, 261, 14106, 425, 13, 288, 9506, 202, 759, 327, 1790, 13466, 1496, 613, 9506, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 6183, 9392, 12, 45, 3245, 2502, 13, 288, 202, 202, 430, 261, 5697, 422, 446, 13, 1082, 202, 2463, 446, 31, 202, 202, 2297, 3458, 33, 394, 6183, 5621, 202, 202, 4348, 353, 33, 446, 31, 9506, 202, 1285, 408, 812, 1892, 1318, 3301, 33, 1387, 13699, 18, 588, 1528, 812, 1892, 1318, 5621, 202, 202, 698, 288, 1082, 202, 430, 261, 4181, 480, 446, 13, 288, 9506, 202, 1285, 408, 812, 1892, 1613, 33, 3301, 18, 588, 1528, 812, 1892, 12, 5697, 18, 588, 24173, 10663, 9506, 202, 430, 261, 4106, 480, 446, 13, 288, 6862, 202, 734, 504, 650, 1668, 33, 1613, 18, 588, 2519, 5621, 6862, 202, 291, 33, 394, 16180, 12, 2 ]
return null;
return true;
public SignIn(final PageParameters parameters) { add(new SignInPanel("signInPanel") { public String signIn(final String username, final String password) { // Sign the user in final User user = Authenticator.forSession( getSession()).authenticate(username, password); // If the user was signed in if (user != null) { return null; } else { // Form method that will notify feedback panel return getLocalizer().getString("couldNotAuthenticate", this); } } }); }
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/5d456e3ce5f001d235f7a2392bec446d5a546a4f/SignIn.java/buggy/wicket-examples/src/java/wicket/examples/library/SignIn.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4383, 382, 12, 6385, 3460, 2402, 1472, 13, 565, 288, 3639, 527, 12, 2704, 4383, 382, 5537, 2932, 2977, 382, 5537, 7923, 3639, 288, 5411, 1071, 514, 1573, 382, 12, 6385, 514, 2718, 16, 727, 514, 2201, 13, 5411, 288, 7734, 368, 4383, 326, 729, 316, 7734, 727, 2177, 729, 273, 27089, 18, 1884, 2157, 12, 13491, 7183, 1435, 2934, 22035, 12, 5053, 16, 2201, 1769, 7734, 368, 971, 326, 729, 1703, 6726, 316, 7734, 309, 261, 1355, 480, 446, 13, 7734, 288, 10792, 327, 638, 31, 7734, 289, 7734, 469, 7734, 288, 10792, 368, 2748, 707, 716, 903, 5066, 10762, 6594, 10792, 327, 6993, 1824, 7675, 588, 780, 2932, 15195, 1248, 17618, 3113, 333, 1769, 7734, 289, 5411, 289, 3639, 15549, 565,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4383, 382, 12, 6385, 3460, 2402, 1472, 13, 565, 288, 3639, 527, 12, 2704, 4383, 382, 5537, 2932, 2977, 382, 5537, 7923, 3639, 288, 5411, 1071, 514, 1573, 382, 12, 6385, 514, 2718, 16, 727, 514, 2201, 13, 5411, 288, 7734, 368, 4383, 326, 729, 316, 7734, 727, 2177, 729, 273, 27089, 18, 1884, 2157, 12, 13491, 7183, 1435, 2934, 22035, 12, 5053, 16, 2201, 1769, 7734, 368, 971, 326, 729, 1703, 6726, 316, 7734, 309, 261, 1355, 480, 446, 13, 7734, 288, 10792, 327, 638, 31, 7734, 289, 7734, 469, 7734, 288, 10792, 368, 2748, 707, 716, 903, 5066, 10762, 6594, 10792, 327, 6993, 1824, 7675, 588, 780, 2932, 15195, 1248, 17618, 3113, 333, 1769, 7734, 2 ]
QName serviceName = jbiMex.getEndpoint().getServiceName(); _ode.getTransactionManager().begin(); boolean success = false; MyRoleMessageExchange odeMex = null; try { if (__log.isDebugEnabled()) { __log.debug("invokeOde() JBI exchangeId=" + jbiMex.getExchangeId() + " endpoint=" + _endpoint + " operation=" + jbiMex.getOperation() ); } odeMex = _ode._server.getEngine().createMessageExchange( jbiMex.getExchangeId(), _endpoint.serviceName, jbiMex.getOperation().getLocalPart()); if (odeMex.getOperation() != null) { javax.wsdl.Message msgdef = odeMex.getOperation().getInput().getMessage(); Message odeRequest = odeMex.createMessage(odeMex.getOperation().getInput().getMessage().getQName()); Mapper mapper = _ode.findMapper(request,odeMex.getOperation()); if (mapper == null) { String errmsg = "Could not find a mapper for request message for JBI MEX " + jbiMex.getExchangeId() + "; ODE MEX " + odeMex.getMessageExchangeId() + " is failed. "; __log.error(errmsg); throw new MessageTranslationException(errmsg); } odeMex.setProperty(Mapper.class.getName(), mapper.getClass().getName()); mapper.toODE(odeRequest, request, msgdef); odeMex.invoke(odeRequest); if (odeMex.getStatus() != Status.ASYNC) { __log.debug("ODE MEX " + odeMex + " completed SYNCHRONOUSLY."); onResponse(odeMex); _jbiMexTracker.consume(jbiMex.getExchangeId()); } else { __log.debug("ODE MEX " + odeMex + " completed ASYNCHRONOUSLY."); } } else { __log.error("ODE MEX " +odeMex + " was unroutable."); jbiMex.setError(new IllegalArgumentException("Unroutable invocation.")); } success = true; if (odeMex.getMessageExchangePattern() != MessageExchangePattern.REQUEST_RESPONSE) _jbiMexTracker.consume(jbiMex.getExchangeId()); } finally { if (success) { __log.debug("Commiting ODE MEX " + odeMex ); _ode.getTransactionManager().commit(); } else { __log.debug("Rolling back ODE MEX " + odeMex ); _jbiMexTracker.consume(jbiMex.getExchangeId()); _ode.getTransactionManager().rollback(); } } }
private void invokeOde(javax.jbi.messaging.MessageExchange jbiMex, NormalizedMessage request) throws Exception { // If this has already been tracked, we will not invoke! if (_jbiMexTracker.track(jbiMex)) { __log.debug("Skipping JBI MEX " + jbiMex.getExchangeId() + ", already received!"); return; } QName serviceName = jbiMex.getEndpoint().getServiceName(); _ode.getTransactionManager().begin(); boolean success = false; MyRoleMessageExchange odeMex = null; try { if (__log.isDebugEnabled()) { __log.debug("invokeOde() JBI exchangeId=" + jbiMex.getExchangeId() + " endpoint=" + _endpoint + " operation=" + jbiMex.getOperation() ); } odeMex = _ode._server.getEngine().createMessageExchange( jbiMex.getExchangeId(), _endpoint.serviceName, jbiMex.getOperation().getLocalPart()); if (odeMex.getOperation() != null) { javax.wsdl.Message msgdef = odeMex.getOperation().getInput().getMessage(); Message odeRequest = odeMex.createMessage(odeMex.getOperation().getInput().getMessage().getQName()); Mapper mapper = _ode.findMapper(request,odeMex.getOperation()); if (mapper == null) { String errmsg = "Could not find a mapper for request message for JBI MEX " + jbiMex.getExchangeId() + "; ODE MEX " + odeMex.getMessageExchangeId() + " is failed. "; __log.error(errmsg); throw new MessageTranslationException(errmsg); } odeMex.setProperty(Mapper.class.getName(), mapper.getClass().getName()); mapper.toODE(odeRequest, request, msgdef); odeMex.invoke(odeRequest); // Handle the response if it is immediately available. if (odeMex.getStatus() != Status.ASYNC) { __log.debug("ODE MEX " + odeMex + " completed SYNCHRONOUSLY."); onResponse(odeMex); _jbiMexTracker.consume(jbiMex.getExchangeId()); } else { __log.debug("ODE MEX " + odeMex + " completed ASYNCHRONOUSLY."); } } else { __log.error("ODE MEX " +odeMex + " was unroutable."); jbiMex.setError(new IllegalArgumentException("Unroutable invocation.")); } success = true; // For one-way invocation we do not need to maintain the association if (odeMex.getMessageExchangePattern() != MessageExchangePattern.REQUEST_RESPONSE) _jbiMexTracker.consume(jbiMex.getExchangeId()); } finally { if (success) { __log.debug("Commiting ODE MEX " + odeMex ); _ode.getTransactionManager().commit(); } else { __log.debug("Rolling back ODE MEX " + odeMex ); _jbiMexTracker.consume(jbiMex.getExchangeId()); _ode.getTransactionManager().rollback(); } } }
45373 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45373/9d1ac9610571feb2851be8b3dee84f1a5a76c7b8/OdeService.java/clean/jbi/src/main/java/org/apache/ode/jbi/OdeService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 4356, 51, 323, 12, 28384, 18, 10649, 77, 18, 23208, 18, 1079, 11688, 525, 13266, 49, 338, 16, 4202, 8769, 1235, 1079, 590, 13, 1216, 1185, 288, 565, 368, 971, 333, 711, 1818, 2118, 15200, 16, 732, 903, 486, 4356, 5, 565, 309, 261, 67, 10649, 77, 49, 338, 8135, 18, 4101, 12, 10649, 77, 49, 338, 3719, 288, 1377, 1001, 1330, 18, 4148, 2932, 16877, 804, 31558, 490, 2294, 315, 397, 525, 13266, 49, 338, 18, 588, 11688, 548, 1435, 397, 3104, 1818, 5079, 4442, 1769, 1377, 327, 31, 565, 289, 3639, 16723, 6773, 273, 525, 13266, 49, 338, 18, 588, 3293, 7675, 588, 16789, 5621, 565, 389, 390, 18, 588, 3342, 1318, 7675, 10086, 5621, 565, 1250, 2216, 273, 629, 31, 565, 8005, 2996, 1079, 11688, 320, 323, 49, 338, 273, 446, 31, 565, 775, 288, 1377, 309, 261, 972, 1330, 18, 291, 2829, 1526, 10756, 288, 1850, 1001, 1330, 18, 4148, 2932, 14407, 51, 323, 1435, 804, 31558, 7829, 548, 1546, 397, 525, 13266, 49, 338, 18, 588, 11688, 548, 1435, 397, 315, 2494, 1546, 397, 389, 8003, 397, 315, 1674, 1546, 397, 525, 13266, 49, 338, 18, 588, 2988, 1435, 11272, 1377, 289, 1377, 320, 323, 49, 338, 273, 389, 390, 6315, 3567, 18, 588, 4410, 7675, 2640, 1079, 11688, 12, 3639, 525, 13266, 49, 338, 18, 588, 11688, 548, 9334, 3639, 389, 8003, 18, 15423, 16, 3639, 525, 13266, 49, 338, 18, 588, 2988, 7675, 588, 2042, 1988, 10663, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 4356, 51, 323, 12, 28384, 18, 10649, 77, 18, 23208, 18, 1079, 11688, 525, 13266, 49, 338, 16, 4202, 8769, 1235, 1079, 590, 13, 1216, 1185, 288, 565, 368, 971, 333, 711, 1818, 2118, 15200, 16, 732, 903, 486, 4356, 5, 565, 309, 261, 67, 10649, 77, 49, 338, 8135, 18, 4101, 12, 10649, 77, 49, 338, 3719, 288, 1377, 1001, 1330, 18, 4148, 2932, 16877, 804, 31558, 490, 2294, 315, 397, 525, 13266, 49, 338, 18, 588, 11688, 548, 1435, 397, 3104, 1818, 5079, 4442, 1769, 1377, 327, 31, 565, 289, 3639, 16723, 6773, 273, 525, 13266, 49, 338, 18, 588, 3293, 7675, 588, 16789, 5621, 565, 389, 390, 18, 588, 3342, 1318, 7675, 10086, 2 ]
}
}
public void setBlocked(IStatus reason) { JobInfo info = getJobInfo(job); info.setBlockedStatus(null); refreshJobInfo(info); if (listener != null) { listener.setBlocked(reason); } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/0e7fbc26f7d1b7769a0721c71fd17572c8432fd5/ProgressManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 444, 23722, 12, 45, 1482, 3971, 13, 288, 5411, 3956, 966, 1123, 273, 13024, 966, 12, 4688, 1769, 5411, 1123, 18,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 444, 23722, 12, 45, 1482, 3971, 13, 288, 5411, 3956, 966, 1123, 273, 13024, 966, 12, 4688, 1769, 5411, 1123, 18, 542, 23722, 1482, 12, 2011, 1769, 5411, 4460, 2278, 966, 12, 1376, 1769, 5411, 309, 261, 12757, 480, 446, 13, 288, 9506, 202, 12757, 18, 542, 23722, 12, 10579, 1769, 1082, 202, 97, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(!aliasMap.isEmpty()){
if (!aliasMap.isEmpty()) {
public Collection getUsersTopGroupNodesByViewAndOwnerPermissions(User user, IWUserContext iwuc)throws RemoteException{ Collection topNodes = new ArrayList(); //check for the super user case first boolean isSuperUser = iwuc.isSuperAdmin(); if( (isSuperUser && user==null) || (isSuperUser && iwuc.getCurrentUser().equals(user)) ){ try { topNodes = this.getIWApplicationContext().getDomain().getTopLevelGroupsUnderDomain(); } catch (Exception e1) { topNodes = new Vector(); e1.printStackTrace(); } } if( user != null ){ topNodes = (Collection)iwuc.getSessionAttribute(SESSION_KEY_TOP_NODES+user.getPrimaryKey().toString()); if(topNodes != null && !topNodes.isEmpty()){ return topNodes; } topNodes = getStoredTopNodeGroups(user); if(topNodes != null && !topNodes.isEmpty()){ iwuc.setSessionAttribute(SESSION_KEY_TOP_NODES+user.getPrimaryKey().toString(),topNodes); return topNodes; }else{ log("[UserBusinessBean]: getUsersTopGroupNodesByViewAndOwnerPermissions(...) begins"); Timer totalTime = new Timer(); totalTime.start(); try { GroupBusiness groupBiz = getGroupBusiness(); if (groupBiz.userGroupTreeImageProcedureTopNodeSearch()){ log("[UserBusinessBean]: using stored procedure topnode search"); Timer time = new Timer(); time.start(); Collection directlyRelatedParents = getGroupBusiness().getParentGroups(user); Iterator iterating = directlyRelatedParents.iterator(); List additionalGroups = new ArrayList(); while (iterating.hasNext()) { Group parent = (Group) iterating.next(); if(parent!=null && parent.getPermissionControllingGroupID()>0){ additionalGroups.add(parent.getPermissionControllingGroup()); } } directlyRelatedParents.addAll(additionalGroups); Collection allPermissions = new ArrayList(); //get all view permissions for direct parent and put in a list Collection viewPermissions = AccessControl.getAllGroupViewPermissions(directlyRelatedParents); allPermissions.addAll(viewPermissions); Collection ownedPermissions = AccessControl.getAllGroupOwnerPermissionsByGroup( user ); allPermissions.addAll(ownedPermissions); time.stop(); log("[UserBusinessBean]: fetching complete " + time.getTimeString()); time.start(); try { topNodes = searchForTopNodes(allPermissions,null,user);// topNodes = searchForTopNodes(viewPermissions,searchForTopNodes(ownedPermissions,null)); for (Iterator iter = topNodes.iterator(); iter.hasNext();) { Group gr = (Group) iter.next(); if(gr.isAlias() && topNodes.contains(gr.getAlias())){ iter.remove(); } } time.stop(); log("[UserBusinessBean]: searchForTopNodesFromTheTop complete " + time.getTimeString()); } catch (RemoteException e1) { throw new EJBException(e1); } catch (FinderException e1) { throw new EJBException(e1); } } else { log("[UserBusinessBean]: not using stored procedure topnode search"); Timer time = new Timer(); time.start(); Map parents = new HashMap(); Map groupMap = new HashMap();//we need it to be synchronized so we can remove items while in a iterator Map aliasMap = new HashMap(); IDOUtil idoUtil = IDOUtil.getInstance(); GroupHome grHome = getGroupHome(); Collection directlyRelatedParents = getGroupBusiness().getParentGroups(user); Iterator iterating = directlyRelatedParents.iterator(); List additionalGroups = new ArrayList(); while (iterating.hasNext()) { Group parent = (Group) iterating.next(); if(parent!=null && parent.getPermissionControllingGroupID()>0){ additionalGroups.add(parent.getPermissionControllingGroup()); } } directlyRelatedParents.addAll(additionalGroups); Collection allViewAndOwnerPermissionGroupPKs = new ArrayList(); //get all view permissions for direct parent and put in a list Collection viewPermissions = AccessControl.getAllGroupViewPermissions(directlyRelatedParents); addGroupPKsToCollectionFromICPermissionCollection(viewPermissions,allViewAndOwnerPermissionGroupPKs); Collection ownedPermissions = AccessControl.getAllGroupOwnerPermissionsByGroup( user ); //allViewAndOwnerPermissions.removeAll(ownedPermissions);//no double entries thank you addGroupPKsToCollectionFromICPermissionCollection(ownedPermissions,allViewAndOwnerPermissionGroupPKs); Collection allViewAndOwnerPermissionGroups = new ArrayList(); try { allViewAndOwnerPermissionGroups = grHome.findByPrimaryKeyCollection(allViewAndOwnerPermissionGroupPKs); } catch (FinderException e) { log("UserBusiness: In getUsersTopGroupNodesByViewAndOwnerPermissions. groups not found"); e.printStackTrace(); } time.stop(); log("[UserBusinessBean]: getting permission groups complete " + time.getTimeString()); time.start(); //searchForTopNodesFromTop=3000; //some suitable value if(allViewAndOwnerPermissionGroups.size() > this.searchForTopNodesFromTop){ log("[UserBusinessBean]: using search from the top"); try { topNodes = searchForTopNodesFromTheTop(allViewAndOwnerPermissionGroups); for (Iterator iter = topNodes.iterator(); iter.hasNext();) { Group gr = (Group) iter.next(); if(gr.isAlias() && topNodes.contains(gr.getAlias())){ iter.remove(); } } time.stop(); log("[UserBusinessBean]: searchForTopNodesFromTheTop complete " + time.getTimeString()); time.start(); } catch (IDORelationshipException e1) { throw new EJBException(e1); } catch (RemoteException e1) { throw new EJBException(e1); } catch (FinderException e1) { throw new EJBException(e1); } } else { log("[UserBusinessBean]: using old topnode search"); //get all (recursively) parents for permission Iterator permissions = allViewAndOwnerPermissionGroups.iterator(); Map cachedParents = new HashMap(); Map cachedGroups = new HashMap(); while (permissions.hasNext()) { Group group = (Group) permissions.next(); Integer primaryKey = (Integer)group.getPrimaryKey(); if( !groupMap.containsKey(primaryKey) ){ Group permissionGroup = group; if( !cachedGroups.containsKey(primaryKey.toString()) ) { cachedGroups.put(primaryKey.toString(),permissionGroup); } Collection recParents = groupBiz.getParentGroupsRecursive(permissionGroup, cachedParents, cachedGroups); Map parentMap = idoUtil.convertIDOEntityCollectionToMapOfPrimaryKeysAndEntityValues(recParents); parents.put(primaryKey,parentMap); groupMap.put(primaryKey,permissionGroup); //if it's an alias we don't need the original group and make a list of those groups to filter out later if(permissionGroup.isAlias()){ Integer originalGroupID = new Integer(permissionGroup.getAliasID()); aliasMap.put(originalGroupID,primaryKey); } } } time.stop(); log("[UserBusinessBean]: getting all parents (recursively) complete " + time.getTimeString()); time.start(); //Filter out the real top nodes! Map skipThese = new HashMap(); Set keys = parents.keySet(); Iterator iter = keys.iterator(); while (iter.hasNext()) { Integer thePermissionGroupsId = (Integer) iter.next(); Iterator iter2 = parents.keySet().iterator(); while (iter2.hasNext()) { Integer groupToCompareTo = (Integer) iter2.next(); //If this group was already checked or is the same as the comparing group, continue (skip this one) if( thePermissionGroupsId.equals(groupToCompareTo) || skipThese.containsKey(thePermissionGroupsId)){ continue;//dont check for self } //Get the parents to see if thePermissionGroupsId is in it. ergo it is a parent of the comparing group and therefor a higher node Map theParents = (Map) (parents.get(groupToCompareTo)); //or the permissiongroup has a shortcut if(theParents!=null && theParents.containsKey(thePermissionGroupsId)){ //it's a parent of the comparing group so we don't have to check the comparing group again skipThese.put(groupToCompareTo,null);//for the check skip check groupMap.remove(groupToCompareTo);//the groups that will be left are the top nodes }//remove if this group is a child group of myGroup }//inner while ends }//outer while ends time.stop(); log("[UserBusinessBean]: filter out the real topnodes complete " + time.getTimeString()); time.start(); //Now we have to check if the remaining top nodes have a shortcut //that is not a top node and if so we need to remove that node //unless there is only one node left or if the alias and the real group are both top nodes if(groupMap!=null && !groupMap.isEmpty()){ List aliasGroupType = new ArrayList(); aliasGroupType.add("alias"); if(!aliasMap.isEmpty()){ Iterator keyIter = groupMap.keySet().iterator(); while (keyIter.hasNext()) { Integer topNodeId = (Integer) keyIter.next(); Integer aliasGroupsId = (Integer)aliasMap.get(topNodeId); if(aliasGroupsId!=null){ if(!groupMap.containsKey(aliasGroupsId)){//only remove if they are not both top nodes// groupMap.remove(topNodeId); System.err.println("Here is the code that once returned concurrentException"); } } } } time.stop(); log("[UserBusinessBean]: some alias complete " + time.getTimeString()); time.start(); //check the children recursively List groupsToRemove = new ArrayList(); Iterator keyIter = groupMap.keySet().iterator(); while (keyIter.hasNext()) { Integer topNodeId = (Integer) keyIter.next(); if(skipThese.containsKey(topNodeId)){ continue;//it's going to be removed later } else{ try { //also we need to check the children of the current top nodes recursively for aliases :s Collection aliasesRecursive = getGroupBusiness().getChildGroupsRecursiveResultFiltered(getGroupBusiness().getGroupByGroupID(topNodeId.intValue()),aliasGroupType,true); if( aliasesRecursive!=null && !aliasesRecursive.isEmpty()){ Iterator aliasIter = aliasesRecursive.iterator(); while (aliasIter.hasNext()) { Group alias = (Group) aliasIter.next(); Integer aliasGroupsId = new Integer(alias.getAliasID()); if(groupMap.containsKey(aliasGroupsId)){//only remove if they are not both top nodes groupsToRemove.add(aliasGroupsId); skipThese.put(aliasGroupsId,null); } } } } catch (FinderException e1) { e1.printStackTrace(); } } } time.stop(); log("[UserBusinessBean]: check children (recursively) complete " + time.getTimeString()); time.start(); //remove the top nodes that have aliases under another top node, or itself to avoid crashing the server in an endless loop? Iterator removeIter = groupsToRemove.iterator(); while (removeIter.hasNext()) { groupMap.remove(removeIter.next()); } time.stop(); log("[UserBusinessBean]: remove the aliases undr another top node complete " + time.getTimeString()); } //finally done! the remaining nodes are the top nodes topNodes = groupMap.values(); } } } catch (EJBException e) { e.printStackTrace(); } totalTime.stop(); log("[UserBusinessBean]: topnode....(...) ends "+ totalTime.getTimeString()); } iwuc.setSessionAttribute(SESSION_KEY_TOP_NODES+user.getPrimaryKey().toString(),topNodes); storeUserTopGroupNodes(user,topNodes,null); } return topNodes; }
52001 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52001/21dcc2ab672cd5cc52a7f8a072e86fed3aa20ecc/UserBusinessBean.java/buggy/src/java/com/idega/user/business/UserBusinessBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2200, 27564, 3401, 1114, 3205, 858, 1767, 1876, 5541, 6521, 12, 1299, 729, 16, 467, 59, 1299, 1042, 25522, 5286, 13, 15069, 18361, 95, 9506, 202, 2532, 1760, 3205, 273, 394, 2407, 5621, 202, 202, 759, 1893, 364, 326, 2240, 729, 648, 1122, 202, 202, 6494, 353, 8051, 1299, 273, 25522, 5286, 18, 291, 8051, 4446, 5621, 202, 202, 430, 12, 261, 291, 8051, 1299, 597, 729, 631, 2011, 13, 747, 261, 291, 8051, 1299, 597, 25522, 5286, 18, 588, 3935, 1299, 7675, 14963, 12, 1355, 3719, 262, 95, 1082, 202, 698, 288, 9506, 202, 3669, 3205, 273, 333, 18, 588, 45, 59, 28278, 7675, 588, 3748, 7675, 588, 27046, 3621, 14655, 3748, 5621, 1082, 202, 97, 1082, 202, 14683, 261, 503, 425, 21, 13, 288, 9506, 202, 3669, 3205, 273, 394, 5589, 5621, 9506, 202, 73, 21, 18, 1188, 6332, 5621, 1082, 202, 97, 202, 202, 97, 9506, 202, 430, 12, 729, 480, 446, 262, 95, 1082, 202, 3669, 3205, 273, 261, 2532, 13, 22315, 5286, 18, 588, 2157, 1499, 12, 7042, 67, 3297, 67, 10462, 67, 8744, 55, 15, 1355, 18, 588, 11575, 7675, 10492, 10663, 1082, 202, 430, 12, 3669, 3205, 480, 446, 597, 401, 3669, 3205, 18, 291, 1921, 10756, 95, 4697, 565, 327, 1760, 3205, 31, 1082, 202, 97, 1082, 202, 3669, 3205, 273, 15818, 72, 3401, 907, 3621, 12, 1355, 1769, 1082, 202, 430, 12, 3669, 3205, 480, 446, 597, 401, 3669, 3205, 18, 291, 1921, 10756, 95, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2200, 27564, 3401, 1114, 3205, 858, 1767, 1876, 5541, 6521, 12, 1299, 729, 16, 467, 59, 1299, 1042, 25522, 5286, 13, 15069, 18361, 95, 9506, 202, 2532, 1760, 3205, 273, 394, 2407, 5621, 202, 202, 759, 1893, 364, 326, 2240, 729, 648, 1122, 202, 202, 6494, 353, 8051, 1299, 273, 25522, 5286, 18, 291, 8051, 4446, 5621, 202, 202, 430, 12, 261, 291, 8051, 1299, 597, 729, 631, 2011, 13, 747, 261, 291, 8051, 1299, 597, 25522, 5286, 18, 588, 3935, 1299, 7675, 14963, 12, 1355, 3719, 262, 95, 1082, 202, 698, 288, 9506, 202, 3669, 3205, 273, 333, 18, 588, 45, 59, 28278, 7675, 588, 3748, 7675, 588, 27046, 3621, 14655, 3748, 5621, 1082, 202, 2 ]
try { node.removeMixin(mixinName); fail("Node.removeMixin(String mixinName) must throw a " + "LockException if the node is locked."); } catch (LockException e) {
try { node.removeMixin(mixinName); fail("Node.removeMixin(String mixinName) must throw a " + "LockException if the node is locked."); } catch (LockException e) { } node2.unlock(); } finally { session2.logout();
public void testLocked() throws ConstraintViolationException, NotExecutableException, RepositoryException { Session session = testRootNode.getSession(); if (session.getRepository().getDescriptor(Repository.OPTION_LOCKING_SUPPORTED) == null) { throw new NotExecutableException("Locking is not supported."); } // create a node that is lockable Node node = testRootNode.addNode(nodeName1, testNodeType); // or try to make it lockable if it is not if (!node.isNodeType(mixLockable)) { if (node.canAddMixin(mixLockable)) { node.addMixin(mixLockable); } else { throw new NotExecutableException("Node " + nodeName1 + " is not lockable and does not " + "allow to add mix:lockable"); } } testRootNode.save(); String mixinName = NodeMixinUtil.getAddableMixinName(session, node); if (mixinName == null) { throw new NotExecutableException("No testable mixin node type found"); } node.addMixin(mixinName); testRootNode.save(); // remove first slash of path to get rel path to root String pathRelToRoot = node.getPath().substring(1); // access node through another session to lock it Session session2 = helper.getSuperuserSession(); Node node2 = session2.getRootNode().getNode(pathRelToRoot); node2.lock(true, true); try { node.removeMixin(mixinName); fail("Node.removeMixin(String mixinName) must throw a " + "LockException if the node is locked."); } catch (LockException e) { // success } // unlock to remove node at tearDown() node2.unlock(); session2.logout(); }
48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/a70220ce21821950174edcf6b4370f7215d33b9f/NodeRemoveMixinTest.java/clean/src/test/org/apache/jackrabbit/test/api/NodeRemoveMixinTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 8966, 1435, 5411, 1216, 10770, 27052, 16, 2288, 17709, 503, 16, 13367, 288, 3639, 3877, 1339, 273, 1842, 29658, 18, 588, 2157, 5621, 3639, 309, 261, 3184, 18, 588, 3305, 7675, 588, 3187, 12, 3305, 18, 7425, 67, 6589, 1360, 67, 21134, 13, 422, 446, 13, 288, 5411, 604, 394, 2288, 17709, 503, 2932, 2531, 310, 353, 486, 3260, 1199, 1769, 3639, 289, 3639, 368, 752, 279, 756, 716, 353, 2176, 429, 3639, 2029, 756, 273, 1842, 29658, 18, 1289, 907, 12, 2159, 461, 21, 16, 1842, 15101, 1769, 3639, 368, 578, 775, 358, 1221, 518, 2176, 429, 309, 518, 353, 486, 3639, 309, 16051, 2159, 18, 291, 15101, 12, 14860, 2531, 429, 3719, 288, 5411, 309, 261, 2159, 18, 4169, 986, 14439, 12, 14860, 2531, 429, 3719, 288, 7734, 756, 18, 1289, 14439, 12, 14860, 2531, 429, 1769, 5411, 289, 469, 288, 7734, 604, 394, 2288, 17709, 503, 2932, 907, 315, 397, 7553, 21, 397, 315, 353, 486, 2176, 429, 471, 1552, 486, 315, 397, 13491, 315, 5965, 358, 527, 6843, 30, 739, 429, 8863, 5411, 289, 3639, 289, 3639, 1842, 29658, 18, 5688, 5621, 3639, 514, 11682, 461, 273, 2029, 14439, 1304, 18, 588, 986, 429, 14439, 461, 12, 3184, 16, 756, 1769, 3639, 309, 261, 81, 10131, 461, 422, 446, 13, 288, 5411, 604, 394, 2288, 17709, 503, 2932, 2279, 1842, 429, 11682, 756, 618, 1392, 8863, 3639, 289, 3639, 756, 18, 1289, 14439, 12, 81, 10131, 461, 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, 1071, 918, 1842, 8966, 1435, 5411, 1216, 10770, 27052, 16, 2288, 17709, 503, 16, 13367, 288, 3639, 3877, 1339, 273, 1842, 29658, 18, 588, 2157, 5621, 3639, 309, 261, 3184, 18, 588, 3305, 7675, 588, 3187, 12, 3305, 18, 7425, 67, 6589, 1360, 67, 21134, 13, 422, 446, 13, 288, 5411, 604, 394, 2288, 17709, 503, 2932, 2531, 310, 353, 486, 3260, 1199, 1769, 3639, 289, 3639, 368, 752, 279, 756, 716, 353, 2176, 429, 3639, 2029, 756, 273, 1842, 29658, 18, 1289, 907, 12, 2159, 461, 21, 16, 1842, 15101, 1769, 3639, 368, 578, 775, 358, 1221, 518, 2176, 429, 309, 518, 353, 486, 3639, 309, 16051, 2159, 18, 291, 15101, 12, 14860, 2531, 429, 3719, 288, 2 ]
else if ( sSubType.equalsIgnoreCase( "Percent Stacked" ) )
else if ( sSubType.equalsIgnoreCase( PERCENTSTACKED_SUBTYPE_LITERAL ) )
public Chart getModel( String sSubType, Orientation orientation, String sDimension, Chart currentChart ) { ChartWithAxes newChart = null; if ( currentChart != null ) { newChart = (ChartWithAxes) getConvertedChart( currentChart, sSubType, orientation, sDimension ); if ( newChart != null ) { return newChart; } } newChart = ChartWithAxesImpl.create( ); newChart.setType( TYPE_LITERAL ); newChart.setSubType( sSubType ); newChart.setOrientation( orientation ); newChart.setDimension( getDimensionFor( sDimension ) ); newChart.setUnits( "Points" ); //$NON-NLS-1$ ( (Axis) newChart.getAxes( ).get( 0 ) ).setOrientation( Orientation.HORIZONTAL_LITERAL ); ( (Axis) newChart.getAxes( ).get( 0 ) ).setType( AxisType.TEXT_LITERAL ); ( (Axis) newChart.getAxes( ).get( 0 ) ).setCategoryAxis( true ); SeriesDefinition sdX = SeriesDefinitionImpl.create( ); Series categorySeries = SeriesImpl.create( ); sdX.getSeries( ).add( categorySeries ); sdX.getSeriesPalette( ).update( 0 ); ( (Axis) newChart.getAxes( ).get( 0 ) ).getSeriesDefinitions( ) .add( sdX ); newChart.getTitle( ) .getLabel( ) .getCaption( ) .setValue( CHART_TITLE ); //$NON-NLS-1$ if ( sSubType.equalsIgnoreCase( "Stacked" ) ) //$NON-NLS-1$ { ( (Axis) ( (Axis) newChart.getAxes( ).get( 0 ) ).getAssociatedAxes( ) .get( 0 ) ).setOrientation( Orientation.VERTICAL_LITERAL ); ( (Axis) ( (Axis) newChart.getAxes( ).get( 0 ) ).getAssociatedAxes( ) .get( 0 ) ).setType( AxisType.LINEAR_LITERAL ); SeriesDefinition sdY = SeriesDefinitionImpl.create( ); sdY.getSeriesPalette( ).update( 0 ); Series valueSeries = LineSeriesImpl.create( ); valueSeries.getLabel( ).setVisible( true ); ( (LineSeries) valueSeries ).getMarker( ).setVisible( true ); ( (LineSeries) valueSeries ).setStacked( true ); sdY.getSeries( ).add( valueSeries ); ( (Axis) ( (Axis) newChart.getAxes( ).get( 0 ) ).getAssociatedAxes( ) .get( 0 ) ).getSeriesDefinitions( ).add( sdY ); } else if ( sSubType.equalsIgnoreCase( "Percent Stacked" ) ) //$NON-NLS-1$ { ( (Axis) ( (Axis) newChart.getAxes( ).get( 0 ) ).getAssociatedAxes( ) .get( 0 ) ).setOrientation( Orientation.VERTICAL_LITERAL ); ( (Axis) ( (Axis) newChart.getAxes( ).get( 0 ) ).getAssociatedAxes( ) .get( 0 ) ).setType( AxisType.LINEAR_LITERAL ); ( (Axis) ( (Axis) newChart.getAxes( ).get( 0 ) ).getAssociatedAxes( ) .get( 0 ) ).setPercent( true ); SeriesDefinition sdY = SeriesDefinitionImpl.create( ); sdY.getSeriesPalette( ).update( 0 ); Series valueSeries = LineSeriesImpl.create( ); valueSeries.getLabel( ).setVisible( true ); ( (LineSeries) valueSeries ).getMarker( ).setVisible( true ); ( (LineSeries) valueSeries ).setStacked( true ); sdY.getSeries( ).add( valueSeries ); ( (Axis) ( (Axis) newChart.getAxes( ).get( 0 ) ).getAssociatedAxes( ) .get( 0 ) ).getSeriesDefinitions( ).add( sdY ); } else if ( sSubType.equalsIgnoreCase( "Overlay" ) ) //$NON-NLS-1$ { ( (Axis) ( (Axis) newChart.getAxes( ).get( 0 ) ).getAssociatedAxes( ) .get( 0 ) ).setOrientation( Orientation.VERTICAL_LITERAL ); ( (Axis) ( (Axis) newChart.getAxes( ).get( 0 ) ).getAssociatedAxes( ) .get( 0 ) ).setType( AxisType.LINEAR_LITERAL ); SeriesDefinition sdY = SeriesDefinitionImpl.create( ); sdY.getSeriesPalette( ).update( 0 ); Series valueSeries = LineSeriesImpl.create( ); valueSeries.getLabel( ).setVisible( true ); ( (LineSeries) valueSeries ).getMarker( ).setVisible( true ); ( (LineSeries) valueSeries ).setStacked( false ); sdY.getSeries( ).add( valueSeries ); ( (Axis) ( (Axis) newChart.getAxes( ).get( 0 ) ).getAssociatedAxes( ) .get( 0 ) ).getSeriesDefinitions( ).add( sdY ); } if ( sDimension.equals( THREE_DIMENSION_TYPE ) ) { newChart.setRotation( Rotation3DImpl.create( new Angle3D[]{ Angle3DImpl.create( -20, 45, 0 ) } ) ); newChart.setUnitSpacing( 50 ); newChart.getPrimaryBaseAxes( )[0].getAncillaryAxes( ).clear( ); Axis zAxisAncillary = AxisImpl.create( Axis.ANCILLARY_BASE ); zAxisAncillary.setTitlePosition( Position.BELOW_LITERAL ); zAxisAncillary.getTitle( ) .getCaption( ) .setValue( Messages.getString( "ChartWithAxesImpl.Z_Axis.title" ) ); //$NON-NLS-1$ zAxisAncillary.getTitle( ).setVisible( true ); zAxisAncillary.setPrimaryAxis( true ); zAxisAncillary.setLabelPosition( Position.BELOW_LITERAL ); zAxisAncillary.setOrientation( Orientation.HORIZONTAL_LITERAL ); zAxisAncillary.getOrigin( ).setType( IntersectionType.MIN_LITERAL ); zAxisAncillary.getOrigin( ) .setValue( NumberDataElementImpl.create( 0 ) ); zAxisAncillary.getTitle( ).setVisible( false ); zAxisAncillary.setType( AxisType.TEXT_LITERAL ); newChart.getPrimaryBaseAxes( )[0].getAncillaryAxes( ) .add( zAxisAncillary ); newChart.getPrimaryOrthogonalAxis( newChart.getPrimaryBaseAxes( )[0] ) .getTitle( ) .getCaption( ) .getFont( ) .setRotation( 0 ); SeriesDefinition sdZ = SeriesDefinitionImpl.create( ); sdZ.getSeriesPalette( ).update( 0 ); sdZ.getSeries( ).add( SeriesImpl.create( ) ); zAxisAncillary.getSeriesDefinitions( ).add( sdZ ); } addSampleData( newChart ); return newChart; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/ae5c99c975d28a2277f3b75baa2207ddf1c0d0ae/LineChart.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/LineChart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 14804, 7454, 12, 514, 272, 30511, 16, 531, 12556, 9820, 16, 1082, 202, 780, 272, 8611, 16, 14804, 783, 7984, 262, 202, 95, 202, 202, 7984, 1190, 26494, 394, 7984, 273, 446, 31, 202, 202, 430, 261, 783, 7984, 480, 446, 262, 202, 202, 95, 1082, 202, 2704, 7984, 273, 261, 7984, 1190, 26494, 13, 336, 22063, 7984, 12, 783, 7984, 16, 6862, 202, 87, 30511, 16, 6862, 202, 19235, 16, 6862, 202, 87, 8611, 11272, 1082, 202, 430, 261, 394, 7984, 480, 446, 262, 1082, 202, 95, 9506, 202, 2463, 394, 7984, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2704, 7984, 273, 14804, 1190, 26494, 2828, 18, 2640, 12, 11272, 202, 202, 2704, 7984, 18, 542, 559, 12, 3463, 67, 23225, 11272, 202, 202, 2704, 7984, 18, 542, 30511, 12, 272, 30511, 11272, 202, 202, 2704, 7984, 18, 542, 14097, 12, 9820, 11272, 202, 202, 2704, 7984, 18, 542, 8611, 12, 20283, 1290, 12, 272, 8611, 262, 11272, 202, 202, 2704, 7984, 18, 542, 7537, 12, 315, 5636, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 12, 261, 6558, 13, 394, 7984, 18, 588, 26494, 12, 262, 18, 588, 12, 374, 262, 262, 18, 542, 14097, 12, 531, 12556, 18, 44, 20344, 67, 23225, 11272, 202, 202, 12, 261, 6558, 13, 394, 7984, 18, 588, 26494, 12, 262, 18, 588, 12, 374, 262, 262, 18, 542, 559, 12, 15509, 559, 18, 5151, 67, 23225, 11272, 202, 202, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 14804, 7454, 12, 514, 272, 30511, 16, 531, 12556, 9820, 16, 1082, 202, 780, 272, 8611, 16, 14804, 783, 7984, 262, 202, 95, 202, 202, 7984, 1190, 26494, 394, 7984, 273, 446, 31, 202, 202, 430, 261, 783, 7984, 480, 446, 262, 202, 202, 95, 1082, 202, 2704, 7984, 273, 261, 7984, 1190, 26494, 13, 336, 22063, 7984, 12, 783, 7984, 16, 6862, 202, 87, 30511, 16, 6862, 202, 19235, 16, 6862, 202, 87, 8611, 11272, 1082, 202, 430, 261, 394, 7984, 480, 446, 262, 1082, 202, 95, 9506, 202, 2463, 394, 7984, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2704, 7984, 273, 14804, 1190, 26494, 2828, 18, 2640, 12, 11272, 202, 202, 2704, 2 ]
throw new ArgumentError(recv.getRuntime(), args.length, 1);
throw recv.getRuntime().newArgumentError(args.length, 1);
public static IRubyObject mkdir(IRubyObject recv, IRubyObject[] args) { if (args.length < 1) { throw new ArgumentError(recv.getRuntime(), args.length, 1); } if (args.length > 2) { throw new ArgumentError(recv.getRuntime(), args.length, 2); } args[0].checkSafeString(); String path = args[0].toString(); File newDir = new File(path); if (newDir.exists()) { throw new IOError(recv.getRuntime(), path + " already exists"); } return newDir.mkdir() ? RubyFixnum.zero(recv.getRuntime()) : RubyFixnum.one(recv.getRuntime()); }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyDir.java/buggy/src/org/jruby/RubyDir.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 15908, 10340, 921, 6535, 12, 7937, 10340, 921, 10665, 16, 15908, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 1968, 18, 2469, 411, 404, 13, 288, 5411, 604, 10665, 18, 588, 5576, 7675, 2704, 1379, 668, 12, 1968, 18, 2469, 16, 404, 1769, 3639, 289, 3639, 309, 261, 1968, 18, 2469, 405, 576, 13, 288, 5411, 604, 394, 9236, 12, 18334, 18, 588, 5576, 9334, 833, 18, 2469, 16, 576, 1769, 3639, 289, 3639, 833, 63, 20, 8009, 1893, 9890, 780, 5621, 3639, 514, 589, 273, 833, 63, 20, 8009, 10492, 5621, 3639, 1387, 394, 1621, 273, 394, 1387, 12, 803, 1769, 3639, 309, 261, 2704, 1621, 18, 1808, 10756, 288, 5411, 604, 394, 8340, 12, 18334, 18, 588, 5576, 9334, 589, 397, 315, 1818, 1704, 8863, 3639, 289, 3639, 327, 394, 1621, 18, 26686, 1435, 692, 19817, 8585, 2107, 18, 7124, 12, 18334, 18, 588, 5576, 10756, 294, 5411, 19817, 8585, 2107, 18, 476, 12, 18334, 18, 588, 5576, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 15908, 10340, 921, 6535, 12, 7937, 10340, 921, 10665, 16, 15908, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 1968, 18, 2469, 411, 404, 13, 288, 5411, 604, 10665, 18, 588, 5576, 7675, 2704, 1379, 668, 12, 1968, 18, 2469, 16, 404, 1769, 3639, 289, 3639, 309, 261, 1968, 18, 2469, 405, 576, 13, 288, 5411, 604, 394, 9236, 12, 18334, 18, 588, 5576, 9334, 833, 18, 2469, 16, 576, 1769, 3639, 289, 3639, 833, 63, 20, 8009, 1893, 9890, 780, 5621, 3639, 514, 589, 273, 833, 63, 20, 8009, 10492, 5621, 3639, 1387, 394, 1621, 273, 394, 1387, 12, 803, 1769, 3639, 309, 261, 2704, 1621, 18, 1808, 10756, 288, 5411, 604, 394, 8340, 2 ]
throw new XMLSchemaException("rcase-NSSubset.3",null);
throw new XMLSchemaException("rcase-NSSubset.3", new Object[]{dWildcard.getProcessContentsAsString(), bWildcard.getProcessContentsAsString()});
private static void checkNSSubset(XSWildcardDecl dWildcard, int min1, int max1, XSWildcardDecl bWildcard, int min2, int max2) throws XMLSchemaException { // check Occurrence ranges if (!checkOccurrenceRange(min1,max1,min2,max2)) { throw new XMLSchemaException("rcase-NSSubset.2",null); } // check wildcard subset if (!dWildcard.isSubsetOf(bWildcard)) { throw new XMLSchemaException("rcase-NSSubset.1",null); } if (dWildcard.weakerProcessContents(bWildcard)) { throw new XMLSchemaException("rcase-NSSubset.3",null); } }
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/b8632d1162b8572ec5348c474617947ba89f7bff/XSConstraints.java/clean/src/org/apache/xerces/impl/xs/XSConstraints.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 866, 50, 1260, 373, 542, 12, 60, 55, 12121, 3456, 302, 12121, 16, 509, 1131, 21, 16, 509, 943, 21, 16, 4766, 1377, 1139, 55, 12121, 3456, 324, 12121, 16, 509, 1131, 22, 16, 509, 943, 22, 13, 17311, 1216, 3167, 3078, 503, 288, 1377, 368, 866, 531, 2803, 7885, 7322, 1377, 309, 16051, 1893, 24267, 2655, 12, 1154, 21, 16, 1896, 21, 16, 1154, 22, 16, 1896, 22, 3719, 288, 3639, 604, 394, 3167, 3078, 503, 2932, 1310, 448, 17, 50, 1260, 373, 542, 18, 22, 3113, 2011, 1769, 1377, 289, 1377, 368, 866, 8531, 7931, 1377, 309, 16051, 72, 12121, 18, 291, 20315, 951, 12, 70, 12121, 3719, 288, 540, 604, 394, 3167, 3078, 503, 2932, 1310, 448, 17, 50, 1260, 373, 542, 18, 21, 3113, 2011, 1769, 1377, 289, 1377, 309, 261, 72, 12121, 18, 1814, 6388, 2227, 6323, 12, 70, 12121, 3719, 288, 1850, 604, 394, 3167, 3078, 503, 2932, 1310, 448, 17, 50, 1260, 373, 542, 18, 23, 3113, 394, 1033, 63, 7073, 72, 12121, 18, 588, 2227, 6323, 8092, 9334, 324, 12121, 18, 588, 2227, 6323, 8092, 17767, 1769, 1377, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 866, 50, 1260, 373, 542, 12, 60, 55, 12121, 3456, 302, 12121, 16, 509, 1131, 21, 16, 509, 943, 21, 16, 4766, 1377, 1139, 55, 12121, 3456, 324, 12121, 16, 509, 1131, 22, 16, 509, 943, 22, 13, 17311, 1216, 3167, 3078, 503, 288, 1377, 368, 866, 531, 2803, 7885, 7322, 1377, 309, 16051, 1893, 24267, 2655, 12, 1154, 21, 16, 1896, 21, 16, 1154, 22, 16, 1896, 22, 3719, 288, 3639, 604, 394, 3167, 3078, 503, 2932, 1310, 448, 17, 50, 1260, 373, 542, 18, 22, 3113, 2011, 1769, 1377, 289, 1377, 368, 866, 8531, 7931, 1377, 309, 16051, 72, 12121, 18, 291, 20315, 951, 12, 70, 12121, 3719, 288, 540, 604, 394, 3167, 2 ]
throw new InternalError(x.getMessage());
throw new InternalError(x.getMessage());
final void setBooleanField(Object obj, boolean val) { try { field.setBoolean(obj, val); } catch(IllegalAccessException x) { throw new InternalError(x.getMessage()); } }
25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/126d7770c7bb5b9c74598afb0864a336d457fd92/ObjectStreamField.java/buggy/libjava/java/io/ObjectStreamField.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 918, 444, 5507, 974, 12, 921, 1081, 16, 1250, 1244, 13, 225, 288, 1377, 775, 1377, 288, 202, 225, 652, 18, 542, 5507, 12, 2603, 16, 1244, 1769, 1377, 289, 1377, 1044, 12, 12195, 9773, 619, 13, 1377, 288, 202, 225, 604, 394, 3186, 668, 12, 92, 18, 24906, 10663, 1377, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 3186, 668, 12, 92, 18, 24906, 10663, 1377, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
menuService.removeContributions(menuContributions);
private final void clearMenus() { menuService.removeContributions(menuContributions); menuContributions.clear(); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/03ee7aea52f9313e17fd8a8e337e50b05c319ba4/LegacyActionPersistence.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus/LegacyActionPersistence.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 727, 918, 2424, 29755, 1435, 288, 202, 202, 5414, 1179, 18, 4479, 442, 15326, 12, 5414, 442, 15326, 1769, 202, 202, 5414, 442, 15326, 18, 8507, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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288, 202, 202, 5414, 1179, 18, 4479, 442, 15326, 12, 5414, 442, 15326, 1769, 202, 202, 5414, 442, 15326, 18, 8507, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
TableTag.class, null, "setStyle"));
TableTag.class, null, "setStyle"));
public PropertyDescriptor[] getPropertyDescriptors() { List proplist = new ArrayList(); try { proplist.add(new PropertyDescriptor("cellpadding", //$NON-NLS-1$ TableTag.class, null, "setCellpadding")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("cellspacing", //$NON-NLS-1$ TableTag.class, null, "setCellspacing")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("class", //$NON-NLS-1$ TableTag.class, null, "setClass")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("decorator", //$NON-NLS-1$ TableTag.class, null, "setDecorator")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("defaultorder", //$NON-NLS-1$ TableTag.class, null, "setDefaultorder")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("defaultsort", //$NON-NLS-1$ TableTag.class, null, "setDefaultsort")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("export", //$NON-NLS-1$ TableTag.class, null, "setExport")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("frame", //$NON-NLS-1$ TableTag.class, null, "setFrame")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("length", //$NON-NLS-1$ TableTag.class, null, "setLength")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("offset", //$NON-NLS-1$ TableTag.class, null, "setOffset")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("pagesize", //$NON-NLS-1$ TableTag.class, null, "setPagesize")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("partialList", //$NON-NLS-1$ TableTag.class, null, "setPartialList")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("requestURI", //$NON-NLS-1$ TableTag.class, null, "setRequestURI")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("requestURIcontext", //$NON-NLS-1$ TableTag.class, null, "setRequestURIcontext")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("rules", //$NON-NLS-1$ TableTag.class, null, "setRules")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("sort", //$NON-NLS-1$ TableTag.class, null, "setSort")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("style", //$NON-NLS-1$ TableTag.class, null, "setStyle")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("summary", //$NON-NLS-1$ TableTag.class, null, "setSummary")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("excludedParams", //$NON-NLS-1$ TableTag.class, null, "setExcludedParams")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("id", //$NON-NLS-1$ TableTag.class, null, "setUid")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("uid", //$NON-NLS-1$ TableTag.class, null, "setUid")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("htmlId", //$NON-NLS-1$ TableTag.class, null, "setHtmlId")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("varTotals", //$NON-NLS-1$ TableTag.class, null, "setVarTotals")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("width", //$NON-NLS-1$ TableTag.class, null, "setWidth")); //$NON-NLS-1$ // deprecated attributes proplist.add(new PropertyDescriptor("list", //$NON-NLS-1$ TableTag.class, null, "setList")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("property", //$NON-NLS-1$ TableTag.class, null, "setProperty")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("scope", //$NON-NLS-1$ TableTag.class, null, "setScope")); //$NON-NLS-1$ // make ATG Dynamo happy: proplist.add(new PropertyDescriptor("className", //$NON-NLS-1$ TableTag.class, null, "setClass")); //$NON-NLS-1$ try { Class.forName("javax.servlet.jsp.tagext.IterationTag"); //$NON-NLS-1$ // jsp >= 1.2 proplist.add(new PropertyDescriptor("name", //$NON-NLS-1$ TableTag.class, null, "setName")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("size", //$NON-NLS-1$ TableTag.class, null, "setSize")); //$NON-NLS-1$ } catch (ClassNotFoundException e) { // jsp 1.1, can't use a setter with an Object parameter proplist.add(new PropertyDescriptor("name", //$NON-NLS-1$ TableTag.class, null, "setNameString")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("size", //$NON-NLS-1$ TableTag.class, null, "setSizeObjectName")); //$NON-NLS-1$ } } catch (IntrospectionException ex) { throw new RuntimeException("You got an introspection exception - maybe defining a property that is not" + " defined in the TableTag?: " + ex.getMessage(), ex); } PropertyDescriptor[] result = new PropertyDescriptor[proplist.size()]; return ((PropertyDescriptor[]) proplist.toArray(result)); }
10316 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10316/a68c17afdfb7cb08fd50d001fb8260e045a3c5cd/TableTagBeanInfo.java/clean/displaytag/src/main/java/org/displaytag/tags/TableTagBeanInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 987, 450, 17842, 273, 394, 2407, 5621, 3639, 775, 3639, 288, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 3855, 9598, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 4020, 9598, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 3855, 14080, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 4020, 14080, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 1106, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 797, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 19142, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 10361, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 1886, 1019, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 1868, 1019, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 1886, 3804, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 1868, 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, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 987, 450, 17842, 273, 394, 2407, 5621, 3639, 775, 3639, 288, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 3855, 9598, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 4020, 9598, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 3855, 14080, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 4020, 14080, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 1106, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 2 ]
buffer.append(arguments.get(IProblem.A_PREPROC_CONDITION));
arg = (String) arguments.get(IProblem.A_PREPROC_CONDITION);
public String createMessage(int id, Map arguments, int lineNumber, char[] fileName) { StringBuffer buffer = new StringBuffer(); buffer.append(PROBLEM); buffer.append(errorMessages.get(new Integer(id))); switch (id) { case IProblem.PREPROCESSOR_POUND_ERROR : buffer.append(arguments.get(IProblem.A_PREPROC_POUND_ERROR)); break; case IProblem.PREPROCESSOR_INCLUSION_NOT_FOUND : buffer.append(arguments.get(IProblem.A_PREPROC_INCLUDE_FILENAME)); break; case IProblem.PREPROCESSOR_DEFINITION_NOT_FOUND : buffer.append(arguments.get(IProblem.A_PREPROC_MACRO_NAME)); break; case IProblem.PREPROCESSOR_UNBALANCE_CONDITION : buffer.append(arguments.get(IProblem.A_PREPROC_CONDITIONAL_MISMATCH)); break; case IProblem.PREPROCESSOR_INVALID_MACRO_DEFN : buffer.append(arguments.get(IProblem.A_PREPROC_MACRO_NAME)); break; case IProblem.PREPROCESSOR_INVALID_DIRECTIVE : buffer.append(arguments.get(IProblem.A_PREPROC_UNKNOWN_DIRECTIVE)); break; case IProblem.PREPROCESSOR_INVALID_MACRO_REDEFN : buffer.append(arguments.get(IProblem.A_PREPROC_MACRO_NAME)); break; case IProblem.PREPROCESSOR_CONDITIONAL_EVAL_ERROR : buffer.append(arguments.get(IProblem.A_PREPROC_CONDITION)); break; case IProblem.PREPROCESSOR_MACRO_USAGE_ERROR : buffer.append(arguments.get(IProblem.A_PREPROC_MACRO_NAME)); break; case IProblem.PREPROCESSOR_MACRO_PASTING_ERROR : buffer.append(arguments.get(IProblem.A_PREPROC_MACRO_NAME)); break; case IProblem.PREPROCESSOR_CIRCULAR_INCLUSION : buffer.append(arguments.get(IProblem.A_PREPROC_INCLUDE_FILENAME)); break; case IProblem.SCANNER_BAD_CHARACTER : buffer.append( arguments.get(IProblem.A_SCANNER_BADCHAR)); break; case IProblem.SCANNER_UNBOUNDED_STRING : case IProblem.SCANNER_INVALID_ESCAPECHAR : case IProblem.SCANNER_BAD_FLOATING_POINT : case IProblem.SCANNER_BAD_HEX_FORMAT : case IProblem.SCANNER_UNEXPECTED_EOF : break; default : return null; } buffer.append( IN_FILE ); buffer.append(fileName); buffer.append( ON_LINE ); buffer.append(lineNumber); return buffer.toString(); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/71de5821df404e1b0f440c5ac586d3c3934a187b/ScannerProblemFactory.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/ScannerProblemFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 23836, 12, 474, 612, 16, 1635, 1775, 16, 509, 13629, 16, 1149, 8526, 3968, 13, 202, 95, 202, 202, 780, 1892, 1613, 273, 394, 6674, 5621, 202, 202, 4106, 18, 6923, 12, 3373, 38, 26817, 1769, 202, 202, 4106, 18, 6923, 12, 1636, 5058, 18, 588, 12, 2704, 2144, 12, 350, 3719, 1769, 202, 202, 9610, 261, 350, 13, 202, 202, 95, 1082, 202, 3593, 467, 13719, 18, 3670, 16560, 916, 67, 2419, 5240, 67, 3589, 294, 9506, 202, 4106, 18, 6923, 12, 7099, 18, 588, 12, 45, 13719, 18, 37, 67, 3670, 3373, 39, 67, 2419, 5240, 67, 3589, 10019, 9506, 202, 8820, 31, 1082, 202, 3593, 467, 13719, 18, 3670, 16560, 916, 67, 706, 5017, 3378, 1146, 67, 4400, 67, 9294, 294, 9506, 202, 4106, 18, 6923, 12, 7099, 18, 588, 12, 45, 13719, 18, 37, 67, 3670, 3373, 39, 67, 26003, 67, 16080, 10019, 9506, 202, 8820, 31, 1082, 202, 3593, 467, 13719, 18, 3670, 16560, 916, 67, 25312, 67, 4400, 67, 9294, 294, 9506, 202, 4106, 18, 6923, 12, 7099, 18, 588, 12, 45, 13719, 18, 37, 67, 3670, 3373, 39, 67, 10875, 1457, 67, 1985, 10019, 9506, 202, 8820, 31, 1082, 202, 3593, 467, 13719, 18, 3670, 16560, 916, 67, 2124, 38, 1013, 4722, 67, 22017, 294, 9506, 202, 4106, 18, 6923, 12, 7099, 18, 588, 12, 45, 13719, 18, 37, 67, 3670, 3373, 39, 67, 22017, 1013, 67, 30062, 11793, 10019, 9506, 202, 8820, 31, 1082, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 23836, 12, 474, 612, 16, 1635, 1775, 16, 509, 13629, 16, 1149, 8526, 3968, 13, 202, 95, 202, 202, 780, 1892, 1613, 273, 394, 6674, 5621, 202, 202, 4106, 18, 6923, 12, 3373, 38, 26817, 1769, 202, 202, 4106, 18, 6923, 12, 1636, 5058, 18, 588, 12, 2704, 2144, 12, 350, 3719, 1769, 202, 202, 9610, 261, 350, 13, 202, 202, 95, 1082, 202, 3593, 467, 13719, 18, 3670, 16560, 916, 67, 2419, 5240, 67, 3589, 294, 9506, 202, 4106, 18, 6923, 12, 7099, 18, 588, 12, 45, 13719, 18, 37, 67, 3670, 3373, 39, 67, 2419, 5240, 67, 3589, 10019, 9506, 202, 8820, 31, 1082, 202, 3593, 467, 13719, 18, 3670, 16560, 916, 67, 2 ]
String filePart = toEPR.getAddress(); String[] values = Utils.parseRequestURLForServiceAndOperation( filePart); if (values[0] != null) { serviceName = new QName(values[0]); AxisConfiguration registry = messageContext.getSystemContext().getAxisConfiguration(); return registry.getService(serviceName.getLocalPart());
String filePart = toEPR.getAddress(); String[] values = Utils.parseRequestURLForServiceAndOperation( filePart); if (values[0] != null) { serviceName = new QName(values[0]); AxisConfiguration registry = messageContext.getSystemContext().getAxisConfiguration(); return registry.getService(serviceName.getLocalPart());
public ServiceDescription findService(MessageContext messageContext) throws AxisFault { EndpointReference toEPR = messageContext.getTo(); ServiceDescription service = null; QName serviceName = new QName(toEPR.getAddress()); String filePart = toEPR.getAddress(); String[] values = Utils.parseRequestURLForServiceAndOperation( filePart); if (values[0] != null) { serviceName = new QName(values[0]); AxisConfiguration registry = messageContext.getSystemContext().getAxisConfiguration(); return registry.getService(serviceName.getLocalPart()); } return service; }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/e00b017080037b2d0c82d998b8d3862245536271/AddressingBasedDispatcher.java/clean/modules/core/src/org/apache/axis2/engine/AddressingBasedDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1956, 3291, 1104, 1179, 12, 1079, 1042, 883, 1042, 13, 1216, 15509, 7083, 288, 3639, 6961, 2404, 358, 41, 8025, 273, 883, 1042, 18, 588, 774, 5621, 3639, 1956, 3291, 1156, 273, 446, 31, 3639, 16723, 6773, 273, 394, 16723, 12, 869, 41, 8025, 18, 588, 1887, 10663, 3639, 514, 585, 1988, 273, 358, 41, 8025, 18, 588, 1887, 5621, 3639, 514, 8526, 924, 273, 6091, 18, 2670, 691, 1785, 1290, 1179, 1876, 2988, 12, 7734, 585, 1988, 1769, 3639, 309, 261, 2372, 63, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1956, 3291, 1104, 1179, 12, 1079, 1042, 883, 1042, 13, 1216, 15509, 7083, 288, 3639, 6961, 2404, 358, 41, 8025, 273, 883, 1042, 18, 588, 774, 5621, 3639, 1956, 3291, 1156, 273, 446, 31, 3639, 16723, 6773, 273, 394, 16723, 12, 869, 41, 8025, 18, 588, 1887, 10663, 3639, 514, 585, 1988, 273, 358, 41, 8025, 18, 588, 1887, 5621, 3639, 514, 8526, 924, 273, 6091, 18, 2670, 691, 1785, 1290, 1179, 1876, 2988, 12, 7734, 585, 1988, 1769, 3639, 309, 261, 2372, 63, 20, 65, 480, 446, 13, 288, 5411, 6773, 273, 394, 16723, 12, 2372, 63, 20, 19226, 5411, 15509, 1750, 4023, 273, 10792, 883, 1042, 18, 588, 3163, 1042, 7675, 588, 6558, 1750, 5621, 2 ]
if(qAtom.matches(g2.getAtomAt(0))) return true; else return false;
return qAtom.matches(g2.getAtomAt(0));
public static boolean isIsomorph(IAtomContainer g1, IAtomContainer g2) throws CDKException{ if (g2.getAtomCount() != g1.getAtomCount()) return false; // check single atom case if (g2.getAtomCount() == 1) { IAtom atom = g1.getAtomAt(0); IAtom atom2 = g2.getAtomAt(0); if (atom instanceof IQueryAtom) { IQueryAtom qAtom = (IQueryAtom)atom; if(qAtom.matches(g2.getAtomAt(0))) return true; else return false; } else if (atom2 instanceof IQueryAtom) { IQueryAtom qAtom = (IQueryAtom)atom2; if(qAtom.matches(g1.getAtomAt(0))) return true; else return false; } else { String atomSymbol = atom.getSymbol(); if(g1.getAtomAt(0).getSymbol().equals(atomSymbol)) return true; else return false; } } return (getIsomorphMap(g1, g2) != null); }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/56c201de67d3ab0b41150bdf3c9bae4980107820/UniversalIsomorphismTester.java/clean/src/org/openscience/cdk/isomorphism/UniversalIsomorphismTester.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1250, 353, 2520, 362, 7657, 12, 45, 3641, 2170, 314, 21, 16, 13922, 314, 22, 13, 225, 1216, 24570, 95, 202, 225, 309, 261, 75, 22, 18, 588, 3641, 1380, 1435, 480, 314, 21, 18, 588, 3641, 1380, 10756, 327, 629, 31, 1377, 368, 866, 2202, 3179, 648, 1377, 309, 261, 75, 22, 18, 588, 3641, 1380, 1435, 422, 404, 13, 288, 1850, 8831, 3179, 273, 314, 21, 18, 588, 3641, 861, 12, 20, 1769, 1850, 8831, 3179, 22, 273, 314, 22, 18, 588, 3641, 861, 12, 20, 1769, 1082, 225, 309, 261, 7466, 1276, 467, 1138, 3641, 13, 288, 9506, 225, 467, 1138, 3641, 1043, 3641, 273, 261, 45, 1138, 3641, 13, 7466, 31, 2868, 309, 12, 85, 3641, 18, 8436, 12, 75, 22, 18, 588, 3641, 861, 12, 20, 20349, 327, 638, 31, 2868, 469, 327, 629, 31, 1082, 225, 289, 469, 309, 261, 7466, 22, 1276, 467, 1138, 3641, 13, 288, 2868, 467, 1138, 3641, 1043, 3641, 273, 261, 45, 1138, 3641, 13, 7466, 22, 31, 2868, 309, 12, 85, 3641, 18, 8436, 12, 75, 21, 18, 588, 3641, 861, 12, 20, 20349, 327, 638, 31, 2868, 469, 327, 629, 31, 1850, 289, 469, 288, 9506, 225, 514, 3179, 5335, 273, 3179, 18, 588, 5335, 5621, 2868, 309, 12, 75, 21, 18, 588, 3641, 861, 12, 20, 2934, 588, 5335, 7675, 14963, 12, 7466, 5335, 3719, 327, 638, 31, 2868, 469, 327, 629, 31, 1082, 225, 289, 1377, 289, 202, 225, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1250, 353, 2520, 362, 7657, 12, 45, 3641, 2170, 314, 21, 16, 13922, 314, 22, 13, 225, 1216, 24570, 95, 202, 225, 309, 261, 75, 22, 18, 588, 3641, 1380, 1435, 480, 314, 21, 18, 588, 3641, 1380, 10756, 327, 629, 31, 1377, 368, 866, 2202, 3179, 648, 1377, 309, 261, 75, 22, 18, 588, 3641, 1380, 1435, 422, 404, 13, 288, 1850, 8831, 3179, 273, 314, 21, 18, 588, 3641, 861, 12, 20, 1769, 1850, 8831, 3179, 22, 273, 314, 22, 18, 588, 3641, 861, 12, 20, 1769, 1082, 225, 309, 261, 7466, 1276, 467, 1138, 3641, 13, 288, 9506, 225, 467, 1138, 3641, 1043, 3641, 273, 261, 45, 1138, 3641, 13, 7466, 31, 2868, 2 ]
pushConsumer_ = StructuredProxyPushConsumerHelper.narrow(supplierAdmin.obtain_notification_push_consumer(ClientType.STRUCTURED_EVENT,_proxyIdHolder));
pushConsumer_ = StructuredProxyPushConsumerHelper.narrow(supplierAdmin .obtain_notification_push_consumer(ClientType.STRUCTURED_EVENT, _proxyIdHolder));
public void connect(EventChannel channel, boolean useOrSemantic) throws AdminLimitExceeded, AlreadyConnected, AdminNotFound { Assert.assertNotNull(channel); StructuredPushSupplierPOATie senderTie = new StructuredPushSupplierPOATie(this); StructuredPushSupplier sender = senderTie._this(testCase_.getORB()); SupplierAdmin supplierAdmin = channel.default_supplier_admin(); Assert.assertNotNull(supplierAdmin); Assert.assertEquals(supplierAdmin, channel.get_supplieradmin(supplierAdmin.MyID())); IntHolder _proxyIdHolder = new IntHolder(); pushConsumer_ = StructuredProxyPushConsumerHelper.narrow(supplierAdmin.obtain_notification_push_consumer(ClientType.STRUCTURED_EVENT,_proxyIdHolder)); Assert.assertEquals(pushConsumer_.MyType(), ProxyType.PUSH_STRUCTURED); pushConsumer_.connect_structured_push_supplier(sender); connected_ = true; }
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/b2aa91a672be3f8bd14c3402b93d9a1d919f304c/StructuredPushSender.java/buggy/test/regression/src/org/jacorb/test/notification/StructuredPushSender.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3077, 12, 1133, 2909, 1904, 16, 13491, 1250, 999, 1162, 13185, 9941, 13, 3639, 1216, 7807, 3039, 10069, 16, 9079, 17009, 8932, 16, 9079, 7807, 2768, 288, 3639, 5452, 18, 11231, 5962, 12, 4327, 1769, 3639, 7362, 2862, 7621, 13254, 2419, 789, 1385, 5793, 56, 1385, 273, 5411, 394, 7362, 2862, 7621, 13254, 2419, 789, 1385, 12, 2211, 1769, 3639, 7362, 2862, 7621, 13254, 5793, 273, 5411, 5793, 56, 1385, 6315, 2211, 12, 3813, 2449, 27799, 588, 916, 38, 10663, 3639, 17216, 4446, 17402, 4446, 273, 5411, 1904, 18, 1886, 67, 2859, 5742, 67, 3666, 5621, 3639, 5452, 18, 11231, 5962, 12, 2859, 5742, 4446, 1769, 3639, 5452, 18, 11231, 8867, 12, 2859, 5742, 4446, 16, 1171, 9079, 1904, 18, 588, 67, 2859, 5742, 3666, 12, 2859, 5742, 4446, 18, 12062, 734, 1435, 10019, 3639, 3094, 6064, 389, 5656, 548, 6064, 273, 394, 3094, 6064, 5621, 3639, 1817, 5869, 67, 273, 5411, 7362, 2862, 3886, 7621, 5869, 2276, 18, 82, 7815, 12, 2859, 5742, 4446, 18, 947, 5977, 67, 9927, 67, 6206, 67, 13230, 12, 1227, 559, 18, 13915, 4830, 40, 67, 10454, 16, 67, 5656, 548, 6064, 10019, 3639, 5452, 18, 11231, 8867, 12, 6206, 5869, 27799, 12062, 559, 9334, 1171, 9079, 7659, 559, 18, 30348, 67, 13915, 4830, 40, 1769, 3639, 1817, 5869, 27799, 3612, 67, 17233, 67, 6206, 67, 2859, 5742, 12, 15330, 1769, 3639, 5840, 67, 273, 638, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3077, 12, 1133, 2909, 1904, 16, 13491, 1250, 999, 1162, 13185, 9941, 13, 3639, 1216, 7807, 3039, 10069, 16, 9079, 17009, 8932, 16, 9079, 7807, 2768, 288, 3639, 5452, 18, 11231, 5962, 12, 4327, 1769, 3639, 7362, 2862, 7621, 13254, 2419, 789, 1385, 5793, 56, 1385, 273, 5411, 394, 7362, 2862, 7621, 13254, 2419, 789, 1385, 12, 2211, 1769, 3639, 7362, 2862, 7621, 13254, 5793, 273, 5411, 5793, 56, 1385, 6315, 2211, 12, 3813, 2449, 27799, 588, 916, 38, 10663, 3639, 17216, 4446, 17402, 4446, 273, 5411, 1904, 18, 1886, 67, 2859, 5742, 67, 3666, 5621, 3639, 5452, 18, 11231, 5962, 12, 2859, 5742, 4446, 1769, 3639, 5452, 18, 11231, 8867, 12, 2859, 5742, 4446, 16, 2 ]
try { setOnfocus((String) evalAttr("onfocus", getOnfocusExpr(), String.class)); } catch (NullAttributeException ex) { }
if ((string = EvalHelper.evalString("ondblclick", getOndblclickExpr(), this, pageContext)) != null) setOndblclick(string);
private void evaluateExpressions() throws JspException { try { setAccesskey((String) evalAttr("accessKey", getAccesskeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setAlt((String) evalAttr("alt", getAltExpr(), String.class)); } catch (NullAttributeException ex) { } try { setAltKey((String) evalAttr("altKey", getAltKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setDisabled(((Boolean) evalAttr("disabled", getDisabledExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setIdName((String) evalAttr("idName", getIdNameExpr(), String.class)); } catch (NullAttributeException ex) { } try { setIndexed(((Boolean) evalAttr("indexed", getIndexedExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setName((String) evalAttr("name", getNameExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnblur((String) evalAttr("onblur", getOnblurExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnchange((String) evalAttr("onchange", getOnchangeExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnclick((String) evalAttr("onclick", getOnclickExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOndblclick((String) evalAttr("ondblclick", getOndblclickExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnfocus((String) evalAttr("onfocus", getOnfocusExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeydown((String) evalAttr("onkeydown", getOnkeydownExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeypress((String) evalAttr("onkeypress", getOnkeypressExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeyup((String) evalAttr("onkeyup", getOnkeyupExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmousedown((String) evalAttr("onmousedown", getOnmousedownExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmousemove((String) evalAttr("onmousemove", getOnmousemoveExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseout((String) evalAttr("onmouseout", getOnmouseoutExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseover((String) evalAttr("onmouseover", getOnmouseoverExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseup((String) evalAttr("onmouseup", getOnmouseupExpr(), String.class)); } catch (NullAttributeException ex) { } try { setProperty((String) evalAttr("property", getPropertyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyle((String) evalAttr("style", getStyleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyleClass((String) evalAttr("styleClass", getStyleClassExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyleId((String) evalAttr("styleId", getStyleIdExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTabindex((String) evalAttr("tabindex", getTabindexExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTitle((String) evalAttr("title", getTitleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTitleKey((String) evalAttr("titleKey", getTitleKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setValue((String) evalAttr("value", getValueExpr(), String.class)); } catch (NullAttributeException ex) { } }
2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/022bd23c954cf673e53731849d562b3c295473f1/ELRadioTag.java/clean/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELRadioTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 1862, 856, 12443, 780, 13, 5302, 3843, 2932, 3860, 653, 3113, 21909, 856, 4742, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 12443, 780, 13, 5302, 3843, 2932, 2390, 3113, 336, 10655, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 653, 12443, 780, 13, 5302, 3843, 2932, 2390, 653, 3113, 336, 10655, 653, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 8853, 12443, 12, 5507, 13, 5302, 3843, 2932, 9278, 3113, 336, 8853, 4742, 9334, 4766, 5411, 3411, 18, 1106, 13, 2934, 13491, 16708, 10663, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 10446, 461, 12443, 780, 13, 5302, 3843, 2932, 350, 461, 3113, 2634, 461, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 15034, 12443, 12, 5507, 13, 5302, 3843, 2932, 19626, 3113, 8088, 329, 4742, 9334, 4766, 6647, 3411, 18, 1106, 13, 2934, 15604, 16708, 10663, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 6788, 12443, 780, 13, 5302, 3843, 2932, 529, 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, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 1862, 856, 12443, 780, 13, 5302, 3843, 2932, 3860, 653, 3113, 21909, 856, 4742, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 12443, 780, 13, 5302, 3843, 2932, 2390, 3113, 336, 10655, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 653, 12443, 780, 13, 5302, 3843, 2932, 2390, 653, 3113, 336, 10655, 653, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 2 ]
protected boolean isLatinChar(char c) { Character.UnicodeBlock block = Character.UnicodeBlock.of(c); if (block == Character.UnicodeBlock.BASIC_LATIN || block == Character.UnicodeBlock.LATIN_1_SUPPLEMENT || block == Character.UnicodeBlock.LATIN_EXTENDED_ADDITIONAL || block == Character.UnicodeBlock.LATIN_EXTENDED_A || block == Character.UnicodeBlock.LATIN_EXTENDED_B) { return true; } else { return false; } }
46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/792794ccd7fe962007f2619e9327e785b859ecfe/GlyphLayout.java/clean/sources/org/apache/batik/gvt/text/GlyphLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 353, 6607, 267, 2156, 12, 3001, 276, 13, 288, 3639, 6577, 18, 16532, 1768, 1203, 273, 6577, 18, 16532, 1768, 18, 792, 12, 71, 1769, 7734, 309, 261, 2629, 422, 6577, 18, 16532, 1768, 18, 25642, 67, 20095, 747, 5411, 1203, 422, 6577, 18, 16532, 1768, 18, 20095, 67, 21, 67, 13272, 52, 7618, 747, 5411, 1203, 422, 6577, 18, 16532, 1768, 18, 20095, 67, 4142, 22088, 67, 8355, 30525, 747, 5411, 1203, 422, 6577, 18, 16532, 1768, 18, 20095, 67, 4142, 22088, 67, 37, 747, 5411, 1203, 422, 6577, 18, 16532, 1768, 18, 20095, 67, 4142, 22088, 67, 38, 13, 288, 5411, 327, 638, 31, 3639, 289, 469, 288, 5411, 327, 629, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 353, 6607, 267, 2156, 12, 3001, 276, 13, 288, 3639, 6577, 18, 16532, 1768, 1203, 273, 6577, 18, 16532, 1768, 18, 792, 12, 71, 1769, 7734, 309, 261, 2629, 422, 6577, 18, 16532, 1768, 18, 25642, 67, 20095, 747, 5411, 1203, 422, 6577, 18, 16532, 1768, 18, 20095, 67, 21, 67, 13272, 52, 7618, 747, 5411, 1203, 422, 6577, 18, 16532, 1768, 18, 20095, 67, 4142, 22088, 67, 8355, 30525, 747, 5411, 1203, 422, 6577, 18, 16532, 1768, 18, 20095, 67, 4142, 22088, 67, 37, 747, 5411, 1203, 422, 6577, 18, 16532, 1768, 18, 20095, 67, 4142, 22088, 67, 38, 13, 288, 5411, 327, 638, 31, 3639, 289, 469, 288, 5411, 327, 629, 31, 3639, 289, 2 ]
public MICommand(String oper, String[] param) {
public MICommand(String oper) {
public MICommand(String oper, String[] param) { this.operation = oper; this.parameters = param; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/9b08976a71f22f4a0b30d74daf72892799002c1b/MICommand.java/buggy/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MICommand.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 20806, 2189, 12, 780, 2255, 16, 514, 8526, 579, 13, 288, 202, 202, 2211, 18, 7624, 273, 2255, 31, 202, 202, 2211, 18, 3977, 273, 579, 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,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100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 true;
private boolean createExistingProject(final ProjectRecord record) { String projectName = record.getProjectName(); final IWorkspace workspace = ResourcesPlugin.getWorkspace(); final IProject project = workspace.getRoot().getProject(projectName); if (record.description == null) { record.description = workspace.newProjectDescription(projectName); IPath locationPath = new Path(record.projectFile.getAbsolutePath()); // If it is under the root use the default location if (Platform.getLocation().isPrefixOf(locationPath)) record.description.setLocation(null); else record.description.setLocation(locationPath); } else record.description.setName(projectName); // create the new project operation WorkspaceModifyOperation op = new WorkspaceModifyOperation() { protected void execute(IProgressMonitor monitor) throws CoreException { monitor.beginTask("", 2000); //$NON-NLS-1$ project.create(record.description, new SubProgressMonitor( monitor, 1000)); if (monitor.isCanceled()) throw new OperationCanceledException(); project.open(IResource.BACKGROUND_REFRESH, new SubProgressMonitor(monitor, 1000)); } }; // run the new project creation operation try { getContainer().run(true, true, op); } catch (InterruptedException e) { return false; } catch (InvocationTargetException e) { // ie.- one of the steps resulted in a core exception Throwable t = e.getTargetException(); if (t instanceof CoreException) { if (((CoreException) t).getStatus().getCode() == IResourceStatus.CASE_VARIANT_EXISTS) { MessageDialog.openError(getShell(), "", //$NON-NLS-1$ "" //$NON-NLS-1$ ); } else { ErrorDialog.openError(getShell(), "", //$NON-NLS-1$ null, ((CoreException) t).getStatus()); } } return false; } return true; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/c5b53db04b762448fd28aa367df5e50427bbd70d/WizardProjectsImportPage.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 752, 9895, 4109, 12, 6385, 5420, 2115, 1409, 13, 288, 202, 202, 780, 17234, 273, 1409, 18, 588, 4109, 461, 5621, 202, 202, 6385, 467, 8241, 6003, 273, 8128, 3773, 18, 588, 8241, 5621, 202, 202, 6385, 467, 4109, 1984, 273, 6003, 18, 588, 2375, 7675, 588, 4109, 12, 4406, 461, 1769, 202, 202, 430, 261, 3366, 18, 3384, 422, 446, 13, 288, 1082, 202, 3366, 18, 3384, 273, 6003, 18, 2704, 4109, 3291, 12, 4406, 461, 1769, 1082, 202, 45, 743, 2117, 743, 273, 394, 2666, 12, 3366, 18, 4406, 812, 18, 588, 10368, 743, 10663, 1082, 202, 759, 971, 518, 353, 3613, 326, 1365, 999, 326, 805, 2117, 1082, 202, 430, 261, 8201, 18, 588, 2735, 7675, 291, 2244, 951, 12, 3562, 743, 3719, 9506, 202, 3366, 18, 3384, 18, 542, 2735, 12, 2011, 1769, 1082, 202, 12107, 9506, 202, 3366, 18, 3384, 18, 542, 2735, 12, 3562, 743, 1769, 202, 202, 97, 469, 1082, 202, 3366, 18, 3384, 18, 542, 461, 12, 4406, 461, 1769, 202, 202, 759, 752, 326, 394, 1984, 1674, 202, 202, 8241, 11047, 2988, 1061, 273, 394, 14396, 11047, 2988, 1435, 288, 1082, 202, 1117, 918, 1836, 12, 45, 5491, 7187, 6438, 13, 6862, 202, 15069, 30015, 288, 9506, 202, 10259, 18, 10086, 2174, 2932, 3113, 16291, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 4406, 18, 2640, 12, 3366, 18, 3384, 16, 394, 2592, 5491, 7187, 12, 25083, 202, 10259, 16, 4336, 10019, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 752, 9895, 4109, 12, 6385, 5420, 2115, 1409, 13, 288, 202, 202, 780, 17234, 273, 1409, 18, 588, 4109, 461, 5621, 202, 202, 6385, 467, 8241, 6003, 273, 8128, 3773, 18, 588, 8241, 5621, 202, 202, 6385, 467, 4109, 1984, 273, 6003, 18, 588, 2375, 7675, 588, 4109, 12, 4406, 461, 1769, 202, 202, 430, 261, 3366, 18, 3384, 422, 446, 13, 288, 1082, 202, 3366, 18, 3384, 273, 6003, 18, 2704, 4109, 3291, 12, 4406, 461, 1769, 1082, 202, 45, 743, 2117, 743, 273, 394, 2666, 12, 3366, 18, 4406, 812, 18, 588, 10368, 743, 10663, 1082, 202, 759, 971, 518, 353, 3613, 326, 1365, 999, 326, 805, 2117, 1082, 202, 430, 261, 8201, 2 ]
if (contentType.equals("elemOnly")) return elemOnly; else if (contentType.equals("textOnly")) return textOnly; else if (contentType.equals("mixed")) return mixed; else if (contentType.equals("empty")) return empty; else if (contentType.equals("any")) return any;
if (contentType.equals(names[ELEMENT_ONLY])) return elemOnly; else if (contentType.equals(names[TEXT_ONLY])) return textOnly; else if (contentType.equals(names[MIXED])) return mixed; else if (contentType.equals(names[EMPTY])) return empty; else if (contentType.equals(names[ANY])) return any;
public static ContentType valueOf(String contentType) throws IllegalArgumentException { if (contentType.equals("elemOnly")) return elemOnly; else if (contentType.equals("textOnly")) return textOnly; else if (contentType.equals("mixed")) return mixed; else if (contentType.equals("empty")) return empty; else if (contentType.equals("any")) return any; else { String err = contentType; err += " is not a valid ContentType"; throw new IllegalArgumentException(err); } } //-- valueOf
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/ff1a52c96715e96dfcc67fbb50bc177b22f64cb3/ContentType.java/buggy/trunk/castor-2002/castor/src/main/org/exolab/castor/xml/schema/ContentType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 11691, 4323, 12, 780, 5064, 13, 540, 1216, 2754, 377, 288, 3639, 309, 261, 22194, 18, 14963, 2932, 10037, 3386, 6, 3719, 327, 3659, 3386, 31, 3639, 469, 309, 261, 22194, 18, 14963, 2932, 955, 3386, 6, 3719, 327, 977, 3386, 31, 3639, 469, 309, 261, 22194, 18, 14963, 2932, 19562, 6, 3719, 327, 7826, 31, 3639, 469, 309, 261, 22194, 18, 14963, 2932, 5531, 6, 3719, 327, 1008, 31, 3639, 469, 309, 261, 22194, 18, 14963, 2932, 2273, 6, 3719, 327, 1281, 31, 3639, 469, 288, 5411, 514, 393, 273, 5064, 31, 5411, 393, 1011, 315, 353, 486, 279, 923, 11691, 14432, 5411, 604, 394,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 11691, 4323, 12, 780, 5064, 13, 540, 1216, 2754, 377, 288, 3639, 309, 261, 22194, 18, 14963, 2932, 10037, 3386, 6, 3719, 327, 3659, 3386, 31, 3639, 469, 309, 261, 22194, 18, 14963, 2932, 955, 3386, 6, 3719, 327, 977, 3386, 31, 3639, 469, 309, 261, 22194, 18, 14963, 2932, 19562, 6, 3719, 327, 7826, 31, 3639, 469, 309, 261, 22194, 18, 14963, 2932, 5531, 6, 3719, 327, 1008, 31, 3639, 469, 309, 261, 22194, 18, 14963, 2932, 2273, 6, 3719, 327, 1281, 31, 3639, 469, 288, 5411, 514, 393, 273, 5064, 31, 5411, 393, 1011, 315, 353, 486, 279, 923, 11691, 14432, 5411, 604, 394, 2754, 12, 370, 1769, 3639, 289, 565, 289, 368, 413, 2 ]
log.error("\nLink <local host> <local port> <remote host> <remote port>\n");
System.err.println("\nLink <local host> <local port> <remote host> <remote port>\n");
public static void main(String[] args) { String local, remote; int local_port, remote_port; if(args.length != 4) { log.error("\nLink <local host> <local port> <remote host> <remote port>\n"); return; } local=args[0]; remote=args[2]; local_port=Integer.parseInt(args[1]); remote_port=Integer.parseInt(args[3]); Link l=new Link(local, local_port, remote, remote_port, new MyReceiver()); try { l.start(); System.out.println(l); BufferedReader in= new BufferedReader(new InputStreamReader(System.in)); while(true) { System.out.print("> "); System.out.flush(); String line=in.readLine(); l.send(line.getBytes()); } } catch(Exception e) { log.error(e); } }
48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/5ad015d9a78e1da3350d9b398b46b2f5d4508564/Link.java/clean/src/org/jgroups/blocks/Link.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 202, 780, 282, 1191, 16, 2632, 31, 202, 474, 1377, 1191, 67, 655, 16, 2632, 67, 655, 31, 202, 430, 12, 1968, 18, 2469, 480, 1059, 13, 288, 202, 565, 613, 18, 1636, 31458, 82, 2098, 411, 3729, 1479, 34, 411, 3729, 1756, 34, 411, 7222, 1479, 34, 411, 7222, 1756, 5333, 82, 8863, 202, 565, 327, 31, 202, 97, 202, 3729, 33, 1968, 63, 20, 15533, 202, 7222, 33, 1968, 63, 22, 15533, 202, 3729, 67, 655, 33, 4522, 18, 2670, 1702, 12, 1968, 63, 21, 19226, 202, 7222, 67, 655, 33, 4522, 18, 2670, 1702, 12, 1968, 63, 23, 19226, 202, 2098, 328, 33, 2704, 4048, 12, 3729, 16, 1191, 67, 655, 16, 2632, 16, 2632, 67, 655, 16, 394, 8005, 12952, 10663, 202, 698, 288, 202, 565, 328, 18, 1937, 5621, 202, 565, 2332, 18, 659, 18, 8222, 12, 80, 1769, 202, 377, 202, 565, 10633, 316, 33, 394, 10633, 12, 2704, 15322, 12, 3163, 18, 267, 10019, 202, 377, 202, 565, 1323, 12, 3767, 13, 288, 202, 202, 3163, 18, 659, 18, 1188, 2932, 34, 315, 1769, 2332, 18, 659, 18, 11330, 5621, 202, 202, 780, 980, 33, 267, 18, 896, 1670, 5621, 202, 202, 80, 18, 4661, 12, 1369, 18, 588, 2160, 10663, 202, 565, 289, 202, 97, 202, 14683, 12, 503, 425, 13, 288, 202, 565, 613, 18, 1636, 12, 73, 1769, 202, 97, 565, 289, 2, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 202, 780, 282, 1191, 16, 2632, 31, 202, 474, 1377, 1191, 67, 655, 16, 2632, 67, 655, 31, 202, 430, 12, 1968, 18, 2469, 480, 1059, 13, 288, 202, 565, 613, 18, 1636, 31458, 82, 2098, 411, 3729, 1479, 34, 411, 3729, 1756, 34, 411, 7222, 1479, 34, 411, 7222, 1756, 5333, 82, 8863, 202, 565, 327, 31, 202, 97, 202, 3729, 33, 1968, 63, 20, 15533, 202, 7222, 33, 1968, 63, 22, 15533, 202, 3729, 67, 655, 33, 4522, 18, 2670, 1702, 12, 1968, 63, 21, 19226, 202, 7222, 67, 655, 33, 4522, 18, 2670, 1702, 12, 1968, 63, 23, 19226, 202, 2098, 328, 33, 2704, 4048, 2 ]
PluginAction proxy = (PluginAction) getAction(); if (proxy != null) { if (proxy.getDelegate() instanceof IActionDelegate2) { ((IActionDelegate2) proxy.getDelegate()).dispose(); }
PluginAction pluginAction = (PluginAction) getAction(); if (pluginAction != null) { pluginAction.disposeDelegate();
public void dispose() { PluginAction proxy = (PluginAction) getAction(); if (proxy != null) { if (proxy.getDelegate() instanceof IActionDelegate2) { ((IActionDelegate2) proxy.getDelegate()).dispose(); } } PlatformUI.getWorkbench().getActivitySupport().getActivityManager() .removeActivityManagerListener(this); disposeIdentifier(); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/f7f7b60d48a71e9564e65b8f312a11a6a6dc8fcf/PluginActionContributionItem.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PluginActionContributionItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 15825, 1435, 288, 3639, 6258, 1803, 2889, 273, 261, 3773, 1803, 13, 12473, 5621, 3639, 309, 261, 5656, 480, 446, 13, 288, 5411, 309, 261, 5656, 18, 588, 9586, 1435, 1276, 467, 1803, 9586, 22, 13, 288, 7734, 14015, 45, 1803, 9586, 22, 13, 2889, 18, 588, 9586, 1435, 2934, 2251, 4150, 5621, 5411, 289, 3639, 289, 3639, 11810, 5370, 18, 588, 2421, 22144, 7675, 588, 6193, 6289, 7675, 588, 6193, 1318, 1435, 7734, 263, 4479, 6193, 1318, 2223, 12, 2211, 1769, 3639, 15825, 3004, 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, 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 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 15825, 1435, 288, 3639, 6258, 1803, 2889, 273, 261, 3773, 1803, 13, 12473, 5621, 3639, 309, 261, 5656, 480, 446, 13, 288, 5411, 309, 261, 5656, 18, 588, 9586, 1435, 1276, 467, 1803, 9586, 22, 13, 288, 7734, 14015, 45, 1803, 9586, 22, 13, 2889, 18, 588, 9586, 1435, 2934, 2251, 4150, 5621, 5411, 289, 3639, 289, 3639, 11810, 5370, 18, 588, 2421, 22144, 7675, 588, 6193, 6289, 7675, 588, 6193, 1318, 1435, 7734, 263, 4479, 6193, 1318, 2223, 12, 2211, 1769, 3639, 15825, 3004, 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 ]
Message msg = (Message) child; boolean recalcSubject = false; try { getSenderList(); SenderList.ListEntry oldFirst = mSenderList.getEarliest(); int firstId = oldFirst != null ? oldFirst.messageId : -1; if (oldFirst == null) ZimbraLog.mailbox.info("empty conversation sender list before remove: " + mId); mSenderList.remove(msg); SenderList.ListEntry newFirst = mSenderList.getEarliest(); recalcSubject = newFirst == null || firstId != newFirst.messageId; if (newFirst == null) ZimbraLog.mailbox.info("empty conversation sender list after remove: " + mId); } catch (SenderList.RefreshException e) { getSenderList(true); try { mSenderList.remove(msg); } catch (Exception e2) {} recalcSubject = true; } mData.size--; if (recalcSubject) { try { SenderList.ListEntry first = mSenderList.getEarliest(); if (first != null) recalculateSubject(mMailbox.getMessageById(first.messageId)); else ZimbraLog.mailbox.info("empty conversation sender list at subject recalc: " + mId); } catch (MailServiceException.NoSuchItemException nsie) { recalcSubject = false; ZimbraLog.mailbox.warn("can't fetch message " + mSenderList.getEarliest().messageId + " to calculate conv subject"); } } if (recalcSubject) saveData(null); else saveMetadata();
List<Message> msgs = getMessages(SORT_ID_ASCENDING); msgs.remove(child); recalculateMetadata(msgs, true);
void removeChild(MailItem child) throws ServiceException { super.removeChild(child); // remove the last message and the conversation goes away if (getMessageCount() == 0) { delete(); return; } // update inherited tags, if applicable if (mInheritedTagSet != null && (child.mData.tags != 0 || child.mData.flags != 0)) { int oldFlags = mData.flags; long oldTags = mData.tags; if (child.mData.tags != 0) mInheritedTagSet.updateTags(child.mData.tags, false); if (child.mData.flags != 0) mInheritedTagSet.updateFlags(child.mData.flags, false); if (mData.flags != oldFlags) markItemModified(Change.MODIFIED_FLAGS); if (mData.tags != oldTags) markItemModified(Change.MODIFIED_TAGS); } markItemModified(Change.MODIFIED_SIZE | Change.MODIFIED_SENDERS); Message msg = (Message) child; boolean recalcSubject = false; try { getSenderList(); // find the id of the old "first message" in the conversation SenderList.ListEntry oldFirst = mSenderList.getEarliest(); int firstId = oldFirst != null ? oldFirst.messageId : -1; if (oldFirst == null) ZimbraLog.mailbox.info("empty conversation sender list before remove: " + mId); // remove the message from the cached sender list mSenderList.remove(msg); // and determine if the "first message" in the conversation has changed SenderList.ListEntry newFirst = mSenderList.getEarliest(); recalcSubject = newFirst == null || firstId != newFirst.messageId; if (newFirst == null) ZimbraLog.mailbox.info("empty conversation sender list after remove: " + mId); } catch (SenderList.RefreshException e) { // get a no-gaps version of the SenderList, so there's no chance that the remove can throw an exception getSenderList(true); try { mSenderList.remove(msg); } catch (Exception e2) {} recalcSubject = true; } // need to postpone this until *after* any sender list recalculation, as that can reset the conversation size mData.size--; if (recalcSubject) { try { SenderList.ListEntry first = mSenderList.getEarliest(); if (first != null) recalculateSubject(mMailbox.getMessageById(first.messageId)); else ZimbraLog.mailbox.info("empty conversation sender list at subject recalc: " + mId); } catch (MailServiceException.NoSuchItemException nsie) { recalcSubject = false; ZimbraLog.mailbox.warn("can't fetch message " + mSenderList.getEarliest().messageId + " to calculate conv subject"); } } if (recalcSubject) saveData(null); else saveMetadata(); }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/596ce0d7c062c13b7655937418ccce2b30b42165/Conversation.java/buggy/ZimbraServer/src/java/com/zimbra/cs/mailbox/Conversation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 14213, 12, 6759, 1180, 1151, 13, 1216, 16489, 288, 3639, 2240, 18, 4479, 1763, 12, 3624, 1769, 3639, 368, 1206, 326, 1142, 883, 471, 326, 10039, 13998, 10804, 3639, 309, 261, 24906, 1380, 1435, 422, 374, 13, 288, 5411, 1430, 5621, 5411, 327, 31, 3639, 289, 3639, 368, 1089, 12078, 2342, 16, 309, 12008, 3639, 309, 261, 81, 29078, 1805, 694, 480, 446, 597, 261, 3624, 18, 81, 751, 18, 4156, 480, 374, 747, 1151, 18, 81, 751, 18, 7133, 480, 374, 3719, 288, 5411, 509, 1592, 5094, 273, 312, 751, 18, 7133, 31, 5411, 1525, 1592, 3453, 273, 312, 751, 18, 4156, 31, 5411, 309, 261, 3624, 18, 81, 751, 18, 4156, 480, 374, 13, 7734, 312, 29078, 1805, 694, 18, 2725, 3453, 12, 3624, 18, 81, 751, 18, 4156, 16, 629, 1769, 5411, 309, 261, 3624, 18, 81, 751, 18, 7133, 480, 374, 13, 7734, 312, 29078, 1805, 694, 18, 2725, 5094, 12, 3624, 18, 81, 751, 18, 7133, 16, 629, 1769, 5411, 309, 261, 81, 751, 18, 7133, 480, 1592, 5094, 13, 225, 2267, 1180, 4575, 12, 3043, 18, 21143, 67, 17836, 1769, 5411, 309, 261, 81, 751, 18, 4156, 480, 1592, 3453, 13, 565, 2267, 1180, 4575, 12, 3043, 18, 21143, 67, 29915, 1769, 3639, 289, 3639, 2267, 1180, 4575, 12, 3043, 18, 21143, 67, 4574, 571, 7576, 18, 21143, 67, 21675, 11367, 1769, 3639, 2350, 1234, 273, 261, 1079, 13, 1151, 31, 3639, 1250, 283, 12448, 6638, 273, 629, 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, 918, 14213, 12, 6759, 1180, 1151, 13, 1216, 16489, 288, 3639, 2240, 18, 4479, 1763, 12, 3624, 1769, 3639, 368, 1206, 326, 1142, 883, 471, 326, 10039, 13998, 10804, 3639, 309, 261, 24906, 1380, 1435, 422, 374, 13, 288, 5411, 1430, 5621, 5411, 327, 31, 3639, 289, 3639, 368, 1089, 12078, 2342, 16, 309, 12008, 3639, 309, 261, 81, 29078, 1805, 694, 480, 446, 597, 261, 3624, 18, 81, 751, 18, 4156, 480, 374, 747, 1151, 18, 81, 751, 18, 7133, 480, 374, 3719, 288, 5411, 509, 1592, 5094, 273, 312, 751, 18, 7133, 31, 5411, 1525, 1592, 3453, 273, 312, 751, 18, 4156, 31, 5411, 309, 261, 3624, 18, 81, 751, 18, 4156, 480, 374, 13, 7734, 2 ]
public org.quickfix.field.EncodedText getEncodedText() throws FieldNotFound { org.quickfix.field.EncodedText value = new org.quickfix.field.EncodedText();
public quickfix.field.EncodedText getEncodedText() throws FieldNotFound { quickfix.field.EncodedText value = new quickfix.field.EncodedText();
public org.quickfix.field.EncodedText getEncodedText() throws FieldNotFound { org.quickfix.field.EncodedText value = new org.quickfix.field.EncodedText(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/ListStatus.java/clean/src/java/src/quickfix/fix43/ListStatus.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 1528, 28799, 1528, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 1528, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 1528, 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, 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799, 1528, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 1528, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 1528, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static Object get(final Object obj) { return getDefaults().get(obj);
public static Object get(final Object obj, final Locale locale) { return getDefaults().get(obj, locale);
public static Object get(final Object obj) { return getDefaults().get(obj); }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/9bad25bc3f8f9cc701dfb9555df351ae7577a2d8/UIManager.java/buggy/modules/swing/src/main/java/common/javax/swing/UIManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 336, 12, 6385, 1033, 1081, 13, 288, 3639, 327, 4829, 87, 7675, 588, 12, 2603, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 336, 12, 6385, 1033, 1081, 13, 288, 3639, 327, 4829, 87, 7675, 588, 12, 2603, 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 ]
Driver driver = (Driver) driverComboBox.getSelectedItem(); Patch p = new Patch(patchSysex, driver);
IPatchDriver driver = (IPatchDriver) driverComboBox.getSelectedItem(); IPatch p = driver.createPatch(patchSysex);
protected void pasteIntoSelectedFrame() {// ErrorMsg.reportStatus("SysexGetDialog->pasteIntoSelectedFrame: " + sysexSize); if (sysexSize < 20) return; byte[] patchSysex = new byte[sysexSize]; ListIterator it = queue.listIterator(); for (int size, i = 0; it.hasNext(); i += size) { SysexMessage msg = (SysexMessage) it.next(); size = msg.getLength(); byte[] d = msg.getMessage(); System.arraycopy(d, 0, patchSysex, i, size); } // create Patch Driver driver = (Driver) driverComboBox.getSelectedItem(); Patch p = new Patch(patchSysex, driver); // if Conveter for the patch exist, convert the patch. IPatch[] patarray = (IPatch[])p.dissect(); for (int k = 0; k < patarray.length; k++) { IPatch pk = patarray[k]; StringBuffer patchString = pk.getPatchHeader(); // Maybe you don't get the expected patch! // Check all devices/drivers again! if (!(pk.getDriver().supportsPatch(patchString,pk))) { testforDriver: { for (int i = 0; i < PatchEdit.appConfig.deviceCount(); i++) { // first check the requested device. // then starting index '1'. (index 0 is 'generic driver') Device device = (i == 0) ? pk.getDevice() : AppConfig.getDevice(i); for (int j=0;j<device.driverCount();j++) { Driver d = device.getDriver(j); if (!(d instanceof Converter) && d.supportsPatch(patchString, pk)) { // driver found driver = d; pk.setDriver(driver); driver.trimSysex(pk); JOptionPane.showMessageDialog (null, "You requested a "+driver.toString()+" patch!"+ "\nBut you got a "+pk.getDriver().toString()+" patch.", "Warning", JOptionPane.WARNING_MESSAGE); break testforDriver; } } // end of driver (j) loop } // end of device (i) loop // driver not found pk.setDriver(null); //reset pk.setComment("Probably a " + LookupManufacturer.get(pk.getByteArray()[1], pk.getByteArray()[2], pk.getByteArray()[3]) + " Patch, Size: " + pk.getByteArray().length); JOptionPane.showMessageDialog (null, "You requested a "+driver.toString()+" patch!"+ "\nBut you got a not supported patch!\n"+pk.getComment(), "Warning", JOptionPane.WARNING_MESSAGE); } // testforDriver } // !(pk.getDriver().supportsPatch(patchString,pk)) // paste the patch. try { ((PatchBasket) JSLDesktop.getSelectedFrame()).pastePatch(pk); } catch (Exception ex) { JOptionPane.showMessageDialog (null, "Library to Receive into must be the focused Window.", "Error", JOptionPane.ERROR_MESSAGE); } } // end of k loop }
7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/af6640fd9aa925c4d7044770be761a3432d7c66e/SysexGetDialog.java/clean/JSynthLib/core/SysexGetDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 19401, 5952, 7416, 3219, 1435, 288, 759, 377, 1068, 3332, 18, 6006, 1482, 2932, 10876, 20909, 967, 6353, 2122, 29795, 5952, 7416, 3219, 30, 315, 397, 1393, 20909, 1225, 1769, 565, 309, 261, 9009, 20909, 1225, 411, 4200, 13, 1377, 327, 31, 565, 1160, 8526, 4729, 10876, 20909, 273, 394, 1160, 63, 9009, 20909, 1225, 15533, 565, 987, 3198, 518, 273, 2389, 18, 1098, 3198, 5621, 565, 364, 261, 474, 963, 16, 277, 273, 374, 31, 518, 18, 5332, 2134, 5621, 277, 1011, 963, 13, 288, 1377, 16455, 20909, 1079, 1234, 273, 261, 10876, 20909, 1079, 13, 518, 18, 4285, 5621, 1377, 963, 273, 1234, 18, 588, 1782, 5621, 1377, 1160, 8526, 302, 273, 1234, 18, 24906, 5621, 1377, 2332, 18, 1126, 3530, 12, 72, 16, 374, 16, 4729, 10876, 20909, 16, 277, 16, 963, 1769, 565, 289, 565, 368, 752, 12042, 565, 9396, 3419, 273, 261, 4668, 13, 3419, 22199, 18, 588, 7416, 1180, 5621, 565, 12042, 293, 273, 394, 12042, 12, 2272, 10876, 20909, 16, 3419, 1769, 565, 368, 309, 18263, 847, 364, 326, 4729, 1005, 16, 1765, 326, 4729, 18, 565, 2971, 505, 8526, 9670, 1126, 273, 261, 2579, 505, 63, 5717, 84, 18, 2251, 5709, 5621, 565, 364, 261, 474, 417, 273, 374, 31, 417, 411, 9670, 1126, 18, 2469, 31, 417, 27245, 288, 1377, 2971, 505, 2365, 273, 9670, 1126, 63, 79, 15533, 1377, 6674, 4729, 780, 273, 2365, 18, 588, 7332, 1864, 5621, 1377, 368, 14024, 1846, 2727, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 19401, 5952, 7416, 3219, 1435, 288, 759, 377, 1068, 3332, 18, 6006, 1482, 2932, 10876, 20909, 967, 6353, 2122, 29795, 5952, 7416, 3219, 30, 315, 397, 1393, 20909, 1225, 1769, 565, 309, 261, 9009, 20909, 1225, 411, 4200, 13, 1377, 327, 31, 565, 1160, 8526, 4729, 10876, 20909, 273, 394, 1160, 63, 9009, 20909, 1225, 15533, 565, 987, 3198, 518, 273, 2389, 18, 1098, 3198, 5621, 565, 364, 261, 474, 963, 16, 277, 273, 374, 31, 518, 18, 5332, 2134, 5621, 277, 1011, 963, 13, 288, 1377, 16455, 20909, 1079, 1234, 273, 261, 10876, 20909, 1079, 13, 518, 18, 4285, 5621, 1377, 963, 273, 1234, 18, 588, 1782, 5621, 1377, 1160, 8526, 302, 273, 1234, 18, 2 ]
getSingletonClass().includeModule(module); }
getSingletonClass().includeModule(module); }
public void extendObject(RubyModule module) { getSingletonClass().includeModule(module); }
47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyObject.java/buggy/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2133, 921, 12, 54, 10340, 3120, 1605, 13, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2133, 921, 12, 54, 10340, 3120, 1605, 13, 288, 202, 202, 588, 19571, 797, 7675, 6702, 3120, 12, 2978, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return JobConf.getLocalFile(mapTaskId, "part-"+partition+".out");
return this.jobConf.getLocalFile(mapTaskId, "part-"+partition+".out");
public static File getOutputFile(String mapTaskId, int partition) throws IOException { return JobConf.getLocalFile(mapTaskId, "part-"+partition+".out"); }
1316 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1316/329ff64e9d7295aff108f85e9a8103f5e5f8f398/MapOutputFile.java/buggy/src/java/org/apache/nutch/mapred/MapOutputFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1387, 11062, 812, 12, 780, 852, 30182, 16, 509, 3590, 13, 565, 1216, 1860, 288, 565, 327, 333, 18, 4688, 3976, 18, 588, 2042, 812, 12, 1458, 30182, 16, 315, 2680, 10951, 15, 10534, 9078, 18, 659, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1387, 11062, 812, 12, 780, 852, 30182, 16, 509, 3590, 13, 565, 1216, 1860, 288, 565, 327, 333, 18, 4688, 3976, 18, 588, 2042, 812, 12, 1458, 30182, 16, 315, 2680, 10951, 15, 10534, 9078, 18, 659, 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 ]
public void mMISC() throws RecognitionException { int MISC_StartIndex = input.index(); try { int type = MISC; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; if ( backtracking>0 && alreadyParsedRule(input, 48) ) { return ; } // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1012:17: ( '!' | '@' | '$' | '%' | '^' | '&' | '*' | '_' | '-' | '+' | '|' | ',' | '{' | '}' | '[' | ']' | '=' | '/' | '(' | ')' | '\'' | '\\' | '||' | '&&' | '<<<' | '++' | '--' | '>>>' | '==' | '+=' | '=+' | '-=' | '=-' | '*=' | '=*' | '/=' | '=/' | '>>=' ) int alt1=38; switch ( input.LA(1) ) { case '!': alt1=1; break; case '@': alt1=2; break; case '$': alt1=3; break; case '%': alt1=4; break; case '^': alt1=5; break; case '&': int LA1_6 = input.LA(2); if ( LA1_6=='&' ) { alt1=24; } else { alt1=6;} break; case '*': int LA1_7 = input.LA(2); if ( LA1_7=='=' ) { alt1=34; } else { alt1=7;} break; case '_': alt1=8; break; case '-': switch ( input.LA(2) ) { case '-': alt1=27; break; case '=': alt1=32; break; default: alt1=9;} break; case '+': switch ( input.LA(2) ) { case '+': alt1=26; break; case '=': alt1=30; break; default: alt1=10;} break; case '|': int LA1_11 = input.LA(2); if ( LA1_11=='|' ) { alt1=23; } else { alt1=11;} break; case ',': alt1=12; break; case '{': alt1=13; break; case '}': alt1=14; break; case '[': alt1=15; break; case ']': alt1=16; break; case '=': switch ( input.LA(2) ) { case '+': alt1=31; break; case '-': alt1=33; break; case '=': alt1=29; break; case '/': alt1=37; break; case '*': alt1=35; break; default: alt1=17;} break; case '/': int LA1_18 = input.LA(2); if ( LA1_18=='=' ) { alt1=36; } else { alt1=18;} break; case '(': alt1=19; break; case ')': alt1=20; break; case '\'': alt1=21; break; case '\\': alt1=22; break; case '<': alt1=25; break; case '>': int LA1_24 = input.LA(2); if ( LA1_24=='>' ) { int LA1_45 = input.LA(3); if ( LA1_45=='=' ) { alt1=38; } else if ( LA1_45=='>' ) { alt1=28; } else { if (backtracking>0) {failed=true; return ;} NoViableAltException nvae = new NoViableAltException("1011:1: MISC : ( \'!\' | \'@\' | \'$\' | \'%\' | \'^\' | \'&\' | \'*\' | \'_\' | \'-\' | \'+\' | \'|\' | \',\' | \'{\' | \'}\' | \'[\' | \']\' | \'=\' | \'/\' | \'(\' | \')\' | \'\\\'\' | \'\\\\\' | \'||\' | \'&&\' | \'<<<\' | \'++\' | \'--\' | \'>>>\' | \'==\' | \'+=\' | \'=+\' | \'-=\' | \'=-\' | \'*=\' | \'=*\' | \'/=\' | \'=/\' | \'>>=\' );", 1, 45, input); throw nvae; } } else { if (backtracking>0) {failed=true; return ;} NoViableAltException nvae = new NoViableAltException("1011:1: MISC : ( \'!\' | \'@\' | \'$\' | \'%\' | \'^\' | \'&\' | \'*\' | \'_\' | \'-\' | \'+\' | \'|\' | \',\' | \'{\' | \'}\' | \'[\' | \']\' | \'=\' | \'/\' | \'(\' | \')\' | \'\\\'\' | \'\\\\\' | \'||\' | \'&&\' | \'<<<\' | \'++\' | \'--\' | \'>>>\' | \'==\' | \'+=\' | \'=+\' | \'-=\' | \'=-\' | \'*=\' | \'=*\' | \'/=\' | \'=/\' | \'>>=\' );", 1, 24, input); throw nvae; } break; default: if (backtracking>0) {failed=true; return ;} NoViableAltException nvae = new NoViableAltException("1011:1: MISC : ( \'!\' | \'@\' | \'$\' | \'%\' | \'^\' | \'&\' | \'*\' | \'_\' | \'-\' | \'+\' | \'|\' | \',\' | \'{\' | \'}\' | \'[\' | \']\' | \'=\' | \'/\' | \'(\' | \')\' | \'\\\'\' | \'\\\\\' | \'||\' | \'&&\' | \'<<<\' | \'++\' | \'--\' | \'>>>\' | \'==\' | \'+=\' | \'=+\' | \'-=\' | \'=-\' | \'*=\' | \'=*\' | \'/=\' | \'=/\' | \'>>=\' );", 1, 0, input); throw nvae; } switch (alt1) { case 1 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1012:17: '!' { match('!'); if (failed) return ; } break; case 2 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1012:23: '@' { match('@'); if (failed) return ; } break; case 3 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1012:29: '$' { match('$'); if (failed) return ; } break; case 4 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1012:35: '%' { match('%'); if (failed) return ; } break; case 5 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1012:41: '^' { match('^'); if (failed) return ; } break; case 6 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1012:47: '&' { match('&'); if (failed) return ; } break; case 7 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1012:53: '*' { match('*'); if (failed) return ; } break; case 8 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1012:59: '_' { match('_'); if (failed) return ; } break; case 9 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1012:65: '-' { match('-'); if (failed) return ; } break; case 10 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1012:71: '+' { match('+'); if (failed) return ; } break; case 11 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1013:19: '|' { match('|'); if (failed) return ; } break; case 12 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1013:25: ',' { match(','); if (failed) return ; } break; case 13 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1013:31: '{' { match('{'); if (failed) return ; } break; case 14 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1013:37: '}' { match('}'); if (failed) return ; } break; case 15 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1013:43: '[' { match('['); if (failed) return ; } break; case 16 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1013:49: ']' { match(']'); if (failed) return ; } break; case 17 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1013:55: '=' { match('='); if (failed) return ; } break; case 18 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1013:61: '/' { match('/'); if (failed) return ; } break; case 19 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1013:67: '(' { match('('); if (failed) return ; } break; case 20 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1013:73: ')' { match(')'); if (failed) return ; } break; case 21 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1013:79: '\'' { match('\''); if (failed) return ; } break; case 22 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1013:86: '\\' { match('\\'); if (failed) return ; } break; case 23 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1014:19: '||' { match("||"); if (failed) return ; } break; case 24 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1014:26: '&&' { match("&&"); if (failed) return ; } break; case 25 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1014:33: '<<<' { match("<<<"); if (failed) return ; } break; case 26 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1014:41: '++' { match("++"); if (failed) return ; } break; case 27 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1014:48: '--' { match("--"); if (failed) return ; } break; case 28 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1014:55: '>>>' { match(">>>"); if (failed) return ; } break; case 29 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1014:63: '==' { match("=="); if (failed) return ; } break; case 30 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1014:70: '+=' { match("+="); if (failed) return ; } break; case 31 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1014:77: '=+' { match("=+"); if (failed) return ; } break; case 32 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1014:84: '-=' { match("-="); if (failed) return ; } break; case 33 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1014:91: '=-' { match("=-"); if (failed) return ; } break; case 34 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1014:97: '*=' { match("*="); if (failed) return ; } break; case 35 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1014:104: '=*' { match("=*"); if (failed) return ; } break; case 36 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1015:19: '/=' { match("/="); if (failed) return ; } break; case 37 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1015:26: '=/' { match("=/"); if (failed) return ; } break; case 38 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1015:33: '>>=' { match(">>="); if (failed) return ; } break; } if ( token==null ) {emit(type,line,charPosition,channel,start,getCharIndex()-1);} } finally { if ( backtracking>0 ) { memoize(input, 48, MISC_StartIndex); } } }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/cb210a30853642e270a3bba6ce570409f6046852/RuleParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 7492, 2312, 1435, 1216, 9539, 288, 3639, 509, 20806, 2312, 67, 16792, 273, 810, 18, 1615, 5621, 3639, 775, 288, 5411, 509, 618, 273, 20806, 2312, 31, 5411, 509, 787, 273, 23577, 1016, 5621, 5411, 509, 980, 273, 9851, 5621, 5411, 509, 1149, 2555, 273, 23577, 2555, 382, 1670, 5621, 5411, 509, 1904, 273, 3155, 18, 5280, 67, 15814, 31, 5411, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 9934, 13, 262, 288, 327, 274, 289, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 15168, 22, 30, 4033, 30, 261, 15502, 571, 9175, 571, 11874, 571, 9089, 571, 19161, 571, 9824, 571, 5306, 571, 4427, 571, 4014, 571, 10058, 571, 8030, 571, 3316, 571, 9790, 571, 9571, 571, 8375, 571, 8641, 571, 5214, 571, 2023, 571, 7321, 571, 5777, 571, 15053, 571, 5282, 571, 6699, 16637, 571, 5183, 26045, 571, 2368, 17685, 11, 571, 15126, 6797, 571, 16979, 571, 296, 9778, 1870, 571, 22853, 571, 15126, 2218, 571, 15196, 6797, 571, 2400, 2218, 571, 15196, 6627, 571, 14609, 2218, 571, 15196, 4035, 571, 1173, 2218, 571, 15196, 2473, 571, 296, 9778, 2218, 262, 5411, 509, 3770, 21, 33, 7414, 31, 5411, 1620, 261, 810, 18, 2534, 12, 21, 13, 262, 288, 5411, 648, 11817, 4278, 7734, 3770, 21, 33, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 7492, 2312, 1435, 1216, 9539, 288, 3639, 509, 20806, 2312, 67, 16792, 273, 810, 18, 1615, 5621, 3639, 775, 288, 5411, 509, 618, 273, 20806, 2312, 31, 5411, 509, 787, 273, 23577, 1016, 5621, 5411, 509, 980, 273, 9851, 5621, 5411, 509, 1149, 2555, 273, 23577, 2555, 382, 1670, 5621, 5411, 509, 1904, 273, 3155, 18, 5280, 67, 15814, 31, 5411, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 9934, 13, 262, 288, 327, 274, 289, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 2 ]
assertEquals("orange-"+oldCount, fruit0.getName());
assertEquals("orange-" + oldCount, fruit0.getName());
public void testWithSubst() throws Exception { List<FruitShell> fsList = doFirstPart("fruitWithSubst.xml"); assertNotNull(fsList); assertEquals(1, fsList.size()); FruitShell fs0 = fsList.get(0); assertNotNull(fs0); assertEquals("fs0", fs0.getName()); int oldCount = FruitFactory.count; Fruit fruit0 = fs0.fruitFactory.buildFruit(); assertTrue(fruit0 instanceof WeightytFruit); assertEquals("orange-"+oldCount, fruit0.getName()); assertEquals(1.2, ((WeightytFruit) fruit0).getWeight()); }
52049 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52049/b17afdd922fb715ce4d262907d6b474541e9bd32/FruitConfigurationTest.java/clean/logback-core/src/test/java/ch/qos/logback/core/joran/replay/FruitConfigurationTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 1190, 1676, 334, 1435, 1216, 1185, 288, 565, 987, 32, 7167, 14945, 13220, 34, 2662, 682, 273, 741, 3759, 1988, 2932, 4840, 14945, 1190, 1676, 334, 18, 2902, 8863, 565, 25395, 12, 2556, 682, 1769, 565, 1815, 8867, 12, 21, 16, 2662, 682, 18, 1467, 10663, 565, 478, 8653, 305, 13220, 2662, 20, 273, 2662, 682, 18, 588, 12, 20, 1769, 565, 25395, 12, 2556, 20, 1769, 565, 1815, 8867, 2932, 2556, 20, 3113, 2662, 20, 18, 17994, 10663, 565, 509, 1592, 1380, 273, 478, 8653, 305, 1733, 18, 1883, 31, 565, 478, 8653, 305, 3812, 14945, 20, 273, 2662, 20, 18, 4840, 14945, 1733, 18, 3510, 7167, 14945, 5621, 565, 1815, 5510, 12, 4840, 14945, 20, 1276, 15437, 93, 88, 7167, 14945, 1769, 565, 1815, 8867, 2932, 280, 726, 10951, 397, 1592, 1380, 16, 3812, 14945, 20, 18, 17994, 10663, 565, 1815, 8867, 12, 21, 18, 22, 16, 14015, 6544, 93, 88, 7167, 14945, 13, 3812, 14945, 20, 2934, 588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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 1190, 1676, 334, 1435, 1216, 1185, 288, 565, 987, 32, 7167, 14945, 13220, 34, 2662, 682, 273, 741, 3759, 1988, 2932, 4840, 14945, 1190, 1676, 334, 18, 2902, 8863, 565, 25395, 12, 2556, 682, 1769, 565, 1815, 8867, 12, 21, 16, 2662, 682, 18, 1467, 10663, 565, 478, 8653, 305, 13220, 2662, 20, 273, 2662, 682, 18, 588, 12, 20, 1769, 565, 25395, 12, 2556, 20, 1769, 565, 1815, 8867, 2932, 2556, 20, 3113, 2662, 20, 18, 17994, 10663, 565, 509, 1592, 1380, 273, 478, 8653, 305, 1733, 18, 1883, 31, 565, 478, 8653, 305, 3812, 14945, 20, 273, 2662, 20, 18, 4840, 14945, 1733, 18, 3510, 7167, 14945, 5621, 565, 1815, 5510, 12, 4840, 2 ]
java.util.List neighbours = ac.getConnectedAtomsList(atom); int acounter = 0; for (int i = 0; i < neighbours.size(); i++) { IAtom neighbour = (IAtom)neighbours.get(i); if (neighbour.getSymbol().equals("F") || neighbour.getSymbol().equals("I") || neighbour.getSymbol().equals("Cl") || neighbour.getSymbol().equals("Br")) { acounter += 1; } } return acounter; }
java.util.List neighbours = ac.getConnectedAtomsList(atom); int acounter = 0; for (int i = 0; i < neighbours.size(); i++) { IAtom neighbour = (IAtom)neighbours.get(i); if (neighbour.getSymbol().equals("F") || neighbour.getSymbol().equals("I") || neighbour.getSymbol().equals("Cl") || neighbour.getSymbol().equals("Br")) { acounter += 1; } } return acounter; }
private int getHalogenCount(IAtomContainer ac, org.openscience.cdk.interfaces.IAtom atom) { java.util.List neighbours = ac.getConnectedAtomsList(atom); int acounter = 0; for (int i = 0; i < neighbours.size(); i++) { IAtom neighbour = (IAtom)neighbours.get(i); if (neighbour.getSymbol().equals("F") || neighbour.getSymbol().equals("I") || neighbour.getSymbol().equals("Cl") || neighbour.getSymbol().equals("Br")) { acounter += 1; } } return acounter; }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/76f1c3db1c889a4fd7bd9dd2e93ee1e9a39ec301/XLogPDescriptor.java/clean/src/org/openscience/cdk/qsar/descriptors/molecular/XLogPDescriptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 509, 7628, 6238, 275, 1380, 12, 45, 3641, 2170, 1721, 16, 2358, 18, 20346, 71, 6254, 18, 71, 2883, 18, 15898, 18, 45, 3641, 3179, 13, 288, 202, 202, 6290, 18, 1367, 18, 682, 27662, 273, 1721, 18, 588, 8932, 14280, 682, 12, 7466, 1769, 202, 202, 474, 1721, 2096, 273, 374, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 27662, 18, 1467, 5621, 277, 27245, 288, 1082, 202, 45, 3641, 16497, 273, 261, 45, 3641, 13, 11166, 4390, 18, 588, 12, 77, 1769, 1082, 202, 430, 261, 11166, 477, 18, 588, 5335, 7675, 14963, 2932, 42, 7923, 747, 16497, 18, 588, 5335, 7675, 14963, 2932, 45, 7923, 747, 16497, 18, 588, 5335, 7675, 14963, 2932, 2009, 7923, 747, 16497, 18, 588, 5335, 7675, 14963, 2932, 19114, 6, 3719, 288, 9506, 202, 1077, 2096, 1011, 404, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 1721, 2096, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 509, 7628, 6238, 275, 1380, 12, 45, 3641, 2170, 1721, 16, 2358, 18, 20346, 71, 6254, 18, 71, 2883, 18, 15898, 18, 45, 3641, 3179, 13, 288, 202, 202, 6290, 18, 1367, 18, 682, 27662, 273, 1721, 18, 588, 8932, 14280, 682, 12, 7466, 1769, 202, 202, 474, 1721, 2096, 273, 374, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 27662, 18, 1467, 5621, 277, 27245, 288, 1082, 202, 45, 3641, 16497, 273, 261, 45, 3641, 13, 11166, 4390, 18, 588, 12, 77, 1769, 1082, 202, 430, 261, 11166, 477, 18, 588, 5335, 7675, 14963, 2932, 42, 7923, 747, 16497, 18, 588, 5335, 7675, 14963, 2932, 45, 7923, 747, 16497, 18, 588, 2 ]
source.append((char)ts.LC); source.append((char)ts.EOL);
sourceAdd((char)ts.LC); sourceAdd((char)ts.EOL);
private Object statementHelper(TokenStream ts, Source source) throws IOException, JavaScriptException { Object pn = null; // If skipsemi == true, don't add SEMI + EOL to source at the // end of this statment. For compound statements, IF/FOR etc. boolean skipsemi = false; int tt; int lastExprType = 0; // For wellTerminated. 0 to avoid warning. tt = ts.getToken(); switch(tt) { case TokenStream.IF: { skipsemi = true; source.append((char)ts.IF); int lineno = ts.getLineno(); Object cond = condition(ts, source); source.append((char)ts.LC); source.append((char)ts.EOL); Object ifTrue = statement(ts, source); Object ifFalse = null; if (ts.matchToken(ts.ELSE)) { source.append((char)ts.RC); source.append((char)ts.ELSE); source.append((char)ts.LC); source.append((char)ts.EOL); ifFalse = statement(ts, source); } source.append((char)ts.RC); source.append((char)ts.EOL); pn = nf.createIf(cond, ifTrue, ifFalse, lineno); break; } case TokenStream.SWITCH: { skipsemi = true; source.append((char)ts.SWITCH); pn = nf.createSwitch(ts.getLineno()); Object cur_case = null; // to kill warning Object case_statements; mustMatchToken(ts, ts.LP, "msg.no.paren.switch"); source.append((char)ts.LP); nf.addChildToBack(pn, expr(ts, source, false)); mustMatchToken(ts, ts.RP, "msg.no.paren.after.switch"); source.append((char)ts.RP); mustMatchToken(ts, ts.LC, "msg.no.brace.switch"); source.append((char)ts.LC); source.append((char)ts.EOL); while ((tt = ts.getToken()) != ts.RC && tt != ts.EOF) { switch(tt) { case TokenStream.CASE: source.append((char)ts.CASE); cur_case = nf.createUnary(ts.CASE, expr(ts, source, false)); source.append((char)ts.COLON); source.append((char)ts.EOL); break; case TokenStream.DEFAULT: cur_case = nf.createLeaf(ts.DEFAULT); source.append((char)ts.DEFAULT); source.append((char)ts.COLON); source.append((char)ts.EOL); // XXX check that there isn't more than one default break; default: reportError(ts, "msg.bad.switch"); break; } mustMatchToken(ts, ts.COLON, "msg.no.colon.case"); case_statements = nf.createLeaf(TokenStream.BLOCK); while ((tt = ts.peekToken()) != ts.RC && tt != ts.CASE && tt != ts.DEFAULT && tt != ts.EOF) { nf.addChildToBack(case_statements, statement(ts, source)); } // assert cur_case nf.addChildToBack(cur_case, case_statements); nf.addChildToBack(pn, cur_case); } source.append((char)ts.RC); source.append((char)ts.EOL); break; } case TokenStream.WHILE: { skipsemi = true; source.append((char)ts.WHILE); int lineno = ts.getLineno(); Object cond = condition(ts, source); source.append((char)ts.LC); source.append((char)ts.EOL); Object body = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); pn = nf.createWhile(cond, body, lineno); break; } case TokenStream.DO: { source.append((char)ts.DO); source.append((char)ts.LC); source.append((char)ts.EOL); int lineno = ts.getLineno(); Object body = statement(ts, source); source.append((char)ts.RC); mustMatchToken(ts, ts.WHILE, "msg.no.while.do"); source.append((char)ts.WHILE); Object cond = condition(ts, source); pn = nf.createDoWhile(body, cond, lineno); break; } case TokenStream.FOR: { skipsemi = true; source.append((char)ts.FOR); int lineno = ts.getLineno(); Object init; // Node init is also foo in 'foo in Object' Object cond; // Node cond is also object in 'foo in Object' Object incr = null; // to kill warning Object body; mustMatchToken(ts, ts.LP, "msg.no.paren.for"); source.append((char)ts.LP); tt = ts.peekToken(); if (tt == ts.SEMI) { init = nf.createLeaf(ts.VOID); } else { if (tt == ts.VAR) { // set init to a var list or initial ts.getToken(); // throw away the 'var' token init = variables(ts, source, true); } else { init = expr(ts, source, true); } } tt = ts.peekToken(); if (tt == ts.RELOP && ts.getOp() == ts.IN) { ts.matchToken(ts.RELOP); source.append((char)ts.IN); // 'cond' is the object over which we're iterating cond = expr(ts, source, false); } else { // ordinary for loop mustMatchToken(ts, ts.SEMI, "msg.no.semi.for"); source.append((char)ts.SEMI); if (ts.peekToken() == ts.SEMI) { // no loop condition cond = nf.createLeaf(ts.VOID); } else { cond = expr(ts, source, false); } mustMatchToken(ts, ts.SEMI, "msg.no.semi.for.cond"); source.append((char)ts.SEMI); if (ts.peekToken() == ts.RP) { incr = nf.createLeaf(ts.VOID); } else { incr = expr(ts, source, false); } } mustMatchToken(ts, ts.RP, "msg.no.paren.for.ctrl"); source.append((char)ts.RP); source.append((char)ts.LC); source.append((char)ts.EOL); body = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); if (incr == null) { // cond could be null if 'in obj' got eaten by the init node. pn = nf.createForIn(init, cond, body, lineno); } else { pn = nf.createFor(init, cond, incr, body, lineno); } break; } case TokenStream.TRY: { int lineno = ts.getLineno(); Object tryblock; Object catchblocks = null; Object finallyblock = null; skipsemi = true; source.append((char)ts.TRY); source.append((char)ts.LC); source.append((char)ts.EOL); tryblock = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); catchblocks = nf.createLeaf(TokenStream.BLOCK); boolean sawDefaultCatch = false; int peek = ts.peekToken(); if (peek == ts.CATCH) { while (ts.matchToken(ts.CATCH)) { if (sawDefaultCatch) { reportError(ts, "msg.catch.unreachable"); } source.append((char)ts.CATCH); mustMatchToken(ts, ts.LP, "msg.no.paren.catch"); source.append((char)ts.LP); mustMatchToken(ts, ts.NAME, "msg.bad.catchcond"); String varName = ts.getString(); source.addString(ts.NAME, varName); Object catchCond = null; if (ts.matchToken(ts.IF)) { source.append((char)ts.IF); catchCond = expr(ts, source, false); } else { sawDefaultCatch = true; } mustMatchToken(ts, ts.RP, "msg.bad.catchcond"); source.append((char)ts.RP); mustMatchToken(ts, ts.LC, "msg.no.brace.catchblock"); source.append((char)ts.LC); source.append((char)ts.EOL); nf.addChildToBack(catchblocks, nf.createCatch(varName, catchCond, statements(ts, source), ts.getLineno())); mustMatchToken(ts, ts.RC, "msg.no.brace.after.body"); source.append((char)ts.RC); source.append((char)ts.EOL); } } else if (peek != ts.FINALLY) { mustMatchToken(ts, ts.FINALLY, "msg.try.no.catchfinally"); } if (ts.matchToken(ts.FINALLY)) { source.append((char)ts.FINALLY); source.append((char)ts.LC); source.append((char)ts.EOL); finallyblock = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); } pn = nf.createTryCatchFinally(tryblock, catchblocks, finallyblock, lineno); break; } case TokenStream.THROW: { int lineno = ts.getLineno(); source.append((char)ts.THROW); pn = nf.createThrow(expr(ts, source, false), lineno); if (lineno == ts.getLineno()) wellTerminated(ts, ts.ERROR); break; } case TokenStream.BREAK: { int lineno = ts.getLineno(); source.append((char)ts.BREAK); // matchLabel only matches if there is one String label = matchLabel(ts); if (label != null) { source.addString(ts.NAME, label); } pn = nf.createBreak(label, lineno); break; } case TokenStream.CONTINUE: { int lineno = ts.getLineno(); source.append((char)ts.CONTINUE); // matchLabel only matches if there is one String label = matchLabel(ts); if (label != null) { source.addString(ts.NAME, label); } pn = nf.createContinue(label, lineno); break; } case TokenStream.WITH: { skipsemi = true; source.append((char)ts.WITH); int lineno = ts.getLineno(); mustMatchToken(ts, ts.LP, "msg.no.paren.with"); source.append((char)ts.LP); Object obj = expr(ts, source, false); mustMatchToken(ts, ts.RP, "msg.no.paren.after.with"); source.append((char)ts.RP); source.append((char)ts.LC); source.append((char)ts.EOL); Object body = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); pn = nf.createWith(obj, body, lineno); break; } case TokenStream.VAR: { int lineno = ts.getLineno(); pn = variables(ts, source, false); if (ts.getLineno() == lineno) wellTerminated(ts, ts.ERROR); break; } case TokenStream.RETURN: { Object retExpr = null; int lineno = 0; source.append((char)ts.RETURN); // bail if we're not in a (toplevel) function if ((ts.flags & ts.TSF_FUNCTION) == 0) reportError(ts, "msg.bad.return"); /* This is ugly, but we don't want to require a semicolon. */ ts.flags |= ts.TSF_REGEXP; tt = ts.peekTokenSameLine(); ts.flags &= ~ts.TSF_REGEXP; if (tt != ts.EOF && tt != ts.EOL && tt != ts.SEMI && tt != ts.RC) { lineno = ts.getLineno(); retExpr = expr(ts, source, false); if (ts.getLineno() == lineno) wellTerminated(ts, ts.ERROR); ts.flags |= ts.TSF_RETURN_EXPR; } else { ts.flags |= ts.TSF_RETURN_VOID; } // XXX ASSERT pn pn = nf.createReturn(retExpr, lineno); break; } case TokenStream.LC: skipsemi = true; pn = statements(ts, source); mustMatchToken(ts, ts.RC, "msg.no.brace.block"); break; case TokenStream.ERROR: // Fall thru, to have a node for error recovery to work on case TokenStream.EOL: case TokenStream.SEMI: pn = nf.createLeaf(ts.VOID); skipsemi = true; break; default: { lastExprType = tt; int tokenno = ts.getTokenno(); ts.ungetToken(tt); int lineno = ts.getLineno(); pn = expr(ts, source, false); if (ts.peekToken() == ts.COLON) { /* check that the last thing the tokenizer returned was a * NAME and that only one token was consumed. */ if (lastExprType != ts.NAME || (ts.getTokenno() != tokenno)) reportError(ts, "msg.bad.label"); ts.getToken(); // eat the COLON /* in the C source, the label is associated with the * statement that follows: * nf.addChildToBack(pn, statement(ts)); */ String name = ts.getString(); pn = nf.createLabel(name, lineno); // depend on decompiling lookahead to guess that that // last name was a label. source.append((char)ts.COLON); source.append((char)ts.EOL); return pn; } if (lastExprType == ts.FUNCTION) nf.setFunctionExpressionStatement(pn); pn = nf.createExprStatement(pn, lineno); /* * Check explicitly against (multi-line) function * statement. * lastExprEndLine is a hack to fix an * automatic semicolon insertion problem with function * expressions; the ts.getLineno() == lineno check was * firing after a function definition even though the * next statement was on a new line, because * speculative getToken calls advanced the line number * even when they didn't succeed. */ if (ts.getLineno() == lineno || (lastExprType == ts.FUNCTION && ts.getLineno() == lastExprEndLine)) { wellTerminated(ts, lastExprType); } break; } } ts.matchToken(ts.SEMI); if (!skipsemi) { source.append((char)ts.SEMI); source.append((char)ts.EOL); } return pn; }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/92ccdd736e7a1516e4fb6d1eaf915e7021c8dc95/Parser.java/buggy/src/org/mozilla/javascript/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 3021, 2276, 12, 1345, 1228, 3742, 16, 4998, 1084, 13, 3639, 1216, 1860, 16, 11905, 503, 565, 288, 3639, 1033, 11059, 273, 446, 31, 3639, 368, 971, 2488, 307, 9197, 422, 638, 16, 2727, 1404, 527, 3174, 7492, 397, 19995, 358, 1084, 622, 326, 3639, 368, 679, 434, 333, 610, 475, 18, 225, 2457, 11360, 6317, 16, 11083, 19, 7473, 5527, 18, 3639, 1250, 2488, 307, 9197, 273, 629, 31, 3639, 509, 3574, 31, 3639, 509, 1142, 4742, 559, 273, 374, 31, 225, 368, 2457, 5492, 21888, 18, 225, 374, 358, 4543, 3436, 18, 3639, 3574, 273, 3742, 18, 588, 1345, 5621, 3639, 1620, 12, 748, 13, 288, 3639, 648, 3155, 1228, 18, 5501, 30, 288, 5411, 2488, 307, 9197, 273, 638, 31, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 5501, 1769, 5411, 509, 7586, 273, 3742, 18, 588, 48, 267, 5764, 5621, 5411, 1033, 6941, 273, 2269, 12, 3428, 16, 1084, 1769, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 13394, 1769, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 5842, 1769, 5411, 1033, 309, 5510, 273, 3021, 12, 3428, 16, 1084, 1769, 5411, 1033, 309, 8381, 273, 446, 31, 5411, 309, 261, 3428, 18, 1916, 1345, 12, 3428, 18, 2247, 1090, 3719, 288, 7734, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 11529, 1769, 7734, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 2247, 1090, 1769, 7734, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 13394, 1769, 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, 1033, 3021, 2276, 12, 1345, 1228, 3742, 16, 4998, 1084, 13, 3639, 1216, 1860, 16, 11905, 503, 565, 288, 3639, 1033, 11059, 273, 446, 31, 3639, 368, 971, 2488, 307, 9197, 422, 638, 16, 2727, 1404, 527, 3174, 7492, 397, 19995, 358, 1084, 622, 326, 3639, 368, 679, 434, 333, 610, 475, 18, 225, 2457, 11360, 6317, 16, 11083, 19, 7473, 5527, 18, 3639, 1250, 2488, 307, 9197, 273, 629, 31, 3639, 509, 3574, 31, 3639, 509, 1142, 4742, 559, 273, 374, 31, 225, 368, 2457, 5492, 21888, 18, 225, 374, 358, 4543, 3436, 18, 3639, 3574, 273, 3742, 18, 588, 1345, 5621, 3639, 1620, 12, 748, 13, 288, 3639, 648, 3155, 1228, 18, 5501, 30, 288, 2 ]