rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
sequencelengths
256
256
attention_mask
sequencelengths
256
256
labels
sequencelengths
128
128
args = ArgsUtil.setupArgs(threadContext, this, iVisited.getArgsNode());
args = ArgsUtil.setupArgs(runtime, threadContext, this, iVisited.getArgsNode());
public void visitCallNode(CallNode iVisited) { Block tmpBlock = ArgsUtil.beginCallArgs(threadContext); IRubyObject receiver = null; IRubyObject[] args = null; try { receiver = eval(iVisited.getReceiverNode()); args = ArgsUtil.setupArgs(threadContext, this, iVisited.getArgsNode()); } finally { ArgsUtil.endCallArgs(threadContext, tmpBlock); } Asserts.notNull(receiver.getMetaClass(), receiver.getClass().getName()); result = receiver.getMetaClass().call(receiver, iVisited.getName(), args, CallType.NORMAL); }
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/f5c9a1ebd775712f2dc086acfce1a14a123ec632/EvaluateVisitor.java/buggy/src/org/jruby/evaluator/EvaluateVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 1477, 907, 12, 1477, 907, 277, 30019, 13, 288, 3639, 3914, 1853, 1768, 273, 6634, 1304, 18, 10086, 1477, 2615, 12, 5930, 1042, 1769, 3639, 15908, 10340, 921, 5971, 273, 446, 31, 3639, 15908, 10340, 921, 8526, 833, 273, 446, 31, 3639, 775, 288, 5411, 5971, 273, 5302, 12, 77, 30019, 18, 588, 12952, 907, 10663, 5411, 833, 273, 6634, 1304, 18, 8401, 2615, 12, 9448, 16, 2650, 1042, 16, 333, 16, 277, 30019, 18, 588, 2615, 907, 10663, 3639, 289, 3095, 288, 5411, 6634, 1304, 18, 409, 1477, 2615, 12, 5930, 1042, 16, 1853, 1768, 1769, 3639, 289, 3639, 5452, 87, 18, 902, 2041, 12, 24454, 18, 588, 2781, 797, 9334, 5971, 18, 588, 797, 7675, 17994, 10663, 7734, 563, 273, 5971, 18, 588, 2781, 797, 7675, 1991, 12, 24454, 16, 277, 30019, 18, 17994, 9334, 833, 16, 3049, 559, 18, 15480, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 918, 3757, 1477, 907, 12, 1477, 907, 277, 30019, 13, 288, 3639, 3914, 1853, 1768, 273, 6634, 1304, 18, 10086, 1477, 2615, 12, 5930, 1042, 1769, 3639, 15908, 10340, 921, 5971, 273, 446, 31, 3639, 15908, 10340, 921, 8526, 833, 273, 446, 31, 3639, 775, 288, 5411, 5971, 273, 5302, 12, 77, 30019, 18, 588, 12952, 907, 10663, 5411, 833, 273, 6634, 1304, 18, 8401, 2615, 12, 9448, 16, 2650, 1042, 16, 333, 16, 277, 30019, 18, 588, 2615, 907, 10663, 3639, 289, 3095, 288, 5411, 6634, 1304, 18, 409, 1477, 2615, 12, 5930, 1042, 16, 1853, 1768, 1769, 3639, 289, 3639, 5452, 87, 18, 902, 2041, 12, 24454, 18, 588, 2781, 797, 9334, 5971, 18, 588, 2 ]
/* if (this.sourceLevel >= ClassFileConstants.JDK1_5) { int temp = this.currentPosition; if (getNextChar('.')) { if (getNextChar('.')) { return TokenNameELLIPSIS; } else { this.currentPosition = temp; return TokenNameDOT; } } else { this.currentPosition = temp; return TokenNameDOT; } } else { return TokenNameDOT; }*/
public int getNextToken() throws InvalidInputException { this.wasAcr = false; if (this.diet) { jumpOverMethodBody(); this.diet = false; return this.currentPosition > this.source.length ? TokenNameEOF : TokenNameRBRACE; } int whiteStart = 0; try { while (true) { //loop for jumping over comments this.withoutUnicodePtr = 0; //start with a new token (even comment written with unicode ) // ---------Consume white space and handles startPosition--------- whiteStart = this.currentPosition; boolean isWhiteSpace, hasWhiteSpaces = false; int offset; int unicodePtr; boolean checkIfUnicode = false; do { unicodePtr = this.withoutUnicodePtr; offset = this.currentPosition; this.startPosition = this.currentPosition; try { checkIfUnicode = ((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u'); } catch(IndexOutOfBoundsException e) { if (this.tokenizeWhiteSpace && (whiteStart != this.currentPosition - 1)) { // reposition scanner in case we are interested by spaces as tokens this.currentPosition--; this.startPosition = whiteStart; return TokenNameWHITESPACE; } if (this.currentPosition > this.eofPosition) return TokenNameEOF; } if (this.currentPosition > this.eofPosition) return TokenNameEOF; if (checkIfUnicode) { isWhiteSpace = jumpOverUnicodeWhiteSpace(); offset = this.currentPosition - offset; } else { offset = this.currentPosition - offset; if ((this.currentCharacter == '\r') || (this.currentCharacter == '\n')) { if (this.currentLine != null && this.currentLine.size() != 0) { parseTags(false); } if (this.recordLineSeparator) { pushLineSeparator(); } } // inline version of: //isWhiteSpace = // (this.currentCharacter == ' ') || CharOperation.isWhitespace(this.currentCharacter); switch (this.currentCharacter) { case 10 : /* \ u000a: LINE FEED */ case 12 : /* \ u000c: FORM FEED */ case 13 : /* \ u000d: CARRIAGE RETURN */ case 32 : /* \ u0020: SPACE */ case 9 : /* \ u0009: HORIZONTAL TABULATION */ isWhiteSpace = true; break; default : isWhiteSpace = false; } } if (isWhiteSpace) { hasWhiteSpaces = true; } } while (isWhiteSpace); if (hasWhiteSpaces) { if (this.tokenizeWhiteSpace) { // reposition scanner in case we are interested by spaces as tokens this.currentPosition-=offset; this.startPosition = whiteStart; if (checkIfUnicode) { this.withoutUnicodePtr = unicodePtr; } return TokenNameWHITESPACE; } else if (checkIfUnicode) { this.withoutUnicodePtr = 0; unicodeStore(); } else { this.withoutUnicodePtr = 0; } } // ---------Identify the next token------------- switch (this.currentCharacter) { case '@' :/* if (this.sourceLevel >= ClassFileConstants.JDK1_5) { return TokenNameAT; } else { return TokenNameERROR; }*/ return TokenNameAT; case '(' : return TokenNameLPAREN; case ')' : return TokenNameRPAREN; case '{' : return TokenNameLBRACE; case '}' : return TokenNameRBRACE; case '[' : return TokenNameLBRACKET; case ']' : return TokenNameRBRACKET; case ';' : return TokenNameSEMICOLON; case ',' : return TokenNameCOMMA; case '.' : if (getNextCharAsDigit()) { return scanNumber(true); }/* if (this.sourceLevel >= ClassFileConstants.JDK1_5) { int temp = this.currentPosition; if (getNextChar('.')) { if (getNextChar('.')) { return TokenNameELLIPSIS; } else { this.currentPosition = temp; return TokenNameDOT; } } else { this.currentPosition = temp; return TokenNameDOT; } } else { return TokenNameDOT; }*/ int temp = this.currentPosition; if (getNextChar('.')) { if (getNextChar('.')) { return TokenNameELLIPSIS; } else { this.currentPosition = temp; return TokenNameDOT; } } else { this.currentPosition = temp; return TokenNameDOT; } case '+' : { int test; if ((test = getNextChar('+', '=')) == 0) return TokenNamePLUS_PLUS; if (test > 0) return TokenNamePLUS_EQUAL; return TokenNamePLUS; } case '-' : { int test; if ((test = getNextChar('-', '=')) == 0) return TokenNameMINUS_MINUS; if (test > 0) return TokenNameMINUS_EQUAL; return TokenNameMINUS; } case '~' : return TokenNameTWIDDLE; case '!' : if (getNextChar('=')) return TokenNameNOT_EQUAL; return TokenNameNOT; case '*' : if (getNextChar('=')) return TokenNameMULTIPLY_EQUAL; return TokenNameMULTIPLY; case '%' : if (getNextChar('=')) return TokenNameREMAINDER_EQUAL; return TokenNameREMAINDER; case '<' : { int test; if ((test = getNextChar('=', '<')) == 0) return TokenNameLESS_EQUAL; if (test > 0) { if (getNextChar('=')) return TokenNameLEFT_SHIFT_EQUAL; return TokenNameLEFT_SHIFT; } return TokenNameLESS; } case '>' : { int test; if (this.returnOnlyGreater) { return TokenNameGREATER; } if ((test = getNextChar('=', '>')) == 0) return TokenNameGREATER_EQUAL; if (test > 0) { if ((test = getNextChar('=', '>')) == 0) return TokenNameRIGHT_SHIFT_EQUAL; if (test > 0) { if (getNextChar('=')) return TokenNameUNSIGNED_RIGHT_SHIFT_EQUAL; return TokenNameUNSIGNED_RIGHT_SHIFT; } return TokenNameRIGHT_SHIFT; } return TokenNameGREATER; } case '=' : if (getNextChar('=')) return TokenNameEQUAL_EQUAL; return TokenNameEQUAL; case '&' : { int test; if ((test = getNextChar('&', '=')) == 0) return TokenNameAND_AND; if (test > 0) return TokenNameAND_EQUAL; return TokenNameAND; } case '|' : { int test; if ((test = getNextChar('|', '=')) == 0) return TokenNameOR_OR; if (test > 0) return TokenNameOR_EQUAL; return TokenNameOR; } case '^' : if (getNextChar('=')) return TokenNameXOR_EQUAL; return TokenNameXOR; case '?' : return TokenNameQUESTION; case ':' : return TokenNameCOLON; case '\'' : { int test; if ((test = getNextChar('\n', '\r')) == 0) { throw new InvalidInputException(INVALID_CHARACTER_CONSTANT); } if (test > 0) { // relocate if finding another quote fairly close: thus unicode '/u000D' will be fully consumed for (int lookAhead = 0; lookAhead < 3; lookAhead++) { if (this.currentPosition + lookAhead == this.source.length) break; if (this.source[this.currentPosition + lookAhead] == '\n') break; if (this.source[this.currentPosition + lookAhead] == '\'') { this.currentPosition += lookAhead + 1; break; } } throw new InvalidInputException(INVALID_CHARACTER_CONSTANT); } } if (getNextChar('\'')) { // relocate if finding another quote fairly close: thus unicode '/u000D' will be fully consumed for (int lookAhead = 0; lookAhead < 3; lookAhead++) { if (this.currentPosition + lookAhead == this.source.length) break; if (this.source[this.currentPosition + lookAhead] == '\n') break; if (this.source[this.currentPosition + lookAhead] == '\'') { this.currentPosition += lookAhead + 1; break; } } throw new InvalidInputException(INVALID_CHARACTER_CONSTANT); } if (getNextChar('\\')) { if (this.unicodeAsBackSlash) { // consume next character this.unicodeAsBackSlash = false; if (((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u')) { getNextUnicodeChar(); } else { if (this.withoutUnicodePtr != 0) { unicodeStore(); } } } else { this.currentCharacter = this.source[this.currentPosition++]; } scanEscapeCharacter(); } else { // consume next character this.unicodeAsBackSlash = false; checkIfUnicode = false; try { checkIfUnicode = ((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u'); } catch(IndexOutOfBoundsException e) { this.currentPosition--; throw new InvalidInputException(INVALID_CHARACTER_CONSTANT); } if (checkIfUnicode) { getNextUnicodeChar(); } else { if (this.withoutUnicodePtr != 0) { unicodeStore(); } } } if (getNextChar('\'')) return TokenNameCharacterLiteral; // relocate if finding another quote fairly close: thus unicode '/u000D' will be fully consumed for (int lookAhead = 0; lookAhead < 20; lookAhead++) { if (this.currentPosition + lookAhead == this.source.length) break; if (this.source[this.currentPosition + lookAhead] == '\n') break; if (this.source[this.currentPosition + lookAhead] == '\'') { this.currentPosition += lookAhead + 1; break; } } throw new InvalidInputException(INVALID_CHARACTER_CONSTANT); case '"' : try { // consume next character this.unicodeAsBackSlash = false; boolean isUnicode = false; if (((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u')) { getNextUnicodeChar(); isUnicode = true; } else { if (this.withoutUnicodePtr != 0) { unicodeStore(); } } while (this.currentCharacter != '"') { /**** \r and \n are not valid in string literals ****/ if ((this.currentCharacter == '\n') || (this.currentCharacter == '\r')) { // relocate if finding another quote fairly close: thus unicode '/u000D' will be fully consumed if (isUnicode) { int start = this.currentPosition; for (int lookAhead = 0; lookAhead < 50; lookAhead++) { if (this.currentPosition >= this.eofPosition) { this.currentPosition = start; break; } if (((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u')) { isUnicode = true; getNextUnicodeChar(); } else { isUnicode = false; } if (!isUnicode && this.currentCharacter == '\n') { this.currentPosition--; // set current position on new line character break; } if (this.currentCharacter == '\"') { throw new InvalidInputException(INVALID_CHAR_IN_STRING); } } } else { this.currentPosition--; // set current position on new line character } throw new InvalidInputException(INVALID_CHAR_IN_STRING); } if (this.currentCharacter == '\\') { if (this.unicodeAsBackSlash) { this.withoutUnicodePtr--; // consume next character this.unicodeAsBackSlash = false; if (((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u')) { getNextUnicodeChar(); this.withoutUnicodePtr--; } } else { if (this.withoutUnicodePtr == 0) { unicodeInitializeBuffer(this.currentPosition - this.startPosition); } this.withoutUnicodePtr --; this.currentCharacter = this.source[this.currentPosition++]; } // we need to compute the escape character in a separate buffer scanEscapeCharacter(); if (this.withoutUnicodePtr != 0) { unicodeStore(); } } // consume next character this.unicodeAsBackSlash = false; if (((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u')) { getNextUnicodeChar(); } else { if (this.withoutUnicodePtr != 0) { unicodeStore(); } } } } catch (IndexOutOfBoundsException e) { this.currentPosition--; throw new InvalidInputException(UNTERMINATED_STRING); } catch (InvalidInputException e) { if (e.getMessage().equals(INVALID_ESCAPE)) { // relocate if finding another quote fairly close: thus unicode '/u000D' will be fully consumed for (int lookAhead = 0; lookAhead < 50; lookAhead++) { if (this.currentPosition + lookAhead == this.source.length) break; if (this.source[this.currentPosition + lookAhead] == '\n') break; if (this.source[this.currentPosition + lookAhead] == '\"') { this.currentPosition += lookAhead + 1; break; } } } throw e; // rethrow } if (this.currentLine != null){ // check for presence of NLS tags this.currentLine.add( new StringLiteral( getCurrentTokenSourceString(), this.startPosition, this.currentPosition - 1)); } return TokenNameStringLiteral; case '/' : { int test; if ((test = getNextChar('/', '*')) == 0) { //line comment this.lastCommentLinePosition = this.currentPosition; try { //get the next char if (((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u')) { getNextUnicodeChar(); } //handle the \\u case manually into comment if (this.currentCharacter == '\\') { if (this.source[this.currentPosition] == '\\') this.currentPosition++; } //jump over the \\ boolean isUnicode = false; while (this.currentCharacter != '\r' && this.currentCharacter != '\n') { this.lastCommentLinePosition = this.currentPosition; //get the next char isUnicode = false; if (((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u')) { getNextUnicodeChar(); isUnicode = true; } //handle the \\u case manually into comment if (this.currentCharacter == '\\') { if (this.source[this.currentPosition] == '\\') this.currentPosition++; } //jump over the \\ } /* * We need to completely consume the line break */ if (this.currentCharacter == '\r' && this.source.length > this.currentPosition) { if (this.source[this.currentPosition] == '\n') { this.currentPosition++; this.currentCharacter = '\n'; } else if ((this.source[this.currentPosition] == '\\') && (this.source[this.currentPosition + 1] == 'u')) { getNextUnicodeChar(); isUnicode = true; } } recordComment(TokenNameCOMMENT_LINE); if (this.taskTags != null) checkTaskTag(this.startPosition, this.currentPosition); if ((this.currentCharacter == '\r') || (this.currentCharacter == '\n')) { if (this.currentLine != null) { parseTags(true); } if (this.recordLineSeparator) { if (isUnicode) { pushUnicodeLineSeparator(); } else { pushLineSeparator(); } } } if (this.tokenizeComments) { return TokenNameCOMMENT_LINE; } } catch (IndexOutOfBoundsException e) { this.currentPosition--; recordComment(TokenNameCOMMENT_LINE); if (this.taskTags != null) checkTaskTag(this.startPosition, this.currentPosition); if (this.currentLine != null) { parseTags(true); } if (this.tokenizeComments) { return TokenNameCOMMENT_LINE; } else { this.currentPosition++; } } break; } if (test > 0) { //traditional and javadoc comment try { //get the next char boolean isJavadoc = false, star = false; boolean isUnicode = false; int previous; // consume next character this.unicodeAsBackSlash = false; if (((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u')) { getNextUnicodeChar(); isUnicode = true; } else { isUnicode = false; if (this.withoutUnicodePtr != 0) { unicodeStore(); } } if (this.currentCharacter == '*') { isJavadoc = true; star = true; } if ((this.currentCharacter == '\r') || (this.currentCharacter == '\n')) { if (this.currentLine != null && this.currentLine.size() != 0) { parseTags(false); } if (this.recordLineSeparator) { if (isUnicode) { pushUnicodeLineSeparator(); } else { pushLineSeparator(); } } } isUnicode = false; previous = this.currentPosition; if (((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u')) { //-------------unicode traitement ------------ getNextUnicodeChar(); isUnicode = true; } else { isUnicode = false; } //handle the \\u case manually into comment if (this.currentCharacter == '\\') { if (this.source[this.currentPosition] == '\\') this.currentPosition++; //jump over the \\ } // empty comment is not a javadoc /**/ if (this.currentCharacter == '/') { isJavadoc = false; } //loop until end of comment */ int firstTag = 0; while ((this.currentCharacter != '/') || (!star)) { if ((this.currentCharacter == '\r') || (this.currentCharacter == '\n')) { if (this.currentLine != null && this.currentLine.size() != 0) { parseTags(false); } if (this.recordLineSeparator) { if (isUnicode) { pushUnicodeLineSeparator(); } else { pushLineSeparator(); } } } switch (this.currentCharacter) { case '*': star = true; break; case '@': if (firstTag == 0) { firstTag = previous; } // fall through default case to set star to false default: star = false; } //get next char previous = this.currentPosition; if (((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u')) { //-------------unicode traitement ------------ getNextUnicodeChar(); isUnicode = true; } else { isUnicode = false; } //handle the \\u case manually into comment if (this.currentCharacter == '\\') { if (this.source[this.currentPosition] == '\\') this.currentPosition++; } //jump over the \\ } int token = isJavadoc ? TokenNameCOMMENT_JAVADOC : TokenNameCOMMENT_BLOCK; recordComment(token); this.commentTagStarts[this.commentPtr] = firstTag; if (this.taskTags != null) checkTaskTag(this.startPosition, this.currentPosition); if (this.tokenizeComments) { /* if (isJavadoc) return TokenNameCOMMENT_JAVADOC; return TokenNameCOMMENT_BLOCK; */ return token; } } catch (IndexOutOfBoundsException e) { this.currentPosition--; throw new InvalidInputException(UNTERMINATED_COMMENT); } break; } if (getNextChar('=')) return TokenNameDIVIDE_EQUAL; return TokenNameDIVIDE; } case '\u001a' : if (atEnd()) return TokenNameEOF; //the atEnd may not be <currentPosition == source.length> if source is only some part of a real (external) stream throw new InvalidInputException("Ctrl-Z"); //$NON-NLS-1$ default : char c = this.currentCharacter; if (c < MAX_OBVIOUS) { switch (ObviousIdentCharNatures[c]) { case C_LETTER : return scanIdentifierOrKeyword(); case C_DIGIT : return scanNumber(false); } } boolean isJavaIdStart; if (c >= HIGH_SURROGATE_MIN_VALUE && c <= HIGH_SURROGATE_MAX_VALUE) { if (this.complianceLevel < ClassFileConstants.JDK1_5) { throw new InvalidInputException(INVALID_UNICODE_ESCAPE); } // Unicode 4 detection char low = (char) getNextChar(); if (low < LOW_SURROGATE_MIN_VALUE || low > LOW_SURROGATE_MAX_VALUE) { // illegal low surrogate throw new InvalidInputException(INVALID_LOW_SURROGATE); } isJavaIdStart = ScannerHelper.isJavaIdentifierStart(c, low); } else if (c >= LOW_SURROGATE_MIN_VALUE && c <= LOW_SURROGATE_MAX_VALUE) { if (this.complianceLevel < ClassFileConstants.JDK1_5) { throw new InvalidInputException(INVALID_UNICODE_ESCAPE); } throw new InvalidInputException(INVALID_HIGH_SURROGATE); } else { isJavaIdStart = Character.isJavaIdentifierStart(c); } if (isJavaIdStart) return scanIdentifierOrKeyword(); if (isDigit(this.currentCharacter)) { return scanNumber(false); } return TokenNameERROR; } } } //-----------------end switch while try-------------------- catch (IndexOutOfBoundsException e) { if (this.tokenizeWhiteSpace && (whiteStart != this.currentPosition - 1)) { // reposition scanner in case we are interested by spaces as tokens this.currentPosition--; this.startPosition = whiteStart; return TokenNameWHITESPACE; } } return TokenNameEOF;}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/f56c0e1e9dcd69c29df729084f0860c1996ff08b/PublicScanner.java/clean/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/PublicScanner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 509, 22616, 1435, 1216, 31989, 288, 202, 2211, 18, 17416, 37, 3353, 273, 629, 31, 202, 430, 261, 2211, 18, 3211, 278, 13, 288, 202, 202, 24574, 4851, 1305, 2250, 5621, 202, 202, 2211, 18, 3211, 278, 273, 629, 31, 202, 202, 2463, 333, 18, 2972, 2555, 405, 333, 18, 3168, 18, 2469, 692, 3155, 461, 12706, 294, 3155, 461, 19437, 9254, 31, 202, 97, 202, 474, 9578, 1685, 273, 374, 31, 202, 698, 288, 202, 202, 17523, 261, 3767, 13, 288, 368, 6498, 364, 525, 379, 1382, 1879, 5678, 1082, 202, 2211, 18, 13299, 16532, 5263, 273, 374, 31, 1082, 202, 759, 1937, 598, 279, 394, 1147, 261, 16728, 2879, 5941, 598, 5252, 262, 1082, 202, 759, 300, 788, 19253, 9578, 3476, 471, 7372, 23549, 8567, 1082, 202, 14739, 1685, 273, 333, 18, 2972, 2555, 31, 1082, 202, 6494, 353, 23108, 16, 711, 13407, 12077, 273, 629, 31, 1082, 202, 474, 1384, 31, 1082, 202, 474, 5252, 5263, 31, 1082, 202, 6494, 19130, 16532, 273, 629, 31, 1082, 202, 2896, 288, 9506, 202, 9124, 5263, 273, 333, 18, 13299, 16532, 5263, 31, 9506, 202, 3348, 273, 333, 18, 2972, 2555, 31, 9506, 202, 2211, 18, 1937, 2555, 273, 333, 18, 2972, 2555, 31, 9506, 202, 698, 288, 6862, 202, 1893, 2047, 16532, 273, 14015, 2211, 18, 2972, 7069, 273, 333, 18, 3168, 63, 2211, 18, 2972, 2555, 9904, 5717, 422, 5282, 13, 25083, 202, 10, 10, 261, 2211, 18, 3168, 63, 2211, 18, 2972, 2555, 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, 509, 22616, 1435, 1216, 31989, 288, 202, 2211, 18, 17416, 37, 3353, 273, 629, 31, 202, 430, 261, 2211, 18, 3211, 278, 13, 288, 202, 202, 24574, 4851, 1305, 2250, 5621, 202, 202, 2211, 18, 3211, 278, 273, 629, 31, 202, 202, 2463, 333, 18, 2972, 2555, 405, 333, 18, 3168, 18, 2469, 692, 3155, 461, 12706, 294, 3155, 461, 19437, 9254, 31, 202, 97, 202, 474, 9578, 1685, 273, 374, 31, 202, 698, 288, 202, 202, 17523, 261, 3767, 13, 288, 368, 6498, 364, 525, 379, 1382, 1879, 5678, 1082, 202, 2211, 18, 13299, 16532, 5263, 273, 374, 31, 1082, 202, 759, 1937, 598, 279, 394, 1147, 261, 16728, 2879, 5941, 598, 5252, 262, 1082, 202, 759, 2 ]
public byte[] getContent(CmsObject cms, String templateFile, String elementName, Hashtable parameters) throws CmsException { if(C_DEBUG && A_OpenCms.isLogging()) { A_OpenCms.log(C_OPENCMS_DEBUG, "[CmsDumpTemplate] Now dumping contents of file " + templateFile); } I_CmsSession session = cms.getRequestContext().getSession(true); CmsXmlWpTemplateFile templateDocument = new CmsXmlWpTemplateFile(cms, templateFile); CmsXmlLanguageFile lang = templateDocument.getLanguageFile(); // get the right folder String currentFolder = (String)parameters.get("folder"); if((currentFolder != null) && (!"".equals(currentFolder)) && folderExists(cms, currentFolder)) { session.putValue(C_PARA_FILELIST, currentFolder); } else { currentFolder = (String)session.getValue(C_PARA_FILELIST); if((currentFolder == null) || (!folderExists(cms, currentFolder))) { currentFolder = cms.rootFolder().getAbsolutePath(); session.putValue(C_PARA_FILELIST, currentFolder); } } // get the checksum String checksum = (String)parameters.get("check"); boolean newTreePlease = true; long check = -1; try { check = Long.parseLong(checksum); if(check == cms.getFileSystemFolderChanges()) { newTreePlease = false; } } catch(Exception e) { } check = cms.getFileSystemFolderChanges(); // get the currentFolder Id int currentFolderId = (cms.readFolder(currentFolder)).getResourceId(); // start creating content StringBuffer content = new StringBuffer(); content.append("<html> \n<head> \n<script language=JavaScript>\n"); content.append("function initialize() {\n"); // the help_url content.append(" top.help_url='ExplorerAnsicht/index.html';\n"); // the project content.append(" top.setProject(" + cms.getRequestContext().currentProject().getId() + ");\n"); // the onlineProject content.append(" top.setOnlineProject(" + cms.onlineProject().getId() + ");\n"); // set the checksum for the tree content.append(" top.setChecksum(" + check + ");\n"); // set the writeAccess for the current Folder CmsFolder test = cms.readFolder(currentFolder); boolean writeAccess = test.getProjectId() == cms.getRequestContext().currentProject().getId(); content.append(" top.enableNewButton(" + writeAccess + ");\n"); // the folder content.append(" top.setDirectory(" + currentFolderId + ",\"" + currentFolder + "\");\n"); content.append(" top.rD();\n\n"); // now the entries for the filelist Vector resources = cms.getResourcesInFolder(currentFolder); for(int i = 0;i < resources.size();i++) { CmsResource res = (CmsResource)resources.elementAt(i); content.append(" top.aF("); // the name content.append("\"" + res.getName() + "\", "); // the path content.append("\"" + res.getPath() + "\", "); // the title String title = ""; try { title = cms.readProperty(res.getAbsolutePath(), C_PROPERTY_TITLE); } catch(CmsException e) { } if(title == null) { title = ""; } content.append("\"" + getChars(title) + "\", "); // the type content.append("\"" + res.getType() + "\", "); // date of last change content.append("\"" + Utils.getNiceDate(res.getDateLastModified()) + "\", "); // TODO:user who changed it content.append("\"" + "TODO" + "\", "); // date content.append("\"" + Utils.getNiceDate(res.getDateCreated()) + "\", "); // size if(res.isFolder()) { content.append("\"" + "" + "\", "); } else { content.append("\"" + res.getLength() + "\", "); } // state content.append("" + res.getState() + ", "); // project content.append("\"" + res.getProjectId() + "\", "); // owner content.append("\"" + cms.readUser(res.getOwnerId()).getName() + "\", "); // group content.append("\"" + cms.readGroup(res).getName() + "\", "); // accessFlags content.append("\"" + res.getAccessFlags() + "\", "); // locked by if(res.isLockedBy() == C_UNKNOWN_ID) { content.append("\"" + "" + "\");\n"); } else { content.append("\"" + cms.lockedBy(res).getName() + "\");\n"); } } // now the tree, only if changed if(newTreePlease) { content.append("\n top.rT();\n"); Vector tree = cms.getFolderTree(); int startAt = 1; int parentId; boolean grey = false; int onlineProjectId = cms.onlineProject().getId(); if(onlineProjectId == cms.getRequestContext().currentProject().getId()) { // all easy: we are in the onlineProject CmsFolder rootFolder = (CmsFolder)tree.elementAt(0); content.append("top.aC("); content.append(rootFolder.getResourceId() + ", "); content.append("\"" + lang.getDataValue("title.rootfolder") + "\", "); content.append(rootFolder.getParentId() + ", false);\n"); for(int i = startAt;i < tree.size();i++) { CmsFolder folder = (CmsFolder)tree.elementAt(i); content.append("top.aC("); // id content.append(folder.getResourceId() + ", "); // name content.append("\"" + folder.getName() + "\", "); // parentId content.append(folder.getParentId() + ", false);\n"); } } else { // offline Project Hashtable idMixer = new Hashtable(); CmsFolder rootFolder = (CmsFolder)tree.elementAt(0); String folderToIgnore = null; if(rootFolder.getProjectId() != onlineProjectId) { startAt = 2; grey = false; idMixer.put(new Integer(((CmsFolder)tree.elementAt(1)).getResourceId()), new Integer(rootFolder.getResourceId())); } else { grey = true; } content.append("top.aC("); content.append(rootFolder.getResourceId() + ", "); content.append("\"" + lang.getDataValue("title.rootfolder") + "\", "); content.append(rootFolder.getParentId() + ", " + grey + ");\n"); for(int i = startAt;i < tree.size();i++) { CmsFolder folder = (CmsFolder)tree.elementAt(i); if((folder.getState() == C_STATE_DELETED) || (folder.getAbsolutePath().equals(folderToIgnore))) { // if the folder is deleted - ignore it and the following online res folderToIgnore = folder.getAbsolutePath(); } else { if(folder.getProjectId() != onlineProjectId) { grey = false; parentId = folder.getParentId(); try { // the next res is the same res in the online-project: ignore it! if(folder.getAbsolutePath().equals(((CmsFolder)tree.elementAt(i + 1)).getAbsolutePath())) { i++; idMixer.put(new Integer(((CmsFolder)tree.elementAt(i)).getResourceId()), new Integer(folder.getResourceId())); } } catch(IndexOutOfBoundsException exc) { // ignore the exception, this was the last resource } } else { grey = true; parentId = folder.getParentId(); if(idMixer.containsKey(new Integer(parentId))) { parentId = ((Integer)idMixer.get(new Integer(parentId))).intValue(); } } content.append("top.aC("); // id content.append(folder.getResourceId() + ", "); // name content.append("\"" + folder.getName() + "\", "); // parentId content.append(parentId + ", " + grey + ");\n"); } } } } content.append(" top.dU(document); \n"); content.append("}\n"); content.append("</script>\n</head> \n<BODY onLoad=\"initialize()\"></BODY> \n</html>\n"); // System.err.println("\n\n THE FILELIST:\n\n"+content.toString()); return (content.toString()).getBytes(); }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/893f594636a637b13259b605c3b1d00189c3aad7/CmsNewExplorerFileList.java/buggy/src/com/opencms/workplace/CmsNewExplorerFileList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 7229, 8526, 588, 1350, 12, 4747, 921, 6851, 16, 780, 3202, 812, 16, 780, 2956, 461, 16, 5582, 14544, 3977, 13, 15069, 4747, 503, 95, 430, 12, 39, 67, 9394, 10, 10, 37, 67, 3678, 4747, 18, 291, 7735, 10756, 95, 37, 67, 3678, 4747, 18, 1330, 12, 39, 67, 11437, 13802, 67, 9394, 10837, 63, 4747, 10628, 2283, 65, 8674, 13302, 1382, 3980, 792, 768, 6, 15, 3202, 812, 1769, 97, 45, 67, 4747, 2157, 3184, 33, 6851, 18, 588, 21426, 7675, 588, 2157, 12, 3767, 1769, 4747, 4432, 59, 84, 2283, 25579, 278, 29761, 2519, 33, 2704, 4747, 4432, 59, 84, 2283, 812, 12, 6851, 16, 3202, 812, 1769, 4747, 4432, 3779, 25579, 292, 539, 33, 3202, 2519, 18, 588, 3779, 812, 5621, 759, 588, 1136, 750, 5609, 780, 2972, 3899, 28657, 780, 13, 3977, 18, 588, 2932, 5609, 8863, 430, 12443, 2972, 3899, 5, 33, 2011, 13, 10, 10, 12, 5, 3660, 18, 14963, 12, 2972, 3899, 3719, 10, 10, 5609, 4002, 12, 6851, 16, 2972, 3899, 3719, 95, 3184, 18, 458, 620, 12, 39, 67, 2778, 37, 67, 3776, 7085, 16, 2972, 3899, 1769, 97, 12107, 95, 2972, 3899, 28657, 780, 13, 3184, 18, 24805, 12, 39, 67, 2778, 37, 67, 3776, 7085, 1769, 430, 12443, 2972, 3899, 631, 2011, 14047, 96, 12, 5, 5609, 4002, 12, 6851, 16, 2972, 3899, 3719, 15329, 2972, 3899, 33, 6851, 18, 3085, 3899, 7675, 588, 10368, 743, 5621, 3184, 18, 458, 620, 12, 39, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 7229, 8526, 588, 1350, 12, 4747, 921, 6851, 16, 780, 3202, 812, 16, 780, 2956, 461, 16, 5582, 14544, 3977, 13, 15069, 4747, 503, 95, 430, 12, 39, 67, 9394, 10, 10, 37, 67, 3678, 4747, 18, 291, 7735, 10756, 95, 37, 67, 3678, 4747, 18, 1330, 12, 39, 67, 11437, 13802, 67, 9394, 10837, 63, 4747, 10628, 2283, 65, 8674, 13302, 1382, 3980, 792, 768, 6, 15, 3202, 812, 1769, 97, 45, 67, 4747, 2157, 3184, 33, 6851, 18, 588, 21426, 7675, 588, 2157, 12, 3767, 1769, 4747, 4432, 59, 84, 2283, 25579, 278, 29761, 2519, 33, 2704, 4747, 4432, 59, 84, 2283, 812, 12, 6851, 16, 3202, 812, 1769, 4747, 4432, 3779, 25579, 292, 539, 33, 2 ]
NodeList paths = cache.getChildNodes();
final NodeList paths = cache.getChildNodes();
private Element findDOMPath(String name) { if (currentPath != null) { if (name.equals(currentPath.getAttribute(CacheConfiguration.NAME))) { return currentPath; } } NodeList paths = cache.getChildNodes(); for (int i = 0; i < paths.getLength(); i++) { Element path = (Element) paths.item(i); if (name.equals(path.getAttribute(CacheConfiguration.NAME))) { return path; } } return null; }
49097 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49097/a99ccf809bc2c155102602b3d87cbe7a3ae5ce0b/CacheBuilder.java/buggy/src/net/sf/statcvs/input/CacheBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 3010, 1104, 8168, 743, 12, 780, 508, 13, 288, 202, 202, 430, 261, 2972, 743, 480, 446, 13, 288, 1082, 202, 430, 261, 529, 18, 14963, 12, 2972, 743, 18, 588, 1499, 12, 1649, 1750, 18, 1985, 20349, 288, 9506, 202, 2463, 18027, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 19914, 2953, 273, 1247, 18, 588, 22460, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2953, 18, 588, 1782, 5621, 277, 27245, 288, 1082, 202, 1046, 589, 273, 261, 1046, 13, 2953, 18, 1726, 12, 77, 1769, 1082, 202, 430, 261, 529, 18, 14963, 12, 803, 18, 588, 1499, 12, 1649, 1750, 18, 1985, 20349, 288, 9506, 202, 2463, 589, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 3010, 1104, 8168, 743, 12, 780, 508, 13, 288, 202, 202, 430, 261, 2972, 743, 480, 446, 13, 288, 1082, 202, 430, 261, 529, 18, 14963, 12, 2972, 743, 18, 588, 1499, 12, 1649, 1750, 18, 1985, 20349, 288, 9506, 202, 2463, 18027, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 19914, 2953, 273, 1247, 18, 588, 22460, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2953, 18, 588, 1782, 5621, 277, 27245, 288, 1082, 202, 1046, 589, 273, 261, 1046, 13, 2953, 18, 1726, 12, 77, 1769, 1082, 202, 430, 261, 529, 18, 14963, 12, 803, 18, 588, 1499, 12, 1649, 1750, 18, 1985, 20349, 288, 9506, 202, 2463, 589, 2 ]
_log.debug("Placing GarlicMessage into the new tunnel message bound for " + lease.getTunnelId() + " on " + lease.getRouterIdentity().getHash().toBase64());
_log.debug("Placing GarlicMessage into the new tunnel message bound for " + lease.getTunnelId() + " on " + lease.getRouterIdentity().getHash().toBase64());
private void send(Lease lease) { // send it as a garlic with a DeliveryStatusMessage clove and a message selector w/ successJob on reply long token = _context.random().nextInt(Integer.MAX_VALUE); PublicKey key = _status.getLeaseSet().getEncryptionKey(); SessionKey sessKey = new SessionKey(); Set tags = new HashSet(); GarlicMessage msg = OutboundClientMessageJobHelper.createGarlicMessage(_context, token, _overallExpiration, key, _status.getClove(), _status.getTo(), sessKey, tags, true); if (_log.shouldLog(Log.DEBUG)) _log.debug("send(lease) - token expected " + token); _status.sent(lease.getRouterIdentity().getHash(), lease.getTunnelId()); SendSuccessJob onReply = new SendSuccessJob(lease, sessKey, tags); SendTimeoutJob onFail = new SendTimeoutJob(lease); ReplySelector selector = new ReplySelector(token); if (_log.shouldLog(Log.DEBUG)) _log.debug("Placing GarlicMessage into the new tunnel message bound for " + lease.getTunnelId() + " on " + lease.getRouterIdentity().getHash().toBase64()); TunnelId outTunnelId = selectOutboundTunnel(); if (outTunnelId != null) { if (_log.shouldLog(Log.DEBUG)) _log.debug("Sending tunnel message out " + outTunnelId + " to " + lease.getTunnelId() + " on " + lease.getRouterIdentity().getHash().toBase64()); SendTunnelMessageJob j = new SendTunnelMessageJob(_context, msg, outTunnelId, lease.getRouterIdentity().getHash(), lease.getTunnelId(), null, onReply, onFail, selector, SEND_TIMEOUT_MS, SEND_PRIORITY); _context.jobQueue().addJob(j); } else { if (_log.shouldLog(Log.ERROR)) _log.error("Could not find any outbound tunnels to send the payload through... wtf?"); _context.jobQueue().addJob(onFail); } }
27493 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27493/7202ea33407d4116d3c4b03f4d325d77f35834b2/OutboundClientMessageJob.java/buggy/router/java/src/net/i2p/router/message/OutboundClientMessageJob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1366, 12, 17746, 11863, 13, 288, 3639, 368, 1366, 518, 487, 279, 314, 13007, 335, 598, 279, 17390, 1482, 1079, 1219, 537, 471, 279, 883, 3451, 341, 19, 2216, 2278, 603, 4332, 3639, 1525, 1147, 273, 389, 2472, 18, 9188, 7675, 4285, 1702, 12, 4522, 18, 6694, 67, 4051, 1769, 3639, 11951, 498, 273, 389, 2327, 18, 588, 17746, 694, 7675, 588, 26740, 5621, 3639, 3877, 653, 8451, 653, 273, 394, 3877, 653, 5621, 3639, 1000, 2342, 273, 394, 6847, 5621, 3639, 611, 13007, 335, 1079, 1234, 273, 2976, 3653, 1227, 1079, 2278, 2276, 18, 2640, 43, 13007, 335, 1079, 24899, 2472, 16, 1147, 16, 389, 27145, 12028, 16, 498, 16, 389, 2327, 18, 588, 4082, 537, 9334, 389, 2327, 18, 588, 774, 9334, 8451, 653, 16, 2342, 16, 638, 1769, 7734, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 5411, 389, 1330, 18, 4148, 2932, 4661, 12, 2508, 13, 300, 1147, 2665, 315, 397, 1147, 1769, 7734, 389, 2327, 18, 7569, 12, 2508, 18, 588, 8259, 4334, 7675, 588, 2310, 9334, 11863, 18, 588, 20329, 548, 10663, 7734, 2479, 4510, 2278, 603, 7817, 273, 394, 2479, 4510, 2278, 12, 2508, 16, 8451, 653, 16, 2342, 1769, 3639, 2479, 2694, 2278, 603, 3754, 273, 394, 2479, 2694, 2278, 12, 2508, 1769, 3639, 16202, 4320, 3451, 273, 394, 16202, 4320, 12, 2316, 1769, 7734, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 5411, 389, 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, 3238, 918, 1366, 12, 17746, 11863, 13, 288, 3639, 368, 1366, 518, 487, 279, 314, 13007, 335, 598, 279, 17390, 1482, 1079, 1219, 537, 471, 279, 883, 3451, 341, 19, 2216, 2278, 603, 4332, 3639, 1525, 1147, 273, 389, 2472, 18, 9188, 7675, 4285, 1702, 12, 4522, 18, 6694, 67, 4051, 1769, 3639, 11951, 498, 273, 389, 2327, 18, 588, 17746, 694, 7675, 588, 26740, 5621, 3639, 3877, 653, 8451, 653, 273, 394, 3877, 653, 5621, 3639, 1000, 2342, 273, 394, 6847, 5621, 3639, 611, 13007, 335, 1079, 1234, 273, 2976, 3653, 1227, 1079, 2278, 2276, 18, 2640, 43, 13007, 335, 1079, 24899, 2472, 16, 1147, 16, 389, 27145, 12028, 16, 498, 16, 389, 2327, 18, 588, 4082, 2 ]
} else { SVNErrorManager.error(0, null);
} finally { SVNFileUtil.sleepForTimestamp(); myIsDoNotSleepForTimeStamp = false;
public long doCheckout(String url, File dstPath, SVNRevision pegRevision, SVNRevision revision, boolean recursive) throws SVNException { url = validateURL(url); if (dstPath == null) { dstPath = new File(".", PathUtil.tail(url)); } if (!revision.isValid() && !pegRevision.isValid()) { pegRevision = SVNRevision.HEAD; revision = SVNRevision.HEAD; } else if (!revision.isValid()) { revision = pegRevision; } else if (!pegRevision.isValid()) { pegRevision = revision; } url = getURL(url, pegRevision, revision); SVNRepository repos = createRepository(url); long revNumber = getRevisionNumber(url, revision); SVNNodeKind targetNodeKind = repos.checkPath("", revNumber); String uuid = repos.getRepositoryUUID(); if (targetNodeKind == SVNNodeKind.FILE) { SVNErrorManager.error(0, null); } else if (targetNodeKind == SVNNodeKind.NONE) { SVNErrorManager.error(0, null); } long result = -1; if (!dstPath.exists() || (dstPath.isDirectory() && !SVNWCAccess.isVersionedDirectory(dstPath))) { createVersionedDirectory(dstPath, url, uuid, revNumber); result = doUpdate(dstPath, revision, recursive); } else if (dstPath.isDirectory() && SVNWCAccess.isVersionedDirectory(dstPath)) { SVNWCAccess wcAccess = SVNWCAccess.create(dstPath); if (url.equals(wcAccess.getTargetEntryProperty(SVNProperty.URL))) { result = doUpdate(dstPath, revision, recursive); } else { SVNErrorManager.error(0, null); } } else { SVNErrorManager.error(0, null); } return result; }
5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/35c4eff3cdefe26dc93ca64dd0977a77801e7b74/SVNUpdater.java/buggy/javasvn/src/org/tmatesoft/svn/core/internal/ws/log/SVNUpdater.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1525, 741, 18581, 12, 780, 880, 16, 1387, 29845, 16, 29537, 50, 7939, 29231, 7939, 16, 29537, 50, 7939, 6350, 16, 1250, 5904, 13, 1216, 29537, 50, 503, 288, 3639, 880, 273, 1954, 1785, 12, 718, 1769, 3639, 309, 261, 11057, 743, 422, 446, 13, 288, 5411, 29845, 273, 394, 1387, 2932, 1199, 16, 2666, 1304, 18, 13101, 12, 718, 10019, 3639, 289, 3639, 309, 16051, 13057, 18, 26810, 1435, 597, 401, 9001, 7939, 18, 26810, 10756, 288, 5411, 29231, 7939, 273, 29537, 50, 7939, 18, 12458, 31, 5411, 6350, 273, 29537, 50, 7939, 18, 12458, 31, 3639, 289, 469, 309, 16051, 13057, 18, 26810, 10756, 288, 5411, 6350, 273, 29231, 7939, 31, 3639, 289, 469, 309, 16051, 9001, 7939, 18, 26810, 10756, 288, 5411, 29231, 7939, 273, 6350, 31, 3639, 289, 3639, 880, 273, 19341, 12, 718, 16, 29231, 7939, 16, 6350, 1769, 3639, 29537, 50, 3305, 13686, 273, 752, 3305, 12, 718, 1769, 3639, 1525, 5588, 1854, 273, 26911, 1854, 12, 718, 16, 6350, 1769, 3639, 29537, 50, 907, 5677, 25804, 5677, 273, 13686, 18, 1893, 743, 2932, 3113, 5588, 1854, 1769, 3639, 514, 3822, 273, 13686, 18, 588, 3305, 5562, 5621, 3639, 309, 261, 3299, 907, 5677, 422, 29537, 50, 907, 5677, 18, 3776, 13, 288, 5411, 29537, 50, 668, 1318, 18, 1636, 12, 20, 16, 446, 1769, 3639, 289, 469, 309, 261, 3299, 907, 5677, 422, 29537, 50, 907, 5677, 18, 9826, 13, 288, 5411, 29537, 50, 668, 1318, 18, 1636, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1525, 741, 18581, 12, 780, 880, 16, 1387, 29845, 16, 29537, 50, 7939, 29231, 7939, 16, 29537, 50, 7939, 6350, 16, 1250, 5904, 13, 1216, 29537, 50, 503, 288, 3639, 880, 273, 1954, 1785, 12, 718, 1769, 3639, 309, 261, 11057, 743, 422, 446, 13, 288, 5411, 29845, 273, 394, 1387, 2932, 1199, 16, 2666, 1304, 18, 13101, 12, 718, 10019, 3639, 289, 3639, 309, 16051, 13057, 18, 26810, 1435, 597, 401, 9001, 7939, 18, 26810, 10756, 288, 5411, 29231, 7939, 273, 29537, 50, 7939, 18, 12458, 31, 5411, 6350, 273, 29537, 50, 7939, 18, 12458, 31, 3639, 289, 469, 309, 16051, 13057, 18, 26810, 10756, 288, 5411, 6350, 273, 29231, 7939, 31, 3639, 289, 469, 309, 2 ]
throw new TypeError(runtime, args[0], runtime.getClasses().getStringClass());
throw getRuntime().newTypeError(args[0], getRuntime().getClasses().getStringClass());
public IRubyObject reopen(IRubyObject arg1, IRubyObject[] args) { if (arg1.isKindOf(getRuntime().getClasses().getIoClass())) { RubyIO ios = (RubyIO) arg1; int keepFileno = handler.getFileno(); // When we reopen, we want our fileno to be preserved even // though we have a new IOHandler. // Note: When we clone we get a new fileno...then we replace it. // This ends up incrementing our fileno index up, which makes the // fileno we choose different from ruby. Since this seems a bit // too implementation specific, I did not bother trying to get // these to agree (what scary code would depend on fileno generating // a particular way?) handler = ios.handler.cloneIOHandler(); handler.setFileno(keepFileno); // Update fileno list with our new handler registerIOHandler(handler); } else if (arg1.isKindOf(getRuntime().getClasses().getStringClass())) { String path = ((RubyString) arg1).getValue(); String mode = "r"; if (args != null && args.length > 0) { if (!args[0].isKindOf(getRuntime().getClasses().getStringClass())) { throw new TypeError(runtime, args[0], runtime.getClasses().getStringClass()); } mode = ((RubyString) args[0]).getValue(); } try { if (handler != null) { close(); } modes = new IOModes(getRuntime(), mode); handler = new IOHandlerSeekable(getRuntime(), path, modes); registerIOHandler(handler); } catch (IOException e) { throw new IOError(getRuntime(), e.toString()); } } // A potentially previously close IO is being 'reopened'. isOpen = true; return this; }
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyIO.java/clean/src/org/jruby/RubyIO.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 31563, 12, 7937, 10340, 921, 1501, 21, 16, 15908, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 3175, 21, 18, 291, 5677, 951, 12, 588, 5576, 7675, 588, 4818, 7675, 588, 15963, 797, 1435, 3719, 288, 5411, 19817, 4294, 30993, 273, 261, 54, 10340, 4294, 13, 1501, 21, 31, 5411, 509, 3455, 25579, 5764, 273, 1838, 18, 588, 25579, 5764, 5621, 5411, 368, 5203, 732, 31563, 16, 732, 2545, 3134, 24256, 358, 506, 21096, 5456, 5411, 368, 11376, 732, 1240, 279, 394, 1665, 1503, 18, 5411, 368, 3609, 30, 5203, 732, 3236, 732, 336, 279, 394, 24256, 2777, 15991, 732, 1453, 518, 18, 5411, 368, 1220, 3930, 731, 5504, 310, 3134, 24256, 770, 731, 16, 1492, 7297, 326, 5411, 368, 24256, 732, 9876, 3775, 628, 22155, 18, 225, 7897, 333, 12001, 279, 2831, 5411, 368, 4885, 4471, 2923, 16, 467, 5061, 486, 23440, 8374, 358, 336, 5411, 368, 4259, 358, 1737, 992, 261, 23770, 888, 814, 981, 4102, 2447, 603, 24256, 12516, 5411, 368, 279, 6826, 4031, 8535, 5411, 1838, 273, 30993, 18, 4176, 18, 14056, 4294, 1503, 5621, 5411, 1838, 18, 542, 25579, 5764, 12, 10102, 25579, 5764, 1769, 13491, 368, 2315, 24256, 666, 598, 3134, 394, 1838, 5411, 1744, 4294, 1503, 12, 4176, 1769, 3639, 289, 469, 309, 261, 3175, 21, 18, 291, 5677, 951, 12, 588, 5576, 7675, 588, 4818, 7675, 588, 780, 797, 1435, 3719, 288, 5411, 514, 589, 273, 14015, 54, 10340, 780, 13, 1501, 21, 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, 15908, 10340, 921, 31563, 12, 7937, 10340, 921, 1501, 21, 16, 15908, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 3175, 21, 18, 291, 5677, 951, 12, 588, 5576, 7675, 588, 4818, 7675, 588, 15963, 797, 1435, 3719, 288, 5411, 19817, 4294, 30993, 273, 261, 54, 10340, 4294, 13, 1501, 21, 31, 5411, 509, 3455, 25579, 5764, 273, 1838, 18, 588, 25579, 5764, 5621, 5411, 368, 5203, 732, 31563, 16, 732, 2545, 3134, 24256, 358, 506, 21096, 5456, 5411, 368, 11376, 732, 1240, 279, 394, 1665, 1503, 18, 5411, 368, 3609, 30, 5203, 732, 3236, 732, 336, 279, 394, 24256, 2777, 15991, 732, 1453, 518, 18, 5411, 368, 1220, 3930, 731, 5504, 310, 3134, 24256, 770, 2 ]
private int solveDirtyPaths() { int numSolved = 0; boolean pathFoundCheck = false; for (int i = 0; i < workingPaths.size(); i++) { Path path = (Path)workingPaths.get(i); path.refreshExcludedObstacles(userObstacles); if (!path.isDirty) { path.reset(); continue; } numSolved++; path.fullReset(); pathFoundCheck = path.generateShortestPath(userObstacles); if (!pathFoundCheck || path.end.cost > path.threshold) { // path not found, or path found was too long resetVertices(); path.fullReset(); path.threshold = 0; pathFoundCheck = path.generateShortestPath(userObstacles); } resetVertices(); } resetObstacleExclusions(); if (numSolved == 0) resetVertices(); return numSolved;}
11225 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11225/375f5ca5b08f799014f10ca6a967bc6d7290c7d6/ShortestPathRouter.java/buggy/org.eclipse.draw2d/src/org/eclipse/draw2d/graph/ShortestPathRouter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 509, 12439, 10785, 4466, 1435, 288, 202, 474, 818, 55, 12894, 273, 374, 31, 202, 6494, 589, 2043, 1564, 273, 629, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 5960, 4466, 18, 1467, 5621, 277, 27245, 288, 202, 202, 743, 589, 273, 261, 743, 13, 20478, 4466, 18, 588, 12, 77, 1769, 202, 202, 803, 18, 9144, 16461, 10516, 334, 69, 9558, 12, 1355, 10516, 334, 69, 9558, 1769, 202, 202, 430, 16051, 803, 18, 291, 10785, 13, 288, 1082, 202, 803, 18, 6208, 5621, 1082, 202, 17143, 31, 202, 202, 97, 9506, 202, 2107, 55, 12894, 9904, 31, 9506, 202, 803, 18, 2854, 7013, 5621, 9506, 202, 803, 2043, 1564, 273, 589, 18, 7163, 4897, 395, 743, 12, 1355, 10516, 334, 69, 9558, 1769, 202, 202, 430, 16051, 803, 2043, 1564, 747, 589, 18, 409, 18, 12398, 405, 589, 18, 8699, 13, 288, 1082, 202, 759, 589, 486, 1392, 16, 578, 589, 1392, 1703, 4885, 1525, 1082, 202, 6208, 13371, 5621, 1082, 202, 803, 18, 2854, 7013, 5621, 1082, 202, 803, 18, 8699, 273, 374, 31, 1082, 202, 803, 2043, 1564, 273, 589, 18, 7163, 4897, 395, 743, 12, 1355, 10516, 334, 69, 9558, 1769, 202, 202, 97, 9506, 202, 6208, 13371, 5621, 202, 97, 202, 202, 6208, 10516, 334, 16066, 424, 25364, 5621, 202, 202, 430, 261, 2107, 55, 12894, 422, 374, 13, 202, 202, 6208, 13371, 5621, 202, 202, 2463, 818, 55, 12894, 31, 97, 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, 3238, 509, 12439, 10785, 4466, 1435, 288, 202, 474, 818, 55, 12894, 273, 374, 31, 202, 6494, 589, 2043, 1564, 273, 629, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 5960, 4466, 18, 1467, 5621, 277, 27245, 288, 202, 202, 743, 589, 273, 261, 743, 13, 20478, 4466, 18, 588, 12, 77, 1769, 202, 202, 803, 18, 9144, 16461, 10516, 334, 69, 9558, 12, 1355, 10516, 334, 69, 9558, 1769, 202, 202, 430, 16051, 803, 18, 291, 10785, 13, 288, 1082, 202, 803, 18, 6208, 5621, 1082, 202, 17143, 31, 202, 202, 97, 9506, 202, 2107, 55, 12894, 9904, 31, 9506, 202, 803, 18, 2854, 7013, 5621, 9506, 202, 803, 2043, 1564, 273, 589, 18, 2 ]
if(tracker == null) return false;
if(tracker == null) { Logger.minor(this, "Tracker == null"); return false; }
private boolean tryProcess(byte[] buf, int offset, int length, KeyTracker tracker) { // Need to be able to call with tracker == null to simplify code above if(tracker == null) return false; Logger.minor(this,"Entering tryProcess: "+buf+","+offset+","+length+","+tracker); /** * E_pcbc_session(H(seq+random+data)) E_pcfb_session(seq+random+data) * * So first two blocks are the hash, PCBC encoded (meaning the * first one is ECB, and the second one is ECB XORed with the * ciphertext and plaintext of the first block). */ BlockCipher sessionCipher = tracker.sessionCipher; if(sessionCipher == null) { Logger.minor(this, "No cipher"); return false; } int blockSize = sessionCipher.getBlockSize() >> 3; if(sessionCipher.getKeySize() != sessionCipher.getBlockSize()) throw new IllegalStateException("Block size must be equal to key size"); if(HASH_LENGTH != blockSize) throw new IllegalStateException("Block size must be digest length!"); byte[] packetHash = new byte[HASH_LENGTH]; System.arraycopy(buf, offset, packetHash, 0, HASH_LENGTH); // Decrypt the sequence number and see if it's plausible // Verify the hash later PCFBMode pcfb; pcfb = new PCFBMode(sessionCipher); // Set IV to the hash, after it is encrypted pcfb.reset(packetHash); //Logger.minor(this,"IV:\n"+HexUtil.bytesToHex(packetHash)); byte[] seqBuf = new byte[4]; System.arraycopy(buf, offset+HASH_LENGTH, seqBuf, 0, 4); //Logger.minor(this, "Encypted sequence number: "+HexUtil.bytesToHex(seqBuf)); pcfb.blockDecipher(seqBuf, 0, 4); //Logger.minor(this, "Decrypted sequence number: "+HexUtil.bytesToHex(seqBuf)); int seqNumber = ((((((seqBuf[0] & 0xff) << 8) + (seqBuf[1] & 0xff)) << 8) + (seqBuf[2] & 0xff)) << 8) + (seqBuf[3] & 0xff); int targetSeqNumber = tracker.highestReceivedIncomingSeqNumber(); Logger.minor(this, "Target seq: "+targetSeqNumber); Logger.minor(this, "Sequence number: "+seqNumber+"="+Integer.toHexString(seqNumber)); if(seqNumber == -1) { // Ack/resendreq-only packet } else { // Now is it credible? // As long as it's within +/- 256, this is valid. if(targetSeqNumber != -1 && Math.abs(targetSeqNumber - seqNumber) > MAX_PACKETS_IN_FLIGHT) return false; } Logger.minor(this, "Sequence number received: "+seqNumber); // Plausible, so lets decrypt the rest of the data byte[] plaintext = new byte[length-(4+HASH_LENGTH)]; System.arraycopy(buf, offset+HASH_LENGTH+4, plaintext, 0, length-(HASH_LENGTH+4)); pcfb.blockDecipher(plaintext, 0, length-(HASH_LENGTH+4)); //Logger.minor(this, "Plaintext:\n"+HexUtil.bytesToHex(plaintext)); MessageDigest md = getDigest(); md.update(seqBuf); md.update(plaintext); byte[] realHash = md.digest(); // Now decrypt the original hash byte[] temp = new byte[blockSize]; System.arraycopy(buf, offset, temp, 0, blockSize); sessionCipher.decipher(temp, temp); System.arraycopy(temp, 0, packetHash, 0, blockSize); // Check the hash if(!java.util.Arrays.equals(packetHash, realHash)) { Logger.minor(this, "Packet possibly from "+tracker+" hash does not match:\npacketHash="+ HexUtil.bytesToHex(packetHash)+"\n realHash="+HexUtil.bytesToHex(realHash)+" ("+(length-HASH_LENGTH)+" bytes payload)"); return false; } if(seqNumber != -1 && tracker.alreadyReceived(seqNumber)) { tracker.queueAck(seqNumber); Logger.normal(this, "Received packet twice: "+seqNumber); return true; } for(int i=0;i<md.getDigestLength();i++) { packetHash[i] ^= buf[offset+i]; } node.random.acceptEntropyBytes(myPacketDataSource, packetHash, 0, md.getDigestLength(), 0.5); // Lots more to do yet! processDecryptedData(plaintext, seqNumber, tracker); return true; }
46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/17ab83798dc1588df0a327af91db347bb77392d7/FNPPacketMangler.java/buggy/src/freenet/node/FNPPacketMangler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 775, 2227, 12, 7229, 8526, 1681, 16, 509, 1384, 16, 509, 769, 16, 1929, 8135, 9745, 13, 288, 3639, 368, 12324, 358, 506, 7752, 358, 745, 598, 9745, 422, 446, 358, 16499, 981, 5721, 540, 309, 12, 16543, 422, 446, 13, 288, 4242, 18, 17364, 12, 2211, 16, 315, 8135, 422, 446, 8863, 327, 629, 31, 289, 3639, 4242, 18, 17364, 12, 2211, 10837, 10237, 310, 775, 2227, 30, 13773, 4385, 15, 15937, 15, 3348, 15, 15937, 15, 2469, 15, 15937, 15, 16543, 1769, 3639, 1783, 540, 380, 512, 67, 2436, 13459, 67, 3184, 12, 44, 12, 5436, 15, 9188, 15, 892, 3719, 512, 67, 2436, 19192, 67, 3184, 12, 5436, 15, 9188, 15, 892, 13, 540, 380, 1850, 380, 6155, 1122, 2795, 4398, 854, 326, 1651, 16, 453, 21813, 3749, 261, 7079, 310, 326, 540, 380, 1122, 1245, 353, 7773, 38, 16, 471, 326, 2205, 1245, 353, 7773, 38, 28086, 329, 598, 326, 1850, 380, 12657, 471, 11917, 434, 326, 1122, 1203, 2934, 540, 1195, 3639, 3914, 13896, 1339, 13896, 273, 9745, 18, 3184, 13896, 31, 3639, 309, 12, 3184, 13896, 422, 446, 13, 288, 5411, 4242, 18, 17364, 12, 2211, 16, 315, 2279, 5867, 8863, 5411, 327, 629, 31, 3639, 289, 3639, 509, 13766, 273, 1339, 13896, 18, 588, 22506, 1435, 1671, 890, 31, 3639, 309, 12, 3184, 13896, 18, 588, 653, 1225, 1435, 480, 1339, 13896, 18, 588, 22506, 10756, 5411, 604, 394, 5477, 2932, 1768, 963, 1297, 506, 3959, 358, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 775, 2227, 12, 7229, 8526, 1681, 16, 509, 1384, 16, 509, 769, 16, 1929, 8135, 9745, 13, 288, 3639, 368, 12324, 358, 506, 7752, 358, 745, 598, 9745, 422, 446, 358, 16499, 981, 5721, 540, 309, 12, 16543, 422, 446, 13, 288, 4242, 18, 17364, 12, 2211, 16, 315, 8135, 422, 446, 8863, 327, 629, 31, 289, 3639, 4242, 18, 17364, 12, 2211, 10837, 10237, 310, 775, 2227, 30, 13773, 4385, 15, 15937, 15, 3348, 15, 15937, 15, 2469, 15, 15937, 15, 16543, 1769, 3639, 1783, 540, 380, 512, 67, 2436, 13459, 67, 3184, 12, 44, 12, 5436, 15, 9188, 15, 892, 3719, 512, 67, 2436, 19192, 67, 3184, 12, 5436, 15, 9188, 15, 892, 13, 2 ]
pstmt.setInt(1, i); assertTrue(pstmt.executeUpdate() == 1);
pstmt.setInt(1, i); assertEquals(pstmt.executeUpdate(), 1);
public void testUpdateCount1() throws Exception { int count = 500; Statement stmt = con.createStatement(); stmt.execute("CREATE TABLE #updateCount1 (data INT)"); stmt.close(); PreparedStatement pstmt = con.prepareStatement("INSERT INTO #updateCount1 (data) VALUES (?)"); for (int i = 1; i <= count; i++) { pstmt.setInt(1, i); assertTrue(pstmt.executeUpdate() == 1); } pstmt.close(); stmt = con.createStatement(); ResultSet rs = stmt.executeQuery("SELECT COUNT(*) FROM #updateCount1"); assertTrue(rs.next()); assertTrue(rs.getInt(1) == count); assertTrue(!rs.next()); stmt.close(); rs.close(); pstmt = con.prepareStatement("DELETE FROM #updateCount1"); assertTrue(pstmt.executeUpdate() == count); pstmt.close(); }
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/ba8dbcfb4c76f4e59cc1c80c3e20bdd3252ec4c4/PreparedStatementTest.java/buggy/trunk/jtds/src/test/net/sourceforge/jtds/test/PreparedStatementTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1891, 1380, 21, 1435, 1216, 1185, 288, 377, 202, 474, 1056, 273, 6604, 31, 377, 202, 3639, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 3480, 18, 8837, 2932, 9344, 7567, 468, 2725, 1380, 21, 261, 892, 6137, 2225, 1769, 3639, 3480, 18, 4412, 5621, 3639, 16913, 293, 10589, 273, 356, 18, 9366, 3406, 2932, 11356, 12421, 468, 2725, 1380, 21, 261, 892, 13, 13477, 13590, 2225, 1769, 3639, 364, 261, 474, 277, 273, 404, 31, 277, 1648, 1056, 31, 277, 27245, 288, 540, 202, 84, 10589, 18, 542, 1702, 12, 21, 16, 277, 1769, 540, 202, 11231, 5510, 12, 84, 10589, 18, 8837, 1891, 1435, 422, 404, 1769, 3639, 289, 3639, 293, 10589, 18, 4412, 5621, 3639, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 10842, 3597, 273, 3480, 18, 8837, 1138, 2932, 4803, 12666, 24099, 4571, 468, 2725, 1380, 21, 8863, 3639, 1815, 5510, 12, 5453, 18, 4285, 10663, 3639, 1815, 5510, 12, 5453, 18, 588, 1702, 12, 21, 13, 422, 1056, 1769, 3639, 1815, 5510, 12, 5, 5453, 18, 4285, 10663, 7734, 3480, 18, 4412, 5621, 3639, 3597, 18, 4412, 5621, 7734, 293, 10589, 273, 356, 18, 9366, 3406, 2932, 6460, 4571, 468, 2725, 1380, 21, 8863, 3639, 1815, 5510, 12, 84, 10589, 18, 8837, 1891, 1435, 422, 1056, 1769, 3639, 293, 10589, 18, 4412, 5621, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1891, 1380, 21, 1435, 1216, 1185, 288, 377, 202, 474, 1056, 273, 6604, 31, 377, 202, 3639, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 3480, 18, 8837, 2932, 9344, 7567, 468, 2725, 1380, 21, 261, 892, 6137, 2225, 1769, 3639, 3480, 18, 4412, 5621, 3639, 16913, 293, 10589, 273, 356, 18, 9366, 3406, 2932, 11356, 12421, 468, 2725, 1380, 21, 261, 892, 13, 13477, 13590, 2225, 1769, 3639, 364, 261, 474, 277, 273, 404, 31, 277, 1648, 1056, 31, 277, 27245, 288, 540, 202, 84, 10589, 18, 542, 1702, 12, 21, 16, 277, 1769, 540, 202, 11231, 5510, 12, 84, 10589, 18, 8837, 1891, 1435, 422, 404, 1769, 3639, 289, 3639, 293, 10589, 2 ]
if (!_bangobj.isActive() || !_bangobj.isInPlay()) {
if (!_bangobj.isActive() || _bangobj.state != BangObject.IN_PLAY) {
public void expired () { // cope if the game has been ended and destroyed since we were // queued up for execution if (!_bangobj.isActive() || !_bangobj.isInPlay()) { return; } // reset the extra tick time and update the game's tick counter int nextTick = (_bangobj.tick + 1) % Short.MAX_VALUE; _extraTickTime = 0L; _bangobj.setTick((short)nextTick); // queue ourselves up to expire in a time proportional to the // average number of pieces per player int avgPer = _bangobj.getAverageUnitCount(); long now = System.currentTimeMillis(); _nextTickTime = now + // ticks must be at least one second apart Math.max(getBaseTick() * avgPer + _extraTickTime, 1000L); _ticker.schedule(_nextTickTime - now); }
8059 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8059/0ef65426e9f245f5d38e71407ff6aa959731e96d/BangManager.java/buggy/src/java/com/threerings/bang/game/server/BangManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 7708, 1832, 288, 5411, 368, 276, 1306, 309, 326, 7920, 711, 2118, 16926, 471, 17689, 3241, 732, 4591, 5411, 368, 12234, 731, 364, 4588, 5411, 309, 16051, 67, 70, 539, 2603, 18, 291, 3896, 1435, 747, 389, 70, 539, 2603, 18, 2019, 480, 605, 539, 921, 18, 706, 67, 52, 7868, 13, 288, 7734, 327, 31, 5411, 289, 5411, 368, 2715, 326, 2870, 4024, 813, 471, 1089, 326, 7920, 1807, 4024, 3895, 5411, 509, 23754, 273, 261, 67, 70, 539, 2603, 18, 6470, 397, 404, 13, 738, 7925, 18, 6694, 67, 4051, 31, 5411, 389, 7763, 6264, 950, 273, 374, 48, 31, 5411, 389, 70, 539, 2603, 18, 542, 6264, 12443, 6620, 13, 4285, 6264, 1769, 5411, 368, 2389, 19801, 731, 358, 6930, 316, 279, 813, 23279, 287, 358, 326, 5411, 368, 8164, 1300, 434, 10167, 1534, 7291, 5411, 509, 11152, 2173, 273, 389, 70, 539, 2603, 18, 588, 17115, 2802, 1380, 5621, 5411, 1525, 2037, 273, 2332, 18, 2972, 28512, 5621, 5411, 389, 4285, 6264, 950, 273, 2037, 397, 7734, 368, 13003, 1297, 506, 622, 4520, 1245, 2205, 513, 485, 7734, 2361, 18, 1896, 12, 588, 2171, 6264, 1435, 380, 11152, 2173, 397, 389, 7763, 6264, 950, 16, 4336, 48, 1769, 5411, 389, 88, 5448, 18, 10676, 24899, 4285, 6264, 950, 300, 2037, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 7708, 1832, 288, 5411, 368, 276, 1306, 309, 326, 7920, 711, 2118, 16926, 471, 17689, 3241, 732, 4591, 5411, 368, 12234, 731, 364, 4588, 5411, 309, 16051, 67, 70, 539, 2603, 18, 291, 3896, 1435, 747, 389, 70, 539, 2603, 18, 2019, 480, 605, 539, 921, 18, 706, 67, 52, 7868, 13, 288, 7734, 327, 31, 5411, 289, 5411, 368, 2715, 326, 2870, 4024, 813, 471, 1089, 326, 7920, 1807, 4024, 3895, 5411, 509, 23754, 273, 261, 67, 70, 539, 2603, 18, 6470, 397, 404, 13, 738, 7925, 18, 6694, 67, 4051, 31, 5411, 389, 7763, 6264, 950, 273, 374, 48, 31, 5411, 389, 70, 539, 2603, 18, 542, 6264, 12443, 6620, 13, 4285, 6264, 1769, 2 ]
InstallUtil.getRemoteCa(getController().getModel());
getRemoteCa();
public void execute() throws InstallerException { fireStarted(); int stepCount = 2; double percentPerStep = 100/stepCount; double percent = 0; InstallUtil.getRemoteCa(getController().getModel()); fireProgress("...ca complete!", (int)percent); createScConfig(); fireProgress("...service container configuration created!", (int)percent); fireFinished(); }
25778 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25778/e0174ba5e6bc124b37fdeb42b70a998b804400ea/GrmScConfigurationTask.java/buggy/src/com/sun/grid/grm/install/tasks/GrmScConfigurationTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 1216, 10284, 264, 503, 288, 3639, 4452, 9217, 5621, 7734, 509, 2235, 1380, 273, 576, 31, 3639, 1645, 5551, 2173, 4160, 273, 2130, 19, 4119, 1380, 31, 3639, 1645, 5551, 273, 374, 31, 3639, 14879, 23508, 5621, 3639, 4452, 5491, 2932, 2777, 5353, 3912, 5, 3113, 261, 474, 13, 8849, 1769, 3639, 752, 1541, 809, 5621, 3639, 4452, 5491, 2932, 2777, 3278, 1478, 1664, 2522, 5, 3113, 261, 474, 13, 8849, 1769, 7734, 4452, 10577, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 1216, 10284, 264, 503, 288, 3639, 4452, 9217, 5621, 7734, 509, 2235, 1380, 273, 576, 31, 3639, 1645, 5551, 2173, 4160, 273, 2130, 19, 4119, 1380, 31, 3639, 1645, 5551, 273, 374, 31, 3639, 14879, 23508, 5621, 3639, 4452, 5491, 2932, 2777, 5353, 3912, 5, 3113, 261, 474, 13, 8849, 1769, 3639, 752, 1541, 809, 5621, 3639, 4452, 5491, 2932, 2777, 3278, 1478, 1664, 2522, 5, 3113, 261, 474, 13, 8849, 1769, 7734, 4452, 10577, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
CompositeModelCommand cc = new CompositeModelCommand(PresentationResourceManager.getInstance().getString("AddCommand.Label"));
CompositeModelCommand cc = new CompositeModelCommand(DiagramResourceManager.getInstance().getString("AddCommand.Label"));
protected Command getCreateCommand(CreateRequest request) { CreateViewRequest req = (CreateViewRequest) request; CompositeModelCommand cc = new CompositeModelCommand(PresentationResourceManager.getInstance().getString("AddCommand.Label")); //$NON-NLS-1$ Iterator iter = req.getViewDescriptors().iterator(); final Rectangle BOUNDS = (Rectangle) getConstraintFor(request); while (iter.hasNext()) { CreateViewRequest.ViewDescriptor viewDescriptor = (CreateViewRequest.ViewDescriptor)iter.next(); Rectangle rect = getBoundsOffest(req, BOUNDS,viewDescriptor); cc.compose(new SetBoundsCommand( PresentationResourceManager.getInstance().getString("SetLocationCommand.Label.Resize"),//$NON-NLS-1$ viewDescriptor, rect)); } if( cc.unwrap() == null ) return null; return chainGuideAttachmentCommands( request, new EtoolsProxyCommand(cc.unwrap())); }
1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/8cde65fc058a9faaf847d04bf9b28594ea600f8f/XYLayoutEditPolicy.java/clean/org.eclipse.gmf.runtime/plugins/org.eclipse.gmf.runtime.diagram.ui/src/org/eclipse/gmf/runtime/diagram/ui/editpolicies/XYLayoutEditPolicy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 3498, 25667, 2189, 12, 1684, 691, 590, 13, 288, 202, 202, 1684, 1767, 691, 1111, 273, 261, 1684, 1767, 691, 13, 590, 31, 202, 202, 9400, 1488, 2189, 4946, 273, 394, 14728, 1488, 2189, 12, 14058, 1940, 1420, 1318, 18, 588, 1442, 7675, 588, 780, 2932, 986, 2189, 18, 2224, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 3198, 1400, 273, 1111, 18, 588, 1767, 12705, 7675, 9838, 5621, 202, 202, 6385, 13264, 9784, 2124, 3948, 273, 261, 19463, 13, 336, 5806, 1290, 12, 2293, 1769, 202, 202, 17523, 261, 2165, 18, 5332, 2134, 10756, 288, 1082, 202, 1684, 1767, 691, 18, 1767, 3187, 1476, 3187, 273, 261, 1684, 1767, 691, 18, 1767, 3187, 13, 2165, 18, 4285, 5621, 1875, 202, 19463, 4917, 273, 22107, 7210, 395, 12, 3658, 16, 9784, 2124, 3948, 16, 1945, 3187, 1769, 1082, 202, 952, 18, 23658, 12, 2704, 1000, 5694, 2189, 12, 9506, 202, 6351, 367, 1420, 1318, 18, 588, 1442, 7675, 588, 780, 2932, 694, 2735, 2189, 18, 2224, 18, 12182, 6, 3631, 759, 8, 3993, 17, 5106, 17, 21, 8, 9506, 202, 1945, 3187, 16, 9506, 202, 2607, 10019, 202, 202, 97, 9506, 202, 430, 12, 4946, 18, 318, 4113, 1435, 422, 446, 262, 1082, 202, 2463, 446, 31, 202, 202, 2463, 2687, 17424, 6803, 9127, 12, 590, 16, 1082, 202, 2704, 512, 6642, 3886, 2189, 12, 952, 18, 318, 4113, 1435, 10019, 202, 97, 2, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 3498, 25667, 2189, 12, 1684, 691, 590, 13, 288, 202, 202, 1684, 1767, 691, 1111, 273, 261, 1684, 1767, 691, 13, 590, 31, 202, 202, 9400, 1488, 2189, 4946, 273, 394, 14728, 1488, 2189, 12, 14058, 1940, 1420, 1318, 18, 588, 1442, 7675, 588, 780, 2932, 986, 2189, 18, 2224, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 3198, 1400, 273, 1111, 18, 588, 1767, 12705, 7675, 9838, 5621, 202, 202, 6385, 13264, 9784, 2124, 3948, 273, 261, 19463, 13, 336, 5806, 1290, 12, 2293, 1769, 202, 202, 17523, 261, 2165, 18, 5332, 2134, 10756, 288, 1082, 202, 1684, 1767, 691, 18, 1767, 3187, 1476, 3187, 273, 261, 1684, 1767, 691, 18, 1767, 2 ]
log(pAnnotationType, annotationType);
log(2, pAnnotationType, annotationType);
public static AnnotationTypeEnum valueOf(String pAnnotationType) { if (pAnnotationType == null) { throw new IllegalArgumentException("pAnnotationType is null"); } AnnotationTypeEnum annotationType; if (pAnnotationType.equals(JAVADOC_ANNOTATION_TYPE)) { annotationType = JAVADOC; } else if (pAnnotationType.equals(JDK_ANNOTATION_TYPE)) { annotationType = JDK; } else if (pAnnotationType.equals("1.4") || pAnnotationType.toLowerCase().equals(JAVADOC_ANNOTATION_TYPE.toLowerCase())) { // For backward compatibility only annotationType = JAVADOC; log(pAnnotationType, annotationType); } else if ("1.5".equals(pAnnotationType) || pAnnotationType.toLowerCase().equals(JDK_ANNOTATION_TYPE.toLowerCase())) { // For backward compatibility only annotationType = JDK; log(pAnnotationType, annotationType); } else if ("jdk1.5".equals(pAnnotationType.toLowerCase()) || "jdk5".equals(pAnnotationType.toLowerCase())) { // For backward compatibility only annotationType = JDK; log(pAnnotationType, annotationType); } else { // For backward compatibility only // TODO should we make this an error? annotationType = VersionInfo.getDefaultAnnotationType(); log(pAnnotationType, annotationType); } if (VersionInfo.IS_JDK14 && annotationType == JDK) { throw new IllegalArgumentException( "Cannot specify \"" + pAnnotationType + "\" with 1.4 version of TestNG"); } return annotationType; }
47060 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47060/fd3d62963585c7d537041ba7ed53ebda5eef31c4/AnnotationTypeEnum.java/clean/src/main/org/testng/internal/AnnotationTypeEnum.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 6090, 10549, 4323, 12, 780, 293, 3257, 559, 13, 288, 565, 309, 261, 84, 3257, 559, 422, 446, 13, 288, 1377, 604, 394, 2754, 2932, 84, 3257, 559, 353, 446, 8863, 565, 289, 3639, 6090, 10549, 17239, 31, 565, 309, 261, 84, 3257, 559, 18, 14963, 12, 46, 5856, 1880, 10809, 67, 24922, 67, 2399, 3719, 288, 1377, 17239, 273, 804, 5856, 1880, 10809, 31, 565, 289, 565, 469, 309, 261, 84, 3257, 559, 18, 14963, 12, 46, 3398, 67, 24922, 67, 2399, 3719, 288, 1377, 17239, 273, 24387, 31, 565, 289, 565, 469, 309, 261, 84, 3257, 559, 18, 14963, 2932, 21, 18, 24, 7923, 540, 747, 293, 3257, 559, 18, 869, 5630, 7675, 14963, 12, 46, 5856, 1880, 10809, 67, 24922, 67, 2399, 18, 869, 5630, 1435, 3719, 288, 1377, 368, 2457, 12555, 8926, 1338, 1377, 17239, 273, 804, 5856, 1880, 10809, 31, 1377, 613, 12, 22, 16, 293, 3257, 559, 16, 17239, 1769, 565, 289, 565, 469, 309, 7566, 21, 18, 25, 9654, 14963, 12, 84, 3257, 559, 13, 540, 747, 293, 3257, 559, 18, 869, 5630, 7675, 14963, 12, 46, 3398, 67, 24922, 67, 2399, 18, 869, 5630, 1435, 3719, 288, 1377, 368, 2457, 12555, 8926, 1338, 1377, 17239, 273, 24387, 31, 1377, 613, 12, 22, 16, 293, 3257, 559, 16, 17239, 1769, 565, 289, 565, 469, 309, 7566, 78, 2883, 21, 18, 25, 9654, 14963, 12, 84, 3257, 559, 18, 869, 5630, 10756, 747, 315, 78, 2883, 25, 9654, 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, 6090, 10549, 4323, 12, 780, 293, 3257, 559, 13, 288, 565, 309, 261, 84, 3257, 559, 422, 446, 13, 288, 1377, 604, 394, 2754, 2932, 84, 3257, 559, 353, 446, 8863, 565, 289, 3639, 6090, 10549, 17239, 31, 565, 309, 261, 84, 3257, 559, 18, 14963, 12, 46, 5856, 1880, 10809, 67, 24922, 67, 2399, 3719, 288, 1377, 17239, 273, 804, 5856, 1880, 10809, 31, 565, 289, 565, 469, 309, 261, 84, 3257, 559, 18, 14963, 12, 46, 3398, 67, 24922, 67, 2399, 3719, 288, 1377, 17239, 273, 24387, 31, 565, 289, 565, 469, 309, 261, 84, 3257, 559, 18, 14963, 2932, 21, 18, 24, 7923, 540, 747, 293, 3257, 559, 18, 869, 5630, 7675, 14963, 2 ]
if (index == 0 || index == qualifiedName.length() - 1) {
int lastIndex = qualifiedName.lastIndexOf(':'); if (index == 0 || index == qualifiedName.length() - 1 || lastIndex!=index) {
public DocumentType createDocumentType(String qualifiedName, String publicID, String systemID) { if (!CoreDocumentImpl.isXMLName(qualifiedName)) { throw new DOMException(DOMException.INVALID_CHARACTER_ERR, "DOM002 Illegal character"); } int index = qualifiedName.indexOf(':'); if (index == 0 || index == qualifiedName.length() - 1) { throw new DOMException(DOMException.NAMESPACE_ERR, "DOM003 Namespace error"); } return new DocumentTypeImpl(null, qualifiedName, publicID, systemID); }
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/25e906f235891acf1ba2cfbd534ab27ba546e85b/DOMImplementationImpl.java/clean/src/org/apache/xerces/dom/DOMImplementationImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4319, 559, 4202, 27569, 559, 12, 780, 24133, 16, 4766, 5375, 514, 1071, 734, 16, 4766, 5375, 514, 2619, 734, 13, 565, 288, 377, 202, 430, 16051, 4670, 2519, 2828, 18, 291, 4201, 461, 12, 19724, 461, 3719, 288, 377, 202, 202, 12849, 394, 4703, 503, 12, 8168, 503, 18, 9347, 67, 27858, 67, 9712, 16, 1377, 1082, 21821, 315, 8168, 24908, 2141, 3351, 8863, 3639, 289, 3639, 509, 770, 273, 24133, 18, 31806, 2668, 2497, 1769, 3639, 309, 261, 1615, 422, 374, 747, 770, 422, 24133, 18, 2469, 1435, 300, 404, 13, 288, 202, 565, 604, 394, 4703, 503, 12, 8168, 503, 18, 11368, 67, 9712, 16, 4405, 4202, 315, 8168, 25425, 6005, 555, 8863, 202, 97, 377, 202, 2463, 394, 4319, 30639, 12, 2011, 16, 24133, 16, 1071, 734, 16, 2619, 734, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4319, 559, 4202, 27569, 559, 12, 780, 24133, 16, 4766, 5375, 514, 1071, 734, 16, 4766, 5375, 514, 2619, 734, 13, 565, 288, 377, 202, 430, 16051, 4670, 2519, 2828, 18, 291, 4201, 461, 12, 19724, 461, 3719, 288, 377, 202, 202, 12849, 394, 4703, 503, 12, 8168, 503, 18, 9347, 67, 27858, 67, 9712, 16, 1377, 1082, 21821, 315, 8168, 24908, 2141, 3351, 8863, 3639, 289, 3639, 509, 770, 273, 24133, 18, 31806, 2668, 2497, 1769, 3639, 309, 261, 1615, 422, 374, 747, 770, 422, 24133, 18, 2469, 1435, 300, 404, 13, 288, 202, 565, 604, 394, 4703, 503, 12, 8168, 503, 18, 11368, 67, 9712, 16, 4405, 4202, 315, 8168, 25425, 6005, 555, 8863, 202, 2 ]
public void setVar(String varname, Thing value) { setVar(varname, value, -1);
public void setVar(Thing varname, Thing value) { setVar(varname.toString(), value);
public void setVar(String varname, Thing value) { setVar(varname, value, -1); }
47447 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47447/1ededafc11e01105c14809fc998cf2fc5b38fae2/Interp.java/clean/trunk/hecl/com/dedasys/hecl/Interp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 1537, 12, 780, 15434, 16, 25803, 460, 13, 288, 202, 542, 1537, 12, 1401, 529, 16, 460, 16, 300, 21, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 1537, 12, 780, 15434, 16, 25803, 460, 13, 288, 202, 542, 1537, 12, 1401, 529, 16, 460, 16, 300, 21, 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 ]
Adventure skiAdventure = SampleData.WINTER_HOLIDAY;
IObservableList lodgings = BeansObservables.observeList(Realm .getDefault(), catalog, "lodgings"); ObservableListContentProvider contentProvider = new ObservableListContentProvider();
public void test_ROCombo_Scenario03_vanilla() { Adventure skiAdventure = SampleData.WINTER_HOLIDAY; // selection will // change its defaultLodging cviewer.setLabelProvider(lodgingLabelProvider); // Bind the ComboViewer's content to the available lodging cviewer.setContentProvider(new ObservableListContentProvider()); cviewer.setLabelProvider(new LabelProvider() { public String getText(Object element) { return ((Lodging) element).getName(); } }); IObservableList list = new WritableList(Lodging.class); list.addAll(Arrays.asList(catalog.getLodgings())); cviewer.setInput(list); // Ensure that cv's content now has the catalog's lodgings assertArrayEquals(catalog.getLodgings(), getViewerContent(cviewer).toArray()); // Ensure that the cv's labels are the same as the lodging descriptions assertEquals(getColumn(catalog.getLodgings(), "name"), getComboContent()); getDbc().bindValue(ViewersObservables.observeSingleSelection(cviewer), BeansObservables.observeValue(skiAdventure, "defaultLodging"), null); // Check to see that the initial selection is the currentDefault Lodging assertEquals(getViewerSelection(), skiAdventure.getDefaultLodging()); // Change the selection of the ComboViewer to all possible lodgings, and // verify that skiAdventure's default lodging was changed accordingly for (int i = 0; i < catalog.getLodgings().length; i++) { Object selection = catalog.getLodgings()[i]; cviewer.setSelection(new StructuredSelection(selection)); assertEquals(selection, skiAdventure.getDefaultLodging()); assertEquals(getViewerSelection(), skiAdventure.getDefaultLodging()); } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/a469cb14d7815f1d5dea6c4a44ea9ea80e229bed/ComboScenarios.java/buggy/tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/scenarios/ComboScenarios.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 67, 1457, 16156, 67, 21390, 4630, 67, 90, 26476, 1435, 288, 3639, 4052, 616, 594, 4343, 77, 1871, 616, 594, 273, 11474, 751, 18, 59, 9125, 67, 44, 1741, 734, 5255, 31, 368, 4421, 903, 3639, 368, 2549, 2097, 805, 48, 369, 1998, 3639, 276, 25256, 18, 542, 2224, 2249, 12, 80, 369, 1998, 2224, 2249, 1769, 3639, 368, 6936, 326, 1286, 1075, 18415, 1807, 913, 358, 326, 2319, 328, 369, 1998, 3639, 276, 25256, 18, 542, 1350, 2249, 12, 2704, 4310, 682, 1350, 2249, 10663, 3639, 276, 25256, 18, 542, 2224, 2249, 12, 2704, 5287, 2249, 1435, 288, 5411, 1071, 514, 6701, 12, 921, 930, 13, 288, 7734, 327, 14015, 48, 369, 1998, 13, 930, 2934, 17994, 5621, 5411, 289, 3639, 15549, 3639, 1665, 3745, 682, 666, 273, 394, 14505, 682, 12, 48, 369, 1998, 18, 1106, 1769, 3639, 666, 18, 1289, 1595, 12, 12726, 18, 345, 682, 12, 7199, 18, 588, 48, 369, 75, 899, 1435, 10019, 3639, 276, 25256, 18, 542, 1210, 12, 1098, 1769, 3639, 368, 7693, 716, 8951, 1807, 913, 2037, 711, 326, 6222, 1807, 328, 369, 75, 899, 3639, 1815, 1076, 8867, 12, 7199, 18, 588, 48, 369, 75, 899, 9334, 8893, 264, 1350, 12, 71, 25256, 2934, 31447, 10663, 3639, 368, 7693, 716, 326, 8951, 1807, 3249, 854, 326, 1967, 487, 326, 328, 369, 1998, 15550, 3639, 1815, 8867, 12, 588, 1494, 12, 7199, 18, 588, 48, 369, 75, 899, 9334, 315, 529, 6, 3631, 336, 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, 67, 1457, 16156, 67, 21390, 4630, 67, 90, 26476, 1435, 288, 3639, 4052, 616, 594, 4343, 77, 1871, 616, 594, 273, 11474, 751, 18, 59, 9125, 67, 44, 1741, 734, 5255, 31, 368, 4421, 903, 3639, 368, 2549, 2097, 805, 48, 369, 1998, 3639, 276, 25256, 18, 542, 2224, 2249, 12, 80, 369, 1998, 2224, 2249, 1769, 3639, 368, 6936, 326, 1286, 1075, 18415, 1807, 913, 358, 326, 2319, 328, 369, 1998, 3639, 276, 25256, 18, 542, 1350, 2249, 12, 2704, 4310, 682, 1350, 2249, 10663, 3639, 276, 25256, 18, 542, 2224, 2249, 12, 2704, 5287, 2249, 1435, 288, 5411, 1071, 514, 6701, 12, 921, 930, 13, 288, 7734, 327, 14015, 48, 369, 1998, 13, 2 ]
return rs.getString( "sysdata_value" );
return new Table_users( rs );
public Object mapOneRow( ResultSet rs ) throws SQLException { return rs.getString( "sysdata_value" ); }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/1006917dfe63a5d85d047011540205a2b02407a8/DatabaseService.java/clean/server/src/imcode/server/db/DatabaseService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 1033, 852, 3335, 1999, 12, 10842, 3597, 262, 1216, 6483, 288, 7734, 327, 394, 3555, 67, 5577, 12, 3597, 11272, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 1033, 852, 3335, 1999, 12, 10842, 3597, 262, 1216, 6483, 288, 7734, 327, 394, 3555, 67, 5577, 12, 3597, 11272, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
msg = pg_stream.ReceiveString(4096);
msg = pg_stream.ReceiveString(receive_sbuf,4096,getEncoding());
public java.sql.ResultSet ExecSQL(String sql) throws SQLException { // added Oct 7 1998 to give us thread safety. synchronized(pg_stream) { Field[] fields = null; Vector tuples = new Vector(); byte[] buf = null; int fqp = 0; boolean hfr = false; String recv_status = null, msg; int update_count = 1; int insert_oid = 0; SQLException final_error = null; // Commented out as the backend can now handle queries // larger than 8K. Peter June 6 2000 //if (sql.length() > 8192) //throw new PSQLException("postgresql.con.toolong",sql); if (getEncoding() == null) buf = sql.getBytes(); else { try { buf = sql.getBytes(getEncoding()); } catch (UnsupportedEncodingException unse) { throw new PSQLException("postgresql.con.encoding", unse); } } try { pg_stream.SendChar('Q'); buf = sql.getBytes(); pg_stream.Send(buf); pg_stream.SendChar(0); pg_stream.flush(); } catch (IOException e) { throw new PSQLException("postgresql.con.ioerror",e); } while (!hfr || fqp > 0) { Object tup=null; // holds rows as they are recieved int c = pg_stream.ReceiveChar(); switch (c) { case 'A': // Asynchronous Notify pid = pg_stream.ReceiveInteger(4); msg = pg_stream.ReceiveString(8192); break; case 'B': // Binary Data Transfer if (fields == null) throw new PSQLException("postgresql.con.tuple"); tup = pg_stream.ReceiveTuple(fields.length, true); // This implements Statement.setMaxRows() if(maxrows==0 || tuples.size()<maxrows) tuples.addElement(tup); break; case 'C': // Command Status recv_status = pg_stream.ReceiveString(8192); // Now handle the update count correctly. if(recv_status.startsWith("INSERT") || recv_status.startsWith("UPDATE") || recv_status.startsWith("DELETE")) { try { update_count = Integer.parseInt(recv_status.substring(1+recv_status.lastIndexOf(' '))); } catch(NumberFormatException nfe) { throw new PSQLException("postgresql.con.fathom",recv_status); } if(recv_status.startsWith("INSERT")) { try { insert_oid = Integer.parseInt(recv_status.substring(1+recv_status.indexOf(' '),recv_status.lastIndexOf(' '))); } catch(NumberFormatException nfe) { throw new PSQLException("postgresql.con.fathom",recv_status); } } } if (fields != null) hfr = true; else { try { pg_stream.SendChar('Q'); pg_stream.SendChar(' '); pg_stream.SendChar(0); pg_stream.flush(); } catch (IOException e) { throw new PSQLException("postgresql.con.ioerror",e); } fqp++; } break; case 'D': // Text Data Transfer if (fields == null) throw new PSQLException("postgresql.con.tuple"); tup = pg_stream.ReceiveTuple(fields.length, false); // This implements Statement.setMaxRows() if(maxrows==0 || tuples.size()<maxrows) tuples.addElement(tup); break; case 'E': // Error Message msg = pg_stream.ReceiveString(4096); final_error = new SQLException(msg); hfr = true; break; case 'I': // Empty Query int t = pg_stream.ReceiveChar(); if (t != 0) throw new PSQLException("postgresql.con.garbled"); if (fqp > 0) fqp--; if (fqp == 0) hfr = true; break; case 'N': // Error Notification addWarning(pg_stream.ReceiveString(4096)); break; case 'P': // Portal Name String pname = pg_stream.ReceiveString(8192); break; case 'T': // MetaData Field Description if (fields != null) throw new PSQLException("postgresql.con.multres"); fields = ReceiveFields(); break; case 'Z': // backend ready for query, ignore for now :-) break; default: throw new PSQLException("postgresql.con.type",new Character((char)c)); } } if (final_error != null) throw final_error; return getResultSet(this, fields, tuples, recv_status, update_count, insert_oid); } }
45534 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45534/f41dcbe4d810f0906f43d1b345cf506d72c792ac/Connection.java/clean/src/interfaces/jdbc/org/postgresql/Connection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2252, 18, 4669, 18, 13198, 3889, 3997, 12, 780, 1847, 13, 1216, 6483, 565, 288, 202, 759, 3096, 29482, 2371, 23673, 28, 358, 8492, 584, 2650, 24179, 18, 202, 22043, 12, 8365, 67, 3256, 13, 288, 202, 377, 202, 565, 2286, 8526, 1466, 273, 446, 31, 202, 565, 5589, 10384, 273, 394, 5589, 5621, 202, 565, 1160, 8526, 1681, 273, 446, 31, 202, 565, 509, 8508, 84, 273, 374, 31, 202, 565, 1250, 366, 4840, 273, 629, 31, 202, 565, 514, 10665, 67, 2327, 273, 446, 16, 1234, 31, 202, 565, 509, 1089, 67, 1883, 273, 404, 31, 202, 565, 509, 2243, 67, 839, 273, 374, 31, 202, 565, 6483, 727, 67, 1636, 273, 446, 31, 202, 377, 202, 565, 368, 9821, 329, 596, 487, 326, 4221, 848, 2037, 1640, 6218, 202, 565, 368, 10974, 2353, 1725, 47, 18, 453, 847, 804, 7556, 1666, 16291, 202, 565, 368, 430, 261, 4669, 18, 2469, 1435, 405, 26730, 13, 202, 565, 368, 12849, 394, 453, 23116, 2932, 2767, 24330, 18, 591, 18, 6738, 932, 3113, 4669, 1769, 3639, 309, 261, 588, 4705, 1435, 422, 446, 13, 5411, 1681, 273, 1847, 18, 588, 2160, 5621, 3639, 469, 288, 5411, 775, 288, 7734, 1681, 273, 1847, 18, 588, 2160, 12, 588, 4705, 10663, 5411, 289, 1044, 261, 8544, 13836, 640, 307, 13, 288, 1171, 604, 394, 453, 23116, 2932, 2767, 24330, 18, 591, 18, 5999, 3113, 4766, 3639, 640, 307, 1769, 5411, 289, 3639, 289, 202, 565, 775, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2252, 18, 4669, 18, 13198, 3889, 3997, 12, 780, 1847, 13, 1216, 6483, 565, 288, 202, 759, 3096, 29482, 2371, 23673, 28, 358, 8492, 584, 2650, 24179, 18, 202, 22043, 12, 8365, 67, 3256, 13, 288, 202, 377, 202, 565, 2286, 8526, 1466, 273, 446, 31, 202, 565, 5589, 10384, 273, 394, 5589, 5621, 202, 565, 1160, 8526, 1681, 273, 446, 31, 202, 565, 509, 8508, 84, 273, 374, 31, 202, 565, 1250, 366, 4840, 273, 629, 31, 202, 565, 514, 10665, 67, 2327, 273, 446, 16, 1234, 31, 202, 565, 509, 1089, 67, 1883, 273, 404, 31, 202, 565, 509, 2243, 67, 839, 273, 374, 31, 202, 565, 6483, 727, 67, 1636, 273, 446, 31, 202, 2 ]
assertStatusContains(parser.getStatus(), "Invalid kind");
StatusCheck.assertStatusContains(parser.getStatus(), "Invalid kind");
public void testLeafTaskInvalidKind() { assertNull(parseTestFile("LeafTaskInvalidKind.xml")); assertEquals(IStatus.ERROR, parser.getStatus().getSeverity()); assertStatusContains(parser.getStatus(), "Invalid kind"); }
13822 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13822/d0e465b219e69c0f5651f0f117339d9894cd4bef/TestCompositeParser.java/buggy/org.eclipse.ua.tests/cheatsheet/org/eclipse/ua/tests/cheatsheet/composite/TestCompositeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 9858, 2174, 1941, 5677, 1435, 288, 202, 202, 11231, 2041, 12, 2670, 4709, 812, 2932, 9858, 2174, 1941, 5677, 18, 2902, 7923, 1769, 202, 202, 11231, 8867, 12, 45, 1482, 18, 3589, 16, 2082, 18, 588, 1482, 7675, 588, 21630, 10663, 202, 202, 11231, 1482, 10846, 12, 4288, 18, 588, 1482, 9334, 315, 1941, 3846, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 9858, 2174, 1941, 5677, 1435, 288, 202, 202, 11231, 2041, 12, 2670, 4709, 812, 2932, 9858, 2174, 1941, 5677, 18, 2902, 7923, 1769, 202, 202, 11231, 8867, 12, 45, 1482, 18, 3589, 16, 2082, 18, 588, 1482, 7675, 588, 21630, 10663, 202, 202, 11231, 1482, 10846, 12, 4288, 18, 588, 1482, 9334, 315, 1941, 3846, 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 ]
boolean didRelayout = false;
boolean clearedPage = false; int clearDelta = 0;
private static void positionFloatOnPage( final LayoutContext c, FloatedBlockContent content, LineBox curr_line, FloatedBlockBox block, boolean movedVertically) { boolean didRelayout = false; if (block.getStyle().isForcePageBreakBefore() || (block.getStyle().isAvoidPageBreakInside() && block.crossesPageBreak(c))) { didRelayout = true; block.moveToNextPage(c); block.calcCanvasLocation(); block.detach(); Boxing.layout(c, block, content); c.getBlockFormattingContext().floatBox(c, (FloatedBlockBox) block); } if (! didRelayout && movedVertically) { block.detach(); Boxing.layout(c, block, content); c.getBlockFormattingContext().floatBox(c, (FloatedBlockBox) block); } }
52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/868e29fe0bd81b55cbd739f60feedbe5488f9adb/LayoutUtil.java/clean/src/java/org/xhtmlrenderer/layout/LayoutUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1754, 4723, 1398, 1964, 12, 5411, 727, 9995, 1042, 276, 16, 478, 383, 690, 1768, 1350, 913, 16, 2398, 5377, 3514, 4306, 67, 1369, 16, 478, 383, 690, 1768, 3514, 1203, 16, 1250, 10456, 4828, 6478, 13, 288, 3639, 1250, 16054, 1964, 273, 629, 31, 509, 2424, 9242, 273, 374, 31, 7734, 309, 261, 2629, 18, 588, 2885, 7675, 291, 10997, 1964, 7634, 4649, 1435, 747, 1171, 261, 2629, 18, 588, 2885, 7675, 291, 3769, 839, 1964, 7634, 18619, 1435, 597, 7682, 1203, 18, 14653, 281, 1964, 7634, 12, 71, 20349, 288, 5411, 5061, 1971, 2012, 273, 638, 31, 5411, 1203, 18, 8501, 774, 21563, 12, 71, 1769, 5411, 1203, 18, 12448, 12971, 2735, 5621, 5411, 1203, 18, 8238, 497, 5621, 5411, 8549, 310, 18, 6741, 12, 71, 16, 1203, 16, 913, 1769, 5411, 276, 18, 588, 1768, 23974, 1042, 7675, 5659, 3514, 12, 71, 16, 261, 42, 383, 690, 1768, 3514, 13, 1203, 1769, 3639, 289, 7734, 309, 16051, 5061, 1971, 2012, 597, 10456, 4828, 6478, 13, 288, 5411, 1203, 18, 8238, 497, 5621, 5411, 8549, 310, 18, 6741, 12, 71, 16, 1203, 16, 913, 1769, 5411, 276, 18, 588, 1768, 23974, 1042, 7675, 5659, 3514, 12, 71, 16, 261, 42, 383, 690, 1768, 3514, 13, 1203, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1754, 4723, 1398, 1964, 12, 5411, 727, 9995, 1042, 276, 16, 478, 383, 690, 1768, 1350, 913, 16, 2398, 5377, 3514, 4306, 67, 1369, 16, 478, 383, 690, 1768, 3514, 1203, 16, 1250, 10456, 4828, 6478, 13, 288, 3639, 1250, 16054, 1964, 273, 629, 31, 509, 2424, 9242, 273, 374, 31, 7734, 309, 261, 2629, 18, 588, 2885, 7675, 291, 10997, 1964, 7634, 4649, 1435, 747, 1171, 261, 2629, 18, 588, 2885, 7675, 291, 3769, 839, 1964, 7634, 18619, 1435, 597, 7682, 1203, 18, 14653, 281, 1964, 7634, 12, 71, 20349, 288, 5411, 5061, 1971, 2012, 273, 638, 31, 5411, 1203, 18, 8501, 774, 21563, 12, 71, 1769, 5411, 1203, 18, 12448, 12971, 2735, 5621, 2 ]
String webappLocation = Platform.asLocalURL( Platform.resolve( webappURL ) ).getFile( );
String webappLocation = Platform.asLocalURL( Platform.resolve( webappURL ) ).getFile( );
private static IPath getWebappPath( String pluginId, IPath path ) throws CoreException { Bundle bundle = Platform.getBundle( pluginId ); if ( bundle == null ) { throw new CoreException( new Status( IStatus.ERROR, ViewerPlugin.PLUGIN_ID, IStatus.OK, ViewerPlugin.getFormattedResourceString("viewer.appserver.cannotfindplugin", //$NON-NLS-1$ new Object[] { pluginId } ), null ) ); } // Note: we just look for one webapp directory. // If needed, may want to use the locale specific path. URL webappURL = Platform.find( bundle, path ); if ( webappURL == null ) { throw new CoreException( new Status( IStatus.ERROR, ViewerPlugin.PLUGIN_ID, IStatus.OK, ViewerPlugin.getFormattedResourceString("viewer.appserver.cannotfindpath", //$NON-NLS-1$ new Object[] { pluginId, path.toOSString( ) } ), null ) ); } try { String webappLocation = Platform.asLocalURL( Platform.resolve( webappURL ) ).getFile( ); webappLocation += "birt/"; //$NON-NLS-1$ return new Path( webappLocation ); } catch ( IOException ioe ) { throw new CoreException( new Status( IStatus.ERROR, ViewerPlugin.PLUGIN_ID, IStatus.OK, ViewerPlugin.getFormattedResourceString("viewer.appserver.cannotresolvepath", //$NON-NLS-1$ new Object[] { pluginId, path.toOSString( ) } ), ioe ) ); } }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/3ff8c8c7dcc1456137e4ae046739e5dc4d3f729d/WebappAccessor.java/clean/viewer/org.eclipse.birt.report.viewer/src/org/eclipse/birt/report/viewer/utilities/WebappAccessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 467, 743, 20312, 2910, 743, 12, 514, 1909, 548, 16, 467, 743, 589, 262, 1082, 202, 15069, 30015, 202, 95, 202, 202, 3405, 3440, 273, 11810, 18, 588, 3405, 12, 1909, 548, 11272, 202, 202, 430, 261, 3440, 422, 446, 262, 202, 202, 95, 1082, 202, 12849, 394, 30015, 12, 394, 2685, 12, 467, 1482, 18, 3589, 16, 6862, 202, 18415, 3773, 18, 19415, 67, 734, 16, 6862, 202, 45, 1482, 18, 3141, 16, 6862, 202, 18415, 3773, 18, 588, 18298, 1420, 780, 2932, 25256, 18, 2910, 3567, 18, 12892, 4720, 4094, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 2704, 1033, 8526, 288, 1909, 548, 289, 262, 16, 446, 262, 11272, 202, 202, 97, 202, 202, 759, 3609, 30, 732, 2537, 2324, 364, 1245, 28945, 1867, 18, 202, 202, 759, 4202, 971, 3577, 16, 2026, 2545, 358, 999, 326, 2573, 2923, 589, 18, 202, 202, 1785, 28945, 1785, 273, 11810, 18, 4720, 12, 3440, 16, 589, 11272, 202, 202, 430, 261, 28945, 1785, 422, 446, 262, 202, 202, 95, 1082, 202, 12849, 394, 30015, 12, 394, 2685, 12, 467, 1482, 18, 3589, 16, 6862, 202, 18415, 3773, 18, 19415, 67, 734, 16, 6862, 202, 45, 1482, 18, 3141, 16, 6862, 202, 18415, 3773, 18, 588, 18298, 1420, 780, 2932, 25256, 18, 2910, 3567, 18, 12892, 4720, 803, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 2704, 1033, 8526, 288, 1909, 548, 16, 589, 18, 869, 4618, 780, 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, 1152, 760, 467, 743, 20312, 2910, 743, 12, 514, 1909, 548, 16, 467, 743, 589, 262, 1082, 202, 15069, 30015, 202, 95, 202, 202, 3405, 3440, 273, 11810, 18, 588, 3405, 12, 1909, 548, 11272, 202, 202, 430, 261, 3440, 422, 446, 262, 202, 202, 95, 1082, 202, 12849, 394, 30015, 12, 394, 2685, 12, 467, 1482, 18, 3589, 16, 6862, 202, 18415, 3773, 18, 19415, 67, 734, 16, 6862, 202, 45, 1482, 18, 3141, 16, 6862, 202, 18415, 3773, 18, 588, 18298, 1420, 780, 2932, 25256, 18, 2910, 3567, 18, 12892, 4720, 4094, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 2704, 1033, 8526, 288, 1909, 548, 289, 262, 16, 446, 262, 11272, 202, 2 ]
if ( this.getSelected() == 0 && request.getType() == RequestConstants.REQ_SELECTION )
if ( this.getSelected() == 0 && isActive() && request.getType() == RequestConstants.REQ_SELECTION )
public void showTargetFeedback(Request request) { if ( this.getSelected() == 0 && request.getType() == RequestConstants.REQ_SELECTION ) { this.getViewer().setCursor( ReportPlugin.getDefault().getCellCursor() ); } super.showTargetFeedback( request ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/d83e9ce357552ccee889709a0e69d109f4dcfa0b/TableCellEditPart.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/editparts/TableCellEditPart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2405, 2326, 15888, 12, 691, 590, 13, 202, 95, 202, 565, 309, 261, 333, 18, 588, 7416, 1435, 422, 374, 597, 590, 18, 588, 559, 1435, 422, 1567, 2918, 18, 20373, 67, 1090, 15445, 262, 202, 565, 288, 1082, 565, 333, 18, 588, 18415, 7675, 542, 6688, 12, 8706, 3773, 18, 588, 1868, 7675, 588, 4020, 6688, 1435, 11272, 202, 565, 289, 202, 565, 2240, 18, 4500, 2326, 15888, 12, 590, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2405, 2326, 15888, 12, 691, 590, 13, 202, 95, 202, 565, 309, 261, 333, 18, 588, 7416, 1435, 422, 374, 597, 590, 18, 588, 559, 1435, 422, 1567, 2918, 18, 20373, 67, 1090, 15445, 262, 202, 565, 288, 1082, 565, 333, 18, 588, 18415, 7675, 542, 6688, 12, 8706, 3773, 18, 588, 1868, 7675, 588, 4020, 6688, 1435, 11272, 202, 565, 289, 202, 565, 2240, 18, 4500, 2326, 15888, 12, 590, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
default :
default :
private static final boolean jjCanMove_0(int hiByte, int i1, int i2, long l1, long l2){ switch(hiByte) { case 0: return ((jjbitVec2[i2] & l2) != 0L); default : if ((jjbitVec0[i1] & l1) != 0L) return true; return false; }}
4174 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4174/3c314818d71d25f7c37e4f26642c8ef894a7fcd4/PAParserTokenManager.java/clean/src/com/lowagie/text/pdf/codec/postscript/PAParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 760, 727, 1250, 10684, 2568, 7607, 67, 20, 12, 474, 10118, 3216, 16, 509, 277, 21, 16, 509, 277, 22, 16, 1525, 328, 21, 16, 1525, 328, 22, 15329, 282, 1620, 12, 12266, 3216, 13, 282, 288, 1377, 648, 374, 30, 540, 327, 14015, 78, 78, 3682, 12991, 22, 63, 77, 22, 65, 473, 328, 22, 13, 480, 374, 48, 1769, 1377, 805, 294, 540, 309, 14015, 78, 78, 3682, 12991, 20, 63, 77, 21, 65, 473, 328, 21, 13, 480, 374, 48, 13, 5411, 327, 638, 31, 540, 327, 629, 31, 282, 10523, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 760, 727, 1250, 10684, 2568, 7607, 67, 20, 12, 474, 10118, 3216, 16, 509, 277, 21, 16, 509, 277, 22, 16, 1525, 328, 21, 16, 1525, 328, 22, 15329, 282, 1620, 12, 12266, 3216, 13, 282, 288, 1377, 648, 374, 30, 540, 327, 14015, 78, 78, 3682, 12991, 22, 63, 77, 22, 65, 473, 328, 22, 13, 480, 374, 48, 1769, 1377, 805, 294, 540, 309, 14015, 78, 78, 3682, 12991, 20, 63, 77, 21, 65, 473, 328, 21, 13, 480, 374, 48, 13, 5411, 327, 638, 31, 540, 327, 629, 31, 282, 10523, 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 ]
public String getSCDRunnableCommand() {
public String getSCDRunnableCommand(boolean quoteIncludePaths) {
public String getSCDRunnableCommand() { String commandAsString = new String(); for (Iterator i = compilerCommand.iterator(); i.hasNext(); ) { KVStringPair optionPair = (KVStringPair)i.next(); if (optionPair.getKey().equals(SCDOptionsEnum.COMMAND.toString())) { commandAsString += optionPair.getValue() + SINGLE_SPACE; } else { // skip -include and -imacros options if (optionPair.getKey().equals(SCDOptionsEnum.IMACROS_FILE.toString()) || optionPair.getKey().equals(SCDOptionsEnum.INCLUDE_FILE.toString())) continue; commandAsString += optionPair.getKey() + SINGLE_SPACE + optionPair.getValue() + SINGLE_SPACE; } } return commandAsString.trim(); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/346e8f27c9b46a93a67ee8bf34e5fff556bf6893/CCommandDSC.java/buggy/build/org.eclipse.cdt.make.core/src/org/eclipse/cdt/make/internal/core/scannerconfig/util/CCommandDSC.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1322, 10160, 20013, 2189, 1435, 288, 202, 202, 780, 1296, 8092, 273, 394, 514, 5621, 202, 202, 1884, 261, 3198, 277, 273, 5274, 2189, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 1082, 202, 16945, 780, 4154, 1456, 4154, 273, 261, 16945, 780, 4154, 13, 77, 18, 4285, 5621, 5411, 309, 261, 3482, 4154, 18, 588, 653, 7675, 14963, 12, 2312, 40, 1320, 3572, 18, 19104, 18, 10492, 1435, 3719, 288, 7734, 1296, 8092, 1011, 1456, 4154, 18, 24805, 1435, 397, 15915, 67, 6616, 31, 5411, 289, 5411, 469, 288, 7734, 368, 2488, 300, 6702, 471, 300, 381, 1077, 6973, 702, 377, 1082, 202, 430, 261, 3482, 4154, 18, 588, 653, 7675, 14963, 12, 2312, 40, 1320, 3572, 18, 3445, 2226, 1457, 55, 67, 3776, 18, 10492, 10756, 747, 377, 6862, 202, 3482, 4154, 18, 588, 653, 7675, 14963, 12, 2312, 40, 1320, 3572, 18, 26003, 67, 3776, 18, 10492, 1435, 3719, 377, 9506, 202, 17143, 31, 377, 1082, 202, 3076, 8092, 1011, 1456, 4154, 18, 588, 653, 1435, 397, 15915, 67, 6616, 397, 4766, 565, 1456, 4154, 18, 24805, 1435, 397, 15915, 67, 6616, 31, 5411, 289, 202, 202, 97, 202, 202, 2463, 1296, 8092, 18, 5290, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1322, 10160, 20013, 2189, 1435, 288, 202, 202, 780, 1296, 8092, 273, 394, 514, 5621, 202, 202, 1884, 261, 3198, 277, 273, 5274, 2189, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 1082, 202, 16945, 780, 4154, 1456, 4154, 273, 261, 16945, 780, 4154, 13, 77, 18, 4285, 5621, 5411, 309, 261, 3482, 4154, 18, 588, 653, 7675, 14963, 12, 2312, 40, 1320, 3572, 18, 19104, 18, 10492, 1435, 3719, 288, 7734, 1296, 8092, 1011, 1456, 4154, 18, 24805, 1435, 397, 15915, 67, 6616, 31, 5411, 289, 5411, 469, 288, 7734, 368, 2488, 300, 6702, 471, 300, 381, 1077, 6973, 702, 377, 1082, 202, 430, 261, 3482, 4154, 18, 588, 653, 7675, 14963, 2 ]
while(I.hasNext()){
while (I.hasNext()) {
private DropdownMenu getTagDrop(String name,int iCategoryId){ List L = ContractFinder.listOfContractTagsInUse(iCategoryId); DropdownMenu drp = new DropdownMenu(name); drp.addMenuElementFirst("tag",iwrb.getLocalizedString("tags","Tags")); if(L!=null){ java.util.Iterator I = L.iterator(); while(I.hasNext()){ ContractTag tag = (ContractTag) I.next(); drp.addMenuElement(" ["+tag.getName()+"]",tag.getName()); } drp.addMenuElement(" ["+ContractWriter.contract_starts+"]",ContractWriter.contract_starts); drp.addMenuElement(" ["+ContractWriter.contract_ends+"]",ContractWriter.contract_ends); drp.addMenuElement(" ["+ContractWriter.today+"]",ContractWriter.today); } return drp; }
13540 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13540/05d1d81503aac633fe98b577b342917ea27752d2/ContractTextSetter.java/clean/src/java/com/idega/block/contract/presentation/ContractTextSetter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 10895, 2378, 4599, 11362, 7544, 12, 780, 508, 16, 474, 277, 21197, 15329, 202, 202, 682, 511, 273, 13456, 8441, 18, 1098, 951, 8924, 3453, 15435, 12, 77, 21197, 1769, 565, 10895, 2378, 4599, 5081, 84, 273, 394, 10895, 2378, 4599, 12, 529, 1769, 565, 5081, 84, 18, 1289, 4599, 1046, 3759, 2932, 2692, 3113, 22315, 6731, 18, 588, 2042, 1235, 780, 2932, 4156, 15937, 3453, 7923, 1769, 202, 202, 430, 12, 48, 5, 33, 2011, 15329, 1082, 202, 6290, 18, 1367, 18, 3198, 467, 273, 511, 18, 9838, 5621, 1082, 202, 17523, 12, 45, 18, 5332, 2134, 10756, 95, 9506, 202, 8924, 1805, 1047, 273, 261, 8924, 1805, 13, 467, 18, 4285, 5621, 9506, 202, 3069, 84, 18, 1289, 4599, 1046, 2932, 8247, 15, 2692, 18, 17994, 1435, 9078, 65, 3113, 2692, 18, 17994, 10663, 1082, 202, 97, 1082, 202, 3069, 84, 18, 1289, 4599, 1046, 2932, 8247, 15, 8924, 2289, 18, 16351, 67, 17514, 9078, 65, 3113, 8924, 2289, 18, 16351, 67, 17514, 1769, 1082, 202, 3069, 84, 18, 1289, 4599, 1046, 2932, 8247, 15, 8924, 2289, 18, 16351, 67, 5839, 9078, 65, 3113, 8924, 2289, 18, 16351, 67, 5839, 1769, 1082, 202, 3069, 84, 18, 1289, 4599, 1046, 2932, 8247, 15, 8924, 2289, 18, 30064, 9078, 65, 3113, 8924, 2289, 18, 30064, 1769, 202, 202, 97, 565, 327, 5081, 84, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 10895, 2378, 4599, 11362, 7544, 12, 780, 508, 16, 474, 277, 21197, 15329, 202, 202, 682, 511, 273, 13456, 8441, 18, 1098, 951, 8924, 3453, 15435, 12, 77, 21197, 1769, 565, 10895, 2378, 4599, 5081, 84, 273, 394, 10895, 2378, 4599, 12, 529, 1769, 565, 5081, 84, 18, 1289, 4599, 1046, 3759, 2932, 2692, 3113, 22315, 6731, 18, 588, 2042, 1235, 780, 2932, 4156, 15937, 3453, 7923, 1769, 202, 202, 430, 12, 48, 5, 33, 2011, 15329, 1082, 202, 6290, 18, 1367, 18, 3198, 467, 273, 511, 18, 9838, 5621, 1082, 202, 17523, 12, 45, 18, 5332, 2134, 10756, 95, 9506, 202, 8924, 1805, 1047, 273, 261, 8924, 1805, 13, 467, 18, 4285, 5621, 9506, 202, 3069, 2 ]
if (callbackTypes != null && callbackTypes.length == 0) { throw new IllegalArgumentException("Array cannot be empty"); } this.callbackTypes = CallbackInfo.determineTypes(callbackTypes);
if (callbackTypes != null && callbackTypes.length == 0) { throw new IllegalArgumentException("Array cannot be empty");
public void setCallbackTypes(Class[] callbackTypes) { if (callbackTypes != null && callbackTypes.length == 0) { throw new IllegalArgumentException("Array cannot be empty"); } this.callbackTypes = CallbackInfo.determineTypes(callbackTypes); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/4c632c609488fb8900f7eb5390cd16cbaaf04adf/AdvancedEnhancer.java/clean/source/net/sf/cglib/proxy/AdvancedEnhancer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 2428, 2016, 12, 797, 8526, 1348, 2016, 13, 288, 3639, 309, 261, 3394, 2016, 480, 446, 597, 1348, 2016, 18, 2469, 422, 374, 13, 288, 5411, 604, 394, 2754, 2932, 1076, 2780, 506, 1008, 8863, 3639, 289, 3639, 333, 18, 3394, 2016, 273, 8444, 966, 18, 24661, 2016, 12, 3394, 2016, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 2428, 2016, 12, 797, 8526, 1348, 2016, 13, 288, 3639, 309, 261, 3394, 2016, 480, 446, 597, 1348, 2016, 18, 2469, 422, 374, 13, 288, 5411, 604, 394, 2754, 2932, 1076, 2780, 506, 1008, 8863, 3639, 289, 3639, 333, 18, 3394, 2016, 273, 8444, 966, 18, 24661, 2016, 12, 3394, 2016, 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 ]
bw.write("FORCE=" + (this.forceCompile ? "1" : "0"));
bw.write("FORCECOMPILE=" + (this.forceCompile ? "1" : "0"));
private void writeParams() throws BuildException { try { BufferedWriter bw = new BufferedWriter(new FileWriter(params)); bw.write("FILESETS=" + fsList.getAbsolutePath()); bw.newLine(); bw.write("OUTPUTDIR=" + destDir.getAbsolutePath()); bw.newLine(); bw.write("PCTDIR=" + xRefDir.getAbsolutePath()); bw.newLine(); bw.write("FORCE=" + (this.forceCompile ? "1" : "0")); bw.newLine(); bw.write("MINSIZE=" + (this.minSize ? "1" : "0")); bw.newLine(); bw.write("MD5=" + (this.md5 ? "1" : "0")); bw.newLine(); bw.write("FORCECOMPILE=" + (this.forceCompile ? "1" : "0")); bw.newLine(); bw.write("FAILONERROR=" + (this.failOnError ? "1" : "0")); bw.newLine(); bw.close(); } catch (IOException ioe) { throw new BuildException("Unable to write file list to compile"); } }
47244 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47244/6c0d1fd5fb6d9c7557daa8a2e402671fc9dfdbb9/PCTCompile.java/clean/src/java/com/phenix/pct/PCTCompile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 1370, 1435, 1216, 18463, 288, 3639, 775, 288, 5411, 22490, 12986, 273, 394, 22490, 12, 2704, 24639, 12, 2010, 10019, 5411, 12986, 18, 2626, 2932, 3776, 28092, 1546, 397, 2662, 682, 18, 588, 10368, 743, 10663, 5411, 12986, 18, 2704, 1670, 5621, 5411, 12986, 18, 2626, 2932, 15527, 4537, 1546, 397, 26231, 18, 588, 10368, 743, 10663, 5411, 12986, 18, 2704, 1670, 5621, 5411, 12986, 18, 2626, 2932, 52, 1268, 4537, 1546, 397, 619, 1957, 1621, 18, 588, 10368, 743, 10663, 5411, 12986, 18, 2704, 1670, 5621, 5411, 12986, 18, 2626, 2932, 27817, 31075, 900, 1546, 397, 261, 2211, 18, 5734, 9937, 692, 315, 21, 6, 294, 315, 20, 7923, 1769, 5411, 12986, 18, 2704, 1670, 5621, 5411, 12986, 18, 2626, 2932, 6236, 4574, 1546, 397, 261, 2211, 18, 1154, 1225, 692, 315, 21, 6, 294, 315, 20, 7923, 1769, 5411, 12986, 18, 2704, 1670, 5621, 5411, 12986, 18, 2626, 2932, 6188, 25, 1546, 397, 261, 2211, 18, 1264, 25, 692, 315, 21, 6, 294, 315, 20, 7923, 1769, 5411, 12986, 18, 2704, 1670, 5621, 5411, 12986, 18, 2626, 2932, 27817, 31075, 900, 1546, 397, 261, 2211, 18, 5734, 9937, 692, 315, 21, 6, 294, 315, 20, 7923, 1769, 5411, 12986, 18, 2704, 1670, 5621, 5411, 12986, 18, 2626, 2932, 12319, 673, 3589, 1546, 397, 261, 2211, 18, 6870, 11427, 692, 315, 21, 6, 294, 315, 20, 7923, 1769, 5411, 12986, 18, 2704, 1670, 5621, 5411, 12986, 18, 4412, 5621, 3639, 289, 1044, 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, 1045, 1370, 1435, 1216, 18463, 288, 3639, 775, 288, 5411, 22490, 12986, 273, 394, 22490, 12, 2704, 24639, 12, 2010, 10019, 5411, 12986, 18, 2626, 2932, 3776, 28092, 1546, 397, 2662, 682, 18, 588, 10368, 743, 10663, 5411, 12986, 18, 2704, 1670, 5621, 5411, 12986, 18, 2626, 2932, 15527, 4537, 1546, 397, 26231, 18, 588, 10368, 743, 10663, 5411, 12986, 18, 2704, 1670, 5621, 5411, 12986, 18, 2626, 2932, 52, 1268, 4537, 1546, 397, 619, 1957, 1621, 18, 588, 10368, 743, 10663, 5411, 12986, 18, 2704, 1670, 5621, 5411, 12986, 18, 2626, 2932, 27817, 31075, 900, 1546, 397, 261, 2211, 18, 5734, 9937, 692, 315, 21, 6, 294, 315, 20, 7923, 1769, 5411, 12986, 18, 2704, 2 ]
private void processAddToGroupNode(AnAction action, Element element) { if (LOG.isDebugEnabled()) { LOG.debug("enter: processAddToGroupNode(" + action + "," + element.getName() + ")"); } // Real subclasses of AnAction should not be here if (!(action instanceof Separator)) { assertActionIsGroupOrStub(action); } String actionName = (action instanceof ActionStub) ? ((ActionStub) action).getClassName() : action.getClass().getName(); if (!ADD_TO_GROUP_ELEMENT_NAME.equals(element.getName())) { LOG.error("unexpected name of element \"" + element.getName() + "\""); return; } String groupId = element.getAttributeValue(GROUPID_ATTR_NAME); if (groupId == null || groupId.length() == 0) { LOG.error(actionName + ": attribute \"group-id\" should be defined"); return; } AnAction parentGroup = getActionImpl(groupId, true); if (parentGroup == null) { LOG.error(actionName + ": action with id \"" + groupId + "\" isn't registered; action will be added to the \"Other\" group"); parentGroup = getActionImpl(IdeActions.GROUP_OTHER_MENU, true); } if (!(parentGroup instanceof DefaultActionGroup)) { LOG.error(actionName + ": action with id \"" + groupId + "\" should be instance of " + DefaultActionGroup.class.getName()); return; } String anchorStr = element.getAttributeValue(ANCHOR_ELEMENT_NAME); if (anchorStr == null) { LOG.error(actionName + ": attribute \"anchor\" should be defined"); return; } Anchor anchor; if (FIRST.equalsIgnoreCase(anchorStr)) { anchor = Anchor.FIRST; } else if (LAST.equalsIgnoreCase(anchorStr)) { anchor = Anchor.LAST; } else if (BEFORE.equalsIgnoreCase(anchorStr)) { anchor = Anchor.BEFORE; } else if (AFTER.equalsIgnoreCase(anchorStr)) { anchor = Anchor.AFTER; } else { LOG.error(actionName + ": anchor should be one of the following constants: \"first\", \"last\", \"before\" or \"after\""); return; } String relativeToActionId = element.getAttributeValue(RELATIVE_TO_ACTION_ATTR_NAME); if ((Anchor.BEFORE == anchor || Anchor.AFTER == anchor) && relativeToActionId == null) { LOG.error(actionName + ": \"relative-to-action\" cannot be null if anchor is \"after\" or \"before\""); return; } ((DefaultActionGroup)parentGroup).add(action, new Constraints(anchor, relativeToActionId), this); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/4972de74093751aa507c641e7a852c8feb15d5e3/ActionManagerImpl.java/clean/action-system/impl/com/intellij/openapi/actionSystem/impl/ActionManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 2567, 986, 774, 1114, 907, 12, 979, 1803, 1128, 16, 1046, 2956, 15329, 430, 12, 4842, 18, 291, 2829, 1526, 10756, 95, 4842, 18, 4148, 2932, 2328, 30, 2567, 986, 774, 1114, 907, 2932, 15, 1128, 15, 15937, 15, 2956, 18, 17994, 1435, 9078, 2225, 1769, 97, 759, 426, 1031, 373, 4701, 792, 979, 1803, 13139, 902, 2196, 14852, 430, 12, 5, 12, 1128, 1336, 792, 6581, 3719, 95, 11231, 1803, 2520, 1114, 1162, 11974, 12, 1128, 1769, 97, 780, 1128, 461, 28657, 1128, 1336, 792, 1803, 11974, 9945, 12443, 1803, 11974, 13, 1128, 2934, 588, 3834, 13332, 1128, 18, 588, 797, 7675, 17994, 5621, 430, 12, 5, 8355, 67, 4296, 67, 8468, 67, 10976, 67, 1985, 18, 14963, 12, 2956, 18, 17994, 1435, 3719, 95, 4842, 18, 1636, 2932, 21248, 529, 792, 2956, 8530, 15, 2956, 18, 17994, 1435, 9078, 8530, 1769, 2463, 31, 97, 780, 27547, 33, 2956, 18, 588, 14942, 12, 8468, 734, 67, 12043, 67, 1985, 1769, 430, 12, 27547, 631, 2011, 20081, 27547, 18, 2469, 1435, 631, 20, 15329, 4842, 18, 1636, 12, 1128, 461, 15, 6877, 4589, 2412, 1655, 17, 350, 2412, 13139, 2196, 2178, 8863, 2463, 31, 97, 979, 1803, 2938, 1114, 33, 588, 1803, 2828, 12, 27547, 16, 3767, 1769, 430, 12, 2938, 1114, 631, 2011, 15329, 4842, 18, 1636, 12, 1128, 461, 15, 6877, 1128, 1918, 350, 8530, 15, 27547, 9078, 2412, 291, 82, 1404, 14327, 31, 1128, 20194, 70, 684, 785, 3307, 580, 2412, 8290, 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, 6459, 2567, 986, 774, 1114, 907, 12, 979, 1803, 1128, 16, 1046, 2956, 15329, 430, 12, 4842, 18, 291, 2829, 1526, 10756, 95, 4842, 18, 4148, 2932, 2328, 30, 2567, 986, 774, 1114, 907, 2932, 15, 1128, 15, 15937, 15, 2956, 18, 17994, 1435, 9078, 2225, 1769, 97, 759, 426, 1031, 373, 4701, 792, 979, 1803, 13139, 902, 2196, 14852, 430, 12, 5, 12, 1128, 1336, 792, 6581, 3719, 95, 11231, 1803, 2520, 1114, 1162, 11974, 12, 1128, 1769, 97, 780, 1128, 461, 28657, 1128, 1336, 792, 1803, 11974, 9945, 12443, 1803, 11974, 13, 1128, 2934, 588, 3834, 13332, 1128, 18, 588, 797, 7675, 17994, 5621, 430, 12, 5, 8355, 67, 4296, 67, 8468, 67, 10976, 67, 1985, 2 ]
String path = Generator2.getCodePath(cls);
String path = GeneratorManager.getCodePath(cls);
private boolean isCodeRelevantClassifier(Object/*MClassifier*/ cls) { if (cls == null) { return false; } if (!Model.getFacade().isAClass(cls) && !Model.getFacade().isAInterface(cls)) { return false; } String path = Generator2.getCodePath(cls); String name = Model.getFacade().getName(cls); if (name == null || name.length() == 0 || Character.isDigit(name.charAt(0))) { return false; } if (path != null) { return (path.length() > 0); } Object/*MNamespace*/ parent = Model.getFacade().getNamespace(cls); while (parent != null) { path = Generator2.getCodePath(parent); if (path != null) { return (path.length() > 0); } parent = Model.getFacade().getNamespace(parent); } return false; }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/c99b75760de33eb52c56d9340ec1a41960167d4f/ActionGenerateProjectCode.java/clean/src_new/org/argouml/uml/ui/ActionGenerateProjectCode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 353, 1085, 17018, 7445, 13860, 12, 921, 20308, 49, 13860, 5549, 2028, 13, 288, 3639, 309, 261, 6429, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 309, 16051, 1488, 18, 588, 12467, 7675, 291, 37, 797, 12, 6429, 13, 1171, 597, 401, 1488, 18, 588, 12467, 7675, 291, 37, 1358, 12, 6429, 3719, 288, 5411, 327, 629, 31, 3639, 289, 3639, 514, 589, 273, 10159, 1318, 18, 588, 1085, 743, 12, 6429, 1769, 3639, 514, 508, 273, 3164, 18, 588, 12467, 7675, 17994, 12, 6429, 1769, 3639, 309, 261, 529, 422, 446, 5411, 747, 508, 18, 2469, 1435, 422, 374, 5411, 747, 6577, 18, 291, 10907, 12, 529, 18, 3001, 861, 12, 20, 20349, 288, 5411, 327, 629, 31, 3639, 289, 3639, 309, 261, 803, 480, 446, 13, 288, 5411, 327, 261, 803, 18, 2469, 1435, 405, 374, 1769, 3639, 289, 3639, 1033, 20308, 49, 3402, 5549, 982, 273, 3164, 18, 588, 12467, 7675, 588, 3402, 12, 6429, 1769, 3639, 1323, 261, 2938, 480, 446, 13, 288, 5411, 589, 273, 10159, 22, 18, 588, 1085, 743, 12, 2938, 1769, 5411, 309, 261, 803, 480, 446, 13, 288, 540, 202, 565, 327, 261, 803, 18, 2469, 1435, 405, 374, 1769, 5411, 289, 5411, 982, 273, 3164, 18, 588, 12467, 7675, 588, 3402, 12, 2938, 1769, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 353, 1085, 17018, 7445, 13860, 12, 921, 20308, 49, 13860, 5549, 2028, 13, 288, 3639, 309, 261, 6429, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 309, 16051, 1488, 18, 588, 12467, 7675, 291, 37, 797, 12, 6429, 13, 1171, 597, 401, 1488, 18, 588, 12467, 7675, 291, 37, 1358, 12, 6429, 3719, 288, 5411, 327, 629, 31, 3639, 289, 3639, 514, 589, 273, 10159, 1318, 18, 588, 1085, 743, 12, 6429, 1769, 3639, 514, 508, 273, 3164, 18, 588, 12467, 7675, 17994, 12, 6429, 1769, 3639, 309, 261, 529, 422, 446, 5411, 747, 508, 18, 2469, 1435, 422, 374, 5411, 747, 6577, 18, 291, 10907, 12, 529, 18, 3001, 861, 12, 20, 2 ]
Object rval = execSub(cx, thisObj, args, funObj, true, funObj);
Object rval = execSub(cx, thisObj, args, funObj, TEST, funObj);
public static Object test(Context cx, Scriptable thisObj, Object[] args, Function funObj) { Object rval = execSub(cx, thisObj, args, funObj, true, funObj); if (rval == null || !rval.equals(Boolean.TRUE)) rval = Boolean.FALSE; return rval; }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/9d8af8e17d97d2f8879112efae076088793bcb6f/NativeRegExp.java/buggy/org/mozilla/javascript/regexp/NativeRegExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 1842, 12, 1042, 9494, 16, 22780, 15261, 16, 17311, 1033, 8526, 833, 16, 4284, 9831, 2675, 13, 288, 3639, 1033, 14267, 273, 1196, 1676, 12, 71, 92, 16, 15261, 16, 833, 16, 9831, 2675, 16, 22130, 16, 9831, 2675, 1769, 3639, 309, 261, 86, 1125, 422, 446, 747, 401, 86, 1125, 18, 14963, 12, 5507, 18, 18724, 3719, 5411, 14267, 273, 3411, 18, 21053, 31, 3639, 327, 14267, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 1842, 12, 1042, 9494, 16, 22780, 15261, 16, 17311, 1033, 8526, 833, 16, 4284, 9831, 2675, 13, 288, 3639, 1033, 14267, 273, 1196, 1676, 12, 71, 92, 16, 15261, 16, 833, 16, 9831, 2675, 16, 22130, 16, 9831, 2675, 1769, 3639, 309, 261, 86, 1125, 422, 446, 747, 401, 86, 1125, 18, 14963, 12, 5507, 18, 18724, 3719, 5411, 14267, 273, 3411, 18, 21053, 31, 3639, 327, 14267, 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 ]
public void init(IExtensionStateModel aStateModel, IMemento aMemento) {
public void init(IExtensionStateModel aStateModel, IMemento aMemento) {
public void init(IExtensionStateModel aStateModel, IMemento aMemento) { }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/c93d807ed962723d90daba76fc2003e2c1801cbc/SkeletonTreeContentProvider.java/clean/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/extensions/SkeletonTreeContentProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1208, 12, 45, 3625, 1119, 1488, 279, 1119, 1488, 16, 6246, 820, 83, 279, 49, 820, 83, 13, 288, 1875, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1208, 12, 45, 3625, 1119, 1488, 279, 1119, 1488, 16, 6246, 820, 83, 279, 49, 820, 83, 13, 288, 1875, 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 ]
if ( m_AutoResponse == null) {
if (m_AutoResponse == null) {
public void getAutoresponse(Commandline cmd) { if ( m_AutoResponse == null) { cmd.createArgument().setValue(FLAG_AUTORESPONSE_DEF); } else if ( m_AutoResponse.equalsIgnoreCase("Y")) { cmd.createArgument().setValue(FLAG_AUTORESPONSE_YES); } else if ( m_AutoResponse.equalsIgnoreCase("N")) { cmd.createArgument().setValue(FLAG_AUTORESPONSE_NO); }else { cmd.createArgument().setValue(FLAG_AUTORESPONSE_DEF); } // end of else }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/0dab862ee09d706c3f373fc18bedbf17caf427b9/MSVSSCHECKOUT.java/clean/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSCHECKOUT.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26707, 2740, 12, 2189, 1369, 1797, 13, 288, 3639, 309, 261, 81, 67, 4965, 1064, 422, 446, 13, 288, 5411, 1797, 18, 2640, 1379, 7675, 542, 620, 12, 9651, 67, 37, 1693, 8607, 11186, 67, 12904, 1769, 3639, 289, 469, 309, 261, 312, 67, 4965, 1064, 18, 14963, 5556, 2932, 61, 6, 3719, 288, 5411, 1797, 18, 2640, 1379, 7675, 542, 620, 12, 9651, 67, 37, 1693, 8607, 11186, 67, 29081, 1769, 3639, 289, 469, 309, 261, 312, 67, 4965, 1064, 18, 14963, 5556, 2932, 50, 6, 3719, 288, 5411, 1797, 18, 2640, 1379, 7675, 542, 620, 12, 9651, 67, 37, 1693, 8607, 11186, 67, 3417, 1769, 3639, 289, 12107, 288, 5411, 1797, 18, 2640, 1379, 7675, 542, 620, 12, 9651, 67, 37, 1693, 8607, 11186, 67, 12904, 1769, 3639, 289, 368, 679, 434, 469, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26707, 2740, 12, 2189, 1369, 1797, 13, 288, 3639, 309, 261, 81, 67, 4965, 1064, 422, 446, 13, 288, 5411, 1797, 18, 2640, 1379, 7675, 542, 620, 12, 9651, 67, 37, 1693, 8607, 11186, 67, 12904, 1769, 3639, 289, 469, 309, 261, 312, 67, 4965, 1064, 18, 14963, 5556, 2932, 61, 6, 3719, 288, 5411, 1797, 18, 2640, 1379, 7675, 542, 620, 12, 9651, 67, 37, 1693, 8607, 11186, 67, 29081, 1769, 3639, 289, 469, 309, 261, 312, 67, 4965, 1064, 18, 14963, 5556, 2932, 50, 6, 3719, 288, 5411, 1797, 18, 2640, 1379, 7675, 542, 620, 12, 9651, 67, 37, 1693, 8607, 11186, 67, 3417, 1769, 3639, 289, 12107, 288, 5411, 1797, 18, 2640, 1379, 2 ]
} else if (IPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS.equals(propertyChangeEvent.getProperty()) && !isDisposed()) { boolean traditionalTab = preferenceStore.getBoolean(IPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS);
} else if (IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS.equals(propertyChangeEvent.getProperty()) && !isDisposed()) { boolean traditionalTab = apiPreferenceStore.getBoolean(IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS);
public void propertyChange(PropertyChangeEvent propertyChangeEvent) { if (IPreferenceConstants.VIEW_TAB_POSITION.equals(propertyChangeEvent.getProperty()) && !isDisposed()) { int tabLocation = preferenceStore.getInt(IPreferenceConstants.VIEW_TAB_POSITION); getTabFolder().setTabPosition(tabLocation); } else if (IPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS.equals(propertyChangeEvent.getProperty()) && !isDisposed()) { boolean traditionalTab = preferenceStore.getBoolean(IPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS); setTabStyle(traditionalTab); } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/4c0c864491ea8f27d7773b211ddae0e40a81354f/PartTabFolderPresentation.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/PartTabFolderPresentation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1272, 3043, 12, 1396, 20930, 1272, 20930, 13, 288, 1082, 202, 430, 261, 45, 9624, 2918, 18, 12145, 67, 28899, 67, 15258, 18, 14963, 12, 4468, 20930, 18, 588, 1396, 10756, 597, 401, 291, 1669, 7423, 10756, 288, 9506, 202, 474, 3246, 2735, 273, 11555, 2257, 18, 588, 1702, 12, 45, 9624, 2918, 18, 12145, 67, 28899, 67, 15258, 1769, 4697, 202, 588, 5661, 3899, 7675, 542, 5661, 2555, 12, 7032, 2735, 1769, 1082, 202, 97, 469, 309, 261, 45, 9624, 2918, 18, 16677, 67, 4349, 1880, 30525, 67, 15066, 67, 28899, 55, 18, 14963, 12, 4468, 20930, 18, 588, 1396, 10756, 597, 401, 291, 1669, 7423, 10756, 288, 9506, 202, 6494, 1284, 1460, 287, 5661, 273, 11555, 2257, 18, 588, 5507, 12, 45, 9624, 2918, 18, 16677, 67, 4349, 1880, 30525, 67, 15066, 67, 28899, 55, 1769, 4697, 202, 542, 5661, 2885, 12, 313, 361, 6457, 5661, 1769, 1082, 202, 97, 9506, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1272, 3043, 12, 1396, 20930, 1272, 20930, 13, 288, 1082, 202, 430, 261, 45, 9624, 2918, 18, 12145, 67, 28899, 67, 15258, 18, 14963, 12, 4468, 20930, 18, 588, 1396, 10756, 597, 401, 291, 1669, 7423, 10756, 288, 9506, 202, 474, 3246, 2735, 273, 11555, 2257, 18, 588, 1702, 12, 45, 9624, 2918, 18, 12145, 67, 28899, 67, 15258, 1769, 4697, 202, 588, 5661, 3899, 7675, 542, 5661, 2555, 12, 7032, 2735, 1769, 1082, 202, 97, 469, 309, 261, 45, 9624, 2918, 18, 16677, 67, 4349, 1880, 30525, 67, 15066, 67, 28899, 55, 18, 14963, 12, 4468, 20930, 18, 588, 1396, 10756, 597, 401, 291, 1669, 7423, 10756, 288, 9506, 202, 6494, 1284, 1460, 287, 2 ]
throws IncorrectOperationException{ final PsiJavaToken classNameToken = (PsiJavaToken) descriptor.getPsiElement(); final PsiClass innerClass = (PsiClass) classNameToken.getParent(); final PsiManager manager = innerClass.getManager(); final PsiSearchHelper searchHelper = manager.getSearchHelper(); final SearchScope useScope = innerClass.getUseScope(); final PsiReference[] references = searchHelper.findReferences(innerClass, useScope, false); for(final PsiReference reference : references){ final PsiElement element = reference.getElement(); final PsiElement parent = element.getParent(); if(parent instanceof PsiNewExpression){ final PsiNewExpression newExpression = (PsiNewExpression) parent; final PsiExpression qualifier = newExpression.getQualifier(); if(qualifier != null){ qualifier.delete(); }
throws IncorrectOperationException{ final PsiJavaToken classNameToken = (PsiJavaToken) descriptor .getPsiElement(); final PsiClass innerClass = (PsiClass) classNameToken.getParent(); assert innerClass != null; final PsiManager manager = innerClass.getManager(); final PsiSearchHelper searchHelper = manager.getSearchHelper(); final SearchScope useScope = innerClass.getUseScope(); final PsiReference[] references = searchHelper .findReferences(innerClass, useScope, false); for(final PsiReference reference : references){ final PsiElement element = reference.getElement(); final PsiElement parent = element.getParent(); if(parent instanceof PsiNewExpression){ final PsiNewExpression newExpression = (PsiNewExpression) parent; final PsiExpression qualifier = newExpression .getQualifier(); if(qualifier != null){ qualifier.delete();
public void doFix(Project project, ProblemDescriptor descriptor) throws IncorrectOperationException{ final PsiJavaToken classNameToken = (PsiJavaToken) descriptor.getPsiElement(); final PsiClass innerClass = (PsiClass) classNameToken.getParent(); final PsiManager manager = innerClass.getManager(); final PsiSearchHelper searchHelper = manager.getSearchHelper(); final SearchScope useScope = innerClass.getUseScope(); final PsiReference[] references = searchHelper.findReferences(innerClass, useScope, false); for(final PsiReference reference : references){ final PsiElement element = reference.getElement(); final PsiElement parent = element.getParent(); if(parent instanceof PsiNewExpression){ final PsiNewExpression newExpression = (PsiNewExpression) parent; final PsiExpression qualifier = newExpression.getQualifier(); if(qualifier != null){ qualifier.delete(); } } } final PsiModifierList modifiers = innerClass.getModifierList(); modifiers.setModifierProperty(PsiModifier.STATIC, true); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/bd57f07c33c419f20715b114b71a7e93425b34c9/InnerClassMayBeStaticInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/performance/InnerClassMayBeStaticInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 741, 8585, 12, 4109, 1984, 16, 21685, 3187, 4950, 13, 28524, 540, 1216, 657, 6746, 10602, 95, 5411, 727, 453, 7722, 5852, 1345, 2658, 1345, 273, 261, 52, 7722, 5852, 1345, 13, 4950, 18, 588, 52, 7722, 1046, 5621, 7734, 727, 453, 7722, 797, 3443, 797, 273, 261, 52, 7722, 797, 13, 2658, 1345, 18, 588, 3054, 5621, 7734, 727, 453, 7722, 1318, 3301, 273, 3443, 797, 18, 588, 1318, 5621, 7734, 727, 453, 7722, 2979, 2276, 1623, 2276, 273, 3301, 18, 588, 2979, 2276, 5621, 7734, 727, 5167, 3876, 999, 3876, 273, 3443, 797, 18, 588, 3727, 3876, 5621, 7734, 727, 453, 7722, 2404, 8526, 5351, 273, 1623, 2276, 18, 4720, 8221, 12, 7872, 797, 16, 999, 3876, 16, 629, 1769, 7734, 364, 12, 6385, 453, 7722, 2404, 2114, 294, 5351, 15329, 10792, 727, 453, 7722, 1046, 930, 273, 2114, 18, 21336, 5621, 10792, 727, 453, 7722, 1046, 982, 273, 930, 18, 588, 3054, 5621, 10792, 309, 12, 2938, 1276, 453, 7722, 1908, 2300, 15329, 13491, 727, 453, 7722, 1908, 2300, 394, 2300, 273, 261, 52, 7722, 1908, 2300, 13, 982, 31, 13491, 727, 453, 7722, 2300, 12327, 273, 394, 2300, 18, 588, 16185, 5621, 13491, 309, 12, 28157, 480, 446, 15329, 18701, 12327, 18, 3733, 5621, 13491, 289, 10792, 289, 7734, 289, 7734, 727, 453, 7722, 9829, 682, 10429, 273, 3443, 797, 18, 588, 9829, 682, 5621, 7734, 10429, 18, 542, 9829, 1396, 12, 52, 7722, 9829, 18, 22741, 16, 638, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 741, 8585, 12, 4109, 1984, 16, 21685, 3187, 4950, 13, 28524, 540, 1216, 657, 6746, 10602, 95, 5411, 727, 453, 7722, 5852, 1345, 2658, 1345, 273, 261, 52, 7722, 5852, 1345, 13, 4950, 18, 588, 52, 7722, 1046, 5621, 7734, 727, 453, 7722, 797, 3443, 797, 273, 261, 52, 7722, 797, 13, 2658, 1345, 18, 588, 3054, 5621, 7734, 727, 453, 7722, 1318, 3301, 273, 3443, 797, 18, 588, 1318, 5621, 7734, 727, 453, 7722, 2979, 2276, 1623, 2276, 273, 3301, 18, 588, 2979, 2276, 5621, 7734, 727, 5167, 3876, 999, 3876, 273, 3443, 797, 18, 588, 3727, 3876, 5621, 7734, 727, 453, 7722, 2404, 8526, 5351, 273, 1623, 2276, 18, 4720, 8221, 12, 7872, 797, 2 ]
if (iSeries != null) { return iSeries.length;
if (iSeries != null) { return iSeries.length; } if (sSeries != null) { return sSeries.length; } if (fSeries != null) { return fSeries.length; } if (dSeries != null) { return dSeries.length; } return 0;
public int getLength() { if (iSeries != null) { return iSeries.length; } if (sSeries != null) { return sSeries.length; } if (fSeries != null) { return fSeries.length; } if (dSeries != null) { return dSeries.length; } return 0; }
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/05e078356cbf684ec12612d15c6a53faa346f073/Statistics.java/buggy/src/edu/sc/seis/fissuresUtil/bag/Statistics.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 9888, 1435, 288, 565, 309, 261, 77, 6485, 480, 446, 13, 288, 3639, 327, 277, 6485, 18, 2469, 31, 565, 289, 565, 309, 261, 87, 6485, 480, 446, 13, 288, 3639, 327, 272, 6485, 18, 2469, 31, 565, 289, 565, 309, 261, 74, 6485, 480, 446, 13, 288, 3639, 327, 284, 6485, 18, 2469, 31, 565, 289, 565, 309, 261, 72, 6485, 480, 446, 13, 288, 3639, 327, 302, 6485, 18, 2469, 31, 565, 289, 565, 327, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 9888, 1435, 288, 565, 309, 261, 77, 6485, 480, 446, 13, 288, 3639, 327, 277, 6485, 18, 2469, 31, 565, 289, 565, 309, 261, 87, 6485, 480, 446, 13, 288, 3639, 327, 272, 6485, 18, 2469, 31, 565, 289, 565, 309, 261, 74, 6485, 480, 446, 13, 288, 3639, 327, 284, 6485, 18, 2469, 31, 565, 289, 565, 309, 261, 72, 6485, 480, 446, 13, 288, 3639, 327, 302, 6485, 18, 2469, 31, 565, 289, 565, 327, 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 ]
if (!(element instanceof ITaskListCategory) && !(element instanceof IQuery)) { manager.add(activateAction); manager.add(deactivateAction);
if ((element instanceof ITask) || (element instanceof IQueryHit)) { ITask task = null; if (element instanceof IQueryHit) { task = ((IQueryHit)element).getOrCreateCorrespondingTask(); } else { task = (ITask)element; } if (task.isActive()) { manager.add(deactivateAction); } else { manager.add(activateAction); }
void fillContextMenu(IMenuManager manager) { updateDrillDownActions(); ITaskListElement element = null;; final Object selectedObject = ((IStructuredSelection)getViewer().getSelection()).getFirstElement(); if (selectedObject instanceof ITaskListElement) { element = (ITaskListElement) selectedObject; } if (!(element instanceof ITaskListCategory) && !(element instanceof IQuery)) { manager.add(activateAction); manager.add(deactivateAction); } addAction(openAction, manager, element); addAction(completeTask, manager, element); addAction(incompleteTask, manager, element); manager.add(new Separator("tasks")); addAction(removeAction, manager, element); addAction(rename, manager, element); addAction(delete, manager, element); addAction(copyAction, manager, element);// addAction(createTask, manager, element); manager.add(new Separator("context")); for (IDynamicSubMenuContributor contributor : MylarTasklistPlugin.getDefault().getDynamicMenuContributers()) { MenuManager subMenuManager = contributor.getSubMenuManager(this, (ITaskListElement)selectedObject); if (subMenuManager != null) addMenuManager(subMenuManager, manager, element); } manager.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS)); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/73fe837e24d18f3f28b242f55d664e81d02c4868/TaskListView.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/TaskListView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 3636, 27315, 12, 3445, 2104, 1318, 3301, 13, 288, 377, 202, 2725, 8956, 737, 4164, 6100, 5621, 377, 202, 377, 202, 1285, 835, 682, 1046, 930, 273, 446, 25708, 3639, 727, 1033, 3170, 921, 273, 14015, 45, 30733, 6233, 13, 588, 18415, 7675, 588, 6233, 1435, 2934, 588, 3759, 1046, 5621, 3639, 309, 261, 8109, 921, 1276, 467, 2174, 682, 1046, 13, 288, 540, 202, 2956, 273, 261, 1285, 835, 682, 1046, 13, 3170, 921, 31, 3639, 289, 7734, 309, 16051, 12, 2956, 1276, 467, 2174, 682, 4457, 13, 597, 401, 12, 2956, 1276, 467, 1138, 3719, 288, 540, 202, 4181, 18, 1289, 12, 10014, 1803, 1769, 540, 202, 4181, 18, 1289, 12, 323, 10014, 1803, 1769, 3639, 289, 3639, 14745, 12, 3190, 1803, 16, 3301, 16, 930, 1769, 3639, 14745, 12, 6226, 2174, 16, 3301, 16, 930, 1769, 3639, 14745, 12, 17624, 2174, 16, 3301, 16, 930, 1769, 3639, 3301, 18, 1289, 12, 2704, 27519, 2932, 9416, 7923, 1769, 3639, 14745, 12, 4479, 1803, 16, 3301, 16, 930, 1769, 3639, 14745, 12, 18539, 16, 3301, 16, 930, 1769, 3639, 14745, 12, 3733, 16, 3301, 16, 930, 1769, 3639, 14745, 12, 3530, 1803, 16, 3301, 16, 930, 1769, 759, 3639, 14745, 12, 2640, 2174, 16, 3301, 16, 930, 1769, 7734, 3301, 18, 1289, 12, 2704, 27519, 2932, 2472, 7923, 1769, 3639, 202, 1884, 261, 734, 3920, 1676, 4599, 442, 19293, 31123, 294, 8005, 7901, 2174, 1098, 3773, 18, 588, 1868, 7675, 588, 9791, 4599, 442, 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, 3636, 27315, 12, 3445, 2104, 1318, 3301, 13, 288, 377, 202, 2725, 8956, 737, 4164, 6100, 5621, 377, 202, 377, 202, 1285, 835, 682, 1046, 930, 273, 446, 25708, 3639, 727, 1033, 3170, 921, 273, 14015, 45, 30733, 6233, 13, 588, 18415, 7675, 588, 6233, 1435, 2934, 588, 3759, 1046, 5621, 3639, 309, 261, 8109, 921, 1276, 467, 2174, 682, 1046, 13, 288, 540, 202, 2956, 273, 261, 1285, 835, 682, 1046, 13, 3170, 921, 31, 3639, 289, 7734, 309, 16051, 12, 2956, 1276, 467, 2174, 682, 4457, 13, 597, 401, 12, 2956, 1276, 467, 1138, 3719, 288, 540, 202, 4181, 18, 1289, 12, 10014, 1803, 1769, 540, 202, 4181, 18, 1289, 12, 323, 10014, 1803, 1769, 2 ]
ExecSQL("begin");
ExecSQL(null, "begin");
public void commit() throws SQLException { if (autoCommit) return; ExecSQL("commit"); autoCommit = true; ExecSQL("begin"); autoCommit = false; }
45454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45454/5383b5d8ed6da5c90bcbdb63401b7d1d75db563d/Connection.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/Connection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3294, 1435, 1216, 6483, 225, 288, 565, 309, 261, 6079, 5580, 13, 1377, 327, 31, 565, 3889, 3997, 2932, 7371, 8863, 565, 3656, 5580, 273, 638, 31, 565, 3889, 3997, 12, 2011, 16, 315, 10086, 8863, 565, 3656, 5580, 273, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3294, 1435, 1216, 6483, 225, 288, 565, 309, 261, 6079, 5580, 13, 1377, 327, 31, 565, 3889, 3997, 2932, 7371, 8863, 565, 3656, 5580, 273, 638, 31, 565, 3889, 3997, 12, 2011, 16, 315, 10086, 8863, 565, 3656, 5580, 273, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
void INT_stddev_using_precalc_ma( double inReal[], double inMovAvg[], int inMovAvgBegIdx, int inMovAvgNbElement, int timePeriod, double output[] ){ double tempReal, periodTotal2, meanValue2; int outIdx; int startSum, endSum; startSum = 1+inMovAvgBegIdx-timePeriod; endSum = inMovAvgBegIdx; periodTotal2 = 0; for( outIdx = startSum; outIdx < endSum; outIdx++) { tempReal = inReal[outIdx]; tempReal *= tempReal; periodTotal2 += tempReal; } for( outIdx=0; outIdx < inMovAvgNbElement; outIdx++, startSum++, endSum++ ) { tempReal = inReal[endSum]; tempReal *= tempReal; periodTotal2 += tempReal; meanValue2 = periodTotal2/timePeriod; tempReal = inReal[startSum]; tempReal *= tempReal; periodTotal2 -= tempReal; tempReal = inMovAvg[outIdx]; tempReal *= tempReal; meanValue2 -= tempReal; if( ! (meanValue2<0.00000001) ) output[outIdx] = Math.sqrt (meanValue2); else output[outIdx] = (double)0.0; }}
2365 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2365/69e0567047ad75d101e30d35826ecbb51165ba43/Core.java/buggy/ta-lib/java/src/TA/Lib/Core.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 918, 3217, 67, 27661, 67, 9940, 67, 1484, 12448, 67, 2540, 12, 9056, 267, 6955, 63, 6487, 9056, 267, 49, 1527, 22823, 63, 6487, 474, 267, 49, 1527, 22823, 24059, 4223, 16, 474, 267, 49, 1527, 22823, 22816, 1046, 16, 474, 957, 5027, 16, 9056, 2844, 63, 5717, 95, 2896, 440, 278, 30752, 6955, 16, 6908, 5269, 22, 16, 7079, 620, 22, 31, 474, 659, 4223, 31, 474, 1937, 3495, 16, 409, 3495, 31, 1937, 3495, 33, 21, 15, 267, 49, 1527, 22823, 24059, 4223, 17, 957, 5027, 31, 409, 3495, 33, 267, 49, 1527, 22823, 24059, 4223, 31, 6908, 5269, 22, 33, 20, 31, 1884, 12, 659, 4223, 33, 1937, 3495, 31, 659, 4223, 32, 409, 3495, 31, 659, 4223, 27245, 95, 5814, 6955, 33, 267, 6955, 63, 659, 4223, 15533, 5814, 6955, 14, 33, 5814, 6955, 31, 6908, 5269, 22, 15, 33, 5814, 6955, 31, 97, 1884, 12, 659, 4223, 33, 20, 31, 659, 4223, 32, 267, 49, 1527, 22823, 22816, 1046, 31, 659, 4223, 9904, 16, 1937, 3495, 9904, 16, 409, 3495, 27245, 95, 5814, 6955, 33, 267, 6955, 63, 409, 3495, 15533, 5814, 6955, 14, 33, 5814, 6955, 31, 6908, 5269, 22, 15, 33, 5814, 6955, 31, 7079, 620, 22, 33, 6908, 5269, 22, 19, 957, 5027, 31, 5814, 6955, 33, 267, 6955, 63, 1937, 3495, 15533, 5814, 6955, 14, 33, 5814, 6955, 31, 6908, 5269, 22, 17, 33, 5814, 6955, 31, 5814, 6955, 33, 267, 49, 1527, 22823, 63, 659, 4223, 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, 918, 3217, 67, 27661, 67, 9940, 67, 1484, 12448, 67, 2540, 12, 9056, 267, 6955, 63, 6487, 9056, 267, 49, 1527, 22823, 63, 6487, 474, 267, 49, 1527, 22823, 24059, 4223, 16, 474, 267, 49, 1527, 22823, 22816, 1046, 16, 474, 957, 5027, 16, 9056, 2844, 63, 5717, 95, 2896, 440, 278, 30752, 6955, 16, 6908, 5269, 22, 16, 7079, 620, 22, 31, 474, 659, 4223, 31, 474, 1937, 3495, 16, 409, 3495, 31, 1937, 3495, 33, 21, 15, 267, 49, 1527, 22823, 24059, 4223, 17, 957, 5027, 31, 409, 3495, 33, 267, 49, 1527, 22823, 24059, 4223, 31, 6908, 5269, 22, 33, 20, 31, 1884, 12, 659, 4223, 33, 1937, 3495, 31, 659, 4223, 32, 409, 3495, 31, 2 ]
((IStructuredSelection)selection).getFirstElement() instanceof TreeObject && ((TreeObject)((IStructuredSelection)selection).getFirstElement()).getNode() instanceof IASTName) { IASTName name = (IASTName)((TreeObject)((IStructuredSelection)selection).getFirstElement()).getNode();
((IStructuredSelection)selection).getFirstElement() instanceof DOMASTNodeLeaf && ((DOMASTNodeLeaf)((IStructuredSelection)selection).getFirstElement()).getNode() instanceof IASTName) { IASTName name = (IASTName)((DOMASTNodeLeaf)((IStructuredSelection)selection).getFirstElement()).getNode();
public void run() { ISelection selection = viewer.getSelection(); if (selection instanceof IStructuredSelection && ((IStructuredSelection)selection).getFirstElement() instanceof TreeObject && ((TreeObject)((IStructuredSelection)selection).getFirstElement()).getNode() instanceof IASTName) { IASTName name = (IASTName)((TreeObject)((IStructuredSelection)selection).getFirstElement()).getNode(); StringBuffer pattern = new StringBuffer(STRING_QUOTE); if (name.toString() != null) pattern.append(name.toString()); pattern.append(STRING_QUOTE); if (lang == ParserLanguage.CPP) { IASTName[] names = ((TreeObject)((IStructuredSelection)selection).getFirstElement()).getNode().getTranslationUnit().getDeclarations(name.resolveBinding()); displayNames(names, OPEN_DECLARATIONS, pattern.toString()); } else { IASTName[] names = ((TreeObject)((IStructuredSelection)selection).getFirstElement()).getNode().getTranslationUnit().getDeclarations(name.resolveBinding()); displayNames(names, OPEN_DECLARATIONS, pattern.toString()); } } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/7a1f792fe6a4780bc309b94ddba65d9b41a96fd7/DOMAST.java/clean/core/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/ui/tests/DOMAST/DOMAST.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 1377, 202, 45, 6233, 4421, 273, 14157, 18, 588, 6233, 5621, 1377, 202, 430, 261, 10705, 1276, 467, 30733, 6233, 597, 1377, 1082, 202, 12443, 45, 30733, 6233, 13, 10705, 2934, 588, 3759, 1046, 1435, 1276, 4902, 921, 597, 1377, 1082, 202, 12443, 2471, 921, 13, 12443, 45, 30733, 6233, 13, 10705, 2934, 588, 3759, 1046, 1435, 2934, 588, 907, 1435, 1276, 467, 9053, 461, 13, 288, 1377, 202, 202, 45, 9053, 461, 508, 273, 261, 45, 9053, 461, 13, 12443, 2471, 921, 13, 12443, 45, 30733, 6233, 13, 10705, 2934, 588, 3759, 1046, 1435, 2934, 588, 907, 5621, 1377, 202, 202, 780, 1892, 1936, 273, 394, 6674, 12, 5804, 67, 18980, 1769, 1377, 202, 202, 430, 261, 529, 18, 10492, 1435, 480, 446, 13, 1377, 1082, 202, 4951, 18, 6923, 12, 529, 18, 10492, 10663, 1377, 202, 202, 4951, 18, 6923, 12, 5804, 67, 18980, 1769, 1377, 1082, 1377, 202, 202, 430, 261, 4936, 422, 6783, 3779, 18, 4258, 52, 13, 288, 1377, 1082, 202, 45, 9053, 461, 8526, 1257, 273, 14015, 2471, 921, 13, 12443, 45, 30733, 6233, 13, 10705, 2934, 588, 3759, 1046, 1435, 2934, 588, 907, 7675, 588, 6717, 2802, 7675, 588, 21408, 12, 529, 18, 10828, 5250, 10663, 1377, 1082, 202, 5417, 1557, 12, 1973, 16, 11919, 67, 23956, 985, 15297, 16, 1936, 18, 10492, 10663, 1377, 202, 202, 97, 469, 288, 1377, 1082, 202, 45, 9053, 461, 8526, 1257, 273, 14015, 2471, 921, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 1377, 202, 45, 6233, 4421, 273, 14157, 18, 588, 6233, 5621, 1377, 202, 430, 261, 10705, 1276, 467, 30733, 6233, 597, 1377, 1082, 202, 12443, 45, 30733, 6233, 13, 10705, 2934, 588, 3759, 1046, 1435, 1276, 4902, 921, 597, 1377, 1082, 202, 12443, 2471, 921, 13, 12443, 45, 30733, 6233, 13, 10705, 2934, 588, 3759, 1046, 1435, 2934, 588, 907, 1435, 1276, 467, 9053, 461, 13, 288, 1377, 202, 202, 45, 9053, 461, 508, 273, 261, 45, 9053, 461, 13, 12443, 2471, 921, 13, 12443, 45, 30733, 6233, 13, 10705, 2934, 588, 3759, 1046, 1435, 2934, 588, 907, 5621, 1377, 202, 202, 780, 1892, 1936, 273, 394, 6674, 12, 5804, 67, 18980, 2 ]
fAnimation.setImageTemplate("/grendel/ui/images/animation/Contest{0,number,00}.gif",
fAnimation.setImageTemplate("ui/images/animation/Contest{0,number,00}.gif",
public GeneralFrame(String aTitle, String aID) { fThis = this; fID = aID; String title = aTitle; try { title = fLabels.getString(title); } catch (MissingResourceException e) {} setTitle(title); addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { dispose(); } }); updateUI(); fLAFListener = new LAFListener(); UIManager.addPropertyChangeListener(fLAFListener); fPanel = getContentPane(); fAnimation = new Animation(); fAnimation.setImageTemplate("/grendel/ui/images/animation/Contest{0,number,00}.gif", 30); fToolBarPanel = new CollapsiblePanel(true); fToolBarPanelLayout = new ToolBarLayout(); fToolBarPanelConstraints = new GridBagConstraints(); fToolBarPanel.setLayout(fToolBarPanelLayout); fPanel.add(fToolBarPanel, BorderLayout.NORTH); // fUIManager = new netscape.orion.uimanager.UIManager(fToolBarPanel); // We need to use Class.forName because getClass() might return a child // class in another package. ImageIcon curImage = new ImageIcon("ui/images/GrendelIcon32.gif"); setIconImage(curImage.getImage()); fFrameList.addElement(this); }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/dba8c3b6ca55297114840a7e8d6a99e1d87d27cb/GeneralFrame.java/buggy/grendel/sources/grendel/ui/GeneralFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9544, 3219, 12, 780, 279, 4247, 16, 514, 279, 734, 13, 288, 565, 284, 2503, 273, 333, 31, 565, 284, 734, 273, 279, 734, 31, 565, 514, 2077, 273, 279, 4247, 31, 565, 775, 288, 1377, 2077, 273, 284, 5888, 18, 588, 780, 12, 2649, 1769, 565, 289, 1044, 261, 4841, 14785, 425, 13, 2618, 565, 14109, 12, 2649, 1769, 565, 527, 3829, 2223, 12, 2704, 6076, 4216, 1435, 288, 1377, 1071, 918, 2742, 15745, 12, 3829, 1133, 425, 13, 288, 3639, 15825, 5621, 1377, 289, 565, 15549, 565, 1089, 5370, 5621, 565, 284, 2534, 42, 2223, 273, 394, 2928, 42, 2223, 5621, 565, 6484, 1318, 18, 1289, 1396, 15744, 12, 74, 2534, 42, 2223, 1769, 565, 284, 5537, 273, 5154, 8485, 5621, 565, 284, 10816, 273, 394, 22685, 5621, 565, 284, 10816, 18, 542, 2040, 2283, 2932, 4881, 19, 7369, 19, 30822, 19, 660, 395, 95, 20, 16, 2696, 16, 713, 5496, 13905, 3113, 27573, 5196, 1769, 565, 284, 6364, 5190, 5537, 273, 394, 1558, 3762, 2736, 5537, 12, 3767, 1769, 565, 284, 6364, 5190, 5537, 3744, 273, 394, 13288, 5190, 3744, 5621, 565, 284, 6364, 5190, 5537, 4878, 273, 394, 13075, 5621, 565, 284, 6364, 5190, 5537, 18, 542, 3744, 12, 74, 6364, 5190, 5537, 3744, 1769, 565, 284, 5537, 18, 1289, 12, 74, 6364, 5190, 5537, 16, 30814, 18, 50, 28212, 1769, 565, 368, 565, 284, 5370, 1318, 273, 394, 2901, 12476, 18, 280, 285, 18, 89, 381, 1063, 18, 5370, 1318, 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, 9544, 3219, 12, 780, 279, 4247, 16, 514, 279, 734, 13, 288, 565, 284, 2503, 273, 333, 31, 565, 284, 734, 273, 279, 734, 31, 565, 514, 2077, 273, 279, 4247, 31, 565, 775, 288, 1377, 2077, 273, 284, 5888, 18, 588, 780, 12, 2649, 1769, 565, 289, 1044, 261, 4841, 14785, 425, 13, 2618, 565, 14109, 12, 2649, 1769, 565, 527, 3829, 2223, 12, 2704, 6076, 4216, 1435, 288, 1377, 1071, 918, 2742, 15745, 12, 3829, 1133, 425, 13, 288, 3639, 15825, 5621, 1377, 289, 565, 15549, 565, 1089, 5370, 5621, 565, 284, 2534, 42, 2223, 273, 394, 2928, 42, 2223, 5621, 565, 6484, 1318, 18, 1289, 1396, 15744, 12, 74, 2534, 42, 2223, 1769, 565, 2 ]
return getIdValue(id, start);
return getIdValue(id);
public Object get(String name, Scriptable start) { if (maxId != 0) { int id = getId(name); if (id != 0) { Object[] data = idMapData; if (data == null) { return getIdValue(id, start); } else { Object value = data[id - 1]; if (value == null) { value = getIdValue(id, start); } else if (value == NULL_TAG) { value = null; } return value; } } } return super.get(name, start); }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/3db7f50283cb2dd0859494c7e36c278004f2f6a8/IdScriptable.java/buggy/src/org/mozilla/javascript/IdScriptable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 336, 12, 780, 508, 16, 22780, 787, 13, 288, 3639, 309, 261, 1896, 548, 480, 374, 13, 288, 5411, 509, 612, 273, 2634, 12, 529, 1769, 5411, 309, 261, 350, 480, 374, 13, 288, 7734, 1033, 8526, 501, 273, 612, 863, 751, 31, 7734, 309, 261, 892, 422, 446, 13, 288, 10792, 327, 2634, 620, 12, 350, 1769, 7734, 289, 7734, 469, 288, 10792, 1033, 460, 273, 501, 63, 350, 300, 404, 15533, 10792, 309, 261, 1132, 422, 446, 13, 288, 13491, 460, 273, 2634, 620, 12, 350, 16, 787, 1769, 10792, 289, 10792, 469, 309, 261, 1132, 422, 3206, 67, 7927, 13, 288, 13491, 460, 273, 446, 31, 10792, 289, 10792, 327, 460, 31, 7734, 289, 5411, 289, 3639, 289, 3639, 327, 2240, 18, 588, 12, 529, 16, 787, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 336, 12, 780, 508, 16, 22780, 787, 13, 288, 3639, 309, 261, 1896, 548, 480, 374, 13, 288, 5411, 509, 612, 273, 2634, 12, 529, 1769, 5411, 309, 261, 350, 480, 374, 13, 288, 7734, 1033, 8526, 501, 273, 612, 863, 751, 31, 7734, 309, 261, 892, 422, 446, 13, 288, 10792, 327, 2634, 620, 12, 350, 1769, 7734, 289, 7734, 469, 288, 10792, 1033, 460, 273, 501, 63, 350, 300, 404, 15533, 10792, 309, 261, 1132, 422, 446, 13, 288, 13491, 460, 273, 2634, 620, 12, 350, 16, 787, 1769, 10792, 289, 10792, 469, 309, 261, 1132, 422, 3206, 67, 7927, 13, 288, 13491, 460, 273, 446, 31, 10792, 289, 10792, 327, 460, 31, 7734, 2 ]
if (y instanceof Complex) return add (this, (Complex) y, k); return ((Numeric)y).add_reversed (this, k);
return Complex.make (RealNum.add(x.re(), y.re(), k), RealNum.add(x.im(), y.im(), k));
public Numeric add (Object y, int k) { if (y instanceof Complex) return add (this, (Complex) y, k); return ((Numeric)y).add_reversed (this, k); }
40769 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/40769/574164486706f277677c0e9fe01d898bd9abc03a/Complex.java/buggy/gnu/math/Complex.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 16980, 527, 261, 921, 677, 16, 509, 417, 13, 225, 288, 565, 309, 261, 93, 1276, 16060, 13, 1377, 327, 527, 261, 2211, 16, 261, 12795, 13, 677, 16, 417, 1769, 565, 327, 14015, 9902, 13, 93, 2934, 1289, 67, 266, 7548, 261, 2211, 16, 417, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 16980, 527, 261, 921, 677, 16, 509, 417, 13, 225, 288, 565, 309, 261, 93, 1276, 16060, 13, 1377, 327, 527, 261, 2211, 16, 261, 12795, 13, 677, 16, 417, 1769, 565, 327, 14015, 9902, 13, 93, 2934, 1289, 67, 266, 7548, 261, 2211, 16, 417, 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 ]
TreeItem[] newItems = new TreeItem[items.size()]; items.toArray(newItems); getTree().setSelection(newItems); }
TreeItem[] newItems = new TreeItem[items.size()]; items.toArray(newItems); getTree().setSelection(newItems); }
protected void setSelection(List items) { Item[] current = getSelection(getTree()); //Don't bother resetting the same selection if (isSameSelection(items, current)) return; TreeItem[] newItems = new TreeItem[items.size()]; items.toArray(newItems); getTree().setSelection(newItems); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/d94e309c616b79ca7e205fa94a5f9687ffcbe4f8/TreeViewer.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TreeViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 444, 6233, 12, 682, 1516, 13, 288, 3639, 4342, 8526, 783, 273, 23204, 12, 588, 2471, 10663, 3639, 368, 22293, 1404, 23440, 30691, 326, 1967, 4421, 3639, 309, 261, 291, 8650, 6233, 12, 3319, 16, 783, 3719, 5411, 327, 31, 3639, 4902, 1180, 8526, 394, 3126, 273, 394, 4902, 1180, 63, 3319, 18, 1467, 1435, 15533, 3639, 1516, 18, 31447, 12, 2704, 3126, 1769, 3639, 15867, 7675, 542, 6233, 12, 2704, 3126, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 444, 6233, 12, 682, 1516, 13, 288, 3639, 4342, 8526, 783, 273, 23204, 12, 588, 2471, 10663, 3639, 368, 22293, 1404, 23440, 30691, 326, 1967, 4421, 3639, 309, 261, 291, 8650, 6233, 12, 3319, 16, 783, 3719, 5411, 327, 31, 3639, 4902, 1180, 8526, 394, 3126, 273, 394, 4902, 1180, 63, 3319, 18, 1467, 1435, 15533, 3639, 1516, 18, 31447, 12, 2704, 3126, 1769, 3639, 15867, 7675, 542, 6233, 12, 2704, 3126, 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 ]
if (htmlMsg.length() > 0 || !m_attachments.isEmpty()) { email = new CmsHtmlMail(); ((CmsHtmlMail)email).setHtmlMsg(replaceMacros(htmlMsg.toString(), recipient));
if ((htmlMsg.length() > 0) || !m_attachments.isEmpty()) { CmsHtmlMail htmlMail = new CmsHtmlMail(); htmlMail.setHtmlMsg(replaceMacros(htmlMsg.toString(), recipient));
public Email getEmail(CmsObject cms, I_CmsNewsletterRecipient recipient) throws MessagingException, CmsException { StringBuffer htmlMsg = new StringBuffer(1024); StringBuffer txtMsg = new StringBuffer(1024); Iterator contents = m_contents.iterator(); while (contents.hasNext()) { I_CmsNewsletterContent content = (I_CmsNewsletterContent)contents.next(); if (recipient.isSubscriber(content)) { if (content.getType().equals(CmsNewsletterContentType.TYPE_HTML)) { htmlMsg.append(content.getContent()); } else { txtMsg.append(content.getContent()); } } } Email email; if (htmlMsg.length() > 0 || !m_attachments.isEmpty()) { email = new CmsHtmlMail(); ((CmsHtmlMail)email).setHtmlMsg(replaceMacros(htmlMsg.toString(), recipient)); Iterator attachments = m_attachments.iterator(); while (attachments.hasNext()) { CmsResource resource = (CmsResource)attachments.next(); // set the description of the attachment either to the property description, if it is set, or // to the property title String description = ""; String propertyDescription = cms.readPropertyObject( cms.getSitePath(resource), CmsPropertyDefinition.PROPERTY_DESCRIPTION, true).getValue(); if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(propertyDescription)) { description = propertyDescription; } else { String propertyTitle = cms.readPropertyObject( cms.getSitePath(resource), CmsPropertyDefinition.PROPERTY_TITLE, true).getValue(); description = propertyTitle; } ((CmsHtmlMail)email).attach(new CmsVfsDataSource(cms, resource), resource.getName(), description); } } else { // only text content, return text mail email = new CmsSimpleMail(); } ((CmsHtmlMail)email).setTextMsg(replaceMacros(txtMsg.toString(), recipient)); email.addTo(recipient.getEmail()); email.setSubject(m_subject); return email; }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/4284dbc36f3fe9a49e28198378e30ed5d1a83773/CmsNewsletter.java/clean/src/org/opencms/newsletter/CmsNewsletter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8166, 17297, 12, 4747, 921, 6166, 16, 467, 67, 4747, 17948, 13449, 18241, 8027, 13, 1216, 23794, 503, 16, 11228, 288, 3639, 6674, 1729, 3332, 273, 394, 6674, 12, 2163, 3247, 1769, 3639, 6674, 6463, 3332, 273, 394, 6674, 12, 2163, 3247, 1769, 3639, 4498, 2939, 273, 312, 67, 3980, 18, 9838, 5621, 3639, 1323, 261, 3980, 18, 5332, 2134, 10756, 288, 5411, 467, 67, 4747, 17948, 13449, 1350, 913, 273, 261, 45, 67, 4747, 17948, 13449, 1350, 13, 3980, 18, 4285, 5621, 5411, 309, 261, 20367, 18, 291, 11118, 12, 1745, 3719, 288, 7734, 309, 261, 1745, 18, 588, 559, 7675, 14963, 12, 4747, 17948, 13449, 8046, 18, 2399, 67, 4870, 3719, 288, 10792, 1729, 3332, 18, 6923, 12, 1745, 18, 588, 1350, 10663, 7734, 289, 469, 288, 10792, 6463, 3332, 18, 6923, 12, 1745, 18, 588, 1350, 10663, 7734, 289, 5411, 289, 3639, 289, 3639, 8166, 2699, 31, 3639, 309, 261, 2620, 3332, 18, 2469, 1435, 405, 374, 747, 401, 81, 67, 17828, 18, 291, 1921, 10756, 288, 5411, 2699, 273, 394, 2149, 4353, 6759, 5621, 5411, 14015, 4747, 4353, 6759, 13, 3652, 2934, 542, 4353, 3332, 12, 2079, 9990, 6973, 12, 2620, 3332, 18, 10492, 9334, 8027, 10019, 5411, 4498, 10065, 273, 312, 67, 17828, 18, 9838, 5621, 5411, 1323, 261, 17828, 18, 5332, 2134, 10756, 288, 7734, 7630, 1058, 273, 261, 4747, 1420, 13, 17828, 18, 4285, 5621, 7734, 368, 444, 326, 2477, 434, 326, 6042, 3344, 358, 326, 1272, 2477, 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, 8166, 17297, 12, 4747, 921, 6166, 16, 467, 67, 4747, 17948, 13449, 18241, 8027, 13, 1216, 23794, 503, 16, 11228, 288, 3639, 6674, 1729, 3332, 273, 394, 6674, 12, 2163, 3247, 1769, 3639, 6674, 6463, 3332, 273, 394, 6674, 12, 2163, 3247, 1769, 3639, 4498, 2939, 273, 312, 67, 3980, 18, 9838, 5621, 3639, 1323, 261, 3980, 18, 5332, 2134, 10756, 288, 5411, 467, 67, 4747, 17948, 13449, 1350, 913, 273, 261, 45, 67, 4747, 17948, 13449, 1350, 13, 3980, 18, 4285, 5621, 5411, 309, 261, 20367, 18, 291, 11118, 12, 1745, 3719, 288, 7734, 309, 261, 1745, 18, 588, 559, 7675, 14963, 12, 4747, 17948, 13449, 8046, 18, 2399, 67, 4870, 3719, 288, 10792, 1729, 3332, 2 ]
} else{
} else {
private List getVirtualSelection() { List result = new ArrayList(); int[] selectionIndices = getTable().getSelectionIndices(); if(getContentProvider() instanceof ILazyContentProvider){ ILazyContentProvider lazy = (ILazyContentProvider) getContentProvider(); for (int i = 0; i < selectionIndices.length; i++) { int selectionIndex = selectionIndices[i]; lazy.updateElement(selectionIndex);//Start the update Object element = getTable().getItem(selectionIndex).getData(); //Only add the element if it got updated. //If this is done deferred the selection will //be incomplete until selection is finished. if (element != null) { result.add(element); } } } else{ for (int i = 0; i < selectionIndices.length; i++) { Object element = null; //See if it is cached int selectionIndex = selectionIndices[i]; if (selectionIndex < virtualManager.cachedElements.length){ element = virtualManager.cachedElements[selectionIndex]; } if (element == null){ // Not cached so try the item's data TableItem item = getTable().getItem(selectionIndex); element = item.getData(); } if (element != null) { result.add(element); } } } return result; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/72b02dfa9a75652d45af68d329d447e0e8bbe40d/TableViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TableViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 987, 336, 6466, 6233, 1435, 288, 9506, 202, 682, 563, 273, 394, 2407, 5621, 202, 202, 474, 8526, 4421, 8776, 273, 5638, 7675, 588, 6233, 8776, 5621, 3196, 202, 430, 12, 588, 1350, 2249, 1435, 1276, 467, 14443, 1350, 2249, 15329, 1082, 202, 2627, 5038, 1350, 2249, 7962, 273, 261, 2627, 5038, 1350, 2249, 13, 5154, 2249, 5621, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 4421, 8776, 18, 2469, 31, 277, 27245, 288, 9506, 202, 474, 4421, 1016, 273, 4421, 8776, 63, 77, 15533, 9506, 202, 15998, 18, 2725, 1046, 12, 10705, 1016, 1769, 759, 1685, 326, 1089, 9506, 202, 921, 930, 273, 5638, 7675, 588, 1180, 12, 10705, 1016, 2934, 588, 751, 5621, 9506, 202, 759, 3386, 527, 326, 930, 309, 518, 2363, 3526, 18, 9506, 202, 759, 2047, 333, 353, 2731, 7045, 326, 4421, 903, 9506, 202, 759, 2196, 14715, 3180, 4421, 353, 6708, 18, 9506, 202, 430, 261, 2956, 480, 446, 13, 288, 6862, 202, 2088, 18, 1289, 12, 2956, 1769, 9506, 202, 97, 6862, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 95, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 4421, 8776, 18, 2469, 31, 277, 27245, 288, 9506, 202, 921, 930, 273, 446, 31, 9506, 202, 759, 9704, 309, 518, 353, 3472, 9506, 202, 474, 4421, 1016, 273, 4421, 8776, 63, 77, 15533, 9506, 202, 430, 261, 10705, 1016, 411, 5024, 1318, 18, 7097, 3471, 18, 2469, 15329, 6862, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 987, 336, 6466, 6233, 1435, 288, 9506, 202, 682, 563, 273, 394, 2407, 5621, 202, 202, 474, 8526, 4421, 8776, 273, 5638, 7675, 588, 6233, 8776, 5621, 3196, 202, 430, 12, 588, 1350, 2249, 1435, 1276, 467, 14443, 1350, 2249, 15329, 1082, 202, 2627, 5038, 1350, 2249, 7962, 273, 261, 2627, 5038, 1350, 2249, 13, 5154, 2249, 5621, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 4421, 8776, 18, 2469, 31, 277, 27245, 288, 9506, 202, 474, 4421, 1016, 273, 4421, 8776, 63, 77, 15533, 9506, 202, 15998, 18, 2725, 1046, 12, 10705, 1016, 1769, 759, 1685, 326, 1089, 9506, 202, 921, 930, 273, 5638, 7675, 588, 1180, 12, 10705, 1016, 2934, 588, 2 ]
protected synchronized int next(int bits) { //Logger.minor(this,"In "+this+" next("+bits+")"); int[] parameters = bitTable[bits]; int offset = getBytes(parameters[0]); int val = output_buffer[offset]; if (parameters[0] == 4) val += (output_buffer[offset + 1] << 24) + (output_buffer[offset + 2] << 16) + (output_buffer[offset + 3] << 8); else if (parameters[0] == 3) val += (output_buffer[offset + 1] << 16) + (output_buffer[offset + 2] << 8); else if (parameters[0] == 2) val += output_buffer[offset + 2] << 8; return val & parameters[1]; }
56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/bc50c0ab3552700dd11500ebecd9c37ad70a191e/Yarrow.java/buggy/src/freenet/crypt/Yarrow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 22043, 474, 4285, 12, 474, 6789, 15329, 202, 759, 3328, 18, 17364, 12, 2211, 10837, 382, 6, 15, 2211, 9078, 4285, 2932, 15, 6789, 9078, 2225, 1769, 202, 202, 474, 8526, 3977, 33, 3682, 1388, 63, 6789, 15533, 202, 202, 474, 3348, 33, 588, 2160, 12, 3977, 63, 20, 19226, 202, 202, 474, 1125, 33, 2844, 67, 4106, 63, 3348, 15533, 202, 202, 430, 12, 3977, 63, 20, 65, 631, 24, 13, 1082, 202, 1125, 15, 28657, 2844, 67, 4106, 63, 3348, 15, 21, 65, 17685, 3247, 13, 9506, 202, 15, 12, 2844, 67, 4106, 63, 3348, 15, 22, 65, 17685, 2313, 13, 9506, 202, 15, 12, 2844, 67, 4106, 63, 3348, 15, 23, 65, 17685, 28, 1769, 202, 202, 12107, 430, 12, 3977, 63, 20, 65, 631, 23, 13, 1082, 202, 1125, 15, 28657, 2844, 67, 4106, 63, 3348, 15, 21, 65, 17685, 2313, 13, 9506, 202, 15, 12, 2844, 67, 4106, 63, 3348, 15, 22, 65, 17685, 28, 1769, 202, 202, 12107, 430, 12, 3977, 63, 20, 65, 631, 22, 13, 1082, 202, 1125, 15, 33, 2844, 67, 4106, 63, 3348, 15, 22, 65, 17685, 28, 31, 202, 202, 2463, 1125, 10, 3977, 63, 21, 15533, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 22043, 474, 4285, 12, 474, 6789, 15329, 202, 759, 3328, 18, 17364, 12, 2211, 10837, 382, 6, 15, 2211, 9078, 4285, 2932, 15, 6789, 9078, 2225, 1769, 202, 202, 474, 8526, 3977, 33, 3682, 1388, 63, 6789, 15533, 202, 202, 474, 3348, 33, 588, 2160, 12, 3977, 63, 20, 19226, 202, 202, 474, 1125, 33, 2844, 67, 4106, 63, 3348, 15533, 202, 202, 430, 12, 3977, 63, 20, 65, 631, 24, 13, 1082, 202, 1125, 15, 28657, 2844, 67, 4106, 63, 3348, 15, 21, 65, 17685, 3247, 13, 9506, 202, 15, 12, 2844, 67, 4106, 63, 3348, 15, 22, 65, 17685, 2313, 13, 9506, 202, 15, 12, 2844, 67, 4106, 63, 3348, 15, 23, 65, 17685, 2 ]
existing.addElement(_stackTopTemplate);
existing.addElement(_currentTemplate);
public void endElement(java.lang.String name) { if(_stackTopTemplate != null) { String body = _stackTopTemplate.getBody().trim(); body = expandMacros(body); _stackTopTemplate.setBody(body); Class classObj = _stackTopTemplate.getClass(); Vector existing = (Vector) _templates.get(classObj); if (existing == null) existing = new Vector(); existing.addElement(_stackTopTemplate); _templates.put(classObj, existing); } else { if(_stackTopMacro != null) { String body = _stackTopMacro.getBody().trim(); body = expandMacros(body); _stackTopMacro.setBody(body); boolean inserted = false; int newNameLength = _stackTopMacro.getName().length(); int size = _macros.size(); for (int i = 0; i < size && !inserted; i++) { String n = ((MacroRecord)_macros.elementAt(i)).name; if (n.length() < newNameLength) { _macros.insertElementAt(_stackTopMacro, i); inserted = true; } } if (!inserted) { _macros.addElement(_stackTopMacro); } } } _stackTopTemplate = null; _stackTopMacro = null; Object top = _stack.get(--_stackPointer); if(top instanceof TemplateRecord) { _stackTopTemplate = (TemplateRecord) top; } else { if(top instanceof MacroRecord) { _stackTopMacro = (MacroRecord) top; } } }
1732 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1732/c9a732c3347ebfb5f4e93bc0b0c749a5b14a1c95/TemplateReader.java/buggy/src/org/tigris/gef/ocl/TemplateReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 14840, 12, 6290, 18, 4936, 18, 780, 508, 13, 288, 565, 309, 24899, 3772, 3401, 2283, 480, 446, 13, 288, 1377, 514, 1417, 273, 389, 3772, 3401, 2283, 18, 588, 2250, 7675, 5290, 5621, 1377, 1417, 273, 4542, 9990, 6973, 12, 3432, 1769, 1377, 389, 3772, 3401, 2283, 18, 542, 2250, 12, 3432, 1769, 1377, 1659, 667, 2675, 273, 389, 3772, 3401, 2283, 18, 588, 797, 5621, 1377, 5589, 2062, 273, 261, 5018, 13, 389, 8502, 18, 588, 12, 1106, 2675, 1769, 1377, 309, 261, 11711, 422, 446, 13, 2062, 273, 394, 5589, 5621, 1377, 2062, 18, 1289, 1046, 24899, 2972, 2283, 1769, 1377, 389, 8502, 18, 458, 12, 1106, 2675, 16, 2062, 1769, 565, 289, 565, 469, 288, 3639, 309, 24899, 3772, 3401, 17392, 480, 446, 13, 288, 5411, 514, 1417, 273, 389, 3772, 3401, 17392, 18, 588, 2250, 7675, 5290, 5621, 5411, 1417, 273, 4542, 9990, 6973, 12, 3432, 1769, 5411, 389, 3772, 3401, 17392, 18, 542, 2250, 12, 3432, 1769, 5411, 1250, 9564, 273, 629, 31, 5411, 509, 13253, 1782, 273, 389, 3772, 3401, 17392, 18, 17994, 7675, 2469, 5621, 5411, 509, 963, 273, 389, 5821, 6973, 18, 1467, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 963, 597, 401, 6387, 329, 31, 277, 27245, 288, 202, 3639, 514, 290, 273, 14015, 17392, 2115, 13, 67, 5821, 6973, 18, 2956, 861, 12, 77, 13, 2934, 529, 31, 202, 3639, 309, 261, 82, 18, 2469, 1435, 411, 13253, 1782, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 14840, 12, 6290, 18, 4936, 18, 780, 508, 13, 288, 565, 309, 24899, 3772, 3401, 2283, 480, 446, 13, 288, 1377, 514, 1417, 273, 389, 3772, 3401, 2283, 18, 588, 2250, 7675, 5290, 5621, 1377, 1417, 273, 4542, 9990, 6973, 12, 3432, 1769, 1377, 389, 3772, 3401, 2283, 18, 542, 2250, 12, 3432, 1769, 1377, 1659, 667, 2675, 273, 389, 3772, 3401, 2283, 18, 588, 797, 5621, 1377, 5589, 2062, 273, 261, 5018, 13, 389, 8502, 18, 588, 12, 1106, 2675, 1769, 1377, 309, 261, 11711, 422, 446, 13, 2062, 273, 394, 5589, 5621, 1377, 2062, 18, 1289, 1046, 24899, 2972, 2283, 1769, 1377, 389, 8502, 18, 458, 12, 1106, 2675, 16, 2062, 1769, 565, 289, 2 ]
ctx.println("<a href='" + ctx.url() + "&do=list'>[Manage " + ctx.session.user.org + " Users]</a>");
ctx.println("<a href='" + ctx.url() + ctx.urlConnector() +"do=list'>[Manage " + ctx.session.user.org + " Users]</a>");
public void printUserMenu(WebContext ctx) { ctx.println("<b>Welcome " + ctx.session.user.name + " (" + ctx.session.user.org + ") !</b>"); ctx.println("<a href=\"" + ctx.base() + "?s="+SURVEYTOOL_COOKIE_NONE+"\">[Sign Out (Session remains active)]</a><br/>"); if(UserRegistry.userIsAdmin(ctx.session.user)) { ctx.println("<b>You are an Admin:</b> "); ctx.println("<a href='" + ctx.base() + "?dump=" + vap + "'>[Stats]</a>"); if(ctx.session.user.id == 1) { ctx.println("<a href='" + ctx.base() + "?sql=" + vap + "'>[Raw SQL]</a>"); } ctx.println("<br/>"); } if(UserRegistry.userIsTC(ctx.session.user)) { ctx.println("You are: <b>A CLDR TC Member:</b> "); ctx.println("<a href='" + ctx.jspLink("adduser.jsp") +"'>[Add User]</a> | "); ctx.println("<a href='" + ctx.url() + "&do=list'>[Manage " + ctx.session.user.org + " Users]</a>"); ctx.println("<br/>"); } else { if(UserRegistry.userIsVetter(ctx.session.user)) { ctx.println("You are a: <b>Vetter:</b> "); ctx.println("<a href='" + ctx.url() + "&do=list'>[List " + ctx.session.user.org + " Users]</a>"); ctx.println("<br/>"); } else if(UserRegistry.userIsStreet(ctx.session.user)) { ctx.println("You are a: <b>Guest Contributor</b> "); ctx.println("<br/>"); } else if(UserRegistry.userIsLocked(ctx.session.user)) { ctx.println("<b>LOCKED: Note: your account is currently locked. Please contact " + ctx.session.user.org + "'s CLDR Technical Committee member.</b> "); ctx.println("<br/>"); } } }
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/d99f45a31f02fcac5c82ee137c8dde03d6babbc5/SurveyMain.java/buggy/tools/java/org/unicode/cldr/web/SurveyMain.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1172, 1299, 4599, 12, 4079, 1042, 1103, 13, 288, 3639, 1103, 18, 8222, 2932, 32, 70, 34, 59, 16312, 315, 397, 1103, 18, 3184, 18, 1355, 18, 529, 397, 315, 7566, 397, 1103, 18, 3184, 18, 1355, 18, 3341, 397, 9369, 401, 1757, 70, 2984, 1769, 3639, 1103, 18, 8222, 2932, 32, 69, 3897, 13186, 397, 1103, 18, 1969, 1435, 397, 18101, 87, 1546, 15, 26397, 58, 2602, 26263, 67, 13584, 67, 9826, 9078, 2412, 23224, 2766, 2976, 261, 2157, 22632, 2695, 25887, 1757, 69, 4438, 2848, 26293, 1769, 3639, 309, 12, 1299, 4243, 18, 1355, 2520, 4446, 12, 5900, 18, 3184, 18, 1355, 3719, 288, 5411, 1103, 18, 8222, 2932, 32, 70, 34, 6225, 854, 392, 7807, 19814, 70, 34, 315, 1769, 5411, 1103, 18, 8222, 2932, 32, 69, 3897, 13396, 397, 1103, 18, 1969, 1435, 397, 18101, 8481, 1546, 397, 331, 438, 397, 2491, 23224, 4195, 65, 1757, 69, 2984, 1769, 5411, 309, 12, 5900, 18, 3184, 18, 1355, 18, 350, 422, 404, 13, 288, 7734, 1103, 18, 8222, 2932, 32, 69, 3897, 13396, 397, 1103, 18, 1969, 1435, 397, 18101, 4669, 1546, 397, 331, 438, 397, 2491, 23224, 4809, 3063, 65, 1757, 69, 2984, 1769, 5411, 289, 5411, 1103, 18, 8222, 2932, 32, 2848, 26293, 1769, 3639, 289, 3639, 309, 12, 1299, 4243, 18, 1355, 2520, 15988, 12, 5900, 18, 3184, 18, 1355, 3719, 288, 5411, 1103, 18, 8222, 2932, 6225, 854, 30, 411, 70, 34, 37, 14934, 6331, 23718, 8596, 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, 1172, 1299, 4599, 12, 4079, 1042, 1103, 13, 288, 3639, 1103, 18, 8222, 2932, 32, 70, 34, 59, 16312, 315, 397, 1103, 18, 3184, 18, 1355, 18, 529, 397, 315, 7566, 397, 1103, 18, 3184, 18, 1355, 18, 3341, 397, 9369, 401, 1757, 70, 2984, 1769, 3639, 1103, 18, 8222, 2932, 32, 69, 3897, 13186, 397, 1103, 18, 1969, 1435, 397, 18101, 87, 1546, 15, 26397, 58, 2602, 26263, 67, 13584, 67, 9826, 9078, 2412, 23224, 2766, 2976, 261, 2157, 22632, 2695, 25887, 1757, 69, 4438, 2848, 26293, 1769, 3639, 309, 12, 1299, 4243, 18, 1355, 2520, 4446, 12, 5900, 18, 3184, 18, 1355, 3719, 288, 5411, 1103, 18, 8222, 2932, 32, 70, 34, 6225, 854, 2 ]
} else{
} else {
public void read(String filename) { try{ FileReader f = new FileReader(filename); BufferedReader fr = new BufferedReader(f); String line = ""; String content = ""; boolean in_section = false; while (line != null){ line = fr.readLine(); if (line != null) { if (in_section){ String section_id = get_sect_id(line); if (section_id != null){ in_section = false; m_ary.put(section_id, content); content = ""; } else{ content += line + "\n"; } } else { String section_id = get_sect_id(line); if (section_id != null){ in_section = true; } } } } fr.close(); } catch (IOException e){ _log.error("Error: " + e.toString()); } }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/AbstractSection.java/clean/src_new/org/argouml/uml/generator/AbstractSection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 855, 12, 780, 1544, 13, 288, 3639, 775, 95, 13491, 23010, 284, 273, 394, 23010, 12, 3459, 1769, 5411, 10633, 3812, 273, 394, 10633, 12, 74, 1769, 5411, 514, 980, 273, 1408, 31, 5411, 514, 913, 273, 1408, 31, 5411, 1250, 316, 67, 3464, 273, 629, 31, 5411, 1323, 261, 1369, 480, 446, 15329, 7734, 980, 273, 3812, 18, 896, 1670, 5621, 7734, 309, 261, 1369, 480, 446, 13, 288, 10792, 309, 261, 267, 67, 3464, 15329, 13491, 514, 2442, 67, 350, 273, 336, 67, 5709, 67, 350, 12, 1369, 1769, 13491, 309, 261, 3464, 67, 350, 480, 446, 15329, 18701, 316, 67, 3464, 273, 629, 31, 18701, 312, 67, 814, 18, 458, 12, 3464, 67, 350, 16, 913, 1769, 18701, 913, 273, 1408, 31, 13491, 289, 469, 288, 18701, 913, 1011, 980, 397, 1548, 82, 14432, 13491, 289, 10792, 289, 469, 288, 13491, 514, 2442, 67, 350, 273, 336, 67, 5709, 67, 350, 12, 1369, 1769, 13491, 309, 261, 3464, 67, 350, 480, 446, 15329, 18701, 316, 67, 3464, 273, 638, 31, 13491, 289, 10792, 289, 7734, 289, 5411, 289, 5411, 3812, 18, 4412, 5621, 3639, 289, 1044, 261, 14106, 425, 15329, 5411, 389, 1330, 18, 1636, 2932, 668, 30, 315, 397, 425, 18, 10492, 10663, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 855, 12, 780, 1544, 13, 288, 3639, 775, 95, 13491, 23010, 284, 273, 394, 23010, 12, 3459, 1769, 5411, 10633, 3812, 273, 394, 10633, 12, 74, 1769, 5411, 514, 980, 273, 1408, 31, 5411, 514, 913, 273, 1408, 31, 5411, 1250, 316, 67, 3464, 273, 629, 31, 5411, 1323, 261, 1369, 480, 446, 15329, 7734, 980, 273, 3812, 18, 896, 1670, 5621, 7734, 309, 261, 1369, 480, 446, 13, 288, 10792, 309, 261, 267, 67, 3464, 15329, 13491, 514, 2442, 67, 350, 273, 336, 67, 5709, 67, 350, 12, 1369, 1769, 13491, 309, 261, 3464, 67, 350, 480, 446, 15329, 18701, 316, 67, 3464, 273, 629, 31, 18701, 312, 67, 814, 18, 458, 12, 3464, 67, 2 ]
public int hashCode()
public int hashCode()
public int hashCode() { if (id == null) return 0; else return id.intValue(); }
5750 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5750/3d57ae5a342bc10d6c418636c07193a0289ffd6b/ItemPK.java/clean/EJB_EntityBean_id_BMP/edu/rice/rubis/beans/ItemPK.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 13374, 1435, 282, 288, 565, 309, 261, 350, 422, 446, 13, 1377, 327, 374, 31, 565, 469, 1377, 327, 612, 18, 474, 620, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 509, 13374, 1435, 282, 288, 565, 309, 261, 350, 422, 446, 13, 1377, 327, 374, 31, 565, 469, 1377, 327, 612, 18, 474, 620, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public String word() throws RecognitionException { String word; Token id=null; Token str=null; word = null; try { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:924:17: (id= ID | 'import' | 'use' | 'rule' | 'query' | 'salience' | 'no-loop' | 'when' | 'then' | 'end' | str= STRING ) int alt61=11; switch ( input.LA(1) ) { case ID: alt61=1; break; case 17: alt61=2; break; case 57: alt61=3; break; case 28: alt61=4; break; case 26: alt61=5; break; case 33: alt61=6; break; case 34: alt61=7; break; case 29: alt61=8; break; case 31: alt61=9; break; case 27: alt61=10; break; case STRING: alt61=11; break; default: NoViableAltException nvae = new NoViableAltException("920:1: word returns [String word] : (id= ID | \'import\' | \'use\' | \'rule\' | \'query\' | \'salience\' | \'no-loop\' | \'when\' | \'then\' | \'end\' | str= STRING );", 61, 0, input); throw nvae; } switch (alt61) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:924:17: id= ID { id=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_word2645); word=id.getText(); } break; case 2 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:925:17: 'import' { match(input,17,FOLLOW_17_in_word2657); word="import"; } break; case 3 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:926:17: 'use' { match(input,57,FOLLOW_57_in_word2666); word="use"; } break; case 4 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:927:17: 'rule' { match(input,28,FOLLOW_28_in_word2678); word="rule"; } break; case 5 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:928:17: 'query' { match(input,26,FOLLOW_26_in_word2689); word="query"; } break; case 6 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:929:17: 'salience' { match(input,33,FOLLOW_33_in_word2699); word="salience"; } break; case 7 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:930:17: 'no-loop' { match(input,34,FOLLOW_34_in_word2707); word="no-loop"; } break; case 8 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:931:17: 'when' { match(input,29,FOLLOW_29_in_word2715); word="when"; } break; case 9 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:932:17: 'then' { match(input,31,FOLLOW_31_in_word2726); word="then"; } break; case 10 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:933:17: 'end' { match(input,27,FOLLOW_27_in_word2737); word="end"; } break; case 11 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:934:17: str= STRING { str=(Token)input.LT(1); match(input,STRING,FOLLOW_STRING_in_word2751); word=getString(str); } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return word; }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/31d63bcc9d3d8766c62d2c237554a38462a57456/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2076, 1435, 1216, 9539, 288, 6647, 514, 2076, 31, 3639, 3155, 612, 33, 2011, 31, 3639, 3155, 609, 33, 2011, 31, 540, 202, 202, 1095, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 29, 3247, 30, 4033, 30, 261, 350, 33, 1599, 571, 296, 5666, 11, 571, 296, 1202, 11, 571, 296, 5345, 11, 571, 296, 2271, 11, 571, 296, 21982, 6254, 11, 571, 296, 2135, 17, 6498, 11, 571, 296, 13723, 11, 571, 296, 15991, 11, 571, 296, 409, 11, 571, 609, 33, 9469, 262, 5411, 509, 3770, 9498, 33, 2499, 31, 5411, 1620, 261, 810, 18, 2534, 12, 21, 13, 262, 288, 5411, 648, 1599, 30, 7734, 3770, 9498, 33, 21, 31, 7734, 898, 31, 5411, 648, 8043, 30, 7734, 3770, 9498, 33, 22, 31, 7734, 898, 31, 5411, 648, 15981, 30, 7734, 3770, 9498, 33, 23, 31, 7734, 898, 31, 5411, 648, 9131, 30, 7734, 3770, 9498, 33, 24, 31, 7734, 898, 31, 5411, 648, 10659, 30, 7734, 3770, 9498, 33, 25, 31, 7734, 898, 31, 5411, 648, 13159, 30, 7734, 3770, 9498, 33, 26, 31, 7734, 898, 31, 5411, 648, 13438, 30, 7734, 3770, 9498, 33, 27, 31, 7734, 898, 31, 5411, 648, 12899, 30, 7734, 3770, 9498, 33, 28, 31, 7734, 898, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2076, 1435, 1216, 9539, 288, 6647, 514, 2076, 31, 3639, 3155, 612, 33, 2011, 31, 3639, 3155, 609, 33, 2011, 31, 540, 202, 202, 1095, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 29, 3247, 30, 4033, 30, 261, 350, 33, 1599, 571, 296, 5666, 11, 571, 296, 1202, 11, 571, 296, 5345, 11, 571, 296, 2271, 11, 571, 296, 21982, 6254, 11, 571, 296, 2135, 17, 6498, 11, 571, 296, 13723, 11, 571, 296, 15991, 11, 571, 296, 409, 2 ]
java.sql.ResultSet r = connection.ExecSQL("SELECT relname, relacl FROM pg_class, pg_user WHERE ( relkind = 'r' OR relkind = 'i') and relname !~ '^pg_' and relname !~ '^xin[vx][0-9]+' and usesysid = relowner and relname like '" + tableNamePattern.toLowerCase() + "' ORDER BY relname"); while (r.next()) { byte[][] tuple = new byte[8][0]; tuple[0] = tuple[1] = "".getBytes(); if (Driver.logDebug) Driver.debug("relname=\"" + r.getString(1) + "\" relacl=\"" + r.getString(2) + "\"");
if (tableNamePattern != null && !"".equals(tableNamePattern)) { sql += " AND c.relname LIKE '"+escapeQuotes(tableNamePattern.toLowerCase())+"' "; } sql += " ORDER BY nspname, relname ";
public java.sql.ResultSet getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern) throws SQLException { Field f[] = new Field[8]; Vector v = new Vector(); if (tableNamePattern == null) tableNamePattern = "%"; f[0] = new Field(connection, "TABLE_CAT", iVarcharOid, NAME_SIZE); f[1] = new Field(connection, "TABLE_SCHEM", iVarcharOid, NAME_SIZE); f[2] = new Field(connection, "TABLE_NAME", iVarcharOid, NAME_SIZE); f[3] = new Field(connection, "COLUMN_NAME", iVarcharOid, NAME_SIZE); f[4] = new Field(connection, "GRANTOR", iVarcharOid, NAME_SIZE); f[5] = new Field(connection, "GRANTEE", iVarcharOid, NAME_SIZE); f[6] = new Field(connection, "PRIVILEGE", iVarcharOid, NAME_SIZE); f[7] = new Field(connection, "IS_GRANTABLE", iVarcharOid, NAME_SIZE); // This is taken direct from the psql source java.sql.ResultSet r = connection.ExecSQL("SELECT relname, relacl FROM pg_class, pg_user WHERE ( relkind = 'r' OR relkind = 'i') and relname !~ '^pg_' and relname !~ '^xin[vx][0-9]+' and usesysid = relowner and relname like '" + tableNamePattern.toLowerCase() + "' ORDER BY relname"); while (r.next()) { byte[][] tuple = new byte[8][0]; tuple[0] = tuple[1] = "".getBytes(); if (Driver.logDebug) Driver.debug("relname=\"" + r.getString(1) + "\" relacl=\"" + r.getString(2) + "\""); // For now, don't add to the result as relacl needs to be processed. //v.addElement(tuple); } return connection.getResultSet(null, f, v, "OK", 1); }
45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/7c553901d7ab010ad1cb5bf44f9ca2fdae83909a/AbstractJdbc1DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2252, 18, 4669, 18, 13198, 5638, 27692, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 4775, 3234, 13, 1216, 6483, 202, 95, 202, 202, 974, 284, 8526, 273, 394, 2286, 63, 28, 15533, 202, 202, 5018, 331, 273, 394, 5589, 5621, 202, 202, 430, 261, 18033, 3234, 422, 446, 13, 1082, 202, 18033, 3234, 273, 2213, 14432, 202, 202, 74, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 6048, 67, 4574, 1769, 202, 202, 74, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 6048, 67, 4574, 1769, 202, 202, 74, 63, 22, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 6048, 67, 4574, 1769, 202, 202, 74, 63, 23, 65, 273, 394, 2286, 12, 4071, 16, 315, 11009, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 6048, 67, 4574, 1769, 202, 202, 74, 63, 24, 65, 273, 394, 2286, 12, 4071, 16, 315, 6997, 6856, 916, 3113, 277, 58, 22483, 19105, 16, 6048, 67, 4574, 1769, 202, 202, 74, 63, 25, 65, 273, 394, 2286, 12, 4071, 16, 315, 6997, 1258, 1448, 41, 3113, 277, 58, 22483, 19105, 16, 6048, 67, 4574, 1769, 202, 202, 74, 63, 26, 65, 273, 394, 2286, 12, 4071, 16, 315, 7698, 4136, 900, 7113, 3113, 277, 58, 22483, 19105, 16, 6048, 67, 4574, 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, 225, 202, 482, 2252, 18, 4669, 18, 13198, 5638, 27692, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 4775, 3234, 13, 1216, 6483, 202, 95, 202, 202, 974, 284, 8526, 273, 394, 2286, 63, 28, 15533, 202, 202, 5018, 331, 273, 394, 5589, 5621, 202, 202, 430, 261, 18033, 3234, 422, 446, 13, 1082, 202, 18033, 3234, 273, 2213, 14432, 202, 202, 74, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 6048, 67, 4574, 1769, 202, 202, 74, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 6048, 67, 4574, 1769, 202, 202, 74, 63, 22, 2 ]
adjunctContributions.remove(item); }
adjunctContributions.remove(item); }
/* package */void removeAdjunctContribution(ContributionItem item) { adjunctContributions.remove(item); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/f1c8b0aa355c00a6c82a289c808984de6778bfca/ActionSetActionBars.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ActionSetActionBars.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1748, 2181, 1195, 6459, 1206, 17886, 6931, 442, 4027, 12, 442, 4027, 1180, 761, 13, 288, 3639, 8307, 6931, 442, 15326, 18, 4479, 12, 1726, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1748, 2181, 1195, 6459, 1206, 17886, 6931, 442, 4027, 12, 442, 4027, 1180, 761, 13, 288, 3639, 8307, 6931, 442, 15326, 18, 4479, 12, 1726, 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 ]
} Item[] items = getRootItems(); for (int i = 0; i < items.length; i++) { Item item = items[i]; item.screen = this;
public void init() { if (this.style != null) { setStyle( this.style ); } if (this.container != null) { this.container.screen = this; this.container.setVerticalDimensions( 0, this.screenHeight - this.titleHeight ); } // inform all root items that they belong to this screen: Item[] items = getRootItems(); for (int i = 0; i < items.length; i++) { Item item = items[i]; item.screen = this; } //#ifdef polish.useDynamicStyles // check if this screen has got a style: if (this.style == null) { this.cssSelector = createCssSelector(); setStyle( StyleSheet.getStyle( this ) ); } else { this.cssSelector = this.style.name; } //#endif //#ifdef tmp.menuFullScreen Style menuStyle = StyleSheet.getStyle("menu"); if (menuStyle == null) { menuStyle = this.style; } if (menuStyle != null) { String colorStr = menuStyle.getProperty("menubar-color"); if (this.style != null) { String localColorStr = this.style.getProperty("menubar-color"); if (localColorStr != null) { colorStr = localColorStr; } } if (colorStr != null) { this.menuBarColor = Integer.parseInt(colorStr); } this.menuFontColor = menuStyle.fontColor; if (menuStyle.font != null) { this.menuFont = menuStyle.font; } else { this.menuFont = Font.getFont( Font.FACE_SYSTEM, Font.STYLE_BOLD, Font.SIZE_MEDIUM ); } } else { this.menuFont = Font.getFont( Font.FACE_SYSTEM, Font.STYLE_BOLD, Font.SIZE_MEDIUM ); } this.menuBarHeight = this.menuFont.getHeight() + 2; int diff = this.originalScreenHeight - this.screenHeight; this.originalScreenHeight = this.fullScreenHeight - this.menuBarHeight; this.screenHeight = this.originalScreenHeight - diff; //#endif // set the title: //#ifdef tmp.usingTitle setTitle( this.titleText ); //#endif // start the animmation thread if necessary: if (StyleSheet.animationThread == null) { StyleSheet.animationThread = new AnimationThread(); StyleSheet.animationThread.start(); } this.isInitialised = true; }
9804 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9804/3363df7fed3f7f6df1d57baf3b197e270665d515/Screen.java/clean/enough-polish-j2me/source/src/de/enough/polish/ui/Screen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1208, 1435, 288, 202, 202, 430, 261, 2211, 18, 4060, 480, 446, 13, 288, 1082, 202, 542, 2885, 12, 333, 18, 4060, 11272, 202, 202, 97, 202, 202, 430, 261, 2211, 18, 3782, 480, 446, 13, 288, 1082, 202, 2211, 18, 3782, 18, 9252, 273, 333, 31, 1082, 202, 2211, 18, 3782, 18, 542, 15704, 10796, 12, 374, 16, 333, 18, 9252, 2686, 300, 333, 18, 2649, 2686, 11272, 202, 202, 97, 202, 202, 759, 13235, 777, 1365, 1516, 716, 2898, 10957, 358, 333, 5518, 30, 202, 202, 1180, 8526, 1516, 273, 7656, 3126, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1516, 18, 2469, 31, 277, 27245, 288, 1082, 202, 1180, 761, 273, 1516, 63, 77, 15533, 1082, 202, 1726, 18, 9252, 273, 333, 31, 202, 202, 97, 202, 202, 759, 7, 430, 536, 2952, 1468, 18, 1202, 9791, 9725, 1082, 202, 759, 866, 309, 333, 5518, 711, 2363, 279, 2154, 30, 1082, 202, 430, 261, 2211, 18, 4060, 422, 446, 13, 288, 9506, 202, 2211, 18, 5212, 4320, 273, 752, 7359, 4320, 5621, 9506, 202, 542, 2885, 12, 9767, 8229, 18, 588, 2885, 12, 333, 262, 11272, 1082, 202, 97, 469, 288, 9506, 202, 2211, 18, 5212, 4320, 273, 333, 18, 4060, 18, 529, 31, 1082, 202, 97, 202, 202, 759, 7, 409, 430, 202, 202, 759, 7, 430, 536, 1853, 18, 5414, 5080, 7956, 1082, 202, 2885, 3824, 2885, 273, 9767, 8229, 18, 588, 2885, 2932, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1208, 1435, 288, 202, 202, 430, 261, 2211, 18, 4060, 480, 446, 13, 288, 1082, 202, 542, 2885, 12, 333, 18, 4060, 11272, 202, 202, 97, 202, 202, 430, 261, 2211, 18, 3782, 480, 446, 13, 288, 1082, 202, 2211, 18, 3782, 18, 9252, 273, 333, 31, 1082, 202, 2211, 18, 3782, 18, 542, 15704, 10796, 12, 374, 16, 333, 18, 9252, 2686, 300, 333, 18, 2649, 2686, 11272, 202, 202, 97, 202, 202, 759, 13235, 777, 1365, 1516, 716, 2898, 10957, 358, 333, 5518, 30, 202, 202, 1180, 8526, 1516, 273, 7656, 3126, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1516, 18, 2469, 31, 277, 27245, 288, 1082, 202, 2 ]
if (result != 0)
if (result != 0) {
public static void main(String args[]) { try { if (Boolean.getBoolean("rhino.use_java_policy_security")) { initJavaPolicySecuritySupport(); } }catch (SecurityException ex) { ex.printStackTrace(System.err); } int result = exec(args); if (result != 0) System.exit(result); }
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/51883200681e42e9342202712a313e8f8967c446/Main.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 833, 63, 5717, 288, 3639, 775, 288, 5411, 309, 261, 5507, 18, 588, 5507, 2932, 30138, 15020, 18, 1202, 67, 6290, 67, 5086, 67, 7462, 6, 3719, 288, 7734, 1208, 5852, 2582, 4368, 6289, 5621, 5411, 289, 3639, 289, 14683, 261, 24918, 431, 13, 288, 5411, 431, 18, 1188, 6332, 12, 3163, 18, 370, 1769, 3639, 289, 3639, 509, 563, 273, 1196, 12, 1968, 1769, 3639, 309, 261, 2088, 480, 374, 13, 288, 5411, 2332, 18, 8593, 12, 2088, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 833, 63, 5717, 288, 3639, 775, 288, 5411, 309, 261, 5507, 18, 588, 5507, 2932, 30138, 15020, 18, 1202, 67, 6290, 67, 5086, 67, 7462, 6, 3719, 288, 7734, 1208, 5852, 2582, 4368, 6289, 5621, 5411, 289, 3639, 289, 14683, 261, 24918, 431, 13, 288, 5411, 431, 18, 1188, 6332, 12, 3163, 18, 370, 1769, 3639, 289, 3639, 509, 563, 273, 1196, 12, 1968, 1769, 3639, 309, 261, 2088, 480, 374, 13, 288, 5411, 2332, 18, 8593, 12, 2088, 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 ]
return getAttribute("xml:lang"); }
return getAttribute("xml:lang"); }
public String getXmlLang() { return getAttribute("xml:lang"); }
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/bf94d6634ab3635fdb8210105d9c1c839d13e555/WMLTdElementImpl.java/buggy/src/org/apache/wml/dom/WMLTdElementImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 28504, 7275, 1435, 288, 565, 327, 4061, 2932, 2902, 30, 4936, 8863, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 28504, 7275, 1435, 288, 565, 327, 4061, 2932, 2902, 30, 4936, 8863, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void constraint(List constraints) throws RecognitionException { Token fb=null; Token f=null; Token op=null; Token bvc=null; String lc = null; String rvc = null; PatternDescr d = null; try { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:678:17: ( opt_eol (fb= ID opt_eol ':' opt_eol )? f= ID opt_eol (op= ('=='|'>'|'>='|'<'|'<='|'!='|'contains'|'matches') opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) )? opt_eol ) // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:678:17: opt_eol (fb= ID opt_eol ':' opt_eol )? f= ID opt_eol (op= ('=='|'>'|'>='|'<'|'<='|'!='|'contains'|'matches') opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) )? opt_eol { following.push(FOLLOW_opt_eol_in_constraint1681); opt_eol(); following.pop(); // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:679:17: (fb= ID opt_eol ':' opt_eol )? int alt49=2; alt49 = dfa49.predict(input); switch (alt49) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:679:19: fb= ID opt_eol ':' opt_eol { fb=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_constraint1689); following.push(FOLLOW_opt_eol_in_constraint1691); opt_eol(); following.pop(); match(input,30,FOLLOW_30_in_constraint1693); following.push(FOLLOW_opt_eol_in_constraint1695); opt_eol(); following.pop(); } break; } f=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_constraint1705); if ( fb != null ) { //System.err.println( "fb: " + fb.getText() ); //System.err.println( " f: " + f.getText() ); d = new FieldBindingDescr( f.getText(), fb.getText() ); //System.err.println( "fbd: " + d ); d.setLocation( offset(f.getLine()), f.getCharPositionInLine() ); constraints.add( d ); } following.push(FOLLOW_opt_eol_in_constraint1715); opt_eol(); following.pop(); // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:692:33: (op= ('=='|'>'|'>='|'<'|'<='|'!='|'contains'|'matches') opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) )? int alt51=2; int LA51_0 = input.LA(1); if ( (LA51_0>=40 && LA51_0<=47) ) { alt51=1; } else if ( LA51_0==EOL||LA51_0==15||(LA51_0>=22 && LA51_0<=23) ) { alt51=2; } else { NoViableAltException nvae = new NoViableAltException("692:33: (op= (\'==\'|\'>\'|\'>=\'|\'<\'|\'<=\'|\'!=\'|\'contains\'|\'matches\') opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) )?", 51, 0, input); throw nvae; } switch (alt51) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:692:41: op= ('=='|'>'|'>='|'<'|'<='|'!='|'contains'|'matches') opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) { op=(Token)input.LT(1); if ( (input.LA(1)>=40 && input.LA(1)<=47) ) { input.consume(); errorRecovery=false; } else { MismatchedSetException mse = new MismatchedSetException(null,input); recoverFromMismatchedSet(input,mse,FOLLOW_set_in_constraint1723); throw mse; } following.push(FOLLOW_opt_eol_in_constraint1795); opt_eol(); following.pop(); // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:702:41: (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) int alt50=4; switch ( input.LA(1) ) { case ID: int LA50_1 = input.LA(2); if ( LA50_1==49 ) { alt50=2; } else if ( LA50_1==EOL||LA50_1==15||(LA50_1>=22 && LA50_1<=23) ) { alt50=1; } else { NoViableAltException nvae = new NoViableAltException("702:41: (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint )", 50, 1, input); throw nvae; } break; case INT: case BOOL: case STRING: case FLOAT: case 48: alt50=3; break; case 21: alt50=4; break; default: NoViableAltException nvae = new NoViableAltException("702:41: (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint )", 50, 0, input); throw nvae; } switch (alt50) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:702:49: bvc= ID { bvc=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_constraint1813); d = new BoundVariableDescr( f.getText(), op.getText(), bvc.getText() ); d.setLocation( offset(f.getLine()), f.getCharPositionInLine() ); constraints.add( d ); } break; case 2 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:709:49: lc= enum_constraint { following.push(FOLLOW_enum_constraint_in_constraint1838); lc=enum_constraint(); following.pop(); d = new LiteralDescr( f.getText(), op.getText(), lc, true ); d.setLocation( offset(f.getLine()), f.getCharPositionInLine() ); constraints.add( d ); } break; case 3 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:716:49: lc= literal_constraint { following.push(FOLLOW_literal_constraint_in_constraint1870); lc=literal_constraint(); following.pop(); d = new LiteralDescr( f.getText(), op.getText(), lc ); d.setLocation( offset(f.getLine()), f.getCharPositionInLine() ); constraints.add( d ); } break; case 4 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:722:49: rvc= retval_constraint { following.push(FOLLOW_retval_constraint_in_constraint1890); rvc=retval_constraint(); following.pop(); d = new ReturnValueDescr( f.getText(), op.getText(), rvc ); d.setLocation( offset(f.getLine()), f.getCharPositionInLine() ); constraints.add( d ); } break; } } break; } following.push(FOLLOW_opt_eol_in_constraint1923); opt_eol(); following.pop(); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; }
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, 918, 4954, 12, 682, 6237, 13, 1216, 9539, 288, 6647, 3155, 12754, 33, 2011, 31, 3639, 3155, 284, 33, 2011, 31, 3639, 3155, 1061, 33, 2011, 31, 3639, 3155, 324, 4227, 33, 2011, 31, 3639, 514, 9109, 273, 446, 31, 3639, 514, 436, 4227, 273, 446, 31, 1171, 202, 202, 3234, 16198, 302, 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, 26, 8285, 30, 4033, 30, 261, 2153, 67, 30951, 261, 19192, 33, 1599, 2153, 67, 30951, 3921, 2153, 67, 30951, 7851, 284, 33, 1599, 2153, 67, 30951, 261, 556, 33, 7707, 18920, 16637, 1870, 16637, 34, 2218, 16637, 32, 11, 16637, 32, 2218, 16637, 5, 2218, 16637, 12298, 11, 16637, 8436, 6134, 2153, 67, 30951, 261, 70, 4227, 33, 1599, 571, 9109, 33, 2792, 67, 13364, 571, 9109, 33, 7158, 67, 13364, 571, 436, 4227, 33, 5221, 67, 13364, 262, 7851, 2153, 67, 30951, 262, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 26, 8285, 30, 4033, 30, 2153, 67, 30951, 261, 19192, 33, 1599, 2153, 67, 30951, 3921, 2153, 67, 30951, 7851, 284, 33, 1599, 2153, 67, 30951, 261, 556, 33, 7707, 18920, 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, 4954, 12, 682, 6237, 13, 1216, 9539, 288, 6647, 3155, 12754, 33, 2011, 31, 3639, 3155, 284, 33, 2011, 31, 3639, 3155, 1061, 33, 2011, 31, 3639, 3155, 324, 4227, 33, 2011, 31, 3639, 514, 9109, 273, 446, 31, 3639, 514, 436, 4227, 273, 446, 31, 1171, 202, 202, 3234, 16198, 302, 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, 26, 8285, 30, 4033, 30, 261, 2153, 67, 30951, 261, 19192, 33, 1599, 2153, 67, 30951, 3921, 2153, 67, 30951, 7851, 284, 2 ]
ISelection selection = viewer.getSelection(); Object obj = ((IStructuredSelection)selection).getFirstElement(); if (obj instanceof ITask) { ((ITask)obj).openTaskInEditor(); }
MylarUiPlugin.getDefault().setFilterCompleteMode(isChecked());
public void run() { ISelection selection = viewer.getSelection(); Object obj = ((IStructuredSelection)selection).getFirstElement(); if (obj instanceof ITask) { ((ITask)obj).openTaskInEditor(); } viewer.refresh(); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/048e90ff952c70cf3f93175f8d65b55056736e57/TaskListView.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/views/TaskListView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 1086, 1435, 288, 7734, 467, 6233, 4421, 273, 14157, 18, 588, 6233, 5621, 7734, 1033, 1081, 273, 14015, 45, 30733, 6233, 13, 10705, 2934, 588, 3759, 1046, 5621, 7734, 309, 261, 2603, 1276, 467, 2174, 13, 288, 1171, 202, 12443, 1285, 835, 13, 2603, 2934, 3190, 2174, 382, 6946, 5621, 7734, 289, 7734, 14157, 18, 9144, 5621, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 1086, 1435, 288, 7734, 467, 6233, 4421, 273, 14157, 18, 588, 6233, 5621, 7734, 1033, 1081, 273, 14015, 45, 30733, 6233, 13, 10705, 2934, 588, 3759, 1046, 5621, 7734, 309, 261, 2603, 1276, 467, 2174, 13, 288, 1171, 202, 12443, 1285, 835, 13, 2603, 2934, 3190, 2174, 382, 6946, 5621, 7734, 289, 7734, 14157, 18, 9144, 5621, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void set(String val) throws InvalidConfigValueException { if(nodeDir.equals(new File(val))) return; throw new InvalidConfigValueException("Moving node directory on the fly not supported at present");
public void set(int val) throws InvalidConfigValueException { swapInterval.set(val);
public void set(String val) throws InvalidConfigValueException { if(nodeDir.equals(new File(val))) return; // FIXME throw new InvalidConfigValueException("Moving node directory on the fly not supported at present"); }
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/0e73e63698410905555b43e69172b80870e39ae5/Node.java/buggy/src/freenet/node/Node.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 918, 444, 12, 780, 1244, 13, 1216, 1962, 809, 9738, 288, 25083, 202, 430, 12, 2159, 1621, 18, 14963, 12, 2704, 1387, 12, 1125, 20349, 327, 31, 25083, 202, 759, 9852, 25083, 202, 12849, 394, 1962, 809, 9738, 2932, 49, 13767, 756, 1867, 603, 326, 21434, 486, 3260, 622, 3430, 8863, 6862, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 918, 444, 12, 780, 1244, 13, 1216, 1962, 809, 9738, 288, 25083, 202, 430, 12, 2159, 1621, 18, 14963, 12, 2704, 1387, 12, 1125, 20349, 327, 31, 25083, 202, 759, 9852, 25083, 202, 12849, 394, 1962, 809, 9738, 2932, 49, 13767, 756, 1867, 603, 326, 21434, 486, 3260, 622, 3430, 8863, 6862, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
void createNativeProcessors (int needed) { int needToCreate = needed - VM_Scheduler.nativeProcessorQueue.length(); if (needToCreate <= 0) return; // reset startup locks count VM.sysInitializeStartupLocks(needToCreate); while (needToCreate > 0) { VM_Processor processor = VM_Processor.createNativeProcessor(); if (trace) VM_Scheduler.trace("NDT","created Native VP with ID =",processor.id); needToCreate--; } // wait for created processors to show up on the native processor queue // (and get to IN_SIGWAIT state) while ( VM_Scheduler.nativeProcessorQueue.length() < needed ) VM.sysVirtualProcessorYield(); return; } // createNativeProcessors
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/d16f62daccb2f310d9be3df28e7179f231e03be4/VM_NativeDaemonThread.java/buggy/rvm/src/vm/scheduler/VM_NativeDaemonThread.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 918, 282, 752, 9220, 18155, 282, 261, 474, 282, 3577, 13, 282, 288, 5411, 509, 282, 1608, 774, 1684, 282, 273, 282, 3577, 282, 300, 282, 8251, 67, 11870, 18, 13635, 5164, 3183, 18, 2469, 5621, 5411, 309, 282, 261, 14891, 774, 1684, 282, 1648, 282, 374, 13, 282, 327, 31, 202, 202, 759, 282, 2715, 282, 11850, 282, 13046, 282, 1056, 5411, 8251, 18, 9499, 7520, 22178, 19159, 12, 14891, 774, 1684, 1769, 5411, 1323, 282, 261, 14891, 774, 1684, 282, 405, 282, 374, 13, 282, 288, 5375, 8251, 67, 5164, 282, 6659, 282, 273, 282, 8251, 67, 5164, 18, 2640, 9220, 5164, 5621, 5375, 309, 282, 261, 5129, 13, 282, 8251, 67, 11870, 18, 5129, 2932, 2908, 56, 15937, 4824, 282, 16717, 282, 776, 52, 282, 598, 282, 1599, 282, 273, 3113, 8700, 18, 350, 1769, 5375, 1608, 774, 1684, 413, 31, 5411, 289, 5411, 368, 282, 2529, 282, 364, 282, 2522, 282, 13399, 282, 358, 282, 2405, 282, 731, 282, 603, 282, 326, 282, 6448, 282, 6659, 282, 2389, 5411, 368, 282, 261, 464, 282, 336, 282, 358, 282, 2120, 67, 18513, 19046, 282, 919, 13, 5411, 1323, 282, 261, 282, 8251, 67, 11870, 18, 13635, 5164, 3183, 18, 2469, 1435, 282, 411, 282, 3577, 282, 262, 5375, 8251, 18, 9499, 6466, 5164, 16348, 5621, 5411, 327, 31, 1377, 289, 1377, 368, 282, 752, 9220, 18155, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 918, 282, 752, 9220, 18155, 282, 261, 474, 282, 3577, 13, 282, 288, 5411, 509, 282, 1608, 774, 1684, 282, 273, 282, 3577, 282, 300, 282, 8251, 67, 11870, 18, 13635, 5164, 3183, 18, 2469, 5621, 5411, 309, 282, 261, 14891, 774, 1684, 282, 1648, 282, 374, 13, 282, 327, 31, 202, 202, 759, 282, 2715, 282, 11850, 282, 13046, 282, 1056, 5411, 8251, 18, 9499, 7520, 22178, 19159, 12, 14891, 774, 1684, 1769, 5411, 1323, 282, 261, 14891, 774, 1684, 282, 405, 282, 374, 13, 282, 288, 5375, 8251, 67, 5164, 282, 6659, 282, 273, 282, 8251, 67, 5164, 18, 2640, 9220, 5164, 5621, 5375, 309, 282, 261, 5129, 13, 282, 8251, 67, 11870, 18, 5129, 2932, 2 ]
options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_CONTROL_STATEMENTS, JavaCore.DO_NOT_INSERT);
options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_CATCH_IN_TRY_STATEMENT, JavaCore.DO_NOT_INSERT); options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_ELSE_IN_IF_STATEMENT, JavaCore.DO_NOT_INSERT); options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_FINALLY_IN_TRY_STATEMENT, JavaCore.DO_NOT_INSERT); options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_WHILE_IN_DO_STATEMENT, JavaCore.DO_NOT_INSERT);
public void test289() { Hashtable options = new Hashtable(); options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_CONTROL_STATEMENTS, JavaCore.DO_NOT_INSERT); options.put(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION, DefaultCodeFormatterConstants.END_OF_LINE); options.put(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION, DefaultCodeFormatterConstants.END_OF_LINE); options.put(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION, DefaultCodeFormatterConstants.END_OF_LINE); options.put(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION, DefaultCodeFormatterConstants.END_OF_LINE); options.put(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_BLOCK, DefaultCodeFormatterConstants.END_OF_LINE); options.put(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_SWITCH, DefaultCodeFormatterConstants.END_OF_LINE); options.put(DefaultCodeFormatterConstants.FORMATTER_TAB_CHAR, JavaCore.TAB); DefaultCodeFormatterOptions preferences = new DefaultCodeFormatterOptions(options); DefaultCodeFormatter codeFormatter = new DefaultCodeFormatter(preferences); runTest(codeFormatter, "test289", "A.java", CodeFormatter.K_STATEMENTS, 1);//$NON-NLS-1$ //$NON-NLS-2$ }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/efbaf5f01b1dd1c4f8135936aa48ce411ca71c6c/FormatterRegressionTests.java/buggy/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/formatter/FormatterRegressionTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 6030, 29, 1435, 288, 202, 202, 5582, 14544, 702, 273, 394, 18559, 5621, 202, 202, 2116, 18, 458, 12, 1868, 1085, 5074, 2918, 18, 7254, 2560, 67, 11356, 67, 12917, 67, 5997, 67, 706, 67, 18248, 67, 28411, 55, 16, 5110, 4670, 18, 3191, 67, 4400, 67, 11356, 1769, 202, 202, 2116, 18, 458, 12, 1868, 1085, 5074, 2918, 18, 7254, 2560, 67, 26980, 67, 15258, 67, 7473, 67, 1258, 673, 61, 5980, 3378, 67, 2399, 67, 23956, 985, 2689, 16, 2989, 1085, 5074, 2918, 18, 4415, 67, 3932, 67, 5997, 1769, 202, 202, 2116, 18, 458, 12, 1868, 1085, 5074, 2918, 18, 7254, 2560, 67, 26980, 67, 15258, 67, 7473, 67, 2399, 67, 23956, 985, 2689, 16, 2989, 1085, 5074, 2918, 18, 4415, 67, 3932, 67, 5997, 1769, 202, 202, 2116, 18, 458, 12, 1868, 1085, 5074, 2918, 18, 7254, 2560, 67, 26980, 67, 15258, 67, 7473, 67, 5327, 67, 23956, 985, 2689, 16, 2989, 1085, 5074, 2918, 18, 4415, 67, 3932, 67, 5997, 1769, 202, 202, 2116, 18, 458, 12, 1868, 1085, 5074, 2918, 18, 7254, 2560, 67, 26980, 67, 15258, 67, 7473, 67, 26935, 916, 67, 23956, 985, 2689, 16, 2989, 1085, 5074, 2918, 18, 4415, 67, 3932, 67, 5997, 1769, 202, 202, 2116, 18, 458, 12, 1868, 1085, 5074, 2918, 18, 7254, 2560, 67, 26980, 67, 15258, 67, 7473, 67, 11403, 16, 2989, 1085, 5074, 2918, 18, 4415, 67, 3932, 67, 5997, 1769, 202, 202, 2116, 18, 458, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 6030, 29, 1435, 288, 202, 202, 5582, 14544, 702, 273, 394, 18559, 5621, 202, 202, 2116, 18, 458, 12, 1868, 1085, 5074, 2918, 18, 7254, 2560, 67, 11356, 67, 12917, 67, 5997, 67, 706, 67, 18248, 67, 28411, 55, 16, 5110, 4670, 18, 3191, 67, 4400, 67, 11356, 1769, 202, 202, 2116, 18, 458, 12, 1868, 1085, 5074, 2918, 18, 7254, 2560, 67, 26980, 67, 15258, 67, 7473, 67, 1258, 673, 61, 5980, 3378, 67, 2399, 67, 23956, 985, 2689, 16, 2989, 1085, 5074, 2918, 18, 4415, 67, 3932, 67, 5997, 1769, 202, 202, 2116, 18, 458, 12, 1868, 1085, 5074, 2918, 18, 7254, 2560, 67, 26980, 67, 15258, 67, 7473, 67, 2399, 67, 2 ]
protected void activateIdMap() { int max = getMaximumId(); if (max != 0) { idMapData = new Object[max * ID_MULT + VALUE_SHIFT + 1]; }
protected void activateIdMap(Context cx, boolean sealed) { maxId = getMaximumId(); useDynamicScope = cx.hasCompileFunctionsWithDynamicScope(); sealFunctions = sealed;
protected void activateIdMap() { int max = getMaximumId(); if (max != 0) { idMapData = new Object[max * ID_MULT + VALUE_SHIFT + 1]; } }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/d5c6a2fda4600410fcf91dde4a3709ea9429783f/IdScriptable.java/clean/src/org/mozilla/javascript/IdScriptable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 10235, 548, 863, 1435, 288, 3639, 509, 943, 273, 25194, 548, 5621, 3639, 309, 261, 1896, 480, 374, 13, 288, 5411, 612, 863, 751, 273, 394, 1033, 63, 1896, 380, 1599, 67, 12845, 397, 5848, 67, 23191, 397, 404, 15533, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 918, 10235, 548, 863, 1435, 288, 3639, 509, 943, 273, 25194, 548, 5621, 3639, 309, 261, 1896, 480, 374, 13, 288, 5411, 612, 863, 751, 273, 394, 1033, 63, 1896, 380, 1599, 67, 12845, 397, 5848, 67, 23191, 397, 404, 15533, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return (LocationPath)fLocationPath.clone();
return (LocationPath)fLocationPaths[0].clone();
public LocationPath getLocationPath() { return (LocationPath)fLocationPath.clone(); } // getLocationPath(LocationPath)
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/1f538f2abc028fd2c3c1b85fdd68ed769609a967/XPath.java/buggy/src/org/apache/xerces/validators/schema/identity/XPath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 7050, 743, 13312, 743, 1435, 288, 3639, 327, 261, 2735, 743, 13, 74, 2735, 4466, 63, 20, 8009, 14056, 5621, 565, 289, 368, 13312, 743, 12, 2735, 743, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 7050, 743, 13312, 743, 1435, 288, 3639, 327, 261, 2735, 743, 13, 74, 2735, 4466, 63, 20, 8009, 14056, 5621, 565, 289, 368, 13312, 743, 12, 2735, 743, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return (! saveOnly) && (outputFile != null) && (outputFile.length() > 0);
boolean hasOutput = false; if ((! saveOnly) && (outputFile != null)) { long len = outputFile.length(); log.debug ("outputFile=" + outputFile.getPath() + ", size=" + len); hasOutput = (len > 0); } log.debug ("hasGeneratedOutput? " + hasOutput); return hasOutput;
public boolean hasGeneratedOutput() { return (! saveOnly) && (outputFile != null) && (outputFile.length() > 0); }
71 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/71/55492fa6c862b8c76024a0a0ed2ad14b94d92c3d/FileOutputHandler.java/clean/src/org/clapper/curn/output/FileOutputHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 711, 7823, 1447, 1435, 565, 288, 3639, 327, 16051, 1923, 3386, 13, 597, 9079, 261, 2844, 812, 480, 446, 13, 597, 9079, 261, 2844, 812, 18, 2469, 1435, 405, 374, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 711, 7823, 1447, 1435, 565, 288, 3639, 327, 16051, 1923, 3386, 13, 597, 9079, 261, 2844, 812, 480, 446, 13, 597, 9079, 261, 2844, 812, 18, 2469, 1435, 405, 374, 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 ]
assertEquals(new String(((Message)sent.getArg()).getBuffer()),"hello");
assertEquals("hello", new String(((Message)sent.getArg()).getBuffer()));
public void testViewChangeBecomeKeyserver() throws Exception{ // set up the peer ENCRYPT encrypt = new ENCRYPT(); try { encrypt.init(); } catch (Exception e){ fail(e.getMessage()); } // set in the observer MockAddress tempAddress = new MockAddress("encrypt"); encrypt.setLocal_addr(tempAddress); MockObserver observer = new MockObserver(); encrypt.setObserver(observer); // produce encrypted message Cipher cipher = encrypt.getSymEncodingCipher(); MessageDigest digest = MessageDigest.getInstance("MD5"); digest.reset(); digest.update(encrypt.getDesKey().getEncoded()); String symVersion = new String(digest.digest(), "UTF-8"); encrypt.keyServer = false; Message msg = new Message(); msg.setBuffer(cipher.doFinal("hello".getBytes())); msg.putHeader(EncryptHeader.KEY, new EncryptHeader( EncryptHeader.ENCRYPT, symVersion)); Event evt = new Event(Event.MSG,msg); //pass in event to encrypt layer encrypt.up(evt); // assert that message is queued as we have no key assertTrue(observer.getUpMessages().isEmpty()); // send a view change to trigger the become key server // we use the fact that our address is now the controller one Vector tempVector = new Vector(); tempVector.add(tempAddress); View tempView = new View(new ViewId(tempAddress,1),tempVector); Event event = new Event(Event.VIEW_CHANGE,tempView); // this should have changed us to the key server encrypt.up(event); // send another encrypted message Message msg2 = new Message(); msg2.setBuffer(cipher.doFinal("hello2".getBytes())); msg2.putHeader(EncryptHeader.KEY, new EncryptHeader( EncryptHeader.ENCRYPT, symVersion)); // we should have three messages now in our observer // that are decrypted Event evt2 = new Event(Event.MSG,msg2); encrypt.up(evt2); assertEquals(3,observer.getUpMessages().size()); Event sent = (Event)observer.getUpMessages().get("message1"); assertEquals(new String(((Message)sent.getArg()).getBuffer()),"hello"); sent = (Event)observer.getUpMessages().get("message2"); assertEquals(new String(((Message)sent.getArg()).getBuffer()),"hello2"); }
48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/28be62b4097e0b01b17ca403d23ca6a4aac01eca/ENCRYPTAsymmetricTest.java/buggy/tests/junit/org/jgroups/protocols/ENCRYPTAsymmetricTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1767, 3043, 38, 557, 1742, 653, 3567, 1435, 1216, 1185, 95, 202, 202, 759, 444, 731, 326, 4261, 202, 202, 1157, 14306, 7347, 273, 394, 6693, 14306, 5621, 202, 202, 698, 288, 1082, 202, 15890, 18, 2738, 5621, 202, 202, 97, 1044, 261, 503, 425, 15329, 1082, 202, 6870, 12, 73, 18, 24906, 10663, 202, 202, 97, 9506, 202, 759, 444, 316, 326, 9655, 202, 202, 9865, 1887, 1906, 1887, 273, 394, 7867, 1887, 2932, 15890, 8863, 202, 202, 15890, 18, 542, 2042, 67, 4793, 12, 5814, 1887, 1769, 202, 202, 9865, 11048, 9655, 273, 394, 7867, 11048, 5621, 202, 202, 15890, 18, 542, 11048, 12, 30971, 1769, 9506, 202, 759, 11402, 6901, 883, 202, 202, 13896, 5867, 273, 7347, 18, 588, 11901, 4705, 13896, 5621, 9506, 202, 1079, 9568, 5403, 273, 22485, 18, 588, 1442, 2932, 6188, 25, 8863, 202, 202, 10171, 18, 6208, 5621, 202, 202, 10171, 18, 2725, 12, 15890, 18, 588, 6305, 653, 7675, 588, 10397, 10663, 202, 1377, 202, 202, 780, 5382, 1444, 273, 394, 514, 12, 10171, 18, 10171, 9334, 315, 5159, 17, 28, 8863, 9506, 202, 15890, 18, 856, 2081, 273, 629, 31, 202, 202, 1079, 1234, 273, 394, 2350, 5621, 202, 202, 3576, 18, 542, 1892, 12, 17094, 18, 2896, 7951, 2932, 23711, 9654, 588, 2160, 1435, 10019, 202, 202, 3576, 18, 458, 1864, 12, 13129, 1864, 18, 3297, 16, 394, 19612, 1864, 12, 9506, 202, 13129, 1864, 18, 1157, 14306, 16, 5382, 1444, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1767, 3043, 38, 557, 1742, 653, 3567, 1435, 1216, 1185, 95, 202, 202, 759, 444, 731, 326, 4261, 202, 202, 1157, 14306, 7347, 273, 394, 6693, 14306, 5621, 202, 202, 698, 288, 1082, 202, 15890, 18, 2738, 5621, 202, 202, 97, 1044, 261, 503, 425, 15329, 1082, 202, 6870, 12, 73, 18, 24906, 10663, 202, 202, 97, 9506, 202, 759, 444, 316, 326, 9655, 202, 202, 9865, 1887, 1906, 1887, 273, 394, 7867, 1887, 2932, 15890, 8863, 202, 202, 15890, 18, 542, 2042, 67, 4793, 12, 5814, 1887, 1769, 202, 202, 9865, 11048, 9655, 273, 394, 7867, 11048, 5621, 202, 202, 15890, 18, 542, 11048, 12, 30971, 1769, 9506, 202, 759, 11402, 6901, 883, 2 ]
suffix = s.substring(x);
if(x < (s.length()-1)) suffix = s.substring(x); else suffix = "";
public DecodedStringThingy(String s) { if(s.startsWith("url(")) { s = s.substring("url(".length()); url = true; } char q = s.charAt(0); if(q == '\'' || q == '\"') { quote = q; s = s.substring(1); } else quote = ' '; StringBuffer buffer = new StringBuffer(); int x = 0; boolean justEscaping = false; boolean stillEscaping = false; StringBuffer hexEscape = new StringBuffer(); while(x < s.length()) { char c = s.charAt(x); x++; if(justEscaping) { if(c == '\n') { buffer.append(c); justEscaping = false; } else if(isHexDigit(c)) { hexEscape.append(c); justEscaping = false; stillEscaping = true; } else { buffer.append(c); // Will need to be reencoded if quote or \n justEscaping = false; } } else if(stillEscaping) { if(isHexDigit(c) && hexEscape.length() < 6) { hexEscape.append(c); } else if(Character.isWhitespace(c)) { // Ignore one whitespace char after an escape int d = Integer.parseInt(hexEscape.toString(), 16); if(d > 0xFFFF) { String error = "UCS-4 CHARACTERS OVER 0xFFFF NOT SUPPORTED!"; logError(error); try { w.write("/* "+error+"*/"); } catch (IOException e) {}; } else { c = (char)d; buffer.append(c); } stillEscaping = false; hexEscape = new StringBuffer(); } else { int d = Integer.parseInt(hexEscape.toString(), 16); if(d > 0xFFFF) { String error = "UCS-4 CHARACTERS OVER 0xFFFF NOT SUPPORTED!"; logError(error); try { w.write("/* "+error+"*/"); } catch (IOException e) {}; } else { char o = (char)d; buffer.append(o); } buffer.append(c); stillEscaping = false; hexEscape = new StringBuffer(); } } else { if(quote != ' ' && c == quote) { break; } else if (c == '\\') { justEscaping = true; } else { buffer.append(c); } } } x++; data = buffer.toString(); if(url && s.length() > x+1 && s.charAt(x) == ')') x++; suffix = s.substring(x); }
50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/28e3bcfbcfb76cbbc160d6e3a8af9fadf0e03e18/CSSTokenizerFilter.java/buggy/src/freenet/clients/http/filter/CSSTokenizerFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 6209, 72, 780, 10193, 93, 12, 780, 272, 13, 288, 1082, 202, 430, 12, 87, 18, 17514, 1190, 2932, 718, 2932, 3719, 288, 9506, 202, 87, 273, 272, 18, 28023, 2932, 718, 2932, 18, 2469, 10663, 9506, 202, 718, 273, 638, 31, 1082, 202, 97, 1082, 202, 3001, 1043, 273, 272, 18, 3001, 861, 12, 20, 1769, 1082, 202, 430, 12, 85, 422, 15053, 747, 1043, 422, 2337, 5187, 13, 288, 9506, 202, 6889, 273, 1043, 31, 9506, 202, 87, 273, 272, 18, 28023, 12, 21, 1769, 1082, 202, 97, 469, 3862, 273, 296, 12386, 1082, 202, 780, 1892, 1613, 273, 394, 6674, 5621, 1082, 202, 474, 619, 273, 374, 31, 1082, 202, 6494, 2537, 6412, 24447, 273, 629, 31, 1082, 202, 6494, 4859, 6412, 24447, 273, 629, 31, 1082, 202, 780, 1892, 3827, 8448, 273, 394, 6674, 5621, 1082, 202, 17523, 12, 92, 411, 272, 18, 2469, 10756, 288, 9506, 202, 3001, 276, 273, 272, 18, 3001, 861, 12, 92, 1769, 9506, 202, 92, 9904, 31, 9506, 202, 430, 12, 3732, 6412, 24447, 13, 288, 6862, 202, 430, 12, 71, 422, 2337, 82, 6134, 288, 25083, 202, 4106, 18, 6923, 12, 71, 1769, 25083, 202, 3732, 6412, 24447, 273, 629, 31, 6862, 202, 97, 469, 309, 12, 291, 7037, 10907, 12, 71, 3719, 288, 25083, 202, 7118, 8448, 18, 6923, 12, 71, 1769, 25083, 202, 3732, 6412, 24447, 273, 629, 31, 25083, 202, 334, 737, 6412, 24447, 273, 638, 31, 6862, 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, 3196, 202, 482, 6209, 72, 780, 10193, 93, 12, 780, 272, 13, 288, 1082, 202, 430, 12, 87, 18, 17514, 1190, 2932, 718, 2932, 3719, 288, 9506, 202, 87, 273, 272, 18, 28023, 2932, 718, 2932, 18, 2469, 10663, 9506, 202, 718, 273, 638, 31, 1082, 202, 97, 1082, 202, 3001, 1043, 273, 272, 18, 3001, 861, 12, 20, 1769, 1082, 202, 430, 12, 85, 422, 15053, 747, 1043, 422, 2337, 5187, 13, 288, 9506, 202, 6889, 273, 1043, 31, 9506, 202, 87, 273, 272, 18, 28023, 12, 21, 1769, 1082, 202, 97, 469, 3862, 273, 296, 12386, 1082, 202, 780, 1892, 1613, 273, 394, 6674, 5621, 1082, 202, 474, 619, 273, 374, 31, 1082, 202, 6494, 2537, 6412, 2 ]
return (RolapMember[]) v.toArray(emptyMemberArray);
RolapMember[] members = new RolapMember[v.size()]; v.copyInto(members); return members;
static final RolapMember[] toArray(List v) { return (RolapMember[]) v.toArray(emptyMemberArray); }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/00b025d7d12a0274bdded1e076a64c2ad4ab20af/RolapUtil.java/buggy/src/main/mondrian/rolap/RolapUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 727, 11714, 438, 4419, 8526, 4434, 12, 682, 331, 13, 202, 95, 202, 202, 2463, 261, 4984, 438, 4419, 63, 5717, 331, 18, 31447, 12, 5531, 4419, 1076, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 727, 11714, 438, 4419, 8526, 4434, 12, 682, 331, 13, 202, 95, 202, 202, 2463, 261, 4984, 438, 4419, 63, 5717, 331, 18, 31447, 12, 5531, 4419, 1076, 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 ]
uri = project.findMember(raw).getLocationURI();
fullPath = "/"+project.getName()+"/"+raw; IResource member = project.findMember(raw); uri = member == null ? null : member.getLocationURI();
public IIndexFileLocation fromInternalFormat(String raw) { String fullPath = null; URI uri; if(raw.startsWith(EXTERNAL)) { try { uri = new URI(raw.substring(EXTERNAL.length())); } catch(URISyntaxException use) { uri = null; } } else { uri = project.findMember(raw).getLocationURI(); } return new IndexFileLocation(uri, fullPath); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/94a253b32742985dc2668c1083f5c88fe0020d04/PDOMProjectIndexLocationConverter.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMProjectIndexLocationConverter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 1016, 812, 2735, 628, 3061, 1630, 12, 780, 1831, 13, 288, 202, 202, 780, 11225, 273, 446, 31, 202, 202, 3098, 2003, 31, 202, 202, 430, 12, 1899, 18, 17514, 1190, 12, 2294, 11702, 3719, 288, 1082, 202, 698, 288, 9506, 202, 1650, 273, 394, 3699, 12, 1899, 18, 28023, 12, 2294, 11702, 18, 2469, 1435, 10019, 1082, 202, 97, 1044, 12, 3098, 14714, 999, 13, 288, 9506, 202, 1650, 273, 446, 31, 1082, 202, 97, 202, 202, 97, 469, 288, 1082, 202, 1650, 273, 1984, 18, 4720, 4419, 12, 1899, 2934, 588, 2735, 3098, 5621, 202, 202, 97, 9506, 202, 2463, 394, 3340, 812, 2735, 12, 1650, 16, 11225, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 1016, 812, 2735, 628, 3061, 1630, 12, 780, 1831, 13, 288, 202, 202, 780, 11225, 273, 446, 31, 202, 202, 3098, 2003, 31, 202, 202, 430, 12, 1899, 18, 17514, 1190, 12, 2294, 11702, 3719, 288, 1082, 202, 698, 288, 9506, 202, 1650, 273, 394, 3699, 12, 1899, 18, 28023, 12, 2294, 11702, 18, 2469, 1435, 10019, 1082, 202, 97, 1044, 12, 3098, 14714, 999, 13, 288, 9506, 202, 1650, 273, 446, 31, 1082, 202, 97, 202, 202, 97, 469, 288, 1082, 202, 1650, 273, 1984, 18, 4720, 4419, 12, 1899, 2934, 588, 2735, 3098, 5621, 202, 202, 97, 9506, 202, 2463, 394, 3340, 812, 2735, 12, 1650, 16, 11225, 1769, 202, 97, 2, -100, -100 ]
+ keySequenceText + "'. This binding came from preferences.");
+ keySequenceText + "': preferences, '" + commandId + "'.");
private static final void readBindingsFromPreferences( final IMemento preferences, final BindingManager bindingManager) { if (preferences != null) { final IMemento[] preferenceMementos = preferences .getChildren(ELEMENT_ACTIVE_KEY_CONFIGURATION); int preferenceMementoCount = preferenceMementos.length; for (int i = preferenceMementoCount - 1; i >= 0; i--) { final IMemento memento = preferenceMementos[i]; // Read out the scheme id. String schemeId = memento .getString(ATTRIBUTE_KEY_CONFIGURATION_ID); if ((schemeId == null) || (schemeId.length() == 0)) { schemeId = memento.getString(ATTRIBUTE_CONFIGURATION); if ((schemeId == null) || (schemeId.length() == 0)) { // The scheme id should never be null. This is invalid. WorkbenchPlugin .log("Key bindings need a scheme or key configuration. This binding came from preferences."); //$NON-NLS-1$ } } // Read out the context id. String contextId = memento.getString(ATTRIBUTE_CONTEXT_ID); if ((contextId == null) || (contextId.length() == 0)) { contextId = memento.getString(ATTRIBUTE_SCOPE); if (LEGACY_DEFAULT_SCOPE.equals(contextId)) { contextId = null; } } if ((contextId == null) || (contextId.length() == 0)) { contextId = IContextIds.CONTEXT_ID_WINDOW; } // Read out the key sequence. String keySequenceText = memento .getString(ATTRIBUTE_KEY_SEQUENCE); KeySequence keySequence = null; if ((keySequenceText == null) || (keySequenceText.length() == 0)) { keySequenceText = memento.getString(ATTRIBUTE_STRING); if ((keySequenceText == null) || (keySequenceText.length() == 0)) { /* * The key sequence should never be null. This is * pointless */ WorkbenchPlugin .log("Key bindings need a key sequence or string. This binding came from preferences."); //$NON-NLS-1$ continue; } // The key sequence is in the old-style format. keySequence = convert2_1Sequence(parse2_1Sequence(keySequenceText)); } else { // The key sequence is in the new-style format. try { keySequence = KeySequence.getInstance(keySequenceText); } catch (final ParseException e) { WorkbenchPlugin.log("Could not parse: '" //$NON-NLS-1$ + keySequenceText + "'. This binding came from preferences."); //$NON-NLS-1$ continue; } if (keySequence.isEmpty() || !keySequence.isComplete()) { WorkbenchPlugin .log("Key bindings cannot use an empty or incomplete key sequence: '" //$NON-NLS-1$ + keySequence + "'. This binding came from preferences."); //$NON-NLS-1$ continue; } } // Read out the command id. String commandId = memento.getString(ATTRIBUTE_COMMAND_ID); if ((commandId == null) || (commandId.length() == 0)) { commandId = memento.getString(ATTRIBUTE_COMMAND); } if ((commandId != null) && (commandId.length() == 0)) { commandId = null; } // Read out the locale and platform. String locale = memento.getString(ATTRIBUTE_LOCALE); if ((locale != null) && (locale.length() == 0)) { locale = null; } String platform = memento.getString(ATTRIBUTE_PLATFORM); if ((platform != null) && (platform.length() == 0)) { platform = null; } final Binding binding = new KeyBinding(keySequence, commandId, schemeId, contextId, locale, platform, null, Binding.USER); bindingManager.addBinding(binding); } } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/c350fa733fe68f3ff1119e1d15c08a077786b013/BindingPersistence.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/keys/BindingPersistence.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 727, 918, 855, 10497, 1265, 12377, 12, 1082, 202, 6385, 6246, 820, 83, 12750, 16, 727, 15689, 1318, 5085, 1318, 13, 288, 202, 202, 430, 261, 23219, 480, 446, 13, 288, 1082, 202, 6385, 6246, 820, 83, 8526, 11555, 49, 820, 538, 273, 12750, 6862, 202, 18, 588, 4212, 12, 10976, 67, 13301, 67, 3297, 67, 21200, 1769, 1082, 202, 474, 11555, 49, 820, 83, 1380, 273, 11555, 49, 820, 538, 18, 2469, 31, 1082, 202, 1884, 261, 474, 277, 273, 11555, 49, 820, 83, 1380, 300, 404, 31, 277, 1545, 374, 31, 277, 413, 13, 288, 9506, 202, 6385, 6246, 820, 83, 312, 820, 83, 273, 11555, 49, 820, 538, 63, 77, 15533, 9506, 202, 759, 2720, 596, 326, 4355, 612, 18, 9506, 202, 780, 4355, 548, 273, 312, 820, 83, 25083, 202, 18, 588, 780, 12, 11616, 67, 3297, 67, 21200, 67, 734, 1769, 9506, 202, 430, 14015, 9068, 548, 422, 446, 13, 747, 261, 9068, 548, 18, 2469, 1435, 422, 374, 3719, 288, 6862, 202, 9068, 548, 273, 312, 820, 83, 18, 588, 780, 12, 11616, 67, 21200, 1769, 6862, 202, 430, 14015, 9068, 548, 422, 446, 13, 747, 261, 9068, 548, 18, 2469, 1435, 422, 374, 3719, 288, 25083, 202, 759, 1021, 4355, 612, 1410, 5903, 506, 446, 18, 1220, 353, 2057, 18, 25083, 202, 2421, 22144, 3773, 6862, 9506, 202, 18, 1330, 2932, 653, 7394, 1608, 279, 4355, 578, 498, 1664, 18, 225, 1220, 5085, 22497, 628, 12750, 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, 727, 918, 855, 10497, 1265, 12377, 12, 1082, 202, 6385, 6246, 820, 83, 12750, 16, 727, 15689, 1318, 5085, 1318, 13, 288, 202, 202, 430, 261, 23219, 480, 446, 13, 288, 1082, 202, 6385, 6246, 820, 83, 8526, 11555, 49, 820, 538, 273, 12750, 6862, 202, 18, 588, 4212, 12, 10976, 67, 13301, 67, 3297, 67, 21200, 1769, 1082, 202, 474, 11555, 49, 820, 83, 1380, 273, 11555, 49, 820, 538, 18, 2469, 31, 1082, 202, 1884, 261, 474, 277, 273, 11555, 49, 820, 83, 1380, 300, 404, 31, 277, 1545, 374, 31, 277, 413, 13, 288, 9506, 202, 6385, 6246, 820, 83, 312, 820, 83, 273, 11555, 49, 820, 538, 63, 77, 15533, 9506, 2 ]
/* (non-Javadoc) * @see org.concord.framework.data.stream.DataConsumer#removeDataProducer(org.concord.framework.data.stream.DataProducer) */ public void removeDataProducer(DataProducer source) { } }; sdManager.prepareDataProducer(request, consumer);
});
public static void main(String[] args) { UserMessageHandler messenger = new MyUserMessageHandler(); SensorDataManager sdManager = new InterfaceManager(messenger); // This should be loaded from the OTrunk. Each computer // might have a different set of devices configured. DeviceConfig [] dConfigs = new DeviceConfig[1]; dConfigs[0] = new DeviceConfigImpl(JavaDeviceFactory.VERNIER_GO_LINK, null); ((InterfaceManager)sdManager).setDeviceConfigs(dConfigs); ExperimentRequest request = new ExperimentRequest(){ /* (non-Javadoc) * @see org.concord.sensor.ExperimentRequest#getPeriod() */ public float getPeriod() { return 0; } /* (non-Javadoc) * @see org.concord.sensor.ExperimentRequest#getNumberOfSamples() */ public int getNumberOfSamples() { return -1; } /* (non-Javadoc) * @see org.concord.sensor.ExperimentRequest#getSensorRequests() */ public SensorRequest[] getSensorRequests() { // TODO Auto-generated method stub SensorRequest [] sensors = new SensorRequest[1]; sensors[0] = new SensorRequest(){ /* (non-Javadoc) * @see org.concord.sensor.SensorRequest#getDisplayPrecision() */ public int getDisplayPrecision() { // TODO Auto-generated method stub return -2; } /* (non-Javadoc) * @see org.concord.sensor.SensorRequest#getRequiredMax() */ public float getRequiredMax() { return Float.NaN; } /* (non-Javadoc) * @see org.concord.sensor.SensorRequest#getRequiredMin() */ public float getRequiredMin() { return Float.NaN; } /* (non-Javadoc) * @see org.concord.sensor.SensorRequest#getPort() */ public int getPort() { // TODO Auto-generated method stub return 0; } /* (non-Javadoc) * @see org.concord.sensor.SensorRequest#getSensorParam(java.lang.String) */ public String getSensorParam(String key) { // TODO Auto-generated method stub return null; } /* (non-Javadoc) * @see org.concord.sensor.SensorRequest#getStepSize() */ public float getStepSize() { // TODO Auto-generated method stub return 0.1f; } /* (non-Javadoc) * @see org.concord.sensor.SensorRequest#getType() */ public int getType() { // TODO Auto-generated method stub return 0; } /* (non-Javadoc) * @see org.concord.sensor.SensorRequest#getUnit() */ public DataDimension getUnit() { // TODO Auto-generated method stub return null; } }; return null; } }; DataConsumer consumer = new DataConsumer(){ /* (non-Javadoc) * @see org.concord.framework.data.stream.DataConsumer#addDataProducer(org.concord.framework.data.stream.DataProducer) */ public void addDataProducer(DataProducer source) { dataProducer = (SensorDataProducer)source; source.addDataListener(new DataListener(){ public void dataReceived(DataStreamEvent dataEvent) { int numSamples = dataEvent.getNumSamples(); float [] data = dataEvent.getData(); if(numSamples > 0) { System.out.println("" + numSamples + " " + data[0]); System.out.flush(); } else { System.out.println("" + numSamples); } } public void dataStreamEvent(DataStreamEvent dataEvent) { String eventString; int eventType = dataEvent.getType(); if(eventType == 1001) return; switch(eventType) { case DataStreamEvent.DATA_READY_TO_START: eventString = "Ready to start"; break; case DataStreamEvent.DATA_STOPPED: eventString = "Stopped"; break; case DataStreamEvent.DATA_DESC_CHANGED: eventString = "Description changed"; break; default: eventString = "Unknown event type"; } System.out.println("Data Event: " + eventString); } }); // TODO Auto-generated method stub } /* (non-Javadoc) * @see org.concord.framework.data.stream.DataConsumer#removeDataProducer(org.concord.framework.data.stream.DataProducer) */ public void removeDataProducer(DataProducer source) { // TODO Auto-generated method stub } }; sdManager.prepareDataProducer(request, consumer); dataProducer.start(); System.out.println("started device"); try { Thread.sleep(1000); } catch (Exception e) { e.printStackTrace(); } dataProducer.stop(); dataProducer.close(); System.exit(0); }
57859 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57859/0c70429bffe966bdfcd265602e797395a12774ed/TestNative.java/clean/src/java/org/concord/sensor/nativelib/TestNative.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 225, 202, 95, 202, 202, 1299, 1079, 1503, 31086, 273, 394, 8005, 1299, 1079, 1503, 5621, 202, 202, 22294, 751, 1318, 225, 8349, 1318, 273, 394, 6682, 1318, 12, 81, 18912, 1769, 9506, 202, 759, 1220, 1410, 506, 4203, 628, 326, 531, 1070, 1683, 18, 225, 8315, 26579, 202, 202, 759, 4825, 1240, 279, 3775, 444, 434, 7166, 4351, 18, 202, 202, 3654, 809, 5378, 302, 8062, 273, 394, 6077, 809, 63, 21, 15533, 202, 202, 72, 8062, 63, 20, 65, 273, 394, 6077, 809, 2828, 12, 5852, 3654, 1733, 18, 2204, 50, 45, 654, 67, 16387, 67, 10554, 16, 446, 1769, 9506, 202, 12443, 1358, 1318, 13, 6427, 1318, 2934, 542, 3654, 8062, 12, 72, 8062, 1769, 25083, 202, 22338, 691, 590, 273, 394, 22844, 691, 1435, 95, 1082, 202, 20308, 261, 5836, 17, 24060, 13, 9506, 380, 632, 5946, 2358, 18, 591, 901, 18, 27426, 18, 22338, 691, 7, 588, 5027, 1435, 9506, 1195, 1082, 202, 482, 1431, 22612, 2386, 1435, 1875, 202, 95, 9506, 202, 2463, 374, 31, 1082, 202, 97, 25083, 202, 20308, 261, 5836, 17, 24060, 13, 9506, 380, 632, 5946, 2358, 18, 591, 901, 18, 27426, 18, 22338, 691, 7, 588, 9226, 13239, 1435, 9506, 1195, 1082, 202, 482, 509, 14981, 13239, 1435, 1875, 202, 95, 9506, 202, 2463, 300, 21, 31, 1082, 202, 97, 25083, 202, 20308, 261, 5836, 17, 24060, 13, 9506, 380, 632, 5946, 2358, 18, 591, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 225, 202, 95, 202, 202, 1299, 1079, 1503, 31086, 273, 394, 8005, 1299, 1079, 1503, 5621, 202, 202, 22294, 751, 1318, 225, 8349, 1318, 273, 394, 6682, 1318, 12, 81, 18912, 1769, 9506, 202, 759, 1220, 1410, 506, 4203, 628, 326, 531, 1070, 1683, 18, 225, 8315, 26579, 202, 202, 759, 4825, 1240, 279, 3775, 444, 434, 7166, 4351, 18, 202, 202, 3654, 809, 5378, 302, 8062, 273, 394, 6077, 809, 63, 21, 15533, 202, 202, 72, 8062, 63, 20, 65, 273, 394, 6077, 809, 2828, 12, 5852, 3654, 1733, 18, 2204, 50, 45, 654, 67, 16387, 67, 10554, 16, 446, 1769, 9506, 202, 12443, 1358, 1318, 13, 2 ]
ImageIcon result = new ImageIcon(image); return result;
} else { Debug.err("images/stern2.gif not found for ThreeStateButton"); } ImageIcon result = new ImageIcon(image); return result;
private Icon starIcon(Icon imageIcon, int width, int height){ Image i1 = ((ImageIcon) imageIcon).getImage(); Image image = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); Graphics g = image.getGraphics(); g.drawImage(i1, 0, 0, null); java.net.URL imageURL = ThreeStateButton3.class.getResource("images/stern3.gif"); Image star; if (imageURL != null) { MediaTracker mediaTracker = new MediaTracker(this); mediaTracker.addImage(image, 0); try { mediaTracker.waitForID(0); Toolkit toolkit = Toolkit.getDefaultToolkit(); star = toolkit.getImage(imageURL); g.drawImage(star,0,0,null); //Debug.msg("image loaded: "+star.toString()); } catch (InterruptedException ie) { Debug.err("error loading images/stern2.gif"+ie); } }else{ Debug.err("images/stern2.gif not found for ThreeStateButton"); } ImageIcon result = new ImageIcon(image); return result; }
7476 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7476/5c9aadff6f8f2598be3058e7d00ea280d587fc3f/ThreeStateButton3.java/buggy/jfritz/src/de/moonflower/jfritz/utils/threeStateButton/ThreeStateButton3.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 16011, 10443, 5554, 12, 5554, 1316, 5554, 16, 509, 1835, 16, 509, 2072, 15329, 1082, 202, 2040, 277, 21, 273, 14015, 2040, 5554, 13, 1316, 5554, 2934, 588, 2040, 5621, 1082, 202, 2040, 1316, 273, 394, 12362, 12, 2819, 16, 2072, 16, 6862, 202, 17947, 2040, 18, 2399, 67, 3217, 67, 985, 5887, 1769, 1082, 202, 17558, 314, 273, 1316, 18, 588, 17558, 5621, 1082, 202, 75, 18, 9446, 2040, 12, 77, 21, 16, 374, 16, 374, 16, 446, 1769, 25083, 202, 6290, 18, 2758, 18, 1785, 1316, 1785, 273, 935, 992, 1119, 3616, 23, 18, 1106, 18, 588, 1420, 2932, 7369, 19, 8190, 82, 23, 18, 13905, 8863, 1082, 202, 2040, 10443, 31, 1082, 202, 430, 261, 2730, 1785, 480, 446, 13, 288, 6862, 9506, 202, 5419, 8135, 3539, 8135, 273, 394, 6128, 8135, 12, 2211, 1769, 9506, 202, 5829, 8135, 18, 1289, 2040, 12, 2730, 16, 374, 1769, 9506, 202, 698, 9506, 202, 95, 6862, 202, 5829, 8135, 18, 7048, 1290, 734, 12, 20, 1769, 6862, 202, 6364, 8691, 5226, 8691, 273, 13288, 8691, 18, 588, 1868, 6364, 8691, 5621, 6862, 202, 10983, 273, 5226, 8691, 18, 588, 2040, 12, 2730, 1785, 1769, 6862, 202, 75, 18, 9446, 2040, 12, 10983, 16, 20, 16, 20, 16, 2011, 1769, 6862, 202, 759, 2829, 18, 3576, 2932, 2730, 4203, 30, 13773, 10983, 18, 10492, 10663, 9506, 202, 97, 9506, 202, 14683, 261, 24485, 503, 9228, 13, 9506, 202, 95, 6862, 202, 2829, 18, 370, 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, 16011, 10443, 5554, 12, 5554, 1316, 5554, 16, 509, 1835, 16, 509, 2072, 15329, 1082, 202, 2040, 277, 21, 273, 14015, 2040, 5554, 13, 1316, 5554, 2934, 588, 2040, 5621, 1082, 202, 2040, 1316, 273, 394, 12362, 12, 2819, 16, 2072, 16, 6862, 202, 17947, 2040, 18, 2399, 67, 3217, 67, 985, 5887, 1769, 1082, 202, 17558, 314, 273, 1316, 18, 588, 17558, 5621, 1082, 202, 75, 18, 9446, 2040, 12, 77, 21, 16, 374, 16, 374, 16, 446, 1769, 25083, 202, 6290, 18, 2758, 18, 1785, 1316, 1785, 273, 935, 992, 1119, 3616, 23, 18, 1106, 18, 588, 1420, 2932, 7369, 19, 8190, 82, 23, 18, 13905, 8863, 1082, 202, 2040, 10443, 31, 1082, 202, 2 ]
private HashMap canScheduleTrace(Trace trace)
private boolean canScheduleTrace(Trace trace)
private HashMap canScheduleTrace(Trace trace) { if (getAvailTiles() < trace.getNumFilters()) return null; LinkedList tiles = new LinkedList(); for (int i = 0; i < rawChip.getTotalTiles(); i++) { tiles.add(rawChip.getTile(i)); } //first try starting tiles that are either endpoints of upstream //or starts of downstream Iterator sources = trace.getHead().getSourceSet().iterator(); while (sources.hasNext()) { Trace current = ((Edge)sources.next()).getSrc().getParent(); //now if the source is already scheduled or if it is io try its tile if (schedule.contains(current)) { //get the endpoint of the trace RawTile tile = rawChip.getTile(current.getTail().getPrevFilter().getX(), current.getTail().getPrevFilter().getY()); //we already tried this tile previously if (!tiles.contains(tile)) continue; HashMap layout = new HashMap(); System.out.println(" (trying source " + tile + " at " + currentTime + ")"); //if successful, return layout if (getLayout(trace.getHead().getNextFilter(), tile, layout)) return layout; else //we tried this tile, remove it... tiles.remove(tile); } } Iterator dests = trace.getTail().getDestSet().iterator(); while (dests.hasNext()) { Trace current = ((Edge)dests.next()).getDest().getParent(); if (schedule.contains(current)) { //get the endpoint of the trace RawTile tile = rawChip.getTile(current.getHead().getNextFilter().getX(), current.getHead().getNextFilter().getY()); //we already tried this tile previously if (!tiles.contains(tile)) continue; HashMap layout = new HashMap(); System.out.println(" (trying dest " + tile + " at " + currentTime + ")"); //if successful, return layout if (getLayout(trace.getHead().getNextFilter(), tile, layout)) return layout; else //we tried this tile, remove it... tiles.remove(tile); } } Iterator tilesIt = tiles.iterator(); while (tilesIt.hasNext()) { RawTile tile = (RawTile)tilesIt.next(); HashMap layout = new HashMap(); System.out.println(" (trying " + tile + " at " + currentTime + ")"); //if successful, return layout if (getLayout(trace.getHead().getNextFilter(), tile, layout)) return layout; } //if we got here, then we could not find a layout return null; }
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/d8519047ac0f2d0f47e5efd7235f549a90ffb72d/SimpleScheduler.java/buggy/streams/src/at/dms/kjc/spacetime/SimpleScheduler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 848, 6061, 3448, 12, 3448, 2606, 13, 377, 288, 202, 430, 261, 588, 3769, 671, 27669, 1435, 411, 2606, 18, 588, 2578, 5422, 10756, 202, 565, 327, 446, 31, 202, 202, 13174, 682, 12568, 273, 394, 10688, 5621, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1831, 782, 625, 18, 588, 5269, 27669, 5621, 277, 27245, 288, 202, 565, 12568, 18, 1289, 12, 1899, 782, 625, 18, 588, 9337, 12, 77, 10019, 202, 97, 202, 202, 759, 3645, 775, 5023, 12568, 716, 854, 3344, 7902, 434, 13505, 202, 759, 280, 2542, 434, 18186, 202, 3198, 5550, 273, 2606, 18, 588, 1414, 7675, 588, 1830, 694, 7675, 9838, 5621, 202, 17523, 261, 10141, 18, 5332, 2134, 10756, 288, 202, 565, 2677, 783, 273, 14015, 6098, 13, 10141, 18, 4285, 1435, 2934, 588, 7740, 7675, 588, 3054, 5621, 202, 565, 368, 3338, 309, 326, 1084, 353, 1818, 9755, 578, 309, 518, 353, 2527, 775, 2097, 4769, 202, 565, 309, 261, 10676, 18, 12298, 12, 2972, 3719, 288, 202, 202, 759, 588, 326, 2494, 434, 326, 2606, 202, 202, 4809, 9337, 4769, 273, 1831, 782, 625, 18, 588, 9337, 12, 2972, 18, 588, 12363, 7675, 588, 9958, 1586, 7675, 588, 60, 9334, 25083, 4202, 783, 18, 588, 12363, 7675, 588, 9958, 1586, 7675, 588, 61, 10663, 202, 202, 759, 1814, 1818, 12928, 333, 4769, 7243, 202, 202, 430, 16051, 28366, 18, 12298, 12, 15368, 3719, 1082, 565, 1324, 31, 202, 202, 8658, 3511, 273, 394, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 848, 6061, 3448, 12, 3448, 2606, 13, 377, 288, 202, 430, 261, 588, 3769, 671, 27669, 1435, 411, 2606, 18, 588, 2578, 5422, 10756, 202, 565, 327, 446, 31, 202, 202, 13174, 682, 12568, 273, 394, 10688, 5621, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1831, 782, 625, 18, 588, 5269, 27669, 5621, 277, 27245, 288, 202, 565, 12568, 18, 1289, 12, 1899, 782, 625, 18, 588, 9337, 12, 77, 10019, 202, 97, 202, 202, 759, 3645, 775, 5023, 12568, 716, 854, 3344, 7902, 434, 13505, 202, 759, 280, 2542, 434, 18186, 202, 3198, 5550, 273, 2606, 18, 588, 1414, 7675, 588, 1830, 694, 7675, 9838, 5621, 202, 17523, 261, 10141, 18, 5332, 2 ]
case DbType.VIEW_TYPE:
case DbType.VIEW_TYPE :
private String getSelectedDbType() { IStructuredSelection selection = (IStructuredSelection)filterComboViewer.getSelection(); String type = DbType.ALL_STRING; if(selection != null && selection.getFirstElement() != null ) { DbType dbType = (DbType)selection.getFirstElement(); switch ( dbType.getType()) { case DbType.TABLE_TYPE: type = DbType.TABLE_STRING; break; case DbType.VIEW_TYPE: type = DbType.VIEW_STRING; break; case DbType.PROCEDURE_TYPE: type = DbType.PROCEDURE_STRING; break; } } return type; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/7369d4ae09cc536f7476a2e0abe49a3be2517225/SQLDataSetEditorPage.java/buggy/data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/editors/SQLDataSetEditorPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 225, 16625, 4331, 559, 1435, 202, 95, 9506, 202, 45, 30733, 6233, 4421, 273, 261, 45, 30733, 6233, 13, 2188, 16156, 18415, 18, 588, 6233, 5621, 202, 202, 780, 618, 273, 8408, 559, 18, 4685, 67, 5804, 31, 202, 202, 430, 12, 10705, 480, 446, 597, 4421, 18, 588, 3759, 1046, 1435, 480, 446, 262, 202, 202, 95, 1082, 202, 4331, 559, 29771, 273, 225, 261, 4331, 559, 13, 10705, 18, 588, 3759, 1046, 5621, 25083, 202, 9610, 261, 29771, 18, 588, 559, 10756, 1082, 202, 95, 9506, 202, 3593, 8408, 559, 18, 7775, 67, 2399, 30, 6862, 202, 723, 273, 8408, 559, 18, 7775, 67, 5804, 31, 6862, 202, 8820, 31, 9506, 202, 3593, 8408, 559, 18, 12145, 67, 2399, 30, 6862, 202, 723, 273, 8408, 559, 18, 12145, 67, 5804, 31, 6862, 202, 8820, 31, 9506, 202, 3593, 8408, 559, 18, 3373, 23552, 4830, 67, 2399, 30, 6862, 202, 723, 273, 8408, 559, 18, 3373, 23552, 4830, 67, 5804, 31, 6862, 202, 8820, 31, 1082, 202, 97, 202, 202, 97, 9506, 202, 2463, 618, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 225, 16625, 4331, 559, 1435, 202, 95, 9506, 202, 45, 30733, 6233, 4421, 273, 261, 45, 30733, 6233, 13, 2188, 16156, 18415, 18, 588, 6233, 5621, 202, 202, 780, 618, 273, 8408, 559, 18, 4685, 67, 5804, 31, 202, 202, 430, 12, 10705, 480, 446, 597, 4421, 18, 588, 3759, 1046, 1435, 480, 446, 262, 202, 202, 95, 1082, 202, 4331, 559, 29771, 273, 225, 261, 4331, 559, 13, 10705, 18, 588, 3759, 1046, 5621, 25083, 202, 9610, 261, 29771, 18, 588, 559, 10756, 1082, 202, 95, 9506, 202, 3593, 8408, 559, 18, 7775, 67, 2399, 30, 6862, 202, 723, 273, 8408, 559, 18, 7775, 67, 5804, 31, 6862, 202, 8820, 31, 9506, 202, 3593, 2 ]
jjCheckNAdd(7); break; case 10:
jjCheckNAdd(12); break; case 15:
private final int jjMoveNfa_3(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 25; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 16: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 14; break; case 13: if ((0xffffffe7ffffffffL & l) != 0L) { if (kind > 21) kind = 21; jjCheckNAdd(7); } else if (curChar == 36) { if (kind > 13) kind = 13; jjCheckNAddTwoStates(22, 23); } else if (curChar == 35) jjCheckNAddTwoStates(5, 16); if ((0x100000200L & l) != 0L) jjCheckNAddTwoStates(0, 6); break; case 25: if (curChar == 36) jjCheckNAddTwoStates(22, 23); if (curChar == 36) { if (kind > 13) kind = 13; } break; case 9: if (curChar == 36) jjCheckNAddTwoStates(22, 23); else if (curChar == 35) jjstateSet[jjnewStateCnt++] = 11; if (curChar == 36) { if (kind > 13) kind = 13; } break; case 0: if ((0x100000200L & l) != 0L) jjCheckNAddTwoStates(0, 6); break; case 2: if (curChar == 32) jjAddStates(54, 55); break; case 3: if (curChar == 40 && kind > 12) kind = 12; break; case 6: if (curChar == 35) jjCheckNAdd(5); break; case 7: if ((0xffffffe7ffffffffL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAdd(7); break; case 10: if (curChar == 35) jjstateSet[jjnewStateCnt++] = 11; break; case 12: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 11) kind = 11; jjstateSet[jjnewStateCnt++] = 12; break; case 14: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 15; break; case 15: if ((0xfffffff7ffffffffL & l) != 0L && kind > 16) kind = 16; break; case 19: if (curChar == 36 && kind > 13) kind = 13; break; case 21: if (curChar == 36) jjCheckNAddTwoStates(22, 23); break; case 23: if (curChar == 33 && kind > 14) kind = 14; break; case 24: if (curChar != 36) break; if (kind > 13) kind = 13; jjCheckNAddTwoStates(22, 23); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 16: case 5: if (curChar == 115) jjstateSet[jjnewStateCnt++] = 4; break; case 13: if ((0xffffffffefffffffL & l) != 0L) { if (kind > 21) kind = 21; jjCheckNAdd(7); } else if (curChar == 92) jjCheckNAddStates(56, 59); if (curChar == 92) jjAddStates(38, 39); break; case 25: if (curChar == 92) jjAddStates(38, 39); if (curChar == 92) jjCheckNAddTwoStates(20, 21); if (curChar == 92) jjCheckNAddTwoStates(18, 19); break; case 9: if (curChar == 92) jjCheckNAddTwoStates(20, 21); if (curChar == 92) jjCheckNAddTwoStates(18, 19); if (curChar == 92) jjstateSet[jjnewStateCnt++] = 8; break; case 1: if (curChar == 116) jjAddStates(54, 55); break; case 4: if (curChar == 101) jjstateSet[jjnewStateCnt++] = 1; break; case 7: if ((0xffffffffefffffffL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAdd(7); break; case 8: if (curChar == 92) jjAddStates(38, 39); break; case 11: case 12: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 11) kind = 11; jjCheckNAdd(12); break; case 15: if (kind > 16) kind = 16; break; case 17: if (curChar == 92) jjCheckNAddStates(56, 59); break; case 18: if (curChar == 92) jjCheckNAddTwoStates(18, 19); break; case 20: if (curChar == 92) jjCheckNAddTwoStates(20, 21); break; case 22: if (curChar == 92) jjAddStates(60, 61); break; default : break; } } while(i != startsAt); } else { int hiByte = (int)(curChar >> 8); int i1 = hiByte >> 6; long l1 = 1L << (hiByte & 077); int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 13: case 7: if (!jjCanMove_0(hiByte, i1, i2, l1, l2)) break; if (kind > 21) kind = 21; jjCheckNAdd(7); break; case 15: if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 16) kind = 16; break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 25 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/8e9e155e88430402b0d51d6b344267b73292ca2c/ParserTokenManager.java/clean/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 50, 507, 67, 23, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750, 273, 6969, 31, 282, 509, 277, 273, 404, 31, 282, 10684, 2019, 694, 63, 20, 65, 273, 787, 1119, 31, 282, 509, 525, 16, 3846, 273, 374, 92, 27, 18217, 74, 31, 282, 364, 261, 25708, 13, 282, 288, 1377, 309, 261, 9904, 78, 78, 2260, 422, 374, 92, 27, 18217, 74, 13, 540, 868, 2570, 54, 9284, 5621, 1377, 309, 261, 1397, 2156, 411, 5178, 13, 1377, 288, 540, 1525, 328, 273, 404, 48, 2296, 662, 2156, 31, 540, 4639, 6452, 30, 741, 540, 288, 5411, 1620, 12, 78, 78, 2019, 694, 63, 413, 77, 5717, 5411, 288, 9079, 648, 2872, 30, 5375, 309, 261, 1397, 2156, 422, 14856, 13, 5397, 10684, 2019, 694, 63, 78, 78, 2704, 1119, 11750, 9904, 65, 273, 5045, 31, 5375, 898, 31, 9079, 648, 5958, 30, 5375, 309, 14015, 20, 5297, 9460, 73, 27, 9460, 9460, 48, 473, 328, 13, 480, 374, 48, 13, 5375, 288, 5397, 309, 261, 9224, 405, 9035, 13, 13491, 3846, 273, 9035, 31, 5397, 10684, 1564, 50, 986, 12, 27, 1769, 5375, 289, 5375, 469, 309, 261, 1397, 2156, 422, 6580, 13, 5375, 288, 5397, 309, 261, 9224, 405, 5958, 13, 13491, 3846, 273, 5958, 31, 5397, 10684, 1564, 50, 986, 11710, 7629, 12, 3787, 16, 10213, 1769, 5375, 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, 50, 507, 67, 23, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750, 273, 6969, 31, 282, 509, 277, 273, 404, 31, 282, 10684, 2019, 694, 63, 20, 65, 273, 787, 1119, 31, 282, 509, 525, 16, 3846, 273, 374, 92, 27, 18217, 74, 31, 282, 364, 261, 25708, 13, 282, 288, 1377, 309, 261, 9904, 78, 78, 2260, 422, 374, 92, 27, 18217, 74, 13, 540, 868, 2570, 54, 9284, 5621, 1377, 309, 261, 1397, 2156, 411, 5178, 13, 1377, 288, 540, 1525, 328, 273, 404, 48, 2296, 662, 2156, 31, 540, 4639, 6452, 30, 2 ]
findSpecialRelevanceChanges(pipelineContext, children1.subList(size2, size1), null);
findSpecialRelevanceChanges(pipelineContext, children1.subList(size2, size1), null, eventsToDispatch);
private void findSpecialRelevanceChanges(PipelineContext pipelineContext, List state1, List state2) { // Trivial case if (state1 == null && state2 == null) return; // Both lists must have the same size if present; state1 can be null if (state1 != null && state2 != null && state1.size() != state2.size()) { throw new IllegalStateException("Illegal state when comparing controls."); } final Iterator j = (state1 == null) ? null : state1.iterator(); final Iterator i = (state2 == null) ? null : state2.iterator(); final Iterator leadingIterator = (i != null) ? i : j; while (leadingIterator.hasNext()) { final XFormsControl xformsControl1 = (state1 == null) ? null : (XFormsControl) j.next(); final XFormsControl xformsControl2 = (state2 == null) ? null : (XFormsControl) i.next(); final XFormsControl leadingControl = (xformsControl2 != null) ? xformsControl2 : xformsControl1; // never null final XFormsControl otherControl = (xformsControl2 != null) ? xformsControl1 : xformsControl2; // possibly null // 1: Check current control if (!(leadingControl instanceof XFormsRepeatControl)) { // xforms:repeat doesn't need to be handled independently, iterations do it if (!leadingControl.equals(otherControl)) { if (xformsControl1 != null && xformsControl2 != null) { final NodeInfo boundNode1 = xformsControl1.getBoundNode(); final NodeInfo boundNode2 = xformsControl2.getBoundNode(); if (boundNode1 != null && xformsControl1.isRelevant() && boundNode2 == null) { // A control was bound to a node and relevant, but has become no longer bound to a node containingDocument.dispatchEvent(pipelineContext, new XFormsDisabledEvent(xformsControl2)); } else if (boundNode1 == null && boundNode2 != null && xformsControl2.isRelevant()) { // A control was not bound to a node, but has now become bound and relevant containingDocument.dispatchEvent(pipelineContext, new XFormsEnabledEvent(xformsControl2)); } } else if (xformsControl2 != null) { final NodeInfo boundNode2 = xformsControl2.getBoundNode(); if (boundNode2 != null && xformsControl2.isRelevant()) { // A control in a repeat was not bound to a node, but has now become bound and relevant containingDocument.dispatchEvent(pipelineContext, new XFormsEnabledEvent(xformsControl2)); } } else if (xformsControl1 != null) { final NodeInfo boundNode1 = xformsControl1.getBoundNode(); if (boundNode1 != null && xformsControl1.isRelevant()) { // A control in a repeat was bound to a node and relevant, but has become no longer bound to a node containingDocument.dispatchEvent(pipelineContext, new XFormsDisabledEvent(xformsControl1)); } } } } // 2: Check children if any if (XFormsControls.isGroupingControl(leadingControl.getName()) || leadingControl instanceof RepeatIterationControl) { final List children1 = (xformsControl1 == null) ? null : xformsControl1.getChildren(); final List children2 = (xformsControl2 == null) ? null : xformsControl2.getChildren(); final int size1 = children1 == null ? 0 : children1.size(); final int size2 = children2 == null ? 0 : children2.size(); if (leadingControl instanceof XFormsRepeatControl) { // Special case of repeat update if (size1 == size2) { // No add or remove of children findSpecialRelevanceChanges(pipelineContext, children1, children2); } else if (size2 > size1) { // Size has grown // Diff the common subset findSpecialRelevanceChanges(pipelineContext, children1, children2.subList(0, size1)); // Issue new values for new iterations findSpecialRelevanceChanges(pipelineContext, null, children2.subList(size1, size2)); } else if (size2 < size1) { // Size has shrunk // Diff the common subset findSpecialRelevanceChanges(pipelineContext, children1.subList(0, size2), children2); // Issue new values for new iterations findSpecialRelevanceChanges(pipelineContext, children1.subList(size2, size1), null); } } else { // Other grouping controls findSpecialRelevanceChanges(pipelineContext, size1 == 0 ? null : children1, size2 == 0 ? null : children2); } } } }
10097 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10097/3f51d1d62c218dfa0bec18ef28443000c6350153/XFormsControls.java/clean/src/java/org/orbeon/oxf/xforms/XFormsControls.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1104, 12193, 17018, 5882, 7173, 12, 8798, 1042, 5873, 1042, 16, 987, 919, 21, 16, 987, 919, 22, 13, 288, 3639, 368, 840, 20109, 648, 3639, 309, 261, 2019, 21, 422, 446, 597, 919, 22, 422, 446, 13, 5411, 327, 31, 3639, 368, 19118, 6035, 1297, 1240, 326, 1967, 963, 309, 3430, 31, 919, 21, 848, 506, 446, 3639, 309, 261, 2019, 21, 480, 446, 597, 919, 22, 480, 446, 597, 919, 21, 18, 1467, 1435, 480, 919, 22, 18, 1467, 10756, 288, 5411, 604, 394, 5477, 2932, 12195, 919, 1347, 17553, 11022, 1199, 1769, 3639, 289, 3639, 727, 4498, 525, 273, 261, 2019, 21, 422, 446, 13, 692, 446, 294, 919, 21, 18, 9838, 5621, 3639, 727, 4498, 277, 273, 261, 2019, 22, 422, 446, 13, 692, 446, 294, 919, 22, 18, 9838, 5621, 3639, 727, 4498, 7676, 3198, 273, 261, 77, 480, 446, 13, 692, 277, 294, 525, 31, 3639, 1323, 261, 27200, 3198, 18, 5332, 2134, 10756, 288, 5411, 727, 1139, 18529, 3367, 619, 9741, 3367, 21, 273, 261, 2019, 21, 422, 446, 13, 692, 446, 294, 261, 60, 18529, 3367, 13, 525, 18, 4285, 5621, 5411, 727, 1139, 18529, 3367, 619, 9741, 3367, 22, 273, 261, 2019, 22, 422, 446, 13, 692, 446, 294, 261, 60, 18529, 3367, 13, 277, 18, 4285, 5621, 5411, 727, 1139, 18529, 3367, 7676, 3367, 273, 261, 92, 9741, 3367, 22, 480, 446, 13, 692, 619, 9741, 3367, 22, 294, 619, 9741, 3367, 21, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1104, 12193, 17018, 5882, 7173, 12, 8798, 1042, 5873, 1042, 16, 987, 919, 21, 16, 987, 919, 22, 13, 288, 3639, 368, 840, 20109, 648, 3639, 309, 261, 2019, 21, 422, 446, 597, 919, 22, 422, 446, 13, 5411, 327, 31, 3639, 368, 19118, 6035, 1297, 1240, 326, 1967, 963, 309, 3430, 31, 919, 21, 848, 506, 446, 3639, 309, 261, 2019, 21, 480, 446, 597, 919, 22, 480, 446, 597, 919, 21, 18, 1467, 1435, 480, 919, 22, 18, 1467, 10756, 288, 5411, 604, 394, 5477, 2932, 12195, 919, 1347, 17553, 11022, 1199, 1769, 3639, 289, 3639, 727, 4498, 525, 273, 261, 2019, 21, 422, 446, 13, 692, 446, 294, 919, 21, 18, 9838, 5621, 2 ]
super(ruby, ruby.getExceptions().getNameError(), msg);
super(ruby, ruby.getExceptions().getRangeError(), msg);
public RangeError(Ruby ruby, String msg) { super(ruby, ruby.getExceptions().getNameError(), msg); }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/5c7d9e094aa97d5066c802a80d5e119852f62221/RangeError.java/buggy/org/jruby/exceptions/RangeError.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8086, 668, 12, 54, 10340, 22155, 16, 514, 1234, 13, 288, 3639, 2240, 12, 27768, 16, 22155, 18, 588, 11416, 7675, 588, 2655, 668, 9334, 1234, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8086, 668, 12, 54, 10340, 22155, 16, 514, 1234, 13, 288, 3639, 2240, 12, 27768, 16, 22155, 18, 588, 11416, 7675, 588, 2655, 668, 9334, 1234, 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 ]
m_Indices = null;
public boolean setInputFormat(Instances instanceInfo) throws Exception { super.setInputFormat(instanceInfo); if (instanceInfo.classIndex() < 0) { throw new UnassignedClassException("No class has been assigned to the instances"); } setOutputFormat(); m_Indices = null; if (instanceInfo.classAttribute().isNominal()) { return true; } else { return false; } }
4179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4179/bc1393b87c827cb914a591fdeedeb677d2e8560b/NominalToBinaryFilter.java/buggy/branches/stable-3-2-1/weka/filters/NominalToBinaryFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 21687, 1630, 12, 5361, 791, 966, 13, 3639, 1216, 1185, 288, 565, 2240, 18, 542, 1210, 1630, 12, 1336, 966, 1769, 565, 309, 261, 1336, 966, 18, 1106, 1016, 1435, 411, 374, 13, 288, 1377, 604, 394, 1351, 15938, 797, 503, 2932, 2279, 667, 711, 2118, 6958, 358, 326, 3884, 8863, 565, 289, 565, 18113, 1630, 5621, 3639, 309, 261, 1336, 966, 18, 1106, 1499, 7675, 291, 26685, 1490, 10756, 288, 1377, 327, 638, 31, 565, 289, 469, 288, 1377, 327, 629, 31, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 282, 1071, 1250, 21687, 1630, 12, 5361, 791, 966, 13, 3639, 1216, 1185, 288, 565, 2240, 18, 542, 1210, 1630, 12, 1336, 966, 1769, 565, 309, 261, 1336, 966, 18, 1106, 1016, 1435, 411, 374, 13, 288, 1377, 604, 394, 1351, 15938, 797, 503, 2932, 2279, 667, 711, 2118, 6958, 358, 326, 3884, 8863, 565, 289, 565, 18113, 1630, 5621, 3639, 309, 261, 1336, 966, 18, 1106, 1499, 7675, 291, 26685, 1490, 10756, 288, 1377, 327, 638, 31, 565, 289, 469, 288, 1377, 327, 629, 31, 565, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
TaskListView.getDefault().showMessage("Please enter a valid report number");
TaskListView.getDefault().showMessage("Invalid report id.");
public ITask createTaskFromExistingId(TaskRepository repository, String id) { int bugId = -1; try { if (id != null) { bugId = Integer.parseInt(id); } else { return null; } } catch (NumberFormatException nfe) { TaskListView.getDefault().showMessage("Please enter a valid report number"); return null; } ITask newTask = new BugzillaTask(TaskRepositoryManager.getHandle(repository.getUrl().toExternalForm(), bugId), "<bugzilla info>", true, true); ITaskHandler taskHandler = MylarTaskListPlugin.getDefault().getHandlerForElement(newTask); if (taskHandler != null) { ITask addedTask = taskHandler.addTaskToRegistry(newTask); if (addedTask instanceof BugzillaTask) { BugzillaTask newTask2 = (BugzillaTask) addedTask; if (newTask2 == newTask) { ((BugzillaTask) newTask).scheduleDownloadReport(); } else { newTask = newTask2; ((BugzillaTask) newTask).updateTaskDetails(); } } } else { ((BugzillaTask) newTask).scheduleDownloadReport(); }// BugzillaUiPlugin.getDefault().getBugzillaTaskListManager().addToBugzillaTaskRegistry((BugzillaTask) newTask); return newTask; }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/3e33caec44b8717decf7be5acff0920be035447a/BugzillaTaskRepositoryClient.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaTaskRepositoryClient.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 2174, 752, 2174, 1265, 9895, 548, 12, 2174, 3305, 3352, 16, 514, 612, 13, 288, 202, 202, 474, 7934, 548, 273, 300, 21, 31, 202, 202, 698, 288, 1082, 202, 430, 261, 350, 480, 446, 13, 288, 9506, 202, 925, 548, 273, 2144, 18, 2670, 1702, 12, 350, 1769, 1082, 202, 97, 469, 288, 9506, 202, 2463, 446, 31, 1082, 202, 97, 202, 202, 97, 1044, 261, 1854, 9291, 25386, 13, 288, 1082, 202, 2174, 682, 1767, 18, 588, 1868, 7675, 4500, 1079, 2932, 8496, 6103, 279, 923, 2605, 1300, 8863, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 1285, 835, 394, 2174, 273, 394, 16907, 15990, 2174, 12, 2174, 3305, 1318, 18, 588, 3259, 12, 9071, 18, 588, 1489, 7675, 869, 6841, 1204, 9334, 7934, 548, 3631, 9506, 202, 6, 32, 925, 15990, 1123, 2984, 16, 638, 16, 638, 1769, 9506, 202, 1285, 835, 1503, 1562, 1503, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 1868, 7675, 588, 1503, 1290, 1046, 12, 2704, 2174, 1769, 202, 202, 430, 261, 4146, 1503, 480, 446, 13, 288, 1082, 202, 1285, 835, 3096, 2174, 273, 1562, 1503, 18, 1289, 2174, 774, 4243, 12, 2704, 2174, 1769, 1082, 202, 430, 261, 9665, 2174, 1276, 16907, 15990, 2174, 13, 288, 9506, 202, 19865, 15990, 2174, 394, 2174, 22, 273, 261, 19865, 15990, 2174, 13, 3096, 2174, 31, 9506, 202, 430, 261, 2704, 2174, 22, 422, 394, 2174, 13, 288, 6862, 202, 12443, 19865, 15990, 2174, 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, 2174, 752, 2174, 1265, 9895, 548, 12, 2174, 3305, 3352, 16, 514, 612, 13, 288, 202, 202, 474, 7934, 548, 273, 300, 21, 31, 202, 202, 698, 288, 1082, 202, 430, 261, 350, 480, 446, 13, 288, 9506, 202, 925, 548, 273, 2144, 18, 2670, 1702, 12, 350, 1769, 1082, 202, 97, 469, 288, 9506, 202, 2463, 446, 31, 1082, 202, 97, 202, 202, 97, 1044, 261, 1854, 9291, 25386, 13, 288, 1082, 202, 2174, 682, 1767, 18, 588, 1868, 7675, 4500, 1079, 2932, 8496, 6103, 279, 923, 2605, 1300, 8863, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 1285, 835, 394, 2174, 273, 394, 16907, 15990, 2174, 12, 2174, 3305, 1318, 18, 2 ]
List<Label> labels = vcs.getLabelsFor(p("file1"));
List<Label> labels = vcs.getLabelsFor(p("/file1"));
public void testTreatingRenamedAndCreatedFilesWithSameNameDifferently() { vcs.createFile(p("file1"), "content1"); vcs.apply(); vcs.rename(p("file1"), "file2"); vcs.createFile(p("file1"), "content2"); vcs.apply(); List<Label> labels = vcs.getLabelsFor(p("file1")); assertEquals(1, labels.size()); Entry e = labels.get(0).getEntry(); assertEquals("file1", e.getName()); assertEquals("content2", e.getContent()); labels = vcs.getLabelsFor(p("file2")); assertEquals(2, labels.size()); e = labels.get(0).getEntry(); assertEquals("file1", e.getName()); assertEquals("content1", e.getContent()); e = labels.get(1).getEntry(); assertEquals("file2", e.getName()); assertEquals("content1", e.getContent()); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/8a6fdbc15b3cd4aaa232cf2026aa4a60418c162a/LocalVcsDifferencesTest.java/clean/LocalVcs/test/com/intellij/localvcs/LocalVcsDifferencesTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 56, 266, 1776, 16290, 2808, 1876, 6119, 2697, 1190, 8650, 461, 26270, 715, 1435, 288, 565, 20255, 18, 2640, 812, 12, 84, 2932, 768, 21, 6, 3631, 315, 1745, 21, 8863, 565, 20255, 18, 9010, 5621, 565, 20255, 18, 18539, 12, 84, 2932, 768, 21, 6, 3631, 315, 768, 22, 8863, 565, 20255, 18, 2640, 812, 12, 84, 2932, 768, 21, 6, 3631, 315, 1745, 22, 8863, 565, 20255, 18, 9010, 5621, 565, 987, 32, 2224, 34, 3249, 273, 20255, 18, 588, 5888, 1290, 12, 84, 2932, 19, 768, 21, 7923, 1769, 565, 1815, 8867, 12, 21, 16, 3249, 18, 1467, 10663, 565, 3841, 425, 273, 3249, 18, 588, 12, 20, 2934, 588, 1622, 5621, 565, 1815, 8867, 2932, 768, 21, 3113, 425, 18, 17994, 10663, 565, 1815, 8867, 2932, 1745, 22, 3113, 425, 18, 588, 1350, 10663, 565, 3249, 273, 20255, 18, 588, 5888, 1290, 12, 84, 2932, 768, 22, 7923, 1769, 565, 1815, 8867, 12, 22, 16, 3249, 18, 1467, 10663, 565, 425, 273, 3249, 18, 588, 12, 20, 2934, 588, 1622, 5621, 565, 1815, 8867, 2932, 768, 21, 3113, 425, 18, 17994, 10663, 565, 1815, 8867, 2932, 1745, 21, 3113, 425, 18, 588, 1350, 10663, 565, 425, 273, 3249, 18, 588, 12, 21, 2934, 588, 1622, 5621, 565, 1815, 8867, 2932, 768, 22, 3113, 425, 18, 17994, 10663, 565, 1815, 8867, 2932, 1745, 21, 3113, 425, 18, 588, 1350, 10663, 225, 289, 2, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 56, 266, 1776, 16290, 2808, 1876, 6119, 2697, 1190, 8650, 461, 26270, 715, 1435, 288, 565, 20255, 18, 2640, 812, 12, 84, 2932, 768, 21, 6, 3631, 315, 1745, 21, 8863, 565, 20255, 18, 9010, 5621, 565, 20255, 18, 18539, 12, 84, 2932, 768, 21, 6, 3631, 315, 768, 22, 8863, 565, 20255, 18, 2640, 812, 12, 84, 2932, 768, 21, 6, 3631, 315, 1745, 22, 8863, 565, 20255, 18, 9010, 5621, 565, 987, 32, 2224, 34, 3249, 273, 20255, 18, 588, 5888, 1290, 12, 84, 2932, 19, 768, 21, 7923, 1769, 565, 1815, 8867, 12, 21, 16, 3249, 18, 1467, 10663, 565, 3841, 425, 273, 3249, 18, 588, 12, 20, 2934, 588, 1622, 5621, 2 ]
super(position);
super(position, NodeTypes.SCLASSNODE);
public SClassNode(ISourcePosition position, Node recvNode, ScopeNode bodyNode) { super(position); this.receiverNode = recvNode; this.bodyNode = bodyNode; }
49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/6e15491217631472c05c6928672f9c7064a978b3/SClassNode.java/buggy/src/org/jruby/ast/SClassNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 348, 797, 907, 12, 45, 1830, 2555, 1754, 16, 2029, 10665, 907, 16, 5468, 907, 1417, 907, 13, 288, 3639, 2240, 12, 3276, 16, 2029, 2016, 18, 2312, 3979, 8744, 1769, 3639, 333, 18, 24454, 907, 273, 10665, 907, 31, 3639, 333, 18, 3432, 907, 273, 1417, 907, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 348, 797, 907, 12, 45, 1830, 2555, 1754, 16, 2029, 10665, 907, 16, 5468, 907, 1417, 907, 13, 288, 3639, 2240, 12, 3276, 16, 2029, 2016, 18, 2312, 3979, 8744, 1769, 3639, 333, 18, 24454, 907, 273, 10665, 907, 31, 3639, 333, 18, 3432, 907, 273, 1417, 907, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public Scriptable getSessionScope(Environment environment) { Map objectModel = environment.getObjectModel(); Request request = ObjectModelHelper.getRequest(objectModel); Session session = request.getSession(false); if (session == null) { return null; } Scriptable scope; HashMap userScopes = (HashMap)session.getAttribute(USER_GLOBAL_SCOPE); if (userScopes == null) { return null; } scope = (Scriptable)userScopes.get(environment.getURIPrefix()); return scope; }
46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/3eaf33e52949d473662ae9606cfe84feb4e21b4b/JavaScriptInterpreter.java/clean/src/java/org/apache/cocoon/components/flow/javascript/JavaScriptInterpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3651, 429, 588, 2157, 3876, 12, 5494, 10274, 15329, 863, 1612, 1488, 33, 10274, 18, 588, 921, 1488, 5621, 691, 2293, 33, 921, 1488, 2276, 18, 588, 691, 12, 1612, 1488, 1769, 2157, 3184, 33, 2293, 18, 588, 2157, 12, 5743, 1769, 430, 12, 3184, 631, 2011, 15329, 2463, 2011, 31, 97, 3651, 9237, 742, 1306, 31, 8658, 1355, 12668, 28657, 8658, 13, 3184, 18, 588, 1499, 12, 4714, 67, 20402, 67, 19444, 1769, 430, 12, 1355, 12668, 631, 2011, 15329, 2463, 2011, 31, 97, 4887, 28657, 3651, 429, 13, 1355, 12668, 18, 588, 12, 10274, 18, 588, 3098, 2244, 10663, 2463, 4887, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3651, 429, 588, 2157, 3876, 12, 5494, 10274, 15329, 863, 1612, 1488, 33, 10274, 18, 588, 921, 1488, 5621, 691, 2293, 33, 921, 1488, 2276, 18, 588, 691, 12, 1612, 1488, 1769, 2157, 3184, 33, 2293, 18, 588, 2157, 12, 5743, 1769, 430, 12, 3184, 631, 2011, 15329, 2463, 2011, 31, 97, 3651, 9237, 742, 1306, 31, 8658, 1355, 12668, 28657, 8658, 13, 3184, 18, 588, 1499, 12, 4714, 67, 20402, 67, 19444, 1769, 430, 12, 1355, 12668, 631, 2011, 15329, 2463, 2011, 31, 97, 4887, 28657, 3651, 429, 13, 1355, 12668, 18, 588, 12, 10274, 18, 588, 3098, 2244, 10663, 2463, 4887, 31, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throw new IndexError(getRuntime(), "negative length");
throw getRuntime().newIndexError("negative length");
public IRubyObject aset(IRubyObject[] args) { testFrozen("class"); int strLen = getValue().length(); if (checkArgumentCount(args, 2, 3) == 3) { RubyString repl = stringValue(args[2]); int beg = RubyNumeric.fix2int(args[0]); int len = RubyNumeric.fix2int(args[1]); if (len < 0) { throw new IndexError(getRuntime(), "negative length"); } if (beg < 0) { beg += strLen; } if (beg < 0 || beg >= strLen) { throw new IndexError(getRuntime(), "string index out of bounds"); } if (beg + len > strLen) { len = strLen - beg; } replace(beg, len, repl); return repl; } if (args[0] instanceof RubyFixnum) { // RubyNumeric? int idx = RubyNumeric.fix2int(args[0]); // num2int? if (idx < 0) { idx += getValue().length(); } if (idx < 0 || idx >= getValue().length()) { throw new IndexError(getRuntime(), "string index out of bounds"); } if (args[1] instanceof RubyFixnum) { char c = (char) RubyNumeric.fix2int(args[1]); setValue(getValue().substring(0, idx) + c + getValue().substring(idx + 1)); } else { replace(idx, 1, stringValue(args[1])); } return args[1]; } if (args[0] instanceof RubyRegexp) { sub_bang(args); return args[1]; } if (args[0] instanceof RubyString) { RubyString orig = stringValue(args[0]); int beg = getValue().indexOf(orig.getValue()); if (beg != -1) { replace(beg, orig.getValue().length(), stringValue(args[1])); } return args[1]; } if (args[0] instanceof RubyRange) { long[] idxs = ((RubyRange) args[0]).getBeginLength(getValue().length(), true, true); replace((int) idxs[0], (int) idxs[1], stringValue(args[1])); return args[1]; } throw new TypeError(getRuntime(), "wrong argument type"); }
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyString.java/buggy/src/org/jruby/RubyString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 15908, 10340, 921, 487, 278, 12, 7937, 10340, 921, 8526, 833, 13, 288, 202, 202, 3813, 42, 9808, 2932, 1106, 8863, 202, 202, 474, 609, 2891, 273, 2366, 7675, 2469, 5621, 202, 202, 430, 261, 1893, 1379, 1380, 12, 1968, 16, 576, 16, 890, 13, 422, 890, 13, 288, 1082, 202, 54, 10340, 780, 6831, 273, 19721, 12, 1968, 63, 22, 19226, 1082, 202, 474, 16847, 273, 19817, 9902, 18, 904, 22, 474, 12, 1968, 63, 20, 19226, 1082, 202, 474, 562, 273, 19817, 9902, 18, 904, 22, 474, 12, 1968, 63, 21, 19226, 1082, 202, 430, 261, 1897, 411, 374, 13, 288, 9506, 202, 12849, 394, 10195, 12, 588, 5576, 9334, 315, 13258, 769, 8863, 1082, 202, 97, 1082, 202, 430, 261, 70, 1332, 411, 374, 13, 288, 9506, 202, 70, 1332, 1011, 609, 2891, 31, 1082, 202, 97, 1082, 202, 430, 261, 70, 1332, 411, 374, 747, 16847, 1545, 609, 2891, 13, 288, 9506, 202, 12849, 394, 10195, 12, 588, 5576, 9334, 315, 1080, 770, 596, 434, 4972, 8863, 1082, 202, 97, 1082, 202, 430, 261, 70, 1332, 397, 562, 405, 609, 2891, 13, 288, 9506, 202, 1897, 273, 609, 2891, 300, 16847, 31, 1082, 202, 97, 1082, 202, 2079, 12, 70, 1332, 16, 562, 16, 6831, 1769, 1082, 202, 2463, 6831, 31, 202, 202, 97, 202, 202, 430, 261, 1968, 63, 20, 65, 1276, 19817, 8585, 2107, 13, 288, 368, 19817, 9902, 35, 1082, 202, 474, 2067, 273, 19817, 9902, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 15908, 10340, 921, 487, 278, 12, 7937, 10340, 921, 8526, 833, 13, 288, 202, 202, 3813, 42, 9808, 2932, 1106, 8863, 202, 202, 474, 609, 2891, 273, 2366, 7675, 2469, 5621, 202, 202, 430, 261, 1893, 1379, 1380, 12, 1968, 16, 576, 16, 890, 13, 422, 890, 13, 288, 1082, 202, 54, 10340, 780, 6831, 273, 19721, 12, 1968, 63, 22, 19226, 1082, 202, 474, 16847, 273, 19817, 9902, 18, 904, 22, 474, 12, 1968, 63, 20, 19226, 1082, 202, 474, 562, 273, 19817, 9902, 18, 904, 22, 474, 12, 1968, 63, 21, 19226, 1082, 202, 430, 261, 1897, 411, 374, 13, 288, 9506, 202, 12849, 394, 10195, 12, 588, 5576, 9334, 315, 13258, 769, 8863, 2 ]
MyResourceDeltaVisitor vis = new MyResourceDeltaVisitor();
protected IProject[] build(int kind, Map args, IProgressMonitor monitor) throws CoreException { boolean bPerformBuild = true; IMakeBuilderInfo info = MakeCorePlugin.createBuildInfo(args, MakeBuilder.BUILDER_ID); if (!shouldBuild(kind, info)) { forgetLastBuiltState(); return new IProject[0]; } if (kind == IncrementalProjectBuilder.AUTO_BUILD) { MyResourceDeltaVisitor vis = new MyResourceDeltaVisitor(); IResourceDelta delta = getDelta(getProject()); if (delta != null) { delta.accept(vis); bPerformBuild = vis.shouldBuild(); } else bPerformBuild = false; } if (bPerformBuild) { boolean isClean = invokeMake(kind, info, monitor); if (isClean) { forgetLastBuiltState(); } } else { // This should really be based of last build state, for now its safer to just // forget last, until we get some kind of build state manager in the CDT Core. forgetLastBuiltState(); } checkCancel(monitor); return getProject().getReferencedProjects(); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/74cf4886029b3a6190f85ce4fb77c8ffdb4651b7/MakeBuilder.java/clean/build/org.eclipse.cdt.make.core/src/org/eclipse/cdt/make/core/MakeBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 467, 4109, 8526, 1361, 12, 474, 3846, 16, 1635, 833, 16, 467, 5491, 7187, 6438, 13, 1216, 30015, 288, 202, 202, 6494, 324, 4990, 3116, 273, 638, 31, 202, 202, 3445, 911, 1263, 966, 1123, 273, 4344, 4670, 3773, 18, 2640, 3116, 966, 12, 1968, 16, 4344, 1263, 18, 3000, 2627, 4179, 67, 734, 1769, 202, 202, 430, 16051, 13139, 3116, 12, 9224, 16, 1123, 3719, 288, 1082, 202, 1884, 588, 3024, 16409, 1119, 5621, 1082, 202, 2463, 394, 467, 4109, 63, 20, 15533, 202, 202, 97, 202, 202, 430, 261, 9224, 422, 17883, 287, 4109, 1263, 18, 18909, 67, 20215, 13, 288, 1082, 202, 12062, 1420, 9242, 7413, 2281, 273, 394, 8005, 1420, 9242, 7413, 5621, 1082, 202, 45, 1420, 9242, 3622, 273, 2343, 8967, 12, 588, 4109, 10663, 1082, 202, 430, 261, 9878, 480, 446, 13, 288, 9506, 202, 9878, 18, 9436, 12, 3516, 1769, 9506, 202, 70, 4990, 3116, 273, 2281, 18, 13139, 3116, 5621, 1082, 202, 97, 469, 9506, 202, 70, 4990, 3116, 273, 629, 31, 202, 202, 97, 202, 202, 430, 261, 70, 4990, 3116, 13, 288, 1082, 202, 6494, 353, 7605, 273, 4356, 6464, 12, 9224, 16, 1123, 16, 6438, 1769, 1082, 202, 430, 261, 291, 7605, 13, 288, 9506, 202, 1884, 588, 3024, 16409, 1119, 5621, 1082, 202, 97, 202, 202, 97, 469, 288, 368, 1220, 1410, 8654, 506, 2511, 434, 1142, 1361, 919, 16, 364, 2037, 2097, 7864, 586, 358, 2537, 9506, 565, 368, 225, 13776, 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, 467, 4109, 8526, 1361, 12, 474, 3846, 16, 1635, 833, 16, 467, 5491, 7187, 6438, 13, 1216, 30015, 288, 202, 202, 6494, 324, 4990, 3116, 273, 638, 31, 202, 202, 3445, 911, 1263, 966, 1123, 273, 4344, 4670, 3773, 18, 2640, 3116, 966, 12, 1968, 16, 4344, 1263, 18, 3000, 2627, 4179, 67, 734, 1769, 202, 202, 430, 16051, 13139, 3116, 12, 9224, 16, 1123, 3719, 288, 1082, 202, 1884, 588, 3024, 16409, 1119, 5621, 1082, 202, 2463, 394, 467, 4109, 63, 20, 15533, 202, 202, 97, 202, 202, 430, 261, 9224, 422, 17883, 287, 4109, 1263, 18, 18909, 67, 20215, 13, 288, 1082, 202, 12062, 1420, 9242, 7413, 2281, 273, 394, 8005, 1420, 9242, 7413, 2 ]
try {
public void execSqlUpdateQuery(String server, String sqlStr ) throws IOException { imcode.server.IMCServiceInterface imc = getInterface( server ) ; try { imc.sqlUpdateQuery(sqlStr) ; return ; } catch (IOException ex) { imc = renewInterface(server) ; imc.sqlUpdateQuery(sqlStr) ; return ; } } // execSql
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/cbaf8fbf9eeaf7b9db5163cf0496eea1be5ce141/RmiLayer.java/clean/server/src/imcode/external/diverse/RmiLayer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1196, 5101, 1891, 1138, 12, 780, 1438, 16, 514, 1847, 1585, 262, 1216, 1860, 288, 3639, 709, 710, 18, 3567, 18, 3445, 39, 18348, 709, 71, 273, 336, 1358, 12, 1438, 262, 274, 10792, 709, 71, 18, 4669, 1891, 1138, 12, 4669, 1585, 13, 274, 5411, 327, 274, 3639, 289, 1044, 261, 14106, 431, 13, 288, 2398, 709, 71, 273, 15723, 1358, 12, 3567, 13, 274, 5411, 709, 71, 18, 4669, 1891, 1138, 12, 4669, 1585, 13, 274, 5411, 327, 274, 3639, 289, 565, 289, 368, 1196, 5101, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1196, 5101, 1891, 1138, 12, 780, 1438, 16, 514, 1847, 1585, 262, 1216, 1860, 288, 3639, 709, 710, 18, 3567, 18, 3445, 39, 18348, 709, 71, 273, 336, 1358, 12, 1438, 262, 274, 10792, 709, 71, 18, 4669, 1891, 1138, 12, 4669, 1585, 13, 274, 5411, 327, 274, 3639, 289, 1044, 261, 14106, 431, 13, 288, 2398, 709, 71, 273, 15723, 1358, 12, 3567, 13, 274, 5411, 709, 71, 18, 4669, 1891, 1138, 12, 4669, 1585, 13, 274, 5411, 327, 274, 3639, 289, 565, 289, 368, 1196, 5101, 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 ]
throw new SAXParseException("Unexpected element \"" + name + "\"", locator);
throw new SAXParseException("Unexpected element \"" + name + "\"", locator);
public void startElement(String name, AttributeList attrs) throws SAXParseException { if (name.equals("taskdef")) { handleTaskdef(name, attrs); } else if (name.equals("property")) { handleProperty(name, attrs); } else if (name.equals("target")) { handleTarget(name, attrs); } else if (project.getDataTypeDefinitions().get(name) != null) { handleDataType(name, attrs); } else { throw new SAXParseException("Unexpected element \"" + name + "\"", locator); } }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/adbdf5d6c830f14edbfd28f91c2c7b1a14229291/ProjectHelper.java/buggy/src/main/org/apache/tools/ant/ProjectHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 13591, 12, 780, 508, 16, 3601, 682, 3422, 13, 2398, 1216, 10168, 13047, 288, 5411, 309, 261, 529, 18, 14963, 2932, 4146, 536, 6, 3719, 288, 7734, 1640, 2174, 536, 12, 529, 16, 3422, 1769, 5411, 289, 469, 309, 261, 529, 18, 14963, 2932, 4468, 6, 3719, 288, 7734, 1640, 1396, 12, 529, 16, 3422, 1769, 5411, 289, 469, 309, 261, 529, 18, 14963, 2932, 3299, 6, 3719, 288, 7734, 1640, 2326, 12, 529, 16, 3422, 1769, 5411, 289, 469, 309, 261, 4406, 18, 588, 6273, 7130, 7675, 588, 12, 529, 13, 480, 446, 13, 288, 7734, 1640, 6273, 12, 529, 16, 3422, 1769, 5411, 289, 469, 288, 7734, 604, 394, 10168, 13047, 2932, 7762, 930, 11843, 397, 508, 397, 5397, 7023, 3113, 8871, 1769, 5411, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 13591, 12, 780, 508, 16, 3601, 682, 3422, 13, 2398, 1216, 10168, 13047, 288, 5411, 309, 261, 529, 18, 14963, 2932, 4146, 536, 6, 3719, 288, 7734, 1640, 2174, 536, 12, 529, 16, 3422, 1769, 5411, 289, 469, 309, 261, 529, 18, 14963, 2932, 4468, 6, 3719, 288, 7734, 1640, 1396, 12, 529, 16, 3422, 1769, 5411, 289, 469, 309, 261, 529, 18, 14963, 2932, 3299, 6, 3719, 288, 7734, 1640, 2326, 12, 529, 16, 3422, 1769, 5411, 289, 469, 309, 261, 4406, 18, 588, 6273, 7130, 7675, 588, 12, 529, 13, 480, 446, 13, 288, 7734, 1640, 6273, 12, 529, 16, 3422, 1769, 5411, 289, 469, 288, 7734, 604, 394, 10168, 13047, 2932, 7762, 930, 2 ]
return "/xava/list." + getType();
return "/xava/list." + getType() + "?application=" + request.getParameter("application") + "&module=" + request.getParameter("module");
public String getForwardURI() { return "/xava/list." + getType(); }
14127 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14127/97c11f754ea74a7442db830fdd448200f6115e9e/GenerateReportAction.java/buggy/OpenXava/src/org/openxava/actions/GenerateReportAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 336, 8514, 3098, 1435, 288, 9506, 202, 2463, 2206, 92, 1629, 19, 1098, 1199, 397, 3130, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 336, 8514, 3098, 1435, 288, 9506, 202, 2463, 2206, 92, 1629, 19, 1098, 1199, 397, 3130, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
writeAttribute( writer, "org.eclipse.jdt.launching.DEFAULT_CLASSPATH", true );
protected void addAttributes( XMLWriter writer ) { // ant specific writeAttribute( writer, "process_factory_id", "org.eclipse.ant.ui.remoteAntProcessFactory" ); writeAttribute( writer, "org.eclipse.ant.ui.DEFAULT_VM_INSTALL", false ); writeAttribute( writer, "org.eclipse.jdt.launching.DEFAULT_CLASSPATH", true ); writeAttribute( writer, "org.eclipse.debug.ui.ATTR_CONSOLE_OUTPUT_ON", false ); writer.startElement( "listAttribute" ); writer.addAttribute( "key", "org.eclipse.debug.core.MAPPED_RESOURCE_TYPES" ); writer.endElement(); writeAttribute( writer, "org.eclipse.ant.ui.ATTR_TARGETS_UPDATED", true ); writeAttribute( writer, "org.eclipse.jdt.launching.CLASSPATH_PROVIDER", "org.eclipse.ant.ui.AntClasspathProvider" ); // writeAttribute( writer, "org.eclipse.jdt.launching.PROJECT_ATTR", "" ); // writer.startElement( "listAttribute" ); // writer.addAttribute( "key", "org.eclipse.debug.core.MAPPED_RESOURCE_PATHS" ); // writer.endElement(); }
7444 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7444/604b48a27606ac1b6534212fb6874a243a1aeb87/EclipseAntExternalLaunchConfigurationWriter.java/buggy/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/writers/EclipseAntExternalLaunchConfigurationWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 527, 2498, 12, 3167, 2289, 2633, 262, 565, 288, 3639, 368, 17841, 2923, 3639, 12325, 12, 2633, 16, 315, 2567, 67, 6848, 67, 350, 3113, 315, 3341, 18, 20416, 18, 970, 18, 4881, 18, 7222, 14925, 2227, 1733, 6, 11272, 3639, 12325, 12, 2633, 16, 315, 3341, 18, 20416, 18, 970, 18, 4881, 18, 5280, 67, 7397, 67, 28865, 3113, 629, 11272, 7734, 12325, 12, 2633, 16, 315, 3341, 18, 20416, 18, 4148, 18, 4881, 18, 12043, 67, 2248, 3584, 900, 67, 15527, 67, 673, 3113, 629, 11272, 3639, 2633, 18, 1937, 1046, 12, 315, 1098, 1499, 6, 11272, 3639, 2633, 18, 1289, 1499, 12, 315, 856, 3113, 315, 3341, 18, 20416, 18, 4148, 18, 3644, 18, 8352, 12120, 67, 11395, 67, 10564, 6, 11272, 3639, 2633, 18, 409, 1046, 5621, 3639, 12325, 12, 2633, 16, 315, 3341, 18, 20416, 18, 970, 18, 4881, 18, 12043, 67, 16374, 55, 67, 8217, 40, 3113, 638, 11272, 3639, 12325, 12, 5411, 2633, 16, 5411, 315, 3341, 18, 20416, 18, 78, 7510, 18, 20738, 310, 18, 5237, 4211, 67, 26413, 3113, 5411, 315, 3341, 18, 20416, 18, 970, 18, 4881, 18, 14925, 17461, 2249, 6, 11272, 3639, 368, 12325, 12, 2633, 16, 315, 3341, 18, 20416, 18, 78, 7510, 18, 20738, 310, 18, 17147, 67, 12043, 3113, 1408, 11272, 3639, 368, 2633, 18, 1937, 1046, 12, 315, 1098, 1499, 6, 11272, 3639, 368, 2633, 18, 1289, 1499, 12, 315, 856, 3113, 315, 3341, 18, 20416, 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, 4750, 918, 527, 2498, 12, 3167, 2289, 2633, 262, 565, 288, 3639, 368, 17841, 2923, 3639, 12325, 12, 2633, 16, 315, 2567, 67, 6848, 67, 350, 3113, 315, 3341, 18, 20416, 18, 970, 18, 4881, 18, 7222, 14925, 2227, 1733, 6, 11272, 3639, 12325, 12, 2633, 16, 315, 3341, 18, 20416, 18, 970, 18, 4881, 18, 5280, 67, 7397, 67, 28865, 3113, 629, 11272, 7734, 12325, 12, 2633, 16, 315, 3341, 18, 20416, 18, 4148, 18, 4881, 18, 12043, 67, 2248, 3584, 900, 67, 15527, 67, 673, 3113, 629, 11272, 3639, 2633, 18, 1937, 1046, 12, 315, 1098, 1499, 6, 11272, 3639, 2633, 18, 1289, 1499, 12, 315, 856, 3113, 315, 3341, 18, 20416, 18, 4148, 18, 3644, 2 ]
Object[] bindings = (Object[]) SharedUIDefaults.get("MenuBar.windowBindings"); InputMap inputMap = LookAndFeel.makeComponentInputMap(menuBar, bindings); SwingUtilities.replaceUIInputMap(menuBar, JComponent.WHEN_IN_FOCUSED_WINDOW, inputMap); SwingUtilities.replaceUIActionMap(menuBar, getActionMap());
protected void installKeyboardActions() throws NotImplementedException { // FIXME: implement }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicMenuBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicMenuBarUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1033, 8526, 7394, 273, 261, 921, 63, 5717, 10314, 3060, 73, 643, 87, 18, 588, 2932, 4599, 5190, 18, 5668, 10497, 8863, 2741, 863, 810, 863, 273, 10176, 1876, 2954, 292, 18, 6540, 1841, 1210, 863, 12, 5414, 5190, 16, 7394, 1769, 26145, 11864, 18, 2079, 5370, 1210, 863, 12, 5414, 5190, 16, 29058, 18, 12557, 1157, 67, 706, 67, 3313, 39, 20093, 67, 23407, 16, 810, 863, 1769, 282, 26145, 11864, 18, 2079, 5370, 1803, 863, 12, 5414, 5190, 16, 12473, 863, 10663, 225, 1033, 8526, 7394, 273, 261, 921, 63, 5717, 10314, 3060, 73, 643, 87, 18, 588, 2932, 4599, 5190, 18, 5668, 10497, 8863, 2741, 863, 810, 863, 273, 10176, 1876, 2954, 292, 18, 6540, 1841, 1210, 863, 12, 5414, 5190, 16, 7394, 1769, 26145, 11864, 18, 2079, 5370, 1210, 863, 12, 5414, 5190, 16, 29058, 18, 12557, 1157, 67, 706, 67, 3313, 39, 20093, 67, 23407, 16, 810, 863, 1769, 282, 26145, 11864, 18, 2079, 5370, 1803, 863, 12, 5414, 5190, 16, 12473, 863, 10663, 4750, 1033, 8526, 7394, 273, 261, 921, 63, 5717, 10314, 3060, 73, 643, 87, 18, 588, 2932, 4599, 5190, 18, 5668, 10497, 8863, 2741, 863, 810, 863, 273, 10176, 1876, 2954, 292, 18, 6540, 1841, 1210, 863, 12, 5414, 5190, 16, 7394, 1769, 26145, 11864, 18, 2079, 5370, 1210, 863, 12, 5414, 5190, 16, 29058, 18, 12557, 1157, 67, 706, 67, 3313, 39, 20093, 67, 23407, 16, 810, 863, 1769, 282, 26145, 11864, 18, 2079, 5370, 1803, 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, 1033, 8526, 7394, 273, 261, 921, 63, 5717, 10314, 3060, 73, 643, 87, 18, 588, 2932, 4599, 5190, 18, 5668, 10497, 8863, 2741, 863, 810, 863, 273, 10176, 1876, 2954, 292, 18, 6540, 1841, 1210, 863, 12, 5414, 5190, 16, 7394, 1769, 26145, 11864, 18, 2079, 5370, 1210, 863, 12, 5414, 5190, 16, 29058, 18, 12557, 1157, 67, 706, 67, 3313, 39, 20093, 67, 23407, 16, 810, 863, 1769, 282, 26145, 11864, 18, 2079, 5370, 1803, 863, 12, 5414, 5190, 16, 12473, 863, 10663, 225, 1033, 8526, 7394, 273, 261, 921, 63, 5717, 10314, 3060, 73, 643, 87, 18, 588, 2932, 4599, 5190, 18, 5668, 10497, 8863, 2741, 863, 810, 863, 273, 10176, 1876, 2954, 292, 18, 6540, 2 ]
return new IField[] { message, resource, folder, lineNumber,
return new IField[] { severityAndMessage, resource, folder, lineNumber,
protected IField[] getAllFields() { // Add the marker ID so the table sorter won't reduce // errors on the same line bug 82502 return new IField[] { message, resource, folder, lineNumber, creationTime }; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/0d709da83531dbf226078c4683d1b014a03521c8/ProblemView.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ProblemView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 467, 974, 8526, 5514, 2314, 1435, 288, 202, 202, 759, 1436, 326, 5373, 1599, 1427, 326, 1014, 19867, 8462, 1404, 5459, 202, 202, 759, 1334, 603, 326, 1967, 980, 7934, 1725, 2947, 3103, 202, 202, 2463, 394, 467, 974, 8526, 288, 883, 16, 1058, 16, 3009, 16, 13629, 16, 9506, 202, 17169, 950, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 467, 974, 8526, 5514, 2314, 1435, 288, 202, 202, 759, 1436, 326, 5373, 1599, 1427, 326, 1014, 19867, 8462, 1404, 5459, 202, 202, 759, 1334, 603, 326, 1967, 980, 7934, 1725, 2947, 3103, 202, 202, 2463, 394, 467, 974, 8526, 288, 883, 16, 1058, 16, 3009, 16, 13629, 16, 9506, 202, 17169, 950, 289, 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 ]
if (val instanceof String) return toNumber((String) val); if (val instanceof Boolean) return ((Boolean) val).booleanValue() ? 1 : +0.0; warnAboutNonJSObject(val); return NaN;
public static double toNumber(Object val) { if (val instanceof Number) return ((Number) val).doubleValue(); if (val == null) return +0.0; if (val instanceof Scriptable) { val = ((Scriptable) val).getDefaultValue(NumberClass); if (val != null && val instanceof Scriptable) throw errorWithClassName("msg.primitive.expected", val); if (val instanceof Number) return ((Number) val).doubleValue(); // fall through } if (val instanceof String) return toNumber((String) val); if (val instanceof Boolean) return ((Boolean) val).booleanValue() ? 1 : +0.0; warnAboutNonJSObject(val); return NaN; }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/cf0577f71eb8e686b61be9a52b8c5dc6f08821f6/ScriptRuntime.java/buggy/src/org/mozilla/javascript/ScriptRuntime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1645, 358, 1854, 12, 921, 1244, 13, 565, 288, 3639, 309, 261, 1125, 1276, 3588, 13, 5411, 327, 14015, 1854, 13, 1244, 2934, 9056, 620, 5621, 3639, 309, 261, 1125, 422, 446, 13, 5411, 327, 397, 20, 18, 20, 31, 3639, 309, 261, 1125, 1276, 22780, 13, 288, 5411, 1244, 273, 14015, 3651, 429, 13, 1244, 2934, 588, 15646, 12, 1854, 797, 1769, 5411, 309, 261, 1125, 480, 446, 597, 1244, 1276, 22780, 13, 7734, 604, 555, 1190, 3834, 2932, 3576, 18, 683, 5025, 18, 3825, 3113, 1244, 1769, 5411, 309, 261, 1125, 1276, 3588, 13, 7734, 327, 14015, 1854, 13, 1244, 2934, 9056, 620, 5621, 5411, 368, 4159, 3059, 3639, 289, 3639, 309, 261, 1125, 1276, 514, 13, 5411, 327, 358, 1854, 12443, 780, 13, 1244, 1769, 3639, 309, 261, 1125, 1276, 3411, 13, 5411, 327, 14015, 5507, 13, 1244, 2934, 6494, 620, 1435, 692, 404, 294, 397, 20, 18, 20, 31, 3639, 1894, 24813, 3989, 6479, 921, 12, 1125, 1769, 3639, 327, 10180, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1645, 358, 1854, 12, 921, 1244, 13, 565, 288, 3639, 309, 261, 1125, 1276, 3588, 13, 5411, 327, 14015, 1854, 13, 1244, 2934, 9056, 620, 5621, 3639, 309, 261, 1125, 422, 446, 13, 5411, 327, 397, 20, 18, 20, 31, 3639, 309, 261, 1125, 1276, 22780, 13, 288, 5411, 1244, 273, 14015, 3651, 429, 13, 1244, 2934, 588, 15646, 12, 1854, 797, 1769, 5411, 309, 261, 1125, 480, 446, 597, 1244, 1276, 22780, 13, 7734, 604, 555, 1190, 3834, 2932, 3576, 18, 683, 5025, 18, 3825, 3113, 1244, 1769, 5411, 309, 261, 1125, 1276, 3588, 13, 7734, 327, 14015, 1854, 13, 1244, 2934, 9056, 620, 5621, 5411, 368, 4159, 3059, 3639, 289, 3639, 309, 261, 1125, 2 ]
AST tmp467_AST_in = (AST)_t;
AST tmp466_AST_in = (AST)_t;
public final void return_options(AST _t) throws RecognitionException { AST return_options_AST_in = (_t == ASTNULL) ? null : (AST)_t; { boolean synPredMatched1949 = false; if (_t==null) _t=ASTNULL; if (((_tokenSet_3.member(_t.getType())))) { AST __t1949 = _t; synPredMatched1949 = true; inputState.guessing++; try { { AST __t1948 = _t; AST tmp465_AST_in = (AST)_t; match(_t,ERROR); _t = _t.getFirstChild(); AST tmp466_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); AST tmp467_AST_in = (AST)_t; match(_t,RECORD_NAME); _t = _t.getNextSibling(); AST tmp468_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); _t = __t1948; _t = _t.getNextSibling(); } } catch (RecognitionException pe) { synPredMatched1949 = false; } _t = __t1949;inputState.guessing--; } if ( synPredMatched1949 ) { expression(_t); _t = _retTree; } else { boolean synPredMatched1951 = false; if (_t==null) _t=ASTNULL; if (((_t.getType()==ERROR))) { AST __t1951 = _t; synPredMatched1951 = true; inputState.guessing++; try { { AST tmp469_AST_in = (AST)_t; match(_t,ERROR); _t = _t.getNextSibling(); } } catch (RecognitionException pe) { synPredMatched1951 = false; } _t = __t1951;inputState.guessing--; } if ( synPredMatched1951 ) { AST tmp470_AST_in = (AST)_t; match(_t,ERROR); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; if ((_tokenSet_3.member(_t.getType()))) { expression(_t); _t = _retTree; } else if ((_t.getType()==EOF||_t.getType()==3||_t.getType()==PERIOD)) { } else { throw new NoViableAltException(_t); } } } else if ((_t.getType()==NOAPPLY)) { AST tmp471_AST_in = (AST)_t; match(_t,NOAPPLY); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; if ((_tokenSet_3.member(_t.getType()))) { expression(_t); _t = _retTree; } else if ((_t.getType()==EOF||_t.getType()==3||_t.getType()==PERIOD)) { } else { throw new NoViableAltException(_t); } } } else if ((_tokenSet_3.member(_t.getType()))) { expression(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } } _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser03.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 327, 67, 2116, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 327, 67, 2116, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 95, 202, 202, 6494, 6194, 10391, 15400, 3657, 7616, 273, 629, 31, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 430, 261, 12443, 67, 2316, 694, 67, 23, 18, 5990, 24899, 88, 18, 588, 559, 1435, 3719, 3719, 288, 1082, 202, 9053, 1001, 88, 3657, 7616, 273, 389, 88, 31, 1082, 202, 11982, 10391, 15400, 3657, 7616, 273, 638, 31, 1082, 202, 2630, 1119, 18, 20885, 310, 9904, 31, 1082, 202, 698, 288, 9506, 202, 95, 9506, 202, 9053, 1001, 88, 3657, 8875, 273, 389, 88, 31, 9506, 202, 9053, 1853, 8749, 25, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 9506, 202, 1916, 24899, 88, 16, 3589, 1769, 9506, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 9506, 202, 9053, 1853, 24, 6028, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 9506, 202, 1916, 24899, 88, 16, 10066, 15111, 1769, 9506, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 9506, 202, 9053, 1853, 8749, 27, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 9506, 202, 1916, 24899, 88, 16, 22261, 67, 1985, 1769, 9506, 202, 67, 88, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 327, 67, 2116, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 327, 67, 2116, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 95, 202, 202, 6494, 6194, 10391, 15400, 3657, 7616, 273, 629, 31, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 430, 261, 12443, 67, 2316, 694, 67, 23, 18, 5990, 24899, 88, 18, 588, 559, 1435, 3719, 3719, 288, 1082, 202, 9053, 1001, 88, 3657, 7616, 273, 389, 88, 31, 1082, 202, 11982, 10391, 15400, 3657, 7616, 273, 638, 31, 1082, 202, 2630, 1119, 18, 2 ]
assertEquals( "/model/mailingLists[" + i + "]/unsubscribe", expected.getUnsubscribe(), actual.getUnsubscribe() );
Assert.assertEquals( "/model/mailingLists[" + i + "]/unsubscribe", expected.getUnsubscribe(), actual.getUnsubscribe() );
public void assertMailingList( int i, MailingList expected, Object actualObject ) { assertNotNull( "/model/mailingLists[" + i + "]", actualObject ); assertInstanceOf( "/model/mailingLists", MailingList.class, actualObject.getClass() ); MailingList actual = (MailingList) actualObject; assertEquals( "/model/mailingLists[" + i + "]/name", expected.getName(), actual.getName() ); assertEquals( "/model/mailingLists[" + i + "]/subscribe", expected.getSubscribe(), actual.getSubscribe() ); assertEquals( "/model/mailingLists[" + i + "]/unsubscribe", expected.getUnsubscribe(), actual.getUnsubscribe() ); assertEquals( "/model/mailingLists[" + i + "]/archive", expected.getArchive(), actual.getArchive() ); }
47828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47828/8d22b8877982d05d783e10993c6d0064b846e44a/Xpp3Verifier.java/clean/modello/modello-plugins/modello-plugin-xpp3/src/test/verifiers/xpp3/Xpp3Verifier.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1815, 6759, 310, 682, 12, 509, 277, 16, 11542, 310, 682, 2665, 16, 1033, 3214, 921, 262, 565, 288, 3639, 25395, 12, 2206, 2284, 19, 4408, 310, 7432, 9614, 397, 277, 397, 9850, 3113, 3214, 921, 11272, 3639, 1815, 1442, 951, 12, 2206, 2284, 19, 4408, 310, 7432, 3113, 11542, 310, 682, 18, 1106, 16, 3214, 921, 18, 588, 797, 1435, 11272, 3639, 11542, 310, 682, 3214, 273, 261, 6759, 310, 682, 13, 3214, 921, 31, 3639, 1815, 8867, 12, 2206, 2284, 19, 4408, 310, 7432, 9614, 397, 277, 397, 9850, 19, 529, 3113, 2665, 18, 17994, 9334, 3214, 18, 17994, 1435, 11272, 3639, 1815, 8867, 12, 2206, 2284, 19, 4408, 310, 7432, 9614, 397, 277, 397, 9850, 19, 9174, 3113, 2665, 18, 588, 16352, 9334, 3214, 18, 588, 16352, 1435, 11272, 3639, 5452, 18, 11231, 8867, 12, 2206, 2284, 19, 4408, 310, 7432, 9614, 397, 277, 397, 9850, 19, 318, 9174, 3113, 2665, 18, 588, 984, 9174, 9334, 3214, 18, 588, 984, 9174, 1435, 11272, 3639, 1815, 8867, 12, 2206, 2284, 19, 4408, 310, 7432, 9614, 397, 277, 397, 9850, 19, 10686, 3113, 2665, 18, 588, 7465, 9334, 3214, 18, 588, 7465, 1435, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1815, 6759, 310, 682, 12, 509, 277, 16, 11542, 310, 682, 2665, 16, 1033, 3214, 921, 262, 565, 288, 3639, 25395, 12, 2206, 2284, 19, 4408, 310, 7432, 9614, 397, 277, 397, 9850, 3113, 3214, 921, 11272, 3639, 1815, 1442, 951, 12, 2206, 2284, 19, 4408, 310, 7432, 3113, 11542, 310, 682, 18, 1106, 16, 3214, 921, 18, 588, 797, 1435, 11272, 3639, 11542, 310, 682, 3214, 273, 261, 6759, 310, 682, 13, 3214, 921, 31, 3639, 1815, 8867, 12, 2206, 2284, 19, 4408, 310, 7432, 9614, 397, 277, 397, 9850, 19, 529, 3113, 2665, 18, 17994, 9334, 3214, 18, 17994, 1435, 11272, 3639, 1815, 8867, 12, 2206, 2284, 19, 4408, 310, 7432, 9614, 397, 277, 2 ]
public org.quickfix.field.ListSeqNo getListSeqNo() throws FieldNotFound { org.quickfix.field.ListSeqNo value = new org.quickfix.field.ListSeqNo();
public quickfix.field.ListSeqNo getListSeqNo() throws FieldNotFound { quickfix.field.ListSeqNo value = new quickfix.field.ListSeqNo();
public org.quickfix.field.ListSeqNo getListSeqNo() throws FieldNotFound { org.quickfix.field.ListSeqNo value = new org.quickfix.field.ListSeqNo(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderList.java/clean/src/java/src/quickfix/fix44/NewOrderList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 682, 6926, 2279, 10033, 6926, 2279, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 682, 6926, 2279, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 682, 6926, 2279, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 682, 6926, 2279, 10033, 6926, 2279, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 682, 6926, 2279, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 682, 6926, 2279, 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 ]
public int showConfirmDialog(String pMessageText, String pTitle, int pType) { final String messageText = pMessageText; final String title = pTitle; final int type = pType; final ResponseWrapper fResponseWrapper = new ResponseWrapper(); Runnable runMe = new Runnable() { public void run() { fResponseWrapper.setInt(JOptionPane.showConfirmDialog(MessageFrame.this, messageText, title, type)); } }; if (! SwingUtilities.isEventDispatchThread()) { try { SwingUtilities.invokeAndWait(runMe); } catch (Exception e) { } } else { runMe.run(); } return fResponseWrapper.getInt(); }
967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/55c2ef8139608f0f93fb72272ca8300eb9ac663e/MessageFrame.java/clean/src/net/suberic/pooka/gui/MessageFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 2405, 11269, 6353, 12, 780, 293, 1079, 1528, 16, 514, 293, 4247, 16, 509, 29171, 13, 288, 565, 727, 514, 883, 1528, 273, 293, 1079, 1528, 31, 565, 727, 514, 2077, 273, 293, 4247, 31, 565, 727, 509, 618, 273, 29171, 31, 565, 727, 2306, 3611, 284, 1064, 3611, 273, 394, 2306, 3611, 5621, 3639, 10254, 1086, 4667, 273, 394, 10254, 1435, 288, 202, 482, 918, 1086, 1435, 288, 202, 225, 284, 1064, 3611, 18, 542, 1702, 12, 46, 1895, 8485, 18, 4500, 11269, 6353, 12, 1079, 3219, 18, 2211, 16, 883, 1528, 16, 2077, 16, 618, 10019, 202, 97, 1377, 289, 31, 3639, 309, 16051, 26145, 11864, 18, 291, 1133, 5325, 3830, 10756, 288, 1377, 775, 288, 202, 6050, 310, 11864, 18, 14407, 1876, 5480, 12, 2681, 4667, 1769, 1377, 289, 1044, 261, 503, 425, 13, 288, 1377, 289, 565, 289, 469, 288, 1377, 1086, 4667, 18, 2681, 5621, 565, 289, 3639, 327, 284, 1064, 3611, 18, 588, 1702, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 2405, 11269, 6353, 12, 780, 293, 1079, 1528, 16, 514, 293, 4247, 16, 509, 29171, 13, 288, 565, 727, 514, 883, 1528, 273, 293, 1079, 1528, 31, 565, 727, 514, 2077, 273, 293, 4247, 31, 565, 727, 509, 618, 273, 29171, 31, 565, 727, 2306, 3611, 284, 1064, 3611, 273, 394, 2306, 3611, 5621, 3639, 10254, 1086, 4667, 273, 394, 10254, 1435, 288, 202, 482, 918, 1086, 1435, 288, 202, 225, 284, 1064, 3611, 18, 542, 1702, 12, 46, 1895, 8485, 18, 4500, 11269, 6353, 12, 1079, 3219, 18, 2211, 16, 883, 1528, 16, 2077, 16, 618, 10019, 202, 97, 1377, 289, 31, 3639, 309, 16051, 26145, 11864, 18, 291, 1133, 5325, 3830, 10756, 288, 1377, 2 ]
+"I"
private void generateFunctionInit(ClassFileWriter cfw, OptFunctionNode ofn) { final int CONTEXT_ARG = 1; final int SCOPE_ARG = 2; cfw.startMethod(getFunctionInitMethodName(ofn), FUNCTION_INIT_SIGNATURE, (short)(ClassFileWriter.ACC_PRIVATE | ClassFileWriter.ACC_FINAL)); // Call NativeFunction.initScriptFunction cfw.addLoadThis(); cfw.addALoad(CONTEXT_ARG); cfw.addALoad(SCOPE_ARG); cfw.addPush(compilerEnv.getLanguageVersion()); cfw.addPush(ofn.fnode.getFunctionName()); pushParamNamesArray(cfw, ofn.fnode); cfw.addPush(ofn.fnode.getParamCount()); cfw.addInvoke(ByteCode.INVOKEVIRTUAL, "org/mozilla/javascript/NativeFunction", "initScriptFunction", "(Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +"I" +"Ljava/lang/String;" +"[Ljava/lang/String;" +"I" +")V"); // precompile all regexp literals int regexpCount = ofn.fnode.getRegexpCount(); if (regexpCount != 0) { cfw.addLoadThis(); pushRegExpArray(cfw, ofn.fnode, CONTEXT_ARG, SCOPE_ARG); cfw.add(ByteCode.PUTFIELD, mainClassName, REGEXP_ARRAY_FIELD_NAME, REGEXP_ARRAY_FIELD_TYPE); } cfw.add(ByteCode.RETURN); // 3 = (scriptThis/functionRef) + scope + context cfw.stopMethod((short)3); }
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/08f0cfede0b5665f6b5139b8993251dc3a80ec16/Codegen.java/clean/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 2083, 2570, 12, 797, 812, 2289, 6080, 91, 16, 4766, 1377, 12056, 2083, 907, 434, 82, 13, 565, 288, 3639, 727, 509, 13862, 67, 10973, 273, 404, 31, 3639, 727, 509, 19296, 67, 10973, 273, 576, 31, 3639, 6080, 91, 18, 1937, 1305, 12, 588, 2083, 2570, 11666, 12, 792, 82, 3631, 13491, 13690, 67, 12919, 67, 26587, 16, 13491, 261, 6620, 21433, 797, 812, 2289, 18, 31414, 67, 20055, 27573, 571, 30614, 2289, 18, 31414, 67, 7263, 1013, 10019, 3639, 368, 3049, 16717, 2083, 18, 2738, 3651, 2083, 3639, 6080, 91, 18, 1289, 2563, 2503, 5621, 3639, 6080, 91, 18, 1289, 1013, 6189, 12, 13181, 67, 10973, 1769, 3639, 6080, 91, 18, 1289, 1013, 6189, 12, 19444, 67, 10973, 1769, 3639, 6080, 91, 18, 1289, 7621, 12, 9576, 3491, 18, 588, 3779, 1444, 10663, 3639, 6080, 91, 18, 1289, 7621, 12, 792, 82, 18, 74, 2159, 18, 588, 25258, 10663, 3639, 1817, 786, 1557, 1076, 12, 8522, 91, 16, 434, 82, 18, 74, 2159, 1769, 3639, 6080, 91, 18, 1289, 7621, 12, 792, 82, 18, 74, 2159, 18, 588, 786, 1380, 10663, 3639, 6080, 91, 18, 1289, 10969, 12, 3216, 1085, 18, 706, 17691, 41, 26854, 16, 8227, 315, 3341, 19, 8683, 15990, 19, 11242, 19, 9220, 2083, 3113, 8227, 315, 2738, 3651, 2083, 3113, 8227, 7751, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 1042, 4868, 8227, 397, 6, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 4868, 4766, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 2083, 2570, 12, 797, 812, 2289, 6080, 91, 16, 4766, 1377, 12056, 2083, 907, 434, 82, 13, 565, 288, 3639, 727, 509, 13862, 67, 10973, 273, 404, 31, 3639, 727, 509, 19296, 67, 10973, 273, 576, 31, 3639, 6080, 91, 18, 1937, 1305, 12, 588, 2083, 2570, 11666, 12, 792, 82, 3631, 13491, 13690, 67, 12919, 67, 26587, 16, 13491, 261, 6620, 21433, 797, 812, 2289, 18, 31414, 67, 20055, 27573, 571, 30614, 2289, 18, 31414, 67, 7263, 1013, 10019, 3639, 368, 3049, 16717, 2083, 18, 2738, 3651, 2083, 3639, 6080, 91, 18, 1289, 2563, 2503, 5621, 3639, 6080, 91, 18, 1289, 1013, 6189, 12, 13181, 67, 10973, 1769, 3639, 6080, 91, 18, 1289, 1013, 2 ]
seriesBaseRuntime.setSeriesIdentifier( "Category 1" );
seriesBaseRuntime.setSeriesIdentifier( "Category" );
public final void createSampleRuntimeSeries( ) { Chart chart = this; SampleData sd = chart.getSampleData( ); if ( sd == null || sd.getBaseSampleData( ).size( ) == 0 || sd.getOrthogonalSampleData( ).size( ) == 0 ) { return; } try { // Process Base SeriesDefinitions Series seriesBaseRuntime = (Series) EcoreUtil.copy( getBaseSeriesDefinitionForProcessing( ).getDesignTimeSeries( ) ); // Clear existing values from the dataset seriesBaseRuntime.setDataSet( null ); // Clear any existing Runtime Series chart.clearSections( IConstants.RUN_TIME ); // Get the BaseSampleData and use it to construct dataset seriesBaseRuntime.setDataSet( ( PluginSettings.instance( ).getDataSetProcessor( getBaseSeriesDefinitionForProcessing( ).getDesignTimeSeries( ) .getClass( ) ) ).fromString( ( (BaseSampleData) sd.getBaseSampleData( ) .get( 0 ) ).getDataSetRepresentation( ), seriesBaseRuntime.getDataSet( ) ) ); getBaseSeriesDefinitionForProcessing( ).getSeries( ) .add( seriesBaseRuntime ); // Set sample series identifier seriesBaseRuntime.setSeriesIdentifier( "Category 1" ); //$NON-NLS-1$ // Process Orthogonal SeriesDefinitions Vector vOSD = getOrthogonalSeriesDefinitions( ); int[] iOSD = new int[vOSD.size( )]; SeriesDefinition sdTmp = null; Series seriesOrthogonalRuntime = null; // Initialize position array and clear any existing runtime series for ( int i = 0; i < iOSD.length; i++ ) { iOSD[i] = 0; sdTmp = (SeriesDefinition) vOSD.get( i ); } // Fetch the DataSetRepresentations for orthogonal sample data for ( int iO = 0; iO < sd.getOrthogonalSampleData( ).size( ); iO++ ) { OrthogonalSampleData osd = (OrthogonalSampleData) sd.getOrthogonalSampleData( ) .get( iO ); int iSDIndex = osd.getSeriesDefinitionIndex( ); // If the series definition has been removed if ( iSDIndex > vOSD.size( ) - 1 ) { // Remove the Orthogonal Sample Data entry (since it is no // longer valid) sd.getOrthogonalSampleData( ).remove( iO ); // Reset the loop counter to not lose an entry iO--; // continue with the next iteration continue; } // Create runtime series for SeriesDefinition index sdTmp = (SeriesDefinition) vOSD.get( iSDIndex ); seriesOrthogonalRuntime = (Series) EcoreUtil.copy( sdTmp.getDesignTimeSeries( ) ); // Clear existing values from the dataset seriesOrthogonalRuntime.setDataSet( null ); // Set the new dataset with sample values seriesOrthogonalRuntime.setDataSet( ( PluginSettings.instance( ).getDataSetProcessor( sdTmp.getDesignTimeSeries( ) .getClass( ) ) ).fromString( osd.getDataSetRepresentation( ), seriesOrthogonalRuntime.getDataSet( ) ) ); // Set sample series identifiers seriesOrthogonalRuntime.setSeriesIdentifier( "Series " //$NON-NLS-1$ + ( sdTmp.getSeries( ).size( ) ) ); // Set sample data definition Query q = QueryImpl.create( "Data " //$NON-NLS-1$ + ( sdTmp.getSeries( ).size( ) ) ); seriesOrthogonalRuntime.getDataDefinition( ).add( q ); sdTmp.getSeries( ).add( seriesOrthogonalRuntime ); } } catch ( Exception e1 ) { logger.log( e1 ); } }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/f5232133228aeb30b8fa3d436cfd1df3a5d1cd7b/ChartImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/impl/ChartImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 752, 8504, 5576, 6485, 12, 262, 202, 95, 202, 202, 7984, 4980, 273, 333, 31, 202, 202, 8504, 751, 8349, 273, 4980, 18, 588, 8504, 751, 12, 11272, 202, 202, 430, 261, 8349, 422, 446, 9506, 202, 20081, 8349, 18, 588, 2171, 8504, 751, 12, 262, 18, 1467, 12, 262, 422, 374, 9506, 202, 20081, 8349, 18, 588, 1162, 451, 28396, 8504, 751, 12, 262, 18, 1467, 12, 262, 422, 374, 262, 202, 202, 95, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 698, 202, 202, 95, 1082, 202, 759, 4389, 3360, 9225, 7130, 1082, 202, 6485, 4166, 2171, 5576, 273, 261, 6485, 13, 512, 3644, 1304, 18, 3530, 12, 8297, 6485, 1852, 1290, 7798, 12, 262, 18, 588, 15478, 28486, 12, 262, 11272, 1082, 202, 759, 10121, 2062, 924, 628, 326, 3709, 1082, 202, 10222, 2171, 5576, 18, 542, 13676, 12, 446, 11272, 1082, 202, 759, 10121, 1281, 2062, 2509, 9225, 1082, 202, 11563, 18, 8507, 15965, 12, 467, 2918, 18, 15238, 67, 4684, 11272, 1082, 202, 759, 968, 326, 3360, 8504, 751, 471, 999, 518, 358, 4872, 3709, 1082, 202, 10222, 2171, 5576, 18, 542, 13676, 12, 261, 6258, 2628, 18, 1336, 12, 262, 18, 588, 13676, 5164, 12, 8297, 6485, 1852, 1290, 7798, 12, 262, 18, 588, 15478, 28486, 12, 262, 6862, 202, 18, 588, 797, 12, 262, 262, 262, 18, 2080, 780, 12, 261, 261, 2171, 8504, 751, 13, 8349, 18, 588, 2171, 8504, 751, 12, 262, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 752, 8504, 5576, 6485, 12, 262, 202, 95, 202, 202, 7984, 4980, 273, 333, 31, 202, 202, 8504, 751, 8349, 273, 4980, 18, 588, 8504, 751, 12, 11272, 202, 202, 430, 261, 8349, 422, 446, 9506, 202, 20081, 8349, 18, 588, 2171, 8504, 751, 12, 262, 18, 1467, 12, 262, 422, 374, 9506, 202, 20081, 8349, 18, 588, 1162, 451, 28396, 8504, 751, 12, 262, 18, 1467, 12, 262, 422, 374, 262, 202, 202, 95, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 698, 202, 202, 95, 1082, 202, 759, 4389, 3360, 9225, 7130, 1082, 202, 6485, 4166, 2171, 5576, 273, 261, 6485, 13, 512, 3644, 1304, 18, 3530, 12, 8297, 6485, 1852, 2 ]
fAssocitedCheckButton.setText( "&Associate with" );
fAssocitedCheckButton.setText( CDebugUIPlugin.getResourceString("AddDirectorySourceLocationBlock.Associate_with") );
protected void createAssociationControls( Composite parent ) { Composite composite = new Composite( parent, SWT.NONE ); composite.setLayout( new GridLayout() ); GridData data = new GridData( GridData.FILL_BOTH ); composite.setLayoutData( data ); fAssocitedCheckButton = new Button( composite, SWT.CHECK ); fAssocitedCheckButton.setText( "&Associate with" ); fAssociationText = new Text( composite, SWT.SINGLE | SWT.BORDER ); fAssociationText.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); fAssocitedCheckButton.addSelectionListener( new SelectionAdapter() { /* (non-Javadoc) * @see org.eclipse.swt.events.SelectionAdapter#widgetSelected(SelectionEvent) */ public void widgetSelected(SelectionEvent e) { associationSelectionChanged(); } } ); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/7c50719ee75ad53d8a6bd367d0f569749c3680bc/AddDirectorySourceLocationBlock.java/buggy/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/wizards/AddDirectorySourceLocationBlock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 7174, 16795, 12, 14728, 982, 262, 202, 95, 202, 202, 9400, 9635, 273, 394, 14728, 12, 982, 16, 348, 8588, 18, 9826, 11272, 202, 202, 27676, 18, 542, 3744, 12, 394, 7145, 3744, 1435, 11272, 202, 202, 6313, 751, 501, 273, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 38, 18307, 11272, 202, 202, 27676, 18, 542, 3744, 751, 12, 501, 11272, 202, 202, 74, 16974, 16261, 1564, 3616, 273, 394, 12569, 12, 9635, 16, 348, 8588, 18, 10687, 11272, 202, 202, 74, 16974, 16261, 1564, 3616, 18, 542, 1528, 12, 7830, 23880, 598, 6, 11272, 202, 202, 74, 7174, 1528, 273, 394, 3867, 12, 9635, 16, 348, 8588, 18, 20184, 571, 348, 8588, 18, 38, 7954, 11272, 202, 202, 74, 7174, 1528, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 262, 11272, 202, 202, 74, 16974, 16261, 1564, 3616, 18, 1289, 6233, 2223, 12, 394, 12977, 4216, 1435, 6862, 6862, 25083, 202, 95, 6862, 6862, 6862, 1082, 202, 20308, 261, 5836, 17, 24060, 13, 6862, 6862, 6862, 9506, 380, 632, 5946, 2358, 18, 20416, 18, 5328, 88, 18, 5989, 18, 6233, 4216, 7, 6587, 7416, 12, 6233, 1133, 13, 6862, 6862, 6862, 9506, 1195, 6862, 6862, 6862, 1082, 202, 482, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 6862, 6862, 6862, 1082, 202, 95, 6862, 6862, 6862, 9506, 202, 19358, 6233, 5033, 5621, 6862, 6862, 6862, 1082, 202, 97, 6862, 6862, 25083, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 7174, 16795, 12, 14728, 982, 262, 202, 95, 202, 202, 9400, 9635, 273, 394, 14728, 12, 982, 16, 348, 8588, 18, 9826, 11272, 202, 202, 27676, 18, 542, 3744, 12, 394, 7145, 3744, 1435, 11272, 202, 202, 6313, 751, 501, 273, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 38, 18307, 11272, 202, 202, 27676, 18, 542, 3744, 751, 12, 501, 11272, 202, 202, 74, 16974, 16261, 1564, 3616, 273, 394, 12569, 12, 9635, 16, 348, 8588, 18, 10687, 11272, 202, 202, 74, 16974, 16261, 1564, 3616, 18, 542, 1528, 12, 7830, 23880, 598, 6, 11272, 202, 202, 74, 7174, 1528, 273, 394, 3867, 12, 9635, 16, 348, 8588, 18, 20184, 571, 348, 2 ]
PATH_ELOCALTOOL + "view_menu.gif", true); declareImage(IWorkbenchGraphicConstants.IMG_LCL_VIEW_MENU_HOVER,
private final static void declareImages() { declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_PIN_EDITOR, PATH_ETOOL + "pin_editor.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_PIN_EDITOR_DISABLED, PATH_DTOOL + "pin_editor.gif", false); //$NON-NLS-1$ // other toolbar buttons declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_SAVE_EDIT, PATH_ETOOL + "save_edit.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_SAVE_EDIT_HOVER, PATH_ETOOL + "save_edit.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_SAVE_EDIT_DISABLED, PATH_DTOOL + "save_edit.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_SAVEAS_EDIT, PATH_ETOOL + "saveas_edit.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_SAVEAS_EDIT_HOVER, PATH_ETOOL + "saveas_edit.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_SAVEAS_EDIT_DISABLED, PATH_DTOOL + "saveas_edit.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_SAVEALL_EDIT, PATH_ETOOL + "saveall_edit.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_SAVEALL_EDIT_HOVER, PATH_ETOOL + "saveall_edit.gif", false); //$NON-NLS-1$ declareImage( IWorkbenchGraphicConstants.IMG_ETOOL_SAVEALL_EDIT_DISABLED, PATH_DTOOL + "saveall_edit.gif", false); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_UNDO, PATH_ETOOL + "undo_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_UNDO_HOVER, PATH_ETOOL + "undo_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_UNDO_DISABLED, PATH_DTOOL + "undo_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_REDO, PATH_ETOOL + "redo_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_REDO_HOVER, PATH_ETOOL + "redo_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_REDO_DISABLED, PATH_DTOOL + "redo_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_CUT, PATH_ETOOL + "cut_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_CUT_HOVER, PATH_ETOOL + "cut_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_CUT_DISABLED, PATH_DTOOL + "cut_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_COPY, PATH_ETOOL + "copy_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_COPY_HOVER, PATH_ETOOL + "copy_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_COPY_DISABLED, PATH_DTOOL + "copy_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_PASTE, PATH_ETOOL + "paste_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_PASTE_HOVER, PATH_ETOOL + "paste_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_PASTE_DISABLED, PATH_DTOOL + "paste_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_DELETE, PATH_ETOOL + "delete_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_DELETE_HOVER, PATH_ETOOL + "delete_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_DELETE_DISABLED, PATH_DTOOL + "delete_edit.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_PRINT_EDIT, PATH_ETOOL + "print_edit.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_PRINT_EDIT_HOVER, PATH_ETOOL + "print_edit.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_PRINT_EDIT_DISABLED, PATH_DTOOL + "print_edit.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_HELP_CONTENTS, PATH_ETOOL + "help_contents.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_FORWARD, PATH_ELOCALTOOL + "forward_nav.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_FORWARD_HOVER, PATH_ELOCALTOOL + "forward_nav.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_FORWARD_DISABLED, PATH_DLOCALTOOL + "forward_nav.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_BACK, PATH_ELOCALTOOL + "backward_nav.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_BACK_HOVER, PATH_ELOCALTOOL + "backward_nav.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_BACK_DISABLED, PATH_DLOCALTOOL + "backward_nav.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_UP, PATH_ELOCALTOOL + "up_nav.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_UP_HOVER, PATH_ELOCALTOOL + "up_nav.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_UP_DISABLED, PATH_DLOCALTOOL + "up_nav.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_NEW_PAGE, PATH_EVIEW + "new_persp.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_NEW_PAGE_HOVER, PATH_EVIEW + "new_persp.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_HOME_NAV, PATH_ELOCALTOOL + "home_nav.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_DEF_PERSPECTIVE, PATH_EVIEW + "default_persp.gif", false); //$NON-NLS-1$ declareImage( IWorkbenchGraphicConstants.IMG_ETOOL_DEF_PERSPECTIVE_HOVER, PATH_EVIEW + "default_persp.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_WIZBAN_WORKINGSET_WIZ, PATH_WIZBAN + "workset_wiz.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_VIEW_DEFAULTVIEW_MISC, PATH_EVIEW + "defaultview_misc.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_DLGBAN_SAVEAS_DLG, PATH_WIZBAN + "saveas_wiz.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJ_FONT, PATH_OBJECT + "font.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJ_THEME_CATEGORY, PATH_OBJECT + "theme_category.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJ_ACTIVITY, PATH_OBJECT + "activity.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJ_ACTIVITY_CATEGORY, PATH_OBJECT + "activity_category.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_OBJ_FILE, PATH_OBJECT + "file_obj.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_OBJ_FOLDER, PATH_OBJECT + "fldr_obj.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_OBJ_ELEMENT, PATH_OBJECT + "elements_obj.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_DEF_VIEW, PATH_EVIEW + "defaultview_misc.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_CLOSE_VIEW, PATH_ELOCALTOOL + "close_view.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_CLOSE_VIEW_HOVER, PATH_ELOCALTOOL + "close_view.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_PIN_VIEW, PATH_ELOCALTOOL + "pin_view.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_PIN_VIEW_HOVER, PATH_ELOCALTOOL + "pin_view.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_MIN_VIEW, PATH_ELOCALTOOL + "min_view.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_MIN_VIEW_HOVER, PATH_ELOCALTOOL + "min_view.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_VIEW_MENU, PATH_ELOCALTOOL + "view_menu.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_VIEW_MENU_HOVER, PATH_ELOCALTOOL + "view_menu.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_LINKTO_HELP, PATH_ELOCALTOOL + "linkto_help.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_CLOSE_VIEW_THIN, PATH_ELOCALTOOL + "thin_close_view.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_HIDE_TOOLBAR_THIN, PATH_ELOCALTOOL + "thin_hide_toolbar.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_MAX_VIEW_THIN, PATH_ELOCALTOOL + "thin_max_view.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_MIN_VIEW_THIN, PATH_ELOCALTOOL + "thin_min_view.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_RESTORE_VIEW_THIN, PATH_ELOCALTOOL + "thin_restore_view.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_SHOW_TOOLBAR_THIN, PATH_ELOCALTOOL + "thin_show_toolbar.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_VIEW_MENU_THIN, PATH_ELOCALTOOL + "thin_view_menu.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_OBJS_ERROR_TSK, PATH_OBJECT + "error_tsk.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_OBJS_WARN_TSK, PATH_OBJECT + "warn_tsk.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_OBJS_INFO_TSK, PATH_OBJECT + "info_tsk.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_LEFT_SOURCE, PATH_POINTER + "left_source.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_LEFT_MASK, PATH_POINTER + "left_mask.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_RIGHT_SOURCE, PATH_POINTER + "right_source.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_RIGHT_MASK, PATH_POINTER + "right_mask.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_TOP_SOURCE, PATH_POINTER + "top_source.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_TOP_MASK, PATH_POINTER + "top_mask.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_BOTTOM_SOURCE, PATH_POINTER + "bottom_source.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_BOTTOM_MASK, PATH_POINTER + "bottom_mask.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_INVALID_SOURCE, PATH_POINTER + "invalid_source.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_INVALID_MASK, PATH_POINTER + "invalid_mask.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_STACK_SOURCE, PATH_POINTER + "stack_source.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_STACK_MASK, PATH_POINTER + "stack_mask.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_OFFSCREEN_SOURCE, PATH_POINTER + "offscreen_source.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_OFFSCREEN_MASK, PATH_POINTER + "offscreen_mask.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_TOFASTVIEW_SOURCE, PATH_POINTER + "tofastview_source.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_TOFASTVIEW_MASK, PATH_POINTER + "tofastview_mask.bmp", true); //$NON-NLS-1$ }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/2681a6ecadd52dd841e83586a7574d0fc5192344/WorkbenchImages.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchImages.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 727, 760, 918, 14196, 8946, 1435, 288, 3639, 14196, 2040, 12, 45, 2421, 22144, 29459, 2918, 18, 3445, 43, 67, 1584, 51, 1741, 67, 52, 706, 67, 13208, 16, 7734, 7767, 67, 1584, 51, 1741, 397, 315, 13097, 67, 9177, 18, 13905, 3113, 629, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 14196, 2040, 12, 45, 2421, 22144, 29459, 2918, 18, 3445, 43, 67, 1584, 51, 1741, 67, 52, 706, 67, 13208, 67, 24493, 16, 7734, 7767, 67, 19792, 1741, 397, 315, 13097, 67, 9177, 18, 13905, 3113, 629, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 368, 1308, 12748, 9502, 3639, 14196, 2040, 12, 45, 2421, 22144, 29459, 2918, 18, 3445, 43, 67, 1584, 51, 1741, 67, 25242, 67, 10776, 16, 7767, 67, 1584, 51, 1741, 7734, 397, 315, 5688, 67, 4619, 18, 13905, 3113, 629, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 14196, 2040, 12, 45, 2421, 22144, 29459, 2918, 18, 3445, 43, 67, 1584, 51, 1741, 67, 25242, 67, 10776, 67, 7995, 2204, 16, 7734, 7767, 67, 1584, 51, 1741, 397, 315, 5688, 67, 4619, 18, 13905, 3113, 629, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 14196, 2040, 12, 45, 2421, 22144, 29459, 2918, 18, 3445, 43, 67, 1584, 51, 1741, 67, 25242, 67, 10776, 67, 24493, 16, 7734, 7767, 67, 19792, 1741, 397, 315, 5688, 67, 4619, 18, 13905, 3113, 629, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 14196, 2040, 12, 45, 2421, 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, 760, 918, 14196, 8946, 1435, 288, 3639, 14196, 2040, 12, 45, 2421, 22144, 29459, 2918, 18, 3445, 43, 67, 1584, 51, 1741, 67, 52, 706, 67, 13208, 16, 7734, 7767, 67, 1584, 51, 1741, 397, 315, 13097, 67, 9177, 18, 13905, 3113, 629, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 14196, 2040, 12, 45, 2421, 22144, 29459, 2918, 18, 3445, 43, 67, 1584, 51, 1741, 67, 52, 706, 67, 13208, 67, 24493, 16, 7734, 7767, 67, 19792, 1741, 397, 315, 13097, 67, 9177, 18, 13905, 3113, 629, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 368, 1308, 12748, 9502, 3639, 14196, 2040, 12, 45, 2421, 22144, 29459, 2918, 18, 3445, 43, 67, 1584, 2 ]
this.setLayout( new GridLayout(0, 1) );
Panel tempPanel = new Panel(); tempPanel.setLayout( new GridLayout(0, 1) );
public CommonSettingsDialog( Frame owner) { // Initialize our superclass with a title. super( owner, "Client Settings" ); // Lay out this dialog. this.setLayout( new GridLayout(0, 1) ); // Add the setting controls. Panel panSetting; minimapEnabled = new Checkbox( "The minimap can be shown." ); this.add( minimapEnabled ); autoEndFiring = new Checkbox( "Skip 'Done' when firing all weapons." ); this.add( autoEndFiring ); nagForMASC = new Checkbox( "Confirm all movement that uses MASC." ); this.add( nagForMASC ); nagForPSR = new Checkbox( "Confirm all movement that requires a PSR." ); this.add( nagForPSR ); nagForNoAction = new Checkbox( "Confirm done when no movement/firing/physicals declared." ); this.add( nagForNoAction ); animateMove = new Checkbox( "Animate movement." ); this.add( animateMove ); showWrecks = new Checkbox( "Show wrecks." ); this.add( showWrecks ); soundMute = new Checkbox( "Mute sound." ); this.add( soundMute ); showMapHexPopup = new Checkbox( "Show map hex popup." ); this.add( showMapHexPopup ); panSetting = new Panel(); tooltipDelay = new TextField(4); panSetting.add( tooltipDelay ); panSetting.add( new Label("Tooltip popup delay.") ); this.add( panSetting ); panSetting = new Panel(); unitStartChar = new Choice(); // Add option for "A, B, C, D..." unitStartChar.addItem( "\u0041, \u0042, \u0043, \u0044..." ); // Add option for "ALPHA, BETA, GAMMA, DELTA..." unitStartChar.addItem( "\u0391, \u0392, \u0393, \u0394..." ); // Add option for "alpha, beta, gamma, delta..." unitStartChar.addItem( "\u03B1, \u03B2, \u03B3, \u03B4..." ); panSetting.add( unitStartChar ); panSetting.add( new Label("ProtoMech unit codes.") ); this.add( panSetting ); panSetting = new Panel(); shiftScrollSensitivity = new TextField(4); panSetting.add( shiftScrollSensitivity ); panSetting.add( new Label("Shift-Scroll sensitivity.") ); this.add( panSetting ); explicitScrollOnly = new Checkbox( "Only scroll using Shift key and MiniMap." ); this.add( explicitScrollOnly ); alwaysScrollOnRightClick = new Checkbox( "Right click always scrolls the map." ); this.add( alwaysScrollOnRightClick ); panSetting = new Panel(); maxPathfinderTime = new TextField(5); panSetting.add( maxPathfinderTime ); panSetting.add( new Label("Pathfinder time limit (milliseconds).") ); this.add( panSetting ); // Add the dialog controls. Panel buttons = new Panel(); buttons.setLayout( new GridLayout(1, 0) ); buttons.add( new Label() ); Button update = new Button( "Update" ); update.setActionCommand( CommonSettingsDialog.UPDATE ); update.addActionListener( this ); buttons.add( update ); buttons.add( new Label() ); Button cancel = new Button( "Cancel" ); cancel.setActionCommand( CommonSettingsDialog.CANCEL ); cancel.addActionListener( this ); buttons.add( cancel ); buttons.add( new Label() ); this.add( buttons ); // Close this dialog when the window manager says to. addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { cancel(); } }); // Center this dialog. pack(); setResizable(false); setLocation(owner.getLocation().x + owner.getSize().width/2 - getSize().width/2, owner.getLocation().y + owner.getSize().height/2 - getSize().height/2); }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/246e85e58006e2da5090b2caaf79dfd61fd288d1/CommonSettingsDialog.java/clean/megamek/src/megamek/client/ui/AWT/CommonSettingsDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5658, 2628, 6353, 12, 8058, 3410, 13, 288, 3639, 368, 9190, 3134, 12098, 598, 279, 2077, 18, 3639, 2240, 12, 3410, 16, 315, 1227, 8709, 6, 11272, 3639, 368, 511, 528, 596, 333, 6176, 18, 3639, 23641, 1906, 5537, 273, 394, 23641, 5621, 1906, 5537, 18, 542, 3744, 12, 394, 7145, 3744, 12, 20, 16, 404, 13, 11272, 3639, 368, 1436, 326, 3637, 11022, 18, 3639, 23641, 2800, 5568, 31, 3639, 1131, 12161, 1526, 5411, 273, 394, 29213, 12, 315, 1986, 1131, 12161, 848, 506, 12188, 1199, 11272, 3639, 333, 18, 1289, 12, 1131, 12161, 1526, 11272, 7734, 3656, 1638, 42, 11256, 5411, 273, 394, 29213, 12, 315, 6368, 296, 7387, 11, 1347, 30253, 777, 732, 438, 7008, 1199, 11272, 3639, 333, 18, 1289, 12, 3656, 1638, 42, 11256, 11272, 7734, 290, 346, 1290, 5535, 2312, 5411, 273, 394, 29213, 12, 315, 11269, 777, 26017, 716, 4692, 490, 8633, 1199, 11272, 3639, 333, 18, 1289, 12, 290, 346, 1290, 5535, 2312, 11272, 7734, 290, 346, 1290, 5857, 54, 5411, 273, 394, 29213, 12, 315, 11269, 777, 26017, 716, 4991, 279, 30999, 1199, 11272, 3639, 333, 18, 1289, 12, 290, 346, 1290, 5857, 54, 11272, 7734, 290, 346, 1290, 2279, 1803, 5411, 273, 394, 29213, 12, 315, 11269, 2731, 1347, 1158, 26017, 19, 74, 11256, 19, 844, 1900, 335, 1031, 7886, 1199, 11272, 3639, 333, 18, 1289, 12, 290, 346, 1290, 2279, 1803, 11272, 7734, 14671, 7607, 5411, 273, 394, 29213, 12, 315, 979, 4988, 26017, 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, 5658, 2628, 6353, 12, 8058, 3410, 13, 288, 3639, 368, 9190, 3134, 12098, 598, 279, 2077, 18, 3639, 2240, 12, 3410, 16, 315, 1227, 8709, 6, 11272, 3639, 368, 511, 528, 596, 333, 6176, 18, 3639, 23641, 1906, 5537, 273, 394, 23641, 5621, 1906, 5537, 18, 542, 3744, 12, 394, 7145, 3744, 12, 20, 16, 404, 13, 11272, 3639, 368, 1436, 326, 3637, 11022, 18, 3639, 23641, 2800, 5568, 31, 3639, 1131, 12161, 1526, 5411, 273, 394, 29213, 12, 315, 1986, 1131, 12161, 848, 506, 12188, 1199, 11272, 3639, 333, 18, 1289, 12, 1131, 12161, 1526, 11272, 7734, 3656, 1638, 42, 11256, 5411, 273, 394, 29213, 12, 315, 6368, 296, 7387, 11, 1347, 30253, 777, 732, 438, 2 ]